Jetpack by WordPress.com - Version 4.4.1

Version Description

  • Release date: November 22, 2016

Bug Fixes

  • Fixed an issue where some users with slower servers would get an error on the Jetpack dashboard when WP_DEBUG was enabled.
  • Fixed an issue where users on a Jetpack Professional plan who were paying monthly (as opposed to annually) wouldnt be able to enable SEO Tools.
Download this release

Release Info

Developer zinigor
Plugin Icon 128x128 Jetpack by WordPress.com
Version 4.4.1
Comparing to
See all releases

Code changes from version 4.4 to 4.4.1

_inc/build/admin.js CHANGED
@@ -25,11 +25,11 @@ displayName:"JetpackConnect",render:function(){var e=this.props.connectUrl+"&fro
25
  args:{numberOfViews:(0,E.numberFormat)(s)}}),className:"tooltip class"},{label:(0,E.translate)("Click to view detailed stats.")}]})}),n)},statsErrors:function(){return(0,f.default)(this.props.statsData,["general","errors"],!1)},renderStatsArea:function(){if(this.props.isModuleActivated("stats")){var e=this.statsErrors();if(e)return(0,d.default)(e,function(e){console.log(e)}),u.default.createElement("div",{className:"jp-at-a-glance__stats-inactive"},u.default.createElement("span",null,(0,E.translate)("Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}",{components:{a:u.default.createElement("a",{href:"https://wordpress.com/stats/insights/"+this.props.siteRawUrl})}})));var t=this.statsChart(this.props.activeTab());return u.default.createElement("div",{className:"jp-at-a-glance__stats-container"},u.default.createElement("div",{className:"jp-at-a-glance__stats-chart"},u.default.createElement(_.default,{data:t,barClick:this.barClick}),0<t.length?"":u.default.createElement(L.default,null)),u.default.createElement("div",{id:"stats-bottom",className:"jp-at-a-glance__stats-bottom"},u.default.createElement(j.default,{statsData:this.props.statsData,siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl})))}return u.default.createElement("div",{className:"jp-at-a-glance__stats-inactive"},u.default.createElement("div",{className:"jp-at-a-glance__stats-inactive-icon"},u.default.createElement("img",{src:O.imagePath+"stats.svg",width:"60",height:"60",alt:(0,E.translate)("Jetpack Stats Icon"),className:"jp-at-a-glance__stats-icon"})),u.default.createElement("div",{className:"jp-at-a-glance__stats-inactive-text"},this.props.isDevMode?(0,E.translate)("Unavailable in Dev Mode"):(0,E.translate)("{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}",{components:{a:u.default.createElement("a",{href:"javascript:void(0)",onClick:this.props.activateStats}),a1:u.default.createElement("a",{href:"https://jetpack.com/support/wordpress-com-stats/",target:"_blank"})}})),this.props.isDevMode?"":u.default.createElement("div",{className:"jp-at-a-glance__stats-inactive-button"},u.default.createElement(A.default,{onClick:this.props.activateStats,primary:!0},(0,E.translate)("Activate Site Stats"))))},maybeShowStatsTabs:function(){if(this.props.isModuleActivated("stats")&&!this.statsErrors())return u.default.createElement("ul",{className:"jp-at-a-glance__stats-views"},u.default.createElement("li",{tabIndex:"0",className:"jp-at-a-glance__stats-view"},u.default.createElement("a",{href:"javascript:void(0)",onClick:this.handleSwitchStatsView.bind(this,"day"),className:this.getClass("day")},(0,E.translate)("Days"))),u.default.createElement("li",{tabIndex:"0",className:"jp-at-a-glance__stats-view"},u.default.createElement("a",{href:"javascript:void(0)",onClick:this.handleSwitchStatsView.bind(this,"week"),className:this.getClass("week")},(0,E.translate)("Weeks"))),u.default.createElement("li",{tabIndex:"0",className:"jp-at-a-glance__stats-view"},u.default.createElement("a",{href:"javascript:void(0)",onClick:this.handleSwitchStatsView.bind(this,"month"),className:this.getClass("month")},(0,E.translate)("Months"))))},handleSwitchStatsView:function(e){z.default.tracks.recordEvent("jetpack_wpa_aag_stats_switch_view",{view:e}),this.props.switchView(e),this.props.fetchStatsData(e)},getClass:function(e){return this.props.activeTab()===e?"jp-at-a-glance__stats-view-link is-current":"jp-at-a-glance__stats-view-link"},render:function(){var e=(0,o.default)(this.props.moduleList);if(!(0,k.default)(e,"stats"))return null;var t=this.props.activeTab();return u.default.createElement("div",null,u.default.createElement(P.default,{range:t}),u.default.createElement(b.default,{label:(0,E.translate)("Site Stats")},this.maybeShowStatsTabs()),u.default.createElement(m.default,{className:"jp-at-a-glance__stats-card "+(this.props.isDevMode?"is-inactive":"")},this.renderStatsArea()))}});q.propTypes={isDevMode:u.default.PropTypes.bool.isRequired,siteRawUrl:u.default.PropTypes.string.isRequired,siteAdminUrl:u.default.PropTypes.string.isRequired,statsData:u.default.PropTypes.any.isRequired},t.default=(0,v.connect)(function(e){return{isModuleActivated:function(t){return(0,Y.isModuleActivated)(e,t)},moduleList:(0,Y.getModules)(e),isFetchingModules:function(){return(0,Y.isFetchingModulesList)(e)},activeTab:function(){return(0,W.getActiveStatsTab)(e)},isDevMode:(0,N.isDevMode)(e),statsData:"N/A"!==(0,W.getStatsData)(e)?(0,W.getStatsData)(e):(0,C.getInitialStateStatsData)(e)}},function(e){return{activateStats:function(){return e((0,Y.activateModule)("stats"))},switchView:function(t){return e((0,W.statsSwitchTab)(t))},fetchStatsData:function(t){return e((0,W.fetchStatsData)(t))}}})(q),e.exports=t.default},function(e,t,n){"use strict";var r=n(142),a=n(806),o=n(866),i=n(867),s=n(909);n(910),e.exports=r.createClass({displayName:"ModuleChart",propTypes:{loading:r.PropTypes.bool,data:r.PropTypes.array,minTouchBarWidth:r.PropTypes.number,minBarWidth:r.PropTypes.number,barClick:r.PropTypes.func},getInitialState:function(){return{maxBars:100,width:650}},getDefaultProps:function(){return{minTouchBarWidth:42,minBarWidth:15,barClick:a}},componentDidMount:function(){this.resize=o(this.resize,400),window.addEventListener("resize",this.resize),this.resize()},componentWillUnmount:function(){window.removeEventListener("resize",this.resize)},componentWillReceiveProps:function(e){this.props.loading&&!e.loading&&this.resize()},resize:function(){if(this.isMounted()){var e,t=this.refs.chart,n=t.clientWidth-82;s.hasTouch()?(n=n<=0?350:n,e=Math.floor(n/this.props.minTouchBarWidth)):e=Math.floor(n/this.props.minBarWidth),this.setState({maxBars:e,width:n})}},getYAxisMax:function(e){var t=Math.max.apply(null,e),n=Math.pow(10,t.toString().length-1),r=Math.ceil((t+1)/n)*n;return r<10&&(r=10),r},getData:function(){var e=this.props.data;return e=e.slice(0-this.state.maxBars)},getValues:function(){var e=this.getData();return e=e.map(function(e){return e.value},this)},isEmptyChart:function(e){return e=e.filter(function(e){return e>0},this),0===e.length},render:function(){var e,t=this.getValues(),n=this.getYAxisMax(t),a=this.getData();return t.length&&this.isEmptyChart(t)&&(e=r.createElement("div",{className:"dops-chart__empty"},r.createElement("span",{className:"dops-chart__empty_notice"},"No activity this period"))),r.createElement("div",{ref:"chart",className:"dops-chart"},r.createElement("div",{className:"dops-chart__y-axis-markers"},r.createElement("div",{className:"dops-chart__y-axis-marker is-hundred"}),r.createElement("div",{className:"dops-chart__y-axis-marker is-fifty"}),r.createElement("div",{className:"dops-chart__y-axis-marker is-zero"})),r.createElement("div",{className:"dops-chart__y-axis"},r.createElement("div",{className:"dops-chart__y-axis-width-fix"},new Number(1e5).toLocaleString()),r.createElement("div",{className:"dops-chart__y-axis-label is-hundred"},n.toLocaleString()),r.createElement("div",{className:"dops-chart__y-axis-label is-fifty"},(n/2).toLocaleString()),r.createElement("div",{className:"dops-chart__y-axis-label is-zero"},0)),r.createElement(i,{barClick:this.props.barClick,data:a,yAxisMax:n,chartWidth:this.state.width,isTouch:s.hasTouch()}),e)}})},function(e,t,n){function r(e,t,n){var r=!0,s=!0;if("function"!=typeof e)throw new TypeError(i);return o(n)&&(r="leading"in n?!!n.leading:r,s="trailing"in n?!!n.trailing:s),a(e,t,{leading:r,maxWait:t,trailing:s})}var a=n(749),o=n(668),i="Expected a function";e.exports=r},function(e,t,n){"use strict";var r=n(142),a=n(868),o=n(907);e.exports=r.createClass({displayName:"ModuleChartBarContainer",propTypes:{isTouch:r.PropTypes.bool,data:r.PropTypes.array,yAxisMax:r.PropTypes.number,width:r.PropTypes.number,barClick:r.PropTypes.func},buildBars:function(e){var t,n=this.props.data.length,o="bottom right",i=this.props.chartWidth,s=i/n;return t=this.props.data.map(function(t,c){var u=s*(c+1);return u+230>i&&u+s-230>0&&(o="bottom left"),r.createElement(a,{index:c,key:c,isTouch:this.props.isTouch,tooltipPosition:o,className:t.className,clickHandler:this.props.barClick,data:t,max:e,count:n})},this)},render:function(){return r.createElement("div",null,r.createElement("div",{className:"dops-chart__bars"},this.buildBars(this.props.yAxisMax)),r.createElement(o,{data:this.props.data,labelWidth:42}))}})},function(e,t,n){"use strict";var r=n(142),a=n(747),o=(n(806),n(869),n(904)),i=n(810);e.exports=r.createClass({displayName:"ModuleChartBar",propTypes:{isTouch:r.PropTypes.bool,tooltipPosition:r.PropTypes.string,className:r.PropTypes.string,clickHandler:r.PropTypes.func,data:r.PropTypes.object.isRequired,max:r.PropTypes.number,count:r.PropTypes.number},getInitialState:function(){return{showPopover:!1}},buildSections:function(){var e,t,n,o,i,s=this.props.data.value,c=this.props.max,u=c?Math.ceil(s/c*1e4)/100:0,l=100-u,d=Math.max(1,Math.floor(l)),p=[],f=this.props.data.nestedValue,h={"dops-chart__bar-section":!0,"is-spacer":!0,"is-ghost":100===l&&!this.props.active};return e={height:d+"%"},p.push(r.createElement("div",{key:"spacer",className:a(h),style:e})),t={top:d+"%"},f&&(o=s?Math.ceil(f/s*1e4)/100:0,i={height:o+"%"},n=r.createElement("div",{key:"nestedValue",className:"dops-chart__bar-section-inner",style:i})),p.push(r.createElement("div",{ref:"valueBar",key:"value",className:"dops-chart__bar-section is-bar",style:t},n)),p.push(r.createElement("div",{key:"label",className:"dops-chart__bar-label"},this.props.label)),p},clickHandler:function(){"function"==typeof this.props.clickHandler&&this.props.clickHandler(this.props.data)},mouseEnter:function(){this.setState({showPopover:!0})},mouseLeave:function(){this.setState({showPopover:!1})},renderTooltip:function(){if(!this.props.data.tooltipData||!this.props.data.tooltipData.length||this.props.isTouch)return null;var e=this.props.data.tooltipData,t=e.map(function(e,t){var n,a=["module-content-list-item"];return e.icon&&(n=r.createElement(i,{icon:e.icon,size:18})),a.push(e.className),r.createElement("li",{key:t,className:a.join(" ")},r.createElement("span",{className:"dops-wrapper"},r.createElement("span",{className:"value"},e.value),r.createElement("span",{className:"label"},n,e.label)))});return r.createElement(o,{className:"dops-chart__tooltip",id:"popover__chart-bar",showDelay:200,context:this.refs&&this.refs.valueBar,isVisible:this.state.showPopover,position:this.props.tooltipPosition},r.createElement("ul",null,t))},render:function(){var e,t,n=this.props.count||1;return t={"dops-chart__bar":!0},this.props.className&&(t[this.props.className]=!0),e={width:1/n*100+"%"},r.createElement("div",{onClick:this.clickHandler,onMouseEnter:this.mouseEnter,onMouseLeave:this.mouseLeave,className:a(t),style:e},this.buildSections(),r.createElement("div",{className:"dops-chart__bar-marker is-hundred"}),r.createElement("div",{className:"dops-chart__bar-marker is-fifty"}),r.createElement("div",{className:"dops-chart__bar-marker is-zero"}),this.renderTooltip())}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(142),u=r(c),l=n(1),d=r(l),p=n(468),f=r(p),h=n(747),m=r(h),M=n(870),_=r(M),v=n(875),g=r(v),b=n(657),y=r(b),A=n(898),T=r(A),L=n(899);n(902);var E=function(){},w=(0,f.default)("calypso:popover"),z=new Set,S=function(e){function t(e){a(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setPopoverId(e.id),n.setDOMBehavior=n.setDOMBehavior.bind(n),n.setPosition=n.setPosition.bind(n),n.onClickout=n.onClickout.bind(n),n.onKeydown=n.onKeydown.bind(n),n.onWindowChange=n.onWindowChange.bind(n),n.state={show:e.isVisible,left:-99999,top:-99999,positionClass:n.getPositionClass(e.position)},n}return i(t,e),s(t,[{key:"componentDidMount",value:function(){this.bindEscKeyListener(),this.bindDebouncedReposition(),(0,L.bindWindowListeners)()}},{key:"componentWillReceiveProps",value:function(e){return(0,L.isElement)(e.context)?this.domContext=e.context:this.domContext=d.default.findDOMNode(e.context),e.isVisible?void this.setPosition():null}},{key:"componentDidUpdate",value:function(e){var t=this.props.isVisible;return t!==e.isVisible&&(t?this.show():this.hide()),this.domContainer&&this.domContext&&t&&t!==e.isVisible?(this.debug("Update position after inject DOM"),void this.setPosition()):null}},{key:"componentWillUnmount",value:function(){this.debug("unmounting .... "),this.unbindClickoutHandler(),this.unbindDebouncedReposition(),this.unbindEscKeyListener(),(0,L.unbindWindowListeners)(),z.delete(this.id),w("current popover instances: ",z.size)}},{key:"bindEscKeyListener",value:function(){return this.props.closeOnEsc?this.escEventHandlerAdded?null:(this.debug("adding escKey listener ..."),this.escEventHandlerAdded=!0,void document.addEventListener("keydown",this.onKeydown,!0)):null}},{key:"unbindEscKeyListener",value:function(){return this.props.closeOnEsc&&this.escEventHandlerAdded?(this.debug("unbinding `escKey` listener ..."),void document.removeEventListener("keydown",this.onKeydown,!0)):null}},{key:"onKeydown",value:function(e){return 27!==e.keyCode?null:void this.close(!0)}},{key:"bindClickoutHandler",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.domContainer;return e?this._clickoutHandlerReference?(this.debug("clickout event already bound"),null):(this.debug("binding `clickout` event"),void(this._clickoutHandlerReference=(0,_.default)(e,this.onClickout))):(this.debug("no element to bind clickout side "),null)}},{key:"unbindClickoutHandler",value:function(){this._clickoutHandlerReference&&(this.debug("unbinding `clickout` listener ..."),this._clickoutHandlerReference(),this._clickoutHandlerReference=null)}},{key:"onClickout",value:function(e){var t=this.domContext&&this.domContext.contains&&!this.domContext.contains(e.target);if(this.props.ignoreContext&&t){var n=d.default.findDOMNode(this.props.ignoreContext);t=t&&n&&n.contains&&!n.contains(e.target)}t&&this.close()}},{key:"bindDebouncedReposition",value:function(){window.addEventListener("scroll",this.onWindowChange,!0),window.addEventListener("resize",this.onWindowChange,!0)}},{key:"unbindDebouncedReposition",value:function(){this.willReposition&&(window.cancelAnimationFrame(this.willReposition),this.willReposition=null),window.removeEventListener("scroll",this.onWindowChange,!0),window.removeEventListener("resize",this.onWindowChange,!0),this.debug("unbinding `debounce reposition` ...")}},{key:"onWindowChange",value:function(){this.willReposition=window.requestAnimationFrame(this.setPosition)}},{key:"setDOMBehavior",value:function(e){return e?(this.debug("setting DOM behavior"),this.bindClickoutHandler(e),this.domContainer=e,(0,L.isElement)(this.props.context)?this.domContext=this.props.context:this.domContext=d.default.findDOMNode(this.props.context),void this.setPosition()):(this.unbindClickoutHandler(),null)}},{key:"getPositionClass",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.position;return"is-"+e.replace(/\s+/g,"-")}},{key:"computePosition",value:function(){if(!this.props.isVisible)return null;var e=this.domContainer,t=this.domContext,n=this.props.position;if(!e||!t)return this.debug("[WARN] no DOM elements to work"),null;var r=n;this.debug("position: %o",n),this.props.autoPosition&&(r=(0,L.suggested)(n,e,t),this.debug("suggested position: %o",r));var a=(0,y.default)({},(0,L.constrainLeft)((0,L.offset)(r,e,t),e),{positionClass:this.getPositionClass(r)});return this.debug("updating reposition: ",a),a}},{key:"debug",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];w.apply(void 0,["[%s] "+e,this.id].concat(n))}},{key:"setPopoverId",value:function(e){this.id=e||"pop__"+(0,g.default)(16),z.add(this.id),this.debug("creating ..."),w("current popover instances: ",z.size)}},{key:"setPosition",value:function(){var e=this.computePosition();return e?(this.willReposition=null,void this.setState(e)):null}},{key:"getStylePosition",value:function(){var e=this.state,t=e.left,n=e.top;return{left:t,top:n}}},{key:"show",value:function(){var e=this;return this.props.showDelay?(this.debug("showing in %o",this.props.showDelay+"ms"),this.clearShowTimer(),void(this._openDelayTimer=setTimeout(function(){e.setState({show:!0})},this.props.showDelay))):(this.setState({show:!0}),null)}},{key:"hide",value:function(){this.unbindClickoutHandler(),this.setState({show:!1}),this.clearShowTimer()}},{key:"clearShowTimer",value:function(){return this._openDelayTimer?(clearTimeout(this._openDelayTimer),void(this._openDelayTimer=null)):null}},{key:"close",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.props.isVisible?void this.props.onClose(e):(this.debug("popover should be already closed"),null)}},{key:"render",value:function(){if(!this.state.show)return this.debug("is hidden. return no render"),null;if(!this.props.context)return this.debug("No `context` to tie. return no render"),null;var e=(0,m.default)("dops-popover",this.props.className,this.state.positionClass);return this.debug("rendering ..."),u.default.createElement(T.default,{className:this.props.rootClassName},u.default.createElement("div",{style:this.getStylePosition(),className:e,ref:this.setDOMBehavior},u.default.createElement("div",{className:"dops-popover__arrow"}),u.default.createElement("div",{className:"dops-popover__inner"},this.props.children)))}}]),t}(c.Component);S.propTypes={autoPosition:c.PropTypes.bool,className:c.PropTypes.string,closeOnEsc:c.PropTypes.bool,id:c.PropTypes.string,ignoreContext:c.PropTypes.shape({getDOMNode:u.default.PropTypes.function}),position:c.PropTypes.string,rootClassName:c.PropTypes.string,showDelay:c.PropTypes.number,onClose:c.PropTypes.func.isRequired,onShow:c.PropTypes.func},S.defaultProps={autoPosition:!0,className:"dops-popover",closeOnEsc:!0,isVisible:!1,position:"top",showDelay:0,onShow:E},t.default=S,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return l.set(e,t),function(){l.delete(e)}}function a(e){l.forEach(function(t,n){u(n,e.target)||t.call(n,e)})}function o(e){e||(e=document),c.bind(e,"click",a)}var i=n(871).default,s=n(872).default,c=s(n(873)),u=s(n(874));t=e.exports=r,t.globalClick=a,t.install=o;var l=new i.Map;"undefined"!=typeof document&&t.install(document)},function(e,t){!function(t,n,r){"use strict";function a(e){return null!==e&&("object"==typeof e||"function"==typeof e)}function o(e){return"function"==typeof e}function i(e,t,n){e&&!vt(e=n?e:e[ge],Bt)&&xt(e,Bt,t)}function s(e){return it.call(e).slice(8,-1)}function c(e){var t,n;return e==r?e===r?"Undefined":"Null":"string"==typeof(n=(t=Ne(e))[Bt])?n:s(t)}function u(){for(var e=N(this),t=arguments.length,n=Ce(t),r=0,a=Ut._,o=!1;t>r;)(n[r]=arguments[r++])===a&&(o=!0);return function(){var r,i=this,s=arguments.length,c=0,u=0;if(!o&&!s)return d(e,n,i);if(r=n.slice(),o)for(;t>c;c++)r[c]===a&&(r[c]=arguments[u++]);for(;s>u;)r.push(arguments[u++]);return d(e,r,i)}}function l(e,t,n){if(N(e),~n&&t===r)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,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}function d(e,t,n){var a=n===r;switch(0|t.length){case 0:return a?e():e.call(n);case 1:return a?e(t[0]):e.call(n,t[0]);case 2:return a?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return a?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return a?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3]);case 5:return a?e(t[0],t[1],t[2],t[3],t[4]):e.call(n,t[0],t[1],t[2],t[3],t[4])}return e.apply(n,t)}function p(e){return gt(O(e))}function f(e){return e}function h(){return this}function m(e,t){if(vt(e,t))return e[t]}function M(e){return C(e),Mt?mt(e).concat(Mt(e)):mt(e)}function _(e,t){for(var n,r=p(e),a=ht(r),o=a.length,i=0;o>i;)if(r[n=a[i++]]===t)return n}function v(e){return De(e).split(",")}function g(e){var t=1==e,n=2==e,a=3==e,o=4==e,i=6==e,s=5==e||i;return function(c){for(var u,d,p=Ne(O(this)),f=arguments[1],h=gt(p),m=l(c,f,3),M=L(h.length),_=0,v=t?Ce(M):n?[]:r;M>_;_++)if((s||_ in h)&&(u=h[_],d=m(u,_,p),e))if(t)v[_]=d;else if(d)switch(e){case 3:return!0;case 5:return u;case 6:return _;case 2:v.push(u)}else if(o)return!1;return i?-1:a||o?o:v}}function b(e){return function(t){var n=p(this),r=L(n.length),a=E(arguments[1],r);if(e&&t!=t){for(;r>a;a++)if(A(n[a]))return e||a}else for(;r>a;a++)if((e||a in n)&&n[a]===t)return e||a;return!e&&-1}}function y(e,t){return"function"==typeof e?e:t}function A(e){return e!=e}function T(e){return isNaN(e)?0:Nt(e)}function L(e){return e>0?kt(T(e),Tt):0}function E(e,t){var e=T(e);return e<0?St(e+t,0):kt(e,t)}function w(e){return e>9?e:"0"+e}function z(e,t,n){var r=a(t)?function(e){return t[e]}:t;return function(t){return De(n?t:this).replace(e,r)}}function S(e){return function(t){var n,a,o=De(O(this)),i=T(t),s=o.length;return i<0||i>=s?e?"":r:(n=o.charCodeAt(i),n<55296||n>56319||i+1===s||(a=o.charCodeAt(i+1))<56320||a>57343?e?o.charAt(i):n:e?o.slice(i,i+2):(n-55296<<10)+(a-56320)+65536)}}function k(e,t,n){if(!e)throw Re(n?t+n:t)}function O(e){if(e==r)throw Re("Function called on null or undefined");return e}function N(e){return k(o(e),e," is not a function!"),e}function C(e){return k(a(e),e," is not an object!"),e}function D(e,t,n){k(e instanceof t,n,": use the 'new' operator!")}function P(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}function x(e,t,n){return e[t]=n,e}function j(e){return Dt?function(t,n,r){return pt(t,n,P(e,r))}:x}function W(e){return me+"("+e+")_"+(++Pt+Ot())[ye](36)}function Y(e,t){return qe&&qe[e]||(t?qe:Wt)(me+at+e)}function q(e,t){for(var n in t)xt(e,n,t[n]);return e}function B(e){!Dt||!n&&ot(e)||pt(e,Rt,{configurable:!0,get:h})}function R(e,r,a){var i,s,c,u,d=e&Vt,p=d?t:e&Jt?t[r]:(t[r]||tt)[ge],f=d?It:It[r]||(It[r]={});d&&(a=r);for(i in a)s=!(e&Xt)&&p&&i in p&&(!o(p[i])||ot(p[i])),c=(s?p:a)[i],n||!d||o(p[i])?e&Gt&&s?u=l(c,t):e&Qt&&!n&&p[i]==c?(u=function(e){return this instanceof c?new c(e):c(e)},u[ge]=c[ge]):u=e&Kt&&o(c)?l(st,c):c:u=a[i],n&&p&&!s&&(d?p[i]=c:delete p[i]&&xt(p,i,c)),f[i]!=c&&xt(f,i,u)}function H(e,t){xt(e,ne,t),ze in et&&xt(e,ze,t)}function I(e,t,n,r){e[ge]=ut(r||nn,{next:P(1,n)}),i(e,t+" Iterator")}function U(e,t,r,a){var o=e[ge],s=m(o,ne)||m(o,ze)||a&&m(o,a)||r;if(n&&(H(o,s),s!==r)){var c=lt(s.call(new e));i(c,t+" Iterator",!0),vt(o,ze)&&H(c,h)}return tn[t]=s,tn[t+" Iterator"]=h,s}function F(e,t,n,r,a,o){function i(e){return function(){return new n(this,e)}}I(n,t,r);var s=i(Zt+en),c=i(en);a==en?c=U(e,t,c,"values"):s=U(e,t,s,"entries"),a&&R(Kt+Xt*rn,t,{entries:s,keys:o?c:i(Zt),values:c})}function X(e,t){return{value:t,done:!!e}}function V(e){var n=Ne(e),r=t[me],a=(r&&r[we]||ze)in n;return a||ne in n||vt(tn,c(n))}function J(e){var n=t[me],r=e[n&&n[we]||ze],a=r||e[ne]||tn[c(e)];return C(a.call(e))}function K(e,t,n){return n?d(e,t):e(t)}function G(e){var t=!0,n={next:function(){throw 1},return:function(){t=!1}};n[ne]=h;try{e(n)}catch(e){}return t}function Q(e){var t=e.return;t!==r&&t.call(e)}function $(e,t){try{e(t)}catch(e){throw Q(t),e}}function Z(e,t,n,r){$(function(e){for(var a,o=l(n,r,t?2:1);!(a=e.next()).done;)if(K(o,a.value,t)===!1)return Q(e)},J(e))}var ee,te,ne,re,ae="Object",oe="Function",ie="Array",se="String",ce="Number",ue="RegExp",le="Date",de="Map",pe="Set",fe="WeakMap",he="WeakSet",me="Symbol",Me="Promise",_e="Math",ve="Arguments",ge="prototype",be="constructor",ye="toString",Ae=ye+"Tag",Te="toLocaleString",Le="hasOwnProperty",Ee="forEach",we="iterator",ze="@@"+we,Se="process",ke="createElement",Oe=t[oe],Ne=t[ae],Ce=t[ie],De=t[se],Pe=t[ce],xe=(t[ue],t[le],t[de]),je=t[pe],We=t[fe],Ye=t[he],qe=t[me],Be=t[_e],Re=t.TypeError,He=t.RangeError,Ie=t.setTimeout,Ue=t.setImmediate,Fe=t.clearImmediate,Xe=t.parseInt,Ve=t.isFinite,Je=t[Se],Ke=Je&&Je.nextTick,Ge=t.document,Qe=Ge&&Ge.documentElement,$e=(t.navigator,t.define),Ze=t.console||{},et=Ce[ge],tt=Ne[ge],nt=Oe[ge],rt=1/0,at=".",ot=l(/./.test,/\[native code\]\s*\}\s*$/,1),it=tt[ye],st=nt.call,ct=nt.apply,ut=Ne.create,lt=Ne.getPrototypeOf,dt=Ne.setPrototypeOf,pt=Ne.defineProperty,ft=(Ne.defineProperties,Ne.getOwnPropertyDescriptor),ht=Ne.keys,mt=Ne.getOwnPropertyNames,Mt=Ne.getOwnPropertySymbols,_t=Ne.isFrozen,vt=l(st,tt[Le],2),gt=Ne,bt=Ne.assign||function(e,t){for(var n=Ne(O(e)),r=arguments.length,a=1;r>a;)for(var o,i=gt(arguments[a++]),s=ht(i),c=s.length,u=0;c>u;)n[o=s[u++]]=i[o];return n},yt=et.push,At=(et.unshift,et.slice,et.splice,et.indexOf,et[Ee]),Tt=9007199254740991,Lt=Be.pow,Et=Be.abs,wt=Be.ceil,zt=Be.floor,St=Be.max,kt=Be.min,Ot=Be.random,Nt=Be.trunc||function(e){return(e>0?zt:wt)(e)},Ct="Reduce of empty object with no initial value",Dt=!!function(){try{return 2==pt({},"a",{get:function(){return 2}}).a}catch(e){}}(),Pt=0,xt=j(1),jt=qe?x:xt,Wt=qe||W,Yt=Y("unscopables"),qt=et[Yt]||{},Bt=Y(Ae),Rt=Y("species"),Ht=s(Je)==Se,It={},Ut=n?t:It,Ft=t.core,Xt=1,Vt=2,Jt=4,Kt=8,Gt=16,Qt=32;"undefined"!=typeof e&&e.exports?e.exports=It:o($e)&&$e.amd?$e(function(){return It}):re=!0,(re||n)&&(It.noConflict=function(){return t.core=Ft,It},t.core=It),ne=Y(we);var $t=Wt("iter"),Zt=1,en=2,tn={},nn={},rn="keys"in et&&!("next"in[].keys());H(nn,h),!function(e,n,r,a){ot(qe)||(qe=function(t){k(!(this instanceof qe),me+" is not a "+be);var n=W(t),o=jt(ut(qe[ge]),e,n);return r[n]=o,Dt&&a&&pt(tt,n,{configurable:!0,set:function(e){xt(this,n,e)}}),o},xt(qe[ge],ye,function(){return this[e]})),R(Vt+Qt,{Symbol:qe});var o={for:function(e){return vt(n,e+="")?n[e]:n[e]=qe(e)},iterator:ne||Y(we),keyFor:u.call(_,n),species:Rt,toStringTag:Bt=Y(Ae,!0),unscopables:Yt,pure:Wt,set:jt,useSetter:function(){a=!0},useSimple:function(){a=!1}};At.call(v("hasInstance,isConcatSpreadable,match,replace,search,split,toPrimitive"),function(e){o[e]=Y(e)}),R(Jt,me,o),i(qe,me),R(Jt+Xt*!ot(qe),ae,{getOwnPropertyNames:function(e){for(var t,n=mt(p(e)),a=[],o=0;n.length>o;)vt(r,t=n[o++])||a.push(t);return a},getOwnPropertySymbols:function(e){for(var t,n=mt(p(e)),a=[],o=0;n.length>o;)vt(r,t=n[o++])&&a.push(r[t]);return a}}),i(Be,_e,!0),i(t.JSON,"JSON",!0)}(Wt("tag"),{},{},!0),!function(){var e={assign:bt,is:function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}};"__proto__"in tt&&function(t,n){try{n=l(st,ft(tt,"__proto__").set,2),n({},et)}catch(e){t=!0}e.setPrototypeOf=dt=dt||function(e,r){return C(e),k(null===r||a(r),r,": can't set as prototype!"),t?e.__proto__=r:n(e,r),e}}(),R(Jt,ae,e)}(),!function(){function e(e,t){var n=Ne[e],r=It[ae][e],o=0,i={};if(!r||ot(r)){i[e]=1==t?function(e){return a(e)?n(e):e}:2==t?function(e){return!a(e)||n(e)}:3==t?function(e){return!!a(e)&&n(e)}:4==t?function(e,t){return n(p(e),t)}:function(e){return n(p(e))};try{n(at)}catch(e){o=1}R(Jt+Xt*o,ae,i)}}e("freeze",1),e("seal",1),e("preventExtensions",1),e("isFrozen",2),e("isSealed",2),e("isExtensible",3),e("getOwnPropertyDescriptor",4),e("getPrototypeOf"),e("keys"),e("getOwnPropertyNames")}(),!function(e){R(Jt,ce,{EPSILON:Lt(2,-52),isFinite:function(e){return"number"==typeof e&&Ve(e)},isInteger:e,isNaN:A,isSafeInteger:function(t){return e(t)&&Et(t)<=Tt},MAX_SAFE_INTEGER:Tt,MIN_SAFE_INTEGER:-Tt,parseFloat:parseFloat,parseInt:Xe})}(Pe.isInteger||function(e){return!a(e)&&Ve(e)&&zt(e)===e}),!function(){function e(t){return Ve(t=+t)&&0!=t?t<0?-e(-t):a(t+o(t*t+1)):t}function t(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:r(e)-1}var n=Be.E,r=Be.exp,a=Be.log,o=Be.sqrt,i=Be.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1};R(Jt,_e,{acosh:function(e){return(e=+e)<1?NaN:Ve(e)?a(e/n+o(e+1)*o(e-1)/n)+1:e},asinh:e,atanh:function(e){return 0==(e=+e)?e:a((1+e)/(1-e))/2},cbrt:function(e){return i(e=+e)*Lt(Et(e),1/3)},clz32:function(e){return(e>>>=0)?32-e[ye](2).length:32},cosh:function(e){return(r(e=+e)+r(-e))/2},expm1:t,fround:function(e){return new Float32Array([e])[0]},hypot:function(e,t){for(var n,r=0,a=arguments.length,i=a,s=Ce(a),c=-rt;a--;){if(n=s[a]=+arguments[a],n==rt||n==-rt)return rt;n>c&&(c=n)}for(c=n||1;i--;)r+=Lt(s[i]/c,2);return c*o(r)},imul:function(e,t){var n=65535,r=+e,a=+t,o=n&r,i=n&a;return 0|o*i+((n&r>>>16)*i+o*(n&a>>>16)<<16>>>0)},log1p:function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:a(1+e)},log10:function(e){return a(e)/Be.LN10},log2:function(e){return a(e)/Be.LN2},sign:i,sinh:function(e){return Et(e=+e)<1?(t(e)-t(-e))/2:(r(e-1)-r(-e-1))*(n/2)},tanh:function(e){var n=t(e=+e),a=t(-e);return n==rt?1:a==rt?-1:(n-a)/(r(e)+r(-e))},trunc:Nt})}(),!function(e){function t(e){if(s(e)==ue)throw Re()}R(Jt,se,{fromCodePoint:function(t){for(var n,r=[],a=arguments.length,o=0;a>o;){if(n=+arguments[o++],E(n,1114111)!==n)throw He(n+" is not a valid code point");r.push(n<65536?e(n):e(((n-=65536)>>10)+55296,n%1024+56320))}return r.join("")},raw:function(e){for(var t=p(e.raw),n=L(t.length),r=arguments.length,a=[],o=0;n>o;)a.push(De(t[o++])),o<r&&a.push(De(arguments[o]));return a.join("")}}),R(Kt,se,{codePointAt:S(!1),endsWith:function(e){t(e);var n=De(O(this)),a=arguments[1],o=L(n.length),i=a===r?o:kt(L(a),o);return e+="",n.slice(i-e.length,i)===e},includes:function(e){return t(e),!!~De(O(this)).indexOf(e,arguments[1])},repeat:function(e){var t=De(O(this)),n="",r=T(e);if(0>r||r==rt)throw He("Count can't be negative");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n},startsWith:function(e){t(e);var n=De(O(this)),r=L(kt(arguments[1],n.length));return e+="",n.slice(r,r+e.length)===e}})}(De.fromCharCode),!function(){R(Jt+Xt*G(Ce.from),ie,{from:function(e){var t,n,a,o=Ne(O(e)),i=arguments[1],s=i!==r,c=s?l(i,arguments[2],2):r,u=0;if(V(o))n=new(y(this,Ce)),$(function(e){for(;!(a=e.next()).done;u++)n[u]=s?c(a.value,u):a.value},J(o));else for(n=new(y(this,Ce))(t=L(o.length));t>u;u++)n[u]=s?c(o[u],u):o[u];return n.length=u,n}}),R(Jt,ie,{of:function(){for(var e=0,t=arguments.length,n=new(y(this,Ce))(t);t>e;)n[e]=arguments[e++];return n.length=t,n}}),B(Ce)}(),!function(){R(Kt,ie,{copyWithin:function(e,t){var n=Ne(O(this)),a=L(n.length),o=E(e,a),i=E(t,a),s=arguments[2],c=s===r?a:E(s,a),u=kt(c-i,a-o),l=1;for(i<o&&o<i+u&&(l=-1,i=i+u-1,o=o+u-1);u-- >0;)i in n?n[o]=n[i]:delete n[o],o+=l,i+=l;return n},fill:function(e){for(var t=Ne(O(this)),n=L(t.length),a=E(arguments[1],n),o=arguments[2],i=o===r?n:E(o,n);i>a;)t[a++]=e;return t},find:g(5),findIndex:g(6)}),n&&(At.call(v("find,findIndex,fill,copyWithin,entries,keys,values"),function(e){qt[e]=!0}),Yt in et||xt(et,Yt,qt))}(),!function(e){F(Ce,ie,function(e,t){jt(this,$t,{o:p(e),i:0,k:t})},function(){var e=this[$t],t=e.o,n=e.k,a=e.i++;return!t||a>=t.length?(e.o=r,X(1)):n==Zt?X(0,a):n==en?X(0,t[a]):X(0,[a,t[a]])},en),tn[ve]=tn[ie],F(De,se,function(e){jt(this,$t,{o:De(e),i:0})},function(){var t,n=this[$t],r=n.o,a=n.i;return a>=r.length?X(1):(t=e.call(r,a),n.i+=t.length,X(0,t))})}(S(!0)),o(Ue)&&o(Fe)||function(e){function n(e){if(vt(m,e)){var t=m[e];delete m[e],t()}}function r(e){n(e.data)}var a,i,s,c=t.postMessage,p=t.addEventListener,f=t.MessageChannel,h=0,m={};Ue=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return m[++h]=function(){d(o(e)?e:Oe(e),t)},a(h),h},Fe=function(e){
26
  delete m[e]},Ht?a=function(e){Ke(u.call(n,e))}:p&&o(c)&&!t.importScripts?(a=function(e){c(e,"*")},p("message",r,!1)):o(f)?(i=new f,s=i.port2,i.port1.onmessage=r,a=l(s.postMessage,s,1)):a=Ge&&e in Ge[ke]("script")?function(t){Qe.appendChild(Ge[ke]("script"))[e]=function(){Qe.removeChild(this),n(t)}}:function(e){Ie(n,0,e)}}("onreadystatechange"),R(Vt+Gt,{setImmediate:Ue,clearImmediate:Fe}),!function(e,t){o(e)&&o(e.resolve)&&e.resolve(t=new e(function(){}))==t||function(t,n){function i(e){var t;return a(e)&&(t=e.then),!!o(t)&&t}function s(e){var t,r=e[n],a=r.c,o=0;if(r.h)return!0;for(;a.length>o;)if(t=a[o++],t.fail||s(t.P))return!0}function c(e,n){var r=e.c;(n||r.length)&&t(function(){var t=e.p,a=e.v,c=1==e.s,u=0;if(n&&!s(t))Ie(function(){s(t)||(Ht?!Je.emit("unhandledRejection",a,t):o(Ze.error)&&Ze.error("Unhandled promise rejection",a))},1e3);else for(;r.length>u;)!function(t){var n,r,o=c?t.ok:t.fail;try{o?(c||(e.h=!0),n=o===!0?a:o(a),n===t.P?t.rej(Re(Me+"-chain cycle")):(r=i(n))?r.call(n,t.res,t.rej):t.res(n)):t.rej(a)}catch(e){t.rej(e)}}(r[u++]);r.length=0})}function u(e){var t,n,r=this;if(!r.d){r.d=!0,r=r.r||r;try{(t=i(e))?(n={r:r,d:!1},t.call(e,l(u,n,1),l(d,n,1))):(r.v=e,r.s=1,c(r))}catch(e){d.call(n||{r:r,d:!1},e)}}}function d(e){var t=this;t.d||(t.d=!0,t=t.r||t,t.v=e,t.s=2,c(t,!0))}function p(e){var t=C(e)[Rt];return t!=r?t:e}e=function(t){N(t),D(this,e,Me);var a={p:this,c:[],s:0,d:!1,v:r,h:!1};xt(this,n,a);try{t(l(u,a,1),l(d,a,1))}catch(e){d.call(a,e)}},q(e[ge],{then:function(t,a){var i=C(C(this)[be])[Rt],s={ok:!o(t)||t,fail:!!o(a)&&a},u=s.P=new(i!=r?i:e)(function(e,t){s.res=N(e),s.rej=N(t)}),l=this[n];return l.c.push(s),l.s&&c(l),u},catch:function(e){return this.then(r,e)}}),q(e,{all:function(e){var t=p(this),n=[];return new t(function(r,a){Z(e,!1,yt,n);var o=n.length,i=Ce(o);o?At.call(n,function(e,n){t.resolve(e).then(function(e){i[n]=e,--o||r(i)},a)}):r(i)})},race:function(e){var t=p(this);return new t(function(n,r){Z(e,!1,function(e){t.resolve(e).then(n,r)})})},reject:function(e){return new(p(this))(function(t,n){n(e)})},resolve:function(e){return a(e)&&n in e&&lt(e)===this[ge]?e:new(p(this))(function(t,n){t(e)})}})}(Ke||Ue,Wt("record")),i(e,Me),B(e),R(Vt+Xt*!ot(e),{Promise:e})}(t[Me]),!function(){function e(e,t,a,o,s,c){function u(e,t){return t!=r&&Z(t,s,e[f],e),e}function l(e,t){var r=h[e];n&&(h[e]=function(e,n){var a=r.call(this,0===e?0:e,n);return t?this:a})}var f=s?"set":"add",h=e&&e[ge],v={};if(ot(e)&&(c||!rn&&vt(h,Ee)&&vt(h,"entries"))){var b,y=e,A=new e,T=A[f](c?{}:-0,1);G(function(t){new e(t)})&&(e=function(n){return D(this,e,t),u(new y,n)},e[ge]=h,n&&(h[be]=e)),c||A[Ee](function(e,t){b=1/t===-rt}),b&&(l("delete"),l("has"),s&&l("get")),(b||T!==A)&&l(f,!0)}else e=c?function(n){D(this,e,t),jt(this,d,g++),u(this,n)}:function(n){var a=this;D(a,e,t),jt(a,p,ut(null)),jt(a,_,0),jt(a,m,r),jt(a,M,r),u(a,n)},q(q(e[ge],a),o),c||!Dt||pt(e[ge],"size",{get:function(){return O(this[_])}});return i(e,t),B(e),v[t]=e,R(Vt+Qt+Xt*!ot(e),v),c||F(e,t,function(e,t){jt(this,$t,{o:e,k:t})},function(){for(var e=this[$t],t=e.k,n=e.l;n&&n.r;)n=n.p;return e.o&&(e.l=n=n?n.n:e.o[M])?t==Zt?X(0,n.k):t==en?X(0,n.v):X(0,[n.k,n.v]):(e.o=r,X(1))},s?Zt+en:en,!s),e}function t(e,t){if(!a(e))return("string"==typeof e?"S":"P")+e;if(_t(e))return"F";if(!vt(e,d)){if(!t)return"E";xt(e,d,++g)}return"O"+e[d]}function o(e,n){var r,a=t(n);if("F"!=a)return e[p][a];for(r=e[M];r;r=r.n)if(r.k==n)return r}function s(e,n,a){var i,s,c=o(e,n);return c?c.v=a:(e[m]=c={i:s=t(n,!0),k:n,v:a,p:i=e[m],n:r,r:!1},e[M]||(e[M]=c),i&&(i.n=c),e[_]++,"F"!=s&&(e[p][s]=c)),e}function c(e,t,n){return _t(C(t))?u(e).set(t,n):(vt(t,f)||xt(t,f,{}),t[f][e[d]]=n),e}function u(e){return e[h]||xt(e,h,new xe)[h]}var d=Wt("uid"),p=Wt("O1"),f=Wt("weak"),h=Wt("leak"),m=Wt("last"),M=Wt("first"),_=Dt?Wt("size"):"size",g=0,b={},y={clear:function(){for(var e=this,t=e[p],n=e[M];n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=r),delete t[n.i];e[M]=e[m]=r,e[_]=0},delete:function(e){var t=this,n=o(t,e);if(n){var r=n.n,a=n.p;delete t[p][n.i],n.r=!0,a&&(a.n=r),r&&(r.p=a),t[M]==n&&(t[M]=r),t[m]==n&&(t[m]=a),t[_]--}return!!n},forEach:function(e){for(var t,n=l(e,arguments[1],3);t=t?t.n:this[M];)for(n(t.v,t.k,this);t&&t.r;)t=t.p},has:function(e){return!!o(this,e)}};xe=e(xe,de,{get:function(e){var t=o(this,e);return t&&t.v},set:function(e,t){return s(this,0===e?0:e,t)}},y,!0),je=e(je,pe,{add:function(e){return s(this,e=0===e?0:e,e)}},y);var A={delete:function(e){return!!a(e)&&(_t(e)?u(this).delete(e):vt(e,f)&&vt(e[f],this[d])&&delete e[f][this[d]])},has:function(e){return!!a(e)&&(_t(e)?u(this).has(e):vt(e,f)&&vt(e[f],this[d]))}};We=e(We,fe,{get:function(e){if(a(e)){if(_t(e))return u(this).get(e);if(vt(e,f))return e[f][this[d]]}},set:function(e,t){return c(this,e,t)}},A,!0,!0),n&&7!=(new We).set(Ne.freeze(b),7).get(b)&&At.call(v("delete,has,get,set"),function(e){var t=We[ge][e];We[ge][e]=function(n,r){if(a(n)&&_t(n)){var o=u(this)[e](n,r);return"set"==e?this:o}return t.call(this,n,r)}}),Ye=e(Ye,he,{add:function(e){return c(this,e,!0)}},A,!1,!0)}(),!function(){function e(e){var t,n=[];for(t in e)n.push(t);jt(this,$t,{o:e,a:n,i:0})}function t(e){return function(t){C(t);try{return e.apply(r,arguments),!0}catch(e){return!1}}}function n(e,t){var o,i=arguments.length<3?e:arguments[2],s=ft(C(e),t);return s?vt(s,"value")?s.value:s.get===r?r:s.get.call(i):a(o=lt(e))?n(o,t,i):r}function o(e,t,n){var i,s,c=arguments.length<4?e:arguments[3],u=ft(C(e),t);if(!u){if(a(s=lt(e)))return o(s,t,n,c);u=P(0)}return vt(u,"value")?!(u.writable===!1||!a(c))&&(i=ft(c,t)||P(0),i.value=n,pt(c,t,i),!0):u.set!==r&&(u.set.call(c,n),!0)}I(e,ae,function(){var e,t=this[$t],n=t.a;do if(t.i>=n.length)return X(1);while(!((e=n[t.i++])in t.o));return X(0,e)});var i=Ne.isExtensible||f,s={apply:l(st,ct,3),construct:function(e,t){var n=N(arguments.length<3?e:arguments[2])[ge],r=ut(a(n)?n:tt),o=ct.call(e,r,t);return a(o)?o:r},defineProperty:t(pt),deleteProperty:function(e,t){var n=ft(C(e),t);return!(n&&!n.configurable)&&delete e[t]},enumerate:function(t){return new e(C(t))},get:n,getOwnPropertyDescriptor:function(e,t){return ft(C(e),t)},getPrototypeOf:function(e){return lt(C(e))},has:function(e,t){return t in e},isExtensible:function(e){return!!i(C(e))},ownKeys:M,preventExtensions:t(Ne.preventExtensions||f),set:o};dt&&(s.setPrototypeOf=function(e,t){return dt(C(e),t),!0}),R(Vt,{Reflect:{}}),R(Jt,"Reflect",s)}(),!function(){function e(e){return function(t){var n,r=p(t),a=ht(t),o=a.length,i=0,s=Ce(o);if(e)for(;o>i;)s[i]=[n=a[i++],r[n]];else for(;o>i;)s[i]=r[a[i++]];return s}}R(Kt,ie,{includes:b(!0)}),R(Kt,se,{at:S(!0)}),R(Jt,ae,{getOwnPropertyDescriptors:function(e){var t=p(e),n={};return At.call(M(t),function(e){pt(n,e,P(0,ft(t,e)))}),n},values:e(!1),entries:e(!0)}),R(Jt,ue,{escape:z(/([\\\-[\]{}()*+?.,^$|])/g,"\\$1",!0)})}(),!function(e){function t(e){if(e){var t=e[ge];xt(t,ee,t.get),xt(t,n,t.set),xt(t,r,t.delete)}}ee=Y(e+"Get",!0);var n=Y(e+pe,!0),r=Y(e+"Delete",!0);R(Jt,me,{referenceGet:ee,referenceSet:n,referenceDelete:r}),xt(nt,ee,h),t(xe),t(We)}("reference"),!function(e){function t(e,t){jt(this,$t,{o:p(e),a:ht(e),i:0,k:t})}function n(e){return function(n){return new t(n,e)}}function o(e){var t=1==e,n=4==e;return function(a,o,i){var s,c,u,d=l(o,i,3),f=p(a),h=t||7==e||2==e?new(y(this,te)):r;for(s in f)if(vt(f,s)&&(c=f[s],u=d(c,s,a),e))if(t)h[s]=u;else if(u)switch(e){case 2:h[s]=c;break;case 3:return!0;case 5:return c;case 6:return s;case 7:h[u[0]]=u[1]}else if(n)return!1;return 3==e||n?n:h}}function i(e){return function(t,n,a){N(n);var o,i,s,c=p(t),u=ht(c),l=u.length,d=0;for(e?o=a==r?new(y(this,te)):Ne(a):arguments.length<3?(k(l,Ct),o=c[u[d++]]):o=Ne(a);l>d;)if(vt(c,i=u[d++]))if(s=n(o,c[i],i,t),e){if(s===!1)break}else o=s;return o}}function s(e,t){return(t==t?_(e,t):c(e,A))!==r}te=function(e){var t=ut(null);return e!=r&&(V(e)?Z(e,!0,function(e,n){t[e]=n}):bt(t,e)),t},te[ge]=null,I(t,e,function(){var e,t=this[$t],n=t.o,a=t.a,o=t.k;do if(t.i>=a.length)return t.o=r,X(1);while(!vt(n,e=a[t.i++]));return o==Zt?X(0,e):o==en?X(0,n[e]):X(0,[e,n[e]])});var c=o(6),u={keys:n(Zt),values:n(en),entries:n(Zt+en),forEach:o(0),map:o(1),filter:o(2),some:o(3),every:o(4),find:o(5),findKey:c,mapPairs:o(7),reduce:i(!1),turn:i(!0),keyOf:_,includes:s,has:vt,get:m,set:j(0),isDict:function(e){return a(e)&&lt(e)===te[ge]}};if(ee)for(var f in u)!function(e){function t(){for(var t=[this],n=0;n<arguments.length;)t.push(arguments[n++]);return d(e,t)}e[ee]=function(){return t}}(u[f]);R(Vt+Xt,{Dict:q(te,u)})}("Dict"),!function(e,t){function n(t,r){return this instanceof n?(this[$t]=J(t),void(this[e]=!!r)):new n(t,r)}function a(n){function r(n,r,a){this[$t]=J(n),this[e]=n[e],this[t]=l(r,a,n[e]?2:1)}return I(r,"Chain",n,o),H(r[ge],h),r}I(n,"Wrapper",function(){return this[$t].next()});var o=n[ge];H(o,function(){return this[$t]});var i=a(function(){var n=this[$t].next();return n.done?n:X(0,K(this[t],n.value,this[e]))}),s=a(function(){for(;;){var n=this[$t].next();if(n.done||K(this[t],n.value,this[e]))return n}});q(o,{of:function(t,n){Z(this,this[e],t,n)},array:function(e,t){var n=[];return Z(e!=r?this.map(e,t):this,!1,yt,n),n},filter:function(e,t){return new s(this,e,t)},map:function(e,t){return new i(this,e,t)}}),n.isIterable=V,n.getIterator=J,R(Vt+Xt,{$for:n})}("entries",Wt("fn")),R(Vt+Xt,{delay:function(e){return new Promise(function(t){Ie(t,e,!0)})}}),!function(e,t){function n(n){var a=this,o={};return xt(a,e,function(e){return e!==r&&e in a?vt(o,e)?o[e]:o[e]=l(a[e],a,-1):t.call(a)})[e](n)}It._=Ut._=Ut._||{},R(Kt+Xt,oe,{part:u,only:function(e,t){var n=N(this),r=L(e),a=arguments.length>1;return function(){for(var e=kt(r,arguments.length),o=Ce(e),i=0;e>i;)o[i]=arguments[i++];return d(n,o,a?t:this)}}}),xt(Ut._,ye,function(){return e}),xt(tt,e,n),Dt||xt(et,e,n)}(Dt?W("tie"):Te,tt[Te]),!function(){function e(e,t){for(var n,r=M(p(t)),a=r.length,o=0;a>o;)pt(e,n=r[o++],ft(t,n));return e}R(Jt+Xt,ae,{isObject:a,classof:c,define:e,make:function(t,n){return e(ut(t),n)}})}(),R(Kt+Xt,ie,{turn:function(e,t){N(e);for(var n=t==r?[]:Ne(t),a=gt(this),o=L(a.length),i=0;o>i&&e(n,a[i],i++,this)!==!1;);return n}}),n&&(qt.turn=!0),!function(e){function t(e){jt(this,$t,{l:L(e),i:0})}I(t,ce,function(){var e=this[$t],t=e.i++;return t<e.l?X(0,t):X(1)}),U(Pe,ce,function(){return new t(this)}),e.random=function(e){var t=+this,n=e==r?0:+e,a=kt(t,n);return Ot()*(St(t,n)-a)+a},At.call(v("round,floor,ceil,abs,sin,asin,cos,acos,tan,atan,exp,sqrt,max,min,pow,atan2,acosh,asinh,atanh,cbrt,clz32,cosh,expm1,hypot,imul,log1p,log10,log2,sign,sinh,tanh,trunc"),function(t){var n=Be[t];n&&(e[t]=function(){for(var e=[+this],t=0;arguments.length>t;)e.push(arguments[t++]);return d(n,e)})}),R(Kt+Xt,ce,e)}({}),!function(){var e,t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;"},n={};for(e in t)n[t[e]]=e;R(Kt+Xt,se,{escapeHTML:z(/[&<>"']/g,t),unescapeHTML:z(/&(?:amp|lt|gt|quot|apos);/g,n)})}(),!function(e,t,n,r,a,o,i,s,c){function u(t){return function(u,l){function d(e){return p[t+e]()}var p=this,f=n[vt(n,l)?l:r];return De(u).replace(e,function(e){switch(e){case"s":return d(a);case"ss":return w(d(a));case"m":return d(o);case"mm":return w(d(o));case"h":return d(i);case"hh":return w(d(i));case"D":return d(le);case"DD":return w(d(le));case"W":return f[0][d("Day")];case"N":return d(s)+1;case"NN":return w(d(s)+1);case"M":return f[2][d(s)];case"MM":return f[1][d(s)];case"Y":return d(c);case"YY":return w(d(c)%100)}return e})}}function l(e,r){function a(e){var n=[];return At.call(v(r.months),function(r){n.push(r.replace(t,"$"+e))}),n}return n[e]=[v(r.weekdays),a(1),a(2)],It}R(Kt+Xt,le,{format:u("get"),formatUTC:u("getUTC")}),l(r,{weekdays:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday",months:"January,February,March,April,May,June,July,August,September,October,November,December"}),l("ru",{weekdays:"Воскресенье,Понедельник,Вторник,Среда,Четверг,Пятница,Суббота",months:"Январ:я|ь,Феврал:я|ь,Март:а|,Апрел:я|ь,Ма:я|й,Июн:я|ь,Июл:я|ь,Август:а|,Сентябр:я|ь,Октябр:я|ь,Ноябр:я|ь,Декабр:я|ь"}),It.locale=function(e){return vt(n,e)?r=e:r},It.addLocale=l}(/\b\w\w?\b/g,/:(.*)\|(.*)$/,{},"en","Seconds","Minutes","Hours","Month","FullYear"),R(Vt+Xt,{global:t}),!function(e){function t(t,n){At.call(v(t),function(t){t in et&&(e[t]=l(st,et[t],n))})}t("pop,reverse,shift,keys,values,entries",1),t("indexOf,every,some,forEach,map,filter,find,findIndex,includes",3),t("join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill,turn"),R(Jt,ie,e)}({}),!function(e){!n||!e||ne in e[ge]||xt(e[ge],ne,tn[ie]),tn.NodeList=tn[ie]}(t.NodeList),!function(e,t){At.call(v("assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,isIndependentlyComposed,log,markTimeline,profile,profileEnd,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn"),function(n){e[n]=function(){if(t&&n in Ze)return ct.call(Ze[n],Ze,arguments)}}),R(Vt+Xt,{log:bt(e.log,e,{enable:function(){t=!0},disable:function(){t=!1}})})}({},!0)}("undefined"!=typeof self&&self.Math===Math?self:Function("return this")(),!1),e.exports={default:e.exports,__esModule:!0}},function(e,t){"use strict";t.default=function(e){return e&&e.__esModule?e.default:e},t.__esModule=!0},function(e,t){var n=window.addEventListener?"addEventListener":"attachEvent",r=window.removeEventListener?"removeEventListener":"detachEvent",a="addEventListener"!==n?"on":"";t.bind=function(e,t,r,o){return e[n](a+t,r,o||!1),r},t.unbind=function(e,t,n,o){return e[r](a+t,n,o||!1),n}},function(e,t){function n(e,t){return e===t||!!(16&e.compareDocumentPosition(t))}e.exports=n},function(e,t,n){function r(e){var t,n;for(t=[],n=0;n<e.length;n++)t.push(o[e[n]%64]);return t.join("")}function a(e){if("undefined"!=typeof window){if("undefined"!=typeof window.crypto)return r(window.crypto.getRandomValues(new Uint8Array(e)));for(var t=new Array(e),a=0;a<e;a++)t[a]=Math.floor(256*Math.random());return r(t)}var o=n(876);try{return r(o.randomBytes(e))}catch(t){return r(o.pseudoRandomBytes(e))}}var o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_";e.exports=a},function(e,t,n){(function(e){function r(){var e=[].slice.call(arguments).join(" ");throw new Error([e,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}function a(e,t){for(var n in e)t(e[n],n)}var o=n(881);t.createHash=n(883),t.createHmac=n(895),t.randomBytes=function(t,n){if(!n||!n.call)return new e(o(t));try{n.call(this,void 0,new e(o(t)))}catch(e){n(e)}},t.getHashes=function(){return["sha1","sha256","sha512","md5","rmd160"]};var i=n(896)(t);t.pbkdf2=i.pbkdf2,t.pbkdf2Sync=i.pbkdf2Sync,a(["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman"],function(e){t[e]=function(){r("sorry,",e,"is not implemented yet")}})}).call(t,n(877).Buffer)},function(e,t,n){(function(e,r){"use strict";function a(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}function o(){return e.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(t,n){if(o()<n)throw new RangeError("Invalid typed array length");return e.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(n),t.__proto__=e.prototype):(null===t&&(t=new e(n)),t.length=n),t}function e(t,n,r){if(!(e.TYPED_ARRAY_SUPPORT||this instanceof e))return new e(t,n,r);if("number"==typeof t){if("string"==typeof n)throw new Error("If encoding is specified then the first argument must be a string");return l(this,t)}return s(this,t,n,r)}function s(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?f(e,t,n,r):"string"==typeof t?d(e,t,n):h(e,t)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function u(e,t,n,r){return c(t),t<=0?i(e,t):void 0!==n?"string"==typeof r?i(e,t).fill(n,r):i(e,t).fill(n):i(e,t)}function l(t,n){if(c(n),t=i(t,n<0?0:0|m(n)),!e.TYPED_ARRAY_SUPPORT)for(var r=0;r<n;++r)t[r]=0;return t}function d(t,n,r){if("string"==typeof r&&""!==r||(r="utf8"),!e.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var a=0|_(n,r);t=i(t,a);var o=t.write(n,r);return o!==a&&(t=t.slice(0,o)),t}function p(e,t){var n=t.length<0?0:0|m(t.length);e=i(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function f(t,n,r,a){if(n.byteLength,r<0||n.byteLength<r)throw new RangeError("'offset' is out of bounds");if(n.byteLength<r+(a||0))throw new RangeError("'length' is out of bounds");return n=void 0===r&&void 0===a?new Uint8Array(n):void 0===a?new Uint8Array(n,r):new Uint8Array(n,r,a),e.TYPED_ARRAY_SUPPORT?(t=n,t.__proto__=e.prototype):t=p(t,n),t}function h(t,n){if(e.isBuffer(n)){var r=0|m(n.length);return t=i(t,r),0===t.length?t:(n.copy(t,0,0,r),t)}if(n){if("undefined"!=typeof ArrayBuffer&&n.buffer instanceof ArrayBuffer||"length"in n)return"number"!=typeof n.length||G(n.length)?i(t,0):p(t,n);if("Buffer"===n.type&&Z(n.data))return p(t,n.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function m(e){if(e>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function M(t){return+t!=t&&(t=0),e.alloc(+t)}function _(t,n){if(e.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var a=!1;;)switch(n){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return F(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return J(t).length;default:if(a)return F(t).length;n=(""+n).toLowerCase(),a=!0}}function v(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,n);case"utf8":case"utf-8":return k(this,t,n);case"ascii":return N(this,t,n);case"latin1":case"binary":return C(this,t,n);case"base64":return S(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function b(t,n,r,a,o){if(0===t.length)return-1;if("string"==typeof r?(a=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof n&&(n=e.from(n,a)),e.isBuffer(n))return 0===n.length?-1:y(t,n,r,a,o);if("number"==typeof n)return n=255&n,e.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,n,r):Uint8Array.prototype.lastIndexOf.call(t,n,r):y(t,[n],r,a,o);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,a){function o(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}var i=1,s=e.length,c=t.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;i=2,s/=2,c/=2,n/=2}var u;if(a){var l=-1;for(u=n;u<s;u++)if(o(e,u)===o(t,l===-1?0:u-l)){if(l===-1&&(l=u),u-l+1===c)return l*i}else l!==-1&&(u-=u-l),l=-1}else for(n+c>s&&(n=s-c),u=n;u>=0;u--){for(var d=!0,p=0;p<c;p++)if(o(e,u+p)!==o(t,p)){d=!1;break}if(d)return u}return-1}function A(e,t,n,r){n=Number(n)||0;var a=e.length-n;r?(r=Number(r),r>a&&(r=a)):r=a;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var i=0;i<r;++i){var s=parseInt(t.substr(2*i,2),16);if(isNaN(s))return i;e[n+i]=s}return i}function T(e,t,n,r){return K(F(t,e.length-n),e,n,r)}function L(e,t,n,r){return K(X(t),e,n,r)}function E(e,t,n,r){return L(e,t,n,r)}function w(e,t,n,r){return K(J(t),e,n,r)}function z(e,t,n,r){return K(V(t,e.length-n),e,n,r)}function S(e,t,n){return 0===t&&n===e.length?Q.fromByteArray(e):Q.fromByteArray(e.slice(t,n))}function k(e,t,n){n=Math.min(e.length,n);for(var r=[],a=t;a<n;){var o=e[a],i=null,s=o>239?4:o>223?3:o>191?2:1;if(a+s<=n){var c,u,l,d;switch(s){case 1:o<128&&(i=o);break;case 2:c=e[a+1],128===(192&c)&&(d=(31&o)<<6|63&c,d>127&&(i=d));break;case 3:c=e[a+1],u=e[a+2],128===(192&c)&&128===(192&u)&&(d=(15&o)<<12|(63&c)<<6|63&u,d>2047&&(d<55296||d>57343)&&(i=d));break;case 4:c=e[a+1],u=e[a+2],l=e[a+3],128===(192&c)&&128===(192&u)&&128===(192&l)&&(d=(15&o)<<18|(63&c)<<12|(63&u)<<6|63&l,d>65535&&d<1114112&&(i=d))}}null===i?(i=65533,s=1):i>65535&&(i-=65536,r.push(i>>>10&1023|55296),i=56320|1023&i),r.push(i),a+=s}return O(r)}function O(e){var t=e.length;if(t<=ee)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=ee));return n}function N(e,t,n){var r="";n=Math.min(e.length,n);for(var a=t;a<n;++a)r+=String.fromCharCode(127&e[a]);return r}function C(e,t,n){var r="";n=Math.min(e.length,n);for(var a=t;a<n;++a)r+=String.fromCharCode(e[a]);return r}function D(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var a="",o=t;o<n;++o)a+=U(e[o]);return a}function P(e,t,n){for(var r=e.slice(t,n),a="",o=0;o<r.length;o+=2)a+=String.fromCharCode(r[o]+256*r[o+1]);return a}function x(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function j(t,n,r,a,o,i){if(!e.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(n>o||n<i)throw new RangeError('"value" argument is out of bounds');if(r+a>t.length)throw new RangeError("Index out of range")}function W(e,t,n,r){t<0&&(t=65535+t+1);for(var a=0,o=Math.min(e.length-n,2);a<o;++a)e[n+a]=(t&255<<8*(r?a:1-a))>>>8*(r?a:1-a)}function Y(e,t,n,r){t<0&&(t=4294967295+t+1);for(var a=0,o=Math.min(e.length-n,4);a<o;++a)e[n+a]=t>>>8*(r?a:3-a)&255}function q(e,t,n,r,a,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function B(e,t,n,r,a){return a||q(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),$.write(e,t,n,r,23,4),n+4}function R(e,t,n,r,a){return a||q(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),$.write(e,t,n,r,52,8),n+8}function H(e){if(e=I(e).replace(te,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function I(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function U(e){return e<16?"0"+e.toString(16):e.toString(16)}function F(e,t){t=t||1/0;for(var n,r=e.length,a=null,o=[],i=0;i<r;++i){if(n=e.charCodeAt(i),n>55295&&n<57344){if(!a){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(i+1===r){(t-=3)>-1&&o.push(239,191,189);continue}a=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),a=n;continue}n=(a-55296<<10|n-56320)+65536}else a&&(t-=3)>-1&&o.push(239,191,189);if(a=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function X(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function V(e,t){for(var n,r,a,o=[],i=0;i<e.length&&!((t-=2)<0);++i)n=e.charCodeAt(i),r=n>>8,a=n%256,o.push(a),o.push(r);return o}function J(e){return Q.toByteArray(H(e))}function K(e,t,n,r){for(var a=0;a<r&&!(a+n>=t.length||a>=e.length);++a)t[a+n]=e[a];return a}function G(e){return e!==e}var Q=n(878),$=n(879),Z=n(880);t.Buffer=e,t.SlowBuffer=M,t.INSPECT_MAX_BYTES=50,e.TYPED_ARRAY_SUPPORT=void 0!==r.TYPED_ARRAY_SUPPORT?r.TYPED_ARRAY_SUPPORT:a(),t.kMaxLength=o(),e.poolSize=8192,e._augment=function(t){return t.__proto__=e.prototype,t},e.from=function(e,t,n){return s(null,e,t,n)},e.TYPED_ARRAY_SUPPORT&&(e.prototype.__proto__=Uint8Array.prototype,e.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&e[Symbol.species]===e&&Object.defineProperty(e,Symbol.species,{value:null,configurable:!0})),e.alloc=function(e,t,n){return u(null,e,t,n)},e.allocUnsafe=function(e){return l(null,e)},e.allocUnsafeSlow=function(e){return l(null,e)},e.isBuffer=function(e){return!(null==e||!e._isBuffer)},e.compare=function(t,n){if(!e.isBuffer(t)||!e.isBuffer(n))throw new TypeError("Arguments must be Buffers");if(t===n)return 0;for(var r=t.length,a=n.length,o=0,i=Math.min(r,a);o<i;++o)if(t[o]!==n[o]){r=t[o],a=n[o];break}return r<a?-1:a<r?1:0},e.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},e.concat=function(t,n){if(!Z(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return e.alloc(0);var r;if(void 0===n)for(n=0,r=0;r<t.length;++r)n+=t[r].length;var a=e.allocUnsafe(n),o=0;for(r=0;r<t.length;++r){var i=t[r];if(!e.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(a,o),o+=i.length}return a},e.byteLength=_,e.prototype._isBuffer=!0,e.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},e.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},e.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},e.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?k(this,0,e):v.apply(this,arguments)},e.prototype.equals=function(t){if(!e.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===e.compare(this,t)},e.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},e.prototype.compare=function(t,n,r,a,o){if(!e.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===n&&(n=0),void 0===r&&(r=t?t.length:0),void 0===a&&(a=0),void 0===o&&(o=this.length),n<0||r>t.length||a<0||o>this.length)throw new RangeError("out of range index");if(a>=o&&n>=r)return 0;if(a>=o)return-1;if(n>=r)return 1;if(n>>>=0,r>>>=0,a>>>=0,o>>>=0,this===t)return 0;for(var i=o-a,s=r-n,c=Math.min(i,s),u=this.slice(a,o),l=t.slice(n,r),d=0;d<c;++d)if(u[d]!==l[d]){i=u[d],s=l[d];break}return i<s?-1:s<i?1:0},e.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1},e.prototype.indexOf=function(e,t,n){return b(this,e,t,n,!0)},e.prototype.lastIndexOf=function(e,t,n){return b(this,e,t,n,!1)},e.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t=0|t,isFinite(n)?(n=0|n,void 0===r&&(r="utf8")):(r=n,n=void 0)}var a=this.length-t;if((void 0===n||n>a)&&(n=a),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return A(this,e,t,n);case"utf8":case"utf-8":return T(this,e,t,n);case"ascii":return L(this,e,t,n);case"latin1":case"binary":return E(this,e,t,n);case"base64":return w(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},e.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ee=4096;e.prototype.slice=function(t,n){var r=this.length;t=~~t,n=void 0===n?r:~~n,t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),n<0?(n+=r,n<0&&(n=0)):n>r&&(n=r),n<t&&(n=t);var a;if(e.TYPED_ARRAY_SUPPORT)a=this.subarray(t,n),a.__proto__=e.prototype;else{var o=n-t;a=new e(o,(void 0));for(var i=0;i<o;++i)a[i]=this[i+t]}return a},e.prototype.readUIntLE=function(e,t,n){e=0|e,t=0|t,n||x(e,t,this.length);for(var r=this[e],a=1,o=0;++o<t&&(a*=256);)r+=this[e+o]*a;return r},e.prototype.readUIntBE=function(e,t,n){e=0|e,t=0|t,n||x(e,t,this.length);for(var r=this[e+--t],a=1;t>0&&(a*=256);)r+=this[e+--t]*a;return r},e.prototype.readUInt8=function(e,t){return t||x(e,1,this.length),this[e]},e.prototype.readUInt16LE=function(e,t){return t||x(e,2,this.length),this[e]|this[e+1]<<8},e.prototype.readUInt16BE=function(e,t){return t||x(e,2,this.length),this[e]<<8|this[e+1]},e.prototype.readUInt32LE=function(e,t){return t||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},e.prototype.readUInt32BE=function(e,t){return t||x(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},e.prototype.readIntLE=function(e,t,n){e=0|e,t=0|t,n||x(e,t,this.length);for(var r=this[e],a=1,o=0;++o<t&&(a*=256);)r+=this[e+o]*a;return a*=128,r>=a&&(r-=Math.pow(2,8*t)),r},e.prototype.readIntBE=function(e,t,n){e=0|e,t=0|t,n||x(e,t,this.length);for(var r=t,a=1,o=this[e+--r];r>0&&(a*=256);)o+=this[e+--r]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*t)),o},e.prototype.readInt8=function(e,t){return t||x(e,1,this.length),128&this[e]?(255-this[e]+1)*-1:this[e]},e.prototype.readInt16LE=function(e,t){t||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},e.prototype.readInt16BE=function(e,t){t||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},e.prototype.readInt32LE=function(e,t){return t||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},e.prototype.readInt32BE=function(e,t){return t||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},e.prototype.readFloatLE=function(e,t){return t||x(e,4,this.length),$.read(this,e,!0,23,4)},e.prototype.readFloatBE=function(e,t){return t||x(e,4,this.length),$.read(this,e,!1,23,4)},e.prototype.readDoubleLE=function(e,t){return t||x(e,8,this.length),$.read(this,e,!0,52,8)},e.prototype.readDoubleBE=function(e,t){return t||x(e,8,this.length),$.read(this,e,!1,52,8)},e.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t=0|t,n=0|n,!r){var a=Math.pow(2,8*n)-1;j(this,e,t,n,a,0)}var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},e.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t=0|t,n=0|n,!r){var a=Math.pow(2,8*n)-1;j(this,e,t,n,a,0)}var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},e.prototype.writeUInt8=function(t,n,r){return t=+t,n=0|n,r||j(this,t,n,1,255,0),e.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[n]=255&t,n+1},e.prototype.writeUInt16LE=function(t,n,r){return t=+t,n=0|n,r||j(this,t,n,2,65535,0),e.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8):W(this,t,n,!0),n+2},e.prototype.writeUInt16BE=function(t,n,r){return t=+t,n=0|n,r||j(this,t,n,2,65535,0),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=255&t):W(this,t,n,!1),n+2},e.prototype.writeUInt32LE=function(t,n,r){return t=+t,n=0|n,r||j(this,t,n,4,4294967295,0),e.TYPED_ARRAY_SUPPORT?(this[n+3]=t>>>24,this[n+2]=t>>>16,this[n+1]=t>>>8,this[n]=255&t):Y(this,t,n,!0),n+4},e.prototype.writeUInt32BE=function(t,n,r){return t=+t,n=0|n,r||j(this,t,n,4,4294967295,0),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=255&t):Y(this,t,n,!1),n+4},e.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t=0|t,!r){var a=Math.pow(2,8*n-1);j(this,e,t,n,a-1,-a)}var o=0,i=1,s=0;for(this[t]=255&e;++o<n&&(i*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/i>>0)-s&255;return t+n},e.prototype.writeIntBE=function(e,t,n,r){
27
  if(e=+e,t=0|t,!r){var a=Math.pow(2,8*n-1);j(this,e,t,n,a-1,-a)}var o=n-1,i=1,s=0;for(this[t+o]=255&e;--o>=0&&(i*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/i>>0)-s&255;return t+n},e.prototype.writeInt8=function(t,n,r){return t=+t,n=0|n,r||j(this,t,n,1,127,-128),e.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[n]=255&t,n+1},e.prototype.writeInt16LE=function(t,n,r){return t=+t,n=0|n,r||j(this,t,n,2,32767,-32768),e.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8):W(this,t,n,!0),n+2},e.prototype.writeInt16BE=function(t,n,r){return t=+t,n=0|n,r||j(this,t,n,2,32767,-32768),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=255&t):W(this,t,n,!1),n+2},e.prototype.writeInt32LE=function(t,n,r){return t=+t,n=0|n,r||j(this,t,n,4,2147483647,-2147483648),e.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8,this[n+2]=t>>>16,this[n+3]=t>>>24):Y(this,t,n,!0),n+4},e.prototype.writeInt32BE=function(t,n,r){return t=+t,n=0|n,r||j(this,t,n,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=255&t):Y(this,t,n,!1),n+4},e.prototype.writeFloatLE=function(e,t,n){return B(this,e,t,!0,n)},e.prototype.writeFloatBE=function(e,t,n){return B(this,e,t,!1,n)},e.prototype.writeDoubleLE=function(e,t,n){return R(this,e,t,!0,n)},e.prototype.writeDoubleBE=function(e,t,n){return R(this,e,t,!1,n)},e.prototype.copy=function(t,n,r,a){if(r||(r=0),a||0===a||(a=this.length),n>=t.length&&(n=t.length),n||(n=0),a>0&&a<r&&(a=r),a===r)return 0;if(0===t.length||0===this.length)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),t.length-n<a-r&&(a=t.length-n+r);var o,i=a-r;if(this===t&&r<n&&n<a)for(o=i-1;o>=0;--o)t[o+n]=this[o+r];else if(i<1e3||!e.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)t[o+n]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+i),n);return i},e.prototype.fill=function(t,n,r,a){if("string"==typeof t){if("string"==typeof n?(a=n,n=0,r=this.length):"string"==typeof r&&(a=r,r=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==a&&"string"!=typeof a)throw new TypeError("encoding must be a string");if("string"==typeof a&&!e.isEncoding(a))throw new TypeError("Unknown encoding: "+a)}else"number"==typeof t&&(t=255&t);if(n<0||this.length<n||this.length<r)throw new RangeError("Out of range index");if(r<=n)return this;n>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0);var i;if("number"==typeof t)for(i=n;i<r;++i)this[i]=t;else{var s=e.isBuffer(t)?t:F(new e(t,a).toString()),c=s.length;for(i=0;i<r-n;++i)this[i+n]=s[i%c]}return this};var te=/[^+\/0-9A-Za-z-_]/g}).call(t,n(877).Buffer,function(){return this}())},function(e,t){"use strict";function n(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function r(e){return 3*e.length/4-n(e)}function a(e){var t,r,a,o,i,s,c=e.length;i=n(e),s=new l(3*c/4-i),a=i>0?c-4:c;var d=0;for(t=0,r=0;t<a;t+=4,r+=3)o=u[e.charCodeAt(t)]<<18|u[e.charCodeAt(t+1)]<<12|u[e.charCodeAt(t+2)]<<6|u[e.charCodeAt(t+3)],s[d++]=o>>16&255,s[d++]=o>>8&255,s[d++]=255&o;return 2===i?(o=u[e.charCodeAt(t)]<<2|u[e.charCodeAt(t+1)]>>4,s[d++]=255&o):1===i&&(o=u[e.charCodeAt(t)]<<10|u[e.charCodeAt(t+1)]<<4|u[e.charCodeAt(t+2)]>>2,s[d++]=o>>8&255,s[d++]=255&o),s}function o(e){return c[e>>18&63]+c[e>>12&63]+c[e>>6&63]+c[63&e]}function i(e,t,n){for(var r,a=[],i=t;i<n;i+=3)r=(e[i]<<16)+(e[i+1]<<8)+e[i+2],a.push(o(r));return a.join("")}function s(e){for(var t,n=e.length,r=n%3,a="",o=[],s=16383,u=0,l=n-r;u<l;u+=s)o.push(i(e,u,u+s>l?l:u+s));return 1===r?(t=e[n-1],a+=c[t>>2],a+=c[t<<4&63],a+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],a+=c[t>>10],a+=c[t>>4&63],a+=c[t<<2&63],a+="="),o.push(a),o.join("")}t.byteLength=r,t.toByteArray=a,t.fromByteArray=s;for(var c=[],u=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,f=d.length;p<f;++p)c[p]=d[p],u[d.charCodeAt(p)]=p;u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,a){var o,i,s=8*a-r-1,c=(1<<s)-1,u=c>>1,l=-7,d=n?a-1:0,p=n?-1:1,f=e[t+d];for(d+=p,o=f&(1<<-l)-1,f>>=-l,l+=s;l>0;o=256*o+e[t+d],d+=p,l-=8);for(i=o&(1<<-l)-1,o>>=-l,l+=r;l>0;i=256*i+e[t+d],d+=p,l-=8);if(0===o)o=1-u;else{if(o===c)return i?NaN:(f?-1:1)*(1/0);i+=Math.pow(2,r),o-=u}return(f?-1:1)*i*Math.pow(2,o-r)},t.write=function(e,t,n,r,a,o){var i,s,c,u=8*o-a-1,l=(1<<u)-1,d=l>>1,p=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,i=l):(i=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-i))<1&&(i--,c*=2),t+=i+d>=1?p/c:p*Math.pow(2,1-d),t*c>=2&&(i++,c/=2),i+d>=l?(s=0,i=l):i+d>=1?(s=(t*c-1)*Math.pow(2,a),i+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,a),i=0));a>=8;e[n+f]=255&s,f+=h,s/=256,a-=8);for(i=i<<a|s,u+=a;u>0;e[n+f]=255&i,f+=h,i/=256,u-=8);e[n+f-h]|=128*m}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){(function(t,r){!function(){var a=("undefined"==typeof window?t:window)||{};_crypto=a.crypto||a.msCrypto||n(882),e.exports=function(e){if(_crypto.getRandomValues){var t=new r(e);return _crypto.getRandomValues(t),t}if(_crypto.randomBytes)return _crypto.randomBytes(e);throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}}()}).call(t,function(){return this}(),n(877).Buffer)},function(e,t){},function(e,t,n){(function(t){function r(e){return function(){var n=[],r={update:function(e,r){return t.isBuffer(e)||(e=new t(e,r)),n.push(e),this},digest:function(r){var a=t.concat(n),o=e(a);return n=null,r?o.toString(r):o}};return r}}var a=n(884),o=r(n(892)),i=r(n(894));e.exports=function(e){return"md5"===e?new o:"rmd160"===e?new i:a(e)}}).call(t,n(877).Buffer)},function(e,t,n){var t=e.exports=function(e){var n=t[e];if(!n)throw new Error(e+" is not supported (we accept pull requests)");return new n},r=n(877).Buffer,a=n(885)(r);t.sha1=n(886)(r,a),t.sha256=n(890)(r,a),t.sha512=n(891)(r,a)},function(e,t){e.exports=function(e){function t(t,n){this._block=new e(t),this._finalSize=n,this._blockSize=t,this._len=0,this._s=0}return t.prototype.init=function(){this._s=0,this._len=0},t.prototype.update=function(t,n){"string"==typeof t&&(n=n||"utf8",t=new e(t,n));for(var r=this._len+=t.length,a=this._s=this._s||0,o=0,i=this._block;a<r;){for(var s=Math.min(t.length,o+this._blockSize-a%this._blockSize),c=s-o,u=0;u<c;u++)i[a%this._blockSize+u]=t[u+o];a+=c,o+=c,a%this._blockSize===0&&this._update(i)}return this._s=a,this},t.prototype.digest=function(e){var t=8*this._len;this._block[this._len%this._blockSize]=128,this._block.fill(0,this._len%this._blockSize+1),t%(8*this._blockSize)>=8*this._finalSize&&(this._update(this._block),this._block.fill(0)),this._block.writeInt32BE(t,this._blockSize-4);var n=this._update(this._block)||this._hash();return e?n.toString(e):n},t.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t}},function(e,t,n){var r=n(887).inherits;e.exports=function(e,t){function n(){return h.length?h.pop().init():this instanceof n?(this._w=f,t.call(this,64,56),this._h=null,void this.init()):new n}function a(e,t,n,r){return e<20?t&n|~t&r:e<40?t^n^r:e<60?t&n|t&r|n&r:t^n^r}function o(e){return e<20?1518500249:e<40?1859775393:e<60?-1894007588:-899497514}function i(e,t){return e+t|0}function s(e,t){return e<<t|e>>>32-t}var c=0,u=4,l=8,d=12,p=16,f=new("undefined"==typeof Int32Array?Array:Int32Array)(80),h=[];return r(n,t),n.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,t.prototype.init.call(this),this},n.prototype._POOL=h,n.prototype._update=function(e){var t,n,r,c,u,l,d,p,f,h;t=l=this._a,n=d=this._b,r=p=this._c,c=f=this._d,u=h=this._e;for(var m=this._w,M=0;M<80;M++){var _=m[M]=M<16?e.readInt32BE(4*M):s(m[M-3]^m[M-8]^m[M-14]^m[M-16],1),v=i(i(s(t,5),a(M,n,r,c)),i(i(u,_),o(M)));u=c,c=r,r=s(n,30),n=t,t=v}this._a=i(t,l),this._b=i(n,d),this._c=i(r,p),this._d=i(c,f),this._e=i(u,h)},n.prototype._hash=function(){h.length<100&&h.push(this);var t=new e(20);return t.writeInt32BE(0|this._a,c),t.writeInt32BE(0|this._b,u),t.writeInt32BE(0|this._c,l),t.writeInt32BE(0|this._d,d),t.writeInt32BE(0|this._e,p),t},n}},function(e,t,n){(function(e,r){function a(e,n){var r={seen:[],stylize:i};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(n)?r.showHidden=n:n&&t._extend(r,n),y(r.showHidden)&&(r.showHidden=!1),y(r.depth)&&(r.depth=2),y(r.colors)&&(r.colors=!1),y(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=o),c(r,e,r.depth)}function o(e,t){var n=a.styles[t];return n?"["+a.colors[n][0]+"m"+e+"["+a.colors[n][1]+"m":e}function i(e,t){return e}function s(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function c(e,n,r){if(e.customInspect&&n&&w(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var a=n.inspect(r,e);return g(a)||(a=c(e,a,r)),a}var o=u(e,n);if(o)return o;var i=Object.keys(n),m=s(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(n)),E(n)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return l(n);if(0===i.length){if(w(n)){var M=n.name?": "+n.name:"";return e.stylize("[Function"+M+"]","special")}if(A(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(L(n))return e.stylize(Date.prototype.toString.call(n),"date");if(E(n))return l(n)}var _="",v=!1,b=["{","}"];if(h(n)&&(v=!0,b=["[","]"]),w(n)){var y=n.name?": "+n.name:"";_=" [Function"+y+"]"}if(A(n)&&(_=" "+RegExp.prototype.toString.call(n)),L(n)&&(_=" "+Date.prototype.toUTCString.call(n)),E(n)&&(_=" "+l(n)),0===i.length&&(!v||0==n.length))return b[0]+_+b[1];if(r<0)return A(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special");e.seen.push(n);var T;return T=v?d(e,n,r,m,i):i.map(function(t){return p(e,n,r,m,t,v)}),e.seen.pop(),f(T,_,b)}function u(e,t){if(y(t))return e.stylize("undefined","undefined");if(g(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return v(t)?e.stylize(""+t,"number"):m(t)?e.stylize(""+t,"boolean"):M(t)?e.stylize("null","null"):void 0}function l(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,n,r,a){for(var o=[],i=0,s=t.length;i<s;++i)N(t,String(i))?o.push(p(e,t,n,r,String(i),!0)):o.push("");return a.forEach(function(a){a.match(/^\d+$/)||o.push(p(e,t,n,r,a,!0))}),o}function p(e,t,n,r,a,o){var i,s,u;if(u=Object.getOwnPropertyDescriptor(t,a)||{value:t[a]},u.get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),N(r,a)||(i="["+a+"]"),s||(e.seen.indexOf(u.value)<0?(s=M(n)?c(e,u.value,null):c(e,u.value,n-1),s.indexOf("\n")>-1&&(s=o?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n"))):s=e.stylize("[Circular]","special")),y(i)){if(o&&a.match(/^\d+$/))return s;i=JSON.stringify(""+a),i.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.substr(1,i.length-2),i=e.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=e.stylize(i,"string"))}return i+": "+s}function f(e,t,n){var r=0,a=e.reduce(function(e,t){return r++,t.indexOf("\n")>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return a>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function h(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function M(e){return null===e}function _(e){return null==e}function v(e){return"number"==typeof e}function g(e){return"string"==typeof e}function b(e){return"symbol"==typeof e}function y(e){return void 0===e}function A(e){return T(e)&&"[object RegExp]"===S(e)}function T(e){return"object"==typeof e&&null!==e}function L(e){return T(e)&&"[object Date]"===S(e)}function E(e){return T(e)&&("[object Error]"===S(e)||e instanceof Error)}function w(e){return"function"==typeof e}function z(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function S(e){return Object.prototype.toString.call(e)}function k(e){return e<10?"0"+e.toString(10):e.toString(10)}function O(){var e=new Date,t=[k(e.getHours()),k(e.getMinutes()),k(e.getSeconds())].join(":");return[e.getDate(),x[e.getMonth()],t].join(" ")}function N(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var C=/%[sdj%]/g;t.format=function(e){if(!g(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(a(arguments[n]));return t.join(" ")}for(var n=1,r=arguments,o=r.length,i=String(e).replace(C,function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),s=r[n];n<o;s=r[++n])i+=M(s)||!T(s)?" "+s:" "+a(s);return i},t.deprecate=function(n,a){function o(){if(!i){if(r.throwDeprecation)throw new Error(a);r.traceDeprecation?console.trace(a):console.error(a),i=!0}return n.apply(this,arguments)}if(y(e.process))return function(){return t.deprecate(n,a).apply(this,arguments)};if(r.noDeprecation===!0)return n;var i=!1;return o};var D,P={};t.debuglog=function(e){if(y(D)&&(D={NODE_ENV:"production"}.NODE_DEBUG||""),e=e.toUpperCase(),!P[e])if(new RegExp("\\b"+e+"\\b","i").test(D)){var n=r.pid;P[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else P[e]=function(){};return P[e]},t.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=h,t.isBoolean=m,t.isNull=M,t.isNullOrUndefined=_,t.isNumber=v,t.isString=g,t.isSymbol=b,t.isUndefined=y,t.isRegExp=A,t.isObject=T,t.isDate=L,t.isError=E,t.isFunction=w,t.isPrimitive=z,t.isBuffer=n(888);var x=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];t.log=function(){console.log("%s - %s",O(),t.format.apply(t,arguments))},t.inherits=n(889),t._extend=function(e,t){if(!t||!T(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(t,function(){return this}(),n(444))},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){var r=n(887).inherits;e.exports=function(e,t){function n(){this.init(),this._w=f,t.call(this,64,56)}function a(e,t){return e>>>t|e<<32-t}function o(e,t){return e>>>t}function i(e,t,n){return e&t^~e&n}function s(e,t,n){return e&t^e&n^t&n}function c(e){return a(e,2)^a(e,13)^a(e,22)}function u(e){return a(e,6)^a(e,11)^a(e,25)}function l(e){return a(e,7)^a(e,18)^o(e,3)}function d(e){return a(e,17)^a(e,19)^o(e,10)}var p=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],f=new Array(64);return r(n,t),n.prototype.init=function(){return this._a=1779033703,this._b=-1150833019,this._c=1013904242,this._d=-1521486534,this._e=1359893119,this._f=-1694144372,this._g=528734635,this._h=1541459225,this._len=this._s=0,this},n.prototype._update=function(e){var t,n,r,a,o,f,h,m,M,_,v=this._w;t=0|this._a,n=0|this._b,r=0|this._c,a=0|this._d,o=0|this._e,f=0|this._f,h=0|this._g,m=0|this._h;for(var g=0;g<64;g++){var b=v[g]=g<16?e.readInt32BE(4*g):d(v[g-2])+v[g-7]+l(v[g-15])+v[g-16];M=m+u(o)+i(o,f,h)+p[g]+b,_=c(t)+s(t,n,r),m=h,h=f,f=o,o=a+M,a=r,r=n,n=t,t=M+_}this._a=t+this._a|0,this._b=n+this._b|0,this._c=r+this._c|0,this._d=a+this._d|0,this._e=o+this._e|0,this._f=f+this._f|0,this._g=h+this._g|0,this._h=m+this._h|0},n.prototype._hash=function(){var t=new e(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},n}},function(e,t,n){var r=n(887).inherits;e.exports=function(e,t){function n(){this.init(),this._w=c,t.call(this,128,112)}function a(e,t,n){return e>>>n|t<<32-n}function o(e,t,n){return e&t^~e&n}function i(e,t,n){return e&t^e&n^t&n}var s=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],c=new Array(160);return r(n,t),n.prototype.init=function(){return this._a=1779033703,this._b=-1150833019,this._c=1013904242,this._d=-1521486534,this._e=1359893119,this._f=-1694144372,this._g=528734635,this._h=1541459225,this._al=-205731576,this._bl=-2067093701,this._cl=-23791573,this._dl=1595750129,this._el=-1377402159,this._fl=725511199,this._gl=-79577749,this._hl=327033209,this._len=this._s=0,this},n.prototype._update=function(e){var t,n,r,c,u,l,d,p,f,h,m,M,_,v,g,b,y=this._w;t=0|this._a,n=0|this._b,r=0|this._c,c=0|this._d,u=0|this._e,l=0|this._f,d=0|this._g,p=0|this._h,f=0|this._al,h=0|this._bl,m=0|this._cl,M=0|this._dl,_=0|this._el,v=0|this._fl,g=0|this._gl,b=0|this._hl;for(var A=0;A<80;A++){var T,L,E=2*A;if(A<16)T=y[E]=e.readInt32BE(4*E),L=y[E+1]=e.readInt32BE(4*E+4);else{var w=y[E-30],z=y[E-30+1],S=a(w,z,1)^a(w,z,8)^w>>>7,k=a(z,w,1)^a(z,w,8)^a(z,w,7);w=y[E-4],z=y[E-4+1];var O=a(w,z,19)^a(z,w,29)^w>>>6,N=a(z,w,19)^a(w,z,29)^a(z,w,6),C=y[E-14],D=y[E-14+1],P=y[E-32],x=y[E-32+1];L=k+D,T=S+C+(L>>>0<k>>>0?1:0),L+=N,T=T+O+(L>>>0<N>>>0?1:0),L+=x,T=T+P+(L>>>0<x>>>0?1:0),y[E]=T,y[E+1]=L}var j=i(t,n,r),W=i(f,h,m),Y=a(t,f,28)^a(f,t,2)^a(f,t,7),q=a(f,t,28)^a(t,f,2)^a(t,f,7),B=a(u,_,14)^a(u,_,18)^a(_,u,9),R=a(_,u,14)^a(_,u,18)^a(u,_,9),H=s[E],I=s[E+1],U=o(u,l,d),F=o(_,v,g),X=b+R,V=p+B+(X>>>0<b>>>0?1:0);X+=F,V=V+U+(X>>>0<F>>>0?1:0),X+=I,V=V+H+(X>>>0<I>>>0?1:0),X+=L,V=V+T+(X>>>0<L>>>0?1:0);var J=q+W,K=Y+j+(J>>>0<q>>>0?1:0);p=d,b=g,d=l,g=v,l=u,v=_,_=M+X|0,u=c+V+(_>>>0<M>>>0?1:0)|0,c=r,M=m,r=n,m=h,n=t,h=f,f=X+J|0,t=V+K+(f>>>0<X>>>0?1:0)|0}this._al=this._al+f|0,this._bl=this._bl+h|0,this._cl=this._cl+m|0,this._dl=this._dl+M|0,this._el=this._el+_|0,this._fl=this._fl+v|0,this._gl=this._gl+g|0,this._hl=this._hl+b|0,this._a=this._a+t+(this._al>>>0<f>>>0?1:0)|0,this._b=this._b+n+(this._bl>>>0<h>>>0?1:0)|0,this._c=this._c+r+(this._cl>>>0<m>>>0?1:0)|0,this._d=this._d+c+(this._dl>>>0<M>>>0?1:0)|0,this._e=this._e+u+(this._el>>>0<_>>>0?1:0)|0,this._f=this._f+l+(this._fl>>>0<v>>>0?1:0)|0,this._g=this._g+d+(this._gl>>>0<g>>>0?1:0)|0,this._h=this._h+p+(this._hl>>>0<b>>>0?1:0)|0},n.prototype._hash=function(){function t(e,t,r){n.writeInt32BE(e,r),n.writeInt32BE(t,r+4)}var n=new e(64);return t(this._a,this._al,0),t(this._b,this._bl,8),t(this._c,this._cl,16),t(this._d,this._dl,24),t(this._e,this._el,32),t(this._f,this._fl,40),t(this._g,this._gl,48),t(this._h,this._hl,56),n},n}},function(e,t,n){function r(e,t){e[t>>5]|=128<<t%32,e[(t+64>>>9<<4)+14]=t;for(var n=1732584193,r=-271733879,a=-1732584194,l=271733878,d=0;d<e.length;d+=16){var p=n,f=r,h=a,m=l;n=o(n,r,a,l,e[d+0],7,-680876936),l=o(l,n,r,a,e[d+1],12,-389564586),a=o(a,l,n,r,e[d+2],17,606105819),r=o(r,a,l,n,e[d+3],22,-1044525330),n=o(n,r,a,l,e[d+4],7,-176418897),l=o(l,n,r,a,e[d+5],12,1200080426),a=o(a,l,n,r,e[d+6],17,-1473231341),r=o(r,a,l,n,e[d+7],22,-45705983),n=o(n,r,a,l,e[d+8],7,1770035416),l=o(l,n,r,a,e[d+9],12,-1958414417),a=o(a,l,n,r,e[d+10],17,-42063),r=o(r,a,l,n,e[d+11],22,-1990404162),n=o(n,r,a,l,e[d+12],7,1804603682),l=o(l,n,r,a,e[d+13],12,-40341101),a=o(a,l,n,r,e[d+14],17,-1502002290),r=o(r,a,l,n,e[d+15],22,1236535329),n=i(n,r,a,l,e[d+1],5,-165796510),l=i(l,n,r,a,e[d+6],9,-1069501632),a=i(a,l,n,r,e[d+11],14,643717713),r=i(r,a,l,n,e[d+0],20,-373897302),n=i(n,r,a,l,e[d+5],5,-701558691),l=i(l,n,r,a,e[d+10],9,38016083),a=i(a,l,n,r,e[d+15],14,-660478335),r=i(r,a,l,n,e[d+4],20,-405537848),n=i(n,r,a,l,e[d+9],5,568446438),l=i(l,n,r,a,e[d+14],9,-1019803690),a=i(a,l,n,r,e[d+3],14,-187363961),r=i(r,a,l,n,e[d+8],20,1163531501),n=i(n,r,a,l,e[d+13],5,-1444681467),l=i(l,n,r,a,e[d+2],9,-51403784),a=i(a,l,n,r,e[d+7],14,1735328473),r=i(r,a,l,n,e[d+12],20,-1926607734),n=s(n,r,a,l,e[d+5],4,-378558),l=s(l,n,r,a,e[d+8],11,-2022574463),a=s(a,l,n,r,e[d+11],16,1839030562),r=s(r,a,l,n,e[d+14],23,-35309556),n=s(n,r,a,l,e[d+1],4,-1530992060),l=s(l,n,r,a,e[d+4],11,1272893353),a=s(a,l,n,r,e[d+7],16,-155497632),r=s(r,a,l,n,e[d+10],23,-1094730640),n=s(n,r,a,l,e[d+13],4,681279174),l=s(l,n,r,a,e[d+0],11,-358537222),a=s(a,l,n,r,e[d+3],16,-722521979),r=s(r,a,l,n,e[d+6],23,76029189),n=s(n,r,a,l,e[d+9],4,-640364487),l=s(l,n,r,a,e[d+12],11,-421815835),a=s(a,l,n,r,e[d+15],16,530742520),r=s(r,a,l,n,e[d+2],23,-995338651),n=c(n,r,a,l,e[d+0],6,-198630844),l=c(l,n,r,a,e[d+7],10,1126891415),a=c(a,l,n,r,e[d+14],15,-1416354905),r=c(r,a,l,n,e[d+5],21,-57434055),n=c(n,r,a,l,e[d+12],6,1700485571),l=c(l,n,r,a,e[d+3],10,-1894986606),a=c(a,l,n,r,e[d+10],15,-1051523),r=c(r,a,l,n,e[d+1],21,-2054922799),n=c(n,r,a,l,e[d+8],6,1873313359),l=c(l,n,r,a,e[d+15],10,-30611744),a=c(a,l,n,r,e[d+6],15,-1560198380),r=c(r,a,l,n,e[d+13],21,1309151649),n=c(n,r,a,l,e[d+4],6,-145523070),l=c(l,n,r,a,e[d+11],10,-1120210379),a=c(a,l,n,r,e[d+2],15,718787259),r=c(r,a,l,n,e[d+9],21,-343485551),n=u(n,p),r=u(r,f),a=u(a,h),l=u(l,m)}return Array(n,r,a,l)}function a(e,t,n,r,a,o){return u(l(u(u(t,e),u(r,o)),a),n)}function o(e,t,n,r,o,i,s){return a(t&n|~t&r,e,t,o,i,s)}function i(e,t,n,r,o,i,s){return a(t&r|n&~r,e,t,o,i,s)}function s(e,t,n,r,o,i,s){return a(t^n^r,e,t,o,i,s)}function c(e,t,n,r,o,i,s){return a(n^(t|~r),e,t,o,i,s)}function u(e,t){var n=(65535&e)+(65535&t),r=(e>>16)+(t>>16)+(n>>16);return r<<16|65535&n}function l(e,t){return e<<t|e>>>32-t}var d=n(893);e.exports=function(e){return d.hash(e,r,16)}},function(e,t,n){(function(t){function n(e,n){if(e.length%o!==0){var r=e.length+(o-e.length%o);e=t.concat([e,i],r)}for(var a=[],s=n?e.readInt32BE:e.readInt32LE,c=0;c<e.length;c+=o)a.push(s.call(e,c));return a}function r(e,n,r){for(var a=new t(n),o=r?a.writeInt32BE:a.writeInt32LE,i=0;i<e.length;i++)o.call(a,e[i],4*i,!0);return a}function a(e,a,o,i){t.isBuffer(e)||(e=new t(e));var c=a(n(e,i),e.length*s);return r(c,o,i)}var o=4,i=new t(o);i.fill(0);var s=8;e.exports={hash:a}}).call(t,n(877).Buffer)},function(e,t,n){(function(t){function n(e,t,n){return e^t^n}function r(e,t,n){return e&t|~e&n}function a(e,t,n){return(e|~t)^n}function o(e,t,n){return e&n|t&~n}function i(e,t,n){return e^(t|~n)}function s(e,t){return e<<t|e>>>32-t}function c(e){var n=[1732584193,4023233417,2562383102,271733878,3285377520];"string"==typeof e&&(e=new t(e,"utf8"));var r=m(e),a=8*e.length,o=8*e.length;r[a>>>5]|=128<<24-a%32,r[(a+64>>>9<<4)+14]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8);for(var i=0;i<r.length;i+=16)_(n,r,i);for(var i=0;i<5;i++){var s=n[i];n[i]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}var c=M(n);return new t(c)}e.exports=c;var u=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],l=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],d=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],p=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],f=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0],m=function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},M=function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},_=function(e,t,c){for(var m=0;m<16;m++){var M=c+m,_=t[M];t[M]=16711935&(_<<8|_>>>24)|4278255360&(_<<24|_>>>8)}var v,g,b,y,A,T,L,E,w,z;T=v=e[0],L=g=e[1],E=b=e[2],w=y=e[3],z=A=e[4];for(var S,m=0;m<80;m+=1)S=v+t[c+u[m]]|0,S+=m<16?n(g,b,y)+f[0]:m<32?r(g,b,y)+f[1]:m<48?a(g,b,y)+f[2]:m<64?o(g,b,y)+f[3]:i(g,b,y)+f[4],S=0|S,S=s(S,d[m]),S=S+A|0,v=A,A=y,y=s(b,10),b=g,g=S,S=T+t[c+l[m]]|0,S+=m<16?i(L,E,w)+h[0]:m<32?o(L,E,w)+h[1]:m<48?a(L,E,w)+h[2]:m<64?r(L,E,w)+h[3]:n(L,E,w)+h[4],S=0|S,S=s(S,p[m]),S=S+z|0,T=z,z=w,w=s(E,10),E=L,L=S;S=e[1]+b+w|0,e[1]=e[2]+y+z|0,e[2]=e[3]+A+T|0,e[3]=e[4]+v+L|0,e[4]=e[0]+g+E|0,e[0]=S}}).call(t,n(877).Buffer)},function(e,t,n){(function(t){function r(e,n){if(!(this instanceof r))return new r(e,n);this._opad=c,this._alg=e;var i="sha512"===e?128:64;n=this._key=t.isBuffer(n)?n:new t(n),n.length>i?n=a(e).update(n).digest():n.length<i&&(n=t.concat([n,o],i));for(var s=this._ipad=new t(i),c=this._opad=new t(i),u=0;u<i;u++)s[u]=54^n[u],c[u]=92^n[u];this._hash=a(e).update(s)}var a=n(883),o=new t(128);o.fill(0),e.exports=r,r.prototype.update=function(e,t){return this._hash.update(e,t),this},r.prototype.digest=function(e){var t=this._hash.digest();return a(this._alg).update(this._opad).update(t).digest(e)}}).call(t,n(877).Buffer)},function(e,t,n){var r=n(897);e.exports=function(e,t){t=t||{};var n=r(e);return t.pbkdf2=n.pbkdf2,t.pbkdf2Sync=n.pbkdf2Sync,t}},function(e,t,n){(function(t){e.exports=function(e){function n(e,t,n,a,o,i){if("function"==typeof o&&(i=o,o=void 0),"function"!=typeof i)throw new Error("No callback provided to pbkdf2");setTimeout(function(){var s;try{s=r(e,t,n,a,o)}catch(e){return i(e)}i(void 0,s)})}function r(n,r,a,o,i){if("number"!=typeof a)throw new TypeError("Iterations not a number");if(a<0)throw new TypeError("Bad iterations");if("number"!=typeof o)throw new TypeError("Key length not a number");if(o<0)throw new TypeError("Bad key length");i=i||"sha1",t.isBuffer(n)||(n=new t(n)),t.isBuffer(r)||(r=new t(r));var s,c,u,l=1,d=new t(o),p=new t(r.length+4);r.copy(p,0,0,r.length);for(var f=1;f<=l;f++){p.writeUInt32BE(f,r.length);var h=e.createHmac(i,n).update(p).digest();if(!s&&(s=h.length,u=new t(s),l=Math.ceil(o/s),c=o-(l-1)*s,o>(Math.pow(2,32)-1)*s))throw new TypeError("keylen exceeds maximum length");h.copy(u,0,0,s);for(var m=1;m<a;m++){h=e.createHmac(i,n).update(h).digest();for(var M=0;M<s;M++)u[M]^=h[M]}var _=(f-1)*s,v=f==l?c:s;u.copy(d,_,0,v)}return d}return{pbkdf2:n,pbkdf2Sync:r}}}).call(t,n(877).Buffer)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),o=r(a),i=n(142),s=r(i),c=n(154);t.default=s.default.createClass({displayName:"RootChild",propTypes:{children:i.PropTypes.node},contextTypes:{store:i.PropTypes.object},componentDidMount:function(){this.container=document.createElement("div"),document.body.appendChild(this.container),this.renderChildren()},componentDidUpdate:function(){this.renderChildren()},componentWillUnmount:function(){this.container&&(o.default.unmountComponentAtNode(this.container),document.body.removeChild(this.container),delete this.container)},renderChildren:function(){var e;e=this.props&&(Object.keys(this.props).length>1||!this.props.children)?s.default.createElement("div",this.props,this.props.children):this.props.children,this.context.store&&(e=s.default.createElement(c.Provider,{store:this.context.store},e)),o.default.render(e,this.container)},render:function(){return null}}),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(){var e={};return e.top=window.scrollY,e.left=window.scrollX,e.width=window.innerWidth,e.height=window.innerHeight,e.right=e.left+e.width,e.bottom=e.top+e.height,M("viewport: %o",e),e}function o(){g=a()}function i(e,t){for(var n=[e,_[e],v[e],_[v[e]]],r=-(1/0),a=void 0,o=0,i=n.length;o<i;o++){var s=n[o],c=t[s];if(c>0)return s;c>r&&(r=c,a=e)}return a}function s(e,t,n,r,a,o){for(var i=t?[e+" "+t,e,e+" "+_[t]]:[e,e+" "+v[e],e+" "+_[v[e]]],s=void 0,u=0,l=a*o,d=0,p=i.length;d<p;d++){var f=i[d],h=c(f,n,r),m=h.left+a,M=h.top+o,b=Math.min(h.top<g.top?M-g.top:g.bottom-h.top,o),y=Math.min(h.left<g.left?m-g.left:g.right-h.left,a),A=y*b;if(A===l)return f;A>u&&(u=A,s=f)}return s}function c(e,t,n){var r=15,a=(0,f.default)(t);if(!a)throw new Error("could not get bounding client rect of Tip element");var o=a.width,i=a.height,s=(0,f.default)(n);if(!s)throw new Error("could not get bounding client rect of `target`");var c=s.width,l=s.height,d=u(s,document);if(!d)throw new Error("could not determine page offset of `target`");var p={};switch(e){case"top":p={top:d.top-i,left:d.left+c/2-o/2};break;case"bottom":p={top:d.top+l,left:d.left+c/2-o/2};break;case"right":p={top:d.top+l/2-i/2,left:d.left+c};break;case"left":p={top:d.top+l/2-i/2,left:d.left-o};break;case"top left":p={top:d.top-i,left:d.left+c/2-o+r};break;case"top right":p={top:d.top-i,left:d.left+c/2-r};break;case"bottom left":p={top:d.top+l,left:d.left+c/2-o+r};break;case"bottom right":p={top:d.top+l,left:d.left+c/2-r};break;case"left top":p={top:d.top+l/2-i,left:d.left-o};break;case"left bottom":p={top:d.top+l/2,left:d.left-o};break;case"right top":p={top:d.top+l/2-i,left:d.left+c};break;case"right bottom":p={top:d.top+l/2,left:d.left+c};break;default:throw new Error('invalid position "'+e+'"');
28
- }return p}function u(e,t){var n=t.body||t.getElementsByTagName("body")[0],r=t.documentElement||n.parentNode,a=r.clientTop||n.clientTop||0,o=r.clientLeft||n.clientLeft||0,i=window.pageYOffset||r.scrollTop,s=window.pageXOffset||r.scrollLeft;return{top:e.top+i-a,left:e.left+s-o}}Object.defineProperty(t,"__esModule",{value:!0}),t.isElement=t.offset=t.suggested=t.unbindWindowListeners=t.bindWindowListeners=t.constrainLeft=void 0;var 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},d=function(){function e(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(a)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),p=n(900),f=r(p),h=n(468),m=r(h),M=(0,m.default)("calypso:popover:util"),_={top:"bottom",bottom:"top",left:"right",right:"left"},v={top:"right",left:"top",bottom:"left",right:"bottom"},g=a(),b=!1,y=function(){return b?M("window events already bound"):(b=!0,M("bind handlers to `resize` and `scroll` events"),window.addEventListener("resize",o,!0),void window.addEventListener("scroll",o,!0))},A=function(){return b?(b=!1,M("unbind handlers to `resize` and `scroll` events"),window.removeEventListener("resize",o,!0),void window.removeEventListener("scroll",o,!0)):M("window events are not bound")},T=function(e,t,n){var r=(0,f.default)(n),a=t.clientHeight,o=t.clientWidth,c={top:r.top-a,bottom:g.height-r.bottom-a,left:r.left-o,right:g.width-r.right-o},u=e.split(/\s+/),l=d(u,1),p=l[0],h=d(u,2),m=h[1],M=i(p,c);return m!==M&&m!==_[M]||(m=null),s(M,m,t,n,o,a)||e},L=function(e,t){var n=(0,f.default)(t).width;return e.left=Math.max(0,Math.min(e.left,g.width-n)),e},E=function(e){try{return e instanceof HTMLElement}catch(t){return"object"===("undefined"==typeof e?"undefined":l(e))&&1===e.nodeType&&"object"===l(e.style)&&"object"===l(e.ownerDocument)}};t.constrainLeft=L,t.bindWindowListeners=y,t.unbindWindowListeners=A,t.suggested=T,t.offset=c,t.isElement=E},function(e,t,n){function r(e){var t=null,n=a(e);if(3===e.nodeType){var r=n.createRange();r.selectNodeContents(e),e=r}if("function"==typeof e.getBoundingClientRect&&(t=e.getBoundingClientRect(),e.startContainer&&0===t.left&&0===t.top)){var o=n.createElement("span");o.appendChild(n.createTextNode("​")),e.insertNode(o),t=o.getBoundingClientRect();var i=o.parentNode;i.removeChild(o),i.normalize()}return t}var a=n(901);e.exports=r},function(e,t){function n(e){return e&&e.nodeType===a}function r(e){return n(e)?e:n(e.ownerDocument)?e.ownerDocument:n(e.document)?e.document:e.parentNode?r(e.parentNode):e.commonAncestorContainer?r(e.commonAncestorContainer):e.startContainer?r(e.startContainer):e.anchorNode?r(e.anchorNode):void 0}e.exports=r;var a=9},function(e,t){},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(142),u=r(c),l=n(747),d=r(l),p=n(869),f=r(p),h=n(803),m=r(h);n(905);var M=function(){},_=function(e){function t(){return a(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){if(!this.props.showOnMobile&&m.default.isMobile())return null;var e=(0,d.default)("dops-popover","dops-tooltip","is-"+this.props.position,this.props.className);return u.default.createElement(f.default,{autoPosition:this.props.autoPosition,className:e,rootClassName:this.props.rootClassName,context:this.props.context,id:this.props.id,isVisible:this.props.isVisible,onClose:M,position:this.props.position,showDelay:this.props.showDelay},this.props.children)}}]),t}(c.Component);_.propTypes={autoPosition:c.PropTypes.bool,className:c.PropTypes.string,id:c.PropTypes.string,isVisible:c.PropTypes.bool,position:c.PropTypes.string,rootClassName:c.PropTypes.string,status:c.PropTypes.string,showDelay:c.PropTypes.number,showOnMobile:c.PropTypes.bool},_.defaultProps={showDelay:100,position:"top",showOnMobile:!1},t.default=_,e.exports=t.default},function(e,t){},,function(e,t,n){"use strict";var r=n(142),a=n(866),o=n(908);e.exports=r.createClass({displayName:"ModuleChartXAxis",propTypes:{labelWidth:r.PropTypes.number.isRequired,data:r.PropTypes.array.isRequired},getInitialState:function(){return{divisor:1,spacing:this.props.labelWidth}},componentDidMount:function(){this.resizeThrottled=a(this.resize,400),window.addEventListener("resize",this.resizeThrottled),this.resize()},componentWillUnmount:function(){this.resizeThrottled.cancel&&this.resizeThrottled.cancel(),window.removeEventListener("resize",this.resizeThrottled)},componentWillReceiveProps:function(e){this.resize(e)},resize:function(e){if(this.isMounted()){var t,n,r,a,o,i,s=this.props;t=this.refs.axis,!e||e instanceof Event||(s=e),t.style.overflow="hidden",n=t.clientWidth,t.style.overflow="visible",r=s.data.length||1,a=n/r,o=s.labelWidth,i=Math.ceil(o/a),this.setState({divisor:i,spacing:a})}},render:function(){var e,t=this.props.data;return e=t.map(function(e,n){var a,i=n*this.state.spacing+(this.state.spacing-this.props.labelWidth)/2,s=t.length-n-1;return s%this.state.divisor===0&&(a=r.createElement(o,{key:n,label:e.label,width:this.props.labelWidth,x:i})),a},this),r.createElement("div",{ref:"axis",className:"dops-chart__x-axis"},e)}})},function(e,t,n){"use strict";var r=n(142);e.exports=r.createClass({displayName:"ModuleChartLabel",propTypes:{width:r.PropTypes.number.isRequired,x:r.PropTypes.number.isRequired,label:r.PropTypes.string.isRequired},render:function(){var e,t="left";return e={width:this.props.width+"px"},e[t]=this.props.x+"px",r.createElement("div",{className:"dops-chart__x-axis-label",style:e},this.props.label)}})},function(e,t){"use strict";e.exports={hasTouch:function(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch}}},function(e,t){},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(841),o=r(a),i=n(844),s=r(i),c=n(845),u=r(c),l=n(846),d=r(l),p=n(847),f=r(p),h=n(142),m=n(154),M=n(436),_=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,o.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentWillMount",value:function(){this.props.fetchingStatsData||this.props.fetchStatsData(this.props.range)}},{key:"render",value:function(){return null}}]),t}(h.Component);_.defaultProps={fetchStatsData:function(){}},t.default=(0,m.connect)(function(e){return{fetchStatsData:function(t){return(0,M.fetchStatsData)(e,t)},fetchingStatsData:(0,M.isFetchingStatsData)(e)}},function(e){return{fetchStatsData:function(t){return e((0,M.fetchStatsData)(t))}}})(_),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(266),o=r(a),i=n(142),s=r(i),c=n(837),u=r(c),l=n(656),d=r(l),p=n(466),f=s.default.createClass({displayName:"DashStatsBottom",statsBottom:function(){var e=void 0;return e="object"===(0,o.default)(this.props.statsData.general)?this.props.statsData.general.stats:{views:"-",comments:"-",views_today:"-",views_best_day:"-",views_best_day_total:"-"},[{viewsToday:e.views_today,bestDay:{day:e.views_best_day,count:e.views_best_day_total},allTime:{views:e.views,comments:e.comments}}]},render:function(){var e=this.statsBottom()[0];return s.default.createElement("div",null,s.default.createElement("div",{className:"jp-at-a-glance__stats-summary"},s.default.createElement("div",{className:"jp-at-a-glance__stats-summary-today"},s.default.createElement("p",{className:"jp-at-a-glance__stat-details"},(0,p.translate)("Views today",{comment:"Referring to a number of page views"})),s.default.createElement("h3",{className:"jp-at-a-glance__stat-number"},e.viewsToday)),s.default.createElement("div",{className:"jp-at-a-glance__stats-summary-bestday"},s.default.createElement("p",{className:"jp-at-a-glance__stat-details"},(0,p.translate)("Best overall day",{comment:"Referring to a number of page views"})),s.default.createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.bestDay.count?"-":(0,p.translate)("%(number)s View","%(number)s Views",{count:e.bestDay.count,args:{number:(0,p.numberFormat)(e.bestDay.count)}})),s.default.createElement("p",{className:"jp-at-a-glance__stat-details"},"-"===e.bestDay.day?"-":(0,p.moment)(e.bestDay.day).format("MMMM Do, YYYY"))),s.default.createElement("div",{className:"jp-at-a-glance__stats-summary-alltime"},s.default.createElement("div",{className:"jp-at-a-glance__stats-alltime-views"},s.default.createElement("p",{className:"jp-at-a-glance__stat-details"},(0,p.translate)("All-time views",{comment:"Referring to a number of page views"})),s.default.createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.allTime.views?"-":(0,p.numberFormat)(e.allTime.views))),s.default.createElement("div",{className:"jp-at-a-glance__stats-alltime-comments"},s.default.createElement("p",{className:"jp-at-a-glance__stat-details"},(0,p.translate)("All-time comments",{comment:"Referring to a number of comments"})),s.default.createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.allTime.comments?"-":(0,p.numberFormat)(e.allTime.comments))))),s.default.createElement("div",{className:"jp-at-a-glance__stats-cta"},s.default.createElement("div",{className:"jp-at-a-glance__stats-cta-description"}),s.default.createElement("div",{className:"jp-at-a-glance__stats-cta-buttons"},(0,p.translate)("{{button}}View Old Stats{{/button}}",{components:{button:s.default.createElement(u.default,{onClick:function(){return d.default.tracks.recordEvent("jetpack_wpa_aag_view_old_stats_click",{})},href:this.props.siteAdminUrl+"admin.php?page=stats"})}}),(0,p.translate)("{{button}}View More Stats on WordPress.com {{/button}}",{components:{button:s.default.createElement(u.default,{onClick:function(){return d.default.tracks.recordEvent("jetpack_wpa_aag_stats_wpcom_click",{})},className:"is-primary",href:"https://wordpress.com/stats/insights/"+this.props.siteRawUrl})}}))))}});t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(449),o=r(a),i=n(142),s=r(i),c=n(154),u=n(915),l=r(u),d=n(466),p=n(641),f=r(p),h=n(930),m=r(h),M=n(447),_=n(436),v=n(639),g=s.default.createClass({displayName:"DashProtect",getContent:function(){if(this.props.isModuleActivated("protect")){var e=this.props.protectCount;return!1===e||"0"===e||"N/A"===e?s.default.createElement(l.default,{label:"Protect",module:"protect",status:"is-working",className:"jp-dash-item__recently-activated"},s.default.createElement("div",{className:"jp-dash-item__recently-activated-lower"},s.default.createElement(m.default,null),s.default.createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Jetpack is actively blocking malicious login attempts. Data will display here soon!")))):s.default.createElement(l.default,{label:"Protect",module:"protect",status:"is-working"},s.default.createElement("h2",{className:"jp-dash-item__count"},(0,d.numberFormat)(e)),s.default.createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Total malicious attacks blocked on your site.")))}return s.default.createElement(l.default,{label:"Protect",module:"protect",className:"jp-dash-item__is-inactive"},s.default.createElement("p",{className:"jp-dash-item__description"},this.props.isDevMode?(0,d.translate)("Unavailable in Dev Mode"):(0,d.translate)("{{a}}Activate Protect{{/a}} to keep your site protected from malicious login attempts.",{components:{a:s.default.createElement("a",{href:"javascript:void(0)",onClick:this.props.activateProtect})}})))},render:function(){var e=(0,o.default)(this.props.moduleList);return(0,f.default)(e,"protect")?s.default.createElement("div",{className:"jp-dash-item__interior"},s.default.createElement(m.default,null),this.getContent()):null}});g.propTypes={isDevMode:s.default.PropTypes.bool.isRequired,protectCount:s.default.PropTypes.any.isRequired},t.default=(0,c.connect)(function(e){return{isModuleActivated:function(t){return(0,M.isModuleActivated)(e,t)},protectCount:(0,_.getProtectCount)(e),isDevMode:(0,v.isDevMode)(e),moduleList:(0,M.getModules)(e)}},function(e){return{activateProtect:function(){return e((0,M.activateModule)("protect"))},fetchProtectCount:function(){return e((0,_.fetchProtectCount)())}}})(g),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.DashItem=void 0;var a=n(142),o=r(a),i=n(863),s=r(i),c=n(154),u=n(916),l=r(u),d=n(466),p=n(837),f=r(p),h=n(641),m=r(h),M=n(832),_=r(M),v=n(919),g=r(v),b=n(922),y=n(639),A=n(447),T=n(926),L=r(T),E=n(347),w=t.DashItem=o.default.createClass({displayName:"DashItem",propTypes:{label:o.default.PropTypes.string,status:o.default.PropTypes.string,statusText:o.default.PropTypes.string,disabled:o.default.PropTypes.bool,module:o.default.PropTypes.string,pro:o.default.PropTypes.bool},getDefaultProps:function(){return{label:"",module:"",pro:!1}},render:function(){var e=void 0,t="",n=(0,s.default)(this.props.className,"jp-dash-item",this.props.disabled?"jp-dash-item__disabled":"");return""!==this.props.module&&(e=(0,m.default)(["protect","monitor","photon","vaultpress","scan","backups","akismet"],this.props.module)&&this.props.isDevMode?"":o.default.createElement(b.ModuleToggle,{slug:this.props.module,activated:this.props.isModuleActivated(this.props.module),toggling:this.props.isTogglingModule(this.props.module),toggleModule:this.props.toggleModule,compact:!0}),"manage"===this.props.module&&("is-warning"===this.props.status&&(e=o.default.createElement("a",{href:this.props.isModuleActivated("manage")?"https://wordpress.com/plugins/"+this.props.siteRawUrl:this.props.siteAdminUrl+"plugins.php"},o.default.createElement(l.default,{showDismiss:!1,status:this.props.status,isCompact:!0},(0,d.translate)("Updates Needed")))),"is-working"===this.props.status&&(e=o.default.createElement("span",{className:"jp-dash-item__active-label"},(0,d.translate)("Active"))))),this.props.pro&&!this.props.isDevMode&&(t=o.default.createElement(f.default,{compact:!0,href:"#/plans"},(0,d.translate)("Pro")),e=o.default.createElement(L.default,{proFeature:this.props.module,siteAdminUrl:this.props.siteAdminUrl})),o.default.createElement("div",{className:n},o.default.createElement(g.default,{label:this.props.label,cardBadge:t},this.props.userCanToggle?e:""),o.default.createElement(_.default,{className:"jp-dash-item__card",href:this.props.href},o.default.createElement("div",{className:"jp-dash-item__content"},this.props.children)))}});t.default=(0,c.connect)(function(e){return{isModuleActivated:function(t){return(0,A.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,A.isActivatingModule)(e,t)||(0,A.isDeactivatingModule)(e,t)},getModule:function(t){return(0,A.getModule)(e,t)},isDevMode:(0,y.isDevMode)(e),userCanToggle:(0,E.userCanManageModules)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,A.deactivateModule)(t):(0,A.activateModule)(t))}}})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(747),s=r(i),c=n(806),u=r(c),l=n(810),d=r(l);n(917),t.default=o.default.createClass({displayName:"SimpleNotice",dismissTimeout:null,getDefaultProps:function(){return{duration:0,status:null,showDismiss:!0,className:"",onDismissClick:u.default}},propTypes:{status:a.PropTypes.string,showDismiss:a.PropTypes.bool,isCompact:a.PropTypes.bool,duration:o.default.PropTypes.number,text:a.PropTypes.oneOfType([a.PropTypes.oneOfType([a.PropTypes.string,a.PropTypes.node]),a.PropTypes.arrayOf(a.PropTypes.oneOfType([a.PropTypes.string,a.PropTypes.node]))]),icon:a.PropTypes.string,className:a.PropTypes.string},componentDidMount:function(){this.props.duration>0&&(this.dismissTimeout=setTimeout(this.props.onDismissClick,this.props.duration))},componentWillUnmount:function(){this.dismissTimeout&&clearTimeout(this.dismissTimeout)},renderChildren:function(){var e=void 0;return"string"==typeof this.props.children?o.default.createElement("span",{className:"dops-notice__text"},this.props.children):(this.props.text?(e=[this.props.children],e.unshift(o.default.createElement("span",{key:"dops-notice_text",className:"dops-notice__text"},this.props.text))):e=o.default.createElement("span",{key:"dops-notice_text",className:"dops-notice__text"},this.props.children),e)},getIcon:function(){var e=void 0;switch(this.props.status){case"is-info":e="info";break;case"is-success":e="checkmark";break;case"is-error":e="notice";break;case"is-warning":e="notice";break;default:e="info"}return e},render:function(){var e=void 0,t=(0,s.default)("dops-notice",this.props.status);return this.props.isCompact&&(t=(0,s.default)(t,"is-compact")),this.props.showDismiss&&(t=(0,s.default)(t,"is-dismissable"),e=o.default.createElement("span",{tabIndex:"0",className:"dops-notice__dismiss",onClick:this.props.onDismissClick},o.default.createElement(d.default,{icon:"cross",size:24}))),o.default.createElement("div",{className:(0,s.default)(this.props.className,t)},o.default.createElement(d.default,{className:"dops-notice__icon",icon:this.props.icon||this.getIcon(),size:24}),o.default.createElement("div",{className:"dops-notice__content"},this.renderChildren()),e)}}),e.exports=t.default},function(e,t){},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(747),s=r(i),c=n(832),u=r(c);n(920),t.default=o.default.createClass({displayName:"SectionHeader",propTypes:{label:o.default.PropTypes.string,cardBadge:o.default.PropTypes.oneOfType([o.default.PropTypes.string,o.default.PropTypes.element,o.default.PropTypes.object])},getDefaultProps:function(){return{label:"",cardBadge:""}},render:function(){var e=(0,s.default)(this.props.className,"dops-section-header"),t=""!==this.props.cardBadge?o.default.createElement("span",{className:"dops-section-header__card-badge"},this.props.cardBadge):"";return o.default.createElement(u.default,{compact:!0,className:e},o.default.createElement("div",{className:"dops-section-header__label"},this.props.label,t),o.default.createElement("div",{className:"dops-section-header__actions"},this.props.children))}}),e.exports=t.default},function(e,t){},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ModuleToggle=void 0;var a=n(142),o=r(a),i=n(923),s=r(i);t.ModuleToggle=o.default.createClass({displayName:"ModuleToggle",propTypes:{toggleModule:o.default.PropTypes.func,activated:o.default.PropTypes.bool,disabled:o.default.PropTypes.bool,className:o.default.PropTypes.string,compact:o.default.PropTypes.bool,id:o.default.PropTypes.string},getDefaultProps:function(){return{activated:!1,disabled:!1}},toggleModule:function(){return this.props.toggleModule(this.props.slug,this.props.activated)},render:function(){return o.default.createElement(s.default,{checked:this.props.activated,toggling:this.props.toggling,className:this.props.className,disabled:this.props.disabled,id:this.props.id,compact:this.props.compact,onChange:this.toggleModule})}})},function(e,t,n){"use strict";var r=n(142),a=n(747),o=0;n(924),e.exports=r.createClass({displayName:"FormToggle",propTypes:{onChange:r.PropTypes.func,checked:r.PropTypes.bool,disabled:r.PropTypes.bool,className:r.PropTypes.string,compact:r.PropTypes.bool,id:r.PropTypes.string},getDefaultProps:function(){return{checked:!1,disabled:!1}},_onKeyDown:function(e){this.props.disabled||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.props.onChange()),this.props.onKeyDown&&this.props.onKeyDown(e)},render:function(){var e=this.props.id||"toggle-"+o++,t=a({"form-toggle":!0,"is-toggling":this.props.toggling,"is-compact":this.props.compact});return r.createElement("span",null,r.createElement("input",{className:a(this.props.className,t),type:"checkbox",checked:this.props.checked,readOnly:!0,disabled:this.props.disabled}),r.createElement("label",{className:"form-toggle__label",htmlFor:e},r.createElement("span",{className:"form-toggle__switch",disabled:this.props.disabled,id:e,onClick:this.props.onChange,onKeyDown:this._onKeyDown,role:"checkbox","aria-checked":this.props.checked,tabIndex:this.props.disabled?-1:0}),this.props.children))}})},function(e,t){},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(466),c=n(837),u=r(c),l=n(916),d=r(l),p=n(347),f=n(927),h=r(f),m=n(928),M=r(m),_=n(929),v=r(_),g=n(639),b=n(692),y=n(436),A=n(689),T=o.default.createClass({displayName:"ProStatus",propTypes:{isCompact:o.default.PropTypes.bool,proFeature:o.default.PropTypes.string},getDefaultProps:function(){return{isCompact:!0,proFeature:""}},render:function(){var e=this,t=this.props.sitePlan(),n="scan"===this.props.proFeature||"backups"===this.props.proFeature||"vaultpress"===this.props.proFeature?"vaultpress/vaultpress.php":"akismet/akismet.php",r=function(n,r,a){var i=e.props.getVaultPressData();if(e.props.isDevMode)return(0,s.translate)("Unavailable in Dev Mode");if("N/A"!==i&&"scan"===n&&0!==e.props.getScanThreats())return o.default.createElement(d.default,{showDismiss:!1,status:"is-error",isCompact:!0},(0,s.translate)("Threats found!"));if("akismet"===n){var c=e.props.getAkismetData();if("invalid_key"===c)return o.default.createElement("a",{href:e.props.siteAdminUrl+"admin.php?page=akismet-key-config"},o.default.createElement(d.default,{showDismiss:!1,status:"is-warning",isCompact:!0},(0,s.translate)("Invalid Key")))}if("seo-tools"===n&&"jetpack_business"!==t.product_slug)return o.default.createElement(u.default,{compact:!0,primary:!0,href:"https://wordpress.com/plans/"+e.props.siteRawUrl},(0,s.translate)("Upgrade"));if(t.product_slug){var l={};return l="jetpack_free"!==t.product_slug?{href:"https://wordpress.com/plugins/setup/"+e.props.siteRawUrl+"?only="+n,text:(0,s.translate)("Set up")}:{href:"https://wordpress.com/plans/"+e.props.siteRawUrl,text:(0,s.translate)("Upgrade")},r&&a?o.default.createElement("span",{className:"jp-dash-item__active-label"},(0,s.translate)("ACTIVE")):o.default.createElement(u.default,{compact:!0,primary:!0,href:l.href},l.text)}return r&&a?o.default.createElement("span",{className:"jp-dash-item__active-label"},(0,s.translate)("ACTIVE")):""};return o.default.createElement("div",null,o.default.createElement(h.default,null),o.default.createElement(v.default,null),o.default.createElement(M.default,null),r(this.props.proFeature,this.props.pluginActive(n),this.props.pluginInstalled(n)))}});t.default=(0,i.connect)(function(e){return{siteRawUrl:(0,p.getSiteRawUrl)(e),getScanThreats:function(){return(0,y.getVaultPressScanThreatCount)(e)},getVaultPressData:function(){return(0,y.getVaultPressData)(e)},getAkismetData:function(){return(0,y.getAkismetData)(e)},sitePlan:function(){return(0,A.getSitePlan)(e)},fetchingPluginsData:(0,b.isFetchingPluginsData)(e),pluginActive:function(t){return(0,b.isPluginActive)(e,t)},pluginInstalled:function(t){return(0,b.isPluginInstalled)(e,t)},isDevMode:(0,g.isDevMode)(e)}})(T),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.QuerySitePlugins=void 0;var a=n(142),o=r(a),i=n(154),s=n(692),c=t.QuerySitePlugins=o.default.createClass({displayName:"QuerySitePlugins",componentWillMount:function(){this.props.isFetchingPluginsData||this.props.fetchPluginsData()},render:function(){return null}});t.default=(0,i.connect)(function(e){return{isFetchingPluginsData:(0,s.isFetchingPluginsData)(e)}},function(e){return{fetchPluginsData:function(){return e((0,s.fetchPluginsData)())}}})(c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(841),o=r(a),i=n(844),s=r(i),c=n(845),u=r(c),l=n(846),d=r(l),p=n(847),f=r(p),h=n(142),m=n(154),M=n(161),_=n(436),v=n(447),g=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,o.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentWillMount",value:function(){!this.props.fetchingVaultPressData&&this.props.isModuleActivated("vaultpress")&&this.props.fetchVaultPressData()}},{key:"render",value:function(){return null}}]),t}(h.Component);g.defaultProps={fetchVaultPressData:function(){}},t.default=(0,m.connect)(function(e){return{fetchVaultPressData:(0,_.fetchVaultPressData)(),fetchingVaultPressData:(0,_.isFetchingVaultPressData)(e),isModuleActivated:function(t){return(0,v.isModuleActivated)(e,t)}}},function(e){return(0,M.bindActionCreators)({fetchVaultPressData:_.fetchVaultPressData},e)})(g),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(841),o=r(a),i=n(844),s=r(i),c=n(845),u=r(c),l=n(846),d=r(l),p=n(847),f=r(p),h=n(142),m=n(154),M=n(161),_=n(436),v=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,o.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentWillMount",value:function(){this.props.fetchingAkismetData||this.props.fetchAkismetData()}},{key:"render",value:function(){return null}}]),t}(h.Component);v.defaultProps={fetchAkismetData:function(){}},t.default=(0,m.connect)(function(e){return{fetchAkismetData:(0,_.fetchAkismetData)(),fetchingAkismetData:(0,_.isFetchingAkismetData)(e)}},function(e){return(0,M.bindActionCreators)({fetchAkismetData:_.fetchAkismetData},e)})(v),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(841),o=r(a),i=n(844),s=r(i),c=n(845),u=r(c),l=n(846),d=r(l),p=n(847),f=r(p),h=n(142),m=n(154),M=n(161),_=n(436),v=n(447),g=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,o.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentWillMount",value:function(){!this.props.fetchingProtectData&&this.props.isModuleActivated("protect")&&this.props.fetchProtectCount()}},{key:"render",value:function(){return null}}]),t}(h.Component);g.defaultProps={fetchProtectCount:function(){}},t.default=(0,m.connect)(function(e){return{fetchProtectCount:(0,_.fetchProtectCount)(),fetchingProtectData:(0,_.isFetchingProtectData)(e),isModuleActivated:function(t){return(0,v.isModuleActivated)(e,t)}}},function(e){return(0,M.bindActionCreators)({fetchProtectCount:_.fetchProtectCount},e)})(g),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(449),o=r(a),i=n(142),s=r(i),c=n(154),u=n(915),l=r(u),d=n(466),p=n(641),f=r(p),h=n(447),m=n(639),M=s.default.createClass({displayName:"DashMonitor",getContent:function(){var e=(0,d.translate)("Downtime Monitoring");return this.props.isModuleActivated("monitor")?s.default.createElement(l.default,{label:e,module:"monitor",status:"is-working"},s.default.createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Jetpack is monitoring your site. If we think your site is down, you will receive an email."))):s.default.createElement(l.default,{label:e,module:"monitor",className:"jp-dash-item__is-inactive"},s.default.createElement("p",{className:"jp-dash-item__description"},this.props.isDevMode?(0,d.translate)("Unavailable in Dev Mode."):(0,d.translate)("{{a}}Activate Monitor{{/a}} to receive notifications if your site goes down.",{components:{a:s.default.createElement("a",{href:"javascript:void(0)",onClick:this.props.activateMonitor})}})))},render:function(){var e=(0,o.default)(this.props.moduleList);return(0,f.default)(e,"monitor")?s.default.createElement("div",null,this.getContent()):null}});M.propTypes={isDevMode:s.default.PropTypes.bool.isRequired},t.default=(0,c.connect)(function(e){return{isModuleActivated:function(t){return(0,h.isModuleActivated)(e,t)},isDevMode:(0,m.isDevMode)(e),moduleList:(0,h.getModules)(e)}},function(e){return{activateMonitor:function(){return e((0,h.activateModule)("monitor"))}}})(M),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(915),c=r(s),u=n(466),l=n(928),d=r(l),p=n(447),f=n(689),h=n(692),m=n(436),M=n(639),_=o.default.createClass({displayName:"DashScan",getContent:function(){var e=this,t=(0,u.translate)("Malware Scanning"),n=!1!==this.props.sitePlan,r=this.props.vaultPressData,a=this.props.isPluginInstalled("vaultpress/vaultpress.php")?"pro-inactive":"pro-uninstalled";if(this.props.isModuleActivated("vaultpress")){if("N/A"===r)return o.default.createElement(c.default,{label:t},o.default.createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("Loading…")));var i=this.props.scanThreats;if(0!==i)return o.default.createElement(c.default,{label:t,module:"scan",status:"is-error",statusText:(0,u.translate)("Threats found"),pro:!0},o.default.createElement("h3",null,(0,u.translate)("Uh oh, %(number)s threat found.","Uh oh, %(number)s threats found.",{count:i,args:{number:(0,u.numberFormat)(i)}})),o.default.createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("{{a}}View details at VaultPress.com{{/a}}",{components:{a:o.default.createElement("a",{href:"https://dashboard.vaultpress.com/"})}}),o.default.createElement("br",null),(0,u.translate)("{{a}}Contact Support{{/a}}",{components:{a:o.default.createElement("a",{href:"https://jetpack.com/support"})}})));if("success"===r.code)return o.default.createElement(c.default,{label:t,module:"scan",status:"is-working",pro:!0},o.default.createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("No threats found, you're good to go!")))}var s=function(){return n?(0,u.translate)("For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.",{components:{a:o.default.createElement("a",{href:"https://wordpress.com/plugins/vaultpress",target:"_blank"})}}):(0,u.translate)("For automated, comprehensive scanning of security threats, please {{a}}upgrade your account{{/a}}.",{components:{a:o.default.createElement("a",{href:"https://wordpress.com/plans/"+e.props.siteRawUrl,target:"_blank"})}})};return o.default.createElement(c.default,{label:t,module:"scan",className:"jp-dash-item__is-inactive",status:n?a:"no-pro-uninstalled-or-inactive",pro:!0},o.default.createElement("p",{
29
- className:"jp-dash-item__description"},this.props.isDevMode?(0,u.translate)("Unavailable in Dev Mode."):s()))},render:function(){return o.default.createElement("div",null,o.default.createElement(d.default,null),this.getContent())}});_.propTypes={vaultPressData:o.default.PropTypes.any.isRequired,scanThreats:o.default.PropTypes.any.isRequired,isDevMode:o.default.PropTypes.bool.isRequired,siteRawUrl:o.default.PropTypes.string.isRequired,sitePlan:o.default.PropTypes.object.isRequired},t.default=(0,i.connect)(function(e){return{isModuleActivated:function(t){return(0,p.isModuleActivated)(e,t)},isFetchingModulesList:function(){return(0,p.isFetchingModulesList)(e)},vaultPressData:(0,m.getVaultPressData)(e),scanThreats:(0,m.getVaultPressScanThreatCount)(e),sitePlan:(0,f.getSitePlan)(e),isDevMode:(0,M.isDevMode)(e),isPluginInstalled:function(t){return(0,h.isPluginInstalled)(e,t)}}},function(e){return{activateModule:function(t){return e((0,p.activateModule)(t))}}})(_),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(915),c=r(s),u=n(466),l=n(929),d=r(l),p=n(436),f=n(689),h=n(447),m=o.default.createClass({displayName:"DashAkismet",activateManageAndRedirect:function(e){e.preventDefault(),this.props.activateModule("manage").then(window.location="https://wordpress.com/plugins/akismet/"+this.props.siteRawUrl).catch(console.log("Error: unable to activate Manage"))},getContent:function(){var e=this.props.getAkismetData(),t=this.props.siteAdminUrl+"admin.php?page=akismet-key-config",n=(0,u.translate)("Spam Protection"),r=!1!==this.props.getSitePlan();return"N/A"===e?o.default.createElement(c.default,{label:n,module:"akismet",pro:!0},o.default.createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("Loading…"))):"not_installed"===e?o.default.createElement(c.default,{label:n,module:"akismet",className:"jp-dash-item__is-inactive",status:r?"pro-uninstalled":"no-pro-uninstalled-or-inactive",pro:!0},o.default.createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("For state-of-the-art spam defense, please {{a}}install Akismet{{/a}}.",{components:{a:o.default.createElement("a",{href:"https://wordpress.com/plugins/akismet/"+this.props.siteRawUrl,target:"_blank"})}}))):"not_active"===e?o.default.createElement(c.default,{label:n,module:"akismet",status:r?"pro-inactive":"no-pro-uninstalled-or-inactive",className:"jp-dash-item__is-inactive",pro:!0},o.default.createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("For state-of-the-art spam defense, please {{a}}activate Akismet{{/a}}.",{components:{a:o.default.createElement("a",{href:"https://wordpress.com/plugins/akismet/"+this.props.siteRawUrl,target:"_blank"})}}))):"invalid_key"===e?o.default.createElement(c.default,{label:n,module:"akismet",className:"jp-dash-item__is-inactive",status:"is-warning",statusText:(0,u.translate)("Invalid Key"),pro:!0,siteAdminUrl:this.props.siteAdminUrl},o.default.createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("Whoops! Your Akismet key is missing or invalid. {{akismetSettings}}Go to Akismet settings to fix{{/akismetSettings}}.",{components:{akismetSettings:o.default.createElement("a",{href:t})}}))):o.default.createElement(c.default,{label:n,module:"akismet",status:"is-working",pro:!0},o.default.createElement("h2",{className:"jp-dash-item__count"},(0,u.numberFormat)(e.all.spam)),o.default.createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("Spam comments blocked.",{context:'Example: "412 Spam comments blocked"'})))},render:function(){return o.default.createElement("div",{className:"jp-dash-item__interior"},o.default.createElement(d.default,null),this.getContent())}});m.propTypes={siteRawUrl:o.default.PropTypes.string.isRequired,siteAdminUrl:o.default.PropTypes.string.isRequired},t.default=(0,i.connect)(function(e){return{getAkismetData:function(){return(0,p.getAkismetData)(e)},isModuleActivated:function(t){return(0,h.isModuleActivated)(e,t)},getSitePlan:function(){return(0,f.getSitePlan)(e)}}},function(e){return{activateModule:function(t){return e((0,h.activateModule)(t))}}})(m),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(915),c=r(s),u=n(466),l=n(928),d=r(l),p=n(447),f=n(689),h=n(692),m=n(436),M=n(639),_=o.default.createClass({displayName:"DashBackups",getContent:function(){var e=this,t=(0,u.translate)("Backups"),n=!1!==this.props.sitePlan,r=this.props.isPluginInstalled("vaultpress/vaultpress.php")?"pro-inactive":"pro-uninstalled";if(this.props.isModuleActivated("vaultpress")){var a=this.props.vaultPressData;if("N/A"===a)return o.default.createElement(c.default,{label:t},o.default.createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("Loading…")));if("success"===a.code)return o.default.createElement(c.default,{label:t,module:"backups",status:"is-working",className:"jp-dash-item__is-active",pro:!0},o.default.createElement("p",{className:"jp-dash-item__description"},a.message," ",(0,u.translate)("{{a}}View backup details{{/a}}.",{components:{a:o.default.createElement("a",{href:"https://dashboard.vaultpress.com",target:"_blank"})}})))}var i=function(){return n?(0,u.translate)("To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.",{components:{a:o.default.createElement("a",{href:"https://wordpress.com/plugins/vaultpress",target:"_blank"})}}):(0,u.translate)("To automatically back up your entire site, please {{a}}upgrade!{{/a}}.",{components:{a:o.default.createElement("a",{href:"https://wordpress.com/plans/"+e.props.siteRawUrl,target:"_blank"})}})};return o.default.createElement(c.default,{label:t,module:"backups",className:"jp-dash-item__is-inactive",status:n?r:"no-pro-uninstalled-or-inactive",pro:!0},o.default.createElement("p",{className:"jp-dash-item__description"},this.props.isDevMode?(0,u.translate)("Unavailable in Dev Mode."):i()))},render:function(){return o.default.createElement("div",{className:"jp-dash-item__interior"},o.default.createElement(d.default,null),this.getContent())}});_.propTypes={vaultPressData:o.default.PropTypes.any.isRequired,isDevMode:o.default.PropTypes.bool.isRequired,siteRawUrl:o.default.PropTypes.string.isRequired,sitePlan:o.default.PropTypes.object.isRequired},t.default=(0,i.connect)(function(e){return{isModuleActivated:function(t){return(0,p.isModuleActivated)(e,t)},isFetchingModulesList:function(){return(0,p.isFetchingModulesList)(e)},vaultPressData:(0,m.getVaultPressData)(e),sitePlan:(0,f.getSitePlan)(e),isDevMode:(0,M.isDevMode)(e),isPluginInstalled:function(t){return(0,h.isPluginInstalled)(e,t)}}},function(e){return{activateModule:function(t){return e((0,p.activateModule)(t))}}})(_),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(449),o=r(a),i=n(142),s=r(i),c=n(154),u=n(915),l=r(u),d=n(466),p=n(641),f=r(p),h=n(936),m=r(h),M=n(436),_=n(447),v=n(639),g=s.default.createClass({displayName:"DashPluginUpdates",activateAndRedirect:function(e){e.preventDefault(),this.props.activateManage().then(window.location="https://wordpress.com/plugins/"+this.props.siteRawUrl).catch(console.log("Error activating Manage"))},getContent:function(){var e=(0,d.translate)("Plugin Updates"),t=this.props.pluginUpdates,n=this.props.isModuleActivated("manage"),r=n?"https://wordpress.com/plugins/"+this.props.siteRawUrl:this.props.siteAdminUrl+"plugins.php";return"N/A"===t?s.default.createElement(l.default,{label:e,module:"manage",status:"is-working"},s.default.createElement(m.default,null),s.default.createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Loading…"))):"updates-available"===t.code?s.default.createElement(l.default,{label:e,module:"manage",status:"is-warning",siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl},s.default.createElement("h2",{className:"jp-dash-item__count"},(0,d.translate)("%(number)s plugin","%(number)s plugins",{count:t.count,args:{number:t.count}})),s.default.createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Needs updating. ","Need updating. ",{count:t.count,args:{number:t.count}}),this.props.isDevMode?"":n?(0,d.translate)("{{a}}Turn on plugin auto updates{{/a}}",{components:{a:s.default.createElement("a",{href:r})}}):(0,d.translate)("{{a}}Activate Manage and turn on auto updates{{/a}}",{components:{a:s.default.createElement("a",{onClick:this.activateAndRedirect,href:"javascript:void(0)"})}}))):s.default.createElement(l.default,{label:e,module:"manage",status:n?"is-working":"is-inactive"},s.default.createElement("p",{className:"jp-dash-item__description"},n?(0,d.translate)("All plugins are up-to-date. Awesome work!"):(0,d.translate)("{{a}}Activate Manage{{/a}} to turn on auto updates and manage your plugins from WordPress.com.",{components:{a:s.default.createElement("a",{onClick:this.props.activateManage,href:"javascript:void(0)"})}})))},render:function(){var e=(0,o.default)(this.props.moduleList);return(0,f.default)(e,"manage")?s.default.createElement("div",null,s.default.createElement(m.default,null),this.getContent()):null}});g.propTypes={isDevMode:s.default.PropTypes.bool.isRequired,siteRawUrl:s.default.PropTypes.string.isRequired,siteAdminUrl:s.default.PropTypes.string.isRequired,pluginUpdates:s.default.PropTypes.any.isRequired},t.default=(0,c.connect)(function(e){return{isModuleActivated:function(t){return(0,_.isModuleActivated)(e,t)},pluginUpdates:(0,M.getPluginUpdates)(e),isDevMode:(0,v.isDevMode)(e),moduleList:(0,_.getModules)(e)}},function(e){return{activateManage:function(){return e((0,_.activateModule)("manage"))}}})(g),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(841),o=r(a),i=n(844),s=r(i),c=n(845),u=r(c),l=n(846),d=r(l),p=n(847),f=r(p),h=n(142),m=n(154),M=n(161),_=n(436),v=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,o.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentWillMount",value:function(){this.props.fetchingPluginUpdates||this.props.fetchPluginUpdates()}},{key:"render",value:function(){return null}}]),t}(h.Component);v.defaultProps={fetchPluginUpdates:function(){}},t.default=(0,m.connect)(function(e){return{fetchPluginUpdates:(0,_.fetchPluginUpdates)(),fetchingPluginUpdates:(0,_.isFetchingPluginUpdates)(e)}},function(e){return(0,M.bindActionCreators)({fetchPluginUpdates:_.fetchPluginUpdates},e)})(v),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(449),o=r(a),i=n(142),s=r(i),c=n(154),u=n(915),l=r(u),d=n(466),p=n(641),f=r(p),h=n(447),m=n(639),M=s.default.createClass({displayName:"DashPhoton",getContent:function(){var e=(0,d.translate)("Image Performance %(photon)s",{args:{photon:"(Photon)"}});return this.props.isModuleActivated("photon")?s.default.createElement(l.default,{label:e,module:"photon",status:"is-working"},s.default.createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Jetpack is improving and optimizing your image speed."))):s.default.createElement(l.default,{label:e,module:"photon",className:"jp-dash-item__is-inactive"},s.default.createElement("p",{className:"jp-dash-item__description"},this.props.isDevMode?(0,d.translate)("Unavailable in Dev Mode"):(0,d.translate)("{{a}}Activate Photon{{/a}} to enhance the performance and speed of your images.",{components:{a:s.default.createElement("a",{href:"javascript:void(0)",onClick:this.props.activatePhoton})}})))},render:function(){var e=(0,o.default)(this.props.moduleList);return(0,f.default)(e,"photon")?s.default.createElement("div",{className:"jp-dash-item__interior"},this.getContent()):null}});M.propTypes={isDevMode:s.default.PropTypes.bool.isRequired},t.default=(0,c.connect)(function(e){return{isModuleActivated:function(t){return(0,h.isModuleActivated)(e,t)},isDevMode:(0,m.isDevMode)(e),moduleList:(0,h.getModules)(e)}},function(e){return{activatePhoton:function(){return e((0,h.activateModule)("photon"))}}})(M),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.QuerySite=void 0;var a=n(142),o=r(a),i=n(154),s=n(689),c=t.QuerySite=o.default.createClass({displayName:"QuerySite",componentDidMount:function(){this.props.isFetchingSiteData||this.props.fetchSiteData()},render:function(){return null}});t.default=(0,i.connect)(function(e){return{isFetchingSiteData:(0,s.isFetchingSiteData)(e)}},function(e){return{fetchSiteData:function(){return e((0,s.fetchSiteData)())}}})(c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.Engagement=void 0;var o=n(449),i=r(o),s=n(142),c=r(s),u=n(154),l=n(857),d=r(l),p=n(837),f=r(p),h=n(810),m=r(h),M=n(466),_=n(641),v=r(_),g=n(656),b=r(g),y=n(447),A=n(926),T=r(A),L=n(922),E=n(940),w=n(639),z=n(347),S=n(689),k=n(938),O=r(k),N=t.Engagement=function(e){var t=e.toggleModule,n=e.isModuleActivated,r=e.isTogglingModule,o=e.getModule,s=e.userCanManageModules,u=o("sitemaps").description,l=(0,i.default)(e.moduleList);e.isSitePublic||(u=c.default.createElement("span",null,u,c.default.createElement("p",{className:"jp-form-setting-explanation"},(0,M.translate)("Your site must be accessible by search engines for this feature to work properly. You can change this in {{a}}Reading Settings{{/a}}.",{components:{a:c.default.createElement("a",{href:e.siteAdminUrl+"options-reading.php#blog_public",className:"jetpack-js-stop-propagation"})}}))));var p=[["seo-tools",o("seo-tools").name,o("seo-tools").description,o("seo-tools").learn_more_button],["stats",o("stats").name,o("stats").description,o("stats").learn_more_button],["sharedaddy",o("sharedaddy").name,o("sharedaddy").description,o("sharedaddy").learn_more_button],["publicize",o("publicize").name,o("publicize").description,o("publicize").learn_more_button],["related-posts",o("related-posts").name,o("related-posts").description,o("related-posts").learn_more_button],["comments",o("comments").name,o("comments").description,o("comments").learn_more_button],["likes",o("likes").name,o("likes").description,o("likes").learn_more_button],["subscriptions",o("subscriptions").name,o("subscriptions").description,o("subscriptions").learn_more_button],["gravatar-hovercards",o("gravatar-hovercards").name,o("gravatar-hovercards").description,o("gravatar-hovercards").learn_more_button],["sitemaps",o("sitemaps").name,u,o("sitemaps").learn_more_button],["enhanced-distribution",o("enhanced-distribution").name,o("enhanced-distribution").description,o("enhanced-distribution").learn_more_button],["verification-tools",o("verification-tools").name,o("verification-tools").description,o("verification-tools").learn_more_button]],h=["publicize"];if(!s){var _=p.slice();_.reverse().forEach(function(e){(0,v.default)(h,e[0])&&p.unshift(e)}),p=p.filter(function(e,t){return p.indexOf(e)===t})}return p=p.map(function(i){if(!(0,v.default)(l,i[0]))return null;var u=e.isUnavailableInDevMode(i[0]),p=u?"devmode-disabled":"",_="",g=s||(0,v.default)(h,i[0]),y="seo-tools"===i[0],A={module:i[0],configure_url:""},w=n(i[0]);u?_=(0,M.translate)("Unavailable in Dev Mode"):s&&(y&&"undefined"!=typeof e.sitePlan.product_slug&&"jetpack_business"!==e.sitePlan.product_slug?_=c.default.createElement(T.default,{proFeature:i[0]}):(!y||"undefined"!=typeof e.sitePlan.product_slug&&"jetpack_business"===e.sitePlan.product_slug)&&(_=c.default.createElement(L.ModuleToggle,{slug:i[0],activated:w,toggling:r(i[0]),toggleModule:t})),y&&(i[1]=c.default.createElement("span",null,i[1],c.default.createElement(f.default,{compact:!0,href:"#/plans"},(0,M.translate)("Pro")))));var z=w?c.default.createElement(E.AllModuleSettings,{module:y?A:o(i[0])}):c.default.createElement("div",{dangerouslySetInnerHTML:a(o(i[0]))});return"seo-tools"===i[0]&&("undefined"!=typeof e.sitePlan.product_slug||u?"jetpack_business"===e.sitePlan.product_slug&&(A.configure_url=w?"https://wordpress.com/settings/seo/"+e.siteRawUrl:"inactive"):A.configure_url="checking",z=c.default.createElement(E.AllModuleSettings,{module:A})),!!g&&c.default.createElement(d.default,{className:p,key:"module-card_"+i[0],header:i[1],subheader:i[2],summary:_,expandedSummary:_,clickableHeaderText:!0,onOpen:function(){return b.default.tracks.recordEvent("jetpack_wpa_settings_card_open",{card:i[0],path:e.route.path})}},z,c.default.createElement("div",{className:"jp-module-settings__learn-more"},c.default.createElement(f.default,{borderless:!0,compact:!0,href:i[3]},c.default.createElement(m.default,{icon:"help-outline"}),c.default.createElement("span",{className:"screen-reader-text"},(0,M.translate)("Learn More")))),"stats"===i[0]&&w?c.default.createElement("div",{className:"jp-module-settings__read-more"},c.default.createElement("span",null,c.default.createElement("span",{className:"jp-module-settings__more-text"},(0,M.translate)("View {{a}}All Stats{{/a}}",{components:{a:c.default.createElement("a",{href:e.siteAdminUrl+"admin.php?page=stats"})}})))):"","subscriptions"===i[0]&&w?c.default.createElement("div",{className:"jp-module-settings__read-more"},c.default.createElement("span",null,c.default.createElement("span",{className:"jp-module-settings__more-text"},(0,M.translate)("View your {{a}}Email Followers{{/a}}",{components:{a:c.default.createElement("a",{href:"https://wordpress.com/people/email-followers/"+e.siteRawUrl})}})))):"")}),c.default.createElement("div",null,c.default.createElement(O.default,null),p)};t.default=(0,u.connect)(function(e){return{isModuleActivated:function(t){return(0,y.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,y.isActivatingModule)(e,t)||(0,y.isDeactivatingModule)(e,t)},getModule:function(t){return(0,y.getModule)(e,t)},isUnavailableInDevMode:function(t){return(0,w.isUnavailableInDevMode)(e,t)},siteRawUrl:(0,z.getSiteRawUrl)(e),siteAdminUrl:(0,z.getSiteAdminUrl)(e),isSitePublic:(0,z.isSitePublic)(e),sitePlan:(0,S.getSitePlan)(e),userCanManageModules:(0,z.userCanManageModules)(e),moduleList:(0,y.getModules)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,y.deactivateModule)(t):(0,y.activateModule)(t))}}})(N)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AllModuleSettings=void 0;var a=n(348),o=r(a),i=n(142),s=r(i),c=n(466),u=n(154),l=n(941),d=n(980),p=r(d),f=n(347),h=s.default.createClass({displayName:"AllModuleSettingsComponent",render:function(){var e=this.props.module;switch(e.module){case"videopress":return s.default.createElement(l.VideoPressSettings,{module:e});case"omnisearch":return s.default.createElement("div",null,s.default.createElement("span",{className:"jp-form-setting-explanation"},this.props.module.long_description),s.default.createElement("br",null),s.default.createElement(p.default,{className:"jp-module-settings__external-link",icon:!0,iconSize:16,href:"/wp-admin/admin.php?page=omnisearch"},(0,c.translate)("Search your content.")));case"post-by-email":return s.default.createElement(l.PostByEmailSettings,{module:e});case"custom-content-types":return s.default.createElement(l.CustomContentTypesSettings,{module:e});case"after-the-deadline":return s.default.createElement(l.AfterTheDeadlineSettings,{module:e});case"markdown":return s.default.createElement(l.MarkdownSettings,{module:e});case"tiled-gallery":return s.default.createElement(l.TiledGallerySettings,{module:e});case"minileven":return s.default.createElement(l.MinilevenSettings,{module:e});case"carousel":return s.default.createElement(l.CarouselSettings,{module:e});case"infinite-scroll":return s.default.createElement(l.InfiniteScrollSettings,{module:e});case"protect":return s.default.createElement(l.ProtectSettings,{module:e});case"monitor":return s.default.createElement(l.MonitorSettings,{module:e});case"scan":return""===e.configure_url?s.default.createElement("div",null,(0,c.translate)("Upgrade Jetpack and our state-of-the-art security scanner will hunt out malicious files and report them immediately so that you're never unaware of what is happening on your website.")):s.default.createElement("div",null,s.default.createElement("div",{className:"jp-form-setting-explanation"},(0,c.translate)('You can see the information about security scanning in the "At a Glance" section.')),s.default.createElement("br",null),s.default.createElement(p.default,{className:"jp-module-settings__external-link",icon:!0,iconSize:16,href:e.configure_url},(0,c.translate)("Configure your Security Scans")));case"sso":return s.default.createElement(l.SingleSignOnSettings,{module:e});case"seo-tools":return""===e.configure_url?s.default.createElement("div",null,(0,c.translate)("Make sure your site is easily found on search engines with SEO tools for your content and social posts.")):"checking"===e.configure_url?null:"inactive"===e.configure_url?s.default.createElement("div",null,(0,c.translate)("Activate this module to use the advanced SEO tools.")):s.default.createElement("div",null,s.default.createElement(p.default,{className:"jp-module-settings__external-link",icon:!0,iconSize:16,href:e.configure_url},(0,c.translate)("Configure your SEO settings.")));case"stats":return s.default.createElement(l.StatsSettings,{module:e});case"related-posts":return s.default.createElement(l.RelatedPostsSettings,{module:e});case"comments":return s.default.createElement(l.CommentsSettings,{module:e});case"subscriptions":return s.default.createElement(l.SubscriptionsSettings,(0,o.default)({module:e},this.props));case"likes":return s.default.createElement(l.LikesSettings,{module:e});case"verification-tools":return s.default.createElement(l.VerificationToolsSettings,{module:e});case"sitemaps":return s.default.createElement(l.SitemapsSettings,(0,o.default)({module:e},this.props));case"gravatar-hovercards":case"contact-form":case"latex":case"shortlinks":case"shortcodes":case"photon":case"widget-visibility":case"notifications":case"enhanced-distribution":return s.default.createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("This module has no configuration options")," ");case"akismet":case"backups":return""===e.configure_url?s.default.createElement("div",null,"akismet"===e.module?(0,c.translate)("Let search engines and visitors know that you are serious about your websites integrity by upgrading Jetpack. Our anti-spam tools will eliminate comment spam, protect your SEO, and make it easier for visitors to stay in touch."):(0,c.translate)("Real-time offsite backups with automated restores deliver peace-of-mind, so you can focus on writing great content and increasing traffic while we protect every aspect of your investment. Upgrade today.")):s.default.createElement("div",null,(0,c.translate)("{{link}}Configure your %(module_slug)s Settings {{/link}}",{components:{link:s.default.createElement(p.default,{className:"jp-module-settings__external-link",icon:!0,iconSize:16,href:e.configure_url})},args:{module_slug:"akismet"===e.module?"Akismet":"Backups"}}));case"custom-css":case"widgets":case"publicize":case"sharedaddy":default:return"publicize"===e.module&&(e.configure_url=this.props.adminUrl+"options-general.php?page=sharing"),s.default.createElement("div",null,(0,c.translate)("{{link}}Configure your %(module_slug)s Settings {{/link}}",{components:{link:s.default.createElement(p.default,{className:"jp-module-settings__external-link",icon:!0,iconSize:16,href:e.configure_url})},args:{module_slug:e.name}}))}}});t.AllModuleSettings=(0,u.connect)(function(e){return{adminUrl:(0,f.getSiteAdminUrl)(e)}})(h)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SitemapsSettings=t.MarkdownSettings=t.AfterTheDeadlineSettings=t.CustomContentTypesSettings=t.PostByEmailSettings=t.TiledGallerySettings=t.VerificationToolsSettings=t.MinilevenSettings=t.InfiniteScrollSettings=t.CarouselSettings=t.SingleSignOnSettings=t.MonitorSettings=t.ProtectSettings=t.StatsSettings=t.SubscriptionsSettings=t.CommentsSettings=t.LikesSettings=t.RelatedPostsSettings=t.SharedaddySettings=t.VideoPressSettings=void 0;var a=n(348),o=r(a),i=n(142),s=r(i),c=n(466),u=n(832),l=r(u),d=n(942),p=r(d),f=n(945),h=r(f),m=n(966),M=r(m),_=n(968),v=r(_),g=n(836),b=r(g),y=n(398),A=r(y),T=n(837),L=r(T),E=n(980),w=r(E),z=n(983),S=n(1004),k=n(1012),O=t.VideoPressSettings=s.default.createClass({displayName:"VideoPressSettings",render:function(){return s.default.createElement("div",null,s.default.createElement("p",{className:"jp-form-setting-explanation"},(0,c.translate)("The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.")),s.default.createElement("br",null),s.default.createElement("div",null,s.default.createElement(w.default,{className:"jp-module-settings__external-link",icon:!0,iconSize:16,href:this.props.module.configure_url},(0,c.translate)("Configure your VideoPress settings."))))}});t.VideoPressSettings=O=(0,k.ModuleSettingsForm)(O);var N=t.SharedaddySettings=s.default.createClass({displayName:"SharedaddySettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"option_name"},this.props,{label:(0,c.translate)("Subscriber")})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.SharedaddySettings=N=(0,k.ModuleSettingsForm)(N);var C=t.RelatedPostsSettings=s.default.createClass({displayName:"RelatedPostsSettings",renderPreviews:function(){var e=this.props.getOptionValue("show_headline"),t=this.props.getOptionValue("show_thumbnails"),n=[{url:"https://jetpackme.files.wordpress.com/2014/08/1-wpios-ipad-3-1-viewsite.png?w=350&h=200&crop=1",text:(0,c.translate)("Big iPhone/iPad Update Now Available")},{url:"https://jetpackme.files.wordpress.com/2014/08/wordpress-com-news-wordpress-for-android-ui-update2.jpg?w=350&h=200&crop=1",text:(0,c.translate)("The WordPress for Android App Gets a Big Facelift")},{url:"https://jetpackme.files.wordpress.com/2014/08/videopresswedding.jpg?w=350&h=200&crop=1",text:(0,c.translate)("Upgrade Focus: VideoPress For Weddings")}];return s.default.createElement("div",{className:"jp-related-posts-preview"},e?s.default.createElement("div",{className:"jp-related-posts-preview__title"},(0,c.translate)("Related")):"",n.map(function(e,n){return s.default.createElement("span",{key:"preview_"+n,className:"jp-related-posts-preview__item"},t?s.default.createElement("img",{src:e.url}):"",s.default.createElement("span",null,s.default.createElement("a",{href:"#/engagement"}," ",e.text," ")))}))},render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"show_headline",label:(0,c.translate)('Show a "Related" header to more clearly separate the related section from posts')},this.props)),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"show_thumbnails",label:(0,c.translate)("Use a large and visually striking layout")},this.props)),s.default.createElement("div",{className:"jp-related-posts-settings__preview-label"},(0,c.translate)("Preview")),s.default.createElement(l.default,null,this.renderPreviews()),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.RelatedPostsSettings=C=(0,k.ModuleSettingsForm)(C);var D=t.LikesSettings=s.default.createClass({displayName:"LikesSettings",render:function(){var e=this.props.module.configure_url;return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null," ",(0,c.translate)("WordPress.com Likes are:")),s.default.createElement(S.ModuleSettingRadios,(0,o.default)({name:"wpl_default"},this.props,{validValues:this.props.validValues("wpl_default")})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})),s.default.createElement("p",null,(0,c.translate)("{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}",{components:{a:s.default.createElement("a",{href:e})}})))}});t.LikesSettings=D=(0,k.ModuleSettingsForm)(D);var P=t.CommentsSettings=s.default.createClass({displayName:"CommentsSettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null,(0,c.translate)("Comments headline")),s.default.createElement(z.FormLabel,null,s.default.createElement(p.default,{name:"highlander_comment_form_prompt",value:this.props.getOptionValue("highlander_comment_form_prompt"),disabled:this.props.isUpdating("highlander_comment_form_prompt"),onChange:this.props.onOptionChange})),s.default.createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("A few catchy words to motivate your readers to comment."))),s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null,(0,c.translate)("Color Scheme")),s.default.createElement(S.ModuleSettingRadios,(0,o.default)({name:"jetpack_comment_form_color_scheme"},this.props,{validValues:this.props.validValues("jetpack_comment_form_color_scheme")})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.CommentsSettings=P=(0,k.ModuleSettingsForm)(P);var x=t.SubscriptionsSettings=s.default.createClass({displayName:"SubscriptionsSettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormLegend,null,(0,c.translate)("Can readers subscribe to your posts, comments or both?")),s.default.createElement(z.FormFieldset,null,s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"stb_enabled"},this.props,{label:(0,c.translate)('Show a "follow blog" options in the comment form')})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"stc_enabled"},this.props,{label:(0,c.translate)('Show a "follow comments" option in the comment form.')})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.SubscriptionsSettings=x=(0,k.ModuleSettingsForm)(x);var j=t.StatsSettings=s.default.createClass({displayName:"StatsSettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null,(0,c.translate)("Admin Bar")),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"admin_bar"},this.props,{label:(0,c.translate)("Put a chart showing 48 hours of views in the admin bar")}))),s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null,(0,c.translate)("Smiley")),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"hide_smile"},this.props,{label:(0,c.translate)("Hide the stats smiley face image. The image helps collect stats but should still work when hidden.")
30
- }))),s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null,(0,c.translate)("Registered Users: Count the page views of registered users who are logged in")),s.default.createElement(S.ModuleSettingMultipleSelectCheckboxes,(0,o.default)({name:"count_roles"},this.props,{validValues:this.props.getSiteRoles()}))),s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null,(0,c.translate)("Report Visibility: Select the roles that will be able to view stats reports")),s.default.createElement(S.ModuleSettingMultipleSelectCheckboxes,(0,o.default)({always_checked:["administrator"],name:"roles"},this.props,{validValues:this.props.getSiteRoles()})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.StatsSettings=j=(0,k.ModuleSettingsForm)(j);var W=t.ProtectSettings=s.default.createClass({displayName:"ProtectSettings",render:function(){var e=this.props.currentIp?s.default.createElement("p",null,(0,c.translate)("Your Current IP: %(ip)s",{args:{ip:this.props.currentIp}})):"";return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null,(0,c.translate)("Whitelist Management")),s.default.createElement("p",null,(0,c.translate)("Whitelisting an IP address prevents it from ever being blocked by Jetpack.")),s.default.createElement("small",null,(0,c.translate)("Make sure to add your most frequently used IP addresses as they can change between your home, office or other locations. Removing an IP address from the list below will remove it from your whitelist.")),e,s.default.createElement(z.FormLabel,null,s.default.createElement(h.default,{name:"jetpack_protect_global_whitelist",placeholder:"Example: 12.12.12.1-12.12.12.100",onChange:this.props.onOptionChange,value:this.props.getOptionValue("jetpack_protect_global_whitelist").local})),s.default.createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("IPv4 and IPv6 are acceptable. {{br/}} To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100",{components:{br:s.default.createElement("br",null)}})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});W.propTypes={currentIp:s.default.PropTypes.string.isRequired},t.ProtectSettings=W=(0,k.ModuleSettingsForm)(W);var Y=t.MonitorSettings=s.default.createClass({displayName:"MonitorSettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"monitor_receive_notifications"},this.props,{label:(0,c.translate)("Receive Monitor Email Notifications")})),s.default.createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Emails will be sent to ")+this.props.adminEmailAddress,". ",s.default.createElement("span",null," ",(0,c.translate)("{{a}}Edit{{/a}}",{components:{a:s.default.createElement("a",{href:"https://wordpress.com/settings/account/"})}}))),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.MonitorSettings=Y=(0,k.ModuleSettingsForm)(Y);var q=t.SingleSignOnSettings=s.default.createClass({displayName:"SingleSignOnSettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"jetpack_sso_match_by_email"},this.props,{label:(0,c.translate)("Match By Email")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"jetpack_sso_require_two_step"},this.props,{label:(0,c.translate)("Require Two-Step Authentication")})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.SingleSignOnSettings=q=(0,k.ModuleSettingsForm)(q);var B=t.CarouselSettings=s.default.createClass({displayName:"CarouselSettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null," ",(0,c.translate)("Mobile Promos")," "),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"carousel_display_exif"},this.props,{label:(0,c.translate)("Show photo metadata (Exif) in carousel, when available")}))),s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null," ",(0,c.translate)("Background Color")),s.default.createElement(S.ModuleSettingRadios,(0,o.default)({name:"carousel_background_color"},this.props,{validValues:this.props.validValues("carousel_background_color")})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.CarouselSettings=B=(0,k.ModuleSettingsForm)(B);var R=t.InfiniteScrollSettings=s.default.createClass({displayName:"InfiniteScrollSettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"infinite_scroll"},this.props,{label:(0,c.translate)("Scroll infinitely (Shows 7 posts on each load)")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"infinite_scroll_google_analytics"},this.props,{label:(0,c.translate)("Track each infinite Scroll post load as a page view in Google Analytics")})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.InfiniteScrollSettings=R=(0,k.ModuleSettingsForm)(R);var H=t.MinilevenSettings=s.default.createClass({displayName:"MinilevenSettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null," ",(0,c.translate)("Excerpts")," "),s.default.createElement(S.ModuleSettingRadios,(0,o.default)({name:"wp_mobile_excerpt"},this.props,{validValues:this.props.validValues("wp_mobile_excerpt")}))),s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null," ",(0,c.translate)("Featured Images")," "),s.default.createElement(S.ModuleSettingRadios,(0,o.default)({name:"wp_mobile_featured_images"},this.props,{validValues:this.props.validValues("wp_mobile_featured_images")}))),s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null," ",(0,c.translate)("Mobile Promos")," "),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"wp_mobile_app_promos"},this.props,{label:(0,c.translate)("Show a promo for the WordPress mobile apps in the footer of the mobile theme")})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.MinilevenSettings=H=(0,k.ModuleSettingsForm)(H);var I=t.VerificationToolsSettings=s.default.createClass({displayName:"VerificationToolsSettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement("p",{className:"jp-form-setting-explanation"},(0,c.translate)('Enter your meta key "content" value to verify your blog with {{a}}Google Search Console{{/a}}, {{a1}}Bing Webmaster Center{{/a1}} and {{a2}}Pinterest Site Verification{{/a2}}.',{components:{a:s.default.createElement("a",{href:"https://www.google.com/webmasters/tools/",target:"_blank"}),a1:s.default.createElement("a",{href:"http://www.bing.com/webmaster/",target:"_blank"}),a2:s.default.createElement("a",{href:"https://pinterest.com/website/verify/",target:"_blank"})}})),s.default.createElement("div",{className:"dops-card"},s.default.createElement(z.FormLabel,null,s.default.createElement(z.FormLegend,null,"Google"),s.default.createElement(p.default,{name:"google",value:this.props.getOptionValue("google"),placeholder:"Example: dBw5CvburAxi537Rp9qi5uG2174Vb6JwHwIRwPSLIK8",className:"widefat code",disabled:this.props.isUpdating("google"),onChange:this.props.onOptionChange})),s.default.createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Meta key example:")," <meta name='google-site-verification' content='",s.default.createElement("strong",{className:"code"},"dBw5CvburAxi537Rp9qi5uG2174Vb6JwHwIRwPSLIK8"),"'>")),s.default.createElement("div",{className:"dops-card"},s.default.createElement(z.FormLabel,null,s.default.createElement(z.FormLegend,null,"Bing"),s.default.createElement(p.default,{name:"bing",value:this.props.getOptionValue("bing"),placeholder:"Example: 12C1203B5086AECE94EB3A3D9830B2E",className:"widefat code",disabled:this.props.isUpdating("bing"),onChange:this.props.onOptionChange})),s.default.createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Meta key example:")," <meta name='msvalidate.01' content='",s.default.createElement("strong",null,"12C1203B5086AECE94EB3A3D9830B2E"),"'>")),s.default.createElement("div",{className:"dops-card"},s.default.createElement(z.FormLabel,null,s.default.createElement(z.FormLegend,null,"Pinterest"),s.default.createElement(p.default,{name:"pinterest",value:this.props.getOptionValue("pinterest"),placeholder:"Example: f100679e6048d45e4a0b0b92dce1efce",className:"widefat code",disabled:this.props.isUpdating("pinterest"),onChange:this.props.onOptionChange})),s.default.createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Meta key example:")," <meta name='p:domain_verify' content='",s.default.createElement("strong",null,"f100679e6048d45e4a0b0b92dce1efce"),"'>")),s.default.createElement("div",{className:"dops-card"},s.default.createElement(z.FormLabel,null,s.default.createElement(z.FormLegend,null,"Yandex"),s.default.createElement(p.default,{name:"yandex",value:this.props.getOptionValue("yandex"),placeholder:"Example: 44d68e1216009f40",className:"widefat code",disabled:this.props.isUpdating("yandex"),onChange:this.props.onOptionChange})),s.default.createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Meta key example:")," <meta name='yandex-verification' content='",s.default.createElement("strong",null,"44d68e1216009f40"),"'>")),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.VerificationToolsSettings=I=(0,k.ModuleSettingsForm)(I);var U=t.TiledGallerySettings=s.default.createClass({displayName:"TiledGallerySettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"tiled_galleries"},this.props,{label:(0,c.translate)("Display all your gallery pictures in a cool mosaic")})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.TiledGallerySettings=U=(0,k.ModuleSettingsForm)(U);var F=t.PostByEmailSettings=s.default.createClass({displayName:"PostByEmailSettings",regeneratePostByEmailAddress:function(e){e.preventDefault(),this.props.regeneratePostByEmailAddress()},address:function(){var e=this.props.getOptionValue("post_by_email_address");return e===!1?"":e},render:function(){return this.props.isCurrentUserLinked?s.default.createElement("form",null,s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLabel,null,s.default.createElement(z.FormLegend,null,(0,c.translate)("Email Address")),s.default.createElement(v.default,{value:this.address(),copy:(0,c.translate)("Copy",{context:"verb"}),copied:(0,c.translate)("Copied!"),prompt:(0,c.translate)("Highlight and copy the following text to your clipboard:")}),s.default.createElement(z.FormButton,{onClick:this.regeneratePostByEmailAddress},(0,c.translate)("Regenerate address"))))):s.default.createElement("div",null,s.default.createElement("div",{className:"jp-connection-settings"},s.default.createElement("div",{className:"jp-connection-settings__headline"},(0,c.translate)("Link your account to WordPress.com to start using this feature.")),s.default.createElement("div",{className:"jp-connection-settings__actions"},s.default.createElement(b.default,{connectUser:!0,from:"post-by-email"}))))}});F.propTypes={isCurrentUserLinked:s.default.PropTypes.bool.isRequired},t.PostByEmailSettings=F=(0,k.ModuleSettingsForm)(F);var X=t.CustomContentTypesSettings=s.default.createClass({displayName:"CustomContentTypesSettings",render:function(){var e=this,t=function(){return e.props.getOptionCurrentValue(e.props.module.module,"jetpack_portfolio")?s.default.createElement(L.default,{disabled:!e.props.shouldSaveButtonBeDisabled(),href:e.props.siteAdminUrl+"edit.php?post_type=jetpack-portfolio",compact:!0},(0,c.translate)("Configure Portfolios")):""},n=function(){return e.props.getOptionCurrentValue(e.props.module.module,"jetpack_testimonial")?s.default.createElement(L.default,{disabled:!e.props.shouldSaveButtonBeDisabled(),href:e.props.siteAdminUrl+"edit.php?post_type=jetpack-testimonial",compact:!0},(0,c.translate)("Configure Testimonials")):""};return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"jetpack_portfolio"},this.props,{label:(0,c.translate)("Enable Portfolio Projects for this site.")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"jetpack_testimonial"},this.props,{label:(0,c.translate)("Enable Testimonials for this site.")})),s.default.createElement("br",null),t(),n(),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});X.propTypes={siteAdminUrl:s.default.PropTypes.string.isRequired},t.CustomContentTypesSettings=X=(0,k.ModuleSettingsForm)(X);var V=t.AfterTheDeadlineSettings=s.default.createClass({displayName:"AfterTheDeadlineSettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null," ",(0,c.translate)("Proofreading")," "),s.default.createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Automatically proofread content when: ")),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"onpublish"},this.props,{label:(0,c.translate)("A post or page is first published")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"onupdate"},this.props,{label:(0,c.translate)("A post or page is updated")}))),s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null," ",(0,c.translate)("Automatic Language Detection")),s.default.createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("The proofreader supports English, French, German, Portuguese and Spanish.")),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"guess_lang"},this.props,{label:(0,c.translate)("Use automatically detected language to proofread posts and pages")}))),s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null," ",(0,c.translate)("English Options")," "),s.default.createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Enable proofreading for the following grammar and style rules: ")),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"Bias Language"},this.props,{label:(0,c.translate)("Bias Language")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"Cliches"},this.props,{label:(0,c.translate)("Clichés")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"Complex Expression"},this.props,{label:(0,c.translate)("Complex Phrases")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"Diacritical Marks"},this.props,{label:(0,c.translate)("Diacritical Marks")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"Double Negative"},this.props,{label:(0,c.translate)("Double Negatives")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"Hidden Verbs"},this.props,{label:(0,c.translate)("Hidden Verbs")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"Jargon Language"},this.props,{label:(0,c.translate)("Jargon")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"Passive voice"},this.props,{label:(0,c.translate)("Passive Voice")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"Phrases to Avoid"},this.props,{label:(0,c.translate)("Phrases to Avoid")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"Redundant Expression"},this.props,{label:(0,c.translate)("Redundant Phrases")}))),s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null,(0,c.translate)("Ignored Phrases")),s.default.createElement(M.default,{name:"ignored_phrases",placeholder:(0,c.translate)("Add a phrase"),value:""!==this.props.getOptionValue("ignored_phrases")?this.props.getOptionValue("ignored_phrases").split(","):[],onChange:this.props.onOptionChange})),s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.AfterTheDeadlineSettings=V=(0,k.ModuleSettingsForm)(V);var J=t.MarkdownSettings=s.default.createClass({displayName:"MarkdownSettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"wpcom_publish_comments_with_markdown"},this.props,{label:(0,c.translate)("Use Markdown for comments")})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.MarkdownSettings=J=(0,k.ModuleSettingsForm)(J);var K=t.SitemapsSettings=s.default.createClass({displayName:"SitemapsSettings",render:function(){var e=(0,A.default)(this.props,["module","extra","sitemap_url"],""),t=(0,A.default)(this.props,["module","extra","news_sitemap_url"],"");return s.default.createElement("div",null,s.default.createElement("p",null,(0,c.translate)("Search engines will find the sitemaps at these locations:")),s.default.createElement("p",null,(0,c.translate)("Sitemap: {{a}}%(url)s{{/a}}",{components:{a:s.default.createElement("a",{href:e,target:"_blank"})},args:{url:e}})),s.default.createElement("p",null,(0,c.translate)("News Sitemap: {{a}}%(url)s{{/a}}",{components:{a:s.default.createElement("a",{href:t,target:"_blank"})},args:{url:t}})))}});t.SitemapsSettings=K=(0,k.ModuleSettingsForm)(K)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(142),i=r(o),s=n(747),c=r(s);n(943),t.default=i.default.createClass({displayName:"TextInput",getDefaultProps:function(){return{isError:!1,isValid:!1,selectOnFocus:!1,type:"text"}},focus:function(){this.refs.textField.focus()},render:function(){var e=this.props,t=e.className,n=e.selectOnFocus,r=(0,c.default)(t,{"dops-text-input":!0,"is-error":this.props.isError,"is-valid":this.props.isValid});return i.default.createElement("input",a({},this.props,{ref:"textField",className:r,onClick:n?this.selectOnFocus:null}))},selectOnFocus:function(e){e.target.select()}}),e.exports=t.default},function(e,t){},,function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(142),o=n(747),i=n(946);n(964),e.exports=a.createClass({displayName:"Textarea",render:function(){return a.createElement("textarea",r({},i(this.props,"className"),{className:o(this.props.className,"dops-textarea")}),this.props.children)}})},function(e,t,n){var r=n(767),a=n(947),o=n(956),i=n(958),s=n(960),c=n(671),u=c(function(e,t){return null==e?{}:(t=r(o(t,1),String),i(e,a(s(e),t)))});e.exports=u},function(e,t,n){function r(e,t,n,r){var d=-1,p=o,f=!0,h=e.length,m=[],M=t.length;if(!h)return m;n&&(t=s(t,c(n))),r?(p=i,f=!1):t.length>=l&&(p=u,f=!1,t=new a(t));e:for(;++d<h;){var _=e[d],v=n?n(_):_;if(f&&v===v){for(var g=M;g--;)if(t[g]===v)continue e;m.push(_)}else p(t,v,r)||m.push(_)}return m}var a=n(948),o=n(950),i=n(953),s=n(767),c=n(954),u=n(955),l=200;e.exports=r},function(e,t,n){function r(e){var t=-1,n=e?e.length:0;for(this.__data__=new a;++t<n;)this.push(e[t])}var a=n(718),o=n(949);r.prototype.push=o,e.exports=r},function(e,t,n){function r(e){var t=this.__data__;if(a(e)){var n=t.__data__,r="string"==typeof e?n.string:n.hash;r[e]=o}else t.set(e,o)}var a=n(729),o="__lodash_hash_undefined__";e.exports=r},function(e,t,n){function r(e,t){return!!e.length&&a(e,t,0)>-1}var a=n(951);e.exports=r},function(e,t,n){function r(e,t,n){if(t!==t)return a(e,n);for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}var a=n(952);e.exports=r},function(e,t){function n(e,t,n){for(var r=e.length,a=t+(n?0:-1);n?a--:++a<r;){var o=e[a];if(o!==o)return a}return-1}e.exports=n},function(e,t){function n(e,t,n){for(var r=-1,a=e.length;++r<a;)if(n(t,e[r]))return!0;return!1}e.exports=n},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t,n){function r(e,t){var n=e.__data__;if(a(t)){var r=n.__data__,i="string"==typeof t?r.string:r.hash;return i[t]===o}return n.has(t)}var a=n(729),o="__lodash_hash_undefined__";e.exports=r},function(e,t,n){function r(e,t,n,c){c||(c=[]);for(var u=-1,l=e.length;++u<l;){var d=e[u];t>0&&s(d)&&(n||i(d)||o(d))?t>1?r(d,t-1,n,c):a(c,d):n||(c[c.length]=d)}return c}var a=n(957),o=n(680),i=n(682),s=n(681);e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}e.exports=n},function(e,t,n){function r(e,t){return e=Object(e),a(t,function(t,n){return n in e&&(t[n]=e[n]),t},{})}var a=n(959);e.exports=r},function(e,t){function n(e,t,n,r){var a=-1,o=e.length;for(r&&o&&(n=e[++a]);++a<o;)n=t(n,e[a],a,e);return n}e.exports=n},function(e,t,n){function r(e){for(var t=-1,n=s(e),r=a(e),c=r.length,l=o(e),d=!!l,p=l||[],f=p.length;++t<c;){var h=r[t];d&&("length"==h||i(h,f))||"constructor"==h&&(n||!u.call(e,h))||p.push(h)}return p}var a=n(961),o=n(678),i=n(670),s=n(684),c=Object.prototype,u=c.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){e=null==e?e:Object(e);var t=[];for(var n in e)t.push(n);return t}var a=n(962),o=n(963),i=Object.prototype,s=a?a.enumerate:void 0,c=i.propertyIsEnumerable;s&&!c.call({valueOf:1},"valueOf")&&(r=function(e){return o(s(e))}),e.exports=r},function(e,t,n){var r=n(462),a=r.Reflect;e.exports=a},function(e,t){function n(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}e.exports=n},function(e,t){},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(967),s=r(i),c=o.default.createClass({displayName:"JetpackTagsInput",getInitialState:function(){return{tags:this.props.value||[]}},handleChange:function(e){this.setState({tags:e}),this.props.onChange&&this.props.onChange({target:{name:this.props.name,value:e.join(",")}})},render:function(){var e=this.props;return o.default.createElement(s.default,{inputProps:{placeholder:e.placeholder},onChange:this.handleChange,value:this.state.tags})}});t.default=c,e.exports=t.default},function(e,t,n){var r,a,o;!function(i,s){a=[e,t,n(142)],r=s,o="function"==typeof r?r.apply(t,a):r,!(void 0!==o&&(e.exports=o))}(this,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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 s(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)}function c(e,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 u(e){for(var t=[],n=0;n<e.length;n++)t.indexOf(e[n])===-1&&t.push(e[n]);return t}function l(e){return window.clipboardData?window.clipboardData.getData("Text"):e.clipboardData?e.clipboardData.getData("text/plain"):""}function d(e){var t=e.tag,n=e.key,r=e.disabled,a=e.onRemove,o=e.classNameRemove,i=e.getTagDisplayValue,s=c(e,["tag","key","disabled","onRemove","classNameRemove","getTagDisplayValue"]);return m.default.createElement("span",_({key:n},s),i(t),!r&&m.default.createElement("a",{className:o,onClick:function(e){return a(n)}}))}function p(e){var t=e.onChange,n=e.value,r=(e.addTag,c(e,["onChange","value","addTag"]));return m.default.createElement("input",_({type:"text",onChange:t,value:n},r))}function f(e,t){return m.default.createElement("span",null,e,t)}function h(e){return e.split(" ").map(function(e){return e.trim()})}Object.defineProperty(t,"__esModule",{value:!0});var m=r(n),M=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};d.propTypes={key:m.default.PropTypes.number,tag:m.default.PropTypes.string,onRemove:m.default.PropTypes.func,classNameRemove:m.default.PropTypes.string,getTagDisplayValue:m.default.PropTypes.func},p.propTypes={value:m.default.PropTypes.string,onChange:m.default.PropTypes.func,addTag:m.default.PropTypes.func};var v={className:"react-tagsinput-input",placeholder:"Add a tag"},g=function(e){function t(){o(this,t);var e=i(this,Object.getPrototypeOf(t).call(this));return e.state={tag:"",isFocused:!1},e.focus=e.focus.bind(e),e.blur=e.blur.bind(e),e}return s(t,e),M(t,[{key:"_getTagDisplayValue",value:function(e){var t=this.props.tagDisplayProp;return t?e[t]:e}},{key:"_makeTag",value:function(e){var t=this.props.tagDisplayProp;return t?a({},t,e):e}},{key:"_removeTag",value:function(e){var t=this.props.value.concat([]);if(e>-1&&e<t.length){var n=t.splice(e,1);this.props.onChange(t,n,[e])}}},{key:"_clearInput",value:function(){this.setState({tag:""})}},{key:"_addTags",value:function(e){var t=this,n=this.props,r=n.validationRegex,a=n.onChange,o=n.onlyUnique,i=n.maxTags,s=n.value;if(o&&(e=u(e),e=e.filter(function(e){return s.every(function(n){return t._getTagDisplayValue(n)!==t._getTagDisplayValue(e)})})),e=e.filter(function(e){return r.test(t._getTagDisplayValue(e))}),e=e.filter(function(e){var n=t._getTagDisplayValue(e);return"function"==typeof n.trim?n.trim().length>0:n}),i>=0){var c=Math.max(i-s.length,0);e=e.slice(0,c)}if(e.length>0){for(var l=s.concat(e),d=[],p=0;p<e.length;p++)d.push(s.length+p);return a(l,e,d),this._clearInput(),!0}return this._clearInput(),!1}},{key:"focus",value:function(){this.refs.input&&"function"==typeof this.refs.input.focus&&this.refs.input.focus(),this.handleOnFocus()}},{key:"blur",value:function(){this.refs.input&&"function"==typeof this.refs.input.blur&&this.refs.input.blur(),this.handleOnBlur()}},{key:"accept",value:function(){var e=this.state.tag;return""!==e&&(e=this._makeTag(e),this._addTags([e]))}},{key:"addTag",value:function(e){return this._addTags([e])}},{key:"clearInput",value:function(){this._clearInput()}},{key:"handlePaste",value:function(e){var t=this,n=this.props,r=n.addOnPaste,a=n.pasteSplit;if(r){e.preventDefault();var o=l(e),i=a(o).map(function(e){return t._makeTag(e)});this._addTags(i)}}},{key:"handleKeyDown",value:function(e){if(!e.defaultPrevented){var t=this.props,n=t.value,r=t.removeKeys,a=t.addKeys,o=this.state.tag,i=""===o,s=e.keyCode,c=a.indexOf(s)!==-1,u=r.indexOf(s)!==-1;if(c){var l=this.accept();(l||13===s)&&e.preventDefault()}u&&n.length>0&&i&&(e.preventDefault(),this._removeTag(n.length-1))}}},{key:"handleClick",value:function(e){e.target===this.refs.div&&this.focus()}},{key:"handleChange",value:function(e){var t=this.props.inputProps.onChange,n=e.target.value;t&&t(e),this.setState({tag:n})}},{key:"handleOnFocus",value:function(e){var t=this.props.inputProps.onFocus;t&&t(e),this.setState({isFocused:!0})}},{key:"handleOnBlur",value:function(e){var t=this.props.inputProps.onBlur;if(this.setState({isFocused:!1}),null!=e&&(t&&t(e),this.props.addOnBlur)){var n=this._makeTag(e.target.value);this._addTags([n])}}},{key:"handleRemove",value:function(e){this._removeTag(e)}},{key:"inputProps",value:function(){var e=this.props.inputProps,t=(e.onChange,e.onFocus,e.onBlur,c(e,["onChange","onFocus","onBlur"])),n=_({},v,t);return this.props.disabled&&(n.disabled=!0),n}},{key:"componentDidMount",value:function(){this.setState({tag:this.props.currentValue})}},{key:"componentWillReceiveProps",value:function(e){e.currentValue&&this.setState({tag:e.currentValue})}},{key:"render",value:function(){var e=this,t=this.props,n=t.value,r=(t.onChange,t.tagProps),a=t.renderLayout,o=t.renderTag,i=t.renderInput,s=(t.addKeys,t.removeKeys,t.className),u=t.focusedClassName,l=(t.addOnBlur,t.addOnPaste,t.inputProps,t.pasteSplit,t.onlyUnique,t.maxTags,t.validationRegex,t.disabled),d=(t.tagDisplayProp,c(t,["value","onChange","tagProps","renderLayout","renderTag","renderInput","addKeys","removeKeys","className","focusedClassName","addOnBlur","addOnPaste","inputProps","pasteSplit","onlyUnique","maxTags","validationRegex","disabled","tagDisplayProp"]),this.state),p=d.tag,f=d.isFocused;f&&(s+=" "+u);var h=n.map(function(t,n){return o(_({key:n,tag:t,onRemove:e.handleRemove.bind(e),disabled:l,getTagDisplayValue:e._getTagDisplayValue.bind(e)},r))}),M=i(_({ref:"input",value:p,onPaste:this.handlePaste.bind(this),onKeyDown:this.handleKeyDown.bind(this),onChange:this.handleChange.bind(this),onFocus:this.handleOnFocus.bind(this),onBlur:this.handleOnBlur.bind(this),addTag:this.addTag.bind(this)},this.inputProps()));return m.default.createElement("div",{ref:"div",onClick:this.handleClick.bind(this),className:s},a(h,M))}}]),t}(m.default.Component);g.propTypes={focusedClassName:m.default.PropTypes.string,addKeys:m.default.PropTypes.array,addOnBlur:m.default.PropTypes.bool,addOnPaste:m.default.PropTypes.bool,currentValue:m.default.PropTypes.string,inputProps:m.default.PropTypes.object,onChange:m.default.PropTypes.func.isRequired,removeKeys:m.default.PropTypes.array,renderInput:m.default.PropTypes.func,renderTag:m.default.PropTypes.func,renderLayout:m.default.PropTypes.func,pasteSplit:m.default.PropTypes.func,tagProps:m.default.PropTypes.object,onlyUnique:m.default.PropTypes.bool,value:m.default.PropTypes.array.isRequired,maxTags:m.default.PropTypes.number,validationRegex:m.default.PropTypes.instanceOf(RegExp),
31
- disabled:m.default.PropTypes.bool,tagDisplayProp:m.default.PropTypes.string},g.defaultProps={className:"react-tagsinput",focusedClassName:"react-tagsinput--focused",currentValue:"",addKeys:[9,13],addOnBlur:!1,addOnPaste:!1,inputProps:{},removeKeys:[8],renderInput:p,renderTag:d,renderLayout:f,pasteSplit:h,tagProps:{className:"react-tagsinput-tag",classNameRemove:"react-tagsinput-remove"},onlyUnique:!1,maxTags:-1,validationRegex:/.*/,disabled:!1,tagDisplayProp:null},t.default=g,e.exports=t.default})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(142),i=r(o),s=n(747),c=r(s),u=n(946),l=r(u),d=n(969),p=r(d),f=n(942),h=r(f);n(978),t.default=i.default.createClass({displayName:"ClipboardButtonInput",propTypes:{value:o.PropTypes.string,disabled:o.PropTypes.bool,className:o.PropTypes.string,copied:o.PropTypes.string,copy:o.PropTypes.string,prompt:o.PropTypes.string},getInitialState:function(){return{isCopied:!1,disabled:!1}},getDefaultProps:function(){return{value:""}},componentWillUnmount:function(){clearTimeout(this.confirmationTimeout),delete this.confirmationTimeout},showConfirmation:function(){var e=this;this.setState({isCopied:!0}),this.confirmationTimeout=setTimeout(function(){e.setState({isCopied:!1})},4e3)},render:function(){return i.default.createElement("span",{className:(0,c.default)("dops-clipboard-button-input",this.props.className)},i.default.createElement(h.default,a({},(0,l.default)(this.props,"className"),{type:"text",selectOnFocus:!0,readOnly:!0})),i.default.createElement(p.default,{text:this.props.value,onCopy:this.showConfirmation,disabled:this.props.disabled,prompt:this.props.prompt,compact:!0},this.state.isCopied?this.props.copied:this.props.copy))}}),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(837),i=r(o),s=n(1),c=n(142),u=n(970),l=n(946),d=n(806),p=n(747);e.exports=c.createClass({displayName:"ClipboardButton",propTypes:{className:c.PropTypes.string,text:c.PropTypes.string,prompt:c.PropTypes.string,onCopy:c.PropTypes.func},getDefaultProps:function(){return{onCopy:d}},componentDidMount:function(){var e=this,t=s.findDOMNode(this.refs.button);this.clipboard=new u(t,{text:function(){return e.props.text}}),this.clipboard.on("success",this.props.onCopy),this.clipboard.on("error",this.displayPrompt)},componentWillUnmount:function(){this.clipboard.destroy(),delete this.clipboard},displayPrompt:function(){window.prompt(this.props.prompt,this.props.text)},render:function(){var e=p("dops-clipboard-button",this.props.className);return c.createElement(i.default,a({ref:"button"},l(this.props,Object.keys(this.constructor.propTypes)),{className:e}))}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}t.__esModule=!0;var s=n(971),c=r(s),u=n(973),l=r(u),d=n(974),p=r(d),f=function(e){function t(n,r){a(this,t),e.call(this),this.resolveOptions(r),this.listenClick(n)}return o(t,e),t.prototype.resolveOptions=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText},t.prototype.listenClick=function(e){var t=this;this.listener=p.default(e,"click",function(e){return t.onClick(e)})},t.prototype.onClick=function(e){this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new c.default({action:this.action(e.target),target:this.target(e.target),text:this.text(e.target),trigger:e.target,emitter:this})},t.prototype.defaultAction=function(e){return i("action",e)},t.prototype.defaultTarget=function(e){var t=i("target",e);if(t)return document.querySelector(t)},t.prototype.defaultText=function(e){return i("text",e)},t.prototype.destroy=function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)},t}(l.default);t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(972),s=r(i),c=function(){function e(t){a(this,e),this.resolveOptions(t),this.initSelection()}return e.prototype.resolveOptions=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.action=e.action,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""},e.prototype.initSelection=function(){if(this.text&&this.target)throw new Error('Multiple attributes declared, use either "target" or "text"');if(this.text)this.selectFake();else{if(!this.target)throw new Error('Missing required attributes, use either "target" or "text"');this.selectTarget()}},e.prototype.selectFake=function(){var e=this;this.removeFake(),this.fakeHandler=document.body.addEventListener("click",function(){return e.removeFake()}),this.fakeElem=document.createElement("textarea"),this.fakeElem.style.position="absolute",this.fakeElem.style.left="-9999px",this.fakeElem.style.top=(window.pageYOffset||document.documentElement.scrollTop)+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,document.body.appendChild(this.fakeElem),this.selectedText=s.default(this.fakeElem),this.copyText()},e.prototype.removeFake=function(){this.fakeHandler&&(document.body.removeEventListener("click"),this.fakeHandler=null),this.fakeElem&&(document.body.removeChild(this.fakeElem),this.fakeElem=null)},e.prototype.selectTarget=function(){this.selectedText=s.default(this.target),this.copyText()},e.prototype.copyText=function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)},e.prototype.handleResult=function(e){e?this.emitter.emit("success",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)}):this.emitter.emit("error",{action:this.action,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})},e.prototype.clearSelection=function(){this.target&&this.target.blur(),window.getSelection().removeAllRanges()},e.prototype.destroy=function(){this.removeFake()},o(e,[{key:"action",set:function(){var e=arguments.length<=0||void 0===arguments[0]?"copy":arguments[0];if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!=typeof e||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');this._target=e}},get:function(){return this._target}}]),e}();t.default=c,e.exports=t.default},function(e,t){function n(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)e.focus(),e.setSelectionRange(0,e.value.length),t=e.value;else{e.hasAttribute("contenteditable")&&e.focus();var n=window.getSelection(),r=document.createRange();r.selectNodeContents(e),n.removeAllRanges(),n.addRange(r),t=n.toString()}return t}e.exports=n},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function r(){a.off(e,r),t.apply(n,arguments)}var a=this;return r._=t,this.on(e,r,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,a=n.length;for(r;r<a;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],a=[];if(r&&t)for(var o=0,i=r.length;o<i;o++)r[o].fn!==t&&r[o].fn._!==t&&a.push(r[o]);return a.length?n[e]=a:delete n[e],this}},e.exports=n},function(e,t,n){function r(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(n))throw new TypeError("Third argument must be a Function");if(s.node(e))return a(e,t,n);if(s.nodeList(e))return o(e,t,n);if(s.string(e))return i(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function a(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}function o(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}function i(e,t,n){return c(document.body,e,t,n)}var s=n(975),c=n(976);e.exports=r},function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t}},function(e,t,n){function r(e,t,n,r,o){var i=a.apply(this,arguments);return e.addEventListener(n,i,o),{destroy:function(){e.removeEventListener(n,i,o)}}}function a(e,t,n,r){return function(n){n.delegateTarget=o(n.target,t),n.delegateTarget&&r.call(e,n)}}var o=n(977);e.exports=r},function(e,t){function n(e,t){for(;e&&e!==document;){if(e.matches(t))return e;e=e.parentNode}}if(Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}e.exports=n},function(e,t){},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(792),s=r(i),c=n(747),u=r(c),l=n(657),d=r(l),p=n(946),f=r(p),h=n(810),m=r(h);n(981),t.default=o.default.createClass({displayName:"ExternalLink",mixins:[s.default],propTypes:{className:o.default.PropTypes.string,href:o.default.PropTypes.string,onClick:o.default.PropTypes.func,icon:o.default.PropTypes.bool,iconSize:o.default.PropTypes.number},getDefaultProps:function(){return{iconSize:18}},render:function(){var e=(0,u.default)("dops-external-link",this.props.className,{"has-icon":!!this.props.icon}),t=(0,d.default)({},(0,f.default)(this.props,"icon","iconSize"),{className:e,rel:"external"});return o.default.createElement("a",t,this.props.children,this.props.icon?o.default.createElement(m.default,{icon:"external",size:this.props.iconSize}):null)}}),e.exports=t.default},function(e,t){},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FormButton=t.FormRadio=t.FormTextarea=t.FormTextInput=t.FormCheckbox=t.FormLegend=t.FormLabel=t.FormFieldset=void 0;var a=n(348),o=r(a),i=n(863),s=r(i),c=n(984),u=r(c),l=n(1003),d=r(l),p=n(466),f=n(837),h=r(f),m=n(142),M=n(863);t.FormFieldset=m.createClass({displayName:"FormFieldset",render:function(){return m.createElement("fieldset",(0,o.default)({},(0,u.default)(this.props,"className"),{className:M(this.props.className,"jp-form-fieldset")}),this.props.children)}}),t.FormLabel=m.createClass({displayName:"FormLabel",render:function(){return m.createElement("label",(0,o.default)({},(0,u.default)(this.props,"className"),{className:M(this.props.className,"jp-form-label")}),this.props.children)}}),t.FormLegend=m.createClass({displayName:"FormLegend",render:function(){return m.createElement("legend",(0,o.default)({},(0,u.default)(this.props,"className"),{className:M(this.props.className,"jp-form-legend")}),this.props.children)}}),t.FormCheckbox=m.createClass({displayName:"FormInputCheckbox",render:function(){var e=(0,u.default)(this.props,["className","type"]);return m.createElement("input",(0,o.default)({},e,{type:"checkbox",className:M(this.props.className,"jp-form-checkbox")}))}}),t.FormTextInput=m.createClass({displayName:"FormTextInput",getDefaultProps:function(){return{isError:!1,isValid:!1,selectOnFocus:!1,type:"text"}},focus:function(){this.refs.textField.focus()},render:function(){var e=this.props,t=e.className,n=e.selectOnFocus,r=(0,s.default)(t,{"jp-form-text-input":!0,"is-error":this.props.isError,"is-valid":this.props.isValid});return m.createElement("input",(0,o.default)({},this.props,{ref:"textField",className:r,onClick:n?this.selectOnFocus:null}))},selectOnFocus:function(e){e.target.select()}}),t.FormTextarea=m.createClass({displayName:"FormTextarea",render:function(){return m.createElement("textarea",(0,o.default)({},(0,u.default)(this.props,"className"),{className:M(this.props.className,"jp-form-textarea")}),this.props.children)}}),t.FormRadio=m.createClass({displayName:"FormRadio",render:function(){var e=(0,u.default)(this.props,["className","type"]);return m.createElement("input",(0,o.default)({},e,{type:"radio",className:M(this.props.className,"jp-form-radio")}))}}),t.FormButton=m.createClass({displayName:"FormsButton",getDefaultProps:function(){return{isSubmitting:!1,isPrimary:!0,type:"submit"}},getDefaultButtonAction:function(){return this.props.isSubmitting?(0,p.translate)("Saving…"):(0,p.translate)("Save Settings")},render:function(){var e=(0,s.default)({"jp-form-button":!0});return m.createElement(h.default,(0,o.default)({},(0,u.default)(this.props,"className"),{primary:this.props.isPrimary,className:M(this.props.className,e)}),(0,d.default)(this.props.children)?this.getDefaultButtonAction():this.props.children)}})},function(e,t,n){var r=n(430),a=n(985),o=n(988),i=n(990),s=n(995),c=n(433),u=i(function(e,t){return null==e?{}:(t=r(t,c),o(e,a(s(e),t)))});e.exports=u},function(e,t,n){function r(e,t,n,r){var d=-1,p=o,f=!0,h=e.length,m=[],M=t.length;if(!h)return m;n&&(t=s(t,c(n))),r?(p=i,f=!1):t.length>=l&&(p=u,f=!1,t=new a(t));e:for(;++d<h;){var _=e[d],v=n?n(_):_;if(_=r||0!==_?_:0,f&&v===v){for(var g=M;g--;)if(t[g]===v)continue e;m.push(_)}else p(t,v,r)||m.push(_)}return m}var a=n(613),o=n(986),i=n(987),s=n(430),c=n(394),u=n(617),l=200;e.exports=r},function(e,t,n){function r(e,t){var n=e?e.length:0;return!!n&&a(e,t,0)>-1}var a=n(642);e.exports=r},function(e,t){function n(e,t,n){for(var r=-1,a=e?e.length:0;++r<a;)if(n(t,e[r]))return!0;return!1}e.exports=n},function(e,t,n){function r(e,t){return e=Object(e),a(e,t,function(t,n){return n in e})}var a=n(989);e.exports=r},function(e,t,n){function r(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var s=t[r],c=e[s];n(c,s)&&a(i,s,c)}return i}var a=n(356);e.exports=r},function(e,t,n){function r(e){return i(o(e,void 0,a),e+"")}var a=n(991),o=n(373),i=n(375);e.exports=r},function(e,t,n){function r(e){var t=e?e.length:0;return t?a(e,1):[]}var a=n(992);e.exports=r},function(e,t,n){function r(e,t,n,i,s){var c=-1,u=e.length;for(n||(n=o),s||(s=[]);++c<u;){var l=e[c];t>0&&n(l)?t>1?r(l,t-1,n,i,s):a(s,l):i||(s[s.length]=l)}return s}var a=n(993),o=n(994);e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}e.exports=n},function(e,t,n){function r(e){return i(e)||o(e)||!!(s&&e&&e[s])}var a=n(429),o=n(387),i=n(389),s=a?a.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){function r(e){return a(e,i,o)}var a=n(996),o=n(997),i=n(1e3);e.exports=r},function(e,t,n){function r(e,t,n){var r=t(e);return o(e)?r:a(r,n(e))}var a=n(993),o=n(389);e.exports=r},function(e,t,n){var r=n(993),a=n(164),o=n(998),i=n(999),s=Object.getOwnPropertySymbols,c=s?function(e){for(var t=[];e;)r(t,o(e)),e=a(e);return t}:i;e.exports=c},function(e,t,n){var r=n(165),a=n(999),o=Object.getOwnPropertySymbols,i=o?r(o,Object):a;e.exports=i},function(e,t){function n(){return[]}e.exports=n},function(e,t,n){function r(e){return i(e)?a(e,!0):o(e)}var a=n(385),o=n(1001),i=n(380);e.exports=r},function(e,t,n){function r(e){if(!a(e))return i(e);var t=o(e),n=[];for(var r in e)("constructor"!=r||!t&&c.call(e,r))&&n.push(r);return n}var a=n(361),o=n(383),i=n(1002),s=Object.prototype,c=s.hasOwnProperty;e.exports=r},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){function r(e){if(c(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||d(e)||i(e)))return!e.length;var t=o(e);if(t==p||t==f)return!e.size;if(l(e))return!a(e).length;for(var n in e)if(m.call(e,n))return!1;return!0}var a=n(396),o=n(623),i=n(387),s=n(389),c=n(380),u=n(390),l=n(383),d=n(392),p="[object Map]",f="[object Set]",h=Object.prototype,m=h.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ModuleSettingMultipleSelectCheckboxes=t.ModuleSettingRadios=t.ModuleSettingCheckbox=void 0;var a=n(449),o=r(a),i=n(142),s=r(i),c=n(1005),u=r(c),l=n(1007),d=r(l),p=n(983),f=n(1009),h=r(f);t.ModuleSettingCheckbox=s.default.createClass({displayName:"ModuleSettingCheckbox",render:function(){var e=this.props;return s.default.createElement(p.FormLabel,null,s.default.createElement(h.default,{name:e.name,checked:!!e.getOptionValue(e.name),value:!!e.getOptionValue(e.name),disabled:e.isUpdating(e.name),onChange:e.onOptionChange}),s.default.createElement("span",null,e.label))}}),t.ModuleSettingRadios=s.default.createClass({displayName:"ModuleSettingRadios",render:function(){var e=this.props,t=this.props.validValues;return s.default.createElement("div",null,(0,o.default)(t).map(function(n){return s.default.createElement(p.FormLabel,{key:"option-"+e.option_name+"-"+n},s.default.createElement(p.FormRadio,{name:e.name,checked:n===e.getOptionValue(e.name),value:n,disabled:e.isUpdating(e.name),onChange:e.onOptionChange}),s.default.createElement("span",null,t[n]))}))}}),t.ModuleSettingMultipleSelectCheckboxes=s.default.createClass({displayName:"ModuleSettingMultipleSelectCheckboxes",getDefaultProps:function(){return{always_checked:[]}},onOptionChange:function(e){var t=e.target.value,n=this.props.getOptionValue(this.props.name),r=n.indexOf(t)===-1?(0,u.default)(n,t):(0,d.default)(n,t);this.props.updateFormStateOptionValue(this.props.name,r)},isAlwaysChecked:function(e){return this.props.always_checked.indexOf(e)!==-1},shouldBeChecked:function(e){return this.isAlwaysChecked(e)||this.props.getOptionValue(this.props.name).indexOf(e)!==-1},shouldBeDisabled:function(e){return this.isAlwaysChecked(e)||this.props.isUpdating(this.props.name)},render:function(){var e=this,t=this.props,n=this.props.validValues;return s.default.createElement("div",null,(0,o.default)(n).map(function(r){return s.default.createElement(p.FormLabel,{key:"option-"+t.option_name+"-"+r},s.default.createElement(h.default,{name:t.name,checked:e.shouldBeChecked(r),value:r,disabled:e.shouldBeDisabled(r),onChange:e.onOptionChange}),s.default.createElement("span",null,n[r].name))}))}})},function(e,t,n){function r(){var e=arguments.length;if(!e)return[];for(var t=Array(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return a(s(n)?i(n):[n],o(t,1))}var a=n(993),o=n(992),i=n(1006),s=n(389);e.exports=r},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}e.exports=n},function(e,t,n){var r=n(985),a=n(371),o=n(1008),i=a(function(e,t){return o(e)?r(e,t):[]});e.exports=i},function(e,t,n){function r(e){return o(e)&&a(e)}var a=n(380),o=n(166);e.exports=r},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(142),o=n(747),i=n(946);n(1010),e.exports=a.createClass({displayName:"Checkbox",propTypes:{disabled:a.PropTypes.bool,checked:a.PropTypes.bool},getDefaultProps:function(){return{disabled:!1}},render:function(){var e=i(this.props,["className","type"]);return a.createElement("input",r({},e,{type:"checkbox",className:o(this.props.className,"dops-checkbox")}))}})},function(e,t){},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=p.default.createClass({displayName:"SettingsForm",getInitialState:function(){return{options:{}}},onOptionChange:function(e){var t=e.target.name,n=void 0;n="checkbox"===e.target.type&&"undefined"!=typeof e.target.checked?e.target.checked:e.target.value,this.updateFormStateOptionValue(t,n)},updateFormStateOptionValue:function(e,t){var n=(0,l.default)({},this.state.options,(0,c.default)({},e,t));return this.setState({options:n}),this.props.setUnsavedOptionFlag(),!0},onSubmit:function(e){var t=this;e.preventDefault(),this.props.updateOptions(this.state.options).then(function(){t.setState({options:{}})}),this.props.clearUnsavedOptionFlag()},getOptionValue:function(e){var t=this.props.getOptionCurrentValue(this.props.module.module,e);return"undefined"!=typeof this.state.options[e]?this.state.options[e]:t},shouldSaveButtonBeDisabled:function(){var e=!1;return e=!this.isSavingAnyOption()&&this.isDirty(),!e},isDirty:function(){return!!(0,i.default)(this.state.options).length},isSavingAnyOption:function(){var e=this;return(0,i.default)(this.state.options).some(function(t){return e.props.isUpdating(t)})},render:function(){return p.default.createElement(e,(0,l.default)({getOptionValue:this.getOptionValue,onSubmit:this.onSubmit,onOptionChange:this.onOptionChange,updateFormStateOptionValue:this.updateFormStateOptionValue,shouldSaveButtonBeDisabled:this.shouldSaveButtonBeDisabled,isSavingAnyOption:this.isSavingAnyOption},this.props))}});return(0,f.connectModuleOptions)(t)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(449),i=r(o),s=n(453),c=r(s),u=n(348),l=r(u);t.ModuleSettingsForm=a;var d=n(142),p=r(d),f=n(1013)},function(e,t,n){"use strict";function r(e){return(0,a.connect)(function(e,t){return{validValues:function(n){return(0,o.getModuleOptionValidValues)(e,t.module.module,n)},getOptionCurrentValue:function(t,n){return(0,o.getModuleOption)(e,t,n)},getSiteRoles:function(){return(0,i.getSiteRoles)(e)},isUpdating:function(n){return(0,o.isUpdatingModuleOption)(e,t.module.module,n)},adminEmailAddress:(0,i.getAdminEmailAddress)(e),currentIp:(0,i.getCurrentIp)(e),siteAdminUrl:(0,i.getSiteAdminUrl)(e),isCurrentUserLinked:(0,s.isCurrentUserLinked)(e)}},function(e,t){return{updateOptions:function(n){return e((0,o.updateModuleOptions)(t.module.module,n))},regeneratePostByEmailAddress:function(){return e((0,o.regeneratePostByEmailAddress)())},setUnsavedOptionFlag:function(){return e((0,o.setUnsavedOptionFlag)())},clearUnsavedOptionFlag:function(){return e((0,o.clearUnsavedOptionFlag)())}}})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.connectModuleOptions=r;var a=n(154),o=n(447),i=n(347),s=n(639)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.Page=void 0;var o=n(449),i=r(o),s=n(142),c=r(s),u=n(154),l=n(857),d=r(l),p=n(837),f=r(p),h=n(810),m=r(h),M=n(466),_=n(916),v=(r(_),n(641)),g=r(v),b=n(656),y=r(b),A=n(938),T=r(A),L=n(926),E=r(L),w=n(447),z=n(922),S=n(940),k=n(639),O=n(692),N=n(347),C=t.Page=function(e){var t=e.toggleModule,n=e.isModuleActivated,r=e.isTogglingModule,o=e.getModule,s=(0,i.default)(e.moduleList),u=[["scan",(0,M.translate)("Security Scanning"),(0,M.translate)("Automated, comprehensive protection from threats and attacks."),"https://vaultpress.com/jetpack/"],["protect",o("protect").name,o("protect").description,o("protect").learn_more_button],["monitor",o("monitor").name,o("monitor").description,o("monitor").learn_more_button],["akismet","Akismet",(0,M.translate)("State-of-the-art spam defense."),"https://akismet.com/jetpack/"],["backups",(0,M.translate)("Site Backups"),(0,M.translate)("Automatically backup your entire site."),"https://vaultpress.com/jetpack/"],["sso",o("sso").name,o("sso").description,o("sso").learn_more_button]].map(function(i){var u=e.isUnavailableInDevMode(i[0]),l=u?(0,M.translate)("Unavailable in Dev Mode"):c.default.createElement(z.ModuleToggle,{slug:i[0],activated:n(i[0]),toggling:r(i[0]),toggleModule:t}),p=u?"devmode-disabled":"",h="scan"===i[0]||"akismet"===i[0]||"backups"===i[0],_={};return(0,g.default)(s,i[0])||h?(h&&(_={module:i[0],configure_url:""},l=c.default.createElement(E.default,{proFeature:i[0],siteAdminUrl:e.siteAdminUrl}),i[1]=c.default.createElement("span",null,i[1],c.default.createElement(f.default,{compact:!0,href:"#/plans"},(0,M.translate)("Pro"))),e.isFetchingPluginsData||("akismet"===i[0]&&e.isPluginActive("akismet/akismet.php")?_.configure_url=e.siteAdminUrl+"admin.php?page=akismet-key-config":"scan"!==i[0]&&"backups"!==i[0]||!e.isPluginActive("vaultpress/vaultpress.php")||(_.configure_url="https://dashboard.vaultpress.com/"))),c.default.createElement(d.default,{className:p,key:"module-card_"+i[0],header:i[1],subheader:i[2],summary:l,expandedSummary:l,clickableHeaderText:!0,onOpen:function(){return y.default.tracks.recordEvent("jetpack_wpa_settings_card_open",{card:i[0],path:e.route.path})}},n(i[0])||h?c.default.createElement(S.AllModuleSettings,{module:h?_:o(i[0])}):c.default.createElement("div",{dangerouslySetInnerHTML:a(o(i[0]))}),c.default.createElement("div",{className:"jp-module-settings__learn-more"},c.default.createElement(f.default,{borderless:!0,compact:!0,href:i[3]},c.default.createElement(m.default,{icon:"help-outline"}),c.default.createElement("span",{className:"screen-reader-text"},(0,M.translate)("Learn More")))))):null});return c.default.createElement("div",null,c.default.createElement(T.default,null),u)};t.default=(0,u.connect)(function(e){return{isModuleActivated:function(t){return(0,w.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,w.isActivatingModule)(e,t)||(0,w.isDeactivatingModule)(e,t)},getModule:function(t){return(0,w.getModule)(e,t)},isUnavailableInDevMode:function(t){return(0,k.isUnavailableInDevMode)(e,t)},isFetchingPluginsData:(0,O.isFetchingPluginsData)(e),isPluginActive:function(t){return(0,O.isPluginActive)(e,t)},moduleList:(0,w.getModules)(e),siteAdminUrl:(0,N.getSiteAdminUrl)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,w.deactivateModule)(t):(0,w.activateModule)(t))}}})(C)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.Page=void 0;var o=n(449),i=r(o),s=n(142),c=r(s),u=n(154),l=n(857),d=r(l),p=n(837),f=r(p),h=n(810),m=r(h),M=n(466),_=n(641),v=r(_),g=n(656),b=r(g),y=n(938),A=r(y),T=n(447),L=n(922),E=n(940),w=n(639),z=n(347),S=n(1016),k=r(S),O=t.Page=function(e){var t=e.toggleModule,n=e.isModuleActivated,r=e.isTogglingModule,o=e.getModule,s=e.userCanManageModules,u=(0,i.default)(e.moduleList),l=[["tiled-gallery",o("tiled-gallery").name,o("tiled-gallery").description,o("tiled-gallery").learn_more_button],["photon",o("photon").name,o("photon").description,o("photon").learn_more_button],["carousel",o("carousel").name,o("carousel").description,o("carousel").learn_more_button],["widgets",o("widgets").name,o("widgets").description,o("widgets").learn_more_button],["widget-visibility",o("widget-visibility").name,o("widget-visibility").description,o("widget-visibility").learn_more_button],["custom-css",o("custom-css").name,o("custom-css").description,o("custom-css").learn_more_button],["infinite-scroll",o("infinite-scroll").name,o("infinite-scroll").description,o("infinite-scroll").learn_more_button],["minileven",o("minileven").name,o("minileven").description,o("minileven").learn_more_button]].map(function(i){if(!(0,v.default)(u,i[0]))return null;var s=e.isUnavailableInDevMode(i[0]),l=s?(0,M.translate)("Unavailable in Dev Mode"):c.default.createElement(L.ModuleToggle,{slug:i[0],activated:n(i[0]),toggling:r(i[0]),toggleModule:t}),p=s?"devmode-disabled":"",h=n(i[0])?c.default.createElement(E.AllModuleSettings,{module:o(i[0])}):c.default.createElement("div",{dangerouslySetInnerHTML:a(o(i[0]))});return c.default.createElement(d.default,{className:p,key:"module-card_"+i[0],header:i[1],subheader:i[2],summary:l,expandedSummary:l,clickableHeaderText:!0,onOpen:function(){return b.default.tracks.recordEvent("jetpack_wpa_settings_card_open",{card:i[0],path:e.route.path})}},h,c.default.createElement("div",{className:"jp-module-settings__learn-more"},c.default.createElement(f.default,{borderless:!0,compact:!0,href:i[3]},c.default.createElement(m.default,{icon:"help-outline"}),c.default.createElement("span",{className:"screen-reader-text"},(0,M.translate)("Learn More")))))});return c.default.createElement("div",null,c.default.createElement(A.default,null),l,c.default.createElement(d.default,{header:(0,M.translate)("Holiday Snow"),subheader:(0,M.translate)("Show falling snow in the holiday period."),clickableHeaderText:!0,disabled:!s,summary:s?c.default.createElement(k.default,{slug:"snow"}):"",expandedSummary:s?c.default.createElement(k.default,{slug:"snow"}):"",onOpen:function(){return b.default.tracks.recordEvent("jetpack_wpa_settings_card_open",{card:"holiday_snow",path:e.route.path})}},c.default.createElement("span",{className:"jp-form-setting-explanation"},(0,M.translate)("Show falling snow on my blog from Dec 1st until Jan 4th."))))};t.default=(0,u.connect)(function(e){return{isModuleActivated:function(t){return(0,T.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,T.isActivatingModule)(e,t)||(0,T.isDeactivatingModule)(e,t)},getModule:function(t){return(0,T.getModule)(e,t)},isUnavailableInDevMode:function(t){return(0,w.isUnavailableInDevMode)(e,t)},userCanManageModules:(0,z.userCanManageModules)(e),moduleList:(0,T.getModules)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,T.deactivateModule)(t):(0,T.activateModule)(t))}}})(O)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=void 0;var a=n(453),o=r(a),i=n(142),s=r(i),c=n(154),u=(n(466),n(686)),l=n(1017),d=t.Settings=s.default.createClass({displayName:"Settings",propTypes:{slug:s.default.PropTypes.string,activated:s.default.PropTypes.bool,toggleSetting:s.default.PropTypes.func,disabled:s.default.PropTypes.bool},componentDidMount:function(){this.props.isFetchingSettingsList||this.props.fetchSettings()},render:function(){var e="snow"===this.props.slug?this.props.snowSlug:this.props.slug;return s.default.createElement("div",null,s.default.createElement(l.SettingToggle,{slug:e,activated:this.props.isSettingActivated(e),toggleSetting:this.props.toggleSetting,disabled:this.props.isFetchingSettingsList}))}});t.default=(0,c.connect)(function(e){return{snowSlug:(0,u.getSettingName)(e,"jetpack_holiday_snow_enabled"),isSettingActivated:function(t){return(0,u.isSettingActivated)(e,t)},isFetchingSettingsList:(0,u.isFetchingSettingsList)(e),settings:(0,u.fetchSettings)(e)}},function(e){return{fetchSettings:function(){return e((0,u.fetchSettings)())},toggleSetting:function(t,n){e((0,u.updateSetting)((0,o.default)({},t,!n)))}}})(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{
32
- default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SettingToggle=void 0;var a=n(142),o=r(a),i=n(923),s=r(i);t.SettingToggle=o.default.createClass({displayName:"SettingToggle",propTypes:{toggleSetting:o.default.PropTypes.func,activated:o.default.PropTypes.bool,disabled:o.default.PropTypes.bool,className:o.default.PropTypes.string,id:o.default.PropTypes.string},getDefaultProps:function(){return{activated:!1}},toggleSetting:function(){return this.props.toggleSetting(this.props.slug,this.props.activated)},render:function(){return o.default.createElement(s.default,{checked:this.props.activated,className:this.props.className,onChange:this.toggleSetting,disabled:this.props.disabled,id:this.props.id}," ",this.props.children)}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.GeneralSettings=void 0;var o=n(449),i=r(o),s=n(142),c=r(s),u=n(154),l=n(857),d=r(l),p=n(837),f=r(p),h=n(810),m=r(h),M=n(466),_=n(641),v=r(_),g=n(656),b=r(g),y=n(1019),A=r(y),T=n(639),L=n(447),E=n(922),w=n(347),z=t.GeneralSettings=function(e){var t=e.toggleModule,n=e.isModuleActivated,r=e.isTogglingModule,o=e.getModule,s=e.userCanManageModules,u=(0,i.default)(e.moduleList),l=function(i){var l=e.isUnavailableInDevMode(i),p=l?"devmode-disabled":"",h="";return l?h=function(){return(0,M.translate)("Unavailable in Dev Mode")}:s&&(h=function(e){return c.default.createElement(E.ModuleToggle,{slug:e,activated:n(e),toggling:r(e),toggleModule:t})}),s&&(0,v.default)(u,i)?c.default.createElement(d.default,{className:p,header:o(i).name,subheader:o(i).description,clickableHeaderText:!0,disabled:!s,summary:s?h(i):"",expandedSummary:s?h(i):"",onOpen:function(){return b.default.tracks.recordEvent("jetpack_wpa_settings_card_open",{card:i,path:e.route.path})}},c.default.createElement("div",{className:"jp-form-setting-explanation"},c.default.createElement("div",{dangerouslySetInnerHTML:a(o(i))})),c.default.createElement("div",{className:"jp-module-settings__learn-more"},c.default.createElement(f.default,{borderless:!0,compact:!0,href:o(i).learn_more_button},c.default.createElement(m.default,{icon:"help-outline"}),c.default.createElement("span",{className:"screen-reader-text"},(0,M.translate)("Learn More"))))):null};return c.default.createElement("div",null,c.default.createElement(d.default,{header:(0,M.translate)("Connection Settings"),subheader:(0,M.translate)("Manage your Jetpack connection."),clickableHeaderText:!0,onOpen:function(){return b.default.tracks.recordEvent("jetpack_wpa_settings_card_open",{card:"connection_settings",path:e.route.path})}},c.default.createElement(A.default,e)),n("manage")?"":l("manage"),l("notes"),l("json-api"))};t.default=(0,u.connect)(function(e){return{isModuleActivated:function(t){return(0,L.isModuleActivated)(e,t)},getModule:function(t){return(0,L.getModule)(e,t)},isTogglingModule:function(t){return(0,L.isActivatingModule)(e,t)||(0,L.isDeactivatingModule)(e,t)},isUnavailableInDevMode:function(t){return(0,T.isUnavailableInDevMode)(e,t)},userCanManageModules:(0,w.userCanManageModules)(e),moduleList:(0,L.getModules)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,L.deactivateModule)(t):(0,L.activateModule)(t))},disconnectSite:function(){return e(T.disconnectSite)}}})(z)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(466),c=n(639),u=n(347),l=n(1020),d=r(l),p=n(836),f=r(p),h=o.default.createClass({displayName:"ConnectionSettings",renderContent:function(){var e=this.props.userCanDisconnectSite?o.default.createElement(f.default,null):null,t=this.props.userIsMaster?null:o.default.createElement(f.default,{connectUser:!0,from:"connection-settings"});return this.props.isDevMode?o.default.createElement("div",null,(0,s.translate)("The site is in Development Mode, so you can not connect to WordPress.com.")):o.default.createElement("div",null,this.props.isLinked?o.default.createElement("div",{className:"jp-connection-settings"},o.default.createElement("img",{alt:"gravatar",width:"75",height:"75",className:"jp-connection-settings__gravatar",src:this.props.userWpComAvatar}),o.default.createElement("div",{className:"jp-connection-settings__headline"},(0,s.translate)("You are connected as "),o.default.createElement("span",{className:"jp-connection-settings__username"},this.props.userWpComLogin)),o.default.createElement("div",{className:"jp-connection-settings__email"},this.props.userWpComEmail),o.default.createElement("div",{className:"jp-connection-settings__actions"},e,t)):o.default.createElement("div",{className:"jp-connection-settings"},o.default.createElement("div",{className:"jp-connection-settings__headline"},(0,s.translate)("Link your account to WordPress.com to get the most out of Jetpack.")),o.default.createElement("div",{className:"jp-connection-settings__actions"},e,t)))},render:function(){return o.default.createElement("div",null,this.renderContent(),o.default.createElement(d.default,null))}});h.propTypes={isDevMode:o.default.PropTypes.bool.isRequired,userCanDisconnectSite:o.default.PropTypes.bool.isRequired,userIsMaster:o.default.PropTypes.bool.isRequired,isLinked:o.default.PropTypes.bool.isRequired,userWpComLogin:o.default.PropTypes.any.isRequired,userWpComEmail:o.default.PropTypes.any.isRequired,userWpComAvatar:o.default.PropTypes.any.isRequired,username:o.default.PropTypes.any.isRequired},t.default=(0,i.connect)(function(e){return{isDevMode:(0,c.isDevMode)(e),userCanDisconnectSite:(0,u.userCanDisconnectSite)(e),userIsMaster:(0,u.userIsMaster)(e),userWpComLogin:(0,u.getUserWpComLogin)(e),userWpComEmail:(0,u.getUserWpComEmail)(e),userWpComAvatar:(0,u.getUserWpComAvatar)(e),username:(0,u.getUsername)(e),isLinked:(0,c.isCurrentUserLinked)(e)}})(h),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(841),o=r(a),i=n(844),s=r(i),c=n(845),u=r(c),l=n(846),d=r(l),p=n(847),f=r(p),h=n(142),m=n(154),M=n(161),_=n(639),v=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,o.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentWillMount",value:function(){this.props.fetchUserConnectionData()}},{key:"render",value:function(){return null}}]),t}(h.Component);v.defaultProps={fetchSiteConnectionStatus:function(){}},t.default=(0,m.connect)(function(){return{fetchUserConnectionData:(0,_.fetchUserConnectionData)()}},function(e){return(0,M.bindActionCreators)({fetchUserConnectionData:_.fetchUserConnectionData},e)})(v),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.Writing=void 0;var o=n(449),i=r(o),s=n(142),c=r(s),u=n(154),l=n(857),d=r(l),p=n(837),f=r(p),h=n(810),m=r(h),M=n(466),_=n(641),v=r(_),g=n(656),b=r(g),y=n(447),A=n(922),T=n(940),L=n(639),E=n(347),w=n(938),z=r(w),S=n(926),k=(r(S),t.Writing=function(e){var t=e.toggleModule,n=e.isModuleActivated,r=e.isTogglingModule,o=e.getModule,s=e.userCanManageModules,u=s,l=(0,i.default)(e.moduleList),p=[["shortlinks",o("shortlinks").name,o("shortlinks").description,o("shortlinks").learn_more_button],["shortcodes",o("shortcodes").name,o("shortcodes").description,o("shortcodes").learn_more_button],["videopress",o("videopress").name,o("videopress").description,o("videopress").learn_more_button],["contact-form",o("contact-form").name,o("contact-form").description,o("contact-form").learn_more_button],["after-the-deadline",o("after-the-deadline").name,o("after-the-deadline").description,o("after-the-deadline").learn_more_button],["markdown",o("markdown").name,o("markdown").description,o("markdown").learn_more_button],["post-by-email",o("post-by-email").name,o("post-by-email").description,o("post-by-email").learn_more_button],["latex",o("latex").name,o("latex").description,o("latex").learn_more_button],["custom-content-types",o("custom-content-types").name,o("custom-content-types").description,o("custom-content-types").learn_more_button]],h=["after-the-deadline","post-by-email"];if(!u){var _=p.slice();_.reverse().forEach(function(e){(0,v.default)(h,e[0])&&p.unshift(e)}),p=p.filter(function(e,t){return p.indexOf(e)===t})}return p=p.map(function(i,s){if(!(0,v.default)(l,i[0]))return null;var p=e.isUnavailableInDevMode(i[0]),_=p?"devmode-disabled":"",g="",y=u||(0,v.default)(h,i[0]);return p?g=(0,M.translate)("Unavailable in Dev Mode"):u&&(g=c.default.createElement(A.ModuleToggle,{slug:i[0],activated:n(i[0]),toggling:r(i[0]),toggleModule:t})),1===i.length?c.default.createElement("h1",{key:"section-header-"+s},i[0]):!!y&&c.default.createElement(d.default,{className:_,key:"module-card_"+i[0],header:i[1],subheader:i[2],summary:g,expandedSummary:g,clickableHeaderText:!0,onOpen:function(){return b.default.tracks.recordEvent("jetpack_wpa_settings_card_open",{card:i[0],path:e.route.path})}},n(i[0])||"scan"===i[0]?c.default.createElement(T.AllModuleSettings,{module:o(i[0])}):c.default.createElement("div",{dangerouslySetInnerHTML:a(o(i[0]))}),c.default.createElement("div",{className:"jp-module-settings__learn-more"},c.default.createElement(f.default,{borderless:!0,compact:!0,href:i[3]},c.default.createElement(m.default,{icon:"help-outline"}),c.default.createElement("span",{className:"screen-reader-text"},(0,M.translate)("Learn More")))))}),c.default.createElement("div",null,c.default.createElement(z.default,null),p)});t.default=(0,u.connect)(function(e){return{isModuleActivated:function(t){return(0,y.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,y.isActivatingModule)(e,t)||(0,y.isDeactivatingModule)(e,t)},getModule:function(t){return(0,y.getModule)(e,t)},isUnavailableInDevMode:function(t){return(0,L.isUnavailableInDevMode)(e,t)},userCanManageModules:(0,E.userCanManageModules)(e),moduleList:(0,y.getModules)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,y.deactivateModule)(t):(0,y.activateModule)(t))}}})(k)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(837),c=r(s),u=n(466),l=n(855),d=n(347),p=function(e){var t=e.userCanViewStats;return o.default.createElement("div",{className:"jp-landing__apps dops-card"},o.default.createElement("div",{className:"jp-landing-apps__header"},o.default.createElement("h2",{className:"jp-landing-apps__title"},(0,u.translate)("Powerful WordPress.com features on every device.")),o.default.createElement("p",{className:"jp-landing-apps__description"},(0,u.translate)("Manage all your sites from a single dashboard.")),o.default.createElement("div",{className:"jp-landing-apps__header-img-container"},o.default.createElement("div",{className:"jp-landing-apps__header-col-left"},o.default.createElement("h3",{className:"jp-landing-apps__subtitle"},(0,u.translate)("Feel the performance")),o.default.createElement("p",{className:"jp-landing-apps__sub-description"},(0,u.translate)("All the WordPress apps are built for speed. You'll notice the difference in performance immediately, with near-instant page-loads and less waiting around."))),o.default.createElement("div",{className:"jp-landing-apps__header-col-right"},o.default.createElement("svg",{className:"jp-landing-apps__header-img",width:"335",height:"233",viewBox:"0 0 1005 700",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},o.default.createElement("title",null,"Themes Container"),o.default.createElement("defs",null,o.default.createElement("rect",{id:"a",width:"1005",height:"700",rx:"8"}),o.default.createElement("rect",{id:"b",width:"335",height:"233",rx:"8"}),o.default.createElement("path",{id:"c",d:"M158 125h725v575H158z"}),o.default.createElement("path",{id:"e",d:"M20 9.9998V0H0v19.9996h20z"})),o.default.createElement("g",{fill:"none","fill-rule":"evenodd"},o.default.createElement("rect",{fill:"#F3F6F8",width:"1005",height:"700",rx:"8"}),o.default.createElement("use",{fill:"#F3F6F8",xlinkHref:"#a"}),o.default.createElement("rect",{fill:"#E9EFF3",width:"1005",height:"65",rx:"8"}),o.default.createElement("path",{d:"M27.5 31c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm50 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm-25 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5z",fill:"#4F748E"}),o.default.createElement("path",{fill:"#0087BE",d:"M0 47h1005v65H0"}),o.default.createElement("mask",{id:"d",fill:"#fff"},o.default.createElement("use",{xlinkHref:"#c"})),o.default.createElement("g",{mask:"url(#d)"},o.default.createElement("path",{fill:"#0087BE",d:"M197 245h194v194H197z"}),o.default.createElement("g",{transform:"translate(355 409)"},o.default.createElement("mask",{id:"f",fill:"#fff"},o.default.createElement("use",{xlinkHref:"#e"})),o.default.createElement("path",{d:"M9 15.7676l-4.884-4.884 1.768-1.767L9 12.2326l8.658-8.658C15.823 1.3906 13.075-.0004 10-.0004c-5.523 0-10 4.478-10 10 0 5.523 4.477 10 10 10s10-4.477 10-10c0-1.528-.353-2.971-.966-4.266L9 15.7676z",fill:"#FFF",mask:"url(#f)"})),o.default.createElement("path",{fill:"#E9EFF3",d:"M207 414h100v10H207z"}),o.default.createElement("path",{d:"M281.5 301.25h39v-9.75h-39v9.75zm29.25 29.25h9.75v-22.75h-9.75v22.75zm-29.25 0h22.75v-22.75H281.5v22.75zm39-45.5h-39c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.59125 2.90875 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5v-39c0-3.59125-2.90875-6.5-6.5-6.5zm-52 13c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.575 2.925 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5h-45.5V298z",fill:"#FFF"}),o.default.createElement("g",null,o.default.createElement("path",{fill:"#FFF",d:"M406 245h194v150H406zM406 399h194v40H406z"}),o.default.createElement("path",{fill:"#87A6BC",d:"M416 414h100v10H416zM490.5 301.25h39v-9.75h-39v9.75zm29.25 29.25h9.75v-22.75h-9.75v22.75zm-29.25 0h22.75v-22.75H490.5v22.75zm39-45.5h-39c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.59125 2.90875 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5v-39c0-3.59125-2.90875-6.5-6.5-6.5zm-52 13c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.575 2.925 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5h-45.5V298z"})),o.default.createElement("g",null,o.default.createElement("path",{fill:"#FFF",d:"M615 245h194v150H615zM615 399h194v40H615z"}),o.default.createElement("path",{fill:"#87A6BC",d:"M625 414h100v10H625zM699.5 301.25h39v-9.75h-39v9.75zm29.25 29.25h9.75v-22.75h-9.75v22.75zm-29.25 0h22.75v-22.75H699.5v22.75zm39-45.5h-39c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.59125 2.90875 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5v-39c0-3.59125-2.90875-6.5-6.5-6.5zm-52 13c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.575 2.925 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5h-45.5V298z"}))),o.default.createElement("g",{mask:"url(#d)"},o.default.createElement("path",{fill:"#FFF",d:"M197 454h194v150H197zM197 608h194v40H197z"}),o.default.createElement("path",{fill:"#87A6BC",d:"M207 623h100v10H207zM281.5 510.25h39v-9.75h-39v9.75zm29.25 29.25h9.75v-22.75h-9.75v22.75zm-29.25 0h22.75v-22.75H281.5v22.75zm39-45.5h-39c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.59125 2.90875 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5v-39c0-3.59125-2.90875-6.5-6.5-6.5zm-52 13c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.575 2.925 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5h-45.5V507z"}),o.default.createElement("g",null,o.default.createElement("path",{fill:"#FFF",d:"M406 454h194v150H406zM406 608h194v40H406z"}),o.default.createElement("path",{fill:"#87A6BC",d:"M416 623h100v10H416zM490.5 510.25h39v-9.75h-39v9.75zm29.25 29.25h9.75v-22.75h-9.75v22.75zm-29.25 0h22.75v-22.75H490.5v22.75zm39-45.5h-39c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.59125 2.90875 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5v-39c0-3.59125-2.90875-6.5-6.5-6.5zm-52 13c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.575 2.925 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5h-45.5V507z"})),o.default.createElement("g",null,o.default.createElement("path",{fill:"#FFF",d:"M615 454h194v150H615zM615 608h194v40H615z"}),o.default.createElement("path",{fill:"#87A6BC",d:"M625 623h100v10H625zM699.5 510.25h39v-9.75h-39v9.75zm29.25 29.25h9.75v-22.75h-9.75v22.75zm-29.25 0h22.75v-22.75H699.5v22.75zm39-45.5h-39c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.59125 2.90875 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5v-39c0-3.59125-2.90875-6.5-6.5-6.5zm-52 13c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.575 2.925 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5h-45.5V507z"}))),o.default.createElement("g",{mask:"url(#d)"},o.default.createElement("path",{fill:"#FFF",d:"M197 165h614v50H197z"}),o.default.createElement("path",{d:"M215.7777778 187.7222222c0-3.8291666 3.1152778-6.9444444 6.9444444-6.9444444 3.8291667 0 6.9444445 3.1152778 6.9444445 6.9444444 0 3.8291667-3.1152778 6.9444445-6.9444445 6.9444445-3.8291666 0-6.9444444-3.1152778-6.9444444-6.9444445zm22.2222222 12.5l-7.1583333-7.1583333c1.0111111-1.5333333 1.6027777-3.3680556 1.6027777-5.3416667 0-5.3694444-4.3527777-9.7222222-9.7222222-9.7222222C217.3527778 178 213 182.3527778 213 187.7222222c0 5.3694445 4.3527778 9.7222222 9.7222222 9.7222222 1.9736111 0 3.8083334-.5916666 5.3416667-1.6027777L235.2222222 203 238 200.2222222z",fill:"#87A6BC"})))))),o.default.createElement("div",{className:"jp-landing-apps__clouds jp-clouds-top"},o.default.createElement("img",{src:l.imagePath+"/white-clouds.svg"}))),o.default.createElement("div",{className:"jp-landing-apps__feature-container"},e.userCanManagePlugins?o.default.createElement("div",{className:"jp-landing-apps__feature"},o.default.createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-img"},o.default.createElement("svg",{width:"335",height:"233",viewBox:"0 0 1005 700",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},o.default.createElement("title",null,"Plugin Updates Container"),o.default.createElement("defs",null,o.default.createElement("rect",{id:"a",width:"1005",height:"700",rx:"8"}),o.default.createElement("rect",{id:"b",width:"335",height:"233",rx:"8"}),o.default.createElement("path",{id:"c",d:"M40 19.9996V0H0v39.9992h40z"}),o.default.createElement("path",{id:"e",d:"M40 19.9996V0H0v39.9992h40z"}),o.default.createElement("path",{id:"g",d:"M40 19.9996V0H0v39.9992h40z"}),o.default.createElement("path",{id:"i",d:"M40 19.9996V0H0v39.9992h40z"}),o.default.createElement("path",{id:"k",d:"M40 19.9996V0H0v39.9992h40z"})),o.default.createElement("g",{fill:"none","fill-rule":"evenodd"},o.default.createElement("g",null,o.default.createElement("rect",{fill:"#F3F6F8",width:"1005",height:"700",rx:"8"}),o.default.createElement("use",{fill:"#F3F6F8",xlinkHref:"#a"})),o.default.createElement("g",null,o.default.createElement("rect",{fill:"#E9EFF3",width:"1005",height:"65",rx:"8"}),o.default.createElement("path",{d:"M27.5 31c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm50 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm-25 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5z",fill:"#4F748E"})),o.default.createElement("path",{fill:"#0087BE",d:"M0 47h1005v65H0"}),o.default.createElement("g",null,o.default.createElement("path",{fill:"#FFF",d:"M196 176h614v85H196z"}),o.default.createElement("g",{transform:"translate(740 199)"},o.default.createElement("mask",{id:"d",fill:"#fff"},o.default.createElement("use",{xlinkHref:"#c"})),o.default.createElement("path",{d:"M18 31.5352l-9.768-9.768 3.536-3.534L18 24.4652l17.316-17.316c-3.67-4.368-9.166-7.15-15.316-7.15-11.046 0-20 8.956-20 20 0 11.046 8.954 20 20 20s20-8.954 20-20c0-3.056-.706-5.942-1.932-8.532L18 31.5352z",fill:"#4AB866",mask:"url(#d)"})),o.default.createElement("path",{fill:"#87A6BC",d:"M211 191h55v55h-55z"}),o.default.createElement("path",{d:"M244.5 213v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5h-6v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5H228v6c0 4.1865 2.4555 7.7895 6 9.4755V234h9v-5.5245c3.5445-1.686 6-5.289 6-9.4755v-6h-4.5z",fill:"#FFF"}),o.default.createElement("path",{fill:"#87A6BC",d:"M286 197h225v18H286z"}),o.default.createElement("path",{fill:"#A8BECE",d:"M286 225h165v14H286z"}),o.default.createElement("g",null,o.default.createElement("path",{fill:"#FFF",d:"M196 271h614v85H196z"}),o.default.createElement("g",{transform:"translate(740 294)"},o.default.createElement("mask",{id:"f",fill:"#fff"},o.default.createElement("use",{xlinkHref:"#e"})),o.default.createElement("path",{d:"M18 31.5352l-9.768-9.768 3.536-3.534L18 24.4652l17.316-17.316c-3.67-4.368-9.166-7.15-15.316-7.15-11.046 0-20 8.956-20 20 0 11.046 8.954 20 20 20s20-8.954 20-20c0-3.056-.706-5.942-1.932-8.532L18 31.5352z",fill:"#4AB866",mask:"url(#f)"})),o.default.createElement("path",{fill:"#87A6BC",d:"M211 286h55v55h-55z"}),o.default.createElement("path",{d:"M244.5 308v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5h-6v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5H228v6c0 4.1865 2.4555 7.7895 6 9.4755V329h9v-5.5245c3.5445-1.686 6-5.289 6-9.4755v-6h-4.5z",fill:"#FFF"}),o.default.createElement("g",null,o.default.createElement("path",{fill:"#87A6BC",d:"M286 292h225v18H286z"}),o.default.createElement("path",{fill:"#A8BECE",d:"M286 320h165v14H286z"}))),o.default.createElement("g",null,o.default.createElement("path",{fill:"#FFF",d:"M196 366h614v85H196z"}),o.default.createElement("g",{transform:"translate(740 389)"},o.default.createElement("mask",{id:"h",fill:"#fff"},o.default.createElement("use",{xlinkHref:"#g"})),o.default.createElement("path",{d:"M18 31.5352l-9.768-9.768 3.536-3.534L18 24.4652l17.316-17.316c-3.67-4.368-9.166-7.15-15.316-7.15-11.046 0-20 8.956-20 20 0 11.046 8.954 20 20 20s20-8.954 20-20c0-3.056-.706-5.942-1.932-8.532L18 31.5352z",fill:"#4AB866",mask:"url(#h)"})),o.default.createElement("path",{fill:"#87A6BC",d:"M211 381h55v55h-55z"}),o.default.createElement("path",{d:"M244.5 403v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5h-6v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5H228v6c0 4.1865 2.4555 7.7895 6 9.4755V424h9v-5.5245c3.5445-1.686 6-5.289 6-9.4755v-6h-4.5z",fill:"#FFF"}),o.default.createElement("g",null,o.default.createElement("path",{fill:"#87A6BC",d:"M286 387h225v18H286z"}),o.default.createElement("path",{fill:"#A8BECE",d:"M286 415h165v14H286z"}))),o.default.createElement("g",null,o.default.createElement("path",{fill:"#FFF",d:"M196 461h614v85H196z"}),o.default.createElement("g",{transform:"translate(740 484)"},o.default.createElement("mask",{id:"j",fill:"#fff"},o.default.createElement("use",{xlinkHref:"#i"})),o.default.createElement("path",{d:"M18 31.5352l-9.768-9.768 3.536-3.534L18 24.4652l17.316-17.316c-3.67-4.368-9.166-7.15-15.316-7.15-11.046 0-20 8.956-20 20 0 11.046 8.954 20 20 20s20-8.954 20-20c0-3.056-.706-5.942-1.932-8.532L18 31.5352z",fill:"#4AB866",mask:"url(#j)"})),o.default.createElement("path",{fill:"#87A6BC",d:"M211 476h55v55h-55z"}),o.default.createElement("path",{d:"M244.5 498v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5h-6v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5H228v6c0 4.1865 2.4555 7.7895 6 9.4755V519h9v-5.5245c3.5445-1.686 6-5.289 6-9.4755v-6h-4.5z",fill:"#FFF"}),o.default.createElement("g",null,o.default.createElement("path",{fill:"#87A6BC",d:"M286 482h225v18H286z"}),o.default.createElement("path",{fill:"#A8BECE",d:"M286 510h165v14H286z"}))),o.default.createElement("g",null,o.default.createElement("path",{fill:"#FFF",d:"M196 556h614v85H196z"}),o.default.createElement("g",{transform:"translate(740 579)"},o.default.createElement("mask",{id:"l",fill:"#fff"},o.default.createElement("use",{xlinkHref:"#k"})),o.default.createElement("path",{d:"M18 31.5352l-9.768-9.768 3.536-3.534L18 24.4652l17.316-17.316c-3.67-4.368-9.166-7.15-15.316-7.15-11.046 0-20 8.956-20 20 0 11.046 8.954 20 20 20s20-8.954 20-20c0-3.056-.706-5.942-1.932-8.532L18 31.5352z",fill:"#4AB866",mask:"url(#l)"})),o.default.createElement("path",{fill:"#87A6BC",d:"M211 571h55v55h-55z"}),o.default.createElement("path",{d:"M244.5 593v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5h-6v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5H228v6c0 4.1865 2.4555 7.7895 6 9.4755V614h9v-5.5245c3.5445-1.686 6-5.289 6-9.4755v-6h-4.5z",fill:"#FFF"}),o.default.createElement("g",null,o.default.createElement("path",{fill:"#87A6BC",d:"M286 577h225v18H286z"}),o.default.createElement("path",{fill:"#A8BECE",d:"M286 605h165v14H286z"}))))))),o.default.createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-desc"},o.default.createElement("h3",{className:"jp-landing__apps-feature-title"},(0,u.translate)("Bulk and automatic updates")),o.default.createElement("p",{className:"jp-landing__apps-feature-text"},(0,u.translate)("Most security flaws are found in outdated plugins. Use our Web and Desktop apps to turn on auto-updates or update plugins manually for all your websites in one convenient place.")),o.default.createElement(c.default,{href:"https://wordpress.com/plugins/"+e.siteRawUrl,className:"is-primary"},(0,u.translate)("Manage Plugins")))):null,e.userCanEditPosts?o.default.createElement("div",{className:"jp-landing-apps__feature"},o.default.createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-desc"},o.default.createElement("h3",{className:"jp-landing__apps-feature-title"},(0,u.translate)("Focus on your Writing")),o.default.createElement("p",{className:"jp-landing__apps-feature-text"},(0,u.translate)("Our new editor is lightning fast, optimized for writers and eliminates distractions, giving you the ability to focus on your work.")),o.default.createElement(c.default,{href:"https://wordpress.com/post/"+e.siteRawUrl,className:"is-primary"},(0,u.translate)("Try the New Editor"))),o.default.createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-img"},o.default.createElement("svg",{width:"335",height:"233",viewBox:"0 0 1005 700",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},o.default.createElement("title",null,"Editor Container"),o.default.createElement("defs",null,o.default.createElement("rect",{id:"a",width:"1005",height:"700",rx:"8"}),o.default.createElement("rect",{id:"b",width:"335",height:"233",rx:"8"})),o.default.createElement("g",{fill:"none","fill-rule":"evenodd"},o.default.createElement("g",null,o.default.createElement("rect",{fill:"#F3F6F8",width:"1005",height:"700",rx:"8"}),o.default.createElement("use",{fill:"#F3F6F8",xlinkHref:"#a"})),o.default.createElement("g",null,o.default.createElement("rect",{fill:"#E9EFF3",width:"1005",height:"65",rx:"8"}),o.default.createElement("path",{d:"M27.5 31c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm50 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm-25 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5z",fill:"#4F748E"})),o.default.createElement("path",{fill:"#0087BE",d:"M0 47h1005v65H0"}),o.default.createElement("g",null,o.default.createElement("g",{fill:"#87A6BC"},o.default.createElement("path",{d:"M356 450h70v25h-70zM583 450h85v25h-85zM446 450h117v25H446zM196 450h140v25H196z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M196 498h75v22h-75zM291 498h187v22H291zM498 498h96v22h-96zM614 498h163v22H614z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M196 545h100v22H196zM316 545h115v22H316zM451 545h58v22h-58zM529 545h180v22H529z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M196 592h57v22h-57zM270 592h104v22H270zM394 592h167v22H394z"}))),o.default.createElement("g",null,o.default.createElement("path",{fill:"#A8BECE",d:"M196 176h614v225H196z"}),o.default.createElement("path",{d:"M583 229H423v74.44L463 259l58.95 65.5 15.87-18.52c7.98-9.31 22.38-9.31 30.36 0L583 323.27V229zm20 0v120c0 11.05-8.95 20-20 20H423c-11.05 0-20-8.95-20-20V229c0-11.05 8.95-20 20-20h160c11.05 0 20 8.95 20 20zm-90 35c0-8.28 6.72-15 15-15 8.28 0 15 6.72 15 15 0 8.28-6.72 15-15 15-8.28 0-15-6.72-15-15z",fill:"#F3F6F8"})))))):null,t?o.default.createElement("div",{className:"jp-landing-apps__feature"},o.default.createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-img"},o.default.createElement("svg",{width:"335",height:"233",viewBox:"0 0 1005 700",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},o.default.createElement("title",null,"Stats Container"),o.default.createElement("defs",null,o.default.createElement("rect",{id:"a",width:"1005",height:"700",rx:"8"}),o.default.createElement("rect",{id:"b",width:"1005",height:"700",rx:"8"})),o.default.createElement("g",{fill:"none","fill-rule":"evenodd"},o.default.createElement("g",null,o.default.createElement("rect",{fill:"#F3F6F8",width:"1005",height:"700",rx:"8"}),o.default.createElement("use",{fill:"#F3F6F8",xlinkHref:"#a"})),o.default.createElement("g",null,o.default.createElement("rect",{fill:"#E9EFF3",width:"1005",height:"65",rx:"8"}),o.default.createElement("path",{d:"M27.5 31c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm50 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm-25 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5z",fill:"#4F748E"})),o.default.createElement("path",{fill:"#0087BE",d:"M0 47h1005v65H0"}),o.default.createElement("path",{fill:"#FFF",d:"M196 176h614v343H196z"}),o.default.createElement("g",{fill:"#87A6BC"},o.default.createElement("path",{d:"M253 329.2941176h58.8235294v152.507707H253zM547.117647 289.5882353h58.8235294v192.641314H547.117647zM694.176471 269h58.8235294v213.235294H694.176471zM326.5294118 345.4705882h58.8235294v136.454264h-58.8235294zM473.588235 321.9411765h58.8235294v160.534429H473.588235zM400.058824 305.7647059h58.8235294v176.587871H400.058824zM620.647059 305.7647059h58.8235294v176.587871H620.647059z"})),o.default.createElement("g",null,o.default.createElement("path",{fill:"#FFF",d:"M196 529h144v100H196zM352 529h144v100H352zM509 529h144v100H509zM665 529h144v100H665z"}),o.default.createElement("path",{fill:"#87A6BC",d:"M581.5 558l-5.8095 15.642-16.6905.6885 13.0995 10.35225L567.595 600.75l13.905-9.24525 13.905 9.24525-4.5045-16.06725L604 574.3305l-16.6905-.6885M715 562v22.5c0 2.7625 2.2375 5 5 5h22.5V602l13.3125-9.51c2.6275-1.875 4.1875-4.9075 4.1875-8.135V562c0-2.7625-2.2375-5-5-5h-35c-2.7625 0-5 2.2375-5 5M424.5 602s22.5 0 22.5-5.625c0-6.75-10.96875-14.0625-22.5-14.0625S402 589.625 402 596.375C402 602 424.5 602 424.5 602m0-45c6.212812 0 11.25 5.0371875 11.25 11.25s-5.037188 11.25-11.25 11.25-11.25-5.0371875-11.25-11.25S418.287188 557 424.5 557M268.5 589c-9.8575 0-17.315-6.21-20.9475-10 2.6-2.71 7.155-6.6425 13.135-8.6725-1.35 1.705-2.1875 3.83-2.1875 6.1725 0 5.5225 4.4775 10 10 10s10-4.4775 10-10c0-2.3425-.8375-4.4675-2.1875-6.1725 5.9825 2.03 10.54 5.9625 13.135 8.6725-3.6375 3.795-11.0925 10-20.9475 10m0-25c-17.03 0-27.5 15-27.5 15s10.47 15 27.5 15 27.5-15 27.5-15-10.47-15-27.5-15"}))))),o.default.createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-desc"},o.default.createElement("h2",null,(0,u.translate)("Connect with your Visitors")),o.default.createElement("p",null,(0,u.translate)("Monitor your visitors with advanced stats. Watch for trends, learn what content performs the best and understand your visitors from anywhere in the world.")),o.default.createElement(c.default,{href:"https://wordpress.com/stats/"+e.siteRawUrl,className:"is-primary"},(0,u.translate)("View Your Stats")))):"",o.default.createElement("div",{className:"jp-landing-apps__feature"},t?"":o.default.createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-img"},o.default.createElement("svg",{
33
- width:"335",height:"233",viewBox:"0 0 1005 700",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},o.default.createElement("title",null,"Reader Container"),o.default.createElement("defs",null,o.default.createElement("rect",{id:"a",width:"1005",height:"700",rx:"8"}),o.default.createElement("rect",{id:"b",width:"335",height:"233",rx:"8"}),o.default.createElement("path",{id:"c",d:"M158 125h725v575H158z"})),o.default.createElement("g",{fill:"none","fill-rule":"evenodd"},o.default.createElement("rect",{fill:"#F3F6F8",width:"335",height:"233",rx:"8"}),o.default.createElement("use",{fill:"#F3F6F8",xlinkHref:"#a"}),o.default.createElement("rect",{fill:"#E9EFF3",width:"1005",height:"65",rx:"8"}),o.default.createElement("path",{d:"M27.5 31c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm50 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm-25 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5z",fill:"#4F748E"}),o.default.createElement("path",{fill:"#0087BE",d:"M0 47h1005v65H0"}),o.default.createElement("mask",{id:"d",fill:"#fff"},o.default.createElement("use",{xlinkHref:"#c"})),o.default.createElement("g",{mask:"url(#d)"},o.default.createElement("path",{fill:"#FFF",d:"M197 326h614v151H197z"}),o.default.createElement("g",{fill:"#87A6BC"},o.default.createElement("path",{d:"M377 346h70v20h-70zM467 346h117v20H467zM217 346h140v20H217z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 388h75v14h-75zM312 388h187v14H312zM519 388h96v14h-96zM635 388h100v14H635z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 415h100v14H217zM337 415h115v14H337zM472 415h58v14h-58zM550 415h200v14H550z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 442h57v14h-57zM291 442h104v14H291zM415 442h167v14H415z"})),o.default.createElement("g",null,o.default.createElement("path",{fill:"#A8BECE",d:"M197 176h614v150H197z"}),o.default.createElement("path",{d:"M544 221h-80v37.22L484 236l29.475 32.75 7.935-9.26c3.99-4.655 11.19-4.655 15.18 0l7.41 8.645V221zm10 0v60c0 5.525-4.475 10-10 10h-80c-5.525 0-10-4.475-10-10v-60c0-5.525 4.475-10 10-10h80c5.525 0 10 4.475 10 10zm-45 17.5c0-4.14 3.36-7.5 7.5-7.5 4.14 0 7.5 3.36 7.5 7.5 0 4.14-3.36 7.5-7.5 7.5-4.14 0-7.5-3.36-7.5-7.5z",fill:"#FFF"}))),o.default.createElement("g",{mask:"url(#d)"},o.default.createElement("path",{fill:"#FFF",d:"M197 705h614v151H197z"}),o.default.createElement("g",{fill:"#87A6BC"},o.default.createElement("path",{d:"M377 725h70v20h-70zM467 725h117v20H467zM217 725h140v20H217z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 767h75v14h-75zM312 767h187v14H312zM519 767h96v14h-96zM635 767h100v14H635z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 794h100v14H217zM337 794h115v14H337zM472 794h58v14h-58zM550 794h200v14H550z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 821h57v14h-57zM291 821h104v14H291zM415 821h167v14H415z"})),o.default.createElement("g",null,o.default.createElement("path",{fill:"#A8BECE",d:"M197 555h614v150H197z"}),o.default.createElement("path",{d:"M544 600h-80v37.22L484 615l29.475 32.75 7.935-9.26c3.99-4.655 11.19-4.655 15.18 0l7.41 8.645V600zm10 0v60c0 5.525-4.475 10-10 10h-80c-5.525 0-10-4.475-10-10v-60c0-5.525 4.475-10 10-10h80c5.525 0 10 4.475 10 10zm-45 17.5c0-4.14 3.36-7.5 7.5-7.5 4.14 0 7.5 3.36 7.5 7.5 0 4.14-3.36 7.5-7.5 7.5-4.14 0-7.5-3.36-7.5-7.5z",fill:"#FFF"})))))),o.default.createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-desc"},o.default.createElement("h2",null,(0,u.translate)("Connect with the Community")),o.default.createElement("p",null,(0,u.translate)("The WordPress apps all have impressively fast and full featured readers so you can catch up with your favorite sites and join the conversation anywhere, any time.")),o.default.createElement(c.default,{href:"https://wordpress.com/reader",className:"is-primary"},(0,u.translate)("Launch Reader"))),t?o.default.createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-img"},o.default.createElement("svg",{width:"335",height:"233",viewBox:"0 0 1005 700",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},o.default.createElement("title",null,"Reader Container"),o.default.createElement("defs",null,o.default.createElement("rect",{id:"a",width:"1005",height:"700",rx:"8"}),o.default.createElement("rect",{id:"b",width:"335",height:"233",rx:"8"}),o.default.createElement("path",{id:"c",d:"M158 125h725v575H158z"})),o.default.createElement("g",{fill:"none","fill-rule":"evenodd"},o.default.createElement("rect",{fill:"#F3F6F8",width:"335",height:"233",rx:"8"}),o.default.createElement("use",{fill:"#F3F6F8",xlinkHref:"#a"}),o.default.createElement("rect",{fill:"#E9EFF3",width:"1005",height:"65",rx:"8"}),o.default.createElement("path",{d:"M27.5 31c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm50 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm-25 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5z",fill:"#4F748E"}),o.default.createElement("path",{fill:"#0087BE",d:"M0 47h1005v65H0"}),o.default.createElement("mask",{id:"d",fill:"#fff"},o.default.createElement("use",{xlinkHref:"#c"})),o.default.createElement("g",{mask:"url(#d)"},o.default.createElement("path",{fill:"#FFF",d:"M197 326h614v151H197z"}),o.default.createElement("g",{fill:"#87A6BC"},o.default.createElement("path",{d:"M377 346h70v20h-70zM467 346h117v20H467zM217 346h140v20H217z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 388h75v14h-75zM312 388h187v14H312zM519 388h96v14h-96zM635 388h100v14H635z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 415h100v14H217zM337 415h115v14H337zM472 415h58v14h-58zM550 415h200v14H550z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 442h57v14h-57zM291 442h104v14H291zM415 442h167v14H415z"})),o.default.createElement("g",null,o.default.createElement("path",{fill:"#A8BECE",d:"M197 176h614v150H197z"}),o.default.createElement("path",{d:"M544 221h-80v37.22L484 236l29.475 32.75 7.935-9.26c3.99-4.655 11.19-4.655 15.18 0l7.41 8.645V221zm10 0v60c0 5.525-4.475 10-10 10h-80c-5.525 0-10-4.475-10-10v-60c0-5.525 4.475-10 10-10h80c5.525 0 10 4.475 10 10zm-45 17.5c0-4.14 3.36-7.5 7.5-7.5 4.14 0 7.5 3.36 7.5 7.5 0 4.14-3.36 7.5-7.5 7.5-4.14 0-7.5-3.36-7.5-7.5z",fill:"#FFF"}))),o.default.createElement("g",{mask:"url(#d)"},o.default.createElement("path",{fill:"#FFF",d:"M197 705h614v151H197z"}),o.default.createElement("g",{fill:"#87A6BC"},o.default.createElement("path",{d:"M377 725h70v20h-70zM467 725h117v20H467zM217 725h140v20H217z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 767h75v14h-75zM312 767h187v14H312zM519 767h96v14h-96zM635 767h100v14H635z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 794h100v14H217zM337 794h115v14H337zM472 794h58v14h-58zM550 794h200v14H550z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 821h57v14h-57zM291 821h104v14H291zM415 821h167v14H415z"})),o.default.createElement("g",null,o.default.createElement("path",{fill:"#A8BECE",d:"M197 555h614v150H197z"}),o.default.createElement("path",{d:"M544 600h-80v37.22L484 615l29.475 32.75 7.935-9.26c3.99-4.655 11.19-4.655 15.18 0l7.41 8.645V600zm10 0v60c0 5.525-4.475 10-10 10h-80c-5.525 0-10-4.475-10-10v-60c0-5.525 4.475-10 10-10h80c5.525 0 10 4.475 10 10zm-45 17.5c0-4.14 3.36-7.5 7.5-7.5 4.14 0 7.5 3.36 7.5 7.5 0 4.14-3.36 7.5-7.5 7.5-4.14 0-7.5-3.36-7.5-7.5z",fill:"#FFF"})))))):"")),o.default.createElement("div",{className:"jp-landing-apps__footer"},o.default.createElement("div",{className:"jp-landing-apps__clouds jp-clouds-bottom"},o.default.createElement("img",{src:l.imagePath+"/white-clouds-reverse.svg"})),o.default.createElement("div",{className:"jp-landing-apps__footer-top"},o.default.createElement("h2",{className:"jp-landing-apps__title"},(0,u.translate)("Inspiration strikes any time, anywhere.")),o.default.createElement("p",{className:"jp-landing-apps__description"},(0,u.translate)("Get WordPress apps for any screen.")),o.default.createElement("img",{src:l.imagePath+"/apps/triple-devices.svg",className:"jp-landing-apps__devices"})),o.default.createElement("div",{className:"jp-landing-apps__downloads"},o.default.createElement("h3",{className:"jp-landing-apps__subtitle"},(0,u.translate)("In Your Pocket")),o.default.createElement("p",{className:"jp-landing-apps__sub-description"},(0,u.translate)("Publish content, track stats, moderate comments and so much more from anywhere in the world. Our mobile apps are open source, free and available to you on Apple or Android devices.")),o.default.createElement("p",{className:"jp-landing-apps__btn-container"},o.default.createElement(c.default,{href:"http://itunes.apple.com/us/app/wordpress/id335703880?mt=8",title:(0,u.translate)("WordPress.com in the App Store"),className:"jp-app-button button-ios"},o.default.createElement("svg",{width:"28",height:"28",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 96 96"},o.default.createElement("path",{d:"M74.7,62.2c-3.5-3.2-5.2-7.2-5.3-12.1c-0.1-6.2,2.8-11.1,8.5-14.5c-3.2-4.5-8-7.1-14.4-7.6c-2.4-0.2-5.2,0.3-8.7,1.5 c-3.6,1.3-5.7,2-6.4,2c-0.8,0-2.8-0.6-5.7-1.7c-3-1.1-5.4-1.7-7.2-1.7c-3.4,0.1-6.5,0.9-9.4,2.6c-2.9,1.7-5.2,4-6.9,7 C17.1,41.5,16,45.9,16,51c0,4.4,0.8,9,2.4,13.8c1.5,4.4,3.5,8.2,5.8,11.6c2.2,3.1,4,5.3,5.5,6.6c2.3,2.1,4.6,3.2,6.9,3.1 c1.5-0.1,3.5-0.6,6-1.6c2.5-1,4.8-1.5,6.9-1.5c2,0,4.3,0.5,6.7,1.5c2.4,1,4.5,1.5,6.2,1.5c2.4-0.1,4.7-1,6.8-3 c1.4-1.2,3.1-3.3,5.3-6.4c1.6-2.2,2.9-4.7,4.1-7.3c0.5-1.1,0.9-2.3,1.3-3.5C78.1,64.9,76.3,63.7,74.7,62.2z M59.8,22.2 c2.8-3.3,4.2-6.8,4.2-10.6v0c0-0.5,0-1-0.1-1.5c-1.9,0.1-4,0.7-6.1,1.7c-2.2,1.1-4,2.4-5.4,4C49.6,19,48,22.9,48,26.5 c0,0.5,0,1,0.1,1.4C52.5,28.3,56.5,26.1,59.8,22.2z"})),"iOS"),o.default.createElement(c.default,{href:"http://play.google.com/store/apps/details?id=org.wordpress.android",title:(0,u.translate)("WordPress.com in Google Play"),className:"jp-app-button button-android"},o.default.createElement("svg",{width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 96 96"},o.default.createElement("path",{d:"M25,34.1c-2.1,0-4,1.7-4,3.7v16.6c0,2,1.9,3.7,4,3.7c2.1,0,4-1.7,4-3.7V37.8C29,35.7,27.1,34.1,25,34.1z M31,35v29.5 c0,1.1,0.5,2.5,1.6,2.5H37v8.8c0,2,1.9,3.7,4,3.7c2.1,0,4-1.7,4-3.7V67h6v8.8c0,2,1.9,3.7,4,3.7c2.1,0,4-1.7,4-3.7V67h4.4 c1.2,0,1.6-1.3,1.6-2.5V50V35h-1.6H31z M56.4,20.1l3-4.1c0.1-0.1,0-0.2-0.2-0.3c-0.2-0.1-0.4-0.1-0.4,0l-3.1,4.3 c-2.1-0.8-4.6-1.3-7.7-1.3c-3.1,0-5.7,0.5-7.8,1.3l-3.1-4.3c-0.1-0.1-0.3-0.1-0.4,0.1c-0.2,0.1-0.3,0.3-0.2,0.4l3,4 c-8.6,3.8-8.9,13-8.9,13h34.7C65.3,33,65,23.9,56.4,20.1z M40.4,27.8c-1.2,0-2.1-0.9-2.1-2.1c0-1.1,0.9-2.1,2.1-2.1 c1.2,0,2.1,0.9,2.1,2.1C42.5,26.9,41.5,27.8,40.4,27.8z M55.6,27.8c-1.2,0-2.1-0.9-2.1-2.1c0-1.1,0.9-2.1,2.1-2.1 c1.2,0,2.1,0.9,2.1,2.1C57.7,26.9,56.8,27.8,55.6,27.8z M71,34.1c-2.1,0-4,1.7-4,3.7v16.6c0,2,1.9,3.7,4,3.7c2.1,0,4-1.7,4-3.7V37.8 C75,35.7,73.1,34.1,71,34.1z"})),"Android")),o.default.createElement("h3",{className:"jp-landing-apps__subtitle"},(0,u.translate)("On Your Desktop")),o.default.createElement("p",{className:"jp-landing-apps__sub-description"},(0,u.translate)("A desktop app that gives WordPress a permanent home on your computer. Not to mention the distraction free environment you get writing outside of a web browser.")),o.default.createElement("p",{className:"jp-landing-apps__btn-container"},o.default.createElement(c.default,{href:"https://apps.wordpress.com/d/osx",title:(0,u.translate)("WordPress.com for Mac OS X"),className:"jp-app-button button-macosx"},o.default.createElement("svg",{width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},o.default.createElement("path",{d:"M24,8C15.163,8,8,15.163,8,24s7.163,16,16,16s16-7.163,16-16S32.837,8,24,8z M31.31,33.849h-0.986 l-6.31-9.152h-0.058l-6.31,9.152h-0.972l6.817-9.82l-6.846-9.878h0.986l6.339,9.181h0.058l6.353-9.181h0.972l-6.861,9.878 L31.31,33.849z"})),"Mac OS X"),o.default.createElement(c.default,{href:"https://apps.wordpress.com/d/windows",title:(0,u.translate)("WordPress.com for Windows"),className:"jp-app-button button-windows"},o.default.createElement("svg",{width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},o.default.createElement("path",{d:"M8,35.5l13,2.031V25H8V35.5z M8,24h13V10.172L8,12V24z M22,37.688L40,40.5V25H22V37.688z M22,10.031 V24h18V7.5L22,10.031z"})),"Windows"),o.default.createElement(c.default,{href:"https://apps.wordpress.com/d/linux",title:(0,u.translate)("WordPress.com for Linux"),className:"jp-app-button button-linux"},o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"24",viewBox:"0 0 21 24"},o.default.createElement("path",{d:"M9.8 5.9C9.8 5.9 9.8 5.9 9.8 5.9L9.7 5.9C9.6 5.9 9.6 5.9 9.5 5.8 9.5 5.8 9.4 5.7 9.4 5.6 9.4 5.5 9.4 5.5 9.5 5.5L9.7 5.6C9.8 5.7 9.8 5.8 9.8 5.9M8.4 5.1C8.4 4.7 8.3 4.4 8 4.4 8 4.4 8 4.5 7.9 4.5L7.9 4.7 8.2 4.7C8.2 4.8 8.3 4.9 8.3 5.1L8.4 5.1M11.2 4.7C11.3 4.7 11.4 4.8 11.5 5.1L11.7 5.1C11.6 5 11.6 4.9 11.6 4.8 11.6 4.8 11.6 4.7 11.5 4.6 11.4 4.5 11.3 4.4 11.3 4.4 11.3 4.4 11.2 4.5 11.1 4.5 11.1 4.6 11.2 4.6 11.2 4.7M8.8 5.9C8.7 5.9 8.7 5.9 8.7 5.9 8.7 5.8 8.7 5.7 8.8 5.6 9 5.6 9.1 5.5 9.1 5.5 9.1 5.5 9.1 5.6 9.1 5.6 9.1 5.7 9.1 5.8 8.9 5.9L8.8 5.9M7.9 5.9C7.6 5.7 7.6 5.5 7.6 5.1 7.6 4.8 7.6 4.7 7.7 4.5 7.8 4.4 7.9 4.3 8.1 4.3 8.3 4.3 8.3 4.4 8.5 4.5 8.6 4.8 8.7 5 8.7 5.2L8.7 5.3 8.7 5.4 8.7 5.4 8.7 5.3C8.8 5.3 8.8 5.2 8.8 4.8 8.8 4.6 8.8 4.4 8.7 4.1 8.5 3.9 8.3 3.7 8 3.7 7.8 3.7 7.6 3.9 7.5 4.1 7.3 4.4 7.3 4.7 7.3 5.1 7.3 5.4 7.4 5.7 7.7 6 7.8 5.9 7.9 5.9 7.9 5.9M17.8 17C17.9 17 17.9 17 17.9 16.9 17.9 16.7 17.8 16.5 17.6 16.3 17.3 16 16.9 15.9 16.5 15.8 16.4 15.8 16.3 15.8 16.3 15.8 16.2 15.8 16.2 15.8 16.2 15.8 16.1 15.8 15.9 15.8 15.8 15.8 16.1 15 16.2 14.4 16.2 13.8 16.2 13 16 12.5 15.7 12 15.4 11.5 15.1 11.3 14.7 11.2 14.6 11.3 14.6 11.3 14.6 11.4 15 11.5 15.4 11.8 15.6 12.3 15.8 12.9 15.9 13.3 15.9 13.9 15.9 14.3 15.8 15 15.5 15.8 15.2 16 14.9 16.3 14.7 16.7 14.7 16.8 14.7 16.8 14.7 16.8 14.7 16.8 14.8 16.8 14.9 16.6 15.1 16.5 15.1 16.3 15.3 16.2 15.5 16.1 15.7 16 15.9 16 16.3 16 16.7 16.1 16.9 16.2 17.3 16.3 17.4 16.4 17.5 16.5 17.6 16.6 17.7 16.7 17.7 16.8 17.7 16.9 17.8 17 17.8 17M10.6 5.5C10.5 5.5 10.5 5.3 10.5 5.2 10.5 4.8 10.5 4.7 10.6 4.4 10.8 4.3 10.9 4.2 11.1 4.2 11.3 4.2 11.5 4.4 11.7 4.5 11.7 4.8 11.8 4.9 11.8 5.2 11.8 5.5 11.7 5.8 11.3 5.9 11.3 5.9 11.4 5.9 11.5 5.9 11.7 5.9 11.7 6 11.9 6.1 12 5.6 12.1 5.3 12.1 4.9 12.1 4.4 12 4.1 11.8 3.9 11.6 3.7 11.3 3.6 11 3.6 10.8 3.6 10.6 3.7 10.3 3.8 10.2 4 10.1 4.2 10.1 4.4 10.1 4.8 10.2 5.2 10.3 5.5 10.4 5.5 10.5 5.5 10.6 5.5M11.5 6.8C10.5 7.5 9.7 7.8 9.1 7.8 8.5 7.8 7.9 7.6 7.5 7.2 7.6 7.4 7.6 7.5 7.7 7.6L8.2 8.1C8.5 8.4 8.9 8.5 9.3 8.5 9.8 8.5 10.5 8.2 11.3 7.7L12 7.2C12.1 7 12.3 6.9 12.3 6.7 12.3 6.6 12.3 6.5 12.2 6.5 12.1 6.3 11.7 6.1 10.9 5.9 10.2 5.5 9.7 5.4 9.4 5.4 9.1 5.4 8.7 5.5 8.2 5.9 7.7 6.2 7.4 6.5 7.4 6.8 7.4 6.8 7.5 6.9 7.6 7 8 7.4 8.5 7.7 9 7.7 9.6 7.7 10.4 7.4 11.4 6.6L11.4 6.7C11.5 6.7 11.5 6.8 11.5 6.8M13.3 22.8C13.6 23.4 14.2 23.7 14.8 23.7 15 23.7 15.1 23.6 15.3 23.6 15.4 23.5 15.6 23.5 15.7 23.4 15.8 23.4 15.8 23.3 15.9 23.3 16.1 23.2 16.1 23.2 16.2 23.1L17.5 22C17.8 21.7 18.1 21.5 18.5 21.3 18.8 21.1 19.2 21 19.3 20.9 19.6 20.8 19.7 20.8 19.9 20.6 19.9 20.5 20 20.4 20 20.2 20 19.9 19.9 19.8 19.7 19.6 19.6 19.5 19.4 19.4 19.2 19.4 19.1 19.3 18.9 19.2 18.7 19 18.5 18.8 18.4 18.5 18.3 18.1L18.2 17.7C18.1 17.4 18.1 17.3 18.1 17.2 18.1 17.2 18.1 17.2 18 17.2 17.9 17.2 17.7 17.2 17.7 17.4 17.5 17.5 17.3 17.7 17.2 17.8 17.1 18 16.9 18.1 16.7 18.3 16.5 18.4 16.2 18.5 16.1 18.5 15.4 18.5 15.1 18.3 14.9 17.9 14.7 17.7 14.7 17.4 14.6 17.1 14.4 16.9 14.3 16.9 14.2 16.9 13.8 16.9 13.6 17.3 13.6 18.1L13.6 18.4 13.6 19.3 13.6 20 13.6 20.3 13.6 20.6C13.6 20.6 13.6 20.8 13.6 21 13.5 21.3 13.5 21.6 13.5 21.9L13.3 22.7 13.3 22.8M1.9 22.3C2.6 22.4 3.4 22.7 4.4 23 5.4 23.4 5.9 23.6 6.2 23.6 6.7 23.6 7.2 23.3 7.5 22.8 7.6 22.7 7.6 22.5 7.6 22.3 7.6 21.6 7.2 20.6 6.3 19.5L5.7 18.7C5.6 18.6 5.5 18.4 5.3 18.1 5.2 17.8 5 17.5 4.9 17.3 4.8 17.2 4.6 17 4.4 16.8 4.2 16.6 4 16.5 3.7 16.4 3.4 16.5 3.1 16.6 3 16.8 2.9 16.9 2.9 17.1 2.8 17.3 2.8 17.4 2.8 17.5 2.7 17.6 2.6 17.6 2.5 17.7 2.3 17.7 2.3 17.7 2.2 17.7 2.1 17.7L1.9 17.7C1.4 17.7 1.2 17.8 1 17.8 0.8 18.1 0.7 18.3 0.7 18.6 0.7 18.7 0.7 19 0.8 19.3 0.9 19.5 0.9 19.8 0.9 19.9 0.9 20.3 0.8 20.6 0.6 20.9 0.4 21.3 0.3 21.5 0.3 21.7 0.4 22 0.9 22.2 1.9 22.3M4.5 15.2C4.5 14.6 4.6 14 4.9 13.3 5.2 12.6 5.5 12.1 5.8 11.8 5.8 11.7 5.7 11.7 5.7 11.7L5.6 11.6C5.3 11.9 5.1 12.4 4.7 13.2 4.4 13.9 4.2 14.6 4.2 15.1 4.2 15.4 4.3 15.7 4.5 16 4.7 16.3 5.1 16.6 5.7 17.1L6.6 17.7C7.5 18.4 7.9 19 7.9 19.3 7.9 19.5 7.9 19.6 7.6 19.8 7.5 20 7.3 20.1 7.1 20.1 7.1 20.1 7 20.1 7 20.1 7 20.2 7.1 20.3 7.3 20.6 7.6 21.1 8.3 21.3 9.3 21.3 11 21.3 12.4 20.6 13.4 19.2 13.4 18.8 13.4 18.5 13.3 18.4L13.3 18.1C13.3 17.6 13.4 17.2 13.5 17 13.7 16.7 13.9 16.6 14.1 16.6 14.3 16.6 14.4 16.7 14.6 16.8 14.6 16.2 14.6 15.6 14.6 15.2 14.6 14.4 14.6 13.9 14.5 13.3 14.4 12.8 14.3 12.4 14.1 12.1 13.9 11.9 13.8 11.6 13.6 11.4 13.5 11.2 13.4 10.9 13.2 10.7 13.1 10.4 13.1 10.1 13.1 9.8 12.8 9.4 12.7 9 12.4 8.6 12.3 8.2 12.1 7.8 12 7.5L11.3 8C10.5 8.6 9.8 8.8 9.3 8.8 8.8 8.8 8.4 8.7 8.2 8.4L7.7 8C7.7 8.3 7.6 8.6 7.5 8.9L7 9.8C6.7 10.4 6.6 10.7 6.6 10.9 6.6 11.1 6.5 11.3 6.5 11.3L5.9 12.4C5.3 13.6 5 14.7 5 15.6 5 15.8 5 16 5 16.2 4.7 15.9 4.5 15.6 4.5 15.2M10.1 22.6C9.1 22.6 8.3 22.8 7.8 23L7.8 23C7.4 23.5 6.9 23.7 6.3 23.7 5.9 23.7 5.3 23.6 4.5 23.3 3.7 23 2.9 22.8 2.3 22.6 2.2 22.6 2.1 22.6 1.9 22.6 1.7 22.5 1.4 22.5 1.3 22.5 1.1 22.4 0.9 22.4 0.7 22.3 0.5 22.2 0.4 22.1 0.2 22 0.1 21.9 0.1 21.8 0.1 21.7 0.1 21.6 0.1 21.4 0.2 21.3 0.2 21.2 0.3 21.1 0.3 21.1 0.4 21 0.4 20.9 0.4 20.8 0.5 20.7 0.5 20.7 0.6 20.6 0.6 20.5 0.6 20.4 0.6 20.4 0.7 20.3 0.7 20.2 0.7 20.1 0.7 20 0.6 19.8 0.6 19.4 0.5 19 0.5 18.7 0.5 18.6 0.5 18.3 0.6 18 0.7 17.8 0.9 17.6 1.1 17.5 1.2 17.5L2.2 17.5C2.2 17.5 2.3 17.4 2.5 17.4 2.6 17.2 2.6 17.1 2.6 17 2.7 16.9 2.7 16.9 2.7 16.8 2.7 16.8 2.7 16.7 2.8 16.7 2.8 16.6 2.8 16.6 2.9 16.5 2.8 16.4 2.8 16.3 2.8 16.2 2.8 16.1 2.8 16 2.8 16 2.8 15.7 2.9 15.3 3.2 14.8L3.5 14.3C3.7 13.9 3.9 13.5 4 13.2 4.2 12.9 4.3 12.4 4.5 11.8 4.6 11.2 4.9 10.7 5.4 10.1L5.9 9.4C6.4 9 6.6 8.6 6.8 8.2 6.9 7.9 7 7.5 7 7.2 7 7.1 7 6.6 6.9 5.8 6.8 5 6.8 4.2 6.8 3.5 6.8 3 6.8 2.6 6.9 2.2 7 1.8 7.2 1.4 7.5 1.1 7.7 0.7 8 0.4 8.5 0.3 9 0.1 9.5 0 10.1 0 10.4 0 10.6 0 10.9 0.1 11.1 0.1 11.4 0.2 11.8 0.4 12.1 0.5 12.4 0.7 12.7 0.9 13 1.1 13.2 1.5 13.5 1.9 13.6 2.4 13.8 2.9 13.9 3.5 13.9 3.9 13.9 4.3 14 4.9 14 5.3 14.1 5.6 14.1 5.9 14.2 6.1 14.2 6.4 14.3 6.8 14.3 7.1 14.4 7.5 14.6 7.7 14.7 8 14.9 8.3 15.1 8.6 15.4 9 15.7 9.4 16 9.9 16.7 10.7 17.3 11.6 17.6 12.4 18 13.2 18.2 14.2 18.2 15.3 18.2 15.9 18.1 16.4 18 16.9 18.1 16.9 18.2 17 18.3 17.1 18.4 17.2 18.4 17.5 18.5 17.8L18.6 18.4C18.7 18.6 18.8 18.7 19 18.9 19.1 19 19.3 19.2 19.5 19.2 19.7 19.3 19.9 19.4 20.1 19.6 20.3 19.7 20.3 19.9 20.3 20.1 20.3 20.3 20.3 20.5 20.1 20.7 19.9 20.8 19.8 21 19.5 21 19.4 21.1 19.1 21.3 18.6 21.5 18.2 21.7 17.8 22 17.4 22.3L16.6 23C16.3 23.3 16 23.5 15.8 23.7 15.5 23.8 15.2 23.9 14.9 23.9L14.3 23.8C13.7 23.7 13.3 23.3 13.1 22.9 11.8 22.7 10.8 22.6 10.1 22.6"})),"Linux")))))};t.default=(0,i.connect)(function(e){return{userCanViewStats:(0,d.userCanViewStats)(e),userCanManagePlugins:(0,d.userCanManagePlugins)(e),userCanEditPosts:(0,d.userCanEditPosts)(e)}})(p),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Plans=void 0;var a=n(142),o=r(a),i=n(154),s=n(837),c=(r(s),n(466),n(689)),u=n(938),l=r(u),d=n(639),p=n(1024),f=r(p),h=n(1025),m=r(h),M=t.Plans=o.default.createClass({displayName:"Plans",render:function(){var e=this.props.sitePlan.product_slug||"";return"dev"===this.props.getSiteConnectionStatus(this.props)&&(e="dev"),o.default.createElement("div",null,o.default.createElement(l.default,null),o.default.createElement("div",{className:"jp-landing__plans dops-card"},o.default.createElement(f.default,{plan:e}),o.default.createElement(m.default,{plan:e,siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl})))}});t.default=(0,i.connect)(function(e){return{getSiteConnectionStatus:function(){return(0,d.getSiteConnectionStatus)(e)},sitePlan:(0,c.getSitePlan)(e)}})(M)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(837),s=r(i),c=n(466),u=n(855),l=o.default.createClass({displayName:"PlanHeader",render:function(){var e="",t="";switch(this.props.plan){case"jetpack_free":e=o.default.createElement("div",{className:"jp-landing-plans__header"},o.default.createElement("h2",{className:"jp-landing-plans__header-title"},(0,c.translate)("Introducing our most affordable backups and security plan yet")),o.default.createElement("p",{className:"jp-landing-plans__header-description"},(0,c.translate)("The Personal Plan keeps your data, site, and hard work safe.")),o.default.createElement("div",{className:"jp-landing-plans__header-img-container"},o.default.createElement("div",{className:"jp-landing-plans__header-col-left"},o.default.createElement("h3",{className:"jp-landing-plans__header-subtitle"},(0,c.translate)("How much is your website worth?")),o.default.createElement("p",{className:"jp-landing-plans__header-text"},(0,c.translate)("For less than the price of a coffee a month you can rest easy knowing your hard work (or livelihood) is backed up."),o.default.createElement("br",null),o.default.createElement("br",null),(0,c.translate)("Hackers, botnets and spammers attack websites indiscriminately. Their goal is to attack everywhere and often. Our goal is to help you prepare by blocking these threats, and in worst-case-scenarios we'll be here to help you restore your site to its former glory.")),o.default.createElement("p",{className:"jp-landing-plans__header-btn-container"},o.default.createElement(s.default,{href:"https://wordpress.com/plans/"+window.Initial_State.rawUrl,className:"is-primary"},(0,c.translate)("Learn more...")))),o.default.createElement("div",{className:"jp-landing-plans__header-col-right"},o.default.createElement("img",{src:u.imagePath+"/plans/admin-lock2x.png",className:"jp-landing-plans__header-img"}))),o.default.createElement("div",{className:"jp-landing-plans__clouds jp-clouds-top"},o.default.createElement("img",{src:u.imagePath+"/white-clouds.svg"}))),t=o.default.createElement("div",{className:"jp-landing__plan-card"},o.default.createElement("div",{className:"jp-landing__plan-card-img"},o.default.createElement("img",{src:u.imagePath+"/plans/plan-jetpack-free.svg",className:"jp-landing__plan-icon"})),o.default.createElement("div",{className:"jp-landing__plan-card-current"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,c.translate)("Your site is on the Free Jetpack Plan")),o.default.createElement("p",{className:"jp-landing__plan-features-text"},(0,c.translate)("Upgrade to a paid plan to unlock world-class security, spam protection tools, and priority support."))));break;case"jetpack_personal":case"jetpack_personal_monthly":t=o.default.createElement("div",{className:"jp-landing__plan-card"},o.default.createElement("div",{className:"jp-landing__plan-card-img"},o.default.createElement("img",{src:u.imagePath+"/plans/plan-jetpack-premium.svg",className:"jp-landing__plan-icon"})),o.default.createElement("div",{className:"jp-landing__plan-card-current"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,c.translate)("Your site is on the Jetpack Personal plan")),o.default.createElement("p",{className:"jp-landing__plan-features-text"},(0,c.translate)("With this plan you are provided with spam-protection, daily backups (up to 30 days), and unlimited storage."))));break;case"jetpack_premium":case"jetpack_premium_monthly":t=o.default.createElement("div",{className:"jp-landing__plan-card"},o.default.createElement("div",{className:"jp-landing__plan-card-img"},o.default.createElement("img",{src:u.imagePath+"/plans/plan-jetpack-premium.svg",className:"jp-landing__plan-icon"})),o.default.createElement("div",{className:"jp-landing__plan-card-current"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,c.translate)("Your site is on the Jetpack Premium plan")),o.default.createElement("p",{className:"jp-landing__plan-features-text"},(0,c.translate)("With this plan you are provided with spam-protection, daily backups (up to 30 days), unlimited backup storage, security scanning, and priority support."))));break;case"jetpack_business":case"jetpack_business_monthly":t=o.default.createElement("div",{className:"jp-landing__plan-card"},o.default.createElement("div",{className:"jp-landing__plan-card-img"},o.default.createElement("img",{src:u.imagePath+"/plans/plan-jetpack-pro.svg",className:"jp-landing__plan-icon"})),o.default.createElement("div",{className:"jp-landing__plan-card-current"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,c.translate)("Your site is on the Jetpack Professional plan")),o.default.createElement("p",{className:"jp-landing__plan-features-text"},(0,c.translate)("You get spam-protection, real-time backups (unlimited archive), unlimited backup storage, security scanning, SEO tools, PollDaddy, and priority support."))));break;case"dev":t=o.default.createElement("div",{className:"jp-landing__plan-card"},o.default.createElement("div",{className:"jp-landing__plan-card-img"},o.default.createElement("img",{src:u.imagePath+"/plans/plan-jetpack-free.svg",className:"jp-landing__plan-icon"})),o.default.createElement("div",{className:"jp-landing__plan-card-current"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,c.translate)("Your site is on Development Mode")),o.default.createElement("p",{className:"jp-landing__plan-features-text"},(0,c.translate)("Once you connect, you can upgrade to a paid plan in order to unlock world-class security, spam protection tools, and priority support."))));break;default:t=o.default.createElement("div",{className:"jp-landing__plan-card"},o.default.createElement("div",{className:"jp-landing__plan-card-img is-placeholder"}),o.default.createElement("div",{className:"jp-landing__plan-card-current"},o.default.createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),o.default.createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")))}return o.default.createElement("div",null,e,t)}});t.default=l,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(837),c=r(s),u=n(466),l=n(641),d=r(l),p=(n(855),n(692)),f=n(447),h=n(927),m=r(h),M=o.default.createClass({displayName:"PlanBody",render:function(){var e="";switch(this.props.plan){case"jetpack_personal":case"jetpack_personal_monthly":case"jetpack_premium":case"jetpack_premium_monthly":case"jetpack_business":case"jetpack_business_monthly":e=o.default.createElement("div",{className:"jp-landing__plan-features"},o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Spam Protection")),o.default.createElement("p",null,(0,u.translate)("State-of-the-art spam defense powered by Akismet.")),this.props.isFetchingPluginsData?"":this.props.isPluginInstalled("akismet/akismet.php")&&this.props.isPluginActive("akismet/akismet.php")?o.default.createElement(c.default,{href:this.props.siteAdminUrl+"admin.php?page=akismet-key-config",className:"is-primary"},(0,u.translate)("View your spam stats")):o.default.createElement(c.default,{href:"https://wordpress.com/plugins/setup/"+this.props.siteRawUrl+"?only=akismet",className:"is-primary"},(0,u.translate)("Configure Akismet"))),(0,d.default)(["jetpack_personal","jetpack_personal_monthly"],this.props.plan)?o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Backups")),o.default.createElement("p",null,(0,u.translate)("Daily backup of all your site data with unlimited space and one-click restores (powered by VaultPress).")),this.props.isFetchingPluginsData?"":this.props.isPluginInstalled("vaultpress/vaultpress.php")&&this.props.isPluginActive("vaultpress/vaultpress.php")?o.default.createElement(c.default,{href:"https://dashboard.vaultpress.com/",className:"is-primary"},(0,u.translate)("View your security dashboard")):o.default.createElement(c.default,{href:"https://wordpress.com/plugins/setup/"+this.props.siteRawUrl+"?only=vaultpress",className:"is-primary"},(0,u.translate)("Configure VaultPress"))):"",(0,d.default)(["jetpack_premium","jetpack_premium_monthly"],this.props.plan)?o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Backups & Security Scanning")),o.default.createElement("p",null,(0,u.translate)("Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support (powered by VaultPress).")),this.props.isFetchingPluginsData?"":this.props.isPluginInstalled("vaultpress/vaultpress.php")&&this.props.isPluginActive("vaultpress/vaultpress.php")?o.default.createElement(c.default,{href:"https://dashboard.vaultpress.com/",className:"is-primary"},(0,u.translate)("View your security dashboard")):o.default.createElement(c.default,{href:"https://wordpress.com/plugins/setup/"+this.props.siteRawUrl+"?only=vaultpress",className:"is-primary"},(0,u.translate)("Configure VaultPress"))):"",(0,d.default)(["jetpack_business","jetpack_business_monthly"],this.props.plan)?o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Backups & Security Scanning")),o.default.createElement("p",null,(0,u.translate)("Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, one-click threat resolution, and priority support (powered by VaultPress).")),this.props.isFetchingPluginsData?"":this.props.isPluginInstalled("vaultpress/vaultpress.php")&&this.props.isPluginActive("vaultpress/vaultpress.php")?o.default.createElement(c.default,{href:"https://dashboard.vaultpress.com/",className:"is-primary"},(0,u.translate)("View your security dashboard")):o.default.createElement(c.default,{href:"https://wordpress.com/plugins/setup/"+this.props.siteRawUrl+"?only=vaultpress",className:"is-primary"},(0,u.translate)("Configure VaultPress"))):"",(0,d.default)(["jetpack_business","jetpack_business_monthly"],this.props.plan)?o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("SEO Tools")),o.default.createElement("p",null,(0,u.translate)("Advanced SEO tools to help your site get found when people search for relevant content.")),this.props.isFetchingPluginsData?"":this.props.isModuleActivated("seo-tools")?o.default.createElement(c.default,{href:"https://wordpress.com/settings/seo/"+this.props.siteRawUrl,className:"is-primary"},(0,u.translate)("Configure Site SEO")):o.default.createElement(c.default,{
34
- onClick:this.props.activateModule.bind(null,"seo-tools"),className:"is-primary",disabled:this.props.isActivatingModule("seo-tools")},(0,u.translate)("Activate SEO Tools"))):"",(0,d.default)(["jetpack_business","jetpack_business_monthly"],this.props.plan)?o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Surveys & Polls")),o.default.createElement("p",null,(0,u.translate)("Unlimited surveys, unlimited responses. Use the survey editor to create surveys quickly and easily. Collect responses via your website, e-mail or on your iPad or iPhone.")),o.default.createElement(c.default,{href:"https://polldaddy.com/dashboard/",className:"is-primary"},(0,u.translate)("Create a new poll"))):"",(0,d.default)(["jetpack_personal","jetpack_personal_monthly","jetpack_premium","jetpack_premium_monthly"],this.props.plan)?o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Need more? Running a business site?")),o.default.createElement("p",null,(0,u.translate)("If your site is important to you, consider protecting and improving it with some of our advanced features: ")),o.default.createElement("p",null," — ",(0,u.translate)("On-demand security scanning")),o.default.createElement("p",null," — ",(0,u.translate)("Real-time backups")),o.default.createElement("p",null," — ",(0,u.translate)("One-click threat resolution")),o.default.createElement("p",null," — ",(0,u.translate)("Advanced polls and ratings")),o.default.createElement("p",null," — ",(0,u.translate)("Advanced SEO tools")),o.default.createElement("p",null,o.default.createElement(c.default,{href:"https://wordpress.com/plans/"+this.props.siteRawUrl,className:"is-primary"},(0,u.translate)("Compare Plans")))):"");break;case"jetpack_free":case"dev":e=o.default.createElement("div",{className:"jp-landing__plan-features"},o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Maximum grade security")),o.default.createElement("p",null,(0,u.translate)("Real-time backup with unlimited space, one-click restores, bulletproof spam monitoring, malware defense and brute-force login protection - all in one place and optimized for WordPress."))),o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Lock out the bad guys")),o.default.createElement("p",null,(0,u.translate)("Bulletproof spam filtering protects your brand, your readers, and improves SEO. Brute force login protection helps maintain peace of mind and keeps your backend safe from intruders."))),o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Enjoy priority support")),o.default.createElement("p",null,(0,u.translate)("Need help? A Happiness Engineer can answer questions about your site, your account or how to do about anything."))));break;default:e=o.default.createElement("div",{className:"jp-landing__plan-features"},o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),o.default.createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")),o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),o.default.createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")),o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),o.default.createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")))}return o.default.createElement("div",null,o.default.createElement(m.default,null),e)}});t.default=(0,i.connect)(function(e){return{isFetchingPluginsData:(0,p.isFetchingPluginsData)(e),isPluginActive:function(t){return(0,p.isPluginActive)(e,t)},isPluginInstalled:function(t){return(0,p.isPluginInstalled)(e,t)},isModuleActivated:function(t){return(0,f.isModuleActivated)(e,t)},isActivatingModule:function(t){return(0,f.isActivatingModule)(e,t)}}},function(e){return{fetchPluginsData:function(){return e((0,p.fetchPluginsData)())},activateModule:function(t){return e((0,f.activateModule)(t))}}})(M),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Footer=void 0;var a=n(142),o=r(a),i=n(154),s=n(863),c=r(s),u=n(466),l=n(347),d=n(1027),p=n(639),f=t.Footer=o.default.createClass({displayName:"Footer",disconnectSite:function(){(this.props.isInIdentityCrisis||window.confirm((0,u.translate)("Do you really want to disconnect your site from WordPress.com?")))&&this.props.disconnectSite()},resetOnClick:function(){window.confirm((0,u.translate)("This will reset all Jetpack options, are you sure?"))&&this.props.resetOptions()},render:function(){var e=this,t=(0,c.default)(this.props.className,"jp-footer"),n=this.props.currentVersion,r=function(){return e.props.isDevVersion&&e.props.userCanManageOptions?o.default.createElement("li",{className:"jp-footer__link-item"},o.default.createElement("a",{onClick:e.resetOnClick,className:"jp-footer__link"},(0,u.translate)("Reset Options (dev versions only)",{context:"Navigation item."}))):""},a=function(){if(e.props.userCanManageOptions)return o.default.createElement("li",{className:"jp-footer__link-item"},o.default.createElement("a",{href:e.props.siteAdminUrl+"admin.php?page=jetpack-debugger",title:(0,u.translate)("Test your site’s compatibility with Jetpack."),className:"jp-footer__link"},(0,u.translate)("Debug",{context:"Navigation item. Noun. Links to a debugger tool for Jetpack."})))},i=function(){if(e.props.userCanDisconnectSite&&e.props.siteConnectionStatus&&!e.props.isDevMode)return o.default.createElement("li",{className:"jp-footer__link-item"},o.default.createElement("a",{onClick:e.disconnectSite,title:(0,u.translate)("Disconnect from WordPress.com"),className:"jp-footer__link"},(0,u.translate)("Disconnect Jetpack")))};return o.default.createElement("div",{className:t},o.default.createElement("div",{className:"jp-footer__a8c-attr-container"},o.default.createElement("a",{href:"https://automattic.com",target:"_blank"},o.default.createElement("svg",{className:"jp-footer__a8c-attr",x:"0",y:"0",viewBox:"0 0 935 38.2","enable-background":"new 0 0 935 38.2"},o.default.createElement("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),o.default.createElement("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),o.default.createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"})))),o.default.createElement("ul",{className:"jp-footer__links"},o.default.createElement("li",{className:"jp-footer__link-item"},o.default.createElement("a",{href:"https://jetpack.com",target:"_blank",className:"jp-footer__link",title:n},n)),o.default.createElement("li",{className:"jp-footer__link-item"},o.default.createElement("a",{href:"https://wordpress.com/tos/",target:"_blank",title:(0,u.translate)("WordPress.com Terms of Service"),className:"jp-footer__link"},(0,u.translate)("Terms",{context:"Shorthand for Terms of Service."}))),o.default.createElement("li",{className:"jp-footer__link-item"},o.default.createElement("a",{href:"https://automattic.com/privacy/",target:"_blank",title:(0,u.translate)("Automattic's Privacy Policy"),className:"jp-footer__link"},(0,u.translate)("Privacy",{context:"Shorthand for Privacy Policy."}))),a(),r(),i()))}});t.default=(0,i.connect)(function(e){return{currentVersion:(0,l.getCurrentVersion)(e),userCanManageOptions:(0,l.userCanManageOptions)(e),userCanDisconnectSite:(0,l.userCanDisconnectSite)(e),isDevVersion:(0,l.isDevVersion)(e),isDevMode:(0,p.isDevMode)(e),siteConnectionStatus:(0,p.getSiteConnectionStatus)(e),siteAdminUrl:(0,l.getSiteAdminUrl)(e),isInIdentityCrisis:(0,p.isInIdentityCrisis)(e)}},function(e){return{disconnectSite:function(){return e((0,p.disconnectSite)())},resetOptions:function(){return e((0,d.resetOptions)("options"))}}})(f)},function(e,t,n){"use strict";function r(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}function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(348),i=a(o),s=n(1028),c=r(s),u=(0,i.default)({},c);t.default=u,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.resetOptions=void 0;var a=n(458),o=n(466),i=n(434),s=n(439),c=r(s);t.resetOptions=function(e){return function(t){return t({type:i.RESET_OPTIONS}),t((0,a.createNotice)("is-info",(0,o.translate)("Resetting Jetpack options…"),{id:"reset-options"})),c.default.resetOptions(e).then(function(){t({type:i.RESET_OPTIONS_SUCCESS}),t((0,a.removeNotice)("reset-options")),t((0,a.createNotice)("is-success",(0,o.translate)("Options reset."),{id:"reset-options"}))}).catch(function(e){t({type:i.RESET_OPTIONS_FAIL,error:e}),t((0,a.removeNotice)("reset-options")),t((0,a.createNotice)("is-error",(0,o.translate)("Options failed to reset."),{id:"reset-options"}))})}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(863),c=r(s),u=n(1030),l=r(u),d=n(466),p=n(832),f=r(p),h=n(347),m=o.default.createClass({displayName:"SupportCard",render:function(){var e=(0,c.default)(this.props.className,"jp-support-card"),t=(0,l.default)(this.props.happinessGravatarIds);return o.default.createElement("div",{className:e},o.default.createElement(f.default,{className:"jp-support-card__happiness"},o.default.createElement("div",{className:"jp-support-card__happiness-engineer"},o.default.createElement("img",{src:"https://secure.gravatar.com/avatar/"+t,alt:(0,d.translate)("Jetpack Happiness Engineer"),className:"jp-support-card__happiness-engineer-img",width:"72",height:"72"})),o.default.createElement("div",{className:"jp-support-card__happiness-contact"},o.default.createElement("h4",{className:"jp-support-card__header"},(0,d.translate)("Need help? The Jetpack team is here for you.")),o.default.createElement("p",{className:"jp-support-card__description"},(0,d.translate)("We offer free, full support to all of our Jetpack users. Our support team is always around to help you.")),o.default.createElement("p",{className:"jp-support-card__description"},(0,d.translate)("{{supportLink}}View our support page{{/supportLink}}{{hideOnMobile}},{{/hideOnMobile}} {{forumLink}}check the forums for answers{{/forumLink}}{{hideOnMobile}}, or{{/hideOnMobile}} {{contactLink}}contact us directly{{/contactLink}}{{hideOnMobile}}.{{/hideOnMobile}}",{components:{hideOnMobile:o.default.createElement("span",{className:"jp-hidden-on-mobile"}),supportLink:o.default.createElement("a",{className:"jp-support-card__link",href:"https://jetpack.com/support/",title:(0,d.translate)("Go to Jetpack.com/support")}),forumLink:o.default.createElement("a",{className:"jp-support-card__link",href:"https://wordpress.org/support/plugin/jetpack",title:(0,d.translate)("Go to the WordPress.org support forums")}),contactLink:o.default.createElement("a",{className:"jp-support-card__link",href:"https://jetpack.com/contact-support/",title:(0,d.translate)("Contact Jetpack support staff directly")})}})))),o.default.createElement(f.default,{className:"jp-support-card__social"},o.default.createElement("p",{className:"jp-support-card__description"},(0,d.translate)("{{hideOnMobile}}Enjoying Jetpack or have feedback?{{/hideOnMobile}} {{reviewLink}}Leave us a review{{/reviewLink}}{{hideOnMobile}},{{/hideOnMobile}} {{twitterLink}}follow us on Twitter{{/twitterLink}}{{hideOnMobile}}, and{{/hideOnMobile}} {{facebookLink}}like us on Facebook{{/facebookLink}}{{hideOnMobile}}.{{/hideOnMobile}}",{components:{hideOnMobile:o.default.createElement("span",{className:"jp-hidden-on-mobile"}),reviewLink:o.default.createElement("a",{className:"jp-support-card__link",href:"https://wordpress.org/support/view/plugin-reviews/jetpack",title:(0,d.translate)("Leave a Jetpack review"),target:"_blank"}),twitterLink:o.default.createElement("a",{className:"jp-support-card__link",href:"http://twitter.com/jetpack",title:(0,d.translate)("Follow Jetpack on Twitter"),target:"_blank"}),facebookLink:o.default.createElement("a",{className:"jp-support-card__link",href:"https://www.facebook.com/jetpackme",title:(0,d.translate)("Like us on Facebook"),target:"_blank"})}}))))}});m.propTypes={className:o.default.PropTypes.string,happinessGravatarIds:o.default.PropTypes.array.isRequired},t.default=(0,i.connect)(function(e){return{happinessGravatarIds:(0,h.getHappinessGravatarIds)(e)}})(m),e.exports=t.default},function(e,t,n){function r(e){var t=i(e)?a:o;return t(e)}var a=n(1031),o=n(1033),i=n(389);e.exports=r},function(e,t,n){function r(e){var t=e.length;return t?e[a(0,t-1)]:void 0}var a=n(1032);e.exports=r},function(e,t){function n(e,t){return e+r(a()*(t-e+1))}var r=Math.floor,a=Math.random;e.exports=n},function(e,t,n){function r(e){return a(o(e))}var a=n(1031),o=n(650);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(347),c=n(447),u=n(703),l=r(u),d=n(821),p=r(d),f=n(861),h=r(f),m=n(939),M=r(m),_=n(1018),v=r(_),g=n(1021),b=r(g),y=n(1022),A=r(y),T=n(639),L=o.default.createClass({displayName:"NonAdminView",componentWillMount:function(){this.props.setInitialState()},shouldComponentUpdate:function(e){return e.siteConnectionStatus!==this.props.siteConnectionStatus||e.route.path!==this.props.route.path},renderMainContent:function(e){var t=void 0,n=o.default.createElement(l.default,this.props);switch(e){case"/dashboard":default:t=this.props.userCanViewStats||this.props.isModuleActivated("protect")?o.default.createElement(h.default,this.props):o.default.createElement(A.default,this.props);break;case"/apps":t=o.default.createElement(A.default,this.props);break;case"/settings":n=o.default.createElement(p.default,this.props),t=o.default.createElement(v.default,this.props);break;case"/general":n=o.default.createElement(p.default,this.props),t=o.default.createElement(v.default,this.props);break;case"/engagement":this.props.isSubscriber||(n=o.default.createElement(p.default,this.props),t=o.default.createElement(M.default,this.props));break;case"/writing":this.props.isSubscriber||(n=o.default.createElement(p.default,this.props),t=o.default.createElement(b.default,this.props))}return window.wpNavMenuClassChange(),o.default.createElement("div",null,n,t)},render:function(){return this.renderMainContent(this.props.route.path)}});L.propTypes={userCanViewStats:o.default.PropTypes.bool.isRequired,isSubscriber:o.default.PropTypes.bool.isRequired,siteConnectionStatus:o.default.PropTypes.any.isRequired},t.default=(0,i.connect)(function(e){return{userCanViewStats:(0,s.userCanViewStats)(e),siteConnectionStatus:(0,T.getSiteConnectionStatus)(e),isSubscriber:(0,s.userIsSubscriber)(e),isModuleActivated:function(t){return(0,c.isModuleActivated)(e,t)}}})(L),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.UserUnlinked=t.DevModeNotice=t.StagingSiteNotice=t.DevVersionNotice=void 0;var a=n(142),o=r(a),i=n(154),s=n(916),c=r(s),u=n(1036),l=r(u),d=n(466),p=n(1037),f=r(p),h=n(1044),m=r(h),M=n(639),_=n(347),v=n(1045),g=r(v),b=n(840),y=r(b),A=t.DevVersionNotice=o.default.createClass({displayName:"DevVersionNotice",render:function(){return!!this.props.isDevVersion&&o.default.createElement(c.default,{showDismiss:!1,status:"is-basic",text:(0,d.translate)("You are currently running a development version of Jetpack.")},o.default.createElement(l.default,{href:"https://jetpack.com/contact-support/beta-group/"},(0,d.translate)("Submit Beta feedback")))}});A.propTypes={isDevVersion:o.default.PropTypes.bool.isRequired};var T=t.StagingSiteNotice=o.default.createClass({displayName:"StagingSiteNotice",render:function(){if(this.props.isStaging&&!this.props.isInIdentityCrisis){var e="https://jetpack.com/support/staging-sites/",t={text:(0,d.translate)("You are running Jetpack on a staging server."),status:"is-basic",showDismiss:!1};return o.default.createElement(c.default,t,o.default.createElement(l.default,{href:e},(0,d.translate)("More Info")))}return!1}});T.propTypes={isStaging:o.default.PropTypes.bool.isRequired,isInIdentityCrisis:o.default.PropTypes.bool.isRequired};var L=t.DevModeNotice=o.default.createClass({displayName:"DevModeNotice",render:function(){if("dev"===this.props.siteConnectionStatus){var e=this.props.siteDevMode,t=void 0;return e.filter?t=(0,d.translate)("Currently in {{a}}Development Mode{{/a}} via the jetpack_development_mode filter.{{br/}}Some features are disabled.",{components:{a:o.default.createElement("a",{href:"https://jetpack.com/support/development-mode/",target:"_blank"}),br:o.default.createElement("br",null)}}):e.constant?t=(0,d.translate)("Currently in {{a}}Development Mode{{/a}} via the JETPACK_DEV_DEBUG constant.{{br/}}Some features are disabled.",{components:{a:o.default.createElement("a",{href:"https://jetpack.com/support/development-mode/",target:"_blank"}),br:o.default.createElement("br",null)}}):e.url&&(t=(0,d.translate)("Currently in {{a}}Development Mode{{/a}} because your site URL lacks a dot (e.g. http://localhost).{{br/}}Some features are disabled.",{components:{a:o.default.createElement("a",{href:"https://jetpack.com/support/development-mode/",target:"_blank"}),br:o.default.createElement("br",null)}})),o.default.createElement(c.default,{showDismiss:!1,status:"is-basic"},t)}return!1}});L.propTypes={siteConnectionStatus:o.default.PropTypes.oneOfType([o.default.PropTypes.string,o.default.PropTypes.bool]).isRequired,siteDevMode:o.default.PropTypes.oneOfType([o.default.PropTypes.bool,o.default.PropTypes.object]).isRequired};var E=t.UserUnlinked=o.default.createClass({displayName:"UserUnlinked",render:function(){if(!window.Initial_State.userData.currentUser.isConnected&&this.props.connectUrl&&this.props.siteConnected){var e=void 0;return e=(0,d.translate)("You, %(userName)s, are not connected to WordPress.com.",{args:{userName:window.Initial_State.userData.currentUser.username}}),o.default.createElement(c.default,{showDismiss:!1,status:"is-info",text:e},o.default.createElement(l.default,{href:this.props.connectUrl+"&from=unlinked-user-connect"},(0,d.translate)("Link to WordPress.com")))}return!1}});E.propTypes={connectUrl:o.default.PropTypes.string.isRequired,siteConnected:o.default.PropTypes.bool.isRequired};var w=o.default.createClass({displayName:"JetpackNotices",render:function(){return o.default.createElement("div",null,o.default.createElement(y.default,null),o.default.createElement(f.default,null),o.default.createElement(m.default,null),o.default.createElement(A,{isDevVersion:this.props.isDevVersion}),o.default.createElement(L,{siteConnectionStatus:this.props.siteConnectionStatus,siteDevMode:this.props.siteDevMode}),o.default.createElement(T,{isStaging:this.props.isStaging,isInIdentityCrisis:this.props.isInIdentityCrisis}),o.default.createElement(g.default,null),o.default.createElement(E,{connectUrl:this.props.connectUrl,siteConnected:!0===this.props.siteConnectionStatus}))}});t.default=(0,i.connect)(function(e){return{connectUrl:(0,M.getConnectUrl)(e),siteConnectionStatus:(0,M.getSiteConnectionStatus)(e),isDevVersion:(0,_.isDevVersion)(e),siteDevMode:(0,M.getSiteDevMode)(e),isStaging:(0,M.isStaging)(e),isInIdentityCrisis:(0,M.isInIdentityCrisis)(e)}})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(810),s=r(i);n(917),t.default=o.default.createClass({displayName:"NoticeAction",propTypes:{href:o.default.PropTypes.string,onClick:o.default.PropTypes.func,external:o.default.PropTypes.bool,icon:o.default.PropTypes.string},getDefaultProps:function(){return{external:!1}},render:function(){var e={className:"dops-notice__action",href:this.props.href,onClick:this.props.onClick};return this.props.external&&(e.target="_blank"),o.default.createElement("a",e,o.default.createElement("span",null,this.props.children),this.props.icon&&o.default.createElement(s.default,{icon:this.props.icon,size:24}),this.props.external&&o.default.createElement(s.default,{icon:"external",size:24}))}}),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(468),s=r(i),c=n(916),u=r(c),l=n(1036),d=r(l),p=n(1038),f=r(p),h=n(154),m=n(337),M=n(458),_=(0,s.default)("calypso:notices");n(1042);var v=o.default.createClass({displayName:"NoticesList",propTypes:{id:o.default.PropTypes.string,notices:o.default.PropTypes.oneOfType([o.default.PropTypes.object,o.default.PropTypes.array])},getDefaultProps:function(){return{id:"overlay-notices",notices:Object.freeze([])}},componentWillMount:function(){_("Mounting Global Notices React component.")},removeNotice:function(e){e&&f.default.removeNotice(e)},render:function(){var e=this.props.notices[this.props.id]||[],t=e.map(function(e,t){return o.default.createElement(u.default,{key:"notice-old-"+t,status:e.status,duration:e.duration||null,text:e.text,isCompact:e.isCompact,onDismissClick:this.removeNotice.bind(this,e),showDismiss:e.showDismiss},e.button&&o.default.createElement(d.default,{href:e.href,onClick:e.onClick},e.button))},this);return t=t.concat(this.props.storeNotices.map(function(e,t){return o.default.createElement(u.default,{key:"notice-"+t,status:e.status,duration:e.duration||null,showDismiss:e.showDismiss,onDismissClick:this.props.removeNotice.bind(this,e.noticeId),text:e.text})},this)),t.length?o.default.createElement("div",{id:this.props.id,className:"global-notices"},t):null}});t.default=(0,h.connect)(function(e){return{storeNotices:e.globalNotices}},function(e){return(0,m.bindActionCreators)({removeNotice:M.removeNotice},e)})(v),e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(468)("calypso:notices"),a=n(1039);r("initializing notices");var o={containerNames:{}};a(o);var i=[];n(1040);var s={new:function(e,t,n){var a=t.overlay?"overlay-notices":"notices";o.containerNames[a]=a,r("creating notice",e,t,n),o[a]=[];var c={type:t.type||"message",status:n,text:e,duration:t.duration,container:a,button:t.button,href:t.href,onClick:function(e){if("function"==typeof t.onClick){var n=s.removeNotice.bind(s,c);return t.onClick(e,n)}},onRemoveCallback:t.onRemoveCallback||function(){},arrow:t.arrow,isCompact:t.isCompact,showDismiss:t.showDismiss,persistent:t.persistent};return t.displayOnNextPage?i.push(c):o[a].push(c),o.emit("change"),c},success:function(e,t){return t=t||{},this.new(e,t,"is-success")},error:function(e,t){return t=t||{},this.new(e,t,"is-error")},info:function(e,t){return t=t||{},this.new(e,t,"is-info")},warning:function(e,t){return t=t||{},this.new(e,t,"is-warning")},list:o,removeNotice:function(e){if(e.container){var t=o[e.container],n=t.indexOf(e);-1!==n&&(t.splice(n,1),o.emit("change"))}},clearNoticesOnNavigation:function(e,t){r("clearNoticesOnNavigation");var n,a,s=!1,c=function(e){return e.persistent};for(a in o.containerNames)n=o[a].length,o[a]=o[a].filter(c),n!==o[a].length&&(s=!0);i.length&&(i.forEach(function(e){o[e.container]=[],o[e.container].push(e)}),i=[]),s&&o.emit("change"),t()},clearNotices:function(e){o[e]=[],o.emit("change")},getStatusHelper:function(e){return e.error?"is-error":e.warning?"is-warning":e.info?"is-info":e.success?"is-success":void 0}};t.default=s,e.exports=t.default},function(e,t,n){"use strict";var r=n(581).EventEmitter,a=n(657);e.exports=function(e){a(e,r.prototype),e.emitChange=function(){this.emit("change")},e.off=e.removeListener}},function(e,t){},,function(e,t){},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(466),c=n(916),u=r(c),l=n(347),d=n(695),p=o.default.createClass({displayName:"JetpackStateNotices",getInitialState:function(){return{showNotice:!0}},dismissJetpackStateNotice:function(){this.setState({showNotice:!1})},getErrorFromKey:function(e){var t=this.props.jetpackStateNoticesErrorDescription||!1,n="";switch(e){case"cheatin":n=(0,s.translate)("Cheatin' uh?");break;case"access_denied":n=(0,s.translate)("{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}",{components:{a:o.default.createElement("a",{href:"https://jetpack.com/cancelled-connection/",target:"_blank"}),p:o.default.createElement("p",null)}});break;case"wrong_state":n=(0,s.translate)("You need to stay logged in to your WordPress blog while you authorize Jetpack.");break;case"invalid_client":n=(0,s.translate)("We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.");break;case"invalid_grant":n=(0,s.translate)('There was an issue connecting your Jetpack. Please click "Connect to WordPress.com" again.');break;case"site_inaccessible":case"site_requires_authorization":n=(0,s.translate)("Your website needs to be publicly accessible to use Jetpack: %(error_key)s",{args:{error_key:e}});break;case"not_public":n=(0,s.translate)("{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).",{components:{s:o.default.createElement("strong",null)}});break;case"wpcom_408":case"wpcom_5??":case"wpcom_bad_response":case"wpcom_outage":n=(0,s.translate)("WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.");break;case"register_http_request_failed":case"token_http_request_failed":n=(0,s.translate)("Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.",{args:{error_key:e}});break;case"no_role":case"no_cap":case"no_code":case"no_state":case"invalid_state":case"invalid_request":case"invalid_scope":case"unsupported_response_type":case"invalid_token":case"no_token":case"missing_secrets":case"home_missing":case"siteurl_missing":case"gmt_offset_missing":case"site_name_missing":case"secret_1_missing":case"secret_2_missing":case"site_lang_missing":case"home_malformed":case"siteurl_malformed":case"gmt_offset_malformed":case"timezone_string_malformed":case"site_name_malformed":case"secret_1_malformed":case"secret_2_malformed":case"site_lang_malformed":case"secrets_mismatch":case"verify_secret_1_missing":case"verify_secret_1_malformed":case"verify_secrets_missing":case"verify_secrets_mismatch":n=(0,s.translate)("{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s",{components:{s:o.default.createElement("strong",null)},args:{error_key:e}});break;default:n=e}return t?o.default.createElement("div",null,n,o.default.createElement("br",null),t):o.default.createElement("div",null,n)},getMessageFromKey:function(e){var t="",n="is-info";switch(e){case"modules_activated":t=(0,s.translate)("Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!",{args:{jetpack_version:this.props.currentVersion},components:{s:o.default.createElement("strong",null)}});break;case"already_authorized":t=(0,s.translate)("Your Jetpack is already connected."),n="is-success";break;case"authorized":t=(0,s.translate)("You're fueled up and ready to go, Jetpack is now active."),n="is-success";break;case"linked":t=(0,s.translate)("You're fueled up and ready to go."),n="is-success";break;default:t=e}return[t,n]},renderContent:function(){var e="is-info",t="",n=this.props.jetpackStateNoticesErrorCode,r=this.props.jetpackStateNoticesMessageCode;if(n||r){if(n&&(t=this.getErrorFromKey(n),"access_denied"!==n&&(e="is-error")),r){var a=this.getMessageFromKey(r);t=a[0],e=a[1]}return o.default.createElement(u.default,{status:e,onDismissClick:this.dismissJetpackStateNotice},t)}},render:function(){return o.default.createElement("div",null,this.state.showNotice?this.renderContent():null)}});t.default=(0,i.connect)(function(e){return{currentVersion:(0,l.getCurrentVersion)(e),jetpackStateNoticesErrorCode:(0,d.getJetpackStateNoticesErrorCode)(e),jetpackStateNoticesMessageCode:(0,d.getJetpackStateNoticesMessageCode)(e),jetpackStateNoticesErrorDescription:(0,d.getJetpackStateNoticesErrorDescription)(e)}})(p),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(161),s=n(154),c=n(916),u=r(c),l=n(466),d=n(695),p=o.default.createClass({displayName:"DismissableNotices",renderNotices:function(){var e=this.props.jetpackNotices;switch(e){case"disconnected":return!this.props.isDismissed(e)&&o.default.createElement("div",null,o.default.createElement(u.default,{onDismissClick:this.props.dismissJetpackActionNotice.bind(null,e)},(0,l.translate)("You have successfully disconnected Jetpack"),o.default.createElement("br",null),(0,l.translate)("Would you tell us why? Just {{a}}answering two simple questions{{/a}} would help us improve Jetpack.",{components:{a:o.default.createElement("a",{href:"https://jetpack.com/survey-disconnected/",target:"_blank"})}
35
- })));default:return!1}},render:function(){return o.default.createElement("div",null,this.renderNotices())}});t.default=(0,s.connect)(function(e){return{jetpackNotices:(0,d.getJetpackNotices)(e),isDismissed:function(t){return(0,d.isNoticeDismissed)(e,t)}}},function(e){return(0,i.bindActionCreators)({dismissJetpackActionNotice:d.dismissJetpackActionNotice},e)})(p),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=o.default.createClass({displayName:"AdminNotices",componentDidMount:function(){var e=jQuery(this.refs.adminNotices),t=jQuery(".vp-notice");t.length>0&&t.each(function(){var t=jQuery(this).addClass("dops-notice is-warning").removeClass("wrap vp-notice");t.find("a").addClass("dops-notice__action").appendTo(t),t.find(".vp-message").removeClass("vp-message").addClass("dops-notice__text"),t.find("h3").replaceWith(function(){return jQuery("<strong />",{html:this.innerHTML})}),t.find("p").replaceWith(function(){return jQuery("<div/>",{html:this.innerHTML})}),t.prependTo(e).wrapInner('<div class="dops-notice__content">').show()});var n=jQuery(".woocommerce-message");n.length>0&&n.each(function(){var t=jQuery(this).addClass("dops-notice is-basic").removeClass("updated wc-connect");t.find(".button-primary").addClass("dops-notice__action").removeClass("button-primary").detach().appendTo(t),t.find("p").not(".submit").wrapAll('<div class="dops-notice__text"/>');var n=t.find(".dops-notice__text");n.find("p").replaceWith(function(){return jQuery("<div/>",{html:this.innerHTML,class:"dops-notice__moved_text"})}),n.find("br").remove(),t.find(".button-secondary").removeClass("button-secondary").detach().appendTo(n),t.find(".submit").remove(),t.find(".woocommerce-message-close").removeClass("woocommerce-message-close").addClass("dops-notice__action"),t.prependTo(e).wrapInner('<div class="dops-notice__content">').show(),t.find(".dops-notice__action").not(":first").removeClass("dops-notice__action").detach().appendTo(t.find(".dops-notice__text"))})},render:function(){return o.default.createElement("div",{ref:"adminNotices"})}});t.default=i,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.SearchResults=void 0;var o=n(142),i=r(o),s=n(154),c=n(857),u=r(c),l=n(922),d=n(594),p=r(d),f=n(837),h=r(f),m=n(810),M=r(m),_=n(1048),v=r(_),g=n(466),b=n(656),y=r(b),A=n(938),T=r(A),L=n(639),E=n(940),w=n(447),z=n(698),S=n(689),k=n(926),O=r(k),N=n(692),C=t.SearchResults=function(e){var t=e.siteAdminUrl,n=e.toggleModule,r=e.isModuleActivated,o=e.isTogglingModule,s=e.getModule,c=e.getModules,d=e.searchTerm,f=e.unavailableInDevMode,m=e.isFetchingPluginsData,_=e.isPluginActive,b=c(),A=[["scan",(0,g.translate)("Security Scanning"),(0,g.translate)("Automatically scan your site for common threats and attacks."),"https://vaultpress.com/jetpack/","security scan threat attacks pro scanning"],["akismet","Akismet",(0,g.translate)("Keep those spammers away!"),"https://akismet.com/jetpack/","spam security comments pro"],["backups",(0,g.translate)("Site Backups"),(0,g.translate)("Keep your site backed up!"),"https://vaultpress.com/jetpack/","backup restore pro security"]],L=void 0;return(0,p.default)(b,function(e){"vaultpress"!==e.module?A.push([e.module,s(e.module).name,s(e.module).description,s(e.module).learn_more_button,s(e.module).long_description,s(e.module).search_terms,s(e.module).additional_search_queries,s(e.module).short_description,s(e.module).feature.toString()]):""}),L=A.map(function(e){var c="scan"===e[0]||"akismet"===e[0]||"backups"===e[0],d={},p=f(e[0]),v=p?(0,g.translate)("Unavailable in Dev Mode"):i.default.createElement(l.ModuleToggle,{slug:e[0],activated:r(e[0]),toggling:o(e[0]),toggleModule:n}),b=p?"devmode-disabled":"";return c&&(d={module:e[0],configure_url:""},v=i.default.createElement(O.default,{proFeature:e[0],siteAdminUrl:t}),e[1]=i.default.createElement("span",null,e[1],i.default.createElement(h.default,{compact:!0,href:"#/plans"},(0,g.translate)("Pro"))),m||("akismet"===e[0]&&_("akismet/akismet.php")?d.configure_url=t+"admin.php?page=akismet-key-config":"scan"!==e[0]&&"backups"!==e[0]||!_("vaultpress/vaultpress.php")||(d.configure_url="https://dashboard.vaultpress.com/"))),1===e.length?i.default.createElement("h1",null,e[0]):i.default.createElement(u.default,{key:e[0],className:b,header:e[1],searchTerms:e.toString().replace(/<(?:.|\n)*?>/gm,""),subheader:e[2],summary:v,expandedSummary:v,clickableHeaderText:!0,onOpen:function(){return y.default.tracks.recordEvent("jetpack_wpa_settings_card_open",{card:e[0],path:"/search"})}},r(e[0])||c?i.default.createElement(E.AllModuleSettings,{module:c?d:s(e[0])}):i.default.createElement("div",{dangerouslySetInnerHTML:a(s(e[0]))}),i.default.createElement("br",null),i.default.createElement("div",{className:"jp-module-settings__learn-more"},i.default.createElement(h.default,{borderless:!0,compact:!0,href:e[3]},i.default.createElement(M.default,{icon:"help-outline"}),i.default.createElement("span",{className:"screen-reader-text"},(0,g.translate)("Learn More")))))}),i.default.createElement("div",null,i.default.createElement(T.default,null),i.default.createElement(v.default,{filter:d(),noResultsText:(0,g.translate)("No Results Found.")},L))};t.default=(0,s.connect)(function(e){return{isModuleActivated:function(t){return(0,w.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,w.isActivatingModule)(e,t)||(0,w.isDeactivatingModule)(e,t)},getModule:function(t){return(0,w.getModule)(e,t)},getModules:function(){return(0,w.getModules)(e)},searchTerm:function(){return(0,z.getSearchTerm)(e)},sitePlan:function(){return(0,S.getSitePlan)(e)},unavailableInDevMode:function(t){return(0,L.isUnavailableInDevMode)(e,t)},isFetchingPluginsData:(0,N.isFetchingPluginsData)(e),isPluginActive:function(t){return(0,N.isPluginActive)(e,t)}}},function(e){return{toggleModule:function(t,n){return e(n?(0,w.deactivateModule)(t):(0,w.activateModule)(t))}}})(C)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=o.default.createClass({displayName:"Hider",propTypes:{hide:o.default.PropTypes.bool},render:function(){return o.default.createElement("div",{className:"design-assets__group",style:this.props.hide?{display:"none"}:{}},this.props.children)}}),s=o.default.createClass({displayName:"FilterSummary",getDefaultProps:function(){return{noResultsText:"No Results Found"}},propTypes:{noResultsText:o.default.PropTypes.string},render:function(){return 0===this.props.items.length?o.default.createElement("p",null,this.props.noResultsText):null}});t.default=o.default.createClass({displayName:"Collection",shouldWeHide:function(e){var t=void 0,n=void 0;return t=this.props.filter||"",n=e.props.searchTerms,this.props.component?e.type.displayName.toLowerCase()!==this.props.component.replace(/-([a-z])/g,"$1"):(e.props.searchKeywords&&(n+=" "+e.props.searchKeywords),!(!t||n.toLowerCase().indexOf(t)>-1))},visibleExamples:function(e){return e.filter(function(e){return!e.props.hide})},render:function(){var e=this,t=void 0,n=void 0;return n=o.default.Children.map(this.props.children,function(t){return o.default.createElement(i,{hide:e.shouldWeHide(t),key:"example-"+t.type.displayName},t)}),this.props.component||(t=o.default.createElement(s,{items:this.visibleExamples(n),total:this.props.children.length,noResultsText:this.props.noResultsText})),o.default.createElement("div",{className:"collection"},t,n)}}),e.exports=t.default}]);
25
  args:{numberOfViews:(0,E.numberFormat)(s)}}),className:"tooltip class"},{label:(0,E.translate)("Click to view detailed stats.")}]})}),n)},statsErrors:function(){return(0,f.default)(this.props.statsData,["general","errors"],!1)},renderStatsArea:function(){if(this.props.isModuleActivated("stats")){var e=this.statsErrors();if(e)return(0,d.default)(e,function(e){console.log(e)}),u.default.createElement("div",{className:"jp-at-a-glance__stats-inactive"},u.default.createElement("span",null,(0,E.translate)("Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}",{components:{a:u.default.createElement("a",{href:"https://wordpress.com/stats/insights/"+this.props.siteRawUrl})}})));var t=this.statsChart(this.props.activeTab());return u.default.createElement("div",{className:"jp-at-a-glance__stats-container"},u.default.createElement("div",{className:"jp-at-a-glance__stats-chart"},u.default.createElement(_.default,{data:t,barClick:this.barClick}),0<t.length?"":u.default.createElement(L.default,null)),u.default.createElement("div",{id:"stats-bottom",className:"jp-at-a-glance__stats-bottom"},u.default.createElement(j.default,{statsData:this.props.statsData,siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl})))}return u.default.createElement("div",{className:"jp-at-a-glance__stats-inactive"},u.default.createElement("div",{className:"jp-at-a-glance__stats-inactive-icon"},u.default.createElement("img",{src:O.imagePath+"stats.svg",width:"60",height:"60",alt:(0,E.translate)("Jetpack Stats Icon"),className:"jp-at-a-glance__stats-icon"})),u.default.createElement("div",{className:"jp-at-a-glance__stats-inactive-text"},this.props.isDevMode?(0,E.translate)("Unavailable in Dev Mode"):(0,E.translate)("{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}",{components:{a:u.default.createElement("a",{href:"javascript:void(0)",onClick:this.props.activateStats}),a1:u.default.createElement("a",{href:"https://jetpack.com/support/wordpress-com-stats/",target:"_blank"})}})),this.props.isDevMode?"":u.default.createElement("div",{className:"jp-at-a-glance__stats-inactive-button"},u.default.createElement(A.default,{onClick:this.props.activateStats,primary:!0},(0,E.translate)("Activate Site Stats"))))},maybeShowStatsTabs:function(){if(this.props.isModuleActivated("stats")&&!this.statsErrors())return u.default.createElement("ul",{className:"jp-at-a-glance__stats-views"},u.default.createElement("li",{tabIndex:"0",className:"jp-at-a-glance__stats-view"},u.default.createElement("a",{href:"javascript:void(0)",onClick:this.handleSwitchStatsView.bind(this,"day"),className:this.getClass("day")},(0,E.translate)("Days"))),u.default.createElement("li",{tabIndex:"0",className:"jp-at-a-glance__stats-view"},u.default.createElement("a",{href:"javascript:void(0)",onClick:this.handleSwitchStatsView.bind(this,"week"),className:this.getClass("week")},(0,E.translate)("Weeks"))),u.default.createElement("li",{tabIndex:"0",className:"jp-at-a-glance__stats-view"},u.default.createElement("a",{href:"javascript:void(0)",onClick:this.handleSwitchStatsView.bind(this,"month"),className:this.getClass("month")},(0,E.translate)("Months"))))},handleSwitchStatsView:function(e){z.default.tracks.recordEvent("jetpack_wpa_aag_stats_switch_view",{view:e}),this.props.switchView(e),this.props.fetchStatsData(e)},getClass:function(e){return this.props.activeTab()===e?"jp-at-a-glance__stats-view-link is-current":"jp-at-a-glance__stats-view-link"},render:function(){var e=(0,o.default)(this.props.moduleList);if(!(0,k.default)(e,"stats"))return null;var t=this.props.activeTab();return u.default.createElement("div",null,u.default.createElement(P.default,{range:t}),u.default.createElement(b.default,{label:(0,E.translate)("Site Stats")},this.maybeShowStatsTabs()),u.default.createElement(m.default,{className:"jp-at-a-glance__stats-card "+(this.props.isDevMode?"is-inactive":"")},this.renderStatsArea()))}});q.propTypes={isDevMode:u.default.PropTypes.bool.isRequired,siteRawUrl:u.default.PropTypes.string.isRequired,siteAdminUrl:u.default.PropTypes.string.isRequired,statsData:u.default.PropTypes.any.isRequired},t.default=(0,v.connect)(function(e){return{isModuleActivated:function(t){return(0,Y.isModuleActivated)(e,t)},moduleList:(0,Y.getModules)(e),isFetchingModules:function(){return(0,Y.isFetchingModulesList)(e)},activeTab:function(){return(0,W.getActiveStatsTab)(e)},isDevMode:(0,N.isDevMode)(e),statsData:"N/A"!==(0,W.getStatsData)(e)?(0,W.getStatsData)(e):(0,C.getInitialStateStatsData)(e)}},function(e){return{activateStats:function(){return e((0,Y.activateModule)("stats"))},switchView:function(t){return e((0,W.statsSwitchTab)(t))},fetchStatsData:function(t){return e((0,W.fetchStatsData)(t))}}})(q),e.exports=t.default},function(e,t,n){"use strict";var r=n(142),a=n(806),o=n(866),i=n(867),s=n(909);n(910),e.exports=r.createClass({displayName:"ModuleChart",propTypes:{loading:r.PropTypes.bool,data:r.PropTypes.array,minTouchBarWidth:r.PropTypes.number,minBarWidth:r.PropTypes.number,barClick:r.PropTypes.func},getInitialState:function(){return{maxBars:100,width:650}},getDefaultProps:function(){return{minTouchBarWidth:42,minBarWidth:15,barClick:a}},componentDidMount:function(){this.resize=o(this.resize,400),window.addEventListener("resize",this.resize),this.resize()},componentWillUnmount:function(){window.removeEventListener("resize",this.resize)},componentWillReceiveProps:function(e){this.props.loading&&!e.loading&&this.resize()},resize:function(){if(this.isMounted()){var e,t=this.refs.chart,n=t.clientWidth-82;s.hasTouch()?(n=n<=0?350:n,e=Math.floor(n/this.props.minTouchBarWidth)):e=Math.floor(n/this.props.minBarWidth),this.setState({maxBars:e,width:n})}},getYAxisMax:function(e){var t=Math.max.apply(null,e),n=Math.pow(10,t.toString().length-1),r=Math.ceil((t+1)/n)*n;return r<10&&(r=10),r},getData:function(){var e=this.props.data;return e=e.slice(0-this.state.maxBars)},getValues:function(){var e=this.getData();return e=e.map(function(e){return e.value},this)},isEmptyChart:function(e){return e=e.filter(function(e){return e>0},this),0===e.length},render:function(){var e,t=this.getValues(),n=this.getYAxisMax(t),a=this.getData();return t.length&&this.isEmptyChart(t)&&(e=r.createElement("div",{className:"dops-chart__empty"},r.createElement("span",{className:"dops-chart__empty_notice"},"No activity this period"))),r.createElement("div",{ref:"chart",className:"dops-chart"},r.createElement("div",{className:"dops-chart__y-axis-markers"},r.createElement("div",{className:"dops-chart__y-axis-marker is-hundred"}),r.createElement("div",{className:"dops-chart__y-axis-marker is-fifty"}),r.createElement("div",{className:"dops-chart__y-axis-marker is-zero"})),r.createElement("div",{className:"dops-chart__y-axis"},r.createElement("div",{className:"dops-chart__y-axis-width-fix"},new Number(1e5).toLocaleString()),r.createElement("div",{className:"dops-chart__y-axis-label is-hundred"},n.toLocaleString()),r.createElement("div",{className:"dops-chart__y-axis-label is-fifty"},(n/2).toLocaleString()),r.createElement("div",{className:"dops-chart__y-axis-label is-zero"},0)),r.createElement(i,{barClick:this.props.barClick,data:a,yAxisMax:n,chartWidth:this.state.width,isTouch:s.hasTouch()}),e)}})},function(e,t,n){function r(e,t,n){var r=!0,s=!0;if("function"!=typeof e)throw new TypeError(i);return o(n)&&(r="leading"in n?!!n.leading:r,s="trailing"in n?!!n.trailing:s),a(e,t,{leading:r,maxWait:t,trailing:s})}var a=n(749),o=n(668),i="Expected a function";e.exports=r},function(e,t,n){"use strict";var r=n(142),a=n(868),o=n(907);e.exports=r.createClass({displayName:"ModuleChartBarContainer",propTypes:{isTouch:r.PropTypes.bool,data:r.PropTypes.array,yAxisMax:r.PropTypes.number,width:r.PropTypes.number,barClick:r.PropTypes.func},buildBars:function(e){var t,n=this.props.data.length,o="bottom right",i=this.props.chartWidth,s=i/n;return t=this.props.data.map(function(t,c){var u=s*(c+1);return u+230>i&&u+s-230>0&&(o="bottom left"),r.createElement(a,{index:c,key:c,isTouch:this.props.isTouch,tooltipPosition:o,className:t.className,clickHandler:this.props.barClick,data:t,max:e,count:n})},this)},render:function(){return r.createElement("div",null,r.createElement("div",{className:"dops-chart__bars"},this.buildBars(this.props.yAxisMax)),r.createElement(o,{data:this.props.data,labelWidth:42}))}})},function(e,t,n){"use strict";var r=n(142),a=n(747),o=(n(806),n(869),n(904)),i=n(810);e.exports=r.createClass({displayName:"ModuleChartBar",propTypes:{isTouch:r.PropTypes.bool,tooltipPosition:r.PropTypes.string,className:r.PropTypes.string,clickHandler:r.PropTypes.func,data:r.PropTypes.object.isRequired,max:r.PropTypes.number,count:r.PropTypes.number},getInitialState:function(){return{showPopover:!1}},buildSections:function(){var e,t,n,o,i,s=this.props.data.value,c=this.props.max,u=c?Math.ceil(s/c*1e4)/100:0,l=100-u,d=Math.max(1,Math.floor(l)),p=[],f=this.props.data.nestedValue,h={"dops-chart__bar-section":!0,"is-spacer":!0,"is-ghost":100===l&&!this.props.active};return e={height:d+"%"},p.push(r.createElement("div",{key:"spacer",className:a(h),style:e})),t={top:d+"%"},f&&(o=s?Math.ceil(f/s*1e4)/100:0,i={height:o+"%"},n=r.createElement("div",{key:"nestedValue",className:"dops-chart__bar-section-inner",style:i})),p.push(r.createElement("div",{ref:"valueBar",key:"value",className:"dops-chart__bar-section is-bar",style:t},n)),p.push(r.createElement("div",{key:"label",className:"dops-chart__bar-label"},this.props.label)),p},clickHandler:function(){"function"==typeof this.props.clickHandler&&this.props.clickHandler(this.props.data)},mouseEnter:function(){this.setState({showPopover:!0})},mouseLeave:function(){this.setState({showPopover:!1})},renderTooltip:function(){if(!this.props.data.tooltipData||!this.props.data.tooltipData.length||this.props.isTouch)return null;var e=this.props.data.tooltipData,t=e.map(function(e,t){var n,a=["module-content-list-item"];return e.icon&&(n=r.createElement(i,{icon:e.icon,size:18})),a.push(e.className),r.createElement("li",{key:t,className:a.join(" ")},r.createElement("span",{className:"dops-wrapper"},r.createElement("span",{className:"value"},e.value),r.createElement("span",{className:"label"},n,e.label)))});return r.createElement(o,{className:"dops-chart__tooltip",id:"popover__chart-bar",showDelay:200,context:this.refs&&this.refs.valueBar,isVisible:this.state.showPopover,position:this.props.tooltipPosition},r.createElement("ul",null,t))},render:function(){var e,t,n=this.props.count||1;return t={"dops-chart__bar":!0},this.props.className&&(t[this.props.className]=!0),e={width:1/n*100+"%"},r.createElement("div",{onClick:this.clickHandler,onMouseEnter:this.mouseEnter,onMouseLeave:this.mouseLeave,className:a(t),style:e},this.buildSections(),r.createElement("div",{className:"dops-chart__bar-marker is-hundred"}),r.createElement("div",{className:"dops-chart__bar-marker is-fifty"}),r.createElement("div",{className:"dops-chart__bar-marker is-zero"}),this.renderTooltip())}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(142),u=r(c),l=n(1),d=r(l),p=n(468),f=r(p),h=n(747),m=r(h),M=n(870),_=r(M),v=n(875),g=r(v),b=n(657),y=r(b),A=n(898),T=r(A),L=n(899);n(902);var E=function(){},w=(0,f.default)("calypso:popover"),z=new Set,S=function(e){function t(e){a(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setPopoverId(e.id),n.setDOMBehavior=n.setDOMBehavior.bind(n),n.setPosition=n.setPosition.bind(n),n.onClickout=n.onClickout.bind(n),n.onKeydown=n.onKeydown.bind(n),n.onWindowChange=n.onWindowChange.bind(n),n.state={show:e.isVisible,left:-99999,top:-99999,positionClass:n.getPositionClass(e.position)},n}return i(t,e),s(t,[{key:"componentDidMount",value:function(){this.bindEscKeyListener(),this.bindDebouncedReposition(),(0,L.bindWindowListeners)()}},{key:"componentWillReceiveProps",value:function(e){return(0,L.isElement)(e.context)?this.domContext=e.context:this.domContext=d.default.findDOMNode(e.context),e.isVisible?void this.setPosition():null}},{key:"componentDidUpdate",value:function(e){var t=this.props.isVisible;return t!==e.isVisible&&(t?this.show():this.hide()),this.domContainer&&this.domContext&&t&&t!==e.isVisible?(this.debug("Update position after inject DOM"),void this.setPosition()):null}},{key:"componentWillUnmount",value:function(){this.debug("unmounting .... "),this.unbindClickoutHandler(),this.unbindDebouncedReposition(),this.unbindEscKeyListener(),(0,L.unbindWindowListeners)(),z.delete(this.id),w("current popover instances: ",z.size)}},{key:"bindEscKeyListener",value:function(){return this.props.closeOnEsc?this.escEventHandlerAdded?null:(this.debug("adding escKey listener ..."),this.escEventHandlerAdded=!0,void document.addEventListener("keydown",this.onKeydown,!0)):null}},{key:"unbindEscKeyListener",value:function(){return this.props.closeOnEsc&&this.escEventHandlerAdded?(this.debug("unbinding `escKey` listener ..."),void document.removeEventListener("keydown",this.onKeydown,!0)):null}},{key:"onKeydown",value:function(e){return 27!==e.keyCode?null:void this.close(!0)}},{key:"bindClickoutHandler",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.domContainer;return e?this._clickoutHandlerReference?(this.debug("clickout event already bound"),null):(this.debug("binding `clickout` event"),void(this._clickoutHandlerReference=(0,_.default)(e,this.onClickout))):(this.debug("no element to bind clickout side "),null)}},{key:"unbindClickoutHandler",value:function(){this._clickoutHandlerReference&&(this.debug("unbinding `clickout` listener ..."),this._clickoutHandlerReference(),this._clickoutHandlerReference=null)}},{key:"onClickout",value:function(e){var t=this.domContext&&this.domContext.contains&&!this.domContext.contains(e.target);if(this.props.ignoreContext&&t){var n=d.default.findDOMNode(this.props.ignoreContext);t=t&&n&&n.contains&&!n.contains(e.target)}t&&this.close()}},{key:"bindDebouncedReposition",value:function(){window.addEventListener("scroll",this.onWindowChange,!0),window.addEventListener("resize",this.onWindowChange,!0)}},{key:"unbindDebouncedReposition",value:function(){this.willReposition&&(window.cancelAnimationFrame(this.willReposition),this.willReposition=null),window.removeEventListener("scroll",this.onWindowChange,!0),window.removeEventListener("resize",this.onWindowChange,!0),this.debug("unbinding `debounce reposition` ...")}},{key:"onWindowChange",value:function(){this.willReposition=window.requestAnimationFrame(this.setPosition)}},{key:"setDOMBehavior",value:function(e){return e?(this.debug("setting DOM behavior"),this.bindClickoutHandler(e),this.domContainer=e,(0,L.isElement)(this.props.context)?this.domContext=this.props.context:this.domContext=d.default.findDOMNode(this.props.context),void this.setPosition()):(this.unbindClickoutHandler(),null)}},{key:"getPositionClass",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.position;return"is-"+e.replace(/\s+/g,"-")}},{key:"computePosition",value:function(){if(!this.props.isVisible)return null;var e=this.domContainer,t=this.domContext,n=this.props.position;if(!e||!t)return this.debug("[WARN] no DOM elements to work"),null;var r=n;this.debug("position: %o",n),this.props.autoPosition&&(r=(0,L.suggested)(n,e,t),this.debug("suggested position: %o",r));var a=(0,y.default)({},(0,L.constrainLeft)((0,L.offset)(r,e,t),e),{positionClass:this.getPositionClass(r)});return this.debug("updating reposition: ",a),a}},{key:"debug",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];w.apply(void 0,["[%s] "+e,this.id].concat(n))}},{key:"setPopoverId",value:function(e){this.id=e||"pop__"+(0,g.default)(16),z.add(this.id),this.debug("creating ..."),w("current popover instances: ",z.size)}},{key:"setPosition",value:function(){var e=this.computePosition();return e?(this.willReposition=null,void this.setState(e)):null}},{key:"getStylePosition",value:function(){var e=this.state,t=e.left,n=e.top;return{left:t,top:n}}},{key:"show",value:function(){var e=this;return this.props.showDelay?(this.debug("showing in %o",this.props.showDelay+"ms"),this.clearShowTimer(),void(this._openDelayTimer=setTimeout(function(){e.setState({show:!0})},this.props.showDelay))):(this.setState({show:!0}),null)}},{key:"hide",value:function(){this.unbindClickoutHandler(),this.setState({show:!1}),this.clearShowTimer()}},{key:"clearShowTimer",value:function(){return this._openDelayTimer?(clearTimeout(this._openDelayTimer),void(this._openDelayTimer=null)):null}},{key:"close",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.props.isVisible?void this.props.onClose(e):(this.debug("popover should be already closed"),null)}},{key:"render",value:function(){if(!this.state.show)return this.debug("is hidden. return no render"),null;if(!this.props.context)return this.debug("No `context` to tie. return no render"),null;var e=(0,m.default)("dops-popover",this.props.className,this.state.positionClass);return this.debug("rendering ..."),u.default.createElement(T.default,{className:this.props.rootClassName},u.default.createElement("div",{style:this.getStylePosition(),className:e,ref:this.setDOMBehavior},u.default.createElement("div",{className:"dops-popover__arrow"}),u.default.createElement("div",{className:"dops-popover__inner"},this.props.children)))}}]),t}(c.Component);S.propTypes={autoPosition:c.PropTypes.bool,className:c.PropTypes.string,closeOnEsc:c.PropTypes.bool,id:c.PropTypes.string,ignoreContext:c.PropTypes.shape({getDOMNode:u.default.PropTypes.function}),position:c.PropTypes.string,rootClassName:c.PropTypes.string,showDelay:c.PropTypes.number,onClose:c.PropTypes.func.isRequired,onShow:c.PropTypes.func},S.defaultProps={autoPosition:!0,className:"dops-popover",closeOnEsc:!0,isVisible:!1,position:"top",showDelay:0,onShow:E},t.default=S,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return l.set(e,t),function(){l.delete(e)}}function a(e){l.forEach(function(t,n){u(n,e.target)||t.call(n,e)})}function o(e){e||(e=document),c.bind(e,"click",a)}var i=n(871).default,s=n(872).default,c=s(n(873)),u=s(n(874));t=e.exports=r,t.globalClick=a,t.install=o;var l=new i.Map;"undefined"!=typeof document&&t.install(document)},function(e,t){!function(t,n,r){"use strict";function a(e){return null!==e&&("object"==typeof e||"function"==typeof e)}function o(e){return"function"==typeof e}function i(e,t,n){e&&!vt(e=n?e:e[ge],Bt)&&xt(e,Bt,t)}function s(e){return it.call(e).slice(8,-1)}function c(e){var t,n;return e==r?e===r?"Undefined":"Null":"string"==typeof(n=(t=Ne(e))[Bt])?n:s(t)}function u(){for(var e=N(this),t=arguments.length,n=Ce(t),r=0,a=Ut._,o=!1;t>r;)(n[r]=arguments[r++])===a&&(o=!0);return function(){var r,i=this,s=arguments.length,c=0,u=0;if(!o&&!s)return d(e,n,i);if(r=n.slice(),o)for(;t>c;c++)r[c]===a&&(r[c]=arguments[u++]);for(;s>u;)r.push(arguments[u++]);return d(e,r,i)}}function l(e,t,n){if(N(e),~n&&t===r)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,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}function d(e,t,n){var a=n===r;switch(0|t.length){case 0:return a?e():e.call(n);case 1:return a?e(t[0]):e.call(n,t[0]);case 2:return a?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return a?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return a?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3]);case 5:return a?e(t[0],t[1],t[2],t[3],t[4]):e.call(n,t[0],t[1],t[2],t[3],t[4])}return e.apply(n,t)}function p(e){return gt(O(e))}function f(e){return e}function h(){return this}function m(e,t){if(vt(e,t))return e[t]}function M(e){return C(e),Mt?mt(e).concat(Mt(e)):mt(e)}function _(e,t){for(var n,r=p(e),a=ht(r),o=a.length,i=0;o>i;)if(r[n=a[i++]]===t)return n}function v(e){return De(e).split(",")}function g(e){var t=1==e,n=2==e,a=3==e,o=4==e,i=6==e,s=5==e||i;return function(c){for(var u,d,p=Ne(O(this)),f=arguments[1],h=gt(p),m=l(c,f,3),M=L(h.length),_=0,v=t?Ce(M):n?[]:r;M>_;_++)if((s||_ in h)&&(u=h[_],d=m(u,_,p),e))if(t)v[_]=d;else if(d)switch(e){case 3:return!0;case 5:return u;case 6:return _;case 2:v.push(u)}else if(o)return!1;return i?-1:a||o?o:v}}function b(e){return function(t){var n=p(this),r=L(n.length),a=E(arguments[1],r);if(e&&t!=t){for(;r>a;a++)if(A(n[a]))return e||a}else for(;r>a;a++)if((e||a in n)&&n[a]===t)return e||a;return!e&&-1}}function y(e,t){return"function"==typeof e?e:t}function A(e){return e!=e}function T(e){return isNaN(e)?0:Nt(e)}function L(e){return e>0?kt(T(e),Tt):0}function E(e,t){var e=T(e);return e<0?St(e+t,0):kt(e,t)}function w(e){return e>9?e:"0"+e}function z(e,t,n){var r=a(t)?function(e){return t[e]}:t;return function(t){return De(n?t:this).replace(e,r)}}function S(e){return function(t){var n,a,o=De(O(this)),i=T(t),s=o.length;return i<0||i>=s?e?"":r:(n=o.charCodeAt(i),n<55296||n>56319||i+1===s||(a=o.charCodeAt(i+1))<56320||a>57343?e?o.charAt(i):n:e?o.slice(i,i+2):(n-55296<<10)+(a-56320)+65536)}}function k(e,t,n){if(!e)throw Re(n?t+n:t)}function O(e){if(e==r)throw Re("Function called on null or undefined");return e}function N(e){return k(o(e),e," is not a function!"),e}function C(e){return k(a(e),e," is not an object!"),e}function D(e,t,n){k(e instanceof t,n,": use the 'new' operator!")}function P(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}function x(e,t,n){return e[t]=n,e}function j(e){return Dt?function(t,n,r){return pt(t,n,P(e,r))}:x}function W(e){return me+"("+e+")_"+(++Pt+Ot())[ye](36)}function Y(e,t){return qe&&qe[e]||(t?qe:Wt)(me+at+e)}function q(e,t){for(var n in t)xt(e,n,t[n]);return e}function B(e){!Dt||!n&&ot(e)||pt(e,Rt,{configurable:!0,get:h})}function R(e,r,a){var i,s,c,u,d=e&Vt,p=d?t:e&Jt?t[r]:(t[r]||tt)[ge],f=d?It:It[r]||(It[r]={});d&&(a=r);for(i in a)s=!(e&Xt)&&p&&i in p&&(!o(p[i])||ot(p[i])),c=(s?p:a)[i],n||!d||o(p[i])?e&Gt&&s?u=l(c,t):e&Qt&&!n&&p[i]==c?(u=function(e){return this instanceof c?new c(e):c(e)},u[ge]=c[ge]):u=e&Kt&&o(c)?l(st,c):c:u=a[i],n&&p&&!s&&(d?p[i]=c:delete p[i]&&xt(p,i,c)),f[i]!=c&&xt(f,i,u)}function H(e,t){xt(e,ne,t),ze in et&&xt(e,ze,t)}function I(e,t,n,r){e[ge]=ut(r||nn,{next:P(1,n)}),i(e,t+" Iterator")}function U(e,t,r,a){var o=e[ge],s=m(o,ne)||m(o,ze)||a&&m(o,a)||r;if(n&&(H(o,s),s!==r)){var c=lt(s.call(new e));i(c,t+" Iterator",!0),vt(o,ze)&&H(c,h)}return tn[t]=s,tn[t+" Iterator"]=h,s}function F(e,t,n,r,a,o){function i(e){return function(){return new n(this,e)}}I(n,t,r);var s=i(Zt+en),c=i(en);a==en?c=U(e,t,c,"values"):s=U(e,t,s,"entries"),a&&R(Kt+Xt*rn,t,{entries:s,keys:o?c:i(Zt),values:c})}function X(e,t){return{value:t,done:!!e}}function V(e){var n=Ne(e),r=t[me],a=(r&&r[we]||ze)in n;return a||ne in n||vt(tn,c(n))}function J(e){var n=t[me],r=e[n&&n[we]||ze],a=r||e[ne]||tn[c(e)];return C(a.call(e))}function K(e,t,n){return n?d(e,t):e(t)}function G(e){var t=!0,n={next:function(){throw 1},return:function(){t=!1}};n[ne]=h;try{e(n)}catch(e){}return t}function Q(e){var t=e.return;t!==r&&t.call(e)}function $(e,t){try{e(t)}catch(e){throw Q(t),e}}function Z(e,t,n,r){$(function(e){for(var a,o=l(n,r,t?2:1);!(a=e.next()).done;)if(K(o,a.value,t)===!1)return Q(e)},J(e))}var ee,te,ne,re,ae="Object",oe="Function",ie="Array",se="String",ce="Number",ue="RegExp",le="Date",de="Map",pe="Set",fe="WeakMap",he="WeakSet",me="Symbol",Me="Promise",_e="Math",ve="Arguments",ge="prototype",be="constructor",ye="toString",Ae=ye+"Tag",Te="toLocaleString",Le="hasOwnProperty",Ee="forEach",we="iterator",ze="@@"+we,Se="process",ke="createElement",Oe=t[oe],Ne=t[ae],Ce=t[ie],De=t[se],Pe=t[ce],xe=(t[ue],t[le],t[de]),je=t[pe],We=t[fe],Ye=t[he],qe=t[me],Be=t[_e],Re=t.TypeError,He=t.RangeError,Ie=t.setTimeout,Ue=t.setImmediate,Fe=t.clearImmediate,Xe=t.parseInt,Ve=t.isFinite,Je=t[Se],Ke=Je&&Je.nextTick,Ge=t.document,Qe=Ge&&Ge.documentElement,$e=(t.navigator,t.define),Ze=t.console||{},et=Ce[ge],tt=Ne[ge],nt=Oe[ge],rt=1/0,at=".",ot=l(/./.test,/\[native code\]\s*\}\s*$/,1),it=tt[ye],st=nt.call,ct=nt.apply,ut=Ne.create,lt=Ne.getPrototypeOf,dt=Ne.setPrototypeOf,pt=Ne.defineProperty,ft=(Ne.defineProperties,Ne.getOwnPropertyDescriptor),ht=Ne.keys,mt=Ne.getOwnPropertyNames,Mt=Ne.getOwnPropertySymbols,_t=Ne.isFrozen,vt=l(st,tt[Le],2),gt=Ne,bt=Ne.assign||function(e,t){for(var n=Ne(O(e)),r=arguments.length,a=1;r>a;)for(var o,i=gt(arguments[a++]),s=ht(i),c=s.length,u=0;c>u;)n[o=s[u++]]=i[o];return n},yt=et.push,At=(et.unshift,et.slice,et.splice,et.indexOf,et[Ee]),Tt=9007199254740991,Lt=Be.pow,Et=Be.abs,wt=Be.ceil,zt=Be.floor,St=Be.max,kt=Be.min,Ot=Be.random,Nt=Be.trunc||function(e){return(e>0?zt:wt)(e)},Ct="Reduce of empty object with no initial value",Dt=!!function(){try{return 2==pt({},"a",{get:function(){return 2}}).a}catch(e){}}(),Pt=0,xt=j(1),jt=qe?x:xt,Wt=qe||W,Yt=Y("unscopables"),qt=et[Yt]||{},Bt=Y(Ae),Rt=Y("species"),Ht=s(Je)==Se,It={},Ut=n?t:It,Ft=t.core,Xt=1,Vt=2,Jt=4,Kt=8,Gt=16,Qt=32;"undefined"!=typeof e&&e.exports?e.exports=It:o($e)&&$e.amd?$e(function(){return It}):re=!0,(re||n)&&(It.noConflict=function(){return t.core=Ft,It},t.core=It),ne=Y(we);var $t=Wt("iter"),Zt=1,en=2,tn={},nn={},rn="keys"in et&&!("next"in[].keys());H(nn,h),!function(e,n,r,a){ot(qe)||(qe=function(t){k(!(this instanceof qe),me+" is not a "+be);var n=W(t),o=jt(ut(qe[ge]),e,n);return r[n]=o,Dt&&a&&pt(tt,n,{configurable:!0,set:function(e){xt(this,n,e)}}),o},xt(qe[ge],ye,function(){return this[e]})),R(Vt+Qt,{Symbol:qe});var o={for:function(e){return vt(n,e+="")?n[e]:n[e]=qe(e)},iterator:ne||Y(we),keyFor:u.call(_,n),species:Rt,toStringTag:Bt=Y(Ae,!0),unscopables:Yt,pure:Wt,set:jt,useSetter:function(){a=!0},useSimple:function(){a=!1}};At.call(v("hasInstance,isConcatSpreadable,match,replace,search,split,toPrimitive"),function(e){o[e]=Y(e)}),R(Jt,me,o),i(qe,me),R(Jt+Xt*!ot(qe),ae,{getOwnPropertyNames:function(e){for(var t,n=mt(p(e)),a=[],o=0;n.length>o;)vt(r,t=n[o++])||a.push(t);return a},getOwnPropertySymbols:function(e){for(var t,n=mt(p(e)),a=[],o=0;n.length>o;)vt(r,t=n[o++])&&a.push(r[t]);return a}}),i(Be,_e,!0),i(t.JSON,"JSON",!0)}(Wt("tag"),{},{},!0),!function(){var e={assign:bt,is:function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}};"__proto__"in tt&&function(t,n){try{n=l(st,ft(tt,"__proto__").set,2),n({},et)}catch(e){t=!0}e.setPrototypeOf=dt=dt||function(e,r){return C(e),k(null===r||a(r),r,": can't set as prototype!"),t?e.__proto__=r:n(e,r),e}}(),R(Jt,ae,e)}(),!function(){function e(e,t){var n=Ne[e],r=It[ae][e],o=0,i={};if(!r||ot(r)){i[e]=1==t?function(e){return a(e)?n(e):e}:2==t?function(e){return!a(e)||n(e)}:3==t?function(e){return!!a(e)&&n(e)}:4==t?function(e,t){return n(p(e),t)}:function(e){return n(p(e))};try{n(at)}catch(e){o=1}R(Jt+Xt*o,ae,i)}}e("freeze",1),e("seal",1),e("preventExtensions",1),e("isFrozen",2),e("isSealed",2),e("isExtensible",3),e("getOwnPropertyDescriptor",4),e("getPrototypeOf"),e("keys"),e("getOwnPropertyNames")}(),!function(e){R(Jt,ce,{EPSILON:Lt(2,-52),isFinite:function(e){return"number"==typeof e&&Ve(e)},isInteger:e,isNaN:A,isSafeInteger:function(t){return e(t)&&Et(t)<=Tt},MAX_SAFE_INTEGER:Tt,MIN_SAFE_INTEGER:-Tt,parseFloat:parseFloat,parseInt:Xe})}(Pe.isInteger||function(e){return!a(e)&&Ve(e)&&zt(e)===e}),!function(){function e(t){return Ve(t=+t)&&0!=t?t<0?-e(-t):a(t+o(t*t+1)):t}function t(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:r(e)-1}var n=Be.E,r=Be.exp,a=Be.log,o=Be.sqrt,i=Be.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1};R(Jt,_e,{acosh:function(e){return(e=+e)<1?NaN:Ve(e)?a(e/n+o(e+1)*o(e-1)/n)+1:e},asinh:e,atanh:function(e){return 0==(e=+e)?e:a((1+e)/(1-e))/2},cbrt:function(e){return i(e=+e)*Lt(Et(e),1/3)},clz32:function(e){return(e>>>=0)?32-e[ye](2).length:32},cosh:function(e){return(r(e=+e)+r(-e))/2},expm1:t,fround:function(e){return new Float32Array([e])[0]},hypot:function(e,t){for(var n,r=0,a=arguments.length,i=a,s=Ce(a),c=-rt;a--;){if(n=s[a]=+arguments[a],n==rt||n==-rt)return rt;n>c&&(c=n)}for(c=n||1;i--;)r+=Lt(s[i]/c,2);return c*o(r)},imul:function(e,t){var n=65535,r=+e,a=+t,o=n&r,i=n&a;return 0|o*i+((n&r>>>16)*i+o*(n&a>>>16)<<16>>>0)},log1p:function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:a(1+e)},log10:function(e){return a(e)/Be.LN10},log2:function(e){return a(e)/Be.LN2},sign:i,sinh:function(e){return Et(e=+e)<1?(t(e)-t(-e))/2:(r(e-1)-r(-e-1))*(n/2)},tanh:function(e){var n=t(e=+e),a=t(-e);return n==rt?1:a==rt?-1:(n-a)/(r(e)+r(-e))},trunc:Nt})}(),!function(e){function t(e){if(s(e)==ue)throw Re()}R(Jt,se,{fromCodePoint:function(t){for(var n,r=[],a=arguments.length,o=0;a>o;){if(n=+arguments[o++],E(n,1114111)!==n)throw He(n+" is not a valid code point");r.push(n<65536?e(n):e(((n-=65536)>>10)+55296,n%1024+56320))}return r.join("")},raw:function(e){for(var t=p(e.raw),n=L(t.length),r=arguments.length,a=[],o=0;n>o;)a.push(De(t[o++])),o<r&&a.push(De(arguments[o]));return a.join("")}}),R(Kt,se,{codePointAt:S(!1),endsWith:function(e){t(e);var n=De(O(this)),a=arguments[1],o=L(n.length),i=a===r?o:kt(L(a),o);return e+="",n.slice(i-e.length,i)===e},includes:function(e){return t(e),!!~De(O(this)).indexOf(e,arguments[1])},repeat:function(e){var t=De(O(this)),n="",r=T(e);if(0>r||r==rt)throw He("Count can't be negative");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n},startsWith:function(e){t(e);var n=De(O(this)),r=L(kt(arguments[1],n.length));return e+="",n.slice(r,r+e.length)===e}})}(De.fromCharCode),!function(){R(Jt+Xt*G(Ce.from),ie,{from:function(e){var t,n,a,o=Ne(O(e)),i=arguments[1],s=i!==r,c=s?l(i,arguments[2],2):r,u=0;if(V(o))n=new(y(this,Ce)),$(function(e){for(;!(a=e.next()).done;u++)n[u]=s?c(a.value,u):a.value},J(o));else for(n=new(y(this,Ce))(t=L(o.length));t>u;u++)n[u]=s?c(o[u],u):o[u];return n.length=u,n}}),R(Jt,ie,{of:function(){for(var e=0,t=arguments.length,n=new(y(this,Ce))(t);t>e;)n[e]=arguments[e++];return n.length=t,n}}),B(Ce)}(),!function(){R(Kt,ie,{copyWithin:function(e,t){var n=Ne(O(this)),a=L(n.length),o=E(e,a),i=E(t,a),s=arguments[2],c=s===r?a:E(s,a),u=kt(c-i,a-o),l=1;for(i<o&&o<i+u&&(l=-1,i=i+u-1,o=o+u-1);u-- >0;)i in n?n[o]=n[i]:delete n[o],o+=l,i+=l;return n},fill:function(e){for(var t=Ne(O(this)),n=L(t.length),a=E(arguments[1],n),o=arguments[2],i=o===r?n:E(o,n);i>a;)t[a++]=e;return t},find:g(5),findIndex:g(6)}),n&&(At.call(v("find,findIndex,fill,copyWithin,entries,keys,values"),function(e){qt[e]=!0}),Yt in et||xt(et,Yt,qt))}(),!function(e){F(Ce,ie,function(e,t){jt(this,$t,{o:p(e),i:0,k:t})},function(){var e=this[$t],t=e.o,n=e.k,a=e.i++;return!t||a>=t.length?(e.o=r,X(1)):n==Zt?X(0,a):n==en?X(0,t[a]):X(0,[a,t[a]])},en),tn[ve]=tn[ie],F(De,se,function(e){jt(this,$t,{o:De(e),i:0})},function(){var t,n=this[$t],r=n.o,a=n.i;return a>=r.length?X(1):(t=e.call(r,a),n.i+=t.length,X(0,t))})}(S(!0)),o(Ue)&&o(Fe)||function(e){function n(e){if(vt(m,e)){var t=m[e];delete m[e],t()}}function r(e){n(e.data)}var a,i,s,c=t.postMessage,p=t.addEventListener,f=t.MessageChannel,h=0,m={};Ue=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return m[++h]=function(){d(o(e)?e:Oe(e),t)},a(h),h},Fe=function(e){
26
  delete m[e]},Ht?a=function(e){Ke(u.call(n,e))}:p&&o(c)&&!t.importScripts?(a=function(e){c(e,"*")},p("message",r,!1)):o(f)?(i=new f,s=i.port2,i.port1.onmessage=r,a=l(s.postMessage,s,1)):a=Ge&&e in Ge[ke]("script")?function(t){Qe.appendChild(Ge[ke]("script"))[e]=function(){Qe.removeChild(this),n(t)}}:function(e){Ie(n,0,e)}}("onreadystatechange"),R(Vt+Gt,{setImmediate:Ue,clearImmediate:Fe}),!function(e,t){o(e)&&o(e.resolve)&&e.resolve(t=new e(function(){}))==t||function(t,n){function i(e){var t;return a(e)&&(t=e.then),!!o(t)&&t}function s(e){var t,r=e[n],a=r.c,o=0;if(r.h)return!0;for(;a.length>o;)if(t=a[o++],t.fail||s(t.P))return!0}function c(e,n){var r=e.c;(n||r.length)&&t(function(){var t=e.p,a=e.v,c=1==e.s,u=0;if(n&&!s(t))Ie(function(){s(t)||(Ht?!Je.emit("unhandledRejection",a,t):o(Ze.error)&&Ze.error("Unhandled promise rejection",a))},1e3);else for(;r.length>u;)!function(t){var n,r,o=c?t.ok:t.fail;try{o?(c||(e.h=!0),n=o===!0?a:o(a),n===t.P?t.rej(Re(Me+"-chain cycle")):(r=i(n))?r.call(n,t.res,t.rej):t.res(n)):t.rej(a)}catch(e){t.rej(e)}}(r[u++]);r.length=0})}function u(e){var t,n,r=this;if(!r.d){r.d=!0,r=r.r||r;try{(t=i(e))?(n={r:r,d:!1},t.call(e,l(u,n,1),l(d,n,1))):(r.v=e,r.s=1,c(r))}catch(e){d.call(n||{r:r,d:!1},e)}}}function d(e){var t=this;t.d||(t.d=!0,t=t.r||t,t.v=e,t.s=2,c(t,!0))}function p(e){var t=C(e)[Rt];return t!=r?t:e}e=function(t){N(t),D(this,e,Me);var a={p:this,c:[],s:0,d:!1,v:r,h:!1};xt(this,n,a);try{t(l(u,a,1),l(d,a,1))}catch(e){d.call(a,e)}},q(e[ge],{then:function(t,a){var i=C(C(this)[be])[Rt],s={ok:!o(t)||t,fail:!!o(a)&&a},u=s.P=new(i!=r?i:e)(function(e,t){s.res=N(e),s.rej=N(t)}),l=this[n];return l.c.push(s),l.s&&c(l),u},catch:function(e){return this.then(r,e)}}),q(e,{all:function(e){var t=p(this),n=[];return new t(function(r,a){Z(e,!1,yt,n);var o=n.length,i=Ce(o);o?At.call(n,function(e,n){t.resolve(e).then(function(e){i[n]=e,--o||r(i)},a)}):r(i)})},race:function(e){var t=p(this);return new t(function(n,r){Z(e,!1,function(e){t.resolve(e).then(n,r)})})},reject:function(e){return new(p(this))(function(t,n){n(e)})},resolve:function(e){return a(e)&&n in e&&lt(e)===this[ge]?e:new(p(this))(function(t,n){t(e)})}})}(Ke||Ue,Wt("record")),i(e,Me),B(e),R(Vt+Xt*!ot(e),{Promise:e})}(t[Me]),!function(){function e(e,t,a,o,s,c){function u(e,t){return t!=r&&Z(t,s,e[f],e),e}function l(e,t){var r=h[e];n&&(h[e]=function(e,n){var a=r.call(this,0===e?0:e,n);return t?this:a})}var f=s?"set":"add",h=e&&e[ge],v={};if(ot(e)&&(c||!rn&&vt(h,Ee)&&vt(h,"entries"))){var b,y=e,A=new e,T=A[f](c?{}:-0,1);G(function(t){new e(t)})&&(e=function(n){return D(this,e,t),u(new y,n)},e[ge]=h,n&&(h[be]=e)),c||A[Ee](function(e,t){b=1/t===-rt}),b&&(l("delete"),l("has"),s&&l("get")),(b||T!==A)&&l(f,!0)}else e=c?function(n){D(this,e,t),jt(this,d,g++),u(this,n)}:function(n){var a=this;D(a,e,t),jt(a,p,ut(null)),jt(a,_,0),jt(a,m,r),jt(a,M,r),u(a,n)},q(q(e[ge],a),o),c||!Dt||pt(e[ge],"size",{get:function(){return O(this[_])}});return i(e,t),B(e),v[t]=e,R(Vt+Qt+Xt*!ot(e),v),c||F(e,t,function(e,t){jt(this,$t,{o:e,k:t})},function(){for(var e=this[$t],t=e.k,n=e.l;n&&n.r;)n=n.p;return e.o&&(e.l=n=n?n.n:e.o[M])?t==Zt?X(0,n.k):t==en?X(0,n.v):X(0,[n.k,n.v]):(e.o=r,X(1))},s?Zt+en:en,!s),e}function t(e,t){if(!a(e))return("string"==typeof e?"S":"P")+e;if(_t(e))return"F";if(!vt(e,d)){if(!t)return"E";xt(e,d,++g)}return"O"+e[d]}function o(e,n){var r,a=t(n);if("F"!=a)return e[p][a];for(r=e[M];r;r=r.n)if(r.k==n)return r}function s(e,n,a){var i,s,c=o(e,n);return c?c.v=a:(e[m]=c={i:s=t(n,!0),k:n,v:a,p:i=e[m],n:r,r:!1},e[M]||(e[M]=c),i&&(i.n=c),e[_]++,"F"!=s&&(e[p][s]=c)),e}function c(e,t,n){return _t(C(t))?u(e).set(t,n):(vt(t,f)||xt(t,f,{}),t[f][e[d]]=n),e}function u(e){return e[h]||xt(e,h,new xe)[h]}var d=Wt("uid"),p=Wt("O1"),f=Wt("weak"),h=Wt("leak"),m=Wt("last"),M=Wt("first"),_=Dt?Wt("size"):"size",g=0,b={},y={clear:function(){for(var e=this,t=e[p],n=e[M];n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=r),delete t[n.i];e[M]=e[m]=r,e[_]=0},delete:function(e){var t=this,n=o(t,e);if(n){var r=n.n,a=n.p;delete t[p][n.i],n.r=!0,a&&(a.n=r),r&&(r.p=a),t[M]==n&&(t[M]=r),t[m]==n&&(t[m]=a),t[_]--}return!!n},forEach:function(e){for(var t,n=l(e,arguments[1],3);t=t?t.n:this[M];)for(n(t.v,t.k,this);t&&t.r;)t=t.p},has:function(e){return!!o(this,e)}};xe=e(xe,de,{get:function(e){var t=o(this,e);return t&&t.v},set:function(e,t){return s(this,0===e?0:e,t)}},y,!0),je=e(je,pe,{add:function(e){return s(this,e=0===e?0:e,e)}},y);var A={delete:function(e){return!!a(e)&&(_t(e)?u(this).delete(e):vt(e,f)&&vt(e[f],this[d])&&delete e[f][this[d]])},has:function(e){return!!a(e)&&(_t(e)?u(this).has(e):vt(e,f)&&vt(e[f],this[d]))}};We=e(We,fe,{get:function(e){if(a(e)){if(_t(e))return u(this).get(e);if(vt(e,f))return e[f][this[d]]}},set:function(e,t){return c(this,e,t)}},A,!0,!0),n&&7!=(new We).set(Ne.freeze(b),7).get(b)&&At.call(v("delete,has,get,set"),function(e){var t=We[ge][e];We[ge][e]=function(n,r){if(a(n)&&_t(n)){var o=u(this)[e](n,r);return"set"==e?this:o}return t.call(this,n,r)}}),Ye=e(Ye,he,{add:function(e){return c(this,e,!0)}},A,!1,!0)}(),!function(){function e(e){var t,n=[];for(t in e)n.push(t);jt(this,$t,{o:e,a:n,i:0})}function t(e){return function(t){C(t);try{return e.apply(r,arguments),!0}catch(e){return!1}}}function n(e,t){var o,i=arguments.length<3?e:arguments[2],s=ft(C(e),t);return s?vt(s,"value")?s.value:s.get===r?r:s.get.call(i):a(o=lt(e))?n(o,t,i):r}function o(e,t,n){var i,s,c=arguments.length<4?e:arguments[3],u=ft(C(e),t);if(!u){if(a(s=lt(e)))return o(s,t,n,c);u=P(0)}return vt(u,"value")?!(u.writable===!1||!a(c))&&(i=ft(c,t)||P(0),i.value=n,pt(c,t,i),!0):u.set!==r&&(u.set.call(c,n),!0)}I(e,ae,function(){var e,t=this[$t],n=t.a;do if(t.i>=n.length)return X(1);while(!((e=n[t.i++])in t.o));return X(0,e)});var i=Ne.isExtensible||f,s={apply:l(st,ct,3),construct:function(e,t){var n=N(arguments.length<3?e:arguments[2])[ge],r=ut(a(n)?n:tt),o=ct.call(e,r,t);return a(o)?o:r},defineProperty:t(pt),deleteProperty:function(e,t){var n=ft(C(e),t);return!(n&&!n.configurable)&&delete e[t]},enumerate:function(t){return new e(C(t))},get:n,getOwnPropertyDescriptor:function(e,t){return ft(C(e),t)},getPrototypeOf:function(e){return lt(C(e))},has:function(e,t){return t in e},isExtensible:function(e){return!!i(C(e))},ownKeys:M,preventExtensions:t(Ne.preventExtensions||f),set:o};dt&&(s.setPrototypeOf=function(e,t){return dt(C(e),t),!0}),R(Vt,{Reflect:{}}),R(Jt,"Reflect",s)}(),!function(){function e(e){return function(t){var n,r=p(t),a=ht(t),o=a.length,i=0,s=Ce(o);if(e)for(;o>i;)s[i]=[n=a[i++],r[n]];else for(;o>i;)s[i]=r[a[i++]];return s}}R(Kt,ie,{includes:b(!0)}),R(Kt,se,{at:S(!0)}),R(Jt,ae,{getOwnPropertyDescriptors:function(e){var t=p(e),n={};return At.call(M(t),function(e){pt(n,e,P(0,ft(t,e)))}),n},values:e(!1),entries:e(!0)}),R(Jt,ue,{escape:z(/([\\\-[\]{}()*+?.,^$|])/g,"\\$1",!0)})}(),!function(e){function t(e){if(e){var t=e[ge];xt(t,ee,t.get),xt(t,n,t.set),xt(t,r,t.delete)}}ee=Y(e+"Get",!0);var n=Y(e+pe,!0),r=Y(e+"Delete",!0);R(Jt,me,{referenceGet:ee,referenceSet:n,referenceDelete:r}),xt(nt,ee,h),t(xe),t(We)}("reference"),!function(e){function t(e,t){jt(this,$t,{o:p(e),a:ht(e),i:0,k:t})}function n(e){return function(n){return new t(n,e)}}function o(e){var t=1==e,n=4==e;return function(a,o,i){var s,c,u,d=l(o,i,3),f=p(a),h=t||7==e||2==e?new(y(this,te)):r;for(s in f)if(vt(f,s)&&(c=f[s],u=d(c,s,a),e))if(t)h[s]=u;else if(u)switch(e){case 2:h[s]=c;break;case 3:return!0;case 5:return c;case 6:return s;case 7:h[u[0]]=u[1]}else if(n)return!1;return 3==e||n?n:h}}function i(e){return function(t,n,a){N(n);var o,i,s,c=p(t),u=ht(c),l=u.length,d=0;for(e?o=a==r?new(y(this,te)):Ne(a):arguments.length<3?(k(l,Ct),o=c[u[d++]]):o=Ne(a);l>d;)if(vt(c,i=u[d++]))if(s=n(o,c[i],i,t),e){if(s===!1)break}else o=s;return o}}function s(e,t){return(t==t?_(e,t):c(e,A))!==r}te=function(e){var t=ut(null);return e!=r&&(V(e)?Z(e,!0,function(e,n){t[e]=n}):bt(t,e)),t},te[ge]=null,I(t,e,function(){var e,t=this[$t],n=t.o,a=t.a,o=t.k;do if(t.i>=a.length)return t.o=r,X(1);while(!vt(n,e=a[t.i++]));return o==Zt?X(0,e):o==en?X(0,n[e]):X(0,[e,n[e]])});var c=o(6),u={keys:n(Zt),values:n(en),entries:n(Zt+en),forEach:o(0),map:o(1),filter:o(2),some:o(3),every:o(4),find:o(5),findKey:c,mapPairs:o(7),reduce:i(!1),turn:i(!0),keyOf:_,includes:s,has:vt,get:m,set:j(0),isDict:function(e){return a(e)&&lt(e)===te[ge]}};if(ee)for(var f in u)!function(e){function t(){for(var t=[this],n=0;n<arguments.length;)t.push(arguments[n++]);return d(e,t)}e[ee]=function(){return t}}(u[f]);R(Vt+Xt,{Dict:q(te,u)})}("Dict"),!function(e,t){function n(t,r){return this instanceof n?(this[$t]=J(t),void(this[e]=!!r)):new n(t,r)}function a(n){function r(n,r,a){this[$t]=J(n),this[e]=n[e],this[t]=l(r,a,n[e]?2:1)}return I(r,"Chain",n,o),H(r[ge],h),r}I(n,"Wrapper",function(){return this[$t].next()});var o=n[ge];H(o,function(){return this[$t]});var i=a(function(){var n=this[$t].next();return n.done?n:X(0,K(this[t],n.value,this[e]))}),s=a(function(){for(;;){var n=this[$t].next();if(n.done||K(this[t],n.value,this[e]))return n}});q(o,{of:function(t,n){Z(this,this[e],t,n)},array:function(e,t){var n=[];return Z(e!=r?this.map(e,t):this,!1,yt,n),n},filter:function(e,t){return new s(this,e,t)},map:function(e,t){return new i(this,e,t)}}),n.isIterable=V,n.getIterator=J,R(Vt+Xt,{$for:n})}("entries",Wt("fn")),R(Vt+Xt,{delay:function(e){return new Promise(function(t){Ie(t,e,!0)})}}),!function(e,t){function n(n){var a=this,o={};return xt(a,e,function(e){return e!==r&&e in a?vt(o,e)?o[e]:o[e]=l(a[e],a,-1):t.call(a)})[e](n)}It._=Ut._=Ut._||{},R(Kt+Xt,oe,{part:u,only:function(e,t){var n=N(this),r=L(e),a=arguments.length>1;return function(){for(var e=kt(r,arguments.length),o=Ce(e),i=0;e>i;)o[i]=arguments[i++];return d(n,o,a?t:this)}}}),xt(Ut._,ye,function(){return e}),xt(tt,e,n),Dt||xt(et,e,n)}(Dt?W("tie"):Te,tt[Te]),!function(){function e(e,t){for(var n,r=M(p(t)),a=r.length,o=0;a>o;)pt(e,n=r[o++],ft(t,n));return e}R(Jt+Xt,ae,{isObject:a,classof:c,define:e,make:function(t,n){return e(ut(t),n)}})}(),R(Kt+Xt,ie,{turn:function(e,t){N(e);for(var n=t==r?[]:Ne(t),a=gt(this),o=L(a.length),i=0;o>i&&e(n,a[i],i++,this)!==!1;);return n}}),n&&(qt.turn=!0),!function(e){function t(e){jt(this,$t,{l:L(e),i:0})}I(t,ce,function(){var e=this[$t],t=e.i++;return t<e.l?X(0,t):X(1)}),U(Pe,ce,function(){return new t(this)}),e.random=function(e){var t=+this,n=e==r?0:+e,a=kt(t,n);return Ot()*(St(t,n)-a)+a},At.call(v("round,floor,ceil,abs,sin,asin,cos,acos,tan,atan,exp,sqrt,max,min,pow,atan2,acosh,asinh,atanh,cbrt,clz32,cosh,expm1,hypot,imul,log1p,log10,log2,sign,sinh,tanh,trunc"),function(t){var n=Be[t];n&&(e[t]=function(){for(var e=[+this],t=0;arguments.length>t;)e.push(arguments[t++]);return d(n,e)})}),R(Kt+Xt,ce,e)}({}),!function(){var e,t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;"},n={};for(e in t)n[t[e]]=e;R(Kt+Xt,se,{escapeHTML:z(/[&<>"']/g,t),unescapeHTML:z(/&(?:amp|lt|gt|quot|apos);/g,n)})}(),!function(e,t,n,r,a,o,i,s,c){function u(t){return function(u,l){function d(e){return p[t+e]()}var p=this,f=n[vt(n,l)?l:r];return De(u).replace(e,function(e){switch(e){case"s":return d(a);case"ss":return w(d(a));case"m":return d(o);case"mm":return w(d(o));case"h":return d(i);case"hh":return w(d(i));case"D":return d(le);case"DD":return w(d(le));case"W":return f[0][d("Day")];case"N":return d(s)+1;case"NN":return w(d(s)+1);case"M":return f[2][d(s)];case"MM":return f[1][d(s)];case"Y":return d(c);case"YY":return w(d(c)%100)}return e})}}function l(e,r){function a(e){var n=[];return At.call(v(r.months),function(r){n.push(r.replace(t,"$"+e))}),n}return n[e]=[v(r.weekdays),a(1),a(2)],It}R(Kt+Xt,le,{format:u("get"),formatUTC:u("getUTC")}),l(r,{weekdays:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday",months:"January,February,March,April,May,June,July,August,September,October,November,December"}),l("ru",{weekdays:"Воскресенье,Понедельник,Вторник,Среда,Четверг,Пятница,Суббота",months:"Январ:я|ь,Феврал:я|ь,Март:а|,Апрел:я|ь,Ма:я|й,Июн:я|ь,Июл:я|ь,Август:а|,Сентябр:я|ь,Октябр:я|ь,Ноябр:я|ь,Декабр:я|ь"}),It.locale=function(e){return vt(n,e)?r=e:r},It.addLocale=l}(/\b\w\w?\b/g,/:(.*)\|(.*)$/,{},"en","Seconds","Minutes","Hours","Month","FullYear"),R(Vt+Xt,{global:t}),!function(e){function t(t,n){At.call(v(t),function(t){t in et&&(e[t]=l(st,et[t],n))})}t("pop,reverse,shift,keys,values,entries",1),t("indexOf,every,some,forEach,map,filter,find,findIndex,includes",3),t("join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill,turn"),R(Jt,ie,e)}({}),!function(e){!n||!e||ne in e[ge]||xt(e[ge],ne,tn[ie]),tn.NodeList=tn[ie]}(t.NodeList),!function(e,t){At.call(v("assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,isIndependentlyComposed,log,markTimeline,profile,profileEnd,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn"),function(n){e[n]=function(){if(t&&n in Ze)return ct.call(Ze[n],Ze,arguments)}}),R(Vt+Xt,{log:bt(e.log,e,{enable:function(){t=!0},disable:function(){t=!1}})})}({},!0)}("undefined"!=typeof self&&self.Math===Math?self:Function("return this")(),!1),e.exports={default:e.exports,__esModule:!0}},function(e,t){"use strict";t.default=function(e){return e&&e.__esModule?e.default:e},t.__esModule=!0},function(e,t){var n=window.addEventListener?"addEventListener":"attachEvent",r=window.removeEventListener?"removeEventListener":"detachEvent",a="addEventListener"!==n?"on":"";t.bind=function(e,t,r,o){return e[n](a+t,r,o||!1),r},t.unbind=function(e,t,n,o){return e[r](a+t,n,o||!1),n}},function(e,t){function n(e,t){return e===t||!!(16&e.compareDocumentPosition(t))}e.exports=n},function(e,t,n){function r(e){var t,n;for(t=[],n=0;n<e.length;n++)t.push(o[e[n]%64]);return t.join("")}function a(e){if("undefined"!=typeof window){if("undefined"!=typeof window.crypto)return r(window.crypto.getRandomValues(new Uint8Array(e)));for(var t=new Array(e),a=0;a<e;a++)t[a]=Math.floor(256*Math.random());return r(t)}var o=n(876);try{return r(o.randomBytes(e))}catch(t){return r(o.pseudoRandomBytes(e))}}var o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_";e.exports=a},function(e,t,n){(function(e){function r(){var e=[].slice.call(arguments).join(" ");throw new Error([e,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}function a(e,t){for(var n in e)t(e[n],n)}var o=n(881);t.createHash=n(883),t.createHmac=n(895),t.randomBytes=function(t,n){if(!n||!n.call)return new e(o(t));try{n.call(this,void 0,new e(o(t)))}catch(e){n(e)}},t.getHashes=function(){return["sha1","sha256","sha512","md5","rmd160"]};var i=n(896)(t);t.pbkdf2=i.pbkdf2,t.pbkdf2Sync=i.pbkdf2Sync,a(["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman"],function(e){t[e]=function(){r("sorry,",e,"is not implemented yet")}})}).call(t,n(877).Buffer)},function(e,t,n){(function(e,r){"use strict";function a(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}function o(){return e.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(t,n){if(o()<n)throw new RangeError("Invalid typed array length");return e.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(n),t.__proto__=e.prototype):(null===t&&(t=new e(n)),t.length=n),t}function e(t,n,r){if(!(e.TYPED_ARRAY_SUPPORT||this instanceof e))return new e(t,n,r);if("number"==typeof t){if("string"==typeof n)throw new Error("If encoding is specified then the first argument must be a string");return l(this,t)}return s(this,t,n,r)}function s(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?f(e,t,n,r):"string"==typeof t?d(e,t,n):h(e,t)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function u(e,t,n,r){return c(t),t<=0?i(e,t):void 0!==n?"string"==typeof r?i(e,t).fill(n,r):i(e,t).fill(n):i(e,t)}function l(t,n){if(c(n),t=i(t,n<0?0:0|m(n)),!e.TYPED_ARRAY_SUPPORT)for(var r=0;r<n;++r)t[r]=0;return t}function d(t,n,r){if("string"==typeof r&&""!==r||(r="utf8"),!e.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var a=0|_(n,r);t=i(t,a);var o=t.write(n,r);return o!==a&&(t=t.slice(0,o)),t}function p(e,t){var n=t.length<0?0:0|m(t.length);e=i(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function f(t,n,r,a){if(n.byteLength,r<0||n.byteLength<r)throw new RangeError("'offset' is out of bounds");if(n.byteLength<r+(a||0))throw new RangeError("'length' is out of bounds");return n=void 0===r&&void 0===a?new Uint8Array(n):void 0===a?new Uint8Array(n,r):new Uint8Array(n,r,a),e.TYPED_ARRAY_SUPPORT?(t=n,t.__proto__=e.prototype):t=p(t,n),t}function h(t,n){if(e.isBuffer(n)){var r=0|m(n.length);return t=i(t,r),0===t.length?t:(n.copy(t,0,0,r),t)}if(n){if("undefined"!=typeof ArrayBuffer&&n.buffer instanceof ArrayBuffer||"length"in n)return"number"!=typeof n.length||G(n.length)?i(t,0):p(t,n);if("Buffer"===n.type&&Z(n.data))return p(t,n.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function m(e){if(e>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function M(t){return+t!=t&&(t=0),e.alloc(+t)}function _(t,n){if(e.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var a=!1;;)switch(n){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return F(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return J(t).length;default:if(a)return F(t).length;n=(""+n).toLowerCase(),a=!0}}function v(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,n);case"utf8":case"utf-8":return k(this,t,n);case"ascii":return N(this,t,n);case"latin1":case"binary":return C(this,t,n);case"base64":return S(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function b(t,n,r,a,o){if(0===t.length)return-1;if("string"==typeof r?(a=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof n&&(n=e.from(n,a)),e.isBuffer(n))return 0===n.length?-1:y(t,n,r,a,o);if("number"==typeof n)return n=255&n,e.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,n,r):Uint8Array.prototype.lastIndexOf.call(t,n,r):y(t,[n],r,a,o);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,a){function o(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}var i=1,s=e.length,c=t.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;i=2,s/=2,c/=2,n/=2}var u;if(a){var l=-1;for(u=n;u<s;u++)if(o(e,u)===o(t,l===-1?0:u-l)){if(l===-1&&(l=u),u-l+1===c)return l*i}else l!==-1&&(u-=u-l),l=-1}else for(n+c>s&&(n=s-c),u=n;u>=0;u--){for(var d=!0,p=0;p<c;p++)if(o(e,u+p)!==o(t,p)){d=!1;break}if(d)return u}return-1}function A(e,t,n,r){n=Number(n)||0;var a=e.length-n;r?(r=Number(r),r>a&&(r=a)):r=a;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var i=0;i<r;++i){var s=parseInt(t.substr(2*i,2),16);if(isNaN(s))return i;e[n+i]=s}return i}function T(e,t,n,r){return K(F(t,e.length-n),e,n,r)}function L(e,t,n,r){return K(X(t),e,n,r)}function E(e,t,n,r){return L(e,t,n,r)}function w(e,t,n,r){return K(J(t),e,n,r)}function z(e,t,n,r){return K(V(t,e.length-n),e,n,r)}function S(e,t,n){return 0===t&&n===e.length?Q.fromByteArray(e):Q.fromByteArray(e.slice(t,n))}function k(e,t,n){n=Math.min(e.length,n);for(var r=[],a=t;a<n;){var o=e[a],i=null,s=o>239?4:o>223?3:o>191?2:1;if(a+s<=n){var c,u,l,d;switch(s){case 1:o<128&&(i=o);break;case 2:c=e[a+1],128===(192&c)&&(d=(31&o)<<6|63&c,d>127&&(i=d));break;case 3:c=e[a+1],u=e[a+2],128===(192&c)&&128===(192&u)&&(d=(15&o)<<12|(63&c)<<6|63&u,d>2047&&(d<55296||d>57343)&&(i=d));break;case 4:c=e[a+1],u=e[a+2],l=e[a+3],128===(192&c)&&128===(192&u)&&128===(192&l)&&(d=(15&o)<<18|(63&c)<<12|(63&u)<<6|63&l,d>65535&&d<1114112&&(i=d))}}null===i?(i=65533,s=1):i>65535&&(i-=65536,r.push(i>>>10&1023|55296),i=56320|1023&i),r.push(i),a+=s}return O(r)}function O(e){var t=e.length;if(t<=ee)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=ee));return n}function N(e,t,n){var r="";n=Math.min(e.length,n);for(var a=t;a<n;++a)r+=String.fromCharCode(127&e[a]);return r}function C(e,t,n){var r="";n=Math.min(e.length,n);for(var a=t;a<n;++a)r+=String.fromCharCode(e[a]);return r}function D(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var a="",o=t;o<n;++o)a+=U(e[o]);return a}function P(e,t,n){for(var r=e.slice(t,n),a="",o=0;o<r.length;o+=2)a+=String.fromCharCode(r[o]+256*r[o+1]);return a}function x(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function j(t,n,r,a,o,i){if(!e.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(n>o||n<i)throw new RangeError('"value" argument is out of bounds');if(r+a>t.length)throw new RangeError("Index out of range")}function W(e,t,n,r){t<0&&(t=65535+t+1);for(var a=0,o=Math.min(e.length-n,2);a<o;++a)e[n+a]=(t&255<<8*(r?a:1-a))>>>8*(r?a:1-a)}function Y(e,t,n,r){t<0&&(t=4294967295+t+1);for(var a=0,o=Math.min(e.length-n,4);a<o;++a)e[n+a]=t>>>8*(r?a:3-a)&255}function q(e,t,n,r,a,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function B(e,t,n,r,a){return a||q(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),$.write(e,t,n,r,23,4),n+4}function R(e,t,n,r,a){return a||q(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),$.write(e,t,n,r,52,8),n+8}function H(e){if(e=I(e).replace(te,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function I(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function U(e){return e<16?"0"+e.toString(16):e.toString(16)}function F(e,t){t=t||1/0;for(var n,r=e.length,a=null,o=[],i=0;i<r;++i){if(n=e.charCodeAt(i),n>55295&&n<57344){if(!a){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(i+1===r){(t-=3)>-1&&o.push(239,191,189);continue}a=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),a=n;continue}n=(a-55296<<10|n-56320)+65536}else a&&(t-=3)>-1&&o.push(239,191,189);if(a=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function X(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function V(e,t){for(var n,r,a,o=[],i=0;i<e.length&&!((t-=2)<0);++i)n=e.charCodeAt(i),r=n>>8,a=n%256,o.push(a),o.push(r);return o}function J(e){return Q.toByteArray(H(e))}function K(e,t,n,r){for(var a=0;a<r&&!(a+n>=t.length||a>=e.length);++a)t[a+n]=e[a];return a}function G(e){return e!==e}var Q=n(878),$=n(879),Z=n(880);t.Buffer=e,t.SlowBuffer=M,t.INSPECT_MAX_BYTES=50,e.TYPED_ARRAY_SUPPORT=void 0!==r.TYPED_ARRAY_SUPPORT?r.TYPED_ARRAY_SUPPORT:a(),t.kMaxLength=o(),e.poolSize=8192,e._augment=function(t){return t.__proto__=e.prototype,t},e.from=function(e,t,n){return s(null,e,t,n)},e.TYPED_ARRAY_SUPPORT&&(e.prototype.__proto__=Uint8Array.prototype,e.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&e[Symbol.species]===e&&Object.defineProperty(e,Symbol.species,{value:null,configurable:!0})),e.alloc=function(e,t,n){return u(null,e,t,n)},e.allocUnsafe=function(e){return l(null,e)},e.allocUnsafeSlow=function(e){return l(null,e)},e.isBuffer=function(e){return!(null==e||!e._isBuffer)},e.compare=function(t,n){if(!e.isBuffer(t)||!e.isBuffer(n))throw new TypeError("Arguments must be Buffers");if(t===n)return 0;for(var r=t.length,a=n.length,o=0,i=Math.min(r,a);o<i;++o)if(t[o]!==n[o]){r=t[o],a=n[o];break}return r<a?-1:a<r?1:0},e.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},e.concat=function(t,n){if(!Z(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return e.alloc(0);var r;if(void 0===n)for(n=0,r=0;r<t.length;++r)n+=t[r].length;var a=e.allocUnsafe(n),o=0;for(r=0;r<t.length;++r){var i=t[r];if(!e.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(a,o),o+=i.length}return a},e.byteLength=_,e.prototype._isBuffer=!0,e.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},e.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},e.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},e.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?k(this,0,e):v.apply(this,arguments)},e.prototype.equals=function(t){if(!e.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===e.compare(this,t)},e.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},e.prototype.compare=function(t,n,r,a,o){if(!e.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===n&&(n=0),void 0===r&&(r=t?t.length:0),void 0===a&&(a=0),void 0===o&&(o=this.length),n<0||r>t.length||a<0||o>this.length)throw new RangeError("out of range index");if(a>=o&&n>=r)return 0;if(a>=o)return-1;if(n>=r)return 1;if(n>>>=0,r>>>=0,a>>>=0,o>>>=0,this===t)return 0;for(var i=o-a,s=r-n,c=Math.min(i,s),u=this.slice(a,o),l=t.slice(n,r),d=0;d<c;++d)if(u[d]!==l[d]){i=u[d],s=l[d];break}return i<s?-1:s<i?1:0},e.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1},e.prototype.indexOf=function(e,t,n){return b(this,e,t,n,!0)},e.prototype.lastIndexOf=function(e,t,n){return b(this,e,t,n,!1)},e.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t=0|t,isFinite(n)?(n=0|n,void 0===r&&(r="utf8")):(r=n,n=void 0)}var a=this.length-t;if((void 0===n||n>a)&&(n=a),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return A(this,e,t,n);case"utf8":case"utf-8":return T(this,e,t,n);case"ascii":return L(this,e,t,n);case"latin1":case"binary":return E(this,e,t,n);case"base64":return w(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},e.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ee=4096;e.prototype.slice=function(t,n){var r=this.length;t=~~t,n=void 0===n?r:~~n,t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),n<0?(n+=r,n<0&&(n=0)):n>r&&(n=r),n<t&&(n=t);var a;if(e.TYPED_ARRAY_SUPPORT)a=this.subarray(t,n),a.__proto__=e.prototype;else{var o=n-t;a=new e(o,(void 0));for(var i=0;i<o;++i)a[i]=this[i+t]}return a},e.prototype.readUIntLE=function(e,t,n){e=0|e,t=0|t,n||x(e,t,this.length);for(var r=this[e],a=1,o=0;++o<t&&(a*=256);)r+=this[e+o]*a;return r},e.prototype.readUIntBE=function(e,t,n){e=0|e,t=0|t,n||x(e,t,this.length);for(var r=this[e+--t],a=1;t>0&&(a*=256);)r+=this[e+--t]*a;return r},e.prototype.readUInt8=function(e,t){return t||x(e,1,this.length),this[e]},e.prototype.readUInt16LE=function(e,t){return t||x(e,2,this.length),this[e]|this[e+1]<<8},e.prototype.readUInt16BE=function(e,t){return t||x(e,2,this.length),this[e]<<8|this[e+1]},e.prototype.readUInt32LE=function(e,t){return t||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},e.prototype.readUInt32BE=function(e,t){return t||x(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},e.prototype.readIntLE=function(e,t,n){e=0|e,t=0|t,n||x(e,t,this.length);for(var r=this[e],a=1,o=0;++o<t&&(a*=256);)r+=this[e+o]*a;return a*=128,r>=a&&(r-=Math.pow(2,8*t)),r},e.prototype.readIntBE=function(e,t,n){e=0|e,t=0|t,n||x(e,t,this.length);for(var r=t,a=1,o=this[e+--r];r>0&&(a*=256);)o+=this[e+--r]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*t)),o},e.prototype.readInt8=function(e,t){return t||x(e,1,this.length),128&this[e]?(255-this[e]+1)*-1:this[e]},e.prototype.readInt16LE=function(e,t){t||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},e.prototype.readInt16BE=function(e,t){t||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},e.prototype.readInt32LE=function(e,t){return t||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},e.prototype.readInt32BE=function(e,t){return t||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},e.prototype.readFloatLE=function(e,t){return t||x(e,4,this.length),$.read(this,e,!0,23,4)},e.prototype.readFloatBE=function(e,t){return t||x(e,4,this.length),$.read(this,e,!1,23,4)},e.prototype.readDoubleLE=function(e,t){return t||x(e,8,this.length),$.read(this,e,!0,52,8)},e.prototype.readDoubleBE=function(e,t){return t||x(e,8,this.length),$.read(this,e,!1,52,8)},e.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t=0|t,n=0|n,!r){var a=Math.pow(2,8*n)-1;j(this,e,t,n,a,0)}var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},e.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t=0|t,n=0|n,!r){var a=Math.pow(2,8*n)-1;j(this,e,t,n,a,0)}var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},e.prototype.writeUInt8=function(t,n,r){return t=+t,n=0|n,r||j(this,t,n,1,255,0),e.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[n]=255&t,n+1},e.prototype.writeUInt16LE=function(t,n,r){return t=+t,n=0|n,r||j(this,t,n,2,65535,0),e.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8):W(this,t,n,!0),n+2},e.prototype.writeUInt16BE=function(t,n,r){return t=+t,n=0|n,r||j(this,t,n,2,65535,0),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=255&t):W(this,t,n,!1),n+2},e.prototype.writeUInt32LE=function(t,n,r){return t=+t,n=0|n,r||j(this,t,n,4,4294967295,0),e.TYPED_ARRAY_SUPPORT?(this[n+3]=t>>>24,this[n+2]=t>>>16,this[n+1]=t>>>8,this[n]=255&t):Y(this,t,n,!0),n+4},e.prototype.writeUInt32BE=function(t,n,r){return t=+t,n=0|n,r||j(this,t,n,4,4294967295,0),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=255&t):Y(this,t,n,!1),n+4},e.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t=0|t,!r){var a=Math.pow(2,8*n-1);j(this,e,t,n,a-1,-a)}var o=0,i=1,s=0;for(this[t]=255&e;++o<n&&(i*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/i>>0)-s&255;return t+n},e.prototype.writeIntBE=function(e,t,n,r){
27
  if(e=+e,t=0|t,!r){var a=Math.pow(2,8*n-1);j(this,e,t,n,a-1,-a)}var o=n-1,i=1,s=0;for(this[t+o]=255&e;--o>=0&&(i*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/i>>0)-s&255;return t+n},e.prototype.writeInt8=function(t,n,r){return t=+t,n=0|n,r||j(this,t,n,1,127,-128),e.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[n]=255&t,n+1},e.prototype.writeInt16LE=function(t,n,r){return t=+t,n=0|n,r||j(this,t,n,2,32767,-32768),e.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8):W(this,t,n,!0),n+2},e.prototype.writeInt16BE=function(t,n,r){return t=+t,n=0|n,r||j(this,t,n,2,32767,-32768),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=255&t):W(this,t,n,!1),n+2},e.prototype.writeInt32LE=function(t,n,r){return t=+t,n=0|n,r||j(this,t,n,4,2147483647,-2147483648),e.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8,this[n+2]=t>>>16,this[n+3]=t>>>24):Y(this,t,n,!0),n+4},e.prototype.writeInt32BE=function(t,n,r){return t=+t,n=0|n,r||j(this,t,n,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=255&t):Y(this,t,n,!1),n+4},e.prototype.writeFloatLE=function(e,t,n){return B(this,e,t,!0,n)},e.prototype.writeFloatBE=function(e,t,n){return B(this,e,t,!1,n)},e.prototype.writeDoubleLE=function(e,t,n){return R(this,e,t,!0,n)},e.prototype.writeDoubleBE=function(e,t,n){return R(this,e,t,!1,n)},e.prototype.copy=function(t,n,r,a){if(r||(r=0),a||0===a||(a=this.length),n>=t.length&&(n=t.length),n||(n=0),a>0&&a<r&&(a=r),a===r)return 0;if(0===t.length||0===this.length)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),t.length-n<a-r&&(a=t.length-n+r);var o,i=a-r;if(this===t&&r<n&&n<a)for(o=i-1;o>=0;--o)t[o+n]=this[o+r];else if(i<1e3||!e.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)t[o+n]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+i),n);return i},e.prototype.fill=function(t,n,r,a){if("string"==typeof t){if("string"==typeof n?(a=n,n=0,r=this.length):"string"==typeof r&&(a=r,r=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==a&&"string"!=typeof a)throw new TypeError("encoding must be a string");if("string"==typeof a&&!e.isEncoding(a))throw new TypeError("Unknown encoding: "+a)}else"number"==typeof t&&(t=255&t);if(n<0||this.length<n||this.length<r)throw new RangeError("Out of range index");if(r<=n)return this;n>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0);var i;if("number"==typeof t)for(i=n;i<r;++i)this[i]=t;else{var s=e.isBuffer(t)?t:F(new e(t,a).toString()),c=s.length;for(i=0;i<r-n;++i)this[i+n]=s[i%c]}return this};var te=/[^+\/0-9A-Za-z-_]/g}).call(t,n(877).Buffer,function(){return this}())},function(e,t){"use strict";function n(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function r(e){return 3*e.length/4-n(e)}function a(e){var t,r,a,o,i,s,c=e.length;i=n(e),s=new l(3*c/4-i),a=i>0?c-4:c;var d=0;for(t=0,r=0;t<a;t+=4,r+=3)o=u[e.charCodeAt(t)]<<18|u[e.charCodeAt(t+1)]<<12|u[e.charCodeAt(t+2)]<<6|u[e.charCodeAt(t+3)],s[d++]=o>>16&255,s[d++]=o>>8&255,s[d++]=255&o;return 2===i?(o=u[e.charCodeAt(t)]<<2|u[e.charCodeAt(t+1)]>>4,s[d++]=255&o):1===i&&(o=u[e.charCodeAt(t)]<<10|u[e.charCodeAt(t+1)]<<4|u[e.charCodeAt(t+2)]>>2,s[d++]=o>>8&255,s[d++]=255&o),s}function o(e){return c[e>>18&63]+c[e>>12&63]+c[e>>6&63]+c[63&e]}function i(e,t,n){for(var r,a=[],i=t;i<n;i+=3)r=(e[i]<<16)+(e[i+1]<<8)+e[i+2],a.push(o(r));return a.join("")}function s(e){for(var t,n=e.length,r=n%3,a="",o=[],s=16383,u=0,l=n-r;u<l;u+=s)o.push(i(e,u,u+s>l?l:u+s));return 1===r?(t=e[n-1],a+=c[t>>2],a+=c[t<<4&63],a+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],a+=c[t>>10],a+=c[t>>4&63],a+=c[t<<2&63],a+="="),o.push(a),o.join("")}t.byteLength=r,t.toByteArray=a,t.fromByteArray=s;for(var c=[],u=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,f=d.length;p<f;++p)c[p]=d[p],u[d.charCodeAt(p)]=p;u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,a){var o,i,s=8*a-r-1,c=(1<<s)-1,u=c>>1,l=-7,d=n?a-1:0,p=n?-1:1,f=e[t+d];for(d+=p,o=f&(1<<-l)-1,f>>=-l,l+=s;l>0;o=256*o+e[t+d],d+=p,l-=8);for(i=o&(1<<-l)-1,o>>=-l,l+=r;l>0;i=256*i+e[t+d],d+=p,l-=8);if(0===o)o=1-u;else{if(o===c)return i?NaN:(f?-1:1)*(1/0);i+=Math.pow(2,r),o-=u}return(f?-1:1)*i*Math.pow(2,o-r)},t.write=function(e,t,n,r,a,o){var i,s,c,u=8*o-a-1,l=(1<<u)-1,d=l>>1,p=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,i=l):(i=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-i))<1&&(i--,c*=2),t+=i+d>=1?p/c:p*Math.pow(2,1-d),t*c>=2&&(i++,c/=2),i+d>=l?(s=0,i=l):i+d>=1?(s=(t*c-1)*Math.pow(2,a),i+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,a),i=0));a>=8;e[n+f]=255&s,f+=h,s/=256,a-=8);for(i=i<<a|s,u+=a;u>0;e[n+f]=255&i,f+=h,i/=256,u-=8);e[n+f-h]|=128*m}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){(function(t,r){!function(){var a=("undefined"==typeof window?t:window)||{};_crypto=a.crypto||a.msCrypto||n(882),e.exports=function(e){if(_crypto.getRandomValues){var t=new r(e);return _crypto.getRandomValues(t),t}if(_crypto.randomBytes)return _crypto.randomBytes(e);throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}}()}).call(t,function(){return this}(),n(877).Buffer)},function(e,t){},function(e,t,n){(function(t){function r(e){return function(){var n=[],r={update:function(e,r){return t.isBuffer(e)||(e=new t(e,r)),n.push(e),this},digest:function(r){var a=t.concat(n),o=e(a);return n=null,r?o.toString(r):o}};return r}}var a=n(884),o=r(n(892)),i=r(n(894));e.exports=function(e){return"md5"===e?new o:"rmd160"===e?new i:a(e)}}).call(t,n(877).Buffer)},function(e,t,n){var t=e.exports=function(e){var n=t[e];if(!n)throw new Error(e+" is not supported (we accept pull requests)");return new n},r=n(877).Buffer,a=n(885)(r);t.sha1=n(886)(r,a),t.sha256=n(890)(r,a),t.sha512=n(891)(r,a)},function(e,t){e.exports=function(e){function t(t,n){this._block=new e(t),this._finalSize=n,this._blockSize=t,this._len=0,this._s=0}return t.prototype.init=function(){this._s=0,this._len=0},t.prototype.update=function(t,n){"string"==typeof t&&(n=n||"utf8",t=new e(t,n));for(var r=this._len+=t.length,a=this._s=this._s||0,o=0,i=this._block;a<r;){for(var s=Math.min(t.length,o+this._blockSize-a%this._blockSize),c=s-o,u=0;u<c;u++)i[a%this._blockSize+u]=t[u+o];a+=c,o+=c,a%this._blockSize===0&&this._update(i)}return this._s=a,this},t.prototype.digest=function(e){var t=8*this._len;this._block[this._len%this._blockSize]=128,this._block.fill(0,this._len%this._blockSize+1),t%(8*this._blockSize)>=8*this._finalSize&&(this._update(this._block),this._block.fill(0)),this._block.writeInt32BE(t,this._blockSize-4);var n=this._update(this._block)||this._hash();return e?n.toString(e):n},t.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t}},function(e,t,n){var r=n(887).inherits;e.exports=function(e,t){function n(){return h.length?h.pop().init():this instanceof n?(this._w=f,t.call(this,64,56),this._h=null,void this.init()):new n}function a(e,t,n,r){return e<20?t&n|~t&r:e<40?t^n^r:e<60?t&n|t&r|n&r:t^n^r}function o(e){return e<20?1518500249:e<40?1859775393:e<60?-1894007588:-899497514}function i(e,t){return e+t|0}function s(e,t){return e<<t|e>>>32-t}var c=0,u=4,l=8,d=12,p=16,f=new("undefined"==typeof Int32Array?Array:Int32Array)(80),h=[];return r(n,t),n.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,t.prototype.init.call(this),this},n.prototype._POOL=h,n.prototype._update=function(e){var t,n,r,c,u,l,d,p,f,h;t=l=this._a,n=d=this._b,r=p=this._c,c=f=this._d,u=h=this._e;for(var m=this._w,M=0;M<80;M++){var _=m[M]=M<16?e.readInt32BE(4*M):s(m[M-3]^m[M-8]^m[M-14]^m[M-16],1),v=i(i(s(t,5),a(M,n,r,c)),i(i(u,_),o(M)));u=c,c=r,r=s(n,30),n=t,t=v}this._a=i(t,l),this._b=i(n,d),this._c=i(r,p),this._d=i(c,f),this._e=i(u,h)},n.prototype._hash=function(){h.length<100&&h.push(this);var t=new e(20);return t.writeInt32BE(0|this._a,c),t.writeInt32BE(0|this._b,u),t.writeInt32BE(0|this._c,l),t.writeInt32BE(0|this._d,d),t.writeInt32BE(0|this._e,p),t},n}},function(e,t,n){(function(e,r){function a(e,n){var r={seen:[],stylize:i};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(n)?r.showHidden=n:n&&t._extend(r,n),y(r.showHidden)&&(r.showHidden=!1),y(r.depth)&&(r.depth=2),y(r.colors)&&(r.colors=!1),y(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=o),c(r,e,r.depth)}function o(e,t){var n=a.styles[t];return n?"["+a.colors[n][0]+"m"+e+"["+a.colors[n][1]+"m":e}function i(e,t){return e}function s(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function c(e,n,r){if(e.customInspect&&n&&w(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var a=n.inspect(r,e);return g(a)||(a=c(e,a,r)),a}var o=u(e,n);if(o)return o;var i=Object.keys(n),m=s(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(n)),E(n)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return l(n);if(0===i.length){if(w(n)){var M=n.name?": "+n.name:"";return e.stylize("[Function"+M+"]","special")}if(A(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(L(n))return e.stylize(Date.prototype.toString.call(n),"date");if(E(n))return l(n)}var _="",v=!1,b=["{","}"];if(h(n)&&(v=!0,b=["[","]"]),w(n)){var y=n.name?": "+n.name:"";_=" [Function"+y+"]"}if(A(n)&&(_=" "+RegExp.prototype.toString.call(n)),L(n)&&(_=" "+Date.prototype.toUTCString.call(n)),E(n)&&(_=" "+l(n)),0===i.length&&(!v||0==n.length))return b[0]+_+b[1];if(r<0)return A(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special");e.seen.push(n);var T;return T=v?d(e,n,r,m,i):i.map(function(t){return p(e,n,r,m,t,v)}),e.seen.pop(),f(T,_,b)}function u(e,t){if(y(t))return e.stylize("undefined","undefined");if(g(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return v(t)?e.stylize(""+t,"number"):m(t)?e.stylize(""+t,"boolean"):M(t)?e.stylize("null","null"):void 0}function l(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,n,r,a){for(var o=[],i=0,s=t.length;i<s;++i)N(t,String(i))?o.push(p(e,t,n,r,String(i),!0)):o.push("");return a.forEach(function(a){a.match(/^\d+$/)||o.push(p(e,t,n,r,a,!0))}),o}function p(e,t,n,r,a,o){var i,s,u;if(u=Object.getOwnPropertyDescriptor(t,a)||{value:t[a]},u.get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),N(r,a)||(i="["+a+"]"),s||(e.seen.indexOf(u.value)<0?(s=M(n)?c(e,u.value,null):c(e,u.value,n-1),s.indexOf("\n")>-1&&(s=o?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n"))):s=e.stylize("[Circular]","special")),y(i)){if(o&&a.match(/^\d+$/))return s;i=JSON.stringify(""+a),i.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.substr(1,i.length-2),i=e.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=e.stylize(i,"string"))}return i+": "+s}function f(e,t,n){var r=0,a=e.reduce(function(e,t){return r++,t.indexOf("\n")>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return a>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function h(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function M(e){return null===e}function _(e){return null==e}function v(e){return"number"==typeof e}function g(e){return"string"==typeof e}function b(e){return"symbol"==typeof e}function y(e){return void 0===e}function A(e){return T(e)&&"[object RegExp]"===S(e)}function T(e){return"object"==typeof e&&null!==e}function L(e){return T(e)&&"[object Date]"===S(e)}function E(e){return T(e)&&("[object Error]"===S(e)||e instanceof Error)}function w(e){return"function"==typeof e}function z(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function S(e){return Object.prototype.toString.call(e)}function k(e){return e<10?"0"+e.toString(10):e.toString(10)}function O(){var e=new Date,t=[k(e.getHours()),k(e.getMinutes()),k(e.getSeconds())].join(":");return[e.getDate(),x[e.getMonth()],t].join(" ")}function N(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var C=/%[sdj%]/g;t.format=function(e){if(!g(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(a(arguments[n]));return t.join(" ")}for(var n=1,r=arguments,o=r.length,i=String(e).replace(C,function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),s=r[n];n<o;s=r[++n])i+=M(s)||!T(s)?" "+s:" "+a(s);return i},t.deprecate=function(n,a){function o(){if(!i){if(r.throwDeprecation)throw new Error(a);r.traceDeprecation?console.trace(a):console.error(a),i=!0}return n.apply(this,arguments)}if(y(e.process))return function(){return t.deprecate(n,a).apply(this,arguments)};if(r.noDeprecation===!0)return n;var i=!1;return o};var D,P={};t.debuglog=function(e){if(y(D)&&(D={NODE_ENV:"production"}.NODE_DEBUG||""),e=e.toUpperCase(),!P[e])if(new RegExp("\\b"+e+"\\b","i").test(D)){var n=r.pid;P[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else P[e]=function(){};return P[e]},t.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=h,t.isBoolean=m,t.isNull=M,t.isNullOrUndefined=_,t.isNumber=v,t.isString=g,t.isSymbol=b,t.isUndefined=y,t.isRegExp=A,t.isObject=T,t.isDate=L,t.isError=E,t.isFunction=w,t.isPrimitive=z,t.isBuffer=n(888);var x=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];t.log=function(){console.log("%s - %s",O(),t.format.apply(t,arguments))},t.inherits=n(889),t._extend=function(e,t){if(!t||!T(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(t,function(){return this}(),n(444))},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){var r=n(887).inherits;e.exports=function(e,t){function n(){this.init(),this._w=f,t.call(this,64,56)}function a(e,t){return e>>>t|e<<32-t}function o(e,t){return e>>>t}function i(e,t,n){return e&t^~e&n}function s(e,t,n){return e&t^e&n^t&n}function c(e){return a(e,2)^a(e,13)^a(e,22)}function u(e){return a(e,6)^a(e,11)^a(e,25)}function l(e){return a(e,7)^a(e,18)^o(e,3)}function d(e){return a(e,17)^a(e,19)^o(e,10)}var p=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],f=new Array(64);return r(n,t),n.prototype.init=function(){return this._a=1779033703,this._b=-1150833019,this._c=1013904242,this._d=-1521486534,this._e=1359893119,this._f=-1694144372,this._g=528734635,this._h=1541459225,this._len=this._s=0,this},n.prototype._update=function(e){var t,n,r,a,o,f,h,m,M,_,v=this._w;t=0|this._a,n=0|this._b,r=0|this._c,a=0|this._d,o=0|this._e,f=0|this._f,h=0|this._g,m=0|this._h;for(var g=0;g<64;g++){var b=v[g]=g<16?e.readInt32BE(4*g):d(v[g-2])+v[g-7]+l(v[g-15])+v[g-16];M=m+u(o)+i(o,f,h)+p[g]+b,_=c(t)+s(t,n,r),m=h,h=f,f=o,o=a+M,a=r,r=n,n=t,t=M+_}this._a=t+this._a|0,this._b=n+this._b|0,this._c=r+this._c|0,this._d=a+this._d|0,this._e=o+this._e|0,this._f=f+this._f|0,this._g=h+this._g|0,this._h=m+this._h|0},n.prototype._hash=function(){var t=new e(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},n}},function(e,t,n){var r=n(887).inherits;e.exports=function(e,t){function n(){this.init(),this._w=c,t.call(this,128,112)}function a(e,t,n){return e>>>n|t<<32-n}function o(e,t,n){return e&t^~e&n}function i(e,t,n){return e&t^e&n^t&n}var s=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],c=new Array(160);return r(n,t),n.prototype.init=function(){return this._a=1779033703,this._b=-1150833019,this._c=1013904242,this._d=-1521486534,this._e=1359893119,this._f=-1694144372,this._g=528734635,this._h=1541459225,this._al=-205731576,this._bl=-2067093701,this._cl=-23791573,this._dl=1595750129,this._el=-1377402159,this._fl=725511199,this._gl=-79577749,this._hl=327033209,this._len=this._s=0,this},n.prototype._update=function(e){var t,n,r,c,u,l,d,p,f,h,m,M,_,v,g,b,y=this._w;t=0|this._a,n=0|this._b,r=0|this._c,c=0|this._d,u=0|this._e,l=0|this._f,d=0|this._g,p=0|this._h,f=0|this._al,h=0|this._bl,m=0|this._cl,M=0|this._dl,_=0|this._el,v=0|this._fl,g=0|this._gl,b=0|this._hl;for(var A=0;A<80;A++){var T,L,E=2*A;if(A<16)T=y[E]=e.readInt32BE(4*E),L=y[E+1]=e.readInt32BE(4*E+4);else{var w=y[E-30],z=y[E-30+1],S=a(w,z,1)^a(w,z,8)^w>>>7,k=a(z,w,1)^a(z,w,8)^a(z,w,7);w=y[E-4],z=y[E-4+1];var O=a(w,z,19)^a(z,w,29)^w>>>6,N=a(z,w,19)^a(w,z,29)^a(z,w,6),C=y[E-14],D=y[E-14+1],P=y[E-32],x=y[E-32+1];L=k+D,T=S+C+(L>>>0<k>>>0?1:0),L+=N,T=T+O+(L>>>0<N>>>0?1:0),L+=x,T=T+P+(L>>>0<x>>>0?1:0),y[E]=T,y[E+1]=L}var j=i(t,n,r),W=i(f,h,m),Y=a(t,f,28)^a(f,t,2)^a(f,t,7),q=a(f,t,28)^a(t,f,2)^a(t,f,7),B=a(u,_,14)^a(u,_,18)^a(_,u,9),R=a(_,u,14)^a(_,u,18)^a(u,_,9),H=s[E],I=s[E+1],U=o(u,l,d),F=o(_,v,g),X=b+R,V=p+B+(X>>>0<b>>>0?1:0);X+=F,V=V+U+(X>>>0<F>>>0?1:0),X+=I,V=V+H+(X>>>0<I>>>0?1:0),X+=L,V=V+T+(X>>>0<L>>>0?1:0);var J=q+W,K=Y+j+(J>>>0<q>>>0?1:0);p=d,b=g,d=l,g=v,l=u,v=_,_=M+X|0,u=c+V+(_>>>0<M>>>0?1:0)|0,c=r,M=m,r=n,m=h,n=t,h=f,f=X+J|0,t=V+K+(f>>>0<X>>>0?1:0)|0}this._al=this._al+f|0,this._bl=this._bl+h|0,this._cl=this._cl+m|0,this._dl=this._dl+M|0,this._el=this._el+_|0,this._fl=this._fl+v|0,this._gl=this._gl+g|0,this._hl=this._hl+b|0,this._a=this._a+t+(this._al>>>0<f>>>0?1:0)|0,this._b=this._b+n+(this._bl>>>0<h>>>0?1:0)|0,this._c=this._c+r+(this._cl>>>0<m>>>0?1:0)|0,this._d=this._d+c+(this._dl>>>0<M>>>0?1:0)|0,this._e=this._e+u+(this._el>>>0<_>>>0?1:0)|0,this._f=this._f+l+(this._fl>>>0<v>>>0?1:0)|0,this._g=this._g+d+(this._gl>>>0<g>>>0?1:0)|0,this._h=this._h+p+(this._hl>>>0<b>>>0?1:0)|0},n.prototype._hash=function(){function t(e,t,r){n.writeInt32BE(e,r),n.writeInt32BE(t,r+4)}var n=new e(64);return t(this._a,this._al,0),t(this._b,this._bl,8),t(this._c,this._cl,16),t(this._d,this._dl,24),t(this._e,this._el,32),t(this._f,this._fl,40),t(this._g,this._gl,48),t(this._h,this._hl,56),n},n}},function(e,t,n){function r(e,t){e[t>>5]|=128<<t%32,e[(t+64>>>9<<4)+14]=t;for(var n=1732584193,r=-271733879,a=-1732584194,l=271733878,d=0;d<e.length;d+=16){var p=n,f=r,h=a,m=l;n=o(n,r,a,l,e[d+0],7,-680876936),l=o(l,n,r,a,e[d+1],12,-389564586),a=o(a,l,n,r,e[d+2],17,606105819),r=o(r,a,l,n,e[d+3],22,-1044525330),n=o(n,r,a,l,e[d+4],7,-176418897),l=o(l,n,r,a,e[d+5],12,1200080426),a=o(a,l,n,r,e[d+6],17,-1473231341),r=o(r,a,l,n,e[d+7],22,-45705983),n=o(n,r,a,l,e[d+8],7,1770035416),l=o(l,n,r,a,e[d+9],12,-1958414417),a=o(a,l,n,r,e[d+10],17,-42063),r=o(r,a,l,n,e[d+11],22,-1990404162),n=o(n,r,a,l,e[d+12],7,1804603682),l=o(l,n,r,a,e[d+13],12,-40341101),a=o(a,l,n,r,e[d+14],17,-1502002290),r=o(r,a,l,n,e[d+15],22,1236535329),n=i(n,r,a,l,e[d+1],5,-165796510),l=i(l,n,r,a,e[d+6],9,-1069501632),a=i(a,l,n,r,e[d+11],14,643717713),r=i(r,a,l,n,e[d+0],20,-373897302),n=i(n,r,a,l,e[d+5],5,-701558691),l=i(l,n,r,a,e[d+10],9,38016083),a=i(a,l,n,r,e[d+15],14,-660478335),r=i(r,a,l,n,e[d+4],20,-405537848),n=i(n,r,a,l,e[d+9],5,568446438),l=i(l,n,r,a,e[d+14],9,-1019803690),a=i(a,l,n,r,e[d+3],14,-187363961),r=i(r,a,l,n,e[d+8],20,1163531501),n=i(n,r,a,l,e[d+13],5,-1444681467),l=i(l,n,r,a,e[d+2],9,-51403784),a=i(a,l,n,r,e[d+7],14,1735328473),r=i(r,a,l,n,e[d+12],20,-1926607734),n=s(n,r,a,l,e[d+5],4,-378558),l=s(l,n,r,a,e[d+8],11,-2022574463),a=s(a,l,n,r,e[d+11],16,1839030562),r=s(r,a,l,n,e[d+14],23,-35309556),n=s(n,r,a,l,e[d+1],4,-1530992060),l=s(l,n,r,a,e[d+4],11,1272893353),a=s(a,l,n,r,e[d+7],16,-155497632),r=s(r,a,l,n,e[d+10],23,-1094730640),n=s(n,r,a,l,e[d+13],4,681279174),l=s(l,n,r,a,e[d+0],11,-358537222),a=s(a,l,n,r,e[d+3],16,-722521979),r=s(r,a,l,n,e[d+6],23,76029189),n=s(n,r,a,l,e[d+9],4,-640364487),l=s(l,n,r,a,e[d+12],11,-421815835),a=s(a,l,n,r,e[d+15],16,530742520),r=s(r,a,l,n,e[d+2],23,-995338651),n=c(n,r,a,l,e[d+0],6,-198630844),l=c(l,n,r,a,e[d+7],10,1126891415),a=c(a,l,n,r,e[d+14],15,-1416354905),r=c(r,a,l,n,e[d+5],21,-57434055),n=c(n,r,a,l,e[d+12],6,1700485571),l=c(l,n,r,a,e[d+3],10,-1894986606),a=c(a,l,n,r,e[d+10],15,-1051523),r=c(r,a,l,n,e[d+1],21,-2054922799),n=c(n,r,a,l,e[d+8],6,1873313359),l=c(l,n,r,a,e[d+15],10,-30611744),a=c(a,l,n,r,e[d+6],15,-1560198380),r=c(r,a,l,n,e[d+13],21,1309151649),n=c(n,r,a,l,e[d+4],6,-145523070),l=c(l,n,r,a,e[d+11],10,-1120210379),a=c(a,l,n,r,e[d+2],15,718787259),r=c(r,a,l,n,e[d+9],21,-343485551),n=u(n,p),r=u(r,f),a=u(a,h),l=u(l,m)}return Array(n,r,a,l)}function a(e,t,n,r,a,o){return u(l(u(u(t,e),u(r,o)),a),n)}function o(e,t,n,r,o,i,s){return a(t&n|~t&r,e,t,o,i,s)}function i(e,t,n,r,o,i,s){return a(t&r|n&~r,e,t,o,i,s)}function s(e,t,n,r,o,i,s){return a(t^n^r,e,t,o,i,s)}function c(e,t,n,r,o,i,s){return a(n^(t|~r),e,t,o,i,s)}function u(e,t){var n=(65535&e)+(65535&t),r=(e>>16)+(t>>16)+(n>>16);return r<<16|65535&n}function l(e,t){return e<<t|e>>>32-t}var d=n(893);e.exports=function(e){return d.hash(e,r,16)}},function(e,t,n){(function(t){function n(e,n){if(e.length%o!==0){var r=e.length+(o-e.length%o);e=t.concat([e,i],r)}for(var a=[],s=n?e.readInt32BE:e.readInt32LE,c=0;c<e.length;c+=o)a.push(s.call(e,c));return a}function r(e,n,r){for(var a=new t(n),o=r?a.writeInt32BE:a.writeInt32LE,i=0;i<e.length;i++)o.call(a,e[i],4*i,!0);return a}function a(e,a,o,i){t.isBuffer(e)||(e=new t(e));var c=a(n(e,i),e.length*s);return r(c,o,i)}var o=4,i=new t(o);i.fill(0);var s=8;e.exports={hash:a}}).call(t,n(877).Buffer)},function(e,t,n){(function(t){function n(e,t,n){return e^t^n}function r(e,t,n){return e&t|~e&n}function a(e,t,n){return(e|~t)^n}function o(e,t,n){return e&n|t&~n}function i(e,t,n){return e^(t|~n)}function s(e,t){return e<<t|e>>>32-t}function c(e){var n=[1732584193,4023233417,2562383102,271733878,3285377520];"string"==typeof e&&(e=new t(e,"utf8"));var r=m(e),a=8*e.length,o=8*e.length;r[a>>>5]|=128<<24-a%32,r[(a+64>>>9<<4)+14]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8);for(var i=0;i<r.length;i+=16)_(n,r,i);for(var i=0;i<5;i++){var s=n[i];n[i]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}var c=M(n);return new t(c)}e.exports=c;var u=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],l=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],d=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],p=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],f=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0],m=function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},M=function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},_=function(e,t,c){for(var m=0;m<16;m++){var M=c+m,_=t[M];t[M]=16711935&(_<<8|_>>>24)|4278255360&(_<<24|_>>>8)}var v,g,b,y,A,T,L,E,w,z;T=v=e[0],L=g=e[1],E=b=e[2],w=y=e[3],z=A=e[4];for(var S,m=0;m<80;m+=1)S=v+t[c+u[m]]|0,S+=m<16?n(g,b,y)+f[0]:m<32?r(g,b,y)+f[1]:m<48?a(g,b,y)+f[2]:m<64?o(g,b,y)+f[3]:i(g,b,y)+f[4],S=0|S,S=s(S,d[m]),S=S+A|0,v=A,A=y,y=s(b,10),b=g,g=S,S=T+t[c+l[m]]|0,S+=m<16?i(L,E,w)+h[0]:m<32?o(L,E,w)+h[1]:m<48?a(L,E,w)+h[2]:m<64?r(L,E,w)+h[3]:n(L,E,w)+h[4],S=0|S,S=s(S,p[m]),S=S+z|0,T=z,z=w,w=s(E,10),E=L,L=S;S=e[1]+b+w|0,e[1]=e[2]+y+z|0,e[2]=e[3]+A+T|0,e[3]=e[4]+v+L|0,e[4]=e[0]+g+E|0,e[0]=S}}).call(t,n(877).Buffer)},function(e,t,n){(function(t){function r(e,n){if(!(this instanceof r))return new r(e,n);this._opad=c,this._alg=e;var i="sha512"===e?128:64;n=this._key=t.isBuffer(n)?n:new t(n),n.length>i?n=a(e).update(n).digest():n.length<i&&(n=t.concat([n,o],i));for(var s=this._ipad=new t(i),c=this._opad=new t(i),u=0;u<i;u++)s[u]=54^n[u],c[u]=92^n[u];this._hash=a(e).update(s)}var a=n(883),o=new t(128);o.fill(0),e.exports=r,r.prototype.update=function(e,t){return this._hash.update(e,t),this},r.prototype.digest=function(e){var t=this._hash.digest();return a(this._alg).update(this._opad).update(t).digest(e)}}).call(t,n(877).Buffer)},function(e,t,n){var r=n(897);e.exports=function(e,t){t=t||{};var n=r(e);return t.pbkdf2=n.pbkdf2,t.pbkdf2Sync=n.pbkdf2Sync,t}},function(e,t,n){(function(t){e.exports=function(e){function n(e,t,n,a,o,i){if("function"==typeof o&&(i=o,o=void 0),"function"!=typeof i)throw new Error("No callback provided to pbkdf2");setTimeout(function(){var s;try{s=r(e,t,n,a,o)}catch(e){return i(e)}i(void 0,s)})}function r(n,r,a,o,i){if("number"!=typeof a)throw new TypeError("Iterations not a number");if(a<0)throw new TypeError("Bad iterations");if("number"!=typeof o)throw new TypeError("Key length not a number");if(o<0)throw new TypeError("Bad key length");i=i||"sha1",t.isBuffer(n)||(n=new t(n)),t.isBuffer(r)||(r=new t(r));var s,c,u,l=1,d=new t(o),p=new t(r.length+4);r.copy(p,0,0,r.length);for(var f=1;f<=l;f++){p.writeUInt32BE(f,r.length);var h=e.createHmac(i,n).update(p).digest();if(!s&&(s=h.length,u=new t(s),l=Math.ceil(o/s),c=o-(l-1)*s,o>(Math.pow(2,32)-1)*s))throw new TypeError("keylen exceeds maximum length");h.copy(u,0,0,s);for(var m=1;m<a;m++){h=e.createHmac(i,n).update(h).digest();for(var M=0;M<s;M++)u[M]^=h[M]}var _=(f-1)*s,v=f==l?c:s;u.copy(d,_,0,v)}return d}return{pbkdf2:n,pbkdf2Sync:r}}}).call(t,n(877).Buffer)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),o=r(a),i=n(142),s=r(i),c=n(154);t.default=s.default.createClass({displayName:"RootChild",propTypes:{children:i.PropTypes.node},contextTypes:{store:i.PropTypes.object},componentDidMount:function(){this.container=document.createElement("div"),document.body.appendChild(this.container),this.renderChildren()},componentDidUpdate:function(){this.renderChildren()},componentWillUnmount:function(){this.container&&(o.default.unmountComponentAtNode(this.container),document.body.removeChild(this.container),delete this.container)},renderChildren:function(){var e;e=this.props&&(Object.keys(this.props).length>1||!this.props.children)?s.default.createElement("div",this.props,this.props.children):this.props.children,this.context.store&&(e=s.default.createElement(c.Provider,{store:this.context.store},e)),o.default.render(e,this.container)},render:function(){return null}}),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(){var e={};return e.top=window.scrollY,e.left=window.scrollX,e.width=window.innerWidth,e.height=window.innerHeight,e.right=e.left+e.width,e.bottom=e.top+e.height,M("viewport: %o",e),e}function o(){g=a()}function i(e,t){for(var n=[e,_[e],v[e],_[v[e]]],r=-(1/0),a=void 0,o=0,i=n.length;o<i;o++){var s=n[o],c=t[s];if(c>0)return s;c>r&&(r=c,a=e)}return a}function s(e,t,n,r,a,o){for(var i=t?[e+" "+t,e,e+" "+_[t]]:[e,e+" "+v[e],e+" "+_[v[e]]],s=void 0,u=0,l=a*o,d=0,p=i.length;d<p;d++){var f=i[d],h=c(f,n,r),m=h.left+a,M=h.top+o,b=Math.min(h.top<g.top?M-g.top:g.bottom-h.top,o),y=Math.min(h.left<g.left?m-g.left:g.right-h.left,a),A=y*b;if(A===l)return f;A>u&&(u=A,s=f)}return s}function c(e,t,n){var r=15,a=(0,f.default)(t);if(!a)throw new Error("could not get bounding client rect of Tip element");var o=a.width,i=a.height,s=(0,f.default)(n);if(!s)throw new Error("could not get bounding client rect of `target`");var c=s.width,l=s.height,d=u(s,document);if(!d)throw new Error("could not determine page offset of `target`");var p={};switch(e){case"top":p={top:d.top-i,left:d.left+c/2-o/2};break;case"bottom":p={top:d.top+l,left:d.left+c/2-o/2};break;case"right":p={top:d.top+l/2-i/2,left:d.left+c};break;case"left":p={top:d.top+l/2-i/2,left:d.left-o};break;case"top left":p={top:d.top-i,left:d.left+c/2-o+r};break;case"top right":p={top:d.top-i,left:d.left+c/2-r};break;case"bottom left":p={top:d.top+l,left:d.left+c/2-o+r};break;case"bottom right":p={top:d.top+l,left:d.left+c/2-r};break;case"left top":p={top:d.top+l/2-i,left:d.left-o};break;case"left bottom":p={top:d.top+l/2,left:d.left-o};break;case"right top":p={top:d.top+l/2-i,left:d.left+c};break;case"right bottom":p={top:d.top+l/2,left:d.left+c};break;default:throw new Error('invalid position "'+e+'"');
28
+ }return p}function u(e,t){var n=t.body||t.getElementsByTagName("body")[0],r=t.documentElement||n.parentNode,a=r.clientTop||n.clientTop||0,o=r.clientLeft||n.clientLeft||0,i=window.pageYOffset||r.scrollTop,s=window.pageXOffset||r.scrollLeft;return{top:e.top+i-a,left:e.left+s-o}}Object.defineProperty(t,"__esModule",{value:!0}),t.isElement=t.offset=t.suggested=t.unbindWindowListeners=t.bindWindowListeners=t.constrainLeft=void 0;var 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},d=function(){function e(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(a)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),p=n(900),f=r(p),h=n(468),m=r(h),M=(0,m.default)("calypso:popover:util"),_={top:"bottom",bottom:"top",left:"right",right:"left"},v={top:"right",left:"top",bottom:"left",right:"bottom"},g=a(),b=!1,y=function(){return b?M("window events already bound"):(b=!0,M("bind handlers to `resize` and `scroll` events"),window.addEventListener("resize",o,!0),void window.addEventListener("scroll",o,!0))},A=function(){return b?(b=!1,M("unbind handlers to `resize` and `scroll` events"),window.removeEventListener("resize",o,!0),void window.removeEventListener("scroll",o,!0)):M("window events are not bound")},T=function(e,t,n){var r=(0,f.default)(n),a=t.clientHeight,o=t.clientWidth,c={top:r.top-a,bottom:g.height-r.bottom-a,left:r.left-o,right:g.width-r.right-o},u=e.split(/\s+/),l=d(u,1),p=l[0],h=d(u,2),m=h[1],M=i(p,c);return m!==M&&m!==_[M]||(m=null),s(M,m,t,n,o,a)||e},L=function(e,t){var n=(0,f.default)(t).width;return e.left=Math.max(0,Math.min(e.left,g.width-n)),e},E=function(e){try{return e instanceof HTMLElement}catch(t){return"object"===("undefined"==typeof e?"undefined":l(e))&&1===e.nodeType&&"object"===l(e.style)&&"object"===l(e.ownerDocument)}};t.constrainLeft=L,t.bindWindowListeners=y,t.unbindWindowListeners=A,t.suggested=T,t.offset=c,t.isElement=E},function(e,t,n){function r(e){var t=null,n=a(e);if(3===e.nodeType){var r=n.createRange();r.selectNodeContents(e),e=r}if("function"==typeof e.getBoundingClientRect&&(t=e.getBoundingClientRect(),e.startContainer&&0===t.left&&0===t.top)){var o=n.createElement("span");o.appendChild(n.createTextNode("​")),e.insertNode(o),t=o.getBoundingClientRect();var i=o.parentNode;i.removeChild(o),i.normalize()}return t}var a=n(901);e.exports=r},function(e,t){function n(e){return e&&e.nodeType===a}function r(e){return n(e)?e:n(e.ownerDocument)?e.ownerDocument:n(e.document)?e.document:e.parentNode?r(e.parentNode):e.commonAncestorContainer?r(e.commonAncestorContainer):e.startContainer?r(e.startContainer):e.anchorNode?r(e.anchorNode):void 0}e.exports=r;var a=9},function(e,t){},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(142),u=r(c),l=n(747),d=r(l),p=n(869),f=r(p),h=n(803),m=r(h);n(905);var M=function(){},_=function(e){function t(){return a(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){if(!this.props.showOnMobile&&m.default.isMobile())return null;var e=(0,d.default)("dops-popover","dops-tooltip","is-"+this.props.position,this.props.className);return u.default.createElement(f.default,{autoPosition:this.props.autoPosition,className:e,rootClassName:this.props.rootClassName,context:this.props.context,id:this.props.id,isVisible:this.props.isVisible,onClose:M,position:this.props.position,showDelay:this.props.showDelay},this.props.children)}}]),t}(c.Component);_.propTypes={autoPosition:c.PropTypes.bool,className:c.PropTypes.string,id:c.PropTypes.string,isVisible:c.PropTypes.bool,position:c.PropTypes.string,rootClassName:c.PropTypes.string,status:c.PropTypes.string,showDelay:c.PropTypes.number,showOnMobile:c.PropTypes.bool},_.defaultProps={showDelay:100,position:"top",showOnMobile:!1},t.default=_,e.exports=t.default},function(e,t){},,function(e,t,n){"use strict";var r=n(142),a=n(866),o=n(908);e.exports=r.createClass({displayName:"ModuleChartXAxis",propTypes:{labelWidth:r.PropTypes.number.isRequired,data:r.PropTypes.array.isRequired},getInitialState:function(){return{divisor:1,spacing:this.props.labelWidth}},componentDidMount:function(){this.resizeThrottled=a(this.resize,400),window.addEventListener("resize",this.resizeThrottled),this.resize()},componentWillUnmount:function(){this.resizeThrottled.cancel&&this.resizeThrottled.cancel(),window.removeEventListener("resize",this.resizeThrottled)},componentWillReceiveProps:function(e){this.resize(e)},resize:function(e){if(this.isMounted()){var t,n,r,a,o,i,s=this.props;t=this.refs.axis,!e||e instanceof Event||(s=e),t.style.overflow="hidden",n=t.clientWidth,t.style.overflow="visible",r=s.data.length||1,a=n/r,o=s.labelWidth,i=Math.ceil(o/a),this.setState({divisor:i,spacing:a})}},render:function(){var e,t=this.props.data;return e=t.map(function(e,n){var a,i=n*this.state.spacing+(this.state.spacing-this.props.labelWidth)/2,s=t.length-n-1;return s%this.state.divisor===0&&(a=r.createElement(o,{key:n,label:e.label,width:this.props.labelWidth,x:i})),a},this),r.createElement("div",{ref:"axis",className:"dops-chart__x-axis"},e)}})},function(e,t,n){"use strict";var r=n(142);e.exports=r.createClass({displayName:"ModuleChartLabel",propTypes:{width:r.PropTypes.number.isRequired,x:r.PropTypes.number.isRequired,label:r.PropTypes.string.isRequired},render:function(){var e,t="left";return e={width:this.props.width+"px"},e[t]=this.props.x+"px",r.createElement("div",{className:"dops-chart__x-axis-label",style:e},this.props.label)}})},function(e,t){"use strict";e.exports={hasTouch:function(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch}}},function(e,t){},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(841),o=r(a),i=n(844),s=r(i),c=n(845),u=r(c),l=n(846),d=r(l),p=n(847),f=r(p),h=n(142),m=n(154),M=n(436),_=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,o.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentWillMount",value:function(){this.props.fetchingStatsData||this.props.fetchStatsData(this.props.range)}},{key:"render",value:function(){return null}}]),t}(h.Component);_.defaultProps={fetchStatsData:function(){}},t.default=(0,m.connect)(function(e){return{fetchStatsData:function(t){return(0,M.fetchStatsData)(e,t)},fetchingStatsData:(0,M.isFetchingStatsData)(e)}},function(e){return{fetchStatsData:function(t){return e((0,M.fetchStatsData)(t))}}})(_),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(266),o=r(a),i=n(142),s=r(i),c=n(837),u=r(c),l=n(656),d=r(l),p=n(466),f=s.default.createClass({displayName:"DashStatsBottom",statsBottom:function(){var e=void 0;return e="object"===(0,o.default)(this.props.statsData.general)?this.props.statsData.general.stats:{views:"-",comments:"-",views_today:"-",views_best_day:"-",views_best_day_total:"-"},[{viewsToday:e.views_today,bestDay:{day:e.views_best_day,count:e.views_best_day_total},allTime:{views:e.views,comments:e.comments}}]},render:function(){var e=this.statsBottom()[0];return s.default.createElement("div",null,s.default.createElement("div",{className:"jp-at-a-glance__stats-summary"},s.default.createElement("div",{className:"jp-at-a-glance__stats-summary-today"},s.default.createElement("p",{className:"jp-at-a-glance__stat-details"},(0,p.translate)("Views today",{comment:"Referring to a number of page views"})),s.default.createElement("h3",{className:"jp-at-a-glance__stat-number"},e.viewsToday)),s.default.createElement("div",{className:"jp-at-a-glance__stats-summary-bestday"},s.default.createElement("p",{className:"jp-at-a-glance__stat-details"},(0,p.translate)("Best overall day",{comment:"Referring to a number of page views"})),s.default.createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.bestDay.count?"-":(0,p.translate)("%(number)s View","%(number)s Views",{count:e.bestDay.count,args:{number:(0,p.numberFormat)(e.bestDay.count)}})),s.default.createElement("p",{className:"jp-at-a-glance__stat-details"},"-"===e.bestDay.day?"-":(0,p.moment)(e.bestDay.day).format("MMMM Do, YYYY"))),s.default.createElement("div",{className:"jp-at-a-glance__stats-summary-alltime"},s.default.createElement("div",{className:"jp-at-a-glance__stats-alltime-views"},s.default.createElement("p",{className:"jp-at-a-glance__stat-details"},(0,p.translate)("All-time views",{comment:"Referring to a number of page views"})),s.default.createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.allTime.views?"-":(0,p.numberFormat)(e.allTime.views))),s.default.createElement("div",{className:"jp-at-a-glance__stats-alltime-comments"},s.default.createElement("p",{className:"jp-at-a-glance__stat-details"},(0,p.translate)("All-time comments",{comment:"Referring to a number of comments"})),s.default.createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.allTime.comments?"-":(0,p.numberFormat)(e.allTime.comments))))),s.default.createElement("div",{className:"jp-at-a-glance__stats-cta"},s.default.createElement("div",{className:"jp-at-a-glance__stats-cta-description"}),s.default.createElement("div",{className:"jp-at-a-glance__stats-cta-buttons"},(0,p.translate)("{{button}}View Old Stats{{/button}}",{components:{button:s.default.createElement(u.default,{onClick:function(){return d.default.tracks.recordEvent("jetpack_wpa_aag_view_old_stats_click",{})},href:this.props.siteAdminUrl+"admin.php?page=stats"})}}),(0,p.translate)("{{button}}View More Stats on WordPress.com {{/button}}",{components:{button:s.default.createElement(u.default,{onClick:function(){return d.default.tracks.recordEvent("jetpack_wpa_aag_stats_wpcom_click",{})},className:"is-primary",href:"https://wordpress.com/stats/insights/"+this.props.siteRawUrl})}}))))}});t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(449),o=r(a),i=n(142),s=r(i),c=n(154),u=n(915),l=r(u),d=n(466),p=n(641),f=r(p),h=n(930),m=r(h),M=n(447),_=n(436),v=n(639),g=s.default.createClass({displayName:"DashProtect",getContent:function(){if(this.props.isModuleActivated("protect")){var e=this.props.protectCount;return!1===e||"0"===e||"N/A"===e?s.default.createElement(l.default,{label:"Protect",module:"protect",status:"is-working",className:"jp-dash-item__recently-activated"},s.default.createElement("div",{className:"jp-dash-item__recently-activated-lower"},s.default.createElement(m.default,null),s.default.createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Jetpack is actively blocking malicious login attempts. Data will display here soon!")))):s.default.createElement(l.default,{label:"Protect",module:"protect",status:"is-working"},s.default.createElement("h2",{className:"jp-dash-item__count"},(0,d.numberFormat)(e)),s.default.createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Total malicious attacks blocked on your site.")))}return s.default.createElement(l.default,{label:"Protect",module:"protect",className:"jp-dash-item__is-inactive"},s.default.createElement("p",{className:"jp-dash-item__description"},this.props.isDevMode?(0,d.translate)("Unavailable in Dev Mode"):(0,d.translate)("{{a}}Activate Protect{{/a}} to keep your site protected from malicious login attempts.",{components:{a:s.default.createElement("a",{href:"javascript:void(0)",onClick:this.props.activateProtect})}})))},render:function(){var e=(0,o.default)(this.props.moduleList);return(0,f.default)(e,"protect")?s.default.createElement("div",{className:"jp-dash-item__interior"},s.default.createElement(m.default,null),this.getContent()):null}});g.propTypes={isDevMode:s.default.PropTypes.bool.isRequired,protectCount:s.default.PropTypes.any.isRequired},t.default=(0,c.connect)(function(e){return{isModuleActivated:function(t){return(0,M.isModuleActivated)(e,t)},protectCount:(0,_.getProtectCount)(e),isDevMode:(0,v.isDevMode)(e),moduleList:(0,M.getModules)(e)}},function(e){return{activateProtect:function(){return e((0,M.activateModule)("protect"))},fetchProtectCount:function(){return e((0,_.fetchProtectCount)())}}})(g),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.DashItem=void 0;var a=n(142),o=r(a),i=n(863),s=r(i),c=n(154),u=n(916),l=r(u),d=n(466),p=n(837),f=r(p),h=n(641),m=r(h),M=n(832),_=r(M),v=n(919),g=r(v),b=n(922),y=n(639),A=n(447),T=n(926),L=r(T),E=n(347),w=t.DashItem=o.default.createClass({displayName:"DashItem",propTypes:{label:o.default.PropTypes.string,status:o.default.PropTypes.string,statusText:o.default.PropTypes.string,disabled:o.default.PropTypes.bool,module:o.default.PropTypes.string,pro:o.default.PropTypes.bool},getDefaultProps:function(){return{label:"",module:"",pro:!1}},render:function(){var e=void 0,t="",n=(0,s.default)(this.props.className,"jp-dash-item",this.props.disabled?"jp-dash-item__disabled":"");return""!==this.props.module&&(e=(0,m.default)(["protect","monitor","photon","vaultpress","scan","backups","akismet"],this.props.module)&&this.props.isDevMode?"":o.default.createElement(b.ModuleToggle,{slug:this.props.module,activated:this.props.isModuleActivated(this.props.module),toggling:this.props.isTogglingModule(this.props.module),toggleModule:this.props.toggleModule,compact:!0}),"manage"===this.props.module&&("is-warning"===this.props.status&&(e=o.default.createElement("a",{href:this.props.isModuleActivated("manage")?"https://wordpress.com/plugins/"+this.props.siteRawUrl:this.props.siteAdminUrl+"plugins.php"},o.default.createElement(l.default,{showDismiss:!1,status:this.props.status,isCompact:!0},(0,d.translate)("Updates Needed")))),"is-working"===this.props.status&&(e=o.default.createElement("span",{className:"jp-dash-item__active-label"},(0,d.translate)("Active"))))),this.props.pro&&!this.props.isDevMode&&(t=o.default.createElement(f.default,{compact:!0,href:"#/plans"},(0,d.translate)("Pro")),e=o.default.createElement(L.default,{proFeature:this.props.module,siteAdminUrl:this.props.siteAdminUrl})),o.default.createElement("div",{className:n},o.default.createElement(g.default,{label:this.props.label,cardBadge:t},this.props.userCanToggle?e:""),o.default.createElement(_.default,{className:"jp-dash-item__card",href:this.props.href},o.default.createElement("div",{className:"jp-dash-item__content"},this.props.children)))}});t.default=(0,c.connect)(function(e){return{isModuleActivated:function(t){return(0,A.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,A.isActivatingModule)(e,t)||(0,A.isDeactivatingModule)(e,t)},getModule:function(t){return(0,A.getModule)(e,t)},isDevMode:(0,y.isDevMode)(e),userCanToggle:(0,E.userCanManageModules)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,A.deactivateModule)(t):(0,A.activateModule)(t))}}})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(747),s=r(i),c=n(806),u=r(c),l=n(810),d=r(l);n(917),t.default=o.default.createClass({displayName:"SimpleNotice",dismissTimeout:null,getDefaultProps:function(){return{duration:0,status:null,showDismiss:!0,className:"",onDismissClick:u.default}},propTypes:{status:a.PropTypes.string,showDismiss:a.PropTypes.bool,isCompact:a.PropTypes.bool,duration:o.default.PropTypes.number,text:a.PropTypes.oneOfType([a.PropTypes.oneOfType([a.PropTypes.string,a.PropTypes.node]),a.PropTypes.arrayOf(a.PropTypes.oneOfType([a.PropTypes.string,a.PropTypes.node]))]),icon:a.PropTypes.string,className:a.PropTypes.string},componentDidMount:function(){this.props.duration>0&&(this.dismissTimeout=setTimeout(this.props.onDismissClick,this.props.duration))},componentWillUnmount:function(){this.dismissTimeout&&clearTimeout(this.dismissTimeout)},renderChildren:function(){var e=void 0;return"string"==typeof this.props.children?o.default.createElement("span",{className:"dops-notice__text"},this.props.children):(this.props.text?(e=[this.props.children],e.unshift(o.default.createElement("span",{key:"dops-notice_text",className:"dops-notice__text"},this.props.text))):e=o.default.createElement("span",{key:"dops-notice_text",className:"dops-notice__text"},this.props.children),e)},getIcon:function(){var e=void 0;switch(this.props.status){case"is-info":e="info";break;case"is-success":e="checkmark";break;case"is-error":e="notice";break;case"is-warning":e="notice";break;default:e="info"}return e},render:function(){var e=void 0,t=(0,s.default)("dops-notice",this.props.status);return this.props.isCompact&&(t=(0,s.default)(t,"is-compact")),this.props.showDismiss&&(t=(0,s.default)(t,"is-dismissable"),e=o.default.createElement("span",{tabIndex:"0",className:"dops-notice__dismiss",onClick:this.props.onDismissClick},o.default.createElement(d.default,{icon:"cross",size:24}))),o.default.createElement("div",{className:(0,s.default)(this.props.className,t)},o.default.createElement(d.default,{className:"dops-notice__icon",icon:this.props.icon||this.getIcon(),size:24}),o.default.createElement("div",{className:"dops-notice__content"},this.renderChildren()),e)}}),e.exports=t.default},function(e,t){},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(747),s=r(i),c=n(832),u=r(c);n(920),t.default=o.default.createClass({displayName:"SectionHeader",propTypes:{label:o.default.PropTypes.string,cardBadge:o.default.PropTypes.oneOfType([o.default.PropTypes.string,o.default.PropTypes.element,o.default.PropTypes.object])},getDefaultProps:function(){return{label:"",cardBadge:""}},render:function(){var e=(0,s.default)(this.props.className,"dops-section-header"),t=""!==this.props.cardBadge?o.default.createElement("span",{className:"dops-section-header__card-badge"},this.props.cardBadge):"";return o.default.createElement(u.default,{compact:!0,className:e},o.default.createElement("div",{className:"dops-section-header__label"},this.props.label,t),o.default.createElement("div",{className:"dops-section-header__actions"},this.props.children))}}),e.exports=t.default},function(e,t){},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ModuleToggle=void 0;var a=n(142),o=r(a),i=n(923),s=r(i);t.ModuleToggle=o.default.createClass({displayName:"ModuleToggle",propTypes:{toggleModule:o.default.PropTypes.func,activated:o.default.PropTypes.bool,disabled:o.default.PropTypes.bool,className:o.default.PropTypes.string,compact:o.default.PropTypes.bool,id:o.default.PropTypes.string},getDefaultProps:function(){return{activated:!1,disabled:!1}},toggleModule:function(){return this.props.toggleModule(this.props.slug,this.props.activated)},render:function(){return o.default.createElement(s.default,{checked:this.props.activated,toggling:this.props.toggling,className:this.props.className,disabled:this.props.disabled,id:this.props.id,compact:this.props.compact,onChange:this.toggleModule})}})},function(e,t,n){"use strict";var r=n(142),a=n(747),o=0;n(924),e.exports=r.createClass({displayName:"FormToggle",propTypes:{onChange:r.PropTypes.func,checked:r.PropTypes.bool,disabled:r.PropTypes.bool,className:r.PropTypes.string,compact:r.PropTypes.bool,id:r.PropTypes.string},getDefaultProps:function(){return{checked:!1,disabled:!1}},_onKeyDown:function(e){this.props.disabled||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.props.onChange()),this.props.onKeyDown&&this.props.onKeyDown(e)},render:function(){var e=this.props.id||"toggle-"+o++,t=a({"form-toggle":!0,"is-toggling":this.props.toggling,"is-compact":this.props.compact});return r.createElement("span",null,r.createElement("input",{className:a(this.props.className,t),type:"checkbox",checked:this.props.checked,readOnly:!0,disabled:this.props.disabled}),r.createElement("label",{className:"form-toggle__label",htmlFor:e},r.createElement("span",{className:"form-toggle__switch",disabled:this.props.disabled,id:e,onClick:this.props.onChange,onKeyDown:this._onKeyDown,role:"checkbox","aria-checked":this.props.checked,tabIndex:this.props.disabled?-1:0}),this.props.children))}})},function(e,t){},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(466),c=n(837),u=r(c),l=n(916),d=r(l),p=n(347),f=n(927),h=r(f),m=n(928),M=r(m),_=n(929),v=r(_),g=n(639),b=n(692),y=n(436),A=n(689),T=o.default.createClass({displayName:"ProStatus",propTypes:{isCompact:o.default.PropTypes.bool,proFeature:o.default.PropTypes.string},getDefaultProps:function(){return{isCompact:!0,proFeature:""}},render:function(){var e=this,t=this.props.sitePlan(),n="scan"===this.props.proFeature||"backups"===this.props.proFeature||"vaultpress"===this.props.proFeature?"vaultpress/vaultpress.php":"akismet/akismet.php",r=function(n,r,a){var i=e.props.getVaultPressData();if(e.props.isDevMode)return(0,s.translate)("Unavailable in Dev Mode");if("N/A"!==i&&"scan"===n&&0!==e.props.getScanThreats())return o.default.createElement(d.default,{showDismiss:!1,status:"is-error",isCompact:!0},(0,s.translate)("Threats found!"));if("akismet"===n){var c=e.props.getAkismetData();if("invalid_key"===c)return o.default.createElement("a",{href:e.props.siteAdminUrl+"admin.php?page=akismet-key-config"},o.default.createElement(d.default,{showDismiss:!1,status:"is-warning",isCompact:!0},(0,s.translate)("Invalid Key")))}if("seo-tools"===n)return o.default.createElement(u.default,{compact:!0,primary:!0,href:"https://wordpress.com/plans/"+e.props.siteRawUrl},(0,s.translate)("Upgrade"));if(t.product_slug){var l={};return l="jetpack_free"!==t.product_slug?{href:"https://wordpress.com/plugins/setup/"+e.props.siteRawUrl+"?only="+n,text:(0,s.translate)("Set up")}:{href:"https://wordpress.com/plans/"+e.props.siteRawUrl,text:(0,s.translate)("Upgrade")},r&&a?o.default.createElement("span",{className:"jp-dash-item__active-label"},(0,s.translate)("ACTIVE")):o.default.createElement(u.default,{compact:!0,primary:!0,href:l.href},l.text)}return r&&a?o.default.createElement("span",{className:"jp-dash-item__active-label"},(0,s.translate)("ACTIVE")):""};return o.default.createElement("div",null,o.default.createElement(h.default,null),o.default.createElement(v.default,null),o.default.createElement(M.default,null),r(this.props.proFeature,this.props.pluginActive(n),this.props.pluginInstalled(n)))}});t.default=(0,i.connect)(function(e){return{siteRawUrl:(0,p.getSiteRawUrl)(e),getScanThreats:function(){return(0,y.getVaultPressScanThreatCount)(e)},getVaultPressData:function(){return(0,y.getVaultPressData)(e)},getAkismetData:function(){return(0,y.getAkismetData)(e)},sitePlan:function(){return(0,A.getSitePlan)(e)},fetchingPluginsData:(0,b.isFetchingPluginsData)(e),pluginActive:function(t){return(0,b.isPluginActive)(e,t)},pluginInstalled:function(t){return(0,b.isPluginInstalled)(e,t)},isDevMode:(0,g.isDevMode)(e)}})(T),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.QuerySitePlugins=void 0;var a=n(142),o=r(a),i=n(154),s=n(692),c=t.QuerySitePlugins=o.default.createClass({displayName:"QuerySitePlugins",componentWillMount:function(){this.props.isFetchingPluginsData||this.props.fetchPluginsData()},render:function(){return null}});t.default=(0,i.connect)(function(e){return{isFetchingPluginsData:(0,s.isFetchingPluginsData)(e)}},function(e){return{fetchPluginsData:function(){return e((0,s.fetchPluginsData)())}}})(c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(841),o=r(a),i=n(844),s=r(i),c=n(845),u=r(c),l=n(846),d=r(l),p=n(847),f=r(p),h=n(142),m=n(154),M=n(161),_=n(436),v=n(447),g=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,o.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentWillMount",value:function(){!this.props.fetchingVaultPressData&&this.props.isModuleActivated("vaultpress")&&this.props.fetchVaultPressData()}},{key:"render",value:function(){return null}}]),t}(h.Component);g.defaultProps={fetchVaultPressData:function(){}},t.default=(0,m.connect)(function(e){return{fetchVaultPressData:(0,_.fetchVaultPressData)(),fetchingVaultPressData:(0,_.isFetchingVaultPressData)(e),isModuleActivated:function(t){return(0,v.isModuleActivated)(e,t)}}},function(e){return(0,M.bindActionCreators)({fetchVaultPressData:_.fetchVaultPressData},e)})(g),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(841),o=r(a),i=n(844),s=r(i),c=n(845),u=r(c),l=n(846),d=r(l),p=n(847),f=r(p),h=n(142),m=n(154),M=n(161),_=n(436),v=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,o.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentWillMount",value:function(){this.props.fetchingAkismetData||this.props.fetchAkismetData()}},{key:"render",value:function(){return null}}]),t}(h.Component);v.defaultProps={fetchAkismetData:function(){}},t.default=(0,m.connect)(function(e){return{fetchAkismetData:(0,_.fetchAkismetData)(),fetchingAkismetData:(0,_.isFetchingAkismetData)(e)}},function(e){return(0,M.bindActionCreators)({fetchAkismetData:_.fetchAkismetData},e)})(v),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(841),o=r(a),i=n(844),s=r(i),c=n(845),u=r(c),l=n(846),d=r(l),p=n(847),f=r(p),h=n(142),m=n(154),M=n(161),_=n(436),v=n(447),g=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,o.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentWillMount",value:function(){!this.props.fetchingProtectData&&this.props.isModuleActivated("protect")&&this.props.fetchProtectCount()}},{key:"render",value:function(){return null}}]),t}(h.Component);g.defaultProps={fetchProtectCount:function(){}},t.default=(0,m.connect)(function(e){return{fetchProtectCount:(0,_.fetchProtectCount)(),fetchingProtectData:(0,_.isFetchingProtectData)(e),isModuleActivated:function(t){return(0,v.isModuleActivated)(e,t)}}},function(e){return(0,M.bindActionCreators)({fetchProtectCount:_.fetchProtectCount},e)})(g),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(449),o=r(a),i=n(142),s=r(i),c=n(154),u=n(915),l=r(u),d=n(466),p=n(641),f=r(p),h=n(447),m=n(639),M=s.default.createClass({displayName:"DashMonitor",getContent:function(){var e=(0,d.translate)("Downtime Monitoring");return this.props.isModuleActivated("monitor")?s.default.createElement(l.default,{label:e,module:"monitor",status:"is-working"},s.default.createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Jetpack is monitoring your site. If we think your site is down, you will receive an email."))):s.default.createElement(l.default,{label:e,module:"monitor",className:"jp-dash-item__is-inactive"},s.default.createElement("p",{className:"jp-dash-item__description"},this.props.isDevMode?(0,d.translate)("Unavailable in Dev Mode."):(0,d.translate)("{{a}}Activate Monitor{{/a}} to receive notifications if your site goes down.",{components:{a:s.default.createElement("a",{href:"javascript:void(0)",onClick:this.props.activateMonitor})}})))},render:function(){var e=(0,o.default)(this.props.moduleList);return(0,f.default)(e,"monitor")?s.default.createElement("div",null,this.getContent()):null}});M.propTypes={isDevMode:s.default.PropTypes.bool.isRequired},t.default=(0,c.connect)(function(e){return{isModuleActivated:function(t){return(0,h.isModuleActivated)(e,t)},isDevMode:(0,m.isDevMode)(e),moduleList:(0,h.getModules)(e)}},function(e){return{activateMonitor:function(){return e((0,h.activateModule)("monitor"))}}})(M),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(915),c=r(s),u=n(466),l=n(928),d=r(l),p=n(447),f=n(689),h=n(692),m=n(436),M=n(639),_=o.default.createClass({displayName:"DashScan",getContent:function(){var e=this,t=(0,u.translate)("Malware Scanning"),n=!1!==this.props.sitePlan,r=this.props.vaultPressData,a=this.props.isPluginInstalled("vaultpress/vaultpress.php")?"pro-inactive":"pro-uninstalled";if(this.props.isModuleActivated("vaultpress")){if("N/A"===r)return o.default.createElement(c.default,{label:t},o.default.createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("Loading…")));var i=this.props.scanThreats;if(0!==i)return o.default.createElement(c.default,{label:t,module:"scan",status:"is-error",statusText:(0,u.translate)("Threats found"),pro:!0},o.default.createElement("h3",null,(0,u.translate)("Uh oh, %(number)s threat found.","Uh oh, %(number)s threats found.",{count:i,args:{number:(0,u.numberFormat)(i)}})),o.default.createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("{{a}}View details at VaultPress.com{{/a}}",{components:{a:o.default.createElement("a",{href:"https://dashboard.vaultpress.com/"})}}),o.default.createElement("br",null),(0,u.translate)("{{a}}Contact Support{{/a}}",{components:{a:o.default.createElement("a",{href:"https://jetpack.com/support"})}})));if("success"===r.code)return o.default.createElement(c.default,{label:t,module:"scan",status:"is-working",pro:!0},o.default.createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("No threats found, you're good to go!")))}var s=function(){return n?(0,u.translate)("For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.",{components:{a:o.default.createElement("a",{href:"https://wordpress.com/plugins/vaultpress",target:"_blank"})}}):(0,u.translate)("For automated, comprehensive scanning of security threats, please {{a}}upgrade your account{{/a}}.",{components:{a:o.default.createElement("a",{href:"https://wordpress.com/plans/"+e.props.siteRawUrl,target:"_blank"})}})};return o.default.createElement(c.default,{label:t,module:"scan",className:"jp-dash-item__is-inactive",status:n?a:"no-pro-uninstalled-or-inactive",pro:!0},o.default.createElement("p",{className:"jp-dash-item__description"
29
+ },this.props.isDevMode?(0,u.translate)("Unavailable in Dev Mode."):s()))},render:function(){return o.default.createElement("div",null,o.default.createElement(d.default,null),this.getContent())}});_.propTypes={vaultPressData:o.default.PropTypes.any.isRequired,scanThreats:o.default.PropTypes.any.isRequired,isDevMode:o.default.PropTypes.bool.isRequired,siteRawUrl:o.default.PropTypes.string.isRequired,sitePlan:o.default.PropTypes.object.isRequired},t.default=(0,i.connect)(function(e){return{isModuleActivated:function(t){return(0,p.isModuleActivated)(e,t)},isFetchingModulesList:function(){return(0,p.isFetchingModulesList)(e)},vaultPressData:(0,m.getVaultPressData)(e),scanThreats:(0,m.getVaultPressScanThreatCount)(e),sitePlan:(0,f.getSitePlan)(e),isDevMode:(0,M.isDevMode)(e),isPluginInstalled:function(t){return(0,h.isPluginInstalled)(e,t)}}},function(e){return{activateModule:function(t){return e((0,p.activateModule)(t))}}})(_),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(915),c=r(s),u=n(466),l=n(929),d=r(l),p=n(436),f=n(689),h=n(447),m=o.default.createClass({displayName:"DashAkismet",activateManageAndRedirect:function(e){e.preventDefault(),this.props.activateModule("manage").then(window.location="https://wordpress.com/plugins/akismet/"+this.props.siteRawUrl).catch(console.log("Error: unable to activate Manage"))},getContent:function(){var e=this.props.getAkismetData(),t=this.props.siteAdminUrl+"admin.php?page=akismet-key-config",n=(0,u.translate)("Spam Protection"),r=!1!==this.props.getSitePlan();return"N/A"===e?o.default.createElement(c.default,{label:n,module:"akismet",pro:!0},o.default.createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("Loading…"))):"not_installed"===e?o.default.createElement(c.default,{label:n,module:"akismet",className:"jp-dash-item__is-inactive",status:r?"pro-uninstalled":"no-pro-uninstalled-or-inactive",pro:!0},o.default.createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("For state-of-the-art spam defense, please {{a}}install Akismet{{/a}}.",{components:{a:o.default.createElement("a",{href:"https://wordpress.com/plugins/akismet/"+this.props.siteRawUrl,target:"_blank"})}}))):"not_active"===e?o.default.createElement(c.default,{label:n,module:"akismet",status:r?"pro-inactive":"no-pro-uninstalled-or-inactive",className:"jp-dash-item__is-inactive",pro:!0},o.default.createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("For state-of-the-art spam defense, please {{a}}activate Akismet{{/a}}.",{components:{a:o.default.createElement("a",{href:"https://wordpress.com/plugins/akismet/"+this.props.siteRawUrl,target:"_blank"})}}))):"invalid_key"===e?o.default.createElement(c.default,{label:n,module:"akismet",className:"jp-dash-item__is-inactive",status:"is-warning",statusText:(0,u.translate)("Invalid Key"),pro:!0,siteAdminUrl:this.props.siteAdminUrl},o.default.createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("Whoops! Your Akismet key is missing or invalid. {{akismetSettings}}Go to Akismet settings to fix{{/akismetSettings}}.",{components:{akismetSettings:o.default.createElement("a",{href:t})}}))):o.default.createElement(c.default,{label:n,module:"akismet",status:"is-working",pro:!0},o.default.createElement("h2",{className:"jp-dash-item__count"},(0,u.numberFormat)(e.all.spam)),o.default.createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("Spam comments blocked.",{context:'Example: "412 Spam comments blocked"'})))},render:function(){return o.default.createElement("div",{className:"jp-dash-item__interior"},o.default.createElement(d.default,null),this.getContent())}});m.propTypes={siteRawUrl:o.default.PropTypes.string.isRequired,siteAdminUrl:o.default.PropTypes.string.isRequired},t.default=(0,i.connect)(function(e){return{getAkismetData:function(){return(0,p.getAkismetData)(e)},isModuleActivated:function(t){return(0,h.isModuleActivated)(e,t)},getSitePlan:function(){return(0,f.getSitePlan)(e)}}},function(e){return{activateModule:function(t){return e((0,h.activateModule)(t))}}})(m),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(915),c=r(s),u=n(466),l=n(928),d=r(l),p=n(447),f=n(689),h=n(692),m=n(436),M=n(639),_=o.default.createClass({displayName:"DashBackups",getContent:function(){var e=this,t=(0,u.translate)("Backups"),n=!1!==this.props.sitePlan,r=this.props.isPluginInstalled("vaultpress/vaultpress.php")?"pro-inactive":"pro-uninstalled";if(this.props.isModuleActivated("vaultpress")){var a=this.props.vaultPressData;if("N/A"===a)return o.default.createElement(c.default,{label:t},o.default.createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("Loading…")));if("success"===a.code)return o.default.createElement(c.default,{label:t,module:"backups",status:"is-working",className:"jp-dash-item__is-active",pro:!0},o.default.createElement("p",{className:"jp-dash-item__description"},a.message," ",(0,u.translate)("{{a}}View backup details{{/a}}.",{components:{a:o.default.createElement("a",{href:"https://dashboard.vaultpress.com",target:"_blank"})}})))}var i=function(){return n?(0,u.translate)("To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.",{components:{a:o.default.createElement("a",{href:"https://wordpress.com/plugins/vaultpress",target:"_blank"})}}):(0,u.translate)("To automatically back up your entire site, please {{a}}upgrade!{{/a}}.",{components:{a:o.default.createElement("a",{href:"https://wordpress.com/plans/"+e.props.siteRawUrl,target:"_blank"})}})};return o.default.createElement(c.default,{label:t,module:"backups",className:"jp-dash-item__is-inactive",status:n?r:"no-pro-uninstalled-or-inactive",pro:!0},o.default.createElement("p",{className:"jp-dash-item__description"},this.props.isDevMode?(0,u.translate)("Unavailable in Dev Mode."):i()))},render:function(){return o.default.createElement("div",{className:"jp-dash-item__interior"},o.default.createElement(d.default,null),this.getContent())}});_.propTypes={vaultPressData:o.default.PropTypes.any.isRequired,isDevMode:o.default.PropTypes.bool.isRequired,siteRawUrl:o.default.PropTypes.string.isRequired,sitePlan:o.default.PropTypes.object.isRequired},t.default=(0,i.connect)(function(e){return{isModuleActivated:function(t){return(0,p.isModuleActivated)(e,t)},isFetchingModulesList:function(){return(0,p.isFetchingModulesList)(e)},vaultPressData:(0,m.getVaultPressData)(e),sitePlan:(0,f.getSitePlan)(e),isDevMode:(0,M.isDevMode)(e),isPluginInstalled:function(t){return(0,h.isPluginInstalled)(e,t)}}},function(e){return{activateModule:function(t){return e((0,p.activateModule)(t))}}})(_),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(449),o=r(a),i=n(142),s=r(i),c=n(154),u=n(915),l=r(u),d=n(466),p=n(641),f=r(p),h=n(936),m=r(h),M=n(436),_=n(447),v=n(639),g=s.default.createClass({displayName:"DashPluginUpdates",activateAndRedirect:function(e){e.preventDefault(),this.props.activateManage().then(window.location="https://wordpress.com/plugins/"+this.props.siteRawUrl).catch(console.log("Error activating Manage"))},getContent:function(){var e=(0,d.translate)("Plugin Updates"),t=this.props.pluginUpdates,n=this.props.isModuleActivated("manage"),r=n?"https://wordpress.com/plugins/"+this.props.siteRawUrl:this.props.siteAdminUrl+"plugins.php";return"N/A"===t?s.default.createElement(l.default,{label:e,module:"manage",status:"is-working"},s.default.createElement(m.default,null),s.default.createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Loading…"))):"updates-available"===t.code?s.default.createElement(l.default,{label:e,module:"manage",status:"is-warning",siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl},s.default.createElement("h2",{className:"jp-dash-item__count"},(0,d.translate)("%(number)s plugin","%(number)s plugins",{count:t.count,args:{number:t.count}})),s.default.createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Needs updating. ","Need updating. ",{count:t.count,args:{number:t.count}}),this.props.isDevMode?"":n?(0,d.translate)("{{a}}Turn on plugin auto updates{{/a}}",{components:{a:s.default.createElement("a",{href:r})}}):(0,d.translate)("{{a}}Activate Manage and turn on auto updates{{/a}}",{components:{a:s.default.createElement("a",{onClick:this.activateAndRedirect,href:"javascript:void(0)"})}}))):s.default.createElement(l.default,{label:e,module:"manage",status:n?"is-working":"is-inactive"},s.default.createElement("p",{className:"jp-dash-item__description"},n?(0,d.translate)("All plugins are up-to-date. Awesome work!"):(0,d.translate)("{{a}}Activate Manage{{/a}} to turn on auto updates and manage your plugins from WordPress.com.",{components:{a:s.default.createElement("a",{onClick:this.props.activateManage,href:"javascript:void(0)"})}})))},render:function(){var e=(0,o.default)(this.props.moduleList);return(0,f.default)(e,"manage")?s.default.createElement("div",null,s.default.createElement(m.default,null),this.getContent()):null}});g.propTypes={isDevMode:s.default.PropTypes.bool.isRequired,siteRawUrl:s.default.PropTypes.string.isRequired,siteAdminUrl:s.default.PropTypes.string.isRequired,pluginUpdates:s.default.PropTypes.any.isRequired},t.default=(0,c.connect)(function(e){return{isModuleActivated:function(t){return(0,_.isModuleActivated)(e,t)},pluginUpdates:(0,M.getPluginUpdates)(e),isDevMode:(0,v.isDevMode)(e),moduleList:(0,_.getModules)(e)}},function(e){return{activateManage:function(){return e((0,_.activateModule)("manage"))}}})(g),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(841),o=r(a),i=n(844),s=r(i),c=n(845),u=r(c),l=n(846),d=r(l),p=n(847),f=r(p),h=n(142),m=n(154),M=n(161),_=n(436),v=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,o.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentWillMount",value:function(){this.props.fetchingPluginUpdates||this.props.fetchPluginUpdates()}},{key:"render",value:function(){return null}}]),t}(h.Component);v.defaultProps={fetchPluginUpdates:function(){}},t.default=(0,m.connect)(function(e){return{fetchPluginUpdates:(0,_.fetchPluginUpdates)(),fetchingPluginUpdates:(0,_.isFetchingPluginUpdates)(e)}},function(e){return(0,M.bindActionCreators)({fetchPluginUpdates:_.fetchPluginUpdates},e)})(v),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(449),o=r(a),i=n(142),s=r(i),c=n(154),u=n(915),l=r(u),d=n(466),p=n(641),f=r(p),h=n(447),m=n(639),M=s.default.createClass({displayName:"DashPhoton",getContent:function(){var e=(0,d.translate)("Image Performance %(photon)s",{args:{photon:"(Photon)"}});return this.props.isModuleActivated("photon")?s.default.createElement(l.default,{label:e,module:"photon",status:"is-working"},s.default.createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Jetpack is improving and optimizing your image speed."))):s.default.createElement(l.default,{label:e,module:"photon",className:"jp-dash-item__is-inactive"},s.default.createElement("p",{className:"jp-dash-item__description"},this.props.isDevMode?(0,d.translate)("Unavailable in Dev Mode"):(0,d.translate)("{{a}}Activate Photon{{/a}} to enhance the performance and speed of your images.",{components:{a:s.default.createElement("a",{href:"javascript:void(0)",onClick:this.props.activatePhoton})}})))},render:function(){var e=(0,o.default)(this.props.moduleList);return(0,f.default)(e,"photon")?s.default.createElement("div",{className:"jp-dash-item__interior"},this.getContent()):null}});M.propTypes={isDevMode:s.default.PropTypes.bool.isRequired},t.default=(0,c.connect)(function(e){return{isModuleActivated:function(t){return(0,h.isModuleActivated)(e,t)},isDevMode:(0,m.isDevMode)(e),moduleList:(0,h.getModules)(e)}},function(e){return{activatePhoton:function(){return e((0,h.activateModule)("photon"))}}})(M),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.QuerySite=void 0;var a=n(142),o=r(a),i=n(154),s=n(689),c=t.QuerySite=o.default.createClass({displayName:"QuerySite",componentDidMount:function(){this.props.isFetchingSiteData||this.props.fetchSiteData()},render:function(){return null}});t.default=(0,i.connect)(function(e){return{isFetchingSiteData:(0,s.isFetchingSiteData)(e)}},function(e){return{fetchSiteData:function(){return e((0,s.fetchSiteData)())}}})(c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.Engagement=void 0;var o=n(449),i=r(o),s=n(142),c=r(s),u=n(154),l=n(857),d=r(l),p=n(837),f=r(p),h=n(810),m=r(h),M=n(466),_=n(641),v=r(_),g=n(656),b=r(g),y=n(447),A=n(926),T=r(A),L=n(922),E=n(940),w=n(639),z=n(347),S=n(689),k=n(938),O=r(k),N=t.Engagement=function(e){var t=e.toggleModule,n=e.isModuleActivated,r=e.isTogglingModule,o=e.getModule,s=e.userCanManageModules,u=o("sitemaps").description,l=(0,i.default)(e.moduleList);e.isSitePublic||(u=c.default.createElement("span",null,u,c.default.createElement("p",{className:"jp-form-setting-explanation"},(0,M.translate)("Your site must be accessible by search engines for this feature to work properly. You can change this in {{a}}Reading Settings{{/a}}.",{components:{a:c.default.createElement("a",{href:e.siteAdminUrl+"options-reading.php#blog_public",className:"jetpack-js-stop-propagation"})}}))));var p=[["seo-tools",o("seo-tools").name,o("seo-tools").description,o("seo-tools").learn_more_button],["stats",o("stats").name,o("stats").description,o("stats").learn_more_button],["sharedaddy",o("sharedaddy").name,o("sharedaddy").description,o("sharedaddy").learn_more_button],["publicize",o("publicize").name,o("publicize").description,o("publicize").learn_more_button],["related-posts",o("related-posts").name,o("related-posts").description,o("related-posts").learn_more_button],["comments",o("comments").name,o("comments").description,o("comments").learn_more_button],["likes",o("likes").name,o("likes").description,o("likes").learn_more_button],["subscriptions",o("subscriptions").name,o("subscriptions").description,o("subscriptions").learn_more_button],["gravatar-hovercards",o("gravatar-hovercards").name,o("gravatar-hovercards").description,o("gravatar-hovercards").learn_more_button],["sitemaps",o("sitemaps").name,u,o("sitemaps").learn_more_button],["enhanced-distribution",o("enhanced-distribution").name,o("enhanced-distribution").description,o("enhanced-distribution").learn_more_button],["verification-tools",o("verification-tools").name,o("verification-tools").description,o("verification-tools").learn_more_button]],h=["publicize"];if(!s){var _=p.slice();_.reverse().forEach(function(e){(0,v.default)(h,e[0])&&p.unshift(e)}),p=p.filter(function(e,t){return p.indexOf(e)===t})}return p=p.map(function(i){if(!(0,v.default)(l,i[0]))return null;var u=e.isUnavailableInDevMode(i[0]),p=u?"devmode-disabled":"",_="",g=s||(0,v.default)(h,i[0]),y="seo-tools"===i[0],A={module:i[0],configure_url:""},w=n(i[0]),z=!1,S=!1;"undefined"!=typeof e.sitePlan.product_slug&&(S=!0),!S||"jetpack_business"!==e.sitePlan.product_slug&&"jetpack_business_monthly"!==e.sitePlan.product_slug||(z=!0),u?_=(0,M.translate)("Unavailable in Dev Mode"):s&&(y&&!z?_=c.default.createElement(T.default,{proFeature:i[0]}):y&&!z||(_=c.default.createElement(L.ModuleToggle,{slug:i[0],activated:w,toggling:r(i[0]),toggleModule:t})),y&&(i[1]=c.default.createElement("span",null,i[1],c.default.createElement(f.default,{compact:!0,href:"#/plans"},(0,M.translate)("Pro")))));var k=w?c.default.createElement(E.AllModuleSettings,{module:y?A:o(i[0])}):c.default.createElement("div",{dangerouslySetInnerHTML:a(o(i[0]))});return"seo-tools"===i[0]&&("undefined"!=typeof e.sitePlan.product_slug||u?"jetpack_business"===e.sitePlan.product_slug&&(A.configure_url=w?"https://wordpress.com/settings/seo/"+e.siteRawUrl:"inactive"):A.configure_url="checking",k=c.default.createElement(E.AllModuleSettings,{module:A})),!!g&&c.default.createElement(d.default,{className:p,key:"module-card_"+i[0],header:i[1],subheader:i[2],summary:_,expandedSummary:_,clickableHeaderText:!0,onOpen:function(){return b.default.tracks.recordEvent("jetpack_wpa_settings_card_open",{card:i[0],path:e.route.path})}},k,c.default.createElement("div",{className:"jp-module-settings__learn-more"},c.default.createElement(f.default,{borderless:!0,compact:!0,href:i[3]},c.default.createElement(m.default,{icon:"help-outline"}),c.default.createElement("span",{className:"screen-reader-text"},(0,M.translate)("Learn More")))),"stats"===i[0]&&w?c.default.createElement("div",{className:"jp-module-settings__read-more"},c.default.createElement("span",null,c.default.createElement("span",{className:"jp-module-settings__more-text"},(0,M.translate)("View {{a}}All Stats{{/a}}",{components:{a:c.default.createElement("a",{href:e.siteAdminUrl+"admin.php?page=stats"})}})))):"","subscriptions"===i[0]&&w?c.default.createElement("div",{className:"jp-module-settings__read-more"},c.default.createElement("span",null,c.default.createElement("span",{className:"jp-module-settings__more-text"},(0,M.translate)("View your {{a}}Email Followers{{/a}}",{components:{a:c.default.createElement("a",{href:"https://wordpress.com/people/email-followers/"+e.siteRawUrl})}})))):"")}),c.default.createElement("div",null,c.default.createElement(O.default,null),p)};t.default=(0,u.connect)(function(e){return{isModuleActivated:function(t){return(0,y.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,y.isActivatingModule)(e,t)||(0,y.isDeactivatingModule)(e,t)},getModule:function(t){return(0,y.getModule)(e,t)},isUnavailableInDevMode:function(t){return(0,w.isUnavailableInDevMode)(e,t)},siteRawUrl:(0,z.getSiteRawUrl)(e),siteAdminUrl:(0,z.getSiteAdminUrl)(e),isSitePublic:(0,z.isSitePublic)(e),sitePlan:(0,S.getSitePlan)(e),userCanManageModules:(0,z.userCanManageModules)(e),moduleList:(0,y.getModules)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,y.deactivateModule)(t):(0,y.activateModule)(t))}}})(N)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AllModuleSettings=void 0;var a=n(348),o=r(a),i=n(142),s=r(i),c=n(466),u=n(154),l=n(941),d=n(980),p=r(d),f=n(347),h=s.default.createClass({displayName:"AllModuleSettingsComponent",render:function(){var e=this.props.module;switch(e.module){case"videopress":return s.default.createElement(l.VideoPressSettings,{module:e});case"omnisearch":return s.default.createElement("div",null,s.default.createElement("span",{className:"jp-form-setting-explanation"},this.props.module.long_description),s.default.createElement("br",null),s.default.createElement(p.default,{className:"jp-module-settings__external-link",icon:!0,iconSize:16,href:"/wp-admin/admin.php?page=omnisearch"},(0,c.translate)("Search your content.")));case"post-by-email":return s.default.createElement(l.PostByEmailSettings,{module:e});case"custom-content-types":return s.default.createElement(l.CustomContentTypesSettings,{module:e});case"after-the-deadline":return s.default.createElement(l.AfterTheDeadlineSettings,{module:e});case"markdown":return s.default.createElement(l.MarkdownSettings,{module:e});case"tiled-gallery":return s.default.createElement(l.TiledGallerySettings,{module:e});case"minileven":return s.default.createElement(l.MinilevenSettings,{module:e});case"carousel":return s.default.createElement(l.CarouselSettings,{module:e});case"infinite-scroll":return s.default.createElement(l.InfiniteScrollSettings,{module:e});case"protect":return s.default.createElement(l.ProtectSettings,{module:e});case"monitor":return s.default.createElement(l.MonitorSettings,{module:e});case"scan":return""===e.configure_url?s.default.createElement("div",null,(0,c.translate)("Upgrade Jetpack and our state-of-the-art security scanner will hunt out malicious files and report them immediately so that you're never unaware of what is happening on your website.")):s.default.createElement("div",null,s.default.createElement("div",{className:"jp-form-setting-explanation"},(0,c.translate)('You can see the information about security scanning in the "At a Glance" section.')),s.default.createElement("br",null),s.default.createElement(p.default,{className:"jp-module-settings__external-link",icon:!0,iconSize:16,href:e.configure_url},(0,c.translate)("Configure your Security Scans")));case"sso":return s.default.createElement(l.SingleSignOnSettings,{module:e});case"seo-tools":return""===e.configure_url?s.default.createElement("div",null,(0,c.translate)("Make sure your site is easily found on search engines with SEO tools for your content and social posts.")):"checking"===e.configure_url?null:"inactive"===e.configure_url?s.default.createElement("div",null,(0,c.translate)("Activate this module to use the advanced SEO tools.")):s.default.createElement("div",null,s.default.createElement(p.default,{className:"jp-module-settings__external-link",icon:!0,iconSize:16,href:e.configure_url},(0,c.translate)("Configure your SEO settings.")));case"stats":return s.default.createElement(l.StatsSettings,{module:e});case"related-posts":return s.default.createElement(l.RelatedPostsSettings,{module:e});case"comments":return s.default.createElement(l.CommentsSettings,{module:e});case"subscriptions":return s.default.createElement(l.SubscriptionsSettings,(0,o.default)({module:e},this.props));case"likes":return s.default.createElement(l.LikesSettings,{module:e});case"verification-tools":return s.default.createElement(l.VerificationToolsSettings,{module:e});case"sitemaps":return s.default.createElement(l.SitemapsSettings,(0,o.default)({module:e},this.props));case"gravatar-hovercards":case"contact-form":case"latex":case"shortlinks":case"shortcodes":case"photon":case"widget-visibility":case"notifications":case"enhanced-distribution":return s.default.createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("This module has no configuration options")," ");case"akismet":case"backups":return""===e.configure_url?s.default.createElement("div",null,"akismet"===e.module?(0,c.translate)("Let search engines and visitors know that you are serious about your websites integrity by upgrading Jetpack. Our anti-spam tools will eliminate comment spam, protect your SEO, and make it easier for visitors to stay in touch."):(0,c.translate)("Real-time offsite backups with automated restores deliver peace-of-mind, so you can focus on writing great content and increasing traffic while we protect every aspect of your investment. Upgrade today.")):s.default.createElement("div",null,(0,c.translate)("{{link}}Configure your %(module_slug)s Settings {{/link}}",{components:{link:s.default.createElement(p.default,{className:"jp-module-settings__external-link",icon:!0,iconSize:16,href:e.configure_url})},args:{module_slug:"akismet"===e.module?"Akismet":"Backups"}}));case"custom-css":case"widgets":case"publicize":case"sharedaddy":default:return"publicize"===e.module&&(e.configure_url=this.props.adminUrl+"options-general.php?page=sharing"),s.default.createElement("div",null,(0,c.translate)("{{link}}Configure your %(module_slug)s Settings {{/link}}",{components:{link:s.default.createElement(p.default,{className:"jp-module-settings__external-link",icon:!0,iconSize:16,href:e.configure_url})},args:{module_slug:e.name}}))}}});t.AllModuleSettings=(0,u.connect)(function(e){return{adminUrl:(0,f.getSiteAdminUrl)(e)}})(h)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SitemapsSettings=t.MarkdownSettings=t.AfterTheDeadlineSettings=t.CustomContentTypesSettings=t.PostByEmailSettings=t.TiledGallerySettings=t.VerificationToolsSettings=t.MinilevenSettings=t.InfiniteScrollSettings=t.CarouselSettings=t.SingleSignOnSettings=t.MonitorSettings=t.ProtectSettings=t.StatsSettings=t.SubscriptionsSettings=t.CommentsSettings=t.LikesSettings=t.RelatedPostsSettings=t.SharedaddySettings=t.VideoPressSettings=void 0;var a=n(348),o=r(a),i=n(142),s=r(i),c=n(466),u=n(832),l=r(u),d=n(942),p=r(d),f=n(945),h=r(f),m=n(966),M=r(m),_=n(968),v=r(_),g=n(836),b=r(g),y=n(398),A=r(y),T=n(837),L=r(T),E=n(980),w=r(E),z=n(983),S=n(1004),k=n(1012),O=t.VideoPressSettings=s.default.createClass({displayName:"VideoPressSettings",render:function(){return s.default.createElement("div",null,s.default.createElement("p",{className:"jp-form-setting-explanation"},(0,c.translate)("The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.")),s.default.createElement("br",null),s.default.createElement("div",null,s.default.createElement(w.default,{className:"jp-module-settings__external-link",icon:!0,iconSize:16,href:this.props.module.configure_url},(0,c.translate)("Configure your VideoPress settings."))))}});t.VideoPressSettings=O=(0,k.ModuleSettingsForm)(O);var N=t.SharedaddySettings=s.default.createClass({displayName:"SharedaddySettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"option_name"},this.props,{label:(0,c.translate)("Subscriber")})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.SharedaddySettings=N=(0,k.ModuleSettingsForm)(N);var C=t.RelatedPostsSettings=s.default.createClass({displayName:"RelatedPostsSettings",renderPreviews:function(){var e=this.props.getOptionValue("show_headline"),t=this.props.getOptionValue("show_thumbnails"),n=[{url:"https://jetpackme.files.wordpress.com/2014/08/1-wpios-ipad-3-1-viewsite.png?w=350&h=200&crop=1",text:(0,c.translate)("Big iPhone/iPad Update Now Available")},{url:"https://jetpackme.files.wordpress.com/2014/08/wordpress-com-news-wordpress-for-android-ui-update2.jpg?w=350&h=200&crop=1",text:(0,c.translate)("The WordPress for Android App Gets a Big Facelift")},{url:"https://jetpackme.files.wordpress.com/2014/08/videopresswedding.jpg?w=350&h=200&crop=1",text:(0,c.translate)("Upgrade Focus: VideoPress For Weddings")}];return s.default.createElement("div",{className:"jp-related-posts-preview"},e?s.default.createElement("div",{className:"jp-related-posts-preview__title"},(0,c.translate)("Related")):"",n.map(function(e,n){return s.default.createElement("span",{key:"preview_"+n,className:"jp-related-posts-preview__item"},t?s.default.createElement("img",{src:e.url}):"",s.default.createElement("span",null,s.default.createElement("a",{href:"#/engagement"}," ",e.text," ")))}))},render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"show_headline",label:(0,c.translate)('Show a "Related" header to more clearly separate the related section from posts')},this.props)),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"show_thumbnails",label:(0,c.translate)("Use a large and visually striking layout")},this.props)),s.default.createElement("div",{className:"jp-related-posts-settings__preview-label"},(0,c.translate)("Preview")),s.default.createElement(l.default,null,this.renderPreviews()),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.RelatedPostsSettings=C=(0,k.ModuleSettingsForm)(C);var D=t.LikesSettings=s.default.createClass({displayName:"LikesSettings",render:function(){var e=this.props.module.configure_url;return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null," ",(0,c.translate)("WordPress.com Likes are:")),s.default.createElement(S.ModuleSettingRadios,(0,o.default)({name:"wpl_default"},this.props,{validValues:this.props.validValues("wpl_default")})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})),s.default.createElement("p",null,(0,c.translate)("{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}",{components:{a:s.default.createElement("a",{href:e})}})))}});t.LikesSettings=D=(0,k.ModuleSettingsForm)(D);var P=t.CommentsSettings=s.default.createClass({displayName:"CommentsSettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null,(0,c.translate)("Comments headline")),s.default.createElement(z.FormLabel,null,s.default.createElement(p.default,{name:"highlander_comment_form_prompt",value:this.props.getOptionValue("highlander_comment_form_prompt"),disabled:this.props.isUpdating("highlander_comment_form_prompt"),onChange:this.props.onOptionChange})),s.default.createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("A few catchy words to motivate your readers to comment."))),s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null,(0,c.translate)("Color Scheme")),s.default.createElement(S.ModuleSettingRadios,(0,o.default)({name:"jetpack_comment_form_color_scheme"},this.props,{validValues:this.props.validValues("jetpack_comment_form_color_scheme")})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.CommentsSettings=P=(0,k.ModuleSettingsForm)(P);var x=t.SubscriptionsSettings=s.default.createClass({displayName:"SubscriptionsSettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormLegend,null,(0,c.translate)("Can readers subscribe to your posts, comments or both?")),s.default.createElement(z.FormFieldset,null,s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"stb_enabled"},this.props,{label:(0,c.translate)('Show a "follow blog" options in the comment form')})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"stc_enabled"},this.props,{label:(0,c.translate)('Show a "follow comments" option in the comment form.')})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.SubscriptionsSettings=x=(0,k.ModuleSettingsForm)(x);var j=t.StatsSettings=s.default.createClass({displayName:"StatsSettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null,(0,c.translate)("Admin Bar")),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"admin_bar"},this.props,{label:(0,c.translate)("Put a chart showing 48 hours of views in the admin bar")}))),s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null,(0,c.translate)("Smiley")),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"hide_smile"},this.props,{label:(0,c.translate)("Hide the stats smiley face image. The image helps collect stats but should still work when hidden.")}))),s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null,(0,
30
+ c.translate)("Registered Users: Count the page views of registered users who are logged in")),s.default.createElement(S.ModuleSettingMultipleSelectCheckboxes,(0,o.default)({name:"count_roles"},this.props,{validValues:this.props.getSiteRoles()}))),s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null,(0,c.translate)("Report Visibility: Select the roles that will be able to view stats reports")),s.default.createElement(S.ModuleSettingMultipleSelectCheckboxes,(0,o.default)({always_checked:["administrator"],name:"roles"},this.props,{validValues:this.props.getSiteRoles()})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.StatsSettings=j=(0,k.ModuleSettingsForm)(j);var W=t.ProtectSettings=s.default.createClass({displayName:"ProtectSettings",render:function(){var e=this.props.currentIp?s.default.createElement("p",null,(0,c.translate)("Your Current IP: %(ip)s",{args:{ip:this.props.currentIp}})):"";return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null,(0,c.translate)("Whitelist Management")),s.default.createElement("p",null,(0,c.translate)("Whitelisting an IP address prevents it from ever being blocked by Jetpack.")),s.default.createElement("small",null,(0,c.translate)("Make sure to add your most frequently used IP addresses as they can change between your home, office or other locations. Removing an IP address from the list below will remove it from your whitelist.")),e,s.default.createElement(z.FormLabel,null,s.default.createElement(h.default,{name:"jetpack_protect_global_whitelist",placeholder:"Example: 12.12.12.1-12.12.12.100",onChange:this.props.onOptionChange,value:this.props.getOptionValue("jetpack_protect_global_whitelist").local})),s.default.createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("IPv4 and IPv6 are acceptable. {{br/}} To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100",{components:{br:s.default.createElement("br",null)}})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});W.propTypes={currentIp:s.default.PropTypes.string.isRequired},t.ProtectSettings=W=(0,k.ModuleSettingsForm)(W);var Y=t.MonitorSettings=s.default.createClass({displayName:"MonitorSettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"monitor_receive_notifications"},this.props,{label:(0,c.translate)("Receive Monitor Email Notifications")})),s.default.createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Emails will be sent to ")+this.props.adminEmailAddress,". ",s.default.createElement("span",null," ",(0,c.translate)("{{a}}Edit{{/a}}",{components:{a:s.default.createElement("a",{href:"https://wordpress.com/settings/account/"})}}))),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.MonitorSettings=Y=(0,k.ModuleSettingsForm)(Y);var q=t.SingleSignOnSettings=s.default.createClass({displayName:"SingleSignOnSettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"jetpack_sso_match_by_email"},this.props,{label:(0,c.translate)("Match By Email")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"jetpack_sso_require_two_step"},this.props,{label:(0,c.translate)("Require Two-Step Authentication")})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.SingleSignOnSettings=q=(0,k.ModuleSettingsForm)(q);var B=t.CarouselSettings=s.default.createClass({displayName:"CarouselSettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null," ",(0,c.translate)("Mobile Promos")," "),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"carousel_display_exif"},this.props,{label:(0,c.translate)("Show photo metadata (Exif) in carousel, when available")}))),s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null," ",(0,c.translate)("Background Color")),s.default.createElement(S.ModuleSettingRadios,(0,o.default)({name:"carousel_background_color"},this.props,{validValues:this.props.validValues("carousel_background_color")})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.CarouselSettings=B=(0,k.ModuleSettingsForm)(B);var R=t.InfiniteScrollSettings=s.default.createClass({displayName:"InfiniteScrollSettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"infinite_scroll"},this.props,{label:(0,c.translate)("Scroll infinitely (Shows 7 posts on each load)")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"infinite_scroll_google_analytics"},this.props,{label:(0,c.translate)("Track each infinite Scroll post load as a page view in Google Analytics")})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.InfiniteScrollSettings=R=(0,k.ModuleSettingsForm)(R);var H=t.MinilevenSettings=s.default.createClass({displayName:"MinilevenSettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null," ",(0,c.translate)("Excerpts")," "),s.default.createElement(S.ModuleSettingRadios,(0,o.default)({name:"wp_mobile_excerpt"},this.props,{validValues:this.props.validValues("wp_mobile_excerpt")}))),s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null," ",(0,c.translate)("Featured Images")," "),s.default.createElement(S.ModuleSettingRadios,(0,o.default)({name:"wp_mobile_featured_images"},this.props,{validValues:this.props.validValues("wp_mobile_featured_images")}))),s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null," ",(0,c.translate)("Mobile Promos")," "),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"wp_mobile_app_promos"},this.props,{label:(0,c.translate)("Show a promo for the WordPress mobile apps in the footer of the mobile theme")})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.MinilevenSettings=H=(0,k.ModuleSettingsForm)(H);var I=t.VerificationToolsSettings=s.default.createClass({displayName:"VerificationToolsSettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement("p",{className:"jp-form-setting-explanation"},(0,c.translate)('Enter your meta key "content" value to verify your blog with {{a}}Google Search Console{{/a}}, {{a1}}Bing Webmaster Center{{/a1}} and {{a2}}Pinterest Site Verification{{/a2}}.',{components:{a:s.default.createElement("a",{href:"https://www.google.com/webmasters/tools/",target:"_blank"}),a1:s.default.createElement("a",{href:"http://www.bing.com/webmaster/",target:"_blank"}),a2:s.default.createElement("a",{href:"https://pinterest.com/website/verify/",target:"_blank"})}})),s.default.createElement("div",{className:"dops-card"},s.default.createElement(z.FormLabel,null,s.default.createElement(z.FormLegend,null,"Google"),s.default.createElement(p.default,{name:"google",value:this.props.getOptionValue("google"),placeholder:"Example: dBw5CvburAxi537Rp9qi5uG2174Vb6JwHwIRwPSLIK8",className:"widefat code",disabled:this.props.isUpdating("google"),onChange:this.props.onOptionChange})),s.default.createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Meta key example:")," <meta name='google-site-verification' content='",s.default.createElement("strong",{className:"code"},"dBw5CvburAxi537Rp9qi5uG2174Vb6JwHwIRwPSLIK8"),"'>")),s.default.createElement("div",{className:"dops-card"},s.default.createElement(z.FormLabel,null,s.default.createElement(z.FormLegend,null,"Bing"),s.default.createElement(p.default,{name:"bing",value:this.props.getOptionValue("bing"),placeholder:"Example: 12C1203B5086AECE94EB3A3D9830B2E",className:"widefat code",disabled:this.props.isUpdating("bing"),onChange:this.props.onOptionChange})),s.default.createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Meta key example:")," <meta name='msvalidate.01' content='",s.default.createElement("strong",null,"12C1203B5086AECE94EB3A3D9830B2E"),"'>")),s.default.createElement("div",{className:"dops-card"},s.default.createElement(z.FormLabel,null,s.default.createElement(z.FormLegend,null,"Pinterest"),s.default.createElement(p.default,{name:"pinterest",value:this.props.getOptionValue("pinterest"),placeholder:"Example: f100679e6048d45e4a0b0b92dce1efce",className:"widefat code",disabled:this.props.isUpdating("pinterest"),onChange:this.props.onOptionChange})),s.default.createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Meta key example:")," <meta name='p:domain_verify' content='",s.default.createElement("strong",null,"f100679e6048d45e4a0b0b92dce1efce"),"'>")),s.default.createElement("div",{className:"dops-card"},s.default.createElement(z.FormLabel,null,s.default.createElement(z.FormLegend,null,"Yandex"),s.default.createElement(p.default,{name:"yandex",value:this.props.getOptionValue("yandex"),placeholder:"Example: 44d68e1216009f40",className:"widefat code",disabled:this.props.isUpdating("yandex"),onChange:this.props.onOptionChange})),s.default.createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Meta key example:")," <meta name='yandex-verification' content='",s.default.createElement("strong",null,"44d68e1216009f40"),"'>")),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.VerificationToolsSettings=I=(0,k.ModuleSettingsForm)(I);var U=t.TiledGallerySettings=s.default.createClass({displayName:"TiledGallerySettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"tiled_galleries"},this.props,{label:(0,c.translate)("Display all your gallery pictures in a cool mosaic")})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.TiledGallerySettings=U=(0,k.ModuleSettingsForm)(U);var F=t.PostByEmailSettings=s.default.createClass({displayName:"PostByEmailSettings",regeneratePostByEmailAddress:function(e){e.preventDefault(),this.props.regeneratePostByEmailAddress()},address:function(){var e=this.props.getOptionValue("post_by_email_address");return e===!1?"":e},render:function(){return this.props.isCurrentUserLinked?s.default.createElement("form",null,s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLabel,null,s.default.createElement(z.FormLegend,null,(0,c.translate)("Email Address")),s.default.createElement(v.default,{value:this.address(),copy:(0,c.translate)("Copy",{context:"verb"}),copied:(0,c.translate)("Copied!"),prompt:(0,c.translate)("Highlight and copy the following text to your clipboard:")}),s.default.createElement(z.FormButton,{onClick:this.regeneratePostByEmailAddress},(0,c.translate)("Regenerate address"))))):s.default.createElement("div",null,s.default.createElement("div",{className:"jp-connection-settings"},s.default.createElement("div",{className:"jp-connection-settings__headline"},(0,c.translate)("Link your account to WordPress.com to start using this feature.")),s.default.createElement("div",{className:"jp-connection-settings__actions"},s.default.createElement(b.default,{connectUser:!0,from:"post-by-email"}))))}});F.propTypes={isCurrentUserLinked:s.default.PropTypes.bool.isRequired},t.PostByEmailSettings=F=(0,k.ModuleSettingsForm)(F);var X=t.CustomContentTypesSettings=s.default.createClass({displayName:"CustomContentTypesSettings",render:function(){var e=this,t=function(){return e.props.getOptionCurrentValue(e.props.module.module,"jetpack_portfolio")?s.default.createElement(L.default,{disabled:!e.props.shouldSaveButtonBeDisabled(),href:e.props.siteAdminUrl+"edit.php?post_type=jetpack-portfolio",compact:!0},(0,c.translate)("Configure Portfolios")):""},n=function(){return e.props.getOptionCurrentValue(e.props.module.module,"jetpack_testimonial")?s.default.createElement(L.default,{disabled:!e.props.shouldSaveButtonBeDisabled(),href:e.props.siteAdminUrl+"edit.php?post_type=jetpack-testimonial",compact:!0},(0,c.translate)("Configure Testimonials")):""};return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"jetpack_portfolio"},this.props,{label:(0,c.translate)("Enable Portfolio Projects for this site.")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"jetpack_testimonial"},this.props,{label:(0,c.translate)("Enable Testimonials for this site.")})),s.default.createElement("br",null),t(),n(),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});X.propTypes={siteAdminUrl:s.default.PropTypes.string.isRequired},t.CustomContentTypesSettings=X=(0,k.ModuleSettingsForm)(X);var V=t.AfterTheDeadlineSettings=s.default.createClass({displayName:"AfterTheDeadlineSettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null," ",(0,c.translate)("Proofreading")," "),s.default.createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Automatically proofread content when: ")),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"onpublish"},this.props,{label:(0,c.translate)("A post or page is first published")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"onupdate"},this.props,{label:(0,c.translate)("A post or page is updated")}))),s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null," ",(0,c.translate)("Automatic Language Detection")),s.default.createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("The proofreader supports English, French, German, Portuguese and Spanish.")),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"guess_lang"},this.props,{label:(0,c.translate)("Use automatically detected language to proofread posts and pages")}))),s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null," ",(0,c.translate)("English Options")," "),s.default.createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Enable proofreading for the following grammar and style rules: ")),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"Bias Language"},this.props,{label:(0,c.translate)("Bias Language")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"Cliches"},this.props,{label:(0,c.translate)("Clichés")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"Complex Expression"},this.props,{label:(0,c.translate)("Complex Phrases")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"Diacritical Marks"},this.props,{label:(0,c.translate)("Diacritical Marks")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"Double Negative"},this.props,{label:(0,c.translate)("Double Negatives")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"Hidden Verbs"},this.props,{label:(0,c.translate)("Hidden Verbs")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"Jargon Language"},this.props,{label:(0,c.translate)("Jargon")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"Passive voice"},this.props,{label:(0,c.translate)("Passive Voice")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"Phrases to Avoid"},this.props,{label:(0,c.translate)("Phrases to Avoid")})),s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"Redundant Expression"},this.props,{label:(0,c.translate)("Redundant Phrases")}))),s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormLegend,null,(0,c.translate)("Ignored Phrases")),s.default.createElement(M.default,{name:"ignored_phrases",placeholder:(0,c.translate)("Add a phrase"),value:""!==this.props.getOptionValue("ignored_phrases")?this.props.getOptionValue("ignored_phrases").split(","):[],onChange:this.props.onOptionChange})),s.default.createElement(z.FormFieldset,null,s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.AfterTheDeadlineSettings=V=(0,k.ModuleSettingsForm)(V);var J=t.MarkdownSettings=s.default.createClass({displayName:"MarkdownSettings",render:function(){return s.default.createElement("form",{onSubmit:this.props.onSubmit},s.default.createElement(z.FormFieldset,null,s.default.createElement(S.ModuleSettingCheckbox,(0,o.default)({name:"wpcom_publish_comments_with_markdown"},this.props,{label:(0,c.translate)("Use Markdown for comments")})),s.default.createElement(z.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.MarkdownSettings=J=(0,k.ModuleSettingsForm)(J);var K=t.SitemapsSettings=s.default.createClass({displayName:"SitemapsSettings",render:function(){var e=(0,A.default)(this.props,["module","extra","sitemap_url"],""),t=(0,A.default)(this.props,["module","extra","news_sitemap_url"],"");return s.default.createElement("div",null,s.default.createElement("p",null,(0,c.translate)("Search engines will find the sitemaps at these locations:")),s.default.createElement("p",null,(0,c.translate)("Sitemap: {{a}}%(url)s{{/a}}",{components:{a:s.default.createElement("a",{href:e,target:"_blank"})},args:{url:e}})),s.default.createElement("p",null,(0,c.translate)("News Sitemap: {{a}}%(url)s{{/a}}",{components:{a:s.default.createElement("a",{href:t,target:"_blank"})},args:{url:t}})))}});t.SitemapsSettings=K=(0,k.ModuleSettingsForm)(K)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(142),i=r(o),s=n(747),c=r(s);n(943),t.default=i.default.createClass({displayName:"TextInput",getDefaultProps:function(){return{isError:!1,isValid:!1,selectOnFocus:!1,type:"text"}},focus:function(){this.refs.textField.focus()},render:function(){var e=this.props,t=e.className,n=e.selectOnFocus,r=(0,c.default)(t,{"dops-text-input":!0,"is-error":this.props.isError,"is-valid":this.props.isValid});return i.default.createElement("input",a({},this.props,{ref:"textField",className:r,onClick:n?this.selectOnFocus:null}))},selectOnFocus:function(e){e.target.select()}}),e.exports=t.default},function(e,t){},,function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(142),o=n(747),i=n(946);n(964),e.exports=a.createClass({displayName:"Textarea",render:function(){return a.createElement("textarea",r({},i(this.props,"className"),{className:o(this.props.className,"dops-textarea")}),this.props.children)}})},function(e,t,n){var r=n(767),a=n(947),o=n(956),i=n(958),s=n(960),c=n(671),u=c(function(e,t){return null==e?{}:(t=r(o(t,1),String),i(e,a(s(e),t)))});e.exports=u},function(e,t,n){function r(e,t,n,r){var d=-1,p=o,f=!0,h=e.length,m=[],M=t.length;if(!h)return m;n&&(t=s(t,c(n))),r?(p=i,f=!1):t.length>=l&&(p=u,f=!1,t=new a(t));e:for(;++d<h;){var _=e[d],v=n?n(_):_;if(f&&v===v){for(var g=M;g--;)if(t[g]===v)continue e;m.push(_)}else p(t,v,r)||m.push(_)}return m}var a=n(948),o=n(950),i=n(953),s=n(767),c=n(954),u=n(955),l=200;e.exports=r},function(e,t,n){function r(e){var t=-1,n=e?e.length:0;for(this.__data__=new a;++t<n;)this.push(e[t])}var a=n(718),o=n(949);r.prototype.push=o,e.exports=r},function(e,t,n){function r(e){var t=this.__data__;if(a(e)){var n=t.__data__,r="string"==typeof e?n.string:n.hash;r[e]=o}else t.set(e,o)}var a=n(729),o="__lodash_hash_undefined__";e.exports=r},function(e,t,n){function r(e,t){return!!e.length&&a(e,t,0)>-1}var a=n(951);e.exports=r},function(e,t,n){function r(e,t,n){if(t!==t)return a(e,n);for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}var a=n(952);e.exports=r},function(e,t){function n(e,t,n){for(var r=e.length,a=t+(n?0:-1);n?a--:++a<r;){var o=e[a];if(o!==o)return a}return-1}e.exports=n},function(e,t){function n(e,t,n){for(var r=-1,a=e.length;++r<a;)if(n(t,e[r]))return!0;return!1}e.exports=n},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t,n){function r(e,t){var n=e.__data__;if(a(t)){var r=n.__data__,i="string"==typeof t?r.string:r.hash;return i[t]===o}return n.has(t)}var a=n(729),o="__lodash_hash_undefined__";e.exports=r},function(e,t,n){function r(e,t,n,c){c||(c=[]);for(var u=-1,l=e.length;++u<l;){var d=e[u];t>0&&s(d)&&(n||i(d)||o(d))?t>1?r(d,t-1,n,c):a(c,d):n||(c[c.length]=d)}return c}var a=n(957),o=n(680),i=n(682),s=n(681);e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}e.exports=n},function(e,t,n){function r(e,t){return e=Object(e),a(t,function(t,n){return n in e&&(t[n]=e[n]),t},{})}var a=n(959);e.exports=r},function(e,t){function n(e,t,n,r){var a=-1,o=e.length;for(r&&o&&(n=e[++a]);++a<o;)n=t(n,e[a],a,e);return n}e.exports=n},function(e,t,n){function r(e){for(var t=-1,n=s(e),r=a(e),c=r.length,l=o(e),d=!!l,p=l||[],f=p.length;++t<c;){var h=r[t];d&&("length"==h||i(h,f))||"constructor"==h&&(n||!u.call(e,h))||p.push(h)}return p}var a=n(961),o=n(678),i=n(670),s=n(684),c=Object.prototype,u=c.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){e=null==e?e:Object(e);var t=[];for(var n in e)t.push(n);return t}var a=n(962),o=n(963),i=Object.prototype,s=a?a.enumerate:void 0,c=i.propertyIsEnumerable;s&&!c.call({valueOf:1},"valueOf")&&(r=function(e){return o(s(e))}),e.exports=r},function(e,t,n){var r=n(462),a=r.Reflect;e.exports=a},function(e,t){function n(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}e.exports=n},function(e,t){},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(967),s=r(i),c=o.default.createClass({displayName:"JetpackTagsInput",getInitialState:function(){return{tags:this.props.value||[]}},handleChange:function(e){this.setState({tags:e}),this.props.onChange&&this.props.onChange({target:{name:this.props.name,value:e.join(",")}})},render:function(){var e=this.props;return o.default.createElement(s.default,{inputProps:{placeholder:e.placeholder},onChange:this.handleChange,value:this.state.tags})}});t.default=c,e.exports=t.default},function(e,t,n){var r,a,o;!function(i,s){a=[e,t,n(142)],r=s,o="function"==typeof r?r.apply(t,a):r,!(void 0!==o&&(e.exports=o))}(this,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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 s(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)}function c(e,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 u(e){for(var t=[],n=0;n<e.length;n++)t.indexOf(e[n])===-1&&t.push(e[n]);return t}function l(e){return window.clipboardData?window.clipboardData.getData("Text"):e.clipboardData?e.clipboardData.getData("text/plain"):""}function d(e){var t=e.tag,n=e.key,r=e.disabled,a=e.onRemove,o=e.classNameRemove,i=e.getTagDisplayValue,s=c(e,["tag","key","disabled","onRemove","classNameRemove","getTagDisplayValue"]);return m.default.createElement("span",_({key:n},s),i(t),!r&&m.default.createElement("a",{className:o,onClick:function(e){return a(n)}}))}function p(e){var t=e.onChange,n=e.value,r=(e.addTag,c(e,["onChange","value","addTag"]));return m.default.createElement("input",_({type:"text",onChange:t,value:n},r))}function f(e,t){return m.default.createElement("span",null,e,t)}function h(e){return e.split(" ").map(function(e){return e.trim()})}Object.defineProperty(t,"__esModule",{value:!0});var m=r(n),M=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};d.propTypes={key:m.default.PropTypes.number,tag:m.default.PropTypes.string,onRemove:m.default.PropTypes.func,classNameRemove:m.default.PropTypes.string,getTagDisplayValue:m.default.PropTypes.func},p.propTypes={value:m.default.PropTypes.string,onChange:m.default.PropTypes.func,addTag:m.default.PropTypes.func};var v={className:"react-tagsinput-input",placeholder:"Add a tag"},g=function(e){function t(){o(this,t);var e=i(this,Object.getPrototypeOf(t).call(this));return e.state={tag:"",isFocused:!1},e.focus=e.focus.bind(e),e.blur=e.blur.bind(e),e}return s(t,e),M(t,[{key:"_getTagDisplayValue",value:function(e){var t=this.props.tagDisplayProp;return t?e[t]:e}},{key:"_makeTag",value:function(e){var t=this.props.tagDisplayProp;return t?a({},t,e):e}},{key:"_removeTag",value:function(e){var t=this.props.value.concat([]);if(e>-1&&e<t.length){var n=t.splice(e,1);this.props.onChange(t,n,[e])}}},{key:"_clearInput",value:function(){this.setState({tag:""})}},{key:"_addTags",value:function(e){var t=this,n=this.props,r=n.validationRegex,a=n.onChange,o=n.onlyUnique,i=n.maxTags,s=n.value;if(o&&(e=u(e),e=e.filter(function(e){return s.every(function(n){return t._getTagDisplayValue(n)!==t._getTagDisplayValue(e)})})),e=e.filter(function(e){return r.test(t._getTagDisplayValue(e))}),e=e.filter(function(e){var n=t._getTagDisplayValue(e);return"function"==typeof n.trim?n.trim().length>0:n}),i>=0){var c=Math.max(i-s.length,0);e=e.slice(0,c)}if(e.length>0){for(var l=s.concat(e),d=[],p=0;p<e.length;p++)d.push(s.length+p);return a(l,e,d),this._clearInput(),!0}return this._clearInput(),!1}},{key:"focus",value:function(){this.refs.input&&"function"==typeof this.refs.input.focus&&this.refs.input.focus(),this.handleOnFocus()}},{key:"blur",value:function(){this.refs.input&&"function"==typeof this.refs.input.blur&&this.refs.input.blur(),this.handleOnBlur()}},{key:"accept",value:function(){var e=this.state.tag;return""!==e&&(e=this._makeTag(e),this._addTags([e]))}},{key:"addTag",value:function(e){return this._addTags([e])}},{key:"clearInput",value:function(){this._clearInput()}},{key:"handlePaste",value:function(e){var t=this,n=this.props,r=n.addOnPaste,a=n.pasteSplit;if(r){e.preventDefault();var o=l(e),i=a(o).map(function(e){return t._makeTag(e)});this._addTags(i)}}},{key:"handleKeyDown",value:function(e){if(!e.defaultPrevented){var t=this.props,n=t.value,r=t.removeKeys,a=t.addKeys,o=this.state.tag,i=""===o,s=e.keyCode,c=a.indexOf(s)!==-1,u=r.indexOf(s)!==-1;if(c){var l=this.accept();(l||13===s)&&e.preventDefault()}u&&n.length>0&&i&&(e.preventDefault(),this._removeTag(n.length-1))}}},{key:"handleClick",value:function(e){e.target===this.refs.div&&this.focus()}},{key:"handleChange",value:function(e){var t=this.props.inputProps.onChange,n=e.target.value;t&&t(e),this.setState({tag:n})}},{key:"handleOnFocus",value:function(e){var t=this.props.inputProps.onFocus;t&&t(e),this.setState({isFocused:!0})}},{key:"handleOnBlur",value:function(e){var t=this.props.inputProps.onBlur;if(this.setState({isFocused:!1}),null!=e&&(t&&t(e),this.props.addOnBlur)){var n=this._makeTag(e.target.value);this._addTags([n])}}},{key:"handleRemove",value:function(e){this._removeTag(e)}},{key:"inputProps",value:function(){var e=this.props.inputProps,t=(e.onChange,e.onFocus,e.onBlur,c(e,["onChange","onFocus","onBlur"])),n=_({},v,t);return this.props.disabled&&(n.disabled=!0),n}},{key:"componentDidMount",value:function(){this.setState({tag:this.props.currentValue})}},{key:"componentWillReceiveProps",value:function(e){e.currentValue&&this.setState({tag:e.currentValue})}},{key:"render",value:function(){var e=this,t=this.props,n=t.value,r=(t.onChange,t.tagProps),a=t.renderLayout,o=t.renderTag,i=t.renderInput,s=(t.addKeys,t.removeKeys,t.className),u=t.focusedClassName,l=(t.addOnBlur,t.addOnPaste,t.inputProps,t.pasteSplit,t.onlyUnique,t.maxTags,t.validationRegex,t.disabled),d=(t.tagDisplayProp,c(t,["value","onChange","tagProps","renderLayout","renderTag","renderInput","addKeys","removeKeys","className","focusedClassName","addOnBlur","addOnPaste","inputProps","pasteSplit","onlyUnique","maxTags","validationRegex","disabled","tagDisplayProp"]),this.state),p=d.tag,f=d.isFocused;f&&(s+=" "+u);var h=n.map(function(t,n){return o(_({key:n,tag:t,onRemove:e.handleRemove.bind(e),disabled:l,getTagDisplayValue:e._getTagDisplayValue.bind(e)},r))}),M=i(_({ref:"input",value:p,onPaste:this.handlePaste.bind(this),onKeyDown:this.handleKeyDown.bind(this),onChange:this.handleChange.bind(this),onFocus:this.handleOnFocus.bind(this),onBlur:this.handleOnBlur.bind(this),addTag:this.addTag.bind(this)},this.inputProps()));return m.default.createElement("div",{ref:"div",onClick:this.handleClick.bind(this),className:s},a(h,M))}}]),t}(m.default.Component);g.propTypes={focusedClassName:m.default.PropTypes.string,addKeys:m.default.PropTypes.array,addOnBlur:m.default.PropTypes.bool,addOnPaste:m.default.PropTypes.bool,currentValue:m.default.PropTypes.string,inputProps:m.default.PropTypes.object,onChange:m.default.PropTypes.func.isRequired,removeKeys:m.default.PropTypes.array,renderInput:m.default.PropTypes.func,renderTag:m.default.PropTypes.func,renderLayout:m.default.PropTypes.func,pasteSplit:m.default.PropTypes.func,tagProps:m.default.PropTypes.object,onlyUnique:m.default.PropTypes.bool,value:m.default.PropTypes.array.isRequired,maxTags:m.default.PropTypes.number,validationRegex:m.default.PropTypes.instanceOf(RegExp),disabled:m.default.PropTypes.bool,tagDisplayProp:m.default.PropTypes.string
31
+ },g.defaultProps={className:"react-tagsinput",focusedClassName:"react-tagsinput--focused",currentValue:"",addKeys:[9,13],addOnBlur:!1,addOnPaste:!1,inputProps:{},removeKeys:[8],renderInput:p,renderTag:d,renderLayout:f,pasteSplit:h,tagProps:{className:"react-tagsinput-tag",classNameRemove:"react-tagsinput-remove"},onlyUnique:!1,maxTags:-1,validationRegex:/.*/,disabled:!1,tagDisplayProp:null},t.default=g,e.exports=t.default})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(142),i=r(o),s=n(747),c=r(s),u=n(946),l=r(u),d=n(969),p=r(d),f=n(942),h=r(f);n(978),t.default=i.default.createClass({displayName:"ClipboardButtonInput",propTypes:{value:o.PropTypes.string,disabled:o.PropTypes.bool,className:o.PropTypes.string,copied:o.PropTypes.string,copy:o.PropTypes.string,prompt:o.PropTypes.string},getInitialState:function(){return{isCopied:!1,disabled:!1}},getDefaultProps:function(){return{value:""}},componentWillUnmount:function(){clearTimeout(this.confirmationTimeout),delete this.confirmationTimeout},showConfirmation:function(){var e=this;this.setState({isCopied:!0}),this.confirmationTimeout=setTimeout(function(){e.setState({isCopied:!1})},4e3)},render:function(){return i.default.createElement("span",{className:(0,c.default)("dops-clipboard-button-input",this.props.className)},i.default.createElement(h.default,a({},(0,l.default)(this.props,"className"),{type:"text",selectOnFocus:!0,readOnly:!0})),i.default.createElement(p.default,{text:this.props.value,onCopy:this.showConfirmation,disabled:this.props.disabled,prompt:this.props.prompt,compact:!0},this.state.isCopied?this.props.copied:this.props.copy))}}),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(837),i=r(o),s=n(1),c=n(142),u=n(970),l=n(946),d=n(806),p=n(747);e.exports=c.createClass({displayName:"ClipboardButton",propTypes:{className:c.PropTypes.string,text:c.PropTypes.string,prompt:c.PropTypes.string,onCopy:c.PropTypes.func},getDefaultProps:function(){return{onCopy:d}},componentDidMount:function(){var e=this,t=s.findDOMNode(this.refs.button);this.clipboard=new u(t,{text:function(){return e.props.text}}),this.clipboard.on("success",this.props.onCopy),this.clipboard.on("error",this.displayPrompt)},componentWillUnmount:function(){this.clipboard.destroy(),delete this.clipboard},displayPrompt:function(){window.prompt(this.props.prompt,this.props.text)},render:function(){var e=p("dops-clipboard-button",this.props.className);return c.createElement(i.default,a({ref:"button"},l(this.props,Object.keys(this.constructor.propTypes)),{className:e}))}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}t.__esModule=!0;var s=n(971),c=r(s),u=n(973),l=r(u),d=n(974),p=r(d),f=function(e){function t(n,r){a(this,t),e.call(this),this.resolveOptions(r),this.listenClick(n)}return o(t,e),t.prototype.resolveOptions=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText},t.prototype.listenClick=function(e){var t=this;this.listener=p.default(e,"click",function(e){return t.onClick(e)})},t.prototype.onClick=function(e){this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new c.default({action:this.action(e.target),target:this.target(e.target),text:this.text(e.target),trigger:e.target,emitter:this})},t.prototype.defaultAction=function(e){return i("action",e)},t.prototype.defaultTarget=function(e){var t=i("target",e);if(t)return document.querySelector(t)},t.prototype.defaultText=function(e){return i("text",e)},t.prototype.destroy=function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)},t}(l.default);t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(972),s=r(i),c=function(){function e(t){a(this,e),this.resolveOptions(t),this.initSelection()}return e.prototype.resolveOptions=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.action=e.action,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""},e.prototype.initSelection=function(){if(this.text&&this.target)throw new Error('Multiple attributes declared, use either "target" or "text"');if(this.text)this.selectFake();else{if(!this.target)throw new Error('Missing required attributes, use either "target" or "text"');this.selectTarget()}},e.prototype.selectFake=function(){var e=this;this.removeFake(),this.fakeHandler=document.body.addEventListener("click",function(){return e.removeFake()}),this.fakeElem=document.createElement("textarea"),this.fakeElem.style.position="absolute",this.fakeElem.style.left="-9999px",this.fakeElem.style.top=(window.pageYOffset||document.documentElement.scrollTop)+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,document.body.appendChild(this.fakeElem),this.selectedText=s.default(this.fakeElem),this.copyText()},e.prototype.removeFake=function(){this.fakeHandler&&(document.body.removeEventListener("click"),this.fakeHandler=null),this.fakeElem&&(document.body.removeChild(this.fakeElem),this.fakeElem=null)},e.prototype.selectTarget=function(){this.selectedText=s.default(this.target),this.copyText()},e.prototype.copyText=function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)},e.prototype.handleResult=function(e){e?this.emitter.emit("success",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)}):this.emitter.emit("error",{action:this.action,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})},e.prototype.clearSelection=function(){this.target&&this.target.blur(),window.getSelection().removeAllRanges()},e.prototype.destroy=function(){this.removeFake()},o(e,[{key:"action",set:function(){var e=arguments.length<=0||void 0===arguments[0]?"copy":arguments[0];if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!=typeof e||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');this._target=e}},get:function(){return this._target}}]),e}();t.default=c,e.exports=t.default},function(e,t){function n(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)e.focus(),e.setSelectionRange(0,e.value.length),t=e.value;else{e.hasAttribute("contenteditable")&&e.focus();var n=window.getSelection(),r=document.createRange();r.selectNodeContents(e),n.removeAllRanges(),n.addRange(r),t=n.toString()}return t}e.exports=n},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function r(){a.off(e,r),t.apply(n,arguments)}var a=this;return r._=t,this.on(e,r,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,a=n.length;for(r;r<a;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],a=[];if(r&&t)for(var o=0,i=r.length;o<i;o++)r[o].fn!==t&&r[o].fn._!==t&&a.push(r[o]);return a.length?n[e]=a:delete n[e],this}},e.exports=n},function(e,t,n){function r(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(n))throw new TypeError("Third argument must be a Function");if(s.node(e))return a(e,t,n);if(s.nodeList(e))return o(e,t,n);if(s.string(e))return i(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function a(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}function o(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}function i(e,t,n){return c(document.body,e,t,n)}var s=n(975),c=n(976);e.exports=r},function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t}},function(e,t,n){function r(e,t,n,r,o){var i=a.apply(this,arguments);return e.addEventListener(n,i,o),{destroy:function(){e.removeEventListener(n,i,o)}}}function a(e,t,n,r){return function(n){n.delegateTarget=o(n.target,t),n.delegateTarget&&r.call(e,n)}}var o=n(977);e.exports=r},function(e,t){function n(e,t){for(;e&&e!==document;){if(e.matches(t))return e;e=e.parentNode}}if(Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}e.exports=n},function(e,t){},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(792),s=r(i),c=n(747),u=r(c),l=n(657),d=r(l),p=n(946),f=r(p),h=n(810),m=r(h);n(981),t.default=o.default.createClass({displayName:"ExternalLink",mixins:[s.default],propTypes:{className:o.default.PropTypes.string,href:o.default.PropTypes.string,onClick:o.default.PropTypes.func,icon:o.default.PropTypes.bool,iconSize:o.default.PropTypes.number},getDefaultProps:function(){return{iconSize:18}},render:function(){var e=(0,u.default)("dops-external-link",this.props.className,{"has-icon":!!this.props.icon}),t=(0,d.default)({},(0,f.default)(this.props,"icon","iconSize"),{className:e,rel:"external"});return o.default.createElement("a",t,this.props.children,this.props.icon?o.default.createElement(m.default,{icon:"external",size:this.props.iconSize}):null)}}),e.exports=t.default},function(e,t){},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FormButton=t.FormRadio=t.FormTextarea=t.FormTextInput=t.FormCheckbox=t.FormLegend=t.FormLabel=t.FormFieldset=void 0;var a=n(348),o=r(a),i=n(863),s=r(i),c=n(984),u=r(c),l=n(1003),d=r(l),p=n(466),f=n(837),h=r(f),m=n(142),M=n(863);t.FormFieldset=m.createClass({displayName:"FormFieldset",render:function(){return m.createElement("fieldset",(0,o.default)({},(0,u.default)(this.props,"className"),{className:M(this.props.className,"jp-form-fieldset")}),this.props.children)}}),t.FormLabel=m.createClass({displayName:"FormLabel",render:function(){return m.createElement("label",(0,o.default)({},(0,u.default)(this.props,"className"),{className:M(this.props.className,"jp-form-label")}),this.props.children)}}),t.FormLegend=m.createClass({displayName:"FormLegend",render:function(){return m.createElement("legend",(0,o.default)({},(0,u.default)(this.props,"className"),{className:M(this.props.className,"jp-form-legend")}),this.props.children)}}),t.FormCheckbox=m.createClass({displayName:"FormInputCheckbox",render:function(){var e=(0,u.default)(this.props,["className","type"]);return m.createElement("input",(0,o.default)({},e,{type:"checkbox",className:M(this.props.className,"jp-form-checkbox")}))}}),t.FormTextInput=m.createClass({displayName:"FormTextInput",getDefaultProps:function(){return{isError:!1,isValid:!1,selectOnFocus:!1,type:"text"}},focus:function(){this.refs.textField.focus()},render:function(){var e=this.props,t=e.className,n=e.selectOnFocus,r=(0,s.default)(t,{"jp-form-text-input":!0,"is-error":this.props.isError,"is-valid":this.props.isValid});return m.createElement("input",(0,o.default)({},this.props,{ref:"textField",className:r,onClick:n?this.selectOnFocus:null}))},selectOnFocus:function(e){e.target.select()}}),t.FormTextarea=m.createClass({displayName:"FormTextarea",render:function(){return m.createElement("textarea",(0,o.default)({},(0,u.default)(this.props,"className"),{className:M(this.props.className,"jp-form-textarea")}),this.props.children)}}),t.FormRadio=m.createClass({displayName:"FormRadio",render:function(){var e=(0,u.default)(this.props,["className","type"]);return m.createElement("input",(0,o.default)({},e,{type:"radio",className:M(this.props.className,"jp-form-radio")}))}}),t.FormButton=m.createClass({displayName:"FormsButton",getDefaultProps:function(){return{isSubmitting:!1,isPrimary:!0,type:"submit"}},getDefaultButtonAction:function(){return this.props.isSubmitting?(0,p.translate)("Saving…"):(0,p.translate)("Save Settings")},render:function(){var e=(0,s.default)({"jp-form-button":!0});return m.createElement(h.default,(0,o.default)({},(0,u.default)(this.props,"className"),{primary:this.props.isPrimary,className:M(this.props.className,e)}),(0,d.default)(this.props.children)?this.getDefaultButtonAction():this.props.children)}})},function(e,t,n){var r=n(430),a=n(985),o=n(988),i=n(990),s=n(995),c=n(433),u=i(function(e,t){return null==e?{}:(t=r(t,c),o(e,a(s(e),t)))});e.exports=u},function(e,t,n){function r(e,t,n,r){var d=-1,p=o,f=!0,h=e.length,m=[],M=t.length;if(!h)return m;n&&(t=s(t,c(n))),r?(p=i,f=!1):t.length>=l&&(p=u,f=!1,t=new a(t));e:for(;++d<h;){var _=e[d],v=n?n(_):_;if(_=r||0!==_?_:0,f&&v===v){for(var g=M;g--;)if(t[g]===v)continue e;m.push(_)}else p(t,v,r)||m.push(_)}return m}var a=n(613),o=n(986),i=n(987),s=n(430),c=n(394),u=n(617),l=200;e.exports=r},function(e,t,n){function r(e,t){var n=e?e.length:0;return!!n&&a(e,t,0)>-1}var a=n(642);e.exports=r},function(e,t){function n(e,t,n){for(var r=-1,a=e?e.length:0;++r<a;)if(n(t,e[r]))return!0;return!1}e.exports=n},function(e,t,n){function r(e,t){return e=Object(e),a(e,t,function(t,n){return n in e})}var a=n(989);e.exports=r},function(e,t,n){function r(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var s=t[r],c=e[s];n(c,s)&&a(i,s,c)}return i}var a=n(356);e.exports=r},function(e,t,n){function r(e){return i(o(e,void 0,a),e+"")}var a=n(991),o=n(373),i=n(375);e.exports=r},function(e,t,n){function r(e){var t=e?e.length:0;return t?a(e,1):[]}var a=n(992);e.exports=r},function(e,t,n){function r(e,t,n,i,s){var c=-1,u=e.length;for(n||(n=o),s||(s=[]);++c<u;){var l=e[c];t>0&&n(l)?t>1?r(l,t-1,n,i,s):a(s,l):i||(s[s.length]=l)}return s}var a=n(993),o=n(994);e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}e.exports=n},function(e,t,n){function r(e){return i(e)||o(e)||!!(s&&e&&e[s])}var a=n(429),o=n(387),i=n(389),s=a?a.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){function r(e){return a(e,i,o)}var a=n(996),o=n(997),i=n(1e3);e.exports=r},function(e,t,n){function r(e,t,n){var r=t(e);return o(e)?r:a(r,n(e))}var a=n(993),o=n(389);e.exports=r},function(e,t,n){var r=n(993),a=n(164),o=n(998),i=n(999),s=Object.getOwnPropertySymbols,c=s?function(e){for(var t=[];e;)r(t,o(e)),e=a(e);return t}:i;e.exports=c},function(e,t,n){var r=n(165),a=n(999),o=Object.getOwnPropertySymbols,i=o?r(o,Object):a;e.exports=i},function(e,t){function n(){return[]}e.exports=n},function(e,t,n){function r(e){return i(e)?a(e,!0):o(e)}var a=n(385),o=n(1001),i=n(380);e.exports=r},function(e,t,n){function r(e){if(!a(e))return i(e);var t=o(e),n=[];for(var r in e)("constructor"!=r||!t&&c.call(e,r))&&n.push(r);return n}var a=n(361),o=n(383),i=n(1002),s=Object.prototype,c=s.hasOwnProperty;e.exports=r},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){function r(e){if(c(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||d(e)||i(e)))return!e.length;var t=o(e);if(t==p||t==f)return!e.size;if(l(e))return!a(e).length;for(var n in e)if(m.call(e,n))return!1;return!0}var a=n(396),o=n(623),i=n(387),s=n(389),c=n(380),u=n(390),l=n(383),d=n(392),p="[object Map]",f="[object Set]",h=Object.prototype,m=h.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ModuleSettingMultipleSelectCheckboxes=t.ModuleSettingRadios=t.ModuleSettingCheckbox=void 0;var a=n(449),o=r(a),i=n(142),s=r(i),c=n(1005),u=r(c),l=n(1007),d=r(l),p=n(983),f=n(1009),h=r(f);t.ModuleSettingCheckbox=s.default.createClass({displayName:"ModuleSettingCheckbox",render:function(){var e=this.props;return s.default.createElement(p.FormLabel,null,s.default.createElement(h.default,{name:e.name,checked:!!e.getOptionValue(e.name),value:!!e.getOptionValue(e.name),disabled:e.isUpdating(e.name),onChange:e.onOptionChange}),s.default.createElement("span",null,e.label))}}),t.ModuleSettingRadios=s.default.createClass({displayName:"ModuleSettingRadios",render:function(){var e=this.props,t=this.props.validValues;return s.default.createElement("div",null,(0,o.default)(t).map(function(n){return s.default.createElement(p.FormLabel,{key:"option-"+e.option_name+"-"+n},s.default.createElement(p.FormRadio,{name:e.name,checked:n===e.getOptionValue(e.name),value:n,disabled:e.isUpdating(e.name),onChange:e.onOptionChange}),s.default.createElement("span",null,t[n]))}))}}),t.ModuleSettingMultipleSelectCheckboxes=s.default.createClass({displayName:"ModuleSettingMultipleSelectCheckboxes",getDefaultProps:function(){return{always_checked:[]}},onOptionChange:function(e){var t=e.target.value,n=this.props.getOptionValue(this.props.name),r=n.indexOf(t)===-1?(0,u.default)(n,t):(0,d.default)(n,t);this.props.updateFormStateOptionValue(this.props.name,r)},isAlwaysChecked:function(e){return this.props.always_checked.indexOf(e)!==-1},shouldBeChecked:function(e){return this.isAlwaysChecked(e)||this.props.getOptionValue(this.props.name).indexOf(e)!==-1},shouldBeDisabled:function(e){return this.isAlwaysChecked(e)||this.props.isUpdating(this.props.name)},render:function(){var e=this,t=this.props,n=this.props.validValues;return s.default.createElement("div",null,(0,o.default)(n).map(function(r){return s.default.createElement(p.FormLabel,{key:"option-"+t.option_name+"-"+r},s.default.createElement(h.default,{name:t.name,checked:e.shouldBeChecked(r),value:r,disabled:e.shouldBeDisabled(r),onChange:e.onOptionChange}),s.default.createElement("span",null,n[r].name))}))}})},function(e,t,n){function r(){var e=arguments.length;if(!e)return[];for(var t=Array(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return a(s(n)?i(n):[n],o(t,1))}var a=n(993),o=n(992),i=n(1006),s=n(389);e.exports=r},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}e.exports=n},function(e,t,n){var r=n(985),a=n(371),o=n(1008),i=a(function(e,t){return o(e)?r(e,t):[]});e.exports=i},function(e,t,n){function r(e){return o(e)&&a(e)}var a=n(380),o=n(166);e.exports=r},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(142),o=n(747),i=n(946);n(1010),e.exports=a.createClass({displayName:"Checkbox",propTypes:{disabled:a.PropTypes.bool,checked:a.PropTypes.bool},getDefaultProps:function(){return{disabled:!1}},render:function(){var e=i(this.props,["className","type"]);return a.createElement("input",r({},e,{type:"checkbox",className:o(this.props.className,"dops-checkbox")}))}})},function(e,t){},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=p.default.createClass({displayName:"SettingsForm",getInitialState:function(){return{options:{}}},onOptionChange:function(e){var t=e.target.name,n=void 0;n="checkbox"===e.target.type&&"undefined"!=typeof e.target.checked?e.target.checked:e.target.value,this.updateFormStateOptionValue(t,n)},updateFormStateOptionValue:function(e,t){var n=(0,l.default)({},this.state.options,(0,c.default)({},e,t));return this.setState({options:n}),this.props.setUnsavedOptionFlag(),!0},onSubmit:function(e){var t=this;e.preventDefault(),this.props.updateOptions(this.state.options).then(function(){t.setState({options:{}})}),this.props.clearUnsavedOptionFlag()},getOptionValue:function(e){var t=this.props.getOptionCurrentValue(this.props.module.module,e);return"undefined"!=typeof this.state.options[e]?this.state.options[e]:t},shouldSaveButtonBeDisabled:function(){var e=!1;return e=!this.isSavingAnyOption()&&this.isDirty(),!e},isDirty:function(){return!!(0,i.default)(this.state.options).length},isSavingAnyOption:function(){var e=this;return(0,i.default)(this.state.options).some(function(t){return e.props.isUpdating(t)})},render:function(){return p.default.createElement(e,(0,l.default)({getOptionValue:this.getOptionValue,onSubmit:this.onSubmit,onOptionChange:this.onOptionChange,updateFormStateOptionValue:this.updateFormStateOptionValue,shouldSaveButtonBeDisabled:this.shouldSaveButtonBeDisabled,isSavingAnyOption:this.isSavingAnyOption},this.props))}});return(0,f.connectModuleOptions)(t)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(449),i=r(o),s=n(453),c=r(s),u=n(348),l=r(u);t.ModuleSettingsForm=a;var d=n(142),p=r(d),f=n(1013)},function(e,t,n){"use strict";function r(e){return(0,a.connect)(function(e,t){return{validValues:function(n){return(0,o.getModuleOptionValidValues)(e,t.module.module,n)},getOptionCurrentValue:function(t,n){return(0,o.getModuleOption)(e,t,n)},getSiteRoles:function(){return(0,i.getSiteRoles)(e)},isUpdating:function(n){return(0,o.isUpdatingModuleOption)(e,t.module.module,n)},adminEmailAddress:(0,i.getAdminEmailAddress)(e),currentIp:(0,i.getCurrentIp)(e),siteAdminUrl:(0,i.getSiteAdminUrl)(e),isCurrentUserLinked:(0,s.isCurrentUserLinked)(e)}},function(e,t){return{updateOptions:function(n){return e((0,o.updateModuleOptions)(t.module.module,n))},regeneratePostByEmailAddress:function(){return e((0,o.regeneratePostByEmailAddress)())},setUnsavedOptionFlag:function(){return e((0,o.setUnsavedOptionFlag)())},clearUnsavedOptionFlag:function(){return e((0,o.clearUnsavedOptionFlag)())}}})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.connectModuleOptions=r;var a=n(154),o=n(447),i=n(347),s=n(639)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.Page=void 0;var o=n(449),i=r(o),s=n(142),c=r(s),u=n(154),l=n(857),d=r(l),p=n(837),f=r(p),h=n(810),m=r(h),M=n(466),_=n(916),v=(r(_),n(641)),g=r(v),b=n(656),y=r(b),A=n(938),T=r(A),L=n(926),E=r(L),w=n(447),z=n(922),S=n(940),k=n(639),O=n(692),N=n(347),C=t.Page=function(e){var t=e.toggleModule,n=e.isModuleActivated,r=e.isTogglingModule,o=e.getModule,s=(0,i.default)(e.moduleList),u=[["scan",(0,M.translate)("Security Scanning"),(0,M.translate)("Automated, comprehensive protection from threats and attacks."),"https://vaultpress.com/jetpack/"],["protect",o("protect").name,o("protect").description,o("protect").learn_more_button],["monitor",o("monitor").name,o("monitor").description,o("monitor").learn_more_button],["akismet","Akismet",(0,M.translate)("State-of-the-art spam defense."),"https://akismet.com/jetpack/"],["backups",(0,M.translate)("Site Backups"),(0,M.translate)("Automatically backup your entire site."),"https://vaultpress.com/jetpack/"],["sso",o("sso").name,o("sso").description,o("sso").learn_more_button]].map(function(i){var u=e.isUnavailableInDevMode(i[0]),l=u?(0,M.translate)("Unavailable in Dev Mode"):c.default.createElement(z.ModuleToggle,{slug:i[0],activated:n(i[0]),toggling:r(i[0]),toggleModule:t}),p=u?"devmode-disabled":"",h="scan"===i[0]||"akismet"===i[0]||"backups"===i[0],_={};return(0,g.default)(s,i[0])||h?(h&&(_={module:i[0],configure_url:""},l=c.default.createElement(E.default,{proFeature:i[0],siteAdminUrl:e.siteAdminUrl}),i[1]=c.default.createElement("span",null,i[1],c.default.createElement(f.default,{compact:!0,href:"#/plans"},(0,M.translate)("Pro"))),e.isFetchingPluginsData||("akismet"===i[0]&&e.isPluginActive("akismet/akismet.php")?_.configure_url=e.siteAdminUrl+"admin.php?page=akismet-key-config":"scan"!==i[0]&&"backups"!==i[0]||!e.isPluginActive("vaultpress/vaultpress.php")||(_.configure_url="https://dashboard.vaultpress.com/"))),c.default.createElement(d.default,{className:p,key:"module-card_"+i[0],header:i[1],subheader:i[2],summary:l,expandedSummary:l,clickableHeaderText:!0,onOpen:function(){return y.default.tracks.recordEvent("jetpack_wpa_settings_card_open",{card:i[0],path:e.route.path})}},n(i[0])||h?c.default.createElement(S.AllModuleSettings,{module:h?_:o(i[0])}):c.default.createElement("div",{dangerouslySetInnerHTML:a(o(i[0]))}),c.default.createElement("div",{className:"jp-module-settings__learn-more"},c.default.createElement(f.default,{borderless:!0,compact:!0,href:i[3]},c.default.createElement(m.default,{icon:"help-outline"}),c.default.createElement("span",{className:"screen-reader-text"},(0,M.translate)("Learn More")))))):null});return c.default.createElement("div",null,c.default.createElement(T.default,null),u)};t.default=(0,u.connect)(function(e){return{isModuleActivated:function(t){return(0,w.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,w.isActivatingModule)(e,t)||(0,w.isDeactivatingModule)(e,t)},getModule:function(t){return(0,w.getModule)(e,t)},isUnavailableInDevMode:function(t){return(0,k.isUnavailableInDevMode)(e,t)},isFetchingPluginsData:(0,O.isFetchingPluginsData)(e),isPluginActive:function(t){return(0,O.isPluginActive)(e,t)},moduleList:(0,w.getModules)(e),siteAdminUrl:(0,N.getSiteAdminUrl)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,w.deactivateModule)(t):(0,w.activateModule)(t))}}})(C)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.Page=void 0;var o=n(449),i=r(o),s=n(142),c=r(s),u=n(154),l=n(857),d=r(l),p=n(837),f=r(p),h=n(810),m=r(h),M=n(466),_=n(641),v=r(_),g=n(656),b=r(g),y=n(938),A=r(y),T=n(447),L=n(922),E=n(940),w=n(639),z=n(347),S=n(1016),k=r(S),O=t.Page=function(e){var t=e.toggleModule,n=e.isModuleActivated,r=e.isTogglingModule,o=e.getModule,s=e.userCanManageModules,u=(0,i.default)(e.moduleList),l=[["tiled-gallery",o("tiled-gallery").name,o("tiled-gallery").description,o("tiled-gallery").learn_more_button],["photon",o("photon").name,o("photon").description,o("photon").learn_more_button],["carousel",o("carousel").name,o("carousel").description,o("carousel").learn_more_button],["widgets",o("widgets").name,o("widgets").description,o("widgets").learn_more_button],["widget-visibility",o("widget-visibility").name,o("widget-visibility").description,o("widget-visibility").learn_more_button],["custom-css",o("custom-css").name,o("custom-css").description,o("custom-css").learn_more_button],["infinite-scroll",o("infinite-scroll").name,o("infinite-scroll").description,o("infinite-scroll").learn_more_button],["minileven",o("minileven").name,o("minileven").description,o("minileven").learn_more_button]].map(function(i){if(!(0,v.default)(u,i[0]))return null;var s=e.isUnavailableInDevMode(i[0]),l=s?(0,M.translate)("Unavailable in Dev Mode"):c.default.createElement(L.ModuleToggle,{slug:i[0],activated:n(i[0]),toggling:r(i[0]),toggleModule:t}),p=s?"devmode-disabled":"",h=n(i[0])?c.default.createElement(E.AllModuleSettings,{module:o(i[0])}):c.default.createElement("div",{dangerouslySetInnerHTML:a(o(i[0]))});return c.default.createElement(d.default,{className:p,key:"module-card_"+i[0],header:i[1],subheader:i[2],summary:l,expandedSummary:l,clickableHeaderText:!0,onOpen:function(){return b.default.tracks.recordEvent("jetpack_wpa_settings_card_open",{card:i[0],path:e.route.path})}},h,c.default.createElement("div",{className:"jp-module-settings__learn-more"},c.default.createElement(f.default,{borderless:!0,compact:!0,href:i[3]},c.default.createElement(m.default,{icon:"help-outline"}),c.default.createElement("span",{className:"screen-reader-text"},(0,M.translate)("Learn More")))))});return c.default.createElement("div",null,c.default.createElement(A.default,null),l,c.default.createElement(d.default,{header:(0,M.translate)("Holiday Snow"),subheader:(0,M.translate)("Show falling snow in the holiday period."),clickableHeaderText:!0,disabled:!s,summary:s?c.default.createElement(k.default,{slug:"snow"}):"",expandedSummary:s?c.default.createElement(k.default,{slug:"snow"}):"",onOpen:function(){return b.default.tracks.recordEvent("jetpack_wpa_settings_card_open",{card:"holiday_snow",path:e.route.path})}},c.default.createElement("span",{className:"jp-form-setting-explanation"},(0,M.translate)("Show falling snow on my blog from Dec 1st until Jan 4th."))))};t.default=(0,u.connect)(function(e){return{isModuleActivated:function(t){return(0,T.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,T.isActivatingModule)(e,t)||(0,T.isDeactivatingModule)(e,t)},getModule:function(t){return(0,T.getModule)(e,t)},isUnavailableInDevMode:function(t){return(0,w.isUnavailableInDevMode)(e,t)},userCanManageModules:(0,z.userCanManageModules)(e),moduleList:(0,T.getModules)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,T.deactivateModule)(t):(0,T.activateModule)(t))}}})(O)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=void 0;var a=n(453),o=r(a),i=n(142),s=r(i),c=n(154),u=(n(466),n(686)),l=n(1017),d=t.Settings=s.default.createClass({displayName:"Settings",propTypes:{slug:s.default.PropTypes.string,activated:s.default.PropTypes.bool,toggleSetting:s.default.PropTypes.func,disabled:s.default.PropTypes.bool},componentDidMount:function(){this.props.isFetchingSettingsList||this.props.fetchSettings()},render:function(){var e="snow"===this.props.slug?this.props.snowSlug:this.props.slug;return s.default.createElement("div",null,s.default.createElement(l.SettingToggle,{slug:e,activated:this.props.isSettingActivated(e),toggleSetting:this.props.toggleSetting,disabled:this.props.isFetchingSettingsList}))}});t.default=(0,c.connect)(function(e){return{snowSlug:(0,u.getSettingName)(e,"jetpack_holiday_snow_enabled"),isSettingActivated:function(t){return(0,u.isSettingActivated)(e,t)},isFetchingSettingsList:(0,u.isFetchingSettingsList)(e),settings:(0,u.fetchSettings)(e)}},function(e){return{fetchSettings:function(){return e((0,u.fetchSettings)())},toggleSetting:function(t,n){e((0,u.updateSetting)((0,o.default)({},t,!n)))}}})(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0
32
+ }),t.SettingToggle=void 0;var a=n(142),o=r(a),i=n(923),s=r(i);t.SettingToggle=o.default.createClass({displayName:"SettingToggle",propTypes:{toggleSetting:o.default.PropTypes.func,activated:o.default.PropTypes.bool,disabled:o.default.PropTypes.bool,className:o.default.PropTypes.string,id:o.default.PropTypes.string},getDefaultProps:function(){return{activated:!1}},toggleSetting:function(){return this.props.toggleSetting(this.props.slug,this.props.activated)},render:function(){return o.default.createElement(s.default,{checked:this.props.activated,className:this.props.className,onChange:this.toggleSetting,disabled:this.props.disabled,id:this.props.id}," ",this.props.children)}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.GeneralSettings=void 0;var o=n(449),i=r(o),s=n(142),c=r(s),u=n(154),l=n(857),d=r(l),p=n(837),f=r(p),h=n(810),m=r(h),M=n(466),_=n(641),v=r(_),g=n(656),b=r(g),y=n(1019),A=r(y),T=n(639),L=n(447),E=n(922),w=n(347),z=t.GeneralSettings=function(e){var t=e.toggleModule,n=e.isModuleActivated,r=e.isTogglingModule,o=e.getModule,s=e.userCanManageModules,u=(0,i.default)(e.moduleList),l=function(i){var l=e.isUnavailableInDevMode(i),p=l?"devmode-disabled":"",h="";return l?h=function(){return(0,M.translate)("Unavailable in Dev Mode")}:s&&(h=function(e){return c.default.createElement(E.ModuleToggle,{slug:e,activated:n(e),toggling:r(e),toggleModule:t})}),s&&(0,v.default)(u,i)?c.default.createElement(d.default,{className:p,header:o(i).name,subheader:o(i).description,clickableHeaderText:!0,disabled:!s,summary:s?h(i):"",expandedSummary:s?h(i):"",onOpen:function(){return b.default.tracks.recordEvent("jetpack_wpa_settings_card_open",{card:i,path:e.route.path})}},c.default.createElement("div",{className:"jp-form-setting-explanation"},c.default.createElement("div",{dangerouslySetInnerHTML:a(o(i))})),c.default.createElement("div",{className:"jp-module-settings__learn-more"},c.default.createElement(f.default,{borderless:!0,compact:!0,href:o(i).learn_more_button},c.default.createElement(m.default,{icon:"help-outline"}),c.default.createElement("span",{className:"screen-reader-text"},(0,M.translate)("Learn More"))))):null};return c.default.createElement("div",null,c.default.createElement(d.default,{header:(0,M.translate)("Connection Settings"),subheader:(0,M.translate)("Manage your Jetpack connection."),clickableHeaderText:!0,onOpen:function(){return b.default.tracks.recordEvent("jetpack_wpa_settings_card_open",{card:"connection_settings",path:e.route.path})}},c.default.createElement(A.default,e)),n("manage")?"":l("manage"),l("notes"),l("json-api"))};t.default=(0,u.connect)(function(e){return{isModuleActivated:function(t){return(0,L.isModuleActivated)(e,t)},getModule:function(t){return(0,L.getModule)(e,t)},isTogglingModule:function(t){return(0,L.isActivatingModule)(e,t)||(0,L.isDeactivatingModule)(e,t)},isUnavailableInDevMode:function(t){return(0,T.isUnavailableInDevMode)(e,t)},userCanManageModules:(0,w.userCanManageModules)(e),moduleList:(0,L.getModules)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,L.deactivateModule)(t):(0,L.activateModule)(t))},disconnectSite:function(){return e(T.disconnectSite)}}})(z)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(466),c=n(639),u=n(347),l=n(1020),d=r(l),p=n(836),f=r(p),h=o.default.createClass({displayName:"ConnectionSettings",renderContent:function(){var e=this.props.userCanDisconnectSite?o.default.createElement(f.default,null):null,t=this.props.userIsMaster?null:o.default.createElement(f.default,{connectUser:!0,from:"connection-settings"});return this.props.isDevMode?o.default.createElement("div",null,(0,s.translate)("The site is in Development Mode, so you can not connect to WordPress.com.")):o.default.createElement("div",null,this.props.isLinked?o.default.createElement("div",{className:"jp-connection-settings"},o.default.createElement("img",{alt:"gravatar",width:"75",height:"75",className:"jp-connection-settings__gravatar",src:this.props.userWpComAvatar}),o.default.createElement("div",{className:"jp-connection-settings__headline"},(0,s.translate)("You are connected as "),o.default.createElement("span",{className:"jp-connection-settings__username"},this.props.userWpComLogin)),o.default.createElement("div",{className:"jp-connection-settings__email"},this.props.userWpComEmail),o.default.createElement("div",{className:"jp-connection-settings__actions"},e,t)):o.default.createElement("div",{className:"jp-connection-settings"},o.default.createElement("div",{className:"jp-connection-settings__headline"},(0,s.translate)("Link your account to WordPress.com to get the most out of Jetpack.")),o.default.createElement("div",{className:"jp-connection-settings__actions"},e,t)))},render:function(){return o.default.createElement("div",null,this.renderContent(),o.default.createElement(d.default,null))}});h.propTypes={isDevMode:o.default.PropTypes.bool.isRequired,userCanDisconnectSite:o.default.PropTypes.bool.isRequired,userIsMaster:o.default.PropTypes.bool.isRequired,isLinked:o.default.PropTypes.bool.isRequired,userWpComLogin:o.default.PropTypes.any.isRequired,userWpComEmail:o.default.PropTypes.any.isRequired,userWpComAvatar:o.default.PropTypes.any.isRequired,username:o.default.PropTypes.any.isRequired},t.default=(0,i.connect)(function(e){return{isDevMode:(0,c.isDevMode)(e),userCanDisconnectSite:(0,u.userCanDisconnectSite)(e),userIsMaster:(0,u.userIsMaster)(e),userWpComLogin:(0,u.getUserWpComLogin)(e),userWpComEmail:(0,u.getUserWpComEmail)(e),userWpComAvatar:(0,u.getUserWpComAvatar)(e),username:(0,u.getUsername)(e),isLinked:(0,c.isCurrentUserLinked)(e)}})(h),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(841),o=r(a),i=n(844),s=r(i),c=n(845),u=r(c),l=n(846),d=r(l),p=n(847),f=r(p),h=n(142),m=n(154),M=n(161),_=n(639),v=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,o.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentWillMount",value:function(){this.props.fetchUserConnectionData()}},{key:"render",value:function(){return null}}]),t}(h.Component);v.defaultProps={fetchSiteConnectionStatus:function(){}},t.default=(0,m.connect)(function(){return{fetchUserConnectionData:(0,_.fetchUserConnectionData)()}},function(e){return(0,M.bindActionCreators)({fetchUserConnectionData:_.fetchUserConnectionData},e)})(v),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.Writing=void 0;var o=n(449),i=r(o),s=n(142),c=r(s),u=n(154),l=n(857),d=r(l),p=n(837),f=r(p),h=n(810),m=r(h),M=n(466),_=n(641),v=r(_),g=n(656),b=r(g),y=n(447),A=n(922),T=n(940),L=n(639),E=n(347),w=n(938),z=r(w),S=n(926),k=(r(S),t.Writing=function(e){var t=e.toggleModule,n=e.isModuleActivated,r=e.isTogglingModule,o=e.getModule,s=e.userCanManageModules,u=s,l=(0,i.default)(e.moduleList),p=[["shortlinks",o("shortlinks").name,o("shortlinks").description,o("shortlinks").learn_more_button],["shortcodes",o("shortcodes").name,o("shortcodes").description,o("shortcodes").learn_more_button],["videopress",o("videopress").name,o("videopress").description,o("videopress").learn_more_button],["contact-form",o("contact-form").name,o("contact-form").description,o("contact-form").learn_more_button],["after-the-deadline",o("after-the-deadline").name,o("after-the-deadline").description,o("after-the-deadline").learn_more_button],["markdown",o("markdown").name,o("markdown").description,o("markdown").learn_more_button],["post-by-email",o("post-by-email").name,o("post-by-email").description,o("post-by-email").learn_more_button],["latex",o("latex").name,o("latex").description,o("latex").learn_more_button],["custom-content-types",o("custom-content-types").name,o("custom-content-types").description,o("custom-content-types").learn_more_button]],h=["after-the-deadline","post-by-email"];if(!u){var _=p.slice();_.reverse().forEach(function(e){(0,v.default)(h,e[0])&&p.unshift(e)}),p=p.filter(function(e,t){return p.indexOf(e)===t})}return p=p.map(function(i,s){if(!(0,v.default)(l,i[0]))return null;var p=e.isUnavailableInDevMode(i[0]),_=p?"devmode-disabled":"",g="",y=u||(0,v.default)(h,i[0]);return p?g=(0,M.translate)("Unavailable in Dev Mode"):u&&(g=c.default.createElement(A.ModuleToggle,{slug:i[0],activated:n(i[0]),toggling:r(i[0]),toggleModule:t})),1===i.length?c.default.createElement("h1",{key:"section-header-"+s},i[0]):!!y&&c.default.createElement(d.default,{className:_,key:"module-card_"+i[0],header:i[1],subheader:i[2],summary:g,expandedSummary:g,clickableHeaderText:!0,onOpen:function(){return b.default.tracks.recordEvent("jetpack_wpa_settings_card_open",{card:i[0],path:e.route.path})}},n(i[0])||"scan"===i[0]?c.default.createElement(T.AllModuleSettings,{module:o(i[0])}):c.default.createElement("div",{dangerouslySetInnerHTML:a(o(i[0]))}),c.default.createElement("div",{className:"jp-module-settings__learn-more"},c.default.createElement(f.default,{borderless:!0,compact:!0,href:i[3]},c.default.createElement(m.default,{icon:"help-outline"}),c.default.createElement("span",{className:"screen-reader-text"},(0,M.translate)("Learn More")))))}),c.default.createElement("div",null,c.default.createElement(z.default,null),p)});t.default=(0,u.connect)(function(e){return{isModuleActivated:function(t){return(0,y.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,y.isActivatingModule)(e,t)||(0,y.isDeactivatingModule)(e,t)},getModule:function(t){return(0,y.getModule)(e,t)},isUnavailableInDevMode:function(t){return(0,L.isUnavailableInDevMode)(e,t)},userCanManageModules:(0,E.userCanManageModules)(e),moduleList:(0,y.getModules)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,y.deactivateModule)(t):(0,y.activateModule)(t))}}})(k)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(837),c=r(s),u=n(466),l=n(855),d=n(347),p=function(e){var t=e.userCanViewStats;return o.default.createElement("div",{className:"jp-landing__apps dops-card"},o.default.createElement("div",{className:"jp-landing-apps__header"},o.default.createElement("h2",{className:"jp-landing-apps__title"},(0,u.translate)("Powerful WordPress.com features on every device.")),o.default.createElement("p",{className:"jp-landing-apps__description"},(0,u.translate)("Manage all your sites from a single dashboard.")),o.default.createElement("div",{className:"jp-landing-apps__header-img-container"},o.default.createElement("div",{className:"jp-landing-apps__header-col-left"},o.default.createElement("h3",{className:"jp-landing-apps__subtitle"},(0,u.translate)("Feel the performance")),o.default.createElement("p",{className:"jp-landing-apps__sub-description"},(0,u.translate)("All the WordPress apps are built for speed. You'll notice the difference in performance immediately, with near-instant page-loads and less waiting around."))),o.default.createElement("div",{className:"jp-landing-apps__header-col-right"},o.default.createElement("svg",{className:"jp-landing-apps__header-img",width:"335",height:"233",viewBox:"0 0 1005 700",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},o.default.createElement("title",null,"Themes Container"),o.default.createElement("defs",null,o.default.createElement("rect",{id:"a",width:"1005",height:"700",rx:"8"}),o.default.createElement("rect",{id:"b",width:"335",height:"233",rx:"8"}),o.default.createElement("path",{id:"c",d:"M158 125h725v575H158z"}),o.default.createElement("path",{id:"e",d:"M20 9.9998V0H0v19.9996h20z"})),o.default.createElement("g",{fill:"none","fill-rule":"evenodd"},o.default.createElement("rect",{fill:"#F3F6F8",width:"1005",height:"700",rx:"8"}),o.default.createElement("use",{fill:"#F3F6F8",xlinkHref:"#a"}),o.default.createElement("rect",{fill:"#E9EFF3",width:"1005",height:"65",rx:"8"}),o.default.createElement("path",{d:"M27.5 31c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm50 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm-25 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5z",fill:"#4F748E"}),o.default.createElement("path",{fill:"#0087BE",d:"M0 47h1005v65H0"}),o.default.createElement("mask",{id:"d",fill:"#fff"},o.default.createElement("use",{xlinkHref:"#c"})),o.default.createElement("g",{mask:"url(#d)"},o.default.createElement("path",{fill:"#0087BE",d:"M197 245h194v194H197z"}),o.default.createElement("g",{transform:"translate(355 409)"},o.default.createElement("mask",{id:"f",fill:"#fff"},o.default.createElement("use",{xlinkHref:"#e"})),o.default.createElement("path",{d:"M9 15.7676l-4.884-4.884 1.768-1.767L9 12.2326l8.658-8.658C15.823 1.3906 13.075-.0004 10-.0004c-5.523 0-10 4.478-10 10 0 5.523 4.477 10 10 10s10-4.477 10-10c0-1.528-.353-2.971-.966-4.266L9 15.7676z",fill:"#FFF",mask:"url(#f)"})),o.default.createElement("path",{fill:"#E9EFF3",d:"M207 414h100v10H207z"}),o.default.createElement("path",{d:"M281.5 301.25h39v-9.75h-39v9.75zm29.25 29.25h9.75v-22.75h-9.75v22.75zm-29.25 0h22.75v-22.75H281.5v22.75zm39-45.5h-39c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.59125 2.90875 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5v-39c0-3.59125-2.90875-6.5-6.5-6.5zm-52 13c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.575 2.925 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5h-45.5V298z",fill:"#FFF"}),o.default.createElement("g",null,o.default.createElement("path",{fill:"#FFF",d:"M406 245h194v150H406zM406 399h194v40H406z"}),o.default.createElement("path",{fill:"#87A6BC",d:"M416 414h100v10H416zM490.5 301.25h39v-9.75h-39v9.75zm29.25 29.25h9.75v-22.75h-9.75v22.75zm-29.25 0h22.75v-22.75H490.5v22.75zm39-45.5h-39c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.59125 2.90875 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5v-39c0-3.59125-2.90875-6.5-6.5-6.5zm-52 13c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.575 2.925 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5h-45.5V298z"})),o.default.createElement("g",null,o.default.createElement("path",{fill:"#FFF",d:"M615 245h194v150H615zM615 399h194v40H615z"}),o.default.createElement("path",{fill:"#87A6BC",d:"M625 414h100v10H625zM699.5 301.25h39v-9.75h-39v9.75zm29.25 29.25h9.75v-22.75h-9.75v22.75zm-29.25 0h22.75v-22.75H699.5v22.75zm39-45.5h-39c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.59125 2.90875 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5v-39c0-3.59125-2.90875-6.5-6.5-6.5zm-52 13c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.575 2.925 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5h-45.5V298z"}))),o.default.createElement("g",{mask:"url(#d)"},o.default.createElement("path",{fill:"#FFF",d:"M197 454h194v150H197zM197 608h194v40H197z"}),o.default.createElement("path",{fill:"#87A6BC",d:"M207 623h100v10H207zM281.5 510.25h39v-9.75h-39v9.75zm29.25 29.25h9.75v-22.75h-9.75v22.75zm-29.25 0h22.75v-22.75H281.5v22.75zm39-45.5h-39c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.59125 2.90875 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5v-39c0-3.59125-2.90875-6.5-6.5-6.5zm-52 13c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.575 2.925 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5h-45.5V507z"}),o.default.createElement("g",null,o.default.createElement("path",{fill:"#FFF",d:"M406 454h194v150H406zM406 608h194v40H406z"}),o.default.createElement("path",{fill:"#87A6BC",d:"M416 623h100v10H416zM490.5 510.25h39v-9.75h-39v9.75zm29.25 29.25h9.75v-22.75h-9.75v22.75zm-29.25 0h22.75v-22.75H490.5v22.75zm39-45.5h-39c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.59125 2.90875 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5v-39c0-3.59125-2.90875-6.5-6.5-6.5zm-52 13c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.575 2.925 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5h-45.5V507z"})),o.default.createElement("g",null,o.default.createElement("path",{fill:"#FFF",d:"M615 454h194v150H615zM615 608h194v40H615z"}),o.default.createElement("path",{fill:"#87A6BC",d:"M625 623h100v10H625zM699.5 510.25h39v-9.75h-39v9.75zm29.25 29.25h9.75v-22.75h-9.75v22.75zm-29.25 0h22.75v-22.75H699.5v22.75zm39-45.5h-39c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.59125 2.90875 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5v-39c0-3.59125-2.90875-6.5-6.5-6.5zm-52 13c-3.59125 0-6.5 2.90875-6.5 6.5v39c0 3.575 2.925 6.5 6.5 6.5h39c3.59125 0 6.5-2.90875 6.5-6.5h-45.5V507z"}))),o.default.createElement("g",{mask:"url(#d)"},o.default.createElement("path",{fill:"#FFF",d:"M197 165h614v50H197z"}),o.default.createElement("path",{d:"M215.7777778 187.7222222c0-3.8291666 3.1152778-6.9444444 6.9444444-6.9444444 3.8291667 0 6.9444445 3.1152778 6.9444445 6.9444444 0 3.8291667-3.1152778 6.9444445-6.9444445 6.9444445-3.8291666 0-6.9444444-3.1152778-6.9444444-6.9444445zm22.2222222 12.5l-7.1583333-7.1583333c1.0111111-1.5333333 1.6027777-3.3680556 1.6027777-5.3416667 0-5.3694444-4.3527777-9.7222222-9.7222222-9.7222222C217.3527778 178 213 182.3527778 213 187.7222222c0 5.3694445 4.3527778 9.7222222 9.7222222 9.7222222 1.9736111 0 3.8083334-.5916666 5.3416667-1.6027777L235.2222222 203 238 200.2222222z",fill:"#87A6BC"})))))),o.default.createElement("div",{className:"jp-landing-apps__clouds jp-clouds-top"},o.default.createElement("img",{src:l.imagePath+"/white-clouds.svg"}))),o.default.createElement("div",{className:"jp-landing-apps__feature-container"},e.userCanManagePlugins?o.default.createElement("div",{className:"jp-landing-apps__feature"},o.default.createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-img"},o.default.createElement("svg",{width:"335",height:"233",viewBox:"0 0 1005 700",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},o.default.createElement("title",null,"Plugin Updates Container"),o.default.createElement("defs",null,o.default.createElement("rect",{id:"a",width:"1005",height:"700",rx:"8"}),o.default.createElement("rect",{id:"b",width:"335",height:"233",rx:"8"}),o.default.createElement("path",{id:"c",d:"M40 19.9996V0H0v39.9992h40z"}),o.default.createElement("path",{id:"e",d:"M40 19.9996V0H0v39.9992h40z"}),o.default.createElement("path",{id:"g",d:"M40 19.9996V0H0v39.9992h40z"}),o.default.createElement("path",{id:"i",d:"M40 19.9996V0H0v39.9992h40z"}),o.default.createElement("path",{id:"k",d:"M40 19.9996V0H0v39.9992h40z"})),o.default.createElement("g",{fill:"none","fill-rule":"evenodd"},o.default.createElement("g",null,o.default.createElement("rect",{fill:"#F3F6F8",width:"1005",height:"700",rx:"8"}),o.default.createElement("use",{fill:"#F3F6F8",xlinkHref:"#a"})),o.default.createElement("g",null,o.default.createElement("rect",{fill:"#E9EFF3",width:"1005",height:"65",rx:"8"}),o.default.createElement("path",{d:"M27.5 31c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm50 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm-25 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5z",fill:"#4F748E"})),o.default.createElement("path",{fill:"#0087BE",d:"M0 47h1005v65H0"}),o.default.createElement("g",null,o.default.createElement("path",{fill:"#FFF",d:"M196 176h614v85H196z"}),o.default.createElement("g",{transform:"translate(740 199)"},o.default.createElement("mask",{id:"d",fill:"#fff"},o.default.createElement("use",{xlinkHref:"#c"})),o.default.createElement("path",{d:"M18 31.5352l-9.768-9.768 3.536-3.534L18 24.4652l17.316-17.316c-3.67-4.368-9.166-7.15-15.316-7.15-11.046 0-20 8.956-20 20 0 11.046 8.954 20 20 20s20-8.954 20-20c0-3.056-.706-5.942-1.932-8.532L18 31.5352z",fill:"#4AB866",mask:"url(#d)"})),o.default.createElement("path",{fill:"#87A6BC",d:"M211 191h55v55h-55z"}),o.default.createElement("path",{d:"M244.5 213v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5h-6v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5H228v6c0 4.1865 2.4555 7.7895 6 9.4755V234h9v-5.5245c3.5445-1.686 6-5.289 6-9.4755v-6h-4.5z",fill:"#FFF"}),o.default.createElement("path",{fill:"#87A6BC",d:"M286 197h225v18H286z"}),o.default.createElement("path",{fill:"#A8BECE",d:"M286 225h165v14H286z"}),o.default.createElement("g",null,o.default.createElement("path",{fill:"#FFF",d:"M196 271h614v85H196z"}),o.default.createElement("g",{transform:"translate(740 294)"},o.default.createElement("mask",{id:"f",fill:"#fff"},o.default.createElement("use",{xlinkHref:"#e"})),o.default.createElement("path",{d:"M18 31.5352l-9.768-9.768 3.536-3.534L18 24.4652l17.316-17.316c-3.67-4.368-9.166-7.15-15.316-7.15-11.046 0-20 8.956-20 20 0 11.046 8.954 20 20 20s20-8.954 20-20c0-3.056-.706-5.942-1.932-8.532L18 31.5352z",fill:"#4AB866",mask:"url(#f)"})),o.default.createElement("path",{fill:"#87A6BC",d:"M211 286h55v55h-55z"}),o.default.createElement("path",{d:"M244.5 308v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5h-6v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5H228v6c0 4.1865 2.4555 7.7895 6 9.4755V329h9v-5.5245c3.5445-1.686 6-5.289 6-9.4755v-6h-4.5z",fill:"#FFF"}),o.default.createElement("g",null,o.default.createElement("path",{fill:"#87A6BC",d:"M286 292h225v18H286z"}),o.default.createElement("path",{fill:"#A8BECE",d:"M286 320h165v14H286z"}))),o.default.createElement("g",null,o.default.createElement("path",{fill:"#FFF",d:"M196 366h614v85H196z"}),o.default.createElement("g",{transform:"translate(740 389)"},o.default.createElement("mask",{id:"h",fill:"#fff"},o.default.createElement("use",{xlinkHref:"#g"})),o.default.createElement("path",{d:"M18 31.5352l-9.768-9.768 3.536-3.534L18 24.4652l17.316-17.316c-3.67-4.368-9.166-7.15-15.316-7.15-11.046 0-20 8.956-20 20 0 11.046 8.954 20 20 20s20-8.954 20-20c0-3.056-.706-5.942-1.932-8.532L18 31.5352z",fill:"#4AB866",mask:"url(#h)"})),o.default.createElement("path",{fill:"#87A6BC",d:"M211 381h55v55h-55z"}),o.default.createElement("path",{d:"M244.5 403v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5h-6v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5H228v6c0 4.1865 2.4555 7.7895 6 9.4755V424h9v-5.5245c3.5445-1.686 6-5.289 6-9.4755v-6h-4.5z",fill:"#FFF"}),o.default.createElement("g",null,o.default.createElement("path",{fill:"#87A6BC",d:"M286 387h225v18H286z"}),o.default.createElement("path",{fill:"#A8BECE",d:"M286 415h165v14H286z"}))),o.default.createElement("g",null,o.default.createElement("path",{fill:"#FFF",d:"M196 461h614v85H196z"}),o.default.createElement("g",{transform:"translate(740 484)"},o.default.createElement("mask",{id:"j",fill:"#fff"},o.default.createElement("use",{xlinkHref:"#i"})),o.default.createElement("path",{d:"M18 31.5352l-9.768-9.768 3.536-3.534L18 24.4652l17.316-17.316c-3.67-4.368-9.166-7.15-15.316-7.15-11.046 0-20 8.956-20 20 0 11.046 8.954 20 20 20s20-8.954 20-20c0-3.056-.706-5.942-1.932-8.532L18 31.5352z",fill:"#4AB866",mask:"url(#j)"})),o.default.createElement("path",{fill:"#87A6BC",d:"M211 476h55v55h-55z"}),o.default.createElement("path",{d:"M244.5 498v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5h-6v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5H228v6c0 4.1865 2.4555 7.7895 6 9.4755V519h9v-5.5245c3.5445-1.686 6-5.289 6-9.4755v-6h-4.5z",fill:"#FFF"}),o.default.createElement("g",null,o.default.createElement("path",{fill:"#87A6BC",d:"M286 482h225v18H286z"}),o.default.createElement("path",{fill:"#A8BECE",d:"M286 510h165v14H286z"}))),o.default.createElement("g",null,o.default.createElement("path",{fill:"#FFF",d:"M196 556h614v85H196z"}),o.default.createElement("g",{transform:"translate(740 579)"},o.default.createElement("mask",{id:"l",fill:"#fff"},o.default.createElement("use",{xlinkHref:"#k"})),o.default.createElement("path",{d:"M18 31.5352l-9.768-9.768 3.536-3.534L18 24.4652l17.316-17.316c-3.67-4.368-9.166-7.15-15.316-7.15-11.046 0-20 8.956-20 20 0 11.046 8.954 20 20 20s20-8.954 20-20c0-3.056-.706-5.942-1.932-8.532L18 31.5352z",fill:"#4AB866",mask:"url(#l)"})),o.default.createElement("path",{fill:"#87A6BC",d:"M211 571h55v55h-55z"}),o.default.createElement("path",{d:"M244.5 593v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5h-6v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5H228v6c0 4.1865 2.4555 7.7895 6 9.4755V614h9v-5.5245c3.5445-1.686 6-5.289 6-9.4755v-6h-4.5z",fill:"#FFF"}),o.default.createElement("g",null,o.default.createElement("path",{fill:"#87A6BC",d:"M286 577h225v18H286z"}),o.default.createElement("path",{fill:"#A8BECE",d:"M286 605h165v14H286z"}))))))),o.default.createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-desc"},o.default.createElement("h3",{className:"jp-landing__apps-feature-title"},(0,u.translate)("Bulk and automatic updates")),o.default.createElement("p",{className:"jp-landing__apps-feature-text"},(0,u.translate)("Most security flaws are found in outdated plugins. Use our Web and Desktop apps to turn on auto-updates or update plugins manually for all your websites in one convenient place.")),o.default.createElement(c.default,{href:"https://wordpress.com/plugins/"+e.siteRawUrl,className:"is-primary"},(0,u.translate)("Manage Plugins")))):null,e.userCanEditPosts?o.default.createElement("div",{className:"jp-landing-apps__feature"},o.default.createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-desc"},o.default.createElement("h3",{className:"jp-landing__apps-feature-title"},(0,u.translate)("Focus on your Writing")),o.default.createElement("p",{className:"jp-landing__apps-feature-text"},(0,u.translate)("Our new editor is lightning fast, optimized for writers and eliminates distractions, giving you the ability to focus on your work.")),o.default.createElement(c.default,{href:"https://wordpress.com/post/"+e.siteRawUrl,className:"is-primary"},(0,u.translate)("Try the New Editor"))),o.default.createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-img"},o.default.createElement("svg",{width:"335",height:"233",viewBox:"0 0 1005 700",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},o.default.createElement("title",null,"Editor Container"),o.default.createElement("defs",null,o.default.createElement("rect",{id:"a",width:"1005",height:"700",rx:"8"}),o.default.createElement("rect",{id:"b",width:"335",height:"233",rx:"8"})),o.default.createElement("g",{fill:"none","fill-rule":"evenodd"},o.default.createElement("g",null,o.default.createElement("rect",{fill:"#F3F6F8",width:"1005",height:"700",rx:"8"}),o.default.createElement("use",{fill:"#F3F6F8",xlinkHref:"#a"})),o.default.createElement("g",null,o.default.createElement("rect",{fill:"#E9EFF3",width:"1005",height:"65",rx:"8"}),o.default.createElement("path",{d:"M27.5 31c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm50 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm-25 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5z",fill:"#4F748E"})),o.default.createElement("path",{fill:"#0087BE",d:"M0 47h1005v65H0"}),o.default.createElement("g",null,o.default.createElement("g",{fill:"#87A6BC"},o.default.createElement("path",{d:"M356 450h70v25h-70zM583 450h85v25h-85zM446 450h117v25H446zM196 450h140v25H196z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M196 498h75v22h-75zM291 498h187v22H291zM498 498h96v22h-96zM614 498h163v22H614z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M196 545h100v22H196zM316 545h115v22H316zM451 545h58v22h-58zM529 545h180v22H529z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M196 592h57v22h-57zM270 592h104v22H270zM394 592h167v22H394z"}))),o.default.createElement("g",null,o.default.createElement("path",{fill:"#A8BECE",d:"M196 176h614v225H196z"}),o.default.createElement("path",{d:"M583 229H423v74.44L463 259l58.95 65.5 15.87-18.52c7.98-9.31 22.38-9.31 30.36 0L583 323.27V229zm20 0v120c0 11.05-8.95 20-20 20H423c-11.05 0-20-8.95-20-20V229c0-11.05 8.95-20 20-20h160c11.05 0 20 8.95 20 20zm-90 35c0-8.28 6.72-15 15-15 8.28 0 15 6.72 15 15 0 8.28-6.72 15-15 15-8.28 0-15-6.72-15-15z",fill:"#F3F6F8"})))))):null,t?o.default.createElement("div",{className:"jp-landing-apps__feature"},o.default.createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-img"},o.default.createElement("svg",{width:"335",height:"233",viewBox:"0 0 1005 700",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},o.default.createElement("title",null,"Stats Container"),o.default.createElement("defs",null,o.default.createElement("rect",{id:"a",width:"1005",height:"700",rx:"8"}),o.default.createElement("rect",{id:"b",width:"1005",height:"700",rx:"8"})),o.default.createElement("g",{fill:"none","fill-rule":"evenodd"},o.default.createElement("g",null,o.default.createElement("rect",{fill:"#F3F6F8",width:"1005",height:"700",rx:"8"}),o.default.createElement("use",{fill:"#F3F6F8",xlinkHref:"#a"})),o.default.createElement("g",null,o.default.createElement("rect",{fill:"#E9EFF3",width:"1005",height:"65",rx:"8"}),o.default.createElement("path",{d:"M27.5 31c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm50 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm-25 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5z",fill:"#4F748E"})),o.default.createElement("path",{fill:"#0087BE",d:"M0 47h1005v65H0"}),o.default.createElement("path",{fill:"#FFF",d:"M196 176h614v343H196z"}),o.default.createElement("g",{fill:"#87A6BC"},o.default.createElement("path",{d:"M253 329.2941176h58.8235294v152.507707H253zM547.117647 289.5882353h58.8235294v192.641314H547.117647zM694.176471 269h58.8235294v213.235294H694.176471zM326.5294118 345.4705882h58.8235294v136.454264h-58.8235294zM473.588235 321.9411765h58.8235294v160.534429H473.588235zM400.058824 305.7647059h58.8235294v176.587871H400.058824zM620.647059 305.7647059h58.8235294v176.587871H620.647059z"})),o.default.createElement("g",null,o.default.createElement("path",{fill:"#FFF",d:"M196 529h144v100H196zM352 529h144v100H352zM509 529h144v100H509zM665 529h144v100H665z"}),o.default.createElement("path",{fill:"#87A6BC",d:"M581.5 558l-5.8095 15.642-16.6905.6885 13.0995 10.35225L567.595 600.75l13.905-9.24525 13.905 9.24525-4.5045-16.06725L604 574.3305l-16.6905-.6885M715 562v22.5c0 2.7625 2.2375 5 5 5h22.5V602l13.3125-9.51c2.6275-1.875 4.1875-4.9075 4.1875-8.135V562c0-2.7625-2.2375-5-5-5h-35c-2.7625 0-5 2.2375-5 5M424.5 602s22.5 0 22.5-5.625c0-6.75-10.96875-14.0625-22.5-14.0625S402 589.625 402 596.375C402 602 424.5 602 424.5 602m0-45c6.212812 0 11.25 5.0371875 11.25 11.25s-5.037188 11.25-11.25 11.25-11.25-5.0371875-11.25-11.25S418.287188 557 424.5 557M268.5 589c-9.8575 0-17.315-6.21-20.9475-10 2.6-2.71 7.155-6.6425 13.135-8.6725-1.35 1.705-2.1875 3.83-2.1875 6.1725 0 5.5225 4.4775 10 10 10s10-4.4775 10-10c0-2.3425-.8375-4.4675-2.1875-6.1725 5.9825 2.03 10.54 5.9625 13.135 8.6725-3.6375 3.795-11.0925 10-20.9475 10m0-25c-17.03 0-27.5 15-27.5 15s10.47 15 27.5 15 27.5-15 27.5-15-10.47-15-27.5-15"}))))),o.default.createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-desc"},o.default.createElement("h2",null,(0,u.translate)("Connect with your Visitors")),o.default.createElement("p",null,(0,u.translate)("Monitor your visitors with advanced stats. Watch for trends, learn what content performs the best and understand your visitors from anywhere in the world.")),o.default.createElement(c.default,{href:"https://wordpress.com/stats/"+e.siteRawUrl,className:"is-primary"},(0,u.translate)("View Your Stats")))):"",o.default.createElement("div",{className:"jp-landing-apps__feature"},t?"":o.default.createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-img"},o.default.createElement("svg",{width:"335",height:"233",
33
+ viewBox:"0 0 1005 700",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},o.default.createElement("title",null,"Reader Container"),o.default.createElement("defs",null,o.default.createElement("rect",{id:"a",width:"1005",height:"700",rx:"8"}),o.default.createElement("rect",{id:"b",width:"335",height:"233",rx:"8"}),o.default.createElement("path",{id:"c",d:"M158 125h725v575H158z"})),o.default.createElement("g",{fill:"none","fill-rule":"evenodd"},o.default.createElement("rect",{fill:"#F3F6F8",width:"335",height:"233",rx:"8"}),o.default.createElement("use",{fill:"#F3F6F8",xlinkHref:"#a"}),o.default.createElement("rect",{fill:"#E9EFF3",width:"1005",height:"65",rx:"8"}),o.default.createElement("path",{d:"M27.5 31c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm50 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm-25 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5z",fill:"#4F748E"}),o.default.createElement("path",{fill:"#0087BE",d:"M0 47h1005v65H0"}),o.default.createElement("mask",{id:"d",fill:"#fff"},o.default.createElement("use",{xlinkHref:"#c"})),o.default.createElement("g",{mask:"url(#d)"},o.default.createElement("path",{fill:"#FFF",d:"M197 326h614v151H197z"}),o.default.createElement("g",{fill:"#87A6BC"},o.default.createElement("path",{d:"M377 346h70v20h-70zM467 346h117v20H467zM217 346h140v20H217z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 388h75v14h-75zM312 388h187v14H312zM519 388h96v14h-96zM635 388h100v14H635z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 415h100v14H217zM337 415h115v14H337zM472 415h58v14h-58zM550 415h200v14H550z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 442h57v14h-57zM291 442h104v14H291zM415 442h167v14H415z"})),o.default.createElement("g",null,o.default.createElement("path",{fill:"#A8BECE",d:"M197 176h614v150H197z"}),o.default.createElement("path",{d:"M544 221h-80v37.22L484 236l29.475 32.75 7.935-9.26c3.99-4.655 11.19-4.655 15.18 0l7.41 8.645V221zm10 0v60c0 5.525-4.475 10-10 10h-80c-5.525 0-10-4.475-10-10v-60c0-5.525 4.475-10 10-10h80c5.525 0 10 4.475 10 10zm-45 17.5c0-4.14 3.36-7.5 7.5-7.5 4.14 0 7.5 3.36 7.5 7.5 0 4.14-3.36 7.5-7.5 7.5-4.14 0-7.5-3.36-7.5-7.5z",fill:"#FFF"}))),o.default.createElement("g",{mask:"url(#d)"},o.default.createElement("path",{fill:"#FFF",d:"M197 705h614v151H197z"}),o.default.createElement("g",{fill:"#87A6BC"},o.default.createElement("path",{d:"M377 725h70v20h-70zM467 725h117v20H467zM217 725h140v20H217z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 767h75v14h-75zM312 767h187v14H312zM519 767h96v14h-96zM635 767h100v14H635z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 794h100v14H217zM337 794h115v14H337zM472 794h58v14h-58zM550 794h200v14H550z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 821h57v14h-57zM291 821h104v14H291zM415 821h167v14H415z"})),o.default.createElement("g",null,o.default.createElement("path",{fill:"#A8BECE",d:"M197 555h614v150H197z"}),o.default.createElement("path",{d:"M544 600h-80v37.22L484 615l29.475 32.75 7.935-9.26c3.99-4.655 11.19-4.655 15.18 0l7.41 8.645V600zm10 0v60c0 5.525-4.475 10-10 10h-80c-5.525 0-10-4.475-10-10v-60c0-5.525 4.475-10 10-10h80c5.525 0 10 4.475 10 10zm-45 17.5c0-4.14 3.36-7.5 7.5-7.5 4.14 0 7.5 3.36 7.5 7.5 0 4.14-3.36 7.5-7.5 7.5-4.14 0-7.5-3.36-7.5-7.5z",fill:"#FFF"})))))),o.default.createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-desc"},o.default.createElement("h2",null,(0,u.translate)("Connect with the Community")),o.default.createElement("p",null,(0,u.translate)("The WordPress apps all have impressively fast and full featured readers so you can catch up with your favorite sites and join the conversation anywhere, any time.")),o.default.createElement(c.default,{href:"https://wordpress.com/reader",className:"is-primary"},(0,u.translate)("Launch Reader"))),t?o.default.createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-img"},o.default.createElement("svg",{width:"335",height:"233",viewBox:"0 0 1005 700",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},o.default.createElement("title",null,"Reader Container"),o.default.createElement("defs",null,o.default.createElement("rect",{id:"a",width:"1005",height:"700",rx:"8"}),o.default.createElement("rect",{id:"b",width:"335",height:"233",rx:"8"}),o.default.createElement("path",{id:"c",d:"M158 125h725v575H158z"})),o.default.createElement("g",{fill:"none","fill-rule":"evenodd"},o.default.createElement("rect",{fill:"#F3F6F8",width:"335",height:"233",rx:"8"}),o.default.createElement("use",{fill:"#F3F6F8",xlinkHref:"#a"}),o.default.createElement("rect",{fill:"#E9EFF3",width:"1005",height:"65",rx:"8"}),o.default.createElement("path",{d:"M27.5 31c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm50 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm-25 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5z",fill:"#4F748E"}),o.default.createElement("path",{fill:"#0087BE",d:"M0 47h1005v65H0"}),o.default.createElement("mask",{id:"d",fill:"#fff"},o.default.createElement("use",{xlinkHref:"#c"})),o.default.createElement("g",{mask:"url(#d)"},o.default.createElement("path",{fill:"#FFF",d:"M197 326h614v151H197z"}),o.default.createElement("g",{fill:"#87A6BC"},o.default.createElement("path",{d:"M377 346h70v20h-70zM467 346h117v20H467zM217 346h140v20H217z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 388h75v14h-75zM312 388h187v14H312zM519 388h96v14h-96zM635 388h100v14H635z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 415h100v14H217zM337 415h115v14H337zM472 415h58v14h-58zM550 415h200v14H550z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 442h57v14h-57zM291 442h104v14H291zM415 442h167v14H415z"})),o.default.createElement("g",null,o.default.createElement("path",{fill:"#A8BECE",d:"M197 176h614v150H197z"}),o.default.createElement("path",{d:"M544 221h-80v37.22L484 236l29.475 32.75 7.935-9.26c3.99-4.655 11.19-4.655 15.18 0l7.41 8.645V221zm10 0v60c0 5.525-4.475 10-10 10h-80c-5.525 0-10-4.475-10-10v-60c0-5.525 4.475-10 10-10h80c5.525 0 10 4.475 10 10zm-45 17.5c0-4.14 3.36-7.5 7.5-7.5 4.14 0 7.5 3.36 7.5 7.5 0 4.14-3.36 7.5-7.5 7.5-4.14 0-7.5-3.36-7.5-7.5z",fill:"#FFF"}))),o.default.createElement("g",{mask:"url(#d)"},o.default.createElement("path",{fill:"#FFF",d:"M197 705h614v151H197z"}),o.default.createElement("g",{fill:"#87A6BC"},o.default.createElement("path",{d:"M377 725h70v20h-70zM467 725h117v20H467zM217 725h140v20H217z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 767h75v14h-75zM312 767h187v14H312zM519 767h96v14h-96zM635 767h100v14H635z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 794h100v14H217zM337 794h115v14H337zM472 794h58v14h-58zM550 794h200v14H550z"})),o.default.createElement("g",{fill:"#A8BECE"},o.default.createElement("path",{d:"M217 821h57v14h-57zM291 821h104v14H291zM415 821h167v14H415z"})),o.default.createElement("g",null,o.default.createElement("path",{fill:"#A8BECE",d:"M197 555h614v150H197z"}),o.default.createElement("path",{d:"M544 600h-80v37.22L484 615l29.475 32.75 7.935-9.26c3.99-4.655 11.19-4.655 15.18 0l7.41 8.645V600zm10 0v60c0 5.525-4.475 10-10 10h-80c-5.525 0-10-4.475-10-10v-60c0-5.525 4.475-10 10-10h80c5.525 0 10 4.475 10 10zm-45 17.5c0-4.14 3.36-7.5 7.5-7.5 4.14 0 7.5 3.36 7.5 7.5 0 4.14-3.36 7.5-7.5 7.5-4.14 0-7.5-3.36-7.5-7.5z",fill:"#FFF"})))))):"")),o.default.createElement("div",{className:"jp-landing-apps__footer"},o.default.createElement("div",{className:"jp-landing-apps__clouds jp-clouds-bottom"},o.default.createElement("img",{src:l.imagePath+"/white-clouds-reverse.svg"})),o.default.createElement("div",{className:"jp-landing-apps__footer-top"},o.default.createElement("h2",{className:"jp-landing-apps__title"},(0,u.translate)("Inspiration strikes any time, anywhere.")),o.default.createElement("p",{className:"jp-landing-apps__description"},(0,u.translate)("Get WordPress apps for any screen.")),o.default.createElement("img",{src:l.imagePath+"/apps/triple-devices.svg",className:"jp-landing-apps__devices"})),o.default.createElement("div",{className:"jp-landing-apps__downloads"},o.default.createElement("h3",{className:"jp-landing-apps__subtitle"},(0,u.translate)("In Your Pocket")),o.default.createElement("p",{className:"jp-landing-apps__sub-description"},(0,u.translate)("Publish content, track stats, moderate comments and so much more from anywhere in the world. Our mobile apps are open source, free and available to you on Apple or Android devices.")),o.default.createElement("p",{className:"jp-landing-apps__btn-container"},o.default.createElement(c.default,{href:"http://itunes.apple.com/us/app/wordpress/id335703880?mt=8",title:(0,u.translate)("WordPress.com in the App Store"),className:"jp-app-button button-ios"},o.default.createElement("svg",{width:"28",height:"28",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 96 96"},o.default.createElement("path",{d:"M74.7,62.2c-3.5-3.2-5.2-7.2-5.3-12.1c-0.1-6.2,2.8-11.1,8.5-14.5c-3.2-4.5-8-7.1-14.4-7.6c-2.4-0.2-5.2,0.3-8.7,1.5 c-3.6,1.3-5.7,2-6.4,2c-0.8,0-2.8-0.6-5.7-1.7c-3-1.1-5.4-1.7-7.2-1.7c-3.4,0.1-6.5,0.9-9.4,2.6c-2.9,1.7-5.2,4-6.9,7 C17.1,41.5,16,45.9,16,51c0,4.4,0.8,9,2.4,13.8c1.5,4.4,3.5,8.2,5.8,11.6c2.2,3.1,4,5.3,5.5,6.6c2.3,2.1,4.6,3.2,6.9,3.1 c1.5-0.1,3.5-0.6,6-1.6c2.5-1,4.8-1.5,6.9-1.5c2,0,4.3,0.5,6.7,1.5c2.4,1,4.5,1.5,6.2,1.5c2.4-0.1,4.7-1,6.8-3 c1.4-1.2,3.1-3.3,5.3-6.4c1.6-2.2,2.9-4.7,4.1-7.3c0.5-1.1,0.9-2.3,1.3-3.5C78.1,64.9,76.3,63.7,74.7,62.2z M59.8,22.2 c2.8-3.3,4.2-6.8,4.2-10.6v0c0-0.5,0-1-0.1-1.5c-1.9,0.1-4,0.7-6.1,1.7c-2.2,1.1-4,2.4-5.4,4C49.6,19,48,22.9,48,26.5 c0,0.5,0,1,0.1,1.4C52.5,28.3,56.5,26.1,59.8,22.2z"})),"iOS"),o.default.createElement(c.default,{href:"http://play.google.com/store/apps/details?id=org.wordpress.android",title:(0,u.translate)("WordPress.com in Google Play"),className:"jp-app-button button-android"},o.default.createElement("svg",{width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 96 96"},o.default.createElement("path",{d:"M25,34.1c-2.1,0-4,1.7-4,3.7v16.6c0,2,1.9,3.7,4,3.7c2.1,0,4-1.7,4-3.7V37.8C29,35.7,27.1,34.1,25,34.1z M31,35v29.5 c0,1.1,0.5,2.5,1.6,2.5H37v8.8c0,2,1.9,3.7,4,3.7c2.1,0,4-1.7,4-3.7V67h6v8.8c0,2,1.9,3.7,4,3.7c2.1,0,4-1.7,4-3.7V67h4.4 c1.2,0,1.6-1.3,1.6-2.5V50V35h-1.6H31z M56.4,20.1l3-4.1c0.1-0.1,0-0.2-0.2-0.3c-0.2-0.1-0.4-0.1-0.4,0l-3.1,4.3 c-2.1-0.8-4.6-1.3-7.7-1.3c-3.1,0-5.7,0.5-7.8,1.3l-3.1-4.3c-0.1-0.1-0.3-0.1-0.4,0.1c-0.2,0.1-0.3,0.3-0.2,0.4l3,4 c-8.6,3.8-8.9,13-8.9,13h34.7C65.3,33,65,23.9,56.4,20.1z M40.4,27.8c-1.2,0-2.1-0.9-2.1-2.1c0-1.1,0.9-2.1,2.1-2.1 c1.2,0,2.1,0.9,2.1,2.1C42.5,26.9,41.5,27.8,40.4,27.8z M55.6,27.8c-1.2,0-2.1-0.9-2.1-2.1c0-1.1,0.9-2.1,2.1-2.1 c1.2,0,2.1,0.9,2.1,2.1C57.7,26.9,56.8,27.8,55.6,27.8z M71,34.1c-2.1,0-4,1.7-4,3.7v16.6c0,2,1.9,3.7,4,3.7c2.1,0,4-1.7,4-3.7V37.8 C75,35.7,73.1,34.1,71,34.1z"})),"Android")),o.default.createElement("h3",{className:"jp-landing-apps__subtitle"},(0,u.translate)("On Your Desktop")),o.default.createElement("p",{className:"jp-landing-apps__sub-description"},(0,u.translate)("A desktop app that gives WordPress a permanent home on your computer. Not to mention the distraction free environment you get writing outside of a web browser.")),o.default.createElement("p",{className:"jp-landing-apps__btn-container"},o.default.createElement(c.default,{href:"https://apps.wordpress.com/d/osx",title:(0,u.translate)("WordPress.com for Mac OS X"),className:"jp-app-button button-macosx"},o.default.createElement("svg",{width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},o.default.createElement("path",{d:"M24,8C15.163,8,8,15.163,8,24s7.163,16,16,16s16-7.163,16-16S32.837,8,24,8z M31.31,33.849h-0.986 l-6.31-9.152h-0.058l-6.31,9.152h-0.972l6.817-9.82l-6.846-9.878h0.986l6.339,9.181h0.058l6.353-9.181h0.972l-6.861,9.878 L31.31,33.849z"})),"Mac OS X"),o.default.createElement(c.default,{href:"https://apps.wordpress.com/d/windows",title:(0,u.translate)("WordPress.com for Windows"),className:"jp-app-button button-windows"},o.default.createElement("svg",{width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},o.default.createElement("path",{d:"M8,35.5l13,2.031V25H8V35.5z M8,24h13V10.172L8,12V24z M22,37.688L40,40.5V25H22V37.688z M22,10.031 V24h18V7.5L22,10.031z"})),"Windows"),o.default.createElement(c.default,{href:"https://apps.wordpress.com/d/linux",title:(0,u.translate)("WordPress.com for Linux"),className:"jp-app-button button-linux"},o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"24",viewBox:"0 0 21 24"},o.default.createElement("path",{d:"M9.8 5.9C9.8 5.9 9.8 5.9 9.8 5.9L9.7 5.9C9.6 5.9 9.6 5.9 9.5 5.8 9.5 5.8 9.4 5.7 9.4 5.6 9.4 5.5 9.4 5.5 9.5 5.5L9.7 5.6C9.8 5.7 9.8 5.8 9.8 5.9M8.4 5.1C8.4 4.7 8.3 4.4 8 4.4 8 4.4 8 4.5 7.9 4.5L7.9 4.7 8.2 4.7C8.2 4.8 8.3 4.9 8.3 5.1L8.4 5.1M11.2 4.7C11.3 4.7 11.4 4.8 11.5 5.1L11.7 5.1C11.6 5 11.6 4.9 11.6 4.8 11.6 4.8 11.6 4.7 11.5 4.6 11.4 4.5 11.3 4.4 11.3 4.4 11.3 4.4 11.2 4.5 11.1 4.5 11.1 4.6 11.2 4.6 11.2 4.7M8.8 5.9C8.7 5.9 8.7 5.9 8.7 5.9 8.7 5.8 8.7 5.7 8.8 5.6 9 5.6 9.1 5.5 9.1 5.5 9.1 5.5 9.1 5.6 9.1 5.6 9.1 5.7 9.1 5.8 8.9 5.9L8.8 5.9M7.9 5.9C7.6 5.7 7.6 5.5 7.6 5.1 7.6 4.8 7.6 4.7 7.7 4.5 7.8 4.4 7.9 4.3 8.1 4.3 8.3 4.3 8.3 4.4 8.5 4.5 8.6 4.8 8.7 5 8.7 5.2L8.7 5.3 8.7 5.4 8.7 5.4 8.7 5.3C8.8 5.3 8.8 5.2 8.8 4.8 8.8 4.6 8.8 4.4 8.7 4.1 8.5 3.9 8.3 3.7 8 3.7 7.8 3.7 7.6 3.9 7.5 4.1 7.3 4.4 7.3 4.7 7.3 5.1 7.3 5.4 7.4 5.7 7.7 6 7.8 5.9 7.9 5.9 7.9 5.9M17.8 17C17.9 17 17.9 17 17.9 16.9 17.9 16.7 17.8 16.5 17.6 16.3 17.3 16 16.9 15.9 16.5 15.8 16.4 15.8 16.3 15.8 16.3 15.8 16.2 15.8 16.2 15.8 16.2 15.8 16.1 15.8 15.9 15.8 15.8 15.8 16.1 15 16.2 14.4 16.2 13.8 16.2 13 16 12.5 15.7 12 15.4 11.5 15.1 11.3 14.7 11.2 14.6 11.3 14.6 11.3 14.6 11.4 15 11.5 15.4 11.8 15.6 12.3 15.8 12.9 15.9 13.3 15.9 13.9 15.9 14.3 15.8 15 15.5 15.8 15.2 16 14.9 16.3 14.7 16.7 14.7 16.8 14.7 16.8 14.7 16.8 14.7 16.8 14.8 16.8 14.9 16.6 15.1 16.5 15.1 16.3 15.3 16.2 15.5 16.1 15.7 16 15.9 16 16.3 16 16.7 16.1 16.9 16.2 17.3 16.3 17.4 16.4 17.5 16.5 17.6 16.6 17.7 16.7 17.7 16.8 17.7 16.9 17.8 17 17.8 17M10.6 5.5C10.5 5.5 10.5 5.3 10.5 5.2 10.5 4.8 10.5 4.7 10.6 4.4 10.8 4.3 10.9 4.2 11.1 4.2 11.3 4.2 11.5 4.4 11.7 4.5 11.7 4.8 11.8 4.9 11.8 5.2 11.8 5.5 11.7 5.8 11.3 5.9 11.3 5.9 11.4 5.9 11.5 5.9 11.7 5.9 11.7 6 11.9 6.1 12 5.6 12.1 5.3 12.1 4.9 12.1 4.4 12 4.1 11.8 3.9 11.6 3.7 11.3 3.6 11 3.6 10.8 3.6 10.6 3.7 10.3 3.8 10.2 4 10.1 4.2 10.1 4.4 10.1 4.8 10.2 5.2 10.3 5.5 10.4 5.5 10.5 5.5 10.6 5.5M11.5 6.8C10.5 7.5 9.7 7.8 9.1 7.8 8.5 7.8 7.9 7.6 7.5 7.2 7.6 7.4 7.6 7.5 7.7 7.6L8.2 8.1C8.5 8.4 8.9 8.5 9.3 8.5 9.8 8.5 10.5 8.2 11.3 7.7L12 7.2C12.1 7 12.3 6.9 12.3 6.7 12.3 6.6 12.3 6.5 12.2 6.5 12.1 6.3 11.7 6.1 10.9 5.9 10.2 5.5 9.7 5.4 9.4 5.4 9.1 5.4 8.7 5.5 8.2 5.9 7.7 6.2 7.4 6.5 7.4 6.8 7.4 6.8 7.5 6.9 7.6 7 8 7.4 8.5 7.7 9 7.7 9.6 7.7 10.4 7.4 11.4 6.6L11.4 6.7C11.5 6.7 11.5 6.8 11.5 6.8M13.3 22.8C13.6 23.4 14.2 23.7 14.8 23.7 15 23.7 15.1 23.6 15.3 23.6 15.4 23.5 15.6 23.5 15.7 23.4 15.8 23.4 15.8 23.3 15.9 23.3 16.1 23.2 16.1 23.2 16.2 23.1L17.5 22C17.8 21.7 18.1 21.5 18.5 21.3 18.8 21.1 19.2 21 19.3 20.9 19.6 20.8 19.7 20.8 19.9 20.6 19.9 20.5 20 20.4 20 20.2 20 19.9 19.9 19.8 19.7 19.6 19.6 19.5 19.4 19.4 19.2 19.4 19.1 19.3 18.9 19.2 18.7 19 18.5 18.8 18.4 18.5 18.3 18.1L18.2 17.7C18.1 17.4 18.1 17.3 18.1 17.2 18.1 17.2 18.1 17.2 18 17.2 17.9 17.2 17.7 17.2 17.7 17.4 17.5 17.5 17.3 17.7 17.2 17.8 17.1 18 16.9 18.1 16.7 18.3 16.5 18.4 16.2 18.5 16.1 18.5 15.4 18.5 15.1 18.3 14.9 17.9 14.7 17.7 14.7 17.4 14.6 17.1 14.4 16.9 14.3 16.9 14.2 16.9 13.8 16.9 13.6 17.3 13.6 18.1L13.6 18.4 13.6 19.3 13.6 20 13.6 20.3 13.6 20.6C13.6 20.6 13.6 20.8 13.6 21 13.5 21.3 13.5 21.6 13.5 21.9L13.3 22.7 13.3 22.8M1.9 22.3C2.6 22.4 3.4 22.7 4.4 23 5.4 23.4 5.9 23.6 6.2 23.6 6.7 23.6 7.2 23.3 7.5 22.8 7.6 22.7 7.6 22.5 7.6 22.3 7.6 21.6 7.2 20.6 6.3 19.5L5.7 18.7C5.6 18.6 5.5 18.4 5.3 18.1 5.2 17.8 5 17.5 4.9 17.3 4.8 17.2 4.6 17 4.4 16.8 4.2 16.6 4 16.5 3.7 16.4 3.4 16.5 3.1 16.6 3 16.8 2.9 16.9 2.9 17.1 2.8 17.3 2.8 17.4 2.8 17.5 2.7 17.6 2.6 17.6 2.5 17.7 2.3 17.7 2.3 17.7 2.2 17.7 2.1 17.7L1.9 17.7C1.4 17.7 1.2 17.8 1 17.8 0.8 18.1 0.7 18.3 0.7 18.6 0.7 18.7 0.7 19 0.8 19.3 0.9 19.5 0.9 19.8 0.9 19.9 0.9 20.3 0.8 20.6 0.6 20.9 0.4 21.3 0.3 21.5 0.3 21.7 0.4 22 0.9 22.2 1.9 22.3M4.5 15.2C4.5 14.6 4.6 14 4.9 13.3 5.2 12.6 5.5 12.1 5.8 11.8 5.8 11.7 5.7 11.7 5.7 11.7L5.6 11.6C5.3 11.9 5.1 12.4 4.7 13.2 4.4 13.9 4.2 14.6 4.2 15.1 4.2 15.4 4.3 15.7 4.5 16 4.7 16.3 5.1 16.6 5.7 17.1L6.6 17.7C7.5 18.4 7.9 19 7.9 19.3 7.9 19.5 7.9 19.6 7.6 19.8 7.5 20 7.3 20.1 7.1 20.1 7.1 20.1 7 20.1 7 20.1 7 20.2 7.1 20.3 7.3 20.6 7.6 21.1 8.3 21.3 9.3 21.3 11 21.3 12.4 20.6 13.4 19.2 13.4 18.8 13.4 18.5 13.3 18.4L13.3 18.1C13.3 17.6 13.4 17.2 13.5 17 13.7 16.7 13.9 16.6 14.1 16.6 14.3 16.6 14.4 16.7 14.6 16.8 14.6 16.2 14.6 15.6 14.6 15.2 14.6 14.4 14.6 13.9 14.5 13.3 14.4 12.8 14.3 12.4 14.1 12.1 13.9 11.9 13.8 11.6 13.6 11.4 13.5 11.2 13.4 10.9 13.2 10.7 13.1 10.4 13.1 10.1 13.1 9.8 12.8 9.4 12.7 9 12.4 8.6 12.3 8.2 12.1 7.8 12 7.5L11.3 8C10.5 8.6 9.8 8.8 9.3 8.8 8.8 8.8 8.4 8.7 8.2 8.4L7.7 8C7.7 8.3 7.6 8.6 7.5 8.9L7 9.8C6.7 10.4 6.6 10.7 6.6 10.9 6.6 11.1 6.5 11.3 6.5 11.3L5.9 12.4C5.3 13.6 5 14.7 5 15.6 5 15.8 5 16 5 16.2 4.7 15.9 4.5 15.6 4.5 15.2M10.1 22.6C9.1 22.6 8.3 22.8 7.8 23L7.8 23C7.4 23.5 6.9 23.7 6.3 23.7 5.9 23.7 5.3 23.6 4.5 23.3 3.7 23 2.9 22.8 2.3 22.6 2.2 22.6 2.1 22.6 1.9 22.6 1.7 22.5 1.4 22.5 1.3 22.5 1.1 22.4 0.9 22.4 0.7 22.3 0.5 22.2 0.4 22.1 0.2 22 0.1 21.9 0.1 21.8 0.1 21.7 0.1 21.6 0.1 21.4 0.2 21.3 0.2 21.2 0.3 21.1 0.3 21.1 0.4 21 0.4 20.9 0.4 20.8 0.5 20.7 0.5 20.7 0.6 20.6 0.6 20.5 0.6 20.4 0.6 20.4 0.7 20.3 0.7 20.2 0.7 20.1 0.7 20 0.6 19.8 0.6 19.4 0.5 19 0.5 18.7 0.5 18.6 0.5 18.3 0.6 18 0.7 17.8 0.9 17.6 1.1 17.5 1.2 17.5L2.2 17.5C2.2 17.5 2.3 17.4 2.5 17.4 2.6 17.2 2.6 17.1 2.6 17 2.7 16.9 2.7 16.9 2.7 16.8 2.7 16.8 2.7 16.7 2.8 16.7 2.8 16.6 2.8 16.6 2.9 16.5 2.8 16.4 2.8 16.3 2.8 16.2 2.8 16.1 2.8 16 2.8 16 2.8 15.7 2.9 15.3 3.2 14.8L3.5 14.3C3.7 13.9 3.9 13.5 4 13.2 4.2 12.9 4.3 12.4 4.5 11.8 4.6 11.2 4.9 10.7 5.4 10.1L5.9 9.4C6.4 9 6.6 8.6 6.8 8.2 6.9 7.9 7 7.5 7 7.2 7 7.1 7 6.6 6.9 5.8 6.8 5 6.8 4.2 6.8 3.5 6.8 3 6.8 2.6 6.9 2.2 7 1.8 7.2 1.4 7.5 1.1 7.7 0.7 8 0.4 8.5 0.3 9 0.1 9.5 0 10.1 0 10.4 0 10.6 0 10.9 0.1 11.1 0.1 11.4 0.2 11.8 0.4 12.1 0.5 12.4 0.7 12.7 0.9 13 1.1 13.2 1.5 13.5 1.9 13.6 2.4 13.8 2.9 13.9 3.5 13.9 3.9 13.9 4.3 14 4.9 14 5.3 14.1 5.6 14.1 5.9 14.2 6.1 14.2 6.4 14.3 6.8 14.3 7.1 14.4 7.5 14.6 7.7 14.7 8 14.9 8.3 15.1 8.6 15.4 9 15.7 9.4 16 9.9 16.7 10.7 17.3 11.6 17.6 12.4 18 13.2 18.2 14.2 18.2 15.3 18.2 15.9 18.1 16.4 18 16.9 18.1 16.9 18.2 17 18.3 17.1 18.4 17.2 18.4 17.5 18.5 17.8L18.6 18.4C18.7 18.6 18.8 18.7 19 18.9 19.1 19 19.3 19.2 19.5 19.2 19.7 19.3 19.9 19.4 20.1 19.6 20.3 19.7 20.3 19.9 20.3 20.1 20.3 20.3 20.3 20.5 20.1 20.7 19.9 20.8 19.8 21 19.5 21 19.4 21.1 19.1 21.3 18.6 21.5 18.2 21.7 17.8 22 17.4 22.3L16.6 23C16.3 23.3 16 23.5 15.8 23.7 15.5 23.8 15.2 23.9 14.9 23.9L14.3 23.8C13.7 23.7 13.3 23.3 13.1 22.9 11.8 22.7 10.8 22.6 10.1 22.6"})),"Linux")))))};t.default=(0,i.connect)(function(e){return{userCanViewStats:(0,d.userCanViewStats)(e),userCanManagePlugins:(0,d.userCanManagePlugins)(e),userCanEditPosts:(0,d.userCanEditPosts)(e)}})(p),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Plans=void 0;var a=n(142),o=r(a),i=n(154),s=n(837),c=(r(s),n(466),n(689)),u=n(938),l=r(u),d=n(639),p=n(1024),f=r(p),h=n(1025),m=r(h),M=t.Plans=o.default.createClass({displayName:"Plans",render:function(){var e=this.props.sitePlan.product_slug||"";return"dev"===this.props.getSiteConnectionStatus(this.props)&&(e="dev"),o.default.createElement("div",null,o.default.createElement(l.default,null),o.default.createElement("div",{className:"jp-landing__plans dops-card"},o.default.createElement(f.default,{plan:e}),o.default.createElement(m.default,{plan:e,siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl})))}});t.default=(0,i.connect)(function(e){return{getSiteConnectionStatus:function(){return(0,d.getSiteConnectionStatus)(e)},sitePlan:(0,c.getSitePlan)(e)}})(M)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(837),s=r(i),c=n(466),u=n(855),l=o.default.createClass({displayName:"PlanHeader",render:function(){var e="",t="";switch(this.props.plan){case"jetpack_free":e=o.default.createElement("div",{className:"jp-landing-plans__header"},o.default.createElement("h2",{className:"jp-landing-plans__header-title"},(0,c.translate)("Introducing our most affordable backups and security plan yet")),o.default.createElement("p",{className:"jp-landing-plans__header-description"},(0,c.translate)("The Personal Plan keeps your data, site, and hard work safe.")),o.default.createElement("div",{className:"jp-landing-plans__header-img-container"},o.default.createElement("div",{className:"jp-landing-plans__header-col-left"},o.default.createElement("h3",{className:"jp-landing-plans__header-subtitle"},(0,c.translate)("How much is your website worth?")),o.default.createElement("p",{className:"jp-landing-plans__header-text"},(0,c.translate)("For less than the price of a coffee a month you can rest easy knowing your hard work (or livelihood) is backed up."),o.default.createElement("br",null),o.default.createElement("br",null),(0,c.translate)("Hackers, botnets and spammers attack websites indiscriminately. Their goal is to attack everywhere and often. Our goal is to help you prepare by blocking these threats, and in worst-case-scenarios we'll be here to help you restore your site to its former glory.")),o.default.createElement("p",{className:"jp-landing-plans__header-btn-container"},o.default.createElement(s.default,{href:"https://wordpress.com/plans/"+window.Initial_State.rawUrl,className:"is-primary"},(0,c.translate)("Learn more...")))),o.default.createElement("div",{className:"jp-landing-plans__header-col-right"},o.default.createElement("img",{src:u.imagePath+"/plans/admin-lock2x.png",className:"jp-landing-plans__header-img"}))),o.default.createElement("div",{className:"jp-landing-plans__clouds jp-clouds-top"},o.default.createElement("img",{src:u.imagePath+"/white-clouds.svg"}))),t=o.default.createElement("div",{className:"jp-landing__plan-card"},o.default.createElement("div",{className:"jp-landing__plan-card-img"},o.default.createElement("img",{src:u.imagePath+"/plans/plan-jetpack-free.svg",className:"jp-landing__plan-icon"})),o.default.createElement("div",{className:"jp-landing__plan-card-current"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,c.translate)("Your site is on the Free Jetpack Plan")),o.default.createElement("p",{className:"jp-landing__plan-features-text"},(0,c.translate)("Upgrade to a paid plan to unlock world-class security, spam protection tools, and priority support."))));break;case"jetpack_personal":case"jetpack_personal_monthly":t=o.default.createElement("div",{className:"jp-landing__plan-card"},o.default.createElement("div",{className:"jp-landing__plan-card-img"},o.default.createElement("img",{src:u.imagePath+"/plans/plan-jetpack-premium.svg",className:"jp-landing__plan-icon"})),o.default.createElement("div",{className:"jp-landing__plan-card-current"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,c.translate)("Your site is on the Jetpack Personal plan")),o.default.createElement("p",{className:"jp-landing__plan-features-text"},(0,c.translate)("With this plan you are provided with spam-protection, daily backups (up to 30 days), and unlimited storage."))));break;case"jetpack_premium":case"jetpack_premium_monthly":t=o.default.createElement("div",{className:"jp-landing__plan-card"},o.default.createElement("div",{className:"jp-landing__plan-card-img"},o.default.createElement("img",{src:u.imagePath+"/plans/plan-jetpack-premium.svg",className:"jp-landing__plan-icon"})),o.default.createElement("div",{className:"jp-landing__plan-card-current"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,c.translate)("Your site is on the Jetpack Premium plan")),o.default.createElement("p",{className:"jp-landing__plan-features-text"},(0,c.translate)("With this plan you are provided with spam-protection, daily backups (up to 30 days), unlimited backup storage, security scanning, and priority support."))));break;case"jetpack_business":case"jetpack_business_monthly":t=o.default.createElement("div",{className:"jp-landing__plan-card"},o.default.createElement("div",{className:"jp-landing__plan-card-img"},o.default.createElement("img",{src:u.imagePath+"/plans/plan-jetpack-pro.svg",className:"jp-landing__plan-icon"})),o.default.createElement("div",{className:"jp-landing__plan-card-current"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,c.translate)("Your site is on the Jetpack Professional plan")),o.default.createElement("p",{className:"jp-landing__plan-features-text"},(0,c.translate)("You get spam-protection, real-time backups (unlimited archive), unlimited backup storage, security scanning, SEO tools, PollDaddy, and priority support."))));break;case"dev":t=o.default.createElement("div",{className:"jp-landing__plan-card"},o.default.createElement("div",{className:"jp-landing__plan-card-img"},o.default.createElement("img",{src:u.imagePath+"/plans/plan-jetpack-free.svg",className:"jp-landing__plan-icon"})),o.default.createElement("div",{className:"jp-landing__plan-card-current"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,c.translate)("Your site is on Development Mode")),o.default.createElement("p",{className:"jp-landing__plan-features-text"},(0,c.translate)("Once you connect, you can upgrade to a paid plan in order to unlock world-class security, spam protection tools, and priority support."))));break;default:t=o.default.createElement("div",{className:"jp-landing__plan-card"},o.default.createElement("div",{className:"jp-landing__plan-card-img is-placeholder"}),o.default.createElement("div",{className:"jp-landing__plan-card-current"},o.default.createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),o.default.createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")))}return o.default.createElement("div",null,e,t)}});t.default=l,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(837),c=r(s),u=n(466),l=n(641),d=r(l),p=(n(855),n(692)),f=n(447),h=n(927),m=r(h),M=o.default.createClass({displayName:"PlanBody",render:function(){var e="";switch(this.props.plan){case"jetpack_personal":case"jetpack_personal_monthly":case"jetpack_premium":case"jetpack_premium_monthly":case"jetpack_business":case"jetpack_business_monthly":e=o.default.createElement("div",{className:"jp-landing__plan-features"},o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Spam Protection")),o.default.createElement("p",null,(0,u.translate)("State-of-the-art spam defense powered by Akismet.")),this.props.isFetchingPluginsData?"":this.props.isPluginInstalled("akismet/akismet.php")&&this.props.isPluginActive("akismet/akismet.php")?o.default.createElement(c.default,{href:this.props.siteAdminUrl+"admin.php?page=akismet-key-config",className:"is-primary"},(0,u.translate)("View your spam stats")):o.default.createElement(c.default,{href:"https://wordpress.com/plugins/setup/"+this.props.siteRawUrl+"?only=akismet",className:"is-primary"},(0,u.translate)("Configure Akismet"))),(0,d.default)(["jetpack_personal","jetpack_personal_monthly"],this.props.plan)?o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Backups")),o.default.createElement("p",null,(0,u.translate)("Daily backup of all your site data with unlimited space and one-click restores (powered by VaultPress).")),this.props.isFetchingPluginsData?"":this.props.isPluginInstalled("vaultpress/vaultpress.php")&&this.props.isPluginActive("vaultpress/vaultpress.php")?o.default.createElement(c.default,{href:"https://dashboard.vaultpress.com/",className:"is-primary"},(0,u.translate)("View your security dashboard")):o.default.createElement(c.default,{href:"https://wordpress.com/plugins/setup/"+this.props.siteRawUrl+"?only=vaultpress",className:"is-primary"},(0,u.translate)("Configure VaultPress"))):"",(0,d.default)(["jetpack_premium","jetpack_premium_monthly"],this.props.plan)?o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Backups & Security Scanning")),o.default.createElement("p",null,(0,u.translate)("Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support (powered by VaultPress).")),this.props.isFetchingPluginsData?"":this.props.isPluginInstalled("vaultpress/vaultpress.php")&&this.props.isPluginActive("vaultpress/vaultpress.php")?o.default.createElement(c.default,{href:"https://dashboard.vaultpress.com/",className:"is-primary"},(0,u.translate)("View your security dashboard")):o.default.createElement(c.default,{href:"https://wordpress.com/plugins/setup/"+this.props.siteRawUrl+"?only=vaultpress",className:"is-primary"},(0,u.translate)("Configure VaultPress"))):"",(0,d.default)(["jetpack_business","jetpack_business_monthly"],this.props.plan)?o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Backups & Security Scanning")),o.default.createElement("p",null,(0,u.translate)("Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, one-click threat resolution, and priority support (powered by VaultPress).")),this.props.isFetchingPluginsData?"":this.props.isPluginInstalled("vaultpress/vaultpress.php")&&this.props.isPluginActive("vaultpress/vaultpress.php")?o.default.createElement(c.default,{href:"https://dashboard.vaultpress.com/",className:"is-primary"},(0,u.translate)("View your security dashboard")):o.default.createElement(c.default,{href:"https://wordpress.com/plugins/setup/"+this.props.siteRawUrl+"?only=vaultpress",className:"is-primary"},(0,u.translate)("Configure VaultPress"))):"",(0,d.default)(["jetpack_business","jetpack_business_monthly"],this.props.plan)?o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("SEO Tools")),o.default.createElement("p",null,(0,u.translate)("Advanced SEO tools to help your site get found when people search for relevant content.")),this.props.isFetchingPluginsData?"":this.props.isModuleActivated("seo-tools")?o.default.createElement(c.default,{href:"https://wordpress.com/settings/seo/"+this.props.siteRawUrl,className:"is-primary"},(0,u.translate)("Configure Site SEO")):o.default.createElement(c.default,{onClick:this.props.activateModule.bind(null,"seo-tools"),
34
+ className:"is-primary",disabled:this.props.isActivatingModule("seo-tools")},(0,u.translate)("Activate SEO Tools"))):"",(0,d.default)(["jetpack_business","jetpack_business_monthly"],this.props.plan)?o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Surveys & Polls")),o.default.createElement("p",null,(0,u.translate)("Unlimited surveys, unlimited responses. Use the survey editor to create surveys quickly and easily. Collect responses via your website, e-mail or on your iPad or iPhone.")),o.default.createElement(c.default,{href:"https://polldaddy.com/dashboard/",className:"is-primary"},(0,u.translate)("Create a new poll"))):"",(0,d.default)(["jetpack_personal","jetpack_personal_monthly","jetpack_premium","jetpack_premium_monthly"],this.props.plan)?o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Need more? Running a business site?")),o.default.createElement("p",null,(0,u.translate)("If your site is important to you, consider protecting and improving it with some of our advanced features: ")),o.default.createElement("p",null," — ",(0,u.translate)("On-demand security scanning")),o.default.createElement("p",null," — ",(0,u.translate)("Real-time backups")),o.default.createElement("p",null," — ",(0,u.translate)("One-click threat resolution")),o.default.createElement("p",null," — ",(0,u.translate)("Advanced polls and ratings")),o.default.createElement("p",null," — ",(0,u.translate)("Advanced SEO tools")),o.default.createElement("p",null,o.default.createElement(c.default,{href:"https://wordpress.com/plans/"+this.props.siteRawUrl,className:"is-primary"},(0,u.translate)("Compare Plans")))):"");break;case"jetpack_free":case"dev":e=o.default.createElement("div",{className:"jp-landing__plan-features"},o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Maximum grade security")),o.default.createElement("p",null,(0,u.translate)("Real-time backup with unlimited space, one-click restores, bulletproof spam monitoring, malware defense and brute-force login protection - all in one place and optimized for WordPress."))),o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Lock out the bad guys")),o.default.createElement("p",null,(0,u.translate)("Bulletproof spam filtering protects your brand, your readers, and improves SEO. Brute force login protection helps maintain peace of mind and keeps your backend safe from intruders."))),o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Enjoy priority support")),o.default.createElement("p",null,(0,u.translate)("Need help? A Happiness Engineer can answer questions about your site, your account or how to do about anything."))));break;default:e=o.default.createElement("div",{className:"jp-landing__plan-features"},o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),o.default.createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")),o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),o.default.createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")),o.default.createElement("div",{className:"jp-landing__plan-features-card"},o.default.createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),o.default.createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")))}return o.default.createElement("div",null,o.default.createElement(m.default,null),e)}});t.default=(0,i.connect)(function(e){return{isFetchingPluginsData:(0,p.isFetchingPluginsData)(e),isPluginActive:function(t){return(0,p.isPluginActive)(e,t)},isPluginInstalled:function(t){return(0,p.isPluginInstalled)(e,t)},isModuleActivated:function(t){return(0,f.isModuleActivated)(e,t)},isActivatingModule:function(t){return(0,f.isActivatingModule)(e,t)}}},function(e){return{fetchPluginsData:function(){return e((0,p.fetchPluginsData)())},activateModule:function(t){return e((0,f.activateModule)(t))}}})(M),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Footer=void 0;var a=n(142),o=r(a),i=n(154),s=n(863),c=r(s),u=n(466),l=n(347),d=n(1027),p=n(639),f=t.Footer=o.default.createClass({displayName:"Footer",disconnectSite:function(){(this.props.isInIdentityCrisis||window.confirm((0,u.translate)("Do you really want to disconnect your site from WordPress.com?")))&&this.props.disconnectSite()},resetOnClick:function(){window.confirm((0,u.translate)("This will reset all Jetpack options, are you sure?"))&&this.props.resetOptions()},render:function(){var e=this,t=(0,c.default)(this.props.className,"jp-footer"),n=this.props.currentVersion,r=function(){return e.props.isDevVersion&&e.props.userCanManageOptions?o.default.createElement("li",{className:"jp-footer__link-item"},o.default.createElement("a",{onClick:e.resetOnClick,className:"jp-footer__link"},(0,u.translate)("Reset Options (dev versions only)",{context:"Navigation item."}))):""},a=function(){if(e.props.userCanManageOptions)return o.default.createElement("li",{className:"jp-footer__link-item"},o.default.createElement("a",{href:e.props.siteAdminUrl+"admin.php?page=jetpack-debugger",title:(0,u.translate)("Test your site’s compatibility with Jetpack."),className:"jp-footer__link"},(0,u.translate)("Debug",{context:"Navigation item. Noun. Links to a debugger tool for Jetpack."})))},i=function(){if(e.props.userCanDisconnectSite&&e.props.siteConnectionStatus&&!e.props.isDevMode)return o.default.createElement("li",{className:"jp-footer__link-item"},o.default.createElement("a",{onClick:e.disconnectSite,title:(0,u.translate)("Disconnect from WordPress.com"),className:"jp-footer__link"},(0,u.translate)("Disconnect Jetpack")))};return o.default.createElement("div",{className:t},o.default.createElement("div",{className:"jp-footer__a8c-attr-container"},o.default.createElement("a",{href:"https://automattic.com",target:"_blank"},o.default.createElement("svg",{className:"jp-footer__a8c-attr",x:"0",y:"0",viewBox:"0 0 935 38.2","enable-background":"new 0 0 935 38.2"},o.default.createElement("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),o.default.createElement("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),o.default.createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"})))),o.default.createElement("ul",{className:"jp-footer__links"},o.default.createElement("li",{className:"jp-footer__link-item"},o.default.createElement("a",{href:"https://jetpack.com",target:"_blank",className:"jp-footer__link",title:n},n)),o.default.createElement("li",{className:"jp-footer__link-item"},o.default.createElement("a",{href:"https://wordpress.com/tos/",target:"_blank",title:(0,u.translate)("WordPress.com Terms of Service"),className:"jp-footer__link"},(0,u.translate)("Terms",{context:"Shorthand for Terms of Service."}))),o.default.createElement("li",{className:"jp-footer__link-item"},o.default.createElement("a",{href:"https://automattic.com/privacy/",target:"_blank",title:(0,u.translate)("Automattic's Privacy Policy"),className:"jp-footer__link"},(0,u.translate)("Privacy",{context:"Shorthand for Privacy Policy."}))),a(),r(),i()))}});t.default=(0,i.connect)(function(e){return{currentVersion:(0,l.getCurrentVersion)(e),userCanManageOptions:(0,l.userCanManageOptions)(e),userCanDisconnectSite:(0,l.userCanDisconnectSite)(e),isDevVersion:(0,l.isDevVersion)(e),isDevMode:(0,p.isDevMode)(e),siteConnectionStatus:(0,p.getSiteConnectionStatus)(e),siteAdminUrl:(0,l.getSiteAdminUrl)(e),isInIdentityCrisis:(0,p.isInIdentityCrisis)(e)}},function(e){return{disconnectSite:function(){return e((0,p.disconnectSite)())},resetOptions:function(){return e((0,d.resetOptions)("options"))}}})(f)},function(e,t,n){"use strict";function r(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}function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(348),i=a(o),s=n(1028),c=r(s),u=(0,i.default)({},c);t.default=u,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.resetOptions=void 0;var a=n(458),o=n(466),i=n(434),s=n(439),c=r(s);t.resetOptions=function(e){return function(t){return t({type:i.RESET_OPTIONS}),t((0,a.createNotice)("is-info",(0,o.translate)("Resetting Jetpack options…"),{id:"reset-options"})),c.default.resetOptions(e).then(function(){t({type:i.RESET_OPTIONS_SUCCESS}),t((0,a.removeNotice)("reset-options")),t((0,a.createNotice)("is-success",(0,o.translate)("Options reset."),{id:"reset-options"}))}).catch(function(e){t({type:i.RESET_OPTIONS_FAIL,error:e}),t((0,a.removeNotice)("reset-options")),t((0,a.createNotice)("is-error",(0,o.translate)("Options failed to reset."),{id:"reset-options"}))})}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(863),c=r(s),u=n(1030),l=r(u),d=n(466),p=n(832),f=r(p),h=n(347),m=o.default.createClass({displayName:"SupportCard",render:function(){var e=(0,c.default)(this.props.className,"jp-support-card"),t=(0,l.default)(this.props.happinessGravatarIds);return o.default.createElement("div",{className:e},o.default.createElement(f.default,{className:"jp-support-card__happiness"},o.default.createElement("div",{className:"jp-support-card__happiness-engineer"},o.default.createElement("img",{src:"https://secure.gravatar.com/avatar/"+t,alt:(0,d.translate)("Jetpack Happiness Engineer"),className:"jp-support-card__happiness-engineer-img",width:"72",height:"72"})),o.default.createElement("div",{className:"jp-support-card__happiness-contact"},o.default.createElement("h4",{className:"jp-support-card__header"},(0,d.translate)("Need help? The Jetpack team is here for you.")),o.default.createElement("p",{className:"jp-support-card__description"},(0,d.translate)("We offer free, full support to all of our Jetpack users. Our support team is always around to help you.")),o.default.createElement("p",{className:"jp-support-card__description"},(0,d.translate)("{{supportLink}}View our support page{{/supportLink}}{{hideOnMobile}},{{/hideOnMobile}} {{forumLink}}check the forums for answers{{/forumLink}}{{hideOnMobile}}, or{{/hideOnMobile}} {{contactLink}}contact us directly{{/contactLink}}{{hideOnMobile}}.{{/hideOnMobile}}",{components:{hideOnMobile:o.default.createElement("span",{className:"jp-hidden-on-mobile"}),supportLink:o.default.createElement("a",{className:"jp-support-card__link",href:"https://jetpack.com/support/",title:(0,d.translate)("Go to Jetpack.com/support")}),forumLink:o.default.createElement("a",{className:"jp-support-card__link",href:"https://wordpress.org/support/plugin/jetpack",title:(0,d.translate)("Go to the WordPress.org support forums")}),contactLink:o.default.createElement("a",{className:"jp-support-card__link",href:"https://jetpack.com/contact-support/",title:(0,d.translate)("Contact Jetpack support staff directly")})}})))),o.default.createElement(f.default,{className:"jp-support-card__social"},o.default.createElement("p",{className:"jp-support-card__description"},(0,d.translate)("{{hideOnMobile}}Enjoying Jetpack or have feedback?{{/hideOnMobile}} {{reviewLink}}Leave us a review{{/reviewLink}}{{hideOnMobile}},{{/hideOnMobile}} {{twitterLink}}follow us on Twitter{{/twitterLink}}{{hideOnMobile}}, and{{/hideOnMobile}} {{facebookLink}}like us on Facebook{{/facebookLink}}{{hideOnMobile}}.{{/hideOnMobile}}",{components:{hideOnMobile:o.default.createElement("span",{className:"jp-hidden-on-mobile"}),reviewLink:o.default.createElement("a",{className:"jp-support-card__link",href:"https://wordpress.org/support/view/plugin-reviews/jetpack",title:(0,d.translate)("Leave a Jetpack review"),target:"_blank"}),twitterLink:o.default.createElement("a",{className:"jp-support-card__link",href:"http://twitter.com/jetpack",title:(0,d.translate)("Follow Jetpack on Twitter"),target:"_blank"}),facebookLink:o.default.createElement("a",{className:"jp-support-card__link",href:"https://www.facebook.com/jetpackme",title:(0,d.translate)("Like us on Facebook"),target:"_blank"})}}))))}});m.propTypes={className:o.default.PropTypes.string,happinessGravatarIds:o.default.PropTypes.array.isRequired},t.default=(0,i.connect)(function(e){return{happinessGravatarIds:(0,h.getHappinessGravatarIds)(e)}})(m),e.exports=t.default},function(e,t,n){function r(e){var t=i(e)?a:o;return t(e)}var a=n(1031),o=n(1033),i=n(389);e.exports=r},function(e,t,n){function r(e){var t=e.length;return t?e[a(0,t-1)]:void 0}var a=n(1032);e.exports=r},function(e,t){function n(e,t){return e+r(a()*(t-e+1))}var r=Math.floor,a=Math.random;e.exports=n},function(e,t,n){function r(e){return a(o(e))}var a=n(1031),o=n(650);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(347),c=n(447),u=n(703),l=r(u),d=n(821),p=r(d),f=n(861),h=r(f),m=n(939),M=r(m),_=n(1018),v=r(_),g=n(1021),b=r(g),y=n(1022),A=r(y),T=n(639),L=o.default.createClass({displayName:"NonAdminView",componentWillMount:function(){this.props.setInitialState()},shouldComponentUpdate:function(e){return e.siteConnectionStatus!==this.props.siteConnectionStatus||e.route.path!==this.props.route.path},renderMainContent:function(e){var t=void 0,n=o.default.createElement(l.default,this.props);switch(e){case"/dashboard":default:t=this.props.userCanViewStats||this.props.isModuleActivated("protect")?o.default.createElement(h.default,this.props):o.default.createElement(A.default,this.props);break;case"/apps":t=o.default.createElement(A.default,this.props);break;case"/settings":n=o.default.createElement(p.default,this.props),t=o.default.createElement(v.default,this.props);break;case"/general":n=o.default.createElement(p.default,this.props),t=o.default.createElement(v.default,this.props);break;case"/engagement":this.props.isSubscriber||(n=o.default.createElement(p.default,this.props),t=o.default.createElement(M.default,this.props));break;case"/writing":this.props.isSubscriber||(n=o.default.createElement(p.default,this.props),t=o.default.createElement(b.default,this.props))}return window.wpNavMenuClassChange(),o.default.createElement("div",null,n,t)},render:function(){return this.renderMainContent(this.props.route.path)}});L.propTypes={userCanViewStats:o.default.PropTypes.bool.isRequired,isSubscriber:o.default.PropTypes.bool.isRequired,siteConnectionStatus:o.default.PropTypes.any.isRequired},t.default=(0,i.connect)(function(e){return{userCanViewStats:(0,s.userCanViewStats)(e),siteConnectionStatus:(0,T.getSiteConnectionStatus)(e),isSubscriber:(0,s.userIsSubscriber)(e),isModuleActivated:function(t){return(0,c.isModuleActivated)(e,t)}}})(L),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.UserUnlinked=t.DevModeNotice=t.StagingSiteNotice=t.DevVersionNotice=void 0;var a=n(142),o=r(a),i=n(154),s=n(916),c=r(s),u=n(1036),l=r(u),d=n(466),p=n(1037),f=r(p),h=n(1044),m=r(h),M=n(639),_=n(347),v=n(1045),g=r(v),b=n(840),y=r(b),A=t.DevVersionNotice=o.default.createClass({displayName:"DevVersionNotice",render:function(){return!!this.props.isDevVersion&&o.default.createElement(c.default,{showDismiss:!1,status:"is-basic",text:(0,d.translate)("You are currently running a development version of Jetpack.")},o.default.createElement(l.default,{href:"https://jetpack.com/contact-support/beta-group/"},(0,d.translate)("Submit Beta feedback")))}});A.propTypes={isDevVersion:o.default.PropTypes.bool.isRequired};var T=t.StagingSiteNotice=o.default.createClass({displayName:"StagingSiteNotice",render:function(){if(this.props.isStaging&&!this.props.isInIdentityCrisis){var e="https://jetpack.com/support/staging-sites/",t={text:(0,d.translate)("You are running Jetpack on a staging server."),status:"is-basic",showDismiss:!1};return o.default.createElement(c.default,t,o.default.createElement(l.default,{href:e},(0,d.translate)("More Info")))}return!1}});T.propTypes={isStaging:o.default.PropTypes.bool.isRequired,isInIdentityCrisis:o.default.PropTypes.bool.isRequired};var L=t.DevModeNotice=o.default.createClass({displayName:"DevModeNotice",render:function(){if("dev"===this.props.siteConnectionStatus){var e=this.props.siteDevMode,t=void 0;return e.filter?t=(0,d.translate)("Currently in {{a}}Development Mode{{/a}} via the jetpack_development_mode filter.{{br/}}Some features are disabled.",{components:{a:o.default.createElement("a",{href:"https://jetpack.com/support/development-mode/",target:"_blank"}),br:o.default.createElement("br",null)}}):e.constant?t=(0,d.translate)("Currently in {{a}}Development Mode{{/a}} via the JETPACK_DEV_DEBUG constant.{{br/}}Some features are disabled.",{components:{a:o.default.createElement("a",{href:"https://jetpack.com/support/development-mode/",target:"_blank"}),br:o.default.createElement("br",null)}}):e.url&&(t=(0,d.translate)("Currently in {{a}}Development Mode{{/a}} because your site URL lacks a dot (e.g. http://localhost).{{br/}}Some features are disabled.",{components:{a:o.default.createElement("a",{href:"https://jetpack.com/support/development-mode/",target:"_blank"}),br:o.default.createElement("br",null)}})),o.default.createElement(c.default,{showDismiss:!1,status:"is-basic"},t)}return!1}});L.propTypes={siteConnectionStatus:o.default.PropTypes.oneOfType([o.default.PropTypes.string,o.default.PropTypes.bool]).isRequired,siteDevMode:o.default.PropTypes.oneOfType([o.default.PropTypes.bool,o.default.PropTypes.object]).isRequired};var E=t.UserUnlinked=o.default.createClass({displayName:"UserUnlinked",render:function(){if(!window.Initial_State.userData.currentUser.isConnected&&this.props.connectUrl&&this.props.siteConnected){var e=void 0;return e=(0,d.translate)("You, %(userName)s, are not connected to WordPress.com.",{args:{userName:window.Initial_State.userData.currentUser.username}}),o.default.createElement(c.default,{showDismiss:!1,status:"is-info",text:e},o.default.createElement(l.default,{href:this.props.connectUrl+"&from=unlinked-user-connect"},(0,d.translate)("Link to WordPress.com")))}return!1}});E.propTypes={connectUrl:o.default.PropTypes.string.isRequired,siteConnected:o.default.PropTypes.bool.isRequired};var w=o.default.createClass({displayName:"JetpackNotices",render:function(){return o.default.createElement("div",null,o.default.createElement(y.default,null),o.default.createElement(f.default,null),o.default.createElement(m.default,null),o.default.createElement(A,{isDevVersion:this.props.isDevVersion}),o.default.createElement(L,{siteConnectionStatus:this.props.siteConnectionStatus,siteDevMode:this.props.siteDevMode}),o.default.createElement(T,{isStaging:this.props.isStaging,isInIdentityCrisis:this.props.isInIdentityCrisis}),o.default.createElement(g.default,null),o.default.createElement(E,{connectUrl:this.props.connectUrl,siteConnected:!0===this.props.siteConnectionStatus}))}});t.default=(0,i.connect)(function(e){return{connectUrl:(0,M.getConnectUrl)(e),siteConnectionStatus:(0,M.getSiteConnectionStatus)(e),isDevVersion:(0,_.isDevVersion)(e),siteDevMode:(0,M.getSiteDevMode)(e),isStaging:(0,M.isStaging)(e),isInIdentityCrisis:(0,M.isInIdentityCrisis)(e)}})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(810),s=r(i);n(917),t.default=o.default.createClass({displayName:"NoticeAction",propTypes:{href:o.default.PropTypes.string,onClick:o.default.PropTypes.func,external:o.default.PropTypes.bool,icon:o.default.PropTypes.string},getDefaultProps:function(){return{external:!1}},render:function(){var e={className:"dops-notice__action",href:this.props.href,onClick:this.props.onClick};return this.props.external&&(e.target="_blank"),o.default.createElement("a",e,o.default.createElement("span",null,this.props.children),this.props.icon&&o.default.createElement(s.default,{icon:this.props.icon,size:24}),this.props.external&&o.default.createElement(s.default,{icon:"external",size:24}))}}),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(468),s=r(i),c=n(916),u=r(c),l=n(1036),d=r(l),p=n(1038),f=r(p),h=n(154),m=n(337),M=n(458),_=(0,s.default)("calypso:notices");n(1042);var v=o.default.createClass({displayName:"NoticesList",propTypes:{id:o.default.PropTypes.string,notices:o.default.PropTypes.oneOfType([o.default.PropTypes.object,o.default.PropTypes.array])},getDefaultProps:function(){return{id:"overlay-notices",notices:Object.freeze([])}},componentWillMount:function(){_("Mounting Global Notices React component.")},removeNotice:function(e){e&&f.default.removeNotice(e)},render:function(){var e=this.props.notices[this.props.id]||[],t=e.map(function(e,t){return o.default.createElement(u.default,{key:"notice-old-"+t,status:e.status,duration:e.duration||null,text:e.text,isCompact:e.isCompact,onDismissClick:this.removeNotice.bind(this,e),showDismiss:e.showDismiss},e.button&&o.default.createElement(d.default,{href:e.href,onClick:e.onClick},e.button))},this);return t=t.concat(this.props.storeNotices.map(function(e,t){return o.default.createElement(u.default,{key:"notice-"+t,status:e.status,duration:e.duration||null,showDismiss:e.showDismiss,onDismissClick:this.props.removeNotice.bind(this,e.noticeId),text:e.text})},this)),t.length?o.default.createElement("div",{id:this.props.id,className:"global-notices"},t):null}});t.default=(0,h.connect)(function(e){return{storeNotices:e.globalNotices}},function(e){return(0,m.bindActionCreators)({removeNotice:M.removeNotice},e)})(v),e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(468)("calypso:notices"),a=n(1039);r("initializing notices");var o={containerNames:{}};a(o);var i=[];n(1040);var s={new:function(e,t,n){var a=t.overlay?"overlay-notices":"notices";o.containerNames[a]=a,r("creating notice",e,t,n),o[a]=[];var c={type:t.type||"message",status:n,text:e,duration:t.duration,container:a,button:t.button,href:t.href,onClick:function(e){if("function"==typeof t.onClick){var n=s.removeNotice.bind(s,c);return t.onClick(e,n)}},onRemoveCallback:t.onRemoveCallback||function(){},arrow:t.arrow,isCompact:t.isCompact,showDismiss:t.showDismiss,persistent:t.persistent};return t.displayOnNextPage?i.push(c):o[a].push(c),o.emit("change"),c},success:function(e,t){return t=t||{},this.new(e,t,"is-success")},error:function(e,t){return t=t||{},this.new(e,t,"is-error")},info:function(e,t){return t=t||{},this.new(e,t,"is-info")},warning:function(e,t){return t=t||{},this.new(e,t,"is-warning")},list:o,removeNotice:function(e){if(e.container){var t=o[e.container],n=t.indexOf(e);-1!==n&&(t.splice(n,1),o.emit("change"))}},clearNoticesOnNavigation:function(e,t){r("clearNoticesOnNavigation");var n,a,s=!1,c=function(e){return e.persistent};for(a in o.containerNames)n=o[a].length,o[a]=o[a].filter(c),n!==o[a].length&&(s=!0);i.length&&(i.forEach(function(e){o[e.container]=[],o[e.container].push(e)}),i=[]),s&&o.emit("change"),t()},clearNotices:function(e){o[e]=[],o.emit("change")},getStatusHelper:function(e){return e.error?"is-error":e.warning?"is-warning":e.info?"is-info":e.success?"is-success":void 0}};t.default=s,e.exports=t.default},function(e,t,n){"use strict";var r=n(581).EventEmitter,a=n(657);e.exports=function(e){a(e,r.prototype),e.emitChange=function(){this.emit("change")},e.off=e.removeListener}},function(e,t){},,function(e,t){},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(466),c=n(916),u=r(c),l=n(347),d=n(695),p=o.default.createClass({displayName:"JetpackStateNotices",getInitialState:function(){return{showNotice:!0}},dismissJetpackStateNotice:function(){this.setState({showNotice:!1})},getErrorFromKey:function(e){var t=this.props.jetpackStateNoticesErrorDescription||!1,n="";switch(e){case"cheatin":n=(0,s.translate)("Cheatin' uh?");break;case"access_denied":n=(0,s.translate)("{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}",{components:{a:o.default.createElement("a",{href:"https://jetpack.com/cancelled-connection/",target:"_blank"}),p:o.default.createElement("p",null)}});break;case"wrong_state":n=(0,s.translate)("You need to stay logged in to your WordPress blog while you authorize Jetpack.");break;case"invalid_client":n=(0,s.translate)("We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.");break;case"invalid_grant":n=(0,s.translate)('There was an issue connecting your Jetpack. Please click "Connect to WordPress.com" again.');break;case"site_inaccessible":case"site_requires_authorization":n=(0,s.translate)("Your website needs to be publicly accessible to use Jetpack: %(error_key)s",{args:{error_key:e}});break;case"not_public":n=(0,s.translate)("{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).",{components:{s:o.default.createElement("strong",null)}});break;case"wpcom_408":case"wpcom_5??":case"wpcom_bad_response":case"wpcom_outage":n=(0,s.translate)("WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.");break;case"register_http_request_failed":case"token_http_request_failed":n=(0,s.translate)("Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.",{args:{error_key:e}});break;case"no_role":case"no_cap":case"no_code":case"no_state":case"invalid_state":case"invalid_request":case"invalid_scope":case"unsupported_response_type":case"invalid_token":case"no_token":case"missing_secrets":case"home_missing":case"siteurl_missing":case"gmt_offset_missing":case"site_name_missing":case"secret_1_missing":case"secret_2_missing":case"site_lang_missing":case"home_malformed":case"siteurl_malformed":case"gmt_offset_malformed":case"timezone_string_malformed":case"site_name_malformed":case"secret_1_malformed":case"secret_2_malformed":case"site_lang_malformed":case"secrets_mismatch":case"verify_secret_1_missing":case"verify_secret_1_malformed":case"verify_secrets_missing":case"verify_secrets_mismatch":n=(0,s.translate)("{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s",{components:{s:o.default.createElement("strong",null)},args:{error_key:e}});break;default:n=e}return t?o.default.createElement("div",null,n,o.default.createElement("br",null),t):o.default.createElement("div",null,n)},getMessageFromKey:function(e){var t="",n="is-info";switch(e){case"modules_activated":t=(0,s.translate)("Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!",{args:{jetpack_version:this.props.currentVersion},components:{s:o.default.createElement("strong",null)}});break;case"already_authorized":t=(0,s.translate)("Your Jetpack is already connected."),n="is-success";break;case"authorized":t=(0,s.translate)("You're fueled up and ready to go, Jetpack is now active."),n="is-success";break;case"linked":t=(0,s.translate)("You're fueled up and ready to go."),n="is-success";break;default:t=e}return[t,n]},renderContent:function(){var e="is-info",t="",n=this.props.jetpackStateNoticesErrorCode,r=this.props.jetpackStateNoticesMessageCode;if(n||r){if(n&&(t=this.getErrorFromKey(n),"access_denied"!==n&&(e="is-error")),r){var a=this.getMessageFromKey(r);t=a[0],e=a[1]}return o.default.createElement(u.default,{status:e,onDismissClick:this.dismissJetpackStateNotice},t)}},render:function(){return o.default.createElement("div",null,this.state.showNotice?this.renderContent():null)}});t.default=(0,i.connect)(function(e){return{currentVersion:(0,l.getCurrentVersion)(e),jetpackStateNoticesErrorCode:(0,d.getJetpackStateNoticesErrorCode)(e),jetpackStateNoticesMessageCode:(0,d.getJetpackStateNoticesMessageCode)(e),jetpackStateNoticesErrorDescription:(0,d.getJetpackStateNoticesErrorDescription)(e)}})(p),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(161),s=n(154),c=n(916),u=r(c),l=n(466),d=n(695),p=o.default.createClass({displayName:"DismissableNotices",renderNotices:function(){var e=this.props.jetpackNotices;switch(e){case"disconnected":return!this.props.isDismissed(e)&&o.default.createElement("div",null,o.default.createElement(u.default,{onDismissClick:this.props.dismissJetpackActionNotice.bind(null,e)},(0,l.translate)("You have successfully disconnected Jetpack"),o.default.createElement("br",null),(0,l.translate)("Would you tell us why? Just {{a}}answering two simple questions{{/a}} would help us improve Jetpack.",{components:{a:o.default.createElement("a",{href:"https://jetpack.com/survey-disconnected/",target:"_blank"})}})));default:return!1}},render:function(){return o.default.createElement("div",null,this.renderNotices());
35
+ }});t.default=(0,s.connect)(function(e){return{jetpackNotices:(0,d.getJetpackNotices)(e),isDismissed:function(t){return(0,d.isNoticeDismissed)(e,t)}}},function(e){return(0,i.bindActionCreators)({dismissJetpackActionNotice:d.dismissJetpackActionNotice},e)})(p),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=o.default.createClass({displayName:"AdminNotices",componentDidMount:function(){var e=jQuery(this.refs.adminNotices),t=jQuery(".vp-notice");t.length>0&&t.each(function(){var t=jQuery(this).addClass("dops-notice is-warning").removeClass("wrap vp-notice");t.find("a").addClass("dops-notice__action").appendTo(t),t.find(".vp-message").removeClass("vp-message").addClass("dops-notice__text"),t.find("h3").replaceWith(function(){return jQuery("<strong />",{html:this.innerHTML})}),t.find("p").replaceWith(function(){return jQuery("<div/>",{html:this.innerHTML})}),t.prependTo(e).wrapInner('<div class="dops-notice__content">').show()});var n=jQuery(".woocommerce-message");n.length>0&&n.each(function(){var t=jQuery(this).addClass("dops-notice is-basic").removeClass("updated wc-connect");t.find(".button-primary").addClass("dops-notice__action").removeClass("button-primary").detach().appendTo(t),t.find("p").not(".submit").wrapAll('<div class="dops-notice__text"/>');var n=t.find(".dops-notice__text");n.find("p").replaceWith(function(){return jQuery("<div/>",{html:this.innerHTML,class:"dops-notice__moved_text"})}),n.find("br").remove(),t.find(".button-secondary").removeClass("button-secondary").detach().appendTo(n),t.find(".submit").remove(),t.find(".woocommerce-message-close").removeClass("woocommerce-message-close").addClass("dops-notice__action"),t.prependTo(e).wrapInner('<div class="dops-notice__content">').show(),t.find(".dops-notice__action").not(":first").removeClass("dops-notice__action").detach().appendTo(t.find(".dops-notice__text"))})},render:function(){return o.default.createElement("div",{ref:"adminNotices"})}});t.default=i,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.SearchResults=void 0;var o=n(142),i=r(o),s=n(154),c=n(857),u=r(c),l=n(922),d=n(594),p=r(d),f=n(837),h=r(f),m=n(810),M=r(m),_=n(1048),v=r(_),g=n(466),b=n(656),y=r(b),A=n(938),T=r(A),L=n(639),E=n(940),w=n(447),z=n(698),S=n(689),k=n(926),O=r(k),N=n(692),C=t.SearchResults=function(e){var t=e.siteAdminUrl,n=e.toggleModule,r=e.isModuleActivated,o=e.isTogglingModule,s=e.getModule,c=e.getModules,d=e.searchTerm,f=e.sitePlan,m=e.unavailableInDevMode,_=e.isFetchingPluginsData,b=e.isPluginActive,A=c(),L=[["scan",(0,g.translate)("Security Scanning"),(0,g.translate)("Automatically scan your site for common threats and attacks."),"https://vaultpress.com/jetpack/","security scan threat attacks pro scanning"],["akismet","Akismet",(0,g.translate)("Keep those spammers away!"),"https://akismet.com/jetpack/","spam security comments pro"],["backups",(0,g.translate)("Site Backups"),(0,g.translate)("Keep your site backed up!"),"https://vaultpress.com/jetpack/","backup restore pro security"]],w=!1,z=void 0;return(0,p.default)(A,function(e){"vaultpress"!==e.module?L.push([e.module,s(e.module).name,s(e.module).description,s(e.module).learn_more_button,s(e.module).long_description,s(e.module).search_terms,s(e.module).additional_search_queries,s(e.module).short_description,s(e.module).feature.toString()]):""}),"undefined"==typeof f.product_slug||"jetpack_business"!==f.product_slug&&"jetpack_business_monthly"!==f.product_slug||(w=!0),z=L.map(function(e){var c="scan"===e[0]||"akismet"===e[0]||"backups"===e[0]||"seo-tools"===e[0],d={},p=m(e[0]),f=p?(0,g.translate)("Unavailable in Dev Mode"):i.default.createElement(l.ModuleToggle,{slug:e[0],activated:r(e[0]),toggling:o(e[0]),toggleModule:n}),v=p?"devmode-disabled":"";return c&&(d={module:e[0],configure_url:""},("seo-tools"!==e[0]||"seo-tools"===e[0]&&!w)&&(f=i.default.createElement(O.default,{proFeature:e[0],siteAdminUrl:t})),e[1]=i.default.createElement("span",null,e[1],i.default.createElement(h.default,{compact:!0,href:"#/plans"},(0,g.translate)("Pro"))),_||("akismet"===e[0]&&b("akismet/akismet.php")?d.configure_url=t+"admin.php?page=akismet-key-config":"scan"!==e[0]&&"backups"!==e[0]||!b("vaultpress/vaultpress.php")||(d.configure_url="https://dashboard.vaultpress.com/"))),1===e.length?i.default.createElement("h1",null,e[0]):i.default.createElement(u.default,{key:e[0],className:v,header:e[1],searchTerms:e.toString().replace(/<(?:.|\n)*?>/gm,""),subheader:e[2],summary:f,expandedSummary:f,clickableHeaderText:!0,onOpen:function(){return y.default.tracks.recordEvent("jetpack_wpa_settings_card_open",{card:e[0],path:"/search"})}},r(e[0])||c?i.default.createElement(E.AllModuleSettings,{module:c?d:s(e[0])}):i.default.createElement("div",{dangerouslySetInnerHTML:a(s(e[0]))}),i.default.createElement("br",null),i.default.createElement("div",{className:"jp-module-settings__learn-more"},i.default.createElement(h.default,{borderless:!0,compact:!0,href:e[3]},i.default.createElement(M.default,{icon:"help-outline"}),i.default.createElement("span",{className:"screen-reader-text"},(0,g.translate)("Learn More")))))}),i.default.createElement("div",null,i.default.createElement(T.default,null),i.default.createElement(v.default,{filter:d(),noResultsText:(0,g.translate)("No Results Found.")},z))};t.default=(0,s.connect)(function(e){return{isModuleActivated:function(t){return(0,w.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,w.isActivatingModule)(e,t)||(0,w.isDeactivatingModule)(e,t)},getModule:function(t){return(0,w.getModule)(e,t)},getModules:function(){return(0,w.getModules)(e)},searchTerm:function(){return(0,z.getSearchTerm)(e)},sitePlan:(0,S.getSitePlan)(e),unavailableInDevMode:function(t){return(0,L.isUnavailableInDevMode)(e,t)},isFetchingPluginsData:(0,N.isFetchingPluginsData)(e),isPluginActive:function(t){return(0,N.isPluginActive)(e,t)}}},function(e){return{toggleModule:function(t,n){return e(n?(0,w.deactivateModule)(t):(0,w.activateModule)(t))}}})(C)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=o.default.createClass({displayName:"Hider",propTypes:{hide:o.default.PropTypes.bool},render:function(){return o.default.createElement("div",{className:"design-assets__group",style:this.props.hide?{display:"none"}:{}},this.props.children)}}),s=o.default.createClass({displayName:"FilterSummary",getDefaultProps:function(){return{noResultsText:"No Results Found"}},propTypes:{noResultsText:o.default.PropTypes.string},render:function(){return 0===this.props.items.length?o.default.createElement("p",null,this.props.noResultsText):null}});t.default=o.default.createClass({displayName:"Collection",shouldWeHide:function(e){var t=void 0,n=void 0;return t=this.props.filter||"",n=e.props.searchTerms,this.props.component?e.type.displayName.toLowerCase()!==this.props.component.replace(/-([a-z])/g,"$1"):(e.props.searchKeywords&&(n+=" "+e.props.searchKeywords),!(!t||n.toLowerCase().indexOf(t)>-1))},visibleExamples:function(e){return e.filter(function(e){return!e.props.hide})},render:function(){var e=this,t=void 0,n=void 0;return n=o.default.Children.map(this.props.children,function(t){return o.default.createElement(i,{hide:e.shouldWeHide(t),key:"example-"+t.type.displayName},t)}),this.props.component||(t=o.default.createElement(s,{items:this.visibleExamples(n),total:this.props.children.length,noResultsText:this.props.noResultsText})),o.default.createElement("div",{className:"collection"},t,n)}}),e.exports=t.default}]);
_inc/idc-notice.js CHANGED
@@ -26,7 +26,7 @@
26
  clearConfirmationArgsFromUrl();
27
 
28
  // If the user dismisses the notice, set a cookie for one week so we don't display it for that time.
29
- notice.on( 'click.wp-dismiss-notice', function() {
30
  var secure = ( 'https:' === window.location.protocol );
31
  wpCookies.set( 'jetpack_idc_dismiss_notice', '1', 7 * 24 * 60 * 60, false, false, secure );
32
  trackAndBumpMCStats( 'non_admin_notice_dismiss', { 'page': tracksEvent.currentScreen } );
26
  clearConfirmationArgsFromUrl();
27
 
28
  // If the user dismisses the notice, set a cookie for one week so we don't display it for that time.
29
+ notice.on( 'click', '.notice-dismiss', function() {
30
  var secure = ( 'https:' === window.location.protocol );
31
  wpCookies.set( 'jetpack_idc_dismiss_notice', '1', 7 * 24 * 60 * 60, false, false, secure );
32
  trackAndBumpMCStats( 'non_admin_notice_dismiss', { 'page': tracksEvent.currentScreen } );
_inc/jetpack-strings.php CHANGED
@@ -11,14 +11,14 @@ _x( "Plans", "Navigation item.", "jetpack" ), // _inc/client/admin.js:59
11
  _x( "Apps", "Navigation item.", "jetpack" ), // _inc/client/admin.js:58
12
  __( "At A Glance", "jetpack" ), // _inc/client/admin.js:57
13
  _x( "At A Glance", "Navigation item.", "jetpack" ), // _inc/client/admin.js:55
14
- __( "Options failed to reset.", "jetpack" ), // _inc/client/state/dev-version/actions.js:35
15
- __( "Options reset.", "jetpack" ), // _inc/client/state/dev-version/actions.js:28
16
- __( "Resetting Jetpack options…", "jetpack" ), // _inc/client/state/dev-version/actions.js:22
17
  __( "Error unlinking from WordPress.com. %(error)s", "jetpack" ), // _inc/client/state/connection/actions.js:128
18
  __( "Unlinked from WordPress.com.", "jetpack" ), // _inc/client/state/connection/actions.js:119
19
  __( "Unlinking from WordPress.com", "jetpack" ), // _inc/client/state/connection/actions.js:112
20
  __( "There was an error disconnecting Jetpack. Error: %(error)s", "jetpack" ), // _inc/client/state/connection/actions.js:96
21
  __( "Disconnecting Jetpack", "jetpack" ), // _inc/client/state/connection/actions.js:81
 
 
 
22
  __( "Recommended features failed to activate. %(error)s", "jetpack" ), // _inc/client/state/jumpstart/actions.js:47
23
  __( "Recommended features active.", "jetpack" ), // _inc/client/state/jumpstart/actions.js:37
24
  __( "Activating recommended features…", "jetpack" ), // _inc/client/state/jumpstart/actions.js:29
@@ -41,39 +41,6 @@ __( "Show falling snow in the holiday period.", "jetpack" ), // _inc/client/appe
41
  __( "Holiday Snow", "jetpack" ), // _inc/client/appearance/index.jsx:99
42
  __( "Learn More", "jetpack" ), // _inc/client/appearance/index.jsx:87
43
  __( "Unavailable in Dev Mode", "jetpack" ), // _inc/client/appearance/index.jsx:57
44
- __( "WordPress.com for Linux", "jetpack" ), // _inc/client/apps/index.jsx:192
45
- __( "WordPress.com for Windows", "jetpack" ), // _inc/client/apps/index.jsx:188
46
- __( "WordPress.com for Mac OS X", "jetpack" ), // _inc/client/apps/index.jsx:183
47
- __( "A desktop app that gives WordPress a permanent home on your computer. Not to mention the distraction free environment you get writing outside of a web browser.", "jetpack" ), // _inc/client/apps/index.jsx:180
48
- __( "On Your Desktop", "jetpack" ), // _inc/client/apps/index.jsx:179
49
- __( "WordPress.com in Google Play", "jetpack" ), // _inc/client/apps/index.jsx:167
50
- __( "WordPress.com in the App Store", "jetpack" ), // _inc/client/apps/index.jsx:158
51
- __( "Publish content, track stats, moderate comments and so much more from anywhere in the world. Our mobile apps are open source, free and available to you on Apple or Android devices.", "jetpack" ), // _inc/client/apps/index.jsx:155
52
- __( "In Your Pocket", "jetpack" ), // _inc/client/apps/index.jsx:154
53
- __( "Get WordPress apps for any screen.", "jetpack" ), // _inc/client/apps/index.jsx:147
54
- __( "Inspiration strikes any time, anywhere.", "jetpack" ), // _inc/client/apps/index.jsx:143
55
- __( "Launch Reader", "jetpack" ), // _inc/client/apps/index.jsx:121
56
- __( "The WordPress apps all have impressively fast and full featured readers so you can catch up with your favorite sites and join the conversation anywhere, any time.", "jetpack" ), // _inc/client/apps/index.jsx:119
57
- __( "Connect with the Community", "jetpack" ), // _inc/client/apps/index.jsx:118
58
- __( "View Your Stats", "jetpack" ), // _inc/client/apps/index.jsx:96
59
- __( "Monitor your visitors with advanced stats. Watch for trends, learn what content performs the best and understand your visitors from anywhere in the world.", "jetpack" ), // _inc/client/apps/index.jsx:94
60
- __( "Connect with your Visitors", "jetpack" ), // _inc/client/apps/index.jsx:93
61
- __( "Try the New Editor", "jetpack" ), // _inc/client/apps/index.jsx:74
62
- __( "Our new editor is lightning fast, optimized for writers and eliminates distractions, giving you the ability to focus on your work.", "jetpack" ), // _inc/client/apps/index.jsx:72
63
- __( "Focus on your Writing", "jetpack" ), // _inc/client/apps/index.jsx:71
64
- __( "Manage Plugins", "jetpack" ), // _inc/client/apps/index.jsx:58
65
- __( "Most security flaws are found in outdated plugins. Use our Web and Desktop apps to turn on auto-updates or update plugins manually for all your websites in one convenient place.", "jetpack" ), // _inc/client/apps/index.jsx:56
66
- __( "Bulk and automatic updates", "jetpack" ), // _inc/client/apps/index.jsx:55
67
- __( "All the WordPress apps are built for speed. You'll notice the difference in performance immediately, with near-instant page-loads and less waiting around.", "jetpack" ), // _inc/client/apps/index.jsx:31
68
- __( "Feel the performance", "jetpack" ), // _inc/client/apps/index.jsx:30
69
- __( "Manage all your sites from a single dashboard.", "jetpack" ), // _inc/client/apps/index.jsx:25
70
- __( "Powerful WordPress.com features on every device.", "jetpack" ), // _inc/client/apps/index.jsx:21
71
- __( "View your {{a}}Email Followers{{/a}}", "jetpack" ), // _inc/client/engagement/index.jsx:190
72
- __( "View {{a}}All Stats{{/a}}", "jetpack" ), // _inc/client/engagement/index.jsx:175
73
- __( "Learn More", "jetpack" ), // _inc/client/engagement/index.jsx:168
74
- __( "Pro", "jetpack" ), // _inc/client/engagement/index.jsx:123
75
- __( "Unavailable in Dev Mode", "jetpack" ), // _inc/client/engagement/index.jsx:107
76
- __( "Your site must be accessible by search engines for this feature to work properly. You can change this in {{a}}Reading Settings{{/a}}.", "jetpack" ), // _inc/client/engagement/index.jsx:53
77
  _x( "Spam comments blocked.", "Example: \"412 Spam comments blocked\"", "jetpack" ), // _inc/client/at-a-glance/akismet.jsx:129
78
  __( "Whoops! Your Akismet key is missing or invalid. {{akismetSettings}}Go to Akismet settings to fix{{/akismetSettings}}.", "jetpack" ), // _inc/client/at-a-glance/akismet.jsx:108
79
  __( "Invalid Key", "jetpack" ), // _inc/client/at-a-glance/akismet.jsx:102
@@ -123,6 +90,33 @@ __( "Malware Scanning", "jetpack" ), // _inc/client/at-a-glance/scan.jsx:28
123
  __( "{{a}}Activate Site Verification{{/a}} to verify your site and increase ranking with Google, Bing, and Pinterest.", "jetpack" ), // _inc/client/at-a-glance/site-verification.jsx:43
124
  __( "Site Verification Tools are active. Ensure your site is verified with Google, Bing, and Pinterest for more accurate indexing and ranking. {{a}}Verify now{{/a}}", "jetpack" ), // _inc/client/at-a-glance/site-verification.jsx:27
125
  __( "Site Verification Tools", "jetpack" ), // _inc/client/at-a-glance/site-verification.jsx:21
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
126
  __( "Link your account to WordPress.com to get the most out of Jetpack.", "jetpack" ), // _inc/client/general-settings/connection-settings.jsx:57
127
  __( "You are connected as ", "jetpack" ), // _inc/client/general-settings/connection-settings.jsx:47
128
  __( "The site is in Development Mode, so you can not connect to WordPress.com.", "jetpack" ), // _inc/client/general-settings/connection-settings.jsx:37
@@ -130,6 +124,12 @@ __( "Manage your Jetpack connection.", "jetpack" ), // _inc/client/general-setti
130
  __( "Connection Settings", "jetpack" ), // _inc/client/general-settings/index.jsx:88
131
  __( "Learn More", "jetpack" ), // _inc/client/general-settings/index.jsx:79
132
  __( "Unavailable in Dev Mode", "jetpack" ), // _inc/client/general-settings/index.jsx:46
 
 
 
 
 
 
133
  __( "Need help? A Happiness Engineer can answer questions about your site, your account or how to do about anything.", "jetpack" ), // _inc/client/plans/plan-body.jsx:203
134
  __( "Enjoy priority support", "jetpack" ), // _inc/client/plans/plan-body.jsx:202
135
  __( "Bulletproof spam filtering protects your brand, your readers, and improves SEO. Brute force login protection helps maintain peace of mind and keeps your backend safe from intruders.", "jetpack" ), // _inc/client/plans/plan-body.jsx:198
@@ -191,15 +191,15 @@ __( "Upgrade", "jetpack" ), // _inc/client/pro-status/index.jsx:94
191
  __( "Invalid Key", "jetpack" ), // _inc/client/pro-status/index.jsx:80
192
  __( "Threats found!", "jetpack" ), // _inc/client/pro-status/index.jsx:65
193
  __( "Unavailable in Dev Mode", "jetpack" ), // _inc/client/pro-status/index.jsx:55
194
- __( "No Results Found.", "jetpack" ), // _inc/client/search/index.jsx:174
195
- __( "Learn More", "jetpack" ), // _inc/client/search/index.jsx:163
196
- __( "Pro", "jetpack" ), // _inc/client/search/index.jsx:120
197
- __( "Unavailable in Dev Mode", "jetpack" ), // _inc/client/search/index.jsx:96
198
- __( "Keep your site backed up!", "jetpack" ), // _inc/client/search/index.jsx:71
199
- __( "Site Backups", "jetpack" ), // _inc/client/search/index.jsx:70
200
- __( "Keep those spammers away!", "jetpack" ), // _inc/client/search/index.jsx:64
201
- __( "Automatically scan your site for common threats and attacks.", "jetpack" ), // _inc/client/search/index.jsx:57
202
- __( "Security Scanning", "jetpack" ), // _inc/client/search/index.jsx:56
203
  __( "Learn More", "jetpack" ), // _inc/client/security/index.jsx:119
204
  __( "Pro", "jetpack" ), // _inc/client/security/index.jsx:82
205
  __( "Unavailable in Dev Mode", "jetpack" ), // _inc/client/security/index.jsx:55
@@ -326,11 +326,6 @@ __( "Send us Feedback", "jetpack" ), // _inc/client/components/masthead/index.js
326
  __( "Send us Feedback", "jetpack" ), // _inc/client/components/masthead/index.jsx:43
327
  __( "Need Help?", "jetpack" ), // _inc/client/components/masthead/index.jsx:37
328
  __( "Need Help?", "jetpack" ), // _inc/client/components/masthead/index.jsx:35
329
- _x( "Apps", "Navigation item.", "jetpack" ), // _inc/client/components/navigation/index.jsx:63
330
- _x( "At a Glance", "Navigation item.", "jetpack" ), // _inc/client/components/navigation/index.jsx:50
331
- _x( "Plans", "Navigation item.", "jetpack" ), // _inc/client/components/navigation/index.jsx:39
332
- _x( "Apps", "Navigation item.", "jetpack" ), // _inc/client/components/navigation/index.jsx:34
333
- _x( "At a Glance", "Navigation item.", "jetpack" ), // _inc/client/components/navigation/index.jsx:29
334
  __( "News Sitemap: {{a}}%(url)s{{/a}}", "jetpack" ), // _inc/client/components/module-settings/index.jsx:818
335
  __( "Sitemap: {{a}}%(url)s{{/a}}", "jetpack" ), // _inc/client/components/module-settings/index.jsx:808
336
  __( "Search engines will find the sitemaps at these locations:", "jetpack" ), // _inc/client/components/module-settings/index.jsx:806
@@ -427,6 +422,11 @@ __( "Configure your Security Scans", "jetpack" ), // _inc/client/components/modu
427
  __( "You can see the information about security scanning in the \"At a Glance\" section.", "jetpack" ), // _inc/client/components/module-settings/modules-per-tab-page.jsx:82
428
  __( "Upgrade Jetpack and our state-of-the-art security scanner will hunt out malicious files and report them immediately so that you're never unaware of what is happening on your website.", "jetpack" ), // _inc/client/components/module-settings/modules-per-tab-page.jsx:76
429
  __( "Search your content.", "jetpack" ), // _inc/client/components/module-settings/modules-per-tab-page.jsx:49
 
 
 
 
 
430
  _x( "Writing", "Navigation item.", "jetpack" ), // _inc/client/components/navigation-settings/index.jsx:123
431
  _x( "Engagement", "Navigation item.", "jetpack" ), // _inc/client/components/navigation-settings/index.jsx:118
432
  _x( "General", "Navigation item.", "jetpack" ), // _inc/client/components/navigation-settings/index.jsx:113
11
  _x( "Apps", "Navigation item.", "jetpack" ), // _inc/client/admin.js:58
12
  __( "At A Glance", "jetpack" ), // _inc/client/admin.js:57
13
  _x( "At A Glance", "Navigation item.", "jetpack" ), // _inc/client/admin.js:55
 
 
 
14
  __( "Error unlinking from WordPress.com. %(error)s", "jetpack" ), // _inc/client/state/connection/actions.js:128
15
  __( "Unlinked from WordPress.com.", "jetpack" ), // _inc/client/state/connection/actions.js:119
16
  __( "Unlinking from WordPress.com", "jetpack" ), // _inc/client/state/connection/actions.js:112
17
  __( "There was an error disconnecting Jetpack. Error: %(error)s", "jetpack" ), // _inc/client/state/connection/actions.js:96
18
  __( "Disconnecting Jetpack", "jetpack" ), // _inc/client/state/connection/actions.js:81
19
+ __( "Options failed to reset.", "jetpack" ), // _inc/client/state/dev-version/actions.js:35
20
+ __( "Options reset.", "jetpack" ), // _inc/client/state/dev-version/actions.js:28
21
+ __( "Resetting Jetpack options…", "jetpack" ), // _inc/client/state/dev-version/actions.js:22
22
  __( "Recommended features failed to activate. %(error)s", "jetpack" ), // _inc/client/state/jumpstart/actions.js:47
23
  __( "Recommended features active.", "jetpack" ), // _inc/client/state/jumpstart/actions.js:37
24
  __( "Activating recommended features…", "jetpack" ), // _inc/client/state/jumpstart/actions.js:29
41
  __( "Holiday Snow", "jetpack" ), // _inc/client/appearance/index.jsx:99
42
  __( "Learn More", "jetpack" ), // _inc/client/appearance/index.jsx:87
43
  __( "Unavailable in Dev Mode", "jetpack" ), // _inc/client/appearance/index.jsx:57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  _x( "Spam comments blocked.", "Example: \"412 Spam comments blocked\"", "jetpack" ), // _inc/client/at-a-glance/akismet.jsx:129
45
  __( "Whoops! Your Akismet key is missing or invalid. {{akismetSettings}}Go to Akismet settings to fix{{/akismetSettings}}.", "jetpack" ), // _inc/client/at-a-glance/akismet.jsx:108
46
  __( "Invalid Key", "jetpack" ), // _inc/client/at-a-glance/akismet.jsx:102
90
  __( "{{a}}Activate Site Verification{{/a}} to verify your site and increase ranking with Google, Bing, and Pinterest.", "jetpack" ), // _inc/client/at-a-glance/site-verification.jsx:43
91
  __( "Site Verification Tools are active. Ensure your site is verified with Google, Bing, and Pinterest for more accurate indexing and ranking. {{a}}Verify now{{/a}}", "jetpack" ), // _inc/client/at-a-glance/site-verification.jsx:27
92
  __( "Site Verification Tools", "jetpack" ), // _inc/client/at-a-glance/site-verification.jsx:21
93
+ __( "WordPress.com for Linux", "jetpack" ), // _inc/client/apps/index.jsx:192
94
+ __( "WordPress.com for Windows", "jetpack" ), // _inc/client/apps/index.jsx:188
95
+ __( "WordPress.com for Mac OS X", "jetpack" ), // _inc/client/apps/index.jsx:183
96
+ __( "A desktop app that gives WordPress a permanent home on your computer. Not to mention the distraction free environment you get writing outside of a web browser.", "jetpack" ), // _inc/client/apps/index.jsx:180
97
+ __( "On Your Desktop", "jetpack" ), // _inc/client/apps/index.jsx:179
98
+ __( "WordPress.com in Google Play", "jetpack" ), // _inc/client/apps/index.jsx:167
99
+ __( "WordPress.com in the App Store", "jetpack" ), // _inc/client/apps/index.jsx:158
100
+ __( "Publish content, track stats, moderate comments and so much more from anywhere in the world. Our mobile apps are open source, free and available to you on Apple or Android devices.", "jetpack" ), // _inc/client/apps/index.jsx:155
101
+ __( "In Your Pocket", "jetpack" ), // _inc/client/apps/index.jsx:154
102
+ __( "Get WordPress apps for any screen.", "jetpack" ), // _inc/client/apps/index.jsx:147
103
+ __( "Inspiration strikes any time, anywhere.", "jetpack" ), // _inc/client/apps/index.jsx:143
104
+ __( "Launch Reader", "jetpack" ), // _inc/client/apps/index.jsx:121
105
+ __( "The WordPress apps all have impressively fast and full featured readers so you can catch up with your favorite sites and join the conversation anywhere, any time.", "jetpack" ), // _inc/client/apps/index.jsx:119
106
+ __( "Connect with the Community", "jetpack" ), // _inc/client/apps/index.jsx:118
107
+ __( "View Your Stats", "jetpack" ), // _inc/client/apps/index.jsx:96
108
+ __( "Monitor your visitors with advanced stats. Watch for trends, learn what content performs the best and understand your visitors from anywhere in the world.", "jetpack" ), // _inc/client/apps/index.jsx:94
109
+ __( "Connect with your Visitors", "jetpack" ), // _inc/client/apps/index.jsx:93
110
+ __( "Try the New Editor", "jetpack" ), // _inc/client/apps/index.jsx:74
111
+ __( "Our new editor is lightning fast, optimized for writers and eliminates distractions, giving you the ability to focus on your work.", "jetpack" ), // _inc/client/apps/index.jsx:72
112
+ __( "Focus on your Writing", "jetpack" ), // _inc/client/apps/index.jsx:71
113
+ __( "Manage Plugins", "jetpack" ), // _inc/client/apps/index.jsx:58
114
+ __( "Most security flaws are found in outdated plugins. Use our Web and Desktop apps to turn on auto-updates or update plugins manually for all your websites in one convenient place.", "jetpack" ), // _inc/client/apps/index.jsx:56
115
+ __( "Bulk and automatic updates", "jetpack" ), // _inc/client/apps/index.jsx:55
116
+ __( "All the WordPress apps are built for speed. You'll notice the difference in performance immediately, with near-instant page-loads and less waiting around.", "jetpack" ), // _inc/client/apps/index.jsx:31
117
+ __( "Feel the performance", "jetpack" ), // _inc/client/apps/index.jsx:30
118
+ __( "Manage all your sites from a single dashboard.", "jetpack" ), // _inc/client/apps/index.jsx:25
119
+ __( "Powerful WordPress.com features on every device.", "jetpack" ), // _inc/client/apps/index.jsx:21
120
  __( "Link your account to WordPress.com to get the most out of Jetpack.", "jetpack" ), // _inc/client/general-settings/connection-settings.jsx:57
121
  __( "You are connected as ", "jetpack" ), // _inc/client/general-settings/connection-settings.jsx:47
122
  __( "The site is in Development Mode, so you can not connect to WordPress.com.", "jetpack" ), // _inc/client/general-settings/connection-settings.jsx:37
124
  __( "Connection Settings", "jetpack" ), // _inc/client/general-settings/index.jsx:88
125
  __( "Learn More", "jetpack" ), // _inc/client/general-settings/index.jsx:79
126
  __( "Unavailable in Dev Mode", "jetpack" ), // _inc/client/general-settings/index.jsx:46
127
+ __( "View your {{a}}Email Followers{{/a}}", "jetpack" ), // _inc/client/engagement/index.jsx:206
128
+ __( "View {{a}}All Stats{{/a}}", "jetpack" ), // _inc/client/engagement/index.jsx:191
129
+ __( "Learn More", "jetpack" ), // _inc/client/engagement/index.jsx:184
130
+ __( "Pro", "jetpack" ), // _inc/client/engagement/index.jsx:139
131
+ __( "Unavailable in Dev Mode", "jetpack" ), // _inc/client/engagement/index.jsx:123
132
+ __( "Your site must be accessible by search engines for this feature to work properly. You can change this in {{a}}Reading Settings{{/a}}.", "jetpack" ), // _inc/client/engagement/index.jsx:53
133
  __( "Need help? A Happiness Engineer can answer questions about your site, your account or how to do about anything.", "jetpack" ), // _inc/client/plans/plan-body.jsx:203
134
  __( "Enjoy priority support", "jetpack" ), // _inc/client/plans/plan-body.jsx:202
135
  __( "Bulletproof spam filtering protects your brand, your readers, and improves SEO. Brute force login protection helps maintain peace of mind and keeps your backend safe from intruders.", "jetpack" ), // _inc/client/plans/plan-body.jsx:198
191
  __( "Invalid Key", "jetpack" ), // _inc/client/pro-status/index.jsx:80
192
  __( "Threats found!", "jetpack" ), // _inc/client/pro-status/index.jsx:65
193
  __( "Unavailable in Dev Mode", "jetpack" ), // _inc/client/pro-status/index.jsx:55
194
+ __( "No Results Found.", "jetpack" ), // _inc/client/search/index.jsx:198
195
+ __( "Learn More", "jetpack" ), // _inc/client/search/index.jsx:187
196
+ __( "Pro", "jetpack" ), // _inc/client/search/index.jsx:144
197
+ __( "Unavailable in Dev Mode", "jetpack" ), // _inc/client/search/index.jsx:111
198
+ __( "Keep your site backed up!", "jetpack" ), // _inc/client/search/index.jsx:72
199
+ __( "Site Backups", "jetpack" ), // _inc/client/search/index.jsx:71
200
+ __( "Keep those spammers away!", "jetpack" ), // _inc/client/search/index.jsx:65
201
+ __( "Automatically scan your site for common threats and attacks.", "jetpack" ), // _inc/client/search/index.jsx:58
202
+ __( "Security Scanning", "jetpack" ), // _inc/client/search/index.jsx:57
203
  __( "Learn More", "jetpack" ), // _inc/client/security/index.jsx:119
204
  __( "Pro", "jetpack" ), // _inc/client/security/index.jsx:82
205
  __( "Unavailable in Dev Mode", "jetpack" ), // _inc/client/security/index.jsx:55
326
  __( "Send us Feedback", "jetpack" ), // _inc/client/components/masthead/index.jsx:43
327
  __( "Need Help?", "jetpack" ), // _inc/client/components/masthead/index.jsx:37
328
  __( "Need Help?", "jetpack" ), // _inc/client/components/masthead/index.jsx:35
 
 
 
 
 
329
  __( "News Sitemap: {{a}}%(url)s{{/a}}", "jetpack" ), // _inc/client/components/module-settings/index.jsx:818
330
  __( "Sitemap: {{a}}%(url)s{{/a}}", "jetpack" ), // _inc/client/components/module-settings/index.jsx:808
331
  __( "Search engines will find the sitemaps at these locations:", "jetpack" ), // _inc/client/components/module-settings/index.jsx:806
422
  __( "You can see the information about security scanning in the \"At a Glance\" section.", "jetpack" ), // _inc/client/components/module-settings/modules-per-tab-page.jsx:82
423
  __( "Upgrade Jetpack and our state-of-the-art security scanner will hunt out malicious files and report them immediately so that you're never unaware of what is happening on your website.", "jetpack" ), // _inc/client/components/module-settings/modules-per-tab-page.jsx:76
424
  __( "Search your content.", "jetpack" ), // _inc/client/components/module-settings/modules-per-tab-page.jsx:49
425
+ _x( "Apps", "Navigation item.", "jetpack" ), // _inc/client/components/navigation/index.jsx:63
426
+ _x( "At a Glance", "Navigation item.", "jetpack" ), // _inc/client/components/navigation/index.jsx:50
427
+ _x( "Plans", "Navigation item.", "jetpack" ), // _inc/client/components/navigation/index.jsx:39
428
+ _x( "Apps", "Navigation item.", "jetpack" ), // _inc/client/components/navigation/index.jsx:34
429
+ _x( "At a Glance", "Navigation item.", "jetpack" ), // _inc/client/components/navigation/index.jsx:29
430
  _x( "Writing", "Navigation item.", "jetpack" ), // _inc/client/components/navigation-settings/index.jsx:123
431
  _x( "Engagement", "Navigation item.", "jetpack" ), // _inc/client/components/navigation-settings/index.jsx:118
432
  _x( "General", "Navigation item.", "jetpack" ), // _inc/client/components/navigation-settings/index.jsx:113
_inc/lib/admin-pages/class.jetpack-admin-page.php CHANGED
@@ -151,19 +151,44 @@ abstract class Jetpack_Admin_Page {
151
  * @return bool|array
152
  */
153
  function check_plan_deactivate_modules( $page ) {
154
- if ( Jetpack::is_development_mode()
155
- || ! in_array( $page->base, array( 'toplevel_page_jetpack', 'admin_page_jetpack_modules', 'jetpack_page_vaultpress', 'jetpack_page_stats', 'jetpack_page_akismet-key-config' ) )
156
- || true === self::$plan_checked ) {
 
 
 
 
 
 
 
 
 
 
 
157
  return false;
158
  }
 
159
  self::$plan_checked = true;
160
  $previous = get_option( 'jetpack_active_plan', '' );
161
  $response = rest_do_request( new WP_REST_Request( 'GET', '/jetpack/v4/site' ) );
 
 
 
 
 
 
 
 
162
  $current = $response->get_data();
163
  $current = json_decode( $current['data'] );
 
164
  $to_deactivate = array();
165
  if ( isset( $current->plan->product_slug ) ) {
166
- if ( empty( $previous ) || ! isset( $previous['product_slug'] ) || $previous['product_slug'] !== $current->plan->product_slug ) {
 
 
 
 
167
  $active = Jetpack::get_active_modules();
168
  switch ( $current->plan->product_slug ) {
169
  case 'jetpack_free':
151
  * @return bool|array
152
  */
153
  function check_plan_deactivate_modules( $page ) {
154
+ if (
155
+ Jetpack::is_development_mode()
156
+ || ! in_array(
157
+ $page->base,
158
+ array(
159
+ 'toplevel_page_jetpack',
160
+ 'admin_page_jetpack_modules',
161
+ 'jetpack_page_vaultpress',
162
+ 'jetpack_page_stats',
163
+ 'jetpack_page_akismet-key-config'
164
+ )
165
+ )
166
+ || true === self::$plan_checked
167
+ ) {
168
  return false;
169
  }
170
+
171
  self::$plan_checked = true;
172
  $previous = get_option( 'jetpack_active_plan', '' );
173
  $response = rest_do_request( new WP_REST_Request( 'GET', '/jetpack/v4/site' ) );
174
+
175
+ if ( ! is_object( $response ) || $response->is_error() ) {
176
+
177
+ // If we can't get information about the current plan we don't do anything
178
+ self::$plan_checked = true;
179
+ return;
180
+ }
181
+
182
  $current = $response->get_data();
183
  $current = json_decode( $current['data'] );
184
+
185
  $to_deactivate = array();
186
  if ( isset( $current->plan->product_slug ) ) {
187
+ if (
188
+ empty( $previous )
189
+ || ! isset( $previous['product_slug'] )
190
+ || $previous['product_slug'] !== $current->plan->product_slug
191
+ ) {
192
  $active = Jetpack::get_active_modules();
193
  switch ( $current->plan->product_slug ) {
194
  case 'jetpack_free':
changelog.txt CHANGED
@@ -1,5 +1,16 @@
1
  == Changelog ==
2
 
 
 
 
 
 
 
 
 
 
 
 
3
  = 4.4 =
4
 
5
  * Release date: November 21, 2016
@@ -2678,4 +2689,4 @@ stats reports.
2678
  Release Date: March 9, 2011
2679
  Release post: http://wp.me/p1moTy-7R
2680
 
2681
- * Initial release
1
  == Changelog ==
2
 
3
+ = 4.4.1 =
4
+
5
+ * Release date: November 22, 2016
6
+
7
+ **Bug Fixes**
8
+
9
+ * Fixed an issue where some users with slower servers would get an error on
10
+ the Jetpack dashboard when `WP_DEBUG` was enabled.
11
+ * Fixed an issue where users on a Jetpack Professional plan who were paying
12
+ monthly (as opposed to annually) wouldn’t be able to enable SEO Tools.
13
+
14
  = 4.4 =
15
 
16
  * Release date: November 21, 2016
2689
  Release Date: March 9, 2011
2690
  Release post: http://wp.me/p1moTy-7R
2691
 
2692
+ * Initial release
css/jetpack-idc-rtl.css CHANGED
@@ -31,6 +31,7 @@ https://github.com/thoughtbot/bourbon
31
  margin-right: 0;
32
  margin-left: 10px;
33
  margin-top: 10px;
 
34
  padding-bottom: 16px;
35
  padding-top: 0;
36
  }
31
  margin-right: 0;
32
  margin-left: 10px;
33
  margin-top: 10px;
34
+ overflow: hidden;
35
  padding-bottom: 16px;
36
  padding-top: 0;
37
  }
css/jetpack-idc-rtl.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":[],"mappings":"","sources":["jetpack-idc-rtl.css"],"sourcesContent":["/*!\n* Do not modify this file directly. It is compiled SASS code.\n*/\n@charset \"UTF-8\";\n/*\nThe MIT License (MIT)\n\nCopyright © 2011–2015 thoughtbot, inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\ndocumentation files (the “Software”), to deal in the Software without restriction, including without limitation the\nrights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit\npersons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial\nportions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\nOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nhttps://github.com/thoughtbot/bourbon\n*/\n.jp-idc-notice,\n.jp-idc-notice * {\n box-sizing: border-box;\n}\n\n.jp-idc-notice {\n margin-right: 0;\n margin-left: 10px;\n margin-top: 10px;\n padding-bottom: 16px;\n padding-top: 0;\n}\n\n.jp-idc-notice.is-non-admin {\n padding-bottom: 0;\n}\n\n@media all and (min-width: 783px) {\n .jp-idc-notice {\n margin-left: 20px;\n margin-top: 20px;\n }\n .jp-idc-notice.has-help-tabs {\n margin-top: 48px;\n }\n}\n\n.jp-idc-notice p {\n margin: 0;\n padding: 0;\n}\n\n.jp-idc-notice h3, .jp-idc-notice p {\n color: #2e4453;\n}\n\n.jp-idc-notice a:not(.dops-notice__action) {\n color: #0087be;\n text-decoration: none;\n}\n\n.jp-idc-notice a:not(.dops-notice__action):visited {\n color: #0087be;\n}\n\n.jp-idc-notice a:not(.dops-notice__action):hover, .jp-idc-notice a:not(.dops-notice__action):focus, .jp-idc-notice a:not(.dops-notice__action):active {\n color: #33bbe3;\n}\n\n.jp-idc-notice .dops-button {\n -ms-flex-item-align: start;\n align-self: flex-start;\n margin-top: auto;\n}\n\n.jp-idc-notice > div {\n padding: 0 8px;\n}\n\n.jp-idc-notice__first-step {\n display: inline-block;\n}\n\n.jp-idc-notice__second-step {\n display: none;\n}\n\n.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__first-step {\n display: none;\n}\n\n.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__second-step {\n display: inline-block;\n}\n\n.jp-idc-notice .jp-idc-notice__header {\n padding-top: 8px;\n padding-bottom: 8px;\n}\n\n.jp-idc-notice__header__emblem {\n fill: #8cc258;\n width: 25px;\n height: 25px;\n margin: 0 auto 0 1em;\n float: right;\n}\n\n.jp-idc-notice__header__text {\n font-size: 14px;\n font-weight: 600;\n line-height: 25px;\n margin: 0;\n}\n\n.jp-idc-notice__content-header {\n margin: 16px 0;\n}\n\n.jp-idc-notice__content-header__lead {\n font-size: 16px;\n font-weight: 600;\n line-height: 21px;\n margin: 0;\n}\n\n.jp-idc-notice__content-header .jp-idc-notice__content-header__explanation {\n font-size: 14px;\n font-weight: 400;\n margin: 8px 0 0;\n}\n\n@media only screen and (min-width: 960px) {\n .jp-idc-notice__content-header .jp-idc-notice__content-header__explanation {\n margin: 4px 0 0;\n }\n}\n\n.jp-idc-notice__action {\n border: 1px solid #e9eff3;\n border-radius: 4px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n padding: 16px;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n margin-top: auto;\n}\n\n.jp-idc-notice__action:last-child {\n margin: 16px 0 0;\n}\n\n@media only screen and (min-width: 960px) {\n .jp-idc-notice__actions {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n }\n .jp-idc-notice__action {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n margin: 0 0 0 8px;\n }\n .jp-idc-notice__action:last-child {\n margin: 0 8px 0 0;\n }\n .jp-idc-notice__action:first-child {\n padding-left: 24px;\n }\n .jp-idc-notice__action:last-child {\n padding-right: 24px;\n }\n}\n\n.jp-idc-notice .jp-idc-notice__action__explanation {\n margin: 0 0 16px 0;\n}\n\n.jp-idc-notice__separator {\n background-color: #e9eff3;\n margin: 0 -10px 0 -10px;\n height: 1px;\n}\n\n.jp-idc-notice.is-dismissible .jp-idc-notice__separator {\n margin-left: -46px;\n}\n\n@media only screen and (min-width: 782px) {\n .jp-idc-notice__separator {\n margin: 0 -12px 0 -12px;\n }\n .jp-idc-notice.is-dismissible .jp-idc-notice__separator {\n margin-left: -38px;\n }\n}\n\n.jp-idc-notice .jp-idc-notice__unsure-prompt {\n margin: 16px 0 0;\n}\n\n.jp-idc-notice .jp-idc-error__notice {\n display: none;\n}\n\n.jp-idc-notice .jp-idc-error__notice .dops-notice__icon {\n height: auto;\n width: auto;\n}\n\n@media only screen and (min-width: 683px) {\n .jp-idc-notice .jp-idc-error__notice .dops-notice__text {\n line-height: 24px;\n }\n}\n"],"file":"jetpack-idc-rtl.css"}
1
+ {"version":3,"names":[],"mappings":"","sources":["jetpack-idc-rtl.css"],"sourcesContent":["/*!\n* Do not modify this file directly. It is compiled SASS code.\n*/\n@charset \"UTF-8\";\n/*\nThe MIT License (MIT)\n\nCopyright © 2011–2015 thoughtbot, inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\ndocumentation files (the “Software”), to deal in the Software without restriction, including without limitation the\nrights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit\npersons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial\nportions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\nOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nhttps://github.com/thoughtbot/bourbon\n*/\n.jp-idc-notice,\n.jp-idc-notice * {\n box-sizing: border-box;\n}\n\n.jp-idc-notice {\n margin-right: 0;\n margin-left: 10px;\n margin-top: 10px;\n overflow: hidden;\n padding-bottom: 16px;\n padding-top: 0;\n}\n\n.jp-idc-notice.is-non-admin {\n padding-bottom: 0;\n}\n\n@media all and (min-width: 783px) {\n .jp-idc-notice {\n margin-left: 20px;\n margin-top: 20px;\n }\n .jp-idc-notice.has-help-tabs {\n margin-top: 48px;\n }\n}\n\n.jp-idc-notice p {\n margin: 0;\n padding: 0;\n}\n\n.jp-idc-notice h3, .jp-idc-notice p {\n color: #2e4453;\n}\n\n.jp-idc-notice a:not(.dops-notice__action) {\n color: #0087be;\n text-decoration: none;\n}\n\n.jp-idc-notice a:not(.dops-notice__action):visited {\n color: #0087be;\n}\n\n.jp-idc-notice a:not(.dops-notice__action):hover, .jp-idc-notice a:not(.dops-notice__action):focus, .jp-idc-notice a:not(.dops-notice__action):active {\n color: #33bbe3;\n}\n\n.jp-idc-notice .dops-button {\n -ms-flex-item-align: start;\n align-self: flex-start;\n margin-top: auto;\n}\n\n.jp-idc-notice > div {\n padding: 0 8px;\n}\n\n.jp-idc-notice__first-step {\n display: inline-block;\n}\n\n.jp-idc-notice__second-step {\n display: none;\n}\n\n.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__first-step {\n display: none;\n}\n\n.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__second-step {\n display: inline-block;\n}\n\n.jp-idc-notice .jp-idc-notice__header {\n padding-top: 8px;\n padding-bottom: 8px;\n}\n\n.jp-idc-notice__header__emblem {\n fill: #8cc258;\n width: 25px;\n height: 25px;\n margin: 0 auto 0 1em;\n float: right;\n}\n\n.jp-idc-notice__header__text {\n font-size: 14px;\n font-weight: 600;\n line-height: 25px;\n margin: 0;\n}\n\n.jp-idc-notice__content-header {\n margin: 16px 0;\n}\n\n.jp-idc-notice__content-header__lead {\n font-size: 16px;\n font-weight: 600;\n line-height: 21px;\n margin: 0;\n}\n\n.jp-idc-notice__content-header .jp-idc-notice__content-header__explanation {\n font-size: 14px;\n font-weight: 400;\n margin: 8px 0 0;\n}\n\n@media only screen and (min-width: 960px) {\n .jp-idc-notice__content-header .jp-idc-notice__content-header__explanation {\n margin: 4px 0 0;\n }\n}\n\n.jp-idc-notice__action {\n border: 1px solid #e9eff3;\n border-radius: 4px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n padding: 16px;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n margin-top: auto;\n}\n\n.jp-idc-notice__action:last-child {\n margin: 16px 0 0;\n}\n\n@media only screen and (min-width: 960px) {\n .jp-idc-notice__actions {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n }\n .jp-idc-notice__action {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n margin: 0 0 0 8px;\n }\n .jp-idc-notice__action:last-child {\n margin: 0 8px 0 0;\n }\n .jp-idc-notice__action:first-child {\n padding-left: 24px;\n }\n .jp-idc-notice__action:last-child {\n padding-right: 24px;\n }\n}\n\n.jp-idc-notice .jp-idc-notice__action__explanation {\n margin: 0 0 16px 0;\n}\n\n.jp-idc-notice__separator {\n background-color: #e9eff3;\n margin: 0 -10px 0 -10px;\n height: 1px;\n}\n\n.jp-idc-notice.is-dismissible .jp-idc-notice__separator {\n margin-left: -46px;\n}\n\n@media only screen and (min-width: 782px) {\n .jp-idc-notice__separator {\n margin: 0 -12px 0 -12px;\n }\n .jp-idc-notice.is-dismissible .jp-idc-notice__separator {\n margin-left: -38px;\n }\n}\n\n.jp-idc-notice .jp-idc-notice__unsure-prompt {\n margin: 16px 0 0;\n}\n\n.jp-idc-notice .jp-idc-error__notice {\n display: none;\n}\n\n.jp-idc-notice .jp-idc-error__notice .dops-notice__icon {\n height: auto;\n width: auto;\n}\n\n@media only screen and (min-width: 683px) {\n .jp-idc-notice .jp-idc-error__notice .dops-notice__text {\n line-height: 24px;\n }\n}\n"],"file":"jetpack-idc-rtl.css"}
css/jetpack-idc-rtl.css.min.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":[],"mappings":"","sources":["jetpack-idc-rtl.css"],"sourcesContent":["/*!\n* Do not modify this file directly. It is compiled SASS code.\n*/\n@charset \"UTF-8\";\n/*\nThe MIT License (MIT)\n\nCopyright © 2011–2015 thoughtbot, inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\ndocumentation files (the “Software”), to deal in the Software without restriction, including without limitation the\nrights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit\npersons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial\nportions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\nOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nhttps://github.com/thoughtbot/bourbon\n*/\n.jp-idc-notice,\n.jp-idc-notice * {\n box-sizing: border-box;\n}\n\n.jp-idc-notice {\n margin-right: 0;\n margin-left: 10px;\n margin-top: 10px;\n padding-bottom: 16px;\n padding-top: 0;\n}\n\n.jp-idc-notice.is-non-admin {\n padding-bottom: 0;\n}\n\n@media all and (min-width: 783px) {\n .jp-idc-notice {\n margin-left: 20px;\n margin-top: 20px;\n }\n .jp-idc-notice.has-help-tabs {\n margin-top: 48px;\n }\n}\n\n.jp-idc-notice p {\n margin: 0;\n padding: 0;\n}\n\n.jp-idc-notice h3, .jp-idc-notice p {\n color: #2e4453;\n}\n\n.jp-idc-notice a:not(.dops-notice__action) {\n color: #0087be;\n text-decoration: none;\n}\n\n.jp-idc-notice a:not(.dops-notice__action):visited {\n color: #0087be;\n}\n\n.jp-idc-notice a:not(.dops-notice__action):hover, .jp-idc-notice a:not(.dops-notice__action):focus, .jp-idc-notice a:not(.dops-notice__action):active {\n color: #33bbe3;\n}\n\n.jp-idc-notice .dops-button {\n -ms-flex-item-align: start;\n align-self: flex-start;\n margin-top: auto;\n}\n\n.jp-idc-notice > div {\n padding: 0 8px;\n}\n\n.jp-idc-notice__first-step {\n display: inline-block;\n}\n\n.jp-idc-notice__second-step {\n display: none;\n}\n\n.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__first-step {\n display: none;\n}\n\n.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__second-step {\n display: inline-block;\n}\n\n.jp-idc-notice .jp-idc-notice__header {\n padding-top: 8px;\n padding-bottom: 8px;\n}\n\n.jp-idc-notice__header__emblem {\n fill: #8cc258;\n width: 25px;\n height: 25px;\n margin: 0 auto 0 1em;\n float: right;\n}\n\n.jp-idc-notice__header__text {\n font-size: 14px;\n font-weight: 600;\n line-height: 25px;\n margin: 0;\n}\n\n.jp-idc-notice__content-header {\n margin: 16px 0;\n}\n\n.jp-idc-notice__content-header__lead {\n font-size: 16px;\n font-weight: 600;\n line-height: 21px;\n margin: 0;\n}\n\n.jp-idc-notice__content-header .jp-idc-notice__content-header__explanation {\n font-size: 14px;\n font-weight: 400;\n margin: 8px 0 0;\n}\n\n@media only screen and (min-width: 960px) {\n .jp-idc-notice__content-header .jp-idc-notice__content-header__explanation {\n margin: 4px 0 0;\n }\n}\n\n.jp-idc-notice__action {\n border: 1px solid #e9eff3;\n border-radius: 4px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n padding: 16px;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n margin-top: auto;\n}\n\n.jp-idc-notice__action:last-child {\n margin: 16px 0 0;\n}\n\n@media only screen and (min-width: 960px) {\n .jp-idc-notice__actions {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n }\n .jp-idc-notice__action {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n margin: 0 0 0 8px;\n }\n .jp-idc-notice__action:last-child {\n margin: 0 8px 0 0;\n }\n .jp-idc-notice__action:first-child {\n padding-left: 24px;\n }\n .jp-idc-notice__action:last-child {\n padding-right: 24px;\n }\n}\n\n.jp-idc-notice .jp-idc-notice__action__explanation {\n margin: 0 0 16px 0;\n}\n\n.jp-idc-notice__separator {\n background-color: #e9eff3;\n margin: 0 -10px 0 -10px;\n height: 1px;\n}\n\n.jp-idc-notice.is-dismissible .jp-idc-notice__separator {\n margin-left: -46px;\n}\n\n@media only screen and (min-width: 782px) {\n .jp-idc-notice__separator {\n margin: 0 -12px 0 -12px;\n }\n .jp-idc-notice.is-dismissible .jp-idc-notice__separator {\n margin-left: -38px;\n }\n}\n\n.jp-idc-notice .jp-idc-notice__unsure-prompt {\n margin: 16px 0 0;\n}\n\n.jp-idc-notice .jp-idc-error__notice {\n display: none;\n}\n\n.jp-idc-notice .jp-idc-error__notice .dops-notice__icon {\n height: auto;\n width: auto;\n}\n\n@media only screen and (min-width: 683px) {\n .jp-idc-notice .jp-idc-error__notice .dops-notice__text {\n line-height: 24px;\n }\n}\n"],"file":"jetpack-idc-rtl.css"}
1
+ {"version":3,"names":[],"mappings":"","sources":["jetpack-idc-rtl.css"],"sourcesContent":["/*!\n* Do not modify this file directly. It is compiled SASS code.\n*/\n@charset \"UTF-8\";\n/*\nThe MIT License (MIT)\n\nCopyright © 2011–2015 thoughtbot, inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\ndocumentation files (the “Software”), to deal in the Software without restriction, including without limitation the\nrights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit\npersons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial\nportions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\nOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nhttps://github.com/thoughtbot/bourbon\n*/\n.jp-idc-notice,\n.jp-idc-notice * {\n box-sizing: border-box;\n}\n\n.jp-idc-notice {\n margin-right: 0;\n margin-left: 10px;\n margin-top: 10px;\n overflow: hidden;\n padding-bottom: 16px;\n padding-top: 0;\n}\n\n.jp-idc-notice.is-non-admin {\n padding-bottom: 0;\n}\n\n@media all and (min-width: 783px) {\n .jp-idc-notice {\n margin-left: 20px;\n margin-top: 20px;\n }\n .jp-idc-notice.has-help-tabs {\n margin-top: 48px;\n }\n}\n\n.jp-idc-notice p {\n margin: 0;\n padding: 0;\n}\n\n.jp-idc-notice h3, .jp-idc-notice p {\n color: #2e4453;\n}\n\n.jp-idc-notice a:not(.dops-notice__action) {\n color: #0087be;\n text-decoration: none;\n}\n\n.jp-idc-notice a:not(.dops-notice__action):visited {\n color: #0087be;\n}\n\n.jp-idc-notice a:not(.dops-notice__action):hover, .jp-idc-notice a:not(.dops-notice__action):focus, .jp-idc-notice a:not(.dops-notice__action):active {\n color: #33bbe3;\n}\n\n.jp-idc-notice .dops-button {\n -ms-flex-item-align: start;\n align-self: flex-start;\n margin-top: auto;\n}\n\n.jp-idc-notice > div {\n padding: 0 8px;\n}\n\n.jp-idc-notice__first-step {\n display: inline-block;\n}\n\n.jp-idc-notice__second-step {\n display: none;\n}\n\n.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__first-step {\n display: none;\n}\n\n.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__second-step {\n display: inline-block;\n}\n\n.jp-idc-notice .jp-idc-notice__header {\n padding-top: 8px;\n padding-bottom: 8px;\n}\n\n.jp-idc-notice__header__emblem {\n fill: #8cc258;\n width: 25px;\n height: 25px;\n margin: 0 auto 0 1em;\n float: right;\n}\n\n.jp-idc-notice__header__text {\n font-size: 14px;\n font-weight: 600;\n line-height: 25px;\n margin: 0;\n}\n\n.jp-idc-notice__content-header {\n margin: 16px 0;\n}\n\n.jp-idc-notice__content-header__lead {\n font-size: 16px;\n font-weight: 600;\n line-height: 21px;\n margin: 0;\n}\n\n.jp-idc-notice__content-header .jp-idc-notice__content-header__explanation {\n font-size: 14px;\n font-weight: 400;\n margin: 8px 0 0;\n}\n\n@media only screen and (min-width: 960px) {\n .jp-idc-notice__content-header .jp-idc-notice__content-header__explanation {\n margin: 4px 0 0;\n }\n}\n\n.jp-idc-notice__action {\n border: 1px solid #e9eff3;\n border-radius: 4px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n padding: 16px;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n margin-top: auto;\n}\n\n.jp-idc-notice__action:last-child {\n margin: 16px 0 0;\n}\n\n@media only screen and (min-width: 960px) {\n .jp-idc-notice__actions {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n }\n .jp-idc-notice__action {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n margin: 0 0 0 8px;\n }\n .jp-idc-notice__action:last-child {\n margin: 0 8px 0 0;\n }\n .jp-idc-notice__action:first-child {\n padding-left: 24px;\n }\n .jp-idc-notice__action:last-child {\n padding-right: 24px;\n }\n}\n\n.jp-idc-notice .jp-idc-notice__action__explanation {\n margin: 0 0 16px 0;\n}\n\n.jp-idc-notice__separator {\n background-color: #e9eff3;\n margin: 0 -10px 0 -10px;\n height: 1px;\n}\n\n.jp-idc-notice.is-dismissible .jp-idc-notice__separator {\n margin-left: -46px;\n}\n\n@media only screen and (min-width: 782px) {\n .jp-idc-notice__separator {\n margin: 0 -12px 0 -12px;\n }\n .jp-idc-notice.is-dismissible .jp-idc-notice__separator {\n margin-left: -38px;\n }\n}\n\n.jp-idc-notice .jp-idc-notice__unsure-prompt {\n margin: 16px 0 0;\n}\n\n.jp-idc-notice .jp-idc-error__notice {\n display: none;\n}\n\n.jp-idc-notice .jp-idc-error__notice .dops-notice__icon {\n height: auto;\n width: auto;\n}\n\n@media only screen and (min-width: 683px) {\n .jp-idc-notice .jp-idc-error__notice .dops-notice__text {\n line-height: 24px;\n }\n}\n"],"file":"jetpack-idc-rtl.css"}
css/jetpack-idc-rtl.min.css CHANGED
@@ -1,3 +1,3 @@
1
  @charset "UTF-8";/*!
2
  * Do not modify this file directly. It is compiled SASS code.
3
- */.jp-idc-notice,.jp-idc-notice *{box-sizing:border-box}.jp-idc-notice{margin-right:0;margin-left:10px;margin-top:10px;padding-bottom:16px;padding-top:0}.jp-idc-notice.is-non-admin{padding-bottom:0}@media all and (min-width:783px){.jp-idc-notice{margin-left:20px;margin-top:20px}.jp-idc-notice.has-help-tabs{margin-top:48px}}.jp-idc-notice p{margin:0;padding:0}.jp-idc-notice h3,.jp-idc-notice p{color:#2e4453}.jp-idc-notice a:not(.dops-notice__action){color:#0087be;text-decoration:none}.jp-idc-notice a:not(.dops-notice__action):visited{color:#0087be}.jp-idc-notice a:not(.dops-notice__action):active,.jp-idc-notice a:not(.dops-notice__action):focus,.jp-idc-notice a:not(.dops-notice__action):hover{color:#33bbe3}.jp-idc-notice .dops-button{-ms-flex-item-align:start;align-self:flex-start;margin-top:auto}.jp-idc-notice>div{padding:0 8px}.jp-idc-notice__first-step{display:inline-block}.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__first-step,.jp-idc-notice__second-step{display:none}.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__second-step{display:inline-block}.jp-idc-notice .jp-idc-notice__header{padding-top:8px;padding-bottom:8px}.jp-idc-notice__header__emblem{fill:#8cc258;width:25px;height:25px;margin:0 auto 0 1em;float:right}.jp-idc-notice__header__text{font-size:14px;font-weight:600;line-height:25px;margin:0}.jp-idc-notice__content-header{margin:16px 0}.jp-idc-notice__content-header__lead{font-size:16px;font-weight:600;line-height:21px;margin:0}.jp-idc-notice__content-header .jp-idc-notice__content-header__explanation{font-size:14px;font-weight:400;margin:8px 0 0}@media only screen and (min-width:960px){.jp-idc-notice__content-header .jp-idc-notice__content-header__explanation{margin:4px 0 0}}.jp-idc-notice__action{border:1px solid #e9eff3;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;padding:16px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-top:auto}.jp-idc-notice__action:last-child{margin:16px 0 0}@media only screen and (min-width:960px){.jp-idc-notice__actions{display:-webkit-box;display:-ms-flexbox;display:flex}.jp-idc-notice__action{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 0 0 8px}.jp-idc-notice__action:last-child{margin:0 8px 0 0;padding-right:24px}.jp-idc-notice__action:first-child{padding-left:24px}}.jp-idc-notice .jp-idc-notice__action__explanation{margin:0 0 16px}.jp-idc-notice__separator{background-color:#e9eff3;margin:0 -10px;height:1px}.jp-idc-notice.is-dismissible .jp-idc-notice__separator{margin-left:-46px}@media only screen and (min-width:782px){.jp-idc-notice__separator{margin:0 -12px}.jp-idc-notice.is-dismissible .jp-idc-notice__separator{margin-left:-38px}}.jp-idc-notice .jp-idc-notice__unsure-prompt{margin:16px 0 0}.jp-idc-notice .jp-idc-error__notice{display:none}.jp-idc-notice .jp-idc-error__notice .dops-notice__icon{height:auto;width:auto}@media only screen and (min-width:683px){.jp-idc-notice .jp-idc-error__notice .dops-notice__text{line-height:24px}}
1
  @charset "UTF-8";/*!
2
  * Do not modify this file directly. It is compiled SASS code.
3
+ */.jp-idc-notice,.jp-idc-notice *{box-sizing:border-box}.jp-idc-notice{margin-right:0;margin-left:10px;margin-top:10px;overflow:hidden;padding-bottom:16px;padding-top:0}.jp-idc-notice.is-non-admin{padding-bottom:0}@media all and (min-width:783px){.jp-idc-notice{margin-left:20px;margin-top:20px}.jp-idc-notice.has-help-tabs{margin-top:48px}}.jp-idc-notice p{margin:0;padding:0}.jp-idc-notice h3,.jp-idc-notice p{color:#2e4453}.jp-idc-notice a:not(.dops-notice__action){color:#0087be;text-decoration:none}.jp-idc-notice a:not(.dops-notice__action):visited{color:#0087be}.jp-idc-notice a:not(.dops-notice__action):active,.jp-idc-notice a:not(.dops-notice__action):focus,.jp-idc-notice a:not(.dops-notice__action):hover{color:#33bbe3}.jp-idc-notice .dops-button{-ms-flex-item-align:start;align-self:flex-start;margin-top:auto}.jp-idc-notice>div{padding:0 8px}.jp-idc-notice__first-step{display:inline-block}.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__first-step,.jp-idc-notice__second-step{display:none}.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__second-step{display:inline-block}.jp-idc-notice .jp-idc-notice__header{padding-top:8px;padding-bottom:8px}.jp-idc-notice__header__emblem{fill:#8cc258;width:25px;height:25px;margin:0 auto 0 1em;float:right}.jp-idc-notice__header__text{font-size:14px;font-weight:600;line-height:25px;margin:0}.jp-idc-notice__content-header{margin:16px 0}.jp-idc-notice__content-header__lead{font-size:16px;font-weight:600;line-height:21px;margin:0}.jp-idc-notice__content-header .jp-idc-notice__content-header__explanation{font-size:14px;font-weight:400;margin:8px 0 0}@media only screen and (min-width:960px){.jp-idc-notice__content-header .jp-idc-notice__content-header__explanation{margin:4px 0 0}}.jp-idc-notice__action{border:1px solid #e9eff3;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;padding:16px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-top:auto}.jp-idc-notice__action:last-child{margin:16px 0 0}@media only screen and (min-width:960px){.jp-idc-notice__actions{display:-webkit-box;display:-ms-flexbox;display:flex}.jp-idc-notice__action{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 0 0 8px}.jp-idc-notice__action:last-child{margin:0 8px 0 0;padding-right:24px}.jp-idc-notice__action:first-child{padding-left:24px}}.jp-idc-notice .jp-idc-notice__action__explanation{margin:0 0 16px}.jp-idc-notice__separator{background-color:#e9eff3;margin:0 -10px;height:1px}.jp-idc-notice.is-dismissible .jp-idc-notice__separator{margin-left:-46px}@media only screen and (min-width:782px){.jp-idc-notice__separator{margin:0 -12px}.jp-idc-notice.is-dismissible .jp-idc-notice__separator{margin-left:-38px}}.jp-idc-notice .jp-idc-notice__unsure-prompt{margin:16px 0 0}.jp-idc-notice .jp-idc-error__notice{display:none}.jp-idc-notice .jp-idc-error__notice .dops-notice__icon{height:auto;width:auto}@media only screen and (min-width:683px){.jp-idc-notice .jp-idc-error__notice .dops-notice__text{line-height:24px}}
css/jetpack-idc.css CHANGED
@@ -31,6 +31,7 @@ https://github.com/thoughtbot/bourbon
31
  margin-left: 0;
32
  margin-right: 10px;
33
  margin-top: 10px;
 
34
  padding-bottom: 16px;
35
  padding-top: 0;
36
  }
31
  margin-left: 0;
32
  margin-right: 10px;
33
  margin-top: 10px;
34
+ overflow: hidden;
35
  padding-bottom: 16px;
36
  padding-top: 0;
37
  }
css/jetpack-idc.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":[],"mappings":"","sources":["jetpack-idc.css"],"sourcesContent":["/*!\n* Do not modify this file directly. It is compiled SASS code.\n*/\n@charset \"UTF-8\";\n/*\nThe MIT License (MIT)\n\nCopyright © 2011–2015 thoughtbot, inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\ndocumentation files (the “Software”), to deal in the Software without restriction, including without limitation the\nrights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit\npersons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial\nportions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\nOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nhttps://github.com/thoughtbot/bourbon\n*/\n.jp-idc-notice,\n.jp-idc-notice * {\n box-sizing: border-box;\n}\n\n.jp-idc-notice {\n margin-left: 0;\n margin-right: 10px;\n margin-top: 10px;\n padding-bottom: 16px;\n padding-top: 0;\n}\n\n.jp-idc-notice.is-non-admin {\n padding-bottom: 0;\n}\n\n@media all and (min-width: 783px) {\n .jp-idc-notice {\n margin-right: 20px;\n margin-top: 20px;\n }\n .jp-idc-notice.has-help-tabs {\n margin-top: 48px;\n }\n}\n\n.jp-idc-notice p {\n margin: 0;\n padding: 0;\n}\n\n.jp-idc-notice h3, .jp-idc-notice p {\n color: #2e4453;\n}\n\n.jp-idc-notice a:not(.dops-notice__action) {\n color: #0087be;\n text-decoration: none;\n}\n\n.jp-idc-notice a:not(.dops-notice__action):visited {\n color: #0087be;\n}\n\n.jp-idc-notice a:not(.dops-notice__action):hover, .jp-idc-notice a:not(.dops-notice__action):focus, .jp-idc-notice a:not(.dops-notice__action):active {\n color: #33bbe3;\n}\n\n.jp-idc-notice .dops-button {\n -ms-flex-item-align: start;\n align-self: flex-start;\n margin-top: auto;\n}\n\n.jp-idc-notice > div {\n padding: 0 8px;\n}\n\n.jp-idc-notice__first-step {\n display: inline-block;\n}\n\n.jp-idc-notice__second-step {\n display: none;\n}\n\n.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__first-step {\n display: none;\n}\n\n.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__second-step {\n display: inline-block;\n}\n\n.jp-idc-notice .jp-idc-notice__header {\n padding-top: 8px;\n padding-bottom: 8px;\n}\n\n.jp-idc-notice__header__emblem {\n fill: #8cc258;\n width: 25px;\n height: 25px;\n margin: 0 1em 0 auto;\n float: left;\n}\n\n.jp-idc-notice__header__text {\n font-size: 14px;\n font-weight: 600;\n line-height: 25px;\n margin: 0;\n}\n\n.jp-idc-notice__content-header {\n margin: 16px 0;\n}\n\n.jp-idc-notice__content-header__lead {\n font-size: 16px;\n font-weight: 600;\n line-height: 21px;\n margin: 0;\n}\n\n.jp-idc-notice__content-header .jp-idc-notice__content-header__explanation {\n font-size: 14px;\n font-weight: 400;\n margin: 8px 0 0;\n}\n\n@media only screen and (min-width: 960px) {\n .jp-idc-notice__content-header .jp-idc-notice__content-header__explanation {\n margin: 4px 0 0;\n }\n}\n\n.jp-idc-notice__action {\n border: 1px solid #e9eff3;\n border-radius: 4px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n padding: 16px;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n margin-top: auto;\n}\n\n.jp-idc-notice__action:last-child {\n margin: 16px 0 0;\n}\n\n@media only screen and (min-width: 960px) {\n .jp-idc-notice__actions {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n }\n .jp-idc-notice__action {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n margin: 0 8px 0 0;\n }\n .jp-idc-notice__action:last-child {\n margin: 0 0 0 8px;\n }\n .jp-idc-notice__action:first-child {\n padding-right: 24px;\n }\n .jp-idc-notice__action:last-child {\n padding-left: 24px;\n }\n}\n\n.jp-idc-notice .jp-idc-notice__action__explanation {\n margin: 0 0 16px 0;\n}\n\n.jp-idc-notice__separator {\n background-color: #e9eff3;\n margin: 0 -10px 0 -10px;\n height: 1px;\n}\n\n.jp-idc-notice.is-dismissible .jp-idc-notice__separator {\n margin-right: -46px;\n}\n\n@media only screen and (min-width: 782px) {\n .jp-idc-notice__separator {\n margin: 0 -12px 0 -12px;\n }\n .jp-idc-notice.is-dismissible .jp-idc-notice__separator {\n margin-right: -38px;\n }\n}\n\n.jp-idc-notice .jp-idc-notice__unsure-prompt {\n margin: 16px 0 0;\n}\n\n.jp-idc-notice .jp-idc-error__notice {\n display: none;\n}\n\n.jp-idc-notice .jp-idc-error__notice .dops-notice__icon {\n height: auto;\n width: auto;\n}\n\n@media only screen and (min-width: 683px) {\n .jp-idc-notice .jp-idc-error__notice .dops-notice__text {\n line-height: 24px;\n }\n}\n"],"file":"jetpack-idc.css"}
1
+ {"version":3,"names":[],"mappings":"","sources":["jetpack-idc.css"],"sourcesContent":["/*!\n* Do not modify this file directly. It is compiled SASS code.\n*/\n@charset \"UTF-8\";\n/*\nThe MIT License (MIT)\n\nCopyright © 2011–2015 thoughtbot, inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\ndocumentation files (the “Software”), to deal in the Software without restriction, including without limitation the\nrights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit\npersons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial\nportions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\nOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nhttps://github.com/thoughtbot/bourbon\n*/\n.jp-idc-notice,\n.jp-idc-notice * {\n box-sizing: border-box;\n}\n\n.jp-idc-notice {\n margin-left: 0;\n margin-right: 10px;\n margin-top: 10px;\n overflow: hidden;\n padding-bottom: 16px;\n padding-top: 0;\n}\n\n.jp-idc-notice.is-non-admin {\n padding-bottom: 0;\n}\n\n@media all and (min-width: 783px) {\n .jp-idc-notice {\n margin-right: 20px;\n margin-top: 20px;\n }\n .jp-idc-notice.has-help-tabs {\n margin-top: 48px;\n }\n}\n\n.jp-idc-notice p {\n margin: 0;\n padding: 0;\n}\n\n.jp-idc-notice h3, .jp-idc-notice p {\n color: #2e4453;\n}\n\n.jp-idc-notice a:not(.dops-notice__action) {\n color: #0087be;\n text-decoration: none;\n}\n\n.jp-idc-notice a:not(.dops-notice__action):visited {\n color: #0087be;\n}\n\n.jp-idc-notice a:not(.dops-notice__action):hover, .jp-idc-notice a:not(.dops-notice__action):focus, .jp-idc-notice a:not(.dops-notice__action):active {\n color: #33bbe3;\n}\n\n.jp-idc-notice .dops-button {\n -ms-flex-item-align: start;\n align-self: flex-start;\n margin-top: auto;\n}\n\n.jp-idc-notice > div {\n padding: 0 8px;\n}\n\n.jp-idc-notice__first-step {\n display: inline-block;\n}\n\n.jp-idc-notice__second-step {\n display: none;\n}\n\n.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__first-step {\n display: none;\n}\n\n.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__second-step {\n display: inline-block;\n}\n\n.jp-idc-notice .jp-idc-notice__header {\n padding-top: 8px;\n padding-bottom: 8px;\n}\n\n.jp-idc-notice__header__emblem {\n fill: #8cc258;\n width: 25px;\n height: 25px;\n margin: 0 1em 0 auto;\n float: left;\n}\n\n.jp-idc-notice__header__text {\n font-size: 14px;\n font-weight: 600;\n line-height: 25px;\n margin: 0;\n}\n\n.jp-idc-notice__content-header {\n margin: 16px 0;\n}\n\n.jp-idc-notice__content-header__lead {\n font-size: 16px;\n font-weight: 600;\n line-height: 21px;\n margin: 0;\n}\n\n.jp-idc-notice__content-header .jp-idc-notice__content-header__explanation {\n font-size: 14px;\n font-weight: 400;\n margin: 8px 0 0;\n}\n\n@media only screen and (min-width: 960px) {\n .jp-idc-notice__content-header .jp-idc-notice__content-header__explanation {\n margin: 4px 0 0;\n }\n}\n\n.jp-idc-notice__action {\n border: 1px solid #e9eff3;\n border-radius: 4px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n padding: 16px;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n margin-top: auto;\n}\n\n.jp-idc-notice__action:last-child {\n margin: 16px 0 0;\n}\n\n@media only screen and (min-width: 960px) {\n .jp-idc-notice__actions {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n }\n .jp-idc-notice__action {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n margin: 0 8px 0 0;\n }\n .jp-idc-notice__action:last-child {\n margin: 0 0 0 8px;\n }\n .jp-idc-notice__action:first-child {\n padding-right: 24px;\n }\n .jp-idc-notice__action:last-child {\n padding-left: 24px;\n }\n}\n\n.jp-idc-notice .jp-idc-notice__action__explanation {\n margin: 0 0 16px 0;\n}\n\n.jp-idc-notice__separator {\n background-color: #e9eff3;\n margin: 0 -10px 0 -10px;\n height: 1px;\n}\n\n.jp-idc-notice.is-dismissible .jp-idc-notice__separator {\n margin-right: -46px;\n}\n\n@media only screen and (min-width: 782px) {\n .jp-idc-notice__separator {\n margin: 0 -12px 0 -12px;\n }\n .jp-idc-notice.is-dismissible .jp-idc-notice__separator {\n margin-right: -38px;\n }\n}\n\n.jp-idc-notice .jp-idc-notice__unsure-prompt {\n margin: 16px 0 0;\n}\n\n.jp-idc-notice .jp-idc-error__notice {\n display: none;\n}\n\n.jp-idc-notice .jp-idc-error__notice .dops-notice__icon {\n height: auto;\n width: auto;\n}\n\n@media only screen and (min-width: 683px) {\n .jp-idc-notice .jp-idc-error__notice .dops-notice__text {\n line-height: 24px;\n }\n}\n"],"file":"jetpack-idc.css"}
css/jetpack-idc.css.min.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":[],"mappings":"","sources":["jetpack-idc.css"],"sourcesContent":["/*!\n* Do not modify this file directly. It is compiled SASS code.\n*/\n@charset \"UTF-8\";\n/*\nThe MIT License (MIT)\n\nCopyright © 2011–2015 thoughtbot, inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\ndocumentation files (the “Software”), to deal in the Software without restriction, including without limitation the\nrights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit\npersons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial\nportions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\nOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nhttps://github.com/thoughtbot/bourbon\n*/\n.jp-idc-notice,\n.jp-idc-notice * {\n box-sizing: border-box;\n}\n\n.jp-idc-notice {\n margin-left: 0;\n margin-right: 10px;\n margin-top: 10px;\n padding-bottom: 16px;\n padding-top: 0;\n}\n\n.jp-idc-notice.is-non-admin {\n padding-bottom: 0;\n}\n\n@media all and (min-width: 783px) {\n .jp-idc-notice {\n margin-right: 20px;\n margin-top: 20px;\n }\n .jp-idc-notice.has-help-tabs {\n margin-top: 48px;\n }\n}\n\n.jp-idc-notice p {\n margin: 0;\n padding: 0;\n}\n\n.jp-idc-notice h3, .jp-idc-notice p {\n color: #2e4453;\n}\n\n.jp-idc-notice a:not(.dops-notice__action) {\n color: #0087be;\n text-decoration: none;\n}\n\n.jp-idc-notice a:not(.dops-notice__action):visited {\n color: #0087be;\n}\n\n.jp-idc-notice a:not(.dops-notice__action):hover, .jp-idc-notice a:not(.dops-notice__action):focus, .jp-idc-notice a:not(.dops-notice__action):active {\n color: #33bbe3;\n}\n\n.jp-idc-notice .dops-button {\n -ms-flex-item-align: start;\n align-self: flex-start;\n margin-top: auto;\n}\n\n.jp-idc-notice > div {\n padding: 0 8px;\n}\n\n.jp-idc-notice__first-step {\n display: inline-block;\n}\n\n.jp-idc-notice__second-step {\n display: none;\n}\n\n.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__first-step {\n display: none;\n}\n\n.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__second-step {\n display: inline-block;\n}\n\n.jp-idc-notice .jp-idc-notice__header {\n padding-top: 8px;\n padding-bottom: 8px;\n}\n\n.jp-idc-notice__header__emblem {\n fill: #8cc258;\n width: 25px;\n height: 25px;\n margin: 0 1em 0 auto;\n float: left;\n}\n\n.jp-idc-notice__header__text {\n font-size: 14px;\n font-weight: 600;\n line-height: 25px;\n margin: 0;\n}\n\n.jp-idc-notice__content-header {\n margin: 16px 0;\n}\n\n.jp-idc-notice__content-header__lead {\n font-size: 16px;\n font-weight: 600;\n line-height: 21px;\n margin: 0;\n}\n\n.jp-idc-notice__content-header .jp-idc-notice__content-header__explanation {\n font-size: 14px;\n font-weight: 400;\n margin: 8px 0 0;\n}\n\n@media only screen and (min-width: 960px) {\n .jp-idc-notice__content-header .jp-idc-notice__content-header__explanation {\n margin: 4px 0 0;\n }\n}\n\n.jp-idc-notice__action {\n border: 1px solid #e9eff3;\n border-radius: 4px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n padding: 16px;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n margin-top: auto;\n}\n\n.jp-idc-notice__action:last-child {\n margin: 16px 0 0;\n}\n\n@media only screen and (min-width: 960px) {\n .jp-idc-notice__actions {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n }\n .jp-idc-notice__action {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n margin: 0 8px 0 0;\n }\n .jp-idc-notice__action:last-child {\n margin: 0 0 0 8px;\n }\n .jp-idc-notice__action:first-child {\n padding-right: 24px;\n }\n .jp-idc-notice__action:last-child {\n padding-left: 24px;\n }\n}\n\n.jp-idc-notice .jp-idc-notice__action__explanation {\n margin: 0 0 16px 0;\n}\n\n.jp-idc-notice__separator {\n background-color: #e9eff3;\n margin: 0 -10px 0 -10px;\n height: 1px;\n}\n\n.jp-idc-notice.is-dismissible .jp-idc-notice__separator {\n margin-right: -46px;\n}\n\n@media only screen and (min-width: 782px) {\n .jp-idc-notice__separator {\n margin: 0 -12px 0 -12px;\n }\n .jp-idc-notice.is-dismissible .jp-idc-notice__separator {\n margin-right: -38px;\n }\n}\n\n.jp-idc-notice .jp-idc-notice__unsure-prompt {\n margin: 16px 0 0;\n}\n\n.jp-idc-notice .jp-idc-error__notice {\n display: none;\n}\n\n.jp-idc-notice .jp-idc-error__notice .dops-notice__icon {\n height: auto;\n width: auto;\n}\n\n@media only screen and (min-width: 683px) {\n .jp-idc-notice .jp-idc-error__notice .dops-notice__text {\n line-height: 24px;\n }\n}\n"],"file":"jetpack-idc.css"}
1
+ {"version":3,"names":[],"mappings":"","sources":["jetpack-idc.css"],"sourcesContent":["/*!\n* Do not modify this file directly. It is compiled SASS code.\n*/\n@charset \"UTF-8\";\n/*\nThe MIT License (MIT)\n\nCopyright © 2011–2015 thoughtbot, inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\ndocumentation files (the “Software”), to deal in the Software without restriction, including without limitation the\nrights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit\npersons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial\nportions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE\nWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\nOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nhttps://github.com/thoughtbot/bourbon\n*/\n.jp-idc-notice,\n.jp-idc-notice * {\n box-sizing: border-box;\n}\n\n.jp-idc-notice {\n margin-left: 0;\n margin-right: 10px;\n margin-top: 10px;\n overflow: hidden;\n padding-bottom: 16px;\n padding-top: 0;\n}\n\n.jp-idc-notice.is-non-admin {\n padding-bottom: 0;\n}\n\n@media all and (min-width: 783px) {\n .jp-idc-notice {\n margin-right: 20px;\n margin-top: 20px;\n }\n .jp-idc-notice.has-help-tabs {\n margin-top: 48px;\n }\n}\n\n.jp-idc-notice p {\n margin: 0;\n padding: 0;\n}\n\n.jp-idc-notice h3, .jp-idc-notice p {\n color: #2e4453;\n}\n\n.jp-idc-notice a:not(.dops-notice__action) {\n color: #0087be;\n text-decoration: none;\n}\n\n.jp-idc-notice a:not(.dops-notice__action):visited {\n color: #0087be;\n}\n\n.jp-idc-notice a:not(.dops-notice__action):hover, .jp-idc-notice a:not(.dops-notice__action):focus, .jp-idc-notice a:not(.dops-notice__action):active {\n color: #33bbe3;\n}\n\n.jp-idc-notice .dops-button {\n -ms-flex-item-align: start;\n align-self: flex-start;\n margin-top: auto;\n}\n\n.jp-idc-notice > div {\n padding: 0 8px;\n}\n\n.jp-idc-notice__first-step {\n display: inline-block;\n}\n\n.jp-idc-notice__second-step {\n display: none;\n}\n\n.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__first-step {\n display: none;\n}\n\n.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__second-step {\n display: inline-block;\n}\n\n.jp-idc-notice .jp-idc-notice__header {\n padding-top: 8px;\n padding-bottom: 8px;\n}\n\n.jp-idc-notice__header__emblem {\n fill: #8cc258;\n width: 25px;\n height: 25px;\n margin: 0 1em 0 auto;\n float: left;\n}\n\n.jp-idc-notice__header__text {\n font-size: 14px;\n font-weight: 600;\n line-height: 25px;\n margin: 0;\n}\n\n.jp-idc-notice__content-header {\n margin: 16px 0;\n}\n\n.jp-idc-notice__content-header__lead {\n font-size: 16px;\n font-weight: 600;\n line-height: 21px;\n margin: 0;\n}\n\n.jp-idc-notice__content-header .jp-idc-notice__content-header__explanation {\n font-size: 14px;\n font-weight: 400;\n margin: 8px 0 0;\n}\n\n@media only screen and (min-width: 960px) {\n .jp-idc-notice__content-header .jp-idc-notice__content-header__explanation {\n margin: 4px 0 0;\n }\n}\n\n.jp-idc-notice__action {\n border: 1px solid #e9eff3;\n border-radius: 4px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n padding: 16px;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n margin-top: auto;\n}\n\n.jp-idc-notice__action:last-child {\n margin: 16px 0 0;\n}\n\n@media only screen and (min-width: 960px) {\n .jp-idc-notice__actions {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n }\n .jp-idc-notice__action {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n margin: 0 8px 0 0;\n }\n .jp-idc-notice__action:last-child {\n margin: 0 0 0 8px;\n }\n .jp-idc-notice__action:first-child {\n padding-right: 24px;\n }\n .jp-idc-notice__action:last-child {\n padding-left: 24px;\n }\n}\n\n.jp-idc-notice .jp-idc-notice__action__explanation {\n margin: 0 0 16px 0;\n}\n\n.jp-idc-notice__separator {\n background-color: #e9eff3;\n margin: 0 -10px 0 -10px;\n height: 1px;\n}\n\n.jp-idc-notice.is-dismissible .jp-idc-notice__separator {\n margin-right: -46px;\n}\n\n@media only screen and (min-width: 782px) {\n .jp-idc-notice__separator {\n margin: 0 -12px 0 -12px;\n }\n .jp-idc-notice.is-dismissible .jp-idc-notice__separator {\n margin-right: -38px;\n }\n}\n\n.jp-idc-notice .jp-idc-notice__unsure-prompt {\n margin: 16px 0 0;\n}\n\n.jp-idc-notice .jp-idc-error__notice {\n display: none;\n}\n\n.jp-idc-notice .jp-idc-error__notice .dops-notice__icon {\n height: auto;\n width: auto;\n}\n\n@media only screen and (min-width: 683px) {\n .jp-idc-notice .jp-idc-error__notice .dops-notice__text {\n line-height: 24px;\n }\n}\n"],"file":"jetpack-idc.css"}
css/jetpack-idc.min.css CHANGED
@@ -1,3 +1,3 @@
1
  @charset "UTF-8";/*!
2
  * Do not modify this file directly. It is compiled SASS code.
3
- */.jp-idc-notice,.jp-idc-notice *{box-sizing:border-box}.jp-idc-notice{margin-left:0;margin-right:10px;margin-top:10px;padding-bottom:16px;padding-top:0}.jp-idc-notice.is-non-admin{padding-bottom:0}@media all and (min-width:783px){.jp-idc-notice{margin-right:20px;margin-top:20px}.jp-idc-notice.has-help-tabs{margin-top:48px}}.jp-idc-notice p{margin:0;padding:0}.jp-idc-notice h3,.jp-idc-notice p{color:#2e4453}.jp-idc-notice a:not(.dops-notice__action){color:#0087be;text-decoration:none}.jp-idc-notice a:not(.dops-notice__action):visited{color:#0087be}.jp-idc-notice a:not(.dops-notice__action):active,.jp-idc-notice a:not(.dops-notice__action):focus,.jp-idc-notice a:not(.dops-notice__action):hover{color:#33bbe3}.jp-idc-notice .dops-button{-ms-flex-item-align:start;align-self:flex-start;margin-top:auto}.jp-idc-notice>div{padding:0 8px}.jp-idc-notice__first-step{display:inline-block}.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__first-step,.jp-idc-notice__second-step{display:none}.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__second-step{display:inline-block}.jp-idc-notice .jp-idc-notice__header{padding-top:8px;padding-bottom:8px}.jp-idc-notice__header__emblem{fill:#8cc258;width:25px;height:25px;margin:0 1em 0 auto;float:left}.jp-idc-notice__header__text{font-size:14px;font-weight:600;line-height:25px;margin:0}.jp-idc-notice__content-header{margin:16px 0}.jp-idc-notice__content-header__lead{font-size:16px;font-weight:600;line-height:21px;margin:0}.jp-idc-notice__content-header .jp-idc-notice__content-header__explanation{font-size:14px;font-weight:400;margin:8px 0 0}@media only screen and (min-width:960px){.jp-idc-notice__content-header .jp-idc-notice__content-header__explanation{margin:4px 0 0}}.jp-idc-notice__action{border:1px solid #e9eff3;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;padding:16px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-top:auto}.jp-idc-notice__action:last-child{margin:16px 0 0}@media only screen and (min-width:960px){.jp-idc-notice__actions{display:-webkit-box;display:-ms-flexbox;display:flex}.jp-idc-notice__action{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 8px 0 0}.jp-idc-notice__action:last-child{margin:0 0 0 8px;padding-left:24px}.jp-idc-notice__action:first-child{padding-right:24px}}.jp-idc-notice .jp-idc-notice__action__explanation{margin:0 0 16px}.jp-idc-notice__separator{background-color:#e9eff3;margin:0 -10px;height:1px}.jp-idc-notice.is-dismissible .jp-idc-notice__separator{margin-right:-46px}@media only screen and (min-width:782px){.jp-idc-notice__separator{margin:0 -12px}.jp-idc-notice.is-dismissible .jp-idc-notice__separator{margin-right:-38px}}.jp-idc-notice .jp-idc-notice__unsure-prompt{margin:16px 0 0}.jp-idc-notice .jp-idc-error__notice{display:none}.jp-idc-notice .jp-idc-error__notice .dops-notice__icon{height:auto;width:auto}@media only screen and (min-width:683px){.jp-idc-notice .jp-idc-error__notice .dops-notice__text{line-height:24px}}
1
  @charset "UTF-8";/*!
2
  * Do not modify this file directly. It is compiled SASS code.
3
+ */.jp-idc-notice,.jp-idc-notice *{box-sizing:border-box}.jp-idc-notice{margin-left:0;margin-right:10px;margin-top:10px;overflow:hidden;padding-bottom:16px;padding-top:0}.jp-idc-notice.is-non-admin{padding-bottom:0}@media all and (min-width:783px){.jp-idc-notice{margin-right:20px;margin-top:20px}.jp-idc-notice.has-help-tabs{margin-top:48px}}.jp-idc-notice p{margin:0;padding:0}.jp-idc-notice h3,.jp-idc-notice p{color:#2e4453}.jp-idc-notice a:not(.dops-notice__action){color:#0087be;text-decoration:none}.jp-idc-notice a:not(.dops-notice__action):visited{color:#0087be}.jp-idc-notice a:not(.dops-notice__action):active,.jp-idc-notice a:not(.dops-notice__action):focus,.jp-idc-notice a:not(.dops-notice__action):hover{color:#33bbe3}.jp-idc-notice .dops-button{-ms-flex-item-align:start;align-self:flex-start;margin-top:auto}.jp-idc-notice>div{padding:0 8px}.jp-idc-notice__first-step{display:inline-block}.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__first-step,.jp-idc-notice__second-step{display:none}.jp-idc-notice.jp-idc-show-second-step .jp-idc-notice__second-step{display:inline-block}.jp-idc-notice .jp-idc-notice__header{padding-top:8px;padding-bottom:8px}.jp-idc-notice__header__emblem{fill:#8cc258;width:25px;height:25px;margin:0 1em 0 auto;float:left}.jp-idc-notice__header__text{font-size:14px;font-weight:600;line-height:25px;margin:0}.jp-idc-notice__content-header{margin:16px 0}.jp-idc-notice__content-header__lead{font-size:16px;font-weight:600;line-height:21px;margin:0}.jp-idc-notice__content-header .jp-idc-notice__content-header__explanation{font-size:14px;font-weight:400;margin:8px 0 0}@media only screen and (min-width:960px){.jp-idc-notice__content-header .jp-idc-notice__content-header__explanation{margin:4px 0 0}}.jp-idc-notice__action{border:1px solid #e9eff3;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;padding:16px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-top:auto}.jp-idc-notice__action:last-child{margin:16px 0 0}@media only screen and (min-width:960px){.jp-idc-notice__actions{display:-webkit-box;display:-ms-flexbox;display:flex}.jp-idc-notice__action{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0 8px 0 0}.jp-idc-notice__action:last-child{margin:0 0 0 8px;padding-left:24px}.jp-idc-notice__action:first-child{padding-right:24px}}.jp-idc-notice .jp-idc-notice__action__explanation{margin:0 0 16px}.jp-idc-notice__separator{background-color:#e9eff3;margin:0 -10px;height:1px}.jp-idc-notice.is-dismissible .jp-idc-notice__separator{margin-right:-46px}@media only screen and (min-width:782px){.jp-idc-notice__separator{margin:0 -12px}.jp-idc-notice.is-dismissible .jp-idc-notice__separator{margin-right:-38px}}.jp-idc-notice .jp-idc-notice__unsure-prompt{margin:16px 0 0}.jp-idc-notice .jp-idc-error__notice{display:none}.jp-idc-notice .jp-idc-error__notice .dops-notice__icon{height:auto;width:auto}@media only screen and (min-width:683px){.jp-idc-notice .jp-idc-error__notice .dops-notice__text{line-height:24px}}
jetpack.php CHANGED
@@ -5,7 +5,7 @@
5
  * Plugin URI: http://jetpack.com
6
  * Description: Bring the power of the WordPress.com cloud to your self-hosted WordPress. Jetpack enables you to connect your blog to a WordPress.com account to use the powerful features normally only available to WordPress.com users.
7
  * Author: Automattic
8
- * Version: 4.4
9
  * Author URI: http://jetpack.com
10
  * License: GPL2+
11
  * Text Domain: jetpack
@@ -14,7 +14,7 @@
14
 
15
  define( 'JETPACK__MINIMUM_WP_VERSION', '4.5' );
16
 
17
- define( 'JETPACK__VERSION', '4.4' );
18
  define( 'JETPACK_MASTER_USER', true );
19
  define( 'JETPACK__API_VERSION', 1 );
20
  define( 'JETPACK__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
5
  * Plugin URI: http://jetpack.com
6
  * Description: Bring the power of the WordPress.com cloud to your self-hosted WordPress. Jetpack enables you to connect your blog to a WordPress.com account to use the powerful features normally only available to WordPress.com users.
7
  * Author: Automattic
8
+ * Version: 4.4.1
9
  * Author URI: http://jetpack.com
10
  * License: GPL2+
11
  * Text Domain: jetpack
14
 
15
  define( 'JETPACK__MINIMUM_WP_VERSION', '4.5' );
16
 
17
+ define( 'JETPACK__VERSION', '4.4.1' );
18
  define( 'JETPACK_MASTER_USER', true );
19
  define( 'JETPACK__API_VERSION', 1 );
20
  define( 'JETPACK__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
languages/jetpack-fa_IR.mo CHANGED
Binary file
languages/json/jetpack-fa_IR.json CHANGED
@@ -1 +1 @@
1
- {"":{"po-revision-date":"2016-11-19 02:40:04+0000","mime-version":"1.0","content-type":"text/plain; charset=UTF-8","content-transfer-encoding":"8bit","plural-forms":"nplurals=1; plural=0;","x-generator":"GlotPress/2.3.0-alpha","language":"fa","project-id-version":"Plugins - Jetpack by WordPress.com - Development (trunk)"},"Make sure your site is easily found on search engines with SEO tools for your content and social posts.":[null,""],"Activate this module to use the advanced SEO tools.":[null,""],"Configure your VideoPress settings.":[null,""],"How much is your website worth?":[null,""],"For less than the price of a coffee a month you can rest easy knowing your hard work (or livelihood) is backed up.":[null,""],"Configure Site SEO":[null,""],"Activate SEO Tools":[null,""],"Introducing our most affordable backups and security plan yet":[null,""],"The Personal Plan keeps your data, site, and hard work safe.":[null,""],"Learn more...":[null,""],"Your site is on the Jetpack Personal plan":[null,""],"With this plan you are provided with spam-protection, daily backups (up to 30 days), and unlimited storage.":[null,""],"With this plan you are provided with spam-protection, daily backups (up to 30 days), unlimited backup storage, security scanning, and priority support.":[null,""],"You get spam-protection, real-time backups (unlimited archive), unlimited backup storage, security scanning, SEO tools, PollDaddy, and priority support.":[null,""],"Daily backup of all your site data with unlimited space and one-click restores (powered by VaultPress).":[null,""],"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support (powered by VaultPress).":[null,""],"Backups & Security Scanning":[null,""],"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, one-click threat resolution, and priority support (powered by VaultPress).":[null,""],"SEO Tools":[null,""],"Advanced SEO tools to help your site get found when people search for relevant content.":[null,""],"Need more? Running a business site?":[null,""],"If your site is important to you, consider protecting and improving it with some of our advanced features: ":[null,""],"On-demand security scanning":[null,""],"Advanced SEO tools":[null,""],"Configure your SEO settings.":[null,""],"The easiest way to upload ad-free and unbranded videos to your site. You get stats on video playback and shares and the player is lightweight and responsive.":[null,""],"You are running Jetpack on a staging server.":[null,""],"More Info":[null,""],"Search your content.":[null,"مطالب خود را بکاوید."],"{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}":[null,"{{a}}رویت‌پذیری دوست‌داشتن‌ها را از «تنظیمات پودمان اشتراک‌گذاری» مدیریت کنید{{/a}}"],"Hide the stats smiley face image. The image helps collect stats but should still work when hidden.":[null,"نهفتن تصویر خندانک آمار. این تصویر در جمع‌آوری آمار کمک می‌کند اما اگر نهفته باشد هم باید کار کند."],"Your Current IP: %(ip)s":[null,"آی‌پی کنونی شما: %(ip)s"],"Whitelisting an IP address prevents it from ever being blocked by Jetpack.":[null,"گذاشتن یک نشانی آی‌پی در فهرست سفید مانع از آن می‌شود که توسط جت‌پک مسدود شود."],"IPv4 and IPv6 are acceptable. {{br/}} To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100":[null,"آی‌پی‌های نسخهٔ ۴ و ۶ قابل‌قبول هستند. {{br/}} برای ذکرکردن یک بازه، مقدار پایین و بالای آن را با یک خط تیره جدا کنید. مثال: 12.12.12.1-12.12.12.100"],"Link your account to WordPress.com to start using this feature.":[null,"برای آغاز به استفاده از این ویژگی، حساب خود را به WordPress.com پیوند دهید."],"There are unsaved settings in this tab that will be lost if you leave it. Proceed?":[null,"تغییرات ذخیره‌نشده‌ای در این سربرگ وجود دارند که در صورت ترک‌کردن آن از بین خواهند رفت. ادامه داده شود؟"],"This will reset all Jetpack options, are you sure?":[null,"این کار باعث بازنشانی همهٔ گزینه‌های جت‌پک می‌شود، مطمئنید؟"],"Search for a Jetpack feature.":[null,"جستجو برای ویژگی جت‌پک."],"Upgrade Jetpack and our state-of-the-art security scanner will hunt out malicious files and report them immediately so that you're never unaware of what is happening on your website.":[null,"جت‌پک را ارتقا دهید و پویشگر امنیتی ما هر بدافزاری را شکار و بی‌درنگ گزارش می‌کند تا هیچ‌وقت از آنچه در وب‌گاهتان می‌گذرد بی‌خبر نمانید."],"You can see the information about security scanning in the \"At a Glance\" section.":[null,"می‌توانید اطلاعات دربارهٔ پویش امنیتی را در بخش «در یک نگاه» ببینید."],"Configure your Security Scans":[null,"پویش‌های امنیتی خود را پیکربندی کنید"],"This module has no configuration options":[null,"این پودمان هیچ گزینهٔ پیکربندی‌ای ندارد"],"Let search engines and visitors know that you are serious about your websites integrity by upgrading Jetpack. Our anti-spam tools will eliminate comment spam, protect your SEO, and make it easier for visitors to stay in touch.":[null,"با به‌روزرسانی جت‌پک اجازه دهید موتورهای جستجو و بازدیدکنندگان بدانند شما در مورد یکپارچگی وب‌گاه خود سخت‌گیر هستید. ابزارهای پادهرزنویسی ما از سئوی شما پاسداری می‌کنند و به بازدیدکنندگان کمک می‌کنند در تماس بمانند."],"Real-time offsite backups with automated restores deliver peace-of-mind, so you can focus on writing great content and increasing traffic while we protect every aspect of your investment. Upgrade today.":[null,"پشتیبان‌گیری بی‌درنگ در بیرون از وب‌گاه با بازنشانی خودکار، آرامش خاطر را به ارمغان می‌آورد تا بتوانید تمرکزتان را روی نوشتن مطالب عالی و افزایش شدآمد بگذارید. هم‌زمان ما از همهٔ جنبه‌های سرمایه‌گذاری شما پاسداری می‌کنیم. همین امروز ارتقا دهید."],"{{link}}Configure your %(module_slug)s Settings {{/link}}":[null,"{{link}}تنظیمات %(module_slug)s خود را پیکربندی کنید{{/link}}"],"Subscriber":[null,"مشترک"],"Big iPhone/iPad Update Now Available":[null,"به‌روزرسانی بزرگ آی‌فون/آی‌پد هم‌اکنون در دسترس است"],"The WordPress for Android App Gets a Big Facelift":[null,"نرم‌افزار کاربردی WordPress برای اندروید یک بازآرایی چهرهٔ اساسی دارد"],"Upgrade Focus: VideoPress For Weddings":[null,"تمرکز به‌روزرسانی: ویدئوپرس برای عروسی‌ها"],"WordPress.com Likes are:":[null,"ویژگی‌های دوست‌داشتن‌ها در WordPress.com:"],"Comments headline":[null,"سرخط دیدگاه‌ها"],"A few catchy words to motivate your readers to comment.":[null,"چند واژهٔ چسبناک تا خوانندگانتان را به گذاشتن دیدگاه ترغیب کند."],"Can readers subscribe to your posts, comments or both?":[null,"می تواند برای خوانندگان عضویت در نوشته‌ها،نظرات یا هردو؟"],"Show a \"follow blog\" options in the comment form":[null,"نمایش \" دنبال کردن مطلب\" در بخش فرم دیدگاه"],"Show a \"follow comments\" option in the comment form.":[null,"نمایش \" دنبال کردن دیدگاه\" در فرم دیدگاه"],"Admin Bar":[null,"نوار مدیریت"],"Put a chart showing 48 hours of views in the admin bar":[null,"قرار دادن یک نمودار نشان دادن 48 ساعت از بازدید در نوار مدیریت"],"Registered Users: Count the page views of registered users who are logged in":[null,"کاربران ثبت نامی: شمارش بازدیدکنندگان از کاربران ثبت نامی که وارد حسابشان شده اند"],"Report Visibility: Select the roles that will be able to view stats reports":[null,"رویت‌پذیری گزارش‌ها: نقش‌هایی را که خواهندتوانست گزارش‌های آماری را ببینند برگزینید."],"Receive Monitor Email Notifications":[null,"دریافت رایانامه‌های آگاه‌سازی پایشگری"],"Emails will be sent to ":[null,"رایانامه‌ها فرستاده می‌شوند به: "],"{{a}}Edit{{/a}}":[null,"{{a}}ویرایش{{/a}}"],"Match By Email":[null,"هم‌خوانی با رایانشانی"],"Show photo metadata (Exif) in carousel, when available":[null,"فراداده‌های عکس (Exif) در صورت وجود در درون گردونه نمایش داده شوند."],"Background Color":[null,"رنگ پس‌زمینه"],"Scroll infinitely (Shows 7 posts on each load)":[null,"نوردش بی‌پایان (در هر بار بارگیری ۷ نوشته را نمایش می‌دهد)"],"Track each infinite Scroll post load as a page view in Google Analytics":[null,"هربار بارگیری نوشته‌ها با نوردش بی‌پایان به عنوان یک بازدید از صفحه در Google Analytics ردگیری شود"],"Mobile Promos":[null,"آگهی‌های همراه"],"Show a promo for the WordPress mobile apps in the footer of the mobile theme":[null,"آگهی‌ای در مورد ابزارهای کاربردی همراه WordPress در پسایند پوستهٔ همراه نمایش داده شود"],"Enter your meta key \"content\" value to verify your blog with {{a}}Google Search Console{{/a}}, {{a1}}Bing Webmaster Center{{/a1}} and {{a2}}Pinterest Site Verification{{/a2}}.":[null,"برای تأیید وب‌نوشتتان در {{a}}Google Search Console{{/a}}، {{a}}Bing Webmaster Center{{/a}}، و {{a}}Pinterest Site Verification{{/a}}، «محتوای» کلید متای خود را وارد کنید."],"Meta key example:":[null,""],"Display all your gallery pictures in a cool mosaic":[null,"نمایش تصاویر گالری در موزائیک خوب"],"Copied!":[null,"کپی شد!"],"Highlight and copy the following text to your clipboard:":[null,"برجسته و کپی کردن متن زیر در کلیپبورد:"],"Regenerate address":[null,"تولید مجدد آدرس"],"Configure Portfolios":[null,"پیکربندی Portfolios"],"Configure Testimonials":[null,"پیکربندی Testimonials"],"Automatically proofread content when: ":[null,"ویرایش خودکار محتوا زمانی که:"],"A post or page is first published":[null,"نوشته یا برگه ای که اولین بار منتشر شده"],"A post or page is updated":[null,"نوشته یا برگه ای که بروزرسانی شده"],"Automatic Language Detection":[null,"شناسایی خودکار زبان"],"The proofreader supports English, French, German, Portuguese and Spanish.":[null,"ویرایشگر از انگلیسی،فرانسوی،آلمانی،پرتغالی و اسپانیایی پشتیبانی می کند."],"Enable proofreading for the following grammar and style rules: ":[null,"فعالسازی ویرایشگر برای قوانین گرامیری و استایل زیر:"],"Add a phrase":[null,"اضافه کردن یک عبارت"],"Use Markdown for comments":[null,"استفاده از مدل های نشانه گذاری برای دیدگاه"],"Search engines will find the sitemaps at these locations:":[null,"موتورهای جستجو نقشه سایت را در این مکان میابند:"],"Sitemap: {{a}}%(url)s{{/a}}":[null,"نقشه سایت: {{a}}%(url)s{{/a}}"],"News Sitemap: {{a}}%(url)s{{/a}}":[null,"اخبار نقشه سایت: {{a}}%(url)s{{/a}}"],"Cheatin' uh?":[null,"اذیت می کنی؟"],"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}":[null,""],"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!":[null,"خوش آمدید به {{s}}Jetpack %(jetpack_version)s{{/s}}!"],"Your Jetpack is already connected.":[null,"افزونه Jetpack شما متصل شده است."],"You're fueled up and ready to go, Jetpack is now active.":[null,"افزونه فعال است شما آماده و با انگیزه پیش بروید."],"You're fueled up and ready to go.":[null,"شما با انگیزه و آماده رفتن هستید."],"You are currently running a development version of Jetpack.":[null,"شما درحال اجرای نسخه درحال توسعه Jetpack هستید."],"Submit Beta feedback":[null,"ارسال بازخورد نسخه آزمایشی"],"Currently in {{a}}Development Mode{{/a}} via the jetpack_development_mode filter.{{br/}}Some features are disabled.":[null,""],"Currently in {{a}}Development Mode{{/a}} via the JETPACK_DEV_DEBUG constant.{{br/}}Some features are disabled.":[null,""],"Currently in {{a}}Development Mode{{/a}} because your site URL lacks a dot (e.g. http://localhost).{{br/}}Some features are disabled.":[null,""],"You, %(userName)s, are not connected to WordPress.com.":[null,""],"What would you like to see on your Jetpack Dashboard?":[null,""],"Let us know!":[null,"به ما اطلاع دهید!"],"Welcome to Jetpack":[null,"به Jetpack خوش آمدید"],"Please connect to or create a WordPress.com account to start using Jetpack. This will enable powerful security, traffic, and customization services.":[null,""],"No account? Create one for free…":[null,""],"Saving…":[null,"ذخیره...."],"Save Settings":[null,"ذخیره تنظیمات"],"Updates Needed":[null,""],"Do you really want to disconnect your site from WordPress.com?":[null,""],"Jetpack Stats Icon":[null,""],"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}":[null,""],"Activate Site Stats":[null,""],"Automated, comprehensive protection from threats and attacks.":[null,""],"State-of-the-art spam defense.":[null,""],"Automatically backup your entire site.":[null,""],"Security Scanning":[null,""],"Automatically scan your site for common threats and attacks.":[null,""],"Keep those spammers away!":[null,""],"Site Backups":[null,""],"Keep your site backed up!":[null,""],"Pro":[null,""],"No Results Found.":[null,""],"Threats found!":[null,""],"Set up":[null,""],"Upgrade":[null,""],"ACTIVE":[null,""],"Hackers, botnets and spammers attack websites indiscriminately. Their goal is to attack everywhere and often. Our goal is to help you prepare by blocking these threats, and in worst-case-scenarios we'll be here to help you restore your site to its former glory.":[null,""],"Your site is on the Free Jetpack Plan":[null,""],"Upgrade to a paid plan to unlock world-class security, spam protection tools, and priority support.":[null,""],"Your site is on the Jetpack Premium plan":[null,""],"Your site is on the Jetpack Professional plan":[null,""],"Your site is on Development Mode":[null,""],"Once you connect, you can upgrade to a paid plan in order to unlock world-class security, spam protection tools, and priority support.":[null,""],"State-of-the-art spam defense powered by Akismet.":[null,""],"View your spam stats":[null,""],"Configure Akismet":[null,""],"View your security dashboard":[null,""],"Configure VaultPress":[null,""],"Surveys & Polls":[null,""],"Unlimited surveys, unlimited responses. Use the survey editor to create surveys quickly and easily. Collect responses via your website, e-mail or on your iPad or iPhone.":[null,""],"Create a new poll":[null,""],"Real-time backups":[null,""],"One-click threat resolution":[null,""],"Advanced polls and ratings":[null,""],"Compare Plans":[null,""],"Maximum grade security":[null,""],"Real-time backup with unlimited space, one-click restores, bulletproof spam monitoring, malware defense and brute-force login protection - all in one place and optimized for WordPress.":[null,""],"Lock out the bad guys":[null,""],"Bulletproof spam filtering protects your brand, your readers, and improves SEO. Brute force login protection helps maintain peace of mind and keeps your backend safe from intruders.":[null,""],"Enjoy priority support":[null,""],"Need help? A Happiness Engineer can answer questions about your site, your account or how to do about anything.":[null,""],"Connection Settings":[null,""],"Manage your Jetpack connection.":[null,""],"The site is in Development Mode, so you can not connect to WordPress.com.":[null,""],"You are connected as ":[null,""],"Link your account to WordPress.com to get the most out of Jetpack.":[null,""],"Your site must be accessible by search engines for this feature to work properly. You can change this in {{a}}Reading Settings{{/a}}.":[null,""],"View {{a}}All Stats{{/a}}":[null,""],"View your {{a}}Email Followers{{/a}}":[null,""],"Powerful WordPress.com features on every device.":[null,""],"Manage all your sites from a single dashboard.":[null,""],"Feel the performance":[null,""],"All the WordPress apps are built for speed. You'll notice the difference in performance immediately, with near-instant page-loads and less waiting around.":[null,""],"Bulk and automatic updates":[null,""],"Most security flaws are found in outdated plugins. Use our Web and Desktop apps to turn on auto-updates or update plugins manually for all your websites in one convenient place.":[null,""],"Focus on your Writing":[null,""],"Our new editor is lightning fast, optimized for writers and eliminates distractions, giving you the ability to focus on your work.":[null,""],"Try the New Editor":[null,""],"Connect with your Visitors":[null,""],"Monitor your visitors with advanced stats. Watch for trends, learn what content performs the best and understand your visitors from anywhere in the world.":[null,""],"View Your Stats":[null,""],"Connect with the Community":[null,""],"The WordPress apps all have impressively fast and full featured readers so you can catch up with your favorite sites and join the conversation anywhere, any time.":[null,""],"Launch Reader":[null,""],"Inspiration strikes any time, anywhere.":[null,""],"Get WordPress apps for any screen.":[null,""],"In Your Pocket":[null,""],"Publish content, track stats, moderate comments and so much more from anywhere in the world. Our mobile apps are open source, free and available to you on Apple or Android devices.":[null,""],"WordPress.com in the App Store":[null,""],"WordPress.com in Google Play":[null,""],"On Your Desktop":[null,""],"A desktop app that gives WordPress a permanent home on your computer. Not to mention the distraction free environment you get writing outside of a web browser.":[null,""],"WordPress.com for Mac OS X":[null,""],"WordPress.com for Windows":[null,""],"WordPress.com for Linux":[null,""],"Malware Scanning":[null,""],"Threats found":[null,""],"For automated, comprehensive scan