From 4f8b5fad729c8bd242362f85d2aa6e7ad827da57 Mon Sep 17 00:00:00 2001 From: Greg Lin Date: Fri, 11 Sep 2020 23:29:06 -0500 Subject: [PATCH] Rebuild --- inst/htmlwidgets/reactable.js | 2 +- inst/htmlwidgets/reactable.js.map | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inst/htmlwidgets/reactable.js b/inst/htmlwidgets/reactable.js index 8c0dceab..6f2e1865 100644 --- a/inst/htmlwidgets/reactable.js +++ b/inst/htmlwidgets/reactable.js @@ -3,5 +3,5 @@ Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function s(e){return Array.isArray(e)}function u(e){return function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(s(t))for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],r=arguments[2],n=u(t),a=void 0,o=e;for(;(a=n.shift())&&n.length;)o[a]||(o[a]={}),o=o[a];return o[a]=r,e},takeRight:function(e,t){var r=t>e.length?0:e.length-t;return e.slice(r)},last:function(e){return e[e.length-1]},orderBy:function(e,t,r,n){return e.sort((function(e,a){for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;return"function"==typeof e?Object.getPrototypeOf(e).isReactComponent?a.default.createElement(e,t):e(t):r},asPx:function(e){return e=Number(e),Number.isNaN(e)?null:e+"px"}}},function(e,t,r){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"==typeof btoa){var a=(i=n,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),o=n.sources.map((function(e){return"/*# sourceURL="+n.sourceRoot+e+" */"}));return[r].concat(o).concat([a]).join("\n")}var i;return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r})).join("")},t.i=function(e,r){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},a=0;a=0&&f.splice(t,1)}function b(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var n=function(){0;return r.nc}();n&&(e.attrs.nonce=n)}return y(t,e.attrs),h(e,t),t}function y(e,t){Object.keys(t).forEach((function(r){e.setAttribute(r,t[r])}))}function v(e,t){var r,n,a,o;if(t.transform&&e.css){if(!(o="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=o}if(t.singleton){var i=c++;r=u||(u=b(t)),n=S.bind(null,r,i,!1),a=S.bind(null,r,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",y(t,e.attrs),h(e,t),t}(t),n=C.bind(null,r,t),a=function(){m(r),r.href&&URL.revokeObjectURL(r.href)}):(r=b(t),n=P.bind(null,r),a=function(){m(r)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else a()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=i()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var r=g(e,t);return p(r,t),function(e){for(var n=[],a=0;a=a.pages?a.pages-1:a.page,0)),this.setState(a,(function(){t&&t(),n.page===a.page&&n.pageSize===a.pageSize&&n.sorted===a.sorted&&n.filtered===a.filtered||r.fireFetchData()}))}}]),t}(e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,a=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(n=(i=l.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){a=!0,o=e}finally{try{!n&&l.return&&l.return()}finally{if(a)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a="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},o=Object.assign||function(e){for(var t=1;t-1)&&s.default.getFirstDefined(e.show,!0)}));return o({},e,{columns:r})}return e}))).filter((function(e){return e.columns?e.columns.length:!(u.indexOf(e.id)>-1)&&s.default.getFirstDefined(e.show,!0)}))).findIndex((function(e){return e.pivot}));u.length&&function(){var e=[];u.forEach((function(t){var r=k.find((function(e){return e.id===t}));r&&e.push(r)}));var r=e.reduce((function(e,t){return e&&e===t.parentColumn&&t.parentColumn}),e[0].parentColumn),n=S&&r.Header,a={Header:n=n||function(){return l.default.createElement("strong",null,"Pivoted")},columns:e.map((function(e){return o({},t.props.pivotDefaults,e,{pivoted:!0})}))};E>=0?(a=o({},T[E],a),T.splice(E,1,a)):T.unshift(a)}();var R=[],N=[],A=function(e,r){R.push(o({},t.props.column,r,{columns:e})),N=[]};T.forEach((function(e,t){if(e.columns)return j=j.concat(e.columns),N.length>0&&A(N),void A(e.columns,e);j.push(e),N.push(e)})),S&&N.length>0&&A(N);var D=d.map((function(e,t){return function e(t,r){var n,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=(c(n={},y,t),c(n,v,r),c(n,h,t[h]),c(n,b,a),n);return k.forEach((function(e){e.expander||(o[e.id]=e.accessor(t))})),o[h]&&(o[h]=o[h].map((function(t,r){return e(t,r,a+1)}))),o}(e,t)})),z=function(e){var t={};return _.forEach((function(r){var n=e.map((function(e){return e[r.id]}));t[r.id]=r.aggregate(n,e)})),t},_=j.filter((function(e){return!e.expander&&e.aggregate}));return u.length&&(D=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(a===r.length)return t;var i=Object.entries(s.default.groupBy(t,r[a])).map((function(e){var t,o=n(e,2),i=o[0],l=o[1];return c(t={},p,r[a]),c(t,g,i),c(t,r[a],i),c(t,h,l),c(t,b,a),c(t,w,!0),t}));return i=i.map((function(t){var n,i=e(t[h],r,a+1);return o({},t,(c(n={},h,i),c(n,m,!0),n),z(i))}))}(D,u)),o({},e,{resolvedData:D,allVisibleColumns:j,headerGroups:R,allDecoratedColumns:k,hasHeaderGroups:S})}},{key:"getSortedData",value:function(e){var t=e.manual,r=e.sorted,n=e.filtered,a=e.defaultFilterMethod,o=e.resolvedData,i=e.allVisibleColumns,l=e.allDecoratedColumns,s={};return l.filter((function(e){return e.sortMethod})).forEach((function(e){s[e.id]=e.sortMethod})),{sortedData:t?o:this.sortData(this.filterData(o,n,a,i),r,s)}}},{key:"fireFetchData",value:function(){this.props.onFetchData(this.getResolvedState(),this)}},{key:"getPropOrState",value:function(e){return s.default.getFirstDefined(this.props[e],this.state[e])}},{key:"getStateOrProp",value:function(e){return s.default.getFirstDefined(this.state[e],this.props[e])}},{key:"filterData",value:function(e,t,r,n){var a=this,i=e;return t.length&&(i=(i=t.reduce((function(e,t){var a=n.find((function(e){return e.id===t.id}));if(!a||!1===a.filterable)return e;var o=a.filterMethod||r;return a.filterAll?o(t,e,a):e.filter((function(e){return o(t,e,a)}))}),i)).map((function(e){return e[a.props.subRowsKey]?o({},e,c({},a.props.subRowsKey,a.filterData(e[a.props.subRowsKey],t,r,n))):e})).filter((function(e){return!e[a.props.subRowsKey]||e[a.props.subRowsKey].length>0}))),i}},{key:"sortData",value:function(e,t){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t.length)return e;var a=(this.props.orderByMethod||s.default.orderBy)(e,t.map((function(e){return n[e.id]?function(t,r){return n[e.id](t[e.id],r[e.id],e.desc)}:function(t,n){return r.props.defaultSortMethod(t[e.id],n[e.id],e.desc)}})),t.map((function(e){return!e.desc})),this.props.indexKey);return a.forEach((function(e){e[r.props.subRowsKey]&&(e[r.props.subRowsKey]=r.sortData(e[r.props.subRowsKey],t,n))})),a}},{key:"getMinRows",value:function(){return s.default.getFirstDefined(this.props.minRows,this.getStateOrProp("pageSize"))}},{key:"onPageChange",value:function(e){var t=this.props,r=t.onPageChange,n=t.collapseOnPageChange,a={page:e};n&&(a.expanded={}),this.setStateWithData(a,(function(){r&&r(e)}))}},{key:"onPageSizeChange",value:function(e){var t=this.props.onPageSizeChange,r=this.getResolvedState(),n=r.pageSize*r.page,a=Math.floor(n/e);this.setStateWithData({pageSize:e,page:a},(function(){t&&t(e,a)}))}},{key:"sortColumn",value:function(e,t){var r=this.getResolvedState(),n=r.sorted,a=r.skipNextSort,o=r.defaultSortDesc,i=e.hasOwnProperty("defaultSortDesc")?e.defaultSortDesc:o,l=!i;if(a)this.setStateWithData({skipNextSort:!1});else{var u=this.props.onSortedChange,c=s.default.clone(n||[]).map((function(e){return e.desc=s.default.isSortingDesc(e),e}));if(s.default.isArray(e))!function(){var r=c.findIndex((function(t){return t.id===e[0].id}));r>-1?(c[r].desc===l?t?c.splice(r,e.length):e.forEach((function(e,t){c[r+t].desc=i})):e.forEach((function(e,t){c[r+t].desc=l})),t||(c=c.slice(r,e.length))):c=t?c.concat(e.map((function(e){return{id:e.id,desc:i}}))):e.map((function(e){return{id:e.id,desc:i}}))}();else{var f=c.findIndex((function(t){return t.id===e.id}));if(f>-1){var d=c[f];d.desc===l?t?c.splice(f,1):(d.desc=i,c=[d]):(d.desc=l,t||(c=[d]))}else t?c.push({id:e.id,desc:i}):c=[{id:e.id,desc:i}]}this.setStateWithData({page:!n.length&&c.length||!t?0:this.state.page,sorted:c},(function(){u&&u(c,e,t)}))}}},{key:"filterColumn",value:function(e,t){var r=this.getResolvedState().filtered,n=this.props.onFilteredChange,a=(r||[]).filter((function(t){if(t.id!==e.id)return!0}));""!==t&&a.push({id:e.id,value:t}),this.setStateWithData({filtered:a},(function(){n&&n(a,e,t)}))}},{key:"resizeColumnStart",value:function(e,t,r){var n=this;e.stopPropagation();var a=e.target.parentElement.getBoundingClientRect().width,o=void 0;o=r?e.changedTouches[0].pageX:e.pageX,this.trapEvents=!0,this.setStateWithData({currentlyResizing:{id:t.id,startX:o,parentWidth:a}},(function(){r?(document.addEventListener("touchmove",n.resizeColumnMoving),document.addEventListener("touchcancel",n.resizeColumnEnd),document.addEventListener("touchend",n.resizeColumnEnd)):(document.addEventListener("mousemove",n.resizeColumnMoving),document.addEventListener("mouseup",n.resizeColumnEnd),document.addEventListener("mouseleave",n.resizeColumnEnd))}))}},{key:"resizeColumnMoving",value:function(e){e.stopPropagation();var t=this.props.onResizedChange,r=this.getResolvedState(),n=r.resized,a=r.currentlyResizing,o=n.filter((function(e){return e.id!==a.id})),i=void 0;"touchmove"===e.type?i=e.changedTouches[0].pageX:"mousemove"===e.type&&(i=e.pageX);var l=Math.max(a.parentWidth+i-a.startX,11);o.push({id:a.id,value:l}),this.setStateWithData({resized:o},(function(){t&&t(o,e)}))}},{key:"resizeColumnEnd",value:function(e){e.stopPropagation();var t="touchend"===e.type||"touchcancel"===e.type;t&&(document.removeEventListener("touchmove",this.resizeColumnMoving),document.removeEventListener("touchcancel",this.resizeColumnEnd),document.removeEventListener("touchend",this.resizeColumnEnd)),document.removeEventListener("mousemove",this.resizeColumnMoving),document.removeEventListener("mouseup",this.resizeColumnEnd),document.removeEventListener("mouseleave",this.resizeColumnEnd),t||this.setStateWithData({skipNextSort:!0,currentlyResizing:!1})}}]),t}(e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var c=function(){return{}};t.default={data:[],loading:!1,showPagination:!0,showPaginationTop:!1,showPaginationBottom:!0,showPageSizeOptions:!0,pageSizeOptions:[5,10,20,25,50,100],defaultPageSize:20,showPageJump:!0,collapseOnSortingChange:!0,collapseOnPageChange:!0,collapseOnDataChange:!0,freezeWhenExpanded:!1,sortable:!0,resizable:!0,filterable:!1,defaultSortDesc:!1,defaultSorted:[],defaultFiltered:[],defaultResized:[],defaultExpanded:{},defaultFilterMethod:function(e,t,r){var n=e.pivotId||e.id;return void 0===t[n]||String(t[n]).startsWith(e.value)},defaultSortMethod:function(e,t,r){return t=null==t?"":t,(e="string"==typeof(e=null==e?"":e)?e.toLowerCase():e)>(t="string"==typeof t?t.toLowerCase():t)?1:ediv{position:absolute;display:block;text-align:center;width:100%;top:50%;left:0;font-size:15px;color:rgba(0,0,0,.6);-webkit-transform:translateY(-52%);transform:translateY(-52%);-webkit-transition:all .3s cubic-bezier(.25,.46,.45,.94);transition:all .3s cubic-bezier(.25,.46,.45,.94)}.ReactTable .-loading.-active{opacity:1;z-index:2;pointer-events:all}.ReactTable .-loading.-active>div{-webkit-transform:translateY(50%);transform:translateY(50%)}.ReactTable .rt-resizing .rt-td,.ReactTable .rt-resizing .rt-th{-webkit-transition:none!important;transition:none!important;cursor:col-resize;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}",""])},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var r=t.protocol+"//"+t.host,n=r+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var a,o=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?e:(a=0===o.indexOf("//")?o:0===o.indexOf("/")?r+o:n+o.replace(/^\.\//,""),"url("+JSON.stringify(a)+")")}))}},function(e,t,r){var n=r(19);"string"==typeof n&&(n=[[e.i,n,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};r(7)(n,a);n.locals&&(e.exports=n.locals)},function(e,t,r){(e.exports=r(6)(!1)).push([e.i,'.ReactTable{height:100%;background-color:#fff}.rt-inline{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.rt-th{font-weight:600}.rt-td,.rt-th{padding:7px 8px;overflow-wrap:break-word;max-width:100%;word-wrap:break-word}.rt-compact .rt-td,.rt-compact .rt-th{padding:4px 6px}.rt-nowrap .rt-td,.rt-nowrap .rt-th{white-space:nowrap;text-overflow:ellipsis}.rt-th-content{overflow:hidden;text-overflow:ellipsis}.rt-td-select{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.rt-select,.rt-td-select{display:-webkit-box;display:-ms-flexbox;display:flex}.rt-select{-webkit-box-align:center;-ms-flex-align:center;align-items:center}input[type=checkbox].rt-select-input,input[type=radio].rt-select-input{display:block;margin:0}.rt-align-left{text-align:left}.rt-align-right{text-align:right}.rt-align-center{text-align:center}.rt-table{border-width:1px;border-color:#e6e6e6}.rt-bordered .rt-table,.rt-outlined .rt-table{border-style:solid}.rt-th{border-bottom:2px solid #e6e6e6;border-left-width:1px;border-left-color:rgba(0,0,0,.05)}.rt-bordered .rt-th,.rt-outlined .rt-th{border-bottom-width:1px}.rt-td{border-top:1px solid #f2f2f2;border-left-width:1px;border-left-color:rgba(0,0,0,.05)}.rt-borderless .rt-td,.rt-tr-group:first-child>.rt-tr:first-child .rt-td{border-top:none}.rt-bordered .rt-td,.rt-bordered .rt-th{border-left-style:solid}.rt-bordered .rt-td:first-child,.rt-bordered .rt-th:first-child{border-left:none}.rt-th-group,.rt-th-group-none{border-bottom-style:none}.rt-th-group:after{content:"";position:absolute;margin:auto;left:8px;right:8px;bottom:0;width:100%;height:1px;background-color:#e6e6e6}.rt-bordered .rt-th-group:after,.rt-outlined .rt-th-group:after{left:0;right:0}.rt-bordered .rt-th-group-none{border-bottom-style:solid}.rt-tr-striped{background-color:rgba(0,0,0,.03)}.rt-tr-highlight:hover,.rt-tr-striped.rt-tr-highlight:hover{background-color:rgba(0,0,0,.05)}.rt-tr.-padRow{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ReactTable .rt-tbody{-ms-flex-negative:0;flex-shrink:0}@supports ((position:-webkit-sticky) or (position:sticky)){.ReactTable .rt-table{background:inherit}.ReactTable .rt-tbody{overflow:visible}.ReactTable .rt-thead.-header{top:0}.ReactTable .rt-tfoot,.ReactTable .rt-thead.-header{position:-webkit-sticky;position:sticky;background:inherit;z-index:2}.ReactTable .rt-tfoot{bottom:0}}@media screen and (-ms-high-contrast:active),screen and (-ms-high-contrast:none){.ReactTable .rt-tbody{overflow:auto;-ms-overflow-style:-ms-autohiding-scrollbar}}.rt-td-filter{border-top:0;border-bottom:1px solid #f2f2f2}.rt-borderless .rt-td-filter{border-bottom:0}.rt-filter{padding:5px 7px;color:inherit;background-color:#fff;border:1px solid rgba(0,0,0,.1);border-radius:3px;font-family:inherit;font-size:inherit;font-weight:400;outline-width:0;outline-style:solid}.rt-filter:focus{border:1px solid rgba(0,0,0,.25)}.rt-sort-header{display:-webkit-box;display:-ms-flexbox;display:flex}.rt-align-center .rt-sort-header{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.rt-align-right .rt-sort-header{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.rt-th{outline-width:0;outline-style:solid}.rt-th[aria-sort] .rt-sort-left:after{padding-right:5px;line-height:0}.rt-th[aria-sort] .rt-sort-right:after{padding-left:5px;line-height:0}.rt-th[aria-sort=ascending] .rt-sort-left:after,.rt-th[aria-sort=ascending] .rt-sort-right:after{content:"\\2191"}.rt-th[aria-sort=descending] .rt-sort-left:after,.rt-th[aria-sort=descending] .rt-sort-right:after{content:"\\2193"}.rt-th[aria-sort=none] .rt-sort:after{content:"\\2195";opacity:.4}.rt-th[data-sort-hint=ascending] .rt-sort-left:after,.rt-th[data-sort-hint=ascending] .rt-sort-right:after{content:"\\2191";opacity:.4}.rt-th[data-sort-hint=descending] .rt-sort-left:after,.rt-th[data-sort-hint=descending] .rt-sort-right:after{content:"\\2193";opacity:.4}.rt-expander-button{margin:0 2px;padding:0;background:none;border:none;cursor:pointer}.rt-expander{display:inline-block;position:relative;padding:0 8px;color:transparent;outline-width:0;outline-style:solid}.rt-expander:after{content:"";position:absolute;width:0;height:0;top:50%;left:50%;-webkit-transform:translate(-50%,-50%) rotate(-90deg);transform:translate(-50%,-50%) rotate(-90deg);border-left:5.04px solid transparent;border-right:5.04px solid transparent;border-top:7px solid rgba(0,0,0,.8);-webkit-transition:all .3s cubic-bezier(.175,.885,.32,1.275);transition:all .3s cubic-bezier(.175,.885,.32,1.275);cursor:pointer}.rt-expander.-open:after{-webkit-transform:translate(-50%,-50%) rotate(0);transform:translate(-50%,-50%) rotate(0)}.rt-pagination{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:6px 4px;border-top:1px solid #f2f2f2}.rt-bordered .rt-pagination,.rt-outlined .rt-pagination{border-top:none}.rt-pagination-info :not(:last-child){margin-right:16px}.rt-page-info{display:inline-block;margin:6px 8px;opacity:.9}.rt-page-size{display:inline-block;margin:0 8px}.rt-page-size-select{margin:0 2px}.rt-page-button,.rt-page-jump,.rt-page-size-select{font-family:inherit;font-size:inherit;color:inherit;line-height:inherit}.rt-page-jump,.rt-page-size-select{background-color:#fff;padding:3px;border-radius:3px;border:1px solid rgba(0,0,0,.05)}@supports (-moz-appearance:none){.rt-page-size-select{-moz-appearance:none;padding-right:12px;background-image:url(\'data:image/svg+xml;charset=US-ASCII,\');background-repeat:no-repeat;background-position:right 6px center;background-size:6px}}.rt-page-button{padding:6px 12px;background-color:transparent;border:none;border-radius:3px;outline-width:0;outline-style:solid;cursor:pointer}.rt-page-button::-moz-focus-inner{padding:0;border-style:none}.rt-page-button:disabled{opacity:.6;cursor:default}.rt-page-button:hover{background-color:rgba(0,0,0,.04)}.rt-page-button:active{background-color:rgba(0,0,0,.08)}.rt-keyboard-active .rt-page-button:focus{background-color:rgba(0,0,0,.04)}.rt-page-button:disabled:focus,.rt-page-button:disabled:hover{background-color:transparent}.rt-page-button-current{font-weight:700}.rt-page-ellipsis{margin:0 4px;pointer-events:none}.rt-page-numbers{display:inline-block;margin:0 8px;white-space:nowrap}.rt-page-jump{width:70px;text-align:center}.rt-tbody-noData{position:relative}.rt-tbody-noData .rt-td{border-color:transparent}.rt-noData{display:block;position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);line-height:0;z-index:1}.rt-search{display:block;-ms-flex-item-align:end;align-self:flex-end;margin-bottom:8px;padding:5px 7px;color:inherit;background-color:#fff;border:1px solid rgba(0,0,0,.1);border-radius:3px;outline-width:0;outline-style:solid;font-family:inherit;font-size:inherit}.rt-search:active,.rt-search:focus{border:1px solid rgba(0,0,0,.25)}',""])},function(e,t,r){"use strict";r.r(t);var n=r(3),a=r(1),o=r.n(a),i=r(2),l=r.n(i),s=r(0),u=r.n(s);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;tn&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(h,"$1"+e.trim());case 58:return e.trim()+t.replace(h,"$1"+e.trim());default:if(0<1*r&&0s.charCodeAt(8))break;case 115:i=i.replace(s,"-webkit-"+s)+";"+i;break;case 207:case 102:i=i.replace(s,"-webkit-"+(102l.charCodeAt(0)&&(l=l.trim()),l=[l],0p)&&(L=(B=B.replace(" ",":")).length),0=4;++n,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(a){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)},x={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var S=/[A-Z]|^ms/g,P=/_EMO_([^_]+?)_([^]*?)_EMO_/g,C=function(e){return 45===e.charCodeAt(1)},O=function(e){return null!=e&&"boolean"!=typeof e},k=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}((function(e){return C(e)?e:e.replace(S,"-$&").toLowerCase()})),T=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(P,(function(e,t,r){return E={name:t,styles:r,next:E},t}))}return 1===x[e]||C(e)||"number"!=typeof t||0===t?t:t+"px"};function j(e,t,r,n){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return E={name:r.name,styles:r.styles,next:E},r.name;if(void 0!==r.styles){var a=r.next;if(void 0!==a)for(;void 0!==a;)E={name:a.name,styles:a.styles,next:E},a=a.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var a=0;ae.length)&&(t=e.length);for(var r=0,n=new Array(t);r'+'\')')}}),".rt-page-button":H({},q),".rt-page-button:not(:disabled):hover":H({},X),".rt-page-button:not(:disabled):active":H({},Y),".rt-keyboard-active & .rt-page-button:not(:disabled):focus":H({},X),".rt-page-button-current":H({},Z)})};return function e(t){for(var r=0,n=Object.entries(t);r1&&void 0!==arguments[1]?arguments[1]:{};if(!e||!t)return e;var r=Object.keys(t),n="("+r.map((function(e){return"{".concat(e,"}")})).join("|")+")",a=e.split(new RegExp(n)),o=r.reduce((function(e,r){return e["{".concat(r,"}")]=t[r],e}),{}),i=a.map((function(e){return null!=o[e]?o[e]:e}));return i.some((function(e){return"object"===$(e)}))?i:i.join("")}function Y(e){return(Y="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})(e)}function Z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Q(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var be=function(e){var t=e.isCurrent,r=e.className,n=me(e,["isCurrent","className"]);return r=te(r,"rt-page-button",t?" rt-page-button-current":null),o.a.createElement("button",he({type:"button",className:r},n),n.children)};var ye=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&se(e,t)}(i,e);var t,r,n,a=ue(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=a.call(this,e)).changePage=t.changePage.bind(fe(t)),t.applyPage=t.applyPage.bind(fe(t)),t.state={pageJumpValue:e.page+1,prevPage:e.page},t}return t=i,n=[{key:"getDerivedStateFromProps",value:function(e,t){return e.page!==t.prevPage?{pageJumpValue:e.page+1,prevPage:e.page}:null}}],(r=[{key:"changePage",value:function(e){e!==this.props.page+1&&this.props.onPageChange(e-1)}},{key:"applyPage",value:function(e){e&&e.preventDefault();var t=this.state.pageJumpValue;if(""!==t)this.changePage(t);else{var r=this.props.page+1;this.setState({pageJumpValue:r})}}},{key:"renderPageInfo",value:function(e){var t=e.page,r=e.pageSize,n=e.sortedData,a=e.language,i=n.length,l=Math.min(t*r+1,n.length),s=Math.min(t*r+r,n.length),u=X(a.pageInfo,{rowStart:l,rowEnd:s,rows:i});return o.a.createElement("div",{className:"rt-page-info"},u)}},{key:"renderPageSizeOptions",value:function(e){var t=e.pageSize,r=e.pageSizeOptions,n=e.onPageSizeChange,a=e.language,i=o.a.createElement("select",{key:"page-size-select",className:"rt-page-size-select","aria-label":a.pageSizeOptionsLabel,onChange:function(e){return n(Number(e.target.value))},value:t},r.map((function(e,t){return o.a.createElement("option",{key:t,value:e},e)}))),l=X(a.pageSizeOptions,{rows:i});return o.a.createElement("div",{className:"rt-page-size"},l)}},{key:"renderPageJump",value:function(e){var t=e.onChange,r=e.value,n=e.onBlur,a=e.onKeyPress,i=e.inputType,l=e.language;return o.a.createElement("input",{key:"page-jump",className:"rt-page-jump","aria-label":l.pageJumpLabel,type:i,onChange:t,value:r,onBlur:n,onKeyPress:a})}},{key:"getPageJumpProperties",value:function(){var e=this;return{onKeyPress:function(t){13!==t.which&&13!==t.keyCode||e.applyPage()},onBlur:this.applyPage,value:this.state.pageJumpValue,onChange:function(t){var r=t.target.value;if(""!==r){var n=Number(r);if(!Number.isNaN(n)){var a=Math.min(Math.max(n,1),Math.max(e.props.pages,1));e.setState({pageJumpValue:a})}}else e.setState({pageJumpValue:r})},inputType:"number",language:this.props.language}}},{key:"render",value:function(){var e=this,t=this.props,r=t.autoHidePagination,n=t.paginationType,a=t.showPageSizeOptions,i=t.showPageInfo,l=t.page,s=t.pages,u=t.canPrevious,c=t.canNext,f=t.className,d=t.style,p=t.theme,g=t.language;if(r){var h=this.props,m=h.defaultPageSize,b=h.pageSizeOptions,y=h.resolvedData,v=a?Math.min.apply(Math,[m].concat(pe(b))):m;if(y.length<=v)return null}var w,x=i?this.renderPageInfo(this.props):null,S=a?this.renderPageSizeOptions(this.props):null,P=l+1,C=function(e,t){return t<=6?pe(Array(t)).map((function(e,t){return t+1})):e<=4?[1,2,3,4,5,t]:t-e<3?[1,t-3,t-2,t-1,t]:[1,e-1,e,e+1,t]}(P,s);if("numbers"===n){var O=[];C.forEach((function(t,r){var n=P===t,a=o.a.createElement(be,{key:t,isCurrent:n,onClick:e.changePage.bind(null,t),"aria-label":X(g.pageNumberLabel,{page:t})+(n?" ":""),"aria-current":n?"page":null},t);t-C[r-1]>1&&O.push(o.a.createElement("span",{className:"rt-page-ellipsis",key:"ellipsis-".concat(t),role:"separator"},"...")),O.push(a)})),w=O}else{var k="jump"===n?this.renderPageJump(this.getPageJumpProperties()):P,T=Math.max(s,1);w=o.a.createElement("div",{className:"rt-page-numbers"},X(g.pageNumbers,{page:k,pages:T}))}var j=o.a.createElement(be,{className:"rt-prev-button",onClick:function(){u&&e.changePage(P-1)},disabled:!u,"aria-disabled":u?null:"true","aria-label":g.pagePreviousLabel},g.pagePrevious),E=o.a.createElement(be,{className:"rt-next-button",onClick:function(){c&&e.changePage(P+1)},disabled:!c,"aria-disabled":c?null:"true","aria-label":g.pageNextLabel},g.pageNext);return o.a.createElement("div",{className:te(f,"rt-pagination",J(p.paginationStyle)),style:d},o.a.createElement("div",{className:"rt-pagination-info"},x,S),o.a.createElement("div",{className:"rt-pagination-nav"},j,w,E))}}])&&le(t.prototype,r),n&&le(t,n),i}(o.a.Component);function ve(e){return(ve="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})(e)}function we(){return(we=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function Ee(e,t){for(var r=0;re.length)&&(t=e.length);for(var r=0,n=new Array(t);r1?" (".concat(t[e],")"):"")})).join(", ")}};function $e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;if(!Number.isFinite(e))return e;t=t>0?t:0;var r=Math.pow(10,t);return Math.sign(e)*Math.round(Math.abs(e)*r)/r}function qe(e){return e.map(Xe).filter((function(e){return"number"==typeof e}))}function Xe(e){return(null==e||void 0===e||Ye(e))&&(e=null),"Inf"===e&&(e=1/0),"-Inf"===e&&(e=-1/0),"string"==typeof e&&(e=Number(e)),e}function Ye(e){return"NA"===e||"NaN"===e}function Ze(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Qe(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,l=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){l=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(l)throw o}}}}function rt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:{},t=e.type,r=e.naLast;return function(e,n,a){return"numeric"===t?(e=Xe(e),n=Xe(n)):(e="string"==typeof e?e.toLowerCase():e,n="string"==typeof n?n.toLowerCase():n),e===n?0:null==e?r?a?-1:1:-1:null==n?r?a?1:-1:1:e>n?1:ee.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function pt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gt(e,t){for(var r=0;r1||t.shiftKey)&&t.preventDefault(),e.setState({clicked:!0})},onFocus:function(){e.state.clicked||o||i||e.setState({showFocus:!0})},onBlur:function(){e.setState({showFocus:!1,clicked:!1})},tabIndex:"0","data-sort-hint":this.state.showFocus?n:void 0})}return Wt(l)}}]),r}(o.a.Component);Object.assign(i.ReactTableDefaults,{ThComponent:Kt});var Bt=function(e){return{state:e}},Ht=i.ReactTableDefaults.TbodyComponent,Gt=i.ReactTableDefaults.NoDataComponent;Object.assign(i.ReactTableDefaults,{TbodyComponent:function(e){var t=e.state,r=e.className,n=e.children,a=dt(e,["state","className","children"]),i=t.pageRows,l=t.theme,s=t.language,u=!i.length&&o.a.createElement(Gt,null,s.noData);return r=u?te(r,"rt-tbody-noData"):r,r=te(r,J(l.tableBodyStyle)),o.a.createElement(Ht,St({role:"rowgroup",className:r},a),n,u)},NoDataComponent:function(){return null}}),Object.assign(i.ReactTableDefaults,{FilterComponent:function(e){var t=e.column,r=e.filter,n=e.onChange,a=t.name,i=t.theme,l=t.language;return o.a.createElement("input",{type:"text",className:te("rt-filter",J(i.filterInputStyle)),style:{width:"100%"},value:r?r.value:"",onChange:function(e){return n(e.target.value)},placeholder:l.filterPlaceholder,"aria-label":X(l.filterLabel,{name:a})})}}),Object.assign(i.ReactTableDefaults,{ExpanderComponent:function(e){var t=e.isExpanded,r=e.column,n=r.theme,a=r.language,i=t?a.detailsCollapseLabel:a.detailsExpandLabel;return o.a.createElement("button",{className:"rt-expander-button","aria-label":i},o.a.createElement("span",{className:te("rt-expander",t&&"-open",J(n.expanderStyle)),tabIndex:"-1","aria-hidden":"true"},"•"))}});var Ut=i.ReactTableDefaults.LoadingComponent;Object.assign(i.ReactTableDefaults,{LoadingComponent:function(e){var t=e.loading,r=dt(e,["loading"]);return t?Ut(Ct({loading:t},r)):null}}),l.a.propTypes=p,l.a.prototype.oldComponentWillReceiveProps=l.a.prototype.UNSAFE_componentWillReceiveProps,l.a.prototype.UNSAFE_componentWillReceiveProps=function(e,t){var r=this;e=Ct({},e),this.props.dataKey&&this.props.dataKey===e.dataKey&&(e.data=this.props.data,e.columns=this.props.columns);return["pivotBy","sorted","filtered"].forEach((function(t){JSON.stringify(r.props[t])===JSON.stringify(e[t])&&(e[t]=r.props[t])})),this.props.searchable!==e.searchable&&(e.filtered=this.state.filtered.filter((function(e){return e.id!==r.props.searchKey}))),this.oldComponentWillReceiveProps(e,t)},l.a.prototype.oldFilterData=l.a.prototype.filterData,l.a.prototype.filterData=function(e,t,r,n){var a=n;if(this.props.searchable){var o=n.filter((function(e){return e.createMatcher})),i={id:this.props.searchKey,filterAll:!0,filterable:!0,filterMethod:function(e,t){if(!e.value)return t;var r=o.reduce((function(t,r){return t[r.id]=r.createMatcher(e.value),t}),{});return t=t.filter((function(e){if(e._subRows)return!0;var t,n=function(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=ut(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,l=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){l=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(l)throw o}}}}(o);try{for(n.s();!(t=n.n()).done;){var a=t.value,i=e._original[a.id];if(r[a.id](i))return!0}}catch(e){n.e(e)}finally{n.f()}}))}};a=a.concat(i)}if(this.props.crosstalkGroup){var l={id:this.props.crosstalkId,filterAll:!0,filterable:!0,filterMethod:function(e,t){return e.value?t=t.filter((function(t){return!!t._subRows||(!!e.value.includes(t._index)||void 0)})):t}};a=a.concat(l)}return this.oldFilterData(e,t,r,a)};var Vt,Jt,$t=function(e){var t=e.searchValue,r=e.onSearchChange,n=e.searchPlaceholder,l=e.searchLabel,s=e.searchClassName,u=dt(e,["searchValue","onSearchChange","searchPlaceholder","searchLabel","searchClassName"]),c=o.a.createElement("input",{type:"text",value:t,onChange:r,className:te("rt-search",s),placeholder:n,"aria-label":l});return o.a.createElement(a.Fragment,null,c,o.a.createElement(i.ReactTableDefaults.TableComponent,u))},qt=(Vt=l.a,(Jt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Re(e,t)}(i,e);var t,r,n,a=Ne(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),a.call(this,e)}return t=i,(r=[{key:"rowSelector",value:function(e){var t=this.props,r=t.isSelected,n=t.toggleSelection,a=t.selectType,i=t.SelectInputComponent,l=t.language,s=r(e.index),u={checked:s,onClick:n,selectType:a,row:e.row,label:s?l.deselectRowLabel:l.selectRowLabel};return o.a.createElement(i,u)}},{key:"subRowSelector",value:function(e){var t=this.props,r=t.isSelected,n=t.toggleAll,a=t.selectType,i=t.SelectInputComponent,l=t.language;if("radio"===a)return null;var s=e.subRows;if(!s||s.some((function(e){return e._aggregated})))return null;var u=s.every((function(e){return r(e._index)})),c={checked:u,onClick:n,selectType:a,rows:s,label:u?l.deselectAllSubRowsLabel:l.selectAllSubRowsLabel};return o.a.createElement(i,c)}},{key:"headSelector",value:function(e){var t=this.props,r=t.isSelected,n=t.selectType,a=t.toggleAll,i=t.SelectAllInputComponent,l=t.language;if("radio"===n)return null;var s=e.data;if(0===s.length||s.some((function(e){return e._aggregated})))return null;var u=s.every((function(e){return r(e._index)})),c={checked:u,onClick:a,selectType:n,rows:s,label:u?l.deselectAllRowsLabel:l.selectAllRowsLabel};return o.a.createElement(i,c)}},{key:"render",value:function(){var e=this,t=this.props,r=t.columns,n=t.selectWidth,a=t.forwardedRef,i=je(t,["columns","selectWidth","forwardedRef"]),l=this.props,s=l.isSelected,u=l.selectType,c=l.toggleAll,f=l.toggleSelection,d=l.selectId,p={},g=function e(t){var r,n=function(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=ke(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,l=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){l=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(l)throw o}}}}(t.entries());try{for(n.s();!(r=n.n()).done;){var a=Oe(r.value,2),o=a[0],i=a[1];if(i.id===d)return p=i,t[o]=Pe({},i),t[o];if(i.columns){var l=e(i.columns);if(l)return l}}}catch(e){n.e(e)}finally{n.f()}return null}(r);return g||(r=[g={}].concat(xe(r))),Object.assign(g,{id:d,accessor:function(){return""},Header:function(t){return e.headSelector.bind(e)(t)},Cell:function(t){return e.rowSelector.bind(e)(t)},Aggregated:function(t){return e.subRowSelector.bind(e)(t)},getProps:function(e,t,r){var n=p.getProps?p.getProps(e,t,r):{};if(!t)return n;if(r.pivoted&&t.aggregated)return n;if(t.aggregated){if("radio"===u)return n;var a=t.subRows;if(!a||a.some((function(e){return e._aggregated})))return n;n.onClick=function(){var e=a.map((function(e){return e._index})),t=e.every((function(e){return s(e)}));c(e,!t)}}else n.onClick=function(){f(t.index)};return n},getHeaderProps:function(e){var t={};if("radio"===u)return t;var r=e.sortedData;return!r||r.some((function(e){return e._aggregated}))||(t.onClick=function(){var e=r.map((function(e){return e._index})),t=e.every((function(e){return s(e)}));c(e,!t)}),t},selectable:!0,filterable:!1,sortable:!1,resizable:!1,className:te("rt-td-select",p.className),headerClassName:te("rt-td-select",p.headerClassName),width:p.width||n}),o.a.createElement(Vt,we({ref:a},i,{columns:r}))}}])&&Ee(t.prototype,r),n&&Ee(t,n),i}(o.a.Component)).displayName="RTSelectTable",Jt.defaultProps={selectType:"checkbox",selectWidth:36,selectId:".selection",SelectInputComponent:ze,SelectAllInputComponent:ze,language:q},o.a.forwardRef((function(e,t){return o.a.createElement(Jt,we({},e,{forwardedRef:t}))}))),Xt=function(e){mt(r,e);var t=yt(r);function r(){return pt(this,r),t.apply(this,arguments)}return ht(r,[{key:"componentDidMount",value:function(){window.Shiny&&window.Shiny.bindAll(this.el)}},{key:"componentWillUnmount",value:function(){window.Shiny&&window.Shiny.unbindAll(this.el)}},{key:"render",value:function(){var e=this,t=this.props,r=t.children,n=t.html,a={ref:function(t){return e.el=t}};return a=Ct(Ct({},a),{},n?{dangerouslySetInnerHTML:{__html:n}}:{children:r}),o.a.createElement("div",a)}}]),r}(o.a.Component),Yt=function(e){mt(r,e);var t=yt(r);function r(e){var n;return pt(this,r),(n=t.call(this,e)).state={selected:new Set(e.defaultSelected),expanded:e.defaultExpanded||{},data:null,dataKey:null},n.isSelected=n.isSelected.bind(wt(n)),n.toggleSelection=n.toggleSelection.bind(wt(n)),n.toggleSelectionAll=n.toggleSelectionAll.bind(wt(n)),n.setSelection=n.setSelection.bind(wt(n)),n.toggleExpand=n.toggleExpand.bind(wt(n)),n.toggleExpandAll=n.toggleExpandAll.bind(wt(n)),n.toggleCollapseAll=n.toggleCollapseAll.bind(wt(n)),n.isExpanded=n.isExpanded.bind(wt(n)),n.tableInstance=o.a.createRef(),n.tableElement=o.a.createRef(),n}return ht(r,[{key:"isSelected",value:function(e){return this.state.selected.has(e)}},{key:"toggleSelection",value:function(e){var t=new Set(this.state.selected);this.state.selected.has(e)?t.delete(e):("single"===this.props.selection&&t.clear(),t.add(e)),this.setState({selected:t},this.onSelectedChange)}},{key:"toggleSelectionAll",value:function(e,t){var r=new Set(this.state.selected);t?e.forEach((function(e){return r.add(e)})):e.forEach((function(e){return r.delete(e)})),this.setState({selected:r},this.onSelectedChange)}},{key:"setSelection",value:function(e){var t=this,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.setState({selected:new Set(e)},(function(){return t.onSelectedChange(r)}))}},{key:"onSelectedChange",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.props,r=t.selection,n=t.selectionId;if(r&&n&&window.Shiny){var a=st(this.state.selected).map((function(e){return e+1}));window.Shiny.onInputChange(n,a)}e&&this.updateCrosstalkSelection()}},{key:"updateCrosstalkSelection",value:function(){var e=this;if(this.ctSelection){var t=st(this.state.selected).map((function(t){return e.props.crosstalkKey[t]}));this.ctSelection.set(t)}}},{key:"toggleExpand",value:function(e,t){var r=Ct({},this.state.expanded);if(t){var n=ne(r,e.nestingPath);r=n&&n===t.id?ae(r,e.nestingPath,void 0):ae(r,e.nestingPath,t.id)}else{var a=ne(r,e.nestingPath);r=ae(r,e.nestingPath,a?void 0:{})}this.setState({expanded:r})}},{key:"isExpanded",value:function(e){var t=ne(this.state.expanded,e.nestingPath);return t&&t===e.column.id}},{key:"toggleExpandAll",value:function(){var e=this.tableInstance.current.state,t=e.columns,r=e.sortedData,n=t.find((function(e){return e.details})),a=function e(t){return t.reduce((function(t,r,a){return r._subRows?t[a]=e(r._subRows):t[a]=n?n.id:{},t}),{})}(r);this.setState({expanded:a})}},{key:"toggleCollapseAll",value:function(){this.setState({expanded:{}})}},{key:"getRowInfo",value:function(e){var t=this;return e&&this.props.selection?Ct({selected:e.subRows&&"multiple"===this.props.selection?e.subRows.every((function(e){return t.isSelected(e._index)})):this.isSelected(e.index)},e):e}},{key:"onTableUpdate",value:function(){if(window.Shiny&&window.Shiny.onInputChange&&!this.props.nested){var e=this.tableElement.current,t=this.tableInstance.current;if(!e||!t)return;var r=e.parentElement.getAttribute("data-reactable-output");if(!r)return;var n={page:t.state.page+1,pageSize:t.state.pageSize,pages:t.state.pages,selected:st(this.state.selected).map((function(e){return e+1}))};Object.keys(n).forEach((function(e){window.Shiny.onInputChange("".concat(r,"__reactable__").concat(e),n[e])}))}}},{key:"componentDidMount",value:function(){var e=this;if(this.state.selected.size>0&&this.onSelectedChange(),!0===this.state.expanded&&this.toggleExpandAll(),window.Shiny&&!this.props.nested){var t=this.tableElement.current.parentElement.getAttribute("data-reactable-output");if(t){window.Shiny.addCustomMessageHandler("__reactable__".concat(t),(function(t){null!=t.data&&e.setState({data:t.data,dataKey:t.dataKey}),null!=t.selected&&e.setSelection(t.selected),null!=t.page&&e.tableInstance.current.onPageChange(t.page),null!=t.expanded&&(t.expanded?e.toggleExpandAll():e.toggleCollapseAll())}))}}this.onTableUpdate();var r=this.props.crosstalkGroup;if(r&&window.crosstalk){this.ctSelection=new window.crosstalk.SelectionHandle(r),this.ctFilter=new window.crosstalk.FilterHandle(r),this.ctSelected=this.ctSelection.value,this.ctFiltered=this.ctFilter.filteredKeys;var n=(this.props.crosstalkKey||[]).reduce((function(e,t,r){return e[t]=r,e}),{}),a=this.tableInstance.current,o={id:a.props.crosstalkId},i=function(){var t,r=e.ctSelected&&e.ctSelected.length>0?e.ctSelected:null,i=e.ctFiltered,l=(t=r||i?r?i?r.filter((function(e){return i.includes(e)})):r:i:null)?t.map((function(e){return n[e]})):null;a.filterColumn(o,l)},l=function(t){e.ctSelected!==t&&(e.ctSelected=t,i())};this.ctSelection.on("change",(function(t){t.sender!==e.ctSelection?(l(t.value),e.setSelection([],!1)):l(null)})),this.ctFilter.on("change",(function(t){var r;t.sender!==e.ctFilter&&(r=t.value,e.ctFiltered!==r&&(e.ctFiltered=r,i()))})),i(),this.props.defaultSelected&&this.updateCrosstalkSelection()}}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.defaultSelected,n=t.defaultExpanded;if(e.defaultSelected!==r&&this.setSelection(r),e.defaultExpanded!==n)if(!0===n)this.toggleExpandAll();else{var a=n||{};this.setState({expanded:a})}}},{key:"componentWillUnmount",value:function(){this.ctSelection&&this.ctSelection.close(),this.ctFilter&&this.ctFilter.close()}},{key:"render",value:function(){var e=this,t=this.props,s=t.data,u=t.columns,c=t.columnGroups,f=t.pivotBy,d=t.sortable,p=t.resizable,g=t.filterable,h=t.searchable,m=t.defaultSortDesc,b=t.defaultSorted,y=t.defaultPageSize,v=t.pageSizeOptions,w=t.paginationType,x=t.showPagination,S=t.showPageSizeOptions,P=t.showPageInfo,C=t.minRows,O=t.selection,k=t.onClick,T=t.outlined,j=t.bordered,E=t.borderless,R=t.striped,N=t.highlight,A=t.compact,D=t.nowrap,z=t.showSortIcon,_=t.showSortable,F=t.className,M=t.style,I=t.rowClassName,L=t.rowStyle,W=t.inline,K=t.width,B=t.height,H=t.language,G=t.crosstalkGroup,V=t.crosstalkKey,$=t.dataKey,X=t.theme;for(var Y in F=te(F,J((X=U(X)||{}).style)),H=Ct(Ct({},q),H))H[Y]=H[Y]||null;s=function(e){for(var t=Object.keys(e),r=new Array(e[t[0]].length),n=0;n2&&void 0!==arguments[2]?arguments[2]:{},l=r.sortable,s=r.showSortIcon,u=r.showSortable,c=r.isExpanded,f=r.onExpanderClick,d=r.theme,p=r.language;return e=e.map((function(e){var t=Qe({},e);if(t.id=t.accessor,t.accessor.includes(".")&&(t.accessor=function(e){return e[t.id]}),"string"==typeof t.aggregate&&Je[t.aggregate]){var r=t.aggregate;t.aggregate=Je[r]}t.sortMethod=at({type:t.type,naLast:t.sortNALast}),t.filterAll=!0,"numeric"===t.type?t.createMatcher=it:t.createMatcher=lt,t.filterMethod=function(e,r){var n=e.id,a=t.createMatcher(e.value);return r.filter((function(e){var t=e[n];return void 0===t||(!!e._subRows||a(t))}))},"numeric"===t.type?t.align=t.align||"right":t.align=t.align||"left",t.Cell=function(e){var r,l,s=e.value,u=null==s||"numeric"===t.type&&Ye(s);return u&&(s=t.na),!u&&t.format&&t.format.cell&&(s=ot(s,t.format.cell)),t.cell&&("function"==typeof t.cell&&(s=t.cell(Qe(Qe({},e),{},{value:s}))),t.cell instanceof Array&&!e.aggregated&&(s=t.cell[e.index])&&(s=Object(n.hydrate)({Fragment:a.Fragment,WidgetContainer:Be},t.cell[e.index]))),null!=s&&""!==s||(s="​"),r=o.a.isValidElement(s)?s:t.html?o.a.createElement("div",{style:{display:"inline"},dangerouslySetInnerHTML:{__html:s}}):String(s),t.details&&(t.details instanceof Array&&null==t.details[e.index]||(l=i.ReactTableDefaults.ExpanderComponent(Qe(Qe({},e),{},{isExpanded:c(e)})))),l?o.a.createElement(o.a.Fragment,null,l,r):r},t.PivotValue=function(e){var r=t.Cell(e);return o.a.createElement("span",null,r," ",e.subRows&&"(".concat(e.subRows.length,")"))},t.Aggregated=function(e){var r=null!=e.value?e.value:"";return t.format&&t.format.aggregated&&(r=ot(r,t.format.aggregated)),t.aggregated&&(r=t.aggregated(Qe(Qe({},e),{},{value:r}))),t.html?o.a.createElement("div",{dangerouslySetInnerHTML:{__html:r}}):r},t.Header=function(e){var r,i=t.name;if(t.header&&(i="function"==typeof t.header?t.header(e):Object(n.hydrate)({Fragment:a.Fragment,WidgetContainer:Be},t.header)),r=o.a.isValidElement(i)?o.a.createElement("div",{className:"rt-th-content"},i):t.html?o.a.createElement("div",{className:"rt-th-content",dangerouslySetInnerHTML:{__html:i}}):o.a.createElement("span",{className:"rt-th-content"},null!=i?String(i):""),re(t.sortable,l)&&s){var c=u?"rt-sort":"";return"right"===t.align?o.a.createElement("div",{className:"rt-sort-header"},o.a.createElement("span",{className:te(c,"rt-sort-left"),"aria-hidden":"true"}),r):o.a.createElement("div",{className:"rt-sort-header"},r,o.a.createElement("span",{className:te(c,"rt-sort-right"),"aria-hidden":"true"}))}return r},t.footer&&(t.Footer=function(e){var r;return r="function"==typeof t.footer?t.footer(e):Object(n.hydrate)({Fragment:a.Fragment,WidgetContainer:Be},t.footer),o.a.isValidElement(r)?r:t.html?o.a.createElement("div",{dangerouslySetInnerHTML:{__html:r}}):null!=r?String(r):""});var g="rt-align-".concat(t.align);t.headerClassName=te(g,t.headerClassName),t.footerClassName=te(g,t.footerClassName);var h=t.className,m=t.style;return t.className=void 0,t.style=void 0,t.getProps=function(e,t,r){var n,a,o={};if(!t)return o;(n="function"==typeof h?h(t,r,e):h instanceof Array?h[t.index]:h,o.className=te(g,n),m)&&((a="function"==typeof m?m(t,r,e):m instanceof Array?m[t.index]:m)&&(o.style=a));return r.details&&(r.details instanceof Array&&null==r.details[t.index]||t.aggregated||(o.className=te("rt-expandable",o.className),null==t.row[r.id]&&(o.style=Qe(Qe({},o.style),{},{textOverflow:"inherit"})),o.onClick=function(e,n){f(t,r),n&&n()})),o},t.theme=d,t.language=p,t})),t&&(e=nt(e,t)).forEach((function(e){(null!=e.name||e.header)&&(e.Header=function(t){var r=e.name;return e.header&&(r="function"==typeof e.header?e.header(t):Object(n.hydrate)({Fragment:a.Fragment,WidgetContainer:Be},e.header)),o.a.isValidElement(r)?r:e.html?o.a.createElement("div",{dangerouslySetInnerHTML:{__html:r}}):null!=r?String(r):""}),e.align=e.align||"center",e.headerClassName=te("rt-align-".concat(e.align),e.headerClassName)})),e}(u,c,{sortable:d,showSortIcon:z,showSortable:_,isExpanded:this.isExpanded,onExpanderClick:this.toggleExpand,theme:X,language:H}),null!=C&&(C=Math.max(C,1)),F=te(F,T?"rt-outlined":"",j?"rt-bordered":"",E?"rt-borderless":"",A?"rt-compact":"",W?" rt-inline":"",D?"rt-nowrap":""),M=Ct({width:K,height:B},M);var Z=l.a,Q={};O&&(Z=qt,Q={isSelected:this.isSelected,toggleSelection:this.toggleSelection,toggleAll:this.toggleSelectionAll,selectType:"multiple"===O?"checkbox":"radio"});var ee=null==x,ae=zt;(R||N||O||I||L)&&(ae=function(t,r){r=e.getRowInfo(r);var n,a=zt(t,r);(R&&r&&(a.className=te(a.className,r.viewIndex%2?null:"rt-tr-striped")),N&&r&&(a.className=te(a.className,"rt-tr-highlight")),r&&r.selected&&(a.className=te(a.className,"rt-tr-selected")),I)&&(n="function"==typeof I?I(r,t):I instanceof Array?r&&I[r.index]:I,a.className=te(a.className,n));return L&&(a.style="function"==typeof L?L(r,t):L instanceof Array?r&&L[r.index]:L),a});var oe,ie=u.reduce((function(e,t){return e.concat(t.columns?t.columns:t)}),[]);ie.some((function(e){return e.details}))?(oe=function(t){var i=ne(e.state.expanded,t.nestingPath),l=ie.find((function(e){return e.id===i}));if(!l)return null;var s=l.details,u=l.html,c={};if("function"==typeof s){var f=s(e.getRowInfo(t));u&&(c.html=f),c.children=f}else if(s instanceof Array){var d=s[t.index];if(null==d)return null;u&&(c.html=d),c.children=Object(n.hydrate)({Reactable:r,Fragment:a.Fragment,WidgetContainer:Be},d)}return o.a.createElement(Xt,St({key:"".concat(i,"-").concat(t.index)},c))},u=[{expander:!0,show:!1}].concat(st(u))):oe=null;var le,se=function(){Object.keys(e.state.expanded).length>0&&e.setState({expanded:{}})},ue=_t;k&&("select"===k?k=function(t,r){if(t&&(!r.pivoted||!t.aggregated))if(t.aggregated){if("single"===O)return;var n=t.subRows;if(!n||n.some((function(e){return e._aggregated})))return null;var a=n.map((function(e){return e._index})),o=a.every((function(t){return e.isSelected(t)}));e.toggleSelectionAll(a,!o)}else e.toggleSelection(t.index)}:"expand"===k&&(k=function(t,r){if(t){var n=ie.find((function(e){return e.details}));if(t.aggregated)r.pivoted||e.toggleExpand(t);else if(n){var a=n.details;if(a instanceof Array&&null==a[t.index])return;e.toggleExpand(t,n)}}}),ue=function(e,t,r){return Ct(Ct({},_t(e,t)),{},{onClick:function(n,a){k(t,r,e),a&&a()}})});var ce=kt;return h&&(le=$t,ce=function(e,t,r,n){var a=e.filtered.find((function(t){return t.id===e.searchKey})),o=a?a.value:"";return Ct(Ct({},kt(e)),{},{searchValue:o,onSearchChange:function(t){n.filterColumn({id:e.searchKey},t.target.value)},searchPlaceholder:e.language.searchPlaceholder,searchLabel:e.language.searchLabel,searchClassName:J(e.theme.searchInputStyle)})}),o.a.createElement(Z,St({data:s,columns:u,pivotBy:f||[],sortable:d,resizable:p,filterable:g,searchable:h,searchKey:"__search__",defaultSortDesc:m,defaultSorted:b,defaultPageSize:y,pageSizeOptions:v,showPagination:x,showPageSizeOptions:S,PaginationComponent:ye,paginationType:w,autoHidePagination:ee,showPageInfo:P,minRows:C,collapseOnSortingChange:!0,collapseOnPageChange:!0,collapseOnDataChange:!1,className:F,style:M,expanded:this.state.expanded,onExpandedChange:function(t){e.setState({expanded:t})},onPageChange:se,onSortedChange:se,getTableProps:ce,getTheadGroupTrProps:Et,getTheadGroupThProps:jt,getTheadTrProps:Rt,getTheadThProps:Tt,getTheadFilterTrProps:Nt,getTheadFilterThProps:At,getTbodyProps:Bt,getTrGroupProps:Dt,getTrProps:ae,getTdProps:ue,getTfootTrProps:Ft,getTfootTdProps:Mt,TableComponent:le,SubComponent:oe},Q,{theme:X,language:H,crosstalkGroup:G,crosstalkKey:V,crosstalkId:"__crosstalk__",key:"".concat(y),dataKey:this.state.dataKey||$,ref:this.tableInstance,getProps:function(){return e.onTableUpdate(),{ref:e.tableElement,onMouseDown:function(){e.tableElement.current.classList.remove("rt-keyboard-active")},onKeyDown:function(){e.tableElement.current.classList.add("rt-keyboard-active")},onKeyUp:function(t){9===(t.which||t.keyCode)&&e.tableElement.current.classList.add("rt-keyboard-active")}}}}))}}]),r}(o.a.Component);Yt.defaultProps={sortable:!0,resizable:!1,showPageSizeOptions:!1,showSortIcon:!0};var Zt=Yt;Object(n.reactWidget)("reactable","output",{Reactable:Zt})}]); +*/!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function s(e){return Array.isArray(e)}function u(e){return function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(s(t))for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],r=arguments[2],n=u(t),a=void 0,o=e;for(;(a=n.shift())&&n.length;)o[a]||(o[a]={}),o=o[a];return o[a]=r,e},takeRight:function(e,t){var r=t>e.length?0:e.length-t;return e.slice(r)},last:function(e){return e[e.length-1]},orderBy:function(e,t,r,n){return e.sort((function(e,a){for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;return"function"==typeof e?Object.getPrototypeOf(e).isReactComponent?a.default.createElement(e,t):e(t):r},asPx:function(e){return e=Number(e),Number.isNaN(e)?null:e+"px"}}},function(e,t,r){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"==typeof btoa){var a=(i=n,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),o=n.sources.map((function(e){return"/*# sourceURL="+n.sourceRoot+e+" */"}));return[r].concat(o).concat([a]).join("\n")}var i;return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r})).join("")},t.i=function(e,r){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},a=0;a=0&&f.splice(t,1)}function b(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var n=function(){0;return r.nc}();n&&(e.attrs.nonce=n)}return y(t,e.attrs),h(e,t),t}function y(e,t){Object.keys(t).forEach((function(r){e.setAttribute(r,t[r])}))}function v(e,t){var r,n,a,o;if(t.transform&&e.css){if(!(o="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=o}if(t.singleton){var i=c++;r=u||(u=b(t)),n=S.bind(null,r,i,!1),a=S.bind(null,r,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",y(t,e.attrs),h(e,t),t}(t),n=C.bind(null,r,t),a=function(){m(r),r.href&&URL.revokeObjectURL(r.href)}):(r=b(t),n=P.bind(null,r),a=function(){m(r)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else a()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=i()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var r=g(e,t);return p(r,t),function(e){for(var n=[],a=0;a=a.pages?a.pages-1:a.page,0)),this.setState(a,(function(){t&&t(),n.page===a.page&&n.pageSize===a.pageSize&&n.sorted===a.sorted&&n.filtered===a.filtered||r.fireFetchData()}))}}]),t}(e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,a=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(n=(i=l.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){a=!0,o=e}finally{try{!n&&l.return&&l.return()}finally{if(a)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a="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},o=Object.assign||function(e){for(var t=1;t-1)&&s.default.getFirstDefined(e.show,!0)}));return o({},e,{columns:r})}return e}))).filter((function(e){return e.columns?e.columns.length:!(u.indexOf(e.id)>-1)&&s.default.getFirstDefined(e.show,!0)}))).findIndex((function(e){return e.pivot}));u.length&&function(){var e=[];u.forEach((function(t){var r=k.find((function(e){return e.id===t}));r&&e.push(r)}));var r=e.reduce((function(e,t){return e&&e===t.parentColumn&&t.parentColumn}),e[0].parentColumn),n=S&&r.Header,a={Header:n=n||function(){return l.default.createElement("strong",null,"Pivoted")},columns:e.map((function(e){return o({},t.props.pivotDefaults,e,{pivoted:!0})}))};E>=0?(a=o({},T[E],a),T.splice(E,1,a)):T.unshift(a)}();var R=[],N=[],A=function(e,r){R.push(o({},t.props.column,r,{columns:e})),N=[]};T.forEach((function(e,t){if(e.columns)return j=j.concat(e.columns),N.length>0&&A(N),void A(e.columns,e);j.push(e),N.push(e)})),S&&N.length>0&&A(N);var D=d.map((function(e,t){return function e(t,r){var n,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=(c(n={},y,t),c(n,v,r),c(n,h,t[h]),c(n,b,a),n);return k.forEach((function(e){e.expander||(o[e.id]=e.accessor(t))})),o[h]&&(o[h]=o[h].map((function(t,r){return e(t,r,a+1)}))),o}(e,t)})),z=function(e){var t={};return _.forEach((function(r){var n=e.map((function(e){return e[r.id]}));t[r.id]=r.aggregate(n,e)})),t},_=j.filter((function(e){return!e.expander&&e.aggregate}));return u.length&&(D=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(a===r.length)return t;var i=Object.entries(s.default.groupBy(t,r[a])).map((function(e){var t,o=n(e,2),i=o[0],l=o[1];return c(t={},p,r[a]),c(t,g,i),c(t,r[a],i),c(t,h,l),c(t,b,a),c(t,w,!0),t}));return i=i.map((function(t){var n,i=e(t[h],r,a+1);return o({},t,(c(n={},h,i),c(n,m,!0),n),z(i))}))}(D,u)),o({},e,{resolvedData:D,allVisibleColumns:j,headerGroups:R,allDecoratedColumns:k,hasHeaderGroups:S})}},{key:"getSortedData",value:function(e){var t=e.manual,r=e.sorted,n=e.filtered,a=e.defaultFilterMethod,o=e.resolvedData,i=e.allVisibleColumns,l=e.allDecoratedColumns,s={};return l.filter((function(e){return e.sortMethod})).forEach((function(e){s[e.id]=e.sortMethod})),{sortedData:t?o:this.sortData(this.filterData(o,n,a,i),r,s)}}},{key:"fireFetchData",value:function(){this.props.onFetchData(this.getResolvedState(),this)}},{key:"getPropOrState",value:function(e){return s.default.getFirstDefined(this.props[e],this.state[e])}},{key:"getStateOrProp",value:function(e){return s.default.getFirstDefined(this.state[e],this.props[e])}},{key:"filterData",value:function(e,t,r,n){var a=this,i=e;return t.length&&(i=(i=t.reduce((function(e,t){var a=n.find((function(e){return e.id===t.id}));if(!a||!1===a.filterable)return e;var o=a.filterMethod||r;return a.filterAll?o(t,e,a):e.filter((function(e){return o(t,e,a)}))}),i)).map((function(e){return e[a.props.subRowsKey]?o({},e,c({},a.props.subRowsKey,a.filterData(e[a.props.subRowsKey],t,r,n))):e})).filter((function(e){return!e[a.props.subRowsKey]||e[a.props.subRowsKey].length>0}))),i}},{key:"sortData",value:function(e,t){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t.length)return e;var a=(this.props.orderByMethod||s.default.orderBy)(e,t.map((function(e){return n[e.id]?function(t,r){return n[e.id](t[e.id],r[e.id],e.desc)}:function(t,n){return r.props.defaultSortMethod(t[e.id],n[e.id],e.desc)}})),t.map((function(e){return!e.desc})),this.props.indexKey);return a.forEach((function(e){e[r.props.subRowsKey]&&(e[r.props.subRowsKey]=r.sortData(e[r.props.subRowsKey],t,n))})),a}},{key:"getMinRows",value:function(){return s.default.getFirstDefined(this.props.minRows,this.getStateOrProp("pageSize"))}},{key:"onPageChange",value:function(e){var t=this.props,r=t.onPageChange,n=t.collapseOnPageChange,a={page:e};n&&(a.expanded={}),this.setStateWithData(a,(function(){r&&r(e)}))}},{key:"onPageSizeChange",value:function(e){var t=this.props.onPageSizeChange,r=this.getResolvedState(),n=r.pageSize*r.page,a=Math.floor(n/e);this.setStateWithData({pageSize:e,page:a},(function(){t&&t(e,a)}))}},{key:"sortColumn",value:function(e,t){var r=this.getResolvedState(),n=r.sorted,a=r.skipNextSort,o=r.defaultSortDesc,i=e.hasOwnProperty("defaultSortDesc")?e.defaultSortDesc:o,l=!i;if(a)this.setStateWithData({skipNextSort:!1});else{var u=this.props.onSortedChange,c=s.default.clone(n||[]).map((function(e){return e.desc=s.default.isSortingDesc(e),e}));if(s.default.isArray(e))!function(){var r=c.findIndex((function(t){return t.id===e[0].id}));r>-1?(c[r].desc===l?t?c.splice(r,e.length):e.forEach((function(e,t){c[r+t].desc=i})):e.forEach((function(e,t){c[r+t].desc=l})),t||(c=c.slice(r,e.length))):c=t?c.concat(e.map((function(e){return{id:e.id,desc:i}}))):e.map((function(e){return{id:e.id,desc:i}}))}();else{var f=c.findIndex((function(t){return t.id===e.id}));if(f>-1){var d=c[f];d.desc===l?t?c.splice(f,1):(d.desc=i,c=[d]):(d.desc=l,t||(c=[d]))}else t?c.push({id:e.id,desc:i}):c=[{id:e.id,desc:i}]}this.setStateWithData({page:!n.length&&c.length||!t?0:this.state.page,sorted:c},(function(){u&&u(c,e,t)}))}}},{key:"filterColumn",value:function(e,t){var r=this.getResolvedState().filtered,n=this.props.onFilteredChange,a=(r||[]).filter((function(t){if(t.id!==e.id)return!0}));""!==t&&a.push({id:e.id,value:t}),this.setStateWithData({filtered:a},(function(){n&&n(a,e,t)}))}},{key:"resizeColumnStart",value:function(e,t,r){var n=this;e.stopPropagation();var a=e.target.parentElement.getBoundingClientRect().width,o=void 0;o=r?e.changedTouches[0].pageX:e.pageX,this.trapEvents=!0,this.setStateWithData({currentlyResizing:{id:t.id,startX:o,parentWidth:a}},(function(){r?(document.addEventListener("touchmove",n.resizeColumnMoving),document.addEventListener("touchcancel",n.resizeColumnEnd),document.addEventListener("touchend",n.resizeColumnEnd)):(document.addEventListener("mousemove",n.resizeColumnMoving),document.addEventListener("mouseup",n.resizeColumnEnd),document.addEventListener("mouseleave",n.resizeColumnEnd))}))}},{key:"resizeColumnMoving",value:function(e){e.stopPropagation();var t=this.props.onResizedChange,r=this.getResolvedState(),n=r.resized,a=r.currentlyResizing,o=n.filter((function(e){return e.id!==a.id})),i=void 0;"touchmove"===e.type?i=e.changedTouches[0].pageX:"mousemove"===e.type&&(i=e.pageX);var l=Math.max(a.parentWidth+i-a.startX,11);o.push({id:a.id,value:l}),this.setStateWithData({resized:o},(function(){t&&t(o,e)}))}},{key:"resizeColumnEnd",value:function(e){e.stopPropagation();var t="touchend"===e.type||"touchcancel"===e.type;t&&(document.removeEventListener("touchmove",this.resizeColumnMoving),document.removeEventListener("touchcancel",this.resizeColumnEnd),document.removeEventListener("touchend",this.resizeColumnEnd)),document.removeEventListener("mousemove",this.resizeColumnMoving),document.removeEventListener("mouseup",this.resizeColumnEnd),document.removeEventListener("mouseleave",this.resizeColumnEnd),t||this.setStateWithData({skipNextSort:!0,currentlyResizing:!1})}}]),t}(e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var c=function(){return{}};t.default={data:[],loading:!1,showPagination:!0,showPaginationTop:!1,showPaginationBottom:!0,showPageSizeOptions:!0,pageSizeOptions:[5,10,20,25,50,100],defaultPageSize:20,showPageJump:!0,collapseOnSortingChange:!0,collapseOnPageChange:!0,collapseOnDataChange:!0,freezeWhenExpanded:!1,sortable:!0,resizable:!0,filterable:!1,defaultSortDesc:!1,defaultSorted:[],defaultFiltered:[],defaultResized:[],defaultExpanded:{},defaultFilterMethod:function(e,t,r){var n=e.pivotId||e.id;return void 0===t[n]||String(t[n]).startsWith(e.value)},defaultSortMethod:function(e,t,r){return t=null==t?"":t,(e="string"==typeof(e=null==e?"":e)?e.toLowerCase():e)>(t="string"==typeof t?t.toLowerCase():t)?1:ediv{position:absolute;display:block;text-align:center;width:100%;top:50%;left:0;font-size:15px;color:rgba(0,0,0,.6);-webkit-transform:translateY(-52%);transform:translateY(-52%);-webkit-transition:all .3s cubic-bezier(.25,.46,.45,.94);transition:all .3s cubic-bezier(.25,.46,.45,.94)}.ReactTable .-loading.-active{opacity:1;z-index:2;pointer-events:all}.ReactTable .-loading.-active>div{-webkit-transform:translateY(50%);transform:translateY(50%)}.ReactTable .rt-resizing .rt-td,.ReactTable .rt-resizing .rt-th{-webkit-transition:none!important;transition:none!important;cursor:col-resize;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}",""])},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var r=t.protocol+"//"+t.host,n=r+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var a,o=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?e:(a=0===o.indexOf("//")?o:0===o.indexOf("/")?r+o:n+o.replace(/^\.\//,""),"url("+JSON.stringify(a)+")")}))}},function(e,t,r){var n=r(19);"string"==typeof n&&(n=[[e.i,n,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};r(7)(n,a);n.locals&&(e.exports=n.locals)},function(e,t,r){(e.exports=r(6)(!1)).push([e.i,'.ReactTable{height:100%;background-color:#fff}.rt-inline{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.rt-th{font-weight:600}.rt-td,.rt-th{padding:7px 8px;overflow-wrap:break-word;max-width:100%;word-wrap:break-word}.rt-compact .rt-td,.rt-compact .rt-th{padding:4px 6px}.rt-nowrap .rt-td,.rt-nowrap .rt-th{white-space:nowrap;text-overflow:ellipsis}.rt-th-content{overflow:hidden;text-overflow:ellipsis}.rt-td-select{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.rt-select,.rt-td-select{display:-webkit-box;display:-ms-flexbox;display:flex}.rt-select{-webkit-box-align:center;-ms-flex-align:center;align-items:center}input[type=checkbox].rt-select-input,input[type=radio].rt-select-input{display:block;margin:0}.rt-align-left{text-align:left}.rt-align-right{text-align:right}.rt-align-center{text-align:center}.rt-table{border-width:1px;border-color:#e6e6e6}.rt-bordered .rt-table,.rt-outlined .rt-table{border-style:solid}.rt-th{border-bottom:2px solid #e6e6e6;border-left-width:1px;border-left-color:rgba(0,0,0,.05)}.rt-bordered .rt-th,.rt-outlined .rt-th{border-bottom-width:1px}.rt-td{border-top:1px solid #f2f2f2;border-left-width:1px;border-left-color:rgba(0,0,0,.05)}.rt-borderless .rt-td,.rt-tr-group:first-child>.rt-tr:first-child .rt-td{border-top:none}.rt-bordered .rt-td,.rt-bordered .rt-th{border-left-style:solid}.rt-bordered .rt-td:first-child,.rt-bordered .rt-th:first-child{border-left:none}.rt-th-group,.rt-th-group-none{border-bottom-style:none}.rt-th-group:after{content:"";position:absolute;margin:auto;left:8px;right:8px;bottom:0;width:100%;height:1px;background-color:#e6e6e6}.rt-bordered .rt-th-group:after,.rt-outlined .rt-th-group:after{left:0;right:0}.rt-bordered .rt-th-group-none{border-bottom-style:solid}.rt-tr-striped{background-color:rgba(0,0,0,.03)}.rt-tr-highlight:hover,.rt-tr-striped.rt-tr-highlight:hover{background-color:rgba(0,0,0,.05)}.rt-tr.-padRow{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ReactTable .rt-tbody,.ReactTable .rt-tfoot,.ReactTable .rt-thead.-header{-ms-flex-negative:0;flex-shrink:0}@supports ((position:-webkit-sticky) or (position:sticky)){.ReactTable .rt-table{background:inherit}.ReactTable .rt-tbody{overflow:visible}.ReactTable .rt-thead.-header{top:0}.ReactTable .rt-tfoot,.ReactTable .rt-thead.-header{position:-webkit-sticky;position:sticky;background:inherit;z-index:2}.ReactTable .rt-tfoot{bottom:0}}@media screen and (-ms-high-contrast:active),screen and (-ms-high-contrast:none){.ReactTable .rt-tbody{overflow:auto;-ms-overflow-style:-ms-autohiding-scrollbar}}.rt-td-filter{border-top:0;border-bottom:1px solid #f2f2f2}.rt-borderless .rt-td-filter{border-bottom:0}.rt-filter{padding:5px 7px;color:inherit;background-color:#fff;border:1px solid rgba(0,0,0,.1);border-radius:3px;font-family:inherit;font-size:inherit;font-weight:400;outline-width:0;outline-style:solid}.rt-filter:focus{border:1px solid rgba(0,0,0,.25)}.rt-sort-header{display:-webkit-box;display:-ms-flexbox;display:flex}.rt-align-center .rt-sort-header{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.rt-align-right .rt-sort-header{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.rt-th{outline-width:0;outline-style:solid}.rt-th[aria-sort] .rt-sort-left:after{padding-right:5px;line-height:0}.rt-th[aria-sort] .rt-sort-right:after{padding-left:5px;line-height:0}.rt-th[aria-sort=ascending] .rt-sort-left:after,.rt-th[aria-sort=ascending] .rt-sort-right:after{content:"\\2191"}.rt-th[aria-sort=descending] .rt-sort-left:after,.rt-th[aria-sort=descending] .rt-sort-right:after{content:"\\2193"}.rt-th[aria-sort=none] .rt-sort:after{content:"\\2195";opacity:.4}.rt-th[data-sort-hint=ascending] .rt-sort-left:after,.rt-th[data-sort-hint=ascending] .rt-sort-right:after{content:"\\2191";opacity:.4}.rt-th[data-sort-hint=descending] .rt-sort-left:after,.rt-th[data-sort-hint=descending] .rt-sort-right:after{content:"\\2193";opacity:.4}.rt-expander-button{margin:0 2px;padding:0;background:none;border:none;cursor:pointer}.rt-expander{display:inline-block;position:relative;padding:0 8px;color:transparent;outline-width:0;outline-style:solid}.rt-expander:after{content:"";position:absolute;width:0;height:0;top:50%;left:50%;-webkit-transform:translate(-50%,-50%) rotate(-90deg);transform:translate(-50%,-50%) rotate(-90deg);border-left:5.04px solid transparent;border-right:5.04px solid transparent;border-top:7px solid rgba(0,0,0,.8);-webkit-transition:all .3s cubic-bezier(.175,.885,.32,1.275);transition:all .3s cubic-bezier(.175,.885,.32,1.275);cursor:pointer}.rt-expander.-open:after{-webkit-transform:translate(-50%,-50%) rotate(0);transform:translate(-50%,-50%) rotate(0)}.rt-pagination{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:6px 4px;border-top:1px solid #f2f2f2}.rt-bordered .rt-pagination,.rt-outlined .rt-pagination{border-top:none}.rt-pagination-info :not(:last-child){margin-right:16px}.rt-page-info{display:inline-block;margin:6px 8px;opacity:.9}.rt-page-size{display:inline-block;margin:0 8px}.rt-page-size-select{margin:0 2px}.rt-page-button,.rt-page-jump,.rt-page-size-select{font-family:inherit;font-size:inherit;color:inherit;line-height:inherit}.rt-page-jump,.rt-page-size-select{background-color:#fff;padding:3px;border-radius:3px;border:1px solid rgba(0,0,0,.05)}@supports (-moz-appearance:none){.rt-page-size-select{-moz-appearance:none;padding-right:12px;background-image:url(\'data:image/svg+xml;charset=US-ASCII,\');background-repeat:no-repeat;background-position:right 6px center;background-size:6px}}.rt-page-button{padding:6px 12px;background-color:transparent;border:none;border-radius:3px;outline-width:0;outline-style:solid;cursor:pointer}.rt-page-button::-moz-focus-inner{padding:0;border-style:none}.rt-page-button:disabled{opacity:.6;cursor:default}.rt-page-button:hover{background-color:rgba(0,0,0,.04)}.rt-page-button:active{background-color:rgba(0,0,0,.08)}.rt-keyboard-active .rt-page-button:focus{background-color:rgba(0,0,0,.04)}.rt-page-button:disabled:focus,.rt-page-button:disabled:hover{background-color:transparent}.rt-page-button-current{font-weight:700}.rt-page-ellipsis{margin:0 4px;pointer-events:none}.rt-page-numbers{display:inline-block;margin:0 8px;white-space:nowrap}.rt-page-jump{width:70px;text-align:center}.rt-tbody-noData{position:relative}.rt-tbody-noData .rt-td{border-color:transparent}.rt-noData{display:block;position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);line-height:0;z-index:1}.rt-search{display:block;-ms-flex-item-align:end;align-self:flex-end;margin-bottom:8px;padding:5px 7px;color:inherit;background-color:#fff;border:1px solid rgba(0,0,0,.1);border-radius:3px;outline-width:0;outline-style:solid;font-family:inherit;font-size:inherit}.rt-search:active,.rt-search:focus{border:1px solid rgba(0,0,0,.25)}',""])},function(e,t,r){"use strict";r.r(t);var n=r(3),a=r(1),o=r.n(a),i=r(2),l=r.n(i),s=r(0),u=r.n(s);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;tn&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(h,"$1"+e.trim());case 58:return e.trim()+t.replace(h,"$1"+e.trim());default:if(0<1*r&&0s.charCodeAt(8))break;case 115:i=i.replace(s,"-webkit-"+s)+";"+i;break;case 207:case 102:i=i.replace(s,"-webkit-"+(102l.charCodeAt(0)&&(l=l.trim()),l=[l],0p)&&(L=(B=B.replace(" ",":")).length),0=4;++n,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(a){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)},x={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var S=/[A-Z]|^ms/g,P=/_EMO_([^_]+?)_([^]*?)_EMO_/g,C=function(e){return 45===e.charCodeAt(1)},O=function(e){return null!=e&&"boolean"!=typeof e},k=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}((function(e){return C(e)?e:e.replace(S,"-$&").toLowerCase()})),T=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(P,(function(e,t,r){return E={name:t,styles:r,next:E},t}))}return 1===x[e]||C(e)||"number"!=typeof t||0===t?t:t+"px"};function j(e,t,r,n){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return E={name:r.name,styles:r.styles,next:E},r.name;if(void 0!==r.styles){var a=r.next;if(void 0!==a)for(;void 0!==a;)E={name:a.name,styles:a.styles,next:E},a=a.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var a=0;ae.length)&&(t=e.length);for(var r=0,n=new Array(t);r'+'\')')}}),".rt-page-button":H({},q),".rt-page-button:not(:disabled):hover":H({},X),".rt-page-button:not(:disabled):active":H({},Y),".rt-keyboard-active & .rt-page-button:not(:disabled):focus":H({},X),".rt-page-button-current":H({},Z)})};return function e(t){for(var r=0,n=Object.entries(t);r1&&void 0!==arguments[1]?arguments[1]:{};if(!e||!t)return e;var r=Object.keys(t),n="("+r.map((function(e){return"{".concat(e,"}")})).join("|")+")",a=e.split(new RegExp(n)),o=r.reduce((function(e,r){return e["{".concat(r,"}")]=t[r],e}),{}),i=a.map((function(e){return null!=o[e]?o[e]:e}));return i.some((function(e){return"object"===$(e)}))?i:i.join("")}function Y(e){return(Y="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})(e)}function Z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Q(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var be=function(e){var t=e.isCurrent,r=e.className,n=me(e,["isCurrent","className"]);return r=te(r,"rt-page-button",t?" rt-page-button-current":null),o.a.createElement("button",he({type:"button",className:r},n),n.children)};var ye=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&se(e,t)}(i,e);var t,r,n,a=ue(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=a.call(this,e)).changePage=t.changePage.bind(fe(t)),t.applyPage=t.applyPage.bind(fe(t)),t.state={pageJumpValue:e.page+1,prevPage:e.page},t}return t=i,n=[{key:"getDerivedStateFromProps",value:function(e,t){return e.page!==t.prevPage?{pageJumpValue:e.page+1,prevPage:e.page}:null}}],(r=[{key:"changePage",value:function(e){e!==this.props.page+1&&this.props.onPageChange(e-1)}},{key:"applyPage",value:function(e){e&&e.preventDefault();var t=this.state.pageJumpValue;if(""!==t)this.changePage(t);else{var r=this.props.page+1;this.setState({pageJumpValue:r})}}},{key:"renderPageInfo",value:function(e){var t=e.page,r=e.pageSize,n=e.sortedData,a=e.language,i=n.length,l=Math.min(t*r+1,n.length),s=Math.min(t*r+r,n.length),u=X(a.pageInfo,{rowStart:l,rowEnd:s,rows:i});return o.a.createElement("div",{className:"rt-page-info"},u)}},{key:"renderPageSizeOptions",value:function(e){var t=e.pageSize,r=e.pageSizeOptions,n=e.onPageSizeChange,a=e.language,i=o.a.createElement("select",{key:"page-size-select",className:"rt-page-size-select","aria-label":a.pageSizeOptionsLabel,onChange:function(e){return n(Number(e.target.value))},value:t},r.map((function(e,t){return o.a.createElement("option",{key:t,value:e},e)}))),l=X(a.pageSizeOptions,{rows:i});return o.a.createElement("div",{className:"rt-page-size"},l)}},{key:"renderPageJump",value:function(e){var t=e.onChange,r=e.value,n=e.onBlur,a=e.onKeyPress,i=e.inputType,l=e.language;return o.a.createElement("input",{key:"page-jump",className:"rt-page-jump","aria-label":l.pageJumpLabel,type:i,onChange:t,value:r,onBlur:n,onKeyPress:a})}},{key:"getPageJumpProperties",value:function(){var e=this;return{onKeyPress:function(t){13!==t.which&&13!==t.keyCode||e.applyPage()},onBlur:this.applyPage,value:this.state.pageJumpValue,onChange:function(t){var r=t.target.value;if(""!==r){var n=Number(r);if(!Number.isNaN(n)){var a=Math.min(Math.max(n,1),Math.max(e.props.pages,1));e.setState({pageJumpValue:a})}}else e.setState({pageJumpValue:r})},inputType:"number",language:this.props.language}}},{key:"render",value:function(){var e=this,t=this.props,r=t.autoHidePagination,n=t.paginationType,a=t.showPageSizeOptions,i=t.showPageInfo,l=t.page,s=t.pages,u=t.canPrevious,c=t.canNext,f=t.className,d=t.style,p=t.theme,g=t.language;if(r){var h=this.props,m=h.defaultPageSize,b=h.pageSizeOptions,y=h.resolvedData,v=a?Math.min.apply(Math,[m].concat(pe(b))):m;if(y.length<=v)return null}var w,x=i?this.renderPageInfo(this.props):null,S=a?this.renderPageSizeOptions(this.props):null,P=l+1,C=function(e,t){return t<=6?pe(Array(t)).map((function(e,t){return t+1})):e<=4?[1,2,3,4,5,t]:t-e<3?[1,t-3,t-2,t-1,t]:[1,e-1,e,e+1,t]}(P,s);if("numbers"===n){var O=[];C.forEach((function(t,r){var n=P===t,a=o.a.createElement(be,{key:t,isCurrent:n,onClick:e.changePage.bind(null,t),"aria-label":X(g.pageNumberLabel,{page:t})+(n?" ":""),"aria-current":n?"page":null},t);t-C[r-1]>1&&O.push(o.a.createElement("span",{className:"rt-page-ellipsis",key:"ellipsis-".concat(t),role:"separator"},"...")),O.push(a)})),w=O}else{var k="jump"===n?this.renderPageJump(this.getPageJumpProperties()):P,T=Math.max(s,1);w=o.a.createElement("div",{className:"rt-page-numbers"},X(g.pageNumbers,{page:k,pages:T}))}var j=o.a.createElement(be,{className:"rt-prev-button",onClick:function(){u&&e.changePage(P-1)},disabled:!u,"aria-disabled":u?null:"true","aria-label":g.pagePreviousLabel},g.pagePrevious),E=o.a.createElement(be,{className:"rt-next-button",onClick:function(){c&&e.changePage(P+1)},disabled:!c,"aria-disabled":c?null:"true","aria-label":g.pageNextLabel},g.pageNext);return o.a.createElement("div",{className:te(f,"rt-pagination",J(p.paginationStyle)),style:d},o.a.createElement("div",{className:"rt-pagination-info"},x,S),o.a.createElement("div",{className:"rt-pagination-nav"},j,w,E))}}])&&le(t.prototype,r),n&&le(t,n),i}(o.a.Component);function ve(e){return(ve="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})(e)}function we(){return(we=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function Ee(e,t){for(var r=0;re.length)&&(t=e.length);for(var r=0,n=new Array(t);r1?" (".concat(t[e],")"):"")})).join(", ")}};function $e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;if(!Number.isFinite(e))return e;t=t>0?t:0;var r=Math.pow(10,t);return Math.sign(e)*Math.round(Math.abs(e)*r)/r}function qe(e){return e.map(Xe).filter((function(e){return"number"==typeof e}))}function Xe(e){return(null==e||void 0===e||Ye(e))&&(e=null),"Inf"===e&&(e=1/0),"-Inf"===e&&(e=-1/0),"string"==typeof e&&(e=Number(e)),e}function Ye(e){return"NA"===e||"NaN"===e}function Ze(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Qe(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,l=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){l=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(l)throw o}}}}function rt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:{},t=e.type,r=e.naLast;return function(e,n,a){return"numeric"===t?(e=Xe(e),n=Xe(n)):(e="string"==typeof e?e.toLowerCase():e,n="string"==typeof n?n.toLowerCase():n),e===n?0:null==e?r?a?-1:1:-1:null==n?r?a?1:-1:1:e>n?1:ee.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function pt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gt(e,t){for(var r=0;r1||t.shiftKey)&&t.preventDefault(),e.setState({clicked:!0})},onFocus:function(){e.state.clicked||o||i||e.setState({showFocus:!0})},onBlur:function(){e.setState({showFocus:!1,clicked:!1})},tabIndex:"0","data-sort-hint":this.state.showFocus?n:void 0})}return Wt(l)}}]),r}(o.a.Component);Object.assign(i.ReactTableDefaults,{ThComponent:Kt});var Bt=function(e){return{state:e}},Ht=i.ReactTableDefaults.TbodyComponent,Gt=i.ReactTableDefaults.NoDataComponent;Object.assign(i.ReactTableDefaults,{TbodyComponent:function(e){var t=e.state,r=e.className,n=e.children,a=dt(e,["state","className","children"]),i=t.pageRows,l=t.theme,s=t.language,u=!i.length&&o.a.createElement(Gt,null,s.noData);return r=u?te(r,"rt-tbody-noData"):r,r=te(r,J(l.tableBodyStyle)),o.a.createElement(Ht,St({role:"rowgroup",className:r},a),n,u)},NoDataComponent:function(){return null}}),Object.assign(i.ReactTableDefaults,{FilterComponent:function(e){var t=e.column,r=e.filter,n=e.onChange,a=t.name,i=t.theme,l=t.language;return o.a.createElement("input",{type:"text",className:te("rt-filter",J(i.filterInputStyle)),style:{width:"100%"},value:r?r.value:"",onChange:function(e){return n(e.target.value)},placeholder:l.filterPlaceholder,"aria-label":X(l.filterLabel,{name:a})})}}),Object.assign(i.ReactTableDefaults,{ExpanderComponent:function(e){var t=e.isExpanded,r=e.column,n=r.theme,a=r.language,i=t?a.detailsCollapseLabel:a.detailsExpandLabel;return o.a.createElement("button",{className:"rt-expander-button","aria-label":i},o.a.createElement("span",{className:te("rt-expander",t&&"-open",J(n.expanderStyle)),tabIndex:"-1","aria-hidden":"true"},"•"))}});var Ut=i.ReactTableDefaults.LoadingComponent;Object.assign(i.ReactTableDefaults,{LoadingComponent:function(e){var t=e.loading,r=dt(e,["loading"]);return t?Ut(Ct({loading:t},r)):null}}),l.a.propTypes=p,l.a.prototype.oldComponentWillReceiveProps=l.a.prototype.UNSAFE_componentWillReceiveProps,l.a.prototype.UNSAFE_componentWillReceiveProps=function(e,t){var r=this;e=Ct({},e),this.props.dataKey&&this.props.dataKey===e.dataKey&&(e.data=this.props.data,e.columns=this.props.columns);return["pivotBy","sorted","filtered"].forEach((function(t){JSON.stringify(r.props[t])===JSON.stringify(e[t])&&(e[t]=r.props[t])})),this.props.searchable!==e.searchable&&(e.filtered=this.state.filtered.filter((function(e){return e.id!==r.props.searchKey}))),this.oldComponentWillReceiveProps(e,t)},l.a.prototype.oldFilterData=l.a.prototype.filterData,l.a.prototype.filterData=function(e,t,r,n){var a=n;if(this.props.searchable){var o=n.filter((function(e){return e.createMatcher})),i={id:this.props.searchKey,filterAll:!0,filterable:!0,filterMethod:function(e,t){if(!e.value)return t;var r=o.reduce((function(t,r){return t[r.id]=r.createMatcher(e.value),t}),{});return t=t.filter((function(e){if(e._subRows)return!0;var t,n=function(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=ut(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,l=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){l=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(l)throw o}}}}(o);try{for(n.s();!(t=n.n()).done;){var a=t.value,i=e._original[a.id];if(r[a.id](i))return!0}}catch(e){n.e(e)}finally{n.f()}}))}};a=a.concat(i)}if(this.props.crosstalkGroup){var l={id:this.props.crosstalkId,filterAll:!0,filterable:!0,filterMethod:function(e,t){return e.value?t=t.filter((function(t){return!!t._subRows||(!!e.value.includes(t._index)||void 0)})):t}};a=a.concat(l)}return this.oldFilterData(e,t,r,a)};var Vt,Jt,$t=function(e){var t=e.searchValue,r=e.onSearchChange,n=e.searchPlaceholder,l=e.searchLabel,s=e.searchClassName,u=dt(e,["searchValue","onSearchChange","searchPlaceholder","searchLabel","searchClassName"]),c=o.a.createElement("input",{type:"text",value:t,onChange:r,className:te("rt-search",s),placeholder:n,"aria-label":l});return o.a.createElement(a.Fragment,null,c,o.a.createElement(i.ReactTableDefaults.TableComponent,u))},qt=(Vt=l.a,(Jt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Re(e,t)}(i,e);var t,r,n,a=Ne(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),a.call(this,e)}return t=i,(r=[{key:"rowSelector",value:function(e){var t=this.props,r=t.isSelected,n=t.toggleSelection,a=t.selectType,i=t.SelectInputComponent,l=t.language,s=r(e.index),u={checked:s,onClick:n,selectType:a,row:e.row,label:s?l.deselectRowLabel:l.selectRowLabel};return o.a.createElement(i,u)}},{key:"subRowSelector",value:function(e){var t=this.props,r=t.isSelected,n=t.toggleAll,a=t.selectType,i=t.SelectInputComponent,l=t.language;if("radio"===a)return null;var s=e.subRows;if(!s||s.some((function(e){return e._aggregated})))return null;var u=s.every((function(e){return r(e._index)})),c={checked:u,onClick:n,selectType:a,rows:s,label:u?l.deselectAllSubRowsLabel:l.selectAllSubRowsLabel};return o.a.createElement(i,c)}},{key:"headSelector",value:function(e){var t=this.props,r=t.isSelected,n=t.selectType,a=t.toggleAll,i=t.SelectAllInputComponent,l=t.language;if("radio"===n)return null;var s=e.data;if(0===s.length||s.some((function(e){return e._aggregated})))return null;var u=s.every((function(e){return r(e._index)})),c={checked:u,onClick:a,selectType:n,rows:s,label:u?l.deselectAllRowsLabel:l.selectAllRowsLabel};return o.a.createElement(i,c)}},{key:"render",value:function(){var e=this,t=this.props,r=t.columns,n=t.selectWidth,a=t.forwardedRef,i=je(t,["columns","selectWidth","forwardedRef"]),l=this.props,s=l.isSelected,u=l.selectType,c=l.toggleAll,f=l.toggleSelection,d=l.selectId,p={},g=function e(t){var r,n=function(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=ke(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,l=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){l=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(l)throw o}}}}(t.entries());try{for(n.s();!(r=n.n()).done;){var a=Oe(r.value,2),o=a[0],i=a[1];if(i.id===d)return p=i,t[o]=Pe({},i),t[o];if(i.columns){var l=e(i.columns);if(l)return l}}}catch(e){n.e(e)}finally{n.f()}return null}(r);return g||(r=[g={}].concat(xe(r))),Object.assign(g,{id:d,accessor:function(){return""},Header:function(t){return e.headSelector.bind(e)(t)},Cell:function(t){return e.rowSelector.bind(e)(t)},Aggregated:function(t){return e.subRowSelector.bind(e)(t)},getProps:function(e,t,r){var n=p.getProps?p.getProps(e,t,r):{};if(!t)return n;if(r.pivoted&&t.aggregated)return n;if(t.aggregated){if("radio"===u)return n;var a=t.subRows;if(!a||a.some((function(e){return e._aggregated})))return n;n.onClick=function(){var e=a.map((function(e){return e._index})),t=e.every((function(e){return s(e)}));c(e,!t)}}else n.onClick=function(){f(t.index)};return n},getHeaderProps:function(e){var t={};if("radio"===u)return t;var r=e.sortedData;return!r||r.some((function(e){return e._aggregated}))||(t.onClick=function(){var e=r.map((function(e){return e._index})),t=e.every((function(e){return s(e)}));c(e,!t)}),t},selectable:!0,filterable:!1,sortable:!1,resizable:!1,className:te("rt-td-select",p.className),headerClassName:te("rt-td-select",p.headerClassName),width:p.width||n}),o.a.createElement(Vt,we({ref:a},i,{columns:r}))}}])&&Ee(t.prototype,r),n&&Ee(t,n),i}(o.a.Component)).displayName="RTSelectTable",Jt.defaultProps={selectType:"checkbox",selectWidth:36,selectId:".selection",SelectInputComponent:ze,SelectAllInputComponent:ze,language:q},o.a.forwardRef((function(e,t){return o.a.createElement(Jt,we({},e,{forwardedRef:t}))}))),Xt=function(e){mt(r,e);var t=yt(r);function r(){return pt(this,r),t.apply(this,arguments)}return ht(r,[{key:"componentDidMount",value:function(){window.Shiny&&window.Shiny.bindAll(this.el)}},{key:"componentWillUnmount",value:function(){window.Shiny&&window.Shiny.unbindAll(this.el)}},{key:"render",value:function(){var e=this,t=this.props,r=t.children,n=t.html,a={ref:function(t){return e.el=t}};return a=Ct(Ct({},a),{},n?{dangerouslySetInnerHTML:{__html:n}}:{children:r}),o.a.createElement("div",a)}}]),r}(o.a.Component),Yt=function(e){mt(r,e);var t=yt(r);function r(e){var n;return pt(this,r),(n=t.call(this,e)).state={selected:new Set(e.defaultSelected),expanded:e.defaultExpanded||{},data:null,dataKey:null},n.isSelected=n.isSelected.bind(wt(n)),n.toggleSelection=n.toggleSelection.bind(wt(n)),n.toggleSelectionAll=n.toggleSelectionAll.bind(wt(n)),n.setSelection=n.setSelection.bind(wt(n)),n.toggleExpand=n.toggleExpand.bind(wt(n)),n.toggleExpandAll=n.toggleExpandAll.bind(wt(n)),n.toggleCollapseAll=n.toggleCollapseAll.bind(wt(n)),n.isExpanded=n.isExpanded.bind(wt(n)),n.tableInstance=o.a.createRef(),n.tableElement=o.a.createRef(),n}return ht(r,[{key:"isSelected",value:function(e){return this.state.selected.has(e)}},{key:"toggleSelection",value:function(e){var t=new Set(this.state.selected);this.state.selected.has(e)?t.delete(e):("single"===this.props.selection&&t.clear(),t.add(e)),this.setState({selected:t},this.onSelectedChange)}},{key:"toggleSelectionAll",value:function(e,t){var r=new Set(this.state.selected);t?e.forEach((function(e){return r.add(e)})):e.forEach((function(e){return r.delete(e)})),this.setState({selected:r},this.onSelectedChange)}},{key:"setSelection",value:function(e){var t=this,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.setState({selected:new Set(e)},(function(){return t.onSelectedChange(r)}))}},{key:"onSelectedChange",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.props,r=t.selection,n=t.selectionId;if(r&&n&&window.Shiny){var a=st(this.state.selected).map((function(e){return e+1}));window.Shiny.onInputChange(n,a)}e&&this.updateCrosstalkSelection()}},{key:"updateCrosstalkSelection",value:function(){var e=this;if(this.ctSelection){var t=st(this.state.selected).map((function(t){return e.props.crosstalkKey[t]}));this.ctSelection.set(t)}}},{key:"toggleExpand",value:function(e,t){var r=Ct({},this.state.expanded);if(t){var n=ne(r,e.nestingPath);r=n&&n===t.id?ae(r,e.nestingPath,void 0):ae(r,e.nestingPath,t.id)}else{var a=ne(r,e.nestingPath);r=ae(r,e.nestingPath,a?void 0:{})}this.setState({expanded:r})}},{key:"isExpanded",value:function(e){var t=ne(this.state.expanded,e.nestingPath);return t&&t===e.column.id}},{key:"toggleExpandAll",value:function(){var e=this.tableInstance.current.state,t=e.columns,r=e.sortedData,n=t.find((function(e){return e.details})),a=function e(t){return t.reduce((function(t,r,a){return r._subRows?t[a]=e(r._subRows):t[a]=n?n.id:{},t}),{})}(r);this.setState({expanded:a})}},{key:"toggleCollapseAll",value:function(){this.setState({expanded:{}})}},{key:"getRowInfo",value:function(e){var t=this;return e&&this.props.selection?Ct({selected:e.subRows&&"multiple"===this.props.selection?e.subRows.every((function(e){return t.isSelected(e._index)})):this.isSelected(e.index)},e):e}},{key:"onTableUpdate",value:function(){if(window.Shiny&&window.Shiny.onInputChange&&!this.props.nested){var e=this.tableElement.current,t=this.tableInstance.current;if(!e||!t)return;var r=e.parentElement.getAttribute("data-reactable-output");if(!r)return;var n={page:t.state.page+1,pageSize:t.state.pageSize,pages:t.state.pages,selected:st(this.state.selected).map((function(e){return e+1}))};Object.keys(n).forEach((function(e){window.Shiny.onInputChange("".concat(r,"__reactable__").concat(e),n[e])}))}}},{key:"componentDidMount",value:function(){var e=this;if(this.state.selected.size>0&&this.onSelectedChange(),!0===this.state.expanded&&this.toggleExpandAll(),window.Shiny&&!this.props.nested){var t=this.tableElement.current.parentElement.getAttribute("data-reactable-output");if(t){window.Shiny.addCustomMessageHandler("__reactable__".concat(t),(function(t){null!=t.data&&e.setState({data:t.data,dataKey:t.dataKey}),null!=t.selected&&e.setSelection(t.selected),null!=t.page&&e.tableInstance.current.onPageChange(t.page),null!=t.expanded&&(t.expanded?e.toggleExpandAll():e.toggleCollapseAll())}))}}this.onTableUpdate();var r=this.props.crosstalkGroup;if(r&&window.crosstalk){this.ctSelection=new window.crosstalk.SelectionHandle(r),this.ctFilter=new window.crosstalk.FilterHandle(r),this.ctSelected=this.ctSelection.value,this.ctFiltered=this.ctFilter.filteredKeys;var n=(this.props.crosstalkKey||[]).reduce((function(e,t,r){return e[t]=r,e}),{}),a=this.tableInstance.current,o={id:a.props.crosstalkId},i=function(){var t,r=e.ctSelected&&e.ctSelected.length>0?e.ctSelected:null,i=e.ctFiltered,l=(t=r||i?r?i?r.filter((function(e){return i.includes(e)})):r:i:null)?t.map((function(e){return n[e]})):null;a.filterColumn(o,l)},l=function(t){e.ctSelected!==t&&(e.ctSelected=t,i())};this.ctSelection.on("change",(function(t){t.sender!==e.ctSelection?(l(t.value),e.setSelection([],!1)):l(null)})),this.ctFilter.on("change",(function(t){var r;t.sender!==e.ctFilter&&(r=t.value,e.ctFiltered!==r&&(e.ctFiltered=r,i()))})),i(),this.props.defaultSelected&&this.updateCrosstalkSelection()}}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.defaultSelected,n=t.defaultExpanded;if(e.defaultSelected!==r&&this.setSelection(r),e.defaultExpanded!==n)if(!0===n)this.toggleExpandAll();else{var a=n||{};this.setState({expanded:a})}}},{key:"componentWillUnmount",value:function(){this.ctSelection&&this.ctSelection.close(),this.ctFilter&&this.ctFilter.close()}},{key:"render",value:function(){var e=this,t=this.props,s=t.data,u=t.columns,c=t.columnGroups,f=t.pivotBy,d=t.sortable,p=t.resizable,g=t.filterable,h=t.searchable,m=t.defaultSortDesc,b=t.defaultSorted,y=t.defaultPageSize,v=t.pageSizeOptions,w=t.paginationType,x=t.showPagination,S=t.showPageSizeOptions,P=t.showPageInfo,C=t.minRows,O=t.selection,k=t.onClick,T=t.outlined,j=t.bordered,E=t.borderless,R=t.striped,N=t.highlight,A=t.compact,D=t.nowrap,z=t.showSortIcon,_=t.showSortable,F=t.className,M=t.style,I=t.rowClassName,L=t.rowStyle,W=t.inline,K=t.width,B=t.height,H=t.language,G=t.crosstalkGroup,V=t.crosstalkKey,$=t.dataKey,X=t.theme;for(var Y in F=te(F,J((X=U(X)||{}).style)),H=Ct(Ct({},q),H))H[Y]=H[Y]||null;s=function(e){for(var t=Object.keys(e),r=new Array(e[t[0]].length),n=0;n2&&void 0!==arguments[2]?arguments[2]:{},l=r.sortable,s=r.showSortIcon,u=r.showSortable,c=r.isExpanded,f=r.onExpanderClick,d=r.theme,p=r.language;return e=e.map((function(e){var t=Qe({},e);if(t.id=t.accessor,t.accessor.includes(".")&&(t.accessor=function(e){return e[t.id]}),"string"==typeof t.aggregate&&Je[t.aggregate]){var r=t.aggregate;t.aggregate=Je[r]}t.sortMethod=at({type:t.type,naLast:t.sortNALast}),t.filterAll=!0,"numeric"===t.type?t.createMatcher=it:t.createMatcher=lt,t.filterMethod=function(e,r){var n=e.id,a=t.createMatcher(e.value);return r.filter((function(e){var t=e[n];return void 0===t||(!!e._subRows||a(t))}))},"numeric"===t.type?t.align=t.align||"right":t.align=t.align||"left",t.Cell=function(e){var r,l,s=e.value,u=null==s||"numeric"===t.type&&Ye(s);return u&&(s=t.na),!u&&t.format&&t.format.cell&&(s=ot(s,t.format.cell)),t.cell&&("function"==typeof t.cell&&(s=t.cell(Qe(Qe({},e),{},{value:s}))),t.cell instanceof Array&&!e.aggregated&&(s=t.cell[e.index])&&(s=Object(n.hydrate)({Fragment:a.Fragment,WidgetContainer:Be},t.cell[e.index]))),null!=s&&""!==s||(s="​"),r=o.a.isValidElement(s)?s:t.html?o.a.createElement("div",{style:{display:"inline"},dangerouslySetInnerHTML:{__html:s}}):String(s),t.details&&(t.details instanceof Array&&null==t.details[e.index]||(l=i.ReactTableDefaults.ExpanderComponent(Qe(Qe({},e),{},{isExpanded:c(e)})))),l?o.a.createElement(o.a.Fragment,null,l,r):r},t.PivotValue=function(e){var r=t.Cell(e);return o.a.createElement("span",null,r," ",e.subRows&&"(".concat(e.subRows.length,")"))},t.Aggregated=function(e){var r=null!=e.value?e.value:"";return t.format&&t.format.aggregated&&(r=ot(r,t.format.aggregated)),t.aggregated&&(r=t.aggregated(Qe(Qe({},e),{},{value:r}))),t.html?o.a.createElement("div",{dangerouslySetInnerHTML:{__html:r}}):r},t.Header=function(e){var r,i=t.name;if(t.header&&(i="function"==typeof t.header?t.header(e):Object(n.hydrate)({Fragment:a.Fragment,WidgetContainer:Be},t.header)),r=o.a.isValidElement(i)?o.a.createElement("div",{className:"rt-th-content"},i):t.html?o.a.createElement("div",{className:"rt-th-content",dangerouslySetInnerHTML:{__html:i}}):o.a.createElement("span",{className:"rt-th-content"},null!=i?String(i):""),re(t.sortable,l)&&s){var c=u?"rt-sort":"";return"right"===t.align?o.a.createElement("div",{className:"rt-sort-header"},o.a.createElement("span",{className:te(c,"rt-sort-left"),"aria-hidden":"true"}),r):o.a.createElement("div",{className:"rt-sort-header"},r,o.a.createElement("span",{className:te(c,"rt-sort-right"),"aria-hidden":"true"}))}return r},t.footer&&(t.Footer=function(e){var r;return r="function"==typeof t.footer?t.footer(e):Object(n.hydrate)({Fragment:a.Fragment,WidgetContainer:Be},t.footer),o.a.isValidElement(r)?r:t.html?o.a.createElement("div",{dangerouslySetInnerHTML:{__html:r}}):null!=r?String(r):""});var g="rt-align-".concat(t.align);t.headerClassName=te(g,t.headerClassName),t.footerClassName=te(g,t.footerClassName);var h=t.className,m=t.style;return t.className=void 0,t.style=void 0,t.getProps=function(e,t,r){var n,a,o={};if(!t)return o;(n="function"==typeof h?h(t,r,e):h instanceof Array?h[t.index]:h,o.className=te(g,n),m)&&((a="function"==typeof m?m(t,r,e):m instanceof Array?m[t.index]:m)&&(o.style=a));return r.details&&(r.details instanceof Array&&null==r.details[t.index]||t.aggregated||(o.className=te("rt-expandable",o.className),null==t.row[r.id]&&(o.style=Qe(Qe({},o.style),{},{textOverflow:"inherit"})),o.onClick=function(e,n){f(t,r),n&&n()})),o},t.theme=d,t.language=p,t})),t&&(e=nt(e,t)).forEach((function(e){(null!=e.name||e.header)&&(e.Header=function(t){var r=e.name;return e.header&&(r="function"==typeof e.header?e.header(t):Object(n.hydrate)({Fragment:a.Fragment,WidgetContainer:Be},e.header)),o.a.isValidElement(r)?r:e.html?o.a.createElement("div",{dangerouslySetInnerHTML:{__html:r}}):null!=r?String(r):""}),e.align=e.align||"center",e.headerClassName=te("rt-align-".concat(e.align),e.headerClassName)})),e}(u,c,{sortable:d,showSortIcon:z,showSortable:_,isExpanded:this.isExpanded,onExpanderClick:this.toggleExpand,theme:X,language:H}),null!=C&&(C=Math.max(C,1)),F=te(F,T?"rt-outlined":"",j?"rt-bordered":"",E?"rt-borderless":"",A?"rt-compact":"",W?" rt-inline":"",D?"rt-nowrap":""),M=Ct({width:K,height:B},M);var Z=l.a,Q={};O&&(Z=qt,Q={isSelected:this.isSelected,toggleSelection:this.toggleSelection,toggleAll:this.toggleSelectionAll,selectType:"multiple"===O?"checkbox":"radio"});var ee=null==x,ae=zt;(R||N||O||I||L)&&(ae=function(t,r){r=e.getRowInfo(r);var n,a=zt(t,r);(R&&r&&(a.className=te(a.className,r.viewIndex%2?null:"rt-tr-striped")),N&&r&&(a.className=te(a.className,"rt-tr-highlight")),r&&r.selected&&(a.className=te(a.className,"rt-tr-selected")),I)&&(n="function"==typeof I?I(r,t):I instanceof Array?r&&I[r.index]:I,a.className=te(a.className,n));return L&&(a.style="function"==typeof L?L(r,t):L instanceof Array?r&&L[r.index]:L),a});var oe,ie=u.reduce((function(e,t){return e.concat(t.columns?t.columns:t)}),[]);ie.some((function(e){return e.details}))?(oe=function(t){var i=ne(e.state.expanded,t.nestingPath),l=ie.find((function(e){return e.id===i}));if(!l)return null;var s=l.details,u=l.html,c={};if("function"==typeof s){var f=s(e.getRowInfo(t));u&&(c.html=f),c.children=f}else if(s instanceof Array){var d=s[t.index];if(null==d)return null;u&&(c.html=d),c.children=Object(n.hydrate)({Reactable:r,Fragment:a.Fragment,WidgetContainer:Be},d)}return o.a.createElement(Xt,St({key:"".concat(i,"-").concat(t.index)},c))},u=[{expander:!0,show:!1}].concat(st(u))):oe=null;var le,se=function(){Object.keys(e.state.expanded).length>0&&e.setState({expanded:{}})},ue=_t;k&&("select"===k?k=function(t,r){if(t&&(!r.pivoted||!t.aggregated))if(t.aggregated){if("single"===O)return;var n=t.subRows;if(!n||n.some((function(e){return e._aggregated})))return null;var a=n.map((function(e){return e._index})),o=a.every((function(t){return e.isSelected(t)}));e.toggleSelectionAll(a,!o)}else e.toggleSelection(t.index)}:"expand"===k&&(k=function(t,r){if(t){var n=ie.find((function(e){return e.details}));if(t.aggregated)r.pivoted||e.toggleExpand(t);else if(n){var a=n.details;if(a instanceof Array&&null==a[t.index])return;e.toggleExpand(t,n)}}}),ue=function(e,t,r){return Ct(Ct({},_t(e,t)),{},{onClick:function(n,a){k(t,r,e),a&&a()}})});var ce=kt;return h&&(le=$t,ce=function(e,t,r,n){var a=e.filtered.find((function(t){return t.id===e.searchKey})),o=a?a.value:"";return Ct(Ct({},kt(e)),{},{searchValue:o,onSearchChange:function(t){n.filterColumn({id:e.searchKey},t.target.value)},searchPlaceholder:e.language.searchPlaceholder,searchLabel:e.language.searchLabel,searchClassName:J(e.theme.searchInputStyle)})}),o.a.createElement(Z,St({data:s,columns:u,pivotBy:f||[],sortable:d,resizable:p,filterable:g,searchable:h,searchKey:"__search__",defaultSortDesc:m,defaultSorted:b,defaultPageSize:y,pageSizeOptions:v,showPagination:x,showPageSizeOptions:S,PaginationComponent:ye,paginationType:w,autoHidePagination:ee,showPageInfo:P,minRows:C,collapseOnSortingChange:!0,collapseOnPageChange:!0,collapseOnDataChange:!1,className:F,style:M,expanded:this.state.expanded,onExpandedChange:function(t){e.setState({expanded:t})},onPageChange:se,onSortedChange:se,getTableProps:ce,getTheadGroupTrProps:Et,getTheadGroupThProps:jt,getTheadTrProps:Rt,getTheadThProps:Tt,getTheadFilterTrProps:Nt,getTheadFilterThProps:At,getTbodyProps:Bt,getTrGroupProps:Dt,getTrProps:ae,getTdProps:ue,getTfootTrProps:Ft,getTfootTdProps:Mt,TableComponent:le,SubComponent:oe},Q,{theme:X,language:H,crosstalkGroup:G,crosstalkKey:V,crosstalkId:"__crosstalk__",key:"".concat(y),dataKey:this.state.dataKey||$,ref:this.tableInstance,getProps:function(){return e.onTableUpdate(),{ref:e.tableElement,onMouseDown:function(){e.tableElement.current.classList.remove("rt-keyboard-active")},onKeyDown:function(){e.tableElement.current.classList.add("rt-keyboard-active")},onKeyUp:function(t){9===(t.which||t.keyCode)&&e.tableElement.current.classList.add("rt-keyboard-active")}}}}))}}]),r}(o.a.Component);Yt.defaultProps={sortable:!0,resizable:!1,showPageSizeOptions:!1,showSortIcon:!0};var Zt=Yt;Object(n.reactWidget)("reactable","output",{Reactable:Zt})}]); //# sourceMappingURL=reactable.js.map \ No newline at end of file diff --git a/inst/htmlwidgets/reactable.js.map b/inst/htmlwidgets/reactable.js.map index aa4172e0..f6fb81d1 100644 --- a/inst/htmlwidgets/reactable.js.map +++ b/inst/htmlwidgets/reactable.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/prop-types/index.js","webpack:///external \"window.React\"","webpack:///./node_modules/@glin/react-table/lib/index.js","webpack:///external \"window.reactR\"","webpack:///./node_modules/classnames/index.js","webpack:///./node_modules/@glin/react-table/lib/utils.js","webpack:///./node_modules/css-loader/dist/runtime/api.js","webpack:///./node_modules/style-loader/lib/addStyles.js","webpack:///./node_modules/@glin/react-table/lib/lifecycle.js","webpack:///./node_modules/@glin/react-table/lib/methods.js","webpack:///./node_modules/@glin/react-table/lib/defaultProps.js","webpack:///./node_modules/@glin/react-table/lib/pagination.js","webpack:///./node_modules/@glin/react-table/lib/propTypes.js","webpack:///./node_modules/prop-types/factoryWithThrowingShims.js","webpack:///./node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack:///./srcjs/react-table.css?353b","webpack:///./srcjs/react-table.css","webpack:///./node_modules/style-loader/lib/urls.js","webpack:///./srcjs/reactable.css?2a07","webpack:///./srcjs/reactable.css","webpack:///./srcjs/propTypes.js","webpack:///./node_modules/@emotion/sheet/dist/sheet.browser.esm.js","webpack:///./node_modules/@emotion/stylis/dist/stylis.browser.esm.js","webpack:///./node_modules/@emotion/cache/dist/cache.browser.esm.js","webpack:///./node_modules/@emotion/hash/dist/hash.browser.esm.js","webpack:///./node_modules/@emotion/unitless/dist/unitless.browser.esm.js","webpack:///./node_modules/@emotion/memoize/dist/memoize.browser.esm.js","webpack:///./node_modules/@emotion/serialize/dist/serialize.browser.esm.js","webpack:///./node_modules/@emotion/utils/dist/utils.browser.esm.js","webpack:///./node_modules/create-emotion/dist/create-emotion.browser.esm.js","webpack:///./node_modules/emotion/dist/emotion.esm.js","webpack:///./srcjs/theme.js","webpack:///./srcjs/language.js","webpack:///./srcjs/utils.js","webpack:///./srcjs/Pagination.js","webpack:///./srcjs/selectTable.js","webpack:///./srcjs/WidgetContainer.js","webpack:///./srcjs/aggregators.js","webpack:///./srcjs/columns.js","webpack:///./srcjs/Reactable.js","webpack:///./srcjs/index.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","window","React","ReactTableDefaults","undefined","_slicedToArray","arr","Array","isArray","iterator","_arr","_n","_d","_e","_s","_i","next","done","push","length","err","sliceIterator","TypeError","_extends","assign","target","arguments","source","_createClass","defineProperties","props","descriptor","configurable","writable","Constructor","protoProps","staticProps","_react","_react2","_interopRequireDefault","_classnames2","_utils2","_lifecycle2","_methods2","_defaultProps2","_propTypes2","obj","default","ReactTable","_Methods","instance","_classCallCheck","this","_this","self","ReferenceError","_possibleConstructorReturn","__proto__","getPrototypeOf","getResolvedState","getDataModel","getSortedData","fireFetchData","getPropOrState","getStateOrProp","filterData","sortData","getMinRows","onPageChange","onPageSizeChange","sortColumn","filterColumn","resizeColumnStart","resizeColumnEnd","resizeColumnMoving","state","page","pageSize","defaultPageSize","sorted","defaultSorted","expanded","defaultExpanded","filtered","defaultFiltered","resized","defaultResized","currentlyResizing","skipNextSort","subClass","superClass","constructor","setPrototypeOf","_inherits","_this2","resolvedState","children","className","style","getProps","getTableProps","getTheadGroupProps","getTheadGroupTrProps","getTheadGroupThProps","getTheadProps","getTheadTrProps","getTheadThProps","getTheadFilterProps","getTheadFilterTrProps","getTheadFilterThProps","getTbodyProps","getTrGroupProps","getTrProps","getTdProps","getTfootProps","getTfootTrProps","getTfootTdProps","getPaginationProps","getLoadingProps","getNoDataProps","getResizerProps","showPagination","showPaginationTop","showPaginationBottom","manual","loadingText","noDataText","sortable","resizable","filterable","pivotIDKey","pivotValKey","pivotBy","subRowsKey","aggregatedKey","originalKey","indexKey","groupedByPivotKey","loading","pages","onExpandedChange","TableComponent","TheadComponent","TbodyComponent","TrGroupComponent","TrComponent","ThComponent","TdComponent","TfootComponent","PaginationComponent","LoadingComponent","SubComponent","NoDataComponent","ResizerComponent","ExpanderComponent","PivotValueComponent","PivotComponent","AggregatedComponent","FilterComponent","PadRowComponent","resolvedData","allVisibleColumns","headerGroups","hasHeaderGroups","sortedData","startRow","endRow","pageRows","slice","minRows","padRows","range","Math","max","hasColumnFooter","some","Footer","hasFilters","_recurseRowsViewIndex3","recurseRowsViewIndex","rows","path","index","map","row","rowWithViewIndex","_viewIndex","newPath","concat","_recurseRowsViewIndex","_recurseRowsViewIndex2","_recurseRowsViewIndex4","canPrevious","canNext","rowMinWidth","sum","resizedColumn","find","x","id","getFirstDefined","width","minWidth","rowIndex","finalState","makeHeaderGroup","column","resizedValue","col","flex","columns","maxWidth","theadGroupThProps","splitProps","columnHeaderProps","getHeaderProps","classes","headerClassName","styles","headerStyle","rest","flexStyles","asPx","createElement","normalizeComponent","Header","data","makeHeader","resizedCol","show","theadThProps","isResizable","resizer","onMouseDown","e","onTouchStart","resizerProps","isSortable","content","includes","toggleSort","shiftKey","makeFilter","theadFilterThProps","filter","ResolvedFilterComponent","Filter","isFilterable","onChange","makePadRow","trGroupProps","trProps","makePadColumn","tdProps","columnProps","makeColumnFooter","tFootTdProps","columnFooterProps","getFooterProps","footerClassName","footerStyle","rootProps","tableProps","tBodyProps","loadingProps","noDataProps","makeTable","paginationProps","tFootProps","tFootTrProps","theadFilterProps","theadFilterTrProps","theadProps","theadTrProps","theadGroupProps","theadGroupTrProps","pagination","makePageRow","rowInfo","original","viewIndex","level","nestingPath","aggregated","groupedByPivot","subRows","isExpanded","join","i2","cellInfo","pivoted","expander","useOnExpanderClick","isBranch","isPreview","resolvedCell","Cell","ResolvedAggregatedComponent","Aggregated","aggregate","ResolvedExpanderComponent","Expander","ResolvedPivotValueComponent","PivotValue","DefaultResolvedPivotComponent","ResolvedPivotComponent","Pivot","expandable","indexOf","resolvedOnExpanderClick","newExpanded","clone","set","setStateWithData","interactionProps","onClick","Component","propTypes","defaultProps","reactR","hasOwn","classNames","arg","argType","inner","apply","_objectWithoutProperties","keys","a","makePathArray","flattenDeep","newArr","replace","split","def","pathObj","val","reduce","current","pathPart","keyPart","cursor","shift","takeRight","start","last","orderBy","funcs","dirs","sort","rowA","rowB","comp","desc","sortInt","remove","b","splice","JSON","parse","stringify","toString","_len","args","_key","makeTemplateComponent","compClass","displayName","Error","cmp","_ref","groupBy","xs","rv","resKey","_ref2","compactObject","newObj","isSortingDesc","asc","Comp","params","fallback","isReactComponent","Number","isNaN","useSourceMap","list","item","cssMapping","btoa","sourceMapping","sourceMap","unescape","encodeURIComponent","sourceURLs","sources","sourceRoot","cssWithMappingToString","mediaQuery","alreadyImportedModules","fn","memo","stylesInDom","isOldIE","document","all","atob","getTarget","parent","querySelector","getElement","styleTarget","HTMLIFrameElement","contentDocument","head","singleton","singletonCounter","stylesInsertedAtTop","fixUrls","addStylesToDom","options","domStyle","refs","j","parts","addStyle","listToStyles","newStyles","base","part","css","media","insertStyleElement","insertInto","lastStyleElementInsertedAtTop","insertAt","nextSibling","insertBefore","appendChild","firstChild","before","removeStyleElement","parentNode","removeChild","idx","createStyleElement","attrs","type","nonce","getNonce","addAttrs","el","forEach","setAttribute","update","result","transform","styleIndex","applyToSingletonTag","URL","createObjectURL","revokeObjectURL","Blob","link","rel","createLinkElement","updateLink","href","applyToTag","DEBUG","newList","mayRemove","textStore","replaceText","replacement","Boolean","styleSheet","cssText","cssNode","createTextNode","childNodes","autoFixUrls","convertToAbsoluteUrls","blob","oldSrc","Base","_Base","_class","nextProps","nextState","oldState","newState","defaultName","charAt","toUpperCase","optionName","cb","newResolvedState","freezeWhenExpanded","frozen","showFilters","collapseOnSortingChange","collapseOnDataChange","ceil","setState","_typeof","_defineProperty","_toConsumableArray","arr2","from","_newState$pivotBy","nestingLevelKey","columnsWithExpander","expanderColumn","col2","decorateAndAddToAll","parentColumn","decoratedColumn","dcol","expanderDefaults","accessor","_ret","accessorString","v","console","warn","makeDecoratedColumn","allDecoratedColumns","visibleColumns","pivotIndex","visibleSubColumns","findIndex","pivot","pivotColumns","pivotID","found","PivotParentColumn","prev","PivotGroupHeader","pivotColumnGroup","pivotDefaults","unshift","currentSpan","addHeader","accessRow","_row","aggregationValues","aggregatingColumns","values","groupRecursively","groupedRows","entries","_ref3","rowGroup","_extends2","defaultFilterMethod","sortMethodsByColumnID","sortMethod","onFetchData","_this3","filteredData","filteredSoFar","nextFilter","filterMethod","filterAll","_this4","orderByMethod","defaultSortMethod","_props","collapseOnPageChange","newPageSize","_getResolvedState","currentRow","newPage","floor","additive","_getResolvedState2","defaultSortDesc","firstSortDirection","secondSortDirection","onSortedChange","newSorted","existingIndex","existing","onFilteredChange","newFiltering","event","isTouch","_this5","stopPropagation","parentWidth","parentElement","getBoundingClientRect","pageX","changedTouches","trapEvents","startX","addEventListener","onResizedChange","_getResolvedState4","newResized","newWidth","removeEventListener","_pagination2","emptyObj","showPageSizeOptions","pageSizeOptions","showPageJump","pivotId","String","startsWith","toLowerCase","previousText","nextText","pageText","ofText","rowsText","_onChange","_ref4","_ref5","previewValues","PreviousComponent","NextComponent","_ref6","defaultButton","ReactTablePagination","_Component","getSafePage","changePage","applyPage","min","preventDefault","_props$PreviousCompon","_props$NextComponent","paginationStyle","disabled","onBlur","onKeyPress","which","keyCode","option","_propTypes","array","bool","number","func","string","shape","oneOfType","element","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","shim","propName","componentName","location","propFullName","secret","getShim","isRequired","ReactPropTypes","symbol","any","arrayOf","elementType","instanceOf","node","objectOf","oneOf","exact","checkPropTypes","PropTypes","locals","baseUrl","protocol","host","currentDir","pathname","fullMatch","origUrl","newUrl","unquotedOrigUrl","trim","$1","test","minResizeWidth","pageJumpText","rowsSelectorText","StyleSheet","isSpeedy","speedy","tags","ctr","container","_proto","insert","rule","_tag","tag","sheet","styleSheets","ownerNode","sheetForTag","isImportRule","charCodeAt","insertRule","cssRules","flush","W","X","h","ia","Z","F","P","substring","w","L","ja","ka","aa","G","ba","la","ma","R","na","ea","oa","H","q","g","A","S","B","U","prefix","D","z","M","k","y","C","K","u","I","J","f","N","ca","O","da","fa","Y","E","ha","Q","use","T","toSheet","block","Sheet","ruleSheet","context","selectors","parents","line","depth","at","delimiter","stylisOptions","stylis","inserted","_insert","nodes","querySelectorAll","getAttribute","stylisPlugins","selector","serialized","shouldCache","cache","registered","str","len","animationIterationCount","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","msGridRow","msGridRowSpan","msGridColumn","msGridColumnSpan","fontWeight","lineHeight","opacity","order","orphans","tabSize","widows","zIndex","zoom","WebkitLineClamp","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","hyphenateRegex","animationRegex","isCustomProperty","isProcessableValue","processStyleName","styleName","match","p1","p2","handleInterpolation","mergedProps","interpolation","couldBeSelectorInterpolation","__emotion_styles","anim","interpolated","createStringFromObject","previousCursor","cached","labelPattern","stringMode","strings","raw","lastIndex","identifierName","exec","getRegisteredStyles","registeredStyles","rawClassName","insertStyles","isStringTag","insertWithoutScoping","merge","classnames","cls","toAdd","_createEmotion","compat","cx","_len4","_key4","injectGlobal","_len3","_key3","keyframes","_len2","_key2","animation","hydrate","ids","createTheme","color","backgroundColor","borderColor","borderWidth","stripedColor","highlightColor","cellPadding","tableBorderColor","tableBorderWidth","tableStyle","headerBorderColor","headerBorderWidth","groupHeaderBorderColor","groupHeaderBorderWidth","groupHeaderStyle","tableBodyStyle","rowGroupStyle","rowStyle","rowStripedStyle","rowHighlightStyle","rowSelectedStyle","cellBorderColor","cellBorderWidth","cellStyle","footerBorderColor","footerBorderWidth","inputStyle","filterInputStyle","searchInputStyle","selectStyle","pageButtonStyle","pageButtonHoverStyle","pageButtonActiveStyle","pageButtonCurrentStyle","expanderColor","getFirstDefinedProp","selectColor","padding","height","filterCellStyle","expanderStyle","borderTopColor","borderTopWidth","backgroundImage","removeEmptyProps","objects","prop","defaultVal","emotionCss","defaultLanguage","sortLabel","filterPlaceholder","filterLabel","searchPlaceholder","searchLabel","noData","pageNext","pagePrevious","pageNumbers","pageInfo","fromCharCode","pageNextLabel","pagePreviousLabel","pageNumberLabel","pageJumpLabel","pageSizeOptionsLabel","defaultGroupHeader","detailsExpandLabel","detailsCollapseLabel","selectAllRowsLabel","deselectAllRowsLabel","selectAllSubRowsLabel","deselectAllSubRowsLabel","selectRowLabel","deselectRowLabel","renderTemplate","template","separator","RegExp","templateParams","rendered","subObj","escapeRegExp","PageButton","isCurrent","Pagination","pageJumpValue","prevPage","currentPage","language","rowStart","rowEnd","aria-label","elements","inputType","nearestValidPage","autoHidePagination","paginationType","showPageInfo","theme","minPageSize","renderPageInfo","renderPageSizeOptions","visiblePages","totalPages","_","getVisiblePages","pageButtons","pageButton","aria-current","role","renderPageJump","getPageJumpProperties","prevButton","aria-disabled","nextButton","DefaultSelectInputComponent","selectType","checked","label","indices","_index","WidgetContainer","staticRender","HTMLWidgets","throttled","lastCall","setTimeout","toNumbers","round","mean","aggregators","median","count","unique","Set","frequency","counts","digits","isFinite","pow","sign","abs","normalizeNumber","isNA","Infinity","addColumnGroups","groups","group","groupIds","newCols","lastGroup","createCompareFunction","naLast","formatValue","suffix","separators","percent","currency","datetime","date","time","hour12","locales","useGrouping","minimumFractionDigits","maximumFractionDigits","toLocaleString","Date","toLocaleDateString","toLocaleTimeString","createStartsWithMatcher","regex","createSubstringMatcher","selectable","currentSortOrder","defaultSortOrder","isResizing","isSorted","HeaderPivoted","DefaultTheadComponent","DefaultTfootComponent","DefaultThComponent","showFocus","clicked","originalToggleSort","detail","onFocus","tabIndex","DefaultTbodyComponent","DefaultNoDataComponent","placeholder","aria-hidden","DefaultLoadingComponent","fixedReactTablePropTypes","oldComponentWillReceiveProps","UNSAFE_componentWillReceiveProps","newProps","dataKey","searchable","searchKey","oldFilterData","filterColumns","searchableColumns","createMatcher","searchColumn","matchers","_subRows","_original","crosstalkGroup","ctColumn","crosstalkId","RTSelectTable","SearchTableComponent","searchValue","onSearchChange","searchClassName","searchInput","SelectTable","isSelected","toggleSelection","SelectInputComponent","inputProps","toggleAll","_aggregated","every","SelectAllInputComponent","selectWidth","forwardedRef","selectId","origSelectCol","selectCol","findSelectionCol","headSelector","rowSelector","subRowSelector","ref","forwardRef","RowDetails","Shiny","bindAll","unbindAll","html","dangerouslySetInnerHTML","__html","Reactable","selected","defaultSelected","toggleSelectionAll","setSelection","toggleExpand","toggleExpandAll","toggleCollapseAll","tableInstance","createRef","tableElement","has","delete","selection","clear","add","onSelectedChange","updateCrosstalk","selectionId","onInputChange","updateCrosstalkSelection","ctSelection","crosstalkKey","expandedId","firstDetailsColumn","details","dataToExpandedObj","nested","outputId","size","addCustomMessageHandler","onTableUpdate","crosstalk","SelectionHandle","ctFilter","FilterHandle","ctSelected","ctFiltered","filteredKeys","rowByKey","applyCrosstalkFilter","selectedKeys","filteredRows","setCrosstalkSelection","on","sender","prevProps","close","columnGroups","outlined","bordered","borderless","striped","highlight","compact","nowrap","showSortIcon","showSortable","rowClassName","inline","names","columnsToRows","onExpanderClick","sortNALast","align","isMissingValue","format","cell","Fragment","isValidElement","display","colInfo","header","sortClass","footer","colAlignClass","cellClass","textOverflow","handleOriginal","buildColumnDefs","Table","selectProps","newGetTrProps","getRowInfo","rowCls","dataColumns","cols","collapseExpanded","newGetTdProps","firstDetailsCol","newGetTableProps","classList","onKeyDown","onKeyUp","reactWidget"],"mappings":"aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QAKfF,EAAoBQ,EA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AAa/xB,QAAQg3B,UAAU5E,IAAI,uBAE1C8E,QAAS,SAAA19B,GAGS,KADAA,EAAEqZ,OAASrZ,EAAEsZ,UAE3B,EAAKif,aAAa/xB,QAAQg3B,UAAU5E,IAAI,gC,GAppBhCpnC,IAAM0T,WA6sB9B2yB,GAAUzyB,aAAe,CACvB/L,UAAU,EACVC,WAAW,EACX8d,qBAAqB,EACrBikB,cAAc,GAGDxD,UC/qCf8F,sBAAY,YAAa,SAAU,CACjC9F","file":"reactable.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 20);\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","module.exports = window.React;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ReactTableDefaults = undefined;\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _utils = require('./utils');\n\nvar _utils2 = _interopRequireDefault(_utils);\n\nvar _lifecycle = require('./lifecycle');\n\nvar _lifecycle2 = _interopRequireDefault(_lifecycle);\n\nvar _methods = require('./methods');\n\nvar _methods2 = _interopRequireDefault(_methods);\n\nvar _defaultProps = require('./defaultProps');\n\nvar _defaultProps2 = _interopRequireDefault(_defaultProps);\n\nvar _propTypes = require('./propTypes');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n//\n\n\nvar ReactTableDefaults = exports.ReactTableDefaults = _defaultProps2.default;\n\nvar ReactTable = function (_Methods) {\n _inherits(ReactTable, _Methods);\n\n function ReactTable(props) {\n _classCallCheck(this, ReactTable);\n\n var _this = _possibleConstructorReturn(this, (ReactTable.__proto__ || Object.getPrototypeOf(ReactTable)).call(this));\n\n _this.getResolvedState = _this.getResolvedState.bind(_this);\n _this.getDataModel = _this.getDataModel.bind(_this);\n _this.getSortedData = _this.getSortedData.bind(_this);\n _this.fireFetchData = _this.fireFetchData.bind(_this);\n _this.getPropOrState = _this.getPropOrState.bind(_this);\n _this.getStateOrProp = _this.getStateOrProp.bind(_this);\n _this.filterData = _this.filterData.bind(_this);\n _this.sortData = _this.sortData.bind(_this);\n _this.getMinRows = _this.getMinRows.bind(_this);\n _this.onPageChange = _this.onPageChange.bind(_this);\n _this.onPageSizeChange = _this.onPageSizeChange.bind(_this);\n _this.sortColumn = _this.sortColumn.bind(_this);\n _this.filterColumn = _this.filterColumn.bind(_this);\n _this.resizeColumnStart = _this.resizeColumnStart.bind(_this);\n _this.resizeColumnEnd = _this.resizeColumnEnd.bind(_this);\n _this.resizeColumnMoving = _this.resizeColumnMoving.bind(_this);\n\n _this.state = {\n page: 0,\n pageSize: props.defaultPageSize,\n sorted: props.defaultSorted,\n expanded: props.defaultExpanded,\n filtered: props.defaultFiltered,\n resized: props.defaultResized,\n currentlyResizing: false,\n skipNextSort: false\n };\n return _this;\n }\n\n _createClass(ReactTable, [{\n key: 'render',\n value: function render() {\n var _this2 = this;\n\n var resolvedState = this.getResolvedState();\n var children = resolvedState.children,\n className = resolvedState.className,\n style = resolvedState.style,\n getProps = resolvedState.getProps,\n getTableProps = resolvedState.getTableProps,\n getTheadGroupProps = resolvedState.getTheadGroupProps,\n getTheadGroupTrProps = resolvedState.getTheadGroupTrProps,\n getTheadGroupThProps = resolvedState.getTheadGroupThProps,\n getTheadProps = resolvedState.getTheadProps,\n getTheadTrProps = resolvedState.getTheadTrProps,\n getTheadThProps = resolvedState.getTheadThProps,\n getTheadFilterProps = resolvedState.getTheadFilterProps,\n getTheadFilterTrProps = resolvedState.getTheadFilterTrProps,\n getTheadFilterThProps = resolvedState.getTheadFilterThProps,\n getTbodyProps = resolvedState.getTbodyProps,\n getTrGroupProps = resolvedState.getTrGroupProps,\n getTrProps = resolvedState.getTrProps,\n getTdProps = resolvedState.getTdProps,\n getTfootProps = resolvedState.getTfootProps,\n getTfootTrProps = resolvedState.getTfootTrProps,\n getTfootTdProps = resolvedState.getTfootTdProps,\n getPaginationProps = resolvedState.getPaginationProps,\n getLoadingProps = resolvedState.getLoadingProps,\n getNoDataProps = resolvedState.getNoDataProps,\n getResizerProps = resolvedState.getResizerProps,\n showPagination = resolvedState.showPagination,\n showPaginationTop = resolvedState.showPaginationTop,\n showPaginationBottom = resolvedState.showPaginationBottom,\n manual = resolvedState.manual,\n loadingText = resolvedState.loadingText,\n noDataText = resolvedState.noDataText,\n sortable = resolvedState.sortable,\n resizable = resolvedState.resizable,\n filterable = resolvedState.filterable,\n pivotIDKey = resolvedState.pivotIDKey,\n pivotValKey = resolvedState.pivotValKey,\n pivotBy = resolvedState.pivotBy,\n subRowsKey = resolvedState.subRowsKey,\n aggregatedKey = resolvedState.aggregatedKey,\n originalKey = resolvedState.originalKey,\n indexKey = resolvedState.indexKey,\n groupedByPivotKey = resolvedState.groupedByPivotKey,\n loading = resolvedState.loading,\n pageSize = resolvedState.pageSize,\n page = resolvedState.page,\n sorted = resolvedState.sorted,\n filtered = resolvedState.filtered,\n resized = resolvedState.resized,\n expanded = resolvedState.expanded,\n pages = resolvedState.pages,\n onExpandedChange = resolvedState.onExpandedChange,\n TableComponent = resolvedState.TableComponent,\n TheadComponent = resolvedState.TheadComponent,\n TbodyComponent = resolvedState.TbodyComponent,\n TrGroupComponent = resolvedState.TrGroupComponent,\n TrComponent = resolvedState.TrComponent,\n ThComponent = resolvedState.ThComponent,\n TdComponent = resolvedState.TdComponent,\n TfootComponent = resolvedState.TfootComponent,\n PaginationComponent = resolvedState.PaginationComponent,\n LoadingComponent = resolvedState.LoadingComponent,\n SubComponent = resolvedState.SubComponent,\n NoDataComponent = resolvedState.NoDataComponent,\n ResizerComponent = resolvedState.ResizerComponent,\n ExpanderComponent = resolvedState.ExpanderComponent,\n PivotValueComponent = resolvedState.PivotValueComponent,\n PivotComponent = resolvedState.PivotComponent,\n AggregatedComponent = resolvedState.AggregatedComponent,\n FilterComponent = resolvedState.FilterComponent,\n PadRowComponent = resolvedState.PadRowComponent,\n resolvedData = resolvedState.resolvedData,\n allVisibleColumns = resolvedState.allVisibleColumns,\n headerGroups = resolvedState.headerGroups,\n hasHeaderGroups = resolvedState.hasHeaderGroups,\n sortedData = resolvedState.sortedData,\n currentlyResizing = resolvedState.currentlyResizing;\n\n // Pagination\n\n var startRow = pageSize * page;\n var endRow = startRow + pageSize;\n var pageRows = manual ? resolvedData : sortedData.slice(startRow, endRow);\n var minRows = this.getMinRows();\n var padRows = _utils2.default.range(Math.max(minRows - pageRows.length, 0));\n\n var hasColumnFooter = allVisibleColumns.some(function (d) {\n return d.Footer;\n });\n var hasFilters = filterable || allVisibleColumns.some(function (d) {\n return d.filterable;\n });\n\n var recurseRowsViewIndex = function recurseRowsViewIndex(rows) {\n var path = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var index = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : -1;\n\n return [rows.map(function (row, i) {\n index++;\n var rowWithViewIndex = _extends({}, row, {\n _viewIndex: index\n });\n var newPath = path.concat([i]);\n if (rowWithViewIndex[subRowsKey] && _utils2.default.get(expanded, newPath)) {\n ;\n var _recurseRowsViewIndex = recurseRowsViewIndex(rowWithViewIndex[subRowsKey], newPath, index);\n\n var _recurseRowsViewIndex2 = _slicedToArray(_recurseRowsViewIndex, 2);\n\n rowWithViewIndex[subRowsKey] = _recurseRowsViewIndex2[0];\n index = _recurseRowsViewIndex2[1];\n }\n return rowWithViewIndex;\n }), index];\n };\n var _recurseRowsViewIndex3 = recurseRowsViewIndex(pageRows);\n\n var _recurseRowsViewIndex4 = _slicedToArray(_recurseRowsViewIndex3, 1);\n\n pageRows = _recurseRowsViewIndex4[0];\n\n\n var canPrevious = page > 0;\n var canNext = page + 1 < pages;\n\n var rowMinWidth = _utils2.default.sum(allVisibleColumns.map(function (d) {\n var resizedColumn = resized.find(function (x) {\n return x.id === d.id;\n }) || {};\n return _utils2.default.getFirstDefined(resizedColumn.value, d.width, d.minWidth);\n }));\n\n var rowIndex = -1;\n\n var finalState = _extends({}, resolvedState, {\n startRow: startRow,\n endRow: endRow,\n pageRows: pageRows,\n minRows: minRows,\n padRows: padRows,\n hasColumnFooter: hasColumnFooter,\n canPrevious: canPrevious,\n canNext: canNext,\n rowMinWidth: rowMinWidth\n });\n\n // Visual Components\n\n var makeHeaderGroups = function makeHeaderGroups() {\n var theadGroupProps = _utils2.default.splitProps(getTheadGroupProps(finalState, undefined, undefined, _this2));\n var theadGroupTrProps = _utils2.default.splitProps(getTheadGroupTrProps(finalState, undefined, undefined, _this2));\n return _react2.default.createElement(\n TheadComponent,\n _extends({\n className: (0, _classnames2.default)('-headerGroups', theadGroupProps.className),\n style: _extends({}, theadGroupProps.style, {\n minWidth: rowMinWidth + 'px'\n })\n }, theadGroupProps.rest),\n _react2.default.createElement(\n TrComponent,\n _extends({\n className: theadGroupTrProps.className,\n style: theadGroupTrProps.style\n }, theadGroupTrProps.rest),\n headerGroups.map(makeHeaderGroup)\n )\n );\n };\n\n var makeHeaderGroup = function makeHeaderGroup(column, i) {\n var resizedValue = function resizedValue(col) {\n return (resized.find(function (x) {\n return x.id === col.id;\n }) || {}).value;\n };\n var flex = _utils2.default.sum(column.columns.map(function (col) {\n return col.width || resizedValue(col) ? 0 : col.minWidth;\n }));\n var width = _utils2.default.sum(column.columns.map(function (col) {\n return _utils2.default.getFirstDefined(resizedValue(col), col.width, col.minWidth);\n }));\n var maxWidth = _utils2.default.sum(column.columns.map(function (col) {\n return _utils2.default.getFirstDefined(resizedValue(col), col.width, col.maxWidth);\n }));\n\n var theadGroupThProps = _utils2.default.splitProps(getTheadGroupThProps(finalState, undefined, column, _this2));\n var columnHeaderProps = _utils2.default.splitProps(column.getHeaderProps(finalState, undefined, column, _this2));\n\n var classes = [column.headerClassName, theadGroupThProps.className, columnHeaderProps.className];\n\n var styles = _extends({}, column.headerStyle, theadGroupThProps.style, columnHeaderProps.style);\n\n var rest = _extends({}, theadGroupThProps.rest, columnHeaderProps.rest);\n\n var flexStyles = {\n flex: flex + ' 0 auto',\n width: _utils2.default.asPx(width),\n maxWidth: _utils2.default.asPx(maxWidth)\n };\n\n return _react2.default.createElement(\n ThComponent,\n _extends({\n key: i + '-' + column.id,\n className: (0, _classnames2.default)(classes),\n style: _extends({}, styles, flexStyles)\n }, rest),\n _utils2.default.normalizeComponent(column.Header, {\n data: sortedData,\n column: column\n })\n );\n };\n\n var makeHeaders = function makeHeaders() {\n var theadProps = _utils2.default.splitProps(getTheadProps(finalState, undefined, undefined, _this2));\n var theadTrProps = _utils2.default.splitProps(getTheadTrProps(finalState, undefined, undefined, _this2));\n return _react2.default.createElement(\n TheadComponent,\n _extends({\n className: (0, _classnames2.default)('-header', theadProps.className),\n style: _extends({}, theadProps.style, {\n minWidth: rowMinWidth + 'px'\n })\n }, theadProps.rest),\n _react2.default.createElement(\n TrComponent,\n _extends({\n className: theadTrProps.className,\n style: theadTrProps.style\n }, theadTrProps.rest),\n allVisibleColumns.map(makeHeader)\n )\n );\n };\n\n var makeHeader = function makeHeader(column, i) {\n var resizedCol = resized.find(function (x) {\n return x.id === column.id;\n }) || {};\n var sort = sorted.find(function (d) {\n return d.id === column.id;\n });\n var show = typeof column.show === 'function' ? column.show() : column.show;\n var width = _utils2.default.getFirstDefined(resizedCol.value, column.width, column.minWidth);\n var maxWidth = _utils2.default.getFirstDefined(resizedCol.value, column.width, column.maxWidth);\n var theadThProps = _utils2.default.splitProps(getTheadThProps(finalState, undefined, column, _this2));\n var columnHeaderProps = _utils2.default.splitProps(column.getHeaderProps(finalState, undefined, column, _this2));\n\n var classes = [column.headerClassName, theadThProps.className, columnHeaderProps.className];\n\n var styles = _extends({}, column.headerStyle, theadThProps.style, columnHeaderProps.style);\n\n var rest = _extends({}, theadThProps.rest, columnHeaderProps.rest);\n\n var isResizable = _utils2.default.getFirstDefined(column.resizable, resizable, false);\n var resizer = isResizable ? _react2.default.createElement(ResizerComponent, _extends({\n onMouseDown: function onMouseDown(e) {\n return _this2.resizeColumnStart(e, column, false);\n },\n onTouchStart: function onTouchStart(e) {\n return _this2.resizeColumnStart(e, column, true);\n }\n }, resizerProps)) : null;\n\n var isSortable = _utils2.default.getFirstDefined(column.sortable, sortable, false);\n\n // Don't wrap header content in unnecessary div if not resizable\n var content = void 0;\n if (isResizable) {\n content = _react2.default.createElement(\n 'div',\n { className: 'rt-resizable-header-content' },\n _utils2.default.normalizeComponent(column.Header, {\n data: sortedData,\n column: column\n })\n );\n } else {\n content = _utils2.default.normalizeComponent(column.Header, {\n data: sortedData,\n column: column\n });\n }\n\n return _react2.default.createElement(\n ThComponent,\n _extends({\n key: i + '-' + column.id,\n className: (0, _classnames2.default)(classes, isResizable && 'rt-resizable-header', isSortable && '-cursor-pointer', !show && '-hidden', pivotBy && pivotBy.slice(0, -1).includes(column.id) && 'rt-header-pivot'),\n style: _extends({}, styles, {\n flex: width + ' 0 auto',\n width: _utils2.default.asPx(width),\n maxWidth: _utils2.default.asPx(maxWidth)\n })\n // Only add click handler if the header is clickable to prevent screen\n // readers from announcing the element as \"clickable\".\n , toggleSort: isSortable ? function (e) {\n return _this2.sortColumn(column, e.shiftKey);\n } : undefined\n }, rest),\n content,\n resizer\n );\n };\n\n var makeFilters = function makeFilters() {\n var theadFilterProps = _utils2.default.splitProps(getTheadFilterProps(finalState, undefined, undefined, _this2));\n var theadFilterTrProps = _utils2.default.splitProps(getTheadFilterTrProps(finalState, undefined, undefined, _this2));\n return _react2.default.createElement(\n TheadComponent,\n _extends({\n className: (0, _classnames2.default)('-filters', theadFilterProps.className),\n style: _extends({}, theadFilterProps.style, {\n minWidth: rowMinWidth + 'px'\n })\n }, theadFilterProps.rest),\n _react2.default.createElement(\n TrComponent,\n _extends({\n className: theadFilterTrProps.className,\n style: theadFilterTrProps.style\n }, theadFilterTrProps.rest),\n allVisibleColumns.map(makeFilter)\n )\n );\n };\n\n var makeFilter = function makeFilter(column, i) {\n var resizedCol = resized.find(function (x) {\n return x.id === column.id;\n }) || {};\n var width = _utils2.default.getFirstDefined(resizedCol.value, column.width, column.minWidth);\n var maxWidth = _utils2.default.getFirstDefined(resizedCol.value, column.width, column.maxWidth);\n var theadFilterThProps = _utils2.default.splitProps(getTheadFilterThProps(finalState, undefined, column, _this2));\n var columnHeaderProps = _utils2.default.splitProps(column.getHeaderProps(finalState, undefined, column, _this2));\n\n var classes = [column.headerClassName, theadFilterThProps.className, columnHeaderProps.className];\n\n var styles = _extends({}, column.headerStyle, theadFilterThProps.style, columnHeaderProps.style);\n\n var rest = _extends({}, theadFilterThProps.rest, columnHeaderProps.rest);\n\n var filter = filtered.find(function (filter) {\n return filter.id === column.id;\n });\n\n var ResolvedFilterComponent = column.Filter || FilterComponent;\n\n var isFilterable = _utils2.default.getFirstDefined(column.filterable, filterable, false);\n\n return (\n // Render filter cells as table cells, rather than headers, for easier styling\n _react2.default.createElement(\n TdComponent,\n _extends({\n key: i + '-' + column.id,\n className: (0, _classnames2.default)(classes),\n style: _extends({}, styles, {\n flex: width + ' 0 auto',\n width: _utils2.default.asPx(width),\n maxWidth: _utils2.default.asPx(maxWidth)\n })\n }, rest),\n isFilterable ? _utils2.default.normalizeComponent(ResolvedFilterComponent, {\n column: column,\n filter: filter,\n onChange: function onChange(value) {\n return _this2.filterColumn(column, value);\n }\n }, _defaultProps2.default.column.Filter) : null\n )\n );\n };\n\n var makePageRow = function makePageRow(row, i) {\n var path = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n\n var rowInfo = {\n original: row[originalKey],\n row: row,\n index: row[indexKey],\n viewIndex: ++rowIndex,\n pageSize: pageSize,\n page: page,\n level: path.length,\n nestingPath: path.concat([i]),\n aggregated: row[aggregatedKey],\n groupedByPivot: row[groupedByPivotKey],\n subRows: row[subRowsKey]\n };\n var isExpanded = _utils2.default.get(expanded, rowInfo.nestingPath);\n var trGroupProps = getTrGroupProps(finalState, rowInfo, undefined, _this2);\n var trProps = _utils2.default.splitProps(getTrProps(finalState, rowInfo, undefined, _this2));\n return _react2.default.createElement(\n TrGroupComponent,\n _extends({ key: rowInfo.nestingPath.join('_') }, trGroupProps),\n _react2.default.createElement(\n TrComponent,\n _extends({\n className: trProps.className,\n style: trProps.style\n }, trProps.rest),\n allVisibleColumns.map(function (column, i2) {\n var resizedCol = resized.find(function (x) {\n return x.id === column.id;\n }) || {};\n var show = typeof column.show === 'function' ? column.show() : column.show;\n var width = _utils2.default.getFirstDefined(resizedCol.value, column.width, column.minWidth);\n var maxWidth = _utils2.default.getFirstDefined(resizedCol.value, column.width, column.maxWidth);\n var tdProps = _utils2.default.splitProps(getTdProps(finalState, rowInfo, column, _this2));\n var columnProps = _utils2.default.splitProps(column.getProps(finalState, rowInfo, column, _this2));\n\n var classes = [tdProps.className, column.className, columnProps.className];\n\n var styles = _extends({}, tdProps.style, column.style, columnProps.style);\n\n var cellInfo = _extends({}, rowInfo, {\n isExpanded: isExpanded,\n column: _extends({}, column),\n value: rowInfo.row[column.id],\n pivoted: column.pivoted,\n expander: column.expander,\n resized: resized,\n show: show,\n width: width,\n maxWidth: maxWidth,\n tdProps: tdProps,\n columnProps: columnProps,\n classes: classes,\n styles: styles\n });\n\n var value = cellInfo.value;\n\n var useOnExpanderClick = void 0;\n var isBranch = void 0;\n var isPreview = void 0;\n\n var onExpanderClick = function onExpanderClick(e) {\n var newExpanded = _utils2.default.clone(expanded);\n if (isExpanded) {\n newExpanded = _utils2.default.set(newExpanded, cellInfo.nestingPath, false);\n } else {\n newExpanded = _utils2.default.set(newExpanded, cellInfo.nestingPath, {});\n }\n\n return _this2.setStateWithData({\n expanded: newExpanded\n }, function () {\n onExpandedChange && onExpandedChange(newExpanded, cellInfo.nestingPath, e);\n });\n };\n\n // Default to a standard cell\n var resolvedCell = _utils2.default.normalizeComponent(column.Cell, cellInfo, value);\n\n // Resolve Renderers\n var ResolvedAggregatedComponent = column.Aggregated || (!column.aggregate ? AggregatedComponent : column.Cell);\n var ResolvedExpanderComponent = column.Expander || ExpanderComponent;\n var ResolvedPivotValueComponent = column.PivotValue || PivotValueComponent;\n var DefaultResolvedPivotComponent = PivotComponent || function (props) {\n return _react2.default.createElement(\n 'div',\n null,\n _react2.default.createElement(ResolvedExpanderComponent, props),\n _react2.default.createElement(ResolvedPivotValueComponent, props)\n );\n };\n var ResolvedPivotComponent = column.Pivot || DefaultResolvedPivotComponent;\n\n // Is this cell expandable?\n if (cellInfo.pivoted || cellInfo.expander) {\n // Make it expandable by defualt\n cellInfo.expandable = true;\n useOnExpanderClick = true;\n // Always disable expansion if pivoted and has no subRows. Originally,\n // pivoted cells with SubComponents could be clicked to expand the row,\n // which caused issues for the custom multi-column row details.\n if (cellInfo.pivoted && !cellInfo.subRows) {\n cellInfo.expandable = false;\n // Also ensure that a click handler is not passed to an unclickable cell\n useOnExpanderClick = false;\n }\n }\n\n if (cellInfo.pivoted) {\n // Is this column a branch?\n isBranch = rowInfo.row[pivotIDKey] === column.id && cellInfo.subRows;\n // Should this column be blank?\n isPreview = pivotBy.indexOf(column.id) > pivotBy.indexOf(rowInfo.row[pivotIDKey]) && cellInfo.subRows;\n // Pivot Cell Render Override\n if (isBranch) {\n // isPivot\n resolvedCell = _utils2.default.normalizeComponent(ResolvedPivotComponent, _extends({}, cellInfo, {\n value: row[pivotValKey]\n }), row[pivotValKey]);\n } else if (isPreview) {\n // Show the pivot preview\n resolvedCell = _utils2.default.normalizeComponent(ResolvedAggregatedComponent, cellInfo, value);\n } else {\n resolvedCell = null;\n }\n } else if (cellInfo.aggregated) {\n resolvedCell = _utils2.default.normalizeComponent(ResolvedAggregatedComponent, cellInfo, value);\n }\n\n if (cellInfo.expander) {\n resolvedCell = _utils2.default.normalizeComponent(ResolvedExpanderComponent, cellInfo, row[pivotValKey]);\n if (pivotBy) {\n if (cellInfo.groupedByPivot) {\n resolvedCell = null;\n }\n if (!cellInfo.subRows && !SubComponent) {\n resolvedCell = null;\n }\n }\n }\n\n // Only add click handler if the cell is clickable to prevent screen\n // readers from announcing the element as \"clickable\".\n //\n // Originally, a click handler was always being added:\n // const resolvedOnExpanderClick = useOnExpanderClick\n // ? onExpanderClick\n // : () => {}\n var resolvedOnExpanderClick = useOnExpanderClick ? onExpanderClick : undefined;\n\n // If there are multiple onClick events, make sure they don't override eachother. This should maybe be expanded to handle all function attributes\n var interactionProps = {\n onClick: resolvedOnExpanderClick\n };\n\n if (tdProps.rest.onClick) {\n interactionProps.onClick = function (e) {\n tdProps.rest.onClick(e, resolvedOnExpanderClick ? function () {\n return resolvedOnExpanderClick(e);\n } : undefined);\n };\n }\n\n if (columnProps.rest.onClick) {\n interactionProps.onClick = function (e) {\n columnProps.rest.onClick(e, resolvedOnExpanderClick ? function () {\n return resolvedOnExpanderClick(e);\n } : undefined);\n };\n }\n\n // Return the cell\n return _react2.default.createElement(\n TdComponent,\n _extends({\n key: i2 + '-' + column.id,\n className: (0, _classnames2.default)(classes, !show && 'hidden', cellInfo.expandable && 'rt-expandable', (isBranch || isPreview) && 'rt-pivot'),\n style: _extends({}, styles, {\n flex: width + ' 0 auto',\n width: _utils2.default.asPx(width),\n maxWidth: _utils2.default.asPx(maxWidth)\n })\n }, tdProps.rest, columnProps.rest, interactionProps),\n resolvedCell\n );\n })\n ),\n rowInfo.subRows && isExpanded && rowInfo.subRows.map(function (d, i) {\n return makePageRow(d, i, rowInfo.nestingPath);\n }),\n SubComponent && !rowInfo.subRows && isExpanded && SubComponent(rowInfo)\n );\n };\n\n var makePadRow = function makePadRow(row, i) {\n var trGroupProps = getTrGroupProps(finalState, undefined, undefined, _this2);\n var trProps = _utils2.default.splitProps(getTrProps(finalState, undefined, undefined, _this2));\n return _react2.default.createElement(\n TrGroupComponent,\n _extends({ key: i }, trGroupProps),\n _react2.default.createElement(\n TrComponent,\n {\n className: (0, _classnames2.default)('-padRow', trProps.className),\n style: trProps.style || {}\n },\n allVisibleColumns.map(makePadColumn)\n )\n );\n };\n\n var makePadColumn = function makePadColumn(column, i) {\n var resizedCol = resized.find(function (x) {\n return x.id === column.id;\n }) || {};\n var show = typeof column.show === 'function' ? column.show() : column.show;\n var width = _utils2.default.getFirstDefined(resizedCol.value, column.width, column.minWidth);\n var flex = width;\n var maxWidth = _utils2.default.getFirstDefined(resizedCol.value, column.width, column.maxWidth);\n var tdProps = _utils2.default.splitProps(getTdProps(finalState, undefined, column, _this2));\n var columnProps = _utils2.default.splitProps(column.getProps(finalState, undefined, column, _this2));\n\n var classes = [tdProps.className, column.className, columnProps.className];\n\n var styles = _extends({}, tdProps.style, column.style, columnProps.style);\n\n return _react2.default.createElement(\n TdComponent,\n _extends({\n key: i + '-' + column.id,\n className: (0, _classnames2.default)(classes, !show && 'hidden'),\n style: _extends({}, styles, {\n flex: flex + ' 0 auto',\n width: _utils2.default.asPx(width),\n maxWidth: _utils2.default.asPx(maxWidth)\n })\n }, tdProps.rest),\n _utils2.default.normalizeComponent(PadRowComponent)\n );\n };\n\n var makeColumnFooters = function makeColumnFooters() {\n var tFootProps = getTfootProps(finalState, undefined, undefined, _this2);\n var tFootTrProps = _utils2.default.splitProps(getTfootTrProps(finalState, undefined, undefined, _this2));\n return _react2.default.createElement(\n TfootComponent,\n _extends({\n className: tFootProps.className,\n style: _extends({}, tFootProps.style, {\n minWidth: rowMinWidth + 'px'\n })\n }, tFootProps.rest),\n _react2.default.createElement(\n TrComponent,\n _extends({\n className: (0, _classnames2.default)(tFootTrProps.className),\n style: tFootTrProps.style\n }, tFootTrProps.rest),\n allVisibleColumns.map(makeColumnFooter)\n )\n );\n };\n\n var makeColumnFooter = function makeColumnFooter(column, i) {\n var resizedCol = resized.find(function (x) {\n return x.id === column.id;\n }) || {};\n var show = typeof column.show === 'function' ? column.show() : column.show;\n var width = _utils2.default.getFirstDefined(resizedCol.value, column.width, column.minWidth);\n var maxWidth = _utils2.default.getFirstDefined(resizedCol.value, column.width, column.maxWidth);\n var tFootTdProps = _utils2.default.splitProps(getTfootTdProps(finalState, undefined, undefined, _this2));\n var columnProps = _utils2.default.splitProps(column.getProps(finalState, undefined, column, _this2));\n var columnFooterProps = _utils2.default.splitProps(column.getFooterProps(finalState, undefined, column, _this2));\n\n var classes = [tFootTdProps.className, column.footerClassName, columnProps.footerClassName, columnFooterProps.className];\n\n var styles = _extends({}, tFootTdProps.style, column.footerStyle, columnProps.footerStyle, columnFooterProps.style);\n\n return _react2.default.createElement(\n TdComponent,\n _extends({\n key: i + '-' + column.id,\n className: (0, _classnames2.default)(classes, !show && 'hidden'),\n style: _extends({}, styles, {\n flex: width + ' 0 auto',\n width: _utils2.default.asPx(width),\n maxWidth: _utils2.default.asPx(maxWidth)\n })\n }, columnProps.rest, tFootTdProps.rest, columnFooterProps.rest),\n _utils2.default.normalizeComponent(column.Footer, {\n data: sortedData,\n column: column\n })\n );\n };\n\n var makePagination = function makePagination() {\n var paginationProps = _utils2.default.splitProps(getPaginationProps(finalState, undefined, undefined, _this2));\n return _react2.default.createElement(PaginationComponent, _extends({}, resolvedState, {\n pages: pages,\n canPrevious: canPrevious,\n canNext: canNext,\n onPageChange: _this2.onPageChange,\n onPageSizeChange: _this2.onPageSizeChange,\n className: paginationProps.className,\n style: paginationProps.style\n }, paginationProps.rest));\n };\n\n var rootProps = _utils2.default.splitProps(getProps(finalState, undefined, undefined, this));\n var tableProps = _utils2.default.splitProps(getTableProps(finalState, undefined, undefined, this));\n var tBodyProps = _utils2.default.splitProps(getTbodyProps(finalState, undefined, undefined, this));\n var loadingProps = getLoadingProps(finalState, undefined, undefined, this);\n var noDataProps = getNoDataProps(finalState, undefined, undefined, this);\n var resizerProps = getResizerProps(finalState, undefined, undefined, this);\n\n var makeTable = function makeTable() {\n var pagination = makePagination();\n return _react2.default.createElement(\n 'div',\n _extends({\n className: (0, _classnames2.default)('ReactTable', className, rootProps.className),\n style: _extends({}, style, rootProps.style)\n }, rootProps.rest),\n showPagination && showPaginationTop ? _react2.default.createElement(\n 'div',\n { className: 'pagination-top' },\n pagination\n ) : null,\n _react2.default.createElement(\n TableComponent,\n _extends({\n className: (0, _classnames2.default)(tableProps.className, currentlyResizing ? 'rt-resizing' : ''),\n style: tableProps.style\n }, tableProps.rest),\n hasHeaderGroups ? makeHeaderGroups() : null,\n makeHeaders(),\n hasFilters ? makeFilters() : null,\n _react2.default.createElement(\n TbodyComponent,\n _extends({\n className: (0, _classnames2.default)(tBodyProps.className),\n style: _extends({}, tBodyProps.style, {\n minWidth: rowMinWidth + 'px'\n })\n }, tBodyProps.rest),\n pageRows.map(function (d, i) {\n return makePageRow(d, i);\n }),\n padRows.map(makePadRow)\n ),\n hasColumnFooter ? makeColumnFooters() : null\n ),\n showPagination && showPaginationBottom ? _react2.default.createElement(\n 'div',\n { className: 'pagination-bottom' },\n pagination\n ) : null,\n !pageRows.length && _react2.default.createElement(\n NoDataComponent,\n noDataProps,\n _utils2.default.normalizeComponent(noDataText)\n ),\n _react2.default.createElement(LoadingComponent, _extends({\n loading: loading,\n loadingText: loadingText\n }, loadingProps))\n );\n };\n\n // childProps are optionally passed to a function-as-a-child\n return children ? children(finalState, makeTable, this) : makeTable();\n }\n }]);\n\n return ReactTable;\n}((0, _methods2.default)((0, _lifecycle2.default)(_react.Component)));\n\nReactTable.propTypes = _propTypes2.default;\nReactTable.defaultProps = _defaultProps2.default;\nexports.default = ReactTable;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJSZWFjdFRhYmxlRGVmYXVsdHMiLCJSZWFjdFRhYmxlIiwicHJvcHMiLCJnZXRSZXNvbHZlZFN0YXRlIiwiYmluZCIsImdldERhdGFNb2RlbCIsImdldFNvcnRlZERhdGEiLCJmaXJlRmV0Y2hEYXRhIiwiZ2V0UHJvcE9yU3RhdGUiLCJnZXRTdGF0ZU9yUHJvcCIsImZpbHRlckRhdGEiLCJzb3J0RGF0YSIsImdldE1pblJvd3MiLCJvblBhZ2VDaGFuZ2UiLCJvblBhZ2VTaXplQ2hhbmdlIiwic29ydENvbHVtbiIsImZpbHRlckNvbHVtbiIsInJlc2l6ZUNvbHVtblN0YXJ0IiwicmVzaXplQ29sdW1uRW5kIiwicmVzaXplQ29sdW1uTW92aW5nIiwic3RhdGUiLCJwYWdlIiwicGFnZVNpemUiLCJkZWZhdWx0UGFnZVNpemUiLCJzb3J0ZWQiLCJkZWZhdWx0U29ydGVkIiwiZXhwYW5kZWQiLCJkZWZhdWx0RXhwYW5kZWQiLCJmaWx0ZXJlZCIsImRlZmF1bHRGaWx0ZXJlZCIsInJlc2l6ZWQiLCJkZWZhdWx0UmVzaXplZCIsImN1cnJlbnRseVJlc2l6aW5nIiwic2tpcE5leHRTb3J0IiwicmVzb2x2ZWRTdGF0ZSIsImNoaWxkcmVuIiwiY2xhc3NOYW1lIiwic3R5bGUiLCJnZXRQcm9wcyIsImdldFRhYmxlUHJvcHMiLCJnZXRUaGVhZEdyb3VwUHJvcHMiLCJnZXRUaGVhZEdyb3VwVHJQcm9wcyIsImdldFRoZWFkR3JvdXBUaFByb3BzIiwiZ2V0VGhlYWRQcm9wcyIsImdldFRoZWFkVHJQcm9wcyIsImdldFRoZWFkVGhQcm9w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9wcyxcbiAgICAgIGdldFBhZ2luYXRpb25Qcm9wcyxcbiAgICAgIGdldExvYWRpbmdQcm9wcyxcbiAgICAgIGdldE5vRGF0YVByb3BzLFxuICAgICAgZ2V0UmVzaXplclByb3BzLFxuICAgICAgc2hvd1BhZ2luYXRpb24sXG4gICAgICBzaG93UGFnaW5hdGlvblRvcCxcbiAgICAgIHNob3dQYWdpbmF0aW9uQm90dG9tLFxuICAgICAgbWFudWFsLFxuICAgICAgbG9hZGluZ1RleHQsXG4gICAgICBub0RhdGFUZXh0LFxuICAgICAgc29ydGFibGUsXG4gICAgICByZXNpemFibGUsXG4gICAgICBmaWx0ZXJhYmxlLFxuICAgICAgLy8gUGl2b3RpbmcgU3RhdGVcbiAgICAgIHBpdm90SURLZXksXG4gICAgICBwaXZvdFZhbEtleSxcbiAgICAgIHBpdm90QnksXG4gICAgICBzdWJSb3dzS2V5LFxuICAgICAgYWdncmVnYXRlZEtleSxcbiAgICAgIG9yaWdpbmFsS2V5LFxuICAgICAgaW5kZXhLZXksXG4gICAgICBncm91cGVkQnlQaXZvdEtleSxcbiAgICAgIC8vIFN0YXRlXG4gICAgICBsb2FkaW5nLFxuICAgICAgcGFnZVNpemUsXG4gICAgICBwYWdlLFxuICAgICAgc29ydGVkLFxuICAgICAgZmlsdGVyZWQsXG4gICAgICByZXNpemVkLFxuICAgICAgZXhwYW5kZWQsXG4gICAgICBwYWdlcyxcbiAgICAgIG9uRXhwYW5kZWRDaGFuZ2UsXG4gICAgICAvLyBDb21wb25lbnRzXG4gICAgICBUYWJsZUNvbXBvbmVudCxcbiAgICAgIFRoZWFkQ29tcG9uZW50LFxuICAgICAgVGJvZHlDb21wb25lbnQsXG4gICAgICBUckdyb3VwQ29tcG9uZW50LFxuICAgICAgVHJDb21wb25lbnQsXG4gICAgICBUaENvbXBvbmVudCxcbiAgICAgIFRkQ29tcG9uZW50LFxuICAgICAgVGZvb3RDb21wb25lbnQsXG4gICAgICBQYWdpbmF0aW9uQ29tcG9u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dGVycyA9IGZpbHRlcmFibGUgfHwgYWxsVmlzaWJsZUNvbHVtbnMuc29tZShkID0+IGQuZmlsdGVyYWJsZSlcblxuICAgIGNvbnN0IHJlY3Vyc2VSb3dzVmlld0luZGV4ID0gKHJvd3MsIHBhdGggPSBbXSwgaW5kZXggPSAtMSkgPT4ge1xuICAgICAgcmV0dXJuIFtcbiAgICAgICAgcm93cy5tYXAoKHJvdywgaSkgPT4ge1xuICAgICAgICAgIGluZGV4KytcbiAgICAgICAgICBjb25zdCByb3dXaXRoVmlld0luZGV4ID0ge1xuICAgICAgICAgICAgLi4ucm93LFxuICAgICAgICAgICAgX3ZpZXdJbmRleDogaW5kZXgsXG4gICAgICAgICAgfVxuICAgICAgICAgIGNvbnN0IG5ld1BhdGggPSBwYXRoLmNvbmNhdChbaV0pXG4gICAgICAgICAgaWYgKHJvd1dpdGhWaWV3SW5kZXhbc3ViUm93c0tleV0gJiYgXy5nZXQoZXhwYW5kZWQsIG5ld1BhdGgpKSB7XG4gICAgICAgICAgICA7W3Jvd1dpdGhWaWV3SW5kZXhbc3ViUm93c0tleV0sIGluZGV4XSA9IHJlY3Vyc2VSb3dzVmlld0luZGV4KFxuICAgICAgICAgICAgICByb3dXaXRoVmlld0luZGV4W3N1YlJvd3NLZXldLFxuICAgICAgICAgICAgICBuZXdQYXRoLFxuICAgICAgICAgICAgICBpbmRleFxuICAgICAgICAgICAgKVxuICAgICAgICAgIH1cbiAgICAgICAgICByZXR1cm4gcm93V2l0aFZpZXdJbmRleFxuICAgICAgICB9KSxcbiAgICAgICAgaW5kZXgsXG4gICAgICBdXG4gICAgfVxuICAgIDtbcGFnZVJvd3NdID0gcmVjdXJzZVJvd3NWaWV3SW5kZXgocGFnZVJvd3MpXG5cbiAgICBjb25zdCBjYW5QcmV2aW91cyA9IHBhZ2UgPiAwXG4gICAgY29uc3QgY2FuTmV4dCA9IHBhZ2UgKyAxIDwgcGFnZXNcblxuICAgIGNvbnN0IHJvd01pbldpZHRoID0gXy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YW1lcygnLWhlYWRlckdyb3VwcycsIHRoZWFkR3JvdXBQcm9wcy5jbGFzc05hbWUpfVxuICAgICAgICAgIHN0eWxlPXt7XG4gICAgICAgICAgICAuLi50aGVhZEdyb3VwUHJvcHMuc3R5bGUsXG4gICAgICAgICAgICBtaW5XaWR0aDogYCR7cm93TWluV2lkdGh9cHhgLFxuICAgICAgICAgIH19XG4gICAgICAgICAgey4uLnRoZWFkR3JvdXBQcm9wcy5yZXN0fVxuICAgICAgICA+XG4gICAgICAgICAgPFRyQ29tcG9uZW50XG4gICAgICAgICAgICBjbGFzc05hbWU9e3RoZWFkR3JvdXBUclByb3BzLmNsYXNzTmFtZX1cbiAgICAgICAgICAgIHN0eWxlPXt0aGVhZEdyb3VwVHJQcm9wcy5zdHlsZX1cbiAgICAgICAgICAgIHsuLi50aGVhZEdyb3VwVHJQcm9wcy5yZXN0fVxuICAgICAgICAgID5cbiAgICAgICAgICAgIHtoZWFkZXJHcm91cHMubWFwKG1ha2VIZWFkZXJHcm91cCl9XG4gICAgICAgICAgPC9UckNvbXBvbmVudD5cbiAgICAgICAgPC9UaGVhZENvbXBvbmVudD5cbiAgICAgIClcbiAgICB9XG5cbiAgICBjb25zdCBtYWtlSGVhZGVyR3JvdXAgPSAoY29sdW1uLCBpKSA9PiB7XG4gICAgICBjb25zdCByZXNpemVkVmFsdWUgPSBjb2wgPT5cbiAgICAgICAgKHJlc2l6ZWQuZmluZCh4ID0+IHguaWQgPT09IGNvbC5pZCkgfHwge30pLnZhbHVlXG4gICAgICBjb25zdCBmbGV4ID0gXy5zdW0oXG4gICAgICAgIGNvbHVtbi5jb2x1bW5zLm1hcChcbiAgICAgICAgICBjb2wgPT4gKGNvbC53aWR0aCB8fCByZXNpemVkVmFsdWUoY29sKSA/IDAgOiBjb2wubWluV2lkdGgpXG4gICAgICAgIClcbiAgICAgIClcbiAgICAgIGNvbnN0IHdpZHRoID0gXy5zdW0oXG4gICAgICAgIGNvbHVtbi5jb2x1bW5zLm1h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JvdXBUaFByb3BzLnJlc3QsXG4gICAgICAgIC4uLmNvbHVtbkhlYWRlclByb3BzLnJlc3QsXG4gICAgICB9XG5cbiAgICAgIGNvbnN0IGZsZXhTdHlsZXMgPSB7XG4gICAgICAgIGZsZXg6IGAke2ZsZXh9IDAgYXV0b2AsXG4gICAgICAgIHdpZHRoOiBfLmFzUHgod2lkdGgpLFxuICAgICAgICBtYXhXaWR0aDogXy5hc1B4KG1heFdpZHRoKSxcbiAgICAgIH1cblxuICAgICAgcmV0dXJuIChcbiAgICAgICAgPFRoQ29tcG9uZW50XG4gICAgICAgICAga2V5PXtpICsgJy0nICsgY29sdW1uLmlkfVxuICAgICAgICAgIGNsYXNzTmFtZT17Y2xhc3NuYW1lcyhjbGFzc2VzKX1cbiAgICAgICAgICBzdHlsZT17e1xuICAgICAgICAgICAgLi4uc3R5bGVzLFxuICAgICAgICAgICAgLi4uZmxleFN0eWxlcyxcbiAgICAgICAgICB9fVxuICAgICAgICAgIHsuLi5yZXN0fVxuICAgICAgICA+XG4gICAgICAgICAge18ubm9ybWFsaXplQ29tcG9uZW50KGNvbHVtbi5IZWFkZXIsIHtcbiAgICAgICAgICAgIGRhdGE6IHNvcnRlZERhdGEsXG4gICAgICAgICAgICBjb2x1bW46IGNvbHVtbixcbiAgICAgICAgICB9KX1cbiAgICAgICAgPC9UaENvbXBvbmVudD5cbiAgICAgIClcbiAgICB9XG5cbiAgICBjb25zdCBtYWtlSGVhZGVycyA9ICgpID0+IHtcbiAgICAgIGNvbnN0IHRoZWFkUHJvcHMgPSBfLnNwbGl0UHJvcHMoXG4gICAgICAgIGdldFRoZWFkUHJvcHMoZmluYWxTdGF0ZSwgdW5kZWZpbmVkLCB1bmRlZmluZWQsIHRoaXMpXG4gICAgICApXG4gICAgICBjb25zdCB0aGVhZFRyUHJvcHMgPSBfLnNwbGl0UHJvcHMoXG4gICAgICAgIGdldFRoZWFkVHJQcm9wcyhmaW5hbFN0YXRlLCB1bmRlZmluZWQsIHVuZGVmaW5lZCwgdGhpcylcbiAgICAgIClcbiAgICAgIHJldHVybiAoXG4gICAgICAgIDxUaGVhZENvbXBvbmVudFxuICAgICAgICAgIGNsYXNzTmFtZT17Y2xhc3NuYW1lcygnLWhlYWRlcicsIHRoZWFkUHJvcHMuY2xhc3NOYW1lKX1cbiAgICAgICAgICBzdHlsZT17e1xuICAgICAgICAgICAgLi4udGhlYWRQcm9wcy5zdHlsZSxcbiAgICAgICAgICAgIG1pbldpZHRoOiBgJHtyb3dNaW5XaWR0aH1weGAsXG4gICAgICAgICAgfX1cbiAgICAgICAgICB7Li4udGhlYWRQcm9wcy5yZXN0fVxuICAgICAgICA+XG4gICAgICAgICAgPFRyQ29tcG9uZW50XG4gICAgICAgICAgICBjbGFzc05hbWU9e3RoZWFkVHJQcm9wcy5jbGFzc05hbWV9XG4gICAgICAgICAgICBzdHlsZT17dGhlYWRUclByb3BzLnN0eWxlfVxuICAgICAgICAgICAgey4uLnRoZWFkVHJQcm9wcy5yZXN0fVxuICAgICAgICAgID5cbiAgICAgICAgICAgIHthbGxWaXNpYmxlQ29sdW1ucy5tYXAobWFrZUhlYWRlcil9XG4gICAgICAgICAgPC9UckNvbXBvbmVudD5cbiAgICAgICAgPC9UaGVhZENvbXBvbmVudD5cbiAgICAgIClcbiAgICB9XG5cbiAgICBjb25zdCBtYWtlSGVhZGVyID0gKGNvbHVtbiwgaSkgPT4ge1xuICAgICAgY29uc3QgcmVzaXplZENvbCA9IHJlc2l6ZWQuZmluZCh4ID0+IHguaWQgPT09IGNvbHVtbi5pZCkgfHwge31cbiAgICAgIGNvbnN0IHNvcnQgPSBzb3J0ZWQuZmluZChkID0+IGQuaWQgPT09IGNvbHVtbi5pZClcbiAgICAgIGNvbnN0IHNob3cgPVxuICAgICAgICB0eXBlb2YgY29sdW1uLnNob3cgPT09ICdmdW5jdGlvbicgPyBjb2x1bW4uc2hvdygpIDogY29sdW1uLnNob3dcbiAgICAgIGNvbnN0IHdpZHRoID0gXy5nZXRGa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gICAgY29uc3QgaXNSZXNpemFibGUgPSBfLmdldEZpcnN0RGVmaW5lZChjb2x1bW4ucmVzaXphYmxlLCByZXNpemFibGUsIGZhbHNlKVxuICAgICAgY29uc3QgcmVzaXplciA9IGlzUmVzaXphYmxlXG4gICAgICAgID8gKDxSZXNpemVyQ29tcG9uZW50XG4gICAgICAgICAgb25Nb3VzZURvd249e2UgPT4gdGhpcy5yZXNpemVDb2x1bW5TdGFydChlLCBjb2x1bW4sIGZhbHNlKX1cbiAgICAgICAgICBvblRvdWNoU3RhcnQ9e2UgPT4gdGhpcy5yZXNpemVDb2x1bW5TdGFydChlLCBjb2x1bW4sIHRydWUpfVxuICAgICAgICAgIHsuLi5yZXNpemVyUHJvcHN9XG4gICAgICAgIC8+KVxuICAgICAgICA6IG51bGxcblxuICAgICAgY29uc3QgaXNTb3J0YWJsZSA9IF8uZ2V0Rmlyc3REZWZpbmVkKGNvbHVtbi5zb3J0YWJsZSwgc29ydGFibGUsIGZhbHNlKVxuXG4gICAgICAvLyBEb24ndCB3cmFwIGhlYWRlciBjb250ZW50IGluIHVubmVjZXNzYXJ5IGRpdiBpZiBub3QgcmVzaXphYmxlXG4gICAgICBsZXQgY29udGVudFxuICAgICAgaWYgKGlzUmVzaXphYmxlKSB7XG4gICAgICAgIGNvbnRlbnQgPSAoXG4gICAgICAgICAgPGRpdiBjbGFzc05hbWU9XCJydC1yZXNpemFibGUtaGVhZGVyLWNvbnRlbnRcIj5cbiAgICAgICAgICAgIHtfLm5vcm1hbGl6ZUNvbXBvbmVudChjb2x1bW4uSGVhZGVyLCB7XG4gICAgICAgICAgICAgIGRhdGE6IHNvcnRlZERhdGEsXG4gICAgICAgICAgICAgIGNvbHVtbjogY29sdW1uLFxuICAgICAgICAgICAgfSl9XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIClcbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIGNvbnRlbnQgPSBfLm5vcm1hbGl6ZUNvbXBvbmVudChjb2x1bW4uSGVhZGVyLCB7XG4gICAgICAgICAgZGF0YTogc29ydGVkRGF0YSxcbiAgICAgICAgICBjb2x1bW46IGNvbHVtbixcbiAgICAgICAgfSlcbiAgICAgIH1cblxuICAgICAgcmV0dXJuIChcbiAgICAgICAgPFRoQ29tcG9uZW50XG4gICAgICAgICAga2V5PXtpICsgJy0nICsgY29sdW1uLmlkfVxuICAgICAgICAgIGNsYXNzTmFtZT17Y2xhc3NuYW1lcyhcbiAgICAgICAgICAgIGNsYXNzZXMsXG4gICAgICAgICAgICBpc1Jlc2l6YWJsZSAmJiAncnQtcmVzaXphYmxlLWhlYWRlcicsXG4gICAgICAgICAgICBpc1NvcnRhYmxlICYmICctY3Vyc29yLXBvaW50ZXInLFxuICAgICAgICAgICAgIXNob3cgJiYgJy1oaWRkZW4nLFxuICAgICAgICAgICAgcGl2b3RCeSAmJlxuICAgICAgICAgICAgICBwaXZvdEJ5LnNsaWNlKDAsIC0xKS5pbmNsdWRlcyhjb2x1bW4uaWQpICYmXG4gICAgICAgICAgICAgICdydC1oZWFkZXItcGl2b3QnXG4gICAgICAgICAgKX1cbiAgICAgICAgICBzdHlsZT17e1xuICAgICAgICAgICAgLi4uc3R5bGVzLFxuICAgICAgICAgICAgZmxleDogYCR7d2lkdGh9IDAgYXV0b2AsXG4gICAgICAgICAgICB3aWR0aDogXy5hc1B4KHdpZHRoKSxcbiAgICAgICAgICAgIG1heFdpZHRoOiBfLmFzUHgobWF4V2lkdGgpLFxuICAgICAgICAgIH19XG4gICAgICAgICAgLy8gT25seSBhZGQgY2xpY2sgaGFuZGxlciBpZiB0aGUgaGVhZGVyIGlzIGNsaWNrYWJsZSB0byBwcmV2ZW50IHNjcmVlblxuICAgICAgICAgIC8vIHJlYWRlcnMgZnJvbSBhbm5vdW5jaW5nIHRoZSBlbGVtZW50IGFzIFwiY2xpY2thYmxlXCIuXG4gICAgICAgICAgdG9nZ2xlU29ydD17aXNTb3J0YWJsZSA/IGUgPT4gdGhpcy5zb3J0Q29sdW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gc3R5bGU9e3tcbiAgICAgICAgICAgIC4uLnN0eWxlcyxcbiAgICAgICAgICAgIGZsZXg6IGAke3dpZHRofSAwIGF1dG9gLFxuICAgICAgICAgICAgd2lkdGg6IF8uYXNQeCh3aWR0aCksXG4gICAgICAgICAgICBtYXhXaWR0aDogXy5hc1B4KG1heFdpZHRoKSxcbiAgICAgICAgICB9fVxuICAgICAgICAgIHsuLi5yZXN0fVxuICAgICAgICA+XG4gICAgICAgICAge2lzRmlsdGVyYWJsZVxuICAgICAgICAgICAgPyBfLm5vcm1hbGl6ZUNvbXBvbmVudChcbiAgICAgICAgICAgICAgUmVzb2x2ZWRGaWx0ZXJDb21wb25lbnQsXG4gICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICBjb2x1bW4sXG4gICAgICAgICAgICAgICAgZmlsdGVyLFxuICAgICAgICAgICAgICAgIG9uQ2hhbmdlOiB2YWx1ZSA9PiB0aGlzLmZpbHRlckNvbHVtbihjb2x1bW4sIHZhbHVlKSxcbiAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgZGVmYXVsdFByb3BzLmNvbHVtbi5GaWx0ZXJcbiAgICAgICAgICAgIClcbiAgICAgICAgICAgIDogbnVsbH1cbiAgICAgICAgPC9UZENvbXBvbmVudD5cbiAgICAgIClcbiAgICB9XG5cbiAgICBjb25zdCBtYWtlUGFnZVJvdyA9IChyb3csIGksIHBhdGggPSBbXSkgPT4ge1xuICAgICAgY29uc3Qgcm93SW5mbyA9IHtcbiAgICAgICAgb3JpZ2luYWw6IHJvd1tvcmlnaW5hbEtleV0sXG4gICAgICAgIHJvdzogcm93LFxuICAgICAgICBpbmRleDogcm93W2luZGV4S2V5XSxcbiAgICAgICAgdmlld0luZGV4OiArK3Jvd0luZGV4LFxuICAgICAgICBwYWdlU2l6ZTogcGFnZVNpemUsXG4gICAgICAgIHBhZ2U6IHBhZ2UsXG4gICAgICAgIGxldmVsOiBwYXRoLmxlbmd0aCxcbiAgICAgICAgbmVzdGlu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2x1bW4uc2hvdyA9PT0gJ2Z1bmN0aW9uJyA/IGNvbHVtbi5zaG93KCkgOiBjb2x1bW4uc2hvd1xuICAgICAgICAgICAgICBjb25zdCB3aWR0aCA9IF8uZ2V0Rmlyc3REZWZpbmVkKFxuICAgICAgICAgICAgICAgIHJlc2l6ZWRDb2wudmFsdWUsXG4gICAgICAgICAgICAgICAgY29sdW1uLndpZHRoLFxuICAgICAgICAgICAgICAgIGNvbHVtbi5taW5XaWR0aFxuICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgIGNvbnN0IG1heFdpZHRoID0gXy5nZXRGaXJzdERlZmluZWQoXG4gICAgICAgICAgICAgICAgcmVzaXplZENvbC52YWx1ZSxcbiAgICAgICAgICAgICAgICBjb2x1bW4ud2lkdGgsXG4gICAgICAgICAgICAgICAgY29sdW1uLm1heFdpZHRoXG4gICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgY29uc3QgdGRQcm9wcyA9IF8uc3BsaXRQcm9wcyhcbiAgICAgICAgICAgICAgICBnZXRUZFByb3BzKGZpbmFsU3RhdGUsIHJvd0luZm8sIGNvbHVtbiwgdGhpcylcbiAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICBjb25zdCBjb2x1bW5Qcm9wcyA9IF8uc3BsaXRQcm9wcyhcbiAgICAgICAgICAgICAgICBjb2x1bW4uZ2V0UHJvcHMoZmluYWxTdGF0ZSwgcm93SW5mbywgY29sdW1uLCB0aGlzKVxuICAgICAgICAgICAgICApXG5cbiAgICAgICAgICAgICAgY29uc3QgY2xhc3NlcyA9IFtcbiAgICAgICAgICAgICAgICB0ZFByb3BzLmNsYXNzTmFtZSxcbiAgICAgICAgICAgICAgICBjb2x1bW4uY2xhc3NOYW1lLFxuICAgICAgICAgICAgICAgIGNvbHVtblByb3BzLmNsYXNzTmFtZSxcbiAgICAgICAgICAgICAgXVxuXG4gICAgICAgICAgICAgIGNvbnN0IHN0eWxlcyA9IHtcbiAgICAgICAgICAgICAgICAuLi50ZFByb3BzLnN0eWxlLFxuICAgICAgICAgICAgICAgIC4uLmNvbHVtbi5zdHlsZSxcbiAgICAgICAgICAgICAgICAuLi5jb2x1bW5Qcm9wcy5zdHlsZSxcbiAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgIGNvbnN0IGNlbGxJbmZvID0ge1xuICAgICAgICAgICAgICAgIC4uLnJvd0luZm8sXG4gICAgICAgICAgICAgICAgaXNFeHBhbmRlZCxcbiAgICAgICAgICAgICAgICBjb2x1bW46IHsgLi4uY29sdW1uIH0sXG4gICAgICAgICAgICAgICAgdmFsdWU6IHJvd0luZm8ucm93W2NvbHVtbi5pZF0sXG4gICAgICAgICAgICAgICAgcGl2b3RlZDogY29sdW1uLnBpdm90ZWQsXG4gICAgICAgICAgICAgICAgZXhwYW5kZXI6IGNvbHVtbi5leHBhbmRlcixcbiAgICAgICAgICAgICAgICByZXNpemVkLFxuICAgICAgICAgICAgICAgIHNob3csXG4gICAgICAgICAgICAgICAgd2lkdGgsXG4gICAgICAgICAgICAgICAgbWF4V2lkdGgsXG4gICAgICAgICAgICAgICAgdGRQcm9wcyxcbiAgICAgICAgICAgICAgICBjb2x1bW5Qcm9wcyxcbiAgICAgICAgICAgICAgICBjbGFzc2VzLFxuICAgICAgICAgICAgICAgIHN0eWxlcyxcbiAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgIGNvbnN0IHZhbHVlID0gY2VsbEluZm8udmFsdWVcblxuICAgICAgICAgICAgICBsZXQgdXNlT25FeHBhbmRlckNsaWNrXG4gICAgICAgICAgICAgIGxldCBpc0JyYW5jaFxuICAgICAgICAgICAgICBsZXQgaXNQcmV2aWV3XG5cbiAgICAgICAgICAgICAgY29uc3Qgb25FeHBhbmRlckNsaWNrID0gZSA9PiB7XG4gICAgICAgICAgICAgICAgbGV0IG5ld0V4cGFuZGVkID0gXy5jbG9uZShleHBhbmRlZClcbiAgICAgICAgICAgICAgICBpZiAoaXNFeHBhbmRlZCkge1xuICAgICAgICAgICAgICAgICAgbmV3RXhwYW5kZWQgPSBfLnNldChuZXdFeHBhbmRlZCwgY2VsbEluZm8ubmVzdGluZ1BhdGgsIGZhbHNlKVxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICBuZXdFeHBhbmRlZCA9IF8uc2V0KG5ld0V4cGFuZGVkLCBjZWxsSW5mby5uZXN0aW5nUGF0aCwge30pXG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMuc2V0U3RhdGVXaXRoRGF0YShcbiAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgZXhwYW5kZWQ6IG5ld0V4cGFuZGVkLFxuICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICgpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgb25FeHBhbmRlZENoYW5nZSAmJlxuICAgICAgICAgICAgICAgICAgICAgIG9uRXhwYW5kZWRDaGFuZ2UobmV3RXhwYW5kZWQsIGNlbGxJbmZvLm5lc3RpbmdQYXRoLCBlKVxuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgIC8vIERlZmF1bHQgdG8gYSBzdGFuZGFyZCBjZWxsXG4gICAgICAgICAgICAgIGxldCByZXNvbHZlZENlbGwgPSBfLm5vcm1hbGl6ZUNvbXBvbmVudChcbiAgICAgICAgICAgICAgICBjb2x1bW4uQ2VsbCxcbiAgICAgICAgICAgICAgICBjZWxsSW5mbyxcbiAgICAgICAgICAgICAgICB2YWx1ZVxuICAgICAgICAgICAgICApXG5cbiAgICAgICAgICAgICAgLy8gUmVzb2x2ZSBSZW5kZXJlcnNcbiAgICAgICAgICAgICAgY29uc3QgUmVzb2x2ZWRBZ2dyZWdhdGVkQ29tcG9uZW50ID1cbiAgICAgICAgICAgICAgICBjb2x1bW4uQWdncmVnYXRlZCB8fFxuICAgICAgICAgICAgICAgICghY29sdW1uLmFnZ3JlZ2F0ZSA/IEFnZ3JlZ2F0ZWRDb21wb25lbnQgOiBjb2x1bW4uQ2VsbClcbiAgICAgICAgICAgICAgY29uc3QgUmVzb2x2ZWRFeHBhbmRlckNvbXBvbmVudCA9XG4gICAgICAgICAgICAgICAgY29sdW1uLkV4cGFuZGVyIHx8IEV4cGFuZGVyQ29tcG9uZW50XG4gICAgICAgICAgICAgIGNvbnN0IFJlc29sdmVkUGl2b3RWYWx1ZUNvbXBvbmVudCA9XG4gICAgICAgICAgICAgICAgY29sdW1uLlBpdm90VmFsdWUgfHwgUGl2b3RWYWx1ZUNvbXBvbmVudFxuICAgICAgICAgICAgICBjb25zdCBEZWZhdWx0UmVzb2x2ZWRQaXZvdENvbXBvbmVudCA9XG4gICAgICAgICAgICAgICAgUGl2b3RDb21wb25lbnQgfHxcbiAgICAgICAgICAgICAgICAocHJvcHMgPT4gKFxuICAgICAgICAgICAgICAgICAgPGRpdj5cbiAgICAgICAgICAgICAgICAgICAgPFJlc29sdmVkRXhwYW5kZXJDb21wb25lbnQgey4uLnByb3BzfSAvPlxuICAgICAgICAgICAgICAgICAgICA8UmVzb2x2ZWRQaXZvdFZhbHVlQ29tcG9uZW50IHsuLi5wcm9wc30gLz5cbiAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICkpXG4gICAgICAgICAgICAgIGNvbnN0IFJlc29sdmVkUGl2b3RDb21wb25lbnQgPVxuICAgICAgICAgICAgICAgIGNvbHVtbi5QaXZvdCB8fCBEZWZhdWx0UmVzb2x2ZWRQaXZvdENvbXBvbmVudFxuXG4gICAgICAgICAgICAgIC8vIElzIHRoaXMgY2VsbCBleHBhbmRhYmxlP1xuICAgICAgICAgICAgICBpZiAoY2VsbEluZm8ucGl2b3RlZCB8fCBjZWxsSW5mby5leHBhbmRlcikge1xuICAgICAgICAgICAgICAgIC8vIE1ha2UgaXQgZXhwYW5kYWJsZSBieSBkZWZ1YWx0XG4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HRoaXMgY29sdW1uIGJlIGJsYW5rP1xuICAgICAgICAgICAgICAgIGlzUHJldmlldyA9XG4gICAgICAgICAgICAgICAgICBwaXZvdEJ5LmluZGV4T2YoY29sdW1uLmlkKSA+XG4gICAgICAgICAgICAgICAgICAgIHBpdm90QnkuaW5kZXhPZihyb3dJbmZvLnJvd1twaXZvdElES2V5XSkgJiYgY2VsbEluZm8uc3ViUm93c1xuICAgICAgICAgICAgICAgIC8vIFBpdm90IENlbGwgUmVuZGVyIE92ZXJyaWRlXG4gICAgICAgICAgICAgICAgaWYgKGlzQnJhbmNoKSB7XG4gICAgICAgICAgICAgICAgICAvLyBpc1Bpdm90XG4gICAgICAgICAgICAgICAgICByZXNvbHZlZENlbGwgPSBfLm5vcm1hbGl6ZUNvbXBvbmVudChcbiAgICAgICAgICAgICAgICAgICAgUmVzb2x2ZWRQaXZvdENvbXBvbmVudCxcbiAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgIC4uLmNlbGxJbmZvLFxuICAgICAgICAgICAgICAgICAgICAgIHZhbHVlOiByb3dbcGl2b3RWYWxLZXldLFxuICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgICByb3dbcGl2b3RWYWxLZXldXG4gICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmIChpc1ByZXZpZXcpIHtcbiAgICAgICAgICAgICAgICAgIC8vIFNob3cgdGhlIHBpdm90IHByZXZpZXdcbiAgICAgICAgICAgICAgICAgIHJlc29sdmVkQ2VsbCA9IF8ubm9ybWFsaXplQ29tcG9uZW50KFxuICAgICAgICAgICAgICAgICAgICBSZXNvbHZlZEFnZ3JlZ2F0ZWRDb21wb25lbnQsXG4gICAgICAgICAgICAgICAgICAgIGNlbGxJbmZvLFxuICAgICAgICAgICAgICAgICAgICB2YWx1ZVxuICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICByZXNvbHZlZENlbGwgPSBudWxsXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICB9IGVsc2UgaWYgKGNlbGxJbmZvLmFnZ3JlZ2F0ZWQpIHtcbiAgICAgICAgICAgICAgICByZXNvbHZlZENlbGwgPSBfLm5vcm1hbGl6ZUNvbXBvbmVudChcbiAgICAgICAgICAgICAgICAgIFJlc29sdmVkQWdncmVnYXRlZENvbXBvbmVudCxcbiAgICAgICAgICAgICAgICAgIGNlbGxJbmZvLFxuICAgICAgICAgICAgICAgICAgdmFsdWVcbiAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICBpZiAoY2VsbEluZm8uZXhwYW5kZXIpIHtcbiAgICAgICAgICAgICAgICByZXNvbHZlZENlbGwgPSBfLm5vcm1hbGl6ZUNvbXBvbmVudChcbiAgICAgICAgICAgICAgICAgIFJlc29sdmVkRXhwYW5kZXJDb21wb25lbnQsXG4gICAgICAgICAgICAgICAgICBjZWxsSW5mbyxcbiAgICAgICAgICAgICAgICAgIHJvd1twaXZvdFZhbEtleV1cbiAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgaWYgKHBpdm90QnkpIHtcbiAgICAgICAgICAgICAgICAgIGlmIChjZWxsSW5mby5ncm91cGVkQnlQaXZvdCkge1xuICAgICAgICAgICAgICAgICAgICByZXNvbHZlZENlbGwgPSBudWxsXG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICBpZiAoIWNlbGxJbmZvLnN1YlJvd3MgJiYgIVN1YkNvbXBvbmVudCkge1xuICAgICAgICAgICAgICAgICAgICByZXNvbHZlZENlbGwgPSBudWxsXG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgLy8gT25seSBhZGQgY2xpY2sgaGFuZGxlciBpZiB0aGUgY2VsbCBpcyBjbGlja2FibGUgdG8gcHJldmVudCBzY3JlZW5cbiAgICAgICAgICAgICAgLy8gcmVhZGVycyBmcm9tIGFubm91bmNpbmcgdGhlIGVsZW1lbnQgYXMgXCJjbGlja2FibGVcIi5cbiAgICAgICAgICAgICAgLy9cbiAgICAgICAgICAgICAgLy8gT3JpZ2luYWxseSwgYSBjbGljayBoYW5kbGVyIHdhcyBhbHdheXMgYmVpbmcgYWRkZWQ6XG4gICAgICAgICAgICAgIC8vIGNvbnN0IHJlc29sdmVkT25FeHBhbmRlckNsaWNrID0gdXNlT25FeHBhbmRlckNsaWNrXG4gICAgICAgICAgICAgIC8vICA/IG9uRXhwYW5kZXJDbGlja1xuICAgICAgICAgICAgICAvLyAgOiAoKSA9PiB7fVxuICAgICAgICAgICAgICBjb25zdCByZXNvbHZlZE9uRXhwYW5kZXJDbGljayA9IHVzZU9uRXhwYW5kZXJDbGlja1xuICAgICAgICAgICAgICAgID8gb25FeHBhbmRlckNsaWNrXG4gICAgICAgICAgICAgICAgOiB1bmRlZmluZWRcblxuICAgICAgICAgICAgICAvLyBJZiB0aGVyZSBhcmUgbXVsdGlwbGUgb25DbGljayBldmVudHMsIG1ha2Ugc3VyZSB0aGV5IGRvbid0IG92ZXJyaWRlIGVhY2hvdGhlci4gVGhpcyBzaG91bGQgbWF5YmUgYmUgZXhwYW5kZWQgdG8gaGFuZGxlIGFsbCBmdW5jdGlvbiBhdHRyaWJ1dGVzXG4gICAgICAgICAgICAgIGNvbnN0IGludGVyYWN0aW9uUHJvcHMgPSB7XG4gICAgICAgICAgICAgICAgb25DbGljazogcmVzb2x2ZWRPbkV4cGFuZGVyQ2xpY2ssXG4gICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICBpZiAodGRQcm9wcy5yZXN0Lm9uQ2xpY2spIHtcbiAgICAgICAgICAgICAgICBpbnRlcmFjdGlvblByb3BzLm9uQ2xpY2sgPSBlID0+IHtcbiAgICAgICAgICAgICAgICAgIHRkUHJvcHMucmVzdC5vbkNsaWNrKGUsIHJlc29sdmVkT25FeHBhbmRlckNsaWNrID8gKCgpID0+IHJlc29sdmVkT25FeHBhbmRlckNsaWNrKGUpKSA6IHVuZGVmaW5lZClcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICBpZiAoY29sdW1uUHJvcHMucmVzdC5vbkNsaWNrKSB7XG4gICAgICAgICAgICAgICAgaW50ZXJhY3Rpb25Qcm9wcy5vbkNsaWNrID0gZSA9PiB7XG4gICAgICAgICAgICAgICAgICBjb2x1bW5Qcm9wcy5yZXN0Lm9uQ2xpY2soZSwgcmVzb2x2ZWRPbkV4cGFuZGVyQ2xpY2sgPyAoKSA9PiByZXNvbHZlZE9uRXhwYW5kZXJDbGljayhlKSA6IHVuZGVmaW5lZClcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAvLyBSZXR1cm4gdGhlIGNlbGxcbiAgICAgICAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgICAgICA8VGRDb21wb25lbnRcbiAgICAgICAgICAgICAgICAgIGtleT17aTIgKyAnLScgKyBjb2x1bW4uaWR9XG4gICAgICAgICAgICAgICAgICBjbGFzc05hbWU9e2NsYXNzbmFtZXMoXG4gICAgICAgICAgICAgICAgICAgIGNsYXNzZXMsXG4gICAgICAgICAgICAgICAgICAgICFzaG93ICYmICdoaWRkZW4nLFxuICAgICAgICAgICAgICAgICAgICBjZWxsSW5mby5leHBhbmRhYmxlICYmICdydC1leHBhbmRhYmxlJyxcbiAgICAgICAgICAgICAgICAgICAgKGlzQnJhbmNoIHx8IGlzUHJldmlldykgJiYgJ3J0LXBpdm90J1xuICAgICAgICAgICAgICAgICAgKX1cbiAgICAgICAgICAgICAgICAgIHN0eWxlPXt7XG4gICAgICAgICAgICAgICAgICAgIC4uLnN0eWxlcyxcbiAgICAgICAgICAgICAgICAgICAgZmxleDogYCR7d2lkdGh9IDAgYXV0b2AsXG4gICAgICAgICAgICAgICAgICAgIHdpZHRoOiBfLmFzUHgod2lkdGgpLFxuICAgICAgICAgICAgICAgICAgICBtYXhXaWR0aDogXy5hc1B4KG1heFdpZHRoKSxcbiAgICAgICAgICAgICAgICAgIH19XG4gICAgICAgICAgICAgICAgICB7Li4udGRQcm9wcy5yZXN0fVxuICAgICAgICAgICAgICAgICAgey4uLmNvbHVtblByb3BzLnJlc3R9XG4gICAgICAgICAgICAgICAgICB7Li4uaW50ZXJhY3Rpb25Qcm9wc31cbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICB7cmVzb2x2ZWRDZWxsfVxuICAgICAgICAgICAgICAgIDwvVGRDb21wb25lbnQ+XG4gICAgICAgICAgICAgIClcbiAgICAgICAgICAgIH0pfVxuICAgICAgICAgIDwvVHJDb21wb25lbnQ+XG4gICAgICAgICAge3Jvd0luZm8uc3ViUm93cyAmJlxuICAgICAgICAgICAgaXNFeHBhbmRlZCAmJlxuICAgICAgICAgICAgcm93SW5mby5zdWJSb3dzLm1hcCgoZCwgaSkgPT5cbiAgICAgICAgICAgICAgbWFrZVBhZ2VSb3coZCwgaSwgcm93SW5mby5uZXN0aW5nUGF0aClcbiAgICAgICAgICAgICl9XG4gICAgICAgICAge1N1YkNvbXBvbmVudCAmJlxuICAgICAgICAgICAgIXJvd0luZm8uc3ViUm93cyAmJlxuICAgICAgICAgICAgaXNFeHBhbmRlZCAmJlxuICAgICAgICAgICAgU3ViQ29tcG9uZW50KHJvd0luZm8pfVxuICAgICAgICA8L1RyR3JvdXBDb21wb25lbnQ+XG4gICAgICApXG4gICAgfVxuXG4gICAgY29uc3QgbWFrZVBhZFJvdyA9IChyb3csIGkpID0+IHtcbiAgICAgIGNvbnN0IHRyR3JvdXBQcm9wcyA9IGdldFRyR3JvdXBQcm9wcyhcbiAgICAgICAgZmluYWxTdGF0ZSxcbiAgICAgICAgdW5kZWZpbmVkLFxuICAgICAgICB1bmRlZmluZWQsXG4gICAgICAgIHRoaXNcbiAgICAgIClcbiAgICAgIGNvbnN0IHRyUHJvcHMgPSBfLnNwbGl0UHJvcHMoXG4gICAgICAgIGdldFRyUHJvcHMoZmluYWxTdGF0ZSwgdW5kZWZpbmVkLCB1bmRlZmluZWQsIHRoaXMpXG4gICAgICApXG4gICAgICByZXR1cm4gKFxuICAgICAgICA8VHJHcm91cENvbXBvbmVudCBrZXk9e2l9IHsuLi50ckdyb3VwUHJvcHN9PlxuICAgICAgICAgIDxUckNvbXBvbmVudFxuICAgICAgICAgICAgY2xhc3NOYW1lPXtjbGFzc25hbWVzKFxuICAgICAgICAgICAgICAnLXBhZFJvdycsXG4gICAgICAgICAgICAgIHRyUHJvcHMuY2xhc3NOYW1lXG4gICAgICAgICAgICApfVxuICAgICAgICAgICAgc3R5bGU9e3RyUHJvcHMuc3R5bGUgfHwge319XG4gICAgICAgICAgPlxuICAgICAgICAgICAge2FsbFZpc2libGVDb2x1bW5zLm1hcChtYWtlUGFkQ29sdW1uKX1cbiAgICAgICAgICA8L1RyQ29tcG9uZW50PlxuICAgICAgICA8L1RyR3JvdXBDb21wb25lbnQ+XG4gICAgICApXG4gICAgfVxuXG4gICAgY29uc3QgbWFrZVBhZENvbHVtbiA9IChjb2x1bW4sIGkpID0+IHtcbiAgICAgIGNvbnN0IHJlc2l6ZWRDb2wgPSByZXNpemVkLmZpbmQoeCA9PiB4LmlkID09PSBjb2x1bW4uaWQpIHx8IHt9XG4gICAgICBjb25zdCBzaG93ID1cbiAgICAgICAgdHlwZW9mIGNvbHVtbi5zaG93ID09PSAnZnVuY3Rpb24nID8gY29sdW1uLnNob3coKSA6IGNvbHVtbi5zaG93XG4gICAgICBsZXQgd2lkdGggPSBfLmdldEZpcnN0RGVmaW5lZChcbiAgICAgICAgcmVzaXplZENvbC52YWx1ZSxcbiAgICAgICAgY29sdW1uLndpZHRoLFxuICAgICAgICBjb2x1bW4ubWluV2lkdGhcbiAgICAgIClcbiAgICAgIGxldCBmbGV4ID0gd2lkdGhcbiAgICAgIGxldCBtYXhXaWR0aCA9I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dpZHRoOiBfLmFzUHgobWF4V2lkdGgpLFxuICAgICAgICAgIH19XG4gICAgICAgICAgey4uLnRkUHJvcHMucmVzdH1cbiAgICAgICAgPlxuICAgICAgICAgIHtfLm5vcm1hbGl6ZUNvbXBvbmVudChQYWRSb3dDb21wb25lbnQpfVxuICAgICAgICA8L1RkQ29tcG9uZW50PlxuICAgICAgKVxuICAgIH1cblxuICAgIGNvbnN0IG1ha2VDb2x1bW5Gb290ZXJzID0gKCkgPT4ge1xuICAgICAgY29uc3QgdEZvb3RQcm9wcyA9IGdldFRmb290UHJvcHMoZmluYWxTdGF0ZSwgdW5kZWZpbmVkLCB1bmRlZmluZWQsIHRoaXMpXG4gICAgICBjb25zdCB0Rm9vdFRyUHJvcHMgPSBfLnNwbGl0UHJvcHMoXG4gICAgICAgIGdldFRmb290VHJQcm9wcyhmaW5hbFN0YXRlLCB1bmRlZmluZWQsIHVuZGVmaW5lZCwgdGhpcylcbiAgICAgIClcbiAgICAgIHJldHVybiAoXG4gICAgICAgIDxUZm9vdENvbXBvbmVudFxuICAgICAgICAgIGNsYXNzTmFtZT17dEZvb3RQcm9wcy5jbGFzc05hbWV9XG4gICAgICAgICAgc3R5bGU9e3tcbiAgICAgICAgICAgIC4uLnRGb290UHJvcHMuc3R5bGUsXG4gICAgICAgICAgICBtaW5XaWR0aDogYCR7cm93TWluV2lkdGh9cHhgLFxuICAgICAgICAgIH19XG4gICAgICAgICAgey4uLnRGb290UHJvcHMucmVzdH1cbiAgICAgICAgPlxuICAgICAgICAgIDxUckNvbXBvbmVudFxuICAgICAgICAgICAgY2xhc3NOYW1lPXtjbGFzc25hbWVzKHRGb290VHJQcm9wcy5jbGFzc05hbWUpfVxuICAgICAgICAgICAgc3R5bGU9e3RGb290VHJQcm9wcy5zdHlsZX1cbiAgICAgICAgICAgIHsuLi50Rm9vdFRyUHJvcHMucmVzdH1cbiAgICAgICAgICA+XG4gICAgICAgICAgICB7YWxsVmlzaWJsZUNvbHVtbnMubWFwKG1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1bW4uZ2V0Rm9vdGVyUHJvcHMoZmluYWxTdGF0ZSwgdW5kZWZpbmVkLCBjb2x1bW4sIHRoaXMpXG4gICAgICApXG5cbiAgICAgIGNvbnN0IGNsYXNzZXMgPSBbXG4gICAgICAgIHRGb290VGRQcm9wcy5jbGFzc05hbWUsXG4gICAgICAgIGNvbHVtbi5mb290ZXJDbGFzc05hbWUsXG4gICAgICAgIGNvbHVtblByb3BzLmZvb3RlckNsYXNzTmFtZSxcbiAgICAgICAgY29sdW1uRm9vdGVyUHJvcHMuY2xhc3NOYW1lLFxuICAgICAgXVxuXG4gICAgICBjb25zdCBzdHlsZXMgPSB7XG4gICAgICAgIC4uLnRGb290VGRQcm9wcy5zdHlsZSxcbiAgICAgICAgLi4uY29sdW1uLmZvb3RlclN0eWxlLFxuICAgICAgICAuLi5jb2x1bW5Qcm9wcy5mb290ZXJTdHlsZSxcbiAgICAgICAgLi4uY29sdW1uRm9vdGVyUHJvcHMuc3R5bGUsXG4gICAgICB9XG5cbiAgICAgIHJldHVybiAoXG4gICAgICAgIDxUZENvbXBvbmVudFxuICAgICAgICAgIGtleT17aSArICctJyArIGNvbHVtbi5pZH1cbiAgICAgICAgICBjbGFzc05hbWU9e2NsYXNzbmFtZXMoY2xhc3NlcywgIXNob3cgJiYgJ2hpZGRlbicpfVxuICAgICAgICAgIHN0eWxlPXt7XG4gICAgICAgICAgICAuLi5zdHlsZXMsXG4gICAgICAgICAgICBmbGV4OiBgJHt3aWR0aH0gMCBhdXRvYCxcbiAgICAgICAgICAgIHdpZHRoOiBfLmFzUHgod2lkdGgpLFxuICAgICAgICAgICAgbWF4V2lkdGg6IF8uYXNQeChtYXhXaWR0aCksXG4gICAgICAgICAgfX1cbiAgICAgICAgICB7Li4uY29sdW1uUHJvcHMucmVzdH1cbiAgICAgICAgICB7Li4udEZvb3RUZFByb3BzLnJlc3R9XG4gICAgICAgICAgey4uLmNvbHVtbkZvb3RlclByb3BzLnJlc3R9XG4gICAgICAgID5cbiAg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ICAgICAgICAgICAgPyA8ZGl2IGNsYXNzTmFtZT0ncGFnaW5hdGlvbi10b3AnPlxuICAgICAgICAgICAgICB7cGFnaW5hdGlvbn1cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgOiBudWxsfVxuICAgICAgICAgIDxUYWJsZUNvbXBvbmVudFxuICAgICAgICAgICAgY2xhc3NOYW1lPXtjbGFzc25hbWVzKFxuICAgICAgICAgICAgICB0YWJsZVByb3BzLmNsYXNzTmFtZSxcbiAgICAgICAgICAgICAgY3VycmVudGx5UmVzaXppbmcgPyAncnQtcmVzaXppbmcnIDogJydcbiAgICAgICAgICAgICl9XG4gICAgICAgICAgICBzdHlsZT17dGFibGVQcm9wcy5zdHlsZX1cbiAgICAgICAgICAgIHsuLi50YWJsZVByb3BzLnJlc3R9XG4gICAgICAgICAgPlxuICAgICAgICAgICAge2hhc0hlYWRlckdyb3VwcyA/IG1ha2VIZWFkZXJHcm91cHMoKSA6IG51bGx9XG4gICAgICAgICAgICB7bWFrZUhlYWRlcnMoKX1cbiAgICAgICAgICAgIHtoYXNGaWx0ZXJzID8gbWFrZUZpbHRlcnMoKSA6IG51bGx9XG4gICAgICAgICAgICA8VGJvZHlDb21wb25lbnRcbiAgICAgICAgICAgICAgY2xhc3NOYW1lPXtjbGFzc25hbWVzKHRCb2R5UHJvcHMuY2xhc3NOYW1lKX1cbiAgICAgICAgICAgICAgc3R5bGU9e3tcbiAgICAgICAgICAgICAgICAuLi50Qm9keVByb3BzLnN0eWxlLFxuICAgICAgICAgICAgICAgIG1pbldpZHRoOiBgJHtyb3dNaW5XaWR0aH1weGAsXG4gICAgICAgICAgICAgIH19XG4gICAgICAgICAgICAgIHsuLi50Qm9keVByb3BzLnJlc3R9XG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgIHtwYWdlUm93cy5tYXAoKGQsIGkpID0+IG1ha2VQYWdlUm93KGQsIGkpKX1cbiAgICAgICAgICAgICAge3BhZFJvd3MubWFwKG1ha2VQYWRSb3cpfVxuICAgICAgICAgICAgPC9UYm9keUNvbXBvbmVudD5cbiAgICAgICAgICAgIHtoYXNDb2x1bW5Gb290ZXIgPyBtYWtlQ29sdW1uRm9vdGVycygpIDogbnVsbH1cbiAgICAgICAgICA8L1RhYmxlQ29tcG9uZW50PlxuICAgICAgICAgIHtzaG93UGFnaW5hdGlvbiAmJiBzaG93UGFnaW5hdGlvbkJvdHRvbVxuICAgICAgICAgICAgPyA8ZGl2IGNsYXNzTmFtZT0ncGFnaW5hdGlvbi1ib3R0b20nPlxuICAgICAgICAgICAgICB7cGFnaW5hdGlvbn1cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgOiBudWxsfVxuICAgICAgICAgIHshcGFnZVJvd3MubGVuZ3RoICYmXG4gICAgICAgICAgICA8Tm9EYXRhQ29tcG9uZW50IHsuLi5ub0RhdGFQcm9wc30+XG4gICAgICAgICAgICAgIHtfLm5vcm1hbGl6ZUNvbXBvbmVudChub0RhdGFUZXh0KX1cbiAgICAgICAgICAgIDwvTm9EYXRhQ29tcG9uZW50Pn1cbiAgICAgICAgICA8TG9hZGluZ0NvbXBvbmVudFxuICAgICAgICAgICAgbG9hZGluZz17bG9hZGluZ31cbiAgICAgICAgICAgIGxvYWRpbmdUZXh0PXtsb2FkaW5nVGV4dH1cbiAgICAgICAgICAgIHsuLi5sb2FkaW5nUHJvcHN9XG4gICAgICAgICAgLz5cbiAgICAgICAgPC9kaXY+XG4gICAgICApXG4gICAgfVxuXG4gICAgLy8gY2hpbGRQcm9wcyBhcmUgb3B0aW9uYWxseSBwYXNzZWQgdG8gYSBmdW5jdGlvbi1hcy1hLWNoaWxkXG4gICAgcmV0dXJuIGNoaWxkcmVuID8gY2hpbGRyZW4oZmluYWxTdGF0ZSwgbWFrZVRhYmxlLCB0aGlzKSA6IG1ha2VUYWJsZSgpXG4gIH1cbn1cbiJdfQ==","module.exports = window.reactR;","/*!\n Copyright (c) 2017 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg) && arg.length) {\n\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\tif (inner) {\n\t\t\t\t\tclasses.push(inner);\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\n//\nexports.default = {\n get: get,\n set: set,\n takeRight: takeRight,\n last: last,\n orderBy: orderBy,\n range: range,\n remove: remove,\n clone: clone,\n getFirstDefined: getFirstDefined,\n sum: sum,\n makeTemplateComponent: makeTemplateComponent,\n groupBy: groupBy,\n isArray: isArray,\n splitProps: splitProps,\n compactObject: compactObject,\n isSortingDesc: isSortingDesc,\n normalizeComponent: normalizeComponent,\n asPx: asPx\n};\n\n\nfunction get(obj, path, def) {\n if (!path) {\n return obj;\n }\n var pathObj = makePathArray(path);\n var val = void 0;\n try {\n val = pathObj.reduce(function (current, pathPart) {\n return current[pathPart];\n }, obj);\n } catch (e) {}\n return typeof val !== 'undefined' ? val : def;\n}\n\nfunction set() {\n var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var path = arguments[1];\n var value = arguments[2];\n\n var keys = makePathArray(path);\n var keyPart = void 0;\n var cursor = obj;\n while ((keyPart = keys.shift()) && keys.length) {\n if (!cursor[keyPart]) {\n cursor[keyPart] = {};\n }\n cursor = cursor[keyPart];\n }\n cursor[keyPart] = value;\n return obj;\n}\n\nfunction takeRight(arr, n) {\n var start = n > arr.length ? 0 : arr.length - n;\n return arr.slice(start);\n}\n\nfunction last(arr) {\n return arr[arr.length - 1];\n}\n\nfunction range(n) {\n var arr = [];\n for (var i = 0; i < n; i++) {\n arr.push(n);\n }\n return arr;\n}\n\nfunction orderBy(arr, funcs, dirs, indexKey) {\n return arr.sort(function (rowA, rowB) {\n for (var i = 0; i < funcs.length; i++) {\n var comp = funcs[i];\n var desc = dirs[i] === false || dirs[i] === 'desc';\n var sortInt = comp(rowA, rowB);\n if (sortInt) {\n return desc ? -sortInt : sortInt;\n }\n }\n // Use the row index for tie breakers\n return dirs[0] ? rowA[indexKey] - rowB[indexKey] : rowB[indexKey] - rowA[indexKey];\n });\n}\n\nfunction remove(a, b) {\n return a.filter(function (o, i) {\n var r = b(o);\n if (r) {\n a.splice(i, 1);\n return true;\n }\n return false;\n });\n}\n\nfunction clone(a) {\n try {\n return JSON.parse(JSON.stringify(a, function (key, value) {\n if (typeof value === 'function') {\n return value.toString();\n }\n return value;\n }));\n } catch (e) {\n return a;\n }\n}\n\nfunction getFirstDefined() {\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n for (var i = 0; i < args.length; i++) {\n if (typeof args[i] !== 'undefined') {\n return args[i];\n }\n }\n}\n\nfunction sum(arr) {\n return arr.reduce(function (a, b) {\n return a + b;\n }, 0);\n}\n\nfunction makeTemplateComponent(compClass, displayName) {\n if (!displayName) {\n throw new Error('No displayName found for template component:', compClass);\n }\n var cmp = function cmp(_ref) {\n var children = _ref.children,\n className = _ref.className,\n rest = _objectWithoutProperties(_ref, ['children', 'className']);\n\n return _react2.default.createElement(\n 'div',\n _extends({ className: (0, _classnames2.default)(compClass, className) }, rest),\n children\n );\n };\n cmp.displayName = displayName;\n return cmp;\n}\n\nfunction groupBy(xs, key) {\n return xs.reduce(function (rv, x, i) {\n var resKey = typeof key === 'function' ? key(x, i) : x[key];\n rv[resKey] = isArray(rv[resKey]) ? rv[resKey] : [];\n rv[resKey].push(x);\n return rv;\n }, {});\n}\n\nfunction asPx(value) {\n value = Number(value);\n return Number.isNaN(value) ? null : value + 'px';\n}\n\nfunction isArray(a) {\n return Array.isArray(a);\n}\n\n// ########################################################################\n// Non-exported Helpers\n// ########################################################################\n\nfunction makePathArray(obj) {\n return flattenDeep(obj).join('.').replace(/\\[/g, '.').replace(/\\]/g, '').split('.');\n}\n\nfunction flattenDeep(arr) {\n var newArr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n\n if (!isArray(arr)) {\n newArr.push(arr);\n } else {\n for (var i = 0; i < arr.length; i++) {\n flattenDeep(arr[i], newArr);\n }\n }\n return newArr;\n}\n\nfunction splitProps(_ref2) {\n var className = _ref2.className,\n style = _ref2.style,\n rest = _objectWithoutProperties(_ref2, ['className', 'style']);\n\n return {\n className: className,\n style: style,\n rest: rest || {}\n };\n}\n\nfunction compactObject(obj) {\n var newObj = {};\n for (var key in obj) {\n if (obj.hasOwnProperty(key) && obj[key] !== undefined && typeof obj[key] !== 'undefined') {\n newObj[key] = obj[key];\n }\n }\n return newObj;\n}\n\nfunction isSortingDesc(d) {\n return !!(d.sort === 'desc' || d.desc === true || d.asc === false);\n}\n\nfunction normalizeComponent(Comp) {\n var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var fallback = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : Comp;\n\n return typeof Comp === 'function' ? Object.getPrototypeOf(Comp).isReactComponent ? _react2.default.createElement(Comp, params) : Comp(params) : fallback;\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy91dGlscy5qcyJdLCJuYW1lcyI6WyJnZXQiLCJzZXQiLCJ0YWtlUmlnaHQiLCJsYXN0Iiwib3JkZXJCeSIsInJhbmdlIiwicmVtb3ZlIiwiY2xvbmUiLCJnZXRGaXJzdERlZmluZWQiLCJzdW0iLCJtYWtlVGVtcGxhdGVDb21wb25lbnQiLCJncm91cEJ5IiwiaXNBcnJheSIsInNwbGl0UHJvcHMiLCJjb21wYWN0T2JqZWN0IiwiaXNTb3J0aW5nRGVzYyIsIm5vcm1hbGl6ZUNvbXBvbmVudCIsImFzUHgiLCJvYmoiLCJwYXRoIiwiZGVmIiwicGF0aE9iaiIsIm1ha2VQYXRoQXJyYXkiLCJ2YWwiLCJyZWR1Y2UiLCJjdXJyZW50IiwicGF0aFBhcnQiLCJlIiwidmFsdWUiLCJrZXlzIiwia2V5UGFydCIsImN1cnNvciIsInNoaWZ0IiwibGVuZ3RoIiwiYXJyIiwibiIsInN0YXJ0Iiwic2xpY2UiLCJpIiwicHVzaCIsImZ1bmNzIiwiZGlycyIsImluZGV4S2V5Iiwic29ydCIsInJvd0EiLCJ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B7fSxcbiAgfVxufVxuXG5mdW5jdGlvbiBjb21wYWN0T2JqZWN0IChvYmopIHtcbiAgY29uc3QgbmV3T2JqID0ge31cbiAgZm9yICh2YXIga2V5IGluIG9iaikge1xuICAgIGlmIChcbiAgICAgIG9iai5oYXNPd25Qcm9wZXJ0eShrZXkpICYmXG4gICAgICBvYmpba2V5XSAhPT0gdW5kZWZpbmVkICYmXG4gICAgICB0eXBlb2Ygb2JqW2tleV0gIT09ICd1bmRlZmluZWQnXG4gICAgKSB7XG4gICAgICBuZXdPYmpba2V5XSA9IG9ialtrZXldXG4gICAgfVxuICB9XG4gIHJldHVybiBuZXdPYmpcbn1cblxuZnVuY3Rpb24gaXNTb3J0aW5nRGVzYyAoZCkge1xuICByZXR1cm4gISEoZC5zb3J0ID09PSAnZGVzYycgfHwgZC5kZXNjID09PSB0cnVlIHx8IGQuYXNjID09PSBmYWxzZSlcbn1cblxuZnVuY3Rpb24gbm9ybWFsaXplQ29tcG9uZW50IChDb21wLCBwYXJhbXMgPSB7fSwgZmFsbGJhY2sgPSBDb21wKSB7XG4gIHJldHVybiB0eXBlb2YgQ29tcCA9PT0gJ2Z1bmN0aW9uJ1xuICAgID8gT2JqZWN0LmdldFByb3RvdHlwZU9mKENvbXApLmlzUmVhY3RDb21wb25lbnRcbiAgICAgID8gPENvbXAgey4uLnBhcmFtc30gLz5cbiAgICAgIDogQ29tcChwYXJhbXMpXG4gICAgOiBmYWxsYmFja1xufVxuIl19","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function (useSourceMap) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item, useSourceMap);\n\n if (item[2]) {\n return '@media ' + item[2] + '{' + content + '}';\n } else {\n return content;\n }\n }).join('');\n }; // import a list of modules into the list\n\n\n list.i = function (modules, mediaQuery) {\n if (typeof modules === 'string') {\n modules = [[null, modules, '']];\n }\n\n var alreadyImportedModules = {};\n\n for (var i = 0; i < this.length; i++) {\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n\n for (i = 0; i < modules.length; i++) {\n var item = modules[i]; // skip already imported module\n // this implementation is not 100% perfect for weird media query combinations\n // when a module is imported multiple times with different media queries.\n // I hope this will never occur (Hey this way we have smaller bundles)\n\n if (item[0] == null || !alreadyImportedModules[item[0]]) {\n if (mediaQuery && !item[2]) {\n item[2] = mediaQuery;\n } else if (mediaQuery) {\n item[2] = '(' + item[2] + ') and (' + mediaQuery + ')';\n }\n\n list.push(item);\n }\n }\n };\n\n return list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n var content = item[1] || '';\n var cssMapping = item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (useSourceMap && typeof btoa === 'function') {\n var sourceMapping = toComment(cssMapping);\n var sourceURLs = cssMapping.sources.map(function (source) {\n return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */';\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n }\n\n return [content].join('\\n');\n} // Adapted from convert-source-map (MIT)\n\n\nfunction toComment(sourceMap) {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n return '/*# ' + data + ' */';\n}","/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\nvar stylesInDom = {};\n\nvar\tmemoize = function (fn) {\n\tvar memo;\n\n\treturn function () {\n\t\tif (typeof memo === \"undefined\") memo = fn.apply(this, arguments);\n\t\treturn memo;\n\t};\n};\n\nvar isOldIE = memoize(function () {\n\t// Test for IE <= 9 as proposed by Browserhacks\n\t// @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805\n\t// Tests for existence of standard globals is to allow style-loader\n\t// to operate correctly into non-standard environments\n\t// @see https://github.com/webpack-contrib/style-loader/issues/177\n\treturn window && document && document.all && !window.atob;\n});\n\nvar getTarget = function (target, parent) {\n if (parent){\n return parent.querySelector(target);\n }\n return document.querySelector(target);\n};\n\nvar getElement = (function (fn) {\n\tvar memo = {};\n\n\treturn function(target, parent) {\n // If passing function in options, then use it for resolve \"head\" element.\n // Useful for Shadow Root style i.e\n // {\n // insertInto: function () { return document.querySelector(\"#foo\").shadowRoot }\n // }\n if (typeof target === 'function') {\n return target();\n }\n if (typeof memo[target] === \"undefined\") {\n\t\t\tvar styleTarget = getTarget.call(this, target, parent);\n\t\t\t// Special case to return head of iframe instead of iframe itself\n\t\t\tif (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n\t\t\t\ttry {\n\t\t\t\t\t// This will throw an exception if access to iframe is blocked\n\t\t\t\t\t// due to cross-origin restrictions\n\t\t\t\t\tstyleTarget = styleTarget.contentDocument.head;\n\t\t\t\t} catch(e) {\n\t\t\t\t\tstyleTarget = null;\n\t\t\t\t}\n\t\t\t}\n\t\t\tmemo[target] = styleTarget;\n\t\t}\n\t\treturn memo[target]\n\t};\n})();\n\nvar singleton = null;\nvar\tsingletonCounter = 0;\nvar\tstylesInsertedAtTop = [];\n\nvar\tfixUrls = require(\"./urls\");\n\nmodule.exports = function(list, options) {\n\tif (typeof DEBUG !== \"undefined\" && DEBUG) {\n\t\tif (typeof document !== \"object\") throw new Error(\"The style-loader cannot be used in a non-browser environment\");\n\t}\n\n\toptions = options || {};\n\n\toptions.attrs = typeof options.attrs === \"object\" ? options.attrs : {};\n\n\t// Force single-tag solution on IE6-9, which has a hard limit on the # of