From 05a85b40b8b3d0a52a58911ade97f9ebfb367b16 Mon Sep 17 00:00:00 2001 From: Polishchuk Andrey Date: Fri, 19 Jan 2024 11:41:22 +0000 Subject: [PATCH] Update gh-pages --- 5.15.3/favicon-32x32.png | Bin 0 -> 621 bytes 5.15.3/index.0.js | 1 + 5.15.3/index.1.js | 1 + 5.15.3/index.10.js | 1 + 5.15.3/index.11.js | 1 + 5.15.3/index.12.js | 1 + 5.15.3/index.13.js | 1 + 5.15.3/index.14.js | 1 + 5.15.3/index.15.js | 1 + 5.15.3/index.16.js | 1 + 5.15.3/index.17.js | 1 + 5.15.3/index.18.js | 1 + 5.15.3/index.19.js | 1 + 5.15.3/index.2.js | 1 + 5.15.3/index.20.js | 1 + 5.15.3/index.21.js | 1 + 5.15.3/index.22.js | 1 + 5.15.3/index.23.js | 1 + 5.15.3/index.24.js | 1 + 5.15.3/index.25.js | 1 + 5.15.3/index.26.js | 1 + 5.15.3/index.27.js | 1 + 5.15.3/index.28.js | 1 + 5.15.3/index.29.js | 1 + 5.15.3/index.3.js | 81 +++++++++++++++++++++++++++++++++++++++ 5.15.3/index.30.js | 1 + 5.15.3/index.31.js | 1 + 5.15.3/index.32.js | 1 + 5.15.3/index.33.js | 1 + 5.15.3/index.34.js | 1 + 5.15.3/index.35.js | 1 + 5.15.3/index.36.js | 1 + 5.15.3/index.37.js | 1 + 5.15.3/index.38.js | 1 + 5.15.3/index.39.js | 1 + 5.15.3/index.4.js | 1 + 5.15.3/index.40.js | 1 + 5.15.3/index.41.js | 1 + 5.15.3/index.42.js | 1 + 5.15.3/index.43.js | 1 + 5.15.3/index.44.js | 1 + 5.15.3/index.45.js | 1 + 5.15.3/index.46.js | 1 + 5.15.3/index.47.js | 1 + 5.15.3/index.48.js | 1 + 5.15.3/index.49.js | 1 + 5.15.3/index.5.js | 1 + 5.15.3/index.50.js | 1 + 5.15.3/index.51.js | 1 + 5.15.3/index.52.js | 1 + 5.15.3/index.53.js | 1 + 5.15.3/index.54.js | 1 + 5.15.3/index.55.js | 1 + 5.15.3/index.56.js | 1 + 5.15.3/index.57.js | 1 + 5.15.3/index.58.js | 1 + 5.15.3/index.59.js | 1 + 5.15.3/index.6.js | 1 + 5.15.3/index.60.js | 1 + 5.15.3/index.61.js | 1 + 5.15.3/index.62.js | 1 + 5.15.3/index.63.js | 1 + 5.15.3/index.64.js | 1 + 5.15.3/index.65.js | 1 + 5.15.3/index.66.js | 1 + 5.15.3/index.67.js | 1 + 5.15.3/index.68.js | 1 + 5.15.3/index.69.js | 1 + 5.15.3/index.7.js | 1 + 5.15.3/index.70.js | 1 + 5.15.3/index.71.js | 1 + 5.15.3/index.72.js | 1 + 5.15.3/index.73.js | 1 + 5.15.3/index.74.js | 1 + 5.15.3/index.75.js | 1 + 5.15.3/index.76.js | 1 + 5.15.3/index.77.js | 1 + 5.15.3/index.78.js | 1 + 5.15.3/index.8.js | 1 + 5.15.3/index.9.js | 1 + 5.15.3/index.html | 1 + 5.15.3/index.js | 56 +++++++++++++++++++++++++++ index.html | 2 +- index.js | 2 +- stable/index.html | 2 +- stable/index.js | 2 +- versions.json | 5 ++- 87 files changed, 224 insertions(+), 5 deletions(-) create mode 100644 5.15.3/favicon-32x32.png create mode 100644 5.15.3/index.0.js create mode 100644 5.15.3/index.1.js create mode 100644 5.15.3/index.10.js create mode 100644 5.15.3/index.11.js create mode 100644 5.15.3/index.12.js create mode 100644 5.15.3/index.13.js create mode 100644 5.15.3/index.14.js create mode 100644 5.15.3/index.15.js create mode 100644 5.15.3/index.16.js create mode 100644 5.15.3/index.17.js create mode 100644 5.15.3/index.18.js create mode 100644 5.15.3/index.19.js create mode 100644 5.15.3/index.2.js create mode 100644 5.15.3/index.20.js create mode 100644 5.15.3/index.21.js create mode 100644 5.15.3/index.22.js create mode 100644 5.15.3/index.23.js create mode 100644 5.15.3/index.24.js create mode 100644 5.15.3/index.25.js create mode 100644 5.15.3/index.26.js create mode 100644 5.15.3/index.27.js create mode 100644 5.15.3/index.28.js create mode 100644 5.15.3/index.29.js create mode 100644 5.15.3/index.3.js create mode 100644 5.15.3/index.30.js create mode 100644 5.15.3/index.31.js create mode 100644 5.15.3/index.32.js create mode 100644 5.15.3/index.33.js create mode 100644 5.15.3/index.34.js create mode 100644 5.15.3/index.35.js create mode 100644 5.15.3/index.36.js create mode 100644 5.15.3/index.37.js create mode 100644 5.15.3/index.38.js create mode 100644 5.15.3/index.39.js create mode 100644 5.15.3/index.4.js create mode 100644 5.15.3/index.40.js create mode 100644 5.15.3/index.41.js create mode 100644 5.15.3/index.42.js create mode 100644 5.15.3/index.43.js create mode 100644 5.15.3/index.44.js create mode 100644 5.15.3/index.45.js create mode 100644 5.15.3/index.46.js create mode 100644 5.15.3/index.47.js create mode 100644 5.15.3/index.48.js create mode 100644 5.15.3/index.49.js create mode 100644 5.15.3/index.5.js create mode 100644 5.15.3/index.50.js create mode 100644 5.15.3/index.51.js create mode 100644 5.15.3/index.52.js create mode 100644 5.15.3/index.53.js create mode 100644 5.15.3/index.54.js create mode 100644 5.15.3/index.55.js create mode 100644 5.15.3/index.56.js create mode 100644 5.15.3/index.57.js create mode 100644 5.15.3/index.58.js create mode 100644 5.15.3/index.59.js create mode 100644 5.15.3/index.6.js create mode 100644 5.15.3/index.60.js create mode 100644 5.15.3/index.61.js create mode 100644 5.15.3/index.62.js create mode 100644 5.15.3/index.63.js create mode 100644 5.15.3/index.64.js create mode 100644 5.15.3/index.65.js create mode 100644 5.15.3/index.66.js create mode 100644 5.15.3/index.67.js create mode 100644 5.15.3/index.68.js create mode 100644 5.15.3/index.69.js create mode 100644 5.15.3/index.7.js create mode 100644 5.15.3/index.70.js create mode 100644 5.15.3/index.71.js create mode 100644 5.15.3/index.72.js create mode 100644 5.15.3/index.73.js create mode 100644 5.15.3/index.74.js create mode 100644 5.15.3/index.75.js create mode 100644 5.15.3/index.76.js create mode 100644 5.15.3/index.77.js create mode 100644 5.15.3/index.78.js create mode 100644 5.15.3/index.8.js create mode 100644 5.15.3/index.9.js create mode 100644 5.15.3/index.html create mode 100644 5.15.3/index.js diff --git a/5.15.3/favicon-32x32.png b/5.15.3/favicon-32x32.png new file mode 100644 index 0000000000000000000000000000000000000000..06b5e793b5d4d6999a78b03c2f8da8a0d0756af4 GIT binary patch literal 621 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyEa{HEjtmSN`?>!lvVtU&J%W50 z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+10A}YWq#MLnF_uS2Y&s_f( zRrkjx{r8Wb|AFAcm;Yu-zZ>TKUAgD)>FfXE8vl3}{{Hvx|HBvmrmX%uZSCLt&;I!o z|B0#pbMD5!<-7hi&--hd`1{?b|382Kx6AmQ-~VUV$$zC;Wr9Fk7?Zr+UDy)ScGLnn zoCO|{#S9E=Z$Ow)uGGR5D9B#o>Fdh=fLV-N*W_tu6Ue{Co-U3d7N@WFZWnBEU^w!C z;UWL~h5ya=Ge6zG(&U!P&+|(aQ;vOZ+GMn_%}qY)MbGz%j?BtFT4#c_HMq%szm#Z492$r;I!`Dy-d z#yu7+*4G@=t?o.characterCounterError:n>=Math.ceil(.95*t)?o.characterCounterWarn:"";return w.a.createElement("span",{className:"".concat(o.characterCounter," ").concat(r)},t-n)}},{key:"render",value:function(){var e=this.props,t=e.tag,i=void 0===t?"input":t,o=e.className,r=e.style,a=e.disabled,s=e.inputStyle,l=e.inputClassName,c=e.iconLeftClassName,d=e.iconRightClassName,u=e.activeBorderClassName,p=e.size,f=e.variation,h=e.iconLeft,g=(e.iconRight,e.status),m=e.isFocused,b=e.classes,v=e.value,z=e.groupPosition,R=(e.theme,e.onChange,e.passwordIconTooltip,e.passwordIconProps,e.inputRef,e.maxLength),x=e.characterCounter,C=e.containerRef,M=n()(e,["tag","className","style","disabled","inputStyle","inputClassName","iconLeftClassName","iconRightClassName","activeBorderClassName","size","variation","iconLeft","iconRight","status","isFocused","classes","value","groupPosition","theme","onChange","passwordIconTooltip","passwordIconProps","inputRef","maxLength","characterCounter","containerRef"]),I=this.props.type,P=O()(o,b.root,b[f],b[g],a?b.isDisabled:b.isEnabled,b[p],z&&[b["".concat(z,"Position")],b.inGroup],m&&b.isFocused,h&&b.withLeftIcon,this.iconRight&&b.withRightIcon,x&&b.withCounter,"textarea"===i&&b.textareaRoot,"password"===I&&b.withEye),E=Object($.createElement)(i,y()({value:v,disabled:a,ref:this.saveRef,className:O()(b.input,l,""!==v&&null!=v&&b.filled),style:s,onChange:this.onChange,tabIndex:0},!!R&&{maxLength:x?Math.ceil(1.05*R):R},{},M));return w.a.createElement("div",{style:r,className:P,ref:C},h&&this.renderIcon(h,O()(c,b.iconLeft)),this.iconRight&&this.renderIcon(this.iconRight,O()(d,b.iconRight)),this.renderPasswordIcon(),E,w.a.createElement("div",{className:O()(u,b.activeBorder)}),this.renderPlaceholder(),x&&this.renderCharacterCounter())}},{key:"iconRight",get:function(){var e=this.props,t=e.type,i=e.iconRight;return void 0!==i?i:"time"===t?T:"date"===t||"month"===t?V:null}}]),i}($.PureComponent);W.propTypes={value:z.a.any.isRequired,placeholder:z.a.string,disabled:z.a.bool,type:z.a.oneOf(["email","number","password","tel","text","url","time","date","month"]),size:z.a.oneOf(["small","medium"]),variation:z.a.oneOf(["regular","awesome","promo"]),status:z.a.oneOf(["error","warning","success","filled",null]),isFocused:z.a.bool,className:z.a.string,inputClassName:z.a.string,fullWidth:z.a.any,inputStyle:z.a.object,style:z.a.object,onChange:z.a.func,iconLeft:z.a.node,iconRight:z.a.node,passwordIconTooltip:z.a.oneOfType([z.a.string,z.a.func]),passwordIconProps:z.a.oneOfType([z.a.func,z.a.object]),groupPosition:z.a.oneOf(["start","middle","end",null]),iconRightClassName:z.a.string,iconLeftClassName:z.a.string,activeBorderClassName:z.a.string,characterCounter:z.a.bool,containerRef:z.a.func,inputRef:z.a.func},W.defaultProps={status:null,size:"medium",variation:"awesome"},t.default=Object(x.default)((function(e){return y()({input:y()({extend:C.isolateMixin,fontFamily:e.field.fontFamily,boxSizing:"border-box",display:"block",padding:0,outline:0,width:"100%",fontStyle:e.field.fontStyle,fontWeight:e.field.fontWeight,letterSpacing:e.field.letterSpacing,appearance:"none",lineHeight:"normal",color:e.field.colors.default.text,boxShadow:"none",border:"0 solid",transition:"all ".concat(e.field.animationDuration,"ms ease")},Object(C.ifMobile)({fontWeight:e.field.mobile.fontWeight,letterSpacing:e.field.mobile.letterSpacing}),{},L(e.field.colors.default.background,e.field.colors.hover.background,e.field.colors.default.outline),{"$textareaRoot &":{resize:"vertical",height:"100%"},"&::-ms-reveal, &::-ms-clear":{display:"none"},'&[type="month"], &[type="date"], &[type="time"]':{"&::-webkit-clear-button, &::-webkit-inner-spin-button":{display:"none"},"&::-webkit-date-and-time-value":{margin:0,textAlign:"left"}},"&::-webkit-calendar-picker-indicator":{display:"none","$withRightIcon &":{display:"block",position:"absolute",margin:0,padding:0,background:"transparent"}},"&:enabled:hover, $icon:hover ~ &:enabled":{borderColor:e.field.colors.hover.outline},"&:disabled":{background:e.field.colors.disabled.background,color:e.field.colors.disabled.text,cursor:"not-allowed",borderColor:e.field.colors.disabled.outline},'&$filled[type="password"]':{fontFamily:"monospace"},"&:focus + $activeBorder + $placeholder":{display:"none"}},Object(C.placeholderMixin)("&",{color:e.field.colors.default.placeholder,opacity:1,transition:"opacity ".concat(Math.round(.7*e.field.animationDuration),"ms linear")}),{},Object(C.placeholderMixin)("&:disabled",{color:e.field.colors.disabled.placeholder,opacity:1}),{},Object(C.placeholderMixin)("&:focus",{opacity:.54}),{},Object(C.placeholderMixin)("$isEnabled$isFocused &",{opacity:.54}),{"$error$isEnabled &":L(e.field.colors.error.background,e.field.colors.errorHover.background,e.field.colors.error.outline),"$warning$isEnabled &":L(e.field.colors.warning.background,e.field.colors.warningHover.background,e.field.colors.warning.outline),"$success$isEnabled &":L(e.field.colors.success.background,e.field.colors.successHover.background,e.field.colors.success.outline)}),withStatusLine:{"& $activeBorder":{borderWidth:[0,0,2],transform:"scaleX(0.6) scaleY(0)",transformOrigin:"center bottom"}},withOutline:{"& $input":{borderRadius:e.field.borderRadius,borderWidth:1}},withCounter:{},regular:{composes:["$withOutline"],"& $activeBorder":{borderRadius:e.field.borderRadius,borderWidth:1}},awesome:{composes:["$withOutline","$withStatusLine"],"& $activeBorder":{borderRadius:e.field.borderRadius}},promo:{composes:["$withStatusLine"],"& $input":{borderWidth:[1,0],borderTopColor:"transparent!important"},"& $input, & $input:disabled":{background:"none"},"& $activeBorder":{borderRadius:e.field.borderRadius}}},["medium","small"].reduce((function(t,i){return y()({},t,m()({},i,y()({"& $input":y()({fontSize:e.field.sizes[i].fontSize},Object(C.ifMobile)({fontSize:e.field.mobile.sizes[i].fontSize})),"& input$input":y()({height:e.field.sizes[i].height},Object(C.ifMobile)({height:e.field.mobile.sizes[i].height}),{'&[type="month"], &[type="date"], &[type="time"]':y()({},Object(C.ifMobile)({lineHeight:e.field.sizes[i].height+"px"}))}),"& $characterCounter":{lineHeight:e.field.sizes[i].height+"px"},"&$textareaRoot $input":y()({paddingTop:e.input.sizes[i].verticalPadding,paddingBottom:e.input.sizes[i].verticalPadding},Object(C.ifMobile)({paddingTop:e.input.mobile.sizes[i].verticalPadding,paddingBottom:e.input.mobile.sizes[i].verticalPadding}))},["& $icon","& $input::-webkit-calendar-picker-indicator"].reduce((function(t,o){return y()({},t,m()({},o,y()({height:e.field.sizes[i].icon,width:e.field.sizes[i].icon,lineHeight:e.field.sizes[i].icon+"px"},Object(C.ifMobile)({height:e.field.mobile.sizes[i].icon,width:e.field.mobile.sizes[i].icon,lineHeight:e.field.mobile.sizes[i].icon+"px"}))))}),{}),{"& $eye":y()({height:e.field.sizes[i].eyeIcon,width:e.field.sizes[i].eyeIcon,lineHeight:e.field.sizes[i].eyeIcon+"px"},Object(C.ifMobile)({height:e.field.mobile.sizes[i].eyeIcon,width:e.field.mobile.sizes[i].eyeIcon,lineHeight:e.field.mobile.sizes[i].eyeIcon+"px"})),"& $eyeWrapper":{"&:after":y()({display:"block",content:'" "',position:"absolute",top:-Math.floor((e.field.sizes[i].height-e.field.sizes[i].eyeIcon)/2),bottom:-Math.floor((e.field.sizes[i].height-e.field.sizes[i].eyeIcon)/2),left:-10,right:-10},Object(C.ifMobile)({top:-Math.floor((e.field.sizes[i].height-e.field.mobile.sizes[i].eyeIcon)/2),bottom:-Math.floor((e.field.sizes[i].height-e.field.mobile.sizes[i].eyeIcon)/2)}),{borderRadius:e.field.borderRadius})},"& $placeholder":y()({fontSize:e.field.sizes[i].fontSize,pointerEvents:"none"},Object(C.ifMobile)({fontSize:e.field.mobile.sizes[i].fontSize})),"&$withOutline $placeholder":y()({paddingLeft:e.input.sizes[i].padding},Object(C.ifMobile)({paddingLeft:e.input.mobile.sizes[i].padding})),"&$withOutline $input":y()({paddingLeft:e.input.sizes[i].padding,paddingRight:e.input.sizes[i].padding},Object(C.ifMobile)({paddingLeft:e.input.mobile.sizes[i].padding,paddingRight:e.input.mobile.sizes[i].padding})),"&$withLeftIcon$regular $input":y()({paddingLeft:e.field.sizes[i].withIconPadding-1},Object(C.ifMobile)({paddingLeft:e.field.mobile.sizes[i].withIconPadding-1})),"&$withLeftIcon$awesome $input":y()({paddingLeft:e.field.sizes[i].withIconPadding},Object(C.ifMobile)({paddingLeft:e.field.mobile.sizes[i].withIconPadding})),"&$withLeftIcon$promo $input":y()({paddingLeft:e.field.sizes[i].withIconPadding-e.input.sizes[i].padding},Object(C.ifMobile)({paddingLeft:e.field.mobile.sizes[i].withIconPadding-e.input.mobile.sizes[i].padding})),"&$withRightIcon$regular $input, &$withEye$regular $input":y()({paddingRight:e.field.sizes[i].withIconPadding-1},Object(C.ifMobile)({paddingRight:e.field.mobile.sizes[i].withIconPadding-1})),"&$withEye$withRightIcon$regular $input":y()({paddingRight:e.field.sizes[i].withIconsPadding-1},Object(C.ifMobile)({paddingRight:e.field.mobile.sizes[i].withIconsPadding-1})),"&$withRightIcon$awesome $input, &$withEye$awesome $input":y()({paddingRight:e.field.sizes[i].withIconPadding},Object(C.ifMobile)({paddingRight:e.field.mobile.sizes[i].withIconPadding})),"&$withEye$withRightIcon$awesome $input":y()({paddingRight:e.field.sizes[i].withIconsPadding},Object(C.ifMobile)({paddingRight:e.field.mobile.sizes[i].withIconsPadding})),"&$withRightIcon$promo $input, &$withEye$promo $input":y()({paddingRight:e.field.sizes[i].withIconPadding-e.input.sizes[i].padding},Object(C.ifMobile)({paddingRight:e.field.mobile.sizes[i].withIconPadding-e.input.mobile.sizes[i].padding})),"&$withEye$withRightIcon$promo $input":y()({paddingRight:e.field.sizes[i].withIconsPadding-e.input.sizes[i].padding},Object(C.ifMobile)({paddingRight:e.field.mobile.sizes[i].withIconsPadding-e.input.mobile.sizes[i].padding})),"&$withEye$regular $iconRight, &$withEye$awesome $iconRight":y()({right:e.field.sizes[i].withIconPadding},Object(C.ifMobile)({right:e.field.mobile.sizes[i].withIconPadding})),"&$withEye$promo $iconRight":y()({right:e.field.sizes[i].withIconPadding-e.input.sizes[i].padding},Object(C.ifMobile)({right:e.field.mobile.sizes[i].withIconPadding-e.input.mobile.sizes[i].padding})),"&$withCounter $input":y()({paddingRight:e.field.sizes[i].withIconPadding-1},Object(C.ifMobile)({paddingRight:e.field.mobile.sizes[i].withIconPadding-1})),"&$regular $iconLeft, &$awesome $iconLeft":y()({left:e.field.sizes[i].iconMargin},Object(C.ifMobile)({left:e.field.mobile.sizes[i].iconMargin})),"&$promo $iconLeft":{left:0},"&$regular, &$awesome":["& $iconRight","& $input::-webkit-calendar-picker-indicator"].reduce((function(t,o){return y()({},t,m()({},o,y()({right:e.field.sizes[i].iconMargin},Object(C.ifMobile)({right:e.field.mobile.sizes[i].iconMargin}))))}),{}),"&$promo":["& $iconRight","& $input::-webkit-calendar-picker-indicator"].reduce((function(e,t){return y()({},e,m()({},t,{right:0}))}),{}),"&$inGroup$regular, &$inGroup$awesome":{"&:not($startPosition)":{"& $input, & $activeBorder":{borderTopLeftRadius:0,borderBottomLeftRadius:0}},"&:not($endPosition)":{"& $input, & $activeBorder":{borderTopRightRadius:0,borderBottomRightRadius:0}}},"&$inGroup$promo":{"&:not($startPosition)":{"&$withLeftIcon $input":y()({paddingLeft:e.field.sizes[i].withIconPadding},Object(C.ifMobile)({paddingLeft:e.field.mobile.sizes[i].withIconPadding})),"& $iconLeft":y()({left:e.field.sizes[i].iconMargin},Object(C.ifMobile)({left:e.field.mobile.sizes[i].iconMargin}))},"&:not($endPosition)":{"&$withRightIcon $input, &$withEye $input":y()({paddingRight:e.field.sizes[i].withIconPadding},Object(C.ifMobile)({paddingRight:e.field.mobile.sizes[i].withIconPadding})),"&$withEye$withRightIcon $input":y()({paddingRight:e.field.sizes[i].withIconsPadding-1},Object(C.ifMobile)({paddingRight:e.field.mobile.sizes[i].withIconsPadding-1})),"&$withEye $iconRight":y()({right:e.field.sizes[i].withIconPadding},Object(C.ifMobile)({right:e.field.mobile.sizes[i].withIconPadding})),"& $iconRight":y()({right:e.field.sizes[i].iconMargin},Object(C.ifMobile)({right:e.field.mobile.sizes[i].iconMargin}))}}})))}),{}),{root:{extend:C.isolateMixin,position:"relative",boxSizing:"border-box",fontFamily:e.fontFamily},textareaRoot:{},characterCounter:{position:"absolute",top:0,bottom:0,right:15,margin:"auto",fontSize:e.input.counter.fontSize,fontWeight:e.input.counter.fontWeight,color:e.input.counter.colors.default,"$textareaRoot &":{top:"auto",bottom:10,lineHeight:1.36}},characterCounterWarn:{color:"#ffc000"},characterCounterError:{color:"#ff564e"},activeBorder:{position:"absolute",top:0,left:0,right:0,bottom:0,pointerEvents:"none",transition:"all ".concat(Math.round(.7*e.field.animationDuration),"ms linear"),border:"0 solid transparent","$input:focus + &, $isEnabled$isFocused &":N(e.field.colors.focus.border),"$success$isEnabled &":N(e.field.colors.success.border||e.colors.success),"$error$isEnabled &":N(e.field.colors.error.border||e.colors.danger),"$warning$isEnabled &":N(e.field.colors.warning.border||e.colors.warn)},icon:{position:"absolute",top:0,bottom:0,margin:"auto",fontSize:0,color:e.field.icon.colors.default,"$textareaRoot &":y()({marginTop:Math.ceil((e.field.sizes.medium.height-e.field.sizes.medium.icon)/2)},Object(C.ifMobile)({marginTop:Math.ceil((e.field.mobile.sizes.medium.height-e.field.mobile.sizes.medium.icon)/2)}))},eye:{composes:"$icon",pointerEvents:"auto",border:0,outline:0,cursor:"pointer","&:hover":{color:e.field.icon.colors.hover},"&:active":{color:e.field.icon.colors.active},"$regular &, $awesome &":y()({right:e.input.eyeMargin},Object(C.ifMobile)({right:e.input.mobile.eyeMargin})),"$promo &":{right:0},"$isDisabled &":{cursor:"not-allowed",color:e.field.colors.disabled.text,pointerEvents:"none"}},withLeftIcon:{},withRightIcon:{},withEye:{},iconLeft:{composes:"$icon",pointerEvents:"none"},iconRight:{composes:"$icon",pointerEvents:"none"},placeholder:{position:"absolute",top:"2px",left:"1px",height:"calc(100% - 5px)",display:"flex",alignItems:"center",background:"#fff",color:e.field.colors.default.placeholder,opacity:1,transition:"opacity ".concat(Math.round(.7*e.field.animationDuration),"ms linear")},isFocused:{},filled:{},isDisabled:{},isEnabled:{},inGroup:{},success:{},error:{},warning:{},eyeWrapper:{},endPosition:{},startPosition:{},middlePosition:{}})}),{name:"Input"})(W)},601:function(e,t,i){"use strict";i.r(t);var o=i(26),n=i.n(o),r=i(7),a=i.n(r),s=i(8),l=i.n(s),c=i(9),d=i.n(c),u=i(10),p=i.n(u),f=i(5),h=i.n(f),g=i(0),m=i.n(g),b=i(1),y=i.n(b),$=i(19),w=i.n($),v=i(661),z=i(289),R=i(59),O=i(736);var x={"pointer-events":"none"},C=function(e){d()(i,e);var t=function(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}return function(){var i,o=h()(e);if(t()){var n=h()(this).constructor;i=Reflect.construct(o,arguments,n)}else i=o.apply(this,arguments);return p()(this,i)}}(i);function i(){var e;a()(this,i);for(var o=arguments.length,r=new Array(o),s=0;s0,r=o should be a string");var R="";if((p||v)&&E&&n)R=o;else if(!h&&!m){var $=f(t);R=this.isValueEmpty($)?"":$}var x="";if(m)(this.isValueEmpty(t)||n&&p)&&(x=c);else if(h){var O=Array.isArray(t)&&t.length>0;(n&&p&&!d||!O)&&(x=c)}else{var k=f(t);x=this.isValueEmpty(k)||v&&""===o?c:p&&!v&&E&&""===o?k:""}var N=(v||!!p)&&(!m&&!h||m&&(n||this.isValueEmpty(t))||h&&(n||!Array.isArray(t)||0===t.length)),M=C||(this.showClearIcon?Object(b.createElement)(this.Clear):this.showArrow&&Object(b.createElement)(this.Arrow,{role:"button",onMouseDown:this.preventBlurInput,onClick:this.openOnArrowClick}));return w.a.createElement(I.default,y()({},this.getInputProps(),{inputStyle:l,className:s.input,iconLeft:u,iconRight:M,iconRightClassName:s.icon,activeBorderClassName:s.inputBorder,onKeyDown:this.keyDown,onClick:!p&&n?this.close:this.open,onFocus:this.focusInput,onBlur:this.blurInput,onTouchStart:p?void 0:this.open,onTouchEnd:p?void 0:this.preventSelect,inputClassName:S()(a,s.field,!g&&s.darkPlaceholder),placeholder:x,readOnly:d||!N,value:R,onChange:this.requestItems,inputRef:this.saveInputRef}))}},{key:"renderSelect",value:function(){var e=this,t=this.state,o=t.value,n=t.inputFocused,r=t.isOpened,i=t.menuOverflowY,a=this.props,l=a.dropdownStyle,s=a.dropdownClassName,c=a.containerStyle,u=a.containerClassName,d=a.rootStyle,p=a.rootClassName,h=a.customElementRenderer,f=a.menuStyle,m=a.menuClassName,v=a.valuesEquality,g=a.readOnly,y=a.onChange,C=a.inputMode,E=a.children,R=a.appendToBody,$=a.multiple,x=a.multipleType,I=a.disabled,k=a.size,D=a.variation,B=a.status,T=a.icon,A=a.classes,V=g?void 0:this.props.onSearch,P=n||r,L=$&&Array.isArray(o)&&o.length>0,W=L?this.renderSelectedItems():null,j=!!V||C,Y=null;if(h){if(!(this.isValueEmpty(o)||r&&V)){var H=h(o),q=H.props.className;Y=Object(b.cloneElement)(H,{className:S()(A.custom,q)})}}else!L||r&&V||(Y=w.a.createElement(N.default,{className:S()(A.options,A["options-".concat(x)]),onChange:g||!y?void 0:this.changeValue,isExpanded:!(!r||V),type:x,disabled:I},W));var K=!g&&r&&(E.length>0||$&&Array.isArray(o)&&o.length>0),U=S()(p,A.root,(g||!I&&!j)&&A.isReadonly,A[k],A[D],A[B],I?A.isDisabled:A.isEnabled,!g&&!I&&j&&A.withSearch,T&&A.withLeftIcon,this.showArrow&&A.withRightIcon,K&&A.isOpened,P&&A.isFocused,$&&!V&&A.isMultipleWithoutSearch),G=S()(s,A.dropdown,$&&A.isMultipleDropdown);return w.a.createElement(z.default,{handler:this.closeOnClickOutside},(function(t){return w.a.createElement("div",{ref:t,className:U,style:d},w.a.createElement(M.default,{isOpened:K,anchor:function(t,o){var n=o.contentPointY;return w.a.createElement("div",{className:S()(u,($||h)&&A.withCustom,"top"===n?A.withBottomDropdown:A.withTopDropdown),style:c,ref:t},e.renderInput(),Y)},padding:!1,style:l,className:G,overlayClassName:A.dropdownContainer,appendToBody:R,anchorFullWidth:!0,autoPositionY:!$,anchorPointY:"bottom",contentPointY:"top",closeOnClickOutside:!1,cachePositionOptions:!1,onOpen:e.onDropdownOpen,onClose:e.handleDropdownClose},L&&V&&w.a.createElement(N.default,{className:S()(A.selected,A["options-".concat(x)]),onChange:e.changeValue,isExpanded:!0,onMouseDown:e.preventBlurInput,type:x},W),E.length>0&&w.a.createElement(O.default,{style:f,className:S()(m,A.menu,A["menuSize-".concat(k)],V&&$&&A.reducedHeight,i&&A["menuOverflowY-".concat(i)]),itemClassName:A.menuItem,autoFocus:K&&!n,value:$?Array.isArray(o)?o:F:o,valuesEquality:v,onChange:e.changeValue,onMouseDown:e.preventBlurInput,onEscKeyDown:e.closeOnEsc,onScroll:e.onMenuScroll,scrollRef:e.onMenuScrollMount,multiple:$,size:k},E)))}))}},{key:"renderNativeSelect",value:function(){var e=this,t=this.props,o=t.placeholder,n=t.disabled,r=t.readOnly,i=t.multiple,a=t.multipleType,l=t.children,s=t.size,c=t.variation,u=t.status,d=t.icon,p=t.valuesEquality,h=t.inputValueRenderer,f=t.className,m=t.classes,v=t.rootStyle,g=t.rootClassName,C=this.state,E=C.value,R=C.inputFocused,$=i?[]:"";this.values=[];var x=[];b.Children.forEach(l,(function(t,o){var n=t.props.children;if("RamblerUI(MenuItem)"!==t.type.displayName)throw new Error("Child component should be instance of ");if("string"!=typeof n)throw new Error("Children of should be a string");x[o]=w.a.createElement("option",{key:n,value:o},n),e.values[o]=t.props.value,i?E.some((function(e){return p(e,t.props.value)}))&&$.push(o):p(E,t.props.value)&&($=o)}));var O=i&&Array.isArray(E)&&E.length>0&&this.renderSelectedItems(),k=S()(g,m.root,m.isNative,m.withRightIcon,m[s],m[c],m[u],n?m.isDisabled:m.isEnabled,i&&[m.isMultipleWithoutSearch,m.withCustom],d&&m.withLeftIcon,R&&m.isFocused);return w.a.createElement("div",{className:k,style:v},w.a.createElement(I.default,{className:m.input,inputClassName:S()(f,m.field),disabled:n,onChange:W,value:i?"":h(E)||"",iconLeft:d,iconRight:Object(b.createElement)(this.Arrow),iconRightClassName:m.icon,activeBorderClassName:m.inputBorder,tabIndex:-1,readOnly:!0,placeholder:O?null:o,isFocused:R}),O&&w.a.createElement(N.default,{className:S()(m.options,m["options-".concat(a)]),size:s,type:a,disabled:n},O),w.a.createElement("select",y()({},this.getInputProps(),{className:m.nativeSelect,multiple:i,value:$,onChange:r?void 0:this.handleNativeSelectChange,onBlur:this.blurInput,onFocus:this.focusInput}),o?w.a.createElement("option",{disabled:!0,value:""},o):i&&Y,x))}},{key:"render",value:function(){return this.props.native&&L&&!this.props.onSearch?this.renderNativeSelect():this.renderSelect()}},{key:"initialValue",get:function(){var e=this.props,t=e.multiple,o=e.value;return t?Array.isArray(o)?o:F:o}},{key:"showArrow",get:function(){var e=this.props,t=e.children,o=e.clearIcon;return!e.readOnly&&t&&t.length>0&&!o}},{key:"showClearIcon",get:function(){var e=this.props,t=e.multiple,o=e.clearIcon;return!t&&o&&!this.isValueEmpty(this.state.value)}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.value===t.value?null:o.getValueState(e.value,e,t)}},{key:"getValueState",value:function(e,t,o){var n=t.valuesEquality,r=t.multiple,i=o.value;if(r){var a=Array.isArray(i)?i:F,l=Array.isArray(e)?e:F;if(l.length===a.length&&l.every((function(e,t){return n(e,a[t])})))return null}else if(n(e,i))return null;return{value:e}}}]),o}(b.PureComponent);q.propTypes={className:E.a.string,style:E.a.object,dropdownClassName:E.a.string,dropdownStyle:E.a.object,menuClassName:E.a.string,menuStyle:E.a.object,multiple:E.a.bool,multipleType:E.a.oneOf(["regular","background"]),clearIcon:E.a.bool,arrowClassName:E.a.string,arrowStyle:E.a.object,value:E.a.any,valuesEquality:E.a.func,inputValueRenderer:E.a.func,iconElementRenderer:E.a.func,placeholder:E.a.string,lightPlaceholderColor:E.a.bool,disabled:E.a.bool,readOnly:E.a.bool,children:E.a.arrayOf(E.a.element),icon:E.a.node,rightIcon:E.a.node,arrowIcon:E.a.oneOfType([E.a.node,E.a.func]),size:E.a.oneOf(["small","medium"]),variation:E.a.oneOf(["regular","awesome","promo"]),status:E.a.oneOf(["error","warning","success","filled",null]),appendToBody:E.a.bool,onFocus:E.a.func,onBlur:E.a.func,onKeyDown:E.a.func,onChange:E.a.func,onSearch:E.a.func,customElementRenderer:E.a.func,rootClassName:E.a.string,rootStyle:E.a.object,containerClassName:E.a.string,containerStyle:E.a.object,inputMode:E.a.bool,native:E.a.bool,inputRef:E.a.func},q.defaultProps={multiple:!1,multipleType:"regular",clearIcon:!1,status:null,size:"medium",variation:"awesome",disabled:!1,readOnly:!1,appendToBody:!1,inputMode:!1,valuesEquality:function(e,t){return e===t},inputValueRenderer:function(e){return e},children:[]},t.default=Object(B.default)((function(e){var t;return y()({root:{extend:T.isolateMixin,position:"relative","&$isDisabled":{cursor:"not-allowed","& $input":{pointerEvents:"none"},"& $arrow":{color:e.field.colors.disabled.arrow+"!important",pointerEvents:"none"}},"&$error":H(e.field.colors.error.outline),"&$warning":H(e.field.colors.warning.outline),"&$success":H(e.field.colors.success.outline)},dropdownContainer:{"&&":{display:"block"},"$isMultipleWithoutSearch &":{extend:j,bottom:null}},icon:{"$isMultipleWithoutSearch &":{top:"auto",bottom:"auto",margin:0,transform:"translateY(-50%)"},zIndex:1},arrow:{cursor:"pointer",textAlign:"center",lineHeight:0,color:e.field.colors.default.arrow,pointerEvents:"auto","& svg":{extend:j,margin:"auto",maxWidth:"100%",maxHeight:"100%"},transitionProperty:"color",transitionDuration:200},arrowIcon:{position:"absolute",transform:"rotate3d(0, 0, 1, 0deg)",transitionProperty:"transform",transitionDuration:200},input:{"$withCustom &":j,"$isEnabled$isFocused &":{"& $arrow":{color:e.field.colors.focus.arrow},"&:hover":{"& $arrow":{color:e.field.colors.hover.arrow}}},"$isEnabled &":{"&:hover":{"& $field":{color:e.select.colors.hover.text},"& $arrow":{color:e.field.colors.hover.arrow}}},borderRadius:e.field.borderRadius},inputBorder:{},field:{"$isReadonly &":{cursor:"pointer",userSelect:"none"},"$withSearch &":{cursor:"text"},"$withCustom &&":{extend:j,height:"100%"}},darkPlaceholder:{"$isEnabled$isReadonly &, $isEnabled:not($isFocused) &":y()({},Object(T.placeholderMixin)("&",{opacity:1,color:e.select.colors.default.placeholder,transitionProperty:"color",transitionDuration:200}),{},Object(T.placeholderMixin)("&:hover",{color:e.select.colors.hover.placeholder})),"$isEnabled$isReadonly $icon:hover ~ &, $isEnabled:not($isFocused) $icon:hover ~ &":y()({},Object(T.placeholderMixin)("&",{color:e.select.colors.hover.placeholder}))},withCustom:{position:"relative","$isOpened &":{zIndex:1}},withTopDropdown:{"& + *":{"& $dropdown":{marginBottom:e.select.dropdown.marginTop}},"$regular$isOpened & + *":{"& $menu":{borderBottomLeftRadius:e.dropdown.borderRadius,borderBottomRightRadius:e.dropdown.borderRadius}}},withBottomDropdown:{"& + *":{"& $dropdown":{marginTop:e.select.dropdown.marginTop}},"$regular$isOpened & + *":{"& $menu":{borderBottomLeftRadius:e.dropdown.borderRadius,borderBottomRightRadius:e.dropdown.borderRadius}}},custom:{position:"relative",pointerEvents:"none"},multipleValueItem:{"$isEnabled $options-regular &":{color:e.field.colors.default.text}},options:{composes:"$custom"},dropdown:{"&&":{boxShadow:e.select.dropdown.boxShadow,overflow:"hidden",border:"".concat(e.select.dropdown.borderWidth,"px solid ").concat(e.menu.colors.default.border),borderBottom:0,backgroundColor:e.menu.colors.default.background,"&$isMultipleDropdown, $regular &":{transitionProperty:"opacity",top:"0 !important"}}},selected:{borderBottom:"".concat(e.select.dropdown.borderWidth,"px solid ").concat(e.menu.colors.default.border),cursor:"default"},menu:y()({borderBottom:"".concat(e.select.dropdown.borderWidth,"px solid ").concat(e.menu.colors.default.border),boxSizing:"content-box"},0===e.select.dropdown.borderWidth&&{"&:before, &:after":{content:'""',position:"absolute",left:0,width:"100%",height:Math.max(5,e.dropdown.borderRadius),opacity:0,pointerEvents:"none",zIndex:1},"&:before":{top:0,borderTopLeftRadius:e.dropdown.borderRadius,borderTopRightRadius:e.dropdown.borderRadius,background:"linear-gradient(to bottom, ".concat(e.field.colors.default.background," 0 5px, transparent 5px 100%)")},"&:after":{bottom:0,borderBottomLeftRadius:e.dropdown.borderRadius,borderBottomRightRadius:e.dropdown.borderRadius,background:"linear-gradient(to top, ".concat(e.field.colors.default.background," 0 5px, transparent 5px 100%)")}}),"menuOverflowY-top":{"&:before":{opacity:1}},"menuOverflowY-bottom":{"&:after":{opacity:1}},"menuOverflowY-both":{composes:["$menuOverflowY-top","$menuOverflowY-bottom"]},menuItem:{backgroundColor:e.menu.colors.default.background}},["small","medium"].reduce((function(t,o){return y()({},t,v()({},"menuSize-".concat(o),{maxHeight:7*e.menu.sizes[o].height+2,"&$reducedHeight":{maxHeight:6*e.menu.sizes[o].height+2}}))}),{}),{reducedHeight:{},clear:{flex:"none",alignSelf:"center",color:e.field.icon.colors.default,fill:"currentColor",cursor:"pointer",pointerEvents:"auto","&:hover , &:active":{color:e.field.icon.colors.active}}},["medium","small"].reduce((function(t,o){return y()({},t,v()({},o,y()({"&$isMultipleWithoutSearch":{height:e.field.sizes[o].height},"&$isMultipleWithoutSearch $icon":{top:e.field.sizes[o].height/2},"& $withCustom":{minHeight:e.field.sizes[o].height},"& $arrow":{"&:before":y()({display:"block",content:'" "',position:"absolute",top:-Math.floor((e.field.sizes[o].height-e.field.sizes[o].icon)/2),bottom:-Math.floor((e.field.sizes[o].height-e.field.sizes[o].icon)/2),left:-10,right:-10},Object(T.ifMobile)({top:-Math.floor((e.field.sizes[o].height-e.field.mobile.sizes[o].icon)/2),bottom:-Math.floor((e.field.sizes[o].height-e.field.mobile.sizes[o].icon)/2)}),{borderRadius:e.field.borderRadius})},"&$isOpened $arrowIcon":{transform:"rotate3d(0, 0, 1, 180deg)"},"& $custom":{paddingRight:e.input.sizes[o].padding+1,paddingLeft:e.input.sizes[o].padding+1},"&$withLeftIcon $custom":{paddingLeft:e.field.sizes[o].withIconPadding+1},"&$withRightIcon $custom":{paddingRight:e.field.sizes[o].withIconPadding+1}},["regular","background"].reduce((function(t,n){var r,i=(e.field.sizes[o].height-e.tagsInput.types[n].height)/2;return y()({},t,(r={},v()(r,"& $options$options-".concat(n),{paddingTop:i,paddingBottom:i}),v()(r,"& $selected$options-".concat(n),{padding:"".concat(i-1,"px ").concat(e.input.sizes[o].padding-1,"px")}),r))}),{}))))}),{}),(t={isNative:{"& $icon":{pointerEvents:"none"}},nativeSelect:{extend:[T.isolateMixin,j],width:"100%",height:"100%",opacity:0,overflow:"hidden",outline:0},regular:{},awesome:{},promo:{},success:{},error:{},warning:{},isFocused:{},isOpened:{"& $field":{backgroundColor:e.field.colors.default.background}},isReadonly:{},isEnabled:{},isDisabled:{},isMultipleWithoutSearch:{},isMultipleDropdown:{},withSearch:{},withLeftIcon:{},withRightIcon:{}},v()(t,"options-regular",{}),v()(t,"options-background",{}),t))}),{name:"Select"})(q)},673:function(e,t,o){"use strict";o.r(t);var n=o(17),r=o.n(n),i=o(7),a=o.n(i),l=o(8),s=o.n(l),c=o(9),u=o.n(c),d=o(10),p=o.n(d),h=o(5),f=o.n(h),m=o(26),v=o.n(m),g=o(4),y=o.n(g),b=o(0),w=o.n(b),C=o(1),E=o.n(C),R=o(19),S=o.n(R),$=o(59),x=o(224),O=o(15),I=o(131);var k=function(e){u()(o,e);var t=function(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}return function(){var o,n=f()(e);if(t()){var r=f()(this).constructor;o=Reflect.construct(n,arguments,r)}else o=n.apply(this,arguments);return p()(this,o)}}(o);function o(){var e;a()(this,o);for(var n=arguments.length,r=new Array(n),i=0;in)break;a+=l,i+=1}this.setState({visibleItemsCount:i");var n=!l&&null!==p&&p<=o;return Object(b.cloneElement)(t,{nodeRef:function(t){e.saveItemsRefs(t,o,f)},className:S()(t.props.className,a.item,n&&a.isHidden),key:t.props.children,onRemove:u?e.onItemRemove:void 0,type:c,disabled:i})})),v=null===p?0:m.length-p;return w.a.createElement("div",y()({className:h},d),w.a.createElement("div",{ref:this.saveContainerRef,className:a.items},m,!l&&w.a.createElement("div",{className:S()(a.more,s&&a.isClickable,0===v&&a.isHidden),role:s?"button":void 0,ref:this.saveMoreButtonRef,onClick:i?void 0:s},"+",v)))}}]),o}(b.PureComponent);k.propTypes={children:E.a.node,disabled:E.a.bool,className:E.a.string,isExpanded:E.a.bool,onChange:E.a.func,onMoreClick:E.a.func,type:E.a.oneOf(["regular","background"])},k.defaultProps={type:"regular"},t.default=Object(x.default)(Object(I.default)("resize"),Object($.default)((function(e){var t=e.fontFamily,o=e.tagsInput;return y()({root:{extend:O.isolateMixin,fontSize:o.fontSize,fontFamily:t,fontWeight:400,userSelect:"none",overflow:"hidden"},items:{display:"flex","$isDisabled &":{pointerEvents:"none"}},isExpanded:{"& $items":{flexWrap:"wrap"}},item:{"&&":{flex:"none",alignSelf:"flex-start",whiteSpace:"nowrap"}},more:{composes:"$item",color:o.colors.default.more,transition:"color .2s","$isDisabled &":{color:o.colors.disabled.more}},isClickable:{pointerEvents:"auto","$isEnabled &":{cursor:"pointer","&:hover":{color:o.colors.hover.more},"&:active":{color:o.colors.active.more}},"$isDisabled &":{cursor:"not-allowed"}},regular:{},background:{}},["regular","background"].reduce((function(e,t){var n=o.types[t],r=n.height,i=n.verticalGap,a=n.horizontalGap;return y()({},e,v()({},t,{"& $items":{marginTop:-i,marginLeft:-a,minHeight:r+i},"& $item":{marginTop:i,marginLeft:a,maxWidth:"calc(100% - ".concat(a,"px)"),lineHeight:"".concat(r,"px")}}))}),{}),{isHidden:{"&&":{order:1,visibility:"hidden"}},isEnabled:{},isDisabled:{}})}),{name:"TagsInput"}))(k)},674:function(e,t,o){"use strict";o.r(t);var n=o(17),r=o.n(n),i=o(7),a=o.n(i),l=o(8),s=o.n(l),c=o(9),u=o.n(c),d=o(10),p=o.n(d),h=o(5),f=o.n(h),m=o(26),v=o.n(m),g=o(4),y=o.n(g),b=o(0),w=o.n(b),C=o(1),E=o.n(C),R=o(19),S=o.n(R),$=o(15),x=o(59),O=o(749);var I={fill:null},k=function(e){u()(o,e);var t=function(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}return function(){var o,n=f()(e);if(t()){var r=f()(this).constructor;o=Reflect.construct(n,arguments,r)}else o=n.apply(this,arguments);return p()(this,o)}}(o);function o(){var e;a()(this,o);for(var n=arguments.length,r=new Array(n),i=0;i"]},p={meta:d},f=Object(l.a)(d)((function(e){return e.children})),m=Object(i.b)("h3",null,"Пример"),h=Object(i.b)(s.a,{code:"import React, {Component} from 'react'\nimport Calendar from 'rambler-ui/Calendar'\n\nexport default class CalendarExample extends Component {\n state = {\n today: new Date(2018, 5, 15),\n dateFrom: null,\n dateTo: null\n }\n\n onChangeRange = (event, [dateFrom, dateTo]) => {\n this.setState({\n dateFrom,\n dateTo\n })\n }\n\n onChangeNotRange = (event, dateFrom) => {\n this.setState({\n dateFrom,\n dateTo: null\n })\n }\n\n render() {\n const {today, dateFrom, dateTo} = this.state\n\n return (\n
\n
\n \n
\n\n \n\n \n\n \n\n \n
\n )\n }\n}\n",mdxType:"Playground"}),b=Object(i.b)("h3",null,"Свойства ",Object(i.b)("inlineCode",{parentName:"h3"},"")),v=Object(i.b)(u.a,{code:"import React, {PureComponent} from 'react'\nimport PropTypes from 'prop-types'\nimport classnames from 'classnames'\nimport {withStyles} from '../theme'\nimport {isolateMixin, focusSourceMixin} from '../utils/mixins'\nimport {subscribeFocusEvents} from '../utils/focus-source'\n\nsubscribeFocusEvents()\n\nconst isInteger = value =>\n typeof value === 'number' && isFinite(value) && Math.floor(value) === value\n\nconst toNumber = (year, month, date) => year * 10000 + month * 100 + date\n\nconst dateToNumber = date =>\n date instanceof Date\n ? toNumber(date.getFullYear(), date.getMonth(), date.getDate())\n : null\n\nconst numberToDate = number =>\n new Date(\n Math.floor(number / 10000),\n Math.floor((number % 10000) / 100),\n number % 100\n )\n\nconst styles = ({calendar}) => ({\n root: {\n display: 'inline-block',\n width: 275,\n padding: 15,\n fontFamily: calendar.service.fontFamily,\n backgroundColor: calendar.colors.default.background,\n boxSizing: 'border-box'\n },\n headline: {\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center',\n height: 15,\n padding: '0 10px',\n boxSizing: 'border-box'\n },\n month: {\n position: 'relative',\n top: 1,\n lineHeight: calendar.month.size + 'px',\n fontSize: calendar.month.fontSize,\n fontWeight: calendar.month.fontWeight,\n color: calendar.colors.default.text\n },\n\n item: {\n extend: isolateMixin,\n display: 'inline-block',\n flex: 'none',\n border: 0,\n outline: 'none !important',\n background: 'none',\n whiteSpace: 'nowrap',\n textAlign: 'center',\n boxSizing: 'border-box',\n 'button&::-moz-focus-inner': {\n border: 'none !important',\n outline: 'none !important'\n },\n '$isSelectable &': {\n transitionDuration: calendar.animationDuration,\n transitionProperty: 'color, background-color'\n }\n },\n day: {\n composes: '$item',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n width: calendar.size\n },\n\n arrow: {\n composes: '$item',\n position: 'relative',\n width: calendar.arrow.size,\n height: calendar.arrow.size,\n color: calendar.service.colors.default,\n cursor: 'pointer',\n overflow: 'hidden',\n '&:before': {\n boxSizing: 'border-box',\n position: 'absolute',\n top: -1,\n left: 3,\n content: '\"\"',\n width: 9,\n height: 9,\n border: 'solid',\n borderWidth: '0 0 1px 1px',\n transform: 'rotate(45deg)',\n transformOrigin: 'left bottom'\n },\n '&:hover': {\n color: calendar.service.colors.hover\n },\n ...focusSourceMixin('other', '&:focus', {\n color: calendar.service.colors.hover\n }),\n '$isMedia &': {\n color: calendar.media.colors.default\n },\n '$isMedia &:hover': {\n color: calendar.media.colors.hover\n },\n '&:disabled': {\n color: calendar.colors.disabled.text,\n cursor: 'not-allowed'\n }\n },\n prev: {\n composes: '$arrow'\n },\n next: {\n composes: '$arrow',\n transform: 'scaleX(-1)'\n },\n arrowMock: {\n visibility: 'hidden',\n pointerEvents: 'none'\n },\n week: {\n display: 'flex',\n margin: '20px 0 11px'\n },\n weekDay: {\n composes: '$day',\n height: calendar.weekDay.size,\n fontSize: calendar.weekDay.fontSize,\n color: calendar.colors.default.weekDay\n },\n\n days: {\n overflow: 'hidden',\n '$isAnimate &': {\n transitionDuration: calendar.animationDuration,\n transitionProperty: 'height'\n }\n },\n daysWrap: {\n display: 'flex',\n flexWrap: 'wrap',\n '$isAnimate &': {\n transitionDuration: calendar.animationDuration,\n transitionProperty: 'transform'\n }\n },\n dateDay: {\n composes: '$day',\n height: calendar.date.size,\n fontSize: calendar.date.fontSize,\n color: calendar.colors.default.text,\n backgroundColor: calendar.colors.default.background,\n '$isSelectable &:not(:disabled)': {\n cursor: 'pointer'\n },\n '$isSelectable &:not(:disabled):hover': {\n color: calendar.colors.hover.text\n },\n ...focusSourceMixin('other', '$isSelectable &:not(:disabled):focus', {\n color: calendar.colors.hover.text\n }),\n '&:disabled': {\n cursor: 'not-allowed'\n }\n },\n\n isMedia: {\n fontFamily: calendar.media.fontFamily\n },\n isAnimate: {},\n\n isSelectable: {\n userSelect: 'none'\n },\n isWeekend: {\n color: calendar.colors.weekend.text\n },\n isToday: {\n fontWeight: 500,\n color: calendar.colors.today.text,\n '$isSelectable &:not(:disabled):hover': {\n color: calendar.colors.todayHover.text\n },\n ...focusSourceMixin('other', '$isSelectable &:not(:disabled):focus', {\n color: calendar.colors.todayHover.text\n }),\n ...focusSourceMixin('other', '$isSelectable &$isUnavailable:hover', {\n color: calendar.colors.disabled.text\n }),\n ...focusSourceMixin('other', '$isSelectable &$isUnavailable:focus', {\n color: calendar.colors.disabled.text\n })\n },\n isSelected: {\n backgroundColor: calendar.colors.selected.background\n },\n isActive: {\n color: calendar.colors.active.text,\n backgroundColor: calendar.colors.active.background,\n '$isSelectable &:not(:disabled):hover': {\n color: calendar.colors.active.text,\n backgroundColor: calendar.colors.activeHover.background\n },\n ...focusSourceMixin('other', '$isSelectable &:not(:disabled):focus', {\n color: calendar.colors.active.text,\n backgroundColor: calendar.colors.activeHover.background\n }),\n '$isSelectable &$isUnavailable:hover': {\n color: calendar.colors.disabled.text,\n backgroundColor: calendar.colors.activeHover.background\n },\n ...focusSourceMixin('other', '$isSelectable &$isUnavailable:focus', {\n color: calendar.colors.disabled.text,\n backgroundColor: calendar.colors.activeHover.background\n })\n },\n isUnavailable: {\n color: calendar.colors.disabled.text\n }\n})\n\nclass Calendar extends PureComponent {\n static propTypes = {\n /**\n * Кол-во показываемых месяцев\n */\n visibleMonths: PropTypes.number,\n /**\n * CSS-класс контейнера\n */\n className: PropTypes.string,\n /**\n * Стили контейнера\n */\n style: PropTypes.object,\n /**\n * Тип календаря\n */\n variation: PropTypes.oneOf(['service', 'media']),\n /**\n * Выбранная дата или период. Принимает объект Date\n * или массив, в случае с выбором периода\n */\n value: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.instanceOf(Date)),\n PropTypes.instanceOf(Date)\n ]),\n /**\n * Отображаемый месяц при инициализации.\n * Принимает объект Date\n */\n initDate: PropTypes.instanceOf(Date),\n /**\n * Текущая дата. Принимает объект Date\n */\n today: PropTypes.instanceOf(Date),\n /**\n * Возможность выбора периода\n */\n range: PropTypes.bool,\n /**\n * Минимальный год для отображения\n */\n minYear: PropTypes.number,\n /**\n * Максимальный год для отображения\n */\n maxYear: PropTypes.number,\n /**\n * Минимальная дата для выбора\n */\n minDate: PropTypes.instanceOf(Date),\n /**\n * Максимальная дата для выбора\n */\n maxDate: PropTypes.instanceOf(Date),\n /**\n * Отображает год\n */\n showYear: PropTypes.bool,\n /**\n * Отображает переключатель месяцев\n */\n showMonthSwitch: PropTypes.bool,\n /**\n * Устанавливает подстветку выходных дней (сб и вс)\n */\n highlightWeekend: PropTypes.bool,\n /**\n * Функция, вызывающая при изменении значения `function (event: object, newValue: Date | Date[]) {}`.\n * Возвращает объект Date или массив, в случае с выбором периода\n */\n onChange: PropTypes.func\n }\n\n static defaultProps = {\n variation: 'service',\n range: false,\n minYear: 1900,\n maxYear: 2200,\n showYear: true,\n showMonthSwitch: true,\n highlightWeekend: false,\n visibleMonths: 1\n }\n\n /**\n * @prop {Array.<{displayMonth, displayYear, first, last}>} data\n * @prop {Array.} dates\n * @prop {boolean} animate\n */\n state = this.getState(this.props)\n\n componentDidUpdate(prevProps) {\n if (prevProps.initDate !== this.props.initDate) this.resetState()\n }\n\n resetState() {\n this.setState(this.getState(this.props))\n }\n\n getState(props) {\n const displayData = []\n const number =\n dateToNumber(props.initDate) ||\n dateToNumber(props.today) ||\n dateToNumber(new Date())\n\n const displayMonth = Math.floor((number % 10000) / 100)\n const displayYear = Math.floor(number / 10000)\n\n for (let i = props.visibleMonths - 1 || 0; i >= 0; i--) {\n let month = displayMonth - i\n let year = displayYear\n\n if (month < 0) {\n year = year - Math.ceil(Math.abs(month / 12))\n month = (12 + (month % 12)) % 12\n }\n\n displayData.push({\n displayMonth: month,\n displayYear: year\n })\n }\n\n return this.calculateDates(displayData)\n }\n\n switchMonth(displayData) {\n const {data, dates} = this.calculateDates(displayData)\n\n this.setState(\n {\n animate: true,\n data\n },\n () => {\n setTimeout(() => {\n this.setState({\n dates,\n animate: false\n })\n }, 210)\n }\n )\n }\n\n calculateDates(displayData) {\n const {showMonthSwitch, visibleMonths} = this.props\n\n const showWithAnimation = showMonthSwitch\n const data = []\n const allDates = []\n\n for (let i = 0; i < (visibleMonths || 1); i++) {\n const displayMonth = displayData[i].displayMonth\n\n const months = showWithAnimation\n ? [\n displayMonth - 2,\n displayMonth - 1,\n displayMonth,\n displayMonth + 1,\n displayMonth + 2\n ]\n : [displayMonth - 1, displayMonth, displayMonth + 1]\n\n const {meta, dates} = this.getMonthDates({\n months,\n displayData: displayData[i]\n })\n\n allDates.push(dates)\n data.push(meta)\n }\n\n return {\n data,\n dates: allDates\n }\n }\n\n getMonthDates({months, displayData}) {\n const {displayYear, displayMonth} = displayData\n const dates = []\n let first, last\n\n months.forEach((m, index) => {\n let month = m\n let year = displayYear\n\n if (m < 0) {\n month = m + 12\n year--\n } else if (m > 11) {\n month = m - 12\n year++\n }\n\n let dateFrom = 1\n let dateTo = new Date(year, month + 1, 0).getDate()\n\n if (index === 0)\n dateFrom = dateTo - (new Date(year, month + 1, 1).getDay() || 7) + 2\n else if (index === months.length - 1)\n dateTo = 8 - (new Date(year, month, 1).getDay() || 7) + 7\n\n if (month === displayMonth) {\n first = toNumber(year, month, 1)\n last = toNumber(year, month, dateTo)\n }\n\n for (let i = dateFrom; i <= dateTo; i++)\n dates.push(toNumber(year, month, i))\n })\n\n return {\n meta: {\n displayMonth,\n displayYear,\n first,\n last\n },\n dates\n }\n }\n\n setNewDates(event, [numberFrom, numberTo = null]) {\n const {range, onChange} = this.props\n\n const dateFrom = numberFrom && numberToDate(numberFrom)\n const dateTo = numberTo && numberToDate(numberTo)\n\n const value = range ? [dateFrom, dateTo] : dateFrom\n\n if (typeof onChange === 'function') onChange(event, value)\n }\n\n onPrev = () => {\n const {minYear} = this.props\n let {data} = this.state\n\n const firstCalendar = data[data.length - 1]\n\n if (\n this.state.animate ||\n (isInteger(minYear) &&\n minYear === firstCalendar.displayYear &&\n firstCalendar.displayMonth === 0)\n )\n return\n\n this.switchMonth(\n data.map(({displayMonth, displayYear}) => {\n const prevMonth = displayMonth - 1\n\n if (prevMonth < 0)\n return {\n displayMonth: 11,\n displayYear: displayYear - 1\n }\n\n return {\n displayMonth: prevMonth,\n displayYear\n }\n })\n )\n }\n\n onNext = () => {\n const {maxYear} = this.props\n const {data} = this.state\n\n const lastCalendar = data[data.length - 1]\n\n if (\n this.state.animate ||\n (isInteger(maxYear) &&\n maxYear === lastCalendar.displayYear &&\n lastCalendar.displayMonth === 11)\n )\n return\n\n this.switchMonth(\n data.map(({displayMonth, displayYear}) => {\n const nextMonth = displayMonth + 1\n\n if (nextMonth > 11)\n return {\n displayMonth: 0,\n displayYear: displayYear + 1\n }\n\n return {\n displayMonth: nextMonth,\n displayYear\n }\n })\n )\n }\n\n onClick = (event, day) => {\n const {range, value} = this.props\n\n const [numberFrom, numberTo] = [].concat(value).map(dateToNumber)\n\n if (range && numberFrom && !numberTo)\n if (day < numberFrom) this.setNewDates(event, [day, numberFrom])\n else this.setNewDates(event, [numberFrom, day])\n else this.setNewDates(event, [day])\n }\n\n renderCalendar(params) {\n const {\n className,\n style,\n variation,\n value,\n today,\n range,\n minYear,\n maxYear,\n minDate,\n maxDate,\n showYear,\n showMonthSwitch,\n highlightWeekend,\n onChange,\n classes,\n theme\n } = this.props\n\n const {\n key,\n data,\n dates,\n showRightMonthSwitch = true,\n showLeftMonthSwitch = true\n } = params\n\n const {animate} = this.state\n\n const {displayMonth, displayYear, last, first} = data\n\n const weeksBeforeVisible = Math.floor(dates.indexOf(first) / 7)\n const weeksAfterVisible = Math.ceil((dates.indexOf(last) + 1) / 7)\n const weeksVisible = 6 // максимальное кол-во недель, для того чтобы календарь не \"прыгал\"\n\n const numberToday = dateToNumber(today)\n const minNumberDate = minDate && dateToNumber(minDate)\n const maxNumberDate = maxDate && dateToNumber(maxDate)\n\n const [numberFrom, numberTo] = [].concat(value).map(dateToNumber)\n\n return (\n \n
\n {showMonthSwitch && (\n = toNumber(displayYear, displayMonth, 1)) &&\n 'disabled'\n }\n />\n )}\n\n
\n {theme.i18n.months[displayMonth] +\n (showYear ? ', ' + displayYear : '')}\n
\n\n {showMonthSwitch && (\n \n )}\n
\n\n
\n {theme.i18n.days.map((el, index) => (\n \n {el}\n
\n ))}\n \n\n \n \n {dates.map((number, index) => {\n const classNameDateday = classnames(classes.dateDay, {\n [classes.isActive]:\n number === numberFrom || (range && number === numberTo),\n [classes.isSelected]:\n range &&\n numberFrom &&\n numberTo &&\n number > numberFrom &&\n number < numberTo,\n [classes.isToday]: number === numberToday,\n [classes.isWeekend]:\n highlightWeekend &&\n ((index + 1) % 7 === 6 || (index + 1) % 7 === 0),\n [classes.isUnavailable]:\n number < minNumberDate ||\n number < first ||\n number > last ||\n number > maxNumberDate\n })\n\n if (\n index >= weeksBeforeVisible * 7 &&\n index < weeksAfterVisible * 7\n )\n return (\n maxNumberDate) &&\n 'disabled'\n }\n onClick={event => this.onClick(event, number)}>\n {number % 100}\n \n )\n\n return (\n \n {number % 100}\n \n )\n })}\n \n \n \n )\n }\n\n render() {\n const {visibleMonths} = this.props\n const {data, dates} = this.state\n\n if (visibleMonths && visibleMonths > 1) {\n const elements = []\n\n for (let i = 0; i < visibleMonths; i++) {\n const params = {\n key: i,\n data: data[i],\n dates: dates[i],\n showRightMonthSwitch: i === visibleMonths - 1,\n showLeftMonthSwitch: i === 0\n }\n\n elements.push(this.renderCalendar(params))\n }\n\n return elements\n }\n\n return this.renderCalendar({\n data: data[0],\n dates: dates[0]\n })\n }\n}\n\nexport default withStyles(styles, {name: 'Calendar'})(Calendar)\n",mdxType:"PropTypesTable"});function g(e){var t=e.components,n=c()(e,["components"]);return Object(i.b)(f,a()({},p,n,{components:t,mdxType:"MDXLayout"}),m,h,b,v)}g.isMDXComponent=!0},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var o=n(39);n.d(t,"createJss",(function(){return o.createJss})),n.d(t,"createSheetsRegistry",(function(){return o.createSheetsRegistry})),n.d(t,"createGenerateId",(function(){return o.createGenerateId})),n.d(t,"globalJss",(function(){return o.globalJss})),n.d(t,"globalSheetsRegistry",(function(){return o.globalSheetsRegistry})),n.d(t,"withTheme",(function(){return o.withTheme})),n.d(t,"useTheme",(function(){return o.useTheme}));var a=n(660);n.d(t,"ThemeProvider",(function(){return a.default}));var r=n(59);n.d(t,"withStyles",(function(){return r.default}));var c=n(231);n.d(t,"colors",(function(){return c.default}));var i=n(229);n.d(t,"i18n",(function(){return i.default}));var l=n(230);n.d(t,"createTheme",(function(){return l.default}))},,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var o=n(130);n.d(t,"default",(function(){return o.default}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var o=n(226);n.d(t,"default",(function(){return o.default}))},function(e,t,n){"use strict";n.r(t);var o=n(293);n.d(t,"default",(function(){return o.default}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var o=n(525);n.d(t,"default",(function(){return o.default}))},function(e,t,n){"use strict";n.r(t);var o=n(291);n.d(t,"default",(function(){return o.default}))},function(e,t,n){"use strict";n.r(t);var o=n(521);n.d(t,"default",(function(){return o.default}))},function(e,t,n){"use strict";n.r(t);var o=n(288);n.d(t,"default",(function(){return o.default}))},,function(e,t,n){"use strict";n.r(t);var o=n(524);n.d(t,"Menu",(function(){return o.default}));var a=n(519);n.d(t,"MenuItem",(function(){return a.default}))},,function(e,t,n){"use strict";n.r(t);var o=n(289);n.d(t,"FixedOverlay",(function(){return o.default}));var a=n(290);n.d(t,"RelativeOverlay",(function(){return a.default}))},function(e,t,n){"use strict";n.r(t);var o=n(292);n.d(t,"default",(function(){return o.default}))},,,function(e,t,n){"use strict";n.d(t,"e",(function(){return h})),n.d(t,"b",(function(){return b})),n.d(t,"d",(function(){return v})),n.d(t,"c",(function(){return g})),n.d(t,"a",(function(){return x})),n.d(t,"f",(function(){return y}));var o=n(0),a=n.n(o),r=n(750),c=n.n(r),i=n(854),l=n.n(i),s=n(857),u=n.n(s),d=n(660),p=document.body.style,f=document.documentElement.style,m=0;p.height=p.minHeight=f.height=f.minHeight="100%",c.a.configure({adapter:new l.a}),beforeEach((function(){u()()}));function h(e){return Object(r.mount)(e,{attachTo:(t=document.createElement("div"),t.className="test-container-".concat(m++),document.body.appendChild(t),t)});var t}function b(e){for(var t=getComputedStyle(e),n={},o=0;o0&&void 0!==arguments[0]?arguments[0]:{},t=e.fontWeight,n=void 0===t?400:t,o=e.lineHeight,a=(e.mobile,b()(e,["fontWeight","lineHeight","mobile"]));return m()({},a,{fontWeight:n,lineHeight:o&&o+"px"})},C=function(e){l()(n,e);var t=function(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}return function(){var n,o=p()(e);if(t()){var a=p()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return u()(this,n)}}(n);function n(){return a()(this,n),t.apply(this,arguments)}return c()(n,[{key:"render",value:function(){var e=this.props,t=e.tagName,n=e.className,o=e.classes,a=e.type,r=e.uppercase,c=e.children,i=(e.theme,b()(e,["tagName","className","classes","type","uppercase","children","theme"]));return Object(v.createElement)(t,m()({className:E()(n,o.reset,a&&o[a],r&&o.uppercase)},i),c)}}]),n}(v.PureComponent);C.propTypes={type:x.a.oneOf(["h1","h2","h3","text","quote","epigraph","source","timestamp","description","galleryDescription","photoSource","list"]),tagName:x.a.string,children:x.a.node,uppercase:x.a.bool},C.defaultProps={tagName:"div"},t.default=Object(j.default)((function(e){var t=e.typography;return{reset:k.isolateMixin,h1:m()({extend:O(t.h1),margin:"15px 0"},Object(k.ifMobile)({extend:O(t.h1.mobile)})),h2:m()({extend:O(t.h2),margin:"20px 0"},Object(k.ifMobile)({extend:O(t.h2.mobile)})),h3:m()({extend:O(t.h3),margin:"20px 0"},Object(k.ifMobile)({extend:O(t.h3.mobile)})),text:m()({extend:O(t.text),margin:"20px 0"},Object(k.ifMobile)({extend:O(t.text.mobile)})),quote:{extend:O(t.quote),margin:"30px 0",paddingLeft:37,borderLeft:"3px solid ".concat(t.quote.borderColor),"& p":{margin:0},"& p + p":{marginTop:20}},epigraph:{extend:O(t.epigraph),margin:"20px 0"},source:{composes:"$uppercase",extend:O(t.source)},timestamp:{extend:O(t.timestamp)},description:{extend:O(t.description),margin:"20px 0 25px"},galleryDescription:{extend:O(t.galleryDescription)},photoSource:{extend:O(t.photoSource)},list:{extend:O(t.text),position:"relative",margin:"30px 0",paddingLeft:40,listStyle:"none","& li + li":{marginTop:15},"& li:before":{position:"absolute",left:0},"ul& li:before":{content:'""',marginTop:9,width:10,height:10,borderRadius:"50%",background:t.list.bullet.color},"ol&":{counterReset:"order"},"ol& li:before":{extend:O(t.list.number),counterIncrement:"order",content:'counter(order)"."',color:t.list.number.color}},uppercase:{textTransform:"uppercase",letterSpacing:1.3/11+"em"}}}),{name:"Typography"})(C)},function(e,t,n){"use strict";n.r(t);var o=n(536);n.d(t,"default",(function(){return o.default}))},function(e,t,n){"use strict";n.r(t);var o=n(601);n.d(t,"default",(function(){return o.default}))},function(e,t,n){"use strict";n.r(t);var o=n(574);n.d(t,"AppleIcon",(function(){return o.default}));var a=n(228);n.d(t,"FacebookIcon",(function(){return a.default}));var r=n(575);n.d(t,"ChampionatIcon",(function(){return r.default}));var c=n(572);n.d(t,"GoogleIcon",(function(){return c.default}));var i=n(576);n.d(t,"InstagramIcon",(function(){return i.default}));var l=n(577);n.d(t,"LivejournalIcon",(function(){return l.default}));var s=n(578);n.d(t,"MailruIcon",(function(){return s.default}));var u=n(579);n.d(t,"OdnoklassnikiIcon",(function(){return u.default}));var d=n(580);n.d(t,"PgumosruIcon",(function(){return d.default}));var p=n(581);n.d(t,"RamblerIcon",(function(){return p.default}));var f=n(582);n.d(t,"SberbankIcon",(function(){return f.default}));var m=n(583);n.d(t,"TwitterIcon",(function(){return m.default}));var h=n(584);n.d(t,"VkontakteIcon",(function(){return h.default}));var b=n(603);n.d(t,"TelegramIcon",(function(){return b.default}));var v=n(604);n.d(t,"YoutubeIcon",(function(){return v.default}));var g=n(605);n.d(t,"RssIcon",(function(){return g.default}))},function(e,t,n){"use strict";n.r(t);var o=n(602);n.d(t,"RamblerAutoIcon",(function(){return o.default}));var a=n(539);n.d(t,"RamblerMailIcon",(function(){return a.default}));var r=n(606);n.d(t,"RamblerMoneyIcon",(function(){return r.default}));var c=n(607);n.d(t,"RamblerNewsIcon",(function(){return c.default}));var i=n(608);n.d(t,"RamblerFinanceIcon",(function(){return i.default}));var l=n(609);n.d(t,"RamblerSearchIcon",(function(){return l.default}));var s=n(610);n.d(t,"RamblerOrganizationsIcon",(function(){return s.default}));var u=n(611);n.d(t,"RamblerBrowserIcon",(function(){return u.default}));var d=n(612);n.d(t,"RamblerVideoIcon",(function(){return d.default}));var p=n(613);n.d(t,"RamblerHeadIcon",(function(){return p.default}));var f=n(614);n.d(t,"RamblerHelpIcon",(function(){return f.default}));var m=n(615);n.d(t,"RamblerHoroscopesIcon",(function(){return m.default}));var h=n(616);n.d(t,"RamblerSportIcon",(function(){return h.default}));var b=n(617);n.d(t,"RamblerTop100Icon",(function(){return b.default}));var v=n(618);n.d(t,"RamblerPicturesIcon",(function(){return v.default}));var g=n(619);n.d(t,"RamblerClassIcon",(function(){return g.default}));var x=n(620);n.d(t,"RamblerLiveIcon",(function(){return x.default}));var y=n(621);n.d(t,"RamblerTravelIcon",(function(){return y.default}));var E=n(622);n.d(t,"RamblerAfishaIcon",(function(){return E.default}));var j=n(623);n.d(t,"RamblerDoctorIcon",(function(){return j.default}));var k=n(624);n.d(t,"RamblerWomanIcon",(function(){return k.default}));var O=n(625);n.d(t,"RamblerLikesIcon",(function(){return O.default}));var C=n(626);n.d(t,"RamblerLoveIcon",(function(){return C.default}));var w=n(627);n.d(t,"RamblerKassaIcon",(function(){return w.default}));var S=n(628);n.d(t,"RamblerTVIcon",(function(){return S.default}));var I=n(629);n.d(t,"RamblerWeatherIcon",(function(){return I.default}));var q=n(630);n.d(t,"RamblerWeekendIcon",(function(){return q.default}));var N=n(631);n.d(t,"RamblerStarLifeIcon",(function(){return N.default}));var R=n(632);n.d(t,"RamblerPromoCodesIcon",(function(){return R.default}))},function(e,t,n){"use strict";n.r(t);var o=n(545);n.d(t,"default",(function(){return o.default}))},function(e,t,n){"use strict";n.r(t);var o=n(673);n.d(t,"TagsInput",(function(){return o.default}));var a=n(674);n.d(t,"TagsInputItem",(function(){return a.default}))},function(e,t,n){"use strict";n.r(t);var o=n(590);n.d(t,"default",(function(){return o.default}))},function(e,t,n){"use strict";n.r(t);var o=n(527);n.d(t,"default",(function(){return o.default}));var a=n(647);n.d(t,"H1",(function(){return a.default}));var r=n(648);n.d(t,"H2",(function(){return r.default}));var c=n(649);n.d(t,"H3",(function(){return c.default}));var i=n(650);n.d(t,"Text",(function(){return i.default}));var l=n(651);n.d(t,"Quote",(function(){return l.default}));var s=n(652);n.d(t,"Epigraph",(function(){return s.default}));var u=n(653);n.d(t,"Source",(function(){return u.default}));var d=n(654);n.d(t,"Timestamp",(function(){return d.default}));var p=n(655);n.d(t,"Description",(function(){return p.default}));var f=n(656);n.d(t,"GalleryDescription",(function(){return f.default}));var m=n(657);n.d(t,"PhotoSource",(function(){return m.default}));var h=n(658);n.d(t,"List",(function(){return h.default}))},,function(e,t,n){"use strict";n.r(t);var o=n(7),a=n.n(o),r=n(8),c=n.n(r),i=n(9),l=n.n(i),s=n(10),u=n.n(s),d=n(5),p=n.n(d),f=n(0),m=n.n(f),h=n(1),b=n.n(h),v=n(19),g=n.n(v),x=n(678),y=n(289),E=n(59),j=n(661),k=n(675);var O=j.ios||j.android,C=function(e){l()(n,e);var t=function(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}return function(){var n,o=p()(e);if(t()){var a=p()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return u()(this,n)}}(n);function n(){var e;a()(this,n);for(var o=arguments.length,r=new Array(o),c=0;c *":{flexGrow:1,width:"50%"},"& > * + *":b()({marginLeft:10},Object(P.ifDesktop)({marginLeft:20}))}}}),{name:"Popup"}))(M)},function(e,t,n){"use strict";n.r(t);var o=n(634);n.d(t,"SideNav",(function(){return o.default}));var a=n(635);n.d(t,"SideNavItem",(function(){return a.default}))},function(e,t,n){"use strict";n.r(t);var o=n(4),a=n.n(o),r=n(7),c=n.n(r),i=n(8),l=n.n(i),s=n(9),u=n.n(s),d=n(10),p=n.n(d),f=n(5),m=n.n(f),h=n(0),b=n.n(h),v=n(1),g=n.n(v),x=n(19),y=n.n(x),E=n(601),j=n(59),k=n(668),O=n(587);var C=function(e){u()(n,e);var t=function(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}return function(){var n,o=m()(e);if(t()){var a=m()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return p()(this,n)}}(n);function n(){return c()(this,n),t.apply(this,arguments)}return l()(n,[{key:"render",value:function(){var e=this.props,t=e.classes,n=e.sourceButtonsProps,o=e.serviceTooltipLabel,r=e.className,c=e.activeType,i=e.onSourceIconClick;return b.a.createElement("div",{className:y()(t.root,r)},b.a.createElement(E.default,{content:"Искать в интернете",className:y()(t.icon,"global"===c&&t.active)},b.a.createElement(k.default,a()({onClick:function(){return i("global")},color:"currentColor"},n("global"),{size:20}))),b.a.createElement(E.default,{content:o,className:y()(t.icon,"service"===c&&t.active)},b.a.createElement("div",null,b.a.createElement(O.default,a()({onClick:function(){return i("service")},color:"currentColor",size:20},n("service"))))))}}]),n}(h.PureComponent);C.propTypes={style:g.a.object,className:g.a.string,sourceButtonsProps:g.a.func,serviceTooltipLabel:g.a.string,onSourceIconClick:g.a.func,activeType:g.a.string},C.defaultProps={className:"",sourceButtonsProps:function(){return{}},serviceTooltipLabel:""},t.default=Object(j.default)((function(e){return{root:{display:"flex",alignItems:"center"},active:{},icon:{opacity:.5,transition:"opacity 0.2s, color 0.2s",color:e.search.input.default.icon,cursor:"pointer",marginRight:10,height:20,width:20,display:"inline-flex","&:last-child":{marginRight:0},"&:hover":{opacity:1,color:e.search.input.hover.icon},"&$active":{opacity:1}}}}),{name:"SourceButtons"})(C)},function(e,t,n){"use strict";n.r(t);var o=n(17),a=n.n(o),r=n(7),c=n.n(r),i=n(8),l=n.n(i),s=n(9),u=n.n(s),d=n(10),p=n.n(d),f=n(5),m=n.n(f),h=n(26),b=n.n(h),v=n(4),g=n.n(v),x=n(0),y=n.n(x),E=n(1),j=n.n(E),k=n(19),O=n.n(k),C=n(664),w=n(663),S=n(15),I=n(59),q=n(128);Object(q.subscribeFocusEvents)();var N=function(e){return{background:e.background,borderColor:e.border,color:e.tick}},R={fill:null,width:null,height:null},z=function(e){u()(n,e);var t=function(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}return function(){var n,o=m()(e);if(t()){var a=m()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return p()(this,n)}}(n);function n(){var e;c()(this,n);for(var o=arguments.length,a=new Array(o),r=0;r=75?[30,20,2]:e>=45?[20,15,1]:e>=30?[15,12,1]:[11,10,1]}(u),E=c()(g,3),j=E[0],k=E[1],w=E[2],S=j+"px",q=this.state.error&&s||i,N=v&&y.a.createElement("div",{className:m.profile,style:{backgroundColor:r||f.avatar.colors.iconBackground,boxShadow:"0 0 0 ".concat(w,"px ").concat(f.avatar.colors.profileBorder),width:S,height:S}},y.a.createElement(v,{size:k}));return Object(x.cloneElement)(Object(x.isValidElement)(h)?h:I,a()({},b,{style:a()({},n,{backgroundColor:o,width:u,height:u,backgroundImage:"url(".concat(q,")")}),className:O()(m.avatar,m[d],t)}),N)}}]),n}(x.PureComponent);q.propTypes={className:j.a.string,style:j.a.object,backgroundColor:j.a.string,iconBackgroundColor:j.a.string,src:j.a.string.isRequired,fallbackSrc:j.a.string,size:j.a.number,shape:j.a.oneOf(["circle","square","rounded"]),profileType:j.a.oneOf(["apple","facebook","championat","google","instagram","livejournal","mailru","odnoklassniki","pgumosru","rambler","sberbank","twitter","vkontakte"]),container:j.a.element},q.defaultProps={size:45,shape:"circle"},t.default=Object(w.default)((function(e){return{avatar:{extend:S.isolateMixin,position:"relative",display:"inline-block",verticalAlign:"middle",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",boxShadow:e.avatar.boxShadow},circle:{borderRadius:"50%","& $profile":{transform:"translate(2%, 2%)"}},rounded:{borderRadius:"7%"},profile:{extend:S.middleMixin,position:"absolute",right:0,bottom:0,transform:"translate(25%, 25%)",borderRadius:"100%",fontSize:0,textAlign:"center"}}}),{name:"Avatar"})(q)},function(e,t,n){"use strict";n.r(t);var o=n(641);n.d(t,"Toggle",(function(){return o.default}));var a=n(642);n.d(t,"ToggleOption",(function(){return a.default}))},function(e,t,n){"use strict";n.r(t);var o=n(643);n.d(t,"RadioButton",(function(){return o.default}));var a=n(644);n.d(t,"RadioButtonGroup",(function(){return a.default}))},function(e,t,n){"use strict";n.r(t);var o=n(645);n.d(t,"Step",(function(){return o.default}));var a=n(646);n.d(t,"Stepper",(function(){return a.default}))},function(e,t,n){"use strict";n.r(t);var o=n(17),a=n.n(o),r=n(7),c=n.n(r),i=n(8),l=n.n(i),s=n(9),u=n.n(s),d=n(10),p=n.n(d),f=n(5),m=n.n(f),h=n(4),b=n.n(h),v=n(0),g=n.n(v),x=n(1),y=n.n(x),E=n(19),j=n.n(E),k=n(59),O=n(15);var C=function(e){return{color:e.text,"& $switcher":{backgroundColor:e.background},"& $track":{backgroundColor:e.track}}},w=function(e){u()(n,e);var t=function(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}return function(){var n,o=m()(e);if(t()){var a=m()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return p()(this,n)}}(n);function n(){var e;c()(this,n);for(var o=arguments.length,a=new Array(o),r=0;r *":{flex:1,flexBasis:0},"& input":{"&, &:disabled, &:enabled:hover":{borderColor:"transparent",backgroundColor:"transparent"},"&:enabled:focus":{backgroundColor:"transparent"}},"& > :nth-child(n+2)":{marginLeft:-1},"&:before":{position:"absolute",top:0,left:0,right:0,bottom:0,border:"0 solid",borderColor:e.field.colors.default.outline,content:'""',transition:"all ".concat(e.field.animationDuration,"ms ease")},"&:not($disabled):hover:before":{borderColor:e.field.colors.hover.outline}},disabled:{"&:before":{borderColor:e.field.colors.disabled.outline}},regular:{backgroundColor:e.field.colors.default.background,"&$disabled":{backgroundColor:e.field.colors.disabled.background},"&:before":{borderRadius:e.field.borderRadius,borderWidth:1}},awesome:{composes:["$regular"]},promo:{"&:before":{paddingTop:1,borderBottomWidth:1}},showDivider:{"& > :not(:last-child) input":{borderRightColor:e.field.colors.default.outline},"&:hover > :not(:last-child) input":{borderRightColor:e.field.colors.hover.outline}}}}),{name:"FieldGroup"})(E)},function(e,t,n){"use strict";n.r(t);var o=n(4),a=n.n(o),r=n(17),c=n.n(r),i=n(7),l=n.n(i),s=n(8),u=n.n(s),d=n(9),p=n.n(d),f=n(10),m=n.n(f),h=n(5),b=n.n(h),v=n(0),g=n.n(v),x=n(1),y=n.n(x),E=n(19),j=n.n(E),k=n(59),O=n(15),C=n(55),w=n(601),S=n(536);var I=g.a.createElement("button",{type:"button",tabIndex:-1,disabled:!0}),q=g.a.createElement("button",{type:"button"}),N=function(){return q},R=function(e){return"number"==typeof e&&(0|e)===e},z=function(e){p()(n,e);var t=function(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}return function(){var n,o=b()(e);if(t()){var a=b()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return m()(this,n)}}(n);function n(){var e;l()(this,n);for(var o=arguments.length,a=new Array(o),r=0;r=l&&p<=s||p<=3&&a<=3||p>=u&&a>=u)&&d.push(p);return(d=d.reduce((function(e,t,n){var o=n>0?d[n-1]:null;return o&&o+1!==t?o+2===t?e.concat(t-1,t):e.concat("".concat(Math.round((o+t)/2)),t):e.concat(t)}),[])).map((function(t){var o=R(t),c=a===t;return Object(v.cloneElement)(e.pageContainer(t),{key:t,className:j()(n.page,c&&n.isSelected),onClick:r?function(n){return e.handleChange(n,+t)}:void 0},o?t:"...")}))}},{key:"renderLitePages",value:function(){var e=this.state.pageValue,t=this.props,n=t.classes,o=t.pagesCount,a=t.pageInputClassName,r=t.pageInputTooltip,c=t.theme;return[g.a.createElement(w.default,{key:0,content:r||c.i18n.pagination.tooltip,isOpened:!this.isPageValid},g.a.createElement(S.default,{variation:"regular",type:"text",size:"small",className:j()(a,n.inputSmall),status:this.isPageValid?null:"error",value:e,onBlur:this.handleInputChange,onChange:this.onInputChange,onKeyUp:this.handlePressKey})),g.a.createElement("span",{key:1,className:n.item},"из ",o)]}},{key:"renderArrow",value:function(e,t,n,o){var a=this.props,r=a.onChange,c=a.classes;return Object(v.cloneElement)(n?I:this.pageContainer(e),{onClick:r&&!n?this.handlePageChange:void 0,className:j()(t,n&&c.isDisabled),key:o},!n&&r?e:null)}},{key:"renderInput",value:function(){var e=this.state,t=e.pageValue,n=e.showInput,o=this.props,a=o.classes,r=o.pageInputClassName,c=o.pageInputLabelClassName,i=o.pageInputLabel,l=o.pageInputTooltip,s=o.theme;return g.a.createElement("div",{className:a.inputWrapper},n?g.a.createElement(w.default,{content:l||s.i18n.pagination.tooltip,isOpened:!this.isPageValid},g.a.createElement(S.default,{autoFocus:!0,variation:"regular",type:"text",size:"small",className:j()(r,a.input),status:this.isPageValid?null:"error",value:t,onBlur:this.handleInputChange,onChange:this.onInputChange,onKeyUp:this.handlePressKey})):g.a.createElement("span",{className:j()(c,a.label),onClick:this.showInput},i||s.i18n.pagination.label))}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.classes,o=e.currentPage,r=e.pagesCount,i=(e.pageContainer,e.onChange,e.theme,e.pageInputClassName,e.pageInputLabelClassName,e.pageInputLabel,e.pageInputTooltip,e.pagesInRange,e.showPageInput),l=e.type,s=c()(e,["className","classes","currentPage","pagesCount","pageContainer","onChange","theme","pageInputClassName","pageInputLabelClassName","pageInputLabel","pageInputTooltip","pagesInRange","showPageInput","type"]);if(!(r>1))return null;var u="input"===l?this.renderLitePages():this.renderPages(),d="select"===l&&i&&this.renderInput(),p=this.renderArrow(o-1,n.prevArrow,o<=1,"prev"),f=this.renderArrow(o+1,n.nextArrow,o>=r,"next");return g.a.createElement("div",a()({className:j()(t,n.root)},s),p,u,f,d)}},{key:"pageContainer",get:function(){return this.props.pageContainer||N}},{key:"isPageValid",get:function(){var e=this.state.pageValue;if(""===e)return!0;var t=this.props.pagesCount,n=+e;return R(n)&&n<=t&&n>0}}]),n}(v.Component);z.propTypes={pagesCount:y.a.number,currentPage:y.a.number,className:y.a.string,style:y.a.object,pageContainer:y.a.func,onChange:y.a.func,showPageInput:y.a.bool,pageInputClassName:y.a.string,pageInputLabel:y.a.string,pageInputLabelClassName:y.a.string,pageInputTooltip:y.a.string,pagesInRange:y.a.number,type:y.a.oneOf(["select","input"])},z.defaultProps={currentPage:1,showPageInput:!1,pagesInRange:5,type:"select"},t.default=Object(k.default)((function(e){return{root:{extend:O.isolateMixin,display:"inline-flex",flexWrap:"wrap",justifyContent:"center",fontFamily:e.fontFamily,userSelect:"none",color:e.pagination.colors.default.text,"&:hover $arrow":{opacity:1}},item:{extend:O.isolateMixin,display:"inline-block",flex:"none",height:e.pagination.size,lineHeight:e.pagination.size+"px",border:0,outline:"none !important",background:"none",fontSize:e.pagination.fontSize,whiteSpace:"nowrap",textAlign:"center",cursor:"default","button&::-moz-focus-inner":{border:"none !important",outline:"none !important"}},page:{composes:"$item",minWidth:e.pagination.size,padding:"0 5px",borderRadius:e.pagination.size/2,cursor:"pointer",background:e.pagination.colors.default.background,transitionDuration:e.tabs.animationDuration,transitionProperty:"color, background-color","&&":{color:e.pagination.colors.default.text,fontWeight:400},"&$isSelected":{color:e.pagination.colors.selected.text,fontWeight:500,backgroundColor:e.pagination.colors.selected.background},"&:focus":{color:e.pagination.colors.focus.text},"&:hover":{color:e.pagination.colors.hover.text},"&:active":{color:e.pagination.colors.active.text,background:e.pagination.colors.active.background},"&$isDisabled":{color:e.pagination.colors.disabled.text,background:"none"}},arrow:{composes:"$item",position:"relative",width:e.pagination.size,cursor:"pointer",overflow:"hidden",paddingLeft:e.pagination.size,opacity:0,"&&":{transitionDuration:e.tabs.animationDuration,transitionProperty:"fill, opacity",color:e.pagination.colors.default.arrow},"&&:focus":{color:e.pagination.colors.focus.arrow},"&&:hover":{color:e.pagination.colors.hover.arrow},"&&:active":{color:e.pagination.colors.active.arrow},"&$isDisabled":{color:e.pagination.colors.disabled.arrow+"!important"},"&:before":{boxSizing:"border-box",position:"absolute",top:6,left:13,content:'""',width:11,height:11,border:"solid",borderWidth:"0 0 2px 2px",transform:"rotate(45deg)",transformOrigin:"left bottom"}},prevArrow:{composes:"$arrow",marginRight:7},nextArrow:{composes:"$arrow",marginLeft:7,transform:"scaleX(-1)"},isDisabled:{cursor:"not-allowed"},isSelected:{},inputWrapper:{paddingLeft:20},input:{width:76},inputSmall:{width:45,marginRight:10},label:{fontSize:e.pagination.fontSize,lineHeight:e.pagination.size+"px",cursor:"pointer",color:e.pagination.colors.label.default,transitionDuration:e.tabs.animationDuration,transitionProperty:"color","&:hover, &:focus":{color:e.pagination.colors.label.hover}}}}),{name:"Pagination"})(z)},function(e,t,n){"use strict";n.r(t);var o=n(118),a=n.n(o),r=n(7),c=n.n(r),i=n(8),l=n.n(i),s=n(9),u=n.n(s),d=n(10),p=n.n(d),f=n(5),m=n.n(f),h=n(4),b=n.n(h),v=n(0),g=n.n(v),x=n(1),y=n.n(x),E=n(19),j=n.n(E),k=n(59),O=n(15),C=n(128);Object(C.subscribeFocusEvents)();var w=function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},S=function(e,t,n){return 1e4*e+100*t+n},I=function(e){return e instanceof Date?S(e.getFullYear(),e.getMonth(),e.getDate()):null},q=function(e){return new Date(Math.floor(e/1e4),Math.floor(e%1e4/100),e%100)},N=function(e){u()(n,e);var t=function(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}return function(){var n,o=m()(e);if(t()){var a=m()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return p()(this,n)}}(n);function n(){var e;c()(this,n);for(var o=arguments.length,r=new Array(o),i=0;i11?{displayMonth:0,displayYear:n+1}:{displayMonth:o,displayYear:n}})))},e.onClick=function(t,n){var o=e.props,r=o.range,c=o.value,i=[].concat(c).map(I),l=a()(i,2),s=l[0],u=l[1];r&&s&&!u?n=0;r--){var c=o-r,i=a;c<0&&(i-=Math.ceil(Math.abs(c/12)),c=(12+c%12)%12),t.push({displayMonth:c,displayYear:i})}return this.calculateDates(t)}},{key:"switchMonth",value:function(e){var t=this,n=this.calculateDates(e),o=n.data,a=n.dates;this.setState({animate:!0,data:o},(function(){setTimeout((function(){t.setState({dates:a,animate:!1})}),210)}))}},{key:"calculateDates",value:function(e){for(var t=this.props,n=t.showMonthSwitch,o=t.visibleMonths,a=n,r=[],c=[],i=0;i<(o||1);i++){var l=e[i].displayMonth,s=a?[l-2,l-1,l,l+1,l+2]:[l-1,l,l+1],u=this.getMonthDates({months:s,displayData:e[i]}),d=u.meta,p=u.dates;c.push(p),r.push(d)}return{data:r,dates:c}}},{key:"getMonthDates",value:function(e){var t,n,o=e.months,a=e.displayData,r=a.displayYear,c=a.displayMonth,i=[];return o.forEach((function(e,a){var l=e,s=r;e<0?(l=e+12,s--):e>11&&(l=e-12,s++);var u=1,d=new Date(s,l+1,0).getDate();0===a?u=d-(new Date(s,l+1,1).getDay()||7)+2:a===o.length-1&&(d=8-(new Date(s,l,1).getDay()||7)+7),l===c&&(t=S(s,l,1),n=S(s,l,d));for(var p=u;p<=d;p++)i.push(S(s,l,p))})),{meta:{displayMonth:c,displayYear:r,first:t,last:n},dates:i}}},{key:"setNewDates",value:function(e,t){var n=a()(t,2),o=n[0],r=n[1],c=void 0===r?null:r,i=this.props,l=i.range,s=i.onChange,u=o&&q(o),d=c&&q(c);"function"==typeof s&&s(e,l?[u,d]:u)}},{key:"renderCalendar",value:function(e){var t=this,n=this.props,o=n.className,r=n.style,c=n.variation,i=n.value,l=n.today,s=n.range,u=n.minYear,d=n.maxYear,p=n.minDate,f=n.maxDate,m=n.showYear,h=n.showMonthSwitch,b=n.highlightWeekend,v=n.onChange,x=n.classes,y=n.theme,E=e.key,k=e.data,O=e.dates,C=e.showRightMonthSwitch,q=void 0===C||C,N=e.showLeftMonthSwitch,R=void 0===N||N,z=this.state.animate,P=k.displayMonth,T=k.displayYear,B=k.last,D=k.first,M=Math.floor(O.indexOf(D)/7),L=Math.ceil((O.indexOf(B)+1)/7),A=I(l),H=p&&I(p),F=f&&I(f),W=[].concat(i).map(I),$=a()(W,2),V=$[0],Y=$[1];return g.a.createElement("div",{key:E,className:j()(o,x.root,z&&x.isAnimate,"function"==typeof v&&x.isSelectable,"media"===c&&x.isMedia),style:r},g.a.createElement("div",{className:x.headline},h&&g.a.createElement("button",{className:j()(x.prev,!R&&x.arrowMock),type:"button",tabIndex:-1,onClick:this.onPrev,disabled:(w(u)&&u===T&&0===P||H>=S(T,P,1))&&"disabled"}),g.a.createElement("div",{className:x.month},y.i18n.months[P]+(m?", "+T:"")),h&&g.a.createElement("button",{className:j()(x.next,!q&&x.arrowMock),type:"button",tabIndex:-1,onClick:this.onNext,disabled:(w(d)&&d===T&&11===P||F<=S(T,P,31))&&"disabled"})),g.a.createElement("div",{className:x.week},y.i18n.days.map((function(e,t){return g.a.createElement("div",{key:t,className:j()(x.weekDay,b&&(5===t||6===t)&&x.isWeekend)},e)}))),g.a.createElement("div",{className:x.days,style:{height:6*y.calendar.size}},g.a.createElement("div",{className:x.daysWrap,style:{transform:"translateY(".concat(-1*y.calendar.size*M,"px)")}},O.map((function(e,n){var o=j()(x.dateDay,(e===V||s&&e===Y)&&x.isActive,(eB||e>F)&&x.isUnavailable,s&&V&&Y&&e>V&&e=7*M&&n<7*L?g.a.createElement("button",{key:e,className:o,type:"button",tabIndex:0,disabled:(eF)&&"disabled",onClick:function(n){return t.onClick(n,e)}},e%100):g.a.createElement("span",{key:e,className:o},e%100)})))))}},{key:"render",value:function(){var e=this.props.visibleMonths,t=this.state,n=t.data,o=t.dates;if(e&&e>1){for(var a=[],r=0;r");var o="value"in t.props,r=o&&t.props.value===e.state.value;return Object(v.cloneElement)(t,a()({size:n,isSelected:r},o&&{onPress:e.onValueChange}))})),d=j()(l.sideNav,i,o&&l.block);return g.a.createElement("div",a()({},s,{className:d}),u)}}]),n}(v.Component);C.propTypes={className:y.a.string,style:y.a.object,children:y.a.node,size:y.a.oneOf(["small","medium"]),value:y.a.any,block:y.a.bool,onChange:y.a.func},C.defaultProps={value:null,block:!1,size:"medium"},t.default=Object(k.default)((function(e){return{sideNav:{extend:O.isolateMixin,fontFamily:e.fontFamily,display:"inline-block"},block:{display:"block"}}}),{name:"SideNav"})(C)},function(e,t,n){"use strict";n.r(t);var o=n(17),a=n.n(o),r=n(4),c=n.n(r),i=n(7),l=n.n(i),s=n(8),u=n.n(s),d=n(9),p=n.n(d),f=n(10),m=n.n(f),h=n(5),b=n.n(h),v=n(0),g=n.n(v),x=n(1),y=n.n(x),E=n(19),j=n.n(E),k=n(59),O=n(15);var C=g.a.createElement("div",null),w=function(e){p()(n,e);var t=function(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}return function(){var n,o=b()(e);if(t()){var a=b()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return m()(this,n)}}(n);function n(){var e;l()(this,n);for(var o=arguments.length,a=new Array(o),r=0;r1&&void 0!==arguments[1]?arguments[1]:{};e.props.onSearch(t,n),e.setHighlightedId(null),e.openDropdown()},e.clearForm=function(t){e.setHighlightedId(null),e.closeDropdown(),e.props.clearForm(t)},e.onKeyDown=function(t){if(e.inputNode){e.initializeSortedSuggestItems();var n,o=e.highlightedSuggestItemId?e.sortedSuggestItems.indexOf(e.highlightedSuggestItemId):null,a=e.sortedSuggestItems.length;switch(t.key){case"ArrowDown":a>0&&(t.preventDefault(),n=e.sortedSuggestItems[o+1>=a||null===o?0:o+1],e.setHighlightedId(n),e.props.onSelectItem(e.suggestItems[n].props.value));break;case"ArrowUp":a>0&&(t.preventDefault(),n=e.sortedSuggestItems[o-1<0||null===o?a-1:o-1],e.setHighlightedId(n),e.props.onSelectItem(e.suggestItems[n].props.value));break;case"Escape":t.preventDefault(),e.closeDropdown()}e.props.onKeyDown(t)}},e.setNode=function(t){return function(n){e["".concat(t,"Node")]=n,e.props.setNode&&e.props.setNode(t)(n),e.setRootNode&&"root"===t&&e.setRootNode(n)}},e.onClickOutside=function(t){e.rootNode&&t.target&&e.isNodeNotInComponent(t.target)&&e.closeDropdown()},e.onBlur=function(t){e.rootNode&&t.relatedTarget&&e.isNodeNotInComponent(t.relatedTarget)&&e.closeDropdown(),e.props.onBlur()},e.renderDropdown=function(t){var n=e.props,o=n.children,a=n.appendToBody,r=n.autoPositionY,c=n.dropdownStyle,i=n.dropdownClassName;return b.a.createElement(E.default,{isOpened:e.state.isDropdownOpened&&h.Children.count(o)>0,anchor:t,className:i,appendToBody:a,autoPositionY:r,style:c},b.a.createElement("div",{ref:e.setNode("suggest")},o))},e}return l()(o,[{key:"componentWillUnmount",value:function(){this.events.removeAllListeners()}},{key:"initializeSortedSuggestItems",value:function(){if(this.suggestNode){var e=this.suggestNode.querySelectorAll("[data-suggest-item-id]");this.sortedSuggestItems=Array.prototype.slice.call(e).map((function(e){return e.getAttribute("data-suggest-item-id")}))}else this.sortedSuggestItems=[]}},{key:"openDropdown",value:function(){this.setState({isDropdownOpened:!0})}},{key:"closeDropdown",value:function(){this.setState({isDropdownOpened:!1})}},{key:"isNodeNotInComponent",value:function(e){return this.props.appendToBody?(!this.suggestNode||this.suggestNode!==e&&!this.suggestNode.contains(e))&&this.rootNode!==e&&!this.rootNode.contains(e):!this.rootNode.contains(e)}},{key:"render",value:function(){var t=this,n=this.state.isDropdownOpened;return b.a.createElement(O.ProvideSearchDropdownContext.Provider,{value:this.contextValue},b.a.createElement(j.default,{handler:this.onClickOutside},(function(o){return t.setRootNode=o,b.a.createElement(e,a()({},t.props,{isDropdownOpened:n,renderDropdown:t.renderDropdown,clearForm:t.clearForm,setNode:t.setNode,onBlur:t.onBlur,onFocus:t.onFocus,onKeyDown:t.onKeyDown,onSearch:t.props.onSearch,setHighlightedId:t.setHighlightedId}))})))}},{key:"contextValue",get:function(){return{events:this.events,registerSuggestItem:this.registerSuggestItem,onRemoveSuggestItemClick:this.onRemoveSuggestItemClick,onSuggestItemClick:this.onSuggestItemClick,onSuggestItemHover:this.onSuggestItemHover,setHighlightedId:this.setHighlightedId}}}]),o}(h.PureComponent),t.displayName="provideSearchDropdown(".concat(Object(k.default)(e),")"),t.propTypes={appendToBody:g.a.bool,autoPositionY:g.a.bool,children:g.a.node,dropdownStyle:g.a.object,dropdownClassName:g.a.string,setNode:g.a.func,clearForm:g.a.func,onSearch:g.a.func,onFocus:g.a.func,onBlur:g.a.func,onSelectItem:g.a.func,onClickItem:g.a.func,onRemoveItem:g.a.func,onHoverItem:g.a.func,onSubmit:g.a.func,onKeyDown:g.a.func,onPressEnter:g.a.func},t.defaultProps={value:"",placeholder:"",division:null,appendToBody:!0,autoPositionY:!1,searchButton:null,searchButtonStyle:{},searchButtonClassName:"",inputProps:{},searchButtonProps:{},sourceButtonsProps:function(){return{}},sourceType:!1,onSearch:function(){},onFocus:function(){},onBlur:function(){},onSelectItem:function(){},onClickItem:function(){},onRemoveItem:function(){},onHoverItem:function(){},onSubmit:function(){},onPressEnter:function(){}},n}},function(e,t,n){"use strict";n.r(t),n.d(t,"ProvideSearchDropdownContext",(function(){return a}));var o=n(0),a=Object(o.createContext)({})},function(e,t,n){"use strict";n.r(t);var o=n(17),a=n.n(o),r=n(7),c=n.n(r),i=n(8),l=n.n(i),s=n(9),u=n.n(s),d=n(10),p=n.n(d),f=n(5),m=n.n(f),h=n(26),b=n.n(h),v=n(4),g=n.n(v),x=n(0),y=n.n(x),E=n(1),j=n.n(E),k=n(19),O=n.n(k),C=n(59),w=n(15),S=n(600),I=n(55);var q=function(e){u()(n,e);var t=function(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}return function(){var n,o=m()(e);if(t()){var a=m()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return p()(this,n)}}(n);function n(){var e;c()(this,n);for(var o=arguments.length,a=new Array(o),r=0;r");var a=t.props,i=a.className,s=a.value,d="value"in t.props;return Object(x.cloneElement)(t,{className:O()(i,l.item),key:void 0!==t.key?t.key:"string"==typeof s||"number"==typeof s?s:u++,isSelected:d&&t.props.value===e.state.value,onKeyUp:d&&!c?e.onKeyUp:null,onPress:d&&!c?e.handleValueChange:null,size:o,disabled:c,position:r,tabIndex:n?-1:0})}));return y.a.createElement(S.TabsContext.Provider,{value:this.contextValue},y.a.createElement("div",g()({},s,{role:"tablist",ref:this.tabsRef},c&&{"aria-disabled":!0},{className:O()(i,l.tabs,l["size-".concat(o)],l["position-".concat(r)],c&&l.isDisabled)}),d))}},{key:"contextValue",get:function(){return{position:this.props.position}}}]),n}(x.Component);q.propTypes={value:j.a.any,className:j.a.string,style:j.a.object,children:j.a.node,size:j.a.oneOf(["small","medium"]),position:j.a.oneOf(["top","bottom"]),disabled:j.a.bool,onChange:j.a.func},q.defaultProps={size:"small",position:"top",disabled:!1},t.default=Object(C.default)((function(e){return g()({tabs:{extend:w.isolateMixin,display:"inline-flex",fontFamily:e.tabs.fontFamily,paddingLeft:e.tabs.sidePadding,paddingRight:e.tabs.sidePadding},"position-top":{boxShadow:"inset 0 -1px 0px ".concat(e.tabs.colors.default.outline)},"position-bottom":{boxShadow:"inset 0 1px 0px ".concat(e.tabs.colors.default.outline)},item:{"&&":{flex:"none"}}},["small","medium"].reduce((function(t,n){return g()({},t,b()({},"size-".concat(n),{"& $item:nth-child(1n+2)":{marginLeft:e.tabs.sizes[n].horizontalGap}}))}),{}),{isDisabled:{cursor:"not-allowed"}})}),{name:"Tabs"})(q)},function(e,t,n){"use strict";n.r(t);var o=n(17),a=n.n(o),r=n(7),c=n.n(r),i=n(8),l=n.n(i),s=n(48),u=n.n(s),d=n(9),p=n.n(d),f=n(10),m=n.n(f),h=n(5),b=n.n(h),v=n(26),g=n.n(v),x=n(4),y=n.n(x),E=n(0),j=n.n(E),k=n(1),O=n.n(k),C=n(19),w=n.n(C),S=n(59),I=n(15),q=n(128),N=n(600);Object(q.subscribeFocusEvents)();var R=function(e){return{borderColor:e.border,color:e.text,textDecoration:e.textDecoration}},z=function(e){p()(n,e);var t=function(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}return function(){var n,o=b()(e);if(t()){var a=b()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return m()(this,n)}}(n);function n(){var e;c()(this,n);for(var o=arguments.length,a=new Array(o),r=0;r");var n=t.props.value,a=n===e.state.value;return Object(v.cloneElement)(t,{size:o,disabled:l,isSelected:a,"aria-pressed":a,key:void 0!==t.key?t.key:"string"==typeof n||"number"==typeof n?n:f++,onPress:e.onValueChange,nodeRef:e.shouldCalcMinWidth()?e.addElement:null,className:j()(d.option,t.props.className,a&&d.isSelected),style:b()({},t.props.style,{minWidth:e.state.minWidth})})})),h=j()(u,d.toggle,d["behavior-".concat(i)],d[s],r&&d.block,c&&d.equalWidth);return g.a.createElement("div",b()({},p,{className:h}),m)}}]),n}(v.Component);S.propTypes={value:y.a.any,onChange:y.a.func,className:y.a.string,style:y.a.object,children:y.a.node,size:y.a.oneOf(["small","medium"]),behavior:y.a.oneOf(["radio","toggle"]),block:y.a.bool,equalWidth:y.a.bool,disabled:y.a.bool,variation:y.a.oneOf(["regular","transparent"])},S.defaultProps={value:null,size:"small",behavior:"radio",block:!1,equalWidth:!1,disabled:!1,variation:"regular"},t.default=Object(k.default)((function(e){return{toggle:{extend:C.isolateMixin,fontFamily:e.fontFamily,display:"inline-block","&$block":{display:"flex"},"&, & *":{transitionDuration:e.toggle.animationDuration+"ms",transitionProperty:"background, opacity, border, box-shadow, border-color"}},option:{"&&":{fontFamily:e.fontFamily,textAlign:"center",borderStyle:"solid",color:e.toggle.colors.default.text,borderWidth:e.toggle.borderWidth,borderColor:e.toggle.colors.default.border,background:e.toggle.colors.default.background,cursor:"pointer",userSelect:"none",position:"relative",display:"inline-block",marginLeft:-1},"&:first-child":b()({marginLeft:0},!e.toggle.margin&&{borderTopLeftRadius:e.toggle.borderRadius,borderBottomLeftRadius:e.toggle.borderRadius}),"&:last-child":b()({},!e.toggle.margin&&{borderWidth:e.toggle.borderWidth,borderTopRightRadius:e.toggle.borderRadius,borderBottomRightRadius:e.toggle.borderRadius}),"&:enabled:hover":{zIndex:1},"&:active":{zIndex:1},"&:disabled":{color:e.toggle.colors.disabled.text,cursor:"not-allowed"}},isSelected:{zIndex:2,"&:enabled:hover":{zIndex:3}},regular:b()({"& $option:disabled":{borderColor:e.toggle.colors.disabled.border,background:e.toggle.colors.disabled.background,color:e.toggle.colors.disabled.text},"& $option:enabled:hover":{"&:not($isSelected):not(:active)":{background:e.toggle.colors.hover.background,borderColor:e.toggle.colors.hover.border,color:e.toggle.colors.hover.text}}},Object(C.focusSourceMixin)("other","& $option:focus",{color:e.toggle.colors.focus.text}),{"& $option:active":{"&:not(:disabled):not($isSelected)":{color:e.toggle.colors.active.text,background:e.toggle.colors.active.background,borderColor:e.toggle.colors.active.border}},"& $isSelected:enabled":{borderColor:e.toggle.colors.checked.border,color:e.toggle.colors.checked.text,background:e.toggle.colors.checked.background},"& $isSelected:enabled:hover":{"&:not(:active)":{borderColor:e.toggle.colors.checkedHover.border,background:e.toggle.colors.checkedHover.background,color:e.toggle.colors.checkedHover.text}},"& $isSelected:disabled":{background:e.toggle.colors.checkedDisabled.background,borderColor:e.toggle.colors.checkedDisabled.border,color:e.toggle.colors.checkedDisabled.text}}),transparent:b()({"& $isSelected":{background:e.toggle.transparentColors.checked.background},"& $option:enabled:hover":{background:e.toggle.transparentColors.hover.background}},Object(C.focusSourceMixin)("other","& $option:focus",{color:e.toggle.colors.focus.text}),{"& $option:disabled":{borderColor:e.toggle.transparentColors.disabled.border}}),block:{flexDirection:"row",flexWrap:"nowrap"},equalWidth:{"& $option":{flex:1,flexBasis:0}},"behavior-radio":{"& $isSelected:enabled":{cursor:"default"}}}}),{name:"Toggle"})(S)},function(e,t,n){"use strict";n.r(t);var o=n(17),a=n.n(o),r=n(7),c=n.n(r),i=n(8),l=n.n(i),s=n(9),u=n.n(s),d=n(10),p=n.n(d),f=n(5),m=n.n(f),h=n(4),b=n.n(h),v=n(0),g=n.n(v),x=n(1),y=n.n(x),E=n(19),j=n.n(E),k=n(59),O=n(15);var C=function(e){u()(n,e);var t=function(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}return function(){var n,o=m()(e);if(t()){var a=m()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return p()(this,n)}}(n);function n(){var e;c()(this,n);for(var o=arguments.length,a=new Array(o),r=0;r");var r=a===o,c=ao,l=b()({},n.props),s={active:r,completed:c,disabled:i,value:a,key:void 0!==n.key?n.key:a,onClick:e.onChange};return Object.keys(s).forEach((function(e){l.hasOwnProperty(e)||(l[e]=s[e])})),t.push(Object(v.cloneElement)(n,l)),t}),[]);return g.a.createElement("div",b()({},i,{className:y()(r,c.stepper)}),l)}}]),n}(v.PureComponent);w.propTypes={value:j.a.number.isRequired,onChange:j.a.func.isRequired,className:j.a.string,style:j.a.object,children:j.a.node},w.defaultProps={style:{}},t.default=Object(O.default)(C,{name:"Stepper"})(w)},function(e,t,n){"use strict";n.r(t);var o=n(4),a=n.n(o),r=n(0),c=n.n(r),i=n(527);t.default=function(e){return c.a.createElement(i.default,a()({tagName:"h1"},e,{type:"h1"}))}},function(e,t,n){"use strict";n.r(t);var o=n(4),a=n.n(o),r=n(0),c=n.n(r),i=n(527);t.default=function(e){return c.a.createElement(i.default,a()({tagName:"h2"},e,{type:"h2"}))}},function(e,t,n){"use strict";n.r(t);var o=n(4),a=n.n(o),r=n(0),c=n.n(r),i=n(527);t.default=function(e){return c.a.createElement(i.default,a()({tagName:"h3"},e,{type:"h3"}))}},function(e,t,n){"use strict";n.r(t);var o=n(4),a=n.n(o),r=n(0),c=n.n(r),i=n(527);t.default=function(e){return c.a.createElement(i.default,a()({tagName:"p"},e,{type:"text"}))}},function(e,t,n){"use strict";n.r(t);var o=n(4),a=n.n(o),r=n(0),c=n.n(r),i=n(527);t.default=function(e){return c.a.createElement(i.default,a()({tagName:"blockquote"},e,{type:"quote"}))}},function(e,t,n){"use strict";n.r(t);var o=n(4),a=n.n(o),r=n(0),c=n.n(r),i=n(527);t.default=function(e){return c.a.createElement(i.default,a()({tagName:"div"},e,{type:"epigraph"}))}},function(e,t,n){"use strict";n.r(t);var o=n(4),a=n.n(o),r=n(0),c=n.n(r),i=n(527);t.default=function(e){return c.a.createElement(i.default,a()({tagName:"span"},e,{type:"source"}))}},function(e,t,n){"use strict";n.r(t);var o=n(4),a=n.n(o),r=n(0),c=n.n(r),i=n(527);t.default=function(e){return c.a.createElement(i.default,a()({tagName:"time"},e,{type:"timestamp"}))}},function(e,t,n){"use strict";n.r(t);var o=n(4),a=n.n(o),r=n(0),c=n.n(r),i=n(527);t.default=function(e){return c.a.createElement(i.default,a()({tagName:"div"},e,{type:"description"}))}},function(e,t,n){"use strict";n.r(t);var o=n(4),a=n.n(o),r=n(0),c=n.n(r),i=n(527);t.default=function(e){return c.a.createElement(i.default,a()({tagName:"div"},e,{type:"galleryDescription"}))}},function(e,t,n){"use strict";n.r(t);var o=n(4),a=n.n(o),r=n(0),c=n.n(r),i=n(527);t.default=function(e){return c.a.createElement(i.default,a()({tagName:"span"},e,{type:"photoSource"}))}},function(e,t,n){"use strict";n.r(t);var o=n(4),a=n.n(o),r=n(17),c=n.n(r),i=n(0),l=n.n(i),s=n(1),u=n.n(s),d=n(527),p=function(e){var t=e.numbered,n=c()(e,["numbered"]);return l.a.createElement(d.default,a()({},n,{tagName:t?"ol":"ul",type:"list"}))};p.propTypes={numbered:u.a.bool},t.default=p},function(e,t,n){"use strict";n.r(t);var o=n(540);n.d(t,"EmailIcon",(function(){return o.EmailIcon})),n.d(t,"EmailReadIcon",(function(){return o.EmailReadIcon})),n.d(t,"EmailDoneIcon",(function(){return o.EmailDoneIcon})),n.d(t,"FolderIcon",(function(){return o.FolderIcon})),n.d(t,"SendIcon",(function(){return o.SendIcon})),n.d(t,"DraftIcon",(function(){return o.DraftIcon})),n.d(t,"SettingsIcon",(function(){return o.SettingsIcon})),n.d(t,"NotebookIcon",(function(){return o.NotebookIcon})),n.d(t,"RobotIcon",(function(){return o.RobotIcon})),n.d(t,"BookIcon",(function(){return o.BookIcon})),n.d(t,"KeyboardIcon",(function(){return o.KeyboardIcon})),n.d(t,"PhoneIcon",(function(){return o.PhoneIcon})),n.d(t,"AuthenticatorIcon",(function(){return o.AuthenticatorIcon})),n.d(t,"CreditCardIcon",(function(){return o.CreditCardIcon})),n.d(t,"PrintIcon",(function(){return o.PrintIcon})),n.d(t,"ArchiveIcon",(function(){return o.ArchiveIcon})),n.d(t,"SaveIcon",(function(){return o.SaveIcon})),n.d(t,"AttachIcon",(function(){return o.AttachIcon})),n.d(t,"EditIcon",(function(){return o.EditIcon})),n.d(t,"CalendarIcon",(function(){return o.CalendarIcon})),n.d(t,"PhotoCameraIcon",(function(){return o.PhotoCameraIcon})),n.d(t,"CodeIcon",(function(){return o.CodeIcon})),n.d(t,"NotificationIcon",(function(){return o.NotificationIcon})),n.d(t,"RemoveIcon",(function(){return o.RemoveIcon})),n.d(t,"PercentIcon",(function(){return o.PercentIcon})),n.d(t,"GridIcon",(function(){return o.GridIcon})),n.d(t,"MoveIcon",(function(){return o.MoveIcon})),n.d(t,"EllipsisIcon",(function(){return o.EllipsisIcon})),n.d(t,"LoadIcon",(function(){return o.LoadIcon})),n.d(t,"ShareIcon",(function(){return o.ShareIcon})),n.d(t,"GroupIcon",(function(){return o.GroupIcon})),n.d(t,"GroupAddIcon",(function(){return o.GroupAddIcon})),n.d(t,"HistoryIcon",(function(){return o.HistoryIcon})),n.d(t,"ChevronLeftIcon",(function(){return o.ChevronLeftIcon})),n.d(t,"ChevronRightIcon",(function(){return o.ChevronRightIcon})),n.d(t,"ChevronLeftCompactIcon",(function(){return o.ChevronLeftCompactIcon})),n.d(t,"ChevronRightCompactIcon",(function(){return o.ChevronRightCompactIcon})),n.d(t,"ChevronDownIcon",(function(){return o.ChevronDownIcon})),n.d(t,"ChevronUpIcon",(function(){return o.ChevronUpIcon})),n.d(t,"ChevronDownCompactIcon",(function(){return o.ChevronDownCompactIcon})),n.d(t,"ChevronUpCompactIcon",(function(){return o.ChevronUpCompactIcon})),n.d(t,"LoginIcon",(function(){return o.LoginIcon})),n.d(t,"LogoutIcon",(function(){return o.LogoutIcon})),n.d(t,"FullscreenIcon",(function(){return o.FullscreenIcon})),n.d(t,"FullscreenExitIcon",(function(){return o.FullscreenExitIcon})),n.d(t,"PlusIcon",(function(){return o.PlusIcon})),n.d(t,"AddIcon",(function(){return o.AddIcon})),n.d(t,"MinusIcon",(function(){return o.MinusIcon})),n.d(t,"PlusCompactIcon",(function(){return o.PlusCompactIcon})),n.d(t,"MinusCompactIcon",(function(){return o.MinusCompactIcon})),n.d(t,"CaretDownIcon",(function(){return o.CaretDownIcon})),n.d(t,"CaretUpIcon",(function(){return o.CaretUpIcon})),n.d(t,"EyeIcon",(function(){return o.EyeIcon})),n.d(t,"ClosedEyeIcon",(function(){return o.ClosedEyeIcon})),n.d(t,"LockFillIcon",(function(){return o.LockFillIcon})),n.d(t,"LockIcon",(function(){return o.LockIcon})),n.d(t,"LockOutlineIcon",(function(){return o.LockOutlineIcon})),n.d(t,"LockOpenIcon",(function(){return o.LockOpenIcon})),n.d(t,"BlockIcon",(function(){return o.BlockIcon})),n.d(t,"SmileIcon",(function(){return o.SmileIcon})),n.d(t,"StickerIcon",(function(){return o.StickerIcon})),n.d(t,"IdeaIcon",(function(){return o.IdeaIcon})),n.d(t,"CommentIcon",(function(){return o.CommentIcon})),n.d(t,"CommentWriteIcon",(function(){return o.CommentWriteIcon})),n.d(t,"InfoIcon",(function(){return o.InfoIcon})),n.d(t,"QuestionIcon",(function(){return o.QuestionIcon})),n.d(t,"AttentionIcon",(function(){return o.AttentionIcon})),n.d(t,"ClockIcon",(function(){return o.ClockIcon})),n.d(t,"ConfigIcon",(function(){return o.ConfigIcon})),n.d(t,"RefreshIcon",(function(){return o.RefreshIcon})),n.d(t,"UndoIcon",(function(){return o.UndoIcon})),n.d(t,"RedoIcon",(function(){return o.RedoIcon})),n.d(t,"OpenIcon",(function(){return o.OpenIcon})),n.d(t,"ForwardIcon",(function(){return o.ForwardIcon})),n.d(t,"ReplyIcon",(function(){return o.ReplyIcon})),n.d(t,"ReplyAllIcon",(function(){return o.ReplyAllIcon})),n.d(t,"DownloadIcon",(function(){return o.DownloadIcon})),n.d(t,"StarIcon",(function(){return o.StarIcon})),n.d(t,"StarFillIcon",(function(){return o.StarFillIcon})),n.d(t,"StarCrossIcon",(function(){return o.StarCrossIcon})),n.d(t,"LayoutIcon",(function(){return o.LayoutIcon})),n.d(t,"LayoutFullIcon",(function(){return o.LayoutFullIcon})),n.d(t,"LayoutWideIcon",(function(){return o.LayoutWideIcon})),n.d(t,"ClearIcon",(function(){return o.ClearIcon})),n.d(t,"ClearCompactIcon",(function(){return o.ClearCompactIcon})),n.d(t,"TickIcon",(function(){return o.TickIcon})),n.d(t,"BurgerIcon",(function(){return o.BurgerIcon})),n.d(t,"SortIcon",(function(){return o.SortIcon})),n.d(t,"PrivacyIcon",(function(){return o.PrivacyIcon})),n.d(t,"AppsIcon",(function(){return o.AppsIcon})),n.d(t,"HelpIcon",(function(){return o.HelpIcon})),n.d(t,"PersonIcon",(function(){return o.PersonIcon})),n.d(t,"PersonFillIcon",(function(){return o.PersonFillIcon})),n.d(t,"UserIcon",(function(){return o.UserIcon})),n.d(t,"PurchaseIcon",(function(){return o.PurchaseIcon})),n.d(t,"ChartBarIcon",(function(){return o.ChartBarIcon})),n.d(t,"ChartPieIcon",(function(){return o.ChartPieIcon})),n.d(t,"ChartAreaIcon",(function(){return o.ChartAreaIcon})),n.d(t,"ChartLineIcon",(function(){return o.ChartLineIcon})),n.d(t,"FilterIcon",(function(){return o.FilterIcon})),n.d(t,"FilterFillIcon",(function(){return o.FilterFillIcon})),n.d(t,"GlobeIcon",(function(){return o.GlobeIcon})),n.d(t,"GuideIcon",(function(){return o.GuideIcon})),n.d(t,"PlayIcon",(function(){return o.PlayIcon})),n.d(t,"PauseIcon",(function(){return o.PauseIcon})),n.d(t,"RecordIcon",(function(){return o.RecordIcon})),n.d(t,"VolumeIcon",(function(){return o.VolumeIcon})),n.d(t,"VolumeMuteIcon",(function(){return o.VolumeMuteIcon})),n.d(t,"FontPlusIcon",(function(){return o.FontPlusIcon})),n.d(t,"FontMinusIcon",(function(){return o.FontMinusIcon})),n.d(t,"SearchIcon",(function(){return o.SearchIcon})),n.d(t,"WizardIcon",(function(){return o.WizardIcon})),n.d(t,"DialogIcon",(function(){return o.DialogIcon})),n.d(t,"MonologIcon",(function(){return o.MonologIcon})),n.d(t,"HoldIcon",(function(){return o.HoldIcon})),n.d(t,"OutboxIcon",(function(){return o.OutboxIcon})),n.d(t,"LikeIcon",(function(){return o.LikeIcon})),n.d(t,"DislikeIcon",(function(){return o.DislikeIcon})),n.d(t,"FaceIcon",(function(){return o.FaceIcon})),n.d(t,"GiftIcon",(function(){return o.GiftIcon}));var a=n(530);n.d(t,"AppleIcon",(function(){return a.AppleIcon})),n.d(t,"FacebookIcon",(function(){return a.FacebookIcon})),n.d(t,"ChampionatIcon",(function(){return a.ChampionatIcon})),n.d(t,"GoogleIcon",(function(){return a.GoogleIcon})),n.d(t,"InstagramIcon",(function(){return a.InstagramIcon})),n.d(t,"LivejournalIcon",(function(){return a.LivejournalIcon})),n.d(t,"MailruIcon",(function(){return a.MailruIcon})),n.d(t,"OdnoklassnikiIcon",(function(){return a.OdnoklassnikiIcon})),n.d(t,"PgumosruIcon",(function(){return a.PgumosruIcon})),n.d(t,"RamblerIcon",(function(){return a.RamblerIcon})),n.d(t,"SberbankIcon",(function(){return a.SberbankIcon})),n.d(t,"TwitterIcon",(function(){return a.TwitterIcon})),n.d(t,"VkontakteIcon",(function(){return a.VkontakteIcon})),n.d(t,"TelegramIcon",(function(){return a.TelegramIcon})),n.d(t,"YoutubeIcon",(function(){return a.YoutubeIcon})),n.d(t,"RssIcon",(function(){return a.RssIcon}));var r=n(531);n.d(t,"RamblerAutoIcon",(function(){return r.RamblerAutoIcon})),n.d(t,"RamblerMailIcon",(function(){return r.RamblerMailIcon})),n.d(t,"RamblerMoneyIcon",(function(){return r.RamblerMoneyIcon})),n.d(t,"RamblerNewsIcon",(function(){return r.RamblerNewsIcon})),n.d(t,"RamblerFinanceIcon",(function(){return r.RamblerFinanceIcon})),n.d(t,"RamblerSearchIcon",(function(){return r.RamblerSearchIcon})),n.d(t,"RamblerOrganizationsIcon",(function(){return r.RamblerOrganizationsIcon})),n.d(t,"RamblerBrowserIcon",(function(){return r.RamblerBrowserIcon})),n.d(t,"RamblerVideoIcon",(function(){return r.RamblerVideoIcon})),n.d(t,"RamblerHeadIcon",(function(){return r.RamblerHeadIcon})),n.d(t,"RamblerHelpIcon",(function(){return r.RamblerHelpIcon})),n.d(t,"RamblerHoroscopesIcon",(function(){return r.RamblerHoroscopesIcon})),n.d(t,"RamblerSportIcon",(function(){return r.RamblerSportIcon})),n.d(t,"RamblerTop100Icon",(function(){return r.RamblerTop100Icon})),n.d(t,"RamblerPicturesIcon",(function(){return r.RamblerPicturesIcon})),n.d(t,"RamblerClassIcon",(function(){return r.RamblerClassIcon})),n.d(t,"RamblerLiveIcon",(function(){return r.RamblerLiveIcon})),n.d(t,"RamblerTravelIcon",(function(){return r.RamblerTravelIcon})),n.d(t,"RamblerAfishaIcon",(function(){return r.RamblerAfishaIcon})),n.d(t,"RamblerDoctorIcon",(function(){return r.RamblerDoctorIcon})),n.d(t,"RamblerWomanIcon",(function(){return r.RamblerWomanIcon})),n.d(t,"RamblerLikesIcon",(function(){return r.RamblerLikesIcon})),n.d(t,"RamblerLoveIcon",(function(){return r.RamblerLoveIcon})),n.d(t,"RamblerKassaIcon",(function(){return r.RamblerKassaIcon})),n.d(t,"RamblerTVIcon",(function(){return r.RamblerTVIcon})),n.d(t,"RamblerWeatherIcon",(function(){return r.RamblerWeatherIcon})),n.d(t,"RamblerWeekendIcon",(function(){return r.RamblerWeekendIcon})),n.d(t,"RamblerStarLifeIcon",(function(){return r.RamblerStarLifeIcon})),n.d(t,"RamblerPromoCodesIcon",(function(){return r.RamblerPromoCodesIcon}));var c=n(106);n.d(t,"createJss",(function(){return c.createJss})),n.d(t,"createSheetsRegistry",(function(){return c.createSheetsRegistry})),n.d(t,"createGenerateId",(function(){return c.createGenerateId})),n.d(t,"globalJss",(function(){return c.globalJss})),n.d(t,"globalSheetsRegistry",(function(){return c.globalSheetsRegistry})),n.d(t,"withTheme",(function(){return c.withTheme})),n.d(t,"useTheme",(function(){return c.useTheme})),n.d(t,"ThemeProvider",(function(){return c.ThemeProvider})),n.d(t,"withStyles",(function(){return c.withStyles})),n.d(t,"colors",(function(){return c.colors})),n.d(t,"i18n",(function(){return c.i18n})),n.d(t,"createTheme",(function(){return c.createTheme}));var i=n(554);n.d(t,"Toggle",(function(){return i.Toggle})),n.d(t,"ToggleOption",(function(){return i.ToggleOption}));var l=n(555);n.d(t,"RadioButton",(function(){return l.RadioButton})),n.d(t,"RadioButtonGroup",(function(){return l.RadioButtonGroup}));var s=n(586);n.d(t,"Popup",(function(){return s.Popup})),n.d(t,"providePopup",(function(){return s.providePopup}));var u=n(542);n.d(t,"SideNav",(function(){return u.SideNav})),n.d(t,"SideNavItem",(function(){return u.SideNavItem}));var d=n(592);n.d(t,"ComplexSearch",(function(){return d.ComplexSearch})),n.d(t,"ServiceSearch",(function(){return d.ServiceSearch})),n.d(t,"SimpleSearch",(function(){return d.SimpleSearch})),n.d(t,"SuggestItem",(function(){return d.SuggestItem}));var p=n(520);n.d(t,"Menu",(function(){return p.Menu})),n.d(t,"MenuItem",(function(){return p.MenuItem}));var f=n(588);n.d(t,"Snackbar",(function(){return f.Snackbar})),n.d(t,"provideSnackbar",(function(){return f.provideSnackbar}));var m=n(589);n.d(t,"Notification",(function(){return m.Notification})),n.d(t,"provideNotification",(function(){return m.provideNotification}));var h=n(549);n.d(t,"Tabs",(function(){return h.Tabs})),n.d(t,"TabsItem",(function(){return h.TabsItem}));var b=n(533);n.d(t,"TagsInput",(function(){return b.TagsInput})),n.d(t,"TagsInputItem",(function(){return b.TagsInputItem}));var v=n(556);n.d(t,"Step",(function(){return v.Step})),n.d(t,"Stepper",(function(){return v.Stepper}));var g=n(527);n.d(t,"Typography",(function(){return g.default}));var x=n(535);n.d(t,"H1",(function(){return x.H1})),n.d(t,"H2",(function(){return x.H2})),n.d(t,"H3",(function(){return x.H3})),n.d(t,"Text",(function(){return x.Text})),n.d(t,"Quote",(function(){return x.Quote})),n.d(t,"Epigraph",(function(){return x.Epigraph})),n.d(t,"Source",(function(){return x.Source})),n.d(t,"Timestamp",(function(){return x.Timestamp})),n.d(t,"Description",(function(){return x.Description})),n.d(t,"GalleryDescription",(function(){return x.GalleryDescription})),n.d(t,"PhotoSource",(function(){return x.PhotoSource})),n.d(t,"List",(function(){return x.List}));var y=n(288);n.d(t,"Button",(function(){return y.default}));var E=n(525);n.d(t,"Dropdown",(function(){return E.default}));var j=n(601);n.d(t,"Tooltip",(function(){return j.default}));var k=n(521);n.d(t,"IconButton",(function(){return k.default}));var O=n(544);n.d(t,"Checkbox",(function(){return O.default}));var C=n(557);n.d(t,"Switcher",(function(){return C.default}));var w=n(536);n.d(t,"Input",(function(){return w.default}));var S=n(545);n.d(t,"FormGroup",(function(){return S.default}));var I=n(590);n.d(t,"FieldStatus",(function(){return I.default}));var q=n(130);n.d(t,"SvgIcon",(function(){return q.default}));var N=n(537);n.d(t,"Hint",(function(){return N.default}));var R=n(558);n.d(t,"Textarea",(function(){return R.default}));var z=n(553);n.d(t,"Avatar",(function(){return z.default}));var P=n(226);n.d(t,"Spinner",(function(){return P.default}));var T=n(550);n.d(t,"Loader",(function(){return T.default}));var B=n(559);n.d(t,"Select",(function(){return B.default}));var D=n(560);n.d(t,"FieldGroup",(function(){return D.default}));var M=n(561);n.d(t,"Pagination",(function(){return M.default}));var L=n(562);n.d(t,"Calendar",(function(){return L.default}));var A=n(563);n.d(t,"Slider",(function(){return A.default}))},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return p}));var o=n(0),a=n.n(o),r=n(1),c=n.n(r),i=n(238),l=n.n(i),s=n(60),u=n(39),d=n(223);function p(e){var t=Object(o.useContext)(u.ThemeProviderContext),n=Object(o.useRef)(),r=Object(o.useRef)(),c=Object(o.useRef)(),i=e.jss||t.jss||u.globalJss,p=e.sheetsRegistry||t.sheetsRegistry||u.globalSheetsRegistry,f=Object(o.useMemo)((function(){return{jss:i,sheetsRegistry:p}}),[i,p]),m=Object(o.useMemo)((function(){return null==p.__RAMBLER_UI_THEME_COUNTER__?p.__RAMBLER_UI_THEME_COUNTER__=0:++p.__RAMBLER_UI_THEME_COUNTER__}),[p]),h=Object(o.useMemo)((function(){return e.generateId||Object(u.createGenerateId)(m)}),[e.generateId,m]),b=Object(o.useCallback)((function(t){var o=e.theme,a=void 0===o?d.default:o;return n.current===a&&r.current===t||(c.current=t?l()(t,a):a,r.current=t,n.current=a),c.current}),[e.theme]);return a.a.createElement(u.ThemeProviderContext.Provider,{value:f},a.a.createElement(s.b,{jss:i,registry:p,generateId:h},a.a.createElement(u.JssThemeProvider,{theme:b},e.children)))}p.propTypes={theme:c.a.object,jss:c.a.object,sheetsRegistry:c.a.object,generateId:c.a.func,children:c.a.node}},,,function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return s}));var o=n(4),a=n.n(o),r=n(0),c=n.n(r),i=n(130),l=c.a.createElement("path",{d:"M13 0v13M0 0v13m5.146-3.439l-2.249-2.25a.5.5 0 0 1 0-.708l.706-.706a.5.5 0 0 1 .708 0L5.5 7.086l3.439-3.439a.5.5 0 0 1 .708 0l.706.706a.5.5 0 0 1 0 .708l-4.499 4.5a.502.502 0 0 1-.708 0",fillRule:"evenodd"});function s(e){return c.a.createElement(i.default,a()({},e,{viewBox:"0 0 13 13"}),l)}s.displayName="TickIconSmall"},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return s}));var o=n(4),a=n.n(o),r=n(0),c=n.n(r),i=n(130),l=c.a.createElement("path",{d:"M12-6H-3h15zM-3 14h15-15zM.146 2.854a.5.5 0 0 0 0 .707l2.647 2.646a.999.999 0 0 0 1.414 0l4.647-4.646a.5.5 0 0 0 0-.707L8.146.146a.5.5 0 0 0-.707 0L3.5 4.086l-1.939-1.94a.5.5 0 0 0-.707 0l-.708.708z",fillRule:"evenodd"});function s(e){return c.a.createElement(i.default,a()({},e,{viewBox:"0 0 9 7"}),l)}s.displayName="TickIcon"},,,function(e,t,n){"use strict";n.r(t);var o=n(574),a=n(228),r=n(575),c=n(572),i=n(576),l=n(577),s=n(578),u=n(579),d=n(580),p=n(581),f=n(583),m=n(584),h=n(582);t.default={apple:o.default,facebook:a.default,championat:r.default,google:c.default,instagram:i.default,livejournal:l.default,mailru:s.default,odnoklassniki:u.default,pgumosru:d.default,rambler:p.default,sberbank:h.default,twitter:f.default,vkontakte:m.default}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return s}));var o=n(4),a=n.n(o),r=n(0),c=n.n(r),i=n(130),l=c.a.createElement("path",{fillRule:"nonzero",d:"M13.87 13.91A1.47 1.47 0 0 0 12.5 13H12v-2c0-.55-.45-1-1-1H7V8h1.3c.39 0 .7-.31.7-.7V6h1.5c.71 0 1.3-.48 1.45-1.14 2.08.78 3.55 2.79 3.55 5.14 0 1.53-.62 2.91-1.63 3.91M10 15.5c-3.04 0-5.5-2.46-5.5-5.5 0-.46.06-.9.17-1.33L6 10l2 2v.5c0 .83.67 1.5 1.5 1.5H11v1.41c-.32.06-.66.09-1 .09M10 3c-3.87 0-7 3.13-7 7s3.13 7 7 7 7-3.13 7-7-3.13-7-7-7"});function s(e){return c.a.createElement(i.default,a()({},e,{viewBox:"0 0 20 20"}),l)}s.displayName="GlobalSourceIcon"},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return s}));var o=n(4),a=n.n(o),r=n(0),c=n.n(r),i=n(130),l=c.a.createElement("path",{fillRule:"nonzero",d:"M13.168 11.107l3.007 3.008a.499.499 0 0 1-.004.714l-.342.342a.501.501 0 0 1-.714.004l-3.008-3.007a4.5 4.5 0 1 1 1.06-1.06zM9.5 11.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"});function s(e){return c.a.createElement(i.default,a()({},e,{viewBox:"0 0 20 20"}),l)}s.displayName="MediaSearchIcon"},function(e,t,n){"use strict";n.r(t);var o=n(7),a=n.n(o),r=n(8),c=n.n(r),i=n(9),l=n.n(i),s=n(10),u=n.n(s),d=n(5),p=n.n(d),f=n(0),m=n.n(f),h=n(1),b=n.n(h),v=n(19),g=n.n(v),x=n(59),y=n(525);var E=function(e){l()(n,e);var t=function(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}return function(){var n,o=p()(e);if(t()){var a=p()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return u()(this,n)}}(n);function n(){return a()(this,n),t.apply(this,arguments)}return c()(n,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.isOpened,o=e.anchor,a=e.appendToBody,r=e.autoPositionY,c=e.style,i=e.className,l=e.classes;return m.a.createElement(y.default,{isOpened:n,anchor:o,padding:!1,style:c,className:g()(l.dropdown,i),appendToBody:a,anchorFullWidth:!0,autoPositionY:r,anchorPointY:"bottom",contentPointY:"top",overlayClassName:l.overlay,cachePositionOptions:!1,closeOnClickOutside:!1},m.a.createElement("div",{className:l.suggest},t))}}]),n}(f.PureComponent);E.propTypes={isOpened:b.a.bool,anchor:b.a.func.isRequired,className:b.a.string,appendToBody:b.a.bool,autoPositionY:b.a.bool,style:b.a.object,children:b.a.node},E.defaultProps={isOpened:!1,anchor:null,className:"",autoPositionY:!1,appendToBody:!0,overlayClassName:"",style:{},setNode:function(){}},t.default=Object(x.default)({dropdown:{transition:"none",animation:"none",width:"100%"},overlay:{width:"100%"},suggest:{width:"100%",background:"white",boxShadow:"1px 2px 5px 0 rgba(102, 116, 166, 0.15)"}},{name:"SuggestDropdown"})(E)},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return s}));var o=n(4),a=n.n(o),r=n(0),c=n.n(r),i=n(130),l=c.a.createElement("path",{fillRule:"evenodd",d:"M0 15V0m15 0v15m-.929-1.778l-3.447-3.446c1.925-2.357 1.817-5.821-.381-8.019A5.984 5.984 0 0 0 6 0a5.984 5.984 0 0 0-4.379 1.898c-2.151 2.293-2.151 5.911 0 8.204A5.984 5.984 0 0 0 6 12c1.345 0 2.675-.477 3.776-1.376l3.446 3.447a.5.5 0 0 0 .707 0l.142-.142a.5.5 0 0 0 0-.707M6 1.2c1.282 0 2.488.499 3.394 1.406a4.804 4.804 0 0 1 0 6.788A4.766 4.766 0 0 1 6 10.8a4.768 4.768 0 0 1-3.394-1.406 4.804 4.804 0 0 1 0-6.788A4.766 4.766 0 0 1 6 1.2"});function s(e){return c.a.createElement(i.default,a()({},e,{viewBox:"0 0 15 15"}),l)}s.displayName="ServiceSearchIcon"},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return s}));var o=n(4),a=n.n(o),r=n(0),c=n.n(r),i=n(130),l=c.a.createElement("path",{d:"M14.495 12.798l-1.646-1.646-1.043-.905A6.469 6.469 0 0 0 13 6.5 6.5 6.5 0 1 0 6.5 13a6.459 6.459 0 0 0 3.746-1.194l.905 1.043 1.647 1.646a.499.499 0 0 0 .707 0l.99-.99a.5.5 0 0 0 0-.707M6.5 2C8.981 2 11 4.019 11 6.5 11 8.982 8.981 11 6.5 11A4.505 4.505 0 0 1 2 6.5C2 4.019 4.019 2 6.5 2M0 15V0m15 0v15"});function s(e){return c.a.createElement(i.default,a()({},e,{viewBox:"0 0 15 15"}),l)}s.displayName="SearchIcon"},,,function(e,t,n){"use strict";n.r(t);var o=n(4),a=n.n(o),r=n(7),c=n.n(r),i=n(8),l=n.n(i),s=n(9),u=n.n(s),d=n(10),p=n.n(d),f=n(5),m=n.n(f),h=n(0),b=n.n(h),v=n(1),g=n.n(v),x=n(19),y=n.n(x),E=n(291),j=n(21),k=n(59),O=n(15),C=n(661);var w=C.ios||C.android,S=function(e){u()(n,e);var t=function(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}return function(){var n,o=m()(e);if(t()){var a=m()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return p()(this,n)}}(n);function n(){var e;c()(this,n);for(var o=arguments.length,a=new Array(o),r=0;re-240?(i=e-480,l=s-5+480-e):(i=s-240,l=235),this.cachedPosition={key:c,arrowLeft:l,contentLeft:i},this.cachedPosition}}]),n}(h.PureComponent);S.propTypes={className:g.a.string,style:g.a.object,icon:g.a.node.isRequired,children:g.a.node.isRequired,isVisible:g.a.bool,pointX:g.a.oneOf(j.POINTS_X),pointY:g.a.oneOf(j.POINTS_Y),anchorLeft:g.a.number,anchorWidth:g.a.number,contentRef:g.a.func,onMouseEnter:g.a.func,onMouseLeave:g.a.func,onBecomeVisible:g.a.func,onBecomeInvisible:g.a.func},S.defaultProps={isVisible:!1},t.default=Object(k.default)((function(e){return{hint:{extend:O.isolateMixin,display:"flex",fontFamily:e.fontFamily,position:"relative",color:e.hint.colors.text,borderRadius:e.hint.borderRadius,boxSizing:"border-box",boxShadow:e.hint.boxShadow,paddingTop:e.hint.verticalPadding,paddingBottom:e.hint.verticalPadding,width:265,backgroundColor:e.hint.colors.background,fontSize:e.hint.fontSize,lineHeight:e.hint.lineHeight,opacity:.01,transitionDuration:"".concat(e.hint.animationDuration,"ms"),transitionProperty:"opacity",fontWeight:e.hint.fontWeight},mobile:{width:"100%",maxWidth:e.hint.maxWidth,padding:"".concat(e.hint.mobile.verticalPadding,"px ").concat(e.hint.mobile.horizontalPadding,"px"),fontSize:14},arrow:{position:"absolute",borderStyle:"solid",borderColor:"transparent",borderWidth:e.hint.arrowSize,borderBottomColor:e.hint.colors.background,zIndex:100},isVisible:{opacity:1},icon:{flexShrink:0},left:{left:-e.hint.horizontalPadding,paddingLeft:e.hint.horizontalPadding,paddingRight:e.hint.horizontalPadding,"& $icon":{marginRight:e.hint.horizontalPadding}},right:{left:e.hint.horizontalPadding,paddingLeft:e.hint.horizontalPadding,paddingRight:e.hint.horizontalPadding,flexDirection:"row-reverse","& $icon":{marginLeft:e.hint.horizontalPadding}},top:{top:-15,"&$mobile":{top:10},"& $arrow":{bottom:"100%"}},bottom:{top:19,"&$mobile":{top:-10},"& $arrow":{top:"100%",transform:"rotate(180deg)"}}}}),{name:"HintContent"})(S)},function(e,t,n){"use strict";n.r(t);var o=n(531);n.d(t,"services",(function(){return o}));var a=n(540);n.d(t,"forms",(function(){return a}));var r=n(530);n.d(t,"profiles",(function(){return r}))},,,,,function(e,t,n){"use strict";var o=n(0),a=n.n(o),r=n(1),c=n.n(r),i=n(22),l={root:{margin:0,fontFamily:i.b.Roboto,fontSize:40,fontWeight:300,lineHeight:"50px",overflow:"hidden",textOverflow:"ellipsis"}},s=function(e){var t=e.classes,n=e.style,o=e.children;return a.a.createElement("h1",{className:t.root,style:n},o)};s.propTypes={children:c.a.node},t.a=Object(i.c)(l)(s)},,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return W}));var o=n(17),a=n.n(o),r=n(7),c=n.n(r),i=n(8),l=n.n(i),s=n(9),u=n.n(s),d=n(10),p=n.n(d),f=n(5),m=n.n(f),h=n(0),b=n.n(h),v=n(1),g=n.n(v),x=n(677),y=n(53),E=n(521),j=n(133),k={};function O(e){if(k[e])return k[e];var t=e.substring(1).split(/\//),n=t[0];if("components"!==n)return"".concat(j.a.repoLink,"tree/").concat(j.a.branch,"/docs/pages").concat(e,"/index.md");var o=t.pop();return null!=o&&n!==o?"".concat(j.a.repoLink,"tree/").concat(j.a.branch,"/src/").concat(o):void 0}var C=n(22),w=(n(682),n(681)),S={root:{marginTop:40,marginBottom:25,fontFamily:C.b.CorsicaRamblerLX,fontSize:35,fontWeight:500,lineHeight:"35px"}},I=function(e){var t=e.classes,n=e.children;return b.a.createElement("h2",{className:t.root},n)};I.propTypes={children:g.a.node};var q=Object(C.c)(S)(I),N=n(132),R=n(234),z={root:{padding:"14px 25px 14px 20px",overflow:"auto",backgroundColor:"rgba(238, 242, 244, .5)",fontFamily:C.b.Menlo,fontSize:13,lineHeight:"18px","& code":{padding:0,backgroundColor:"transparent",fontFamily:"inherit"}}},P=function(e){var t=e.classes,n=e.children;return b.a.createElement("pre",{className:t.root},n)};P.propTypes={children:g.a.node};var T=Object(C.c)(z)(P),B={root:{display:"inline",padding:".2em .3em",backgroundColor:"rgba(238, 242, 244, .5)",fontFamily:C.b.Menlo,fontSize:"92%",lineHeight:"18px"}},D=function(e){var t=e.classes,n=e.children;return b.a.createElement("code",{className:t.root},n)};D.propTypes={children:g.a.node};var M=Object(C.c)(B)(D),L=n(235);var A={h1:w.a,h2:q,h3:N.a,code:T,inlineCode:M},H=function(e){return{header:{padding:"107px 30px 48px",backgroundColor:e.colors.argentumLight,"@media screen and (min-width: 768px)":{padding:"65px 200px 35px 100px"},"& h1 + p":{marginTop:25,marginBottom:0,"@media screen and (min-width: 768px)":{marginTop:15}}},toc:{marginTop:15,marginLeft:-6,"@media screen and (min-width: 768px)":{marginLeft:-11},"& button":{marginTop:15,marginRight:10}},source:{position:"absolute",top:30,right:30,"@media screen and (min-width: 768px)":{top:30,right:40},"& svg":{width:20,height:20}},content:{padding:"40px 0",marginLeft:30,marginRight:30,"@media screen and (min-width: 768px)":{marginLeft:100,marginRight:100,maxWidth:670},"& ~ footer":{display:"flex"}}}},F=b.a.createElement(L.a,null);function W(e){return function(t){var n,o;return Object(y.f)(Object(C.c)(H)((o=n=function(n){u()(r,n);var o=function(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}return function(){var n,o=m()(e);if(t()){var a=m()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return p()(this,n)}}(r);function r(){var e;c()(this,r);for(var t=arguments.length,n=new Array(t),a=0;a",(function(){it("should apply default styles",(function(){var e,t=Object(i.e)(Object(i.f)(u)).find(r.default),n=Object(i.c)(t);expect(t.getDOMNode().nodeName).toEqual("DIV"),expect(n.display).toEqual("inline-block"),expect(n.width).toEqual("45px"),expect(n.height).toEqual("45px"),expect(n["vertical-align"]).toEqual("middle"),expect((e=n["background-image"],e.replace(/['"]/g,""))).toEqual("url(".concat(s,")")),expect(n["border-top-left-radius"]).toEqual("50%"),expect(n["border-top-right-radius"]).toEqual("50%"),expect(n["border-bottom-left-radius"]).toEqual("50%"),expect(n["border-bottom-right-radius"]).toEqual("50%")})),it("should be a rounded",(function(){var e=Object(i.e)(Object(i.f)(d)).find(r.default),t=Object(i.c)(e);expect(t["border-top-left-radius"]).toEqual("7%"),expect(t["border-top-right-radius"]).toEqual("7%"),expect(t["border-bottom-left-radius"]).toEqual("7%"),expect(t["border-bottom-right-radius"]).toEqual("7%")})),it("should be a square",(function(){var e=Object(i.e)(Object(i.f)(p)).find(r.default),t=Object(i.c)(e);expect(t["border-top-left-radius"]).toEqual("0px"),expect(t["border-top-right-radius"]).toEqual("0px"),expect(t["border-bottom-left-radius"]).toEqual("0px"),expect(t["border-bottom-right-radius"]).toEqual("0px")})),it("should apply custom size",(function(){var e=Object(i.e)(Object(i.f)(f)).find(r.default),t=Object(i.c)(e);expect(t.width).toEqual("75px"),expect(t.height).toEqual("75px")})),it("should append className",(function(){var e=Object(i.e)(Object(i.f)(m)).find(r.default);expect(e.hasClass("avatar")).toBe(!0)})),it("should append style",(function(){var e=Object(i.e)(Object(i.f)(a.a.createElement(r.default,{style:{marginLeft:10},src:s}))).find(r.default),t=Object(i.c)(e);expect(t["margin-left"]).toEqual("10px")})),it("should append backgroundColor",(function(){var e="rgb(255, 255, 255)",t=Object(i.e)(Object(i.f)(a.a.createElement(r.default,{backgroundColor:e,src:s}))).find(r.default),n=Object(i.c)(t);expect(n["background-color"]).toEqual(e)})),it("should append profile icon",(function(){var e=Object(i.e)(Object(i.f)(h)).find(r.default),t=Object(i.c)(e.find("svg")),n=Object(i.c)(e.find("div > div"));expect(Object(l.normalize)(t.fill)).toEqual(Object(l.normalize)("#1877f2")),expect(t.width).toEqual("15px"),expect(t.height).toEqual("15px"),expect(n.position).toEqual("absolute"),expect(n.width).toEqual("20px"),expect(n.height).toEqual("20px"),expect(Object(l.normalize)(n["background-color"])).toEqual(Object(l.normalize)(c.default.avatar.colors.iconBackground))})),it("should append iconBackgroundColor",(function(){var e=Object(i.e)(Object(i.f)(a.a.createElement(r.default,{profileType:"facebook",iconBackgroundColor:"rgb(255, 0, 0)",src:s}))).find(r.default),t=Object(i.c)(e.find("div > div"));expect(t["background-color"]).toEqual("rgb(255, 0, 0)")})),it("should append `` as container",(function(){var e=Object(i.e)(Object(i.f)(b)).find(r.default).getDOMNode();expect(e.nodeName).toEqual("A"),expect(e.getAttribute("href")).toEqual("/foo")})),it("should append container",(function(){var e=Object(i.e)(Object(i.f)(v)).find(r.default);expect(e.getDOMNode().nodeName).toEqual("SPAN")})),it("should call props.onClick() when click on avatar",(function(){var e;Object(i.e)(Object(i.f)(a.a.createElement(r.default,{src:s,onClick:function(t){e=t}}))).find(r.default).simulate("click"),expect(e.type).toEqual("click")}))}))},function(e,t,n){"use strict";n.r(t);var o=n(4),a=n.n(o),r=n(0),c=n.n(r),i=n(288),l=n(223),s=n(2),u=n(526),d=n(686),p=c.a.createElement("a",{target:"_blank"}),f=c.a.createElement(i.default,{type:"primary",size:"medium"},"test"),m=c.a.createElement(i.default,{type:"secondary",size:"small"},"test"),h=c.a.createElement(i.default,{type:"outline",block:!0,size:"small",className:"my-test-btn"},"test"),b=c.a.createElement(d.default,null);describe("