@qwant/react-components
Advanced tools
Comparing version 0.4.3 to 0.4.4
@@ -6,2 +6,2 @@ module.exports=function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=11)}([function(e,t){e.exports=require("react")},function(e,t,r){e.exports=r(16)()},function(e,t,r){var n,a;/*! | ||
*/ | ||
!function(){"use strict";function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n))e.push(r.apply(null,n));else if("object"===a)for(var o in n)u.call(n,o)&&n[o]&&e.push(o)}}return e.join(" ")}var u={}.hasOwnProperty;void 0!==e&&e.exports?e.exports=r:(n=[],void 0!==(a=function(){return r}.apply(t,n))&&(e.exports=a))}()},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.types=t.colors=void 0;var a=r(7),u=n(a),o=r(32),l=n(o);t.colors=u.default,t.types=l.default},function(e,t,r){"use strict";function n(e){return function(){return e}}var a=function(){};a.thatReturns=n,a.thatReturnsFalse=n(!1),a.thatReturnsTrue=n(!0),a.thatReturnsNull=n(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t,r){e.exports=function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=20)}([function(e,t){e.exports=r(0)},function(e,t,r){e.exports=r(21)()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){return{xmlns:"http://www.w3.org/2000/svg",style:{flexShrink:0},width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}};t.default=n},function(e,t,r){"use strict";function n(e){return function(){return e}}var a=function(){};a.thatReturns=n,a.thatReturnsFalse=n(!1),a.thatReturnsTrue=n(!0),a.thatReturnsNull=n(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=e.active,o=a(e,["color","size","active"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),o),l.default.createElement("line",{x1:"4",y1:"21",x2:"4",y2:"3",stroke:n?"#0fbd2b":t}),l.default.createElement("line",{x1:"12",y1:"21",x2:"12",y2:"3",stroke:n?"#ff7800":t}),l.default.createElement("line",{x1:"20",y1:"21",x2:"20",y2:"3",stroke:n?"#1f99f5":t}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number]),active:c.default.bool},d.defaultProps={color:"currentColor",size:"24",active:!1},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){switch(e){case"up":return l.default.createElement("polyline",{points:"18 15 12 9 6 15"});case"down":return l.default.createElement("polyline",{points:"6 9 12 15 18 9"});case"left":return l.default.createElement("polyline",{points:"15 18 9 12 15 6"});case"right":return l.default.createElement("polyline",{points:"9 18 15 12 9 6"});default:return!1}},p=function(e){var t=e.color,r=e.size,n=e.direction,o=a(e,["color","size","direction"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),o),d(n))};p.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number]),direction:c.default.oneOf(["up","down","left","right"]).isRequired},p.defaultProps={color:"currentColor",size:"24"},t.default=p},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),n),l.default.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),l.default.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},d.defaultProps={color:"currentColor",size:"24"},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),n),l.default.createElement("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}),l.default.createElement("circle",{cx:"8.5",cy:"8.5",r:"1.5"}),l.default.createElement("polyline",{points:"21 15 16 10 5 21"}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},d.defaultProps={color:"currentColor",size:"24"},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),n),l.default.createElement("line",{x1:"8",y1:"6",x2:"21",y2:"6"}),l.default.createElement("line",{x1:"8",y1:"12",x2:"21",y2:"12"}),l.default.createElement("line",{x1:"8",y1:"18",x2:"21",y2:"18"}),l.default.createElement("line",{x1:"3",y1:"6",x2:"3",y2:"6"}),l.default.createElement("line",{x1:"3",y1:"12",x2:"3",y2:"12"}),l.default.createElement("line",{x1:"3",y1:"18",x2:"3",y2:"18"}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},d.defaultProps={color:"currentColor",size:"24"},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",style:{flexShrink:0},width:r,height:r,viewBox:"0 0 45 45"},n),l.default.createElement("defs",null,l.default.createElement("path",{id:"flat-a",d:"M21.4674,0.18 C33.0064,0.18 42.3944,9.799 42.3944,21.623 C42.3944,26.162 41.0264,30.501 38.4384,34.168 L38.2154,34.486 L38.5244,34.642 L42.8394,38.436 L38.7314,43.249 L28.4884,34.223 C32.8864,31.635 35.5994,26.851 35.5994,21.623 C35.5994,13.619 29.2594,7.107 21.4674,7.107 C13.6754,7.107 7.3354,13.619 7.3354,21.623 C7.3354,29.624 13.6684,36.133 21.4574,36.139 L21.4574,43.067 C9.9224,43.06 0.5404,33.444 0.5404,21.623 C0.5404,9.799 9.9284,0.18 21.4674,0.18 Z"})),l.default.createElement("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)"},l.default.createElement("mask",{id:"flat-b",fill:"#fff"},l.default.createElement("use",{xlinkHref:"#flat-a"})),l.default.createElement("use",{fill:"#000000",xlinkHref:"#flat-a"}),l.default.createElement("g",{fill:t,mask:"url(#flat-b)"},l.default.createElement("rect",{width:"245",height:"175",transform:"translate(-94 -51)"}))))};s.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},s.defaultProps={color:"currentColor",size:45},t.default=s},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),n),l.default.createElement("path",{d:"M9 17H5a2 2 0 0 0-2 2 2 2 0 0 0 2 2h2a2 2 0 0 0 2-2zm12-2h-4a2 2 0 0 0-2 2 2 2 0 0 0 2 2h2a2 2 0 0 0 2-2z"}),l.default.createElement("polyline",{points:"9 17 9 5 21 3 21 15"}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},d.defaultProps={color:"currentColor",size:"24"},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),n),l.default.createElement("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),l.default.createElement("polyline",{points:"14 2 14 8 20 8"}),l.default.createElement("line",{x1:"16",y1:"13",x2:"8",y2:"13"}),l.default.createElement("line",{x1:"16",y1:"17",x2:"8",y2:"17"}),l.default.createElement("polyline",{points:"10 9 9 9 8 9"}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},d.defaultProps={color:"currentColor",size:"24"},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),n),l.default.createElement("circle",{cx:"11",cy:"11",r:"8"}),l.default.createElement("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},d.defaultProps={color:"currentColor",size:"24"},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),n),l.default.createElement("circle",{cx:"12",cy:"12",r:"3"}),l.default.createElement("path",{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},d.defaultProps={color:"currentColor",size:"24"},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),n),l.default.createElement("circle",{cx:"9",cy:"21",r:"1"}),l.default.createElement("circle",{cx:"20",cy:"21",r:"1"}),l.default.createElement("path",{d:"M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},d.defaultProps={color:"currentColor",size:"24"},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),n),l.default.createElement("circle",{cx:"18",cy:"5",r:"3"}),l.default.createElement("circle",{cx:"6",cy:"12",r:"3"}),l.default.createElement("circle",{cx:"18",cy:"19",r:"3"}),l.default.createElement("line",{x1:"8.59",y1:"13.51",x2:"15.42",y2:"17.49"}),l.default.createElement("line",{x1:"15.41",y1:"6.51",x2:"8.59",y2:"10.49"}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},d.defaultProps={color:"currentColor",size:"24"},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),n),l.default.createElement("polygon",{points:"23 7 16 12 23 17 23 7"}),l.default.createElement("rect",{x:"1",y:"5",width:"15",height:"14",rx:"2",ry:"2"}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},d.defaultProps={color:"currentColor",size:"24"},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),n),l.default.createElement("circle",{cx:"12",cy:"12",r:"10"}),l.default.createElement("line",{x1:"2",y1:"12",x2:"22",y2:"12"}),l.default.createElement("path",{d:"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},d.defaultProps={color:"currentColor",size:"24"},t.default=d},,,function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=r(0),o=n(u),l=r(1),i=n(l),c=function(e){var t=e.name,n=a(e,["name"]),u=r(24)("./"+t).default;return o.default.createElement(u,n)};c.propTypes={name:i.default.oneOf(["all","chevron","cross","images","list","logo","music","news","search","settings","shopping","social","videos","web"]).isRequired},t.default=c},function(e,t,r){"use strict";var n=r(3),a=r(22),u=r(23);e.exports=function(){function e(e,t,r,n,o,l){l!==u&&a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=n,r.PropTypes=r,r}},function(e,t,r){"use strict";function n(e,t,r,n,u,o,l,i){if(a(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[r,n,u,o,l,i],f=0;c=new Error(t.replace(/%s/g,function(){return s[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var a=function(e){};e.exports=n},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){function n(e){return r(a(e))}function a(e){var t=u[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var u={"./all":4,"./all.js":4,"./chevron":5,"./chevron.js":5,"./cross":6,"./cross.js":6,"./images":7,"./images.js":7,"./list":8,"./list.js":8,"./logo":9,"./logo.js":9,"./music":10,"./music.js":10,"./news":11,"./news.js":11,"./search":12,"./search.js":12,"./settings":13,"./settings.js":13,"./shopping":14,"./shopping.js":14,"./social":15,"./social.js":15,"./videos":16,"./videos.js":16,"./web":17,"./web.js":17};n.keys=function(){return Object.keys(u)},n.resolve=a,e.exports=n,n.id=24}])},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(67);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={transparent:"transparent",black:"#191919",white:"#FFFFFF",smoke:"#707070",peacock:"#0055A2",cerulean:"#0068D0",blueric:"#007EED",mint:"#018475",violet:"#5C00F3",prune:"#7100B1",strawberry:"#C30005",raspberry:"#A3005C",pumpkin:"#F95D00",azure:"#0093EC",black90:"rgba(0, 0, 0, .90)",black80:"rgba(0, 0, 0, .80)",black70:"rgba(0, 0, 0, .70)",black60:"rgba(0, 0, 0, .60)",black50:"rgba(0, 0, 0, .50)",black40:"rgba(0, 0, 0, .40)",black30:"rgba(0, 0, 0, .30)",black20:"rgba(0, 0, 0, .20)",black10:"rgba(0, 0, 0, .10)",black05:"rgba(0, 0, 0, .05)",black03:"rgba(0, 0, 0, .03)",black02:"rgba(0, 0, 0, .02)",white90:"rgba(255, 255, 255, .90)",white80:"rgba(255, 255, 255, .80)",white70:"rgba(255, 255, 255, .70)",white60:"rgba(255, 255, 255, .60)",white50:"rgba(255, 255, 255, .50)",white40:"rgba(255, 255, 255, .40)",white30:"rgba(255, 255, 255, .30)",white20:"rgba(255, 255, 255, .20)",white10:"rgba(255, 255, 255, .10)",white05:"rgba(255, 255, 255, .05)",white03:"rgba(255, 255, 255, .03)"};t.default=n},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(66);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},,,function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Sidebar=t.Result=t.Pagination=t.Link=t.Icon=t.SearchInput=t.Footer=t.Dropdown=t.Col=t.Row=t.Grid=t.Button=void 0,r(12),r(13);var a=r(14),u=n(a),o=r(20),l=n(o),i=r(23),c=n(i),s=r(26),f=n(s),d=r(29),p=n(d),b=r(30),v=n(b),y=r(34),_=n(y),m=r(37),g=n(m),h=r(52),O=n(h),j=r(55),P=n(j),w=r(62),E=n(w),M=r(76),x=n(M);t.Button=u.default,t.Grid=l.default,t.Row=c.default,t.Col=f.default,t.Dropdown=v.default,t.Footer=_.default,t.SearchInput=g.default,t.Icon=p.default,t.Link=O.default,t.Pagination=P.default,t.Result=E.default,t.Sidebar=x.default},function(e,t){},function(e,t){},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(15);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0});var u=r(0),o=n(u),l=r(1),i=n(l),c=r(2),s=n(c),f=r(19),d=n(f),p=function(e){var t,r=e.label,n=e.type,u=e.size,l=e.disabled,i=e.onClick,c=e.className;return o.default.createElement("button",{className:(0,s.default)(d.default.Button,(t={},a(t,d.default[u],Boolean(u)),a(t,d.default[n],Boolean(n)),a(t,c,Boolean(c)),t)),onClick:i,disabled:l},o.default.createElement("span",{className:d.default.label},r))};p.defaultProps={label:"",type:"primary",size:"normal",disabled:!1},p.propTypes={label:i.default.string,className:i.default.string,type:i.default.oneOf(["primary","secondary"]),size:i.default.oneOf(["normal"]),disabled:i.default.bool,onClick:i.default.func},t.default=p},function(e,t,r){"use strict";var n=r(4),a=r(17),u=r(18);e.exports=function(){function e(e,t,r,n,o,l){l!==u&&a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=n,r.PropTypes=r,r}},function(e,t,r){"use strict";function n(e,t,r,n,u,o,l,i){if(a(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[r,n,u,o,l,i],f=0;c=new Error(t.replace(/%s/g,function(){return s[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var a=function(e){};e.exports=n},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t){e.exports={Button:"Button_3Tk67",normal:"normal_1prbS",primary:"primary_1UoHl",label:"label_2LqwQ",secondary:"secondary_3ybyE"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(21);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(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},l=r(0),i=n(l),c=r(1),s=n(c),f=r(2),d=n(f),p=r(22),b=n(p),v=function(e){var t,r=e.children,n=e.debug,l=e.className,c=u(e,["children","debug","className"]);return i.default.createElement("section",o({className:(0,d.default)((t={},a(t,l,Boolean(l)),a(t,b.default.Grid,!0),a(t,b.default.debug,n),t))},c),r)};v.propTypes={children:s.default.node,className:s.default.string,debug:s.default.bool},v.defaultProps={debug:!1},t.default=v},function(e,t){e.exports={Grid:"Grid_2eys1",debug:"debug_34CBT"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(24);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(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},l=r(0),i=n(l),c=r(1),s=n(c),f=r(2),d=n(f),p=r(25),b=n(p),v=function(e){var t,r=e.children,n=e.debug,l=e.className,c=u(e,["children","debug","className"]);return i.default.createElement("div",o({className:(0,d.default)((t={},a(t,l,Boolean(l)),a(t,b.default.Row,!0),a(t,b.default.debug,n),t))},c),r)};v.propTypes={children:s.default.node,className:s.default.string,debug:s.default.bool},v.defaultProps={debug:!1},t.default=v},function(e,t){e.exports={Row:"Row_156wW",debug:"debug_1teVE"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(27);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(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},l=r(0),i=n(l),c=r(1),s=n(c),f=r(2),d=n(f),p=r(28),b=n(p),v=function(e){var t,r=e.children,n=e.debug,l=e.size,c=e.className,s=u(e,["children","debug","size","className"]);return i.default.createElement("div",o({className:(0,d.default)((t={},a(t,c,Boolean(c)),a(t,b.default.Col,!0),a(t,b.default.debug,n),t)),style:{flexGrow:l}},s),r)};v.propTypes={size:s.default.number,children:s.default.node,className:s.default.string,debug:s.default.bool},v.defaultProps={size:12,debug:!1},t.default=v},function(e,t){e.exports={Col:"Col_2fQIk",debug:"debug_1qgZx"}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5),a=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=a.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(31);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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 l(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 i=r(0),c=n(i),s=r(1),f=n(s),d=r(2),p=n(d),b=r(5),v=n(b),y=r(3),_=r(33),m=n(_),g=function(e){function t(){var e,r,n,l;u(this,t);for(var i=arguments.length,s=Array(i),f=0;f<i;f++)s[f]=arguments[f];return r=n=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),n.state={isOpened:!1,isHovered:!1},n._toggleOptions=function(){return n.setState({isOpened:!n.state.isOpened},function(){if(n.state.isOpened)return n.props.onOpen()})},n._toggleMouseHover=function(e){var t=e.type;return n.setState({isHovered:t.includes("mouseenter")})},n._changeCurrentSelected=function(e){var t=n.props.onChange;n._toggleOptions(),t(e)},n.close=function(){return n.setState({isOpened:!1})},n.render=function(){var e=n.props,t=e.selected,r=e.options,u=e.align,o=n.state,l=o.isOpened,i=o.isHovered;return c.default.createElement("div",{className:m.default.Dropdown},c.default.createElement("div",{className:m.default.select,onClick:n._toggleOptions,onMouseEnter:n._toggleMouseHover,onMouseLeave:n._toggleMouseHover},c.default.createElement("label",{className:m.default.label},t),c.default.createElement(v.default,{name:"chevron",direction:l?"up":"down",color:i?y.colors.anchor:y.colors.smoke,size:24})),c.default.createElement("div",{className:(0,p.default)(m.default.options,m.default[u],a({},m.default.hidden,!l))},r.map(function(e,r){return c.default.createElement("label",{key:r,className:(0,p.default)(m.default.option,a({},m.default.selected,Object.is(t,e))),onClick:function(){return n._changeCurrentSelected(e)}},e)})))},l=r,o(n,l)}return l(t,e),t}(i.PureComponent);g.propTypes={selected:f.default.string.isRequired,options:f.default.arrayOf(f.default.string),onChange:f.default.func.isRequired,align:f.default.oneOf(["left","right"]),onOpen:f.default.func},g.defaultProps={align:"right",onOpen:null,options:[]},t.default=g},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7),a=function(e){return e&&e.__esModule?e:{default:e}}(n),u={all:a.default.black,web:a.default.mint,news:a.default.pumpkin,social:a.default.azure,images:a.default.prune,videos:a.default.strawberry,shopping:a.default.raspberry};t.default=u},function(e,t){e.exports={Dropdown:"Dropdown_14ha9",select:"select_hpwbj",label:"label_2wC-1",options:"options_2Vodh",left:"left_2ulwX",right:"right_1jX2n",hidden:"hidden_3xcEN",option:"option_3DOPy",selected:"selected_3nZEG"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(35);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(0),u=n(a),o=r(1),l=n(o),i=r(36),c=n(i),s=function(e){var t=e.links;return u.default.createElement("div",{className:c.default.Footer},t.map(function(e,t){var r=e.label,n=e.href;return u.default.createElement("a",{key:t,href:n,className:c.default.link},r)}))};s.propTypes={links:l.default.arrayOf(l.default.shape({label:l.default.string.isRequired,href:l.default.string.isRequired}))},s.defaultProps={links:[{label:"Vie privée et Qwant",href:"#"},{label:"À propos",href:"#"},{label:"Mentions légales - CGU",href:"#"},{label:"Contactez-nous",href:"#"},{label:"F.A.Q.",href:"#"},{label:"Qwick",href:"#"},{label:"Jobs",href:"#"},{label:"Presse",href:"#"},{label:"Blog",href:"#"}]},t.default=s},function(e,t){e.exports={Footer:"Footer_2fJ2k",link:"link_wQJKd"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(38);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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 l(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 i=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}}(),c=r(0),s=n(c),f=r(1),d=n(f),p=r(2),b=n(p),v=r(39),y=n(v),_=r(42),m=n(_),g=r(45),h=n(g),O=r(48),j=n(O),P=r(3),w=r(51),E=n(w),M=-1,x=function(e){function t(){var e,r,n,a;u(this,t);for(var l=arguments.length,i=Array(l),c=0;c<l;c++)i[c]=arguments[c];return r=n=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),n.state={value:n.props.value,isSearchInputFocus:!1,activeSuggestIndex:M},n._updateSearchInputValue=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return new Promise(function(r){var a=n.state.activeSuggestIndex,u=n.props.onChange;if(n.setState({activeSuggestIndex:Object.is(e,"")?M:a,value:e},r),t)return u(e)})},n._toggleSearchInputFocus=function(e){var t=e.type;return setTimeout(function(){return n.setState({isSearchInputFocus:t.includes("focus"),activeSuggestIndex:M})},150)},n._submitSearch=function(){var e=n.props,t=e.onSubmit,r=e.value;if(t&&!Object.is(r,""))return n._searchInput.blur(),t(r)},n._updateActiveSuggestIndex=function(e){return n.setState({activeSuggestIndex:e})},n._onClickSubmit=function(e){return n._updateSearchInputValue(e).then(n._submitSearch)},n._handleKeyDown=function(e){var t=e.key,r=n.props.suggests,a=n.state,u=a.activeSuggestIndex,o=a.value;if(t.includes("Down")&&u<r.length-1)return n.setState({activeSuggestIndex:u+1},function(){return n._updateSearchInputValue(r[n.state.activeSuggestIndex],!1)});if(t.includes("Up")&&u>0)return n.setState({activeSuggestIndex:u-1},function(){return n._updateSearchInputValue(r[n.state.activeSuggestIndex],!1)});if(t.includes("Enter")){if(u===M&&!Object.is(o,""))return n._submitSearch();if(u!==M&&!Object.is(r,""))return n._onClickSubmit(r[n.state.activeSuggestIndex])}},a=r,o(n,a)}return l(t,e),i(t,[{key:"render",value:function(){var e,t=this,r=this.props,n=r.suggests,u=r.className,o=r.type,l=this.state,i=l.isSearchInputFocus,c=l.activeSuggestIndex,f=l.value;return s.default.createElement("div",{className:(0,b.default)(E.default.SearchInput,(e={},a(e,E.default.focus,i),a(e,u,Boolean(u)),e))},s.default.createElement("div",{className:E.default.search},s.default.createElement(h.default,{value:n.find(function(e){return e.slice(0,f.length).includes(f)}),disabled:Object.is(f,"")||Object.is(n,"")||!i}),s.default.createElement("input",{ref:function(e){return t._searchInput=e},className:E.default.input,type:"text",value:f,onChange:function(e){var r=e.target.value;return t._updateSearchInputValue(r)},onFocus:this._toggleSearchInputFocus,onBlur:this._toggleSearchInputFocus,onKeyDown:this._handleKeyDown}),s.default.createElement(y.default,{disabled:Object.is(f,""),onClick:function(){return t._updateSearchInputValue("")}}),s.default.createElement(m.default,{type:o,onClick:this._submitSearch,isEmptyValue:Object.is(f,"")})),s.default.createElement(j.default,{value:f,data:n,activeIndex:c,updateCurrentIndex:this._updateActiveSuggestIndex,updateCurrentValue:this._onClickSubmit,disabled:Object.is(f,"")||Object.is(n,"")||!i}))}}]),t}(c.Component);x.propTypes={value:d.default.string,onChange:d.default.func.isRequired,onSubmit:d.default.func.isRequired,suggests:d.default.array,className:d.default.string,type:d.default.oneOf(Object.keys(P.types)).isRequired},x.defaultProps={value:"",suggests:[]},t.default=x},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(40);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 o(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 l=r(0),i=n(l),c=r(1),s=n(c),f=r(5),d=n(f),p=r(3),b=r(41),v=n(b),y=function(e){function t(){var e,r,n,o;a(this,t);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return r=n=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),n.state={isCrossButtonHover:!1},n._toggleCrossButtonMouse=function(e){var t=e.type;return n.setState({isCrossButtonHover:t.includes("mouseenter")})},n.render=function(){var e=n.props,t=e.onClick,r=e.disabled,a=n.state.isCrossButtonHover;return!r&&i.default.createElement("button",{className:v.default.CrossButton,onClick:t,onMouseEnter:n._toggleCrossButtonMouse,onMouseLeave:n._toggleCrossButtonMouse},i.default.createElement(d.default,{name:"cross",size:14,color:a?p.colors.black90:p.colors.black40}))},o=r,u(n,o)}return o(t,e),t}(l.Component);y.propTypes={onClick:s.default.func.isRequired,disabled:s.default.bool},y.defaultProps={disabled:!1},t.default=y},function(e,t){e.exports={CrossButton:"CrossButton_z1eVY"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(43);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 o(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 l=r(0),i=n(l),c=r(1),s=n(c),f=r(5),d=n(f),p=r(3),b=r(44),v=n(b),y=function(e){function t(){var e,r,n,o;a(this,t);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return r=n=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),n.state={isSearchButtonHover:!1},n._toggleSearchButtonMouse=function(e){var t=e.type;return n.setState({isSearchButtonHover:t.includes("mouseenter")})},n.render=function(){var e=n.props,t=e.onClick,r=e.isEmptyValue,a=e.type,u=n.state.isSearchButtonHover,o=u||!r;return i.default.createElement("button",{className:v.default.SearchButton,onClick:t,onMouseEnter:n._toggleSearchButtonMouse,onMouseLeave:n._toggleSearchButtonMouse},i.default.createElement(d.default,{name:"search",size:20,color:o?p.types[a]:p.colors.black50}))},o=r,u(n,o)}return o(t,e),t}(l.Component);y.propTypes={onClick:s.default.func.isRequired,isEmptyValue:s.default.bool.isRequired,type:s.default.oneOf(Object.keys(p.types)).isRequired},t.default=y},function(e,t){e.exports={SearchButton:"SearchButton_GgZ5S"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(46);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(0),u=n(a),o=r(1),l=n(o),i=r(47),c=n(i),s=function(e){var t=e.value;return!e.disabled&&u.default.createElement("input",{className:c.default.InputSuggest,type:"text",value:t,readOnly:!0})};s.propTypes={value:l.default.string,disabled:l.default.bool},s.defaultProps={value:"",disabled:!0},t.default=s},function(e,t){e.exports={InputSuggest:"InputSuggest_3Uwj_"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(49);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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 l(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 i=r(0),c=n(i),s=r(1),f=n(s),d=r(2),p=n(d),b=r(50),v=n(b),y=function(e){function t(){var e,r,n,l;u(this,t);for(var i=arguments.length,s=Array(i),f=0;f<i;f++)s[f]=arguments[f];return r=n=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),n.render=function(){var e=n.props,t=e.disabled,r=e.value,u=e.data,o=e.activeIndex,l=e.updateCurrentIndex,i=e.updateCurrentValue;return!t&&c.default.createElement("div",{className:v.default.Suggests},u.map(function(e,t){return c.default.createElement("p",{key:t,onMouseEnter:function(){return l(t)},onClick:function(){return i(e)},className:(0,p.default)(v.default.single,a({},v.default.active,o===t))},e.split("").map(function(e,t){return r[t]===e?c.default.createElement("strong",{key:t},e):c.default.createElement("span",{key:t},e)}))}))},l=r,o(n,l)}return l(t,e),t}(i.Component);y.propTypes={value:f.default.string,disabled:f.default.bool,data:f.default.array.isRequired,activeIndex:f.default.number.isRequired,updateCurrentIndex:f.default.func.isRequired,updateCurrentValue:f.default.func.isRequired},y.defaultProps={value:"",disabled:!0},t.default=y},function(e,t){e.exports={Suggests:"Suggests_2xGOK",single:"single_17xjz",active:"active_vzXgF"}},function(e,t){e.exports={SearchInput:"SearchInput_2pn2C",focus:"focus_2Rjn7",search:"search_3bITz",input:"input_3bl6g"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(53);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0});var u=r(0),o=n(u),l=r(1),i=n(l),c=r(2),s=n(c),f=r(54),d=n(f),p=function(e){var t=e.label,r=e.to,n=e.className;return o.default.createElement("a",{className:(0,s.default)(d.default.Link,a({},n,Boolean(n))),href:r,target:"_blank",rel:"noopener noreferrer"},t)};p.defaultProps={label:"",to:"#"},p.propTypes={label:i.default.string,to:i.default.string,className:i.default.string},t.default=p},function(e,t){e.exports={Link:"Link_1bdDN"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(56);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(0),u=n(a),o=r(1),l=n(o),i=r(57),c=n(i),s=r(60),f=n(s),d=r(61),p=function(e){var t=e.total,r=e.current,n=e.onChange,a=e.maxPagesDisplayed,o=r+a,l=o>t?t+1-a:r,i=o>t?t+1:o;return u.default.createElement("div",{className:f.default.Pagination},u.default.createElement(c.default,{label:"Prec.",onClick:function(){return n(r-1)},disabled:Object.is(r,1)}),(0,d.range)(l,i).map(function(e){return u.default.createElement(c.default,{key:e,label:e.toString(),onClick:function(){return n(e)},selected:Object.is(r,e),disabled:e<1||e>t})}),u.default.createElement(c.default,{label:"Suiv.",onClick:function(){return n(r+1)},disabled:Object.is(r,t)}))};p.propTypes={total:l.default.number.isRequired,current:l.default.number.isRequired,onChange:l.default.func.isRequired,maxPagesDisplayed:l.default.number.isRequired},p.defaultProps={maxPagesDisplayed:5},t.default=p},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(58);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0});var u=r(0),o=n(u),l=r(1),i=n(l),c=r(2),s=n(c),f=r(59),d=n(f),p=function(e){var t=e.label,r=e.onClick,n=e.selected;return!e.disabled&&o.default.createElement("button",{className:(0,s.default)(d.default.Button,a({},d.default.selected,n)),onClick:r},t)};p.defaultProps={selected:!1,disabled:!1},p.propTypes={onClick:i.default.func.isRequired,label:i.default.string.isRequired,selected:i.default.bool,disabled:i.default.bool},t.default=p},function(e,t){e.exports={Button:"Button_1UwF4",selected:"selected_1QP37"}},function(e,t){e.exports={Pagination:"Pagination_2gySH"}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){var r=[];if(!e||!t)throw new Error("You must provide `start` and `end` params");for(var n=e;n<t;n++)r.push(n);return r};t.range=n},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(63);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(64),f=n(s),d=r(70),p=n(d),b=r(73),v=n(b),y=function(e){var t=e.type,r=a(e,["type"]);switch(t){case"web":return l.default.createElement(f.default,u({type:t},r));case"news":return l.default.createElement(p.default,u({type:t},r));case"social":return l.default.createElement(v.default,u({type:t},r));default:return!1}};y.defaultProps={type:"web",title:"",favicon:"",source:"",url:"#",description:"",isAnnonce:!1,domain:"",date:"",user:{_id:0,name:"",account:"",avatar:""},tweet:""},y.propTypes={type:c.default.string,title:c.default.string,favicon:c.default.string,source:c.default.string,url:c.default.string,description:c.default.string,isAnnonce:c.default.bool,domain:c.default.string,date:c.default.string,user:c.default.shape({_id:c.default.number,name:c.default.string.isRequired,account:c.default.string.isRequired,avatar:c.default.string.isRequired}),tweet:c.default.string},t.default=y},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(65);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(0),u=n(a),o=r(1),l=n(o),i=r(8),c=n(i),s=r(6),f=n(s),d=r(69),p=n(d),b=function(e){var t=e.type,r=e.title,n=e.favicon,a=e.source,o=e.url,l=e.description,i=e.isAnnonce;return u.default.createElement(f.default,{className:p.default.WebResult,type:t,href:o},u.default.createElement("h5",{className:p.default.title},r),u.default.createElement("div",{className:p.default.linkLine},u.default.createElement(c.default,{className:p.default.favicon,disabled:Object.is(n,""),src:n,alt:"favicon"}),i&&u.default.createElement("span",{className:p.default.isAd},"Annonce"),u.default.createElement("span",{className:p.default.link},a)),u.default.createElement("p",{className:p.default.description},l))};b.defaultProps={type:"web",title:"",favicon:"",source:"",url:"#",description:"",isAnnonce:!1},b.propTypes={type:l.default.string,title:l.default.string,favicon:l.default.string,source:l.default.string,url:l.default.string,description:l.default.string,isAnnonce:l.default.bool},t.default=b},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 o(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 l=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},i=r(0),c=n(i),s=r(1),f=n(s),d=function(e){function t(){var e,r,n,o;a(this,t);for(var i=arguments.length,s=Array(i),f=0;f<i;f++)s[f]=arguments[f];return r=n=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),n.state={disabled:n.props.disabled},n._hideImage=function(){return n.setState({disabled:!0})},n._displayImage=function(){return n.setState({disabled:!1})},n.render=function(){return!n.state.disabled&&c.default.createElement("img",l({onError:n._hideImage,onLoad:n._displayImage,alt:"qwant smart img"},n.props))},o=r,u(n,o)}return o(t,e),t}(i.PureComponent);d.propTypes={disabled:f.default.bool},d.defaultProps={disabled:!0},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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 l(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 i=r(0),c=n(i),s=r(1),f=n(s),d=r(2),p=n(d),b=r(3),v=r(68),y=n(v),_=function(e){function t(){var e,r,n,l;u(this,t);for(var i=arguments.length,s=Array(i),f=0;f<i;f++)s[f]=arguments[f];return r=n=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),n.state={isHover:!1},n._toggleMouseOver=function(e){var t=e.type;return n.setState({isHover:t.includes("mouseenter")})},n.render=function(){var e=n.props,t=e.href,r=e.type,u=e.children,o=e.className,l=n.state.isHover;return c.default.createElement("a",{style:{borderLeftColor:l?b.types[r]:b.colors.transparent},className:(0,p.default)(y.default.Container,a({},o,Boolean(o))),onMouseEnter:n._toggleMouseOver,onMouseLeave:n._toggleMouseOver,rel:"noopener noreferrer",target:"_blank",href:t},u)},l=r,o(n,l)}return l(t,e),t}(i.PureComponent);_.propTypes={type:f.default.string,href:f.default.string,children:f.default.node.isRequired,className:f.default.string},_.defaultProps={href:"#",type:"web"},t.default=_},function(e,t){e.exports={Container:"Container_3nOJe"}},function(e,t){e.exports={WebResult:"WebResult_1C47J",title:"title_1bT1P",linkLine:"linkLine_1LsdS",favicon:"favicon_h5kC0",isAd:"isAd_3ReJh",link:"link_1NI7a",description:"description_3vhw5"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(71);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(0),u=n(a),o=r(1),l=n(o),i=r(8),c=n(i),s=r(6),f=n(s),d=r(72),p=n(d),b=function(e){var t=e.type,r=e.url,n=e.media,a=e.title,o=e.favicon,l=e.domain,i=e.date;return u.default.createElement(f.default,{className:p.default.NewsResult,type:t,href:r},""!==n&&u.default.createElement("div",{className:p.default.media,style:{backgroundImage:"url("+n+")"}}),u.default.createElement("div",{className:p.default.content},u.default.createElement("h5",{className:p.default.title},a),u.default.createElement("div",{className:p.default.linkLine},u.default.createElement(c.default,{className:p.default.favicon,disabled:Object.is(o,""),src:o,alt:"favicon"}),u.default.createElement("span",{className:p.default.domain},l)),u.default.createElement("span",{className:p.default.date},i)))};b.defaultProps={type:"news",title:"",favicon:"",domain:"",url:"#",date:"",media:""},b.propTypes={type:l.default.string,title:l.default.string,favicon:l.default.string,domain:l.default.string,url:l.default.string,date:l.default.string,media:l.default.string},t.default=b},function(e,t){e.exports={NewsResult:"NewsResult_2Dl3k",title:"title_1-kGC",media:"media_3ZlCB",content:"content_3oA-A",linkLine:"linkLine_3qf4K",favicon:"favicon_3dWER",domain:"domain_2XQuh",date:"date_jHEnF"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(74);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(0),u=n(a),o=r(1),l=n(o),i=r(6),c=n(i),s=r(75),f=n(s),d=function(e){var t=e.type,r=e.url,n=e.user,a=e.domain,o=e.date,l=e.tweet;return u.default.createElement(c.default,{className:f.default.SocialResult,type:t,href:r},u.default.createElement("div",{className:f.default.header},u.default.createElement("div",{className:f.default.left},u.default.createElement("img",{className:f.default.avatar,src:n.avatar,alt:"avatar"}),u.default.createElement("div",{className:f.default.meta},u.default.createElement("span",{className:f.default.name},n.name),u.default.createElement("span",{className:f.default.account},n.account))),u.default.createElement("div",{className:f.default.right},u.default.createElement("span",{className:f.default.date},o),u.default.createElement("span",{className:f.default.domain},a))),u.default.createElement("p",{className:f.default.tweet},l.length>140?l.substring(0,140)+"...":l),u.default.createElement("p",{className:f.default.link},r))};d.defaultProps={type:"social",title:"",url:"#",domain:"",date:"",user:{_id:0,name:"",account:"",avatar:""},tweet:""},d.propTypes={type:l.default.string,title:l.default.string,url:l.default.string,domain:l.default.string,date:l.default.string,user:l.default.shape({_id:l.default.number,name:l.default.string.isRequired,account:l.default.string.isRequired,avatar:l.default.string.isRequired}),tweet:l.default.string},t.default=d},function(e,t){e.exports={SocialResult:"SocialResult_2eVtr",header:"header_3qG1d",left:"left_3Oa6q",avatar:"avatar_3YXOn",meta:"meta_JVgwM",name:"name_1knjJ",account:"account_24FRr",right:"right_2sLPx",date:"date_1cdkw",domain:"domain_1oC8A",tweet:"tweet_1i4ih",link:"link_2Zox9"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(77);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 o(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 l=r(0),i=n(l),c=r(1),s=n(c),f=r(5),d=n(f),p=r(78),b=n(p),v=r(3),y=r(81),_=n(y),m=[{name:"TOUS",type:"all",color:void 0},{name:"WEB",type:"web",color:v.colors.mint},{name:"ACTUS",type:"news",color:v.colors.pumpkin},{name:"SOCIAL",type:"social",color:v.colors.azure},{name:"IMAGES",type:"images",color:v.colors.prune},{name:"VIDEOS",type:"videos",color:v.colors.strawberry},{name:"SHOPPING",type:"shopping",color:v.colors.raspberry}],g=function(e){function t(){var e,r,n,o;a(this,t);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return r=n=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),n.state={hovered:void 0},n._toggleMouseHover=function(e){return n.setState({hovered:e})},n.render=function(){var e=n.state.hovered,t=n.props,r=t.active,a=t.onItemClick,u=[e,r],o=u.includes("TOUS")||u.includes("all")||Object.is(r,0);return i.default.createElement("div",{className:_.default.Sidebar},i.default.createElement(b.default,{onMouseHover:n._toggleMouseHover,onClick:function(){return a("all",0)},active:o,name:"TOUS"},i.default.createElement(d.default,{name:"all",color:v.colors.smoke,active:o,size:24})),m.slice(1).map(function(e,t){var o=e.name,l=e.type,c=e.color,s=u.includes(o)||u.includes(l)||Object.is(r,t+1);return i.default.createElement(b.default,{key:t,onMouseHover:n._toggleMouseHover,onClick:function(){return a(l,t+1)},active:s,name:o},i.default.createElement(d.default,{name:l,color:s?c:v.colors.smoke,size:24}))}))},o=r,u(n,o)}return o(t,e),t}(l.Component);g.propTypes={active:s.default.oneOfType([s.default.oneOf(Object.values(m.map(function(e){return e.name}))),s.default.oneOf(Object.values(m.map(function(e){return e.type}))),s.default.number]),onItemClick:s.default.func},t.default=g},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(79);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(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},l=r(0),i=n(l),c=r(1),s=n(c),f=r(2),d=n(f),p=r(80),b=n(p),v=function(e){var t=e.children,r=e.name,n=e.onMouseHover,l=e.active,c=u(e,["children","name","onMouseHover","active"]);return i.default.createElement("div",o({className:(0,d.default)(b.default.Container,a({},b.default.active,l)),onMouseEnter:function(){return n(r)},onMouseLeave:function(){return n()}},c),i.default.createElement("div",{className:b.default.icon},t),i.default.createElement("h2",{className:b.default.name},r))};v.defaultProps={active:!1},v.propTypes={children:s.default.node.isRequired,name:s.default.string.isRequired,onMouseHover:s.default.func.isRequired,active:s.default.bool},t.default=v},function(e,t){e.exports={Container:"Container_2ekTf",active:"active_RJIK-",name:"name_3QnmD",icon:"icon_3WVgN"}},function(e,t){e.exports={Sidebar:"Sidebar_3-uEG"}}]); | ||
!function(){"use strict";function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n))e.push(r.apply(null,n));else if("object"===a)for(var o in n)u.call(n,o)&&n[o]&&e.push(o)}}return e.join(" ")}var u={}.hasOwnProperty;void 0!==e&&e.exports?e.exports=r:(n=[],void 0!==(a=function(){return r}.apply(t,n))&&(e.exports=a))}()},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.types=t.colors=void 0;var a=r(7),u=n(a),o=r(32),l=n(o);t.colors=u.default,t.types=l.default},function(e,t,r){"use strict";function n(e){return function(){return e}}var a=function(){};a.thatReturns=n,a.thatReturnsFalse=n(!1),a.thatReturnsTrue=n(!0),a.thatReturnsNull=n(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t,r){e.exports=function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=20)}([function(e,t){e.exports=r(0)},function(e,t,r){e.exports=r(21)()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){return{xmlns:"http://www.w3.org/2000/svg",style:{flexShrink:0},width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}};t.default=n},function(e,t,r){"use strict";function n(e){return function(){return e}}var a=function(){};a.thatReturns=n,a.thatReturnsFalse=n(!1),a.thatReturnsTrue=n(!0),a.thatReturnsNull=n(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=e.active,o=a(e,["color","size","active"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),o),l.default.createElement("line",{x1:"4",y1:"21",x2:"4",y2:"3",stroke:n?"#0fbd2b":t}),l.default.createElement("line",{x1:"12",y1:"21",x2:"12",y2:"3",stroke:n?"#ff7800":t}),l.default.createElement("line",{x1:"20",y1:"21",x2:"20",y2:"3",stroke:n?"#1f99f5":t}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number]),active:c.default.bool},d.defaultProps={color:"currentColor",size:"24",active:!1},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){switch(e){case"up":return l.default.createElement("polyline",{points:"18 15 12 9 6 15"});case"down":return l.default.createElement("polyline",{points:"6 9 12 15 18 9"});case"left":return l.default.createElement("polyline",{points:"15 18 9 12 15 6"});case"right":return l.default.createElement("polyline",{points:"9 18 15 12 9 6"});default:return!1}},p=function(e){var t=e.color,r=e.size,n=e.direction,o=a(e,["color","size","direction"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),o),d(n))};p.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number]),direction:c.default.oneOf(["up","down","left","right"]).isRequired},p.defaultProps={color:"currentColor",size:"24"},t.default=p},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),n),l.default.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),l.default.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},d.defaultProps={color:"currentColor",size:"24"},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),n),l.default.createElement("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}),l.default.createElement("circle",{cx:"8.5",cy:"8.5",r:"1.5"}),l.default.createElement("polyline",{points:"21 15 16 10 5 21"}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},d.defaultProps={color:"currentColor",size:"24"},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),n),l.default.createElement("line",{x1:"8",y1:"6",x2:"21",y2:"6"}),l.default.createElement("line",{x1:"8",y1:"12",x2:"21",y2:"12"}),l.default.createElement("line",{x1:"8",y1:"18",x2:"21",y2:"18"}),l.default.createElement("line",{x1:"3",y1:"6",x2:"3",y2:"6"}),l.default.createElement("line",{x1:"3",y1:"12",x2:"3",y2:"12"}),l.default.createElement("line",{x1:"3",y1:"18",x2:"3",y2:"18"}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},d.defaultProps={color:"currentColor",size:"24"},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",style:{flexShrink:0},width:r,height:r,viewBox:"0 0 45 45"},n),l.default.createElement("defs",null,l.default.createElement("path",{id:"flat-a",d:"M21.4674,0.18 C33.0064,0.18 42.3944,9.799 42.3944,21.623 C42.3944,26.162 41.0264,30.501 38.4384,34.168 L38.2154,34.486 L38.5244,34.642 L42.8394,38.436 L38.7314,43.249 L28.4884,34.223 C32.8864,31.635 35.5994,26.851 35.5994,21.623 C35.5994,13.619 29.2594,7.107 21.4674,7.107 C13.6754,7.107 7.3354,13.619 7.3354,21.623 C7.3354,29.624 13.6684,36.133 21.4574,36.139 L21.4574,43.067 C9.9224,43.06 0.5404,33.444 0.5404,21.623 C0.5404,9.799 9.9284,0.18 21.4674,0.18 Z"})),l.default.createElement("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)"},l.default.createElement("mask",{id:"flat-b",fill:"#fff"},l.default.createElement("use",{xlinkHref:"#flat-a"})),l.default.createElement("use",{fill:"#000000",xlinkHref:"#flat-a"}),l.default.createElement("g",{fill:t,mask:"url(#flat-b)"},l.default.createElement("rect",{width:"245",height:"175",transform:"translate(-94 -51)"}))))};s.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},s.defaultProps={color:"currentColor",size:45},t.default=s},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),n),l.default.createElement("path",{d:"M9 17H5a2 2 0 0 0-2 2 2 2 0 0 0 2 2h2a2 2 0 0 0 2-2zm12-2h-4a2 2 0 0 0-2 2 2 2 0 0 0 2 2h2a2 2 0 0 0 2-2z"}),l.default.createElement("polyline",{points:"9 17 9 5 21 3 21 15"}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},d.defaultProps={color:"currentColor",size:"24"},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),n),l.default.createElement("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),l.default.createElement("polyline",{points:"14 2 14 8 20 8"}),l.default.createElement("line",{x1:"16",y1:"13",x2:"8",y2:"13"}),l.default.createElement("line",{x1:"16",y1:"17",x2:"8",y2:"17"}),l.default.createElement("polyline",{points:"10 9 9 9 8 9"}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},d.defaultProps={color:"currentColor",size:"24"},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),n),l.default.createElement("circle",{cx:"11",cy:"11",r:"8"}),l.default.createElement("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},d.defaultProps={color:"currentColor",size:"24"},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),n),l.default.createElement("circle",{cx:"12",cy:"12",r:"3"}),l.default.createElement("path",{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},d.defaultProps={color:"currentColor",size:"24"},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),n),l.default.createElement("circle",{cx:"9",cy:"21",r:"1"}),l.default.createElement("circle",{cx:"20",cy:"21",r:"1"}),l.default.createElement("path",{d:"M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},d.defaultProps={color:"currentColor",size:"24"},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),n),l.default.createElement("circle",{cx:"18",cy:"5",r:"3"}),l.default.createElement("circle",{cx:"6",cy:"12",r:"3"}),l.default.createElement("circle",{cx:"18",cy:"19",r:"3"}),l.default.createElement("line",{x1:"8.59",y1:"13.51",x2:"15.42",y2:"17.49"}),l.default.createElement("line",{x1:"15.41",y1:"6.51",x2:"8.59",y2:"10.49"}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},d.defaultProps={color:"currentColor",size:"24"},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),n),l.default.createElement("polygon",{points:"23 7 16 12 23 17 23 7"}),l.default.createElement("rect",{x:"1",y:"5",width:"15",height:"14",rx:"2",ry:"2"}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},d.defaultProps={color:"currentColor",size:"24"},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(2),f=n(s),d=function(e){var t=e.color,r=e.size,n=a(e,["color","size"]);return l.default.createElement("svg",u({},(0,f.default)(t,r),n),l.default.createElement("circle",{cx:"12",cy:"12",r:"10"}),l.default.createElement("line",{x1:"2",y1:"12",x2:"22",y2:"12"}),l.default.createElement("path",{d:"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"}))};d.propTypes={color:c.default.string,size:c.default.oneOfType([c.default.string,c.default.number])},d.defaultProps={color:"currentColor",size:"24"},t.default=d},,,function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=r(0),o=n(u),l=r(1),i=n(l),c=function(e){var t=e.name,n=a(e,["name"]),u=r(24)("./"+t).default;return o.default.createElement(u,n)};c.propTypes={name:i.default.oneOf(["all","chevron","cross","images","list","logo","music","news","search","settings","shopping","social","videos","web"]).isRequired},t.default=c},function(e,t,r){"use strict";var n=r(3),a=r(22),u=r(23);e.exports=function(){function e(e,t,r,n,o,l){l!==u&&a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=n,r.PropTypes=r,r}},function(e,t,r){"use strict";function n(e,t,r,n,u,o,l,i){if(a(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[r,n,u,o,l,i],f=0;c=new Error(t.replace(/%s/g,function(){return s[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var a=function(e){};e.exports=n},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){function n(e){return r(a(e))}function a(e){var t=u[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var u={"./all":4,"./all.js":4,"./chevron":5,"./chevron.js":5,"./cross":6,"./cross.js":6,"./images":7,"./images.js":7,"./list":8,"./list.js":8,"./logo":9,"./logo.js":9,"./music":10,"./music.js":10,"./news":11,"./news.js":11,"./search":12,"./search.js":12,"./settings":13,"./settings.js":13,"./shopping":14,"./shopping.js":14,"./social":15,"./social.js":15,"./videos":16,"./videos.js":16,"./web":17,"./web.js":17};n.keys=function(){return Object.keys(u)},n.resolve=a,e.exports=n,n.id=24}])},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(67);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={transparent:"transparent",black:"#191919",white:"#FFFFFF",smoke:"#707070",peacock:"#0055A2",cerulean:"#0068D0",blueric:"#007EED",mint:"#018475",violet:"#5C00F3",prune:"#7100B1",strawberry:"#C30005",raspberry:"#A3005C",pumpkin:"#F95D00",azure:"#0093EC",black90:"rgba(0, 0, 0, .90)",black80:"rgba(0, 0, 0, .80)",black70:"rgba(0, 0, 0, .70)",black60:"rgba(0, 0, 0, .60)",black50:"rgba(0, 0, 0, .50)",black40:"rgba(0, 0, 0, .40)",black30:"rgba(0, 0, 0, .30)",black20:"rgba(0, 0, 0, .20)",black10:"rgba(0, 0, 0, .10)",black05:"rgba(0, 0, 0, .05)",black03:"rgba(0, 0, 0, .03)",black02:"rgba(0, 0, 0, .02)",white90:"rgba(255, 255, 255, .90)",white80:"rgba(255, 255, 255, .80)",white70:"rgba(255, 255, 255, .70)",white60:"rgba(255, 255, 255, .60)",white50:"rgba(255, 255, 255, .50)",white40:"rgba(255, 255, 255, .40)",white30:"rgba(255, 255, 255, .30)",white20:"rgba(255, 255, 255, .20)",white10:"rgba(255, 255, 255, .10)",white05:"rgba(255, 255, 255, .05)",white03:"rgba(255, 255, 255, .03)"};t.default=n},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(66);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},,,function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Sidebar=t.Result=t.Pagination=t.Link=t.Icon=t.SearchInput=t.Footer=t.Dropdown=t.Col=t.Row=t.Grid=t.Button=void 0,r(12),r(13);var a=r(14),u=n(a),o=r(20),l=n(o),i=r(23),c=n(i),s=r(26),f=n(s),d=r(29),p=n(d),b=r(30),v=n(b),y=r(34),_=n(y),m=r(37),g=n(m),h=r(52),O=n(h),j=r(55),P=n(j),w=r(62),E=n(w),M=r(76),x=n(M);t.Button=u.default,t.Grid=l.default,t.Row=c.default,t.Col=f.default,t.Dropdown=v.default,t.Footer=_.default,t.SearchInput=g.default,t.Icon=p.default,t.Link=O.default,t.Pagination=P.default,t.Result=E.default,t.Sidebar=x.default},function(e,t){},function(e,t){},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(15);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0});var u=r(0),o=n(u),l=r(1),i=n(l),c=r(2),s=n(c),f=r(19),d=n(f),p=function(e){var t,r=e.label,n=e.type,u=e.size,l=e.disabled,i=e.onClick,c=e.className;return o.default.createElement("button",{className:(0,s.default)(d.default.Button,(t={},a(t,d.default[u],Boolean(u)),a(t,d.default[n],Boolean(n)),a(t,c,Boolean(c)),t)),onClick:i,disabled:l},o.default.createElement("span",{className:d.default.label},r))};p.defaultProps={label:"",type:"primary",size:"normal",disabled:!1},p.propTypes={label:i.default.string,className:i.default.string,type:i.default.oneOf(["primary","secondary"]),size:i.default.oneOf(["normal"]),disabled:i.default.bool,onClick:i.default.func},t.default=p},function(e,t,r){"use strict";var n=r(4),a=r(17),u=r(18);e.exports=function(){function e(e,t,r,n,o,l){l!==u&&a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=n,r.PropTypes=r,r}},function(e,t,r){"use strict";function n(e,t,r,n,u,o,l,i){if(a(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[r,n,u,o,l,i],f=0;c=new Error(t.replace(/%s/g,function(){return s[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var a=function(e){};e.exports=n},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t){e.exports={Button:"Button_3Tk67",normal:"normal_1prbS",primary:"primary_1UoHl",label:"label_2LqwQ",secondary:"secondary_3ybyE"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(21);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(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},l=r(0),i=n(l),c=r(1),s=n(c),f=r(2),d=n(f),p=r(22),b=n(p),v=function(e){var t,r=e.children,n=e.debug,l=e.className,c=u(e,["children","debug","className"]);return i.default.createElement("section",o({className:(0,d.default)((t={},a(t,l,Boolean(l)),a(t,b.default.Grid,!0),a(t,b.default.debug,n),t))},c),r)};v.propTypes={children:s.default.node,className:s.default.string,debug:s.default.bool},v.defaultProps={debug:!1},t.default=v},function(e,t){e.exports={Grid:"Grid_2eys1",debug:"debug_34CBT"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(24);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(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},l=r(0),i=n(l),c=r(1),s=n(c),f=r(2),d=n(f),p=r(25),b=n(p),v=function(e){var t,r=e.children,n=e.debug,l=e.className,c=u(e,["children","debug","className"]);return i.default.createElement("div",o({className:(0,d.default)((t={},a(t,l,Boolean(l)),a(t,b.default.Row,!0),a(t,b.default.debug,n),t))},c),r)};v.propTypes={children:s.default.node,className:s.default.string,debug:s.default.bool},v.defaultProps={debug:!1},t.default=v},function(e,t){e.exports={Row:"Row_156wW",debug:"debug_1teVE"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(27);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(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},l=r(0),i=n(l),c=r(1),s=n(c),f=r(2),d=n(f),p=r(28),b=n(p),v=function(e){var t,r=e.children,n=e.debug,l=e.size,c=e.className,s=u(e,["children","debug","size","className"]);return i.default.createElement("div",o({className:(0,d.default)((t={},a(t,c,Boolean(c)),a(t,b.default.Col,!0),a(t,b.default.debug,n),t)),style:{flexBasis:"calc(100% / 12 * "+l+")"}},s),r)};v.propTypes={size:s.default.number,children:s.default.node,className:s.default.string,debug:s.default.bool},v.defaultProps={size:12,debug:!1},t.default=v},function(e,t){e.exports={Col:"Col_2fQIk",debug:"debug_1qgZx"}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5),a=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=a.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(31);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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 l(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 i=r(0),c=n(i),s=r(1),f=n(s),d=r(2),p=n(d),b=r(5),v=n(b),y=r(3),_=r(33),m=n(_),g=function(e){function t(){var e,r,n,l;u(this,t);for(var i=arguments.length,s=Array(i),f=0;f<i;f++)s[f]=arguments[f];return r=n=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),n.state={isOpened:!1,isHovered:!1},n._toggleOptions=function(){return n.setState({isOpened:!n.state.isOpened},function(){if(n.state.isOpened)return n.props.onOpen()})},n._toggleMouseHover=function(e){var t=e.type;return n.setState({isHovered:t.includes("mouseenter")})},n._changeCurrentSelected=function(e){var t=n.props.onChange;n._toggleOptions(),t(e)},n.close=function(){return n.setState({isOpened:!1})},n.render=function(){var e=n.props,t=e.selected,r=e.options,u=e.align,o=n.state,l=o.isOpened,i=o.isHovered;return c.default.createElement("div",{className:m.default.Dropdown},c.default.createElement("div",{className:m.default.select,onClick:n._toggleOptions,onMouseEnter:n._toggleMouseHover,onMouseLeave:n._toggleMouseHover},c.default.createElement("label",{className:m.default.label},t),c.default.createElement(v.default,{name:"chevron",direction:l?"up":"down",color:i?y.colors.anchor:y.colors.smoke,size:24})),c.default.createElement("div",{className:(0,p.default)(m.default.options,m.default[u],a({},m.default.hidden,!l))},r.map(function(e,r){return c.default.createElement("label",{key:r,className:(0,p.default)(m.default.option,a({},m.default.selected,Object.is(t,e))),onClick:function(){return n._changeCurrentSelected(e)}},e)})))},l=r,o(n,l)}return l(t,e),t}(i.PureComponent);g.propTypes={selected:f.default.string.isRequired,options:f.default.arrayOf(f.default.string),onChange:f.default.func.isRequired,align:f.default.oneOf(["left","right"]),onOpen:f.default.func},g.defaultProps={align:"right",onOpen:null,options:[]},t.default=g},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7),a=function(e){return e&&e.__esModule?e:{default:e}}(n),u={all:a.default.black,web:a.default.mint,news:a.default.pumpkin,social:a.default.azure,images:a.default.prune,videos:a.default.strawberry,shopping:a.default.raspberry};t.default=u},function(e,t){e.exports={Dropdown:"Dropdown_14ha9",select:"select_hpwbj",label:"label_2wC-1",options:"options_2Vodh",left:"left_2ulwX",right:"right_1jX2n",hidden:"hidden_3xcEN",option:"option_3DOPy",selected:"selected_3nZEG"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(35);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(0),u=n(a),o=r(1),l=n(o),i=r(36),c=n(i),s=function(e){var t=e.links;return u.default.createElement("div",{className:c.default.Footer},t.map(function(e,t){var r=e.label,n=e.href;return u.default.createElement("a",{key:t,href:n,className:c.default.link},r)}))};s.propTypes={links:l.default.arrayOf(l.default.shape({label:l.default.string.isRequired,href:l.default.string.isRequired}))},s.defaultProps={links:[{label:"Vie privée et Qwant",href:"#"},{label:"À propos",href:"#"},{label:"Mentions légales - CGU",href:"#"},{label:"Contactez-nous",href:"#"},{label:"F.A.Q.",href:"#"},{label:"Qwick",href:"#"},{label:"Jobs",href:"#"},{label:"Presse",href:"#"},{label:"Blog",href:"#"}]},t.default=s},function(e,t){e.exports={Footer:"Footer_2fJ2k",link:"link_wQJKd"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(38);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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 l(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 i=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}}(),c=r(0),s=n(c),f=r(1),d=n(f),p=r(2),b=n(p),v=r(39),y=n(v),_=r(42),m=n(_),g=r(45),h=n(g),O=r(48),j=n(O),P=r(3),w=r(51),E=n(w),M=-1,x=function(e){function t(){var e,r,n,a;u(this,t);for(var l=arguments.length,i=Array(l),c=0;c<l;c++)i[c]=arguments[c];return r=n=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),n.state={value:n.props.value,isSearchInputFocus:!1,activeSuggestIndex:M},n._updateSearchInputValue=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return new Promise(function(r){var a=n.state.activeSuggestIndex,u=n.props.onChange;if(n.setState({activeSuggestIndex:Object.is(e,"")?M:a,value:e},r),t)return u(e)})},n._toggleSearchInputFocus=function(e){var t=e.type;return setTimeout(function(){return n.setState({isSearchInputFocus:t.includes("focus"),activeSuggestIndex:M})},150)},n._submitSearch=function(){var e=n.props,t=e.onSubmit,r=e.value;if(t&&!Object.is(r,""))return n._searchInput.blur(),t(r)},n._updateActiveSuggestIndex=function(e){return n.setState({activeSuggestIndex:e})},n._onClickSubmit=function(e){return n._updateSearchInputValue(e).then(n._submitSearch)},n._handleKeyDown=function(e){var t=e.key,r=n.props.suggests,a=n.state,u=a.activeSuggestIndex,o=a.value;if(t.includes("Down")&&u<r.length-1)return n.setState({activeSuggestIndex:u+1},function(){return n._updateSearchInputValue(r[n.state.activeSuggestIndex],!1)});if(t.includes("Up")&&u>0)return n.setState({activeSuggestIndex:u-1},function(){return n._updateSearchInputValue(r[n.state.activeSuggestIndex],!1)});if(t.includes("Enter")){if(u===M&&!Object.is(o,""))return n._submitSearch();if(u!==M&&!Object.is(r,""))return n._onClickSubmit(r[n.state.activeSuggestIndex])}},a=r,o(n,a)}return l(t,e),i(t,[{key:"render",value:function(){var e,t=this,r=this.props,n=r.suggests,u=r.className,o=r.type,l=this.state,i=l.isSearchInputFocus,c=l.activeSuggestIndex,f=l.value;return s.default.createElement("div",{className:(0,b.default)(E.default.SearchInput,(e={},a(e,E.default.focus,i),a(e,u,Boolean(u)),e))},s.default.createElement("div",{className:E.default.search},s.default.createElement(h.default,{value:n.find(function(e){return e.slice(0,f.length).includes(f)}),disabled:Object.is(f,"")||Object.is(n,"")||!i}),s.default.createElement("input",{ref:function(e){return t._searchInput=e},className:E.default.input,type:"text",value:f,onChange:function(e){var r=e.target.value;return t._updateSearchInputValue(r)},onFocus:this._toggleSearchInputFocus,onBlur:this._toggleSearchInputFocus,onKeyDown:this._handleKeyDown}),s.default.createElement(y.default,{disabled:Object.is(f,""),onClick:function(){return t._updateSearchInputValue("")}}),s.default.createElement(m.default,{type:o,onClick:this._submitSearch,isEmptyValue:Object.is(f,"")})),s.default.createElement(j.default,{value:f,data:n,activeIndex:c,updateCurrentIndex:this._updateActiveSuggestIndex,updateCurrentValue:this._onClickSubmit,disabled:Object.is(f,"")||Object.is(n,"")||!i}))}}]),t}(c.Component);x.propTypes={value:d.default.string,onChange:d.default.func.isRequired,onSubmit:d.default.func.isRequired,suggests:d.default.array,className:d.default.string,type:d.default.oneOf(Object.keys(P.types)).isRequired},x.defaultProps={value:"",suggests:[]},t.default=x},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(40);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 o(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 l=r(0),i=n(l),c=r(1),s=n(c),f=r(5),d=n(f),p=r(3),b=r(41),v=n(b),y=function(e){function t(){var e,r,n,o;a(this,t);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return r=n=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),n.state={isCrossButtonHover:!1},n._toggleCrossButtonMouse=function(e){var t=e.type;return n.setState({isCrossButtonHover:t.includes("mouseenter")})},n.render=function(){var e=n.props,t=e.onClick,r=e.disabled,a=n.state.isCrossButtonHover;return!r&&i.default.createElement("button",{className:v.default.CrossButton,onClick:t,onMouseEnter:n._toggleCrossButtonMouse,onMouseLeave:n._toggleCrossButtonMouse},i.default.createElement(d.default,{name:"cross",size:14,color:a?p.colors.black90:p.colors.black40}))},o=r,u(n,o)}return o(t,e),t}(l.Component);y.propTypes={onClick:s.default.func.isRequired,disabled:s.default.bool},y.defaultProps={disabled:!1},t.default=y},function(e,t){e.exports={CrossButton:"CrossButton_z1eVY"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(43);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 o(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 l=r(0),i=n(l),c=r(1),s=n(c),f=r(5),d=n(f),p=r(3),b=r(44),v=n(b),y=function(e){function t(){var e,r,n,o;a(this,t);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return r=n=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),n.state={isSearchButtonHover:!1},n._toggleSearchButtonMouse=function(e){var t=e.type;return n.setState({isSearchButtonHover:t.includes("mouseenter")})},n.render=function(){var e=n.props,t=e.onClick,r=e.isEmptyValue,a=e.type,u=n.state.isSearchButtonHover,o=u||!r;return i.default.createElement("button",{className:v.default.SearchButton,onClick:t,onMouseEnter:n._toggleSearchButtonMouse,onMouseLeave:n._toggleSearchButtonMouse},i.default.createElement(d.default,{name:"search",size:20,color:o?p.types[a]:p.colors.black50}))},o=r,u(n,o)}return o(t,e),t}(l.Component);y.propTypes={onClick:s.default.func.isRequired,isEmptyValue:s.default.bool.isRequired,type:s.default.oneOf(Object.keys(p.types)).isRequired},t.default=y},function(e,t){e.exports={SearchButton:"SearchButton_GgZ5S"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(46);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(0),u=n(a),o=r(1),l=n(o),i=r(47),c=n(i),s=function(e){var t=e.value;return!e.disabled&&u.default.createElement("input",{className:c.default.InputSuggest,type:"text",value:t,readOnly:!0})};s.propTypes={value:l.default.string,disabled:l.default.bool},s.defaultProps={value:"",disabled:!0},t.default=s},function(e,t){e.exports={InputSuggest:"InputSuggest_3Uwj_"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(49);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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 l(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 i=r(0),c=n(i),s=r(1),f=n(s),d=r(2),p=n(d),b=r(50),v=n(b),y=function(e){function t(){var e,r,n,l;u(this,t);for(var i=arguments.length,s=Array(i),f=0;f<i;f++)s[f]=arguments[f];return r=n=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),n.render=function(){var e=n.props,t=e.disabled,r=e.value,u=e.data,o=e.activeIndex,l=e.updateCurrentIndex,i=e.updateCurrentValue;return!t&&c.default.createElement("div",{className:v.default.Suggests},u.map(function(e,t){return c.default.createElement("p",{key:t,onMouseEnter:function(){return l(t)},onClick:function(){return i(e)},className:(0,p.default)(v.default.single,a({},v.default.active,o===t))},e.split("").map(function(e,t){return r[t]===e?c.default.createElement("strong",{key:t},e):c.default.createElement("span",{key:t},e)}))}))},l=r,o(n,l)}return l(t,e),t}(i.Component);y.propTypes={value:f.default.string,disabled:f.default.bool,data:f.default.array.isRequired,activeIndex:f.default.number.isRequired,updateCurrentIndex:f.default.func.isRequired,updateCurrentValue:f.default.func.isRequired},y.defaultProps={value:"",disabled:!0},t.default=y},function(e,t){e.exports={Suggests:"Suggests_2xGOK",single:"single_17xjz",active:"active_vzXgF"}},function(e,t){e.exports={SearchInput:"SearchInput_2pn2C",focus:"focus_2Rjn7",search:"search_3bITz",input:"input_3bl6g"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(53);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0});var u=r(0),o=n(u),l=r(1),i=n(l),c=r(2),s=n(c),f=r(54),d=n(f),p=function(e){var t=e.label,r=e.to,n=e.className;return o.default.createElement("a",{className:(0,s.default)(d.default.Link,a({},n,Boolean(n))),href:r,target:"_blank",rel:"noopener noreferrer"},t)};p.defaultProps={label:"",to:"#"},p.propTypes={label:i.default.string,to:i.default.string,className:i.default.string},t.default=p},function(e,t){e.exports={Link:"Link_1bdDN"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(56);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(0),u=n(a),o=r(1),l=n(o),i=r(57),c=n(i),s=r(60),f=n(s),d=r(61),p=function(e){var t=e.total,r=e.current,n=e.onChange,a=e.maxPagesDisplayed,o=r+a,l=o>t?t+1-a:r,i=o>t?t+1:o;return u.default.createElement("div",{className:f.default.Pagination},u.default.createElement(c.default,{label:"Prec.",onClick:function(){return n(r-1)},disabled:Object.is(r,1)}),(0,d.range)(l,i).map(function(e){return u.default.createElement(c.default,{key:e,label:e.toString(),onClick:function(){return n(e)},selected:Object.is(r,e),disabled:e<1||e>t})}),u.default.createElement(c.default,{label:"Suiv.",onClick:function(){return n(r+1)},disabled:Object.is(r,t)}))};p.propTypes={total:l.default.number.isRequired,current:l.default.number.isRequired,onChange:l.default.func.isRequired,maxPagesDisplayed:l.default.number.isRequired},p.defaultProps={maxPagesDisplayed:5},t.default=p},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(58);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0});var u=r(0),o=n(u),l=r(1),i=n(l),c=r(2),s=n(c),f=r(59),d=n(f),p=function(e){var t=e.label,r=e.onClick,n=e.selected;return!e.disabled&&o.default.createElement("button",{className:(0,s.default)(d.default.Button,a({},d.default.selected,n)),onClick:r},t)};p.defaultProps={selected:!1,disabled:!1},p.propTypes={onClick:i.default.func.isRequired,label:i.default.string.isRequired,selected:i.default.bool,disabled:i.default.bool},t.default=p},function(e,t){e.exports={Button:"Button_1UwF4",selected:"selected_1QP37"}},function(e,t){e.exports={Pagination:"Pagination_2gySH"}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){var r=[];if(!e||!t)throw new Error("You must provide `start` and `end` params");for(var n=e;n<t;n++)r.push(n);return r};t.range=n},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(63);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(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 u=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},o=r(0),l=n(o),i=r(1),c=n(i),s=r(64),f=n(s),d=r(70),p=n(d),b=r(73),v=n(b),y=function(e){var t=e.type,r=a(e,["type"]);switch(t){case"web":return l.default.createElement(f.default,u({type:t},r));case"news":return l.default.createElement(p.default,u({type:t},r));case"social":return l.default.createElement(v.default,u({type:t},r));default:return!1}};y.defaultProps={type:"web",title:"",favicon:"",source:"",url:"#",description:"",isAnnonce:!1,domain:"",date:"",user:{_id:0,name:"",account:"",avatar:""},tweet:""},y.propTypes={type:c.default.string,title:c.default.string,favicon:c.default.string,source:c.default.string,url:c.default.string,description:c.default.string,isAnnonce:c.default.bool,domain:c.default.string,date:c.default.string,user:c.default.shape({_id:c.default.number,name:c.default.string.isRequired,account:c.default.string.isRequired,avatar:c.default.string.isRequired}),tweet:c.default.string},t.default=y},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(65);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(0),u=n(a),o=r(1),l=n(o),i=r(8),c=n(i),s=r(6),f=n(s),d=r(69),p=n(d),b=function(e){var t=e.type,r=e.title,n=e.favicon,a=e.source,o=e.url,l=e.description,i=e.isAnnonce;return u.default.createElement(f.default,{className:p.default.WebResult,type:t,href:o},u.default.createElement("h5",{className:p.default.title},r),u.default.createElement("div",{className:p.default.linkLine},u.default.createElement(c.default,{className:p.default.favicon,disabled:Object.is(n,""),src:n,alt:"favicon"}),i&&u.default.createElement("span",{className:p.default.isAd},"Annonce"),u.default.createElement("span",{className:p.default.link},a)),u.default.createElement("p",{className:p.default.description},l))};b.defaultProps={type:"web",title:"",favicon:"",source:"",url:"#",description:"",isAnnonce:!1},b.propTypes={type:l.default.string,title:l.default.string,favicon:l.default.string,source:l.default.string,url:l.default.string,description:l.default.string,isAnnonce:l.default.bool},t.default=b},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 o(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 l=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},i=r(0),c=n(i),s=r(1),f=n(s),d=function(e){function t(){var e,r,n,o;a(this,t);for(var i=arguments.length,s=Array(i),f=0;f<i;f++)s[f]=arguments[f];return r=n=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),n.state={disabled:n.props.disabled},n._hideImage=function(){return n.setState({disabled:!0})},n._displayImage=function(){return n.setState({disabled:!1})},n.render=function(){return!n.state.disabled&&c.default.createElement("img",l({onError:n._hideImage,onLoad:n._displayImage,alt:"qwant smart img"},n.props))},o=r,u(n,o)}return o(t,e),t}(i.PureComponent);d.propTypes={disabled:f.default.bool},d.defaultProps={disabled:!0},t.default=d},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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 l(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 i=r(0),c=n(i),s=r(1),f=n(s),d=r(2),p=n(d),b=r(3),v=r(68),y=n(v),_=function(e){function t(){var e,r,n,l;u(this,t);for(var i=arguments.length,s=Array(i),f=0;f<i;f++)s[f]=arguments[f];return r=n=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),n.state={isHover:!1},n._toggleMouseOver=function(e){var t=e.type;return n.setState({isHover:t.includes("mouseenter")})},n.render=function(){var e=n.props,t=e.href,r=e.type,u=e.children,o=e.className,l=n.state.isHover;return c.default.createElement("a",{style:{borderLeftColor:l?b.types[r]:b.colors.transparent},className:(0,p.default)(y.default.Container,a({},o,Boolean(o))),onMouseEnter:n._toggleMouseOver,onMouseLeave:n._toggleMouseOver,rel:"noopener noreferrer",target:"_blank",href:t},u)},l=r,o(n,l)}return l(t,e),t}(i.PureComponent);_.propTypes={type:f.default.string,href:f.default.string,children:f.default.node.isRequired,className:f.default.string},_.defaultProps={href:"#",type:"web"},t.default=_},function(e,t){e.exports={Container:"Container_3nOJe"}},function(e,t){e.exports={WebResult:"WebResult_1C47J",title:"title_1bT1P",linkLine:"linkLine_1LsdS",favicon:"favicon_h5kC0",isAd:"isAd_3ReJh",link:"link_1NI7a",description:"description_3vhw5"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(71);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(0),u=n(a),o=r(1),l=n(o),i=r(8),c=n(i),s=r(6),f=n(s),d=r(72),p=n(d),b=function(e){var t=e.type,r=e.url,n=e.media,a=e.title,o=e.favicon,l=e.domain,i=e.date;return u.default.createElement(f.default,{className:p.default.NewsResult,type:t,href:r},""!==n&&u.default.createElement("div",{className:p.default.media,style:{backgroundImage:"url("+n+")"}}),u.default.createElement("div",{className:p.default.content},u.default.createElement("h5",{className:p.default.title},a),u.default.createElement("div",{className:p.default.linkLine},u.default.createElement(c.default,{className:p.default.favicon,disabled:Object.is(o,""),src:o,alt:"favicon"}),u.default.createElement("span",{className:p.default.domain},l)),u.default.createElement("span",{className:p.default.date},i)))};b.defaultProps={type:"news",title:"",favicon:"",domain:"",url:"#",date:"",media:""},b.propTypes={type:l.default.string,title:l.default.string,favicon:l.default.string,domain:l.default.string,url:l.default.string,date:l.default.string,media:l.default.string},t.default=b},function(e,t){e.exports={NewsResult:"NewsResult_2Dl3k",title:"title_1-kGC",media:"media_3ZlCB",content:"content_3oA-A",linkLine:"linkLine_3qf4K",favicon:"favicon_3dWER",domain:"domain_2XQuh",date:"date_jHEnF"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(74);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(0),u=n(a),o=r(1),l=n(o),i=r(6),c=n(i),s=r(75),f=n(s),d=function(e){var t=e.type,r=e.url,n=e.user,a=e.domain,o=e.date,l=e.tweet;return u.default.createElement(c.default,{className:f.default.SocialResult,type:t,href:r},u.default.createElement("div",{className:f.default.header},u.default.createElement("div",{className:f.default.left},u.default.createElement("img",{className:f.default.avatar,src:n.avatar,alt:"avatar"}),u.default.createElement("div",{className:f.default.meta},u.default.createElement("span",{className:f.default.name},n.name),u.default.createElement("span",{className:f.default.account},n.account))),u.default.createElement("div",{className:f.default.right},u.default.createElement("span",{className:f.default.date},o),u.default.createElement("span",{className:f.default.domain},a))),u.default.createElement("p",{className:f.default.tweet},l.length>140?l.substring(0,140)+"...":l),u.default.createElement("p",{className:f.default.link},r))};d.defaultProps={type:"social",title:"",url:"#",domain:"",date:"",user:{_id:0,name:"",account:"",avatar:""},tweet:""},d.propTypes={type:l.default.string,title:l.default.string,url:l.default.string,domain:l.default.string,date:l.default.string,user:l.default.shape({_id:l.default.number,name:l.default.string.isRequired,account:l.default.string.isRequired,avatar:l.default.string.isRequired}),tweet:l.default.string},t.default=d},function(e,t){e.exports={SocialResult:"SocialResult_2eVtr",header:"header_3qG1d",left:"left_3Oa6q",avatar:"avatar_3YXOn",meta:"meta_JVgwM",name:"name_1knjJ",account:"account_24FRr",right:"right_2sLPx",date:"date_1cdkw",domain:"domain_1oC8A",tweet:"tweet_1i4ih",link:"link_2Zox9"}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(77);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 o(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 l=r(0),i=n(l),c=r(1),s=n(c),f=r(5),d=n(f),p=r(78),b=n(p),v=r(3),y=r(81),_=n(y),m=[{name:"TOUS",type:"all",color:void 0},{name:"WEB",type:"web",color:v.colors.mint},{name:"ACTUS",type:"news",color:v.colors.pumpkin},{name:"SOCIAL",type:"social",color:v.colors.azure},{name:"IMAGES",type:"images",color:v.colors.prune},{name:"VIDEOS",type:"videos",color:v.colors.strawberry},{name:"SHOPPING",type:"shopping",color:v.colors.raspberry}],g=function(e){function t(){var e,r,n,o;a(this,t);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return r=n=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),n.state={hovered:void 0},n._toggleMouseHover=function(e){return n.setState({hovered:e})},n.render=function(){var e=n.state.hovered,t=n.props,r=t.active,a=t.onItemClick,u=[e,r],o=u.includes("TOUS")||u.includes("all")||Object.is(r,0);return i.default.createElement("div",{className:_.default.Sidebar},i.default.createElement(b.default,{onMouseHover:n._toggleMouseHover,onClick:function(){return a("all",0)},active:o,name:"TOUS"},i.default.createElement(d.default,{name:"all",color:v.colors.smoke,active:o,size:24})),m.slice(1).map(function(e,t){var o=e.name,l=e.type,c=e.color,s=u.includes(o)||u.includes(l)||Object.is(r,t+1);return i.default.createElement(b.default,{key:t,onMouseHover:n._toggleMouseHover,onClick:function(){return a(l,t+1)},active:s,name:o},i.default.createElement(d.default,{name:l,color:s?c:v.colors.smoke,size:24}))}))},o=r,u(n,o)}return o(t,e),t}(l.Component);g.propTypes={active:s.default.oneOfType([s.default.oneOf(Object.values(m.map(function(e){return e.name}))),s.default.oneOf(Object.values(m.map(function(e){return e.type}))),s.default.number]),onItemClick:s.default.func},t.default=g},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(79);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n(a).default}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(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},l=r(0),i=n(l),c=r(1),s=n(c),f=r(2),d=n(f),p=r(80),b=n(p),v=function(e){var t=e.children,r=e.name,n=e.onMouseHover,l=e.active,c=u(e,["children","name","onMouseHover","active"]);return i.default.createElement("div",o({className:(0,d.default)(b.default.Container,a({},b.default.active,l)),onMouseEnter:function(){return n(r)},onMouseLeave:function(){return n()}},c),i.default.createElement("div",{className:b.default.icon},t),i.default.createElement("h2",{className:b.default.name},r))};v.defaultProps={active:!1},v.propTypes={children:s.default.node.isRequired,name:s.default.string.isRequired,onMouseHover:s.default.func.isRequired,active:s.default.bool},t.default=v},function(e,t){e.exports={Container:"Container_2ekTf",active:"active_RJIK-",name:"name_3QnmD",icon:"icon_3WVgN"}},function(e,t){e.exports={Sidebar:"Sidebar_3-uEG"}}]); |
{ | ||
"name": "@qwant/react-components", | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"description": "Qwant React components library", | ||
@@ -5,0 +5,0 @@ "main": "dist/main.js", |
Sorry, the diff of this file is not supported yet
1184723
7