!function(e){var t=window.wjp;window.wjp=function(n,i,a){for(var s,u,c,l=0,f=[];l=0&&console.warn("The feature flag "+e+" is marked as deprecated and will be removed with the next major release of Nova.")},ve=function(e){pe.indexOf(e)>=0||console.warn("The feature flag "+e+" does not exist")},ye=function(e){ve(e),me(e),de.push(e)},ge=function(e){ve(e),me(e);var t=de.indexOf(e);t>=0&&de.splice(t,1)},be=function(){de=[]},Ee=function(){de=[].concat(pe)},Oe=function(e,t){if("boolean"!=typeof t)throw new Error("setFeatureFlag accepts only Boolean values for 'enable'. You've provided "+(void 0===t?"undefined":fe(t)));t?ye(e):ge(e)},we=function(e){return ve(e),me(e),de.indexOf(e)>=0},_e=parseInt(le.a.default,10),Te=parseInt(le.a.toast,10)-1,Se=_e;function Ie(e){if(e){var t=y()(e);if(le.a.hasOwnProperty(t))return le.a[t];throw new Error("Ooops! There is no Z-Index called '"+e+"' in the Nova Design System. Please check the Nova Design System Styleguide for a valid Z-Index.")}return Se=Math.min(Te,Math.max(_e,Se)+1),we("ZIndexPool")?Se:void 0}function Pe(e){Se=_e=e}function Ce(e){Te=e}var xe=n(65),je=n.n(xe),Ae=n(1),ke=n.n(Ae),Ne=n(0),Re=n.n(Ne),De=n(6),Le=n.n(De);function Me(e,t){return null!=e&&e.type===t}var Fe=function(e,t){return(Array.isArray(e)?e:[e]).find(function(e){return Me(e,t)})},Ue=function(e,t){return(Array.isArray(e)?e:[e]).some(function(e){return Me(e,t)})},Be=n(85),ze=n.n(Be),Ve=n(76),Ye=n.n(Ve),qe=n(1557),Ge=n.n(qe),Ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},We=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e},r=[];function o(e,t,o){var i=""+Ge()(e);"boolean"!=typeof t&&(i+="-"+n(t,e)),o&&(i+="@"+Ge()(o)),r.push(i)}return Ye()(e,function(e,n){(e||0===e)&&(ze()(e)?Ye()(e,function(e){o(n,e,t?"sUp":null)}):"object"===(void 0===e?"undefined":Ke(e))?Ye()(e,function(e,r){o(n,e,t?r:null)}):o(n,e,t?"sUp":null))}),r};n(487);"function"==typeof Symbol&&Symbol.iterator;n(449);var He="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var Qe=function(e){return e.filter(function(e){return!(t=e)||"object"!==(void 0===t?"undefined":He(t))&&"function"!=typeof t;var t}).length===e.length};var Je=function(e){var t=e.rel,n=e.target,r=t?t.split(" "):[];return"_blank"===n&&-1===r.indexOf("noopener")&&r.push("noopener"),r.length?{rel:r.join(" ")}:{}};var $e=new Le.a({name:"button",prefix:"nova-c-"}),Xe=function(e){var t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]),o=$e({element:"label",extra:t});return Re.a.createElement("span",Object.assign({},o,r),n)},Ze=Xe;var et=new Le.a({name:"button",prefix:"nova-c-"}),tt=function(e){var t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]),o=et({element:"subline",extra:t});return Re.a.createElement("span",Object.assign({},o,r),n)},nt=tt,rt=n(66),ot=n.n(rt),it=new Le.a("nova-e-avatar");var at=function(e){var t=e.alt,n=e.href,r=e.size,o=e.src,i=e.srcSet,a=e.radius,s=e.className,u=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["alt","href","size","src","srcSet","radius","className"]),c=Re.a.createElement("img",Object.assign({src:o,alt:t,srcSet:i},u,it("img")));return n?Re.a.createElement("a",Object.assign({href:n},it("",We({size:r,radius:a}),s)),c):Re.a.createElement("div",it("",We({size:r,radius:a}),s),c)};at.defaultProps={size:"l",radius:"full"};var st=at;var ut=new Le.a({name:"badge",prefix:"nova-e-"}),ct=function(e){var t=e.className,n=e.color,r=e.display,o=e.luminosity,i=e.size,a=e.radius,s=e.theme,u=e.children,c=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","color","display","luminosity","size","radius","theme","children"]);if(!Re.a.Children.count(u)&&"bare"!==s)return null;var l=ut({modifiers:We({color:n,display:r,luminosity:o,size:i,theme:s,radius:a}),extra:t}),f="span";c.href?f="a":c.onClick&&(f="button");var p="button"===f?c:je()(c,["type"]);return Re.a.createElement(f,Object.assign({},l,p,Je(c)),u)};ct.defaultProps={color:"blue",luminosity:"medium",size:"m",theme:"solid",radius:"full",type:"button",display:"inline"};var lt=ct;var ft=new Le.a({name:"radio",prefix:"nova-e-"}),pt=function(e){var t=e.className,n=e.children,r=e.status,o=e.fieldRef,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children","status","fieldRef"]),a=ft({extra:[r?"is-"+r:"",t]});return Re.a.createElement("div",null,Re.a.createElement("label",a,Re.a.createElement("input",Object.assign({type:"radio",ref:o},ft({element:"input"}),{disabled:"disabled"===r},i)),Re.a.createElement("span",ft({element:"label"}),n)))},dt=pt;var ht=new Le.a({name:"checkbox",prefix:"nova-e-"}),mt=function(e){var t=e.className,n=e.children,r=e.status,o=e.fieldRef,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children","status","fieldRef"]),a=ht({extra:[r?"is-"+r:"",t]});return Re.a.createElement("div",null,Re.a.createElement("label",a,Re.a.createElement("input",Object.assign({type:"checkbox",ref:o},ht({element:"input"}),{disabled:"disabled"===r},i)),Re.a.createElement("span",ht({element:"label"}),n)))},vt=mt,yt=function(e){var t=e.lastIndexOf(".");if(-1===t)return[e];var n=e.substr(t),r=e.substr(0,t);return[r.substr(0,Math.max(r.length-6,6)),r.substr(Math.max(r.length-6,6)).concat(n)]};var gt=new Le.a({name:"file-input",prefix:"nova-e-"}),bt=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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,e.call(this,n));return r.onChange=function(e){var t=e.currentTarget.files;r.setState({files:t}),r.props.onChange&&r.props.onChange(e)},r.state={files:[]},r}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,e),t.prototype.renderFilename=function(e){var t=yt(e),n=t[0],r=t[1];return r?Re.a.createElement(Ne.Fragment,null,Re.a.createElement("span",gt("name-element","truncate"),n),Re.a.createElement("span",gt("name-element"),r)):Re.a.createElement("span",gt("name-element","truncate"),n)},t.prototype.renderLabel=function(e,t,n){var r=this.state.files;return 1===r.length?this.renderFilename(t.replace(/%(\w*)%/g,function(e,t){return r[0][t]||""})):r.length>1?n.replace("%length%",r.length):e},t.prototype.render=function(){var e=this.props,t=e.status,n=e.className,r=e.label,o=e.singleFileLabel,i=e.multipleFilesLabel,a=e.fieldRef,s=e.size,u=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["status","className","label","singleFileLabel","multipleFilesLabel","fieldRef","size"]),c=gt({extra:[t?"is-"+t:"",n]});return Re.a.createElement("div",null,Re.a.createElement("label",c,Re.a.createElement("input",Object.assign({type:"file"},gt({element:"input"}),{ref:a},u,{disabled:"disabled"===t,onChange:this.onChange})),Re.a.createElement(qr,Object.assign({tag:"div",theme:"ghost",size:s,status:t},gt({element:"button"})),Re.a.createElement(qr.Label,gt({element:"button-label"}),Re.a.createElement("div",gt({element:"label"}),Re.a.createElement(qr.Icon,Object.assign({identifier:"upload"},gt({element:"label-icon"}))),Re.a.createElement("div",gt("name"),this.renderLabel(r,o,i)))))))},t}(Ne.Component);bt.defaultProps={status:"",multipleFilesLabel:"%length% files selected",singleFileLabel:"%name%",size:"m"};var Et=bt;var Ot=new Le.a({name:"icon",prefix:"nova-e-"}),wt=function e(t){var n=t.identifier,r=t.className,o=t.theme,i=t.color,a=t.luminosity,s=t.size,u=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["identifier","className","theme","color","luminosity","size"]),c=Ot({modifiers:We({size:s,theme:o,color:i,luminosity:a}),extra:r}),l=e.resolvePath("icon-stack-"+s+".svg"),f=n+"-"+s;return"bare"===o?Re.a.createElement("svg",Object.assign({},c,u),Re.a.createElement("use",{xlinkHref:l+"#"+f})):Re.a.createElement("div",Object.assign({},c,u),Re.a.createElement("svg",Ot("visual"),Re.a.createElement("use",{xlinkHref:l+"#"+f})))};wt.resolvePath=function(e){return e},wt.defaultProps={identifier:"user",size:"s",theme:"bare",color:"inherit",luminosity:"medium"};var _t=wt,Tt=function(){for(var e=arguments.length,t=Array(e),n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["status","className","fieldRef","size","required"]),s=this.state.isInvalid,u=Nt({element:"field",modifiers:We({size:o}),extra:[s?"is-invalid":"",t?"is-"+t:"",n]}),c=i?{onInvalid:Tt(this.handleInvalid,a.onInvalid),onInput:Tt(this.checkValidity,a.onInput),onBlur:Tt(this.checkValidity,a.onBlur)}:{};return Re.a.createElement("input",Object.assign({disabled:"disabled"===t,required:i,ref:r},u,a,c))},t}(Ne.PureComponent);Rt.defaultProps={placeholder:"",readOnly:!1,required:!1,size:"m",status:""};var Dt,Lt=Object(St.branch)(function(e){return!e.type||["text","email","search","password","tel","url"].indexOf(e.type)>-1},At(Object.assign({},Nt())),(Dt="maxLength",Object(St.mapProps)(function(e){return je()(e,Dt)})))(Rt);var Mt=new Le.a({name:"text",prefix:"nova-e-"}),Ft=function(e){var t=e.size,n=e.color,r=e.family,o=e.spacing,i=e.tag,a=e.className,s=e.children,u=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","color","family","spacing","tag","className","children"]),c=Mt({modifiers:We({size:t,family:r,spacing:o,color:n}),extra:a});return Re.a.createElement(i,Object.assign({},c,u),s)};Ft.defaultProps={family:"sans-serif",size:"m",spacing:"none",tag:"div",color:"inherit"};var Ut=Ft,Bt=n(799),zt=n.n(Bt),Vt=n(2144),Yt=n.n(Vt),qt=n(2146),Gt=n.n(qt);var Kt=new Le.a({name:"tooltip",prefix:"nova-c-"}),Wt=function(e){var t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]),o=Kt({element:"arrow",extra:t}),i=Kt({element:"arrow-tip"});return Re.a.createElement("div",Object.assign({},o,r),Re.a.createElement("div",i,n))},Ht=Wt;var Qt=new Le.a({name:"tooltip",prefix:"nova-c-"}),Jt=function(e){var t=e.className,n=e.src,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","src"]),o=Qt({element:"header",extra:t}),i=Qt({element:"header-content"}),a=Qt({element:"header-content-image"}),s=Qt({element:"arrow",modifier:"header"});return Re.a.createElement("header",Object.assign({},o,r),Re.a.createElement("div",i,Re.a.createElement("div",a,Re.a.createElement("img",{src:n,alt:"header"}))),Re.a.createElement(Ht,s,Re.a.createElement("img",{src:n,alt:"arrow"})))},$t=Jt;var Xt=new Le.a({name:"tooltip",prefix:"nova-c-"}),Zt=function(e){var t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]),o=Xt({element:"body",extra:t}),i=Xt({element:"body-content"}),a=Xt({element:"arrow",modifier:"body"}),s="string"==typeof n?Re.a.createElement(Ut,null,n):n;return Re.a.createElement("div",Object.assign({},o,r),Re.a.createElement("div",i,s),Re.a.createElement(Ht,a))},en=Zt;var tn=new Le.a({name:"tooltip",prefix:"nova-c-"}),nn=function(e){var t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]),o=tn({element:"footer",extra:t}),i=tn({element:"footer-content"}),a=tn({element:"footer-content-item"}),s=tn({element:"arrow",modifier:"footer"});return Re.a.createElement("footer",Object.assign({},o,r),Re.a.createElement("div",i,Re.a.createElement("div",a,n)),Re.a.createElement(Ht,s))},rn=nn,on={transitionEnterTimeout:100,transitionLeaveTimeout:200,transitionName:{enter:"animate-enter",enterActive:"animate-enter-active",leave:"animate-leave",leaveActive:"animate-leave-active"}},an={above:{left:0,top:-20},"above-left":{left:0,top:-20},"above-right":{left:0,top:-20},right:{left:20,top:0},"right-top":{left:20,top:0},"right-bottom":{left:20,top:0},below:{left:0,top:20},"below-left":{left:0,top:20},"below-right":{left:0,top:20},left:{left:-20,top:0},"left-top":{left:-20,top:0},"left-bottom":{left:-20,top:0}},sn=n(300),un=n.n(sn),cn=n(424),ln=n.n(cn),fn=n(42),pn=n.n(fn);var dn=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,e.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,e),t.prototype.render=function(){return this.props.children},t}(Ne.Component),hn=dn;var mn=function(e){if(!window.getComputedStyle)return{x:0,y:0,z:0};var t=getComputedStyle(e),n=t.transform||t.webkitTransform||t.mozTransform||"",r=n.match(/^matrix3d\((.+)\)$/);if(r)return{x:parseFloat(r[1].split(", ")[12])||0,y:parseFloat(r[1].split(", ")[13])||0,z:parseFloat(r[1].split(", ")[14])||0};var o=n.match(/^matrix\((.+)\)$/);if(o)return{x:parseFloat(o[1].split(", ")[4])||0,y:parseFloat(o[1].split(", ")[5])||0,z:0};var i=n.match(/^translate3d\((.+)\)$/);if(i)return{x:parseFloat(i[1].split(", ")[0])||0,y:parseFloat(i[1].split(", ")[1])||0,z:parseFloat(i[1].split(", ")[2])||0};var a=n.match(/^translate\((.+)\)$/);if(a)return{x:parseFloat(a[1].split(", ")[0])||0,y:parseFloat(a[1].split(", ")[1])||0,z:0};var s=n.match(/^translateX\((.+)\)$/),u=n.match(/^translateY\((.+)\)$/),c=n.match(/^translateZ\((.+)\)$/);return{x:s?parseFloat(s[1]):0,y:u?parseFloat(u[1]):0,z:u?parseFloat(c[1]):0}};var vn=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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,e.call(this,n));return r.onWindowResize=ln()(r.onWindowResize.bind(r),100),r.onWindowLoad=r.onWindowLoad.bind(r),r.targetNode=null,r.componentNode=null,r.zIndex=m.getIndex(),r}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,e),t.prototype.componentDidMount=function(){this.targetNode=pn.a.findDOMNode(this.props.target),this.componentNode=pn.a.findDOMNode(this.component),this.cloneNode=this.renderClone();var e=this,t=this.componentNode.offsetHeight;setTimeout(function(){e.componentNode.offsetHeight!==t&&e.forceUpdate()},17),this.forceUpdate(),window.addEventListener("resize",this.onWindowResize,!0),window.addEventListener("load",this.onWindowLoad,!0)},t.prototype.componentDidUpdate=function(e){e.target!==this.props.target&&(this.targetNode=pn.a.findDOMNode(this.props.target),this.forceUpdate())},t.prototype.componentWillUnmount=function(){this.cloneNode.parentNode.removeChild(this.cloneNode),window.removeEventListener("resize",this.onWindowResize,!0),window.removeEventListener("load",this.onWindowLoad,!0)},t.prototype.onWindowLoad=function(){this.forceUpdate()},t.prototype.onWindowResize=function(){this.forceUpdate()},t.prototype.getOffset=function(e,t){var n={},r=e.getBoundingClientRect();return t.split("-").forEach(function(e){switch(e){case"left":case"right":n.left=r[e]-r.left;break;case"top":case"bottom":n.top=r[e]-r.top;break;case"center":n.left=void 0===n.left?.5*(r.right-r.left):n.left,n.top=void 0===n.top?.5*(r.bottom-r.top):n.top;break;default:throw new Error("Unknown anchor identifier '"+e+"'")}}),n},t.prototype.getElementPosition=function(e){var t=0,n=0,r=e;for(r instanceof SVGElement&&("svg"!==r.tagName&&(t+=r.getBBox().y,n+=r.getBBox().x),t+=(r=function e(t){return"svg"===t.tagName?t:e(t.parentElement)}(r)).getBoundingClientRect().y+function(e){return e===window?"scrollY"in window?window.scrollY:document.documentElement.scrollTop:e.scrollTop}(window),n+=r.getBoundingClientRect().x+function(e){return e===window?"scrollX"in window?window.scrollX:document.documentElement.scrollLeft:e.scrollTop}(window));r;){var o=mn(r);t+=(r.offsetTop||0)+o.y,n+=(r.offsetLeft||0)+o.x,r=r.offsetParent}return{top:t,left:n}},t.prototype.getComponentPosition=function(){if(!this.targetNode||!this.componentNode)return{top:0,left:0};var e=this.props,t=e.targetAnchor,n=e.componentAnchor,r=e.offset,o=this.getElementPosition(this.targetNode),i=this.getElementPosition(this.cloneNode),a=this.getOffset(this.targetNode,t),s=this.getOffset(this.componentNode,n);return{top:o.top+a.top+r.top-(i.top+s.top),left:o.left+a.left+r.left-(i.left+s.left)}},t.prototype.renderClone=function(){var e=this.componentNode.parentNode,t=document.createElement("div");return t.classList.add("clone"),t.style.position="absolute",t.style.left=0,t.style.top=0,e.insertBefore(t,null),t},t.prototype.renderComponent=function(){var e=this,t=this.props,n=t.children,r=t.componentAnchor,o=t.targetAnchor;if("undefined"==typeof window)return null;var i=Re.a.Children.only(n),a=i.props.style||{};r&&o&&(a=Object.assign({position:"absolute"},this.getComponentPosition(),{zIndex:this.zIndex}));var s=un()({},i.props.style,a);return i=Re.a.cloneElement(i,{style:s}),Re.a.createElement(hn,{key:"component",ref:function(t){e.component=t}},i)},t.prototype.render=function(){return this.renderComponent()},t}(Ne.Component);vn.defaultProps={targetAnchor:"top-center",componentAnchor:"bottom-center",offset:{top:0,left:0}};var yn=vn,gn=n(802),bn=n.n(gn);var En=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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,e.call(this,n));return r.onMouseEnter=r.onMouseEnter.bind(r),r.onMouseLeave=r.onMouseLeave.bind(r),r.onClick=r.onClick.bind(r),r.onFocus=r.onFocus.bind(r),r.onBlur=r.onBlur.bind(r),r.onTouchStart=r.onTouchStart.bind(r),r.performToggle=r.performToggle.bind(r),r.toggleTimeout=null,r.state={isToggled:r.props.initToggled},r}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,e),t.prototype.onMouseEnter=function(){this.tryToggle(!0)},t.prototype.onMouseLeave=function(){this.tryToggle(!1)},t.prototype.onClick=function(){this.tryToggle(!this.state.isToggled)},t.prototype.onFocus=function(){this.tryToggle(!0)},t.prototype.onBlur=function(){this.tryToggle(!1)},t.prototype.onTouchStart=function(){this.tryToggle(!0)},t.prototype.toggle=function(e){var t=!this.state.isToggled;void 0!==e&&(t=e),this.tryToggle(t)},t.prototype.tryToggle=function(e){var t=this;clearTimeout(this.toggleTimeout),this.state.isToggled!==e&&(bn()(this.props.mode,"hover")?this.toggleTimeout=setTimeout(function(){t.props.willChange(t.performToggle,e)},200):this.props.willChange(this.performToggle,e))},t.prototype.performToggle=function(){var e=!this.state.isToggled;this.setState({isToggled:e}),this.props.didChange&&this.props.didChange(e)},t.prototype.render=function(){var e=this.props,t=e.mode,n=e.children,r=Re.a.Children.only(n),o={};return bn()(t,"hover")&&(o.onMouseEnter=Tt(this.onMouseEnter,r.props.onMouseEnter),o.onMouseLeave=Tt(this.onMouseLeave,r.props.onMouseLeave),o.onTouchStart=Tt(this.onTouchStart,r.props.onTouchStart)),bn()(t,"click")&&(o.onClick=Tt(this.onClick,r.props.onClick)),bn()(t,"focus")&&(o.onFocus=Tt(this.onFocus,r.props.onFocus),o.onBlur=Tt(this.onBlur,r.props.onBlur),o.onTouchStart=Tt(this.onTouchStart,r.props.onTouchStart)),Re.a.cloneElement(r,o)},t}(Ne.Component);En.defaultProps={mode:"click",willChange:function(e){return e()},initToggled:!1};var On=En,wn=n(114),_n=n.n(wn),Tn={above:{componentAnchor:"bottom-center",targetAnchor:"top-center"},"above-left":{componentAnchor:"bottom-left",targetAnchor:"top-left"},"above-right":{componentAnchor:"bottom-right",targetAnchor:"top-right"},below:{componentAnchor:"top-center",targetAnchor:"bottom-center"},"below-left":{componentAnchor:"top-left",targetAnchor:"bottom-left"},"below-right":{componentAnchor:"top-right",targetAnchor:"bottom-right"},left:{componentAnchor:"right-center",targetAnchor:"left-center"},"left-top":{componentAnchor:"right-top",targetAnchor:"left-top"},"left-bottom":{componentAnchor:"right-bottom",targetAnchor:"left-bottom"},right:{componentAnchor:"left-center",targetAnchor:"right-center"},"right-top":{componentAnchor:"left-top",targetAnchor:"right-top"},"right-bottom":{componentAnchor:"left-bottom",targetAnchor:"right-bottom"}},Sn=function(e){var t=e.transition,n=e.children;return t?Re.a.createElement(ot.a,t,n):Re.a.createElement("span",null,n)},In=Sn;var Pn=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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,e.call(this,n));return r.onDocumentClick=r.onDocumentClick.bind(r),r.onPopoverMouseEnter=r.onPopoverMouseEnter.bind(r),r.onPopoverMouseLeave=r.onPopoverMouseLeave.bind(r),r.onPopoverClick=r.onPopoverClick.bind(r),r.onToggleWillChange=r.onToggleWillChange.bind(r),r.onToggleDidChange=r.onToggleDidChange.bind(r),r.state={isVisible:r.props.initVisible},r.isPopoverMouseOver=!1,r.isPopoverClicked=!1,r}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,e),t.prototype.componentDidMount=function(){this.forceUpdate()},t.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.onDocumentClick,!0),document.removeEventListener("touchstart",this.onDocumentClick,!0)},t.prototype.onPopoverMouseEnter=function(){this.isPopoverMouseOver=!0},t.prototype.onPopoverMouseLeave=function(){this.isPopoverMouseOver=!1,this.isPopoverClicked||this.target.toggle()},t.prototype.onPopoverClick=function(e){var t=this.props.mode;this.props.onClick&&this.props.onClick(e),t&&bn()("hover",t)&&(this.isPopoverClicked=!0)},t.prototype.onDocumentClick=function(e){var t=e.target,n=Object(fn.findDOMNode)(this.target),r=Object(fn.findDOMNode)(this.popover);this.state.isVisible&&!bn()("focus",this.props.mode)&&(n.contains(t)||r.contains(t)||(this.isPopoverMouseOver=!1,this.isPopoverClicked=!1,this.target.toggle()))},t.prototype.onToggleWillChange=function(e,t){this.isPopoverMouseOver||(t?this.props.willEnter(e):this.props.willLeave(e))},t.prototype.onToggleDidChange=function(e){var t=this,n=this.props,r=n.transition,o=n.mode;if(this.setState({isVisible:e}),e)"none"!==o&&(document.addEventListener("mousedown",this.onDocumentClick,!0),document.addEventListener("touchstart",this.onDocumentClick,!0)),r&&r.transitionEnterTimeout?setTimeout(this.props.didEnter,r.transitionEnterTimeout):this.props.didEnter();else{document.removeEventListener("mousedown",this.onDocumentClick,!0),document.removeEventListener("touchstart",this.onDocumentClick,!0);var i=function(){t.props.didLeave(),t.isPopoverMouseOver=!1,t.isPopoverClicked=!1};r&&r.transitionLeaveTimeout?setTimeout(i,r.transitionLeaveTimeout):i()}},t.prototype.show=function(){this.target.toggle(!0)},t.prototype.forceHide=function(){this.target.performToggle()},t.prototype.hide=function(){this.target.toggle(!1)},t.prototype.mount=function(e,t){if("string"==typeof e){var n=e;return Re.a.createElement(n,null,t)}return e(t)},t.prototype.renderPopover=function(){var e=this,t=this.props,n=t.children,r=t.position,o=t.mode,i=t.offset;if(!this.state.isVisible)return null;var a=Re.a.Children.only(n),s={};o&&bn()("hover",o)&&_n()(s,{onMouseEnter:this.onPopoverMouseEnter,onMouseLeave:this.onPopoverMouseLeave}),a=Re.a.cloneElement(a,_n()(s,{onClick:this.onPopoverClick}));var u=r?Tn[r]:{componentAnchor:null,targetAnchor:null};return Re.a.createElement(yn,Object.assign({key:"popover",ref:function(t){e.popover=t},target:this.target,offset:i},u),a)},t.prototype.renderTarget=function(){var e=this,t=this.props.target,n=this.props,r=n.mode,o=n.initVisible;return"string"==typeof t&&(t=Re.a.createElement("span",null,t)),Re.a.createElement(On,{key:"toggle",ref:function(t){e.target=t},initToggled:o,willChange:this.onToggleWillChange,didChange:this.onToggleDidChange,mode:r},t)},t.prototype.render=function(){var e=this.props,t=e.scope,n=e.mount,r=e.transition,o=this.renderTarget(),i=this.renderPopover();return"local"===t?this.mount(n,Re.a.createElement(In,{transition:r},o,i)):this.mount(n,[Re.a.cloneElement(o,{key:"target"}),Re.a.createElement(An,{key:"portal"},Re.a.createElement(In,{transition:r},i))])},t}(Ne.Component);Pn.defaultProps={mode:"click",position:"below-right",initVisible:!1,scope:"global",offset:{top:0,left:0},willEnter:function(e){return e()},willLeave:function(e){return e()},didEnter:function(){},didLeave:function(){},transition:null,mount:"span"};var Cn=Pn,xn=!("undefined"==typeof window||!window.document||!window.document.createElement);var jn=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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,e.call(this,n));return r.node=xn?document.createElement("div"):null,r.root=xn?document.body:{appendChild:function(){}},r}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,e),t.prototype.componentDidMount=function(){this.root.appendChild(this.node)},t.prototype.componentWillUnmount=function(){this.root.removeChild(this.node),this.node=null},t.prototype.render=function(){return xn?Object(fn.createPortal)(this.props.children,this.node):null},t}(Ne.Component),An=jn;var kn=new Le.a({name:"tooltip",prefix:"nova-c-"}),Nn=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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,e.call(this,n));return r.getSpacing=function(e){if("auto"!==e)return e;var t=Re.a.Children.toArray(r.props.children),n=t[0];return Gt()([Qe,Yt()(n),function(e){return zt()(e[0].type,Ut)}])(t)?"xs":"m"},r.shouldRenderAsModal=function(){var e=r.props,t=e.isResponsive,n=e.initVisible,o=e.target,a="(min-width: "+i.getBreakpoint("m")+")",s=xn&&!window.matchMedia(a).matches;return t&&s&&!n&&void 0!==o},r.checkIfModal=function(){var e=r.shouldRenderAsModal();e!==r.state.renderAsModal&&r.setState({renderAsModal:e})},r.update=function(){r.forceUpdate()},r.show=function(){r.popover&&r.popover.show()},r.hide=function(){r.popover&&r.popover.forceHide()},r.renderTooltip=function(){var e=r.props,t=e.spacing,n=e.elevation,o=e.position,i=e.className,a=e.color,s=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["spacing","elevation","position","className","color"]),u=r.getSpacing(t),c=kn({modifiers:We({position:o,elevation:n,color:a,spacing:u}),extra:[r.state.renderAsModal?"is-modal":"",i]});return Re.a.createElement("div",Object.assign({},c,je()(s,"mode","scope","initVisible","isResponsive","willEnter","didEnter","willLeave","didLeave","target","offset","mount"),{style:{zIndex:r.zIndex}}),r.getChildren(),r.renderCloseButton())},r.zIndex=m.getIndex(),r.state={renderAsModal:r.shouldRenderAsModal()},r}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,e),t.prototype.componentDidMount=function(){window.addEventListener("resize",this.checkIfModal,!0)},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.checkIfModal,!0)},t.prototype.getChildren=function(){var e=this.props.children;return Ue(e,$t)||Ue(e,en)||Ue(e,rn)?e:Re.a.createElement(en,null,e)},t.prototype.renderCloseButton=function(){return this.state.renderAsModal?Re.a.createElement(qr,{type:"button",onClick:this.hide,className:"nova-c-tooltip__close",radius:"full",size:"xs",theme:"inverted",color:"grey"},Re.a.createElement(qr.Icon,{identifier:"close"})):null},t.prototype.render=function(){var e=this,t=this.props,n=t.target,r=t.position,o=t.initVisible,i=t.mode,a=t.mount,s=t.scope,u=t.offset,c=t.willEnter,l=t.willLeave,f=t.didEnter,p=t.didLeave,d=this.renderTooltip();if(n){var h={left:an[r].left+u.left,top:an[r].top+u.top};return Re.a.createElement(Cn,{ref:function(t){e.popover=t},target:n,initVisible:o,mode:this.state.renderAsModal?"click":i,scope:s,position:!this.state.renderAsModal&&r,transition:on,offset:h,willEnter:c,didEnter:f,willLeave:l,didLeave:p,mount:a},d)}return d},t}(Ne.Component);Nn.defaultProps={position:"above",color:"white",elevation:"2-above",mode:"hover",initVisible:!1,isResponsive:!0,scope:"global",offset:{left:0,top:0},willEnter:function(e){return e()},willLeave:function(e){return e()},didEnter:function(){},didLeave:function(){},mount:"span",spacing:"auto"};var Rn=Nn;Rn.Body=en,Rn.Header=$t,Rn.Footer=rn;var Dn=new Le.a({name:"label",prefix:"nova-e-"}),Ln=function(e){var t,n,r=e.status,o=e.className,i=e.children,a=e.helpLabel,s=e.helpMessage,u=e.errorMessage,c=e.errorReporting,l=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["status","className","children","helpLabel","helpMessage","errorMessage","errorReporting"]),f=Dn({extra:[r?"is-"+r:"",o]}),p=(n=s,(t=a)&&""===r&&n?Re.a.createElement(Rn,{scope:"local",spacing:"s",target:Re.a.createElement("span",null,t),mount:function(e){return Re.a.createElement("span",Dn("help-label"),e)}},n):null),d=function(e,t,n){if("invalid"!==e||!n)return null;var r=null;switch(t){case"extended":r=Re.a.createElement("span",Dn("error-message"),n);break;case"compact":default:r=Re.a.createElement(Rn,{scope:"local",spacing:"s",target:Re.a.createElement("span",Dn("tooltip"),Re.a.createElement(_t,Object.assign({identifier:"exclamation-circle",size:"s"},Dn("error-icon"))))},n)}return r}(r,c,u),h=function(e){return"valid"!==e?null:Re.a.createElement(_t,Object.assign({identifier:"check",size:"s"},Dn("success-icon")))}(r);return i||d||h||p?Re.a.createElement(Ut,Object.assign({},f,l,{tag:"label",size:"m",spacing:"xxs"}),Re.a.createElement("span",Dn("text"),i),d||h||p):null};Ln.defaultProps={errorReporting:"extended",helpLabel:"Help me",htmlFor:"",status:""};var Mn=Ln;var Fn=new Le.a({name:"link",prefix:"nova-e-"}),Un=function(e){var t=e.color,n=e.theme,r=e.className,o=e.children,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["color","theme","className","children"]),a=Fn({modifiers:We({color:t,theme:n}),extra:r}),s=i.href?"a":"button",u="button"===s?i:je()(i,["type"]);return Re.a.createElement(s,Object.assign({},a,u,Je(i)),o)};Un.defaultProps={color:"inherit",theme:"decorated",type:"button"};var Bn=Un;var zn=new Le.a({name:"list",prefix:"nova-e-"}),Vn=function(e){var t=e.spacing,n=e.size,r=e.type,o=e.className,i=e.children,a=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["spacing","size","type","className","children"]);if(!Re.a.Children.count(i))return null;var s=zn({modifiers:We({size:n,type:r,spacing:t}),extra:o}),u="ordered"===r?"ol":"ul";return Re.a.createElement(u,Object.assign({},s,a),i)};Vn.defaultProps={spacing:"auto",size:"m",type:"unordered"};var Yn=Vn;var qn=new Le.a({name:"list",prefix:"nova-e-"}),Gn=function(e){var t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]);if(!Re.a.Children.count(n))return null;var o=qn({element:"item",extra:t});return Re.a.createElement("li",Object.assign({},o,r),n)},Kn=Gn;Yn.Item=Kn;var Wn=new Le.a({name:"textarea",prefix:"nova-e-"}),Hn=function(e){var t=e.className,n=e.children,r=e.status,o=e.fieldRef,i=e.size,a=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children","status","fieldRef","size"]),s=Wn({element:"field",modifiers:We({size:i}),extra:[r?"is-"+r:"",t]});return Re.a.createElement("textarea",Object.assign({disabled:"disabled"===r,ref:o},s,a),n)};Hn.defaultProps={status:"",rows:4,size:"m"};var Qn=At(Object.assign({},Wn()))(Hn),Jn=new Le.a({name:"select",prefix:"nova-e-"});var $n=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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,e.call(this,n));return r.onChange=function(e){r.updateState(),r.props.onChange&&r.props.onChange(e)},r.state={hasValue:!1},r}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,e),t.prototype.componentDidMount=function(){this.updateState()},t.prototype.updateState=function(){this.select&&this.select.value?this.setState({hasValue:!0}):this.setState({hasValue:!1})},t.prototype.render=function(){var e=this,t=this.props,n=t.className,r=t.children,o=t.status,i=t.fieldRef,a=t.size,s=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["className","children","status","fieldRef","size"]),u=this.state.hasValue,c=Jn({extra:[n,o?"is-"+o:"",u?"has-value":null]});return Re.a.createElement("div",c,Re.a.createElement("select",Object.assign({},Jn("input",We({size:a})),{ref:function(t){i&&i(t),e.select=t}},s,{disabled:"disabled"===o,onChange:this.onChange}),r),Re.a.createElement(_t,Object.assign({identifier:"arrow-down",size:"s"},Jn("arrow"))))},t}(Ne.Component);$n.defaultProps={onChange:null,size:"m"};var Xn=$n;var Zn=new Le.a({name:"select",prefix:"nova-e-"}),er=function(e){var t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]),o=Zn({element:"option",extra:t});return Re.a.createElement("option",Object.assign({},o,r),n)},tr=er;var nr=new Le.a({name:"select",prefix:"nova-e-"}),rr=function(e){var t=e.className,n=e.children,r=e.label,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children","label"]),i=nr({element:"optgroup",extra:t});return Re.a.createElement("optgroup",Object.assign({label:r},i,o),n)},or=rr;Xn.Option=tr,Xn.Optgroup=or;var ir=new Le.a({name:"skeleton",prefix:"nova-e-"}),ar=function(e){var t=e.className,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className"]),r=ir({modifier:"type-headline",extra:t});return Re.a.createElement("div",Object.assign({},r,n),Re.a.createElement(Ut,{size:"xl",spacing:"xs",className:"nova-e-skeleton__title"}),Re.a.createElement(Ut,{size:"xl",spacing:"xs",className:"nova-e-skeleton__title nova-e-skeleton__title--short"}))},sr=ar;var ur=new Le.a({name:"skeleton",prefix:"nova-e-"}),cr=function(e){var t=e.className,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className"]),r=ur({modifier:"type-paragraph",extra:t});return Re.a.createElement("div",Object.assign({},r,n),Re.a.createElement(Ut,{size:"m",spacing:"xs",className:"nova-e-skeleton__subtitle"}),Re.a.createElement(Ut,{size:"m",spacing:"xs",className:"nova-e-skeleton__subtitle nova-e-skeleton__subtitle--short"}))},lr=cr;var fr=new Le.a({name:"skeleton",prefix:"nova-e-"}),pr=function(e){var t=e.className,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className"]),r=fr({modifier:"type-text",extra:t});return Re.a.createElement("div",Object.assign({},r,n),Re.a.createElement(Ut,{size:"xl",spacing:"xs",className:"nova-e-skeleton__title"}),Re.a.createElement(Ut,{size:"xl",spacing:"xs",className:"nova-e-skeleton__title nova-e-skeleton__title--short"}),Re.a.createElement(Ut,{size:"m",spacing:"xs",className:"nova-e-skeleton__subtitle"}),Re.a.createElement(Ut,{size:"m",spacing:"xs",className:"nova-e-skeleton__subtitle nova-e-skeleton__subtitle--short"}))},dr=pr;var hr=new Le.a({name:"skeleton",prefix:"nova-e-"}),mr=function(e){var t=e.className,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className"]),r=hr({modifier:"type-button",extra:t});return Re.a.createElement("div",Object.assign({},r,n),Re.a.createElement(qr,{type:"button",disabled:!0,color:"grey",theme:"bare",className:"nova-e-skeleton__button"},Re.a.createElement(qr.Label,{className:"nova-e-skeleton__button-label"})))},vr=mr,yr=new Le.a({name:"skeleton",prefix:"nova-e-"}),gr=function(e){var t=e.type,n=e.className,r=yr({modifiers:We({type:t}),extra:n});switch(t){case"headline":return Re.a.createElement(sr,r);case"paragraph":return Re.a.createElement(lr,r);case"button":return Re.a.createElement(vr,r);default:return Re.a.createElement(dr,r)}};gr.defaultProps={type:"text"};var br=gr;br.Headline=sr,br.Paragraph=lr,br.SkeletonText=dr,br.SkeletonButton=vr;var Er=n(46),Or=n.n(Er),wr=function(e){return xn?e.offsetHeight:null},_r=function(e,t){t.style.fontSize=e.getPropertyValue("font-size"),t.style.fontFamily=e.getPropertyValue("font-family"),t.style.fontWeight=e.getPropertyValue("font-weight"),t.style.fontStyle=e.getPropertyValue("font-style"),t.style.letterSpacing=e.getPropertyValue("letter-spacing"),t.style.textTransform=e.getPropertyValue("text-transform"),t.style.lineHeight=e.getPropertyValue("line-height"),t.style.width=e.getPropertyValue("width"),t.style.height="auto"},Tr="…",Sr=function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";if(!xn)return null;var i=document.createElement("div");i.appendChild(document.createElement("span")),_r(window.getComputedStyle(e,null),i),_r(window.getComputedStyle(e.firstChild,null),i.firstChild),i.firstChild.innerHTML=t;var a=i.textContent;document.body.appendChild(i);var s=document.createElement("span");s.innerHTML=Tr+" "+o;var u=function(){return(e=i.offsetHeight)+(n=(t=r)/2)-(e+n)%t;var e,t,n},c=function(e){for(var t=e.nodeValue,r=0,o=t.length,i=-1,a=-1;rn)o=a-1;else{if(!(in&&t.removeChild(r);break}}}(i.firstChild),i.removeChild(s),document.body.removeChild(i);var l=i.textContent.length,f=a.slice(l);return{res:i.firstChild.innerHTML,diff:f}};var Ir=new Le.a({name:"expandable-text",prefix:"nova-e-"}),Pr=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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,e.call(this,n));return r.calculateTextData=function(){if(r.textData)return r.textData;if(!r.textElement)return null;var e=window.getComputedStyle(r.textElement).getPropertyValue("line-height");return r.textData={},r.textData.lineHeight=Math.round(parseFloat(e,10)),r.textData.realHeight=wr(r.textElement),r.textData},r.shouldShowReadMore=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.props.clamp,t=r.calculateTextData(),n=t.lineHeight,o=t.realHeight,i=parseInt(e)*n;return xn&&o>i},r.applyClamp=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.props.clamp;if(e){var t=r.calculateTextData().lineHeight,n=r.props.readMoreLabel,o=parseInt(e)*t,i=Sr(r.textElement,r.originalContent,o,t,n),a=i.res,s=i.diff;r.setState({collapsed:!0,computed:!0,collapsedContent:a,diff:s})}},r.handleWindowResize=function(){r.state.collapsed&&r.shouldShowReadMore()&&r.applyClamp()},r.handleClick=function(e){r.setState({collapsed:!1},function(){r.unsubscribeFromResize(),r.props.onClick(e)})},r.renderOriginal=function(){return Re.a.createElement("div",{ref:r.originalElementRef},Re.a.createElement("span",null,r.props.children))},r.renderCollapsed=function(){var e=r.state,t=e.collapsedContent,n=e.diff,o=r.props.readMoreLabel;return Re.a.createElement("div",{ref:r.collapsedElementRef},Re.a.createElement("span",{dangerouslySetInnerHTML:{__html:t},key:"content"}),Re.a.createElement("span",Object.assign({key:"diff"},Ir("diff"),{"aria-hidden":"true"}),n),Re.a.createElement("span",{key:"read-more"},Tr," ",Re.a.createElement(Bn,{onClick:r.handleClick},o)))},r.originalElementRef=function(e){r.textElement=e,e&&(r.originalContent=e.innerHTML)},r.collapsedElementRef=function(e){r.textElement=e},r.textData=null,r.state={collapsedContent:null,diff:null,collapsed:!1,computed:!1},r}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,e),t.prototype.subscribeToResize=function(){t.listeners.length||window.addEventListener("resize",t.onResize,!1),t.listeners.push(this.handleWindowResize),t.onResize()},t.prototype.unsubscribeFromResize=function(){var e=this;t.listeners=t.listeners.filter(function(t){return t!==e.handleWindowResize}),t.listeners.length||window.removeEventListener("resize",t.onResize,!1)},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=this,n=e.clamp,r=e.children;n===this.props.clamp&&r===this.props.children||(this.shouldShowReadMore(n,r)&&this.state.collapsed?(this.textData=null,this.setState({collapsedContent:null,diff:null,collapsed:!1,computed:!1},function(){return t.applyClamp(n,r)})):this.setState({collapsed:!1}))},t.prototype.componentDidMount=function(){var e=this.props.clamp;this.calculateTextData(),this.subscribeToResize(),e&&this.shouldShowReadMore()&&this.applyClamp()},t.prototype.componentWillUnmount=function(){this.unsubscribeFromResize()},t.prototype.render=function(){var e,t=this.props,n=t.className,r=t.clamp,o=(t.readMoreLabel,t.size),i=(t.children,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["className","clamp","readMoreLabel","size","children"])),a=this.state,s=a.collapsed,u=a.computed,c=Ir(n,((e={className:n})["clamp-"+r]=!u&&s,e));return Re.a.createElement(Ut,Object.assign({},i,c,{size:o}),s&&u?this.renderCollapsed():this.renderOriginal())},t}(Re.a.Component);Pr.listeners=[],Pr.onResize=Or()(function(){return Pr.listeners.forEach(function(e){return e()})},100),Pr.defaultProps={size:"m",readMoreLabel:"Read more",onClick:function(){}};var Cr=Pr,xr=new Le.a({name:"spinner",prefix:"nova-e-"}),jr=function(e){var t=e.size,n=e.color,r=e.className;return Re.a.createElement("div",xr(null,We({size:t,color:n}),r),Re.a.createElement("div",xr("container"),Re.a.createElement("svg",Object.assign({width:"16",height:"16",viewBox:"0 0 16 16"},xr("asset")),Re.a.createElement("g",{strokeWidth:"2"},Re.a.createElement("path",Object.assign({},xr("circle"),{d:"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1"})),Re.a.createElement("path",Object.assign({},xr("stroke"),{d:"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1"}))))))};jr.defaultProps={color:"inherit",size:"s"};var Ar=jr;var kr=new Le.a({name:"text-highlight",prefix:"nova-e-"}),Nr=function(e){var t=e.color,n=e.className,r=e.children,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["color","className","children"]),i=kr({modifiers:We({color:t}),extra:n});return Re.a.createElement("mark",Object.assign({},i,o),r)};Nr.defaultProps={color:"grey"};var Rr=Nr,Dr=new Le.a({name:"button",prefix:"nova-c-"}),Lr=function(e){var t=e.status,n=Dr({element:"status"}),r=Dr({element:"status-error"}),o=Dr({element:"status-error-stroke"}),i=Dr({element:"status-error-circle"}),a=Dr({element:"status-loader"}),s=Dr({element:"status-success"}),u=Dr({element:"status-success-check"}),c=Dr({element:"status-success-circle"}),l=null;return"busy"===t&&(l=Re.a.createElement(Ar,Object.assign({},a,{key:"loader"}))),"success"===t&&(l=Re.a.createElement("svg",Object.assign({},s,{key:"success",width:"16",height:"16",viewBox:"0 18 16 16"}),Re.a.createElement("path",Object.assign({},c,{fill:"none",stroke:"#444",strokeWidth:"2",d:"M10.7 19.6C9.9 19.2 9 19 8 19c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7c0-.7-.1-1.4-.3-2.1"})),Re.a.createElement("path",Object.assign({},u,{fill:"none",stroke:"#444",strokeWidth:"2",d:"M5 25l3 3 8-10"})))),"error"===t&&(l=Re.a.createElement("svg",Object.assign({},r,{key:"error",width:"16",height:"16",viewBox:"0 2 16 16"}),Re.a.createElement("path",Object.assign({},i,{fill:"none",stroke:"#444444",strokeWidth:"2",d:"M8,3c-3.9,0-7,3.1-7,7s3.1,7,7,7s7-3.1,7-7c0-0.7-0.1-1.4-0.3-2.1c-0.6-2-2.1-3.6-4-4.4C9.9,3.2,9,3,8,3"})),Re.a.createElement("line",Object.assign({},o,{fill:"none",stroke:"#444444",strokeWidth:"2",x1:"5.1",y1:"12.9",x2:"10.9",y2:"7.1"})),Re.a.createElement("line",Object.assign({},o,{fill:"none",stroke:"#444444",strokeWidth:"2",x1:"5.1",y1:"7.1",x2:"11",y2:"12.9"})))),Re.a.createElement(ot.a,Object.assign({component:"div"},n,{transitionName:"animate",transitionEnterTimeout:600,transitionLeave:!1}),l)},Mr=Lr;var Fr=new Le.a({name:"button",prefix:"nova-c-"}),Ur=function(e){var t=e.className,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className"]),r=Fr({element:"icon",extra:t});return Re.a.createElement(_t,Object.assign({},r,n))};Ur.defaultProps={identifier:"user"};var Br=Ur;function zr(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}var Vr=new Le.a({name:"button",prefix:"nova-c-"}),Yr=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["align","className","radius","size","status","theme","color"]),c=this._isIconOnly()&&"auto"===u.width?"square":u.width,l=we("ButtonFocusOutline"),f=Vr({modifiers:We({align:t,radius:r,size:o,color:s,theme:a,width:c}),extra:[i?"is-"+i:"",l?"has-focus-outline":"",n]}),p=["tag","width"],d=u.href?"a":"button";return u.tag&&(d=u.tag),"button"!==d&&p.push("type"),Re.a.createElement(d,Object.assign({},f,{disabled:"disabled"===i&&"button"===d},je()(u,p),{onClick:this._onClick},Je(u)),this._getChildren(),i?Re.a.createElement(Mr,{status:i}):"")},t}(Ne.Component);Yr.defaultProps={align:"center",radius:"m",size:"m",status:"",color:"blue",theme:"solid",width:"auto"};var qr=Yr;qr.Icon=Br,qr.Label=Ze,qr.Subline=nt;var Gr=new Le.a({name:"button-group",prefix:"nova-c-"}),Kr=function(e){var t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]);if(!Re.a.Children.count(n))return null;var o=Gr({element:"item",extra:t});return Re.a.createElement("div",Object.assign({},o,r),n)},Wr=Kr;var Hr=new Le.a({name:"button-group",prefix:"nova-c-"}),Qr=function(e){var t=e.wrap,n=e.gutter,r=e.width,o=e.orientation,i=e.className,a=e.children,s=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["wrap","gutter","width","orientation","className","children"]);if(!Re.a.Children.count(a))return null;var u=Hr({modifiers:We({wrap:t,gutter:n,orientation:o,width:r}),extra:i}),c=Hr({element:"item"});function l(e){return e.type===qr&&"full"===r?Re.a.cloneElement(e,{width:"full"}):e}var f=Re.a.Children.toArray(a).map(function(e,t){var n=e;if(e.type===Wr){var r=l(Re.a.Children.only(e.props.children));n=Re.a.cloneElement(n,{children:r})}else n=Re.a.createElement("div",Object.assign({key:t},c),l(e));return n});return Re.a.createElement("div",Object.assign({},u,s),f)};Qr.defaultProps={width:"auto",gutter:"m",orientation:"horizontal",wrap:!1};var Jr=Qr;Jr.Item=Wr;var $r=new Le.a({name:"form-group",prefix:"nova-l-"});var Xr=function(e){var t=e.children,n=e.className,r=e.layout,o=e.gutter,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className","layout","gutter"]);return Re.a.createElement("div",Object.assign({},$r({modifiers:We({layout:r,gutter:o}),extra:n}),i),t)};Xr.defaultProps={layout:"stack",gutter:"s"};var Zr=Xr;var eo=function(e){var t=e.children,n=e.className,r=e.width,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className","width"]);return Re.a.createElement("div",Object.assign({},$r({element:"item",modifiers:function(e){var t=[],n=e;return"string"==typeof e&&(n={mUp:e}),Ye()(n,function(e,n){t.push("width-"+e+"@"+Ge()(n))}),t}(r),extra:n}),o),t)};ke.a.oneOf(["auto","whole","half","third","quarter"]),ke.a.oneOf(["auto","whole","half","third","quarter"]),ke.a.oneOf(["auto","whole","half","third","quarter"]),ke.a.oneOf(["auto","whole","half","third","quarter"]),ke.a.oneOf(["auto","whole","half","third","quarter"]),ke.a.oneOf(["auto","whole","half","third","quarter"]);eo.defaultProps={width:"auto"};var to=eo;Zr.Item=to;var no=new Le.a({name:"grid",prefix:"nova-o-"}),ro=function(e){var t=e.gutter,n=e.order,r=e.horizontalAlign,o=e.verticalAlign,i=e.children,a=e.className,s=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["gutter","order","horizontalAlign","verticalAlign","children","className"]),u=no({modifiers:We({gutter:t,order:n,horizontalAlign:r,verticalAlign:o}),extra:a});return Re.a.createElement("div",Object.assign({},u,s),i)};ro.defaultProps={gutter:"m",order:"normal",verticalAlign:"top",horizontalAlign:"left"};var oo=ro;var io=new Le.a({name:"grid",prefix:"nova-o-"}),ao=function(e){var t=e.width,n=e.pull,r=e.push,o=e.className,i=e.children,a=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["width","pull","push","className","children"]),s=io({element:"column",modifiers:We({width:t,push:r,pull:n},!0,function(e){return e+"/12"}),extra:o});return Re.a.createElement("div",Object.assign({},s,a),i)},so=(ke.a.oneOf([0,1,2,3,4,5,6,7,8,9,10,11,12]),ke.a.oneOf([0,1,2,3,4,5,6,7,8,9,10,11,12]),ke.a.oneOf([0,1,2,3,4,5,6,7,8,9,10,11,12]),ke.a.oneOf([0,1,2,3,4,5,6,7,8,9,10,11,12]),ke.a.oneOf([0,1,2,3,4,5,6,7,8,9,10,11,12]),ke.a.oneOf([0,1,2,3,4,5,6,7,8,9,10,11,12]),ke.a.oneOf([0,1,2,3,4,5,6,7,8,9,10,11,12]),ke.a.oneOf([0,1,2,3,4,5,6,7,8,9,10,11,12]),ao);oo.Column=so;var uo=new Le.a({name:"media-object",prefix:"nova-o-"}),co=function(e){var t=e.gutter,n=e.verticalAlign,r=e.children,o=e.className,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["gutter","verticalAlign","children","className"]),a=uo({modifiers:We({gutter:t,verticalAlign:n}),extra:o});return Re.a.createElement("div",Object.assign({},a,i),r)};co.defaultProps={gutter:"m",verticalAlign:"middle"};var lo=co;var fo=new Le.a({name:"media-object",prefix:"nova-o-"}),po=function(e){var t=e.width,n=e.className,r=e.children,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["width","className","children"]);if(!Re.a.Children.count(r))return null;var i=fo({element:"item",modifiers:We({width:t}),extra:n});return Re.a.createElement("div",Object.assign({},i,o),r)};po.defaultProps={width:"auto"};var ho=po;lo.Item=ho;var mo=new Le.a({name:"pack",prefix:"nova-o-"}),vo=function(e){var t=e.width,n=e.gutter,r=e.verticalAlign,o=e.children,i=e.className,a=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["width","gutter","verticalAlign","children","className"]),s=mo({modifiers:We({gutter:n,width:t,verticalAlign:r}),extra:i});return Re.a.createElement("div",Object.assign({},s,a),o)};vo.defaultProps={gutter:"m",verticalAlign:"top",width:"auto"};var yo=vo;var go=new Le.a({name:"pack",prefix:"nova-o-"}),bo=function(e){var t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]);if(!Re.a.Children.count(n))return null;var o=go({element:"item",extra:t});return Re.a.createElement("div",Object.assign({},o,r),n)},Eo=bo;yo.Item=Eo;var Oo=new Le.a({name:"stack",prefix:"nova-o-"}),wo=function(e){var t=e.gutter,n=e.gutterOutside,r=e.children,o=e.className,i=e.spacing,a=e.showDivider,s=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["gutter","gutterOutside","children","className","spacing","showDivider"]),u=Oo({modifiers:We({gutter:t,spacing:i,showDivider:a,noGutterOutside:!n}),extra:o});return Re.a.createElement("div",Object.assign({},u,s),r)};wo.defaultProps={gutter:"m",gutterOutside:!1,showDivider:!1,spacing:"none"};var _o=wo;var To=new Le.a({name:"stack",prefix:"nova-o-"}),So=function(e){var t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]);if(!Re.a.Children.count(n))return null;var o=To({element:"item",extra:t});return Re.a.createElement("div",Object.assign({},o,r),n)},Io=So;_o.Item=Io;var Po=new Le.a({name:"flex",prefix:"nova-l-"});var Co=function(e){var t=e.wrap,n=e.gutter,r=e.direction,o=e.children,i=e.className,a=e.alignItems,s=e.justifyContent,u=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["wrap","gutter","direction","children","className","alignItems","justifyContent"]),c=Po({modifiers:[].concat(We({gutter:n,wrap:t,alignItems:a,justifyContent:s}),We({direction:r},!0)),extra:i});return Re.a.createElement("div",Object.assign({},c,u),o)};ke.a.oneOf(["column-reverse","column","row-reverse","row"]),ke.a.oneOf(["column-reverse","column","row-reverse","row"]),ke.a.oneOf(["column-reverse","column","row-reverse","row"]),ke.a.oneOf(["column-reverse","column","row-reverse","row"]),ke.a.oneOf(["column-reverse","column","row-reverse","row"]),ke.a.oneOf(["column-reverse","column","row-reverse","row"]),ke.a.oneOf(["column-reverse","column","row-reverse","row"]),ke.a.oneOf(["column-reverse","column","row-reverse","row"]);Co.defaultProps={gutter:"m",wrap:"nowrap",direction:"row",alignItems:"stretch",justifyContent:"flex-start"};var xo=Co;var jo=function(e){var t=e.className,n=e.children,r=e.grow,o=e.shrink,i=e.alignSelf,a=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children","grow","shrink","alignSelf"]);if(!Re.a.Children.count(n))return null;var s=Po({element:"item",modifiers:[].concat(We({alignSelf:i},!0),[r&&"grow",o&&"shrink"]).filter(Boolean),extra:t});return Re.a.createElement("div",Object.assign({},s,a),n)},Ao=(ke.a.oneOf(["auto","baseline","center","flex-end","flex-start","stretch"]),ke.a.oneOf(["auto","baseline","center","flex-end","flex-start","stretch"]),ke.a.oneOf(["auto","baseline","center","flex-end","flex-start","stretch"]),ke.a.oneOf(["auto","baseline","center","flex-end","flex-start","stretch"]),ke.a.oneOf(["auto","baseline","center","flex-end","flex-start","stretch"]),ke.a.oneOf(["auto","baseline","center","flex-end","flex-start","stretch"]),ke.a.oneOf(["auto","baseline","center","flex-end","flex-start","stretch"]),ke.a.oneOf(["auto","baseline","center","flex-end","flex-start","stretch"]),jo);xo.Item=Ao;var ko=new Le.a({name:"alert",prefix:"nova-c-"}),No=function(e){var t=e.title,n=e.description,r=e.color,o=e.children,i=e.className,a=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["title","description","color","children","className"]),s=ko({modifier:We({color:r}),extra:i});return Re.a.createElement("div",Object.assign({},s,a),Re.a.createElement(lo,{gutter:"l"},t||n?t&&n?Re.a.createElement(lo.Item,{width:"full"},Re.a.createElement(Ut,{spacing:"xxs"},Re.a.createElement("b",null,t)),Re.a.createElement(Ut,null,n)):Re.a.createElement(lo.Item,{width:"full"},Re.a.createElement(Ut,{spacing:"none"},Re.a.createElement("b",null,t||n))):null,Re.a.createElement(lo.Item,null,o)))};No.defaultProps={color:"blue"};var Ro=No,Do=n(32),Lo=n.n(Do),Mo={transitionEnterTimeout:600,transitionLeaveTimeout:600,transitionName:{enter:"animate-enter",enterActive:"animate-enter-active",leave:"animate-leave",leaveActive:"animate-leave-active"}};var Fo=new Le.a({name:"alert-stack",prefix:"nova-c-"}),Uo=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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,e.call(this,n));return r._updateHeight=r._updateHeight.bind(r),r._onWindowResize=ln()(r._onWindowResize.bind(r),100),r._alertRef=null,r.state={height:0},r}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,e),t.prototype.componentDidMount=function(){this._updateHeight(),window.addEventListener("resize",this._onWindowResize,!0)},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this._onWindowResize,!0)},t.prototype._updateHeight=function(){var e=this._alertRef.offsetHeight;this.setState({height:e})},t.prototype._onWindowResize=function(){this._updateHeight()},t.prototype.render=function(){var e=this,t=this.props,n=t.children,r=t.className,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["children","className"]);return Re.a.createElement("div",Object.assign({style:{maxHeight:this.state.height}},Fo({element:"item",extra:r}),o),Re.a.createElement("div",{ref:function(t){e._alertRef=t}},n))},t}(Ne.Component),Bo=Uo;var zo=new Le.a({name:"alert-stack",prefix:"nova-c-"}),Vo=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,e.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,e),t.prototype._renderItems=function(){var e=this.props.children;return Lo()(Re.a.Children.toArray(e),function(e){return Re.a.createElement(Bo,{key:e.key},e)}).reverse()},t.prototype.render=function(){var e=this.props,t=e.className,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className"]);return Re.a.createElement(ot.a,Object.assign({component:"div"},zo({extra:t}),Mo,n),this._renderItems())},t}(Ne.Component);Vo.defaultProps={};var Yo=Vo,qo=function(e,t){return!e.contains(t)},Go={transitionAppear:!0,transitionAppearTimeout:450,transitionEnterTimeout:450,transitionLeaveTimeout:450,transitionName:{appear:"enter",appearActive:"enter-active",enter:"enter",enterActive:"enter-active",leave:"leave",leaveActive:"leave-active"}},Ko={busy:{transitionEnterTimeout:0,transitionLeaveTimeout:1e3}};var Wo=new Le.a({name:"modal",prefix:"nova-c-"}),Ho=function(e){var t=e.className,n=e.backgroundImage,r=e.children,o=e.spacing,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","backgroundImage","children","spacing"]),a=Wo({element:"header",modifiers:We({spacing:o}),extra:t}),s=void 0;return n&&(s={backgroundImage:"url("+n+")"}),Re.a.createElement("header",Object.assign({},a,je()(i,"status")),Re.a.createElement(br,Object.assign({},Wo("header-skeleton"),{key:"skeleton"})),Re.a.createElement("div",Wo("header-content"),r),Re.a.createElement("div",Object.assign({style:s},Wo("header-image"))))};Ho.defaultProps={spacing:"inherit"},Ho.role="Modal.Header";var Qo=Ho;var Jo=new Le.a({name:"modal",prefix:"nova-c-"}),$o=function(e){var t=e.className,n=e.children,r=e.spacing,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children","spacing"]),i=Jo({element:"body",modifiers:We({spacing:r}),extra:t});return Re.a.createElement("div",Object.assign({},i,je()(o,"status")),Re.a.createElement(br,Object.assign({},Jo("body-skeleton"),{key:"skeleton"})),Re.a.createElement("div",Object.assign({key:"content"},Jo("body-content")),n))};$o.role="Modal.Body",$o.defaultProps={spacing:"inherit"};var Xo=$o;var Zo=new Le.a({name:"modal",prefix:"nova-c-"}),ei=function(e){var t=e.align,n=e.className,r=e.children,o=e.spacing,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["align","className","children","spacing"]),a=Zo({element:"footer",modifiers:We({align:t,spacing:o}),extra:n});return Re.a.createElement("footer",Object.assign({},a,je()(i,"status")),Re.a.createElement(br,Object.assign({},Zo("footer-skeleton"),{key:"skeleton",type:"button"})),Re.a.createElement("div",Zo("footer-content"),r))};ei.defaultProps={align:"right",spacing:"inherit"},ei.role="Modal.Footer";var ti=ei,ni=n(77),ri=n.n(ni),oi=function(e,t,n){var r=Re.a.Children.toArray(e),o=ri()(r,function(e){return e.type&&e.type.role===t});return o.length?(n&&(o=o.slice(0,n)),o):null};var ii=new Le.a({name:"modal",prefix:"nova-c-"}),ai=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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,e.call(this,n));return r.onRequestClose=function(){(0,r.props.onRequestClose)()},r.onDocumentKeyDown=function(e){27===e.keyCode&&r.onRequestClose()},r.onDocumentClick=function(e){var t=e.target;t&&r.modalWindow&&qo(r.modalWindow,t)&&!r.blockCloseOnClick&&r.onRequestClose(),r.blockCloseOnClick=!1},r.onDocumentMouseDown=function(e){var t=e.target;qo(r.modalWindow,t)||(r.blockCloseOnClick=!0)},r.blockCloseOnClick=!1,r.zIndex=m.getIndex(),r.state={animationClasses:[]},r}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,e),t.prototype.componentDidMount=function(){this.props.isOpen&&(this.setupIsCloseable(),this.triggerEnterLifecycleCallbacks())},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=this.props,n=t.status,r=t.isOpen;n!==e.status&&(e.status&&this.addTransitionClasses(e.status+"-enter",Ko[e.status].transitionEnterTimeout),n&&this.addTransitionClasses(n+"-leave",Ko[n].transitionLeaveTimeout)),r!==e.isOpen&&(e.isOpen?(this.setupIsCloseable(),this.triggerEnterLifecycleCallbacks()):(this.destroyIsCloseable(),this.triggerLeaveLifecycleCallbacks()))},t.prototype.componentDidUpdate=function(){this.props.isOpen&&this.props.isCloseable?this.setupIsCloseable():this.destroyIsCloseable()},t.prototype.componentWillUnmount=function(){clearTimeout(this.leaveTransitionTimeout),document.body.classList.remove("nova-has-modal"),document.documentElement.classList.remove("nova-has-modal"),this.destroyIsCloseable()},t.prototype.setupIsCloseable=function(){this.props.isCloseable&&(document.addEventListener("keydown",this.onDocumentKeyDown),document.addEventListener("click",this.onDocumentClick,!0),document.addEventListener("mousedown",this.onDocumentMouseDown,!0))},t.prototype.triggerEnterLifecycleCallbacks=function(){var e=this.props,t=e.willEnter,n=e.didEnter;document.body.classList.add("nova-has-modal"),document.documentElement.classList.add("nova-has-modal"),t(),setTimeout(function(){return n()},Go.transitionEnterTimeout)},t.prototype.triggerLeaveLifecycleCallbacks=function(){var e=this.props,t=e.willLeave,n=e.didLeave;document.body.classList.remove("nova-has-modal"),document.documentElement.classList.remove("nova-has-modal"),t(),setTimeout(function(){return n()},Go.transitionLeaveTimeout)},t.prototype.destroyIsCloseable=function(){document.removeEventListener("keydown",this.onDocumentKeyDown),document.removeEventListener("click",this.onDocumentClick,!0),document.removeEventListener("mousedown",this.onDocumentMouseDown,!0)},t.prototype.addTransitionClasses=function(e,t){var n=this,r=this.state.animationClasses;r.push(""+e),this.setState({animationClasses:r}),requestAnimationFrame(function(){requestAnimationFrame(function(){r.push(e+"-active"),n.setState({animationClasses:r},function(){n.leaveTransitionTimeout=setTimeout(function(){return n.removeTransitionClasses()},t)})})})},t.prototype.removeTransitionClasses=function(){this.setState({animationClasses:[]})},t.prototype.renderChildren=function(){var e=this.props.children,t=oi(e,Qo.role,1),n=oi(e,ti.role,1),r=oi(e,Xo.role,1);return r||n||t||(r=Re.a.createElement(Xo,null,e)),[t,Re.a.createElement("div",{key:"content",className:"nova-c-modal__content"},r,n)]},t.prototype.renderCloseButton=function(){return this.props.isCloseable?Re.a.createElement(qr,{type:"button",onClick:this.onRequestClose,className:"nova-c-modal__close",radius:"full",size:"xs",theme:"inverted",color:"grey"},Re.a.createElement(qr.Icon,{identifier:"close"})):null},t.prototype.renderModal=function(){var e=this,t=this.props,n=t.children,r=t.position,o=t.className,i=t.color,a=t.isOpen,s=t.spacing,u=t.status,c=t.width,l=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["children","position","className","color","isOpen","spacing","status","width"]),f=this.props.orientation,p=this.state.animationClasses;oi(n,Qo.role,1)||(f="vertical");var d=ii({modifiers:We({color:i,orientation:f,position:r,spacing:s,width:c}),extra:[u?"is-"+u:"",o].concat(p)});return a?Re.a.createElement("div",Object.assign({},d,je()(l,"willEnter","didEnter","willLeave","didLeave","onRequestClose","isCloseable","isOpen","status","orientation"),{style:Object.assign({},l.style,{zIndex:this.zIndex})}),Re.a.createElement("div",Object.assign({},ii({element:"overlay"}),{onClick:this.onOverlayClick})),Re.a.createElement("div",ii({element:"container"}),Re.a.createElement("div",Object.assign({ref:function(t){e.modalWindow=t}},ii({element:"window"})),this.renderChildren(),this.renderCloseButton()))):null},t.prototype.render=function(){var e=this.props.scope,t=Re.a.createElement(ot.a,Go,this.renderModal());return"global"===e?Re.a.createElement(An,null,t):t},t}(Ne.Component);ai.defaultProps={scope:"global",color:"green",isCloseable:!0,isOpen:!1,orientation:"horizontal",onRequestClose:function(){},position:"center",status:"",spacing:"xxl",width:"s",didEnter:function(){},didLeave:function(){},willEnter:function(){},willLeave:function(){}};var si=Object(St.compose)(Object(St.setDisplayName)(Object(St.wrapDisplayName)(ai,"withDeferredLoading")),kt(1e3))(ai);var ui=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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,e.call(this,n));return r.state={activeModalIndex:null},r.busyTimeout=null,r.clearBusyIndex=null,r.onDocumentKeyDown=r.onDocumentKeyDown.bind(r),r.closeModal=r.closeModal.bind(r),r.openModal=r.openModal.bind(r),r.nextModal=r.nextModal.bind(r),r}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,e),t.prototype.componentDidMount=function(){document.addEventListener("keydown",this.onDocumentKeyDown)},t.prototype.onDocumentKeyDown=function(e){var t=e.keyCode;null!==this.state.activeModalIndex&&39===t&&this.nextModal()},t.prototype.componentWillUnmout=function(){document.removeEventListener("keydown",this.onDocumentKeyDown)},t.prototype.closeModal=function(){this.setState({activeModalIndex:null})},t.prototype.openModal=function(){this.setState({activeModalIndex:0})},t.prototype.nextModal=function(){var e=this.props.children;this.setState(function(t){return{activeModalIndex:(t.activeModalIndex+1)%Re.a.Children.toArray(e).length}})},t.prototype.renderModals=function(){var e=this,t=this.props.children;clearTimeout(this.busyTimeout);var n=Lo()(Re.a.Children.toArray(t),function(t,n){return Re.a.cloneElement(t,{isOpen:n===e.state.activeModalIndex,status:n===e.clearBusyIndex?"":t.props.status,onRequestClose:e.closeModal})});return this.clearBusyIndex=null,null!==this.state.activeModalIndex&&"busy"===Re.a.Children.toArray(t)[this.state.activeModalIndex].props.status&&(this.busyTimeout=setTimeout(function(){e.forceUpdate()},6e3),this.clearBusyIndex=this.state.activeModalIndex),n},t.prototype.render=function(){return Re.a.createElement("div",null,Re.a.createElement(qr,{type:"button",onClick:this.openModal},"Open Modal"),this.renderModals())},t}(Ne.Component),ci=ui;var li=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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,e.call(this,n));return r.onModalRequestClose=function(){r.setState({isOpen:!1,status:"busy"})},r.onModalDidEnter=function(){setTimeout(function(){r.setState({status:""})},r.props.timeout)},r.onButtonClick=function(){r.setState({isOpen:!0})},r.state={isOpen:!1,status:"busy"},r}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,e),t.prototype.render=function(){return Re.a.createElement("div",null,Re.a.createElement(qr,{type:"button",onClick:this.onButtonClick},"Open"),this.state.isOpen?Re.a.cloneElement(Re.a.Children.only(this.props.children),{isOpen:!0,onRequestClose:this.onModalRequestClose,status:this.state.status,didEnter:this.onModalDidEnter}):null)},t}(Ne.Component);li.defaultProps={timeout:1e3};var fi=li;si.Header=Qo,si.Body=Xo,si.Footer=ti;var pi=new Le.a({name:"qualifier",prefix:"nova-c-"});var di=function(e,t){var n=t.qualifierSize,r=e.src,o=e.alt,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["src","alt"]);return Re.a.createElement(lo.Item,null,Re.a.createElement(st,Object.assign({},i,{size:n,src:r,alt:o})))};di.role="Qualifier.Image",di.contextTypes={qualifierSize:ke.a.string};var hi=di;var mi=function(e,t){var n=t.qualifierSize,r=e.theme,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["theme"]);return Re.a.createElement(lo.Item,pi("icon","theme-"+r),Re.a.createElement(_t,Object.assign({},o,{theme:r,size:n})))};mi.role="Qualifier.Icon",mi.contextTypes={qualifierSize:ke.a.string},mi.defaultProps={theme:"solid"};var vi=mi;var yi=function(e){var t=e.size,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size"]);return Re.a.createElement(Ut,Object.assign({size:t},n,pi("label")))};yi.role="Qualifier.Label",yi.defaultProps={size:"m"};var gi=yi,bi=function(e){return Re.a.createElement(lo.Item,Object.assign({width:"full"},e,pi("labels")))};bi.role="Qualifier.Labels";var Ei=bi;var Oi=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,e.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,e),t.prototype.getChildContext=function(){return{qualifierSize:this.getSize()}},t.prototype.getSize=function(){if("auto"!==this.props.size)return this.props.size;var e=this.props.children;if(!oi(e,Ei.role,1))return"s";var t=oi(e,Ei.role,1).pop().props.children||[];return oi(t,gi.role,2).length<2?"s":"m"},t.prototype.render=function(){var e=this.props,t=e.priority,n=e.className,r=(e.size,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["priority","className","size"])),o=[t,this.getSize()];return Re.a.createElement(lo,Object.assign({},r,pi({modifiers:o,extra:n}),{gutter:"xs"}))},t}(Ne.Component),wi=Oi;Oi.role="Qualifier",Oi.defaultProps={priority:"primary",size:"auto"},Oi.childContextTypes={qualifierSize:ke.a.string},wi.Image=hi,wi.Icon=vi,wi.Labels=Ei,wi.Label=gi;var _i=new Le.a({name:"tag-input",prefix:"nova-e-"});function Ti(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}var Si=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["className","status","children","isLoading"]);return Re.a.createElement("div",Object.assign({},_i(null,null,[r?"is-"+r:"",i?"is-loading":"",n]),a),Re.a.createElement("div",Object.assign({},_i("wrapper"),{ref:function(t){e.inputWrapper=t},onClick:Tt(a.onClick,this.handleClick),onDoubleClick:Tt(a.onDoubleClick,this.handleDoubleClick)}),o,i&&Re.a.createElement("div",_i("spinner"),Re.a.createElement(Ar,null))))},t}(Ne.PureComponent);Si.defaultProps={status:"",isLoading:!1};var Ii=Si;var Pi=function(e){var t=e.isOpen,n=e.className,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["isOpen","className"]);return Re.a.createElement("div",_i("trigger",null,n),Re.a.createElement(qr,Object.assign({"aria-haspopup":"true","aria-expanded":t&&"true"},r,{theme:"bare",color:"grey",type:"button"},_i("trigger-button")),Re.a.createElement(qr.Icon,{identifier:t?"arrow-up":"arrow-down"})))};Pi.defaultProps={isOpen:!1};var Ci=Pi;function xi(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}var ji=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["isRemoveable","children","className","onRemove","item"]));return Re.a.createElement("div",Object.assign({},_i("tag",null,r),o),Re.a.createElement("div",_i("tag-content"),n),t&&Re.a.createElement("div",_i("tag-remove"),Re.a.createElement(qr,Object.assign({size:"xs",color:"grey",theme:"bare",type:"button",onClick:this.handleRemove},_i("tag-remove-button")),Re.a.createElement(qr.Icon,{identifier:"close"}))))},t}(Ne.PureComponent);ji.defaultProps={isRemoveable:!0,onRemove:function(e){}};var Ai=ji,ki=n(1589),Ni=n.n(ki);var Ri=function(e){function t(){!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,e.call(this));return n.updateValue=function(e){n.setState({value:e.target.value})},n.state={value:""},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,e),t.prototype.render=function(){var e=this.props,t=e.fieldRef,n=e.className,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fieldRef","className"]);return Re.a.createElement(Ni.a,Object.assign({},_i("input",null,n),{type:"text",injectStyles:!1,onChange:Tt(r.onChange,this.updateValue),ref:function(e){e&&t(e.getInput())}},r,{value:r.value||this.state.value}))},t}(Ne.PureComponent);Ri.defaultProps={fieldRef:function(){}};var Di=Ri;Ii.Tag=Ai,Ii.Input=Di,Ii.Trigger=Ci;var Li=new Le.a("nova-c-dropdown");var Mi=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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,e.call(this,n));return r.checkIfModal=function(){var e=r.shouldRenderAsModal();e!==r.state.renderAsModal&&r.setState({renderAsModal:e})},r.show=function(){r.popover&&r.popover.show()},r.hide=function(){r.popover&&r.popover.hide()},r.shouldRenderAsModal=function(){var e=r.props,t=e.isResponsive,n=e.initVisible,o=e.target,a="(min-width: "+i.getBreakpoint("m")+")",s=xn&&!window.matchMedia(a).matches;return t&&s&&!n&&void 0!==o},r.state={renderAsModal:r.shouldRenderAsModal()},r}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,e),t.prototype.componentDidMount=function(){window.addEventListener("resize",this.checkIfModal,!0)},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.checkIfModal,!0)},t.prototype.renderCloseButton=function(){return this.state.renderAsModal?Re.a.createElement(qr,{type:"button",onClick:this.hide,className:"nova-c-tooltip__close",radius:"full",size:"xs",theme:"inverted",color:"grey"},Re.a.createElement(qr.Icon,{identifier:"close"})):null},t.prototype.render=function(){var e=this,t=this.props,n=t.position,r=t.placement,o=t.target,i=t.initVisible,a=t.offset,s=t.mode,u=t.className,c=t.mount,l=t.scope,f=t.children,p=t.willEnter,d=t.willLeave,h=t.didEnter,m=t.didLeave,v=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["position","placement","target","initVisible","offset","mode","className","mount","scope","children","willEnter","willLeave","didEnter","didLeave"]),y=r+"-"+n,g=this.state.renderAsModal?"is-modal":"",b=Li({extra:[u,g]}),E=Re.a.createElement("div",b,Re.a.createElement("div",Li("body"),f),this.renderCloseButton());return o?Re.a.createElement(Cn,Object.assign({ref:function(t){e.popover=t},target:o,initVisible:i,mode:s,scope:l,willEnter:p,didEnter:h,willLeave:d,didLeave:m,mount:c,offset:a,position:!this.state.renderAsModal&&y},v),E):E},t}(Ne.Component);Mi.defaultProps={mode:"click",initVisible:!1,scope:"local",mount:"span",offset:{top:10,left:0},position:"right",placement:"below",isResponsive:!0};var Fi=Mi;var Ui=function(e){var t=e.children,n=e.className,r=e.icon,o=e.status,i=e.subline,a=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className","icon","status","subline"]),s=a.href?"a":"button",u="button"===s?Object.assign({},a,{disabled:"disabled"===o}):je()(a,["type","disabled"]);return Re.a.createElement(s,Object.assign({},u,Li("action",o,n),Je(a)),r&&Re.a.createElement(_t,Object.assign({},Li("icon"),{identifier:r})),Re.a.createElement("span",null,Re.a.createElement(Ut,{size:"m",spacing:"none"},t),i&&Re.a.createElement(Ut,Object.assign({size:"s",spacing:"none"},Li("subline")),i)))};Ui.defaultProps={type:"button"};var Bi=Ui;var zi=function(e){var t=e.children,n=e.className,r=e.fieldRef,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className","fieldRef"]);return Re.a.createElement(vt,Object.assign({fieldRef:r},Li("checkbox","",n),o),t)};zi.defaultProps={};var Vi=zi;var Yi=function(e){var t=e.children,n=e.className,r=e.fieldRef,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className","fieldRef"]);return Re.a.createElement(dt,Object.assign({fieldRef:r},Li("checkbox","",n),o),t)};Yi.defaultProps={};var qi=Yi;var Gi=function(e){var t=e.className,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className"]);return Re.a.createElement("span",Object.assign({},Li("divider","",t),n))};Gi.defaultProps={};var Ki=Gi;var Wi=function(e){var t=e.children,n=e.title,r=e.className,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","title","className"]);return Re.a.createElement("div",Object.assign({},Li("header","",r),o),Re.a.createElement(Ut,Object.assign({size:"l",spacing:t?"xxs":"none"},Li("header-title")),n),Re.a.createElement(Ut,{size:"m"},t))};Wi.defaultProps={};var Hi=Wi;Fi.Action=Bi,Fi.Checkbox=Vi,Fi.Radio=qi,Fi.Divider=Ki,Fi.Header=Hi;var Qi=new Le.a({name:"card",prefix:"nova-c-"});var Ji=function(e){var t=e.className,n=e.children,r=e.spacing,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children","spacing"]),i=Qi({element:"header",modifiers:We({spacing:r}),extra:t});return Re.a.createElement("div",Object.assign({},i,o),n)};Ji.defaultProps={spacing:"inherit"};var $i=Ji;var Xi=function(e){var t=e.className,n=e.children,r=e.spacing,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children","spacing"]),i=Qi({element:"body",modifiers:We({spacing:r}),extra:t});return Re.a.createElement("div",Object.assign({},i,o),n)};Xi.defaultProps={spacing:"inherit"};var Zi=Xi;var ea=function(e){var t=e.align,n=e.className,r=e.children,o=e.spacing,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["align","className","children","spacing"]),a=Qi({element:"footer",modifiers:We({align:t,spacing:o}),extra:n});return Re.a.createElement("footer",Object.assign({},a,i),Re.a.createElement("div",Qi("footer-content"),r))};ea.defaultProps={align:"left",spacing:"inherit"};var ta=ea;var na=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,e.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,e),t.prototype.renderChildren=function(){var e=this.props.children;return Ue(e,$i)||Ue(e,Zi)||Ue(e,ta)?e:Re.a.createElement(Zi,null,e)},t.prototype.render=function(){var e=this.props,t=e.spacing,n=e.elevation,r=e.className,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["spacing","elevation","className"]);return Re.a.createElement("div",Object.assign({},Qi("",We({spacing:t,elevation:n}),r),o),this.renderChildren())},t}(Ne.Component);na.defaultProps={spacing:"xl",elevation:"1-above"};var ra=na;ra.Header=$i,ra.Body=Zi,ra.Footer=ta;var oa=new Le.a({name:"image-tiles",prefix:"nova-c-"}),ia=function(e){return e[Math.min.apply(Math,Object.keys(e))]},aa=function(e){return e[Math.max.apply(Math,Object.keys(e))]},sa=[[aa],[aa,aa],[aa,ia,ia],[aa,ia,ia,ia],[aa,aa,ia,ia,ia]],ua=function(e,t,n){var r=function(e){return e.split(",").reduce(function(e,t){if(!t)return e;var n=t.trim().split(" "),r=n[0],o=n[1];return"w"!==o.substring(o.length-1)?e:(e[parseInt(o,10)]=r,e)},{})}(e);return function(e,t){return sa[e-1]&&sa[e-1][t]?sa[e-1][t]:aa}(t,n)(r)};var ca=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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,e.call(this,n));return r.handleImagesLoadComplete=function(){var e=ri()(r.loadedImages,function(e){return"success"===e.status&&e.width/e.height>1}),t=ri()(r.loadedImages,function(e){return"success"===e.status&&e.width/e.height<1}),n=e.length>=t.length?"landscape":"portrait";r.setState({orientation:n,isReady:!0})},r.handleImageLoadError=function(){r.loadedImages.push({status:"error"}),r.checkImagesLoadComplete()},r.handleImageLoadComplete=function(e){r.loadedImages.push({width:e.naturalWidth,height:e.naturalHeight,status:"success"}),r.checkImagesLoadComplete()},r.loadedImages=[],r.state=r.getState(),r}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,e),t.prototype.componentDidUpdate=function(e){!e.loadImages&&this.props.loadImages&&this.loadImages()},t.prototype.getState=function(){return{isReady:!1,orientation:"landscape"}},t.prototype.loadImages=function(){this.loadedImages=[],this.setState({isReady:!1})},t.prototype.checkImagesLoadComplete=function(){var e=this.props.children,t=Re.a.Children.toArray(e).length;this.loadedImages.length===Math.min(t,5)&&this.handleImagesLoadComplete()},t.prototype.renderChildren=function(e){var t=this,n=this.state.isReady,r=this.props.loadImages,o=!we("ImageTilesLoadImagesInstantly"),i=we("ImageTilesOptimizeSrcSetHandling"),a=Re.a.Children.toArray(e).length,s=Math.max(0,a-5),u=Re.a.Children.toArray(e).slice(0,5);return u.map(function(e,a){var c={overflow:s&&4===a?s:null,renderImage:r,showImage:!o||n,onImageLoad:t.handleImageLoadComplete,onError:Tt(e.props.onError,t.handleImageLoadError),src:i&&e.props.srcSet?ua(e.props.srcSet,u.length,a):e.props.src,srcSet:i?null:e.props.srcSet,sizes:i?null:e.props.sizes};return Re.a.cloneElement(e,c)})},t.prototype.render=function(){var e=this.state,t=e.isReady,n=e.orientation,r=this.props,o=r.children,i=r.className,a=r.layout,s=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(r,["children","className","layout"]),u=Re.a.Children.toArray(o).length,c=!we("ImageTilesLoadImagesInstantly");return Re.a.createElement("div",Object.assign({},oa("",["orientation-"+("auto"===a?n:a),"tiles-of-"+Math.min(5,u)],[c&&!t&&"is-preloading",i]),je()(s,"loadImages")),Re.a.createElement("div",oa("container"),this.renderChildren(o)))},t}(Ne.Component);ca.defaultProps={loadImages:!0,layout:"auto"};var la=ca;function fa(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}var pa=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(o,["src","className","alt","href","srcSet","sizes"]),p=u?"a":"button",d=u?je()(f,["type"]):f;return Re.a.createElement("div",oa("item","",a),Re.a.createElement(p,Object.assign({},oa("link"),{href:u},je()(d,"showImage","renderImage","overflow","onLoad","onError","imageIndex","onImageLoad")),Re.a.createElement("div",oa("image-container"),function(){var e=r.props,t=e.renderImage,n=e.onError;return t&&Re.a.createElement("img",Object.assign({},oa("image",{hidden:!f.showImage}),{onLoad:r.handleImageOnLoad,onError:n,src:i,srcSet:c,alt:s,sizes:l,ref:function(e){r.image=e}}))}(),(e=r.props,t=e.showImage,n=e.overflow,t?n?Re.a.createElement("div",oa("image-overflow"),Re.a.createElement(Ut,Object.assign({size:"xl"},oa("image-overflow-label")),"+"+n)):Re.a.createElement("div",oa("image-magnifier"),Re.a.createElement(_t,Object.assign({},oa("image-magnifier-icon"),{size:"m",identifier:"magnifier"}))):null))))},t}(Ne.PureComponent),da=function(){};pa.defaultProps={type:"button",onLoad:da,onError:da};var ha=pa;la.Image=ha;var ma=new Le.a({name:"image-strip",prefix:"nova-c-"}),va=function(){return Re.a.createElement("div",ma("item"),Re.a.createElement("div",ma("placeholder")))};va.defaultProps={};var ya=va;var ga=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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,e.call(this,n));return r.handleImagesLoadComplete=function(){r.setState({isReady:!0})},r.handleImageLoadError=function(){r.loadedImages.push({status:"error"}),r.checkImagesLoadComplete()},r.handleImageLoadComplete=function(){r.loadedImages.push({status:"success"}),r.checkImagesLoadComplete()},r.loadedImages=[],r.state=r.getState(),r}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,e),t.prototype.componentDidUpdate=function(e){!e.loadImages&&this.props.loadImages&&this.loadImages()},t.prototype.getState=function(){return{isReady:!1}},t.prototype.getNumOfTiles=function(){var e=this.props,t=e.children,n=e.numOfTiles;return n&&n>0?n:Re.a.Children.count(t)},t.prototype.loadImages=function(){this.loadedImages=[],this.setState({isReady:!1})},t.prototype.checkImagesLoadComplete=function(){var e=this.props.children,t=Re.a.Children.toArray(e).length,n=this.getNumOfTiles();this.loadedImages.length===Math.min(t,n)&&this.handleImagesLoadComplete()},t.prototype.renderChildren=function(e){for(var t=this,n=this.state.isReady,r=this.props.loadImages,o=!we("ImageStripLoadImagesInstantly"),i=this.getNumOfTiles(),a=Re.a.Children.toArray(e).length,s=Math.max(0,a-i),u=Re.a.Children.toArray(e).slice(0,i).map(function(e,a){var u={overflow:s&&a===i-1?s:null,renderImage:r,showImage:!o||n,onImageLoad:t.handleImageLoadComplete,onError:Tt(e.props.onError,t.handleImageLoadError)};return r?Re.a.cloneElement(e,u):Re.a.createElement(ya,{key:a})}),c=a;c=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["children","className","numOfTiles"]),a=!we("ImageStripLoadImagesInstantly");return Re.a.createElement("div",Object.assign({},ma("","",[a&&!e&&"is-preloading",r]),je()(i,"loadImages")),Re.a.createElement("div",ma("container"),this.renderChildren(n,o)))},t}(Ne.Component);ga.defaultProps={numOfTiles:5,loadImages:!0};var ba=ga;function Ea(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}var Oa=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(o,["src","className","alt","href","srcSet","sizes"]),p=u?"a":"button",d=u?je()(f,["type"]):f;return Re.a.createElement("div",ma("item","",a),Re.a.createElement(p,Object.assign({},ma("link"),{href:u},je()(d,"showImage","renderImage","overflow","onLoad","onError","imageIndex","onImageLoad")),Re.a.createElement("div",ma("image-container"),function(){var e=r.props,t=e.renderImage,n=e.onError;return t&&Re.a.createElement("img",Object.assign({},ma("image",{hidden:!f.showImage}),{onLoad:r.handleImageOnLoad,onError:n,src:i,srcSet:c,alt:s,sizes:l,ref:function(e){r.image=e}}))}(),(e=r.props,t=e.showImage,n=e.overflow,t?n?Re.a.createElement("div",ma("image-overflow"),Re.a.createElement(Ut,Object.assign({size:"xl"},ma("image-overflow-label")),"+"+n)):Re.a.createElement("div",ma("image-magnifier"),Re.a.createElement(_t,Object.assign({},ma("image-magnifier-icon"),{size:"m",identifier:"magnifier"}))):null))))},t}(Ne.PureComponent),wa=function(){};Oa.defaultProps={type:"button",onLoad:wa,onError:wa};var _a=Oa;ba.Image=_a;var Ta=new Le.a({name:"carousel",prefix:"nova-c-"}),Sa=n(2152),Ia=n.n(Sa);var Pa=function(e){var t=e.sliderRef,n=e.children,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["sliderRef","children"]);return Re.a.createElement(Ia.a,Object.assign({ref:t},r),n)},Ca=Pa,xa=function(e){var t=e.direction,n=e.onNavigate,r=e.onClick,o=e.className,i=e.color;return Re.a.createElement(qr,Object.assign({type:"button",onClick:Tt(r,n)},Ta("arrow",t,o),{size:"xs",radius:"full",color:i,theme:"grey"===i?"inverted":"solid"}),Re.a.createElement(qr.Icon,{identifier:"arrow-"+t}))},ja=xa;var Aa=function(e){var t=e.children,n=e.className,r=e.style,o=e.initialWidth,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className","style","initialWidth"]),a=Object.assign({},r,{maxWidth:r&&r.width?r.width:o,minWidth:r&&r.width?null:o,width:r&&r.width?r.width:o});return Re.a.createElement("div",Object.assign({},Ta("slide",null,n),i,{style:a}),t)},ka=Aa,Na="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function Ra(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}var Da=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["children","animateSlideEnter","animateSlideLeave","autoplay","showArrows","showPagination","autoplaySpeed","pauseOnHover","lazyLoad","initialSlide","slidesToShow","slidesToScroll","gutter","isInteractive","keyNavigation","infinite","color","arrowPosition","willChange","didChange","overflow","className","onNextClick","onPrevClick"]),C={adaptiveHeight:!1,arrows:v&&a,dots:v&&s,autoplay:i,autoplaySpeed:u,centerMode:!1,draggable:!1,accessibility:v&&y,swipe:v,initialSlide:p,lazyLoad:f,pauseOnHover:l,slidesToShow:"number"==typeof d?d:1,slidesToScroll:"number"==typeof h?h:1,prevArrow:Re.a.createElement(ja,{direction:"left",onNavigate:I,color:b}),nextArrow:Re.a.createElement(ja,{direction:"right",onNavigate:S,color:b}),vertical:!1,variableWidth:!1,infinite:xn&&g,responsive:this.getResponsiveSettings({slidesToScroll:h,slidesToShow:d}),useCSS:!0,cssEase:c.getEasing("in-out-quart"),beforeChange:O,afterChange:w,focusOnSelect:!1};if(!Re.a.Children.count(n))return null;var x=xn?n:Re.a.Children.toArray(n).slice(p,p+C.slidesToShow),j=100/C.slidesToShow+"%";return Re.a.createElement("div",Object.assign({},Ta("",We({gutter:m,controls:E,color:b,overflow:_,arrows:a,pagination:s}),T),P),Re.a.createElement("div",Ta("container"),Re.a.createElement(ot.a,Object.assign({component:Ca,transitionName:"slide",transitionEnter:r,transitionLeave:o,transitionAppear:!1,transitionEnterTimeout:500,transitionLeaveTimeout:500,sliderRef:function(t){e.carousel=t}},C),Re.a.Children.map(x,function(e){return Re.a.createElement(ka,{initialWidth:j},e)}))))},t}(Ne.Component);Da.defaultProps={infinite:!1,showArrows:!0,showPagination:!1,autoplay:!1,autoplaySpeed:3e3,pauseOnHover:!0,lazyLoad:!1,initialSlide:0,slidesToShow:1,slidesToScroll:1,gutter:"s",color:"grey",arrowPosition:"outside",isInteractive:!0,keyNavigation:!0,overflow:"hidden",animateSlideLeave:!1,animateSlideEnter:!1};var La=Da,Ma=new Le.a({name:"button-stack",prefix:"nova-c-"});var Fa=function(e){var t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]);if(!Re.a.Children.count(n))return null;var o=Ma({element:"item",extra:t});return Re.a.createElement("div",Object.assign({},o,r),n)},Ua=Fa;var Ba=function(e){var t=e.className,n=e.children,r=e.activeButton,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children","activeButton"]),i=Re.a.Children.map(n,function(e,t){return Re.a.createElement(Ua,{className:parseInt(r,10)===t?"is-active":null},Re.a.cloneElement(e,{width:"full"}))});return Re.a.createElement("div",Object.assign({},Ma("","",t),o),i)};Ba.defaultProps={activeButton:0};var za=Ba;za.Item=Ua;var Va=new Le.a({name:"metric",prefix:"nova-c-"});var Ya=function(e){var t=e.children,n=e.href,r=e.onClick,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href","onClick"]);return Re.a.createElement(xo.Item,Object.assign({},Va("label"),{grow:!0}),Re.a.createElement(Ut,Object.assign({},Va("text"),{color:"grey-800"}),n||r?Re.a.createElement(Bn,Object.assign({},o,{href:n,onClick:r,type:r?"button":void 0,theme:"decorated"}),t):t))};Ya.role="Metric.Label";var qa=Ya,Ga=function(e){var t=e.children;return Re.a.createElement(xo.Item,Va("total"),Re.a.createElement(Ut,{size:"xl",color:"grey-900"},t))};Ga.role="Metric.Total";var Ka=Ga;function Wa(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var Ha=function(e){var t=e.children,n=Wa(e,["children"]);return Re.a.createElement(xo.Item,null,Re.a.createElement(lt,Object.assign({},function(e){var t=e.status,n=Wa(e,["status"]);switch(t){default:case"unchanged":return Object.assign({},n,{luminosity:"high",color:"grey"});case"changed":return Object.assign({},n,{color:"blue"})}}(n),Va("badge"),{display:"block",size:"m",theme:"ghost",radius:"full"}),t))};Ha.role="Metric.Badge",Ha.defaultProps={status:"unchanged"};var Qa=Ha;var Ja=function(e){var t=e.children,n=e.className,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className"]),o=oi(t,qa.role,1),i=oi(t,Ka.role,1),a=oi(t,Qa.role,1);return Re.a.createElement(xo,Object.assign({},r,Va({extra:n}),{gutter:"xxs",justifyContent:"space-between",alignItems:"center",direction:"row"}),o,i,a)};Ja.role="Metric";var $a=Ja;$a.Label=qa,$a.Total=Ka,$a.Badge=Qa;var Xa=new Le.a({name:"nav",prefix:"nova-c-"});var Za=function(e){function t(){!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,e.call(this));return n.handleWindowResize=function(){n.calculateOverflow()},n.handleScrollOverflowClick=function(){n.items.scrollBy({left:n.items.offsetWidth/2,behavior:"smooth"})},n.handlePlusTrigger=function(){n.dropdown.show()},n.handleDocumentKeyUp=function(e){"Escape"===e.key&&n.dropdown.hide()},n.handleDropdownDidEnter=function(){document.addEventListener("keyup",n.handleDocumentKeyUp)},n.handleDropdownDidLeave=function(){document.removeEventListener("keyup",n.handleDocumentKeyUp)},n.handlePriorityPlusItemClick=function(){n.dropdown.hide()},n.state={prioPlusItems:[],overflowIndex:null},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,e),t.prototype.getChildContext=function(){return{role:this.props.role}},t.prototype.componentDidMount=function(){this.handleWindowResizeOptimized=ln()(this.handleWindowResize,250),window.addEventListener("resize",this.handleWindowResizeOptimized),this.calculateOverflow()},t.prototype.componentDidUpdate=function(e){e.children!==this.props.children&&this.calculateOverflow()},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.handleWindowResizeOptimized),document.removeEventListener("keyup",this.handleDocumentKeyUp)},t.prototype.calculateOverflow=function(){if(this.items){var e=null;[].slice.call(this.items.children).every(function(t,n){return!(t.offsetTop>0)||(e=n,!1)}),this.setState({overflowIndex:e})}},t.prototype.renderOverflowItems=function(){var e=this,t=this.props,n=t.children,r=t.direction,o=this.state.overflowIndex;return"horizontal"===r?Re.a.Children.map(n,function(t,n){return o&&n>=o?Re.a.cloneElement(t,{tabIndex:null,onClick:Tt(e.handlePriorityPlusItemClick,t.props.onClick),itemIndex:n}):null}):n},t.prototype.renderItems=function(){var e=this.props,t=e.children,n=e.direction,r=this.state.overflowIndex;return"horizontal"===n?Re.a.Children.map(t,function(e,t){return r&&t>=r?Re.a.cloneElement(e,{tabIndex:-1,itemIndex:t}):Re.a.cloneElement(e,{itemIndex:t})}):t},t.prototype.render=function(){var e=this,t=this.props,n=t.direction,r=t.theme,o=t.spread,i=t.className,a=t.role,s=t.spacingOutside,u=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["direction","theme","spread","className","role","spacingOutside"]),c=this.state.overflowIndex;return Re.a.createElement("div",{style:{position:"relative",width:"100%",height:"100%"},className:i},Re.a.createElement("nav",Object.assign({},Xa(null,We({direction:n,theme:r,spread:o,noSpacingOutside:!s})),u),Re.a.createElement("div",Xa("wrapper"),Re.a.createElement("div",Object.assign({},Xa("items"),{ref:function(t){e.items=t},role:a}),this.renderItems()),"horizontal"===n&&Re.a.createElement("div",Object.assign({},Xa("scroll-overflow"),{"aria-hidden":!0}),Re.a.createElement("button",Object.assign({},Xa("scroll-overflow-trigger"),{onClick:this.handleScrollOverflowClick}),Re.a.createElement(_t,{identifier:"arrow-right"}))),"horizontal"===n&&Re.a.createElement("div",Object.assign({},Xa("plus-overflow"),{"aria-hidden":!0}),Re.a.createElement("button",Object.assign({},Xa("plus-overflow-trigger"),{onClick:this.handlePlusTrigger,tabIndex:c?null:"-1"}),Re.a.createElement(_t,{identifier:"ellipsis"}))))),Re.a.createElement(Fi,{scope:"local",ref:function(t){e.dropdown=t},didEnter:this.handleDropdownDidEnter,didLeave:this.handleDropdownDidLeave,target:Re.a.createElement("div",Object.assign({},Xa("plus-overflow-mount"),{"aria-hidden":!0}))},Re.a.createElement(es,{role:a,direction:"vertical"},this.renderOverflowItems())))},t}(Ne.PureComponent);Za.childContextTypes={role:ke.a.string},Za.defaultProps={direction:"horizontal",spread:"auto",theme:"bare",spacingOutside:!0};var es=Za;function ts(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function ns(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}var rs=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["ariaLabel","children","className"]);return Re.a.createElement("nav",Object.assign({"aria-label":t},is("",r),o),n)};as.defaultProps={};var ss=as;var us=function(e){var t=e.ariaLabel,n=e.href,r=e.className,o=e.children,i=e.status,a=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["ariaLabel","href","className","children","status"]),s=is({element:"item",extra:r});return Re.a.createElement("div",s,Re.a.createElement(qr,Object.assign({"aria-label":t,"aria-current":"selected"===i?"page":void 0,href:n,size:"s",radius:"full",align:"center",width:"square",theme:"selected"===i?"solid":"bare",color:"selected"===i?"blue":"grey",type:"button"},is("button"),a),o))};us.defaultProps={status:""};var cs=us;var ls=function(e){var t=e.ariaLabel,n=e.href,r=e.className,o=e.children,i=e.status,a=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["ariaLabel","href","className","children","status"]),s=is({element:"prev",extra:r});return Re.a.createElement(qr,Object.assign({"aria-label":t,href:n,theme:"bare",color:"grey",type:"button",status:i},s,a),o||Re.a.createElement(_t,{size:"s",identifier:"arrow-left"}))};ls.defaultProps={status:""};var fs=ls;var ps=function(e){var t=e.ariaLabel,n=e.href,r=e.className,o=e.children,i=e.status,a=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["ariaLabel","href","className","children","status"]),s=is({element:"next",extra:r});return Re.a.createElement(qr,Object.assign({"aria-label":t,href:n,theme:"bare",color:"grey",type:"button",status:i},s,a),o||Re.a.createElement(_t,{size:"s",identifier:"arrow-right"}))};ps.defaultProps={status:""};var ds=ps;var hs=function(e){var t=e.className,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className"]),r=is({element:"truncation",extra:t});return Re.a.createElement("div",Object.assign({},n,r),"…")};hs.defaultProps={};var ms=hs;ss.Item=cs,ss.Prev=fs,ss.Next=ds,ss.Truncation=ms; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ var vs=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};var ys=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=this.itemCount)throw Error("Requested index "+e+" is outside of range 0.."+this.itemCount);if(e>this.lastMeasuredIndex){for(var t=this.getSizeAndPositionOfLastMeasuredItem(),n=t.offset+t.size,r=this.lastMeasuredIndex+1;r<=e;r++){var o=this.itemSizeGetter(r);if(null==o||isNaN(o))throw Error("Invalid size returned for index "+r+" of value "+o);this.itemSizeAndPositionData[r]={offset:n,size:o},n+=o}this.lastMeasuredIndex=e}return this.itemSizeAndPositionData[e]},e.prototype.getSizeAndPositionOfLastMeasuredItem=function(){return this.lastMeasuredIndex>=0?this.itemSizeAndPositionData[this.lastMeasuredIndex]:{offset:0,size:0}},e.prototype.getTotalSize=function(){var e=this.getSizeAndPositionOfLastMeasuredItem();return e.offset+e.size+(this.itemCount-this.lastMeasuredIndex-1)*this.estimatedItemSize},e.prototype.getUpdatedOffsetForIndex=function(e){var t=e.align,n=void 0===t?"start":t,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,s=this.getSizeAndPositionForIndex(i),u=s.offset,c=u-r+s.size;switch(n){case"end":a=c;break;case"center":a=u-(r-s.size)/2;break;case"start":a=u;break;default:a=Math.max(c,Math.min(u,o))}var l=this.getTotalSize();return Math.max(0,Math.min(l-r,a))},e.prototype.getVisibleRange=function(e){var t=e.containerSize,n=e.offset,r=e.overscanCount;if(0===this.getTotalSize())return{};var o=n+t,i=this.findNearestItem(n);if(void 0===i)throw Error("Invalid offset "+n+" specified");var a=this.getSizeAndPositionForIndex(i);n=a.offset+a.size;for(var s=i;n=e?this.binarySearch({high:n,low:0,offset:e}):this.exponentialSearch({index:n,offset:e})},e.prototype.binarySearch=function(e){for(var t=e.low,n=e.high,r=e.offset,o=0,i=0;t<=n;){if(o=t+Math.floor((n-t)/2),(i=this.getSizeAndPositionForIndex(o).offset)===r)return o;ir&&(n=o-1)}return t>0?t-1:0},e.prototype.exponentialSearch=function(e){for(var t=e.index,n=e.offset,r=1;t=n)&&(e=0),this.sizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:this.props[Ts[o]],currentOffset:this.state&&this.state.offset||0,targetIndex:e})},t.prototype.getSize=function(e){var t=this.props.itemSize;return"function"==typeof t?t(e):Array.isArray(t)?t[e]:t},t.prototype.getStyle=function(e){var t=this.styleCache[e];if(t)return t;var n,r=this.props.scrollDirection,o=void 0===r?"vertical":r,i=this.sizeAndPositionManager.getSizeAndPositionForIndex(e),a=i.size,s=i.offset;return this.styleCache[e]=ys({},xs,((n={})[Ts[o]]=a,n[Ss[o]]=s,n))},t.prototype.recomputeSizes=function(e){void 0===e&&(e=0),this.styleCache={},this.sizeAndPositionManager.resetItem(e)},t.prototype.render=function(){var e,t=this.props,n=(t.estimatedItemSize,t.height),r=t.overscanCount,o=void 0===r?3:r,i=t.renderItem,a=(t.itemCount,t.itemSize,t.onItemsRendered),s=(t.onScroll,t.scrollDirection),u=void 0===s?"vertical":s,c=(t.scrollOffset,t.scrollToIndex,t.scrollToAlignment,t.style),l=t.width,f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className"]);return Re.a.createElement("div",Object.assign({},As("divider","",n),r),t&&Re.a.createElement(Ut,Object.assign({size:"l",color:"grey-500"},As("divider-title")),t))},t}(Ne.Component);ks.defaultProps={},ks.role="OptionList.Divider";var Ns=ks;var Rs=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,e.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,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.title,r=e.className,o=e.others;return Re.a.createElement("div",Object.assign({},As("group",null,r),o),Re.a.createElement(Ns,{key:"divider"},n),t)},t}(Ne.Component);Rs.defaultProps={},Rs.role="OptionList.Group";var Ds=Rs;var Ls=function(e){function t(){!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,e.call(this));return n.getItemHeight=function(e){var t=n.props,r=t.children,o=t.virtualize,i=Re.a.Children.toArray(r);return i[e].type.role===Ns.role?i[e].props.children?0===e?57:62:0===e?6:11:"function"==typeof o.itemHeight?o.itemHeight(e):o.itemHeight},n.shouldVirtualize=function(){var e=n.props,t=e.children,r=e.virtualize,o=e.isLoading,i=Re.a.Children.toArray(t);return void 0!==r&&!o&&i.length&&i[0].type.role!==Ds.role},n.renderItem=function(e){var t=e.index,r=e.style,o=n.props.children,i=Re.a.Children.toArray(o);return Re.a.cloneElement(i[t],{key:t,style:r})},n.zIndex=m.getIndex(),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,e),t.prototype.getChildContext=function(){return{theme:this.props.theme}},t.prototype.componentDidMount=function(){this.checkProps()},t.prototype.componentDidUpdate=function(){this.checkProps(),this.virtualList&&this.virtualList.recomputeSizes()},t.prototype.checkProps=function(){var e=this.props,t=e.children,n=e.virtualize,r=Re.a.Children.toArray(t);void 0!==n&&r.length&&(r[0].type.role,Ds.role)},t.prototype.getItemCount=function(){return Re.a.Children.toArray(this.props.children).length},t.prototype.renderList=function(){var e=this,t=this.props,n=t.virtualize,r=t.children,o=t.target,i=(t.theme,t.className),a=t.isLoading,s=t.isOpen,u=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["virtualize","children","target","theme","className","isLoading","isOpen"]);if(!s&&o)return null;var c=this.shouldVirtualize(),l=As({extra:[o?"has-target":"",a?"is-loading":"",i]});return c?Re.a.createElement(js,Object.assign({ref:function(t){return e.virtualList=t},height:n.listHeight,itemCount:this.getItemCount(),itemSize:this.getItemHeight,renderItem:this.renderItem},l,{style:Object.assign({},this.props.style,{zIndex:this.zIndex})},u)):Re.a.createElement("div",Object.assign({},l,u,{style:{zIndex:this.zIndex}}),!a&&r,a&&Re.a.createElement("div",As("spinner"),Re.a.createElement(Ar,null)))},t.prototype.render=function(){var e=this.props,t=e.target;if(!e.isOpen&&!t)return null;var n=this.renderList();return t?Re.a.createElement("div",{style:{position:"relative"}},t,n):n},t}(Ne.PureComponent);Ls.defaultProps={isOpen:!0,theme:"bare",isLoading:!1},Ls.childContextTypes={theme:ke.a.string};var Ms=Ls;var Fs=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,e.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,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,r=e.isSelected,o=e.isHighlighted,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className","isSelected","isHighlighted"]),a=this.context.theme,s=As({element:"item",modifiers:We({theme:a}),extra:[r?"is-selected":null,o?"is-highlighted":null,n]});return Re.a.createElement("div",Object.assign({},s,i),Re.a.createElement(lo,{gutter:"xs"},Re.a.createElement(lo.Item,{width:"full"},Re.a.createElement("div",As("item-content"),t)),"checked"===a&&Re.a.createElement(lo.Item,{width:"auto"},Re.a.createElement("div",As("check"),Re.a.createElement(_t,Object.assign({},As("check-icon"),{size:"s",identifier:"check",color:"blue",theme:"solid"}))))||null))},t}(Ne.Component);Fs.defaultProps={},Fs.contextTypes={theme:ke.a.string};var Us=Fs;Ms.Item=Us,Ms.Group=Ds,Ms.Divider=Ns;var Bs=new Le.a({name:"note",prefix:"nova-c-"}),zs=function(e){var t=e.align,n=e.color,r=e.children,o=e.className,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["align","color","children","className"]);return Re.a.createElement("div",Object.assign({},Bs(null,We({align:t,color:n}),o),i),Re.a.createElement(Ut,null,r))};zs.defaultProps={align:"left",color:"green"};var Vs=zs;var Ys=function(e){var t=e.children,n=e.grow,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","grow"]);return Re.a.Children.count(t)?Re.a.createElement(xo.Item,Object.assign({grow:n},r),Re.a.createElement(Jr,null,t)):null},qs=Ys;var Gs=function e(t){var n=t.children,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["children"]),o=Re.a.Children.toArray(n).map(function(t,n){var r=t;return r.type!==qs?Re.a.createElement(e.Column,{key:"key-"+n},r):r});return Re.a.createElement(xo,Object.assign({wrap:"wrap"},r),o)};Gs.defaultProps={};var Ks=Gs;var Ws=function(e){var t=e.children,n=e.icon,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","icon"]);return Re.a.Children.count(t)?Re.a.createElement(qr,Object.assign({color:"grey",theme:"bare",type:"button"},r),n&&Re.a.createElement(qr.Icon,{identifier:n}),Re.a.createElement(qr.Label,null,t)):null},Hs=Ws;Ks.Column=qs,Ks.Action=Hs;var Qs=new Le.a({name:"table",prefix:"nova-c-"});var Js=function(e){var t=e.children,n=e.theme,r=e.className,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","theme","className"]);return Re.a.createElement("div",Object.assign({},Qs(null,We({theme:n}),r),{role:"grid"},o),t)};Js.defaultProps={theme:"bare"};var $s=Js;var Xs=function(e){var t=e.children,n=e.className,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className"]);return Re.a.createElement("div",Object.assign({},Qs("thead",null,n),r),t)},Zs=Xs;var eu=function(e){var t=e.children,n=e.className,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className"]);return Re.a.createElement("div",Object.assign({},Qs("tbody",null,n),r),t)},tu=eu;var nu=function(e){var t=e.children,n=e.className,r=e.isExpanded,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className","isExpanded"]);return Re.a.createElement("div",Object.assign({},Qs("tr-group",null,[n,r?"isExpanded":null]),{role:"rowgroup"},o),t)},ru=nu;var ou=function(e){var t=e.children,n=e.className,r=e.parity,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className","parity"]);return Re.a.createElement("div",Object.assign({},Qs("tr",null,[n,"even"===r?"isEven":null,"odd"===r?"isOdd":null]),{role:"row"},o),t)},iu=ou;var au=function(e){var t=e.children,n=e.className,r=e.isHidden,o=e.horizontalAlign,i=e.verticalAlign,a=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className","isHidden","horizontalAlign","verticalAlign"]);return Re.a.createElement("div",Object.assign({},Qs("td",We({horizontalAlign:o,verticalAlign:i}),[r?"isHidden":null,n]),{role:"gridcell"},a),t)};au.defaultProps={isHidden:!1,horizontalAlign:"left",verticalAlign:"middle"};var su=au;var uu=function(e){var t=e.children,n=e.toggleSort,r=e.isSortable,o=e.isHidden,i=e.sort,a=e.horizontalAlign,s=e.className,u=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","toggleSort","isSortable","isHidden","sort","horizontalAlign","className"]);return Re.a.createElement("div",Object.assign({},Qs("th",We({horizontalAlign:a}),[s,r?"isSortable":null,o?"isHidden":null]),{role:"columnheader"},u,{onClick:function(e){return r&&n&&n(e)}}),Re.a.createElement(xo,null,Re.a.createElement(xo.Item,{grow:!0},t),r&&Re.a.createElement(xo.Item,null,Re.a.createElement(xo,{gutter:"none"},Re.a.createElement(xo.Item,null,Re.a.createElement(_t,Object.assign({},Qs("th-sort-indicator","desc",{isActive:"desc"===i}),{identifier:"arrow-up"}))),Re.a.createElement(xo.Item,null,Re.a.createElement(_t,Object.assign({},Qs("th-sort-indicator","asc",{isActive:"asc"===i}),{identifier:"arrow-down"})))))))};uu.defaultProps={isSortable:!1,isHidden:!1,horizontalAlign:"left"};var cu=uu;var lu=function(e){var t=e.children,n=e.className,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className"]);return Re.a.createElement("div",Object.assign({},Qs("tfoot",n),r),t)},fu=lu;$s.Thead=Zs,$s.Tbody=tu,$s.Tfoot=fu,$s.TrGroup=ru,$s.Tr=iu,$s.Td=su,$s.Th=cu;var pu=n(2241),du=n.n(pu),hu=n(596),mu=n.n(hu),vu=n(26),yu=n.n(vu);var gu=function(e,t){return e(t={exports:{}},t.exports),t.exports}(function(e){ // @license MIT !function(t,n){e.exports?e.exports=n():this.Diacritics=n()}(0,function(){for(var e={map:{}},t=[{base:" ",letters:" "},{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"Th",letters:"Þ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐɑ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"ff",letters:"ff"},{base:"fi",letters:"fi"},{base:"fl",letters:"fl"},{base:"ffi",letters:"ffi"},{base:"ffl",letters:"ffl"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nñnⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥлԉ"},{base:"nj",letters:"nj"},{base:"o",letters:"߀oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oe",letters:"Œœ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"ss",letters:"ß"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"th",letters:"þ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],n=0,r=t.length;n2&&void 0!==arguments[2]?arguments[2]:{};if(!t)return e;var r=n.keys,o=n.threshold,i=void 0===o?Ou.MATCHES:o;return e.reduce(function(e,o,a){var s=function(e,t,n,r){if(!t)return{rank:Tu(e,n,r),keyIndex:-1};return function(e,t){return t.reduce(function(t,n){var r=function(e,t){"object"===(void 0===t?"undefined":bu(t))&&(t=t.key);var n=void 0;n="function"==typeof t?t(e):-1!==t.indexOf(".")?t.split(".").reduce(function(e,t){return e?e[t]:null},e):e[t];return null!=n?[].concat(n):null}(e,n);return r&&r.forEach(function(e){t.push({itemValue:e,attributes:function(e){"string"==typeof e&&(e={key:e});return Eu({maxRanking:1/0,minRanking:-1/0},e)}(n)})}),t},[])}(e,t).reduce(function(e,t,o){var i=e.rank,a=e.keyIndex,s=t.itemValue,u=t.attributes,c=Tu(s,n,r),l=u.minRanking,f=u.maxRanking;return c=Ou.MATCHES?c=l:c>f&&(c=f),c>i&&(i=c,a=o),{rank:i,keyIndex:a}},{rank:Ou.NO_MATCH,keyIndex:-1})}(o,r,t,n),u=s.rank,c=s.keyIndex;return u>=i&&e.push({item:o,rank:u,index:a,keyIndex:c}),e},[]).sort(Su).map(function(e){return e.item})}function Tu(e,t,n){if(e=Iu(e,n),(t=Iu(t,n)).length>e.length)return Ou.NO_MATCH;if(e===t)return Ou.CASE_SENSITIVE_EQUAL;var r,o,i=function(e){var t=e.toLowerCase()!==e,n=e.indexOf("-")>=0,r=e.indexOf("_")>=0;if(!t&&!r&&n)return wu.KEBAB;if(!t&&r&&!n)return wu.SNAKE;if(t&&!n&&!r){var o=e[0].toUpperCase()===e[0];return o?wu.PASCAL:wu.CAMEL}return wu.NO_CASE}(e),a=function(e,t,n){var r=e.toLowerCase().indexOf(t.toLowerCase());switch(n){case wu.SNAKE:return"_"===e[r-1];case wu.KEBAB:return"-"===e[r-1];case wu.PASCAL:case wu.CAMEL:return-1!==r&&e[r]===e[r].toUpperCase();default:return!1}}(e,t,i),s=function(e,t,n){var r=null;switch(n){case wu.SNAKE:r="_";break;case wu.KEBAB:r="-";break;case wu.PASCAL:case wu.CAMEL:r=/(?=[A-Z])/;break;default:r=null}var o=e.split(r);return t.toLowerCase().split("").reduce(function(e,t,n){var r=o[n];return e&&r&&r[0].toLowerCase()===t},!0)}(e,t,i);return(e=e.toLowerCase())===(t=t.toLowerCase())?Ou.EQUAL+i:0===e.indexOf(t)?Ou.STARTS_WITH+i:-1!==e.indexOf(" "+t)?Ou.WORD_STARTS_WITH+i:a?Ou.STRING_CASE+i:i>0&&s?Ou.STRING_CASE_ACRONYM+i:-1!==e.indexOf(t)?Ou.CONTAINS+i:1===t.length?Ou.NO_MATCH:-1!==(r=e,o="",r.split(" ").forEach(function(e){e.split("-").forEach(function(e){o+=e.substr(0,1)})}),o).indexOf(t)?Ou.ACRONYM+i:function(e,t){var n=0;function r(e,t,n){for(var r=n;r-1;if(!s)return Ou.NO_MATCH}return function(e){var n=e-t.length+1,r=Ou.MATCHES+1/n;return r}(n-o)}(e,t)}function Su(e,t){var n=e.rank,r=e.index,o=e.keyIndex,i=t.rank,a=t.index,s=t.keyIndex;return n===i?o===s?ri?-1:1}function Iu(e,t){return e=""+e,t.keepDiacritics||(e=gu.clean(e)),e}_u.rankings=Ou,_u.caseRankings=wu;var Pu=_u,Cu=new Le.a({name:"advanced-select",prefix:"nova-c-"}),xu=n(211);var ju=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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,e.call(this,n));return r.addValue=function(e){var t=[].concat(r.getValues(),[e]);r.setState({values:t,inputValue:"",filteredOptions:r.props.options},function(){r.props.onValueAdd(e),r.props.onChange(t)})},r.removeValue=function(e){var t=r.getValues(),n=[].concat(t.slice(0,e),t.slice(e+1));r.setState({values:n,filteredOptions:r.props.options,inputValue:""},function(){r.props.onValueRemove(t[e]),r.props.onChange(n)})},r.replaceValue=function(e){var t=[e];r.setState({values:t,inputValue:"",filteredOptions:r.props.options},function(){r.props.onChange(t)})},r.popValue=function(){var e=[].concat(r.getValues());r.removeValue(e.length-1)},r.compare=function(e,t){var n=r.props.compareConfig;if(n.method)return n.method(e,t);if(n.keys){for(var o=0;o=0&&"option"===e.type?r.removeValue(n):r.addValue(e.value):r.replaceValue(e.value)},r.handleStateChange=function(e,t){r.highlightedIndex=t.highlightedIndex},r.handleTagRemove=function(e){r.removeValue(e.index),r.input&&r.input.focus()},r.handleInputChange=function(e){var t=e.target.value,n=r.filterOptions(r.props.options,t),o=n!==r.state.filteredOptions;r.setState({inputValue:t,filteredOptions:n},function(){o&&r.debounceOnOptionsUpdate(n,t)})},r.handleInputKeyDown=function(e){var t=e.target.value,n=r.getValues();switch(e.key){case"Backspace":if(!t)e.preventDefault(),!1!==r.resolveGetProps(r.props.getTagProps,n[n.length-1]).isRemoveable&&r.popValue();return;case"Tab":return void(r.state.inputValue&&r.props.allowCustomValues&&(r.addValue(r.state.inputValue),e.preventDefault(),e.stopPropagation()));case"Enter":return void(r.state.inputValue&&r.props.allowCustomValues&&null===r.highlightedIndex&&(r.addValue(r.state.inputValue),e.preventDefault(),e.stopPropagation()));case",":r.state.inputValue&&r.props.allowCustomValues&&r.addValue(r.state.inputValue),e.preventDefault();break;default:return}e.preventDefault()},r.itemToString=function(e){var t=r.props.renderValue;return e?t(e.value||e):""},r.downshiftStateReducer=function(e,t){var n=r.props,o=n.closeOnSelect,i=n.allowCustomValues,a=n.multipleValues;switch(t.type){case xu.default.stateChangeTypes.mouseUp:return!a&&i?Object.assign({},t,{selectedItem:e.inputValue}):t;case xu.default.stateChangeTypes.keyDownEnter:case xu.default.stateChangeTypes.clickItem:return o?t:Object.assign({},t,{isOpen:e.isOpen,highlightedIndex:e.highlightedIndex});default:return t}},r.debounceOnOptionsUpdate=Or()(n.onOptionsUpdate,300),r.state={values:n.defaultValues||[],inputValue:"",filteredOptions:n.options,isLoading:!1},r}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,e),t.prototype.componentDidUpdate=function(e){e.options!==this.props.options&&this.setState({filteredOptions:this.filterOptions(this.props.options,this.state.inputValue)})},t.prototype.getValues=function(){return this.props.values||this.state.values},t.prototype.isGroupedOptions=function(e){return Array.isArray(e[0])},t.prototype.resolveGetProps=function(e){if("function"==typeof e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className"]),o=new Le.a(n);return Re.a.createElement(Jr,Object.assign({},r,o("actions"),{width:"auto",orientation:"horizontal",gutter:"m"}),t)};Ru.defaultProps={};var Du=Ru,Lu=new Le.a({name:"person-item",prefix:"nova-v-"});var Mu=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Du,Object.assign({},n,Lu()),t)};Mu.defaultProps={},Mu.role="PersonItem.Actions";var Fu=Mu;var Uu=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,e.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,e),t.prototype.render=function(){var e=this,t=this.props,n=t.children,r=t.className,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["children","className"]),i=new Le.a(r);return Re.a.createElement(Fi,Object.assign({},o,i("dropdown-actions"),{onClick:function(){return e.dropdown.hide()},ref:function(t){e.dropdown=t},scope:"global",target:Re.a.createElement(qr,{type:"button",theme:"bare"},Re.a.createElement(qr.Icon,{identifier:"arrow-down"})),offset:{left:0,top:10}}),n)},t}(Re.a.Component);Uu.defaultProps={};var Bu=Uu;var zu=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Bu,Object.assign({},n,Lu()),t)};zu.defaultProps={},zu.role="PersonItem.DropdownActions";var Vu=zu;var Yu={s:"m",m:"l"},qu=function(e,t){var n=e.children,r=e.clamp,o=e.className,i=e.href,a=e.target,s=e.rel,u=e.itemProp,c=e.renderSchema,l=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","clamp","className","href","target","rel","itemProp","renderSchema"]),f=t.viewSize||l.size,p=i?Re.a.createElement(Bn,{href:i,theme:"bare",target:a,rel:s},n):n,d=new Le.a(o);return Re.a.createElement(Ut,Object.assign({},l,d("title","clamp-"+r),{itemProp:u||(c?"headline":null),size:Yu[f],family:"sans-serif",spacing:"none"}),p)};qu.defaultProps={renderSchema:!1,clamp:"none",size:"l"},qu.contextTypes={viewSize:ke.a.string};var Gu=qu;var Ku=function(){for(var e=arguments.length,t=Array(e),n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","clamp","href","consumedSchemaOrg"]);return Re.a.createElement(Gu,Object.assign({},i,{itemProp:o},{href:r,clamp:n},Lu()),t)};Wu.defaultProps={clamp:"none"},Wu.role="PersonItem.Title";var Hu=Ku("name")(Wu);var Qu=function(e){var t=e.imageUrl,n=e.alt,r=e.href,o=e.consumedSchemaOrg,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["imageUrl","alt","href","consumedSchemaOrg"]),a=Re.a.createElement(st,Object.assign({},i,Lu("image"),{itemProp:o,href:r,src:t,alt:n}));return Re.a.createElement("div",Lu("image-wrapper"),a)};Qu.defaultProps={},Qu.role="PersonItem.Image";var Ju=Ku("image")(Qu);var $u=function(e){var t=e.children,n=e.className,r=e.title,o=e.clamp,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className","title","clamp"]),a=new Le.a(n);return Re.a.createElement("div",Object.assign({},i,a("info-section","clamp-"+o)),r?Re.a.createElement(Ut,Object.assign({},a("info-section-title"),{size:"s"}),r):"",Re.a.createElement(Yn,Object.assign({},a("info-section-list"),{type:"inline",spacing:"none",size:"m"}),Re.a.Children.map(t,function(e){return Re.a.createElement(Yn.Item,a("info-section-list-item"),e)})))};$u.defaultProps={clamp:"none"};var Xu=$u;var Zu=function(e){var t=e.children,n=e.title,r=e.clamp,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","title","clamp"]);return Re.a.createElement(Xu,Object.assign({},o,Lu(),{title:n,clamp:r}),t)};Zu.defaultProps={},Zu.role="PersonItem.Info";var ec=Zu;var tc=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return n||r.onClick?Re.a.createElement("span",null,Re.a.createElement(Bn,Object.assign({},r,{href:n,theme:"bare"}),t)):Re.a.createElement("span",r,t)};tc.defaultProps={};var nc=tc;var rc=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(nc,Object.assign({},je()(r,"className"),{href:n}),t)};rc.defaultProps={},rc.role="PersonItem.Metric";var oc=rc;var ic=function(e){var t=e.children,n=e.className,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className"]),o=new Le.a(n);return Re.a.createElement(Yn,Object.assign({},r,o("metrics"),{type:"inline",spacing:"none",size:"m"}),Re.a.Children.map(t,function(e){return Re.a.createElement(Yn.Item,o("metrics-item"),e)}))};ic.defaultProps={};var ac=ic;var sc=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(ac,Object.assign({},n,Lu()),oi(t,oc.role))};sc.defaultProps={},sc.role="PersonItem.Metrics";var uc=sc;var cc=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return n||r.onClick?Re.a.createElement("span",null,Re.a.createElement(Bn,Object.assign({},r,{className:"",href:n,theme:"bare"}),t)):Re.a.createElement("span",Object.assign({},r,{className:""}),t)};cc.defaultProps={};var lc=cc;var fc=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(lc,Object.assign({},r,{href:n}),t)};fc.defaultProps={},fc.role="PersonItem.MetaItem";var pc=fc;var dc=function(e){var t=e.children,n=e.className,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className"]),o=new Le.a(n);return Re.a.createElement(Yn,Object.assign({},r,o("meta-data"),{type:"inline",spacing:"none",size:"m"}),Re.a.Children.map(t,function(e){return Re.a.createElement(Yn.Item,o("meta-data-item"),e)}))};dc.defaultProps={};var hc=dc;var mc=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(hc,Object.assign({},n,Lu()),oi(t,pc.role))};mc.defaultProps={},mc.role="PersonItem.MetaItems";var vc=mc,yc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gc=function e(t,n){return t?Re.a.createElement("span",{itemProp:n,itemScope:t["@type"]&&!0,itemType:t["@type"]&&"http://schema.org/"+t["@type"],key:t["@type"]||"schema"},Object.keys(t).map(function(n){if(0===n.indexOf("@"))return null;var r=t[n];return r?"object"===(void 0===r?"undefined":yc(r))?e(r,n):Re.a.createElement("meta",{itemProp:n,key:n,content:r}):null})):null};var bc=function(e){return gc(e.schema())},Ec=function(e){var t=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var r=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.call(this,e));return r.consumeSchemaOrg=function(e){var t=[].concat(r.consumedSchemaOrg);return r.schemaOrg&&Object.prototype.hasOwnProperty.call(r.schemaOrg,e)?(-1===t.indexOf(e)&&(t.push(e),r.consumedSchemaOrg=t),r.schemaOrg[e]):null},r.schemaLeftovers=function(){return r.schemaOrg&&Object.keys(r.schemaOrg).reduce(function(e,t){var n={};return-1===r.consumedSchemaOrg.indexOf(t)&&(n[t]=r.schemaOrg[t]),Object.assign(e,n)},{})},r.consumedSchemaOrg=["@type"],r.schemaOrg=e.schemaOrg,r}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)}(n,t),n.prototype.getChildContext=function(){return{consumeSchemaOrg:this.consumeSchemaOrg}},n.prototype.render=function(){var t=this;return Re.a.createElement(e,je()(Object.assign({},this.props,this.schemaOrg&&{itemScope:!0,itemType:"http://schema.org/"+this.schemaOrg["@type"]},{renderSchemaOrgLeftovers:function(){return Re.a.createElement(bc,{schema:t.schemaLeftovers})}}),"schemaOrg"))},n}(Ne.Component);return t.role=e.role,t.childContextTypes={consumeSchemaOrg:ke.a.func},t};var Oc=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,e.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,e),t.prototype.getChildContext=function(){return{viewSize:this.props.size}},t.prototype.renderInfo=function(){var e=this.props.children,t=oi(e,ec.role);return t?t.map(function(e,t){return Re.a.createElement("div",Object.assign({key:t},Lu("stack-item")),e)}):null},t.prototype.renderFooterActions=function(){var e=this.props.children,t=oi(e,Fu.role,1),n=oi(e,Vu.role,1);return t||n?Re.a.createElement("div",Lu("footer-actions"),Re.a.createElement(yo,{verticalAlign:"middle",gutter:"m"},Re.a.createElement(yo.Item,Lu("footer-button-group"),t),Re.a.createElement(yo.Item,null,n))):null},t.prototype.renderFooterMetrics=function(){var e=this.props.children,t=oi(e,uc.role,1);return t?Re.a.createElement("div",Lu("footer-metrics"),t):null},t.prototype.renderFooter=function(){return Re.a.createElement("footer",Lu("footer"),this.renderFooterActions(),this.renderFooterMetrics())},t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=e.size,o=e.renderSchemaOrgLeftovers,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children","size","renderSchemaOrgLeftovers"]),a=oi(n,Hu.role,1),s=oi(n,vc.role,1),u=this.renderInfo();return Re.a.createElement("div",Object.assign({},i,Lu("","",t)),Re.a.createElement("div",Lu("body"),Re.a.createElement("div",Lu("stack","gutter-"+r),oi(n,Ju.role,1),a||s?Re.a.createElement("div",Lu("stack-item"),a,s):null,u)),this.renderFooter(),o())},t}(Ne.PureComponent);Oc.role="PersonItem",Oc.defaultProps={size:"m"},Oc.childContextTypes={viewSize:ke.a.string};var wc=Ec(Oc);var _c={primary:"solid",secondary:"ghost",tertiary:"bare"},Tc=function(e){var t=e.children,n=e.className,r=e.priority,o=e.icon,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className","priority","icon"]),a=new Le.a(n),s=_c[r],u=o&&Re.a.createElement(qr.Icon,{key:"icon",identifier:o}),c=Re.a.createElement(qr.Label,{key:"label"},t);return Re.a.createElement(qr,Object.assign({type:"button"},i,a("action"),{size:"s",color:"blue",radius:"m",theme:s}),u,c)};Tc.defaultProps={priority:"tertiary"};var Sc=Tc;var Ic=function(e){var t=e.children,n=e.priority,r=e.icon,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","priority","icon"]);return Re.a.createElement(Sc,Object.assign({},o,Lu(),{priority:n,icon:r}),t)};Ic.defaultProps={priority:"tertiary"},Ic.role="PersonItem.Action";var Pc=Ic;var Cc=function(e){var t=e.children,n=e.className,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className"]),o=new Le.a(n);return Re.a.createElement(Fi.Action,Object.assign({},r,o("dropdown-action")),t)};Cc.defaultProps={};var xc=Cc;var jc=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(xc,Object.assign({},n,Lu()),t)};jc.defaultProps={},jc.role="PersonItem.DropdownAction";var Ac=jc;var kc=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return n||r.onClick?Re.a.createElement("span",null,Re.a.createElement(Bn,Object.assign({},r,{className:"",href:n,theme:"bare"}),t)):Re.a.createElement("span",Object.assign({},r,{className:""}),t)};kc.defaultProps={};var Nc=kc;var Rc=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(Nc,Object.assign({},r,Lu(),{href:n}),t)};Rc.defaultProps={},Rc.role="PersonItem.InfoItem";var Dc=Rc;wc.Fullname=Hu,wc.MetaItems=vc,wc.MetaItem=pc,wc.Image=Ju,wc.Info=ec,wc.InfoItem=Dc,wc.Actions=Fu,wc.Action=Pc,wc.DropdownActions=Vu,wc.DropdownAction=Ac,wc.Metrics=uc,wc.Metric=oc;var Lc=new Le.a({name:"publication-item",prefix:"nova-v-"}),Mc=function(e){return Re.a.createElement(Du,Object.assign({},e,Lc()))};Mc.defaultProps={},Mc.role="PublicationItem.Actions";var Fc=Mc,Uc=function(e){return Re.a.createElement(Bu,Object.assign({},e,Lc()))};Uc.defaultProps={},Uc.role="PublicationItem.DropdownActions";var Bc=Uc;var zc=function(e){e.className;var t=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className"]);return Re.a.createElement(nc,t)};zc.defaultProps={},zc.role="PublicationItem.Metric";var Vc=zc;var Yc=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(ac,Object.assign({},n,Lc()),oi(t,Vc.role))};Yc.defaultProps={},Yc.role="PublicationItem.Metrics";var qc=Yc;var Gc=function(e){var t=e.consumedSchemaOrg,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["consumedSchemaOrg"]);return Re.a.createElement(Gu,Object.assign({},n,Lc(),{itemProp:t}))};Gc.defaultProps={},Gc.role="PublicationItem.Title";var Kc=Ku("headline")(Gc);var Wc=function(e){var t=e.children,n=e.size,r=e.type,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","size","type"]),i=Re.a.Children.map(t,function(e){return Re.a.cloneElement(e,{type:r})});return"tiles"===r?Re.a.createElement(la,Object.assign({},o,Lc("figures",We({size:n}))),i):Re.a.createElement(ba,Object.assign({numOfTiles:5},o,Lc("figures",We({size:n}))),i)};Wc.defaultProps={size:"big",type:"strip"},Wc.role="PublicationItem.Figures";var Hc=Wc;var Qc=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(lt,Object.assign({},r,Lc("fulltext"),{luminosity:"medium",radius:"m",theme:"ghost",size:"l",color:"green",href:n,display:"block"}),t)};Qc.defaultProps={},Qc.role="PublicationItem.Fulltext";var Jc=Qc;var $c=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(lt,Object.assign({},r,Lc("type"),{color:"green",luminosity:"high",radius:"m",theme:"solid",size:"l",href:n,display:"block"}),t)};$c.defaultProps={},$c.role="PublicationItem.Type";var Xc=$c;var Zc=function(e){var t=e.children,n=e.className,r=e.clamp,o=e.href,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className","clamp","href"]),a=new Le.a(n),s=o?Re.a.createElement(Bn,Object.assign({href:o},{theme:"bare"}),t):t;return Re.a.createElement(Ut,Object.assign({},i,a("description","clamp-"+r),{size:"m",family:"sans-serif",spacing:"none"}),s)};Zc.defaultProps={clamp:"3"};var el=Zc;var tl=function(e){e.className;var t=e.consumedSchemaOrg,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","consumedSchemaOrg"]);return Re.a.createElement(el,Object.assign({},n,Lc(),{itemProp:t}))};tl.role="PublicationItem.Abstract",tl.defaultProps={clamp:"3"};var nl=Ku("description")(tl);var rl=function(e){var t=e.children,n=e.className,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className"]),o=new Le.a(n);return Re.a.createElement(Yn,Object.assign({},r,o("person-list"),{type:"inline",spacing:"none"}),Re.a.Children.map(t,function(e){return Re.a.createElement(Yn.Item,null,e)}))};rl.defaultProps={};var ol=rl,il=function(e){return Re.a.createElement(ol,Object.assign({},e,Lc()))};il.defaultProps={},il.role="PublicationItem.Authors";var al=il,sl=function(e){return Re.a.createElement(lc,e)};sl.defaultProps={},sl.role="PublicationItem.MetaItem";var ul=sl;var cl=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(hc,Object.assign({},n,Lc()),oi(t,ul.role))};cl.defaultProps={},cl.role="PublicationItem.MetaItems";var ll=cl,fl=function(e){return Re.a.createElement("div",Object.assign({},e,Lc("preview")))};fl.defaultProps={},fl.role="PublicationItem.Preview";var pl=fl;var dl=function(e){var t=e.children,n=e.className,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className"]),o=new Le.a(n),i=Re.a.Children.map(t,function(e){return e?Re.a.createElement("div",o("badges-item"),e):null});return i&&i.length?Re.a.createElement("div",Object.assign({},r,o("badges")),i):null};dl.defaultProps={};var hl=dl;var ml=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,e.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,e),t.prototype.getChildContext=function(){return{viewSize:this.props.size}},t.prototype.renderMetaData=function(){var e=this.props.children,t=oi(e,Xc.role,1),n=oi(e,Jc.role,1),r=oi(e,ll.role,1);return t||n||r?Re.a.createElement("div",Lc("meta"),Re.a.createElement("div",Lc("meta-left"),Re.a.createElement(hl,Lc(),t,n)),Re.a.createElement("div",Lc("meta-right"),r)):null},t.prototype.renderFooterActions=function(){var e=this.props.children,t=oi(e,Fc.role,1),n=oi(e,Bc.role,1);return t||n?Re.a.createElement("div",Lc("footer-actions"),Re.a.createElement(yo,{verticalAlign:"middle",gutter:"m"},Re.a.createElement(yo.Item,Lc("footer-button-group"),t),Re.a.createElement(yo.Item,null,n))):null},t.prototype.renderFooterMetrics=function(){var e=this.props.children,t=oi(e,qc.role,1);return t?Re.a.createElement("div",Lc("footer-metrics"),t):null},t.prototype.renderFooter=function(){return Re.a.createElement("footer",Lc("footer"),this.renderFooterActions(),this.renderFooterMetrics())},t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=e.size,o=e.renderSchemaOrgLeftovers,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children","size","renderSchemaOrgLeftovers"]),a=oi(n,Hc.role,1),s=a?null:oi(n,pl.role,1),u=oi(n,Kc.role,1),c=this.renderMetaData(),l=oi(n,al.role,1),f=oi(n,nl.role,1);return Re.a.createElement("div",Object.assign({},i,Lc("","",t)),Re.a.createElement("div",Lc("body"),Re.a.createElement("div",Lc("stack","gutter-"+r),s,a&&Re.a.createElement("div",Lc("stack-item"),a),u&&Re.a.createElement("div",Lc("stack-item"),u),c&&Re.a.createElement("div",Lc("stack-item"),c),l&&Re.a.createElement("div",Lc("stack-item"),l),f&&Re.a.createElement("div",Lc("stack-item"),f))),this.renderFooter(),o())},t}(Ne.Component);ml.role="PublicationItem",ml.defaultProps={size:"m"},ml.childContextTypes={viewSize:ke.a.string};var vl=Ec(ml);var yl=function(e){var t=e.children,n=(e.className,e.imageUrl),r=e.href,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className","imageUrl","href"]);return Re.a.createElement(Lg,Object.assign({href:r},o),Re.a.createElement(Lg.Image,{alt:t,imageUrl:n}),Re.a.createElement(Lg.Fullname,null,t))},gl=yl,bl=function(e){return Re.a.createElement(gl,Object.assign({},e,Lc()))};bl.defaultProps={},bl.role="PublicationItem.Author";var El=bl;var Ol=function(e){var t=e.className,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className"]),r=new Le.a(t);return Re.a.createElement("span",Object.assign({},n,r("person-list-truncation")),"[...]")};Ol.defaultProps={};var wl=Ol,_l=function(e){return Re.a.createElement(wl,Object.assign({},e,Lc()))};_l.defaultProps={},_l.role="PublicationItem.AuthorTruncation";var Tl=_l,Sl=function(e){return Re.a.createElement(Sc,Object.assign({},e,Lc()))};Sl.defaultProps={priority:"tertiary"},Sl.role="PublicationItem.Action";var Il=Sl;var Pl=function(e){var t=e.alt,n=e.type,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["alt","type"]);return"tiles"===n?Re.a.createElement(la.Image,Object.assign({},r,Lc("figure"))):Re.a.createElement(ba.Image,Object.assign({alt:t},r,Lc("figure")))};Pl.defaultProps={type:"strip"},Pl.role="PublicationItem.Figure";var Cl=Pl,xl=function(e){return Re.a.createElement(xc,Object.assign({},e,Lc()))};xl.defaultProps={},xl.role="PublicationItem.DropdownAction";var jl=xl;var Al=function(e){var t=e.href,n=e.alt,r=e.imageUrl,o=e.consumedSchemaOrg,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["href","alt","imageUrl","consumedSchemaOrg"]),a=t?"a":"div";return Re.a.createElement(a,Object.assign({href:t},i,Lc("preview-link")),Re.a.createElement("img",Object.assign({},Lc("preview-image"),{src:r,alt:n,itemProp:o})))};Al.defaultProps={href:null},Al.role="PublicationItem.PreviewImage";var kl=Ku("image")(Al);var Nl=function(e){var t=e.children,n=e.label,r=e.href,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","label","href"]);return Re.a.createElement(Ut,Object.assign({},o,Lc("preview-source"),{size:"s"}),Re.a.createElement(Rn,{position:"left",color:"black",spacing:"s",target:Re.a.createElement(Bn,{href:r,theme:"bare",type:"button"},n)},t))};Nl.defaultProps={label:"Source"},Nl.role="PublicationItem.PreviewSource";var Rl=Nl;vl.Abstract=nl,vl.Actions=Fc,vl.Action=Il,vl.Figures=Hc,vl.Figure=Cl,vl.Fulltext=Jc,vl.Authors=al,vl.Author=El,vl.AuthorTruncation=Tl,vl.DropdownActions=Bc,vl.DropdownAction=jl,vl.MetaItems=ll,vl.MetaItem=ul,vl.Metrics=qc,vl.Metric=Vc,vl.Preview=pl,vl.PreviewImage=kl,vl.PreviewSource=Rl,vl.Title=Kc,vl.Type=Xc;var Dl=new Le.a({name:"activity-item",prefix:"nova-v-"});var Ll=function(e){var t=e.imageUrl,n=e.alt,r=e.href,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["imageUrl","alt","href"]),i=Re.a.createElement(st,Object.assign({href:r},o,Dl("story-image"),{size:"m",src:t,alt:n}));return Re.a.createElement("div",Object.assign({},o,Dl("story-asset")),i)};Ll.defaultProps={},Ll.role="ActivityItem.StoryImage";var Ml=Ll;var Fl=function(e){var t=e.priority,n=e.identifier,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["priority","identifier"]);return Re.a.createElement("div",Dl("story-icon"),Re.a.createElement(_t,Object.assign({},r,{theme:"solid"},{primary:{color:"yellow"},secondary:{color:"grey"},tertiary:{color:"grey",luminosity:"high"}}[t],{size:"m",identifier:n})))};Fl.defaultProps={priority:"tertiary"},Fl.role="ActivityItem.StoryIcon";var Ul=Fl;var Bl=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]),o=Re.a.Children.map(t,function(e){return e.type===Bn?Re.a.cloneElement(e,{color:"blue",theme:"bare"}):e});return Re.a.createElement(Ut,Object.assign({},r,Dl("story-subject"),{size:"m",spacing:"none",family:"sans-serif"}),n?Re.a.createElement(Bn,{href:n,theme:"bare",color:"blue"},t):o)};Bl.defaultProps={},Bl.role="ActivityItem.StorySubject";var zl=Bl;var Vl=function(e){var t=e.children,n=e.clamp,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","clamp"]);return Re.a.createElement(Ut,Object.assign({},r,Dl("story-body","clamp-"+n),{size:"m",spacing:"none",family:"sans-serif"}),t)};Vl.defaultProps={clamp:"none"},Vl.role="ActivityItem.StoryBody";var Yl=Vl;var ql=function(e){var t=e.children,n=e.metaContext,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","metaContext"]),o=oi(t,Ml.role,1),i=oi(t,Ul.role,1),a=oi(t,zl.role,1),s=oi(t,Yl.role,1);return Re.a.createElement(xo,Object.assign({gutter:"none"},r,Dl("story")),o||i?Re.a.createElement(xo.Item,Dl("story-assets"),o,Re.a.createElement("div",Dl("story-asset"),i)):null,Re.a.createElement(xo.Item,Object.assign({grow:!0},Dl("story-content")),n,a,s))};ql.defaultProps={},ql.role="ActivityItem.Story";var Gl=ql;var Kl=function(e){var t=e.children,n=e.color,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","color"]);return Re.a.createElement(lt,Object.assign({},r,Dl("type"),{color:n,luminosity:"medium",radius:"m",theme:"bare",size:"s",display:"block"}),t)};Kl.defaultProps={color:"blue"},Kl.role="ActivityItem.Status";var Wl=Kl;var Hl=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Ut,Object.assign({},n,Dl("time"),{size:"s",spacing:"none",family:"sans-serif"}),t)};Hl.defaultProps={},Hl.role="ActivityItem.Time";var Ql=Hl;var Jl=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement("div",Object.assign({},n,Dl("entity-list")),t)};Jl.defaultProps={},Jl.role="ActivityItem.EntityList";var $l=Jl;var Xl=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,e.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,e),t.prototype.render=function(){var e=this,t=this.props,n=t.children,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["children"]);return Re.a.createElement(Fi,Object.assign({},r,Dl("contextual-actions"),{onClick:function(){return e.dropdown.hide()},ref:function(t){e.dropdown=t},scope:"local",target:Re.a.createElement(qr,{type:"button",theme:"bare",size:"xs",color:"grey"},Re.a.createElement(qr.Icon,{identifier:"arrow-down"}))}),n)},t}(Re.a.Component);Xl.defaultProps={},Xl.role="ActivityItem.ContextActions";var Zl=Xl;var ef=function(e){var t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]),o=oi(n,Ql.role,1),i=oi(n,Zl.role,1),a=oi(n,Wl.role,1),s=oi(n,Gl.role,1),u=Re.a.createElement("div",Dl("context"),o&&Re.a.createElement("div",Dl("context-item"),o),i&&Re.a.createElement("div",Dl("context-item"),i),a&&Re.a.createElement("div",Dl("context-item"),a));return Re.a.createElement("div",Object.assign({},r,Dl("","",t)),Re.a.createElement("div",Dl("body"),Re.a.createElement("div",Dl("stack"),Re.a.createElement("div",Dl("stack-item"),s&&Re.a.cloneElement(s.pop(),{metaContext:u})),!s&&Re.a.createElement("div",Dl("stack-item"),u)),oi(n,$l.role,1)))};ef.role="ActivityItem",ef.defaultProps={};var tf=ef;var nf=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Fi.Action,n,t)};nf.defaultProps={},nf.role="ActivityItem.ContextAction";var rf=nf;var of=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement("div",Object.assign({},n,Dl("entity-list-actions")),Re.a.createElement(Jr,{width:"auto",orientation:"horizontal",gutter:"m"},t))};of.defaultProps={},of.role="ActivityItem.EntityListActions";var af=of;var sf=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(qr,Object.assign({},n,Dl("entity-list-action"),{type:"button",size:"s",color:"blue",radius:"m",theme:"bare"}),t)};sf.defaultProps={},sf.role="ActivityItem.EntityListAction";var uf=sf;var cf=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement("div",Object.assign({},n,Dl("entity-list-items")),Re.a.createElement(_o,{gutter:"xs"},Re.a.Children.map(t,function(e){return Re.a.createElement(_o.Item,null,e)})))};cf.defaultProps={},cf.role="ActivityItem.EntityListItems";var lf=cf;var ff=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement("div",Object.assign({},n,Dl("entity-list-item")),t)};ff.defaultProps={},ff.role="ActivityItem.EntityListItem";var pf=ff;tf.Story=Gl,tf.StorySubject=zl,tf.StoryImage=Ml,tf.StoryIcon=Ul,tf.StoryBody=Yl,tf.Time=Ql,tf.ContextActions=Zl,tf.ContextAction=rf,tf.Unread=Wl,tf.EntityList=$l,tf.EntityListActions=af,tf.EntityListAction=uf,tf.EntityListItems=lf,tf.EntityListItem=pf;var df=new Le.a({name:"person-list-item",prefix:"nova-v-"});var hf=function(e){var t=e.children,n=e.clamp,r=e.consumedSchemaOrg,o=e.href,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","clamp","consumedSchemaOrg","href"]);return Re.a.createElement(Gu,Object.assign({},i,{itemProp:r},{href:o,clamp:n},df()),t)};hf.defaultProps={clamp:"1"},hf.role="PersonListItem.Fullname";var mf=Ku("name")(hf);var vf=function(e){var t=e.imageUrl,n=e.alt,r=e.consumedSchemaOrg,o=e.href,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["imageUrl","alt","consumedSchemaOrg","href"]);return Re.a.createElement(st,Object.assign({},i,{itemProp:r,size:"m"},df("image"),{href:o,src:t,alt:n}))};vf.defaultProps={},vf.role="PersonListItem.Image";var yf=Ku("image")(vf);var gf=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Du,Object.assign({},n,df()),t)};gf.defaultProps={},gf.role="PersonListItem.Actions";var bf=gf;var Ef=function(e){var t=e.children,n=e.title,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","title"]);return Re.a.createElement(Xu,Object.assign({},r,df(),{title:n}),t)};Ef.defaultProps={},Ef.role="PersonListItem.Info";var Of=Ef;var wf=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(nc,Object.assign({},je()(r,"className"),{href:n}),t)};wf.defaultProps={},wf.role="PersonListItem.Metric";var _f=wf;var Tf=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(ac,Object.assign({},n,df()),oi(t,_f.role))};Tf.defaultProps={},Tf.role="PersonListItem.Metrics";var Sf=Tf;var If=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return n||r.onClick?Re.a.createElement("span",null,Re.a.createElement(Bn,Object.assign({},r,{className:"",href:n,theme:"bare"}),t)):Re.a.createElement("span",Object.assign({},r,{className:""}),t)};If.defaultProps={},If.role="PersonListItem.MetaItem";var Pf=If;var Cf=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Yn,Object.assign({},n,df("meta"),{type:"inline",spacing:"none",size:"m"}),Re.a.Children.map(oi(t,Pf.role),function(e){return Re.a.createElement(Yn.Item,df("meta-item"),e)}))};Cf.defaultProps={},Cf.role="PersonListItem.MetaItems";var xf=Cf;var jf=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,e.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,e),t.prototype.getChildContext=function(){return{viewSize:this.props.size}},t.prototype.renderInfo=function(){var e=this.props.children,t=oi(e,Of.role);return t?t.map(function(e,t){return Re.a.createElement("div",Object.assign({key:t},df("stack-item")),e)}):null},t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=e.renderSchemaOrgLeftovers,o=e.size,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children","renderSchemaOrgLeftovers","size"]),a=oi(n,yf.role,1),s=oi(n,mf.role,1);return Re.a.createElement("div",Object.assign({},i,df("","",[t,a?"has-image":null])),Re.a.createElement(xo,{gutter:"xs"},Re.a.createElement(xo.Item,null,a),Re.a.createElement(xo.Item,Object.assign({grow:!0},df("body")),Re.a.createElement("div",df("stack","gutter-"+o),Re.a.createElement("div",df("stack-item"),Re.a.createElement("div",df("align"),Re.a.createElement("div",df("align-content"),s,oi(n,xf.role,1)))),this.renderInfo()),Re.a.createElement("footer",df("footer"),Re.a.createElement("div",df("footer-metrics"),oi(n,Sf.role,1)))),Re.a.createElement(xo.Item,{shrink:!0},Re.a.createElement("div",df("align"),Re.a.createElement("div",df("align-content"),oi(n,bf.role,1))))),r())},t}(Ne.Component);jf.role="PersonListItem",jf.defaultProps={size:"m"},jf.childContextTypes={viewSize:ke.a.string};var Af=Ec(jf);var kf=function(e){var t=e.children,n=e.priority,r=e.icon,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","priority","icon"]);return Re.a.createElement(Sc,Object.assign({},o,df(),{priority:n,icon:r}),t)};kf.defaultProps={priority:"tertiary"},kf.role="PersonListItem.Action";var Nf=kf;var Rf=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(Nc,Object.assign({},r,{href:n}),t)};Rf.defaultProps={},Rf.role="PersonListItem.InfoItem";var Df=Rf;Af.Image=yf,Af.Fullname=mf,Af.MetaItems=xf,Af.MetaItem=Pf,Af.Actions=bf,Af.Action=Nf,Af.Info=Of,Af.InfoItem=Df,Af.Metrics=Sf,Af.Metric=_f;var Lf=new Le.a({name:"message-item",prefix:"nova-v-"});var Mf=function(e){var t=e.children,n=e.clamp,r=e.href,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","clamp","href"]),i=r?Re.a.createElement(Bn,{href:r,theme:"bare"},t):t;return Re.a.createElement(Ut,Object.assign({},o,Lf("title","clamp-"+n),{size:"xl",family:"sans-serif",spacing:"none"}),i)};Mf.defaultProps={clamp:"none"},Mf.role="MessageItem.Title";var Ff=Mf;var Uf=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Yn,Object.assign({},n,Lf("file-list"),{type:"bare",spacing:"none",size:"m"}),t)};Uf.defaultProps={},Uf.role="MessageItem.Files";var Bf=Uf;var zf=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]),r="string"==typeof t?Re.a.createElement(Ut,Object.assign({},n,{size:"m",spacing:"none"}),t):t;return Re.a.createElement("div",Object.assign({},n,Lf("reply-to")),r)};zf.defaultProps={},zf.role="MessageItem.ReplyTo";var Vf=zf;var Yf=function(e){var t=e.children,n=e.imageUrl,r=e.href,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","imageUrl","href"]);return Re.a.createElement(ol,Object.assign({},o,Lf()),Re.a.createElement(gl,Object.assign({},o,Lf(),{href:r,imageUrl:n}),t))};Yf.defaultProps={},Yf.role="MessageItem.Account";var qf=Yf;var Gf=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(lt,Object.assign({},r,Lf("type"),{luminosity:"high",radius:"m",theme:"solid",size:"l",color:"green",href:n,display:"block"}),t)};Gf.defaultProps={},Gf.role="MessageItem.Type";var Kf=Gf;var Wf=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(lc,Object.assign({},r,{href:n}),t)};Wf.defaultProps={},Wf.role="MessageItem.MetaItem";var Hf=Wf;var Qf=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(hc,Object.assign({},n,Lf()),oi(t,Hf.role))};Qf.defaultProps={},Qf.role="MessageItem.MetaItems";var Jf=Qf;var $f=function(e){var t=e.children,n=e.clamp,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","clamp"]);return"string"==typeof t?Re.a.createElement(Ut,Object.assign({},r,Lf("body","clamp-"+n),{size:"m"}),t):Re.a.createElement("div",Object.assign({},r,Lf("body","clamp-"+n)),t)};$f.defaultProps={clamp:"none"},$f.role="MessageItem.Body";var Xf=$f;var Zf=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(ol,Object.assign({},n,Lf()),t)};Zf.defaultProps={},Zf.role="MessageItem.Contributors";var ep=Zf;var tp=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement("div",Object.assign({},n,Lf("actions")),Re.a.createElement(Jr,{width:"auto",orientation:"horizontal",gutter:"m"},t))};tp.defaultProps={},tp.role="MessageItem.Actions";var np=tp;var rp=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(nc,Object.assign({},je()(r,"className"),{href:n}),t)};rp.defaultProps={},rp.role="MessageItem.Metric";var op=rp;var ip=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(ac,Object.assign({},n,Lf()),oi(t,op.role))};ip.defaultProps={},ip.role="MessageItem.Metrics";var ap=ip;var sp=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(la,Object.assign({},n,Lf("images")),t)};sp.defaultProps={},sp.role="MessageItem.Images";var up=sp;var cp=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement("div",Object.assign({},n,Lf("entity-list")),t)};cp.defaultProps={},cp.role="MessageItem.EntityList";var lp=cp;var fp=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,e.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,e),t.prototype.renderMetaData=function(){var e=this.props.children,t=oi(e,Kf.role,1),n=oi(e,Jf.role,1);return t||n?Re.a.createElement("div",Lf("meta"),Re.a.createElement("div",Lf("meta-left"),Re.a.createElement(hl,Lf(),t)),Re.a.createElement("div",Lf("meta-right"),n)):null},t.prototype.renderAccount=function(){var e=this.props.children,t=oi(e,qf.role,1);return t?Re.a.createElement("div",Lf("account"),t):null},t.prototype.renderFooterActions=function(){var e=this.props.children,t=oi(e,np.role,1);return t?Re.a.createElement("div",Lf("footer-actions"),Re.a.createElement("div",Lf("footer-button-group"),t)):null},t.prototype.renderFooterMetrics=function(){var e=this.props.children,t=oi(e,ap.role,1);return t?Re.a.createElement("div",Lf("footer-metrics"),t):null},t.prototype.renderFooter=function(){return Re.a.createElement("footer",Lf("footer"),this.renderFooterActions(),this.renderFooterMetrics())},t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]),o=oi(n,Vf.role,1),i=oi(n,up.role,1),a=oi(n,Ff.role,1),s=this.renderMetaData(),u=this.renderAccount(),c=oi(n,Xf.role,1),l=oi(n,ep.role,1),f=oi(n,Bf.role,1),p=oi(n,lp.role,1);return Re.a.createElement("div",Object.assign({},r,Lf("","",t)),Re.a.createElement("div",Lf("stack"),o&&Re.a.createElement("div",Lf("stack-item"),o),i&&Re.a.createElement("div",Lf("stack-item"),i),a&&Re.a.createElement("div",Lf("stack-item"),a),s&&Re.a.createElement("div",Lf("stack-item"),s),u&&Re.a.createElement("div",Lf("stack-item"),u),l&&Re.a.createElement("div",Lf("stack-item"),l),c&&Re.a.createElement("div",Lf("stack-item"),c),f&&Re.a.createElement("div",Lf("stack-item"),f)),this.renderFooter(),p)},t}(Ne.Component);fp.role="MessageItem",fp.defaultProps={};var pp=fp;var dp=function(e){var t=e.children,n=e.priority,r=e.icon,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","priority","icon"]);return Re.a.createElement(Sc,Object.assign({},o,Lf(),{priority:n,icon:r}),t)};dp.defaultProps={priority:"tertiary"},dp.role="MessageItem.Action";var hp=dp,mp=function(e){return Re.a.createElement(gl,Object.assign({},e,Lf()))};mp.defaultProps={},mp.role="MessageItem.Contributor";var vp=mp;var yp=function(e){var t=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,[]);return Re.a.createElement(wl,Object.assign({},t,Lf()))};yp.defaultProps={},yp.role="MessageItem.ContributorTruncation";var gp=yp;var bp=function(e){var t=e.src,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["src"]);return Re.a.createElement(la.Image,Object.assign({src:t},n,Lf("image")))};bp.defaultProps={},bp.role="MessageItem.Image";var Ep=bp;var Op=function(e){var t,n=e.href,r=e.filename,o=e.filesize,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["href","filename","filesize"]);return Re.a.createElement(Yn.Item,i,Re.a.createElement(xo,{gutter:"none"},Re.a.createElement(xo.Item,Lf("file-icon"),Re.a.createElement(_t,{identifier:"paper"})),Re.a.createElement(xo.Item,Lf("file-name-container"),Re.a.createElement(Ut,null,Re.a.createElement(Bn,Object.assign({href:n,theme:"silent"},Lf("file-link")),Re.a.createElement("div",Lf("file-name"),(t=yt(r)).length>1?[Re.a.createElement("span",Object.assign({key:t[0]},Lf("file-name-element","truncate")),t[0]),Re.a.createElement("span",Object.assign({key:t[1]},Lf("file-name-element")),t[1])]:Re.a.createElement("span",Object.assign({key:t[0]},Lf("file-name-element","truncate")),t[0]))))),o?Re.a.createElement(xo.Item,Object.assign({},i,Lf("file-size")),o):null))};Op.defaultProps={},Op.role="MessageItem.File";var wp=Op;var _p=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(Yn.Item,r,Re.a.createElement(xo,{gutter:"none"},Re.a.createElement(xo.Item,Lf("file-icon"),Re.a.createElement(_t,{identifier:"list"})),Re.a.createElement(xo.Item,Lf("file-truncation-container"),Re.a.createElement(Ut,null,Re.a.createElement(Bn,Object.assign({href:n,theme:"silent"},Lf("file-link")),Re.a.createElement("div",Lf("file-truncation"),t))))))};_p.defaultProps={},_p.role="MessageItem.FileTruncation";var Tp=_p;var Sp=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement("div",Object.assign({},n,Lf("entity-list-actions")),Re.a.createElement(Jr,{width:"auto",orientation:"horizontal",gutter:"m"},t))};Sp.defaultProps={},Sp.role="MessageItem.EntityListActions";var Ip=Sp;var Pp=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(qr,Object.assign({},n,Lf("entity-list-action"),{type:"button",size:"s",color:"blue",radius:"m",theme:"bare"}),t)};Pp.defaultProps={},Pp.role="MessageItem.EntityListAction";var Cp=Pp;var xp=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement("div",Object.assign({},n,Lf("entity-list-items")),Re.a.createElement(_o,{gutter:"xs"},Re.a.Children.map(t,function(e){return Re.a.createElement(_o.Item,null,e)})))};xp.defaultProps={},xp.role="MessageItem.EntityListItems";var jp=xp;var Ap=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement("div",Object.assign({},n,Lf("entity-list-item")),t)};Ap.defaultProps={},Ap.role="MessageItem.EntityListItem";var kp=Ap;pp.ReplyTo=Vf,pp.Images=up,pp.Image=Ep,pp.Title=Ff,pp.Type=Kf,pp.MetaItems=Jf,pp.MetaItem=Hf,pp.Account=qf,pp.Contributor=vp,pp.ContributorTruncation=gp,pp.Contributors=ep,pp.Body=Xf,pp.Files=Bf,pp.File=wp,pp.FileTruncation=Tp,pp.Actions=np,pp.Action=hp,pp.Metrics=ap,pp.Metric=op,pp.EntityList=lp,pp.EntityListActions=Ip,pp.EntityListAction=Cp,pp.EntityListItems=jp,pp.EntityListItem=kp;var Np=new Le.a({name:"message-contribution-item",prefix:"nova-v-"});var Rp=function(e){var t=e.children,n=e.clamp,r=e.href,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","clamp","href"]),i=r?Re.a.createElement(Bn,{href:r,theme:"bare"},t):t;return Re.a.createElement(Ut,Object.assign({},o,Np("title","clamp-"+n),{size:"l",family:"sans-serif",spacing:"none"}),i)};Rp.defaultProps={clamp:"none"},Rp.role="MessageContributionItem.Title";var Dp=Rp;var Lp=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Yn,Object.assign({},n,Np("file-list"),{type:"bare",spacing:"none",size:"m"}),t)};Lp.defaultProps={},Lp.role="MessageContributionItem.Files";var Mp=Lp;var Fp=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]),r="string"==typeof t?Re.a.createElement(Ut,Object.assign({},n,{size:"m",spacing:"none"}),t):t;return Re.a.createElement("div",Object.assign({},n,Np("reply-to")),r)};Fp.defaultProps={},Fp.role="MessageContributionItem.ReplyTo";var Up=Fp;var Bp=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(lt,Object.assign({},r,Np("fulltext"),{luminosity:"high",radius:"m",theme:"solid",size:"l",color:"green",href:n,display:"block"}),t)};Bp.defaultProps={},Bp.role="MessageContributionItem.Type";var zp=Bp;var Vp=function(e){var t=e.children,n=e.clamp,r=e.href,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","clamp","href"]),i=r?Re.a.createElement(Bn,{href:r,theme:"bare"},t):t;return Re.a.createElement(Ut,Object.assign({},o,Np("root","clamp-"+n),{size:"xl",family:"sans-serif",spacing:"none"}),i)};Vp.defaultProps={clamp:"1"},Vp.role="MessageContributionItem.Root";var Yp=Vp;var qp=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(lc,Object.assign({},r,{href:n}),t)};qp.defaultProps={},qp.role="MessageContributionItem.MetaItem";var Gp=qp;var Kp=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(hc,Object.assign({},n,Np()),oi(t,Gp.role))};Kp.defaultProps={},Kp.role="MessageContributionItem.MetaItems";var Wp=Kp;var Hp=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]),o=n?Re.a.createElement(Bn,{href:n,theme:"bare"},t):t;return Re.a.createElement(Ut,Object.assign({},r,Np("account-fullname"),{size:"m",family:"sans-serif",spacing:"none"}),o)};Hp.defaultProps={},Hp.role="MessageContributionItem.AccountFullname";var Qp=Hp;var Jp=function(e){var t=e.imageUrl,n=e.alt,r=e.href,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["imageUrl","alt","href"]);return t?Re.a.createElement(st,Object.assign({},o,{href:r,size:"m"},Np("account-image"),{src:t,alt:n})):null};Jp.defaultProps={},Jp.role="MessageContributionItem.AccountImage";var $p=Jp;var Xp=function(e){var t=e.imageUrl,n=e.href,r=e.children;return"image"===function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["imageUrl","href","children"]).renderAs?Re.a.createElement($p,{imageUrl:t,href:n,alt:r}):Re.a.createElement(Qp,{href:n},r)};Xp.defaultProps={},Xp.role="MessageContributionItem.Account";var Zp=Xp;var ed=function(e){var t=e.children,n=e.clamp,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","clamp"]);return"string"==typeof t?Re.a.createElement(Ut,Object.assign({},r,Np("body","clamp-"+n),{size:"m"}),t):Re.a.createElement("div",Object.assign({},r,Np("body","clamp-"+n)),t)};ed.defaultProps={clamp:"none"},ed.role="MessageContributionItem.Body";var td=ed;var nd=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement("div",Object.assign({},n,Np("actions")),Re.a.createElement(Jr,{width:"auto",orientation:"horizontal",gutter:"m"},t))};nd.defaultProps={},nd.role="MessageContributionItem.Actions";var rd=nd;var od=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(nc,Object.assign({},je()(r,"className"),{href:n}),t)};od.defaultProps={},od.role="MessageContributionItem.Metric";var id=od;var ad=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(ac,Object.assign({},n,Np()),oi(t,id.role))};ad.defaultProps={},ad.role="MessageContributionItem.Metrics";var sd=ad;var ud=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(ba,Object.assign({},n,Np("images")),t)};ud.defaultProps={},ud.role="MessageContributionItem.Images";var cd=ud;var ld=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,e.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,e),t.prototype.renderAccountImage=function(){var e=this.props.children,t=oi(e,Zp.role,1);return t?Re.a.cloneElement(t.pop(),{renderAs:"image"}):null},t.prototype.renderAccountFullname=function(){var e=this.props.children,t=oi(e,Zp.role,1);return t||null},t.prototype.renderMetaData=function(){var e=this.props.children,t=oi(e,zp.role,1),n=oi(e,Wp.role,1);return t||n?Re.a.createElement(lo,{gutter:"xs",verticalAlign:"top"},Re.a.createElement(lo.Item,null,this.renderAccountImage()),Re.a.createElement(lo.Item,{width:"full"},Re.a.createElement("div",Np("meta"),Re.a.createElement("div",Np("meta-left"),this.renderAccountFullname()),n&&Re.a.createElement("div",Np("meta-right"),n)),t&&Re.a.createElement(hl,Np(),t))):null},t.prototype.renderFooterActions=function(){var e=this.props.children,t=oi(e,rd.role,1);return t?Re.a.createElement("div",Np("footer-actions"),Re.a.createElement("div",Np("footer-button-group"),t)):null},t.prototype.renderFooterMetrics=function(){var e=this.props.children,t=oi(e,sd.role,1);return t?Re.a.createElement("div",Np("footer-metrics"),t):null},t.prototype.renderFooter=function(){return Re.a.createElement("footer",Np("footer"),this.renderFooterActions(),this.renderFooterMetrics())},t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]),o=oi(n,Up.role,1),i=oi(n,cd.role,1),a=oi(n,Dp.role,1),s=this.renderMetaData(),u=oi(n,td.role,1),c=oi(n,Yp.role,1),l=oi(n,Mp.role,1);return Re.a.createElement("div",Object.assign({},r,Np("","",t)),o,c,Re.a.createElement("div",Np("stack"),s&&Re.a.createElement("div",Np("stack-item"),s),i&&Re.a.createElement("div",Np("stack-item"),i),a&&Re.a.createElement("div",Np("stack-item"),a),u&&Re.a.createElement("div",Np("stack-item"),u),l&&Re.a.createElement("div",Np("stack-item"),l),this.renderFooter()))},t}(Ne.Component);ld.role="MessageContributionItem",ld.defaultProps={};var fd=ld;var pd=function(e){var t=e.children,n=e.priority,r=e.icon,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","priority","icon"]);return Re.a.createElement(Sc,Object.assign({},o,Np(),{priority:n,icon:r}),t)};pd.defaultProps={priority:"tertiary"},pd.role="MessageContributionItem.Action";var dd=pd;var hd=function(e){var t=e.alt,n=e.src,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["alt","src"]);return Re.a.createElement(ba.Image,Object.assign({alt:t,src:n},r,Np("image")))};hd.defaultProps={},hd.role="MessageContributionItem.Image";var md=hd;var vd=function(e){var t,n=e.href,r=e.filename,o=e.filesize,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["href","filename","filesize"]);return Re.a.createElement(Yn.Item,i,Re.a.createElement(xo,{gutter:"none"},Re.a.createElement(xo.Item,Np("file-icon"),Re.a.createElement(_t,{identifier:"paper"})),Re.a.createElement(xo.Item,Np("file-name-container"),Re.a.createElement(Ut,null,Re.a.createElement(Bn,Object.assign({href:n,theme:"silent"},Np("file-link")),Re.a.createElement("div",Np("file-name"),(t=yt(r)).length>1?[Re.a.createElement("span",Object.assign({key:t[0]},Np("file-name-element","truncate")),t[0]),Re.a.createElement("span",Object.assign({key:t[1]},Np("file-name-element")),t[1])]:Re.a.createElement("span",Object.assign({key:t[0]},Np("file-name-element","truncate")),t[0]))))),o?Re.a.createElement(xo.Item,Object.assign({},i,Np("file-size")),o):null))};vd.defaultProps={},vd.role="MessageContributionItem.File";var yd=vd;var gd=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(Yn.Item,r,Re.a.createElement(xo,{gutter:"none"},Re.a.createElement(xo.Item,Np("file-icon"),Re.a.createElement(_t,{identifier:"list"})),Re.a.createElement(xo.Item,Np("file-truncation-container"),Re.a.createElement(Ut,null,Re.a.createElement(Bn,Object.assign({href:n,theme:"silent"},Np("file-link")),Re.a.createElement("div",Np("file-truncation"),t))))))};gd.defaultProps={},gd.role="MessageContributionItem.FileTruncation";var bd=gd;fd.ReplyTo=Up,fd.Images=cd,fd.Image=md,fd.Title=Dp,fd.Type=zp,fd.Account=Zp,fd.MetaItems=Wp,fd.MetaItem=Gp,fd.Root=Yp,fd.Body=td,fd.Files=Mp,fd.File=yd,fd.FileTruncation=bd,fd.Actions=rd,fd.Action=dd,fd.Metrics=sd,fd.Metric=id;var Ed=new Le.a({name:"project-item",prefix:"nova-v-"});var Od=function(e){var t=e.children,n=e.href,r=e.imageUrl,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href","imageUrl"]);return Re.a.createElement(ol,Object.assign({},je()(o,"className"),Ed()),Re.a.createElement(gl,Object.assign({href:n,imageUrl:r},Ed()),t))};Od.defaultProps={},Od.role="ProjectItem.Assignee";var wd=Od;var _d=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Du,Object.assign({},n,Ed()),t)};_d.defaultProps={},_d.role="ProjectItem.Actions";var Td=_d;var Sd=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(ol,Object.assign({},n,Ed()),t)};Sd.defaultProps={},Sd.role="ProjectItem.Collaborators";var Id=Sd;var Pd=function(e){var t=e.children,n=e.clamp,r=e.href,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","clamp","href"]);return Re.a.createElement(Gu,Object.assign({},o,Ed(),{href:r,clamp:n}),t)};Pd.defaultProps={},Pd.role="ProjectItem.Title";var Cd=Pd;var xd=function(e){var t=e.children,n=e.status,r=e.href,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","status","href"]),i="green";switch(n){case"unhealthy":i="grey";break;case"healthy":default:i="green"}return Re.a.createElement(lt,Object.assign({},o,Ed("health"),{luminosity:"medium",radius:"m",theme:"ghost",size:"l",color:i,href:r,display:"block"}),t)};xd.defaultProps={},xd.role="ProjectItem.Health";var jd=xd;var Ad=function(e){var t=e.children,n=e.clamp,r=e.href,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","clamp","href"]);return Re.a.createElement(el,Object.assign({},o,Ed(),{clamp:n},{href:r}),t)};Ad.role="ProjectItem.Description",Ad.defaultProps={clamp:"3"};var kd=Ad;var Nd=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Bu,Object.assign({},n,Ed()),t)};Nd.defaultProps={},Nd.role="ProjectItem.DropdownActions";var Rd=Nd;var Dd=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(lc,Object.assign({},r,{href:n}),t)};Dd.defaultProps={},Dd.role="ProjectItem.MetaItem";var Ld=Dd;var Md=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(hc,Object.assign({},n,Ed()),oi(t,Ld.role))};Md.defaultProps={},Md.role="ProjectItem.MetaItems";var Fd=Md;var Ud=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(nc,Object.assign({},je()(r,"className"),{href:n}),t)};Ud.defaultProps={},Ud.role="ProjectItem.Metric";var Bd=Ud;var zd=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(ac,Object.assign({},n,Ed()),oi(t,Bd.role))};zd.defaultProps={},zd.role="ProjectItem.Metrics";var Vd=zd;var Yd=function(e){var t=e.children,n=e.status,r=e.href,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","status","href"]),i="green";switch(n){case"inactive":case"archived":i="grey";break;case"active":default:i="green"}return Re.a.createElement(lt,Object.assign({},o,Ed("status"),{luminosity:"high",radius:"m",theme:"solid",size:"l",color:i,href:r,display:"block"}),t)};Yd.defaultProps={},Yd.role="ProjectItem.Status";var qd=Yd;var Gd=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,e.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,e),t.prototype.getChildContext=function(){return{viewSize:this.props.size}},t.prototype.renderMetaData=function(){var e=this.props.children,t=oi(e,qd.role,1),n=oi(e,jd.role,1),r=oi(e,Fd.role,1);return t||n||r?Re.a.createElement("div",Ed("meta"),Re.a.createElement("div",Ed("meta-left"),Re.a.createElement(hl,Ed(),t,n)),Re.a.createElement("div",Ed("meta-right"),r)):null},t.prototype.renderTitle=function(){var e=this.props,t=e.children,n=e.size,r=oi(t,Cd.role,1);if(!r)return null;var o="m";switch(n){case"s":o="m";break;case"m":default:o="l"}return Re.a.cloneElement(r.pop(),{size:o})},t.prototype.renderFooterActions=function(){var e=this.props.children,t=oi(e,Td.role,1),n=oi(e,Rd.role,1);return t||n?Re.a.createElement("div",Ed("footer-actions"),Re.a.createElement(yo,{verticalAlign:"middle",gutter:"m"},Re.a.createElement(yo.Item,Ed("footer-button-group"),t),Re.a.createElement(yo.Item,null,n))):null},t.prototype.renderFooterMetrics=function(){var e=this.props.children,t=oi(e,Vd.role,1);return t?Re.a.createElement("div",Ed("footer-metrics"),t):null},t.prototype.renderFooter=function(){return Re.a.createElement("footer",Ed("footer"),this.renderFooterActions(),this.renderFooterMetrics())},t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=e.size,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children","size"]),i=oi(n,Cd.role,1),a=this.renderMetaData(),s=oi(n,wd.role,1),u=oi(n,Id.role,1),c=oi(n,kd.role,1);return Re.a.createElement("div",Object.assign({},o,Ed("","",t)),Re.a.createElement("div",Object.assign({},o,Ed("body")),Re.a.createElement("div",Ed("stack","gutter-"+r),i&&Re.a.createElement("div",Ed("stack-item"),i),a&&Re.a.createElement("div",Ed("stack-item"),a),s&&Re.a.createElement("div",Ed("stack-item"),s),u&&Re.a.createElement("div",Ed("stack-item"),u),c&&Re.a.createElement("div",Ed("stack-item"),c))),this.renderFooter())},t}(Ne.Component);Gd.role="ProjectItem",Gd.defaultProps={size:"m"},Gd.childContextTypes={viewSize:ke.a.string};var Kd=Gd;var Wd=function(e){var t=e.children,n=e.priority,r=e.icon,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","priority","icon"]);return Re.a.createElement(Sc,Object.assign({},o,Ed(),{priority:n,icon:r}),t)};Wd.defaultProps={priority:"tertiary"},Wd.role="ProjectItem.Action";var Hd=Wd;var Qd=function(e){var t=e.children,n=e.imageUrl,r=e.href,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","imageUrl","href"]);return Re.a.createElement(gl,Object.assign({},o,Ed(),{href:r,imageUrl:n}),t)};Qd.defaultProps={},Qd.role="ProjectItem.Collaborator";var Jd=Qd;var $d=function(e){var t=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,[]);return Re.a.createElement(wl,Object.assign({},t,Ed()))};$d.defaultProps={},$d.role="ProjectItem.CollaboratorTruncation";var Xd=$d;var Zd=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(xc,Object.assign({},n,Ed()),t)};Zd.defaultProps={},Zd.role="ProjectItem.DropdownAction";var eh=Zd;Kd.Actions=Td,Kd.Action=Hd,Kd.Assignee=wd,Kd.Collaborators=Id,Kd.Collaborator=Jd,Kd.CollaboratorTruncation=Xd,Kd.DropdownActions=Rd,Kd.DropdownAction=eh,Kd.Health=jd,Kd.MetaItems=Fd,Kd.MetaItem=Ld,Kd.Metrics=Vd,Kd.Metric=Bd,Kd.Description=kd,Kd.Status=qd,Kd.Title=Cd;var th=new Le.a({name:"question-item",prefix:"nova-v-"});var nh=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Du,Object.assign({},n,th()),t)};nh.defaultProps={},nh.role="QuestionItem.Actions";var rh=nh;var oh=function(e){var t=e.children,n=e.imageUrl,r=e.href,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","imageUrl","href"]);return Re.a.createElement(ol,th(),Re.a.createElement(gl,Object.assign({},o,th(),{href:r,imageUrl:n}),t))};oh.defaultProps={},oh.role="QuestionItem.Author";var ih=oh;var ah=function(e){var t=e.children,n=e.clamp,r=e.href,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","clamp","href"]);return"string"==typeof t?Re.a.createElement(el,Object.assign({},o,th(),{clamp:n},{href:r}),t):Re.a.createElement("div",Object.assign({},o,th("description")),t)};ah.role="QuestionItem.Body",ah.defaultProps={clamp:"3"};var sh=ah;var uh=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(lt,Object.assign({},r,th("type"),{color:"green",luminosity:"medium",radius:"m",theme:"ghost",size:"l",display:"block",href:n}),t)};uh.defaultProps={},uh.role="QuestionItem.CommentCount";var ch=uh;var lh=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Bu,Object.assign({},n,th()),t)};lh.defaultProps={},lh.role="QuestionItem.DropdownActions";var fh=lh;var ph=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(la,Object.assign({},n,th("images")),t)};ph.defaultProps={},ph.role="QuestionItem.Images";var dh=ph;var hh=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement("div",Object.assign({},n,th("keywords")),t)};hh.defaultProps={},hh.role="QuestionItem.Keywords";var mh=hh;var vh=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(lc,Object.assign({},r,{href:n}),t)};vh.defaultProps={},vh.role="QuestionItem.MetaItem";var yh=vh;var gh=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(hc,Object.assign({},n,th()),oi(t,yh.role))};gh.defaultProps={},gh.role="QuestionItem.MetaItems";var bh=gh;var Eh=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(nc,Object.assign({},je()(r,"className"),{href:n}),t)};Eh.defaultProps={},Eh.role="QuestionItem.Metric";var Oh=Eh;var wh=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(ac,Object.assign({},n,th()),oi(t,Oh.role))};wh.defaultProps={},wh.role="QuestionItem.Metrics";var _h=wh;var Th=function(e){var t=e.children,n=e.status,r=e.href,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","status","href"]);return Re.a.createElement(lt,Object.assign({},o,th("status"),{color:"green",luminosity:"new"===n?"medium":"high",radius:"m",theme:"solid",size:"l",display:"block",href:r}),t)};Th.defaultProps={status:""},Th.role="QuestionItem.Status";var Sh=Th;var Ih=function(e){var t=e.children,n=e.clamp,r=e.href,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","clamp","href"]);return Re.a.createElement(Gu,Object.assign({},o,th(),{href:r,clamp:n}),t)};Ih.defaultProps={},Ih.role="QuestionItem.Title";var Ph=Ih;var Ch=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,e.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,e),t.prototype.getChildContext=function(){return{viewSize:this.props.size}},t.prototype.renderMetaData=function(){var e=this.props.children,t=oi(e,Sh.role,1),n=oi(e,ch.role,1),r=oi(e,bh.role,1);return t||n||r?Re.a.createElement("div",th("meta"),Re.a.createElement("div",th("meta-left"),Re.a.createElement(hl,th(),t,n)),Re.a.createElement("div",th("meta-right"),r)):null},t.prototype.renderFooterActions=function(){var e=this.props.children,t=oi(e,rh.role,1),n=oi(e,fh.role,1);return t||n?Re.a.createElement("div",th("footer-actions"),Re.a.createElement(yo,{verticalAlign:"middle",gutter:"m"},Re.a.createElement(yo.Item,th("footer-button-group"),t),Re.a.createElement(yo.Item,null,n))):null},t.prototype.renderFooterMetrics=function(){var e=this.props.children,t=oi(e,_h.role,1);return t?Re.a.createElement("div",th("footer-metrics"),t):null},t.prototype.renderFooter=function(){return Re.a.createElement("footer",th("footer"),this.renderFooterActions(),this.renderFooterMetrics())},t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=e.size,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children","size"]),i=oi(n,dh.role,1),a=oi(n,Ph.role,1),s=this.renderMetaData(),u=oi(n,ih.role,1),c=oi(n,sh.role,1),l=oi(n,mh.role,1);return Re.a.createElement("div",Object.assign({},o,th("","",t)),Re.a.createElement("div",th("body"),Re.a.createElement("div",th("stack","gutter-"+r),i&&Re.a.createElement("div",th("stack-item"),i),a&&Re.a.createElement("div",th("stack-item"),a),s&&Re.a.createElement("div",th("stack-item"),s),u&&Re.a.createElement("div",th("stack-item"),u),c&&Re.a.createElement("div",th("stack-item"),c),l&&Re.a.createElement("div",th("stack-item"),l))),this.renderFooter())},t}(Ne.Component);Ch.role="QuestionItem",Ch.defaultProps={size:"m"},Ch.childContextTypes={viewSize:ke.a.string};var xh=Ch;var jh=function(e){var t=e.children,n=e.priority,r=e.icon,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","priority","icon"]);return Re.a.createElement(Sc,Object.assign({},o,th(),{priority:n,icon:r}),t)};jh.defaultProps={priority:"tertiary"},jh.role="QuestionItem.Action";var Ah=jh;var kh=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(xc,Object.assign({},n,th()),t)};kh.defaultProps={},kh.role="QuestionItem.DropdownAction";var Nh=kh;var Rh=function(e){var t=e.src,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["src"]);return Re.a.createElement(la.Image,Object.assign({src:t},n,th("image")))};Rh.defaultProps={},Rh.role="QuestionItem.Image";var Dh=Rh;var Lh=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]),o=Re.a.createElement(lt,{color:"grey",luminosity:"high",radius:"full",theme:"solid",size:"m"},t);return n?Re.a.createElement(Bn,Object.assign({},th("keyword"),{href:n,theme:"silent"}),o):Re.a.createElement("div",Object.assign({},r,th("keyword")),o)};Lh.defaultProps={},Lh.role="QuestionItem.Keyword";var Mh=Lh;xh.Actions=rh,xh.Action=Ah,xh.Author=ih,xh.Body=sh,xh.CommentCount=ch,xh.DropdownActions=fh,xh.DropdownAction=Nh,xh.Image=Dh,xh.Images=dh,xh.Keyword=Mh,xh.Keywords=mh,xh.MetaItems=bh,xh.MetaItem=yh,xh.Metrics=_h,xh.Metric=Oh,xh.Status=Sh,xh.Title=Ph;var Fh=new Le.a({name:"job-item",prefix:"nova-v-"});var Uh=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Du,Object.assign({},n,Fh()),t)};Uh.defaultProps={},Uh.role="JobItem.Actions";var Bh=Uh;var zh=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Bu,Object.assign({},n,Fh()),t)};zh.defaultProps={},zh.role="JobItem.DropdownActions";var Vh=zh;var Yh=function(e){var t=e.imageUrl,n=e.alt,r=e.href,o=e.consumedSchemaOrg,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["imageUrl","alt","href","consumedSchemaOrg"]);return Re.a.createElement(st,Object.assign({},i,{itemProp:o,href:r,radius:"none"},Fh("image"),{src:t,alt:n}))};Yh.defaultProps={},Yh.role="JobItem.Image";var qh=Ku("image")(Yh);var Gh=function(e){var t=e.children,n=e.title,r=e.clamp,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","title","clamp"]);return Re.a.createElement(Xu,Object.assign({},o,Fh(),{title:n,clamp:r}),t)};Gh.defaultProps={},Gh.role="JobItem.Info";var Kh=Gh;var Wh=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(lc,Object.assign({},r,{href:n}),t)};Wh.defaultProps={},Wh.role="JobItem.MetaItem";var Hh=Wh;var Qh=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(hc,Object.assign({},n,Fh()),oi(t,Hh.role))};Qh.defaultProps={},Qh.role="JobItem.MetaItems";var Jh=Qh;var $h=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(nc,Object.assign({},je()(r,"className"),{href:n}),t)};$h.defaultProps={},$h.role="JobItem.Metric";var Xh=$h;var Zh=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(ac,Object.assign({},n,Fh()),oi(t,Xh.role))};Zh.defaultProps={},Zh.role="JobItem.Metrics";var em=Zh;var tm=function(e){var t=e.children,n=e.clamp,r=e.href,o=e.consumedSchemaOrg,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","clamp","href","consumedSchemaOrg"]);return Re.a.createElement(Gu,Object.assign({},i,{itemProp:o},Fh(),{href:r,clamp:n}),t)};tm.defaultProps={},tm.role="JobItem.Title";var nm=Ku("title")(tm);var rm=function(e){var t=e.children,n=e.status,r=e.href,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","status","href"]),i="green";switch(n){case"pendingApproval":case"pendingReview":case"reviewed":case"draft":case"offline":case"deleted":i="grey";break;case"expired":case"rejected":i="red";break;case"online":default:i="green"}return Re.a.createElement(lt,Object.assign({},o,Fh("status"),{luminosity:"high",radius:"m",theme:"solid",size:"l",color:i,href:r,display:"block"}),t)};rm.defaultProps={},rm.role="JobItem.Status";var om=rm;var im=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(lt,Object.assign({},r,Fh("status"),{luminosity:"medium",radius:"m",theme:"ghost",size:"l",color:"green",href:n,display:"block"}),t)};im.defaultProps={},im.role="JobItem.ExpiresIn";var am=im;var sm=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,e.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,e),t.prototype.getChildContext=function(){return{viewSize:this.props.size}},t.prototype.renderSchemaOrgMeta=function(e,t){return gc(e,t)},t.prototype.renderMetaData=function(){var e=this.props.children,t=oi(e,om.role,1),n=oi(e,am.role,1),r=oi(e,Jh.role,1);return t||n||r?Re.a.createElement("div",Fh("meta"),Re.a.createElement("div",Fh("meta-left"),Re.a.createElement(hl,Fh(),t,n)),Re.a.createElement("div",Fh("meta-right"),r)):null},t.prototype.renderInfo=function(){var e=this.props.children,t=oi(e,Kh.role);return t?t.map(function(e,t){return Re.a.createElement("div",Object.assign({key:t},Fh("stack-item")),e)}):null},t.prototype.renderFooterActions=function(){var e=this.props.children,t=oi(e,Bh.role,1),n=oi(e,Vh.role,1);return t||n?Re.a.createElement("div",Fh("footer-actions"),Re.a.createElement(yo,{verticalAlign:"middle",gutter:"m"},Re.a.createElement(yo.Item,Fh("footer-button-group"),t),Re.a.createElement(yo.Item,null,n))):null},t.prototype.renderFooterMetrics=function(){var e=this.props.children,t=oi(e,em.role,1);return t?Re.a.createElement("div",Fh("footer-metrics"),t):null},t.prototype.renderFooter=function(){return Re.a.createElement("footer",Fh("footer"),this.renderFooterActions(),this.renderFooterMetrics())},t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=e.renderSchemaOrgLeftovers,o=e.size,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children","renderSchemaOrgLeftovers","size"]),a=oi(n,nm.role,1),s=this.renderMetaData();return Re.a.createElement("div",Object.assign({},i,Fh("","",t)),Re.a.createElement("div",Fh("body"),Re.a.createElement("div",Fh("stack","gutter-"+o),oi(n,qh.role,1),a&&Re.a.createElement("div",Fh("stack-item"),a),s&&Re.a.createElement("div",Fh("stack-item"),s),this.renderInfo())),this.renderFooter(),r())},t}(Ne.Component);sm.role="JobItem",sm.defaultProps={size:"m"},sm.childContextTypes={viewSize:ke.a.string};var um=Ec(sm);var cm=function(e){var t=e.children,n=e.priority,r=e.icon,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","priority","icon"]);return Re.a.createElement(Sc,Object.assign({},o,Fh(),{priority:n,icon:r}),t)};cm.defaultProps={priority:"tertiary"},cm.role="JobItem.Action";var lm=cm;var fm=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(xc,Object.assign({},n,Fh()),t)};fm.defaultProps={},fm.role="JobItem.DropdownAction";var pm=fm;var dm=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(Nc,Object.assign({},r,Fh(),{href:n}),t)};dm.defaultProps={},dm.role="JobItem.InfoItem";var hm=dm;um.DropdownActions=Vh,um.DropdownAction=pm,um.Actions=Bh,um.Action=lm,um.ExpiresIn=am,um.Image=qh,um.Info=Kh,um.InfoItem=hm,um.MetaItems=Jh,um.MetaItem=Hh,um.Metrics=em,um.Metric=Xh,um.Status=om,um.Title=nm;var mm=new Le.a({name:"product-item",prefix:"nova-v-"});var vm=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Du,Object.assign({},n,mm()),t)};vm.defaultProps={},vm.role="ProductItem.Actions";var ym=vm;var gm=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Bu,Object.assign({},n,mm()),t)};gm.defaultProps={},gm.role="ProductItem.DropdownActions";var bm=gm;var Em=function(e){var t=e.imageUrl,n=e.alt,r=e.href,o=e.consumedSchemaOrg,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["imageUrl","alt","href","consumedSchemaOrg"]);return Re.a.createElement(st,Object.assign({},i,{itemProp:o,href:r,radius:"none"},mm("image"),{src:t,alt:n}))};Em.defaultProps={},Em.role="ProductItem.Image";var Om=Ku("image")(Em);var wm=function(e){var t=e.children,n=e.title,r=e.clamp,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","title","clamp"]);return Re.a.createElement(Xu,Object.assign({},o,mm(),{title:n,clamp:r}),t)};wm.defaultProps={},wm.role="ProductItem.Info";var _m=wm;var Tm=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(lc,Object.assign({},r,{href:n}),t)};Tm.defaultProps={},Tm.role="ProductItem.MetaItem";var Sm=Tm;var Im=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(hc,Object.assign({},n,mm()),oi(t,Sm.role))};Im.defaultProps={},Im.role="ProductItem.MetaItems";var Pm=Im;var Cm=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(nc,Object.assign({},je()(r,"className"),{href:n}),t)};Cm.defaultProps={},Cm.role="ProductItem.Metric";var xm=Cm;var jm=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(ac,Object.assign({},n,mm()),oi(t,xm.role))};jm.defaultProps={},jm.role="ProductItem.Metrics";var Am=jm;var km=function(e){var t=e.children,n=e.clamp,r=e.href,o=e.consumedSchemaOrg,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","clamp","href","consumedSchemaOrg"]);return Re.a.createElement(Gu,Object.assign({},i,{itemProp:o},mm(),{href:r,clamp:n}),t)};km.defaultProps={},km.role="ProductItem.Title";var Nm=Ku("name")(km);var Rm=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(lt,Object.assign({},r,mm("status"),{display:"block",luminosity:"high",radius:"m",size:"l",color:"green",href:n}),t)};Rm.defaultProps={},Rm.role="ProductItem.Category";var Dm=Rm;var Lm=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,e.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,e),t.prototype.getChildContext=function(){return{viewSize:this.props.size}},t.prototype.renderMetaData=function(){var e=this.props.children,t=oi(e,Dm.role,1),n=oi(e,Pm.role,1);return t||n?Re.a.createElement("div",mm("meta"),Re.a.createElement("div",mm("meta-left"),Re.a.createElement(hl,mm(),t)),Re.a.createElement("div",mm("meta-right"),n)):null},t.prototype.renderInfo=function(){var e=this.props.children,t=oi(e,_m.role);return t?t.map(function(e,t){return Re.a.createElement("div",Object.assign({key:t},mm("stack-item")),e)}):null},t.prototype.renderTitle=function(){var e=this.props,t=e.children,n=e.size,r=oi(t,Nm.role,1);if(!r)return null;var o="m";switch(n){case"s":o="m";break;case"m":default:o="l"}return Re.a.cloneElement(r.pop(),{size:o})},t.prototype.renderFooterActions=function(){var e=this.props.children,t=oi(e,ym.role,1),n=oi(e,bm.role,1);return t||n?Re.a.createElement("div",mm("footer-actions"),Re.a.createElement(yo,{verticalAlign:"middle",gutter:"m"},Re.a.createElement(yo.Item,mm("footer-button-group"),t),Re.a.createElement(yo.Item,null,n))):null},t.prototype.renderFooterMetrics=function(){var e=this.props.children,t=oi(e,Am.role,1);return t?Re.a.createElement("div",mm("footer-metrics"),t):null},t.prototype.renderFooter=function(){return Re.a.createElement("footer",mm("footer"),this.renderFooterActions(),this.renderFooterMetrics())},t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=e.size,o=e.renderSchemaOrgLeftovers,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children","size","renderSchemaOrgLeftovers"]),a=oi(n,Nm.role,1),s=this.renderMetaData(),u=this.renderInfo();return Re.a.createElement("div",Object.assign({},i,mm("","",t)),Re.a.createElement("div",mm("body"),Re.a.createElement("div",mm("stack","gutter-"+r),oi(n,Om.role,1),a&&Re.a.createElement("div",mm("stack-item"),a),s&&Re.a.createElement("div",mm("stack-item"),s),u)),this.renderFooter(),o())},t}(Ne.Component);Lm.role="ProductItem",Lm.defaultProps={size:"m"},Lm.childContextTypes={viewSize:ke.a.string};var Mm=Ec(Lm);var Fm=function(e){var t=e.children,n=e.priority,r=e.icon,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","priority","icon"]);return Re.a.createElement(Sc,Object.assign({},o,mm(),{priority:n,icon:r}),t)};Fm.defaultProps={priority:"tertiary"},Fm.role="ProductItem.Action";var Um=Fm;var Bm=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(xc,Object.assign({},n,mm()),t)};Bm.defaultProps={},Bm.role="ProductItem.DropdownAction";var zm=Bm;var Vm=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(Nc,Object.assign({},r,mm(),{href:n}),t)};Vm.defaultProps={},Vm.role="ProductItem.InfoItem";var Ym=Vm;Mm.DropdownActions=bm,Mm.DropdownAction=zm,Mm.Actions=ym,Mm.Action=Um,Mm.Image=Om,Mm.Info=_m,Mm.InfoItem=Ym,Mm.MetaItems=Pm,Mm.MetaItem=Sm,Mm.Metrics=Am,Mm.Metric=xm,Mm.Category=Dm,Mm.Title=Nm;var qm=new Le.a({name:"activity-list-item",prefix:"nova-v-"});var Gm=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]),o=Re.a.Children.map(t,function(e){return e.type===Bn?Re.a.cloneElement(e,Object.assign({theme:"bare"},qm("story-subject-link"))):e});return Re.a.createElement("span",Object.assign({},r,qm("story-subject")),n?Re.a.createElement(Bn,Object.assign({href:n,theme:"bare"},qm("story-subject-link")),t):o," ")};Gm.defaultProps={},Gm.role="ActivityListItem.StorySubject";var Km=Gm;var Wm=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement("span",Object.assign({},n,qm("story-body")),t)};Wm.defaultProps={},Wm.role="ActivityListItem.StoryBody";var Hm=Wm;var Qm=function(e){var t=e.priority,n=e.identifier,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["priority","identifier"]);return Re.a.createElement("div",qm("story-icon"),Re.a.createElement(_t,Object.assign({},r,{theme:"solid"},{primary:{color:"yellow"},secondary:{color:"grey"},tertiary:{color:"grey",luminosity:"high"}}[t],{size:"s",identifier:n})))};Qm.defaultProps={priority:"tertiary"},Qm.role="ActivityListItem.StoryIcon";var Jm=Qm;var $m=function(e){var t=e.imageUrl,n=e.alt,r=e.href,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["imageUrl","alt","href"]);return Re.a.createElement(st,Object.assign({size:"s",href:r},o,qm("story-image"),{src:t,alt:n}))};$m.defaultProps={},$m.role="ActivityListItem.StoryImage";var Xm=$m;var Zm=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]),r=oi(t,Km.role,1),o=oi(t,Hm.role,1);return Re.a.createElement(Ut,Object.assign({},n,qm("story")),r,o)};Zm.defaultProps={},Zm.role="ActivityListItem.Story";var ev=Zm;var tv=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Ut,Object.assign({},n,qm("time"),{size:"s",spacing:"none",family:"sans-serif"}),t)};tv.defaultProps={},tv.role="ActivityListItem.Time";var nv=tv;var rv=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Du,Object.assign({},n,qm()),t)};rv.defaultProps={},rv.role="ActivityListItem.Actions";var ov=rv;var iv=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Bu,Object.assign({},n,qm()),t)};iv.defaultProps={},iv.role="ActivityListItem.DropdownActions";var av=iv;var sv=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement("div",Object.assign({},n,qm("entity-list")),t)};sv.defaultProps={},sv.role="ActivityListItem.EntityList";var uv=sv;var cv=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,e.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,e),t.prototype.renderImage=function(){var e=this.props.children,t=oi(e,ev.role,1);if(!t)return null;var n=t.pop(),r=oi(n.props.children,Xm.role,1),o=oi(n.props.children,Jm.role,1);return Re.a.createElement("div",qm("story-images"),r,o)},t.prototype.renderActions=function(){var e=this.props.children,t=oi(e,ov.role,1),n=oi(e,av.role,1);return t||n?Re.a.createElement("div",qm("activity-actions"),Re.a.createElement(yo,{verticalAlign:"middle",gutter:"m"},Re.a.createElement(yo.Item,null,t),Re.a.createElement(yo.Item,null,n))):null},t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]);return Re.a.createElement("div",Object.assign({},r,qm("","",t)),Re.a.createElement(lo,{gutter:"xs",verticalAlign:"top"},Re.a.createElement(lo.Item,null,this.renderImage()),Re.a.createElement(lo.Item,{width:"full"},Re.a.createElement("div",qm("body"),oi(n,nv.role,1),oi(n,ev.role,1),this.renderActions(),oi(n,uv.role,1)))))},t}(Ne.Component);cv.role="ActivityListItem",cv.defaultProps={};var lv=cv;var fv=function(e){var t=e.children,n=e.priority,r=e.icon,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","priority","icon"]);return Re.a.createElement(Sc,Object.assign({},o,qm(),{priority:n,icon:r}),t)};fv.defaultProps={priority:"tertiary"},fv.role="ActivityListItem.Action";var pv=fv;var dv=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(xc,Object.assign({},n,qm()),t)};dv.defaultProps={},dv.role="ActivityListItem.DropdownAction";var hv=dv;var mv=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement("div",Object.assign({},n,qm("entity-list-actions")),Re.a.createElement(Jr,{width:"auto",orientation:"horizontal",gutter:"m"},t))};mv.defaultProps={},mv.role="ActivityListItem.EntityListActions";var vv=mv;var yv=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(qr,Object.assign({},n,qm("entity-list-action"),{type:"button",size:"s",color:"blue",radius:"m",theme:"bare"}),t)};yv.defaultProps={},yv.role="ActivityListItem.EntityListAction";var gv=yv;var bv=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement("div",Object.assign({},n,qm("entity-list-items")),Re.a.createElement(_o,{gutter:"xs"},Re.a.Children.map(t,function(e){return Re.a.createElement(_o.Item,null,e)})))};bv.defaultProps={},bv.role="ActivityListItem.EntityListItems";var Ev=bv;var Ov=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement("div",Object.assign({},n,qm("entity-list-item")),t)};Ov.defaultProps={},Ov.role="ActivityListItem.EntityListItem";var wv=Ov;lv.Action=pv,lv.Actions=ov,lv.DropdownAction=hv,lv.DropdownActions=av,lv.Story=ev,lv.StorySubject=Km,lv.StoryBody=Hm,lv.StoryImage=Xm,lv.StoryIcon=Jm,lv.Time=nv,lv.EntityList=uv,lv.EntityListActions=vv,lv.EntityListAction=gv,lv.EntityListItems=Ev,lv.EntityListItem=wv;var _v=new Le.a({name:"citation-item",prefix:"nova-v-"});var Tv=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]),r=_v({element:"context-target"});return Re.a.createElement(Ut,Object.assign({size:"s"},r,n),t)};Tv.defaultProps={},Tv.role="CitationItem.ContextTarget";var Sv=Tv,Iv=n(62),Pv=n.n(Iv);var Cv=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Rr,Object.assign({color:"yellow"},n),t)};Cv.defaultProps={},Cv.role="CitationItem.ContextHighlight";var xv=Cv;var jv=function(e){var t=e.children,n=e.clamp,r=e.referenceStart,o=e.referenceEnd,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","clamp","referenceStart","referenceEnd"]),a=Math.max(0,Math.min(t.length,r)),s=Math.max(r,Math.min(o,t.length)),u=t.slice(a,s),c=t.slice(0,a),l=t.slice(s,t.length),f=Re.a.createElement(xv,{key:Pv()()},u),p=r&&o?[c,f,l]:t;return Re.a.createElement(Ut,Object.assign({size:"m"},_v("context-body","clamp-"+n),i),"... ",p," ...")};jv.defaultProps={clamp:"none",referenceStart:0,referenceEnd:0},jv.role="CitationItem.ContextBody";var Av=jv;var kv=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]),r=oi(t,Sv.role,1),o=oi(t,Av.role,1),i=_v({element:"context"});return Re.a.createElement(Rn,Object.assign({elevation:"none",spacing:"m",position:"above-left"},i,n),Re.a.createElement(_o,{showDivider:!0},o&&Re.a.createElement(_o.Item,null,o),r&&Re.a.createElement(_o.Item,null,r)))};kv.defaultProps={},kv.role="CitationItem.Context";var Nv=kv;var Rv=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement("div",Object.assign({},_v("context-source"),n),t)};Rv.defaultProps={},Rv.role="CitationItem.Source";var Dv=Rv;var Lv=function(e){var t=e.className,n=e.children,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children"]),o=oi(n,Nv.role,1),i=oi(n,Dv.role,1);return Re.a.createElement("div",Object.assign({},r,_v("","",t)),Re.a.createElement(_o,null,o&&Re.a.createElement(_o.Item,null,o),i&&Re.a.createElement(_o.Item,null,i)))};Lv.role="CitationItem",Lv.defaultProps={};var Mv=Lv;Mv.Context=Nv,Mv.ContextBody=Av,Mv.ContextTarget=Sv,Mv.ContextHighlight=xv,Mv.Source=Dv;var Fv=new Le.a({name:"event-item",prefix:"nova-v-"});var Uv=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Du,Object.assign({},n,Fv()),t)};Uv.defaultProps={},Uv.role="EventItem.Actions";var Bv=Uv;var zv=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Bu,Object.assign({},n,Fv()),t)};zv.defaultProps={},zv.role="EventItem.DropdownActions";var Vv=zv;var Yv=function(e){var t=e.imageUrl,n=e.alt,r=e.href,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["imageUrl","alt","href"]),i=Re.a.createElement("div",Fv("image"),Re.a.createElement("img",Object.assign({},o,Fv("image-img"),{src:t,alt:n})));return r?Re.a.createElement(Bn,Object.assign({href:r},Fv("image-wrapper"),{theme:"bare"}),i):Re.a.createElement("div",Fv("image-wrapper"),i)};Yv.defaultProps={},Yv.role="EventItem.Image";var qv=Yv;var Gv=function(e){var t=e.children,n=e.title,r=e.clamp,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","title","clamp"]);return Re.a.createElement(Xu,Object.assign({},o,Fv(),{title:n,clamp:r}),t)};Gv.defaultProps={},Gv.role="EventItem.Info";var Kv=Gv;var Wv=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(lc,Object.assign({},r,{href:n}),t)};Wv.defaultProps={},Wv.role="EventItem.MetaItem";var Hv=Wv;var Qv=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(hc,Object.assign({},n,Fv()),oi(t,Hv.role))};Qv.defaultProps={},Qv.role="EventItem.MetaItems";var Jv=Qv;var $v=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(nc,Object.assign({},je()(r,"className"),{href:n}),t)};$v.defaultProps={},$v.role="EventItem.Metric";var Xv=$v;var Zv=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(ac,Object.assign({},n,Fv()),oi(t,Xv.role))};Zv.defaultProps={},Zv.role="EventItem.Metrics";var ey=Zv;var ty=function(e){var t=e.children,n=e.clamp,r=e.href,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","clamp","href"]);return Re.a.createElement(Gu,Object.assign({},o,Fv(),{href:r,clamp:n}),t)};ty.defaultProps={},ty.role="EventItem.Name";var ny=ty;var ry=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,e.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,e),t.prototype.getChildContext=function(){return{viewSize:this.props.size}},t.prototype.renderMetaData=function(){var e=this.props.children,t=oi(e,Jv.role,1);return t?Re.a.createElement("div",Fv("meta"),Re.a.createElement("div",Fv("meta-right"),t)):null},t.prototype.renderInfo=function(){var e=this.props.children,t=oi(e,Kv.role);return t?t.map(function(e,t){return Re.a.createElement("div",Object.assign({key:t},Fv("stack-item")),e)}):null},t.prototype.renderFooterActions=function(){var e=this.props.children,t=oi(e,Bv.role,1),n=oi(e,Vv.role,1);return t||n?Re.a.createElement("div",Fv("footer-actions"),Re.a.createElement(yo,{verticalAlign:"middle",gutter:"m"},Re.a.createElement(yo.Item,Fv("footer-button-group"),t),Re.a.createElement(yo.Item,null,n))):null},t.prototype.renderFooterMetrics=function(){var e=this.props.children,t=oi(e,ey.role,1);return t?Re.a.createElement("div",Fv("footer-metrics"),t):null},t.prototype.renderFooter=function(){return Re.a.createElement("footer",Fv("footer"),this.renderFooterActions(),this.renderFooterMetrics())},t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=e.size,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children","size"]),i=oi(n,ny.role,1),a=this.renderMetaData(),s=this.renderInfo(),u=Fv("","size-"+r,t);return Re.a.createElement("div",Object.assign({},o,u),Re.a.createElement("div",Fv("body"),Re.a.createElement("div",Fv("stack","gutter-"+r),oi(n,qv.role,1),i&&Re.a.createElement("div",Fv("stack-item"),i),a&&Re.a.createElement("div",Fv("stack-item"),a),s)),this.renderFooter())},t}(Ne.Component);ry.role="EventItem",ry.defaultProps={size:"m"},ry.childContextTypes={viewSize:ke.a.string};var oy=ry;var iy=function(e){var t=e.children,n=e.priority,r=e.icon,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","priority","icon"]);return Re.a.createElement(Sc,Object.assign({},o,Fv(),{priority:n,icon:r}),t)};iy.defaultProps={priority:"tertiary"},iy.role="EventItem.Action";var ay=iy;var sy=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(xc,Object.assign({},n,Fv()),t)};sy.defaultProps={},sy.role="EventItem.DropdownAction";var uy=sy;var cy=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(Nc,Object.assign({},r,Fv(),{href:n}),t)};cy.defaultProps={},cy.role="EventItem.InfoItem";var ly=cy;oy.DropdownActions=Vv,oy.DropdownAction=uy,oy.Actions=Bv,oy.Action=ay,oy.Image=qv,oy.Info=Kv,oy.InfoItem=ly,oy.MetaItems=Jv,oy.MetaItem=Hv,oy.Metrics=ey,oy.Metric=Xv,oy.Name=ny;var fy=new Le.a({name:"file-list-item",prefix:"nova-v-"}),py=n(1883),dy=n.n(py),hy=function(e){var t=e.value,n=e.min,r=e.max,o=e.valueText,i=dy()(t,n,r),a=t||0===t,s=i/(r-n)*100,u=fy({element:"progress-value",modifiers:[a?"":"indeterminate",0===t?"idle":""]}),c=a?{width:s+"%"}:null;return Re.a.createElement("div",Object.assign({role:"progressbar","aria-valuenow":t,"aria-valuemin":n,"aria-valuemax":r,"aria-valuetext":"function"==typeof o?o():o,tabIndex:"0"},fy({element:"progress"})),Re.a.createElement("div",Object.assign({},u,{style:c})))};hy.defaultProps={valueText:function(){return null},min:0,max:100};var my=hy;var vy=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Du,Object.assign({},n,fy()),t)};vy.defaultProps={},vy.role="FileListItem.Actions";var yy=vy;var gy=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(nc,Object.assign({},je()(r,"className"),{href:n}),t)};gy.defaultProps={},gy.role="FileListItem.Metric";var by=gy;var Ey=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(ac,Object.assign({},n,fy()),oi(t,by.role))};Ey.defaultProps={},Ey.role="FileListItem.Metrics";var Oy=Ey;var wy=function(e){var t=e.children,n=e.title,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","title"]);return Re.a.createElement(Xu,Object.assign({},r,fy(),{title:n}),t)};wy.defaultProps={},wy.role="FileListItem.Info";var _y=wy;var Ty=function(e){var t,n,r,o,i=e.name,a=e.size,s=e.type,u=e.errorLabel,c=e.errorMessage,l=e.progress,f=e.progressLabel,p=e.children,d=e.className,h=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["name","size","type","errorLabel","errorMessage","progress","progressLabel","children","className"]),m=!0===l||"number"==typeof l;return Re.a.createElement("div",Object.assign({},h,fy({extra:d})),Re.a.createElement(xo,{gutter:"xs"},Re.a.createElement(xo.Item,null,Re.a.createElement("div",fy("icon"))),Re.a.createElement(xo.Item,Object.assign({grow:!0},fy("content")),Re.a.createElement(Ut,Object.assign({size:"l",spacing:"xxs"},fy("name")),(n=yt(i),r=n[0],(o=n[1])?Re.a.createElement(Ne.Fragment,null,Re.a.createElement("span",fy("name-element","truncate"),r),Re.a.createElement("span",fy("name-element"),o)):Re.a.createElement("span",fy("name-element","truncate"),r))),Re.a.createElement("div",fy("stack","gutter-m"),Re.a.createElement("div",fy("stack-item"),Re.a.createElement("div",fy("pack"),Re.a.createElement("div",fy("pack-item",m?"hide-on-mobile":""),Re.a.createElement(lt,{size:"l",color:"green",luminosity:"high",radius:"m"},s)),Re.a.createElement("div",fy("pack-item",m?"hide-on-mobile":""),Re.a.createElement(Ut,null,a)),Re.a.createElement("div",fy("pack-item","progress"),m&&Re.a.createElement(my,{value:!0===l?void 0:l,valueText:f})),Re.a.createElement("div",fy("pack-item"),f&&Re.a.createElement(Ut,null,f)),Re.a.createElement("div",fy("pack-item"),u?u&&c?Re.a.createElement("div",fy("error-label"),Re.a.createElement(Rn,{mount:"div",scope:"local",spacing:"s",target:Re.a.createElement(lt,{color:"red"},u)},c)):Re.a.createElement(lt,{color:"red"},u):null))),Re.a.createElement("div",fy("stack-item"),(t=oi(p,_y.role))?t.map(function(e,t){return Re.a.createElement("div",Object.assign({key:t},fy("stack-item")),e)}):null)),Re.a.createElement("footer",fy("footer"),Re.a.createElement("div",fy("footer-metrics"),oi(p,Oy.role,1)))),Re.a.createElement(xo.Item,{shrink:!0},Re.a.createElement("div",fy("align"),Re.a.createElement("div",fy("align-content"),oi(p,yy.role,1))))))};Ty.role="FileListItem";var Sy=Ty;var Iy=function(e){var t=e.children,n=e.priority,r=e.icon,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","priority","icon"]);return Re.a.createElement(Sc,Object.assign({},o,fy(),{priority:n,icon:r}),t)};Iy.defaultProps={priority:"tertiary"},Iy.role="FileListItem.Action";var Py=Iy;var Cy=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(Nc,Object.assign({},r,{href:n}),t)};Cy.defaultProps={},Cy.role="FileListItem.InfoItem";var xy=Cy;Sy.Actions=yy,Sy.Action=Py,Sy.Metrics=Oy,Sy.Metric=by,Sy.Info=_y,Sy.InfoItem=xy;var jy=new Le.a({name:"institution-item",prefix:"nova-v-"});var Ay=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Du,Object.assign({},n,jy()),t)};Ay.defaultProps={},Ay.role="InstitutionItem.Actions";var ky=Ay;var Ny=function(e){var t=e.imageUrl,n=e.alt,r=e.href,o=e.consumedSchemaOrg,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["imageUrl","alt","href","consumedSchemaOrg"]);return Re.a.createElement(st,Object.assign({},i,{href:r,itemProp:o,radius:"none"},jy("image"),{src:t,alt:n}))};Ny.defaultProps={},Ny.role="InstitutionItem.Image";var Ry=Ku("logo")(Ny);var Dy=function(e){var t=e.children,n=e.title,r=e.clamp,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","title","clamp"]);return Re.a.createElement(Xu,Object.assign({},o,jy(),{title:n,clamp:r}),t)};Dy.defaultProps={},Dy.role="InstitutionItem.Info";var Ly=Dy;var My=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(lt,Object.assign({},r,jy("type"),{luminosity:"high",radius:"m",theme:"solid",size:"l",color:"green",href:n,display:"block"}),t)};My.defaultProps={},My.role="InstitutionItem.Type";var Fy=My;var Uy=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(lc,Object.assign({},r,{href:n}),t)};Uy.defaultProps={},Uy.role="InstitutionItem.MetaItem";var By=Uy;var zy=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(hc,Object.assign({},n,jy()),oi(t,By.role))};zy.defaultProps={},zy.role="InstitutionItem.MetaItems";var Vy=zy;var Yy=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(nc,Object.assign({},je()(r,"className"),{href:n}),t)};Yy.defaultProps={},Yy.role="InstitutionItem.Metric";var qy=Yy;var Gy=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(ac,Object.assign({},n,jy()),oi(t,qy.role))};Gy.defaultProps={},Gy.role="InstitutionItem.Metrics";var Ky=Gy;var Wy=function(e){var t=e.children,n=e.clamp,r=e.href,o=e.consumedSchemaOrg,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","clamp","href","consumedSchemaOrg"]);return Re.a.createElement(Gu,Object.assign({},i,{itemProp:o},jy(),{href:r,clamp:n}),t)};Wy.defaultProps={},Wy.role="InstitutionItem.Name";var Hy=Ku("name")(Wy);var Qy=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,e.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,e),t.prototype.getChildContext=function(){return{viewSize:this.props.size}},t.prototype.renderMetaData=function(){var e=this.props.children,t=oi(e,Vy.role,1),n=oi(e,Fy.role,1);return t||n?Re.a.createElement("div",jy("meta"),Re.a.createElement("div",jy("meta-left"),n&&Re.a.createElement(hl,jy(),n)),Re.a.createElement("div",jy("meta-right"),t)):null},t.prototype.renderInfo=function(){var e=this.props.children,t=oi(e,Ly.role);return t?t.map(function(e,t){return Re.a.createElement("div",Object.assign({key:t},jy("stack-item")),e)}):null},t.prototype.renderFooterActions=function(){var e=this.props.children,t=oi(e,ky.role,1);return t?Re.a.createElement("div",jy("footer-actions"),Re.a.createElement(yo,{verticalAlign:"middle",gutter:"m"},Re.a.createElement(yo.Item,jy("footer-button-group"),t))):null},t.prototype.renderFooterMetrics=function(){var e=this.props.children,t=oi(e,Ky.role,1);return t?Re.a.createElement("div",jy("footer-metrics"),t):null},t.prototype.renderFooter=function(){return Re.a.createElement("footer",jy("footer"),this.renderFooterActions(),this.renderFooterMetrics())},t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=e.size,o=e.renderSchemaOrgLeftovers,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children","size","renderSchemaOrgLeftovers"]),a=oi(n,Hy.role,1),s=this.renderMetaData();return Re.a.createElement("div",Object.assign({},i,jy("","",t)),Re.a.createElement("div",jy("body"),Re.a.createElement("div",jy("stack","gutter-"+r),oi(n,Ry.role,1),a&&Re.a.createElement("div",jy("stack-item"),a),s&&Re.a.createElement("div",jy("stack-item"),s),this.renderInfo())),this.renderFooter(),o())},t}(Ne.Component);Qy.role="InstitutionItem",Qy.defaultProps={size:"m"},Qy.childContextTypes={viewSize:ke.a.string};var Jy=Ec(Qy);var $y=function(e){var t=e.children,n=e.priority,r=e.icon,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","priority","icon"]);return Re.a.createElement(Sc,Object.assign({},o,jy(),{priority:n,icon:r}),t)};$y.defaultProps={priority:"tertiary"},$y.role="InstitutionItem.Action";var Xy=$y;var Zy=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(xc,Object.assign({},n,jy()),t)};Zy.defaultProps={},Zy.role="InstitutionItem.DropdownAction";var eg=Zy;var tg=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Bu,Object.assign({},n,jy()),t)};tg.defaultProps={},tg.role="InstitutionItem.DropdownActions";var ng=tg;var rg=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(Nc,Object.assign({},r,jy(),{href:n}),t)};rg.defaultProps={},rg.role="InstitutionItem.InfoItem";var og=rg;Jy.DropdownActions=ng,Jy.DropdownAction=eg,Jy.Actions=ky,Jy.Action=Xy,Jy.Image=Ry,Jy.Info=Ly,Jy.InfoItem=og,Jy.MetaItems=Vy,Jy.MetaItem=By,Jy.Metrics=Ky,Jy.Metric=qy,Jy.Name=Hy,Jy.Type=Fy;var ig=new Le.a({name:"department-item",prefix:"nova-v-"});var ag=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Du,Object.assign({},n,ig()),t)};ag.defaultProps={},ag.role="DepartmentItem.Actions";var sg=ag;var ug=function(e){var t=e.imageUrl,n=e.alt,r=e.href,o=e.consumedSchemaOrg,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["imageUrl","alt","href","consumedSchemaOrg"]);return Re.a.createElement(st,Object.assign({},i,{href:r,itemProp:o,radius:"none"},ig("image"),{src:t,alt:n}))};ug.defaultProps={},ug.role="DepartmentItem.Image";var cg=Ku("logo")(ug);var lg=function(e){var t=e.children,n=e.title,r=e.clamp,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","title","clamp"]);return Re.a.createElement(Xu,Object.assign({},o,ig(),{title:n,clamp:r}),t)};lg.defaultProps={},lg.role="DepartmentItem.Info";var fg=lg;var pg=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(lt,Object.assign({},r,ig("type"),{luminosity:"high",radius:"m",theme:"solid",size:"l",color:"green",href:n,display:"block"}),t)};pg.defaultProps={},pg.role="DepartmentItem.Type";var dg=pg;var hg=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(lc,Object.assign({},r,{href:n}),t)};hg.defaultProps={},hg.role="DepartmentItem.MetaItem";var mg=hg;var vg=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(hc,Object.assign({},n,ig()),oi(t,mg.role))};vg.defaultProps={},vg.role="DepartmentItem.MetaItems";var yg=vg;var gg=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(nc,Object.assign({},je()(r,"className"),{href:n}),t)};gg.defaultProps={},gg.role="DepartmentItem.Metric";var bg=gg;var Eg=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(ac,Object.assign({},n,ig()),oi(t,bg.role))};Eg.defaultProps={},Eg.role="DepartmentItem.Metrics";var Og=Eg;var wg=function(e){var t=e.children,n=e.clamp,r=e.href,o=e.consumedSchemaOrg,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","clamp","href","consumedSchemaOrg"]);return Re.a.createElement(Gu,Object.assign({},i,{itemProp:o},ig(),{href:r,clamp:n}),t)};wg.defaultProps={},wg.role="DepartmentItem.Name";var _g=Ku("name")(wg);var Tg=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,e.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,e),t.prototype.getChildContext=function(){return{viewSize:this.props.size}},t.prototype.renderMetaData=function(){var e=this.props.children,t=oi(e,yg.role,1),n=oi(e,dg.role,1);return t||n?Re.a.createElement("div",ig("meta"),Re.a.createElement("div",ig("meta-left"),n&&Re.a.createElement(hl,ig(),n)),Re.a.createElement("div",ig("meta-right"),t)):null},t.prototype.renderInfo=function(){var e=this.props.children,t=oi(e,fg.role);return t?t.map(function(e,t){return Re.a.createElement("div",Object.assign({key:t},ig("stack-item")),e)}):null},t.prototype.renderFooterActions=function(){var e=this.props.children,t=oi(e,sg.role,1);return t?Re.a.createElement("div",ig("footer-actions"),Re.a.createElement(yo,{verticalAlign:"middle",gutter:"m"},Re.a.createElement(yo.Item,ig("footer-button-group"),t))):null},t.prototype.renderFooterMetrics=function(){var e=this.props.children,t=oi(e,Og.role,1);return t?Re.a.createElement("div",ig("footer-metrics"),t):null},t.prototype.renderFooter=function(){return Re.a.createElement("footer",ig("footer"),this.renderFooterActions(),this.renderFooterMetrics())},t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=e.size,o=e.renderSchemaOrgLeftovers,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["className","children","size","renderSchemaOrgLeftovers"]),a=oi(n,_g.role,1),s=this.renderMetaData();return Re.a.createElement("div",Object.assign({},i,ig("","",t)),Re.a.createElement("div",ig("body"),Re.a.createElement("div",ig("stack","gutter-"+r),oi(n,cg.role,1),a&&Re.a.createElement("div",ig("stack-item"),a),s&&Re.a.createElement("div",ig("stack-item"),s),this.renderInfo())),this.renderFooter(),o())},t}(Ne.Component);Tg.role="DepartmentItem",Tg.defaultProps={size:"m"},Tg.childContextTypes={viewSize:ke.a.string};var Sg=Ec(Tg);var Ig=function(e){var t=e.children,n=e.priority,r=e.icon,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","priority","icon"]);return Re.a.createElement(Sc,Object.assign({},o,ig(),{priority:n,icon:r}),t)};Ig.defaultProps={priority:"tertiary"},Ig.role="DepartmentItem.Action";var Pg=Ig;var Cg=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(xc,Object.assign({},n,ig()),t)};Cg.defaultProps={},Cg.role="DepartmentItem.DropdownAction";var xg=Cg;var jg=function(e){var t=e.children,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return Re.a.createElement(Bu,Object.assign({},n,ig()),t)};jg.defaultProps={},jg.role="DepartmentItem.DropdownActions";var Ag=jg;var kg=function(e){var t=e.children,n=e.href,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","href"]);return Re.a.createElement(Nc,Object.assign({},r,ig(),{href:n}),t)};kg.defaultProps={},kg.role="DepartmentItem.InfoItem";var Ng=kg;Sg.DropdownActions=Ag,Sg.DropdownAction=xg,Sg.Actions=sg,Sg.Action=Pg,Sg.Image=cg,Sg.Info=fg,Sg.InfoItem=Ng,Sg.MetaItems=yg,Sg.MetaItem=mg,Sg.Metrics=Og,Sg.Metric=bg,Sg.Name=_g,Sg.Type=dg;var Rg=new Le.a({name:"person-inline-item",prefix:"nova-v-"});var Dg=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,e.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,e),t.prototype.render=function(){var e=this.props,t=e.href,n=e.children,r=e.className,o=e.renderSchemaOrgLeftovers,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["href","children","className","renderSchemaOrgLeftovers"]),a="span";t||i.href?a="a":i.onClick&&(a="button");var s="button"===a?i:je()(i,["type"]);return Re.a.createElement(a,Object.assign({href:t},Rg({extra:r}),s,Je(i)),n,o())},t}(Ne.PureComponent);Dg.role="PersonInlineItem",Dg.defaultProps={type:"button"};var Lg=Ec(Dg);var Mg=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,e.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,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,r=e.consumedSchemaOrg,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","className","consumedSchemaOrg"]);return Re.a.createElement("span",Object.assign({},o,{itemProp:r},Rg("fullname","",n)),t)},t}(Ne.PureComponent);Mg.defaultProps={},Mg.role="PersonInlineItem.Fullname";var Fg=Ku("name")(Mg);var Ug=function(e){var t=e.imageUrl,n=e.alt,r=e.consumedSchemaOrg,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["imageUrl","alt","consumedSchemaOrg"]);return t&&void 0!==t?Re.a.createElement(st,Object.assign({size:"xs",itemProp:r},o,Rg("image"),{src:t,alt:n})):null};Ug.defaultProps={},Ug.role="PersonInlineItem.Image";var Bg=Ku("image")(Ug);Lg.Fullname=Fg,Lg.Image=Bg,n.d(t,"Color",function(){return r}),n.d(t,"Elevation",function(){return o}),n.d(t,"Breakpoint",function(){return i}),n.d(t,"MediaQuery",function(){return a}),n.d(t,"MediaExpression",function(){return s}),n.d(t,"LineHeight",function(){return u}),n.d(t,"Easing",function(){return c}),n.d(t,"FontFamily",function(){return l}),n.d(t,"FontSize",function(){return f}),n.d(t,"FontWeight",function(){return p}),n.d(t,"Radius",function(){return d}),n.d(t,"Spacing",function(){return h}),n.d(t,"ZIndex",function(){return m}),n.d(t,"Button",function(){return qr}),n.d(t,"ButtonGroup",function(){return Jr}),n.d(t,"Alert",function(){return Ro}),n.d(t,"AlertStack",function(){return Yo}),n.d(t,"Modal",function(){return si}),n.d(t,"ModalExample",function(){return ci}),n.d(t,"ModalExampleAsync",function(){return fi}),n.d(t,"Qualifier",function(){return wi}),n.d(t,"Tooltip",function(){return Rn}),n.d(t,"TagInput",function(){return Ii}),n.d(t,"Dropdown",function(){return Fi}),n.d(t,"Card",function(){return ra}),n.d(t,"ImageTiles",function(){return la}),n.d(t,"ImageStrip",function(){return ba}),n.d(t,"Carousel",function(){return La}),n.d(t,"ButtonStack",function(){return za}),n.d(t,"Metric",function(){return $a}),n.d(t,"Navigation",function(){return es}),n.d(t,"Pagination",function(){return ss}),n.d(t,"OptionList",function(){return Ms}),n.d(t,"Note",function(){return Vs}),n.d(t,"SocialActions",function(){return Ks}),n.d(t,"Table",function(){return $s}),n.d(t,"AdvancedSelect",function(){return Nu}),n.d(t,"Avatar",function(){return st}),n.d(t,"Badge",function(){return lt}),n.d(t,"Radio",function(){return dt}),n.d(t,"Checkbox",function(){return vt}),n.d(t,"FileInput",function(){return Et}),n.d(t,"Icon",function(){return _t}),n.d(t,"Input",function(){return Lt}),n.d(t,"Label",function(){return Mn}),n.d(t,"Link",function(){return Bn}),n.d(t,"List",function(){return Yn}),n.d(t,"MaxLengthBadge",function(){return xt}),n.d(t,"Text",function(){return Ut}),n.d(t,"Textarea",function(){return Qn}),n.d(t,"Select",function(){return Xn}),n.d(t,"Skeleton",function(){return br}),n.d(t,"ExpandableText",function(){return Cr}),n.d(t,"Spinner",function(){return Ar}),n.d(t,"TextHighlight",function(){return Rr}),n.d(t,"FormGroup",function(){return Zr}),n.d(t,"Grid",function(){return oo}),n.d(t,"MediaObject",function(){return lo}),n.d(t,"Pack",function(){return yo}),n.d(t,"Stack",function(){return _o}),n.d(t,"Flex",function(){return xo}),n.d(t,"Position",function(){return yn}),n.d(t,"Toggle",function(){return On}),n.d(t,"Popover",function(){return Cn}),n.d(t,"Portal",function(){return An}),n.d(t,"PersonItem",function(){return wc}),n.d(t,"PublicationItem",function(){return vl}),n.d(t,"ActivityItem",function(){return tf}),n.d(t,"PersonListItem",function(){return Af}),n.d(t,"MessageItem",function(){return pp}),n.d(t,"MessageContributionItem",function(){return fd}),n.d(t,"ProjectItem",function(){return Kd}),n.d(t,"QuestionItem",function(){return xh}),n.d(t,"JobItem",function(){return um}),n.d(t,"ProductItem",function(){return Mm}),n.d(t,"ActivityListItem",function(){return lv}),n.d(t,"CitationItem",function(){return Mv}),n.d(t,"EventItem",function(){return oy}),n.d(t,"FileListItem",function(){return Sy}),n.d(t,"InstitutionItem",function(){return Jy}),n.d(t,"DepartmentItem",function(){return Sg}),n.d(t,"PersonInlineItem",function(){return Lg}),n.d(t,"setFeatureFlag",function(){return Oe}),n.d(t,"getFeatureFlag",function(){return we}),n.d(t,"enableFeatureFlag",function(){return ye}),n.d(t,"enableAllFeatureFlags",function(){return Ee}),n.d(t,"disableFeatureFlag",function(){return ge}),n.d(t,"disableAllFeatureFlags",function(){return be})},function(e,t,n){"use strict";t.a=function(e,t){e.prototype.__proto__=t&&t.prototype,e.__proto__=t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.connectWidget=function(e,t,n,i){void 0===i&&(i={});return function(l){l=Object(c.connect)(e,t,n,i)(l);var v=function(e){function t(t){var n;(n=e.call(this,t)||this).loadWidget=function(e,t,r,o){n.internalLoadWidget(e,t,r,null,o)};var r={widgetData:{}};return t.hasOwnProperty("widgetId")&&(r.widgetId=t.widgetId),n.state=r,n}var n=t.prototype;return n.internalLoadWidget=function(e,t,n,r,o){if("string"!=typeof e||0===e.length)throw new Error("Invalid route supplied to loadWidget()");var i,a=this.context.widgetStore,s=this.context.store;n&&a.isWidgetLoading(n)?console.log("Calling loadWidget with the same reference multiple times got blocked ("+n+")"):(a.registerWidgetLoading(n),i=Object(m.m)(m.d)?function(e,t){t(),"function"==typeof r&&r(e)}:function(e,t){var n=a.getData(e);widgetRenderer.prepareWidgetTree(n,function(){widgetLoader.createWidget(n,function(){t(),"function"==typeof r&&r(e)})})},s.dispatch(Object(d.d)({route:e,params:t,ref:n,method:o},a,i)))},n.isAsyncWidget=function(){var e=this.context.widgetStore,t=e.getData(this.state.widgetId);return t&&"application/stubs/AsyncClientSideRenderingWrapper.html"===t.templateName},n.isWidgetRenderable=function(){return(!this.state.hasOwnProperty("widgetId")||null!==this.state.widgetId)&&(!this.state.widgetId||!this.isAsyncWidget())},n.getWrappedInstance=function(){return this.wrappedComponent.getWrappedInstance()},n.componentDidCatch=function(){h.a.apply(void 0,arguments)},n.componentDidMount=function(){this.state.widgetId},n.componentWillUnmount=function(){this.state.widgetId},n.UNSAFE_componentWillMount=function(){var e=this,t=this.context.widgetStore,n=t.getData(this.state.widgetId);if(n){if(this.isAsyncWidget())return void this.internalLoadWidget(n.data.innerWidgetUrl,{},null,function(n){e.setState({widgetId:n,widgetData:t.getData(n).data})});0,this.setState({widgetData:n.data})}},n.render=function(){var e=this;if(!this.isWidgetRenderable())return null;var t=Object(r.a)({},this.state.widgetData,this.props,{loadWidget:this.loadWidget});return this.state.widgetId&&(t.widgetId=this.state.widgetId),i.withRef&&(t.ref=function(t){e.wrappedComponent=t}),u.a.createElement(l,t)},Object(o.a)(t,e),t}(s.Component);return v.displayName=Object(p.wrapDisplayName)(l,"Widget"),v.contextTypes={widgetStore:a.a.shape({getData:a.a.func.isRequired}),store:a.a.shape({dispatch:a.a.func.isRequired})},f()(v,l)}},t.connectRootWidget=function(e,t,n,r){var i=function(r){function i(){return r.apply(this,arguments)||this}var a=i.prototype;return a.getChildContext=function(){return{widgetStore:n}},a.render=function(){return u.a.createElement(c.Provider,{store:t},u.a.createElement(e,this.props))},Object(o.a)(i,r),i}(s.Component);return i.displayName="Root",i.childContextTypes={widgetStore:a.a.shape({getData:a.a.func.isRequired})},u.a.createFactory(i)({widgetId:r})};var r=n(11),o=n(3),i=n(1),a=n.n(i),s=n(0),u=n.n(s),c=n(21),l=n(406),f=n.n(l),p=n(7),d=n(555),h=n(275),m=n(324);new Set},function(e,t,n){"use strict";t.a=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){var r=n(114);function o(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function i(e){return"string"==typeof e}function a(e){return e.split(/\s+/g).filter(function(e){return 0!==e.length})}function s(e){return i(e)&&""!==e?a(e):e&&e.length?e.reduce(function(e,t){return t?e.concat(a(t)):e},[]):o(e)?(t=e,Object.keys(t).reduce(function(e,n){var r=t[n];return"function"==typeof r&&(r=r()),r?e.concat(a(n)):e},[])):[];var t}function u(e){return function(t){i(t)&&(t={name:t});var n=(t=r({prefix:"",modifierDelimiter:"--",outputIsString:!1},e,t)).prefix+t.name,a=t.modifierDelimiter,u=t.outputIsString;return function(e,t,r){var i;o(e)?(i=e.element,t=e.modifiers||e.modifier,r=e.extra):i=e;var c=i?n+"__"+i:n,l=[c].concat(s(t).map(function(e){return c+a+e})).concat(s(r)).join(" ").trim();return u?l:{className:l}}}}var c=u({});c.withDefaults=u,e.exports=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n.n(r),i=n(173),a=n.n(i),s=n(1206),u=n.n(s),c=n(98),l=n.n(c),f=n(131),p=n.n(f),d=n(132),h=n.n(d);function m(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function v(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}.bind(this))}function y(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function g(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,o=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?o="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==n||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=m,t.componentWillReceiveProps=v),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=y;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,r)}}return e}m.__suppressDeprecationWarning=!0,v.__suppressDeprecationWarning=!0,y.__suppressDeprecationWarning=!0;var b=n(269),E=n.n(b),O=n(1148),w=n.n(O),_=n(406),T=n.n(_),S=n(2105),I=n(1565);n.d(t,"mapProps",function(){return A}),n.d(t,"withProps",function(){return k}),n.d(t,"withPropsOnChange",function(){return R}),n.d(t,"withHandlers",function(){return L}),n.d(t,"defaultProps",function(){return M}),n.d(t,"renameProp",function(){return U}),n.d(t,"renameProps",function(){return z}),n.d(t,"flattenProp",function(){return V}),n.d(t,"withState",function(){return Y}),n.d(t,"withStateHandlers",function(){return q}),n.d(t,"withReducer",function(){return K}),n.d(t,"branch",function(){return H}),n.d(t,"renderComponent",function(){return Q}),n.d(t,"renderNothing",function(){return $}),n.d(t,"shouldUpdate",function(){return X}),n.d(t,"pure",function(){return Z}),n.d(t,"onlyUpdateForKeys",function(){return ee}),n.d(t,"onlyUpdateForPropTypes",function(){return te}),n.d(t,"withContext",function(){return ne}),n.d(t,"getContext",function(){return re}),n.d(t,"lifecycle",function(){return oe}),n.d(t,"toClass",function(){return ae}),n.d(t,"setStatic",function(){return P}),n.d(t,"setPropTypes",function(){return se}),n.d(t,"setDisplayName",function(){return C}),n.d(t,"compose",function(){return ue}),n.d(t,"getDisplayName",function(){return x}),n.d(t,"wrapDisplayName",function(){return j}),n.d(t,"isClassComponent",function(){return ie}),n.d(t,"createSink",function(){return ce}),n.d(t,"componentFromProp",function(){return le}),n.d(t,"nest",function(){return fe}),n.d(t,"hoistStatics",function(){return pe}),n.d(t,"componentFromStream",function(){return ye}),n.d(t,"componentFromStreamWithConfig",function(){return ve}),n.d(t,"mapPropsStream",function(){return Ee}),n.d(t,"mapPropsStreamWithConfig",function(){return be}),n.d(t,"createEventHandler",function(){return we}),n.d(t,"createEventHandlerWithConfig",function(){return Oe}),n.d(t,"setObservableConfig",function(){return he}),n.d(t,"shallowEqual",function(){return u.a});var P=function(e,t){return function(n){return n[e]=t,n}},C=function(e){return P("displayName",e)},x=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":void 0},j=function(e,t){return t+"("+x(e)+")"},A=function(e){return function(t){var n=Object(r.createFactory)(t),o=function(t){return n(e(t))};return o}},k=function(e){var t=A(function(t){return a()({},t,"function"==typeof e?e(t):e)});return t},N=function(e,t){for(var n={},r=0;r1?r-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:G;return t.setState(function(t){var r=t.stateValue;return{stateValue:n(r,e)}},function(){return r(t.state.stateValue)})},o=e,p()(t,o)}return h()(i,r),i.prototype.initializeStateValue=function(){return void 0!==o?"function"==typeof o?o(this.props):o:n(void 0,{type:"@@recompose/INIT"})},i.prototype.render=function(){var n;return s(a()({},this.props,((n={})[e]=this.state.stateValue,n[t]=this.dispatch,n)))},i}(r.Component);return u}},W=function(e){return e},H=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:W;return function(o){var i=void 0,a=void 0,s=function(s){return e(s)?(i=i||Object(r.createFactory)(t(o)))(s):(a=a||Object(r.createFactory)(n(o)))(s)};return s}},Q=function(e){return function(t){var n=Object(r.createFactory)(e),o=function(e){return n(e)};return o}},J=function(e){function t(){return l()(this,t),p()(this,e.apply(this,arguments))}return h()(t,e),t.prototype.render=function(){return null},t}(r.Component),$=function(e){return J},X=function(e){return function(t){var n=Object(r.createFactory)(t),o=function(t){function r(){return l()(this,r),p()(this,t.apply(this,arguments))}return h()(r,t),r.prototype.shouldComponentUpdate=function(t){return e(this.props,t)},r.prototype.render=function(){return n(this.props)},r}(r.Component);return o}},Z=function(e){var t=X(function(e,t){return!u()(e,t)});return t(e)},ee=function(e){var t=X(function(t,n){return!u()(N(n,e),N(t,e))});return t},te=function(e){var t=e.propTypes;var n=w()(t||{}),r=ee(n)(e);return r},ne=function(e,t){return function(n){var o=Object(r.createFactory)(n),i=function(e){function n(){var r,o,i;l()(this,n);for(var a=arguments.length,s=Array(a),u=0;u-1&&(null===o.headers["Content-Type"]?delete o.headers["Content-Type"]:o.body instanceof FormData||(o.headers["Content-Type"]="application/json")),null===(t=o.body)||void 0===t||"object"!=typeof t||t instanceof FormData||(o.body=function(e,t){return"application/json"===t?JSON.stringify(e):i.a.stringify(e)}(o.body,o.headers["Content-Type"])),delete o.query,o}function h(e,t){var n=(new Date).getTime(),o=function(e,t){var n=Object(r.a)({},t,{headers:Object(r.a)({},t.headers)});return delete n.headers["Rg-Request-Token"],e+"__"+JSON.stringify(n)}(e,t);return p.has(o)?(window&&window.Bugsnag&&window.Bugsnag.notify("Duplicate request","The same request was issued multiple times.",{request:{url:e,identifier:o}}),Promise.reject("Request already in progress")):(p.add(o),fetch(e,t).then(function(r){var i=(new Date).getTime();if(p.delete(o),RGCommons.performedRequests.log(e,t.method,r,r.status<400,parseInt(i-n,10)),r.status>=400)throw new Error("Bad response from server ("+r.headers.get("x-correlation-id")+")");if(204!==r.status){if("arraybuffer"===t.forcedResponseType)return r.arrayBuffer();if("blob"===t.forcedResponseType)return r.blob();if(r.headers.has("Content-Type")){var a=r.headers.get("Content-Type");if(!a.startsWith(t.headers.Accept))throw new Error("Received content of type "+a+", expected type to be "+t.headers.Accept+". URI: "+e);if(a.startsWith("application/json"))return r.json();if(a.startsWith("text/"))return r.text()}}return null}).then(function(n){if(null===n)return null;if("string"==typeof n)return n;if(n instanceof ArrayBuffer)return n;if(n instanceof Blob)return n;if(n.requestToken&&RGCommons.requestToken.update(n.requestToken),n.errors&&"csrf-retry"===n.errors[0]&&f<5)return f++,h(e,t);if(!n.success){var r=new Error("Request error");return n.result.redirect&&(r.isRedirect=!0,Object(a.b)(n.result.redirect)),r.errors=n.errors,Promise.reject(r)}return f=0,n}).catch(function(e){return p.delete(o),Promise.reject(e)}))}t.default=function(e,t){return h(e=function(e,t){if(navigator.userAgent.toLowerCase().indexOf("firefox/39")>-1){var n=document.querySelector("base");e=(n&&n.href||"")+e}return Object(a.a)(e,t.query)}(e,t),t=d(t))}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.a=function(e){for(var t=1;t0?l()([].concat(e),t,E):void 0}function O(e){var t=Object(s.c)(e),n=function(e){return b||(b=Object.keys(e).reduce(function(t,n){var r=e[n];return r.isImmutable?(t[n]=r.initialState,t):t},{}))}(e),r=function(n,r){return r.type===d.a&&r.data?Object.keys(e).reduce(function(t,n){var o,i=r.data[n];if(!i)return t;var a,s=e[n],c=t[n];return"rigel"===n?Object(u.a)({},t,{rigel:Object(u.a)({},c,{store:m()(c.store,r.data.rigel.store)})}):s&&s.hasCustomMerger?Object(u.a)({},t,((a={})[n]=s(c,r),a)):Object(u.a)({},t,((o={})[n]=l()(c,i,E),o))},Object.assign({},n)):t(n,r)};return r.setInitialIterables=function(e){if(e)return Object.keys(n).reduce(function(e,t){var r=n[t],o=e[t];return e[t]=o?r.mergeDeep(o):r,e},e)},r}var w=n(614),_=n.n(w),T=n(300),S=n.n(T),I=n(556),P=n(25),C=n(9);function x(){return S()((e={},(t=n(2216)).keys().forEach(function(n){var r=n.match(/([^/]+)\/reducers\/([^/]+)\.js$/),o=r[1],i=r[2],a=o+_()(i);try{e[a]=t(n).default}catch(e){Object(I.a)("Could not load reducer: "+n)}}),e),function(){var e={},t=n(2327);return t.keys().forEach(function(n){var r=n.match(/([^/]+)\.js$/)[1];try{e[r]=t(n).default}catch(e){Object(I.a)("Could not load reducer: "+n)}}),e}(),{form:P.reducer,rigel:C.defaultContext.createReducer()});var e,t}var j=n(2331),A=n(133),k=n(63),N=function(e){var t=e.method,n=e.Request,r=void 0===n?"undefined"!=typeof XMLHttpRequest?XMLHttpRequest:null:n,o=e.addHeaders,i=void 0===o?function(){}:o;return function(e){var n=e.getState;return function(e){return function(o){if(o.type!==A.m&&o.type!==A.d)return e(o);if(o.type===A.d&&!Object(k.a)(o.payload.formId,n()).uploadOnReceive)return e(o);var a=o.payload.formId;e(o),o.type===A.d&&e(Object(u.a)({},o,{type:A.m}));var s=Object(k.a)(a,n()),c=s.fileList,l=s.url;t=t||s.method||"POST";var f=c.filter(function(e){return e.status===A.a.IDLE});(function n(o,u){if(o){Object(A.n)(a,o);var c=new r,f=new FormData,p=s.fileFieldName||"file";f.append(p,o.nativeFile),c.open(t,l),i(c,s),c.upload.addEventListener("progress",function(t){if(t.lengthComputable){var n=t.loaded/t.total;e({type:A.l,payload:{formId:a,file:o,progress:n}})}else e({type:A.l,payload:{formId:a,file:o,progress:null}})}),c.addEventListener("load",function(){var t={success:c.status>4&&c.status<400};try{t=JSON.parse(c.responseText)}catch(e){t.errors=["Error parsing server response."]}e(Object(A.p)(a,o,t));var r=u[0],i=u.slice(1);n(r,i)}),c.addEventListener("error",function(){if(e({type:A.k,payload:{formId:a,file:o,response:{success:!1,errors:["Request failed."]}},error:!0}),s.continueOnError){var t=u[0],r=u.slice(1);n(t,r)}else e(Object(A.o)(a))}),c.addEventListener("abort",function(){e({type:A.g,payload:{formId:a,file:o}})}),c.send(f)}else e(Object(A.o)(a))})(f[0],f.slice(1))}}}},R=n(19),D=function(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){if("function"==typeof o)return o(n,r,e);var i=o.performAsync,a=o.types,s=o.alwaysReject,c=Object(R.a)(o,["performAsync","types","alwaysReject"]);if(!i)return t(o);var l=a[0],f=a[1],p=a[2];return t(Object(u.a)({},c,{type:l})),i(e,n,r).then(function(e){return y()(f,"Please supply a success action type as the 2nd array item of your types property."),t(Object(u.a)({},c,{type:f,payload:e})),e}).catch(function(e){return p?(t(Object(u.a)({},c,{type:p,error:e})),s?Promise.reject(e):null):Promise.reject(e)})}}}},L=n(1641),M=n(10),F=n(324);function U(e,t){var n=(new Date).getTime();e.setRequestHeader("Rg-Request-Token",RGCommons.requestToken.get()),e.onreadystatechange=function(){if(4===M.default.readystate){var r=(new Date).getTime(),o=t.url,i=t.method;RGCommons.performedRequests.log(o,i,e.responseText,e.status<400,parseInt(r-n,10))}}}function B(){return self.reactData.widgetStore||(self.reactData.widgetStore=function(e){var t=new i.a;e&&t.addData(e);return t}()),self.reactData.widgetStore}function z(){if(!self.reactData.reduxStore){var e=O(x());self.reactData.reduxStore=function(e,t){var o=N({addHeaders:U}),i=D(M.default),a={fetcher:L.a};"adminplayground"!==Object(F.m)(F.c)&&(a.persistedQueryMap=n(2332));var u=Object(C.middleware)(a),c=[i,u,o],l=[s.a.apply(void 0,c),Object(j.batchedSubscribe)(r.unstable_batchedUpdates)];0;return t=e.setInitialIterables(t),Object(s.e)(e,t,s.d.apply(void 0,l))}(e)}return self.reactData.reduxStore}t.a=function(e,t){var n=self.reactData,r=B(),i=z();r.addData(n.widgets);var s=Object(a.connectRootWidget)(e,i,r,t);i.dispatch(Object(d.b)(n.initState)),n.initState={};var u=document.getElementById(t);if(!u)return void console.warn("DOM Node for widget with id "+t+" not found");n.unmount[t]=function(){return o.a.unmountComponentAtNode(u)},u.innerHTML?o.a.hydrate(s,u):o.a.render(s,u)},t.b=function(e,t){var n=B(),r=z(),i=Object(a.connectRootWidget)(e,r,n);o.a.render(i,t)}},function(e,t,n){"use strict";var r;!function(e){e.TYPE_PUBLICATION="publication",e.TYPE_PUBLICATIONRELATION="publicationrelation",e.TYPE_PUBLICATIONCITATIONS="publicationcitations",e.TYPE_PUBLICATIONREVIEW="publicationreview",e.TYPE_PBFEEDBACKREQUEST="pbfeedbackrequest",e.TYPE_PBREQUEST="pbrequest",e.TYPE_PUBLICATIONUPDATELOG="publicationupdatelog",e.TYPE_PUBLICATIONCITATIONCONTEXT="publicationcitationcontext",e.TYPE_PUBLICATIONCITATION="publicationcitation",e.TYPE_GRANT="grant",e.TYPE_USERRECOMMENDATION="userrecommendation",e.TYPE_LIKE="like",e.TYPE_MSGLINK="msglink",e.TYPE_CONVERSATION="conversation",e.TYPE_MESSAGE="message",e.TYPE_PUBLICATIONLINK="publicationlink",e.TYPE_KEYWORD="keyword",e.TYPE_AUTHOR="author",e.TYPE_PRECOMPUTEDAUTHORMATCH="precomputedauthormatch",e.TYPE_AUTHORACCOUNTMAPPING="authoraccountmapping",e.TYPE_AUTHORACCOUNTMAPPINGSUGGESTER="authoraccountmappingsuggester",e.TYPE_TERM="term",e.TYPE_REFERENCETERM="referenceterm",e.TYPE_DICTIONARY="dictionary",e.TYPE_POST="post",e.TYPE_PUBLICATIONASSET="publicationasset",e.TYPE_ACCOUNT="account",e.TYPE_SETTING="setting",e.TYPE_SKILL="skill",e.TYPE_ASSET="asset",e.TYPE_DERIVATIVE="derivative",e.TYPE_SCIENCE="science",e.TYPE_ENTITYMAPPING="entitymapping",e.TYPE_EXTERNALCONNECTION="externalconnection",e.TYPE_META="meta",e.TYPE_RECOMMENDER="recommender",e.TYPE_INSTITUTION="institution",e.TYPE_INSTITUTIONTYPE="institutiontype",e.TYPE_DEPARTMENT="department",e.TYPE_DOMAIN="domain",e.TYPE_INVITATIONSUGGESTION="invitationsuggestion",e.TYPE_CUSTOMER="customer",e.TYPE_FEEDINDEXFOLLOW="feedindexfollow",e.TYPE_FEEDINDEXSUBSCRIPTION="feedindexsubscription",e.TYPE_MAILQUEUE="mailqueue",e.TYPE_MAILBOUNCE="mailbounce",e.TYPE_EXPERIMENT="experiment",e.TYPE_TRAFFICEXPERIMENT="trafficexperiment",e.TYPE_TRAFFICEXPERIMENTBLUEPRINT="trafficexperimentblueprint",e.TYPE_BUSINESSROLE="businessrole",e.TYPE_BUSINESSROLEPERMISSIONMAPPING="businessrolepermissionmapping",e.TYPE_BUSINESSPERMISSION="businesspermission",e.TYPE_BUSINESSPERMISSIONCATEGORY="businesspermissioncategory",e.TYPE_BUSINESS="business",e.TYPE_BUSINESSACCOUNT="businessaccount",e.TYPE_CUSTOMERADDRESS="customeraddress",e.TYPE_REFINDACCOUNT="refindaccount",e.TYPE_RESEARCHEXPERIENCE="researchexperience",e.TYPE_COUNTRY="country",e.TYPE_LOCATIONPRESET="locationpreset",e.TYPE_RECOMMENDATION="recommendation",e.TYPE_INVITATIONCOLLECTION="invitationcollection",e.TYPE_INVITATIONPERMISSION="invitationpermission",e.TYPE_URLINVITATION="urlinvitation",e.TYPE_INVITATION="invitation",e.TYPE_RGDOC="rgdoc",e.TYPE_RGDOCCHUNK="rgdocchunk",e.TYPE_FEEDBACK="feedback",e.TYPE_ACCOUNTFOLLOWSUBSCRIPTION="accountfollowsubscription",e.TYPE_ORDER="order",e.TYPE_PERSON="person",e.TYPE_PERSONNAME="personname",e.TYPE_ACTIVITY="activity",e.TYPE_ARTICLE="article",e.TYPE_CITATION="citation",e.TYPE_BADGE="badge",e.TYPE_BOOKMARK="bookmark",e.TYPE_COLLECTION="collection",e.TYPE_COMMENT="comment",e.TYPE_EVENT="event",e.TYPE_FILE="file",e.TYPE_GROUP="group",e.TYPE_IMAGE="image",e.TYPE_NOTE="note",e.TYPE_PLACE="place",e.TYPE_NOMINATION="nomination",e.TYPE_RESEARCHUPDATE="researchupdate",e.TYPE_RESEARCHUPDATECOMMENT="researchupdatecomment",e.TYPE_QUESTION="question",e.TYPE_REVIEW="review",e.TYPE_SERVICE="service",e.TYPE_VIDEO="video",e.TYPE_BLOG="blog",e.TYPE_CHANGES="changes",e.TYPE_CONFERENCE="conference",e.TYPE_CONFERENCEEVENT="conferenceevent",e.TYPE_JOB="job",e.TYPE_JOBAPPLICATION="jobapplication",e.TYPE_JOBTARGETINGPREFERENCES="jobtargetingpreferences",e.TYPE_JOBPOSTWORKFLOW="jobpostworkflow",e.TYPE_POLL="poll",e.TYPE_TALK="talk",e.TYPE_TOPIC="topic",e.TYPE_VITA="vita",e.TYPE_EDUCATION="education",e.TYPE_RESEARCH="research",e.TYPE_AWARD="award",e.TYPE_THREAD="thread",e.TYPE_DEGREE="degree",e.TYPE_JOURNAL="journal",e.TYPE_SOCIETY="society",e.TYPE_ATTRIBUTION="attribution",e.TYPE_NEWS="news",e.TYPE_BLOGPOST="blogpost",e.TYPE_SUBSCRIPTION="subscription",e.TYPE_ISSUE="issue",e.TYPE_HOSTEDCONTENT="hostedcontent",e.TYPE_INSIGHTPRESET="insightpreset",e.TYPE_INSIGHTPRESETTYPE="insightpresettype",e.TYPE_INSIGHTSCONTAINER="insightscontainer",e.TYPE_CAREERLEVEL="careerlevel",e.TYPE_CORETAGGINGPRESET="coretaggingpreset",e.TYPE_PROJECT="project",e.TYPE_PROJECTREQUESTSUGGESTION="projectrequestsuggestion",e.TYPE_PJCOLLABORATOR="pjcollaborator",e.TYPE_PJREFERENCE="pjreference",e.TYPE_PJUPDREQUEST="pjupdrequest",e.TYPE_PJUPDDEADLINE="pjupddeadline",e.TYPE_AFFILIATION="affiliation",e.TYPE_REQUEST="request",e.TYPE_RGSCORE="rgscore",e.TYPE_RGSTATS="rgstats",e.TYPE_STATSIMPROVEMENTS="statsimprovements",e.TYPE_ACCOUNTREACHCHANGE="accountreachchange",e.TYPE_MEDIALINK="medialink",e.TYPE_REFERENCE="reference",e.TYPE_PUBATTRIBUTION="pubattribution",e.TYPE_JOBPOSITION="jobposition",e.TYPE_SUCCESSSTORY="successstory",e.TYPE_PRECOMPUTEDACCOUNTFOLLOWSUGGESTIONQUALITY="precomputedaccountfollowsuggestionquality",e.TYPE_PRECOMPUTEDACCOUNTFOLLOWSUGGESTIONRECENT="precomputedaccountfollowsuggestionrecent",e.TYPE_PRODUCT="product",e.TYPE_PRODUCTMENTION="productmention",e.TYPE_PRODUCTCOMMENT="productcomment",e.TYPE_PRODUCTCOMMENTREPLY="productcommentreply",e.TYPE_ENTITYCONVEYORBENCHMARKPAYLOAD="entityconveyorbenchmarkpayload",e.TYPE_READERCOMMENT="readercomment",e.TYPE_READERCOMMENTREPLY="readercommentreply",e.TYPE_ADCAMPAIGN="adcampaign",e.TYPE_PUBLICATIONADSLOTPRECOMPUTATION="publicationadslotprecomputation",e.TYPE_DFPORDER="dfporder",e.TYPE_DIRECTPROMOTION="directpromotion",e.TYPE_DFPLINEITEM="dfplineitem",e.TYPE_TARGETINGPRESET="targetingpreset",e.TYPE_PUBLICATIONFEATURE="publicationfeature",e.TYPE_TARGETINGCRITERIA="targetingcriteria",e.TYPE_SALESFORCEACCOUNT="salesforceaccount",e.TYPE_SALESFORCEUSER="salesforceuser",e.TYPE_SALESFORCECONFERENCE="salesforceconference",e.TYPE_SALESFORCECAMPAIGN="salesforcecampaign",e.TYPE_SALESFORCECONCTACT="salesforceconctact",e.TYPE_ORDERREPORT="orderreport",e.TYPE_DAILYPROMOTIONSTATS="dailypromotionstats",e.TYPE_DAILYINSTITUTIONPOSTSTATS="dailyinstitutionpoststats",e.TYPE_LEADCAMPAIGN="leadcampaign",e.TYPE_DFPCREATIVE="dfpcreative",e.TYPE_DFPCOMPANY="dfpcompany",e.TYPE_ADVERTISER="advertiser",e.TYPE_DFPUSER="dfpuser",e.TYPE_EMAILCAMPAIGN="emailcampaign",e.TYPE_ADCAMPAIGNBILL="adcampaignbill",e.TYPE_DFPCREATIVETEMPLATE="dfpcreativetemplate",e.TYPE_DFPNATIVESTYLE="dfpnativestyle",e.TYPE_SHAREDADCREATION="sharedadcreation",e.TYPE_DFPACTIVITYGROUP="dfpactivitygroup",e.TYPE_DFPACTIVITY="dfpactivity",e.TYPE_DFPCUSTOMFIELD="dfpcustomfield",e.TYPE_OCTOWORKFLOWSTATUSDOI="octoworkflowstatusdoi",e.TYPE_SEARCHRESULT="searchresult",e.TYPE_SEARCHRESULTITEM="searchresultitem",e.TYPE_JSCOMPONENT="jscomponent",e.TYPE_LAB="lab",e.TYPE_LABMEMBER="labmember",e.TYPE_LABALUMNI="labalumni",e.TYPE_RGTSHOLDER="rgtsholder",e.TYPE_TDBATCH="tdbatch",e.TYPE_TDPBASSET="tdpbasset",e.TYPE_DMCAINFRINGEMENT="dmcainfringement",e.TYPE_PUSHNOTIFICATION="pushnotification"}(r||(r={}));var o=new Map([[r.TYPE_PUBLICATION,["PB","Long"]],[r.TYPE_PUBLICATIONRELATION,["PR","Long"]],[r.TYPE_PUBLICATIONCITATIONS,["PC","Long"]],[r.TYPE_PUBLICATIONREVIEW,["PRV","Long"]],[r.TYPE_PBFEEDBACKREQUEST,["PFR","ObjectId"]],[r.TYPE_PBREQUEST,["PBRQ","Long"]],[r.TYPE_PUBLICATIONUPDATELOG,["PUL","Long"]],[r.TYPE_PUBLICATIONCITATIONCONTEXT,["PCC","Long"]],[r.TYPE_PUBLICATIONCITATION,["CIT","Long"]],[r.TYPE_GRANT,["GR","Long"]],[r.TYPE_USERRECOMMENDATION,["URC","ObjectId"]],[r.TYPE_LIKE,["LK","ObjectId"]],[r.TYPE_MSGLINK,["MLN","ObjectId"]],[r.TYPE_CONVERSATION,["CV","ObjectId"]],[r.TYPE_MESSAGE,["MSG","ObjectId"]],[r.TYPE_PUBLICATIONLINK,["PLI","ObjectId"]],[r.TYPE_KEYWORD,["K","CharSequence"]],[r.TYPE_AUTHOR,["AU","Long"]],[r.TYPE_PRECOMPUTEDAUTHORMATCH,["PAM","Long"]],[r.TYPE_AUTHORACCOUNTMAPPING,["AM","Long"]],[r.TYPE_AUTHORACCOUNTMAPPINGSUGGESTER,["AAMS","ObjectId"]],[r.TYPE_TERM,["TM","Long"]],[r.TYPE_REFERENCETERM,["RT","CharSequence"]],[r.TYPE_DICTIONARY,["DIC","Long"]],[r.TYPE_POST,["PT","ObjectId"]],[r.TYPE_PUBLICATIONASSET,["PA","CharSequence"]],[r.TYPE_ACCOUNT,["AC","Long"]],[r.TYPE_SETTING,["SET","Long"]],[r.TYPE_SKILL,["SK","CharSequence"]],[r.TYPE_ASSET,["AS","Long"]],[r.TYPE_DERIVATIVE,["DV","Long"]],[r.TYPE_SCIENCE,["SC","Long"]],[r.TYPE_ENTITYMAPPING,["EM","ObjectId"]],[r.TYPE_EXTERNALCONNECTION,["EXC","ObjectId"]],[r.TYPE_META,["ME","CharSequence"]],[r.TYPE_RECOMMENDER,["REC","CharSequence"]],[r.TYPE_INSTITUTION,["IN","Long"]],[r.TYPE_INSTITUTIONTYPE,["INT","CharSequence"]],[r.TYPE_DEPARTMENT,["DE","Long"]],[r.TYPE_DOMAIN,["DO","CharSequence"]],[r.TYPE_INVITATIONSUGGESTION,["INVS","CharSequence"]],[r.TYPE_CUSTOMER,["CU","Long"]],[r.TYPE_FEEDINDEXFOLLOW,["FIF","ObjectId"]],[r.TYPE_FEEDINDEXSUBSCRIPTION,["FIS","ObjectId"]],[r.TYPE_MAILQUEUE,["MQ","CharSequence"]],[r.TYPE_MAILBOUNCE,["MB","CharSequence"]],[r.TYPE_EXPERIMENT,["EX","ObjectId"]],[r.TYPE_TRAFFICEXPERIMENT,["TE","CharSequence"]],[r.TYPE_TRAFFICEXPERIMENTBLUEPRINT,["TB","ObjectId"]],[r.TYPE_BUSINESSROLE,["BR","CharSequence"]],[r.TYPE_BUSINESSROLEPERMISSIONMAPPING,["BRPM","ObjectId"]],[r.TYPE_BUSINESSPERMISSION,["BP","ObjectId"]],[r.TYPE_BUSINESSPERMISSIONCATEGORY,["BPC","CharSequence"]],[r.TYPE_BUSINESS,["BU","ObjectId"]],[r.TYPE_BUSINESSACCOUNT,["BAC","ObjectId"]],[r.TYPE_CUSTOMERADDRESS,["CUA","Long"]],[r.TYPE_REFINDACCOUNT,["RAC","Long"]],[r.TYPE_RESEARCHEXPERIENCE,["REX","Long"]],[r.TYPE_COUNTRY,["CT","Long"]],[r.TYPE_LOCATIONPRESET,["LP","ObjectId"]],[r.TYPE_RECOMMENDATION,["RC","ObjectId"]],[r.TYPE_INVITATIONCOLLECTION,["INC","CharSequence"]],[r.TYPE_INVITATIONPERMISSION,["INP","ObjectId"]],[r.TYPE_URLINVITATION,["UINV","CharSequence"]],[r.TYPE_INVITATION,["INV","CharSequence"]],[r.TYPE_RGDOC,["RGD","Long"]],[r.TYPE_RGDOCCHUNK,["RGDC","Long"]],[r.TYPE_FEEDBACK,["FE","Long"]],[r.TYPE_ACCOUNTFOLLOWSUBSCRIPTION,["AFS","ObjectId"]],[r.TYPE_ORDER,["ORD","CharSequence"]],[r.TYPE_PERSON,["P","Long"]],[r.TYPE_PERSONNAME,["PN","CharSequence"]],[r.TYPE_ACTIVITY,["AI","Long"]],[r.TYPE_ARTICLE,["AR","CharSequence"]],[r.TYPE_CITATION,["CI","Long"]],[r.TYPE_BADGE,["BA","CharSequence"]],[r.TYPE_BOOKMARK,["BM","CharSequence"]],[r.TYPE_COLLECTION,["CO","CharSequence"]],[r.TYPE_COMMENT,["C","CharSequence"]],[r.TYPE_EVENT,["E","CharSequence"]],[r.TYPE_FILE,["F","CharSequence"]],[r.TYPE_GROUP,["G","CharSequence"]],[r.TYPE_IMAGE,["I","CharSequence"]],[r.TYPE_NOTE,["N","CharSequence"]],[r.TYPE_PLACE,["PL","CharSequence"]],[r.TYPE_NOMINATION,["NM","CharSequence"]],[r.TYPE_RESEARCHUPDATE,["RU","ObjectId"]],[r.TYPE_RESEARCHUPDATECOMMENT,["RUC","ObjectId"]],[r.TYPE_QUESTION,["Q","CharSequence"]],[r.TYPE_REVIEW,["RE","CharSequence"]],[r.TYPE_SERVICE,["S","CharSequence"]],[r.TYPE_VIDEO,["V","CharSequence"]],[r.TYPE_BLOG,["B","CharSequence"]],[r.TYPE_CHANGES,["CH","CharSequence"]],[r.TYPE_CONFERENCE,["CN","Long"]],[r.TYPE_CONFERENCEEVENT,["CNE","Long"]],[r.TYPE_JOB,["J","CharSequence"]],[r.TYPE_JOBAPPLICATION,["JA","CharSequence"]],[r.TYPE_JOBTARGETINGPREFERENCES,["JTP","ObjectId"]],[r.TYPE_JOBPOSTWORKFLOW,["JPW","ObjectId"]],[r.TYPE_POLL,["POLL","CharSequence"]],[r.TYPE_TALK,["TA","CharSequence"]],[r.TYPE_TOPIC,["T","CharSequence"]],[r.TYPE_VITA,["VI","CharSequence"]],[r.TYPE_EDUCATION,["ED","CharSequence"]],[r.TYPE_RESEARCH,["RS","CharSequence"]],[r.TYPE_AWARD,["AW","CharSequence"]],[r.TYPE_THREAD,["TH","CharSequence"]],[r.TYPE_DEGREE,["DG","CharSequence"]],[r.TYPE_JOURNAL,["JO","ObjectId"]],[r.TYPE_SOCIETY,["SO","CharSequence"]],[r.TYPE_ATTRIBUTION,["AT","CharSequence"]],[r.TYPE_NEWS,["NW","CharSequence"]],[r.TYPE_BLOGPOST,["BLP","CharSequence"]],[r.TYPE_SUBSCRIPTION,["SUB","Long"]],[r.TYPE_ISSUE,["IS","ObjectId"]],[r.TYPE_HOSTEDCONTENT,["HC","CharSequence"]],[r.TYPE_INSIGHTPRESET,["IP","ObjectId"]],[r.TYPE_INSIGHTPRESETTYPE,["IPT","Long"]],[r.TYPE_INSIGHTSCONTAINER,["IC","CharSequence"]],[r.TYPE_CAREERLEVEL,["CL","Long"]],[r.TYPE_CORETAGGINGPRESET,["CTP","CharSequence"]],[r.TYPE_PROJECT,["PJ","ObjectId"]],[r.TYPE_PROJECTREQUESTSUGGESTION,["PRS","ObjectId"]],[r.TYPE_PJCOLLABORATOR,["PJC","ObjectId"]],[r.TYPE_PJREFERENCE,["PJR","ObjectId"]],[r.TYPE_PJUPDREQUEST,["PUR","ObjectId"]],[r.TYPE_PJUPDDEADLINE,["PUD","ObjectId"]],[r.TYPE_AFFILIATION,["AF","CharSequence"]],[r.TYPE_REQUEST,["RQ","CharSequence"]],[r.TYPE_RGSCORE,["RGS","CharSequence"]],[r.TYPE_RGSTATS,["RGST","CharSequence"]],[r.TYPE_STATSIMPROVEMENTS,["STIM","Long"]],[r.TYPE_ACCOUNTREACHCHANGE,["ARC","ObjectId"]],[r.TYPE_MEDIALINK,["ML","CharSequence"]],[r.TYPE_REFERENCE,["R","CharSequence"]],[r.TYPE_PUBATTRIBUTION,["PAT","CharSequence"]],[r.TYPE_JOBPOSITION,["JP","Long"]],[r.TYPE_SUCCESSSTORY,["STO","ObjectId"]],[r.TYPE_PRECOMPUTEDACCOUNTFOLLOWSUGGESTIONQUALITY,["AFSQ","ObjectId"]],[r.TYPE_PRECOMPUTEDACCOUNTFOLLOWSUGGESTIONRECENT,["AFSR","ObjectId"]],[r.TYPE_PRODUCT,["PRD","Long"]],[r.TYPE_PRODUCTMENTION,["PM","ObjectId"]],[r.TYPE_PRODUCTCOMMENT,["PRC","Long"]],[r.TYPE_PRODUCTCOMMENTREPLY,["PRCR","Long"]],[r.TYPE_ENTITYCONVEYORBENCHMARKPAYLOAD,["ECBP","ObjectId"]],[r.TYPE_READERCOMMENT,["RDC","Long"]],[r.TYPE_READERCOMMENTREPLY,["RDCR","Long"]],[r.TYPE_ADCAMPAIGN,["ADC","ObjectId"]],[r.TYPE_PUBLICATIONADSLOTPRECOMPUTATION,["PASP","Long"]],[r.TYPE_DFPORDER,["DFPO","Long"]],[r.TYPE_DIRECTPROMOTION,["DP","ObjectId"]],[r.TYPE_DFPLINEITEM,["DFPL","Long"]],[r.TYPE_TARGETINGPRESET,["TP","ObjectId"]],[r.TYPE_PUBLICATIONFEATURE,["PF","Long"]],[r.TYPE_TARGETINGCRITERIA,["TC","CharSequence"]],[r.TYPE_SALESFORCEACCOUNT,["SFA","CharSequence"]],[r.TYPE_SALESFORCEUSER,["SFU","CharSequence"]],[r.TYPE_SALESFORCECONFERENCE,["SFC","CharSequence"]],[r.TYPE_SALESFORCECAMPAIGN,["SFCM","CharSequence"]],[r.TYPE_SALESFORCECONCTACT,["SFCO","CharSequence"]],[r.TYPE_ORDERREPORT,["DFPOR","ObjectId"]],[r.TYPE_DAILYPROMOTIONSTATS,["DPS","ObjectId"]],[r.TYPE_DAILYINSTITUTIONPOSTSTATS,["DIPS","ObjectId"]],[r.TYPE_LEADCAMPAIGN,["LC","ObjectId"]],[r.TYPE_DFPCREATIVE,["DFPC","Long"]],[r.TYPE_DFPCOMPANY,["DFPCO","Long"]],[r.TYPE_ADVERTISER,["ADV","CharSequence"]],[r.TYPE_DFPUSER,["DFPU","Long"]],[r.TYPE_EMAILCAMPAIGN,["EMC","ObjectId"]],[r.TYPE_ADCAMPAIGNBILL,["ADCB","ObjectId"]],[r.TYPE_DFPCREATIVETEMPLATE,["DFPCT","Long"]],[r.TYPE_DFPNATIVESTYLE,["DFPNS","Long"]],[r.TYPE_SHAREDADCREATION,["SAC","ObjectId"]],[r.TYPE_DFPACTIVITYGROUP,["DFPAG","Long"]],[r.TYPE_DFPACTIVITY,["DFPAC","Long"]],[r.TYPE_DFPCUSTOMFIELD,["DFPCF","Long"]],[r.TYPE_OCTOWORKFLOWSTATUSDOI,["OWSD","ObjectId"]],[r.TYPE_SEARCHRESULT,["SR","CharSequence"]],[r.TYPE_SEARCHRESULTITEM,["SRI","Long"]],[r.TYPE_JSCOMPONENT,["JSCO","CharSequence"]],[r.TYPE_LAB,["LB","ObjectId"]],[r.TYPE_LABMEMBER,["LBM","ObjectId"]],[r.TYPE_LABALUMNI,["LBA","ObjectId"]],[r.TYPE_RGTSHOLDER,["RH","ObjectId"]],[r.TYPE_TDBATCH,["TDB","ObjectId"]],[r.TYPE_TDPBASSET,["TDPA","ObjectId"]],[r.TYPE_DMCAINFRINGEMENT,["INF","ObjectId"]],[r.TYPE_PUSHNOTIFICATION,["PUN","ObjectId"]]]),i=new Map([["PB",r.TYPE_PUBLICATION],["PR",r.TYPE_PUBLICATIONRELATION],["PC",r.TYPE_PUBLICATIONCITATIONS],["PRV",r.TYPE_PUBLICATIONREVIEW],["PFR",r.TYPE_PBFEEDBACKREQUEST],["PBRQ",r.TYPE_PBREQUEST],["PUL",r.TYPE_PUBLICATIONUPDATELOG],["PCC",r.TYPE_PUBLICATIONCITATIONCONTEXT],["CIT",r.TYPE_PUBLICATIONCITATION],["GR",r.TYPE_GRANT],["URC",r.TYPE_USERRECOMMENDATION],["LK",r.TYPE_LIKE],["MLN",r.TYPE_MSGLINK],["CV",r.TYPE_CONVERSATION],["MSG",r.TYPE_MESSAGE],["PLI",r.TYPE_PUBLICATIONLINK],["K",r.TYPE_KEYWORD],["AU",r.TYPE_AUTHOR],["PAM",r.TYPE_PRECOMPUTEDAUTHORMATCH],["AM",r.TYPE_AUTHORACCOUNTMAPPING],["AAMS",r.TYPE_AUTHORACCOUNTMAPPINGSUGGESTER],["TM",r.TYPE_TERM],["RT",r.TYPE_REFERENCETERM],["DIC",r.TYPE_DICTIONARY],["PT",r.TYPE_POST],["PA",r.TYPE_PUBLICATIONASSET],["AC",r.TYPE_ACCOUNT],["SET",r.TYPE_SETTING],["SK",r.TYPE_SKILL],["AS",r.TYPE_ASSET],["DV",r.TYPE_DERIVATIVE],["SC",r.TYPE_SCIENCE],["EM",r.TYPE_ENTITYMAPPING],["EXC",r.TYPE_EXTERNALCONNECTION],["ME",r.TYPE_META],["REC",r.TYPE_RECOMMENDER],["IN",r.TYPE_INSTITUTION],["INT",r.TYPE_INSTITUTIONTYPE],["DE",r.TYPE_DEPARTMENT],["DO",r.TYPE_DOMAIN],["INVS",r.TYPE_INVITATIONSUGGESTION],["CU",r.TYPE_CUSTOMER],["FIF",r.TYPE_FEEDINDEXFOLLOW],["FIS",r.TYPE_FEEDINDEXSUBSCRIPTION],["MQ",r.TYPE_MAILQUEUE],["MB",r.TYPE_MAILBOUNCE],["EX",r.TYPE_EXPERIMENT],["TE",r.TYPE_TRAFFICEXPERIMENT],["TB",r.TYPE_TRAFFICEXPERIMENTBLUEPRINT],["BR",r.TYPE_BUSINESSROLE],["BRPM",r.TYPE_BUSINESSROLEPERMISSIONMAPPING],["BP",r.TYPE_BUSINESSPERMISSION],["BPC",r.TYPE_BUSINESSPERMISSIONCATEGORY],["BU",r.TYPE_BUSINESS],["BAC",r.TYPE_BUSINESSACCOUNT],["CUA",r.TYPE_CUSTOMERADDRESS],["RAC",r.TYPE_REFINDACCOUNT],["REX",r.TYPE_RESEARCHEXPERIENCE],["CT",r.TYPE_COUNTRY],["LP",r.TYPE_LOCATIONPRESET],["RC",r.TYPE_RECOMMENDATION],["INC",r.TYPE_INVITATIONCOLLECTION],["INP",r.TYPE_INVITATIONPERMISSION],["UINV",r.TYPE_URLINVITATION],["INV",r.TYPE_INVITATION],["RGD",r.TYPE_RGDOC],["RGDC",r.TYPE_RGDOCCHUNK],["FE",r.TYPE_FEEDBACK],["AFS",r.TYPE_ACCOUNTFOLLOWSUBSCRIPTION],["ORD",r.TYPE_ORDER],["P",r.TYPE_PERSON],["PN",r.TYPE_PERSONNAME],["AI",r.TYPE_ACTIVITY],["AR",r.TYPE_ARTICLE],["CI",r.TYPE_CITATION],["BA",r.TYPE_BADGE],["BM",r.TYPE_BOOKMARK],["CO",r.TYPE_COLLECTION],["C",r.TYPE_COMMENT],["E",r.TYPE_EVENT],["F",r.TYPE_FILE],["G",r.TYPE_GROUP],["I",r.TYPE_IMAGE],["N",r.TYPE_NOTE],["PL",r.TYPE_PLACE],["NM",r.TYPE_NOMINATION],["RU",r.TYPE_RESEARCHUPDATE],["RUC",r.TYPE_RESEARCHUPDATECOMMENT],["Q",r.TYPE_QUESTION],["RE",r.TYPE_REVIEW],["S",r.TYPE_SERVICE],["V",r.TYPE_VIDEO],["B",r.TYPE_BLOG],["CH",r.TYPE_CHANGES],["CN",r.TYPE_CONFERENCE],["CNE",r.TYPE_CONFERENCEEVENT],["J",r.TYPE_JOB],["JA",r.TYPE_JOBAPPLICATION],["JTP",r.TYPE_JOBTARGETINGPREFERENCES],["JPW",r.TYPE_JOBPOSTWORKFLOW],["POLL",r.TYPE_POLL],["TA",r.TYPE_TALK],["T",r.TYPE_TOPIC],["VI",r.TYPE_VITA],["ED",r.TYPE_EDUCATION],["RS",r.TYPE_RESEARCH],["AW",r.TYPE_AWARD],["TH",r.TYPE_THREAD],["DG",r.TYPE_DEGREE],["JO",r.TYPE_JOURNAL],["SO",r.TYPE_SOCIETY],["AT",r.TYPE_ATTRIBUTION],["NW",r.TYPE_NEWS],["BLP",r.TYPE_BLOGPOST],["SUB",r.TYPE_SUBSCRIPTION],["IS",r.TYPE_ISSUE],["HC",r.TYPE_HOSTEDCONTENT],["IP",r.TYPE_INSIGHTPRESET],["IPT",r.TYPE_INSIGHTPRESETTYPE],["IC",r.TYPE_INSIGHTSCONTAINER],["CL",r.TYPE_CAREERLEVEL],["CTP",r.TYPE_CORETAGGINGPRESET],["PJ",r.TYPE_PROJECT],["PRS",r.TYPE_PROJECTREQUESTSUGGESTION],["PJC",r.TYPE_PJCOLLABORATOR],["PJR",r.TYPE_PJREFERENCE],["PUR",r.TYPE_PJUPDREQUEST],["PUD",r.TYPE_PJUPDDEADLINE],["AF",r.TYPE_AFFILIATION],["RQ",r.TYPE_REQUEST],["RGS",r.TYPE_RGSCORE],["RGST",r.TYPE_RGSTATS],["STIM",r.TYPE_STATSIMPROVEMENTS],["ARC",r.TYPE_ACCOUNTREACHCHANGE],["ML",r.TYPE_MEDIALINK],["R",r.TYPE_REFERENCE],["PAT",r.TYPE_PUBATTRIBUTION],["JP",r.TYPE_JOBPOSITION],["STO",r.TYPE_SUCCESSSTORY],["AFSQ",r.TYPE_PRECOMPUTEDACCOUNTFOLLOWSUGGESTIONQUALITY],["AFSR",r.TYPE_PRECOMPUTEDACCOUNTFOLLOWSUGGESTIONRECENT],["PRD",r.TYPE_PRODUCT],["PM",r.TYPE_PRODUCTMENTION],["PRC",r.TYPE_PRODUCTCOMMENT],["PRCR",r.TYPE_PRODUCTCOMMENTREPLY],["ECBP",r.TYPE_ENTITYCONVEYORBENCHMARKPAYLOAD],["RDC",r.TYPE_READERCOMMENT],["RDCR",r.TYPE_READERCOMMENTREPLY],["ADC",r.TYPE_ADCAMPAIGN],["PASP",r.TYPE_PUBLICATIONADSLOTPRECOMPUTATION],["DFPO",r.TYPE_DFPORDER],["DP",r.TYPE_DIRECTPROMOTION],["DFPL",r.TYPE_DFPLINEITEM],["TP",r.TYPE_TARGETINGPRESET],["PF",r.TYPE_PUBLICATIONFEATURE],["TC",r.TYPE_TARGETINGCRITERIA],["SFA",r.TYPE_SALESFORCEACCOUNT],["SFU",r.TYPE_SALESFORCEUSER],["SFC",r.TYPE_SALESFORCECONFERENCE],["SFCM",r.TYPE_SALESFORCECAMPAIGN],["SFCO",r.TYPE_SALESFORCECONCTACT],["DFPOR",r.TYPE_ORDERREPORT],["DPS",r.TYPE_DAILYPROMOTIONSTATS],["DIPS",r.TYPE_DAILYINSTITUTIONPOSTSTATS],["LC",r.TYPE_LEADCAMPAIGN],["DFPC",r.TYPE_DFPCREATIVE],["DFPCO",r.TYPE_DFPCOMPANY],["ADV",r.TYPE_ADVERTISER],["DFPU",r.TYPE_DFPUSER],["EMC",r.TYPE_EMAILCAMPAIGN],["ADCB",r.TYPE_ADCAMPAIGNBILL],["DFPCT",r.TYPE_DFPCREATIVETEMPLATE],["DFPNS",r.TYPE_DFPNATIVESTYLE],["SAC",r.TYPE_SHAREDADCREATION],["DFPAG",r.TYPE_DFPACTIVITYGROUP],["DFPAC",r.TYPE_DFPACTIVITY],["DFPCF",r.TYPE_DFPCUSTOMFIELD],["OWSD",r.TYPE_OCTOWORKFLOWSTATUSDOI],["SR",r.TYPE_SEARCHRESULT],["SRI",r.TYPE_SEARCHRESULTITEM],["JSCO",r.TYPE_JSCOMPONENT],["LB",r.TYPE_LAB],["LBM",r.TYPE_LABMEMBER],["LBA",r.TYPE_LABALUMNI],["RH",r.TYPE_RGTSHOLDER],["TDB",r.TYPE_TDBATCH],["TDPA",r.TYPE_TDPBASSET],["INF",r.TYPE_DMCAINFRINGEMENT],["PUN",r.TYPE_PUSHNOTIFICATION]]),a=n(3),s=n(788),u=function(e){function t(){return e.apply(this,arguments)||this}return Object(a.a)(t,e),t}(Object(s.a)(Error));function c(e){var t=o.get(e);if(t)return t[0];throw new u("Invalid RgType ["+e+"], no prefix defined")}function l(e){var t=o.get(e);if(t)return t[1];throw new u("Invalid RgType ["+e+"], no classType defined")}function f(e){var t=i.get(e);if(t)return t;throw new u("Invalid prefix ["+e+"], no resembling type")}var p=[":","@",":","_"],d=["^","$","\\",".","*","+","?","(",")","[","]","{","}","|"];function h(e){return-1!==d.indexOf(e)?"\\"+e:e}var m=function(){function e(e,t,n,r){if(null==e||""===String(e).trim())throw new TypeError("RgKey id must not be empty");c(t),this.id=e,this.type=t,this.parent=n||null,this.version=r||null}var t=e.prototype;return t.getFullKey=function(){var t,n=c(this.type)+":"+(t=String(this.id),t=String(t),p.forEach(function(e){var n=h(e);t=t.replace(new RegExp(n,"g"),function(e,t,n){return"\\"===n[t-1]?e:"\\"+e})}),t);return null!=this.version&&(n+="@"+this.version),this.parent instanceof e&&(n=this.parent.getFullKey()+":"+n),n},t.toString=function(){return this.getFullKey()},t.toJSON=function(){return this.getFullKey()},e.isValidId=function(e,t){switch(l(e)){case"Long":return"number"==typeof t&&Math.floor(t)===t&&0!==t;case"ObjectId":return"string"==typeof t&&/^[\dA-F]{24}$/i.test(t);case"CharSequence":return"string"==typeof t&&t.length>0}return!1},e.parse=function(t){if(null==t)return null;if(t instanceof e)return t;var n=v(t,":");if(0===n.length||n.length%2!=0)return null;try{return function e(t){if(0===t.length)return null;var n=t.pop();var r=t.pop();var o=v(n,"@");if(o.length>2)throw new u("Invalid number of parts in id: "+n);var i;2===o.length&&(i=Number(o[1]));var a=f(r);var s=function(e,t){switch(l(t)){case"Long":return parseInt(e,10);case"ObjectId":case"CharSequence":return function(e){return e=String(e),p.forEach(function(t){var n="\\\\"+h(t);e=e.replace(new RegExp(n,"g"),function(e,n,r){return"\\"===r[n-1]?e:t})}),e}(e)}throw new TypeError("Unknown classType "+e)}(o[0],a);return new m(s,a,e(t),i)}(n)}catch(e){if(e instanceof u)return null;throw e}},e}();function v(e,t){for(var n=[],r="",o=0;o0&&n.push(r),n}n.d(t,"b",function(){return y}),n.d(t,"a",function(){return m});var y=Object.assign({getType:f,getPrefix:c,getClassType:l},r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n.n(r),i=n(62),a=n.n(i),s=n(2220),u=n.n(s),c=n(58),l=n.n(c),f=n(2),p=n(1242),d=n(916),h=n(408),m=function(e,t){return function(n,r){Object(p.a)(r,"queue").size||function e(t,n){return setTimeout(function(){var r=Object(p.a)(n,"queue").first();if(t({type:d.j}),h.d(t,r.get("componentGenerator"),r.get("uid")),Object(p.a)(n,"queue").size)return e(t,n)},500)}(n,r),n({type:d.h,componentGenerator:e,uid:t})}};n.d(t,"pushAlert",function(){return v}),n.d(t,"yuiConversionMap",function(){return y}),n.d(t,"pushYUINotification",function(){return g}),n.d(t,"pullAlert",function(){return b}),n.d(t,"popAlert",function(){return E}),n.d(t,"flushAlerts",function(){return O});var v=function(e,t,n){return void 0===t&&(t=a()()),void 0===n&&(n=setTimeout),l()("function"==typeof e,"Component generator must be a function, pushAlert takes a function as its first argument.\ne.g. pushAlert(() => )"),function(r,o){var i=Object(p.a)(o),a=!!i.get("stack").size&&u()(Date.now(),500)<=i.get("stack").last().get("addedAt");i.get("queue").size||a?r(m(e,t)):h.d(r,e,t,h.a,n)}},y={success:"green",promo:"yellow",attention:"blue",warning:"red"},g=function(e,t,n){return void 0===n&&(n=a()()),function(r){return r(v(function(){return o.a.createElement(f.Alert,{key:a()(),title:e,color:y[t]})},n))}},b=function(e){return h.c(e,!0)},E=function(){return{type:d.d}},O=function(){return{type:d.a}}},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}),s=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,l=[],f=n(2335);function p(e,t){for(var n=0;n=0&&l.splice(t,1)}function v(e){var t=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),y(t,e.attrs),h(e,t),t}function y(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function g(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=v(t)),r=O.bind(null,n,a,!1),o=O.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",y(t,e.attrs),h(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"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,t),o=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(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(){m(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=d(e,t);return p(n,t),function(e){for(var r=[],o=0;o0&&(t[u]=e),t}},,function(e,t,n){"use strict";t.a=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n.n(r),i=n(1623),a=n(11),s=n(3),u=n(5),c=(n(1),n(21)),l=n(2),f=n(27),p=n(31);var d=function(e){function t(){for(var t,n,r=arguments.length,o=new Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:"store",n=arguments[1]||t+"Subscription",o=function(e){function o(n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);var i=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,e.call(this,n,r));return i[t]=n.store,i}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)}(o,e),o.prototype.getChildContext=function(){var e;return(e={})[t]=this[t],e[n]=null,e},o.prototype.render=function(){return r.Children.only(this.props.children)},o}(r.Component);return o.propTypes={store:s.isRequired,children:i.a.element.isRequired},o.childContextTypes=((e={})[t]=s.isRequired,e[n]=a,e),o}var c=u(),l=n(406),f=n.n(l),p=n(58),d=n.n(p);var h=null,m={notify:function(){}};var v=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.store=t,this.parentSub=n,this.onStateChange=r,this.unsubscribe=null,this.listeners=m}return e.prototype.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},e.prototype.notifyNestedSubs=function(){this.listeners.notify()},e.prototype.isSubscribed=function(){return Boolean(this.unsubscribe)},e.prototype.trySubscribe=function(){var e,t;this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=(e=[],t=[],{clear:function(){t=h,e=h},notify:function(){for(var n=e=t,r=0;r1&&void 0!==arguments[1]?arguments[1]:{},i=o.getDisplayName,u=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,c=o.methodName,l=void 0===c?"connectAdvanced":c,p=o.renderCountProp,h=void 0===p?void 0:p,m=o.shouldHandleStateChanges,O=void 0===m||m,w=o.storeKey,_=void 0===w?"store":w,T=o.withRef,S=void 0!==T&&T,I=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),P=_+"Subscription",C=g++,x=((t={})[_]=s,t[P]=a,t),j=((n={})[P]=a,n);return function(t){d()("function"==typeof t,"You must pass a component to the function returned by "+l+". Instead received "+JSON.stringify(t));var n=t.displayName||t.name||"Component",o=u(n),i=y({},I,{getDisplayName:u,methodName:l,renderCountProp:h,shouldHandleStateChanges:O,storeKey:_,withRef:S,displayName:o,wrappedComponentName:n,WrappedComponent:t}),a=function(n){function a(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var r=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,n.call(this,e,t));return r.version=C,r.state={},r.renderCount=0,r.store=e[_]||t[_],r.propsMode=Boolean(e[_]),r.setWrappedInstance=r.setWrappedInstance.bind(r),d()(r.store,'Could not find "'+_+'" in either the context or props of "'+o+'". Either wrap the root component in a , or explicitly pass "'+_+'" as a prop to "'+o+'".'),r.initSelector(),r.initSubscription(),r}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)}(a,n),a.prototype.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return(e={})[P]=t||this.context[P],e},a.prototype.componentDidMount=function(){O&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},a.prototype.componentWillReceiveProps=function(e){this.selector.run(e)},a.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},a.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=E,this.store=null,this.selector.run=E,this.selector.shouldComponentUpdate=!1},a.prototype.getWrappedInstance=function(){return d()(S,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+l+"() call."),this.wrappedInstance},a.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},a.prototype.initSelector=function(){var t=e(this.store.dispatch,i);this.selector=function(e,t){var n={run:function(r){try{var o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}(t,this.store),this.selector.run(this.props)},a.prototype.initSubscription=function(){if(O){var e=(this.propsMode?this.props:this.context)[P];this.subscription=new v(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},a.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(b)):this.notifyNestedSubs()},a.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},a.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},a.prototype.addExtraProps=function(e){if(!(S||h||this.propsMode&&this.subscription))return e;var t=y({},e);return S&&(t.ref=this.setWrappedInstance),h&&(t[h]=this.renderCount++),this.propsMode&&this.subscription&&(t[P]=this.subscription),t},a.prototype.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return Object(r.createElement)(t,this.addExtraProps(e.props))},a}(r.Component);return a.WrappedComponent=t,a.displayName=o,a.childContextTypes=j,a.contextTypes=x,a.propTypes=x,f()(a,t)}}var w=Object.prototype.hasOwnProperty;function _(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function T(e,t){if(_(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,i),s=r(e,i),u=o(e,i);return(i.pure?D:R)(a,s,u,e,i)}var M=Object.assign||function(e){for(var t=1;t=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function U(e,t){return e===t}var B=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.connectHOC,n=void 0===t?O:t,r=e.mapStateToPropsFactories,o=void 0===r?j:r,i=e.mapDispatchToPropsFactories,a=void 0===i?x:i,s=e.mergePropsFactories,u=void 0===s?N:s,c=e.selectorFactory,l=void 0===c?L:c;return function(e,t,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=i.pure,c=void 0===s||s,f=i.areStatesEqual,p=void 0===f?U:f,d=i.areOwnPropsEqual,h=void 0===d?T:d,m=i.areStatePropsEqual,v=void 0===m?T:m,y=i.areMergedPropsEqual,g=void 0===y?T:y,b=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(i,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),E=F(e,o,"mapStateToProps"),O=F(t,a,"mapDispatchToProps"),w=F(r,u,"mergeProps");return n(l,M({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:E,initMapDispatchToProps:O,initMergeProps:w,pure:c,areStatesEqual:p,areOwnPropsEqual:h,areStatePropsEqual:v,areMergedPropsEqual:g},b))}}();n.d(t,"Provider",function(){return c}),n.d(t,"createProvider",function(){return u}),n.d(t,"connectAdvanced",function(){return O}),n.d(t,"connect",function(){return B})},function(e,t,n){var r;r=function(){var e=[],t=[],n={},r={},o={};function i(e){return"string"==typeof e?new RegExp("^"+e+"$","i"):e}function a(e,t){return e===t?t:e===e.toUpperCase()?t.toUpperCase():e[0]===e[0].toUpperCase()?t.charAt(0).toUpperCase()+t.substr(1).toLowerCase():t.toLowerCase()}function s(e,t){return e.replace(t[0],function(n,r){var o,i,s=(o=t[1],i=arguments,o.replace(/\$(\d{1,2})/g,function(e,t){return i[t]||""}));return a(""===n?e[r-1]:n,s)})}function u(e,t,r){if(!e.length||n.hasOwnProperty(e))return t;for(var o=r.length;o--;){var i=r[o];if(i[0].test(t))return s(t,i)}return t}function c(e,t,n){return function(r){var o=r.toLowerCase();return t.hasOwnProperty(o)?a(r,o):e.hasOwnProperty(o)?a(r,e[o]):u(o,r,n)}}function l(e,t,n,r){return function(r){var o=r.toLowerCase();return!!t.hasOwnProperty(o)||!e.hasOwnProperty(o)&&u(o,o,n)===o}}function f(e,t,n){var r=1===t?f.singular(e):f.plural(e);return(n?t+" ":"")+r}return f.plural=c(o,r,e),f.isPlural=l(o,r,e),f.singular=c(r,o,t),f.isSingular=l(r,o,t),f.addPluralRule=function(t,n){e.push([i(t),n])},f.addSingularRule=function(e,n){t.push([i(e),n])},f.addUncountableRule=function(e){"string"!=typeof e?(f.addPluralRule(e,"$0"),f.addSingularRule(e,"$0")):n[e.toLowerCase()]=!0},f.addIrregularRule=function(e,t){t=t.toLowerCase(),e=e.toLowerCase(),o[e]=t,r[t]=e},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["whiskey","whiskies"]].forEach(function(e){return f.addIrregularRule(e[0],e[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|tlas|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[emjzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|octop|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/(m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(e){return f.addPluralRule(e[0],e[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/(m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|tlas|gas|(?:her|at|gr)o|ris)(?:es)?$/i,"$1"],[/(analy|ba|diagno|parenthe|progno|synop|the|empha|cri)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|octop|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(e){return f.addSingularRule(e[0],e[1])}),["adulthood","advice","agenda","aid","alcohol","ammo","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","flounder","fun","gallows","garbage","graffiti","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","manga","news","pike","plankton","pliers","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","species","staff","swine","tennis","traffic","transporation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(f.addUncountableRule),f},e.exports=r()},function(e,t,n){"use strict";t.b=function(e){if(i.protocol.test(e))return void a(e);var t=document.querySelector("base"),n=t&&t.href;n&&("/"===n.charAt(n.length-1)&&"/"===e.charAt(0)&&(e=e.substr(1)),e=n+e);a(e)},n.d(t,"d",function(){return s}),n.d(t,"e",function(){return u}),t.a=function(e,t){if(!t||0===Object.keys(t).length)return e;var n="string"==typeof t?t.replace(i.leadingQS,""):o.a.stringify(t,{arrayFormat:"indices"});if(""===n)return e;var r,a=i.protocol.test(e);r=a?new URL(e):new URL(e,c);r.search=(r.search+"&"+n).replace(i.leadingAmpersand,"?");var s=r.toString();if(a)return s;if(s=s.replace(c,""),!i.leadingSlash.test(e))return s.replace(i.leadingSlash,"");return s},t.c=function(){if(null===l){if(!(l=document.baseURI)){var e=document.getElementsByTagName("base");l=e.length>0?e[0].href:""}l=l.replace(i.trailingSlashes,"")}return l};var r=n(653),o=n.n(r),i={protocol:/^https?:\/\//,leadingSlash:/^\//,leadingQS:/^[&?]/,trailingSlashes:/[/]+$/,leadingAmpersand:/^&/};function a(e){document.location.href=e}var s=function(e,t){return void 0===t&&(t=document.location.search),o.a.parse(t,{ignoreQueryPrefix:!0})[e]},u=function(e,t){return void 0===t&&(t=document.location.search),o.a.parse(t,{ignoreQueryPrefix:!0})},c="http://example.com";var l=null},function(e,t,n){var r; /*! Copyright (c) 2016 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ /*! Copyright (c) 2016 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ !function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t3?r-3:0),i=3;i3&&void 0!==arguments[3]?arguments[3]:{};return n instanceof Object&&(r=n,n=!1),{type:T,meta:B({form:e,keepDirty:n},r),payload:t}},registerField:function(e,t,n){return{type:S,meta:{form:e},payload:{name:t,type:n}}},reset:function(e){return{type:I,meta:{form:e}}},resetSection:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r2&&void 0!==arguments[2])||arguments[2];return{type:L,meta:{form:e},payload:{name:t,destroyOnUnmount:n}}},untouch:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];return{type:F,meta:{form:e},payload:{syncErrors:t,error:n}}},updateSyncWarnings:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];return{type:U,meta:{form:e},payload:{syncWarnings:t,warning:n}}}},V=function(e){var t=e.initialized,n=e.trigger,r=e.pristine;if(!e.syncValidationPasses)return!1;switch(n){case"blur":case"change":return!0;case"submit":return!r||!t;default:return!1}},Y=function(e){var t=e.values,n=e.nextProps,r=e.initialRender,o=e.lastFieldValidatorKeys,i=e.fieldValidatorKeys,a=e.structure;return!!r||!a.deepEqual(t,n&&n.values)||!a.deepEqual(o,i)},q=function(e){var t=e.values,n=e.nextProps,r=e.initialRender,o=e.lastFieldValidatorKeys,i=e.fieldValidatorKeys,a=e.structure;return!!r||!a.deepEqual(t,n&&n.values)||!a.deepEqual(o,i)},G=function(e){var t=e.values,n=e.nextProps,r=e.initialRender,o=e.lastFieldValidatorKeys,i=e.fieldValidatorKeys,a=e.structure;return!!r||!a.deepEqual(t,n&&n.values)||!a.deepEqual(o,i)},K=n(0),W=n.n(K),H=n(1),Q=n.n(H),J=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","name","component"]);return W.a.isValidElement(t)?t:Object(K.createElement)(n,ee({},r,{children:t}))}}]),t}();ne.propTypes={name:Q.a.string.isRequired,component:Q.a.oneOfType([Q.a.func,Q.a.string])},ne.defaultProps={component:"div"},ne.childContextTypes={_reduxForm:Q.a.object.isRequired},ne.contextTypes={_reduxForm:Q.a.object};var re=ne;function oe(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function ie(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e,t}var ae=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=oe(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return Object.defineProperty(n,"message",{configurable:!0,enumerable:!1,value:e,writable:!0}),Object.defineProperty(n,"name",{configurable:!0,enumerable:!1,value:n.constructor.name,writable:!0}),Error.hasOwnProperty("captureStackTrace")?(Error.captureStackTrace(n,n.constructor),oe(n)):(Object.defineProperty(n,"stack",{configurable:!0,enumerable:!1,value:new Error(e).stack,writable:!0}),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,ie(Error)),t}();var se=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,"Submit Validation Failed"));return n.errors=e,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,ae),t}(),ue=Q.a.any,ce=Q.a.bool,le=Q.a.func,fe=Q.a.shape,pe=Q.a.string,de=Q.a.oneOfType,he=Q.a.object,me=Q.a.number,ve={anyTouched:ce.isRequired,asyncValidating:de([ce,pe]).isRequired,dirty:ce.isRequired,error:ue,form:pe.isRequired,invalid:ce.isRequired,initialized:ce.isRequired,initialValues:he,pristine:ce.isRequired,pure:ce.isRequired,submitting:ce.isRequired,submitFailed:ce.isRequired,submitSucceeded:ce.isRequired,valid:ce.isRequired,warning:ue,array:fe({insert:le.isRequired,move:le.isRequired,pop:le.isRequired,push:le.isRequired,remove:le.isRequired,removeAll:le.isRequired,shift:le.isRequired,splice:le.isRequired,swap:le.isRequired,unshift:le.isRequired}),asyncValidate:le.isRequired,autofill:le.isRequired,blur:le.isRequired,change:le.isRequired,clearAsyncError:le.isRequired,clearFields:le.isRequired,clearSubmitErrors:le.isRequired,destroy:le.isRequired,dispatch:le.isRequired,handleSubmit:le.isRequired,initialize:le.isRequired,reset:le.isRequired,resetSection:le.isRequired,touch:le.isRequired,submit:le.isRequired,untouch:le.isRequired,triggerSubmit:ce,clearSubmit:le.isRequired},ye={checked:ce,name:pe.isRequired,onBlur:le.isRequired,onChange:le.isRequired,onDragStart:le.isRequired,onDrop:le.isRequired,onFocus:le.isRequired,value:ue},ge={active:ce.isRequired,asyncValidating:ce.isRequired,autofilled:ce.isRequired,dirty:ce.isRequired,dispatch:le.isRequired,error:ue,form:pe.isRequired,invalid:ce.isRequired,pristine:ce.isRequired,submitting:ce.isRequired,submitFailed:ce.isRequired,touched:ce.isRequired,valid:ce.isRequired,visited:ce.isRequired,warning:pe},be={dirty:ce.isRequired,error:ue,form:pe.isRequired,invalid:ce.isRequired,pristine:ce.isRequired,submitFailed:ce,submitting:ce,valid:ce.isRequired,warning:pe},Ee={name:pe.isRequired,forEach:le.isRequired,get:le.isRequired,getAll:le.isRequired,insert:le.isRequired,length:me.isRequired,map:le.isRequired,move:le.isRequired,pop:le.isRequired,push:le.isRequired,reduce:le.isRequired,remove:le.isRequired,removeAll:le.isRequired,shift:le.isRequired,swap:le.isRequired,unshift:le.isRequired},Oe={input:fe(ye).isRequired,meta:fe(ge).isRequired},we={fields:fe(Ee).isRequired,meta:fe(be).isRequired},_e=ve,Te=n(58),Se=n.n(Te),Ie=n(21),Pe=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["asyncError","asyncValidating","onBlur","onChange","onDrop","onDragStart","dirty","dispatch","onFocus","form","format","initial","parse","pristine","props","state","submitError","submitFailed","submitting","syncError","syncWarning","validate","value","_value","warn"])),x=T||a||O,j=S,A=function(e,n){if(null===n)return e;var r=null==e?"":e;return n?n(e,t):r}(I,v);return{input:function(e,t,n,r){var o=t.value;return"checkbox"===e?Pe({},t,{checked:!!o}):"radio"===e?Pe({},t,{checked:r(o,n),value:n}):"select-multiple"===e?Pe({},t,{value:o||[]}):"file"===e?Pe({},t,{value:o||void 0}):t}(C.type,{name:t,onBlur:u,onChange:c,onDragStart:f,onDrop:l,onFocus:h,value:A},P,i),meta:Pe({},o(E),{active:!(!E||!r(E,"active")),asyncValidating:s,autofilled:!(!E||!r(E,"autofilled")),dirty:p,dispatch:d,error:x,form:m,initial:y,warning:j,invalid:!!x,pristine:g,submitting:!!_,submitFailed:!!w,touched:!(!E||!r(E,"touched")),valid:!x,visited:!(!E||!r(E,"visited"))}),custom:Pe({},C,b)}},xe=function(e){return!!(e&&e.stopPropagation&&e.preventDefault)},je=function(e,t){if(xe(e)){if(!t&&e.nativeEvent&&void 0!==e.nativeEvent.text)return e.nativeEvent.text;if(t&&void 0!==e.nativeEvent)return e.nativeEvent.text;var n=e,r=n.target,o=r.type,i=r.value,a=r.checked,s=r.files,u=n.dataTransfer;return"checkbox"===o?!!a:"file"===o?s||u&&u.files:"select-multiple"===o?function(e){var t=[];if(e)for(var n=0;n=r.length)return n;var i=r[o],a=e(t&&(Array.isArray(t)?t[Number(i)]:t[i]),n,r,o+1);if(!t){if(isNaN(i))return Be({},i,a);var s=[];return s[parseInt(i,10)]=a,s}if(Array.isArray(t)){var u=[].concat(t);return u[parseInt(i,10)]=a,u}return Ue({},t,Be({},i,a))}(e,n,Me()(t),0)},Ve=n(1614),Ye=n.n(Ve),qe=function(e,t){return e===t||(e||t?(!e||!t||e._error===t._error)&&((!e||!t||e._warning===t._warning)&&(!W.a.isValidElement(e)&&!W.a.isValidElement(t)&&void 0)):(null===e||void 0===e||""===e)===(null===t||void 0===t||""===t))},Ge=function(e,t){return Ye()(e,t,qe)},Ke=Object.assign||function(e){for(var t=1;t2?n-2:0),o=2;o=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function et(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}var tt=["_reduxForm"],nt=function(e){return e&&"object"===(void 0===e?"undefined":Xe(e))},rt=function(e){return e&&"function"==typeof e},ot=function(e){nt(e)&&rt(e.preventDefault)&&e.preventDefault()},it=function(e,t){if(nt(e)&&nt(e.dataTransfer)&&rt(e.dataTransfer.getData))return e.dataTransfer.getData(t)},at=function(e,t,n){nt(e)&&nt(e.dataTransfer)&&rt(e.dataTransfer.setData)&&e.dataTransfer.setData(t,n)},st=function(e){var t=e.deepEqual,n=e.getIn,r=function(n){function r(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var o=arguments.length,i=Array(o),a=0;a=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var vt=["_reduxForm"],yt=function(e){var t=e.deepEqual,n=e.getIn,r=e.size,o=function(n){function o(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);var 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,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return t.onChangeFns={},t.onFocusFns={},t.onBlurFns={},t.prepareEventHandlers=function(e){return e.names.forEach(function(e){t.onChangeFns[e]=function(n){return t.handleChange(e,n)},t.onFocusFns[e]=function(){return t.handleFocus(e)},t.onBlurFns[e]=function(n){return t.handleBlur(e,n)}})},t.handleChange=function(e,n){var r=t.props,o=r.dispatch,i=r.parse,a=r._reduxForm,s=ke(n,{name:e,parse:i});o(a.change(e,s)),a.asyncValidate&&a.asyncValidate(e,s,"change")},t.handleFocus=function(e){var n=t.props;(0,n.dispatch)(n._reduxForm.focus(e))},t.handleBlur=function(e,n){var r=t.props,o=r.dispatch,i=r.parse,a=r._reduxForm,s=ke(n,{name:e,parse:i});o(a.blur(e,s)),a.asyncValidate&&a.asyncValidate(e,s,"blur")},t.prepareEventHandlers(e),t}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)}(o,K.Component),ht(o,[{key:"componentWillReceiveProps",value:function(e){var t=this;this.props.names===e.names||r(this.props.names)===r(e.names)&&!e.names.some(function(e){return!t.props._fields[e]})||this.prepareEventHandlers(e)}},{key:"shouldComponentUpdate",value:function(e){var n=this,r=Object.keys(e),o=Object.keys(this.props);return!!(this.props.children||e.children||r.length!==o.length||r.some(function(r){return!~vt.indexOf(r)&&!t(n.props[r],e[r])}))}},{key:"isDirty",value:function(){var e=this.props._fields;return Object.keys(e).some(function(t){return e[t].dirty})}},{key:"getValues",value:function(){var e=this.props._fields;return Object.keys(e).reduce(function(t,n){return Qe.setIn(t,n,e[n].value)},{})}},{key:"getRenderedComponent",value:function(){return this.refs.renderedComponent}},{key:"render",value:function(){var t=this,n=this.props,r=n.component,o=n.withRef,i=n._fields,a=n._reduxForm,s=mt(n,["component","withRef","_fields","_reduxForm"]),u=a.sectionPrefix,c=a.form,l=Object.keys(i).reduce(function(n,r){var o=i[r],a=Ce(e,r,dt({},o,s,{form:c,onBlur:t.onBlurFns[r],onChange:t.onChangeFns[r],onFocus:t.onFocusFns[r]})),l=a.custom,f=mt(a,["custom"]);n.custom=l;var p=u?r.replace(u+".",""):r;return Qe.setIn(n,p,f)},{}),f=l.custom,p=mt(l,["custom"]);return o&&(p.ref="renderedComponent"),Object(K.createElement)(r,dt({},p,f))}}]),o}();return o.propTypes={component:Q.a.oneOfType([Q.a.func,Q.a.string]).isRequired,_fields:Q.a.object.isRequired,props:Q.a.object},Object(Ie.connect)(function(e,t){var r=t.names,o=t._reduxForm,i=o.initialValues,a=(0,o.getFormState)(e);return{_fields:r.reduce(function(e,r){var o=n(a,"initial."+r),s=void 0!==o?o:i&&n(i,r),u=n(a,"values."+r),c=function(e,t){return Qe.getIn(e,t+"._error")||Qe.getIn(e,t)}(n(a,"syncErrors"),r),l=function(e,t){var r=n(e,t);return r&&r._warning?r._warning:r}(n(a,"syncWarnings"),r),f=n(a,"submitting"),p=u===s;return e[r]={asyncError:n(a,"asyncErrors."+r),asyncValidating:n(a,"asyncValidating")===r,dirty:!p,initial:s,pristine:p,state:n(a,"fields."+r),submitError:n(a,"submitErrors."+r),submitFailed:n(a,"submitFailed"),submitting:f,syncError:c,syncWarning:l,value:u,_value:t.value},e},{})}},void 0,void 0,{withRef:!0})(o)},gt=Object.assign||function(e){for(var t=1;t. Must be either an array of strings or the fields array generated by FieldArray.'):new Error('No "names" prop was specified ')},Ot=function(e){var t=yt(e),n=function(e){function n(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var r=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,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t));if(!t._reduxForm)throw new Error("Fields must be inside a component decorated with reduxForm()");return r}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)}(n,K.Component),bt(n,[{key:"shouldComponentUpdate",value:function(e){return ct(this,e)}},{key:"componentWillMount",value:function(){var e=Et(this.props.names);if(e)throw e;var t=this.context._reduxForm.register;this.names.forEach(function(e){return t(e,"Field")})}},{key:"componentWillReceiveProps",value:function(e){if(!Qe.deepEqual(this.props.names,e.names)){var t=this.context,n=t._reduxForm,r=n.register,o=n.unregister;this.props.names.forEach(function(e){return o(Z(t,e))}),e.names.forEach(function(e){return r(Z(t,e),"Field")})}}},{key:"componentWillUnmount",value:function(){var e=this.context,t=e._reduxForm.unregister;this.props.names.forEach(function(n){return t(Z(e,n))})}},{key:"getRenderedComponent",value:function(){return Se()(this.props.withRef,"If you want to access getRenderedComponent(), you must specify a withRef prop to Fields"),this.refs.connected.getWrappedInstance().getRenderedComponent()}},{key:"render",value:function(){var e=this.context;return Object(K.createElement)(t,gt({},this.props,{names:this.props.names.map(function(t){return Z(e,t)}),_reduxForm:this.context._reduxForm,ref:"connected"}))}},{key:"names",get:function(){var e=this.context;return this.props.names.map(function(t){return Z(e,t)})}},{key:"dirty",get:function(){return this.refs.connected.getWrappedInstance().isDirty()}},{key:"pristine",get:function(){return!this.dirty}},{key:"values",get:function(){return this.refs.connected&&this.refs.connected.getWrappedInstance().getValues()}}]),n}();return n.propTypes={names:function(e,t){return Et(e[t])},component:Q.a.oneOfType([Q.a.func,Q.a.string]).isRequired,format:Q.a.func,parse:Q.a.func,props:Q.a.object,withRef:Q.a.bool},n.contextTypes={_reduxForm:Q.a.object},n}(Qe),wt=n(557),_t=n.n(wt),Tt=n(807),St=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(i,["arrayInsert","arrayMove","arrayPop","arrayPush","arrayRemove","arrayRemoveAll","arrayShift","arraySplice","arraySwap","arrayUnshift","asyncError","dirty","length","pristine","submitError","state","submitFailed","submitting","syncError","syncWarning","value","props"]),C=_||v||E,x=T,j=r?t.replace(r+".",""):t,A=St({fields:{_isFieldArray:!0,forEach:function(e){return(S||[]).forEach(function(t,n){return e(j+"["+n+"]",n,A.fields)})},get:o,getAll:function(){return S},insert:s,length:g,map:function(e){return(S||[]).map(function(t,n){return e(j+"["+n+"]",n,A.fields)})},move:u,name:t,pop:function(){return c(),a(S,String(g-1))},push:l,reduce:function(e,t){return(S||[]).reduce(function(t,n,r){return e(t,j+"["+r+"]",r,A.fields)},t)},remove:f,removeAll:p,shift:function(){return d(),a(S,"0")},swap:h,unshift:m},meta:{dirty:y,error:C,form:n,warning:x,invalid:!!C,pristine:b,submitting:w,submitFailed:O,valid:!C}},I,P);return A},Pt=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["component","withRef","name","_reduxForm","validate","warn","rerenderOnEveryChange"])),s=It(e,o,i.form,i.sectionPrefix,this.getValue,a);return r&&(s.ref=this.saveRef),Object(K.createElement)(n,s)}},{key:"dirty",get:function(){return this.props.dirty}},{key:"pristine",get:function(){return this.props.pristine}},{key:"value",get:function(){return this.props.value}}]),o}();return o.propTypes={component:Q.a.oneOfType([Q.a.func,Q.a.string]).isRequired,props:Q.a.object,rerenderOnEveryChange:Q.a.bool},o.defaultProps={rerenderOnEveryChange:!1},o.contextTypes={_reduxForm:Q.a.object},Object(Ie.connect)(function(e,o){var i=o.name,a=o._reduxForm,s=a.initialValues,u=(0,a.getFormState)(e),c=n(u,"initial."+i)||s&&n(s,i),l=n(u,"values."+i),f=n(u,"submitting"),p=function(e,t){return Qe.getIn(e,t+"._error")}(n(u,"syncErrors"),i),d=function(e,t){return n(e,t+"._warning")}(n(u,"syncWarnings"),i),h=t(l,c);return{asyncError:n(u,"asyncErrors."+i+"._error"),dirty:!h,pristine:h,state:n(u,"fields."+i),submitError:n(u,"submitErrors."+i+"._error"),submitFailed:n(u,"submitFailed"),submitting:f,syncError:p,syncWarning:d,value:l,length:r(l)}},function(e,t){var n=t.name,r=t._reduxForm,o=r.arrayInsert,i=r.arrayMove,a=r.arrayPop,s=r.arrayPush,u=r.arrayRemove,c=r.arrayRemoveAll,l=r.arrayShift,f=r.arraySplice,p=r.arraySwap,d=r.arrayUnshift;return _t()({arrayInsert:o,arrayMove:i,arrayPop:a,arrayPush:s,arrayRemove:u,arrayRemoveAll:c,arrayShift:l,arraySplice:f,arraySwap:p,arrayUnshift:d},function(t){return Object(Tt.b)(t.bind(null,n),e)})},void 0,{withRef:!0})(o)},At=Object.assign||function(e){for(var t=1;t1?o-1:0),a=1;a1?n-1:0),o=1;o name) or formValues((props) => ({propName1: propPath1, ...}))");Ft()(a,this._valuesMap)||(this._valuesMap=a,this.setComponent())}},{key:"setComponent",value:function(){var e=this;this.Component=Object(Ie.connect)(function(n,r){r.sectionPrefix;var o=(0,e.context._reduxForm.getValues)();return _t()(e._valuesMap,function(n){return t(o,Z(e.context,n))})},function(){return{}})(function(e){e.sectionPrefix;var t=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["sectionPrefix"]);return W.a.createElement(n,t)})}}]),i}();return o.contextTypes={_reduxForm:Q.a.object},o}}}(Qe),qt=function(e){var t=e.getIn;return function(e,n){return function(r){return t((n||function(e){return t(e,"form")})(r),e+".error")}}}(Qe);var Gt=function(e){var t=e.getIn,n=e.keys;return function(e){return function(r){return n((e||function(e){return t(e,"form")})(r))}}}(Qe),Kt=function(e){var t=e.getIn;return function(e,n){return function(r){return t((n||function(e){return t(e,"form")})(r),e+".values")}}}(Qe),Wt=function(e){var t=e.getIn;return function(e,n){return function(r){return t((n||function(e){return t(e,"form")})(r),e+".initial")}}}(Qe),Ht=function(e){var t=e.getIn,n=e.empty;return function(e,r){return function(o){return t((r||function(e){return t(e,"form")})(o),e+".syncErrors")||n}}}(Qe),Qt=function(e){var t=e.getIn,n=e.empty;return function(e,r){return function(o){return t((r||function(e){return t(e,"form")})(o),e+".fields")||n}}}(Qe),Jt=function(e){var t=e.getIn;return function(e,n){return function(r){return t((n||function(e){return t(e,"form")})(r),e+".asyncErrors")}}}(Qe),$t=function(e){var t=e.getIn,n=e.empty;return function(e,r){return function(o){return t((r||function(e){return t(e,"form")})(o),e+".syncWarnings")||n}}}(Qe),Xt=function(e){var t=e.getIn,n=e.empty;return function(e,r){return function(o){return t((r||function(e){return t(e,"form")})(o),e+".submitErrors")||n}}}(Qe),Zt=function(e){var t=e.deepEqual,n=e.empty,r=e.getIn;return function(e,o){return function(i){var a=(o||function(e){return r(e,"form")})(i),s=r(a,e+".initial")||n,u=r(a,e+".values")||s;return t(s,u)}}},en=function(e){return function(t,n){var r=Zt(e)(t,n);return function(e){return!r(e)}}}(Qe),tn=function(e){var t=e.getIn;return function(e,n,r,o){return!!(n||r||o)&&function(e,t){switch(t){case"Field":return[e,e+"._error"];case"FieldArray":return[e+"._error"];default:throw new Error("Unknown field type")}}(t(e,"name"),t(e,"type")).some(function(e){return t(n,e)||t(r,e)||t(o,e)})}},nn=function(e){var t=e.getIn,n=e.keys,r=tn(e);return function(e,o){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(a){var s=(o||function(e){return t(e,"form")})(a);if(t(s,e+".syncError"))return!1;if(!i&&t(s,e+".error"))return!1;var u=t(s,e+".syncErrors"),c=t(s,e+".asyncErrors"),l=i?void 0:t(s,e+".submitErrors");if(!u&&!c&&!l)return!0;var f=t(s,e+".registeredFields");return!f||!n(f).filter(function(e){return t(f,"['"+e+"'].count")>0}).some(function(e){return r(t(f,"['"+e+"']"),u,c,l)})}}},rn=function(e){return function(t,n){var r=nn(e)(t,n);return function(e){return!r(e)}}}(Qe),on=Zt(Qe),an=nn(Qe),sn=function(e){var t=e.getIn;return function(e,n){return function(r){return!!t((n||function(e){return t(e,"form")})(r),e+".submitting")}}}(Qe),un=function(e){var t=e.getIn;return function(e,n){return function(r){return!!t((n||function(e){return t(e,"form")})(r),e+".submitSucceeded")}}}(Qe),cn=function(e){var t=e.getIn;return function(e,n){return function(r){return!!t((n||function(e){return t(e,"form")})(r),e+".submitFailed")}}}(Qe),ln=n(300),fn=n.n(ln),pn=n(406),dn=n.n(pn),hn=n(1240),mn=n.n(hn),vn=function(e,t,n,r){t(r);var o=e();if(!mn()(o))throw new Error("asyncValidate function passed to reduxForm must return a promise");var i=function(e){return function(t){if(t&&Object.keys(t).length)return n(t),t;if(e)throw n(),new Error("Asynchronous validation promise was rejected without errors.");return n(),Promise.resolve()}};return o.then(i(!1),i(!0))},yn=function(e){var t=xe(e);return t&&e.preventDefault(),t},gn=function(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var Nn=z.arrayInsert,Rn=z.arrayMove,Dn=z.arrayPop,Ln=z.arrayPush,Mn=z.arrayRemove,Fn=z.arrayRemoveAll,Un=z.arrayShift,Bn=z.arraySplice,zn=z.arraySwap,Vn=z.arrayUnshift,Yn=z.blur,qn=z.change,Gn=z.focus,Kn=kn(z,["arrayInsert","arrayMove","arrayPop","arrayPush","arrayRemove","arrayRemoveAll","arrayShift","arraySplice","arraySwap","arrayUnshift","blur","change","focus"]),Wn={arrayInsert:Nn,arrayMove:Rn,arrayPop:Dn,arrayPush:Ln,arrayRemove:Mn,arrayRemoveAll:Fn,arrayShift:Un,arraySplice:Bn,arraySwap:zn,arrayUnshift:Vn},Hn=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0){var f=s.substring(0,l);if("]"!==f[f.length-1]){var p=r(c,f);if(t(p,n))return e(c,f)}}return c}};function Xn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zn(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var er=function(e){return e&&e.type&&e.type.length>o.length&&e.type.substring(0,o.length)===o};var tr=function(e){var t,n=e.deepEqual,r=e.empty,o=e.forEach,B=e.getIn,z=e.setIn,V=e.deleteIn,Y=e.fromJS,q=e.keys,G=e.size,K=e.some,W=e.splice,H=$n(e),Q=$n(Qe),J=function(e,t,n,r,o,i,a){var s=B(e,t+"."+n);return s||a?z(e,t+"."+n,W(s,r,o,i)):e},$=function(e,t,n,r,o,i,a){var s=B(e,t),u=Qe.getIn(s,n);return u||a?z(e,t,Qe.setIn(s,n,Qe.splice(u,r,o,i))):e},X=["values","fields","submitErrors","asyncErrors"],Z=function(e,t,n,o,i){var a=e,s=null!=i?r:void 0;return a=J(a,"values",t,n,o,i,!0),a=J(a,"fields",t,n,o,s),a=$(a,"syncErrors",t,n,o,void 0),a=$(a,"syncWarnings",t,n,o,void 0),a=J(a,"submitErrors",t,n,o,void 0),a=J(a,"asyncErrors",t,n,o,void 0)},ee=(Xn(t={},i,function(e,t){var n=t.meta,r=n.field,o=n.index,i=t.payload;return Z(e,r,o,0,i)}),Xn(t,a,function(e,t){var n=t.meta,r=n.field,o=n.from,i=n.to,a=B(e,"values."+r),s=e;return(a?G(a):0)&&X.forEach(function(e){var t=e+"."+r;if(B(s,t)){var n=B(s,t+"["+o+"]");s=z(s,t,W(B(s,t),o,1)),s=z(s,t,W(B(s,t),i,0,n))}}),s}),Xn(t,s,function(e,t){var n=t.meta.field,r=B(e,"values."+n),o=r?G(r):0;return o?Z(e,n,o-1,1):e}),Xn(t,u,function(e,t){var n=t.meta.field,r=t.payload,o=B(e,"values."+n),i=o?G(o):0;return Z(e,n,i,0,r)}),Xn(t,c,function(e,t){var n=t.meta,r=n.field,o=n.index;return Z(e,r,o,1)}),Xn(t,l,function(e,t){var n=t.meta.field,r=B(e,"values."+n),o=r?G(r):0;return o?Z(e,n,0,o):e}),Xn(t,f,function(e,t){var n=t.meta.field;return Z(e,n,0,1)}),Xn(t,p,function(e,t){var n=t.meta,r=n.field,o=n.index,i=n.removeNum,a=t.payload;return Z(e,r,o,i,a)}),Xn(t,h,function(e,t){var n=t.meta,r=n.field,o=n.indexA,i=n.indexB,a=e;return X.forEach(function(e){var t=B(a,e+"."+r+"["+o+"]"),n=B(a,e+"."+r+"["+i+"]");void 0===t&&void 0===n||(a=z(a,e+"."+r+"["+o+"]",n),a=z(a,e+"."+r+"["+i+"]",t))}),a}),Xn(t,d,function(e,t){var n=t.meta.field,r=t.payload;return Z(e,n,0,0,r)}),Xn(t,m,function(e,t){var n=t.meta.field,r=t.payload,o=e;return o=H(o,"asyncErrors."+n),o=H(o,"submitErrors."+n),o=z(o,"fields."+n+".autofilled",!0),o=z(o,"values."+n,r)}),Xn(t,v,function(e,t){var n=t.meta,r=n.field,o=n.touch,i=t.payload,a=e;return void 0===B(a,"initial."+r)&&""===i?a=H(a,"values."+r):void 0!==i&&(a=z(a,"values."+r,i)),r===B(a,"active")&&(a=V(a,"active")),a=V(a,"fields."+r+".active"),o&&(a=z(a,"fields."+r+".touched",!0),a=z(a,"anyTouched",!0)),a}),Xn(t,y,function(e,t){var n=t.meta,r=n.field,o=n.touch,i=n.persistentSubmitErrors,a=t.payload,s=e;return void 0===B(s,"initial."+r)&&""===a?s=H(s,"values."+r):void 0!==a&&(s=z(s,"values."+r,a)),s=H(s,"asyncErrors."+r),i||(s=H(s,"submitErrors."+r)),s=H(s,"fields."+r+".autofilled"),o&&(s=z(s,"fields."+r+".touched",!0),s=z(s,"anyTouched",!0)),s}),Xn(t,b,function(e){return V(e,"triggerSubmit")}),Xn(t,E,function(e){var t=e;return t=H(t,"submitErrors"),t=V(t,"error")}),Xn(t,O,function(e,t){var n=t.meta.field;return V(e,"asyncErrors."+n)}),Xn(t,g,function(e,t){var n=t.meta,r=n.keepTouched,o=n.persistentSubmitErrors,i=e;n.fields.forEach(function(e){i=H(i,"values."+e),i=H(i,"asyncErrors."+e),o||(i=H(i,"submitErrors."+e)),i=H(i,"fields."+e+".autofilled"),r||(i=V(i,"fields."+e+".touched"))});var a=K(q(B(i,"registeredFields")),function(e){return B(i,"fields."+e+".touched")});return i=a?z(i,"anyTouched",!0):V(i,"anyTouched")}),Xn(t,_,function(e,t){var n=t.meta.field,r=e,o=B(e,"active");return r=V(r,"fields."+o+".active"),r=z(r,"fields."+n+".visited",!0),r=z(r,"fields."+n+".active",!0),r=z(r,"active",n)}),Xn(t,T,function(e,t){var i=t.payload,a=t.meta,s=a.keepDirty,u=a.keepSubmitSucceeded,c=a.updateUnregisteredFields,l=a.keepValues,f=Y(i),p=r,d=B(e,"warning");d&&(p=z(p,"warning",d));var h=B(e,"syncWarnings");h&&(p=z(p,"syncWarnings",h));var m=B(e,"error");m&&(p=z(p,"error",m));var v=B(e,"syncErrors");v&&(p=z(p,"syncErrors",v));var y=B(e,"registeredFields");y&&(p=z(p,"registeredFields",y));var g=B(e,"values"),b=B(e,"initial"),E=f,O=g;if(s&&y){if(!n(E,b)){var w=function(e){var t=B(b,e),r=B(g,e);if(n(r,t)){var o=B(E,e);B(O,e)!==o&&(O=z(O,e,o))}};c||o(q(y),function(e){return w(e)}),o(q(E),function(e){if(void 0===B(b,e)){var t=B(E,e);O=z(O,e,t)}c&&w(e)})}}else O=E;return l&&(o(q(g),function(e){var t=B(g,e);O=z(O,e,t)}),o(q(b),function(e){var t=B(b,e);E=z(E,e,t)})),u&&B(e,"submitSucceeded")&&(p=z(p,"submitSucceeded",!0)),p=z(p,"values",O),p=z(p,"initial",E)}),Xn(t,S,function(e,t){var n=t.payload,r=n.name,o=n.type,i="registeredFields['"+r+"']",a=B(e,i);if(a){var s=B(a,"count")+1;a=z(a,"count",s)}else a=Y({name:r,type:o,count:1});return z(e,i,a)}),Xn(t,I,function(e){var t=r,n=B(e,"registeredFields");n&&(t=z(t,"registeredFields",n));var o=B(e,"initial");return o&&(t=z(t,"values",o),t=z(t,"initial",o)),t}),Xn(t,P,function(e,t){var n=t.meta.sections,r=e;n.forEach(function(t){r=H(r,"asyncErrors."+t),r=H(r,"submitErrors."+t),r=H(r,"fields."+t);var n=B(e,"initial."+t);r=n?z(r,"values."+t,n):H(r,"values."+t)});var o=K(q(B(r,"registeredFields")),function(e){return B(r,"fields."+e+".touched")});return r=o?z(r,"anyTouched",!0):V(r,"anyTouched")}),Xn(t,R,function(e){return z(e,"triggerSubmit",!0)}),Xn(t,j,function(e,t){var n=t.meta.field;return z(e,"asyncValidating",n||!0)}),Xn(t,A,function(e){return z(e,"submitting",!0)}),Xn(t,k,function(e,t){var n=t.payload,r=e;if(r=V(r,"asyncValidating"),n&&Object.keys(n).length){var o=n._error,i=Zn(n,["_error"]);o&&(r=z(r,"error",o)),Object.keys(i).length&&(r=z(r,"asyncErrors",Y(i)))}else r=V(r,"error"),r=V(r,"asyncErrors");return r}),Xn(t,N,function(e,t){var n=t.payload,r=e;if(r=V(r,"submitting"),r=V(r,"submitFailed"),r=V(r,"submitSucceeded"),n&&Object.keys(n).length){var o=n._error,i=Zn(n,["_error"]);r=o?z(r,"error",o):V(r,"error"),r=Object.keys(i).length?z(r,"submitErrors",Y(i)):V(r,"submitErrors"),r=z(r,"submitFailed",!0)}else r=V(r,"error"),r=V(r,"submitErrors");return r}),Xn(t,C,function(e,t){var n=t.meta.fields,r=e;return r=z(r,"submitFailed",!0),r=V(r,"submitSucceeded"),r=V(r,"submitting"),n.forEach(function(e){return r=z(r,"fields."+e+".touched",!0)}),n.length&&(r=z(r,"anyTouched",!0)),r}),Xn(t,x,function(e){var t=e;return t=V(t,"submitFailed"),t=z(t,"submitSucceeded",!0)}),Xn(t,D,function(e,t){var n=e;return t.meta.fields.forEach(function(e){return n=z(n,"fields."+e+".touched",!0)}),n=z(n,"anyTouched",!0)}),Xn(t,L,function(e,t){var o=t.payload,i=o.name,a=o.destroyOnUnmount,s=e,u="registeredFields['"+i+"']",c=B(s,u);if(!c)return s;var l=B(c,"count")-1;if(l<=0&&a){s=V(s,u),n(B(s,"registeredFields"),r)&&(s=V(s,"registeredFields"));var f=B(s,"syncErrors");f&&(f=Q(f,i),s=Qe.deepEqual(f,Qe.empty)?V(s,"syncErrors"):z(s,"syncErrors",f));var p=B(s,"syncWarnings");p&&(p=Q(p,i),s=Qe.deepEqual(p,Qe.empty)?V(s,"syncWarnings"):z(s,"syncWarnings",p)),s=H(s,"submitErrors."+i),s=H(s,"asyncErrors."+i)}else c=z(c,"count",l),s=z(s,u,c);return s}),Xn(t,M,function(e,t){var n=e;t.meta.fields.forEach(function(e){return n=V(n,"fields."+e+".touched")});var r=K(q(B(n,"registeredFields")),function(e){return B(n,"fields."+e+".touched")});return n=r?z(n,"anyTouched",!0):V(n,"anyTouched")}),Xn(t,F,function(e,t){var n=t.payload,r=n.syncErrors,o=n.error,i=e;return o?(i=z(i,"error",o),i=z(i,"syncError",!0)):(i=V(i,"error"),i=V(i,"syncError")),i=Object.keys(r).length?z(i,"syncErrors",r):V(i,"syncErrors")}),Xn(t,U,function(e,t){var n=t.payload,r=n.syncWarnings,o=n.warning,i=e;return i=o?z(i,"warning",o):V(i,"warning"),i=Object.keys(r).length?z(i,"syncWarnings",r):V(i,"syncWarnings")}),t);return function e(t){return t.plugin=function(t){var n=this;return e(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{type:"NONE"},i=function(n,r){var i=B(n,r),a=t[r](i,o,B(e,r));return a!==i?z(n,r,a):n},a=n(e,o),s=o&&o.meta&&o.meta.form;return s?t[s]?i(a,s):a:Object.keys(t).reduce(i,a)})},t}(function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{type:"NONE"},o=n&&n.meta&&n.meta.form;if(!o||!er(n))return t;if(n.type===w&&n.meta&&n.meta.form)return n.meta.form.reduce(function(e,t){return H(e,t)},t);var i=B(t,o),a=e(i,n);return a===i?t:z(t,o,a)}}(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments[1],n=ee[t.type];return n?n(e,t):e}))}(Qe),nr=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:r,n=null,o=null;return function(){return function(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,o=0;o1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:a;if("object"!=typeof e)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var n=Object.keys(e);return t(n.map(function(t){return e[t]}),function(){for(var e=arguments.length,t=Array(e),r=0;r1?"_"+(y-1):"")};return a.a.createElement("div",null,t?a.a.createElement(s.Label,{status:d&&m?"invalid":"",errorMessage:h,errorReporting:c,helpMessage:i,helpLabel:u,htmlFor:g(n.name)},l):null,a.a.cloneElement(a.a.Children.only(f),Object(r.a)({},n,v,{id:g(n.name),checked:!!n.value,onChange:function(e){var t=!!e.target.checked;n.onChange(t),n.onBlur(t)},onBlur:function(){n.onBlur(n.value)}})))},l=function(e){return a.a.createElement(u.Field,Object.assign({},e,{component:c}))};l.defaultProps={hasLabel:!0};var f=l,p=(n(58),function(e){var t=e.label,n=e.helpMessage,i=e.helpLabel,u=e.errorReporting,c=e.input,l=e.layout,f=e.children,p=e.meta,d=p.touched,h=p.error,m=p.invalid,v=Object(o.a)(e,["label","helpMessage","helpLabel","errorReporting","input","layout","children","meta"]),y=function(e){var t=e.target.checked?function(e,t){return Array.isArray(e)?e.concat(t):[t]}(c.value,e.target.value):function(e,t){if(!Array.isArray(e))return[];var n=e.indexOf(t);return-1!==n?e.slice(0,n).concat(e.slice(n+1,e.length)):e}(c.value,e.target.value);c.onChange(t),c.onBlur(t)},g=function(){c.onBlur(c.value)};return a.a.createElement("div",null,a.a.createElement(s.Label,{status:d&&m?"invalid":"",errorMessage:h,errorReporting:u,helpMessage:n,helpLabel:i},t),a.a.createElement(s.FormGroup,{layout:l},a.a.Children.map(f,function(e){return a.a.createElement(s.FormGroup.Item,null,a.a.cloneElement(e,Object(r.a)({},c,v,{value:e.props.value,checked:(t=e.props.value,!!Array.isArray(c.value)&&-1!==c.value.indexOf(t)),onChange:y,onBlur:g})));var t})))}),d=function(e){return a.a.createElement(u.Field,Object.assign({},e,{component:p}))};d.defaultProps={layout:"stack"};var h=d,m=n(789),v=function(e){var t=e.input,n=e.helpMessage,i=e.helpLabel,u=e.errorReporting,c=e.label,l=e.children,f=e.meta,p=f.touched,d=f.error,h=f.invalid,m=Object(o.a)(e,["input","helpMessage","helpLabel","errorReporting","label","children","meta"]),v=0,y=function(e){return e+(v++>1?"_"+(v-1):"")};return delete t.value,a.a.createElement("div",null,a.a.createElement(s.Label,{status:p&&h?"invalid":"",errorMessage:d,errorReporting:u,helpMessage:n,helpLabel:i,htmlFor:y(t.name)},c),a.a.cloneElement(a.a.Children.only(l),Object(r.a)({},t,m,{id:y(t.name),onChange:function(e){t.onChange(e.target.files)}})))},y=function(e){return a.a.createElement(u.Field,Object.assign({},e,{component:v}))},g=n(34),b=n.n(g),E=function(e){var t=e.dateFormat,n=e.input,i=e.helpMessage,u=e.helpLabel,c=e.errorReporting,l=e.label,f=e.children,p=e.meta,d=p.touched,h=p.error,m=p.invalid,v=Object(o.a)(e,["dateFormat","input","helpMessage","helpLabel","errorReporting","label","children","meta"]),y=0,g=function(e){return e+(y++>1?"_"+(y-1):"")},E=n.value?b()(n.value):b()();return a.a.createElement("div",null,a.a.createElement(s.Label,{status:d&&m?"invalid":"",errorMessage:h,errorReporting:c,helpMessage:i,helpLabel:u,htmlFor:g(n.name)},l),a.a.cloneElement(a.a.Children.only(f),Object(r.a)({},n,v,{id:g(n.name),status:d&&m?"invalid":"",onChange:function(e){n.onChange(e.format(t))},selected:E,dateFormat:t})))},O=function(e){return a.a.createElement(u.Field,Object.assign({},e,{component:E}))},w=n(1671),_=function(e){var t=e.input,n=e.children,i=(e.meta,Object(o.a)(e,["input","children","meta"])),s=function(e){t.onChange(e),t.onBlur(e)};return a.a.createElement("div",null,a.a.Children.map(n,function(e){return a.a.cloneElement(e,Object(r.a)({},t,i,{value:e.props.value,checked:(n=e.props.value,t.value===n),onChange:s}));var n}))},T=function(e){return a.a.createElement(u.Field,Object.assign({},e,{component:_}))};T.defaultProps={};var S=T,I=function(e){var t=e.input,n=e.children,i=(e.meta,Object(o.a)(e,["input","children","meta"])),s=function(e){var n=!!e.target.checked||null;e.target.value&&"on"!==e.target.value&&(n=e.target.checked?function(e,t){return(e||[]).concat(t)}(t.value,e.target.value):function(e,t){var n=e.indexOf(t);return-1!==n?e.slice(0,n).concat(e.slice(n+1,e.length)):e}(t.value,e.target.value)),t.onChange(n),t.onBlur(n)},u=function(){t.onBlur(t.value)};return a.a.createElement("div",null,a.a.Children.map(n,function(e){return a.a.cloneElement(e,Object(r.a)({},t,i,{value:e.props.value,checked:(n=e.props.value,Array.isArray(t.value)?-1!==t.value.indexOf(n):t.value),onChange:s,onBlur:u}));var n}))},P=function(e){return a.a.createElement(u.Field,Object.assign({},e,{component:I}))};P.defaultProps={};var C=P;function x(e){var t=e.input,n=e.helpMessage,u=e.helpLabel,c=e.errorReporting,l=e.label,f=e.children,p=e.meta,d=p.touched,h=p.error,m=p.invalid,v=Object(o.a)(e,["input","helpMessage","helpLabel","errorReporting","label","children","meta"]),y=0,g=function(e){return"field-"+e+(y++>1?"_"+(y-1):"")},b=v.status?v.status:"";return a.a.createElement(i.Fragment,null,a.a.createElement(s.Label,{status:d&&m?"invalid":"",errorMessage:h,errorReporting:c,helpMessage:n,helpLabel:u,htmlFor:g(t.name)},l),a.a.cloneElement(a.a.Children.only(f),Object(r.a)({},v,{getTagInputProps:{onBlur:function(){t.onBlur(t.value)},onFocus:function(e){t.onFocus(e)}},id:g(t.name),status:d&&m?"invalid":b,values:t.value||[],onChange:function(e){t.onChange(e)}})))}var j=function(e){return a.a.createElement(u.Field,Object.assign({},e,{component:x}))},A=n(1045);n.d(t,"SingleCheckboxFormField",function(){return f}),n.d(t,"MultipleCheckboxFormField",function(){return h}),n.d(t,"RadioFormField",function(){return m.a}),n.d(t,"InputFormField",function(){return A.a}),n.d(t,"TextareaFormField",function(){return A.a}),n.d(t,"SelectFormField",function(){return A.a}),n.d(t,"FileInputFormField",function(){return y}),n.d(t,"DatePickerFormField",function(){return O}),n.d(t,"ReactSelectFormField",function(){return w.a}),n.d(t,"DropdownRadioFormField",function(){return S}),n.d(t,"DropdownCheckboxFormField",function(){return C}),n.d(t,"AdvancedSelectFormField",function(){return j})},function(e,t,n){"use strict";var r=n(11),o=n(3),i=n(5),a=n(1),s=(n.n(a),n(0)),u=n.n(s),c=n(21),l=n(2),f=n(87);t.a=function(e){var t=function(t){function n(){for(var e,n,r=arguments.length,o=new Array(r),a=0;a>>0,r=0;r0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var U=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,B=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,z={},V={};function Y(e,t,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),e&&(V[e]=o),t&&(V[t[0]]=function(){return F(o.apply(this,arguments),t[1],t[2])}),n&&(V[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function q(e,t){return e.isValid()?(t=G(t,e.localeData()),z[t]=z[t]||function(e){var t,n,r,o=e.match(U);for(t=0,n=o.length;t=0&&B.test(e);)e=e.replace(B,r),B.lastIndex=0,n-=1;return e}var K=/\d/,W=/\d\d/,H=/\d{3}/,Q=/\d{4}/,J=/[+-]?\d{6}/,$=/\d\d?/,X=/\d\d\d\d?/,Z=/\d\d\d\d\d\d?/,ee=/\d{1,3}/,te=/\d{1,4}/,ne=/[+-]?\d{1,6}/,re=/\d+/,oe=/[+-]?\d+/,ie=/Z|[+-]\d\d:?\d\d/gi,ae=/Z|[+-]\d\d(?::?\d\d)?/gi,se=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ue={};function ce(e,t,n){ue[e]=x(t)?t:function(e,r){return e&&n?n:t}}function le(e,t){return l(ue,e)?ue[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,o){return t||n||r||o})))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var pe={};function de(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=w(e)}),n=0;n68?1900:2e3)};var Pe,Ce=xe("FullYear",!0);function xe(e,t){return function(n){return null!=n?(Ae(this,e,n),r.updateOffset(this,t),this):je(this,e)}}function je(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Ae(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Ie(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ke(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function ke(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?Ie(e)?29:28:31-r%7%2}Pe=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Ve(e,t,n){var r=7+t-n;return-((7+ze(e,0,r).getUTCDay()-t)%7)+r-1}function Ye(e,t,n,r,o){var i,a,s=1+7*(t-1)+(7+n-r)%7+Ve(e,r,o);return s<=0?a=Se(i=e-1)+s:s>Se(e)?(i=e+1,a=s-Se(e)):(i=e,a=s),{year:i,dayOfYear:a}}function qe(e,t,n){var r,o,i=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+Ge(o=e.year()-1,t,n):a>Ge(e.year(),t,n)?(r=a-Ge(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function Ge(e,t,n){var r=Ve(e,t,n),o=Ve(e+1,t,n);return(Se(e)-r+o)/7}Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),M("week",5),M("isoWeek",5),ce("w",$),ce("ww",$,W),ce("W",$),ce("WW",$,W),he(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=w(e)});Y("d",0,"do","day"),Y("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),Y("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),Y("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),M("day",11),M("weekday",11),M("isoWeekday",11),ce("d",$),ce("e",$),ce("E",$),ce("dd",function(e,t){return t.weekdaysMinRegex(e)}),ce("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ce("dddd",function(e,t){return t.weekdaysRegex(e)}),he(["dd","ddd","dddd"],function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:d(n).invalidWeekday=e}),he(["d","e","E"],function(e,t,n,r){t[r]=w(e)});var Ke="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var We="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var He="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var Qe=se;var Je=se;var $e=se;function Xe(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],u=[],c=[];for(t=0;t<7;t++)n=p([2e3,1]).day(t),r=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),i=this.weekdays(n,""),a.push(r),s.push(o),u.push(i),c.push(r),c.push(o),c.push(i);for(a.sort(e),s.sort(e),u.sort(e),c.sort(e),t=0;t<7;t++)s[t]=fe(s[t]),u[t]=fe(u[t]),c[t]=fe(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ze(){return this.hours()%12||12}function et(e,t){Y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,Ze),Y("k",["kk",2],0,function(){return this.hours()||24}),Y("hmm",0,0,function(){return""+Ze.apply(this)+F(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+Ze.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+F(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)}),et("a",!0),et("A",!1),N("hour","h"),M("hour",13),ce("a",tt),ce("A",tt),ce("H",$),ce("h",$),ce("k",$),ce("HH",$,W),ce("hh",$,W),ce("kk",$,W),ce("hmm",X),ce("hmmss",Z),ce("Hmm",X),ce("Hmmss",Z),de(["H","HH"],be),de(["k","kk"],function(e,t,n){var r=w(e);t[be]=24===r?0:r}),de(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),de(["h","hh"],function(e,t,n){t[be]=w(e),d(n).bigHour=!0}),de("hmm",function(e,t,n){var r=e.length-2;t[be]=w(e.substr(0,r)),t[Ee]=w(e.substr(r)),d(n).bigHour=!0}),de("hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[be]=w(e.substr(0,r)),t[Ee]=w(e.substr(r,2)),t[Oe]=w(e.substr(o)),d(n).bigHour=!0}),de("Hmm",function(e,t,n){var r=e.length-2;t[be]=w(e.substr(0,r)),t[Ee]=w(e.substr(r))}),de("Hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[be]=w(e.substr(0,r)),t[Ee]=w(e.substr(r,2)),t[Oe]=w(e.substr(o))});var nt,rt=xe("Hours",!0),ot={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Re,monthsShort:De,week:{dow:0,doy:6},weekdays:Ke,weekdaysMin:He,weekdaysShort:We,meridiemParse:/[ap]\.?m?\.?/i},it={},at={};function st(e){return e?e.toLowerCase().replace("_","-"):e}function ut(t){var n=null;if(!it[t]&&void 0!==e&&e&&e.exports)try{n=nt._abbr;!function(){var e=new Error('Cannot find module "./locale"');throw e.code="MODULE_NOT_FOUND",e}(),ct(n)}catch(e){}return it[t]}function ct(e,t){var n;return e&&((n=a(t)?ft(e):lt(e,t))?nt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),nt._abbr}function lt(e,t){if(null!==t){var n,r=ot;if(t.abbr=e,null!=it[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=it[e]._config;else if(null!=t.parentLocale)if(null!=it[t.parentLocale])r=it[t.parentLocale]._config;else{if(null==(n=ut(t.parentLocale)))return at[t.parentLocale]||(at[t.parentLocale]=[]),at[t.parentLocale].push({name:e,config:t}),null;r=n._config}return it[e]=new A(j(r,t)),at[e]&&at[e].forEach(function(e){lt(e.name,e.config)}),ct(e),it[e]}return delete it[e],null}function ft(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return nt;if(!o(e)){if(t=ut(e))return t;e=[e]}return function(e){for(var t,n,r,o,i=0;i0;){if(r=ut(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&_(o,n,!0)>=t-1)break;t--}i++}return nt}(e)}function pt(e){var t,n=e._a;return n&&-2===d(e).overflow&&(t=n[ye]<0||n[ye]>11?ye:n[ge]<1||n[ge]>ke(n[ve],n[ye])?ge:n[be]<0||n[be]>24||24===n[be]&&(0!==n[Ee]||0!==n[Oe]||0!==n[we])?be:n[Ee]<0||n[Ee]>59?Ee:n[Oe]<0||n[Oe]>59?Oe:n[we]<0||n[we]>999?we:-1,d(e)._overflowDayOfYear&&(tge)&&(t=ge),d(e)._overflowWeeks&&-1===t&&(t=_e),d(e)._overflowWeekday&&-1===t&&(t=Te),d(e).overflow=t),e}function dt(e,t,n){return null!=e?e:null!=t?t:n}function ht(e){var t,n,o,i,a,s=[];if(!e._d){for(o=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[ge]&&null==e._a[ye]&&function(e){var t,n,r,o,i,a,s,u;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)i=1,a=4,n=dt(t.GG,e._a[ve],qe(xt(),1,4).year),r=dt(t.W,1),((o=dt(t.E,1))<1||o>7)&&(u=!0);else{i=e._locale._week.dow,a=e._locale._week.doy;var c=qe(xt(),i,a);n=dt(t.gg,e._a[ve],c.year),r=dt(t.w,c.week),null!=t.d?((o=t.d)<0||o>6)&&(u=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(u=!0)):o=i}r<1||r>Ge(n,i,a)?d(e)._overflowWeeks=!0:null!=u?d(e)._overflowWeekday=!0:(s=Ye(n,r,o,i,a),e._a[ve]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=dt(e._a[ve],o[ve]),(e._dayOfYear>Se(a)||0===e._dayOfYear)&&(d(e)._overflowDayOfYear=!0),n=ze(a,0,e._dayOfYear),e._a[ye]=n.getUTCMonth(),e._a[ge]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=o[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[be]&&0===e._a[Ee]&&0===e._a[Oe]&&0===e._a[we]&&(e._nextDay=!0,e._a[be]=0),e._d=(e._useUTC?ze:function(e,t,n,r,o,i,a){var s=new Date(e,t,n,r,o,i,a);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[be]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(d(e).weekdayMismatch=!0)}}var mt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/Z|[+-]\d\d(?::?\d\d)?/,gt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],bt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Et=/^\/?Date\((\-?\d+)/i;function Ot(e){var t,n,r,o,i,a,s=e._i,u=mt.exec(s)||vt.exec(s);if(u){for(d(e).iso=!0,t=0,n=gt.length;t0&&d(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),c+=n.length),V[i]?(n?d(e).empty=!1:d(e).unusedTokens.push(i),me(i,n,e)):e._strict&&!n&&d(e).unusedTokens.push(i);d(e).charsLeftOver=u-c,s.length>0&&d(e).unusedInput.push(s),e._a[be]<=12&&!0===d(e).bigHour&&e._a[be]>0&&(d(e).bigHour=void 0),d(e).parsedDateParts=e._a.slice(0),d(e).meridiem=e._meridiem,e._a[be]=function(e,t,n){var r;if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[be],e._meridiem),ht(e),pt(e)}else St(e);else Ot(e)}function Pt(e){var t=e._i,n=e._f;return e._locale=e._locale||ft(e._l),null===t||void 0===n&&""===t?m({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),E(t)?new b(pt(t)):(u(t)?e._d=t:o(n)?function(e){var t,n,r,o,i;if(0===e._f.length)return d(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;othis?this:e:m()});function kt(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return xt();for(n=t[0],r=1;r(i=Ge(e,r,o))&&(t=i),function(e,t,n,r,o){var i=Ye(e,t,n,r,o),a=ze(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,t,n,r,o))}Y(0,["gg",2],0,function(){return this.weekYear()%100}),Y(0,["GG",2],0,function(){return this.isoWeekYear()%100}),nn("gggg","weekYear"),nn("ggggg","weekYear"),nn("GGGG","isoWeekYear"),nn("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),M("weekYear",1),M("isoWeekYear",1),ce("G",oe),ce("g",oe),ce("GG",$,W),ce("gg",$,W),ce("GGGG",te,Q),ce("gggg",te,Q),ce("GGGGG",ne,J),ce("ggggg",ne,J),he(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=w(e)}),he(["gg","GG"],function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)}),Y("Q",0,"Qo","quarter"),N("quarter","Q"),M("quarter",7),ce("Q",K),de("Q",function(e,t){t[ye]=3*(w(e)-1)}),Y("D",["DD",2],"Do","date"),N("date","D"),M("date",9),ce("D",$),ce("DD",$,W),ce("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),de(["D","DD"],ge),de("Do",function(e,t){t[ge]=w(e.match($)[0])});var on=xe("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),M("dayOfYear",4),ce("DDD",ee),ce("DDDD",H),de(["DDD","DDDD"],function(e,t,n){n._dayOfYear=w(e)}),Y("m",["mm",2],0,"minute"),N("minute","m"),M("minute",14),ce("m",$),ce("mm",$,W),de(["m","mm"],Ee);var an=xe("Minutes",!1);Y("s",["ss",2],0,"second"),N("second","s"),M("second",15),ce("s",$),ce("ss",$,W),de(["s","ss"],Oe);var sn,un=xe("Seconds",!1);for(Y("S",0,0,function(){return~~(this.millisecond()/100)}),Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Y(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Y(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Y(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Y(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Y(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),N("millisecond","ms"),M("millisecond",16),ce("S",ee,K),ce("SS",ee,W),ce("SSS",ee,H),sn="SSSS";sn.length<=9;sn+="S")ce(sn,re);function cn(e,t){t[we]=w(1e3*("0."+e))}for(sn="S";sn.length<=9;sn+="S")de(sn,cn);var ln=xe("Milliseconds",!1);Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var fn=b.prototype;function pn(e){return e}fn.add=Jt,fn.calendar=function(e,t){var n=e||xt(),o=Bt(n,this).startOf("day"),i=r.calendarFormat(this,o)||"sameElse",a=t&&(x(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,xt(n)))},fn.clone=function(){return new b(this)},fn.diff=function(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(!(r=Bt(e,this)).isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=R(t)){case"year":i=Xt(this,r)/12;break;case"month":i=Xt(this,r);break;case"quarter":i=Xt(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:O(i)},fn.endOf=function(e){return void 0===(e=R(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},fn.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=q(this,e);return this.localeData().postformat(t)},fn.from=function(e,t){return this.isValid()&&(E(e)&&e.isValid()||xt(e).isValid())?Gt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fn.fromNow=function(e){return this.from(xt(),e)},fn.to=function(e,t){return this.isValid()&&(E(e)&&e.isValid()||xt(e).isValid())?Gt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fn.toNow=function(e){return this.to(xt(),e)},fn.get=function(e){return x(this[e=R(e)])?this[e]():this},fn.invalidAt=function(){return d(this).overflow},fn.isAfter=function(e,t){var n=E(e)?e:xt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=R(a(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()9999?q(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):x(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",q(n,"Z")):q(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},fn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+o)},fn.toJSON=function(){return this.isValid()?this.toISOString():null},fn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},fn.unix=function(){return Math.floor(this.valueOf()/1e3)},fn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},fn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},fn.year=Ce,fn.isLeapYear=function(){return Ie(this.year())},fn.weekYear=function(e){return rn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},fn.isoWeekYear=function(e){return rn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},fn.quarter=fn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},fn.month=Me,fn.daysInMonth=function(){return ke(this.year(),this.month())},fn.week=fn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},fn.isoWeek=fn.isoWeeks=function(e){var t=qe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},fn.weeksInYear=function(){var e=this.localeData()._week;return Ge(this.year(),e.dow,e.doy)},fn.isoWeeksInYear=function(){return Ge(this.year(),1,4)},fn.date=on,fn.day=fn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},fn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},fn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},fn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},fn.hour=fn.hours=rt,fn.minute=fn.minutes=an,fn.second=fn.seconds=un,fn.millisecond=fn.milliseconds=ln,fn.utcOffset=function(e,t,n){var o,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Ut(ae,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(o=zt(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),i!==e&&(!t||this._changeInProgress?Qt(this,Gt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:zt(this)},fn.utc=function(e){return this.utcOffset(0,e)},fn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(zt(this),"m")),this},fn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ut(ie,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},fn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?xt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},fn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},fn.isLocal=function(){return!!this.isValid()&&!this._isUTC},fn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},fn.isUtc=Vt,fn.isUTC=Vt,fn.zoneAbbr=function(){return this._isUTC?"UTC":""},fn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},fn.dates=S("dates accessor is deprecated. Use date instead.",on),fn.months=S("months accessor is deprecated. Use month instead",Me),fn.years=S("years accessor is deprecated. Use year instead",Ce),fn.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),fn.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(y(e,this),(e=Pt(e))._a){var t=e._isUTC?p(e._a):xt(e._a);this._isDSTShifted=this.isValid()&&_(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var dn=A.prototype;function hn(e,t,n,r){var o=ft(),i=p().set(r,t);return o[n](i,e)}function mn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return hn(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=hn(e,r,n,"month");return o}function vn(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var o,i=ft(),a=e?i._week.dow:0;if(null!=n)return hn(t,(n+a)%7,r,"day");var u=[];for(o=0;o<7;o++)u[o]=hn(t,(o+a)%7,r,"day");return u}dn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return x(r)?r.call(t,n):r},dn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},dn.invalidDate=function(){return this._invalidDate},dn.ordinal=function(e){return this._ordinal.replace("%d",e)},dn.preparse=pn,dn.postformat=pn,dn.relativeTime=function(e,t,n,r){var o=this._relativeTime[n];return x(o)?o(e,t,n,r):o.replace(/%d/i,e)},dn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return x(n)?n(t):n.replace(/%s/i,t)},dn.set=function(e){var t,n;for(n in e)x(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},dn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ne).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},dn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ne.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},dn.monthsParse=function(e,t,n){var r,o,i;if(this._monthsParseExact)return function(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=p([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=Pe.call(this._shortMonthsParse,a))?o:null:-1!==(o=Pe.call(this._longMonthsParse,a))?o:null:"MMM"===t?-1!==(o=Pe.call(this._shortMonthsParse,a))?o:-1!==(o=Pe.call(this._longMonthsParse,a))?o:null:-1!==(o=Pe.call(this._longMonthsParse,a))?o:-1!==(o=Pe.call(this._shortMonthsParse,a))?o:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=p([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},dn.monthsRegex=function(e){return this._monthsParseExact?(l(this,"_monthsRegex")||Be.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=Ue),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},dn.monthsShortRegex=function(e){return this._monthsParseExact?(l(this,"_monthsRegex")||Be.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=Fe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},dn.week=function(e){return qe(e,this._week.dow,this._week.doy).week},dn.firstDayOfYear=function(){return this._week.doy},dn.firstDayOfWeek=function(){return this._week.dow},dn.weekdays=function(e,t){return e?o(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:o(this._weekdays)?this._weekdays:this._weekdays.standalone},dn.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},dn.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},dn.weekdaysParse=function(e,t,n){var r,o,i;if(this._weekdaysParseExact)return function(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=Pe.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Pe.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=Pe.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=Pe.call(this._weekdaysParse,a))?o:-1!==(o=Pe.call(this._shortWeekdaysParse,a))?o:-1!==(o=Pe.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Pe.call(this._shortWeekdaysParse,a))?o:-1!==(o=Pe.call(this._weekdaysParse,a))?o:-1!==(o=Pe.call(this._minWeekdaysParse,a))?o:null:-1!==(o=Pe.call(this._minWeekdaysParse,a))?o:-1!==(o=Pe.call(this._weekdaysParse,a))?o:-1!==(o=Pe.call(this._shortWeekdaysParse,a))?o:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},dn.weekdaysRegex=function(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Xe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Qe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},dn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Xe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Je),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},dn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Xe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=$e),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},dn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},dn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ct("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=S("moment.lang is deprecated. Use moment.locale instead.",ct),r.langData=S("moment.langData is deprecated. Use moment.localeData instead.",ft);var yn=Math.abs;function gn(e,t,n,r){var o=Gt(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function bn(e){return e<0?Math.floor(e):Math.ceil(e)}function En(e){return 4800*e/146097}function On(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}var _n=wn("ms"),Tn=wn("s"),Sn=wn("m"),In=wn("h"),Pn=wn("d"),Cn=wn("w"),xn=wn("M"),jn=wn("y");function An(e){return function(){return this.isValid()?this._data[e]:NaN}}var kn=An("milliseconds"),Nn=An("seconds"),Rn=An("minutes"),Dn=An("hours"),Ln=An("days"),Mn=An("months"),Fn=An("years");var Un=Math.round,Bn={ss:44,s:45,m:45,h:22,d:26,M:11};var zn=Math.abs;function Vn(e){return(e>0)-(e<0)||+e}function Yn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=zn(this._milliseconds)/1e3,r=zn(this._days),o=zn(this._months);t=O((e=O(n/60))/60),n%=60,e%=60;var i=O(o/12),a=o%=12,s=r,u=t,c=e,l=n?n.toFixed(3).replace(/\.?0+$/,""):"",f=this.asSeconds();if(!f)return"P0D";var p=f<0?"-":"",d=Vn(this._months)!==Vn(f)?"-":"",h=Vn(this._days)!==Vn(f)?"-":"",m=Vn(this._milliseconds)!==Vn(f)?"-":"";return p+"P"+(i?d+i+"Y":"")+(a?d+a+"M":"")+(s?h+s+"D":"")+(u||c||l?"T":"")+(u?m+u+"H":"")+(c?m+c+"M":"")+(l?m+l+"S":"")}var qn=Rt.prototype;return qn.isValid=function(){return this._isValid},qn.abs=function(){var e=this._data;return this._milliseconds=yn(this._milliseconds),this._days=yn(this._days),this._months=yn(this._months),e.milliseconds=yn(e.milliseconds),e.seconds=yn(e.seconds),e.minutes=yn(e.minutes),e.hours=yn(e.hours),e.months=yn(e.months),e.years=yn(e.years),this},qn.add=function(e,t){return gn(this,e,t,1)},qn.subtract=function(e,t){return gn(this,e,t,-1)},qn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=R(e))||"year"===e)return t=this._days+r/864e5,n=this._months+En(t),"month"===e?n:n/12;switch(t=this._days+Math.round(On(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},qn.asMilliseconds=_n,qn.asSeconds=Tn,qn.asMinutes=Sn,qn.asHours=In,qn.asDays=Pn,qn.asWeeks=Cn,qn.asMonths=xn,qn.asYears=jn,qn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12):NaN},qn._bubble=function(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,u=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*bn(On(s)+a),a=0,s=0),u.milliseconds=i%1e3,e=O(i/1e3),u.seconds=e%60,t=O(e/60),u.minutes=t%60,n=O(t/60),u.hours=n%24,s+=o=O(En(a+=O(n/24))),a-=bn(On(o)),r=O(s/12),s%=12,u.days=a,u.months=s,u.years=r,this},qn.clone=function(){return Gt(this)},qn.get=function(e){return e=R(e),this.isValid()?this[e+"s"]():NaN},qn.milliseconds=kn,qn.seconds=Nn,qn.minutes=Rn,qn.hours=Dn,qn.days=Ln,qn.weeks=function(){return O(this.days()/7)},qn.months=Mn,qn.years=Fn,qn.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var r=Gt(e).abs(),o=Un(r.as("s")),i=Un(r.as("m")),a=Un(r.as("h")),s=Un(r.as("d")),u=Un(r.as("M")),c=Un(r.as("y")),l=o<=Bn.ss&&["s",o]||o0,l[4]=n,function(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}.apply(null,l)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},qn.toISOString=Yn,qn.toString=Yn,qn.toJSON=Yn,qn.locale=Zt,qn.localeData=tn,qn.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Yn),qn.lang=en,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),ce("x",oe),ce("X",/[+-]?\d+(\.\d{1,3})?/),de("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),de("x",function(e,t,n){n._d=new Date(w(e))}),r.version="2.22.1",t=xt,r.fn=fn,r.min=function(){return kt("isBefore",[].slice.call(arguments,0))},r.max=function(){return kt("isAfter",[].slice.call(arguments,0))},r.now=function(){return Date.now?Date.now():+new Date},r.utc=p,r.unix=function(e){return xt(1e3*e)},r.months=function(e,t){return mn(e,t,"months")},r.isDate=u,r.locale=ct,r.invalid=m,r.duration=Gt,r.isMoment=E,r.weekdays=function(e,t,n){return vn(e,t,n,"weekdays")},r.parseZone=function(){return xt.apply(null,arguments).parseZone()},r.localeData=ft,r.isDuration=Dt,r.monthsShort=function(e,t){return mn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return vn(e,t,n,"weekdaysMin")},r.defineLocale=lt,r.updateLocale=function(e,t){if(null!=t){var n,r,o=ot;null!=(r=ut(e))&&(o=r._config),(n=new A(t=j(o,t))).parentLocale=it[e],it[e]=n,ct(e)}else null!=it[e]&&(null!=it[e].parentLocale?it[e]=it[e].parentLocale:null!=it[e]&&delete it[e]);return it[e]},r.locales=function(){return I(it)},r.weekdaysShort=function(e,t,n){return vn(e,t,n,"weekdaysShort")},r.normalizeUnits=R,r.relativeTimeRounding=function(e){return void 0===e?Un:"function"==typeof e&&(Un=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Bn[e]&&(void 0===t?Bn[e]:(Bn[e]=t,"s"===e&&(Bn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=fn,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},r},e.exports=t()}).call(t,n(278)(e))},function(e,t,n){var r,o; /*! @preserve * numeral.js * version : 2.0.6 * author : Adam Draper * license : MIT * http://adamwdraper.github.com/Numeral-js/ */void 0===(o="function"==typeof(r=function(){var e,t,n,r,o,i={},a={},s={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},u={currentLocale:s.currentLocale,zeroFormat:s.zeroFormat,nullFormat:s.nullFormat,defaultFormat:s.defaultFormat,scalePercentBy100:s.scalePercentBy100};function c(e,t){this._input=e,this._value=t}return(e=function(n){var r,o,a,s;if(e.isNumeral(n))r=n.value();else if(0===n||void 0===n)r=0;else if(null===n||t.isNaN(n))r=null;else if("string"==typeof n)if(u.zeroFormat&&n===u.zeroFormat)r=0;else if(u.nullFormat&&n===u.nullFormat||!n.replace(/[^0-9]+/g,"").length)r=null;else{for(o in i)if((s="function"==typeof i[o].regexps.unformat?i[o].regexps.unformat():i[o].regexps.unformat)&&n.match(s)){a=i[o].unformat;break}r=(a=a||e._.stringToNumber)(n)}else r=Number(n)||null;return new c(n,r)}).version="2.0.6",e.isNumeral=function(e){return e instanceof c},e._=t={numberToFormat:function(t,n,r){var o,i,s,u,c,l,f,p,d=a[e.options.currentLocale],h=!1,m=!1,v="",y="",g=!1;if(t=t||0,s=Math.abs(t),e._.includes(n,"(")?(h=!0,n=n.replace(/[\(|\)]/g,"")):(e._.includes(n,"+")||e._.includes(n,"-"))&&(l=e._.includes(n,"+")?n.indexOf("+"):t<0?n.indexOf("-"):-1,n=n.replace(/[\+|\-]/g,"")),e._.includes(n,"a")&&(i=!!(i=n.match(/a(k|m|b|t)?/))&&i[1],e._.includes(n," a")&&(v=" "),n=n.replace(new RegExp(v+"a[kmbt]?"),""),s>=1e12&&!i||"t"===i?(v+=d.abbreviations.trillion,t/=1e12):s<1e12&&s>=1e9&&!i||"b"===i?(v+=d.abbreviations.billion,t/=1e9):s<1e9&&s>=1e6&&!i||"m"===i?(v+=d.abbreviations.million,t/=1e6):(s<1e6&&s>=1e3&&!i||"k"===i)&&(v+=d.abbreviations.thousand,t/=1e3)),e._.includes(n,"[.]")&&(m=!0,n=n.replace("[.]",".")),u=t.toString().split(".")[0],c=n.split(".")[1],f=n.indexOf(","),o=(n.split(".")[0].split(",")[0].match(/0/g)||[]).length,c?(e._.includes(c,"[")?(c=(c=c.replace("]","")).split("["),y=e._.toFixed(t,c[0].length+c[1].length,r,c[1].length)):y=e._.toFixed(t,c.length,r),u=y.split(".")[0],y=e._.includes(y,".")?d.delimiters.decimal+y.split(".")[1]:"",m&&0===Number(y.slice(1))&&(y="")):u=e._.toFixed(t,0,r),v&&!i&&Number(u)>=1e3&&v!==d.abbreviations.trillion)switch(u=String(Number(u)/1e3),v){case d.abbreviations.thousand:v=d.abbreviations.million;break;case d.abbreviations.million:v=d.abbreviations.billion;break;case d.abbreviations.billion:v=d.abbreviations.trillion}if(e._.includes(u,"-")&&(u=u.slice(1),g=!0),u.length0;b--)u="0"+u;return f>-1&&(u=u.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+d.delimiters.thousands)),0===n.indexOf(".")&&(u=""),p=u+y+(v||""),h?p=(h&&g?"(":"")+p+(h&&g?")":""):l>=0?p=0===l?(g?"-":"+")+p:p+(g?"-":"+"):g&&(p="-"+p),p},stringToNumber:function(e){var t,n,r,o=a[u.currentLocale],i=e,s={thousand:3,million:6,billion:9,trillion:12};if(u.zeroFormat&&e===u.zeroFormat)n=0;else if(u.nullFormat&&e===u.nullFormat||!e.replace(/[^0-9]+/g,"").length)n=null;else{for(t in n=1,"."!==o.delimiters.decimal&&(e=e.replace(/\./g,"").replace(o.delimiters.decimal,".")),s)if(r=new RegExp("[^a-zA-Z]"+o.abbreviations[t]+"(?:\\)|(\\"+o.currency.symbol+")?(?:\\))?)?$"),i.match(r)){n*=Math.pow(10,s[t]);break}n*=(e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1,e=e.replace(/[^0-9\.]+/g,""),n*=Number(e)}return n},isNaN:function(e){return"number"==typeof e&&isNaN(e)},includes:function(e,t){return-1!==e.indexOf(t)},insert:function(e,t,n){return e.slice(0,n)+t+e.slice(n)},reduce:function(e,t){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof t)throw new TypeError(t+" is not a function");var n,r=Object(e),o=r.length>>>0,i=0;if(3===arguments.length)n=arguments[2];else{for(;i=o)throw new TypeError("Reduce of empty array with no initial value");n=r[i++]}for(;ir?e:r},1)},toFixed:function(e,t,n,r){var o,i,a,s,u=e.toString().split("."),c=t-(r||0);return o=2===u.length?Math.min(Math.max(u[1].length,c),t):c,a=Math.pow(10,o),s=(n(e+"e+"+o)/a).toFixed(o),r>t-o&&(i=new RegExp("\\.?0{1,"+(r-(t-o))+"}$"),s=s.replace(i,"")),s}},e.options=u,e.formats=i,e.locales=a,e.locale=function(e){return e&&(u.currentLocale=e.toLowerCase()),u.currentLocale},e.localeData=function(e){if(!e)return a[u.currentLocale];if(e=e.toLowerCase(),!a[e])throw new Error("Unknown locale : "+e);return a[e]},e.reset=function(){for(var e in s)u[e]=s[e]},e.zeroFormat=function(e){u.zeroFormat="string"==typeof e?e:null},e.nullFormat=function(e){u.nullFormat="string"==typeof e?e:null},e.defaultFormat=function(e){u.defaultFormat="string"==typeof e?e:"0.0"},e.register=function(e,t,n){if(t=t.toLowerCase(),this[e+"s"][t])throw new TypeError(t+" "+e+" already registered.");return this[e+"s"][t]=n,n},e.validate=function(t,n){var r,o,i,a,s,u,c,l;if("string"!=typeof t&&(t+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",t)),(t=t.trim()).match(/^\d+$/))return!0;if(""===t)return!1;try{c=e.localeData(n)}catch(t){c=e.localeData(e.locale())}return i=c.currency.symbol,s=c.abbreviations,r=c.delimiters.decimal,o="."===c.delimiters.thousands?"\\.":c.delimiters.thousands,(null===(l=t.match(/^[^\d]+/))||(t=t.substr(1),l[0]===i))&&((null===(l=t.match(/[^\d]+$/))||(t=t.slice(0,-1),l[0]===s.thousand||l[0]===s.million||l[0]===s.billion||l[0]===s.trillion))&&(u=new RegExp(o+"{2}"),!t.match(/[^\d.,]/g)&&(!((a=t.split(r)).length>2)&&(a.length<2?!!a[0].match(/^\d+.*\d$/)&&!a[0].match(u):1===a[0].length?!!a[0].match(/^\d+$/)&&!a[0].match(u)&&!!a[1].match(/^\d+$/):!!a[0].match(/^\d+.*\d$/)&&!a[0].match(u)&&!!a[1].match(/^\d+$/)))))},e.fn=c.prototype={clone:function(){return e(this)},format:function(t,n){var r,o,a,s=this._value,c=t||u.defaultFormat;if(n=n||Math.round,0===s&&null!==u.zeroFormat)o=u.zeroFormat;else if(null===s&&null!==u.nullFormat)o=u.nullFormat;else{for(r in i)if(c.match(i[r].regexps.format)){a=i[r].format;break}o=(a=a||e._.numberToFormat)(s,c,n)}return o},value:function(){return this._value},input:function(){return this._input},set:function(e){return this._value=Number(e),this},add:function(e){var n=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([this._value,e],function(e,t,r,o){return e+Math.round(n*t)},0)/n,this},subtract:function(e){var n=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([e],function(e,t,r,o){return e-Math.round(n*t)},Math.round(this._value*n))/n,this},multiply:function(e){return this._value=t.reduce([this._value,e],function(e,n,r,o){var i=t.correctionFactor(e,n);return Math.round(e*i)*Math.round(n*i)/Math.round(i*i)},1),this},divide:function(e){return this._value=t.reduce([this._value,e],function(e,n,r,o){var i=t.correctionFactor(e,n);return Math.round(e*i)/Math.round(n*i)}),this},difference:function(t){return Math.abs(e(this._value).subtract(t).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(t,n,r){var o,i=e._.includes(n," BPS")?" ":"";return t*=1e4,n=n.replace(/\s?BPS/,""),o=e._.numberToFormat(t,n,r),e._.includes(o,")")?((o=o.split("")).splice(-1,0,i+"BPS"),o=o.join("")):o=o+i+"BPS",o},unformat:function(t){return+(1e-4*e._.stringToNumber(t)).toFixed(15)}}),r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},o="("+(o=(n={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(r.suffixes.filter(function(e){return n.suffixes.indexOf(e)<0})).join("|")).replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(o)},format:function(t,o,i){var a,s,u,c=e._.includes(o,"ib")?r:n,l=e._.includes(o," b")||e._.includes(o," ib")?" ":"";for(o=o.replace(/\s?i?b/,""),a=0;a<=c.suffixes.length;a++)if(s=Math.pow(c.base,a),u=Math.pow(c.base,a+1),null===t||0===t||t>=s&&t0&&(t/=s);break}return e._.numberToFormat(t,o,i)+l},unformat:function(t){var o,i,a=e._.stringToNumber(t);if(a){for(o=n.suffixes.length-1;o>=0;o--){if(e._.includes(t,n.suffixes[o])){i=Math.pow(n.base,o);break}if(e._.includes(t,r.suffixes[o])){i=Math.pow(r.base,o);break}}a*=i||1}return a}}),e.register("format","currency",{regexps:{format:/(\$)/},format:function(t,n,r){var o,i,a=e.locales[e.options.currentLocale],s={before:n.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:n.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(n=n.replace(/\s?\$\s?/,""),o=e._.numberToFormat(t,n,r),t>=0?(s.before=s.before.replace(/[\-\(]/,""),s.after=s.after.replace(/[\-\)]/,"")):t<0&&!e._.includes(s.before,"-")&&!e._.includes(s.before,"(")&&(s.before="-"+s.before),i=0;i=0;i--)switch(s.after[i]){case"$":o=i===s.after.length-1?o+a.currency.symbol:e._.insert(o,a.currency.symbol,-(s.after.length-(1+i)));break;case" ":o=i===s.after.length-1?o+" ":e._.insert(o," ",-(s.after.length-(1+i)+a.currency.symbol.length-1))}return o}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(t,n,r){var o=("number"!=typeof t||e._.isNaN(t)?"0e+0":t.toExponential()).split("e");return n=n.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(o[0]),n,r)+"e"+o[1]},unformat:function(t){var n=e._.includes(t,"e+")?t.split("e+"):t.split("e-"),r=Number(n[0]),o=Number(n[1]);return o=e._.includes(t,"e-")?o*=-1:o,e._.reduce([r,Math.pow(10,o)],function(t,n,r,o){var i=e._.correctionFactor(t,n);return t*i*(n*i)/(i*i)},1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(t,n,r){var o=e.locales[e.options.currentLocale],i=e._.includes(n," o")?" ":"";return n=n.replace(/\s?o/,""),i+=o.ordinal(t),e._.numberToFormat(t,n,r)+i}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(t,n,r){var o,i=e._.includes(n," %")?" ":"";return e.options.scalePercentBy100&&(t*=100),n=n.replace(/\s?\%/,""),o=e._.numberToFormat(t,n,r),e._.includes(o,")")?((o=o.split("")).splice(-1,0,i+"%"),o=o.join("")):o=o+i+"%",o},unformat:function(t){var n=e._.stringToNumber(t);return e.options.scalePercentBy100?.01*n:n}}),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(e,t,n){var r=Math.floor(e/60/60),o=Math.floor((e-60*r*60)/60),i=Math.round(e-60*r*60-60*o);return r+":"+(o<10?"0"+o:o)+":"+(i<10?"0"+i:i)},unformat:function(e){var t=e.split(":"),n=0;return 3===t.length?(n+=60*Number(t[0])*60,n+=60*Number(t[1]),n+=Number(t[2])):2===t.length&&(n+=60*Number(t[0]),n+=Number(t[1])),Number(n)}}),e})?r.call(t,n,t,e):r)||(e.exports=o)},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"d",function(){return a}),n.d(t,"c",function(){return c}),n.d(t,"b",function(){return f}),n.d(t,"g",function(){return g}),n.d(t,"e",function(){return b}),n.d(t,"f",function(){return w}),t.n=function(){return[r,o,i,a,s,u,c,l,f,p,d,h,m,v,y,g,b,E,O,w]},t.i=S,t.j=I,t.k=function(e){return S(e).toLowerCase()},t.l=function(e){return I(e).toLowerCase()},t.p=function(e){return-1!==C.indexOf(e)},t.h=function(e,t){void 0===t&&(t=!1);var n=-1!==P.indexOf(e);if(t)return n?"full text":"file";return n?"Full-text":"File"},t.q=function(e){return-1===P.indexOf(e)},t.o=function(e){return e===y||e===m},t.m=function(e){switch(e){case r:return"an";case O:case c:case m:case y:case v:case f:return null;default:return"a"}};var r="article",o="book",i="inCollection",a="inProceedings",s="thesis",u="patent",c="dataset",l="technicalReport",f="artifact",p="researchProposal",d="workingPaper",h="method",m="negativeResults",v="rawData",y="experimentFindings",g="presentation",b="poster",E="coverPage",O="code",w="preprint",_={ARTICLE:"ARTICLE",BOOK:"BOOK",INCOLLECTION:"INCOLLECTION",INPROCEEDINGS:"INPROCEEDINGS",THESIS:"THESIS",PATENT:"PATENT",DATASET:"DATASET",TECHNICAL_REPORT:"TECHNICAL_REPORT",ARTIFACT:"ARTIFACT",RESEARCH_PROPOSAL:"RESEARCH_PROPOSAL",WORKING_PAPER:"WORKING_PAPER",METHOD:"METHOD",NEGATIVE_RESULTS:"NEGATIVE_RESULTS",RAW_DATA:"RAW_DATA",EXPERIMENT_FINDINGS:"EXPERIMENT_FINDINGS",PRESENTATION:"PRESENTATION",POSTER:"POSTER",COVER_PAGE:"COVER_PAGE",CODE:"CODE",PREPRINT:"PREPRINT"},T={article:_.ARTICLE,book:_.BOOK,inCollection:_.INCOLLECTION,inProceedings:_.INPROCEEDINGS,thesis:_.THESIS,patent:_.PATENT,dataset:_.DATASET,technicalReport:_.TECHNICAL_REPORT,artifact:_.ARTIFACT,researchProposal:_.RESEARCH_PROPOSAL,workingPaper:_.WORKING_PAPER,method:_.METHOD,negativeResults:_.NEGATIVE_RESULTS,rawData:_.RAW_DATA,experimentFindings:_.EXPERIMENT_FINDINGS,presentation:_.PRESENTATION,poster:_.POSTER,coverPage:_.COVER_PAGE,code:_.CODE,preprint:_.PREPRINT};function S(e){switch(e){case _.ARTICLE:return"Article";case _.BOOK:return"Book";case _.INCOLLECTION:return"Chapter";case _.CODE:return"Code";case _.INPROCEEDINGS:return"Conference Paper";case _.COVER_PAGE:return"Cover Page";case _.DATASET:return"Data";case _.EXPERIMENT_FINDINGS:return"Experiment Findings";case _.METHOD:return"Method";case _.NEGATIVE_RESULTS:return"Negative Results";case _.PATENT:return"Patent";case _.POSTER:return"Poster";case _.PREPRINT:return"Preprint";case _.PRESENTATION:return"Presentation";case _.RAW_DATA:return"Raw Data";case _.RESEARCH_PROPOSAL:return"Research Proposal";case _.TECHNICAL_REPORT:return"Technical Report";case _.THESIS:return"Thesis";case _.WORKING_PAPER:return"Working Paper";case _.ARTIFACT:return"Research"}return e}function I(e){return T.hasOwnProperty(e)?S(T[e]):e}var P=[r,o,i,a,u,l,s,d,y],C=[O,c,v]},function(e,t,n){var r=n(486),o=n(353),i=n(904),a=n(85),s=n(237),u=n(905),c=n(907),l=n(1065),f="[object Map]",p="[object Set]",d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||l(e)||i(e)))return!e.length;var t=o(e);if(t==f||t==p)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},function(e,t,n){"use strict";var r=n(3),o=n(1),i=n.n(o),a=n(0),s=n.n(a),u=n(234),c=n(109),l=function(e){function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.componentDidMount=function(){var e=this;if(this.props.widgetId){var t=this.props.widgetId,n=this.context.widgetStore.getData(t),r=this.containerNode.querySelector("#"+t);new Promise(function(e){Object(c.a)(["rg-base"],e)}).then(function(t){"js-backend-rendered"===r.parentNode.className||"application/stubs/AsyncClientSideRenderingWrapper.html"===n.templateName?widgetLoader.createInitialWidget(n):widgetLoader.createWidget(n,function(n){n.render({replace:t.one(r)}),e.widget=n})}).catch(function(e){window.Bugsnag&&window.Bugsnag.notifyException(e)})}},n.componentWillUnmount=function(){this.widget&&this.widget.destructor()},n.render=function(){var e=this;if(!this.props.widgetId)return null;var t=this.props.widgetId,n=this.context.widgetStore.getData(t);if(!n.__backendRenderedHtml){var r=document.getElementById(this.props.widgetId);r&&r.parentNode.className&&r.parentNode.className.includes("js-backend-rendered")&&(n.__backendRenderedHtml=r.outerHTML)}return n.__backendRenderedHtml?s.a.createElement("div",{ref:function(t){e.containerNode=t},style:this.props.containerStyle,className:"js-backend-rendered",dangerouslySetInnerHTML:{__html:n.__backendRenderedHtml}}):s.a.createElement("div",{ref:function(t){e.containerNode=t},style:this.props.containerStyle,dangerouslySetInnerHTML:{__html:'
'}})},Object(r.a)(t,e),t}(s.a.Component);l.displayName="YUIWidget",l.contextTypes={widgetStore:i.a.instanceOf(u.a)},t.a=l},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return i}),n.d(t,"c",function(){return a});var r=n(109),o="promo",i="attention",a="warning";t.d=function(e,t){void 0===t&&(t=a),Object(r.a)("rg-header-notify",function(n){n.rg.notify(e,t)})}},function(e,t,n){"use strict";var r=n(1),o=(n.n(r),n(0)),i=n.n(o),a=n(70),s=n(7);t.a=Object(s.compose)(Object(s.withProps)(function(e){var t,n=e.error,r=n.message,o=n.errors;if(o)if(Array.isArray(o)&&o.length>0&&"string"==typeof o[0])t=o[0];else{var i=Array.isArray(o)?o:Object.values(o);i&&i.length>0&&(Array.isArray(i[0])?t=i[0][0]:"string"==typeof i[0]&&(t=i[0]))}else r&&(t=r);return{title:"An error occurred",description:t}}))(function(e){var t=e.title,n=e.description;return i.a.createElement(a.a,{title:t,description:n})})},function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"d",function(){return c}),n.d(t,"b",function(){return l}),n.d(t,"c",function(){return f}),n.d(t,"g",function(){return p}),n.d(t,"e",function(){return d}),n.d(t,"h",function(){return h}),n.d(t,"f",function(){return m});var r=n(26),o=n.n(r),i=n(51),a=n(483),s=n(23),u="archived",c="public",l="collaborators",f="collaboratorsAndViewers",p=function(e,t){var n=t.projectId;return o()(e,["projectsProjects",n],{})},d=function(e,t){return o()(p(e,t),"isFollowing",!1)},h=function(e,t){var n=p(e,t),r=t.defaultProfileImage,o=t.extraUrlParams;return n.collaborators.map(function(t){if(t.accountId){var n=Object(i.c)(e,{accountId:t.accountId});return n.type===i.a?null:{name:n.fullName,url:n.accountURL?Object(s.a)(n.accountURL,o):"",imageUrl:n.profile.imageURL,isAccount:!0}}if(t.authorUid){var u=Object(a.a)(e,{authorUid:t.authorUid});return{name:u.authorName,url:Object(s.a)(u.authorURL,o),imageUrl:r,isAccount:!1,collaboratorId:t.collaboratorId,email:t.email}}return{name:t.name,url:"",imageUrl:r,isAccount:!1,collaboratorId:t.collaboratorId,email:t.email}}).filter(function(e){return!!e})},m=function(e,t){return function(e,t){return o()(p(e,t),"collaborators",[])}(e,t).length}},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(2071)},function(e,t,n){"use strict";t.a=a;var r=n(1),o=n.n(r),i=n(1248);function a(e,t,n){var r=e[t];if(void 0!==r&&null!==r){var o,a=!1;if("string"==typeof r||r instanceof URL)if(""===r)a=!0;else{try{var s=new URL(r,location.protocol+"//"+location.host);Object(i.a)(s.toString())||(a=!0)}catch(e){a=!0}}else a=!0;return a&&(o=new TypeError("Invalid `"+t+"` of type `"+typeof r+"` supplied to `"+n+"`, expected types non-empty string or URL.")),o}}a.isRequired=function(e,t,n){return void 0===e[t]||null===e[t]?new TypeError("`"+t+"` is marked as required in `"+n+"`"):a(e,t,n)};o.a.shape({isOpen:o.a.bool.isRequired,onRequestClose:o.a.func.isRequired,scope:o.a.oneOf(["local"]).isRequired}).isRequired},function(e,t,n){"use strict";var r=n(1),o=(n.n(r),n(0)),i=n.n(o),a=n(2),s=function(e){var t=e.title,n=e.description,r=e.color;return i.a.createElement(a.Alert,{title:t,description:n,color:r},i.a.createElement(a.Icon,{size:"l",identifier:"check-circle"}))};s.defaultProps={description:"",color:"green"},t.a=s},function(e,t,n){var r;r=function(){"use strict";var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:K(e)}function r(e){return s(e)?e:W(e)}function o(e){return u(e)?e:H(e)}function i(e){return a(e)&&!c(e)?e:Q(e)}function a(e){return!(!e||!e[f])}function s(e){return!(!e||!e[p])}function u(e){return!(!e||!e[d])}function c(e){return s(e)||u(e)}function l(e){return!(!e||!e[h])}t(r,n),t(o,n),t(i,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=u,n.isAssociative=c,n.isOrdered=l,n.Keyed=r,n.Indexed=o,n.Set=i;var f="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",d="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",m=5,v=1<>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?S(e)+t:t}function P(){return!0}function C(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function x(e,t){return A(e,t,0)}function j(e,t){return A(e,t,t)}function A(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var k=0,N=1,R=2,D="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",M=D||L;function F(e){this.next=e}function U(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function B(){return{value:void 0,done:!0}}function z(e){return!!q(e)}function V(e){return e&&"function"==typeof e.next}function Y(e){var t=q(e);return t&&t.call(e)}function q(e){var t=e&&(D&&e[D]||e[L]);if("function"==typeof t)return t}function G(e){return e&&"number"==typeof e.length}function K(e){return null===e||void 0===e?ie():a(e)?e.toSeq():function(e){var t=ue(e)||"object"==typeof e&&new te(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}(e)}function W(e){return null===e||void 0===e?ie().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():ae(e)}function H(e){return null===e||void 0===e?ie():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():se(e)}function Q(e){return(null===e||void 0===e?ie():a(e)?s(e)?e.entrySeq():e:se(e)).toSetSeq()}F.prototype.toString=function(){return"[Iterator]"},F.KEYS=k,F.VALUES=N,F.ENTRIES=R,F.prototype.inspect=F.prototype.toSource=function(){return this.toString()},F.prototype[M]=function(){return this},t(K,n),K.of=function(){return K(arguments)},K.prototype.toSeq=function(){return this},K.prototype.toString=function(){return this.__toString("Seq {","}")},K.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},K.prototype.__iterate=function(e,t){return ce(this,e,t,!0)},K.prototype.__iterator=function(e,t){return le(this,e,t,!0)},t(W,K),W.prototype.toKeyedSeq=function(){return this},t(H,K),H.of=function(){return H(arguments)},H.prototype.toIndexedSeq=function(){return this},H.prototype.toString=function(){return this.__toString("Seq [","]")},H.prototype.__iterate=function(e,t){return ce(this,e,t,!1)},H.prototype.__iterator=function(e,t){return le(this,e,t,!1)},t(Q,K),Q.of=function(){return Q(arguments)},Q.prototype.toSetSeq=function(){return this},K.isSeq=oe,K.Keyed=W,K.Set=Q,K.Indexed=H;var J,$,X,Z="@@__IMMUTABLE_SEQ__@@";function ee(e){this._array=e,this.size=e.length}function te(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function ne(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[Z])}function ie(){return J||(J=new ee([]))}function ae(e){var t=Array.isArray(e)?new ee(e).fromEntrySeq():V(e)?new re(e).fromEntrySeq():z(e)?new ne(e).fromEntrySeq():"object"==typeof e?new te(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function se(e){var t=ue(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){return G(e)?new ee(e):V(e)?new re(e):z(e)?new ne(e):void 0}function ce(e,t,n,r){var o=e._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function le(e,t,n,r){var o=e._cache;if(o){var i=o.length-1,a=0;return new F(function(){var e=o[n?i-a:a];return a++>i?{value:void 0,done:!0}:U(t,r?e[0]:a-1,e[1])})}return e.__iteratorUncached(t,n)}function fe(e,t){return t?function e(t,n,r,o){if(Array.isArray(n))return t.call(o,r,H(n).map(function(r,o){return e(t,r,o,n)}));if(de(n))return t.call(o,r,W(n).map(function(r,o){return e(t,r,o,n)}));return n}(t,e,"",{"":e}):pe(e)}function pe(e){return Array.isArray(e)?H(e).map(pe).toList():de(e)?W(e).map(pe).toMap():e}function de(e){return e&&(e.constructor===Object||void 0===e.constructor)}function he(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function me(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||u(e)!==u(t)||l(e)!==l(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(l(e)){var r=e.entries();return t.every(function(e,t){var o=r.next().value;return o&&he(o[1],e)&&(n||he(o[0],t))})&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var i=e;e=t,t=i}var f=!0,p=t.__iterate(function(t,r){if(n?!e.has(t):o?!he(t,e.get(r,g)):!he(e.get(r,g),t))return f=!1,!1});return f&&e.size===p}function ve(e,t){if(!(this instanceof ve))return new ve(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if($)return $;$=this}}function ye(e,t){if(!e)throw new Error(t)}function ge(e,t,n){if(!(this instanceof ge))return new ge(e,t,n);if(ye(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),tr?{value:void 0,done:!0}:U(e,o,n[t?r-o++:o++])})},t(te,W),te.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},te.prototype.has=function(e){return this._object.hasOwnProperty(e)},te.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[t?o-i:i];if(!1===e(n[a],a,this))return i+1}return i},te.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,i=0;return new F(function(){var a=r[t?o-i:i];return i++>o?{value:void 0,done:!0}:U(e,a,n[a])})},te.prototype[h]=!0,t(ne,H),ne.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=Y(this._iterable),r=0;if(V(n))for(var o;!(o=n.next()).done&&!1!==e(o.value,r++,this););return r},ne.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=Y(this._iterable);if(!V(n))return new F(B);var r=0;return new F(function(){var t=n.next();return t.done?t:U(e,r++,t.value)})},t(re,H),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return U(e,o,r[o++])})},t(ve,H),ve.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ve.prototype.get=function(e,t){return this.has(e)?this._value:t},ve.prototype.includes=function(e){return he(this._value,e)},ve.prototype.slice=function(e,t){var n=this.size;return C(e,t,n)?this:new ve(this._value,j(t,n)-x(e,n))},ve.prototype.reverse=function(){return this},ve.prototype.indexOf=function(e){return he(this._value,e)?0:-1},ve.prototype.lastIndexOf=function(e){return he(this._value,e)?this.size:-1},ve.prototype.__iterate=function(e,t){for(var n=0;n1?" by "+this._step:"")+" ]"},ge.prototype.get=function(e,t){return this.has(e)?this._start+I(this,e)*this._step:t},ge.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t=0&&nn?{value:void 0,done:!0}:U(e,i++,a)})},ge.prototype.equals=function(e){return e instanceof ge?this._start===e._start&&this._end===e._end&&this._step===e._step:me(this,e)},t(be,n),t(Ee,be),t(Oe,be),t(we,be),be.Keyed=Ee,be.Indexed=Oe,be.Set=we;var _e="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Te(e){return e>>>1&1073741824|3221225471&e}function Se(e){if(!1===e||null===e||void 0===e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null===e||void 0===e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Te(n)}if("string"===t)return e.length>Ne?function(e){var t=Le[e];void 0===t&&(t=Ie(e),De===Re&&(De=0,Le={}),De++,Le[e]=t);return t}(e):Ie(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return function(e){var t;if(je&&void 0!==(t=xe.get(e)))return t;if(void 0!==(t=e[ke]))return t;if(!Ce){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[ke]))return t;if(void 0!==(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e)))return t}t=++Ae,1073741824&Ae&&(Ae=0);if(je)xe.set(e,t);else{if(void 0!==Pe&&!1===Pe(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ce)Object.defineProperty(e,ke,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[ke]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[ke]=t}}return t}(e);if("function"==typeof e.toString)return Ie(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Ie(e){for(var t=0,n=0;n>>n)&y,s=(0===n?r:r>>>n)&y;return new qe(t,1<>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function ut(e,t,n,r){var o=r?e:T(e);return o[t]=n,o}Ve[ze]=!0,Ve.delete=Ve.remove,Ve.removeIn=Ve.deleteIn,Ye.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i=ct)return function(e,t,n,r){e||(e=new _);for(var o=new We(e,Se(n),[n,r]),i=0;i>>e)&y),i=this.bitmap;return 0==(i&o)?r:this.nodes[st(i&o-1)].get(e+m,t,n,r)},qe.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=Se(r));var s=(0===t?n:n>>>t)&y,u=1<=lt)return function(e,t,n,r,o){for(var i=0,a=new Array(v),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[i++]:void 0;return a[r]=o,new Ge(e,i+1,a)}(e,p,c,s,h);if(l&&!h&&2===p.length&&tt(p[1^f]))return p[1^f];if(l&&h&&1===p.length&&tt(h))return h;var b=e&&e===this.ownerID,E=l?h?c:c^u:c|u,O=l?h?ut(p,f,h,b):function(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),i=0,a=0;a>>e)&y,i=this.nodes[o];return i?i.get(e+m,t,n,r):r},Ge.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=Se(r));var s=(0===t?n:n>>>t)&y,u=o===g,c=this.nodes,l=c[s];if(u&&!l)return this;var f=et(l,e,t+m,n,r,o,i,a);if(f===l)return this;var p=this.count;if(l){if(!f&&--p0&&r=0&&e=e.size||t<0)return e.withMutations(function(e){t<0?It(e,t).set(0,n):It(e,0,t+1).set(t,n)});t+=e._origin;var r=e._tail,o=e._root,i=O(E);t>=Ct(e._capacity)?r=_t(r,e.__ownerID,0,t,n,i):o=_t(o,e.__ownerID,e._level,t,n,i);if(!i.value)return e;if(e.__ownerID)return e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e;return Ot(e._origin,e._capacity,e._level,o,r)}(this,e,t)},pt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},pt.prototype.insert=function(e,t){return this.splice(e,0,t)},pt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=m,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):wt()},pt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations(function(n){It(n,0,t+e.length);for(var r=0;r>>t&y;if(r>=this.array.length)return new vt([],e);var o,i=0===r;if(t>0){var a=this.array[r];if((o=a&&a.removeBefore(e,t-m,n))===a&&i)return this}if(i&&!o)return this;var s=Tt(this,e);if(!i)for(var u=0;u>>t&y;if(o>=this.array.length)return this;if(t>0){var i=this.array[o];if((r=i&&i.removeAfter(e,t-m,n))===i&&o===this.array.length-1)return this}var a=Tt(this,e);return a.array.splice(o+1),r&&(a.array[o]=r),a};var yt,gt,bt={};function Et(e,t){var n=e._origin,r=e._capacity,o=Ct(r),i=e._tail;return a(e._root,e._level,0);function a(e,s,u){return 0===s?function(e,a){var s=a===o?i&&i.array:e&&e.array,u=a>n?0:n-a,c=r-a;c>v&&(c=v);return function(){if(u===c)return bt;var e=t?--c:u++;return s&&s[e]}}(e,u):function(e,o,i){var s,u=e&&e.array,c=i>n?0:n-i>>o,l=1+(r-i>>o);l>v&&(l=v);return function(){for(;;){if(s){var e=s();if(e!==bt)return e;s=null}if(c===l)return bt;var n=t?--l:c++;s=a(u&&u[n],o-m,i+(n<>>n&y,u=e&&s0){var c=e&&e.array[s],l=_t(c,t,n-m,r,o,i);return l===c?e:((a=Tt(e,t)).array[s]=l,a)}return u&&e.array[s]===o?e:(w(i),a=Tt(e,t),void 0===o&&s===a.array.length-1?a.array.pop():a.array[s]=o,a)}function Tt(e,t){return t&&e&&t===e.ownerID?e:new vt(e?e.array.slice():[],t)}function St(e,t){if(t>=Ct(e._capacity))return e._tail;if(t<1<0;)n=n.array[t>>>r&y],r-=m;return n}}function It(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new _,o=e._origin,i=e._capacity,a=o+t,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return e;if(a>=s)return e.clear();for(var u=e._level,c=e._root,l=0;a+l<0;)c=new vt(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=m);l&&(a+=l,o+=l,s+=l,i+=l);for(var f=Ct(i),p=Ct(s);p>=1<f?new vt([],r):d;if(d&&p>f&&am;g-=m){var b=f>>>g&y;v=v.array[b]=Tt(v.array[b],r)}v.array[f>>>m&y]=d}if(s=p)a-=p,s-=p,u=m,c=null,h=h&&h.removeBefore(r,0,a);else if(a>o||p>>u&y;if(E!==p>>>u&y)break;E&&(l+=(1<o&&(c=c.removeBefore(r,u,a-l)),c&&pi&&(i=c.size),a(u)||(c=c.map(function(e){return fe(e)})),r.push(c)}return i>e.size&&(e=e.setSize(i)),at(e,t,r)}function Ct(e){return e>>m<=v&&a.size>=2*i.size?(r=(o=a.filter(function(e,t){return void 0!==e&&s!==t})).toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=i.remove(t),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=i,o=a.set(s,[t,n])}else r=i.set(t,a.size),o=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):At(r,o)}function Rt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Dt(e){this._iter=e,this.size=e.size}function Lt(e){this._iter=e,this.size=e.size}function Mt(e){this._iter=e,this.size=e.size}function Ft(e){var t=Zt(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=en,t.__iterateUncached=function(t,n){var r=this;return e.__iterate(function(e,n){return!1!==t(n,e,r)},n)},t.__iteratorUncached=function(t,n){if(t===R){var r=e.__iterator(t,n);return new F(function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e})}return e.__iterator(t===N?k:N,n)},t}function Ut(e,t,n){var r=Zt(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,g);return i===g?o:t.call(n,i,r,e)},r.__iterateUncached=function(r,o){var i=this;return e.__iterate(function(e,o,a){return!1!==r(t.call(n,e,o,a),o,i)},o)},r.__iteratorUncached=function(r,o){var i=e.__iterator(R,o);return new F(function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return U(r,s,t.call(n,a[1],s,e),o)})},r}function Bt(e,t){var n=Zt(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Ft(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=en,n.__iterate=function(t,n){var r=this;return e.__iterate(function(e,n){return t(e,n,r)},!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function zt(e,t,n,r){var o=Zt(e);return r&&(o.has=function(r){var o=e.get(r,g);return o!==g&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,g);return i!==g&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return e.__iterate(function(e,i,u){if(t.call(n,e,i,u))return s++,o(e,r?i:s-1,a)},i),s},o.__iteratorUncached=function(o,i){var a=e.__iterator(R,i),s=0;return new F(function(){for(;;){var i=a.next();if(i.done)return i;var u=i.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return U(o,r?c:s++,l,i)}})},o}function Vt(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),C(t,n,o))return e;var i=x(t,o),a=j(n,o);if(i!=i||a!=a)return Vt(e.toSeq().cacheResult(),t,n,r);var s,u=a-i;u==u&&(s=u<0?0:u);var c=Zt(e);return c.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=I(this,t))>=0&&ts)return{value:void 0,done:!0};var e=o.next();return r||t===N?e:U(t,u-1,t===k?void 0:e.value[1],e)})},c}function Yt(e,t,n,r){var o=Zt(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,u=0;return e.__iterate(function(e,i,c){if(!s||!(s=t.call(n,e,i,c)))return u++,o(e,r?i:u-1,a)}),u},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator(R,i),u=!0,c=0;return new F(function(){var e,i,l;do{if((e=s.next()).done)return r||o===N?e:U(o,c++,o===k?void 0:e.value[1],e);var f=e.value;i=f[0],l=f[1],u&&(u=t.call(n,l,i,a))}while(u);return o===R?e:U(o,i,l,e)})},o}function qt(e,t,n){var r=Zt(e);return r.__iterateUncached=function(r,o){var i=0,s=!1;return function e(u,c){var l=this;u.__iterate(function(o,u){return(!t||c0}function Ht(e,t,r){var o=Zt(e);return o.size=new ee(r).map(function(e){return e.size}).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(N,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var i=r.map(function(e){return e=n(e),Y(o?e.reverse():e)}),a=0,s=!1;return new F(function(){var n;return s||(n=i.map(function(e){return e.next()}),s=n.some(function(e){return e.done})),s?{value:void 0,done:!0}:U(e,a++,t.apply(null,n.map(function(e){return e.value})))})},o}function Qt(e,t){return oe(e)?t:e.constructor(t)}function Jt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function $t(e){return Me(e.size),S(e)}function Xt(e){return s(e)?r:u(e)?o:i}function Zt(e){return Object.create((s(e)?W:u(e)?H:Q).prototype)}function en(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):K.prototype.cacheResult.call(this)}function tn(e,t){return e>t?1:e=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Pn(e,t)},wn.prototype.pushAll=function(e){if(0===(e=o(e)).size)return this;Me(e.size);var t=this.size,n=this._head;return e.reverse().forEach(function(e){t++,n={value:e,next:n}}),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Pn(t,n)},wn.prototype.pop=function(){return this.slice(1)},wn.prototype.unshift=function(){return this.push.apply(this,arguments)},wn.prototype.unshiftAll=function(e){return this.pushAll(e)},wn.prototype.shift=function(){return this.pop.apply(this,arguments)},wn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Cn()},wn.prototype.slice=function(e,t){if(C(e,t,this.size))return this;var n=x(e,this.size);if(j(t,this.size)!==this.size)return Oe.prototype.slice.call(this,e,t);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Pn(r,o)},wn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Pn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},wn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},wn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new F(function(){if(r){var t=r.value;return r=r.next,U(e,n++,t)}return{value:void 0,done:!0}})},wn.isStack=_n;var Tn,Sn="@@__IMMUTABLE_STACK__@@",In=wn.prototype;function Pn(e,t,n,r){var o=Object.create(In);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Cn(){return Tn||(Tn=Pn(0))}function xn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}In[Sn]=!0,In.withMutations=Ve.withMutations,In.asMutable=Ve.asMutable,In.asImmutable=Ve.asImmutable,In.wasAltered=Ve.wasAltered,n.Iterator=F,xn(n,{toArray:function(){Me(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate(function(t,n){e[n]=t}),e},toIndexedSeq:function(){return new Dt(this)},toJS:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJS?e.toJS():e}).__toJS()},toJSON:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e}).__toJS()},toKeyedSeq:function(){return new Rt(this,!0)},toMap:function(){return Fe(this.toKeyedSeq())},toObject:function(){Me(this.size);var e={};return this.__iterate(function(t,n){e[n]=t}),e},toOrderedMap:function(){return xt(this.toKeyedSeq())},toOrderedSet:function(){return vn(s(this)?this.valueSeq():this)},toSet:function(){return un(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Lt(this)},toSeq:function(){return u(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return wn(s(this)?this.valueSeq():this)},toList:function(){return pt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return Qt(this,function(e,t){var n=s(e),o=[e].concat(t).map(function(e){return a(e)?n&&(e=r(e)):e=n?ae(e):se(Array.isArray(e)?e:[e]),e}).filter(function(e){return 0!==e.size});if(0===o.length)return e;if(1===o.length){var i=o[0];if(i===e||n&&s(i)||u(e)&&u(i))return i}var c=new ee(o);return n?c=c.toKeyedSeq():u(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=o.reduce(function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}},0),c}(this,e.call(arguments,0)))},includes:function(e){return this.some(function(t){return he(t,e)})},entries:function(){return this.__iterator(R)},every:function(e,t){Me(this.size);var n=!0;return this.__iterate(function(r,o,i){if(!e.call(t,r,o,i))return n=!1,!1}),n},filter:function(e,t){return Qt(this,zt(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate(function(r,o,i){if(e.call(t,r,o,i))return n=[o,r],!1}),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Me(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Me(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate(function(r){n?n=!1:t+=e,t+=null!==r&&void 0!==r?r.toString():""}),t},keys:function(){return this.__iterator(k)},map:function(e,t){return Qt(this,Ut(this,e,t))},reduce:function(e,t,n){var r,o;return Me(this.size),arguments.length<2?o=!0:r=t,this.__iterate(function(t,i,a){o?(o=!1,r=t):r=e.call(n,r,t,i,a)}),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Qt(this,Bt(this,!0))},slice:function(e,t){return Qt(this,Vt(this,e,t,!0))},some:function(e,t){return!this.every(Rn(e),t)},sort:function(e){return Qt(this,Gt(this,e))},values:function(){return this.__iterator(N)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(e,t){return S(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var r=Fe().asMutable();return e.__iterate(function(o,i){r.update(t.call(n,o,i,e),0,function(e){return e+1})}),r.asImmutable()}(this,e,t)},equals:function(e){return me(this,e)},entrySeq:function(){var e=this;if(e._cache)return new ee(e._cache);var t=e.toSeq().map(Nn).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Rn(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(P)},flatMap:function(e,t){return Qt(this,function(e,t,n){var r=Xt(e);return e.toSeq().map(function(o,i){return r(t.call(n,o,i,e))}).flatten(!0)}(this,e,t))},flatten:function(e){return Qt(this,qt(this,e,!0))},fromEntrySeq:function(){return new Mt(this)},get:function(e,t){return this.find(function(t,n){return he(n,e)},void 0,t)},getIn:function(e,t){for(var n,r=this,o=nn(e);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,g):g)===g)return t}return r},groupBy:function(e,t){return function(e,t,n){var r=s(e),o=(l(e)?xt():Fe()).asMutable();e.__iterate(function(i,a){o.update(t.call(n,i,a,e),function(e){return(e=e||[]).push(r?[a,i]:i),e})});var i=Xt(e);return o.map(function(t){return Qt(e,i(t))})}(this,e,t)},has:function(e){return this.get(e,g)!==g},hasIn:function(e){return this.getIn(e,g)!==g},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every(function(t){return e.includes(t)})},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(kn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return Kt(this,e)},maxBy:function(e,t){return Kt(this,t,e)},min:function(e){return Kt(this,e?Dn(e):Fn)},minBy:function(e,t){return Kt(this,t?Dn(t):Fn,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return Qt(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return Qt(this,Yt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Rn(e),t)},sortBy:function(e,t){return Qt(this,Gt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return Qt(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return Qt(this,function(e,t,n){var r=Zt(e);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return e.__iterate(function(e,o,s){return t.call(n,e,o,s)&&++a&&r(e,o,i)}),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=e.__iterator(R,o),s=!0;return new F(function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var o=e.value,u=o[0],c=o[1];return t.call(n,c,u,i)?r===R?e:U(r,u,c,e):(s=!1,{value:void 0,done:!0})})},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Rn(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0;var t=l(e),n=s(e),r=t?1:0;return function(e,t){return t=_e(t,3432918353),t=_e(t<<15|t>>>-15,461845907),t=_e(t<<13|t>>>-13,5),t=_e((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=Te((t=_e(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){r=31*r+Un(Se(e),Se(t))|0}:function(e,t){r=r+Un(Se(e),Se(t))|0}:t?function(e){r=31*r+Se(e)|0}:function(e){r=r+Se(e)|0}),r)}(this))}});var jn=n.prototype;jn[f]=!0,jn[M]=jn.values,jn.__toJS=jn.toArray,jn.__toStringMapper=Ln,jn.inspect=jn.toSource=function(){return this.toString()},jn.chain=jn.flatMap,jn.contains=jn.includes,function(){try{Object.defineProperty(jn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),xn(r,{flip:function(){return Qt(this,Ft(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey(function(t){return he(t,e)})},lastKeyOf:function(e){return this.findLastKey(function(t){return he(t,e)})},mapEntries:function(e,t){var n=this,r=0;return Qt(this,this.toSeq().map(function(o,i){return e.call(t,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Qt(this,this.toSeq().flip().map(function(r,o){return e.call(t,r,o,n)}).flip())}});var An=r.prototype;function kn(e,t){return t}function Nn(e,t){return[t,e]}function Rn(e){return function(){return!e.apply(this,arguments)}}function Dn(e){return function(){return-e.apply(this,arguments)}}function Ln(e){return"string"==typeof e?JSON.stringify(e):e}function Mn(){return T(arguments)}function Fn(e,t){return et?-1:0}function Un(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return An[p]=!0,An[M]=jn.entries,An.__toJS=jn.toObject,An.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+Ln(e)},xn(o,{toKeyedSeq:function(){return new Rt(this,!1)},filter:function(e,t){return Qt(this,zt(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return Qt(this,Bt(this,!1))},slice:function(e,t){return Qt(this,Vt(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=x(e,e<0?this.count():this.size);var r=this.slice(0,e);return Qt(this,1===n?r:r.concat(T(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return Qt(this,qt(this,e,!1))},get:function(e,t){return(e=I(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find(function(t,n){return n===e},void 0,t)},has:function(e){return(e=I(this,e))>=0&&(void 0!==this.size?this.size===1/0||e=t||n<0||y&&e-m>=f}function O(){var e=o();if(E(e))return w(e);d=setTimeout(O,function(e){var n=t-(e-h);return y?u(n,f-(e-m)):n}(e))}function w(e){return d=void 0,g&&c?b(e):(c=l=void 0,p)}function _(){var e=o(),n=E(e);if(c=arguments,l=this,h=e,n){if(void 0===d)return function(e){return m=e,d=setTimeout(O,t),v?b(e):p}(h);if(y)return d=setTimeout(O,t),b(h)}return void 0===d&&(d=setTimeout(O,t)),p}return t=i(t)||0,r(n)&&(v=!!n.leading,f=(y="maxWait"in n)?s(i(n.maxWait)||0,t):f,g="trailing"in n?!!n.trailing:g),_.cancel=function(){void 0!==d&&clearTimeout(d),m=0,c=h=l=d=void 0},_.flush=function(){return void 0===d?p:w(o())},_}},,,function(e,t,n){"use strict";var r=n(1),o=n.n(r),i=n(628),a=n(30),s=n(1673),u=Object(a.a)(Object(s.a)()(i.a));u.propTypes={id:o.a.string.isRequired,context:o.a.string,iepl:o.a.object,qualifier:o.a.string,onLike:o.a.func,onUnLike:o.a.func,onClick:o.a.func},t.a=u},,function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"d",function(){return u}),n.d(t,"c",function(){return c}),n.d(t,"b",function(){return l});var r=n(26),o=n.n(r),i=n(28),a=(n.n(i),"business"),s={accountId:null,accountURL:"",canBeFollowed:null,fullName:"",isActive:null,type:"",isFollowedByCurrentUser:null,profile:{professionalInstitution:null,imageURL:"",imageURL2x:""},reputation:{score:null}},u=function(e){return e.accountsGlobalAccounts},c=function(e,t){var n=t.accountId;return o()(e,["accountsGlobalAccounts",n],s)},l=function(e){return Object(i.createSelector)([u,e],function(e,t){return Array.isArray(t)?t.map(function(t){return o()(e,t,s)}):o()(e,t,s)})}},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"e",function(){return s}),t.c=function(e){return e.accountsGlobalCurrentAccount.isAccountLoggedIn},t.d=function(e){return e.accountsGlobalCurrentAccount.isScientistLoggedIn},n.d(t,"a",function(){return u});var r=n(61),o=n.n(r),i=n(51),a=function(e){return e.accountsGlobalCurrentAccount.id},s=function(e){return Object(i.c)(e,{accountId:a(e)})};var u=function(e){return o()(["settings","allowPublicationDownloadDataUsage"],e.accountsGlobalCurrentAccount,!0)}},function(e,t,n){"use strict";t.c=function(e,t){return Object(r.a)(["rg-base"],function(n){n.on(e,t)}),function(){o(e,t)}},t.a=o,t.d=function(e,t){Object(r.a)(["rg-base"],function(n){n.once(e,t)})},t.b=function(e,t){Object(r.a)(["rg-base"],function(n){n.fire(e,t)})};var r=n(109);function o(e,t){Object(r.a)(["rg-base"],function(n){n.detach(e,t)})}},,,function(e,t,n){"use strict";t.g=function(e,t,n){return Object(r.default)("application.TrackLoading.html",{method:"GET",query:{slotId:e,type:t,millisecondsSinceRequestStart:n}}).then(function(e){return e.result})},t.f=function(){return Object(r.default)("application.PublicationDetailAdFallback.html",{method:"POST",body:{}}).then(function(e){return e.result})},t.c=function(e,t,n,o,i,a){return Object(r.default)("application.GoogleDfpSlot.countInteraction.html",{method:"GET",query:{slotId:e,adSlotReferrer:t,contentKey:n,lineItemId:o,creativeId:i,advertiserId:a}}).then(function(e){return e.result})},t.a=function(e,t,n,o,i){return Object(r.default)("application.GoogleDfpSlot.blacklistCreative.html",{method:"DELETE",body:{slotId:e,creativeId:t,lineItemId:n,contentKey:o,adSlotReferrer:i}}).then(function(e){return e.result})},t.e=function(e,t,n,o,i,a){return Object(r.default)("application.GoogleDfpSlot.markRelevantAd.html",{method:"POST",body:{slotId:e,creativeId:t,lineItemId:n,advertiserId:o,contentKey:i,adSlotReferrer:a}}).then(function(e){return e.result})},t.b=function(e){return Object(r.default)("application.GoogleDfpSlot.countImpression.html",{method:"GET",query:e}).then(function(e){return e.result})},t.d=function(e,t){return Object(r.default)("application.LotameSlot.getDmpData.html",{method:"GET",query:{rgKey:t}}).then(function(t){var n=t.result;if("object"==typeof _cc11780&&n.length>0){var r,o=i()(n,function(t){var n=t.key,r=t.value;return["act",e+"_"+n+" : "+r]});(r=_cc11780).bcpw.apply(r,o)}})};var r=n(10),o=n(276),i=n.n(o)},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),t.b=function(e){return function(t){o()(e)||t({type:i,data:e})}};var r=n(37),o=n.n(r),i="@@rg/MERGE_STATE"},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(u=new Error(t.replace(/%s/g,function(){return c[l++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o});var r={EXTERNAL_TYPE_DESCRIPTION:"description",EXTERNAL_TYPE_POST:"post",EXTERNAL_TYPE_REPLY:"reply",EXTERNAL_TYPE_PUBLICATION_KEY_FINDINGS:"publicationKeyFindings",EXTERNAL_TYPE_ANSWER:"answer",EXTERNAL_TYPE_QUESTION:"question",EXTERNAL_TYPE_OPEN_REVIEW:"openReview"},o={ATTACHMENT:"attachment",MENTION:"mention",PRODUCED:"produced",HIGHLIGHT:"highlight",RELATED:"related",REFERENCE:"reference"}},,function(e,t,n){var r=n(156)("get",n(26));r.placeholder=n(147),e.exports=r},function(e,t,n){var r=n(81),o=0;e.exports=function(e){var t=++o;return r(e)+t}},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return o});var r=function(e,t){return t.uploads[e]?t.uploads[e].fileList:[]},o=function(e,t){return t.uploads[e]||{uploadState:{}}}},function(e,t,n){"use strict";t.a=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1),t}),s(e,l(e),n),c&&(n=o(n,7,u));for(var f=t.length;f--;)i(n,t[f]);return n});e.exports=f},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t * {\n mix-blend-mode: multiply\n}",document.head.appendChild(e)),function(e,t){var n=t?t.concat().reduce(function(e,t){return t.charCodeAt(0)+e},0):"",r=p+"-"+e+n,o=document.querySelector("style[data-"+r+"]");if(o)o.dataset[l()(r)]=parseInt(o.dataset[l()(r)],10)+1;else{var i=Object(s.b)(t).split(" "),a=parseInt(i[0],10),u=parseInt(i[1],10),c=parseInt(i[2],10),f=parseInt(i[3],10),d={marginTop:Math.max(0,-a)+i[0].replace(a,""),marginRight:Math.max(0,100- -u)+i[1].replace(u,""),marginBottom:Math.max(0,100- -c)+i[2].replace(c,""),marginLeft:Math.max(0,-f)+i[3].replace(f,"")},h=[];if(a||c){var m="url("+v+"), linear-gradient(rgba(0,0,0,.5) {{marginTop}}, #000 {{marginTop}}, #000 {{marginBottom}}, rgba(0,0,0,.5) {{marginBottom}})";h.push(m.replace(/\{\{(marginTop|marginBottom)\}\}/g,function(e,t){return d[t]}))}if(f||u){var y="url("+v+"), linear-gradient(to right, rgba(0,0,0,.5) {{marginLeft}}, #000 {{marginLeft}}, #000 {{marginRight}}, rgba(0,0,0,.5) {{marginRight}})";h.push(y.replace(/\{\{(marginLeft|marginRight)\}\}/g,function(e,t){return d[t]}))}var g=h.join(",");(o=document.createElement("style")).dataset[l()(r)]=1,o.innerHTML="\n.intersection-observer-debugger--with-margin_"+e+n+"::before {\n pointer-events: none;\n content: '';\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: fixed;\n background: #fff;\n mix-blend-mode: overlay;\n -webkit-mask-image: "+g+";\n mask-image: "+g+"\n}",document.head.appendChild(o)}}(this.rootName,this.props.rootMargin)},n.componentWillUnmount=function(){var e;0==--y&&(e=document.querySelector("style[data-"+p+"]"))&&e.parentNode.removeChild(e),function(e,t){var n=t?t.concat().reduce(function(e,t){return t.charCodeAt(0)+e},0):"",r=p+"-"+e+n,o=document.querySelector("style[data-"+r+"]");if(o){if(o.dataset[l()(r)]>1)return void(o.dataset[l()(r)]=parseInt(o.dataset[l()(r)],10)-1);o.parentNode.removeChild(o)}}(this.rootName,this.props.rootMargin)},n.render=function(){var e,t=this.props,n=(t.onChange,t.children),r=Object(u.a)(t,["onChange","children"]),o=this.state.isIntersecting,i=r.root,c=r.rootMargin,l="intersection-observer-debugger",f={className:l},p=((e={})["data-root"]=this.rootName,e);if(this.rootName="Window",i&&(this.rootName=("string"==typeof i?document.querySelector(i):i).match(/\[.+\s(\w+)\]/)[1]),c&&o){if(Object(s.b)(c).split(" ").some(function(e){return parseInt(e,10)})){var d=c.concat().reduce(function(e,t){return t.charCodeAt(0)+e},0);f.className+=" "+l+"--with-margin "+l+"--with-margin_"+this.rootName+d}p["data-root-margin"]=c}return a.a.createElement("div",f,o&&a.a.createElement("div",Object.assign({className:"intersection-observer-debugger-meta"},p)),a.a.createElement(s.a,Object.assign({},r,{onChange:this.handleDelegateChange}),n))},Object(r.a)(t,e),t}(i.Component);g.displayName="IntersectionObserverDebugger",n.d(t,"a",function(){return E});var b=s.a;RGCommons.debug.addReadyListener(function(){RGCommons.debug.addListener("intersectionObserver:switch",function(e){b=e?g:s.a})});var E=function(e){function t(){for(var t,n,r=arguments.length,i=new Array(r),a=0;a0)return!1;return e===t.get("accountId")},t.k=function(e,t,n){return u(e,n)&&t.get("rootId")===n.rgKey&&t.get("parentId")!==n.conversationKeys.default},t.i=function(e,t){return function(e){var t=e.get("externalType");return r.a.hasOwnProperty(t)&&!0===r.a[t]}(t)&&s(e,t)},t.m=function(e,t){return!s(e,t)},t.h=function(e,t){return s(e,t)},t.e=function(e,t){return s(e,t)},t.l=function(e,t){return!s(e,t)},t.j=function(e,t){if(!t)return!1;return!u(e,t)},t.n=u,t.b=function(e,t){return u(e,t)},t.a=function(e,t){return u(e,t)},t.f=function(e,t){return u(e,t)},t.c=function(e,t){return a(e)&&t.visibility===i.d};var r=n(261),o=n(59),i=n(41);function a(e){return!!e&&e>0}function s(e,t){return a(e)&&e===t.get("accountId")}function u(e,t){return a(e)&&t.collaborators&&-1!==t.collaborators.findIndex(function(t){return t.accountId===e})}},,function(e,t,n){"use strict";n.d(t,"a",function(){return F});var r=n(0),o=n.n(r),i=n(1),a=n.n(i),s=n(42),u=(n.n(s),n(1589)),c=n.n(u),l=n(24),f=n.n(l);function p(e){var t=e.onMouseDown;return o.a.createElement("span",{className:"Select-arrow",onMouseDown:t})}p.propTypes={onMouseDown:a.a.func};var d=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}];function h(e){for(var t=0;t-1)return!1;if(r.filterOption)return r.filterOption.call(o,e,t);if(!t)return!0;var i=String(e[r.valueKey]),a=String(e[r.labelKey]);return r.ignoreAccents&&("label"!==r.matchProp&&(i=h(i)),"value"!==r.matchProp&&(a=h(a))),r.ignoreCase&&("label"!==r.matchProp&&(i=i.toLowerCase()),"value"!==r.matchProp&&(a=a.toLowerCase())),"start"===r.matchPos?"label"!==r.matchProp&&i.substr(0,t.length)===t||"value"!==r.matchProp&&a.substr(0,t.length)===t:"label"!==r.matchProp&&i.indexOf(t)>=0||"value"!==r.matchProp&&a.indexOf(t)>=0})}function v(e){var t=e.focusedOption,n=e.focusOption,r=e.inputValue,i=e.instancePrefix,a=(e.labelKey,e.onFocus),s=e.onOptionRef,u=e.onSelect,c=e.optionClassName,l=e.optionComponent,p=e.optionGroupComponent,d=e.optionRenderer,h=e.options,m=e.removeValue,v=e.selectValue,y=e.valueArray,g=e.valueKey,b=p,E=l,O=d||this.getOptionLabel;return function e(l){return l.map(function(l,p){if(function(e){return e&&Array.isArray(e.options)}(l)){var d=f()({"Select-option-group":!0});return o.a.createElement(b,{className:d,key:"option-group-"+p,label:O(l),option:l,optionIndex:p},e(l.options))}var h=y&&y.indexOf(l)>-1,w=l===t,_=f()(c,{"Select-option":!0,"is-selected":h,"is-focused":w,"is-disabled":l.disabled});return o.a.createElement(E,{className:_,focusOption:n,inputValue:r,instancePrefix:i,isDisabled:l.disabled,isFocused:w,isSelected:h,key:"option-"+p+"-"+l[g],onFocus:a,onSelect:u,option:l,optionIndex:p,ref:function(e){s(e,w)},removeValue:m,selectValue:v},O(l,p))})}(h)}var y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g=(function(){function e(e){this.value=e}function t(t){var n,r;function o(n,r){try{var a=t[n](r),s=a.value;s instanceof e?Promise.resolve(s.value).then(function(e){o("next",e)},function(e){o("throw",e)}):i(a.done?"return":"normal",a.value)}catch(e){i("throw",e)}}function i(e,t){switch(e){case"return":n.resolve({value:t,done:!0});break;case"throw":n.reject(t);break;default:n.resolve({value:t,done:!1})}(n=n.next)?o(n.key,n.arg):r=null}this._invoke=function(e,t){return new Promise(function(i,a){var s={key:e,arg:t,resolve:i,reject:a,next:null};r?r=r.next=s:(n=r=s,o(e,t))})},"function"!=typeof t.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),b=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},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},S=function(e){function t(){return g(this,t),T(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return w(t,e),b(t,[{key:"render",value:function(){return this.props.children}}]),t}(o.a.Component);S.propTypes={children:a.a.node};var I=function(e){function t(e){g(this,t);var n=T(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleMouseDown=n.handleMouseDown.bind(n),n.handleMouseEnter=n.handleMouseEnter.bind(n),n.handleMouseMove=n.handleMouseMove.bind(n),n.handleTouchStart=n.handleTouchStart.bind(n),n.handleTouchEnd=n.handleTouchEnd.bind(n),n.handleTouchMove=n.handleTouchMove.bind(n),n.onFocus=n.onFocus.bind(n),n}return w(t,e),b(t,[{key:"blockEvent",value:function(e){e.preventDefault(),e.stopPropagation(),"A"===e.target.tagName&&"href"in e.target&&(e.target.target?window.open(e.target.href,e.target.target):window.location.href=e.target.href)}},{key:"handleMouseDown",value:function(e){e.preventDefault(),e.stopPropagation(),this.props.onSelect(this.props.option,e)}},{key:"handleMouseEnter",value:function(e){this.onFocus(e)}},{key:"handleMouseMove",value:function(e){this.onFocus(e)}},{key:"handleTouchEnd",value:function(e){this.dragging||this.handleMouseDown(e)}},{key:"handleTouchMove",value:function(e){this.dragging=!0}},{key:"handleTouchStart",value:function(e){this.dragging=!1}},{key:"onFocus",value:function(e){this.props.isFocused||this.props.onFocus(this.props.option,e)}},{key:"render",value:function(){var e=this.props,t=e.option,n=e.instancePrefix,r=e.optionIndex,i=f()(this.props.className,t.className);return t.disabled?o.a.createElement("div",{className:i,onMouseDown:this.blockEvent,onClick:this.blockEvent},this.props.children):o.a.createElement("div",{className:i,style:t.style,role:"option","aria-label":t.label,onMouseDown:this.handleMouseDown,onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd,id:n+"-option-"+r,title:t.title},this.props.children)}}]),t}(o.a.Component);I.propTypes={children:a.a.node,className:a.a.string,instancePrefix:a.a.string.isRequired,isDisabled:a.a.bool,isFocused:a.a.bool,isSelected:a.a.bool,onFocus:a.a.func,onSelect:a.a.func,onUnfocus:a.a.func,option:a.a.object.isRequired,optionIndex:a.a.number};var P=function(e){function t(){return g(this,t),T(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return w(t,e),b(t,[{key:"blockEvent",value:function(e){e.preventDefault(),e.stopPropagation(),"A"===e.target.tagName&&"href"in e.target&&(e.target.target?window.open(e.target.href,e.target.target):window.location.href=e.target.href)}},{key:"handleMouseDown",value:function(e){e.preventDefault(),e.stopPropagation()}},{key:"handleTouchEnd",value:function(e){this.dragging||this.handleMouseDown(e)}},{key:"handleTouchMove",value:function(e){this.dragging=!0}},{key:"handleTouchStart",value:function(e){this.dragging=!1}},{key:"render",value:function(){var e=this.props.option,t=f()(this.props.className,e.className);return e.disabled?o.a.createElement("div",{className:t,onMouseDown:this.blockEvent,onClick:this.blockEvent},this.props.children):o.a.createElement("div",{className:t,style:e.style,onMouseDown:this.handleMouseDown,onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd,title:e.title},o.a.createElement("div",{className:"Select-option-group-label"},this.props.label),this.props.children)}}]),t}(o.a.Component);P.propTypes={children:a.a.any,className:a.a.string,label:a.a.node,option:a.a.object.isRequired};var C=function(e){function t(e){g(this,t);var n=T(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleMouseDown=n.handleMouseDown.bind(n),n.onRemove=n.onRemove.bind(n),n.handleTouchEndRemove=n.handleTouchEndRemove.bind(n),n.handleTouchMove=n.handleTouchMove.bind(n),n.handleTouchStart=n.handleTouchStart.bind(n),n}return w(t,e),b(t,[{key:"handleMouseDown",value:function(e){if("mousedown"!==e.type||0===e.button)return this.props.onClick?(e.stopPropagation(),void this.props.onClick(this.props.value,e)):void(this.props.value.href&&e.stopPropagation())}},{key:"onRemove",value:function(e){e.preventDefault(),e.stopPropagation(),this.props.onRemove(this.props.value)}},{key:"handleTouchEndRemove",value:function(e){this.dragging||this.onRemove(e)}},{key:"handleTouchMove",value:function(e){this.dragging=!0}},{key:"handleTouchStart",value:function(e){this.dragging=!1}},{key:"renderRemoveIcon",value:function(){if(!this.props.disabled&&this.props.onRemove)return o.a.createElement("span",{className:"Select-value-icon","aria-hidden":"true",onMouseDown:this.onRemove,onTouchEnd:this.handleTouchEndRemove,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove},"×")}},{key:"renderLabel",value:function(){return this.props.onClick||this.props.value.href?o.a.createElement("a",{className:"Select-value-label",href:this.props.value.href,target:this.props.value.target,onMouseDown:this.handleMouseDown,onTouchEnd:this.handleMouseDown},this.props.children):o.a.createElement("span",{className:"Select-value-label",role:"option","aria-selected":"true",id:this.props.id},this.props.children)}},{key:"render",value:function(){return o.a.createElement("div",{className:f()("Select-value",this.props.value.className),style:this.props.value.style,title:this.props.value.title},this.renderRemoveIcon(),this.renderLabel())}}]),t}(o.a.Component); /*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/react-select */ function x(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}C.propTypes={children:a.a.node,disabled:a.a.bool,id:a.a.string,onClick:a.a.func,onRemove:a.a.func,value:a.a.object.isRequired};var j=function(e){return"string"==typeof e?e:null!==e&&JSON.stringify(e)||""},A=a.a.oneOfType([a.a.string,a.a.node]),k=(a.a.oneOfType([a.a.string,a.a.number]),1),N=function(e){function t(e){g(this,t);var n=T(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return["clearValue","focusOption","handleInputBlur","handleInputChange","handleInputFocus","handleInputValueChange","handleKeyDown","handleMenuScroll","handleMouseDown","handleMouseDownOnArrow","handleMouseDownOnMenu","handleRequired","handleTouchOutside","handleTouchMove","handleTouchStart","handleTouchEnd","handleTouchEndClearValue","handleValueClick","getOptionLabel","onOptionRef","removeValue","selectValue"].forEach(function(e){return n[e]=n[e].bind(n)}),n.state={inputValue:"",isFocused:!1,isOpen:!1,isPseudoFocused:!1,required:!1},n}return w(t,e),b(t,[{key:"componentWillMount",value:function(){this._flatOptions=this.flattenOptions(this.props.options),this._instancePrefix="react-select-"+(this.props.instanceId||++k)+"-";var e=this.getValueArray(this.props.value);this.props.required&&this.setState({required:this.handleRequired(e[0],this.props.multi)})}},{key:"componentDidMount",value:function(){void 0!==this.props.autofocus&&"undefined"!=typeof console&&console.warn("Warning: The autofocus prop has changed to autoFocus, support will be removed after react-select@1.0"),(this.props.autoFocus||this.props.autofocus)&&this.focus()}},{key:"componentWillReceiveProps",value:function(e){e.options!==this.props.options&&(this._flatOptions=this.flattenOptions(e.options));var t=this.getValueArray(e.value,e);!e.isOpen&&this.props.isOpen?this.closeMenu():e.isOpen&&!this.props.isOpen&&this.setState({isOpen:!0}),e.required?this.setState({required:this.handleRequired(t[0],e.multi)}):this.props.required&&this.setState({required:!1})}},{key:"componentDidUpdate",value:function(e,t){if(this.menu&&this.focused&&this.state.isOpen&&!this.hasScrolledToOption){var n=Object(s.findDOMNode)(this.focused),r=Object(s.findDOMNode)(this.menu),o=r.scrollTop,i=o+r.offsetHeight,a=n.offsetTop,u=a+n.offsetHeight;(o>a||ip.bottom?l.scrollTop=c.offsetTop+c.clientHeight-l.offsetHeight:f.topt.offsetHeight&&t.scrollHeight-t.offsetHeight-t.scrollTop<=0&&this.props.onMenuScrollToBottom()}}},{key:"handleRequired",value:function(e,t){return!e||(t?0===e.length:0===Object.keys(e).length)}},{key:"getOptionLabel",value:function(e){return e[this.props.labelKey]}},{key:"getValueArray",value:function(e,t){var n=this,r="object"===(void 0===t?"undefined":y(t))?t:this.props;if(r.multi){if("string"==typeof e&&(e=e.split(r.delimiter)),!Array.isArray(e)){if(null===e||void 0===e)return[];e=[e]}return e.map(function(e){return n.expandValue(e,r)}).filter(function(e){return e})}var o=this.expandValue(e,r);return o?[o]:[]}},{key:"expandValue",value:function(e,t){var n=void 0===e?"undefined":y(e);if("string"!==n&&"number"!==n&&"boolean"!==n)return e;var r=t.labelKey,o=t.renderInvalidValues,i=t.valueKey,a=this._flatOptions;if(a&&""!==e){for(var s=0;sr&&this.focusOption(n[r+1])}},{key:"popValue",value:function(){var e=this.getValueArray(this.props.value);e.length&&!1!==e[e.length-1].clearableValue&&this.setValue(this.props.multi?e.slice(0,e.length-1):null)}},{key:"removeValue",value:function(e){var t=this,n=this.getValueArray(this.props.value);this.setValue(n.filter(function(n){return n[t.props.valueKey]!==e[t.props.valueKey]})),this.focus()}},{key:"clearValue",value:function(e){e&&"mousedown"===e.type&&0!==e.button||(e.preventDefault(),this.setValue(this.getResetValue()),this.setState({isOpen:!1,inputValue:this.handleInputValueChange("")},this.focus))}},{key:"getResetValue",value:function(){return void 0!==this.props.resetValue?this.props.resetValue:this.props.multi?[]:null}},{key:"focusOption",value:function(e){this.setState({focusedOption:e})}},{key:"focusNextOption",value:function(){this.focusAdjacentOption("next")}},{key:"focusPreviousOption",value:function(){this.focusAdjacentOption("previous")}},{key:"focusPageUpOption",value:function(){this.focusAdjacentOption("page_up")}},{key:"focusPageDownOption",value:function(){this.focusAdjacentOption("page_down")}},{key:"focusStartOption",value:function(){this.focusAdjacentOption("start")}},{key:"focusEndOption",value:function(){this.focusAdjacentOption("end")}},{key:"focusAdjacentOption",value:function(e){var t=this._visibleOptions.map(function(e,t){return{option:e,index:t}}).filter(function(e){return!e.option.disabled});if(this._scrollToFocusedOptionOnUpdate=!0,this.state.isOpen){if(t.length){for(var n=-1,r=0;r0?n-=1:n=t.length-1;else if("start"===e)n=0;else if("end"===e)n=t.length-1;else if("page_up"===e){n=(o=n-this.props.pageSize)<0?0:o}else if("page_down"===e){var o;n=(o=n+this.props.pageSize)>t.length-1?t.length-1:o}-1===n&&(n=0),this.setState({focusedIndex:t[n].index,focusedOption:t[n].option})}}else this.setState({isOpen:!0,inputValue:"",focusedOption:this._focusedOption||(t.length?t["next"===e?0:t.length-1].option:null)})}},{key:"getFocusedOption",value:function(){return this._focusedOption}},{key:"selectFocusedOption",value:function(){if(this._focusedOption)return this.selectValue(this._focusedOption)}},{key:"renderLoading",value:function(){if(this.props.isLoading)return o.a.createElement("span",{className:"Select-loading-zone","aria-hidden":"true"},o.a.createElement("span",{className:"Select-loading"}))}},{key:"renderValue",value:function(e,t){var n=this,r=this.props.valueRenderer||this.getOptionLabel,i=this.props.valueComponent;if(!e.length)return this.state.inputValue?null:o.a.createElement("div",{className:"Select-placeholder"},this.props.placeholder);var a=this.props.onValueClick?this.handleValueClick:null;return this.props.multi?e.map(function(e,t){return o.a.createElement(i,{id:n._instancePrefix+"-value-"+t,instancePrefix:n._instancePrefix,disabled:n.props.disabled||!1===e.clearableValue,key:"value-"+t+"-"+e[n.props.valueKey],onClick:a,onRemove:n.removeValue,value:e},r(e,t),o.a.createElement("span",{className:"Select-aria-only"}," "))}):this.state.inputValue?void 0:(t&&(a=null),o.a.createElement(i,{id:this._instancePrefix+"-value-item",disabled:this.props.disabled,instancePrefix:this._instancePrefix,onClick:a,value:e[0]},r(e[0])))}},{key:"renderInput",value:function(e,t){var n,r=this,i=f()("Select-input",this.props.inputProps.className),a=!!this.state.isOpen,s=f()((E(n={},this._instancePrefix+"-list",a),E(n,this._instancePrefix+"-backspace-remove-message",this.props.multi&&!this.props.disabled&&this.state.isFocused&&!this.state.inputValue),n)),u=O({},this.props.inputProps,{role:"combobox","aria-expanded":""+a,"aria-owns":s,"aria-haspopup":""+a,"aria-activedescendant":a?this._instancePrefix+"-option-"+t:this._instancePrefix+"-value","aria-describedby":this.props["aria-describedby"],"aria-labelledby":this.props["aria-labelledby"],"aria-label":this.props["aria-label"],className:i,tabIndex:this.props.tabIndex,onBlur:this.handleInputBlur,onChange:this.handleInputChange,onFocus:this.handleInputFocus,ref:function(e){return r.input=e},required:this.state.required,value:this.state.inputValue});if(this.props.inputRenderer)return this.props.inputRenderer(u);if(this.props.disabled||!this.props.searchable){var l=this.props.inputProps,p=(l.inputClassName,_(l,["inputClassName"])),d=f()(E({},this._instancePrefix+"-list",a));return o.a.createElement("div",O({},p,{role:"combobox","aria-expanded":a,"aria-owns":d,"aria-activedescendant":a?this._instancePrefix+"-option-"+t:this._instancePrefix+"-value","aria-labelledby":this.props["aria-labelledby"],"aria-label":this.props["aria-label"],className:i,tabIndex:this.props.tabIndex||0,onBlur:this.handleInputBlur,onFocus:this.handleInputFocus,ref:function(e){return r.input=e},"aria-disabled":""+!!this.props.disabled,style:{border:0,width:1,display:"inline-block"}}))}return this.props.autosize?o.a.createElement(c.a,O({id:this.props.id},u,{minWidth:"5"})):o.a.createElement("div",{className:i,key:"input-wrap"},o.a.createElement("input",O({id:this.props.id},u)))}},{key:"renderClear",value:function(){var e=this.getValueArray(this.props.value);if(this.props.clearable&&e.length&&!this.props.disabled&&!this.props.isLoading){var t=this.props.clearRenderer();return o.a.createElement("span",{className:"Select-clear-zone",title:this.props.multi?this.props.clearAllText:this.props.clearValueText,"aria-label":this.props.multi?this.props.clearAllText:this.props.clearValueText,onMouseDown:this.clearValue,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEndClearValue},t)}}},{key:"renderArrow",value:function(){if(this.props.arrowRenderer){var e=this.handleMouseDownOnArrow,t=this.state.isOpen,n=this.props.arrowRenderer({onMouseDown:e,isOpen:t});return n?o.a.createElement("span",{className:"Select-arrow-zone",onMouseDown:e},n):null}}},{key:"filterFlatOptions",value:function(e){var t=this.state.inputValue,n=this._flatOptions;return this.props.filterOptions?("function"==typeof this.props.filterOptions?this.props.filterOptions:m)(n,t,e,{filterOption:this.props.filterOption,ignoreAccents:this.props.ignoreAccents,ignoreCase:this.props.ignoreCase,labelKey:this.props.labelKey,matchPos:this.props.matchPos,matchProp:this.props.matchProp,valueKey:this.props.valueKey,trimFilter:this.props.trimFilter}):n}},{key:"flattenOptions",value:function(e,t){if(!e)return[];for(var n,r=[],o=0;o999||e.get("inactivitiesCount")>0)},e}(),b="leave",E="timeout",O=50,w=function(){function e(e){var t=this;l()(e.translator instanceof g,"Please define a valid Translator in the options"),this.options=e,this.set=new Set,this.maxSetSize=O,this.isDebugModeOn=e.debug,this.translator=e.translator,Object(d.addEventListener)(window,"unload",this.flush.bind(this,b)),e.sessionTimeout>0&&setTimeout(this.flush.bind(this,E),e.sessionTimeout),RGCommons.debug.addReadyListener(function(){RGCommons.debug.addListener("intersectionObserver:switch",t.switchDebugMode.bind(t))})}var t=e.prototype;return t.switchDebugMode=function(e){this.isDebugModeOn=e},t.append=function(e){for(var t=new Map,n=Object.keys(e),r=0;r=this.maxSetSize&&(this.maxSetSize+=O,this.flush("premature")),this.set.add(t),t},t.remove=function(e){this.set.delete(e)&&this.maxSetSize--},t.flush=function(e){var t=[],n=0,r=this.set,o=Array.isArray(r),i=0;for(r=o?r:r[Symbol.iterator]();;){var a;if(o){if(i>=r.length)break;a=r[i++]}else{if((i=r.next()).done)break;a=i.value}var s=a;s.has("onPreFlush")&&s.get("onPreFlush")();var u=this.translator.translate(s);u&&(t.push(u),s.has("onPostFlush")&&s.get("onPostFlush")()),s.has("accountId")&&(n=s.get("accountId"))}if(t.length>0){var c={a:n,e:t,r:e};this.send(c,e)}},t.send=function(e,t){var n=this.options.endpoint;switch(t){case b:Object(h.sendBeacon)(n,JSON.stringify(e),3500);break;case E:case"premature":Object(h.default)(n,{method:"POST",headers:{"Content-type":"application/x-www-form-urlencoded"},body:e})}},e}(),_="attention-tracker-debug",T=function(e){function t(){for(var t,n,r=arguments.length,o=new Array(r),s=0;s0&&"/"!==this.path.substring(0,1)):!this.userInfo&&!this.port&&(this.path?"//"!==this.path.substring(0,2):!(!this.query&&!this.fragment))},t.isValidRelative=function(){return!(this.scheme||this.host||this.userInfo||this.port)&&(this.path?"//"!==this.path.substring(0,2):!(!this.query&&!this.fragment))},t.isAbsolute=function(){return null!==this.scheme},t.toString=function(){if(!this.isValid()&&(this.isAbsolute()||!this.isValidRelative()))throw new Error("URI is not valid and cannot be converted into a string");var t="";return this.scheme&&(t+=this.scheme+":"),null!==this.host&&(t+="//",this.userInfo&&(t+=this.userInfo+"@"),t+=this.host,this.port&&(t+=":"+this.port)),this.path?t+=e.encodePath(this.path):this.host&&(this.query||this.fragment)&&(t+="/"),this.query&&(t+="?"+e.encodeQueryFragment(this.query)),this.fragment&&(t+="#"+e.encodeQueryFragment(this.fragment)),t},e}();i.defaultPorts=[],i.validSchemes=[]},function(e,t,n){var r=n(2261),o=n(1070)(function(e,t){return null==e?{}:r(e,t)});e.exports=o},function(e,t,n){"use strict";t.b=function(e){"string"==typeof e&&(e=document.querySelector(e));if(e)return o(e)};var r=n(1707);function o(e,t,n){var r=e.getBoundingClientRect(),o=document.documentElement.clientHeight;return t=t||0,("bottom"===n?r.bottom-o:"middle"===n?r.bottom-o/2-r.height/2:r.top)+t+window.pageYOffset}t.a=function(e,t){if(t=t||{},"string"==typeof e&&(e=document.querySelector(e)),e)return Object(r.a)(0,o(e,t.offset,t.align),t)}},function(e,t,n){var r=n(81),o=n(614);e.exports=function(e){return o(r(e).toLowerCase())}},function(e,t,n){var r=n(156)("set",n(1615));r.placeholder=n(147),e.exports=r},function(e,t,n){"use strict";n.d(t,"d",function(){return s}),n.d(t,"s",function(){return u}),n.d(t,"i",function(){return c}),n.d(t,"v",function(){return l}),n.d(t,"w",function(){return f}),n.d(t,"u",function(){return p}),n.d(t,"j",function(){return d}),n.d(t,"n",function(){return h}),n.d(t,"y",function(){return m}),n.d(t,"t",function(){return v}),n.d(t,"p",function(){return y}),n.d(t,"k",function(){return g}),n.d(t,"h",function(){return b}),n.d(t,"o",function(){return O}),n.d(t,"a",function(){return w}),n.d(t,"m",function(){return _}),n.d(t,"f",function(){return S}),n.d(t,"c",function(){return I}),n.d(t,"e",function(){return P}),n.d(t,"b",function(){return C}),n.d(t,"r",function(){return x}),n.d(t,"q",function(){return j}),n.d(t,"x",function(){return A}),n.d(t,"g",function(){return k}),n.d(t,"l",function(){return N});var r=n(26),o=n.n(r),i=n(13),a="adminAdCampaignItems",s=function(e){return o()(e,[a,"campaignId"])},u=function(e){return o()(e,[a,"opportunityId"])},c=function(e){return o()(e,[a,"companyId"])},l=function(e){return o()(e,[a,"salesforceAccountId"])},f=function(e){return o()(e,[a,"salesforceAccountName"])},p=function(e){return o()(e,[a,"orderValidationConstraints"])},d=function(e){return o()(e,[a,"companyValidationConstraints"])},h=function(e){return o()(e,[a,"isLoading"])},m=function(e){return o()(e,[a,"rgType"])},v=function(e){return o()(e,[a,"orderId"])},y=function(e){return o()(e,[a,"lineItemId"])},g=function(e){return o()(e,[a,"creativeId"])},b=function(e){return o()(e,[a,"breakdown"],null)},E=function(e){return o()(e,[a,"salesforceCampaigns"])},O=function(e,t){return o()(e,[a,"labels",t],{})},w=function(e){return o()(e,[a,"canCreateAds"],!1)},_=function(e){var t=o()(e,a,{});return{startDate:t.startDate,endDate:t.endDate,minDate:t.minDate,maxDate:t.maxDate}},T=function(e,t){return t?e.filter(function(e){return i.a.parse(e).type===t}):e},S=function(e,t){return void 0===t&&(t=null),T(o()(e,[a,"items"],[]),t)},I=function(e,t){return void 0===t&&(t=null),T(o()(e,[a,"availableItems"],[]),t)},P=function(e,t){var n=t.rgKey;return o()(e,[a,"data",n],{sponsoredContentItemKeys:[]})},C=function(e,t){var n=t.activityGroupId;return o()(e,[a,"activityGroups",n],{})},x=function(e,t){var n=t.rgKey;return o()(e,[a,"data",n,"status"],"")},j=function(e,t){var n=t.rgKey;return o()(e,[a,"data",n,"countImpressions"],0)},A=function(e,t){var n=E(e).find(function(e){var n=e.id;return t===n});return n?n.name:void 0},k=function(e){var t=Object.values(o()(e,[a,"data"])).filter(function(e){return e.salesforceCampaignId}).map(function(e){return e.salesforceCampaignId});return E(e).filter(function(e){var n=e.id;return!t.find(function(e){return n===e})})},N=function(e){var t=o()(e,[a],{});return{campaignId:t.campaignId,rgType:t.rgType,orderId:t.orderId,lineItemId:t.lineItemId,creativeId:t.creativeId,breakdown:t.breakdown,startDate:t.startDate,endDate:t.endDate}}},function(e,t,n){"use strict";var r=n(57),o=n(45);n.n(o);t.a=function(e,t){var n=function(n,r){void 0===n&&(n=e);var o=t[r.type];return o?o(n,r):n};return n.hasCustomMerger="function"==typeof t[r.a],n.initialState=e,n.isImmutable=o.Iterable.isIterable(e),n}},,function(e,t,n){"use strict";n.d(t,"c",function(){return s}),n.d(t,"b",function(){return u}),n.d(t,"a",function(){return c});var r=n(0),o=n.n(r),i=n(1),a=(n.n(i),n(2)),s="By uploading this file you confirm that you hold the necessary copyright, license, permission or other rights necessary to publish the work, and that it does not violate the personal rights of another person. You also ask ResearchGate to extract from the file any structured data and figures (including, without limitation, data, tables, graphs, images, illustrations) and, if public, display them on your profile as separate items and/or in an enriched viewing format, including an enriched version of the file when downloaded. If you do not wish to have the file enriched on download, you may turn it off in Settings.",u="I request and authorize ResearchGate to make this file privately available to myself and co-authors, and to extract metadata (including but not limited to citations, text snippets, abstracts and data).",c=function(e){var t=e.target,n=e.children;return o.a.createElement(a.Tooltip,{scope:"local",color:"black",target:t},n)};c.defaultProps={target:o.a.createElement(a.Text,{size:"s",color:"grey-400"},"View ",o.a.createElement(a.Link,null,"conditions")," for sharing content"),children:"By uploading and sharing this content, you confirm you are the owner of the content or have any necessary intellectual property and/or personal rights to do so."},t.d=c},function(e,t,n){"use strict";t.a=function(e,t){YRG.use(e,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(803);Object.defineProperty(t,"GraphQLError",{enumerable:!0,get:function(){return r.GraphQLError}});var o=n(2170);Object.defineProperty(t,"syntaxError",{enumerable:!0,get:function(){return o.syntaxError}});var i=n(1595);Object.defineProperty(t,"locatedError",{enumerable:!0,get:function(){return i.locatedError}});var a=n(2171);Object.defineProperty(t,"formatError",{enumerable:!0,get:function(){return a.formatError}})},,function(e,t,n){var r=n(198),o=n(89),i=n(146),a=n(233),s=n(710),u=function(e,t,n){var c,l,f,p=e&u.F,d=e&u.G,h=e&u.S,m=e&u.P,v=e&u.B,y=e&u.W,g=d?o:o[t]||(o[t]={}),b=g.prototype,E=d?r:h?r[t]:(r[t]||{}).prototype;for(c in d&&(n=t),n)(l=!p&&E&&void 0!==E[c])&&s(g,c)||(f=l?E[c]:n[c],g[c]=d&&"function"!=typeof E[c]?n[c]:v&&l?i(f,r):y&&E[c]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(f):m&&"function"==typeof f?i(Function.call,f):f,m&&((g.virtual||(g.virtual={}))[c]=f,e&u.R&&b&&!b[c]&&a(b,c,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t,n){"use strict";var r=n(96),o=n(0),i=n.n(o),a=n(44),s=n(10),u="publictopics.PostFeedItem.follow.html",c="publictopics.PostFeedItem.unfollow.html";var l=n(14),f=n(56);function p(e,t){return function(n){return function(e,t){return Object(s.default)(u,{method:"POST",body:{_iepl:t,postId:e}}).then(function(e){if(!e.result)throw new Error(e.message);return e.result})}(e,t).then(function(){Object(f.d)("follow",e),n(Object(l.pushAlert)(function(){return i.a.createElement(a.a,{title:"You are now following this question"})}))})}}function d(e){return function(t){return function(e){return Object(s.default)(c,{method:"POST",body:{postId:e}}).then(function(e){if(!e.result)throw new Error(e.message);return e.result})}(e).then(function(){t(Object(l.pushAlert)(function(){return i.a.createElement(a.a,{title:"You are no longer following this question"})}))})}}n.d(t,"a",function(){return m}),n.d(t,"b",function(){return v}),n.d(t,"c",function(){return y}),n.d(t,"d",function(){return g});var h=Object(r.a)("topicsFollow"),m=h("ACTION_FOLLOW"),v=h("ACTION_UNFOLLOW"),y=function(e,t){return function(n){return n({type:m,payload:{postId:e}}),p(e,t)(n).catch(function(){n({type:v,payload:{postId:e}})})}},g=function(e){return function(t){return t({type:v,payload:{postId:e}}),d(e)(t).catch(function(){t({type:m,payload:{postId:e}})})}}},function(e,t,n){var r=n(1064),o=n(544),i=n(893),a=n(237),s=n(907),u=n(485),c=Object.prototype.hasOwnProperty,l=i(function(e,t){if(s(t)||a(t))o(t,u(t),e);else for(var n in t)c.call(t,n)&&r(e,n,t[n])});e.exports=l},,function(e,t){var n=/^(?:submit|button|image|reset|file)$/i,r=/^(?:input|select|textarea|keygen)/i,o=/(\[[^\[\]]*\])/g;function i(e,t,n){if(t.match(o)){!function e(t,n,r){if(0===n.length)return t=r;var o=n.shift(),i=o.match(/^\[(.+?)\]$/);if("[]"===o)return t=t||[],Array.isArray(t)?t.push(e(null,n,r)):(t._values=t._values||[],t._values.push(e(null,n,r))),t;if(i){var a=i[1],s=+a;isNaN(s)?(t=t||{})[a]=e(t[a],n,r):(t=t||[])[s]=e(t[s],n,r)}else t[o]=e(t[o],n,r);return t}(e,function(e){var t=[],n=new RegExp(o),r=/^([^\[\]]*)/.exec(e);for(r[1]&&t.push(r[1]);null!==(r=n.exec(e));)t.push(r[1]);return t}(t),n)}else{var r=e[t];r?(Array.isArray(r)||(e[t]=[r]),e[t].push(n)):e[t]=n}return e}function a(e,t,n){return n=n.replace(/(\r)?\n/g,"\r\n"),n=(n=encodeURIComponent(n)).replace(/%20/g,"+"),e+(e?"&":"")+encodeURIComponent(t)+"="+n}e.exports=function(e,t){"object"!=typeof t?t={hash:!!t}:void 0===t.hash&&(t.hash=!0);for(var o=t.hash?{}:"",s=t.serializer||(t.hash?i:a),u=e&&e.elements?e.elements:[],c=Object.create(null),l=0;l0||(0,i.default)(0,e.name+" fields must be an object with field names as keys or a function which returns such an object.");var a=Object.create(null);return r.forEach(function(t){(0,u.assertValidName)(t);var r=n[t];w(r)||(0,i.default)(0,e.name+"."+t+" field config must be an object"),r.hasOwnProperty("isDeprecated")&&(0,i.default)(0,e.name+"."+t+' should provide "deprecationReason" instead of "isDeprecated".');var s,c=o({},r,{isDeprecated:Boolean(r.deprecationReason),name:t});d(c.type)||(0,i.default)(0,e.name+"."+t+" field type must be Output Type but got: "+String(c.type)+"."),null!=(s=c.resolve)&&"function"!=typeof s&&(0,i.default)(0,e.name+"."+t+" field resolver must be a function if provided, but got: "+String(c.resolve)+".");var l=r.args;l?(w(l)||(0,i.default)(0,e.name+"."+t+" args must be an object with argument names as keys."),c.args=Object.keys(l).map(function(n){(0,u.assertValidName)(n);var r=l[n];return p(r.type)||(0,i.default)(0,e.name+"."+t+"("+n+":) argument type must be Input Type but got: "+String(r.type)+"."),{name:n,description:void 0===r.description?null:r.description,type:r.type,defaultValue:r.defaultValue,astNode:r.astNode}})):c.args=[],a[t]=c}),a}function w(e){return e&&"object"===(void 0===e?"undefined":r(e))&&!Array.isArray(e)}E.prototype.toJSON=E.prototype.inspect=E.prototype.toString;var _=t.GraphQLInterfaceType=function(){function e(t){l(this,e),(0,u.assertValidName)(t.name),this.name=t.name,this.description=t.description,this.astNode=t.astNode,t.resolveType&&"function"!=typeof t.resolveType&&(0,i.default)(0,this.name+' must provide "resolveType" as a function.'),this.resolveType=t.resolveType,this._typeConfig=t}return e.prototype.getFields=function(){return this._fields||(this._fields=O(this,this._typeConfig.fields))},e.prototype.toString=function(){return this.name},e}();_.prototype.toJSON=_.prototype.inspect=_.prototype.toString;var T=t.GraphQLUnionType=function(){function e(t){l(this,e),(0,u.assertValidName)(t.name),this.name=t.name,this.description=t.description,this.astNode=t.astNode,t.resolveType&&"function"!=typeof t.resolveType&&(0,i.default)(0,this.name+' must provide "resolveType" as a function.'),this.resolveType=t.resolveType,this._typeConfig=t}return e.prototype.getTypes=function(){return this._types||(this._types=function(e,t){var n=g(t);Array.isArray(n)&&n.length>0||(0,i.default)(0,"Must provide Array of types or a function which returns such an array for Union "+e.name+".");var r=Object.create(null);return n.forEach(function(t){t instanceof E||(0,i.default)(0,e.name+" may only contain Object types, it cannot contain: "+String(t)+"."),r[t.name]&&(0,i.default)(0,e.name+" can include "+t.name+" type only once."),r[t.name]=!0,"function"!=typeof e.resolveType&&"function"!=typeof t.isTypeOf&&(0,i.default)(0,'Union type "'+e.name+'" does not provide a "resolveType" function and possible type "'+t.name+'" does not provide an "isTypeOf" function. There is no way to resolve this possible type during execution.')}),n}(this,this._typeConfig.types))},e.prototype.toString=function(){return this.name},e}();T.prototype.toJSON=T.prototype.inspect=T.prototype.toString;var S=t.GraphQLEnumType=function(){function e(t){l(this,e),this.name=t.name,(0,u.assertValidName)(t.name,t.isIntrospection),this.description=t.description,this.astNode=t.astNode,this._values=function(e,t){w(t)||(0,i.default)(0,e.name+" values must be an object with value names as keys.");var n=Object.keys(t);return n.length>0||(0,i.default)(0,e.name+" values must be an object with value names as keys."),n.map(function(n){(0,u.assertValidName)(n),-1!==["true","false","null"].indexOf(n)&&(0,i.default)(0,'Name "'+n+'" can not be used as an Enum value.');var r=t[n];return w(r)||(0,i.default)(0,e.name+"."+n+' must refer to an object with a "value" key representing an internal value but got: '+String(r)+"."),r.hasOwnProperty("isDeprecated")&&(0,i.default)(0,e.name+"."+n+' should provide "deprecationReason" instead of "isDeprecated".'),{name:n,description:r.description,isDeprecated:Boolean(r.deprecationReason),deprecationReason:r.deprecationReason,astNode:r.astNode,value:r.hasOwnProperty("value")?r.value:n}})}(this,t.values),this._enumConfig=t}return e.prototype.getValues=function(){return this._values},e.prototype.getValue=function(e){return this._getNameLookup()[e]},e.prototype.serialize=function(e){var t=this._getValueLookup().get(e);return t?t.name:null},e.prototype.isValidValue=function(e){return"string"==typeof e&&void 0!==this._getNameLookup()[e]},e.prototype.parseValue=function(e){if("string"==typeof e){var t=this._getNameLookup()[e];if(t)return t.value}},e.prototype.isValidLiteral=function(e){return e.kind===s.ENUM&&void 0!==this._getNameLookup()[e.value]},e.prototype.parseLiteral=function(e){if(e.kind===s.ENUM){var t=this._getNameLookup()[e.value];if(t)return t.value}},e.prototype._getValueLookup=function(){if(!this._valueLookup){var e=new Map;this.getValues().forEach(function(t){e.set(t.value,t)}),this._valueLookup=e}return this._valueLookup},e.prototype._getNameLookup=function(){if(!this._nameLookup){var e=Object.create(null);this.getValues().forEach(function(t){e[t.name]=t}),this._nameLookup=e}return this._nameLookup},e.prototype.toString=function(){return this.name},e}();S.prototype.toJSON=S.prototype.inspect=S.prototype.toString;var I=t.GraphQLInputObjectType=function(){function e(t){l(this,e),(0,u.assertValidName)(t.name),this.name=t.name,this.description=t.description,this.astNode=t.astNode,this._typeConfig=t}return e.prototype.getFields=function(){return this._fields||(this._fields=this._defineFieldMap())},e.prototype._defineFieldMap=function(){var e=this,t=g(this._typeConfig.fields);w(t)||(0,i.default)(0,this.name+" fields must be an object with field names as keys or a function which returns such an object.");var n=Object.keys(t);n.length>0||(0,i.default)(0,this.name+" fields must be an object with field names as keys or a function which returns such an object.");var r=Object.create(null);return n.forEach(function(n){(0,u.assertValidName)(n);var a=o({},t[n],{name:n});p(a.type)||(0,i.default)(0,e.name+"."+n+" field type must be Input Type but got: "+String(a.type)+"."),null!=a.resolve&&(0,i.default)(0,e.name+"."+n+" field type has a resolve property, but Input Types cannot define resolvers."),r[n]=a}),r},e.prototype.toString=function(){return this.name},e}();I.prototype.toJSON=I.prototype.inspect=I.prototype.toString;var P=t.GraphQLList=function(){function e(t){l(this,e),f(t)||(0,i.default)(0,"Can only create List of a GraphQLType but got: "+String(t)+"."),this.ofType=t}return e.prototype.toString=function(){return"["+String(this.ofType)+"]"},e}();P.prototype.toJSON=P.prototype.inspect=P.prototype.toString;var C=t.GraphQLNonNull=function(){function e(t){l(this,e),(!f(t)||t instanceof e)&&(0,i.default)(0,"Can only create NonNull of a Nullable GraphQLType but got: "+String(t)+"."),this.ofType=t}return e.prototype.toString=function(){return this.ofType.toString()+"!"},e}();C.prototype.toJSON=C.prototype.inspect=C.prototype.toString},function(e,t,n){"use strict";t.a=function(e,t){var n=t?"?timestamp="+Date.now():"";return Object(r.default)(o+n,{method:"POST",query:{_iepl:e}})};var r=n(10),o="application.AjaxCommon.ajaxScoreInteractionExperiment.html"},,function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(1562),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(2096)),o=a(n(2100)),i=a(n(1562));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){"use strict";n.d(t,"c",function(){return o}),n.d(t,"f",function(){return i}),n.d(t,"e",function(){return a}),n.d(t,"d",function(){return s}),n.d(t,"m",function(){return u}),n.d(t,"h",function(){return c}),n.d(t,"l",function(){return l}),n.d(t,"j",function(){return f}),n.d(t,"g",function(){return p}),n.d(t,"k",function(){return d}),n.d(t,"i",function(){return h}),n.d(t,"b",function(){return m}),n.d(t,"a",function(){return v}),n.d(t,"q",function(){return y}),n.d(t,"r",function(){return g}),n.d(t,"p",function(){return b}),n.d(t,"o",function(){return E}),n.d(t,"n",function(){return O}),n.d(t,"s",function(){return w}),n.d(t,"t",function(){return _});var r=n(11),o="INIT_UPLOAD",i="REMOVE_FILES",a="REMOVE_FILE",s="RECEIVE_FILES",u="UPLOAD_START",c="UPLOAD_BEGIN",l="UPLOAD_PROGRESS",f="UPLOAD_DONE",p="UPLOAD_ABORT",d="UPLOAD_ERROR",h="UPLOAD_COMPLETE",m={IDLE:"idle",UPLOADING:"uploading"},v={IDLE:"idle",UPLOADING:"uploading",DONE:"done"},y=function(e){var t=e.id,n=e.multiple,r=void 0!==n&&n,i=e.uploadOnReceive,a=void 0===i||i,s=e.onFileComplete,u=e.url,c=e.method,l=e.fileFieldName;return{type:o,payload:{formId:t,multiple:r,uploadOnReceive:a,onFileComplete:s,url:u,method:c,fileFieldName:l}}},g=function(e,t){return{type:s,payload:{formId:e,fileList:t.map(function(e){return Object(r.a)({},e,{status:v.IDLE})})}}},b=function(e,t,n){return{type:f,payload:{formId:e,file:t,response:n}}},E=function(e){return{type:h,payload:{formId:e}}},O=function(e,t){return{type:c,payload:{formId:e,file:t}}},w=function(e){return function(t){return{type:a,payload:{formId:e,file:t}}}},_=function(e){return function(){return{type:i,payload:{formId:e}}}}},,,,function(e,t,n){"use strict";t.a=function(e,t){var n=void 0===t?{}:t,r=n.params,o=n.requestType,i=n.initialCssClass,a=n.dialogConfig;return new Promise(function(t,n){widgetLoader.getResultFromDialog(e,r,o,i,a).then(t,n)})},t.b=function(e,t){var n=void 0===t?{}:t,r=n.params,o=n.callback,i=n.errorCallback,a=n.requestType,s=n.initialCssClass,u=n.dialogConfig;widgetLoader.loadWidgetInDialog(e,r,o,null,i,a,s,u)},t.c=function(e,t){var n=void 0===t?{}:t,r=n.initialCssClass,i=n.dialogConfig;function c(){return e}Object(s.a)(["rg-base","rg-widgetloader-renderers","node"],function(t){var n=t.rg.widget.OpenedDialogRenderer.createDialog(r,i),s=t.Node.create("
"),l=s.getDOMNode();e=o.a.cloneElement(e,{dialog:n}),n.get("boundingBox").addClass("full-dialog"),n.set("bodyContent",s),n.on("visibleChange",function(e){e.newVal||a.a.unmountComponentAtNode(l)}),Object(u.b)(c,l)})};var r=n(0),o=n.n(r),i=n(42),a=n.n(i),s=n(109),u=n(12)},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r="·"},,function(e,t,n){"use strict";var r=n(114)||function(e){for(var t=1;t0)return o.getInlineStyleAt(r-1);if(o.getLength())return o.getInlineStyleAt(0);return v(e,n)}(t,n):function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);if(r0)return o.getInlineStyleAt(r-1);return v(e,n)}(t,n)},e.prototype.getBlockTree=function(e){return this.getImmutable().getIn(["treeMap",e])},e.prototype.isSelectionAtStartOfContent=function(){var e=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(e,0,0)},e.prototype.isSelectionAtEndOfContent=function(){var e=this.getCurrentContent().getBlockMap().last(),t=e.getLength();return this.getSelection().hasEdgeWithin(e.getKey(),t,t)},e.prototype.getDirectionMap=function(){return this.getImmutable().get("directionMap")},e.acceptSelection=function(e,t){return h(e,t,!1)},e.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),h(e,t,!0)},e.moveSelectionToEnd=function(t){var n=t.getCurrentContent().getLastBlock(),r=n.getKey(),o=n.getLength();return e.acceptSelection(t,new u({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1}))},e.moveFocusToEnd=function(t){var n=e.moveSelectionToEnd(t);return e.forceSelection(n,n.getSelection())},e.push=function(t,n,r){if(t.getCurrentContent()===n)return t;var o="insert-characters"!==r,i=a.getDirectionMap(n,t.getDirectionMap());if(!t.getAllowUndo())return e.set(t,{currentContent:n,directionMap:i,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:null});var s=t.getSelection(),u=t.getCurrentContent(),c=t.getUndoStack(),l=n;s!==u.getSelectionAfter()||function(e,t){var n=e.getLastChangeType();return t!==n||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}(t,r)?(c=c.push(u),l=l.set("selectionBefore",s)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(l=l.set("selectionBefore",u.getSelectionBefore()));var p=t.getInlineStyleOverride();-1===["adjust-depth","change-block-type","split-block"].indexOf(r)&&(p=null);var d={currentContent:l,directionMap:i,undoStack:c,redoStack:f(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:p};return e.set(t,d)},e.undo=function(t){if(!t.getAllowUndo())return t;var n=t.getUndoStack(),r=n.peek();if(!r)return t;var o=t.getCurrentContent(),i=a.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:i,undoStack:n.shift(),redoStack:t.getRedoStack().push(o),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:o.getSelectionBefore()})},e.redo=function(t){if(!t.getAllowUndo())return t;var n=t.getRedoStack(),r=n.peek();if(!r)return t;var o=t.getCurrentContent(),i=a.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:i,undoStack:t.getUndoStack().push(o),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},e.prototype.getImmutable=function(){return this._immutable},e}();function h(e,t,n){return d.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function m(e,t){return e.getBlockMap().map(function(n){return o.generate(e,n,t)}).toOrderedMap()}function v(e,t){var n=e.getBlockMap().reverse().skipUntil(function(e,n){return n===t}).skip(1).skipUntil(function(e,t){return e.getLength()}).first();return n?n.getInlineStyleAt(n.getLength()-1):c()}e.exports=d},,function(e,t,n){"use strict";n.d(t,"a",function(){return v}),t.b=function(e,t){var n=t.trackingMetadata,r=t.viewIds,a=void 0===r?null:r,u=t.linkRgKeys,c=void 0===u?null:u,l=t.linkType,f=void 0===l?null:l;return Object(i.default)(m,{method:"POST",body:Object(o.a)({},e,{trackingMetadata:n,viewIds:a,linkRgKeys:c,linkType:f})}).then(s()("result"))},t.e=function(e,t,n,r){void 0===r&&(r=!1);return Object(i.default)(m+Object(u.a)(c,e),{method:"PATCH",body:Object(o.a)({},t,{context:n,updateGoalMessage:r})}).then(s()("result"))},t.c=function(e){return Object(i.default)(m+Object(u.a)(l,e),{method:"DELETE"}).then(s()("result"))},t.g=function(e,t,n,r){void 0===r&&(r=null);Array.isArray(e)||(e=[e]);return Object(i.default)(m+"/request",{method:"POST",body:{targetAccountIds:e,viewId:t,context:n,trackingMetadata:r}}).then(s()("result"))},t.d=function(e,t,n,r){void 0===r&&(r={});return y("POST",Object(o.a)({projectId:e,reason:t,context:n},r))},t.l=function(e,t,n){void 0===n&&(n=null);return y("DELETE",{projectId:e,context:t,entryChannel:n})},t.j=function(e,t){return Object(i.default)(m+Object(u.a)(f,e),{method:"POST",body:{blacklist:t}}).then(s()("result"))},t.k=function(e,t){return Object(i.default)(m+"/trackPreview",{method:"POST",body:{projectIds:e,context:t}})},t.h=function(e,t,n,r){void 0===r&&(r=null);if(!t)throw new Error("Trying to save undefined interval");return Object(i.default)(m+Object(u.a)(p,e),{method:"POST",body:Object(o.a)({interval:t,context:n},r&&{viewIds:r})}).then(s()("result"))},t.f=function(e,t,n,r){var a=t.interval,c=t.description,l=t.motivation;void 0===r&&(r=null);return Object(i.default)(m+Object(u.a)(d,e),{method:"POST",body:Object(o.a)({interval:a,description:c,motivation:l,context:n},r&&{viewIds:r})}).then(s()("result"))},t.i=function(e,t){var n=t.hypothesis,r=t.experiment,o=t.conclusion,a={};void 0!==n&&(a.hypothesis=n);void 0!==r&&(a.experiment=r);void 0!==o&&(a.conclusion=o);return Object(i.default)(m+Object(u.a)(h,e),{method:"POST",body:a}).then(s()("result"))};var r=n(8),o=n(11),i=n(10),a=n(61),s=n.n(a),u=n(64),c=Object(r.a)(["/",""]),l=Object(r.a)(["/",""]),f=Object(r.a)(["/","/toggleBlacklisting"]),p=Object(r.a)(["/","/interval"]),d=Object(r.a)(["/","/onboarding"]),h=Object(r.a)(["/","/overview"]),m="api/projects",v="projects.ProjectMethodsModal.search.html";function y(e,t){return Object(i.default)("/api/projects/follow",{method:e,body:t})}},,,function(e,t,n){var r=n(2131),o=n(2140),i=n(621),a=n(85),s=n(482);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):s(e)}},function(e,t,n){var r=n(700);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports={}},function(e,t,n){"use strict";n.d(t,"a",function(){return d}),t.e=function(e,t){return e(Object(p.mountAsyncModal)("projects.ProjectEditDescriptionModal.html",{projectId:t},void 0,function(){return n.e(8).then(n.bind(null,4061))}))},t.b=function(e,t,n,r,o,i){void 0===r&&(r=[]);void 0===o&&(o=null);void 0===i&&(i=[]);return Object(l.d)().setContext(n).setSelectedPeople(t.collaborators).setNonRemovableAccountIds(r).setProjectId(t.id).setViewIds(o).setSelectedPeopleRgKeys(i).showDialog(e)},t.f=function(e,t,n,r){void 0===r&&(r=[]);return Object(l.d)().setTitle(null).setSubTitle(null).setTitle("Edit your collaborators").setCtaLabel("Save").setContext(n).setNonRemovableAccountIds(r).setProjectId(t.id).showDialog(e)},t.i=function(e){var t=e.trackingMetadata,n=e.projectCreationFlowUrl,o=e.viewIds,i=void 0===o?null:o,a=e.title,s=void 0===a?null:a,c=e.description,l=void 0===c?null:c,p=e.linkRgKeys,d=void 0===p?null:p,h=e.linkType,m=void 0===h?null:h;Object(f.b)(Object(f.a)(n,Object(r.a)({trackingMetadata:t},u()({viewIds:i,title:s,description:l,linkRgKeys:d,linkType:m},function(e){return null===e}))))},t.j=function(e,t){return e(Object(p.mountAsyncModal)("projects.ProjectFollowersFullList.html",{projectId:t},function(e){return i.a.createElement(a.Modal,null,e)},function(){return n.e(9).then(n.bind(null,4062))}))},t.h=function(e,t,r){return function(o){var i,a=((i={})[t]=r,i),s={projectId:e,collaboratorsToCollectEmail:a,context:"profileNetwork"};return o(Object(p.mountAsyncModal)("projects.ProjectCollaboratorsCollectEmailsDialog.html",s,void 0,function(){return n.e(6).then(n.bind(null,1949))}))}},t.d=function(e,t,r,o){void 0===e&&(e=null);void 0===r&&(r=null);void 0===o&&(o=null);return function(i){var a={projectId:e,collaboratorsToCollectEmail:o,context:t,viewIds:r};return i(Object(p.mountAsyncModal)("projects.ProjectCollaboratorsCollectEmailsDialog.html",a,void 0,function(){return n.e(6).then(n.bind(null,1949))}))}},t.k=function(e){Object(c.b)("publicbrowse.TextFileViewer.html",{params:{linkId:e},initialCssClass:"overlay-mask-dark"})},t.c=function(e,t,r){return e(Object(p.mountAsyncModal)("projects.modals.ProjectAddExperimentFormDialog.html",{projectId:t,viewIds:r},void 0,function(){return n.e(7).then(n.bind(null,4063))}))},t.g=function(e,t,r){return e(Object(p.mountAsyncModal)("projects.modals.ProjectExperimentFindingsEditDialog.html",{projectId:t,publicationUid:r},void 0,function(){return n.e(10).then(n.bind(null,4064))}))};var r=n(11),o=n(0),i=n.n(o),a=n(2),s=n(713),u=n.n(s),c=n(137),l=n(867),f=n(23),p=n(20),d="filePreview/"},,function(e,t,n){"use strict";var r=n(1),o=(n.n(r),n(0)),i=n.n(o),a=n(4),s=n(2),u=n(28),c=(n.n(u),n(51)),l=n(1283);t.a=Object(a.connectWidget)(function(){return Object(u.createSelector)(Object(c.b)(function(e,t){return t.accountId}),function(e){return{accountURL:e.accountURL,fullName:e.fullName}})})(function(e){var t=e.accountURL,n=e.fullName,r=e.theme,o=e.color,a=e.className,u=e.iepl,c=e.bold,f=function(){return c?i.a.createElement("b",null,n):n};if(t&&!u)return i.a.createElement(s.Link,Object.assign({theme:r,color:o,className:a},{href:t}),f());if(t){var p,d=Object(l.a)(u);return p=u?t+d:t,i.a.createElement(s.Link,Object.assign({theme:r,color:o,className:a},{href:p}),f())}return i.a.createElement("span",null,n)})},function(e,t,n){"use strict";var r=n(1),o=n.n(r),i=n(59),a=Object.keys(i.a).map(function(e){return i.a[e]}),s=(o.a.shape({accountId:o.a.number,body:o.a.string,createdAt:o.a.string.isRequired,deleted:o.a.bool.isRequired,externalType:o.a.oneOf(a).isRequired,firstVersion:o.a.string,id:o.a.string.isRequired,modifiedAt:o.a.string.isRequired,nextVersion:o.a.string,parentId:o.a.string.isRequired,postedAt:o.a.string.isRequired,previousVersion:o.a.string,replyTo:o.a.string,rgKey:o.a.string,rootId:o.a.string.isRequired,struct:o.a.object,urls:o.a.object}),o.a.shape({externalUrlKey:o.a.string.isRequired,externalUrl:o.a.string.isRequired,undoExternalUrlConversion:o.a.bool.isRequired}),o.a.shape({text:o.a.string}));o.a.shape({id:o.a.string.isRequired,entityId:o.a.string.isRequired,parentId:o.a.string.isRequired,rootId:o.a.string.isRequired,createdAt:o.a.string.isRequired,modifiedAt:o.a.string.isRequired,type:o.a.string,metadata:o.a.oneOfType([s,o.a.array])})},,,function(e,t,n){var r=n(166),o=n(1559),i=n(1207),a=Object.defineProperty;t.f=n(155)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(401)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(2108),o=n(2110);e.exports=function(e,t,n){return r(o,e,t,n)}},function(e,t,n){"use strict";var r=n(3),o=(n(1),n(0)),i=n.n(o),a=n(4),s=n(24),u=n.n(s),c=n(63),l=n(119),f=n(7),p=function(e){var t=e.progress;return i.a.createElement("div",null,i.a.createElement("div",{className:"item-upload-progress-bar"},i.a.createElement("div",{style:{width:t+"%"}})),i.a.createElement("span",null,Math.floor(t),"%"))},d=Object(f.compose)(Object(f.withProps)(function(e){return{progress:100*e.file.progress||0}}),Object(f.branch)(function(e){var t=e.progress;return 0===t||100===t},f.renderNothing,Object(f.renderComponent)(p)))(p),h=n(604),m=n(133),v=n(2),y=n(201),g=n(210),b=function(e){function t(){return e.apply(this,arguments)||this}return t.prototype.render=function(){var e=this.props,t=e.remove,n=e.uploadState.fileList,r=u()(this.props.className,{"research-update-item":!0});return i.a.createElement("div",{className:r},n?n.map(function(e,n){var r=e.nativeFile,o=e.response,a=[],s=null;if(o&&o.success)s=o.result.id,e.status===m.a.IDLE&&a.push(i.a.createElement("span",{className:"ajax-loading-small"})),o.result.image&&a.push(i.a.createElement(y.a,{downloadUrl:o.result.url,imageUrl:o.result.image.large},i.a.createElement(v.Button,{type:"button",theme:"bare",color:"grey"},"View"))),o.result.url&&a.push(i.a.createElement(v.Button,{type:"button",theme:"bare",color:"grey",href:o.result.url},"Download"));else if(o&&!o.success){var u=o.errors&&o.errors.length>0?o.errors[0]:"Error uploading file";a.push(i.a.createElement(v.Tooltip,{color:"black",target:i.a.createElement(v.Button,{type:"button",theme:"bare",color:"yellow"},"Upload error")},u))}return a.push(i.a.createElement(v.Button,{type:"button",theme:"bare",color:"grey",onClick:function(){return t(e)}},"Remove")),i.a.createElement("div",{key:"attachment-list-item-"+n},i.a.createElement(l.a,{headline:r.name,subline:i.a.createElement(h.a,{fileSize:r.size}),actions:a,iconText:Object(g.a)(r.type),isFilePreviewEnabled:!1,isInactive:!1,attachmentFieldName:"fileReference",attachmentId:s}),i.a.createElement(d,{file:e}))}):null)},Object(r.a)(t,e),t}(o.Component);b.displayName="UploadFileList",b.defaultProps={className:"project-updates-attachment-list"};t.a=Object(a.connectWidget)(function(e,t){return{uploadState:Object(c.a)(t.id,e)}},function(e,t){return{remove:function(n){return e(Object(m.s)(t.id)(n))}}})(b)},function(e,t,n){"use strict";var r=n(3),o=n(5),i=(n(1),n(0)),a=n.n(i),s=n(2),u=n(28),c=n(58),l=n.n(c),f=n(259),p=n(4),d=n(27),h=n(37),m=n.n(h),v=function(e){function t(){var t;return(t=e.call(this)||this).onToggle=t.onToggle.bind(Object(o.a)(Object(o.a)(t))),t}var n=t.prototype;return n.onToggle=function(e){e.preventDefault(),this.props.onToggle(this.props.style)},n.render=function(){var e,t=this.props,n=t.className,r=t.icon,o=t.active,i=((e={})["style-button"]=!0,e["is-active"]=o,e);n&&(i[n]=!0);var u=o?"solid":"inverted",c=o?"blue":"grey";return a.a.createElement(s.Button,{size:"s",theme:u,width:"square",color:c,onMouseDown:this.onToggle,type:"button",tabIndex:"-1"},a.a.createElement(s.Button.Icon,{identifier:r}))},Object(r.a)(t,e),t}(i.Component);v.displayName="StyleButton";var y=[{label:"UL",style:"unordered-list-item",icon:"list-unordered"},{label:"OL",style:"ordered-list-item",icon:"list-ordered"}];function g(e){var t=e.editorState,n=t.getSelection(),r=t.getCurrentContent().getBlockForKey(n.getStartKey()).getType();return a.a.createElement("div",{className:e.className},a.a.createElement(s.ButtonGroup,{gutter:"xs"},y.map(function(t){return a.a.createElement(v,{key:t.label,active:t.style===r,onToggle:e.onToggle,style:t.style,icon:t.icon})})))}var b=n(6),E=n.n(b),O=new E.a("mention-controls"),w=function(e){function t(){for(var t,n,r=arguments.length,i=new Array(r),a=0;a0&&this.findMorePeople(t)},n.handleUpArrow=function(){var e=this.state.highlightedIndex;e>0&&this.setState({highlightedIndex:e-1})},n.handleDownArrow=function(){var e=this.state.highlightedIndex;eEe?o.publicationTitle.substring(0,Ee-10).concat("..."):o.publicationTitle,null!==o.externalUrl&&r.props.dispatch(Object(k.d)(i,o.externalUrl));break;case"account":i=c.createEntity("ACCOUNT","IMMUTABLE",{accountId:o.accountId}).getLastCreatedEntityKey(),a=o.accountFullName;break;case"unknown":return}(s="REPLACE_URL_WITH_ENTITY"===t?ce(u,e,i,a):function(e,t,n){var r=f.Modifier.insertText(e.getCurrentContent(),e.getSelection(),n,null,t),o=r.merge({selectionAfter:r.getSelectionAfter().set("hasFocus",!0)});return fe(f.EditorState.push(e,o,"apply-entity")," ")}(u,i,a))&&(n&&(s=fe(s," "+n)),r.handleChange(s,!0))}})},i.undoExternalUrlToRgUrlConversion=function(){var e=this.state.editorState,t=this.props.editor,n=le(e,t.externalUrlKey,t.externalUrl);this.handleChange(n,!0),this.props.dispatch(Object(k.f)())},i.focus=function(){this.editorRef.focus(),this.setRenderRichTextOptions()},i.clear=function(){this.handleChange(this.getEditorState(this.props))},i.propagateChange=function(e){void 0===e&&(e=!0),this.props.onChange({text:this.getCurrentContentState().getPlainText().trim(),struct:Object(f.convertToRaw)(this.getCurrentContentState())},e)},i.getEditorState=function(e){var t,n=new f.CompositeDecorator([e.mentionDecorator]);return t=e.structuredData||e.text?e.structuredData?Object(f.convertFromRaw)(e.structuredData):Object(he.a)(e.text):Object(he.a)(),f.EditorState.createWithContent(t,n)},i.getCurrentContentState=function(){return this.state.editorState.getCurrentContent()},i.setContent=function(e){this.handleChange(f.EditorState.createWithContent(f.ContentState.createFromText(e)))},i.setRenderRichTextOptions=function(){this.state.showRichTextOptions||this.setState({showRichTextOptions:!0})},i.renderRichTextControls=function(){if(this.props.hideRichTextControls)return null;if(!this.state.showRichTextOptions)return null;var e=[a.a.createElement(S,Object.assign({key:"inline-controls"},Oe("inline-controls"),{editorState:this.state.editorState,onToggle:this.handleToggleInline})),a.a.createElement(g,Object.assign({key:"block-controls"},Oe("block-controls"),{editorState:this.state.editorState,showReferenceResearch:!m()(this.props.referenceResearchDialogUrl),onToggle:this.handleToggleBlock,onMentionClick:this.handleMentionControlsClick,onReferenceClick:this.handleReferenceControlsClick}))];return this.props.useMentionControls&&e.push(a.a.createElement(w,Object.assign({key:"mention-controls"},Oe("mention-controls"),{showReferenceResearch:!m()(this.props.referenceResearchDialogUrl),onMentionClick:this.handleMentionControlsClick,onReferenceClick:this.handleReferenceControlsClick,isMobileDevice:this.isMobileDevice,hideLabels:this.props.hideControlsLabels}))),a.a.createElement("div",Oe("controls"),e)},i.render=function(){var e,t=this,n=this.state.editorState,r=n.getCurrentContent(),o=r.hasText(),i="unstyled"!==r.getBlockMap().first().getType(),s={"hide-placeholder":!o&&i,"is-focused":this.state.isEditorFocused&&this.props.blockModifier,expanded:this.state.expanded,"has-error":this.props.hasError},u=((e={})[this.props.blockModifier]=this.props.blockModifier,e["controls-under"]=this.props.showRichTextControlsUnderInput,e),c=[a.a.createElement(f.Editor,{key:"editor",editorKey:this.editorKey,editorState:n,onChange:this.onChange,placeholder:this.props.placeholder,ref:function(e){t.editorRef=e},spellCheck:!0,onFocus:this.handleFocus,onBlur:this.handleBlur,handlePastedText:this.handlePastedText,onUpArrow:this.handleUpArrow,onDownArrow:this.handleDownArrow,onEscape:this.handleEscape,onTab:this.handleTab,handleReturn:this.handleEnter,customStyleMap:_})];return this.props.useHotKeyManager&&c.push(a.a.createElement(ae,{key:"hotkey-manager",editorRef:this.editorRef,editorState:n,replaceSelectionWithEntity:this.handleReplaceSelectionWithEntity,subscribeToEditorKey:this.subscribeToEditorKey,unsubscribeFromEditorKey:this.unsubscribeFromEditorKey,rootId:this.props.rootId})),a.a.createElement("div",Object.assign({},Oe("",u),{onClick:this.handleClick}),a.a.createElement(P.a,{transitionName:"converse-editor__controls",transitionEnterTimeout:500,transitionLeaveTimeout:500},this.renderRichTextControls()),a.a.createElement("div",Oe("input",s),c))},Object(r.a)(t,e),t}(i.Component);we.displayName="ConverseEditor",we.defaultProps={focusOnMount:!1,hideRichTextControls:!1,showRichTextOptionsOnMount:!1,useMentionControls:!0,useHotKeyManager:!0,hideControlsLabels:!1,showRichTextControlsUnderInput:!1,mentionDecorator:F};var _e=Object(u.createSelector)([N.a],function(e){return{editor:e.toJS()}});t.b=Object(p.connectWidget)(_e,null,null,{withRef:!0})(we)},function(e,t,n){"use strict";var r=n(3),o=n(5),i=(n(1),n(0)),a=n.n(i),s=n(4),u=n(2),c=n(22),l=n.n(c),f=n(221),p=function(e){function t(t){var n;return(n=e.call(this,t)||this).onClick=n.onClick.bind(Object(o.a)(Object(o.a)(n))),n}var n=t.prototype;return n.onClick=function(){this.props.onClick&&this.props.onClick()},n.getText=function(){return a.a.createElement("span",null,a.a.createElement("span",{className:"total"},this.props.total)," ",l()(this.props.label,this.props.total))},n.getButton=function(){var e=this.props,t=e.theme,n=e.color,r=e.className,o=e.size;return this.props.useLink?a.a.createElement(u.Link,Object.assign({onClick:this.onClick},{theme:t,color:n,className:r,size:o}),this.getText()):a.a.createElement(u.Button,Object.assign({onClick:this.onClick,type:"button"},{theme:t,color:n,className:r,size:o}),this.getText())},n.render=function(){return this.props.total<=0?null:a.a.createElement(u.Tooltip,{color:"black",target:this.getButton()},a.a.createElement(u.Tooltip.Body,null,a.a.createElement(f.a,this.props)))},Object(r.a)(t,e),t}(i.Component);p.displayName="Likes",p.defaultProps={total:0,label:"Recommendation",useLink:!1,size:"s"};var d=p,h=n(92),m=n(20),v=n(297),y=n(298),g=n(129),b=function(e){function t(){for(var t,n,r=arguments.length,i=new Array(r),a=0;a0?"DELIVERING":"READY"),u?(t(Object(o.a)({type:I},{rgKey:r,data:{status:u}})),p(e,u).then(function(e){return function(e,t){return e(Object(o.a)({type:I},t)),Promise.resolve()}(t,e)}).catch(function(e){return t(Object(o.a)({type:I},e.errors)),Promise.reject({errors:["Error while updating ad group status."]})})):Promise.reject({errors:["Invalid status to toggle"]})}};var h=Object(i.a)("adCampaignItems"),m=h("REPLACE_STATE"),v=h("UPDATE_ITEMS"),y=h("ADD_DATA"),g=h("UPDATE_ACTIVITY_GROUPS"),b=h("CHANGE_DATE_RANGE"),E=h("CHANGE_ORDER_ID"),O=h("CHANGE_CREATIVE_ID"),w=h("CHANGE_LINE_ITEM_ID"),_=h("START_LOADING"),T=h("STOP_LOADING"),S=h("CHANGE_COMPANY_ID"),I=h("MODIFY_ITEM_DATA");function P(e){var t=e.orderId,n=e.lineItemId,r=e.creativeId,o=e.startDate,i=e.endDate,a=e.breakdown;return function(e,s){var f=Object(l.d)(s()),p=Object(l.y)(s());return e({type:_}),function(e){var t=e.campaignId,n=e.rgType,r=e.orderId,o=e.lineItemId,i=e.creativeId,a=e.startDate,s=e.endDate,l=e.breakdown;return c(u,{query:{campaignId:t,rgType:n,orderId:r,lineItemId:o,creativeId:i,startDate:a,endDate:s,breakdown:l}})}({campaignId:f,rgType:p,orderId:t,lineItemId:n,creativeId:r,startDate:o,endDate:i,breakdown:a}).then(function(t){return C(e,t)})}}function C(e,t){var n=t.contentItems,o=Object(r.a)(t,["contentItems"]);return n&&e(Object(d.c)(n)),e({type:m,newStateData:o}),e({type:T}),Promise.resolve()}function x(e){return{type:y,data:e}}function j(e){return{type:g,activityGroups:e}}function A(e){return{type:v,items:e}}},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"f",function(){return a}),n.d(t,"d",function(){return s}),n.d(t,"e",function(){return u}),n.d(t,"b",function(){return c}),n.d(t,"c",function(){return l});var r=n(96),o=Object(r.a)("projectsShare"),i=o("ACTION_SHOW_RECOMMEND_ALERT"),a=o("STORAGE_KEY_SHOW_RECOMMEND_ALERT"),s="projectShareNotificationCTARecommend",u="projectShareNotificationUpdateCollaborator",c="projectShareNotificationCommentCollaborator",l="projectShareNotificationCommentNonCollaborator"},,,,,function(e,t,n){var r=n(168);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},,function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},,,,,function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(2075),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default||function(e){for(var t=1;t1)for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],o=e&&s(e),i=t&&s(t),a=o||i;if(e&&s(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var c=void 0;if(r.length){var l=r[r.length-1];c="."===l||".."===l||""===l}else c=!1;for(var f=0,p=r.length;p>=0;p--){var d=r[p];"."===d?u(r,p):".."===d?(u(r,p),f++):f&&(u(r,p),f--)}if(!a)for(;f--;f)r.unshift("..");!a||""===r[0]||r[0]&&s(r[0])||r.unshift("");var h=r.join("/");return c&&"/"!==h.substr(-1)&&(h+="/"),h},l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var f=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});var r=void 0===t?"undefined":l(t);if(r!==(void 0===n?"undefined":l(n)))return!1;if("object"===r){var o=t.valueOf(),i=n.valueOf();if(o!==t||i!==n)return e(o,i);var a=Object.keys(t),s=Object.keys(n);return a.length===s.length&&a.every(function(r){return e(t[r],n[r])})}return!1},p=function(e){return"/"===e.charAt(0)?e:"/"+e},d=function(e){return"/"===e.charAt(0)?e.substr(1):e},h=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},m=function(e,t){return h(e,t)?e.substr(t.length):e},v=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},y=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}},g=function(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o},b=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};a()(_,"Browser history needs a DOM");var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),s=e.forceRefresh,u=void 0!==s&&s,c=e.getUserConfirmation,l=void 0===c?I:c,f=e.keyLength,d=void 0===f?6:f,y=e.basename?v(p(e.basename)):"",b=function(e){var t=e||{},n=t.key,r=t.state,i=window.location,a=i.pathname+i.search+i.hash;return o()(!y||h(a,y),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+a+'" to begin with "'+y+'".'),y&&(a=m(a,y)),E(a,r,n)},O=function(){return Math.random().toString(36).substr(2,d)},j=w(),A=function(e){C(q,e),q.length=n.length,j.notifyListeners(q.location,q.action)},k=function(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||D(b(e.state))},N=function(){D(b(x()))},R=!1,D=function(e){R?(R=!1,A()):j.confirmTransitionTo(e,"POP",l,function(t){t?A({action:"POP",location:e}):L(e)})},L=function(e){var t=q.location,n=F.indexOf(t.key);-1===n&&(n=0);var r=F.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(R=!0,B(o))},M=b(x()),F=[M.key],U=function(e){return y+g(e)},B=function(e){n.go(e)},z=0,V=function(e){1===(z+=e)?(T(window,"popstate",k),i&&T(window,"hashchange",N)):0===z&&(S(window,"popstate",k),i&&S(window,"hashchange",N))},Y=!1,q={length:n.length,action:"POP",location:M,createHref:U,push:function(e,t){o()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=E(e,t,O(),q.location);j.confirmTransitionTo(i,"PUSH",l,function(e){if(e){var t=U(i),a=i.key,s=i.state;if(r)if(n.pushState({key:a,state:s},null,t),u)window.location.href=t;else{var c=F.indexOf(q.location.key),l=F.slice(0,-1===c?0:c+1);l.push(i.key),F=l,A({action:"PUSH",location:i})}else o()(void 0===s,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=t}})},replace:function(e,t){o()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=E(e,t,O(),q.location);j.confirmTransitionTo(i,"REPLACE",l,function(e){if(e){var t=U(i),a=i.key,s=i.state;if(r)if(n.replaceState({key:a,state:s},null,t),u)window.location.replace(t);else{var c=F.indexOf(q.location.key);-1!==c&&(F[c]=i.key),A({action:"REPLACE",location:i})}else o()(void 0===s,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(t)}})},go:B,goBack:function(){return B(-1)},goForward:function(){return B(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=j.setPrompt(e);return Y||(V(1),Y=!0),function(){return Y&&(Y=!1,V(-1)),t()}},listen:function(e){var t=j.appendListener(e);return V(1),function(){V(-1),t()}}};return q},A=Object.assign||function(e){for(var t=1;t=0?t:0)+"#"+e)},D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a()(_,"Hash history needs a DOM");var t=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),r=e.getUserConfirmation,i=void 0===r?I:r,s=e.hashType,u=void 0===s?"slash":s,c=e.basename?v(p(e.basename)):"",l=k[u],f=l.encodePath,d=l.decodePath,y=function(){var e=d(N());return o()(!c||h(e,c),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+c+'".'),c&&(e=m(e,c)),E(e)},b=w(),P=function(e){A(G,e),G.length=t.length,b.notifyListeners(G.location,G.action)},C=!1,x=null,j=function(){var e=N(),t=f(e);if(e!==t)R(t);else{var n=y(),r=G.location;if(!C&&O(r,n))return;if(x===g(n))return;x=null,D(n)}},D=function(e){C?(C=!1,P()):b.confirmTransitionTo(e,"POP",i,function(t){t?P({action:"POP",location:e}):L(e)})},L=function(e){var t=G.location,n=B.lastIndexOf(g(t));-1===n&&(n=0);var r=B.lastIndexOf(g(e));-1===r&&(r=0);var o=n-r;o&&(C=!0,z(o))},M=N(),F=f(M);M!==F&&R(F);var U=y(),B=[g(U)],z=function(e){o()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},V=0,Y=function(e){1===(V+=e)?T(window,"hashchange",j):0===V&&S(window,"hashchange",j)},q=!1,G={length:t.length,action:"POP",location:U,createHref:function(e){return"#"+f(c+g(e))},push:function(e,t){o()(void 0===t,"Hash history cannot push state; it is ignored");var n=E(e,void 0,void 0,G.location);b.confirmTransitionTo(n,"PUSH",i,function(e){if(e){var t=g(n),r=f(c+t);if(N()!==r){x=t,function(e){window.location.hash=e}(r);var i=B.lastIndexOf(g(G.location)),a=B.slice(0,-1===i?0:i+1);a.push(t),B=a,P({action:"PUSH",location:n})}else o()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),P()}})},replace:function(e,t){o()(void 0===t,"Hash history cannot replace state; it is ignored");var n=E(e,void 0,void 0,G.location);b.confirmTransitionTo(n,"REPLACE",i,function(e){if(e){var t=g(n),r=f(c+t);N()!==r&&(x=t,R(r));var o=B.indexOf(g(G.location));-1!==o&&(B[o]=t),P({action:"REPLACE",location:n})}})},go:z,goBack:function(){return z(-1)},goForward:function(){return z(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=b.setPrompt(e);return q||(Y(1),q=!0),function(){return q&&(q=!1,Y(-1)),t()}},listen:function(e){var t=b.appendListener(e);return Y(1),function(){Y(-1),t()}}};return G},L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},M=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.getUserConfirmation,n=e.initialEntries,r=void 0===n?["/"]:n,i=e.initialIndex,a=void 0===i?0:i,s=e.keyLength,u=void 0===s?6:s,c=w(),l=function(e){M(v,e),v.length=v.entries.length,c.notifyListeners(v.location,v.action)},f=function(){return Math.random().toString(36).substr(2,u)},p=F(a,0,r.length-1),d=r.map(function(e){return E(e,void 0,"string"==typeof e?f():e.key||f())}),h=g,m=function(e){var n=F(v.index+e,0,v.entries.length-1),r=v.entries[n];c.confirmTransitionTo(r,"POP",t,function(e){e?l({action:"POP",location:r,index:n}):l()})},v={length:d.length,action:"POP",location:d[p],index:p,entries:d,createHref:h,push:function(e,n){o()(!("object"===(void 0===e?"undefined":L(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var r=E(e,n,f(),v.location);c.confirmTransitionTo(r,"PUSH",t,function(e){if(e){var t=v.index+1,n=v.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),l({action:"PUSH",location:r,index:t,entries:n})}})},replace:function(e,n){o()(!("object"===(void 0===e?"undefined":L(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var r=E(e,n,f(),v.location);c.confirmTransitionTo(r,"REPLACE",t,function(e){e&&(v.entries[v.index]=r,l({action:"REPLACE",location:r}))})},go:m,goBack:function(){return m(-1)},goForward:function(){return m(1)},canGo:function(e){var t=v.index+e;return t>=0&&t0&&void 0!==arguments[0]&&arguments[0];return c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return v};n.d(t,"a",function(){return j}),n.d(t,!1,function(){return D}),n.d(t,!1,function(){return U}),n.d(t,!1,function(){return E}),n.d(t,!1,function(){return O}),n.d(t,!1,function(){return y}),n.d(t,!1,function(){return g})},function(e,t,n){"use strict";n(1);var r=n(0),o=n.n(r),i=n(3),a=n(5),s=n(232),u=n(129),c=function(e){function t(){for(var t,n,r=arguments.length,o=new Array(r),i=0;in.props.maxCollapsedLength},n}var n=t.prototype;return n.UNSAFE_componentWillMount=function(){this.state.collapsed||this.props.onExpand()},n.render=function(){if(f(this)=o.length)break;s=o[a++]}else{if((a=o.next()).done)break;s=a.value}var u=s;if(n<=0)break;r.push(e(u))}return r})(this.props.children)},n.expandText=function(){this.props.onExpand(),this.setState({collapsed:!1})},n.handleExpandButtonClicked=function(e){this.state.collapsed&&(e.stopPropagation(),this.expandText())},Object(r.a)(t,e),t}(a.Component);p.displayName="CollapsibleText",p.defaultProps={className:"",collapsible:!0,onExpand:function(){}},t.a=p},,,,,,function(e,t,n){var r=n(422),o=n(477),i=n(394),a=n(303),s=n(479),u=n(617),c=n(478),l=n(354),f=n(81),p=30,d="...",h=/\w*$/;e.exports=function(e,t){var n=p,m=d;if(a(t)){var v="separator"in t?t.separator:v;n="length"in t?l(t.length):n,m="omission"in t?r(t.omission):m}var y=(e=f(e)).length;if(i(e)){var g=c(e);y=g.length}if(n>=y)return e;var b=n-u(m);if(b<1)return m;var E=g?o(g,0,b).join(""):e.slice(0,b);if(void 0===v)return E+m;if(g&&(b+=E.length-b),s(v)){if(e.slice(b).search(v)){var O,w=E;for(v.global||(v=RegExp(v.source,f(h.exec(v))+"g")),v.lastIndex=0;O=v.exec(w);)var _=O.index;E=E.slice(0,void 0===_?b:_)}}else if(e.indexOf(r(v),b)!=b){var T=E.lastIndexOf(v);T>-1&&(E=E.slice(0,T))}return E+m}},,function(e,t,n){"use strict";t.a=function(e){var t=e.split("/").pop();if(t.length>4)return null;return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n.n(r),i=n(1),a=(n.n(i),"undefined"==typeof document?null:document.getElementById("a11y-status-message")),s=[];function u(e){var t=s[s.length-1]===e;s=t?[].concat(s,[e]):[e];for(var n=function(){if(a)return a;return(a=document.createElement("div")).setAttribute("id","a11y-status-message"),a.setAttribute("role","status"),a.setAttribute("aria-live","assertive"),a.setAttribute("aria-relevant","additions text"),Object.assign(a.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),document.body.appendChild(a),a}();n.lastChild;)n.removeChild(n.firstChild);s.filter(Boolean).forEach(function(e,t){n.appendChild(function(e,t){var n=t===s.length-1?"block":"none",r=document.createElement("div");return r.style.display=n,r.textContent=e,r}(e,t))})}var c=0;function l(e){return"function"==typeof e?e:f}function f(){}var p=function e(t,n,r){return null!==n&&n!==r.parentNode?t(n)?n===document.body&&0===n.scrollTop?document.documentElement:n:e(t,n.parentNode,r):null}.bind(null,function(e){return e.scrollHeight>e.clientHeight});function d(e,t){return e===t||e.contains(t)}function h(){for(var e=arguments.length,t=Array(e),n=0;n1?n-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:{},t={};return b.forEach(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t}function O(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}var w=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},_=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},S=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},I=function(e){function t(){w(this,t);for(var n=arguments.length,r=Array(n),o=0;o0&&void 0!==arguments[0]?arguments[0]:this.state;return Object.keys(t).reduce(function(n,r){return n[r]=e.isControlledProp(r)?e.props[r]:t[r],n},{})},t.prototype.isControlledProp=function(e){return void 0!==this.props[e]},t.prototype.getItemCount=function(){return null!=this.itemCount?this.itemCount:void 0!==this.props.itemCount?this.props.itemCount:this.items.length},t.prototype.getItemNodeFromIndex=function(e){return this.props.environment.document.getElementById(this.getItemId(e))},t.prototype.scrollHighlightedItemIntoView=function(){!function(e,t){var n=p(e,t);if(null!==n){var r=getComputedStyle(n),o=n.getBoundingClientRect(),i=parseInt(r.borderTopWidth,10),a=i+parseInt(r.borderBottomWidth,10),s=o.top+i,u=e.getBoundingClientRect();if(u.top<0&&o.top<0)n.scrollTop+=u.top;else if(u.top<0)n.scrollTop+=u.top-s;else if(u.top>0&&o.top<0)o.bottom>0&&u.bottom+a>o.bottom&&(n.scrollTop+=u.bottom-o.bottom+a);else{var c=u.top+n.scrollTop-s;cn.scrollTop+o.height&&(n.scrollTop=c+u.height-o.height+a)}}}(this.getItemNodeFromIndex(this.getState().highlightedIndex),this._rootNode)},t.prototype.moveHighlightedIndex=function(e,t){this.getState().isOpen?this.changeHighlightedIndex(e,t):this.setHighlightedIndex(void 0,_({isOpen:!0},t))},t.prototype.changeHighlightedIndex=function(e,t){var n=this.getItemCount()-1;if(!(n<0)){var r=this.getState().highlightedIndex;null===r&&(r=e>0?-1:n+1);var o=r+e;o<0?o=n:o>n&&(o=0),this.setHighlightedIndex(o,t)}},t.prototype.getStateAndHelpers=function(){var e=this.getState(),t=e.highlightedIndex,n=e.inputValue,r=e.selectedItem,o=e.isOpen,i=this.props.itemToString,a=this.id,s=this.getRootProps,u=this.getButtonProps,c=this.getToggleButtonProps,l=this.getLabelProps,f=this.getInputProps,p=this.getItemProps,d=this.openMenu,h=this.closeMenu,m=this.toggleMenu,v=this.selectItem,y=this.selectItemAtIndex,g=this.selectHighlightedItem,b=this.setHighlightedIndex,E=this.clearSelection,O=this.clearItems;return{getRootProps:s,getButtonProps:u,getToggleButtonProps:c,getLabelProps:l,getInputProps:f,getItemProps:p,reset:this.reset,openMenu:d,closeMenu:h,toggleMenu:m,selectItem:v,selectItemAtIndex:y,selectHighlightedItem:g,setHighlightedIndex:b,clearSelection:E,clearItems:O,setItemCount:this.setItemCount,unsetItemCount:this.unsetItemCount,setState:this.internalSetState,itemToString:i,id:a,highlightedIndex:t,inputValue:n,isOpen:o,selectedItem:r}},t.prototype.getItemId=function(e){return this.id+"-item-"+e},t.prototype.componentDidMount=function(){var e=this;this._isMounted=!0;var n=function(){e.isMouseDown=!0},r=function(n){var r=e.props.environment.document;e.isMouseDown=!1;var o=e._rootNode&&d(e._rootNode,n.target),i=e._rootNode&&d(e._rootNode,r.activeElement);o||i||!e.getState().isOpen||e.reset({type:t.stateChangeTypes.mouseUp},function(){return e.props.onOuterClick(e.getStateAndHelpers())})},o=function(n){!(e._rootNode&&d(e._rootNode,n.target))&&e.getState().isOpen&&e.reset({type:t.stateChangeTypes.touchStart},function(){return e.props.onOuterClick(e.getStateAndHelpers())})};this.props.environment.addEventListener("mousedown",n),this.props.environment.addEventListener("mouseup",r),this.props.environment.addEventListener("touchstart",o),this.cleanup=function(){e._isMounted=!1,e.props.environment.removeEventListener("mousedown",n),e.props.environment.removeEventListener("mouseup",r),e.props.environment.removeEventListener("touchstart",o)}},t.prototype.componentDidUpdate=function(e,n){this.isControlledProp("selectedItem")&&this.props.selectedItemChanged(e.selectedItem,this.props.selectedItem)&&this.internalSetState({type:t.stateChangeTypes.controlledPropUpdatedSelectedItem,inputValue:this.props.itemToString(this.props.selectedItem)});var r=void 0===this.props.highlightedIndex?this.state:this.props,o=void 0===e.highlightedIndex?n:e;r.highlightedIndex===o.highlightedIndex||this.avoidScrolling||this.scrollHighlightedItemIntoView(),this.updateStatus()},t.prototype.componentWillUnmount=function(){this.cleanup()},t.prototype.render=function(){var e=v(this.props.render||this.props.children,f);this.clearItems(),this.getRootProps.called=!1,this.getRootProps.refKey=void 0,this.getRootProps.suppressRefError=void 0,this.getLabelProps.called=!1,this.getInputProps.called=!1;var t=v(e(this.getStateAndHelpers()));if(!t)return null;if(this.getRootProps.called)return this.getRootProps.suppressRefError||function(e,t){var n=t.refKey,r="ref"!==n,o=!y(e);if(o&&!r)throw new Error("downshift: You returned a non-DOM element. You must specify a refKey in getRootProps");if(!o&&r)throw new Error('downshift: You returned a DOM element. You should not specify a refKey in getRootProps. You specified "'+n+'"');if(!g(e)[n])throw new Error('downshift: You must apply the ref prop "'+n+'" from getRootProps onto your root element.')}(t,this.getRootProps),t;if(y(t))return o.a.cloneElement(t,this.getRootProps(g(t)));throw new Error("downshift: If you return a non-DOM element, you must use apply the getRootProps function")},t}(r.Component);I.defaultProps={defaultHighlightedIndex:null,defaultSelectedItem:null,defaultInputValue:"",defaultIsOpen:!1,getA11yStatusMessage:function(e){var t=e.isOpen,n=e.highlightedItem,r=e.selectedItem,o=e.resultCount,i=e.previousResultCount,a=e.itemToString;return t?o?n&&o===i?a(n):o+" "+(1===o?"result is":"results are")+" available, use up and down arrow keys to navigate.":"No results.":r?a(r):""},itemToString:function(e){return null==e?"":String(e)},onStateChange:function(){},onInputValueChange:function(){},onUserAction:function(){},onChange:function(){},onSelect:function(){},onOuterClick:function(){},selectedItemChanged:function(e,t){return e!==t},environment:"undefined"==typeof window?{}:window,stateReducer:function(e,t){return t},breakingChanges:{}},I.stateChangeTypes={unknown:"__autocomplete_unknown__",mouseUp:"__autocomplete_mouseup__",itemMouseEnter:"__autocomplete_item_mouseenter__",keyDownArrowUp:"__autocomplete_keydown_arrow_up__",keyDownArrowDown:"__autocomplete_keydown_arrow_down__",keyDownEscape:"__autocomplete_keydown_escape__",keyDownEnter:"__autocomplete_keydown_enter__",clickItem:"__autocomplete_click_item__",blurInput:"__autocomplete_blur_input__",changeInput:"__autocomplete_change_input__",keyDownSpaceButton:"__autocomplete_keydown_space_button__",clickButton:"__autocomplete_click_button__",blurButton:"__autocomplete_blur_button__",controlledPropUpdatedSelectedItem:"__autocomplete_controlled_prop_updated_selected_item__",touchStart:"__autocomplete_touchstart__"};var P=function(){var e,t,n,r=this;this.input=null,this.items=[],this.itemCount=null,this.previousResultCount=0,this.setItemCount=function(e){return r.itemCount=e},this.unsetItemCount=function(){return r.itemCount=null},this.setHighlightedIndex=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.props.defaultHighlightedIndex,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=E(t),r.internalSetState(_({highlightedIndex:e},t))},this.clearSelection=function(e){r.internalSetState({selectedItem:null,inputValue:"",isOpen:!1},e)},this.selectItem=function(e,t,n){t=E(t),r.internalSetState(_({isOpen:!1,highlightedIndex:r.props.defaultHighlightedIndex,selectedItem:e,inputValue:r.isControlledProp("selectedItem")&&r.props.breakingChanges.resetInputOnSelection?r.props.defaultInputValue:r.props.itemToString(e)},t),n)},this.selectItemAtIndex=function(e,t,n){var o=r.items[e];null!=o&&r.selectItem(o,t,n)},this.selectHighlightedItem=function(e,t){return r.selectItemAtIndex(r.getState().highlightedIndex,e,t)},this.internalSetState=function(e,t){var n=void 0,o=void 0,i={},a="function"==typeof e;return!a&&e.hasOwnProperty("inputValue")&&r.props.onInputValueChange(e.inputValue,_({},r.getStateAndHelpers(),e)),r.setState(function(t){t=r.getState(t);var s=a?e(t):e;s=r.props.stateReducer(t,s);var u={},c={};return(n=s.hasOwnProperty("selectedItem"))&&s.selectedItem!==t.selectedItem&&(o=s.selectedItem),s.type=s.type||I.stateChangeTypes.unknown,Object.keys(s).forEach(function(e){t[e]!==s[e]&&(i[e]=s[e]),"type"!==e&&(c[e]=s[e],r.isControlledProp(e)||(u[e]=s[e]))}),a&&s.hasOwnProperty("inputValue")&&r.props.onInputValueChange(s.inputValue,_({},r.getStateAndHelpers(),s)),u},function(){l(t)(),Object.keys(i).length>1&&r.props.onStateChange(i,r.getStateAndHelpers()),n&&r.props.onSelect(e.selectedItem,r.getStateAndHelpers()),void 0!==o&&r.props.onChange(o,r.getStateAndHelpers()),r.props.onUserAction(i,r.getStateAndHelpers())})},this.rootRef=function(e){return r._rootNode=e},this.getRootProps=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).suppressRefError,o=void 0!==n&&n,i=t.refKey,a=void 0===i?"ref":i,s=T(t,["refKey"]);return r.getRootProps.called=!0,r.getRootProps.refKey=a,r.getRootProps.suppressRefError=o,_(((e={})[a]=r.rootRef,e),s)},this.keyDownHandlers={ArrowDown:function(e){e.preventDefault();var t=e.shiftKey?5:1;this.moveHighlightedIndex(t,{type:I.stateChangeTypes.keyDownArrowDown})},ArrowUp:function(e){e.preventDefault();var t=e.shiftKey?-5:-1;this.moveHighlightedIndex(t,{type:I.stateChangeTypes.keyDownArrowUp})},Enter:function(e){this.getState().isOpen&&(e.preventDefault(),this.selectHighlightedItem({type:I.stateChangeTypes.keyDownEnter}))},Escape:function(e){e.preventDefault(),this.reset({type:I.stateChangeTypes.keyDownEscape})}},this.buttonKeyDownHandlers=_({},this.keyDownHandlers,{" ":function(e){e.preventDefault(),this.toggleMenu({type:I.stateChangeTypes.keyDownSpaceButton})}}),this.getToggleButtonProps=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.onClick,n=e.onKeyDown,o=e.onBlur,i=T(e,["onClick","onKeyDown","onBlur"]),a=r.getState().isOpen,s={onClick:h(t,r.button_handleClick),onKeyDown:h(n,r.button_handleKeyDown),onBlur:h(o,r.button_handleBlur)},u=i.disabled?{}:s;return _({type:"button",role:"button","aria-label":a?"close menu":"open menu","aria-expanded":a,"aria-haspopup":!0,"data-toggle":!0},u,i)},this.getButtonProps=this.getToggleButtonProps,this.button_handleKeyDown=function(e){var t=O(e);r.buttonKeyDownHandlers[t]&&r.buttonKeyDownHandlers[t].call(r,e)},this.button_handleClick=function(e){e.preventDefault(),r.props.environment.document.activeElement===r.props.environment.document.body&&e.target.focus(),setTimeout(function(){return r.toggleMenu({type:I.stateChangeTypes.clickButton})})},this.button_handleBlur=function(){setTimeout(function(){r.isMouseDown||null!=r.props.environment.document.activeElement&&r.props.environment.document.activeElement.id===r.inputId||r.reset({type:I.stateChangeTypes.blurButton})})},this.getLabelProps=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(r.getLabelProps.called=!0,r.getInputProps.called&&e.htmlFor&&e.htmlFor!==r.inputId)throw new Error('downshift: You provided the htmlFor of "'+e.htmlFor+'" for your label, but the id of your input is "'+r.inputId+'". You must either remove the id from your input or set the htmlFor of the label equal to the input id.');return r.inputId=m(r.inputId,e.htmlFor,r.id+"-input"),_({},e,{htmlFor:r.inputId})},this.getInputProps=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.onKeyDown,o=t.onBlur,i=t.onChange,a=t.onInput,s=T(t,["onKeyDown","onBlur","onChange","onInput"]);if(r.getInputProps.called=!0,r.getLabelProps.called&&s.id&&s.id!==r.inputId)throw new Error('downshift: You provided the id of "'+s.id+'" for your input, but the htmlFor of your label is "'+r.inputId+'". You must either remove the id from your input or set the htmlFor of the label equal to the input id.');r.inputId=m(r.inputId,s.id,r.id+"-input");var u=r.getState(),c=u.inputValue,l=u.isOpen,f=u.highlightedIndex,p=s.disabled?{}:((e={}).onChange=h(i,a,r.input_handleChange),e.onKeyDown=h(n,r.input_handleKeyDown),e.onBlur=h(o,r.input_handleBlur),e);return _({role:"combobox","aria-autocomplete":"list","aria-expanded":l,"aria-activedescendant":l&&"number"==typeof f&&f>=0?r.getItemId(f):null,autoComplete:"off",value:c},p,s,{id:r.inputId})},this.input_handleKeyDown=function(e){var t=O(e);t&&r.keyDownHandlers[t]&&r.keyDownHandlers[t].call(r,e)},this.input_handleChange=function(e){r.internalSetState({type:I.stateChangeTypes.changeInput,isOpen:!0,inputValue:e.target.value})},this.input_handleBlur=function(){setTimeout(function(){var e=r.props.environment.document.activeElement.dataset.toggle&&r._rootNode&&r._rootNode.contains(r.props.environment.document.activeElement);r.isMouseDown||e||r.reset({type:I.stateChangeTypes.blurInput})})},this.getItemProps=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.onMouseMove,o=t.onMouseDown,i=t.onClick,a=t.index,s=t.item,u=void 0===s?function(e,t){throw new Error('The property "'+t+'" is required in "'+e+'"')}("getItemProps","item"):s,c=T(t,["onMouseMove","onMouseDown","onClick","index","item"]);void 0===a?(r.items.push(u),a=r.items.indexOf(u)):r.items[a]=u;var l=((e={onMouseMove:h(n,function(){a!==r.getState().highlightedIndex&&(r.setHighlightedIndex(a,{type:I.stateChangeTypes.itemMouseEnter}),r.avoidScrolling=!0,setTimeout(function(){return r.avoidScrolling=!1},250))}),onMouseDown:h(o,function(e){e.preventDefault()})}).onClick=h(i,function(){r.selectItemAtIndex(a,{type:I.stateChangeTypes.clickItem})}),e),f=c.disabled?{}:l;return _({id:r.getItemId(a)},f,c)},this.clearItems=function(){r.items=[]},this.reset=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];e=E(e),r.internalSetState(function(t){var n=t.selectedItem;return _({isOpen:!1,highlightedIndex:r.props.defaultHighlightedIndex,inputValue:r.props.itemToString(n)},e)},l(t))},this.toggleMenu=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];e=E(e),r.internalSetState(function(t){var n=t.isOpen;return _({isOpen:!n},e)},function(){r.getState().isOpen&&r.setHighlightedIndex(void 0,e),l(t)()})},this.openMenu=function(e){r.internalSetState({isOpen:!0},l(e))},this.closeMenu=function(e){r.internalSetState({isOpen:!1},l(e))},this.updateStatus=(e=function(){if(r._isMounted){var e=r.getState(),t=r.items[e.highlightedIndex],n=r.getItemCount(),o=r.props.getA11yStatusMessage(_({itemToString:r.props.itemToString,previousResultCount:r.previousResultCount,resultCount:n,highlightedItem:t},e));r.previousResultCount=n,u(o)}},t=200,n=void 0,function(){for(var r=arguments.length,o=Array(r),i=0;in.props.imageLinks.length-2?0:n.getCurrentImageIndex()+1;n.setState({currentImage:n.props.imageLinks[e].urls})},n.handlePrevImage=function(){var e=n.getCurrentImageIndex()>0?n.getCurrentImageIndex()-1:n.props.imageLinks.length-1;n.setState({currentImage:n.props.imageLinks[e].urls})},t||Object(i.a)(n)}var n=t.prototype;return n.renderAdditionalButtons=function(e){var t=this;return this.props.buttons?this.props.buttons.map(function(n){var o=n.iconProps?s.a.createElement(u.Button.Icon,n.iconProps):null,i=n.label?s.a.createElement(u.Button.Label,null,n.label):null;return s.a.createElement(u.Button,Object.assign({},Object(r.a)({},e,n.buttonProps,{href:t.state.currentImage.downloadUrl}),{key:i,className:n.className}),o,i)}):null},n.getCurrentImageIndex=function(){var e=this;return this.hasMultipleImages()?this.props.imageLinks.findIndex(function(t){return t.urls.largeUrl===e.state.currentImage.largeUrl}):0},n.hasMultipleImages=function(){return this.props.imageLinks.length>1},n.getTrackingProps=function(){var e=this.props,t=e.context,n=e.imageLinks;return!(!t||!n[this.getCurrentImageIndex()].entityId)&&{rgKey:n[this.getCurrentImageIndex()].entityId,context:t,componentIdentifier:"LightBox"}},n.componentDidMount=function(){this.eventListener=Object(c.addEventListener)(window,"keydown",this.handleKeyDown)},n.componentWillUnmount=function(){Object(c.removeEventListener)(this.eventListener)},n.render=function(){var e={theme:"bare",color:"white",size:"m",type:"button"},t=this.getTrackingProps(),n=s.a.createElement("img",{src:this.state.currentImage.largeUrl,className:"lightbox-img",key:"lazyload-"+Date.now()});return s.a.createElement(u.Portal,null,s.a.createElement("div",null,s.a.createElement("div",{className:"lightbox",onClick:this.handleRequestClose},s.a.createElement("div",{className:"lightbox-mediawrapper lightbox-dark"},s.a.createElement(d,{tracking:t},n)),s.a.createElement("div",{className:"lightbox-close"},s.a.createElement(u.ButtonGroup,null,this.renderAdditionalButtons(e),s.a.createElement(u.Button,Object.assign({onClick:this.props.onClose},e,{key:"close"}),s.a.createElement(u.Button.Icon,{identifier:"close-circle"})))),this.hasMultipleImages()&&[s.a.createElement("div",{className:"lightbox-arrow-wrapper-prev lightbox-arrow",onClick:this.handlePrevImage,key:"arrow-left"},s.a.createElement(u.Icon,{className:"lightbox-arrow",identifier:"arrow-left",size:"m"})),s.a.createElement("div",{className:"lightbox-arrow-wrapper-next lightbox-arrow",onClick:this.handleNextImage,key:"arrow-right"},s.a.createElement(u.Icon,{className:"lightbox-arrow",identifier:"arrow-right",size:"m"}))]),s.a.createElement("div",{className:"lightbox-backdrop js-lightbox-backdrop",onClick:this.props.onClose})))},Object(o.a)(t,e),t}(a.PureComponent);h.displayName="Lightbox",h.defaultProps={imageLinks:[],initialImageUrl:null};t.a=h},function(e,t,n){var r=n(154),o=n(1072);e.exports=n(155)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(){function e(){this.data={},this.loading={}}var t=e.prototype;return t.getData=function(e){return this.data[e]},t.addData=function(e){Object.assign(this.data,e)},t.addWidgetData=function(e,t){this.data[e]=t},t.addWidgetTree=function(e){var t=this;if(e&&"object"==typeof e&&(e._isYUI||Object.keys(e).forEach(function(n){e[n]=t.addWidgetTree(e[n])}),e.templateName)){var n=e.id;return this.addWidgetData(n,e),n}return e},t.removeWidgetTree=function(e){delete this.data[e]},t.registerWidgetLoading=function(e){e&&(this.loading[e]=1)},t.isWidgetLoading=function(e){return 1===this.loading[e]},t.unregisterWidgetLoading=function(e){e&&delete this.loading[e]},e}()},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(3),o=n(5),i=n(1),a=(n.n(i),n(0)),s=n.n(a),u=n(2),c=n(259),l=(n.n(c),function(e){function t(){for(var t,n,r=arguments.length,i=new Array(r),a=0;a=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},,,,,function(e,t,n){var r=n(1532),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){"use strict";t.a=function(e,t){window.Bugsnag&&window.Bugsnag.notify(e.name,e.message||e.description,t)}},function(e,t,n){var r=n(550),o=n(32);e.exports=function(e,t){return r(o(e,t),1)}},,function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";t.d=function(e,t){var n=void 0===t?{}:t,r=n.offset,i=n.limit;return Object(o.default)(p+"/"+e,{query:{offset:r,limit:i}}).then(u()("result"))},t.e=function(e,t,n,i){void 0===i&&(i=null);var s=a()(e,["rootId","parentId","externalType","body","files","highlightText","highlightPath","title","contributors","attachmentsRgKeys"]),c=d(e);return Object(o.default)(f,{method:"POST",body:l()(s,Object(r.a)({structData:c,context:t,viewIds:n},i&&{experimentVariant:i}))}).then(u()("result"))},t.c=function(e,t){return Object(o.default)(f+"/"+e+"/requestDraft",{method:"POST",query:{messageId:e,context:t}}).then(u()("result"))},t.g=function(e,t,n){var i=e.messageId,a=e.title,s=e.body,c=e.structData,l=e.linkIds,p=e.files,d=e.contributors;return Object(o.default)(f+"/"+i,{method:"PUT",body:Object(r.a)({messageId:i},a&&{title:a},d&&{contributors:d},{body:s,structData:JSON.stringify(c),linkIds:l,files:p,context:t,viewIds:n})}).then(u()("result"))},t.a=function(e,t){return Object(o.default)(f+"/"+e,{method:"DELETE",body:{context:t}}).then(u()("result"))},t.f=function(e,t,n,r){void 0===r&&(r=[]);var i=a()(e,["replyTo","body","files"]),s=d(e);return Object(o.default)(p,{method:"POST",body:l()(i,{structData:s,context:t,viewIds:n,_iepl:r})}).then(u()("result"))},t.b=function(e,t){return Object(o.default)(p+"/"+e,{method:"DELETE",body:{context:t}}).then(u()("result"))};var r=n(11),o=n(10),i=n(101),a=n.n(i),s=n(61),u=n.n(s),c=n(300),l=n.n(c),f="/converse/api/message",p=f+"/reply",d=function(e){var t=e.struct;return JSON.stringify(t)}},,,,,,,,,,function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(42);n(1),n(58);var a=/^-?\d*\.?\d+(px|%)$/;function s(e){var t=(e?e.trim():"0px").split(/\s+/).map(function(e){if(!a.test(e))throw new Error("rootMargin must be a string literal containing pixels and/or percent values");return e}),n=t[0],r=void 0===n?"0px":n,o=t[1],i=void 0===o?r:o,s=t[2],u=void 0===s?r:s,c=t[3];return r+" "+i+" "+u+" "+(void 0===c?i:c)}function u(e,t){return Array.isArray(e)&&Array.isArray(t)&&e.length===t.length?e.some(function(n,r){return u(e[r],t[r])}):e!==t}var c=new Map,l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return e.create=function(e,t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.root||null,n=s(e.rootMargin),r=Array.isArray(e.threshold)?e.threshold:[void 0!==e.threshold?e.threshold:0],o=c.keys(),i=Array.isArray(o),a=0;for(o=i?o:o[Symbol.iterator]();;){var l;if(i){if(a>=o.length)break;l=o[a++]}else{if((a=o.next()).done)break;l=a.value}var f=l;if(![[t,f.root],[n,f.rootMargin],[r,f.thresholds]].some(function(e){return u.apply(void 0,e)}))return f}return null}(t)||new IntersectionObserver(e,t)},e.findElement=function(e,t){var n=c.get(t);if(n){var r=n.values(),o=Array.isArray(r),i=0;for(r=o?r:r[Symbol.iterator]();;){var a;if(o){if(i>=r.length)break;a=r[i++]}else{if((i=r.next()).done)break;a=i.value}var s=a;if(s.target===e.target)return s}}return null},e.observe=function(e){var t=void 0;c.has(e.observer)?t=c.get(e.observer):(t=new Set,c.set(e.observer,t)),t.add(e),e.observer.observe(e.target)},e.unobserve=function(e){if(c.has(e.observer)){var t=c.get(e.observer);t.delete(e)&&(t.size>0?e.observer.unobserve(e.target):(e.observer.disconnect(),c.delete(e.observer)))}},e.clear=function(){c.clear()},e.count=function(){return c.size},e}(),f=function(){function e(e,t){for(var n=0;n=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){n(2087);for(var r=n(198),o=n(233),i=n(248),a=n(84)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u0,U=w&&w.length>0,B=v?"3":"none",z=M?"div":c.Card;s.background&&(z="a");var V=A()(i);return o.a.createElement(z,{elevation:z===c.Card?D:null,spacing:z===c.Card?R:null,className:V,"data-jobid":t,"data-viewid":n,"data-algorithm":r,href:s.background},o.a.createElement(c.JobItem,{size:L,schemaOrg:p},d&&o.a.createElement(l,d),h&&o.a.createElement(C,h),o.a.createElement(c.JobItem.Title,{clamp:B,href:s.title},m),y&&o.a.createElement(c.JobItem.Status,{status:y.status},y.label),g&&o.a.createElement(c.JobItem.ExpiresIn,null,g),F&&o.a.createElement(c.JobItem.MetaItems,null,b&&b.length>0&&b.map(function(e,t){return o.a.createElement(c.JobItem.MetaItem,{key:t},e)})),E&&o.a.createElement(c.JobItem.Info,{title:f?"Institution":""},o.a.createElement(c.JobItem.InfoItem,{href:s.institution},E)),O&&o.a.createElement(c.JobItem.Info,{title:f?"Location":""},o.a.createElement(c.JobItem.InfoItem,{href:s.location},O)),U&&o.a.createElement(c.JobItem.Info,{title:f?"Disciplines":""},w&&w.length>0&&w.map(function(e,t){return o.a.createElement(c.JobItem.InfoItem,{key:t,href:s.positions.title},e)})),_&&o.a.createElement(c.JobItem.Info,{title:f?"Reference number":""},o.a.createElement(c.JobItem.InfoItem,null,_)),T&&o.a.createElement(c.JobItem.Info,f&&(m="Description"),o.a.createElement(c.JobItem.InfoItem,null,T)),S&&o.a.createElement(P,S),I||j?o.a.createElement(c.JobItem.Metrics,null,I>0&&o.a.createElement(c.JobItem.Metric,{href:s.viewCount},a()(I).format("0,0")+" "+u()("View",I)),j>0&&o.a.createElement(c.JobItem.Metric,{href:s.applicationCount},a()(j).format("0,0")+" "+u()("Application",j)),k>0&&o.a.createElement(c.JobItem.Metric,null,a()(k).format("0,0")+" "+u()("Clicks",k))):null),N&&o.a.createElement("div",{style:{margin:"15px -25px -25px"}},o.a.createElement(x.a,{widgetId:N})))}},,,,,,,,,,function(e,t,n){var r=n(145),o=n(516);e.exports=function(e,t){return e&&e.length?o(e,r(t,2)):[]}},,,,,,,,,,,,,function(e,t,n){var r=n(1209),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(1073)("meta"),o=n(168),i=n(710),a=n(154).f,s=0,u=Object.isExtensible||function(){return!0},c=!n(401)(function(){return u(Object.preventExtensions({}))}),l=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[r].w},onFreeze:function(e){return c&&f.NEED&&u(e)&&!i(e,r)&&l(e),e}}},,function(e,t,n){var r=n(2043),o=n(1193),i=n(2044),a=n(1544),s=n(1545),u=n(549),c=n(1534),l=c(r),f=c(o),p=c(i),d=c(a),h=c(s),m=u;(r&&"[object DataView]"!=m(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=m(new o)||i&&"[object Promise]"!=m(i.resolve())||a&&"[object Set]"!=m(new a)||s&&"[object WeakMap]"!=m(new s))&&(m=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case l:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=m},function(e,t,n){var r=n(1504);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},,function(e,t,n){"use strict";var r=n(45),o=r.Map,i=r.OrderedSet,a=r.Record,s=i(),u={style:s,entity:null},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,e.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,e),t.prototype.getStyle=function(){return this.get("style")},t.prototype.getEntity=function(){return this.get("entity")},t.prototype.hasStyle=function(e){return this.getStyle().includes(e)},t.applyStyle=function(e,n){var r=e.set("style",e.getStyle().add(n));return t.create(r)},t.removeStyle=function(e,n){var r=e.set("style",e.getStyle().remove(n));return t.create(r)},t.applyEntity=function(e,n){var r=e.getEntity()===n?e:e.set("entity",n);return t.create(r)},t.create=function(e){if(!e)return l;var n=o({style:s,entity:null}).merge(e),r=f.get(n);if(r)return r;var i=new t(n);return f=f.set(n,i),i},t}(a(u)),l=new c,f=o([[o(u),l]]);c.EMPTY=l,e.exports=c},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(1),a=(n.n(i),n(4)),s=n(2),u=n(6),c=n.n(u),l=n(2689),f=(n.n(l),new c.a("global-footer-logged-out"));t.a=Object(a.connectWidget)()(function(e){var t=e.index,n=e.urls,r=e.showImprintLink,i=e.showCopyright,a=e.justifyIndex,u=e.year,c=e.children;return o.a.createElement("div",f(),o.a.createElement("div",f("index"),a?o.a.createElement(s.Flex,{gutter:"xs",wrap:"wrap",justifyContent:"space-around"},t.map(function(e){var t=e.title,n=e.links;return o.a.createElement(s.Flex.Item,{key:t},o.a.createElement(s.Text,Object.assign({},f("index-title"),{size:"l"}),t),o.a.createElement(s.Stack,Object.assign({},f("index-column"),{gutter:"xs"}),n.map(function(e){var t=e.label,n=e.url;return o.a.createElement(s.Stack.Item,{key:t},o.a.createElement(s.Link,{href:n},t))})))}),c?o.a.createElement(s.Flex.Item,Object.assign({},f("ad-slot"),{shrink:!0}),c):null):o.a.createElement(s.Flex,null,o.a.createElement(s.Flex.Item,{grow:!0},o.a.createElement(s.Flex,{gutter:"xxxxl",wrap:"wrap"},t.map(function(e){var t=e.title,n=e.links;return o.a.createElement(s.Flex.Item,{key:t},o.a.createElement(s.Text,Object.assign({},f("index-title"),{size:"l"}),t),o.a.createElement(s.Stack,Object.assign({},f("index-column"),{gutter:"xs"}),n.map(function(e){var t=e.label,n=e.url;return o.a.createElement(s.Stack.Item,{key:t},o.a.createElement(s.Link,{href:n},t))})))}))),c?o.a.createElement(s.Flex.Item,Object.assign({},f("ad-slot"),{shrink:!0}),c):null)),o.a.createElement("div",f("base"),o.a.createElement(s.Flex,{wrap:"wrap"},o.a.createElement(s.Flex.Item,null,o.a.createElement(s.Text,{size:"s"},"© ResearchGate ",u,". All rights reserved.")),o.a.createElement(s.Flex.Item,Object.assign({grow:!0},f("base-right")),o.a.createElement(s.List,{size:"s",type:"inline"},r?o.a.createElement(s.List.Item,null,o.a.createElement(s.Link,{href:n.imprint,theme:"bare"},"Imprint")):null,o.a.createElement(s.List.Item,null,o.a.createElement(s.Link,{href:n.terms,theme:"bare"},"Terms")),o.a.createElement(s.List.Item,null,o.a.createElement(s.Link,{href:n.privacy,theme:"bare"},"Privacy")),i?o.a.createElement(s.List.Item,null,o.a.createElement(s.Link,{href:n.copyright,theme:"bare"},"Copyright")):null)))))})},,,,,,,function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.visit=function(e,t,n){var s=n||r,u=void 0,c=Array.isArray(e),l=[e],f=-1,p=[],d=void 0,h=[],m=[],v=e;do{var y=++f===l.length,g=void 0,b=void 0,E=y&&0!==p.length;if(y){if(g=0===m.length?void 0:h.pop(),b=d,d=m.pop(),E){if(c)b=b.slice();else{var O={};for(var w in b)b.hasOwnProperty(w)&&(O[w]=b[w]);b=O}for(var _=0,T=0;T0&&void 0!==arguments[0]?arguments[0]:p;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,e.call(this,m(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,e),t.prototype.getKey=function(){return this.get("key")},t.prototype.getType=function(){return this.get("type")},t.prototype.getText=function(){return this.get("text")},t.prototype.getCharacterList=function(){return this.get("characterList")},t.prototype.getLength=function(){return this.getText().length},t.prototype.getDepth=function(){return this.get("depth")},t.prototype.getData=function(){return this.get("data")},t.prototype.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():f},t.prototype.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},t.prototype.getChildKeys=function(){return this.get("children")},t.prototype.getParentKey=function(){return this.get("parent")},t.prototype.getPrevSiblingKey=function(){return this.get("prevSibling")},t.prototype.getNextSiblingKey=function(){return this.get("nextSibling")},t.prototype.findStyleRanges=function(e,t){i(this.getCharacterList(),d,e,t)},t.prototype.findEntityRanges=function(e,t){i(this.getCharacterList(),h,e,t)},t}(c(p));e.exports=v},,function(e,t,n){"use strict";var r=n(1),o=(n.n(r),n(0)),i=n.n(o),a=n(4),s=n(6),u=n.n(s),c=n(2),l=n(175),f=n(2692),p=(n.n(f),new u.a({name:"global-leaderboard-ad-container"}));function d(e){var t=e.isDisabled,n=e.children,r=e.renderCount,o=e.isEmpty,a=e.collapseBeforeFetch;if(t)return i.a.createElement("span",null);var s=o&&r>0&&a,u=p({modifiers:r>0?"ready":"collapsed"});return i.a.createElement("div",u,s?i.a.createElement("div",p("inner"),i.a.createElement("div",p("inner","container"),i.a.createElement(c.Pack,{verticalAlign:"middle",style:{margin:"auto"}},i.a.createElement(c.Pack.Item,null,i.a.createElement(c.Text,{size:"l"},"Discover scientific knowledge at ",i.a.createElement("span",{className:"rg-brand"},"ResearchGate"),", and make your research visible.")),i.a.createElement(c.Pack.Item,null,i.a.createElement(c.Button,{type:"button",align:"left",size:"s",theme:"ghost",href:"signup.SignUp.html?ev=su_chnl_leaderboard"},"Join for free"))))):null,n)}d.defaultProps={collapseBeforeFetch:!0},t.a=Object(a.connectWidget)(function(e,t){return{isDisabled:!Object(l.b)(e,t),isEmpty:Object(l.c)(e,t),renderCount:Object(l.a)(e,t)}})(d)},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"STATUS_NEW",function(){return f}),n.d(t,"STATUS_APPROVED",function(){return p}),n.d(t,"STATUS_HIDDEN",function(){return d}),n.d(t,"STATUS_IGNORED",function(){return h}),t.default=function(e,t){void 0===e&&(e=m);switch(t.type){case l.a:return i()(["suggestions",t.targetAccountId,t.accountMappingSuggesterId,"status"],p,e);case l.b:return i()(["suggestions",t.targetAccountId,t.accountMappingSuggesterId,"status"],d,e);case l.c:return i()(["suggestions",t.targetAccountId,t.accountMappingSuggesterId,"status"],h,e);case l.d:return i()(["suggestions",t.targetAccountId],(n=e.suggestions[t.targetAccountId],o=h,s()(function(e){return Object(r.a)({},e,{status:e.status===f?o:e.status})},n)),e);case l.f:return i()("isRequestInProgress",t.isRequestInProgress,e);case l.e:return function(e,t,n){var o=e.suggestions,i=e.targetAccountIds,a=c()(i,n);return n.forEach(function(e){o.hasOwnProperty(e)&&(o[e]=Object(r.a)({},t[t],o[e]))}),Object(r.a)({},e,{targetAccountIds:a,suggestions:Object(r.a)({},t,o)})}(e,t.suggestions,t.targetAccountIds)}var n,o;return e};var r=n(11),o=n(104),i=n.n(o),a=n(1251),s=n.n(a),u=n(1628),c=n.n(u),l=n(418),f="new",p="approved",d="hidden",h="ignored",m={isAllSuggestionsLoaded:!1,isRequestInProgress:!1,showOneSuggestionPerAccount:!1,suggestions:{}}},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return s}),n.d(t,"c",function(){return u}),n.d(t,"d",function(){return c}),n.d(t,"f",function(){return l}),n.d(t,"e",function(){return f}),n.d(t,"h",function(){return h}),t.g=function(e,t,n,r){void 0===r&&(r=null);return function(o){m(o,n)(p,{method:"PATCH",body:{accountMappingSuggesterId:t,context:r}}).then(function(){o(v(!1))}).catch(function(e){var t=e.errors;Object(i.d)(t,i.c),o(v(!1))}),setTimeout(function(){return o({type:a,targetAccountId:e,accountMappingSuggesterId:t})},0)}},t.i=function(e,t,n,r){void 0===r&&(r=null);return function(o){m(o,n)(d,{method:"DELETE",body:{accountMappingSuggesterId:t,context:r}}).then(function(){o(v(!1))}).catch(function(e){var t=e.errors;Object(i.d)(t,i.c),o(v(!1))}),setTimeout(function(){return o({type:s,targetAccountId:e,accountMappingSuggesterId:t})},0)}},t.j=function(e,t,n,r){void 0===r&&(r=null);return function(o){m(o,n)(d,{method:"DELETE",body:{accountMappingSuggesterId:t,ignore:!0,context:r}}).then(function(){o(v(!1))}).catch(function(e){var t=e.errors;Object(i.d)(t,i.c),o(v(!1))}),setTimeout(function(){return o({type:u,targetAccountId:e,accountMappingSuggesterId:t})},0)}},t.k=function(e,t,n){void 0===n&&(n=null);return function(r){m(r,t)(d,{method:"DELETE",body:{targetAccountId:e,ignore:!0,context:n}}).then(function(){r(v(!1))}).catch(function(e){var t=e.errors;Object(i.d)(t,i.c),r(v(!1))}),setTimeout(function(){return r({type:c,targetAccountId:e})},0)}};var r=n(11),o=n(10),i=n(39),a="APPROVE_AUTHOR_MAPPING_SUGGESTION",s="HIDE_AUTHOR_MAPPING_SUGGESTION",u="IGNORE_AUTHOR_MAPPING_SUGGESTION",c="IGNORE_AUTHOR_MAPPING_SUGGESTIONS_FOR_ACCOUNT_ID",l="SET_REQUEST_IN_PROGRESS",f="MERGE_NEW_SUGGESTIONS_IN_STATE",p="/api/u2u/approve",d="/api/u2u/delete",h=function(e,t){return e+t},m=function(e,t){var n={viewId:t};return e(v(!0)),function(e,t){return t.body=Object(r.a)({},t.body,n),Object(o.default)(e,t)}};function v(e){return function(t){return t({type:l,isRequestInProgress:e})}}},,function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return o}),t.d=function(e,t){return{type:r,accountId:e,authorUid:t}},t.c=function(e,t,n){return{type:o,accountId:e,authorUid:t,shouldRemove:n}};var r="SET_AUTHOR_MATCHED",o="BLACKLIST_AUTHOR_SUGGESTION"},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o}),n.d(t,"e",function(){return i}),n.d(t,"d",function(){return a}),n.d(t,"c",function(){return s}),n.d(t,"f",function(){return u}),n.d(t,"g",function(){return c}),t.h=l,t.i=function(){return l(s)},t.j=function(){return l(u)},t.k=function(e){return{type:o,selectedDownloadLink:e}};var r="RESEARCH_DETAIL_PAGE.SET_ACTIVE_TAB",o="RESEARCH_DETAIL_PAGE.SET_SELECTED_DOWNLOAD_LINK",i="overview",a="comments",s="citations",u="references",c="related";function l(e){return{type:r,activeTabName:e}}},function(e,t,n){var r=n(797),o=n(493),i=n(85),a=n(654),s=1/0,u=r?r.prototype:void 0,c=u?u.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-s?"-0":n}},,function(e,t,n){var r=n(46),o=n(303),i="Expected a function";e.exports=function(e,t,n){var a=!0,s=!0;if("function"!=typeof e)throw new TypeError(i);return o(n)&&(a="leading"in n?!!n.leading:a,s="trailing"in n?!!n.trailing:s),r(e,t,{leading:a,maxWait:t,trailing:s})}},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var r=n(549),o=n(1199),i=n(323),a="[object Object]",s=Function.prototype,u=Object.prototype,c=s.toString,l=u.hasOwnProperty,f=c.call(Object);e.exports=function(e){if(!i(e)||r(e)!=a)return!1;var t=o(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==f}},,,,function(e,t,n){"use strict";n.d(t,"c",function(){return a}),n.d(t,"b",function(){return s}),n.d(t,"a",function(){return u});var r=n(26),o=n.n(r),i=n(52),a=function(e,t){var n=t.publicationUid;return o()(e,["publicationGlobalPublicationAuthors","authors",n],[])},s=function(e){return o()(e,["publicationGlobalPublicationAuthors","defaultImage"],null)},u=function(e,t){var n=Object(i.b)(e);return a(e,t).some(function(e){return e.accountId===n})}},,,function(e,t,n){"use strict";e.exports=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")}},,,,,,,,,,,,,,,,,,,,,function(e,t,n){var r=n(1051);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},function(e,t,n){var r=n(1987),o=n(394),i=n(1988);e.exports=function(e){return o(e)?i(e):r(e)}},function(e,t,n){var r=n(2464),o=n(618),i=n(1066),a=i&&i.isRegExp,s=a?o(a):r;e.exports=s},,function(e,t,n){var r=n(1208);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(1583),o=n(2142),i=n(1202),a=n(620);e.exports=function(e){return i(e)?r(a(e)):o(e)}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(26),o=n.n(r),i={authorUid:null,authorName:"",authorURL:"",professionalInstitution:null,score:null},a=function(e,t){var n=t.authorUid;return o()(e,["literatureGlobalAuthors",n],i)}},function(e,t,n){"use strict";var r=n(4),o=n(327);t.a=Object(r.connectWidget)()(o.a)},function(e,t,n){var r=n(1537),o=n(486),i=n(237);e.exports=function(e){return i(e)?r(e):o(e)}},function(e,t,n){var r=n(907),o=n(2037),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t,n){var r=n(549),o=n(85),i=n(323),a="[object String]";e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&r(e)==a}},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(14),a=n(629),s=n(630),u=(n(1),n(2)),c=n(22),l=n.n(c),f=function(e){var t=e.count,n=e.url;return o.a.createElement(u.Alert,{title:"Want to recommend more research?",description:"We found "+l()("more item",t,!0)+" for you to recommend."},o.a.createElement(u.ButtonGroup,null,o.a.createElement(u.Button,{href:n,theme:"inverted"},"Yes")))},p=n(10);t.a=function(e,t,n){return function(r){function s(){n||r(Object(i.pushAlert)(function(){return o.a.createElement(a.a,{qualifier:e})},"like-"+t))}~["comment","update","publicationDetail"].indexOf(e)?Object(p.default)("recommendations.LikeSuggestions.followUp.html",{method:"POST",body:{type:e}}).then(function(e){var n=e.result,a=n.likeSuggestionCount,u=n.likeSuggestionsUrl;a>0?r(Object(i.pushAlert)(function(){return o.a.createElement(f,{url:u,count:a})},"like-"+t)):s()}).catch(s):s()}},t.b=function(e,t){return function(n){return n(Object(i.pushAlert)(function(){return o.a.createElement(s.a,{qualifier:e})},"unlike-"+t))}}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(8),o=n(9),i=(n.n(o),Object(r.a)(["\n mutation FollowPublication($publicationId: ID!, $context: String!) {\n followPublication(id: $publicationId, context: $context) {\n id\n isFollowing\n }\n }\n "])),a=function(e,t){return{mutation:Object(o.gql)(i),variables:{publicationId:e,context:t},optimisticResponse:{followPublication:{id:e,isFollowing:!0,__typename:"Publication"}}}}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(8),o=n(9),i=(n.n(o),Object(r.a)(["\n mutation UnollowPublication($publicationId: ID!, $context: String!) {\n unfollowPublication(id: $publicationId, context: $context) {\n id\n isFollowing\n }\n }\n "])),a=function(e,t){return{mutation:Object(o.gql)(i),variables:{publicationId:e,context:t},optimisticResponse:{unfollowPublication:{id:e,isFollowing:!1,__typename:"Publication"}}}}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(8),o=n(9),i=(n.n(o),Object(r.a)(["\n mutation LikePublication($publicationId: ID!, $context: String!) {\n likePublication(id: $publicationId, context: $context) {\n id\n hasLiked\n likesCount\n }\n }\n "])),a=function(e,t){return{mutation:Object(o.gql)(i),variables:{publicationId:e,context:t},optimisticResponse:{likePublication:{id:e,hasLiked:!0,likesCount:"▲",__typename:"Publication"}}}}},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(8),o=n(9),i=(n.n(o),Object(r.a)(["\n mutation UnlikePublication($publicationId: ID!, $context: String!) {\n unlikePublication(id: $publicationId, context: $context) {\n id\n hasLiked\n likesCount\n }\n }\n "])),a=function(e,t){return{mutation:Object(o.gql)(i),variables:{publicationId:e,context:t},optimisticResponse:{unlikePublication:{id:e,hasLiked:!1,likesCount:"▼",__typename:"Publication"}}}}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n0&&s.a.createElement(u.PublicationItem.AuthorTruncation,null),f)},Object(r.a)(t,e),t}(a.Component);c.displayName="PublicationItemAuthors";i.a.shape({componentName:i.a.string,id:i.a.string,name:i.a.string,url:i.a.string,imageUrl:i.a.string});t.a=c},,function(e,t,n){"use strict";var r=n(2503),o=n(2506),i=n(2507),a=n(2508);function s(e,t,n,r){if(e===n)return!0;if(!n.startsWith(e))return!1;var i=n.slice(e.length);return!!t&&(i=r?r(i):i,o.contains(i,t))}function u(e){return"Windows"===r.platformName?e.replace(/^\s*NT/,""):e}var c={isBrowser:function(e){return s(r.browserName,r.browserFullVersion,e)},isBrowserArchitecture:function(e){return s(r.browserArchitecture,null,e)},isDevice:function(e){return s(r.deviceName,null,e)},isEngine:function(e){return s(r.engineName,r.engineVersion,e)},isPlatform:function(e){return s(r.platformName,r.platformFullVersion,e,u)},isPlatformArchitecture:function(e){return s(r.platformArchitecture,null,e)}};e.exports=i(c,a)},,,,,,,,,,,,,,,,function(e,t,n){var r=n(1222),o=n(1219),i=n(1617),a=n(1223),s=n(2276),u=n(1224),c=200;e.exports=function(e,t,n){var l=-1,f=o,p=e.length,d=!0,h=[],m=h;if(n)d=!1,f=i;else if(p>=c){var v=t?null:s(e);if(v)return u(v);d=!1,f=a,m=new r}else m=t?[]:h;e:for(;++ldocument.F=Object<\/script>"),e.close(),u=e.F;r--;)delete u.prototype[i[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=u(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(154).f,o=n(710),i=n(84)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},,,function(e,t,n){var r=n(797),o=n(1985),i=n(1986),a="[object Null]",s="[object Undefined]",u=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:a:u&&u in Object(e)?o(e):i(e)}},function(e,t,n){var r=n(1198),o=n(2057);e.exports=function e(t,n,i,a,s){var u=-1,c=t.length;for(i||(i=o),s||(s=[]);++u0&&i(l)?n>1?e(l,n-1,i,a,s):r(s,l):a||(s[s.length]=l)}return s}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLSchema=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=n(128),i=n(552),a=n(553),s=l(n(806)),u=l(n(219)),c=n(1079);function l(e){return e&&e.__esModule?e:{default:e}}t.GraphQLSchema=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),"object"!==(void 0===t?"undefined":r(t))&&(0,u.default)(0,"Must provide configuration object."),t.query instanceof o.GraphQLObjectType||(0,u.default)(0,"Schema query must be Object Type but got: "+String(t.query)+"."),this._queryType=t.query,!t.mutation||t.mutation instanceof o.GraphQLObjectType||(0,u.default)(0,"Schema mutation must be Object Type if provided but got: "+String(t.mutation)+"."),this._mutationType=t.mutation,!t.subscription||t.subscription instanceof o.GraphQLObjectType||(0,u.default)(0,"Schema subscription must be Object Type if provided but got: "+String(t.subscription)+"."),this._subscriptionType=t.subscription,t.types&&!Array.isArray(t.types)&&(0,u.default)(0,"Schema types must be Array if provided but got: "+String(t.types)+"."),!t.directives||Array.isArray(t.directives)&&t.directives.every(function(e){return e instanceof i.GraphQLDirective})||(0,u.default)(0,"Schema directives must be Array if provided but got: "+String(t.directives)+"."),this._directives=t.directives||i.specifiedDirectives,this.astNode=t.astNode||null;var l=[this.getQueryType(),this.getMutationType(),this.getSubscriptionType(),a.__Schema],p=t.types;p&&(l=l.concat(p)),this._typeMap=l.reduce(f,Object.create(null)),this._implementations=Object.create(null),Object.keys(this._typeMap).forEach(function(e){var t=n._typeMap[e];t instanceof o.GraphQLObjectType&&t.getInterfaces().forEach(function(e){var r=n._implementations[e.name];r?r.push(t):n._implementations[e.name]=[t]})}),Object.keys(this._typeMap).forEach(function(e){var t=n._typeMap[e];t instanceof o.GraphQLObjectType&&t.getInterfaces().forEach(function(e){return function(e,t,n){var r=t.getFields(),i=n.getFields();Object.keys(i).forEach(function(a){var l=r[a],f=i[a];l||(0,u.default)(0,'"'+n.name+'" expects field "'+a+'" but "'+t.name+'" does not provide it.'),(0,c.isTypeSubTypeOf)(e,l.type,f.type)||(0,u.default)(0,n.name+"."+a+' expects type "'+String(f.type)+'" but '+t.name+"."+a+' provides type "'+String(l.type)+'".'),f.args.forEach(function(e){var r=e.name,o=(0,s.default)(l.args,function(e){return e.name===r});o||(0,u.default)(0,n.name+"."+a+' expects argument "'+r+'" but '+t.name+"."+a+" does not provide it."),(0,c.isEqualType)(e.type,o.type)||(0,u.default)(0,n.name+"."+a+"("+r+':) expects type "'+String(e.type)+'" but '+t.name+"."+a+"("+r+':) provides type "'+String(o.type)+'".')}),l.args.forEach(function(e){var r=e.name,i=(0,s.default)(f.args,function(e){return e.name===r});i||e.type instanceof o.GraphQLNonNull&&(0,u.default)(0,t.name+"."+a+"("+r+':) is of required type "'+String(e.type)+'" but is not also provided by the interface '+n.name+"."+a+".")})})}(n,t,e)})})}return e.prototype.getQueryType=function(){return this._queryType},e.prototype.getMutationType=function(){return this._mutationType},e.prototype.getSubscriptionType=function(){return this._subscriptionType},e.prototype.getTypeMap=function(){return this._typeMap},e.prototype.getType=function(e){return this.getTypeMap()[e]},e.prototype.getPossibleTypes=function(e){return e instanceof o.GraphQLUnionType?e.getTypes():(e instanceof o.GraphQLInterfaceType||(0,u.default)(0),this._implementations[e.name])},e.prototype.isPossibleType=function(e,t){var n=this._possibleTypeMap;if(n||(this._possibleTypeMap=n=Object.create(null)),!n[e.name]){var r=this.getPossibleTypes(e);Array.isArray(r)||(0,u.default)(0,"Could not find possible implementing types for "+e.name+" in schema. Check that schema.types is defined and is an array of all possible types in the schema."),n[e.name]=r.reduce(function(e,t){return e[t.name]=!0,e},Object.create(null))}return Boolean(n[e.name][t.name])},e.prototype.getDirectives=function(){return this._directives},e.prototype.getDirective=function(e){return(0,s.default)(this.getDirectives(),function(t){return t.name===e})},e}();function f(e,t){if(!t)return e;if(t instanceof o.GraphQLList||t instanceof o.GraphQLNonNull)return f(e,t.ofType);if(e[t.name])return e[t.name]!==t&&(0,u.default)(0,'Schema must contain unique named types but contains multiple types named "'+t.name+'".'),e;e[t.name]=t;var n=e;if(t instanceof o.GraphQLUnionType&&(n=t.getTypes().reduce(f,n)),t instanceof o.GraphQLObjectType&&(n=t.getInterfaces().reduce(f,n)),t instanceof o.GraphQLObjectType||t instanceof o.GraphQLInterfaceType){var r=t.getFields();Object.keys(r).forEach(function(e){var t=r[e];if(t.args){var o=t.args.map(function(e){return e.type});n=o.reduce(f,n)}n=f(n,t.type)})}if(t instanceof o.GraphQLInputObjectType){var i=t.getFields();Object.keys(i).forEach(function(e){var t=i[e];n=f(n,t.type)})}return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.specifiedDirectives=t.GraphQLDeprecatedDirective=t.DEFAULT_DEPRECATION_REASON=t.GraphQLSkipDirective=t.GraphQLIncludeDirective=t.GraphQLDirective=t.DirectiveLocation=void 0;var r,o=n(128),i=n(622),a=n(219),s=(r=a)&&r.__esModule?r:{default:r},u=n(1230);var c=t.DirectiveLocation={QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"},l=t.GraphQLDirective=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t.name||(0,s.default)(0,"Directive must be named."),(0,u.assertValidName)(t.name),Array.isArray(t.locations)||(0,s.default)(0,"Must provide locations for directive."),this.name=t.name,this.description=t.description,this.locations=t.locations,this.astNode=t.astNode;var n=t.args;n?(Array.isArray(n)&&(0,s.default)(0,"@"+t.name+" args must be an object with argument names as keys."),this.args=Object.keys(n).map(function(e){(0,u.assertValidName)(e);var r=n[e];return(0,o.isInputType)(r.type)||(0,s.default)(0,"@"+t.name+"("+e+":) argument type must be Input Type but got: "+String(r.type)+"."),{name:e,description:void 0===r.description?null:r.description,type:r.type,defaultValue:r.defaultValue,astNode:r.astNode}})):this.args=[]},f=t.GraphQLIncludeDirective=new l({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[c.FIELD,c.FRAGMENT_SPREAD,c.INLINE_FRAGMENT],args:{if:{type:new o.GraphQLNonNull(i.GraphQLBoolean),description:"Included when true."}}}),p=t.GraphQLSkipDirective=new l({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[c.FIELD,c.FRAGMENT_SPREAD,c.INLINE_FRAGMENT],args:{if:{type:new o.GraphQLNonNull(i.GraphQLBoolean),description:"Skipped when true."}}}),d=t.DEFAULT_DEPRECATION_REASON="No longer supported",h=t.GraphQLDeprecatedDirective=new l({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[c.FIELD_DEFINITION,c.ENUM_VALUE],args:{reason:{type:i.GraphQLString,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted in [Markdown](https://daringfireball.net/projects/markdown/).",defaultValue:d}}});t.specifiedDirectives=[f,p,h]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TypeNameMetaFieldDef=t.TypeMetaFieldDef=t.SchemaMetaFieldDef=t.__TypeKind=t.TypeKind=t.__EnumValue=t.__InputValue=t.__Field=t.__Type=t.__DirectiveLocation=t.__Directive=t.__Schema=void 0;var r,o=n(915),i=(r=o)&&r.__esModule?r:{default:r},a=n(1231),s=n(407),u=n(128),c=n(622),l=n(552);var f=t.__Schema=new u.GraphQLObjectType({name:"__Schema",isIntrospection:!0,description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:function(){return{types:{description:"A list of all types supported by this server.",type:new u.GraphQLNonNull(new u.GraphQLList(new u.GraphQLNonNull(h))),resolve:function(e){var t=e.getTypeMap();return Object.keys(t).map(function(e){return t[e]})}},queryType:{description:"The type that query operations will be rooted at.",type:new u.GraphQLNonNull(h),resolve:function(e){return e.getQueryType()}},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:h,resolve:function(e){return e.getMutationType()}},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:h,resolve:function(e){return e.getSubscriptionType()}},directives:{description:"A list of all directives supported by this server.",type:new u.GraphQLNonNull(new u.GraphQLList(new u.GraphQLNonNull(p))),resolve:function(e){return e.getDirectives()}}}}}),p=t.__Directive=new u.GraphQLObjectType({name:"__Directive",isIntrospection:!0,description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:function(){return{name:{type:new u.GraphQLNonNull(c.GraphQLString)},description:{type:c.GraphQLString},locations:{type:new u.GraphQLNonNull(new u.GraphQLList(new u.GraphQLNonNull(d)))},args:{type:new u.GraphQLNonNull(new u.GraphQLList(new u.GraphQLNonNull(v))),resolve:function(e){return e.args||[]}},onOperation:{deprecationReason:"Use `locations`.",type:new u.GraphQLNonNull(c.GraphQLBoolean),resolve:function(e){return-1!==e.locations.indexOf(l.DirectiveLocation.QUERY)||-1!==e.locations.indexOf(l.DirectiveLocation.MUTATION)||-1!==e.locations.indexOf(l.DirectiveLocation.SUBSCRIPTION)}},onFragment:{deprecationReason:"Use `locations`.",type:new u.GraphQLNonNull(c.GraphQLBoolean),resolve:function(e){return-1!==e.locations.indexOf(l.DirectiveLocation.FRAGMENT_SPREAD)||-1!==e.locations.indexOf(l.DirectiveLocation.INLINE_FRAGMENT)||-1!==e.locations.indexOf(l.DirectiveLocation.FRAGMENT_DEFINITION)}},onField:{deprecationReason:"Use `locations`.",type:new u.GraphQLNonNull(c.GraphQLBoolean),resolve:function(e){return-1!==e.locations.indexOf(l.DirectiveLocation.FIELD)}}}}}),d=t.__DirectiveLocation=new u.GraphQLEnumType({name:"__DirectiveLocation",isIntrospection:!0,description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:l.DirectiveLocation.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:l.DirectiveLocation.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:l.DirectiveLocation.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:l.DirectiveLocation.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:l.DirectiveLocation.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:l.DirectiveLocation.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:l.DirectiveLocation.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},SCHEMA:{value:l.DirectiveLocation.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:l.DirectiveLocation.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:l.DirectiveLocation.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:l.DirectiveLocation.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:l.DirectiveLocation.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:l.DirectiveLocation.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:l.DirectiveLocation.UNION,description:"Location adjacent to a union definition."},ENUM:{value:l.DirectiveLocation.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:l.DirectiveLocation.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:l.DirectiveLocation.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:l.DirectiveLocation.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),h=t.__Type=new u.GraphQLObjectType({name:"__Type",isIntrospection:!0,description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:function(){return{kind:{type:new u.GraphQLNonNull(b),resolve:function(e){if(e instanceof u.GraphQLScalarType)return g.SCALAR;if(e instanceof u.GraphQLObjectType)return g.OBJECT;if(e instanceof u.GraphQLInterfaceType)return g.INTERFACE;if(e instanceof u.GraphQLUnionType)return g.UNION;if(e instanceof u.GraphQLEnumType)return g.ENUM;if(e instanceof u.GraphQLInputObjectType)return g.INPUT_OBJECT;if(e instanceof u.GraphQLList)return g.LIST;if(e instanceof u.GraphQLNonNull)return g.NON_NULL;throw new Error("Unknown kind of type: "+e)}},name:{type:c.GraphQLString},description:{type:c.GraphQLString},fields:{type:new u.GraphQLList(new u.GraphQLNonNull(m)),args:{includeDeprecated:{type:c.GraphQLBoolean,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(e instanceof u.GraphQLObjectType||e instanceof u.GraphQLInterfaceType){var r=e.getFields(),o=Object.keys(r).map(function(e){return r[e]});return n||(o=o.filter(function(e){return!e.deprecationReason})),o}return null}},interfaces:{type:new u.GraphQLList(new u.GraphQLNonNull(h)),resolve:function(e){if(e instanceof u.GraphQLObjectType)return e.getInterfaces()}},possibleTypes:{type:new u.GraphQLList(new u.GraphQLNonNull(h)),resolve:function(e,t,n,r){var o=r.schema;if((0,u.isAbstractType)(e))return o.getPossibleTypes(e)}},enumValues:{type:new u.GraphQLList(new u.GraphQLNonNull(y)),args:{includeDeprecated:{type:c.GraphQLBoolean,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(e instanceof u.GraphQLEnumType){var r=e.getValues();return n||(r=r.filter(function(e){return!e.deprecationReason})),r}}},inputFields:{type:new u.GraphQLList(new u.GraphQLNonNull(v)),resolve:function(e){if(e instanceof u.GraphQLInputObjectType){var t=e.getFields();return Object.keys(t).map(function(e){return t[e]})}}},ofType:{type:h}}}}),m=t.__Field=new u.GraphQLObjectType({name:"__Field",isIntrospection:!0,description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:function(){return{name:{type:new u.GraphQLNonNull(c.GraphQLString)},description:{type:c.GraphQLString},args:{type:new u.GraphQLNonNull(new u.GraphQLList(new u.GraphQLNonNull(v))),resolve:function(e){return e.args||[]}},type:{type:new u.GraphQLNonNull(h)},isDeprecated:{type:new u.GraphQLNonNull(c.GraphQLBoolean)},deprecationReason:{type:c.GraphQLString}}}}),v=t.__InputValue=new u.GraphQLObjectType({name:"__InputValue",isIntrospection:!0,description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:function(){return{name:{type:new u.GraphQLNonNull(c.GraphQLString)},description:{type:c.GraphQLString},type:{type:new u.GraphQLNonNull(h)},defaultValue:{type:c.GraphQLString,description:"A GraphQL-formatted string representing the default value for this input value.",resolve:function(e){return(0,i.default)(e.defaultValue)?null:(0,s.print)((0,a.astFromValue)(e.defaultValue,e.type))}}}}}),y=t.__EnumValue=new u.GraphQLObjectType({name:"__EnumValue",isIntrospection:!0,description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:function(){return{name:{type:new u.GraphQLNonNull(c.GraphQLString)},description:{type:c.GraphQLString},isDeprecated:{type:new u.GraphQLNonNull(c.GraphQLBoolean)},deprecationReason:{type:c.GraphQLString}}}}),g=t.TypeKind={SCALAR:"SCALAR",OBJECT:"OBJECT",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",INPUT_OBJECT:"INPUT_OBJECT",LIST:"LIST",NON_NULL:"NON_NULL"},b=t.__TypeKind=new u.GraphQLEnumType({name:"__TypeKind",isIntrospection:!0,description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:g.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:g.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:g.INTERFACE,description:"Indicates this type is an interface. `fields` and `possibleTypes` are valid fields."},UNION:{value:g.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:g.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:g.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:g.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:g.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}});t.SchemaMetaFieldDef={name:"__schema",type:new u.GraphQLNonNull(f),description:"Access the current type schema of this server.",args:[],resolve:function(e,t,n,r){return r.schema}},t.TypeMetaFieldDef={name:"__type",type:h,description:"Request the type information of a single type.",args:[{name:"name",type:new u.GraphQLNonNull(c.GraphQLString)}],resolve:function(e,t,n,r){var o=t.name;return r.schema.getType(o)}},t.TypeNameMetaFieldDef={name:"__typename",type:new u.GraphQLNonNull(c.GraphQLString),description:"The name of the current Object type at runtime.",args:[],resolve:function(e,t,n,r){return r.parentType.name}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.typeFromAST=void 0;var r,o=n(219),i=(r=o)&&r.__esModule?r:{default:r},a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(190)),s=n(128);var u=t.typeFromAST=function(e,t){var n=void 0;return t.kind===a.LIST_TYPE?(n=u(e,t.type))&&new s.GraphQLList(n):t.kind===a.NON_NULL_TYPE?(n=u(e,t.type))&&new s.GraphQLNonNull(n):(t.kind!==a.NAMED_TYPE&&(0,i.default)(0,"Must be a named type."),e.getType(t.name.value))}},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return s}),n.d(t,"c",function(){return u}),t.d=function(e,t,n){return function(s){var c=e.route,l=e.method&&"string"==typeof e.method?e.method:"GET";-1!==c.indexOf("?")||c.endsWith(".html")||(c+=".html");var f={method:l};if(e.params){var p="POST"===l?"body":"query";f[p]=e.params}return s({type:a,ref:e.ref,status:u.LOADING}),Object(o.default)(c,f).then(function(o){var c=o.result,l=c.state,f=Object(r.a)(c,["state"]);t.addWidgetTree(f),t.unregisterWidgetLoading(e.ref);var p=f.id;s(Object(i.b)(l)),n(p,function(){s({type:a,id:p,ref:e.ref,status:u.FINISHED})})},function(n){t.unregisterWidgetLoading(e.ref),s({type:a,ref:e.ref,status:u.ERROR})})}},t.e=function(e,t){var n=e.widgetId;return t.removeWidgetTree(n),{type:s,ref:e.ref}};var r=n(19),o=n(10),i=n(57),a="LOAD_WIDGET",s="REMOVE_WIDGET",u={LOADING:"LOADING",FINISHED:"FINISHED",ERROR:"ERROR"}},function(e,t,n){"use strict";t.a=function(e){"undefined"!=typeof window&&window.Bugsnag&&("string"==typeof e?window.Bugsnag.notify("js-error",e,{}):window.Bugsnag.notifyException(e))}},function(e,t,n){var r=n(526),o=n(880),i=n(145);e.exports=function(e,t){var n={};return t=i(t,3),o(e,function(e,o,i){r(n,o,t(e,o,i))}),n}},function(e,t,n){var r=n(156)("merge",n(300));r.placeholder=n(147),e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"FILTER_TYPE_OPEN",function(){return a}),n.d(t,"FILTER_TYPE_OUTGOING_FULFILLED",function(){return s}),n.d(t,"FILTER_TYPE_OUTGOING_PENDING",function(){return u}),n.d(t,"FILTER_TYPE_FULFILLED",function(){return c}),n.d(t,"PENDING_REQUEST_FILTER_TYPE_ALL",function(){return l}),n.d(t,"PENDING_REQUEST_FILTER_TYPE_ITEM_FULLTEXTS",function(){return f}),n.d(t,"PENDING_REQUEST_FILTER_TYPE_ITEM_SKILLS",function(){return p}),n.d(t,"PENDING_REQUEST_FILTER_TYPE_ITEM_FEEDBACK",function(){return d}),n.d(t,"PENDING_REQUEST_FILTER_TYPE_ITEM_PROJECTS",function(){return h}),n.d(t,"PENDING_REQUEST_FILTER_TYPE_ITEM_ACCOUNT",function(){return m}),n.d(t,"PENDING_REQUEST_FILTER_TYPE_ITEM_AUTHOR_SUGGESTIONS",function(){return v}),n.d(t,"PENDING_REQUEST_FILTER_TYPE_ITEM_PROFILE_IMAGE_SUGGESTION",function(){return y}),n.d(t,"PENDING_REQUEST_FILTER_TYPE_ITEM_PROFILE_ABOUT_ME_GENERATED",function(){return g}),n.d(t,"PENDING_REQUEST_FILTER_TYPE_ITEM_REVIEW_PUSHED_PUBLICATION",function(){return b}),t.default=function(e,t){void 0===e&&(e=E);switch(t.type){case i.a:return o()("filterType",t.filterType,e);case i.b:return o()("pendingRequestsFilterType",t.pendingRequestsFilterType,e)}return e};var r=n(104),o=n.n(r),i=n(921),a="open",s="outgoingFulfilled",u="outgoingPending",c="fulfilled",l="all",f="fulltexts",p="skills",d="feedback",h="projects",m="account",v="authorSuggestions",y="profileImageSuggestion",g="profileAboutMeGenerated",b="reviewPushedPublication",E={filterType:a,pendingRequestsFilterType:l}},,,,,,,,,function(e,t,n){"use strict";var r={},o=Math.pow(2,24);e.exports=function(){for(var e=void 0;void 0===e||r.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*o).toString(32);return r[e]=!0,e}},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=(n(1),n(1705)),a=n(150),s=n(90),u=n(781),c=n(3),l=n(4),f=n(26),p=n.n(f),d=n(1283),h=(n(2567),function(e){function t(){return e.apply(this,arguments)||this}return t.prototype.render=function(){if(!this.props.score)return null;var e,t=Object(d.a)(this.props.iepl);e=this.props.iepl?this.props.href+t:this.props.href;var n=this.props.href?"a":"span";return o.a.createElement("div",{className:"tooltip-account-score"},o.a.createElement(n,{className:"score-link",title:"RG Score",href:e},o.a.createElement("span",{className:"ico-rgscore-rb-s"}),this.props.score))},Object(c.a)(t,e),t}(r.Component));h.displayName="ProfileReputationScore";var m=Object(l.connectWidget)(function(e,t){var n=p()(e.accountsGlobalAccounts,t.accountId,{});return{score:n.reputation?n.reputation.score:null,href:t.linked?n.accountURL+"/reputation":null}})(h),v=n(610);n(2569);t.a=function(e){var t=e.accountId;return o.a.createElement(i.a,{picture:o.a.createElement(s.a,{accountId:t,size:"xl",linked:!0,className:"project-collaborator-person-picture"}),reputation:o.a.createElement(m,{accountId:t,linked:!0}),name:o.a.createElement(a.a,{accountId:t,theme:"bare"}),institution:o.a.createElement(u.a,{accountId:t,fallbackString:"—"}),actionButton:o.a.createElement(v.a,{accountId:t,theme:"bare",size:"m"})})}},,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var r=n(1078);e.exports=function(e,t){return r(e,t)}},,,,,,,function(e,t,n){"use strict";t.__esModule=!0,t.Query=void 0;var r=n(0);u(n(1)),u(n(656));n(1082);var o=n(608),i=n(21),a=u(n(2194)),s=u(n(609));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e){return(0,e.performQuery)({query:e.query,variables:e.nextVariables})}var f=t.Query=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a0&&void 0!==arguments[0]?arguments[0]:{},n=t.typeMap,r=void 0===n?{}:n,o=t.onCacheMiss,i=void 0===o?function(){}:o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.onCacheMiss=function(){},this.configure({typeMap:r,onCacheMiss:i})}return e.prototype.configure=function(e){e.typeMap&&(this.typeMap=e.typeMap),e.onCacheMiss&&(this.onCacheMiss=e.onCacheMiss)},e.prototype.createReducer=function(){return(0,i.default)(this.typeMap)},e}();t.defaultContext=new a},function(e,t,n){"use strict";t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){if(i(e,t))return!0;if("object"!==(void 0===e?"undefined":r(e))||null===e||"object"!==(void 0===t?"undefined":r(t))||null===t)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(var s=0;si||t=a)return t}return null}});function u(e){if(""===e)throw new TypeError("Float cannot represent non numeric value: (empty string)");var t=Number(e);if(t==t)return t;throw new TypeError("Float cannot represent non numeric value: "+String(e))}t.GraphQLFloat=new r.GraphQLScalarType({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point). ",serialize:u,parseValue:u,parseLiteral:function(e){return e.kind===o.FLOAT||e.kind===o.INT?parseFloat(e.value):null}});function c(e){if(Array.isArray(e))throw new TypeError("String cannot represent an array value: ["+String(e)+"]");return String(e)}t.GraphQLString=new r.GraphQLScalarType({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize:c,parseValue:c,parseLiteral:function(e){return e.kind===o.STRING?e.value:null}}),t.GraphQLBoolean=new r.GraphQLScalarType({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize:Boolean,parseValue:Boolean,parseLiteral:function(e){return e.kind===o.BOOLEAN?e.value:null}}),t.GraphQLID=new r.GraphQLScalarType({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize:String,parseValue:String,parseLiteral:function(e){return e.kind===o.STRING||e.kind===o.INT?e.value:null}})},,,,,,function(e,t,n){"use strict";var r=n(1),o=(n.n(r),n(0)),i=n.n(o),a=n(2),s=function(e){var t=e.hasLiked,n=e.like,r=e.unlike,o=e.useLink,s=e.theme,u=e.color,c=e.className,l=e.labelLiked,f=e.labelLike,p=e.size,d=e.width,h=e.status,m=e.iconLike,v=e.iconLiked,y=t?r:n,g=t?l:f;if(o)return i.a.createElement(a.Link,Object.assign({theme:s,color:u,className:c},{onClick:y}),g);var b=[];return!t&&m&&b.push(i.a.createElement(a.Button.Icon,{key:"icon",identifier:m})),t&&v&&b.push(i.a.createElement(a.Button.Icon,{key:"icon",identifier:v})),b.push(i.a.createElement(a.Button.Label,{key:"label"},g)),i.a.createElement(a.Button,Object.assign({type:"button"},{theme:s,color:u,className:c,size:p,width:d,status:h},{onClick:y}),b)};s.defaultProps={labelLike:"Recommend",labelLiked:"Recommended",useLink:!1,status:""},t.a=s},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(1),a=(n.n(i),n(44)),s=n(103),u=n.n(s);t.a=function(e){var t=e.qualifier;return o.a.createElement(a.a,{title:u()(t)+" recommended",description:"Your recommendation will be visible to anyone viewing this "+t+"."})}},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(1),a=(n.n(i),n(2));t.a=function(e){var t=e.qualifier;return o.a.createElement(a.Alert,{title:"You no longer recommend this "+t})}},,,function(e,t,n){"use strict";var r=n(2481);e.exports=r},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o});var r="ACCOUNT",o="PUBLICATION",i=[r,o];t.c=function(e,t,n){e.findEntityRanges(function(e){var t=e.getEntity();if(null===t)return!1;var r=n.getEntity(t);return i.indexOf(r.getType())>-1},t)}},function(e,t,n){"use strict";var r=n(3),o=n(5),i=n(0),a=n.n(i),s=(n(1),n(2)),u=n(11),c=n(8),l=n(9),f=n(22),p=n.n(f),d=n(34),h=n.n(d),m=n(6),v=n.n(m),y="converse-message-inline-publication",g=new v.a({name:""+y}),b=new v.a({name:y+"__meta"}),E=new v.a({name:"publication-type-badge"}),O=function(e){function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.getIcon=function(){return this.props.hasPublicFulltexts?a.a.createElement("span",b("list-item--ico",null,"ico-publication-fulltext")):null},n.getFullTextButton=function(){if(this.props.deactivateLinks)return null;var e=this.props.hasPublicFulltexts?"View full-text":"View";return a.a.createElement(s.Button,{href:this.props.url,color:"blue",theme:"bare",type:"button"},e)},n.render=function(){var e=this.props,t=e.title,n=e.url,r=e.publicationType,o=e.publicationDate,i=e.journal,u=e.hasPublicFulltexts,c=e.commentCount,l=e.incomingCitationCount,f=e.deactivateLinks,d=a.a.createElement(s.Link,{className:"js-publication-title-link ga-publication-item",theme:"bare",href:n},t);return f&&(d=t),a.a.createElement("div",g(),a.a.createElement(s.Text,Object.assign({},g("title"),{size:"l",family:"serif",tag:"h5"}),d),a.a.createElement("div",b(),r?a.a.createElement("span",E("",u?"green":"grey","lf"),r):null,a.a.createElement(s.List,Object.assign({type:"inline",spacing:"none"},b("details","lf")),u?a.a.createElement(s.List.Item,null,"Full-text"):null,o?a.a.createElement(s.List.Item,null,h.a.utc(o).format("MMM YYYY")):null,i&&i.title?a.a.createElement(s.List.Item,null,i.title.length>15?i.title.substring(0,15).concat("..."):i.title):null)),a.a.createElement("div",g("footer"),a.a.createElement("div",g("footer-item"),this.getFullTextButton()),a.a.createElement("div",g("footer-item"),a.a.createElement(s.List,{type:"inline",spacing:"none"},c>0?a.a.createElement(s.List.Item,null,p()("Comment",c,!0)):null,a.a.createElement(s.List.Item,null,p()("Citation",l,!0))))))},Object(r.a)(t,e),t}(i.Component);O.displayName="PublicationTooltip";var w=O,_=Object(c.a)(["\n query GraphQLPublicationTooltip($id: ID!) {\n publication(id: $id) {\n id\n title\n url\n publicationType: displayablePublicationType\n publicationDate\n hasPublicFulltexts\n commentCount\n incomingCitationCount\n journal {\n id\n title\n }\n }\n }\n "]),T=function(e){function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.componentDidMount=function(){this.props.onComponentDidMount()},n.render=function(){return a.a.createElement(w,this.props)},Object(r.a)(t,e),t}(i.Component);T.displayName="GraphQLPublicationTooltip";var S=Object(l.withQuery)(Object(l.gql)(_),{mapDataToProps:function(e){var t=e.publication;return Object(u.a)({},t)},preloader:function(){return a.a.createElement("div",{className:"rendering-small"})}})(T),I=function(e){function t(){for(var t,n,r=arguments.length,i=new Array(r),a=0;a0,"Invalid query: no definitions found");var n=(0,i.default)(t);(0,r.default)(n,"Invalid query: no queries defined in document"),(0,r.default)(n.name,"Invalid query: anonymous queries are not supported"),this.queryName=n.name.value,this.variableDefinitions=n.variableDefinitions||[],this.query=o.runtimeCompiler.compile(t,this.queryName)}return e.compile=function(t){return t instanceof e?t:new e(t)},e.prototype.getVariableValues=function(e){return(0,a.getVariableValues)(this.variableDefinitions,e)},e}();t.default=u},function(e,t,n){var r,o,i;o=[],void 0===(i="function"==typeof(r=function(){var e,t,n="lscache-",r="-cacheexpiration",o=10,i=6e4,a=Math.floor(864e13/i),s="",u=!1;function c(){var t="__lscachetest__";if(void 0!==e)return e;try{if(!localStorage)return!1}catch(e){return!1}try{m(t,"__lscachetest__"),v(t),e=!0}catch(t){e=!(!l(t)||!localStorage.length)}return e}function l(e){return!!(e&&"QUOTA_EXCEEDED_ERR"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name||"QuotaExceededError"===e.name)}function f(){return void 0===t&&(t=null!=window.JSON),t}function p(e){return e+r}function d(){return Math.floor((new Date).getTime()/i)}function h(e){return localStorage.getItem(n+s+e)}function m(e,t){localStorage.removeItem(n+s+e),localStorage.setItem(n+s+e,t)}function v(e){localStorage.removeItem(n+s+e)}function y(e){for(var t=new RegExp("^"+n+s.replace(/[[\]{}()*+?.\\^$|]/g,"\\$&")+"(.*)"),o=localStorage.length-1;o>=0;--o){var i=localStorage.key(o);(i=(i=i&&i.match(t))&&i[1])&&i.indexOf(r)<0&&e(i,p(i))}}function g(e){var t=p(e);v(e),v(t)}function b(e){var t=p(e),n=h(t);if(n){var r=parseInt(n,o);if(d()>=r)return v(e),v(t),!0}}function E(e,t){u&&"console"in window&&"function"==typeof window.console.warn&&(window.console.warn("lscache - "+e),t&&window.console.warn("lscache - The error was: "+t.message))}return{set:function(e,t,n){if(c()&&f()){try{t=JSON.stringify(t)}catch(e){return}try{m(e,t)}catch(n){if(!l(n))return void E("Could not add item with key '"+e+"'",n);var r,i=[];y(function(e,t){var n=h(t);n=n?parseInt(n,o):a,i.push({key:e,size:(h(e)||"").length,expiration:n})}),i.sort(function(e,t){return t.expiration-e.expiration});for(var s=(t||"").length;i.length&&s>0;)r=i.pop(),E("Cache is full, removing item with key '"+e+"'"),g(r.key),s-=r.size;try{m(e,t)}catch(t){return void E("Could not add item with key '"+e+"', perhaps it's too big?",t)}}n?m(p(e),(d()+n).toString(o)):v(p(e))}},get:function(e){if(!c())return null;if(b(e))return null;var t=h(e);if(!t||!f())return t;try{return JSON.parse(t)}catch(e){return t}},remove:function(e){c()&&g(e)},supported:function(){return c()},flush:function(){c()&&y(function(e){g(e)})},flushExpired:function(){c()&&y(function(e){b(e)})},setBucket:function(e){s=e},resetBucket:function(){s=""},enableWarnings:function(e){u=e}}})?r.apply(t,o):r)||(e.exports=i)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(1537),o=n(2039),i=n(237);e.exports=function(e){return i(e)?r(e,!0):o(e)}},function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(525);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t){},,,,,function(e,t,n){var r=n(2017),o=n(2020);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(85),o=n(1202),i=n(1550),a=n(81);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null===e||void 0===e||e!=e}},function(e,t,n){var r=n(550),o=n(1601),i=n(322),a=n(184),s=i(function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])});e.exports=s},function(e,t,n){var r=n(145),o=n(1604),i=n(783);e.exports=function(e,t){return i(e,o(r(t)))}},function(e,t,n){"use strict";n.d(t,"h",function(){return i}),n.d(t,"d",function(){return a}),n.d(t,"a",function(){return s}),n.d(t,"g",function(){return u}),n.d(t,"f",function(){return c}),n.d(t,"e",function(){return l}),n.d(t,"b",function(){return f}),n.d(t,"c",function(){return p}),t.k=function(e){return{type:i,data:e}},t.j=function(e){return{type:a,data:e}},t.i=function(){return{type:s}},t.l=function(e){return{type:u,data:e}};var r=n(96),o=Object(r.a)("adCampaignBills"),i=o("UPDATE_STATE"),a=o("OPEN_BILL_CREATION"),s=o("CLOSE_BILL_CREATION"),u=o("UPDATE_ITEMS_BOOKED_STATS"),c="total",l="monthly",f="grouped",p="itemized"},function(e,t,n){"use strict";var r=n(96),o=n(11),i=n(10);function a(e,t){return Object(i.default)("adminconferences.ConferenceEvents."+e+".html",{method:"POST",body:t})}n.d(t,"a",function(){return s}),t.c=function(e){return function(t){return(n=e,a("deleteEvent",{conferenceEventId:n})).then(function(e){var n=e.result;return t(u(n)),Promise.resolve()});var n}},t.e=function(e,t){return function(n){return function(e,t){return a("saveEvent",Object(o.a)({},t,{conferenceId:e}))}(e,t).then(function(e){var t=e.result;return n(u(t)),Promise.resolve()})}},t.d=function(e){return function(t){return function(e){return a("rejectCandidate",{candidateId:e})}(e).then(function(e){var n=e.result;return t(u(n)),Promise.resolve()})}},t.b=function(e){return function(t){return function(e){return a("approveCandidate",{candidateId:e})}(e).then(function(e){var n=e.result;return t(u(n)),Promise.resolve()})}};var s=Object(r.a)("conferenceEvents")("REPLACE_STATE");function u(e){return{type:s,nextState:e}}},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return a});var r=n(26),o=n.n(r),i=function(e){return o()(e,["adsAdCreation","step"])},a=function(e){return o()(e,["adsAdCreation","stepData",i(e)],{})}},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"d",function(){return a}),n.d(t,"b",function(){return s}),n.d(t,"c",function(){return u});var r=n(96),o=Object(r.a)("additionalEmailDialogFormSubmitted"),i=o("FORM_BEGIN_PROCESSING"),a=o("FORM_PROCESSING_SUCCESS"),s=o("FORM_PROCESSING_FAILURE"),u=o("FORM_RESET")},function(e,t,n){"use strict";var r=n(10),o=n(61),i=n.n(o);n.d(t,"b",function(){return a}),n.d(t,"a",function(){return s}),n.d(t,"c",function(){return u}),n.d(t,"d",function(){return c}),t.e=function(e,t,n){return function(o,l){var f=l(),p=f[c].nextOffset;o({type:a}),function(e){var t=e.publicationUid,n=e.offset,o=e.limit,a=e.extendCitationContext;return Object(r.default)("publicliterature.LegacyPublicationCitationList.loadPublicPublications.html",{method:"GET",query:{publicationUid:t,offset:n,limit:o,extendCitationContext:a}}).then(i()("result"))}({publicationUid:e,offset:p,limit:t,extendCitationContext:n}).then(function(e){o(function(e,t){return{type:s,items:e.items,itemEntities:e.itemEntities,nextOffset:t}}(e[c],p+t))}).catch(function(){o({type:u})})}};var a="ACTION_BEGIN_LOADING_PUBLIC_PUBLICATION_CITATIONS",s="ACTION_ADD_PUBLIC_PUBLICATION_CITATIONS",u="ACTION_STOP_LOADING_PUBLIC_PUBLICATION_CITATIONS",c="publicliteratureCitations"},function(e,t,n){"use strict";t.a=function(e){return null==e||"function"!=typeof e&&"object"!=typeof e||!e.default?e:e.default}},,,,,,function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"e",function(){return u}),n.d(t,"c",function(){return c}),n.d(t,"d",function(){return l}),n.d(t,"a",function(){return f});var r=n(45),o=(n.n(r),n(28)),i=(n.n(o),n(453)),a=function(e,t){return t.publicationUid},s=function(e){return e.publicationFollowed||new r.Map},u=Object(o.createSelector)([s,a],function(e,t){return e.get(String(t))||new r.Map}),c=function(e,t){var n=u(e,{publicationUid:t});return n.has("isFollowing")&&n.get("isFollowing")},l=Object(o.createSelector)([s],function(e){return e.get("followCopy")||Object(r.Map)({labelFollow:"Follow",labelUnfollow:"Unfollow",labelFollowing:"Following"})}),f=Object(o.createSelector)([i.a],function(e){return!e})},,function(e,t,n){"use strict";var r=n(356),o=n(45),i=n(931),a=o.List,s=o.Map,u=o.OrderedSet,c=o.Record,l=o.Repeat,f=u(),p=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=a(l(r.EMPTY,n.length))),e},d=function(e){function t(n){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,e.call(this,p(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,e),t.prototype.getKey=function(){return this.get("key")},t.prototype.getType=function(){return this.get("type")},t.prototype.getText=function(){return this.get("text")},t.prototype.getCharacterList=function(){return this.get("characterList")},t.prototype.getLength=function(){return this.getText().length},t.prototype.getDepth=function(){return this.get("depth")},t.prototype.getData=function(){return this.get("data")},t.prototype.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():f},t.prototype.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},t.prototype.findStyleRanges=function(e,t){i(this.getCharacterList(),h,e,t)},t.prototype.findEntityRanges=function(e,t){i(this.getCharacterList(),m,e,t)},t}(c({key:"",type:"unstyled",text:"",characterList:a(),depth:0,data:s()}));function h(e,t){return e.getStyle()===t.getStyle()}function m(e,t){return e.getEntity()===t.getEntity()}e.exports=d},function(e,t,n){"use strict";var r=n(99),o=55296,i=56319,a=56320,s=57343,u=/[\uD800-\uDFFF]/;function c(e){return o<=e&&e<=s}function l(e){return u.test(e)}function f(e,t){return 1+c(e.charCodeAt(t))}function p(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!l(e))return e.substr(t,n);var r=e.length;if(r<=0||t>r||n<=0)return"";var o=0;if(t>0){for(;t>0&&o=r)return""}else if(t<0){for(o=r;t<0&&00&&i=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(s,["mutate"]);return u(Object.assign({},e,n(r,e),o(c,e),l))}};var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},a=n(607);function s(e,t){return e}function u(e,t){return{mutate:e}}function c(){return null}},function(e,t,n){"use strict";function r(e){return(r=Object.getPrototypeOf||function(e){return e.__proto__})(e)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t,n){return(i="undefined"!=typeof Reflect&&Reflect.construct?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&o(i,n.prototype),i}).apply(null,arguments)}function a(e){var t="function"==typeof Map?new Map:void 0;return(a=function(e){if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o(n,o(function(){return i(e,arguments,r(this).constructor)},e))})(e)}t.a=a},function(e,t,n){"use strict";var r=n(11),o=n(19),i=n(0),a=n.n(i),s=n(25),u=n(2),c=function(e){var t=e.input,n=e.helpMessage,i=e.helpLabel,s=e.errorReporting,c=e.label,l=e.layout,f=e.gutter,p=e.children,d=e.meta,h=d.touched,m=d.error,v=d.invalid,y=Object(o.a)(e,["input","helpMessage","helpLabel","errorReporting","label","layout","gutter","children","meta"]),g=function(e){t.onChange(e),t.onBlur(e)};return a.a.createElement("div",null,a.a.createElement(u.Label,{status:h&&v?"invalid":"",errorMessage:m,errorReporting:s,helpMessage:n,helpLabel:i},c),a.a.createElement(u.FormGroup,{layout:l,gutter:f},a.a.Children.map(p,function(e){return a.a.createElement(u.FormGroup.Item,null,a.a.cloneElement(e,Object(r.a)({},t,y,{value:e.props.value,checked:(n=e.props.value,t.value===n),onChange:g})));var n})))},l=function(e){return a.a.createElement(s.Field,Object.assign({},e,{component:c}))};l.defaultProps={layout:"inline",gutter:"s"},t.a=l},,,,,,,,function(e,t,n){var r=n(274).Symbol;e.exports=r},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){e.exports=n(2107)},function(e,t,n){var r=n(699),o=n(493),i=n(145),a=n(322),s=n(618),u=n(1070);e.exports=function(e){return u(function(t){return t=o(t,s(i)),a(function(n){var o=this;return e(t,function(e){return r(e,o,n)})})})}},function(e,t,n){var r=n(237),o=n(323);e.exports=function(e){return o(e)&&r(e)}},function(e,t,n){var r=n(1220),o=n(237),i=n(487),a=n(354),s=n(912),u=Math.max;e.exports=function(e,t,n,c){e=o(e)?e:s(e),n=n&&!c?a(n):0;var l=e.length;return n<0&&(n=u(l+n,0)),i(e)?n<=l&&e.indexOf(t,n)>-1:!!l&&r(e,t,n)>-1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLError=o;var r=n(1227);function o(e,t,n,i,a,s){var u=n;if(!u&&t&&t.length>0){var c=t[0];u=c&&c.loc&&c.loc.source}var l=i;!l&&t&&(l=t.filter(function(e){return Boolean(e.loc)}).map(function(e){return e.loc.start})),l&&0===l.length&&(l=void 0);var f=void 0,p=u;p&&l&&(f=l.map(function(e){return(0,r.getLocation)(p,e)})),Object.defineProperties(this,{message:{value:e,enumerable:!0,writable:!0},locations:{value:f||void 0,enumerable:!0},path:{value:a||void 0,enumerable:!0},nodes:{value:t||void 0},source:{value:u||void 0},positions:{value:l||void 0},originalError:{value:s}}),s&&s.stack?Object.defineProperty(this,"stack",{value:s.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,o):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}o.prototype=Object.create(Error.prototype,{constructor:{value:o},name:{value:"GraphQLError"}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.reduce(function(e,n){return e[t(n)]=n,e},Object.create(null))}},function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,r=n||"@@iterator";function o(e){return!!s(e)}function i(e){var t=null!=e&&e.length;return"number"==typeof t&&t>=0&&t%1==0}function a(e){var t=s(e);if(t)return t.call(e)}function s(e){if(null!=e){var t=n&&e[n]||e["@@iterator"];if("function"==typeof t)return t}}function u(e){if(null!=e){var t=a(e);if(t)return t;if(i(e))return new c(e)}}function c(e){this._o=e,this._i=0}t.$$iterator=r,t.isIterable=o,t.isArrayLike=i,t.isCollection=function(e){return Object(e)===e&&(i(e)||o(e))},t.getIterator=a,t.getIteratorMethod=s,t.createIterator=u,c.prototype[r]=function(){return this},c.prototype.next=function(){return void 0===this._o||this._i>=this._o.length?(this._o=void 0,{value:void 0,done:!0}):{value:this._o[this._i++],done:!1}},t.forEach=function(e,t,n){if(null!=e){if("function"==typeof e.forEach)return e.forEach(t,n);var r=0,o=a(e);if(o){for(var s;!(s=o.next()).done;)if(t.call(n,s.value,r++,e),r>9999999)throw new TypeError("Near-infinite iteration.")}else if(i(e))for(;r0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(s)throw s;for(var r=!1,o={},a=0;a=a},t.prototype.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},t.prototype.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},t.prototype.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},t.prototype.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},t.prototype.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},t.createEmpty=function(e){return new t({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},t}((0,n(45).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));e.exports=r},function(e,t,n){"use strict";function r(e){return e.replace(/\//g,"-")}e.exports=function(e){return"object"==typeof e?Object.keys(e).filter(function(t){return e[t]}).map(r).join(" "):Array.prototype.map.call(arguments,r).join(" ")}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var r=n(550);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},,function(e,t,n){"use strict";n.d(t,"e",function(){return u}),n.d(t,"g",function(){return l}),n.d(t,"b",function(){return f}),n.d(t,"c",function(){return h}),n.d(t,"d",function(){return m}),n.d(t,"f",function(){return v}),n.d(t,"a",function(){return y});var r=n(13),o=n(45),i=(n.n(o),n(877)),a=n(28),s=(n.n(a),function(e){return e.profileInterest.get("items")}),u=function(e){return e.profileInterest.get("loadingCount")>0},c=function(e){return e.profileInterest.get("mappings")},l=function(e){return e.profileInterest.get("offset")},f=function(e){return e.profileInterest.get("filters")},p=function(e,t){return Boolean(e&i.a[t.get("type")])},d=function(e,t){return Boolean(e&i.g[r.a.parse(t.get("rgKey")).type])},h=Object(a.createSelector)([c,s,f,l],function(e,t,n,r){for(var a,s=n.get("action"),u=n.get("type"),c=new Set,l=r+i.f,f=0;f=m.length)break;g=m[y++]}else{if((y=m.next()).done)break;g=y.value}var b=g;t.has(b)&&h.push({rgKey:b,data:t.get(b)})}return Object(o.fromJS)(h)}),m=Object(a.createSelector)([c,f],function(e,t){var n=t.get("action"),r=t.get("type");return e.filter(function(e){return p(n,e)&&d(r,e)})}),v=Object(a.createSelector)([m,s,function(e,t){return t.offset}],function(e,t,n){for(var r,o=new Set,a=n+i.f,s=n;s0?s[e]=t.params[e]:null!==t.params[e]&&void 0!==t.params[e]&&(s[e]=t.params[e])}),e(Object(i.mountModal)(function(){return o.a.createElement(a.a,{url:"projects.ProjectCollaboratorsSelectionDialog.html",widgetParams:s,onResolve:r,loadComponentInternalDoNotSetOrYouWillBeFired:function(){return n.e(4).then(n.bind(null,4060))}})}))})},e}()},,,,,,,,,function(e,t){e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r-1&&e%1==0&&e1?"_"+(v-1):"")},g=m.status?m.status:"";return s.a.createElement("div",null,s.a.createElement(u.Label,{status:p&&h?"invalid":"",errorMessage:d,errorReporting:a,helpMessage:n,helpLabel:i,htmlFor:y(t.name)},c),s.a.cloneElement(s.a.Children.only(l),Object(r.a)({},t,m,{id:y(t.name),status:p&&h?"invalid":g})))};t.a=function(e){return s.a.createElement(c.Field,Object.assign({},e,{component:l}))}},,function(e,t,n){var r=n(621);e.exports=function(e){return"function"==typeof e?e:r}},function(e,t,n){"use strict";var r=n(3),o=n(5),i=(n(1),n(0)),a=n.n(i),s=n(4),u=n(28),c=n(45),l=Object(u.createSelector)([function(e){return e.publicationFulltextRequests||new c.Map},function(e,t){return t.publicationUid}],function(e,t){return e.get(String(t))||new c.Map}),f=n(1636),p=n(11),d=n(2),h=function(e){function t(){for(var t,n,r=arguments.length,i=new Array(r),a=0;ao?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r0&&this._events[e].length>a&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){if(!r(t))throw TypeError("listener must be a function");var n=!1;function o(){this.removeListener(e,o),n||(n=!0,t.apply(this,arguments))}return o.listener=t,this.on(e,o),this},n.prototype.removeListener=function(e,t){var n,i,a,s;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(a=(n=this._events[e]).length,i=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(n)){for(s=a;s-- >0;)if(n[s]===t||n[s].listener&&n[s].listener===t){i=s;break}if(i<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"b",function(){return p}),n.d(t,"c",function(){return d}),n.d(t,"d",function(){return h}),n.d(t,"g",function(){return m}),n.d(t,"e",function(){return v}),n.d(t,"f",function(){return y}),t.i=function(e){return{type:v,updates:e}},t.j=function(e){return{type:y,forecast:e}},t.h=function(e){return function(t,n){var r=Object.keys(i()(n(),["adminKeywordSelect","options"],{})),o=[];e.forEach(function(e){var t=i()(n().adminPromotion,["coreTags","coreTagKeywordMappings",e],[]);o=o.concat(t)});var a=s()(Array.from(new Set(o)),r);a.length>0&&Object(u.b)(a).then(function(e){t(Object(c.b)(e.adminKeywordSelect.options))})}};var r=n(96),o=n(26),i=n.n(o),a=n(1087),s=n.n(a),u=n(1245),c=n(808),l=Object(r.a)("promotions"),f=l("ADD_CONTENT_ITEMS"),p=l("ADD_SPONSORED_CONTENT_ITEMS"),d=l("REMOVE_CONTENT_ITEMS"),h=l("REMOVE_SPONSORED_CONTENT_ITEMS"),m=l("UPDATE_KEYWORD_IDS"),v=l("UPDATE_FIELDS"),y=l("UPDATE_FORECAST")},function(e,t,n){var r=n(1244),o=n(550),i=n(322),a=n(801),s=i(function(e,t){return a(e)?r(e,o(t,1,a,!0)):[]});e.exports=s},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),t.b=function(e){return{type:o,values:e}};var r=n(96),o=Object(r.a)("adsTargetingValue")("ADD_TARGETING_VALUES")},function(e,t,n){var r=n(156)("unset",n(2269));r.placeholder=n(147),e.exports=r},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),t.b=function(e){return{type:r,tabIndex:e}};var r="UPDATE_TAB_INDEX"},function(e,t,n){"use strict";var r=n(10);n.d(t,"a",function(){return o}),n.d(t,"b",function(){return i}),t.c=function(e,t,n,i){return function(a,s){(function(e,t,n,o,i){return Object(r.default)("recommendations.CarouselFollowerSuggestions.loadMore.html",{method:"GET",query:{accountKey:e,seenAccountKeys:t,source:n,payload:o,suggestionType:i}}).then(function(e){if(!e.result)throw new Error("Server did not return recommendations.");return e.result})})(e,s().recommendationsCarouselFollowerSuggestions.items.map(function(e){return e.account.accountKey}),t,n,i).then(function(e){e.carouselFollowerSuggestions&&e.carouselFollowerSuggestions.items&&a({type:o,items:e.carouselFollowerSuggestions.items}),e.recommendationsCarouselFollowerSuggestions&&e.recommendationsCarouselFollowerSuggestions.items&&a({type:o,items:e.recommendationsCarouselFollowerSuggestions.items})})}};var o="ADD_MORE_RECOMMENDATIONS",i=4},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r="RELOAD"},,,,,,,,function(e,t,n){"use strict";t.a=function(){var e=Object(l.createSelector)([p.e,p.a,p.b,p.d],function(e,t,n,r){var o=e.toJS(),i=o.isFollowing,a=o.followEndpoint,s=o.unfollowEndpoint,u=r.toJS(),c=u.labelFollow,l=u.labelUnfollow,f=u.labelFollowing;return{isFollowing:i,followEndpoint:a,unfollowEndpoint:s,canFollow:t,publicationUid:n,isVisible:!0,labelFollow:c,labelUnfollow:l,labelFollowing:f}}),t=function(e){return{follow:function(t,n){return e(Object(f.c)(t,n)).then(function(t){Object(v.d)("follow",new m.a(n,m.b.TYPE_PUBLICATION).getFullKey()),e(Object(d.pushAlert)(function(){return u.a.createElement(h.a,{title:t[0]})}))})},unfollow:function(t,n){return e(Object(f.e)(t,n)).then(function(t){return e(Object(d.pushAlert)(function(){return u.a.createElement(h.a,{title:t[0]})}))})}}};return function(n){var a=function(e){function t(){for(var t,n,r=arguments.length,o=new Array(r),a=0;a-1&&e%1==0&&e<=n}},function(e,t,n){var r=n(1197),o=n(1540),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),function(t){return i.call(e,t)}))}:o;e.exports=s},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n0?r:n)(e)}},function(e,t,n){var r=n(1211)("keys"),o=n(1073);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(89),o=n(198),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(1214)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){e.exports=!0},function(e,t,n){t.f=n(84)},function(e,t,n){var r=n(198),o=n(89),i=n(1214),a=n(1215),s=n(154).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){var r=n(1067),o=n(1218),i=4294967295;function a(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=i,this.__views__=[]}a.prototype=r(o.prototype),a.prototype.constructor=a,e.exports=a},function(e,t){e.exports=function(){}},function(e,t,n){var r=n(1220);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},function(e,t,n){var r=n(1221),o=n(2123),i=n(2124);e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i=e.slideCount-1&&(t=!1):(e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1)),t},slideHandler:function(e){var t,n,r,o,i,u=this;if(!this.props.waitForAnimate||!this.state.animating){if(this.props.fade){if(n=this.state.currentSlide,!1===this.props.infinite&&(e<0||e>=this.state.slideCount))return;return t=e<0?e+this.state.slideCount:e>=this.state.slideCount?e-this.state.slideCount:e,this.props.lazyLoad&&this.state.lazyLoadedList.indexOf(t)<0&&this.setState({lazyLoadedList:this.state.lazyLoadedList.concat(t)}),i=function(){u.setState({animating:!1}),u.props.afterChange&&u.props.afterChange(t),delete u.animationEndCallback},this.setState({animating:!0,currentSlide:t},function(){this.animationEndCallback=setTimeout(i,this.props.speed)}),this.props.beforeChange&&this.props.beforeChange(this.state.currentSlide,t),void this.autoPlay()}if(n=(t=e)<0?!1===this.props.infinite?0:this.state.slideCount%this.props.slidesToScroll!=0?this.state.slideCount-this.state.slideCount%this.props.slidesToScroll:this.state.slideCount+t:t>=this.state.slideCount?!1===this.props.infinite?this.state.slideCount-this.props.slidesToShow:this.state.slideCount%this.props.slidesToScroll!=0?0:t-this.state.slideCount:t,r=(0,a.getTrackLeft)((0,s.default)({slideIndex:t,trackRef:this.track},this.props,this.state)),o=(0,a.getTrackLeft)((0,s.default)({slideIndex:n,trackRef:this.track},this.props,this.state)),!1===this.props.infinite&&(r===o&&(t=n),r=o),this.props.beforeChange&&this.props.beforeChange(this.state.currentSlide,n),this.props.lazyLoad){for(var c=[],l=this.state.slideCount,f=t;f=l&&this.state.lazyLoadedList.indexOf(f-l)<0&&c.push(f-l),f<0&&this.state.lazyLoadedList.indexOf(f+l)<0&&c.push(f+l);c.length>0&&this.setState({lazyLoadedList:this.state.lazyLoadedList.concat(c)})}if(!1===this.props.useCSS)this.setState({currentSlide:n,trackStyle:(0,a.getTrackCSS)((0,s.default)({left:o},this.props,this.state))},function(){this.props.afterChange&&this.props.afterChange(n)});else{var p={animating:!1,currentSlide:n,trackStyle:(0,a.getTrackCSS)((0,s.default)({left:o},this.props,this.state)),swipeLeft:null};i=function(){u.setState(p,function(){u.props.afterChange&&u.props.afterChange(n),delete u.animationEndCallback})},this.setState({animating:!0,currentSlide:n,trackStyle:(0,a.getTrackAnimateCSS)((0,s.default)({left:r},this.props,this.state))},function(){this.animationEndCallback=setTimeout(i,this.props.speed)})}this.autoPlay()}},swipeDirection:function(e){var t,n,r,o;return t=e.startX-e.curX,n=e.startY-e.curY,r=Math.atan2(n,t),(o=Math.round(180*r/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0||o<=360&&o>=315?"left":o>=135&&o<=225?"right":!0===this.props.verticalSwiping?o>=35&&o<=135?"down":"up":"vertical"},play:function(){var e;if(!this.state.mounted)return!1;if(this.props.rtl)e=this.state.currentSlide-this.props.slidesToScroll;else{if(!this.canGoNext(r({},this.props,this.state)))return!1;e=this.state.currentSlide+this.props.slidesToScroll}this.slideHandler(e)},autoPlay:function(){this.state.autoPlayTimer&&clearTimeout(this.state.autoPlayTimer),this.props.autoplay&&this.setState({autoPlayTimer:setTimeout(this.play,this.props.autoplaySpeed)})},pause:function(){this.state.autoPlayTimer&&(clearTimeout(this.state.autoPlayTimer),this.setState({autoPlayTimer:null}))}};t.default=c},function(e,t){e.exports=function(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLocation=function(e,t){var n=/\r\n|[\n\r]/g,r=1,o=t+1,i=void 0;for(;(i=n.exec(e.body))&&i.index=i)return new P(a,i,i,k,N,t);var R=S.call(o,x);if(R<32&&9!==R&&10!==R&&13!==R)throw(0,r.syntaxError)(n,x,"Cannot contain the invalid character "+C(R)+".");switch(R){case 33:return new P(s,x,x+1,k,N,t);case 35:return function(e,t,n,r,o){var i=e.body,a=void 0,s=t;do{a=S.call(i,++s)}while(null!==a&&(a>31||9===a));return new P(T,t,s,n,r,o,I.call(i,t+1,s))}(n,x,k,N,t);case 36:return new P(u,x,x+1,k,N,t);case 40:return new P(c,x,x+1,k,N,t);case 41:return new P(l,x,x+1,k,N,t);case 46:if(46===S.call(o,x+1)&&46===S.call(o,x+2))return new P(f,x,x+3,k,N,t);break;case 58:return new P(p,x,x+1,k,N,t);case 61:return new P(d,x,x+1,k,N,t);case 64:return new P(h,x,x+1,k,N,t);case 91:return new P(m,x,x+1,k,N,t);case 93:return new P(v,x,x+1,k,N,t);case 123:return new P(y,x,x+1,k,N,t);case 124:return new P(g,x,x+1,k,N,t);case 125:return new P(b,x,x+1,k,N,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,n,r,o){var i=e.body,a=i.length,s=t+1,u=0;for(;s!==a&&null!==(u=S.call(i,s))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++s;return new P(E,t,s,n,r,o,I.call(i,t,s))}(n,x,k,N,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,n,o,i,a){var s=e.body,u=n,c=t,l=!1;45===u&&(u=S.call(s,++c));if(48===u){if((u=S.call(s,++c))>=48&&u<=57)throw(0,r.syntaxError)(e,c,"Invalid number, unexpected digit after 0: "+C(u)+".")}else c=j(e,c,u),u=S.call(s,c);46===u&&(l=!0,u=S.call(s,++c),c=j(e,c,u),u=S.call(s,c));69!==u&&101!==u||(l=!0,43!==(u=S.call(s,++c))&&45!==u||(u=S.call(s,++c)),c=j(e,c,u));return new P(l?w:O,t,c,o,i,a,I.call(s,t,c))}(n,x,R,k,N,t);case 34:return function(e,t,n,o,i){var a=e.body,s=t+1,u=s,c=0,l="";for(;s=48&&a<=57){do{a=S.call(o,++i)}while(a>=48&&a<=57);return i}throw(0,r.syntaxError)(e,i,"Invalid number, expected digit but got: "+C(a)+".")}function A(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}P.prototype.toJSON=P.prototype.inspect=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return e.reduce(function(e,r){return e[t(r)]=n(r),e},Object.create(null))}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.assertValidName=function(e,t){if(!e||"string"!=typeof e)throw new Error("Must be named. Unexpected name: "+e+".");if(!t&&!i&&!o&&"__"===e.slice(0,2)&&(i=!0,console&&console.warn)){var r=new Error('Name "'+e+'" must not begin with "__", which is reserved by GraphQL introspection. In a future release of graphql this will become a hard error.');console.warn(a(r))}if(!n.test(e))throw new Error('Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but "'+e+'" does not.')},t.formatWarning=a;var n=/^[_a-zA-Z][_a-zA-Z0-9]*$/,r=/^Error: /,o=Boolean(e&&e.env&&e.env.GRAPHQL_NO_NAME_WARNING),i=!1;function a(e){var t="",n=String(e).replace(r,""),o=e.stack;return o&&(t=o.replace(r,"")),-1===t.indexOf(n)&&(t=n+"\n"+t),t.trim()}}).call(t,n(178))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.astFromValue=function e(t,n){var f=t;if(n instanceof c.GraphQLNonNull){var p=e(f,n.ofType);return p&&p.kind===u.NULL?null:p}if(null===f)return{kind:u.NULL};if((0,s.default)(f))return null;if(n instanceof c.GraphQLList){var d=n.ofType;if((0,o.isCollection)(f)){var h=[];return(0,o.forEach)(f,function(t){var n=e(t,d);n&&h.push(n)}),{kind:u.LIST,values:h}}return e(f,d)}if(n instanceof c.GraphQLInputObjectType){if(null===f||"object"!==(void 0===f?"undefined":r(f)))return null;var m=n.getFields(),v=[];return Object.keys(m).forEach(function(t){var n=m[t].type,r=e(f[t],n);r&&v.push({kind:u.OBJECT_FIELD,name:{kind:u.NAME,value:t},value:r})}),{kind:u.OBJECT,fields:v}}n instanceof c.GraphQLScalarType||n instanceof c.GraphQLEnumType||(0,i.default)(0,"Must provide Input Type, cannot use: "+String(n));var y=n.serialize(f);if((0,a.default)(y))return null;if("boolean"==typeof y)return{kind:u.BOOLEAN,value:y};if("number"==typeof y){var g=String(y);return/^[0-9]+$/.test(g)?{kind:u.INT,value:g}:{kind:u.FLOAT,value:g}}if("string"==typeof y)return n instanceof c.GraphQLEnumType?{kind:u.ENUM,value:y}:n===l.GraphQLID&&/^[0-9]+$/.test(y)?{kind:u.INT,value:y}:{kind:u.STRING,value:JSON.stringify(y).slice(1,-1)};throw new TypeError("Cannot convert value to AST: "+String(y))};var o=n(805),i=f(n(219)),a=f(n(711)),s=f(n(915)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(190)),c=n(128),l=n(622);function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.getVariableValues=function(e,t,n){for(var r={},o=0;o0)return this._typeStack[this._typeStack.length-1]},e.prototype.getParentType=function(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]},e.prototype.getInputType=function(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]},e.prototype.getFieldDef=function(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]},e.prototype.getDirective=function(){return this._directive},e.prototype.getArgument=function(){return this._argument},e.prototype.getEnumValue=function(){return this._enumValue},e.prototype.enter=function(e){var t=this._schema;switch(e.kind){case o.SELECTION_SET:var n=(0,i.getNamedType)(this.getType());this._parentTypeStack.push((0,i.isCompositeType)(n)?n:void 0);break;case o.FIELD:var r=this.getParentType(),a=void 0;r&&(a=this._getFieldDef(t,r,e)),this._fieldDefStack.push(a),this._typeStack.push(a&&a.type);break;case o.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case o.OPERATION_DEFINITION:var u=void 0;"query"===e.operation?u=t.getQueryType():"mutation"===e.operation?u=t.getMutationType():"subscription"===e.operation&&(u=t.getSubscriptionType()),this._typeStack.push(u);break;case o.INLINE_FRAGMENT:case o.FRAGMENT_DEFINITION:var l=e.typeCondition,f=l?(0,s.typeFromAST)(t,l):this.getType();this._typeStack.push((0,i.isOutputType)(f)?f:void 0);break;case o.VARIABLE_DEFINITION:var p=(0,s.typeFromAST)(t,e.type);this._inputTypeStack.push((0,i.isInputType)(p)?p:void 0);break;case o.ARGUMENT:var d=void 0,h=void 0,m=this.getDirective()||this.getFieldDef();m&&(d=(0,c.default)(m.args,function(t){return t.name===e.name.value}))&&(h=d.type),this._argument=d,this._inputTypeStack.push(h);break;case o.LIST:var v=(0,i.getNullableType)(this.getInputType());this._inputTypeStack.push(v instanceof i.GraphQLList?v.ofType:void 0);break;case o.OBJECT_FIELD:var y=(0,i.getNamedType)(this.getInputType()),g=void 0;if(y instanceof i.GraphQLInputObjectType){var b=y.getFields()[e.name.value];g=b?b.type:void 0}this._inputTypeStack.push(g);break;case o.ENUM:var E=(0,i.getNamedType)(this.getInputType()),O=void 0;E instanceof i.GraphQLEnumType&&(O=E.getValue(e.value)),this._enumValue=O}},e.prototype.leave=function(e){switch(e.kind){case o.SELECTION_SET:this._parentTypeStack.pop();break;case o.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case o.DIRECTIVE:this._directive=null;break;case o.OPERATION_DEFINITION:case o.INLINE_FRAGMENT:case o.FRAGMENT_DEFINITION:this._typeStack.pop();break;case o.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case o.ARGUMENT:this._argument=null,this._inputTypeStack.pop();break;case o.LIST:case o.OBJECT_FIELD:this._inputTypeStack.pop();break;case o.ENUM:this._enumValue=null}},e}();function l(e,t,n){var r=n.name.value;return r===a.SchemaMetaFieldDef.name&&e.getQueryType()===t?a.SchemaMetaFieldDef:r===a.TypeMetaFieldDef.name&&e.getQueryType()===t?a.TypeMetaFieldDef:r===a.TypeNameMetaFieldDef.name&&(0,i.isCompositeType)(t)?a.TypeNameMetaFieldDef:t instanceof i.GraphQLObjectType||t instanceof i.GraphQLInterfaceType?t.getFields()[r]:void 0}},function(e,t,n){"use strict";t.__esModule=!0,t.getValueFromNode=a;var r,o=n(58),i=(r=o)&&r.__esModule?r:{default:r};function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("Variable"===e.kind){(0,i.default)(t,"No variable map provided");var n=t[e.name.value];return void 0===n?null:n}return"NullValue"===e.kind?null:"ObjectValue"===e.kind?function(e,t){return e.reduce(function(e,n){var r;return Object.assign({},e,((r={})[n.name.value]=a(n.value,t),r))},{})}(e.fields,t):"ListValue"===e.kind?function(e,t){return e.values.map(function(e){return a(e,t)})}(e,t):"IntValue"===e.kind||"FloatValue"===e.kind?Number(e.value):"BooleanValue"===e.kind?e.value:"StringValue"===e.kind||"EnumValue"===e.kind?e.value:void 0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=f;var r=l(n(58)),o=l(n(1600)),i=l(n(712)),a=l(n(449)),s=l(n(1602)),u=n(607),c=n(1236);function l(e){return e&&e.__esModule?e:{default:e}}function f(e,t){return(0,o.default)((0,s.default)(e),t,function(e,t,n){return"__pagination__"===n?function(e,t){if(!e)return t;if(!t)return e;return function(e){for(var t=[],n=e[0],r=1;r1&&void 0!==arguments[1]?arguments[1]:{},n=t.startCursor,r=t.count,o=void 0===r?e.nodes.length:r;return{__connection__:[{startCursor:null==n?null:n,count:o,data:e}]}},t.isConnectionField=function(e){return r.featureFlags.connectionPagination&&Boolean(e&&e.__connection__)},t.queryConnectionField=function(e,t){var n=e.__connection__,r=o(n,t.after);if(!r)return null;var i=[].concat(r.data.nodes),a=t.first,s=r.count;for(;s1&&void 0!==arguments[1]?arguments[1]:{},n=t.offset,r=void 0===n?0:n,o=t.limit,i=void 0===o?e.length:o;return{__pagination__:[{offset:r,limit:i,list:e}]}},t.isPaginatedField=function(e){return Boolean(e&&e.__pagination__)},t.hasCompleteSlice=function(e,t,n){var r=o(e,t);if(!r)return!1;return r.offset<=t&&r.offset+r.limit>=t+n},t.slice=function(e,t,n){var r=o(e,t);if(!r)return[];var i=t-r.offset;return r.list.slice(i,i+n)},t.push=function(e,t){var n=[].concat(e.__pagination__),r=n.length-1;return n[r]=(o=n[r],a=i(t),{offset:o.offset,limit:o.limit+a.length,list:o.list.concat(a)}),{__pagination__:n};var o,a},t.unshift=function(e,t){var n=i(t),r=function(e,t){return{offset:e.offset,limit:e.limit+t.length,list:t.concat(e.list)}}(e.__pagination__[0],n),o=e.__pagination__.slice(1).map(function(e){return function(e,t){return Object.assign({},e,{offset:e.offset+t})}(e,n.length)});return{__pagination__:[r].concat(o)}},t.remove=function(e,t,n){var o=0;return{__pagination__:e.__pagination__.map(function(e){var i=function(e,t,n,o){var i=e.list.filter(function(e){return!(0,r.isSameValue)(e,t)});if(o.adjustOffsets){var a=e.list.length-i.length;return{offset:e.offset-n,limit:e.limit-a,list:i}}return Object.assign({},e,{list:i})}(e,t,o,n);return o+=e.list.length-i.list.length,i})}},t.replace=function(e,t,n){return{__pagination__:e.__pagination__.map(function(e){return function(e,t,n){var o=e.list.map(function(e){return(0,r.isSameValue)(e,t)?n:e});return Object.assign({},e,{list:o})}(e,t,n)})}};var r=n(1608);function o(e,t){return e.__pagination__.find(function(e){return function(e,t){return t>=e.offset}(e,t)})}function i(e){return Array.isArray(e)?e:[e]}},function(e,t,n){"use strict";t.__esModule=!0,t.createTypeMatcher=function(e){return function(t,n){if(t.__typename===n)return!0;var r=e[t.__typename];return!!r&&r.some(function(e){return e===n})}},t.typeMapFromIntrospection=function(e){return e.__schema.types.reduce(function(e,t){return"INTERFACE"!==t.kind?e:(t.possibleTypes.forEach(function(n){e[n.name]||(e[n.name]=[]),e[n.name].push(t.name)}),e)},{})}},function(e,t,n){"use strict";(function(e){function n(t){return(void 0!==e?"production":"development")===t}t.b=function(){return!0===n("production")},t.a=function(){return!0===n("development")},t.c=function(){return!0===n("test")}}).call(t,n(178))},function(e,t){e.exports=function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}},function(e,t,n){"use strict";t.a=function(e,t,n,o,a){void 0===t&&(t=null);void 0===n&&(n=null);void 0===o&&(o=null);void 0===a&&(a=null);return Object(r.default)("browse.Browse.ajaxFollow.html",{method:"POST",query:i()({id:e,ev:t,experimentGoal:n,experimentViewId:o,_iepl:a},s.a)})},t.b=function(e,t,n){void 0===t&&(t=null);void 0===n&&(n=null);return Object(r.default)("browse.Browse.ajaxToggleFollow.html",{method:"POST",query:i()({id:e,ev:t,_iepl:n},s.a)})};var r=n(10),o=n(783),i=n.n(o),a=n(621),s=n.n(a)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r="applicationAlertStack",o=function(e,t){return t?e()[r].get(t):e()[r]}},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return a}),t.c=function(e){return{type:a,contentItems:e}};var r=n(96),o=Object(r.a)("contentItems"),i=o("ADD_CONTENT_ITEM"),a=o("ADD_CONTENT_ITEMS")},function(e,t,n){var r=n(1222),o=n(1219),i=n(1617),a=n(493),s=n(618),u=n(1223),c=200;e.exports=function(e,t,n,l){var f=-1,p=o,d=!0,h=e.length,m=[],v=t.length;if(!h)return m;n&&(t=a(t,s(n))),l?(p=i,d=!1):t.length>=c&&(p=u,d=!1,t=new r(t));e:for(;++f1||e.first().getLength()>0},t.prototype.createEntity=function(e,t,n){return s.__create(e,t,n),this},t.prototype.mergeEntityData=function(e,t){return s.__mergeData(e,t),this},t.prototype.replaceEntityData=function(e,t){return s.__replaceData(e,t),this},t.prototype.addEntity=function(e){return s.__add(e),this},t.prototype.getEntity=function(e){return s.__get(e)},t.createFromBlockArray=function(e,n){var o=Array.isArray(e)?e:e.contentBlocks,i=r.createFromArray(o),a=i.isEmpty()?new l:l.createEmpty(i.first().getKey());return new t({blockMap:i,entityMap:n||s,selectionBefore:a,selectionAfter:a})},t.createFromText=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,r=e.split(n).map(function(e){return e=p(e),new v({key:f(),text:e,type:"unstyled",characterList:d(m(o.EMPTY,e.length))})});return t.createFromBlockArray(r)},t}(h({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}));e.exports=y},function(e,t,n){"use strict";var r=new RegExp("\r","g");e.exports=function(e){return e.replace(r,"")}},function(e,t,n){"use strict";var r=n(99),o="LTR",i="RTL",a=null;function s(e){return e===o||e===i}function u(e){return s(e)||r(!1),e===o?"ltr":"rtl"}function c(e){a=e}var l={NEUTRAL:"NEUTRAL",LTR:o,RTL:i,isStrong:s,getHTMLDir:u,getHTMLDirIfDifferent:function(e,t){return s(e)||r(!1),s(t)||r(!1),e===t?null:u(e)},setGlobalDir:c,initGlobalDir:function(){c(o)},getGlobalDir:function(){return a||this.initGlobalDir(),a||r(!1),a}};e.exports=l},function(e,t,n){"use strict";var r=n(45).Map,o=n(0),i=n(829),a=r({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},"unordered-list-item":{element:"li",wrapper:o.createElement("ul",{className:i("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:o.createElement("ol",{className:i("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:o.createElement("pre",{className:i("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}});e.exports=a},function(e,t,n){"use strict";e.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},function(e,t,n){"use strict";function r(e,t){return t&&"MUTABLE"===e.__get(t).getMutability()?t:null}e.exports=function(e,t){var n;if(t.isCollapsed()){var o=t.getAnchorKey(),i=t.getAnchorOffset();return i>0?(n=e.getBlockForKey(o).getEntityAt(i-1))!==e.getBlockForKey(o).getEntityAt(i)?null:r(e.getEntityMap(),n):null}var a=t.getStartKey(),s=t.getStartOffset(),u=e.getBlockForKey(a);return n=s===u.getLength()?null:u.getEntityAt(s),r(e.getEntityMap(),n)}},function(e,t,n){"use strict";function r(e,t){var n=o.get(e,t);return"auto"===n||"scroll"===n}var o={get:n(2511),getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(r(e,"overflow")||r(e,"overflowY")||r(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}};e.exports=o},function(e,t,n){"use strict";var r=n(2516),o=n(2517);e.exports=function(e){var t=r(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=o(e),i=e===t?e.ownerDocument.documentElement:e,a=e.scrollWidth-i.clientWidth,s=e.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,s)),n}},function(e,t,n){"use strict";var r=n(1692);e.exports=function(e){for(var t=e;t&&t!==document.documentElement;){var n=r(t);if(null!=n)return n;t=t.parentNode}return null}},function(e,t,n){"use strict";var r=n(500).isPlatform("Mac OS X"),o={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return r&&e.altKey},hasCommandModifier:function(e){return r?!!e.metaKey&&!e.altKey:o.isCtrlKeyCommand(e)}};e.exports=o},function(e,t,n){"use strict";e.exports=function(e,t){var n=e.getSelection(),r=e.getCurrentContent(),o=n.getStartKey(),i=n.getStartOffset(),a=o,s=0;if(t>i){var u=r.getKeyBefore(o);null==u?a=o:(a=u,s=r.getBlockForKey(u).getText().length)}else s=i-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})}},,function(e,t,n){"use strict";var r=n(3),o=n(5),i=n(1),a=(n.n(i),n(0)),s=n.n(a),u=n(4),c=n(2),l=n(175),f=n(4435),p=n(56),d=n(14),h=function(e){function t(){for(var t,n,r=arguments.length,i=new Array(r),a=0;a0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var r=n(1555)();e.exports=r},function(e,t){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var u=a[e?s:++o];if(!1===n(i[u],u,i))break}return t}}},function(e,t,n){var r=n(237);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++au;)r(s,n=t[u++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(2081)),o=a(n(2089)),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},function(e,t,n){e.exports=n(233)},function(e,t,n){var r=n(1561),o=n(1212).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){"use strict";(function(e,r){var o,i=n(2106);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(i.a)(o);t.a=a}).call(t,n(97),n(1566)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){var r=n(621),o=n(1568),i=o?function(e,t){return o.set(e,t),e}:r;e.exports=i},function(e,t,n){var r=n(1545),o=r&&new r;e.exports=o},function(e,t,n){var r=n(1570),o=n(1571),i=n(2114),a=n(1075),s=n(1572),u=n(1076),c=n(2125),l=n(910),f=n(274),p=1,d=2,h=8,m=16,v=128,y=512;e.exports=function e(t,n,g,b,E,O,w,_,T,S){var I=n&v,P=n&p,C=n&d,x=n&(h|m),j=n&y,A=C?void 0:a(t);return function p(){for(var d=arguments.length,h=Array(d),m=d;m--;)h[m]=arguments[m];if(x)var v=u(p),y=i(h,v);if(b&&(h=r(h,b,E,x)),O&&(h=o(h,O,w,x)),d-=y,x&&d1&&h.reverse(),I&&Tp))return!1;var h=l.get(e);if(h&&l.get(t))return h==t;var m=-1,v=!0,y=n&s?new r:void 0;for(l.set(e,t),l.set(t,e);++m=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(this.props,[]);return function(e){l.forEach(function(t){return delete e[t]})}(o),o.className=this.props.inputClassName,o.id=this.state.inputId,o.style=n,a.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),a.default.createElement("input",r({},o,{ref:this.inputRef})),a.default.createElement("div",{ref:this.sizerRef,style:c},e),this.props.placeholder?a.default.createElement("div",{ref:this.placeHolderSizerRef,style:c},this.props.placeholder):null)}}]),t}();h.propTypes={className:s.default.string,defaultValue:s.default.any,extraWidth:s.default.oneOfType([s.default.number,s.default.string]),id:s.default.string,injectStyles:s.default.bool,inputClassName:s.default.string,inputRef:s.default.func,inputStyle:s.default.object,minWidth:s.default.oneOfType([s.default.number,s.default.string]),onAutosize:s.default.func,onChange:s.default.func,placeholder:s.default.string,placeholderIsMinWidth:s.default.bool,style:s.default.object,value:s.default.any},h.defaultProps={minWidth:1,injectStyles:!0},t.default=h},function(e,t,n){"use strict";t.__esModule=!0,t.getTrackLeft=t.getTrackAnimateCSS=t.getTrackCSS=void 0,t.getPreClones=u,t.getPostClones=c,t.getTotalSlides=l;var r=i(n(42)),o=i(n(114));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e,t){return t.reduce(function(t,n){return t&&e.hasOwnProperty(n)},!0)?null:console.error("Keys Missing",e)},s=t.getTrackCSS=function(e){var t,n;a(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:(t=l(e)*e.slideWidth,t+=e.slideWidth/2);var i={opacity:1,WebkitTransform:e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",transform:e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",transition:"",WebkitTransition:"",msTransform:e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)"};return e.fade&&(i={opacity:1}),t&&(0,o.default)(i,{width:t}),n&&(0,o.default)(i,{height:n}),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?i.marginTop=e.left+"px":i.marginLeft=e.left+"px"),i};t.getTrackAnimateCSS=function(e){a(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=s(e);return t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase,t},t.getTrackLeft=function(e){a(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,o=e.slideIndex,i=e.trackRef,s=e.infinite,c=e.centerMode,l=e.slideCount,f=e.slidesToShow,p=e.slidesToScroll,d=e.slideWidth,h=e.listWidth,m=e.variableWidth,v=e.slideHeight,y=e.fade,g=e.vertical;if(y||1===e.slideCount)return 0;var b=0;if(s?(b=-u(e),l%p!=0&&o+p>l&&(b=-(o>l?f-(o-l):l%p)),c&&(b+=parseInt(f/2))):(l%p!=0&&o+p>l&&(b=f-l%p),c&&(b=parseInt(f/2))),t=g?o*v*-1+b*v:o*d*-1+b*d,!0===m){var E,O=r.default.findDOMNode(i).children[l-1],w=-O.offsetLeft+h-O.offsetWidth;l<=f||!1===s?n=r.default.findDOMNode(i).childNodes[o]:(E=o+f,n=r.default.findDOMNode(i).childNodes[E]),t=n?-1*n.offsetLeft:0,!0===c&&(n=!1===s?r.default.findDOMNode(i).children[o]:r.default.findDOMNode(i).children[o+f+1])&&(t=-1*n.offsetLeft+(h-n.offsetWidth)/2),!1===e.infinite&&t0||(0,i.default)(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||(0,i.default)(0,"column in locationOffset is 1-indexed and must be positive")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.locatedError=function(e,t,n){if(e&&e.path)return e;var o=e?e.message||String(e):"An unknown error occurred.";return new r.GraphQLError(o,e&&e.nodes||t,e&&e.source,e&&e.positions,n,e)};var r=n(803)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2174);Object.defineProperty(t,"introspectionQuery",{enumerable:!0,get:function(){return r.introspectionQuery}});var o=n(2175);Object.defineProperty(t,"getOperationAST",{enumerable:!0,get:function(){return o.getOperationAST}});var i=n(2176);Object.defineProperty(t,"buildClientSchema",{enumerable:!0,get:function(){return i.buildClientSchema}});var a=n(1598);Object.defineProperty(t,"buildASTSchema",{enumerable:!0,get:function(){return a.buildASTSchema}}),Object.defineProperty(t,"buildSchema",{enumerable:!0,get:function(){return a.buildSchema}});var s=n(2177);Object.defineProperty(t,"extendSchema",{enumerable:!0,get:function(){return s.extendSchema}});var u=n(2178);Object.defineProperty(t,"printSchema",{enumerable:!0,get:function(){return u.printSchema}}),Object.defineProperty(t,"printType",{enumerable:!0,get:function(){return u.printType}}),Object.defineProperty(t,"printIntrospectionSchema",{enumerable:!0,get:function(){return u.printIntrospectionSchema}});var c=n(554);Object.defineProperty(t,"typeFromAST",{enumerable:!0,get:function(){return c.typeFromAST}});var l=n(914);Object.defineProperty(t,"valueFromAST",{enumerable:!0,get:function(){return l.valueFromAST}});var f=n(1231);Object.defineProperty(t,"astFromValue",{enumerable:!0,get:function(){return f.astFromValue}});var p=n(1233);Object.defineProperty(t,"TypeInfo",{enumerable:!0,get:function(){return p.TypeInfo}});var d=n(1599);Object.defineProperty(t,"isValidJSValue",{enumerable:!0,get:function(){return d.isValidJSValue}});var h=n(1080);Object.defineProperty(t,"isValidLiteralValue",{enumerable:!0,get:function(){return h.isValidLiteralValue}});var m=n(2179);Object.defineProperty(t,"concatAST",{enumerable:!0,get:function(){return m.concatAST}});var v=n(2180);Object.defineProperty(t,"separateOperations",{enumerable:!0,get:function(){return v.separateOperations}});var y=n(1079);Object.defineProperty(t,"isEqualType",{enumerable:!0,get:function(){return y.isEqualType}}),Object.defineProperty(t,"isTypeSubTypeOf",{enumerable:!0,get:function(){return y.isTypeSubTypeOf}}),Object.defineProperty(t,"doTypesOverlap",{enumerable:!0,get:function(){return y.doTypesOverlap}});var g=n(1230);Object.defineProperty(t,"assertValidName",{enumerable:!0,get:function(){return g.assertValidName}});var b=n(2181);Object.defineProperty(t,"BreakingChangeType",{enumerable:!0,get:function(){return b.BreakingChangeType}}),Object.defineProperty(t,"DangerousChangeType",{enumerable:!0,get:function(){return b.DangerousChangeType}}),Object.defineProperty(t,"findBreakingChanges",{enumerable:!0,get:function(){return b.findBreakingChanges}}),Object.defineProperty(t,"findDangerousChanges",{enumerable:!0,get:function(){return b.findDangerousChanges}});var E=n(2182);Object.defineProperty(t,"findDeprecatedUsages",{enumerable:!0,get:function(){return E.findDeprecatedUsages}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildASTSchema=v,t.getDeprecationReason=y,t.getDescription=g,t.buildSchema=function(e){return v((0,s.parse)(e))};var r=m(n(219)),o=m(n(1229)),i=n(914),a=n(1228),s=n(913),u=n(1232),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(190)),l=n(551),f=n(622),p=n(128),d=n(552),h=n(553);function m(e){return e&&e.__esModule?e:{default:e}}function v(e){if(!e||e.kind!==c.DOCUMENT)throw new Error("Must provide a document ast.");for(var t=void 0,n=[],a=Object.create(null),s=[],u=0;u2&&void 0!==arguments[2]?arguments[2]:{isOptimistic:!1};return l(e,e,t,n)};var o=c(n(58)),i=c(n(449)),a=c(n(2192)),s=c(n(1602)),u=n(1084);function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n,o){var i=(0,s.default)(t);return e===t&&(e=i),Object.keys(n).forEach(function(a){var s=n[a];if("object"===(void 0===s?"undefined":r(s))&&(0,u.isIdentifiable)(s)){var c=(0,u.getKeyFromIdentifiable)(s);a!==c&&(s={__ref__:c})}var l=null!=t&&t.hasOwnProperty(a)?t[a]:{};if(l&&l.__ref__&&s&&!s.__ref__){var p=l.__ref__;e[p]=f(e,e[p],s,o)}else i[a]=f(e,l,s,o)}),i}function f(e,t,n,s){var u=function(e,t){if(!e||"object"!==(void 0===e?"undefined":r(e)))return null;var n=Object.keys(e);if(1!==n.length)return null;var i=n[0];if("$"!==i[0])return null;var s=a.default[i];return(0,o.default)(s,"Unknown operator "+i),s(e[i],t)}(n,s);return u?u(t):(0,i.default)(n)?l(e,t,n,s):n}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){if(a&&a.optimisticStore===e)return a.store;var t=e.optimisticUpdates.reduce(function(e,t){return(0,i.default)(e,t.mutationConfig,{isOptimistic:!0})},e.store);return a={optimisticStore:e,store:t},t};var r,o=n(1610),i=(r=o)&&r.__esModule?r:{default:r};var a=null},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,o=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}();t.arrayToObject=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?n+=t.charAt(r):i<128?n+=o[i]:i<2048?n+=o[192|i>>6]+o[128|63&i]:i<55296||i>=57344?n+=o[224|i>>12]+o[128|i>>6&63]+o[128|63&i]:(r+=1,i=65536+((1023&i)<<10|1023&t.charCodeAt(r)),n+=o[240|i>>18]+o[128|i>>12&63]+o[128|i>>6&63]+o[128|63&i])}return n},t.compact=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r-1?s[u?t[c]:c]:void 0}}},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),t.b=function(e){var t=e.applicationLocations;return{type:o,locations:t}};var r=n(96),o=Object(r.a)("locations")("UPDATE_LOCATIONS")},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return a});var r=n(96),o=Object(r.a)("modal-root"),i=o("MOUNT_MODAL"),a=o("UNMOUNT_MODAL")},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return i}),t.d=function(e){return{type:i,updates:e}},t.c=function(e,t){return function(){return Object(r.c)(e,t)}};var r=n(1245),o="UPDATE_REACH_FIELD",i="UPDATE_REACH_FIELDS"},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),t.b=function(){return{type:o}};var r=n(96),o=Object(r.a)("stickySidebar")("REFRESH")},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"c",function(){return a}),n.d(t,"b",function(){return s});var r=n(13),o=function(e){return e.converseMentions},i=function(e){return o(e).get("boostedAccountIds")},a=function(e){return r.a.parse(o(e).get("rootId"))},s=function(e){return o(e).get("isLoading")}},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return o}),t.d=function(e){return{type:r,invitationKey:e}},t.c=function(e,t,n){void 0===n&&(n=!0);return{type:o,invitationKey:e,authorUid:t,shouldRemove:n}};var r="SET_REINVITED",o="BLACKLIST_AUTHOR_SUGGESTION"},function(e,t,n){var r=n(156)("union",n(2275));r.placeholder=n(147),e.exports=r},function(e,t,n){"use strict";var r=n(10);function o(e){return a("POST",e)}function i(e){return a("DELETE",e)}function a(e,t){return Object(r.default)("product.AjaxFollowProduct.html",{method:e,body:{productId:t}})}n.d(t,"a",function(){return s}),n.d(t,"b",function(){return u}),t.c=function(e){return function(t,n){var r,a,c,l=Boolean(n().productFollow[e]);l?(r={type:u,productId:e},a={type:s,productId:e},c=i):(r={type:s,productId:e},a={type:u,productId:e},c=o),t(r),c(e).catch(function(){return t(a)})}};var s="ACTION_FOLLOW_PRODUCT",u="ACTION_UNFOLLOW_PRODUCT"},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),t.b=function(e){return{type:o,payload:{isSticky:e}}};var r=n(96),o=Object(r.a)("statsReport")("SET_STICKY_HEADER")},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),t.b=function(e){return{type:r,counters:e}};var r="ADD_MORE_GLOBAL_PUBLICATION_COUNTERS"},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),t.b=function(e){var t=e.authors,n=e.totalCounts,o=e.mappings;return{type:r,authors:t,totalCounts:n,mappings:o}};var r="ADD_MORE_GLOBAL_PUBLICATION_AUTHORS"},function(e,t,n){var r=n(1244),o=n(322),i=n(801),a=o(function(e,t){return i(e)?r(e,t):[]});e.exports=a},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),t.b=function(e){var t=e.from,n=e.to;return{type:r,from:t,to:n}};var r="REPLACE_ASSET"},function(e,t,n){"use strict";t.b=function(e){return Object(r.default)(e,{method:"POST",query:{}}).then(function(e){if(!e.result)throw new Error(e.message);return e.result})},t.c=function(e){return Object(r.default)(e,{method:"POST",query:{}}).then(function(e){if(!e.result)throw new Error(e.message);return e.result})},t.a=function(e){return Object(r.default)(e,{method:"DELETE",query:{}}).then(function(e){if(!e.result)throw new Error(e.message);return e.result})};var r=n(10)},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"c",function(){return s}),n.d(t,"b",function(){return u}),t.d=function(e,t){return function(n){!function(e,t){l[t]=setTimeout(function(){f(t),e(function(e){return{type:u,payload:{publicationUid:e}}}(t))},c)}(n,t),n(p(t)),Object(o.c)(e).catch(function(){n(d(t))})}},t.e=function(e,t){return function(n){f(t),n(d(t)),Object(o.c)(e).catch(function(){n(p(t))})}};var r=n(96),o=n(1635),i=Object(r.a)("publicationFulltextRequests"),a=i("ACTION_REQUEST_PUBLICATION"),s=i("ACTION_UNDO_REQUEST_PUBLICATION"),u=i("ACTION_UNDO_NOT_ALLOWED"),c=1e4,l={};function f(e){l[e]&&(clearTimeout(l[e]),delete l[e])}function p(e){return{type:a,payload:{publicationUid:e}}}function d(e){return{type:s,payload:{publicationUid:e}}}},function(e,t,n){"use strict";var r=n(26),o=n.n(r),i=n(10);n.d(t,"a",function(){return a}),n.d(t,"b",function(){return s}),t.c=function(e){var t=e.accountId,n=e.assetId,r=e.assetType,o=e.highlight,c=e.publicationUid;return function(e){var l;e({type:a,like:{id:u,accountId:t,assetId:n}}),(l={assetId:n,assetType:r,highlight:o,publicationUid:c},Object(i.default)("rgformat/api/like",{method:"POST",body:l}).then(function(e){return e.result?e.result:Promise.reject(new Error("Like failed"))})).then(function(r){return e({type:a,like:{id:r.id,accountId:t,assetId:n}})}).catch(function(){return e({type:s,like:{assetId:n,accountId:t}})})}},t.d=function(e){var t=e.accountId,n=e.assetId;return function(e,r){var c,l=function(e,t){var n=t.accountId,r=t.assetId;return o()(e.publicationLikes.sets,[r,n])}(r(),{accountId:t,assetId:n});l!==u&&(e({type:s,like:{accountId:t,assetId:n}}),(c=l,Object(i.default)("rgformat/api/like/"+c,{method:"DELETE"})).catch(function(){return e({type:a,like:{id:l,assetId:n,accountId:t}})}))}};var a="ADD_LIKE",s="REMOVE_LIKE",u=Symbol("tempLikeId")},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),t.b=function(e,t){return{type:r,publicationUid:e,assetKey:t}};var r="CHANGE_SELECTED_ASSET"},function(e,t,n){"use strict";var r=n(10),o=n(100),i=n(76),a=n.n(i);n.d(t,"a",function(){return s}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return c}),t.d=function(e,t){return function(n){n({type:s,query:e,category:t}),function(e,t){var n=new o.b("search/"+t),i=n.getQueryAsObject(),s=[];return a()(e,function(e){s.push(encodeURIComponent(e))}),s.length>0&&(i.q=s.join()),Object(r.default)(n.setQuery(i).toString(),{}).then(function(e){return e.result})}(e,t).then(function(r){return n({type:c,query:e,category:t,result:r})}).catch(function(){return n({type:u,query:e,category:t})})}};var s="BEGIN_SEARCHING",u="ERROR_SEARCHING",c="SEARCH_COMPLETE"},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return i});var r=n(96),o=Object(r.a)("topicsFilter")("ACTION_SET_LIST_FILTERS"),i=function(e){return{type:o,payload:{filterKey:e}}}},function(e,t,n){"use strict";t.b=l,t.a=function(e){return l(e).then(function(e){return function(e){if(!e)return;for(var t={},n=e,r=Array.isArray(n),o=0,n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}var u=i;if("validation"!==u.category){var c=new Error("GraphQL query returned errors:\n"+f(e));throw c.responseErrors=e,c}Object.assign(t,u.validationErrors)}throw new s.SubmissionError(function(e){return a()(e,function(e){return Array.isArray(e)?e.join(". "):e})}(t))}(e.errors),e})};var r=n(19),o=n(10),i=n(557),a=n.n(i),s=n(25),u=n(324),c=!1;function l(e){var t=e.queryHash,n=Object(r.a)(e,["queryHash"]),i=t?"graphapi/"+t:"graphapi",a={method:"POST",body:JSON.stringify(n)};return t&&!Object(u.n)(u.h)&&(a={method:"GET",query:{queryName:n.queryName||null,variables:JSON.stringify(n.variables||null)}}),Object(o.default)(i,a).then(function(t){var n=t.result;return p(e,n.extensions),n}).catch(function(t){return p(e),Promise.reject(t)})}function f(e){return e.map(function(e){var t=e.debugMessage||e.message;return e.path&&e.path.length>0?" "+e.path.join(".")+": "+t:" [No path]: "+t}).join("\n")}function p(e,t){c||RGCommons.debug.on("toolbarLoaded",function(){return function(e,t){c=!0,p(e,t)}(e,t)}),RGCommons.debug.logGraphQLQuery(e,t)}},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=(n(1),n(2)),a=n(3),s=function(e){function t(){return e.apply(this,arguments)||this}t.getDerivedStateFromProps=function(e){return{duration:e.duration}};var n=t.prototype;return n.delayRender=function(e){var t=this;return this.clearTimers(),this.timer=setTimeout(function(){t.timer=requestAnimationFrame(function(){t.setState({duration:-1})})},e),null},n.clearTimers=function(){cancelAnimationFrame(this.timer),clearTimeout(this.timer)},n.componentWillUnmount=function(){this.clearTimers()},n.render=function(){var e=this.props.children,t=this.state.duration;return t>16?this.delayRender(t):e},Object(a.a)(t,e),t}(r.PureComponent);s.displayName="Delay",s.defaultProps={duration:500};var u=function(e){var t=e.color,n=e.size,r=e.delay;return o.a.createElement(s,{duration:r},o.a.createElement(i.Button,{type:"button",theme:"bare",status:"busy",width:"full",color:t,size:n},"​"))};u.defaultProps={color:"grey",size:"m",delay:0};t.a=u},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},function(e,t,n){"use strict";var r=n(11),o=n(19),i=n(0),a=n.n(i),s=n(1),u=(n.n(s),n(2)),c=n(25),l=function(e){var t,n=e.valueParamName,i=e.input,s=e.helpMessage,c=e.helpLabel,l=e.errorReporting,f=e.label,p=e.children,d=e.meta,h=d.touched,m=d.error,v=d.invalid,y=Object(o.a)(e,["valueParamName","input","helpMessage","helpLabel","errorReporting","label","children","meta"]),g=0,b=function(e){return e+(g++>1?"_"+(g-1):"")};return a.a.createElement("div",null,a.a.createElement(u.Label,{status:h&&v?"invalid":"",errorMessage:m,errorReporting:l,helpMessage:s,helpLabel:c,htmlFor:b(i.name)},f),a.a.cloneElement(a.a.Children.only(p),Object(r.a)({},i,y,((t={status:h&&v?"invalid":""})[n]=i.value,t.id=b(i.name),t))))},f=function(e){return a.a.createElement(c.Field,Object.assign({},e,{component:l,onBlur:function(t){e.preventDefaultEventOnBlur&&t.preventDefault()}}))};f.defaultProps={valueParamName:"value",preventDefaultEventOnBlur:!0},t.a=f},function(e,t,n){"use strict";var r=n(7),o=n(4),i=n(498),a=n(2);i.a.role=a.PublicationItem.Authors.role,t.a=Object(r.compose)(Object(o.connectWidget)(function(e,t){var n=t.authors,r=t.authors?t.authors.length:0,o=Math.min(r,3),i=Math.min(r-o,1);return{headAuthorships:n.slice(0,3),tailAuthorships:i?n.slice(-i):[],countLeft:r-o-i,highlightedAuthor:n.find(function(e){return e.isHighlighted})}}))(i.a)},function(e,t,n){"use strict";t.a=function(){var e=function(e,t){return{hasLiked:Object(o.d)(e,t.id)}},t=function(e,t){var n=t.id,r=t.context,o=t.iepl,u=t.qualifier,c=t.isMobile,l=t.onLike,f=t.onUnLike,p=t.onClick;return{like:function(){return p&&p(),e(Object(i.c)(n,r,o)).then(function(){Object(s.d)("recommend",n),l&&l(n),u&&!c&&e(Object(a.a)(u,n,!1))})},unlike:function(){return p&&p(),e(Object(i.d)(n,r,o)).then(function(){f&&f(n),u&&!c&&e(Object(a.b)(u,n))})}}};return function(n){return Object(r.connect)(e,t)(n)}};var r=n(21),o=n(92),i=n(304),a=n(488),s=n(56)},function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r,o,i,a,s=n(88),u=(n.n(s),n(424)),c=n.n(u),l=["touchstart","touchend","touchcancel","touchleave","touchmove","focus"],f=["click","mousemove","focus"];"undefined"!=typeof window&&(void 0!==(a=document).hidden?(r="hidden",o="visibilitychange"):void 0!==a.webkitHidden&&(r="webkitHidden",o="webkitvisibilitychange"),i=void 0!==a[r]);var p=!1,d=function(){function e(e,t){this.eventHandlers=[],this.onChange=e,this.inactivityTimeout=t,this.handleActivity=c()(this.handleActivity.bind(this),Math.max(t/150,100)),this.handleInactivity=this.handleInactivity.bind(this),this.handleBeforeUnload=this.handleBeforeUnload.bind(this)}var t=e.prototype;return t.handleActivity=function(){this.recentlyActive||this.onChange(this.recentlyActive=!0),this.timeoutID&&clearTimeout(this.timeoutID),this.eventHandlers.length>0&&(this.timeoutID=setTimeout(this.handleInactivity,this.inactivityTimeout))},t.handleInactivity=function(){this.timeoutID=null,this.onChange(this.recentlyActive=!1)},t.handleBeforeUnload=function(){p=!0,this.stop()},t.start=function(){var e=this;"ontouchstart"in window?l.forEach(function(t){e.eventHandlers.push(Object(s.addEventListener)(window,t,e.handleActivity,{passive:!0}))}):f.forEach(function(t){e.eventHandlers.push(Object(s.addEventListener)(window,t,e.handleActivity))}),this.eventHandlers.push(Object(s.addEventListener)(window,"scroll",this.handleActivity,{passive:!0})),i&&this.eventHandlers.push(Object(s.addEventListener)(document,o,function(){var t=!a[r];t||e.timeoutID&&(clearTimeout(e.timeoutID),e.timeoutID=null),p||e.onChange(e.recentlyActive=t)})),this.eventHandlers.push(Object(s.addEventListener)(window,"beforeunload",this.handleBeforeUnload)),this.recentlyActive=!0,this.handleActivity()},t.stop=function(){var e;for(this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null);e=this.eventHandlers.shift();)Object(s.removeEventListener)(e)},e}()},function(e,t,n){"use strict";var r=n(19),o=n(1),i=(n.n(o),n(7)),a=n(0),s=n.n(a),u=n(6),c=n.n(u),l=n(16),f=n(2),p=n(2470),d=(n.n(p),new c.a("publication-item-meta-items"));t.a=Object(i.compose)(Object(l.a)(f.PublicationItem.MetaItems))(function(e){var t=e.children,n=e.size,o=Object(r.a)(e,["children","size"]),i=n||"m";return s.a.createElement(f.List,Object.assign({},o,d("meta-data"),{type:"inline",spacing:"none",size:i}),s.a.Children.map(t,function(e){return s.a.createElement(f.List.Item,d("meta-data-item"),e)}))})},function(e,t,n){"use strict";var r=n(19),o=n(1),i=(n.n(o),n(0)),a=n.n(i),s=n(2);t.a=function(e){var t=e.children,n=e.href,o=Object(r.a)(e,["children","href"]);return n||o.onClick?a.a.createElement("span",null,a.a.createElement(s.Link,Object.assign({},o,{className:"",href:n,theme:"bare"}),t)):a.a.createElement("span",Object.assign({},o,{className:""}),t)}},function(e,t,n){"use strict";var r=n(3),o=n(5),i=(n(1),n(0)),a=n.n(i),s=n(610),u=n(1157);function c(e){return a.a.createElement(u.a,{accountId:e.accountId,button:a.a.createElement(s.a,{accountId:e.accountId,size:"s",theme:"ghost"})})}var l=n(4),f=n(2),p=n(1250),d=n(920),h=20,m=function(e){function t(){for(var t,n,r=arguments.length,i=new Array(r),a=0;a=this.props.totalItems},n.componentDidMount=function(){this.props.initialLoadMoreIfEmpty&&0===this.props.accountIds.length&&this.loadMore()},n.renderButton=function(){if(this.isLoaded())return null;var e=this.props.isLoading?"busy":null;return a.a.createElement("div",{className:"list-load-more"},a.a.createElement(f.Button,{size:"s",width:"full",theme:"ghost",color:"grey",status:e,onClick:this.loadMore},"Load more"))},n.render=function(){var e=this.props.accountIds.map(function(e){return a.a.createElement(f.Stack.Item,{key:e,className:"stack-item-divided"},a.a.createElement(c,{accountId:e}))});return a.a.createElement("div",null,a.a.createElement(f.Stack,{type:"bare",gutter:"m"},e),this.props.isLoading&&a.a.createElement("div",{className:"rendering"}),this.renderButton())},Object(r.a)(t,e),t}(i.Component);m.displayName="RgIdLikersList",m.defaultProps={initialLoadMoreIfEmpty:!1};t.a=Object(l.connectWidget)(function(e,t){var n=Object(d.b)(e,t),r=n.items,o=n.totalItems,i=n.isLoading;return{accountIds:r,totalItems:o,offset:n.offset,isLoading:i}})(m)},function(e,t,n){"use strict";var r=n(11),o=n(3),i=n(0),a=n.n(i),s=n(2),u=n(16),c=(n(1),n(7)),l=n(13),f=n(5),p=n(1100),d=n(17),h=function(e){function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.getButtonTheme=function(){return this.props.roundButtons?this.props.buttonSolid?"solid":"ghost":"bare"},n.getButton=function(){var e=this.props,t=e.buttonProps,n=e.identifier;return a.a.createElement(s.Button,Object.assign({},t,{theme:this.getButtonTheme(),onClick:this.props.onClick}),a.a.createElement(s.Icon,{size:"s",identifier:n}))},n.render=function(){var e=this.props,t=e.tooltipHeader,n=e.tooltipText;return a.a.createElement(s.Tooltip,{target:this.getButton(),spacing:"m"},a.a.createElement(s.Text,{size:"l"},a.a.createElement("b",null,t)),a.a.createElement(s.Text,null,n))},Object(o.a)(t,e),t}(i.Component);h.displayName="PublicationItemSocialStackElement";var m=h,v=function(e){function t(){for(var t,n,r=arguments.length,o=new Array(r),i=0;i0?a.get(n-1):void 0,u=n=n&&(r={start:e,end:t})}),"object"!=typeof r&&i(!1),r}(a,l,n),d=p.start,h=p.end;d0&&window.scrollTo(o.x,o.y+i+10)}else{n instanceof HTMLElement||v(!1),(i=n.offsetHeight+n.offsetTop-(r.offsetHeight+o.y))>0&&u.setTop(r,u.getTop(r)+i+10)}}},t.prototype._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),s=t.getText(),u=this.props.tree.size-1,c=g(this.props.selection,n);return this.props.tree.map(function(p,d){var h=p.get("leaves"),m=h.size-1,v=h.map(function(r,l){var f=i.encode(n,d,l),p=r.get("start"),h=r.get("end");return a.createElement(o,{key:f,offsetKey:f,block:t,start:p,selection:c?e.props.selection:null,forceSelection:e.props.forceSelection,text:s.slice(p,h),styleSet:t.getInlineStyleAt(p),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:d===u&&l===m})}).toArray(),g=p.get("decoratorKey");if(null==g)return v;if(!e.props.decorator)return v;var b=y(e.props.decorator),E=b.getComponentForKey(g);if(!E)return v;var O=b.getPropsForKey(g),w=i.encode(n,d,0),_=s.slice(h.first().get("start"),h.last().get("end")),T=f.getHTMLDirIfDifferent(l.getDirection(_),e.props.direction);return a.createElement(E,r({},O,{contentState:e.props.contentState,decoratedText:_,dir:T,key:w,entityKey:t.getEntityAt(p.get("start")),offsetKey:w}),v)}).toArray()},t.prototype.render=function(){var e=this.props,t=e.direction,n=e.offsetKey,r=p({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===t,"public/DraftStyleDefault/rtl":"RTL"===t});return a.createElement("div",{"data-offset-key":n,className:r},this._renderChildren())},t}(a.Component);e.exports=b},function(e,t,n){"use strict";function r(e,t){return!!t&&(e===t.documentElement||e===t.body)}var o={getTop:function(e){var t=e.ownerDocument;return r(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;r(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return r(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;r(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}};e.exports=o},function(e,t,n){"use strict";var r=n(2521),o=n(2522),i=n(798),a=new RegExp("\r\n","g"),s={"text/rtf":1,"text/html":1};function u(e){if("file"==e.kind)return e.getAsFile()}var c=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.data=t,this.types=t.types?o(t.types):[]}return e.prototype.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some(function(e){return s[e]})},e.prototype.getText=function(){var e;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(e=this.data.getData("text/plain")):e=this.data.getData("Text")),e?e.replace(a,"\n"):null},e.prototype.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},e.prototype.isLink=function(){return this.types.some(function(e){return-1!=e.indexOf("Url")||-1!=e.indexOf("text/uri-list")||e.indexOf("text/x-moz-url")})},e.prototype.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},e.prototype.isImage=function(){var e=this.types.some(function(e){return-1!=e.indexOf("application/x-moz-file")});if(e)return!0;for(var t=this.getFiles(),n=0;n0},e}();e.exports=c},function(e,t,n){"use strict";e.exports=function e(t){if(t instanceof Element){var n=t.getAttribute("data-offset-key");if(n)return n;for(var r=0;r0&&(n=i.childNodes.length)),0===n){var l=null;if(null!=u)l=u;else{var f=function(e){for(;e.firstChild&&(e.firstChild instanceof Element&&"true"===e.firstChild.getAttribute("data-blocks")||o(e.firstChild));)e=e.firstChild;return e}(i);l=s(o(f))}return{key:l,offset:0}}var p=i.childNodes[n-1],d=null,h=null;if(o(p)){var m=function(e){for(;e.lastChild&&(e.lastChild instanceof Element&&"true"===e.lastChild.getAttribute("data-blocks")||o(e.lastChild));)e=e.lastChild;return e}(p);d=s(o(m)),h=c(m)}else d=s(u),h=c(p);return{key:d,offset:h}}function c(e){var t=e.textContent;return"\n"===t?0:t.length}e.exports=function(e,t,n,o,a,c){var l=n.nodeType===Node.TEXT_NODE,f=a.nodeType===Node.TEXT_NODE;if(l&&f)return{selectionState:i(e,s(r(n)),o,s(r(a)),c),needsRecovery:!1};var p=null,d=null,h=!0;return l?(p={key:s(r(n)),offset:o},d=u(t,a,c)):f?(d={key:s(r(a)),offset:c},p=u(t,n,o)):(p=u(t,n,o),d=u(t,a,c),n===a&&o===c&&(h=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:i(e,p.key,p.offset,d.key,d.offset),needsRecovery:h}}},function(e,t,n){"use strict";var r="\\s|(?![_])"+n(2540).getPunctuation(),o=new RegExp("^(?:"+r+")*(?:['‘’]|(?!"+r+").)*(?:(?!"+r+").)"),i=new RegExp("(?:(?!"+r+").)(?:['‘’]|(?!"+r+").)*(?:"+r+")*$");function a(e,t){var n=t?i.exec(e):o.exec(e);return n?n[0]:e}var s={getBackward:function(e){return a(e,!0)},getForward:function(e){return a(e,!1)}};e.exports=s},function(e,t,n){"use strict";e.exports=function(e,t){var n,r=e.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),a=e.getCurrentContent(),s=o;return t>a.getBlockForKey(o).getText().length-i?(s=a.getKeyAfter(o),n=0):n=i+t,r.merge({focusKey:s,focusOffset:n})}},function(e,t,n){"use strict";var r,o=i||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:null;return{text:"\r",inlines:[_()],entities:new Array(1),blocks:[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o({},M,e)}({parent:n,key:y(),type:e,depth:Math.max(0,Math.min(4,t))})]}},q=function e(t,n,r,i,a,s,u,c,l,p){var d=D,h=n.nodeName.toLowerCase(),v=t,y="unstyled",g=!1,b=a&&U(a,i,c),E=o({},L),w=void 0;if("#text"===h){var T=n.textContent,I=T.trim();if(i&&""===I&&n.parentElement){var P=n.parentElement.nodeName.toLowerCase();if("ol"===P||"ul"===P)return{chunk:o({},L),entityMap:t}}return""===I&&"pre"!==a?{chunk:function(e){var t=new Array(1);return e&&(t[0]=e),o({},L,{text:" ",inlines:[_()],entities:t})}(l),entityMap:t}:("pre"!==a&&(T=T.replace(S," ")),D=h,{chunk:{text:T,inlines:Array(T.length).fill(r),entities:Array(T.length).fill(l),blocks:[]},entityMap:t})}if(D=h,"br"===h)return"br"!==d||a&&"unstyled"!==b?{chunk:V(),entityMap:t}:{chunk:Y("unstyled",u,p),entityMap:t};if("img"===h&&n instanceof HTMLImageElement&&n.attributes.getNamedItem("src")&&n.attributes.getNamedItem("src").value){var C=n,M={};R.forEach(function(e){var t=C.getAttribute(e);t&&(M[e]=t)}),n.textContent="📷",l=f.__create("IMAGE","MUTABLE",M||{})}r=function(e,t,n){var r=A[e];if(r)n=n.add(r).toOrderedSet();else if(t instanceof HTMLElement){var o=t;n=n.withMutations(function(e){var t=o.style.fontWeight,n=o.style.fontStyle,r=o.style.textDecoration;x.indexOf(t)>=0?e.add("BOLD"):j.indexOf(t)>=0&&e.remove("BOLD"),"italic"===n?e.add("ITALIC"):"normal"===n&&e.remove("ITALIC"),"underline"===r&&e.add("UNDERLINE"),"line-through"===r&&e.add("STRIKETHROUGH"),"none"===r&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}).toOrderedSet()}return n}(h,n,r),"ul"!==h&&"ol"!==h||(i&&(u+=1),i=h),!O&&"li"===h&&n instanceof HTMLElement&&(u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(k).some(function(n){e.classList.contains(n)&&(t=k[n])}),t}(n,u));var F=U(h,i,c),q=i&&"li"===a&&"li"===h,G=(!a||O)&&-1!==s.indexOf(h);(q||G)&&(w=(E=Y(F,u,p)).blocks[0].key,a=h,g=!O),q&&(y="ul"===i?"unordered-list-item":"ordered-list-item");var K=n.firstChild;null!=K&&(h=K.nodeName.toLowerCase());for(var W=null;K;){K instanceof HTMLAnchorElement&&K.href&&z(K)?function(){var e=K,t={};N.forEach(function(n){var r=e.getAttribute(n);r&&(t[n]=r)}),t.url=new m(e.href).toString(),W=f.__create("LINK","MUTABLE",t||{})}():W=void 0;var H=e(v,K,r,i,a,s,u,c,W||l,O?w:null),Q=H.chunk;v=H.entityMap,E=B(E,Q,O);var J=K.nextSibling;!p&&J&&s.indexOf(h)>=0&&a&&(E=B(E,V())),J&&(h=J.nodeName.toLowerCase()),K=J}return g&&(E=B(E,Y(y,u,p))),{chunk:E,entityMap:v}},G=function(e,t,n,r){e=e.trim().replace(T,"").replace(I," ").replace(P,"").replace(C,"");var i=function(e){var t=e.get("unstyled").element,n=h([]);return e.forEach(function(e){e.aliasedElements&&e.aliasedElements.forEach(function(e){n=n.add(e)}),n=n.add(e.element)}),n.filter(function(e){return e&&e!==t}).toArray().sort()}(n),a=t(e);if(!a)return null;D=null;var s=function(e,t){return t.some(function(t){return-1!==e.indexOf("<"+t)})}(e,i)?i:["div"],u=q(r,a,_(),"ul",null,s,-1,n),c=u.chunk,l=u.entityMap;return 0===c.text.indexOf("\r")&&(c={text:c.text.slice(1),inlines:c.inlines.slice(1),entities:c.entities.slice(1),blocks:c.blocks}),"\r"===c.text.slice(-1)&&(c.text=c.text.slice(0,-1),c.inlines=c.inlines.slice(0,-1),c.entities=c.entities.slice(0,-1),c.blocks.pop()),0===c.blocks.length&&c.blocks.push(o({},L,{type:"unstyled",depth:0})),c.text.split("\r").length===c.blocks.length+1&&c.blocks.unshift({type:"unstyled",depth:0}),{chunk:c,entityMap:l}};e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l,r=G(e,t,n,f);if(null==r)return null;var o=r.chunk,i=r.entityMap;return{contentBlocks:function(e){if(!e||!e.text||!Array.isArray(e.blocks))return null;var t=0,n=e.blocks,r=e.inlines,o=e.entities,i=O?c:u;return e.text.split("\r").reduce(function(e,a,u){a=E(a);var l=n[u],f=t+a.length,p=r.slice(t,f),d=o.slice(t,f),h=w(p.map(function(e,t){var n={style:e,entity:null};return d[t]&&(n.entity=d[t]),s.create(n)}));t=f+1;var m=l.depth,v=l.type,g=l.parent,b=l.key||y(),O=null;if(g){var _=e.cacheRef[g],T=e.contentBlocks[_];if(T.getChildKeys().isEmpty()&&T.getText()){var S=T.getCharacterList(),I=T.getText();O=y();var P=new c({key:O,text:I,characterList:S,parent:g,nextSibling:b});e.contentBlocks.push(P),T=T.withMutations(function(e){e.set("characterList",w()).set("text","").set("children",T.children.push(P.getKey()))})}e.contentBlocks[_]=T.set("children",T.children.push(b))}var C=new i({key:b,parent:g,type:v,depth:m,text:a,characterList:h,prevSibling:O||(0===u||n[u-1].parent!==g?null:n[u-1].key),nextSibling:u===n.length-1||n[u+1].parent!==g?null:n[u+1].key});return e.contentBlocks.push(C),e.cacheRef[C.key]=u,e},{cacheRef:{},contentBlocks:[]}).contentBlocks}(o),entityMap:i}}},function(e,t,n){"use strict";var r=n(500),o=n(99),i=r.isBrowser("IE <= 9");e.exports=function(e){var t,n=null;return!i&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||o(!1),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n}},function(e,t,n){"use strict";var r=n(326),o=n(140),i=(n(828),n(2552)),a=n(456),s={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some(function(e){var t=e.getEntity();return!!t&&"LINK"===r.__get(t).getType()})},getCurrentBlockType:function(e){var t=e.getSelection();return e.getCurrentContent().getBlockForKey(t.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,t){switch(t){case"bold":return s.toggleInlineStyle(e,"BOLD");case"italic":return s.toggleInlineStyle(e,"ITALIC");case"underline":return s.toggleInlineStyle(e,"UNDERLINE");case"code":return s.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=r.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=o.push(e,t,"insert-characters");return o.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),r=t.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var a=n.getBlockMap().delete(i.getKey()),u=n.merge({blockMap:a,selectionAfter:t});if(u!==n)return o.push(e,u,"remove-range")}var c=s.tryToRemoveBlockStyle(e);return c?o.push(e,c,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),i=t.getStartKey(),a=n.getBlockForKey(i).getLength();if(t.getStartOffset()0&&a!==s)return null;var u=a.getType(),c=i.getBlockBefore(o);if("code-block"===u&&c&&"code-block"===c.getType()&&0!==c.getLength())return null;if("unstyled"!==u)return r.setBlockType(i,t,"unstyled")}return null}};e.exports=s},function(e,t,n){"use strict";var r=n(1297),o=n(1292),i=n(500),a=i.isPlatform("Mac OS X"),s=i.isPlatform("Windows"),u=a&&i.isBrowser("Firefox < 29"),c=r.hasCommandModifier,l=r.isCtrlKeyCommand;function f(e){return a&&e.altKey||l(e)}e.exports=function(e){switch(e.keyCode){case 66:return c(e)?"bold":null;case 68:return l(e)?"delete":null;case 72:return l(e)?"backspace":null;case 73:return c(e)?"italic":null;case 74:return c(e)?"code":null;case 75:return!s&&l(e)?"secondary-cut":null;case 77:case 79:return l(e)?"split-block":null;case 84:return a&&l(e)?"transpose-characters":null;case 85:return c(e)?"underline":null;case 87:return a&&l(e)?"backspace-word":null;case 89:return l(e)?s?"redo":"secondary-paste":null;case 90:return function(e){return c(e)?e.shiftKey?"redo":"undo":null}(e)||null;case o.RETURN:return"split-block";case o.DELETE:return function(e){return s&&e.shiftKey?null:f(e)?"delete-word":"delete"}(e);case o.BACKSPACE:return function(e){return c(e)&&a?"backspace-to-start-of-line":f(e)?"backspace-word":"backspace"}(e);case o.LEFT:return u&&c(e)?"move-selection-to-start-of-block":null;case o.RIGHT:return u&&c(e)?"move-selection-to-end-of-block":null;default:return null}}},function(e,t,n){"use strict";var r={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}};e.exports=r},function(e,t,n){"use strict";t.a=function(e){var t=e.actionButton,n=e.institution,r=e.name,o=e.picture,s=e.reputation;return i.a.createElement(a.MediaObject,{className:"project-collaborator-person",verticalAlign:"top",gutter:"l"},i.a.createElement(a.MediaObject.Item,{width:"full"},i.a.createElement(a.Text,{size:"l",spacing:"auto",className:"project-collaborator-name"},r),i.a.createElement(a.Text,{className:"project-collaborator-institution",spacing:"none",size:"m"},"Institution"),i.a.createElement(a.Text,{size:"m",spacing:"auto"},n),t),i.a.createElement(a.MediaObject.Item,{className:"project-collaborator-person-right-side"},o,s))};var r=n(1),o=(n.n(r),n(0)),i=n.n(o),a=n(2)},function(e,t,n){var r=n(1221),o=n(145),i=n(354),a=Math.max,s=Math.min;e.exports=function(e,t,n){var u=null==e?0:e.length;if(!u)return-1;var c=u-1;return void 0!==n&&(c=i(n),c=n<0?a(u+c,0):s(c,u-1)),r(e,o(t,3),c,!0)}},function(e,t,n){"use strict";var r=o;function o(e){if(e)return function(e){for(var t in o.prototype)o.prototype.hasOwnProperty(t)&&(e[t]=o.prototype[t]);return e}(e)}o.prototype.on=o.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},o.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},o.prototype.off=o.prototype.removeListener=o.prototype.removeAllListeners=o.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0===arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1===arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o=e)return this._from=this._to,this._update(this._to),this._done=!0,this.emit("end"),this;var n=this._from,r=this._to,o=this._curr,i=(0,this._ease)((t-this._start)/e);if(this.isArray){for(var a=0;a1){if("number"==typeof(i=e({path:"/"},r.defaults,i)).expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*i.expires),i.expires=s}i.expires=i.expires?i.expires.toUTCString():"";try{a=JSON.stringify(o),/^[\{\[]/.test(a)&&(o=a)}catch(e){}o=n.write?n.write(o,t):encodeURIComponent(String(o)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=(t=(t=encodeURIComponent(String(t))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var u="";for(var c in i)i[c]&&(u+="; "+c,!0!==i[c]&&(u+="="+i[c]));return document.cookie=t+"="+o+u}t||(a={});for(var l=document.cookie?document.cookie.split("; "):[],f=/(%[0-9A-Z]{2})+/g,p=0;p=s'"],mUp:["'screen'","'>=m'"],lUp:["'screen'","'>=l'"],xlUp:["'screen'","'>=xl'"],sOnly:["'screen'","'=m'","'=l'","'=xl'","'-1}},function(e,t,n){var r=n(1059);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(1058);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(1058),o=n(1193),i=n(1194),a=200;e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!o||s.lengthx.length&&x.push(e)}function k(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var i=!1;if(null===e)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case u:case c:i=!0}}if(i)return n(r,e,""===t?"."+N(e,0):t),1;if(i=0,t=""===t?".":t+":",Array.isArray(e))for(var a=0;athis.eventPool.length&&this.eventPool.push(e)}function de(e){e.eventPool=[],e.getPooled=fe,e.release=pe}a(le.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=s.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=s.thatReturnsTrue)},persist:function(){this.isPersistent=s.thatReturnsTrue},isPersistent:s.thatReturnsFalse,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;for(t=0;t=ge),Oe=String.fromCharCode(32),we={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"topBlur topCompositionEnd topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"topBlur topCompositionStart topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"topBlur topCompositionUpdate topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")}},_e=!1;function Te(e,t){switch(e){case"topKeyUp":return-1!==ve.indexOf(t.keyCode);case"topKeyDown":return 229!==t.keyCode;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function Se(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Ie=!1;var Pe={eventTypes:we,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(ye)e:{switch(e){case"topCompositionStart":o=we.compositionStart;break e;case"topCompositionEnd":o=we.compositionEnd;break e;case"topCompositionUpdate":o=we.compositionUpdate;break e}o=void 0}else Ie?Te(e,n)&&(o=we.compositionEnd):"topKeyDown"===e&&229===n.keyCode&&(o=we.compositionStart);return o?(Ee&&(Ie||o!==we.compositionStart?o===we.compositionEnd&&Ie&&(i=ae()):(ie._root=r,ie._startText=se(),Ie=!0)),o=he.getPooled(o,t,n,r),i?o.data=i:null!==(i=Se(n))&&(o.data=i),ee(o),i=o):i=null,(e=be?function(e,t){switch(e){case"topCompositionEnd":return Se(t);case"topKeyPress":return 32!==t.which?null:(_e=!0,Oe);case"topTextInput":return(e=t.data)===Oe&&_e?null:e;default:return null}}(e,n):function(e,t){if(Ie)return"topCompositionEnd"===e||!ye&&Te(e,t)?(e=ae(),ie._root=null,ie._startText=null,ie._fallbackText=null,Ie=!1,e):null;switch(e){case"topPaste":return null;case"topKeyPress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1