Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-popper

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-popper - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

3

CHANGELOG.md
## CHANGELOG
### 0.2.1
Remove React ARIA from demos for now
### 0.2.0

@@ -3,0 +6,0 @@ New API see README for full docs

4

dist/react-popper.min.js
/*!
* React Popper 0.2.0
* React Popper 0.2.1
* https://github.com/souporserious/react-popper
* Copyright (c) 2017 React Popper Authors
*/
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom"),require("Popper")):"function"==typeof define&&define.amd?define(["react","react-dom","Popper"],t):"object"==typeof exports?exports.ReactPopper=t(require("react"),require("react-dom"),require("Popper")):e.ReactPopper=t(e.React,e.ReactDOM,e.Popper)}(this,function(e,t,r){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="dist/",t(0)}([function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Arrow=t.Popper=t.Target=t.PopperManager=void 0;var o=r(1),a=n(o),i=r(4),u=n(i),c=r(5),p=n(c),s=r(9),f=n(s);t.PopperManager=a["default"],t.Target=u["default"],t.Popper=p["default"],t.Arrow=f["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),p=r(2),s=(n(p),r(3)),f=(n(s),function(e){function t(){var e,r,n,o;a(this,t);for(var u=arguments.length,c=Array(u),p=0;p<u;p++)c[p]=arguments[p];return r=n=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),n._setTargetNode=function(e){n._targetNode=e},n._getTargetNode=function(){return n._targetNode},o=r,i(n,o)}return u(t,e),c(t,[{key:"getChildContext",value:function(){return{popperManager:{setTargetNode:this._setTargetNode,getTargetNode:this._getTargetNode}}}},{key:"render",value:function(){var e=this.props,t=e.component,r=o(e,["component"]);return(0,p.createElement)(t,r)}}]),t}(p.Component));f.childContextTypes={popperManager:p.PropTypes.object.isRequired},f.propTypes={component:p.PropTypes.any},f.defaultProps={component:"div"},t["default"]=f},function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t,r){"use strict";function n(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=r(2),i=function(e,t){var r=e.component,i=n(e,["component"]);return(0,a.createElement)(r,o({ref:function(e){return t.popperManager.setTargetNode(e)}},i))};i.contextTypes={popperManager:a.PropTypes.object.isRequired},i.propTypes={component:a.PropTypes.any},i.defaultProps={component:"div"},t["default"]=i},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},p=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),s=r(2),f=(n(s),r(6)),l=n(f),d=r(7),y=n(d),Popper=function(e){function Popper(){var e,t,r,n;a(this,Popper);for(var o=arguments.length,u=Array(o),c=0;c<o;c++)u[c]=arguments[c];return t=r=i(this,(e=Popper.__proto__||Object.getPrototypeOf(Popper)).call.apply(e,[this].concat(u))),r.state={},r._setArrowNode=function(e){r._arrowNode=e},r._getTargetNode=function(){return r.context.popperManager.getTargetNode()},r._updateStateModifier={enabled:!0,order:900,"function":function(e){(r.state.data&&!(0,y["default"])(e.offsets,r.state.data.offsets)||!r.state.data)&&r.setState({data:e})}},r._getPopperStyle=function(){if(!r._popper||!r.state.data)return{position:"absolute",pointerEvents:"none",opacity:0};var e=r.state.data.offsets.popper,t=e.top,n=e.left,o=e.position;return{position:o,top:0,left:0,transform:"translate3d("+n+"px, "+t+"px, 0px)",willChange:"transform"}},r._getPopperPlacement=function(){return r.state.data?r.state.data.placement:void 0},r._getArrowStyle=function(){if(r.state.data&&r.state.data.offsets.arrow){var e=r.state.data.offsets.arrow,t=e.top,n=e.left;return n?{left:+n}:{top:+t}}return{}},n=t,i(r,n)}return u(Popper,e),p(Popper,[{key:"getChildContext",value:function(){return{popper:{setArrowNode:this._setArrowNode,getArrowStyle:this._getArrowStyle}}}},{key:"componentDidMount",value:function(){this._updatePopper()}},{key:"componentDidUpdate",value:function(e){e.placement===this.props.placement&&e.eventsEnabled===this.props.eventsEnabled||this._updatePopper()}},{key:"componentWillUnmount",value:function(){this._destroyPopper()}},{key:"_updatePopper",value:function(){var e=this.props;e.placement,e.modifiers;this._getTargetNode()&&this._popperNode&&(this._destroyPopper(),this._createPopper())}},{key:"_createPopper",value:function(){var e=this.props,t=e.placement,r=e.eventsEnabled,n=c({},this.props.modifiers,{applyStyle:{enabled:!1},updateState:this._updateStateModifier});this._arrowNode&&(n.arrow={element:this._arrowNode}),this._popper=new l["default"](this._getTargetNode(),this._popperNode,{placement:t,eventsEnabled:r,modifiers:n}),this._popper.scheduleUpdate()}},{key:"_destroyPopper",value:function(){this._popper&&this._popper.destroy()}},{key:"render",value:function(){var e=this,t=this.props,r=t.component,n=(t.placement,t.eventsEnabled,t.modifiers,t.style),a=o(t,["component","placement","eventsEnabled","modifiers","style"]);return(0,s.createElement)(r,c({ref:function(t){return e._popperNode=t},style:c({},this._getPopperStyle(),n),"data-placement":this._getPopperPlacement()},a))}}]),Popper}(s.Component);Popper.contextTypes={popperManager:s.PropTypes.object.isRequired},Popper.childContextTypes={popper:s.PropTypes.object.isRequired},Popper.propTypes={component:s.PropTypes.any,placement:s.PropTypes.oneOf(l["default"].placements),eventsEnabled:s.PropTypes.bool,modifiers:s.PropTypes.object},Popper.defaultProps={component:"div",placement:"bottom",eventsEnabled:!0,modifiers:{},className:"popper"},t["default"]=Popper},function(e,t){e.exports=r},function(e,t,r){(function(e,r){"use strict";function n(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r<n;){var i=e[r];t(i,r,e)&&(a[o++]=i)}return a}function o(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}function a(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function i(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function u(e){return function(t){return e(t)}}function c(e,t){return e.has(t)}function p(e,t){return null==e?void 0:e[t]}function s(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function f(e,t){return function(r){return e(t(r))}}function l(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}function d(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function y(){this.__data__=Ft?Ft(null):{},this.size=0}function h(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function _(e){var t=this.__data__;if(Ft){var r=t[e];return r===je?void 0:r}return mt.call(t,e)?t[e]:void 0}function v(e){var t=this.__data__;return Ft?void 0!==t[e]:mt.call(t,e)}function b(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ft&&void 0===t?je:t,this}function g(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function m(){this.__data__=[],this.size=0}function j(e){var t=this.__data__,r=B(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():St.call(t,r,1),--this.size,!0}function w(e){var t=this.__data__,r=B(t,e);return r<0?void 0:t[r][1]}function P(e){return B(this.__data__,e)>-1}function O(e,t){var r=this.__data__,n=B(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function T(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function x(){this.size=0,this.__data__={hash:new d,map:new(Rt||g),string:new d}}function A(e){var t=ee(this,e)["delete"](e);return this.size-=t?1:0,t}function S(e){return ee(this,e).get(e)}function N(e){return ee(this,e).has(e)}function E(e,t){var r=ee(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function z(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new T;++t<r;)this.add(e[t])}function M(e){return this.__data__.set(e,je),this}function k(e){return this.__data__.has(e)}function R(e){var t=this.__data__=new g(e);this.size=t.size}function C(){this.__data__=new g,this.size=0}function q(e){var t=this.__data__,r=t["delete"](e);return this.size=t.size,r}function U(e){return this.__data__.get(e)}function F(e){return this.__data__.has(e)}function $(e,t){var r=this.__data__;if(r instanceof g){var n=r.__data__;if(!Rt||n.length<me-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new T(n)}return r.set(e,t),this.size=r.size,this}function D(e,t){var r=Kt(e),n=!r&&Jt(e),o=!r&&!n&&Qt(e),a=!r&&!n&&!o&&Xt(e),u=r||n||o||a,c=u?i(e.length,String):[],p=c.length;for(var s in e)!t&&!mt.call(e,s)||u&&("length"==s||o&&("offset"==s||"parent"==s)||a&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||ne(s,p))||c.push(s);return c}function B(e,t){for(var r=e.length;r--;)if(pe(e[r][0],t))return r;return-1}function I(e,t,r){var n=t(e);return Kt(e)?n:o(n,r(e))}function L(e){return null==e?void 0===e?Le:Ce:Nt&&Nt in Object(e)?re(e):ue(e)}function W(e){return he(e)&&L(e)==Te}function V(e,t,r,n,o){return e===t||(null==e||null==t||!he(e)&&!he(t)?e!==e&&t!==t:G(e,t,r,n,V,o))}function G(e,t,r,n,o,a){var i=Kt(e),u=Kt(t),c=i?xe:Ht(e),p=u?xe:Ht(t);c=c==Te?qe:c,p=p==Te?qe:p;var s=c==qe,f=p==qe,l=c==p;if(l&&Qt(e)){if(!Qt(t))return!1;i=!0,s=!1}if(l&&!s)return a||(a=new R),i||Xt(e)?Q(e,t,r,n,o,a):X(e,t,c,r,n,o,a);if(!(r&we)){var d=s&&mt.call(e,"__wrapped__"),y=f&&mt.call(t,"__wrapped__");if(d||y){var h=d?e.value():e,_=y?t.value():t;return a||(a=new R),o(h,_,r,n,a)}}return!!l&&(a||(a=new R),Y(e,t,r,n,o,a))}function H(e){if(!ye(e)||ae(e))return!1;var t=le(e)?Pt:nt;return t.test(ce(e))}function J(e){return he(e)&&de(e.length)&&!!at[L(e)]}function K(e){if(!ie(e))return Mt(e);var t=[];for(var r in Object(e))mt.call(e,r)&&"constructor"!=r&&t.push(r);return t}function Q(e,t,r,n,o,i){var u=r&we,p=e.length,s=t.length;if(p!=s&&!(u&&s>p))return!1;var f=i.get(e);if(f&&i.get(t))return f==t;var l=-1,d=!0,y=r&Pe?new z:void 0;for(i.set(e,t),i.set(t,e);++l<p;){var h=e[l],_=t[l];if(n)var v=u?n(_,h,l,t,e,i):n(h,_,l,e,t,i);if(void 0!==v){if(v)continue;d=!1;break}if(y){if(!a(t,function(e,t){if(!c(y,t)&&(h===e||o(h,e,r,n,i)))return y.push(t)})){d=!1;break}}else if(h!==_&&!o(h,_,r,n,i)){d=!1;break}}return i["delete"](e),i["delete"](t),d}function X(e,t,r,n,o,a,i){switch(r){case Ge:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Ve:return!(e.byteLength!=t.byteLength||!a(new xt(e),new xt(t)));case Se:case Ne:case Re:return pe(+e,+t);case Ee:return e.name==t.name&&e.message==t.message;case $e:case Be:return e==t+"";case ke:var u=s;case De:var c=n&we;if(u||(u=l),e.size!=t.size&&!c)return!1;var p=i.get(e);if(p)return p==t;n|=Pe,i.set(e,t);var f=Q(u(e),u(t),n,o,a,i);return i["delete"](e),f;case Ie:if(Vt)return Vt.call(e)==Vt.call(t)}return!1}function Y(e,t,r,n,o,a){var i=r&we,u=Z(e),c=u.length,p=Z(t),s=p.length;if(c!=s&&!i)return!1;for(var f=c;f--;){var l=u[f];if(!(i?l in t:mt.call(t,l)))return!1}var d=a.get(e);if(d&&a.get(t))return d==t;var y=!0;a.set(e,t),a.set(t,e);for(var h=i;++f<c;){l=u[f];var _=e[l],v=t[l];if(n)var b=i?n(v,_,l,t,e,a):n(_,v,l,e,t,a);if(!(void 0===b?_===v||o(_,v,r,n,a):b)){y=!1;break}h||(h="constructor"==l)}if(y&&!h){var g=e.constructor,m=t.constructor;g!=m&&"constructor"in e&&"constructor"in t&&!("function"==typeof g&&g instanceof g&&"function"==typeof m&&m instanceof m)&&(y=!1)}return a["delete"](e),a["delete"](t),y}function Z(e){return I(e,_e,Gt)}function ee(e,t){var r=e.__data__;return oe(t)?r["string"==typeof t?"string":"hash"]:r.map}function te(e,t){var r=p(e,t);return H(r)?r:void 0}function re(e){var t=mt.call(e,Nt),r=e[Nt];try{e[Nt]=void 0;var n=!0}catch(o){}var a=wt.call(e);return n&&(t?e[Nt]=r:delete e[Nt]),a}function ne(e,t){return t=null==t?Oe:t,!!t&&("number"==typeof e||ot.test(e))&&e>-1&&e%1==0&&e<t}function oe(e){var t="undefined"==typeof e?"undefined":ge(e);return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function ae(e){return!!jt&&jt in e}function ie(e){var t=e&&e.constructor,r="function"==typeof t&&t.prototype||vt;return e===r}function ue(e){return wt.call(e)}function ce(e){if(null!=e){try{return gt.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function pe(e,t){return e===t||e!==e&&t!==t}function se(e){return null!=e&&de(e.length)&&!le(e)}function fe(e,t){return V(e,t)}function le(e){if(!ye(e))return!1;var t=L(e);return t==ze||t==Me||t==Ae||t==Fe}function de(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Oe}function ye(e){var t="undefined"==typeof e?"undefined":ge(e);return null!=e&&("object"==t||"function"==t)}function he(e){return null!=e&&"object"==("undefined"==typeof e?"undefined":ge(e))}function _e(e){return se(e)?D(e):K(e)}function ve(){return[]}function be(){return!1}var ge="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},me=200,je="__lodash_hash_undefined__",we=1,Pe=2,Oe=9007199254740991,Te="[object Arguments]",xe="[object Array]",Ae="[object AsyncFunction]",Se="[object Boolean]",Ne="[object Date]",Ee="[object Error]",ze="[object Function]",Me="[object GeneratorFunction]",ke="[object Map]",Re="[object Number]",Ce="[object Null]",qe="[object Object]",Ue="[object Promise]",Fe="[object Proxy]",$e="[object RegExp]",De="[object Set]",Be="[object String]",Ie="[object Symbol]",Le="[object Undefined]",We="[object WeakMap]",Ve="[object ArrayBuffer]",Ge="[object DataView]",He="[object Float32Array]",Je="[object Float64Array]",Ke="[object Int8Array]",Qe="[object Int16Array]",Xe="[object Int32Array]",Ye="[object Uint8Array]",Ze="[object Uint8ClampedArray]",et="[object Uint16Array]",tt="[object Uint32Array]",rt=/[\\^$.*+?()[\]{}|]/g,nt=/^\[object .+?Constructor\]$/,ot=/^(?:0|[1-9]\d*)$/,at={};at[He]=at[Je]=at[Ke]=at[Qe]=at[Xe]=at[Ye]=at[Ze]=at[et]=at[tt]=!0,at[Te]=at[xe]=at[Ve]=at[Se]=at[Ge]=at[Ne]=at[Ee]=at[ze]=at[ke]=at[Re]=at[qe]=at[$e]=at[De]=at[Be]=at[We]=!1;var it="object"==("undefined"==typeof e?"undefined":ge(e))&&e&&e.Object===Object&&e,ut="object"==("undefined"==typeof self?"undefined":ge(self))&&self&&self.Object===Object&&self,ct=it||ut||Function("return this")(),pt="object"==ge(t)&&t&&!t.nodeType&&t,st=pt&&"object"==ge(r)&&r&&!r.nodeType&&r,ft=st&&st.exports===pt,lt=ft&&it.process,dt=function(){try{return lt&&lt.binding&&lt.binding("util")}catch(e){}}(),yt=dt&&dt.isTypedArray,ht=Array.prototype,_t=Function.prototype,vt=Object.prototype,bt=ct["__core-js_shared__"],gt=_t.toString,mt=vt.hasOwnProperty,jt=function(){var e=/[^.]+$/.exec(bt&&bt.keys&&bt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),wt=vt.toString,Pt=RegExp("^"+gt.call(mt).replace(rt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ot=ft?ct.Buffer:void 0,Tt=ct.Symbol,xt=ct.Uint8Array,At=vt.propertyIsEnumerable,St=ht.splice,Nt=Tt?Tt.toStringTag:void 0,Et=Object.getOwnPropertySymbols,zt=Ot?Ot.isBuffer:void 0,Mt=f(Object.keys,Object),kt=te(ct,"DataView"),Rt=te(ct,"Map"),Ct=te(ct,"Promise"),qt=te(ct,"Set"),Ut=te(ct,"WeakMap"),Ft=te(Object,"create"),$t=ce(kt),Dt=ce(Rt),Bt=ce(Ct),It=ce(qt),Lt=ce(Ut),Wt=Tt?Tt.prototype:void 0,Vt=Wt?Wt.valueOf:void 0;d.prototype.clear=y,d.prototype["delete"]=h,d.prototype.get=_,d.prototype.has=v,d.prototype.set=b,g.prototype.clear=m,g.prototype["delete"]=j,g.prototype.get=w,g.prototype.has=P,g.prototype.set=O,T.prototype.clear=x,T.prototype["delete"]=A,T.prototype.get=S,T.prototype.has=N,T.prototype.set=E,z.prototype.add=z.prototype.push=M,z.prototype.has=k,R.prototype.clear=C,R.prototype["delete"]=q,R.prototype.get=U,R.prototype.has=F,R.prototype.set=$;var Gt=Et?function(e){return null==e?[]:(e=Object(e),n(Et(e),function(t){return At.call(e,t)}))}:ve,Ht=L;(kt&&Ht(new kt(new ArrayBuffer(1)))!=Ge||Rt&&Ht(new Rt)!=ke||Ct&&Ht(Ct.resolve())!=Ue||qt&&Ht(new qt)!=De||Ut&&Ht(new Ut)!=We)&&(Ht=function(e){var t=L(e),r=t==qe?e.constructor:void 0,n=r?ce(r):"";if(n)switch(n){case $t:return Ge;case Dt:return ke;case Bt:return Ue;case It:return De;case Lt:return We}return t});var Jt=W(function(){return arguments}())?W:function(e){return he(e)&&mt.call(e,"callee")&&!At.call(e,"callee")},Kt=Array.isArray,Qt=zt||be,Xt=yt?u(yt):J;r.exports=fe}).call(t,function(){return this}(),r(8)(e))},function(e,t){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t,r){"use strict";function n(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=r(2),i=function(e,t){var r=e.component,i=e.style,u=n(e,["component","style"]);return(0,a.createElement)(r,o({ref:function(e){return t.popper.setArrowNode(e)},style:o({},t.popper.getArrowStyle(),i)},u))};i.contextTypes={popper:a.PropTypes.object.isRequired},i.propTypes={component:a.PropTypes.any},i.defaultProps={component:"span",className:"popper__arrow"},t["default"]=i}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom"),require("Popper")):"function"==typeof define&&define.amd?define(["react","react-dom","Popper"],t):"object"==typeof exports?exports.ReactPopper=t(require("react"),require("react-dom"),require("Popper")):e.ReactPopper=t(e.React,e.ReactDOM,e.Popper)}(this,function(e,t,r){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="dist/",t(0)}([function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Arrow=t.Popper=t.Target=t.PopperManager=void 0;var o=r(1),a=n(o),i=r(4),u=n(i),c=r(5),p=n(c),s=r(9),f=n(s);t.PopperManager=a.default,t.Target=u.default,t.Popper=p.default,t.Arrow=f.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),p=r(2),s=(n(p),r(3)),f=(n(s),function(e){function t(){var e,r,n,o;a(this,t);for(var u=arguments.length,c=Array(u),p=0;p<u;p++)c[p]=arguments[p];return r=n=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),n._setTargetNode=function(e){n._targetNode=e},n._getTargetNode=function(){return n._targetNode},o=r,i(n,o)}return u(t,e),c(t,[{key:"getChildContext",value:function(){return{popperManager:{setTargetNode:this._setTargetNode,getTargetNode:this._getTargetNode}}}},{key:"render",value:function(){var e=this.props,t=e.component,r=o(e,["component"]);return(0,p.createElement)(t,r)}}]),t}(p.Component));f.childContextTypes={popperManager:p.PropTypes.object.isRequired},f.propTypes={component:p.PropTypes.any},f.defaultProps={component:"div"},t.default=f},function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t,r){"use strict";function n(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=r(2),i=function(e,t){var r=e.component,i=n(e,["component"]);return(0,a.createElement)(r,o({ref:function(e){return t.popperManager.setTargetNode(e)}},i))};i.contextTypes={popperManager:a.PropTypes.object.isRequired},i.propTypes={component:a.PropTypes.any},i.defaultProps={component:"div"},t.default=i},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},p=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),s=r(2),f=(n(s),r(6)),l=n(f),d=r(7),y=n(d),Popper=function(e){function Popper(){var e,t,r,n;a(this,Popper);for(var o=arguments.length,u=Array(o),c=0;c<o;c++)u[c]=arguments[c];return t=r=i(this,(e=Popper.__proto__||Object.getPrototypeOf(Popper)).call.apply(e,[this].concat(u))),r.state={},r._setArrowNode=function(e){r._arrowNode=e},r._getTargetNode=function(){return r.context.popperManager.getTargetNode()},r._updateStateModifier={enabled:!0,order:900,function:function(e){(r.state.data&&!(0,y.default)(e.offsets,r.state.data.offsets)||!r.state.data)&&r.setState({data:e})}},r._getPopperStyle=function(){if(!r._popper||!r.state.data)return{position:"absolute",pointerEvents:"none",opacity:0};var e=r.state.data.offsets.popper,t=e.top,n=e.left,o=e.position;return{position:o,top:0,left:0,transform:"translate3d("+n+"px, "+t+"px, 0px)",willChange:"transform"}},r._getPopperPlacement=function(){return r.state.data?r.state.data.placement:void 0},r._getArrowStyle=function(){if(r.state.data&&r.state.data.offsets.arrow){var e=r.state.data.offsets.arrow,t=e.top,n=e.left;return n?{left:+n}:{top:+t}}return{}},n=t,i(r,n)}return u(Popper,e),p(Popper,[{key:"getChildContext",value:function(){return{popper:{setArrowNode:this._setArrowNode,getArrowStyle:this._getArrowStyle}}}},{key:"componentDidMount",value:function(){this._updatePopper()}},{key:"componentDidUpdate",value:function(e){e.placement===this.props.placement&&e.eventsEnabled===this.props.eventsEnabled||this._updatePopper()}},{key:"componentWillUnmount",value:function(){this._destroyPopper()}},{key:"_updatePopper",value:function(){var e=this.props;e.placement,e.modifiers;this._getTargetNode()&&this._popperNode&&(this._destroyPopper(),this._createPopper())}},{key:"_createPopper",value:function(){var e=this.props,t=e.placement,r=e.eventsEnabled,n=c({},this.props.modifiers,{applyStyle:{enabled:!1},updateState:this._updateStateModifier});this._arrowNode&&(n.arrow={element:this._arrowNode}),this._popper=new l.default(this._getTargetNode(),this._popperNode,{placement:t,eventsEnabled:r,modifiers:n}),this._popper.scheduleUpdate()}},{key:"_destroyPopper",value:function(){this._popper&&this._popper.destroy()}},{key:"render",value:function(){var e=this,t=this.props,r=t.component,n=(t.placement,t.eventsEnabled,t.modifiers,t.style),a=o(t,["component","placement","eventsEnabled","modifiers","style"]);return(0,s.createElement)(r,c({ref:function(t){return e._popperNode=t},style:c({},this._getPopperStyle(),n),"data-placement":this._getPopperPlacement()},a))}}]),Popper}(s.Component);Popper.contextTypes={popperManager:s.PropTypes.object.isRequired},Popper.childContextTypes={popper:s.PropTypes.object.isRequired},Popper.propTypes={component:s.PropTypes.any,placement:s.PropTypes.oneOf(l.default.placements),eventsEnabled:s.PropTypes.bool,modifiers:s.PropTypes.object},Popper.defaultProps={component:"div",placement:"bottom",eventsEnabled:!0,modifiers:{},className:"popper"},t.default=Popper},function(e,t){e.exports=r},function(e,t,r){(function(e,r){"use strict";function n(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r<n;){var i=e[r];t(i,r,e)&&(a[o++]=i)}return a}function o(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}function a(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function i(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function u(e){return function(t){return e(t)}}function c(e,t){return e.has(t)}function p(e,t){return null==e?void 0:e[t]}function s(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function f(e,t){return function(r){return e(t(r))}}function l(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}function d(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function y(){this.__data__=Ft?Ft(null):{},this.size=0}function h(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function _(e){var t=this.__data__;if(Ft){var r=t[e];return r===je?void 0:r}return mt.call(t,e)?t[e]:void 0}function v(e){var t=this.__data__;return Ft?void 0!==t[e]:mt.call(t,e)}function b(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ft&&void 0===t?je:t,this}function g(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function m(){this.__data__=[],this.size=0}function j(e){var t=this.__data__,r=B(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():St.call(t,r,1),--this.size,!0}function w(e){var t=this.__data__,r=B(t,e);return r<0?void 0:t[r][1]}function P(e){return B(this.__data__,e)>-1}function O(e,t){var r=this.__data__,n=B(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function T(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function x(){this.size=0,this.__data__={hash:new d,map:new(Rt||g),string:new d}}function A(e){var t=ee(this,e).delete(e);return this.size-=t?1:0,t}function S(e){return ee(this,e).get(e)}function N(e){return ee(this,e).has(e)}function E(e,t){var r=ee(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function z(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new T;++t<r;)this.add(e[t])}function M(e){return this.__data__.set(e,je),this}function k(e){return this.__data__.has(e)}function R(e){var t=this.__data__=new g(e);this.size=t.size}function C(){this.__data__=new g,this.size=0}function q(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function U(e){return this.__data__.get(e)}function F(e){return this.__data__.has(e)}function $(e,t){var r=this.__data__;if(r instanceof g){var n=r.__data__;if(!Rt||n.length<me-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new T(n)}return r.set(e,t),this.size=r.size,this}function D(e,t){var r=Kt(e),n=!r&&Jt(e),o=!r&&!n&&Qt(e),a=!r&&!n&&!o&&Xt(e),u=r||n||o||a,c=u?i(e.length,String):[],p=c.length;for(var s in e)!t&&!mt.call(e,s)||u&&("length"==s||o&&("offset"==s||"parent"==s)||a&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||ne(s,p))||c.push(s);return c}function B(e,t){for(var r=e.length;r--;)if(pe(e[r][0],t))return r;return-1}function I(e,t,r){var n=t(e);return Kt(e)?n:o(n,r(e))}function L(e){return null==e?void 0===e?Le:Ce:Nt&&Nt in Object(e)?re(e):ue(e)}function W(e){return he(e)&&L(e)==Te}function V(e,t,r,n,o){return e===t||(null==e||null==t||!he(e)&&!he(t)?e!==e&&t!==t:G(e,t,r,n,V,o))}function G(e,t,r,n,o,a){var i=Kt(e),u=Kt(t),c=i?xe:Ht(e),p=u?xe:Ht(t);c=c==Te?qe:c,p=p==Te?qe:p;var s=c==qe,f=p==qe,l=c==p;if(l&&Qt(e)){if(!Qt(t))return!1;i=!0,s=!1}if(l&&!s)return a||(a=new R),i||Xt(e)?Q(e,t,r,n,o,a):X(e,t,c,r,n,o,a);if(!(r&we)){var d=s&&mt.call(e,"__wrapped__"),y=f&&mt.call(t,"__wrapped__");if(d||y){var h=d?e.value():e,_=y?t.value():t;return a||(a=new R),o(h,_,r,n,a)}}return!!l&&(a||(a=new R),Y(e,t,r,n,o,a))}function H(e){if(!ye(e)||ae(e))return!1;var t=le(e)?Pt:nt;return t.test(ce(e))}function J(e){return he(e)&&de(e.length)&&!!at[L(e)]}function K(e){if(!ie(e))return Mt(e);var t=[];for(var r in Object(e))mt.call(e,r)&&"constructor"!=r&&t.push(r);return t}function Q(e,t,r,n,o,i){var u=r&we,p=e.length,s=t.length;if(p!=s&&!(u&&s>p))return!1;var f=i.get(e);if(f&&i.get(t))return f==t;var l=-1,d=!0,y=r&Pe?new z:void 0;for(i.set(e,t),i.set(t,e);++l<p;){var h=e[l],_=t[l];if(n)var v=u?n(_,h,l,t,e,i):n(h,_,l,e,t,i);if(void 0!==v){if(v)continue;d=!1;break}if(y){if(!a(t,function(e,t){if(!c(y,t)&&(h===e||o(h,e,r,n,i)))return y.push(t)})){d=!1;break}}else if(h!==_&&!o(h,_,r,n,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function X(e,t,r,n,o,a,i){switch(r){case Ge:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Ve:return!(e.byteLength!=t.byteLength||!a(new xt(e),new xt(t)));case Se:case Ne:case Re:return pe(+e,+t);case Ee:return e.name==t.name&&e.message==t.message;case $e:case Be:return e==t+"";case ke:var u=s;case De:var c=n&we;if(u||(u=l),e.size!=t.size&&!c)return!1;var p=i.get(e);if(p)return p==t;n|=Pe,i.set(e,t);var f=Q(u(e),u(t),n,o,a,i);return i.delete(e),f;case Ie:if(Vt)return Vt.call(e)==Vt.call(t)}return!1}function Y(e,t,r,n,o,a){var i=r&we,u=Z(e),c=u.length,p=Z(t),s=p.length;if(c!=s&&!i)return!1;for(var f=c;f--;){var l=u[f];if(!(i?l in t:mt.call(t,l)))return!1}var d=a.get(e);if(d&&a.get(t))return d==t;var y=!0;a.set(e,t),a.set(t,e);for(var h=i;++f<c;){l=u[f];var _=e[l],v=t[l];if(n)var b=i?n(v,_,l,t,e,a):n(_,v,l,e,t,a);if(!(void 0===b?_===v||o(_,v,r,n,a):b)){y=!1;break}h||(h="constructor"==l)}if(y&&!h){var g=e.constructor,m=t.constructor;g!=m&&"constructor"in e&&"constructor"in t&&!("function"==typeof g&&g instanceof g&&"function"==typeof m&&m instanceof m)&&(y=!1)}return a.delete(e),a.delete(t),y}function Z(e){return I(e,_e,Gt)}function ee(e,t){var r=e.__data__;return oe(t)?r["string"==typeof t?"string":"hash"]:r.map}function te(e,t){var r=p(e,t);return H(r)?r:void 0}function re(e){var t=mt.call(e,Nt),r=e[Nt];try{e[Nt]=void 0;var n=!0}catch(e){}var o=wt.call(e);return n&&(t?e[Nt]=r:delete e[Nt]),o}function ne(e,t){return t=null==t?Oe:t,!!t&&("number"==typeof e||ot.test(e))&&e>-1&&e%1==0&&e<t}function oe(e){var t="undefined"==typeof e?"undefined":ge(e);return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function ae(e){return!!jt&&jt in e}function ie(e){var t=e&&e.constructor,r="function"==typeof t&&t.prototype||vt;return e===r}function ue(e){return wt.call(e)}function ce(e){if(null!=e){try{return gt.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function pe(e,t){return e===t||e!==e&&t!==t}function se(e){return null!=e&&de(e.length)&&!le(e)}function fe(e,t){return V(e,t)}function le(e){if(!ye(e))return!1;var t=L(e);return t==ze||t==Me||t==Ae||t==Fe}function de(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Oe}function ye(e){var t="undefined"==typeof e?"undefined":ge(e);return null!=e&&("object"==t||"function"==t)}function he(e){return null!=e&&"object"==("undefined"==typeof e?"undefined":ge(e))}function _e(e){return se(e)?D(e):K(e)}function ve(){return[]}function be(){return!1}var ge="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},me=200,je="__lodash_hash_undefined__",we=1,Pe=2,Oe=9007199254740991,Te="[object Arguments]",xe="[object Array]",Ae="[object AsyncFunction]",Se="[object Boolean]",Ne="[object Date]",Ee="[object Error]",ze="[object Function]",Me="[object GeneratorFunction]",ke="[object Map]",Re="[object Number]",Ce="[object Null]",qe="[object Object]",Ue="[object Promise]",Fe="[object Proxy]",$e="[object RegExp]",De="[object Set]",Be="[object String]",Ie="[object Symbol]",Le="[object Undefined]",We="[object WeakMap]",Ve="[object ArrayBuffer]",Ge="[object DataView]",He="[object Float32Array]",Je="[object Float64Array]",Ke="[object Int8Array]",Qe="[object Int16Array]",Xe="[object Int32Array]",Ye="[object Uint8Array]",Ze="[object Uint8ClampedArray]",et="[object Uint16Array]",tt="[object Uint32Array]",rt=/[\\^$.*+?()[\]{}|]/g,nt=/^\[object .+?Constructor\]$/,ot=/^(?:0|[1-9]\d*)$/,at={};at[He]=at[Je]=at[Ke]=at[Qe]=at[Xe]=at[Ye]=at[Ze]=at[et]=at[tt]=!0,at[Te]=at[xe]=at[Ve]=at[Se]=at[Ge]=at[Ne]=at[Ee]=at[ze]=at[ke]=at[Re]=at[qe]=at[$e]=at[De]=at[Be]=at[We]=!1;var it="object"==("undefined"==typeof e?"undefined":ge(e))&&e&&e.Object===Object&&e,ut="object"==("undefined"==typeof self?"undefined":ge(self))&&self&&self.Object===Object&&self,ct=it||ut||Function("return this")(),pt="object"==ge(t)&&t&&!t.nodeType&&t,st=pt&&"object"==ge(r)&&r&&!r.nodeType&&r,ft=st&&st.exports===pt,lt=ft&&it.process,dt=function(){try{return lt&&lt.binding&&lt.binding("util")}catch(e){}}(),yt=dt&&dt.isTypedArray,ht=Array.prototype,_t=Function.prototype,vt=Object.prototype,bt=ct["__core-js_shared__"],gt=_t.toString,mt=vt.hasOwnProperty,jt=function(){var e=/[^.]+$/.exec(bt&&bt.keys&&bt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),wt=vt.toString,Pt=RegExp("^"+gt.call(mt).replace(rt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ot=ft?ct.Buffer:void 0,Tt=ct.Symbol,xt=ct.Uint8Array,At=vt.propertyIsEnumerable,St=ht.splice,Nt=Tt?Tt.toStringTag:void 0,Et=Object.getOwnPropertySymbols,zt=Ot?Ot.isBuffer:void 0,Mt=f(Object.keys,Object),kt=te(ct,"DataView"),Rt=te(ct,"Map"),Ct=te(ct,"Promise"),qt=te(ct,"Set"),Ut=te(ct,"WeakMap"),Ft=te(Object,"create"),$t=ce(kt),Dt=ce(Rt),Bt=ce(Ct),It=ce(qt),Lt=ce(Ut),Wt=Tt?Tt.prototype:void 0,Vt=Wt?Wt.valueOf:void 0;d.prototype.clear=y,d.prototype.delete=h,d.prototype.get=_,d.prototype.has=v,d.prototype.set=b,g.prototype.clear=m,g.prototype.delete=j,g.prototype.get=w,g.prototype.has=P,g.prototype.set=O,T.prototype.clear=x,T.prototype.delete=A,T.prototype.get=S,T.prototype.has=N,T.prototype.set=E,z.prototype.add=z.prototype.push=M,z.prototype.has=k,R.prototype.clear=C,R.prototype.delete=q,R.prototype.get=U,R.prototype.has=F,R.prototype.set=$;var Gt=Et?function(e){return null==e?[]:(e=Object(e),n(Et(e),function(t){return At.call(e,t)}))}:ve,Ht=L;(kt&&Ht(new kt(new ArrayBuffer(1)))!=Ge||Rt&&Ht(new Rt)!=ke||Ct&&Ht(Ct.resolve())!=Ue||qt&&Ht(new qt)!=De||Ut&&Ht(new Ut)!=We)&&(Ht=function(e){var t=L(e),r=t==qe?e.constructor:void 0,n=r?ce(r):"";if(n)switch(n){case $t:return Ge;case Dt:return ke;case Bt:return Ue;case It:return De;case Lt:return We}return t});var Jt=W(function(){return arguments}())?W:function(e){return he(e)&&mt.call(e,"callee")&&!At.call(e,"callee")},Kt=Array.isArray,Qt=zt||be,Xt=yt?u(yt):J;r.exports=fe}).call(t,function(){return this}(),r(8)(e))},function(e,t){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t,r){"use strict";function n(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=r(2),i=function(e,t){var r=e.component,i=e.style,u=n(e,["component","style"]);return(0,a.createElement)(r,o({ref:function(e){return t.popper.setArrowNode(e)},style:o({},t.popper.getArrowStyle(),i)},u))};i.contextTypes={popper:a.PropTypes.object.isRequired},i.propTypes={component:a.PropTypes.any},i.defaultProps={component:"span",className:"popper__arrow"},t.default=i}])});

@@ -14,7 +14,6 @@ 'use strict';

var Arrow = function Arrow(_ref, context) {
var component = _ref.component;
var style = _ref.style;
var component = _ref.component,
style = _ref.style,
restProps = _objectWithoutProperties(_ref, ['component', 'style']);
var restProps = _objectWithoutProperties(_ref, ['component', 'style']);
return (0, _react.createElement)(component, _extends({

@@ -21,0 +20,0 @@ ref: function ref(c) {

@@ -74,6 +74,6 @@ 'use strict';

var _this$state$data$offs = _this.state.data.offsets.popper;
var top = _this$state$data$offs.top;
var left = _this$state$data$offs.left;
var position = _this$state$data$offs.position;
var _this$state$data$offs = _this.state.data.offsets.popper,
top = _this$state$data$offs.top,
left = _this$state$data$offs.left,
position = _this$state$data$offs.position;

@@ -94,5 +94,5 @@

} else {
var _this$state$data$offs2 = _this.state.data.offsets.arrow;
var top = _this$state$data$offs2.top;
var left = _this$state$data$offs2.left;
var _this$state$data$offs2 = _this.state.data.offsets.arrow,
top = _this$state$data$offs2.top,
left = _this$state$data$offs2.left;

@@ -138,5 +138,5 @@ if (!left) {

value: function _updatePopper() {
var _props = this.props;
var placement = _props.placement;
var modifiers = _props.modifiers;
var _props = this.props,
placement = _props.placement,
modifiers = _props.modifiers;

@@ -153,5 +153,5 @@

value: function _createPopper() {
var _props2 = this.props;
var placement = _props2.placement;
var eventsEnabled = _props2.eventsEnabled;
var _props2 = this.props,
placement = _props2.placement,
eventsEnabled = _props2.eventsEnabled;

@@ -191,11 +191,10 @@ var modifiers = _extends({}, this.props.modifiers, {

var _props3 = this.props;
var component = _props3.component;
var placement = _props3.placement;
var eventsEnabled = _props3.eventsEnabled;
var modifiers = _props3.modifiers;
var style = _props3.style;
var _props3 = this.props,
component = _props3.component,
placement = _props3.placement,
eventsEnabled = _props3.eventsEnabled,
modifiers = _props3.modifiers,
style = _props3.style,
restProps = _objectWithoutProperties(_props3, ['component', 'placement', 'eventsEnabled', 'modifiers', 'style']);
var restProps = _objectWithoutProperties(_props3, ['component', 'placement', 'eventsEnabled', 'modifiers', 'style']);
return (0, _react.createElement)(component, _extends({

@@ -202,0 +201,0 @@ ref: function ref(c) {

@@ -61,7 +61,6 @@ 'use strict';

value: function render() {
var _props = this.props;
var component = _props.component;
var _props = this.props,
component = _props.component,
restProps = _objectWithoutProperties(_props, ['component']);
var restProps = _objectWithoutProperties(_props, ['component']);
return (0, _react.createElement)(component, restProps);

@@ -68,0 +67,0 @@ }

@@ -14,6 +14,5 @@ 'use strict';

var Target = function Target(_ref, context) {
var component = _ref.component;
var component = _ref.component,
restProps = _objectWithoutProperties(_ref, ['component']);
var restProps = _objectWithoutProperties(_ref, ['component']);
return (0, _react.createElement)(component, _extends({

@@ -20,0 +19,0 @@ ref: function ref(c) {

{
"name": "react-popper",
"version": "0.2.0",
"version": "0.2.1",
"description": "React wrapper around PopperJS.",

@@ -60,3 +60,2 @@ "main": "lib/react-popper.js",

"react": "15.3.2",
"react-aria": "^0.3.0",
"react-dom": "15.3.2",

@@ -63,0 +62,0 @@ "sass-loader": "^4.0.2",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc