User:RHo (WMF)/testgadget.js

!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function{return e.default}:function{return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t,n){"use strict";e.exports=n(21)},function(e,t,n){var r;"undefined"!=typeof self&&self,r=function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function{return e.default}:function{return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=5)}([function(t,n){t.exports=e},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function{function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}},o=n(0),i=l(o),a=l(n(7));function l(e){return e&&e.__esModule?e:{default:e}}n(17);var u=function(e){function t{return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"render",value:function{var e,t,n=this.props,r=this.props.title,o=this.props.className?"card "+this.props.className:"card",l=this.props.metaInfo,u={backgroundImage:this.props.thumbnail?'url("'+this.props.thumbnail.source+'")':l?"none":"linear-gradient(transparent,transparent),url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2056%2056%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23eee%22%20d%3D%22M0%200h56v56H0z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23999%22%20d%3D%22M36.4%2013.5H17.8v24.9c0%201.4.9%202.3%202.3%202.3h18.7v-25c.1-1.4-1-2.2-2.4-2.2zM30.2%2017h5.1v6.4h-5.1V17zm-8.8%200h6v1.8h-6V17zm0%204.6h6v1.8h-6v-1.8zm0%2015.5v-1.8h13.8v1.8H21.4zm13.8-4.5H21.4v-1.8h13.8v1.8zm0-4.7H21.4v-1.8h13.8v1.8z%22%2F%3E%0A%3C%2Fsvg%3E%0A)"},c=this.props.extracts.map(function(e,t){return i.default.createElement("p",{className:"card-extract",key:"card-extract-"+r+"-"+t,title:"string"==typeof e?e:null},i.default.createElement(a.default,null,e))}),s=void 0!==n.url&&null!==n.url?n.url:"/wiki/"+encodeURIComponent(r);return(this.props.thumbnail||this.props.metaInfo||this.props.showPlaceholderIllustration)&&(e=i.default.createElement("div",{className:"card-thumb",style:u},l)),t=r?i.default.createElement("h3",null,i.default.createElement("a",{title:r,href:s},r)):i.default.createElement("a",{className:"card-link",href:s}),i.default.createElement("div",{className:o,onClick:n.onClick},this.props.indicator,e,i.default.createElement("div",{className:"card-detail"},t,c))}}]),t};u.defaultProps={showPlaceholderIllustration:!0,url:null,title:null,indicator:null,thumbnail:null,extracts:[]},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function{function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}},i=n(0),a=(r=i)&&r.__esModule?r:{default:r};n(20);var l=function(e){function t{return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"componentWillMount",value:function{this.setState({jsEnabled:!1})}},{key:"componentDidMount",value:function{this.setState({jsEnabled:!0})}},{key:"render",value:function{var e,t=this.props,n=t.glyph;return this.state.jsEnabled||(!t.href&&t.onClick?n="":t.href&&0===t.href.indexOf("#/")&&(n="")),e={className:(t.className||"")+" mw-ui-icon mw-ui-icon-"+n+" mw-ui-icon-"+(t.type||"element"),href:t.href,id:t.id,onClick:t.onClick},t.small?e.className+=" mw-ui-icon-small":t.large&&(e.className+=" mw-ui-icon-large"),e.href?a.default.createElement("a",e,t.label):a.default.createElement("div",e,t.label)}}]),t};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r};n(40);t.default=function(e){return i.default.createElement("div",{className:"content-container "+(e.className?e.className:"")},e.children)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function{function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}},o=n(0),i=c(o);n(42);var a=c(n(2)),l=c(n(12)),u=c(n(3));function c(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={visible:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"onClose",value:function(e){this.props.onExit&&this.props.onExit(e)}},{key:"componentDidMount",value:function{setTimeout(function{this.setState({visible:!0})}.bind(this),0)}},{key:"render",value:function{var e,t,n=this.props,r="overlay",o=n.className?" "+n.className:"",c=this.state.visible?" visible":"",s=i.default.createElement(a.default,{glyph:"close-gray",className:"close",onClick:this.onClose.bind(this)}),f=n.children[0],d=n.children;return f&&f.type===l.default?(d=n.children.slice(1),t=i.default.createElement(a.default,{glyph:"close",onClick:this.onClose.bind(this),className:"cancel"}),f.props.fixed&&(o+=" overlay-with-fixed-header"),e=f.props.primaryIcon?f:i.default.cloneElement(f,{primaryIcon:t})):this.props.isLightBox?(e=i.default.createElement("div",{className:"lightbox-header"},s),o+=" lightbox"):(e=null,r="drawer"),i.default.createElement("div",{className:r+o+c},e,i.default.createElement(u.default,{className:"overlay-content"},d))}}]),t};s.defaultProps={isLightBox:!1},t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TruncatedText=t.HorizontalList=t.LinkList=t.SearchForm=t.SearchInput=t.Panel=t.ListHeader=t.IntermediateState=t.ErrorBox=t.Toast=t.Overlay=t.Header=t.Content=t.CardDiff=t.CardWithLocation=t.CardList=t.CtaDrawer=t.CollectionOverlay=t.CollectionEditorOverlay=t.CollectionCard=t.Card=t.Checkbox=t.Input=t.Icon=t.Button=void 0;var r=S(n(6)),o=S(n(1)),i=S(n(18)),a=S(n(21)),l=S(n(23)),u=S(n(24)),c=S(n(8)),s=S(n(27)),f=S(n(2)),d=S(n(9)),p=S(n(10)),m=S(n(31)),h=S(n(33)),b=S(n(35)),g=S(n(37)),v=S(n(11)),y=S(n(7)),w=S(n(12)),x=S(n(3)),k=S(n(4)),C=S(n(43)),E=S(n(45)),_=S(n(13)),A=S(n(47)),T=S(n(14));function S(e){return e&&e.__esModule?e:{default:e}}t.Button=r.default,t.Icon=f.default,t.Input=d.default,t.Checkbox=u.default,t.Card=o.default,t.CollectionCard=_.default,t.CollectionEditorOverlay=A.default,t.CollectionOverlay=T.default,t.CtaDrawer=E.default,t.CardList=a.default,t.CardWithLocation=l.default,t.CardDiff=i.default,t.Content=x.default,t.Header=w.default,t.Overlay=k.default,t.Toast=C.default,t.ErrorBox=c.default,t.IntermediateState=p.default,t.ListHeader=h.default,t.Panel=b.default,t.SearchInput=v.default,t.SearchForm=g.default,t.LinkList=m.default,t.HorizontalList=s.default,t.TruncatedText=y.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function{function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}},i=n(0),a=(r=i)&&r.__esModule?r:{default:r};n(15);var l=function(e){function t{return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"componentWillMount",value:function{this.setState({jsEnabled:!1})}},{key:"componentDidMount",value:function{this.setState({jsEnabled:!0})}},{key:"render",value:function{var e,t=this.props,n=!1,r=t.isPrimary?"mw-ui-primary mw-ui-progressive":"";return r+=t.isQuiet?"mw-ui-quiet":"",r+=t.className?" "+t.className:"",n=!(this.state.jsEnabled||!t.onClick||t.href)||t.disabled,(e={className:"mw-ui-button "+r,href:t.href,onClick:t.onClick,disabled:n}).href?a.default.createElement("a",e,t.label):a.default.createElement("button",e,t.label)}}]),t};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r};n(16);t.default=function(e){return i.default.createElement("span",{className:"truncated-text",style:e.style},e.children)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r};n(26);t.default=function(e){return i.default.createElement("div",{className:"errorbox"},e.msg||e.children)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r};n(29);t.default=function(e){var t;return t={className:"mw-ui-input"+(e.className?" "+e.className:""),placeholder:e.placeholder,onInput:e.onInput,disabled:e.disabled,defaultValue:e.defaultValue},e.textarea?i.default.createElement("textarea",t):i.default.createElement("input",t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function{function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}},o=n(0),i=l(o);n(30);var a=l(n(8));function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t{return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"componentWillMount",value:function{this.setState({jsEnabled:!1})}},{key:"componentDidMount",value:function{this.setState({jsEnabled:!0})}},{key:"render",value:function{var e=this.props.msg||"Loading";return i.default.createElement("div",{className:this.state.jsEnabled?"pending":""},this.state.jsEnabled?e:"",i.default.createElement("noscript",null,i.default.createElement(a.default,{msg:"Unable to load on your browser."})))}}]),t};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function{function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}},i=n(0),a=(r=i)&&r.__esModule?r:{default:r};n(38);var l=function(e){function t{return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"onDoSearch",value:function(e){var t=this.props;t.onSearch&&(e.preventDefault,t.onSearch(e.currentTarget.value))}},{key:"componentDidMount",value:function{var e=this.textInput;this.props.focusOnRender&&(e.focus,e.click),this.props.defaultValue&&this.props.onSearch(this.props.defaultValue)}},{key:"render",value:function{var e=this,t=this.props;return a.default.createElement("input",{className:"search",type:"search",placeholder:t.placeholder,ref:function(t){e.textInput=t},name:t.name,autoComplete:"off",onClick:t.onClick,onInput:this.onDoSearch.bind(this),defaultValue:t.defaultValue,onKeyUp:this.onDoSearch.bind(this)})}}]),t};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function{function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}},o=n(0),i=l(o),a=l(n(3));function l(e){return e&&e.__esModule?e:{default:e}}n(41);var u=function(e){function t{return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"render",value:function{var e,t=this.props.fixed?" position-fixed":"",n=this.props.secondaryIcons;return this.props.className&&(t+=" "+this.props.className),e=this.props.primaryIcon?i.default.createElement("div",null,this.props.primaryIcon):null,i.default.createElement("div",{className:"header-container"+t},i.default.createElement(a.default,{className:"header toolbar"},e,i.default.createElement("div",{className:"main overlay-title"},this.props.children),n.map(function(e,t){return i.default.createElement("div",{key:"secondary-icon-"+t},e)})))}}]),t};u.defaultProps={fixed:!1,secondaryIcons:[],primaryIcon:null},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function{function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}},i=n(0),a=c(i),l=c(n(1)),u=c(n(2));function c(e){return e&&e.__esModule?e:{default:e}}n(46);var s=function(e){function t{return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"render",value:function{var e=this.props,t=[e.description];return e.owner&&t.push(a.default.createElement(u.default,{glyph:"user",type:"before",label:e.owner,className:"mw-mf-user",href:e.ownerUrl})),a.default.createElement(l.default,r({},e,{extracts:t}))}}]),t};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function{function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}},i=l(n(0)),a=l(n(4));function l(e){return e&&e.__esModule?e:{default:e}}n(48);var u=function(e){function t{return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.default.Component),o(t,[{key:"render",value:function{var e=this.props,t=e.title||"Add to existing collection",n=e.cancelMsg||"Cancel";return i.default.createElement(a.default,r({},e,{className:"collection-overlay "+e.className,isDrawer:!0}),i.default.createElement("h2",null,t),e.onExit&&i.default.createElement("a",{key:"edit-collection-cancel",className:"cancel",onClick:e.onExit},n),e.children,i.default.createElement("div",{className:"collection-actions",key:"collection-overlay-actions"},e.actions))}}]),t};t.default=u},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function{function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}},i=n(0),a=c(i);n(19);var l=c(n(2)),u=c(n(1));function c(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t{return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"render",value:function{var e,t,n,o,i,c,s=this.props,f=s.user,d=s.anon?"anonymous":"user";return t=[a.default.createElement("span",{className:"edit-summary"},s.comment||"No edit summary")],e=s.userHref||"/"+s.language_project+"/User:"+encodeURIComponent(f),f&&t.unshift(a.default.createElement(l.default,{glyph:d,type:"before",label:f,className:"mw-mf-user",href:e})),n=s.timestamp?new Date(s.timestamp):null,i=(o=s.newlen?s.newlen-s.oldlen:s.sizediff)<0?"bytes-removed":"bytes-added",c=a.default.createElement("div",{className:"meta"},n&&a.default.createElement("p",{className:"timestamp"},n.getUTCHours,":",n.getUTCMinutes),a.default.createElement("p",{className:i},o)),s.minor&&t.push(a.default.createElement("abbr",{className:"minor-edit",title:"This is a minor edit"},"m")),a.default.createElement(u.default,r({className:"card-diff"},s,{extracts:t,metaInfo:c,url:s.url}))}}]),t};t.default=s},function(e,t){},function(e,t){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function{function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}},i=n(0),a=(r=i)&&r.__esModule?r:{default:r};n(22);var l=function(e){function t{return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"render",value:function{var e,t=this.props;return e="card-list component-card-list"+(!t.ordered?" card-list-unordered":""),t.className&&(e+=" "+t.className),t.children&&t.children.length?a.default.createElement("div",{className:e},t.children):a.default.createElement("div",{className:"card-list-empty"},t.emptyMessage)}}]),t};t.default=l},function(e,t){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function{function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}},i=n(0),a=u(i),l=u(n(1));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t{return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"render",value:function{var e,t="m",n=this.props,o=n.description?[n.description]:[];return n.coordinates&&n.coordinates.dist&&((e=parseInt(n.coordinates.dist,10))>=1e3&&(e=parseInt(e/1e3,10),t="km"),o.push(e+t)),a.default.createElement(l.default,r({},n,{extracts:o}))}}]),t};c.defaultProps={terms:null,thumbnail:null},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function{function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}},i=n(0),a=(r=i)&&r.__esModule?r:{default:r};n(25);var l=function(e){function t{return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"componentWillMount",value:function{this.setState({jsEnabled:!1})}},{key:"componentDidMount",value:function{this.setState({jsEnabled:!0})}},{key:"update",value:function(e){var t=e.currentTarget;this.props.onToggle&&this.props.onToggle(t.getAttribute("name"),t.checked)}},{key:"render",value:function{var e=this.props;return a.default.createElement("span",{className:this.state&&this.state.jsEnabled?"client-js":""},a.default.createElement("div",{className:"mw-ui-checkbox"},a.default.createElement("input",{type:"checkbox",name:e.name,defaultChecked:e.checked,onChange:this.update.bind(this)}),a.default.createElement("label",{htmlFor:e.name},e.label)))}}]),t};t.default=l},function(e,t){},function(e,t){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function{function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}},i=n(0),a=(r=i)&&r.__esModule?r:{default:r};n(28);var l=function(e){function t{return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"render",value:function{var e=this.props.className?this.props.className+" hlist":"hlist";return a.default.createElement("ul",{className:e+(this.props.isSeparated?" separated":""),id:this.props.id},this.props.children.map(function(e,t){return a.default.createElement("li",{key:"hlist-"+t},e)}))}}]),t};t.default=l},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function{function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}},i=n(0),a=(r=i)&&r.__esModule?r:{default:r};n(32);var l=function(e){function t{return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"render",value:function{var e=this.props.className?this.props.className+" ":"";return e+="link-list",a.default.createElement("ul",{className:e},this.props.children.map(function(e,t){return a.default.createElement("li",{key:"link-list-"+t},e)}))}}]),t};t.default=l},function(e,t){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r};n(34);t.default=function(e){return i.default.createElement("h2",{className:"list-header"},e.children)}},function(e,t){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r};n(36),t.default=function(e){var t="panel";return e.isHeading&&(t+=" panel-heading"),e.className&&(t+=e.className),i.default.createElement("div",{className:t},e.children)}},function(e,t){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function{function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}},o=n(0),i=l(o),a=l(n(11));function l(e){return e&&e.__esModule?e:{default:e}}n(39);var u=function(e){function t{return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"onDoSearch",value:function(e){e.preventDefault,this.props.onSearchSubmit(e.currentTarget.querySelector("input").value)}},{key:"render",value:function{var e=this.props,t=e.action||"/"+e.language_project+"/Special:Search";return i.default.createElement("form",{className:"search-form",onSubmit:this.onDoSearch.bind(this),method:"GET",action:t},i.default.createElement(a.default,{onClick:e.onClickSearch,onSearch:e.onSearch,key:"search-form-input",name:"search",placeholder:e.placeholder,defaultValue:e.defaultValue,focusOnRender:e.focusOnRender}))}}]),t};t.default=u},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(0)),o=i(n(4));function i(e){return e&&e.__esModule?e:{default:e}}n(44);t.default=function(e){return r.default.createElement(o.default,{className:"mw-notification"},r.default.createElement("div",{className:"content"},e.children))}},function(e,t){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function{function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}},i=n(0),a=(r=i)&&r.__esModule?r:{default:r},l=n(5);var u=function(e){function t{return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Component),o(t,[{key:"render",value:function{var e=this.props;return a.default.createElement(l.Overlay,null,a.default.createElement("p",null,e.message),a.default.createElement("div",null,a.default.createElement(l.Button,{label:"Log in",href:e.loginUrl,isPrimary:"1"})),a.default.createElement("p",null,a.default.createElement("a",{href:e.signupUrl},e.signupText)))}}]),t};u.defaultProps={message:"You need to sign in to use this feature",loginUrl:"//mediawiki.org/wiki/Special:Userlogin",signupUrl:"//www.mediawiki.org/w/index.php?title=Special:CreateAccount&campaign=wikipedia-react-components",signupText:"Sign up at MediaWiki.org"},t.default=u},function(e,t){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function{function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}},i=f(n(0)),a=f(n(6)),l=f(n(9)),u=f(n(10)),c=f(n(13)),s=f(n(14));function f(e){return e&&e.__esModule?e:{default:e}}n(49);var d=function(e){function t{!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.state={waiting:!0,title:null,thumbnail:null,description:null},e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.default.Component),o(t,[{key:"componentDidMount",value:function{this.setState({title:this.props.title||"",description:this.props.description||"",waiting:!1})}},{key:"updateDescription",value:function(e){this.setState({description:e.currentTarget.value})}},{key:"updateTitle",value:function(e){this.setState({title:e.currentTarget.value})}},{key:"save",value:function{var e=this.props.onExit?this.props.onExit.bind(this):null,t=this.state.title,n=this.state.description,r=this.state.thumbnail?this.state.thumbnail.title:null;this.setState({waiting:!0});var o=this.props.onSaveCollection(t,n,r);o&&o.then(function{e&&e})}},{key:"render",value:function{var e,t=this.props,n=this.state,o=t.editTitle||"Edit collection",f=t.createTitle||"Create collection",d=n.description||t.description,p=n.thumbnail||t.thumbnail,m=n.title||t.title,h=m?o:f;return e=n.waiting||void 0===n.title?i.default.createElement(u.default,null):i.default.createElement("div",null,i.default.createElement(c.default,{key:"collection-editor-overlay-preview",thumbnail:p,title:m,description:d}),i.default.createElement("label",null,t.nameFieldLabel),i.default.createElement(l.default,{defaultValue:m,onInput:this.updateTitle.bind(this)}),i.default.createElement("label",null,t.descriptionFieldLabel),i.default.createElement(l.default,{defaultValue:d,onInput:this.updateDescription.bind(this)}),i.default.createElement(a.default,{label:t.buttonSaveLabel,disabled:!m,isPrimary:!0,onClick:this.save.bind(this)}),i.default.createElement(a.default,{label:t.buttonCancelLabel,onClick:t.onExit?t.onExit.bind(this):null})),i.default.createElement(s.default,r({},t,{className:"collection-editor-overlay",title:h,onExit:!1}),e)}}]),t};d.defaultProps={descriptionFieldLabel:"Description",nameFieldLabel:"Name",buttonSaveLabel:"Save",buttonCancelLabel:"Cancel"},t.default=d},function(e,t){},function(e,t){}])},e.exports=r(n(0))},function(e,t,n){"use strict";!function e{if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}},e.exports=n(22)},function(e,t,n){var r,o,i={},a=(r=function{return window&&document&&document.all&&!window.atob},function{return void 0===o&&(o=r.apply(this,arguments)),o}),l=function(e){var t={};return function(e){if("function"==typeof e)return e;if(void 0===t[e]){var n=function(e){return document.querySelector(e)}.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}},u=null,c=0,s=[],f=n(12);function d(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=i[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(a<r.parts.length;a++)o.parts.push(v(r.parts[a],t))}else{var l=[];for(a=0;a<r.parts.length;a++)l.push(v(r.parts[a],t));i[r.id]={id:r.id,refs:1,parts:l}}}}function p(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],l={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(l):n.push(r[a]={id:a,parts:[l]})}return n}function m(e,t){var n=l(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=s[s.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),s.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=l(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,o)}}function h(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=s.indexOf(e);t>=0&&s.splice(t,1)}function b(e){var t=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),g(t,e.attrs),m(e,t),t}function g(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function v(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function{};e.css=i}if(t.singleton){var a=c++;n=u||(u=b(t)),r=x.bind(null,n,a,!1),o=x.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",g(t,e.attrs),m(e,t),t}(t),r=function(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=f(r));o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),l=e.href;e.href=URL.createObjectURL(a),l&&URL.revokeObjectURL(l)}.bind(null,n,t),o=function{h(n),n.href&&URL.revokeObjectURL(n.href)}):(n=b(t),r=function(e,t){var n=t.css,r=t.media;r&&e.setAttribute("media",r);if(e.styleSheet)e.styleSheet.cssText=n;else{for(e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),o=function{h(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=p(e,t);return d(n,t),function(e){for(var r=[],o=0;o<n.length;o++){var a=n[o];(l=i[a.id]).refs--,r.push(l)}e&&d(p(e,t),t);for(o=0;o<r.length;o++){var l;if(0===(l=r[o]).refs){for(var u=0;u<l.parts.length;u++)l.parts[u];delete i[l.id]}}}};var y,w=(y=[],function(e,t){return y[e]=t,y.filter(Boolean).join("\n")});function x(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=w(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}},function(e,t){e.exports=function(e){var t=[];return t.toString=function{return this.map(function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),i=r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"});return[n].concat(i).concat([o]).join("\n")}var a;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=null,e,"");for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){"use strict";function r(e){return function{return e}}var o=function{};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function{return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";