mon-entreprise/dist/engine.js

39 lines
1.2 MiB
JavaScript
Raw Normal View History

2018-08-15 09:39:10 +00:00
!function(o,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Syso=e():o.Syso=e()}(window,function(){return function(o){function e(e){for(var t,a,m=e[0],s=e[1],u=0,c=[];u<m.length;u++)a=m[u],n[a]&&c.push(n[a][0]),n[a]=0;for(t in s)Object.prototype.hasOwnProperty.call(s,t)&&(o[t]=s[t]);for(r&&r(e);c.length;)c.shift()()}var t={},n={3:0};function a(e){if(t[e])return t[e].exports;var n=t[e]={i:e,l:!1,exports:{}};return o[e].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.e=function(o){var e=[],t=n[o];if(0!==t)if(t)e.push(t[2]);else{var m=new Promise(function(e,a){t=n[o]=[e,a]});e.push(t[2]=m);var s,u=document.getElementsByTagName("head")[0],r=document.createElement("script");r.charset="utf-8",r.timeout=120,a.nc&&r.setAttribute("nonce",a.nc),r.src=function(o){return a.p+""+o+".js"}(o),s=function(e){r.onerror=r.onload=null,clearTimeout(c);var t=n[o];if(0!==t){if(t){var a=e&&("load"===e.type?"missing":e.type),m=e&&e.target&&e.target.src,s=new Error("Loading chunk "+o+" failed.\n("+a+": "+m+")");s.type=a,s.request=m,t[1](s)}n[o]=void 0}};var c=setTimeout(function(){s({type:"timeout",target:r})},12e4);r.onerror=r.onload=s,u.appendChild(r)}return Promise.all(e)},a.m=o,a.c=t,a.d=function(o,e,t){a.o(o,e)||Object.defineProperty(o,e,{enumerable:!0,get:t})},a.r=function(o){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},a.t=function(o,e){if(1&e&&(o=a(o)),8&e)return o;if(4&e&&"object"==typeof o&&o&&o.__esModule)return o;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:o}),2&e&&"string"!=typeof o)for(var n in o)a.d(t,n,function(e){return o[e]}.bind(null,n));return t},a.n=function(o){var e=o&&o.__esModule?function(){return o.default}:function(){return o};return a.d(e,"a",e),e},a.o=function(o,e){return Object.prototype.hasOwnProperty.call(o,e)},a.p="",a.oe=function(o){throw console.error(o),o};var m=window.webpackJsonpSyso=window.webpackJsonpSyso||[],s=m.push.bind(m);m.push=e,m=m.slice();for(var u=0;u<m.length;u++)e(m[u]);var r=s;return a(a.s=800)}({0:function(o,e,t){"use strict";o.exports=t(209)},1:function(o,e,t){"use strict";function n(o){return null!=o&&"object"==typeof o&&!0===o["@@functional/placeholder"]}function a(o){return function e(t){return 0===arguments.length||n(t)?e:o.apply(this,arguments)}}var m=a(function(o){return function(){return o}}),s=m(!0);function u(o){return function e(t,m){switch(arguments.length){case 0:return e;case 1:return n(t)?e:a(function(e){return o(t,e)});default:return n(t)&&n(m)?e:n(t)?a(function(e){return o(e,m)}):n(m)?a(function(e){return o(t,e)}):o(t,m)}}}var r=u(function(o,e){return Number(o)+Number(e)});function c(o,e){var t;o=o||[],e=e||[];var n=o.length,a=e.length,m=[];for(t=0;t<n;)m[m.length]=o[t],t+=1;for(t=0;t<a;)m[m.length]=e[t],t+=1;return m}function i(o,e){switch(o){case 0:return function(){return e.apply(this,arguments)};case 1:return function(o){return e.apply(this,arguments)};case 2:return function(o,t){return e.apply(this,arguments)};case 3:return function(o,t,n){return e.apply(this,arguments)};case 4:return function(o,t,n,a){return e.apply(this,arguments)};case 5:return function(o,t,n,a,m){return e.apply(this,arguments)};case 6:return function(o,t,n,a,m,s){return e.apply(this,arguments)};case 7:return function(o,t,n,a,m,s,u){return e.apply(this,arguments)};case 8:return function(o,t,n,a,m,s,u,r){return e.apply(this,arguments)};case 9:return function(o,t,n,a,m,s,u,r,c){return e.apply(this,arguments)};case 10:return function(o,t,n,a,m,s,u,r,c,i){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function p(o,e,t){return function(){for(var a=[],m=0,s=o,u=0;u<e.length||m<arguments.length;){var r;u<e.length&&(!n(e[u])||m>=arguments.length)?r=e[u]:(r=arguments[m],m+=1),a[u]=r,n(r)||(s-=1),u+=1}return s<=0?t.apply(this,a):i(s,p(o,a,t))}}var L=u(function(
/** @license React v16.4.1
* react.production.min.js
*
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var n=t(96),a=t(147),m=t(148),s=t(149),u="function"==typeof Symbol&&Symbol.for,r=u?Symbol.for("react.element"):60103,c=u?Symbol.for("react.portal"):60106,i=u?Symbol.for("react.fragment"):60107,p=u?Symbol.for("react.strict_mode"):60108,L=u?Symbol.for("react.profiler"):60114,d=u?Symbol.for("react.provider"):60109,E=u?Symbol.for("react.context"):60110,C=u?Symbol.for("react.async_mode"):60111,l=u?Symbol.for("react.forward_ref"):60112;u&&Symbol.for("react.timeout");var A="function"==typeof Symbol&&Symbol.iterator;function S(o){for(var e=arguments.length-1,t="https://reactjs.org/docs/error-decoder.html?invariant="+o,n=0;n<e;n++)t+="&args[]="+encodeURIComponent(arguments[n+1]);a(!1,"Minified React error #"+o+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",t)}var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};function R(o,e,t){this.props=o,this.context=e,this.refs=m,this.updater=t||f}function O(){}function N(o,e,t){this.props=o,this.context=e,this.refs=m,this.updater=t||f}R.prototype.isReactComponent={},R.prototype.setState=function(o,e){"object"!=typeof o&&"function"!=typeof o&&null!=o&&S("85"),this.updater.enqueueSetState(this,o,e,"setState")},R.prototype.forceUpdate=function(o){this.updater.enqueueForceUpdate(this,o,"forceUpdate")},O.prototype=R.prototype;var I=N.prototype=new O;I.constructor=N,n(I,R.prototype),I.isPureReactComponent=!0;var T={current:null},U=Object.prototype.hasOwnProperty,_={key:!0,ref:!0,__self:!0,__source:!0};function h(o,e,t){var n=void 0,a={},m=null,s=null;if(null!=e)for(n in void 0!==e.ref&&(s=e.ref),void 0!==e.key&&(m=""+e.key),e)U.call(e,n)&&!_.hasOwnProperty(n)&&(a[n]=e[n]);var u=arguments.length-2;if(1===u)a.children=t;else if(1<u){for(var c=Array(u),i=0;i<u;i++)c[i]=arguments[i+2];a.children=c}if(o&&o.defaultProps)for(n in u=o.defaultProps)void 0===a[n]&&(a[n]=u[n]);return{$$typeof:r,type:o,key:m,ref:s,props:a,_owner:T.current}}function b(o){return"object"==typeof o&&null!==o&&o.$$typeof===r}var y=/\/+/g,v=[];function M(o,e,t,n){if(v.length){var a=v.pop();return a.result=o,a.keyPrefix=e,a.func=t,a.context=n,a.count=0,a}return{result:o,keyPrefix:e,func:t,context:n,count:0}}function g(o){o.result=null,o.keyPrefix=null,o.func=null,o.context=null,o.count=0,10>v.length&&v.push(o)}function B(o,e,t,n){var a=typeof o;"undefined"!==a&&"boolean"!==a||(o=null);var m=!1;if(null===o)m=!0;else switch(a){case"string":case"number":m=!0;break;case"object":switch(o.$$typeof){case r:case c:m=!0}}if(m)return t(n,o,""===e?"."+D(o,0):e),1;if(m=0,e=""===e?".":e+":",Array.isArray(o))for(var s=0;s<o.length;s++){var u=e+D(a=o[s],s);m+=B(a,u,t,n)}else if(null===o||void 0===o?u=null:u="function"==typeof(u=A&&o[A]||o["@@iterator"])?u:null,"function"==typeof u)for(o=u.call(o),s=0;!(a=o.next()).done;)m+=B(a=a.value,u=e+D(a,s++),t,n);else"object"===a&&S("31","[object Object]"===(t=""+o)?"object with keys {"+Object.keys(o).join(", ")+"}":t,"");return m}function D(o,e){return"object"==typeof o&&null!==o&&null!=o.key?function(o){var e={"=":"=0",":":"=2"};return"$"+(""+o).replace(/[=:]/g,function(o){return e[o]})}(o.key):e.toString(36)}function P(o,e){o.func.call(o.context,e,o.count++)}function V(o,e,t){var n=o.result,a=o.keyPrefix;o=o.func.call(o.context,e,o.count++),Array.isArray(o)?G(o,n,t,s.thatReturnsArgument):null!=o&&(b(o)&&(e=a+(!o.key||e&&e.key===o.key?"":(""+o.key).replace(y,"$&/")+"/")+t,o={$$typeof:r,type:o.type,key:e,ref:o.ref,props:o.props,_owner:o._owner}),n.push(o))}function G(o,e,t,n,a){var m="";null!=t&&(m=(""+t).replace(y,"$&/")+"/"),e=M(e,m,n,a),null==o||B(o,"",V,e),g(e)}var H={Children:{map:function(o,e,t){if(null==o)return o;var n=[];return G(o,n,null,e,t),n},forEach:function(o,e,t){if(null==o)return o;e=M(null,null,e,t),null==o||B(o,"",P,e),g(e)},count:function(o){return null==o?0:B(o,"",s.thatReturnsNull,null)},toArray:function(o){var e=[];return G(o,e,null,s.thatReturnsArgument),e},only:function(o){return b(o)||S("143"),o}},createRef:function(){retu
/*!
Copyright (c) 2017 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
/*!
Copyright (c) 2017 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
!function(){"use strict";var t={}.hasOwnProperty;function a(){for(var o=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var m=typeof n;if("string"===m||"number"===m)o.push(n);else if(Array.isArray(n)&&n.length){var s=a.apply(null,n);s&&o.push(s)}else if("object"===m)for(var u in n)t.call(n,u)&&n[u]&&o.push(u)}}return o.join(" ")}void 0!==o&&o.exports?(a.default=a,o.exports=a):void 0===(n=function(){return a}.apply(e,[]))||(o.exports=n)}()},23:function(o,e,t){"use strict";o.exports=function(){}},24:function(o,e,t){"use strict";var n=t(97),a="object"==typeof self&&self&&self.Object===Object&&self,m=n.a||a||Function("return this")();e.a=m},25:function(o,e,t){"use strict";var n=t(55),a=t(138),m={INIT:"@@redux/INIT"};function s(o,e,t){var u;if("function"==typeof e&&void 0===t&&(t=e,e=void 0),void 0!==t){if("function"!=typeof t)throw new Error("Expected the enhancer to be a function.");return t(s)(o,e)}if("function"!=typeof o)throw new Error("Expected the reducer to be a function.");var r=o,c=e,i=[],p=i,L=!1;function d(){p===i&&(p=i.slice())}function E(){return c}function C(o){if("function"!=typeof o)throw new Error("Expected listener to be a function.");var e=!0;return d(),p.push(o),function(){if(e){e=!1,d();var t=p.indexOf(o);p.splice(t,1)}}}function l(o){if(!Object(n.a)(o))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===o.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(L)throw new Error("Reducers may not dispatch actions.");try{L=!0,c=r(c,o)}finally{L=!1}for(var e=i=p,t=0;t<e.length;t++){(0,e[t])()}return o}return l({type:m.INIT}),(u={dispatch:l,subscribe:C,getState:E,replaceReducer:function(o){if("function"!=typeof o)throw new Error("Expected the nextReducer to be a function.");r=o,l({type:m.INIT})}})[a.a]=function(){var o,e=C;return(o={subscribe:function(o){if("object"!=typeof o)throw new TypeError("Expected the observer to be an object.");function t(){o.next&&o.next(E())}return t(),{unsubscribe:e(t)}}})[a.a]=function(){return this},o},u}function u(o,e){var t=e&&e.type;return"Given action "+(t&&'"'+t.toString()+'"'||"an action")+', reducer "'+o+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function r(o){for(var e=Object.keys(o),t={},n=0;n<e.length;n++){var a=e[n];0,"function"==typeof o[a]&&(t[a]=o[a])}var s=Object.keys(t);var r=void 0;try{!function(o){Object.keys(o).forEach(function(e){var t=o[e];if(void 0===t(void 0,{type:m.INIT}))throw new Error('Reducer "'+e+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===t(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+e+"\" returned undefined when probed with a random type. Don't try to handle "+m.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}(t)}catch(o){r=o}return function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1];if(r)throw r;for(var n=!1,a={},m=0;m<s.length;m++){var c=s[m],i=t[c],p=o[c],L=i(p,e);if(void 0===L){var d=u(c,e);throw new Error(d)}a[c]=L,n=n||L!==p}return n?a:o}}function c(o,e){return function(){return e(o.apply(void 0,arguments))}}function i(o,e){if("function"==typeof o)return c(o,e);if("object"!=typeof o||null===o)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===o?"null":typeof o)+'. Did you write "import ActionCreators from" instead of "import * as Ac
/** @license React v16.4.1
* react-dom.production.min.js
*
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var n=t(147),a=t(0),m=t(262),s=t(96),u=t(149),r=t(263),c=t(264),i=t(265),p=t(148);function L(o){for(var e=arguments.length-1,t="https://reactjs.org/docs/error-decoder.html?invariant="+o,a=0;a<e;a++)t+="&args[]="+encodeURIComponent(arguments[a+1]);n(!1,"Minified React error #"+o+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",t)}a||L("227");var d={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,invokeGuardedCallback:function(o,e,t,n,a,m,s,u,r){(function(o,e,t,n,a,m,s,u,r){this._hasCaughtError=!1,this._caughtError=null;var c=Array.prototype.slice.call(arguments,3);try{e.apply(t,c)}catch(o){this._caughtError=o,this._hasCaughtError=!0}}).apply(d,arguments)},invokeGuardedCallbackAndCatchFirstError:function(o,e,t,n,a,m,s,u,r){if(d.invokeGuardedCallback.apply(this,arguments),d.hasCaughtError()){var c=d.clearCaughtError();d._hasRethrowError||(d._hasRethrowError=!0,d._rethrowError=c)}},rethrowCaughtError:function(){return function(){if(d._hasRethrowError){var o=d._rethrowError;throw d._rethrowError=null,d._hasRethrowError=!1,o}}.apply(d,arguments)},hasCaughtError:function(){return d._hasCaughtError},clearCaughtError:function(){if(d._hasCaughtError){var o=d._caughtError;return d._caughtError=null,d._hasCaughtError=!1,o}L("198")}};var E=null,C={};function l(){if(E)for(var o in C){var e=C[o],t=E.indexOf(o);if(-1<t||L("96",o),!S[t])for(var n in e.extractEvents||L("97",o),S[t]=e,t=e.eventTypes){var a=void 0,m=t[n],s=e,u=n;f.hasOwnProperty(u)&&L("99",u),f[u]=m;var r=m.phasedRegistrationNames;if(r){for(a in r)r.hasOwnProperty(a)&&A(r[a],s,u);a=!0}else m.registrationName?(A(m.registrationName,s,u),a=!0):a=!1;a||L("98",n,o)}}}function A(o,e,t){R[o]&&L("100",o),R[o]=e,O[o]=e.eventTypes[t].dependencies}var S=[],f={},R={},O={};function N(o){E&&L("101"),E=Array.prototype.slice.call(o),l()}function I(o){var e,t=!1;for(e in o)if(o.hasOwnProperty(e)){var n=o[e];C.hasOwnProperty(e)&&C[e]===n||(C[e]&&L("102",e),C[e]=n,t=!0)}t&&l()}var T={plugins:S,eventNameDispatchConfigs:f,registrationNameModules:R,registrationNameDependencies:O,possibleRegistrationNames:null,injectEventPluginOrder:N,injectEventPluginsByName:I},U=null,_=null,h=null;function b(o,e,t,n){e=o.type||"unknown-event",o.currentTarget=h(n),d.invokeGuardedCallbackAndCatchFirstError(e,t,void 0,o),o.currentTarget=null}function y(o,e){return null==e&&L("30"),null==o?e:Array.isArray(o)?Array.isArray(e)?(o.push.apply(o,e),o):(o.push(e),o):Array.isArray(e)?[o].concat(e):[o,e]}function v(o,e,t){Array.isArray(o)?o.forEach(e,t):o&&e.call(t,o)}var M=null;function g(o,e){if(o){var t=o._dispatchListeners,n=o._dispatchInstances;if(Array.isArray(t))for(var a=0;a<t.length&&!o.isPropagationStopped();a++)b(o,e,t[a],n[a]);else t&&b(o,e,t,n);o._dispatchListeners=null,o._dispatchInstances=null,o.isPersistent()||o.constructor.release(o)}}function B(o){return g(o,!0)}function D(o){return g(o,!1)}var P={injectEventPluginOrder:N,injectEventPluginsByName:I};function V(o,e){var t=o.stateNode;if(!t)return null;var n=U(t);if(!n)return null;t=n[e];o:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(n=!n.disabled)||(n=!("button"===(o=o.type)||"input"===o||"select"===o||"textarea"===o)),o=!n;break o;default:o=!1}return o?null:(t&&"function"!=typeof t&&L("231",e,typeof t),t)}function G(o,e){null!==o&&(M=y(M,o)),o=M,M=null,o&&(v(o,e?B:D),M&&L("95"),d.rethrowCaughtError())}function H(o,e,t,n){for(var a=null,m=0;m<S.length;m++){var s=S[m];s&&(s=s.extractEvents(o,e,t,n))&&(a=y(a,s))}G(a,!1)}var w={injection:P,getListener:V,runEventsInBatch:G,runExtractedEventsInBatch:H},Y=Math.random().toString(36).slice(2),x="__reactInternalInstance$"+Y,F="__reactEventHandlers$"+Y;function k(o){if(o[x])return o[x];for(;!o[x];){if(!o.parentNode)return null;o=o.parentNode}return 5===(o=o[x]).tag||6===o.tag?o:null}function j(o){if(5===o.tag||6===o.tag)return o.stateNode;L(
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/react-select
*/
var y=function(o){return"string"==typeof o?o:null!==o&&JSON.stringify(o)||""},v=r.a.oneOfType([r.a.string,r.a.node]),M=r.a.oneOfType([r.a.string,r.a.number]),g=1,B=function(o,e){var t=void 0===o?"undefined":f(o);if("string"!==t&&"number"!==t&&"boolean"!==t)return o;var n=e.options,a=e.valueKey;if(n)for(var m=0;m<n.length;m++)if(String(n[m][a])===String(o))return n[m]},D=function(o,e){return!o||(e?0===o.length:0===Object.keys(o).length)},P=function(o){function e(o){R(this,e);var t=_(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,o));return["clearValue","focusOption","getOptionLabel","handleInputBlur","handleInputChange","handleInputFocus","handleInputValueChange","handleKeyDown","handleMenuScroll","handleMouseDown","handleMouseDownOnArrow","handleMouseDownOnMenu","handleTouchEnd","handleTouchEndClearValue","handleTouchMove","handleTouchOutside","handleTouchStart","handleValueClick","onOptionRef","removeValue","selectValue"].forEach(function(o){return t[o]=t[o].bind(t)}),t.state={inputValue:"",isFocused:!1,isOpen:!1,isPseudoFocused:!1,required:!1},t}return T(e,o),O(e,[{key:"componentWillMount",value:function(){this._instancePrefix="react-select-"+(this.props.instanceId||++g)+"-";var o=this.getValueArray(this.props.value);this.props.required&&this.setState({required:D(o[0],this.props.multi)})}},{key:"componentDidMount",value:function(){void 0!==this.props.autofocus&&"undefined"!=typeof console&&console.warn("Warning: The autofocus prop has changed to autoFocus, support will be removed after react-select@1.0"),(this.props.autoFocus||this.props.autofocus)&&this.focus()}},{key:"componentWillReceiveProps",value:function(o){var e=this.getValueArray(o.value,o);o.required?this.setState({required:D(e[0],o.multi)}):this.props.required&&this.setState({required:!1}),this.state.inputValue&&this.props.value!==o.value&&o.onSelectResetsInput&&this.setState({inputValue:this.handleInputValueChange("")})}},{key:"componentDidUpdate",value:function(o,e){if(this.menu&&this.focused&&this.state.isOpen&&!this.hasScrolledToOption){var t=Object(p.findDOMNode)(this.focused),n=Object(p.findDOMNode)(this.menu),a=n.scrollTop,m=a+n.offsetHeight,s=t.offsetTop,u=s+t.offsetHeight;(a>s||m<u)&&(n.scrollTop=t.offsetTop),this.hasScrolledToOption=!0}else this.state.isOpen||(this.hasScrolledToOption=!1);if(this._scrollToFocusedOptionOnUpdate&&this.focused&&this.menu){this._scrollToFocusedOptionOnUpdate=!1;var r=Object(p.findDOMNode)(this.focused),c=Object(p.findDOMNode)(this.menu),i=r.getBoundingClientRect(),L=c.getBoundingClientRect();i.bottom>L.bottom?c.scrollTop=r.offsetTop+r.clientHeight-c.offsetHeight:i.top<L.top&&(c.scrollTop=r.offsetTop)}if(this.props.scrollMenuIntoView&&this.menuContainer){var d=this.menuContainer.getBoundingClientRect();window.innerHeight<d.bottom+this.props.menuBuffer&&window.scrollBy(0,d.bottom+this.props.menuBuffer-window.innerHeight)}if(o.disabled!==this.props.disabled&&(this.setState({isFocused:!1}),this.closeMenu()),e.isOpen!==this.state.isOpen){this.toggleTouchOutsideEvent(this.state.isOpen);var E=this.state.isOpen?this.props.onOpen:this.props.onClose;E&&E()}}},{key:"componentWillUnmount",value:function(){this.toggleTouchOutsideEvent(!1)}},{key:"toggleTouchOutsideEvent",value:function(o){o?!document.addEventListener&&document.attachEvent?document.attachEvent("ontouchstart",this.handleTouchOutside):document.addEventListener("touchstart",this.handleTouchOutside):!document.removeEventListener&&document.detachEvent?document.detachEvent("ontouchstart",this.handleTouchOutside):document.removeEventListener("touchstart",this.handleTouchOutside)}},{key:"handleTouchOutside",value:function(o){this.wrapper&&!this.wrapper.contains(o.target)&&this.closeMenu()}},{key:"focus",value:function(){this.input&&this.input.focus()}},{key:"blurInput",value:function(){this.input&&this.input.blur()}},{key:"handleTouchMove",value:function(){this.dragging=!0}},{key:"handleTouchStart",value:function(){this.dragging=!1}},{key:"handleTouchEnd",value:function(o){this.dragging||this.handleMouseDown(o)}},{key:"handleTouchEndClearValue",value:function(o){th
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;o.exports=function(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de","5"===Object.getOwnPropertyNames(o)[0])return!1;for(var e={},t=0;t<10;t++)e["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(o){return e[o]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(o){n[o]=o}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(o){return!1}}()?Object.assign:function(o,e){for(var t,s,u=function(o){if(null===o||void 0===o)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}(o),r=1;r<arguments.length;r++){for(var c in t=Object(arguments[r]))a.call(t,c)&&(u[c]=t[c]);if(n){s=n(t);for(var i=0;i<s.length;i++)m.call(t,s[i])&&(u[s[i]]=t[s[i]])}}return u}},97:function(o,e,t){"use strict";(function(o){var t="object"==typeof o&&o&&o.Object===Object&&o;e.a=t}).call(this,t(77))},98:function(o,e,t){"use strict";e.a=function(o,e){return function(t){return o(e(t))}}},99:function(module,__webpack_exports__,__webpack_require__){"use strict";(function(module){__webpack_require__.d(__webpack_exports__,"a",function(){return Explicable});var Actions_actions__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(39),classnames__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(22),classnames__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__),Engine_rules__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(8),react__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__),react_redux__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(10),Selectors_analyseSelectors__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(14),_utils_withTracker__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(65),_Explicable_css__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(278),_Explicable_css__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(_Explicable_css__WEBPACK_IMPORTED_MODULE_7__),_dec,_class;function _typeof(o){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(o)}function _classCallCheck(o,e){if(!(o instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(o,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(o,n.key,n)}}function _createClass(o,e,t){return e&&_defineProperties(o.prototype,e),t&&_defineProperties(o,t),o}function _possibleConstructorReturn(o,e){return!e||"object"!==_typeof(e)&&"function"!=typeof e?_assertThisInitialized(o):e}function _assertThisInitialized(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _inherits(o,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),e&&_setPrototypeOf(o,e)}function _setPrototypeOf(o,e){return(_setPrototypeOf=Object.setPrototypeOf||function(o,e){return o.__proto__=e,o})(o,e)}!function(){var o=__webpack_require__(3).enterModule;o&&o(module)}();var Explicable=(_dec=Object(react_redux__WEBPACK_IMPORTED_MODULE_4__.b)(function(o){return{explained:o.explainedVariable,textColourOnWhite:o.themeColours.textColourOnWhite,flatRules:Object(Selectors_analyseSelectors__WEBPACK_IMPORTED_MODULE_5__.e)(o)}},function(o){return{explain:function(e){return o({type:Actions_actions__WEBPACK_IMPORTED_MODULE_0__.a,variableName:e})}}}),_dec(_class=Object(_utils_withTracker__