PATH:
home
/
letacommog
/
laindinois
/
OLD
/
wp-content
/
plugins
/
wordpress-seo-premium
/
premium
/
assets
/
js
/
dist
(window.yoastPremiumWebpackJsonp=window.yoastPremiumWebpackJsonp||[]).push([[10],[function(e,t){e.exports=React},function(e,t,n){e.exports=function(){"use strict";var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:H(e)}function r(e){return s(e)?e:Y(e)}function o(e){return u(e)?e:$(e)}function i(e){return a(e)&&!c(e)?e:G(e)}function a(e){return!(!e||!e[f])}function s(e){return!(!e||!e[p])}function u(e){return!(!e||!e[d])}function c(e){return s(e)||u(e)}function l(e){return!(!e||!e[h])}t(r,n),t(o,n),t(i,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=u,n.isAssociative=c,n.isOrdered=l,n.Keyed=r,n.Indexed=o,n.Set=i;var f="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",d="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",y=5,g=1<<y,v=g-1,m={},b={value:!1},_={value:!1};function w(e){return e.value=!1,e}function S(e){e&&(e.value=!0)}function E(){}function x(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),o=0;o<n;o++)r[o]=e[o+t];return r}function O(e){return void 0===e.size&&(e.size=e.__iterate(C)),e.size}function k(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?O(e)+t:t}function C(){return!0}function P(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function T(e,t){return R(e,t,0)}function j(e,t){return R(e,t,t)}function R(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var M=0,A=1,I=2,D="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",N=D||L;function B(e){this.next=e}function K(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function F(){return{value:void 0,done:!0}}function U(e){return!!W(e)}function z(e){return e&&"function"==typeof e.next}function q(e){var t=W(e);return t&&t.call(e)}function W(e){var t=e&&(D&&e[D]||e[L]);if("function"==typeof t)return t}function V(e){return e&&"number"==typeof e.length}function H(e){return null===e||void 0===e?ie():a(e)?e.toSeq():function(e){var t=ue(e)||"object"==typeof e&&new te(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}(e)}function Y(e){return null===e||void 0===e?ie().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():ae(e)}function $(e){return null===e||void 0===e?ie():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():se(e)}function G(e){return(null===e||void 0===e?ie():a(e)?s(e)?e.entrySeq():e:se(e)).toSetSeq()}B.prototype.toString=function(){return"[Iterator]"},B.KEYS=M,B.VALUES=A,B.ENTRIES=I,B.prototype.inspect=B.prototype.toSource=function(){return this.toString()},B.prototype[N]=function(){return this},t(H,n),H.of=function(){return H(arguments)},H.prototype.toSeq=function(){return this},H.prototype.toString=function(){return this.__toString("Seq {","}")},H.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},H.prototype.__iterate=function(e,t){return ce(this,e,t,!0)},H.prototype.__iterator=function(e,t){return le(this,e,t,!0)},t(Y,H),Y.prototype.toKeyedSeq=function(){return this},t($,H),$.of=function(){return $(arguments)},$.prototype.toIndexedSeq=function(){return this},$.prototype.toString=function(){return this.__toString("Seq [","]")},$.prototype.__iterate=function(e,t){return ce(this,e,t,!1)},$.prototype.__iterator=function(e,t){return le(this,e,t,!1)},t(G,H),G.of=function(){return G(arguments)},G.prototype.toSetSeq=function(){return this},H.isSeq=oe,H.Keyed=Y,H.Set=G,H.Indexed=$;var J,X,Q,Z="@@__IMMUTABLE_SEQ__@@";function ee(e){this._array=e,this.size=e.length}function te(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function ne(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[Z])}function ie(){return J||(J=new ee([]))}function ae(e){var t=Array.isArray(e)?new ee(e).fromEntrySeq():z(e)?new re(e).fromEntrySeq():U(e)?new ne(e).fromEntrySeq():"object"==typeof e?new te(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function se(e){var t=ue(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){return V(e)?new ee(e):z(e)?new re(e):U(e)?new ne(e):void 0}function ce(e,t,n,r){var o=e._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function le(e,t,n,r){var o=e._cache;if(o){var i=o.length-1,a=0;return new B(function(){var e=o[n?i-a:a];return a++>i?{value:void 0,done:!0}:K(t,r?e[0]:a-1,e[1])})}return e.__iteratorUncached(t,n)}function fe(e,t){return t?function e(t,n,r,o){return Array.isArray(n)?t.call(o,r,$(n).map(function(r,o){return e(t,r,o,n)})):de(n)?t.call(o,r,Y(n).map(function(r,o){return e(t,r,o,n)})):n}(t,e,"",{"":e}):pe(e)}function pe(e){return Array.isArray(e)?$(e).map(pe).toList():de(e)?Y(e).map(pe).toMap():e}function de(e){return e&&(e.constructor===Object||void 0===e.constructor)}function he(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if(e=e.valueOf(),t=t.valueOf(),e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||u(e)!==u(t)||l(e)!==l(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(l(e)){var r=e.entries();return t.every(function(e,t){var o=r.next().value;return o&&he(o[1],e)&&(n||he(o[0],t))})&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var i=e;e=t,t=i}var f=!0,p=t.__iterate(function(t,r){if(n?!e.has(t):o?!he(t,e.get(r,m)):!he(e.get(r,m),t))return f=!1,!1});return f&&e.size===p}function ge(e,t){if(!(this instanceof ge))return new ge(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(X)return X;X=this}}function ve(e,t){if(!e)throw new Error(t)}function me(e,t,n){if(!(this instanceof me))return new me(e,t,n);if(ve(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(Q)return Q;Q=this}}function be(){throw TypeError("Abstract")}function _e(){}function we(){}function Se(){}H.prototype[Z]=!0,t(ee,$),ee.prototype.get=function(e,t){return this.has(e)?this._array[k(this,e)]:t},ee.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(!1===e(n[t?r-o:o],o,this))return o+1;return o},ee.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,o=0;return new B(function(){return o>r?{value:void 0,done:!0}:K(e,o,n[t?r-o++:o++])})},t(te,Y),te.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},te.prototype.has=function(e){return this._object.hasOwnProperty(e)},te.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[t?o-i:i];if(!1===e(n[a],a,this))return i+1}return i},te.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,i=0;return new B(function(){var a=r[t?o-i:i];return i++>o?{value:void 0,done:!0}:K(e,a,n[a])})},te.prototype[h]=!0,t(ne,$),ne.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=this._iterable,r=q(n),o=0;if(z(r))for(var i;!(i=r.next()).done&&!1!==e(i.value,o++,this););return o},ne.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterable,r=q(n);if(!z(r))return new B(F);var o=0;return new B(function(){var t=r.next();return t.done?t:K(e,o++,t.value)})},t(re,$),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i<o.length;)if(!1===e(o[i],i++,this))return i;for(;!(n=r.next()).done;){var a=n.value;if(o[i]=a,!1===e(a,i++,this))break}return i},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,o=0;return new B(function(){if(o>=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return K(e,o,r[o++])})},t(ge,$),ge.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ge.prototype.get=function(e,t){return this.has(e)?this._value:t},ge.prototype.includes=function(e){return he(this._value,e)},ge.prototype.slice=function(e,t){var n=this.size;return P(e,t,n)?this:new ge(this._value,j(t,n)-T(e,n))},ge.prototype.reverse=function(){return this},ge.prototype.indexOf=function(e){return he(this._value,e)?0:-1},ge.prototype.lastIndexOf=function(e){return he(this._value,e)?this.size:-1},ge.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},ge.prototype.__iterator=function(e,t){var n=this,r=0;return new B(function(){return r<n.size?K(e,r++,n._value):{value:void 0,done:!0}})},ge.prototype.equals=function(e){return e instanceof ge?he(this._value,e._value):ye(e)},t(me,$),me.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},me.prototype.get=function(e,t){return this.has(e)?this._start+k(this,e)*this._step:t},me.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},me.prototype.slice=function(e,t){return P(e,t,this.size)?this:(e=T(e,this.size),(t=j(t,this.size))<=e?new me(0,0):new me(this.get(e,this._end),this.get(t,this._end),this._step))},me.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},me.prototype.lastIndexOf=function(e){return this.indexOf(e)},me.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;i<=n;i++){if(!1===e(o,i,this))return i+1;o+=t?-r:r}return i},me.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;return new B(function(){var a=o;return o+=t?-r:r,i>n?{value:void 0,done:!0}:K(e,i++,a)})},me.prototype.equals=function(e){return e instanceof me?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(be,n),t(_e,be),t(we,be),t(Se,be),be.Keyed=_e,be.Indexed=we,be.Set=Se;var Ee="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function xe(e){return e>>>1&1073741824|3221225471&e}function Oe(e){if(!1===e||null===e||void 0===e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null===e||void 0===e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return xe(n)}if("string"===t)return e.length>Ae?function(e){var t=Le[e];return void 0===t&&(t=ke(e),De===Ie&&(De=0,Le={}),De++,Le[e]=t),t}(e):ke(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return function(e){var t;if(je&&void 0!==(t=Ce.get(e)))return t;if(void 0!==(t=e[Me]))return t;if(!Te){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Me]))return t;if(void 0!==(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e)))return t}if(t=++Re,1073741824&Re&&(Re=0),je)Ce.set(e,t);else{if(void 0!==Pe&&!1===Pe(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Te)Object.defineProperty(e,Me,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Me]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Me]=t}}return t}(e);if("function"==typeof e.toString)return ke(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function ke(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return xe(t)}var Ce,Pe=Object.isExtensible,Te=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),je="function"==typeof WeakMap;je&&(Ce=new WeakMap);var Re=0,Me="__immutablehash__";"function"==typeof Symbol&&(Me=Symbol(Me));var Ae=16,Ie=255,De=0,Le={};function Ne(e){ve(e!==1/0,"Cannot perform this action with an infinite size.")}function Be(e){return null===e||void 0===e?Qe():Ke(e)&&!l(e)?e:Qe().withMutations(function(t){var n=r(e);Ne(n.size),n.forEach(function(e,n){return t.set(n,e)})})}function Ke(e){return!(!e||!e[Ue])}t(Be,_e),Be.prototype.toString=function(){return this.__toString("Map {","}")},Be.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Be.prototype.set=function(e,t){return Ze(this,e,t)},Be.prototype.setIn=function(e,t){return this.updateIn(e,m,function(){return t})},Be.prototype.remove=function(e){return Ze(this,e,m)},Be.prototype.deleteIn=function(e){return this.updateIn(e,function(){return m})},Be.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Be.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=function e(t,n,r,o){var i=t===m,a=n.next();if(a.done){var s=i?r:t,u=o(s);return u===s?t:u}ve(i||t&&t.set,"invalid keyPath");var c=a.value,l=i?m:t.get(c,m),f=e(l,n,r,o);return f===l?t:f===m?t.remove(c):(i?Qe():t).set(c,f)}(this,nn(e),t,n);return r===m?void 0:r},Be.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Qe()},Be.prototype.merge=function(){return rt(this,void 0,arguments)},Be.prototype.mergeWith=function(t){var n=e.call(arguments,1);return rt(this,t,n)},Be.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,Qe(),function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]})},Be.prototype.mergeDeep=function(){return rt(this,ot,arguments)},Be.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return rt(this,it(t),n)},Be.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,Qe(),function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]})},Be.prototype.sort=function(e){return Tt(Vt(this,e))},Be.prototype.sortBy=function(e,t){return Tt(Vt(this,t,e))},Be.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Be.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new E)},Be.prototype.asImmutable=function(){return this.__ensureOwner()},Be.prototype.wasAltered=function(){return this.__altered},Be.prototype.__iterator=function(e,t){return new $e(this,e,t)},Be.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate(function(t){return r++,e(t[1],t[0],n)},t),r},Be.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Xe(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Be.isMap=Ke;var Fe,Ue="@@__IMMUTABLE_MAP__@@",ze=Be.prototype;function qe(e,t){this.ownerID=e,this.entries=t}function We(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Ve(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function He(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Ye(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function $e(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&Je(e._root)}function Ge(e,t){return K(e,t[0],t[1])}function Je(e,t){return{node:e,index:0,__prev:t}}function Xe(e,t,n,r){var o=Object.create(ze);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Qe(){return Fe||(Fe=Xe(0))}function Ze(e,t,n){var r,o;if(e._root){var i=w(b),a=w(_);if(r=et(e._root,e.__ownerID,0,void 0,t,n,i,a),!a.value)return e;o=e.size+(i.value?n===m?-1:1:0)}else{if(n===m)return e;o=1,r=new qe(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?Xe(o,r):Qe()}function et(e,t,n,r,o,i,a,s){return e?e.update(t,n,r,o,i,a,s):i===m?e:(S(s),S(a),new Ye(t,r,[o,i]))}function tt(e){return e.constructor===Ye||e.constructor===He}function nt(e,t,n,r,o){if(e.keyHash===r)return new He(t,r,[e.entry,o]);var i,a=(0===n?e.keyHash:e.keyHash>>>n)&v,s=(0===n?r:r>>>n)&v,u=a===s?[nt(e,t,n+y,r,o)]:(i=new Ye(t,r,o),a<s?[e,i]:[i,e]);return new We(t,1<<a|1<<s,u)}function rt(e,t,n){for(var o=[],i=0;i<n.length;i++){var s=n[i],u=r(s);a(s)||(u=u.map(function(e){return fe(e)})),o.push(u)}return at(e,t,o)}function ot(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):he(e,t)?e:t}function it(e){return function(t,n,r){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var o=e(t,n,r);return he(t,o)?t:o}}function at(e,t,n){return 0===(n=n.filter(function(e){return 0!==e.size})).length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations(function(e){for(var r=t?function(n,r){e.update(r,m,function(e){return e===m?n:t(e,n,r)})}:function(t,n){e.set(n,t)},o=0;o<n.length;o++)n[o].forEach(r)}):e.constructor(n[0])}function st(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function ut(e,t,n,r){var o=r?e:x(e);return o[t]=n,o}ze[Ue]=!0,ze.delete=ze.remove,ze.removeIn=ze.deleteIn,qe.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(he(n,o[i][0]))return o[i][1];return r},qe.prototype.update=function(e,t,n,r,o,i,a){for(var s=o===m,u=this.entries,c=0,l=u.length;c<l&&!he(r,u[c][0]);c++);var f=c<l;if(f?u[c][1]===o:s)return this;if(S(a),(s||!f)&&S(i),!s||1!==u.length){if(!f&&!s&&u.length>=ct)return function(e,t,n,r){e||(e=new E);for(var o=new Ye(e,Oe(n),[n,r]),i=0;i<t.length;i++){var a=t[i];o=o.update(e,0,void 0,a[0],a[1])}return o}(e,u,r,o);var p=e&&e===this.ownerID,d=p?u:x(u);return f?s?c===l-1?d.pop():d[c]=d.pop():d[c]=[r,o]:d.push([r,o]),p?(this.entries=d,this):new qe(e,d)}},We.prototype.get=function(e,t,n,r){void 0===t&&(t=Oe(n));var o=1<<((0===e?t:t>>>e)&v),i=this.bitmap;return 0==(i&o)?r:this.nodes[st(i&o-1)].get(e+y,t,n,r)},We.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=Oe(r));var s=(0===t?n:n>>>t)&v,u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&o===m)return this;var f=st(c&u-1),p=this.nodes,d=l?p[f]:void 0,h=et(d,e,t+y,n,r,o,i,a);if(h===d)return this;if(!l&&h&&p.length>=lt)return function(e,t,n,r,o){for(var i=0,a=new Array(g),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[i++]:void 0;return a[r]=o,new Ve(e,i+1,a)}(e,p,c,s,h);if(l&&!h&&2===p.length&&tt(p[1^f]))return p[1^f];if(l&&h&&1===p.length&&tt(h))return h;var b=e&&e===this.ownerID,_=l?h?c:c^u:c|u,w=l?h?ut(p,f,h,b):function(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),i=0,a=0;a<r;a++)a===t&&(i=1),o[a]=e[a+i];return o}(p,f,b):function(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var i=new Array(o),a=0,s=0;s<o;s++)s===t?(i[s]=n,a=-1):i[s]=e[s+a];return i}(p,f,h,b);return b?(this.bitmap=_,this.nodes=w,this):new We(e,_,w)},Ve.prototype.get=function(e,t,n,r){void 0===t&&(t=Oe(n));var o=(0===e?t:t>>>e)&v,i=this.nodes[o];return i?i.get(e+y,t,n,r):r},Ve.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=Oe(r));var s=(0===t?n:n>>>t)&v,u=o===m,c=this.nodes,l=c[s];if(u&&!l)return this;var f=et(l,e,t+y,n,r,o,i,a);if(f===l)return this;var p=this.count;if(l){if(!f&&--p<ft)return function(e,t,n,r){for(var o=0,i=0,a=new Array(n),s=0,u=1,c=t.length;s<c;s++,u<<=1){var l=t[s];void 0!==l&&s!==r&&(o|=u,a[i++]=l)}return new We(e,o,a)}(e,c,p,s)}else p++;var d=e&&e===this.ownerID,h=ut(c,s,f,d);return d?(this.count=p,this.nodes=h,this):new Ve(e,p,h)},He.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(he(n,o[i][0]))return o[i][1];return r},He.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=Oe(r));var s=o===m;if(n!==this.keyHash)return s?this:(S(a),S(i),nt(this,e,t,n,[r,o]));for(var u=this.entries,c=0,l=u.length;c<l&&!he(r,u[c][0]);c++);var f=c<l;if(f?u[c][1]===o:s)return this;if(S(a),(s||!f)&&S(i),s&&2===l)return new Ye(e,this.keyHash,u[1^c]);var p=e&&e===this.ownerID,d=p?u:x(u);return f?s?c===l-1?d.pop():d[c]=d.pop():d[c]=[r,o]:d.push([r,o]),p?(this.entries=d,this):new He(e,this.keyHash,d)},Ye.prototype.get=function(e,t,n,r){return he(n,this.entry[0])?this.entry[1]:r},Ye.prototype.update=function(e,t,n,r,o,i,a){var s=o===m,u=he(r,this.entry[0]);return(u?o===this.entry[1]:s)?this:(S(a),s?void S(i):u?e&&e===this.ownerID?(this.entry[1]=o,this):new Ye(e,this.keyHash,[r,o]):(S(i),nt(this,e,t,Oe(r),[r,o])))},qe.prototype.iterate=He.prototype.iterate=function(e,t){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===e(n[t?o-r:r]))return!1},We.prototype.iterate=Ve.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[t?o-r:r];if(i&&!1===i.iterate(e,t))return!1}},Ye.prototype.iterate=function(e,t){return e(this.entry)},t($e,B),$e.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,o=t.index++;if(r.entry){if(0===o)return Ge(e,r.entry)}else if(r.entries){if(n=r.entries.length-1,o<=n)return Ge(e,r.entries[this._reverse?n-o:o])}else if(n=r.nodes.length-1,o<=n){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return Ge(e,i.entry);t=this._stack=Je(i,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var ct=g/4,lt=g/2,ft=g/4;function pt(e){var t=St();if(null===e||void 0===e)return t;if(dt(e))return e;var n=o(e),r=n.size;return 0===r?t:(Ne(r),r>0&&r<g?wt(0,r,y,null,new gt(n.toArray())):t.withMutations(function(e){e.setSize(r),n.forEach(function(t,n){return e.set(n,t)})}))}function dt(e){return!(!e||!e[ht])}t(pt,we),pt.of=function(){return this(arguments)},pt.prototype.toString=function(){return this.__toString("List [","]")},pt.prototype.get=function(e,t){if((e=k(this,e))>=0&&e<this.size){var n=Ot(this,e+=this._origin);return n&&n.array[e&v]}return t},pt.prototype.set=function(e,t){return function(e,t,n){if((t=k(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations(function(e){t<0?kt(e,t).set(0,n):kt(e,0,t+1).set(t,n)});t+=e._origin;var r=e._tail,o=e._root,i=w(_);return t>=Pt(e._capacity)?r=Et(r,e.__ownerID,0,t,n,i):o=Et(o,e.__ownerID,e._level,t,n,i),i.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):wt(e._origin,e._capacity,e._level,o,r):e}(this,e,t)},pt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},pt.prototype.insert=function(e,t){return this.splice(e,0,t)},pt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=y,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):St()},pt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations(function(n){kt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])})},pt.prototype.pop=function(){return kt(this,0,-1)},pt.prototype.unshift=function(){var e=arguments;return this.withMutations(function(t){kt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])})},pt.prototype.shift=function(){return kt(this,1)},pt.prototype.merge=function(){return Ct(this,void 0,arguments)},pt.prototype.mergeWith=function(t){var n=e.call(arguments,1);return Ct(this,t,n)},pt.prototype.mergeDeep=function(){return Ct(this,ot,arguments)},pt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Ct(this,it(t),n)},pt.prototype.setSize=function(e){return kt(this,0,e)},pt.prototype.slice=function(e,t){var n=this.size;return P(e,t,n)?this:kt(this,T(e,n),j(t,n))},pt.prototype.__iterator=function(e,t){var n=0,r=_t(this,t);return new B(function(){var t=r();return t===bt?{value:void 0,done:!0}:K(e,n++,t)})},pt.prototype.__iterate=function(e,t){for(var n,r=0,o=_t(this,t);(n=o())!==bt&&!1!==e(n,r++,this););return r},pt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?wt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},pt.isList=dt;var ht="@@__IMMUTABLE_LIST__@@",yt=pt.prototype;function gt(e,t){this.array=e,this.ownerID=t}yt[ht]=!0,yt.delete=yt.remove,yt.setIn=ze.setIn,yt.deleteIn=yt.removeIn=ze.removeIn,yt.update=ze.update,yt.updateIn=ze.updateIn,yt.mergeIn=ze.mergeIn,yt.mergeDeepIn=ze.mergeDeepIn,yt.withMutations=ze.withMutations,yt.asMutable=ze.asMutable,yt.asImmutable=ze.asImmutable,yt.wasAltered=ze.wasAltered,gt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&v;if(r>=this.array.length)return new gt([],e);var o,i=0===r;if(t>0){var a=this.array[r];if((o=a&&a.removeBefore(e,t-y,n))===a&&i)return this}if(i&&!o)return this;var s=xt(this,e);if(!i)for(var u=0;u<r;u++)s.array[u]=void 0;return o&&(s.array[r]=o),s},gt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,o=n-1>>>t&v;if(o>=this.array.length)return this;if(t>0){var i=this.array[o];if((r=i&&i.removeAfter(e,t-y,n))===i&&o===this.array.length-1)return this}var a=xt(this,e);return a.array.splice(o+1),r&&(a.array[o]=r),a};var vt,mt,bt={};function _t(e,t){var n=e._origin,r=e._capacity,o=Pt(r),i=e._tail;return a(e._root,e._level,0);function a(e,s,u){return 0===s?function(e,a){var s=a===o?i&&i.array:e&&e.array,u=a>n?0:n-a,c=r-a;return c>g&&(c=g),function(){if(u===c)return bt;var e=t?--c:u++;return s&&s[e]}}(e,u):function(e,o,i){var s,u=e&&e.array,c=i>n?0:n-i>>o,l=1+(r-i>>o);return l>g&&(l=g),function(){for(;;){if(s){var e=s();if(e!==bt)return e;s=null}if(c===l)return bt;var n=t?--l:c++;s=a(u&&u[n],o-y,i+(n<<o))}}}(e,s,u)}}function wt(e,t,n,r,o,i,a){var s=Object.create(yt);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function St(){return vt||(vt=wt(0,0,y))}function Et(e,t,n,r,o,i){var a,s=r>>>n&v,u=e&&s<e.array.length;if(!u&&void 0===o)return e;if(n>0){var c=e&&e.array[s],l=Et(c,t,n-y,r,o,i);return l===c?e:((a=xt(e,t)).array[s]=l,a)}return u&&e.array[s]===o?e:(S(i),a=xt(e,t),void 0===o&&s===a.array.length-1?a.array.pop():a.array[s]=o,a)}function xt(e,t){return t&&e&&t===e.ownerID?e:new gt(e?e.array.slice():[],t)}function Ot(e,t){if(t>=Pt(e._capacity))return e._tail;if(t<1<<e._level+y){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&v],r-=y;return n}}function kt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new E,o=e._origin,i=e._capacity,a=o+t,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return e;if(a>=s)return e.clear();for(var u=e._level,c=e._root,l=0;a+l<0;)c=new gt(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=y);l&&(a+=l,o+=l,s+=l,i+=l);for(var f=Pt(i),p=Pt(s);p>=1<<u+y;)c=new gt(c&&c.array.length?[c]:[],r),u+=y;var d=e._tail,h=p<f?Ot(e,s-1):p>f?new gt([],r):d;if(d&&p>f&&a<i&&d.array.length){for(var g=c=xt(c,r),m=u;m>y;m-=y){var b=f>>>m&v;g=g.array[b]=xt(g.array[b],r)}g.array[f>>>y&v]=d}if(s<i&&(h=h&&h.removeAfter(r,0,s)),a>=p)a-=p,s-=p,u=y,c=null,h=h&&h.removeBefore(r,0,a);else if(a>o||p<f){for(l=0;c;){var _=a>>>u&v;if(_!==p>>>u&v)break;_&&(l+=(1<<u)*_),u-=y,c=c.array[_]}c&&a>o&&(c=c.removeBefore(r,u,a-l)),c&&p<f&&(c=c.removeAfter(r,u,p-l)),l&&(a-=l,s-=l)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=u,e._root=c,e._tail=h,e.__hash=void 0,e.__altered=!0,e):wt(a,s,u,c,h)}function Ct(e,t,n){for(var r=[],i=0,s=0;s<n.length;s++){var u=n[s],c=o(u);c.size>i&&(i=c.size),a(u)||(c=c.map(function(e){return fe(e)})),r.push(c)}return i>e.size&&(e=e.setSize(i)),at(e,t,r)}function Pt(e){return e<g?0:e-1>>>y<<y}function Tt(e){return null===e||void 0===e?Mt():jt(e)?e:Mt().withMutations(function(t){var n=r(e);Ne(n.size),n.forEach(function(e,n){return t.set(n,e)})})}function jt(e){return Ke(e)&&l(e)}function Rt(e,t,n,r){var o=Object.create(Tt.prototype);return o.size=e?e.size:0,o._map=e,o._list=t,o.__ownerID=n,o.__hash=r,o}function Mt(){return mt||(mt=Rt(Qe(),St()))}function At(e,t,n){var r,o,i=e._map,a=e._list,s=i.get(t),u=void 0!==s;if(n===m){if(!u)return e;a.size>=g&&a.size>=2*i.size?(o=a.filter(function(e,t){return void 0!==e&&s!==t}),r=o.toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=i.remove(t),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=i,o=a.set(s,[t,n])}else r=i.set(t,a.size),o=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):Rt(r,o)}function It(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function Dt(e){this._iter=e,this.size=e.size}function Lt(e){this._iter=e,this.size=e.size}function Nt(e){this._iter=e,this.size=e.size}function Bt(e){var t=Zt(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=en,t.__iterateUncached=function(t,n){var r=this;return e.__iterate(function(e,n){return!1!==t(n,e,r)},n)},t.__iteratorUncached=function(t,n){if(t===I){var r=e.__iterator(t,n);return new B(function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e})}return e.__iterator(t===A?M:A,n)},t}function Kt(e,t,n){var r=Zt(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,m);return i===m?o:t.call(n,i,r,e)},r.__iterateUncached=function(r,o){var i=this;return e.__iterate(function(e,o,a){return!1!==r(t.call(n,e,o,a),o,i)},o)},r.__iteratorUncached=function(r,o){var i=e.__iterator(I,o);return new B(function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return K(r,s,t.call(n,a[1],s,e),o)})},r}function Ft(e,t){var n=Zt(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Bt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=en,n.__iterate=function(t,n){var r=this;return e.__iterate(function(e,n){return t(e,n,r)},!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function Ut(e,t,n,r){var o=Zt(e);return r&&(o.has=function(r){var o=e.get(r,m);return o!==m&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,m);return i!==m&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return e.__iterate(function(e,i,u){if(t.call(n,e,i,u))return s++,o(e,r?i:s-1,a)},i),s},o.__iteratorUncached=function(o,i){var a=e.__iterator(I,i),s=0;return new B(function(){for(;;){var i=a.next();if(i.done)return i;var u=i.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return K(o,r?c:s++,l,i)}})},o}function zt(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),P(t,n,o))return e;var i=T(t,o),a=j(n,o);if(i!=i||a!=a)return zt(e.toSeq().cacheResult(),t,n,r);var s,u=a-i;u==u&&(s=u<0?0:u);var c=Zt(e);return c.size=0===s?s:e.size&&s||void 0,!r&&oe(e)&&s>=0&&(c.get=function(t,n){return(t=k(this,t))>=0&&t<s?e.get(t+i,n):n}),c.__iterateUncached=function(t,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,u=!0,c=0;return e.__iterate(function(e,n){if(!u||!(u=a++<i))return c++,!1!==t(e,r?n:c-1,o)&&c!==s}),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var o=0!==s&&e.__iterator(t,n),a=0,u=0;return new B(function(){for(;a++<i;)o.next();if(++u>s)return{value:void 0,done:!0};var e=o.next();return r||t===A?e:K(t,u-1,t===M?void 0:e.value[1],e)})},c}function qt(e,t,n,r){var o=Zt(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,u=0;return e.__iterate(function(e,i,c){if(!s||!(s=t.call(n,e,i,c)))return u++,o(e,r?i:u-1,a)}),u},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator(I,i),u=!0,c=0;return new B(function(){var e,i,l;do{if((e=s.next()).done)return r||o===A?e:K(o,c++,o===M?void 0:e.value[1],e);var f=e.value;i=f[0],l=f[1],u&&(u=t.call(n,l,i,a))}while(u);return o===I?e:K(o,i,l,e)})},o}function Wt(e,t,n){var r=Zt(e);return r.__iterateUncached=function(r,o){var i=0,s=!1;return function e(u,c){var l=this;u.__iterate(function(o,u){return(!t||c<t)&&a(o)?e(o,c+1):!1===r(o,n?u:i++,l)&&(s=!0),!s},o)}(e,0),i},r.__iteratorUncached=function(r,o){var i=e.__iterator(r,o),s=[],u=0;return new B(function(){for(;i;){var e=i.next();if(!1===e.done){var c=e.value;if(r===I&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:K(r,u++,c,e);s.push(i),i=c.__iterator(r,o)}else i=s.pop()}return{value:void 0,done:!0}})},r}function Vt(e,t,n){t||(t=tn);var r=s(e),o=0,i=e.toSeq().map(function(t,r){return[r,t,o++,n?n(t,r,e):t]}).toArray();return i.sort(function(e,n){return t(e[3],n[3])||e[2]-n[2]}).forEach(r?function(e,t){i[t].length=2}:function(e,t){i[t]=e[1]}),r?Y(i):u(e)?$(i):G(i)}function Ht(e,t,n){if(t||(t=tn),n){var r=e.toSeq().map(function(t,r){return[t,n(t,r,e)]}).reduce(function(e,n){return Yt(t,e[1],n[1])?n:e});return r&&r[0]}return e.reduce(function(e,n){return Yt(t,e,n)?n:e})}function Yt(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(void 0===n||null===n||n!=n)||r>0}function $t(e,t,r){var o=Zt(e);return o.size=new ee(r).map(function(e){return e.size}).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(A,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var i=r.map(function(e){return e=n(e),q(o?e.reverse():e)}),a=0,s=!1;return new B(function(){var n;return s||(n=i.map(function(e){return e.next()}),s=n.some(function(e){return e.done})),s?{value:void 0,done:!0}:K(e,a++,t.apply(null,n.map(function(e){return e.value})))})},o}function Gt(e,t){return oe(e)?t:e.constructor(t)}function Jt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Xt(e){return Ne(e.size),O(e)}function Qt(e){return s(e)?r:u(e)?o:i}function Zt(e){return Object.create((s(e)?Y:u(e)?$:G).prototype)}function en(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):H.prototype.cacheResult.call(this)}function tn(e,t){return e>t?1:e<t?-1:0}function nn(e){var t=q(e);if(!t){if(!V(e))throw new TypeError("Expected iterable or array-like: "+e);t=q(n(e))}return t}function rn(e,t){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(e);!function(e,t){try{t.forEach(function(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){ve(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}.bind(void 0,e))}catch(e){}}(o,a),o.size=a.length,o._name=t,o._keys=a,o._defaultValues=e}this._map=Be(i)},o=r.prototype=Object.create(on);return o.constructor=r,r}t(Tt,Be),Tt.of=function(){return this(arguments)},Tt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Tt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Tt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Mt()},Tt.prototype.set=function(e,t){return At(this,e,t)},Tt.prototype.remove=function(e){return At(this,e,m)},Tt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Tt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate(function(t){return t&&e(t[1],t[0],n)},t)},Tt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Tt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Rt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Tt.isOrderedMap=jt,Tt.prototype[h]=!0,Tt.prototype.delete=Tt.prototype.remove,t(It,Y),It.prototype.get=function(e,t){return this._iter.get(e,t)},It.prototype.has=function(e){return this._iter.has(e)},It.prototype.valueSeq=function(){return this._iter.valueSeq()},It.prototype.reverse=function(){var e=this,t=Ft(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},It.prototype.map=function(e,t){var n=this,r=Kt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},It.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?Xt(this):0,function(o){return e(o,t?--n:n++,r)}),t)},It.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(A,t),r=t?Xt(this):0;return new B(function(){var o=n.next();return o.done?o:K(e,t?--r:r++,o.value,o)})},It.prototype[h]=!0,t(Dt,$),Dt.prototype.includes=function(e){return this._iter.includes(e)},Dt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate(function(t){return e(t,r++,n)},t)},Dt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(A,t),r=0;return new B(function(){var t=n.next();return t.done?t:K(e,r++,t.value,t)})},t(Lt,G),Lt.prototype.has=function(e){return this._iter.includes(e)},Lt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){return e(t,t,n)},t)},Lt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(A,t);return new B(function(){var t=n.next();return t.done?t:K(e,t.value,t.value,t)})},t(Nt,Y),Nt.prototype.entrySeq=function(){return this._iter.toSeq()},Nt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){if(t){Jt(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}},t)},Nt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(A,t);return new B(function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){Jt(r);var o=a(r);return K(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}})},Dt.prototype.cacheResult=It.prototype.cacheResult=Lt.prototype.cacheResult=Nt.prototype.cacheResult=en,t(rn,_e),rn.prototype.toString=function(){return this.__toString(sn(this)+" {","}")},rn.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},rn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},rn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=an(this,Qe()))},rn.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+sn(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:an(this,n)},rn.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:an(this,t)},rn.prototype.wasAltered=function(){return this._map.wasAltered()},rn.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map(function(e,t){return n.get(t)}).__iterator(e,t)},rn.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map(function(e,t){return n.get(t)}).__iterate(e,t)},rn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?an(this,t,e):(this.__ownerID=e,this._map=t,this)};var on=rn.prototype;function an(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function sn(e){return e._name||e.constructor.name||"Record"}function un(e){return null===e||void 0===e?yn():cn(e)&&!l(e)?e:yn().withMutations(function(t){var n=i(e);Ne(n.size),n.forEach(function(e){return t.add(e)})})}function cn(e){return!(!e||!e[fn])}on.delete=on.remove,on.deleteIn=on.removeIn=ze.removeIn,on.merge=ze.merge,on.mergeWith=ze.mergeWith,on.mergeIn=ze.mergeIn,on.mergeDeep=ze.mergeDeep,on.mergeDeepWith=ze.mergeDeepWith,on.mergeDeepIn=ze.mergeDeepIn,on.setIn=ze.setIn,on.update=ze.update,on.updateIn=ze.updateIn,on.withMutations=ze.withMutations,on.asMutable=ze.asMutable,on.asImmutable=ze.asImmutable,t(un,Se),un.of=function(){return this(arguments)},un.fromKeys=function(e){return this(r(e).keySeq())},un.prototype.toString=function(){return this.__toString("Set {","}")},un.prototype.has=function(e){return this._map.has(e)},un.prototype.add=function(e){return dn(this,this._map.set(e,!0))},un.prototype.remove=function(e){return dn(this,this._map.remove(e))},un.prototype.clear=function(){return dn(this,this._map.clear())},un.prototype.union=function(){var t=e.call(arguments,0);return 0===(t=t.filter(function(e){return 0!==e.size})).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(e){for(var n=0;n<t.length;n++)i(t[n]).forEach(function(t){return e.add(t)})}):this.constructor(t[0])},un.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map(function(e){return i(e)});var n=this;return this.withMutations(function(e){n.forEach(function(n){t.every(function(e){return e.includes(n)})||e.remove(n)})})},un.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map(function(e){return i(e)});var n=this;return this.withMutations(function(e){n.forEach(function(n){t.some(function(e){return e.includes(n)})&&e.remove(n)})})},un.prototype.merge=function(){return this.union.apply(this,arguments)},un.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},un.prototype.sort=function(e){return gn(Vt(this,e))},un.prototype.sortBy=function(e,t){return gn(Vt(this,t,e))},un.prototype.wasAltered=function(){return this._map.wasAltered()},un.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate(function(t,r){return e(r,r,n)},t)},un.prototype.__iterator=function(e,t){return this._map.map(function(e,t){return t}).__iterator(e,t)},un.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},un.isSet=cn;var ln,fn="@@__IMMUTABLE_SET__@@",pn=un.prototype;function dn(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function hn(e,t){var n=Object.create(pn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function yn(){return ln||(ln=hn(Qe()))}function gn(e){return null===e||void 0===e?wn():vn(e)?e:wn().withMutations(function(t){var n=i(e);Ne(n.size),n.forEach(function(e){return t.add(e)})})}function vn(e){return cn(e)&&l(e)}pn[fn]=!0,pn.delete=pn.remove,pn.mergeDeep=pn.merge,pn.mergeDeepWith=pn.mergeWith,pn.withMutations=ze.withMutations,pn.asMutable=ze.asMutable,pn.asImmutable=ze.asImmutable,pn.__empty=yn,pn.__make=hn,t(gn,un),gn.of=function(){return this(arguments)},gn.fromKeys=function(e){return this(r(e).keySeq())},gn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},gn.isOrderedSet=vn;var mn,bn=gn.prototype;function _n(e,t){var n=Object.create(bn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function wn(){return mn||(mn=_n(Mt()))}function Sn(e){return null===e||void 0===e?Pn():En(e)?e:Pn().unshiftAll(e)}function En(e){return!(!e||!e[On])}bn[h]=!0,bn.__empty=wn,bn.__make=_n,t(Sn,we),Sn.of=function(){return this(arguments)},Sn.prototype.toString=function(){return this.__toString("Stack [","]")},Sn.prototype.get=function(e,t){var n=this._head;for(e=k(this,e);n&&e--;)n=n.next;return n?n.value:t},Sn.prototype.peek=function(){return this._head&&this._head.value},Sn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Cn(e,t)},Sn.prototype.pushAll=function(e){if(0===(e=o(e)).size)return this;Ne(e.size);var t=this.size,n=this._head;return e.reverse().forEach(function(e){t++,n={value:e,next:n}}),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Cn(t,n)},Sn.prototype.pop=function(){return this.slice(1)},Sn.prototype.unshift=function(){return this.push.apply(this,arguments)},Sn.prototype.unshiftAll=function(e){return this.pushAll(e)},Sn.prototype.shift=function(){return this.pop.apply(this,arguments)},Sn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Pn()},Sn.prototype.slice=function(e,t){if(P(e,t,this.size))return this;var n=T(e,this.size),r=j(t,this.size);if(r!==this.size)return we.prototype.slice.call(this,e,t);for(var o=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):Cn(o,i)},Sn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Cn(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Sn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Sn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new B(function(){if(r){var t=r.value;return r=r.next,K(e,n++,t)}return{value:void 0,done:!0}})},Sn.isStack=En;var xn,On="@@__IMMUTABLE_STACK__@@",kn=Sn.prototype;function Cn(e,t,n,r){var o=Object.create(kn);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Pn(){return xn||(xn=Cn(0))}function Tn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}kn[On]=!0,kn.withMutations=ze.withMutations,kn.asMutable=ze.asMutable,kn.asImmutable=ze.asImmutable,kn.wasAltered=ze.wasAltered,n.Iterator=B,Tn(n,{toArray:function(){Ne(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate(function(t,n){e[n]=t}),e},toIndexedSeq:function(){return new Dt(this)},toJS:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJS?e.toJS():e}).__toJS()},toJSON:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e}).__toJS()},toKeyedSeq:function(){return new It(this,!0)},toMap:function(){return Be(this.toKeyedSeq())},toObject:function(){Ne(this.size);var e={};return this.__iterate(function(t,n){e[n]=t}),e},toOrderedMap:function(){return Tt(this.toKeyedSeq())},toOrderedSet:function(){return gn(s(this)?this.valueSeq():this)},toSet:function(){return un(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Lt(this)},toSeq:function(){return u(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Sn(s(this)?this.valueSeq():this)},toList:function(){return pt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){var t=e.call(arguments,0);return Gt(this,function(e,t){var n=s(e),o=[e].concat(t).map(function(e){return a(e)?n&&(e=r(e)):e=n?ae(e):se(Array.isArray(e)?e:[e]),e}).filter(function(e){return 0!==e.size});if(0===o.length)return e;if(1===o.length){var i=o[0];if(i===e||n&&s(i)||u(e)&&u(i))return i}var c=new ee(o);return n?c=c.toKeyedSeq():u(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=o.reduce(function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}},0),c}(this,t))},includes:function(e){return this.some(function(t){return he(t,e)})},entries:function(){return this.__iterator(I)},every:function(e,t){Ne(this.size);var n=!0;return this.__iterate(function(r,o,i){if(!e.call(t,r,o,i))return n=!1,!1}),n},filter:function(e,t){return Gt(this,Ut(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate(function(r,o,i){if(e.call(t,r,o,i))return n=[o,r],!1}),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return Ne(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ne(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate(function(r){n?n=!1:t+=e,t+=null!==r&&void 0!==r?r.toString():""}),t},keys:function(){return this.__iterator(M)},map:function(e,t){return Gt(this,Kt(this,e,t))},reduce:function(e,t,n){var r,o;return Ne(this.size),arguments.length<2?o=!0:r=t,this.__iterate(function(t,i,a){o?(o=!1,r=t):r=e.call(n,r,t,i,a)}),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Gt(this,Ft(this,!0))},slice:function(e,t){return Gt(this,zt(this,e,t,!0))},some:function(e,t){return!this.every(In(e),t)},sort:function(e){return Gt(this,Vt(this,e))},values:function(){return this.__iterator(A)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(e,t){return O(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var r=Be().asMutable();return e.__iterate(function(o,i){r.update(t.call(n,o,i,e),0,function(e){return e+1})}),r.asImmutable()}(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this;if(e._cache)return new ee(e._cache);var t=e.toSeq().map(An).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(In(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(C)},flatMap:function(e,t){return Gt(this,function(e,t,n){var r=Qt(e);return e.toSeq().map(function(o,i){return r(t.call(n,o,i,e))}).flatten(!0)}(this,e,t))},flatten:function(e){return Gt(this,Wt(this,e,!0))},fromEntrySeq:function(){return new Nt(this)},get:function(e,t){return this.find(function(t,n){return he(n,e)},void 0,t)},getIn:function(e,t){for(var n,r=this,o=nn(e);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,m):m)===m)return t}return r},groupBy:function(e,t){return function(e,t,n){var r=s(e),o=(l(e)?Tt():Be()).asMutable();e.__iterate(function(i,a){o.update(t.call(n,i,a,e),function(e){return(e=e||[]).push(r?[a,i]:i),e})});var i=Qt(e);return o.map(function(t){return Gt(e,i(t))})}(this,e,t)},has:function(e){return this.get(e,m)!==m},hasIn:function(e){return this.getIn(e,m)!==m},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every(function(t){return e.includes(t)})},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keySeq:function(){return this.toSeq().map(Mn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return Ht(this,e)},maxBy:function(e,t){return Ht(this,t,e)},min:function(e){return Ht(this,e?Dn(e):Bn)},minBy:function(e,t){return Ht(this,t?Dn(t):Bn,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return Gt(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return Gt(this,qt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(In(e),t)},sortBy:function(e,t){return Gt(this,Vt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return Gt(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return Gt(this,function(e,t,n){var r=Zt(e);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return e.__iterate(function(e,o,s){return t.call(n,e,o,s)&&++a&&r(e,o,i)}),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=e.__iterator(I,o),s=!0;return new B(function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var o=e.value,u=o[0],c=o[1];return t.call(n,c,u,i)?r===I?e:K(r,u,c,e):(s=!1,{value:void 0,done:!0})})},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(In(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0;var t=l(e),n=s(e),r=t?1:0;return function(e,t){return t=Ee(t,3432918353),t=Ee(t<<15|t>>>-15,461845907),t=Ee(t<<13|t>>>-13,5),t=Ee((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=xe((t=Ee(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){r=31*r+Kn(Oe(e),Oe(t))|0}:function(e,t){r=r+Kn(Oe(e),Oe(t))|0}:t?function(e){r=31*r+Oe(e)|0}:function(e){r=r+Oe(e)|0}),r)}(this))}});var jn=n.prototype;jn[f]=!0,jn[N]=jn.values,jn.__toJS=jn.toArray,jn.__toStringMapper=Ln,jn.inspect=jn.toSource=function(){return this.toString()},jn.chain=jn.flatMap,jn.contains=jn.includes,function(){try{Object.defineProperty(jn,"length",{get:function(){if(!n.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Tn(r,{flip:function(){return Gt(this,Bt(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey(function(t){return he(t,e)})},lastKeyOf:function(e){return this.findLastKey(function(t){return he(t,e)})},mapEntries:function(e,t){var n=this,r=0;return Gt(this,this.toSeq().map(function(o,i){return e.call(t,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Gt(this,this.toSeq().flip().map(function(r,o){return e.call(t,r,o,n)}).flip())}});var Rn=r.prototype;function Mn(e,t){return t}function An(e,t){return[t,e]}function In(e){return function(){return!e.apply(this,arguments)}}function Dn(e){return function(){return-e.apply(this,arguments)}}function Ln(e){return"string"==typeof e?JSON.stringify(e):e}function Nn(){return x(arguments)}function Bn(e,t){return e<t?1:e>t?-1:0}function Kn(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Rn[p]=!0,Rn[N]=jn.entries,Rn.__toJS=jn.toObject,Rn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+Ln(e)},Tn(o,{toKeyedSeq:function(){return new It(this,!1)},filter:function(e,t){return Gt(this,Ut(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return Gt(this,Ft(this,!1))},slice:function(e,t){return Gt(this,zt(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=T(e,e<0?this.count():this.size);var r=this.slice(0,e);return Gt(this,1===n?r:r.concat(x(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return Gt(this,Wt(this,e,!1))},get:function(e,t){return(e=k(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find(function(t,n){return n===e},void 0,t)},has:function(e){return(e=k(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return Gt(this,function(e,t){var n=Zt(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return e.__iterate(function(e,r){return(!i||!1!==n(t,i++,o))&&!1!==n(e,i++,o)},r),i},n.__iteratorUncached=function(n,r){var o,i=e.__iterator(A,r),a=0;return new B(function(){return(!o||a%2)&&(o=i.next()).done?o:a%2?K(n,a++,t):K(n,a++,o.value,o)})},n}(this,e))},interleave:function(){var e=[this].concat(x(arguments)),t=$t(this.toSeq(),$.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),Gt(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return Gt(this,qt(this,e,t,!1))},zip:function(){return Gt(this,$t(this,Nn,[this].concat(x(arguments))))},zipWith:function(e){var t=x(arguments);return t[0]=this,Gt(this,$t(this,e,t))}}),o.prototype[d]=!0,o.prototype[h]=!0,Tn(i,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),i.prototype.has=jn.includes,Tn(Y,r.prototype),Tn($,o.prototype),Tn(G,i.prototype),Tn(_e,r.prototype),Tn(we,o.prototype),Tn(Se,i.prototype),{Iterable:n,Seq:H,Collection:be,Map:Be,OrderedMap:Tt,List:pt,Stack:Sn,Set:un,OrderedSet:gn,Record:rn,Range:me,Repeat:ge,is:he,fromJS:fe}}()},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,i,a,s,u){if(r(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,o,i,a,s,u],f=0;(c=new Error(t.replace(/%s/g,function(){return l[f++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(21)||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};var o=n(261),i=n(133),a=n(444),s=n(1),u=n(59),c=s.OrderedSet,l=s.Record,f=s.Stack,p=l({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:f(),selection:null,treeMap:null,undoStack:f()}),d=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._immutable=t}return e.createEmpty=function(t){return e.createWithContent(i.createFromText(""),t)},e.createWithContent=function(t,n){var r=t.getBlockMap().first().getKey();return e.create({currentContent:t,undoStack:f(),redoStack:f(),decorator:n||null,selection:u.createEmpty(r)})},e.create=function(t){var n=t.currentContent,o=t.decorator,i=r({},t,{treeMap:y(n,o),directionMap:a.getDirectionMap(n)});return new e(new p(i))},e.set=function(t,n){return new e(t.getImmutable().withMutations(function(e){var r=e.get("decorator"),i=r;null===n.decorator?i=null:n.decorator&&(i=n.decorator);var a=n.currentContent||t.getCurrentContent();if(i!==r){var s,u=e.get("treeMap");return s=i&&r?function(e,t,n,r,i){return n.merge(t.toSeq().filter(function(t){return r.getDecorations(t,e)!==i.getDecorations(t,e)}).map(function(t){return o.generate(e,t,r)}))}(a,a.getBlockMap(),u,i,r):y(a,i),void e.merge({decorator:i,treeMap:s,nativelyRenderedContent:null})}a!==t.getCurrentContent()&&e.set("treeMap",function(e,t,n,r){var i=e.getCurrentContent().set("entityMap",n),a=i.getBlockMap();return e.getImmutable().get("treeMap").merge(t.toSeq().filter(function(e,t){return e!==a.get(t)}).map(function(e){return o.generate(i,e,r)}))}(t,a.getBlockMap(),a.getEntityMap(),i)),e.merge(n)}))},e.prototype.toJS=function(){return this.getImmutable().toJS()},e.prototype.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},e.prototype.getCurrentContent=function(){return this.getImmutable().get("currentContent")},e.prototype.getUndoStack=function(){return this.getImmutable().get("undoStack")},e.prototype.getRedoStack=function(){return this.getImmutable().get("redoStack")},e.prototype.getSelection=function(){return this.getImmutable().get("selection")},e.prototype.getDecorator=function(){return this.getImmutable().get("decorator")},e.prototype.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},e.prototype.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},e.prototype.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},e.prototype.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},e.prototype.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},e.setInlineStyleOverride=function(t,n){return e.set(t,{inlineStyleOverride:n})},e.prototype.getCurrentInlineStyle=function(){var e=this.getInlineStyleOverride();if(null!=e)return e;var t=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);if(r>0)return o.getInlineStyleAt(r-1);if(o.getLength())return o.getInlineStyleAt(0);return g(e,n)}(t,n):function(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);if(r<o.getLength())return o.getInlineStyleAt(r);if(r>0)return o.getInlineStyleAt(r-1);return g(e,n)}(t,n)},e.prototype.getBlockTree=function(e){return this.getImmutable().getIn(["treeMap",e])},e.prototype.isSelectionAtStartOfContent=function(){var e=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(e,0,0)},e.prototype.isSelectionAtEndOfContent=function(){var e=this.getCurrentContent().getBlockMap().last(),t=e.getLength();return this.getSelection().hasEdgeWithin(e.getKey(),t,t)},e.prototype.getDirectionMap=function(){return this.getImmutable().get("directionMap")},e.acceptSelection=function(e,t){return h(e,t,!1)},e.forceSelection=function(e,t){return t.getHasFocus()||(t=t.set("hasFocus",!0)),h(e,t,!0)},e.moveSelectionToEnd=function(t){var n=t.getCurrentContent().getLastBlock(),r=n.getKey(),o=n.getLength();return e.acceptSelection(t,new u({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1}))},e.moveFocusToEnd=function(t){var n=e.moveSelectionToEnd(t);return e.forceSelection(n,n.getSelection())},e.push=function(t,n,r){if(t.getCurrentContent()===n)return t;var o="insert-characters"!==r,i=a.getDirectionMap(n,t.getDirectionMap());if(!t.getAllowUndo())return e.set(t,{currentContent:n,directionMap:i,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:null});var s=t.getSelection(),u=t.getCurrentContent(),c=t.getUndoStack(),l=n;s!==u.getSelectionAfter()||function(e,t){var n=e.getLastChangeType();return t!==n||"insert-characters"!==t&&"backspace-character"!==t&&"delete-character"!==t}(t,r)?(c=c.push(u),l=l.set("selectionBefore",s)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(l=l.set("selectionBefore",u.getSelectionBefore()));var p=t.getInlineStyleOverride();-1===["adjust-depth","change-block-type","split-block"].indexOf(r)&&(p=null);var d={currentContent:l,directionMap:i,undoStack:c,redoStack:f(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:p};return e.set(t,d)},e.undo=function(t){if(!t.getAllowUndo())return t;var n=t.getUndoStack(),r=n.peek();if(!r)return t;var o=t.getCurrentContent(),i=a.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:i,undoStack:n.shift(),redoStack:t.getRedoStack().push(o),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:o.getSelectionBefore()})},e.redo=function(t){if(!t.getAllowUndo())return t;var n=t.getRedoStack(),r=n.peek();if(!r)return t;var o=t.getCurrentContent(),i=a.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:i,undoStack:t.getUndoStack().push(o),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},e.prototype.getImmutable=function(){return this._immutable},e}();function h(e,t,n){return d.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function y(e,t){return e.getBlockMap().map(function(n){return o.generate(e,n,t)}).toOrderedMap()}function g(e,t){var n=e.getBlockMap().reverse().skipUntil(function(e,n){return n===t}).skip(1).skipUntil(function(e,t){return e.getLength()}).first();return n?n.getInlineStyleAt(n.getLength()-1):c()}e.exports=d},function(e,t){e.exports=window.yoast.styledComponents},function(e,t){e.exports=window.yoast.componentsNew},function(e,t,n){"use strict";t.a=function(e){return null!=e&&"object"==typeof e}},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=window.wp.i18n},function(e,t,n){e.exports=n(391)()},function(e,t,n){"use strict";var r=n(164),o="object"==typeof self&&self&&self.Object===Object&&self,i=r.a||o||Function("return this")();t.a=i},function(e,t){e.exports=window.yoast.styleGuide},function(e,t,n){var r=n(100),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){"use strict";var r=n(15),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r.a?r.a.toStringTag:void 0;var u=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o},c=Object.prototype.toString;var l=function(e){return c.call(e)},f="[object Null]",p="[object Undefined]",d=r.a?r.a.toStringTag:void 0;t.a=function(e){return null==e?void 0===e?p:f:d&&d in Object(e)?u(e):l(e)}},function(e,t){e.exports=window.wp.element},function(e,t,n){"use strict";var r=n(10).a.Symbol;t.a=r},function(e,t,n){"use strict";var r=n(19),o=n(433),i=n(40),a=n(1),s=n(434),u=n(436),c=n(85),l=n(439),f=n(440),p=n(2),d=n(441),h=n(258),y=n(442),g=n(443),v=a.OrderedSet,m={replaceText:function(e,t,n,o,i){var a=h(e,t),s=y(a,t),u=r.create({style:o||v(),entity:i||null});return f(s,s.getSelectionAfter(),n,u)},insertText:function(e,t,n,r,o){return t.isCollapsed()||p(!1),m.replaceText(e,t,n,r,o)},moveText:function(e,t,n){var r=c(e,t),o=m.removeRange(e,t,"backward");return m.replaceWithFragment(o,n,r)},replaceWithFragment:function(e,t,n){var r=h(e,t),o=y(r,t);return l(o,o.getSelectionAfter(),n)},removeRange:function(e,t,n){var r,o,a=void 0,s=void 0;t.getIsBackward()&&(t=t.merge({anchorKey:t.getFocusKey(),anchorOffset:t.getFocusOffset(),focusKey:t.getAnchorKey(),focusOffset:t.getAnchorOffset(),isBackward:!1})),r=t.getAnchorKey(),o=t.getFocusKey(),a=e.getBlockForKey(r),s=e.getBlockForKey(o);var c=t.getStartOffset(),l=t.getEndOffset(),f=a.getEntityAt(c),p=s.getEntityAt(l-1);if(r===o&&f&&f===p){var d=u(e.getEntityMap(),a,s,t,n);return y(e,d)}var g=t;i.draft_segmented_entities_behavior&&(g=u(e.getEntityMap(),a,s,t,n));var v=h(e,g);return y(v,g)},splitBlock:function(e,t){var n=h(e,t),r=y(n,t);return g(r,r.getSelectionAfter())},applyInlineStyle:function(e,t,n){return o.add(e,t,n)},removeInlineStyle:function(e,t,n){return o.remove(e,t,n)},setBlockType:function(e,t,n){return d(e,t,function(e){return e.merge({type:n,depth:0})})},setBlockData:function(e,t,n){return d(e,t,function(e){return e.merge({data:n})})},mergeBlockData:function(e,t,n){return d(e,t,function(e){return e.merge({data:e.getData().merge(n)})})},applyEntity:function(e,t,n){var r=h(e,t);return s(r,t,n)}};e.exports=m},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";var r=n(431),o=n(65),i=n(19),a=n(447),s=n(46),u=n(133),c=n(136),l=n(264),f=n(448),p=n(266),d=n(86),h=n(16),y=n(262),g=n(3),v=n(143),m=n(280),b=n(59),_=n(511),w={Editor:f,EditorBlock:p,EditorState:g,CompositeDecorator:a,Entity:d,EntityInstance:y,BlockMapBuilder:o,CharacterMetadata:i,ContentBlock:s,ContentState:u,SelectionState:b,AtomicBlockUtils:r,KeyBindingUtil:v,Modifier:h,RichUtils:m,DefaultDraftBlockRenderMap:c,DefaultDraftInlineStyle:l,convertFromHTML:n(278),convertFromRaw:n(514),convertToRaw:_,genKey:n(33),getDefaultKeyBinding:n(281),getVisibleSelectionRect:n(519)};e.exports=w},function(e,t,n){"use strict";var r=n(1),o=r.Map,i=r.OrderedSet,a=r.Record,s=i(),u={style:s,entity:null},c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getStyle=function(){return this.get("style")},t.prototype.getEntity=function(){return this.get("entity")},t.prototype.hasStyle=function(e){return this.getStyle().includes(e)},t.applyStyle=function(e,n){var r=e.set("style",e.getStyle().add(n));return t.create(r)},t.removeStyle=function(e,n){var r=e.set("style",e.getStyle().remove(n));return t.create(r)},t.applyEntity=function(e,n){var r=e.getEntity()===n?e:e.set("entity",n);return t.create(r)},t.create=function(e){if(!e)return l;var n=o({style:s,entity:null}).merge(e),r=f.get(n);if(r)return r;var i=new t(n);return f=f.set(n,i),i},t}(a(u)),l=new c,f=o([[o(u),l]]);c.EMPTY=l,e.exports=c},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict"; /* object-assign (c) Sindre Sorhus @license MIT */var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,a,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]))o.call(n,c)&&(s[c]=n[c]);if(r){a=r(n);for(var l=0;l<a.length;l++)i.call(n,a[l])&&(s[a[l]]=n[a[l]])}}return s}},function(e,t,n){"use strict";var r=n(19),o=n(1),i=n(66),a=o.List,s=o.Map,u=o.OrderedSet,c=o.Record,l=o.Repeat,f=u(),p={parent:null,characterList:a(),data:s(),depth:0,key:"",text:"",type:"unstyled",children:a(),prevSibling:null,nextSibling:null},d=function(e,t){return e.getStyle()===t.getStyle()},h=function(e,t){return e.getEntity()===t.getEntity()},y=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=a(l(r.EMPTY,n.length))),e},g=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,y(n)))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getKey=function(){return this.get("key")},t.prototype.getType=function(){return this.get("type")},t.prototype.getText=function(){return this.get("text")},t.prototype.getCharacterList=function(){return this.get("characterList")},t.prototype.getLength=function(){return this.getText().length},t.prototype.getDepth=function(){return this.get("depth")},t.prototype.getData=function(){return this.get("data")},t.prototype.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():f},t.prototype.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},t.prototype.getChildKeys=function(){return this.get("children")},t.prototype.getParentKey=function(){return this.get("parent")},t.prototype.getPrevSiblingKey=function(){return this.get("prevSibling")},t.prototype.getNextSiblingKey=function(){return this.get("nextSibling")},t.prototype.findStyleRanges=function(e,t){i(this.getCharacterList(),d,e,t)},t.prototype.findEntityRanges=function(e,t){i(this.getCharacterList(),h,e,t)},t}(c(p));e.exports=g},function(e,t){e.exports=window.yoast.helpers},function(e,t,n){e.exports=n(384)()},function(e,t,n){var r=n(245),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){"use strict";e.exports=function(e){if(null!=e)return e;throw new Error("Got unexpected null or undefined")}},function(e,t,n){var r=n(191),o=n(196);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";var r=n(454),o=n(457),i=n(458),a=n(459);function s(e,t,n,r){if(e===n)return!0;if(!n.startsWith(e))return!1;var i=n.slice(e.length);return!!t&&(i=r?r(i):i,o.contains(i,t))}function u(e){return"Windows"===r.platformName?e.replace(/^\s*NT/,""):e}var c={isBrowser:function(e){return s(r.browserName,r.browserFullVersion,e)},isBrowserArchitecture:function(e){return s(r.browserArchitecture,null,e)},isDevice:function(e){return s(r.deviceName,null,e)},isEngine:function(e){return s(r.engineName,r.engineVersion,e)},isPlatform:function(e){return s(r.platformName,r.platformFullVersion,e,u)},isPlatformArchitecture:function(e){return s(r.platformArchitecture,null,e)}};e.exports=i(c,a)},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";var r={},o=Math.pow(2,24);e.exports=function(){for(var e=void 0;void 0===e||r.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*o).toString(32);return r[e]=!0,e}},function(e,t,n){"use strict";var r=n(13),o=n(72),i=n(6),a="[object Object]",s=Function.prototype,u=Object.prototype,c=s.toString,l=u.hasOwnProperty,f=c.call(Object);t.a=function(e){if(!Object(i.a)(e)||Object(r.a)(e)!=a)return!1;var t=Object(o.a)(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==f}},function(e,t,n){e.exports=n(381)()},function(e,t,n){var r=n(45),o=n(192),i=n(193),a="[object Null]",s="[object Undefined]",u=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:a:u&&u in Object(e)?o(e):i(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},,function(e,t,n){var r=n(58),o=n(394),i=n(395),a="[object Null]",s="[object Undefined]",u=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:a:u&&u in Object(e)?o(e):i(e)}},function(e,t,n){"use strict";var r=n(432);e.exports=r},,function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=ReactDOM},function(e,t){e.exports=window.lodash},function(e,t,n){var r=n(12).Symbol;e.exports=r},function(e,t,n){"use strict";var r=n(19),o=n(1),i=n(66),a=o.List,s=o.Map,u=o.OrderedSet,c=o.Record,l=o.Repeat,f=u(),p=function(e){if(!e)return e;var t=e.characterList,n=e.text;return n&&!t&&(e.characterList=a(l(r.EMPTY,n.length))),e},d=function(e){function t(n){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,p(n)))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getKey=function(){return this.get("key")},t.prototype.getType=function(){return this.get("type")},t.prototype.getText=function(){return this.get("text")},t.prototype.getCharacterList=function(){return this.get("characterList")},t.prototype.getLength=function(){return this.getText().length},t.prototype.getDepth=function(){return this.get("depth")},t.prototype.getData=function(){return this.get("data")},t.prototype.getInlineStyleAt=function(e){var t=this.getCharacterList().get(e);return t?t.getStyle():f},t.prototype.getEntityAt=function(e){var t=this.getCharacterList().get(e);return t?t.getEntity():null},t.prototype.findStyleRanges=function(e,t){i(this.getCharacterList(),h,e,t)},t.prototype.findEntityRanges=function(e,t){i(this.getCharacterList(),y,e,t)},t}(c({key:"",type:"unstyled",text:"",characterList:a(),depth:0,data:s()}));function h(e,t){return e.getStyle()===t.getStyle()}function y(e,t){return e.getEntity()===t.getEntity()}e.exports=d},function(e,t,n){"use strict";var r=n(2),o=55296,i=56319,a=56320,s=57343,u=/[\uD800-\uDFFF]/;function c(e){return o<=e&&e<=s}function l(e){return u.test(e)}function f(e,t){return 1+c(e.charCodeAt(t))}function p(e,t,n){if(t=t||0,n=void 0===n?1/0:n||0,!l(e))return e.substr(t,n);var r=e.length;if(r<=0||t>r||n<=0)return"";var o=0;if(t>0){for(;t>0&&o<r;t--)o+=f(e,o);if(o>=r)return""}else if(t<0){for(o=r;t<0&&0<o;t++)o-=f(e,o-1);o<0&&(o=0)}var i=r;if(n<r)for(i=o;n>0&&i<r;n--)i+=f(e,i);return e.substring(o,i)}var d={getCodePoints:function(e){for(var t=[],n=0;n<e.length;n+=f(e,n))t.push(e.codePointAt(n));return t},getUTF16Length:f,hasSurrogateUnit:l,isCodeUnitInSurrogateRange:c,isSurrogatePair:function(e,t){if(0<=t&&t<e.length||r(!1),t+1===e.length)return!1;var n=e.charCodeAt(t),u=e.charCodeAt(t+1);return o<=n&&n<=i&&a<=u&&u<=s},strlen:function(e){if(!l(e))return e.length;for(var t=0,n=0;n<e.length;n+=f(e,n))t++;return t},substring:function(e,t,n){t=t||0,n=void 0===n?1/0:n||0,t<0&&(t=0),n<0&&(n=0);var r=Math.abs(n-t);return p(e,t=t<n?t:n,r)},substr:p};e.exports=d},function(e,t,n){var r=n(557),o=n(560);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(176),o=n(146);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){var r=n(292),o=n(288),i=n(49);e.exports=function(e){return i(e)?r(e):o(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.recommendedReplacementVariablesShape=t.replacementVariablesShape=t.lengthProgressShape=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(9));t.lengthProgressShape=r.default.shape({max:r.default.number,actual:r.default.number,score:r.default.number}),t.replacementVariablesShape=r.default.arrayOf(r.default.shape({name:r.default.string.isRequired,value:r.default.string.isRequired,label:r.default.string,description:r.default.string})),t.recommendedReplacementVariablesShape=r.default.arrayOf(r.default.string)},function(e,t,n){e.exports=n(871)()},function(e,t,n){var r=n(181),o=n(182),i=n(183),a=n(184),s=n(185);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},function(e,t,n){var r=n(74);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(27)(Object,"create");e.exports=r},function(e,t,n){var r=n(205);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(116),o=n(223),i=n(63);e.exports=function(e){return i(e)?r(e):o(e)}},function(e,t,n){var r=n(25).Symbol;e.exports=r},function(e,t,n){"use strict";var r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},t.prototype.getAnchorKey=function(){return this.get("anchorKey")},t.prototype.getAnchorOffset=function(){return this.get("anchorOffset")},t.prototype.getFocusKey=function(){return this.get("focusKey")},t.prototype.getFocusOffset=function(){return this.get("focusOffset")},t.prototype.getIsBackward=function(){return this.get("isBackward")},t.prototype.getHasFocus=function(){return this.get("hasFocus")},t.prototype.hasEdgeWithin=function(e,t,n){var r=this.getAnchorKey(),o=this.getFocusKey();if(r===o&&r===e){var i=this.getStartOffset();return t<=this.getEndOffset()&&i<=n}if(e!==r&&e!==o)return!1;var a=e===r?this.getAnchorOffset():this.getFocusOffset();return t<=a&&n>=a},t.prototype.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},t.prototype.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},t.prototype.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},t.prototype.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},t.prototype.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},t.createEmpty=function(e){return new t({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},t}((0,n(1).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));e.exports=r},function(e,t,n){"use strict";function r(e){return e.replace(/\//g,"-")}e.exports=function(e){return"object"==typeof e?Object.keys(e).filter(function(t){return e[t]}).map(r).join(" "):Array.prototype.map.call(arguments,r).join(" ")}},function(e,t,n){var r=n(160),o=n(306);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,u=t.length;++s<u;){var c=t[s],l=i?i(n[c],e[c],c,n,e):void 0;void 0===l&&(l=e[c]),a?o(n,c,l):r(n,c,l)}return n}},function(e,t,n){var r=n(27)(n(12),"Map");e.exports=r},function(e,t,n){var r=n(99),o=n(76);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){var r=n(36),o=n(37),i="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&r(e)==i}},function(e,t,n){"use strict";var r=n(1).OrderedMap,o={createFromArray:function(e){return r(e.map(function(e){return[e.getKey(),e]}))}};e.exports=o},function(e,t,n){"use strict";e.exports=function(e,t,n,r){if(e.size){var o=0;e.reduce(function(e,i,a){return t(e,i)||(n(e)&&r(o,a),o=a),i}),n(e.last())&&r(o,e.count())}}},function(e,t,n){"use strict";e.exports=function(e){return"handled"===e||!0===e}},function(e,t,n){"use strict";var r=n(16);e.exports=function(e,t,n){var o=e.getSelection(),i=e.getCurrentContent(),a=o;if(o.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return i}else if(e.isSelectionAtStartOfContent())return i;if((a=t(e))===o)return i}return r.removeRange(i,a,n)}},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(556),o=n(145),i=n(561),a=n(562),s=n(563),u=n(39),c=n(290),l=c(r),f=c(o),p=c(i),d=c(a),h=c(s),y=u;(r&&"[object DataView]"!=y(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=y(new o)||i&&"[object Promise]"!=y(i.resolve())||a&&"[object Set]"!=y(new a)||s&&"[object WeakMap]"!=y(new s))&&(y=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case l:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=y},function(e,t,n){var r=n(81),o=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}},function(e,t,n){"use strict";var r=n(165),o=Object(r.a)(Object.getPrototypeOf,Object);t.a=o},function(e,t,n){"use strict";var r=n(318),o="object"==typeof self&&self&&self.Object===Object&&self,i=(r.a||o||Function("return this")()).Symbol,a=Object.prototype,s=a.hasOwnProperty,u=a.toString,c=i?i.toStringTag:void 0;var l=function(e){var t=s.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var o=u.call(e);return r&&(t?e[c]=n:delete e[c]),o},f=Object.prototype.toString;var p=function(e){return f.call(e)},d="[object Null]",h="[object Undefined]",y=i?i.toStringTag:void 0;var g=function(e){return null==e?void 0===e?h:d:y&&y in Object(e)?l(e):p(e)};var v=function(e,t){return function(n){return e(t(n))}}(Object.getPrototypeOf,Object);var m=function(e){return null!=e&&"object"==typeof e},b="[object Object]",_=Function.prototype,w=Object.prototype,S=_.toString,E=w.hasOwnProperty,x=S.call(Object);t.a=function(e){if(!m(e)||g(e)!=b)return!1;var t=v(e);if(null===t)return!0;var n=E.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&S.call(n)==x}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(197),o=n(204),i=n(206),a=n(207),s=n(208);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},function(e,t){var n=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}},function(e,t,n){var r=n(64),o=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}},function(e,t,n){(function(e){var r=n(12),o=n(219),i="object"==typeof t&&t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,u=(s?s.isBuffer:void 0)||o;e.exports=u}).call(this,n(28)(e))},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SiteSEOReport=t.renderRatingToColor=t.AnalysisList=t.AnalysisResult=t.ContentAnalysis=void 0;var r=n(241),o=u(r),i=u(n(386)),a=u(n(242)),s=u(n(387));function u(e){return e&&e.__esModule?e:{default:e}}t.ContentAnalysis=i.default,t.AnalysisResult=a.default,t.AnalysisList=o.default,t.renderRatingToColor=r.renderRatingToColor,t.SiteSEOReport=s.default},function(e,t,n){var r=n(39),o=n(30),i="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&r(e)==i}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(245),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n(28)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TriggerReplacementVariableSuggestionsButton=t.SimulatedLabel=t.StyledEditor=t.FormSection=t.DescriptionInputContainer=t.TitleInputContainer=t.withCaretStyles=t.InputContainer=t.angleLeft=t.angleRight=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(4)),o=n(5),i=n(11),a=n(23);var s=t.angleRight=function(e){return"data:image/svg+xml;charset=utf8,"+encodeURIComponent('<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path fill="'+e+'" d="M1152 896q0 26-19 45l-448 448q-19 19-45 19t-45-19-19-45v-896q0-26 19-45t45-19 45 19l448 448q19 19 19 45z" /></svg>')},u=t.angleLeft=function(e){return"data:image/svg+xml;charset=utf8,"+encodeURIComponent('<svg width="1792" height="1792" viewBox="0 0 192 512" xmlns="http://www.w3.org/2000/svg"><path fill="'+e+'" d="M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z"/></svg>')};function c(e){switch(!0){case e.isActive:return i.colors.$color_snippet_focus;case e.isHovered:return i.colors.$color_snippet_hover;default:return"transparent"}}var l=t.InputContainer=r.default.div.attrs({}).withConfig({displayName:"shared__InputContainer",componentId:"sc-1qsmlb9-0"})(["flex:0 1 100%;border:1px solid ",";padding:3px 5px;box-sizing:border-box;box-shadow:",";background-color:#fff;color:#32373c;outline:0;transition:50ms border-color ease-in-out;position:relative;font-family:Arial,Roboto-Regular,HelveticaNeue,sans-serif;font-size:14px;cursor:text;"],function(e){return e.isActive?"#5b9dd9":"#ddd"},function(e){return e.isActive?"0 0 2px rgba(30,140,190,.8);":"inset 0 1px 2px rgba(0,0,0,.07)"});function f(e){return(0,a.getDirectionalStyle)(s(c(e)),u(c(e)))(e)}t.withCaretStyles=function(e){return(0,r.default)(e).withConfig({displayName:"shared",componentId:"sc-1qsmlb9-1"})(["&::before{display:block;position:absolute;top:-1px;",":-25px;width:24px;height:24px;background-image:url( ",' );background-size:25px;content:"";}'],(0,a.getDirectionalStyle)("left","right"),f)},t.TitleInputContainer=(0,r.default)(l).withConfig({displayName:"shared__TitleInputContainer",componentId:"sc-1qsmlb9-2"})([".public-DraftStyleDefault-block{line-height:24px;}"]),t.DescriptionInputContainer=(0,r.default)(l).withConfig({displayName:"shared__DescriptionInputContainer",componentId:"sc-1qsmlb9-3"})(["min-height:72px;padding:2px 6px;line-height:24px;.public-DraftEditorPlaceholder-root{color:",";}.public-DraftEditorPlaceholder-hasFocus{color:",";}"],i.colors.$color_grey_text,i.colors.$color_grey_text),t.FormSection=r.default.div.withConfig({displayName:"shared__FormSection",componentId:"sc-1qsmlb9-4"})(["display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;margin:24px 0 0 0;"]),t.StyledEditor=r.default.section.withConfig({displayName:"shared__StyledEditor",componentId:"sc-1qsmlb9-5"})(["padding:",";"],function(e){return e.padding?e.padding:"0 20px"}),t.SimulatedLabel=r.default.div.withConfig({displayName:"shared__SimulatedLabel",componentId:"sc-1qsmlb9-6"})(["flex:1 1 200px;min-width:200px;cursor:pointer;font-size:16px;font-family:Arial,Roboto-Regular,HelveticaNeue,sans-serif;margin:4px 0;"]),t.TriggerReplacementVariableSuggestionsButton=(0,r.default)(o.Button).withConfig({displayName:"shared__TriggerReplacementVariableSuggestionsButton",componentId:"sc-1qsmlb9-7"})(["box-shadow:none;font-family:Arial,Roboto-Regular,HelveticaNeue,sans-serif;padding-left:8px;height:33px;border:1px solid #dbdbdb;font-size:13px;& svg{",":7px;fill:",";}"],(0,a.getDirectionalStyle)("margin-right","margin-left"),i.colors.$color_grey_dark)},function(e,t,n){"use strict";var r=n(257),o=n(258);e.exports=function(e,t){var n=t.getStartKey(),i=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),u=o(e,t).getBlockMap(),c=u.keySeq(),l=c.indexOf(n),f=c.indexOf(a)+1;return r(u.slice(l,f).map(function(e,t){var r=e.getText(),o=e.getCharacterList();return n===a?e.merge({text:r.slice(i,s),characterList:o.slice(i,s)}):t===n?e.merge({text:r.slice(i),characterList:o.slice(i)}):t===a?e.merge({text:r.slice(0,s),characterList:o.slice(0,s)}):e}))}},function(e,t,n){"use strict";var r=n(21)||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(262),i=n(1),a=n(2),s=(0,i.Map)(),u=0;function c(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var l={getLastCreatedEntityKey:function(){return c("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),l.__getLastCreatedEntityKey()},create:function(e,t,n){return c("DraftEntity.create","contentState.createEntity"),l.__create(e,t,n)},add:function(e){return c("DraftEntity.add","contentState.addEntity"),l.__add(e)},get:function(e){return c("DraftEntity.get","contentState.getEntity"),l.__get(e)},mergeData:function(e,t){return c("DraftEntity.mergeData","contentState.mergeEntityData"),l.__mergeData(e,t)},replaceData:function(e,t){return c("DraftEntity.replaceData","contentState.replaceEntityData"),l.__replaceData(e,t)},__getLastCreatedEntityKey:function(){return""+u},__create:function(e,t,n){return l.__add(new o({type:e,mutability:t,data:n||{}}))},__add:function(e){var t=""+ ++u;return s=s.set(t,e),t},__get:function(e){var t=s.get(e);return t||a(!1),t},__mergeData:function(e,t){var n=l.__get(e),o=r({},n.getData(),t),i=n.set("data",o);return s=s.set(e,i),i},__replaceData:function(e,t){var n=l.__get(e).set("data",t);return s=s.set(e,n),n}};e.exports=l},function(e,t,n){"use strict";var r={encode:function(e,t,n){return e+"-"+t+"-"+n},decode:function(e){var t=e.split("-"),n=t[0],r=t[1],o=t[2];return{blockKey:n,decoratorKey:parseInt(r,10),leafKey:parseInt(o,10)}}};e.exports=r},function(e,t,n){var r=n(564),o=n(30),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},function(e,t,n){(function(e){var r=n(25),o=n(565),i="object"==typeof t&&t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,u=(s?s.isBuffer:void 0)||o;e.exports=u}).call(this,n(28)(e))},function(e,t,n){var r=n(577),o=n(578),i=n(579),a=n(580),s=n(581);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},function(e,t,n){var r=n(92);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(48)(Object,"create");e.exports=r},function(e,t,n){var r=n(595);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(17),o=n(155),i=n(611),a=n(126);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(180),o=n(37);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,s))}},function(e,t,n){var r=n(53),o=n(186),i=n(187),a=n(188),s=n(189),u=n(190);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=u,e.exports=c},function(e,t,n){var r=n(36),o=n(32),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",u="[object Proxy]";e.exports=function(e){if(!o(e))return!1;var t=r(e);return t==a||t==s||t==i||t==u}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(7))},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var r=n(209),o=n(212),i=n(213),a=1,s=2;e.exports=function(e,t,n,u,c,l){var f=n&a,p=e.length,d=t.length;if(p!=d&&!(f&&d>p))return!1;var h=l.get(e);if(h&&l.get(t))return h==t;var y=-1,g=!0,v=n&s?new r:void 0;for(l.set(e,t),l.set(t,e);++y<p;){var m=e[y],b=t[y];if(u)var _=f?u(b,m,y,t,e,l):u(m,b,y,e,t,l);if(void 0!==_){if(_)continue;g=!1;break}if(v){if(!o(t,function(e,t){if(!i(v,t)&&(m===e||c(m,e,n,u,l)))return v.push(t)})){g=!1;break}}else if(m!==b&&!c(m,b,n,u,l)){g=!1;break}}return l.delete(e),l.delete(t),g}},function(e,t,n){var r=n(216),o=n(115),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),function(t){return i.call(e,t)}))}:o;e.exports=s},function(e,t){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){return!!(t=null==t?n:t)&&("number"==typeof e||r.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(220),o=n(221),i=n(222),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},,,function(e,t){e.exports=function(){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSeoResultsForKeyword=function(e,t){return{type:i,keyword:e,results:t}},t.setSeoResults=function(e){return{type:o,resultsPerKeyword:e}},t.updateSeoResult=function(e,t){return{type:a,keyword:e,result:t}},t.removeKeyword=function(e){return{type:s,keyword:e}},t.setReadabilityResults=function(e){return{type:u,results:e}},t.updateReadabilityResult=function(e){return{type:c,result:e}},t.setOverallReadabilityScore=function(e){return{type:l,overallScore:e}},t.setOverallSeoScore=function(e,t){return{type:f,keyword:t,overallScore:e}};var r="CONTENT_ANALYSIS_",o=t.SET_SEO_RESULTS=r+"SET_SEO_RESULTS",i=t.SET_SEO_RESULTS_FOR_KEYWORD=r+"SET_SEO_RESULTS_FOR_KEYWORD",a=t.UPDATE_SEO_RESULT=r+"UPDATE_SEO_RESULT",s=t.REMOVE_KEYWORD=r+"REMOVE_KEYWORD",u=t.SET_READABILITY_RESULTS=r+"SET_READABILITY_RESULTS",c=t.UPDATE_READABILITY_RESULT=r+"UPDATE_READABILITY_RESULT",l=t.SET_OVERALL_READABILITY_SCORE=r+"SET_OVERALL_READABILITY_SCORE",f=t.SET_OVERALL_SEO_SCORE=r+"SET_OVERALL_SEO_SCORE"},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.isFeatureEnabled=function(e){return!!self.wpseoFeatureFlags&&self.wpseoFeatureFlags.includes(e)},t.enableFeatures=function(e){self.wpseoFeatureFlags||(self.wpseoFeatureFlags=[]),e.forEach(function(e){self.wpseoFeatureFlags.includes(e)||self.wpseoFeatureFlags.push(e)})},t.enabledFeatures=function(){return self.wpseoFeatureFlags||[]}},function(e,t,n){var r=n(114),o=n(20);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(217),o=n(117),i=n(20),a=n(78),s=n(104),u=n(105),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&o(e),f=!n&&!l&&a(e),p=!n&&!l&&!f&&u(e),d=n||l||f||p,h=d?r(e.length,String):[],y=h.length;for(var g in e)!t&&!c.call(e,g)||d&&("length"==g||f&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,y))||h.push(g);return h}},function(e,t,n){var r=n(218),o=n(37),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},function(e,t){e.exports=function(e){return void 0===e}},function(e,t,n){var r=n(20),o=n(122),i=n(345),a=n(229);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},function(e,t,n){var r=n(20),o=n(64),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},,,function(e,t,n){var r=n(126),o=0;e.exports=function(e){var t=++o;return r(e)+t}},function(e,t,n){var r=n(247);e.exports=function(e){return null==e?"":r(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},function(e,t,n){var r=n(421);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.MODE_MOBILE="mobile",o=t.MODE_DESKTOP="desktop",i=t.MODES=[o,r],a=t.DEFAULT_MODE=r;t.default={MODE_MOBILE:r,MODE_DESKTOP:o,MODES:i,DEFAULT_MODE:a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=p(n(0)),i=p(n(9)),a=p(n(125)),s=n(8),u=n(5),c=p(n(428)),l=n(84),f=n(51);function p(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));switch(n.uniqueId=(0,a.default)(),e.type){case"description":n.InputContainer=l.DescriptionInputContainer;break;case"title":n.InputContainer=l.TitleInputContainer;break;default:n.InputContainer=l.TitleInputContainer}return e.withCaret&&(n.InputContainer=(0,l.withCaretStyles)(n.InputContainer)),n.triggerReplacementVariableSuggestions=n.triggerReplacementVariableSuggestions.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.Component),r(t,[{key:"triggerReplacementVariableSuggestions",value:function(){this.ref.triggerReplacementVariableSuggestions()}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,r=t.onChange,i=t.content,a=t.onFocus,f=t.onBlur,p=t.isActive,d=t.isHovered,h=t.replacementVariables,y=t.recommendedReplacementVariables,g=t.editorRef,v=t.placeholder,m=t.fieldId,b=this.InputContainer,_=o.default.createElement(l.TriggerReplacementVariableSuggestionsButton,{onClick:function(){return e.triggerReplacementVariableSuggestions()}},o.default.createElement(u.SvgIcon,{icon:"plus-circle"}),(0,s.__)("Insert snippet variable","yoast-components"));return o.default.createElement(o.default.Fragment,null,o.default.createElement(l.SimulatedLabel,{id:this.uniqueId,onClick:a},n),_,o.default.createElement(b,{onClick:a,isActive:p,isHovered:d},o.default.createElement(c.default,{fieldId:m,placeholder:v,content:i,onChange:r,onFocus:a,onBlur:f,replacementVariables:h,recommendedReplacementVariables:y,ref:function(t){e.ref=t,g(t)},ariaLabelledBy:this.uniqueId})))}}]),t}();d.propTypes={editorRef:i.default.func,content:i.default.string.isRequired,onChange:i.default.func.isRequired,onBlur:i.default.func,replacementVariables:f.replacementVariablesShape,recommendedReplacementVariables:f.recommendedReplacementVariablesShape,isActive:i.default.bool,isHovered:i.default.bool,withCaret:i.default.bool,onFocus:i.default.func,label:i.default.string,placeholder:i.default.string,type:i.default.oneOf(["title","description"]),fieldId:i.default.string},d.defaultProps={replacementVariables:[]},t.default=d},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";var r=n(65),o=n(19),i=n(46),a=n(22),s=n(86),u=n(40),c=n(1),l=n(59),f=n(33),p=n(134),d=c.List,h=c.Record,y=c.Repeat,g=u.draft_tree_data_support?a:i,v=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getEntityMap=function(){return s},t.prototype.getBlockMap=function(){return this.get("blockMap")},t.prototype.getSelectionBefore=function(){return this.get("selectionBefore")},t.prototype.getSelectionAfter=function(){return this.get("selectionAfter")},t.prototype.getBlockForKey=function(e){return this.getBlockMap().get(e)},t.prototype.getKeyBefore=function(e){return this.getBlockMap().reverse().keySeq().skipUntil(function(t){return t===e}).skip(1).first()},t.prototype.getKeyAfter=function(e){return this.getBlockMap().keySeq().skipUntil(function(t){return t===e}).skip(1).first()},t.prototype.getBlockAfter=function(e){return this.getBlockMap().skipUntil(function(t,n){return n===e}).skip(1).first()},t.prototype.getBlockBefore=function(e){return this.getBlockMap().reverse().skipUntil(function(t,n){return n===e}).skip(1).first()},t.prototype.getBlocksAsArray=function(){return this.getBlockMap().toArray()},t.prototype.getFirstBlock=function(){return this.getBlockMap().first()},t.prototype.getLastBlock=function(){return this.getBlockMap().last()},t.prototype.getPlainText=function(e){return this.getBlockMap().map(function(e){return e?e.getText():""}).join(e||"\n")},t.prototype.getLastCreatedEntityKey=function(){return s.__getLastCreatedEntityKey()},t.prototype.hasText=function(){var e=this.getBlockMap();return e.size>1||e.first().getLength()>0},t.prototype.createEntity=function(e,t,n){return s.__create(e,t,n),this},t.prototype.mergeEntityData=function(e,t){return s.__mergeData(e,t),this},t.prototype.replaceEntityData=function(e,t){return s.__replaceData(e,t),this},t.prototype.addEntity=function(e){return s.__add(e),this},t.prototype.getEntity=function(e){return s.__get(e)},t.createFromBlockArray=function(e,n){var o=Array.isArray(e)?e:e.contentBlocks,i=r.createFromArray(o),a=i.isEmpty()?new l:l.createEmpty(i.first().getKey());return new t({blockMap:i,entityMap:n||s,selectionBefore:a,selectionAfter:a})},t.createFromText=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,r=e.split(n).map(function(e){return e=p(e),new g({key:f(),text:e,type:"unstyled",characterList:d(y(o.EMPTY,e.length))})});return t.createFromBlockArray(r)},t}(h({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}));e.exports=v},function(e,t,n){"use strict";var r=new RegExp("\r","g");e.exports=function(e){return e.replace(r,"")}},function(e,t,n){"use strict";var r=n(2),o="LTR",i="RTL",a=null;function s(e){return e===o||e===i}function u(e){return s(e)||r(!1),e===o?"ltr":"rtl"}function c(e){a=e}var l={NEUTRAL:"NEUTRAL",LTR:o,RTL:i,isStrong:s,getHTMLDir:u,getHTMLDirIfDifferent:function(e,t){return s(e)||r(!1),s(t)||r(!1),e===t?null:u(e)},setGlobalDir:c,initGlobalDir:function(){c(o)},getGlobalDir:function(){return a||this.initGlobalDir(),a||r(!1),a}};e.exports=l},function(e,t,n){"use strict";var r=n(1).Map,o=n(0),i=n(60),a=r({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},"unordered-list-item":{element:"li",wrapper:o.createElement("ul",{className:i("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:o.createElement("ol",{className:i("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:o.createElement("pre",{className:i("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}});e.exports=a},function(e,t,n){"use strict";e.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},function(e,t,n){"use strict";function r(e,t){return t&&"MUTABLE"===e.__get(t).getMutability()?t:null}e.exports=function(e,t){var n;if(t.isCollapsed()){var o=t.getAnchorKey(),i=t.getAnchorOffset();return i>0?(n=e.getBlockForKey(o).getEntityAt(i-1))!==e.getBlockForKey(o).getEntityAt(i)?null:r(e.getEntityMap(),n):null}var a=t.getStartKey(),s=t.getStartOffset(),u=e.getBlockForKey(a);return n=s===u.getLength()?null:u.getEntityAt(s),r(e.getEntityMap(),n)}},function(e,t,n){"use strict";var r=n(462);e.exports=function e(t,n){return!(!t||!n)&&(t===n||!r(t)&&(r(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}},function(e,t,n){"use strict";function r(e,t){var n=o.get(e,t);return"auto"===n||"scroll"===n}var o={get:n(464),getScrollParent:function(e){if(!e)return null;for(var t=e.ownerDocument;e&&e!==t.body;){if(r(e,"overflow")||r(e,"overflowY")||r(e,"overflowX"))return e;e=e.parentNode}return t.defaultView||t.parentWindow}};e.exports=o},function(e,t,n){"use strict";var r=n(469),o=n(470);e.exports=function(e){var t=r(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=o(e),i=e===t?e.ownerDocument.documentElement:e,a=e.scrollWidth-i.clientWidth,s=e.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,s)),n}},function(e,t,n){"use strict";var r=n(270);e.exports=function(e){for(var t=e;t&&t!==document.documentElement;){var n=r(t);if(null!=n)return n;t=t.parentNode}return null}},function(e,t,n){"use strict";var r=n(31).isPlatform("Mac OS X"),o={isCtrlKeyCommand:function(e){return!!e.ctrlKey&&!e.altKey},isOptionKeyCommand:function(e){return r&&e.altKey},hasCommandModifier:function(e){return r?!!e.metaKey&&!e.altKey:o.isCtrlKeyCommand(e)}};e.exports=o},function(e,t,n){"use strict";e.exports=function(e,t){var n=e.getSelection(),r=e.getCurrentContent(),o=n.getStartKey(),i=n.getStartOffset(),a=o,s=0;if(t>i){var u=r.getKeyBefore(o);null==u?a=o:(a=u,s=r.getBlockForKey(u).getText().length)}else s=i-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})}},function(e,t,n){var r=n(48)(n(25),"Map");e.exports=r},function(e,t){var n=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}},function(e,t,n){var r=n(566),o=n(82),i=n(83),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var o=typeof e;return!!(t=null==t?n:t)&&("number"==o||"symbol"!=o&&r.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(90),o=n(582),i=n(583),a=n(584),s=n(585),u=n(586);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=u,e.exports=c},function(e,t,n){var r=n(587),o=n(594),i=n(596),a=n(597),s=n(598);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},function(e,t,n){var r=n(291),o=n(299),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),function(t){return i.call(e,t)}))}:o;e.exports=s},function(e,t,n){var r=n(154);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},function(e,t,n){var r=n(95),o=n(71);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},function(e,t,n){var r=n(17),o=n(81),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},function(e,t){e.exports=function(e){return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(159)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(306),o=n(92),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(289)(Object.getPrototypeOf,Object);e.exports=r},function(e,t,n){var r=n(296);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},function(e,t,n){"use strict";n.r(t);var r=n(73),o=n(166),i=n.n(o),a={INIT:"@@redux/INIT"};function s(e,t,n){var o;if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(s)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var u=e,c=t,l=[],f=l,p=!1;function d(){f===l&&(f=l.slice())}function h(){return c}function y(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return d(),f.push(e),function(){if(t){t=!1,d();var n=f.indexOf(e);f.splice(n,1)}}}function g(e){if(!Object(r.a)(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(p)throw new Error("Reducers may not dispatch actions.");try{p=!0,c=u(c,e)}finally{p=!1}for(var t=l=f,n=0;n<t.length;n++){(0,t[n])()}return e}return g({type:a.INIT}),(o={dispatch:g,subscribe:y,getState:h,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");u=e,g({type:a.INIT})}})[i.a]=function(){var e,t=y;return(e={subscribe:function(e){if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[i.a]=function(){return this},e},o}function u(e,t){var n=t&&t.type;return"Given action "+(n&&'"'+n.toString()+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function c(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}var i=Object.keys(n);var s=void 0;try{!function(e){Object.keys(e).forEach(function(t){var n=e[t];if(void 0===n(void 0,{type:a.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+a.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}(n)}catch(e){s=e}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(s)throw s;for(var r=!1,o={},a=0;a<i.length;a++){var c=i[a],l=n[c],f=e[c],p=l(f,t);if(void 0===p){var d=u(c,t);throw new Error(d)}o[c]=p,r=r||p!==f}return r?o:e}}function l(e,t){return function(){return t(e.apply(void 0,arguments))}}function f(e,t){if("function"==typeof e)return l(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(e),r={},o=0;o<n.length;o++){var i=n[o],a=e[i];"function"==typeof a&&(r[i]=l(a,t))}return r}function p(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}var d=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};function h(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,r,o){var i,a=e(n,r,o),s=a.dispatch,u={getState:a.getState,dispatch:function(e){return s(e)}};return i=t.map(function(e){return e(u)}),s=p.apply(void 0,i)(a.dispatch),d({},a,{dispatch:s})}}}n.d(t,"createStore",function(){return s}),n.d(t,"combineReducers",function(){return c}),n.d(t,"bindActionCreators",function(){return f}),n.d(t,"applyMiddleware",function(){return h}),n.d(t,"compose",function(){return p})},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(7))},function(e,t,n){"use strict";t.a=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){e.exports=n(697)},function(e,t,n){var r=n(12).Uint8Array;e.exports=r},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},function(e,t,n){var r=n(113),o=n(103),i=n(57);e.exports=function(e){return r(e,i,o)}},function(e,t,n){var r=n(225),o=n(62),i=n(226),a=n(227),s=n(228),u=n(36),c=n(101),l=c(r),f=c(o),p=c(i),d=c(a),h=c(s),y=u;(r&&"[object DataView]"!=y(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=y(new o)||i&&"[object Promise]"!=y(i.resolve())||a&&"[object Set]"!=y(new a)||s&&"[object WeakMap]"!=y(new s))&&(y=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case l:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=y},function(e,t,n){var r=n(121),o=n(77);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StyledSectionBase=t.StyledHeading=t.StyledSection=t.YoastWarning=t.YoastSeoIcon=t.YoastModal=t.YoastButton=t.UpsellLinkButton=t.UpsellButton=t.SynonymsInput=t.SvgIcon=t.ScoreAssessments=t.Loader=t.LanguageNotice=t.KeywordSuggestions=t.Icon=t.HelpText=t.CardDetails=t.CardBanner=t.FullHeightCard=t.Card=t.setOverallSeoScore=t.setOverallReadabilityScore=t.setSeoResultsForKeyword=t.setReadabilityResults=t.setProminentWords=t.insightsReducer=t.KeywordInput=t.VideoTutorial=t.SeoAssessment=t.WordpressFeed=t.analysis=t.translate=t.setTranslations=t.localize=t.utils=t.replacementVariablesShape=t.recommendedReplacementVariablesShape=t.lengthProgressShape=t.SnippetEditor=t.SettingsSnippetEditor=t.ReplacementVariableEditor=t.SnippetPreview=t.HelpTextWrapper=t.FixedWidthContainer=t.colors=t.AlgoliaSearcher=t.getRtlStyle=t.decodeHTML=t.sendRequest=t.CornerstoneToggle=t.LoadingIndicator=t.ButtonSection=t.Collapsible=t.ContentAnalysis=t.LinkSuggestions=t.MessageBox=t.HelpCenter=t.OnboardingWizard=void 0;var r=n(383);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var o=n(388);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var i=n(390);Object.defineProperty(t,"FixedWidthContainer",{enumerable:!0,get:function(){return i.FixedWidthContainer}}),Object.defineProperty(t,"HelpTextWrapper",{enumerable:!0,get:function(){return i.HelpTextWrapper}}),Object.defineProperty(t,"SnippetPreview",{enumerable:!0,get:function(){return i.SnippetPreview}}),Object.defineProperty(t,"ReplacementVariableEditor",{enumerable:!0,get:function(){return i.ReplacementVariableEditor}}),Object.defineProperty(t,"SettingsSnippetEditor",{enumerable:!0,get:function(){return i.SettingsSnippetEditor}}),Object.defineProperty(t,"SnippetEditor",{enumerable:!0,get:function(){return i.SnippetEditor}}),Object.defineProperty(t,"lengthProgressShape",{enumerable:!0,get:function(){return i.lengthProgressShape}}),Object.defineProperty(t,"recommendedReplacementVariablesShape",{enumerable:!0,get:function(){return i.recommendedReplacementVariablesShape}}),Object.defineProperty(t,"replacementVariablesShape",{enumerable:!0,get:function(){return i.replacementVariablesShape}});var a=n(650);Object.defineProperty(t,"utils",{enumerable:!0,get:function(){return k(a).default}});var s=n(652);Object.defineProperty(t,"localize",{enumerable:!0,get:function(){return s.localize}}),Object.defineProperty(t,"setTranslations",{enumerable:!0,get:function(){return s.setTranslations}}),Object.defineProperty(t,"translate",{enumerable:!0,get:function(){return s.translate}});var u=n(662);Object.defineProperty(t,"analysis",{enumerable:!0,get:function(){return k(u).default}});var c=n(5);Object.defineProperty(t,"WordpressFeed",{enumerable:!0,get:function(){return c.ArticleList}});var l=n(80);Object.defineProperty(t,"SeoAssessment",{enumerable:!0,get:function(){return l.SiteSEOReport}});var f=n(699);Object.defineProperty(t,"VideoTutorial",{enumerable:!0,get:function(){return k(f).default}});var p=n(700);Object.defineProperty(t,"KeywordInput",{enumerable:!0,get:function(){return k(p).default}});var d=n(701);Object.defineProperty(t,"insightsReducer",{enumerable:!0,get:function(){return d.insightsReducer}});var h=n(314);Object.defineProperty(t,"setProminentWords",{enumerable:!0,get:function(){return h.setProminentWords}});var y=n(110);Object.defineProperty(t,"setReadabilityResults",{enumerable:!0,get:function(){return y.setReadabilityResults}}),Object.defineProperty(t,"setSeoResultsForKeyword",{enumerable:!0,get:function(){return y.setSeoResultsForKeyword}}),Object.defineProperty(t,"setOverallReadabilityScore",{enumerable:!0,get:function(){return y.setOverallReadabilityScore}}),Object.defineProperty(t,"setOverallSeoScore",{enumerable:!0,get:function(){return y.setOverallSeoScore}}),Object.defineProperty(t,"Card",{enumerable:!0,get:function(){return c.Card}}),Object.defineProperty(t,"FullHeightCard",{enumerable:!0,get:function(){return c.FullHeightCard}}),Object.defineProperty(t,"CardBanner",{enumerable:!0,get:function(){return c.CardBanner}}),Object.defineProperty(t,"CardDetails",{enumerable:!0,get:function(){return c.CourseDetails}}),Object.defineProperty(t,"HelpText",{enumerable:!0,get:function(){return c.HelpText}}),Object.defineProperty(t,"Icon",{enumerable:!0,get:function(){return c.Icon}}),Object.defineProperty(t,"KeywordSuggestions",{enumerable:!0,get:function(){return c.KeywordSuggestions}}),Object.defineProperty(t,"LanguageNotice",{enumerable:!0,get:function(){return c.LanguageNotice}}),Object.defineProperty(t,"Loader",{enumerable:!0,get:function(){return c.Loader}}),Object.defineProperty(t,"ScoreAssessments",{enumerable:!0,get:function(){return c.ScoreAssessments}}),Object.defineProperty(t,"SvgIcon",{enumerable:!0,get:function(){return c.SvgIcon}}),Object.defineProperty(t,"SynonymsInput",{enumerable:!0,get:function(){return c.SynonymsInput}}),Object.defineProperty(t,"UpsellButton",{enumerable:!0,get:function(){return c.UpsellButton}}),Object.defineProperty(t,"UpsellLinkButton",{enumerable:!0,get:function(){return c.UpsellLinkButton}}),Object.defineProperty(t,"YoastButton",{enumerable:!0,get:function(){return c.YoastButton}}),Object.defineProperty(t,"YoastModal",{enumerable:!0,get:function(){return c.Modal}}),Object.defineProperty(t,"YoastSeoIcon",{enumerable:!0,get:function(){return c.YoastSeoIcon}}),Object.defineProperty(t,"YoastWarning",{enumerable:!0,get:function(){return c.Warning}}),Object.defineProperty(t,"StyledSection",{enumerable:!0,get:function(){return c.StyledSection}}),Object.defineProperty(t,"StyledHeading",{enumerable:!0,get:function(){return c.StyledHeading}}),Object.defineProperty(t,"StyledSectionBase",{enumerable:!0,get:function(){return c.StyledSectionBase}});var g=n(703),v=k(g),m=n(23),b=n(11),_=k(n(704)),w=k(n(705)),S=k(n(706)),E=k(n(707)),x=k(n(708)),O=k(n(709));function k(e){return e&&e.__esModule?e:{default:e}}var C=m.getDirectionalStyle;t.OnboardingWizard=v.default,t.HelpCenter=E.default,t.MessageBox=g.MessageBox,t.LinkSuggestions=O.default,t.ContentAnalysis=S.default,t.Collapsible=c.Collapsible,t.ButtonSection=w.default,t.LoadingIndicator=g.LoadingIndicator,t.CornerstoneToggle=x.default,t.sendRequest=m.sendRequest,t.decodeHTML=m.decodeHTML,t.getRtlStyle=C,t.AlgoliaSearcher=_.default,t.colors=b.colors},function(e,t,n){var r=n(39),o=n(29),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",u="[object Proxy]";e.exports=function(e){if(!o(e))return!1;var t=r(e);return t==a||t==s||t==i||t==u}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._cache={}}return r(e,[{key:"getID",value:function(e){return this._cache.hasOwnProperty(e)?this._cache[e]:0}},{key:"setID",value:function(e,t){this._cache[e]=t}}]),e}();t.default=o},function(e,t){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function o(e){return"object"==typeof e&&null!==e}function i(e){return void 0===e}e.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!function(e){return"number"==typeof e}(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,n,a,s,u,c;if(this._events||(this._events={}),"error"===e&&(!this._events.error||o(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var l=new Error('Uncaught, unspecified "error" event. ('+t+")");throw l.context=t,l}if(i(n=this._events[e]))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),n.apply(this,s)}else if(o(n))for(s=Array.prototype.slice.call(arguments,1),a=(c=n.slice()).length,u=0;u<a;u++)c[u].apply(this,s);return!0},n.prototype.addListener=function(e,t){var a;if(!r(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(t.listener)?t.listener:t),this._events[e]?o(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,o(this._events[e])&&!this._events[e].warned&&(a=i(this._maxListeners)?n.defaultMaxListeners:this._maxListeners)&&a>0&&this._events[e].length>a&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){if(!r(t))throw TypeError("listener must be a function");var n=!1;function o(){this.removeListener(e,o),n||(n=!0,t.apply(this,arguments))}return o.listener=t,this.on(e,o),this},n.prototype.removeListener=function(e,t){var n,i,a,s;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(a=(n=this._events[e]).length,i=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(n)){for(s=a;s-- >0;)if(n[s]===t||n[s].listener&&n[s].listener===t){i=s;break}if(i<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},function(e,t,n){var r=n(97);e.exports=function(e,t){return r(e,t)}},function(e,t,n){var r=n(98),o=n(102),i=n(214),a=n(215),s=n(171),u=n(20),c=n(78),l=n(105),f=1,p="[object Arguments]",d="[object Array]",h="[object Object]",y=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,v,m){var b=u(e),_=u(t),w=b?d:s(e),S=_?d:s(t),E=(w=w==p?h:w)==h,x=(S=S==p?h:S)==h,O=w==S;if(O&&c(e)){if(!c(t))return!1;b=!0,E=!1}if(O&&!E)return m||(m=new r),b||l(e)?o(e,t,n,g,v,m):i(e,t,w,n,g,v,m);if(!(n&f)){var k=E&&y.call(e,"__wrapped__"),C=x&&y.call(t,"__wrapped__");if(k||C){var P=k?e.value():e,T=C?t.value():t;return m||(m=new r),v(P,T,n,g,m)}}return!!O&&(m||(m=new r),a(e,t,n,g,v,m))}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(54),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},function(e,t,n){var r=n(54);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(54);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(54);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(53);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(53),o=n(62),i=n(75),a=200;e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!o||s.length<a-1)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(s)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(99),o=n(194),i=n(32),a=n(101),s=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?p:s).test(a(e))}},function(e,t,n){var r=n(45),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(195),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},function(e,t,n){var r=n(12)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(198),o=n(53),i=n(62);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(e,t,n){var r=n(199),o=n(200),i=n(201),a=n(202),s=n(203);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},function(e,t,n){var r=n(55);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(55),o="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return n===o?void 0:n}return i.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(55),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},function(e,t,n){var r=n(55),o="__lodash_hash_undefined__";e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?o:t,this}},function(e,t,n){var r=n(56);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(56);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(56);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(56);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t,n){var r=n(75),o=n(210),i=n(211);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},function(e,t){var n="__lodash_hash_undefined__";e.exports=function(e){return this.__data__.set(e,n),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(45),o=n(167),i=n(74),a=n(102),s=n(168),u=n(169),c=1,l=2,f="[object Boolean]",p="[object Date]",d="[object Error]",h="[object Map]",y="[object Number]",g="[object RegExp]",v="[object Set]",m="[object String]",b="[object Symbol]",_="[object ArrayBuffer]",w="[object DataView]",S=r?r.prototype:void 0,E=S?S.valueOf:void 0;e.exports=function(e,t,n,r,S,x,O){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case _:return!(e.byteLength!=t.byteLength||!x(new o(e),new o(t)));case f:case p:case y:return i(+e,+t);case d:return e.name==t.name&&e.message==t.message;case g:case m:return e==t+"";case h:var k=s;case v:var C=r&c;if(k||(k=u),e.size!=t.size&&!C)return!1;var P=O.get(e);if(P)return P==t;r|=l,O.set(e,t);var T=a(k(e),k(t),r,S,x,O);return O.delete(e),T;case b:if(E)return E.call(e)==E.call(t)}return!1}},function(e,t,n){var r=n(170),o=1,i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,s,u){var c=n&o,l=r(e),f=l.length;if(f!=r(t).length&&!c)return!1;for(var p=f;p--;){var d=l[p];if(!(c?d in t:i.call(t,d)))return!1}var h=u.get(e);if(h&&u.get(t))return h==t;var y=!0;u.set(e,t),u.set(t,e);for(var g=c;++p<f;){var v=e[d=l[p]],m=t[d];if(a)var b=c?a(m,v,d,t,e,u):a(v,m,d,e,t,u);if(!(void 0===b?v===m||s(v,m,n,a,u):b)){y=!1;break}g||(g="constructor"==d)}if(y&&!g){var _=e.constructor,w=t.constructor;_!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w)&&(y=!1)}return u.delete(e),u.delete(t),y}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){var r=n(36),o=n(37),i="[object Arguments]";e.exports=function(e){return o(e)&&r(e)==i}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(36),o=n(76),i=n(37),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(100),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n(28)(e))},function(e,t,n){var r=n(106),o=n(224),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t,n){var r=n(118)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(27)(n(12),"DataView");e.exports=r},function(e,t,n){var r=n(27)(n(12),"Promise");e.exports=r},function(e,t,n){var r=n(27)(n(12),"Set");e.exports=r},function(e,t,n){var r=n(27)(n(12),"WeakMap");e.exports=r},function(e,t,n){var r=n(230);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(45),o=n(119),i=n(20),a=n(64),s=1/0,u=r?r.prototype:void 0,c=u?u.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-s?"-0":n}},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){var r=n(32);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},function(e,t,n){var r=n(172);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},function(e,t){e.exports=function(e){return e}},function(e,t,n){var r=n(32),o=n(64),i=NaN,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return i;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=u.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):s.test(e)?i:+e}},,,,function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderRatingToColor=p,t.default=d;var r=n(8),o=l(n(0)),i=l(n(4)),a=l(n(24)),s=l(n(109)),u=n(11),c=l(n(242));function l(e){return e&&e.__esModule?e:{default:e}}var f=i.default.ul.withConfig({displayName:"AnalysisList__AnalysisListBase",componentId:"sc-1ozeatw-0"})(["margin:8px 0;padding:0;list-style:none;"]);function p(e){switch(e){case"good":return u.colors.$color_good;case"OK":return u.colors.$color_ok;case"bad":return u.colors.$color_bad;default:return u.colors.$color_score_icon}}function d(e){var t=e.results,n=e.marksButtonActivatedResult,i=e.marksButtonStatus,a=e.marksButtonClassName,s=e.onMarksButtonClick;return o.default.createElement(f,{role:"list"},t.map(function(e){var t=p(e.rating),u=e.markerId===n,l="";return l="disabled"===i?(0,r.__)("Marks are disabled in current view","yoast-components"):u?(0,r.__)("Remove highlight from the text","yoast-components"):(0,r.__)("Highlight this result in the text","yoast-components"),o.default.createElement(c.default,{key:e.id,text:e.text,bulletColor:t,hasMarksButton:e.hasMarks,ariaLabel:l,pressed:u,buttonId:e.id,onButtonClick:function(){return s(e.id,e.marker)},marksButtonClassName:a,marksButtonStatus:i})}))}d.propTypes={results:a.default.array.isRequired,marksButtonActivatedResult:a.default.string,marksButtonStatus:a.default.string,marksButtonClassName:a.default.string,onMarksButtonClick:a.default.func},d.defaultProps={marksButtonActivatedResult:"",marksButtonStatus:"enabled",marksButtonClassName:"",onMarksButtonClick:s.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnalysisResult=void 0;var r=s(n(0)),o=s(n(24)),i=s(n(4)),a=n(5);function s(e){return e&&e.__esModule?e:{default:e}}var u=i.default.li.withConfig({displayName:"AnalysisResult__AnalysisResultBase",componentId:"pf0ln6-0"})(["min-height:24px;padding:0;display:flex;align-items:flex-start;"]),c=(0,i.default)(a.SvgIcon).withConfig({displayName:"AnalysisResult__ScoreIcon",componentId:"pf0ln6-1"})(["margin:3px 11px 0 0;"]),l=i.default.p.withConfig({displayName:"AnalysisResult__AnalysisResultText",componentId:"pf0ln6-2"})(["margin:0 16px 0 0;flex:1 1 auto;"]),f=t.AnalysisResult=function(e){return r.default.createElement(u,e,r.default.createElement(c,{icon:"circle",color:e.bulletColor,size:"13px"}),r.default.createElement(l,{dangerouslySetInnerHTML:{__html:e.text}}),e.hasMarksButton&&!function(e){return"hidden"===e.marksButtonStatus}(e)&&r.default.createElement(a.IconButtonToggle,{marksButtonStatus:e.marksButtonStatus,className:e.marksButtonClassName,onClick:e.onButtonClick,id:e.buttonId,icon:"eye",pressed:e.pressed,ariaLabel:e.ariaLabel}))};f.propTypes={text:o.default.string.isRequired,bulletColor:o.default.string.isRequired,hasMarksButton:o.default.bool.isRequired,buttonId:o.default.string.isRequired,pressed:o.default.bool.isRequired,ariaLabel:o.default.string.isRequired,onButtonClick:o.default.func.isRequired,marksButtonStatus:o.default.string,marksButtonClassName:o.default.string},f.defaultProps={marksButtonStatus:"enabled",marksButtonClassName:""},t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0),i=l(o),a=l(n(4)),s=l(n(9)),u=l(n(244)),c=n(8);function l(e){return e&&e.__esModule?e:{default:e}}var f=a.default.div.withConfig({displayName:"FixedWidthContainer__FixedWidth",componentId:"sc-12v6gqu-0"})(["overflow:auto;width:","px;padding:0 ","px;max-width:100%;box-sizing:border-box;"],function(e){return e.widthValue},function(e){return e.paddingValue}),p=a.default.div.withConfig({displayName:"FixedWidthContainer__Inner",componentId:"sc-12v6gqu-1"})(["width:","px;"],function(e){return e.widthValue}),d=a.default.div.withConfig({displayName:"FixedWidthContainer__ScrollHintContainer",componentId:"sc-12v6gqu-2"})(["text-align:center;margin:1em 0 5px;"]),h=a.default.div.withConfig({displayName:"FixedWidthContainer__ScrollHint",componentId:"sc-12v6gqu-3"})(['display:inline-block;box-sizing:border-box;&:before{display:inline-block;margin-right:10px;font-size:20px;line-height:inherit;vertical-align:text-top;content:"\\21c4";box-sizing:border-box;}']),y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={showScrollHint:!1},n.setContainerRef=n.setContainerRef.bind(n),n.determineSize=(0,u.default)(n.determineSize.bind(n),100),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"setContainerRef",value:function(e){if(!e)return null;this._container=e,this.determineSize(),window.addEventListener("resize",this.determineSize)}},{key:"determineSize",value:function(){var e=this._container.offsetWidth;this.setState({showScrollHint:e<this.props.width})}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.determineSize)}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.padding,r=e.children,o=e.className,a=t-2*n;return i.default.createElement(i.default.Fragment,null,i.default.createElement(f,{className:o,widthValue:t,paddingValue:n,ref:this.setContainerRef},i.default.createElement(p,{widthValue:a},r)),this.state.showScrollHint&&i.default.createElement(d,null,i.default.createElement(h,null,(0,c.__)("Scroll to see the preview content.","yoast-components"))))}}]),t}();t.default=y,y.propTypes={width:s.default.number,padding:s.default.number,children:s.default.node,className:s.default.string}},function(e,t,n){var r=n(29),o=n(393),i=n(246),a="Expected a function",s=Math.max,u=Math.min;e.exports=function(e,t,n){var c,l,f,p,d,h,y=0,g=!1,v=!1,m=!0;if("function"!=typeof e)throw new TypeError(a);function b(t){var n=c,r=l;return c=l=void 0,y=t,p=e.apply(r,n)}function _(e){var n=e-h;return void 0===h||n>=t||n<0||v&&e-y>=f}function w(){var e=o();if(_(e))return S(e);d=setTimeout(w,function(e){var n=t-(e-h);return v?u(n,f-(e-y)):n}(e))}function S(e){return d=void 0,m&&c?b(e):(c=l=void 0,p)}function E(){var e=o(),n=_(e);if(c=arguments,l=this,h=e,n){if(void 0===d)return function(e){return y=e,d=setTimeout(w,t),g?b(e):p}(h);if(v)return d=setTimeout(w,t),b(h)}return void 0===d&&(d=setTimeout(w,t)),p}return t=i(t)||0,r(n)&&(g=!!n.leading,f=(v="maxWait"in n)?s(i(n.maxWait)||0,t):f,m="trailing"in n?!!n.trailing:m),E.cancel=function(){void 0!==d&&clearTimeout(d),y=0,c=h=l=d=void 0},E.flush=function(){return void 0===d?p:S(o())},E}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(7))},function(e,t,n){var r=n(29),o=n(81),i=NaN,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return i;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=u.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):s.test(e)?i:+e}},function(e,t,n){var r=n(58),o=n(127),i=n(17),a=n(81),s=1/0,u=r?r.prototype:void 0,c=u?u.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-s?"-0":n}},function(e,t,n){"use strict";t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(9)),o=s(n(0)),i=s(n(43)),a=n(249);n(250);function s(e){return e&&e.__esModule?e:{default:e}}var u="unmounted";t.UNMOUNTED=u;var c="exited";t.EXITED=c;var l="entering";t.ENTERING=l;var f="entered";t.ENTERED=f;t.EXITING="exiting";var p=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n.transitionGroup,a=i&&!i.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=c,r.appearStatus=l):o=f:o=t.unmountOnExit||t.mountOnEnter?u:c,r.state={status:o},r.nextCallback=null,r}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(t,e);var n=t.prototype;return n.getChildContext=function(){return{transitionGroup:null}},t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===u?{status:c}:null},n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==l&&n!==f&&(t=l):n!==l&&n!==f||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=i.default.findDOMNode(this);t===l?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===c&&this.setState({status:u})},n.performEnter=function(e,t){var n=this,r=this.props.enter,o=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,i=this.getTimeouts(),a=o?i.appear:i.enter;t||r?(this.props.onEnter(e,o),this.safeSetState({status:l},function(){n.props.onEntering(e,o),n.onTransitionEnd(e,a,function(){n.safeSetState({status:f},function(){n.props.onEntered(e,o)})})})):this.safeSetState({status:f},function(){n.props.onEntered(e)})},n.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();n?(this.props.onExit(e),this.safeSetState({status:"exiting"},function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,function(){t.safeSetState({status:c},function(){t.props.onExited(e)})})})):this.safeSetState({status:c},function(){t.props.onExited(e)})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var r=null==t&&!this.props.addEndListener;e&&!r?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===u)return null;var t=this.props,n=t.children,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"==typeof n)return n(e,r);var i=o.default.Children.only(n);return o.default.cloneElement(i,r)},t}(o.default.Component);function d(){}p.contextTypes={transitionGroup:r.object},p.childContextTypes={transitionGroup:function(){}},p.propTypes={},p.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:d,onEntering:d,onEntered:d,onExit:d,onExiting:d,onExited:d},p.UNMOUNTED=0,p.EXITED=1,p.ENTERING=2,p.ENTERED=3,p.EXITING=4;var h=(0,a.polyfill)(p);t.default=h},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,s=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var u=e.displayName||e.name,c="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+u+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var l=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;l.call(this,e,t,r)}}return e}n.r(t),n.d(t,"polyfill",function(){return a}),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0;!function(e){e&&e.__esModule}(n(9));t.timeoutsShape=null;t.classNamesShape=null},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=s(n(9)),o=s(n(0)),i=n(249),a=n(405);function s(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=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}).apply(this,arguments)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var l=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},f=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(c(c(r)));return r.state={handleExited:o,firstRender:!0},r}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(t,e);var n=t.prototype;return n.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},n.componentDidMount=function(){this.appeared=!0,this.mounted=!0},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?(0,a.getInitialChildMapping)(e,r):(0,a.getNextChildMapping)(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=(0,a.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=u({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["component","childFactory"]),i=l(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?i:o.default.createElement(t,r,i)},t}(o.default.Component);f.childContextTypes={transitionGroup:r.default.object.isRequired},f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};var p=(0,i.polyfill)(f);t.default=p,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),a=_(i),s=_(n(4)),u=_(n(253)),c=_(n(9)),l=_(n(411)),f=n(422),p=n(8),d=n(11),h=n(42),y=n(23),g=n(5),v=_(n(243)),m=n(130),b=n(84);function _(e){return e&&e.__esModule?e:{default:e}}var w=h.string.transliterate,S=h.string.createRegexFromArray,E=h.string.replaceDiacritics,x=(0,s.default)(v.default).withConfig({displayName:"SnippetPreview__DesktopContainer",componentId:"waz8ku-0"})(["background-color:white;font-family:arial,sans-serif;box-sizing:border-box;"]),O=s.default.div.withConfig({displayName:"SnippetPreview__MobileContainer",componentId:"waz8ku-1"})(["border-bottom:1px hidden #fff;border-radius:8px;box-shadow:0 1px 6px rgba(32,33,36,0.28);font-family:Arial,Roboto-Regular,HelveticaNeue,sans-serif;max-width:","px;box-sizing:border-box;font-size:14px;"],400),k=s.default.div.withConfig({displayName:"SnippetPreview__BaseTitle",componentId:"waz8ku-2"})(["cursor:pointer;position:relative;"]);function C(e,t,n){return(0,s.default)(e).withConfig({displayName:"SnippetPreview",componentId:"waz8ku-3"})(["&::before{display:block;position:absolute;top:-3px;",":",";width:24px;height:24px;background-image:url( ",' );background-size:25px;content:"";}'],(0,y.getDirectionalStyle)("left","right"),function(){return n===m.MODE_DESKTOP?"-22px":"-40px"},(0,y.getDirectionalStyle)((0,b.angleRight)(t),(0,b.angleLeft)(t)))}var P=s.default.div.withConfig({displayName:"SnippetPreview__Title",componentId:"waz8ku-4"})(["color:",";text-decoration:none;font-size:18px;line-height:1.2;font-weight:normal;margin:0;display:inline-block;overflow:hidden;max-width:","px;vertical-align:top;text-overflow:ellipsis;"],function(e){return e.screenMode===m.MODE_DESKTOP?"#1e0fbe":"#1967d2"},600),T=(0,s.default)(P).withConfig({displayName:"SnippetPreview__TitleBounded",componentId:"waz8ku-5"})(["max-width:","px;vertical-align:top;text-overflow:ellipsis;"],600),j=s.default.span.withConfig({displayName:"SnippetPreview__TitleUnboundedDesktop",componentId:"waz8ku-6"})(["white-space:nowrap;"]),R=s.default.span.withConfig({displayName:"SnippetPreview__TitleUnboundedMobile",componentId:"waz8ku-7"})(["display:inline-block;font-size:16px;line-height:20px;max-height:40px;vertical-align:top;overflow:hidden;text-overflow:ellipsis;"]),M=s.default.div.withConfig({displayName:"SnippetPreview__BaseUrl",componentId:"waz8ku-8"})(["display:inline-block;cursor:pointer;position:relative;max-width:90%;white-space:nowrap;font-size:14px;"]),A=(0,s.default)(M).withConfig({displayName:"SnippetPreview__BaseUrlOverflowContainer",componentId:"waz8ku-9"})(["overflow:hidden;text-overflow:ellipsis;max-width:100%;margin-bottom:",";padding-top:",";line-height:",";vertical-align:",";"],function(e){return e.screenMode===m.MODE_DESKTOP?"0":"12px"},function(e){return e.screenMode===m.MODE_DESKTOP?"0":"1px"},function(e){return e.screenMode===m.MODE_DESKTOP?"inherit":"20px"},function(e){return e.screenMode===m.MODE_DESKTOP?"baseline":"top"}),I=s.default.span.withConfig({displayName:"SnippetPreview__UrlContentContainer",componentId:"waz8ku-10"})(["font-size:",";color:",";"],function(e){return e.screenMode===m.MODE_DESKTOP?"14px":"12px"},function(e){return e.screenMode===m.MODE_DESKTOP?"#006621":"#3c4043"});A.displayName="SnippetPreview__BaseUrlOverflowContainer";var D=s.default.div.withConfig({displayName:"SnippetPreview__DesktopDescription",componentId:"waz8ku-11"})(["color:",";cursor:pointer;position:relative;max-width:","px;font-size:13px;"],function(e){return e.isDescriptionPlaceholder?"#777":"#545454"},600),L=s.default.div.withConfig({displayName:"SnippetPreview__MobileDescription",componentId:"waz8ku-12"})(["color:",";font-size:14px;line-height:20px;cursor:pointer;position:relative;max-width:",'px;&:after{display:table;content:"";clear:both;}'],"#3c4043",600),N=s.default.div.withConfig({displayName:"SnippetPreview__MobileDescriptionImageContainer",componentId:"waz8ku-13"})(["float:right;width:104px;height:104px;margin:4px 0 4px 16px;border-radius:8px;overflow:hidden;"]),B=s.default.img.withConfig({displayName:"SnippetPreview__MobileDescriptionImage",componentId:"waz8ku-14"})(["display:block;width:104px;height:104px;"]),K=s.default.div.withConfig({displayName:"SnippetPreview__MobilePartContainer",componentId:"waz8ku-15"})(["padding:12px 16px;&:first-child{margin-bottom:-16px;}"]),F=s.default.div.withConfig({displayName:"SnippetPreview__DesktopPartContainer",componentId:"waz8ku-16"})([""]),U=s.default.div.withConfig({displayName:"SnippetPreview__UrlDownArrow",componentId:"waz8ku-17"})(["display:inline-block;margin-top:6px;margin-left:6px;border-top:5px solid #006621;border-right:4px solid transparent;border-left:4px solid transparent;vertical-align:top;"]),z=s.default.span.withConfig({displayName:"SnippetPreview__DatePreview",componentId:"waz8ku-18"})(["color:",";"],"#70757f"),q=s.default.img.withConfig({displayName:"SnippetPreview__Favicon",componentId:"waz8ku-19"})(["width:16px;height:16px;margin-right:12px;vertical-align:middle;"]),W=s.default.div.withConfig({displayName:"SnippetPreview__Amp",componentId:"waz8ku-20"})(["background-size:100% 100%;display:inline-block;height:12px;width:12px;margin-bottom:-1px;opacity:0.46;margin-right:6px;background-image:url( "," )"],"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAQAAABLCVATAAABr0lEQVR4AbWWJYCUURhFD04Zi7hrLzgFd4nzV9x6wKHinmYb7g4zq71gIw2LWBnZ3Q8df/fh96Tn/t2HVIw4CVKk+fSFNCkSxInxW1pFkhLmoMRjVvFLmkEX5ocuZuBVPw5jv8hh+iEU5QEmuMK+prz7RN3dPMMEGQYzxpH/lGjzou5jgl7mAvOdZfcbF+jbm3MAbFZ7VX9SJnlL1D8UMyjLe+BrAYDb+jJUr59JrlNWRtcqX9GkrPCR4QBAf4qYJAkQoyQrbKKs8RiaEjEI0GvvQ1mLMC9xaBFFBaZS1TbMSwJSomg39erDF+TxpCCNOXjGQJTCvG6qn4ZPzkcxA61Tjhaf4KMj+6Q3XvW6Lopraa8IozRQxIi0a7NXorULc5JyHX/3F3q+0PsFYytVTaGgjz/AvCyiegE69IUsPxHNBMpa738i6tGWlzkAABjKe/+j9YeRHGVd9oWRnwe2ewDASp/L/UqoPQ5AmFeYZMavBP8dAJz0GWWDHQlzXApMdz4KYUfKICcxkKeOfGmQyrIPcgE9m+g/+kT812/Nr3+0kqzitxQjoKXh6xfor99nlEdFjyvH15gAAAAASUVORK5CYII=");function V(e,t,n,r){if(0===t.length)return n;var o=r||n,i=[];t.forEach(function(t){t=r?E(t):t,i.push(t);var n=w(t,e);n!==t&&i.push(n)});var s=S(i,!1,"",!1);return o=o.replace(s,function(e){return"{{strong}}"+e+"{{/strong}}"}),(0,u.default)({mixedString:o,components:{strong:a.default.createElement("strong",null)}})}var H=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={title:e.title,description:e.description,isDescriptionPlaceholder:!0},n.setTitleRef=n.setTitleRef.bind(n),n.setDescriptionRef=n.setDescriptionRef.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.PureComponent),o(t,[{key:"setTitleRef",value:function(e){this._titleElement=e}},{key:"setDescriptionRef",value:function(e){this._descriptionElement=e}},{key:"hasOverflowedContent",value:function(e){return Math.abs(e.clientHeight-e.scrollHeight)>=2}},{key:"fitTitle",value:function(){var e=this._titleElement;if(this.hasOverflowedContent(e)){var t=this.state.title,n=e.clientWidth/3;t.length>n&&(t=t.substring(0,n));var r=this.dropLastWord(t);this.setState({title:r})}}},{key:"dropLastWord",value:function(e){var t=e.split(" ");return t.pop(),t.join(" ")}},{key:"getTitle",value:function(){return this.props.title!==this.state.title?this.state.title+" ...":this.props.title}},{key:"getDescription",value:function(){return this.props.description?(0,l.default)(this.props.description,{length:156,separator:" ",omission:" ..."}):(0,p.__)("Please provide a meta description by editing the snippet below. If you don’t, Google will try to find a relevant part of your post to show in the search results.","yoast-components")}},{key:"renderDate",value:function(){var e=this.props.mode===m.MODE_DESKTOP?"-":"⋅";return""===this.props.date?null:a.default.createElement(z,null,this.props.date," ",e," ")}},{key:"addCaretStyles",value:function(e,t){var n=this.props,r=n.mode,o=n.hoveredField;return n.activeField===e?C(t,d.colors.$color_snippet_active,r):o===e?C(t,d.colors.$color_snippet_hover,r):t}},{key:"getBreadcrumbs",value:function(e){var t=this.props.breadcrumbs,n=encodeURI(e.replace(/\?|#/g,"")),r=(0,f.parse)(n),o=r.protocol,i=r.hostname,a=r.pathname,s="https:"===o?o+"//"+i:i,u=t||a.split("/"),c=[s].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(u)).filter(function(e){return!!e}).join(" › ");return decodeURI(c)}},{key:"renderUrl",value:function(){var e=this.props,t=e.url,n=e.onMouseUp,r=e.onMouseEnter,o=e.onMouseLeave,i=e.mode,s=e.faviconSrc,u=i===m.MODE_MOBILE,c=E(t);u?c=this.getBreadcrumbs(c):function(e){return e.lastIndexOf("/")===e.length-1}(c)||(c+="/");var l=this.addCaretStyles("url",M);return a.default.createElement(l,null,a.default.createElement(A,{onMouseUp:n.bind(null,"url"),onMouseEnter:r.bind(null,"url"),onMouseLeave:o.bind(null),screenMode:i},u&&a.default.createElement(q,{src:s||"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABs0lEQVR4AWL4//8/RRjO8Iucx+noO0MWUDo16FYABMGP6ZfUcRnWtm27jVPbtm3bttuH2t3eFPcY9pLz7NxiLjCyVd87pKnHyqXyxtCs8APd0rnyxiu4qSeA3QEDrAwBDrT1s1Rc/OrjLZwqVmOSu6+Lamcpp2KKMA9PH1BYXMe1mUP5qotvXTywsOEEYHXxrY+3cqk6TMkYpNr2FeoY3KIr0RPtn9wQ2unlA+GMkRw6+9TFw4YTwDUzx/JVvARj9KaedXRO8P5B1Du2S32smzqUrcKGEyA+uAgQjKX7zf0boWHGfn71jIKj2689gxp7OAGShNcBUmLMPVjZuiKcA2vuWHHDCQxMCz629kXAIU4ApY15QwggAFbfOP9DhgBJ+nWVJ1AZAfICAj1pAlY6hCADZnveQf7bQIwzVONGJonhLIlS9gr5mFg44Xd+4S3XHoGNPdJl1INIwKyEgHckEhgTe1bGiFY9GSFBYUwLh1IkiJUbY407E7syBSFxKTszEoiE/YdrgCEayDmtaJwCI9uu8TKMuZSVfSa4BpGgzvomBR/INhLGzrqDotp01ZR8pn/1L0JN9d9XNyx0AAAAAElFTkSuQmCC",alt:""}),a.default.createElement(I,{screenMode:i},c)))}},{key:"componentWillReceiveProps",value:function(e){var t={};this.props.title!==e.title&&(t.title=e.title),this.props.description!==e.description&&(t.description=e.description),this.setState(t)}},{key:"componentDidUpdate",value:function(){var e=this;this.setState({isDescriptionPlaceholder:!this.props.description}),this.props.mode===m.MODE_MOBILE&&(clearTimeout(this.fitTitleTimeout),this.fitTitleTimeout=setTimeout(function(){e.fitTitle()},10))}},{key:"componentDidMount",value:function(){this.setState({isDescriptionPlaceholder:!this.props.description})}},{key:"renderDescription",value:function(){var e=this.props,t=e.wordsToHighlight,n=e.locale,o=e.onMouseUp,i=e.onMouseLeave,s=e.onMouseEnter,u=e.mode,c=e.mobileImageSrc,l=this.renderDate(),f={isDescriptionPlaceholder:this.state.isDescriptionPlaceholder,onMouseUp:o.bind(null,"description"),onMouseEnter:s.bind(null,"description"),onMouseLeave:i.bind(null)};if(u===m.MODE_DESKTOP){var p=this.addCaretStyles("description",D);return a.default.createElement(p,r({},f,{ref:this.setDescriptionRef}),l,V(n,t,this.getDescription()))}if(u===m.MODE_MOBILE){var d=this.addCaretStyles("description",L);return a.default.createElement(d,f,a.default.createElement(L,{isDescriptionPlaceholder:this.state.isDescriptionPlaceholder,ref:this.setDescriptionRef},c&&a.default.createElement(N,null,a.default.createElement(B,{src:c,alt:""})),l,V(n,t,this.getDescription())))}return null}},{key:"render",value:function(){var e=this.props,t=e.onMouseUp,n=e.onMouseLeave,r=e.onMouseEnter,o=e.mode,i=e.isAmp,s=this.getPreparedComponents(o),u=s.PartContainer,c=s.Container,l=s.TitleUnbounded,f=s.SnippetTitle,d=o===m.MODE_DESKTOP,h=d?a.default.createElement(U,null):null,y=d||!i?null:a.default.createElement(W,null);return a.default.createElement("section",null,a.default.createElement(c,{onMouseLeave:this.onMouseLeave,width:d?640:null,padding:20},a.default.createElement(u,null,a.default.createElement(g.ScreenReaderText,null,(0,p.__)("SEO title preview","yoast-components")+":"),!d&&this.renderUrl(),a.default.createElement(f,{onMouseUp:t.bind(null,"title"),onMouseEnter:r.bind(null,"title"),onMouseLeave:n.bind(null)},a.default.createElement(T,{screenMode:o},a.default.createElement(l,{ref:this.setTitleRef},this.getTitle()))),a.default.createElement(g.ScreenReaderText,null,(0,p.__)("Url preview","yoast-components")+":"),y,d&&this.renderUrl(),h),a.default.createElement(u,null,a.default.createElement(g.ScreenReaderText,null,(0,p.__)("Meta description preview","yoast-components")+":"),this.renderDescription())))}},{key:"getPreparedComponents",value:function(e){return{PartContainer:e===m.MODE_DESKTOP?F:K,Container:e===m.MODE_DESKTOP?x:O,TitleUnbounded:e===m.MODE_DESKTOP?j:R,SnippetTitle:this.addCaretStyles("title",k)}}}]),t}();t.default=H,H.propTypes={title:c.default.string.isRequired,url:c.default.string.isRequired,description:c.default.string.isRequired,date:c.default.string,breadcrumbs:c.default.array,hoveredField:c.default.string,activeField:c.default.string,keyword:c.default.string,wordsToHighlight:c.default.array,locale:c.default.string,mode:c.default.oneOf(m.MODES),isAmp:c.default.bool,faviconSrc:c.default.string,mobileImageSrc:c.default.string,onMouseUp:c.default.func.isRequired,onHover:c.default.func,onMouseEnter:c.default.func,onMouseLeave:c.default.func},H.defaultProps={date:"",keyword:"",wordsToHighlight:[],breadcrumbs:null,locale:"en",hoveredField:"",activeField:"",mode:m.DEFAULT_MODE,isAmp:!1,faviconSrc:"",mobileImageSrc:"",onHover:function(){},onMouseEnter:function(){},onMouseLeave:function(){}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=s(n(0)),i=s(n(407)),a=s(n(410));function s(e){return e&&e.__esModule?e:{default:e}}var u=void 0;function c(e,t){var n,a,s,l,f,p,d,h,y=[],g={};for(p=0;p<e.length;p++)if("string"!==(f=e[p]).type){if(!t.hasOwnProperty(f.value)||void 0===t[f.value])throw new Error("Invalid interpolation, missing component node: `"+f.value+"`");if("object"!==r(t[f.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+f.value+"`","\n> "+u);if("componentClose"===f.type)throw new Error("Missing opening component token: `"+f.value+"`");if("componentOpen"===f.type){n=t[f.value],s=p;break}y.push(t[f.value])}else y.push(f.value);return n&&(l=function(e,t){var n,r,o=t[e],i=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){i++;continue}if("componentClose"===n.type){if(0===i)return r;i--}}throw new Error("Missing closing component token `"+o.value+"`")}(s,e),d=c(e.slice(s+1,l),t),a=o.default.cloneElement(n,{},d),y.push(a),l<e.length-1&&(h=c(e.slice(l+1),t),y=y.concat(h))),1===y.length?y[0]:(y.forEach(function(e,t){e&&(g["interpolation-child-"+t]=e)}),(0,i.default)(g))}t.default=function(e){var t=e.mixedString,n=e.components,o=e.throwErrors;if(u=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var i=(0,a.default)(t);try{return c(i,n)}catch(e){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t){e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){"use strict";var r=n(22),o=n(1),i=n(33),a=o.OrderedMap;e.exports=function(e){return e.first()instanceof r?function(e){var t={},n=void 0;return a(e.withMutations(function(e){e.forEach(function(r,o){var a=r.getKey(),s=r.getNextSiblingKey(),u=r.getPrevSiblingKey(),c=r.getChildKeys(),l=r.getParentKey(),f=i();if(t[a]=f,s&&(e.get(s)?e.setIn([s,"prevSibling"],f):e.setIn([a,"nextSibling"],null)),u&&(e.get(u)?e.setIn([u,"nextSibling"],f):e.setIn([a,"prevSibling"],null)),l&&e.get(l)){var p=e.get(l).getChildKeys();e.setIn([l,"children"],p.set(p.indexOf(r.getKey()),f))}else e.setIn([a,"parent"],null),n&&(e.setIn([n.getKey(),"nextSibling"],f),e.setIn([a,"prevSibling"],t[n.getKey()])),n=e.get(a);c.forEach(function(t){e.get(t)?e.setIn([t,"parent"],f):e.setIn([a,"children"],r.getChildKeys().filter(function(e){return e!==t}))})})}).toArray().map(function(e){return[t[e.getKey()],e.set("key",t[e.getKey()])]}))}(e):function(e){return a(e.toArray().map(function(e){var t=i();return[t,e.set("key",t)]}))}(e)}},function(e,t,n){"use strict";var r=n(19),o=n(66),i=n(2);function a(e,t,n){var a=t.getCharacterList(),s=n>0?a.get(n-1):void 0,u=n<a.count()?a.get(n):void 0,c=s?s.getEntity():void 0,l=u?u.getEntity():void 0;if(l&&l===c&&"MUTABLE"!==e.__get(l).getMutability()){for(var f,p=function(e,t,n){var r;return o(e,function(e,t){return e.getEntity()===t.getEntity()},function(e){return e.getEntity()===t},function(e,t){e<=n&&t>=n&&(r={start:e,end:t})}),"object"!=typeof r&&i(!1),r}(a,l,n),d=p.start,h=p.end;d<h;)f=a.get(d),a=a.set(d,r.applyEntity(f,null)),d++;return t.set("characterList",a)}return t}e.exports=function(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),o={},i=t.getStartKey(),s=t.getStartOffset(),u=n.get(i),c=a(r,u,s);c!==u&&(o[i]=c);var l=t.getEndKey(),f=t.getEndOffset(),p=n.get(l);i===l&&(p=c);var d=a(r,p,f);return d!==p&&(o[l]=d),Object.keys(o).length?e.merge({blockMap:n.merge(o),selectionAfter:t}):e.set("selectionAfter",t)}},function(e,t,n){"use strict";e.exports=function(e,t,n){if(n===e.count())t.forEach(function(t){e=e.push(t)});else if(0===n)t.reverse().forEach(function(t){e=e.unshift(t)});else{var r=e.slice(0,n),o=e.slice(n);e=r.concat(t,o).toList()}return e}},function(e,t,n){"use strict";var r=n(22);e.exports=function(e,t){if(!(e instanceof r))return null;var n=e.getNextSiblingKey();if(n)return n;var o=e.getParentKey();if(!o)return null;for(var i=t.get(o);i&&!i.getNextSiblingKey();){var a=i.getParentKey();i=a?t.get(a):null}return i?i.getNextSiblingKey():null}},function(e,t,n){"use strict";var r=n(1),o=n(132),i=n(66),a=r.List,s=r.Repeat,u=r.Record,c=o.thatReturnsTrue,l=u({start:null,end:null}),f=u({start:null,end:null,decoratorKey:null,leaves:null}),p={generate:function(e,t,n){var r=t.getLength();if(!r)return a.of(new f({start:0,end:0,decoratorKey:null,leaves:a.of(new l({start:0,end:0}))}));var o=[],u=n?n.getDecorations(t,e):a(s(null,r)),p=t.getCharacterList();return i(u,d,c,function(e,t){o.push(new f({start:e,end:t,decoratorKey:u.get(e),leaves:function(e,t){var n=[],r=e.map(function(e){return e.getStyle()}).toList();return i(r,d,c,function(e,r){n.push(new l({start:e+t,end:r+t}))}),a(n)}(p.slice(e,t).toList(),e)}))}),a(o)},getFingerprint:function(e){return e.map(function(e){var t=e.get("decoratorKey");return(null!==t?t+"."+(e.get("end")-e.get("start")):"")+"."+e.get("leaves").size}).join("-")}};function d(e,t){return e===t}e.exports=p},function(e,t,n){"use strict";var r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getType=function(){return this.get("type")},t.prototype.getMutability=function(){return this.get("mutability")},t.prototype.getData=function(){return this.get("data")},t}((0,n(1).Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object}));e.exports=r},function(e,t,n){"use strict";var r=n(135),o=n(2),i="־׀׃׆-א-ת-ׯװ-ײ׳-״-߀-߉ߊ-ߪߴ-ߵߺ-߿ࠀ-ࠕࠚࠤࠨ-࠰-࠾ࡀ-ࡘ-࡞-࢟יִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏ",a="؈؋؍؛؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍ܐܒ-ܯ-ݍ-ޥޱ-ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-ﯓ-ﴽ﵀-﵏ﵐ-ﶏ-ﶒ-ﷇ-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴﹶ-ﻼ-",s=new RegExp("["+"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+i+a+"]"),u=new RegExp("["+i+a+"]");function c(e){var t=s.exec(e);return null==t?null:t[0]}function l(e){var t=c(e);return null==t?r.NEUTRAL:u.exec(t)?r.RTL:r.LTR}function f(e,t){if(t=t||r.NEUTRAL,!e.length)return t;var n=l(e);return n===r.NEUTRAL?t:n}function p(e,t){return t||(t=r.getGlobalDir()),r.isStrong(t)||o(!1),f(e,t)}var d={firstStrongChar:c,firstStrongCharDir:l,resolveBlockDir:f,getDirection:p,isDirectionLTR:function(e,t){return p(e,t)===r.LTR},isDirectionRTL:function(e,t){return p(e,t)===r.RTL}};e.exports=d},function(e,t,n){"use strict";e.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},function(e,t,n){"use strict";e.exports=function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=e.getBlockTree(n),o=t.getStartOffset(),i=!1;return r.some(function(e){return o===e.get("start")?(i=!0,!0):o<e.get("end")&&e.get("leaves").some(function(e){var t=e.get("start");return o===t&&(i=!0,!0)})}),i}},function(e,t,n){"use strict";var r=n(21)||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};var o=n(452),i=n(87),a=n(0),s=n(43),u=n(268),c=n(140),l=n(263),f=n(135),p=n(60),d=n(467),h=n(141),y=n(471),g=n(2),v=n(26),m=function(e,t){return e.getAnchorKey()===t||e.getFocusKey()===t},b=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.block!==e.block||this.props.tree!==e.tree||this.props.direction!==e.direction||m(e.selection,e.block.getKey())&&e.forceSelection},t.prototype.componentDidMount=function(){var e=this.props.selection,t=e.getEndKey();if(e.getHasFocus()&&t===this.props.block.getKey()){var n=s.findDOMNode(this),r=c.getScrollParent(n),o=h(r),i=void 0;if(r===window){var a=d(n);(i=a.y+a.height-y().height)>0&&window.scrollTo(o.x,o.y+i+10)}else{n instanceof HTMLElement||g(!1),(i=n.offsetHeight+n.offsetTop-(r.offsetHeight+o.y))>0&&u.setTop(r,u.getTop(r)+i+10)}}},t.prototype._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),s=t.getText(),u=this.props.tree.size-1,c=m(this.props.selection,n);return this.props.tree.map(function(p,d){var h=p.get("leaves"),y=h.size-1,g=h.map(function(r,l){var f=i.encode(n,d,l),p=r.get("start"),h=r.get("end");return a.createElement(o,{key:f,offsetKey:f,block:t,start:p,selection:c?e.props.selection:null,forceSelection:e.props.forceSelection,text:s.slice(p,h),styleSet:t.getInlineStyleAt(p),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:d===u&&l===y})}).toArray(),m=p.get("decoratorKey");if(null==m)return g;if(!e.props.decorator)return g;var b=v(e.props.decorator),_=b.getComponentForKey(m);if(!_)return g;var w=b.getPropsForKey(m),S=i.encode(n,d,0),E=s.slice(h.first().get("start"),h.last().get("end")),x=f.getHTMLDirIfDifferent(l.getDirection(E),e.props.direction);return a.createElement(_,r({},w,{contentState:e.props.contentState,decoratedText:E,dir:x,key:S,entityKey:t.getEntityAt(p.get("start")),offsetKey:S}),g)}).toArray()},t.prototype.render=function(){var e=this.props,t=e.direction,n=e.offsetKey,r=p({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===t,"public/DraftStyleDefault/rtl":"RTL"===t});return a.createElement("div",{"data-offset-key":n,className:r},this._renderChildren())},t}(a.Component);e.exports=b},function(e,t,n){"use strict";e.exports=function(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}},function(e,t,n){"use strict";function r(e,t){return!!t&&(e===t.documentElement||e===t.body)}var o={getTop:function(e){var t=e.ownerDocument;return r(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;r(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return r(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;r(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}};e.exports=o},function(e,t,n){"use strict";var r=n(474),o=n(475),i=n(132),a=new RegExp("\r\n","g"),s={"text/rtf":1,"text/html":1};function u(e){if("file"==e.kind)return e.getAsFile()}var c=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.data=t,this.types=t.types?o(t.types):[]}return e.prototype.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some(function(e){return s[e]})},e.prototype.getText=function(){var e;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(e=this.data.getData("text/plain")):e=this.data.getData("Text")),e?e.replace(a,"\n"):null},e.prototype.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},e.prototype.isLink=function(){return this.types.some(function(e){return-1!=e.indexOf("Url")||-1!=e.indexOf("text/uri-list")||e.indexOf("text/x-moz-url")})},e.prototype.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},e.prototype.isImage=function(){var e=this.types.some(function(e){return-1!=e.indexOf("application/x-moz-file")});if(e)return!0;for(var t=this.getFiles(),n=0;n<t.length;n++){var o=t[n].type;if(!r.isImage(o))return!1}return!0},e.prototype.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},e.prototype.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(u).filter(i.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},e.prototype.hasFiles=function(){return this.getFiles().length>0},e}();e.exports=c},function(e,t,n){"use strict";e.exports=function e(t){if(t instanceof Element){var n=t.getAttribute("data-offset-key");if(n)return n;for(var r=0;r<t.childNodes.length;r++){var o=e(t.childNodes[r]);if(o)return o}}return null}},function(e,t,n){"use strict";(function(t){var r=n(2),o=/\.textClipping$/,i={"text/plain":!0,"text/html":!0,"text/rtf":!0},a=5e3;e.exports=function(e,n){var s=0,u=[];e.forEach(function(c){!function(e,n){if(t.FileReader&&(!e.type||e.type in i)){if(""===e.type){var a="";return o.test(e.name)&&(a=e.name.replace(o,"")),void n(a)}var s=new FileReader;s.onload=function(){var e=s.result;"string"!=typeof e&&r(!1),n(e)},s.onerror=function(){n("")},s.readAsText(e)}else n("")}(c,function(t){s++,t&&u.push(t.slice(0,a)),s==e.length&&n(u.join("\r"))})})}}).call(this,n(7))},function(e,t,n){"use strict";var r=n(87),o=n(26);e.exports=function(e,t,n,i,a){var s=o(e.getSelection()),u=r.decode(t),c=u.blockKey,l=e.getBlockTree(c).getIn([u.decoratorKey,"leaves",u.leafKey]),f=r.decode(i),p=f.blockKey,d=e.getBlockTree(p).getIn([f.decoratorKey,"leaves",f.leafKey]),h=l.get("start"),y=d.get("start"),g=l?h+n:null,v=d?y+a:null;if(s.getAnchorKey()===c&&s.getAnchorOffset()===g&&s.getFocusKey()===p&&s.getFocusOffset()===v)return s;var m=!1;if(c===p){var b=l.get("end"),_=d.get("end");m=y===h&&_===b?a<n:y<h}else m=e.getCurrentContent().getBlockMap().keySeq().skipUntil(function(e){return e===c||e===p}).first()===p;return s.merge({anchorKey:c,anchorOffset:g,focusKey:p,focusOffset:v,isBackward:m})}},function(e,t,n){"use strict";var r=n(85);e.exports=function(e){var t=e.getSelection();return t.isCollapsed()?null:r(e.getCurrentContent(),t)}},function(e,t,n){"use strict";var r=n(31),o=n(2);var i=r.isBrowser("Chrome")?function(e){for(var t=e.cloneRange(),n=[],r=e.endContainer;null!=r;r=r.parentNode){var i=r===e.commonAncestorContainer;i?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var a,s=Array.from(t.getClientRects());if(n.push(s),i)return n.reverse(),(a=[]).concat.apply(a,n);t.setEndBefore(r)}o(!1)}:function(e){return Array.from(e.getClientRects())};e.exports=i},function(e,t,n){"use strict";var r=n(142),o=n(270),i=n(272),a=n(2),s=n(26);function u(e,t,n){var i=t,u=r(i);if(null!=u||e&&(e===i||e.firstChild===i)||a(!1),e===i&&((i=i.firstChild)instanceof Element&&"true"===i.getAttribute("data-contents")||a(!1),n>0&&(n=i.childNodes.length)),0===n){var l=null;if(null!=u)l=u;else{var f=function(e){for(;e.firstChild&&(e.firstChild instanceof Element&&"true"===e.firstChild.getAttribute("data-blocks")||o(e.firstChild));)e=e.firstChild;return e}(i);l=s(o(f))}return{key:l,offset:0}}var p=i.childNodes[n-1],d=null,h=null;if(o(p)){var y=function(e){for(;e.lastChild&&(e.lastChild instanceof Element&&"true"===e.lastChild.getAttribute("data-blocks")||o(e.lastChild));)e=e.lastChild;return e}(p);d=s(o(y)),h=c(y)}else d=s(u),h=c(p);return{key:d,offset:h}}function c(e){var t=e.textContent;return"\n"===t?0:t.length}e.exports=function(e,t,n,o,a,c){var l=n.nodeType===Node.TEXT_NODE,f=a.nodeType===Node.TEXT_NODE;if(l&&f)return{selectionState:i(e,s(r(n)),o,s(r(a)),c),needsRecovery:!1};var p=null,d=null,h=!0;return l?(p={key:s(r(n)),offset:o},d=u(t,a,c)):f?(d={key:s(r(a)),offset:c},p=u(t,n,o)):(p=u(t,n,o),d=u(t,a,c),n===a&&o===c&&(h=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:i(e,p.key,p.offset,d.key,d.offset),needsRecovery:h}}},function(e,t,n){"use strict";var r="\\s|(?![_])"+n(494).getPunctuation(),o=new RegExp("^(?:"+r+")*(?:['‘’]|(?!"+r+").)*(?:(?!"+r+").)"),i=new RegExp("(?:(?!"+r+").)(?:['‘’]|(?!"+r+").)*(?:"+r+")*$");function a(e,t){var n=t?i.exec(e):o.exec(e);return n?n[0]:e}var s={getBackward:function(e){return a(e,!0)},getForward:function(e){return a(e,!1)}};e.exports=s},function(e,t,n){"use strict";e.exports=function(e,t){var n,r=e.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),a=e.getCurrentContent(),s=o;return t>a.getBlockForKey(o).getText().length-i?(s=a.getKeyAfter(o),n=0):n=i+t,r.merge({focusKey:s,focusOffset:n})}},function(e,t,n){"use strict";var r,o=i||function(e){for(var t=1;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},i=n(21);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}var s=n(19),u=n(46),c=n(22),l=n(136),f=n(86),p=n(40),d=n(1),h=n(1).Set,y=n(505),g=n(60),v=n(33),m=n(279),b=n(2),_=n(134),w=p.draft_tree_data_support,S=d.List,E=d.OrderedSet,x=new RegExp("\r","g"),O=new RegExp("\n","g"),k=new RegExp(" ","g"),C=new RegExp(" ?","g"),P=new RegExp("​?","g"),T=["bold","bolder","500","600","700","800","900"],j=["light","lighter","100","200","300","400"],R={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},M=(a(r={},g("public/DraftStyleDefault/depth0"),0),a(r,g("public/DraftStyleDefault/depth1"),1),a(r,g("public/DraftStyleDefault/depth2"),2),a(r,g("public/DraftStyleDefault/depth3"),3),a(r,g("public/DraftStyleDefault/depth4"),4),r),A=["className","href","rel","target","title"],I=["alt","className","height","src","width"],D=void 0,L={text:"",inlines:[],entities:[],blocks:[]},N={children:S(),depth:0,key:"",type:""},B=function(e,t){return"li"===e?"ol"===t?"ordered-list-item":"unordered-list-item":null},K=function(e,t,n){var r=n.filter(function(t){return t.element===e||t.wrapper===e||t.aliasedElements&&t.aliasedElements.some(function(t){return t===e})}).keySeq().toSet().toArray().sort();switch(r.length){case 0:return"unstyled";case 1:return r[0];default:return function(e,t,n){for(var r=0;r<n.length;r++){var o=n[r](e,t);if(o)return o}return null}(e,t,[B])||"unstyled"}},F=function(e,t,n){var r=e.text.slice(-1),o=t.text.slice(0,1);if("\r"!==r||"\r"!==o||n||(e.text=e.text.slice(0,-1),e.inlines.pop(),e.entities.pop(),e.blocks.pop()),"\r"===r){if(" "===t.text||"\n"===t.text)return e;" "!==o&&"\n"!==o||(t.text=t.text.slice(1),t.inlines.shift(),t.entities.shift())}return{text:e.text+t.text,inlines:e.inlines.concat(t.inlines),entities:e.entities.concat(t.entities),blocks:e.blocks.concat(t.blocks)}},U=function(e){e instanceof HTMLAnchorElement||b(!1);var t=e.protocol;return"http:"===t||"https:"===t||"mailto:"===t},z=function(){return o({},L,{text:"\n",inlines:[E()],entities:new Array(1)})},q=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{text:"\r",inlines:[E()],entities:new Array(1),blocks:[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o({},N,e)}({parent:n,key:v(),type:e,depth:Math.max(0,Math.min(4,t))})]}},W=function e(t,n,r,i,a,s,u,c,l,p){var d=D,h=n.nodeName.toLowerCase(),g=t,v="unstyled",m=!1,b=a&&K(a,i,c),_=o({},L),S=void 0;if("#text"===h){var x=n.textContent,k=x.trim();if(i&&""===k&&n.parentElement){var C=n.parentElement.nodeName.toLowerCase();if("ol"===C||"ul"===C)return{chunk:o({},L),entityMap:t}}return""===k&&"pre"!==a?{chunk:function(e){var t=new Array(1);return e&&(t[0]=e),o({},L,{text:" ",inlines:[E()],entities:t})}(l),entityMap:t}:("pre"!==a&&(x=x.replace(O," ")),D=h,{chunk:{text:x,inlines:Array(x.length).fill(r),entities:Array(x.length).fill(l),blocks:[]},entityMap:t})}if(D=h,"br"===h)return"br"!==d||a&&"unstyled"!==b?{chunk:z(),entityMap:t}:{chunk:q("unstyled",u,p),entityMap:t};if("img"===h&&n instanceof HTMLImageElement&&n.attributes.getNamedItem("src")&&n.attributes.getNamedItem("src").value){var P=n,N={};I.forEach(function(e){var t=P.getAttribute(e);t&&(N[e]=t)}),n.textContent="📷",l=f.__create("IMAGE","MUTABLE",N||{})}r=function(e,t,n){var r=R[e];if(r)n=n.add(r).toOrderedSet();else if(t instanceof HTMLElement){var o=t;n=n.withMutations(function(e){var t=o.style.fontWeight,n=o.style.fontStyle,r=o.style.textDecoration;T.indexOf(t)>=0?e.add("BOLD"):j.indexOf(t)>=0&&e.remove("BOLD"),"italic"===n?e.add("ITALIC"):"normal"===n&&e.remove("ITALIC"),"underline"===r&&e.add("UNDERLINE"),"line-through"===r&&e.add("STRIKETHROUGH"),"none"===r&&(e.remove("UNDERLINE"),e.remove("STRIKETHROUGH"))}).toOrderedSet()}return n}(h,n,r),"ul"!==h&&"ol"!==h||(i&&(u+=1),i=h),!w&&"li"===h&&n instanceof HTMLElement&&(u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(M).some(function(n){e.classList.contains(n)&&(t=M[n])}),t}(n,u));var B=K(h,i,c),W=i&&"li"===a&&"li"===h,V=(!a||w)&&-1!==s.indexOf(h);(W||V)&&(S=(_=q(B,u,p)).blocks[0].key,a=h,m=!w),W&&(v="ul"===i?"unordered-list-item":"ordered-list-item");var H=n.firstChild;null!=H&&(h=H.nodeName.toLowerCase());for(var Y=null;H;){H instanceof HTMLAnchorElement&&H.href&&U(H)?function(){var e=H,t={};A.forEach(function(n){var r=e.getAttribute(n);r&&(t[n]=r)}),t.url=new y(e.href).toString(),Y=f.__create("LINK","MUTABLE",t||{})}():Y=void 0;var $=e(g,H,r,i,a,s,u,c,Y||l,w?S:null),G=$.chunk;g=$.entityMap,_=F(_,G,w);var J=H.nextSibling;!p&&J&&s.indexOf(h)>=0&&a&&(_=F(_,z())),J&&(h=J.nodeName.toLowerCase()),H=J}return m&&(_=F(_,q(v,u,p))),{chunk:_,entityMap:g}},V=function(e,t,n,r){e=e.trim().replace(x,"").replace(k," ").replace(C,"").replace(P,"");var i=function(e){var t=e.get("unstyled").element,n=h([]);return e.forEach(function(e){e.aliasedElements&&e.aliasedElements.forEach(function(e){n=n.add(e)}),n=n.add(e.element)}),n.filter(function(e){return e&&e!==t}).toArray().sort()}(n),a=t(e);if(!a)return null;D=null;var s=function(e,t){return t.some(function(t){return-1!==e.indexOf("<"+t)})}(e,i)?i:["div"],u=W(r,a,E(),"ul",null,s,-1,n),c=u.chunk,l=u.entityMap;return 0===c.text.indexOf("\r")&&(c={text:c.text.slice(1),inlines:c.inlines.slice(1),entities:c.entities.slice(1),blocks:c.blocks}),"\r"===c.text.slice(-1)&&(c.text=c.text.slice(0,-1),c.inlines=c.inlines.slice(0,-1),c.entities=c.entities.slice(0,-1),c.blocks.pop()),0===c.blocks.length&&c.blocks.push(o({},L,{type:"unstyled",depth:0})),c.text.split("\r").length===c.blocks.length+1&&c.blocks.unshift({type:"unstyled",depth:0}),{chunk:c,entityMap:l}};e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l,r=V(e,t,n,f);if(null==r)return null;var o=r.chunk,i=r.entityMap;return{contentBlocks:function(e){if(!e||!e.text||!Array.isArray(e.blocks))return null;var t=0,n=e.blocks,r=e.inlines,o=e.entities,i=w?c:u;return e.text.split("\r").reduce(function(e,a,u){a=_(a);var l=n[u],f=t+a.length,p=r.slice(t,f),d=o.slice(t,f),h=S(p.map(function(e,t){var n={style:e,entity:null};return d[t]&&(n.entity=d[t]),s.create(n)}));t=f+1;var y=l.depth,g=l.type,m=l.parent,b=l.key||v(),w=null;if(m){var E=e.cacheRef[m],x=e.contentBlocks[E];if(x.getChildKeys().isEmpty()&&x.getText()){var O=x.getCharacterList(),k=x.getText();w=v();var C=new c({key:w,text:k,characterList:O,parent:m,nextSibling:b});e.contentBlocks.push(C),x=x.withMutations(function(e){e.set("characterList",S()).set("text","").set("children",x.children.push(C.getKey()))})}e.contentBlocks[E]=x.set("children",x.children.push(b))}var P=new i({key:b,parent:m,type:g,depth:y,text:a,characterList:h,prevSibling:w||(0===u||n[u-1].parent!==m?null:n[u-1].key),nextSibling:u===n.length-1||n[u+1].parent!==m?null:n[u+1].key});return e.contentBlocks.push(P),e.cacheRef[P.key]=u,e},{cacheRef:{},contentBlocks:[]}).contentBlocks}(o),entityMap:i}}},function(e,t,n){"use strict";var r=n(31),o=n(2),i=r.isBrowser("IE <= 9");e.exports=function(e){var t,n=null;return!i&&document.implementation&&document.implementation.createHTMLDocument&&((t=document.implementation.createHTMLDocument("foo")).documentElement||o(!1),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n}},function(e,t,n){"use strict";var r=n(16),o=n(3),i=(n(59),n(506)),a=n(26),s={currentBlockContainsLink:function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(t.getAnchorKey()).getCharacterList().slice(t.getStartOffset(),t.getEndOffset()).some(function(e){var t=e.getEntity();return!!t&&"LINK"===r.__get(t).getType()})},getCurrentBlockType:function(e){var t=e.getSelection();return e.getCurrentContent().getBlockForKey(t.getStartKey()).getType()},getDataObjectForLinkURL:function(e){return{url:e.toString()}},handleKeyCommand:function(e,t){switch(t){case"bold":return s.toggleInlineStyle(e,"BOLD");case"italic":return s.toggleInlineStyle(e,"ITALIC");case"underline":return s.toggleInlineStyle(e,"UNDERLINE");case"code":return s.toggleCode(e);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(e);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(e);default:return null}},insertSoftNewline:function(e){var t=r.insertText(e.getCurrentContent(),e.getSelection(),"\n",e.getCurrentInlineStyle(),null),n=o.push(e,t,"insert-characters");return o.forceSelection(n,t.getSelectionAfter())},onBackspace:function(e){var t=e.getSelection();if(!t.isCollapsed()||t.getAnchorOffset()||t.getFocusOffset())return null;var n=e.getCurrentContent(),r=t.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var a=n.getBlockMap().delete(i.getKey()),u=n.merge({blockMap:a,selectionAfter:t});if(u!==n)return o.push(e,u,"remove-range")}var c=s.tryToRemoveBlockStyle(e);return c?o.push(e,c,"change-block-type"):null},onDelete:function(e){var t=e.getSelection();if(!t.isCollapsed())return null;var n=e.getCurrentContent(),i=t.getStartKey(),a=n.getBlockForKey(i).getLength();if(t.getStartOffset()<a)return null;var s=n.getBlockAfter(i);if(!s||"atomic"!==s.getType())return null;var u=t.merge({focusKey:s.getKey(),focusOffset:s.getLength()}),c=r.removeRange(n,u,"forward");return c!==n?o.push(e,c,"remove-range"):null},onTab:function(e,t,n){var r=t.getSelection(),a=r.getAnchorKey();if(a!==r.getFocusKey())return t;var s=t.getCurrentContent(),u=s.getBlockForKey(a),c=u.getType();if("unordered-list-item"!==c&&"ordered-list-item"!==c)return t;e.preventDefault();var l=s.getBlockBefore(a);if(!l)return t;var f=l.getType();if("unordered-list-item"!==f&&"ordered-list-item"!==f)return t;var p=u.getDepth();if(!e.shiftKey&&p===n)return t;n=Math.min(l.getDepth()+1,n);var d=i(s,r,e.shiftKey?-1:1,n);return o.push(t,d,"adjust-depth")},toggleBlockType:function(e,t){var n=e.getSelection(),i=n.getStartKey(),s=n.getEndKey(),u=e.getCurrentContent(),c=n;if(i!==s&&0===n.getEndOffset()){var l=a(u.getBlockBefore(s));s=l.getKey(),c=c.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:s,focusOffset:l.getLength(),isBackward:!1})}if(u.getBlockMap().skipWhile(function(e,t){return t!==i}).reverse().skipWhile(function(e,t){return t!==s}).some(function(e){return"atomic"===e.getType()}))return e;var f=u.getBlockForKey(i).getType()===t?"unstyled":t;return o.push(e,r.setBlockType(u,c,f),"change-block-type")},toggleCode:function(e){var t=e.getSelection(),n=t.getAnchorKey(),r=t.getFocusKey();return t.isCollapsed()||n!==r?s.toggleBlockType(e,"code-block"):s.toggleInlineStyle(e,"CODE")},toggleInlineStyle:function(e,t){var n=e.getSelection(),i=e.getCurrentInlineStyle();if(n.isCollapsed())return o.setInlineStyleOverride(e,i.has(t)?i.remove(t):i.add(t));var a,s=e.getCurrentContent();return a=i.has(t)?r.removeInlineStyle(s,n,t):r.applyInlineStyle(s,n,t),o.push(e,a,"change-inline-style")},toggleLink:function(e,t,n){var i=r.applyEntity(e.getCurrentContent(),t,n);return o.push(e,i,"apply-entity")},tryToRemoveBlockStyle:function(e){var t=e.getSelection(),n=t.getAnchorOffset();if(t.isCollapsed()&&0===n){var o=t.getAnchorKey(),i=e.getCurrentContent(),a=i.getBlockForKey(o),s=i.getFirstBlock();if(a.getLength()>0&&a!==s)return null;var u=a.getType(),c=i.getBlockBefore(o);if("code-block"===u&&c&&"code-block"===c.getType()&&0!==c.getLength())return null;if("unstyled"!==u)return r.setBlockType(i,t,"unstyled")}return null}};e.exports=s},function(e,t,n){"use strict";var r=n(143),o=n(137),i=n(31),a=i.isPlatform("Mac OS X"),s=i.isPlatform("Windows"),u=a&&i.isBrowser("Firefox < 29"),c=r.hasCommandModifier,l=r.isCtrlKeyCommand;function f(e){return a&&e.altKey||l(e)}e.exports=function(e){switch(e.keyCode){case 66:return c(e)?"bold":null;case 68:return l(e)?"delete":null;case 72:return l(e)?"backspace":null;case 73:return c(e)?"italic":null;case 74:return c(e)?"code":null;case 75:return!s&&l(e)?"secondary-cut":null;case 77:case 79:return l(e)?"split-block":null;case 84:return a&&l(e)?"transpose-characters":null;case 85:return c(e)?"underline":null;case 87:return a&&l(e)?"backspace-word":null;case 89:return l(e)?s?"redo":"secondary-paste":null;case 90:return function(e){return c(e)?e.shiftKey?"redo":"undo":null}(e)||null;case o.RETURN:return"split-block";case o.DELETE:return function(e){return s&&e.shiftKey?null:f(e)?"delete-word":"delete"}(e);case o.BACKSPACE:return function(e){return c(e)&&a?"backspace-to-start-of-line":f(e)?"backspace-word":"backspace"}(e);case o.LEFT:return u&&c(e)?"move-selection-to-start-of-block":null;case o.RIGHT:return u&&c(e)?"move-selection-to-end-of-block":null;default:return null}}},function(e,t,n){"use strict";var r={stringify:function(e){return"_"+String(e)},unstringify:function(e){return e.slice(1)}};e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),a=function(e){return e&&e.__esModule?e:{default:e}}(i);t.default=function(e,t){var n,s;return s=n=function(n){function s(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,i.Component),o(s,[{key:"render",value:function(){return a.default.createElement(e,r({},this.props,t))}}]),s}(),n.displayName="Decorated("+function(e){return e.displayName||e.name||"Component"}(e)+")",s}},function(e,t,n){e.exports=n(535)()},function(e,t,n){(function(t){var n=1/0,r="[object Symbol]",o=/[\\^$.*+?()[\]{}|]/g,i=RegExp(o.source),a="object"==typeof t&&t&&t.Object===Object&&t,s="object"==typeof self&&self&&self.Object===Object&&self,u=a||s||Function("return this")(),c=Object.prototype.toString,l=u.Symbol,f=l?l.prototype:void 0,p=f?f.toString:void 0;function d(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&c.call(e)==r}(e))return p?p.call(e):"";var t=e+"";return"0"==t&&1/e==-n?"-0":t}e.exports=function(e){return(e=function(e){return null==e?"":d(e)}(e))&&i.test(e)?e.replace(o,"\\$&"):e}}).call(this,n(7))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(539));t.default=function(e,t,n){var o=t.getAnchorKey(),i=t.getAnchorOffset()-n.length,a=e.getCurrentContent().getBlockForKey(o).getText();return(0,r.default)(a,i)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){return"@"===e?"mention":e+"mention"}},function(e,t,n){var r=n(69),o=n(555),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},function(e,t,n){var r=n(573),o=n(88),i=n(17),a=n(89),s=n(148),u=n(147),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&o(e),f=!n&&!l&&a(e),p=!n&&!l&&!f&&u(e),d=n||l||f||p,h=d?r(e.length,String):[],y=h.length;for(var g in e)!t&&!c.call(e,g)||d&&("length"==g||f&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,y))||h.push(g);return h}},function(e,t,n){var r=n(575),o=n(610),i=n(156),a=n(17),s=n(617);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):s(e)}},function(e,t,n){var r=n(599),o=n(30);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,s))}},function(e,t,n){var r=n(600),o=n(603),i=n(604),a=1,s=2;e.exports=function(e,t,n,u,c,l){var f=n&a,p=e.length,d=t.length;if(p!=d&&!(f&&d>p))return!1;var h=l.get(e);if(h&&l.get(t))return h==t;var y=-1,g=!0,v=n&s?new r:void 0;for(l.set(e,t),l.set(t,e);++y<p;){var m=e[y],b=t[y];if(u)var _=f?u(b,m,y,t,e,l):u(m,b,y,e,t,l);if(void 0!==_){if(_)continue;g=!1;break}if(v){if(!o(t,function(e,t){if(!i(v,t)&&(m===e||c(m,e,n,u,l)))return v.push(t)})){g=!1;break}}else if(m!==b&&!c(m,b,n,u,l)){g=!1;break}}return l.delete(e),l.delete(t),g}},function(e,t,n){var r=n(25).Uint8Array;e.exports=r},function(e,t,n){var r=n(298),o=n(152),i=n(50);e.exports=function(e){return r(e,i,o)}},function(e,t,n){var r=n(151),o=n(17);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(29);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t,n){var r=n(628),o=n(633);e.exports=n(158)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(307);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(48),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,n){var r=n(657),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),u=Array(s);++a<s;)u[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=n(u),r(e,this,c)}}},function(e,t,n){var r=n(658),o=n(660)(r);e.exports=o},function(e,t,n){var r=n(302),o=n(293),i=n(129),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var u=null==n?0:i(n);return u<0&&(u=a(s+u,0)),r(e,o(t,3),u)}},function(e,t,n){var r=n(292),o=n(670),i=n(49);e.exports=function(e){return i(e)?r(e,!0):o(e)}},function(e,t,n){var r=n(151),o=n(161),i=n(152),a=n(299),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},function(e,t,n){var r=n(298),o=n(312),i=n(311);e.exports=function(e){return r(e,i,o)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setProminentWords=function(e){return{type:r,prominentWords:e}};var r=t.SET_PROMINENT_WORDS="INSIGHTS_SET_PROMINENT_WORDS"},function(e,t){e.exports=window.wp.data},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(35),i=n.n(o),a=i.a.shape({trySubscribe:i.a.func.isRequired,tryUnsubscribe:i.a.func.isRequired,notifyNestedSubs:i.a.func.isRequired,isSubscribed:i.a.func.isRequired}),s=i.a.shape({subscribe:i.a.func.isRequired,dispatch:i.a.func.isRequired,getState:i.a.func.isRequired});function u(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"store",n=arguments[1]||t+"Subscription",o=function(e){function o(n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n,r));return i[t]=n.store,i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,e),o.prototype.getChildContext=function(){var e;return(e={})[t]=this[t],e[n]=null,e},o.prototype.render=function(){return r.Children.only(this.props.children)},o}(r.Component);return o.propTypes={store:s.isRequired,children:i.a.element.isRequired},o.childContextTypes=((e={})[t]=s.isRequired,e[n]=a,e),o}var c=u(),l=n(766),f=n.n(l),p=n(336),d=n.n(p);var h=null,y={notify:function(){}};var g=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.store=t,this.parentSub=n,this.onStateChange=r,this.unsubscribe=null,this.listeners=y}return e.prototype.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},e.prototype.notifyNestedSubs=function(){this.listeners.notify()},e.prototype.isSubscribed=function(){return Boolean(this.unsubscribe)},e.prototype.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=function(){var e=[],t=[];return{clear:function(){t=h,e=h},notify:function(){for(var n=e=t,r=0;r<n.length;r++)n[r]()},get:function(){return t},subscribe:function(n){var r=!0;return t===e&&(t=e.slice()),t.push(n),function(){r&&e!==h&&(r=!1,t===e&&(t=e.slice()),t.splice(t.indexOf(n),1))}}}}())},e.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=y)},e}(),v=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};var m=0,b={};function _(){}function w(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o.getDisplayName,u=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,c=o.methodName,l=void 0===c?"connectAdvanced":c,p=o.renderCountProp,h=void 0===p?void 0:p,y=o.shouldHandleStateChanges,w=void 0===y||y,S=o.storeKey,E=void 0===S?"store":S,x=o.withRef,O=void 0!==x&&x,k=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),C=E+"Subscription",P=m++,T=((t={})[E]=s,t[C]=a,t),j=((n={})[C]=a,n);return function(t){d()("function"==typeof t,"You must pass a component to the function returned by "+l+". Instead received "+JSON.stringify(t));var n=t.displayName||t.name||"Component",o=u(n),i=v({},k,{getDisplayName:u,methodName:l,renderCountProp:h,shouldHandleStateChanges:w,storeKey:E,withRef:O,displayName:o,wrappedComponentName:n,WrappedComponent:t}),a=function(n){function a(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,n.call(this,e,t));return r.version=P,r.state={},r.renderCount=0,r.store=e[E]||t[E],r.propsMode=Boolean(e[E]),r.setWrappedInstance=r.setWrappedInstance.bind(r),d()(r.store,'Could not find "'+E+'" in either the context or props of "'+o+'". Either wrap the root component in a <Provider>, or explicitly pass "'+E+'" as a prop to "'+o+'".'),r.initSelector(),r.initSubscription(),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,n),a.prototype.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return(e={})[C]=t||this.context[C],e},a.prototype.componentDidMount=function(){w&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},a.prototype.componentWillReceiveProps=function(e){this.selector.run(e)},a.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},a.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=_,this.store=null,this.selector.run=_,this.selector.shouldComponentUpdate=!1},a.prototype.getWrappedInstance=function(){return d()(O,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+l+"() call."),this.wrappedInstance},a.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},a.prototype.initSelector=function(){var t=e(this.store.dispatch,i);this.selector=function(e,t){var n={run:function(r){try{var o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}(t,this.store),this.selector.run(this.props)},a.prototype.initSubscription=function(){if(w){var e=(this.propsMode?this.props:this.context)[C];this.subscription=new g(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},a.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(b)):this.notifyNestedSubs()},a.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},a.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},a.prototype.addExtraProps=function(e){if(!(O||h||this.propsMode&&this.subscription))return e;var t=v({},e);return O&&(t.ref=this.setWrappedInstance),h&&(t[h]=this.renderCount++),this.propsMode&&this.subscription&&(t[C]=this.subscription),t},a.prototype.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return Object(r.createElement)(t,this.addExtraProps(e.props))},a}(r.Component);return a.WrappedComponent=t,a.displayName=o,a.childContextTypes=j,a.contextTypes=T,a.propTypes=T,f()(a,t)}}var S=Object.prototype.hasOwnProperty;function E(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function x(e,t){if(E(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!S.call(t,n[o])||!E(e[n[o]],t[n[o]]))return!1;return!0}var O=n(720);n(34);function k(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function C(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function P(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=C(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=C(o),o=r(t,n)),o},r}}var T=[function(e){return"function"==typeof e?P(e):void 0},function(e){return e?void 0:k(function(e){return{dispatch:e}})},function(e){return e&&"object"==typeof e?k(function(t){return Object(O.bindActionCreators)(e,t)}):void 0}];var j=[function(e){return"function"==typeof e?P(e):void 0},function(e){return e?void 0:k(function(){return{}})}],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};function M(e,t,n){return R({},n,e,t)}var A=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r=n.pure,o=n.areMergedPropsEqual,i=!1,a=void 0;return function(t,n,s){var u=e(t,n,s);return i?r&&o(u,a)||(a=u):(i=!0,a=u),a}}}(e):void 0},function(e){return e?void 0:function(){return M}}];function I(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function D(e,t,n,r,o){var i=o.areStatesEqual,a=o.areOwnPropsEqual,s=o.areStatePropsEqual,u=!1,c=void 0,l=void 0,f=void 0,p=void 0,d=void 0;function h(o,u){var h=!a(u,l),y=!i(o,c);return c=o,l=u,h&&y?(f=e(c,l),t.dependsOnOwnProps&&(p=t(r,l)),d=n(f,p,l)):h?(e.dependsOnOwnProps&&(f=e(c,l)),t.dependsOnOwnProps&&(p=t(r,l)),d=n(f,p,l)):y?function(){var t=e(c,l),r=!s(t,f);return f=t,r&&(d=n(f,p,l)),d}():d}return function(o,i){return u?h(o,i):function(o,i){return f=e(c=o,l=i),p=t(r,l),d=n(f,p,l),u=!0,d}(o,i)}}function L(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,i),s=r(e,i),u=o(e,i);return(i.pure?D:I)(a,s,u,e,i)}var N=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};function B(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function K(e,t){return e===t}var F=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.connectHOC,n=void 0===t?w:t,r=e.mapStateToPropsFactories,o=void 0===r?j:r,i=e.mapDispatchToPropsFactories,a=void 0===i?T:i,s=e.mergePropsFactories,u=void 0===s?A:s,c=e.selectorFactory,l=void 0===c?L:c;return function(e,t,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=i.pure,c=void 0===s||s,f=i.areStatesEqual,p=void 0===f?K:f,d=i.areOwnPropsEqual,h=void 0===d?x:d,y=i.areStatePropsEqual,g=void 0===y?x:y,v=i.areMergedPropsEqual,m=void 0===v?x:v,b=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(i,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),_=B(e,o,"mapStateToProps"),w=B(t,a,"mapDispatchToProps"),S=B(r,u,"mergeProps");return n(l,N({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:_,initMapDispatchToProps:w,initMergeProps:S,pure:c,areStatesEqual:p,areOwnPropsEqual:h,areStatePropsEqual:g,areMergedPropsEqual:m},b))}}();n.d(t,"Provider",function(){return c}),n.d(t,"createProvider",function(){return u}),n.d(t,"connectAdvanced",function(){return w}),n.d(t,"connect",function(){return F})},function(e,t,n){"use strict";n.r(t);var r=function(e){e=e||"polite";var t=document.createElement("div");return t.id="a11y-speak-"+e,t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true"),document.querySelector("body").appendChild(t),t},o=function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""},i=function(e){if("complete"===document.readyState||"interactive"===document.readyState)return e();document.addEventListener("DOMContentLoaded",e)},a=(n(626),""),s=function(e){return e=e.replace(/<[^<>]+>/g," "),a===e&&(e+=" "),a=e,e};n.d(t,"setup",function(){return u}),n.d(t,"speak",function(){return c});var u=function(){var e=document.getElementById("a11y-speak-polite"),t=document.getElementById("a11y-speak-assertive");null===e&&(e=r("polite")),null===t&&(t=r("assertive"))};i(u);var c=function(e,t){o(),e=s(e);var n=document.getElementById("a11y-speak-polite"),r=document.getElementById("a11y-speak-assertive");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)}},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(7))},function(e,t,n){"use strict";var r=n(120);e.exports=function(){var e=null;return r(window.wpseoPostScraperL10n)?r(window.wpseoTermScraperL10n)||(e=window.wpseoTermScraperL10n):e=window.wpseoPostScraperL10n,e}},function(e,t,n){var r=n(341),o=n(344),i=n(235),a=n(20),s=n(350);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):s(e)}},function(e,t,n){var r=n(121),o=n(117),i=n(20),a=n(104),s=n(76),u=n(77);e.exports=function(e,t,n){for(var c=-1,l=(t=r(t,e)).length,f=!1;++c<l;){var p=u(t[c]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++c!=l?f:!!(l=null==e?0:e.length)&&s(l)&&a(p,l)&&(i(e)||o(e))}},function(e,t,n){var r=n(354);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},function(e,t,n){var r=n(325),o=n(74),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(357);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},,function(e,t,n){var r=n(116),o=n(358),i=n(63);e.exports=function(e){return i(e)?r(e,!0):o(e)}},function(e,t,n){var r=n(114),o=n(329),i=n(103),a=n(115),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},function(e,t,n){var r=n(118)(Object.getPrototypeOf,Object);e.exports=r},function(e,t,n){var r=n(323),o=n(362),i=n(367),a=n(20);e.exports=function(e,t){return(a(e)?r:o)(e,i(t))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=s(n(0)),i=s(n(377)),a=s(n(380));function s(e){return e&&e.__esModule?e:{default:e}}var u=void 0;function c(e,t){var n,a,s,l,f,p,d,h,y=[],g={};for(p=0;p<e.length;p++)if("string"!==(f=e[p]).type){if(!t.hasOwnProperty(f.value)||void 0===t[f.value])throw new Error("Invalid interpolation, missing component node: `"+f.value+"`");if("object"!==r(t[f.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+f.value+"`","\n> "+u);if("componentClose"===f.type)throw new Error("Missing opening component token: `"+f.value+"`");if("componentOpen"===f.type){n=t[f.value],s=p;break}y.push(t[f.value])}else y.push(f.value);return n&&(l=function(e,t){var n,r,o=t[e],i=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){i++;continue}if("componentClose"===n.type){if(0===i)return r;i--}}throw new Error("Missing closing component token `"+o.value+"`")}(s,e),d=c(e.slice(s+1,l),t),a=o.default.cloneElement(n,{},d),y.push(a),l<e.length-1&&(h=c(e.slice(l+1),t),y=y.concat(h))),1===y.length?y[0]:(y.forEach(function(e,t){e&&(g["interpolation-child-"+t]=e)}),(0,i.default)(g))}t.default=function(e){var t=e.mixedString,n=e.components,o=e.throwErrors;if(u=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var i=(0,a.default)(t);try{return c(i,n)}catch(e){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addRelatedKeyword=function(e){return{type:r,keyword:e}},t.changeRelatedKeyword=function(e,t){return{type:i,key:e,keyword:t}},t.removeRelatedKeyword=function(e){return{type:a,key:e}},t.setRelatedKeywords=function(e){return{type:o,keywords:e}},t.setRelatedKeywordResults=function(e,t,n){return{type:s,key:e,results:t,score:n}},t.setRelatedKeywordSynonyms=function(e,t){return{type:u,key:e,synonyms:t}};var r=t.ADD_RELATED_KEYWORD="ADD_RELATED_KEYWORD",o=t.SET_RELATED_KEYWORDS="SET_RELATED_KEYWORDS",i=t.CHANGE_RELATED_KEYWORD="CHANGE_RELATED_KEYWORD",a=t.REMOVE_RELATED_KEYWORD="REMOVE_RELATED_KEYWORD",s=t.SET_RELATED_KEYWORD_RESULTS="SET_RELATED_KEYWORD_RESULTS",u=t.SET_RELATED_KEYWORD_SYNONYMS="SET_RELATED_KEYWORD_SYNONYMS"},function(e,t,n){e.exports=n(897)()},function(e,t,n){"use strict";n.r(t);var r=n(44);var o=function(e,t){return function(n){var o=e(n),i=n.displayName,a=void 0===i?n.name||"Component":i;return o.displayName="".concat(Object(r.upperFirst)(Object(r.camelCase)(t)),"(").concat(a,")"),o}},i=n(14),a=function(e){return o(function(t){return function(n){return e(n)?Object(i.createElement)(t,n):null}},"ifCondition")};function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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)}}function c(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}function l(e){return(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})(e)}function f(e){return(f="function"==typeof Symbol&&"symbol"===l(Symbol.iterator)?function(e){return l(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":l(e)})(e)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?p(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}var v=n(337),m=n.n(v),b=o(function(e){return e.prototype instanceof i.Component?function(t){function n(){return s(this,n),d(this,h(n).apply(this,arguments))}return g(n,e),c(n,[{key:"shouldComponentUpdate",value:function(e,t){return!m()(e,this.props)||!m()(t,this.state)}}]),n}():function(t){function n(){return s(this,n),d(this,h(n).apply(this,arguments))}return g(n,i["Component"]),c(n,[{key:"shouldComponentUpdate",value:function(e){return!m()(e,this.props)}},{key:"render",value:function(){return Object(i.createElement)(e,this.props)}}]),n}()},"pure");function _(){return(_=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}).apply(this,arguments)}var w=new(function(){function e(){s(this,e),this.listeners={},this.handleEvent=this.handleEvent.bind(this)}return c(e,[{key:"add",value:function(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}},{key:"remove",value:function(e,t){this.listeners[e]=Object(r.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}},{key:"handleEvent",value:function(e){Object(r.forEach)(this.listeners[e.type],function(t){t.handleEvent(e)})}}]),e}());var S=function(e){return o(function(t){var n=function(n){function o(){var e;return s(this,o),(e=d(this,h(o).apply(this,arguments))).handleEvent=e.handleEvent.bind(p(p(e))),e.handleRef=e.handleRef.bind(p(p(e))),e}return g(o,i.Component),c(o,[{key:"componentDidMount",value:function(){var t=this;Object(r.forEach)(e,function(e,n){w.add(n,t)})}},{key:"componentWillUnmount",value:function(){var t=this;Object(r.forEach)(e,function(e,n){w.remove(n,t)})}},{key:"handleEvent",value:function(t){var n=e[t.type];"function"==typeof this.wrappedRef[n]&&this.wrappedRef[n](t)}},{key:"handleRef",value:function(e){this.wrappedRef=e,this.props.forwardedRef&&this.props.forwardedRef(e)}},{key:"render",value:function(){return Object(i.createElement)(t,_({},this.props.ownProps,{ref:this.handleRef}))}}]),o}();return Object(i.forwardRef)(function(e,t){return Object(i.createElement)(n,{ownProps:e,forwardedRef:t})})},"withGlobalEvents")},E=o(function(e){var t=0;return function(n){function r(){var e;return s(this,r),(e=d(this,h(r).apply(this,arguments))).instanceId=t++,e}return g(r,i["Component"]),c(r,[{key:"render",value:function(){return Object(i.createElement)(e,_({},this.props,{instanceId:this.instanceId}))}}]),r}()},"withInstanceId"),x=o(function(e){return function(t){function n(){var e;return s(this,n),(e=d(this,h(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(p(p(e))),e.clearTimeout=e.clearTimeout.bind(p(p(e))),e}return g(n,i["Component"]),c(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e,t){var n=this,r=setTimeout(function(){e(),n.clearTimeout(r)},t);return this.timeouts.push(r),r})},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){clearTimeout(e),this.timeouts=Object(r.without)(this.timeouts,e)})},{key:"render",value:function(){return Object(i.createElement)(e,_({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}()},"withSafeTimeout");function O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o(function(t){return function(n){function r(){var t;return s(this,r),(t=d(this,h(r).apply(this,arguments))).setState=t.setState.bind(p(p(t))),t.state=e,t}return g(r,i["Component"]),c(r,[{key:"render",value:function(){return Object(i.createElement)(t,_({},this.props,this.state,{setState:this.setState}))}}]),r}()},"withState")}n.d(t,"createHigherOrderComponent",function(){return o}),n.d(t,"ifCondition",function(){return a}),n.d(t,"pure",function(){return b}),n.d(t,"withGlobalEvents",function(){return S}),n.d(t,"withInstanceId",function(){return E}),n.d(t,"withSafeTimeout",function(){return x}),n.d(t,"withState",function(){return O}),n.d(t,"compose",function(){return r.flowRight})},,function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(u=new Error(t.replace(/%s/g,function(){return c[l++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";var r=n(862),o=n(863),i=Array.isArray;e.exports=function(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return r(e,t);if(i(e)&&i(t))return o(e,t)}return e===t},e.exports.isShallowEqualObjects=r,e.exports.isShallowEqualArrays=o},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(u=new Error(t.replace(/%s/g,function(){return c[l++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.determineMorphologyRequestUrl=function(e){var t="https://my.yoast.com/api/downloads/file/morphology";return"en"===e?t+"-v2":t+"-"+e+"-v3"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(177)),i=u(n(178)),a=u(n(179)),s=n(112);function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e){var n=e.postID,r=e.rootUrl,i=e.nonce,a=e.prominentWordsLimit,u=void 0===a?20:a,c=e.cache,l=void 0===c?null:c;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var f=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return f._rootUrl=r,f._nonce=i,f._postID=n,f._savingProminentWords=!1,f._previousProminentWords=null,f._postSaveEndpoint=f._rootUrl+"yoast/v1/prominent_words_link/"+f._postID,null===l&&(l=new o.default),f._cache=l,f.setProminentWordsLimit(u),f.retrieveProminentWordId=f.retrieveProminentWordId.bind(f),f.improvedInternalLinkingEnabled=(0,s.isFeatureEnabled)("improvedInternalLinking"),f}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.default),r(t,[{key:"setProminentWordsLimit",value:function(e){this._prominentWordsLimit=e}},{key:"saveProminentWords",value:function(e){var t=this;if(!this._savingProminentWords)return this._savingProminentWords=!0,e.slice(0,this._prominentWordsLimit).reduce(function(e,n){return e.then(function(e){return t.retrieveProminentWordId(n).then(function(t){return e.push(t),e},function(){return e})})},Promise.resolve([])).then(function(e){return(0,a.default)(e,t._previousProminentWords)?(t._savingProminentWords=!1,Promise.resolve()):(t._previousProminentWords=e,new Promise(function(n,r){jQuery.ajax({type:"POST",url:t._postSaveEndpoint,beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",t._nonce)},data:{yst_prominent_words:e},dataType:"json",success:n,error:r}).always(function(){t.emit("savedProminentWords",e),t._savingProminentWords=!1})}))}).catch(function(e){window.console&&console.log(e)})}},{key:"retrieveProminentWordId",value:function(e){var t=this,n=this.improvedInternalLinkingEnabled?e.getStem():e.getCombination(),r=this._cache.getID(n);return 0!==r?Promise.resolve(r):new Promise(function(e,r){jQuery.ajax({type:"GET",url:t._rootUrl+"yoast/v1/prominent_words",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",t._nonce)},data:{word:n},dataType:"json",success:function(t){e(t)},error:function(e){r(e)}})}).then(function(n){return null===n?t.createProminentWordTerm(e):n}).then(function(e){return t._cache.setID(n,e.id),e.id})}},{key:"createProminentWordTerm",value:function(e){var t=this,n=this.improvedInternalLinkingEnabled?e.getStem():e.getCombination();return new Promise(function(e,r){jQuery.ajax({type:"POST",url:t._rootUrl+"wp/v2/yst_prominent_words",beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",t._nonce)},data:{name:n},dataType:"json",success:function(t){e(t)},error:function(e){r(e)}})})}}]),t}();t.default=c},function(e,t,n){var r=n(342),o=n(343),i=n(233);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(98),o=n(97),i=1,a=2;e.exports=function(e,t,n,s){var u=n.length,c=u,l=!s;if(null==e)return!c;for(e=Object(e);u--;){var f=n[u];if(l&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}for(;++u<c;){var p=(f=n[u])[0],d=e[p],h=f[1];if(l&&f[2]){if(void 0===d&&!(p in e))return!1}else{var y=new r;if(s)var g=s(d,h,p,e,t,y);if(!(void 0===g?o(h,d,i|a,s,y):g))return!1}}return!0}},function(e,t,n){var r=n(232),o=n(57);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},function(e,t,n){var r=n(97),o=n(234),i=n(348),a=n(122),s=n(232),u=n(233),c=n(77),l=1,f=2;e.exports=function(e,t){return a(e)&&s(t)?u(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,l|f)}}},function(e,t,n){var r=/^\./,o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n(346)(function(e){var t=[];return r.test(e)&&t.push(""),e.replace(o,function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)}),t});e.exports=a},function(e,t,n){var r=n(347),o=500;e.exports=function(e){var t=r(e,function(e){return n.size===o&&n.clear(),e}),n=t.cache;return t}},function(e,t,n){var r=n(75),o="Expected a function";function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(o);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},function(e,t,n){var r=n(349),o=n(321);e.exports=function(e,t){return null!=e&&o(e,t,r)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var r=n(351),o=n(352),i=n(122),a=n(77);e.exports=function(e){return i(e)?r(a(e)):o(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(172);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t,n){var r=n(236),o=1/0,i=1.7976931348623157e308;e.exports=function(e){return e?(e=r(e))===o||e===-o?(e<0?-1:1)*i:e==e?e:0:0===e?e:0}},function(e,t,n){var r=n(32),o=n(356),i=n(236),a="Expected a function",s=Math.max,u=Math.min;e.exports=function(e,t,n){var c,l,f,p,d,h,y=0,g=!1,v=!1,m=!0;if("function"!=typeof e)throw new TypeError(a);function b(t){var n=c,r=l;return c=l=void 0,y=t,p=e.apply(r,n)}function _(e){var n=e-h;return void 0===h||n>=t||n<0||v&&e-y>=f}function w(){var e=o();if(_(e))return S(e);d=setTimeout(w,function(e){var n=t-(e-h);return v?u(n,f-(e-y)):n}(e))}function S(e){return d=void 0,m&&c?b(e):(c=l=void 0,p)}function E(){var e=o(),n=_(e);if(c=arguments,l=this,h=e,n){if(void 0===d)return function(e){return y=e,d=setTimeout(w,t),g?b(e):p}(h);if(v)return d=setTimeout(w,t),b(h)}return void 0===d&&(d=setTimeout(w,t)),p}return t=i(t)||0,r(n)&&(g=!!n.leading,f=(v="maxWait"in n)?s(i(n.maxWait)||0,t):f,m="trailing"in n?!!n.trailing:m),E.cancel=function(){void 0!==d&&clearTimeout(d),y=0,c=h=l=d=void 0},E.flush=function(){return void 0===d?p:S(o())},E}},function(e,t,n){var r=n(12);e.exports=function(){return r.Date.now()}},function(e,t,n){var r=n(27),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,n){var r=n(32),o=n(106),i=n(359),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){var r=n(113),o=n(328),i=n(327);e.exports=function(e){return r(e,i,o)}},,function(e,t,n){var r=n(363),o=n(366)(r);e.exports=o},function(e,t,n){var r=n(364),o=n(57);e.exports=function(e,t){return e&&r(e,t,o)}},function(e,t,n){var r=n(365)();e.exports=r},function(e,t){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var u=a[e?s:++o];if(!1===n(i[u],u,i))break}return t}}},function(e,t,n){var r=n(63);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a<i)&&!1!==o(s[a],a,s););return n}}},function(e,t,n){var r=n(235);e.exports=function(e){return"function"==typeof e?e:r}},,,,,,,,,function(e,t){e.exports=window.wp.components},function(e,t,n){"use strict";var r=n(0),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(240),a=n(378),s=n(379),u=".",c=":",l="function"==typeof Symbol&&Symbol.iterator,f="@@iterator";function p(e,t){return e&&"object"==typeof e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function d(e,t,n,r){var i,s=typeof e;if("undefined"!==s&&"boolean"!==s||(e=null),null===e||"string"===s||"number"===s||"object"===s&&e.$$typeof===o)return n(r,e,""===t?u+p(e,0):t),1;var h=0,y=""===t?u:t+c;if(Array.isArray(e))for(var g=0;g<e.length;g++)h+=d(i=e[g],y+p(i,g),n,r);else{var v=function(e){var t=e&&(l&&e[l]||e[f]);if("function"==typeof t)return t}(e);if(v){0;for(var m,b=v.call(e),_=0;!(m=b.next()).done;)h+=d(i=m.value,y+p(i,_++),n,r)}else if("object"===s){0;var w=""+e;a(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===w?"object with keys {"+Object.keys(e).join(", ")+"}":w,"")}}return h}var h=/\/+/g;function y(e){return(""+e).replace(h,"$&/")}var g=v,v=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},m=function(e){a(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function b(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function _(e,t,n){var o=e.result,a=e.keyPrefix,s=e.func,u=e.context,c=s.call(u,t,e.count++);Array.isArray(c)?w(c,o,n,i.thatReturnsArgument):null!=c&&(r.isValidElement(c)&&(c=function(e,t){return r.cloneElement(e,{key:t},void 0!==e.props?e.props.children:void 0)}(c,a+(!c.key||t&&t.key===c.key?"":y(c.key)+"/")+n)),o.push(c))}function w(e,t,n,r,o){var i="";null!=n&&(i=y(n)+"/");var a=b.getPooled(t,i,r,o);!function(e,t,n){null==e||d(e,"",t,n)}(e,_,a),b.release(a)}b.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},function(e,t){var n=e;n.instancePool=[],n.getPooled=t||g,n.poolSize||(n.poolSize=10),n.release=m}(b,function(e,t,n,r){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)});e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return s(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return s(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;a(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)w(e[n],t,n,i.thatReturnsArgument);return t}},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,i,a,s,u){if(r(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,o,i,a,s,u],f=0;(c=new Error(t.replace(/%s/g,function(){return l[f++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(240);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t,n){"use strict";var r=n(382);function o(){}e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=o,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80);Object.defineProperty(t,"DashboardWidgetSeoAssessment",{enumerable:!0,get:function(){return r.SiteSEOReport}});var o=n(5);Object.defineProperty(t,"DashboardWidgetWordpressFeed",{enumerable:!0,get:function(){return o.ArticleList}})},function(e,t,n){"use strict";var r=n(385);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=f(n(0)),i=f(n(4)),a=f(n(24)),s=n(8),u=n(11),c=n(5),l=f(n(241));function f(e){return e&&e.__esModule?e:{default:e}}var p=i.default.div.withConfig({displayName:"ContentAnalysis__ContentAnalysisContainer",componentId:"sc-14uwo9d-0"})(["width:100%;background-color:white;border-bottom:1px solid transparent;"]),d=(0,i.default)(c.Collapsible).withConfig({displayName:"ContentAnalysis__StyledCollapsible",componentId:"sc-14uwo9d-1"})(["margin-bottom:8px;button:first-child svg{margin:-2px 8px 0 -2px;}","{padding:8px 0;color:","}"],c.StyledIconsButton,u.colors.$color_blue),h=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.Component),r(t,[{key:"renderCollapsible",value:function(e,t,n){return o.default.createElement(d,{initialIsOpen:!0,title:e+" ("+n.length+")",prefixIcon:{icon:"angle-up",color:u.colors.$color_grey_dark,size:"18px"},prefixIconCollapsed:{icon:"angle-down",color:u.colors.$color_grey_dark,size:"18px"},suffixIcon:null,suffixIconCollapsed:null,headingProps:{level:t,fontSize:"13px",fontWeight:"bold"}},o.default.createElement(l.default,{results:n,marksButtonActivatedResult:this.props.activeMarker,marksButtonStatus:this.props.marksButtonStatus,marksButtonClassName:this.props.marksButtonClassName,onMarksButtonClick:this.props.onMarkButtonClick}))}},{key:"render",value:function(){var e=this.props,t=e.problemsResults,n=e.improvementsResults,r=e.goodResults,i=e.considerationsResults,a=e.errorsResults,u=e.headingLevel,c=a.length,l=t.length,f=n.length,d=i.length,h=r.length;return o.default.createElement(p,null,c>0&&this.renderCollapsible((0,s.__)("Errors","yoast-components"),u,a),l>0&&this.renderCollapsible((0,s.__)("Problems","yoast-components"),u,t),f>0&&this.renderCollapsible((0,s.__)("Improvements","yoast-components"),u,n),d>0&&this.renderCollapsible((0,s.__)("Considerations","yoast-components"),u,i),h>0&&this.renderCollapsible((0,s.__)("Good results","yoast-components"),u,r))}}]),t}();h.propTypes={onMarkButtonClick:a.default.func,problemsResults:a.default.array,improvementsResults:a.default.array,goodResults:a.default.array,considerationsResults:a.default.array,errorsResults:a.default.array,headingLevel:a.default.number,marksButtonStatus:a.default.string,marksButtonClassName:a.default.string,activeMarker:a.default.string},h.defaultProps={onMarkButtonClick:function(){},problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[],errorsResults:[],headingLevel:4,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:""},t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(0)),o=s(n(24)),i=s(n(4)),a=n(5);function s(e){return e&&e.__esModule?e:{default:e}}var u=i.default.div.withConfig({displayName:"SiteSEOReport__SiteSEOReportContainer",componentId:"sc-1bcug4t-0"})([""]),c=i.default.p.withConfig({displayName:"SiteSEOReport__SiteSEOReportText",componentId:"sc-1bcug4t-1"})(["font-size:14px;"]),l=function(e){return r.default.createElement(u,{className:e.className},r.default.createElement(c,{className:e.className+"__text"},e.seoAssessmentText),r.default.createElement(a.StackedProgressBar,{className:"progress",items:e.seoAssessmentItems,barHeight:e.barHeight}),r.default.createElement(a.ScoreAssessments,{className:"assessments",items:e.seoAssessmentItems}))};l.propTypes={className:o.default.string,seoAssessmentText:o.default.string,seoAssessmentItems:o.default.arrayOf(o.default.shape({html:o.default.string.isRequired,value:o.default.number.isRequired,color:o.default.string.isRequired})),barHeight:o.default.string},l.defaultProps={className:"seo-assessment",seoAssessmentText:"SEO Assessment",seoAssessmentItems:null,barHeight:"24px"},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderRatingToColor=t.AnalysisList=void 0;var r=n(389),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.AnalysisList=o.default,t.renderRatingToColor=r.renderRatingToColor},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.AnalysisList}}),Object.defineProperty(t,"renderRatingToColor",{enumerable:!0,get:function(){return r.renderRatingToColor}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(243);Object.defineProperty(t,"FixedWidthContainer",{enumerable:!0,get:function(){return l(r).default}});var o=n(396);Object.defineProperty(t,"HelpTextWrapper",{enumerable:!0,get:function(){return l(o).default}});var i=n(252);Object.defineProperty(t,"SnippetPreview",{enumerable:!0,get:function(){return l(i).default}});var a=n(131);Object.defineProperty(t,"ReplacementVariableEditor",{enumerable:!0,get:function(){return l(a).default}});var s=n(645);Object.defineProperty(t,"SettingsSnippetEditor",{enumerable:!0,get:function(){return l(s).default}});var u=n(647);Object.defineProperty(t,"SnippetEditor",{enumerable:!0,get:function(){return l(u).default}});var c=n(51);function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"lengthProgressShape",{enumerable:!0,get:function(){return c.lengthProgressShape}}),Object.defineProperty(t,"recommendedReplacementVariablesShape",{enumerable:!0,get:function(){return c.recommendedReplacementVariablesShape}}),Object.defineProperty(t,"replacementVariablesShape",{enumerable:!0,get:function(){return c.replacementVariablesShape}})},function(e,t,n){"use strict";var r=n(392);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){var r=n(25);e.exports=function(){return r.Date.now()}},function(e,t,n){var r=n(58),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=p(n(0)),i=p(n(9)),a=p(n(4)),s=p(n(125)),u=n(5),c=n(23),l=n(11),f=n(397);function p(e){return e&&e.__esModule?e:{default:e}}var d=a.default.div.withConfig({displayName:"HelpTextWrapper__HelpTextContainer",componentId:"taqn4g-0"})(["max-width:600px;font-weight:normal;margin:",";"],(0,c.getDirectionalStyle)("0 20px 0 25px","0 20px 0 15px")),h=a.default.div.withConfig({displayName:"HelpTextWrapper__HelpTextPanel",componentId:"taqn4g-1"})(["max-width:",";"],function(e){return e.panelMaxWidth}),y=(0,a.default)(u.Button).withConfig({displayName:"HelpTextWrapper__HelpTextButton",componentId:"taqn4g-2"})(["min-width:14px;min-height:14px;width:30px;height:30px;border-radius:50%;border:1px solid transparent;box-shadow:none;display:block;margin:-44px -10px 10px 0;background-color:transparent;float:",";padding:",";&:hover{color:",";}&:focus{border:1px solid ",";outline:none;box-shadow:0 0 3px ",";svg{fill:",";color:",";}}&:active{box-shadow:none;}"],(0,c.getDirectionalStyle)("right","left"),(0,c.getDirectionalStyle)("3px 0 0 6px","3px 0 0 5px"),l.colors.$color_blue,l.colors.$color_blue,(0,l.rgba)(l.colors.$color_blue_dark,.8),l.colors.$color_blue,l.colors.$color_blue),g=(0,a.default)(u.SvgIcon).withConfig({displayName:"HelpTextWrapper__StyledSvg",componentId:"taqn4g-3"})(["&:hover{fill:",";}"],l.colors.$color_blue),v=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isExpanded:!1},n.uniqueId=(0,s.default)("yoast-help-"),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.Component),r(t,[{key:"onButtonClick",value:function(){this.setState({isExpanded:!this.state.isExpanded})}},{key:"render",value:function(){var e=this.uniqueId+"-panel",t=this.state.isExpanded;return o.default.createElement(d,{className:this.props.className},o.default.createElement(y,{className:this.props.className+"__button",onClick:this.onButtonClick.bind(this),"aria-expanded":t,"aria-controls":t?e:null,"aria-label":this.props.helpTextButtonLabel},o.default.createElement(g,{size:"16px",color:l.colors.$color_grey_text,icon:"question-circle"})),o.default.createElement(f.YoastSlideToggle,{isOpen:t},o.default.createElement(h,{id:e,className:this.props.className+"__panel",panelMaxWidth:this.props.panelMaxWidth},o.default.createElement(u.HelpText,null,this.props.helpText))))}}]),t}();v.propTypes={className:i.default.string,helpTextButtonLabel:i.default.string.isRequired,panelMaxWidth:i.default.string,helpText:i.default.oneOfType([i.default.string,i.default.array])},v.defaultProps={className:"yoast-help",panelMaxWidth:null,helpText:""},t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.YoastSlideToggle=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=c(n(0)),i=c(n(9)),a=c(n(4)),s=n(398),u=n(406);function c(e){return e&&e.__esModule?e:{default:e}}var l=a.default.div.withConfig({displayName:"animations__YoastSlideToggleContainer",componentId:"pawbkp-0"})(["& >:first-child{overflow:hidden;transition:height "," ease-out;}"],function(e){return e.duration+"ms"}),f=t.YoastSlideToggle=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.Component),r(t,[{key:"resetHeight",value:function(e){e.style.height="0"}},{key:"setHeight",value:function(e){var t=(0,u.getHeight)(e);e.style.height=t+"px"}},{key:"removeHeight",value:function(e){e.style.height=null}},{key:"render",value:function(){return o.default.createElement(l,{duration:this.props.duration},o.default.createElement(s.CSSTransition,{in:this.props.isOpen,timeout:this.props.duration,classNames:"slide",unmountOnExit:!0,onEnter:this.resetHeight,onEntering:this.setHeight,onEntered:this.removeHeight,onExit:this.setHeight,onExiting:this.resetHeight},this.props.children))}}]),t}();f.propTypes={isOpen:i.default.bool.isRequired,duration:i.default.number.isRequired,children:i.default.node},f.defaultProps={duration:300}},function(e,t,n){"use strict";var r=s(n(399)),o=s(n(404)),i=s(n(251)),a=s(n(248));function s(e){return e&&e.__esModule?e:{default:e}}e.exports={Transition:a.default,TransitionGroup:i.default,ReplaceTransition:o.default,CSSTransition:r.default}},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;!function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}t.default=e}(n(9));var r=s(n(400)),o=s(n(403)),i=s(n(0)),a=s(n(248));n(250);function s(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=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}).apply(this,arguments)}var c=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,r.default)(e,t)})},l=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,o.default)(e,t)})},f=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).onEnter=function(e,n){var r=t.getClassNames(n?"appear":"enter").className;t.removeClasses(e,"exit"),c(e,r),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.getClassNames(n?"appear":"enter").activeClassName;t.reflowAndAddClass(e,r),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.getClassNames("appear").doneClassName,o=t.getClassNames("enter").doneClassName,i=n?r+" "+o:o;t.removeClasses(e,n?"appear":"enter"),c(e,i),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.getClassNames("exit").className;t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),c(e,n),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.getClassNames("exit").activeClassName;t.reflowAndAddClass(e,n),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.getClassNames("exit").doneClassName;t.removeClasses(e,"exit"),c(e,n),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?(r&&n?n+"-":"")+e:n[e];return{className:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(t,e);var n=t.prototype;return n.removeClasses=function(e,t){var n=this.getClassNames(t),r=n.className,o=n.activeClassName,i=n.doneClassName;r&&l(e,r),o&&l(e,o),i&&l(e,i)},n.reflowAndAddClass=function(e,t){t&&(e&&e.scrollTop,c(e,t))},n.render=function(){var e=u({},this.props);return delete e.classNames,i.default.createElement(a.default,u({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(i.default.Component);f.defaultProps={classNames:""},f.propTypes={};var p=f;t.default=p,e.exports=t.default},function(e,t,n){"use strict";var r=n(401);t.__esModule=!0,t.default=function(e,t){e.classList?e.classList.add(t):(0,o.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))};var o=r(n(402));e.exports=t.default},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")},e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=r(e.className,t):e.setAttribute("class",r(e.className&&e.className.baseVal||"",t))}},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;a(n(9));var r=a(n(0)),o=n(43),i=a(n(251));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(t,e);var n=t.prototype;return n.handleLifecycle=function(e,t,n){var i,a=this.props.children,s=r.default.Children.toArray(a)[t];s.props[e]&&(i=s.props)[e].apply(i,n),this.props[e]&&this.props[e]((0,o.findDOMNode)(this))},n.render=function(){var e=this.props,t=e.children,n=e.in,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["children","in"]),a=r.default.Children.toArray(t),s=a[0],u=a[1];return delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,r.default.createElement(i.default,o,n?r.default.cloneElement(s,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):r.default.cloneElement(u,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(r.default.Component);s.propTypes={};var u=s;t.default=u,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.getChildMapping=o,t.mergeChildMappings=i,t.getInitialChildMapping=function(e,t){return o(e.children,function(n){return(0,r.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:a(n,"appear",e),enter:a(n,"enter",e),exit:a(n,"exit",e)})})},t.getNextChildMapping=function(e,t,n){var s=o(e.children),u=i(t,s);return Object.keys(u).forEach(function(o){var i=u[o];if((0,r.isValidElement)(i)){var c=o in t,l=o in s,f=t[o],p=(0,r.isValidElement)(f)&&!f.props.in;!l||c&&!p?l||!c||p?l&&c&&(0,r.isValidElement)(f)&&(u[o]=(0,r.cloneElement)(i,{onExited:n.bind(null,i),in:f.props.in,exit:a(i,"exit",e),enter:a(i,"enter",e)})):u[o]=(0,r.cloneElement)(i,{in:!1}):u[o]=(0,r.cloneElement)(i,{onExited:n.bind(null,i),in:!0,exit:a(i,"exit",e),enter:a(i,"enter",e)})}}),u};var r=n(0);function o(e,t){var n=Object.create(null);return e&&r.Children.map(e,function(e){return e}).forEach(function(e){n[e.key]=function(e){return t&&(0,r.isValidElement)(e)?t(e):e}(e)}),n}function i(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var u in t){if(o[u])for(r=0;r<o[u].length;r++){var c=o[u][r];s[o[u][r]]=n(c)}s[u]=n(u)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}function a(e,t,n){return null!=n[t]?n[t]:e.props[t]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHeight=function(e){return Math.max(e.clientHeight,e.offsetHeight,e.scrollHeight)}},function(e,t,n){"use strict";var r=n(0),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(254),a=n(408),s=n(409),u=".",c=":",l="function"==typeof Symbol&&Symbol.iterator,f="@@iterator";function p(e,t){return e&&"object"==typeof e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function d(e,t,n,r){var i,s=typeof e;if("undefined"!==s&&"boolean"!==s||(e=null),null===e||"string"===s||"number"===s||"object"===s&&e.$$typeof===o)return n(r,e,""===t?u+p(e,0):t),1;var h=0,y=""===t?u:t+c;if(Array.isArray(e))for(var g=0;g<e.length;g++)h+=d(i=e[g],y+p(i,g),n,r);else{var v=function(e){var t=e&&(l&&e[l]||e[f]);if("function"==typeof t)return t}(e);if(v){0;for(var m,b=v.call(e),_=0;!(m=b.next()).done;)h+=d(i=m.value,y+p(i,_++),n,r)}else if("object"===s){0;var w=""+e;a(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===w?"object with keys {"+Object.keys(e).join(", ")+"}":w,"")}}return h}var h=/\/+/g;function y(e){return(""+e).replace(h,"$&/")}var g=v,v=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},m=function(e){a(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function b(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function _(e,t,n){var o=e.result,a=e.keyPrefix,s=e.func,u=e.context,c=s.call(u,t,e.count++);Array.isArray(c)?w(c,o,n,i.thatReturnsArgument):null!=c&&(r.isValidElement(c)&&(c=function(e,t){return r.cloneElement(e,{key:t},void 0!==e.props?e.props.children:void 0)}(c,a+(!c.key||t&&t.key===c.key?"":y(c.key)+"/")+n)),o.push(c))}function w(e,t,n,r,o){var i="";null!=n&&(i=y(n)+"/");var a=b.getPooled(t,i,r,o);!function(e,t,n){null==e||d(e,"",t,n)}(e,_,a),b.release(a)}b.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},function(e,t){var n=e;n.instancePool=[],n.getPooled=t||g,n.poolSize||(n.poolSize=10),n.release=m}(b,function(e,t,n,r){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)});e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return s(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return s(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;a(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)w(e[n],t,n,i.thatReturnsArgument);return t}},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,i,a,s,u){if(r(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,o,i,a,s,u],f=0;(c=new Error(t.replace(/%s/g,function(){return l[f++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(254);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t,n){var r=n(247),o=n(412),i=n(128),a=n(29),s=n(413),u=n(415),c=n(418),l=n(129),f=n(126),p=30,d="...",h=/\w*$/;e.exports=function(e,t){var n=p,y=d;if(a(t)){var g="separator"in t?t.separator:g;n="length"in t?l(t.length):n,y="omission"in t?r(t.omission):y}var v=(e=f(e)).length;if(i(e)){var m=c(e);v=m.length}if(n>=v)return e;var b=n-u(y);if(b<1)return y;var _=m?o(m,0,b).join(""):e.slice(0,b);if(void 0===g)return _+y;if(m&&(b+=_.length-b),s(g)){if(e.slice(b).search(g)){var w,S=_;for(g.global||(g=RegExp(g.source,f(h.exec(g))+"g")),g.lastIndex=0;w=g.exec(S);)var E=w.index;_=_.slice(0,void 0===E?b:E)}}else if(e.indexOf(r(g),b)!=b){var x=_.lastIndexOf(g);x>-1&&(_=_.slice(0,x))}return _+y}},function(e,t,n){var r=n(255);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},function(e,t,n){var r=n(414),o=n(82),i=n(83),a=i&&i.isRegExp,s=a?o(a):r;e.exports=s},function(e,t,n){var r=n(39),o=n(30),i="[object RegExp]";e.exports=function(e){return o(e)&&r(e)==i}},function(e,t,n){var r=n(416),o=n(128),i=n(417);e.exports=function(e){return o(e)?i(e):r(e)}},function(e,t,n){var r=n(256)("length");e.exports=r},function(e,t){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+r+"|"+o+")"+"?",c="[\\ufe0e\\ufe0f]?"+u+("(?:\\u200d(?:"+[i,a,s].join("|")+")[\\ufe0e\\ufe0f]?"+u+")*"),l="(?:"+[i+r+"?",r,a,s,n].join("|")+")",f=RegExp(o+"(?="+o+")|"+l+c,"g");e.exports=function(e){for(var t=f.lastIndex=0;f.test(e);)++t;return t}},function(e,t,n){var r=n(419),o=n(128),i=n(420);e.exports=function(e){return o(e)?i(e):r(e)}},function(e,t){e.exports=function(e){return e.split("")}},function(e,t){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+r+"|"+o+")"+"?",c="[\\ufe0e\\ufe0f]?"+u+("(?:\\u200d(?:"+[i,a,s].join("|")+")[\\ufe0e\\ufe0f]?"+u+")*"),l="(?:"+[i+r+"?",r,a,s,n].join("|")+")",f=RegExp(o+"(?="+o+")|"+l+c,"g");e.exports=function(e){return e.match(f)||[]}},function(e,t,n){var r=n(246),o=1/0,i=1.7976931348623157e308;e.exports=function(e){return e?(e=r(e))===o||e===-o?(e<0?-1:1)*i:e==e?e:0:0===e?e:0}},function(e,t,n){"use strict";var r=n(423),o=n(424);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=b,t.resolve=function(e,t){return b(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?b(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=b(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(c),f=["%","/","?",";","#"].concat(l),p=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,y={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},m=n(425);function b(e,t,n){if(e&&o.isObject(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),s=-1!==i&&i<e.indexOf("#")?"?":"#",c=e.split(s);c[0]=c[0].replace(/\\/g,"/");var b=e=c.join(s);if(b=b.trim(),!n&&1===e.split("#").length){var _=u.exec(b);if(_)return this.path=b,this.href=b,this.pathname=_[1],_[2]?(this.search=_[2],this.query=t?m.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=a.exec(b);if(w){var S=(w=w[0]).toLowerCase();this.protocol=S,b=b.substr(w.length)}if(n||w||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var E="//"===b.substr(0,2);!E||w&&g[w]||(b=b.substr(2),this.slashes=!0)}if(!g[w]&&(E||w&&!v[w])){for(var x,O,k=-1,C=0;C<p.length;C++){-1!==(P=b.indexOf(p[C]))&&(-1===k||P<k)&&(k=P)}-1!==(O=-1===k?b.lastIndexOf("@"):b.lastIndexOf("@",k))&&(x=b.slice(0,O),b=b.slice(O+1),this.auth=decodeURIComponent(x)),k=-1;for(C=0;C<f.length;C++){var P;-1!==(P=b.indexOf(f[C]))&&(-1===k||P<k)&&(k=P)}-1===k&&(k=b.length),this.host=b.slice(0,k),b=b.slice(k),this.parseHost(),this.hostname=this.hostname||"";var T="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!T)for(var j=this.hostname.split(/\./),R=(C=0,j.length);C<R;C++){var M=j[C];if(M&&!M.match(d)){for(var A="",I=0,D=M.length;I<D;I++)M.charCodeAt(I)>127?A+="x":A+=M[I];if(!A.match(d)){var L=j.slice(0,C),N=j.slice(C+1),B=M.match(h);B&&(L.push(B[1]),N.unshift(B[2])),N.length&&(b="/"+N.join(".")+b),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=r.toASCII(this.hostname));var K=this.port?":"+this.port:"",F=this.hostname||"";this.host=F+K,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!y[S])for(C=0,R=l.length;C<R;C++){var U=l[C];if(-1!==b.indexOf(U)){var z=encodeURIComponent(U);z===U&&(z=escape(U)),b=b.split(U).join(z)}}var q=b.indexOf("#");-1!==q&&(this.hash=b.substr(q),b=b.slice(0,q));var W=b.indexOf("?");if(-1!==W?(this.search=b.substr(W),this.query=b.substr(W+1),t&&(this.query=m.parse(this.query)),b=b.slice(0,W)):t&&(this.search="",this.query={}),b&&(this.pathname=b),v[S]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){K=this.pathname||"";var V=this.search||"";this.path=K+V}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,a="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(a=m.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||v[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),t+i+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(s=s.replace("#","%23"))+r},i.prototype.resolve=function(e){return this.resolveObject(b(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(o.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var n=new i,r=Object.keys(this),a=0;a<r.length;a++){var s=r[a];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var u=Object.keys(e),c=0;c<u.length;c++){var l=u[c];"protocol"!==l&&(n[l]=e[l])}return v[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!v[e.protocol]){for(var f=Object.keys(e),p=0;p<f.length;p++){var d=f[p];n[d]=e[d]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||g[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var y=n.pathname||"",m=n.search||"";n.path=y+m}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var b=n.pathname&&"/"===n.pathname.charAt(0),_=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=_||b||n.host&&e.pathname,S=w,E=n.pathname&&n.pathname.split("/")||[],x=(h=e.pathname&&e.pathname.split("/")||[],n.protocol&&!v[n.protocol]);if(x&&(n.hostname="",n.port=null,n.host&&(""===E[0]?E[0]=n.host:E.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),w=w&&(""===h[0]||""===E[0])),_)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,E=h;else if(h.length)E||(E=[]),E.pop(),E=E.concat(h),n.search=e.search,n.query=e.query;else if(!o.isNullOrUndefined(e.search)){if(x)n.hostname=n.host=E.shift(),(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!E.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var O=E.slice(-1)[0],k=(n.host||e.host||E.length>1)&&("."===O||".."===O)||""===O,C=0,P=E.length;P>=0;P--)"."===(O=E[P])?E.splice(P,1):".."===O?(E.splice(P,1),C++):C&&(E.splice(P,1),C--);if(!w&&!S)for(;C--;C)E.unshift("..");!w||""===E[0]||E[0]&&"/"===E[0].charAt(0)||E.unshift(""),k&&"/"!==E.join("/").substr(-1)&&E.push("");var T,j=""===E[0]||E[0]&&"/"===E[0].charAt(0);x&&(n.hostname=n.host=j?"":E.length?E.shift():"",(T=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=T.shift(),n.host=n.hostname=T.shift()));return(w=w||n.host&&E.length)&&!j&&E.unshift(""),E.length?n.pathname=E.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){(function(e,r){var o;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(i){"object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType;var a="object"==typeof r&&r;a.global!==a&&a.window!==a&&a.self;var s,u=2147483647,c=36,l=1,f=26,p=38,d=700,h=72,y=128,g="-",v=/^xn--/,m=/[^\x20-\x7E]/,b=/[\x2E\u3002\uFF0E\uFF61]/g,_={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=c-l,S=Math.floor,E=String.fromCharCode;function x(e){throw new RangeError(_[e])}function O(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function k(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+O((e=e.replace(b,".")).split("."),t).join(".")}function C(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function P(e){return O(e,function(e){var t="";return e>65535&&(t+=E((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=E(e)}).join("")}function T(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:c}function j(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function R(e,t,n){var r=0;for(e=n?S(e/d):e>>1,e+=S(e/t);e>w*f>>1;r+=c)e=S(e/w);return S(r+(w+1)*e/(e+p))}function M(e){var t,n,r,o,i,a,s,p,d,v,m=[],b=e.length,_=0,w=y,E=h;for((n=e.lastIndexOf(g))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&x("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<b;){for(i=_,a=1,s=c;o>=b&&x("invalid-input"),((p=T(e.charCodeAt(o++)))>=c||p>S((u-_)/a))&&x("overflow"),_+=p*a,!(p<(d=s<=E?l:s>=E+f?f:s-E));s+=c)a>S(u/(v=c-d))&&x("overflow"),a*=v;E=R(_-i,t=m.length+1,0==i),S(_/t)>u-w&&x("overflow"),w+=S(_/t),_%=t,m.splice(_++,0,w)}return P(m)}function A(e){var t,n,r,o,i,a,s,p,d,v,m,b,_,w,O,k=[];for(b=(e=C(e)).length,t=y,n=0,i=h,a=0;a<b;++a)(m=e[a])<128&&k.push(E(m));for(r=o=k.length,o&&k.push(g);r<b;){for(s=u,a=0;a<b;++a)(m=e[a])>=t&&m<s&&(s=m);for(s-t>S((u-n)/(_=r+1))&&x("overflow"),n+=(s-t)*_,t=s,a=0;a<b;++a)if((m=e[a])<t&&++n>u&&x("overflow"),m==t){for(p=n,d=c;!(p<(v=d<=i?l:d>=i+f?f:d-i));d+=c)O=p-v,w=c-v,k.push(E(j(v+O%w,0))),p=S(O/w);k.push(E(j(p,0))),i=R(n,_,r==o),n=0,++r}++n,++t}return k.join("")}s={version:"1.4.1",ucs2:{decode:C,encode:P},decode:M,encode:A,toASCII:function(e){return k(e,function(e){return m.test(e)?"xn--"+A(e):e})},toUnicode:function(e){return k(e,function(e){return v.test(e)?M(e.slice(4).toLowerCase()):e})}},void 0===(o=function(){return s}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(28)(e),n(7))},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";t.decode=t.parse=n(426),t.encode=t.stringify=n(427)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var u=1e3;i&&"number"==typeof i.maxKeys&&(u=i.maxKeys);var c=e.length;u>0&&c>u&&(c=u);for(var l=0;l<c;++l){var f,p,d,h,y=e[l].replace(s,"%20"),g=y.indexOf(n);g>=0?(f=y.substr(0,g),p=y.substr(g+1)):(f=y,p=""),d=decodeURIComponent(f),h=decodeURIComponent(p),r(a,d)?o(a[d])?a[d].push(h):a[d]=[a[d],h]:a[d]=h}return a};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,s){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?i(a(e),function(a){var s=encodeURIComponent(r(a))+n;return o(e[a])?i(e[a],function(e){return s+encodeURIComponent(r(e))}).join(t):s+encodeURIComponent(r(e[a]))}).join(t):s?encodeURIComponent(r(s))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function i(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var a=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReplacementVariableEditorStandaloneInnerComponent=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=O(n(0)),a=O(n(429)),s=O(n(533)),u=O(n(552)),c=O(n(244)),l=O(n(554)),f=O(n(567)),p=O(n(619)),d=O(n(153)),h=O(n(9)),y=n(317),g=n(8),v=n(4),m=O(v),b=n(51),_=n(640),w=n(641),S=n(642),E=n(643),x=n(644);function O(e){return e&&e.__esModule?e:{default:e}}var k=m.default.div.withConfig({displayName:"ReplacementVariableEditorStandalone__ZIndexOverride",componentId:"sc-1dt8csi-0"})(["div{z-index:10995;}"]),C=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=n.props,o=r.content,i=r.replacementVariables,a=r.recommendedReplacementVariables,s=(0,S.unserializeEditor)(o,i),u=n.determineCurrentReplacementVariables(i,a);return n.state={editorState:s,searchValue:"",suggestions:n.mapReplacementVariablesToSuggestions(u)},n._serializedContent=o,n.initializeBinds(),n.initializeDraftJsPlugins(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.default.Component),o(t,[{key:"initializeBinds",value:function(){this.onChange=this.onChange.bind(this),this.onSearchChange=this.onSearchChange.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setMentionSuggestionsRef=this.setMentionSuggestionsRef.bind(this),this.handleCopyCutEvent=this.handleCopyCutEvent.bind(this),this.debouncedA11ySpeak=(0,c.default)(y.speak.bind(this),500),this.debouncedUpdateMentionSuggestions=(0,c.default)(this.updateMentionSuggestions.bind(this),100)}},{key:"initializeDraftJsPlugins",value:function(){this.mentionsPlugin=(0,s.default)({mentionTrigger:"%",entityMutability:"IMMUTABLE",positionSuggestions:_.positionSuggestions,mentionComponent:w.Mention}),this.singleLinePlugin=(0,u.default)({stripEntities:!1})}},{key:"serializeContent",value:function(e){var t=(0,S.serializeEditor)(e.getCurrentContent());this._serializedContent!==t&&(this._serializedContent=t,this.props.onChange(this._serializedContent))}},{key:"onChange",value:function(e){var t=this;return new Promise(function(n){e=(0,S.replaceReplacementVariables)(e,t.props.replacementVariables),e=(0,x.selectReplacementVariables)(e,t.state.editorState),t.setState({editorState:e},function(){t.serializeContent(e),n()})})}},{key:"mapReplacementVariablesToSuggestions",value:function(e){return e.map(function(e){return r({},e,{name:e.label,replaceName:e.name})})}},{key:"suggestionsFilter",value:function(e,t){var n=e.toLowerCase();return t.filter(function(e){return!n||0===e.name.toLowerCase().indexOf(n)})}},{key:"determineCurrentReplacementVariables",value:function(e,t){if(""===(arguments.length>2&&void 0!==arguments[2]?arguments[2]:"")&&!(0,l.default)(t)){var n=(0,f.default)(e,function(e){return(0,p.default)(t,e.name)});if(0!==n.length)return n}return e}},{key:"onSearchChange",value:function(e){var t=this,n=e.value,r=this.determineCurrentReplacementVariables(this.props.replacementVariables,this.props.recommendedReplacementVariables,n),o=this.mapReplacementVariablesToSuggestions(r);this.setState({searchValue:n,suggestions:this.suggestionsFilter(n,o)}),setTimeout(function(){t.announceSearchResults()})}},{key:"announceSearchResults",value:function(){var e=this.state.suggestions;e.length?this.debouncedA11ySpeak((0,g.sprintf)((0,g._n)("%d result found, use up and down arrow keys to navigate","%d results found, use up and down arrow keys to navigate",e.length,"yoast-components"),e.length),"assertive"):this.debouncedA11ySpeak((0,g.__)("No results","yoast-components"),"assertive")}},{key:"updateMentionSuggestions",value:function(){this.mentionSuggestions.forceUpdate()}},{key:"focus",value:function(){this.editor.focus()}},{key:"setEditorRef",value:function(e){this.editor=e}},{key:"setEditorFieldId",value:function(){(0,d.default)(this.editor,"editor.editor").id=this.props.fieldId}},{key:"setMentionSuggestionsRef",value:function(e){this.mentionSuggestions=e}},{key:"triggerReplacementVariableSuggestions",value:function(){var e=this,t=(0,E.removeSelectedText)(this.state.editorState),n=t.getSelection(),r=t.getCurrentContent(),o=(0,E.getAnchorBlock)(r,n).getText(),i=(0,E.getCaretOffset)(n),a=!(0,E.hasWhitespaceAt)(o,i-1),s=!(0,E.hasWhitespaceAt)(o,i),u=(0,E.getTrigger)(a,s);if(t=(0,E.insertText)(t,u),s){var c=i+u.length-1;t=(0,E.moveCaret)(t,c)}this.onChange(t).then(function(){return e.focus()})}},{key:"componentWillReceiveProps",value:function(e){var t=this.props,n=t.content,r=t.replacementVariables,o=t.recommendedReplacementVariables,i=this.state.searchValue;if(e.content!==this._serializedContent&&e.content!==n||e.replacementVariables!==r){this._serializedContent=e.content;var a=(0,S.unserializeEditor)(e.content,e.replacementVariables),s=this.determineCurrentReplacementVariables(e.replacementVariables,o,i),u=this.mapReplacementVariablesToSuggestions(s);this.setState({editorState:a,suggestions:this.suggestionsFilter(i,u)})}}},{key:"handleCopyCutEvent",value:function(e){var t=this.state.editorState,n=t.getSelection();if(n.getHasFocus())try{var r=e.clipboardData,o=t.getCurrentContent(),i=(0,S.serializeSelection)(o,n);r.setData("text/plain",i),e.preventDefault()}catch(e){console.error("Couldn't copy content of editor to clipboard, defaulting to browser copy behavior."),console.error("Original error: ",e)}}},{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.debouncedUpdateMentionSuggestions),document.addEventListener("copy",this.handleCopyCutEvent),document.addEventListener("cut",this.handleCopyCutEvent),this.setEditorFieldId()}},{key:"componentWillUnmount",value:function(){this.debouncedA11ySpeak.cancel(),window.removeEventListener("scroll",this.debouncedUpdateMentionSuggestions),document.removeEventListener("copy",this.handleCopyCutEvent),document.removeEventListener("cut",this.handleCopyCutEvent)}},{key:"render",value:function(){var e=this.mentionsPlugin.MentionSuggestions,t=this.props,n=t.onFocus,r=t.onBlur,o=t.ariaLabelledBy,s=t.placeholder,u=t.theme,c=this.state,l=c.editorState,f=c.suggestions;return i.default.createElement(i.default.Fragment,null,i.default.createElement(a.default,{textDirectionality:u.isRtl?"RTL":"LTR",editorState:l,onChange:this.onChange,onFocus:n,onBlur:r,plugins:[this.mentionsPlugin,this.singleLinePlugin],ref:this.setEditorRef,stripPastedStyles:!0,ariaLabelledBy:o,placeholder:s}),i.default.createElement(k,null,i.default.createElement(e,{onSearchChange:this.onSearchChange,suggestions:f,ref:this.setMentionSuggestionsRef})))}}]),t}();C.propTypes={content:h.default.string.isRequired,replacementVariables:b.replacementVariablesShape,recommendedReplacementVariables:b.recommendedReplacementVariablesShape,ariaLabelledBy:h.default.string.isRequired,onChange:h.default.func.isRequired,onFocus:h.default.func,onBlur:h.default.func,theme:h.default.object,placeholder:h.default.string,fieldId:h.default.string},C.defaultProps={onClick:function(){},onFocus:function(){},onBlur:function(){},className:"",placeholder:""},t.ReplacementVariableEditorStandaloneInnerComponent=C,t.default=(0,v.withTheme)(C)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.composeDecorators=t.createEditorStateWithText=t.default=void 0;var r=a(n(430)),o=a(n(521)),i=a(n(522));function a(e){return e&&e.__esModule?e:{default:e}}t.default=i.default;t.createEditorStateWithText=r.default,t.composeDecorators=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18);t.default=function(e){return r.EditorState.createWithContent(r.ContentState.createFromText(e))}},function(e,t,n){"use strict";var r=n(21)||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(65),i=n(19),a=n(46),s=n(22),u=n(40),c=n(16),l=n(3),f=n(1),p=(n(59),n(33)),d=n(446),h=u.draft_tree_data_support,y=h?s:a,g=f.List,v=f.Repeat,m={insertAtomicBlock:function(e,t,n){var a=e.getCurrentContent(),s=e.getSelection(),u=c.removeRange(a,s,"backward"),f=u.getSelectionAfter(),d=c.splitBlock(u,f),m=d.getSelectionAfter(),b=c.setBlockType(d,m,"atomic"),_=i.create({entity:t}),w={key:p(),type:"atomic",text:n,characterList:g(v(_,n.length))},S={key:p(),type:"unstyled"};h&&(w=r({},w,{nextSibling:S.key}),S=r({},S,{prevSibling:w.key}));var E=[new y(w),new y(S)],x=o.createFromArray(E),O=c.replaceWithFragment(b,m,x),k=O.merge({selectionBefore:s,selectionAfter:O.getSelectionAfter().set("hasFocus",!0)});return l.push(e,k,"insert-fragment")},moveAtomicBlock:function(e,t,n,r){var o=e.getCurrentContent(),i=e.getSelection(),a=void 0;if("before"===r||"after"===r){var s=o.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());a=d(o,t,s,r)}else{var u=c.removeRange(o,n,"backward"),f=u.getSelectionAfter(),p=u.getBlockForKey(f.getFocusKey());if(0===f.getStartOffset())a=d(u,t,p,"before");else if(f.getEndOffset()===p.getLength())a=d(u,t,p,"after");else{var h=c.splitBlock(u,f),y=h.getSelectionAfter(),g=h.getBlockForKey(y.getFocusKey());a=d(h,t,g,"before")}}var v=a.merge({selectionBefore:i,selectionAfter:a.getSelectionAfter().set("hasFocus",!0)});return l.push(e,v,"move-block")}};e.exports=m},function(e,t,n){"use strict";e.exports={draft_killswitch_allow_nontextnodes:!1,draft_segmented_entities_behavior:!1,draft_handlebeforeinput_composed_text:!1,draft_tree_data_support:!1}},function(e,t,n){"use strict";var r=n(19),o=n(1).Map,i={add:function(e,t,n){return a(e,t,n,!0)},remove:function(e,t,n){return a(e,t,n,!1)}};function a(e,t,n,i){var a=e.getBlockMap(),s=t.getStartKey(),u=t.getStartOffset(),c=t.getEndKey(),l=t.getEndOffset(),f=a.skipUntil(function(e,t){return t===s}).takeUntil(function(e,t){return t===c}).concat(o([[c,a.get(c)]])).map(function(e,t){var o,a;s===c?(o=u,a=l):(o=t===s?u:0,a=t===c?l:e.getLength());for(var f,p=e.getCharacterList();o<a;)f=p.get(o),p=p.set(o,i?r.applyStyle(f,n):r.removeStyle(f,n)),o++;return e.set("characterList",p)});return e.merge({blockMap:a.merge(f),selectionBefore:t,selectionAfter:t})}e.exports=i},function(e,t,n){"use strict";var r=n(1),o=n(435);e.exports=function(e,t,n){var i=e.getBlockMap(),a=t.getStartKey(),s=t.getStartOffset(),u=t.getEndKey(),c=t.getEndOffset(),l=i.skipUntil(function(e,t){return t===a}).takeUntil(function(e,t){return t===u}).toOrderedMap().merge(r.OrderedMap([[u,i.get(u)]])).map(function(e,t){var r=t===a?s:0,i=t===u?c:e.getLength();return o(e,r,i,n)});return e.merge({blockMap:i.merge(l),selectionBefore:t,selectionAfter:t})}},function(e,t,n){"use strict";var r=n(19);e.exports=function(e,t,n,o){for(var i=e.getCharacterList();t<n;)i=i.set(t,r.applyEntity(i.get(t),o)),t++;return e.set("characterList",i)}},function(e,t,n){"use strict";var r=n(437),o=n(438),i=n(2);function a(e,t,n,a,s,u,c){var l=n.getStartOffset(),f=n.getEndOffset(),p=e.__get(s).getMutability(),d=c?l:f;if("MUTABLE"===p)return n;var h=o(t,s).filter(function(e){return d<=e.end&&d>=e.start});1!=h.length&&i(!1);var y=h[0];if("IMMUTABLE"===p)return n.merge({anchorOffset:y.start,focusOffset:y.end,isBackward:!1});u||(c?f=y.end:l=y.start);var g=r.getRemovalRange(l,f,t.getText().slice(y.start,y.end),y.start,a);return n.merge({anchorOffset:g.start,focusOffset:g.end,isBackward:!1})}e.exports=function(e,t,n,r,o){var i=r.getStartOffset(),s=r.getEndOffset(),u=t.getEntityAt(i),c=n.getEntityAt(s-1);if(!u&&!c)return r;var l=r;if(u&&u===c)l=a(e,t,l,o,u,!0,!0);else if(u&&c){var f=a(e,t,l,o,u,!1,!0),p=a(e,n,l,o,c,!1,!1);l=l.merge({anchorOffset:f.getAnchorOffset(),focusOffset:p.getFocusOffset(),isBackward:!1})}else if(u){var d=a(e,t,l,o,u,!1,!0);l=l.merge({anchorOffset:d.getStartOffset(),isBackward:!1})}else if(c){var h=a(e,n,l,o,c,!1,!1);l=l.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return l}},function(e,t,n){"use strict";e.exports={getRemovalRange:function(e,t,n,r,o){var i=n.split(" ");i=i.map(function(e,t){if("forward"===o){if(t>0)return" "+e}else if(t<i.length-1)return e+" ";return e});for(var a,s=r,u=null,c=null,l=0;l<i.length;l++){if(e<(a=s+i[l].length)&&s<t)null!==u?c=a:(u=s,c=a);else if(null!==u)break;s=a}var f=r+n.length,p=u===r,d=c===f;return(!p&&d||p&&!d)&&("forward"===o?c!==f&&c++:u!==r&&u--),{start:u,end:c}}}},function(e,t,n){"use strict";var r=n(2);e.exports=function(e,t){var n=[];return e.findEntityRanges(function(e){return e.getEntity()===t},function(e,t){n.push({start:e,end:t})}),n.length||r(!1),n}},function(e,t,n){"use strict";var r=n(65),o=n(22),i=n(1),a=n(259),s=n(2),u=n(257),c=i.List,l=function(e,t,n,i,a,s){var u=n.first()instanceof o,l=[],f=i.size,p=n.get(a),d=i.first(),h=i.last(),y=h.getLength(),g=h.getKey(),v=u&&(!p.getChildKeys().isEmpty()||!d.getChildKeys().isEmpty());n.forEach(function(e,t){t===a?(v?l.push(e):l.push(function(e,t,n){var r=e.getText(),o=e.getCharacterList(),i=r.slice(0,t),a=o.slice(0,t),s=n.first();return e.merge({text:i+s.getText(),characterList:a.concat(s.getCharacterList()),type:i?e.getType():s.getType(),data:s.getData()})}(e,s,i)),i.slice(v?0:1,f-1).forEach(function(e){return l.push(e)}),l.push(function(e,t,n){var r=e.getText(),o=e.getCharacterList(),i=r.length,a=r.slice(t,i),s=o.slice(t,i),u=n.last();return u.merge({text:u.getText()+a,characterList:u.getCharacterList().concat(s),data:u.getData()})}(e,s,i))):l.push(e)});var m=r.createFromArray(l);return u&&(m=function(e,t,n,r){return e.withMutations(function(t){var o=n.getKey(),i=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),u=function(e,t){var n=e.getKey(),r=e,o=[];for(t.get(n)&&o.push(n);r&&r.getNextSiblingKey();){var i=r.getNextSiblingKey();if(!i)break;o.push(i),r=t.get(i)}return o}(r,e),l=u[u.length-1];if(t.get(i)?(t.setIn([o,"nextSibling"],i),t.setIn([i,"prevSibling"],o)):(t.setIn([o,"nextSibling"],r.getNextSiblingKey()),t.setIn([r.getNextSiblingKey(),"prevSibling"],o)),t.setIn([l,"nextSibling"],a),a&&t.setIn([a,"prevSibling"],l),u.forEach(function(e){return t.setIn([e,"parent"],s)}),s){var f=e.get(s).getChildKeys(),p=f.indexOf(o)+1,d=f.toArray();d.splice.apply(d,[p,0].concat(u)),t.setIn([s,"children"],c(d))}})}(m,0,p,d)),e.merge({blockMap:m,selectionBefore:t,selectionAfter:t.merge({anchorKey:g,anchorOffset:y,focusKey:g,focusOffset:y,isBackward:!1})})};e.exports=function(e,t,n){t.isCollapsed()||s(!1);var r=e.getBlockMap(),i=u(n),c=t.getStartKey(),f=t.getStartOffset(),p=r.get(c);return p instanceof o&&(p.getChildKeys().isEmpty()||s(!1)),1===i.size?function(e,t,n,r,o,i){var s=n.get(o),u=s.getText(),c=s.getCharacterList(),l=o,f=i+r.getText().length,p=s.merge({text:u.slice(0,i)+r.getText()+u.slice(i),characterList:a(c,r.getCharacterList(),i),data:r.getData()});return e.merge({blockMap:n.set(o,p),selectionBefore:t,selectionAfter:t.merge({anchorKey:l,anchorOffset:f,focusKey:l,focusOffset:f,isBackward:!1})})}(e,t,r,i.first(),c,f):l(e,t,r,i,c,f)}},function(e,t,n){"use strict";var r=n(1),o=n(259),i=n(2),a=r.Repeat;e.exports=function(e,t,n,r){t.isCollapsed()||i(!1);var s=n.length;if(!s)return e;var u=e.getBlockMap(),c=t.getStartKey(),l=t.getStartOffset(),f=u.get(c),p=f.getText(),d=f.merge({text:p.slice(0,l)+n+p.slice(l,f.getLength()),characterList:o(f.getCharacterList(),a(r,s).toList(),l)}),h=l+s;return e.merge({blockMap:u.set(c,d),selectionAfter:t.merge({anchorOffset:h,focusOffset:h})})}},function(e,t,n){"use strict";var r=n(1).Map;e.exports=function(e,t,n){var o=t.getStartKey(),i=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil(function(e,t){return t===o}).takeUntil(function(e,t){return t===i}).concat(r([[i,a.get(i)]])).map(n);return e.merge({blockMap:a.merge(s),selectionBefore:t,selectionAfter:t})}},function(e,t,n){"use strict";var r=n(22),o=n(1),i=n(260),a=(o.List,o.Map),s=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}},u=function(e,t){var n=[];if(!e)return n;for(var r=t.get(e);r&&r.getParentKey();){var o=r.getParentKey();o&&n.push(o),r=o?t.get(o):null}return n},c=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getNextSiblingKey();r&&!t.get(r);)r=n.get(r).getNextSiblingKey()||null;return r},l=function(e,t,n){if(!e)return null;for(var r=n.get(e.getKey()).getPrevSiblingKey();r&&!t.get(r);)r=n.get(r).getPrevSiblingKey()||null;return r},f=function(e,t,n,r){return e.withMutations(function(e){s(t.getKey(),e,function(n){return n.merge({nextSibling:c(t,e,r),prevSibling:l(t,e,r)})}),s(n.getKey(),e,function(t){return t.merge({nextSibling:c(n,e,r),prevSibling:l(n,e,r)})}),u(t.getKey(),r).forEach(function(t){return s(t,e,function(t){return t.merge({children:t.getChildKeys().filter(function(t){return e.get(t)}),nextSibling:c(t,e,r),prevSibling:l(t,e,r)})})}),s(t.getNextSiblingKey(),e,function(e){return e.merge({prevSibling:t.getPrevSiblingKey()})}),s(t.getPrevSiblingKey(),e,function(n){return n.merge({nextSibling:c(t,e,r)})}),s(n.getNextSiblingKey(),e,function(t){return t.merge({prevSibling:l(n,e,r)})}),s(n.getPrevSiblingKey(),e,function(e){return e.merge({nextSibling:n.getNextSiblingKey()})}),u(n.getKey(),r).forEach(function(t){s(t,e,function(t){return t.merge({children:t.getChildKeys().filter(function(t){return e.get(t)}),nextSibling:c(t,e,r),prevSibling:l(t,e,r)})})}),function(e,t){var n=[];if(!e)return n;for(var r=i(e,t);r&&t.get(r);){var o=t.get(r);n.push(r),r=o.getParentKey()?i(o,t):null}return n}(n,r).forEach(function(t){return s(t,e,function(t){return t.merge({nextSibling:c(t,e,r),prevSibling:l(t,e,r)})})})})},p=function(e,t,n){if(0===t)for(;t<n;)e=e.shift(),t++;else if(n===e.count())for(;n>t;)e=e.pop(),n--;else{var r=e.slice(0,t),o=e.slice(n);e=r.concat(o).toList()}return e};e.exports=function(e,t){if(t.isCollapsed())return e;var n=e.getBlockMap(),o=t.getStartKey(),s=t.getStartOffset(),c=t.getEndKey(),l=t.getEndOffset(),d=n.get(o),h=n.get(c),y=d instanceof r,g=[];if(y){var v=h.getChildKeys(),m=u(c,n);h.getNextSiblingKey()&&(g=g.concat(m)),v.isEmpty()||(g=g.concat(m.concat([c]))),g=g.concat(u(i(h,n),n))}var b=void 0;b=d===h?p(d.getCharacterList(),s,l):d.getCharacterList().slice(0,s).concat(h.getCharacterList().slice(l));var _=d.merge({text:d.getText().slice(0,s)+h.getText().slice(l),characterList:b}),w=n.toSeq().skipUntil(function(e,t){return t===o}).takeUntil(function(e,t){return t===c}).filter(function(e,t){return-1===g.indexOf(t)}).concat(a([[c,null]])).map(function(e,t){return t===o?_:null}),S=n.merge(w).filter(function(e){return!!e});return y&&(S=f(S,d,h,n)),e.merge({blockMap:S,selectionBefore:t,selectionAfter:t.merge({anchorKey:o,anchorOffset:s,focusKey:o,focusOffset:s,isBackward:!1})})}},function(e,t,n){"use strict";var r=n(22),o=n(1),i=n(33),a=n(2),s=o.List,u=o.Map,c=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}};e.exports=function(e,t){t.isCollapsed()||a(!1);var n=t.getAnchorKey(),o=t.getAnchorOffset(),l=e.getBlockMap(),f=l.get(n),p=f.getText(),d=f.getCharacterList(),h=i(),y=f instanceof r,g=f.merge({text:p.slice(0,o),characterList:d.slice(0,o)}),v=g.merge({key:h,text:p.slice(o),characterList:d.slice(o),data:u()}),m=l.toSeq().takeUntil(function(e){return e===f}),b=l.toSeq().skipUntil(function(e){return e===f}).rest(),_=m.concat([[n,g],[h,v]],b).toOrderedMap();return y&&(f.getChildKeys().isEmpty()||a(!1),_=function(e,t,n){return e.withMutations(function(e){var r=t.getKey(),o=n.getKey();c(t.getParentKey(),e,function(e){var t=e.getChildKeys(),n=t.indexOf(r)+1,i=t.toArray();return i.splice(n,0,o),e.merge({children:s(i)})}),c(t.getNextSiblingKey(),e,function(e){return e.merge({prevSibling:o})}),c(r,e,function(e){return e.merge({nextSibling:o})}),c(o,e,function(e){return e.merge({prevSibling:r})})})}(_,g,v)),e.merge({blockMap:_,selectionBefore:t,selectionAfter:t.merge({anchorKey:h,anchorOffset:0,focusKey:h,focusOffset:0,isBackward:!1})})}},function(e,t,n){"use strict";var r,o=n(1),i=n(445),a=n(26),s=o.OrderedMap,u={getDirectionMap:function(e,t){r?r.reset():r=new i;var n=e.getBlockMap(),u=n.valueSeq().map(function(e){return a(r).getDirection(e.getText())}),c=s(n.keySeq().zip(u));return null!=t&&o.is(t,c)?t:c}};e.exports=u},function(e,t,n){"use strict";var r=n(263),o=n(135),i=n(2),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t?o.isStrong(t)||i(!1):t=o.getGlobalDir(),this._defaultDir=t,this.reset()}return e.prototype.reset=function(){this._lastDir=this._defaultDir},e.prototype.getDirection=function(e){return this._lastDir=r.getDirection(e,this._lastDir),this._lastDir},e}();e.exports=a},function(e,t,n){"use strict";var r=n(22),o=n(1),i=n(260),a=n(2),s=o.OrderedMap,u=o.List,c=function(e,t,n){if(e){var r=t.get(e);r&&t.set(e,n(r))}};e.exports=function(e,t,n,o){"replace"===o&&a(!1);var l=n.getKey(),f=t.getKey();f===l&&a(!1);var p=e.getBlockMap(),d=t instanceof r,h=[t],y=p.delete(f);d&&(h=[],y=p.withMutations(function(e){var n=t.getNextSiblingKey(),r=i(t,e);e.toSeq().skipUntil(function(e){return e.getKey()===f}).takeWhile(function(e){var t=e.getKey(),o=t===f,i=n&&t!==n,a=!n&&e.getParentKey()&&(!r||t!==r);return!!(o||i||a)}).forEach(function(t){h.push(t),e.delete(t.getKey())})}));var g=y.toSeq().takeUntil(function(e){return e===n}),v=y.toSeq().skipUntil(function(e){return e===n}).skip(1),m=h.map(function(e){return[e.getKey(),e]}),b=s();if("before"===o){var _=e.getBlockBefore(l);_&&_.getKey()===t.getKey()&&a(!1),b=g.concat([].concat(m,[[l,n]]),v).toOrderedMap()}else if("after"===o){var w=e.getBlockAfter(l);w&&w.getKey()===f&&a(!1),b=g.concat([[l,n]].concat(m),v).toOrderedMap()}return e.merge({blockMap:function(e,t,n,r,o){if(!o)return e;var i="after"===r,a=t.getKey(),s=n.getKey(),l=t.getParentKey(),f=t.getNextSiblingKey(),p=t.getPrevSiblingKey(),d=n.getParentKey(),h=i?n.getNextSiblingKey():s,y=i?s:n.getPrevSiblingKey();return e.withMutations(function(e){c(l,e,function(e){var t=e.getChildKeys();return e.merge({children:t.delete(t.indexOf(a))})}),c(p,e,function(e){return e.merge({nextSibling:f})}),c(f,e,function(e){return e.merge({prevSibling:p})}),c(h,e,function(e){return e.merge({prevSibling:a})}),c(y,e,function(e){return e.merge({nextSibling:a})}),c(d,e,function(e){var t=e.getChildKeys(),n=t.indexOf(s),r=i?n+1:0!==n?n-1:0,o=t.toArray();return o.splice(r,0,a),e.merge({children:u(o)})}),c(a,e,function(e){return e.merge({nextSibling:h,prevSibling:y,parent:d})})})}(b,t,n,o,d),selectionBefore:e.getSelectionAfter(),selectionAfter:e.getSelectionAfter().merge({anchorKey:f,focusKey:f})})}},function(e,t,n){"use strict";var r=n(1).List,o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._decorators=t.slice()}return e.prototype.getDecorations=function(e,t){var n=Array(e.getText().length).fill(null);return this._decorators.forEach(function(r,o){var i=0;(0,r.strategy)(e,function(e,t){(function(e,t,n){for(var r=t;r<n;r++)if(null!=e[r])return!1;return!0})(n,e,t)&&(function(e,t,n,r){for(var o=t;o<n;o++)e[o]=r}(n,e,t,o+"."+i),i++)},t)}),r(n)},e.prototype.getComponentForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].component},e.prototype.getPropsForKey=function(e){var t=parseInt(e.split(".")[0],10);return this._decorators[t].props},e}();e.exports=o},function(e,t,n){"use strict";var r=n(21)||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};var o=n(136),i=n(264),a=n(449),s=n(450),u=n(473),c=n(476),l=n(510),f=n(3),p=n(0),d=n(43),h=n(268),y=n(140),g=n(31),v=n(60),m=n(132),b=n(33),_=n(281),w=n(141),S=n(2),E=n(26),x=g.isBrowser("IE"),O=!x,k={edit:c,composite:a,drag:u,cut:null,render:null},C=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return r.focus=function(e){var t=r.props.editorState,n=t.getSelection().getHasFocus(),o=d.findDOMNode(r.editor);if(o){var i=y.getScrollParent(o),a=e||w(i),s=a.x,u=a.y;o instanceof HTMLElement||S(!1),o.focus(),i===window?window.scrollTo(s,u):h.setTop(i,u),n||r.update(f.forceSelection(t,t.getSelection()))}},r.blur=function(){var e=d.findDOMNode(r.editor);e instanceof HTMLElement||S(!1),e.blur()},r.setMode=function(e){r._handler=k[e]},r.exitCurrentMode=function(){r.setMode("edit")},r.restoreEditorDOM=function(e){r.setState({contentsKey:r.state.contentsKey+1},function(){r.focus(e)})},r.setClipboard=function(e){r._clipboard=e},r.getClipboard=function(){return r._clipboard},r.update=function(e){r._latestEditorState=e,r.props.onChange(e)},r.onDragEnter=function(){r._dragCount++},r.onDragLeave=function(){r._dragCount--,0===r._dragCount&&r.exitCurrentMode()},r._blockSelectEvents=!1,r._clipboard=null,r._handler=null,r._dragCount=0,r._editorKey=n.editorKey||b(),r._placeholderAccessibilityID="placeholder-"+r._editorKey,r._latestEditorState=n.editorState,r._latestCommittedEditorState=n.editorState,r._onBeforeInput=r._buildHandler("onBeforeInput"),r._onBlur=r._buildHandler("onBlur"),r._onCharacterData=r._buildHandler("onCharacterData"),r._onCompositionEnd=r._buildHandler("onCompositionEnd"),r._onCompositionStart=r._buildHandler("onCompositionStart"),r._onCopy=r._buildHandler("onCopy"),r._onCut=r._buildHandler("onCut"),r._onDragEnd=r._buildHandler("onDragEnd"),r._onDragOver=r._buildHandler("onDragOver"),r._onDragStart=r._buildHandler("onDragStart"),r._onDrop=r._buildHandler("onDrop"),r._onInput=r._buildHandler("onInput"),r._onFocus=r._buildHandler("onFocus"),r._onKeyDown=r._buildHandler("onKeyDown"),r._onKeyPress=r._buildHandler("onKeyPress"),r._onKeyUp=r._buildHandler("onKeyUp"),r._onMouseDown=r._buildHandler("onMouseDown"),r._onMouseUp=r._buildHandler("onMouseUp"),r._onPaste=r._buildHandler("onPaste"),r._onSelect=r._buildHandler("onSelect"),r.getEditorKey=function(){return r._editorKey},r.state={contentsKey:0},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype._buildHandler=function(e){var t=this;return function(n){if(!t.props.readOnly){var r=t._handler&&t._handler[e];r&&r(t,n)}}},t.prototype._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},t.prototype._renderPlaceholder=function(){if(this._showPlaceholder()){var e={text:E(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return p.createElement(l,e)}return null},t.prototype.render=function(){var e=this,t=this.props,n=t.blockRenderMap,o=t.blockRendererFn,a=t.blockStyleFn,u=t.customStyleFn,c=t.customStyleMap,l=t.editorState,f=t.readOnly,d=t.textAlignment,h=t.textDirectionality,y=v({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===d,"DraftEditor/alignRight":"right"===d,"DraftEditor/alignCenter":"center"===d}),g=this.props.role||"textbox",m="combobox"===g?!!this.props.ariaExpanded:null,b={blockRenderMap:n,blockRendererFn:o,blockStyleFn:a,customStyleMap:r({},i,c),customStyleFn:u,editorKey:this._editorKey,editorState:l,key:"contents"+this.state.contentsKey,textDirectionality:h};return p.createElement("div",{className:y},this._renderPlaceholder(),p.createElement("div",{className:v("DraftEditor/editorContainer"),ref:function(t){return e.editorContainer=t}},p.createElement("div",{"aria-activedescendant":f?null:this.props.ariaActiveDescendantID,"aria-autocomplete":f?null:this.props.ariaAutoComplete,"aria-controls":f?null:this.props.ariaControls,"aria-describedby":this.props.ariaDescribedBy||this._placeholderAccessibilityID,"aria-expanded":f?null:m,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:v({notranslate:!f,"public/DraftEditor/content":!0}),contentEditable:!f,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:function(t){return e.editor=t},role:f?null:g,spellCheck:O&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},p.createElement(s,b))))},t.prototype.componentDidMount=function(){this.setMode("edit"),x&&document.execCommand("AutoUrlDetect",!1,!1)},t.prototype.componentWillUpdate=function(e){this._blockSelectEvents=!0,this._latestEditorState=e.editorState},t.prototype.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestCommittedEditorState=this.props.editorState},t}(p.Component);C.defaultProps={blockRenderMap:o,blockRendererFn:m.thatReturnsNull,blockStyleFn:m.thatReturns(""),keyBindingFn:_,readOnly:!1,spellCheck:!1,stripPastedStyles:!1},e.exports=C},function(e,t,n){"use strict";var r=n(40),o=n(16),i=n(3),a=n(137),s=n(138),u=n(67),c=n(265),l=!1,f=!1,p="",d={onBeforeInput:function(e,t){p=(p||"")+t.data},onCompositionStart:function(e){f=!0},onCompositionEnd:function(e){l=!1,f=!1,setTimeout(function(){l||d.resolveComposition(e)},20)},onKeyDown:function(e,t){if(!f)return d.resolveComposition(e),void e._onKeyDown(t);t.which!==a.RIGHT&&t.which!==a.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===a.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!f){l=!0;var t=p;p="";var n=i.set(e._latestEditorState,{inCompositionMode:!1}),a=n.getCurrentInlineStyle(),d=s(n.getCurrentContent(),n.getSelection()),h=!t||c(n)||a.size>0||null!==d;if(h&&e.restoreEditorDOM(),e.exitCurrentMode(),t){if(r.draft_handlebeforeinput_composed_text&&e.props.handleBeforeInput&&u(e.props.handleBeforeInput(t,n)))return;var y=o.replaceText(n.getCurrentContent(),n.getSelection(),t,a,d);e.update(i.push(n,y,"insert-characters"))}else h&&e.update(i.set(n,{nativelyRenderedContent:null,forceSelection:!0}))}}};e.exports=d},function(e,t,n){"use strict";var r=n(451);e.exports=r},function(e,t,n){"use strict";var r=n(21)||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};var o=n(266),i=n(87),a=(n(3),n(0)),s=n(60),u=n(472),c=n(26),l=function(e,t,n,r){return s({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===e,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===e,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===t,"public/DraftStyleDefault/depth1":1===t,"public/DraftStyleDefault/depth2":2===t,"public/DraftStyleDefault/depth3":3===t,"public/DraftStyleDefault/depth4":4===t,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},f=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){var t=this.props.editorState,n=e.editorState;if(t.getDirectionMap()!==n.getDirectionMap())return!0;if(t.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=t.isInCompositionMode(),i=n.isInCompositionMode();if(t===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=t.getCurrentContent(),s=n.getCurrentContent(),u=t.getDecorator(),c=n.getDecorator();return o!==i||a!==s||u!==c||n.mustForceSelection()},t.prototype.render=function(){for(var e=this.props,t=e.blockRenderMap,n=e.blockRendererFn,s=e.blockStyleFn,f=e.customStyleMap,p=e.customStyleFn,d=e.editorState,h=e.editorKey,y=e.textDirectionality,g=d.getCurrentContent(),v=d.getSelection(),m=d.mustForceSelection(),b=d.getDecorator(),_=c(d.getDirectionMap()),w=g.getBlocksAsArray(),S=[],E=null,x=null,O=0;O<w.length;O++){var k=w[O],C=k.getKey(),P=k.getType(),T=n(k),j=void 0,R=void 0,M=void 0;T&&(j=T.component,R=T.props,M=T.editable);var A=y||_.get(C),I=i.encode(C,0,0),D={contentState:g,block:k,blockProps:R,blockStyleFn:s,customStyleMap:f,customStyleFn:p,decorator:b,direction:A,forceSelection:m,key:C,offsetKey:I,selection:v,tree:d.getBlockTree(C)},L=t.get(P)||t.get("unstyled"),N=L.wrapper,B=L.element||t.get("unstyled").element,K=k.getDepth(),F="";if(s&&(F=s(k)),"li"===B)F=u(F,l(P,K,x!==N||null===E||K>E,A));var U=j||o,z={className:F,"data-block":!0,"data-editor":h,"data-offset-key":I,key:C};void 0!==M&&(z=r({},z,{contentEditable:M,suppressContentEditableWarning:!0}));var q=a.createElement(B,z,a.createElement(U,D));S.push({block:q,wrapperTemplate:N,key:C,offsetKey:I}),E=N?k.getDepth():null,x=N}for(var W=[],V=0;V<S.length;){var H=S[V];if(H.wrapperTemplate){var Y=[];do{Y.push(S[V].block),V++}while(V<S.length&&S[V].wrapperTemplate===H.wrapperTemplate);var $=a.cloneElement(H.wrapperTemplate,{key:H.key+"-wrap","data-offset-key":H.offsetKey},Y);W.push($)}else W.push(H.block),V++}return a.createElement("div",{"data-contents":"true"},W)},t}(a.Component);e.exports=f},function(e,t,n){"use strict";var r=n(21);var o=n(453),i=n(0),a=n(43),s=n(2),u=n(460),c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.block,r=t.start,o=t.text,i=n.getKey(),c=r+o.length;if(e.hasEdgeWithin(i,r,c)){var l=a.findDOMNode(this);l||s(!1);var f=l.firstChild;f||s(!1);var p=void 0;f.nodeType===Node.TEXT_NODE?p=f:"BR"===f.tagName?p=l:(p=f.firstChild)||s(!1),u(e,p,i,r,c)}}},t.prototype.shouldComponentUpdate=function(e){var t=a.findDOMNode(this.leaf);return t||s(!1),t.textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},t.prototype.componentDidUpdate=function(){this._setSelection()},t.prototype.componentDidMount=function(){this._setSelection()},t.prototype.render=function(){var e=this,t=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var a=this.props,s=a.customStyleMap,u=a.customStyleFn,c=a.offsetKey,l=a.styleSet,f=l.reduce(function(e,t){var n={},o=s[t];return void 0!==o&&e.textDecoration!==o.textDecoration&&(n.textDecoration=[e.textDecoration,o.textDecoration].join(" ").trim()),r(e,o,n)},{});if(u){var p=u(l,t);f=r(f,p)}return i.createElement("span",{"data-offset-key":c,ref:function(t){return e.leaf=t},style:f},i.createElement(o,null,n))},t}(i.Component);e.exports=c},function(e,t,n){"use strict";var r=n(0),o=n(43),i=n(31),a=n(2),s=i.isBrowser("IE <= 11");var u=s?r.createElement("span",{key:"A","data-text":"true"},"\n"):r.createElement("br",{key:"A","data-text":"true"}),c=s?r.createElement("span",{key:"B","data-text":"true"},"\n"):r.createElement("br",{key:"B","data-text":"true"}),l=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return r._forceFlag=!1,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){var t=o.findDOMNode(this),n=""===e.children;return t instanceof Element||a(!1),n?!function(e){return s?"\n"===e.textContent:"BR"===e.tagName}(t):t.textContent!==e.children},t.prototype.componentDidMount=function(){this._forceFlag=!this._forceFlag},t.prototype.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},t.prototype.render=function(){return""===this.props.children?this._forceFlag?u:c:r.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true"},this.props.children)},t}(r.Component);e.exports=l},function(e,t,n){"use strict";var r="Unknown",o={"Mac OS":"Mac OS X"};var i=(new(n(455))).getResult(),a=function(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}(i.browser.version),s={browserArchitecture:i.cpu.architecture||r,browserFullVersion:i.browser.version||r,browserMinorVersion:a.minor||r,browserName:i.browser.name||r,browserVersion:i.browser.major||r,deviceName:i.device.model||r,engineName:i.engine.name||r,engineVersion:i.engine.version||r,platformArchitecture:i.cpu.architecture||r,platformName:function(e){return o[e]||e}(i.os.name)||r,platformVersion:i.os.version||r,platformFullVersion:i.os.version||r};e.exports=s},function(e,t,n){var r; /*! * UAParser.js v0.7.18 * Lightweight JavaScript-based User-Agent string parser * https://github.com/faisalman/ua-parser-js * * Copyright © 2012-2016 Faisal Salman <fyzlman@gmail.com> * Dual licensed under GPLv2 or MIT */ /*! * UAParser.js v0.7.18 * Lightweight JavaScript-based User-Agent string parser * https://github.com/faisalman/ua-parser-js * * Copyright © 2012-2016 Faisal Salman <fyzlman@gmail.com> * Dual licensed under GPLv2 or MIT */ !function(o,i){"use strict";var a="model",s="name",u="type",c="vendor",l="version",f="mobile",p="tablet",d={extend:function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},has:function(e,t){return"string"==typeof e&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return"string"==typeof e?e.replace(/[^\d\.]/g,"").split(".")[0]:void 0},trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},h={rgx:function(e,t){for(var n,r,o,i,a,s,u=0;u<t.length&&!a;){var c=t[u],l=t[u+1];for(n=r=0;n<c.length&&!a;)if(a=c[n++].exec(e))for(o=0;o<l.length;o++)s=a[++r],"object"==typeof(i=l[o])&&i.length>0?2==i.length?"function"==typeof i[1]?this[i[0]]=i[1].call(this,s):this[i[0]]=i[1]:3==i.length?"function"!=typeof i[1]||i[1].exec&&i[1].test?this[i[0]]=s?s.replace(i[1],i[2]):void 0:this[i[0]]=s?i[1].call(this,s,i[2]):void 0:4==i.length&&(this[i[0]]=s?i[3].call(this,s.replace(i[1],i[2])):void 0):this[i]=s||void 0;u+=2}},str:function(e,t){for(var n in t)if("object"==typeof t[n]&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(d.has(t[n][r],e))return"?"===n?void 0:n}else if(d.has(t[n],e))return"?"===n?void 0:n;return e}},y={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2000:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},g={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[s,l],[/(opios)[\/\s]+([\w\.]+)/i],[[s,"Opera Mini"],l],[/\s(opr)\/([\w\.]+)/i],[[s,"Opera"],l],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark)\/([\w\.-]+)/i],[s,l],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[s,"IE"],l],[/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i],[[s,"Edge"],l],[/(yabrowser)\/([\w\.]+)/i],[[s,"Yandex"],l],[/(puffin)\/([\w\.]+)/i],[[s,"Puffin"],l],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[s,"UCBrowser"],l],[/(comodo_dragon)\/([\w\.]+)/i],[[s,/_/g," "],l],[/(micromessenger)\/([\w\.]+)/i],[[s,"WeChat"],l],[/(qqbrowserlite)\/([\w\.]+)/i],[s,l],[/(QQ)\/([\d\.]+)/i],[s,l],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[s,l],[/(BIDUBrowser)[\/\s]?([\w\.]+)/i],[s,l],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[s,l],[/(MetaSr)[\/\s]?([\w\.]+)/i],[s],[/(LBBROWSER)/i],[s],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[l,[s,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[l,[s,"Facebook"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[l,[s,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[s,/(.+)/,"$1 WebView"],l],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[s,/(.+(?:g|us))(.+)/,"$1 $2"],l],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[l,[s,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[s,l],[/(dolfin)\/([\w\.]+)/i],[[s,"Dolphin"],l],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[s,"Chrome"],l],[/(coast)\/([\w\.]+)/i],[[s,"Opera Coast"],l],[/fxios\/([\w\.-]+)/i],[l,[s,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[l,[s,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[l,s],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[s,"GSA"],l],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[s,[l,h.str,y.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[s,l],[/(navigator|netscape)\/([\w\.-]+)/i],[[s,"Netscape"],l],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[s,l]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",d.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/windows\s(ce|mobile);\sppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[["architecture",/ower/,"",d.lowerize]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[["architecture",d.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[a,c,[u,p]],[/applecoremedia\/[\w\.]+ \((ipad)/],[a,[c,"Apple"],[u,p]],[/(apple\s{0,1}tv)/i],[[a,"Apple TV"],[c,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[c,a,[u,p]],[/(kf[A-z]+)\sbuild\/.+silk\//i],[a,[c,"Amazon"],[u,p]],[/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],[[a,h.str,y.device.amazon.model],[c,"Amazon"],[u,f]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[a,c,[u,f]],[/\((ip[honed|\s\w*]+);/i],[a,[c,"Apple"],[u,f]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[c,a,[u,f]],[/\(bb10;\s(\w+)/i],[a,[c,"BlackBerry"],[u,f]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],[a,[c,"Asus"],[u,p]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[c,"Sony"],[a,"Xperia Tablet"],[u,p]],[/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i],[a,[c,"Sony"],[u,f]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[c,a,[u,"console"]],[/android.+;\s(shield)\sbuild/i],[a,[c,"Nvidia"],[u,"console"]],[/(playstation\s[34portablevi]+)/i],[a,[c,"Sony"],[u,"console"]],[/(sprint\s(\w+))/i],[[c,h.str,y.device.sprint.vendor],[a,h.str,y.device.sprint.model],[u,f]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[c,a,[u,p]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[c,[a,/_/g," "],[u,f]],[/(nexus\s9)/i],[a,[c,"HTC"],[u,p]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],[a,[c,"Huawei"],[u,f]],[/(microsoft);\s(lumia[\s\w]+)/i],[c,a,[u,f]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[a,[c,"Microsoft"],[u,"console"]],[/(kin\.[onetw]{3})/i],[[a,/\./g," "],[c,"Microsoft"],[u,f]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w*)/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[a,[c,"Motorola"],[u,f]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[a,[c,"Motorola"],[u,p]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[c,d.trim],[a,d.trim],[u,"smarttv"]],[/hbbtv.+maple;(\d+)/i],[[a,/^/,"SmartTV"],[c,"Samsung"],[u,"smarttv"]],[/\(dtv[\);].+(aquos)/i],[a,[c,"Sharp"],[u,"smarttv"]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[c,"Samsung"],a,[u,p]],[/smart-tv.+(samsung)/i],[c,[u,"smarttv"],a],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i,/sec-((sgh\w+))/i],[[c,"Samsung"],a,[u,f]],[/sie-(\w*)/i],[a,[c,"Siemens"],[u,f]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]*)/i],[[c,"Nokia"],a,[u,f]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[a,[c,"Acer"],[u,p]],[/android.+([vl]k\-?\d{3})\s+build/i],[a,[c,"LG"],[u,p]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[c,"LG"],a,[u,p]],[/(lg) netcast\.tv/i],[c,a,[u,"smarttv"]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/android.+lg(\-?[\d\w]+)\s+build/i],[a,[c,"LG"],[u,f]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[a,[c,"Lenovo"],[u,p]],[/linux;.+((jolla));/i],[c,a,[u,f]],[/((pebble))app\/[\d\.]+\s/i],[c,a,[u,"wearable"]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[c,a,[u,f]],[/crkey/i],[[a,"Chromecast"],[c,"Google"]],[/android.+;\s(glass)\s\d/i],[a,[c,"Google"],[u,"wearable"]],[/android.+;\s(pixel c)\s/i],[a,[c,"Google"],[u,p]],[/android.+;\s(pixel xl|pixel)\s/i],[a,[c,"Google"],[u,f]],[/android.+;\s(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i],[[a,/_/g," "],[c,"Xiaomi"],[u,f]],[/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i],[[a,/_/g," "],[c,"Xiaomi"],[u,p]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[a,[c,"Meizu"],[u,p]],[/android.+a000(1)\s+build/i,/android.+oneplus\s(a\d{4})\s+build/i],[a,[c,"OnePlus"],[u,f]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[a,[c,"RCA"],[u,p]],[/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i],[a,[c,"Dell"],[u,p]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[a,[c,"Verizon"],[u,p]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[c,"Barnes & Noble"],a,[u,p]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[a,[c,"NuVision"],[u,p]],[/android.+;\s(k88)\sbuild/i],[a,[c,"ZTE"],[u,p]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[a,[c,"Swiss"],[u,f]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[a,[c,"Swiss"],[u,p]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[a,[c,"Zeki"],[u,p]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[c,"Dragon Touch"],a,[u,p]],[/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[a,[c,"Insignia"],[u,p]],[/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],[a,[c,"NextBook"],[u,p]],[/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[c,"Voice"],a,[u,f]],[/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[c,"LvTel"],a,[u,f]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[a,[c,"Envizen"],[u,p]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[c,a,[u,p]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[a,[c,"MachSpeed"],[u,p]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[c,a,[u,p]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[a,[c,"Rotor"],[u,p]],[/android.+(KS(.+))\s+build/i],[a,[c,"Amazon"],[u,p]],[/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[c,a,[u,p]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[u,d.lowerize],c,a],[/(android[\w\.\s\-]{0,9});.+build/i],[a,[c,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[l,[s,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[s,l],[/rv\:([\w\.]{1,9}).+(gecko)/i],[l,s]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[s,l],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[s,[l,h.str,y.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[s,"Windows"],[l,h.str,y.os.windows.version]],[/\((bb)(10);/i],[[s,"BlackBerry"],l],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]*)/i,/linux;.+(sailfish);/i],[s,l],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],[[s,"Symbian"],l],[/\((series40);/i],[s],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[s,"Firefox OS"],l],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[s,l],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[s,"Chromium OS"],l],[/(sunos)\s?([\w\.\d]*)/i],[[s,"Solaris"],l],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],[s,l],[/(haiku)\s(\w+)/i],[s,l],[/cfnetwork\/.+darwin/i,/ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[l,/_/g,"."],[s,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)/i],[[s,"Mac OS"],[l,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]*)/i],[s,l]]},v=function(e,t){if("object"==typeof e&&(t=e,e=void 0),!(this instanceof v))return new v(e,t).getResult();var n=e||(o&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:""),r=t?d.extend(g,t):g;return this.getBrowser=function(){var e={name:void 0,version:void 0};return h.rgx.call(e,n,r.browser),e.major=d.major(e.version),e},this.getCPU=function(){var e={architecture:void 0};return h.rgx.call(e,n,r.cpu),e},this.getDevice=function(){var e={vendor:void 0,model:void 0,type:void 0};return h.rgx.call(e,n,r.device),e},this.getEngine=function(){var e={name:void 0,version:void 0};return h.rgx.call(e,n,r.engine),e},this.getOS=function(){var e={name:void 0,version:void 0};return h.rgx.call(e,n,r.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=e,this},this};v.VERSION="0.7.18",v.BROWSER={NAME:s,MAJOR:"major",VERSION:l},v.CPU={ARCHITECTURE:"architecture"},v.DEVICE={MODEL:a,VENDOR:c,TYPE:u,CONSOLE:"console",MOBILE:f,SMARTTV:"smarttv",TABLET:p,WEARABLE:"wearable",EMBEDDED:"embedded"},v.ENGINE={NAME:s,VERSION:l},v.OS={NAME:s,VERSION:l},void 0!==t?(void 0!==e&&e.exports&&(t=e.exports=v),t.UAParser=v):n(456)?void 0===(r=function(){return v}.call(t,n,t,e))||(e.exports=r):o&&(o.UAParser=v);var m=o&&(o.jQuery||o.Zepto);if(void 0!==m){var b=new v;m.ua=b.getResult(),m.ua.get=function(){return b.getUA()},m.ua.set=function(e){b.setUA(e);var t=b.getResult();for(var n in t)m.ua[n]=t[n]}}}("object"==typeof window?window:this)},function(e,t){(function(t){e.exports=t}).call(this,{})},function(e,t,n){"use strict";var r=n(2),o=/\./,i=/\|\|/,a=/\s+\-\s+/,s=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,u=/^(\d*)(.*)/;function c(e,t){var n=e.split(i);return n.length>1?n.some(function(e){return _.contains(e,t)}):function(e,t){var n=e.split(a);if(n.length>0&&n.length<=2||r(!1),1===n.length)return l(n[0],t);var o=n[0],i=n[1];return y(o)&&y(i)||r(!1),l(">="+o,t)&&l("<="+i,t)}(e=n[0].trim(),t)}function l(e,t){if(""===(e=e.trim()))return!0;var n=t.split(o),r=d(e),i=r.modifier,a=r.rangeComponents;switch(i){case"<":return f(n,a);case"<=":return function(e,t){var n=b(e,t);return-1===n||0===n}(n,a);case">=":return p(n,a);case">":return function(e,t){return 1===b(e,t)}(n,a);case"~":case"~>":return function(e,t){var n=t.slice(),r=t.slice();r.length>1&&r.pop();var o=r.length-1,i=parseInt(r[o],10);h(i)&&(r[o]=i+1+"");return p(e,n)&&f(e,r)}(n,a);default:return function(e,t){return 0===b(e,t)}(n,a)}}function f(e,t){return-1===b(e,t)}function p(e,t){var n=b(e,t);return 1===n||0===n}function d(e){var t=e.split(o),n=t[0].match(s);return n||r(!1),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function h(e){return!isNaN(e)&&isFinite(e)}function y(e){return!d(e).modifier}function g(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function v(e,t){var n=e.match(u)[1],r=t.match(u)[1],o=parseInt(n,10),i=parseInt(r,10);return h(o)&&h(i)&&o!==i?m(o,i):m(e,t)}function m(e,t){return typeof e!=typeof t&&r(!1),e>t?1:e<t?-1:0}function b(e,t){for(var n=function(e,t){g(e=e.slice(),(t=t.slice()).length);for(var n=0;n<t.length;n++){var r=t[n].match(/^[x*]$/i);if(r&&(t[n]=e[n]="0","*"===r[0]&&n===t.length-1))for(var o=n;o<e.length;o++)e[o]="0"}return g(t,e.length),[e,t]}(e,t),r=n[0],o=n[1],i=0;i<o.length;i++){var a=v(r[i],o[i]);if(a)return a}return 0}var _={contains:function(e,t){return c(e.trim(),t.trim())}};e.exports=_},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){if(!e)return null;var o={};for(var i in e)r.call(e,i)&&(o[i]=t.call(n,e[i],i,e));return o}},function(e,t,n){"use strict";e.exports=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}},function(e,t,n){"use strict";(function(t){var r=n(461),o=n(139),i=n(267),a=n(2);function s(e,t){if(!e)return"[empty]";var n=function e(t,n){var r=void 0!==n?n(t):[];if(t.nodeType===Node.TEXT_NODE){var o=t.textContent.length;return document.createTextNode("[text "+o+(r.length?" | "+r.join(", "):"")+"]")}var i=t.cloneNode();1===i.nodeType&&r.length&&i.setAttribute("data-labels",r.join(", "));var a=t.childNodes;for(var s=0;s<a.length;s++)i.appendChild(e(a[s],n));return i}(e,t);return n.nodeType===Node.TEXT_NODE?n.textContent:(n instanceof Element||a(!1),n.outerHTML)}function u(e,t){for(var n=e;n;){if(n instanceof Element&&n.hasAttribute("contenteditable"))return s(n,t);n=n.parentNode}return"Could not find contentEditable parent of node"}function c(e){return null===e.nodeValue?e.childNodes.length:e.nodeValue.length}function l(e,t,n,a){var s=i();if(e.extend&&o(s,t)){n>c(t)&&r.logSelectionStateFailure({anonymizedDom:u(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(a.toJS())});var l=t===e.focusNode;try{e.extend(t,n)}catch(o){throw r.logSelectionStateFailure({anonymizedDom:u(t,function(t){var n=[];return t===s&&n.push("active element"),t===e.anchorNode&&n.push("selection anchor node"),t===e.focusNode&&n.push("selection focus node"),n}),extraParams:JSON.stringify({activeElementName:s?s.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:l,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:o?""+o:null,offset:n},null,2),selectionState:JSON.stringify(a.toJS(),null,2)}),o}}else{var f=e.getRangeAt(0);f.setEnd(t,n),e.addRange(f.cloneRange())}}function f(e,t,n,o){var i=document.createRange();n>c(t)&&r.logSelectionStateFailure({anonymizedDom:u(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(o.toJS())}),i.setStart(t,n),e.addRange(i)}e.exports=function(e,n,r,i,a){if(o(document.documentElement,n)){var s=t.getSelection(),u=e.getAnchorKey(),c=e.getAnchorOffset(),p=e.getFocusKey(),d=e.getFocusOffset(),h=e.getIsBackward();if(!s.extend&&h){var y=u,g=c;u=p,c=d,p=y,d=g,h=!1}var v=u===r&&i<=c&&a>=c,m=p===r&&i<=d&&a>=d;if(v&&m)return s.removeAllRanges(),f(s,n,c-i,e),void l(s,n,d-i,e);if(h){if(m&&(s.removeAllRanges(),f(s,n,d-i,e)),v){var b=s.focusNode,_=s.focusOffset;s.removeAllRanges(),f(s,n,c-i,e),l(s,b,_,e)}}else v&&(s.removeAllRanges(),f(s,n,c-i,e)),m&&l(s,n,d-i,e)}}}).call(this,n(7))},function(e,t,n){"use strict";e.exports={logSelectionStateFailure:function(){return null}}},function(e,t,n){"use strict";var r=n(463);e.exports=function(e){return r(e)&&3==e.nodeType}},function(e,t,n){"use strict";e.exports=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}},function(e,t,n){"use strict";var r=n(465),o=n(466);function i(e){return null==e?e:String(e)}e.exports=function(e,t){var n=void 0;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return i(n.getPropertyValue(o(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return i(n.getPropertyValue(o(t)));if("display"===t)return"none"}return e.currentStyle?i("float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[r(t)]):i(e.style&&e.style[r(t)])}},function(e,t,n){"use strict";var r=/-(.)/g;e.exports=function(e){return e.replace(r,function(e,t){return t.toUpperCase()})}},function(e,t,n){"use strict";var r=/([A-Z])/g;e.exports=function(e){return e.replace(r,"-$1").toLowerCase()}},function(e,t,n){"use strict";var r=n(468);e.exports=function(e){var t=r(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}}},function(e,t,n){"use strict";var r=n(139);e.exports=function(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e&&r(t,e)))return{left:0,right:0,top:0,bottom:0};var n=e.getBoundingClientRect();return{left:Math.round(n.left)-t.clientLeft,right:Math.round(n.right)-t.clientLeft,top:Math.round(n.top)-t.clientTop,bottom:Math.round(n.bottom)-t.clientTop}}},function(e,t,n){"use strict";var r="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;e.exports=function(e){return(e=e||document).scrollingElement?e.scrollingElement:r||"CSS1Compat"!==e.compatMode?e.body:e.documentElement}},function(e,t,n){"use strict";e.exports=function(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}},function(e,t,n){"use strict";function r(){var e=void 0;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function o(){var e=void 0;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function i(){return{width:window.innerWidth||r(),height:window.innerHeight||o()}}i.withoutScrollbars=function(){return{width:r(),height:o()}},e.exports=i},function(e,t,n){"use strict";e.exports=function(e){e||(e="");var t=void 0,n=arguments.length;if(n>1)for(var r=1;r<n;r++)(t=arguments[r])&&(e=(e?e+" ":"")+t);return e}},function(e,t,n){"use strict";var r=n(269),o=n(16),i=n(3),a=n(142),s=n(271),u=n(272),c=n(67),l=n(26);var f={onDragEnd:function(e){e.exitCurrentMode()},onDrop:function(e,t){var n=new r(t.nativeEvent.dataTransfer),f=e._latestEditorState,d=function(e,t){var n=null,r=null;if("function"==typeof document.caretRangeFromPoint){var o=document.caretRangeFromPoint(e.x,e.y);n=o.startContainer,r=o.startOffset}else{if(!e.rangeParent)return null;n=e.rangeParent,r=e.rangeOffset}n=l(n),r=l(r);var i=l(a(n));return u(t,i,r,i,r)}(t.nativeEvent,f);if(t.preventDefault(),e.exitCurrentMode(),null!=d){var h=n.getFiles();if(h.length>0){if(e.props.handleDroppedFiles&&c(e.props.handleDroppedFiles(d,h)))return;s(h,function(t){t&&e.update(p(f,d,t))})}else{var y=e._internalDrag?"internal":"external";e.props.handleDrop&&c(e.props.handleDrop(d,n,y))||(e._internalDrag?e.update(function(e,t){var n=o.moveText(e.getCurrentContent(),e.getSelection(),t);return i.push(e,n,"insert-fragment")}(f,d)):e.update(p(f,d,n.getText())))}}}};function p(e,t,n){var r=o.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return i.push(e,r,"insert-fragment")}e.exports=f},function(e,t,n){"use strict";var r={isImage:function(e){return"image"===o(e)[0]},isJpeg:function(e){var t=o(e);return r.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};function o(e){return e.split("/")}e.exports=r},function(e,t,n){"use strict";var r=n(2);e.exports=function(e){return function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}(e)?Array.isArray(e)?e.slice():function(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&r(!1),"number"!=typeof t&&r(!1),0===t||t-1 in e||r(!1),"function"==typeof e.callee&&r(!1),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),o=0;o<t;o++)n[o]=e[o];return n}(e):[e]}},function(e,t,n){"use strict";var r={onBeforeInput:n(477),onBlur:n(481),onCompositionStart:n(482),onCopy:n(483),onCut:n(484),onDragOver:n(485),onDragStart:n(486),onFocus:n(487),onInput:n(488),onKeyDown:n(489),onPaste:n(503),onSelect:n(508)};e.exports=r},function(e,t,n){"use strict";(function(t){var r=n(261),o=n(16),i=n(3),a=n(31),s=n(138),u=n(67),c=n(265),l=n(26),f=n(478),p="'",d="/",h=a.isBrowser("Firefox");function y(e,t,n,r){var a=o.replaceText(e.getCurrentContent(),e.getSelection(),t,n,r);return i.push(e,a,"insert-characters")}e.exports=function(e,n){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var o=e._latestEditorState,a=n.data;if(a)if(e.props.handleBeforeInput&&u(e.props.handleBeforeInput(a,o)))n.preventDefault();else{var g=o.getSelection(),v=g.getStartOffset(),m=g.getEndOffset(),b=g.getAnchorKey();if(!g.isCollapsed())return n.preventDefault(),void(a===o.getCurrentContent().getPlainText().slice(v,m)?e.update(i.forceSelection(o,g.merge({focusOffset:m}))):e.update(y(o,a,o.getCurrentInlineStyle(),s(o.getCurrentContent(),o.getSelection()))));var _=y(o,a,o.getCurrentInlineStyle(),s(o.getCurrentContent(),o.getSelection())),w=!1;if(w||(w=c(e._latestCommittedEditorState)),!w){var S=t.getSelection();if(S.anchorNode&&S.anchorNode.nodeType===Node.TEXT_NODE){var E=S.anchorNode.parentNode;w="SPAN"===E.nodeName&&E.firstChild.nodeType===Node.TEXT_NODE&&-1!==E.firstChild.nodeValue.indexOf("\t")}}if(w||(w=r.getFingerprint(o.getBlockTree(b))!==r.getFingerprint(_.getBlockTree(b))),w||(w=function(e){return h&&(e==p||e==d)}(a)),w||(w=l(_.getDirectionMap()).get(b)!==l(o.getDirectionMap()).get(b)),w)return n.preventDefault(),void e.update(_);_=i.set(_,{nativelyRenderedContent:_.getCurrentContent()}),e._pendingStateFromBeforeInput=_,f(function(){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)})}}}).call(this,n(7))},function(e,t,n){"use strict";(function(t){n(479),e.exports=t.setImmediate}).call(this,n(7))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,o=1,i={},a=!1,s=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick(function(){l(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?function(){var t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&l(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),r=function(n){e.postMessage(t+n,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){l(e.data)},r=function(t){e.port2.postMessage(t)}}():s&&"onreadystatechange"in s.createElement("script")?function(){var e=s.documentElement;r=function(t){var n=s.createElement("script");n.onreadystatechange=function(){l(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():r=function(e){setTimeout(l,0,e)},u.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var a={callback:e,args:t};return i[o]=a,r(o),o++},u.clearImmediate=c}function c(e){delete i[e]}function l(e){if(a)setTimeout(l,0,e);else{var t=i[e];if(t){a=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}(t)}finally{c(e),a=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(7),n(480))},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var e=s(p);l=!0;for(var t=c.length;t;){for(u=c,c=[];++f<t;)u&&u[f].run();f=-1,t=c.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function y(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||l||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=y,o.addListener=y,o.once=y,o.off=y,o.removeListener=y,o.removeAllListeners=y,o.emit=y,o.prependListener=y,o.prependOnceListener=y,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";(function(t){var r=n(3),o=n(139),i=n(267);e.exports=function(e,n){if(i()===document.body){var a=t.getSelection(),s=e.editor;1===a.rangeCount&&o(s,a.anchorNode)&&o(s,a.focusNode)&&a.removeAllRanges()}var u=e._latestEditorState,c=u.getSelection();if(c.getHasFocus()){var l=c.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(n),e.update(r.acceptSelection(u,l))}}}).call(this,n(7))},function(e,t,n){"use strict";var r=n(3);e.exports=function(e,t){e.setMode("composite"),e.update(r.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)}},function(e,t,n){"use strict";var r=n(273);e.exports=function(e,t){e._latestEditorState.getSelection().isCollapsed()?t.preventDefault():e.setClipboard(r(e._latestEditorState))}},function(e,t,n){"use strict";var r=n(16),o=n(3),i=n(140),a=n(273),s=n(141);e.exports=function(e,t){var n=e._latestEditorState,u=n.getSelection(),c=t.target,l=void 0;if(u.isCollapsed())t.preventDefault();else{c instanceof Node&&(l=s(i.getScrollParent(c)));var f=a(n);e.setClipboard(f),e.setMode("cut"),setTimeout(function(){e.restoreEditorDOM(l),e.exitCurrentMode(),e.update(function(e){var t=r.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return o.push(e,t,"remove-range")}(n))},0)}}},function(e,t,n){"use strict";e.exports=function(e,t){e._internalDrag=!1,e.setMode("drag"),t.preventDefault()}},function(e,t,n){"use strict";e.exports=function(e){e._internalDrag=!0,e.setMode("drag")}},function(e,t,n){"use strict";var r=n(3),o=n(31);e.exports=function(e,t){var n=e._latestEditorState,i=n.getSelection();if(!i.getHasFocus()){var a=i.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),o.isBrowser("Chrome < 60.0.3081.0")?e.update(r.forceSelection(n,a)):e.update(r.acceptSelection(n,a))}}},function(e,t,n){"use strict";(function(t){var r=n(40),o=n(16),i=n(87),a=n(3),s=n(31),u=n(142),c=n(26),l=s.isEngine("Gecko"),f="\n\n";e.exports=function(e){void 0!==e._pendingStateFromBeforeInput&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=t.getSelection(),s=n.anchorNode,p=n.isCollapsed,d=s.nodeType!==Node.TEXT_NODE,h=s.nodeType!==Node.TEXT_NODE&&s.nodeType!==Node.ELEMENT_NODE;if(r.draft_killswitch_allow_nontextnodes){if(d)return}else if(h)return;if(s.nodeType===Node.TEXT_NODE&&(null!==s.previousSibling||null!==s.nextSibling)){var y=s.parentNode;s.nodeValue=y.textContent;for(var g=y.firstChild;null!==g;g=g.nextSibling)g!==s&&y.removeChild(g)}var v=s.textContent,m=e._latestEditorState,b=c(u(s)),_=i.decode(b),w=_.blockKey,S=_.decoratorKey,E=_.leafKey,x=m.getBlockTree(w).getIn([S,"leaves",E]),O=x.start,k=x.end,C=m.getCurrentContent(),P=C.getBlockForKey(w),T=P.getText().slice(O,k);if(v.endsWith(f)&&(v=v.slice(0,-1)),v!==T){var j,R,M,A,I=m.getSelection(),D=I.merge({anchorOffset:O,focusOffset:k,isBackward:!1}),L=P.getEntityAt(O),N=L&&C.getEntity(L),B="MUTABLE"===(N&&N.getMutability()),K=B?"spellcheck-change":"apply-entity",F=o.replaceText(C,D,v,P.getInlineStyleAt(O),B?P.getEntityAt(O):null);if(l)j=n.anchorOffset,R=n.focusOffset,A=(M=O+Math.min(j,R))+Math.abs(j-R),j=M,R=A;else{var U=v.length-T.length;M=I.getStartOffset(),A=I.getEndOffset(),j=p?A+U:M,R=A+U}var z=F.merge({selectionBefore:C.getSelectionAfter(),selectionAfter:I.merge({anchorOffset:j,focusOffset:R})});e.update(a.push(m,z,K))}}}).call(this,n(7))},function(e,t,n){"use strict";var r=n(16),o=n(3),i=n(143),a=n(137),s=n(490),u=n(31),c=n(67),l=n(491),f=n(493),p=n(495),d=n(496),h=n(497),y=n(498),g=n(499),v=n(500),m=n(501),b=n(502),_=i.isOptionKeyCommand,w=u.isBrowser("Chrome");e.exports=function(e,t){var n=t.which,i=e._latestEditorState;switch(n){case a.RETURN:if(t.preventDefault(),e.props.handleReturn&&c(e.props.handleReturn(t,i)))return;break;case a.ESC:return t.preventDefault(),void(e.props.onEscape&&e.props.onEscape(t));case a.TAB:return void(e.props.onTab&&e.props.onTab(t));case a.UP:return void(e.props.onUpArrow&&e.props.onUpArrow(t));case a.RIGHT:return void(e.props.onRightArrow&&e.props.onRightArrow(t));case a.DOWN:return void(e.props.onDownArrow&&e.props.onDownArrow(t));case a.LEFT:return void(e.props.onLeftArrow&&e.props.onLeftArrow(t));case a.SPACE:if(w&&_(t)){t.preventDefault();var u=r.replaceText(i.getCurrentContent(),i.getSelection()," ");return void e.update(o.push(i,u,"insert-characters"))}}var S=e.props.keyBindingFn(t);if(S)if("undo"!==S){if(t.preventDefault(),!e.props.handleKeyCommand||!c(e.props.handleKeyCommand(S,i))){var E=function(e,t){switch(e){case"redo":return o.redo(t);case"delete":return v(t);case"delete-word":return p(t);case"backspace":return g(t);case"backspace-word":return f(t);case"backspace-to-start-of-line":return l(t);case"split-block":return d(t);case"transpose-characters":return m(t);case"move-selection-to-start-of-block":return y(t);case"move-selection-to-end-of-block":return h(t);case"secondary-cut":return s.cut(t);case"secondary-paste":return s.paste(t);default:return t}}(S,i);E!==i&&e.update(E)}}else b(t,i,e.update)}},function(e,t,n){"use strict";var r=n(16),o=n(3),i=n(85),a=n(26),s=null,u={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),u=null;if(n.isCollapsed()){var c=n.getAnchorKey(),l=t.getBlockForKey(c).getLength();if(l===n.getAnchorOffset())return e;u=n.set("focusOffset",l)}else u=n;u=a(u),s=i(t,u);var f=r.removeRange(t,u,"forward");return f===t?e:o.push(e,f,"remove-range")},paste:function(e){if(!s)return e;var t=r.replaceWithFragment(e.getCurrentContent(),e.getSelection(),s);return o.push(e,t,"insert-fragment")}};e.exports=u},function(e,t,n){"use strict";(function(t){var r=n(3),o=n(492),i=n(275),a=n(144),s=n(68);e.exports=function(e){var n=s(e,function(e){var n=e.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return a(e,1);var r=t.getSelection().getRangeAt(0);return r=o(r),i(e,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState},"backward");return n===e.getCurrentContent()?e:r.push(e,n,"remove-range")}}).call(this,n(7))},function(e,t,n){"use strict";var r=n(47),o=n(274),i=n(2);function a(e,t){for(var n=1/0,r=1/0,o=-1/0,i=-1/0,a=0;a<e.length;a++){var s=e[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),r=Math.min(r,s.bottom),o=Math.max(o,s.top),i=Math.max(i,s.bottom))}return o<=r&&o-n<t&&i-r<t}function s(e){switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return e.length;default:return e.childNodes.length}}e.exports=function(e){e.collapsed||i(!1);var t=(e=e.cloneRange()).startContainer;1!==t.nodeType&&(t=t.parentNode);var n=function(e){var t=getComputedStyle(e),n=document.createElement("div");n.style.fontFamily=t.fontFamily,n.style.fontSize=t.fontSize,n.style.fontStyle=t.fontStyle,n.style.fontWeight=t.fontWeight,n.style.lineHeight=t.lineHeight,n.style.position="absolute",n.textContent="M";var r=document.body;r||i(!1),r.appendChild(n);var o=n.getBoundingClientRect();return r.removeChild(n),o.height}(t),u=e.endContainer,c=e.endOffset;for(e.setStart(e.startContainer,0);a(o(e),n)&&(u=e.startContainer,c=e.startOffset,u.parentNode||i(!1),e.setStartBefore(u),1!==u.nodeType||"inline"===getComputedStyle(u).display););for(var l=u,f=c-1;;){for(var p=l.nodeValue,d=f;d>=0;d--)if(!(null!=p&&d>0&&r.isSurrogatePair(p,d-1))){if(e.setStart(l,d),!a(o(e),n))break;u=l,c=d}if(-1===d||0===l.childNodes.length)break;f=s(l=l.childNodes[d])}return e.setStart(u,c),e}},function(e,t,n){"use strict";var r=n(276),o=n(3),i=n(144),a=n(68);e.exports=function(e){var t=a(e,function(e){var t=e.getSelection(),n=t.getStartOffset();if(0===n)return i(e,1);var o=t.getStartKey(),a=e.getCurrentContent().getBlockForKey(o).getText().slice(0,n),s=r.getBackward(a);return i(e,s.length||1)},"backward");return t===e.getCurrentContent()?e:o.push(e,t,"remove-range")}},function(e,t,n){"use strict";e.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}},function(e,t,n){"use strict";var r=n(276),o=n(3),i=n(277),a=n(68);e.exports=function(e){var t=a(e,function(e){var t=e.getSelection(),n=t.getStartOffset(),o=t.getStartKey(),a=e.getCurrentContent().getBlockForKey(o).getText().slice(n),s=r.getForward(a);return i(e,s.length||1)},"forward");return t===e.getCurrentContent()?e:o.push(e,t,"remove-range")}},function(e,t,n){"use strict";var r=n(16),o=n(3);e.exports=function(e){var t=r.splitBlock(e.getCurrentContent(),e.getSelection());return o.push(e,t,"split-block")}},function(e,t,n){"use strict";var r=n(3);e.exports=function(e){var t=e.getSelection(),n=t.getEndKey(),o=e.getCurrentContent().getBlockForKey(n).getLength();return r.set(e,{selection:t.merge({anchorKey:n,anchorOffset:o,focusKey:n,focusOffset:o,isBackward:!1}),forceSelection:!0})}},function(e,t,n){"use strict";var r=n(3);e.exports=function(e){var t=e.getSelection(),n=t.getStartKey();return r.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})}},function(e,t,n){"use strict";var r=n(3),o=n(47),i=n(144),a=n(68);e.exports=function(e){var t=a(e,function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),a=t.getAnchorOffset(),s=n.getBlockForKey(r).getText()[a-1];return i(e,s?o.getUTF16Length(s,0):1)},"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return r.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")}},function(e,t,n){"use strict";var r=n(3),o=n(47),i=n(277),a=n(68);e.exports=function(e){var t=a(e,function(e){var t=e.getSelection(),n=e.getCurrentContent(),r=t.getAnchorKey(),a=t.getAnchorOffset(),s=n.getBlockForKey(r).getText()[a];return i(e,s?o.getUTF16Length(s,0):1)},"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return r.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")}},function(e,t,n){"use strict";var r=n(16),o=n(3),i=n(85);e.exports=function(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(0===n)return e;var a,s,u=t.getAnchorKey(),c=e.getCurrentContent(),l=c.getBlockForKey(u).getLength();if(l<=1)return e;n===l?(a=t.set("anchorOffset",n-1),s=t):s=(a=t.set("focusOffset",n+1)).set("anchorOffset",n+1);var f=i(c,a),p=r.removeRange(c,a,"backward"),d=p.getSelectionAfter(),h=d.getAnchorOffset()-1,y=d.merge({anchorOffset:h,focusOffset:h}),g=r.replaceWithFragment(p,y,f),v=o.push(e,g,"insert-fragment");return o.acceptSelection(v,s)}},function(e,t,n){"use strict";var r=n(3);e.exports=function(e,t,n){var o=r.undo(t);if("spellcheck-change"!==t.getLastChangeType())e.preventDefault(),t.getNativelyRenderedContent()?(n(r.set(t,{nativelyRenderedContent:null})),setTimeout(function(){n(o)},0)):n(o);else{var i=o.getCurrentContent();n(r.set(o,{nativelyRenderedContent:i}))}}},function(e,t,n){"use strict";var r=n(65),o=n(19),i=n(269),a=n(16),s=n(504),u=n(3),c=n(280),l=n(138),f=n(271),p=n(67),d=n(507);function h(e,t,n){var r=a.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return u.push(e,r.set("entityMap",n),"insert-fragment")}e.exports=function(e,t){t.preventDefault();var n=new i(t.clipboardData);if(!n.isRichText()){var y=n.getFiles(),g=n.getText();if(y.length>0){if(e.props.handlePastedFiles&&p(e.props.handlePastedFiles(y)))return;return void f(y,function(t){if(t=t||g){var n=e._latestEditorState,i=d(t),f=o.create({style:n.getCurrentInlineStyle(),entity:l(n.getCurrentContent(),n.getSelection())}),p=c.getCurrentBlockType(n),h=s.processText(i,f,p),y=r.createFromArray(h),v=a.replaceWithFragment(n.getCurrentContent(),n.getSelection(),y);e.update(u.push(n,v,"insert-fragment"))}})}}var v=[],m=n.getText(),b=n.getHTML(),_=e._latestEditorState;if(!e.props.handlePastedText||!p(e.props.handlePastedText(m,b,_))){if(m&&(v=d(m)),!e.props.stripPastedStyles){var w=e.getClipboard();if(n.isRichText()&&w){if(-1!==b.indexOf(e.getEditorKey())||1===v.length&&1===w.size&&w.first().getText()===m)return void e.update(h(e._latestEditorState,w))}else if(w&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(e,t){return e.length===t.size&&t.valueSeq().every(function(t,n){return t.getText()===e[n]})}(v,w))return void e.update(h(e._latestEditorState,w));if(b){var S=s.processHTML(b,e.props.blockRenderMap);if(S){var E=S.contentBlocks,x=S.entityMap;if(E){var O=r.createFromArray(E);return void e.update(h(e._latestEditorState,O,x))}}}e.setClipboard(null)}if(v.length){var k=o.create({style:_.getCurrentInlineStyle(),entity:l(_.getCurrentContent(),_.getSelection())}),C=c.getCurrentBlockType(_),P=s.processText(v,k,C),T=r.createFromArray(P);e.update(h(e._latestEditorState,T))}}}},function(e,t,n){"use strict";var r=n(21)||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(19),n(46)),i=n(22),a=n(40),s=n(1),u=n(278),c=n(33),l=n(279),f=n(134),p=s.List,d=s.Repeat,h=a.draft_tree_data_support,y=h?i:o,g={processHTML:function(e,t){return u(e,l,t)},processText:function(e,t,n){return e.reduce(function(e,o,i){o=f(o);var a=c(),s={key:a,type:n,text:o,characterList:p(d(t,o.length))};if(h&&0!==i){var u=i-1,l=e[u]=e[u].merge({nextSibling:a});s=r({},s,{prevSibling:l.getKey()})}return e.push(new y(s)),e},[])}};e.exports=g},function(e,t,n){"use strict";var r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._uri=t}return e.prototype.toString=function(){return this._uri},e}();e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var o=t.getStartKey(),i=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil(function(e,t){return t===o}).takeUntil(function(e,t){return t===i}).concat([[i,a.get(i)]]).map(function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,r)),e.set("depth",t)});return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})}},function(e,t,n){"use strict";var r=/\r\n?|\n/g;e.exports=function(e){return e.split(r)}},function(e,t,n){"use strict";var r=n(3),o=n(43),i=n(509),a=n(2);e.exports=function(e){if(!e._blockSelectEvents&&e._latestEditorState===e.props.editorState){var t=e.props.editorState,n=o.findDOMNode(e.editorContainer);n||a(!1),n.firstChild instanceof HTMLElement||a(!1);var s=i(t,n.firstChild),u=s.selectionState;u!==t.getSelection()&&(t=s.needsRecovery?r.forceSelection(t,u):r.acceptSelection(t,u),e.update(t))}}},function(e,t,n){"use strict";(function(t){var r=n(275);e.exports=function(e,n){var o=t.getSelection();return 0===o.rangeCount?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:r(e,n,o.anchorNode,o.anchorOffset,o.focusNode,o.focusOffset)}}).call(this,n(7))},function(e,t,n){"use strict";var r=n(0),o=n(60),i=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},t.prototype.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=o({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return r.createElement("div",{className:t},r.createElement("div",{className:o("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},t}(r.Component);e.exports=i},function(e,t,n){"use strict";var r=n(21)||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(46),i=n(22),a=n(282),s=n(512),u=n(513),c=n(2),l=function(e,t){return{key:e.getKey(),text:e.getText(),type:e.getType(),depth:e.getDepth(),inlineStyleRanges:u(e),entityRanges:s(e,t),data:e.getData().toObject()}},f=function(e,t){var n=t.entityMap,s=[],u={},f={},p=0;return e.getBlockMap().forEach(function(e){e.findEntityRanges(function(e){return null!==e.getEntity()},function(t){var r=e.getEntityAt(t),o=a.stringify(r);f[o]||(f[o]=r,n[o]=""+p,p++)}),function(e,t,n,a){if(e instanceof o)n.push(l(e,t));else{e instanceof i||c(!1);var s=e.getParentKey(),u=a[e.getKey()]=r({},l(e,t),{children:[]});s?a[s].children.push(u):n.push(u)}}(e,n,s,u)}),{blocks:s,entityMap:n}};e.exports=function(e){var t={entityMap:{},blocks:[]};return t=function(e,t){var n=t.blocks,r=t.entityMap,o={};return Object.keys(r).forEach(function(t,n){var r=e.getEntity(a.unstringify(t));o[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}}),{blocks:n,entityMap:o}}(e,t=f(e,t))}},function(e,t,n){"use strict";var r=n(282),o=n(47).strlen;e.exports=function(e,t){var n=[];return e.findEntityRanges(function(e){return!!e.getEntity()},function(i,a){var s=e.getText(),u=e.getEntityAt(i);n.push({offset:o(s.slice(0,i)),length:o(s.slice(i,a)),key:Number(t[r.stringify(u)])})}),n}},function(e,t,n){"use strict";var r=n(47),o=n(66),i=function(e,t){return e===t},a=function(e){return!!e},s=[];e.exports=function(e){var t=e.getCharacterList().map(function(e){return e.getStyle()}).toList(),n=t.flatten().toSet().map(function(n){return function(e,t,n){var s=[],u=t.map(function(e){return e.has(n)}).toList();return o(u,i,a,function(t,o){var i=e.getText();s.push({offset:r.strlen(i.slice(0,t)),length:r.strlen(i.slice(t,o)),style:n})}),s}(e,t,n)});return Array.prototype.concat.apply(s,n.toJS())}},function(e,t,n){"use strict";var r=n(21)||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(46),i=n(22),a=n(133),s=n(86),u=n(40),c=n(515),l=n(1),f=n(59),p=n(516),d=n(517),h=n(518),y=n(33),g=n(2),v=u.draft_tree_data_support,m=l.List,b=l.Map,_=l.OrderedMap,w=function(e,t){var n=e.key,r=e.type,o=e.data;return{text:e.text,depth:e.depth||0,type:r||"unstyled",key:n||y(),data:b(o),characterList:S(e,t)}},S=function(e,t){var n=e.text,o=e.entityRanges,i=e.inlineStyleRanges,a=o||[];return p(h(n,i||[]),d(n,a.filter(function(e){return t.hasOwnProperty(e.key)}).map(function(e){return r({},e,{key:t[e.key]})})))},E=function(e){return r({},e,{key:e.key||y()})},x=function(e,t,n){var o=t.map(function(e){return r({},e,{parentRef:n})});return e.concat(o.reverse())},O=function(e,t){var n=Array.isArray(e.blocks[0].children),a=v&&!n?c.fromRawStateToRawTreeState(e).blocks:e.blocks;return v?function(e,t){return e.map(E).reduce(function(n,o,a){Array.isArray(o.children)||g(!1);var s=o.children.map(E),u=new i(r({},w(o,t),{prevSibling:0===a?null:e[a-1].key,nextSibling:a===e.length-1?null:e[a+1].key,children:m(s.map(function(e){return e.key}))}));n=n.set(u.getKey(),u);for(var c=x([],s,u);c.length>0;){var l=c.pop(),f=l.parentRef,p=f.getChildKeys(),d=p.indexOf(l.key),h=Array.isArray(l.children);if(!h){h||g(!1);break}var y=l.children.map(E),v=new i(r({},w(l,t),{parent:f.getKey(),children:m(y.map(function(e){return e.key})),prevSibling:0===d?null:p.get(d-1),nextSibling:d===p.size-1?null:p.get(d+1)}));n=n.set(v.getKey(),v),c=x(c,y,v)}return n},_())}(a,t):function(e,t){return _(e.map(function(e){var n=new o(w(e,t));return[n.getKey(),n]}))}(n?c.fromRawTreeStateToRawState(e).blocks:a,t)};e.exports=function(e){Array.isArray(e.blocks)||g(!1);var t=function(e){var t=e.entityMap,n={};return Object.keys(t).forEach(function(e){var r=t[e],o=r.type,i=r.mutability,a=r.data;n[e]=s.__create(o,i,a||{})}),n}(e),n=O(e,t),r=n.isEmpty()?new f:f.createEmpty(n.first().getKey());return new a({blockMap:n,entityMap:t,selectionBefore:r,selectionAfter:r})}},function(e,t,n){"use strict";var r=n(21)||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(2),i=function(e){if(!e||!e.type)return!1;var t=e.type;return"unordered-list-item"===t||"ordered-list-item"===t},a={fromRawTreeStateToRawState:function(e){var t=e.blocks,n=[];return Array.isArray(t)||o(!1),Array.isArray(t)&&t.length?(function(e,t){for(var n=[].concat(e).reverse();n.length;){var r=n.pop();t(r);var i=r.children;Array.isArray(i)||o(!1),n=n.concat([].concat(i.reverse()))}}(t,function(e){var t=r({},e);i(e)&&(t.depth=t.depth||0,function(e){Array.isArray(e.children)&&(e.children=e.children.map(function(t){return t.type===e.type?r({},t,{depth:(e.depth||0)+1}):t}))}(e)),delete t.children,n.push(t)}),e.blocks=n,r({},e,{blocks:n})):e},fromRawStateToRawTreeState:function(e){var t={},n=[];return e.blocks.forEach(function(e){var a=i(e),s=e.depth||0,u=r({},e,{children:[]});if(!a)return t={},void n.push(u);if(t[s]=u,s>0){var c=t[s-1];return c||o(!1),void c.children.push(u)}n.push(u)}),r({},e,{blocks:n})}};e.exports=a},function(e,t,n){"use strict";var r=n(19),o=n(1).List;e.exports=function(e,t){var n=e.map(function(e,n){var o=t[n];return r.create({style:e,entity:o})});return o(n)}},function(e,t,n){"use strict";var r=n(47).substr;e.exports=function(e,t){var n=Array(e.length).fill(null);return t&&t.forEach(function(t){for(var o=r(e,0,t.offset).length,i=o+r(e,t.offset,t.length).length,a=o;a<i;a++)n[a]=t.key}),n}},function(e,t,n){"use strict";var r=n(1).OrderedSet,o=n(47).substr,i=r();e.exports=function(e,t){var n=Array(e.length).fill(i);return t&&t.forEach(function(t){for(var r=o(e,0,t.offset).length,i=r+o(e,t.offset,t.length).length;r<i;)n[r]=n[r].add(t.style),r++}),n}},function(e,t,n){"use strict";var r=n(520);e.exports=function(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),o=r(n),i=o.top,a=o.right,s=o.bottom,u=o.left;return 0===i&&0===a&&0===s&&0===u?null:o}},function(e,t,n){"use strict";var r=n(274);e.exports=function(e){var t=r(e),n=0,o=0,i=0,a=0;if(t.length){if(t.length>1&&0===t[0].width){var s=t[1];n=s.top,o=s.right,i=s.bottom,a=s.left}else{var u=t[0];n=u.top,o=u.right,i=u.bottom,a=u.left}for(var c=1;c<t.length;c++){var l=t[c];0!==l.height&&0!==l.width&&(n=Math.min(n,l.top),o=Math.max(o,l.right),i=Math.max(i,l.bottom),a=Math.min(a,l.left))}}return{top:n,right:o,bottom:i,left:a,width:o-a,height:i-n}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return function(e){return e};if(1===t.length)return t[0];var r=t[t.length-1];return function(){for(var e=r.apply(void 0,arguments),n=t.length-2;n>=0;n-=1){e=(0,t[n])(e)}return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),a=y(i),s=y(n(523)),u=n(18),c=n(1),l=y(n(526)),f=y(n(527)),p=y(n(528)),d=y(n(531)),h=y(n(532));function y(e){return e&&e.__esModule?e:{default:e}}function g(e,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 v(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var m=function(e){var t=void 0;return null!=e.decorators?t=e.decorators:null!=e._decorators&&(t=e._decorators),null!=t.size?t.size:t.length},b=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return _.call(n),[n.props].concat(v(n.resolvePlugins())).forEach(function(e){"function"==typeof e.initialize&&e.initialize(n.getPluginMethods())}),l.default.forEach(function(e){n[e]=function(){var t;return(t=n.editor)[e].apply(t,arguments)}}),n.state={},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"componentWillMount",value:function(){var e=(0,p.default)(this.props,this.getEditorState,this.onChange),t=u.EditorState.set(this.props.editorState,{decorator:e});this.onChange((0,f.default)(t))}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.editorState.getDecorator(),n=e.editorState.getDecorator();if(t&&!(t===n||t&&n&&m(t)===m(n))){var r=u.EditorState.set(e.editorState,{decorator:t});this.onChange((0,f.default)(r))}}},{key:"componentWillUnmount",value:function(){var e=this;this.resolvePlugins().forEach(function(t){t.willUnmount&&t.willUnmount({getEditorState:e.getEditorState,setEditorState:e.onChange})})}},{key:"render",value:function(){var e=this,t=this.createPluginHooks(),n=this.resolveCustomStyleMap(),o=this.resolveAccessibilityProps(),i=this.resolveblockRenderMap();return a.default.createElement(u.Editor,r({},this.props,o,t,{readOnly:this.props.readOnly||this.state.readOnly,customStyleMap:n,blockRenderMap:i,onChange:this.onChange,editorState:this.props.editorState,ref:function(t){e.editor=t}}))}}]),t}();b.propTypes={editorState:s.default.object.isRequired,onChange:s.default.func.isRequired,plugins:s.default.array,defaultKeyBindings:s.default.bool,defaultKeyCommands:s.default.bool,defaultBlockRenderMap:s.default.bool,customStyleMap:s.default.object,decorators:s.default.array},b.defaultProps={defaultBlockRenderMap:!0,defaultKeyBindings:!0,defaultKeyCommands:!0,customStyleMap:{},plugins:[],decorators:[]};var _=function(){var e=this;this.onChange=function(t){var n=t;e.resolvePlugins().forEach(function(t){t.onChange&&(n=t.onChange(n,e.getPluginMethods()))}),e.props.onChange&&e.props.onChange(n,e.getPluginMethods())},this.getPlugins=function(){return e.props.plugins.slice(0)},this.getProps=function(){return r({},e.props)},this.getReadOnly=function(){return e.props.readOnly},this.setReadOnly=function(t){t!==e.state.readOnly&&e.setState({readOnly:t})},this.getEditorRef=function(){return e.editor},this.getEditorState=function(){return e.props.editorState},this.getPluginMethods=function(){return{getPlugins:e.getPlugins,getProps:e.getProps,setEditorState:e.onChange,getEditorState:e.getEditorState,getReadOnly:e.getReadOnly,setReadOnly:e.setReadOnly,getEditorRef:e.getEditorRef}},this.createEventHooks=function(t,n){return function(){for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=[].slice.apply(o);return a.push(e.getPluginMethods()),n.some(function(e){return"function"==typeof e[t]&&!0===e[t].apply(e,v(a))})}},this.createHandleHooks=function(t,n){return function(){for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=[].slice.apply(o);return a.push(e.getPluginMethods()),n.some(function(e){return"function"==typeof e[t]&&"handled"===e[t].apply(e,v(a))})?"handled":"not-handled"}},this.createFnHooks=function(t,n){return function(){for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];var s=[].slice.apply(i);if(s.push(e.getPluginMethods()),"blockRendererFn"===t){var u={props:{}};return n.forEach(function(e){if("function"==typeof e[t]){var n=e[t].apply(e,v(s));if(void 0!==n&&null!==n){var o=n.props,i=g(n,["props"]),a=u,c=a.props,l=g(a,["props"]);u=r({},l,i,{props:r({},c,o)})}}}),!!u.component&&u}if("blockStyleFn"===t){var c=void 0;return n.forEach(function(e){if("function"==typeof e[t]){var n=e[t].apply(e,v(s));void 0!==n&&null!==n&&(c=(c?c+" ":"")+n)}}),c||""}var l=void 0;return!!n.some(function(e){return"function"==typeof e[t]&&void 0!==(l=e[t].apply(e,v(s)))})&&l}},this.createPluginHooks=function(){var t={},n=[],r=[],o=[],i=[e.props].concat(v(e.resolvePlugins()));return i.forEach(function(e){Object.keys(e).forEach(function(e){"onChange"!==e&&(-1===n.indexOf(e)&&-1===o.indexOf(e)&&(0===e.indexOf("on")?n.push(e):0===e.indexOf("handle")?r.push(e):e.length-2===e.indexOf("Fn")&&o.push(e)))})}),n.forEach(function(n){t[n]=e.createEventHooks(n,i)}),r.forEach(function(n){t[n]=e.createHandleHooks(n,i)}),o.forEach(function(n){t[n]=e.createFnHooks(n,i)}),t},this.resolvePlugins=function(){var t=e.props.plugins.slice(0);return!0===e.props.defaultKeyBindings&&t.push(d.default),!0===e.props.defaultKeyCommands&&t.push(h.default),t},this.resolveCustomStyleMap=function(){return e.props.plugins.filter(function(e){return void 0!==e.customStyleMap}).map(function(e){return e.customStyleMap}).concat([e.props.customStyleMap]).reduce(function(e,t){return r({},e,t)},{})},this.resolveblockRenderMap=function(){var t=e.props.plugins.filter(function(e){return void 0!==e.blockRenderMap}).reduce(function(e,t){return e.merge(t.blockRenderMap)},(0,c.Map)({}));return e.props.defaultBlockRenderMap&&(t=u.DefaultDraftBlockRenderMap.merge(t)),e.props.blockRenderMap&&(t=t.merge(e.props.blockRenderMap)),t},this.resolveAccessibilityProps=function(){var t={};return[e.props].concat(v(e.resolvePlugins())).forEach(function(e){if("function"==typeof e.getAccessibilityProps){var n=e.getAccessibilityProps(),o={};void 0===t.ariaHasPopup?o.ariaHasPopup=n.ariaHasPopup:"true"===n.ariaHasPopup&&(o.ariaHasPopup="true"),void 0===t.ariaExpanded?o.ariaExpanded=n.ariaExpanded:!0===n.ariaExpanded&&(o.ariaExpanded=!0),t=r({},t,n,o)}}),t}};t.default=b},function(e,t,n){e.exports=n(524)()},function(e,t,n){"use strict";var r=n(525);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=["focus","blur","setMode","exitCurrentMode","restoreEditorDOM","setRenderGuard","removeRenderGuard","setClipboard","getClipboard","getEditorKey","update","onDragEnter","onDragLeave"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18);t.default=function(e){var t=e.getCurrentContent().getBlockMap(),n=t.last().getKey(),o=t.last().getLength(),i=new r.SelectionState({anchorKey:n,anchorOffset:o,focusKey:n,focusOffset:o});return r.EditorState.acceptSelection(e,i)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=a(n(529)),i=a(n(530));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){return"function"==typeof e.getDecorations&&"function"==typeof e.getComponentForKey&&"function"==typeof e.getPropsForKey},u=function(e){var t=e.decorators,n=e.plugins;return(0,r.List)([{decorators:t}].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(n))).filter(function(e){return void 0!==e.decorators}).flatMap(function(e){return e.decorators})};t.default=function(e,t,n){var r=u(e),a=(0,o.default)(r.filter(function(e){return!s(e)}),t,n),c=r.filter(function(e){return s(e)});return new i.default(c.push(a))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(1),i=n(18),a=function(e){return e&&e.__esModule?e:{default:e}}(n(283));t.default=function(e,t,n){var s=(0,o.List)(e).map(function(e){return r({},e,{component:(0,a.default)(e.component,{getEditorState:t,setEditorState:n})})}).toJS();return new i.CompositeDecorator(s)}},function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(e){return e&&e.__esModule?e:{default:e}}(n(1));var i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.decorators=o.default.List(t)}return r(e,[{key:"getDecorations",value:function(e,t){var n=new Array(e.getText().length).fill(null);return this.decorators.forEach(function(r,o){r.getDecorations(e,t).forEach(function(e,t){e&&(n[t]=o+"-"+e)})}),o.default.List(n)}},{key:"getComponentForKey",value:function(t){return this.getDecoratorForKey(t).getComponentForKey(e.getInnerKey(t))}},{key:"getPropsForKey",value:function(t){return this.getDecoratorForKey(t).getPropsForKey(e.getInnerKey(t))}},{key:"getDecoratorForKey",value:function(e){var t=e.split("-"),n=Number(t[0]);return this.decorators.get(n)}}],[{key:"getInnerKey",value:function(e){return e.split("-").slice(1).join("-")}}]),e}();e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18);t.default={keyBindingFn:function(e){return(0,r.getDefaultKeyBinding)(e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18);t.default={handleKeyCommand:function(e,t,n){var o=n.setEditorState,i=void 0;switch(e){case"backspace":case"backspace-word":case"backspace-to-start-of-line":i=r.RichUtils.onBackspace(t);break;case"delete":case"delete-word":case"delete-to-end-of-block":i=r.RichUtils.onDelete(t);break;default:return"not-handled"}return null!=i?(o(i),"handled"):"not-handled"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultSuggestionsFilter=t.defaultTheme=t.MentionSuggestions=void 0;var r=n(534);Object.defineProperty(t,"MentionSuggestions",{enumerable:!0,get:function(){return v(r).default}});var o=v(n(283)),i=n(1),a=v(n(543)),s=v(r),u=v(n(545)),c=v(n(546)),l=v(n(547)),f=v(n(548)),p=v({mention:"draftJsMentionPlugin__mention__29BEd"}),d=v({mentionSuggestions:"draftJsMentionPlugin__mentionSuggestions__2DWjA"}),h=v({mentionSuggestionsEntry:"draftJsMentionPlugin__mentionSuggestionsEntry__3mSwm",mentionSuggestionsEntryFocused:"draftJsMentionPlugin__mentionSuggestionsEntryFocused__3LcTd draftJsMentionPlugin__mentionSuggestionsEntry__3mSwm",mentionSuggestionsEntryText:"draftJsMentionPlugin__mentionSuggestionsEntryText__3Jobq",mentionSuggestionsEntryAvatar:"draftJsMentionPlugin__mentionSuggestionsEntryAvatar__1xgA9"}),y=v(n(550)),g=v(n(551));function v(e){return e&&e.__esModule?e:{default:e}}var m=t.defaultTheme={mention:p.default.mention,mentionSuggestions:d.default.mentionSuggestions,mentionSuggestionsEntry:h.default.mentionSuggestionsEntry,mentionSuggestionsEntryFocused:h.default.mentionSuggestionsEntryFocused,mentionSuggestionsEntryText:h.default.mentionSuggestionsEntryText,mentionSuggestionsEntryAvatar:h.default.mentionSuggestionsEntryAvatar};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={keyBindingFn:void 0,handleKeyCommand:void 0,onDownArrow:void 0,onUpArrow:void 0,onTab:void 0,onEscape:void 0,handleReturn:void 0,onChange:void 0},n={ariaHasPopup:"false",ariaExpanded:!1,ariaOwneeID:void 0,ariaActiveDescendantID:void 0},r=(0,i.Map)(),p=void 0,d=(0,i.Map)(),h=void 0,y={getEditorState:void 0,setEditorState:void 0,getPortalClientRect:function(e){return d.get(e)()},getAllSearches:function(){return r},isEscaped:function(e){return p===e},escapeSearch:function(e){p=e},resetEscapedSearch:function(){p=void 0},register:function(e){r=r.set(e,e)},updatePortalClientRect:function(e,t){d=d.set(e,t)},unregister:function(e){r=r.delete(e),d=d.delete(e)},getIsOpened:function(){return h},setIsOpened:function(e){h=e}},v=e.mentionPrefix,b=void 0===v?"":v,_=e.theme,w=void 0===_?m:_,S=e.positionSuggestions,E=void 0===S?g.default:S,x=e.mentionComponent,O=e.mentionSuggestionsComponent,k=void 0===O?s.default:O,C=e.entityMutability,P=void 0===C?"SEGMENTED":C,T=e.mentionTrigger,j=void 0===T?"@":T,R=e.mentionRegExp,M=void 0===R?c.default:R,A={ariaProps:n,callbacks:t,theme:w,store:y,entityMutability:P,positionSuggestions:E,mentionTrigger:j,mentionPrefix:b};return{MentionSuggestions:(0,o.default)(k,A),decorators:[{strategy:(0,l.default)(j),component:(0,o.default)(a.default,{theme:w,mentionComponent:x})},{strategy:(0,f.default)(j,M),component:(0,o.default)(u.default,{store:y})}],getAccessibilityProps:function(){return{role:"combobox",ariaAutoComplete:"list",ariaHasPopup:n.ariaHasPopup,ariaExpanded:n.ariaExpanded,ariaActiveDescendantID:n.ariaActiveDescendantID,ariaOwneeID:n.ariaOwneeID}},initialize:function(e){var t=e.getEditorState,n=e.setEditorState;y.getEditorState=t,y.setEditorState=n},onDownArrow:function(e){return t.onDownArrow&&t.onDownArrow(e)},onTab:function(e){return t.onTab&&t.onTab(e)},onUpArrow:function(e){return t.onUpArrow&&t.onUpArrow(e)},onEscape:function(e){return t.onEscape&&t.onEscape(e)},handleReturn:function(e){return t.handleReturn&&t.handleReturn(e)},onChange:function(e){return t.onChange?t.onChange(e):e}}};t.defaultSuggestionsFilter=y.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MentionSuggestions=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),a=y(i),s=y(n(284)),u=n(18),c=y(n(285)),l=y(n(537)),f=y(n(538)),p=y(n(540)),d=y(n(286)),h=y(n(541));function y(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var v=t.MentionSuggestions=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=g(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={isActive:!1,focusedOptionIndex:0},r.componentDidUpdate=function(e,t){if(r.popover){var n=r.props.suggestions.length;if(n>0&&r.state.focusedOptionIndex>=n&&r.setState({focusedOptionIndex:n-1}),!r.props.store.getAllSearches().has(r.activeOffsetKey))return;var o=r.props.store.getPortalClientRect(r.activeOffsetKey),i=r.props.positionSuggestions({decoratorRect:o,prevProps:e,prevState:t,props:r.props,state:r.state,popover:r.popover});Object.keys(i).forEach(function(e){r.popover.style[e]=i[e]})}},r.componentWillUnmount=function(){r.props.callbacks.onChange=void 0},r.onEditorStateChange=function(e){var t=r.props.store.getAllSearches();if(0===t.size)return e;var n=function(){return r.props.store.resetEscapedSearch(),r.closeDropdown(),e},o=e.getSelection(),i=o.getAnchorKey(),a=o.getAnchorOffset();if(!o.isCollapsed()||!o.getHasFocus())return n();var s=t.map(function(e){return(0,p.default)(e)}).filter(function(e){return e.blockKey===i}).map(function(t){var n=t.blockKey,r=t.decoratorKey;return e.getBlockTree(n).getIn([r])});if(s.every(function(e){return void 0===e}))return n();var u=e.getCurrentContent().getPlainText(),l=s.filter(function(e){return void 0!==e}).map(function(e){var t=e.start,n=e.end;return 0===t&&a===r.props.mentionTrigger.length&&u.charAt(a)!==r.props.mentionTrigger&&new RegExp(String.raw({raw:""+(0,c.default)(r.props.mentionTrigger)}),"g").test(u)&&a<=n||a>t+r.props.mentionTrigger.length&&a<=n});if(l.every(function(e){return!1===e}))return n();var f=r.activeOffsetKey;return r.activeOffsetKey=l.filter(function(e){return!0===e}).keySeq().first(),r.onSearchChange(e,o,r.activeOffsetKey,f),r.props.store.isEscaped(r.activeOffsetKey)||r.props.store.resetEscapedSearch(),!r.state.isActive&&!r.props.store.isEscaped(r.activeOffsetKey)&&r.props.suggestions.length>0&&r.openDropdown(),void 0!==r.lastSelectionIsInsideWord&&l.equals(r.lastSelectionIsInsideWord)||r.setState({focusedOptionIndex:0}),r.lastSelectionIsInsideWord=l,e},r.onSearchChange=function(e,t,n,o){var i=(0,d.default)(e,t,r.props.mentionTrigger).word,a=i.substring(r.props.mentionTrigger.length,i.length);r.lastSearchValue===a&&n===o||(r.lastSearchValue=a,r.props.onSearchChange({value:a}))},r.onDownArrow=function(e){e.preventDefault();var t=r.state.focusedOptionIndex+1;r.onMentionFocus(t>=r.props.suggestions.length?0:t)},r.onTab=function(e){e.preventDefault(),r.commitSelection()},r.onUpArrow=function(e){if(e.preventDefault(),r.props.suggestions.length>0){var t=r.state.focusedOptionIndex-1;r.onMentionFocus(t<0?r.props.suggestions.length-1:t)}},r.onEscape=function(e){e.preventDefault();var t=r.lastSelectionIsInsideWord.filter(function(e){return!0===e}).keySeq().first();r.props.store.escapeSearch(t),r.closeDropdown(),r.props.store.setEditorState(r.props.store.getEditorState())},r.onMentionSelect=function(e){if(e){r.props.onAddMention&&r.props.onAddMention(e),r.closeDropdown();var t=(0,f.default)(r.props.store.getEditorState(),e,r.props.mentionPrefix,r.props.mentionTrigger,r.props.entityMutability);r.props.store.setEditorState(t)}},r.onMentionFocus=function(e){var t="mention-option-"+r.key+"-"+e;r.props.ariaProps.ariaActiveDescendantID=t,r.setState({focusedOptionIndex:e}),r.props.store.setEditorState(r.props.store.getEditorState())},r.commitSelection=function(){return r.props.store.getIsOpened()?(r.onMentionSelect(r.props.suggestions[r.state.focusedOptionIndex]),"handled"):"not-handled"},r.openDropdown=function(){r.props.callbacks.onDownArrow=r.onDownArrow,r.props.callbacks.onUpArrow=r.onUpArrow,r.props.callbacks.onEscape=r.onEscape,r.props.callbacks.handleReturn=r.commitSelection,r.props.callbacks.onTab=r.onTab;var e="mention-option-"+r.key+"-"+r.state.focusedOptionIndex;r.props.ariaProps.ariaActiveDescendantID=e,r.props.ariaProps.ariaOwneeID="mentions-list-"+r.key,r.props.ariaProps.ariaHasPopup="true",r.props.ariaProps.ariaExpanded=!0,r.setState({isActive:!0}),r.props.onOpen&&r.props.onOpen()},r.closeDropdown=function(){r.props.callbacks.onDownArrow=void 0,r.props.callbacks.onUpArrow=void 0,r.props.callbacks.onTab=void 0,r.props.callbacks.onEscape=void 0,r.props.callbacks.handleReturn=void 0,r.props.ariaProps.ariaHasPopup="false",r.props.ariaProps.ariaExpanded=!1,r.props.ariaProps.ariaActiveDescendantID=void 0,r.props.ariaProps.ariaOwneeID=void 0,r.setState({isActive:!1}),r.props.onClose&&r.props.onClose()},g(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"componentWillMount",value:function(){this.key=(0,u.genKey)(),this.props.callbacks.onChange=this.onEditorStateChange}},{key:"componentWillReceiveProps",value:function(e){0===e.suggestions.length&&this.state.isActive?this.closeDropdown():e.suggestions.length>0&&e.suggestions!==this.props.suggestions&&!this.state.isActive&&this.openDropdown()}},{key:"render",value:function(){var e=this;if(!this.state.isActive)return null;var t=this.props,n=t.entryComponent,o=t.popoverComponent,i=void 0===o?a.default.createElement("div",null):o,s=(t.onClose,t.onOpen,t.onAddMention,t.onSearchChange,t.suggestions,t.ariaProps,t.callbacks,t.theme),u=void 0===s?{}:s,c=(t.store,t.entityMutability,t.positionSuggestions,t.mentionTrigger,t.mentionPrefix,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["entryComponent","popoverComponent","onClose","onOpen","onAddMention","onSearchChange","suggestions","ariaProps","callbacks","theme","store","entityMutability","positionSuggestions","mentionTrigger","mentionPrefix"]));return a.default.cloneElement(i,r({},c,{className:u.mentionSuggestions,role:"listbox",id:"mentions-list-"+this.key,ref:function(t){e.popover=t}}),this.props.suggestions.map(function(t,r){return a.default.createElement(l.default,{key:null!=t.id?t.id:t.name,onMentionSelect:e.onMentionSelect,onMentionFocus:e.onMentionFocus,isFocused:e.state.focusedOptionIndex===r,mention:t,index:r,id:"mention-option-"+e.key+"-"+r,theme:u,searchValue:e.lastSearchValue,entryComponent:n||h.default})}))}}]),t}();v.propTypes={entityMutability:s.default.oneOf(["SEGMENTED","IMMUTABLE","MUTABLE"]),entryComponent:s.default.func,onAddMention:s.default.func,suggestions:s.default.array},t.default=v},function(e,t,n){"use strict";var r=n(536);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0),i=s(o),a=s(n(284));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onMouseUp=function(){n.mouseDown&&(n.props.onMentionSelect(n.props.mention),n.mouseDown=!1)},n.onMouseDown=function(e){e.preventDefault(),n.mouseDown=!0},n.onMouseEnter=function(){n.props.onMentionFocus(n.props.index)},n.mouseDown=!1,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"componentDidUpdate",value:function(){this.mouseDown=!1}},{key:"render",value:function(){var e=this.props,t=e.theme,n=void 0===t?{}:t,r=e.mention,o=e.searchValue,a=e.isFocused,s=e.id,u=a?n.mentionSuggestionsEntryFocused:n.mentionSuggestionsEntry,c=this.props.entryComponent;return i.default.createElement(c,{className:u,onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onMouseEnter:this.onMouseEnter,role:"option",id:s,"aria-selected":a?"true":null,theme:n,mention:r,isFocused:a,searchValue:o})}}]),t}();u.propTypes={entryComponent:a.default.any.isRequired,searchValue:a.default.string,onMentionSelect:a.default.func},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),o=a(n(286)),i=a(n(287));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t,n,a,s){var u=e.getCurrentContent().createEntity((0,i.default)(a),s,{mention:t}).getLastCreatedEntityKey(),c=e.getSelection(),l=(0,o.default)(e,c,a),f=l.begin,p=l.end,d=c.merge({anchorOffset:f,focusOffset:p}),h=r.Modifier.replaceText(e.getCurrentContent(),d,""+n+t.name,null,u),y=d.getAnchorKey();e.getCurrentContent().getBlockForKey(y).getLength()===p&&(h=r.Modifier.insertText(h,h.getSelectionAfter()," "));var g=r.EditorState.push(e,h,"insert-mention");return r.EditorState.forceSelection(g,h.getSelectionAfter())}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e,t){var n=String(e),r=Number(t)>>>0,o=n.slice(0,r+1).search(/\S+$/),i=n.slice(r).search(/\s/);return i<0?{word:n.slice(o),begin:o,end:n.length}:{word:n.slice(o,i+r),begin:o,end:i+r}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.default=function(e){var t=e.split("-"),n=r(t,3),o=n[0],i=n[1],a=n[2];return{blockKey:o,decoratorKey:parseInt(i,10),leafKey:parseInt(a,10)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(0)),o=i(n(542));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.mention,n=e.theme,i=(e.isFocused,e.searchValue,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["mention","theme","isFocused","searchValue"]));return r.default.createElement("div",i,r.default.createElement(o.default,{mention:t,theme:n}),r.default.createElement("span",{className:n.mentionSuggestionsEntryText},t.name))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(0));t.default=function(e){var t=e.mention,n=e.theme,o=void 0===n?{}:n;return t.avatar?r.default.createElement("img",{src:t.avatar,className:o.mentionSuggestionsEntryAvatar,role:"presentation"}):null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(0)),o=i(n(544));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e){var t=e.mention,n=e.children,o=e.className;return r.default.createElement("a",{href:t.link,className:o,spellCheck:!1},n)},s=function(e){var t=e.children,n=e.className;return r.default.createElement("span",{className:n,spellCheck:!1},t)};t.default=function(e){var t=e.entityKey,n=e.theme,i=void 0===n?{}:n,u=e.mentionComponent,c=e.children,l=e.decoratedText,f=e.className,p=e.contentState,d=(0,o.default)(i.mention,f),h=p.getEntity(t).getData().mention,y=u||(h.link?a:s);return r.default.createElement(y,{entityKey:t,mention:h,theme:i,className:d,decoratedText:l},c)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};t.default=function(e,t){return e||t?e?t?o(e.split(" "),t.split(" ")).join(" "):e:t:""};var o=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t){var o=function(){var e=[];return t.forEach(function(t){t&&t.forEach(function(t){e.indexOf(t)<0&&e.push(t)})}),{v:e}}();if("object"===(void 0===o?"undefined":r(o)))return o.v}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(o);var a=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.searchPortalRef=function(e){n.searchPortal=e},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"componentDidMount",value:function(){this.props.store.register(this.props.offsetKey),this.props.store.setIsOpened(!0),this.updatePortalClientRect(this.props),this.props.setEditorState(this.props.getEditorState())}},{key:"componentWillReceiveProps",value:function(e){this.updatePortalClientRect(e)}},{key:"componentWillUnmount",value:function(){this.props.store.unregister(this.props.offsetKey),this.props.store.setIsOpened(!1)}},{key:"updatePortalClientRect",value:function(e){var t=this;this.props.store.updatePortalClientRect(e.offsetKey,function(){return t.searchPortal.getBoundingClientRect()})}},{key:"render",value:function(){return i.default.createElement("span",{className:this.key,ref:this.searchPortalRef},this.props.children)}}]),t}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="[\\w-À-ÖØ-öø-ÿĀ-ňŊ-ſА-я-ゟ゠-ヿ-가-힣一-黿]*"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(287));t.default=function(e){return function(t,n,o){t.findEntityRanges(function(t){var n=t.getEntity();return null!==n&&o.getEntity(n).getType()===(0,r.default)(e)},n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(549)),o=i(n(285));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){return function(n,i){var a=new RegExp(String.raw({raw:"(\\s|^)"+(0,o.default)(e)+t}),"g");(0,r.default)(a,n,i)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e,t,n){for(var r=t.getText(),o=void 0,i=void 0;null!==(o=e.exec(r));)o.index===e.lastIndex&&e.lastIndex++,n(i=o.index,i+o[0].length)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e,t){var n=e.toLowerCase(),r=t.filter(function(e){return!n||e.name.toLowerCase().indexOf(n)>-1}),o=r.length<5?r.length:5;return r.slice(0,o)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){var t=e.decoratorRect,n=e.popover,r=e.state,o=e.props,i=function e(t){return t?"static"!==window.getComputedStyle(t).getPropertyValue("position")?t:e(t.parentElement):null}(n.parentElement),a={};if(i){a.scrollLeft=i.scrollLeft,a.scrollTop=i.scrollTop;var s=i.getBoundingClientRect();a.left=t.left-s.left,a.top=t.bottom-s.top}else a.scrollTop=window.pageYOffset||document.documentElement.scrollTop,a.scrollLeft=window.pageXOffset||document.documentElement.scrollLeft,a.top=t.bottom,a.left=t.left;var u=a.left+a.scrollLeft,c=a.top+a.scrollTop,l=void 0,f=void 0;return r.isActive&&(o.suggestions.length>0?(l="scale(1)",f="all 0.25s cubic-bezier(.3,1.2,.2,1)"):(l="scale(0)",f="all 0.35s cubic-bezier(.3,1,.2,1)")),{left:u+"px",top:c+"px",transform:l,transformOrigin:"1em 0%",transition:f}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=n(18),i=n(553),a={stripEntities:!0};t.default=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return e=Object.assign({},a,e),{blockRenderMap:(0,r.Map)({unstyled:{element:"div"}}),onChange:function(t){var n=t.getCurrentContent().getBlocksAsArray();if(n.length>1)t=(0,i.condenseBlocks)(t,n,e);else{var r=n[0],a=r.getText(),s=r.getCharacterList(),u=e.stripEntities&&(0,i.characterListhasEntities)(s);if(i.NEWLINE_REGEX.test(a)||u){a=(0,i.replaceNewlines)(a),e.stripEntities&&(s=s.map(i.stripEntityFromCharacterMetadata)),r=new o.ContentBlock({key:(0,o.genKey)(),text:a,type:"unstyled",characterList:s,depth:0});var c=o.ContentState.createFromBlockArray([r]);t=o.EditorState.push(t,c,"insert-characters")}}return t},handleReturn:function(e){return"handled"}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NEWLINE_REGEX=void 0,t.replaceNewlines=a,t.condenseBlocks=function(e,t,n){t=t||e.getCurrentContent().getBlocksAsArray();var i=(0,o.List)(),u=(0,o.List)();t.forEach(function(e){"atomic"!==e.getType()&&(i=i.push(a(e.getText())),u=u.concat(e.getCharacterList()))}),n.stripEntities&&(u=u.map(s));var c=new r.ContentBlock({key:(0,r.genKey)(),text:i.join(""),type:"unstyled",characterList:u,depth:0}),l=r.ContentState.createFromBlockArray([c]);return e=r.EditorState.push(e,l,"remove-range"),r.EditorState.moveFocusToEnd(e)},t.stripEntityFromCharacterMetadata=s,t.characterListhasEntities=function(e){var t=!1;return e.forEach(function(e){null!==e.get("entity")&&(t=!0)}),t};var r=n(18),o=n(1),i=t.NEWLINE_REGEX=/\n/g;function a(e){var t=arguments.length<=1||void 0===arguments[1]?" ":arguments[1];return e.replace(i,t)}function s(e){return e.set("entity",null)}},function(e,t,n){var r=n(288),o=n(70),i=n(88),a=n(17),s=n(49),u=n(89),c=n(69),l=n(147),f="[object Map]",p="[object Set]",d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||l(e)||i(e)))return!e.length;var t=o(e);if(t==f||t==p)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},function(e,t,n){var r=n(289)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(48)(n(25),"DataView");e.exports=r},function(e,t,n){var r=n(176),o=n(558),i=n(29),a=n(290),s=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?p:s).test(a(e))}},function(e,t,n){var r=n(559),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},function(e,t,n){var r=n(25)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(48)(n(25),"Promise");e.exports=r},function(e,t,n){var r=n(48)(n(25),"Set");e.exports=r},function(e,t,n){var r=n(48)(n(25),"WeakMap");e.exports=r},function(e,t,n){var r=n(39),o=n(30),i="[object Arguments]";e.exports=function(e){return o(e)&&r(e)==i}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(39),o=n(146),i=n(30),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},function(e,t,n){var r=n(291),o=n(568),i=n(293),a=n(17);e.exports=function(e,t){return(a(e)?r:o)(e,i(t,3))}},function(e,t,n){var r=n(569);e.exports=function(e,t){var n=[];return r(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}},function(e,t,n){var r=n(570),o=n(574)(r);e.exports=o},function(e,t,n){var r=n(571),o=n(50);e.exports=function(e,t){return e&&r(e,t,o)}},function(e,t,n){var r=n(572)();e.exports=r},function(e,t){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var u=a[e?s:++o];if(!1===n(i[u],u,i))break}return t}}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){var r=n(49);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a<i)&&!1!==o(s[a],a,s););return n}}},function(e,t,n){var r=n(576),o=n(609),i=n(301);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(149),o=n(294),i=1,a=2;e.exports=function(e,t,n,s){var u=n.length,c=u,l=!s;if(null==e)return!c;for(e=Object(e);u--;){var f=n[u];if(l&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}for(;++u<c;){var p=(f=n[u])[0],d=e[p],h=f[1];if(l&&f[2]){if(void 0===d&&!(p in e))return!1}else{var y=new r;if(s)var g=s(d,h,p,e,t,y);if(!(void 0===g?o(h,d,i|a,s,y):g))return!1}}return!0}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(91),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},function(e,t,n){var r=n(91);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(91);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(91);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(90);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(90),o=n(145),i=n(150),a=200;e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!o||s.length<a-1)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(s)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(588),o=n(90),i=n(145);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(e,t,n){var r=n(589),o=n(590),i=n(591),a=n(592),s=n(593);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},function(e,t,n){var r=n(93);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(93),o="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return n===o?void 0:n}return i.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(93),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},function(e,t,n){var r=n(93),o="__lodash_hash_undefined__";e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?o:t,this}},function(e,t,n){var r=n(94);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(94);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(94);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(94);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t,n){var r=n(149),o=n(295),i=n(605),a=n(608),s=n(70),u=n(17),c=n(89),l=n(147),f=1,p="[object Arguments]",d="[object Array]",h="[object Object]",y=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,v,m){var b=u(e),_=u(t),w=b?d:s(e),S=_?d:s(t),E=(w=w==p?h:w)==h,x=(S=S==p?h:S)==h,O=w==S;if(O&&c(e)){if(!c(t))return!1;b=!0,E=!1}if(O&&!E)return m||(m=new r),b||l(e)?o(e,t,n,g,v,m):i(e,t,w,n,g,v,m);if(!(n&f)){var k=E&&y.call(e,"__wrapped__"),C=x&&y.call(t,"__wrapped__");if(k||C){var P=k?e.value():e,T=C?t.value():t;return m||(m=new r),v(P,T,n,g,m)}}return!!O&&(m||(m=new r),a(e,t,n,g,v,m))}},function(e,t,n){var r=n(150),o=n(601),i=n(602);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},function(e,t){var n="__lodash_hash_undefined__";e.exports=function(e){return this.__data__.set(e,n),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(58),o=n(296),i=n(92),a=n(295),s=n(606),u=n(607),c=1,l=2,f="[object Boolean]",p="[object Date]",d="[object Error]",h="[object Map]",y="[object Number]",g="[object RegExp]",v="[object Set]",m="[object String]",b="[object Symbol]",_="[object ArrayBuffer]",w="[object DataView]",S=r?r.prototype:void 0,E=S?S.valueOf:void 0;e.exports=function(e,t,n,r,S,x,O){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case _:return!(e.byteLength!=t.byteLength||!x(new o(e),new o(t)));case f:case p:case y:return i(+e,+t);case d:return e.name==t.name&&e.message==t.message;case g:case m:return e==t+"";case h:var k=s;case v:var C=r&c;if(k||(k=u),e.size!=t.size&&!C)return!1;var P=O.get(e);if(P)return P==t;r|=l,O.set(e,t);var T=a(k(e),k(t),r,S,x,O);return O.delete(e),T;case b:if(E)return E.call(e)==E.call(t)}return!1}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},function(e,t,n){var r=n(297),o=1,i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,s,u){var c=n&o,l=r(e),f=l.length;if(f!=r(t).length&&!c)return!1;for(var p=f;p--;){var d=l[p];if(!(c?d in t:i.call(t,d)))return!1}var h=u.get(e);if(h&&u.get(t))return h==t;var y=!0;u.set(e,t),u.set(t,e);for(var g=c;++p<f;){var v=e[d=l[p]],m=t[d];if(a)var b=c?a(m,v,d,t,e,u):a(v,m,d,e,t,u);if(!(void 0===b?v===m||s(v,m,n,a,u):b)){y=!1;break}g||(g="constructor"==d)}if(y&&!g){var _=e.constructor,w=t.constructor;_!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w)&&(y=!1)}return u.delete(e),u.delete(t),y}},function(e,t,n){var r=n(300),o=n(50);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},function(e,t,n){var r=n(294),o=n(153),i=n(614),a=n(155),s=n(300),u=n(301),c=n(71),l=1,f=2;e.exports=function(e,t){return a(e)&&s(t)?u(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,l|f)}}},function(e,t,n){var r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=n(612)(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(r,function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)}),t});e.exports=i},function(e,t,n){var r=n(613),o=500;e.exports=function(e){var t=r(e,function(e){return n.size===o&&n.clear(),e}),n=t.cache;return t}},function(e,t,n){var r=n(150),o="Expected a function";function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(o);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},function(e,t,n){var r=n(615),o=n(616);e.exports=function(e,t){return null!=e&&o(e,t,r)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var r=n(95),o=n(88),i=n(17),a=n(148),s=n(146),u=n(71);e.exports=function(e,t,n){for(var c=-1,l=(t=r(t,e)).length,f=!1;++c<l;){var p=u(t[c]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++c!=l?f:!!(l=null==e?0:e.length)&&s(l)&&a(p,l)&&(i(e)||o(e))}},function(e,t,n){var r=n(256),o=n(618),i=n(155),a=n(71);e.exports=function(e){return i(e)?r(a(e)):o(e)}},function(e,t,n){var r=n(154);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t,n){var r=n(620),o=n(49),i=n(623),a=n(129),s=n(624),u=Math.max;e.exports=function(e,t,n,c){e=o(e)?e:s(e),n=n&&!c?a(n):0;var l=e.length;return n<0&&(n=u(l+n,0)),i(e)?n<=l&&e.indexOf(t,n)>-1:!!l&&r(e,t,n)>-1}},function(e,t,n){var r=n(302),o=n(621),i=n(622);e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},function(e,t,n){var r=n(39),o=n(17),i=n(30),a="[object String]";e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&r(e)==a}},function(e,t,n){var r=n(625),o=n(50);e.exports=function(e){return null==e?[]:r(e,o(e))}},function(e,t,n){var r=n(127);e.exports=function(e,t){return r(t,function(t){return e[t]})}},function(e,t,n){n(627)("replace",2,function(e,t,n){return[function(r,o){"use strict";var i=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},n]})},function(e,t,n){"use strict";var r=n(303),o=n(634),i=n(159),a=n(636),s=n(637);e.exports=function(e,t,n){var u=s(e),c=n(a,u,""[e]),l=c[0],f=c[1];i(function(){var t={};return t[u]=function(){return 7},7!=""[e](t)})&&(o(String.prototype,e,l),r(RegExp.prototype,u,2==t?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)}))}},function(e,t,n){var r=n(629),o=n(630),i=n(632),a=Object.defineProperty;t.f=n(158)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(157);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(158)&&!n(159)(function(){return 7!=Object.defineProperty(n(631)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(157),o=n(96).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(157);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(96),o=n(303),i=n(635),a=n(304)("src"),s=Function.toString,u=(""+s).split("toString");n(305).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(c&&(i(n,a)||o(n,a,e[t]?""+e[t]:u.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(638)("wks"),o=n(304),i=n(96).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){var r=n(305),o=n(96),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(639)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!1},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=t.getVerticalPosition=function(e,t,n){var r=t.top-e.top,o=t.bottom-t.top;return t.bottom+n+3>window.innerHeight?r-o-n:r+o},i=t.getHorizontalPosition=function(e,t,n){var r=t.left-e.left,o=t.left+n+3;return o>window.innerWidth?r-(o-window.innerWidth):r},a=t.getAnimationStyles=function(e,t){var n="scale(0)",r="all 0.35s cubic-bezier(.3,1,.2,1)";return e.isActive&&t.suggestions.length>0&&(n="scale(1)",r="all 0.25s cubic-bezier(.3,1.2,.2,1)"),{transform:n,transformOrigin:"1em 0%",transition:r}};t.positionSuggestions=function(e){var t=e.decoratorRect,n=e.popover,s=e.state,u=e.props,c=function e(t){return t?"static"!==window.getComputedStyle(t).getPropertyValue("position")?t:e(t.parentElement):document.documentElement}(n.parentElement).getBoundingClientRect(),l=function(e){return{width:e.offsetWidth,height:e.offsetHeight}}(n),f=o(c,t,l.height),p=i(c,t,l.width),d=a(s,u);return r({top:f+"px",left:p+"px"},d)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mention=void 0;var r=s(n(0)),o=s(n(4)),i=s(n(9)),a=n(11);function s(e){return e&&e.__esModule?e:{default:e}}var u=o.default.span.withConfig({displayName:"Mention__StyledMention",componentId:"sc-1hpdfik-0"})(["color:",";background-color:",";padding:0px 8px;margin:2px 2px;border-radius:17px;cursor:default;&:hover{color:",";background-color:",";}"],a.colors.$color_white,a.colors.$color_pink_dark,a.colors.$color_white,a.colors.$color_pink_dark);(t.Mention=function(e){var t=e.children,n=e.className;return r.default.createElement(u,{className:n,spellCheck:!1},t)}).propTypes={children:i.default.node,className:i.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.serializeVariable=p,t.replaceByPosition=d,t.serializeBlock=y,t.serializeEditor=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";return e.getBlockMap().map(function(t){return y(t,function(t){return e.getEntity(t)})}).join(t)},t.serializeSelection=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:" ",r=t.getStartKey(),o=t.getEndKey(),i=!1;return e.getBlockMap().skipUntil(function(e){return e.getKey()===r}).takeUntil(function(e){var t=i;return e.getKey()===o&&(i=!0),t}).map(function(n){var i=n.getKey(),a={};return i===r&&(a.start=t.getStartOffset()),i===o&&(a.end=t.getEndOffset()),y(n,function(t){return e.getEntity(t)},a)}).join(n)},t.getReplacementVariableLabel=g,t.findReplacementVariables=v,t.addLabel=m,t.addPositionInformation=b,t.moveSelectionAfterReplacement=_,t.createEntityInContent=w,t.replaceVariableWithEntity=S,t.getSelectedText=E,t.replaceReplacementVariables=x,t.unserializeEditor=function(e,t){return x(i.EditorState.createWithContent(i.ContentState.createFromText(e)),t)};var i=n(18);function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var s=n(42).string.wordBoundaries,u="%%",c=/%%([A-Za-z0-9_]+)%%/g,l="%mention",f="IMMUTABLE";function p(e){return u+e+u}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[].concat(a(t)).reverse().forEach(function(t){var n=t.start,r=t.end,o=t.replacementText,i=e.slice(0,n),a=e.slice(r,e.length);e=i+o+a}),e}function h(e,t,n){return e>=t&&e<=n}function y(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.start,o=void 0===r?0:r,i=n.end,a=void 0===i?e.getText().length:i,s=e.getText().slice(o,a),u=[];return e.findEntityRanges(function(e){return!!e.getEntity()},function(n,r){if(h(n,o,a)&&h(r,o,a)){var i=t(e.getEntityAt(n));u.push({start:n-o,end:r-o,replacementText:p(i.data.mention.replaceName)})}}),d(s,u)}function g(e,t){var n=t;return e.forEach(function(e){e.name===t&&e.label&&(n=e.label)}),n}function v(e){for(var t=[],n=void 0;n=c.exec(e);){var r=o(n,2),i=r[0],a=r[1];t.push({name:a,start:n.index,length:i.length})}return t}function m(e,t){return r({},e,{label:g(t,e.name)})}function b(e){return r({},e,{start:e.start,end:e.start+e.length,delta:e.label.length-e.length})}function _(e,t,n){var r=n.start,o=n.end,i=n.delta;if(e.hasEdgeWithin(t,r,o)){var a=o+i;e=e.merge({anchorOffset:a,focusOffset:a})}else e.focusOffset>o&&(e=e.merge({anchorOffset:e.anchorOffset+i,focusOffset:e.focusOffset+i}));return e}function w(e,t){var n={mention:{replaceName:t.name}};return e.createEntity(l,f,n)}function S(e,t,n){var r=e.getCurrentContent(),o=i.SelectionState.createEmpty(n).merge({anchorOffset:t.start,focusOffset:t.end});r=w(r,t);var a=i.Modifier.replaceText(r,o,t.label,null,r.getLastCreatedEntityKey());return i.EditorState.push(e,a,"apply-entity")}function E(e,t){var n=t.getAnchorKey(),r=e.getCurrentContent().getBlockForKey(n),o=t.getStartOffset(),i=t.getEndOffset();return r.getText().slice(o,i)}function x(e,t){var n=e;return e.getCurrentContent().getBlockMap().forEach(function(e){var r=e.text,o=e.key,u=v(r);[].concat(a(u)).reverse().forEach(function(e){e=b(e=m(e,t));var r=n.getSelection();r=_(r,o,e);var a=function(e,t,n,r){var o=e.getCurrentContent(),a=E(e,i.SelectionState.createEmpty(n).merge({anchorOffset:r.end,focusOffset:r.end+1}));if(!s().includes(a)){var u=i.SelectionState.createEmpty(n).merge({anchorOffset:r.end,focusOffset:r.end}),c=i.Modifier.insertText(o,u," ");e=i.EditorState.push(e,c,"insert-characters"),t.getAnchorOffset()>=r.start&&(t=t.merge({anchorOffset:t.getAnchorOffset()+1,focusOffset:t.getFocusOffset()+1}))}return{editorState:e,selection:t}}(n,r,o,e);n=S(a.editorState,e,o),n=i.EditorState.acceptSelection(n,a.selection)})}),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.moveCaret=t.removeSelectedText=t.insertText=t.getAnchorBlock=t.getCaretOffset=t.hasWhitespaceAt=t.getTrigger=void 0;var r=n(18),o=(t.getTrigger=function(e,t){var n="%";return e&&(n=" "+n),t&&(n+=" "),n},t.hasWhitespaceAt=function(e,t){var n=e.charAt(t);return 0===n.length||/\s/.test(n)},t.getCaretOffset=function(e){return e.getIsBackward()?e.getEndOffset():e.getStartOffset()},t.getAnchorBlock=function(e,t){var n=t.getAnchorKey();return e.getBlockForKey(n)});t.insertText=function(e,t){var n=e.getCurrentContent(),o=e.getSelection();if(!o.isCollapsed())return e;var i=r.Modifier.insertText(n,o,t);return r.EditorState.push(e,i,"insert-characters")},t.removeSelectedText=function(e){var t=e.getCurrentContent(),n=e.getSelection(),o=r.Modifier.removeRange(t,n,"backward");return r.EditorState.push(e,o,"remove-range")},t.moveCaret=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=e.getCurrentContent(),a=e.getSelection();""===n&&(n=o(i,a).getKey());var s=r.SelectionState.createEmpty(n).merge({anchorOffset:t,focusOffset:t});return r.EditorState.acceptSelection(e,s)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEntityRange=i,t.getEntityAtPosition=a,t.selectReplacementVariables=function(e,t){var n=e.getSelection(),c=t.getSelection(),l=e.getCurrentContent();if(n===c)return e;var f=function(e,t,n){var r=e.getStartOffset(),c=e.getStartKey(),l=e.getEndOffset(),f=e.getEndKey(),p=s(e.getIsBackward()),d=p.startOffsetProperty,h=p.endOffsetProperty,y=a(n,c,r);if(null!==y){var g=i(n,c,y),v=g.start,m=g.end;e=u(t,g)?e.merge(o({},d,m)):e.merge(o({},d,v))}var b=a(n,f,l);if(null!==b){var _=i(n,c,b),w=_.start,S=_.end;e=u(t,_)?e.merge(o({},h,w)):e.merge(o({},h,S))}return e}(n,c,l);f!==n&&(e=r.EditorState.forceSelection(e,f));return e};var r=n(18);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t,n){var r=null;return e.getBlockForKey(t).findEntityRanges(function(e){return e.getEntity()===n},function(e,t){r={start:e,end:t}}),r}function a(e,t,n){var r=e.getBlockForKey(t).getEntityAt(n),o=i(e,t,r);return null===o?null:o.start===n?null:r}var s=function(e){var t="anchorOffset",n="focusOffset";return e&&(t="focusOffset",n="anchorOffset"),{startOffsetProperty:t,endOffsetProperty:n}};function u(e,t){var n=t.start,r=t.end;return e.getStartOffset()<=n&&e.getEndOffset()>=r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=c(n(0)),i=c(n(9)),a=n(5),s=c(n(646)),u=n(51);function c(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={activeField:null,hoveredField:null},n.setFieldFocus=n.setFieldFocus.bind(n),n.handleChange=n.handleChange.bind(n),n.onClick=n.onClick.bind(n),n.onBlur=n.onBlur.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.Component),r(t,[{key:"handleChange",value:function(e,t){this.props.onChange(e,t)}},{key:"setFieldFocus",value:function(e){this.setState({activeField:e})}},{key:"onBlur",value:function(){this.setState({activeField:null})}},{key:"onClick",value:function(e){this.setFieldFocus(e)}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.replacementVariables,r=e.recommendedReplacementVariables,i=e.descriptionEditorFieldPlaceholder,u=e.hasPaperStyle,c=e.fieldIds,l=this.state,f=l.activeField,p=l.hoveredField;return o.default.createElement(a.ErrorBoundary,null,o.default.createElement(s.default,{descriptionEditorFieldPlaceholder:i,data:t,activeField:f,hoveredField:p,onChange:this.handleChange,onFocus:this.setFieldFocus,onBlur:this.onBlur,replacementVariables:n,recommendedReplacementVariables:r,containerPadding:u?"0 20px":"0",fieldIds:c}))}}]),t}();l.propTypes={replacementVariables:u.replacementVariablesShape,recommendedReplacementVariables:u.recommendedReplacementVariablesShape,data:i.default.shape({title:i.default.string.isRequired,description:i.default.string.isRequired}).isRequired,onChange:i.default.func.isRequired,descriptionEditorFieldPlaceholder:i.default.string,hasPaperStyle:i.default.bool,fieldIds:i.default.shape({title:i.default.string.isRequired,description:i.default.string.isRequired}).isRequired},l.defaultProps={replacementVariables:[],recommendedReplacementVariables:[],hasPaperStyle:!0},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=l(n(0)),i=l(n(9)),a=n(8),s=l(n(131)),u=n(51),c=n(84);function l(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.elements={title:null,description:null},n.setRef=n.setRef.bind(n),n.triggerReplacementVariableSuggestions=n.triggerReplacementVariableSuggestions.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.Component),r(t,[{key:"setRef",value:function(e,t){this.elements[e]=t}},{key:"componentDidUpdate",value:function(e){this.focusOnActiveFieldChange(e.activeField)}},{key:"focusOnActiveFieldChange",value:function(e){var t=this.props.activeField;t&&t!==e&&this.elements[t].focus()}},{key:"triggerReplacementVariableSuggestions",value:function(e){this.elements[e].triggerReplacementVariableSuggestions()}},{key:"render",value:function(){var e=this,t=this.props,n=t.descriptionEditorFieldPlaceholder,r=t.activeField,i=t.hoveredField,u=t.replacementVariables,l=t.recommendedReplacementVariables,f=t.onFocus,p=t.onBlur,d=t.onChange,h=t.data,y=h.title,g=h.description,v=t.containerPadding,m=t.fieldIds;return o.default.createElement(c.StyledEditor,{padding:v},o.default.createElement(c.FormSection,null,o.default.createElement(s.default,{label:(0,a.__)("SEO title","yoast-components"),onFocus:function(){return f("title")},onBlur:p,isActive:"title"===r,isHovered:"title"===i,editorRef:function(t){return e.setRef("title",t)},replacementVariables:u,recommendedReplacementVariables:l,content:y,onChange:function(e){return d("title",e)},fieldId:m.title})),o.default.createElement(c.FormSection,null,o.default.createElement(s.default,{type:"description",placeholder:n,label:(0,a.__)("Meta description","yoast-components"),onFocus:function(){return f("description")},onBlur:p,isActive:"description"===r,isHovered:"description"===i,editorRef:function(t){return e.setRef("description",t)},replacementVariables:u,recommendedReplacementVariables:l,content:g,onChange:function(e){return d("description",e)},fieldId:m.description})))}}]),t}();f.propTypes={replacementVariables:u.replacementVariablesShape,recommendedReplacementVariables:u.recommendedReplacementVariablesShape,onChange:i.default.func.isRequired,onFocus:i.default.func,onBlur:i.default.func,data:i.default.shape({title:i.default.string,description:i.default.string}).isRequired,activeField:i.default.oneOf(["title","description"]),hoveredField:i.default.oneOf(["title","description"]),descriptionEditorFieldPlaceholder:i.default.string,containerPadding:i.default.string,fieldIds:i.default.shape({title:i.default.string.isRequired,description:i.default.string.isRequired}).isRequired},f.defaultProps={replacementVariables:[],onFocus:function(){},onBlur:function(){},containerPadding:"0 20px"},t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=b(n(4)),a=b(n(0)),s=b(n(9)),u=n(8),c=b(n(109)),l=n(42),f=n(5),p=n(11),d=n(23),h=b(n(252)),y=n(130),g=b(n(648)),v=n(51),m=b(n(649));function b(e){return e&&e.__esModule?e:{default:e}}var _=l.assessments.seo,w=_.MetaDescriptionLengthAssessment,S=_.PageTitleWidthAssessment,E=l.helpers.measureTextWidth,x=(0,i.default)(f.Button).withConfig({displayName:"SnippetEditor__SnippetEditorButton",componentId:"sc-1hz1x15-0"})(["height:33px;border:1px solid #dbdbdb;box-shadow:none;font-family:Arial,Roboto-Regular,HelveticaNeue,sans-serif;"]),O=(0,i.default)(x).withConfig({displayName:"SnippetEditor__EditSnippetButton",componentId:"sc-1hz1x15-1"})(["margin:",";fill:",";padding-left:8px;& svg{",":7px;}"],(0,d.getDirectionalStyle)("10px 0 0 4px","10px 4px 0 0"),p.colors.$color_grey_dark,(0,d.getDirectionalStyle)("margin-right","margin-left")),k=(0,i.default)(x).withConfig({displayName:"SnippetEditor__CloseEditorButton",componentId:"sc-1hz1x15-2"})(["margin-top:24px;"]);function C(e){var t=E(e),n=new S,r=n.calculateScore(t);return{max:n.getMaximumLength(),actual:t,score:r}}function P(e,t){var n=e.length;""!==t&&n>0&&(n+=t.length+3);var r=new w,o=r.calculateScore(n);return{max:r.getMaximumLength(),actual:n,score:o}}var T=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=n.mapDataToMeasurements(e.data),o=n.mapDataToPreview(r);return n.state={isOpen:!e.showCloseButton,activeField:null,hoveredField:null,mappedData:o,titleLengthProgress:C(r.title),descriptionLengthProgress:P(r.description,n.props.date)},n.setFieldFocus=n.setFieldFocus.bind(n),n.unsetFieldFocus=n.unsetFieldFocus.bind(n),n.onMouseUp=n.onMouseUp.bind(n),n.onMouseEnter=n.onMouseEnter.bind(n),n.onMouseLeave=n.onMouseLeave.bind(n),n.open=n.open.bind(n),n.close=n.close.bind(n),n.setEditButtonRef=n.setEditButtonRef.bind(n),n.handleChange=n.handleChange.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Component),o(t,[{key:"shallowCompareData",value:function(e,t){var n=!1;return e.data.description===t.data.description&&e.data.slug===t.data.slug&&e.data.title===t.data.title||(n=!0),JSON.stringify(e.replacementVariables)!==JSON.stringify(t.replacementVariables)&&(n=!0),n}},{key:"componentWillReceiveProps",value:function(e){if(this.shallowCompareData(this.props,e)){var t=this.mapDataToMeasurements(e.data,e.replacementVariables);this.setState({titleLengthProgress:C(t.title),descriptionLengthProgress:P(t.description,e.date)})}}},{key:"componentDidUpdate",value:function(){var e=this.mapDataToMeasurements(r({},this.props.data));this.props.onChangeAnalysisData(e)}},{key:"handleChange",value:function(e,t){this.props.onChange(e,t);var n=this.mapDataToMeasurements(r({},this.props.data,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,t)));this.props.onChangeAnalysisData(n)}},{key:"renderEditor",value:function(){var e=this.props,t=e.data,n=e.replacementVariables,r=e.recommendedReplacementVariables,o=e.hasPaperStyle,i=e.showCloseButton,s=this.props.descriptionEditorFieldPlaceholder,c=this.state,l=c.activeField,f=c.hoveredField,p=c.isOpen,d=c.titleLengthProgress,h=c.descriptionLengthProgress;return p?(""===s&&(s=(0,u.__)("Modify your meta description by editing it right here","yoast-components")),a.default.createElement(a.default.Fragment,null,a.default.createElement(g.default,{data:t,activeField:l,hoveredField:f,onChange:this.handleChange,onFocus:this.setFieldFocus,onBlur:this.unsetFieldFocus,replacementVariables:n,recommendedReplacementVariables:r,titleLengthProgress:d,descriptionLengthProgress:h,descriptionEditorFieldPlaceholder:s,containerPadding:o?"0 20px":"0"}),i&&a.default.createElement(k,{onClick:this.close},(0,u.__)("Close snippet editor","yoast-components")))):null}},{key:"setFieldFocus",value:function(e){e=this.mapFieldToEditor(e),this.setState({activeField:e})}},{key:"unsetFieldFocus",value:function(){this.setState({activeField:null})}},{key:"onMouseUp",value:function(e){this.state.isOpen?this.setFieldFocus(e):this.open().then(this.setFieldFocus.bind(this,e))}},{key:"onMouseEnter",value:function(e){this.setState({hoveredField:this.mapFieldToEditor(e)})}},{key:"onMouseLeave",value:function(){this.setState({hoveredField:null})}},{key:"open",value:function(){var e=this;return new Promise(function(t){e.setState({isOpen:!0},t)})}},{key:"close",value:function(){var e=this;this.setState({isOpen:!1,activeField:null},function(){e._editButton.focus()})}},{key:"processReplacementVariables",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.replacementVariables,n=!0,r=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value,u=s.name,c=s.value;e=e.replace(new RegExp("%%"+u+"%%","g"),c)}}catch(e){r=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(r)throw o}}return e}},{key:"mapDataToMeasurements",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.replacementVariables,n=this.props,r=n.baseUrl,o=n.mapEditorDataToPreview,i=this.processReplacementVariables(e.description,t);i=l.string.stripSpaces(i);var a=r.replace(/^http:\/\//i,""),s={title:this.processReplacementVariables(e.title,t),url:a+e.slug,description:i};return o?o(s,{shortenedBaseUrl:a}):s}},{key:"mapDataToPreview",value:function(e){return{title:e.title,url:e.url,description:e.description}}},{key:"mapFieldToPreview",value:function(e){return"slug"===e&&(e="url"),e}},{key:"mapFieldToEditor",value:function(e){return"url"===e&&(e="slug"),e}},{key:"setEditButtonRef",value:function(e){this._editButton=e}},{key:"render",value:function(){var e=this.props,t=e.onChange,n=e.data,o=e.mode,i=e.date,s=e.locale,c=e.keyword,l=e.wordsToHighlight,p=e.showCloseButton,d=e.faviconSrc,y=e.mobileImageSrc,g=this.state,v=g.activeField,b=g.hoveredField,_=g.isOpen,w=this.mapDataToMeasurements(n),S=this.mapDataToPreview(w);return a.default.createElement(f.ErrorBoundary,null,a.default.createElement("div",null,a.default.createElement(h.default,r({keyword:c,wordsToHighlight:l,mode:o,date:i,activeField:this.mapFieldToPreview(v),hoveredField:this.mapFieldToPreview(b),onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onMouseUp:this.onMouseUp,locale:s,faviconSrc:d,mobileImageSrc:y},S)),a.default.createElement(m.default,{onChange:function(e){return t("mode",e)},active:o}),p&&a.default.createElement(O,{onClick:_?this.close:this.open,"aria-expanded":_,ref:this.setEditButtonRef},a.default.createElement(f.SvgIcon,{icon:"edit"}),(0,u.__)("Edit snippet","yoast-components")),this.renderEditor()))}}]),t}();T.propTypes={replacementVariables:v.replacementVariablesShape,recommendedReplacementVariables:v.recommendedReplacementVariablesShape,data:s.default.shape({title:s.default.string.isRequired,slug:s.default.string.isRequired,description:s.default.string.isRequired}).isRequired,descriptionEditorFieldPlaceholder:s.default.string,baseUrl:s.default.string.isRequired,mode:s.default.oneOf(y.MODES),date:s.default.string,onChange:s.default.func.isRequired,onChangeAnalysisData:s.default.func,titleLengthProgress:v.lengthProgressShape,descriptionLengthProgress:v.lengthProgressShape,mapEditorDataToPreview:s.default.func,keyword:s.default.string,wordsToHighlight:s.default.array,locale:s.default.string,hasPaperStyle:s.default.bool,showCloseButton:s.default.bool,faviconSrc:s.default.string,mobileImageSrc:s.default.string},T.defaultProps={mode:y.DEFAULT_MODE,date:"",wordsToHighlight:[],replacementVariables:[],recommendedReplacementVariables:[],titleLengthProgress:{max:600,actual:0,score:0},descriptionLengthProgress:{max:156,actual:0,score:0},mapEditorDataToPreview:null,locale:"en",descriptionEditorFieldPlaceholder:"",onChangeAnalysisData:c.default,hasPaperStyle:!0,showCloseButton:!0,faviconSrc:"",mobileImageSrc:""},t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=h(n(0)),i=h(n(4)),a=h(n(9)),s=h(n(125)),u=n(8),c=n(11),l=h(n(131)),f=n(84),p=n(5),d=n(51);function h(e){return e&&e.__esModule?e:{default:e}}var y=i.default.input.withConfig({displayName:"SnippetEditorFields__SlugInput",componentId:"z7e6n3-0"})(["border:none;width:100%;height:inherit;line-height:inherit;font-family:inherit;font-size:inherit;color:inherit;&:focus{outline:0;}"]),g=(0,f.withCaretStyles)(f.InputContainer),v=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.elements={title:null,slug:null,description:null},n.uniqueId=(0,s.default)("snippet-editor-field-"),n.setRef=n.setRef.bind(n),n.triggerReplacementVariableSuggestions=n.triggerReplacementVariableSuggestions.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.Component),r(t,[{key:"setRef",value:function(e,t){this.elements[e]=t}},{key:"componentDidUpdate",value:function(e){e.activeField!==this.props.activeField&&this.focusOnActiveFieldChange()}},{key:"focusOnActiveFieldChange",value:function(){var e=this.props.activeField,t=e?this.elements[e]:null;t&&t.focus()}},{key:"triggerReplacementVariableSuggestions",value:function(e){this.elements[e].triggerReplacementVariableSuggestions()}},{key:"render",value:function(){var e=this,t=this.props,n=t.activeField,r=t.hoveredField,i=t.replacementVariables,a=t.recommendedReplacementVariables,s=t.titleLengthProgress,c=t.descriptionLengthProgress,d=t.onFocus,h=t.onBlur,v=t.onChange,m=t.descriptionEditorFieldPlaceholder,b=t.data,_=b.title,w=b.slug,S=b.description,E=t.containerPadding,x=this.uniqueId+"-slug";return o.default.createElement(f.StyledEditor,{padding:E},o.default.createElement(f.FormSection,null,o.default.createElement(l.default,{withCaret:!0,label:(0,u.__)("SEO title","yoast-components"),onFocus:function(){return d("title")},onBlur:function(){return h()},isActive:"title"===n,isHovered:"title"===r,editorRef:function(t){return e.setRef("title",t)},replacementVariables:i,recommendedReplacementVariables:a,content:_,onChange:function(e){return v("title",e)},fieldId:"snippet-editor-field-title"}),o.default.createElement(p.ProgressBar,{max:s.max,value:s.actual,progressColor:this.getProgressColor(s.score)})),o.default.createElement(f.FormSection,null,o.default.createElement(f.SimulatedLabel,{id:x,onClick:function(){return d("slug")}},(0,u.__)("Slug","yoast-components")),o.default.createElement(g,{onClick:function(){return e.elements.slug.focus()},isActive:"slug"===n,isHovered:"slug"===r},o.default.createElement(y,{value:w,onChange:function(e){return v("slug",e.target.value)},onFocus:function(){return d("slug")},onBlur:function(){return h()},ref:function(t){return e.setRef("slug",t)},"aria-labelledby":this.uniqueId+"-slug",id:"snippet-editor-field-slug"}))),o.default.createElement(f.FormSection,null,o.default.createElement(l.default,{withCaret:!0,type:"description",placeholder:m,label:(0,u.__)("Meta description","yoast-components"),onFocus:function(){return d("description")},onBlur:function(){return h()},isActive:"description"===n,isHovered:"description"===r,editorRef:function(t){return e.setRef("description",t)},replacementVariables:i,recommendedReplacementVariables:a,content:S,onChange:function(e){return v("description",e)},fieldId:"snippet-editor-field-description"}),o.default.createElement(p.ProgressBar,{max:c.max,value:c.actual,progressColor:this.getProgressColor(c.score)})))}},{key:"getProgressColor",value:function(e){return e>=7?c.colors.$color_good:e>=5?c.colors.$color_ok:c.colors.$color_bad}}]),t}();v.propTypes={replacementVariables:d.replacementVariablesShape,recommendedReplacementVariables:d.recommendedReplacementVariablesShape,onChange:a.default.func.isRequired,onFocus:a.default.func,onBlur:a.default.func,data:a.default.shape({title:a.default.string.isRequired,slug:a.default.string.isRequired,description:a.default.string.isRequired}).isRequired,activeField:a.default.oneOf(["title","slug","description"]),hoveredField:a.default.oneOf(["title","slug","description"]),titleLengthProgress:d.lengthProgressShape,descriptionLengthProgress:d.lengthProgressShape,descriptionEditorFieldPlaceholder:a.default.string,containerPadding:a.default.string},v.defaultProps={replacementVariables:[],onFocus:function(){},onBlur:function(){},titleLengthProgress:{max:600,actual:0,score:0},descriptionLengthProgress:{max:156,actual:0,score:0},containerPadding:"0 20px"},t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(0)),o=l(n(4)),i=n(8),a=l(n(9)),s=n(5),u=n(11),c=n(130);function l(e){return e&&e.__esModule?e:{default:e}}var f=(0,o.default)(s.Button).withConfig({displayName:"ModeSwitcher__SwitcherButton",componentId:"b8ici5-0"})(["border:none;border-bottom:4px solid transparent;width:31px;height:31px;border-color:",";color:",";transition:0.15s color ease-in-out,0.15s background-color ease-in-out,0.15s border-color ease-in-out;transition-property:border-color;&:hover,&:focus{background-color:",";border:none;border-bottom:4px solid transparent;border-color:",";color:",";box-shadow:none;}"],function(e){return e.isActive?u.colors.$color_snippet_active:"transparent"},u.colors.$color_snippet_active,u.colors.$color_white,u.colors.$color_snippet_focus,u.colors.$color_snippet_focus),p=(0,o.default)(f).withConfig({displayName:"ModeSwitcher__MobileButton",componentId:"b8ici5-1"})(["border-radius:3px 0 0 3px;"]),d=(0,o.default)(f).withConfig({displayName:"ModeSwitcher__DesktopButton",componentId:"b8ici5-2"})(["border-radius:0 3px 3px 0;"]),h=o.default.div.withConfig({displayName:"ModeSwitcher__Switcher",componentId:"b8ici5-3"})(["display:inline-block;margin-top:10px;border:1px solid #dbdbdb;border-radius:4px;background-color:#f7f7f7;vertical-align:top;"]),y=function(e){var t=e.onChange,n=e.active;return r.default.createElement(h,null,r.default.createElement(p,{onClick:function(){return t(c.MODE_MOBILE)},isActive:n===c.MODE_MOBILE,"aria-pressed":n===c.MODE_MOBILE},r.default.createElement(s.SvgIcon,{icon:"mobile",size:"22px",color:"currentColor"}),r.default.createElement(s.ScreenReaderText,null,(0,i.__)("Mobile preview","yoast-components"))),r.default.createElement(d,{onClick:function(){return t(c.MODE_DESKTOP)},isActive:n===c.MODE_DESKTOP,"aria-pressed":n===c.MODE_DESKTOP},r.default.createElement(s.SvgIcon,{icon:"desktop",size:"18px",color:"currentColor"}),r.default.createElement(s.ScreenReaderText,null,(0,i.__)("Desktop preview","yoast-components"))))};y.propTypes={onChange:a.default.func.isRequired,active:a.default.oneOf(c.MODES)},t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(23),o=function(e){return e&&e.__esModule?e:{default:e}}(n(651));t.default={getFeed:r.getFeed,getCourseFeed:r.getCourseFeed,getPostFeed:r.getPostFeed,makeOutboundLink:r.makeOutboundLink,buildStructuredUrl:o.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.keys(t),o=e;return n.forEach(function(e){var n=t[e],i=(0,r.isArray)(n)?n.join("/"):n,a="%"+e+"%";o=o.replace(new RegExp(a,"g"),i)}),o};var r=n(44)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.setTranslations=function(e){u=new o.default(e)},t.getGlobalJed=c,t.translate=l,t.localize=function(e){var t=e.displayName||e.name||"",n={translate:l};return function(o){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return n.displayName="Localized"+t,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,o),r(s,[{key:"render",value:function(){var t=(0,a.default)({},this.props,n);return i.default.createElement(e,t)}}]),s}(i.default.Component)};var o=s(n(653)),i=s(n(0)),a=s(n(654));function s(e){return e&&e.__esModule?e:{default:e}}var u=null;function c(){return null===u&&(u=new o.default({})),u}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=c();return""===t?r.gettext(e):r.ngettext(e,t,n)}},function(e,t,n){ /** * @preserve jed.js https://github.com/SlexAxton/Jed */ !function(n,r){var o=Array.prototype,i=Object.prototype,a=o.slice,s=i.hasOwnProperty,u=o.forEach,c={},l={forEach:function(e,t,n){var r,o,i;if(null!==e)if(u&&e.forEach===u)e.forEach(t,n);else if(e.length===+e.length){for(r=0,o=e.length;r<o;r++)if(r in e&&t.call(n,e[r],r,e)===c)return}else for(i in e)if(s.call(e,i)&&t.call(n,e[i],i,e)===c)return},extend:function(e){return this.forEach(a.call(arguments,1),function(t){for(var n in t)e[n]=t[n]}),e}},f=function(e){if(this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"nplurals=2; plural=(n != 1);"}}},domain:"messages",debug:!1},this.options=l.extend({},this.defaults,e),this.textdomain(this.options.domain),e.domain&&!this.options.locale_data[this.options.domain])throw new Error("Text domain set to non-existent domain: `"+e.domain+"`")};function p(e){return f.PF.compile(e||"nplurals=2; plural=(n != 1);")}function d(e,t){this._key=e,this._i18n=t}f.context_delimiter=String.fromCharCode(4),l.extend(d.prototype,{onDomain:function(e){return this._domain=e,this},withContext:function(e){return this._context=e,this},ifPlural:function(e,t){return this._val=e,this._pkey=t,this},fetch:function(e){return"[object Array]"!={}.toString.call(e)&&(e=[].slice.call(arguments,0)),(e&&e.length?f.sprintf:function(e){return e})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),e)}}),l.extend(f.prototype,{translate:function(e){return new d(e,this)},textdomain:function(e){if(!e)return this._textdomain;this._textdomain=e},gettext:function(e){return this.dcnpgettext.call(this,void 0,void 0,e)},dgettext:function(e,t){return this.dcnpgettext.call(this,e,void 0,t)},dcgettext:function(e,t){return this.dcnpgettext.call(this,e,void 0,t)},ngettext:function(e,t,n){return this.dcnpgettext.call(this,void 0,void 0,e,t,n)},dngettext:function(e,t,n,r){return this.dcnpgettext.call(this,e,void 0,t,n,r)},dcngettext:function(e,t,n,r){return this.dcnpgettext.call(this,e,void 0,t,n,r)},pgettext:function(e,t){return this.dcnpgettext.call(this,void 0,e,t)},dpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},dcpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},npgettext:function(e,t,n,r){return this.dcnpgettext.call(this,void 0,e,t,n,r)},dnpgettext:function(e,t,n,r,o){return this.dcnpgettext.call(this,e,t,n,r,o)},dcnpgettext:function(e,t,n,r,o){var i;if(r=r||n,e=e||this._textdomain,!this.options)return(i=new f).dcnpgettext.call(i,void 0,void 0,n,r,o);if(!this.options.locale_data)throw new Error("No locale data provided.");if(!this.options.locale_data[e])throw new Error("Domain `"+e+"` was not found.");if(!this.options.locale_data[e][""])throw new Error("No locale meta information provided.");if(!n)throw new Error("No translation key found.");var a,s,u,c=t?t+f.context_delimiter+n:n,l=this.options.locale_data,d=l[e],h=(l.messages||this.defaults.locale_data.messages)[""],y=d[""].plural_forms||d[""]["Plural-Forms"]||d[""]["plural-forms"]||h.plural_forms||h["Plural-Forms"]||h["plural-forms"];if(void 0===o)u=0;else{if("number"!=typeof o&&(o=parseInt(o,10),isNaN(o)))throw new Error("The number that was passed in is not a number.");u=p(y)(o)}if(!d)throw new Error("No domain named `"+e+"` could be found.");return!(a=d[c])||u>a.length?(this.options.missing_key_callback&&this.options.missing_key_callback(c,e),s=[n,r],!0===this.options.debug&&console.log(s[p(y)(o)]),s[p()(o)]):(s=a[u])||(s=[n,r])[p()(o)]}});var h=function(){function e(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function t(e,t){for(var n=[];t>0;n[--t]=e);return n.join("")}var n=function(){return n.cache.hasOwnProperty(arguments[0])||(n.cache[arguments[0]]=n.parse(arguments[0])),n.format.call(null,n.cache[arguments[0]],arguments)};return n.format=function(n,r){var o,i,a,s,u,c,l,f=1,p=n.length,d="",y=[];for(i=0;i<p;i++)if("string"===(d=e(n[i])))y.push(n[i]);else if("array"===d){if((s=n[i])[2])for(o=r[f],a=0;a<s[2].length;a++){if(!o.hasOwnProperty(s[2][a]))throw h('[sprintf] property "%s" does not exist',s[2][a]);o=o[s[2][a]]}else o=s[1]?r[s[1]]:r[f++];if(/[^s]/.test(s[8])&&"number"!=e(o))throw h("[sprintf] expecting number but found %s",e(o));switch(void 0!==o&&null!==o||(o=""),s[8]){case"b":o=o.toString(2);break;case"c":o=String.fromCharCode(o);break;case"d":o=parseInt(o,10);break;case"e":o=s[7]?o.toExponential(s[7]):o.toExponential();break;case"f":o=s[7]?parseFloat(o).toFixed(s[7]):parseFloat(o);break;case"o":o=o.toString(8);break;case"s":o=(o=String(o))&&s[7]?o.substring(0,s[7]):o;break;case"u":o=Math.abs(o);break;case"x":o=o.toString(16);break;case"X":o=o.toString(16).toUpperCase()}o=/[def]/.test(s[8])&&s[3]&&o>=0?"+"+o:o,c=s[4]?"0"==s[4]?"0":s[4].charAt(1):" ",l=s[6]-String(o).length,u=s[6]?t(c,l):"",y.push(s[5]?o+u:u+o)}return y.join("")},n.cache={},n.parse=function(e){for(var t=e,n=[],r=[],o=0;t;){if(null!==(n=/^[^\x25]+/.exec(t)))r.push(n[0]);else if(null!==(n=/^\x25{2}/.exec(t)))r.push("%");else{if(null===(n=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(t)))throw"[sprintf] huh?";if(n[2]){o|=1;var i=[],a=n[2],s=[];if(null===(s=/^([a-z_][a-z_\d]*)/i.exec(a)))throw"[sprintf] huh?";for(i.push(s[1]);""!==(a=a.substring(s[0].length));)if(null!==(s=/^\.([a-z_][a-z_\d]*)/i.exec(a)))i.push(s[1]);else{if(null===(s=/^\[(\d+)\]/.exec(a)))throw"[sprintf] huh?";i.push(s[1])}n[2]=i}else o|=2;if(3===o)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";r.push(n)}t=t.substring(n[0].length)}return r},n}();f.parse_plural=function(e,t){return e=e.replace(/n/g,t),f.parse_expression(e)},f.sprintf=function(e,t){return"[object Array]"=={}.toString.call(t)?function(e,t){return t.unshift(e),h.apply(null,t)}(e,[].slice.call(t)):h.apply(this,[].slice.call(arguments))},f.prototype.sprintf=function(){return f.sprintf.apply(this,arguments)},f.PF={},f.PF.parse=function(e){var t=f.PF.extractPluralExpr(e);return f.PF.parser.parse.call(f.PF.parser,t)},f.PF.compile=function(e){var t=f.PF.parse(e);return function(e){return function(e){return!0===e?1:e||0}(f.PF.interpreter(t)(e))}},f.PF.interpreter=function(e){return function(t){switch(e.type){case"GROUP":return f.PF.interpreter(e.expr)(t);case"TERNARY":return f.PF.interpreter(e.expr)(t)?f.PF.interpreter(e.truthy)(t):f.PF.interpreter(e.falsey)(t);case"OR":return f.PF.interpreter(e.left)(t)||f.PF.interpreter(e.right)(t);case"AND":return f.PF.interpreter(e.left)(t)&&f.PF.interpreter(e.right)(t);case"LT":return f.PF.interpreter(e.left)(t)<f.PF.interpreter(e.right)(t);case"GT":return f.PF.interpreter(e.left)(t)>f.PF.interpreter(e.right)(t);case"LTE":return f.PF.interpreter(e.left)(t)<=f.PF.interpreter(e.right)(t);case"GTE":return f.PF.interpreter(e.left)(t)>=f.PF.interpreter(e.right)(t);case"EQ":return f.PF.interpreter(e.left)(t)==f.PF.interpreter(e.right)(t);case"NEQ":return f.PF.interpreter(e.left)(t)!=f.PF.interpreter(e.right)(t);case"MOD":return f.PF.interpreter(e.left)(t)%f.PF.interpreter(e.right)(t);case"VAR":return t;case"NUM":return e.val;default:throw new Error("Invalid Token found.")}}},f.PF.extractPluralExpr=function(e){e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),/;\s*$/.test(e)||(e=e.concat(";"));var t,n=/nplurals\=(\d+);/,r=e.match(n);if(!(r.length>1))throw new Error("nplurals not found in plural_forms string: "+e);if(r[1],!((t=(e=e.replace(n,"")).match(/plural\=(.*);/))&&t.length>1))throw new Error("`plural` expression not found: "+e);return t[1]},f.PF.parser=function(){var e={trace:function(){},yy:{},symbols_:{error:2,expressions:3,e:4,EOF:5,"?":6,":":7,"||":8,"&&":9,"<":10,"<=":11,">":12,">=":13,"!=":14,"==":15,"%":16,"(":17,")":18,n:19,NUMBER:20,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",6:"?",7:":",8:"||",9:"&&",10:"<",11:"<=",12:">",13:">=",14:"!=",15:"==",16:"%",17:"(",18:")",19:"n",20:"NUMBER"},productions_:[0,[3,2],[4,5],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,1],[4,1]],performAction:function(e,t,n,r,o,i,a){var s=i.length-1;switch(o){case 1:return{type:"GROUP",expr:i[s-1]};case 2:this.$={type:"TERNARY",expr:i[s-4],truthy:i[s-2],falsey:i[s]};break;case 3:this.$={type:"OR",left:i[s-2],right:i[s]};break;case 4:this.$={type:"AND",left:i[s-2],right:i[s]};break;case 5:this.$={type:"LT",left:i[s-2],right:i[s]};break;case 6:this.$={type:"LTE",left:i[s-2],right:i[s]};break;case 7:this.$={type:"GT",left:i[s-2],right:i[s]};break;case 8:this.$={type:"GTE",left:i[s-2],right:i[s]};break;case 9:this.$={type:"NEQ",left:i[s-2],right:i[s]};break;case 10:this.$={type:"EQ",left:i[s-2],right:i[s]};break;case 11:this.$={type:"MOD",left:i[s-2],right:i[s]};break;case 12:this.$={type:"GROUP",expr:i[s-1]};break;case 13:this.$={type:"VAR"};break;case 14:this.$={type:"NUM",val:Number(e)}}},table:[{3:1,4:2,17:[1,3],19:[1,4],20:[1,5]},{1:[3]},{5:[1,6],6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{4:17,17:[1,3],19:[1,4],20:[1,5]},{5:[2,13],6:[2,13],7:[2,13],8:[2,13],9:[2,13],10:[2,13],11:[2,13],12:[2,13],13:[2,13],14:[2,13],15:[2,13],16:[2,13],18:[2,13]},{5:[2,14],6:[2,14],7:[2,14],8:[2,14],9:[2,14],10:[2,14],11:[2,14],12:[2,14],13:[2,14],14:[2,14],15:[2,14],16:[2,14],18:[2,14]},{1:[2,1]},{4:18,17:[1,3],19:[1,4],20:[1,5]},{4:19,17:[1,3],19:[1,4],20:[1,5]},{4:20,17:[1,3],19:[1,4],20:[1,5]},{4:21,17:[1,3],19:[1,4],20:[1,5]},{4:22,17:[1,3],19:[1,4],20:[1,5]},{4:23,17:[1,3],19:[1,4],20:[1,5]},{4:24,17:[1,3],19:[1,4],20:[1,5]},{4:25,17:[1,3],19:[1,4],20:[1,5]},{4:26,17:[1,3],19:[1,4],20:[1,5]},{4:27,17:[1,3],19:[1,4],20:[1,5]},{6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[1,28]},{6:[1,7],7:[1,29],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{5:[2,3],6:[2,3],7:[2,3],8:[2,3],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,3]},{5:[2,4],6:[2,4],7:[2,4],8:[2,4],9:[2,4],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,4]},{5:[2,5],6:[2,5],7:[2,5],8:[2,5],9:[2,5],10:[2,5],11:[2,5],12:[2,5],13:[2,5],14:[2,5],15:[2,5],16:[1,16],18:[2,5]},{5:[2,6],6:[2,6],7:[2,6],8:[2,6],9:[2,6],10:[2,6],11:[2,6],12:[2,6],13:[2,6],14:[2,6],15:[2,6],16:[1,16],18:[2,6]},{5:[2,7],6:[2,7],7:[2,7],8:[2,7],9:[2,7],10:[2,7],11:[2,7],12:[2,7],13:[2,7],14:[2,7],15:[2,7],16:[1,16],18:[2,7]},{5:[2,8],6:[2,8],7:[2,8],8:[2,8],9:[2,8],10:[2,8],11:[2,8],12:[2,8],13:[2,8],14:[2,8],15:[2,8],16:[1,16],18:[2,8]},{5:[2,9],6:[2,9],7:[2,9],8:[2,9],9:[2,9],10:[2,9],11:[2,9],12:[2,9],13:[2,9],14:[2,9],15:[2,9],16:[1,16],18:[2,9]},{5:[2,10],6:[2,10],7:[2,10],8:[2,10],9:[2,10],10:[2,10],11:[2,10],12:[2,10],13:[2,10],14:[2,10],15:[2,10],16:[1,16],18:[2,10]},{5:[2,11],6:[2,11],7:[2,11],8:[2,11],9:[2,11],10:[2,11],11:[2,11],12:[2,11],13:[2,11],14:[2,11],15:[2,11],16:[2,11],18:[2,11]},{5:[2,12],6:[2,12],7:[2,12],8:[2,12],9:[2,12],10:[2,12],11:[2,12],12:[2,12],13:[2,12],14:[2,12],15:[2,12],16:[2,12],18:[2,12]},{4:30,17:[1,3],19:[1,4],20:[1,5]},{5:[2,2],6:[1,7],7:[2,2],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,2]}],defaultActions:{6:[2,1]},parseError:function(e,t){throw new Error(e)},parse:function(e){var t=this,n=[0],r=[null],o=[],i=this.table,a="",s=0,u=0,c=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var l=this.lexer.yylloc;function f(e){n.length=n.length-2*e,r.length=r.length-e,o.length=o.length-e}function p(){var e;return"number"!=typeof(e=t.lexer.lex()||1)&&(e=t.symbols_[e]||e),e}o.push(l),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var d,h,y,g,v,m,b,_,w,S={};;){if(y=n[n.length-1],this.defaultActions[y]?g=this.defaultActions[y]:(null==d&&(d=p()),g=i[y]&&i[y][d]),void 0===g||!g.length||!g[0]){if(!c){for(m in w=[],i[y])this.terminals_[m]&&m>2&&w.push("'"+this.terminals_[m]+"'");var E="";E=this.lexer.showPosition?"Parse error on line "+(s+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+w.join(", ")+", got '"+this.terminals_[d]+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==d?"end of input":"'"+(this.terminals_[d]||d)+"'"),this.parseError(E,{text:this.lexer.match,token:this.terminals_[d]||d,line:this.lexer.yylineno,loc:l,expected:w})}if(3==c){if(1==d)throw new Error(E||"Parsing halted.");u=this.lexer.yyleng,a=this.lexer.yytext,s=this.lexer.yylineno,l=this.lexer.yylloc,d=p()}for(;!(2..toString()in i[y]);){if(0==y)throw new Error(E||"Parsing halted.");f(1),y=n[n.length-1]}h=d,d=2,g=i[y=n[n.length-1]]&&i[y][2],c=3}if(g[0]instanceof Array&&g.length>1)throw new Error("Parse Error: multiple actions possible at state: "+y+", token: "+d);switch(g[0]){case 1:n.push(d),r.push(this.lexer.yytext),o.push(this.lexer.yylloc),n.push(g[1]),d=null,h?(d=h,h=null):(u=this.lexer.yyleng,a=this.lexer.yytext,s=this.lexer.yylineno,l=this.lexer.yylloc,c>0&&c--);break;case 2:if(b=this.productions_[g[1]][1],S.$=r[r.length-b],S._$={first_line:o[o.length-(b||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(b||1)].first_column,last_column:o[o.length-1].last_column},void 0!==(v=this.performAction.call(S,a,u,s,this.yy,g[1],r,o)))return v;b&&(n=n.slice(0,-1*b*2),r=r.slice(0,-1*b),o=o.slice(0,-1*b)),n.push(this.productions_[g[1]][0]),r.push(S.$),o.push(S._$),_=i[n[n.length-2]][n[n.length-1]],n.push(_);break;case 3:return!0}}return!0}},t=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parseError)throw new Error(e);this.yy.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.match+=e,this.matched+=e,e.match(/\n/)&&this.yylineno++,this._input=this._input.slice(1),e},unput:function(e){return this._input=e+this._input,this},more:function(){return this._more=!0,this},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;var e,t;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;r<n.length;r++)if(e=this._input.match(this.rules[n[r]]))return(t=e[0].match(/\n.*/g))&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-1:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],this.performAction.call(this,this.yy,this,n[r],this.conditionStack[this.conditionStack.length-1])||void 0;if(""===this._input)return this.EOF;this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return void 0!==e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)},performAction:function(e,t,n,r){switch(n){case 0:break;case 1:return 20;case 2:return 19;case 3:return 8;case 4:return 9;case 5:return 6;case 6:return 7;case 7:return 11;case 8:return 13;case 9:return 10;case 10:return 12;case 11:return 14;case 12:return 15;case 13:return 16;case 14:return 17;case 15:return 18;case 16:return 5;case 17:return"INVALID"}},rules:[/^\s+/,/^[0-9]+(\.[0-9]+)?\b/,/^n\b/,/^\|\|/,/^&&/,/^\?/,/^:/,/^<=/,/^>=/,/^</,/^>/,/^!=/,/^==/,/^%/,/^\(/,/^\)/,/^$/,/^./],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}}};return e}();return e.lexer=t,e}(),void 0!==e&&e.exports&&(t=e.exports=f),t.Jed=f}()},function(e,t,n){var r=n(160),o=n(61),i=n(655),a=n(49),s=n(69),u=n(50),c=Object.prototype.hasOwnProperty,l=i(function(e,t){if(s(t)||a(t))o(t,u(t),e);else for(var n in t)c.call(t,n)&&r(e,n,t[n])});e.exports=l},function(e,t,n){var r=n(656),o=n(661);e.exports=function(e){return r(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var u=n[r];u&&e(t,u,r,a)}return t})}},function(e,t,n){var r=n(156),o=n(308),i=n(309);e.exports=function(e,t){return i(o(e,t,r),e+"")}},function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},function(e,t,n){var r=n(659),o=n(307),i=n(156),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t){var n=800,r=16,o=Date.now;e.exports=function(e){var t=0,i=0;return function(){var a=o(),s=r-(a-i);if(i=a,s>0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var r=n(92),o=n(49),i=n(148),a=n(29);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&i(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(663),o=n(664),i=n(163);t.default=(0,i.combineReducers)({seo:o.keywordResultsReducer,readability:r.readabilityResultsReducer})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setOverallReadabilityScore=u,t.readabilityResultsReducer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case r.SET_READABILITY_RESULTS:return function(e,t){return Object.assign({},e,{results:t.results})}(e,t);case r.UPDATE_READABILITY_RESULT:return function(e,t){if((0,i.default)(e.results))return Object.assign({},e,{results:[t.result]});var n=(0,o.default)(e.results,{id:t.result.id});if(-1!==n){var r=e.results.filter(function(t){return t!==e.results[n]});return Object.assign({},e,{results:r.concat(t.result)})}return Object.assign({},e,{results:[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e.results),[t.result])})}(e,t);case r.SET_OVERALL_READABILITY_SCORE:return u(e,t);default:return e}};var r=n(110),o=a(n(310)),i=a(n(120));function a(e){return e&&e.__esModule?e:{default:e}}var s={};function u(e,t){return Object.assign({},e,{overallScore:t.overallScore})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.setOverallSeoScore=f,t.keywordResultsReducer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments[1];switch(t.type){case o.SET_SEO_RESULTS:return function(e){var t={};return e.resultsPerKeyword.forEach(function(e){t[e.keyword]={results:e.results}}),t}(t);case o.UPDATE_SEO_RESULT:return function(e,t){if(!e[t.keyword])return l(e,t.keyword,[t.result]);if(-1!==(0,i.default)(e[t.keyword].results,{id:t.result.id}))return function(e,t){var n=Array.from(e[t.keyword].results,function(e){return e.id===t.result.id?t.result:e});return Object.assign({},e,u({},t.keyword,{results:n}))}(e,t);return Object.assign({},e,u({},t.keyword,{results:[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e[t.keyword].results),[t.result])}))}(e,t);case o.REMOVE_KEYWORD:return(0,a.default)(e,t.keyword);case o.SET_SEO_RESULTS_FOR_KEYWORD:return function(e,t){if(!e[t.keyword])return l(e,t.keyword,t.results);return Object.assign({},e,u({},t.keyword,{results:t.results}))}(e,t);case o.SET_OVERALL_SEO_SCORE:return f(e,t);default:return e}};var o=n(110),i=s(n(310)),a=s(n(665));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c={};function l(e,t,n){return Object.assign({},e,u({},t,{results:n}))}function f(e,t){return Object.assign({},e,u({},t.keyword,r({},e[t.keyword],{overallScore:t.overallScore})))}},function(e,t,n){var r=n(127),o=n(666),i=n(688),a=n(95),s=n(61),u=n(691),c=n(693),l=n(313),f=c(function(e,t){var n={};if(null==e)return n;var c=!1;t=r(t,function(t){return t=a(t,e),c||(c=t.length>1),t}),s(e,l(e),n),c&&(n=o(n,7,u));for(var f=t.length;f--;)i(n,t[f]);return n});e.exports=f},function(e,t,n){var r=n(149),o=n(667),i=n(160),a=n(668),s=n(669),u=n(672),c=n(673),l=n(674),f=n(675),p=n(297),d=n(313),h=n(70),y=n(676),g=n(677),v=n(682),m=n(17),b=n(89),_=n(684),w=n(29),S=n(686),E=n(50),x=1,O=2,k=4,C="[object Arguments]",P="[object Function]",T="[object GeneratorFunction]",j="[object Object]",R={};R[C]=R["[object Array]"]=R["[object ArrayBuffer]"]=R["[object DataView]"]=R["[object Boolean]"]=R["[object Date]"]=R["[object Float32Array]"]=R["[object Float64Array]"]=R["[object Int8Array]"]=R["[object Int16Array]"]=R["[object Int32Array]"]=R["[object Map]"]=R["[object Number]"]=R[j]=R["[object RegExp]"]=R["[object Set]"]=R["[object String]"]=R["[object Symbol]"]=R["[object Uint8Array]"]=R["[object Uint8ClampedArray]"]=R["[object Uint16Array]"]=R["[object Uint32Array]"]=!0,R["[object Error]"]=R[P]=R["[object WeakMap]"]=!1,e.exports=function e(t,n,M,A,I,D){var L,N=n&x,B=n&O,K=n&k;if(M&&(L=I?M(t,A,I,D):M(t)),void 0!==L)return L;if(!w(t))return t;var F=m(t);if(F){if(L=y(t),!N)return c(t,L)}else{var U=h(t),z=U==P||U==T;if(b(t))return u(t,N);if(U==j||U==C||z&&!I){if(L=B||z?{}:v(t),!N)return B?f(t,s(L,t)):l(t,a(L,t))}else{if(!R[U])return I?t:{};L=g(t,U,N)}}D||(D=new r);var q=D.get(t);if(q)return q;if(D.set(t,L),S(t))return t.forEach(function(r){L.add(e(r,n,M,r,t,D))}),L;if(_(t))return t.forEach(function(r,o){L.set(o,e(r,n,M,o,t,D))}),L;var W=K?B?d:p:B?keysIn:E,V=F?void 0:W(t);return o(V||t,function(r,o){V&&(r=t[o=r]),i(L,o,e(r,n,M,o,t,D))}),L}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},function(e,t,n){var r=n(61),o=n(50);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(61),o=n(311);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(29),o=n(69),i=n(671),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){(function(e){var r=n(25),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(28)(e))},function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},function(e,t,n){var r=n(61),o=n(152);e.exports=function(e,t){return r(e,o(e),t)}},function(e,t,n){var r=n(61),o=n(312);e.exports=function(e,t){return r(e,o(e),t)}},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},function(e,t,n){var r=n(162),o=n(678),i=n(679),a=n(680),s=n(681),u="[object Boolean]",c="[object Date]",l="[object Map]",f="[object Number]",p="[object RegExp]",d="[object Set]",h="[object String]",y="[object Symbol]",g="[object ArrayBuffer]",v="[object DataView]",m="[object Float32Array]",b="[object Float64Array]",_="[object Int8Array]",w="[object Int16Array]",S="[object Int32Array]",E="[object Uint8Array]",x="[object Uint8ClampedArray]",O="[object Uint16Array]",k="[object Uint32Array]";e.exports=function(e,t,n){var C=e.constructor;switch(t){case g:return r(e);case u:case c:return new C(+e);case v:return o(e,n);case m:case b:case _:case w:case S:case E:case x:case O:case k:return s(e,n);case l:return new C;case f:case h:return new C(e);case p:return i(e);case d:return new C;case y:return a(e)}}},function(e,t,n){var r=n(162);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,n){var r=n(58),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},function(e,t,n){var r=n(162);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},function(e,t,n){var r=n(683),o=n(161),i=n(69);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},function(e,t,n){var r=n(29),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},function(e,t,n){var r=n(685),o=n(82),i=n(83),a=i&&i.isMap,s=a?o(a):r;e.exports=s},function(e,t,n){var r=n(70),o=n(30),i="[object Map]";e.exports=function(e){return o(e)&&r(e)==i}},function(e,t,n){var r=n(687),o=n(82),i=n(83),a=i&&i.isSet,s=a?o(a):r;e.exports=s},function(e,t,n){var r=n(70),o=n(30),i="[object Set]";e.exports=function(e){return o(e)&&r(e)==i}},function(e,t,n){var r=n(95),o=n(689),i=n(690),a=n(71);e.exports=function(e,t){return t=r(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,n){var r=n(154),o=n(255);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},function(e,t,n){var r=n(692);e.exports=function(e){return r(e)?void 0:e}},function(e,t,n){var r=n(39),o=n(161),i=n(30),a="[object Object]",s=Function.prototype,u=Object.prototype,c=s.toString,l=u.hasOwnProperty,f=c.call(Object);e.exports=function(e){if(!i(e)||r(e)!=a)return!1;var t=o(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==f}},function(e,t,n){var r=n(694),o=n(308),i=n(309);e.exports=function(e){return i(o(e,void 0,r),e+"")}},function(e,t,n){var r=n(695);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},function(e,t,n){var r=n(151),o=n(696);e.exports=function e(t,n,i,a,s){var u=-1,c=t.length;for(i||(i=o),s||(s=[]);++u<c;){var l=t[u];n>0&&i(l)?n>1?e(l,n-1,i,a,s):r(s,l):a||(s[s.length]=l)}return s}},function(e,t,n){var r=n(58),o=n(88),i=n(17),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},function(e,t,n){"use strict";(function(e,r){Object.defineProperty(t,"__esModule",{value:!0});var o,i=function(e){return e&&e.__esModule?e:{default:e}}(n(698));o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=(0,i.default)(o);t.default=a}).call(this,n(7),n(28)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.Symbol;"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable";return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=m;var o=l(n(0)),i=l(n(4)),a=l(n(24)),s=n(5),u=n(23),c=n(11);function l(e){return e&&e.__esModule?e:{default:e}}var f=i.default.div.withConfig({displayName:"VideoTutorial__VideoTutorialContainer",componentId:"sc-1iy91qo-0"})(["overflow:hidden;"]),p=i.default.div.withConfig({displayName:"VideoTutorial__VideoContainer",componentId:"sc-1iy91qo-1"})([""," width:",";@media screen and ( max-width:"," ){float:none;max-width:100%;margin:0 auto;}"],function(e){return e.hasParagraphs?"float: left;":"margin: 0 auto;"},"560px",c.breakpoints.tablet);p.propTypes={hasParagraphs:a.default.bool.isRequired};var d=i.default.div.withConfig({displayName:"VideoTutorial__VideoDescriptions",componentId:"sc-1iy91qo-2"})(["margin-left:",";padding:0 16px;max-width:",";@media screen and ( max-width:"," ){margin:0 auto;padding:0;}"],"560px","560px",c.breakpoints.tablet),h=i.default.div.withConfig({displayName:"VideoTutorial__VideoDescription",componentId:"sc-1iy91qo-3"})(["padding:16px 0;:not(:last-child ){border-bottom:2px solid ",";padding-bottom:16px;}"],c.colors.$color_grey),y=i.default.p.withConfig({displayName:"VideoTutorial__VideoDescriptionTitle",componentId:"sc-1iy91qo-4"})(["margin-top:0;font-weight:600;"]),g=(0,u.makeOutboundLink)(i.default.a.withConfig({displayName:"VideoTutorial__VideoDescriptionLink",componentId:"sc-1iy91qo-5"})(["color:",";"],c.colors.$color_pink_dark)),v=function(e){return o.default.createElement(h,{className:e.className},o.default.createElement(y,null,e.title),o.default.createElement("p",null,e.description),o.default.createElement(g,{href:e.link},e.linkText))};function m(e){var t=e.paragraphs.length>0;return o.default.createElement(f,{className:e.className+"__container"},o.default.createElement(p,{className:e.className+"__video-container",hasParagraphs:t},o.default.createElement(s.YouTubeVideo,{src:e.src,title:e.title})),t&&o.default.createElement(d,{className:e.className+"__descriptions"},e.paragraphs.map(function(t){return o.default.createElement(v,r({className:e.className+"__description",key:t.link},t))})))}v.propTypes={title:a.default.string.isRequired,description:a.default.string.isRequired,link:a.default.string.isRequired,linkText:a.default.string.isRequired,className:a.default.string},v.defaultProps={className:"yoast-video-tutorial"},m.propTypes={src:a.default.string.isRequired,title:a.default.string.isRequired,paragraphs:a.default.arrayOf(a.default.shape(v.propTypes)),className:a.default.string},m.defaultProps={className:"yoast-video-tutorial",paragraphs:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.YoastInputButtonContainer=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=p(n(0)),i=p(n(4)),a=p(n(24)),s=n(8),u=p(n(109)),c=n(5),l=n(23),f=n(11);function p(e){return e&&e.__esModule?e:{default:e}}var d=f.colors.$color_red,h=f.colors.$color_grey_text_light,y=i.default.div.withConfig({displayName:"KeywordInput__KeywordInputContainer",componentId:"sc-35x9sp-0"})(["display:flex;flex-direction:column;"]),g=i.default.label.withConfig({displayName:"KeywordInput__KeywordFieldLabel",componentId:"sc-35x9sp-1"})(["font-size:1em;font-weight:bold;",";"],(0,l.getDirectionalStyle)("margin-right: 4px","margin-left: 4px")),v=i.default.span.withConfig({displayName:"KeywordInput__KeywordFieldLabelContainer",componentId:"sc-35x9sp-2"})(["margin-bottom:0.5em;"]),m=(0,i.default)(c.InputField).withConfig({displayName:"KeywordInput__KeywordField",componentId:"sc-35x9sp-3"})(["flex:1 !important;box-sizing:border-box;max-width:100%;margin:0;&::-ms-clear{display:none;}&.has-error{border-color:"," !important;box-shadow:0 0 2px "," !important;}"],d,d),b=i.default.p.withConfig({displayName:"KeywordInput__ErrorText",componentId:"sc-35x9sp-4"})(["color:",";margin:0.5em 0 0 0;min-height:1.8em;"],d),_=(0,c.addFocusStyle)(i.default.button.withConfig({displayName:"KeywordInput__BorderlessButton",componentId:"sc-35x9sp-5"})(["border:1px solid transparent;box-shadow:none;background:none;flex:0 0 32px;height:32px;max-width:32px;padding:0;cursor:pointer;"]));_.propTypes={type:a.default.string,focusColor:a.default.string,focusBackgroundColor:a.default.string,focusBorderColor:a.default.string},_.defaultProps={type:"button",focusColor:f.colors.$color_button_text_hover,focusBackgroundColor:f.colors.$color_white,focusBorderColor:f.colors.$color_blue};var w=(0,i.default)(c.SvgIcon).withConfig({displayName:"KeywordInput__RemoveIcon",componentId:"sc-35x9sp-6"})(["margin-top:4px;"]),S=t.YoastInputButtonContainer=i.default.div.withConfig({displayName:"KeywordInput__YoastInputButtonContainer",componentId:"sc-35x9sp-7"})(["display:flex;flex-direction:row;align-items:center;&.has-remove-keyword-button{","{",";}","{",";}}"],m,(0,l.getDirectionalStyle)("padding-right: 40px","padding-left: 40px"),_,(0,l.getDirectionalStyle)("margin-left: -32px","margin-right: -32px")),E=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleChange=n.handleChange.bind(n),n.displayErrorMessage=n.displayErrorMessage.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.Component),r(t,[{key:"checkKeywordInput",value:function(e){return e.includes(",")}},{key:"displayErrorMessage",value:function(e){if(e&&""!==this.props.keyword)return o.default.createElement(b,{role:"alert"},(0,s.__)("Are you trying to use multiple keyphrases? You should add them separately below.","yoast-components"))}},{key:"handleChange",value:function(e){this.props.onChange(e.target.value)}},{key:"renderLabel",value:function(){var e=this.props,t=e.id,n=e.label,r=e.helpLink;return o.default.createElement(v,null,o.default.createElement(g,{htmlFor:t},n),r)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.showLabel,r=e.keyword,i=e.onRemoveKeyword,a=e.onBlurKeyword,s=e.onFocusKeyword,c=this.checkKeywordInput(r),l=!n,f=i!==u.default;return o.default.createElement(y,null,n&&this.renderLabel(),o.default.createElement(S,{className:f?"has-remove-keyword-button":null},o.default.createElement(m,{"aria-label":l?this.props.label:null,type:"text",id:t,className:c?"has-error":null,onChange:this.handleChange,onFocus:s,onBlur:a,value:r,autoComplete:"off"}),f&&o.default.createElement(_,{onClick:i},o.default.createElement(w,{size:"18px",icon:"times-circle",color:h}))),this.displayErrorMessage(c))}}]),t}();E.propTypes={id:a.default.string.isRequired,showLabel:a.default.bool,keyword:a.default.string,onChange:a.default.func.isRequired,onRemoveKeyword:a.default.func,onBlurKeyword:a.default.func,onFocusKeyword:a.default.func,label:a.default.string.isRequired,helpLink:a.default.node},E.defaultProps={showLabel:!0,keyword:"",onRemoveKeyword:u.default,onBlurKeyword:u.default,onFocusKeyword:u.default,helpLink:null},t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.insightsReducer=void 0;var r=n(163),o=n(702);t.insightsReducer=(0,r.combineReducers)({prominentWords:o.prominentWordsReducer})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prominentWordsReducer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case r.SET_PROMINENT_WORDS:return t.prominentWords;default:return e}};var r=n(314),o=[]},function(e,t){e.exports=window.yoast.configurationWizard},function(e,t){e.exports=window.yoast.algoliaSearchBox},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonSection=void 0;var r=a(n(24)),o=a(n(0)),i=n(5);function a(e){return e&&e.__esModule?e:{default:e}}var s=(0,i.wrapInHeading)(i.StyledIconsButton,{level:2,fontSize:"1rem",fontWeight:"normal"}),u=t.ButtonSection=function(e){var t=e.hasSeparator?i.StyledContainerTopLevel:i.StyledContainer;return o.default.createElement(t,{onClick:e.onClick,className:e.className},o.default.createElement(e.Heading,{prefixIcon:e.prefixIcon,suffixIcon:e.suffixIcon,hasSubTitle:!!e.subTitle,id:e.id},o.default.createElement(i.SectionTitle,{title:e.title,titleScreenReaderText:e.titleScreenReaderText,subTitle:e.subTitle})))};u.propTypes={hasSeparator:r.default.bool,className:r.default.string,Heading:r.default.func,prefixIcon:r.default.shape({icon:r.default.string,color:r.default.string,size:r.default.string}),suffixIcon:r.default.shape({icon:r.default.string,color:r.default.string,size:r.default.string}),subTitle:r.default.string,title:r.default.string.isRequired,titleScreenReaderText:r.default.string,onClick:r.default.func.isRequired,id:r.default.string},u.defaultProps={Heading:s,id:null},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.ContentAnalysis}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HelpCenterContainer=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=l(n(0)),i=l(n(24)),a=l(n(4)),s=n(8),u=n(5),c=n(11);function l(e){return e&&e.__esModule?e:{default:e}}var f=t.HelpCenterContainer=a.default.div.withConfig({displayName:"HelpCenter__HelpCenterContainer",componentId:"sc-127bdl8-0"})(["margin:0;@media screen and ( max-width:"," ){margin:0 0 1em;}"],c.breakpoints.mobile),p=(0,a.default)(u.Paper).withConfig({displayName:"HelpCenter__HelpCenterPaper",componentId:"sc-127bdl8-1"})(["margin-top:16px;"]),d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isExpanded:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.Component),r(t,[{key:"onButtonClick",value:function(){var e=this;this.setState({isExpanded:!this.state.isExpanded},function(){e.props.onHelpCenterToggle&&e.props.onHelpCenterToggle(e.state.isExpanded)})}},{key:"render",value:function(){return o.default.createElement(f,{className:""+this.props.className},o.default.createElement(u.HelpCenterButton,{className:this.props.className+"__button",onClick:this.onButtonClick.bind(this),isExpanded:this.state.isExpanded,backgroundColor:this.props.buttonBackgroundColor,textColor:this.props.buttonTextColor,iconColor:this.props.buttonIconColor,withTextShadow:this.props.buttonWithTextShadow},(0,s.__)("Need help?","yoast-components")),this.state.isExpanded&&o.default.createElement(p,{minHeight:"432px"},o.default.createElement(u.Tabs,{items:this.props.items,tabsTextColor:this.props.tabsTextColor,tabsTextTransform:this.props.tabsTextTransform,tabsFontSize:this.props.tabsFontSize,tabsFontWeight:this.props.tabsFontWeight,tabsBaseWidth:this.props.tabsBaseWidth,onTabSelect:this.props.onTabSelect,onTabsMounted:this.props.onTabsMounted})))}}]),t}();d.propTypes={className:i.default.string,items:i.default.array.isRequired,buttonBackgroundColor:i.default.string,buttonTextColor:i.default.string,buttonIconColor:i.default.string,buttonWithTextShadow:i.default.bool,tabsTextColor:i.default.string,tabsTextTransform:i.default.string,tabsFontSize:i.default.string,tabsFontWeight:i.default.string,tabsBaseWidth:i.default.string,onHelpCenterToggle:i.default.func,onTabSelect:i.default.func,onTabsMounted:i.default.func},d.defaultProps={buttonBackgroundColor:c.colors.$color_green_medium_light,buttonTextColor:c.colors.$color_white,buttonIconColor:c.colors.$color_white,buttonWithTextShadow:!0,tabsTextColor:c.colors.$color_grey_dark,tabsTextTransform:"none",tabsFontSize:"1.5em",tabsFontWeight:"200",tabsBaseWidth:"200px",className:"yoast-help-center"},t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=c(n(0)),i=c(n(24)),a=c(n(4)),s=n(5),u=n(8);function c(e){return e&&e.__esModule?e:{default:e}}var l=a.default.div.withConfig({displayName:"CornerstoneToggle__Cornerstone",componentId:"sc-1m1gckt-0"})(["display:flex;margin-top:8px;"]),f=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.Component),r(t,[{key:"render",value:function(){return o.default.createElement(l,null,o.default.createElement(s.Toggle,{id:this.props.id,labelText:(0,u.__)("Mark as cornerstone content","yoast-components"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}]),t}();f.propTypes={id:i.default.string,isEnabled:i.default.bool,onSetToggleState:i.default.func,onToggle:i.default.func,disable:i.default.bool,onToggleDisabled:i.default.func},f.defaultProps={id:"cornerstone-toggle"},t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=d(n(0)),a=d(n(24)),s=n(8),u=d(n(710)),c=d(n(711)),l=d(n(253)),f=n(317),p=d(n(4));function d(e){return e&&e.__esModule?e:{default:e}}var h=(0,n(23).makeOutboundLink)(),y=p.default.div.withConfig({displayName:"LinkSuggestions__LinkSuggestionsWrapper",componentId:"ko5237-0"})(["display:table-cell;"]),g=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={clipboard:new c.default(".yoast-link-suggestion__copy")},n.state.clipboard.on("success",n.handleSuccess.bind(n)),n.state.clipboard.on("error",n.handleError.bind(n)),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.default.Component),o(t,[{key:"handleSuccess",value:function(e){var t=(0,s.__)("Copied!","yoast-components");e.trigger.focus(),e.trigger.setAttribute("aria-label",t),e.trigger.setAttribute("data-label",t),(0,f.speak)(t,"assertive")}},{key:"handleError",value:function(e){var t=(0,s.__)("Not supported!","yoast-components");e.trigger.el.setAttribute("aria-label",t),e.trigger.setAttribute("data-label",t),(0,f.speak)(t,"assertive")}},{key:"renderEmptyList",value:function(){var e=(0,s.__)("Read {{a}}our article about site structure{{/a}} to learn more about how internal linking can help improve your SEO.","yoast-components"),t=(0,l.default)({mixedString:e,components:{a:i.default.createElement(h,{href:"https://yoa.st/site-structure-metabox"})}}),n=(0,s.__)("Once you add a bit more copy, we'll give you a list of related content here to which you could link in your post.","yoast-components");return i.default.createElement("div",null,i.default.createElement("p",null,n),i.default.createElement("p",null,t))}},{key:"render",value:function(){var e=this.props.suggestions,t=this.props.maxSuggestions,n=(0,s.__)("This is a list of related content to which you could link in your post. {{a}}Read our article about site structure{{/a}} to learn more about how internal linking can help improve your SEO.","yoast-components"),r=(0,l.default)({mixedString:n,components:{a:i.default.createElement(h,{href:"https://yoa.st/site-structure-metabox"})}});if(0===e.length)return this.renderEmptyList();e.length>t&&(e.length=t);var o=this.getCornerstoneSuggestions(),a=this.getDefaultSuggestions();return i.default.createElement(y,null,i.default.createElement("p",null,r),o,a)}},{key:"getCornerstoneSuggestions",value:function(){var e=this.filterSuggestionsByCornerstone(!0);if(0===e.length)return null;var t=(0,s.__)("Consider linking to these {{a}}cornerstone articles:{{/a}}","yoast-components"),n=(0,l.default)({mixedString:t,components:{a:i.default.createElement(h,{href:"https://yoa.st/metabox-ls-help-cornerstone"})}});return this.getSuggestionsList(n,e)}},{key:"getDefaultSuggestions",value:function(){var e=this.filterSuggestionsByCornerstone(!1);return 0===e.length?null:this.getSuggestionsList((0,s.__)("Consider linking to these articles:","yoast-components"),e)}},{key:"getSuggestionsList",value:function(e,t){return i.default.createElement("div",null,i.default.createElement("p",null,e),t.map(function(e,t){return i.default.createElement(u.default,r({key:t},e))}))}},{key:"filterSuggestionsByCornerstone",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.props.suggestions.filter(function(t){return t.isCornerstone===e})}}]),t}();g.propTypes={suggestions:a.default.array.isRequired,maxSuggestions:a.default.number},g.defaultProps={maxSuggestions:10},t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(0)),o=l(n(24)),i=l(n(4)),a=n(8),s=n(11),u=n(5),c=n(23);function l(e){return e&&e.__esModule?e:{default:e}}var f=i.default.div.withConfig({displayName:"LinkSuggestion__LinkSuggestionWrapper",componentId:"sc-1mdih4x-0"})(["width:100%;display:block;margin-bottom:5px;"]),p=i.default.button.withConfig({displayName:"LinkSuggestion__LinkSuggestionIcon",componentId:"sc-1mdih4x-1"})(["height:30px;width:30px;background-color:",";border-radius:5px;cursor:pointer;outline:none;float:left;margin-right:5px;display:table-cell;border:1px solid ",";&:focus{border-radius:100%;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,0.8);}"],s.colors.$color_button,s.colors.$color_button_border),d=(0,c.makeOutboundLink)(i.default.a.withConfig({displayName:"LinkSuggestion__Link",componentId:"sc-1mdih4x-2"})(["padding:6px 0;display:table-cell;"])),h=function(e){var t=e.value,n=e.url,o=e.isActive,i=(0,a.__)("Copy link","yoast-components"),c=(0,a.sprintf)((0,a.__)("Copy link to suggested article: %s","yoast-components"),t),l="clipboard";return o&&(l="check"),r.default.createElement(f,null,r.default.createElement(p,{type:"button",className:"yoast-link-suggestion__copy yoast-tooltip yoast-tooltip-alt yoast-tooltip-s",onBlur:function(e){e.nativeEvent.target.setAttribute("aria-label",c),e.nativeEvent.target.setAttribute("data-label",i)},"data-clipboard-text":n,"aria-label":c,"data-label":i},r.default.createElement(u.SvgIcon,{icon:l,color:s.colors.$color_grey_dark}),r.default.createElement(u.ScreenReaderText,null,i)),r.default.createElement(d,{href:n},t))};h.propTypes={value:o.default.string,url:o.default.string,isActive:o.default.bool},t.default=h},function(e,t,n){var r,o,i;o=[e,n(712),n(714),n(715)],void 0===(i="function"==typeof(r=function(e,t,n,r){"use strict";var o=s(t),i=s(n),a=s(r);function s(e){return e&&e.__esModule?e:{default:e}}var u="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},c=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}}(),l=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.resolveOptions(n),r.listenClick(e),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),c(t,[{key:"resolveOptions",value: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,this.container="object"===u(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,a.default)(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new o.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return f("action",e)}},{key:"defaultTarget",value:function(e){var t=f("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return f("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach(function(e){n=n&&!!document.queryCommandSupported(e)}),n}}]),t}(i.default);function f(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=l})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;o=[e,n(713)],void 0===(i="function"==typeof(r=function(e,t){"use strict";var n=function(e){return e&&e.__esModule?e:{default:e}}(t),r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=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=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.resolveOptions(t),this.initSelection()}return o(e,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=r+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,n.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,n.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";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"!==(void 0===e?"undefined":r(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=i})?r.apply(t,o):r)||(e.exports=i)},function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},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){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,a=r.length;i<a;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=n,e.exports.TinyEmitter=n},function(e,t,n){var r=n(716),o=n(717);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(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)})}}}(e,t,n);if(r.string(e))return function(e,t,n){return o(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},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){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(718);function o(e,t,n,o,i){var a=function(e,t,n,o){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&o.call(e,n)}}.apply(this,arguments);return e.addEventListener(n,a,i),{destroy:function(){e.removeEventListener(n,a,i)}}}e.exports=function(e,t,n,r,i){return"function"==typeof e.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,function(e){return o(e,t,n,r,i)}))}},function(e,t){var n=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}e.exports=function(e,t){for(;e&&e.nodeType!==n;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSynonyms=function(e){return{type:r,synonyms:e}};var r=t.SET_SYNONYMS="SET_SYNONYMS"},function(e,t,n){"use strict";n.r(t);var r=n(34),o=n(721),i={INIT:"@@redux/INIT"};function a(e,t,n){var s;if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(a)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var u=e,c=t,l=[],f=l,p=!1;function d(){f===l&&(f=l.slice())}function h(){return c}function y(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return d(),f.push(e),function(){if(t){t=!1,d();var n=f.indexOf(e);f.splice(n,1)}}}function g(e){if(!Object(r.a)(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(p)throw new Error("Reducers may not dispatch actions.");try{p=!0,c=u(c,e)}finally{p=!1}for(var t=l=f,n=0;n<t.length;n++){(0,t[n])()}return e}return g({type:i.INIT}),(s={dispatch:g,subscribe:y,getState:h,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");u=e,g({type:i.INIT})}})[o.a]=function(){var e,t=y;return(e={subscribe:function(e){if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[o.a]=function(){return this},e},s}function s(e,t){var n=t&&t.type;return"Given action "+(n&&'"'+n.toString()+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function u(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}var a=Object.keys(n);var u=void 0;try{!function(e){Object.keys(e).forEach(function(t){var n=e[t];if(void 0===n(void 0,{type:i.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+i.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}(n)}catch(e){u=e}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(u)throw u;for(var r=!1,o={},i=0;i<a.length;i++){var c=a[i],l=n[c],f=e[c],p=l(f,t);if(void 0===p){var d=s(c,t);throw new Error(d)}o[c]=p,r=r||p!==f}return r?o:e}}function c(e,t){return function(){return t(e.apply(void 0,arguments))}}function l(e,t){if("function"==typeof e)return c(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(e),r={},o=0;o<n.length;o++){var i=n[o],a=e[i];"function"==typeof a&&(r[i]=c(a,t))}return r}function f(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}var p=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};function d(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,r,o){var i,a=e(n,r,o),s=a.dispatch,u={getState:a.getState,dispatch:function(e){return s(e)}};return i=t.map(function(e){return e(u)}),s=f.apply(void 0,i)(a.dispatch),p({},a,{dispatch:s})}}}n.d(t,"createStore",function(){return a}),n.d(t,"combineReducers",function(){return u}),n.d(t,"bindActionCreators",function(){return l}),n.d(t,"applyMiddleware",function(){return d}),n.d(t,"compose",function(){return f})},function(e,t,n){"use strict";(function(e,r){var o,i=n(767);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(i.a)(o);t.a=a}).call(this,n(7),n(231)(e))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=(function(e){e&&e.__esModule}(n(0)),n(5));t.default=function(e){return wp.element.createElement(o.Collapsible,r({hasPadding:!0,hasSeparator:!0},e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadLinkSuggestions=function(){return{type:r}},t.setLinkSuggestions=function(e,t){return{type:o,linkSuggestions:e,showUnindexedWarning:t}},t.setLinkSuggestionsError=function(e){return{type:i,message:e}};var r=t.LOAD_LINK_SUGGESTIONS="LOAD_LINK_SUGGESTIONS",o=t.SET_LINK_SUGGESTIONS="SET_LINK_SUGGESTIONS",i=t.SET_LINK_SUGGESTIONS_ERROR="SET_LINK_SUGGESTIONS_ERROR"},function(e,t,n){var r=n(36),o=n(20),i=n(37),a="[object String]";e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&r(e)==a}},function(e,t){e.exports=function(e){return null==e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});o(n(0));var r=o(n(52));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=function(t){t.renderPriority;var n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["renderPriority"]);return wp.element.createElement(e,n)};return t.propTypes={renderPriority:r.default.number},t}},function(e,t){e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},function(e,t){e.exports=function(e){return e&&e.length?e[0]:void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadMorphologyData=function(){return{type:r}},t.setLoadMorphologyDataError=function(e){return{type:o,message:e}};var r=t.LOAD_MORPHOLOGY_DATA="LOAD_MORPHOLOGY_DATA",o=t.LOAD_MORPHOLOGY_DATA_ERROR="LOAD_MORPHOLOGY_DATA_ERROR"},function(e,t,n){"use strict";var r=a(n(120)),o=n(42),i=a(n(755));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.helpers.scoreToRating,u=function(){var e=YoastSEO.app;return!(0,r.default)(e.seoAssessorPresenter)||!(0,r.default)(e.contentAssessorPresenter)},c=function(){var e=YoastSEO.app;return(0,r.default)(e.seoAssessorPresenter)?(0,r.default)(e.contentAssessorPresenter)?void 0:e.contentAssessorPresenter:e.seoAssessorPresenter};e.exports=function(e){var t={className:"",screenReaderText:"",fullText:"",screenReaderReadabilityText:""};return u()?(0,i.default)(e)?(t.className="loading",t):(e/=10,c().getIndicator(s(e))):t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11),o=n(23),i=function(e){return e&&e.__esModule?e:{default:e}}(n(4));var a=(0,o.makeOutboundLink)(i.default.a.withConfig({displayName:"HelpLink",componentId:"sc-1ue6ao6-0"})(["display:inline-block;position:relative;outline:none;text-decoration:none;border-radius:100%;width:24px;height:24px;margin:-4px 0;vertical-align:middle;color:",";&:hover,&:focus{color:",";}&:active{color:",';}&::before{position:absolute;top:0;left:0;padding:2px;content:"\f223";}'],r.colors.$color_help_text,r.colors.$color_snippet_focus,r.colors.$color_help_text));t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIconForScore=function(e){var t={icon:"seo-score-none",color:o.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:o.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:o.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:o.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:o.colors.$color_red}}return t},t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var o=e[r];if(o.text){var i=a(o,t);n=s(i,n)}}return n};var r=n(42),o=n(11),i=r.helpers.scoreToRating;function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),r={score:e.score,rating:i(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?t+":"+n:n};return"ok"===r.rating&&(r.rating="OK"),r}function s(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderRatingToColor=p,t.default=d;var r=n(8),o=l(n(0)),i=l(n(4)),a=l(n(333)),s=l(n(109)),u=n(11),c=l(n(764));function l(e){return e&&e.__esModule?e:{default:e}}var f=i.default.ul.withConfig({displayName:"AnalysisList__AnalysisListBase",componentId:"sc-1ozeatw-0"})(["margin:8px 0;padding:0;list-style:none;"]);function p(e){switch(e){case"good":return u.colors.$color_good;case"OK":return u.colors.$color_ok;case"bad":return u.colors.$color_bad;default:return u.colors.$color_score_icon}}function d(e){var t=e.results,n=e.marksButtonActivatedResult,i=e.marksButtonStatus,a=e.marksButtonClassName,s=e.onMarksButtonClick;return o.default.createElement(f,{role:"list"},t.map(function(e){var t=p(e.rating),u=e.markerId===n,l="";return l="disabled"===i?(0,r.__)("Marks are disabled in current view","yoast-components"):u?(0,r.__)("Remove highlight from the text","yoast-components"):(0,r.__)("Highlight this result in the text","yoast-components"),o.default.createElement(c.default,{key:e.id,text:e.text,bulletColor:t,hasMarksButton:e.hasMarks,ariaLabel:l,pressed:u,buttonId:e.id,onButtonClick:function(){return s(e.id,e.marker)},marksButtonClassName:a,marksButtonStatus:i})}))}d.propTypes={results:a.default.array.isRequired,marksButtonActivatedResult:a.default.string,marksButtonStatus:a.default.string,marksButtonClassName:a.default.string,onMarksButtonClick:a.default.func},d.defaultProps={marksButtonActivatedResult:"",marksButtonStatus:"enabled",marksButtonClassName:"",onMarksButtonClick:s.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnalysisResult=void 0;var r=s(n(0)),o=s(n(333)),i=s(n(4)),a=n(5);function s(e){return e&&e.__esModule?e:{default:e}}var u=i.default.li.withConfig({displayName:"AnalysisResult__AnalysisResultBase",componentId:"pf0ln6-0"})(["min-height:24px;padding:0;display:flex;align-items:flex-start;"]),c=(0,i.default)(a.SvgIcon).withConfig({displayName:"AnalysisResult__ScoreIcon",componentId:"pf0ln6-1"})(["margin:3px 11px 0 0;"]),l=i.default.p.withConfig({displayName:"AnalysisResult__AnalysisResultText",componentId:"pf0ln6-2"})(["margin:0 16px 0 0;flex:1 1 auto;"]),f=t.AnalysisResult=function(e){return r.default.createElement(u,e,r.default.createElement(c,{icon:"circle",color:e.bulletColor,size:"13px"}),r.default.createElement(l,{dangerouslySetInnerHTML:{__html:e.text}}),e.hasMarksButton&&!function(e){return"hidden"===e.marksButtonStatus}(e)&&r.default.createElement(a.IconButtonToggle,{marksButtonStatus:e.marksButtonStatus,className:e.marksButtonClassName,onClick:e.onButtonClick,id:e.buttonId,icon:"eye",pressed:e.pressed,ariaLabel:e.ariaLabel}))};f.propTypes={text:o.default.string.isRequired,bulletColor:o.default.string.isRequired,hasMarksButton:o.default.bool.isRequired,buttonId:o.default.string.isRequired,pressed:o.default.bool.isRequired,ariaLabel:o.default.string.isRequired,onButtonClick:o.default.func.isRequired,marksButtonStatus:o.default.string,marksButtonClassName:o.default.string},f.defaultProps={marksButtonStatus:"enabled",marksButtonClassName:""},t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LocationConsumer=t.LocationProvider=t.LocationContext=void 0;var r=n(14),o=t.LocationContext=(0,r.createContext)();t.LocationProvider=o.Provider,t.LocationConsumer=o.Consumer},function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i=Object.defineProperty,a=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,l=c&&c(Object);e.exports=function e(t,n,f){if("string"!=typeof n){if(l){var p=c(n);p&&p!==l&&e(t,p,f)}var d=a(n);s&&(d=d.concat(s(n)));for(var h=0;h<d.length;++h){var y=d[h];if(!(r[y]||o[y]||f&&f[y])){var g=u(n,y);try{i(t,y,g)}catch(e){}}}return t}return t}},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i=Object.defineProperty,a=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,l=c&&c(Object);e.exports=function e(t,n,f){if("string"!=typeof n){if(l){var p=c(n);p&&p!==l&&e(t,p,f)}var d=a(n);s&&(d=d.concat(s(n)));for(var h=0;h<d.length;++h){var y=d[h];if(!(r[y]||o[y]||f&&f[y])){var g=u(n,y);try{i(t,y,g)}catch(e){}}}return t}return t}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";z(n(0));var r=n(316),o=z(n(752)),i=n(175),a=n(8),s=n(4),u=n(14),c=n(376),l=n(315),f=z(n(35)),p=n(112),d=n(753),h=n(848),y=z(n(340)),g=z(n(849)),v=z(n(850)),m=z(n(851)),b=z(n(858)),_=z(n(860)),w=z(n(861)),S=z(n(864)),E=z(n(866)),x=z(n(868)),O=n(869),k=z(n(870)),C=z(n(756)),P=z(n(319)),T=z(n(875)),j=U(n(886)),R=U(n(887)),M=z(n(890)),A=n(332),I=z(n(901)),D=z(n(902)),L=n(719),N=n(759),B=z(n(761)),K=z(n(907)),F=z(n(908));function U(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 z(e){return e&&e.__esModule?e:{default:e}}var q=wpseoPremiumMetaboxData.data,W=wpseoPremiumMetaboxData.data.restApi.available&&wpseoPremiumMetaboxData.data.restApi.contentEndpointsAvailable,V=new g.default;(0,O.setTextdomainL10n)("wordpress-seo-premium","wpseoPremiumJSL10n"),(0,O.setYoastComponentsL10n)();var H=function(){return"enabled"===q.insightsEnabled},Y=function(){return"enabled"===q.linkSuggestionsEnabled&&q.linkSuggestionsAvailable},$=function(){return q.seoAnalysisEnabled},G=function(){return W&&Y()},J=function(){return document.getElementById("yst_is_cornerstone")&&document.getElementById("yst_is_cornerstone").checked?50:20},X=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];try{return JSON.parse(e)}catch(e){return t}},Q=function(e){var t=e.dispatch,n="undefined"!=typeof wpseoTermScraperL10n?"hidden_wpseo":"yoast_wpseo",r=document.getElementById(n+"_focuskeywords"),o=document.getElementById(n+"_keywordsynonyms"),i=X(r.value),a=X(o.value),s=a.shift()||"",u=i.map(function(e,t){var n=a[t];return{keyword:e.keyword,score:e.score,synonyms:n}});t((0,A.setRelatedKeywords)(u)),t((0,L.setSynonyms)(s))},Z=(0,C.default)(function(e){var t=e.store,n=e.theme,r=e.location;return wp.element.createElement(K.default,{store:t,theme:n,location:r},wp.element.createElement(M.default,null))});Z.propTypes={store:f.default.object.isRequired,theme:f.default.object.isRequired,renderPriority:f.default.number.isRequired};var ee=(0,C.default)(function(e){var t=e.store,n=e.theme,r=e.location;return wp.element.createElement(K.default,{store:t,theme:n,location:r},wp.element.createElement(o.default,{title:(0,a.__)("Insights","wordpress-seo-premium"),id:"yoast-insights-collapsible-"+r},wp.element.createElement(_.default,null)))});ee.propTypes={store:f.default.object.isRequired,theme:f.default.object.isRequired,renderPriority:f.default.number.isRequired};var te=function(e){var t=e.store,n=e.theme,o=wp.element.createElement(B.default,{href:wpseoAdminL10n["shortlinks.keyword_synonyms_info"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,a.__)("Help on keyphrase synonyms","wordpress-seo-premium")));return wp.element.createElement(u.Fragment,null,wp.element.createElement(s.ThemeProvider,{theme:n},wp.element.createElement(r.Provider,{store:t},wp.element.createElement(u.Fragment,null,wp.element.createElement(c.Fill,{name:"yoast-synonyms-metabox"},wp.element.createElement(w.default,{id:"synonyms-input-metabox",label:(0,a.__)("Keyphrase synonyms","wordpress-seo-premium"),helpLink:o})),wp.element.createElement(c.Fill,{name:"yoast-synonyms-sidebar"},wp.element.createElement(w.default,{id:"synonyms-input-sidebar",label:(0,a.__)("Keyphrase synonyms","wordpress-seo-premium"),helpLink:o}))))))};te.propTypes={store:f.default.object.isRequired,theme:f.default.object.isRequired};var ne=(0,C.default)(function(e){var t=e.store,n=e.theme;return wp.element.createElement(s.ThemeProvider,{theme:n},wp.element.createElement(r.Provider,{store:t},wp.element.createElement(S.default,null)))}),re=function(e){var t=(0,F.default)().split("_")[0];if(yoast.analysis.helpers.getLanguagesWithWordFormSupport().includes(t)){var n=e.dispatch.bind(e);n((0,N.loadMorphologyData)());new E.default({siteUrl:q.licensedURL,language:t,setError:function(e){n((0,N.setLoadMorphologyDataError)(e))}}).injectMorphologyData()}},oe=function(e){V=new y.default({postID:q.postID,rootUrl:q.restApi.root,nonce:q.restApi.nonce,prominentWordsLimit:J()}),window.jQuery("#yst_is_cornerstone").change(function(){V.setProminentWordsLimit(J()),window.jQuery(window).trigger("YoastSEO:updateProminentWords")});var t=e.dispatch.bind(e),n=new v.default({prominentWordStorage:V,updateStore:function(e){t((0,i.setProminentWords)(e))},contentEndpointsAvailable:W});jQuery(window).on("YoastSEO:updateProminentWords",n.updateWords.bind(n)),jQuery(window).on("YoastSEO:numericScore",function(){jQuery(window).trigger("YoastSEO:updateProminentWords")}),n.suggest()},ie=function(){var e=(0,l.registerStore)("yoast-seo-premium/editor",{reducer:T.default,actions:j,selectors:R});Q(e);var t=e.getState(),n=t.synonyms,r=D.default.getRelevantData(t);(H()||Y())&&oe(e),G()&&(function(e){var t=e.dispatch.bind(e);t((0,d.loadLinkSuggestions)());var n={setLinkSuggestions:function(e,n){t((0,d.setLinkSuggestions)(e,n))},setLinkSuggestionsError:function(e){t((0,d.setLinkSuggestionsError)(e))}},r=new m.default({rootUrl:q.restApi.root,nonce:q.restApi.nonce,currentPostId:q.postID,showUnindexedWarning:q.linkSuggestionsUnindexed,store:n});r.setCurrentLinkSuggestions(q.linkSuggestions),jQuery(window).on("YoastSEO:numericScore",r.updateUsedLinks.bind(r)),V.on("savedProminentWords",r.updatedProminentWords.bind(r))}(e),function(e){(0,h.renderReactApp)(document.getElementById("yoast_internal_linking").getElementsByClassName("inside")[0],b.default,e)}(e));var i=new I.default,s=new D.default;$()&&(YoastSEO.app.changeAssessorOptions({useKeywordDistribution:!0}),jQuery(window).on("YoastSEO:numericScore",function(){s.analyze(e.getState(),e.dispatch)})),e.subscribe(function(){var t=e.getState();n!==t.synonyms&&(n=t.synonyms,YoastSEO.app.refresh()),i.persist(t);var o=D.default.getRelevantData(t);D.default.shouldAnalyze(o,r)&&(r=o,s.analyze(t,e.dispatch))}),YoastSEO.app.registerCustomDataCallback(function(){return{synonyms:e.getState().synonyms}}),function(e){var t={isRtl:(0,P.default)().isRtl};(0,x.default)()?(0,wp.plugins.registerPlugin)("yoast-seo-premium",{render:function(){return wp.element.createElement(u.Fragment,null,wp.element.createElement(c.Fill,{name:"YoastSidebar"},wp.element.createElement(ne,{renderPriority:1,store:e,theme:t}),$()&&wp.element.createElement(Z,{renderPriority:21,store:e,theme:t,location:"sidebar"}),G()&&wp.element.createElement(k.default,{renderPriority:31},wp.element.createElement(K.default,{store:e,theme:t,location:"sidebar"},wp.element.createElement(o.default,{id:"yoast-linking-suggestions-collapsible-sidebar",title:(0,a.__)("Internal linking suggestions","wordpress-seo-premium")},wp.element.createElement(b.default,null)))),H()&&wp.element.createElement(ee,{renderPriority:32,store:e,theme:t,location:"sidebar"})),wp.element.createElement(c.Fill,{name:"YoastMetabox"},$()&&wp.element.createElement(Z,{renderPriority:21,store:e,theme:t,location:"metabox"}),H()&&wp.element.createElement(ee,{renderPriority:32,store:e,theme:t,location:"metabox"}),wp.element.createElement(ne,{renderPriority:1,store:e,theme:t})),wp.element.createElement(te,{store:e,theme:t}))}}):YoastSEO._registerReactComponent("yoast-seo-premium",function(){return wp.element.createElement(u.Fragment,null,wp.element.createElement(c.Fill,{name:"YoastMetabox"},$()&&wp.element.createElement(Z,{renderPriority:21,store:e,theme:t,location:"metabox"}),H()&&wp.element.createElement(ee,{renderPriority:32,store:e,theme:t,location:"metabox"}),wp.element.createElement(ne,{renderPriority:1,store:e,theme:t})),wp.element.createElement(te,{store:e,theme:t}))})}(e),re(e),YoastSEO.app.refresh()};window.jQuery(function(){window.jQuery(window).on("YoastSEO:ready",function(){try{(0,p.enableFeatures)(wpseoFeaturesL10n),ie()}catch(e){console.error(e)}})})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapInTopLevelComponents=a,t.renderReactApp=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};o.default.render(a(t,n,r),e)};i(n(0));var r=n(316),o=i(n(43));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return wp.element.createElement(r.Provider,{store:t},wp.element.createElement(e,n))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(e){return e&&e.__esModule?e:{default:e}}(n(178));var i=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default),r(t,[{key:"saveProminentWords",value:function(){return Promise.resolve()}}]),t}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(112);var i=function(){function e(t){var n=t.prominentWordStorage,r=t.updateStore,o=t.contentEndpointsAvailable,i=void 0===o||o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._prominentWordStorage=n,this._updateStore=r,this._contentEndpointsAvailable=i,this._storageEnabled=!1,this.words=null}return r(e,[{key:"suggest",value:function(){this._contentEndpointsAvailable&&window.setTimeout(this.startStoringWords.bind(this),1e4)}},{key:"startStoringWords",value:function(){this._storageEnabled=!0,null!==this.words&&this._prominentWordStorage.saveProminentWords(this.words)}},{key:"updateWords",value:function(){var e=this;(0,o.isFeatureEnabled)("improvedInternalLinking")?(YoastSEO.analysis.worker.runResearch("prominentWordsForInternalLinking").then(function(t){var n=t.result;e.words=n,e._storageEnabled&&e._prominentWordStorage.saveProminentWords(e.words)}),YoastSEO.analysis.worker.runResearch("prominentWordsForInsights").then(function(t){var n=t.result;e._updateStore(n)})):YoastSEO.analysis.worker.runResearch("relevantWords").then(function(t){var n=t.result;e.words=n,e._storageEnabled&&e._prominentWordStorage.saveProminentWords(e.words),e._updateStore(e.words)})}}]),e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=s(n(179)),i=s(n(330)),a=s(n(852));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(t){var n=t.rootUrl,r=t.nonce,o=t.currentPostId,i=t.showUnindexedWarning,a=t.store;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._rootUrl=n,this._nonce=r,this._currentPostId=o,this.showUnindexedWarning=i,this.store=a,this.linkSuggestions=[],this._previousProminentWords=!1,this.filterCurrentPost=this.filterCurrentPost.bind(this)}return r(e,[{key:"setCurrentLinkSuggestions",value:function(e){!1!==e&&this.updateStore(e)}},{key:"updatedProminentWords",value:function(e){(0,o.default)(this._previousProminentWords,e)||(this._previousProminentWords=e,this.retrieveLinkSuggestions(e).then(this.updateStore.bind(this)).catch(this.store.setLinkSuggestionsError))}},{key:"updateUsedLinks",value:function(){var e=this;YoastSEO.analysis.worker.runResearch("getLinks").then(function(t){var n=t.result;e.usedLinks=n,e.updateStore(e.linkSuggestions)})}},{key:"retrieveLinkSuggestions",value:function(e){var t=this;return(0,o.default)([],e)?Promise.resolve([]):new Promise(function(n,r){var o={prominent_words:e};jQuery.ajax({type:"GET",url:t._rootUrl+"yoast/v1/link_suggestions?"+jQuery.param(o),beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",t._nonce)},dataType:"json",success:function(e){n(e)},error:function(e){r(e)}})})}},{key:"filterCurrentPost",value:function(e){var t=this;return e.filter(function(e){return e.id!==t._currentPostId})}},{key:"markUsedLinks",value:function(e){var t=this.usedLinks||[];return(0,i.default)(e,function(e){e.active=(0,a.default)(t,e.link)}),e}},{key:"updateStore",value:function(e){this.linkSuggestions=e,e=this.filterCurrentPost(e),e=this.markUsedLinks(e),e=this.constructor.mapSuggestionsForStore(e),this.store.setLinkSuggestions(e,this.showUnindexedWarning)}}],[{key:"mapSuggestionsForStore",value:function(e){return e.map(function(e){return{value:e.title,url:e.link,isActive:e.active,isCornerstone:e.isCornerstone}})}}]),e}();t.default=u},function(e,t,n){var r=n(853),o=n(63),i=n(754),a=n(322),s=n(856),u=Math.max;e.exports=function(e,t,n,c){e=o(e)?e:s(e),n=n&&!c?a(n):0;var l=e.length;return n<0&&(n=u(l+n,0)),i(e)?n<=l&&e.indexOf(t,n)>-1:!!l&&r(e,t,n)>-1}},function(e,t,n){var r=n(353),o=n(854),i=n(855);e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},function(e,t,n){var r=n(857),o=n(57);e.exports=function(e){return null==e?[]:r(e,o(e))}},function(e,t,n){var r=n(119);e.exports=function(e,t){return r(t,function(t){return e[t]})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapStateToProps=i;var r=n(316),o=function(e){return e&&e.__esModule?e:{default:e}}(n(859));function i(e){return e.linkSuggestions}t.default=(0,r.connect)(i)(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});s(n(0));var r=s(n(35)),o=s(n(331)),i=n(5),a=n(175);function s(e){return e&&e.__esModule?e:{default:e}}var u=function(e){if(e.isLoading)return wp.element.createElement("div",{className:"yoast-link-suggestions yoast-link-suggestions--loading"},wp.element.createElement(i.Loader,null));var t=null;return e.showUnindexedWarning&&(t=l(e.translate)),wp.element.createElement("div",{className:"yoast-link-suggestions"},t,wp.element.createElement(a.LinkSuggestions,{suggestions:e.suggestions}))},c=function(){window.open("admin.php?page=wpseo_dashboard#open-internal-links-calculation","yoastSeoAnalyzeProminentWords")},l=function(e){var t=e("You need to analyze your posts and/or pages in order to receive the best %1$slink suggestions%2$s.\n\n%3$sAnalyze the content%4$s to generate the missing link suggestions.");return t=(t=(t=(t=(t=t.replace("%1$s","{{a}}")).replace("%2$s","{{/a}}")).replace("%3$s","{{startAnalysis}}")).replace("%4$s","{{/startAnalysis}}")).replace("\n\n","{{br /}}{{br /}}"),t=(0,o.default)({mixedString:t,components:{a:wp.element.createElement("a",{href:"https://yoa.st/notification-internal-link"}),startAnalysis:wp.element.createElement("button",{type:"button",className:"button",onClick:c}),br:wp.element.createElement("br",null)}}),wp.element.createElement("div",{className:"notice notice-error notice-alt wpseo-notice-breakout-inside"},wp.element.createElement("p",null,t))};u.propTypes={suggestions:r.default.array.isRequired,isLoading:r.default.bool.isRequired,showUnindexedWarning:r.default.bool,translate:r.default.func},u.defaultProps={showUnindexedWarning:!1},t.default=(0,a.localize)(u)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapStateToProps=i;var r=n(316),o=n(5);function i(e){return{relevantWords:e.insights.prominentWords}}t.default=(0,r.connect)(i)(o.KeywordSuggestions)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(315),o=n(334),i=n(5);t.default=(0,o.compose)([(0,r.withSelect)(function(e){return{value:(0,e("yoast-seo-premium/editor").getSynonyms)()}}),(0,r.withDispatch)(function(e){var t=e("yoast-seo/editor").setMarkerPauseStatus,n=e("yoast-seo-premium/editor").setSynonyms;return{onChange:function(e){n(e.target.value)},onFocus:function(){t(!0)},onBlur:function(){t(!1)}}})])(i.SynonymsInput)},function(e,t,n){"use strict";var r=Object.keys;e.exports=function(e,t){var n,o,i,a;if(e===t)return!0;if(n=r(e),o=r(t),n.length!==o.length)return!1;for(i=0;i<n.length;){if(e[a=n[i]]!==t[a])return!1;i++}return!0}},function(e,t,n){"use strict";e.exports=function(e,t){var n;if(e===t)return!0;if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(316),o=function(e){return e&&e.__esModule?e:{default:e}}(n(865));t.default=(0,r.connect)(function(e){return;})(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=s(n(0)),i=s(n(35)),a=n(5);function s(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.Component),r(t,[{key:"render",value:function(){return this.props.isLoading||this.props.warning.length<1?null:wp.element.createElement(a.Warning,{message:[this.props.warning]})}}]),t}();u.propTypes={warning:i.default.array,isLoading:i.default.bool},u.defaultProps={warning:[],isLoading:!1},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=c(n(331)),i=n(8),a=(c(n(0)),n(23)),s=c(n(867)),u=n(339);function c(e){return e&&e.__esModule?e:{default:e}}var l=s.default.yoast.pluginVersion,f=function(){function e(t){var n=t.siteUrl,r=t.setError,o=t.language,i=t.pluginVersion,a=void 0===i?l:i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._siteUrl=n,this._setError=r,this._requestUrl=(0,u.determineMorphologyRequestUrl)(o),this._pluginVersion=a}return r(e,[{key:"injectMorphologyData",value:function(){var e=this;this.retrieveData(this._requestUrl,this._siteUrl,this._pluginVersion).then(function(e){YoastSEO.analysis.worker.initialize({researchData:{morphology:e}}).then(function(){YoastSEO.app.refresh()})}).catch(function(t){if(403!=t.status){var n=(0,a.makeOutboundLink)(),r=(0,o.default)({mixedString:(0,i.sprintf)((0,i.__)("You haven’t activated your %s subscription yet! This means you are {{bold}}missing out on features you paid for{{/bold}}, so {{link}}activate your subscription now{{/link}}!","wordpress-seo-premium"),"Yoast SEO Premium"),components:{bold:wp.element.createElement("b",null),link:wp.element.createElement(n,{href:wpseoAdminL10n["shortlinks.activate_premium_info"]})}});e._setError(r)}})}},{key:"retrieveData",value:function(e,t,n){return new Promise(function(r,o){jQuery.ajax({type:"GET",url:e,data:{plugin_version:n,site:t},dataType:"json",success:function(e){r(e)},error:function(e){o(e)}})})}}]),e}();t.default=f},function(e){e.exports={name:"wordpress-seo-premium",description:"Development files for the Yoast SEO Premium plugin",plugin:{glotpress:"http://translate.yoast.com",slug:"wordpress-seo-premium",textdomain:"wordpress-seo-premium"},pot:{reportmsgidbugsto:"https://github.com/yoast/wordpress-seo-premium/issues",languageteam:"Yoast Translate <translations@yoast.com>",lasttranslator:"Yoast Translate Team <translations@yoast.com>"},repository:{type:"git",url:"https://github.com/Yoast/wordpress-seo-premium"},scripts:{build:"NODE_ENV=production webpack --config ./webpack/webpack.config.dev.js --progress --display-error-details",start:"webpack-dev-server --config ./webpack/webpack.config.dev.js --progress --env.environment=development --port=8081","i18n-wordpress-seo-premium":"NODE_ENV=production babel assets/js/src --plugins=@wordpress/babel-plugin-makepot > /dev/null"},devDependencies:{"@wordpress/babel-plugin-makepot":"^2.0.1","babel-cli":"^6.26.0","babel-core":"^6.13.2","babel-preset-es2015":"^6.13.2","babel-preset-react":"^6.11.1","case-sensitive-paths-webpack-plugin":"^2.1.2",envify:"^3.4.1",eslint:"^3.3.1","eslint-config-yoast":"^5.0.1","eslint-plugin-jsx-a11y":"^6.1.1","eslint-plugin-react":"^7.11.1","eslint-plugin-yoast":"^1.0.1",grunt:">=0.4.0","grunt-autoprefixer":"^1.0.1","grunt-checktextdomain":"^0.1.1","grunt-contrib-clean":"~0.6.0","grunt-contrib-compress":"^1.4.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-cssmin":"^0.10.0","grunt-contrib-uglify":"^0.6.0","grunt-contrib-watch":"^0.6.1","grunt-eslint":"^21.0.0","grunt-glotpress":"https://github.com/Yoast/grunt-glotpress","grunt-jsbeautifier":"~0.2.7","grunt-phpcs":"^0.2.2","grunt-phplint":"0.0.5","grunt-po2json":"^0.3.0","grunt-replace":"^0.8.0","grunt-sass":"^2.0.0","grunt-shell":"^1.1.2","grunt-webpack":"^3.1.3","grunt-wp-css":"cedaro/grunt-wp-css#develop","grunt-wp-i18n":"1.0.0",jest:"^18.1.0","load-grunt-config":"^0.16.0","time-grunt":"^1.0.0",webpack:"^4.20.2","webpack-cli":"^3.1.2","webpack-dev-server":"^3.1.14"},dependencies:{"a11y-speak":"github:yoast/a11y-speak","babel-loader":"^7.1.5","babel-plugin-dynamic-import-webpack":"^1.1.0","babel-polyfill":"^6.16.0","concat-map":"^0.0.1","interpolate-components":"^1.1.0",lodash:"^4.7.0","react-redux":"^5.0.6",redux:"^3.7.2","redux-thunk":"^2.2.0",sassdash:"^0.9.0","yoast-social-previews":"git+ssh://git@github.com/Yoast/yoast-social-previews#1.4.3"},yoast:{pluginVersion:"11.5"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(755)),o=i(n(176));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return!(0,r.default)(window.wp)&&!(0,r.default)(wp.data)&&!(0,r.default)(wp.data.select("core/edit-post"))&&!(0,r.default)(wp.data.select("core/editor"))&&(0,o.default)(wp.data.select("core/editor").getEditedPostAttribute)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setTextdomainL10n=i,t.setYoastComponentsL10n=function(){i("yoast-components")},t.setWordPressSeoL10n=function(){i("wordpress-seo")};var r=n(8),o=function(e){return e&&e.__esModule?e:{default:e}}(n(153));function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=(0,o.default)(window,[t,e,"locale_data",e],!1);!1===n?(0,r.setLocaleData)({"":{}},e):(0,r.setLocaleData)(n,e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});r(n(0));function r(e){return e&&e.__esModule?e:{default:e}}var o=(0,r(n(756)).default)(function(e){var t=e.children;return wp.element.createElement("div",null,t)});t.default=o},function(e,t,n){"use strict";var r=n(872),o=n(873),i=n(874);e.exports=function(){function e(e,t,n,r,a,s){s!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,i,a,s,u){if(r(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,o,i,a,s,u],f=0;(c=new Error(t.replace(/%s/g,function(){return l[f++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(720),o=c(n(876)),i=n(175),a=c(n(877)),s=c(n(884)),u=c(n(885));function c(e){return e&&e.__esModule?e:{default:e}}t.default=(0,r.combineReducers)({relatedKeywords:a.default,synonyms:s.default,linkSuggestions:o.default,metaboxWarning:u.default,insights:i.insightsReducer})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(753),o={suggestions:[],isLoading:!1,showUnindexedWarning:!1};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case r.LOAD_LINK_SUGGESTIONS:return Object.assign({},e,{isLoading:!0});case r.SET_LINK_SUGGESTIONS:return Object.assign({},e,{suggestions:t.linkSuggestions||[],isLoading:!1,showUnindexedWarning:t.showUnindexedWarning});default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];return{availableKeys:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,t=arguments[1],n=void 0;switch(t.type){case c.SET_RELATED_KEYWORDS:return n=d.length-t.keywords.length,(0,i.default)(e,n);case c.ADD_RELATED_KEYWORD:return(0,o.default)(e);case c.REMOVE_RELATED_KEYWORD:return[t.key].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e))}return e}(e.availableKeys,t),keywords:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,t=arguments[1],n=arguments[2];switch(t.type){case c.SET_RELATED_KEYWORDS:return(0,u.default)(t.keywords.map(function(e,t){var n=d[t];return[n,r({},e,{key:n})]}));case c.ADD_RELATED_KEYWORD:return r({},e,f({},n,{key:n,keyword:t.keyword}));case c.REMOVE_RELATED_KEYWORD:return(0,s.default)(e,function(e){return e.key!==t.key});case c.CHANGE_RELATED_KEYWORD:return r({},e,f({},t.key,r({},e[t.key],{keyword:t.keyword})));case c.SET_RELATED_KEYWORD_RESULTS:return r({},e,f({},t.key,r({},e[t.key],{results:t.results,score:t.score})));case c.SET_RELATED_KEYWORD_SYNONYMS:return r({},e,f({},t.key,r({},e[t.key],{synonyms:t.synonyms})))}return e}(e.keywords,t,(0,a.default)(e.availableKeys))}};var o=l(n(878)),i=l(n(879)),a=l(n(758)),s=l(n(880)),u=l(n(883)),c=n(332);function l(e){return e&&e.__esModule?e:{default:e}}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p={},d=["a","b","c","d"]},function(e,t,n){var r=n(757);e.exports=function(e){var t=null==e?0:e.length;return t?r(e,1,t):[]}},function(e,t,n){var r=n(757),o=n(322);e.exports=function(e,t,n){var i=null==e?0:e.length;return i?(t=n||void 0===t?1:o(t),r(e,(t=i-t)<0?0:t,i)):[]}},function(e,t,n){var r=n(119),o=n(320),i=n(881),a=n(360);e.exports=function(e,t){if(null==e)return{};var n=r(a(e),function(e){return[e]});return t=o(t),i(e,n,function(e,n){return t(e,n[0])})}},function(e,t,n){var r=n(172),o=n(882),i=n(121);e.exports=function(e,t,n){for(var a=-1,s=t.length,u={};++a<s;){var c=t[a],l=r(e,c);n(l,c)&&o(u,i(c,e),l)}return u}},function(e,t,n){var r=n(324),o=n(121),i=n(104),a=n(32),s=n(77);e.exports=function(e,t,n,u){if(!a(e))return e;for(var c=-1,l=(t=o(t,e)).length,f=l-1,p=e;null!=p&&++c<l;){var d=s(t[c]),h=n;if(c!=f){var y=p[d];void 0===(h=u?u(y,d,p):void 0)&&(h=a(y)?y:i(t[c+1])?[]:{})}r(p,d,h),p=p[d]}return e}},function(e,t){e.exports=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments[1];if(t.type===r.SET_SYNONYMS)return t.synonyms;return e};var r=n(719)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(759),o={isLoading:!1,warning:[]};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case r.LOAD_MORPHOLOGY_DATA:return Object.assign({},e,{isLoading:!0});case r.LOAD_MORPHOLOGY_DATA_ERROR:return Object.assign({},e,{isLoading:!1,warning:t.message});default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(332);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var o=n(719);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(888);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var o=n(889);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getKeywordData=function(e,t){return(0,r.default)(e,["relatedKeywords","keywords",t],{keyword:"",analysis:[],score:0,synonyms:""})},t.getKeywords=function(e){return Object.values((0,r.default)(e,["relatedKeywords","keywords"],{}))},t.getFirstAvailableKey=function(e){return(0,o.default)((0,r.default)(e,["relatedKeywords","availableKeys"],[]))||""};var r=i(n(234)),o=i(n(758));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSynonyms=function(e){return(0,r.default)(e,["synonyms"],"")};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(234))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(315),o=n(334),i=function(e){return e&&e.__esModule?e:{default:e}}(n(891));t.default=(0,o.compose)([(0,r.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getActiveMarker,r=t.getMarkButtonStatus,o=e("yoast-seo-premium/editor"),i=o.getKeywords,a=o.getFirstAvailableKey;return{relatedKeywords:i(),firstAvailableKey:a(),activeMarker:n(),marksButtonStatus:r()}}),(0,r.withDispatch)(function(e){return{setActiveMarker:e("yoast-seo/editor").setActiveMarker}})])(i.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;i(n(0));var r=i(n(35)),o=i(n(892));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.relatedKeywords,n=e.firstAvailableKey,r=e.marksButtonStatus,i=t.length<4,a=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t));return i&&a.push({key:n,isAddKeyword:!0}),wp.element.createElement("div",null,a.map(function(e){var t=e.isAddKeyword||!1;return wp.element.createElement(o.default,{key:e.key,keywordKey:e.key,isAddKeyword:t,marksButtonStatus:r})}))}a.propTypes={relatedKeywords:r.default.array.isRequired,firstAvailableKey:r.default.string.isRequired,marksButtonStatus:r.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(893)),o=n(315),i=n(334);t.default=(0,i.compose)([(0,o.withSelect)(function(e,t){var n=t.keywordKey,r=e("yoast-seo-premium/editor").getKeywordData;return{keyword:r(n).keyword,analysis:r(n).results,score:r(n).score,synonyms:r(n).synonyms}}),(0,o.withDispatch)(function(e,t){var n=t.isAddKeyword,r=t.keywordKey,o=e("yoast-seo/editor").setMarkerPauseStatus,i=e("yoast-seo-premium/editor"),a=i.addRelatedKeyword,s=i.changeRelatedKeyword,u=i.setRelatedKeywordSynonyms,c=i.removeRelatedKeyword;return{onChange:function(e){n?a(e):s(r,e)},onFocusKeyword:function(){o(!0)},onRemoveKeyword:function(){c(r)},onBlurKeyword:function(e){o(!1),""===e.target.value&&c(r)},onChangeSynonyms:function(e){var t=e.target.value;u(r,t)},onFocusSynonym:function(){o(!0)},onBlurSynonym:function(){o(!1)}}})])(r.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var r=n(14),o=n(8),i=v(n(894)),a=v(n(35)),s=(v(n(0)),v(n(4))),u=n(175),c=n(5),l=n(11),f=v(n(760)),p=v(n(761)),d=n(762),h=v(n(895)),y=n(765),g=v(n(752));function v(e){return e&&e.__esModule?e:{default:e}}var m=s.default.strong.withConfig({displayName:"RelatedKeyword__AnalysisLabel",componentId:"sc-1eiqoq9-0"})(["font-size:1em;font-weight:bold;margin-bottom:0.5em;display:block;"]);function b(e){var t=e.keyword,n=e.onChange,i=e.analysis,a=e.score,s=e.isAddKeyword,v=e.synonyms,b=e.onChangeSynonyms,_=e.onFocusKeyword,w=e.onBlurKeyword,S=e.onFocusSynonym,E=e.onBlurSynonym,x=e.onRemoveKeyword,O=e.marksButtonStatus,k=e.keywordKey,C=(0,f.default)(a),P=(0,o.__)("Related keyphrase","wordpress-seo-premium"),T=t,j=(0,d.getIconForScore)(C.className);s&&(P=(0,o.__)("Add related keyphrase","wordpress-seo"),T="",j={icon:"plus",color:l.colors.$color_grey_medium_dark}),""===t&&(C.className="na",C.screenReaderReadabilityText=(0,o.__)("Enter a related keyphrase to calculate the SEO score","wordpress-seo"));var R=wp.element.createElement(p.default,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,o.__)("Help on choosing the perfect keyphrase","wordpress-seo"))),M=wp.element.createElement(p.default,{href:wpseoAdminL10n["shortlinks.keyword_synonyms_info"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,o.__)("Help on keyphrase synonyms","wordpress-seo-premium")));return wp.element.createElement(y.LocationConsumer,null,function(e){return wp.element.createElement(g.default,{title:P,subTitle:T,prefixIcon:j,prefixIconCollapsed:j,id:"yoast-additional-keyphrase-collapsible-"+k+"-"+e},wp.element.createElement(u.KeywordInput,{id:s?"yoast-keyword-input-add-"+e:"yoast-keyword-input-"+k+"-"+e,keyword:t,onChange:n,onFocusKeyword:_,onRemoveKeyword:s?null:x,onBlurKeyword:w,label:(0,o.__)("Keyphrase","wordpress-seo-premium"),helpLink:R}),!s&&wp.element.createElement(r.Fragment,null,wp.element.createElement(c.SynonymsInput,{id:"yoast-synonyms-input-"+k+"-"+e,showLabel:!0,label:(0,o.__)("Synonyms","wordpress-seo-premium"),onChange:b,onBlur:E,onFocus:S,value:v,helpLink:M}),wp.element.createElement(m,null,(0,o.__)("Analysis results","wordpress-seo-premium")),wp.element.createElement(h.default,{showLanguageNotice:!1,marksButtonStatus:O,results:i,keywordKey:k})))})}b.propTypes={keyword:a.default.string.isRequired,onChange:a.default.func.isRequired,synonyms:a.default.string,onChangeSynonyms:a.default.func,onRemoveKeyword:a.default.func.isRequired,onFocusKeyword:a.default.func.isRequired,onBlurKeyword:a.default.func.isRequired,onBlurSynonym:a.default.func.isRequired,onFocusSynonym:a.default.func.isRequired,analysis:a.default.array,isAddKeyword:a.default.bool,score:a.default.number,marksButtonStatus:a.default.string,keywordKey:a.default.string.isRequired},b.defaultProps={synonyms:"",onChangeSynonyms:i.default,analysis:[],isAddKeyword:!1,score:0,marksButtonStatus:"enabled"}},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=d(n(0)),i=d(n(52)),a=n(5),s=n(896),u=n(14),c=n(334),l=n(315),f=n(42),p=d(n(762));function d(e){return e&&e.__esModule?e:{default:e}}var h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=n.props.results;return n.state={mappedResults:{}},null!==r&&(n.state={mappedResults:(0,p.default)(r,n.props.keywordKey)}),n.handleMarkButtonClick=n.handleMarkButtonClick.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.Component),r(t,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:(0,p.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?this.props.keywordKey+":"+e:e;n===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(n),t())}},{key:"removeMarkers",value:function(){window.YoastSEO.analysis.applyMarks(new f.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,o=e.considerationsResults,i=e.problemsResults;return wp.element.createElement(u.Fragment,null,wp.element.createElement(a.LanguageNotice,{changeLanguageLink:this.props.changeLanguageLink,language:this.props.language,showLanguageNotice:this.props.showLanguageNotice,canChangeLanguage:this.props.canChangeLanguage}),wp.element.createElement(s.ContentAnalysis,{errorsResults:t,problemsResults:i,improvementsResults:n,considerationsResults:o,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),t}();h.propTypes={results:i.default.array,language:i.default.string,changeLanguageLink:i.default.string,showLanguageNotice:i.default.bool.isRequired,canChangeLanguage:i.default.bool,marksButtonClassName:i.default.string,marksButtonStatus:i.default.string,setActiveMarker:i.default.func.isRequired,setMarkerPauseStatus:i.default.func.isRequired,activeMarker:i.default.string,keywordKey:i.default.string},h.defaultProps={results:null,language:"",changeLanguageLink:"#",canChangeLanguage:!1,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""},t.default=(0,c.compose)([(0,l.withSelect)(function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}}),(0,l.withDispatch)(function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}})])(h)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SiteSEOReport=t.renderRatingToColor=t.AnalysisList=t.AnalysisResult=t.ContentAnalysis=void 0;var r=n(763),o=u(r),i=u(n(899)),a=u(n(764)),s=u(n(900));function u(e){return e&&e.__esModule?e:{default:e}}t.ContentAnalysis=i.default,t.AnalysisResult=a.default,t.AnalysisList=o.default,t.renderRatingToColor=r.renderRatingToColor,t.SiteSEOReport=s.default},function(e,t,n){"use strict";var r=n(898);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=f(n(0)),i=f(n(4)),a=f(n(333)),s=n(8),u=n(11),c=n(5),l=f(n(763));function f(e){return e&&e.__esModule?e:{default:e}}var p=i.default.div.withConfig({displayName:"ContentAnalysis__ContentAnalysisContainer",componentId:"sc-14uwo9d-0"})(["width:100%;background-color:white;border-bottom:1px solid transparent;"]),d=(0,i.default)(c.Collapsible).withConfig({displayName:"ContentAnalysis__StyledCollapsible",componentId:"sc-14uwo9d-1"})(["margin-bottom:8px;button:first-child svg{margin:-2px 8px 0 -2px;}","{padding:8px 0;color:","}"],c.StyledIconsButton,u.colors.$color_blue),h=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.Component),r(t,[{key:"renderCollapsible",value:function(e,t,n){return o.default.createElement(d,{initialIsOpen:!0,title:e+" ("+n.length+")",prefixIcon:{icon:"angle-up",color:u.colors.$color_grey_dark,size:"18px"},prefixIconCollapsed:{icon:"angle-down",color:u.colors.$color_grey_dark,size:"18px"},suffixIcon:null,suffixIconCollapsed:null,headingProps:{level:t,fontSize:"13px",fontWeight:"bold"}},o.default.createElement(l.default,{results:n,marksButtonActivatedResult:this.props.activeMarker,marksButtonStatus:this.props.marksButtonStatus,marksButtonClassName:this.props.marksButtonClassName,onMarksButtonClick:this.props.onMarkButtonClick}))}},{key:"render",value:function(){var e=this.props,t=e.problemsResults,n=e.improvementsResults,r=e.goodResults,i=e.considerationsResults,a=e.errorsResults,u=e.headingLevel,c=a.length,l=t.length,f=n.length,d=i.length,h=r.length;return o.default.createElement(p,null,c>0&&this.renderCollapsible((0,s.__)("Errors","yoast-components"),u,a),l>0&&this.renderCollapsible((0,s.__)("Problems","yoast-components"),u,t),f>0&&this.renderCollapsible((0,s.__)("Improvements","yoast-components"),u,n),d>0&&this.renderCollapsible((0,s.__)("Considerations","yoast-components"),u,i),h>0&&this.renderCollapsible((0,s.__)("Good results","yoast-components"),u,r))}}]),t}();h.propTypes={onMarkButtonClick:a.default.func,problemsResults:a.default.array,improvementsResults:a.default.array,goodResults:a.default.array,considerationsResults:a.default.array,errorsResults:a.default.array,headingLevel:a.default.number,marksButtonStatus:a.default.string,marksButtonClassName:a.default.string,activeMarker:a.default.string},h.defaultProps={onMarkButtonClick:function(){},problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[],errorsResults:[],headingLevel:4,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:""},t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(0)),o=s(n(333)),i=s(n(4)),a=n(5);function s(e){return e&&e.__esModule?e:{default:e}}var u=i.default.div.withConfig({displayName:"SiteSEOReport__SiteSEOReportContainer",componentId:"sc-1bcug4t-0"})([""]),c=i.default.p.withConfig({displayName:"SiteSEOReport__SiteSEOReportText",componentId:"sc-1bcug4t-1"})(["font-size:14px;"]),l=function(e){return r.default.createElement(u,{className:e.className},r.default.createElement(c,{className:e.className+"__text"},e.seoAssessmentText),r.default.createElement(a.StackedProgressBar,{className:"progress",items:e.seoAssessmentItems,barHeight:e.barHeight}),r.default.createElement(a.ScoreAssessments,{className:"assessments",items:e.seoAssessmentItems}))};l.propTypes={className:o.default.string,seoAssessmentText:o.default.string,seoAssessmentItems:o.default.arrayOf(o.default.shape({html:o.default.string.isRequired,value:o.default.number.isRequired,color:o.default.string.isRequired})),barHeight:o.default.string},l.defaultProps={className:"seo-assessment",seoAssessmentText:"SEO Assessment",seoAssessmentItems:null,barHeight:"24px"},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(e){return e&&e.__esModule?e:{default:e}}(n(760));var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.previous={relatedKeywords:[]};var t="undefined"==typeof wpseoTermScraperL10n?"yoast_wpseo":"hidden_wpseo";this._relatedKeywordsField=document.getElementById(t+"_focuskeywords"),this._synonymsField=document.getElementById(t+"_keywordsynonyms")}return r(e,[{key:"persist",value:function(e){this.persistRelatedKeywords(e),this.persistSynonyms(e),this.saveCurrentValues(e)}},{key:"saveCurrentValues",value:function(e){this.previous.relatedKeywords=e.relatedKeywords.keywords}},{key:"persistRelatedKeywords",value:function(e){this.previous.relatedKeywords!==e.relatedKeywords.keywords&&(this._relatedKeywordsField.value=JSON.stringify(Object.values(e.relatedKeywords.keywords).map(function(e){return{keyword:e.keyword,score:(0,o.default)(e.score).className}})),this.previous.relatedKeywords=e.relatedKeywords.keywords)}},{key:"persistSynonyms",value:function(e){if(this.previous.relatedKeywords!==e.relatedKeywords.keywords||this.previous.synonyms!==e.synonyms){var t=e.synonyms;this._synonymsField.value=JSON.stringify([t].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(Object.values(e.relatedKeywords.keywords).map(function(e){return e.synonyms||""}))))}}}]),e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(42),i=p(n(355)),a=p(n(330)),s=p(n(179)),u=p(n(754)),c=n(903),l=n(904),f=n(332);function p(e){return e&&e.__esModule?e:{default:e}}var d=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.analyze=(0,i.default)(this.analyze,c.refreshDelay)}return r(e,[{key:"analyze",value:function(t,n){var r=e.getAnalysis(),i=r.worker,s=r.collectData,u=r.applyMarks,c=s(),p=o.Paper.parse(c),d=e.getRelevantData(t);i.analyzeRelatedKeywords(c,d).then(function(e){var t=e.result.seo;t&&(0,a.default)(t,function(e,t){var r=e.results,o=e.score;""!==t&&void 0!==d[t]&&void 0!==d[t].keyword&&(r=(0,l.sortResultsByIdentifier)(r),(0,a.default)(r,function(e){e.getMarker=function(){return function(){return u(p,e.marks)}}}),n((0,f.setRelatedKeywordResults)(t,r,o)))})}).catch(function(e){return console.warn(e)})}}],[{key:"getAnalysis",value:function(){return YoastSEO.analysis}},{key:"getRelevantData",value:function(e){var t={};return(0,a.default)(e.relatedKeywords.keywords,function(e,n){var r=e.keyword,o=e.synonyms;(0,u.default)(o)||(o=""),t[n]={keyword:r,synonyms:o}}),t}},{key:"shouldAnalyze",value:function(e,t){return!(0,s.default)(e,t)}}]),e}();t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.refreshDelay=500},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sortResultsByIdentifier=s,t.default=function(e,t,n,u,c){var l=t();if(!a)return;e.analyze(l).then(function(e){var t=e.result,i=t.seo,a=t.readability;if(i){var f=i[""];f.results.forEach(function(e){e.getMarker=function(){return function(){return n(l,e.marks)}}}),f.results=s(f.results),u.dispatch((0,r.setSeoResultsForKeyword)(l.getKeyword(),f.results)),u.dispatch((0,r.setOverallSeoScore)(f.score,l.getKeyword())),u.dispatch((0,o.refreshSnippetEditor)()),c.saveScores(f.score,l.getKeyword())}a&&(a.results.forEach(function(e){e.getMarker=function(){return function(){return n(l,e.marks)}}}),a.results=s(a.results),u.dispatch((0,r.setReadabilityResults)(a.results)),u.dispatch((0,r.setOverallReadabilityScore)(a.score)),u.dispatch((0,o.refreshSnippetEditor)()),c.saveContentScore(a.score))}).catch(i.default)},t.initializationDone=function(){a=!0};var r=n(110),o=n(905),i=function(e){return e&&e.__esModule?e:{default:e}}(n(906));var a=!1;function s(e){return e.sort(function(e,t){return e._identifier.localeCompare(t._identifier)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UPDATE_WORDS_TO_HIGHLIGHT=t.REFRESH=t.REMOVE_REPLACEMENT_VARIABLE=t.UPDATE_REPLACEMENT_VARIABLE=t.UPDATE_DATA=t.SWITCH_MODE=void 0,t.switchMode=function(e){return{type:o,mode:e}},t.updateData=function(e){return{type:i,data:e}},t.updateReplacementVariable=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="string"==typeof t?(0,r.decodeHTML)(t):t;return{type:a,name:e,value:o,label:n}},t.updateWordsToHighlight=function(e){return{type:c,wordsToHighlight:e}},t.removeReplacementVariable=function(e){return{type:s,name:e}},t.refreshSnippetEditor=function(){return{type:u,time:(new Date).getMilliseconds()}};var r=n(23),o=t.SWITCH_MODE="SNIPPET_EDITOR_SWITCH_MODE",i=t.UPDATE_DATA="SNIPPET_EDITOR_UPDATE_DATA",a=t.UPDATE_REPLACEMENT_VARIABLE="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",s=t.REMOVE_REPLACEMENT_VARIABLE="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",u=t.REFRESH="SNIPPET_EDITOR_REFRESH",c=t.UPDATE_WORDS_TO_HIGHLIGHT="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(52)),o=n(910),i=n(4),a=n(765);var s=function(e){var t=e.store,n=e.theme,r=e.location,s=e.children;return wp.element.createElement(a.LocationProvider,{value:r},wp.element.createElement(i.ThemeProvider,{theme:n},wp.element.createElement(o.Provider,{store:t},s)))};s.propTypes={store:r.default.object.isRequired,theme:r.default.object.isRequired,location:r.default.oneOf(["sidebar","metabox"]).isRequired,children:r.default.element.isRequired},t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,o.default)();return(0,r.default)(e,"contentLocale","en_US")};var r=i(n(153)),o=i(n(319));function i(e){return e&&e.__esModule?e:{default:e}}},,function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(52),i=n.n(o),a=i.a.shape({trySubscribe:i.a.func.isRequired,tryUnsubscribe:i.a.func.isRequired,notifyNestedSubs:i.a.func.isRequired,isSubscribed:i.a.func.isRequired}),s=i.a.shape({subscribe:i.a.func.isRequired,dispatch:i.a.func.isRequired,getState:i.a.func.isRequired});function u(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"store",n=arguments[1]||t+"Subscription",o=function(e){function o(n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n,r));return i[t]=n.store,i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,e),o.prototype.getChildContext=function(){var e;return(e={})[t]=this[t],e[n]=null,e},o.prototype.render=function(){return r.Children.only(this.props.children)},o}(r.Component);return o.propTypes={store:s.isRequired,children:i.a.element.isRequired},o.childContextTypes=((e={})[t]=s.isRequired,e[n]=a,e),o}var c=u(),l=n(768),f=n.n(l),p=n(338),d=n.n(p);var h=null,y={notify:function(){}};var g=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.store=t,this.parentSub=n,this.onStateChange=r,this.unsubscribe=null,this.listeners=y}return e.prototype.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},e.prototype.notifyNestedSubs=function(){this.listeners.notify()},e.prototype.isSubscribed=function(){return Boolean(this.unsubscribe)},e.prototype.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=function(){var e=[],t=[];return{clear:function(){t=h,e=h},notify:function(){for(var n=e=t,r=0;r<n.length;r++)n[r]()},get:function(){return t},subscribe:function(n){var r=!0;return t===e&&(t=e.slice()),t.push(n),function(){r&&e!==h&&(r=!1,t===e&&(t=e.slice()),t.splice(t.indexOf(n),1))}}}}())},e.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=y)},e}(),v=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};var m=0,b={};function _(){}function w(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o.getDisplayName,u=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,c=o.methodName,l=void 0===c?"connectAdvanced":c,p=o.renderCountProp,h=void 0===p?void 0:p,y=o.shouldHandleStateChanges,w=void 0===y||y,S=o.storeKey,E=void 0===S?"store":S,x=o.withRef,O=void 0!==x&&x,k=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),C=E+"Subscription",P=m++,T=((t={})[E]=s,t[C]=a,t),j=((n={})[C]=a,n);return function(t){d()("function"==typeof t,"You must pass a component to the function returned by connect. Instead received "+JSON.stringify(t));var n=t.displayName||t.name||"Component",o=u(n),i=v({},k,{getDisplayName:u,methodName:l,renderCountProp:h,shouldHandleStateChanges:w,storeKey:E,withRef:O,displayName:o,wrappedComponentName:n,WrappedComponent:t}),a=function(n){function a(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,n.call(this,e,t));return r.version=P,r.state={},r.renderCount=0,r.store=e[E]||t[E],r.propsMode=Boolean(e[E]),r.setWrappedInstance=r.setWrappedInstance.bind(r),d()(r.store,'Could not find "'+E+'" in either the context or props of "'+o+'". Either wrap the root component in a <Provider>, or explicitly pass "'+E+'" as a prop to "'+o+'".'),r.initSelector(),r.initSubscription(),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,n),a.prototype.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return(e={})[C]=t||this.context[C],e},a.prototype.componentDidMount=function(){w&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},a.prototype.componentWillReceiveProps=function(e){this.selector.run(e)},a.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},a.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=_,this.store=null,this.selector.run=_,this.selector.shouldComponentUpdate=!1},a.prototype.getWrappedInstance=function(){return d()(O,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+l+"() call."),this.wrappedInstance},a.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},a.prototype.initSelector=function(){var t=e(this.store.dispatch,i);this.selector=function(e,t){var n={run:function(r){try{var o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}(t,this.store),this.selector.run(this.props)},a.prototype.initSubscription=function(){if(w){var e=(this.propsMode?this.props:this.context)[C];this.subscription=new g(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},a.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(b)):this.notifyNestedSubs()},a.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},a.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},a.prototype.addExtraProps=function(e){if(!(O||h||this.propsMode&&this.subscription))return e;var t=v({},e);return O&&(t.ref=this.setWrappedInstance),h&&(t[h]=this.renderCount++),this.propsMode&&this.subscription&&(t[C]=this.subscription),t},a.prototype.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return Object(r.createElement)(t,this.addExtraProps(e.props))},a}(r.Component);return a.WrappedComponent=t,a.displayName=o,a.childContextTypes=j,a.contextTypes=T,a.propTypes=T,f()(a,t)}}var S=Object.prototype.hasOwnProperty;function E(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function x(e,t){if(E(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!S.call(t,n[o])||!E(e[n[o]],t[n[o]]))return!1;return!0}var O=n(163);n(73);function k(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function C(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function P(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=C(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=C(o),o=r(t,n)),o},r}}var T=[function(e){return"function"==typeof e?P(e):void 0},function(e){return e?void 0:k(function(e){return{dispatch:e}})},function(e){return e&&"object"==typeof e?k(function(t){return Object(O.bindActionCreators)(e,t)}):void 0}];var j=[function(e){return"function"==typeof e?P(e):void 0},function(e){return e?void 0:k(function(){return{}})}],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};function M(e,t,n){return R({},n,e,t)}var A=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r=n.pure,o=n.areMergedPropsEqual,i=!1,a=void 0;return function(t,n,s){var u=e(t,n,s);return i?r&&o(u,a)||(a=u):(i=!0,a=u),a}}}(e):void 0},function(e){return e?void 0:function(){return M}}];function I(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function D(e,t,n,r,o){var i=o.areStatesEqual,a=o.areOwnPropsEqual,s=o.areStatePropsEqual,u=!1,c=void 0,l=void 0,f=void 0,p=void 0,d=void 0;function h(o,u){var h=!a(u,l),y=!i(o,c);return c=o,l=u,h&&y?(f=e(c,l),t.dependsOnOwnProps&&(p=t(r,l)),d=n(f,p,l)):h?(e.dependsOnOwnProps&&(f=e(c,l)),t.dependsOnOwnProps&&(p=t(r,l)),d=n(f,p,l)):y?function(){var t=e(c,l),r=!s(t,f);return f=t,r&&(d=n(f,p,l)),d}():d}return function(o,i){return u?h(o,i):function(o,i){return f=e(c=o,l=i),p=t(r,l),d=n(f,p,l),u=!0,d}(o,i)}}function L(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,i),s=r(e,i),u=o(e,i);return(i.pure?D:I)(a,s,u,e,i)}var N=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};function B(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function K(e,t){return e===t}var F=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.connectHOC,n=void 0===t?w:t,r=e.mapStateToPropsFactories,o=void 0===r?j:r,i=e.mapDispatchToPropsFactories,a=void 0===i?T:i,s=e.mergePropsFactories,u=void 0===s?A:s,c=e.selectorFactory,l=void 0===c?L:c;return function(e,t,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=i.pure,c=void 0===s||s,f=i.areStatesEqual,p=void 0===f?K:f,d=i.areOwnPropsEqual,h=void 0===d?x:d,y=i.areStatePropsEqual,g=void 0===y?x:y,v=i.areMergedPropsEqual,m=void 0===v?x:v,b=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(i,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),_=B(e,o,"mapStateToProps"),w=B(t,a,"mapDispatchToProps"),S=B(r,u,"mergeProps");return n(l,N({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:_,initMapDispatchToProps:w,initMergeProps:S,pure:c,areStatesEqual:p,areOwnPropsEqual:h,areStatePropsEqual:g,areMergedPropsEqual:m},b))}}();n.d(t,"Provider",function(){return c}),n.d(t,"createProvider",function(){return u}),n.d(t,"connectAdvanced",function(){return w}),n.d(t,"connect",function(){return F})}],[[847,0]]]);
[+]
..
[-] wp-seo-premium-redirect-notifications-gutenberg-1150.min.js
[edit]
[-] commons-premium-840.min.js
[edit]
[-] commons-premium-1150.min.js
[edit]
[-] yoast-premium-social-preview-1150.min.js
[edit]
[-] yoast-premium-gsc-840.min.js
[edit]
[-] wp-seo-premium-admin-redirects-840.min.js
[edit]
[-] yoast-premium-site-wide-analysis-840.min.js
[edit]
[-] wpseo-premium-contact-support-1150.min.js
[edit]
[-] wp-seo-premium-quickedit-notification-1150.min.js
[edit]
[-] wp-seo-premium-custom-fields-plugin-1150.min.js
[edit]
[-] wp-seo-premium-custom-fields-plugin-840.min.js
[edit]
[-] wp-seo-premium-redirect-notifications-1150.min.js
[edit]
[-] wp-seo-premium-metabox-1150.min.js
[edit]
[-] wp-seo-premium-quickedit-notification-840.min.js
[edit]
[-] wpseo-premium-contact-support-840.min.js
[edit]
[-] yoast-premium-social-preview-840.min.js
[edit]
[-] wp-seo-premium-redirect-notifications-840.min.js
[edit]
[-] yoast-premium-site-wide-analysis-1150.min.js
[edit]
[-] wp-seo-premium-admin-redirects-1150.min.js
[edit]
[-] wp-seo-premium-metabox-840.min.js
[edit]
[-] yoast-premium-gsc-1150.min.js
[edit]