diff --git a/.out/iframe.html b/.out/iframe.html index 5e2ca31e..6866b33f 100644 --- a/.out/iframe.html +++ b/.out/iframe.html @@ -57,4 +57,4 @@ console.warn('unable to connect to parent frame for connecting dev tools'); }

No Preview

Sorry, but you either have no stories or none are selected somehow.

     
-  
\ No newline at end of file +
\ No newline at end of file diff --git a/.out/main.8c264f6eb3c1802daf2b.bundle.js b/.out/main.8c264f6eb3c1802daf2b.bundle.js new file mode 100644 index 00000000..9233af18 --- /dev/null +++ b/.out/main.8c264f6eb3c1802daf2b.bundle.js @@ -0,0 +1,2 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{116:function(module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),Image=function(_ref){var url=_ref.url,isvisible=_ref.isvisible;return react__WEBPACK_IMPORTED_MODULE_0__.createElement("img",{"aria-hidden":isvisible?"true":"false",draggable:!1,src:url,style:{width:"100%",display:"block",height:"100%",margin:"auto"}})};__webpack_exports__.a=Image,Image.__docgenInfo={description:"",methods:[],displayName:"Image"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/CustomImage.js"]={name:"Image",docgenInfo:Image.__docgenInfo,path:"stories/CustomImage.js"})},161:function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var clones_1=__webpack_require__(1708);exports.getOriginalCounterPart=clones_1.getOriginalCounterPart,exports.getCloneCounterPart=clones_1.getCloneCounterPart,exports.getClones=clones_1.getClones,exports.whenEnteredClones=clones_1.whenEnteredClones;var elementWidth_1=__webpack_require__(262);exports.getWidthFromDeviceType=elementWidth_1.getWidthFromDeviceType,exports.getParitialVisibilityGutter=elementWidth_1.getParitialVisibilityGutter;var common_1=__webpack_require__(1709);exports.getInitialState=common_1.getInitialState,exports.getIfSlideIsVisbile=common_1.getIfSlideIsVisbile;var throttle_1=__webpack_require__(1710);exports.throttle=throttle_1.default},1613:function(module,exports,__webpack_require__){var content=__webpack_require__(1614);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(154)(content,options);content.locals&&(module.exports=content.locals)},1614:function(module,exports,__webpack_require__){(module.exports=__webpack_require__(153)(!1)).push([module.i,".custom-right-arrow {\n position: absolute !important;\n right: 30px;\n z-index: 1;\n border: 1px solid grey;\n border-width: 0 3px 3px 0;\n display: inline-block;\n padding: 6px;\n opacity: 0.8;\n cursor: pointer;\n -webkit-transform: rotate(-45deg);\n transform: rotate(-45deg);\n}\n.custom-right-arrow:hover {\n opacity: 1;\n}\n.custom-left-arrow {\n position: absolute !important;\n left: 30px;\n z-index: 1;\n border: 1px solid grey;\n border-width: 0 3px 3px 0;\n display: inline-block;\n padding: 6px;\n opacity: 0.8;\n cursor: pointer;\n -webkit-transform: rotate(135deg);\n transform: rotate(135deg);\n}\n.custom-left-arrow {\n opacity: 1;\n}\n.container {\n margin-top: 10%;\n}\n#root {\n padding: 0 80px;\n}\n.container-with-dots {\n margin-top: 10%;\n padding-bottom: 20px;\n}\n.custom-button-group {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n display: flex;\n justify-content: center;\n right: 0;\n}\n.container-padding-bottom {\n padding-bottom: 20px;\n}\n",""])},164:function(module){module.exports=[{imageUrl:"https://w3js.com/wp-content/uploads/2019/03/Similar-Cloud-Services-in-AWS-and-Azure-.png",link:"https://w3js.com/index.php/what-aws-lambda-users-should-know-about-azure-functions-and-vice-versa/",date:"29.3.2019",tags:[{id:64,count:5,description:"",link:"https://w3js.com/index.php/tag/aws/",name:"Aws",slug:"aws",taxonomy:"post_tag",meta:[],_links:{self:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags/64"}],collection:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags"}],about:[{href:"https://w3js.com/index.php/wp-json/wp/v2/taxonomies/post_tag"}],"wp:post_type":[{href:"https://w3js.com/index.php/wp-json/wp/v2/posts?tags=64"}],curies:[{name:"wp",href:"https://api.w.org/{rel}",templated:!0}]}},{id:74,count:1,description:"",link:"https://w3js.com/index.php/tag/azure/",name:"Azure",slug:"azure",taxonomy:"post_tag",meta:[],_links:{self:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags/74"}],collection:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags"}],about:[{href:"https://w3js.com/index.php/wp-json/wp/v2/taxonomies/post_tag"}],"wp:post_type":[{href:"https://w3js.com/index.php/wp-json/wp/v2/posts?tags=74"}],curies:[{name:"wp",href:"https://api.w.org/{rel}",templated:!0}]}}],title:"What AWS Lambda Users Should Know About Azure Functions, and Vice Versa.",content:"

In my previous post, I explained about my painful multi-cloud experience and lessons that I learned. Regardless of which cloud platform you are using, I recommend you to read it to avoid our mistakes. I’ve encountered a surprising high number of Cloud developers who have never tried other providers. That’s why in this post, I would […]

\n"},{imageUrl:"https://w3js.com/wp-content/uploads/2019/03/migrating-legacy-back-ends-to-serverless-14-638.jpg",link:"https://w3js.com/index.php/lessons-learned-from-a-legacy-serverless-app/",date:"29.3.2019",tags:[{}],title:"Lessons Learned From a Legacy Serverless App",content:"

Feeping in mind the growing multi-cloud trend, developers should start working with more than one provider. However, this can mean leaving your comfort zone, and not everyone likes the idea of doing that. Recently, I’ve done this and would like to share my experiences with you. I believe they are useful, regardless of whatever cloud platform […]

\n"},{imageUrl:"https://w3js.com/wp-content/uploads/2019/03/1_g_0RpVhugETqQt_zriSebQ.png",link:"https://w3js.com/index.php/implementing-infinite-mode-in-a-carousel-that-rocks-by-putting-your-algorithm-knowledge-into-use-part-one/",date:"27.3.2019",tags:[],title:"Implementing infinite mode in a Carousel that rocks by putting your algorithm knowledge into use – part one.",content:"

Hello, this is part one of the series – Implementing infinite mode in a Carousel that rocks by putting your algorithm knowledge into use. A while back i built a fully customizable Carousel library called react-multi-carousel which you can find on github or the npm registry that supports multiple items and server-side rendering. Everything was […]

\n"},{imageUrl:"https://w3js.com/wp-content/uploads/2019/03/1_y8bT4O5fXWXC140iiTRYPQ.png",link:"https://w3js.com/index.php/how-to-integrate-an-amazon-lex-chatbot-with-facebook-messenger/",date:"27.3.2019",tags:[{id:64,count:5,description:"",link:"https://w3js.com/index.php/tag/aws/",name:"Aws",slug:"aws",taxonomy:"post_tag",meta:[],_links:{self:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags/64"}],collection:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags"}],about:[{href:"https://w3js.com/index.php/wp-json/wp/v2/taxonomies/post_tag"}],"wp:post_type":[{href:"https://w3js.com/index.php/wp-json/wp/v2/posts?tags=64"}],curies:[{name:"wp",href:"https://api.w.org/{rel}",templated:!0}]}},{id:72,count:1,description:"",link:"https://w3js.com/index.php/tag/chatbots/",name:"Chatbots",slug:"chatbots",taxonomy:"post_tag",meta:[],_links:{self:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags/72"}],collection:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags"}],about:[{href:"https://w3js.com/index.php/wp-json/wp/v2/taxonomies/post_tag"}],"wp:post_type":[{href:"https://w3js.com/index.php/wp-json/wp/v2/posts?tags=72"}],curies:[{name:"wp",href:"https://api.w.org/{rel}",templated:!0}]}}],title:"How to integrate an Amazon Lex chatbot with Facebook Messenger",content:"

Amazon Lex enables you to quickly build a chatbot in a few minutes. A few months ago, I tried to integrate a Lex chatbot with Facebook — and spent way too long because of the poor documentation and guidance. To help save you some time and effort, this blog explains how the integration works and provides a […]

\n"},{imageUrl:"https://w3js.com/wp-content/uploads/2019/03/Benchmarked-Serverless-observability-tools-got-very-disappointed2.png",link:"https://w3js.com/index.php/benchmarked-serverless-observability-tools-got-very-disappointed/",date:"26.3.2019",tags:[{id:64,count:5,description:"",link:"https://w3js.com/index.php/tag/aws/",name:"Aws",slug:"aws",taxonomy:"post_tag",meta:[],_links:{self:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags/64"}],collection:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags"}],about:[{href:"https://w3js.com/index.php/wp-json/wp/v2/taxonomies/post_tag"}],"wp:post_type":[{href:"https://w3js.com/index.php/wp-json/wp/v2/posts?tags=64"}],curies:[{name:"wp",href:"https://api.w.org/{rel}",templated:!0}]}},{}],title:"Benchmarked Serverless observability tools, got very disappointed",content:"

Observability is about the ability to troubleshoot unknown issues that might happen in your application. If you are not familiar with it, I recommend you to watch How to Build Observable Distributed Systems and The Present and Future of Serverless Observability from QCon 2018. In this article, I’m going to explain you how some of the most prominent Serverless […]

\n"},{imageUrl:"https://w3js.com/wp-content/uploads/2019/03/Overcome-X-Ray’s-issue-for-Lambda-debugging.png",link:"https://w3js.com/index.php/overcome-x-rays-issue-for-lambda-debugging/",date:"25.3.2019",tags:[{id:64,count:5,description:"",link:"https://w3js.com/index.php/tag/aws/",name:"Aws",slug:"aws",taxonomy:"post_tag",meta:[],_links:{self:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags/64"}],collection:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags"}],about:[{href:"https://w3js.com/index.php/wp-json/wp/v2/taxonomies/post_tag"}],"wp:post_type":[{href:"https://w3js.com/index.php/wp-json/wp/v2/posts?tags=64"}],curies:[{name:"wp",href:"https://api.w.org/{rel}",templated:!0}]}},{}],title:"Overcome X-Ray’s issue for Lambda debugging",content:"

Tracing is one of the pillars of Observebility, according to Twitter. AWS X-Ray helps you to get an overview of your distributed application, to find bottlenecks and to tune its critical path. Also, it provides you with the ability to trace your requests, so you can see which journey, any single request goes through when it enters your application. AWS […]

\n"},{imageUrl:"https://w3js.com/wp-content/uploads/2019/03/Worrying-and-promising-signals-from-serverless-community.jpeg",link:"https://w3js.com/index.php/worrying-and-promising-signals-from-serverless-community/",date:"25.3.2019",tags:[{id:64,count:5,description:"",link:"https://w3js.com/index.php/tag/aws/",name:"Aws",slug:"aws",taxonomy:"post_tag",meta:[],_links:{self:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags/64"}],collection:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags"}],about:[{href:"https://w3js.com/index.php/wp-json/wp/v2/taxonomies/post_tag"}],"wp:post_type":[{href:"https://w3js.com/index.php/wp-json/wp/v2/posts?tags=64"}],curies:[{name:"wp",href:"https://api.w.org/{rel}",templated:!0}]}},{id:62,count:1,description:"",link:"https://w3js.com/index.php/tag/cloud-computing/",name:"Cloud Computing",slug:"cloud-computing",taxonomy:"post_tag",meta:[],_links:{self:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags/62"}],collection:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags"}],about:[{href:"https://w3js.com/index.php/wp-json/wp/v2/taxonomies/post_tag"}],"wp:post_type":[{href:"https://w3js.com/index.php/wp-json/wp/v2/posts?tags=62"}],curies:[{name:"wp",href:"https://api.w.org/{rel}",templated:!0}]}}],title:"Worrying and promising signals from serverless community",content:"

Recently, I attended AWS Community Days in Frankfurt — Serverless Computing track, while I was one of its speakers. Having 400 attendees, it’s the biggest AWS community event in Germany. Even though not a definite indicator, but it can reflect skill level of serverless community in the region. I would like to share my assessment about Germany’s serverless community’s level with you. Some of them are good (indicated as “promising”) and some of them require attention (indicated as “worrying”). Here is table of content:

\n"},{imageUrl:"https://w3js.com/wp-content/uploads/2019/03/pre.png",link:"https://w3js.com/index.php/appending-currency-sign-to-a-purchase-form-in-your-e-commerce-site/",date:"14.3.2019",tags:[{},{}],title:"Appending currency sign to a purchase form in your e-commerce site using plain JavaScript.",content:"

Here is the code snippet on how to append currency sign to a purchase form in your e-commerce site. For example, you have an input that allows user to put in the amount of money to filter out some certain products at different price range, you might also want to remind the user of the […]

\n"},{imageUrl:"https://w3js.com/wp-content/uploads/2019/03/1_kFaSuc5rVdJ_fM2c_bHszQ.png",link:"https://w3js.com/index.php/fixing-css-loaded-order-style-chunk-incorrect-in-nextjs/",date:"14.3.2019",tags:[{id:52,count:1,description:"",link:"https://w3js.com/index.php/tag/css/",name:"CSS",slug:"css",taxonomy:"post_tag",meta:[],_links:{self:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags/52"}],collection:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags"}],about:[{href:"https://w3js.com/index.php/wp-json/wp/v2/taxonomies/post_tag"}],"wp:post_type":[{href:"https://w3js.com/index.php/wp-json/wp/v2/posts?tags=52"}],curies:[{name:"wp",href:"https://api.w.org/{rel}",templated:!0}]}},{id:57,count:1,description:"",link:"https://w3js.com/index.php/tag/css-order/",name:"CSS order",slug:"css-order",taxonomy:"post_tag",meta:[],_links:{self:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags/57"}],collection:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags"}],about:[{href:"https://w3js.com/index.php/wp-json/wp/v2/taxonomies/post_tag"}],"wp:post_type":[{href:"https://w3js.com/index.php/wp-json/wp/v2/posts?tags=57"}],curies:[{name:"wp",href:"https://api.w.org/{rel}",templated:!0}]}}],title:"Fixing CSS load order/style.chunk.css incorrect in Nextjs",content:"

Introduction For Nextjs developers, if you are using a third-party UI library for example Material-ui or Semantic-ui, you might end up overriding a lot of the existing styles with your own CSS. That brings to us the importance of the order of which CSS file gets loaded first and after. If your own CSS gets […]

\n"},{imageUrl:"https://w3js.com/wp-content/uploads/2019/03/Learn-How-to-Create-A-Simple-Carousel-with-React-e1503928616477.jpg",link:"https://w3js.com/index.php/react-carousel-with-server-side-rendering-support-part-2/",date:"20.3.2019",tags:[{id:47,count:1,description:"",link:"https://w3js.com/index.php/tag/carousel/",name:"Carousel",slug:"carousel",taxonomy:"post_tag",meta:[],_links:{self:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags/47"}],collection:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags"}],about:[{href:"https://w3js.com/index.php/wp-json/wp/v2/taxonomies/post_tag"}],"wp:post_type":[{href:"https://w3js.com/index.php/wp-json/wp/v2/posts?tags=47"}],curies:[{name:"wp",href:"https://api.w.org/{rel}",templated:!0}]}},{id:50,count:1,description:"",link:"https://w3js.com/index.php/tag/dom/",name:"DOM",slug:"dom",taxonomy:"post_tag",meta:[],_links:{self:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags/50"}],collection:[{href:"https://w3js.com/index.php/wp-json/wp/v2/tags"}],about:[{href:"https://w3js.com/index.php/wp-json/wp/v2/taxonomies/post_tag"}],"wp:post_type":[{href:"https://w3js.com/index.php/wp-json/wp/v2/posts?tags=50"}],curies:[{name:"wp",href:"https://api.w.org/{rel}",templated:!0}]}}],title:"React Carousel with Server Side Rendering Support – Part 2",content:"

With this article I am going to show you how you can create your own Carousel component using React that supports multiple items and server-side rendering and add testing to it and finally publish to NPM. This is part one of the series “React Carousel with Server Side Rendering Support”. Part two can be found […]

\n"}]},1707:function(module,exports,__webpack_require__){"use strict";var extendStatics,__extends=this&&this.__extends||(extendStatics=function(d,b){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])})(d,b)},function(d,b){function __(){this.constructor=d}extendStatics(d,b),d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)}),__assign=this&&this.__assign||function(){return(__assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i=min&&window.innerWidth<=max&&(_this.setState({slidesToShow:items,deviceType:item}),_this.setContainerAndItemWidth(items,shouldCorrectItemPosition))})},Carousel.prototype.setContainerAndItemWidth=function(slidesToShow,shouldCorrectItemPosition){var _this=this;if(this.containerRef&&this.containerRef.current){var containerWidth=this.containerRef.current.offsetWidth,itemWidth_1=Math.round(this.containerRef.current.offsetWidth/slidesToShow);this.setState({containerWidth:containerWidth,itemWidth:itemWidth_1},function(){_this.props.infinite&&_this.setClones(slidesToShow,itemWidth_1,shouldCorrectItemPosition)}),shouldCorrectItemPosition&&this.correctItemsPosition(itemWidth_1)}},Carousel.prototype.correctItemsPosition=function(itemWidth,isAnimationAllowed){isAnimationAllowed&&(this.isAnimationAllowed=!0),!isAnimationAllowed&&this.isAnimationAllowed&&(this.isAnimationAllowed=!1),this.setState({transform:-itemWidth*this.state.currentSlide})},Carousel.prototype.onResize=function(value){var shouldCorrectItemPosition;shouldCorrectItemPosition=!!this.props.infinite&&("boolean"!=typeof value||!value),this.setItemsToShow(shouldCorrectItemPosition)},Carousel.prototype.componentDidUpdate=function(_a,_b){var _this=this,keyBoardControl=_a.keyBoardControl,autoPlay=_a.autoPlay,containerWidth=_b.containerWidth,domLoaded=_b.domLoaded,isSliding=_b.isSliding;this.containerRef&&this.containerRef.current&&this.containerRef.current.offsetWidth!==containerWidth&&setTimeout(function(){_this.setItemsToShow(!0)},this.props.transitionDuration||defaultTransitionDuration),keyBoardControl&&!this.props.keyBoardControl&&window.removeEventListener("keyup",this.onKeyUp),autoPlay&&!this.props.autoPlay&&this.autoPlay&&(clearInterval(this.autoPlay),this.autoPlay=void 0),autoPlay||!this.props.autoPlay||this.autoPlay||(this.autoPlay=setInterval(this.next,this.props.autoPlaySpeed)),this.props.infinite&&this.correctClonesPosition({domLoaded:domLoaded,isSliding:isSliding})},Carousel.prototype.correctClonesPosition=function(_a){var _this=this,domLoaded=_a.domLoaded,isSliding=_a.isSliding,childrenArr=React.Children.toArray(this.props.children),_b=utils_1.whenEnteredClones(this.state,childrenArr,this.props),hasEnterClonedAfter=_b.hasEnterClonedAfter,hasEnterClonedBefore=_b.hasEnterClonedBefore,nextSlide=_b.nextSlide,nextPosition=_b.nextPosition;this.state.domLoaded&&domLoaded&&isSliding&&!this.state.isSliding&&(hasEnterClonedAfter||hasEnterClonedBefore)&&(this.isAnimationAllowed=!1,setTimeout(function(){_this.setState({transform:nextPosition,currentSlide:nextSlide})},this.props.transitionDuration||defaultTransitionDuration))},Carousel.prototype.next=function(slidesHavePassed){var _this=this;void 0===slidesHavePassed&&(slidesHavePassed=0);var slidesToShow=this.state.slidesToShow,_a=this.props,slidesToSlide=_a.slidesToSlide,afterChange=(_a.infinite,_a.afterChange),beforeChange=_a.beforeChange,nextMaximumSlides=this.state.currentSlide+1+slidesHavePassed+slidesToShow+(slidesHavePassed>0?0:slidesToSlide),nextSlides=this.state.currentSlide+slidesHavePassed+(slidesHavePassed>0?0:slidesToSlide),nextPosition=-this.state.itemWidth*nextSlides,previousSlide=this.state.currentSlide;if(nextMaximumSlides<=this.state.totalItems)"function"==typeof beforeChange&&beforeChange(nextSlides,this.getState()),this.isAnimationAllowed=!0,this.setState({isSliding:!0,transform:nextPosition,currentSlide:nextSlides},function(){_this.setState({isSliding:!1}),"function"==typeof afterChange&&setTimeout(function(){afterChange(previousSlide,_this.getState())},_this.props.transitionDuration||defaultTransitionDuration)});else{if(!(nextMaximumSlides>this.state.totalItems&&this.state.currentSlide!==this.state.totalItems-slidesToShow))return;var maxSlides=this.state.totalItems-slidesToShow,maxPosition=-this.state.itemWidth*maxSlides;"function"==typeof beforeChange&&beforeChange(maxSlides,this.getState()),this.isAnimationAllowed=!0,this.setState({isSliding:!0,transform:maxPosition,currentSlide:maxSlides},function(){_this.setState({isSliding:!1}),"function"==typeof afterChange&&setTimeout(function(){afterChange(previousSlide,_this.getState())},_this.props.transitionDuration||defaultTransitionDuration)})}},Carousel.prototype.previous=function(slidesHavePassed){var _this=this;void 0===slidesHavePassed&&(slidesHavePassed=0);this.state.slidesToShow;var _a=this.props,slidesToSlide=_a.slidesToSlide,afterChange=(_a.infinite,_a.afterChange),beforeChange=_a.beforeChange,nextSlides=this.state.currentSlide-slidesHavePassed-(slidesHavePassed>0?0:slidesToSlide),nextPosition=-this.state.itemWidth*nextSlides,previousSlide=this.state.currentSlide;if(nextSlides>=0)"function"==typeof beforeChange&&beforeChange(nextSlides,this.getState()),this.isAnimationAllowed=!0,this.setState({isSliding:!0,transform:nextPosition,currentSlide:nextSlides},function(){_this.setState({isSliding:!1}),"function"==typeof afterChange&&setTimeout(function(){afterChange(previousSlide,_this.getState())},_this.props.transitionDuration||defaultTransitionDuration)});else{if(!(nextSlides<0&&0!==this.state.currentSlide))return;"function"==typeof beforeChange&&beforeChange(0,this.getState()),this.isAnimationAllowed=!0,this.setState({isSliding:!0,transform:0,currentSlide:0},function(){_this.setState({isSliding:!1}),"function"==typeof afterChange&&setTimeout(function(){afterChange(previousSlide,_this.getState())},_this.props.transitionDuration||defaultTransitionDuration)})}},Carousel.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.onResize),this.props.keyBoardControl&&window.removeEventListener("keyup",this.onKeyUp),this.props.autoPlay&&this.autoPlay&&(clearInterval(this.autoPlay),this.autoPlay=void 0)},Carousel.prototype.resetMoveStatus=function(){this.onMove=!1,this.initialPosition=0,this.lastPosition=0,this.direction=""},Carousel.prototype.handleDown=function(e){if(!(e.touches&&!this.props.swipeable||e&&!e.touches&&!this.props.draggable||this.isInThrottle&&this.props.infinite)){var clientX=(e.touches?e.touches[0]:e).clientX;this.onMove=!0,this.initialPosition=clientX,this.lastPosition=clientX,this.isAnimationAllowed=!1}},Carousel.prototype.handleMove=function(e){if(!(e.touches&&!this.props.swipeable||e&&!e.touches&&!this.props.draggable)){var clientX=(e.touches?e.touches[0]:e).clientX;if(e.touches&&this.autoPlay&&this.props.autoPlay&&(clearInterval(this.autoPlay),this.autoPlay=void 0),this.onMove){var slidesHavePassedRight=Math.round((this.initialPosition-this.lastPosition)/this.state.itemWidth),slidesHavePassedLeft=Math.round((this.lastPosition-this.initialPosition)/this.state.itemWidth);if(this.initialPosition>clientX&&slidesHavePassedRight<=this.state.slidesToShow){this.direction="right";var translateXLimit=Math.abs(-this.state.itemWidth*(this.state.totalItems-this.state.slidesToShow)),nextTranslate=this.state.transform-(this.lastPosition-clientX),isLastSlide=this.state.currentSlide===this.state.totalItems-this.state.slidesToShow;(Math.abs(nextTranslate)<=translateXLimit||isLastSlide&&this.props.infinite)&&this.setState({transform:nextTranslate})}if(clientX>this.initialPosition&&slidesHavePassedLeft<=this.state.slidesToShow){this.direction="left";nextTranslate=this.state.transform+(clientX-this.lastPosition);var isFirstSlide=0===this.state.currentSlide;(nextTranslate<=0||isFirstSlide&&this.props.infinite)&&this.setState({transform:nextTranslate})}this.lastPosition=clientX}}},Carousel.prototype.handleOut=function(e){this.props.autoPlay&&!this.autoPlay&&(this.autoPlay=setInterval(this.next,this.props.autoPlaySpeed));var shouldDisableOnMobile="touchend"===e.type&&!this.props.swipeable,shouldDisableOnDesktop=("mouseleave"===e.type||"mouseup"===e.type)&&!this.props.draggable;if(!shouldDisableOnMobile&&!shouldDisableOnDesktop&&this.onMove){if("right"===this.direction){var slidesHavePassed=Math.round((this.initialPosition-this.lastPosition)/this.state.itemWidth);this.initialPosition-this.lastPosition>=this.props.minimumTouchDrag?this.next(slidesHavePassed):this.correctItemsPosition(this.state.itemWidth,!0)}if("left"===this.direction){slidesHavePassed=Math.round((this.lastPosition-this.initialPosition)/this.state.itemWidth);this.lastPosition-this.initialPosition>this.props.minimumTouchDrag?this.previous(slidesHavePassed):this.correctItemsPosition(this.state.itemWidth,!0)}this.resetMoveStatus()}},Carousel.prototype.onKeyUp=function(e){switch(e.keyCode){case 37:return this.previous();case 39:return this.next()}},Carousel.prototype.handleEnter=function(){this.autoPlay&&this.props.autoPlay&&(clearInterval(this.autoPlay),this.autoPlay=void 0)},Carousel.prototype.goToSlide=function(slide){var _this=this,itemWidth=this.state.itemWidth,_a=this.props,afterChange=_a.afterChange,beforeChange=_a.beforeChange,previousSlide=this.state.currentSlide;"function"==typeof beforeChange&&beforeChange(slide,this.getState()),this.isAnimationAllowed=!0,this.setState({currentSlide:slide,transform:-itemWidth*slide},function(){_this.props.infinite&&_this.correctClonesPosition({domLoaded:!0,isSliding:!0}),"function"==typeof afterChange&&setTimeout(function(){afterChange(previousSlide,_this.getState())},_this.props.transitionDuration||defaultTransitionDuration)})},Carousel.prototype.getState=function(){return __assign({},this.state,{onMove:this.onMove,direction:this.direction})},Carousel.prototype.renderLeftArrow=function(){var _this=this,customLeftArrow=this.props.customLeftArrow;return React.createElement(Arrows_1.LeftArrow,{customLeftArrow:customLeftArrow,getState:function(){return _this.getState()},previous:this.previous})},Carousel.prototype.renderRightArrow=function(){var _this=this,customRightArrow=this.props.customRightArrow;return React.createElement(Arrows_1.RightArrow,{customRightArrow:customRightArrow,getState:function(){return _this.getState()},next:this.next})},Carousel.prototype.renderButtonGroups=function(){var _this=this,customButtonGroup=this.props.customButtonGroup;return customButtonGroup?React.cloneElement(customButtonGroup,{previous:function(){return _this.previous()},next:function(){return _this.next()},goToSlide:function(slideIndex){return _this.goToSlide(slideIndex)},carouselState:this.getState()}):null},Carousel.prototype.renderDotsList=function(){var _this=this;return React.createElement(Dots_1.default,{state:this.state,props:this.props,goToSlide:this.goToSlide,getState:function(){return _this.getState()}})},Carousel.prototype.renderCarouselItems=function(){return React.createElement(CarouselItems_1.default,{state:this.state,props:this.props})},Carousel.prototype.render=function(){var slidesToShow=this.state.slidesToShow,_a=this.props,deviceType=_a.deviceType,slidesToSlide=_a.slidesToSlide,arrows=_a.arrows,removeArrowOnDeviceType=_a.removeArrowOnDeviceType,infinite=_a.infinite,containerClass=_a.containerClass,sliderClass=_a.sliderClass,customTransition=_a.customTransition,partialVisbile=_a.partialVisbile,_b=utils_1.getInitialState(this.state,this.props),shouldRenderOnSSR=_b.shouldRenderOnSSR,paritialVisibilityGutter=_b.paritialVisibilityGutter,isLeftEndReach=!(this.state.currentSlide-slidesToSlide>=0),isRightEndReach=!(this.state.currentSlide+1+slidesToShow<=this.state.totalItems),shouldShowArrows=arrows&&!(removeArrowOnDeviceType&&(deviceType&&removeArrowOnDeviceType.indexOf(deviceType)>-1||this.state.deviceType&&removeArrowOnDeviceType.indexOf(this.state.deviceType)>-1)),disableLeftArrow=!infinite&&isLeftEndReach,disableRightArrow=!infinite&&isRightEndReach,currentTransform=paritialVisibilityGutter&&partialVisbile?"right"===partialVisbile?this.state.transform+this.state.currentSlide*paritialVisibilityGutter:this.state.transform+this.state.currentSlide*paritialVisibilityGutter+(0===this.state.currentSlide?0:paritialVisibilityGutter+paritialVisibilityGutter/2):this.state.transform;return React.createElement("div",{className:"react-multi-carousel-list "+containerClass,ref:this.containerRef},React.createElement("ul",{className:"react-multi-carousel-track "+sliderClass,style:{transition:this.isAnimationAllowed?customTransition||"transform 400ms ease-in-out":"none",overflow:shouldRenderOnSSR?"hidden":"unset",transform:"translate3d("+currentTransform+"px,0,0)"},onMouseMove:this.handleMove,onMouseDown:this.handleDown,onMouseUp:this.handleOut,onMouseEnter:this.handleEnter,onMouseLeave:this.handleOut,onTouchStart:this.handleDown,onTouchMove:this.handleMove,onTouchEnd:this.handleOut},this.renderCarouselItems()),shouldShowArrows&&!disableLeftArrow&&this.renderLeftArrow(),shouldShowArrows&&!disableRightArrow&&this.renderRightArrow(),this.renderButtonGroups(),this.renderDotsList())},Carousel.defaultProps={slidesToSlide:1,infinite:!1,draggable:!0,swipeable:!0,arrows:!0,containerClass:"",sliderClass:"",itemClass:"",keyBoardControl:!0,autoPlaySpeed:3e3,showDots:!1,minimumTouchDrag:80,dotListClass:""},Carousel}(React.Component);exports.default=Carousel},1708:function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getOriginalCounterPart=function(index,_a,childrenArr){var slidesToShow=_a.slidesToShow,currentSlide=_a.currentSlide;return _a.totalItems,childrenArr.length>2*slidesToShow?index+2*slidesToShow:currentSlide>=childrenArr.length?childrenArr.length+index:index},exports.getCloneCounterPart=function(index,_a,childrenArr){var slidesToShow=_a.slidesToShow;return _a.totalItems,childrenArr.length>2*slidesToShow?index-(childrenArr.length-2*slidesToShow):null},exports.getClones=function(slidesToShow,childrenArr){var initialSlide,clones;return childrenArr.length>2*slidesToShow?(clones=childrenArr.slice(childrenArr.length-2*slidesToShow,childrenArr.length).concat(childrenArr,childrenArr.slice(0,2*slidesToShow)),initialSlide=2*slidesToShow):(clones=childrenArr.concat(childrenArr,childrenArr),initialSlide=childrenArr.length),{clones:clones,initialSlide:initialSlide}},exports.whenEnteredClones=function(_a,childrenArr,props){var hasEnterClonedAfter,currentSlide=_a.currentSlide,slidesToShow=_a.slidesToShow,itemWidth=_a.itemWidth,totalItems=_a.totalItems,nextSlide=0,nextPosition=0,hasEnterClonedBefore=0===currentSlide,originalFirstSlide=childrenArr.length-(childrenArr.length-2*slidesToShow);return childrenArr.length>2*slidesToShow?((hasEnterClonedAfter=currentSlide>=originalFirstSlide+childrenArr.length)&&(nextPosition=-itemWidth*(nextSlide=currentSlide-childrenArr.length)),hasEnterClonedBefore&&(nextPosition=-itemWidth*(nextSlide=originalFirstSlide+(childrenArr.length-2*slidesToShow)))):((hasEnterClonedAfter=currentSlide>=2*childrenArr.length)&&(nextPosition=-itemWidth*(nextSlide=currentSlide-childrenArr.length)),hasEnterClonedBefore&&(nextPosition=props.showDots?-itemWidth*(nextSlide=childrenArr.length):-itemWidth*(nextSlide=totalItems-2*slidesToShow))),{hasEnterClonedAfter:hasEnterClonedAfter,hasEnterClonedBefore:hasEnterClonedBefore,nextSlide:nextSlide,nextPosition:nextPosition}}},1709:function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var elementWidth_1=__webpack_require__(262);exports.getInitialState=function(state,props){var flexBisis,domLoaded=state.domLoaded,slidesToShow=state.slidesToShow,containerWidth=state.containerWidth,itemWidth=state.itemWidth,deviceType=props.deviceType,responsive=props.responsive,ssr=props.ssr,partialVisbile=props.partialVisbile,domFullyLoaded=Boolean(domLoaded&&slidesToShow&&containerWidth&&itemWidth);return ssr&&deviceType&&!domFullyLoaded&&(flexBisis=elementWidth_1.getWidthFromDeviceType(deviceType,responsive)),{shouldRenderOnSSR:Boolean(ssr&&deviceType&&!domFullyLoaded&&flexBisis),flexBisis:flexBisis,domFullyLoaded:domFullyLoaded,paritialVisibilityGutter:elementWidth_1.getParitialVisibilityGutter(responsive,partialVisbile,deviceType,state.deviceType)}},exports.getIfSlideIsVisbile=function(index,state){var currentSlide=state.currentSlide,slidesToShow=state.slidesToShow;return index>=currentSlide&&index {\n return (\n \n );\n};\n\nexport default Image;\n"],"mappings":"AAAA","sourceRoot":""} \ No newline at end of file diff --git a/.out/runtime~main.8c264f6eb3c1802daf2b.bundle.js b/.out/runtime~main.8c264f6eb3c1802daf2b.bundle.js new file mode 100644 index 00000000..001719d3 --- /dev/null +++ b/.out/runtime~main.8c264f6eb3c1802daf2b.bundle.js @@ -0,0 +1,2 @@ +!function(modules){function webpackJsonpCallback(data){for(var moduleId,chunkId,chunkIds=data[0],moreModules=data[1],executeModules=data[2],i=0,resolves=[];i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}},,function(module,exports,__webpack_require__){"use strict";var keys=__webpack_require__(117),hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),toStr=Object.prototype.toString,concat=Array.prototype.concat,origDefineProperty=Object.defineProperty,supportsDescriptors=origDefineProperty&&function(){var obj={};try{for(var _ in origDefineProperty(obj,"x",{enumerable:!1,value:obj}),obj)return!1;return obj.x===obj}catch(e){return!1}}(),defineProperty=function(object,name,value,predicate){var fn;name in object&&("function"!=typeof(fn=predicate)||"[object Function]"!==toStr.call(fn)||!predicate())||(supportsDescriptors?origDefineProperty(object,name,{configurable:!0,enumerable:!1,value:value,writable:!0}):object[name]=value)},defineProperties=function(object,map){var predicates=arguments.length>2?arguments[2]:{},props=keys(map);hasSymbols&&(props=concat.call(props,Object.getOwnPropertySymbols(map)));for(var i=0;ii;)$defineProperty(it,key=keys[i++],P[key]);return it},$propertyIsEnumerable=function(key){var E=isEnum.call(this,key=toPrimitive(key,!0));return!(this===ObjectProto&&has(AllSymbols,key)&&!has(OPSymbols,key))&&(!(E||!has(this,key)||!has(AllSymbols,key)||has(this,HIDDEN)&&this[HIDDEN][key])||E)},$getOwnPropertyDescriptor=function(it,key){if(it=toIObject(it),key=toPrimitive(key,!0),it!==ObjectProto||!has(AllSymbols,key)||has(OPSymbols,key)){var D=gOPD(it,key);return!D||!has(AllSymbols,key)||has(it,HIDDEN)&&it[HIDDEN][key]||(D.enumerable=!0),D}},$getOwnPropertyNames=function(it){for(var key,names=gOPN(toIObject(it)),result=[],i=0;names.length>i;)has(AllSymbols,key=names[i++])||key==HIDDEN||key==META||result.push(key);return result},$getOwnPropertySymbols=function(it){for(var key,IS_OP=it===ObjectProto,names=gOPN(IS_OP?OPSymbols:toIObject(it)),result=[],i=0;names.length>i;)!has(AllSymbols,key=names[i++])||IS_OP&&!has(ObjectProto,key)||result.push(AllSymbols[key]);return result};USE_NATIVE||(redefine(($Symbol=function(){if(this instanceof $Symbol)throw TypeError("Symbol is not a constructor!");var tag=uid(arguments.length>0?arguments[0]:void 0),$set=function(value){this===ObjectProto&&$set.call(OPSymbols,value),has(this,HIDDEN)&&has(this[HIDDEN],tag)&&(this[HIDDEN][tag]=!1),setSymbolDesc(this,tag,createDesc(1,value))};return DESCRIPTORS&&setter&&setSymbolDesc(ObjectProto,tag,{configurable:!0,set:$set}),wrap(tag)}).prototype,"toString",function(){return this._k}),$GOPD.f=$getOwnPropertyDescriptor,$DP.f=$defineProperty,__webpack_require__(92).f=gOPNExt.f=$getOwnPropertyNames,__webpack_require__(80).f=$propertyIsEnumerable,__webpack_require__(127).f=$getOwnPropertySymbols,DESCRIPTORS&&!__webpack_require__(78)&&redefine(ObjectProto,"propertyIsEnumerable",$propertyIsEnumerable,!0),wksExt.f=function(name){return wrap(wks(name))}),$export($export.G+$export.W+$export.F*!USE_NATIVE,{Symbol:$Symbol});for(var es6Symbols="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),j=0;es6Symbols.length>j;)wks(es6Symbols[j++]);for(var wellKnownSymbols=$keys(wks.store),k=0;wellKnownSymbols.length>k;)wksDefine(wellKnownSymbols[k++]);$export($export.S+$export.F*!USE_NATIVE,"Symbol",{for:function(key){return has(SymbolRegistry,key+="")?SymbolRegistry[key]:SymbolRegistry[key]=$Symbol(key)},keyFor:function(sym){if(!isSymbol(sym))throw TypeError(sym+" is not a symbol!");for(var key in SymbolRegistry)if(SymbolRegistry[key]===sym)return key},useSetter:function(){setter=!0},useSimple:function(){setter=!1}}),$export($export.S+$export.F*!USE_NATIVE,"Object",{create:function(it,P){return void 0===P?_create(it):$defineProperties(_create(it),P)},defineProperty:$defineProperty,defineProperties:$defineProperties,getOwnPropertyDescriptor:$getOwnPropertyDescriptor,getOwnPropertyNames:$getOwnPropertyNames,getOwnPropertySymbols:$getOwnPropertySymbols}),$JSON&&$export($export.S+$export.F*(!USE_NATIVE||$fails(function(){var S=$Symbol();return"[null]"!=_stringify([S])||"{}"!=_stringify({a:S})||"{}"!=_stringify(Object(S))})),"JSON",{stringify:function(it){for(var replacer,$replacer,args=[it],i=1;arguments.length>i;)args.push(arguments[i++]);if($replacer=replacer=args[1],(isObject(replacer)||void 0!==it)&&!isSymbol(it))return isArray(replacer)||(replacer=function(key,value){if("function"==typeof $replacer&&(value=$replacer.call(this,key,value)),!isSymbol(value))return value}),args[1]=replacer,_stringify.apply($JSON,args)}}),$Symbol.prototype[TO_PRIMITIVE]||__webpack_require__(42)($Symbol.prototype,TO_PRIMITIVE,$Symbol.prototype.valueOf),setToStringTag($Symbol,"Symbol"),setToStringTag(Math,"Math",!0),setToStringTag(global.JSON,"JSON",!0)},function(module,exports,__webpack_require__){module.exports=!__webpack_require__(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(module,exports,__webpack_require__){var isObject=__webpack_require__(12);module.exports=function(it){if(!isObject(it))throw TypeError(it+" is not an object!");return it}},function(module,exports,__webpack_require__){__webpack_require__(123)("asyncIterator")},function(module,exports,__webpack_require__){"use strict";var addToUnscopables=__webpack_require__(130),step=__webpack_require__(188),Iterators=__webpack_require__(82),toIObject=__webpack_require__(53);module.exports=__webpack_require__(131)(Array,"Array",function(iterated,kind){this._t=toIObject(iterated),this._i=0,this._k=kind},function(){var O=this._t,kind=this._k,index=this._i++;return!O||index>=O.length?(this._t=void 0,step(1)):step(0,"keys"==kind?index:"values"==kind?O[index]:[index,O[index]])},"values"),Iterators.Arguments=Iterators.Array,addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries")},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(3),$forEach=__webpack_require__(68)(0),STRICT=__webpack_require__(69)([].forEach,!0);$export($export.P+$export.F*!STRICT,"Array",{forEach:function(callbackfn){return $forEach(this,callbackfn,arguments[1])}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var obj,_TemplateTag=__webpack_require__(403),_TemplateTag2=(obj=_TemplateTag)&&obj.__esModule?obj:{default:obj};exports.default=_TemplateTag2.default,module.exports=exports.default},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var obj,_trimResultTransformer=__webpack_require__(404),_trimResultTransformer2=(obj=_trimResultTransformer)&&obj.__esModule?obj:{default:obj};exports.default=_trimResultTransformer2.default,module.exports=exports.default},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__; +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/ +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/ +!function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes=[],i=0;i1&&void 0!==arguments[1]?arguments[1]:{};return function(Component){var _extends2,_options$withTheme=options.withTheme,withTheme=void 0!==_options$withTheme&&_options$withTheme,_options$flip=options.flip,flip=void 0===_options$flip?null:_options$flip,name=options.name,styleSheetOptions=(0,_objectWithoutProperties2.default)(options,["withTheme","flip","name"]),stylesCreator=(0,_getStylesCreator.default)(stylesOrCreator),listenToTheme=stylesCreator.themingEnabled||"string"==typeof name||withTheme;indexCounter+=1,stylesCreator.options.index=indexCounter;var WithStyles=function(_React$Component){function WithStyles(props,context){var _this;(0,_classCallCheck2.default)(this,WithStyles),(_this=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(WithStyles).call(this,props,context))).jss=context[_reactJssContext.default.jss]||jss,_this.sheetsManager=sheetsManager,_this.unsubscribeId=null;var muiThemeProviderOptions=context.muiThemeProviderOptions;return muiThemeProviderOptions&&(muiThemeProviderOptions.sheetsManager&&(_this.sheetsManager=muiThemeProviderOptions.sheetsManager),_this.sheetsCache=muiThemeProviderOptions.sheetsCache,_this.disableStylesGeneration=muiThemeProviderOptions.disableStylesGeneration),_this.stylesCreatorSaved=stylesCreator,_this.sheetOptions=(0,_extends3.default)({generateClassName:generateClassName},context[_reactJssContext.default.sheetOptions]),_this.theme=listenToTheme?_themeListener.default.initial(context)||defaultTheme:noopTheme,_this.attach(_this.theme),_this.cacheClasses={value:null,lastProp:null,lastJSS:{}},_this}return(0,_inherits2.default)(WithStyles,_React$Component),(0,_createClass2.default)(WithStyles,[{key:"componentDidMount",value:function(){var _this2=this;listenToTheme&&(this.unsubscribeId=_themeListener.default.subscribe(this.context,function(theme){var oldTheme=_this2.theme;_this2.theme=theme,_this2.attach(_this2.theme),_this2.setState({},function(){_this2.detach(oldTheme)})}))}},{key:"componentDidUpdate",value:function(){this.stylesCreatorSaved}},{key:"componentWillUnmount",value:function(){this.detach(this.theme),null!==this.unsubscribeId&&_themeListener.default.unsubscribe(this.context,this.unsubscribeId)}},{key:"getClasses",value:function(){if(this.disableStylesGeneration)return this.props.classes||{};var generate=!1,sheetManager=_multiKeyStore.default.get(this.sheetsManager,this.stylesCreatorSaved,this.theme);return sheetManager.sheet.classes!==this.cacheClasses.lastJSS&&(this.cacheClasses.lastJSS=sheetManager.sheet.classes,generate=!0),this.props.classes!==this.cacheClasses.lastProp&&(this.cacheClasses.lastProp=this.props.classes,generate=!0),generate&&(this.cacheClasses.value=(0,_mergeClasses.default)({baseClasses:this.cacheClasses.lastJSS,newClasses:this.props.classes,Component:Component})),this.cacheClasses.value}},{key:"attach",value:function(theme){if(!this.disableStylesGeneration){var stylesCreatorSaved=this.stylesCreatorSaved,sheetManager=_multiKeyStore.default.get(this.sheetsManager,stylesCreatorSaved,theme);if(sheetManager||(sheetManager={refs:0,sheet:null},_multiKeyStore.default.set(this.sheetsManager,stylesCreatorSaved,theme,sheetManager)),0===sheetManager.refs){var sheet;this.sheetsCache&&(sheet=_multiKeyStore.default.get(this.sheetsCache,stylesCreatorSaved,theme)),sheet||((sheet=this.createSheet(theme)).attach(),this.sheetsCache&&_multiKeyStore.default.set(this.sheetsCache,stylesCreatorSaved,theme,sheet)),sheetManager.sheet=sheet;var sheetsRegistry=this.context[_reactJssContext.default.sheetsRegistry];sheetsRegistry&&sheetsRegistry.add(sheet)}sheetManager.refs+=1}}},{key:"createSheet",value:function(theme){var styles=this.stylesCreatorSaved.create(theme,name),meta=name;return this.jss.createStyleSheet(styles,(0,_extends3.default)({meta:meta,classNamePrefix:meta,flip:"boolean"==typeof flip?flip:"rtl"===theme.direction,link:!1},this.sheetOptions,this.stylesCreatorSaved.options,{name:name||Component.displayName},styleSheetOptions))}},{key:"detach",value:function(theme){if(!this.disableStylesGeneration){var sheetManager=_multiKeyStore.default.get(this.sheetsManager,this.stylesCreatorSaved,theme);if(sheetManager.refs-=1,0===sheetManager.refs){_multiKeyStore.default.delete(this.sheetsManager,this.stylesCreatorSaved,theme),this.jss.removeStyleSheet(sheetManager.sheet);var sheetsRegistry=this.context[_reactJssContext.default.sheetsRegistry];sheetsRegistry&&sheetsRegistry.remove(sheetManager.sheet)}}}},{key:"render",value:function(){var _this$props=this.props,innerRef=(_this$props.classes,_this$props.innerRef),other=(0,_objectWithoutProperties2.default)(_this$props,["classes","innerRef"]),more=(0,_getThemeProps.default)({theme:this.theme,name:name,props:other});return withTheme&&!more.theme&&(more.theme=this.theme),_react.default.createElement(Component,(0,_extends3.default)({},more,{classes:this.getClasses(),ref:innerRef}))}}]),WithStyles}(_react.default.Component);return WithStyles.contextTypes=(0,_extends3.default)((_extends2={muiThemeProviderOptions:_propTypes.default.object},(0,_defineProperty2.default)(_extends2,_reactJssContext.default.jss,_propTypes.default.object),(0,_defineProperty2.default)(_extends2,_reactJssContext.default.sheetOptions,_propTypes.default.object),(0,_defineProperty2.default)(_extends2,_reactJssContext.default.sheetsRegistry,_propTypes.default.object),_extends2),listenToTheme?_themeListener.default.contextTypes:{}),(0,_hoistNonReactStatics.default)(WithStyles,Component),WithStyles}});exports.default=function(styles,options){return _utils.ponyfillGlobal.__MUI_STYLES__.withStyles(styles,(0,_extends3.default)({defaultTheme:defaultTheme},options))}},function(module,exports,__webpack_require__){"use strict";var implementation=__webpack_require__(287);module.exports=Function.prototype.bind||implementation},function(module,exports,__webpack_require__){var dP=__webpack_require__(23).f,FProto=Function.prototype,nameRE=/^\s*function ([^ (]*)/;"name"in FProto||__webpack_require__(15)&&dP(FProto,"name",{configurable:!0,get:function(){try{return(""+this).match(nameRE)[1]}catch(e){return""}}})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var obj,_inlineArrayTransformer=__webpack_require__(410),_inlineArrayTransformer2=(obj=_inlineArrayTransformer)&&obj.__esModule?obj:{default:obj};exports.default=_inlineArrayTransformer2.default,module.exports=exports.default},function(module,exports,__webpack_require__){(function(global){var win;win="undefined"!=typeof window?window:void 0!==global?global:"undefined"!=typeof self?self:{},module.exports=win}).call(this,__webpack_require__(26))},function(module,exports,__webpack_require__){var toObject=__webpack_require__(44),$keys=__webpack_require__(52);__webpack_require__(189)("keys",function(){return function(it){return $keys(toObject(it))}})},function(module,exports){var hasOwnProperty={}.hasOwnProperty;module.exports=function(it,key){return hasOwnProperty.call(it,key)}},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(124),min=Math.min;module.exports=function(it){return it>0?min(toInteger(it),9007199254740991):0}},function(module,exports,__webpack_require__){var $export=__webpack_require__(3);$export($export.S,"Array",{isArray:__webpack_require__(128)})},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var obj,_stripIndentTransformer=__webpack_require__(405),_stripIndentTransformer2=(obj=_stripIndentTransformer)&&obj.__esModule?obj:{default:obj};exports.default=_stripIndentTransformer2.default,module.exports=exports.default},function(module,exports,__webpack_require__){var freeGlobal=__webpack_require__(220),freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")();module.exports=root},function(module,exports){var core=module.exports={version:"2.6.5"};"number"==typeof __e&&(__e=core)},function(module,exports,__webpack_require__){var dP=__webpack_require__(23),createDesc=__webpack_require__(76);module.exports=__webpack_require__(15)?function(object,key,value){return dP.f(object,key,createDesc(1,value))}:function(object,key,value){return object[key]=value,object}},function(module,exports,__webpack_require__){var aFunction=__webpack_require__(51);module.exports=function(fn,that,length){if(aFunction(fn),void 0===that)return fn;switch(length){case 1:return function(a){return fn.call(that,a)};case 2:return function(a,b){return fn.call(that,a,b)};case 3:return function(a,b,c){return fn.call(that,a,b,c)}}return function(){return fn.apply(that,arguments)}}},function(module,exports,__webpack_require__){var defined=__webpack_require__(55);module.exports=function(it){return Object(defined(it))}},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(3),$filter=__webpack_require__(68)(2);$export($export.P+$export.F*!__webpack_require__(69)([].filter,!0),"Array",{filter:function(callbackfn){return $filter(this,callbackfn,arguments[1])}})},function(module,exports,__webpack_require__){"use strict";var $export=__webpack_require__(3),$map=__webpack_require__(68)(1);$export($export.P+$export.F*!__webpack_require__(69)([].map,!0),"Array",{map:function(callbackfn){return $map(this,callbackfn,arguments[1])}})},function(module,exports,__webpack_require__){"use strict";__webpack_require__(371);var anObject=__webpack_require__(16),$flags=__webpack_require__(96),DESCRIPTORS=__webpack_require__(15),$toString=/./.toString,define=function(fn){__webpack_require__(27)(RegExp.prototype,"toString",fn,!0)};__webpack_require__(11)(function(){return"/a/b"!=$toString.call({source:"a",flags:"b"})})?define(function(){var R=anObject(this);return"/".concat(R.source,"/","flags"in R?R.flags:!DESCRIPTORS&&R instanceof RegExp?$flags.call(R):void 0)}):"toString"!=$toString.name&&define(function(){return $toString.call(this)})},function(module,exports,__webpack_require__){var DateProto=Date.prototype,$toString=DateProto.toString,getTime=DateProto.getTime;new Date(NaN)+""!="Invalid Date"&&__webpack_require__(27)(DateProto,"toString",function(){var value=getTime.call(this);return value==value?$toString.call(this):"Invalid Date"})},,function(module,exports,__webpack_require__){"use strict";(function(global){var origSymbol=global.Symbol,hasSymbolSham=__webpack_require__(297);module.exports=function(){return"function"==typeof origSymbol&&("function"==typeof Symbol&&("symbol"==typeof origSymbol("foo")&&("symbol"==typeof Symbol("bar")&&hasSymbolSham())))}}).call(this,__webpack_require__(26))},function(module,exports){module.exports=function(it){if("function"!=typeof it)throw TypeError(it+" is not a function!");return it}},function(module,exports,__webpack_require__){var $keys=__webpack_require__(182),enumBugKeys=__webpack_require__(126);module.exports=Object.keys||function(O){return $keys(O,enumBugKeys)}},function(module,exports,__webpack_require__){var IObject=__webpack_require__(91),defined=__webpack_require__(55);module.exports=function(it){return IObject(defined(it))}},function(module,exports){var toString={}.toString;module.exports=function(it){return toString.call(it).slice(8,-1)}},function(module,exports){module.exports=function(it){if(null==it)throw TypeError("Can't call method on "+it);return it}},function(module,exports){module.exports={CHANNEL_CREATED:"channelCreated",GET_CURRENT_STORY:"getCurrentStory",SET_CURRENT_STORY:"setCurrentStory",GET_STORIES:"getStories",SET_STORIES:"setStories",SELECT_STORY:"selectStory",APPLY_SHORTCUT:"applyShortcut",STORY_ADDED:"storyAdded",FORCE_RE_RENDER:"forceReRender",REGISTER_SUBSCRIPTION:"registerSubscription",STORY_RENDERED:"storyRendered",STORY_ERRORED:"storyErrored",STORY_THREW_EXCEPTION:"storyThrewException"}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var obj,_replaceResultTransformer=__webpack_require__(406),_replaceResultTransformer2=(obj=_replaceResultTransformer)&&obj.__esModule?obj:{default:obj};exports.default=_replaceResultTransformer2.default,module.exports=exports.default},function(module,exports){module.exports=function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}},function(module,exports){function _defineProperties(target,props){for(var i=0;i1&&"boolean"!=typeof allowMissing)throw new TypeError('"allowMissing" argument must be a boolean');var key="$ "+name;if(!(key in INTRINSICS))throw new SyntaxError("intrinsic "+name+" does not exist!");if(void 0===INTRINSICS[key]&&!allowMissing)throw new TypeError("intrinsic "+name+" exists, but is not available. Please file an issue!");return INTRINSICS[key]}},function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__(119)},function(module,exports,__webpack_require__){var META=__webpack_require__(77)("meta"),isObject=__webpack_require__(12),has=__webpack_require__(36),setDesc=__webpack_require__(23).f,id=0,isExtensible=Object.isExtensible||function(){return!0},FREEZE=!__webpack_require__(11)(function(){return isExtensible(Object.preventExtensions({}))}),setMeta=function(it){setDesc(it,META,{value:{i:"O"+ ++id,w:{}}})},meta=module.exports={KEY:META,NEED:!1,fastKey:function(it,create){if(!isObject(it))return"symbol"==typeof it?it:("string"==typeof it?"S":"P")+it;if(!has(it,META)){if(!isExtensible(it))return"F";if(!create)return"E";setMeta(it)}return it[META].i},getWeak:function(it,create){if(!has(it,META)){if(!isExtensible(it))return!0;if(!create)return!1;setMeta(it)}return it[META].w},onFreeze:function(it){return FREEZE&&meta.NEED&&isExtensible(it)&&!has(it,META)&&setMeta(it),it}}},function(module,exports,__webpack_require__){var ctx=__webpack_require__(43),IObject=__webpack_require__(91),toObject=__webpack_require__(44),toLength=__webpack_require__(37),asc=__webpack_require__(358);module.exports=function(TYPE,$create){var IS_MAP=1==TYPE,IS_FILTER=2==TYPE,IS_SOME=3==TYPE,IS_EVERY=4==TYPE,IS_FIND_INDEX=6==TYPE,NO_HOLES=5==TYPE||IS_FIND_INDEX,create=$create||asc;return function($this,callbackfn,that){for(var val,res,O=toObject($this),self=IObject(O),f=ctx(callbackfn,that,3),length=toLength(self.length),index=0,result=IS_MAP?create($this,length):IS_FILTER?create($this,0):void 0;length>index;index++)if((NO_HOLES||index in self)&&(res=f(val=self[index],index,O),TYPE))if(IS_MAP)result[index]=res;else if(res)switch(TYPE){case 3:return!0;case 5:return val;case 6:return index;case 2:result.push(val)}else if(IS_EVERY)return!1;return IS_FIND_INDEX?-1:IS_SOME||IS_EVERY?IS_EVERY:result}}},function(module,exports,__webpack_require__){"use strict";var fails=__webpack_require__(11);module.exports=function(method,arg){return!!method&&fails(function(){arg?method.call(null,function(){},1):method.call(null)})}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"mockChannel",{enumerable:!0,get:function(){return _storybookChannelMock.default}}),Object.defineProperty(exports,"makeDecorator",{enumerable:!0,get:function(){return _makeDecorator.makeDecorator}}),exports.default=exports.AddonStore=void 0,__webpack_require__(1),__webpack_require__(32),__webpack_require__(18),__webpack_require__(35),__webpack_require__(46),__webpack_require__(13),__webpack_require__(19);var _global=_interopRequireDefault(__webpack_require__(34)),_storybookChannelMock=_interopRequireDefault(__webpack_require__(367)),_makeDecorator=__webpack_require__(372);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _defineProperties(target,props){for(var i=0;i=O.length?{value:void 0,done:!0}:(point=$at(O,index),this._i+=point.length,{value:point,done:!1})})},function(module,exports,__webpack_require__){var baseIsNative=__webpack_require__(1559),getValue=__webpack_require__(1562);module.exports=function(object,key){var value=getValue(object,key);return baseIsNative(value)?value:void 0}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _extends=Object.assign||function(target){for(var i=1;i= 0");var index=this.ToLength(integerIndex);if(!this.SameValueZero(integerIndex,index))throw new RangeError("index must be >= 0 and < 2 ** 53 - 1");return index},EnumerableOwnProperties:function(O,kind){var keys=ES2016.EnumerableOwnNames(O);if("key"===kind)return keys;if("value"===kind||"key+value"===kind){var results=[];return forEach(keys,function(key){$isEnumerable(O,key)&&$pushApply(results,["value"===kind?O[key]:[key,O[key]]])}),results}throw new $TypeError('Assertion failed: "kind" is not "key", "value", or "key+value": '+kind)}});delete ES2017.EnumerableOwnNames,module.exports=ES2017},function(module,exports){module.exports=function(bitmap,value){return{enumerable:!(1&bitmap),configurable:!(2&bitmap),writable:!(4&bitmap),value:value}}},function(module,exports){var id=0,px=Math.random();module.exports=function(key){return"Symbol(".concat(void 0===key?"":key,")_",(++id+px).toString(36))}},function(module,exports){module.exports=!1},function(module,exports,__webpack_require__){var def=__webpack_require__(23).f,has=__webpack_require__(36),TAG=__webpack_require__(5)("toStringTag");module.exports=function(it,tag,stat){it&&!has(it=stat?it:it.prototype,TAG)&&def(it,TAG,{configurable:!0,value:tag})}},function(module,exports){exports.f={}.propertyIsEnumerable},function(module,exports,__webpack_require__){var anObject=__webpack_require__(16),dPs=__webpack_require__(185),enumBugKeys=__webpack_require__(126),IE_PROTO=__webpack_require__(125)("IE_PROTO"),Empty=function(){},createDict=function(){var iframeDocument,iframe=__webpack_require__(122)("iframe"),i=enumBugKeys.length;for(iframe.style.display="none",__webpack_require__(186).appendChild(iframe),iframe.src="javascript:",(iframeDocument=iframe.contentWindow.document).open(),iframeDocument.write("