@knapsack/app
Version:
Build Design Systems on top of knapsack, by Basalt
2 lines • 22.8 kB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([["vendors~bad-route-2mkgt~custom-page-KXWAf~graphiql-page-QvAQg~home-page-WyKJQ~page-with-sidebar-I1Yd~217d0701"],{"../node_modules/css-loader/dist/cjs.js!../node_modules/react-table/react-table.css":function(t,e,o){(e=o("../node_modules/css-loader/dist/runtime/api.js")(!1)).push([t.i,".ReactTable{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border:1px solid rgba(0,0,0,0.1);}.ReactTable *{box-sizing:border-box}.ReactTable .rt-table{-webkit-box-flex:1;-ms-flex:auto 1;flex:auto 1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;width:100%;border-collapse:collapse;overflow:auto}.ReactTable .rt-thead{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.ReactTable .rt-thead.-headerGroups{background:rgba(0,0,0,0.03);border-bottom:1px solid rgba(0,0,0,0.05)}.ReactTable .rt-thead.-filters{border-bottom:1px solid rgba(0,0,0,0.05);}.ReactTable .rt-thead.-filters input,.ReactTable .rt-thead.-filters select{border:1px solid rgba(0,0,0,0.1);background:#fff;padding:5px 7px;font-size:inherit;border-radius:3px;font-weight:normal;outline-width:0}.ReactTable .rt-thead.-filters .rt-th{border-right:1px solid rgba(0,0,0,0.02)}.ReactTable .rt-thead.-header{box-shadow:0 2px 15px 0 rgba(0,0,0,0.15)}.ReactTable .rt-thead .rt-tr{text-align:center}.ReactTable .rt-thead .rt-th,.ReactTable .rt-thead .rt-td{padding:5px 5px;line-height:normal;position:relative;border-right:1px solid rgba(0,0,0,0.05);transition:box-shadow .3s cubic-bezier(.175,.885,.32,1.275);box-shadow:inset 0 0 0 0 transparent;}.ReactTable .rt-thead .rt-th.-sort-asc,.ReactTable .rt-thead .rt-td.-sort-asc{box-shadow:inset 0 3px 0 0 rgba(0,0,0,0.6)}.ReactTable .rt-thead .rt-th.-sort-desc,.ReactTable .rt-thead .rt-td.-sort-desc{box-shadow:inset 0 -3px 0 0 rgba(0,0,0,0.6)}.ReactTable .rt-thead .rt-th.-cursor-pointer,.ReactTable .rt-thead .rt-td.-cursor-pointer{cursor:pointer}.ReactTable .rt-thead .rt-th:last-child,.ReactTable .rt-thead .rt-td:last-child{border-right:0}.ReactTable .rt-thead .rt-th:focus{outline-width:0}.ReactTable .rt-thead .rt-resizable-header{overflow:visible;}.ReactTable .rt-thead .rt-resizable-header:last-child{overflow:hidden}.ReactTable .rt-thead .rt-resizable-header-content{overflow:hidden;text-overflow:ellipsis}.ReactTable .rt-thead .rt-header-pivot{border-right-color:#f7f7f7}.ReactTable .rt-thead .rt-header-pivot:after,.ReactTable .rt-thead .rt-header-pivot:before{left:100%;top:50%;border:solid transparent;content:\" \";height:0;width:0;position:absolute;pointer-events:none}.ReactTable .rt-thead .rt-header-pivot:after{border-color:rgba(255,255,255,0);border-left-color:#fff;border-width:8px;margin-top:-8px}.ReactTable .rt-thead .rt-header-pivot:before{border-color:rgba(102,102,102,0);border-left-color:#f7f7f7;border-width:10px;margin-top:-10px}.ReactTable .rt-tbody{-webkit-box-flex:99999;-ms-flex:99999 1 auto;flex:99999 1 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:auto;}.ReactTable .rt-tbody .rt-tr-group{border-bottom:solid 1px rgba(0,0,0,0.05);}.ReactTable .rt-tbody .rt-tr-group:last-child{border-bottom:0}.ReactTable .rt-tbody .rt-td{border-right:1px solid rgba(0,0,0,0.02);}.ReactTable .rt-tbody .rt-td:last-child{border-right:0}.ReactTable .rt-tbody .rt-expandable{cursor:pointer;text-overflow:clip}.ReactTable .rt-tr-group{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.ReactTable .rt-tr{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.ReactTable .rt-th,.ReactTable .rt-td{-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;white-space:nowrap;text-overflow:ellipsis;padding:7px 5px;overflow:hidden;transition:.3s ease;transition-property:width,min-width,padding,opacity;}.ReactTable .rt-th.-hidden,.ReactTable .rt-td.-hidden{width:0 !important;min-width:0 !important;padding:0 !important;border:0 !important;opacity:0 !important}.ReactTable .rt-expander{display:inline-block;position:relative;margin:0;color:transparent;margin:0 10px;}.ReactTable .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,0.8);transition:all .3s cubic-bezier(.175,.885,.32,1.275);cursor:pointer}.ReactTable .rt-expander.-open:after{-webkit-transform:translate(-50%,-50%) rotate(0);transform:translate(-50%,-50%) rotate(0)}.ReactTable .rt-resizer{display:inline-block;position:absolute;width:36px;top:0;bottom:0;right:-18px;cursor:col-resize;z-index:10}.ReactTable .rt-tfoot{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;box-shadow:0 0 15px 0 rgba(0,0,0,0.15);}.ReactTable .rt-tfoot .rt-td{border-right:1px solid rgba(0,0,0,0.05);}.ReactTable .rt-tfoot .rt-td:last-child{border-right:0}.ReactTable.-striped .rt-tr.-odd{background:rgba(0,0,0,0.03)}.ReactTable.-highlight .rt-tbody .rt-tr:not(.-padRow):hover{background:rgba(0,0,0,0.05)}.ReactTable .-pagination{z-index:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:3px;box-shadow:0 0 15px 0 rgba(0,0,0,0.1);border-top:2px solid rgba(0,0,0,0.1);}.ReactTable .-pagination input,.ReactTable .-pagination select{border:1px solid rgba(0,0,0,0.1);background:#fff;padding:5px 7px;font-size:inherit;border-radius:3px;font-weight:normal;outline-width:0}.ReactTable .-pagination .-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;width:100%;height:100%;border:0;border-radius:3px;padding:6px;font-size:1em;color:rgba(0,0,0,0.6);background:rgba(0,0,0,0.1);transition:all .1s ease;cursor:pointer;outline-width:0;}.ReactTable .-pagination .-btn[disabled]{opacity:.5;cursor:default}.ReactTable .-pagination .-btn:not([disabled]):hover{background:rgba(0,0,0,0.3);color:#fff}.ReactTable .-pagination .-previous,.ReactTable .-pagination .-next{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:center}.ReactTable .-pagination .-center{-webkit-box-flex:1.5;-ms-flex:1.5;flex:1.5;text-align:center;margin-bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around}.ReactTable .-pagination .-pageInfo{display:inline-block;margin:3px 10px;white-space:nowrap}.ReactTable .-pagination .-pageJump{display:inline-block;}.ReactTable .-pagination .-pageJump input{width:70px;text-align:center}.ReactTable .-pagination .-pageSizeOptions{margin:3px 10px}.ReactTable .rt-noData{display:block;position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);background:rgba(255,255,255,0.8);transition:all .3s ease;z-index:1;pointer-events:none;padding:20px;color:rgba(0,0,0,0.5)}.ReactTable .-loading{display:block;position:absolute;left:0;right:0;top:0;bottom:0;background:rgba(255,255,255,0.8);transition:all .3s ease;z-index:-1;opacity:0;pointer-events:none;}.ReactTable .-loading > div{position:absolute;display:block;text-align:center;width:100%;top:50%;left:0;font-size:15px;color:rgba(0,0,0,0.6);-webkit-transform:translateY(-52%);transform:translateY(-52%);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-th,.ReactTable .rt-resizing .rt-td{transition:none !important;cursor:col-resize;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}",""]),t.exports=e},"../node_modules/react-table/react-table.css":function(t,e,o){var i=o("../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),r=o("../node_modules/css-loader/dist/cjs.js!../node_modules/react-table/react-table.css");"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var n={insert:"head",singleton:!1},a=(i(r,n),r.locals?r.locals:{});t.exports=a},"../node_modules/react-tiny-popover/dist/ArrowContainer.js":function(t,e,o){var i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,o=1,i=arguments.length;o<i;o++)for(var r in e=arguments[o])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var r=o("react"),n=o("../node_modules/react-tiny-popover/dist/util.js");e.ArrowContainer=function(t){var e=t.position,o=t.children,a=t.style,l=t.arrowColor,s=void 0===l?n.Constants.DEFAULT_ARROW_COLOR:l,p=t.arrowSize,d=void 0===p?10:p,c=t.arrowStyle,b=t.popoverRect,u=t.targetRect;return r.createElement("div",{style:i({paddingLeft:"right"===e?d:0,paddingTop:"bottom"===e?d:0,paddingBottom:"top"===e?d:0,paddingRight:"left"===e?d:0},a)},r.createElement("div",{style:i(i({position:"absolute"},function(){var t=2*d,o=u.top-b.top+u.height/2-t/2,i=u.left-b.left+u.width/2-t/2;switch(i=(i=i<0?0:i)+t>b.width?b.width-t:i,o=(o=o<0?0:o)+t>b.height?b.height-t:o,e){case"right":return{borderTop:d+"px solid transparent",borderBottom:d+"px solid transparent",borderRight:d+"px solid "+s,left:0,top:o};case"left":return{borderTop:d+"px solid transparent",borderBottom:d+"px solid transparent",borderLeft:d+"px solid "+s,right:0,top:o};case"bottom":return{borderLeft:d+"px solid transparent",borderRight:d+"px solid transparent",borderBottom:d+"px solid "+s,top:0,left:i};case"top":default:return{borderLeft:d+"px solid transparent",borderRight:d+"px solid transparent",borderTop:d+"px solid "+s,bottom:0,left:i}}}()),c)}),o)}},"../node_modules/react-tiny-popover/dist/Popover.js":function(t,e,o){var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function __(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),n=this&&this.__spreadArrays||function(){for(var t=0,e=0,o=arguments.length;e<o;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<o;e++)for(var n=arguments[e],a=0,l=n.length;a<l;a++,r++)i[r]=n[a];return i};Object.defineProperty(e,"__esModule",{value:!0});var a=o("react"),l=o("../node_modules/react-dom/index.js"),s=o("../node_modules/react-tiny-popover/dist/util.js"),p=o("../node_modules/react-tiny-popover/dist/ArrowContainer.js");e.ArrowContainer=p.ArrowContainer;var d=o("../node_modules/react-tiny-popover/dist/PopoverPortal.js"),c=function(t){function Popover(e){var o=t.call(this,e)||this;return o.target=null,o.targetRect=null,o.targetPositionIntervalHandler=null,o.popoverDiv=null,o.positionOrder=null,o.willUnmount=!1,o.willMount=!1,o.onResize=function(){o.renderPopover()},o.onClick=function(t){var e=o.props,i=e.onClickOutside,r=e.isOpen;o.willUnmount||o.willMount||o.popoverDiv.contains(t.target)||o.target.contains(t.target)||!i||!r||i(t)},o.state={popoverInfo:null,isTransitioningToClosed:!1,internalisOpen:!1},o.willUnmount=!1,o.willMount=!0,o}return r(Popover,t),Popover.getDerivedStateFromProps=function(t,e){var o=e.internalisOpen,i=e.isTransitioningToClosed,r=t.isOpen;return!0!==o||!1!==r||i?null:{internalisOpen:!1,isTransitioningToClosed:!0}},Popover.prototype.componentDidMount=function(){var t=this;window.setTimeout((function(){return t.willMount=!1}));var e=this.props,o=e.position,i=e.isOpen;this.target=l.findDOMNode(this),this.positionOrder=this.getPositionPriorityOrder(o),this.updatePopover(i)},Popover.prototype.componentWillUnmount=function(){this.willUnmount=!0,window.clearTimeout(this.removePopoverTimeout),window.clearInterval(this.targetPositionIntervalHandler),window.removeEventListener("resize",this.onResize),window.removeEventListener("click",this.onClick),this.removePopover()},Popover.prototype.componentDidUpdate=function(t){null==this.target&&(this.target=l.findDOMNode(this));var e=t.isOpen,o=t.align,i=t.position,r=t.transitionDuration,n=this.props,a=n.isOpen,s=n.position,p=n.transitionDuration,d=n.align;this.positionOrder=this.getPositionPriorityOrder(this.props.position);var c=t.contentDestination!==this.props.contentDestination;(e!==a||o!==d||i!==s||c)&&this.updatePopover(a),r!==p&&(this.popoverDiv.style.transition="opacity "+p+"s")},Popover.prototype.render=function(){var t,e=this.props.content,o=this.state,i=o.popoverInfo,r=o.isTransitioningToClosed,n=null;if((this.props.isOpen||r)&&this.popoverDiv&&i){n=a.createElement(d.PopoverPortal,{element:this.popoverDiv,container:this.props.contentDestination||window.document.body,children:(t=i,"function"==typeof e?e(t):e)})}return a.createElement(a.Fragment,null,this.props.children,n)},Popover.prototype.updatePopover=function(t){if(t&&null!=this.target){if(!this.popoverDiv||!this.popoverDiv.parentNode){var e=this.props.transitionDuration;this.popoverDiv=this.createContainer(),this.popoverDiv.style.opacity="0",this.popoverDiv.style.transition="opacity "+e+"s"}window.addEventListener("resize",this.onResize),window.addEventListener("click",this.onClick),this.renderPopover()}else this.removePopover()},Popover.prototype.renderPopover=function(t){var e=this;void 0===t&&(t=0),t>=this.positionOrder.length||this.renderWithPosition({position:this.positionOrder[t],targetRect:this.target.getBoundingClientRect()},(function(o,i){var r,n=e.props,a=n.disableReposition,l=n.contentLocation;if(o&&!a&&"object"!=typeof l)e.renderPopover(t+1);else{var s=e.props,p=s.contentLocation,d=s.align,c=e.getNudgedPopoverPosition(i),b=c.top,u=c.left,h=i.top,f=i.left,v=e.positionOrder[t],g=a?{top:h,left:f}:{top:b,left:u},x=g.top,w=g.left;if(p){var m=e.target.getBoundingClientRect(),y=e.popoverDiv.getBoundingClientRect();x=(r="function"==typeof p?p({targetRect:m,popoverRect:y,position:v,align:d,nudgedLeft:u,nudgedTop:b}):p).top,w=r.left,e.popoverDiv.style.left=w.toFixed()+"px",e.popoverDiv.style.top=x.toFixed()+"px"}else{var T=0,R=0;if(e.props.contentDestination){var P=e.props.contentDestination.getBoundingClientRect();T=-P.top,R=-P.left}var _=[x+window.pageYOffset,w+window.pageXOffset],k=_[1]+T,O=_[0]+R;e.popoverDiv.style.left=k.toFixed()+"px",e.popoverDiv.style.top=O.toFixed()+"px"}e.popoverDiv.style.width=null,e.popoverDiv.style.height=null,e.renderWithPosition({position:v,nudgedTop:b-i.top,nudgedLeft:u-i.left,targetRect:e.target.getBoundingClientRect(),popoverRect:e.popoverDiv.getBoundingClientRect()},(function(){e.startTargetPositionListener(10),"1"===e.popoverDiv.style.opacity||e.state.isTransitioningToClosed||(e.popoverDiv.style.opacity="1")}))}}))},Popover.prototype.renderWithPosition=function(t,e){var o=this,i=t.position,r=t.nudgedLeft,n=void 0===r?0:r,a=t.nudgedTop,l=void 0===a?0:a,p=t.targetRect,d=void 0===p?s.Constants.EMPTY_CLIENT_RECT:p,c=t.popoverRect,b=void 0===c?s.Constants.EMPTY_CLIENT_RECT:c,u=this.props,h=u.windowBorderPadding,f=u.align,v={position:i,nudgedLeft:n,nudgedTop:l,targetRect:d,popoverRect:b,align:f};s.popoverInfosAreEqual(this.state.popoverInfo,v)||(window.clearTimeout(this.removePopoverTimeout),this.setState({popoverInfo:v,isTransitioningToClosed:!1,internalisOpen:!0},(function(){if(!o.willUnmount){d=o.target.getBoundingClientRect(),b=o.popoverDiv.getBoundingClientRect();var t=o.getLocationForPosition(i,d,b),r=t.top,n=t.left;e("top"===i&&r<h||"left"===i&&n<h||"right"===i&&n+b.width>window.innerWidth-h||"bottom"===i&&r+b.height>window.innerHeight-h,{width:b.width,height:b.height,top:r,left:n})}})))},Popover.prototype.startTargetPositionListener=function(t){var e=this;null===this.targetPositionIntervalHandler&&(this.targetPositionIntervalHandler=window.setInterval((function(){var t=e.target.getBoundingClientRect();s.targetPositionHasChanged(e.targetRect,t)&&e.renderPopover(),e.targetRect=t}),t))},Popover.prototype.getNudgedPopoverPosition=function(t){var e=t.top,o=t.left,i=t.width,r=t.height,n=this.props.windowBorderPadding;return{top:e=(e=e<n?n:e)+r>window.innerHeight-n?window.innerHeight-n-r:e,left:o=(o=o<n?n:o)+i>window.innerWidth-n?window.innerWidth-n-i:o}},Popover.prototype.removePopover=function(){var t=this,e=this.props.transitionDuration;null!=this.popoverDiv&&(this.popoverDiv.style.opacity="0");var remove=function(){!t.willUnmount&&t.props.isOpen&&t.popoverDiv.parentNode||(window.clearInterval(t.targetPositionIntervalHandler),window.removeEventListener("resize",t.onResize),window.removeEventListener("click",t.onClick),t.targetPositionIntervalHandler=null,t.setState({isTransitioningToClosed:!1}))};this.willUnmount?remove():this.removePopoverTimeout=window.setTimeout(remove,1e3*(e||s.Constants.FADE_TRANSITION))},Popover.prototype.getPositionPriorityOrder=function(t){if(t&&"string"!=typeof t){if(s.Constants.DEFAULT_POSITIONS.every((function(e){return void 0!==t.find((function(t){return t===e}))})))return s.arrayUnique(t);var e=s.Constants.DEFAULT_POSITIONS.filter((function(e){return void 0===t.find((function(t){return t===e}))}));return s.arrayUnique(n(t,e))}if(t&&"string"==typeof t){e=s.Constants.DEFAULT_POSITIONS.filter((function(e){return e!==t}));return s.arrayUnique(n([t],e))}},Popover.prototype.createContainer=function(){var t=this.props,e=t.containerStyle,o=t.containerClassName,i=window.document.createElement("div");return i.style.overflow="hidden",e&&Object.keys(e).forEach((function(t){return i.style[t]=e[t]})),i.className=o,i.style.position="absolute",i.style.top="0",i.style.left="0",i},Popover.prototype.getLocationForPosition=function(t,e,o){var i,r,n=this.props,a=n.padding,l=n.align,s=e.left+e.width/2,p=e.top+e.height/2;switch(t){case"top":i=e.top-o.height-a,r=s-o.width/2,"start"===l&&(r=e.left),"end"===l&&(r=e.right-o.width);break;case"left":i=p-o.height/2,r=e.left-a-o.width,"start"===l&&(i=e.top),"end"===l&&(i=e.bottom-o.height);break;case"bottom":i=e.bottom+a,r=s-o.width/2,"start"===l&&(r=e.left),"end"===l&&(r=e.right-o.width);break;case"right":i=p-o.height/2,r=e.right+a,"start"===l&&(i=e.top),"end"===l&&(i=e.bottom-o.height)}return{top:i,left:r}},Popover.defaultProps={padding:s.Constants.DEFAULT_PADDING,windowBorderPadding:s.Constants.DEFAULT_WINDOW_PADDING,position:["top","right","left","bottom"],align:"center",containerClassName:s.Constants.POPOVER_CONTAINER_CLASS_NAME,transitionDuration:s.Constants.FADE_TRANSITION},Popover}(a.Component);e.default=c},"../node_modules/react-tiny-popover/dist/PopoverPortal.js":function(t,e,o){var i,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function __(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)});Object.defineProperty(e,"__esModule",{value:!0});var n=o("react"),a=o("../node_modules/react-dom/index.js"),l=function(t){function PopoverPortal(){return null!==t&&t.apply(this,arguments)||this}return r(PopoverPortal,t),PopoverPortal.prototype.componentDidMount=function(){this.props.container.appendChild(this.props.element)},PopoverPortal.prototype.componentWillUnmount=function(){this.props.container.removeChild(this.props.element)},PopoverPortal.prototype.componentDidUpdate=function(t){var e=t.container,o=this.props,i=o.container,r=o.element;e!==i&&(e.removeChild(r),i.appendChild(r))},PopoverPortal.prototype.render=function(){return a.createPortal(this.props.children,this.props.element)},PopoverPortal}(n.PureComponent);e.PopoverPortal=l},"../node_modules/react-tiny-popover/dist/util.js":function(t,e,o){Object.defineProperty(e,"__esModule",{value:!0}),e.Constants={POPOVER_CONTAINER_CLASS_NAME:"react-tiny-popover-container",DEFAULT_PADDING:6,DEFAULT_WINDOW_PADDING:6,FADE_TRANSITION:.35,DEFAULT_ARROW_COLOR:"black",DEFAULT_POSITIONS:["top","left","right","bottom"],EMPTY_CLIENT_RECT:{top:0,left:0,bottom:0,height:0,right:0,width:0}},e.arrayUnique=function(t){return t.filter((function(t,e,o){return o.indexOf(t)===e}))},e.rectsAreEqual=function(t,e){var o,i,r,n,a,l,s,p,d,c,b,u;return t===e||(null===(o=t)||void 0===o?void 0:o.bottom)===(null===(i=e)||void 0===i?void 0:i.bottom)&&(null===(r=t)||void 0===r?void 0:r.height)===(null===(n=e)||void 0===n?void 0:n.height)&&(null===(a=t)||void 0===a?void 0:a.left)===(null===(l=e)||void 0===l?void 0:l.left)&&(null===(s=t)||void 0===s?void 0:s.right)===(null===(p=e)||void 0===p?void 0:p.right)&&(null===(d=t)||void 0===d?void 0:d.top)===(null===(c=e)||void 0===c?void 0:c.top)&&(null===(b=t)||void 0===b?void 0:b.width)===(null===(u=e)||void 0===u?void 0:u.width)},e.popoverInfosAreEqual=function(t,o){var i,r,n,a,l,s,p,d,c,b,u,h;return t===o||(null===(i=t)||void 0===i?void 0:i.align)===(null===(r=o)||void 0===r?void 0:r.align)&&(null===(n=t)||void 0===n?void 0:n.nudgedLeft)===(null===(a=o)||void 0===a?void 0:a.nudgedLeft)&&(null===(l=t)||void 0===l?void 0:l.nudgedTop)===(null===(s=o)||void 0===s?void 0:s.nudgedTop)&&e.rectsAreEqual(null===(p=t)||void 0===p?void 0:p.popoverRect,null===(d=o)||void 0===d?void 0:d.popoverRect)&&e.rectsAreEqual(null===(c=t)||void 0===c?void 0:c.targetRect,null===(b=o)||void 0===b?void 0:b.targetRect)&&(null===(u=t)||void 0===u?void 0:u.position)===(null===(h=o)||void 0===h?void 0:h.position)},e.targetPositionHasChanged=function(t,e){return null===t||t.left!==e.left||t.top!==e.top||t.width!==e.width||t.height!==e.height}}}]);
//# sourceMappingURL=vendors~bad-route-2mkgt~custom-page-KXWAf~graphiql-page-QvAQg~home-page-WyKJQ~page-with-sidebar-I1Yd~217d0701.chunk.eaa5497fb7f7db0479e3.js.map