Your IP : 216.73.216.162


Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/
Upload File :
Current File : /home/x/b/o/xbodynamge/namtation/wp-content/externals.tar

socialMetadataForms.js000066600000022027151123775150011042 0ustar00window.yoast=window.yoast||{},window.yoast.socialMetadataForms=function(e){var t={};function i(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)i.d(n,o,function(t){return e[t]}.bind(null,o));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=497)}({0:function(e,t){e.exports=window.yoast.propTypes},1:function(e,t){e.exports=window.wp.element},16:function(e,t){e.exports=window.yoast.replacementVariableEditor},2:function(e,t){e.exports=window.lodash},22:function(e,t){e.exports=window.yoast.redux},3:function(e,t){e.exports=window.React},4:function(e,t){e.exports=window.wp.i18n},497:function(e,t,i){"use strict";i.r(t),i.d(t,"socialReducer",(function(){return T})),i.d(t,"SocialMetadataPreviewForm",(function(){return q})),i.d(t,"actions",(function(){return n})),i.d(t,"selectorsFactory",(function(){return S}));var n={};i.r(n),i.d(n,"SET_SOCIAL_TITLE",(function(){return o})),i.d(n,"SET_SOCIAL_DESCRIPTION",(function(){return r})),i.d(n,"SET_SOCIAL_IMAGE_URL",(function(){return a})),i.d(n,"SET_SOCIAL_IMAGE_TYPE",(function(){return c})),i.d(n,"SET_SOCIAL_IMAGE_ID",(function(){return s})),i.d(n,"SET_SOCIAL_IMAGE",(function(){return l})),i.d(n,"CLEAR_SOCIAL_IMAGE",(function(){return d})),i.d(n,"setSocialPreviewTitle",(function(){return u})),i.d(n,"setSocialPreviewDescription",(function(){return p})),i.d(n,"setSocialPreviewImageUrl",(function(){return m})),i.d(n,"setSocialPreviewImageType",(function(){return g})),i.d(n,"setSocialPreviewImageId",(function(){return f})),i.d(n,"setSocialPreviewImage",(function(){return b})),i.d(n,"clearSocialPreviewImage",(function(){return h}));const o="SET_SOCIAL_TITLE",r="SET_SOCIAL_DESCRIPTION",a="SET_SOCIAL_IMAGE_URL",c="SET_SOCIAL_IMAGE_TYPE",s="SET_SOCIAL_IMAGE_ID",l="SET_SOCIAL_IMAGE",d="CLEAR_SOCIAL_IMAGE",u=(e,t)=>({type:o,platform:t,title:e}),p=(e,t)=>({type:r,platform:t,description:e}),m=(e,t)=>({type:a,platform:t,imageUrl:e}),g=(e,t)=>({type:c,platform:t,imageType:e}),f=(e,t)=>({type:s,platform:t,imageId:e}),b=(e,t)=>({type:l,platform:t,image:e}),h=e=>({type:d,platform:e});var v=i(2),S=e=>{const t={getFacebookData:t=>Object(v.get)(t,e+".facebook",{}),getFacebookTitle:e=>t.getFacebookData(e).title,getFacebookDescription:e=>t.getFacebookData(e).description,getFacebookImageUrl:e=>t.getFacebookData(e).image.url,getFacebookImageType:e=>t.getFacebookData(e).image.type,getTwitterData:t=>Object(v.get)(t,e+".twitter",{}),getTwitterTitle:e=>t.getTwitterData(e).title,getTwitterDescription:e=>t.getTwitterData(e).description,getTwitterImageUrl:e=>t.getTwitterData(e).image.url,getTwitterImageType:e=>t.getTwitterData(e).image.type};return t},E=i(22);const I={title:"",description:"",warnings:[],image:{bytes:null,type:null,height:null,width:null,url:"",id:null,alt:""}};function w(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:I,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o:return{...e,title:t.title};case r:return{...e,description:t.description};case l:return{...e,image:{...t.image}};case a:return{...e,image:{...e.image,url:t.imageUrl}};case c:return{...e,image:{...e.image,type:t.imageType}};case s:return{...e,image:{...e.image,id:t.imageId}};case d:return{...e,image:{bytes:null,type:null,height:null,width:null,url:"",id:null,alt:""}};default:return e}}function y(e,t){return(i,n)=>{const{platform:o}=n;return void 0===i?I:o!==t?i:e(i,n)}}var T=Object(E.combineReducers)({facebook:y(w,"facebook"),twitter:y(w,"twitter")}),O=i(1),_=i(4),R=i(9),A=i(16),C=i(6),j=i(0),x=i.n(j),D=i(3),M=i(5),L=i.n(M),P=i(7);const k=e=>e?C.colors.$color_snippet_focus:C.colors.$color_snippet_hover,F=L.a.div`
	position: relative;`,V=L.a.div`
	display: ${e=>e.isActive||e.isHovered?"block":"none"};

	::before {
		position: absolute;
		top: -2px;
		${Object(R.getDirectionalStyle)("left","right")}: -25px;
		width: 24px;
		height: 24px;
		background-image: url(
		${e=>Object(R.getDirectionalStyle)(Object(C.angleRight)(k(e.isActive)),Object(C.angleLeft)(k(e.isActive)))}
		);
		color: ${e=>k(e.isActive)};
		background-size: 24px;
		background-repeat: no-repeat;
		background-position: center;
		content: "";
	}
`;V.propTypes={isActive:x.a.bool,isHovered:x.a.bool},V.defaultProps={isActive:!1,isHovered:!1};const H=(U=P.ImageSelect,function e(t){e.propTypes={isActive:x.a.bool.isRequired,isHovered:x.a.bool.isRequired};const{isActive:i,isHovered:n,...o}=t;return Object(O.createElement)(F,null,Object(O.createElement)(V,{isActive:i,isHovered:n}),Object(O.createElement)(U,o))});var U;class G extends D.Component{constructor(e){super(e),this.onImageEnter=e.onMouseHover.bind(this,"image"),this.onTitleEnter=e.onMouseHover.bind(this,"title"),this.onDescriptionEnter=e.onMouseHover.bind(this,"description"),this.onLeave=e.onMouseHover.bind(this,""),this.onImageSelectBlur=e.onSelect.bind(this,""),this.onSelectTitleEditor=this.onSelectEditor.bind(this,"title"),this.onSelectDescriptionEditor=this.onSelectEditor.bind(this,"description"),this.onDeselectEditor=this.onSelectEditor.bind(this,""),this.onTitleEditorRef=this.onSetEditorRef.bind(this,"title"),this.onDescriptionEditorRef=this.onSetEditorRef.bind(this,"description")}onSelectEditor(e){this.props.onSelect(e)}onSetEditorRef(e,t){this.props.setEditorRef(e,t)}render(){const{socialMediumName:e,onSelectImageClick:t,onRemoveImageClick:i,title:n,titleInputPlaceholder:o,description:r,descriptionInputPlaceholder:a,onTitleChange:c,onDescriptionChange:s,onReplacementVariableSearchChange:l,hoveredField:d,activeField:u,isPremium:p,replacementVariables:m,recommendedReplacementVariables:g,imageWarnings:f,imageUrl:b,imageAltText:h,idSuffix:v}=this.props,S=!!b,E=Object(_.sprintf)(Object(_.__)("%s image","wordpress-seo"),e),I=Object(_.sprintf)(Object(_.__)("%s title","wordpress-seo"),e),w=Object(_.sprintf)(Object(_.__)("%s description","wordpress-seo"),e),y=e.toLowerCase();return Object(O.createElement)(D.Fragment,null,Object(O.createElement)(H,{label:E,onClick:t,onRemoveImageClick:i,warnings:f,imageSelected:S,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave,isActive:"image"===u,isHovered:"image"===d,imageUrl:b,imageAltText:h,hasPreview:!p,imageUrlInputId:Object(R.join)([y,"url-input",v]),selectImageButtonId:Object(R.join)([y,"select-button",v]),replaceImageButtonId:Object(R.join)([y,"replace-button",v]),removeImageButtonId:Object(R.join)([y,"remove-button",v])}),Object(O.createElement)(A.ReplacementVariableEditor,{onChange:c,content:n,placeholder:o,replacementVariables:m,recommendedReplacementVariables:g,type:"title",fieldId:Object(R.join)([y,"title-input",v]),label:I,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onSearchChange:l,isActive:"title"===u,isHovered:"title"===d,withCaret:!0,onFocus:this.onSelectTitleEditor,onBlur:this.onDeselectEditor,editorRef:this.onTitleEditorRef}),Object(O.createElement)(A.ReplacementVariableEditor,{onChange:s,content:r,placeholder:a,replacementVariables:m,recommendedReplacementVariables:g,type:"description",fieldId:Object(R.join)([y,"description-input",v]),label:w,onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onSearchChange:l,isActive:"description"===u,isHovered:"description"===d,withCaret:!0,onFocus:this.onSelectDescriptionEditor,onBlur:this.onDeselectEditor,editorRef:this.onDescriptionEditorRef}))}}G.propTypes={socialMediumName:x.a.oneOf(["Twitter","Facebook"]).isRequired,onSelectImageClick:x.a.func.isRequired,onRemoveImageClick:x.a.func.isRequired,title:x.a.string.isRequired,description:x.a.string.isRequired,onTitleChange:x.a.func.isRequired,onDescriptionChange:x.a.func.isRequired,onReplacementVariableSearchChange:x.a.func,isPremium:x.a.bool,hoveredField:x.a.string,activeField:x.a.string,onSelect:x.a.func,replacementVariables:A.replacementVariablesShape,recommendedReplacementVariables:x.a.arrayOf(x.a.string),imageWarnings:x.a.array,imageUrl:x.a.string,imageAltText:x.a.string,titleInputPlaceholder:x.a.string,descriptionInputPlaceholder:x.a.string,setEditorRef:x.a.func,onMouseHover:x.a.func,idSuffix:x.a.string},G.defaultProps={replacementVariables:[],recommendedReplacementVariables:[],imageWarnings:[],hoveredField:"",activeField:"",onSelect:()=>{},onReplacementVariableSearchChange:null,imageUrl:"",imageAltText:"",titleInputPlaceholder:"",descriptionInputPlaceholder:"",isPremium:!1,setEditorRef:()=>{},onMouseHover:()=>{},idSuffix:""};var q=G},5:function(e,t){e.exports=window.yoast.styledComponents},6:function(e,t){e.exports=window.yoast.styleGuide},7:function(e,t){e.exports=window.yoast.componentsNew},9:function(e,t){e.exports=window.yoast.helpers}});featureFlag.js000066600000002650151123775150007345 0ustar00window.yoast=window.yoast||{},window.yoast.featureFlag=function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)n.d(r,u,function(t){return e[t]}.bind(null,u));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=250)}({250:function(e,t,n){"use strict";n.r(t),n.d(t,"isFeatureEnabled",(function(){return r})),n.d(t,"enableFeatures",(function(){return u})),n.d(t,"enabledFeatures",(function(){return o}));const r=function(e){return!!self.wpseoFeatureFlags&&self.wpseoFeatureFlags.includes(e)},u=function(e){self.wpseoFeatureFlags||(self.wpseoFeatureFlags=[]),e.forEach(e=>{self.wpseoFeatureFlags.includes(e)||self.wpseoFeatureFlags.push(e)})},o=function(){return self.wpseoFeatureFlags||[]}}});draftJs.js000066600000671524151123775150006531 0ustar00window.yoast=window.yoast||{},window.yoast.draftJs=function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=333)}([,,,function(t,e){t.exports=window.React},,,,,,,,,,function(t,e,r){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function r(t){return a(t)?t:U(t)}function n(t){return s(t)?t:q(t)}function i(t){return u(t)?t:H(t)}function o(t){return a(t)&&!c(t)?t:W(t)}function a(t){return!(!t||!t[f])}function s(t){return!(!t||!t[p])}function u(t){return!(!t||!t[h])}function c(t){return s(t)||u(t)}function l(t){return!(!t||!t[d])}e(n,r),e(i,r),e(o,r),r.isIterable=a,r.isKeyed=s,r.isIndexed=u,r.isAssociative=c,r.isOrdered=l,r.Keyed=n,r.Indexed=i,r.Set=o;var f="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",h="@@__IMMUTABLE_INDEXED__@@",d="@@__IMMUTABLE_ORDERED__@@",g={},y={value:!1},v={value:!1};function m(t){return t.value=!1,t}function _(t){t&&(t.value=!0)}function b(){}function S(t,e){e=e||0;for(var r=Math.max(0,t.length-e),n=new Array(r),i=0;i<r;i++)n[i]=t[i+e];return n}function w(t){return void 0===t.size&&(t.size=t.__iterate(k)),t.size}function x(t,e){if("number"!=typeof e){var r=e>>>0;if(""+r!==e||4294967295===r)return NaN;e=r}return e<0?w(t)+e:e}function k(){return!0}function C(t,e,r){return(0===t||void 0!==r&&t<=-r)&&(void 0===e||void 0!==r&&e>=r)}function E(t,e){return D(t,e,0)}function O(t,e){return D(t,e,e)}function D(t,e,r){return void 0===t?r:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var T,K,M,A="function"==typeof Symbol&&Symbol.iterator,I=A||"@@iterator";function B(t){this.next=t}function L(t,e,r,n){var i=0===t?e:1===t?r:[e,r];return n?n.value=i:n={value:i,done:!1},n}function R(){return{value:void 0,done:!0}}function N(t){return!!z(t)}function F(t){return t&&"function"==typeof t.next}function P(t){var e=z(t);return e&&e.call(t)}function z(t){var e=t&&(A&&t[A]||t["@@iterator"]);if("function"==typeof e)return e}function j(t){return t&&"number"==typeof t.length}function U(t){return null==t?$():a(t)?t.toSeq():function(t){var e=tt(t)||"object"==typeof t&&new G(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function q(t){return null==t?$().toKeyedSeq():a(t)?s(t)?t.toSeq():t.fromEntrySeq():Z(t)}function H(t){return null==t?$():a(t)?s(t)?t.entrySeq():t.toIndexedSeq():Q(t)}function W(t){return(null==t?$():a(t)?s(t)?t.entrySeq():t:Q(t)).toSetSeq()}function V(t){this._array=t,this.size=t.length}function G(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function J(t){this._iterable=t,this.size=t.length||t.size}function X(t){this._iterator=t,this._iteratorCache=[]}function Y(t){return!(!t||!t["@@__IMMUTABLE_SEQ__@@"])}function $(){return T||(T=new V([]))}function Z(t){var e=Array.isArray(t)?new V(t).fromEntrySeq():F(t)?new X(t).fromEntrySeq():N(t)?new J(t).fromEntrySeq():"object"==typeof t?new G(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function Q(t){var e=tt(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function tt(t){return j(t)?new V(t):F(t)?new X(t):N(t)?new J(t):void 0}function et(t,e,r,n){var i=t._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[r?o-a:a];if(!1===e(s[1],n?s[0]:a,t))return a+1}return a}return t.__iterateUncached(e,r)}function rt(t,e,r,n){var i=t._cache;if(i){var o=i.length-1,a=0;return new B((function(){var t=i[r?o-a:a];return a++>o?{value:void 0,done:!0}:L(e,n?t[0]:a-1,t[1])}))}return t.__iteratorUncached(e,r)}function nt(t,e){return e?function t(e,r,n,i){return Array.isArray(r)?e.call(i,n,H(r).map((function(n,i){return t(e,n,i,r)}))):ot(r)?e.call(i,n,q(r).map((function(n,i){return t(e,n,i,r)}))):r}(e,t,"",{"":t}):it(t)}function it(t){return Array.isArray(t)?H(t).map(it).toList():ot(t)?q(t).map(it).toMap():t}function ot(t){return t&&(t.constructor===Object||void 0===t.constructor)}function at(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function st(t,e){if(t===e)return!0;if(!a(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||s(t)!==s(e)||u(t)!==u(e)||l(t)!==l(e))return!1;if(0===t.size&&0===e.size)return!0;var r=!c(t);if(l(t)){var n=t.entries();return e.every((function(t,e){var i=n.next().value;return i&&at(i[1],t)&&(r||at(i[0],e))}))&&n.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var o=t;t=e,e=o}var f=!0,p=e.__iterate((function(e,n){if(r?!t.has(e):i?!at(e,t.get(n,g)):!at(t.get(n,g),e))return f=!1,!1}));return f&&t.size===p}function ut(t,e){if(!(this instanceof ut))return new ut(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(K)return K;K=this}}function ct(t,e){if(!t)throw new Error(e)}function lt(t,e,r){if(!(this instanceof lt))return new lt(t,e,r);if(ct(0!==r,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),r=void 0===r?1:Math.abs(r),e<t&&(r=-r),this._start=t,this._end=e,this._step=r,this.size=Math.max(0,Math.ceil((e-t)/r-1)+1),0===this.size){if(M)return M;M=this}}function ft(){throw TypeError("Abstract")}function pt(){}function ht(){}function dt(){}B.prototype.toString=function(){return"[Iterator]"},B.KEYS=0,B.VALUES=1,B.ENTRIES=2,B.prototype.inspect=B.prototype.toSource=function(){return this.toString()},B.prototype[I]=function(){return this},e(U,r),U.of=function(){return U(arguments)},U.prototype.toSeq=function(){return this},U.prototype.toString=function(){return this.__toString("Seq {","}")},U.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},U.prototype.__iterate=function(t,e){return et(this,t,e,!0)},U.prototype.__iterator=function(t,e){return rt(this,t,e,!0)},e(q,U),q.prototype.toKeyedSeq=function(){return this},e(H,U),H.of=function(){return H(arguments)},H.prototype.toIndexedSeq=function(){return this},H.prototype.toString=function(){return this.__toString("Seq [","]")},H.prototype.__iterate=function(t,e){return et(this,t,e,!1)},H.prototype.__iterator=function(t,e){return rt(this,t,e,!1)},e(W,U),W.of=function(){return W(arguments)},W.prototype.toSetSeq=function(){return this},U.isSeq=Y,U.Keyed=q,U.Set=W,U.Indexed=H,U.prototype["@@__IMMUTABLE_SEQ__@@"]=!0,e(V,H),V.prototype.get=function(t,e){return this.has(t)?this._array[x(this,t)]:e},V.prototype.__iterate=function(t,e){for(var r=this._array,n=r.length-1,i=0;i<=n;i++)if(!1===t(r[e?n-i:i],i,this))return i+1;return i},V.prototype.__iterator=function(t,e){var r=this._array,n=r.length-1,i=0;return new B((function(){return i>n?{value:void 0,done:!0}:L(t,i,r[e?n-i++:i++])}))},e(G,q),G.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},G.prototype.has=function(t){return this._object.hasOwnProperty(t)},G.prototype.__iterate=function(t,e){for(var r=this._object,n=this._keys,i=n.length-1,o=0;o<=i;o++){var a=n[e?i-o:o];if(!1===t(r[a],a,this))return o+1}return o},G.prototype.__iterator=function(t,e){var r=this._object,n=this._keys,i=n.length-1,o=0;return new B((function(){var a=n[e?i-o:o];return o++>i?{value:void 0,done:!0}:L(t,a,r[a])}))},G.prototype[d]=!0,e(J,H),J.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var r=P(this._iterable),n=0;if(F(r))for(var i;!(i=r.next()).done&&!1!==t(i.value,n++,this););return n},J.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var r=P(this._iterable);if(!F(r))return new B(R);var n=0;return new B((function(){var e=r.next();return e.done?e:L(t,n++,e.value)}))},e(X,H),X.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var r,n=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===t(i[o],o++,this))return o;for(;!(r=n.next()).done;){var a=r.value;if(i[o]=a,!1===t(a,o++,this))break}return o},X.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var r=this._iterator,n=this._iteratorCache,i=0;return new B((function(){if(i>=n.length){var e=r.next();if(e.done)return e;n[i]=e.value}return L(t,i,n[i++])}))},e(ut,H),ut.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ut.prototype.get=function(t,e){return this.has(t)?this._value:e},ut.prototype.includes=function(t){return at(this._value,t)},ut.prototype.slice=function(t,e){var r=this.size;return C(t,e,r)?this:new ut(this._value,O(e,r)-E(t,r))},ut.prototype.reverse=function(){return this},ut.prototype.indexOf=function(t){return at(this._value,t)?0:-1},ut.prototype.lastIndexOf=function(t){return at(this._value,t)?this.size:-1},ut.prototype.__iterate=function(t,e){for(var r=0;r<this.size;r++)if(!1===t(this._value,r,this))return r+1;return r},ut.prototype.__iterator=function(t,e){var r=this,n=0;return new B((function(){return n<r.size?L(t,n++,r._value):{value:void 0,done:!0}}))},ut.prototype.equals=function(t){return t instanceof ut?at(this._value,t._value):st(t)},e(lt,H),lt.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},lt.prototype.get=function(t,e){return this.has(t)?this._start+x(this,t)*this._step:e},lt.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},lt.prototype.slice=function(t,e){return C(t,e,this.size)?this:(t=E(t,this.size),(e=O(e,this.size))<=t?new lt(0,0):new lt(this.get(t,this._end),this.get(e,this._end),this._step))},lt.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var r=e/this._step;if(r>=0&&r<this.size)return r}return-1},lt.prototype.lastIndexOf=function(t){return this.indexOf(t)},lt.prototype.__iterate=function(t,e){for(var r=this.size-1,n=this._step,i=e?this._start+r*n:this._start,o=0;o<=r;o++){if(!1===t(i,o,this))return o+1;i+=e?-n:n}return o},lt.prototype.__iterator=function(t,e){var r=this.size-1,n=this._step,i=e?this._start+r*n:this._start,o=0;return new B((function(){var a=i;return i+=e?-n:n,o>r?{value:void 0,done:!0}:L(t,o++,a)}))},lt.prototype.equals=function(t){return t instanceof lt?this._start===t._start&&this._end===t._end&&this._step===t._step:st(this,t)},e(ft,r),e(pt,ft),e(ht,ft),e(dt,ft),ft.Keyed=pt,ft.Indexed=ht,ft.Set=dt;var gt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var r=65535&(t|=0),n=65535&(e|=0);return r*n+((t>>>16)*n+r*(e>>>16)<<16>>>0)|0};function yt(t){return t>>>1&1073741824|3221225471&t}function vt(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){var r=0|t;for(r!==t&&(r^=4294967295*t);t>4294967295;)r^=t/=4294967295;return yt(r)}if("string"===e)return t.length>Ct?function(t){var e=Dt[t];return void 0===e&&(e=mt(t),Ot===Et&&(Ot=0,Dt={}),Ot++,Dt[t]=e),e}(t):mt(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return function(t){var e;if(wt&&void 0!==(e=_t.get(t)))return e;if(void 0!==(e=t[kt]))return e;if(!St){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[kt]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=++xt,1073741824&xt&&(xt=0),wt)_t.set(t,e);else{if(void 0!==bt&&!1===bt(t))throw new Error("Non-extensible objects are not allowed as keys.");if(St)Object.defineProperty(t,kt,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[kt]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[kt]=e}}return e}(t);if("function"==typeof t.toString)return mt(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function mt(t){for(var e=0,r=0;r<t.length;r++)e=31*e+t.charCodeAt(r)|0;return yt(e)}var _t,bt=Object.isExtensible,St=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),wt="function"==typeof WeakMap;wt&&(_t=new WeakMap);var xt=0,kt="__immutablehash__";"function"==typeof Symbol&&(kt=Symbol(kt));var Ct=16,Et=255,Ot=0,Dt={};function Tt(t){ct(t!==1/0,"Cannot perform this action with an infinite size.")}function Kt(t){return null==t?Ht():Mt(t)&&!l(t)?t:Ht().withMutations((function(e){var r=n(t);Tt(r.size),r.forEach((function(t,r){return e.set(r,t)}))}))}function Mt(t){return!(!t||!t[It])}e(Kt,pt),Kt.prototype.toString=function(){return this.__toString("Map {","}")},Kt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},Kt.prototype.set=function(t,e){return Wt(this,t,e)},Kt.prototype.setIn=function(t,e){return this.updateIn(t,g,(function(){return e}))},Kt.prototype.remove=function(t){return Wt(this,t,g)},Kt.prototype.deleteIn=function(t){return this.updateIn(t,(function(){return g}))},Kt.prototype.update=function(t,e,r){return 1===arguments.length?t(this):this.updateIn([t],e,r)},Kt.prototype.updateIn=function(t,e,r){r||(r=e,e=void 0);var n=function t(e,r,n,i){var o=e===g,a=r.next();if(a.done){var s=o?n:e,u=i(s);return u===s?e:u}ct(o||e&&e.set,"invalid keyPath");var c=a.value,l=o?g:e.get(c,g),f=t(l,r,n,i);return f===l?e:f===g?e.remove(c):(o?Ht():e).set(c,f)}(this,Xe(t),e,r);return n===g?void 0:n},Kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ht()},Kt.prototype.merge=function(){return Xt(this,void 0,arguments)},Kt.prototype.mergeWith=function(e){var r=t.call(arguments,1);return Xt(this,e,r)},Kt.prototype.mergeIn=function(e){var r=t.call(arguments,1);return this.updateIn(e,Ht(),(function(t){return"function"==typeof t.merge?t.merge.apply(t,r):r[r.length-1]}))},Kt.prototype.mergeDeep=function(){return Xt(this,Yt,arguments)},Kt.prototype.mergeDeepWith=function(e){var r=t.call(arguments,1);return Xt(this,$t(e),r)},Kt.prototype.mergeDeepIn=function(e){var r=t.call(arguments,1);return this.updateIn(e,Ht(),(function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,r):r[r.length-1]}))},Kt.prototype.sort=function(t){return Se(Fe(this,t))},Kt.prototype.sortBy=function(t,e){return Se(Fe(this,e,t))},Kt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},Kt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new b)},Kt.prototype.asImmutable=function(){return this.__ensureOwner()},Kt.prototype.wasAltered=function(){return this.__altered},Kt.prototype.__iterator=function(t,e){return new zt(this,t,e)},Kt.prototype.__iterate=function(t,e){var r=this,n=0;return this._root&&this._root.iterate((function(e){return n++,t(e[1],e[0],r)}),e),n},Kt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?qt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Kt.isMap=Mt;var At,It="@@__IMMUTABLE_MAP__@@",Bt=Kt.prototype;function Lt(t,e){this.ownerID=t,this.entries=e}function Rt(t,e,r){this.ownerID=t,this.bitmap=e,this.nodes=r}function Nt(t,e,r){this.ownerID=t,this.count=e,this.nodes=r}function Ft(t,e,r){this.ownerID=t,this.keyHash=e,this.entries=r}function Pt(t,e,r){this.ownerID=t,this.keyHash=e,this.entry=r}function zt(t,e,r){this._type=e,this._reverse=r,this._stack=t._root&&Ut(t._root)}function jt(t,e){return L(t,e[0],e[1])}function Ut(t,e){return{node:t,index:0,__prev:e}}function qt(t,e,r,n){var i=Object.create(Bt);return i.size=t,i._root=e,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function Ht(){return At||(At=qt(0))}function Wt(t,e,r){var n,i;if(t._root){var o=m(y),a=m(v);if(n=Vt(t._root,t.__ownerID,0,void 0,e,r,o,a),!a.value)return t;i=t.size+(o.value?r===g?-1:1:0)}else{if(r===g)return t;i=1,n=new Lt(t.__ownerID,[[e,r]])}return t.__ownerID?(t.size=i,t._root=n,t.__hash=void 0,t.__altered=!0,t):n?qt(i,n):Ht()}function Vt(t,e,r,n,i,o,a,s){return t?t.update(e,r,n,i,o,a,s):o===g?t:(_(s),_(a),new Pt(e,n,[i,o]))}function Gt(t){return t.constructor===Pt||t.constructor===Ft}function Jt(t,e,r,n,i){if(t.keyHash===n)return new Ft(e,n,[t.entry,i]);var o,a=31&(0===r?t.keyHash:t.keyHash>>>r),s=31&(0===r?n:n>>>r);return new Rt(e,1<<a|1<<s,a===s?[Jt(t,e,r+5,n,i)]:(o=new Pt(e,n,i),a<s?[t,o]:[o,t]))}function Xt(t,e,r){for(var i=[],o=0;o<r.length;o++){var s=r[o],u=n(s);a(s)||(u=u.map((function(t){return nt(t)}))),i.push(u)}return Zt(t,e,i)}function Yt(t,e,r){return t&&t.mergeDeep&&a(e)?t.mergeDeep(e):at(t,e)?t:e}function $t(t){return function(e,r,n){if(e&&e.mergeDeepWith&&a(r))return e.mergeDeepWith(t,r);var i=t(e,r,n);return at(e,i)?e:i}}function Zt(t,e,r){return 0===(r=r.filter((function(t){return 0!==t.size}))).length?t:0!==t.size||t.__ownerID||1!==r.length?t.withMutations((function(t){for(var n=e?function(r,n){t.update(n,g,(function(t){return t===g?r:e(t,r,n)}))}:function(e,r){t.set(r,e)},i=0;i<r.length;i++)r[i].forEach(n)})):t.constructor(r[0])}function Qt(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function te(t,e,r,n){var i=n?t:S(t);return i[e]=r,i}Bt[It]=!0,Bt.delete=Bt.remove,Bt.removeIn=Bt.deleteIn,Lt.prototype.get=function(t,e,r,n){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(at(r,i[o][0]))return i[o][1];return n},Lt.prototype.update=function(t,e,r,n,i,o,a){for(var s=i===g,u=this.entries,c=0,l=u.length;c<l&&!at(n,u[c][0]);c++);var f=c<l;if(f?u[c][1]===i:s)return this;if(_(a),(s||!f)&&_(o),!s||1!==u.length){if(!f&&!s&&u.length>=ee)return function(t,e,r,n){t||(t=new b);for(var i=new Pt(t,vt(r),[r,n]),o=0;o<e.length;o++){var a=e[o];i=i.update(t,0,void 0,a[0],a[1])}return i}(t,u,n,i);var p=t&&t===this.ownerID,h=p?u:S(u);return f?s?c===l-1?h.pop():h[c]=h.pop():h[c]=[n,i]:h.push([n,i]),p?(this.entries=h,this):new Lt(t,h)}},Rt.prototype.get=function(t,e,r,n){void 0===e&&(e=vt(r));var i=1<<(31&(0===t?e:e>>>t)),o=this.bitmap;return 0==(o&i)?n:this.nodes[Qt(o&i-1)].get(t+5,e,r,n)},Rt.prototype.update=function(t,e,r,n,i,o,a){void 0===r&&(r=vt(n));var s=31&(0===e?r:r>>>e),u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&i===g)return this;var f=Qt(c&u-1),p=this.nodes,h=l?p[f]:void 0,d=Vt(h,t,e+5,r,n,i,o,a);if(d===h)return this;if(!l&&d&&p.length>=re)return function(t,e,r,n,i){for(var o=0,a=new Array(32),s=0;0!==r;s++,r>>>=1)a[s]=1&r?e[o++]:void 0;return a[n]=i,new Nt(t,o+1,a)}(t,p,c,s,d);if(l&&!d&&2===p.length&&Gt(p[1^f]))return p[1^f];if(l&&d&&1===p.length&&Gt(d))return d;var y=t&&t===this.ownerID,v=l?d?c:c^u:c|u,m=l?d?te(p,f,d,y):function(t,e,r){var n=t.length-1;if(r&&e===n)return t.pop(),t;for(var i=new Array(n),o=0,a=0;a<n;a++)a===e&&(o=1),i[a]=t[a+o];return i}(p,f,y):function(t,e,r,n){var i=t.length+1;if(n&&e+1===i)return t[e]=r,t;for(var o=new Array(i),a=0,s=0;s<i;s++)s===e?(o[s]=r,a=-1):o[s]=t[s+a];return o}(p,f,d,y);return y?(this.bitmap=v,this.nodes=m,this):new Rt(t,v,m)},Nt.prototype.get=function(t,e,r,n){void 0===e&&(e=vt(r));var i=31&(0===t?e:e>>>t),o=this.nodes[i];return o?o.get(t+5,e,r,n):n},Nt.prototype.update=function(t,e,r,n,i,o,a){void 0===r&&(r=vt(n));var s=31&(0===e?r:r>>>e),u=i===g,c=this.nodes,l=c[s];if(u&&!l)return this;var f=Vt(l,t,e+5,r,n,i,o,a);if(f===l)return this;var p=this.count;if(l){if(!f&&--p<ne)return function(t,e,r,n){for(var i=0,o=0,a=new Array(r),s=0,u=1,c=e.length;s<c;s++,u<<=1){var l=e[s];void 0!==l&&s!==n&&(i|=u,a[o++]=l)}return new Rt(t,i,a)}(t,c,p,s)}else p++;var h=t&&t===this.ownerID,d=te(c,s,f,h);return h?(this.count=p,this.nodes=d,this):new Nt(t,p,d)},Ft.prototype.get=function(t,e,r,n){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(at(r,i[o][0]))return i[o][1];return n},Ft.prototype.update=function(t,e,r,n,i,o,a){void 0===r&&(r=vt(n));var s=i===g;if(r!==this.keyHash)return s?this:(_(a),_(o),Jt(this,t,e,r,[n,i]));for(var u=this.entries,c=0,l=u.length;c<l&&!at(n,u[c][0]);c++);var f=c<l;if(f?u[c][1]===i:s)return this;if(_(a),(s||!f)&&_(o),s&&2===l)return new Pt(t,this.keyHash,u[1^c]);var p=t&&t===this.ownerID,h=p?u:S(u);return f?s?c===l-1?h.pop():h[c]=h.pop():h[c]=[n,i]:h.push([n,i]),p?(this.entries=h,this):new Ft(t,this.keyHash,h)},Pt.prototype.get=function(t,e,r,n){return at(r,this.entry[0])?this.entry[1]:n},Pt.prototype.update=function(t,e,r,n,i,o,a){var s=i===g,u=at(n,this.entry[0]);return(u?i===this.entry[1]:s)?this:(_(a),s?void _(o):u?t&&t===this.ownerID?(this.entry[1]=i,this):new Pt(t,this.keyHash,[n,i]):(_(o),Jt(this,t,e,vt(n),[n,i])))},Lt.prototype.iterate=Ft.prototype.iterate=function(t,e){for(var r=this.entries,n=0,i=r.length-1;n<=i;n++)if(!1===t(r[e?i-n:n]))return!1},Rt.prototype.iterate=Nt.prototype.iterate=function(t,e){for(var r=this.nodes,n=0,i=r.length-1;n<=i;n++){var o=r[e?i-n:n];if(o&&!1===o.iterate(t,e))return!1}},Pt.prototype.iterate=function(t,e){return t(this.entry)},e(zt,B),zt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var r,n=e.node,i=e.index++;if(n.entry){if(0===i)return jt(t,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return jt(t,n.entries[this._reverse?r-i:i])}else if(i<=(r=n.nodes.length-1)){var o=n.nodes[this._reverse?r-i:i];if(o){if(o.entry)return jt(t,o.entry);e=this._stack=Ut(o,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var ee=8,re=16,ne=8;function ie(t){var e=de();if(null==t)return e;if(oe(t))return t;var r=i(t),n=r.size;return 0===n?e:(Tt(n),n>0&&n<32?he(0,n,5,null,new ue(r.toArray())):e.withMutations((function(t){t.setSize(n),r.forEach((function(e,r){return t.set(r,e)}))})))}function oe(t){return!(!t||!t[ae])}e(ie,ht),ie.of=function(){return this(arguments)},ie.prototype.toString=function(){return this.__toString("List [","]")},ie.prototype.get=function(t,e){if((t=x(this,t))>=0&&t<this.size){var r=ve(this,t+=this._origin);return r&&r.array[31&t]}return e},ie.prototype.set=function(t,e){return function(t,e,r){if((e=x(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?me(t,e).set(0,r):me(t,0,e+1).set(e,r)}));e+=t._origin;var n=t._tail,i=t._root,o=m(v);return e>=be(t._capacity)?n=ge(n,t.__ownerID,0,e,r,o):i=ge(i,t.__ownerID,t._level,e,r,o),o.value?t.__ownerID?(t._root=i,t._tail=n,t.__hash=void 0,t.__altered=!0,t):he(t._origin,t._capacity,t._level,i,n):t}(this,t,e)},ie.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},ie.prototype.insert=function(t,e){return this.splice(t,0,e)},ie.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):de()},ie.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(r){me(r,0,e+t.length);for(var n=0;n<t.length;n++)r.set(e+n,t[n])}))},ie.prototype.pop=function(){return me(this,0,-1)},ie.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){me(e,-t.length);for(var r=0;r<t.length;r++)e.set(r,t[r])}))},ie.prototype.shift=function(){return me(this,1)},ie.prototype.merge=function(){return _e(this,void 0,arguments)},ie.prototype.mergeWith=function(e){var r=t.call(arguments,1);return _e(this,e,r)},ie.prototype.mergeDeep=function(){return _e(this,Yt,arguments)},ie.prototype.mergeDeepWith=function(e){var r=t.call(arguments,1);return _e(this,$t(e),r)},ie.prototype.setSize=function(t){return me(this,0,t)},ie.prototype.slice=function(t,e){var r=this.size;return C(t,e,r)?this:me(this,E(t,r),O(e,r))},ie.prototype.__iterator=function(t,e){var r=0,n=pe(this,e);return new B((function(){var e=n();return e===fe?{value:void 0,done:!0}:L(t,r++,e)}))},ie.prototype.__iterate=function(t,e){for(var r,n=0,i=pe(this,e);(r=i())!==fe&&!1!==t(r,n++,this););return n},ie.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?he(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},ie.isList=oe;var ae="@@__IMMUTABLE_LIST__@@",se=ie.prototype;function ue(t,e){this.array=t,this.ownerID=e}se[ae]=!0,se.delete=se.remove,se.setIn=Bt.setIn,se.deleteIn=se.removeIn=Bt.removeIn,se.update=Bt.update,se.updateIn=Bt.updateIn,se.mergeIn=Bt.mergeIn,se.mergeDeepIn=Bt.mergeDeepIn,se.withMutations=Bt.withMutations,se.asMutable=Bt.asMutable,se.asImmutable=Bt.asImmutable,se.wasAltered=Bt.wasAltered,ue.prototype.removeBefore=function(t,e,r){if(r===e?1<<e:0===this.array.length)return this;var n=r>>>e&31;if(n>=this.array.length)return new ue([],t);var i,o=0===n;if(e>0){var a=this.array[n];if((i=a&&a.removeBefore(t,e-5,r))===a&&o)return this}if(o&&!i)return this;var s=ye(this,t);if(!o)for(var u=0;u<n;u++)s.array[u]=void 0;return i&&(s.array[n]=i),s},ue.prototype.removeAfter=function(t,e,r){if(r===(e?1<<e:0)||0===this.array.length)return this;var n,i=r-1>>>e&31;if(i>=this.array.length)return this;if(e>0){var o=this.array[i];if((n=o&&o.removeAfter(t,e-5,r))===o&&i===this.array.length-1)return this}var a=ye(this,t);return a.array.splice(i+1),n&&(a.array[i]=n),a};var ce,le,fe={};function pe(t,e){var r=t._origin,n=t._capacity,i=be(n),o=t._tail;return function t(a,s,u){return 0===s?function(t,a){var s=a===i?o&&o.array:t&&t.array,u=a>r?0:r-a,c=n-a;return c>32&&(c=32),function(){if(u===c)return fe;var t=e?--c:u++;return s&&s[t]}}(a,u):function(i,o,a){var s,u=i&&i.array,c=a>r?0:r-a>>o,l=1+(n-a>>o);return l>32&&(l=32),function(){for(;;){if(s){var r=s();if(r!==fe)return r;s=null}if(c===l)return fe;var n=e?--l:c++;s=t(u&&u[n],o-5,a+(n<<o))}}}(a,s,u)}(t._root,t._level,0)}function he(t,e,r,n,i,o,a){var s=Object.create(se);return s.size=e-t,s._origin=t,s._capacity=e,s._level=r,s._root=n,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function de(){return ce||(ce=he(0,0,5))}function ge(t,e,r,n,i,o){var a,s=n>>>r&31,u=t&&s<t.array.length;if(!u&&void 0===i)return t;if(r>0){var c=t&&t.array[s],l=ge(c,e,r-5,n,i,o);return l===c?t:((a=ye(t,e)).array[s]=l,a)}return u&&t.array[s]===i?t:(_(o),a=ye(t,e),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function ye(t,e){return e&&t&&e===t.ownerID?t:new ue(t?t.array.slice():[],e)}function ve(t,e){if(e>=be(t._capacity))return t._tail;if(e<1<<t._level+5){for(var r=t._root,n=t._level;r&&n>0;)r=r.array[e>>>n&31],n-=5;return r}}function me(t,e,r){void 0!==e&&(e|=0),void 0!==r&&(r|=0);var n=t.__ownerID||new b,i=t._origin,o=t._capacity,a=i+e,s=void 0===r?o:r<0?o+r:i+r;if(a===i&&s===o)return t;if(a>=s)return t.clear();for(var u=t._level,c=t._root,l=0;a+l<0;)c=new ue(c&&c.array.length?[void 0,c]:[],n),l+=1<<(u+=5);l&&(a+=l,i+=l,s+=l,o+=l);for(var f=be(o),p=be(s);p>=1<<u+5;)c=new ue(c&&c.array.length?[c]:[],n),u+=5;var h=t._tail,d=p<f?ve(t,s-1):p>f?new ue([],n):h;if(h&&p>f&&a<o&&h.array.length){for(var g=c=ye(c,n),y=u;y>5;y-=5){var v=f>>>y&31;g=g.array[v]=ye(g.array[v],n)}g.array[f>>>5&31]=h}if(s<o&&(d=d&&d.removeAfter(n,0,s)),a>=p)a-=p,s-=p,u=5,c=null,d=d&&d.removeBefore(n,0,a);else if(a>i||p<f){for(l=0;c;){var m=a>>>u&31;if(m!==p>>>u&31)break;m&&(l+=(1<<u)*m),u-=5,c=c.array[m]}c&&a>i&&(c=c.removeBefore(n,u,a-l)),c&&p<f&&(c=c.removeAfter(n,u,p-l)),l&&(a-=l,s-=l)}return t.__ownerID?(t.size=s-a,t._origin=a,t._capacity=s,t._level=u,t._root=c,t._tail=d,t.__hash=void 0,t.__altered=!0,t):he(a,s,u,c,d)}function _e(t,e,r){for(var n=[],o=0,s=0;s<r.length;s++){var u=r[s],c=i(u);c.size>o&&(o=c.size),a(u)||(c=c.map((function(t){return nt(t)}))),n.push(c)}return o>t.size&&(t=t.setSize(o)),Zt(t,e,n)}function be(t){return t<32?0:t-1>>>5<<5}function Se(t){return null==t?ke():we(t)?t:ke().withMutations((function(e){var r=n(t);Tt(r.size),r.forEach((function(t,r){return e.set(r,t)}))}))}function we(t){return Mt(t)&&l(t)}function xe(t,e,r,n){var i=Object.create(Se.prototype);return i.size=t?t.size:0,i._map=t,i._list=e,i.__ownerID=r,i.__hash=n,i}function ke(){return le||(le=xe(Ht(),de()))}function Ce(t,e,r){var n,i,o=t._map,a=t._list,s=o.get(e),u=void 0!==s;if(r===g){if(!u)return t;a.size>=32&&a.size>=2*o.size?(n=(i=a.filter((function(t,e){return void 0!==t&&s!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(n.__ownerID=i.__ownerID=t.__ownerID)):(n=o.remove(e),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(r===a.get(s)[1])return t;n=o,i=a.set(s,[e,r])}else n=o.set(e,a.size),i=a.set(a.size,[e,r]);return t.__ownerID?(t.size=n.size,t._map=n,t._list=i,t.__hash=void 0,t):xe(n,i)}function Ee(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Oe(t){this._iter=t,this.size=t.size}function De(t){this._iter=t,this.size=t.size}function Te(t){this._iter=t,this.size=t.size}function Ke(t){var e=Ve(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=Ge,e.__iterateUncached=function(e,r){var n=this;return t.__iterate((function(t,r){return!1!==e(r,t,n)}),r)},e.__iteratorUncached=function(e,r){if(2===e){var n=t.__iterator(e,r);return new B((function(){var t=n.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(1===e?0:1,r)},e}function Me(t,e,r){var n=Ve(t);return n.size=t.size,n.has=function(e){return t.has(e)},n.get=function(n,i){var o=t.get(n,g);return o===g?i:e.call(r,o,n,t)},n.__iterateUncached=function(n,i){var o=this;return t.__iterate((function(t,i,a){return!1!==n(e.call(r,t,i,a),i,o)}),i)},n.__iteratorUncached=function(n,i){var o=t.__iterator(2,i);return new B((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return L(n,s,e.call(r,a[1],s,t),i)}))},n}function Ae(t,e){var r=Ve(t);return r._iter=t,r.size=t.size,r.reverse=function(){return t},t.flip&&(r.flip=function(){var e=Ke(t);return e.reverse=function(){return t.flip()},e}),r.get=function(r,n){return t.get(e?r:-1-r,n)},r.has=function(r){return t.has(e?r:-1-r)},r.includes=function(e){return t.includes(e)},r.cacheResult=Ge,r.__iterate=function(e,r){var n=this;return t.__iterate((function(t,r){return e(t,r,n)}),!r)},r.__iterator=function(e,r){return t.__iterator(e,!r)},r}function Ie(t,e,r,n){var i=Ve(t);return n&&(i.has=function(n){var i=t.get(n,g);return i!==g&&!!e.call(r,i,n,t)},i.get=function(n,i){var o=t.get(n,g);return o!==g&&e.call(r,o,n,t)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return t.__iterate((function(t,o,u){if(e.call(r,t,o,u))return s++,i(t,n?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=t.__iterator(2,o),s=0;return new B((function(){for(;;){var o=a.next();if(o.done)return o;var u=o.value,c=u[0],l=u[1];if(e.call(r,l,c,t))return L(i,n?c:s++,l,o)}}))},i}function Be(t,e,r,n){var i=t.size;if(void 0!==e&&(e|=0),void 0!==r&&(r|=0),C(e,r,i))return t;var o=E(e,i),a=O(r,i);if(o!=o||a!=a)return Be(t.toSeq().cacheResult(),e,r,n);var s,u=a-o;u==u&&(s=u<0?0:u);var c=Ve(t);return c.size=0===s?s:t.size&&s||void 0,!n&&Y(t)&&s>=0&&(c.get=function(e,r){return(e=x(this,e))>=0&&e<s?t.get(e+o,r):r}),c.__iterateUncached=function(e,r){var i=this;if(0===s)return 0;if(r)return this.cacheResult().__iterate(e,r);var a=0,u=!0,c=0;return t.__iterate((function(t,r){if(!u||!(u=a++<o))return c++,!1!==e(t,n?r:c-1,i)&&c!==s})),c},c.__iteratorUncached=function(e,r){if(0!==s&&r)return this.cacheResult().__iterator(e,r);var i=0!==s&&t.__iterator(e,r),a=0,u=0;return new B((function(){for(;a++<o;)i.next();if(++u>s)return{value:void 0,done:!0};var t=i.next();return n||1===e?t:L(e,u-1,0===e?void 0:t.value[1],t)}))},c}function Le(t,e,r,n){var i=Ve(t);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return t.__iterate((function(t,o,c){if(!s||!(s=e.call(r,t,o,c)))return u++,i(t,n?o:u-1,a)})),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=t.__iterator(2,o),u=!0,c=0;return new B((function(){var t,o,l;do{if((t=s.next()).done)return n||1===i?t:L(i,c++,0===i?void 0:t.value[1],t);var f=t.value;o=f[0],l=f[1],u&&(u=e.call(r,l,o,a))}while(u);return 2===i?t:L(i,o,l,t)}))},i}function Re(t,e){var r=s(t),i=[t].concat(e).map((function(t){return a(t)?r&&(t=n(t)):t=r?Z(t):Q(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===i.length)return t;if(1===i.length){var o=i[0];if(o===t||r&&s(o)||u(t)&&u(o))return o}var c=new V(i);return r?c=c.toKeyedSeq():u(t)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(t,e){if(void 0!==t){var r=e.size;if(void 0!==r)return t+r}}),0),c}function Ne(t,e,r){var n=Ve(t);return n.__iterateUncached=function(n,i){var o=0,s=!1;return function t(u,c){var l=this;u.__iterate((function(i,u){return(!e||c<e)&&a(i)?t(i,c+1):!1===n(i,r?u:o++,l)&&(s=!0),!s}),i)}(t,0),o},n.__iteratorUncached=function(n,i){var o=t.__iterator(n,i),s=[],u=0;return new B((function(){for(;o;){var t=o.next();if(!1===t.done){var c=t.value;if(2===n&&(c=c[1]),e&&!(s.length<e)||!a(c))return r?t:L(n,u++,c,t);s.push(o),o=c.__iterator(n,i)}else o=s.pop()}return{value:void 0,done:!0}}))},n}function Fe(t,e,r){e||(e=Je);var n=s(t),i=0,o=t.toSeq().map((function(e,n){return[n,e,i++,r?r(e,n,t):e]})).toArray();return o.sort((function(t,r){return e(t[3],r[3])||t[2]-r[2]})).forEach(n?function(t,e){o[e].length=2}:function(t,e){o[e]=t[1]}),n?q(o):u(t)?H(o):W(o)}function Pe(t,e,r){if(e||(e=Je),r){var n=t.toSeq().map((function(e,n){return[e,r(e,n,t)]})).reduce((function(t,r){return ze(e,t[1],r[1])?r:t}));return n&&n[0]}return t.reduce((function(t,r){return ze(e,t,r)?r:t}))}function ze(t,e,r){var n=t(r,e);return 0===n&&r!==e&&(null==r||r!=r)||n>0}function je(t,e,n){var i=Ve(t);return i.size=new V(n).map((function(t){return t.size})).min(),i.__iterate=function(t,e){for(var r,n=this.__iterator(1,e),i=0;!(r=n.next()).done&&!1!==t(r.value,i++,this););return i},i.__iteratorUncached=function(t,i){var o=n.map((function(t){return t=r(t),P(i?t.reverse():t)})),a=0,s=!1;return new B((function(){var r;return s||(r=o.map((function(t){return t.next()})),s=r.some((function(t){return t.done}))),s?{value:void 0,done:!0}:L(t,a++,e.apply(null,r.map((function(t){return t.value}))))}))},i}function Ue(t,e){return Y(t)?e:t.constructor(e)}function qe(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function He(t){return Tt(t.size),w(t)}function We(t){return s(t)?n:u(t)?i:o}function Ve(t){return Object.create((s(t)?q:u(t)?H:W).prototype)}function Ge(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):U.prototype.cacheResult.call(this)}function Je(t,e){return t>e?1:t<e?-1:0}function Xe(t){var e=P(t);if(!e){if(!j(t))throw new TypeError("Expected iterable or array-like: "+t);e=P(r(t))}return e}function Ye(t,e){var r,n=function(o){if(o instanceof n)return o;if(!(this instanceof n))return new n(o);if(!r){r=!0;var a=Object.keys(t);!function(t,e){try{e.forEach(tr.bind(void 0,t))}catch(t){}}(i,a),i.size=a.length,i._name=e,i._keys=a,i._defaultValues=t}this._map=Kt(o)},i=n.prototype=Object.create($e);return i.constructor=n,n}e(Se,Kt),Se.of=function(){return this(arguments)},Se.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Se.prototype.get=function(t,e){var r=this._map.get(t);return void 0!==r?this._list.get(r)[1]:e},Se.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):ke()},Se.prototype.set=function(t,e){return Ce(this,t,e)},Se.prototype.remove=function(t){return Ce(this,t,g)},Se.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Se.prototype.__iterate=function(t,e){var r=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],r)}),e)},Se.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Se.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),r=this._list.__ensureOwner(t);return t?xe(e,r,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=r,this)},Se.isOrderedMap=we,Se.prototype[d]=!0,Se.prototype.delete=Se.prototype.remove,e(Ee,q),Ee.prototype.get=function(t,e){return this._iter.get(t,e)},Ee.prototype.has=function(t){return this._iter.has(t)},Ee.prototype.valueSeq=function(){return this._iter.valueSeq()},Ee.prototype.reverse=function(){var t=this,e=Ae(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},Ee.prototype.map=function(t,e){var r=this,n=Me(this,t,e);return this._useKeys||(n.valueSeq=function(){return r._iter.toSeq().map(t,e)}),n},Ee.prototype.__iterate=function(t,e){var r,n=this;return this._iter.__iterate(this._useKeys?function(e,r){return t(e,r,n)}:(r=e?He(this):0,function(i){return t(i,e?--r:r++,n)}),e)},Ee.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var r=this._iter.__iterator(1,e),n=e?He(this):0;return new B((function(){var i=r.next();return i.done?i:L(t,e?--n:n++,i.value,i)}))},Ee.prototype[d]=!0,e(Oe,H),Oe.prototype.includes=function(t){return this._iter.includes(t)},Oe.prototype.__iterate=function(t,e){var r=this,n=0;return this._iter.__iterate((function(e){return t(e,n++,r)}),e)},Oe.prototype.__iterator=function(t,e){var r=this._iter.__iterator(1,e),n=0;return new B((function(){var e=r.next();return e.done?e:L(t,n++,e.value,e)}))},e(De,W),De.prototype.has=function(t){return this._iter.includes(t)},De.prototype.__iterate=function(t,e){var r=this;return this._iter.__iterate((function(e){return t(e,e,r)}),e)},De.prototype.__iterator=function(t,e){var r=this._iter.__iterator(1,e);return new B((function(){var e=r.next();return e.done?e:L(t,e.value,e.value,e)}))},e(Te,q),Te.prototype.entrySeq=function(){return this._iter.toSeq()},Te.prototype.__iterate=function(t,e){var r=this;return this._iter.__iterate((function(e){if(e){qe(e);var n=a(e);return t(n?e.get(1):e[1],n?e.get(0):e[0],r)}}),e)},Te.prototype.__iterator=function(t,e){var r=this._iter.__iterator(1,e);return new B((function(){for(;;){var e=r.next();if(e.done)return e;var n=e.value;if(n){qe(n);var i=a(n);return L(t,i?n.get(0):n[0],i?n.get(1):n[1],e)}}}))},Oe.prototype.cacheResult=Ee.prototype.cacheResult=De.prototype.cacheResult=Te.prototype.cacheResult=Ge,e(Ye,pt),Ye.prototype.toString=function(){return this.__toString(Qe(this)+" {","}")},Ye.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},Ye.prototype.get=function(t,e){if(!this.has(t))return e;var r=this._defaultValues[t];return this._map?this._map.get(t,r):r},Ye.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=Ze(this,Ht()))},Ye.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Qe(this));var r=this._map&&this._map.set(t,e);return this.__ownerID||r===this._map?this:Ze(this,r)},Ye.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:Ze(this,e)},Ye.prototype.wasAltered=function(){return this._map.wasAltered()},Ye.prototype.__iterator=function(t,e){var r=this;return n(this._defaultValues).map((function(t,e){return r.get(e)})).__iterator(t,e)},Ye.prototype.__iterate=function(t,e){var r=this;return n(this._defaultValues).map((function(t,e){return r.get(e)})).__iterate(t,e)},Ye.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?Ze(this,e,t):(this.__ownerID=t,this._map=e,this)};var $e=Ye.prototype;function Ze(t,e,r){var n=Object.create(Object.getPrototypeOf(t));return n._map=e,n.__ownerID=r,n}function Qe(t){return t._name||t.constructor.name||"Record"}function tr(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){ct(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function er(t){return null==t?ur():rr(t)&&!l(t)?t:ur().withMutations((function(e){var r=o(t);Tt(r.size),r.forEach((function(t){return e.add(t)}))}))}function rr(t){return!(!t||!t[ir])}$e.delete=$e.remove,$e.deleteIn=$e.removeIn=Bt.removeIn,$e.merge=Bt.merge,$e.mergeWith=Bt.mergeWith,$e.mergeIn=Bt.mergeIn,$e.mergeDeep=Bt.mergeDeep,$e.mergeDeepWith=Bt.mergeDeepWith,$e.mergeDeepIn=Bt.mergeDeepIn,$e.setIn=Bt.setIn,$e.update=Bt.update,$e.updateIn=Bt.updateIn,$e.withMutations=Bt.withMutations,$e.asMutable=Bt.asMutable,$e.asImmutable=Bt.asImmutable,e(er,dt),er.of=function(){return this(arguments)},er.fromKeys=function(t){return this(n(t).keySeq())},er.prototype.toString=function(){return this.__toString("Set {","}")},er.prototype.has=function(t){return this._map.has(t)},er.prototype.add=function(t){return ar(this,this._map.set(t,!0))},er.prototype.remove=function(t){return ar(this,this._map.remove(t))},er.prototype.clear=function(){return ar(this,this._map.clear())},er.prototype.union=function(){var e=t.call(arguments,0);return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(t){for(var r=0;r<e.length;r++)o(e[r]).forEach((function(e){return t.add(e)}))})):this.constructor(e[0])},er.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return o(t)}));var r=this;return this.withMutations((function(t){r.forEach((function(r){e.every((function(t){return t.includes(r)}))||t.remove(r)}))}))},er.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return o(t)}));var r=this;return this.withMutations((function(t){r.forEach((function(r){e.some((function(t){return t.includes(r)}))&&t.remove(r)}))}))},er.prototype.merge=function(){return this.union.apply(this,arguments)},er.prototype.mergeWith=function(e){var r=t.call(arguments,1);return this.union.apply(this,r)},er.prototype.sort=function(t){return cr(Fe(this,t))},er.prototype.sortBy=function(t,e){return cr(Fe(this,e,t))},er.prototype.wasAltered=function(){return this._map.wasAltered()},er.prototype.__iterate=function(t,e){var r=this;return this._map.__iterate((function(e,n){return t(n,n,r)}),e)},er.prototype.__iterator=function(t,e){return this._map.map((function(t,e){return e})).__iterator(t,e)},er.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},er.isSet=rr;var nr,ir="@@__IMMUTABLE_SET__@@",or=er.prototype;function ar(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function sr(t,e){var r=Object.create(or);return r.size=t?t.size:0,r._map=t,r.__ownerID=e,r}function ur(){return nr||(nr=sr(Ht()))}function cr(t){return null==t?dr():lr(t)?t:dr().withMutations((function(e){var r=o(t);Tt(r.size),r.forEach((function(t){return e.add(t)}))}))}function lr(t){return rr(t)&&l(t)}or[ir]=!0,or.delete=or.remove,or.mergeDeep=or.merge,or.mergeDeepWith=or.mergeWith,or.withMutations=Bt.withMutations,or.asMutable=Bt.asMutable,or.asImmutable=Bt.asImmutable,or.__empty=ur,or.__make=sr,e(cr,er),cr.of=function(){return this(arguments)},cr.fromKeys=function(t){return this(n(t).keySeq())},cr.prototype.toString=function(){return this.__toString("OrderedSet {","}")},cr.isOrderedSet=lr;var fr,pr=cr.prototype;function hr(t,e){var r=Object.create(pr);return r.size=t?t.size:0,r._map=t,r.__ownerID=e,r}function dr(){return fr||(fr=hr(ke()))}function gr(t){return null==t?Sr():yr(t)?t:Sr().unshiftAll(t)}function yr(t){return!(!t||!t[mr])}pr[d]=!0,pr.__empty=dr,pr.__make=hr,e(gr,ht),gr.of=function(){return this(arguments)},gr.prototype.toString=function(){return this.__toString("Stack [","]")},gr.prototype.get=function(t,e){var r=this._head;for(t=x(this,t);r&&t--;)r=r.next;return r?r.value:e},gr.prototype.peek=function(){return this._head&&this._head.value},gr.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,r=arguments.length-1;r>=0;r--)e={value:arguments[r],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):br(t,e)},gr.prototype.pushAll=function(t){if(0===(t=i(t)).size)return this;Tt(t.size);var e=this.size,r=this._head;return t.reverse().forEach((function(t){e++,r={value:t,next:r}})),this.__ownerID?(this.size=e,this._head=r,this.__hash=void 0,this.__altered=!0,this):br(e,r)},gr.prototype.pop=function(){return this.slice(1)},gr.prototype.unshift=function(){return this.push.apply(this,arguments)},gr.prototype.unshiftAll=function(t){return this.pushAll(t)},gr.prototype.shift=function(){return this.pop.apply(this,arguments)},gr.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):Sr()},gr.prototype.slice=function(t,e){if(C(t,e,this.size))return this;var r=E(t,this.size);if(O(e,this.size)!==this.size)return ht.prototype.slice.call(this,t,e);for(var n=this.size-r,i=this._head;r--;)i=i.next;return this.__ownerID?(this.size=n,this._head=i,this.__hash=void 0,this.__altered=!0,this):br(n,i)},gr.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?br(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},gr.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var r=0,n=this._head;n&&!1!==t(n.value,r++,this);)n=n.next;return r},gr.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var r=0,n=this._head;return new B((function(){if(n){var e=n.value;return n=n.next,L(t,r++,e)}return{value:void 0,done:!0}}))},gr.isStack=yr;var vr,mr="@@__IMMUTABLE_STACK__@@",_r=gr.prototype;function br(t,e,r,n){var i=Object.create(_r);return i.size=t,i._head=e,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function Sr(){return vr||(vr=br(0))}function wr(t,e){var r=function(r){t.prototype[r]=e[r]};return Object.keys(e).forEach(r),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(r),t}_r[mr]=!0,_r.withMutations=Bt.withMutations,_r.asMutable=Bt.asMutable,_r.asImmutable=Bt.asImmutable,_r.wasAltered=Bt.wasAltered,r.Iterator=B,wr(r,{toArray:function(){Tt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate((function(e,r){t[r]=e})),t},toIndexedSeq:function(){return new Oe(this)},toJS:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJS?t.toJS():t})).__toJS()},toJSON:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t})).__toJS()},toKeyedSeq:function(){return new Ee(this,!0)},toMap:function(){return Kt(this.toKeyedSeq())},toObject:function(){Tt(this.size);var t={};return this.__iterate((function(e,r){t[r]=e})),t},toOrderedMap:function(){return Se(this.toKeyedSeq())},toOrderedSet:function(){return cr(s(this)?this.valueSeq():this)},toSet:function(){return er(s(this)?this.valueSeq():this)},toSetSeq:function(){return new De(this)},toSeq:function(){return u(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return gr(s(this)?this.valueSeq():this)},toList:function(){return ie(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){var e=t.call(arguments,0);return Ue(this,Re(this,e))},includes:function(t){return this.some((function(e){return at(e,t)}))},entries:function(){return this.__iterator(2)},every:function(t,e){Tt(this.size);var r=!0;return this.__iterate((function(n,i,o){if(!t.call(e,n,i,o))return r=!1,!1})),r},filter:function(t,e){return Ue(this,Ie(this,t,e,!0))},find:function(t,e,r){var n=this.findEntry(t,e);return n?n[1]:r},findEntry:function(t,e){var r;return this.__iterate((function(n,i,o){if(t.call(e,n,i,o))return r=[i,n],!1})),r},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)},forEach:function(t,e){return Tt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Tt(this.size),t=void 0!==t?""+t:",";var e="",r=!0;return this.__iterate((function(n){r?r=!1:e+=t,e+=null!=n?n.toString():""})),e},keys:function(){return this.__iterator(0)},map:function(t,e){return Ue(this,Me(this,t,e))},reduce:function(t,e,r){var n,i;return Tt(this.size),arguments.length<2?i=!0:n=e,this.__iterate((function(e,o,a){i?(i=!1,n=e):n=t.call(r,n,e,o,a)})),n},reduceRight:function(t,e,r){var n=this.toKeyedSeq().reverse();return n.reduce.apply(n,arguments)},reverse:function(){return Ue(this,Ae(this,!0))},slice:function(t,e){return Ue(this,Be(this,t,e,!0))},some:function(t,e){return!this.every(Or(t),e)},sort:function(t){return Ue(this,Fe(this,t))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return w(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,r){var n=Kt().asMutable();return t.__iterate((function(i,o){n.update(e.call(r,i,o,t),0,(function(t){return t+1}))})),n.asImmutable()}(this,t,e)},equals:function(t){return st(this,t)},entrySeq:function(){var t=this;if(t._cache)return new V(t._cache);var e=t.toSeq().map(Er).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Or(t),e)},findLast:function(t,e,r){return this.toKeyedSeq().reverse().find(t,e,r)},first:function(){return this.find(k)},flatMap:function(t,e){return Ue(this,function(t,e,r){var n=We(t);return t.toSeq().map((function(i,o){return n(e.call(r,i,o,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Ue(this,Ne(this,t,!0))},fromEntrySeq:function(){return new Te(this)},get:function(t,e){return this.find((function(e,r){return at(r,t)}),void 0,e)},getIn:function(t,e){for(var r,n=this,i=Xe(t);!(r=i.next()).done;){var o=r.value;if((n=n&&n.get?n.get(o,g):g)===g)return e}return n},groupBy:function(t,e){return function(t,e,r){var n=s(t),i=(l(t)?Se():Kt()).asMutable();t.__iterate((function(o,a){i.update(e.call(r,o,a,t),(function(t){return(t=t||[]).push(n?[a,o]:o),t}))}));var o=We(t);return i.map((function(e){return Ue(t,o(e))}))}(this,t,e)},has:function(t){return this.get(t,g)!==g},hasIn:function(t){return this.getIn(t,g)!==g},isSubset:function(t){return t="function"==typeof t.includes?t:r(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:r(t)).isSubset(this)},keySeq:function(){return this.toSeq().map(Cr).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return Pe(this,t)},maxBy:function(t,e){return Pe(this,e,t)},min:function(t){return Pe(this,t?Dr(t):Mr)},minBy:function(t,e){return Pe(this,e?Dr(e):Mr,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Ue(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Ue(this,Le(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Or(t),e)},sortBy:function(t,e){return Ue(this,Fe(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Ue(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Ue(this,function(t,e,r){var n=Ve(t);return n.__iterateUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterate(n,i);var a=0;return t.__iterate((function(t,i,s){return e.call(r,t,i,s)&&++a&&n(t,i,o)})),a},n.__iteratorUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterator(n,i);var a=t.__iterator(2,i),s=!0;return new B((function(){if(!s)return{value:void 0,done:!0};var t=a.next();if(t.done)return t;var i=t.value,u=i[0],c=i[1];return e.call(r,c,u,o)?2===n?t:L(n,u,c,t):(s=!1,{value:void 0,done:!0})}))},n}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Or(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=l(t),r=s(t),n=e?1:0;return function(t,e){return e=gt(e,3432918353),e=gt(e<<15|e>>>-15,461845907),e=gt(e<<13|e>>>-13,5),e=gt((e=(e+3864292196|0)^t)^e>>>16,2246822507),yt((e=gt(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(r?e?function(t,e){n=31*n+Ar(vt(t),vt(e))|0}:function(t,e){n=n+Ar(vt(t),vt(e))|0}:e?function(t){n=31*n+vt(t)|0}:function(t){n=n+vt(t)|0}),n)}(this))}});var xr=r.prototype;xr[f]=!0,xr[I]=xr.values,xr.__toJS=xr.toArray,xr.__toStringMapper=Tr,xr.inspect=xr.toSource=function(){return this.toString()},xr.chain=xr.flatMap,xr.contains=xr.includes,function(){try{Object.defineProperty(xr,"length",{get:function(){if(!r.noLengthWarning){var t;try{throw new Error}catch(e){t=e.stack}if(-1===t.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. "+t),this.size}}})}catch(t){}}(),wr(n,{flip:function(){return Ue(this,Ke(this))},findKey:function(t,e){var r=this.findEntry(t,e);return r&&r[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey((function(e){return at(e,t)}))},lastKeyOf:function(t){return this.findLastKey((function(e){return at(e,t)}))},mapEntries:function(t,e){var r=this,n=0;return Ue(this,this.toSeq().map((function(i,o){return t.call(e,[o,i],n++,r)})).fromEntrySeq())},mapKeys:function(t,e){var r=this;return Ue(this,this.toSeq().flip().map((function(n,i){return t.call(e,n,i,r)})).flip())}});var kr=n.prototype;function Cr(t,e){return e}function Er(t,e){return[e,t]}function Or(t){return function(){return!t.apply(this,arguments)}}function Dr(t){return function(){return-t.apply(this,arguments)}}function Tr(t){return"string"==typeof t?JSON.stringify(t):t}function Kr(){return S(arguments)}function Mr(t,e){return t<e?1:t>e?-1:0}function Ar(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return kr[p]=!0,kr[I]=xr.entries,kr.__toJS=xr.toObject,kr.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+Tr(t)},wr(i,{toKeyedSeq:function(){return new Ee(this,!1)},filter:function(t,e){return Ue(this,Ie(this,t,e,!1))},findIndex:function(t,e){var r=this.findEntry(t,e);return r?r[0]:-1},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.toKeyedSeq().reverse().keyOf(t);return void 0===e?-1:e},reverse:function(){return Ue(this,Ae(this,!1))},slice:function(t,e){return Ue(this,Be(this,t,e,!1))},splice:function(t,e){var r=arguments.length;if(e=Math.max(0|e,0),0===r||2===r&&!e)return this;t=E(t,t<0?this.count():this.size);var n=this.slice(0,t);return Ue(this,1===r?n:n.concat(S(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var r=this.toKeyedSeq().findLastKey(t,e);return void 0===r?-1:r},first:function(){return this.get(0)},flatten:function(t){return Ue(this,Ne(this,t,!1))},get:function(t,e){return(t=x(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,r){return r===t}),void 0,e)},has:function(t){return(t=x(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Ue(this,function(t,e){var r=Ve(t);return r.size=t.size&&2*t.size-1,r.__iterateUncached=function(r,n){var i=this,o=0;return t.__iterate((function(t,n){return(!o||!1!==r(e,o++,i))&&!1!==r(t,o++,i)}),n),o},r.__iteratorUncached=function(r,n){var i,o=t.__iterator(1,n),a=0;return new B((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?L(r,a++,e):L(r,a++,i.value,i)}))},r}(this,t))},interleave:function(){var t=[this].concat(S(arguments)),e=je(this.toSeq(),H.of,t),r=e.flatten(!0);return e.size&&(r.size=e.size*t.length),Ue(this,r)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Ue(this,Le(this,t,e,!1))},zip:function(){var t=[this].concat(S(arguments));return Ue(this,je(this,Kr,t))},zipWith:function(t){var e=S(arguments);return e[0]=this,Ue(this,je(this,t,e))}}),i.prototype[h]=!0,i.prototype[d]=!0,wr(o,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=xr.includes,wr(q,n.prototype),wr(H,i.prototype),wr(W,o.prototype),wr(pt,n.prototype),wr(ht,i.prototype),wr(dt,o.prototype),{Iterable:r,Seq:U,Collection:ft,Map:Kt,OrderedMap:Se,List:ie,Stack:gr,Set:er,OrderedSet:cr,Record:Ye,Range:lt,Repeat:ut,is:at,fromJS:nt}}()},function(t,e,r){"use strict";t.exports=function(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];if(!t){var o;if(void 0===e)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(o=new Error(e.replace(/%s/g,(function(){return String(n[a++])})))).name="Invariant Violation"}throw o.framesToPop=1,o}}},function(t,e,r){"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){i(t,e,r[e])}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(345),a=r(120),s=r(347),u=r(96),c=r(13),l=c.OrderedSet,f=c.Record,p=c.Stack,h=c.OrderedMap,d=c.List,g=f({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:p(),selection:null,treeMap:null,undoStack:p()}),y=function(){e.createEmpty=function(t){return this.createWithText("",t)},e.createWithText=function(t,r){return e.createWithContent(a.createFromText(t),r)},e.createWithContent=function(t,r){if(0===t.getBlockMap().count())return e.createEmpty(r);var n=t.getBlockMap().first().getKey();return e.create({currentContent:t,undoStack:p(),redoStack:p(),decorator:r||null,selection:u.createEmpty(n)})},e.create=function(t){var r=t.currentContent,i=n({},t,{treeMap:m(r,t.decorator),directionMap:s.getDirectionMap(r)});return new e(new g(i))},e.fromJS=function(t){return new e(new g(n({},t,{directionMap:null!=t.directionMap?h(t.directionMap):t.directionMap,inlineStyleOverride:null!=t.inlineStyleOverride?l(t.inlineStyleOverride):t.inlineStyleOverride,nativelyRenderedContent:null!=t.nativelyRenderedContent?a.fromJS(t.nativelyRenderedContent):t.nativelyRenderedContent,redoStack:null!=t.redoStack?p(t.redoStack.map((function(t){return a.fromJS(t)}))):t.redoStack,selection:null!=t.selection?new u(t.selection):t.selection,treeMap:null!=t.treeMap?h(t.treeMap).map((function(t){return d(t).map((function(t){return o.fromJS(t)}))})):t.treeMap,undoStack:null!=t.undoStack?p(t.undoStack.map((function(t){return a.fromJS(t)}))):t.undoStack,currentContent:a.fromJS(t.currentContent)})))},e.set=function(t,r){return new e(t.getImmutable().withMutations((function(e){var n=e.get("decorator"),i=n;null===r.decorator?i=null:r.decorator&&(i=r.decorator);var a=r.currentContent||t.getCurrentContent();if(i!==n){var s,u=e.get("treeMap");return s=i&&n?function(t,e,r,n,i){return r.merge(e.toSeq().filter((function(e){return n.getDecorations(e,t)!==i.getDecorations(e,t)})).map((function(e){return o.generate(t,e,n)})))}(a,a.getBlockMap(),u,i,n):m(a,i),void e.merge({decorator:i,treeMap:s,nativelyRenderedContent:null})}a!==t.getCurrentContent()&&e.set("treeMap",function(t,e,r,n){var i=t.getCurrentContent().set("entityMap",r),a=i.getBlockMap();return t.getImmutable().get("treeMap").merge(e.toSeq().filter((function(t,e){return t!==a.get(e)})).map((function(t){return o.generate(i,t,n)})))}(t,a.getBlockMap(),a.getEntityMap(),i)),e.merge(r)})))};var t=e.prototype;function e(t){i(this,"_immutable",void 0),this._immutable=t}return t.toJS=function(){return this.getImmutable().toJS()},t.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},t.getCurrentContent=function(){return this.getImmutable().get("currentContent")},t.getUndoStack=function(){return this.getImmutable().get("undoStack")},t.getRedoStack=function(){return this.getImmutable().get("redoStack")},t.getSelection=function(){return this.getImmutable().get("selection")},t.getDecorator=function(){return this.getImmutable().get("decorator")},t.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},t.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},t.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},t.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},t.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},e.setInlineStyleOverride=function(t,r){return e.set(t,{inlineStyleOverride:r})},t.getCurrentInlineStyle=function(){var t=this.getInlineStyleOverride();if(null!=t)return t;var e=this.getCurrentContent(),r=this.getSelection();return r.isCollapsed()?function(t,e){var r=e.getStartKey(),n=e.getStartOffset(),i=t.getBlockForKey(r);return n>0?i.getInlineStyleAt(n-1):i.getLength()?i.getInlineStyleAt(0):b(t,r)}(e,r):function(t,e){var r=e.getStartKey(),n=e.getStartOffset(),i=t.getBlockForKey(r);return n<i.getLength()?i.getInlineStyleAt(n):n>0?i.getInlineStyleAt(n-1):b(t,r)}(e,r)},t.getBlockTree=function(t){return this.getImmutable().getIn(["treeMap",t])},t.isSelectionAtStartOfContent=function(){var t=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(t,0,0)},t.isSelectionAtEndOfContent=function(){var t=this.getCurrentContent().getBlockMap().last(),e=t.getLength();return this.getSelection().hasEdgeWithin(t.getKey(),e,e)},t.getDirectionMap=function(){return this.getImmutable().get("directionMap")},e.acceptSelection=function(t,e){return v(t,e,!1)},e.forceSelection=function(t,e){return e.getHasFocus()||(e=e.set("hasFocus",!0)),v(t,e,!0)},e.moveSelectionToEnd=function(t){var r=t.getCurrentContent().getLastBlock(),n=r.getKey(),i=r.getLength();return e.acceptSelection(t,new u({anchorKey:n,anchorOffset:i,focusKey:n,focusOffset:i,isBackward:!1}))},e.moveFocusToEnd=function(t){var r=e.moveSelectionToEnd(t);return e.forceSelection(r,r.getSelection())},e.push=function(t,r,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t.getCurrentContent()===r)return t;var o=s.getDirectionMap(r,t.getDirectionMap());if(!t.getAllowUndo())return e.set(t,{currentContent:r,directionMap:o,lastChangeType:n,selection:r.getSelectionAfter(),forceSelection:i,inlineStyleOverride:null});var a=t.getSelection(),u=t.getCurrentContent(),c=t.getUndoStack(),l=r;a!==u.getSelectionAfter()||_(t,n)?(c=c.push(u),l=l.set("selectionBefore",a)):"insert-characters"!==n&&"backspace-character"!==n&&"delete-character"!==n||(l=l.set("selectionBefore",u.getSelectionBefore()));var f=t.getInlineStyleOverride(),h=["adjust-depth","change-block-type","split-block"];-1===h.indexOf(n)&&(f=null);var d={currentContent:l,directionMap:o,undoStack:c,redoStack:p(),lastChangeType:n,selection:r.getSelectionAfter(),forceSelection:i,inlineStyleOverride:f};return e.set(t,d)},e.undo=function(t){if(!t.getAllowUndo())return t;var r=t.getUndoStack(),n=r.peek();if(!n)return t;var i=t.getCurrentContent(),o=s.getDirectionMap(n,t.getDirectionMap());return e.set(t,{currentContent:n,directionMap:o,undoStack:r.shift(),redoStack:t.getRedoStack().push(i),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:i.getSelectionBefore()})},e.redo=function(t){if(!t.getAllowUndo())return t;var r=t.getRedoStack(),n=r.peek();if(!n)return t;var i=t.getCurrentContent(),o=s.getDirectionMap(n,t.getDirectionMap());return e.set(t,{currentContent:n,directionMap:o,undoStack:t.getUndoStack().push(i),redoStack:r.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:n.getSelectionAfter()})},t.getImmutable=function(){return this._immutable},e}();function v(t,e,r){return y.set(t,{selection:e,forceSelection:r,nativelyRenderedContent:null,inlineStyleOverride:null})}function m(t,e){return t.getBlockMap().map((function(r){return o.generate(t,r,e)})).toOrderedMap()}function _(t,e){return e!==t.getLastChangeType()||"insert-characters"!==e&&"backspace-character"!==e&&"delete-character"!==e}function b(t,e){var r=t.getBlockMap().reverse().skipUntil((function(t,r){return r===e})).skip(1).skipUntil((function(t,e){return t.getLength()})).first();return r?r.getInlineStyleAt(r.getLength()-1):l()}t.exports=y},,,,,,,,,function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},,function(t,e,r){"use strict";var n=r(30),i=r(335),o=r(336),a=r(338),s=r(94),u=r(13),c=r(341),l=r(342),f=r(14),p=r(168),h=r(166),d=r(343),g=r(344),y=u.OrderedSet,v={replaceText:function(t,e,r,i,o){var a=h(t,e),s=d(a,e),u=n.create({style:i||y(),entity:o||null});return l(s,s.getSelectionAfter(),r,u)},insertText:function(t,e,r,n,i){return e.isCollapsed()||f(!1),v.replaceText(t,e,r,n,i)},moveText:function(t,e,r){var n=s(t,e),i=v.removeRange(t,e,"backward");return v.replaceWithFragment(i,r,n)},replaceWithFragment:function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",i=h(t,e),o=d(i,e);return c(o,o.getSelectionAfter(),r,n)},removeRange:function(t,e,r){var n,i,o,s;e.getIsBackward()&&(e=e.merge({anchorKey:e.getFocusKey(),anchorOffset:e.getFocusOffset(),focusKey:e.getAnchorKey(),focusOffset:e.getAnchorOffset(),isBackward:!1})),n=e.getAnchorKey(),i=e.getFocusKey(),o=t.getBlockForKey(n),s=t.getBlockForKey(i);var u=e.getStartOffset(),c=e.getEndOffset(),l=o.getEntityAt(u),f=s.getEntityAt(c-1);if(n===i&&l&&l===f){var p=a(t.getEntityMap(),o,s,e,r);return d(t,p)}var g=h(t,e);return d(g,e)},splitBlock:function(t,e){var r=h(t,e),n=d(r,e);return g(n,n.getSelectionAfter())},applyInlineStyle:function(t,e,r){return i.add(t,e,r)},removeInlineStyle:function(t,e,r){return i.remove(t,e,r)},setBlockType:function(t,e,r){return p(t,e,(function(t){return t.merge({type:r,depth:0})}))},setBlockData:function(t,e,r){return p(t,e,(function(t){return t.merge({data:r})}))},mergeBlockData:function(t,e,r){return p(t,e,(function(t){return t.merge({data:t.getData().merge(r)})}))},applyEntity:function(t,e,r){var n=h(t,e);return o(n,e,r)}};t.exports=v},function(t,e,r){"use strict";t.exports=function(t){if(null!=t)return t;throw new Error("Got unexpected null or undefined")}},function(t,e,r){"use strict";var n=r(354),i=r(356),o=r(357),a=r(358);function s(t,e,r,n){if(t===r)return!0;if(!r.startsWith(t))return!1;var o=r.slice(t.length);return!!e&&(o=n?n(o):o,i.contains(o,e))}function u(t){return"Windows"===n.platformName?t.replace(/^\s*NT/,""):t}var c={isBrowser:function(t){return s(n.browserName,n.browserFullVersion,t)},isBrowserArchitecture:function(t){return s(n.browserArchitecture,null,t)},isDevice:function(t){return s(n.deviceName,null,t)},isEngine:function(t){return s(n.engineName,n.engineVersion,t)},isPlatform:function(t){return s(n.platformName,n.platformFullVersion,t,u)},isPlatformArchitecture:function(t){return s(n.platformArchitecture,null,t)}};t.exports=o(c,a)},,function(t,e,r){"use strict";var n=r(13),i=n.Map,o=n.OrderedSet,a=n.Record,s=o(),u={style:s,entity:null},c=function(t){var e,r;function n(){return t.apply(this,arguments)||this}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var a=n.prototype;return a.getStyle=function(){return this.get("style")},a.getEntity=function(){return this.get("entity")},a.hasStyle=function(t){return this.getStyle().includes(t)},n.applyStyle=function(t,e){var r=t.set("style",t.getStyle().add(e));return n.create(r)},n.removeStyle=function(t,e){var r=t.set("style",t.getStyle().remove(e));return n.create(r)},n.applyEntity=function(t,e){var r=t.getEntity()===e?t:t.set("entity",e);return n.create(r)},n.create=function(t){if(!t)return l;var e=i({style:s,entity:null}).merge(t),r=f.get(e);if(r)return r;var o=new n(e);return f=f.set(e,o),o},n.fromJS=function(t){var e=t.style,r=t.entity;return new n({style:Array.isArray(e)?o(e):e,entity:Array.isArray(r)?o(r):r})},n}(a(u)),l=new c,f=i([[i(u),l]]);c.EMPTY=l,t.exports=c},function(t,e,r){"use strict";var n=r(30),i=r(74),o=r(13),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},h=function(t,e){return t.getStyle()===e.getStyle()},d=function(t,e){return t.getEntity()===e.getEntity()},g=function(t){if(!t)return t;var e=t.characterList,r=t.text;return r&&!e&&(t.characterList=a(l(n.EMPTY,r.length))),t},y=function(t){var e,r;function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return t.call(this,g(e))||this}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var o=n.prototype;return o.getKey=function(){return this.get("key")},o.getType=function(){return this.get("type")},o.getText=function(){return this.get("text")},o.getCharacterList=function(){return this.get("characterList")},o.getLength=function(){return this.getText().length},o.getDepth=function(){return this.get("depth")},o.getData=function(){return this.get("data")},o.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():f},o.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},o.getChildKeys=function(){return this.get("children")},o.getParentKey=function(){return this.get("parent")},o.getPrevSiblingKey=function(){return this.get("prevSibling")},o.getNextSiblingKey=function(){return this.get("nextSibling")},o.findStyleRanges=function(t,e){i(this.getCharacterList(),h,t,e)},o.findEntityRanges=function(t,e){i(this.getCharacterList(),d,t,e)},n}(c(p));t.exports=y},,,,function(t,e,r){"use strict";var n={},i=Math.pow(2,24);t.exports=function(){for(var t;void 0===t||n.hasOwnProperty(t)||!isNaN(+t);)t=Math.floor(Math.random()*i).toString(32);return n[t]=!0,t}},function(t,e,r){"use strict";var n={encode:function(t,e,r){return t+"-"+e+"-"+r},decode:function(t){var e=t.split("-").reverse(),r=e[0],n=e[1];return{blockKey:e.slice(2).reverse().join("-"),decoratorKey:parseInt(n,10),leafKey:parseInt(r,10)}}};t.exports=n},,function(t,e){t.exports=window.ReactDOM},,,,,function(t,e,r){"use strict";t.exports=function(t){return!("undefined"==typeof window||!window.__DRAFT_GKX||!window.__DRAFT_GKX[t])}},,,,,,function(t,e){var r,n,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(r===setTimeout)return setTimeout(t,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:o}catch(t){r=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(t){n=a}}();var u,c=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&h())}function h(){if(!l){var t=s(p);l=!0;for(var e=c.length;e;){for(u=c,c=[];++f<e;)u&&u[f].run();f=-1,e=c.length}u=null,l=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function g(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];c.push(new d(t,e)),1!==c.length||l||s(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e,r){"use strict";var n=r(30),i=r(74),o=r(13),a=o.List,s=o.Map,u=o.OrderedSet,c=o.Record,l=o.Repeat,f=u(),p=function(t){var e,r;function o(e){return t.call(this,function(t){if(!t)return t;var e=t.characterList,r=t.text;return r&&!e&&(t.characterList=a(l(n.EMPTY,r.length))),t}(e))||this}r=t,(e=o).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var s=o.prototype;return s.getKey=function(){return this.get("key")},s.getType=function(){return this.get("type")},s.getText=function(){return this.get("text")},s.getCharacterList=function(){return this.get("characterList")},s.getLength=function(){return this.getText().length},s.getDepth=function(){return this.get("depth")},s.getData=function(){return this.get("data")},s.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():f},s.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},s.findStyleRanges=function(t,e){i(this.getCharacterList(),h,t,e)},s.findEntityRanges=function(t,e){i(this.getCharacterList(),d,t,e)},o}(c({key:"",type:"unstyled",text:"",characterList:a(),depth:0,data:s()}));function h(t,e){return t.getStyle()===e.getStyle()}function d(t,e){return t.getEntity()===e.getEntity()}t.exports=p},function(t,e,r){"use strict";function n(t){return t.replace(/\//g,"-")}t.exports=function(t){return"object"==typeof t?Object.keys(t).filter((function(e){return t[e]})).map(n).join(" "):Array.prototype.map.call(arguments,n).join(" ")}},function(t,e,r){"use strict";var n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(t){n[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var r,s,u=a(t),c=1;c<arguments.length;c++){for(var l in r=Object(arguments[c]))i.call(r,l)&&(u[l]=r[l]);if(n){s=n(r);for(var f=0;f<s.length;f++)o.call(r,s[f])&&(u[s[f]]=r[s[f]])}}return u}},function(t,e,r){"use strict";t.exports=function(t){return!(!t||!t.ownerDocument)&&t.nodeType===Node.ELEMENT_NODE}},function(t,e,r){"use strict";var n=r(14),i=/[\uD800-\uDFFF]/;function o(t){return 55296<=t&&t<=57343}function a(t){return i.test(t)}function s(t,e){return 1+o(t.charCodeAt(e))}function u(t,e,r){if(e=e||0,r=void 0===r?1/0:r||0,!a(t))return t.substr(e,r);var n=t.length;if(n<=0||e>n||r<=0)return"";var i=0;if(e>0){for(;e>0&&i<n;e--)i+=s(t,i);if(i>=n)return""}else if(e<0){for(i=n;e<0&&0<i;e++)i-=s(t,i-1);i<0&&(i=0)}var o=n;if(r<n)for(o=i;r>0&&o<n;r--)o+=s(t,o);return t.substring(i,o)}var c={getCodePoints:function(t){for(var e=[],r=0;r<t.length;r+=s(t,r))e.push(t.codePointAt(r));return e},getUTF16Length:s,hasSurrogateUnit:a,isCodeUnitInSurrogateRange:o,isSurrogatePair:function(t,e){if(0<=e&&e<t.length||n(!1),e+1===t.length)return!1;var r=t.charCodeAt(e),i=t.charCodeAt(e+1);return 55296<=r&&r<=56319&&56320<=i&&i<=57343},strlen:function(t){if(!a(t))return t.length;for(var e=0,r=0;r<t.length;r+=s(t,r))e++;return e},substring:function(t,e,r){(e=e||0)<0&&(e=0),(r=void 0===r?1/0:r||0)<0&&(r=0);var n=Math.abs(r-e);return u(t,e=e<r?e:r,n)},substr:u};t.exports=c},,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";var n=r(13).OrderedMap,i={createFromArray:function(t){return n(t.map((function(t){return[t.getKey(),t]})))}};t.exports=i},function(t,e,r){"use strict";t.exports=function(t,e,r,n){if(t.size){var i=0;t.reduce((function(t,o,a){return e(t,o)||(r(t)&&n(i,a),i=a),o})),r(t.last())&&n(i,t.count())}}},function(t,e,r){"use strict";t.exports=function(t){return!(!t||!t.ownerDocument)&&(t.ownerDocument.defaultView?t instanceof t.ownerDocument.defaultView.HTMLElement:t instanceof HTMLElement)}},function(t,e,r){"use strict";var n=r(26),i=r(43)("draft_tree_data_support");t.exports=function(t,e,r){var o=t.getSelection(),a=t.getCurrentContent(),s=o,u=o.getAnchorKey(),c=o.getFocusKey(),l=a.getBlockForKey(u);if(i&&"forward"===r&&u!==c)return a;if(o.isCollapsed()){if("forward"===r){if(t.isSelectionAtEndOfContent())return a;if(i&&o.getAnchorOffset()===a.getBlockForKey(u).getLength()){var f=a.getBlockForKey(l.nextSibling);if(!f||0===f.getLength())return a}}else if(t.isSelectionAtStartOfContent())return a;if((s=e(t))===o)return a}return n.removeRange(a,s,r)}},,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";var n=r(165),i=r(166);t.exports=function(t,e){var r=e.getStartKey(),o=e.getStartOffset(),a=e.getEndKey(),s=e.getEndOffset(),u=i(t,e).getBlockMap(),c=u.keySeq(),l=c.indexOf(r),f=c.indexOf(a)+1;return n(u.slice(l,f).map((function(t,e){var n=t.getText(),i=t.getCharacterList();return r===a?t.merge({text:n.slice(o,s),characterList:i.slice(o,s)}):e===r?t.merge({text:n.slice(o),characterList:i.slice(o)}):e===a?t.merge({text:n.slice(0,s),characterList:i.slice(0,s)}):t})))}},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i=r(171),o=r(13),a=r(14),s=r(346),u=(0,o.Map)(),c=s();function l(t,e){console.warn("WARNING: "+t+' will be deprecated soon!\nPlease use "'+e+'" instead.')}var f={getLastCreatedEntityKey:function(){return l("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),f.__getLastCreatedEntityKey()},create:function(t,e,r){return l("DraftEntity.create","contentState.createEntity"),f.__create(t,e,r)},add:function(t){return l("DraftEntity.add","contentState.addEntity"),f.__add(t)},get:function(t){return l("DraftEntity.get","contentState.getEntity"),f.__get(t)},__getAll:function(){return u},__loadWithEntities:function(t){u=t,c=s()},mergeData:function(t,e){return l("DraftEntity.mergeData","contentState.mergeEntityData"),f.__mergeData(t,e)},replaceData:function(t,e){return l("DraftEntity.replaceData","contentState.replaceEntityData"),f.__replaceData(t,e)},__getLastCreatedEntityKey:function(){return c},__create:function(t,e,r){return f.__add(new i({type:t,mutability:e,data:r||{}}))},__add:function(t){return c=s(),u=u.set(c,t),c},__get:function(t){var e=u.get(t);return e||a(!1),e},__mergeData:function(t,e){var r=f.__get(t),i=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},i=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),i.forEach((function(e){n(t,e,r[e])}))}return t}({},r.getData(),e),o=r.set("data",i);return u=u.set(t,o),o},__replaceData:function(t,e){var r=f.__get(t).set("data",e);return u=u.set(t,r),r}};t.exports=f},function(t,e,r){"use strict";var n=function(t){var e,r;function n(){return t.apply(this,arguments)||this}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var i=n.prototype;return i.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},i.getAnchorKey=function(){return this.get("anchorKey")},i.getAnchorOffset=function(){return this.get("anchorOffset")},i.getFocusKey=function(){return this.get("focusKey")},i.getFocusOffset=function(){return this.get("focusOffset")},i.getIsBackward=function(){return this.get("isBackward")},i.getHasFocus=function(){return this.get("hasFocus")},i.hasEdgeWithin=function(t,e,r){var n=this.getAnchorKey(),i=this.getFocusKey();if(n===i&&n===t){var o=this.getStartOffset(),a=this.getEndOffset();return e<=o&&o<=r||e<=a&&a<=r}if(t!==n&&t!==i)return!1;var s=t===n?this.getAnchorOffset():this.getFocusOffset();return e<=s&&r>=s},i.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},i.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},i.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},i.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},i.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},n.createEmpty=function(t){return new n({anchorKey:t,anchorOffset:0,focusKey:t,focusOffset:0,isBackward:!1,hasFocus:!1})},n}((0,r(13).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));t.exports=n},function(t,e,r){"use strict";var n=r(14),i=null;function o(t){return"LTR"===t||"RTL"===t}function a(t){return o(t)||n(!1),"LTR"===t?"ltr":"rtl"}function s(t){i=t}var u={NEUTRAL:"NEUTRAL",LTR:"LTR",RTL:"RTL",isStrong:o,getHTMLDir:a,getHTMLDirIfDifferent:function(t,e){return o(t)||n(!1),o(e)||n(!1),t===e?null:a(t)},setGlobalDir:s,initGlobalDir:function(){s("LTR")},getGlobalDir:function(){return i||this.initGlobalDir(),i||n(!1),i}};t.exports=u},function(t,e,r){"use strict";var n=r(99),i=r(174);t.exports=function(t){for(var e=t;e&&e!==n(t).documentElement;){var r=i(e);if(null!=r)return r;e=e.parentNode}return null}},function(t,e,r){"use strict";t.exports=function(t){return t&&t.ownerDocument?t.ownerDocument:document}},function(t,e,r){"use strict";t.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(t,e,r){"use strict";function n(t,e){var r=i.get(t,e);return"auto"===r||"scroll"===r}var i={get:r(368),getScrollParent:function(t){if(!t)return null;for(var e=t.ownerDocument;t&&t!==e.body;){if(n(t,"overflow")||n(t,"overflowY")||n(t,"overflowX"))return t;t=t.parentNode}return e.defaultView||e.parentWindow}};t.exports=i},function(t,e,r){"use strict";var n=r(372),i=r(373);t.exports=function(t){var e=n(t.ownerDocument||t.document);t.Window&&t instanceof t.Window&&(t=e);var r=i(t),o=t===e?t.ownerDocument.documentElement:t,a=t.scrollWidth-o.clientWidth,s=t.scrollHeight-o.clientHeight;return r.x=Math.max(0,Math.min(r.x,a)),r.y=Math.max(0,Math.min(r.y,s)),r}},function(t,e,r){"use strict";t.exports=function(t){return"handled"===t||!0===t}},,,,,,,,,,,,,,,,,function(t,e,r){"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){i(t,e,r[e])}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(73),a=r(30),s=r(50),u=r(31),c=r(95),l=r(96),f=r(35),p=r(170),h=r(43),d=r(13),g=r(172),y=d.List,v=d.Record,m=d.Repeat,_=d.Map,b=d.OrderedMap,S=v({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),w=h("draft_tree_data_support")?u:s,x=function(t){var e,r;function i(){return t.apply(this,arguments)||this}r=t,(e=i).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var s=i.prototype;return s.getEntityMap=function(){return c},s.getBlockMap=function(){return this.get("blockMap")},s.getSelectionBefore=function(){return this.get("selectionBefore")},s.getSelectionAfter=function(){return this.get("selectionAfter")},s.getBlockForKey=function(t){return this.getBlockMap().get(t)},s.getKeyBefore=function(t){return this.getBlockMap().reverse().keySeq().skipUntil((function(e){return e===t})).skip(1).first()},s.getKeyAfter=function(t){return this.getBlockMap().keySeq().skipUntil((function(e){return e===t})).skip(1).first()},s.getBlockAfter=function(t){return this.getBlockMap().skipUntil((function(e,r){return r===t})).skip(1).first()},s.getBlockBefore=function(t){return this.getBlockMap().reverse().skipUntil((function(e,r){return r===t})).skip(1).first()},s.getBlocksAsArray=function(){return this.getBlockMap().toArray()},s.getFirstBlock=function(){return this.getBlockMap().first()},s.getLastBlock=function(){return this.getBlockMap().last()},s.getPlainText=function(t){return this.getBlockMap().map((function(t){return t?t.getText():""})).join(t||"\n")},s.getLastCreatedEntityKey=function(){return c.__getLastCreatedEntityKey()},s.hasText=function(){var t=this.getBlockMap();return t.size>1||escape(t.first().getText()).replace(/%u200B/g,"").length>0},s.createEntity=function(t,e,r){return c.__create(t,e,r),this},s.mergeEntityData=function(t,e){return c.__mergeData(t,e),this},s.replaceEntityData=function(t,e){return c.__replaceData(t,e),this},s.addEntity=function(t){return c.__add(t),this},s.getEntity=function(t){return c.__get(t)},s.getAllEntities=function(){return c.__getAll()},s.loadWithEntities=function(t){return c.__loadWithEntities(t)},i.createFromBlockArray=function(t,e){var r=Array.isArray(t)?t:t.contentBlocks,n=o.createFromArray(r),a=n.isEmpty()?new l:l.createEmpty(n.first().getKey());return new i({blockMap:n,entityMap:e||c,selectionBefore:a,selectionAfter:a})},i.createFromText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,r=t.split(e),n=r.map((function(t){return t=g(t),new w({key:f(),text:t,type:"unstyled",characterList:y(m(a.EMPTY,t.length))})}));return i.createFromBlockArray(n)},i.fromJS=function(t){return new i(n({},t,{blockMap:b(t.blockMap).map(i.createContentBlockFromJS),selectionBefore:new l(t.selectionBefore),selectionAfter:new l(t.selectionAfter)}))},i.createContentBlockFromJS=function(t){var e=t.characterList;return new w(n({},t,{data:_(t.data),characterList:null!=e?y((Array.isArray(e)?e:p(e)).map((function(t){return a.fromJS(t)}))):void 0}))},i}(S);t.exports=x},function(t,e,r){"use strict";var n=r(97),i=r(14),o="֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",a="؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾",s=new RegExp("[A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+o+a+"]"),u=new RegExp("["+o+a+"]");function c(t){var e=s.exec(t);return null==e?null:e[0]}function l(t){var e=c(t);return null==e?n.NEUTRAL:u.exec(e)?n.RTL:n.LTR}function f(t,e){if(e=e||n.NEUTRAL,!t.length)return e;var r=l(t);return r===n.NEUTRAL?e:r}function p(t,e){return e||(e=n.getGlobalDir()),n.isStrong(e)||i(!1),f(t,e)}var h={firstStrongChar:c,firstStrongCharDir:l,resolveBlockDir:f,getDirection:p,isDirectionLTR:function(t,e){return p(t,e)===n.LTR},isDirectionRTL:function(t,e){return p(t,e)===n.RTL}};t.exports=h},function(t,e,r){"use strict";var n=r(3),i=r(51),o=(0,r(13).Map)({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:n.createElement("ul",{className:i("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:n.createElement("ol",{className:i("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:n.createElement("pre",{className:i("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}});t.exports=o},function(t,e,r){"use strict";var n=r(182).notEmptyKey;function i(t,e){return n(e)&&"MUTABLE"===t.__get(e).getMutability()?e:null}t.exports=function(t,e){var r;if(e.isCollapsed()){var n=e.getAnchorKey(),o=e.getAnchorOffset();return o>0?(r=t.getBlockForKey(n).getEntityAt(o-1))!==t.getBlockForKey(n).getEntityAt(o)?null:i(t.getEntityMap(),r):null}var a=e.getStartKey(),s=e.getStartOffset(),u=t.getBlockForKey(a);return r=s===u.getLength()?null:u.getEntityAt(s),i(t.getEntityMap(),r)}},function(t,e,r){"use strict";var n=r(366);t.exports=function t(e,r){return!(!e||!r)&&(e===r||!n(e)&&(n(r)?t(e,r.parentNode):"contains"in e?e.contains(r):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(r))))}},function(t,e,r){"use strict";function n(t,e){return!!e&&(t===e.documentElement||t===e.body)}var i={getTop:function(t){var e=t.ownerDocument;return n(t,e)?e.body.scrollTop||e.documentElement.scrollTop:t.scrollTop},setTop:function(t,e){var r=t.ownerDocument;n(t,r)?r.body.scrollTop=r.documentElement.scrollTop=e:t.scrollTop=e},getLeft:function(t){var e=t.ownerDocument;return n(t,e)?e.body.scrollLeft||e.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,e){var r=t.ownerDocument;n(t,r)?r.body.scrollLeft=r.documentElement.scrollLeft=e:t.scrollLeft=e}};t.exports=i},function(t,e,r){"use strict";r(127),t.exports=function(t,e){var r=t.getSelection(),n=t.getCurrentContent(),i=r.getStartKey(),o=r.getStartOffset(),a=i,s=0;if(e>o){var u=n.getKeyBefore(i);null==u?a=i:(a=u,s=n.getBlockForKey(u).getText().length)}else s=o-e;return r.merge({focusKey:a,focusOffset:s,isBackward:!0})}},function(t,e,r){"use strict";var n=r(191);t.exports=n},function(t,e,r){"use strict";var n=r(28),i=r(394),o=n.isPlatform("Mac OS X"),a={isCtrlKeyCommand:function(t){return!!t.ctrlKey&&!t.altKey},isOptionKeyCommand:function(t){return o&&t.altKey},usesMacOSHeuristics:function(){return o},hasCommandModifier:function(t){return o?!!t.metaKey&&!t.altKey:a.isCtrlKeyCommand(t)},isSoftNewlineEvent:i};t.exports=a},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";var n=r(31),i=r(35),o=r(13).OrderedMap;t.exports=function(t){return t.first()instanceof n?function(t){var e,r={};return o(t.withMutations((function(t){t.forEach((function(n,o){var a=n.getKey(),s=n.getNextSiblingKey(),u=n.getPrevSiblingKey(),c=n.getChildKeys(),l=n.getParentKey(),f=i();if(r[a]=f,s&&(t.get(s)?t.setIn([s,"prevSibling"],f):t.setIn([a,"nextSibling"],null)),u&&(t.get(u)?t.setIn([u,"nextSibling"],f):t.setIn([a,"prevSibling"],null)),l&&t.get(l)){var p=t.get(l).getChildKeys();t.setIn([l,"children"],p.set(p.indexOf(n.getKey()),f))}else t.setIn([a,"parent"],null),e&&(t.setIn([e.getKey(),"nextSibling"],f),t.setIn([a,"prevSibling"],r[e.getKey()])),e=t.get(a);c.forEach((function(e){t.get(e)?t.setIn([e,"parent"],f):t.setIn([a,"children"],n.getChildKeys().filter((function(t){return t!==e})))}))}))})).toArray().map((function(t){return[r[t.getKey()],t.set("key",r[t.getKey()])]})))}(t):function(t){return o(t.toArray().map((function(t){var e=i();return[e,t.set("key",e)]})))}(t)}},function(t,e,r){"use strict";var n=r(30),i=r(74),o=r(14);function a(t,e,r){var a=e.getCharacterList(),s=r>0?a.get(r-1):void 0,u=r<a.count()?a.get(r):void 0,c=s?s.getEntity():void 0,l=u?u.getEntity():void 0;if(l&&l===c&&"MUTABLE"!==t.__get(l).getMutability()){for(var f,p=function(t,e,r){var n;return i(t,(function(t,e){return t.getEntity()===e.getEntity()}),(function(t){return t.getEntity()===e}),(function(t,e){t<=r&&e>=r&&(n={start:t,end:e})})),"object"!=typeof n&&o(!1),n}(a,l,r),h=p.start,d=p.end;h<d;)f=a.get(h),a=a.set(h,n.applyEntity(f,null)),h++;return e.set("characterList",a)}return e}t.exports=function(t,e){var r=t.getBlockMap(),n=t.getEntityMap(),i={},o=e.getStartKey(),s=e.getStartOffset(),u=r.get(o),c=a(n,u,s);c!==u&&(i[o]=c);var l=e.getEndKey(),f=e.getEndOffset(),p=r.get(l);o===l&&(p=c);var h=a(n,p,f);return h!==p&&(i[l]=h),Object.keys(i).length?t.merge({blockMap:r.merge(i),selectionAfter:e}):t.set("selectionAfter",e)}},function(t,e,r){"use strict";t.exports=function(t,e,r){var n=t;if(r===n.count())e.forEach((function(t){n=n.push(t)}));else if(0===r)e.reverse().forEach((function(t){n=n.unshift(t)}));else{var i=n.slice(0,r),o=n.slice(r);n=i.concat(e,o).toList()}return n}},function(t,e,r){"use strict";var n=r(13).Map;t.exports=function(t,e,r){var i=e.getStartKey(),o=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil((function(t,e){return e===i})).takeUntil((function(t,e){return e===o})).concat(n([[o,a.get(o)]])).map(r);return t.merge({blockMap:a.merge(s),selectionBefore:e,selectionAfter:e})}},function(t,e,r){"use strict";var n=r(31);t.exports=function(t,e){if(!(t instanceof n))return null;var r=t.getNextSiblingKey();if(r)return r;var i=t.getParentKey();if(!i)return null;for(var o=e.get(i);o&&!o.getNextSiblingKey();){var a=o.getParentKey();o=a?e.get(a):null}return o?o.getNextSiblingKey():null}},function(t,e,r){"use strict";t.exports=function(t){return Object.keys(t).map((function(e){return t[e]}))}},function(t,e,r){"use strict";var n=function(t){var e,r;function n(){return t.apply(this,arguments)||this}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var i=n.prototype;return i.getType=function(){return this.get("type")},i.getMutability=function(){return this.get("mutability")},i.getData=function(){return this.get("data")},n}((0,r(13).Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object}));t.exports=n},function(t,e,r){"use strict";var n=new RegExp("\r","g");t.exports=function(t){return t.replace(n,"")}},function(t,e,r){"use strict";t.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},function(t,e,r){"use strict";var n=r(53);t.exports=function t(e){if(n(e)){var r=e,i=r.getAttribute("data-offset-key");if(i)return i;for(var o=0;o<r.childNodes.length;o++){var a=t(r.childNodes[o]);if(a)return a}}return null}},function(t,e,r){"use strict";t.exports=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}},function(t,e,r){"use strict";var n=r(177),i=r(15),o=r(178),a=r(179);t.exports=function(t){if(t._blockSelectEvents||t._latestEditorState!==t.props.editorState){if(t._blockSelectEvents){var e=t.props.editorState.getSelection();n.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(e.toJS())})}}else{var r=t.props.editorState,s=a(r,o(t)),u=s.selectionState;u!==r.getSelection()&&(r=s.needsRecovery?i.forceSelection(r,u):i.acceptSelection(r,u),t.update(r))}}},function(t,e,r){"use strict";t.exports={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}}},function(t,e,r){"use strict";var n=r(14),i=r(75);t.exports=function(t){var e=t.editorContainer;return e||n(!1),i(e.firstChild)||n(!1),e.firstChild}},function(t,e,r){"use strict";var n=r(180);t.exports=function(t,e){var r=e.ownerDocument.defaultView.getSelection(),i=r.anchorNode,o=r.anchorOffset,a=r.focusNode,s=r.focusOffset;return 0===r.rangeCount||null==i||null==a?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:n(t,e,i,o,a,s)}},function(t,e,r){"use strict";var n=r(98),i=r(174),o=r(181),a=r(14),s=r(53),u=r(27);function c(t,e,r){var o=e,c=n(o);if(null!=c||t&&(t===o||t.firstChild===o)||a(!1),t===o&&(o=o.firstChild,s(o)||a(!1),"true"!==(o=o).getAttribute("data-contents")&&a(!1),r>0&&(r=o.childNodes.length)),0===r){var f=null;if(null!=c)f=c;else{var p=function(t){for(;t.firstChild&&(s(t.firstChild)&&"true"===t.firstChild.getAttribute("data-blocks")||i(t.firstChild));)t=t.firstChild;return t}(o);f=u(i(p))}return{key:f,offset:0}}var h=o.childNodes[r-1],d=null,g=null;if(i(h)){var y=function(t){for(;t.lastChild&&(s(t.lastChild)&&"true"===t.lastChild.getAttribute("data-blocks")||i(t.lastChild));)t=t.lastChild;return t}(h);d=u(i(y)),g=l(y)}else d=u(c),g=l(h);return{key:d,offset:g}}function l(t){var e=t.textContent;return"\n"===e?0:e.length}t.exports=function(t,e,r,i,a,s){var l=r.nodeType===Node.TEXT_NODE,f=a.nodeType===Node.TEXT_NODE;if(l&&f)return{selectionState:o(t,u(n(r)),i,u(n(a)),s),needsRecovery:!1};var p=null,h=null,d=!0;return l?(p={key:u(n(r)),offset:i},h=c(e,a,s)):f?(h={key:u(n(a)),offset:s},p=c(e,r,i)):(p=c(e,r,i),h=c(e,a,s),r===a&&i===s&&(d=!!r.firstChild&&"BR"!==r.firstChild.nodeName)),{selectionState:o(t,p.key,p.offset,h.key,h.offset),needsRecovery:d}}},function(t,e,r){"use strict";var n=r(36),i=r(27);t.exports=function(t,e,r,o,a){var s=i(t.getSelection());if(!e||!o)return s;var u=n.decode(e),c=u.blockKey,l=t.getBlockTree(c),f=l&&l.getIn([u.decoratorKey,"leaves",u.leafKey]),p=n.decode(o),h=p.blockKey,d=t.getBlockTree(h),g=d&&d.getIn([p.decoratorKey,"leaves",p.leafKey]);if(!f||!g)return s;var y=f.get("start"),v=g.get("start"),m=f?y+r:null,_=g?v+a:null;if(s.getAnchorKey()===c&&s.getAnchorOffset()===m&&s.getFocusKey()===h&&s.getFocusOffset()===_)return s;var b=!1;if(c===h){var S=f.get("end"),w=g.get("end");b=v===y&&w===S?a<r:v<y}else b=t.getCurrentContent().getBlockMap().keySeq().skipUntil((function(t){return t===c||t===h})).first()===h;return s.merge({anchorKey:c,anchorOffset:m,focusKey:h,focusOffset:_,isBackward:b})}},function(t,e,r){"use strict";t.exports={notEmptyKey:function(t){return null!=t&&""!=t}}},function(t,e,r){"use strict";var n=r(52);function i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var a=r(364),s=r(3),u=r(14),c=r(184),l=r(365).setDraftEditorSelection,f=function(t){var e,r;function f(){for(var e,r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return o(i(e=t.call.apply(t,[this].concat(n))||this),"leaf",void 0),e}r=t,(e=f).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var p=f.prototype;return p._setSelection=function(){var t=this.props.selection;if(null!=t&&t.getHasFocus()){var e=this.props,r=e.block,n=e.start,i=e.text,o=r.getKey(),a=n+i.length;if(t.hasEdgeWithin(o,n,a)){var s=this.leaf;s||u(!1);var f,p=s.firstChild;p||u(!1),p.nodeType===Node.TEXT_NODE?f=p:c(p)?f=s:(f=p.firstChild)||u(!1),l(t,f,o,n,a)}}},p.shouldComponentUpdate=function(t){var e=this.leaf;return e||u(!1),e.textContent!==t.text||t.styleSet!==this.props.styleSet||t.forceSelection},p.componentDidUpdate=function(){this._setSelection()},p.componentDidMount=function(){this._setSelection()},p.render=function(){var t=this,e=this.props.block,r=this.props.text;r.endsWith("\n")&&this.props.isLast&&(r+="\n");var i=this.props,o=i.customStyleMap,u=i.customStyleFn,c=i.offsetKey,l=i.styleSet,f=l.reduce((function(t,e){var r={},i=o[e];return void 0!==i&&t.textDecoration!==i.textDecoration&&(r.textDecoration=[t.textDecoration,i.textDecoration].join(" ").trim()),n(t,i,r)}),{});if(u){var p=u(l,e);f=n(f,p)}return s.createElement("span",{"data-offset-key":c,ref:function(e){return t.leaf=e},style:f},s.createElement(a,null,r))},f}(s.Component);t.exports=f},function(t,e,r){"use strict";var n=r(53);t.exports=function(t){return!(!t||!t.ownerDocument)&&n(t)&&"BR"===t.nodeName}},function(t,e,r){"use strict";t.exports={initODS:function(){},handleExtensionCausedError:function(){}}},function(t,e,r){"use strict";t.exports=function(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}},function(t,e,r){"use strict";var n=r(371);t.exports=function(t){var e=n(t);return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}},function(t,e,r){"use strict";function n(){var t;return document.documentElement&&(t=document.documentElement.clientWidth),!t&&document.body&&(t=document.body.clientWidth),t||0}function i(){var t;return document.documentElement&&(t=document.documentElement.clientHeight),!t&&document.body&&(t=document.body.clientHeight),t||0}function o(){return{width:window.innerWidth||n(),height:window.innerHeight||i()}}o.withoutScrollbars=function(){return{width:n(),height:i()}},t.exports=o},function(t,e,r){"use strict";var n=r(52);function i(){return(i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function o(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var s=r(183),u=r(36),c=r(3),l=r(125),f=r(101),p=r(121),h=r(97),d=r(51),g=r(187),y=r(102),v=r(188),m=r(14),_=r(75),b=r(27),S=function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e},w=function(t){var e,r;function n(){for(var e,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return a(o(e=t.call.apply(t,[this].concat(n))||this),"_node",void 0),e}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var w=n.prototype;return w.shouldComponentUpdate=function(t){return this.props.block!==t.block||this.props.tree!==t.tree||this.props.direction!==t.direction||S(t.selection,t.block.getKey())&&t.forceSelection},w.componentDidMount=function(){if(!this.props.preventScroll){var t=this.props.selection,e=t.getEndKey();if(t.getHasFocus()&&e===this.props.block.getKey()){var r=this._node;if(null!=r){var n,i=f.getScrollParent(r),o=y(i);if(i===window){var a=g(r);(n=a.y+a.height-v().height)>0&&window.scrollTo(o.x,o.y+n+10)}else _(r)||m(!1),(n=r.offsetHeight+r.offsetTop-(i.offsetTop+i.offsetHeight+o.y))>0&&l.setTop(i,l.getTop(i)+n+10)}}}},w._renderChildren=function(){var t=this,e=this.props.block,r=e.getKey(),n=e.getText(),o=this.props.tree.size-1,a=S(this.props.selection,r);return this.props.tree.map((function(l,f){var d=l.get("leaves");if(0===d.size)return null;var g=d.size-1,y=d.map((function(i,l){var p=u.encode(r,f,l),h=i.get("start"),d=i.get("end");return c.createElement(s,{key:p,offsetKey:p,block:e,start:h,selection:a?t.props.selection:null,forceSelection:t.props.forceSelection,text:n.slice(h,d),styleSet:e.getInlineStyleAt(h),customStyleMap:t.props.customStyleMap,customStyleFn:t.props.customStyleFn,isLast:f===o&&l===g})})).toArray(),v=l.get("decoratorKey");if(null==v)return y;if(!t.props.decorator)return y;var m=b(t.props.decorator),_=m.getComponentForKey(v);if(!_)return y;var S=m.getPropsForKey(v),w=u.encode(r,f,0),x=d.first().get("start"),k=d.last().get("end"),C=n.slice(x,k),E=e.getEntityAt(l.get("start")),O=h.getHTMLDirIfDifferent(p.getDirection(C),t.props.direction),D={contentState:t.props.contentState,decoratedText:C,dir:O,start:x,end:k,blockKey:r,entityKey:E,offsetKey:w};return c.createElement(_,i({},S,D,{key:w}),y)})).toArray()},w.render=function(){var t=this,e=this.props,r=e.direction,n=e.offsetKey,i=d({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===r,"public/DraftStyleDefault/rtl":"RTL"===r});return c.createElement("div",{"data-offset-key":n,className:i,ref:function(e){return t._node=e}},this._renderChildren())},n}(c.Component);t.exports=w},function(t,e,r){"use strict";var n=r(377),i=r(378),o=r(191),a=new RegExp("\r\n","g"),s={"text/rtf":1,"text/html":1};function u(t){if("file"==t.kind)return t.getAsFile()}var c=function(){function t(t){this.data=t,this.types=t.types?i(t.types):[]}var e=t.prototype;return e.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(t){return s[t]}))},e.getText=function(){var t;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(t=this.data.getData("text/plain")):t=this.data.getData("Text")),t?t.replace(a,"\n"):null},e.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.isLink=function(){return this.types.some((function(t){return-1!=t.indexOf("Url")||-1!=t.indexOf("text/uri-list")||t.indexOf("text/x-moz-url")}))},e.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.isImage=function(){if(this.types.some((function(t){return-1!=t.indexOf("application/x-moz-file")})))return!0;for(var t=this.getFiles(),e=0;e<t.length;e++){var r=t[e].type;if(!n.isImage(r))return!1}return!0},e.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.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(u).filter(o.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},e.hasFiles=function(){return this.getFiles().length>0},t}();t.exports=c},function(t,e,r){"use strict";function n(t){return function(){return t}}var i=function(){};i.thatReturns=n,i.thatReturnsFalse=n(!1),i.thatReturnsTrue=n(!0),i.thatReturnsNull=n(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(t){return t},t.exports=i},function(t,e,r){"use strict";(function(e){var n=r(14),i=/\.textClipping$/,o={"text/plain":!0,"text/html":!0,"text/rtf":!0};t.exports=function(t,r){var a=0,s=[];t.forEach((function(u){!function(t,r){if(!e.FileReader||t.type&&!(t.type in o))r("");else{if(""===t.type){var a="";return i.test(t.name)&&(a=t.name.replace(i,"")),void r(a)}var s=new FileReader;s.onload=function(){var t=s.result;"string"!=typeof t&&n(!1),r(t)},s.onerror=function(){r("")},s.readAsText(t)}}(u,(function(e){a++,e&&s.push(e.slice(0,5e3)),a==t.length&&r(s.join("\r"))}))}))}}).call(this,r(24))},function(t,e,r){"use strict";var n=r(94);t.exports=function(t){var e=t.getSelection();return e.isCollapsed()?null:n(t.getCurrentContent(),e)}},function(t,e,r){"use strict";var n=r(15),i=r(54),o=r(126),a=r(76);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),r=t.getCurrentContent(),n=e.getAnchorKey(),a=e.getAnchorOffset(),s=r.getBlockForKey(n).getText()[a-1];return o(t,s?i.getUTF16Length(s,0):1)}),"backward");if(e===t.getCurrentContent())return t;var r=t.getSelection();return n.push(t,e.set("selectionBefore",r),r.isCollapsed()?"backspace-character":"remove-range")}},function(t,e,r){"use strict";var n=r(28),i=r(14),o=n.isBrowser("Chrome")?function(t){for(var e=t.cloneRange(),r=[],n=t.endContainer;null!=n;n=n.parentNode){var o=n===t.commonAncestorContainer;o?e.setStart(t.startContainer,t.startOffset):e.setStart(e.endContainer,0);var a,s=Array.from(e.getClientRects());if(r.push(s),o)return r.reverse(),(a=[]).concat.apply(a,r);e.setEndBefore(n)}i(!1)}:function(t){return Array.from(t.getClientRects())};t.exports=o},function(t,e,r){"use strict";var n="\\s|(?![_])"+r(399).getPunctuation(),i=new RegExp("^(?:"+n+")*(?:['‘’]|(?!"+n+").)*(?:(?!"+n+").)"),o=new RegExp("(?:(?!"+n+").)(?:['‘’]|(?!"+n+").)*(?:"+n+")*$");function a(t,e){var r=e?o.exec(t):i.exec(t);return r?r[0]:t}var s={getBackward:function(t){return a(t,!0)},getForward:function(t){return a(t,!1)}};t.exports=s},function(t,e,r){"use strict";r(127),t.exports=function(t,e){var r,n=t.getSelection(),i=n.getStartKey(),o=n.getStartOffset(),a=t.getCurrentContent(),s=i;return e>a.getBlockForKey(i).getText().length-o?(s=a.getKeyAfter(i),r=0):r=o+e,n.merge({focusKey:s,focusOffset:r})}},function(t,e,r){"use strict";var n;function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){o(t,e,r[e])}))}return t}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var a=r(30),s=r(50),u=r(31),c=r(122),l=r(95),f=r(409),p=r(51),h=r(35),d=r(199),g=r(43),y=r(13),v=y.List,m=y.Map,_=y.OrderedSet,b=r(410),S=r(184),w=r(75),x=r(411),k=g("draft_tree_data_support"),C=new RegExp("\r","g"),E=new RegExp("\n","g"),O=new RegExp("^\n","g"),D=new RegExp("&nbsp;","g"),T=new RegExp("&#13;?","g"),K=new RegExp("&#8203;?","g"),M=["bold","bolder","500","600","700","800","900"],A=["light","lighter","normal","100","200","300","400"],I=["className","href","rel","target","title"],B=["alt","className","height","src","width"],L=(o(n={},p("public/DraftStyleDefault/depth0"),0),o(n,p("public/DraftStyleDefault/depth1"),1),o(n,p("public/DraftStyleDefault/depth2"),2),o(n,p("public/DraftStyleDefault/depth3"),3),o(n,p("public/DraftStyleDefault/depth4"),4),n),R=m({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),N=function(t){var e={};return t.mapKeys((function(t,r){var n=[r.element];void 0!==r.aliasedElements&&n.push.apply(n,r.aliasedElements),n.forEach((function(r){void 0===e[r]?e[r]=t:"string"==typeof e[r]?e[r]=[e[r],t]:e[r].push(t)}))})),m(e)},F=function(t){return w(t)&&t.style.fontFamily.includes("monospace")?"CODE":null},P=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(L).some((function(r){t.classList.contains(r)&&(e=L[r])})),e},z=function(t){if(!b(t))return!1;var e=t;if(!e.href||"http:"!==e.protocol&&"https:"!==e.protocol&&"mailto:"!==e.protocol&&"tel:"!==e.protocol)return!1;try{return new f(e.href),!0}catch(t){return!1}},j=function(t){if(!x(t))return!1;var e=t;return!(!e.attributes.getNamedItem("src")||!e.attributes.getNamedItem("src").value)},U=function(t,e){if(!w(t))return e;var r=t,n=r.style.fontWeight,i=r.style.fontStyle,o=r.style.textDecoration;return e.withMutations((function(t){M.indexOf(n)>=0?t.add("BOLD"):A.indexOf(n)>=0&&t.remove("BOLD"),"italic"===i?t.add("ITALIC"):"normal"===i&&t.remove("ITALIC"),"underline"===o&&t.add("UNDERLINE"),"line-through"===o&&t.add("STRIKETHROUGH"),"none"===o&&(t.remove("UNDERLINE"),t.remove("STRIKETHROUGH"))}))},q=function(t){return"ul"===t||"ol"===t},H=function(){function t(t,e){o(this,"characterList",v()),o(this,"currentBlockType","unstyled"),o(this,"currentDepth",0),o(this,"currentEntity",null),o(this,"currentText",""),o(this,"wrapper",null),o(this,"blockConfigs",[]),o(this,"contentBlocks",[]),o(this,"entityMap",l),o(this,"blockTypeMap",void 0),o(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=t,this.disambiguate=e}var e=t.prototype;return e.clear=function(){this.characterList=v(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=l,this.wrapper=null,this.contentBlocks=[]},e.addDOMNode=function(t){var e;return this.contentBlocks=[],this.currentDepth=0,(e=this.blockConfigs).push.apply(e,this._toBlockConfigs([t],_())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},e.getContentBlocks=function(){return 0===this.contentBlocks.length&&(k?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},e._makeBlockConfig=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.key||h(),r=i({key:e,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:v(),prevSibling:null,nextSibling:null,childConfigs:[]},t);return this.characterList=v(),this.currentBlockType="unstyled",this.currentText="",r},e._toBlockConfigs=function(t,e){for(var r=[],n=0;n<t.length;n++){var i=t[n],o=i.nodeName.toLowerCase();if("body"===o||q(o)){this._trimCurrentText(),""!==this.currentText&&r.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;q(o)&&(this.wrapper=o,q(s)&&this.currentDepth++),r.push.apply(r,this._toBlockConfigs(Array.from(i.childNodes),e)),this.currentDepth=a,this.wrapper=s}else{var u=this.blockTypeMap.get(o);if(void 0===u)if("#text"!==o)if("br"!==o)if(j(i))this._addImgNode(i,e);else if(z(i))this._addAnchorNode(i,r,e);else{var c=e;R.has(o)&&(c=c.add(R.get(o))),c=U(i,c);var l=F(i);null!=l&&(c=c.add(l)),r.push.apply(r,this._toBlockConfigs(Array.from(i.childNodes),c))}else this._addBreakNode(i,e);else this._addTextNode(i,e);else{this._trimCurrentText(),""!==this.currentText&&r.push(this._makeBlockConfig());var f=this.currentDepth,p=this.wrapper;if(this.wrapper="pre"===o?"pre":this.wrapper,"string"!=typeof u&&(u=this.disambiguate(o,this.wrapper)||u[0]||"unstyled"),!k&&w(i)&&("unordered-list-item"===u||"ordered-list-item"===u)){var d=i;this.currentDepth=P(d,this.currentDepth)}var g=h(),y=this._toBlockConfigs(Array.from(i.childNodes),e);this._trimCurrentText(),r.push(this._makeBlockConfig({key:g,childConfigs:y,type:u})),this.currentDepth=f,this.wrapper=p}}}return r},e._appendText=function(t,e){var r;this.currentText+=t;var n=a.create({style:e,entity:this.currentEntity});this.characterList=(r=this.characterList).push.apply(r,Array(t.length).fill(n))},e._trimCurrentText=function(){var t=this.currentText.length,e=t-this.currentText.trimLeft().length,r=this.currentText.trimRight().length,n=this.characterList.findEntry((function(t){return null!==t.getEntity()}));(e=void 0!==n?Math.min(e,n[0]):e)>(r=void 0!==(n=this.characterList.reverse().findEntry((function(t){return null!==t.getEntity()})))?Math.max(r,t-n[0]):r)?(this.currentText="",this.characterList=v()):(this.currentText=this.currentText.slice(e,r),this.characterList=this.characterList.slice(e,r))},e._addTextNode=function(t,e){var r=t.textContent;""===r.trim()&&"pre"!==this.wrapper&&(r=" "),"pre"!==this.wrapper&&(r=(r=r.replace(O,"")).replace(E," ")),this._appendText(r,e)},e._addBreakNode=function(t,e){S(t)&&this._appendText("\n",e)},e._addImgNode=function(t,e){if(x(t)){var r=t,n={};B.forEach((function(t){var e=r.getAttribute(t);e&&(n[t]=e)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",n),g("draftjs_fix_paste_for_img")?"presentation"!==r.getAttribute("role")&&this._appendText("📷",e):this._appendText("📷",e),this.currentEntity=null}},e._addAnchorNode=function(t,e,r){if(b(t)){var n=t,i={};I.forEach((function(t){var e=n.getAttribute(t);e&&(i[t]=e)})),i.url=new f(n.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",i||{}),e.push.apply(e,this._toBlockConfigs(Array.from(t.childNodes),r)),this.currentEntity=null}},e._toContentBlocks=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=t.length-1,n=0;n<=r;n++){var o=t[n];o.parent=e,o.prevSibling=n>0?t[n-1].key:null,o.nextSibling=n<r?t[n+1].key:null,o.children=v(o.childConfigs.map((function(t){return t.key}))),this.contentBlocks.push(new u(i({},o))),this._toContentBlocks(o.childConfigs,o.key)}},e._hoistContainersInBlockConfigs=function(t){var e=this;return v(t).flatMap((function(t){return"unstyled"!==t.type||""!==t.text?[t]:e._hoistContainersInBlockConfigs(t.childConfigs)}))},e._toFlatContentBlocks=function(t){var e=this;this._hoistContainersInBlockConfigs(t).forEach((function(t){var r=e._extractTextFromBlockConfigs(t.childConfigs),n=r.text,o=r.characterList;e.contentBlocks.push(new s(i({},t,{text:t.text+n,characterList:t.characterList.concat(o)})))}))},e._extractTextFromBlockConfigs=function(t){for(var e=t.length-1,r="",n=v(),i=0;i<=e;i++){var o=t[i];r+=o.text,n=n.concat(o.characterList),""!==r&&"unstyled"!==o.type&&(r+="\n",n=n.push(n.last()));var a=this._extractTextFromBlockConfigs(o.childConfigs);r+=a.text,n=n.concat(a.characterList)}return{text:r,characterList:n}},t}();t.exports=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,n=e(t=t.trim().replace(C,"").replace(D," ").replace(T,"").replace(K,""));if(!n)return null;var i=N(r),o=function(t,e){return"li"===t?"ol"===e?"ordered-list-item":"unordered-list-item":null};return new H(i,o).addDOMNode(n).getContentBlocks()}},function(t,e,r){"use strict";var n=r(28),i=r(14),o=n.isBrowser("IE <= 9");t.exports=function(t){var e,r=null;return!o&&document.implementation&&document.implementation.createHTMLDocument&&((e=document.implementation.createHTMLDocument("foo")).documentElement||i(!1),e.documentElement.innerHTML=t,r=e.getElementsByTagName("body")[0]),r}},function(t,e,r){"use strict";var n=r(26),i=r(15),o=r(412),a=r(27),s={currentBlockContainsLink:function(t){var e=t.getSelection(),r=t.getCurrentContent(),n=r.getEntityMap();return r.getBlockForKey(e.getAnchorKey()).getCharacterList().slice(e.getStartOffset(),e.getEndOffset()).some((function(t){var e=t.getEntity();return!!e&&"LINK"===n.__get(e).getType()}))},getCurrentBlockType:function(t){var e=t.getSelection();return t.getCurrentContent().getBlockForKey(e.getStartKey()).getType()},getDataObjectForLinkURL:function(t){return{url:t.toString()}},handleKeyCommand:function(t,e,r){switch(e){case"bold":return s.toggleInlineStyle(t,"BOLD");case"italic":return s.toggleInlineStyle(t,"ITALIC");case"underline":return s.toggleInlineStyle(t,"UNDERLINE");case"code":return s.toggleCode(t);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(t);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(t);default:return null}},insertSoftNewline:function(t){var e=n.insertText(t.getCurrentContent(),t.getSelection(),"\n",t.getCurrentInlineStyle(),null),r=i.push(t,e,"insert-characters");return i.forceSelection(r,e.getSelectionAfter())},onBackspace:function(t){var e=t.getSelection();if(!e.isCollapsed()||e.getAnchorOffset()||e.getFocusOffset())return null;var r=t.getCurrentContent(),n=e.getStartKey(),o=r.getBlockBefore(n);if(o&&"atomic"===o.getType()){var a=r.getBlockMap().delete(o.getKey()),u=r.merge({blockMap:a,selectionAfter:e});if(u!==r)return i.push(t,u,"remove-range")}var c=s.tryToRemoveBlockStyle(t);return c?i.push(t,c,"change-block-type"):null},onDelete:function(t){var e=t.getSelection();if(!e.isCollapsed())return null;var r=t.getCurrentContent(),o=e.getStartKey(),a=r.getBlockForKey(o).getLength();if(e.getStartOffset()<a)return null;var s=r.getBlockAfter(o);if(!s||"atomic"!==s.getType())return null;var u=e.merge({focusKey:s.getKey(),focusOffset:s.getLength()}),c=n.removeRange(r,u,"forward");return c!==r?i.push(t,c,"remove-range"):null},onTab:function(t,e,r){var n=e.getSelection(),a=n.getAnchorKey();if(a!==n.getFocusKey())return e;var s=e.getCurrentContent(),u=s.getBlockForKey(a),c=u.getType();if("unordered-list-item"!==c&&"ordered-list-item"!==c)return e;t.preventDefault();var l=u.getDepth();if(!t.shiftKey&&l===r)return e;var f=o(s,n,t.shiftKey?-1:1,r);return i.push(e,f,"adjust-depth")},toggleBlockType:function(t,e){var r=t.getSelection(),o=r.getStartKey(),s=r.getEndKey(),u=t.getCurrentContent(),c=r;if(o!==s&&0===r.getEndOffset()){var l=a(u.getBlockBefore(s));s=l.getKey(),c=c.merge({anchorKey:o,anchorOffset:r.getStartOffset(),focusKey:s,focusOffset:l.getLength(),isBackward:!1})}if(u.getBlockMap().skipWhile((function(t,e){return e!==o})).reverse().skipWhile((function(t,e){return e!==s})).some((function(t){return"atomic"===t.getType()})))return t;var f=u.getBlockForKey(o).getType()===e?"unstyled":e;return i.push(t,n.setBlockType(u,c,f),"change-block-type")},toggleCode:function(t){var e=t.getSelection(),r=e.getAnchorKey(),n=e.getFocusKey();return e.isCollapsed()||r!==n?s.toggleBlockType(t,"code-block"):s.toggleInlineStyle(t,"CODE")},toggleInlineStyle:function(t,e){var r=t.getSelection(),o=t.getCurrentInlineStyle();if(r.isCollapsed())return i.setInlineStyleOverride(t,o.has(e)?o.remove(e):o.add(e));var a,s=t.getCurrentContent();return a=o.has(e)?n.removeInlineStyle(s,r,e):n.applyInlineStyle(s,r,e),i.push(t,a,"change-inline-style")},toggleLink:function(t,e,r){var o=n.applyEntity(t.getCurrentContent(),e,r);return i.push(t,o,"apply-entity")},tryToRemoveBlockStyle:function(t){var e=t.getSelection(),r=e.getAnchorOffset();if(e.isCollapsed()&&0===r){var i=e.getAnchorKey(),o=t.getCurrentContent(),a=o.getBlockForKey(i).getType(),s=o.getBlockBefore(i);if("code-block"===a&&s&&"code-block"===s.getType()&&0!==s.getLength())return null;if("unstyled"!==a)return n.setBlockType(o,e,"unstyled")}return null}};t.exports=s},function(t,e,r){"use strict";var n=r(128),i=r(100),o=r(28),a=o.isPlatform("Mac OS X"),s=a&&o.isBrowser("Firefox < 29"),u=n.hasCommandModifier,c=n.isCtrlKeyCommand;function l(t){return a&&t.altKey||c(t)}t.exports=function(t){switch(t.keyCode){case 66:return u(t)?"bold":null;case 68:return c(t)?"delete":null;case 72:return c(t)?"backspace":null;case 73:return u(t)?"italic":null;case 74:return u(t)?"code":null;case 75:return a&&c(t)?"secondary-cut":null;case 77:case 79:return c(t)?"split-block":null;case 84:return a&&c(t)?"transpose-characters":null;case 85:return u(t)?"underline":null;case 87:return a&&c(t)?"backspace-word":null;case 89:return c(t)?a?"secondary-paste":"redo":null;case 90:return function(t){return u(t)?t.shiftKey?"redo":"undo":null}(t)||null;case i.RETURN:return"split-block";case i.DELETE:return function(t){return!a&&t.shiftKey?null:l(t)?"delete-word":"delete"}(t);case i.BACKSPACE:return function(t){return u(t)&&a?"backspace-to-start-of-line":l(t)?"backspace-word":"backspace"}(t);case i.LEFT:return s&&u(t)?"move-selection-to-start-of-block":null;case i.RIGHT:return s&&u(t)?"move-selection-to-end-of-block":null;default:return null}}},function(t,e,r){"use strict";var n={stringify:function(t){return"_"+String(t)},unstringify:function(t){return t.slice(1)}};t.exports=n},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";var n=r(334),i=r(73),o=r(30),a=r(350),s=r(50),u=r(120),c=r(122),l=r(173),f=r(351),p=r(189),h=r(95),d=r(26),g=r(171),y=r(15),v=r(128),m=r(416),_=r(200),b=r(96),S=r(417),w=r(420),x=r(35),k=r(201),C=r(426),E={Editor:f,EditorBlock:p,EditorState:y,CompositeDecorator:a,Entity:h,EntityInstance:g,BlockMapBuilder:i,CharacterMetadata:o,ContentBlock:s,ContentState:u,RawDraftContentState:m,SelectionState:b,AtomicBlockUtils:n,KeyBindingUtil:v,Modifier:d,RichUtils:_,DefaultDraftBlockRenderMap:c,DefaultDraftInlineStyle:l,convertFromHTML:r(198),convertFromRaw:w,convertToRaw:S,genKey:x,getDefaultKeyBinding:k,getVisibleSelectionRect:C};t.exports=E},function(t,e,r){"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){i(t,e,r[e])}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(73),a=r(30),s=r(50),u=r(31),c=r(26),l=r(15),f=r(35),p=r(43),h=r(13),d=r(349),g=p("draft_tree_data_support"),y=g?u:s,v=h.List,m=h.Repeat,_={insertAtomicBlock:function(t,e,r){var i=t.getCurrentContent(),s=t.getSelection(),u=c.removeRange(i,s,"backward"),p=u.getSelectionAfter(),h=c.splitBlock(u,p),d=h.getSelectionAfter(),_=c.setBlockType(h,d,"atomic"),b=a.create({entity:e}),S={key:f(),type:"atomic",text:r,characterList:v(m(b,r.length))},w={key:f(),type:"unstyled"};g&&(S=n({},S,{nextSibling:w.key}),w=n({},w,{prevSibling:S.key}));var x=[new y(S),new y(w)],k=o.createFromArray(x),C=c.replaceWithFragment(_,d,k),E=C.merge({selectionBefore:s,selectionAfter:C.getSelectionAfter().set("hasFocus",!0)});return l.push(t,E,"insert-fragment")},moveAtomicBlock:function(t,e,r,n){var i,o=t.getCurrentContent(),a=t.getSelection();if("before"===n||"after"===n){var s=o.getBlockForKey("before"===n?r.getStartKey():r.getEndKey());i=d(o,e,s,n)}else{var u=c.removeRange(o,r,"backward"),f=u.getSelectionAfter(),p=u.getBlockForKey(f.getFocusKey());if(0===f.getStartOffset())i=d(u,e,p,"before");else if(f.getEndOffset()===p.getLength())i=d(u,e,p,"after");else{var h=c.splitBlock(u,f),g=h.getSelectionAfter(),y=h.getBlockForKey(g.getFocusKey());i=d(h,e,y,"before")}}var v=i.merge({selectionBefore:a,selectionAfter:i.getSelectionAfter().set("hasFocus",!0)});return l.push(t,v,"move-block")}};t.exports=_},function(t,e,r){"use strict";var n=r(30),i=r(13).Map,o={add:function(t,e,r){return a(t,e,r,!0)},remove:function(t,e,r){return a(t,e,r,!1)}};function a(t,e,r,o){var a=t.getBlockMap(),s=e.getStartKey(),u=e.getStartOffset(),c=e.getEndKey(),l=e.getEndOffset(),f=a.skipUntil((function(t,e){return e===s})).takeUntil((function(t,e){return e===c})).concat(i([[c,a.get(c)]])).map((function(t,e){var i,a;s===c?(i=u,a=l):(i=e===s?u:0,a=e===c?l:t.getLength());for(var f,p=t.getCharacterList();i<a;)f=p.get(i),p=p.set(i,o?n.applyStyle(f,r):n.removeStyle(f,r)),i++;return t.set("characterList",p)}));return t.merge({blockMap:a.merge(f),selectionBefore:e,selectionAfter:e})}t.exports=o},function(t,e,r){"use strict";var n=r(337),i=r(13);t.exports=function(t,e,r){var o=t.getBlockMap(),a=e.getStartKey(),s=e.getStartOffset(),u=e.getEndKey(),c=e.getEndOffset(),l=o.skipUntil((function(t,e){return e===a})).takeUntil((function(t,e){return e===u})).toOrderedMap().merge(i.OrderedMap([[u,o.get(u)]])).map((function(t,e){var i=e===a?s:0,o=e===u?c:t.getLength();return n(t,i,o,r)}));return t.merge({blockMap:o.merge(l),selectionBefore:e,selectionAfter:e})}},function(t,e,r){"use strict";var n=r(30);t.exports=function(t,e,r,i){for(var o=e,a=t.getCharacterList();o<r;)a=a.set(o,n.applyEntity(a.get(o),i)),o++;return t.set("characterList",a)}},function(t,e,r){"use strict";var n=r(339),i=r(340),o=r(14);function a(t,e,r,a,s,u,c){var l=r.getStartOffset(),f=r.getEndOffset(),p=t.__get(s).getMutability(),h=c?l:f;if("MUTABLE"===p)return r;var d=i(e,s).filter((function(t){return h<=t.end&&h>=t.start}));1!=d.length&&o(!1);var g=d[0];if("IMMUTABLE"===p)return r.merge({anchorOffset:g.start,focusOffset:g.end,isBackward:!1});u||(c?f=g.end:l=g.start);var y=n.getRemovalRange(l,f,e.getText().slice(g.start,g.end),g.start,a);return r.merge({anchorOffset:y.start,focusOffset:y.end,isBackward:!1})}t.exports=function(t,e,r,n,i){var o=n.getStartOffset(),s=n.getEndOffset(),u=e.getEntityAt(o),c=r.getEntityAt(s-1);if(!u&&!c)return n;var l=n;if(u&&u===c)l=a(t,e,l,i,u,!0,!0);else if(u&&c){var f=a(t,e,l,i,u,!1,!0),p=a(t,r,l,i,c,!1,!1);l=l.merge({anchorOffset:f.getAnchorOffset(),focusOffset:p.getFocusOffset(),isBackward:!1})}else if(u){var h=a(t,e,l,i,u,!1,!0);l=l.merge({anchorOffset:h.getStartOffset(),isBackward:!1})}else if(c){var d=a(t,r,l,i,c,!1,!1);l=l.merge({focusOffset:d.getEndOffset(),isBackward:!1})}return l}},function(t,e,r){"use strict";t.exports={getRemovalRange:function(t,e,r,n,i){var o=r.split(" ");o=o.map((function(t,e){if("forward"===i){if(e>0)return" "+t}else if(e<o.length-1)return t+" ";return t}));for(var a,s=n,u=null,c=null,l=0;l<o.length;l++){if(t<(a=s+o[l].length)&&s<e)null!==u||(u=s),c=a;else if(null!==u)break;s=a}var f=n+r.length,p=u===n,h=c===f;return(!p&&h||p&&!h)&&("forward"===i?c!==f&&c++:u!==n&&u--),{start:u,end:c}}}},function(t,e,r){"use strict";var n=r(14);t.exports=function(t,e){var r=[];return t.findEntityRanges((function(t){return t.getEntity()===e}),(function(t,e){r.push({start:t,end:e})})),r.length||n(!1),r}},function(t,e,r){"use strict";var n=r(73),i=r(31),o=r(13),a=r(167),s=r(14),u=r(165),c=o.List,l=function(t,e,r,n,i,o){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",u=r.get(i),c=u.getText(),l=u.getCharacterList(),f=i,p=o+n.getText().length,h=null;switch(s){case"MERGE_OLD_DATA_TO_NEW_DATA":h=n.getData().merge(u.getData());break;case"REPLACE_WITH_NEW_DATA":h=n.getData()}var d=u.getType();c&&"unstyled"===d&&(d=n.getType());var g=u.merge({text:c.slice(0,o)+n.getText()+c.slice(o),characterList:a(l,n.getCharacterList(),o),type:d,data:h});return t.merge({blockMap:r.set(i,g),selectionBefore:e,selectionAfter:e.merge({anchorKey:f,anchorOffset:p,focusKey:f,focusOffset:p,isBackward:!1})})},f=function(t,e,r,o,a,s){var u=r.first()instanceof i,l=[],f=o.size,p=r.get(a),h=o.first(),d=o.last(),g=d.getLength(),y=d.getKey(),v=u&&(!p.getChildKeys().isEmpty()||!h.getChildKeys().isEmpty());r.forEach((function(t,e){e===a?(v?l.push(t):l.push(function(t,e,r){var n=t.getText(),i=t.getCharacterList(),o=n.slice(0,e),a=i.slice(0,e),s=r.first();return t.merge({text:o+s.getText(),characterList:a.concat(s.getCharacterList()),type:o?t.getType():s.getType(),data:s.getData()})}(t,s,o)),o.slice(v?0:1,f-1).forEach((function(t){return l.push(t)})),l.push(function(t,e,r){var n=t.getText(),i=t.getCharacterList(),o=n.length,a=n.slice(e,o),s=i.slice(e,o),u=r.last();return u.merge({text:u.getText()+a,characterList:u.getCharacterList().concat(s),data:u.getData()})}(t,s,o))):l.push(t)}));var m=n.createFromArray(l);return u&&(m=function(t,e,r,n){return t.withMutations((function(e){var i=r.getKey(),o=n.getKey(),a=r.getNextSiblingKey(),s=r.getParentKey(),u=function(t,e){var r=t.getKey(),n=t,i=[];for(e.get(r)&&i.push(r);n&&n.getNextSiblingKey();){var o=n.getNextSiblingKey();if(!o)break;i.push(o),n=e.get(o)}return i}(n,t),l=u[u.length-1];if(e.get(o)?(e.setIn([i,"nextSibling"],o),e.setIn([o,"prevSibling"],i)):(e.setIn([i,"nextSibling"],n.getNextSiblingKey()),e.setIn([n.getNextSiblingKey(),"prevSibling"],i)),e.setIn([l,"nextSibling"],a),a&&e.setIn([a,"prevSibling"],l),u.forEach((function(t){return e.setIn([t,"parent"],s)})),s){var f=t.get(s).getChildKeys(),p=f.indexOf(i)+1,h=f.toArray();h.splice.apply(h,[p,0].concat(u)),e.setIn([s,"children"],c(h))}}))}(m,0,p,h)),t.merge({blockMap:m,selectionBefore:e,selectionAfter:e.merge({anchorKey:y,anchorOffset:g,focusKey:y,focusOffset:g,isBackward:!1})})};t.exports=function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";e.isCollapsed()||s(!1);var o=t.getBlockMap(),a=u(r),c=e.getStartKey(),p=e.getStartOffset(),h=o.get(c);return h instanceof i&&(h.getChildKeys().isEmpty()||s(!1)),1===a.size?l(t,e,o,a.first(),c,p,n):f(t,e,o,a,c,p)}},function(t,e,r){"use strict";var n=r(13),i=r(167),o=r(14),a=n.Repeat;t.exports=function(t,e,r,n){e.isCollapsed()||o(!1);var s=null;if(null!=r&&(s=r.length),null==s||0===s)return t;var u=t.getBlockMap(),c=e.getStartKey(),l=e.getStartOffset(),f=u.get(c),p=f.getText(),h=f.merge({text:p.slice(0,l)+r+p.slice(l,f.getLength()),characterList:i(f.getCharacterList(),a(n,s).toList(),l)}),d=l+s;return t.merge({blockMap:u.set(c,h),selectionAfter:e.merge({anchorOffset:d,focusOffset:d})})}},function(t,e,r){"use strict";var n=r(31),i=r(169),o=r(13),a=(o.List,o.Map),s=function(t,e,r){if(t){var n=e.get(t);n&&e.set(t,r(n))}},u=function(t,e){var r=[];if(!t)return r;for(var n=e.get(t);n&&n.getParentKey();){var i=n.getParentKey();i&&r.push(i),n=i?e.get(i):null}return r},c=function(t,e,r){if(!t)return null;for(var n=r.get(t.getKey()).getNextSiblingKey();n&&!e.get(n);)n=r.get(n).getNextSiblingKey()||null;return n},l=function(t,e,r){if(!t)return null;for(var n=r.get(t.getKey()).getPrevSiblingKey();n&&!e.get(n);)n=r.get(n).getPrevSiblingKey()||null;return n};t.exports=function(t,e){if(e.isCollapsed())return t;var r,o=t.getBlockMap(),f=e.getStartKey(),p=e.getStartOffset(),h=e.getEndKey(),d=e.getEndOffset(),g=o.get(f),y=o.get(h),v=g instanceof n,m=[];if(v){var _=y.getChildKeys(),b=u(h,o);y.getNextSiblingKey()&&(m=m.concat(b)),_.isEmpty()||(m=m.concat(b.concat([h]))),m=m.concat(u(i(y,o),o))}r=g===y?function(t,e,r){if(0===e)for(;e<r;)t=t.shift(),e++;else if(r===t.count())for(;r>e;)t=t.pop(),r--;else{var n=t.slice(0,e),i=t.slice(r);t=n.concat(i).toList()}return t}(g.getCharacterList(),p,d):g.getCharacterList().slice(0,p).concat(y.getCharacterList().slice(d));var S=g.merge({text:g.getText().slice(0,p)+y.getText().slice(d),characterList:r}),w=v&&0===p&&0===d&&y.getParentKey()===f&&null==y.getPrevSiblingKey()?a([[f,null]]):o.toSeq().skipUntil((function(t,e){return e===f})).takeUntil((function(t,e){return e===h})).filter((function(t,e){return-1===m.indexOf(e)})).concat(a([[h,null]])).map((function(t,e){return e===f?S:null})),x=o.merge(w).filter((function(t){return!!t}));return v&&g!==y&&(x=function(t,e,r,n){return t.withMutations((function(o){if(s(e.getKey(),o,(function(t){return t.merge({nextSibling:c(t,o,n),prevSibling:l(t,o,n)})})),s(r.getKey(),o,(function(t){return t.merge({nextSibling:c(t,o,n),prevSibling:l(t,o,n)})})),u(e.getKey(),n).forEach((function(t){return s(t,o,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return o.get(t)})),nextSibling:c(t,o,n),prevSibling:l(t,o,n)})}))})),s(e.getNextSiblingKey(),o,(function(t){return t.merge({prevSibling:e.getPrevSiblingKey()})})),s(e.getPrevSiblingKey(),o,(function(t){return t.merge({nextSibling:c(t,o,n)})})),s(r.getNextSiblingKey(),o,(function(t){return t.merge({prevSibling:l(t,o,n)})})),s(r.getPrevSiblingKey(),o,(function(t){return t.merge({nextSibling:r.getNextSiblingKey()})})),u(r.getKey(),n).forEach((function(t){s(t,o,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return o.get(t)})),nextSibling:c(t,o,n),prevSibling:l(t,o,n)})}))})),function(t,e){var r=[];if(!t)return r;for(var n=i(t,e);n&&e.get(n);){var o=e.get(n);r.push(n),n=o.getParentKey()?i(o,e):null}return r}(r,n).forEach((function(t){return s(t,o,(function(t){return t.merge({nextSibling:c(t,o,n),prevSibling:l(t,o,n)})}))})),null==t.get(e.getKey())&&null!=t.get(r.getKey())&&r.getParentKey()===e.getKey()&&null==r.getPrevSiblingKey()){var a=e.getPrevSiblingKey();s(r.getKey(),o,(function(t){return t.merge({prevSibling:a})})),s(a,o,(function(t){return t.merge({nextSibling:r.getKey()})}));var f=a?t.get(a):null,p=f?f.getParentKey():null;if(e.getChildKeys().forEach((function(t){s(t,o,(function(t){return t.merge({parent:p})}))})),null!=p){var h=t.get(p);s(p,o,(function(t){return t.merge({children:h.getChildKeys().concat(e.getChildKeys())})}))}s(e.getChildKeys().find((function(e){return null===t.get(e).getNextSiblingKey()})),o,(function(t){return t.merge({nextSibling:e.getNextSiblingKey()})}))}}))}(x,g,y,o)),t.merge({blockMap:x,selectionBefore:e,selectionAfter:e.merge({anchorKey:f,anchorOffset:p,focusKey:f,focusOffset:p,isBackward:!1})})}},function(t,e,r){"use strict";var n=r(31),i=r(35),o=r(13),a=r(14),s=r(168),u=o.List,c=o.Map,l=function(t,e,r){if(t){var n=e.get(t);n&&e.set(t,r(n))}};t.exports=function(t,e){e.isCollapsed()||a(!1);var r=e.getAnchorKey(),o=t.getBlockMap(),f=o.get(r),p=f.getText();if(!p){var h=f.getType();if("unordered-list-item"===h||"ordered-list-item"===h)return s(t,e,(function(t){return t.merge({type:"unstyled",depth:0})}))}var d=e.getAnchorOffset(),g=f.getCharacterList(),y=i(),v=f instanceof n,m=f.merge({text:p.slice(0,d),characterList:g.slice(0,d)}),_=m.merge({key:y,text:p.slice(d),characterList:g.slice(d),data:c()}),b=o.toSeq().takeUntil((function(t){return t===f})),S=o.toSeq().skipUntil((function(t){return t===f})).rest(),w=b.concat([[r,m],[y,_]],S).toOrderedMap();return v&&(f.getChildKeys().isEmpty()||a(!1),w=function(t,e,r){return t.withMutations((function(t){var n=e.getKey(),i=r.getKey();l(e.getParentKey(),t,(function(t){var e=t.getChildKeys(),r=e.indexOf(n)+1,o=e.toArray();return o.splice(r,0,i),t.merge({children:u(o)})})),l(e.getNextSiblingKey(),t,(function(t){return t.merge({prevSibling:i})})),l(n,t,(function(t){return t.merge({nextSibling:i})})),l(i,t,(function(t){return t.merge({prevSibling:n})}))}))}(w,m,_)),t.merge({blockMap:w,selectionBefore:e,selectionAfter:e.merge({anchorKey:y,anchorOffset:0,focusKey:y,focusOffset:0,isBackward:!1})})}},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i=r(74),o=r(170),a=r(13),s=a.List,u=a.Repeat,c=a.Record,l=function(){return!0},f=c({start:null,end:null}),p=c({start:null,end:null,decoratorKey:null,leaves:null}),h={generate:function(t,e,r){var n=e.getLength();if(!n)return s.of(new p({start:0,end:0,decoratorKey:null,leaves:s.of(new f({start:0,end:0}))}));var o=[],a=r?r.getDecorations(e,t):s(u(null,n)),c=e.getCharacterList();return i(a,d,l,(function(t,e){var r,n,u,h;o.push(new p({start:t,end:e,decoratorKey:a.get(t),leaves:(r=c.slice(t,e).toList(),n=t,u=[],h=r.map((function(t){return t.getStyle()})).toList(),i(h,d,l,(function(t,e){u.push(new f({start:t+n,end:e+n}))})),s(u))}))})),s(o)},fromJS:function(t){var e=t.leaves,r=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,["leaves"]);return new p(function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},i=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),i.forEach((function(e){n(t,e,r[e])}))}return t}({},r,{leaves:null!=e?s(Array.isArray(e)?e:o(e)).map((function(t){return f(t)})):null}))}};function d(t,e){return t===e}t.exports=h},function(t,e,r){"use strict";t.exports=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))}},function(t,e,r){"use strict";var n,i=r(348),o=r(13),a=r(27),s=o.OrderedMap,u={getDirectionMap:function(t,e){n?n.reset():n=new i;var r=t.getBlockMap(),u=r.valueSeq().map((function(t){return a(n).getDirection(t.getText())})),c=s(r.keySeq().zip(u));return null!=e&&o.is(e,c)?e:c}};t.exports=u},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i=r(121),o=r(97),a=r(14),s=function(){function t(t){n(this,"_defaultDir",void 0),n(this,"_lastDir",void 0),t?o.isStrong(t)||a(!1):t=o.getGlobalDir(),this._defaultDir=t,this.reset()}var e=t.prototype;return e.reset=function(){this._lastDir=this._defaultDir},e.getDirection=function(t){return this._lastDir=i.getDirection(t,this._lastDir),this._lastDir},t}();t.exports=s},function(t,e,r){"use strict";var n=r(31),i=r(169),o=r(13),a=r(14),s=o.OrderedMap,u=o.List,c=function(t,e,r){if(t){var n=e.get(t);n&&e.set(t,r(n))}},l=function(t,e,r,n,i){if(!i)return t;var o="after"===n,a=e.getKey(),s=r.getKey(),l=e.getParentKey(),f=e.getNextSiblingKey(),p=e.getPrevSiblingKey(),h=r.getParentKey(),d=o?r.getNextSiblingKey():s,g=o?s:r.getPrevSiblingKey();return t.withMutations((function(t){c(l,t,(function(t){var e=t.getChildKeys();return t.merge({children:e.delete(e.indexOf(a))})})),c(p,t,(function(t){return t.merge({nextSibling:f})})),c(f,t,(function(t){return t.merge({prevSibling:p})})),c(d,t,(function(t){return t.merge({prevSibling:a})})),c(g,t,(function(t){return t.merge({nextSibling:a})})),c(h,t,(function(t){var e=t.getChildKeys(),r=e.indexOf(s),n=o?r+1:0!==r?r-1:0,i=e.toArray();return i.splice(n,0,a),t.merge({children:u(i)})})),c(a,t,(function(t){return t.merge({nextSibling:d,prevSibling:g,parent:h})}))}))};t.exports=function(t,e,r,o){"replace"===o&&a(!1);var u=r.getKey(),c=e.getKey();c===u&&a(!1);var f=t.getBlockMap(),p=e instanceof n,h=[e],d=f.delete(c);p&&(h=[],d=f.withMutations((function(t){var r=e.getNextSiblingKey(),n=i(e,t);t.toSeq().skipUntil((function(t){return t.getKey()===c})).takeWhile((function(t){var e=t.getKey(),i=e===c,o=r&&e!==r,a=!r&&t.getParentKey()&&(!n||e!==n);return!!(i||o||a)})).forEach((function(e){h.push(e),t.delete(e.getKey())}))})));var g=d.toSeq().takeUntil((function(t){return t===r})),y=d.toSeq().skipUntil((function(t){return t===r})).skip(1),v=h.map((function(t){return[t.getKey(),t]})),m=s();if("before"===o){var _=t.getBlockBefore(u);_&&_.getKey()===e.getKey()&&a(!1),m=g.concat([].concat(v,[[u,r]]),y).toOrderedMap()}else if("after"===o){var b=t.getBlockAfter(u);b&&b.getKey()===c&&a(!1),m=g.concat([[u,r]].concat(v),y).toOrderedMap()}return t.merge({blockMap:l(m,e,r,o,p),selectionBefore:t.getSelectionAfter(),selectionAfter:t.getSelectionAfter().merge({anchorKey:c,focusKey:c})})}},function(t,e,r){"use strict";var n=r(13).List,i=function(){function t(t){var e;(e="_decorators")in this?Object.defineProperty(this,e,{value:void 0,enumerable:!0,configurable:!0,writable:!0}):this[e]=void 0,this._decorators=t.slice()}var e=t.prototype;return e.getDecorations=function(t,e){var r=Array(t.getText().length).fill(null);return this._decorators.forEach((function(n,i){var o=0;(0,n.strategy)(t,(function(t,e){(function(t,e,r){for(var n=e;n<r;n++)if(null!=t[n])return!1;return!0})(r,t,e)&&(function(t,e,r,n){for(var i=e;i<r;i++)t[i]=n}(r,t,e,i+"."+o),o++)}),e)})),n(r)},e.getComponentForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].component},e.getPropsForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].props},t}();t.exports=i},function(t,e,r){"use strict";(function(e){var n=r(52);function i(){return(i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){s(t,e,r[e])}))}return t}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function u(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var c=r(122),l=r(173),f=r(352),p=r(359),h=r(376),d=r(379),g=r(414),y=r(415),v=r(185),m=r(15),_=r(3),b=r(125),S=r(101),w=r(28),x=r(51),k=r(35),C=r(201),E=r(102),O=r(43),D=r(14),T=r(75),K=r(27),M=w.isBrowser("IE"),A=!M,I={edit:d,composite:f,drag:h,cut:null,render:null},B=!1,L=function(t){function e(){return t.apply(this,arguments)||this}u(e,t);var r=e.prototype;return r.render=function(){return null},r.componentDidMount=function(){this._update()},r.componentDidUpdate=function(){this._update()},r._update=function(){var t=this.props.editor;t._latestEditorState=this.props.editorState,t._blockSelectEvents=!0},e}(_.Component),R=function(t){function r(e){var r;return s(a(r=t.call(this,e)||this),"_blockSelectEvents",void 0),s(a(r),"_clipboard",void 0),s(a(r),"_handler",void 0),s(a(r),"_dragCount",void 0),s(a(r),"_internalDrag",void 0),s(a(r),"_editorKey",void 0),s(a(r),"_placeholderAccessibilityID",void 0),s(a(r),"_latestEditorState",void 0),s(a(r),"_latestCommittedEditorState",void 0),s(a(r),"_pendingStateFromBeforeInput",void 0),s(a(r),"_onBeforeInput",void 0),s(a(r),"_onBlur",void 0),s(a(r),"_onCharacterData",void 0),s(a(r),"_onCompositionEnd",void 0),s(a(r),"_onCompositionStart",void 0),s(a(r),"_onCopy",void 0),s(a(r),"_onCut",void 0),s(a(r),"_onDragEnd",void 0),s(a(r),"_onDragOver",void 0),s(a(r),"_onDragStart",void 0),s(a(r),"_onDrop",void 0),s(a(r),"_onInput",void 0),s(a(r),"_onFocus",void 0),s(a(r),"_onKeyDown",void 0),s(a(r),"_onKeyPress",void 0),s(a(r),"_onKeyUp",void 0),s(a(r),"_onMouseDown",void 0),s(a(r),"_onMouseUp",void 0),s(a(r),"_onPaste",void 0),s(a(r),"_onSelect",void 0),s(a(r),"editor",void 0),s(a(r),"editorContainer",void 0),s(a(r),"focus",void 0),s(a(r),"blur",void 0),s(a(r),"setMode",void 0),s(a(r),"exitCurrentMode",void 0),s(a(r),"restoreEditorDOM",void 0),s(a(r),"setClipboard",void 0),s(a(r),"getClipboard",void 0),s(a(r),"getEditorKey",void 0),s(a(r),"update",void 0),s(a(r),"onDragEnter",void 0),s(a(r),"onDragLeave",void 0),s(a(r),"_handleEditorContainerRef",(function(t){r.editorContainer=t,r.editor=null!==t?t.firstChild:null})),s(a(r),"focus",(function(t){var e=r.props.editorState,n=e.getSelection().getHasFocus(),i=r.editor;if(i){var o=S.getScrollParent(i),a=t||E(o),s=a.x,u=a.y;T(i)||D(!1),i.focus(),o===window?window.scrollTo(s,u):b.setTop(o,u),n||r.update(m.forceSelection(e,e.getSelection()))}})),s(a(r),"blur",(function(){var t=r.editor;t&&(T(t)||D(!1),t.blur())})),s(a(r),"setMode",(function(t){var e=r.props,n=e.onPaste,i=e.onCut,a=e.onCopy,s=o({},I.edit);n&&(s.onPaste=n),i&&(s.onCut=i),a&&(s.onCopy=a);var u=o({},I,{edit:s});r._handler=u[t]})),s(a(r),"exitCurrentMode",(function(){r.setMode("edit")})),s(a(r),"restoreEditorDOM",(function(t){r.setState({contentsKey:r.state.contentsKey+1},(function(){r.focus(t)}))})),s(a(r),"setClipboard",(function(t){r._clipboard=t})),s(a(r),"getClipboard",(function(){return r._clipboard})),s(a(r),"update",(function(t){r._latestEditorState=t,r.props.onChange(t)})),s(a(r),"onDragEnter",(function(){r._dragCount++})),s(a(r),"onDragLeave",(function(){r._dragCount--,0===r._dragCount&&r.exitCurrentMode()})),r._blockSelectEvents=!1,r._clipboard=null,r._handler=null,r._dragCount=0,r._editorKey=e.editorKey||k(),r._placeholderAccessibilityID="placeholder-"+r._editorKey,r._latestEditorState=e.editorState,r._latestCommittedEditorState=e.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}u(r,t);var n=r.prototype;return n._buildHandler=function(t){var e=this;return function(r){if(!e.props.readOnly){var n=e._handler&&e._handler[t];n&&(g?g((function(){return n(e,r)})):n(e,r))}}},n._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},n._renderPlaceholder=function(){if(this._showPlaceholder()){var t={text:K(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return _.createElement(y,t)}return null},n._renderARIADescribedBy=function(){var t=this.props.ariaDescribedBy||"",e=this._showPlaceholder()?this._placeholderAccessibilityID:"";return t.replace("{{editor_id_placeholder}}",e)||void 0},n.render=function(){var t=this.props,e=t.blockRenderMap,r=t.blockRendererFn,n=t.blockStyleFn,a=t.customStyleFn,s=t.customStyleMap,u=t.editorState,c=t.preventScroll,f=t.readOnly,h=t.textAlignment,d=t.textDirectionality,g=x({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===h,"DraftEditor/alignRight":"right"===h,"DraftEditor/alignCenter":"center"===h}),y=this.props.role||"textbox",v="combobox"===y?!!this.props.ariaExpanded:null,m={blockRenderMap:e,blockRendererFn:r,blockStyleFn:n,customStyleMap:o({},l,s),customStyleFn:a,editorKey:this._editorKey,editorState:u,preventScroll:c,textDirectionality:d};return _.createElement("div",{className:g},this._renderPlaceholder(),_.createElement("div",{className:x("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},_.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._renderARIADescribedBy(),"aria-expanded":f?null:v,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":f?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:x({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:this.props.editorRef,role:f?null:y,spellCheck:A&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},_.createElement(L,{editor:this,editorState:u}),_.createElement(p,i({},m,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!B&&O("draft_ods_enabled")&&(B=!0,v.initODS()),this.setMode("edit"),M&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):e.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},r}(_.Component);s(R,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:c,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:C,readOnly:!1,spellCheck:!1,stripPastedStyles:!1}),t.exports=R}).call(this,r(24))},function(t,e,r){"use strict";var n=r(353),i=r(26),o=r(36),a=r(15),s=r(100),u=r(28),c=r(176),l=r(178),f=r(179),p=r(123),h=r(27),d=u.isBrowser("IE"),g=!1,y=!1,v=null,m={onCompositionStart:function(t){y=!0,function(t){v||(v=new n(l(t))).start()}(t)},onCompositionEnd:function(t){g=!1,y=!1,setTimeout((function(){g||m.resolveComposition(t)}),20)},onSelect:c,onKeyDown:function(t,e){if(!y)return m.resolveComposition(t),void t._onKeyDown(e);e.which!==s.RIGHT&&e.which!==s.LEFT||e.preventDefault()},onKeyPress:function(t,e){e.which===s.RETURN&&e.preventDefault()},resolveComposition:function(t){if(!y){var e=h(v).stopAndFlushMutations();v=null,g=!0;var r=a.set(t._latestEditorState,{inCompositionMode:!1});if(t.exitCurrentMode(),e.size){var n=r.getCurrentContent();e.forEach((function(t,e){var s=o.decode(e),u=s.blockKey,c=s.decoratorKey,l=s.leafKey,f=r.getBlockTree(u).getIn([c,"leaves",l]),h=f.start,d=f.end,g=r.getSelection().merge({anchorKey:u,focusKey:u,anchorOffset:h,focusOffset:d,isBackward:!1}),y=p(n,g),v=n.getBlockForKey(u).getInlineStyleAt(h);n=i.replaceText(n,g,t,v,y),r=a.set(r,{currentContent:n})}));var s=f(r,l(t)).selectionState;t.restoreEditorDOM();var u=d?a.forceSelection(r,s):a.acceptSelection(r,s);t.update(a.push(u,n,"insert-characters"))}else t.update(r)}}};t.exports=m},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i=r(28),o=r(98),a=r(175),s=r(13),u=r(14),c=r(27),l=s.Map,f={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},p=i.isBrowser("IE <= 11"),h=function(){function t(t){var e=this;n(this,"observer",void 0),n(this,"container",void 0),n(this,"mutations",void 0),n(this,"onCharData",void 0),this.container=t,this.mutations=l();var r=a(t);r.MutationObserver&&!p?this.observer=new r.MutationObserver((function(t){return e.registerMutations(t)})):this.onCharData=function(t){t.target instanceof Node||u(!1),e.registerMutation({type:"characterData",target:t.target})}}var e=t.prototype;return e.start=function(){this.observer?this.observer.observe(this.container,f):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},e.stopAndFlushMutations=function(){var t=this.observer;t?(this.registerMutations(t.takeRecords()),t.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var e=this.mutations;return this.mutations=l(),e},e.registerMutations=function(t){for(var e=0;e<t.length;e++)this.registerMutation(t[e])},e.getMutationTextContent=function(t){var e=t.type,r=t.target,n=t.removedNodes;if("characterData"===e){if(""!==r.textContent)return p?r.textContent.replace("\n",""):r.textContent}else if("childList"===e){if(n&&n.length)return"";if(""!==r.textContent)return r.textContent}return null},e.registerMutation=function(t){var e=this.getMutationTextContent(t);if(null!=e){var r=c(o(t.target));this.mutations=this.mutations.set(r,e)}},t}();t.exports=h},function(t,e,r){"use strict";var n,i="Unknown",o=(new(r(355))).getResult(),a=function(t){if(!t)return{major:"",minor:""};var e=t.split(".");return{major:e[0],minor:e[1]}}(o.browser.version),s={browserArchitecture:o.cpu.architecture||i,browserFullVersion:o.browser.version||i,browserMinorVersion:a.minor||i,browserName:o.browser.name||i,browserVersion:o.browser.major||i,deviceName:o.device.model||i,engineName:o.engine.name||i,engineVersion:o.engine.version||i,platformArchitecture:o.cpu.architecture||i,platformName:(n=o.os.name,{"Mac OS":"Mac OS X"}[n]||n||i),platformVersion:o.os.version||i,platformFullVersion:o.os.version||i};t.exports=s},function(t,e,r){var n;!function(i,o){"use strict";var a="model",s="name",u="type",c="vendor",l="version",f="mobile",p="tablet",h="smarttv",d={extend:function(t,e){var r={};for(var n in t)e[n]&&e[n].length%2==0?r[n]=e[n].concat(t[n]):r[n]=t[n];return r},has:function(t,e){return"string"==typeof t&&-1!==e.toLowerCase().indexOf(t.toLowerCase())},lowerize:function(t){return t.toLowerCase()},major:function(t){return"string"==typeof t?t.replace(/[^\d\.]/g,"").split(".")[0]:void 0},trim:function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},g={rgx:function(t,e){for(var r,n,i,o,a,s,u=0;u<e.length&&!a;){var c=e[u],l=e[u+1];for(r=n=0;r<c.length&&!a;)if(a=c[r++].exec(t))for(i=0;i<l.length;i++)s=a[++n],"object"==typeof(o=l[i])&&o.length>0?2==o.length?"function"==typeof o[1]?this[o[0]]=o[1].call(this,s):this[o[0]]=o[1]:3==o.length?"function"!=typeof o[1]||o[1].exec&&o[1].test?this[o[0]]=s?s.replace(o[1],o[2]):void 0:this[o[0]]=s?o[1].call(this,s,o[2]):void 0:4==o.length&&(this[o[0]]=s?o[3].call(this,s.replace(o[1],o[2])):void 0):this[o]=s||void 0;u+=2}},str:function(t,e){for(var r in e)if("object"==typeof e[r]&&e[r].length>0){for(var n=0;n<e[r].length;n++)if(d.has(e[r][n],t))return"?"===r?void 0:r}else if(d.has(e[r],t))return"?"===r?void 0:r;return t}},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",2e3:"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"}}}},v={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]{3,6}).+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|instagram)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim)(?:browser)?[\/\s]?([\w\.]*)/i,/(bidubrowser|baidubrowser)[\/\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|qupzilla|falkon)\/([\w\.-]+)/i,/(puffin|brave|whale|qqbrowserlite|qq)\/([\w\.]+)/i],[s,l],[/(konqueror)\/([\w\.]+)/i],[[s,"Konqueror"],l],[/(trident).+rv[:\s]([\w\.]{1,9}).+like\sgecko/i],[[s,"IE"],l],[/(edge|edgios|edga|edg)\/((\d+)?[\w\.]+)/i],[[s,"Edge"],l],[/(yabrowser)\/([\w\.]+)/i],[[s,"Yandex"],l],[/(Avast)\/([\w\.]+)/i],[[s,"Avast Secure Browser"],l],[/(AVG)\/([\w\.]+)/i],[[s,"AVG Secure Browser"],l],[/(focus)\/([\w\.]+)/i],[[s,"Firefox Focus"],l],[/(opt)\/([\w\.]+)/i],[[s,"Opera Touch"],l],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[s,"UCBrowser"],l],[/(comodo_dragon)\/([\w\.]+)/i],[[s,/_/g," "],l],[/((?:windowswechat)? qbcore)\/([\w\.]+).*(?:windowswechat)?/i],[[s,"WeChat(Win) Desktop"],l],[/(micromessenger)\/([\w\.]+)/i],[[s,"WeChat"],l],[/m?(qqbrowser|baiduboxapp|2345Explorer)[\/\s]?([\w\.]+)/i],[s,l],[/(MetaSr)[\/\s]?([\w\.]+)/i],[s],[/(LBBROWSER)/i],[s],[/(weibo)__([\d\.]+)/i],[s,l],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[l,[s,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[l,[s,"Facebook"]],[/FBAN\/FBIOS|FB_IAB\/FB4A/i],[[s,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/droid.+(line)\/([\w\.]+)\/iab/i],[s,l],[/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],[/droid.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[l,[s,"Android Browser"]],[/(coc_coc_browser)\/([\w\.]+)/i],[[s,"Coc Coc"],l],[/(sailfishbrowser)\/([\w\.]+)/i],[[s,"Sailfish Browser"],l],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[s,l],[/(dolfin)\/([\w\.]+)/i],[[s,"Dolphin"],l],[/(qihu|qhbrowser|qihoobrowser|360browser)/i],[[s,"360 Browser"]],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[s,"Chrome"],l],[/(coast)\/([\w\.]+)/i],[[s,"Opera Coast"],l],[/fxios\/([\w\.-]+)/i],[l,[s,"Firefox"]],[/version\/([\w\.]+)\s.*mobile\/\w+\s(safari)/i],[l,[s,"Mobile Safari"]],[/version\/([\w\.]+)\s.*(mobile\s?safari|safari)/i],[l,s],[/webkit.+?(gsa)\/([\w\.]+)\s.*(mobile\s?safari|safari)(\/[\w\.]+)/i],[[s,"GSA"],l],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[s,[l,g.str,y.browser.oldsafari.version]],[/(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,/(firefox)\/([\w\.]+)\s[\w\s\-]+\/[\w\.]+$/i,/(mozilla)\/([\w\.]+)\s.+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+[;l]))|(?=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"],[u,h]],[/(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]],[/(alexa)webm/i,/(kf[A-z]+)(\sbuild\/|\)).+silk\//i],[a,[c,"Amazon"],[u,p]],[/(sd|kf)[0349hijorstuw]+(\sbuild\/|\)).+silk\//i],[[a,g.str,y.device.amazon.model],[c,"Amazon"],[u,f]],[/droid.+aft([\w])(\sbuild\/|\))/i],[a,[c,"Amazon"],[u,h]],[/\((ip(?:hone|od)[\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]],[/droid.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone|p00c)/i],[a,[c,"Asus"],[u,p]],[/sony\stablet\s[ps]\sbuild\//i,/(?:sony)?sgp\w+(?:\sbuild\/|\))/i],[[a,"Xperia Tablet"],[c,"Sony"],[u,p]],[/droid.+\s([c-g]\d{4}|so[-l]\w+|xq-a\w[4-7][12])(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[a,[c,"Sony"],[u,f]],[/\s(ouya)\s/i,/(nintendo)\s([wids3utch]+)/i],[c,a,[u,"console"]],[/droid.+;\s(shield)\sbuild/i],[a,[c,"Nvidia"],[u,"console"]],[/(playstation\s[345portablevi]+)/i],[a,[c,"Sony"],[u,"console"]],[/(sprint\s(\w+))/i],[[c,g.str,y.device.sprint.vendor],[a,g.str,y.device.sprint.model],[u,f]],[/(htc)[;_\s-]{1,2}([\w\s]+(?=\)|\sbuild)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|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,/droid.+\s(nexus\s6p|vog-[at]?l\d\d|ane-[at]?l[x\d]\d|eml-a?l\d\da?|lya-[at]?l\d[\dc]|clt-a?l\d\di?)/i,/droid.+\s((?:A(?:GS2?|KA|LP|N[AE]|QM|RE|SK|TH)|B(?:A(?:C|H2)|G2|KL|LA|MH|Z[AKT])|C(?:AZ|DY|LT|OL|[MOR]R)|DUK|E(?:BG|DI|L[ES]|ML|V[AR])|FRD|G(?:LK|RA)|H(?:D[LN]|MA|LK|RY|WI)|INE|J(?:DN2|MM|NY|SN)|K(?:NT|OB|SA)|L(?:IO|LD|ON|[RY]A)|M(?:AR|ED|[HL]A|ON|RX|T7)|N(?:EO|TS|XT)|OXF|P(?:AR|CT|IC|LK|RA)|R(?:IO|VL)|S(?:C[ML]|EA|HT|PN|TF)|T(?:A[HS]|NY)|V(?:[CI]E|KY|OG|RD)|W(?:AS|LZ)|Y(?:635|AL))-[ATU][LN][01259][019])[;\)\s]/i],[a,[c,"Huawei"],[u,f]],[/droid.+(bah2?-a?[lw]\d{2})/i],[a,[c,"Huawei"],[u,p]],[/(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,/\smot[\s-](\w*)/i,/(moto[\s\w\(\)]+(?=\sbuild|\)))/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[a,[c,"Motorola"],[u,f]],[/droid.+\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,h]],[/hbbtv.+maple;(\d+)/i],[[a,/^/,"SmartTV"],[c,"Samsung"],[u,h]],[/\(dtv[\);].+(aquos)/i],[a,[c,"Sharp"],[u,h]],[/droid.+((sch-i[89]0\d|shw-m380s|SM-P605|SM-P610|SM-P587|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,h],a],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/\s(sam)(?:sung)[\s-]([\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]],[/droid[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],[a,[c,"Acer"],[u,p]],[/droid.+([vl]k\-?\d{3})\s+build/i],[a,[c,"LG"],[u,p]],[/droid\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[c,"LG"],a,[u,p]],[/linux;\snetcast.+smarttv/i,/lg\snetcast\.tv-201\d/i],[[c,"LG"],a,[u,h]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/droid.+lg(\-?[\d\w]+)\s+build/i],[a,[c,"LG"],[u,f]],[/(lenovo)\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+)|[\w-]+)/i],[c,a,[u,p]],[/droid.+(ideatab[a-z0-9\-\s]+)/i],[a,[c,"Lenovo"],[u,p]],[/(lenovo)[_\s-]?([\w-]+)/i],[c,a,[u,f]],[/linux;.+((jolla));/i],[c,a,[u,f]],[/((pebble))app\/[\d\.]+\s/i],[c,a,[u,"wearable"]],[/droid.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[c,a,[u,f]],[/crkey/i],[[a,"Chromecast"],[c,"Google"],[u,h]],[/droid.+;\s(glass)\s\d/i],[a,[c,"Google"],[u,"wearable"]],[/droid.+;\s(pixel c)[\s)]/i],[a,[c,"Google"],[u,p]],[/droid.+;\s(pixel( [2-9]a?)?( xl)?)[\s)]/i],[a,[c,"Google"],[u,f]],[/droid.+;\s(\w+)\s+build\/hm\1/i,/droid.+(hm[\s\-_]?note?[\s_]?(?:\d\w)?)\sbuild/i,/droid.+(redmi[\s\-_]?(?:note|k)?(?:[\s_]?[\w\s]+))(?:\sbuild|\))/i,/droid.+(mi[\s\-_]?(?:a\d|one|one[\s_]plus|note lte)?[\s_]?(?:\d?\w?)[\s_]?(?:plus)?)\sbuild/i],[[a,/_/g," "],[c,"Xiaomi"],[u,f]],[/droid.+(mi[\s\-_]?(?:pad)(?:[\s_]?[\w\s]+))(?:\sbuild|\))/i],[[a,/_/g," "],[c,"Xiaomi"],[u,p]],[/droid.+;\s(m[1-5]\snote)\sbuild/i],[a,[c,"Meizu"],[u,f]],[/(mz)-([\w-]{2,})/i],[[c,"Meizu"],a,[u,f]],[/droid.+a000(1)\s+build/i,/droid.+oneplus\s(a\d{4})[\s)]/i],[a,[c,"OnePlus"],[u,f]],[/droid.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[a,[c,"RCA"],[u,p]],[/droid.+[;\/\s](Venue[\d\s]{2,7})\s+build/i],[a,[c,"Dell"],[u,p]],[/droid.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[a,[c,"Verizon"],[u,p]],[/droid.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(\S(?:.*\S)?)\s+build/i],[[c,"Barnes & Noble"],a,[u,p]],[/droid.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[a,[c,"NuVision"],[u,p]],[/droid.+;\s(k88)\sbuild/i],[a,[c,"ZTE"],[u,p]],[/droid.+;\s(nx\d{3}j)\sbuild/i],[a,[c,"ZTE"],[u,f]],[/droid.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[a,[c,"Swiss"],[u,f]],[/droid.+[;\/]\s*(zur\d{3})\s+build/i],[a,[c,"Swiss"],[u,p]],[/droid.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[a,[c,"Zeki"],[u,p]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/droid.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[c,"Dragon Touch"],a,[u,p]],[/droid.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[a,[c,"Insignia"],[u,p]],[/droid.+[;\/]\s*((NXA|Next)-?\w{0,9})\s+build/i],[a,[c,"NextBook"],[u,p]],[/droid.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[c,"Voice"],a,[u,f]],[/droid.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[c,"LvTel"],a,[u,f]],[/droid.+;\s(PH-1)\s/i],[a,[c,"Essential"],[u,f]],[/droid.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[a,[c,"Envizen"],[u,p]],[/droid.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[c,a,[u,p]],[/droid.+[;\/]\s*(Trio[\s\w\-\.]+)\s+build/i],[a,[c,"MachSpeed"],[u,p]],[/droid.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[c,a,[u,p]],[/droid.+[;\/]\s*TU_(1491)\s+build/i],[a,[c,"Rotor"],[u,p]],[/droid.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[c,a,[u,p]],[/[\s\/\(](android\stv|smart-?tv)[;\)\s]/i],[[u,h]],[/droid .+?; ([^;]+?)(?: build|\) applewebkit).+? mobile safari/i],[a,[u,f]],[/droid .+?;\s([^;]+?)(?: build|\) applewebkit).+?(?! mobile) safari/i],[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"]],[/(phone)/i],[[u,f]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[l,[s,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[l,[s,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[s,l],[/rv\:([\w\.]{1,9}).+(gecko)/i],[l,s]],os:[[/(xbox);\s+xbox\s([^\);]+)/i,/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,g.str,y.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[s,"Windows"],[l,g.str,y.os.windows.version]],[/\((bb)(10);/i],[[s,"BlackBerry"],l],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen|kaios)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/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],[/crkey\/([\d\.]+)/i],[l,[s,"Chromecast"]],[/(nintendo|playstation)\s([wids345portablevuch]+)/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|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[s,l]]},m=function(t,e){if("object"==typeof t&&(e=t,t=void 0),!(this instanceof m))return new m(t,e).getResult();var r=t||(void 0!==i&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:""),n=e?d.extend(v,e):v;return this.getBrowser=function(){var t={name:void 0,version:void 0};return g.rgx.call(t,r,n.browser),t.major=d.major(t.version),t},this.getCPU=function(){var t={architecture:void 0};return g.rgx.call(t,r,n.cpu),t},this.getDevice=function(){var t={vendor:void 0,model:void 0,type:void 0};return g.rgx.call(t,r,n.device),t},this.getEngine=function(){var t={name:void 0,version:void 0};return g.rgx.call(t,r,n.engine),t},this.getOS=function(){var t={name:void 0,version:void 0};return g.rgx.call(t,r,n.os),t},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 r},this.setUA=function(t){return r=t,this},this};m.VERSION="0.7.25",m.BROWSER={NAME:s,MAJOR:"major",VERSION:l},m.CPU={ARCHITECTURE:"architecture"},m.DEVICE={MODEL:a,VENDOR:c,TYPE:u,CONSOLE:"console",MOBILE:f,SMARTTV:h,TABLET:p,WEARABLE:"wearable",EMBEDDED:"embedded"},m.ENGINE={NAME:s,VERSION:l},m.OS={NAME:s,VERSION:l},void 0!==e?(void 0!==t&&t.exports&&(e=t.exports=m),e.UAParser=m):void 0===(n=function(){return m}.call(e,r,e,t))||(t.exports=n);var _=void 0!==i&&(i.jQuery||i.Zepto);if(_&&!_.ua){var b=new m;_.ua=b.getResult(),_.ua.get=function(){return b.getUA()},_.ua.set=function(t){b.setUA(t);var e=b.getResult();for(var r in e)_.ua[r]=e[r]}}}("object"==typeof window?window:this)},function(t,e,r){"use strict";var n=r(14),i=/\./,o=/\|\|/,a=/\s+\-\s+/,s=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,u=/^(\d*)(.*)/;function c(t,e){if(""===(t=t.trim()))return!0;var r,n=e.split(i),o=p(t),a=o.modifier,s=o.rangeComponents;switch(a){case"<":return l(n,s);case"<=":return-1===(r=m(n,s))||0===r;case">=":return f(n,s);case">":return function(t,e){return 1===m(t,e)}(n,s);case"~":case"~>":return function(t,e){var r=e.slice(),n=e.slice();n.length>1&&n.pop();var i=n.length-1,o=parseInt(n[i],10);return h(o)&&(n[i]=o+1+""),f(t,r)&&l(t,n)}(n,s);default:return function(t,e){return 0===m(t,e)}(n,s)}}function l(t,e){return-1===m(t,e)}function f(t,e){var r=m(t,e);return 1===r||0===r}function p(t){var e=t.split(i),r=e[0].match(s);return r||n(!1),{modifier:r[1],rangeComponents:[r[2]].concat(e.slice(1))}}function h(t){return!isNaN(t)&&isFinite(t)}function d(t){return!p(t).modifier}function g(t,e){for(var r=t.length;r<e;r++)t[r]="0"}function y(t,e){var r=t.match(u)[1],n=e.match(u)[1],i=parseInt(r,10),o=parseInt(n,10);return h(i)&&h(o)&&i!==o?v(i,o):v(t,e)}function v(t,e){return typeof t!=typeof e&&n(!1),t>e?1:t<e?-1:0}function m(t,e){for(var r=function(t,e){g(t=t.slice(),(e=e.slice()).length);for(var r=0;r<e.length;r++){var n=e[r].match(/^[x*]$/i);if(n&&(e[r]=t[r]="0","*"===n[0]&&r===e.length-1))for(var i=r;i<t.length;i++)t[i]="0"}return g(e,t.length),[t,e]}(t,e),n=r[0],i=r[1],o=0;o<i.length;o++){var a=y(n[o],i[o]);if(a)return a}return 0}var _={contains:function(t,e){return function(t,e){var r=t.split(o);return r.length>1?r.some((function(t){return _.contains(t,e)})):function(t,e){var r=t.split(a);if(r.length>0&&r.length<=2||n(!1),1===r.length)return c(r[0],e);var i=r[0],o=r[1];return d(i)&&d(o)||n(!1),c(">="+i,e)&&c("<="+o,e)}(t=r[0].trim(),e)}(t.trim(),e.trim())}};t.exports=_},function(t,e,r){"use strict";var n=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){if(!t)return null;var i={};for(var o in t)n.call(t,o)&&(i[o]=e.call(r,t[o],o,t));return i}},function(t,e,r){"use strict";t.exports=function(t){var e={};return function(r){return e.hasOwnProperty(r)||(e[r]=t.call(this,r)),e[r]}}},function(t,e,r){"use strict";var n=r(43)("draft_tree_data_support");t.exports=r(n?360:374)},function(t,e,r){"use strict";var n=r(52);function i(){return(i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var o=r(361),a=r(36),s=r(3),u=r(27),c=function(t){var e,r;function n(){return t.apply(this,arguments)||this}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var c=n.prototype;return c.shouldComponentUpdate=function(t){var e=this.props.editorState,r=t.editorState;if(e.getDirectionMap()!==r.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==r.getSelection().getHasFocus())return!0;var n=r.getNativelyRenderedContent(),i=e.isInCompositionMode(),o=r.isInCompositionMode();if(e===r||null!==n&&r.getCurrentContent()===n||i&&o)return!1;var a=e.getCurrentContent(),s=r.getCurrentContent(),u=e.getDecorator(),c=r.getDecorator();return i!==o||a!==s||u!==c||r.mustForceSelection()},c.render=function(){for(var t=this.props,e=t.blockRenderMap,r=t.blockRendererFn,n=t.blockStyleFn,c=t.customStyleMap,l=t.customStyleFn,f=t.editorState,p=t.editorKey,h=t.textDirectionality,d=f.getCurrentContent(),g=f.getSelection(),y=f.mustForceSelection(),v=f.getDecorator(),m=u(f.getDirectionMap()),_=[],b=d.getBlocksAsArray()[0];b;){var S=b.getKey(),w={blockRenderMap:e,blockRendererFn:r,blockStyleFn:n,contentState:d,customStyleFn:l,customStyleMap:c,decorator:v,editorKey:p,editorState:f,forceSelection:y,selection:g,block:b,direction:h||m.get(S),tree:f.getBlockTree(S)},x=(e.get(b.getType())||e.get("unstyled")).wrapper;_.push({block:s.createElement(o,i({key:S},w)),wrapperTemplate:x,key:S,offsetKey:a.encode(S,0,0)});var k=b.getNextSiblingKey();b=k?d.getBlockForKey(k):null}for(var C=[],E=0;E<_.length;){var O=_[E];if(O.wrapperTemplate){var D=[];do{D.push(_[E].block),E++}while(E<_.length&&_[E].wrapperTemplate===O.wrapperTemplate);var T=s.cloneElement(O.wrapperTemplate,{key:O.key+"-wrap","data-offset-key":O.offsetKey},D);C.push(T)}else C.push(O.block),E++}return s.createElement("div",{"data-contents":"true"},C)},n}(s.Component);t.exports=c},function(t,e,r){"use strict";var n=r(52);function i(){return(i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function o(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){s(t,e,r[e])}))}return t}function s(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var u=r(362),c=r(36),l=r(3),f=r(125),p=r(101),h=r(187),d=r(102),g=r(188),y=r(13),v=r(14),m=r(75),_=(y.List,function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e}),b=function(t,e){var r=e.get(t.getType())||e.get("unstyled"),n=r.wrapper;return{Element:r.element||e.get("unstyled").element,wrapperTemplate:n}},S=function(t,e){var r=e(t);return r?{CustomComponent:r.component,customProps:r.props,customEditable:r.editable}:{}},w=function(t,e,r,n,i,o){var s={"data-block":!0,"data-editor":e,"data-offset-key":r,key:t.getKey(),ref:o},u=n(t);return u&&(s.className=u),void 0!==i.customEditable&&(s=a({},s,{contentEditable:i.customEditable,suppressContentEditableWarning:!0})),s},x=function(t){var e,r;function n(){for(var e,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return s(o(e=t.call.apply(t,[this].concat(n))||this),"wrapperRef",l.createRef()),e}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var y=n.prototype;return y.shouldComponentUpdate=function(t){var e=this.props,r=e.block,n=e.direction,i=e.tree,o=!r.getChildKeys().isEmpty(),a=r!==t.block||i!==t.tree||n!==t.direction||_(t.selection,t.block.getKey())&&t.forceSelection;return o||a},y.componentDidMount=function(){var t=this.props.selection,e=t.getEndKey();if(t.getHasFocus()&&e===this.props.block.getKey()){var r=this.wrapperRef.current;if(r){var n,i=p.getScrollParent(r),o=d(i);if(i===window){var a=h(r);(n=a.y+a.height-g().height)>0&&window.scrollTo(o.x,o.y+n+10)}else{m(r)||v(!1);var s=r;(n=s.offsetHeight+s.offsetTop-(i.offsetHeight+o.y))>0&&f.setTop(i,f.getTop(i)+n+10)}}}},y.render=function(){var t=this,e=this.props,r=e.block,o=e.blockRenderMap,s=e.blockRendererFn,f=e.blockStyleFn,p=e.contentState,h=e.decorator,d=e.editorKey,g=e.editorState,y=e.customStyleFn,v=e.customStyleMap,m=e.direction,x=e.forceSelection,k=e.selection,C=e.tree,E=null;r.children.size&&(E=r.children.reduce((function(e,r){var i=c.encode(r,0,0),u=p.getBlockForKey(r),h=S(u,s),y=h.CustomComponent||n,v=b(u,o),m=v.Element,_=v.wrapperTemplate,x=w(u,d,i,f,h,null),k=a({},t.props,{tree:g.getBlockTree(r),blockProps:h.customProps,offsetKey:i,block:u});return e.push(l.createElement(m,x,l.createElement(y,k))),!_||function(t,e){var r=t.getNextSiblingKey();return!!r&&e.getBlockForKey(r).getType()===t.getType()}(u,p)||function(t,e,r){var n=[],i=!0,o=!1,a=void 0;try{for(var s,u=r.reverse()[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var f=s.value;if(f.type!==e)break;n.push(f)}}catch(t){o=!0,a=t}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}r.splice(r.indexOf(n[0]),n.length+1);var p=n.reverse(),h=p[0].key;r.push(l.cloneElement(t,{key:"".concat(h,"-wrap"),"data-offset-key":c.encode(h,0,0)},p))}(_,m,e),e}),[]));var O=r.getKey(),D=c.encode(O,0,0),T=S(r,s),K=T.CustomComponent,M=null!=K?l.createElement(K,i({},this.props,{tree:g.getBlockTree(O),blockProps:T.customProps,offsetKey:D,block:r})):l.createElement(u,{block:r,children:E,contentState:p,customStyleFn:y,customStyleMap:v,decorator:h,direction:m,forceSelection:x,hasSelection:_(k,O),selection:k,tree:C});if(r.getParentKey())return M;var A=b(r,o).Element,I=w(r,d,D,f,T,this.wrapperRef);return l.createElement(A,I,M)},n}(l.Component);t.exports=x},function(t,e,r){"use strict";var n=r(363),i=r(183),o=r(36),a=r(13),s=r(3),u=r(51),c=(a.List,function(t){var e,r;function a(){return t.apply(this,arguments)||this}return r=t,(e=a).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r,a.prototype.render=function(){var t=this.props,e=t.block,r=t.contentState,a=t.customStyleFn,c=t.customStyleMap,l=t.decorator,f=t.direction,p=t.forceSelection,h=t.hasSelection,d=t.selection,g=t.tree,y=e.getKey(),v=e.getText(),m=g.size-1,_=this.props.children||g.map((function(t,u){var g=t.get("decoratorKey"),_=t.get("leaves"),b=_.size-1,S=_.map((function(t,r){var n=o.encode(y,u,r),l=t.get("start"),f=t.get("end");return s.createElement(i,{key:n,offsetKey:n,block:e,start:l,selection:h?d:null,forceSelection:p,text:v.slice(l,f),styleSet:e.getInlineStyleAt(l),customStyleMap:c,customStyleFn:a,isLast:g===m&&r===b})})).toArray();return g&&l?s.createElement(n,{block:e,children:S,contentState:r,decorator:l,decoratorKey:g,direction:f,leafSet:t,text:v,key:u}):S})).toArray();return s.createElement("div",{"data-offset-key":o.encode(y,0,0),className:u({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===f,"public/DraftStyleDefault/rtl":"RTL"===f})},_)},a}(s.Component));t.exports=c},function(t,e,r){"use strict";var n=r(52);function i(){return(i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var o=r(36),a=r(3),s=r(121),u=r(97),c=function(t){var e,r;function n(){return t.apply(this,arguments)||this}return r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r,n.prototype.render=function(){var t=this.props,e=t.block,r=t.children,n=t.contentState,c=t.decorator,l=t.decoratorKey,f=t.direction,p=t.leafSet,h=t.text,d=e.getKey(),g=p.get("leaves"),y=c.getComponentForKey(l),v=c.getPropsForKey(l),m=o.encode(d,parseInt(l,10),0),_=h.slice(g.first().get("start"),g.last().get("end")),b=u.getHTMLDirIfDifferent(s.getDirection(_),f);return a.createElement(y,i({},v,{contentState:n,decoratedText:_,dir:b,key:m,entityKey:e.getEntityAt(p.get("start")),offsetKey:m}),r)},n}(a.Component);t.exports=c},function(t,e,r){"use strict";function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(3),a=r(28),s=r(14),u=r(53),c=a.isBrowser("IE <= 11"),l=function(t){var e,r;function a(e){var r;return i(n(r=t.call(this,e)||this),"_forceFlag",void 0),i(n(r),"_node",void 0),r._forceFlag=!1,r}r=t,(e=a).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var l=a.prototype;return l.shouldComponentUpdate=function(t){var e=this._node,r=""===t.children;u(e)||s(!1);var n=e;return r?!function(t){return c?"\n"===t.textContent:"BR"===t.tagName}(n):n.textContent!==t.children},l.componentDidMount=function(){this._forceFlag=!this._forceFlag},l.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},l.render=function(){var t=this;return""===this.props.children?this._forceFlag?function(t){return c?o.createElement("span",{key:"A","data-text":"true",ref:t},"\n"):o.createElement("br",{key:"A","data-text":"true",ref:t})}((function(e){return t._node=e})):function(t){return c?o.createElement("span",{key:"B","data-text":"true",ref:t},"\n"):o.createElement("br",{key:"B","data-text":"true",ref:t})}((function(e){return t._node=e})):o.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(e){return t._node=e}},this.props.children)},a}(o.Component);t.exports=l},function(t,e,r){"use strict";var n=r(185),i=r(177),o=r(28),a=r(124),s=r(186),u=r(99),c=r(14),l=r(53),f=o.isBrowser("IE");function p(t,e){if(!t)return"[empty]";var r=function t(e,r){var n=void 0!==r?r(e):[];if(e.nodeType===Node.TEXT_NODE){var i=e.textContent.length;return u(e).createTextNode("[text "+i+(n.length?" | "+n.join(", "):"")+"]")}var o=e.cloneNode();1===o.nodeType&&n.length&&o.setAttribute("data-labels",n.join(", "));for(var a=e.childNodes,s=0;s<a.length;s++)o.appendChild(t(a[s],r));return o}(t,e);return r.nodeType===Node.TEXT_NODE?r.textContent:(l(r)||c(!1),r.outerHTML)}function h(t,e){for(var r=t,n=r;r;){if(l(r)&&n.hasAttribute("contenteditable"))return p(r,e);n=r=r.parentNode}return"Could not find contentEditable parent of node"}function d(t){return null===t.nodeValue?t.childNodes.length:t.nodeValue.length}function g(t,e,r,n){var o=s();if(t.extend&&null!=e&&a(o,e)){r>d(e)&&i.logSelectionStateFailure({anonymizedDom:h(e),extraParams:JSON.stringify({offset:r}),selectionState:JSON.stringify(n.toJS())});var u=e===t.focusNode;try{t.rangeCount>0&&t.extend&&t.extend(e,r)}catch(a){throw i.logSelectionStateFailure({anonymizedDom:h(e,(function(e){var r=[];return e===o&&r.push("active element"),e===t.anchorNode&&r.push("selection anchor node"),e===t.focusNode&&r.push("selection focus node"),r})),extraParams:JSON.stringify({activeElementName:o?o.nodeName:null,nodeIsFocus:e===t.focusNode,nodeWasFocus:u,selectionRangeCount:t.rangeCount,selectionAnchorNodeName:t.anchorNode?t.anchorNode.nodeName:null,selectionAnchorOffset:t.anchorOffset,selectionFocusNodeName:t.focusNode?t.focusNode.nodeName:null,selectionFocusOffset:t.focusOffset,message:a?""+a:null,offset:r},null,2),selectionState:JSON.stringify(n.toJS(),null,2)}),a}}else if(e&&t.rangeCount>0){var c=t.getRangeAt(0);c.setEnd(e,r),t.addRange(c.cloneRange())}}function y(t,e,r,o){var a=u(e).createRange();if(r>d(e)&&(i.logSelectionStateFailure({anonymizedDom:h(e),extraParams:JSON.stringify({offset:r}),selectionState:JSON.stringify(o.toJS())}),n.handleExtensionCausedError()),a.setStart(e,r),f)try{t.addRange(a)}catch(t){}else t.addRange(a)}t.exports={setDraftEditorSelection:function(t,e,r,n,i){var o=u(e);if(a(o.documentElement,e)){var s=o.defaultView.getSelection(),c=t.getAnchorKey(),l=t.getAnchorOffset(),f=t.getFocusKey(),p=t.getFocusOffset(),h=t.getIsBackward();if(!s.extend&&h){var d=c,v=l;c=f,l=p,f=d,p=v,h=!1}var m=c===r&&n<=l&&i>=l,_=f===r&&n<=p&&i>=p;if(m&&_)return s.removeAllRanges(),y(s,e,l-n,t),void g(s,e,p-n,t);if(h){if(_&&(s.removeAllRanges(),y(s,e,p-n,t)),m){var b=s.focusNode,S=s.focusOffset;s.removeAllRanges(),y(s,e,l-n,t),g(s,b,S,t)}}else m&&(s.removeAllRanges(),y(s,e,l-n,t)),_&&g(s,e,p-n,t)}},addFocusToSelection:g}},function(t,e,r){"use strict";var n=r(367);t.exports=function(t){return n(t)&&3==t.nodeType}},function(t,e,r){"use strict";t.exports=function(t){var e=(t?t.ownerDocument||t:document).defaultView||window;return!(!t||!("function"==typeof e.Node?t instanceof e.Node:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))}},function(t,e,r){"use strict";var n=r(369),i=r(370);function o(t){return null==t?t:String(t)}t.exports=function(t,e){var r;if(window.getComputedStyle&&(r=window.getComputedStyle(t,null)))return o(r.getPropertyValue(i(e)));if(document.defaultView&&document.defaultView.getComputedStyle){if(r=document.defaultView.getComputedStyle(t,null))return o(r.getPropertyValue(i(e)));if("display"===e)return"none"}return t.currentStyle?o("float"===e?t.currentStyle.cssFloat||t.currentStyle.styleFloat:t.currentStyle[n(e)]):o(t.style&&t.style[n(e)])}},function(t,e,r){"use strict";var n=/-(.)/g;t.exports=function(t){return t.replace(n,(function(t,e){return e.toUpperCase()}))}},function(t,e,r){"use strict";var n=/([A-Z])/g;t.exports=function(t){return t.replace(n,"-$1").toLowerCase()}},function(t,e,r){"use strict";var n=r(124);t.exports=function(t){var e=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t)||!n(e,t))return{left:0,right:0,top:0,bottom:0};var r=t.getBoundingClientRect();return{left:Math.round(r.left)-e.clientLeft,right:Math.round(r.right)-e.clientLeft,top:Math.round(r.top)-e.clientTop,bottom:Math.round(r.bottom)-e.clientTop}}},function(t,e,r){"use strict";var n="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;t.exports=function(t){return(t=t||document).scrollingElement?t.scrollingElement:n||"CSS1Compat"!==t.compatMode?t.body:t.documentElement}},function(t,e,r){"use strict";t.exports=function(t){return t.Window&&t instanceof t.Window?{x:t.pageXOffset||t.document.documentElement.scrollLeft,y:t.pageYOffset||t.document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}},function(t,e,r){"use strict";var n=r(52);function i(){return(i=n||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){a(t,e,r[e])}))}return t}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var s=r(189),u=r(36),c=r(3),l=r(51),f=r(375),p=r(27),h=function(t,e,r,n){return l({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===t,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===t,"public/DraftStyleDefault/reset":r,"public/DraftStyleDefault/depth0":0===e,"public/DraftStyleDefault/depth1":1===e,"public/DraftStyleDefault/depth2":2===e,"public/DraftStyleDefault/depth3":3===e,"public/DraftStyleDefault/depth4":e>=4,"public/DraftStyleDefault/listLTR":"LTR"===n,"public/DraftStyleDefault/listRTL":"RTL"===n})},d=function(t){var e,r;function n(){return t.apply(this,arguments)||this}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var a=n.prototype;return a.shouldComponentUpdate=function(t){var e=this.props.editorState,r=t.editorState;if(e.getDirectionMap()!==r.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==r.getSelection().getHasFocus())return!0;var n=r.getNativelyRenderedContent(),i=e.isInCompositionMode(),o=r.isInCompositionMode();if(e===r||null!==n&&r.getCurrentContent()===n||i&&o)return!1;var a=e.getCurrentContent(),s=r.getCurrentContent(),u=e.getDecorator(),c=r.getDecorator();return i!==o||a!==s||u!==c||r.mustForceSelection()},a.render=function(){for(var t=this.props,e=t.blockRenderMap,r=t.blockRendererFn,n=t.blockStyleFn,a=t.customStyleMap,l=t.customStyleFn,d=t.editorState,g=t.editorKey,y=t.preventScroll,v=t.textDirectionality,m=d.getCurrentContent(),_=d.getSelection(),b=d.mustForceSelection(),S=d.getDecorator(),w=p(d.getDirectionMap()),x=m.getBlocksAsArray(),k=[],C=null,E=null,O=0;O<x.length;O++){var D=x[O],T=D.getKey(),K=D.getType(),M=r(D),A=void 0,I=void 0,B=void 0;M&&(A=M.component,I=M.props,B=M.editable);var L=v||w.get(T),R=u.encode(T,0,0),N={contentState:m,block:D,blockProps:I,blockStyleFn:n,customStyleMap:a,customStyleFn:l,decorator:S,direction:L,forceSelection:b,offsetKey:R,preventScroll:y,selection:_,tree:d.getBlockTree(T)},F=e.get(K)||e.get("unstyled"),P=F.wrapper,z=F.element||e.get("unstyled").element,j=D.getDepth(),U="";n&&(U=n(D)),"li"===z&&(U=f(U,h(K,j,E!==P||null===C||j>C,L)));var q=A||s,H={className:U,"data-block":!0,"data-editor":g,"data-offset-key":R,key:T};void 0!==B&&(H=o({},H,{contentEditable:B,suppressContentEditableWarning:!0}));var W=c.createElement(z,H,c.createElement(q,i({},N,{key:T})));k.push({block:W,wrapperTemplate:P,key:T,offsetKey:R}),C=P?D.getDepth():null,E=P}for(var V=[],G=0;G<k.length;){var J=k[G];if(J.wrapperTemplate){var X=[];do{X.push(k[G].block),G++}while(G<k.length&&k[G].wrapperTemplate===J.wrapperTemplate);var Y=c.cloneElement(J.wrapperTemplate,{key:J.key+"-wrap","data-offset-key":J.offsetKey},X);V.push(Y)}else V.push(J.block),G++}return c.createElement("div",{"data-contents":"true"},V)},n}(c.Component);t.exports=d},function(t,e,r){"use strict";t.exports=function(t){var e=t||"",r=arguments.length;if(r>1)for(var n=1;n<r;n++){var i=arguments[n];i&&(e=(e?e+" ":"")+i)}return e}},function(t,e,r){"use strict";var n=r(190),i=r(26),o=r(15),a=r(98),s=r(99),u=r(192),c=r(181),l=r(175),f=r(103),p=r(27),h={onDragEnd:function(t){t.exitCurrentMode(),d(t)},onDrop:function(t,e){var r=new n(e.nativeEvent.dataTransfer),l=t._latestEditorState,h=function(t,e){var r=null,n=null,i=s(t.currentTarget);if("function"==typeof i.caretRangeFromPoint){var o=i.caretRangeFromPoint(t.x,t.y);r=o.startContainer,n=o.startOffset}else{if(!t.rangeParent)return null;r=t.rangeParent,n=t.rangeOffset}r=p(r),n=p(n);var u=p(a(r));return c(e,u,n,u,n)}(e.nativeEvent,l);if(e.preventDefault(),t._dragCount=0,t.exitCurrentMode(),null!=h){var y=r.getFiles();if(y.length>0){if(t.props.handleDroppedFiles&&f(t.props.handleDroppedFiles(h,y)))return;u(y,(function(e){e&&t.update(g(l,h,e))}))}else{var v=t._internalDrag?"internal":"external";t.props.handleDrop&&f(t.props.handleDrop(h,r,v))||(t._internalDrag?t.update(function(t,e){var r=i.moveText(t.getCurrentContent(),t.getSelection(),e);return o.push(t,r,"insert-fragment")}(l,h)):t.update(g(l,h,r.getText()))),d(t)}}}};function d(t){t._internalDrag=!1;var e=t.editorContainer;if(e){var r=new MouseEvent("mouseup",{view:l(e),bubbles:!0,cancelable:!0});e.dispatchEvent(r)}}function g(t,e,r){var n=i.insertText(t.getCurrentContent(),e,r,t.getCurrentInlineStyle());return o.push(t,n,"insert-fragment")}t.exports=h},function(t,e,r){"use strict";var n={isImage:function(t){return"image"===i(t)[0]},isJpeg:function(t){var e=i(t);return n.isImage(t)&&("jpeg"===e[1]||"pjpeg"===e[1])}};function i(t){return t.split("/")}t.exports=n},function(t,e,r){"use strict";var n=r(14);t.exports=function(t){return function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"length"in t&&!("setInterval"in t)&&"number"!=typeof t.nodeType&&(Array.isArray(t)||"callee"in t||"item"in t)}(t)?Array.isArray(t)?t.slice():function(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&n(!1),"number"!=typeof e&&n(!1),0===e||e-1 in t||n(!1),"function"==typeof t.callee&&n(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var r=Array(e),i=0;i<e;i++)r[i]=t[i];return r}(t):[t]}},function(t,e,r){"use strict";var n=r(28),i=r(380),o=r(384),a=r(385),s=r(386),u=r(387),c=r(389),l=r(390),f=r(391),p=r(392),h=r(393),d=r(407),g=r(176),y=n.isBrowser("Chrome"),v=n.isBrowser("Firefox"),m=y||v?g:function(t){},_={onBeforeInput:i,onBlur:o,onCompositionStart:a,onCopy:s,onCut:u,onDragOver:c,onDragStart:l,onFocus:f,onInput:p,onKeyDown:h,onPaste:d,onSelect:g,onMouseUp:m,onKeyUp:m};t.exports=_},function(t,e,r){"use strict";var n=r(26),i=r(15),o=r(28),a=r(123),s=r(103),u=r(381),c=r(27),l=r(382),f=o.isBrowser("Firefox");function p(t,e,r,o,a){var s=n.replaceText(t.getCurrentContent(),t.getSelection(),e,r,o);return i.push(t,s,"insert-characters",a)}t.exports=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var r=t._latestEditorState,n=e.data;if(n)if(t.props.handleBeforeInput&&s(t.props.handleBeforeInput(n,r,e.timeStamp)))e.preventDefault();else{var o=r.getSelection(),h=o.getStartOffset(),d=o.getAnchorKey();if(!o.isCollapsed())return e.preventDefault(),void t.update(p(r,n,r.getCurrentInlineStyle(),a(r.getCurrentContent(),r.getSelection()),!0));var g,y=p(r,n,r.getCurrentInlineStyle(),a(r.getCurrentContent(),r.getSelection()),!1),v=!1;if(v||(v=u(t._latestCommittedEditorState)),!v){var m=r.getBlockTree(d),_=y.getBlockTree(d);v=m.size!==_.size||m.zip(_).some((function(t){var e=t[0],r=t[1],i=e.get("start"),o=i+(i>=h?n.length:0),a=e.get("end"),s=a+(a>=h?n.length:0),u=r.get("start"),c=r.get("end"),l=r.get("decoratorKey");return e.get("decoratorKey")!==l||e.get("leaves").size!==r.get("leaves").size||o!==u||s!==c||null!=l&&c-u!=a-i}))}if(v||(g=n,v=f&&("'"==g||"/"==g)),v||(v=c(y.getDirectionMap()).get(d)!==c(r.getDirectionMap()).get(d)),v)return e.preventDefault(),y=i.set(y,{forceSelection:!0}),void t.update(y);y=i.set(y,{nativelyRenderedContent:y.getCurrentContent()}),t._pendingStateFromBeforeInput=y,l((function(){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0)}))}}},function(t,e,r){"use strict";t.exports=function(t){var e=t.getSelection(),r=e.getAnchorKey(),n=t.getBlockTree(r),i=e.getStartOffset(),o=!1;return n.some((function(t){return i===t.get("start")?(o=!0,!0):i<t.get("end")&&t.get("leaves").some((function(t){var e=t.get("start");return i===e&&(o=!0,!0)}))})),o}},function(t,e,r){"use strict";(function(e){r(383),t.exports=e.setImmediate}).call(this,r(24))},function(t,e,r){(function(t,e){!function(t,r){"use strict";if(!t.setImmediate){var n,i,o,a,s,u=1,c={},l=!1,f=t.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(t);p=p&&p.setTimeout?p:t,"[object process]"==={}.toString.call(t.process)?n=function(t){e.nextTick((function(){d(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,r=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=r,e}}()?(a="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&d(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),n=function(e){t.postMessage(a+e,"*")}):t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){d(t.data)},n=function(t){o.port2.postMessage(t)}):f&&"onreadystatechange"in f.createElement("script")?(i=f.documentElement,n=function(t){var e=f.createElement("script");e.onreadystatechange=function(){d(t),e.onreadystatechange=null,i.removeChild(e),e=null},i.appendChild(e)}):n=function(t){setTimeout(d,0,t)},p.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),r=0;r<e.length;r++)e[r]=arguments[r+1];var i={callback:t,args:e};return c[u]=i,n(u),u++},p.clearImmediate=h}function h(t){delete c[t]}function d(t){if(l)setTimeout(d,0,t);else{var e=c[t];if(e){l=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(void 0,r)}}(e)}finally{h(t),l=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,r(24),r(49))},function(t,e,r){"use strict";var n=r(15),i=r(124),o=r(186);t.exports=function(t,e){var r=e.currentTarget.ownerDocument;if(!Boolean(t.props.preserveSelectionOnBlur)&&o(r)===r.body){var a=r.defaultView.getSelection(),s=t.editor;1===a.rangeCount&&i(s,a.anchorNode)&&i(s,a.focusNode)&&a.removeAllRanges()}var u=t._latestEditorState,c=u.getSelection();if(c.getHasFocus()){var l=c.set("hasFocus",!1);t.props.onBlur&&t.props.onBlur(e),t.update(n.acceptSelection(u,l))}}},function(t,e,r){"use strict";var n=r(15);t.exports=function(t,e){t.setMode("composite"),t.update(n.set(t._latestEditorState,{inCompositionMode:!0})),t._onCompositionStart(e)}},function(t,e,r){"use strict";var n=r(193);t.exports=function(t,e){t._latestEditorState.getSelection().isCollapsed()?e.preventDefault():t.setClipboard(n(t._latestEditorState))}},function(t,e,r){"use strict";var n=r(26),i=r(15),o=r(101),a=r(193),s=r(102),u=r(388);t.exports=function(t,e){var r,c=t._latestEditorState,l=c.getSelection(),f=e.target;if(l.isCollapsed())e.preventDefault();else{if(u(f)){var p=f;r=s(o.getScrollParent(p))}var h=a(c);t.setClipboard(h),t.setMode("cut"),setTimeout((function(){t.restoreEditorDOM(r),t.exitCurrentMode(),t.update(function(t){var e=n.removeRange(t.getCurrentContent(),t.getSelection(),"forward");return i.push(t,e,"remove-range")}(c))}),0)}}},function(t,e,r){"use strict";t.exports=function(t){if(!t||!("ownerDocument"in t))return!1;if("ownerDocument"in t){var e=t;if(!e.ownerDocument.defaultView)return e instanceof Node;if(e instanceof e.ownerDocument.defaultView.Node)return!0}return!1}},function(t,e,r){"use strict";t.exports=function(t,e){t.setMode("drag"),e.preventDefault()}},function(t,e,r){"use strict";t.exports=function(t){t._internalDrag=!0,t.setMode("drag")}},function(t,e,r){"use strict";var n=r(15),i=r(28);t.exports=function(t,e){var r=t._latestEditorState,o=r.getSelection();if(!o.getHasFocus()){var a=o.set("hasFocus",!0);t.props.onFocus&&t.props.onFocus(e),i.isBrowser("Chrome < 60.0.3081.0")?t.update(n.forceSelection(r,a)):t.update(n.acceptSelection(r,a))}}},function(t,e,r){"use strict";var n=r(26),i=r(36),o=r(15),a=r(28),s=r(182).notEmptyKey,u=r(98),c=r(194),l=r(27),f=a.isEngine("Gecko");t.exports=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var r=t.editor.ownerDocument.defaultView.getSelection(),a=r.anchorNode,p=r.isCollapsed,h=(null==a?void 0:a.nodeType)!==Node.TEXT_NODE&&(null==a?void 0:a.nodeType)!==Node.ELEMENT_NODE;if(null!=a&&!h){if(a.nodeType===Node.TEXT_NODE&&(null!==a.previousSibling||null!==a.nextSibling)){var d=a.parentNode;if(null==d)return;a.nodeValue=d.textContent;for(var g=d.firstChild;null!=g;g=g.nextSibling)g!==a&&d.removeChild(g)}var y=a.textContent,v=t._latestEditorState,m=l(u(a)),_=i.decode(m),b=_.blockKey,S=_.decoratorKey,w=_.leafKey,x=v.getBlockTree(b).getIn([S,"leaves",w]),k=x.start,C=x.end,E=v.getCurrentContent(),O=E.getBlockForKey(b),D=O.getText().slice(k,C);if(y.endsWith("\n\n")&&(y=y.slice(0,-1)),y!==D){var T,K,M,A,I=v.getSelection(),B=I.merge({anchorOffset:k,focusOffset:C,isBackward:!1}),L=O.getEntityAt(k),R=s(L)?E.getEntity(L):null,N="MUTABLE"===(null!=R?R.getMutability():null),F=N?"spellcheck-change":"apply-entity",P=n.replaceText(E,B,y,O.getInlineStyleAt(k),N?O.getEntityAt(k):null);if(f)T=r.anchorOffset,K=r.focusOffset,A=(M=k+Math.min(T,K))+Math.abs(T-K),T=M,K=A;else{var z=y.length-D.length;M=I.getStartOffset(),A=I.getEndOffset(),T=p?A+z:M,K=A+z}var j=P.merge({selectionBefore:E.getSelectionAfter(),selectionAfter:I.merge({anchorOffset:T,focusOffset:K})});t.update(o.push(v,j,F))}else{var U=e.nativeEvent.inputType;if(U){var q=function(t,e){switch(t){case"deleteContentBackward":return c(e)}return e}(U,v);if(q!==v)return t.restoreEditorDOM(),void t.update(q)}}}}},function(t,e,r){"use strict";var n=r(26),i=r(15),o=r(128),a=r(100),s=r(395),u=r(28),c=r(103),l=r(396),f=r(398),p=r(400),h=r(401),d=r(402),g=r(403),y=r(194),v=r(404),m=r(405),_=r(406),b=o.isOptionKeyCommand,S=u.isBrowser("Chrome");t.exports=function(t,e){var r=e.which,o=t._latestEditorState;function u(r){var n=t.props[r];return!!n&&(n(e),!0)}switch(r){case a.RETURN:if(e.preventDefault(),t.props.handleReturn&&c(t.props.handleReturn(e,o)))return;break;case a.ESC:if(e.preventDefault(),u("onEscape"))return;break;case a.TAB:if(u("onTab"))return;break;case a.UP:if(u("onUpArrow"))return;break;case a.RIGHT:if(u("onRightArrow"))return;break;case a.DOWN:if(u("onDownArrow"))return;break;case a.LEFT:if(u("onLeftArrow"))return;break;case a.SPACE:S&&b(e)&&e.preventDefault()}var w=t.props.keyBindingFn(e);if(null!=w&&""!==w)if("undo"!==w){if(e.preventDefault(),!t.props.handleKeyCommand||!c(t.props.handleKeyCommand(w,o,e.timeStamp))){var x=function(t,e,r){switch(t){case"redo":return i.redo(e);case"delete":return v(e);case"delete-word":return p(e);case"backspace":return y(e);case"backspace-word":return f(e);case"backspace-to-start-of-line":return l(e,r);case"split-block":return h(e);case"transpose-characters":return m(e);case"move-selection-to-start-of-block":return g(e);case"move-selection-to-end-of-block":return d(e);case"secondary-cut":return s.cut(e);case"secondary-paste":return s.paste(e);default:return e}}(w,o,e);x!==o&&t.update(x)}}else _(e,o,t.update);else if(r===a.SPACE&&S&&b(e)){var k=n.replaceText(o.getCurrentContent(),o.getSelection()," ");t.update(i.push(o,k,"insert-characters"))}}},function(t,e,r){"use strict";var n=r(100);t.exports=function(t){return t.which===n.RETURN&&(t.getModifierState("Shift")||t.getModifierState("Alt")||t.getModifierState("Control"))}},function(t,e,r){"use strict";var n=r(26),i=r(15),o=r(94),a=r(27),s=null,u={cut:function(t){var e=t.getCurrentContent(),r=t.getSelection(),u=null;if(r.isCollapsed()){var c=r.getAnchorKey(),l=e.getBlockForKey(c).getLength();if(l===r.getAnchorOffset()){var f=e.getKeyAfter(c);if(null==f)return t;u=r.set("focusKey",f).set("focusOffset",0)}else u=r.set("focusOffset",l)}else u=r;u=a(u),s=o(e,u);var p=n.removeRange(e,u,"forward");return p===e?t:i.push(t,p,"remove-range")},paste:function(t){if(!s)return t;var e=n.replaceWithFragment(t.getCurrentContent(),t.getSelection(),s);return i.push(t,e,"insert-fragment")}};t.exports=u},function(t,e,r){"use strict";var n=r(15),i=r(397),o=r(180),a=r(126),s=r(76);t.exports=function(t,e){var r=s(t,(function(t){var r=t.getSelection();if(r.isCollapsed()&&0===r.getAnchorOffset())return a(t,1);var n=e.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return n=i(n),o(t,null,n.endContainer,n.endOffset,n.startContainer,n.startOffset).selectionState}),"backward");return r===t.getCurrentContent()?t:n.push(t,r,"remove-range")}},function(t,e,r){"use strict";var n=r(54),i=r(99),o=r(195),a=r(14);function s(t,e){for(var r=1/0,n=1/0,i=-1/0,o=-1/0,a=0;a<t.length;a++){var s=t[a];0!==s.width&&1!==s.width&&(r=Math.min(r,s.top),n=Math.min(n,s.bottom),i=Math.max(i,s.top),o=Math.max(o,s.bottom))}return i<=n&&i-r<e&&o-n<e}function u(t){switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return t.length;default:return t.childNodes.length}}t.exports=function(t){t.collapsed||a(!1);var e=(t=t.cloneRange()).startContainer;1!==e.nodeType&&(e=e.parentNode);var r=function(t){var e=getComputedStyle(t),r=i(t),n=r.createElement("div");n.style.fontFamily=e.fontFamily,n.style.fontSize=e.fontSize,n.style.fontStyle=e.fontStyle,n.style.fontWeight=e.fontWeight,n.style.lineHeight=e.lineHeight,n.style.position="absolute",n.textContent="M";var o=r.body;o||a(!1),o.appendChild(n);var s=n.getBoundingClientRect();return o.removeChild(n),s.height}(e),c=t.endContainer,l=t.endOffset;for(t.setStart(t.startContainer,0);s(o(t),r)&&(c=t.startContainer,l=t.startOffset,c.parentNode||a(!1),t.setStartBefore(c),1!==c.nodeType||"inline"===getComputedStyle(c).display););for(var f=c,p=l-1;;){for(var h=f.nodeValue,d=p;d>=0;d--)if(!(null!=h&&d>0&&n.isSurrogatePair(h,d-1))){if(t.setStart(f,d),!s(o(t),r))break;c=f,l=d}if(-1===d||0===f.childNodes.length)break;p=u(f=f.childNodes[d])}return t.setStart(c,l),t}},function(t,e,r){"use strict";var n=r(196),i=r(15),o=r(126),a=r(76);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),r=e.getStartOffset();if(0===r)return o(t,1);var i=e.getStartKey(),a=t.getCurrentContent().getBlockForKey(i).getText().slice(0,r),s=n.getBackward(a);return o(t,s.length||1)}),"backward");return e===t.getCurrentContent()?t:i.push(t,e,"remove-range")}},function(t,e,r){"use strict";t.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}},function(t,e,r){"use strict";var n=r(196),i=r(15),o=r(197),a=r(76);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),r=e.getStartOffset(),i=e.getStartKey(),a=t.getCurrentContent().getBlockForKey(i).getText().slice(r),s=n.getForward(a);return o(t,s.length||1)}),"forward");return e===t.getCurrentContent()?t:i.push(t,e,"remove-range")}},function(t,e,r){"use strict";var n=r(26),i=r(15);t.exports=function(t){var e=n.splitBlock(t.getCurrentContent(),t.getSelection());return i.push(t,e,"split-block")}},function(t,e,r){"use strict";var n=r(15);t.exports=function(t){var e=t.getSelection(),r=e.getEndKey(),i=t.getCurrentContent().getBlockForKey(r).getLength();return n.set(t,{selection:e.merge({anchorKey:r,anchorOffset:i,focusKey:r,focusOffset:i,isBackward:!1}),forceSelection:!0})}},function(t,e,r){"use strict";var n=r(15);t.exports=function(t){var e=t.getSelection(),r=e.getStartKey();return n.set(t,{selection:e.merge({anchorKey:r,anchorOffset:0,focusKey:r,focusOffset:0,isBackward:!1}),forceSelection:!0})}},function(t,e,r){"use strict";var n=r(15),i=r(54),o=r(197),a=r(76);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),r=t.getCurrentContent(),n=e.getAnchorKey(),a=e.getAnchorOffset(),s=r.getBlockForKey(n).getText()[a];return o(t,s?i.getUTF16Length(s,0):1)}),"forward");if(e===t.getCurrentContent())return t;var r=t.getSelection();return n.push(t,e.set("selectionBefore",r),r.isCollapsed()?"delete-character":"remove-range")}},function(t,e,r){"use strict";var n=r(26),i=r(15),o=r(94);t.exports=function(t){var e=t.getSelection();if(!e.isCollapsed())return t;var r=e.getAnchorOffset();if(0===r)return t;var a,s,u=e.getAnchorKey(),c=t.getCurrentContent(),l=c.getBlockForKey(u).getLength();if(l<=1)return t;r===l?(a=e.set("anchorOffset",r-1),s=e):s=(a=e.set("focusOffset",r+1)).set("anchorOffset",r+1);var f=o(c,a),p=n.removeRange(c,a,"backward"),h=p.getSelectionAfter(),d=h.getAnchorOffset()-1,g=h.merge({anchorOffset:d,focusOffset:d}),y=n.replaceWithFragment(p,g,f),v=i.push(t,y,"insert-fragment");return i.acceptSelection(v,s)}},function(t,e,r){"use strict";var n=r(15);t.exports=function(t,e,r){var i=n.undo(e);if("spellcheck-change"!==e.getLastChangeType())t.preventDefault(),e.getNativelyRenderedContent()?(r(n.set(e,{nativelyRenderedContent:null})),setTimeout((function(){r(i)}),0)):r(i);else{var o=i.getCurrentContent();r(n.set(i,{nativelyRenderedContent:o}))}}},function(t,e,r){"use strict";var n=r(73),i=r(30),o=r(190),a=r(26),s=r(408),u=r(15),c=r(200),l=r(123),f=r(192),p=r(103),h=r(413);function d(t,e,r){var n=a.replaceWithFragment(t.getCurrentContent(),t.getSelection(),e);return u.push(t,n.set("entityMap",r),"insert-fragment")}t.exports=function(t,e){e.preventDefault();var r=new o(e.clipboardData);if(!r.isRichText()){var g=r.getFiles(),y=r.getText();if(g.length>0){if(t.props.handlePastedFiles&&p(t.props.handlePastedFiles(g)))return;return void f(g,(function(e){if(e=e||y){var r=t._latestEditorState,o=h(e),f=i.create({style:r.getCurrentInlineStyle(),entity:l(r.getCurrentContent(),r.getSelection())}),p=c.getCurrentBlockType(r),d=s.processText(o,f,p),g=n.createFromArray(d),v=a.replaceWithFragment(r.getCurrentContent(),r.getSelection(),g);t.update(u.push(r,v,"insert-fragment"))}}))}}var v=[],m=r.getText(),_=r.getHTML(),b=t._latestEditorState;if(t.props.formatPastedText){var S=t.props.formatPastedText(m,_);m=S.text,_=S.html}if(!t.props.handlePastedText||!p(t.props.handlePastedText(m,_,b))){if(m&&(v=h(m)),!t.props.stripPastedStyles){var w,x=t.getClipboard();if(!t.props.formatPastedText&&r.isRichText()&&x){if(-1!==(null===(w=_)||void 0===w?void 0:w.indexOf(t.getEditorKey()))||1===v.length&&1===x.size&&x.first().getText()===m)return void t.update(d(t._latestEditorState,x))}else if(x&&r.types.includes("com.apple.webarchive")&&!r.types.includes("text/html")&&function(t,e){return t.length===e.size&&e.valueSeq().every((function(e,r){return e.getText()===t[r]}))}(v,x))return void t.update(d(t._latestEditorState,x));if(_){var k=s.processHTML(_,t.props.blockRenderMap);if(k){var C=k.contentBlocks,E=k.entityMap;if(C){var O=n.createFromArray(C);return void t.update(d(t._latestEditorState,O,E))}}}t.setClipboard(null)}if(v.length){var D=i.create({style:b.getCurrentInlineStyle(),entity:l(b.getCurrentContent(),b.getSelection())}),T=c.getCurrentBlockType(b),K=s.processText(v,D,T),M=n.createFromArray(K);t.update(d(t._latestEditorState,M))}}}},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i=r(50),o=r(31),a=r(198),s=r(35),u=r(199),c=r(43),l=r(13),f=r(172),p=l.List,h=l.Repeat,d=c("draft_tree_data_support"),g=d?o:i,y={processHTML:function(t,e){return a(t,u,e)},processText:function(t,e,r){return t.reduce((function(t,i,o){i=f(i);var a=s(),u={key:a,type:r,text:i,characterList:p(h(e,i.length))};if(d&&0!==o){var c=o-1;u=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},i=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),i.forEach((function(e){n(t,e,r[e])}))}return t}({},u,{prevSibling:(t[c]=t[c].merge({nextSibling:a})).getKey()})}return t.push(new g(u)),t}),[])}};t.exports=y},function(t,e,r){"use strict";var n=function(){function t(t){"_uri"in this?Object.defineProperty(this,"_uri",{value:void 0,enumerable:!0,configurable:!0,writable:!0}):this._uri=void 0,this._uri=t}return t.prototype.toString=function(){return this._uri},t}();t.exports=n},function(t,e,r){"use strict";var n=r(53);t.exports=function(t){return!(!t||!t.ownerDocument)&&n(t)&&"A"===t.nodeName}},function(t,e,r){"use strict";var n=r(53);t.exports=function(t){return!(!t||!t.ownerDocument)&&n(t)&&"IMG"===t.nodeName}},function(t,e,r){"use strict";t.exports=function(t,e,r,n){var i=e.getStartKey(),o=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil((function(t,e){return e===i})).takeUntil((function(t,e){return e===o})).concat([[o,a.get(o)]]).map((function(t){var e=t.getDepth()+r;return e=Math.max(0,Math.min(e,n)),t.set("depth",e)}));return a=a.merge(s),t.merge({blockMap:a,selectionBefore:e,selectionAfter:e})}},function(t,e,r){"use strict";var n=/\r\n?|\n/g;t.exports=function(t){return t.split(n)}},function(t,e,r){"use strict";var n=r(38).unstable_flushControlled;t.exports=n},function(t,e,r){"use strict";var n=r(3),i=r(51),o=function(t){var e,r;function o(){return t.apply(this,arguments)||this}r=t,(e=o).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var a=o.prototype;return a.shouldComponentUpdate=function(t){return this.props.text!==t.text||this.props.editorState.getSelection().getHasFocus()!==t.editorState.getSelection().getHasFocus()},a.render=function(){var t=this.props.editorState.getSelection().getHasFocus(),e=i({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":t});return n.createElement("div",{className:e},n.createElement("div",{className:i("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},o}(n.Component);t.exports=o},function(t,e,r){},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i=r(50),o=r(31),a=r(202),s=r(418),u=r(419),c=r(14),l=function(t,e){return{key:t.getKey(),text:t.getText(),type:t.getType(),depth:t.getDepth(),inlineStyleRanges:u(t),entityRanges:s(t,e),data:t.getData().toObject()}};t.exports=function(t){var e={entityMap:{},blocks:[]};return e=function(t,e){var r=e.entityMap,s=[],u={},f={},p=0;return t.getBlockMap().forEach((function(t){t.findEntityRanges((function(t){return null!==t.getEntity()}),(function(e){var n=t.getEntityAt(e),i=a.stringify(n);f[i]||(f[i]=n,r[i]="".concat(p),p++)})),function(t,e,r,a){if(t instanceof i)r.push(l(t,e));else{t instanceof o||c(!1);var s=t.getParentKey(),u=a[t.getKey()]=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},i=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),i.forEach((function(e){n(t,e,r[e])}))}return t}({},l(t,e),{children:[]});s?a[s].children.push(u):r.push(u)}}(t,r,s,u)})),{blocks:s,entityMap:r}}(t,e),function(t,e){var r=e.blocks,n=e.entityMap,i={};return Object.keys(n).forEach((function(e,r){var n=t.getEntity(a.unstringify(e));i[r]={type:n.getType(),mutability:n.getMutability(),data:n.getData()}})),{blocks:r,entityMap:i}}(t,e)}},function(t,e,r){"use strict";var n=r(202),i=r(54).strlen;t.exports=function(t,e){var r=[];return t.findEntityRanges((function(t){return!!t.getEntity()}),(function(o,a){var s=t.getText(),u=t.getEntityAt(o);r.push({offset:i(s.slice(0,o)),length:i(s.slice(o,a)),key:Number(e[n.stringify(u)])})})),r}},function(t,e,r){"use strict";var n=r(54),i=r(74),o=function(t,e){return t===e},a=function(t){return!!t},s=[];t.exports=function(t){var e=t.getCharacterList().map((function(t){return t.getStyle()})).toList(),r=e.flatten().toSet().map((function(r){return function(t,e,r){var s=[],u=e.map((function(t){return t.has(r)})).toList();return i(u,o,a,(function(e,i){var o=t.getText();s.push({offset:n.strlen(o.slice(0,e)),length:n.strlen(o.slice(e,i)),style:r})})),s}(t,e,r)}));return Array.prototype.concat.apply(s,r.toJS())}},function(t,e,r){"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){i(t,e,r[e])}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(50),a=r(31),s=r(120),u=r(95),c=r(421),l=(r(422),r(96)),f=r(423),p=r(424),h=r(425),d=r(35),g=r(43),y=r(13),v=r(14),m=g("draft_tree_data_support"),_=y.List,b=y.Map,S=y.OrderedMap,w=function(t,e){var r=t.key,n=t.type,i=t.data;return{text:t.text,depth:t.depth||0,type:n||"unstyled",key:r||d(),data:b(i),characterList:x(t,e)}},x=function(t,e){var r=t.text,i=t.entityRanges,o=t.inlineStyleRanges,a=i||[];return f(h(r,o||[]),p(r,a.filter((function(t){return e.hasOwnProperty(t.key)})).map((function(t){return n({},t,{key:e[t.key]})}))))},k=function(t){return n({},t,{key:t.key||d()})},C=function(t,e,r){var i=e.map((function(t){return n({},t,{parentRef:r})}));return t.concat(i.reverse())};t.exports=function(t){Array.isArray(t.blocks)||v(!1);var e=function(t){var e=t.entityMap,r={};return Object.keys(e).forEach((function(t){var n=e[t],i=n.type,o=n.mutability,a=n.data;r[t]=u.__create(i,o,a||{})})),r}(t),r=function(t,e){var r=t.blocks.find((function(t){return Array.isArray(t.children)&&t.children.length>0})),i=m&&!r?c.fromRawStateToRawTreeState(t).blocks:t.blocks;return m?function(t,e){return t.map(k).reduce((function(r,i,o){Array.isArray(i.children)||v(!1);var s=i.children.map(k),u=new a(n({},w(i,e),{prevSibling:0===o?null:t[o-1].key,nextSibling:o===t.length-1?null:t[o+1].key,children:_(s.map((function(t){return t.key})))}));r=r.set(u.getKey(),u);for(var c=C([],s,u);c.length>0;){var l=c.pop(),f=l.parentRef,p=f.getChildKeys(),h=p.indexOf(l.key),d=Array.isArray(l.children);if(!d){d||v(!1);break}var g=l.children.map(k),y=new a(n({},w(l,e),{parent:f.getKey(),children:_(g.map((function(t){return t.key}))),prevSibling:0===h?null:p.get(h-1),nextSibling:h===p.size-1?null:p.get(h+1)}));r=r.set(y.getKey(),y),c=C(c,g,y)}return r}),S())}(i,e):function(t,e){return S(t.map((function(t){var r=new o(w(t,e));return[r.getKey(),r]})))}(r?c.fromRawTreeStateToRawState(t).blocks:i,e)}(t,e),i=r.isEmpty()?new l:l.createEmpty(r.first().getKey());return new s({blockMap:r,entityMap:e,selectionBefore:i,selectionAfter:i})}},function(t,e,r){"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){i(t,e,r[e])}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(35),a=r(14),s=function(t){if(!t||!t.type)return!1;var e=t.type;return"unordered-list-item"===e||"ordered-list-item"===e},u={fromRawTreeStateToRawState:function(t){var e=t.blocks,r=[];return Array.isArray(e)||a(!1),Array.isArray(e)&&e.length?(function(t,e){for(var i=[].concat(t).reverse();i.length;){var o=i.pop();l=void 0,l=n({},c=o),s(c)&&(l.depth=l.depth||0,function(t){Array.isArray(t.children)&&(t.children=t.children.map((function(e){return e.type===t.type?n({},e,{depth:(t.depth||0)+1}):e})))}(c),null!=c.children&&c.children.length>0)||(delete l.children,r.push(l));var u=o.children;Array.isArray(u)||a(!1),i=i.concat([].concat(u.reverse()))}var c,l}(e),t.blocks=r,n({},t,{blocks:r})):t},fromRawStateToRawTreeState:function(t){var e=[],r=[];return t.blocks.forEach((function(t){var i=s(t),a=t.depth||0,u=n({},t,{children:[]});if(i){var c=r[0];if(null==c&&0===a)e.push(u);else if(null==c||c.depth<a-1){var l={key:o(),text:"",depth:a-1,type:t.type,children:[],entityRanges:[],inlineStyleRanges:[]};r.unshift(l),1===a?e.push(l):null!=c&&c.children.push(l),l.children.push(u)}else if(c.depth===a-1)c.children.push(u);else{for(;null!=c&&c.depth>=a;)r.shift(),c=r[0];a>0?c.children.push(u):e.push(u)}}else e.push(u)})),n({},t,{blocks:e})}};t.exports=u},function(t,e,r){"use strict";r(127);t.exports={isValidBlock:function(t,e){var r=t.getKey(),n=t.getParentKey();if(null!=n&&!e.get(n).getChildKeys().includes(r))return!1;if(!t.getChildKeys().map((function(t){return e.get(t)})).every((function(t){return t.getParentKey()===r})))return!1;var i=t.getPrevSiblingKey();if(null!=i&&e.get(i).getNextSiblingKey()!==r)return!1;var o=t.getNextSiblingKey();return(null==o||e.get(o).getPrevSiblingKey()===r)&&!(null!==o&&null!==i&&i===o||""!=t.text&&t.getChildKeys().size>0)},isConnectedTree:function(t){var e=t.toArray().filter((function(t){return null==t.getParentKey()&&null==t.getPrevSiblingKey()}));if(1!==e.length)return!1;for(var r=0,n=e.shift().getKey(),i=[];null!=n;){var o=t.get(n),a=o.getChildKeys(),s=o.getNextSiblingKey();if(a.size>0){null!=s&&i.unshift(s);var u=a.map((function(e){return t.get(e)})).find((function(t){return null==t.getPrevSiblingKey()}));if(null==u)return!1;n=u.getKey()}else n=null!=o.getNextSiblingKey()?o.getNextSiblingKey():i.shift();r++}return r===t.size},isValidTree:function(t){var e=this;return!!t.toArray().every((function(r){return e.isValidBlock(r,t)}))&&this.isConnectedTree(t)}}},function(t,e,r){"use strict";var n=r(30),i=r(13).List;t.exports=function(t,e){var r=t.map((function(t,r){var i=e[r];return n.create({style:t,entity:i})}));return i(r)}},function(t,e,r){"use strict";var n=r(54).substr;t.exports=function(t,e){var r=Array(t.length).fill(null);return e&&e.forEach((function(e){for(var i=n(t,0,e.offset).length,o=i+n(t,e.offset,e.length).length,a=i;a<o;a++)r[a]=e.key})),r}},function(t,e,r){"use strict";var n=r(54),i=r(13).OrderedSet,o=n.substr,a=i();t.exports=function(t,e){var r=Array(t.length).fill(a);return e&&e.forEach((function(e){for(var n=o(t,0,e.offset).length,i=n+o(t,e.offset,e.length).length;n<i;)r[n]=r[n].add(e.style),n++})),r}},function(t,e,r){"use strict";var n=r(427);t.exports=function(t){var e=t.getSelection();if(!e.rangeCount)return null;var r=e.getRangeAt(0),i=n(r),o=i.top,a=i.right,s=i.bottom,u=i.left;return 0===o&&0===a&&0===s&&0===u?null:i}},function(t,e,r){"use strict";var n=r(195);t.exports=function(t){var e=n(t),r=0,i=0,o=0,a=0;if(e.length){if(e.length>1&&0===e[0].width){var s=e[1];r=s.top,i=s.right,o=s.bottom,a=s.left}else{var u=e[0];r=u.top,i=u.right,o=u.bottom,a=u.left}for(var c=1;c<e.length;c++){var l=e[c];0!==l.height&&0!==l.width&&(r=Math.min(r,l.top),i=Math.max(i,l.right),o=Math.max(o,l.bottom),a=Math.min(a,l.left))}}return{top:r,right:i,bottom:o,left:a,width:i-a,height:o-r}}}]);replacementVariableEditor.js000066600000554547151123775150012255 0ustar00window.yoast=window.yoast||{},window.yoast.replacementVariableEditor=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=492)}({0:function(t,e){t.exports=window.yoast.propTypes},1:function(t,e){t.exports=window.wp.element},11:function(t,e){t.exports=window.yoast.draftJs},13:function(t,e,n){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function n(t){return s(t)?t:V(t)}function r(t){return a(t)?t:U(t)}function i(t){return u(t)?t:W(t)}function o(t){return s(t)&&!c(t)?t:N(t)}function s(t){return!(!t||!t[h])}function a(t){return!(!t||!t[p])}function u(t){return!(!t||!t[l])}function c(t){return a(t)||u(t)}function f(t){return!(!t||!t[d])}e(r,n),e(i,n),e(o,n),n.isIterable=s,n.isKeyed=a,n.isIndexed=u,n.isAssociative=c,n.isOrdered=f,n.Keyed=r,n.Indexed=i,n.Set=o;var h="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",l="@@__IMMUTABLE_INDEXED__@@",d="@@__IMMUTABLE_ORDERED__@@",v={},_={value:!1},y={value:!1};function g(t){return t.value=!1,t}function m(t){t&&(t.value=!0)}function b(){}function w(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),i=0;i<n;i++)r[i]=t[i+e];return r}function S(t){return void 0===t.size&&(t.size=t.__iterate(O)),t.size}function E(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?S(t)+e:e}function O(){return!0}function x(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function I(t,e){return M(t,e,0)}function z(t,e){return M(t,e,e)}function M(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var D,k,C,R="function"==typeof Symbol&&Symbol.iterator,A=R||"@@iterator";function q(t){this.next=t}function j(t,e,n,r){var i=0===t?e:1===t?n:[e,n];return r?r.value=i:r={value:i,done:!1},r}function B(){return{value:void 0,done:!0}}function P(t){return!!T(t)}function K(t){return t&&"function"==typeof t.next}function F(t){var e=T(t);return e&&e.call(t)}function T(t){var e=t&&(R&&t[R]||t["@@iterator"]);if("function"==typeof e)return e}function L(t){return t&&"number"==typeof t.length}function V(t){return null==t?Q():s(t)?t.toSeq():function(t){var e=tt(t)||"object"==typeof t&&new J(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function U(t){return null==t?Q().toKeyedSeq():s(t)?a(t)?t.toSeq():t.fromEntrySeq():G(t)}function W(t){return null==t?Q():s(t)?a(t)?t.entrySeq():t.toIndexedSeq():Z(t)}function N(t){return(null==t?Q():s(t)?a(t)?t.entrySeq():t:Z(t)).toSetSeq()}function H(t){this._array=t,this.size=t.length}function J(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function $(t){this._iterable=t,this.size=t.length||t.size}function Y(t){this._iterator=t,this._iteratorCache=[]}function X(t){return!(!t||!t["@@__IMMUTABLE_SEQ__@@"])}function Q(){return D||(D=new H([]))}function G(t){var e=Array.isArray(t)?new H(t).fromEntrySeq():K(t)?new Y(t).fromEntrySeq():P(t)?new $(t).fromEntrySeq():"object"==typeof t?new J(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function Z(t){var e=tt(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function tt(t){return L(t)?new H(t):K(t)?new Y(t):P(t)?new $(t):void 0}function et(t,e,n,r){var i=t._cache;if(i){for(var o=i.length-1,s=0;s<=o;s++){var a=i[n?o-s:s];if(!1===e(a[1],r?a[0]:s,t))return s+1}return s}return t.__iterateUncached(e,n)}function nt(t,e,n,r){var i=t._cache;if(i){var o=i.length-1,s=0;return new q((function(){var t=i[n?o-s:s];return s++>o?{value:void 0,done:!0}:j(e,r?t[0]:s-1,t[1])}))}return t.__iteratorUncached(e,n)}function rt(t,e){return e?function t(e,n,r,i){return Array.isArray(n)?e.call(i,r,W(n).map((function(r,i){return t(e,r,i,n)}))):ot(n)?e.call(i,r,U(n).map((function(r,i){return t(e,r,i,n)}))):n}(e,t,"",{"":t}):it(t)}function it(t){return Array.isArray(t)?W(t).map(it).toList():ot(t)?U(t).map(it).toMap():t}function ot(t){return t&&(t.constructor===Object||void 0===t.constructor)}function st(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function at(t,e){if(t===e)return!0;if(!s(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||a(t)!==a(e)||u(t)!==u(e)||f(t)!==f(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!c(t);if(f(t)){var r=t.entries();return e.every((function(t,e){var i=r.next().value;return i&&st(i[1],t)&&(n||st(i[0],e))}))&&r.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var o=t;t=e,e=o}var h=!0,p=e.__iterate((function(e,r){if(n?!t.has(e):i?!st(e,t.get(r,v)):!st(t.get(r,v),e))return h=!1,!1}));return h&&t.size===p}function ut(t,e){if(!(this instanceof ut))return new ut(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(k)return k;k=this}}function ct(t,e){if(!t)throw new Error(e)}function ft(t,e,n){if(!(this instanceof ft))return new ft(t,e,n);if(ct(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if(C)return C;C=this}}function ht(){throw TypeError("Abstract")}function pt(){}function lt(){}function dt(){}q.prototype.toString=function(){return"[Iterator]"},q.KEYS=0,q.VALUES=1,q.ENTRIES=2,q.prototype.inspect=q.prototype.toSource=function(){return this.toString()},q.prototype[A]=function(){return this},e(V,n),V.of=function(){return V(arguments)},V.prototype.toSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq {","}")},V.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},V.prototype.__iterate=function(t,e){return et(this,t,e,!0)},V.prototype.__iterator=function(t,e){return nt(this,t,e,!0)},e(U,V),U.prototype.toKeyedSeq=function(){return this},e(W,V),W.of=function(){return W(arguments)},W.prototype.toIndexedSeq=function(){return this},W.prototype.toString=function(){return this.__toString("Seq [","]")},W.prototype.__iterate=function(t,e){return et(this,t,e,!1)},W.prototype.__iterator=function(t,e){return nt(this,t,e,!1)},e(N,V),N.of=function(){return N(arguments)},N.prototype.toSetSeq=function(){return this},V.isSeq=X,V.Keyed=U,V.Set=N,V.Indexed=W,V.prototype["@@__IMMUTABLE_SEQ__@@"]=!0,e(H,W),H.prototype.get=function(t,e){return this.has(t)?this._array[E(this,t)]:e},H.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===t(n[e?r-i:i],i,this))return i+1;return i},H.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,i=0;return new q((function(){return i>r?{value:void 0,done:!0}:j(t,i,n[e?r-i++:i++])}))},e(J,U),J.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},J.prototype.has=function(t){return this._object.hasOwnProperty(t)},J.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,i=r.length-1,o=0;o<=i;o++){var s=r[e?i-o:o];if(!1===t(n[s],s,this))return o+1}return o},J.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,i=r.length-1,o=0;return new q((function(){var s=r[e?i-o:o];return o++>i?{value:void 0,done:!0}:j(t,s,n[s])}))},J.prototype[d]=!0,e($,W),$.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=F(this._iterable),r=0;if(K(n))for(var i;!(i=n.next()).done&&!1!==t(i.value,r++,this););return r},$.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=F(this._iterable);if(!K(n))return new q(B);var r=0;return new q((function(){var e=n.next();return e.done?e:j(t,r++,e.value)}))},e(Y,W),Y.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===t(i[o],o++,this))return o;for(;!(n=r.next()).done;){var s=n.value;if(i[o]=s,!1===t(s,o++,this))break}return o},Y.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,i=0;return new q((function(){if(i>=r.length){var e=n.next();if(e.done)return e;r[i]=e.value}return j(t,i,r[i++])}))},e(ut,W),ut.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ut.prototype.get=function(t,e){return this.has(t)?this._value:e},ut.prototype.includes=function(t){return st(this._value,t)},ut.prototype.slice=function(t,e){var n=this.size;return x(t,e,n)?this:new ut(this._value,z(e,n)-I(t,n))},ut.prototype.reverse=function(){return this},ut.prototype.indexOf=function(t){return st(this._value,t)?0:-1},ut.prototype.lastIndexOf=function(t){return st(this._value,t)?this.size:-1},ut.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(!1===t(this._value,n,this))return n+1;return n},ut.prototype.__iterator=function(t,e){var n=this,r=0;return new q((function(){return r<n.size?j(t,r++,n._value):{value:void 0,done:!0}}))},ut.prototype.equals=function(t){return t instanceof ut?st(this._value,t._value):at(t)},e(ft,W),ft.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},ft.prototype.get=function(t,e){return this.has(t)?this._start+E(this,t)*this._step:e},ft.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},ft.prototype.slice=function(t,e){return x(t,e,this.size)?this:(t=I(t,this.size),(e=z(e,this.size))<=t?new ft(0,0):new ft(this.get(t,this._end),this.get(e,this._end),this._step))},ft.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},ft.prototype.lastIndexOf=function(t){return this.indexOf(t)},ft.prototype.__iterate=function(t,e){for(var n=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===t(i,o,this))return o+1;i+=e?-r:r}return o},ft.prototype.__iterator=function(t,e){var n=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;return new q((function(){var s=i;return i+=e?-r:r,o>n?{value:void 0,done:!0}:j(t,o++,s)}))},ft.prototype.equals=function(t){return t instanceof ft?this._start===t._start&&this._end===t._end&&this._step===t._step:at(this,t)},e(ht,n),e(pt,ht),e(lt,ht),e(dt,ht),ht.Keyed=pt,ht.Indexed=lt,ht.Set=dt;var vt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function _t(t){return t>>>1&1073741824|3221225471&t}function yt(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)n^=t/=4294967295;return _t(n)}if("string"===e)return t.length>xt?function(t){var e=Mt[t];return void 0===e&&(e=gt(t),zt===It&&(zt=0,Mt={}),zt++,Mt[t]=e),e}(t):gt(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return function(t){var e;if(St&&void 0!==(e=mt.get(t)))return e;if(void 0!==(e=t[Ot]))return e;if(!wt){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Ot]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=++Et,1073741824&Et&&(Et=0),St)mt.set(t,e);else{if(void 0!==bt&&!1===bt(t))throw new Error("Non-extensible objects are not allowed as keys.");if(wt)Object.defineProperty(t,Ot,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Ot]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Ot]=e}}return e}(t);if("function"==typeof t.toString)return gt(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function gt(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return _t(e)}var mt,bt=Object.isExtensible,wt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),St="function"==typeof WeakMap;St&&(mt=new WeakMap);var Et=0,Ot="__immutablehash__";"function"==typeof Symbol&&(Ot=Symbol(Ot));var xt=16,It=255,zt=0,Mt={};function Dt(t){ct(t!==1/0,"Cannot perform this action with an infinite size.")}function kt(t){return null==t?Wt():Ct(t)&&!f(t)?t:Wt().withMutations((function(e){var n=r(t);Dt(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function Ct(t){return!(!t||!t[At])}e(kt,pt),kt.prototype.toString=function(){return this.__toString("Map {","}")},kt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},kt.prototype.set=function(t,e){return Nt(this,t,e)},kt.prototype.setIn=function(t,e){return this.updateIn(t,v,(function(){return e}))},kt.prototype.remove=function(t){return Nt(this,t,v)},kt.prototype.deleteIn=function(t){return this.updateIn(t,(function(){return v}))},kt.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},kt.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=function t(e,n,r,i){var o=e===v,s=n.next();if(s.done){var a=o?r:e,u=i(a);return u===a?e:u}ct(o||e&&e.set,"invalid keyPath");var c=s.value,f=o?v:e.get(c,v),h=t(f,n,r,i);return h===f?e:h===v?e.remove(c):(o?Wt():e).set(c,h)}(this,Ye(t),e,n);return r===v?void 0:r},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Wt()},kt.prototype.merge=function(){return Yt(this,void 0,arguments)},kt.prototype.mergeWith=function(e){var n=t.call(arguments,1);return Yt(this,e,n)},kt.prototype.mergeIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,Wt(),(function(t){return"function"==typeof t.merge?t.merge.apply(t,n):n[n.length-1]}))},kt.prototype.mergeDeep=function(){return Yt(this,Xt,arguments)},kt.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return Yt(this,Qt(e),n)},kt.prototype.mergeDeepIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,Wt(),(function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,n):n[n.length-1]}))},kt.prototype.sort=function(t){return we(Ke(this,t))},kt.prototype.sortBy=function(t,e){return we(Ke(this,e,t))},kt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},kt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new b)},kt.prototype.asImmutable=function(){return this.__ensureOwner()},kt.prototype.wasAltered=function(){return this.__altered},kt.prototype.__iterator=function(t,e){return new Tt(this,t,e)},kt.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate((function(e){return r++,t(e[1],e[0],n)}),e),r},kt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ut(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},kt.isMap=Ct;var Rt,At="@@__IMMUTABLE_MAP__@@",qt=kt.prototype;function jt(t,e){this.ownerID=t,this.entries=e}function Bt(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function Pt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function Kt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function Ft(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function Tt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&Vt(t._root)}function Lt(t,e){return j(t,e[0],e[1])}function Vt(t,e){return{node:t,index:0,__prev:e}}function Ut(t,e,n,r){var i=Object.create(qt);return i.size=t,i._root=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Wt(){return Rt||(Rt=Ut(0))}function Nt(t,e,n){var r,i;if(t._root){var o=g(_),s=g(y);if(r=Ht(t._root,t.__ownerID,0,void 0,e,n,o,s),!s.value)return t;i=t.size+(o.value?n===v?-1:1:0)}else{if(n===v)return t;i=1,r=new jt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=i,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?Ut(i,r):Wt()}function Ht(t,e,n,r,i,o,s,a){return t?t.update(e,n,r,i,o,s,a):o===v?t:(m(a),m(s),new Ft(e,r,[i,o]))}function Jt(t){return t.constructor===Ft||t.constructor===Kt}function $t(t,e,n,r,i){if(t.keyHash===r)return new Kt(e,r,[t.entry,i]);var o,s=31&(0===n?t.keyHash:t.keyHash>>>n),a=31&(0===n?r:r>>>n);return new Bt(e,1<<s|1<<a,s===a?[$t(t,e,n+5,r,i)]:(o=new Ft(e,r,i),s<a?[t,o]:[o,t]))}function Yt(t,e,n){for(var i=[],o=0;o<n.length;o++){var a=n[o],u=r(a);s(a)||(u=u.map((function(t){return rt(t)}))),i.push(u)}return Gt(t,e,i)}function Xt(t,e,n){return t&&t.mergeDeep&&s(e)?t.mergeDeep(e):st(t,e)?t:e}function Qt(t){return function(e,n,r){if(e&&e.mergeDeepWith&&s(n))return e.mergeDeepWith(t,n);var i=t(e,n,r);return st(e,i)?e:i}}function Gt(t,e,n){return 0===(n=n.filter((function(t){return 0!==t.size}))).length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations((function(t){for(var r=e?function(n,r){t.update(r,v,(function(t){return t===v?n:e(t,n,r)}))}:function(e,n){t.set(n,e)},i=0;i<n.length;i++)n[i].forEach(r)})):t.constructor(n[0])}function Zt(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function te(t,e,n,r){var i=r?t:w(t);return i[e]=n,i}qt[At]=!0,qt.delete=qt.remove,qt.removeIn=qt.deleteIn,jt.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,s=i.length;o<s;o++)if(st(n,i[o][0]))return i[o][1];return r},jt.prototype.update=function(t,e,n,r,i,o,s){for(var a=i===v,u=this.entries,c=0,f=u.length;c<f&&!st(r,u[c][0]);c++);var h=c<f;if(h?u[c][1]===i:a)return this;if(m(s),(a||!h)&&m(o),!a||1!==u.length){if(!h&&!a&&u.length>=ee)return function(t,e,n,r){t||(t=new b);for(var i=new Ft(t,yt(n),[n,r]),o=0;o<e.length;o++){var s=e[o];i=i.update(t,0,void 0,s[0],s[1])}return i}(t,u,r,i);var p=t&&t===this.ownerID,l=p?u:w(u);return h?a?c===f-1?l.pop():l[c]=l.pop():l[c]=[r,i]:l.push([r,i]),p?(this.entries=l,this):new jt(t,l)}},Bt.prototype.get=function(t,e,n,r){void 0===e&&(e=yt(n));var i=1<<(31&(0===t?e:e>>>t)),o=this.bitmap;return 0==(o&i)?r:this.nodes[Zt(o&i-1)].get(t+5,e,n,r)},Bt.prototype.update=function(t,e,n,r,i,o,s){void 0===n&&(n=yt(r));var a=31&(0===e?n:n>>>e),u=1<<a,c=this.bitmap,f=0!=(c&u);if(!f&&i===v)return this;var h=Zt(c&u-1),p=this.nodes,l=f?p[h]:void 0,d=Ht(l,t,e+5,n,r,i,o,s);if(d===l)return this;if(!f&&d&&p.length>=ne)return function(t,e,n,r,i){for(var o=0,s=new Array(32),a=0;0!==n;a++,n>>>=1)s[a]=1&n?e[o++]:void 0;return s[r]=i,new Pt(t,o+1,s)}(t,p,c,a,d);if(f&&!d&&2===p.length&&Jt(p[1^h]))return p[1^h];if(f&&d&&1===p.length&&Jt(d))return d;var _=t&&t===this.ownerID,y=f?d?c:c^u:c|u,g=f?d?te(p,h,d,_):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var i=new Array(r),o=0,s=0;s<r;s++)s===e&&(o=1),i[s]=t[s+o];return i}(p,h,_):function(t,e,n,r){var i=t.length+1;if(r&&e+1===i)return t[e]=n,t;for(var o=new Array(i),s=0,a=0;a<i;a++)a===e?(o[a]=n,s=-1):o[a]=t[a+s];return o}(p,h,d,_);return _?(this.bitmap=y,this.nodes=g,this):new Bt(t,y,g)},Pt.prototype.get=function(t,e,n,r){void 0===e&&(e=yt(n));var i=31&(0===t?e:e>>>t),o=this.nodes[i];return o?o.get(t+5,e,n,r):r},Pt.prototype.update=function(t,e,n,r,i,o,s){void 0===n&&(n=yt(r));var a=31&(0===e?n:n>>>e),u=i===v,c=this.nodes,f=c[a];if(u&&!f)return this;var h=Ht(f,t,e+5,n,r,i,o,s);if(h===f)return this;var p=this.count;if(f){if(!h&&--p<re)return function(t,e,n,r){for(var i=0,o=0,s=new Array(n),a=0,u=1,c=e.length;a<c;a++,u<<=1){var f=e[a];void 0!==f&&a!==r&&(i|=u,s[o++]=f)}return new Bt(t,i,s)}(t,c,p,a)}else p++;var l=t&&t===this.ownerID,d=te(c,a,h,l);return l?(this.count=p,this.nodes=d,this):new Pt(t,p,d)},Kt.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,s=i.length;o<s;o++)if(st(n,i[o][0]))return i[o][1];return r},Kt.prototype.update=function(t,e,n,r,i,o,s){void 0===n&&(n=yt(r));var a=i===v;if(n!==this.keyHash)return a?this:(m(s),m(o),$t(this,t,e,n,[r,i]));for(var u=this.entries,c=0,f=u.length;c<f&&!st(r,u[c][0]);c++);var h=c<f;if(h?u[c][1]===i:a)return this;if(m(s),(a||!h)&&m(o),a&&2===f)return new Ft(t,this.keyHash,u[1^c]);var p=t&&t===this.ownerID,l=p?u:w(u);return h?a?c===f-1?l.pop():l[c]=l.pop():l[c]=[r,i]:l.push([r,i]),p?(this.entries=l,this):new Kt(t,this.keyHash,l)},Ft.prototype.get=function(t,e,n,r){return st(n,this.entry[0])?this.entry[1]:r},Ft.prototype.update=function(t,e,n,r,i,o,s){var a=i===v,u=st(r,this.entry[0]);return(u?i===this.entry[1]:a)?this:(m(s),a?void m(o):u?t&&t===this.ownerID?(this.entry[1]=i,this):new Ft(t,this.keyHash,[r,i]):(m(o),$t(this,t,e,yt(r),[r,i])))},jt.prototype.iterate=Kt.prototype.iterate=function(t,e){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===t(n[e?i-r:r]))return!1},Bt.prototype.iterate=Pt.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[e?i-r:r];if(o&&!1===o.iterate(t,e))return!1}},Ft.prototype.iterate=function(t,e){return t(this.entry)},e(Tt,q),Tt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,i=e.index++;if(r.entry){if(0===i)return Lt(t,r.entry)}else if(r.entries){if(i<=(n=r.entries.length-1))return Lt(t,r.entries[this._reverse?n-i:i])}else if(i<=(n=r.nodes.length-1)){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return Lt(t,o.entry);e=this._stack=Vt(o,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var ee=8,ne=16,re=8;function ie(t){var e=de();if(null==t)return e;if(oe(t))return t;var n=i(t),r=n.size;return 0===r?e:(Dt(r),r>0&&r<32?le(0,r,5,null,new ue(n.toArray())):e.withMutations((function(t){t.setSize(r),n.forEach((function(e,n){return t.set(n,e)}))})))}function oe(t){return!(!t||!t[se])}e(ie,lt),ie.of=function(){return this(arguments)},ie.prototype.toString=function(){return this.__toString("List [","]")},ie.prototype.get=function(t,e){if((t=E(this,t))>=0&&t<this.size){var n=ye(this,t+=this._origin);return n&&n.array[31&t]}return e},ie.prototype.set=function(t,e){return function(t,e,n){if((e=E(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?ge(t,e).set(0,n):ge(t,0,e+1).set(e,n)}));e+=t._origin;var r=t._tail,i=t._root,o=g(y);return e>=be(t._capacity)?r=ve(r,t.__ownerID,0,e,n,o):i=ve(i,t.__ownerID,t._level,e,n,o),o.value?t.__ownerID?(t._root=i,t._tail=r,t.__hash=void 0,t.__altered=!0,t):le(t._origin,t._capacity,t._level,i,r):t}(this,t,e)},ie.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},ie.prototype.insert=function(t,e){return this.splice(t,0,e)},ie.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):de()},ie.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(n){ge(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])}))},ie.prototype.pop=function(){return ge(this,0,-1)},ie.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){ge(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])}))},ie.prototype.shift=function(){return ge(this,1)},ie.prototype.merge=function(){return me(this,void 0,arguments)},ie.prototype.mergeWith=function(e){var n=t.call(arguments,1);return me(this,e,n)},ie.prototype.mergeDeep=function(){return me(this,Xt,arguments)},ie.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return me(this,Qt(e),n)},ie.prototype.setSize=function(t){return ge(this,0,t)},ie.prototype.slice=function(t,e){var n=this.size;return x(t,e,n)?this:ge(this,I(t,n),z(e,n))},ie.prototype.__iterator=function(t,e){var n=0,r=pe(this,e);return new q((function(){var e=r();return e===he?{value:void 0,done:!0}:j(t,n++,e)}))},ie.prototype.__iterate=function(t,e){for(var n,r=0,i=pe(this,e);(n=i())!==he&&!1!==t(n,r++,this););return r},ie.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?le(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},ie.isList=oe;var se="@@__IMMUTABLE_LIST__@@",ae=ie.prototype;function ue(t,e){this.array=t,this.ownerID=e}ae[se]=!0,ae.delete=ae.remove,ae.setIn=qt.setIn,ae.deleteIn=ae.removeIn=qt.removeIn,ae.update=qt.update,ae.updateIn=qt.updateIn,ae.mergeIn=qt.mergeIn,ae.mergeDeepIn=qt.mergeDeepIn,ae.withMutations=qt.withMutations,ae.asMutable=qt.asMutable,ae.asImmutable=qt.asImmutable,ae.wasAltered=qt.wasAltered,ue.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&31;if(r>=this.array.length)return new ue([],t);var i,o=0===r;if(e>0){var s=this.array[r];if((i=s&&s.removeBefore(t,e-5,n))===s&&o)return this}if(o&&!i)return this;var a=_e(this,t);if(!o)for(var u=0;u<r;u++)a.array[u]=void 0;return i&&(a.array[r]=i),a},ue.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r,i=n-1>>>e&31;if(i>=this.array.length)return this;if(e>0){var o=this.array[i];if((r=o&&o.removeAfter(t,e-5,n))===o&&i===this.array.length-1)return this}var s=_e(this,t);return s.array.splice(i+1),r&&(s.array[i]=r),s};var ce,fe,he={};function pe(t,e){var n=t._origin,r=t._capacity,i=be(r),o=t._tail;return function t(s,a,u){return 0===a?function(t,s){var a=s===i?o&&o.array:t&&t.array,u=s>n?0:n-s,c=r-s;return c>32&&(c=32),function(){if(u===c)return he;var t=e?--c:u++;return a&&a[t]}}(s,u):function(i,o,s){var a,u=i&&i.array,c=s>n?0:n-s>>o,f=1+(r-s>>o);return f>32&&(f=32),function(){for(;;){if(a){var n=a();if(n!==he)return n;a=null}if(c===f)return he;var r=e?--f:c++;a=t(u&&u[r],o-5,s+(r<<o))}}}(s,a,u)}(t._root,t._level,0)}function le(t,e,n,r,i,o,s){var a=Object.create(ae);return a.size=e-t,a._origin=t,a._capacity=e,a._level=n,a._root=r,a._tail=i,a.__ownerID=o,a.__hash=s,a.__altered=!1,a}function de(){return ce||(ce=le(0,0,5))}function ve(t,e,n,r,i,o){var s,a=r>>>n&31,u=t&&a<t.array.length;if(!u&&void 0===i)return t;if(n>0){var c=t&&t.array[a],f=ve(c,e,n-5,r,i,o);return f===c?t:((s=_e(t,e)).array[a]=f,s)}return u&&t.array[a]===i?t:(m(o),s=_e(t,e),void 0===i&&a===s.array.length-1?s.array.pop():s.array[a]=i,s)}function _e(t,e){return e&&t&&e===t.ownerID?t:new ue(t?t.array.slice():[],e)}function ye(t,e){if(e>=be(t._capacity))return t._tail;if(e<1<<t._level+5){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&31],r-=5;return n}}function ge(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new b,i=t._origin,o=t._capacity,s=i+e,a=void 0===n?o:n<0?o+n:i+n;if(s===i&&a===o)return t;if(s>=a)return t.clear();for(var u=t._level,c=t._root,f=0;s+f<0;)c=new ue(c&&c.array.length?[void 0,c]:[],r),f+=1<<(u+=5);f&&(s+=f,i+=f,a+=f,o+=f);for(var h=be(o),p=be(a);p>=1<<u+5;)c=new ue(c&&c.array.length?[c]:[],r),u+=5;var l=t._tail,d=p<h?ye(t,a-1):p>h?new ue([],r):l;if(l&&p>h&&s<o&&l.array.length){for(var v=c=_e(c,r),_=u;_>5;_-=5){var y=h>>>_&31;v=v.array[y]=_e(v.array[y],r)}v.array[h>>>5&31]=l}if(a<o&&(d=d&&d.removeAfter(r,0,a)),s>=p)s-=p,a-=p,u=5,c=null,d=d&&d.removeBefore(r,0,s);else if(s>i||p<h){for(f=0;c;){var g=s>>>u&31;if(g!==p>>>u&31)break;g&&(f+=(1<<u)*g),u-=5,c=c.array[g]}c&&s>i&&(c=c.removeBefore(r,u,s-f)),c&&p<h&&(c=c.removeAfter(r,u,p-f)),f&&(s-=f,a-=f)}return t.__ownerID?(t.size=a-s,t._origin=s,t._capacity=a,t._level=u,t._root=c,t._tail=d,t.__hash=void 0,t.__altered=!0,t):le(s,a,u,c,d)}function me(t,e,n){for(var r=[],o=0,a=0;a<n.length;a++){var u=n[a],c=i(u);c.size>o&&(o=c.size),s(u)||(c=c.map((function(t){return rt(t)}))),r.push(c)}return o>t.size&&(t=t.setSize(o)),Gt(t,e,r)}function be(t){return t<32?0:t-1>>>5<<5}function we(t){return null==t?Oe():Se(t)?t:Oe().withMutations((function(e){var n=r(t);Dt(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function Se(t){return Ct(t)&&f(t)}function Ee(t,e,n,r){var i=Object.create(we.prototype);return i.size=t?t.size:0,i._map=t,i._list=e,i.__ownerID=n,i.__hash=r,i}function Oe(){return fe||(fe=Ee(Wt(),de()))}function xe(t,e,n){var r,i,o=t._map,s=t._list,a=o.get(e),u=void 0!==a;if(n===v){if(!u)return t;s.size>=32&&s.size>=2*o.size?(r=(i=s.filter((function(t,e){return void 0!==t&&a!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(r.__ownerID=i.__ownerID=t.__ownerID)):(r=o.remove(e),i=a===s.size-1?s.pop():s.set(a,void 0))}else if(u){if(n===s.get(a)[1])return t;r=o,i=s.set(a,[e,n])}else r=o.set(e,s.size),i=s.set(s.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=i,t.__hash=void 0,t):Ee(r,i)}function Ie(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function ze(t){this._iter=t,this.size=t.size}function Me(t){this._iter=t,this.size=t.size}function De(t){this._iter=t,this.size=t.size}function ke(t){var e=He(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=Je,e.__iterateUncached=function(e,n){var r=this;return t.__iterate((function(t,n){return!1!==e(n,t,r)}),n)},e.__iteratorUncached=function(e,n){if(2===e){var r=t.__iterator(e,n);return new q((function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(1===e?0:1,n)},e}function Ce(t,e,n){var r=He(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,i){var o=t.get(r,v);return o===v?i:e.call(n,o,r,t)},r.__iterateUncached=function(r,i){var o=this;return t.__iterate((function(t,i,s){return!1!==r(e.call(n,t,i,s),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=t.__iterator(2,i);return new q((function(){var i=o.next();if(i.done)return i;var s=i.value,a=s[0];return j(r,a,e.call(n,s[1],a,t),i)}))},r}function Re(t,e){var n=He(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=ke(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=Je,n.__iterate=function(e,n){var r=this;return t.__iterate((function(t,n){return e(t,n,r)}),!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function Ae(t,e,n,r){var i=He(t);return r&&(i.has=function(r){var i=t.get(r,v);return i!==v&&!!e.call(n,i,r,t)},i.get=function(r,i){var o=t.get(r,v);return o!==v&&e.call(n,o,r,t)?o:i}),i.__iterateUncached=function(i,o){var s=this,a=0;return t.__iterate((function(t,o,u){if(e.call(n,t,o,u))return a++,i(t,r?o:a-1,s)}),o),a},i.__iteratorUncached=function(i,o){var s=t.__iterator(2,o),a=0;return new q((function(){for(;;){var o=s.next();if(o.done)return o;var u=o.value,c=u[0],f=u[1];if(e.call(n,f,c,t))return j(i,r?c:a++,f,o)}}))},i}function qe(t,e,n,r){var i=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n|=0),x(e,n,i))return t;var o=I(e,i),s=z(n,i);if(o!=o||s!=s)return qe(t.toSeq().cacheResult(),e,n,r);var a,u=s-o;u==u&&(a=u<0?0:u);var c=He(t);return c.size=0===a?a:t.size&&a||void 0,!r&&X(t)&&a>=0&&(c.get=function(e,n){return(e=E(this,e))>=0&&e<a?t.get(e+o,n):n}),c.__iterateUncached=function(e,n){var i=this;if(0===a)return 0;if(n)return this.cacheResult().__iterate(e,n);var s=0,u=!0,c=0;return t.__iterate((function(t,n){if(!u||!(u=s++<o))return c++,!1!==e(t,r?n:c-1,i)&&c!==a})),c},c.__iteratorUncached=function(e,n){if(0!==a&&n)return this.cacheResult().__iterator(e,n);var i=0!==a&&t.__iterator(e,n),s=0,u=0;return new q((function(){for(;s++<o;)i.next();if(++u>a)return{value:void 0,done:!0};var t=i.next();return r||1===e?t:j(e,u-1,0===e?void 0:t.value[1],t)}))},c}function je(t,e,n,r){var i=He(t);return i.__iterateUncached=function(i,o){var s=this;if(o)return this.cacheResult().__iterate(i,o);var a=!0,u=0;return t.__iterate((function(t,o,c){if(!a||!(a=e.call(n,t,o,c)))return u++,i(t,r?o:u-1,s)})),u},i.__iteratorUncached=function(i,o){var s=this;if(o)return this.cacheResult().__iterator(i,o);var a=t.__iterator(2,o),u=!0,c=0;return new q((function(){var t,o,f;do{if((t=a.next()).done)return r||1===i?t:j(i,c++,0===i?void 0:t.value[1],t);var h=t.value;o=h[0],f=h[1],u&&(u=e.call(n,f,o,s))}while(u);return 2===i?t:j(i,o,f,t)}))},i}function Be(t,e){var n=a(t),i=[t].concat(e).map((function(t){return s(t)?n&&(t=r(t)):t=n?G(t):Z(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===i.length)return t;if(1===i.length){var o=i[0];if(o===t||n&&a(o)||u(t)&&u(o))return o}var c=new H(i);return n?c=c.toKeyedSeq():u(t)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),c}function Pe(t,e,n){var r=He(t);return r.__iterateUncached=function(r,i){var o=0,a=!1;return function t(u,c){var f=this;u.__iterate((function(i,u){return(!e||c<e)&&s(i)?t(i,c+1):!1===r(i,n?u:o++,f)&&(a=!0),!a}),i)}(t,0),o},r.__iteratorUncached=function(r,i){var o=t.__iterator(r,i),a=[],u=0;return new q((function(){for(;o;){var t=o.next();if(!1===t.done){var c=t.value;if(2===r&&(c=c[1]),e&&!(a.length<e)||!s(c))return n?t:j(r,u++,c,t);a.push(o),o=c.__iterator(r,i)}else o=a.pop()}return{value:void 0,done:!0}}))},r}function Ke(t,e,n){e||(e=$e);var r=a(t),i=0,o=t.toSeq().map((function(e,r){return[r,e,i++,n?n(e,r,t):e]})).toArray();return o.sort((function(t,n){return e(t[3],n[3])||t[2]-n[2]})).forEach(r?function(t,e){o[e].length=2}:function(t,e){o[e]=t[1]}),r?U(o):u(t)?W(o):N(o)}function Fe(t,e,n){if(e||(e=$e),n){var r=t.toSeq().map((function(e,r){return[e,n(e,r,t)]})).reduce((function(t,n){return Te(e,t[1],n[1])?n:t}));return r&&r[0]}return t.reduce((function(t,n){return Te(e,t,n)?n:t}))}function Te(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(null==n||n!=n)||r>0}function Le(t,e,r){var i=He(t);return i.size=new H(r).map((function(t){return t.size})).min(),i.__iterate=function(t,e){for(var n,r=this.__iterator(1,e),i=0;!(n=r.next()).done&&!1!==t(n.value,i++,this););return i},i.__iteratorUncached=function(t,i){var o=r.map((function(t){return t=n(t),F(i?t.reverse():t)})),s=0,a=!1;return new q((function(){var n;return a||(n=o.map((function(t){return t.next()})),a=n.some((function(t){return t.done}))),a?{value:void 0,done:!0}:j(t,s++,e.apply(null,n.map((function(t){return t.value}))))}))},i}function Ve(t,e){return X(t)?e:t.constructor(e)}function Ue(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function We(t){return Dt(t.size),S(t)}function Ne(t){return a(t)?r:u(t)?i:o}function He(t){return Object.create((a(t)?U:u(t)?W:N).prototype)}function Je(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V.prototype.cacheResult.call(this)}function $e(t,e){return t>e?1:t<e?-1:0}function Ye(t){var e=F(t);if(!e){if(!L(t))throw new TypeError("Expected iterable or array-like: "+t);e=F(n(t))}return e}function Xe(t,e){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var s=Object.keys(t);!function(t,e){try{e.forEach(tn.bind(void 0,t))}catch(t){}}(i,s),i.size=s.length,i._name=e,i._keys=s,i._defaultValues=t}this._map=kt(o)},i=r.prototype=Object.create(Qe);return i.constructor=r,r}e(we,kt),we.of=function(){return this(arguments)},we.prototype.toString=function(){return this.__toString("OrderedMap {","}")},we.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},we.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Oe()},we.prototype.set=function(t,e){return xe(this,t,e)},we.prototype.remove=function(t){return xe(this,t,v)},we.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},we.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],n)}),e)},we.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},we.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?Ee(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},we.isOrderedMap=Se,we.prototype[d]=!0,we.prototype.delete=we.prototype.remove,e(Ie,U),Ie.prototype.get=function(t,e){return this._iter.get(t,e)},Ie.prototype.has=function(t){return this._iter.has(t)},Ie.prototype.valueSeq=function(){return this._iter.valueSeq()},Ie.prototype.reverse=function(){var t=this,e=Re(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},Ie.prototype.map=function(t,e){var n=this,r=Ce(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},Ie.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?We(this):0,function(i){return t(i,e?--n:n++,r)}),e)},Ie.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(1,e),r=e?We(this):0;return new q((function(){var i=n.next();return i.done?i:j(t,e?--r:r++,i.value,i)}))},Ie.prototype[d]=!0,e(ze,W),ze.prototype.includes=function(t){return this._iter.includes(t)},ze.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate((function(e){return t(e,r++,n)}),e)},ze.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e),r=0;return new q((function(){var e=n.next();return e.done?e:j(t,r++,e.value,e)}))},e(Me,N),Me.prototype.has=function(t){return this._iter.includes(t)},Me.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){return t(e,e,n)}),e)},Me.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e);return new q((function(){var e=n.next();return e.done?e:j(t,e.value,e.value,e)}))},e(De,U),De.prototype.entrySeq=function(){return this._iter.toSeq()},De.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){if(e){Ue(e);var r=s(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}}),e)},De.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e);return new q((function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Ue(r);var i=s(r);return j(t,i?r.get(0):r[0],i?r.get(1):r[1],e)}}}))},ze.prototype.cacheResult=Ie.prototype.cacheResult=Me.prototype.cacheResult=De.prototype.cacheResult=Je,e(Xe,pt),Xe.prototype.toString=function(){return this.__toString(Ze(this)+" {","}")},Xe.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},Xe.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},Xe.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=Ge(this,Wt()))},Xe.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Ze(this));var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:Ge(this,n)},Xe.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:Ge(this,e)},Xe.prototype.wasAltered=function(){return this._map.wasAltered()},Xe.prototype.__iterator=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterator(t,e)},Xe.prototype.__iterate=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterate(t,e)},Xe.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?Ge(this,e,t):(this.__ownerID=t,this._map=e,this)};var Qe=Xe.prototype;function Ge(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function Ze(t){return t._name||t.constructor.name||"Record"}function tn(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){ct(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function en(t){return null==t?cn():nn(t)&&!f(t)?t:cn().withMutations((function(e){var n=o(t);Dt(n.size),n.forEach((function(t){return e.add(t)}))}))}function nn(t){return!(!t||!t[on])}Qe.delete=Qe.remove,Qe.deleteIn=Qe.removeIn=qt.removeIn,Qe.merge=qt.merge,Qe.mergeWith=qt.mergeWith,Qe.mergeIn=qt.mergeIn,Qe.mergeDeep=qt.mergeDeep,Qe.mergeDeepWith=qt.mergeDeepWith,Qe.mergeDeepIn=qt.mergeDeepIn,Qe.setIn=qt.setIn,Qe.update=qt.update,Qe.updateIn=qt.updateIn,Qe.withMutations=qt.withMutations,Qe.asMutable=qt.asMutable,Qe.asImmutable=qt.asImmutable,e(en,dt),en.of=function(){return this(arguments)},en.fromKeys=function(t){return this(r(t).keySeq())},en.prototype.toString=function(){return this.__toString("Set {","}")},en.prototype.has=function(t){return this._map.has(t)},en.prototype.add=function(t){return an(this,this._map.set(t,!0))},en.prototype.remove=function(t){return an(this,this._map.remove(t))},en.prototype.clear=function(){return an(this,this._map.clear())},en.prototype.union=function(){var e=t.call(arguments,0);return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(t){for(var n=0;n<e.length;n++)o(e[n]).forEach((function(e){return t.add(e)}))})):this.constructor(e[0])},en.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return o(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.every((function(t){return t.includes(n)}))||t.remove(n)}))}))},en.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return o(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.some((function(t){return t.includes(n)}))&&t.remove(n)}))}))},en.prototype.merge=function(){return this.union.apply(this,arguments)},en.prototype.mergeWith=function(e){var n=t.call(arguments,1);return this.union.apply(this,n)},en.prototype.sort=function(t){return fn(Ke(this,t))},en.prototype.sortBy=function(t,e){return fn(Ke(this,e,t))},en.prototype.wasAltered=function(){return this._map.wasAltered()},en.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate((function(e,r){return t(r,r,n)}),e)},en.prototype.__iterator=function(t,e){return this._map.map((function(t,e){return e})).__iterator(t,e)},en.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},en.isSet=nn;var rn,on="@@__IMMUTABLE_SET__@@",sn=en.prototype;function an(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function un(t,e){var n=Object.create(sn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function cn(){return rn||(rn=un(Wt()))}function fn(t){return null==t?vn():hn(t)?t:vn().withMutations((function(e){var n=o(t);Dt(n.size),n.forEach((function(t){return e.add(t)}))}))}function hn(t){return nn(t)&&f(t)}sn[on]=!0,sn.delete=sn.remove,sn.mergeDeep=sn.merge,sn.mergeDeepWith=sn.mergeWith,sn.withMutations=qt.withMutations,sn.asMutable=qt.asMutable,sn.asImmutable=qt.asImmutable,sn.__empty=cn,sn.__make=un,e(fn,en),fn.of=function(){return this(arguments)},fn.fromKeys=function(t){return this(r(t).keySeq())},fn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},fn.isOrderedSet=hn;var pn,ln=fn.prototype;function dn(t,e){var n=Object.create(ln);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function vn(){return pn||(pn=dn(Oe()))}function yn(t){return null==t?En():gn(t)?t:En().unshiftAll(t)}function gn(t){return!(!t||!t[bn])}ln[d]=!0,ln.__empty=vn,ln.__make=dn,e(yn,lt),yn.of=function(){return this(arguments)},yn.prototype.toString=function(){return this.__toString("Stack [","]")},yn.prototype.get=function(t,e){var n=this._head;for(t=E(this,t);n&&t--;)n=n.next;return n?n.value:e},yn.prototype.peek=function(){return this._head&&this._head.value},yn.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Sn(t,e)},yn.prototype.pushAll=function(t){if(0===(t=i(t)).size)return this;Dt(t.size);var e=this.size,n=this._head;return t.reverse().forEach((function(t){e++,n={value:t,next:n}})),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Sn(e,n)},yn.prototype.pop=function(){return this.slice(1)},yn.prototype.unshift=function(){return this.push.apply(this,arguments)},yn.prototype.unshiftAll=function(t){return this.pushAll(t)},yn.prototype.shift=function(){return this.pop.apply(this,arguments)},yn.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):En()},yn.prototype.slice=function(t,e){if(x(t,e,this.size))return this;var n=I(t,this.size);if(z(e,this.size)!==this.size)return lt.prototype.slice.call(this,t,e);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Sn(r,i)},yn.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Sn(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},yn.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},yn.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new q((function(){if(r){var e=r.value;return r=r.next,j(t,n++,e)}return{value:void 0,done:!0}}))},yn.isStack=gn;var mn,bn="@@__IMMUTABLE_STACK__@@",wn=yn.prototype;function Sn(t,e,n,r){var i=Object.create(wn);return i.size=t,i._head=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function En(){return mn||(mn=Sn(0))}function On(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}wn[bn]=!0,wn.withMutations=qt.withMutations,wn.asMutable=qt.asMutable,wn.asImmutable=qt.asImmutable,wn.wasAltered=qt.wasAltered,n.Iterator=q,On(n,{toArray:function(){Dt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate((function(e,n){t[n]=e})),t},toIndexedSeq:function(){return new ze(this)},toJS:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJS?t.toJS():t})).__toJS()},toJSON:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t})).__toJS()},toKeyedSeq:function(){return new Ie(this,!0)},toMap:function(){return kt(this.toKeyedSeq())},toObject:function(){Dt(this.size);var t={};return this.__iterate((function(e,n){t[n]=e})),t},toOrderedMap:function(){return we(this.toKeyedSeq())},toOrderedSet:function(){return fn(a(this)?this.valueSeq():this)},toSet:function(){return en(a(this)?this.valueSeq():this)},toSetSeq:function(){return new Me(this)},toSeq:function(){return u(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return yn(a(this)?this.valueSeq():this)},toList:function(){return ie(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){var e=t.call(arguments,0);return Ve(this,Be(this,e))},includes:function(t){return this.some((function(e){return st(e,t)}))},entries:function(){return this.__iterator(2)},every:function(t,e){Dt(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!t.call(e,r,i,o))return n=!1,!1})),n},filter:function(t,e){return Ve(this,Ae(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},findEntry:function(t,e){var n;return this.__iterate((function(r,i,o){if(t.call(e,r,i,o))return n=[i,r],!1})),n},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)},forEach:function(t,e){return Dt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Dt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate((function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""})),e},keys:function(){return this.__iterator(0)},map:function(t,e){return Ve(this,Ce(this,t,e))},reduce:function(t,e,n){var r,i;return Dt(this.size),arguments.length<2?i=!0:r=e,this.__iterate((function(e,o,s){i?(i=!1,r=e):r=t.call(n,r,e,o,s)})),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Ve(this,Re(this,!0))},slice:function(t,e){return Ve(this,qe(this,t,e,!0))},some:function(t,e){return!this.every(Dn(t),e)},sort:function(t){return Ve(this,Ke(this,t))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return S(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var r=kt().asMutable();return t.__iterate((function(i,o){r.update(e.call(n,i,o,t),0,(function(t){return t+1}))})),r.asImmutable()}(this,t,e)},equals:function(t){return at(this,t)},entrySeq:function(){var t=this;if(t._cache)return new H(t._cache);var e=t.toSeq().map(Mn).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Dn(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(O)},flatMap:function(t,e){return Ve(this,function(t,e,n){var r=Ne(t);return t.toSeq().map((function(i,o){return r(e.call(n,i,o,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Ve(this,Pe(this,t,!0))},fromEntrySeq:function(){return new De(this)},get:function(t,e){return this.find((function(e,n){return st(n,t)}),void 0,e)},getIn:function(t,e){for(var n,r=this,i=Ye(t);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,v):v)===v)return e}return r},groupBy:function(t,e){return function(t,e,n){var r=a(t),i=(f(t)?we():kt()).asMutable();t.__iterate((function(o,s){i.update(e.call(n,o,s,t),(function(t){return(t=t||[]).push(r?[s,o]:o),t}))}));var o=Ne(t);return i.map((function(e){return Ve(t,o(e))}))}(this,t,e)},has:function(t){return this.get(t,v)!==v},hasIn:function(t){return this.getIn(t,v)!==v},isSubset:function(t){return t="function"==typeof t.includes?t:n(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:n(t)).isSubset(this)},keySeq:function(){return this.toSeq().map(zn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return Fe(this,t)},maxBy:function(t,e){return Fe(this,e,t)},min:function(t){return Fe(this,t?kn(t):An)},minBy:function(t,e){return Fe(this,e?kn(e):An,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Ve(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Ve(this,je(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Dn(t),e)},sortBy:function(t,e){return Ve(this,Ke(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Ve(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Ve(this,function(t,e,n){var r=He(t);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var s=0;return t.__iterate((function(t,i,a){return e.call(n,t,i,a)&&++s&&r(t,i,o)})),s},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var s=t.__iterator(2,i),a=!0;return new q((function(){if(!a)return{value:void 0,done:!0};var t=s.next();if(t.done)return t;var i=t.value,u=i[0],c=i[1];return e.call(n,c,u,o)?2===r?t:j(r,u,c,t):(a=!1,{value:void 0,done:!0})}))},r}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Dn(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=f(t),n=a(t),r=e?1:0;return function(t,e){return e=vt(e,3432918353),e=vt(e<<15|e>>>-15,461845907),e=vt(e<<13|e>>>-13,5),e=vt((e=(e+3864292196|0)^t)^e>>>16,2246822507),_t((e=vt(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+qn(yt(t),yt(e))|0}:function(t,e){r=r+qn(yt(t),yt(e))|0}:e?function(t){r=31*r+yt(t)|0}:function(t){r=r+yt(t)|0}),r)}(this))}});var xn=n.prototype;xn[h]=!0,xn[A]=xn.values,xn.__toJS=xn.toArray,xn.__toStringMapper=Cn,xn.inspect=xn.toSource=function(){return this.toString()},xn.chain=xn.flatMap,xn.contains=xn.includes,function(){try{Object.defineProperty(xn,"length",{get:function(){if(!n.noLengthWarning){var t;try{throw new Error}catch(e){t=e.stack}if(-1===t.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. "+t),this.size}}})}catch(t){}}(),On(r,{flip:function(){return Ve(this,ke(this))},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey((function(e){return st(e,t)}))},lastKeyOf:function(t){return this.findLastKey((function(e){return st(e,t)}))},mapEntries:function(t,e){var n=this,r=0;return Ve(this,this.toSeq().map((function(i,o){return t.call(e,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Ve(this,this.toSeq().flip().map((function(r,i){return t.call(e,r,i,n)})).flip())}});var In=r.prototype;function zn(t,e){return e}function Mn(t,e){return[e,t]}function Dn(t){return function(){return!t.apply(this,arguments)}}function kn(t){return function(){return-t.apply(this,arguments)}}function Cn(t){return"string"==typeof t?JSON.stringify(t):t}function Rn(){return w(arguments)}function An(t,e){return t<e?1:t>e?-1:0}function qn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return In[p]=!0,In[A]=xn.entries,In.__toJS=xn.toObject,In.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+Cn(t)},On(i,{toKeyedSeq:function(){return new Ie(this,!1)},filter:function(t,e){return Ve(this,Ae(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.toKeyedSeq().reverse().keyOf(t);return void 0===e?-1:e},reverse:function(){return Ve(this,Re(this,!1))},slice:function(t,e){return Ve(this,qe(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=I(t,t<0?this.count():this.size);var r=this.slice(0,t);return Ve(this,1===n?r:r.concat(w(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.toKeyedSeq().findLastKey(t,e);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(t){return Ve(this,Pe(this,t,!1))},get:function(t,e){return(t=E(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=E(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Ve(this,function(t,e){var n=He(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return t.__iterate((function(t,r){return(!o||!1!==n(e,o++,i))&&!1!==n(t,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=t.__iterator(1,r),s=0;return new q((function(){return(!i||s%2)&&(i=o.next()).done?i:s%2?j(n,s++,e):j(n,s++,i.value,i)}))},n}(this,t))},interleave:function(){var t=[this].concat(w(arguments)),e=Le(this.toSeq(),W.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Ve(this,n)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Ve(this,je(this,t,e,!1))},zip:function(){var t=[this].concat(w(arguments));return Ve(this,Le(this,Rn,t))},zipWith:function(t){var e=w(arguments);return e[0]=this,Ve(this,Le(this,t,e))}}),i.prototype[l]=!0,i.prototype[d]=!0,On(o,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=xn.includes,On(U,r.prototype),On(W,i.prototype),On(N,o.prototype),On(pt,r.prototype),On(lt,i.prototype),On(dt,o.prototype),{Iterable:n,Seq:V,Collection:ht,Map:kt,OrderedMap:we,List:ie,Stack:yn,Set:en,OrderedSet:fn,Record:Xe,Range:ft,Repeat:ut,is:st,fromJS:rt}}()},132:function(t,e){t.exports=window.lodash.escapeRegExp},2:function(t,e){t.exports=window.lodash},222:function(t,e){t.exports=window.lodash.get},223:function(t,e){var n="undefined"!=typeof Element,r="function"==typeof Map,i="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;t.exports=function(t,e){try{return function t(e,s){if(e===s)return!0;if(e&&s&&"object"==typeof e&&"object"==typeof s){if(e.constructor!==s.constructor)return!1;var a,u,c,f;if(Array.isArray(e)){if((a=e.length)!=s.length)return!1;for(u=a;0!=u--;)if(!t(e[u],s[u]))return!1;return!0}if(r&&e instanceof Map&&s instanceof Map){if(e.size!==s.size)return!1;for(f=e.entries();!(u=f.next()).done;)if(!s.has(u.value[0]))return!1;for(f=e.entries();!(u=f.next()).done;)if(!t(u.value[1],s.get(u.value[0])))return!1;return!0}if(i&&e instanceof Set&&s instanceof Set){if(e.size!==s.size)return!1;for(f=e.entries();!(u=f.next()).done;)if(!s.has(u.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(s)){if((a=e.length)!=s.length)return!1;for(u=a;0!=u--;)if(e[u]!==s[u])return!1;return!0}if(e.constructor===RegExp)return e.source===s.source&&e.flags===s.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===s.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===s.toString();if((a=(c=Object.keys(e)).length)!==Object.keys(s).length)return!1;for(u=a;0!=u--;)if(!Object.prototype.hasOwnProperty.call(s,c[u]))return!1;if(n&&e instanceof Element)return!1;for(u=a;0!=u--;)if(("_owner"!==c[u]&&"__v"!==c[u]&&"__o"!==c[u]||!e.$$typeof)&&!t(e[c[u]],s[c[u]]))return!1;return!0}return e!=e&&s!=s}(t,e)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},23:function(t,e){t.exports=window.wp.components},3:function(t,e){t.exports=window.React},33:function(t,e,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)&&r.length){var s=i.apply(null,r);s&&t.push(s)}else if("object"===o)for(var a in r)n.call(r,a)&&r[a]&&t.push(a)}}return t.join(" ")}t.exports?(i.default=i,t.exports=i):void 0===(r=function(){return i}.apply(e,[]))||(t.exports=r)}()},4:function(t,e){t.exports=window.wp.i18n},40:function(t,e){t.exports=window.wp.a11y},492:function(t,e,n){"use strict";n.r(e),n.d(e,"ReplacementVariableEditor",(function(){return un})),n.d(e,"ReplacementVariableEditorStandalone",(function(){return Ze})),n.d(e,"SettingsSnippetEditor",(function(){return ln})),n.d(e,"StyledEditor",(function(){return cn})),n.d(e,"StandardButton",(function(){return on})),n.d(e,"TriggerReplacementVariableSuggestionsButton",(function(){return sn})),n.d(e,"replacementVariablesShape",(function(){return Me})),n.d(e,"recommendedReplacementVariablesShape",(function(){return De}));var r=n(1),i=n(3),o=n.n(i),s=n(0),a=n.n(s),u=n(58),c=n.n(u),f=n(4),h=n(23),p=n(11),l=n(13),d=n.n(l);function v(){return(v=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function _(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}function y(t){var e=t.getCurrentContent().getBlockMap(),n=e.last().getKey(),r=e.last().getLength(),i=new p.SelectionState({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r});return p.EditorState.acceptSelection(t,i)}var g=function(){function t(t){this.decorators=void 0,this.decorators=d.a.List(t)}var e=t.prototype;return e.getDecorations=function(t,e){var n=new Array(t.getText().length).fill(null);return this.decorators.forEach((function(r,i){r.getDecorations(t,e).forEach((function(t,e){t&&(n[e]=i+"-"+t)}))})),d.a.List(n)},e.getComponentForKey=function(e){return this.getDecoratorForKey(e).getComponentForKey(t.getInnerKey(e))},e.getPropsForKey=function(e){return this.getDecoratorForKey(e).getPropsForKey(t.getInnerKey(e))},e.getDecoratorForKey=function(t){var e=t.split("-"),n=Number(e[0]);return this.decorators.get(n)},t.getInnerKey=function(t){return t.split("-").slice(1).join("-")},t}(),m=function(t){return"function"==typeof t.getDecorations&&"function"==typeof t.getComponentForKey&&"function"==typeof t.getPropsForKey};function b(t){return Object(p.getDefaultKeyBinding)(t)}function w(t,e,n,r){var i,o=r.setEditorState;switch(t){case"backspace":case"backspace-word":case"backspace-to-start-of-line":i=p.RichUtils.onBackspace(e);break;case"delete":case"delete-word":case"delete-to-end-of-block":i=p.RichUtils.onDelete(e);break;default:return"not-handled"}return null!=i?(o(i),"handled"):"not-handled"}var S=function(t){var e,n;return null!=(null==t?void 0:t.decorators)?null==(e=t.decorators)?void 0:e.size:null!=(null==t?void 0:t._decorators)?null==(n=t._decorators)?void 0:n.length:void 0},E=function(t){var e,n;function r(e){var n;return(n=t.call(this,e)||this).editor=null,n.state={readOnly:!1},n.onChange=function(t){var e=t;n.resolvePlugins().forEach((function(t){t.onChange&&(e=t.onChange(e,n.getPluginMethods()))})),n.props.onChange&&n.props.onChange(e)},n.getPlugins=function(){return[].concat(n.props.plugins)},n.getProps=function(){return v({},n.props)},n.getReadOnly=function(){return n.props.readOnly||n.state.readOnly},n.setReadOnly=function(t){t!==n.state.readOnly&&n.setState({readOnly:t})},n.getEditorRef=function(){return n.editor},n.getEditorState=function(){return n.props.editorState},n.getPluginMethods=function(){return{getPlugins:n.getPlugins,getProps:n.getProps,setEditorState:n.onChange,getEditorState:n.getEditorState,getReadOnly:n.getReadOnly,setReadOnly:n.setReadOnly,getEditorRef:n.getEditorRef}},n.createPluginHooks=function(){return t=[n.props].concat(n.resolvePlugins()),e=n.getPluginMethods(),r={},i=new Set(["onChange"]),t.forEach((function(n){Object.keys(n).forEach((function(n){i.has(n)||(i.add(n),n.startsWith("on")?r[n]=function(t,e,n){return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e.some((function(e){var r=e[t];return"function"==typeof r&&!0===r.apply(void 0,i.concat([n]))}))}}(n,t,e):function(t){return t.startsWith("handle")}(n)?r[n]=function(t,e,n){return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e.some((function(e){var r=e[t];return"function"==typeof r&&"handled"===r.apply(void 0,i.concat([n]))}))?"handled":"not-handled"}}(n,t,e):function(t){return t.endsWith("Fn")}(n)&&("blockRendererFn"===n?r.blockRendererFn=function(t,e){return function(n){var r={props:{}};return t.forEach((function(t){if("function"==typeof t.blockRendererFn){var i=t.blockRendererFn(n,e);if(null!=i){var o=i.props,s=_(i,["props"]),a=r,u=a.props,c=_(a,["props"]);r=v({},c,s,{props:v({},u,o)})}}})),!!r.component&&r}}(t,e):"blockStyleFn"===n?r.blockStyleFn=function(t,e){return function(n){var r=[];return t.forEach((function(t){if("function"==typeof t.blockStyleFn){var i=t.blockStyleFn(n,e);null!=i&&r.push(i)}})),r.join(" ")}}(t,e):"customStyleFn"===n?r.customStyleFn=function(t,e){return function(n,r){var i;return t.some((function(t){return"function"==typeof t.customStyleFn&&void 0!==(i=t.customStyleFn(n,r,e))}))&&i?i:{}}}(t,e):"keyBindingFn"===n&&(r.keyBindingFn=function(t,e){return function(n){var r=null;return t.some((function(t){return"function"==typeof t.keyBindingFn&&void 0!==(r=t.keyBindingFn(n,e))}))?r:null}}(t,e))))}))})),r;var t,e,r,i},n.resolvePlugins=function(){var t=n.getPlugins();return!0===n.props.defaultKeyBindings&&t.push({keyBindingFn:b}),!0===n.props.defaultKeyCommands&&t.push({handleKeyCommand:w}),t},n.resolveCustomStyleMap=function(){return n.props.plugins.filter((function(t){return void 0!==t.customStyleMap})).map((function(t){return t.customStyleMap})).concat([n.props.customStyleMap]).reduce((function(t,e){return v({},t,e)}),{})},n.resolveblockRenderMap=function(){var t=n.props.plugins.filter((function(t){return void 0!==t.blockRenderMap})).reduce((function(t,e){return t.merge(e.blockRenderMap)}),Object(l.Map)({}));return n.props.defaultBlockRenderMap&&(t=p.DefaultDraftBlockRenderMap.merge(t)),n.props.blockRenderMap&&(t=t.merge(n.props.blockRenderMap)),t},n.resolveAccessibilityProps=function(){var t={};return n.resolvePlugins().forEach((function(e){if("function"==typeof e.getAccessibilityProps){var n=e.getAccessibilityProps(),r={};void 0===t.ariaHasPopup?r.ariaHasPopup=n.ariaHasPopup:"true"===n.ariaHasPopup&&(r.ariaHasPopup="true"),void 0===t.ariaExpanded?r.ariaExpanded=n.ariaExpanded:!0===n.ariaExpanded&&(r.ariaExpanded=!0),t=v({},t,n,r)}})),t},[n.props].concat(n.resolvePlugins()).forEach((function(t){t&&"function"==typeof t.initialize&&t.initialize(n.getPluginMethods())})),n}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i.focus=function(){this.editor&&this.editor.focus()},i.blur=function(){this.editor&&this.editor.blur()},i.componentDidMount=function(){var t,e,n,r,i,s,a=(t=this.props,e=this.getEditorState,n=this.onChange,r=function(t){var e=t.decorators,n=t.plugins,r=void 0===n?[]:n;return Object(l.List)([{decorators:e}].concat(r)).filter((function(t){return void 0!==(null==t?void 0:t.decorators)})).flatMap((function(t){return null==t?void 0:t.decorators}))}(t),i=function(t,e,n){var r=Object(l.List)(t).map((function(t){var r=t.component;return v({},t,{component:function(t){return o.a.createElement(r,v({},t,{getEditorState:e,setEditorState:n}))}})})).toJS();return new p.CompositeDecorator(r)}(r.filter((function(t){return!m(t)})),e,n),s=r.filter((function(t){return m(t)})),new g(s.push(i))),u=p.EditorState.set(this.props.editorState,{decorator:a});this.onChange(y(u))},i.componentDidUpdate=function(t){var e=this.props,n=t.editorState.getDecorator(),r=e.editorState.getDecorator();if(n&&!(n===r||n&&r&&S(n)===S(r))){var i=p.EditorState.set(e.editorState,{decorator:n});this.onChange(y(i))}},i.componentWillUnmount=function(){var t=this;this.resolvePlugins().forEach((function(e){e.willUnmount&&e.willUnmount({getEditorState:t.getEditorState,setEditorState:t.onChange})}))},i.render=function(){var t=this,e=this.createPluginHooks(),n=this.resolveCustomStyleMap(),r=this.resolveAccessibilityProps(),i=this.resolveblockRenderMap(),s=this.props;s.keyBindingFn;var a=_(s,["keyBindingFn"]);return o.a.createElement(p.Editor,v({},a,r,e,{readOnly:this.props.readOnly||this.state.readOnly,customStyleMap:n,blockRenderMap:i,onChange:this.onChange,editorState:this.props.editorState,ref:function(e){t.editor=e}}))},r}(i.Component);E.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,plugins:a.a.array,defaultKeyBindings:a.a.bool,defaultKeyCommands:a.a.bool,defaultBlockRenderMap:a.a.bool,customStyleMap:a.a.object,decorators:a.a.array},E.defaultProps={defaultBlockRenderMap:!0,defaultKeyBindings:!0,defaultKeyCommands:!0,customStyleMap:{},plugins:[],decorators:[]};var O=E;function x(t){var e,n,r="";if("string"==typeof t||"number"==typeof t)r+=t;else if("object"==typeof t)if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=x(t[e]))&&(r&&(r+=" "),r+=n);else for(e in t)t[e]&&(r&&(r+=" "),r+=e);return r}var I=function(){for(var t,e,n=0,r="";n<arguments.length;)(t=arguments[n++])&&(e=x(t))&&(r&&(r+=" "),r+=e);return r},z=n(132),M=n.n(z);function D(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function k(t){return t instanceof D(t).Element||t instanceof Element}function C(t){return t instanceof D(t).HTMLElement||t instanceof HTMLElement}function R(t){return"undefined"!=typeof ShadowRoot&&(t instanceof D(t).ShadowRoot||t instanceof ShadowRoot)}var A=Math.max,q=Math.min,j=Math.round;function B(t,e){void 0===e&&(e=!1);var n=t.getBoundingClientRect(),r=1,i=1;if(C(t)&&e){var o=t.offsetHeight,s=t.offsetWidth;s>0&&(r=j(n.width)/s||1),o>0&&(i=j(n.height)/o||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function P(t){var e=D(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function K(t){return t?(t.nodeName||"").toLowerCase():null}function F(t){return((k(t)?t.ownerDocument:t.document)||window.document).documentElement}function T(t){return B(F(t)).left+P(t).scrollLeft}function L(t){return D(t).getComputedStyle(t)}function V(t){var e=L(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function U(t,e,n){void 0===n&&(n=!1);var r,i,o=C(e),s=C(e)&&function(t){var e=t.getBoundingClientRect(),n=j(e.width)/t.offsetWidth||1,r=j(e.height)/t.offsetHeight||1;return 1!==n||1!==r}(e),a=F(e),u=B(t,s),c={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(o||!o&&!n)&&(("body"!==K(e)||V(a))&&(c=(r=e)!==D(r)&&C(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:P(r)),C(e)?((f=B(e,!0)).x+=e.clientLeft,f.y+=e.clientTop):a&&(f.x=T(a))),{x:u.left+c.scrollLeft-f.x,y:u.top+c.scrollTop-f.y,width:u.width,height:u.height}}function W(t){var e=B(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function N(t){return"html"===K(t)?t:t.assignedSlot||t.parentNode||(R(t)?t.host:null)||F(t)}function H(t,e){var n;void 0===e&&(e=[]);var r=function t(e){return["html","body","#document"].indexOf(K(e))>=0?e.ownerDocument.body:C(e)&&V(e)?e:t(N(e))}(t),i=r===(null==(n=t.ownerDocument)?void 0:n.body),o=D(r),s=i?[o].concat(o.visualViewport||[],V(r)?r:[]):r,a=e.concat(s);return i?a:a.concat(H(N(s)))}function J(t){return["table","td","th"].indexOf(K(t))>=0}function $(t){return C(t)&&"fixed"!==L(t).position?t.offsetParent:null}function Y(t){for(var e=D(t),n=$(t);n&&J(n)&&"static"===L(n).position;)n=$(n);return n&&("html"===K(n)||"body"===K(n)&&"static"===L(n).position)?e:n||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&C(t)&&"fixed"===L(t).position)return null;for(var n=N(t);C(n)&&["html","body"].indexOf(K(n))<0;){var r=L(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||e&&"filter"===r.willChange||e&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(t)||e}var X="top",Q="bottom",G="right",Z="left",tt=[X,Q,G,Z],et=tt.reduce((function(t,e){return t.concat([e+"-start",e+"-end"])}),[]),nt=[].concat(tt,["auto"]).reduce((function(t,e){return t.concat([e,e+"-start",e+"-end"])}),[]),rt=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];var it={placement:"bottom",modifiers:[],strategy:"absolute"};function ot(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function st(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,r=void 0===n?[]:n,i=e.defaultOptions,o=void 0===i?it:i;return function(t,e,n){void 0===n&&(n=o);var i,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},it,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},u=[],c=!1,f={state:a,setOptions:function(n){var i="function"==typeof n?n(a.options):n;h(),a.options=Object.assign({},o,a.options,i),a.scrollParents={reference:k(t)?H(t):t.contextElement?H(t.contextElement):[],popper:H(e)};var s,c,p=function(t){var e=function(t){var e=new Map,n=new Set,r=[];return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||function t(i){n.add(i.name),[].concat(i.requires||[],i.requiresIfExists||[]).forEach((function(r){if(!n.has(r)){var i=e.get(r);i&&t(i)}})),r.push(i)}(t)})),r}(t);return rt.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((s=[].concat(r,a.options.modifiers),c=s.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{}),Object.keys(c).map((function(t){return c[t]}))));return a.orderedModifiers=p.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,r=void 0===n?{}:n,i=t.effect;if("function"==typeof i){var o=i({state:a,name:e,instance:f,options:r});u.push(o||function(){})}})),f.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference,n=t.popper;if(ot(e,n)){a.rects={reference:U(e,Y(n),"fixed"===a.options.strategy),popper:W(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<a.orderedModifiers.length;r++)if(!0!==a.reset){var i=a.orderedModifiers[r],o=i.fn,s=i.options,u=void 0===s?{}:s,h=i.name;"function"==typeof o&&(a=o({state:a,options:u,name:h,instance:f})||a)}else a.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(t){f.forceUpdate(),t(a)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(i())}))}))),s}),destroy:function(){h(),c=!0}};if(!ot(t,e))return f;function h(){u.forEach((function(t){return t()})),u=[]}return f.setOptions(n).then((function(t){!c&&n.onFirstUpdate&&n.onFirstUpdate(t)})),f}}var at={passive:!0};function ut(t){return t.split("-")[0]}function ct(t){return t.split("-")[1]}function ft(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function ht(t){var e,n=t.reference,r=t.element,i=t.placement,o=i?ut(i):null,s=i?ct(i):null,a=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(o){case X:e={x:a,y:n.y-r.height};break;case Q:e={x:a,y:n.y+n.height};break;case G:e={x:n.x+n.width,y:u};break;case Z:e={x:n.x-r.width,y:u};break;default:e={x:n.x,y:n.y}}var c=o?ft(o):null;if(null!=c){var f="y"===c?"height":"width";switch(s){case"start":e[c]=e[c]-(n[f]/2-r[f]/2);break;case"end":e[c]=e[c]+(n[f]/2-r[f]/2)}}return e}var pt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function lt(t){var e,n=t.popper,r=t.popperRect,i=t.placement,o=t.variation,s=t.offsets,a=t.position,u=t.gpuAcceleration,c=t.adaptive,f=t.roundOffsets,h=t.isFixed,p=!0===f?function(t){var e=t.x,n=t.y,r=window.devicePixelRatio||1;return{x:j(e*r)/r||0,y:j(n*r)/r||0}}(s):"function"==typeof f?f(s):s,l=p.x,d=void 0===l?0:l,v=p.y,_=void 0===v?0:v,y=s.hasOwnProperty("x"),g=s.hasOwnProperty("y"),m=Z,b=X,w=window;if(c){var S=Y(n),E="clientHeight",O="clientWidth";S===D(n)&&"static"!==L(S=F(n)).position&&"absolute"===a&&(E="scrollHeight",O="scrollWidth"),S=S,(i===X||(i===Z||i===G)&&"end"===o)&&(b=Q,_-=(h&&w.visualViewport?w.visualViewport.height:S[E])-r.height,_*=u?1:-1),i!==Z&&(i!==X&&i!==Q||"end"!==o)||(m=G,d-=(h&&w.visualViewport?w.visualViewport.width:S[O])-r.width,d*=u?1:-1)}var x,I=Object.assign({position:a},c&&pt);return u?Object.assign({},I,((x={})[b]=g?"0":"",x[m]=y?"0":"",x.transform=(w.devicePixelRatio||1)<=1?"translate("+d+"px, "+_+"px)":"translate3d("+d+"px, "+_+"px, 0)",x)):Object.assign({},I,((e={})[b]=g?_+"px":"",e[m]=y?d+"px":"",e.transform="",e))}var dt={left:"right",right:"left",bottom:"top",top:"bottom"};function vt(t){return t.replace(/left|right|bottom|top/g,(function(t){return dt[t]}))}var _t={start:"end",end:"start"};function yt(t){return t.replace(/start|end/g,(function(t){return _t[t]}))}function gt(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&R(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function mt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function bt(t,e){return"viewport"===e?mt(function(t){var e=D(t),n=F(t),r=e.visualViewport,i=n.clientWidth,o=n.clientHeight,s=0,a=0;return r&&(i=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=r.offsetLeft,a=r.offsetTop)),{width:i,height:o,x:s+T(t),y:a}}(t)):k(e)?function(t){var e=B(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):mt(function(t){var e,n=F(t),r=P(t),i=null==(e=t.ownerDocument)?void 0:e.body,o=A(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=A(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+T(t),u=-r.scrollTop;return"rtl"===L(i||n).direction&&(a+=A(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:u}}(F(t)))}function wt(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function St(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function Et(t,e){void 0===e&&(e={});var n=e,r=n.placement,i=void 0===r?t.placement:r,o=n.boundary,s=void 0===o?"clippingParents":o,a=n.rootBoundary,u=void 0===a?"viewport":a,c=n.elementContext,f=void 0===c?"popper":c,h=n.altBoundary,p=void 0!==h&&h,l=n.padding,d=void 0===l?0:l,v=wt("number"!=typeof d?d:St(d,tt)),_="popper"===f?"reference":"popper",y=t.rects.popper,g=t.elements[p?_:f],m=function(t,e,n){var r="clippingParents"===e?function(t){var e=H(N(t)),n=["absolute","fixed"].indexOf(L(t).position)>=0,r=n&&C(t)?Y(t):t;return k(r)?e.filter((function(t){return k(t)&&gt(t,r)&&"body"!==K(t)&&(!n||"static"!==L(t).position)})):[]}(t):[].concat(e),i=[].concat(r,[n]),o=i[0],s=i.reduce((function(e,n){var r=bt(t,n);return e.top=A(r.top,e.top),e.right=q(r.right,e.right),e.bottom=q(r.bottom,e.bottom),e.left=A(r.left,e.left),e}),bt(t,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(k(g)?g:g.contextElement||F(t.elements.popper),s,u),b=B(t.elements.reference),w=ht({reference:b,element:y,strategy:"absolute",placement:i}),S=mt(Object.assign({},y,w)),E="popper"===f?S:b,O={top:m.top-E.top+v.top,bottom:E.bottom-m.bottom+v.bottom,left:m.left-E.left+v.left,right:E.right-m.right+v.right},x=t.modifiersData.offset;if("popper"===f&&x){var I=x[i];Object.keys(O).forEach((function(t){var e=[G,Q].indexOf(t)>=0?1:-1,n=[X,Q].indexOf(t)>=0?"y":"x";O[t]+=I[n]*e}))}return O}function Ot(t,e,n){return A(t,q(e,n))}function xt(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function It(t){return[X,G,Q,Z].some((function(e){return t[e]>=0}))}var zt=st({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,o=void 0===i||i,s=r.resize,a=void 0===s||s,u=D(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",n.update,at)})),a&&u.addEventListener("resize",n.update,at),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",n.update,at)})),a&&u.removeEventListener("resize",n.update,at)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=ht({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,u=void 0===a||a,c={placement:ut(e.placement),variation:ct(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,lt(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:u})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,lt(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},r=e.attributes[t]||{},i=e.elements[t];C(i)&&K(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(t){var e=r[t];!1===e?i.removeAttribute(t):i.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var r=e.elements[t],i=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});C(r)&&K(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,r=t.name,i=n.offset,o=void 0===i?[0,0]:i,s=nt.reduce((function(t,n){return t[n]=function(t,e,n){var r=ut(t),i=[Z,X].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,[Z,G].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}(n,e.rects,o),t}),{}),a=s[e.placement],u=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=c),e.modifiersData[r]=s}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,s=n.altAxis,a=void 0===s||s,u=n.fallbackPlacements,c=n.padding,f=n.boundary,h=n.rootBoundary,p=n.altBoundary,l=n.flipVariations,d=void 0===l||l,v=n.allowedAutoPlacements,_=e.options.placement,y=ut(_),g=u||(y!==_&&d?function(t){if("auto"===ut(t))return[];var e=vt(t);return[yt(t),e,yt(e)]}(_):[vt(_)]),m=[_].concat(g).reduce((function(t,n){return t.concat("auto"===ut(n)?function(t,e){void 0===e&&(e={});var n=e,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,u=n.allowedAutoPlacements,c=void 0===u?nt:u,f=ct(r),h=f?a?et:et.filter((function(t){return ct(t)===f})):tt,p=h.filter((function(t){return c.indexOf(t)>=0}));0===p.length&&(p=h);var l=p.reduce((function(e,n){return e[n]=Et(t,{placement:n,boundary:i,rootBoundary:o,padding:s})[ut(n)],e}),{});return Object.keys(l).sort((function(t,e){return l[t]-l[e]}))}(e,{placement:n,boundary:f,rootBoundary:h,padding:c,flipVariations:d,allowedAutoPlacements:v}):n)}),[]),b=e.rects.reference,w=e.rects.popper,S=new Map,E=!0,O=m[0],x=0;x<m.length;x++){var I=m[x],z=ut(I),M="start"===ct(I),D=[X,Q].indexOf(z)>=0,k=D?"width":"height",C=Et(e,{placement:I,boundary:f,rootBoundary:h,altBoundary:p,padding:c}),R=D?M?G:Z:M?Q:X;b[k]>w[k]&&(R=vt(R));var A=vt(R),q=[];if(o&&q.push(C[z]<=0),a&&q.push(C[R]<=0,C[A]<=0),q.every((function(t){return t}))){O=I,E=!1;break}S.set(I,q)}if(E)for(var j=function(t){var e=m.find((function(e){var n=S.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return O=e,"break"},B=d?3:1;B>0&&"break"!==j(B);B--);e.placement!==O&&(e.modifiersData[r]._skip=!0,e.placement=O,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,o=void 0===i||i,s=n.altAxis,a=void 0!==s&&s,u=n.boundary,c=n.rootBoundary,f=n.altBoundary,h=n.padding,p=n.tether,l=void 0===p||p,d=n.tetherOffset,v=void 0===d?0:d,_=Et(e,{boundary:u,rootBoundary:c,padding:h,altBoundary:f}),y=ut(e.placement),g=ct(e.placement),m=!g,b=ft(y),w="x"===b?"y":"x",S=e.modifiersData.popperOffsets,E=e.rects.reference,O=e.rects.popper,x="function"==typeof v?v(Object.assign({},e.rects,{placement:e.placement})):v,I="number"==typeof x?{mainAxis:x,altAxis:x}:Object.assign({mainAxis:0,altAxis:0},x),z=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,M={x:0,y:0};if(S){if(o){var D,k="y"===b?X:Z,C="y"===b?Q:G,R="y"===b?"height":"width",j=S[b],B=j+_[k],P=j-_[C],K=l?-O[R]/2:0,F="start"===g?E[R]:O[R],T="start"===g?-O[R]:-E[R],L=e.elements.arrow,V=l&&L?W(L):{width:0,height:0},U=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},N=U[k],H=U[C],J=Ot(0,E[R],V[R]),$=m?E[R]/2-K-J-N-I.mainAxis:F-J-N-I.mainAxis,tt=m?-E[R]/2+K+J+H+I.mainAxis:T+J+H+I.mainAxis,et=e.elements.arrow&&Y(e.elements.arrow),nt=et?"y"===b?et.clientTop||0:et.clientLeft||0:0,rt=null!=(D=null==z?void 0:z[b])?D:0,it=j+tt-rt,ot=Ot(l?q(B,j+$-rt-nt):B,j,l?A(P,it):P);S[b]=ot,M[b]=ot-j}if(a){var st,at="x"===b?X:Z,ht="x"===b?Q:G,pt=S[w],lt="y"===w?"height":"width",dt=pt+_[at],vt=pt-_[ht],_t=-1!==[X,Z].indexOf(y),yt=null!=(st=null==z?void 0:z[w])?st:0,gt=_t?dt:pt-E[lt]-O[lt]-yt+I.altAxis,mt=_t?pt+E[lt]+O[lt]-yt-I.altAxis:vt,bt=l&&_t?function(t,e,n){var r=Ot(t,e,n);return r>n?n:r}(gt,pt,mt):Ot(l?gt:dt,pt,l?mt:vt);S[w]=bt,M[w]=bt-pt}e.modifiersData[r]=M}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,r=t.name,i=t.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=ut(n.placement),u=ft(a),c=[Z,G].indexOf(a)>=0?"height":"width";if(o&&s){var f=function(t,e){return wt("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:St(t,tt))}(i.padding,n),h=W(o),p="y"===u?X:Z,l="y"===u?Q:G,d=n.rects.reference[c]+n.rects.reference[u]-s[u]-n.rects.popper[c],v=s[u]-n.rects.reference[u],_=Y(o),y=_?"y"===u?_.clientHeight||0:_.clientWidth||0:0,g=d/2-v/2,m=f[p],b=y-h[c]-f[l],w=y/2-h[c]/2+g,S=Ot(m,w,b),E=u;n.modifiersData[r]=((e={})[E]=S,e.centerOffset=S-w,e)}},effect:function(t){var e=t.state,n=t.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=e.elements.popper.querySelector(r)))&&gt(e.elements.popper,r)&&(e.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,s=Et(e,{elementContext:"reference"}),a=Et(e,{altBoundary:!0}),u=xt(s,r),c=xt(a,i,o),f=It(u),h=It(c);e.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:f,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":h})}}]}),Mt=n(223),Dt=n.n(Mt),kt=function(t){return t.reduce((function(t,e){var n=e[0],r=e[1];return t[n]=r,t}),{})},Ct="undefined"!=typeof window&&window.document&&window.document.createElement?i.useLayoutEffect:i.useEffect,Rt=[],At=n(2);function qt(){return(qt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function jt(t,e){return(jt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Bt(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}function Pt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Kt(t){var e=t.mention,n=t.children,r=t.className;return o.a.createElement("a",{href:e.link,className:r,spellCheck:!1,"data-testid":"mentionLink"},n)}function Ft(t){var e=t.children,n=t.className;return o.a.createElement("span",{className:n,spellCheck:!1,"data-testid":"mentionText"},e)}function Tt(t){var e=t.entityKey,n=t.theme,r=void 0===n?{}:n,i=t.mentionComponent,s=t.children,a=t.decoratedText,u=t.className,c=t.contentState,f=I(r.mention,u),h=c.getEntity(e).getData().mention,p=i||(h.link?Kt:Ft);return o.a.createElement(p,{entityKey:e,mention:h,theme:r,className:f,decoratedText:a},s)}var Lt=function(t){var e=t.onMentionSelect,n=t.mention,r=t.theme,s=t.index,a=t.onMentionFocus,u=t.isFocused,c=t.id,f=t.searchValue,h=t.entryComponent,p=Object(i.useRef)(!1),l=Object(i.useRef)(null);Object(i.useEffect)((function(){u&&requestAnimationFrame((function(){var t;return null==(t=l.current)?void 0:t.scrollIntoView({behavior:"smooth",block:"nearest"})}))}),[u]),Object(i.useEffect)((function(){p.current=!1}));var d=u?r.mentionSuggestionsEntryFocused:r.mentionSuggestionsEntry;return o.a.createElement("div",{ref:l},o.a.createElement(h,{className:d,onMouseDown:function(t){t.preventDefault(),p.current=!0},onMouseUp:function(){p.current&&(e(n),p.current=!1)},onMouseEnter:function(){a(s)},role:"option",id:c,"aria-selected":u?"true":void 0,theme:r,mention:n,isFocused:u,searchValue:f,selectMention:e}))};Lt.propTypes={entryComponent:a.a.any.isRequired,searchValue:a.a.string,onMentionSelect:a.a.func};var Vt=Lt,Ut=function(t,e,n){var r=e.getAnchorKey(),i=e.getAnchorOffset();return function(t,e,n){for(var r,i=t.substr(0,e),o=n.map((function(t){return M()(t)})).join("|"),s=new RegExp("(\\s|^)("+o+")","g"),a=0,u=0,c=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return Pt(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Pt(t,void 0):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i.matchAll(s));!(r=c()).done;){var f=r.value,h=f[1].length,p=f[2].length;u=(a=(f.index||0)+h)+p}var l=i.slice(u);return{begin:a,end:i.length,matchingString:l}}(t.getCurrentContent().getBlockForKey(r).getText(),i,n)};function Wt(t){return"@"===t?"mention":t+"mention"}function Nt(t){var e=t.mention,n=t.theme,r=void 0===n?{}:n;return e.avatar?o.a.createElement("img",{src:e.avatar,className:r.mentionSuggestionsEntryAvatar,role:"presentation"}):null}var Ht=["mention","theme","isFocused","searchValue","selectMention"];function Jt(t){var e=t.mention,n=t.theme;t.isFocused,t.searchValue,t.selectMention;var r=Bt(t,Ht);return o.a.createElement("div",r,o.a.createElement(Nt,{mention:e,theme:n}),o.a.createElement("span",{className:null==n?void 0:n.mentionSuggestionsEntryText},e.name))}function $t(t){var e,n=t.decoratorRect,r=t.popover,i=t.props,o=function t(e){return e?"static"!==window.getComputedStyle(e).getPropertyValue("position")?e:t(e.parentElement):null}(r.parentElement);if(o){var s=o.getBoundingClientRect();e={scrollLeft:o.scrollLeft,scrollTop:o.scrollTop,left:n.left-s.left,top:n.bottom-s.top}}else e={scrollTop:window.pageYOffset||document.documentElement.scrollTop,scrollLeft:window.pageXOffset||document.documentElement.scrollLeft,top:n.bottom,left:n.left};var a,u,c=e.left+e.scrollLeft,f=e.top+e.scrollTop;return i.open&&(i.suggestions.length>0?(a="scale(1)",u="all 0.25s cubic-bezier(.3,1.2,.2,1)"):(a="scale(0)",u="all 0.35s cubic-bezier(.3,1,.2,1)")),{left:c+"px",top:f+"px",transform:a,transformOrigin:"1em 0%",transition:u}}function Yt(t){return void 0!==t}function Xt(t){var e=t.store,n=t.children,r=t.theme,s=t.popperOptions,a=void 0===s?{placement:"bottom-start"}:s,u=Object(i.useState)((function(){return I(r.mentionSuggestions,r.mentionSuggestionsPopup)})),c=u[0],f=u[1],h=Object(i.useState)(null),p=h[0],l=h[1],d=function(t,e,n){void 0===n&&(n={});var r=i.useRef(null),o={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Rt},s=i.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),a=s[0],u=s[1],c=i.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(t){var e=t.state,n=Object.keys(e.elements);u({styles:kt(n.map((function(t){return[t,e.styles[t]||{}]}))),attributes:kt(n.map((function(t){return[t,e.attributes[t]]})))})},requires:["computeStyles"]}}),[]),f=i.useMemo((function(){var t={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[c,{name:"applyStyles",enabled:!1}])};return Dt()(r.current,t)?r.current||t:(r.current=t,t)}),[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,c]),h=i.useRef();return Ct((function(){h.current&&h.current.setOptions(f)}),[f]),Ct((function(){if(null!=t&&null!=e){var r=(n.createPopper||zt)(t,e,f);return h.current=r,function(){r.destroy(),h.current=null}}}),[t,e,n.createPopper]),{state:h.current?h.current.state:null,styles:a.styles,attributes:a.attributes,update:h.current?h.current.update:null,forceUpdate:h.current?h.current.forceUpdate:null}}(e.getReferenceElement(),p,a),v=d.styles,_=d.attributes;return Object(i.useEffect)((function(){requestAnimationFrame((function(){return f(I(r.mentionSuggestions,r.mentionSuggestionsPopup,r.mentionSuggestionsPopupVisible))}))}),[r]),o.a.createElement("div",qt({ref:l,style:v.popper},_.popper,{className:c}),n)}var Qt=Object(At.once)((function(t){})),Gt=["entryComponent","popoverComponent","popperOptions","popoverContainer","onOpenChange","onAddMention","onSearchChange","suggestions","ariaProps","callbacks","theme","store","entityMutability","positionSuggestions","mentionTriggers","mentionPrefix"],Zt=function(t){var e,n;function r(e){var n;return(n=t.call(this,e)||this).state={focusedOptionIndex:0},n.key=Object(p.genKey)(),n.popover=void 0,n.activeOffsetKey=void 0,n.lastSearchValue=void 0,n.lastActiveTrigger="",n.lastSelectionIsInsideWord=void 0,n.onEditorStateChange=function(t){var e=n.props.store.getAllSearches();if(0===e.size)return t;var r=function(t,e,n){var r=t.getSelection(),i=r.getAnchorKey(),o=r.getAnchorOffset();if(!r.isCollapsed()||!r.getHasFocus())return null;var s=e.map((function(t){return function(t){var e=t.split("-"),n=e[0],r=e[1],i=e[2];return{blockKey:n,decoratorKey:parseInt(r,10),leafKey:parseInt(i,10)}}(t)})).filter((function(t){return t.blockKey===i})).map((function(e){return t.getBlockTree(e.blockKey).getIn([e.decoratorKey])}));if(s.every((function(t){return void 0===t})))return null;var a=t.getCurrentContent().getBlockForKey(i).getText(),u=s.filter(Yt).map((function(t){var e=t.start,r=t.end;return n.map((function(t){return 0===e&&o>=e+t.length&&a.substr(0,t.length)===t&&o<=r||n.length>1&&o>=e+t.length&&(a.substr(e+1,t.length)===t||a.substr(e,t.length)===t)&&o<=r||1===n.length&&o>=e+t.length&&o<=r?t:void 0})).filter(Yt)[0]})).filter(Yt);if(u.isEmpty())return null;var c=u.entrySeq().first();return{activeOffsetKey:c[0],activeTrigger:c[1]}}(t,e,n.props.mentionTriggers);if(!r)return n.props.store.resetEscapedSearch(),n.closeDropdown(),t;var i=n.activeOffsetKey;return n.activeOffsetKey=r.activeOffsetKey,n.onSearchChange(t,t.getSelection(),n.activeOffsetKey,i,r.activeTrigger),n.props.store.isEscaped(n.activeOffsetKey||"")||n.props.store.resetEscapedSearch(),n.props.open||n.props.store.isEscaped(n.activeOffsetKey||"")||n.openDropdown(),i!==n.activeOffsetKey&&n.setState({focusedOptionIndex:0}),t},n.onSearchChange=function(t,e,r,i,o){var s=Ut(t,e,[o]).matchingString;n.lastActiveTrigger===o&&n.lastSearchValue===s&&r===i||(n.lastActiveTrigger=o,n.lastSearchValue=s,n.props.onSearchChange({trigger:o,value:s}),n.setState({focusedOptionIndex:0}))},n.onDownArrow=function(t){t.preventDefault();var e=n.state.focusedOptionIndex+1;n.onMentionFocus(e>=n.props.suggestions.length?0:e)},n.onTab=function(t){t.preventDefault(),n.commitSelection()},n.onUpArrow=function(t){if(t.preventDefault(),n.props.suggestions.length>0){var e=n.state.focusedOptionIndex-1;n.onMentionFocus(e<0?n.props.suggestions.length-1:e)}},n.onEscape=function(t){t.preventDefault(),n.props.store.escapeSearch(n.activeOffsetKey||""),n.closeDropdown(),n.props.store.setEditorState(n.props.store.getEditorState())},n.onMentionSelect=function(t){if(t){n.props.onAddMention&&n.props.onAddMention(t),n.closeDropdown();var e=function(t,e,n,r,i){var o=t.getCurrentContent().createEntity(Wt(r),i,{mention:e}).getLastCreatedEntityKey(),s=t.getSelection(),a=Ut(t,s,[r]),u=a.begin,c=a.end,f=s.merge({anchorOffset:u,focusOffset:c}),h=p.Modifier.replaceText(t.getCurrentContent(),f,""+n+e.name,void 0,o),l=f.getAnchorKey();t.getCurrentContent().getBlockForKey(l).getLength()===c&&(h=p.Modifier.insertText(h,h.getSelectionAfter()," "));var d=p.EditorState.push(t,h,"insert-fragment");return p.EditorState.forceSelection(d,h.getSelectionAfter())}(n.props.store.getEditorState(),t,n.props.mentionPrefix,n.lastActiveTrigger||"",n.props.entityMutability);n.props.store.setEditorState(e)}},n.onMentionFocus=function(t){var e="mention-option-"+n.key+"-"+t;n.props.ariaProps.ariaActiveDescendantID=e,n.setState({focusedOptionIndex:t}),n.props.store.setEditorState(n.props.store.getEditorState())},n.commitSelection=function(){var t=n.props.suggestions[n.state.focusedOptionIndex];return n.props.store.getIsOpened()&&t?(n.onMentionSelect(t),"handled"):"not-handled"},n.openDropdown=function(){n.props.callbacks.handleReturn=n.commitSelection,n.props.callbacks.keyBindingFn=function(t){40===t.keyCode&&n.onDownArrow(t),38===t.keyCode&&n.onUpArrow(t),27===t.keyCode&&n.onEscape(t),9===t.keyCode&&n.onTab(t)};var t="mention-option-"+n.key+"-"+n.state.focusedOptionIndex;n.props.ariaProps.ariaActiveDescendantID=t,n.props.ariaProps.ariaOwneeID="mentions-list-"+n.key,n.props.ariaProps.ariaHasPopup="true",n.props.ariaProps.ariaExpanded=!0,n.props.onOpenChange(!0)},n.closeDropdown=function(){n.props.callbacks.handleReturn=void 0,n.props.callbacks.keyBindingFn=void 0,n.props.ariaProps.ariaHasPopup="false",n.props.ariaProps.ariaExpanded=!1,n.props.ariaProps.ariaActiveDescendantID=void 0,n.props.ariaProps.ariaOwneeID=void 0,n.props.onOpenChange(!1)},n.props.callbacks.onChange=n.onEditorStateChange,n}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,jt(e,n);var i=r.prototype;return i.componentDidUpdate=function(){if(this.popover){var t=this.props.suggestions.length;if(t>0&&this.state.focusedOptionIndex>=t&&this.setState({focusedOptionIndex:t-1}),!this.props.store.getAllSearches().has(this.activeOffsetKey))return;for(var e=this.props.store.getPortalClientRect(this.activeOffsetKey),n=(this.props.positionSuggestions||$t)({decoratorRect:e,props:this.props,popover:this.popover}),r=0,i=Object.entries(n);r<i.length;r++){var o=i[r],s=o[0],a=o[1];this.popover.style[s]=a}}},i.componentWillUnmount=function(){this.props.callbacks.onChange=void 0},i.render=function(){var t=this;if(!this.props.open)return null;var e=this.props,n=e.entryComponent,r=e.popoverComponent,i=e.popperOptions,s=e.popoverContainer,a=void 0===s?Xt:s;e.onOpenChange,e.onAddMention,e.onSearchChange,e.suggestions,e.ariaProps,e.callbacks;var u=e.theme,c=void 0===u?{}:u;e.store,e.entityMutability;var f=e.positionSuggestions;e.mentionTriggers,e.mentionPrefix;var h=Bt(e,Gt);return r||f?(Qt("The properties `popoverComponent` and `positionSuggestions` are deprecated and will be removed in @draft-js-plugins/mentions 6.0 . Use `popperOptions` instead"),o.a.cloneElement(r||o.a.createElement("div",null),qt({},h,{className:c.mentionSuggestions,role:"listbox",id:"mentions-list-"+this.key,ref:function(e){t.popover=e}}),this.props.suggestions.map((function(e,r){return o.a.createElement(Vt,{key:null!=e.id?e.id:e.name,onMentionSelect:t.onMentionSelect,onMentionFocus:t.onMentionFocus,isFocused:t.state.focusedOptionIndex===r,mention:e,index:r,id:"mention-option-"+t.key+"-"+r,theme:c,searchValue:t.lastSearchValue,entryComponent:n||Jt})})))):this.props.renderEmptyPopup||0!==this.props.suggestions.length?o.a.createElement(a,{store:this.props.store,popperOptions:i,theme:c},this.props.suggestions.map((function(e,r){return o.a.createElement(Vt,{key:null!=e.id?e.id:e.name,onMentionSelect:t.onMentionSelect,onMentionFocus:t.onMentionFocus,isFocused:t.state.focusedOptionIndex===r,mention:e,index:r,id:"mention-option-"+t.key+"-"+r,theme:c,searchValue:t.lastSearchValue,entryComponent:n||Jt})}))):null},r}(i.Component);Zt.propTypes={open:a.a.bool.isRequired,onOpenChange:a.a.func.isRequired,entityMutability:a.a.oneOf(["SEGMENTED","IMMUTABLE","MUTABLE"]),entryComponent:a.a.func,onAddMention:a.a.func,suggestions:a.a.array.isRequired};var te=Zt,ee="undefined"!=typeof window?i.useLayoutEffect:i.useEffect;function ne(t){var e=Object(i.useRef)(),n=function(t){t.store.updatePortalClientRect(t.offsetKey,(function(){return e.current.getBoundingClientRect()}))};return ee((function(){return t.store.register(t.offsetKey),t.store.setIsOpened(!0),n(t),t.store.setEditorState(t.store.getEditorState()),function(){t.store.unregister(t.offsetKey),t.store.setIsOpened(!1),t.store.setReferenceElement(null)}}),[]),Object(i.useEffect)((function(){n(t)})),o.a.createElement("span",{ref:function(n){e.current=n,t.store.setReferenceElement(n)}},t.children)}var re={mention:"m6zwb4v",mentionSuggestions:"mnw6qvm",mentionSuggestionsPopup:"m1ymsnxd",mentionSuggestionsPopupVisible:"m126ak5t",mentionSuggestionsEntry:"mtiwdxc",mentionSuggestionsEntryFocused:"myz2dw1",mentionSuggestionsEntryText:"mpqdcgq",mentionSuggestionsEntryAvatar:"m1mfvffo"},ie=function(t){return function(e,n,r){e.findEntityRanges((function(e){var n=e.getEntity();return null!==n&&t.some((function(t){return r.getEntity(n).getType()===Wt(t)}))}),n)}},oe=/\s/;function se(t,e){return 0===e||oe.test(t[e-1])}var ae=n(83),ue=/\n/g;function ce(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";return t.replace(ue,e)}function fe(t,e,n){e=e||t.getCurrentContent().getBlocksAsArray();var r=Object(ae.List)(),i=Object(ae.List)();e.forEach((function(t){"atomic"!==t.getType()&&(r=r.push(ce(t.getText())),i=i.concat(t.getCharacterList()))})),n.stripEntities&&(i=i.map(he));var o=new p.ContentBlock({key:Object(p.genKey)(),text:r.join(""),type:"unstyled",characterList:i,depth:0}),s=p.ContentState.createFromBlockArray([o]);return t=p.EditorState.push(t,s,"remove-range"),p.EditorState.moveFocusToEnd(t)}function he(t){return t.set("entity",null)}function pe(t){var e=!1;return t.forEach((function(t){null!==t.get("entity")&&(e=!0)})),e}var le={stripEntities:!0},de=n(81),ve=n.n(de),_e=n(80),ye=n.n(_e),ge=n(61),me=n.n(ge),be=n(62),we=n.n(be),Se=n(222),Ee=n.n(Se),Oe=n(40),xe=n(60),Ie=n(5),ze=n.n(Ie);const Me=a.a.arrayOf(a.a.shape({name:a.a.string.isRequired,value:a.a.string.isRequired,label:a.a.string,description:a.a.string,hidden:a.a.bool})),De=a.a.arrayOf(a.a.string);var ke=n(33),Ce=n.n(ke),Re=n(6);const Ae=ze.a.span`
	color: ${Re.colors.$color_white};
	background-color: ${Re.colors.$color_pink_dark};
	padding: 0 8px;
	margin: 0 2px;
	line-height: 1.71428571; // 24px based on 14px font-size
	border-radius: 17px;
	cursor: default;

	&:hover {
		color: ${Re.colors.$color_white};
		background-color: ${Re.colors.$color_pink_dark};
	}
`,qe=t=>{let{children:e,className:n}=t;return Object(r.createElement)(Ae,{className:Ce()("yst-replacevar__mention",n),spellCheck:!1},e)};qe.propTypes={children:a.a.node.isRequired,className:a.a.string.isRequired};var je=n(9);const Be=/%%([A-Za-z0-9_]+)%%/g;function Pe(t){return"%%"+t+"%%"}function Ke(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[...e].reverse().forEach(e=>{const{start:n,end:r,replacementText:i}=e,o=t.slice(0,n),s=t.slice(r,t.length);t=o+i+s}),t}function Fe(t,e,n){return t>=e&&t<=n}function Te(t,e){let{start:n=0,end:r=t.getText().length}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=t.getText().slice(n,r),o=[];return t.findEntityRanges(t=>!!t.getEntity(),(i,s)=>{if(Fe(i,n,r)&&Fe(s,n,r)){const r=e(t.getEntityAt(i));r.data.mention&&o.push({start:i-n,end:s-n,replacementText:Pe(r.data.mention.replaceName)})}}),Ke(i,o)}function Le(t,e){let n=e;return t.forEach(t=>{t.name===e&&t.label&&(n=t.label)}),n}function Ve(t,e){const n=t.getCurrentContent().getBlockMap();let r=t;return n.forEach(t=>{const{text:n,key:i}=t;[...function(t){const e=[];let n;for(;n=Be.exec(t);){const[t,r]=n;e.push({name:r,start:n.index,length:t.length})}return e}(n)].reverse().forEach(t=>{t=function(t){return{...t,start:t.start,end:t.start+t.length,delta:t.label.length-t.length}}(t=function(t,e){return{...t,label:Le(e,t.name)}}(t,e));let n=r.getSelection();n=function(t,e,n){const{start:r,end:i,delta:o}=n;if(t.hasEdgeWithin(e,r,i)){const e=i+o;t=t.merge({anchorOffset:e,focusOffset:e})}else t.focusOffset>i&&(t=t.merge({anchorOffset:t.anchorOffset+o,focusOffset:t.focusOffset+o}));return t}(n,i,t);const o=function(t,e,n,r){const i=t.getCurrentContent(),o=function(t,e){const n=e.getAnchorKey(),r=t.getCurrentContent().getBlockForKey(n),i=e.getStartOffset(),o=e.getEndOffset();return r.getText().slice(i,o)}(t,p.SelectionState.createEmpty(n).merge({anchorOffset:r.end,focusOffset:r.end+1}));if(!Object(je.getWordBoundaries)().includes(o)){const o=p.SelectionState.createEmpty(n).merge({anchorOffset:r.end,focusOffset:r.end}),s=p.Modifier.insertText(i,o," ");t=p.EditorState.push(t,s,"insert-characters"),e.getAnchorOffset()>=r.start&&(e=e.merge({anchorOffset:e.getAnchorOffset()+1,focusOffset:e.getFocusOffset()+1}))}return{editorState:t,selection:e}}(r,n,i,t);r=function(t,e,n){let r=t.getCurrentContent();const i=p.SelectionState.createEmpty(n).merge({anchorOffset:e.start,focusOffset:e.end});r=function(t,e){const n={mention:{replaceName:e.name}};return t.createEntity("%mention","IMMUTABLE",n)}(r,e);const o=p.Modifier.replaceText(r,i,e.label,null,r.getLastCreatedEntityKey());return p.EditorState.push(t,o,"apply-entity")}(o.editorState,t,i),r=p.EditorState.acceptSelection(r,o.selection)})}),r}function Ue(t,e){return Ve(p.EditorState.createWithContent(p.ContentState.createFromText(t)),e)}const We=(t,e)=>{const n=t.charAt(e);return 0===n.length||/\s/.test(n)},Ne=(t,e)=>{const n=e.getAnchorKey();return t.getBlockForKey(n)},He=t=>{const e=t.getCurrentContent(),n=t.getSelection(),r=p.Modifier.removeRange(e,n,"backward");return p.EditorState.push(t,r,"remove-range")};function Je(t,e,n){const r=t.getBlockForKey(e);let i=null;return r.findEntityRanges(t=>t.getEntity()===n,(t,e)=>{i={start:t,end:e}}),i}function $e(t,e,n){const r=t.getBlockForKey(e).getEntityAt(n),i=Je(t,e,r);return null===i||i.start===n?null:r}function Ye(t,e){const{start:n,end:r}=e;return t.getStartOffset()<=n&&t.getEndOffset()>=r}const Xe=ze.a.div`
	div {
		z-index: 10995;
	}
	> div {
		max-height: 450px;
		overflow-y: auto;
	}
`,Qe=new RegExp("(?:\\p{RI}\\p{RI}|\\p{Emoji}(?:\\p{Emoji_Modifier}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(?:\\u{200D}\\p{Emoji}(?:\\p{Emoji_Modifier}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*)","gu");class Ge extends o.a.Component{constructor(t){super(t);const{content:e,replacementVariables:n,recommendedReplacementVariables:r}=this.props,i=Ue(e,n),o=this.determineCurrentReplacementVariables(n,r);this.state={editorState:i,searchValue:"",isSuggestionsOpen:!1,editorKey:this.props.fieldId,suggestions:this.mapReplacementVariablesToSuggestions(o)},this._serializedContent=e,this.initializeBinds(),this.initializeDraftJsPlugins()}initializeBinds(){this.onChange=this.onChange.bind(this),this.handleKeyCommand=this.handleKeyCommand.bind(this),this.onSearchChange=this.onSearchChange.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.handleCopyCutEvent=this.handleCopyCutEvent.bind(this),this.debouncedA11ySpeak=ve()(Oe.speak.bind(this),500),this.onSuggestionsOpenChange=this.onSuggestionsOpenChange.bind(this)}initializeDraftJsPlugins(){const t=function(t){void 0===t&&(t={});var e,n,r,i,s,a,u,c={keyBindingFn:void 0,handleKeyCommand:void 0,handleReturn:void 0,onChange:void 0},f={ariaHasPopup:"false",ariaExpanded:!1,ariaOwneeID:void 0,ariaActiveDescendantID:void 0},h=Object(l.Map)(),p=Object(l.Map)(),d=!1,v={getEditorState:void 0,setEditorState:void 0,getPortalClientRect:function(t){return p.get(t)()},getAllSearches:function(){return h},isEscaped:function(t){return e===t},escapeSearch:function(t){e=t},resetEscapedSearch:function(){e=void 0},register:function(t){h=h.set(t,t)},updatePortalClientRect:function(t,e){p=p.set(t,e)},unregister:function(t){h=h.delete(t),p=p.delete(t)},getIsOpened:function(){return d},setIsOpened:function(t){d=t},getReferenceElement:function(){return n},setReferenceElement:function(t){n=t}},_=t,y=_.mentionPrefix,g=void 0===y?"":y,m=_.theme,b=void 0===m?re:m,w=_.positionSuggestions,S=_.mentionComponent,E=_.mentionSuggestionsComponent,O=void 0===E?te:E,x=_.entityMutability,I=void 0===x?"SEGMENTED":x,z=_.mentionTrigger,D=void 0===z?"@":z,k=_.mentionRegExp,C=void 0===k?"[\\w-À-ÖØ-öø-ÿĀ-ňŊ-ſА-я぀-ゟ゠-ヿ㄰-㆏가-힣一-龥؀-ۿÀ-ỹ]":k,R=_.supportWhitespace,A=void 0!==R&&R,q=_.popperOptions,j="string"==typeof D?[D]:D,B={ariaProps:f,callbacks:c,theme:b,store:v,entityMutability:I,positionSuggestions:w,mentionTriggers:j,mentionPrefix:g,popperOptions:q};return{MentionSuggestions:function(t){return o.a.createElement(O,qt({},t,B))},decorators:[{strategy:ie(j),component:function(t){return o.a.createElement(Tt,qt({},t,{theme:b,mentionComponent:S}))}},{strategy:(r=j,i=A,s=C,a="("+r.map((function(t){return M()(t)})).join("|")+")",u=i?new RegExp(a+"("+s+"|\\s)*","g"):new RegExp("(\\s|^)"+a+s+"*","g"),function(t,e){!function(t,e,n,r){var i=e.getText();e.findEntityRanges((function(t){return!t.getEntity()}),(function(e,o){var s=i.slice(e,o);n?function(t,e,n,r){for(var i,o,s=t.lastIndex;null!==(i=t.exec(e))&&t.lastIndex!==s;){s=t.lastIndex;var a=(o=n+i.index)+i[0].length;se(e,i.index)&&r(o,a)}}(t,s,e,r):function(t,e,n,r){for(var i,o,s=t.lastIndex;null!==(i=t.exec(e))&&t.lastIndex!==s;){s=t.lastIndex;var a=(o=n+i.index)+i[0].length;oe.test(e[o])&&(o+=1),r(o,a)}}(t,s,e,r)}))}(u,t,i,e)}),component:function(t){return o.a.createElement(ne,qt({},t,{store:v}))}}],getAccessibilityProps:function(){return{role:"combobox",ariaAutoComplete:"list",ariaHasPopup:f.ariaHasPopup,ariaExpanded:f.ariaExpanded,ariaActiveDescendantID:f.ariaActiveDescendantID,ariaOwneeID:f.ariaOwneeID}},initialize:function(t){var e=t.getEditorState,n=t.setEditorState;v.getEditorState=e,v.setEditorState=n},keyBindingFn:function(t){return c.keyBindingFn&&c.keyBindingFn(t)},handleReturn:function(t){return c.handleReturn&&c.handleReturn(t)},onChange:function(t){return c.onChange?c.onChange(t):t}}}({mentionTrigger:"%",entityMutability:"IMMUTABLE",mentionComponent:qe}),e=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t=Object.assign({},le,t),{blockRenderMap:Object(ae.Map)({unstyled:{element:"div"}}),onChange:function(e){var n=e.getCurrentContent().getBlocksAsArray();if(n.length>1)e=fe(e,n,t);else{var r=n[0],i=r.getText(),o=r.getCharacterList(),s=t.stripEntities&&pe(o);if(ue.test(i)||s){i=ce(i),t.stripEntities&&(o=o.map(he)),r=new p.ContentBlock({key:Object(p.genKey)(),text:i,type:"unstyled",characterList:o,depth:0});var a=p.ContentState.createFromBlockArray([r]);e=p.EditorState.push(e,a,"insert-characters")}}return e},handleReturn:function(t){return"handled"}}}({stripEntities:!1});this.pluginList={mentionsPlugin:t,singleLinePlugin:{...e,handleReturn:()=>{}}},this.pluginList=Object(xe.applyFilters)("yoast.replacementVariableEditor.pluginList",this.pluginList)}serializeContent(t){const e=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";const n=t.getBlockMap();return n.map(e=>Te(e,e=>t.getEntity(e))).join(e)}(t.getCurrentContent());this._serializedContent!==e&&(this._serializedContent=e,this.props.onChange(this._serializedContent))}onChange(t){return new Promise(e=>{t=function(t,e){const n=t.getSelection(),r=e.getSelection(),i=t.getCurrentContent();if(n===r)return t;const o=function(t,e,n){const r=t.getStartOffset(),i=t.getStartKey(),o=t.getEndOffset(),s=t.getEndKey(),{startOffsetProperty:a,endOffsetProperty:u}=function(t){let e="anchorOffset",n="focusOffset";return t&&(e="focusOffset",n="anchorOffset"),{startOffsetProperty:e,endOffsetProperty:n}}(t.getIsBackward()),c=$e(n,i,r);if(null!==c){const r=Je(n,i,c),{start:o,end:s}=r;t=Ye(e,r)?t.merge({[a]:s}):t.merge({[a]:o})}const f=$e(n,s,o);if(null!==f){const r=Je(n,i,f),{start:o,end:s}=r;t=Ye(e,r)?t.merge({[u]:o}):t.merge({[u]:s})}return t}(n,r,i);return o!==n&&(t=p.EditorState.forceSelection(t,o)),t}(t=Ve(t,this.props.replacementVariables),this.state.editorState),this.setState({editorState:t},()=>{this.serializeContent(t),e()})})}handleKeyCommand(t){if("backspace"!==t&&"delete"!==t)return"not-handled";let e=He(this.state.editorState);const n=e.getCurrentContent(),r=e.getSelection();if(!r.isCollapsed())return"not-handled";const i=r.getStartOffset();if(i<0)return"not-handled";const o=n.getBlockForKey(r.getStartKey()).getText(),s="backspace"===t?i-1:i+1;if((o.codePointAt(s)||0)<=127)return"not-handled";let a;return a="backspace"===t?this.getBackwardMatch(o,i):this.getForwardMatch(o,i),a?(e=((t,e,n)=>{const r=t.getSelection(),i=t.getCurrentContent(),o=r.getStartOffset(),s=i.getBlockForKey(r.getStartKey()),a=e[e.length-1].length,u="backspace"===n?o-a:o+a,c=new p.SelectionState({anchorOffset:u,anchorKey:s.getKey(),focusOffset:o,focusKey:s.getKey(),isBackward:"delete"===n,hasFocus:r.getHasFocus()});return p.EditorState.push(t,p.Modifier.replaceText(i,c,""),"remove-range")})(e,a,t),this.onChange(e).then(()=>this.focus()),"handled"):"not-handled"}getForwardMatch(t,e){let n=1;return[2,3,4,5,6,7,8,9,10,11,12,13,14].every(r=>{const i=t.slice(e,e+r);return!(null===i.match(Qe)||i.match(Qe).length>1||(n=r,0))}),t.slice(e,e+n).match(Qe)}getBackwardMatch(t,e){return t.slice(0,e).match(Qe)}mapReplacementVariablesToSuggestions(t){return t.map(t=>({...t,name:t.label,replaceName:t.name}))}suggestionsFilter(t,e){const n=t.toLowerCase();return e.filter((function(t){return!(t.hidden||n&&0!==t.name.toLowerCase().indexOf(n))}))}determineCurrentReplacementVariables(t,e){if(""===(arguments.length>2&&void 0!==arguments[2]?arguments[2]:"")&&!ye()(e)){const n=me()(t,t=>we()(e,t.name));if(0!==n.length)return n}return t}onSearchChange(t){let{value:e}=t;this.props.onSearchChange&&this.props.onSearchChange(e);const n=this.determineCurrentReplacementVariables(this.props.replacementVariables,this.props.recommendedReplacementVariables,e),r=this.mapReplacementVariablesToSuggestions(n);this.setState({searchValue:e,suggestions:this.suggestionsFilter(e,r)}),setTimeout(()=>{this.announceSearchResults()})}onSuggestionsOpenChange(t){this.setState({isSuggestionsOpen:t})}announceSearchResults(){const{suggestions:t}=this.state;t.length?this.debouncedA11ySpeak(Object(f.sprintf)(Object(f._n)("%d result found, use up and down arrow keys to navigate","%d results found, use up and down arrow keys to navigate",t.length,"wordpress-seo"),t.length),"assertive"):this.debouncedA11ySpeak(Object(f.__)("No results","wordpress-seo"),"assertive")}focus(){this.editor.focus()}setEditorRef(t){this.editor=t}setEditorFieldId(){Ee()(this.editor,"editor.editor").id=this.props.fieldId}triggerReplacementVariableSuggestions(){let t=He(this.state.editorState);const e=t.getSelection(),n=t.getCurrentContent(),r=Ne(n,e).getText(),i=(o=e).getIsBackward()?o.getEndOffset():o.getStartOffset();var o;const s=!We(r,i-1),a=!We(r,i),u=((t,e)=>{let n="%";return t&&(n=" "+n),e&&(n+=" "),n})(s,a);t=((t,e)=>{const n=t.getCurrentContent(),r=t.getSelection();if(!r.isCollapsed())return t;const i=p.Modifier.insertText(n,r,e);return p.EditorState.push(t,i,"insert-characters")})(t,u),a&&(t=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const r=t.getCurrentContent(),i=t.getSelection();""===n&&(n=Ne(r,i).getKey());const o=p.SelectionState.createEmpty(n).merge({anchorOffset:e,focusOffset:e});return p.EditorState.acceptSelection(t,o)}(t,i+u.length-1)),this.onChange(t).then(()=>this.focus())}componentWillReceiveProps(t){const{content:e,replacementVariables:n,recommendedReplacementVariables:r}=this.props,{searchValue:i}=this.state,o={};if((t.content!==this._serializedContent&&t.content!==e||t.replacementVariables!==n&&t.replacementVariables.map(t=>t.name).filter(t=>!n.map(t=>t.name).includes(t)).some(t=>e.includes("%%"+t+"%%")))&&(this._serializedContent=t.content,o.editorState=Ue(t.content,t.replacementVariables)),t.replacementVariables!==n){const e=this.determineCurrentReplacementVariables(t.replacementVariables,r,i);o.suggestions=this.suggestionsFilter(i,this.mapReplacementVariablesToSuggestions(e))}this.setState(o)}handleCopyCutEvent(t){const{editorState:e}=this.state,n=e.getSelection();if(n.getHasFocus())try{const r=t.clipboardData,i=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:" ";const r=e.getStartKey(),i=e.getEndKey(),o=t.getBlockMap();let s=!1;const a=o.skipUntil((function(t){return t.getKey()===r})).takeUntil((function(t){const e=s;return t.getKey()===i&&(s=!0),e}));return a.map((function(n){const o=n.getKey(),s={};return o===r&&(s.start=e.getStartOffset()),o===i&&(s.end=e.getEndOffset()),Te(n,e=>t.getEntity(e),s)})).join(n)}(e.getCurrentContent(),n);r.setData("text/plain",i),t.preventDefault()}catch(t){console.error("Couldn't copy content of editor to clipboard, defaulting to browser copy behavior."),console.error("Original error: ",t)}}componentDidMount(){document.addEventListener("copy",this.handleCopyCutEvent),document.addEventListener("cut",this.handleCopyCutEvent),this.setEditorFieldId()}componentWillUnmount(){this.debouncedA11ySpeak.cancel(),document.removeEventListener("copy",this.handleCopyCutEvent),document.removeEventListener("cut",this.handleCopyCutEvent)}render(){const{MentionSuggestions:t}=this.pluginList.mentionsPlugin,{onFocus:e,onBlur:n,ariaLabelledBy:i,placeholder:s,theme:a,isDisabled:u,fieldId:c}=this.props,{editorState:f,suggestions:h,isSuggestionsOpen:p}=this.state;return Object(r.createElement)(o.a.Fragment,null,Object(r.createElement)(O,{key:this.state.editorKey,textDirectionality:a.isRtl?"RTL":"LTR",editorState:f,handleKeyCommand:this.handleKeyCommand,onChange:this.onChange,onFocus:e,onBlur:n,plugins:Object.values(this.pluginList),ref:this.setEditorRef,stripPastedStyles:!0,ariaLabelledBy:i,placeholder:s,spellCheck:!0,readOnly:u}),Object(xe.applyFilters)("yoast.replacementVariableEditor.additionalPlugins",Object(r.createElement)(o.a.Fragment,null),this.pluginList,c),Object(r.createElement)(Xe,null,Object(r.createElement)(t,{onSearchChange:this.onSearchChange,suggestions:h,onOpenChange:this.onSuggestionsOpenChange,open:p})))}}Ge.propTypes={content:a.a.string.isRequired,replacementVariables:Me.isRequired,recommendedReplacementVariables:De,ariaLabelledBy:a.a.string.isRequired,onSearchChange:a.a.func,onChange:a.a.func.isRequired,onFocus:a.a.func,onBlur:a.a.func,theme:a.a.object,placeholder:a.a.string,fieldId:a.a.string.isRequired,isDisabled:a.a.bool},Ge.defaultProps={onSearchChange:null,onFocus:()=>{},onBlur:()=>{},placeholder:"",theme:{isRtl:!1},recommendedReplacementVariables:[],isDisabled:!1};var Ze=Object(Ie.withTheme)(Ge),tn=n(7);const en=ze()(tn.VariableEditorInputContainer)`
	.public-DraftStyleDefault-block {
		line-height: 1.85714285; // 26px based on 14px font-size
	}

	.public-DraftEditorPlaceholder-root {
		color: ${"#707070"};
		line-height: 1.85714285; // 26px based on 14px font-size
	}

	.public-DraftEditorPlaceholder-hasFocus {
		color: ${"#707070"};
	}
`,nn=ze()(tn.VariableEditorInputContainer)`
	min-height: 72px;
	padding: 4px 5px;
	line-height: 1.85714285; // 26px based on 14px font-size

	.public-DraftEditorPlaceholder-root {
		color: ${"#707070"};
		position: absolute;
		line-height: 1.85714285; // 26px based on 14px font-size
	}

	.public-DraftEditorPlaceholder-hasFocus {
		color: ${"#707070"};
		position: absolute;
	}
`,rn=ze.a.div`
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 16px 0 0 0;
`,on=ze()(tn.Button)`
	color: #303030;
	box-sizing: border-box;
	border-radius: 4px;
	box-shadow: inset 0 -2px 0 0 rgba(0,0,0,0.1);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	padding: 4px;
	border: 1px solid #dbdbdb;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	margin-bottom: 5px;
	max-width: 200px;
	padding: 0 0.5em;
`,sn=ze()(on)`
	font-size: 13px;
	margin-left: auto;
	& svg {
		${Object(je.getDirectionalStyle)("margin-right","margin-left")}: 7px;
		fill: ${Re.colors.$color_grey_dark};
	}
`;class an extends o.a.Component{constructor(t){switch(super(t),this.uniqueId=c()("replacement-variable-editor-field-"),t.type){case"description":this.InputContainer=nn;break;case"title":this.InputContainer=en;break;default:this.InputContainer=en}t.withCaret&&(this.InputContainer=Object(Re.withCaretStyles)(this.InputContainer)),this.triggerReplacementVariableSuggestions=this.triggerReplacementVariableSuggestions.bind(this)}triggerReplacementVariableSuggestions(){this.ref.triggerReplacementVariableSuggestions()}render(){const{label:t,onChange:e,content:n,onFocus:i,onBlur:o,isActive:s,isHovered:a,onSearchChange:u,replacementVariables:c,recommendedReplacementVariables:p,editorRef:l,placeholder:d,fieldId:v,onMouseEnter:_,onMouseLeave:y,hasNewBadge:g,isDisabled:m,hasPremiumBadge:b}=this.props,w=this.InputContainer,S=Object(r.createElement)(sn,{className:"yst-replacevar__button-insert",onClick:this.triggerReplacementVariableSuggestions,disabled:m},Object(f.__)("Insert variable","wordpress-seo"));return Object(r.createElement)(rn,{className:["yst-replacevar",m&&"yst-replacevar--disabled"].filter(Boolean).join(" "),onMouseEnter:_,onMouseLeave:y},Object(r.createElement)(tn.SimulatedLabel,{className:"yst-replacevar__label",id:this.uniqueId,onClick:i},t),b&&Object(r.createElement)(tn.PremiumBadge,{inLabel:!0}),Object(r.createElement)(h.Slot,{key:"PluginComponent-"+v,name:"PluginComponent-"+v}),g&&Object(r.createElement)(tn.NewBadge,{inLabel:!0}),S,Object(r.createElement)(w,{className:"yst-replacevar__editor",onClick:i,isActive:s&&!m,isHovered:a},Object(r.createElement)(Ze,{fieldId:v,placeholder:d,content:n,onChange:e,onFocus:i,onBlur:o,onSearchChange:u,replacementVariables:c,recommendedReplacementVariables:p,ref:t=>{this.ref=t,l(t)},ariaLabelledBy:this.uniqueId,isDisabled:m})))}}an.propTypes={editorRef:a.a.func,content:a.a.string.isRequired,onChange:a.a.func.isRequired,onBlur:a.a.func,onSearchChange:a.a.func,replacementVariables:Me,recommendedReplacementVariables:De,isActive:a.a.bool,isHovered:a.a.bool,withCaret:a.a.bool,onFocus:a.a.func,label:a.a.string,placeholder:a.a.string,type:a.a.oneOf(["title","description"]).isRequired,fieldId:a.a.string,onMouseEnter:a.a.func,onMouseLeave:a.a.func,hasNewBadge:a.a.bool,isDisabled:a.a.bool,hasPremiumBadge:a.a.bool},an.defaultProps={onFocus:()=>{},onBlur:()=>{},onSearchChange:null,replacementVariables:[],recommendedReplacementVariables:[],fieldId:"",placeholder:"",label:"",withCaret:!1,isHovered:!1,isActive:!1,editorRef:()=>{},onMouseEnter:()=>{},onMouseLeave:()=>{},hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1};var un=an;const cn=ze.a.section`
	padding: ${t=>t.padding?t.padding:"0 20px"};
`;class fn extends o.a.Component{constructor(t){super(t),this.elements={title:null,description:null},this.setRef=this.setRef.bind(this),this.setTitleRef=this.setTitleRef.bind(this),this.setDescriptionRef=this.setDescriptionRef.bind(this),this.triggerReplacementVariableSuggestions=this.triggerReplacementVariableSuggestions.bind(this),this.onFocusTitle=this.onFocusTitle.bind(this),this.onChangeTitle=this.onChangeTitle.bind(this),this.onFocusDescription=this.onFocusDescription.bind(this),this.onChangeDescription=this.onChangeDescription.bind(this)}setRef(t,e){this.elements[t]=e}setTitleRef(t){this.setRef("title",t)}setDescriptionRef(t){this.setRef("description",t)}componentDidUpdate(t){this.focusOnActiveFieldChange(t.activeField)}focusOnActiveFieldChange(t){const{activeField:e}=this.props;e&&e!==t&&this.elements[e].focus()}triggerReplacementVariableSuggestions(t){this.elements[t].triggerReplacementVariableSuggestions()}onFocusTitle(){this.props.onFocus("title")}onChangeTitle(t){this.props.onChange("title",t)}onFocusDescription(){this.props.onFocus("description")}onChangeDescription(t){this.props.onChange("description",t)}render(){const{descriptionEditorFieldPlaceholder:t,activeField:e,hoveredField:n,replacementVariables:i,recommendedReplacementVariables:o,onBlur:s,data:{title:a,description:u},containerPadding:c,fieldIds:h,labels:p,hasNewBadge:l,isDisabled:d,hasPremiumBadge:v}=this.props;return Object(r.createElement)(cn,{padding:c},Object(r.createElement)(un,{type:"title",label:p.title||Object(f.__)("SEO title","wordpress-seo"),onFocus:this.onFocusTitle,onBlur:s,isActive:"title"===e,isHovered:"title"===n,editorRef:this.setTitleRef,replacementVariables:i,recommendedReplacementVariables:o,content:a,onChange:this.onChangeTitle,fieldId:h.title,hasNewBadge:l,isDisabled:d,hasPremiumBadge:v}),Object(r.createElement)(un,{type:"description",placeholder:t,label:p.description||Object(f.__)("Meta description","wordpress-seo"),onFocus:this.onFocusDescription,onBlur:s,isActive:"description"===e,isHovered:"description"===n,editorRef:this.setDescriptionRef,replacementVariables:i,recommendedReplacementVariables:o,content:u,onChange:this.onChangeDescription,fieldId:h.description,hasNewBadge:l,isDisabled:d,hasPremiumBadge:v}))}}fn.propTypes={replacementVariables:Me,recommendedReplacementVariables:De,onChange:a.a.func.isRequired,onFocus:a.a.func,onBlur:a.a.func,data:a.a.shape({title:a.a.string,description:a.a.string}).isRequired,activeField:a.a.oneOf(["title","description"]),hoveredField:a.a.oneOf(["title","description"]),descriptionEditorFieldPlaceholder:a.a.string,containerPadding:a.a.string,fieldIds:a.a.shape({title:a.a.string.isRequired,description:a.a.string.isRequired}).isRequired,labels:a.a.shape({title:a.a.string,description:a.a.string}),hasNewBadge:a.a.bool,isDisabled:a.a.bool,hasPremiumBadge:a.a.bool},fn.defaultProps={replacementVariables:[],recommendedReplacementVariables:[],onFocus:()=>{},onBlur:()=>{},containerPadding:"0 20px",descriptionEditorFieldPlaceholder:null,labels:{},hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1,activeField:"",hoveredField:""};var hn=fn;class pn extends o.a.Component{constructor(t){super(t),this.state={activeField:null,hoveredField:null},this.setFieldFocus=this.setFieldFocus.bind(this),this.handleChange=this.handleChange.bind(this),this.onClick=this.onClick.bind(this),this.onBlur=this.onBlur.bind(this)}handleChange(t,e){this.props.onChange(t,e)}setFieldFocus(t){this.setState({activeField:t})}onBlur(){this.setState({activeField:null})}onClick(t){this.setFieldFocus(t)}render(){const{data:t,replacementVariables:e,recommendedReplacementVariables:n,descriptionEditorFieldPlaceholder:i,hasPaperStyle:o,fieldIds:s,labels:a,hasNewBadge:u,isDisabled:c,hasPremiumBadge:f}=this.props,{activeField:h,hoveredField:p}=this.state;return Object(r.createElement)(tn.ErrorBoundary,null,Object(r.createElement)(hn,{descriptionEditorFieldPlaceholder:i,data:t,activeField:h,hoveredField:p,onChange:this.handleChange,onFocus:this.setFieldFocus,onBlur:this.onBlur,replacementVariables:e,recommendedReplacementVariables:n,containerPadding:o?"0 20px":"0",fieldIds:s,labels:a,hasNewBadge:u,isDisabled:c,hasPremiumBadge:f}))}}pn.propTypes={replacementVariables:Me,recommendedReplacementVariables:De,data:a.a.shape({title:a.a.string.isRequired,description:a.a.string.isRequired}).isRequired,onChange:a.a.func.isRequired,descriptionEditorFieldPlaceholder:a.a.string,hasPaperStyle:a.a.bool,fieldIds:a.a.shape({title:a.a.string.isRequired,description:a.a.string.isRequired}).isRequired,labels:a.a.shape({title:a.a.string,description:a.a.string}),hasNewBadge:a.a.bool,isDisabled:a.a.bool,hasPremiumBadge:a.a.bool},pn.defaultProps={replacementVariables:[],recommendedReplacementVariables:[],hasPaperStyle:!0,descriptionEditorFieldPlaceholder:null,labels:{},hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1};var ln=pn},5:function(t,e){t.exports=window.yoast.styledComponents},58:function(t,e){t.exports=window.lodash.uniqueId},6:function(t,e){t.exports=window.yoast.styleGuide},60:function(t,e){t.exports=window.wp.hooks},61:function(t,e){t.exports=window.lodash.filter},62:function(t,e){t.exports=window.lodash.includes},7:function(t,e){t.exports=window.yoast.componentsNew},80:function(t,e){t.exports=window.lodash.isEmpty},81:function(t,e){t.exports=window.lodash.debounce},83:function(t,e,n){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function n(t){return s(t)?t:V(t)}function r(t){return a(t)?t:U(t)}function i(t){return u(t)?t:W(t)}function o(t){return s(t)&&!c(t)?t:N(t)}function s(t){return!(!t||!t[h])}function a(t){return!(!t||!t[p])}function u(t){return!(!t||!t[l])}function c(t){return a(t)||u(t)}function f(t){return!(!t||!t[d])}e(r,n),e(i,n),e(o,n),n.isIterable=s,n.isKeyed=a,n.isIndexed=u,n.isAssociative=c,n.isOrdered=f,n.Keyed=r,n.Indexed=i,n.Set=o;var h="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",l="@@__IMMUTABLE_INDEXED__@@",d="@@__IMMUTABLE_ORDERED__@@",v={},_={value:!1},y={value:!1};function g(t){return t.value=!1,t}function m(t){t&&(t.value=!0)}function b(){}function w(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),i=0;i<n;i++)r[i]=t[i+e];return r}function S(t){return void 0===t.size&&(t.size=t.__iterate(O)),t.size}function E(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?S(t)+e:e}function O(){return!0}function x(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function I(t,e){return M(t,e,0)}function z(t,e){return M(t,e,e)}function M(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var D,k,C,R="function"==typeof Symbol&&Symbol.iterator,A=R||"@@iterator";function q(t){this.next=t}function j(t,e,n,r){var i=0===t?e:1===t?n:[e,n];return r?r.value=i:r={value:i,done:!1},r}function B(){return{value:void 0,done:!0}}function P(t){return!!T(t)}function K(t){return t&&"function"==typeof t.next}function F(t){var e=T(t);return e&&e.call(t)}function T(t){var e=t&&(R&&t[R]||t["@@iterator"]);if("function"==typeof e)return e}function L(t){return t&&"number"==typeof t.length}function V(t){return null==t?Q():s(t)?t.toSeq():function(t){var e=tt(t)||"object"==typeof t&&new J(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function U(t){return null==t?Q().toKeyedSeq():s(t)?a(t)?t.toSeq():t.fromEntrySeq():G(t)}function W(t){return null==t?Q():s(t)?a(t)?t.entrySeq():t.toIndexedSeq():Z(t)}function N(t){return(null==t?Q():s(t)?a(t)?t.entrySeq():t:Z(t)).toSetSeq()}function H(t){this._array=t,this.size=t.length}function J(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function $(t){this._iterable=t,this.size=t.length||t.size}function Y(t){this._iterator=t,this._iteratorCache=[]}function X(t){return!(!t||!t["@@__IMMUTABLE_SEQ__@@"])}function Q(){return D||(D=new H([]))}function G(t){var e=Array.isArray(t)?new H(t).fromEntrySeq():K(t)?new Y(t).fromEntrySeq():P(t)?new $(t).fromEntrySeq():"object"==typeof t?new J(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function Z(t){var e=tt(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function tt(t){return L(t)?new H(t):K(t)?new Y(t):P(t)?new $(t):void 0}function et(t,e,n,r){var i=t._cache;if(i){for(var o=i.length-1,s=0;s<=o;s++){var a=i[n?o-s:s];if(!1===e(a[1],r?a[0]:s,t))return s+1}return s}return t.__iterateUncached(e,n)}function nt(t,e,n,r){var i=t._cache;if(i){var o=i.length-1,s=0;return new q((function(){var t=i[n?o-s:s];return s++>o?{value:void 0,done:!0}:j(e,r?t[0]:s-1,t[1])}))}return t.__iteratorUncached(e,n)}function rt(t,e){return e?function t(e,n,r,i){return Array.isArray(n)?e.call(i,r,W(n).map((function(r,i){return t(e,r,i,n)}))):ot(n)?e.call(i,r,U(n).map((function(r,i){return t(e,r,i,n)}))):n}(e,t,"",{"":t}):it(t)}function it(t){return Array.isArray(t)?W(t).map(it).toList():ot(t)?U(t).map(it).toMap():t}function ot(t){return t&&(t.constructor===Object||void 0===t.constructor)}function st(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function at(t,e){if(t===e)return!0;if(!s(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||a(t)!==a(e)||u(t)!==u(e)||f(t)!==f(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!c(t);if(f(t)){var r=t.entries();return e.every((function(t,e){var i=r.next().value;return i&&st(i[1],t)&&(n||st(i[0],e))}))&&r.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var o=t;t=e,e=o}var h=!0,p=e.__iterate((function(e,r){if(n?!t.has(e):i?!st(e,t.get(r,v)):!st(t.get(r,v),e))return h=!1,!1}));return h&&t.size===p}function ut(t,e){if(!(this instanceof ut))return new ut(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(k)return k;k=this}}function ct(t,e){if(!t)throw new Error(e)}function ft(t,e,n){if(!(this instanceof ft))return new ft(t,e,n);if(ct(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if(C)return C;C=this}}function ht(){throw TypeError("Abstract")}function pt(){}function lt(){}function dt(){}q.prototype.toString=function(){return"[Iterator]"},q.KEYS=0,q.VALUES=1,q.ENTRIES=2,q.prototype.inspect=q.prototype.toSource=function(){return this.toString()},q.prototype[A]=function(){return this},e(V,n),V.of=function(){return V(arguments)},V.prototype.toSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq {","}")},V.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},V.prototype.__iterate=function(t,e){return et(this,t,e,!0)},V.prototype.__iterator=function(t,e){return nt(this,t,e,!0)},e(U,V),U.prototype.toKeyedSeq=function(){return this},e(W,V),W.of=function(){return W(arguments)},W.prototype.toIndexedSeq=function(){return this},W.prototype.toString=function(){return this.__toString("Seq [","]")},W.prototype.__iterate=function(t,e){return et(this,t,e,!1)},W.prototype.__iterator=function(t,e){return nt(this,t,e,!1)},e(N,V),N.of=function(){return N(arguments)},N.prototype.toSetSeq=function(){return this},V.isSeq=X,V.Keyed=U,V.Set=N,V.Indexed=W,V.prototype["@@__IMMUTABLE_SEQ__@@"]=!0,e(H,W),H.prototype.get=function(t,e){return this.has(t)?this._array[E(this,t)]:e},H.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===t(n[e?r-i:i],i,this))return i+1;return i},H.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,i=0;return new q((function(){return i>r?{value:void 0,done:!0}:j(t,i,n[e?r-i++:i++])}))},e(J,U),J.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},J.prototype.has=function(t){return this._object.hasOwnProperty(t)},J.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,i=r.length-1,o=0;o<=i;o++){var s=r[e?i-o:o];if(!1===t(n[s],s,this))return o+1}return o},J.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,i=r.length-1,o=0;return new q((function(){var s=r[e?i-o:o];return o++>i?{value:void 0,done:!0}:j(t,s,n[s])}))},J.prototype[d]=!0,e($,W),$.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=F(this._iterable),r=0;if(K(n))for(var i;!(i=n.next()).done&&!1!==t(i.value,r++,this););return r},$.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=F(this._iterable);if(!K(n))return new q(B);var r=0;return new q((function(){var e=n.next();return e.done?e:j(t,r++,e.value)}))},e(Y,W),Y.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===t(i[o],o++,this))return o;for(;!(n=r.next()).done;){var s=n.value;if(i[o]=s,!1===t(s,o++,this))break}return o},Y.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,i=0;return new q((function(){if(i>=r.length){var e=n.next();if(e.done)return e;r[i]=e.value}return j(t,i,r[i++])}))},e(ut,W),ut.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ut.prototype.get=function(t,e){return this.has(t)?this._value:e},ut.prototype.includes=function(t){return st(this._value,t)},ut.prototype.slice=function(t,e){var n=this.size;return x(t,e,n)?this:new ut(this._value,z(e,n)-I(t,n))},ut.prototype.reverse=function(){return this},ut.prototype.indexOf=function(t){return st(this._value,t)?0:-1},ut.prototype.lastIndexOf=function(t){return st(this._value,t)?this.size:-1},ut.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(!1===t(this._value,n,this))return n+1;return n},ut.prototype.__iterator=function(t,e){var n=this,r=0;return new q((function(){return r<n.size?j(t,r++,n._value):{value:void 0,done:!0}}))},ut.prototype.equals=function(t){return t instanceof ut?st(this._value,t._value):at(t)},e(ft,W),ft.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},ft.prototype.get=function(t,e){return this.has(t)?this._start+E(this,t)*this._step:e},ft.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},ft.prototype.slice=function(t,e){return x(t,e,this.size)?this:(t=I(t,this.size),(e=z(e,this.size))<=t?new ft(0,0):new ft(this.get(t,this._end),this.get(e,this._end),this._step))},ft.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},ft.prototype.lastIndexOf=function(t){return this.indexOf(t)},ft.prototype.__iterate=function(t,e){for(var n=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===t(i,o,this))return o+1;i+=e?-r:r}return o},ft.prototype.__iterator=function(t,e){var n=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;return new q((function(){var s=i;return i+=e?-r:r,o>n?{value:void 0,done:!0}:j(t,o++,s)}))},ft.prototype.equals=function(t){return t instanceof ft?this._start===t._start&&this._end===t._end&&this._step===t._step:at(this,t)},e(ht,n),e(pt,ht),e(lt,ht),e(dt,ht),ht.Keyed=pt,ht.Indexed=lt,ht.Set=dt;var vt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function _t(t){return t>>>1&1073741824|3221225471&t}function yt(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){if(t!=t||t===1/0)return 0;var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)n^=t/=4294967295;return _t(n)}if("string"===e)return t.length>xt?function(t){var e=Mt[t];return void 0===e&&(e=gt(t),zt===It&&(zt=0,Mt={}),zt++,Mt[t]=e),e}(t):gt(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return function(t){var e;if(St&&void 0!==(e=mt.get(t)))return e;if(void 0!==(e=t[Ot]))return e;if(!wt){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Ot]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=++Et,1073741824&Et&&(Et=0),St)mt.set(t,e);else{if(void 0!==bt&&!1===bt(t))throw new Error("Non-extensible objects are not allowed as keys.");if(wt)Object.defineProperty(t,Ot,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Ot]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Ot]=e}}return e}(t);if("function"==typeof t.toString)return gt(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function gt(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return _t(e)}var mt,bt=Object.isExtensible,wt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),St="function"==typeof WeakMap;St&&(mt=new WeakMap);var Et=0,Ot="__immutablehash__";"function"==typeof Symbol&&(Ot=Symbol(Ot));var xt=16,It=255,zt=0,Mt={};function Dt(t){ct(t!==1/0,"Cannot perform this action with an infinite size.")}function kt(t){return null==t?Wt():Ct(t)&&!f(t)?t:Wt().withMutations((function(e){var n=r(t);Dt(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function Ct(t){return!(!t||!t[At])}e(kt,pt),kt.of=function(){var e=t.call(arguments,0);return Wt().withMutations((function(t){for(var n=0;n<e.length;n+=2){if(n+1>=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}}))},kt.prototype.toString=function(){return this.__toString("Map {","}")},kt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},kt.prototype.set=function(t,e){return Nt(this,t,e)},kt.prototype.setIn=function(t,e){return this.updateIn(t,v,(function(){return e}))},kt.prototype.remove=function(t){return Nt(this,t,v)},kt.prototype.deleteIn=function(t){return this.updateIn(t,(function(){return v}))},kt.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},kt.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=function t(e,n,r,i){var o=e===v,s=n.next();if(s.done){var a=o?r:e,u=i(a);return u===a?e:u}ct(o||e&&e.set,"invalid keyPath");var c=s.value,f=o?v:e.get(c,v),h=t(f,n,r,i);return h===f?e:h===v?e.remove(c):(o?Wt():e).set(c,h)}(this,Ye(t),e,n);return r===v?void 0:r},kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Wt()},kt.prototype.merge=function(){return Yt(this,void 0,arguments)},kt.prototype.mergeWith=function(e){var n=t.call(arguments,1);return Yt(this,e,n)},kt.prototype.mergeIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,Wt(),(function(t){return"function"==typeof t.merge?t.merge.apply(t,n):n[n.length-1]}))},kt.prototype.mergeDeep=function(){return Yt(this,Xt,arguments)},kt.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return Yt(this,Qt(e),n)},kt.prototype.mergeDeepIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,Wt(),(function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,n):n[n.length-1]}))},kt.prototype.sort=function(t){return we(Ke(this,t))},kt.prototype.sortBy=function(t,e){return we(Ke(this,e,t))},kt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},kt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new b)},kt.prototype.asImmutable=function(){return this.__ensureOwner()},kt.prototype.wasAltered=function(){return this.__altered},kt.prototype.__iterator=function(t,e){return new Tt(this,t,e)},kt.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate((function(e){return r++,t(e[1],e[0],n)}),e),r},kt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ut(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},kt.isMap=Ct;var Rt,At="@@__IMMUTABLE_MAP__@@",qt=kt.prototype;function jt(t,e){this.ownerID=t,this.entries=e}function Bt(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function Pt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function Kt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function Ft(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function Tt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&Vt(t._root)}function Lt(t,e){return j(t,e[0],e[1])}function Vt(t,e){return{node:t,index:0,__prev:e}}function Ut(t,e,n,r){var i=Object.create(qt);return i.size=t,i._root=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Wt(){return Rt||(Rt=Ut(0))}function Nt(t,e,n){var r,i;if(t._root){var o=g(_),s=g(y);if(r=Ht(t._root,t.__ownerID,0,void 0,e,n,o,s),!s.value)return t;i=t.size+(o.value?n===v?-1:1:0)}else{if(n===v)return t;i=1,r=new jt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=i,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?Ut(i,r):Wt()}function Ht(t,e,n,r,i,o,s,a){return t?t.update(e,n,r,i,o,s,a):o===v?t:(m(a),m(s),new Ft(e,r,[i,o]))}function Jt(t){return t.constructor===Ft||t.constructor===Kt}function $t(t,e,n,r,i){if(t.keyHash===r)return new Kt(e,r,[t.entry,i]);var o,s=31&(0===n?t.keyHash:t.keyHash>>>n),a=31&(0===n?r:r>>>n);return new Bt(e,1<<s|1<<a,s===a?[$t(t,e,n+5,r,i)]:(o=new Ft(e,r,i),s<a?[t,o]:[o,t]))}function Yt(t,e,n){for(var i=[],o=0;o<n.length;o++){var a=n[o],u=r(a);s(a)||(u=u.map((function(t){return rt(t)}))),i.push(u)}return Gt(t,e,i)}function Xt(t,e,n){return t&&t.mergeDeep&&s(e)?t.mergeDeep(e):st(t,e)?t:e}function Qt(t){return function(e,n,r){if(e&&e.mergeDeepWith&&s(n))return e.mergeDeepWith(t,n);var i=t(e,n,r);return st(e,i)?e:i}}function Gt(t,e,n){return 0===(n=n.filter((function(t){return 0!==t.size}))).length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations((function(t){for(var r=e?function(n,r){t.update(r,v,(function(t){return t===v?n:e(t,n,r)}))}:function(e,n){t.set(n,e)},i=0;i<n.length;i++)n[i].forEach(r)})):t.constructor(n[0])}function Zt(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function te(t,e,n,r){var i=r?t:w(t);return i[e]=n,i}qt[At]=!0,qt.delete=qt.remove,qt.removeIn=qt.deleteIn,jt.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,s=i.length;o<s;o++)if(st(n,i[o][0]))return i[o][1];return r},jt.prototype.update=function(t,e,n,r,i,o,s){for(var a=i===v,u=this.entries,c=0,f=u.length;c<f&&!st(r,u[c][0]);c++);var h=c<f;if(h?u[c][1]===i:a)return this;if(m(s),(a||!h)&&m(o),!a||1!==u.length){if(!h&&!a&&u.length>=ee)return function(t,e,n,r){t||(t=new b);for(var i=new Ft(t,yt(n),[n,r]),o=0;o<e.length;o++){var s=e[o];i=i.update(t,0,void 0,s[0],s[1])}return i}(t,u,r,i);var p=t&&t===this.ownerID,l=p?u:w(u);return h?a?c===f-1?l.pop():l[c]=l.pop():l[c]=[r,i]:l.push([r,i]),p?(this.entries=l,this):new jt(t,l)}},Bt.prototype.get=function(t,e,n,r){void 0===e&&(e=yt(n));var i=1<<(31&(0===t?e:e>>>t)),o=this.bitmap;return 0==(o&i)?r:this.nodes[Zt(o&i-1)].get(t+5,e,n,r)},Bt.prototype.update=function(t,e,n,r,i,o,s){void 0===n&&(n=yt(r));var a=31&(0===e?n:n>>>e),u=1<<a,c=this.bitmap,f=0!=(c&u);if(!f&&i===v)return this;var h=Zt(c&u-1),p=this.nodes,l=f?p[h]:void 0,d=Ht(l,t,e+5,n,r,i,o,s);if(d===l)return this;if(!f&&d&&p.length>=ne)return function(t,e,n,r,i){for(var o=0,s=new Array(32),a=0;0!==n;a++,n>>>=1)s[a]=1&n?e[o++]:void 0;return s[r]=i,new Pt(t,o+1,s)}(t,p,c,a,d);if(f&&!d&&2===p.length&&Jt(p[1^h]))return p[1^h];if(f&&d&&1===p.length&&Jt(d))return d;var _=t&&t===this.ownerID,y=f?d?c:c^u:c|u,g=f?d?te(p,h,d,_):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var i=new Array(r),o=0,s=0;s<r;s++)s===e&&(o=1),i[s]=t[s+o];return i}(p,h,_):function(t,e,n,r){var i=t.length+1;if(r&&e+1===i)return t[e]=n,t;for(var o=new Array(i),s=0,a=0;a<i;a++)a===e?(o[a]=n,s=-1):o[a]=t[a+s];return o}(p,h,d,_);return _?(this.bitmap=y,this.nodes=g,this):new Bt(t,y,g)},Pt.prototype.get=function(t,e,n,r){void 0===e&&(e=yt(n));var i=31&(0===t?e:e>>>t),o=this.nodes[i];return o?o.get(t+5,e,n,r):r},Pt.prototype.update=function(t,e,n,r,i,o,s){void 0===n&&(n=yt(r));var a=31&(0===e?n:n>>>e),u=i===v,c=this.nodes,f=c[a];if(u&&!f)return this;var h=Ht(f,t,e+5,n,r,i,o,s);if(h===f)return this;var p=this.count;if(f){if(!h&&--p<re)return function(t,e,n,r){for(var i=0,o=0,s=new Array(n),a=0,u=1,c=e.length;a<c;a++,u<<=1){var f=e[a];void 0!==f&&a!==r&&(i|=u,s[o++]=f)}return new Bt(t,i,s)}(t,c,p,a)}else p++;var l=t&&t===this.ownerID,d=te(c,a,h,l);return l?(this.count=p,this.nodes=d,this):new Pt(t,p,d)},Kt.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,s=i.length;o<s;o++)if(st(n,i[o][0]))return i[o][1];return r},Kt.prototype.update=function(t,e,n,r,i,o,s){void 0===n&&(n=yt(r));var a=i===v;if(n!==this.keyHash)return a?this:(m(s),m(o),$t(this,t,e,n,[r,i]));for(var u=this.entries,c=0,f=u.length;c<f&&!st(r,u[c][0]);c++);var h=c<f;if(h?u[c][1]===i:a)return this;if(m(s),(a||!h)&&m(o),a&&2===f)return new Ft(t,this.keyHash,u[1^c]);var p=t&&t===this.ownerID,l=p?u:w(u);return h?a?c===f-1?l.pop():l[c]=l.pop():l[c]=[r,i]:l.push([r,i]),p?(this.entries=l,this):new Kt(t,this.keyHash,l)},Ft.prototype.get=function(t,e,n,r){return st(n,this.entry[0])?this.entry[1]:r},Ft.prototype.update=function(t,e,n,r,i,o,s){var a=i===v,u=st(r,this.entry[0]);return(u?i===this.entry[1]:a)?this:(m(s),a?void m(o):u?t&&t===this.ownerID?(this.entry[1]=i,this):new Ft(t,this.keyHash,[r,i]):(m(o),$t(this,t,e,yt(r),[r,i])))},jt.prototype.iterate=Kt.prototype.iterate=function(t,e){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===t(n[e?i-r:r]))return!1},Bt.prototype.iterate=Pt.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[e?i-r:r];if(o&&!1===o.iterate(t,e))return!1}},Ft.prototype.iterate=function(t,e){return t(this.entry)},e(Tt,q),Tt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,i=e.index++;if(r.entry){if(0===i)return Lt(t,r.entry)}else if(r.entries){if(i<=(n=r.entries.length-1))return Lt(t,r.entries[this._reverse?n-i:i])}else if(i<=(n=r.nodes.length-1)){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return Lt(t,o.entry);e=this._stack=Vt(o,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var ee=8,ne=16,re=8;function ie(t){var e=de();if(null==t)return e;if(oe(t))return t;var n=i(t),r=n.size;return 0===r?e:(Dt(r),r>0&&r<32?le(0,r,5,null,new ue(n.toArray())):e.withMutations((function(t){t.setSize(r),n.forEach((function(e,n){return t.set(n,e)}))})))}function oe(t){return!(!t||!t[se])}e(ie,lt),ie.of=function(){return this(arguments)},ie.prototype.toString=function(){return this.__toString("List [","]")},ie.prototype.get=function(t,e){if((t=E(this,t))>=0&&t<this.size){var n=ye(this,t+=this._origin);return n&&n.array[31&t]}return e},ie.prototype.set=function(t,e){return function(t,e,n){if((e=E(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?ge(t,e).set(0,n):ge(t,0,e+1).set(e,n)}));e+=t._origin;var r=t._tail,i=t._root,o=g(y);return e>=be(t._capacity)?r=ve(r,t.__ownerID,0,e,n,o):i=ve(i,t.__ownerID,t._level,e,n,o),o.value?t.__ownerID?(t._root=i,t._tail=r,t.__hash=void 0,t.__altered=!0,t):le(t._origin,t._capacity,t._level,i,r):t}(this,t,e)},ie.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},ie.prototype.insert=function(t,e){return this.splice(t,0,e)},ie.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):de()},ie.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(n){ge(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])}))},ie.prototype.pop=function(){return ge(this,0,-1)},ie.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){ge(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])}))},ie.prototype.shift=function(){return ge(this,1)},ie.prototype.merge=function(){return me(this,void 0,arguments)},ie.prototype.mergeWith=function(e){var n=t.call(arguments,1);return me(this,e,n)},ie.prototype.mergeDeep=function(){return me(this,Xt,arguments)},ie.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return me(this,Qt(e),n)},ie.prototype.setSize=function(t){return ge(this,0,t)},ie.prototype.slice=function(t,e){var n=this.size;return x(t,e,n)?this:ge(this,I(t,n),z(e,n))},ie.prototype.__iterator=function(t,e){var n=0,r=pe(this,e);return new q((function(){var e=r();return e===he?{value:void 0,done:!0}:j(t,n++,e)}))},ie.prototype.__iterate=function(t,e){for(var n,r=0,i=pe(this,e);(n=i())!==he&&!1!==t(n,r++,this););return r},ie.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?le(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},ie.isList=oe;var se="@@__IMMUTABLE_LIST__@@",ae=ie.prototype;function ue(t,e){this.array=t,this.ownerID=e}ae[se]=!0,ae.delete=ae.remove,ae.setIn=qt.setIn,ae.deleteIn=ae.removeIn=qt.removeIn,ae.update=qt.update,ae.updateIn=qt.updateIn,ae.mergeIn=qt.mergeIn,ae.mergeDeepIn=qt.mergeDeepIn,ae.withMutations=qt.withMutations,ae.asMutable=qt.asMutable,ae.asImmutable=qt.asImmutable,ae.wasAltered=qt.wasAltered,ue.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&31;if(r>=this.array.length)return new ue([],t);var i,o=0===r;if(e>0){var s=this.array[r];if((i=s&&s.removeBefore(t,e-5,n))===s&&o)return this}if(o&&!i)return this;var a=_e(this,t);if(!o)for(var u=0;u<r;u++)a.array[u]=void 0;return i&&(a.array[r]=i),a},ue.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r,i=n-1>>>e&31;if(i>=this.array.length)return this;if(e>0){var o=this.array[i];if((r=o&&o.removeAfter(t,e-5,n))===o&&i===this.array.length-1)return this}var s=_e(this,t);return s.array.splice(i+1),r&&(s.array[i]=r),s};var ce,fe,he={};function pe(t,e){var n=t._origin,r=t._capacity,i=be(r),o=t._tail;return function t(s,a,u){return 0===a?function(t,s){var a=s===i?o&&o.array:t&&t.array,u=s>n?0:n-s,c=r-s;return c>32&&(c=32),function(){if(u===c)return he;var t=e?--c:u++;return a&&a[t]}}(s,u):function(i,o,s){var a,u=i&&i.array,c=s>n?0:n-s>>o,f=1+(r-s>>o);return f>32&&(f=32),function(){for(;;){if(a){var n=a();if(n!==he)return n;a=null}if(c===f)return he;var r=e?--f:c++;a=t(u&&u[r],o-5,s+(r<<o))}}}(s,a,u)}(t._root,t._level,0)}function le(t,e,n,r,i,o,s){var a=Object.create(ae);return a.size=e-t,a._origin=t,a._capacity=e,a._level=n,a._root=r,a._tail=i,a.__ownerID=o,a.__hash=s,a.__altered=!1,a}function de(){return ce||(ce=le(0,0,5))}function ve(t,e,n,r,i,o){var s,a=r>>>n&31,u=t&&a<t.array.length;if(!u&&void 0===i)return t;if(n>0){var c=t&&t.array[a],f=ve(c,e,n-5,r,i,o);return f===c?t:((s=_e(t,e)).array[a]=f,s)}return u&&t.array[a]===i?t:(m(o),s=_e(t,e),void 0===i&&a===s.array.length-1?s.array.pop():s.array[a]=i,s)}function _e(t,e){return e&&t&&e===t.ownerID?t:new ue(t?t.array.slice():[],e)}function ye(t,e){if(e>=be(t._capacity))return t._tail;if(e<1<<t._level+5){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&31],r-=5;return n}}function ge(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new b,i=t._origin,o=t._capacity,s=i+e,a=void 0===n?o:n<0?o+n:i+n;if(s===i&&a===o)return t;if(s>=a)return t.clear();for(var u=t._level,c=t._root,f=0;s+f<0;)c=new ue(c&&c.array.length?[void 0,c]:[],r),f+=1<<(u+=5);f&&(s+=f,i+=f,a+=f,o+=f);for(var h=be(o),p=be(a);p>=1<<u+5;)c=new ue(c&&c.array.length?[c]:[],r),u+=5;var l=t._tail,d=p<h?ye(t,a-1):p>h?new ue([],r):l;if(l&&p>h&&s<o&&l.array.length){for(var v=c=_e(c,r),_=u;_>5;_-=5){var y=h>>>_&31;v=v.array[y]=_e(v.array[y],r)}v.array[h>>>5&31]=l}if(a<o&&(d=d&&d.removeAfter(r,0,a)),s>=p)s-=p,a-=p,u=5,c=null,d=d&&d.removeBefore(r,0,s);else if(s>i||p<h){for(f=0;c;){var g=s>>>u&31;if(g!==p>>>u&31)break;g&&(f+=(1<<u)*g),u-=5,c=c.array[g]}c&&s>i&&(c=c.removeBefore(r,u,s-f)),c&&p<h&&(c=c.removeAfter(r,u,p-f)),f&&(s-=f,a-=f)}return t.__ownerID?(t.size=a-s,t._origin=s,t._capacity=a,t._level=u,t._root=c,t._tail=d,t.__hash=void 0,t.__altered=!0,t):le(s,a,u,c,d)}function me(t,e,n){for(var r=[],o=0,a=0;a<n.length;a++){var u=n[a],c=i(u);c.size>o&&(o=c.size),s(u)||(c=c.map((function(t){return rt(t)}))),r.push(c)}return o>t.size&&(t=t.setSize(o)),Gt(t,e,r)}function be(t){return t<32?0:t-1>>>5<<5}function we(t){return null==t?Oe():Se(t)?t:Oe().withMutations((function(e){var n=r(t);Dt(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function Se(t){return Ct(t)&&f(t)}function Ee(t,e,n,r){var i=Object.create(we.prototype);return i.size=t?t.size:0,i._map=t,i._list=e,i.__ownerID=n,i.__hash=r,i}function Oe(){return fe||(fe=Ee(Wt(),de()))}function xe(t,e,n){var r,i,o=t._map,s=t._list,a=o.get(e),u=void 0!==a;if(n===v){if(!u)return t;s.size>=32&&s.size>=2*o.size?(r=(i=s.filter((function(t,e){return void 0!==t&&a!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(r.__ownerID=i.__ownerID=t.__ownerID)):(r=o.remove(e),i=a===s.size-1?s.pop():s.set(a,void 0))}else if(u){if(n===s.get(a)[1])return t;r=o,i=s.set(a,[e,n])}else r=o.set(e,s.size),i=s.set(s.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=i,t.__hash=void 0,t):Ee(r,i)}function Ie(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function ze(t){this._iter=t,this.size=t.size}function Me(t){this._iter=t,this.size=t.size}function De(t){this._iter=t,this.size=t.size}function ke(t){var e=He(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=Je,e.__iterateUncached=function(e,n){var r=this;return t.__iterate((function(t,n){return!1!==e(n,t,r)}),n)},e.__iteratorUncached=function(e,n){if(2===e){var r=t.__iterator(e,n);return new q((function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(1===e?0:1,n)},e}function Ce(t,e,n){var r=He(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,i){var o=t.get(r,v);return o===v?i:e.call(n,o,r,t)},r.__iterateUncached=function(r,i){var o=this;return t.__iterate((function(t,i,s){return!1!==r(e.call(n,t,i,s),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=t.__iterator(2,i);return new q((function(){var i=o.next();if(i.done)return i;var s=i.value,a=s[0];return j(r,a,e.call(n,s[1],a,t),i)}))},r}function Re(t,e){var n=He(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=ke(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=Je,n.__iterate=function(e,n){var r=this;return t.__iterate((function(t,n){return e(t,n,r)}),!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function Ae(t,e,n,r){var i=He(t);return r&&(i.has=function(r){var i=t.get(r,v);return i!==v&&!!e.call(n,i,r,t)},i.get=function(r,i){var o=t.get(r,v);return o!==v&&e.call(n,o,r,t)?o:i}),i.__iterateUncached=function(i,o){var s=this,a=0;return t.__iterate((function(t,o,u){if(e.call(n,t,o,u))return a++,i(t,r?o:a-1,s)}),o),a},i.__iteratorUncached=function(i,o){var s=t.__iterator(2,o),a=0;return new q((function(){for(;;){var o=s.next();if(o.done)return o;var u=o.value,c=u[0],f=u[1];if(e.call(n,f,c,t))return j(i,r?c:a++,f,o)}}))},i}function qe(t,e,n,r){var i=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n===1/0?n=i:n|=0),x(e,n,i))return t;var o=I(e,i),s=z(n,i);if(o!=o||s!=s)return qe(t.toSeq().cacheResult(),e,n,r);var a,u=s-o;u==u&&(a=u<0?0:u);var c=He(t);return c.size=0===a?a:t.size&&a||void 0,!r&&X(t)&&a>=0&&(c.get=function(e,n){return(e=E(this,e))>=0&&e<a?t.get(e+o,n):n}),c.__iterateUncached=function(e,n){var i=this;if(0===a)return 0;if(n)return this.cacheResult().__iterate(e,n);var s=0,u=!0,c=0;return t.__iterate((function(t,n){if(!u||!(u=s++<o))return c++,!1!==e(t,r?n:c-1,i)&&c!==a})),c},c.__iteratorUncached=function(e,n){if(0!==a&&n)return this.cacheResult().__iterator(e,n);var i=0!==a&&t.__iterator(e,n),s=0,u=0;return new q((function(){for(;s++<o;)i.next();if(++u>a)return{value:void 0,done:!0};var t=i.next();return r||1===e?t:j(e,u-1,0===e?void 0:t.value[1],t)}))},c}function je(t,e,n,r){var i=He(t);return i.__iterateUncached=function(i,o){var s=this;if(o)return this.cacheResult().__iterate(i,o);var a=!0,u=0;return t.__iterate((function(t,o,c){if(!a||!(a=e.call(n,t,o,c)))return u++,i(t,r?o:u-1,s)})),u},i.__iteratorUncached=function(i,o){var s=this;if(o)return this.cacheResult().__iterator(i,o);var a=t.__iterator(2,o),u=!0,c=0;return new q((function(){var t,o,f;do{if((t=a.next()).done)return r||1===i?t:j(i,c++,0===i?void 0:t.value[1],t);var h=t.value;o=h[0],f=h[1],u&&(u=e.call(n,f,o,s))}while(u);return 2===i?t:j(i,o,f,t)}))},i}function Be(t,e){var n=a(t),i=[t].concat(e).map((function(t){return s(t)?n&&(t=r(t)):t=n?G(t):Z(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===i.length)return t;if(1===i.length){var o=i[0];if(o===t||n&&a(o)||u(t)&&u(o))return o}var c=new H(i);return n?c=c.toKeyedSeq():u(t)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),c}function Pe(t,e,n){var r=He(t);return r.__iterateUncached=function(r,i){var o=0,a=!1;return function t(u,c){var f=this;u.__iterate((function(i,u){return(!e||c<e)&&s(i)?t(i,c+1):!1===r(i,n?u:o++,f)&&(a=!0),!a}),i)}(t,0),o},r.__iteratorUncached=function(r,i){var o=t.__iterator(r,i),a=[],u=0;return new q((function(){for(;o;){var t=o.next();if(!1===t.done){var c=t.value;if(2===r&&(c=c[1]),e&&!(a.length<e)||!s(c))return n?t:j(r,u++,c,t);a.push(o),o=c.__iterator(r,i)}else o=a.pop()}return{value:void 0,done:!0}}))},r}function Ke(t,e,n){e||(e=$e);var r=a(t),i=0,o=t.toSeq().map((function(e,r){return[r,e,i++,n?n(e,r,t):e]})).toArray();return o.sort((function(t,n){return e(t[3],n[3])||t[2]-n[2]})).forEach(r?function(t,e){o[e].length=2}:function(t,e){o[e]=t[1]}),r?U(o):u(t)?W(o):N(o)}function Fe(t,e,n){if(e||(e=$e),n){var r=t.toSeq().map((function(e,r){return[e,n(e,r,t)]})).reduce((function(t,n){return Te(e,t[1],n[1])?n:t}));return r&&r[0]}return t.reduce((function(t,n){return Te(e,t,n)?n:t}))}function Te(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(null==n||n!=n)||r>0}function Le(t,e,r){var i=He(t);return i.size=new H(r).map((function(t){return t.size})).min(),i.__iterate=function(t,e){for(var n,r=this.__iterator(1,e),i=0;!(n=r.next()).done&&!1!==t(n.value,i++,this););return i},i.__iteratorUncached=function(t,i){var o=r.map((function(t){return t=n(t),F(i?t.reverse():t)})),s=0,a=!1;return new q((function(){var n;return a||(n=o.map((function(t){return t.next()})),a=n.some((function(t){return t.done}))),a?{value:void 0,done:!0}:j(t,s++,e.apply(null,n.map((function(t){return t.value}))))}))},i}function Ve(t,e){return X(t)?e:t.constructor(e)}function Ue(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function We(t){return Dt(t.size),S(t)}function Ne(t){return a(t)?r:u(t)?i:o}function He(t){return Object.create((a(t)?U:u(t)?W:N).prototype)}function Je(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):V.prototype.cacheResult.call(this)}function $e(t,e){return t>e?1:t<e?-1:0}function Ye(t){var e=F(t);if(!e){if(!L(t))throw new TypeError("Expected iterable or array-like: "+t);e=F(n(t))}return e}function Xe(t,e){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var s=Object.keys(t);!function(t,e){try{e.forEach(tn.bind(void 0,t))}catch(t){}}(i,s),i.size=s.length,i._name=e,i._keys=s,i._defaultValues=t}this._map=kt(o)},i=r.prototype=Object.create(Qe);return i.constructor=r,r}e(we,kt),we.of=function(){return this(arguments)},we.prototype.toString=function(){return this.__toString("OrderedMap {","}")},we.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},we.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Oe()},we.prototype.set=function(t,e){return xe(this,t,e)},we.prototype.remove=function(t){return xe(this,t,v)},we.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},we.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],n)}),e)},we.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},we.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?Ee(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},we.isOrderedMap=Se,we.prototype[d]=!0,we.prototype.delete=we.prototype.remove,e(Ie,U),Ie.prototype.get=function(t,e){return this._iter.get(t,e)},Ie.prototype.has=function(t){return this._iter.has(t)},Ie.prototype.valueSeq=function(){return this._iter.valueSeq()},Ie.prototype.reverse=function(){var t=this,e=Re(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},Ie.prototype.map=function(t,e){var n=this,r=Ce(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},Ie.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?We(this):0,function(i){return t(i,e?--n:n++,r)}),e)},Ie.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(1,e),r=e?We(this):0;return new q((function(){var i=n.next();return i.done?i:j(t,e?--r:r++,i.value,i)}))},Ie.prototype[d]=!0,e(ze,W),ze.prototype.includes=function(t){return this._iter.includes(t)},ze.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate((function(e){return t(e,r++,n)}),e)},ze.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e),r=0;return new q((function(){var e=n.next();return e.done?e:j(t,r++,e.value,e)}))},e(Me,N),Me.prototype.has=function(t){return this._iter.includes(t)},Me.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){return t(e,e,n)}),e)},Me.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e);return new q((function(){var e=n.next();return e.done?e:j(t,e.value,e.value,e)}))},e(De,U),De.prototype.entrySeq=function(){return this._iter.toSeq()},De.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){if(e){Ue(e);var r=s(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}}),e)},De.prototype.__iterator=function(t,e){var n=this._iter.__iterator(1,e);return new q((function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Ue(r);var i=s(r);return j(t,i?r.get(0):r[0],i?r.get(1):r[1],e)}}}))},ze.prototype.cacheResult=Ie.prototype.cacheResult=Me.prototype.cacheResult=De.prototype.cacheResult=Je,e(Xe,pt),Xe.prototype.toString=function(){return this.__toString(Ze(this)+" {","}")},Xe.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},Xe.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},Xe.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=Ge(this,Wt()))},Xe.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Ze(this));if(this._map&&!this._map.has(t)&&e===this._defaultValues[t])return this;var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:Ge(this,n)},Xe.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:Ge(this,e)},Xe.prototype.wasAltered=function(){return this._map.wasAltered()},Xe.prototype.__iterator=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterator(t,e)},Xe.prototype.__iterate=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterate(t,e)},Xe.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?Ge(this,e,t):(this.__ownerID=t,this._map=e,this)};var Qe=Xe.prototype;function Ge(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function Ze(t){return t._name||t.constructor.name||"Record"}function tn(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){ct(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function en(t){return null==t?cn():nn(t)&&!f(t)?t:cn().withMutations((function(e){var n=o(t);Dt(n.size),n.forEach((function(t){return e.add(t)}))}))}function nn(t){return!(!t||!t[on])}Qe.delete=Qe.remove,Qe.deleteIn=Qe.removeIn=qt.removeIn,Qe.merge=qt.merge,Qe.mergeWith=qt.mergeWith,Qe.mergeIn=qt.mergeIn,Qe.mergeDeep=qt.mergeDeep,Qe.mergeDeepWith=qt.mergeDeepWith,Qe.mergeDeepIn=qt.mergeDeepIn,Qe.setIn=qt.setIn,Qe.update=qt.update,Qe.updateIn=qt.updateIn,Qe.withMutations=qt.withMutations,Qe.asMutable=qt.asMutable,Qe.asImmutable=qt.asImmutable,e(en,dt),en.of=function(){return this(arguments)},en.fromKeys=function(t){return this(r(t).keySeq())},en.prototype.toString=function(){return this.__toString("Set {","}")},en.prototype.has=function(t){return this._map.has(t)},en.prototype.add=function(t){return an(this,this._map.set(t,!0))},en.prototype.remove=function(t){return an(this,this._map.remove(t))},en.prototype.clear=function(){return an(this,this._map.clear())},en.prototype.union=function(){var e=t.call(arguments,0);return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(t){for(var n=0;n<e.length;n++)o(e[n]).forEach((function(e){return t.add(e)}))})):this.constructor(e[0])},en.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return o(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.every((function(t){return t.includes(n)}))||t.remove(n)}))}))},en.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return o(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.some((function(t){return t.includes(n)}))&&t.remove(n)}))}))},en.prototype.merge=function(){return this.union.apply(this,arguments)},en.prototype.mergeWith=function(e){var n=t.call(arguments,1);return this.union.apply(this,n)},en.prototype.sort=function(t){return fn(Ke(this,t))},en.prototype.sortBy=function(t,e){return fn(Ke(this,e,t))},en.prototype.wasAltered=function(){return this._map.wasAltered()},en.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate((function(e,r){return t(r,r,n)}),e)},en.prototype.__iterator=function(t,e){return this._map.map((function(t,e){return e})).__iterator(t,e)},en.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},en.isSet=nn;var rn,on="@@__IMMUTABLE_SET__@@",sn=en.prototype;function an(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function un(t,e){var n=Object.create(sn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function cn(){return rn||(rn=un(Wt()))}function fn(t){return null==t?vn():hn(t)?t:vn().withMutations((function(e){var n=o(t);Dt(n.size),n.forEach((function(t){return e.add(t)}))}))}function hn(t){return nn(t)&&f(t)}sn[on]=!0,sn.delete=sn.remove,sn.mergeDeep=sn.merge,sn.mergeDeepWith=sn.mergeWith,sn.withMutations=qt.withMutations,sn.asMutable=qt.asMutable,sn.asImmutable=qt.asImmutable,sn.__empty=cn,sn.__make=un,e(fn,en),fn.of=function(){return this(arguments)},fn.fromKeys=function(t){return this(r(t).keySeq())},fn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},fn.isOrderedSet=hn;var pn,ln=fn.prototype;function dn(t,e){var n=Object.create(ln);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function vn(){return pn||(pn=dn(Oe()))}function yn(t){return null==t?En():gn(t)?t:En().unshiftAll(t)}function gn(t){return!(!t||!t[bn])}ln[d]=!0,ln.__empty=vn,ln.__make=dn,e(yn,lt),yn.of=function(){return this(arguments)},yn.prototype.toString=function(){return this.__toString("Stack [","]")},yn.prototype.get=function(t,e){var n=this._head;for(t=E(this,t);n&&t--;)n=n.next;return n?n.value:e},yn.prototype.peek=function(){return this._head&&this._head.value},yn.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Sn(t,e)},yn.prototype.pushAll=function(t){if(0===(t=i(t)).size)return this;Dt(t.size);var e=this.size,n=this._head;return t.reverse().forEach((function(t){e++,n={value:t,next:n}})),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Sn(e,n)},yn.prototype.pop=function(){return this.slice(1)},yn.prototype.unshift=function(){return this.push.apply(this,arguments)},yn.prototype.unshiftAll=function(t){return this.pushAll(t)},yn.prototype.shift=function(){return this.pop.apply(this,arguments)},yn.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):En()},yn.prototype.slice=function(t,e){if(x(t,e,this.size))return this;var n=I(t,this.size);if(z(e,this.size)!==this.size)return lt.prototype.slice.call(this,t,e);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Sn(r,i)},yn.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Sn(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},yn.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},yn.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new q((function(){if(r){var e=r.value;return r=r.next,j(t,n++,e)}return{value:void 0,done:!0}}))},yn.isStack=gn;var mn,bn="@@__IMMUTABLE_STACK__@@",wn=yn.prototype;function Sn(t,e,n,r){var i=Object.create(wn);return i.size=t,i._head=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function En(){return mn||(mn=Sn(0))}function On(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}wn[bn]=!0,wn.withMutations=qt.withMutations,wn.asMutable=qt.asMutable,wn.asImmutable=qt.asImmutable,wn.wasAltered=qt.wasAltered,n.Iterator=q,On(n,{toArray:function(){Dt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate((function(e,n){t[n]=e})),t},toIndexedSeq:function(){return new ze(this)},toJS:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJS?t.toJS():t})).__toJS()},toJSON:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t})).__toJS()},toKeyedSeq:function(){return new Ie(this,!0)},toMap:function(){return kt(this.toKeyedSeq())},toObject:function(){Dt(this.size);var t={};return this.__iterate((function(e,n){t[n]=e})),t},toOrderedMap:function(){return we(this.toKeyedSeq())},toOrderedSet:function(){return fn(a(this)?this.valueSeq():this)},toSet:function(){return en(a(this)?this.valueSeq():this)},toSetSeq:function(){return new Me(this)},toSeq:function(){return u(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return yn(a(this)?this.valueSeq():this)},toList:function(){return ie(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){var e=t.call(arguments,0);return Ve(this,Be(this,e))},includes:function(t){return this.some((function(e){return st(e,t)}))},entries:function(){return this.__iterator(2)},every:function(t,e){Dt(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!t.call(e,r,i,o))return n=!1,!1})),n},filter:function(t,e){return Ve(this,Ae(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},forEach:function(t,e){return Dt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Dt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate((function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""})),e},keys:function(){return this.__iterator(0)},map:function(t,e){return Ve(this,Ce(this,t,e))},reduce:function(t,e,n){var r,i;return Dt(this.size),arguments.length<2?i=!0:r=e,this.__iterate((function(e,o,s){i?(i=!1,r=e):r=t.call(n,r,e,o,s)})),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Ve(this,Re(this,!0))},slice:function(t,e){return Ve(this,qe(this,t,e,!0))},some:function(t,e){return!this.every(Dn(t),e)},sort:function(t){return Ve(this,Ke(this,t))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return S(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var r=kt().asMutable();return t.__iterate((function(i,o){r.update(e.call(n,i,o,t),0,(function(t){return t+1}))})),r.asImmutable()}(this,t,e)},equals:function(t){return at(this,t)},entrySeq:function(){var t=this;if(t._cache)return new H(t._cache);var e=t.toSeq().map(Mn).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Dn(t),e)},findEntry:function(t,e,n){var r=n;return this.__iterate((function(n,i,o){if(t.call(e,n,i,o))return r=[i,n],!1})),r},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},findLastEntry:function(t,e,n){return this.toKeyedSeq().reverse().findEntry(t,e,n)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(){return this.find(O)},flatMap:function(t,e){return Ve(this,function(t,e,n){var r=Ne(t);return t.toSeq().map((function(i,o){return r(e.call(n,i,o,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Ve(this,Pe(this,t,!0))},fromEntrySeq:function(){return new De(this)},get:function(t,e){return this.find((function(e,n){return st(n,t)}),void 0,e)},getIn:function(t,e){for(var n,r=this,i=Ye(t);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,v):v)===v)return e}return r},groupBy:function(t,e){return function(t,e,n){var r=a(t),i=(f(t)?we():kt()).asMutable();t.__iterate((function(o,s){i.update(e.call(n,o,s,t),(function(t){return(t=t||[]).push(r?[s,o]:o),t}))}));var o=Ne(t);return i.map((function(e){return Ve(t,o(e))}))}(this,t,e)},has:function(t){return this.get(t,v)!==v},hasIn:function(t){return this.getIn(t,v)!==v},isSubset:function(t){return t="function"==typeof t.includes?t:n(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:n(t)).isSubset(this)},keyOf:function(t){return this.findKey((function(e){return st(e,t)}))},keySeq:function(){return this.toSeq().map(zn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return Fe(this,t)},maxBy:function(t,e){return Fe(this,e,t)},min:function(t){return Fe(this,t?kn(t):An)},minBy:function(t,e){return Fe(this,e?kn(e):An,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Ve(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Ve(this,je(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Dn(t),e)},sortBy:function(t,e){return Ve(this,Ke(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Ve(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Ve(this,function(t,e,n){var r=He(t);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var s=0;return t.__iterate((function(t,i,a){return e.call(n,t,i,a)&&++s&&r(t,i,o)})),s},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var s=t.__iterator(2,i),a=!0;return new q((function(){if(!a)return{value:void 0,done:!0};var t=s.next();if(t.done)return t;var i=t.value,u=i[0],c=i[1];return e.call(n,c,u,o)?2===r?t:j(r,u,c,t):(a=!1,{value:void 0,done:!0})}))},r}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Dn(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=f(t),n=a(t),r=e?1:0;return function(t,e){return e=vt(e,3432918353),e=vt(e<<15|e>>>-15,461845907),e=vt(e<<13|e>>>-13,5),e=vt((e=(e+3864292196|0)^t)^e>>>16,2246822507),_t((e=vt(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+qn(yt(t),yt(e))|0}:function(t,e){r=r+qn(yt(t),yt(e))|0}:e?function(t){r=31*r+yt(t)|0}:function(t){r=r+yt(t)|0}),r)}(this))}});var xn=n.prototype;xn[h]=!0,xn[A]=xn.values,xn.__toJS=xn.toArray,xn.__toStringMapper=Cn,xn.inspect=xn.toSource=function(){return this.toString()},xn.chain=xn.flatMap,xn.contains=xn.includes,On(r,{flip:function(){return Ve(this,ke(this))},mapEntries:function(t,e){var n=this,r=0;return Ve(this,this.toSeq().map((function(i,o){return t.call(e,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Ve(this,this.toSeq().flip().map((function(r,i){return t.call(e,r,i,n)})).flip())}});var In=r.prototype;function zn(t,e){return e}function Mn(t,e){return[e,t]}function Dn(t){return function(){return!t.apply(this,arguments)}}function kn(t){return function(){return-t.apply(this,arguments)}}function Cn(t){return"string"==typeof t?JSON.stringify(t):String(t)}function Rn(){return w(arguments)}function An(t,e){return t<e?1:t>e?-1:0}function qn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return In[p]=!0,In[A]=xn.entries,In.__toJS=xn.toObject,In.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+Cn(t)},On(i,{toKeyedSeq:function(){return new Ie(this,!1)},filter:function(t,e){return Ve(this,Ae(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Ve(this,Re(this,!1))},slice:function(t,e){return Ve(this,qe(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=I(t,t<0?this.count():this.size);var r=this.slice(0,t);return Ve(this,1===n?r:r.concat(w(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.findLastEntry(t,e);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(t){return Ve(this,Pe(this,t,!1))},get:function(t,e){return(t=E(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=E(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Ve(this,function(t,e){var n=He(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return t.__iterate((function(t,r){return(!o||!1!==n(e,o++,i))&&!1!==n(t,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=t.__iterator(1,r),s=0;return new q((function(){return(!i||s%2)&&(i=o.next()).done?i:s%2?j(n,s++,e):j(n,s++,i.value,i)}))},n}(this,t))},interleave:function(){var t=[this].concat(w(arguments)),e=Le(this.toSeq(),W.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Ve(this,n)},keySeq:function(){return ft(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Ve(this,je(this,t,e,!1))},zip:function(){var t=[this].concat(w(arguments));return Ve(this,Le(this,Rn,t))},zipWith:function(t){var e=w(arguments);return e[0]=this,Ve(this,Le(this,t,e))}}),i.prototype[l]=!0,i.prototype[d]=!0,On(o,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=xn.includes,o.prototype.contains=o.prototype.includes,On(U,r.prototype),On(W,i.prototype),On(N,o.prototype),On(pt,r.prototype),On(lt,i.prototype),On(dt,o.prototype),{Iterable:n,Seq:V,Collection:ht,Map:kt,OrderedMap:we,List:ie,Stack:yn,Set:en,OrderedSet:fn,Record:Xe,Range:ft,Repeat:ut,is:st,fromJS:rt}}()},9:function(t,e){t.exports=window.yoast.helpers}});helpers.js000066600000137416151123775150006573 0ustar00window.yoast=window.yoast||{},window.yoast.helpers=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=493)}({0:function(t,e){t.exports=window.yoast.propTypes},1:function(t,e){t.exports=window.wp.element},12:function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},t.exports.default=t.exports,t.exports.__esModule=!0,n.apply(this,arguments)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},2:function(t,e){t.exports=window.lodash},220:function(t,e,n){(function(e){(function(){"use strict";var e=this;function n(t){return"string"==typeof t}function r(t,e,n){return t.call.apply(t.bind,arguments)}function o(t,e,n){if(!t)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),t.apply(e,n)}}return function(){return t.apply(e,arguments)}}function i(t,e,n){return(i=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?r:o).apply(null,arguments)}function a(t){var e=st;function n(){}n.prototype=e.prototype,t.G=e.prototype,t.prototype=new n,t.prototype.constructor=t,t.F=function(t,n,r){for(var o=Array(arguments.length-2),i=2;i<arguments.length;i++)o[i-2]=arguments[i];return e.prototype[n].apply(t,o)}}var s=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};function u(t,e){return-1!=t.indexOf(e)}function c(t,e){return t<e?-1:t>e?1:0}var l,f=Array.prototype.indexOf?function(t,e,n){return Array.prototype.indexOf.call(t,e,n)}:function(t,e,r){if(r=null==r?0:0>r?Math.max(0,t.length+r):r,n(t))return n(e)&&1==e.length?t.indexOf(e,r):-1;for(;r<t.length;r++)if(r in t&&t[r]===e)return r;return-1},h=Array.prototype.forEach?function(t,e,n){Array.prototype.forEach.call(t,e,n)}:function(t,e,r){for(var o=t.length,i=n(t)?t.split(""):t,a=0;a<o;a++)a in i&&e.call(r,i[a],a,t)},p=Array.prototype.filter?function(t,e,n){return Array.prototype.filter.call(t,e,n)}:function(t,e,r){for(var o=t.length,i=[],a=0,s=n(t)?t.split(""):t,u=0;u<o;u++)if(u in s){var c=s[u];e.call(r,c,u,t)&&(i[a++]=c)}return i},d=Array.prototype.reduce?function(t,e,n,r){return r&&(e=i(e,r)),Array.prototype.reduce.call(t,e,n)}:function(t,e,n,r){var o=n;return h(t,(function(n,i){o=e.call(r,o,n,i,t)})),o},y=Array.prototype.some?function(t,e,n){return Array.prototype.some.call(t,e,n)}:function(t,e,r){for(var o=t.length,i=n(t)?t.split(""):t,a=0;a<o;a++)if(a in i&&e.call(r,i[a],a,t))return!0;return!1};function g(t,e,n){return 2>=arguments.length?Array.prototype.slice.call(t,e):Array.prototype.slice.call(t,e,n)}t:{var b=e.navigator;if(b){var m=b.userAgent;if(m){l=m;break t}}l=""}var w,v,E=u(l,"Opera")||u(l,"OPR"),x=u(l,"Trident")||u(l,"MSIE"),T=u(l,"Edge"),_=u(l,"Gecko")&&!(u(l.toLowerCase(),"webkit")&&!u(l,"Edge"))&&!(u(l,"Trident")||u(l,"MSIE"))&&!u(l,"Edge"),N=u(l.toLowerCase(),"webkit")&&!u(l,"Edge");function O(){var t=e.document;return t?t.documentMode:void 0}t:{var j="",R=(v=l,_?/rv\:([^\);]+)(\)|;)/.exec(v):T?/Edge\/([\d\.]+)/.exec(v):x?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(v):N?/WebKit\/(\S+)/.exec(v):E?/(?:Version)[ \/]?(\S+)/.exec(v):void 0);if(R&&(j=R?R[1]:""),x){var P=O();if(null!=P&&P>parseFloat(j)){w=String(P);break t}}w=j}var A={};function S(t){if(!A[t]){for(var e=0,n=s(String(w)).split("."),r=s(String(t)).split("."),o=Math.max(n.length,r.length),i=0;0==e&&i<o;i++){var a=n[i]||"",u=r[i]||"",l=/(\d*)(\D*)/g,f=/(\d*)(\D*)/g;do{var h=l.exec(a)||["","",""],p=f.exec(u)||["","",""];if(0==h[0].length&&0==p[0].length)break;e=c(0==h[1].length?0:parseInt(h[1],10),0==p[1].length?0:parseInt(p[1],10))||c(0==h[2].length,0==p[2].length)||c(h[2],p[2])}while(0==e)}A[t]=0<=e}}var D=e.document,I=D&&x?O()||("CSS1Compat"==D.compatMode?parseInt(w,10):5):void 0,B=x&&!(9<=Number(I)),k=x&&!(8<=Number(I));function U(t,e,n,r){this.a=t,this.nodeName=n,this.nodeValue=r,this.nodeType=2,this.parentNode=this.ownerElement=e}function C(t,e){var n=k&&"href"==e.nodeName?t.getAttribute(e.nodeName,2):e.nodeValue;return new U(e,t,e.nodeName,n)}function F(t){var e=null;if(1==(n=t.nodeType)&&(e=null==(e=null==(e=t.textContent)||null==e?t.innerText:e)||null==e?"":e),"string"!=typeof e)if(B&&"title"==t.nodeName.toLowerCase()&&1==n)e=t.text;else if(9==n||1==n){t=9==n?t.documentElement:t.firstChild;var n=0,r=[];for(e="";t;){do{1!=t.nodeType&&(e+=t.nodeValue),B&&"title"==t.nodeName.toLowerCase()&&(e+=t.text),r[n++]=t}while(t=t.firstChild);for(;n&&!(t=r[--n].nextSibling););}}else e=t.nodeValue;return""+e}function M(t,e,n){if(null===e)return!0;try{if(!t.getAttribute)return!1}catch(t){return!1}return k&&"class"==e&&(e="className"),null==n?!!t.getAttribute(e):t.getAttribute(e,2)==n}function L(t,e,r,o,i){return(B?Y:H).call(null,t,e,n(r)?r:null,n(o)?o:null,i||new J)}function Y(t,e,n,r,o){if(t instanceof kt||8==t.b||n&&null===t.b){var i=e.all;if(!i)return o;if("*"!=(t=G(t))&&!(i=e.getElementsByTagName(t)))return o;if(n){for(var a=[],s=0;e=i[s++];)M(e,n,r)&&a.push(e);i=a}for(s=0;e=i[s++];)"*"==t&&"!"==e.tagName||et(o,e);return o}return V(t,e,n,r,o),o}function H(t,e,n,r,o){return e.getElementsByName&&r&&"name"==n&&!x?(e=e.getElementsByName(r),h(e,(function(e){t.a(e)&&et(o,e)}))):e.getElementsByClassName&&r&&"class"==n?(e=e.getElementsByClassName(r),h(e,(function(e){e.className==r&&t.a(e)&&et(o,e)}))):t instanceof Ot?V(t,e,n,r,o):e.getElementsByTagName&&(e=e.getElementsByTagName(t.f()),h(e,(function(t){M(t,n,r)&&et(o,t)}))),o}function $(t,e,n,r,o){var i;if((t instanceof kt||8==t.b||n&&null===t.b)&&(i=e.childNodes)){var a=G(t);return"*"==a||(i=p(i,(function(t){return t.tagName&&t.tagName.toLowerCase()==a})))?(n&&(i=p(i,(function(t){return M(t,n,r)}))),h(i,(function(t){"*"==a&&("!"==t.tagName||"*"==a&&1!=t.nodeType)||et(o,t)})),o):o}return q(t,e,n,r,o)}function q(t,e,n,r,o){for(e=e.firstChild;e;e=e.nextSibling)M(e,n,r)&&t.a(e)&&et(o,e);return o}function V(t,e,n,r,o){for(e=e.firstChild;e;e=e.nextSibling)M(e,n,r)&&t.a(e)&&et(o,e),V(t,e,n,r,o)}function G(t){if(t instanceof Ot){if(8==t.b)return"!";if(null===t.b)return"*"}return t.f()}function z(t,e){if(!t||!e)return!1;if(t.contains&&1==e.nodeType)return t==e||t.contains(e);if(void 0!==t.compareDocumentPosition)return t==e||!!(16&t.compareDocumentPosition(e));for(;e&&t!=e;)e=e.parentNode;return e==t}function X(t,n){if(t==n)return 0;if(t.compareDocumentPosition)return 2&t.compareDocumentPosition(n)?1:-1;if(x&&!(9<=Number(I))){if(9==t.nodeType)return-1;if(9==n.nodeType)return 1}if("sourceIndex"in t||t.parentNode&&"sourceIndex"in t.parentNode){var r=1==t.nodeType,o=1==n.nodeType;if(r&&o)return t.sourceIndex-n.sourceIndex;var i=t.parentNode,a=n.parentNode;return i==a?Q(t,n):!r&&z(i,n)?-1*W(t,n):!o&&z(a,t)?W(n,t):(r?t.sourceIndex:i.sourceIndex)-(o?n.sourceIndex:a.sourceIndex)}return(r=(o=9==t.nodeType?t:t.ownerDocument||t.document).createRange()).selectNode(t),r.collapse(!0),(o=o.createRange()).selectNode(n),o.collapse(!0),r.compareBoundaryPoints(e.Range.START_TO_END,o)}function W(t,e){var n=t.parentNode;if(n==e)return-1;for(var r=e;r.parentNode!=n;)r=r.parentNode;return Q(r,t)}function Q(t,e){for(var n=e;n=n.previousSibling;)if(n==t)return-1;return 1}function J(){this.b=this.a=null,this.l=0}function K(t){this.node=t,this.a=this.b=null}function Z(t,e){if(!t.a)return e;if(!e.a)return t;for(var n=t.a,r=e.a,o=null,i=null,a=0;n&&r;){i=n.node;var s=r.node;i==s||i instanceof U&&s instanceof U&&i.a==s.a?(i=n,n=n.a,r=r.a):0<X(n.node,r.node)?(i=r,r=r.a):(i=n,n=n.a),(i.b=o)?o.a=i:t.a=i,o=i,a++}for(i=n||r;i;)i.b=o,o=o.a=i,a++,i=i.a;return t.b=o,t.l=a,t}function tt(t,e){var n=new K(e);n.a=t.a,t.b?t.a.b=n:t.a=t.b=n,t.a=n,t.l++}function et(t,e){var n=new K(e);n.b=t.b,t.a?t.b.a=n:t.a=t.b=n,t.b=n,t.l++}function nt(t){return(t=t.a)?t.node:null}function rt(t){return(t=nt(t))?F(t):""}function ot(t,e){return new it(t,!!e)}function it(t,e){this.f=t,this.b=(this.c=e)?t.b:t.a,this.a=null}function at(t){var e=t.b;if(null==e)return null;var n=t.a=e;return t.b=t.c?e.b:e.a,n.node}function st(t){this.i=t,this.b=this.g=!1,this.f=null}function ut(t){return"\n  "+t.toString().split("\n").join("\n  ")}function ct(t,e){t.g=e}function lt(t,e){t.b=e}function ft(t,e){var n=t.a(e);return n instanceof J?+rt(n):+n}function ht(t,e){var n=t.a(e);return n instanceof J?rt(n):""+n}function pt(t,e){var n=t.a(e);return n instanceof J?!!n.l:!!n}function dt(t,e,n){st.call(this,t.i),this.c=t,this.h=e,this.o=n,this.g=e.g||n.g,this.b=e.b||n.b,this.c==wt&&(n.b||n.g||4==n.i||0==n.i||!e.f?e.b||e.g||4==e.i||0==e.i||!n.f||(this.f={name:n.f.name,s:e}):this.f={name:e.f.name,s:n})}function yt(t,e,n,r,o){var i;if(e=e.a(r),n=n.a(r),e instanceof J&&n instanceof J){for(r=at(e=ot(e));r;r=at(e))for(i=at(o=ot(n));i;i=at(o))if(t(F(r),F(i)))return!0;return!1}if(e instanceof J||n instanceof J){e instanceof J?(o=e,r=n):(o=n,r=e);for(var a=typeof r,s=at(i=ot(o));s;s=at(i)){switch(a){case"number":s=+F(s);break;case"boolean":s=!!F(s);break;case"string":s=F(s);break;default:throw Error("Illegal primitive type for comparison.")}if(o==e&&t(s,r)||o==n&&t(r,s))return!0}return!1}return o?"boolean"==typeof e||"boolean"==typeof n?t(!!e,!!n):"number"==typeof e||"number"==typeof n?t(+e,+n):t(e,n):t(+e,+n)}function gt(t,e,n,r){this.a=t,this.w=e,this.i=n,this.m=r}!_&&!x||x&&9<=Number(I)||_&&S("1.9.1"),x&&S("9"),a(dt),dt.prototype.a=function(t){return this.c.m(this.h,this.o,t)},dt.prototype.toString=function(){return"Binary Expression: "+this.c+ut(this.h)+ut(this.o)},gt.prototype.toString=function(){return this.a};var bt={};function mt(t,e,n,r){if(bt.hasOwnProperty(t))throw Error("Binary operator already created: "+t);return t=new gt(t,e,n,r),bt[t.toString()]=t}mt("div",6,1,(function(t,e,n){return ft(t,n)/ft(e,n)})),mt("mod",6,1,(function(t,e,n){return ft(t,n)%ft(e,n)})),mt("*",6,1,(function(t,e,n){return ft(t,n)*ft(e,n)})),mt("+",5,1,(function(t,e,n){return ft(t,n)+ft(e,n)})),mt("-",5,1,(function(t,e,n){return ft(t,n)-ft(e,n)})),mt("<",4,2,(function(t,e,n){return yt((function(t,e){return t<e}),t,e,n)})),mt(">",4,2,(function(t,e,n){return yt((function(t,e){return t>e}),t,e,n)})),mt("<=",4,2,(function(t,e,n){return yt((function(t,e){return t<=e}),t,e,n)})),mt(">=",4,2,(function(t,e,n){return yt((function(t,e){return t>=e}),t,e,n)}));var wt=mt("=",3,2,(function(t,e,n){return yt((function(t,e){return t==e}),t,e,n,!0)}));function vt(t,e,n){this.a=t,this.b=e||1,this.f=n||1}function Et(t,e){if(e.a.length&&4!=t.i)throw Error("Primary expression must evaluate to nodeset if filter has predicate(s).");st.call(this,t.i),this.c=t,this.h=e,this.g=t.g,this.b=t.b}function xt(t,e){if(e.length<t.A)throw Error("Function "+t.j+" expects at least"+t.A+" arguments, "+e.length+" given");if(null!==t.v&&e.length>t.v)throw Error("Function "+t.j+" expects at most "+t.v+" arguments, "+e.length+" given");t.B&&h(e,(function(e,n){if(4!=e.i)throw Error("Argument "+n+" to function "+t.j+" is not of type Nodeset: "+e)})),st.call(this,t.i),this.h=t,this.c=e,ct(this,t.g||y(e,(function(t){return t.g}))),lt(this,t.D&&!e.length||t.C&&!!e.length||y(e,(function(t){return t.b})))}function Tt(t,e,n,r,o,i,a,s,u){this.j=t,this.i=e,this.g=n,this.D=r,this.C=o,this.m=i,this.A=a,this.v=void 0!==s?s:a,this.B=!!u}mt("!=",3,2,(function(t,e,n){return yt((function(t,e){return t!=e}),t,e,n,!0)})),mt("and",2,2,(function(t,e,n){return pt(t,n)&&pt(e,n)})),mt("or",1,2,(function(t,e,n){return pt(t,n)||pt(e,n)})),a(Et),Et.prototype.a=function(t){return t=this.c.a(t),Ht(this.h,t)},Et.prototype.toString=function(){return"Filter:"+ut(this.c)+ut(this.h)},a(xt),xt.prototype.a=function(t){return this.h.m.apply(null,function(t){return Array.prototype.concat.apply(Array.prototype,arguments)}(t,this.c))},xt.prototype.toString=function(){var t="Function: "+this.h;if(this.c.length){var e=d(this.c,(function(t,e){return t+ut(e)}),"Arguments:");t+=ut(e)}return t},Tt.prototype.toString=function(){return this.j};var _t={};function Nt(t,e,n,r,o,i,a,s){if(_t.hasOwnProperty(t))throw Error("Function already created: "+t+".");_t[t]=new Tt(t,e,n,r,!1,o,i,a,s)}function Ot(t,e){switch(this.h=t,this.c=void 0!==e?e:null,this.b=null,t){case"comment":this.b=8;break;case"text":this.b=3;break;case"processing-instruction":this.b=7;break;case"node":break;default:throw Error("Unexpected argument")}}function jt(t){return"comment"==t||"text"==t||"processing-instruction"==t||"node"==t}function Rt(t){this.b=t,this.a=0}Nt("boolean",2,!1,!1,(function(t,e){return pt(e,t)}),1),Nt("ceiling",1,!1,!1,(function(t,e){return Math.ceil(ft(e,t))}),1),Nt("concat",3,!1,!1,(function(t,e){return d(g(arguments,1),(function(e,n){return e+ht(n,t)}),"")}),2,null),Nt("contains",2,!1,!1,(function(t,e,n){return u(ht(e,t),ht(n,t))}),2),Nt("count",1,!1,!1,(function(t,e){return e.a(t).l}),1,1,!0),Nt("false",2,!1,!1,(function(){return!1}),0),Nt("floor",1,!1,!1,(function(t,e){return Math.floor(ft(e,t))}),1),Nt("id",4,!1,!1,(function(t,e){var r=9==(o=t.a).nodeType?o:o.ownerDocument,o=ht(e,t).split(/\s+/),i=[];h(o,(function(t){!(t=function(t){if(B){var e=r.all[t];if(e){if(e.nodeType&&t==e.id)return e;if(e.length)return function(t,e){var r;t:{r=t.length;for(var o=n(t)?t.split(""):t,i=0;i<r;i++)if(i in o&&e.call(void 0,o[i],i,t)){r=i;break t}r=-1}return 0>r?null:n(t)?t.charAt(r):t[r]}(e,(function(e){return t==e.id}))}return null}return r.getElementById(t)}(t))||0<=f(i,t)||i.push(t)})),i.sort(X);var a=new J;return h(i,(function(t){et(a,t)})),a}),1),Nt("lang",2,!1,!1,(function(){return!1}),1),Nt("last",1,!0,!1,(function(t){if(1!=arguments.length)throw Error("Function last expects ()");return t.f}),0),Nt("local-name",3,!1,!0,(function(t,e){var n=e?nt(e.a(t)):t.a;return n?n.localName||n.nodeName.toLowerCase():""}),0,1,!0),Nt("name",3,!1,!0,(function(t,e){var n=e?nt(e.a(t)):t.a;return n?n.nodeName.toLowerCase():""}),0,1,!0),Nt("namespace-uri",3,!0,!1,(function(){return""}),0,1,!0),Nt("normalize-space",3,!1,!0,(function(t,e){return(e?ht(e,t):F(t.a)).replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")}),0,1),Nt("not",2,!1,!1,(function(t,e){return!pt(e,t)}),1),Nt("number",1,!1,!0,(function(t,e){return e?ft(e,t):+F(t.a)}),0,1),Nt("position",1,!0,!1,(function(t){return t.b}),0),Nt("round",1,!1,!1,(function(t,e){return Math.round(ft(e,t))}),1),Nt("starts-with",2,!1,!1,(function(t,e,n){return e=ht(e,t),t=ht(n,t),0==e.lastIndexOf(t,0)}),2),Nt("string",3,!1,!0,(function(t,e){return e?ht(e,t):F(t.a)}),0,1),Nt("string-length",1,!1,!0,(function(t,e){return(e?ht(e,t):F(t.a)).length}),0,1),Nt("substring",3,!1,!1,(function(t,e,n,r){if(n=ft(n,t),isNaN(n)||1/0==n||-1/0==n)return"";if(r=r?ft(r,t):1/0,isNaN(r)||-1/0===r)return"";n=Math.round(n)-1;var o=Math.max(n,0);return t=ht(e,t),1/0==r?t.substring(o):t.substring(o,n+Math.round(r))}),2,3),Nt("substring-after",3,!1,!1,(function(t,e,n){return e=ht(e,t),t=ht(n,t),-1==(n=e.indexOf(t))?"":e.substring(n+t.length)}),2),Nt("substring-before",3,!1,!1,(function(t,e,n){return e=ht(e,t),t=ht(n,t),-1==(t=e.indexOf(t))?"":e.substring(0,t)}),2),Nt("sum",1,!1,!1,(function(t,e){for(var n=ot(e.a(t)),r=0,o=at(n);o;o=at(n))r+=+F(o);return r}),1,1,!0),Nt("translate",3,!1,!1,(function(t,e,n,r){e=ht(e,t),n=ht(n,t);var o=ht(r,t);for(t={},r=0;r<n.length;r++){var i=n.charAt(r);i in t||(t[i]=o.charAt(r))}for(n="",r=0;r<e.length;r++)n+=(i=e.charAt(r))in t?t[i]:i;return n}),3),Nt("true",2,!1,!1,(function(){return!0}),0),Ot.prototype.a=function(t){return null===this.b||this.b==t.nodeType},Ot.prototype.f=function(){return this.h},Ot.prototype.toString=function(){var t="Kind Test: "+this.h;return null===this.c||(t+=ut(this.c)),t};var Pt=/\$?(?:(?![0-9-\.])(?:\*|[\w-\.]+):)?(?![0-9-\.])(?:\*|[\w-\.]+)|\/\/|\.\.|::|\d+(?:\.\d*)?|\.\d+|"[^"]*"|'[^']*'|[!<>]=|\s+|./g,At=/^\s/;function St(t,e){return t.b[t.a+(e||0)]}function Dt(t){return t.b[t.a++]}function It(t){return t.b.length<=t.a}function Bt(t){st.call(this,3),this.c=t.substring(1,t.length-1)}function kt(t,e){var n;this.j=t.toLowerCase(),n="*"==this.j?"*":"http://www.w3.org/1999/xhtml",this.c=e?e.toLowerCase():n}function Ut(t,e){if(st.call(this,t.i),this.h=t,this.c=e,this.g=t.g,this.b=t.b,1==this.c.length){var n=this.c[0];n.u||n.c!=zt||"*"!=(n=n.o).f()&&(this.f={name:n.f(),s:null})}}function Ct(){st.call(this,4)}function Ft(){st.call(this,4)}function Mt(t){return"/"==t||"//"==t}function Lt(t){st.call(this,4),this.c=t,ct(this,y(this.c,(function(t){return t.g}))),lt(this,y(this.c,(function(t){return t.b})))}function Yt(t,e){this.a=t,this.b=!!e}function Ht(t,e,n){for(n=n||0;n<t.a.length;n++)for(var r,o=t.a[n],i=ot(e),a=e.l,s=0;r=at(i);s++){var u=t.b?a-s:s+1;if("number"==typeof(r=o.a(new vt(r,u,a))))u=u==r;else if("string"==typeof r||"boolean"==typeof r)u=!!r;else{if(!(r instanceof J))throw Error("Predicate.evaluate returned an unexpected type.");u=0<r.l}if(!u){if(r=(u=i).f,!(l=u.a))throw Error("Next must be called at least once before remove.");var c=l.b,l=l.a;c?c.a=l:r.a=l,l?l.b=c:r.b=c,r.l--,u.a=null}}return e}function $t(t,e,n,r){st.call(this,4),this.c=t,this.o=e,this.h=n||new Yt([]),this.u=!!r,e=0<(e=this.h).a.length?e.a[0].f:null,t.b&&e&&(t=e.name,t=B?t.toLowerCase():t,this.f={name:t,s:e.s});t:{for(t=this.h,e=0;e<t.a.length;e++)if((n=t.a[e]).g||1==n.i||0==n.i){t=!0;break t}t=!1}this.g=t}function qt(t,e,n,r){this.j=t,this.f=e,this.a=n,this.b=r}a(Bt),Bt.prototype.a=function(){return this.c},Bt.prototype.toString=function(){return"Literal: "+this.c},kt.prototype.a=function(t){var e=t.nodeType;return!(1!=e&&2!=e||(e=void 0!==t.localName?t.localName:t.nodeName,"*"!=this.j&&this.j!=e.toLowerCase()||"*"!=this.c&&this.c!=(t.namespaceURI?t.namespaceURI.toLowerCase():"http://www.w3.org/1999/xhtml")))},kt.prototype.f=function(){return this.j},kt.prototype.toString=function(){return"Name Test: "+("http://www.w3.org/1999/xhtml"==this.c?"":this.c+":")+this.j},a(Ut),a(Ct),Ct.prototype.a=function(t){var e=new J;return 9==(t=t.a).nodeType?et(e,t):et(e,t.ownerDocument),e},Ct.prototype.toString=function(){return"Root Helper Expression"},a(Ft),Ft.prototype.a=function(t){var e=new J;return et(e,t.a),e},Ft.prototype.toString=function(){return"Context Helper Expression"},Ut.prototype.a=function(t){var e=this.h.a(t);if(!(e instanceof J))throw Error("Filter expression must evaluate to nodeset.");for(var n=0,r=(t=this.c).length;n<r&&e.l;n++){var o,i=t[n],a=ot(e,i.c.a);if(i.g||i.c!=Qt)if(i.g||i.c!=Kt)for(o=at(a),e=i.a(new vt(o));null!=(o=at(a));)e=Z(e,o=i.a(new vt(o)));else o=at(a),e=i.a(new vt(o));else{for(o=at(a);(e=at(a))&&(!o.contains||o.contains(e))&&8&e.compareDocumentPosition(o);o=e);e=i.a(new vt(o))}}return e},Ut.prototype.toString=function(){var t;if(t="Path Expression:"+ut(this.h),this.c.length){var e=d(this.c,(function(t,e){return t+ut(e)}),"Steps:");t+=ut(e)}return t},a(Lt),Lt.prototype.a=function(t){var e=new J;return h(this.c,(function(n){if(!((n=n.a(t))instanceof J))throw Error("Path expression must evaluate to NodeSet.");e=Z(e,n)})),e},Lt.prototype.toString=function(){return d(this.c,(function(t,e){return t+ut(e)}),"Union Expression:")},Yt.prototype.toString=function(){return d(this.a,(function(t,e){return t+ut(e)}),"Predicates:")},a($t),$t.prototype.a=function(t){var e=t.a,n=null,r=null,o=null,i=0;if((n=this.f)&&(r=n.name,o=n.s?ht(n.s,t):null,i=1),this.u)if(this.g||this.c!=Xt)if(e=at(t=ot(new $t(Wt,new Ot("node")).a(t))))for(n=this.m(e,r,o,i);null!=(e=at(t));)n=Z(n,this.m(e,r,o,i));else n=new J;else n=L(this.o,e,r,o),n=Ht(this.h,n,i);else n=this.m(t.a,r,o,i);return n},$t.prototype.m=function(t,e,n,r){return t=this.c.f(this.o,t,e,n),Ht(this.h,t,r)},$t.prototype.toString=function(){var t;if(t="Step:"+ut("Operator: "+(this.u?"//":"/")),this.c.j&&(t+=ut("Axis: "+this.c)),t+=ut(this.o),this.h.a.length){var e=d(this.h.a,(function(t,e){return t+ut(e)}),"Predicates:");t+=ut(e)}return t},qt.prototype.toString=function(){return this.j};var Vt={};function Gt(t,e,n,r){if(Vt.hasOwnProperty(t))throw Error("Axis already created: "+t);return e=new qt(t,e,n,!!r),Vt[t]=e}Gt("ancestor",(function(t,e){for(var n=new J,r=e;r=r.parentNode;)t.a(r)&&tt(n,r);return n}),!0),Gt("ancestor-or-self",(function(t,e){var n=new J,r=e;do{t.a(r)&&tt(n,r)}while(r=r.parentNode);return n}),!0);var zt=Gt("attribute",(function(t,e){var n=new J;if("style"==(i=t.f())&&B&&e.style)return et(n,new U(e.style,e,"style",e.style.cssText)),n;var r=e.attributes;if(r)if(t instanceof Ot&&null===t.b||"*"==i)for(var o,i=0;o=r[i];i++)B?o.nodeValue&&et(n,C(e,o)):et(n,o);else(o=r.getNamedItem(i))&&(B?o.nodeValue&&et(n,C(e,o)):et(n,o));return n}),!1),Xt=Gt("child",(function(t,e,r,o,i){return(B?$:q).call(null,t,e,n(r)?r:null,n(o)?o:null,i||new J)}),!1,!0);Gt("descendant",L,!1,!0);var Wt=Gt("descendant-or-self",(function(t,e,n,r){var o=new J;return M(e,n,r)&&t.a(e)&&et(o,e),L(t,e,n,r,o)}),!1,!0),Qt=Gt("following",(function(t,e,n,r){var o=new J;do{for(var i=e;i=i.nextSibling;)M(i,n,r)&&t.a(i)&&et(o,i),o=L(t,i,n,r,o)}while(e=e.parentNode);return o}),!1,!0);Gt("following-sibling",(function(t,e){for(var n=new J,r=e;r=r.nextSibling;)t.a(r)&&et(n,r);return n}),!1),Gt("namespace",(function(){return new J}),!1);var Jt=Gt("parent",(function(t,e){var n=new J;if(9==e.nodeType)return n;if(2==e.nodeType)return et(n,e.ownerElement),n;var r=e.parentNode;return t.a(r)&&et(n,r),n}),!1),Kt=Gt("preceding",(function(t,e,n,r){var o=new J,i=[];do{i.unshift(e)}while(e=e.parentNode);for(var a=1,s=i.length;a<s;a++){var u=[];for(e=i[a];e=e.previousSibling;)u.unshift(e);for(var c=0,l=u.length;c<l;c++)M(e=u[c],n,r)&&t.a(e)&&et(o,e),o=L(t,e,n,r,o)}return o}),!0,!0);Gt("preceding-sibling",(function(t,e){for(var n=new J,r=e;r=r.previousSibling;)t.a(r)&&tt(n,r);return n}),!0);var Zt=Gt("self",(function(t,e){var n=new J;return t.a(e)&&et(n,e),n}),!1);function te(t){st.call(this,1),this.c=t,this.g=t.g,this.b=t.b}function ee(t){st.call(this,1),this.c=t}function ne(t,e){this.a=t,this.b=e}function re(t){for(var e,n=[];;){oe(t,"Missing right hand side of binary expression."),e=fe(t);var r=Dt(t.a);if(!r)break;var o=(r=bt[r]||null)&&r.w;if(!o){t.a.a--;break}for(;n.length&&o<=n[n.length-1].w;)e=new dt(n.pop(),n.pop(),e);n.push(e,r)}for(;n.length;)e=new dt(n.pop(),n.pop(),e);return e}function oe(t,e){if(It(t.a))throw Error(e)}function ie(t,e){var n=Dt(t.a);if(n!=e)throw Error("Bad token, expected: "+e+" got: "+n)}function ae(t){if(")"!=(t=Dt(t.a)))throw Error("Bad token: "+t)}function se(t){if(2>(t=Dt(t.a)).length)throw Error("Unclosed literal string");return new Bt(t)}function ue(t){var e,n,r=[];if(Mt(St(t.a))){if(e=Dt(t.a),n=St(t.a),"/"==e&&(It(t.a)||"."!=n&&".."!=n&&"@"!=n&&"*"!=n&&!/(?![0-9])[\w]/.test(n)))return new Ct;n=new Ct,oe(t,"Missing next location step."),e=ce(t,e),r.push(e)}else{t:{switch(n=(e=St(t.a)).charAt(0)){case"$":throw Error("Variable reference not allowed in HTML XPath");case"(":Dt(t.a),e=re(t),oe(t,'unclosed "("'),ie(t,")");break;case'"':case"'":e=se(t);break;default:if(isNaN(+e)){if(jt(e)||!/(?![0-9])[\w]/.test(n)||"("!=St(t.a,1)){e=null;break t}for(e=Dt(t.a),e=_t[e]||null,Dt(t.a),n=[];")"!=St(t.a)&&(oe(t,"Missing function argument list."),n.push(re(t)),","==St(t.a));)Dt(t.a);oe(t,"Unclosed function argument list."),ae(t),e=new xt(e,n)}else e=new ee(+Dt(t.a))}"["==St(t.a)&&(e=new Et(e,n=new Yt(le(t))))}if(e){if(!Mt(St(t.a)))return e;n=e}else e=ce(t,"/"),n=new Ft,r.push(e)}for(;Mt(St(t.a));)e=Dt(t.a),oe(t,"Missing next location step."),e=ce(t,e),r.push(e);return new Ut(n,r)}function ce(t,e){var n,r,o,i;if("/"!=e&&"//"!=e)throw Error('Step op should be "/" or "//"');if("."==St(t.a))return r=new $t(Zt,new Ot("node")),Dt(t.a),r;if(".."==St(t.a))return r=new $t(Jt,new Ot("node")),Dt(t.a),r;if("@"==St(t.a))i=zt,Dt(t.a),oe(t,"Missing attribute name");else if("::"==St(t.a,1)){if(!/(?![0-9])[\w]/.test(St(t.a).charAt(0)))throw Error("Bad token: "+Dt(t.a));if(n=Dt(t.a),!(i=Vt[n]||null))throw Error("No axis with name: "+n);Dt(t.a),oe(t,"Missing node name")}else i=Xt;if(n=St(t.a),!/(?![0-9])[\w\*]/.test(n.charAt(0)))throw Error("Bad token: "+Dt(t.a));if("("==St(t.a,1)){if(!jt(n))throw Error("Invalid node type: "+n);if(!jt(n=Dt(t.a)))throw Error("Invalid type name: "+n);ie(t,"("),oe(t,"Bad nodetype");var a=null;'"'!=(o=St(t.a).charAt(0))&&"'"!=o||(a=se(t)),oe(t,"Bad nodetype"),ae(t),n=new Ot(n,a)}else if(-1==(o=(n=Dt(t.a)).indexOf(":")))n=new kt(n);else{var s;if("*"==(a=n.substring(0,o)))s="*";else if(!(s=t.b(a)))throw Error("Namespace prefix not declared: "+a);n=new kt(n=n.substr(o+1),s)}return o=new Yt(le(t),i.a),r||new $t(i,n,o,"//"==e)}function le(t){for(var e=[];"["==St(t.a);){Dt(t.a),oe(t,"Missing predicate expression.");var n=re(t);e.push(n),oe(t,"Unclosed predicate expression."),ie(t,"]")}return e}function fe(t){if("-"==St(t.a))return Dt(t.a),new te(fe(t));var e=ue(t);if("|"!=St(t.a))t=e;else{for(e=[e];"|"==Dt(t.a);)oe(t,"Missing next union location path."),e.push(ue(t));t.a.a--,t=new Lt(e)}return t}function he(){return null}function pe(t,e){if(t.prefix==e)return t.namespaceURI||"http://www.w3.org/1999/xhtml";var n=t.getAttributeNode("xmlns:"+e);return n&&n.specified?n.value||null:t.parentNode&&9!=t.parentNode.nodeType?pe(t.parentNode,e):null}function de(t,e){if(!t.length)throw Error("Empty XPath expression.");var n=function(t){t=t.match(Pt);for(var e=0;e<t.length;e++)At.test(t[e])&&t.splice(e,1);return new Rt(t)}(t);if(It(n))throw Error("Invalid XPath expression.");e?"function"==function(t){var e=typeof t;if("object"==e){if(!t)return"null";if(t instanceof Array)return"array";if(t instanceof Object)return e;var n=Object.prototype.toString.call(t);if("[object Window]"==n)return"object";if("[object Array]"==n||"number"==typeof t.length&&void 0!==t.splice&&void 0!==t.propertyIsEnumerable&&!t.propertyIsEnumerable("splice"))return"array";if("[object Function]"==n||void 0!==t.call&&void 0!==t.propertyIsEnumerable&&!t.propertyIsEnumerable("call"))return"function"}else if("function"==e&&void 0===t.call)return"object";return e}(e)||(e=i(e.lookupNamespaceURI,e)):e=function(){return null};var r=re(new ne(n,e));if(!It(n))throw Error("Bad token: "+Dt(n));this.evaluate=function(t,e){return new ye(r.a(new vt(t)),e)}}function ye(t,e){if(0==e)if(t instanceof J)e=4;else if("string"==typeof t)e=2;else if("number"==typeof t)e=1;else{if("boolean"!=typeof t)throw Error("Unexpected evaluation result.");e=3}if(2!=e&&1!=e&&3!=e&&!(t instanceof J))throw Error("value could not be converted to the specified type");var n;switch(this.resultType=e,e){case 2:this.stringValue=t instanceof J?rt(t):""+t;break;case 1:this.numberValue=t instanceof J?+rt(t):+t;break;case 3:this.booleanValue=t instanceof J?0<t.l:!!t;break;case 4:case 5:case 6:case 7:var r=ot(t);n=[];for(var o=at(r);o;o=at(r))n.push(o instanceof U?o.a:o);this.snapshotLength=t.l,this.invalidIteratorState=!1;break;case 8:case 9:r=nt(t),this.singleNodeValue=r instanceof U?r.a:r;break;default:throw Error("Unknown XPathResult type.")}var i=0;this.iterateNext=function(){if(4!=e&&5!=e)throw Error("iterateNext called with wrong result type");return i>=n.length?null:n[i++]},this.snapshotItem=function(t){if(6!=e&&7!=e)throw Error("snapshotItem called with wrong result type");return t>=n.length||0>t?null:n[t]}}function ge(t){this.lookupNamespaceURI=function t(e){switch(e.nodeType){case 1:return function(t,e){var n=Array.prototype.slice.call(arguments,1);return function(){var e=n.slice();return e.push.apply(e,arguments),t.apply(this,e)}}(pe,e);case 9:return t(e.documentElement);case 11:case 10:case 6:case 12:return he;default:return e.parentNode?t(e.parentNode):he}}(t)}function be(t,n){var r=t||e,o=r.Document&&r.Document.prototype||r.document;o.evaluate&&!n||(r.XPathResult=ye,o.evaluate=function(t,e,n,r){return new de(t,n).evaluate(e,r)},o.createExpression=function(t,e){return new de(t,e)},o.createNSResolver=function(t){return new ge(t)})}a(te),te.prototype.a=function(t){return-ft(this.c,t)},te.prototype.toString=function(){return"Unary Expression: -"+ut(this.c)},a(ee),ee.prototype.a=function(){return this.c},ee.prototype.toString=function(){return"Number: "+this.c},ye.ANY_TYPE=0,ye.NUMBER_TYPE=1,ye.STRING_TYPE=2,ye.BOOLEAN_TYPE=3,ye.UNORDERED_NODE_ITERATOR_TYPE=4,ye.ORDERED_NODE_ITERATOR_TYPE=5,ye.UNORDERED_NODE_SNAPSHOT_TYPE=6,ye.ORDERED_NODE_SNAPSHOT_TYPE=7,ye.ANY_UNORDERED_NODE_TYPE=8,ye.FIRST_ORDERED_NODE_TYPE=9;var me,we=["wgxpath","install"],ve=e;we[0]in ve||!ve.execScript||ve.execScript("var "+we[0]);for(;we.length&&(me=we.shift());)we.length||void 0===be?ve=ve[me]?ve[me]:ve[me]={}:ve[me]=be;t.exports.install=be,t.exports.XPathResultType={ANY_TYPE:0,NUMBER_TYPE:1,STRING_TYPE:2,BOOLEAN_TYPE:3,UNORDERED_NODE_ITERATOR_TYPE:4,ORDERED_NODE_ITERATOR_TYPE:5,UNORDERED_NODE_SNAPSHOT_TYPE:6,ORDERED_NODE_SNAPSHOT_TYPE:7,ANY_UNORDERED_NODE_TYPE:8,FIRST_ORDERED_NODE_TYPE:9}}).call(e)}).call(this,n(24))},221:function(t,e){t.exports=window.lodash.isArray},24:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},251:function(t,e){!function(t){"use strict";if(!t.fetch){var e="URLSearchParams"in t,n="Symbol"in t&&"iterator"in Symbol,r="FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),o="FormData"in t,i="ArrayBuffer"in t;if(i)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=function(t){return t&&DataView.prototype.isPrototypeOf(t)},u=ArrayBuffer.isView||function(t){return t&&a.indexOf(Object.prototype.toString.call(t))>-1};d.prototype.append=function(t,e){t=f(t),e=h(e);var n=this.map[t];n||(n=[],this.map[t]=n),n.push(e)},d.prototype.delete=function(t){delete this.map[f(t)]},d.prototype.get=function(t){var e=this.map[f(t)];return e?e[0]:null},d.prototype.getAll=function(t){return this.map[f(t)]||[]},d.prototype.has=function(t){return this.map.hasOwnProperty(f(t))},d.prototype.set=function(t,e){this.map[f(t)]=[h(e)]},d.prototype.forEach=function(t,e){Object.getOwnPropertyNames(this.map).forEach((function(n){this.map[n].forEach((function(r){t.call(e,r,n,this)}),this)}),this)},d.prototype.keys=function(){var t=[];return this.forEach((function(e,n){t.push(n)})),p(t)},d.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),p(t)},d.prototype.entries=function(){var t=[];return this.forEach((function(e,n){t.push([n,e])})),p(t)},n&&(d.prototype[Symbol.iterator]=d.prototype.entries);var c=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},w.call(v.prototype),w.call(x.prototype),x.prototype.clone=function(){return new x(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},x.error=function(){var t=new x(null,{status:0,statusText:""});return t.type="error",t};var l=[301,302,303,307,308];x.redirect=function(t,e){if(-1===l.indexOf(e))throw new RangeError("Invalid status code");return new x(null,{status:e,headers:{location:t}})},t.Headers=d,t.Request=v,t.Response=x,t.fetch=function(t,e){return new Promise((function(n,o){var i=new v(t,e),a=new XMLHttpRequest;a.onload=function(){var t,e,r={status:a.status,statusText:a.statusText,headers:(t=a.getAllResponseHeaders()||"",e=new d,t.split("\r\n").forEach((function(t){var n=t.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();e.append(r,o)}})),e)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var o="response"in a?a.response:a.responseText;n(new x(o,r))},a.onerror=function(){o(new TypeError("Network request failed"))},a.ontimeout=function(){o(new TypeError("Network request failed"))},a.open(i.method,i.url,!0),"include"===i.credentials&&(a.withCredentials=!0),"responseType"in a&&r&&(a.responseType="blob"),i.headers.forEach((function(t,e){a.setRequestHeader(e,t)})),a.send(void 0===i._bodyInit?null:i._bodyInit)}))},t.fetch.polyfill=!0}function f(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function h(t){return"string"!=typeof t&&(t=String(t)),t}function p(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return n&&(e[Symbol.iterator]=function(){return e}),e}function d(t){this.map={},t instanceof d?t.forEach((function(t,e){this.append(e,t)}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function y(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function g(t){return new Promise((function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}}))}function b(t){var e=new FileReader,n=g(e);return e.readAsArrayBuffer(t),n}function m(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function w(){return this.bodyUsed=!1,this._initBody=function(t){if(this._bodyInit=t,t)if("string"==typeof t)this._bodyText=t;else if(r&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t;else if(o&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(e&&URLSearchParams.prototype.isPrototypeOf(t))this._bodyText=t.toString();else if(i&&r&&s(t))this._bodyArrayBuffer=m(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!i||!ArrayBuffer.prototype.isPrototypeOf(t)&&!u(t))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=m(t)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r&&(this.blob=function(){var t=y(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?y(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(b)}),this.text=function(){var t,e,n,r=y(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,n=g(e=new FileReader),e.readAsText(t),n;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),n=new Array(e.length),r=0;r<e.length;r++)n[r]=String.fromCharCode(e[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o&&(this.formData=function(){return this.text().then(E)}),this.json=function(){return this.text().then(JSON.parse)},this}function v(t,e){var n,r,o=(e=e||{}).body;if("string"==typeof t)this.url=t;else{if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new d(t.headers)),this.method=t.method,this.mode=t.mode,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new d(e.headers)),this.method=(r=(n=e.method||this.method||"GET").toUpperCase(),c.indexOf(r)>-1?r:n),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function E(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var n=t.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(o))}})),e}function x(t,e){e||(e={}),this.type="default",this.status="status"in e?e.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new d(e.headers),this.url=e.url||"",this._initBody(t)}}("undefined"!=typeof self?self:this)},3:function(t,e){t.exports=window.React},4:function(t,e){t.exports=window.wp.i18n},493:function(t,e,n){"use strict";n.r(e),n.d(e,"createSvgIconComponent",(function(){return I})),n.d(e,"getDirectionalStyle",(function(){return o})),n.d(e,"sendRequest",(function(){return a})),n.d(e,"decodeHTML",(function(){return s})),n.d(e,"getPostFeed",(function(){return f})),n.d(e,"getCourseFeed",(function(){return m})),n.d(e,"getFeed",(function(){return g})),n.d(e,"getWordBoundaries",(function(){return B})),n.d(e,"strings",(function(){return r})),n.d(e,"join",(function(){return K})),n.d(e,"makeOutboundLink",(function(){return et})),n.d(e,"validateFacebookImage",(function(){return rt})),n.d(e,"validateTwitterImage",(function(){return ot})),n.d(e,"curryUpdateToHiddenInput",(function(){return at})),n.d(e,"getValueFromHiddenInput",(function(){return st}));var r={};function o(t,e){return n=>n.theme.isRtl?e:t}n.r(r),n.d(r,"stripHTMLTags",(function(){return J})),n.d(r,"stripSpaces",(function(){return k})),n(251);const i=(t,e)=>{const n=((t,e)=>{for(const n in e)e.hasOwnProperty(n)&&(void 0!==t[n]&&""!==t[n]||(t[n]=e[n]));return t})(t,{dataType:"json",method:"POST",contentType:"application/json"});return void 0===n.headers&&""===n.headers||((t,e)=>{"jquery"===t&&Object.assign(e,{beforeSend:t=>{jQuery.each(e.headers,(e,n)=>{t.setRequestHeader(e,n)})}}),"fetch"===t&&"json"===e.dataType&&Object.assign(e.headers,{Accepts:"application/json","Content-Type":"application/json"})})(e,n),"json"===n.dataType&&(n.data=JSON.stringify(n.data)),"fetch"===e&&Object.assign(n,{body:n.data}),n};var a=(t,e)=>"undefined"!=typeof jQuery&&jQuery&&jQuery.ajax?((t,e)=>(Object.assign(e,{url:t}),new Promise((t,n)=>{jQuery.ajax(e).done(e=>{t(e)}).fail(()=>{n("Wrong request")})})))(t,i(e,"jquery")):((t,e)=>{const n=fetch(t,e);return new Promise((t,e)=>{n.then(n=>200===n.status?t(n.json()):e("Response status is not 200")).catch(()=>e("Wrong request"))})})(t,i(e,"fetch")),s=t=>{var e=document.createElement("textarea");return e.innerHTML=t,e.value},u=n(220),c=n.n(u);function l(t,e,n){const r={};return r.title=h("child::title",t,e),r.link=h("child::link",t,e),r.content=h("child::content:encoded",t,e,n),r.description=h("child::description",t,e),r.creator=h("child::dc:creator",t,e,n),r.date=h("child::pubDate",t,e),r}function f(t,e){return g(t,e,l)}function h(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;const o=e.evaluate("count("+t+")",n||e,r,XPathResult.ANY_TYPE,null).numberValue;if(0===o)return;const i=e.evaluate(t,n||e,r,XPathResult.STRING_TYPE,null);return i.stringValue?i.stringValue:null}function p(t){const e={};return e.title=h("/rss/channel/title",t),e.description=h("/rss/channel/description",t),e.link=h("/rss/channel/link",t),e}function d(t,e,n,r){const o=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return e.evaluate(t,n||e,r,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null)}("/rss/channel/item",t);let i=o.snapshotLength;const a=[];0!==n&&(i=Math.min(i,n));for(let n=0;n<i;n++){const i=o.snapshotItem(n);a.push(r(t,i,e))}return a}function y(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l;return new Promise((function(r,o){try{"evaluate"in document==0&&c.a.install();const o=(new DOMParser).parseFromString(t,"application/xml"),i=o.createNSResolver(o.documentElement),a=p(o);a.items=d(o,i,e,n),r(a)}catch(t){o(t)}}))}function g(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l;return fetch(t).then((function(t){return t.text()})).then((function(t){return y(t,e,n)}))}function b(t,e,n){const r={};return r.id=h("child::content:slug",t,e,n),r.title=h("child::title",t,e),r.link=h("child::link",t,e),r.content=h("child::content:encoded",t,e,n),r.image=h("child::content:image",t,e,n),r.ctaButtonCopy=h("child::content:cta_button_copy",t,e,n),r.ctaButtonType=h("child::content:cta_button_type",t,e,n),r.ctaButtonUrl=h("child::content:cta_button_url",t,e,n),r.readMoreLinkText=h("child::content:read_more_link_text",t,e,n),r.isFree=h("child::content:is_free",t,e,n),r.isBundle=h("child::content:is_bundle",t,e,n),r}function m(t,e){return g(t,e,b)}var w=n(12),v=n.n(w),E=n(1),x=n(0),T=n.n(x),_=n(3),N=n.n(_),O=n(5),j=n.n(O),R=n(221),P=n.n(R);const A=j.a.svg`
	width: ${t=>t.size};
	height: ${t=>t.size};
	flex: none;
`;class S extends N.a.Component{render(){const{iconSet:t,icon:e,className:n,color:r,size:o}=this.props,i=t[e];if(!i)return console.warn(`Invalid icon name ("${e}") passed to the SvgIcon component.`),null;const a=i.path,s=i.viewbox,u=["yoast-svg-icon","yoast-svg-icon-"+e,n].filter(Boolean).join(" "),c=i.CustomComponent?i.CustomComponent:A;return Object(E.createElement)(c,{"aria-hidden":!0,role:"img",focusable:"false",size:o,className:u,xmlns:"http://www.w3.org/2000/svg",viewBox:s,fill:r},P()(a)?a:Object(E.createElement)("path",{d:a}))}}S.propTypes={icon:T.a.string.isRequired,iconSet:T.a.object.isRequired,color:T.a.string,size:T.a.string,className:T.a.string},S.defaultProps={size:"16px",color:"currentColor",className:""};var D,I=t=>{const e=e=>Object(E.createElement)(S,v()({},e,{iconSet:t}));return e.propTypes={icon:T.a.string.isRequired,color:T.a.string,size:T.a.string,className:T.a.string},e.defaultProps={size:"16px",color:"currentColor",className:""},e},B=function(){return[" ","\\n","\\r","\\t"," "," ",".",",","'","(",")",'"',"+","-",";","!","?",":","/","»","«","‹","›","<",">"]},k=function(t){return(t=(t=t.replace(/\s{2,}/g," ")).replace(/\s\./g,".")).replace(/^\s+|\s+$/g,"")},U=n(57),C=n.n(U),F=n(2),M=["address","article","aside","blockquote","canvas","dd","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","section","table","tfoot","ul","video"],L=["b","big","i","small","tt","abbr","acronym","cite","code","dfn","em","kbd","strong","samp","time","var","a","bdo","br","img","map","object","q","script","span","sub","sup","button","input","label","select","textarea"],Y=(new RegExp("^("+M.join("|")+")$","i"),new RegExp("^("+L.join("|")+")$","i"),new RegExp("^<("+M.join("|")+")[^>]*?>$","i")),H=new RegExp("^</("+M.join("|")+")[^>]*?>$","i"),$=new RegExp("^<("+L.join("|")+")[^>]*>$","i"),q=new RegExp("^</("+L.join("|")+")[^>]*>$","i"),V=/^<([^>\s/]+)[^>]*>$/,G=/^<\/([^>\s]+)[^>]*>$/,z=/^[^<]+$/,X=/^<[^><]*$/,W=/<!--(.|[\r\n])*?-->/g,Q=[];Object(F.memoize)((function(t){var e=[],n=0,r="",o="",i="";return t=t.replace(W,""),Q=[],(D=C()((function(t){Q.push(t)}))).addRule(z,"content"),D.addRule(X,"greater-than-sign-content"),D.addRule(Y,"block-start"),D.addRule(H,"block-end"),D.addRule($,"inline-start"),D.addRule(q,"inline-end"),D.addRule(V,"other-element-start"),D.addRule(G,"other-element-end"),D.onText(t),D.end(),Object(F.forEach)(Q,(function(t,a){var s=Q[a+1];switch(t.type){case"content":case"greater-than-sign-content":case"inline-start":case"inline-end":case"other-tag":case"other-element-start":case"other-element-end":case"greater than sign":s&&(0!==n||"block-start"!==s.type&&"block-end"!==s.type)?o+=t.src:(o+=t.src,e.push(o),r="",o="",i="");break;case"block-start":0!==n&&(""!==o.trim()&&e.push(o),o="",i=""),n++,r=t.src;break;case"block-end":n--,i=t.src,""!==r&&""!==i?e.push(r+o+i):""!==o.trim()&&e.push(o),r="",o="",i=""}n<0&&(n=0)})),e})),new RegExp("^<("+M.join("|")+")[^>]*?>","i"),new RegExp("</("+M.join("|")+")[^>]*?>$","i");var J=function(t){return t=t.replace(/(<([^>]+)>)/gi," "),k(t)};function K(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return t.filter(Boolean).join(e)}var Z=n(4);const tt=j.a.span`
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
	// Safari+VoiceOver bug see PR 308 and My Yoast issues 445, 712 and PR 715.
	transform: translateY(1em);
`,et=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"a";class e extends N.a.Component{constructor(t){super(t),this.isYoastLink=this.isYoastLink.bind(this)}isYoastLink(t){return/yoast\.com|yoast\.test|yoa\.st/.test(t)}render(){if(!this.props.href)return null;const e=this.isYoastLink(this.props.href),n=Object.assign({},this.props,{target:"_blank",rel:e?this.props.rel:"noopener"});return N.a.createElement(t,n,this.props.children,N.a.createElement(tt,null,Object(Z.__)("(Opens in a new browser tab)","wordpress-seo")))}}return e.propTypes={children:T.a.oneOfType([T.a.node]),href:T.a.string,rel:T.a.string},e.defaultProps={children:null,href:null,rel:null},e};var nt=t=>e=>t.map(t=>t(e)).filter(t=>!0!==t),rt=nt([t=>{const{width:e,height:n}=t,r=Object(Z.sprintf)(
/* Translators: %d expands to the minimum width, %d expands to the minimum hight */
Object(Z.__)("Your image dimensions are not suitable. The minimum dimensions are %dx%d pixels.","wordpress-seo"),200,200);return!(e<200||n<200)||r},t=>{const{type:e}=t,n=Object(Z.sprintf)(
/* Translators: %s expands to the jpg format, %s expands to the png format, %s expands to the gif format. */
Object(Z.__)("The format of the uploaded image is not supported. The supported formats are: %s, %s, %s and %s.","wordpress-seo"),"JPG","PNG","WEBP","GIF");return!!["jpg","png","gif","jpeg","webp"].includes(e)||n}]),ot=nt([(t,e)=>{const{width:n,height:r}=t,o=Object(Z.__)("Your image dimensions are not suitable. The minimum dimensions are %dx%d pixels. The maximum dimensions are %dx%d pixels.","wordpress-seo"),i=n>4096||r>4096;
/* Translators: %d expands to the minimum width, %d expands to the minimum height,
  %d expands to the maximum width, %d expands to the maximum height. */return e&&(n<300||r<157||i)?Object(Z.sprintf)(o,300,157,4096,4096):!(n<200||r<200||i)||Object(Z.sprintf)(o,200,200,4096,4096)},t=>{const{type:e}=t,n=Object(Z.sprintf)(
/* Translators: %s expands to the gif format, %s expands to the gif format. */
Object(Z.__)("You have uploaded a %s. Please note that, if it’s an animated %s, only the first frame will be used.","wordpress-seo"),"GIF","GIF"),r=Object(Z.sprintf)(
/* Translators: %s expands to the jpg format, %s expands to the png format, %s expands to the gif format. */
Object(Z.__)("The format of the uploaded image is not supported. The supported formats are: %s, %s, %s and %s.","wordpress-seo"),"JPG","PNG","WEBP","GIF");return!!["jpg","jpeg","png","webp"].includes(e)||("gif"===e?n:r)},t=>{const{bytes:e}=t,n=Object(Z.sprintf)(
/* Translators: %s expands to Twitter, %s expands to the 5MB size. */
Object(Z.__)("The file size of the uploaded image is too large for %s. File size must be less than %s.","wordpress-seo"),"Twitter","5MB");return!(e>=5)||n}]);const it=t=>document.querySelector(t),at=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return n=>{const r=it(t);if(r){const t=Array.isArray(n)?n.join(","):n;r.value=t}e&&e(n)}},st=t=>{const e=it(t);return e?e.value:null}},5:function(t,e){t.exports=window.yoast.styledComponents},57:function(t,e){var n=function(t,e){var n;for(n=0;n<t.length;n++)if(t[n].regex.test(e))return t[n]},r=function(t,e){var r,o,i;for(r=0;r<e.length;r++)if(o=n(t,e.substring(0,r+1)))i=o;else if(i)return{max_index:r,rule:i};return i?{max_index:e.length,rule:i}:void 0};t.exports=function(t){var e="",o=[],i=1,a=1,s=function(e,n){t({type:n,src:e,line:i,col:a});var r=e.split("\n");i+=r.length-1,a=(r.length>1?1:a)+r[r.length-1].length};return{addRule:function(t,e){o.push({regex:t,type:e})},onText:function(t){for(var n=e+t,i=r(o,n);i&&i.max_index!==n.length;)s(n.substring(0,i.max_index),i.rule.type),n=n.substring(i.max_index),i=r(o,n);e=n},end:function(){if(0!==e.length){var t=n(o,e);if(!t){var r=new Error("unable to tokenize");throw r.tokenizer2={buffer:e,line:i,col:a},r}s(e,t.type)}}}}}});components.js000066600000104357151123775150007314 0ustar00window.yoast=window.yoast||{},window.yoast.components=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=494)}({0:function(e,t){e.exports=window.yoast.propTypes},1:function(e,t){e.exports=window.wp.element},109:function(e,t){e.exports=window.lodash.findIndex},12:function(e,t){function n(){return e.exports=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},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},136:function(e,t){e.exports=window.yoast.jed},16:function(e,t){e.exports=window.yoast.replacementVariableEditor},2:function(e,t){e.exports=window.lodash},22:function(e,t){e.exports=window.yoast.redux},232:function(e,t,n){var r,o,i;o=[e,n(435),n(437),n(438)],void 0===(i="function"==typeof(r=function(e,t,n,r){"use strict";var o=a(t),i=a(n),s=a(r);function a(e){return e&&e.__esModule?e:{default:e}}var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},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}}(),u=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"===l(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,s.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 d("action",e)}},{key:"defaultTarget",value:function(e){var t=d("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return d("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 d(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=u})?r.apply(t,o):r)||(e.exports=i)},233:function(e,t){e.exports=window.lodash.assign},234:function(e,t){e.exports=window.lodash.isUndefined},3:function(e,t){e.exports=window.React},32: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=a(n(3)),i=a(n(64)),s=a(n(67));function a(e){return e&&e.__esModule?e:{default:e}}var l=void 0;t.default=function(e){var t=e.mixedString,n=e.components,a=e.throwErrors;if(l=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var c=(0,s.default)(t);try{return function e(t,n){var s,a,c,u,d,f,p,g,h=[],y={};for(f=0;f<t.length;f++)if("string"!==(d=t[f]).type){if(!n.hasOwnProperty(d.value)||void 0===n[d.value])throw new Error("Invalid interpolation, missing component node: `"+d.value+"`");if("object"!==r(n[d.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+d.value+"`","\n> "+l);if("componentClose"===d.type)throw new Error("Missing opening component token: `"+d.value+"`");if("componentOpen"===d.type){s=n[d.value],c=f;break}h.push(n[d.value])}else h.push(d.value);return s&&(u=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+"`")}(c,t),p=e(t.slice(c+1,u),n),a=o.default.cloneElement(s,{},p),h.push(a),u<t.length-1&&(g=e(t.slice(u+1),n),h=h.concat(g))),1===h.length?h[0]:(h.forEach((function(e,t){e&&(y["interpolation-child-"+t]=e)})),(0,i.default)(y))}(c,n)}catch(e){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},37:function(e,t){e.exports=window.yoast.analysisReport},39:function(e,t){e.exports=window.lodash.omit},4:function(e,t){e.exports=window.wp.i18n},40:function(e,t){e.exports=window.wp.a11y},41: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},435:function(e,t,n){var r,o,i;o=[e,n(436)],void 0===(i="function"==typeof(r=function(e,t){"use strict";var n,r=(n=t)&&n.__esModule?n:{default:n},o="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},i=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}}(),s=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 i(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 n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,r.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,r.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":o(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=s})?r.apply(t,o):r)||(e.exports=i)},436: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}},437: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,s=r.length;i<s;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},438:function(e,t,n){var r=n(439),o=n(440);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")}},439: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)}},440:function(e,t,n){var r=n(441);function o(e,t,n,r,o){var s=i.apply(this,arguments);return e.addEventListener(n,s,o),{destroy:function(){e.removeEventListener(n,s,o)}}}function i(e,t,n,o){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&o.call(e,n)}}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)})))}},441:function(e,t){if("undefined"!=typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},494:function(e,t,n){"use strict";n.r(t),n.d(t,"OnboardingWizard",(function(){return Ye})),n.d(t,"MessageBox",(function(){return $e})),n.d(t,"LinkSuggestions",(function(){return H})),n.d(t,"ContentAnalysis",(function(){return g.ContentAnalysis})),n.d(t,"Collapsible",(function(){return i.Collapsible})),n.d(t,"ButtonSection",(function(){return p})),n.d(t,"LoadingIndicator",(function(){return ze})),n.d(t,"CornerstoneToggle",(function(){return S})),n.d(t,"sendRequest",(function(){return r.sendRequest})),n.d(t,"decodeHTML",(function(){return r.decodeHTML})),n.d(t,"getRtlStyle",(function(){return He})),n.d(t,"colors",(function(){return o.colors})),n.d(t,"DashboardWidgetSeoAssessment",(function(){return g.SiteSEOReport})),n.d(t,"DashboardWidgetWordpressFeed",(function(){return i.ArticleList})),n.d(t,"AnalysisList",(function(){return g.AnalysisList})),n.d(t,"renderRatingToColor",(function(){return g.renderRatingToColor})),n.d(t,"FixedWidthContainer",(function(){return Y.FixedWidthContainer})),n.d(t,"HelpTextWrapper",(function(){return Y.HelpTextWrapper})),n.d(t,"SnippetPreview",(function(){return Y.SnippetPreview})),n.d(t,"SettingsSnippetEditor",(function(){return Y.SettingsSnippetEditor})),n.d(t,"SnippetEditor",(function(){return Y.SnippetEditor})),n.d(t,"lengthProgressShape",(function(){return Y.lengthProgressShape})),n.d(t,"ReplacementVariableEditor",(function(){return $.ReplacementVariableEditor})),n.d(t,"recommendedReplacementVariablesShape",(function(){return $.recommendedReplacementVariablesShape})),n.d(t,"replacementVariablesShape",(function(){return $.replacementVariablesShape})),n.d(t,"utils",(function(){return U})),n.d(t,"localize",(function(){return ee})),n.d(t,"setTranslations",(function(){return J})),n.d(t,"translate",(function(){return Z})),n.d(t,"analysis",(function(){return Ee})),n.d(t,"WordpressFeed",(function(){return i.ArticleList})),n.d(t,"SeoAssessment",(function(){return g.SiteSEOReport})),n.d(t,"KeywordInput",(function(){return Fe})),n.d(t,"insightsReducer",(function(){return We})),n.d(t,"setWordsForInsights",(function(){return Be})),n.d(t,"setReadabilityResults",(function(){return ne})),n.d(t,"setSeoResultsForKeyword",(function(){return te})),n.d(t,"setOverallReadabilityScore",(function(){return re})),n.d(t,"setOverallSeoScore",(function(){return oe})),n.d(t,"Card",(function(){return i.Card})),n.d(t,"FullHeightCard",(function(){return i.FullHeightCard})),n.d(t,"CardBanner",(function(){return i.CardBanner})),n.d(t,"CardDetails",(function(){return i.CourseDetails})),n.d(t,"HelpText",(function(){return i.HelpText})),n.d(t,"Icon",(function(){return i.Icon})),n.d(t,"KeywordSuggestions",(function(){return i.KeywordSuggestions})),n.d(t,"WordOccurrenceInsights",(function(){return i.WordOccurrenceInsights})),n.d(t,"LanguageNotice",(function(){return i.LanguageNotice})),n.d(t,"Loader",(function(){return i.Loader})),n.d(t,"ScoreAssessments",(function(){return i.ScoreAssessments})),n.d(t,"SvgIcon",(function(){return i.SvgIcon})),n.d(t,"SynonymsInput",(function(){return i.SynonymsInput})),n.d(t,"UpsellButton",(function(){return i.UpsellButton})),n.d(t,"UpsellLinkButton",(function(){return i.UpsellLinkButton})),n.d(t,"YoastButton",(function(){return i.YoastButton})),n.d(t,"YoastModal",(function(){return i.Modal})),n.d(t,"YoastSeoIcon",(function(){return i.YoastSeoIcon})),n.d(t,"YoastWarning",(function(){return i.Warning})),n.d(t,"StyledSection",(function(){return i.StyledSection})),n.d(t,"StyledHeading",(function(){return i.StyledHeading})),n.d(t,"StyledSectionBase",(function(){return i.StyledSectionBase}));var r=n(9),o=n(6),i=n(7),s=n(1),a=n(0),l=n.n(a),c=n(3),u=n.n(c);const d=Object(i.wrapInHeading)(i.StyledIconsButton,{level:2,fontSize:"1rem",fontWeight:"normal"}),f=e=>{const t=e.hasSeparator?i.StyledContainerTopLevel:i.StyledContainer;return Object(s.createElement)(t,{onClick:e.onClick,className:e.className},Object(s.createElement)(e.Heading,{prefixIcon:e.prefixIcon,suffixIcon:e.suffixIcon,hasSubTitle:!!e.subTitle,id:e.id},Object(s.createElement)(i.SectionTitle,{title:e.title,titleScreenReaderText:e.titleScreenReaderText,subTitle:e.subTitle})))};f.propTypes={hasSeparator:l.a.bool,className:l.a.string,Heading:l.a.func,prefixIcon:l.a.shape({icon:l.a.string,color:l.a.string,size:l.a.string}),suffixIcon:l.a.shape({icon:l.a.string,color:l.a.string,size:l.a.string}),subTitle:l.a.string,title:l.a.string.isRequired,titleScreenReaderText:l.a.string,onClick:l.a.func.isRequired,id:l.a.string},f.defaultProps={Heading:d,id:null};var p=f,g=n(37),h=n(5),y=n.n(h),b=n(4);const m=y.a.div`
	display: flex;
	margin-top: 8px;
`;class v extends u.a.Component{render(){return Object(s.createElement)(m,null,Object(s.createElement)(i.Toggle,{id:this.props.id,labelText:Object(b.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}v.propTypes={id:l.a.string,isEnabled:l.a.bool,onSetToggleState:l.a.func,onToggle:l.a.func,disable:l.a.bool,onToggleDisabled:l.a.func},v.defaultProps={id:"cornerstone-toggle"};var S=v,w=n(12),E=n.n(w);const x=y.a.div`
	display: flex;
	align-items: center;
	min-height: 40px;
	margin-bottom: 5px;
`,O=y.a.button`
	box-sizing: border-box;
	height: 30px;
	width: 30px;
	background-color: ${o.colors.$color_button};
	border-radius: 5px;
	cursor: pointer;
	outline:none;
	margin-right: 8px;
	border: 1px solid ${o.colors.$color_button_border};

	&:focus {
		box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8);
	}
`,k=Object(r.makeOutboundLink)(y.a.a`
	max-width: 128px;
	padding: 6px 0;
	margin-right: 8px;
`),_=y.a.span`
	max-width: 75px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: center;
	display: block;
	padding: 3px 8px;
	margin-left: auto;
	font-size: 0.85em;
	background-color: #f3f4f5;
	border-radius: 2px;
`,T=e=>{let{value:t,url:n,isActive:r,type:a}=e;const l=Object(b.__)("Copy link","wordpress-seo"),c=Object(b.sprintf)(
/* translators: %s expands to the link value */
Object(b.__)("Copy link to suggested article: %s","wordpress-seo"),t);let u="clipboard";return r&&(u="check"),Object(s.createElement)(x,null,Object(s.createElement)(O,{type:"button",className:"yoast-link-suggestion__copy yoast-tooltip yoast-tooltip-alt yoast-tooltip-s",onBlur:e=>{e.nativeEvent.target.setAttribute("aria-label",c),e.nativeEvent.target.setAttribute("data-label",l)},"data-clipboard-text":n,"aria-label":c,"data-label":l},Object(s.createElement)(i.SvgIcon,{icon:u,color:o.colors.$color_grey_dark}),Object(s.createElement)(i.ScreenReaderText,null,l)),Object(s.createElement)(k,{href:n},t),Object(s.createElement)(_,{title:a},a))};T.propTypes={value:l.a.string.isRequired,url:l.a.string.isRequired,isActive:l.a.bool,type:l.a.string.isRequired},T.defaultProps={isActive:!1};var j=T,A=n(232),C=n.n(A),R=n(32),L=n.n(R),I=n(40);const N=Object(r.makeOutboundLink)(),M=y.a.div`
	display: table-cell;
`,P=Object(b.__)("We could not find any relevant articles on your website that you could link to from your post.","wordpress-seo"),F=Object(b.__)("{{a}}Read our article about site structure{{/a}} to learn more about how internal linking can help improve your SEO.","wordpress-seo"),B=Object(b.__)("Consider linking to these {{a}}cornerstone articles:{{/a}}","wordpress-seo"),D=Object(b.__)("Consider linking to these articles:","wordpress-seo");class W extends u.a.Component{constructor(e){super(e),this.state={clipboard:new C.a(".yoast-link-suggestion__copy")},this.state.clipboard.on("success",this.handleSuccess.bind(this)),this.state.clipboard.on("error",this.handleError.bind(this))}handleSuccess(e){const t=Object(b.__)("Copied!","wordpress-seo");e.trigger.focus(),e.trigger.setAttribute("aria-label",t),e.trigger.setAttribute("data-label",t),Object(I.speak)(t,"assertive")}handleError(e){const t=Object(b.__)("Not supported!","wordpress-seo");e.trigger.el.setAttribute("aria-label",t),e.trigger.setAttribute("data-label",t),Object(I.speak)(t,"assertive")}renderEmptyList(){let e=this.props.customMessages.lengthMessage;return e=""===e?P:e,Object(s.createElement)("div",null,Object(s.createElement)("p",null,e),Object(s.createElement)("p",null,this.props.customMessages.metaMessage),Object(s.createElement)("p",null,this.getArticleLink()))}render(){const e=this.props.suggestions,t=this.props.maxSuggestions;if(0===e.length)return this.renderEmptyList();e.length>t&&(e.length=t);const n=this.getCornerstoneSuggestions(),r=this.getDefaultSuggestions();return Object(s.createElement)(M,null,n,r,Object(s.createElement)("p",null,this.getArticleLink()),Object(s.createElement)("p",null,this.props.customMessages.metaMessage))}getCornerstoneSuggestions(){const e=this.filterSuggestionsByCornerstone(!0);if(0===e.length)return null;const t=L()({mixedString:B,components:{a:Object(s.createElement)(N,{href:"https://yoa.st/metabox-ls-help-cornerstone"})}});return this.getSuggestionsList(t,e)}getDefaultSuggestions(){const e=this.filterSuggestionsByCornerstone(!1);return 0===e.length?null:this.getSuggestionsList(D,e)}getArticleLink(){return L()({mixedString:F,components:{a:Object(s.createElement)(N,{href:"https://yoa.st/site-structure-metabox"})}})}getSuggestionsList(e,t){return Object(s.createElement)("div",null,Object(s.createElement)("p",null,e),t.map((e,t)=>Object(s.createElement)(j,E()({key:t},e))))}filterSuggestionsByCornerstone(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.props.suggestions.filter(t=>t.isCornerstone===e)}}W.propTypes={suggestions:l.a.array.isRequired,maxSuggestions:l.a.number,customMessages:l.a.object},W.defaultProps={maxSuggestions:10,customMessages:{lengthMessage:"",metaMessage:""}};var H=W,Y=n(55),$=n(16),z=n(2),U={getFeed:r.getFeed,getCourseFeed:r.getCourseFeed,getPostFeed:r.getPostFeed,makeOutboundLink:r.makeOutboundLink,buildStructuredUrl:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=Object.keys(t);let r=e;return n.forEach(e=>{const n=t[e],o=Object(z.isArray)(n)?n.join("/"):n,i=`%${e}%`;r=r.replace(new RegExp(i,"g"),o)}),r}},K=n(136),q=n.n(K),V=n(233),G=n.n(V),X=null;function J(e){X=new q.a(e)}function Q(){return null===X&&(X=new q.a({})),X}function Z(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=Q();return""===t?r.gettext(e):r.ngettext(e,t,n)}function ee(e){const t=e.displayName||e.name||"",n={translate:Z};class r extends u.a.Component{constructor(e){super(e),this.displayName="Localized"+t}render(){const t=G()({},this.props,n);return Object(s.createElement)(e,t)}}return r}function te(e,t){return{type:"CONTENT_ANALYSIS_SET_SEO_RESULTS_FOR_KEYWORD",keyword:e,results:t}}function ne(e){return{type:"CONTENT_ANALYSIS_SET_READABILITY_RESULTS",results:e}}function re(e){return{type:"CONTENT_ANALYSIS_SET_OVERALL_READABILITY_SCORE",overallScore:e}}function oe(e,t){return{type:"CONTENT_ANALYSIS_SET_OVERALL_SEO_SCORE",keyword:t,overallScore:e}}var ie=n(109),se=n.n(ie),ae=n(234),le=n.n(ae);const ce={};function ue(e,t){return Object.assign({},e,{results:t.results})}function de(e,t){if(le()(e.results))return Object.assign({},e,{results:[t.result]});const n=se()(e.results,{id:t.result.id});if(-1!==n){const 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:[...e.results,t.result]})}function fe(e,t){return Object.assign({},e,{overallScore:t.overallScore})}var pe=n(39),ge=n.n(pe);const he={};function ye(e,t,n){return Object.assign({},e,{[t]:{results:n}})}function be(e,t){return e[t.keyword]?-1!==se()(e[t.keyword].results,{id:t.result.id})?function(e,t){const n=Array.from(e[t.keyword].results,e=>e.id===t.result.id?t.result:e);return Object.assign({},e,{[t.keyword]:{results:n}})}(e,t):Object.assign({},e,{[t.keyword]:{results:[...e[t.keyword].results,t.result]}}):ye(e,t.keyword,[t.result])}function me(e,t){return e[t.keyword]?Object.assign({},e,{[t.keyword]:{results:t.results}}):ye(e,t.keyword,t.results)}function ve(e){const t={};return e.resultsPerKeyword.forEach((function(e){t[e.keyword]={results:e.results}})),t}function Se(e,t){return Object.assign({},e,{[t.keyword]:{...e[t.keyword],overallScore:t.overallScore}})}var we=n(22),Ee=Object(we.combineReducers)({seo:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:he,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CONTENT_ANALYSIS_SET_SEO_RESULTS":return ve(t);case"CONTENT_ANALYSIS_UPDATE_SEO_RESULT":return be(e,t);case"CONTENT_ANALYSIS_REMOVE_KEYWORD":return ge()(e,t.keyword);case"CONTENT_ANALYSIS_SET_SEO_RESULTS_FOR_KEYWORD":return me(e,t);case"CONTENT_ANALYSIS_SET_OVERALL_SEO_SCORE":return Se(e,t);default:return e}},readability:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ce,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CONTENT_ANALYSIS_SET_READABILITY_RESULTS":return ue(e,t);case"CONTENT_ANALYSIS_UPDATE_READABILITY_RESULT":return de(e,t);case"CONTENT_ANALYSIS_SET_OVERALL_READABILITY_SCORE":return fe(e,t);default:return e}}});const xe=o.colors.$color_bad,Oe=o.colors.$palette_error_background,ke=o.colors.$color_grey_text_light,_e=o.colors.$palette_error_text,Te=y.a.div`
	display: flex;
	flex-direction: column;
`,je=y.a.label`
	font-size: var(--yoast-font-size-default);
	font-weight: var(--yoast-font-weight-bold);
	${Object(r.getDirectionalStyle)("margin-right: 4px","margin-left: 4px")};
`,Ae=y.a.span`
	margin-bottom: 0.5em;
`,Ce=y()(i.InputField)`
	flex: 1 !important;
	box-sizing: border-box;
	max-width: 100%;
	margin: 0; // Reset margins inherited from WordPress.

	// Hide native X in Edge and IE11.
	&::-ms-clear {
		display: none;
	}

	&.has-error {
		border-color: ${xe} !important;
		background-color: ${Oe} !important;

		&:focus {
			box-shadow: 0 0 2px ${xe} !important;
		}
	}
`,Re=y.a.ul`
	color: ${_e};
	list-style-type: disc;
	list-style-position: outside;
	margin: 0;
	margin-left: 1.2em;
`,Le=y.a.li`
	color: ${_e};
	margin: 0 0 0.5em 0;
`,Ie=Object(i.addFocusStyle)(y.a.button`
		border: 1px solid transparent;
		box-shadow: none;
		background: none;
		flex: 0 0 32px;
		height: 32px;
		max-width: 32px;
		padding: 0;
		cursor: pointer;
	`);Ie.propTypes={type:l.a.string,focusColor:l.a.string,focusBackgroundColor:l.a.string,focusBorderColor:l.a.string},Ie.defaultProps={type:"button",focusColor:o.colors.$color_button_text_hover,focusBackgroundColor:"transparent",focusBorderColor:o.colors.$color_blue};const Ne=y()(i.SvgIcon)`
	margin-top: 4px;
`,Me=y.a.div`
	display: flex;
	flex-direction: row;
	align-items: center;

	&.has-remove-keyword-button {
		${Ce} {
			${Object(r.getDirectionalStyle)("padding-right: 40px","padding-left: 40px")};
		}

		${Ie} {
			${Object(r.getDirectionalStyle)("margin-left: -32px","margin-right: -32px")};
		}
	}
`;class Pe extends u.a.Component{constructor(e){super(e),this.handleChange=this.handleChange.bind(this)}handleChange(e){this.props.onChange(e.target.value)}renderLabel(){const{id:e,label:t,helpLink:n}=this.props;return Object(s.createElement)(Ae,null,Object(s.createElement)(je,{htmlFor:e},t),n)}renderErrorMessages(){const e=[...this.props.errorMessages];return!Object(z.isEmpty)(e)&&Object(s.createElement)(Re,null,e.map((e,t)=>Object(s.createElement)(Le,{key:t},Object(s.createElement)("span",{role:"alert"},e))))}render(){const{id:e,showLabel:t,keyword:n,onRemoveKeyword:r,onBlurKeyword:o,onFocusKeyword:i,hasError:a}=this.props,l=!t,c=r!==z.noop;return Object(s.createElement)(Te,null,t&&this.renderLabel(),a&&this.renderErrorMessages(),Object(s.createElement)(Me,{className:c?"has-remove-keyword-button":null},Object(s.createElement)(Ce,{"aria-label":l?this.props.label:null,type:"text",id:e,className:a?"has-error":null,onChange:this.handleChange,onFocus:i,onBlur:o,value:n,autoComplete:"off"}),c&&Object(s.createElement)(Ie,{onClick:r,focusBoxShadowColor:"#084A67"},Object(s.createElement)(Ne,{size:"18px",icon:"times-circle",color:ke}))))}}Pe.propTypes={id:l.a.string.isRequired,showLabel:l.a.bool,keyword:l.a.string,onChange:l.a.func.isRequired,onRemoveKeyword:l.a.func,onBlurKeyword:l.a.func,onFocusKeyword:l.a.func,label:l.a.string.isRequired,helpLink:l.a.node,hasError:l.a.bool,errorMessages:l.a.arrayOf(l.a.string)},Pe.defaultProps={showLabel:!0,keyword:"",onRemoveKeyword:z.noop,onBlurKeyword:z.noop,onFocusKeyword:z.noop,helpLink:null,hasError:!1,errorMessages:[]};var Fe=Pe;function Be(e){return{type:"SET_WORDS_FOR_INSIGHTS",wordsForInsights:e}}const De=[],We=Object(we.combineReducers)({prominentWords:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:De,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_WORDS_FOR_INSIGHTS":return t.wordsForInsights;default:return e}}}),He=r.getDirectionalStyle,Ye=()=>(console.warn("Deprecation Warning: Deprecated since 5.13.1. Use the `OnboardingWizard` from the `@yoast/configuration-wizard` package instead."),null),$e=()=>(console.warn("Deprecation Warning: Deprecated since 5.13.1. Use the `MessageBox` from the `@yoast/configuration-wizard` package instead."),null),ze=()=>(console.warn("Deprecation Warning: Deprecated since 5.13.1. Use the `LoadingIndicator` from the `@yoast/configuration-wizard` package instead."),null)},5:function(e,t){e.exports=window.yoast.styledComponents},55:function(e,t){e.exports=window.yoast.searchMetadataPreviews},6:function(e,t){e.exports=window.yoast.styleGuide},64:function(e,t,n){"use strict";var r=n(3),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(41),s=n(65),a=n(66),l="function"==typeof Symbol&&Symbol.iterator;function c(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var u=/\/+/g;function d(e){return(""+e).replace(u,"$&/")}var f,p,g=h,h=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function y(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function b(e,t,n){var o,s,a=e.result,l=e.keyPrefix,c=e.func,u=e.context,f=c.call(u,t,e.count++);Array.isArray(f)?m(f,a,n,i.thatReturnsArgument):null!=f&&(r.isValidElement(f)&&(o=f,s=l+(!f.key||t&&t.key===f.key?"":d(f.key)+"/")+n,f=r.cloneElement(o,{key:s},void 0!==o.props?o.props.children:void 0)),a.push(f))}function m(e,t,n,r,i){var a="";null!=n&&(a=d(n)+"/");var u=y.getPooled(t,a,r,i);!function(e,t,n){null==e||function e(t,n,r,i){var a,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===o)return r(i,t,""===n?"."+c(t,0):n),1;var d=0,f=""===n?".":n+":";if(Array.isArray(t))for(var p=0;p<t.length;p++)d+=e(a=t[p],f+c(a,p),r,i);else{var g=function(e){var t=e&&(l&&e[l]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(g)for(var h,y=g.call(t),b=0;!(h=y.next()).done;)d+=e(a=h.value,f+c(a,b++),r,i);else if("object"===u){var m=""+t;s(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===m?"object with keys {"+Object.keys(t).join(", ")+"}":m,"")}}return d}(e,"",t,n)}(e,b,u),y.release(u)}y.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},f=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)},(p=y).instancePool=[],p.getPooled=f||g,p.poolSize||(p.poolSize=10),p.release=function(e){s(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)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return a(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return a(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;s(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)m(e[n],t,n,i.thatReturnsArgument);return t}},65:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,s,a){if(!e){var l;if(void 0===t)l=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,s,a],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},66:function(e,t,n){"use strict";var r=n(41);e.exports=r},67: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)}},7:function(e,t){e.exports=window.yoast.componentsNew},9:function(e,t){e.exports=window.yoast.helpers}});schemaBlocks.js000066600000401211151123775150007512 0ustar00window.yoast=window.yoast||{},window.yoast.schemaBlocks=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=141)}([,function(t,e){t.exports=window.wp.element},function(t,e){t.exports=window.lodash},function(t,e){t.exports=window.React},function(t,e){t.exports=window.wp.i18n},,,function(t,e){t.exports=window.yoast.componentsNew},,,,,,,,,,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BlockValidationResult=e.BlockValidation=e.BlockPresence=void 0;var r=n(256);Object.defineProperty(e,"BlockValidation",{enumerable:!0,get:function(){return r.BlockValidation}});var o=n(86);Object.defineProperty(e,"BlockValidationResult",{enumerable:!0,get:function(){return o.BlockValidationResult}}),Object.defineProperty(e,"BlockPresence",{enumerable:!0,get:function(){return o.BlockPresence}})},function(t,e){t.exports=window.wp.data},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=n(18),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.save=function(t,e,n){return null},e.prototype.edit=function(t,e,n){return null},e.prototype.sidebar=function(t,e){return null},e.prototype.configuration=function(){var t;return{attributes:(t={},t[this.options.name]={required:!0===this.options.required},t)}},e.prototype.validate=function(t){return new s.BlockValidationResult(t.clientId,this.constructor.name,s.BlockValidation.Unknown,s.BlockPresence.Unknown)},e}(i(n(142)).default);e.default=a},,,function(t,e){t.exports=window.wp.components},,function(t,e,n){"use strict";var r,o,i=this&&this.__spreadArray||function(t,e){for(var n=0,r=e.length,o=t.length;n<r;n++,o++)t[o]=e[n];return t};Object.defineProperty(e,"__esModule",{value:!0}),e.ConsoleLogger=e.LogLevel=void 0,function(t){t[t.NONE=0]="NONE",t[t.ERROR=1]="ERROR",t[t.WARNING=2]="WARNING",t[t.INFO=3]="INFO",t[t.DEBUG=4]="DEBUG"}(o=e.LogLevel||(e.LogLevel={}));var s=((r={})[o.NONE]="black",r[o.ERROR]="red",r[o.WARNING]="darkorange",r[o.INFO]="blue",r[o.DEBUG]="darkorchid",r),a=function(){function t(t){void 0===t&&(t=o.NONE),this.level=o.NONE,this.setLogLevel(t)}return t.prototype.setLogLevel=function(t){this.level=t},t.prototype.writeLog=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];this.level>=t&&t!==o.NONE&&console.log.apply(console,i(["%c "+o[t]+":","color: "+s[t]+";"],e))},t.prototype.log=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.debug.apply(this,t)},t.prototype.debug=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.writeLog.apply(this,i([o.DEBUG],t))},t.prototype.info=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.writeLog.apply(this,i([o.INFO],t))},t.prototype.warning=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.writeLog.apply(this,i([o.WARNING],t))},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.writeLog.apply(this,i([o.ERROR],t))},t.prototype.startGroup=function(t,e){void 0===e&&(e=o.DEBUG),this.level>=e&&e!==o.NONE&&console.groupCollapsed(t)},t.prototype.endGroup=function(){console.groupEnd()},t}();e.ConsoleLogger=a;var u=new a(o.ERROR);e.default=u},,,,function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=i(n(142)),a=n(18),u=n(86),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(t){return null},e.prototype.configuration=function(){return{}},e.prototype.validate=function(t){return new a.BlockValidationResult(t.clientId,t.name,a.BlockValidation.Valid,u.BlockPresence.Unknown)},e}(s.default);e.default=c},,,,,,,,,,,,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getHumanReadableBlockName=e.getBlockType=e.restoreBlock=e.removeBlock=e.getBlockByClientId=void 0;var r=n(19);function o(t){return r.select("core/blocks").getBlockType(t)}e.getBlockByClientId=function(t){return r.select("core/block-editor").getBlock(t)},e.removeBlock=function(t){r.dispatch("core/block-editor").removeBlock(t)},e.restoreBlock=function(t,e){r.dispatch("core/block-editor").replaceBlock(t,e)},e.getBlockType=o,e.getHumanReadableBlockName=function(t){var e=o(t)||null;if(e)return e.title;var n=t.lastIndexOf("/");return n<0||n===t.length-1?t:t.substring(n+1).toLocaleLowerCase()}},,,,function(t,e){t.exports=window.wp.blockEditor},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.registerBlockDefinition=e.getBlockDefinition=void 0;var r={};e.getBlockDefinition=function(t){return r[t]},e.registerBlockDefinition=function(t,e){r[t]=e}},function(t,e,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),o=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||r(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.YOAST_SCHEMA_BLOCKS_STORE_NAME=void 0,o(n(90),e),o(n(149),e),o(n(150),e),o(n(273),e),e.YOAST_SCHEMA_BLOCKS_STORE_NAME="yoast-seo/schema-blocks"},,,,,,,,,,,,function(t,e){t.exports=window.wp.hooks},,,,,,,,function(t,e,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),o=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),i=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&r(e,t,n);return o(e,t),e},s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.BlockDefinitionRepository=e.BlockLeaf=e.BlockInstruction=e.BlockDefinition=void 0;var a=s(n(144));e.BlockDefinition=a.default;var u=s(n(20));e.BlockInstruction=u.default;var c=s(n(70));e.BlockLeaf=c.default;var l=i(n(47));e.BlockDefinitionRepository=l},function(t,e){t.exports=window.wp.blocks},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=i(n(146)),a=n(1),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.renderChildren=function(t,e,n){return t.map((function(t,r){return a.createElement(a.Fragment,{key:r},t[n](e,r))}))},e}(s.default);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createBlockEditProps=e.getParentIdOfType=e.getParent=e.getBlockSchemaId=e.getBlockId=e.getParentId=void 0;var r=n(19),o=n(42);function i(t){return r.select("core/block-editor").getBlockRootClientId(t)}function s(t){var e,n=[t.name.replace(/\//g,"-")],o=t.clientId;do{e=i(o);var s=r.select("core/block-editor").getBlockIndex(o,e);n.push(s.toString()),o=e}while(""!==e);return n.join("-")}e.getParentId=i,e.getBlockId=s,e.getBlockSchemaId=function(t){return r.select("core/editor").getPermalink()+"#/schema/"+s(t)},e.getParent=function(t){var e=i(t);return e?o.getBlockByClientId(e):null},e.getParentIdOfType=function(t,e){return r.select("core/block-editor").getBlockParentsByBlockName(t,e)},e.createBlockEditProps=function(t,e){return void 0===e&&(e=!1),{attributes:t.attributes,className:t.attributes.className||"",clientId:t.clientId,isSelected:e,setAttributes:r.dispatch("core/block-editor").updateBlockAttributes.bind(null,t.clientId)}}},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(i(n(146)).default);e.default=s},,,,,,,,,,,,,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BlockValidationResult=e.BlockPresence=void 0;var r,o=n(18),i=n(4),s=n(42);!function(t){t.Required="required",t.Recommended="recommended",t.Optional="optional",t.Unknown="unknown"}(r=e.BlockPresence||(e.BlockPresence={}));var a=function(){function t(t,e,n,r,o){this.name=e,this.clientId=t,this.result=n,this.blockPresence=r,this.issues=[],this.message=o}return t.MissingAttribute=function(e,n,a){var u=o.BlockValidation.Unknown,c="";switch(a){case r.Required:u=o.BlockValidation.MissingRequiredAttribute,c=i.sprintf(
/* Translators: %1$s expands to the block name. */
i.__("The `%1$s` attribute is required but missing.","wordpress-seo"),s.getHumanReadableBlockName(n));break;case r.Recommended:u=o.BlockValidation.MissingRecommendedAttribute,c=i.sprintf(
/* Translators: %1$s expands to the block name. */
i.__("The `%1$s` attribute is recommended but missing.","wordpress-seo"),s.getHumanReadableBlockName(n))}return new t(e.clientId,n||e.name,u,a||r.Unknown,c)},t.MissingBlock=function(e,n){return n===r.Recommended?t.MissingRecommendedBlock(e,n===r.Recommended):new t(null,e,o.BlockValidation.MissingRequiredBlock,n||r.Unknown,i.sprintf(
/* Translators: %1$s expands to the block name. */
i.__("The `%1$s` block is required but missing.","wordpress-seo"),s.getHumanReadableBlockName(e)))},t.MissingRecommendedBlock=function(e,n){return new t(null,e,o.BlockValidation.MissingRecommendedBlock,n?r.Recommended:r.Unknown,i.sprintf(
/* Translators: %1$s expands to the block name. */
i.__("The `%1$s` block is recommended but missing.","wordpress-seo"),s.getHumanReadableBlockName(e)))},t.Valid=function(e,n,i){return new t(e.clientId,n||e.name,o.BlockValidation.Valid,i||r.Unknown)},t}();e.BlockValidationResult=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.splitOnTag=e.stripAllTags=e.stripTags=void 0,e.stripTags=function(t,e){void 0===e&&(e=[]);var n=(new DOMParser).parseFromString(t,"text/html");return function t(e,n){e.forEach((function(e){if(e.nodeType===Node.ELEMENT_NODE){var r=e.nodeName.toLowerCase();"script"!==r&&"style"!==r?(t(e.childNodes,n),n.includes(r)||e.replaceWith.apply(e,Array.from(e.childNodes))):e.remove()}}))}(n.body.childNodes,e),n.body.innerHTML},e.stripAllTags=function(t){return t.replace(/(<([^>]+)>)/g,"")},e.splitOnTag=function(t,e){return function t(e,n){var r=[];return e.forEach((function(e){e.nodeType===Node.ELEMENT_NODE&&(e.nodeName.toLowerCase()!==n?r=r.concat(t(e.childNodes,n)):r.push(e.innerHTML))})),r}((new DOMParser).parseFromString(t,"text/html").body.childNodes,e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function t(e,n){for(var r=0,o=e;r<o.length;r++){var i=o[r];n(i),i.innerBlocks&&t(i.innerBlocks,n)}}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.getAllBlocks=e.insertBlock=e.mapBlocksRecursively=e.getInnerblocksByName=e.filterBlocksRecursively=void 0;var o=n(19),i=r(n(88));function s(t,e){var n=[];return i.default(t.innerBlocks,(function(t){e(t)&&n.push(t)})),n}function a(t,e){var n=[];return i.default(t,(function(t){n.push(e(t))})),n}e.getInnerblocksByName=function(t,e){return s(t,(function(t){return e.includes(t.name)}))},e.filterBlocksRecursively=s,e.mapBlocksRecursively=a,e.getAllBlocks=function(t){return a(t,(function(t){return t}))},e.insertBlock=function(t,e,n){o.dispatch("core/block-editor").insertBlock(t,n,e)}},function(t,e,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),o=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),i=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&r(e,t,n);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.schemaBlocksActions=e.ResetBlockValidationCommand=e.AddBlockValidationCommand=e.SchemaBlocksStoreActions=void 0;var s=i(n(269));e.schemaBlocksActions=s,e.SchemaBlocksStoreActions={ADD_BLOCK_VALIDATION:"WPSEO_ADD_BLOCK_VALIDATION",RESET_BLOCK_VALIDATIONS:"WPSEO_CLEAR_BLOCK_VALIDATIONS"},e.AddBlockValidationCommand=function(t){return{type:e.SchemaBlocksStoreActions.ADD_BLOCK_VALIDATION,validation:t}},e.ResetBlockValidationCommand=function(){return{type:e.SchemaBlocksStoreActions.RESET_BLOCK_VALIDATIONS}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getPresence=void 0;var r=n(18);e.getPresence=function(t){return t&&"undefined"!==t.required?!0===t.required?r.BlockPresence.Required:!1===t.required?r.BlockPresence.Recommended:void 0:r.BlockPresence.Unknown}},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.schemaDefinitions=void 0;var s=i(n(145)),a=i(n(297));e.schemaDefinitions={};var u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.prototype.render=function(t){return this.tree.render(t)},n.prototype.register=function(){var t=this.configuration();e.schemaDefinitions[t.name]=this},n.prototype.onlyNested=function(){return!0===this.configuration().onlyNested},n.prototype.separateInGraph=function(){return!0===this.configuration().separateInGraph},n.separatorCharacters=["1","2","3","4","5","6","7","8","9"],n.parser=a.default,n}(s.default);e.default=u},,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.getValidationResultForClientId=e.getValidationResults=e.getInvalidInnerBlocks=e.getAllDescendantIssues=e.attributeNotEmpty=e.attributeExists=void 0;var o=r(n(265));e.attributeExists=o.default;var i=r(n(266));e.attributeNotEmpty=i.default;var s=r(n(267));e.getAllDescendantIssues=s.default;var a=r(n(148));e.getInvalidInnerBlocks=a.default;var u=n(268);Object.defineProperty(e,"getValidationResults",{enumerable:!0,get:function(){return u.getValidationResults}}),Object.defineProperty(e,"getValidationResultForClientId",{enumerable:!0,get:function(){return u.getValidationResultForClientId}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SchemaBlocksDefaultState=void 0,e.SchemaBlocksDefaultState={validations:{}}},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.renderable=function(){return!1!==this.options.visible},e}(i(n(20)).default);e.default=s},,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.LogLevel=e.BlockInstruction=e.SchemaAnalysis=e.attributeNotEmpty=e.attributeExists=e.BlockValidationResult=e.BlockPresence=void 0;var o=n(252),i=r(n(20));e.BlockInstruction=i.default;var s=n(25);Object.defineProperty(e,"LogLevel",{enumerable:!0,get:function(){return s.LogLevel}});var a=n(18);Object.defineProperty(e,"BlockPresence",{enumerable:!0,get:function(){return a.BlockPresence}}),Object.defineProperty(e,"BlockValidationResult",{enumerable:!0,get:function(){return a.BlockValidationResult}});var u=n(112);Object.defineProperty(e,"attributeExists",{enumerable:!0,get:function(){return u.attributeExists}}),Object.defineProperty(e,"attributeNotEmpty",{enumerable:!0,get:function(){return u.attributeNotEmpty}});var c=n(160);Object.defineProperty(e,"SchemaAnalysis",{enumerable:!0,get:function(){return c.SchemaAnalysis}}),e.default=o.initialize},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=r(n(25)),i=n(18),s=n(86),a=function(){function t(t,e){this.id=t,this.options=e}return t.prototype.configuration=function(){return{}},t.prototype.renderable=function(){return!0},t.prototype.validate=function(t){return new i.BlockValidationResult(t.clientId,t.name,i.BlockValidation.Unknown,s.BlockPresence.Unknown)},t.register=function(t,e){void 0===this.registeredInstructions&&(this.registeredInstructions={}),this.registeredInstructions[t]=e},t.create=function(t,e,n){void 0===this.registeredInstructions&&(this.registeredInstructions={});var r=this.registeredInstructions[t];if(!r)throw o.default.error("Invalid instruction: ",t),new Error("Invalid block instruction type: "+t);return new r(e,n)},t}();e.default=a},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),s=n(23),a=n(68),u=n(147),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.save=function(t){var e=this.options,n=e.label,r=e.name,o=e.hideLabelFromVision,s=t.attributes[r],a="span";return this.options.tag&&(a=this.options.tag),i.createElement(a,{"data-id":r,"data-value":s},!o&&i.createElement("strong",null,n,":"),this.label(s))},e.prototype.validate=function(t){return u.defaultValidate(t,this)},e.prototype.label=function(t){var e=this.options.options.find((function(e){return e.value===t}));return e?e.label:null},e.prototype.edit=function(t){var e,n=this,r=this.options,o=r.label,a=r.options,u=r.hideLabelFromVision,c=r.className,l=r.defaultValue,f=t.attributes[this.options.name];f||t.setAttributes(((e={})[this.options.name]=l||a[0].value,e));var p=i.useCallback((function(e){var r;t.setAttributes(((r={})[n.options.name]=e,r))}),[t]);return i.createElement(s.SelectControl,{className:[c,"yoast-schema-select"].join(" "),label:o,value:f,defaultValue:l,onChange:p,options:a,hideLabelFromVision:u})},e}(a.BlockInstruction);e.default=c,a.BlockInstruction.register("select",c)},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=n(1),a=n(69),u=n(46),c=n(19),l=n(23),f=i(n(145)),p=i(n(259)),d=n(47),h=i(n(25)),_=n(264),y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.edit=function(t){c.select("core/block-editor").isBlockSelected(t.clientId)&&_.openGeneralSidebar("edit-post/block",!0);var e=this.sidebarElements(t),n=this.tree.children.map((function(e,n){return e.edit(t,n)})).filter((function(t){return null!==t}));if(e.length>0){var r=s.createElement(u.InspectorControls,{key:"sidebar-inspector-controls"},s.createElement(l.PanelBody,null,e));n.unshift(r)}return 1===n.length?n[0]:s.createElement(s.Fragment,{key:t.clientId},n.map((function(t,e){return s.createElement(s.Fragment,{key:e},t)})))},e.prototype.save=function(t){return this.tree.save(t)},e.prototype.register=function(){var t=this,e=this.configuration(),n=e.name;delete e.name,e.edit=function(e){return t.edit(e)},e.save=function(e){return t.save(e)},h.default.debug("registering block "+n),e.icon&&"string"==typeof e.icon&&e.icon.startsWith("<svg")&&(e.icon=this.createBlockIcon(e)),a.registerBlockType(n,e),d.registerBlockDefinition(n,this)},e.prototype.sidebarElements=function(t){return Object.values(this.instructions).map((function(e,n){return s.createElement(s.Fragment,{key:e.id},e.sidebar(t,n))})).filter((function(t){return null!==t}))},e.prototype.createBlockIcon=function(t){var e=s.createElement("span",{className:"yoast-schema-blocks-icon",dangerouslySetInnerHTML:{__html:t.icon}});return s.createElement(u.BlockIcon,{icon:e})},e.separatorCharacters=["b","c","d","f","g","h","k","m","z"],e.parser=p.default,e}(f.default);e.default=y},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(18),i=n(2),s=r(n(25)),a=function(){function t(t,e,n,r){void 0===e&&(e=""),void 0===n&&(n={}),void 0===r&&(r=null),this.separator=t,this.template=e,this.instructions=n,this.tree=r}return t.prototype.customizer=function(t,e){if(i.isArray(t))return t.concat(e)},t.prototype.configuration=function(){var t=this;return Object.values(this.instructions).reduce((function(e,n){return i.mergeWith(e,n.configuration(),t.customizer)}),{})},t.prototype.validate=function(t){if(!t)return null;s.default.startGroup("Validation results: "+t.name);var e=Object.values(this.instructions).map((function(e){var n=e.validate(t);return s.default.debug(e.constructor.name+" Instruction => "+o.BlockValidation[n.result]),n})).filter((function(t){return t.result!==o.BlockValidation.Skipped}));if(s.default.endGroup(),e.length<1)return o.BlockValidationResult.Valid(t,t.name);var n=i.maxBy(e,(function(t){return t.result})),r=new o.BlockValidationResult(t.clientId,t.name,n.result,n.blockPresence);return r.issues=e,r},t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultValidate=void 0;var r=n(2),o=n(112),i=n(18),s=n(91);e.defaultValidate=function(t,e){var n=[],a=i.BlockPresence.Unknown;if(e.options&&(a=s.getPresence(e.options),o.attributeExists(t,e.options.name)&&o.attributeNotEmpty(t,e.options.name)||n.push(i.BlockValidationResult.MissingAttribute(t,e.constructor.name,a))),t.name.startsWith("core/")&&!t.isValid&&n.push(new i.BlockValidationResult(t.clientId,e.constructor.name,i.BlockValidation.Invalid,a)),n.length<1)return i.BlockValidationResult.Valid(t,e.constructor.name,a);var u=r.maxBy(n,(function(t){return t.result})),c=new i.BlockValidationResult(t.clientId,e.constructor.name,u.result,u.blockPresence);return c.issues=n,c}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.validateInnerblockTree=e.findMissingBlocks=void 0;var o=n(47),i=n(18),s=r(n(88)),a=n(89),u=r(n(25)),c=n(86),l=n(42);function f(t,e,n){return e.filter((function(e){return!t.some((function(t){return t.name===e.name}))})).map((function(t){return i.BlockValidationResult.MissingBlock(l.getHumanReadableBlockName(t.name),n)}))}function p(t){var e=[];return s.default(t.innerBlocks,(function(t){var n=o.getBlockDefinition(t.name);n?e.push(n.validate(t)):(u.default.warning("Block definition for '"+t.name+"' is not registered."),e.push(new i.BlockValidationResult(t.clientId,t.name,i.BlockValidation.Unknown,c.BlockPresence.Unknown)))})),e}e.findMissingBlocks=f,e.validateInnerblockTree=p,e.default=function(t,e,n){void 0===e&&(e=[]),void 0===n&&(n=[]);var r=e.map((function(t){return t.name})),o=n.map((function(t){return t.name})),i=[],s=a.getInnerblocksByName(t,r);i.push.apply(i,f(s,e,c.BlockPresence.Required));var u=a.getInnerblocksByName(t,o);i.push.apply(i,f(u,n,c.BlockPresence.Recommended));var l=p(t);return i.push.apply(i,l),i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.schemaBlocksReducer=void 0;var r=n(270);Object.defineProperty(e,"schemaBlocksReducer",{enumerable:!0,get:function(){return r.schemaBlocksReducer}})},function(t,e,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),o=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||r(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),o(n(271),e)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.arrayOrObjectToOptions=void 0,e.arrayOrObjectToOptions=function(t){var e=[];if(Array.isArray(t)){for(var n=0,r=t;n<r.length;n++){var o=r[n];e.push({label:o,value:o})}return e}for(var i=0,s=Object.entries(t);i<s.length;i++){var a=s[i],u=a[0];o=a[1],e.push({label:u,value:o})}return e}},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.Heading=void 0;var a=n(3),u=n(46),c=n(1),l=n(68),f=s(n(153)),p=s(n(276)),d=n(147),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.configuration=function(){var t;return{attributes:(t={},t[this.options.name]={type:"string",source:"html",default:this.options.default,selector:"[data-id="+this.options.name+"]",required:!0===this.options.required},t[this.options.name+"_level"]={type:"number"},t)}},e.prototype.edit=function(t,e,n){var r=this,o=this.getBaseAttributes(t,n);o.onChange=function(e){var n;return t.setAttributes(((n={})[r.options.name]=e,n))},this.options.placeholder&&(o.placeholder=this.options.placeholder);var s=this.getHeadingLevel(t),l=c.useCallback((function(e){var n;t.setAttributes(((n={})[r.options.name+"_level"]=e,n))}),[s]),f=c.createElement(u.BlockControls,null,c.createElement(p.default,{selectedLevel:s,onChange:l}));return c.createElement(a.Fragment,null,f,c.createElement(u.RichText,i({},o)))},e.prototype.getHeadingLevel=function(t){return t.attributes[this.options.name+"_level"]||this.options.defaultHeadingLevel||2},e.prototype.getBaseAttributes=function(t,e){return{tagName:"h"+this.getHeadingLevel(t),value:t.attributes[this.options.name]||this.options.value,className:this.options.class,"data-id":this.options.name,key:e}},e.prototype.validate=function(t){return d.defaultValidate(t,this)},e}(f.default);e.Heading=h,l.BlockInstruction.register("heading",h)},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)});Object.defineProperty(e,"__esModule",{value:!0});var i=n(46),s=n(1),a=n(68),u=n(18),c=n(91),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.save=function(t,e,n){return s.createElement(i.RichText.Content,this.getBaseAttributes(t,n))},e.prototype.edit=function(t,e,n){var r=this,o=this.getBaseAttributes(t,n);return o.onChange=function(e){var n;return t.setAttributes(((n={})[r.options.name]=e,n))},this.options.placeholder&&(o.placeholder=this.options.placeholder,o.keepPlaceholderOnFocus=this.options.keepPlaceholderOnFocus),s.createElement(i.RichText,o)},e.prototype.configuration=function(){var t;return{attributes:(t={},t[this.options.name]={type:"string",source:"html",selector:"[data-id="+this.options.name+"]",default:this.options.default,required:!0===this.options.required},t)}},e.prototype.validate=function(t){var e=c.getPresence(this.options),n=t.attributes[this.options.name];if(n&&n.trim().length>0)return u.BlockValidationResult.Valid(t,this.options.name,e);var r=e===u.BlockPresence.Required?u.BlockValidation.MissingRequiredAttribute:u.BlockValidation.MissingRecommendedAttribute;return new u.BlockValidationResult(t.clientId,this.options.name,r,e)},e}(a.BlockInstruction);e.default=l},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=n(2),a=n(1),u=n(46),c=n(68),l=n(18),f=i(n(279)),p=i(n(148)),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.save=function(t,e,n){return a.createElement(u.InnerBlocks.Content,{key:n})},e.prototype.edit=function(t,e,n){var r={key:n};return this.options.requiredBlocks=this.options.requiredBlocks||[],this.options.recommendedBlocks=this.options.recommendedBlocks||[],this.options.appender?r.renderAppender=this.renderAppender(t.clientId,this.options.appenderLabel):r.renderAppender=!1,this.arrangeAllowedBlocks(r),this.options.template&&(r.template=this.options.template),a.createElement(u.InnerBlocks,r)},e.prototype.renderAppender=function(t,e){return function(){return a.createElement(f.default,{clientId:t,label:e})}},e.prototype.arrangeAllowedBlocks=function(t){t.allowedBlocks=["yoast/warning-block"],this.options.allowedBlocks&&(t.allowedBlocks=this.options.allowedBlocks.concat(t.allowedBlocks)),t.allowedBlocks=t.allowedBlocks.concat(this.options.requiredBlocks.map((function(t){return t.name}))).concat(this.options.recommendedBlocks.map((function(t){return t.name})))},e.prototype.validate=function(t){var e=p.default(t,this.options.requiredBlocks,this.options.recommendedBlocks);if(!e||e.length<1)return l.BlockValidationResult.Valid(t,this.constructor.name);var n=s.maxBy(e,(function(t){return t.result})),r=new l.BlockValidationResult(t.clientId,this.constructor.name,n.result,n.blockPresence);return r.issues=e,r},e}(c.BlockInstruction);e.default=d,c.BlockInstruction.register("inner-blocks",d)},function(t,e){t.exports=window.moment},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=n(284);e.default=function(t){return r.createElement("div",{className:"yoast-block-label-with-help-link"},r.createElement("div",{className:"yoast-block-sidebar-title"},t.text,r.createElement("span",{className:"yoast-inline-icon"},r.createElement(o.HelpLink,{URL:t.URL}))))}},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=i(n(29)),a=n(87),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(t){var e=this,n=t.attributes[this.options.name];return"string"!=typeof n?[]:a.splitOnTag(n,this.options.tag).map((function(t){return a.stripTags(t,e.options.allowedTags)}))},e}(s.default);e.default=u,s.default.register("list",u)},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=i(n(29)),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.configuration=function(){return this.options},e.prototype.renderable=function(){return!1},e}(s.default);e.default=a,s.default.register("schema",a)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isInvalidResult=e.isOkResult=e.isResultValidForSchema=e.isEmptyResult=e.isMissingResult=e.isValidResult=void 0;var r=n(18);e.isValidResult=function(t){return t<200},e.isMissingResult=function(t){return[r.BlockValidation.MissingRecommendedBlock,r.BlockValidation.MissingRequiredBlock].includes(t)},e.isEmptyResult=function(t){return[r.BlockValidation.MissingRecommendedAttribute,r.BlockValidation.MissingRequiredAttribute,r.BlockValidation.MissingRecommendedVariation,r.BlockValidation.MissingRequiredVariation].includes(t)},e.isResultValidForSchema=function(t){return t<300},e.isOkResult=function(t){return t>=200&&t<300},e.isInvalidResult=function(t){return t>=300}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.SchemaAnalysis=void 0;var o=n(19),i=n(1),s=n(4),a=n(7),u=n(23),c=r(n(324)),l=n(325),f=n(48),p=r(n(156));function d(t){return i.createElement(i.Fragment,null,i.createElement("div",{className:"yoast-block-sidebar-warnings"},i.createElement("div",{className:"yoast-block-sidebar-title"},s.__("Analysis","wordpress-seo")),i.createElement("ul",{className:"yoast-block-sidebar-warnings"},t.warnings.map((function(t){return i.createElement(h,{warning:t,key:t.text})})))))}function h(t){return i.createElement("li",{className:"yoast-block-sidebar-warning"},i.createElement(a.SvgIcon,{icon:"circle",color:t.warning.color,size:"13px",className:"yoast-block-sidebar-warning-dot"}),t.warning.text)}e.SchemaAnalysis=function(){var t=o.useSelect((function(t){var e=t(f.YOAST_SCHEMA_BLOCKS_STORE_NAME).getBlockNames();return t(f.YOAST_SCHEMA_BLOCKS_STORE_NAME).getValidationsForBlockNames(e)}),[]),e=[],n=o.useSelect((function(t){var e=t("yoast-seo/schema-blocks"),n=e.getRequiredBlockNames,r=e.getRecommendedBlockNames;return{requiredBlocks:n()||[],recommendedBlocks:r()||[]}})),r=n.requiredBlocks,a=n.recommendedBlocks;t&&(e=l.createAnalysisMessages(t));var h=i.useState(""),_=h[0],y=h[1],v=i.useCallback((function(t){y(t)}),[_]);return i.createElement("div",{key:"schema-analysis",className:"yoast-schema-analysis"},i.createElement(p.default,{text:s.__("JobPosting schema","wordpress-seo"),URL:"https://yoa.st/4dk"}),i.createElement(u.TextControl,{onChange:v,value:_,label:"Job title"}),i.createElement(d,{warnings:e}),i.createElement(c.default,{heading:s.__("Required information","wordpress-seo"),blockNames:r}),i.createElement(c.default,{heading:s.__("Recommended information","wordpress-seo"),blockNames:a}))}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),o=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),i=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&r(e,t,n);return o(e,t),e},s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.initialize=void 0,n(253);var a=n(69),u=n(23),c=n(1),l=n(309),f=n(48),p=n(310),d=n(312),h=s(n(316)),_=s(n(317)),y=i(n(25)),v=s(n(322)),m=n(160);function g(t){return t.split("\n").map((function(t){return t.trim()})).join("")}e.initialize=function(t){void 0===t&&(t=y.LogLevel.ERROR),y.default.setLogLevel(t),f.initializeSchemaBlocksStore(),v.default(["core/paragraph","core/image","core/heading","core/separator","yoast/warning-block"],["yoast/job-posting"]),a.registerBlockType("yoast/warning-block",p.WarningBlock),jQuery('script[type="text/schema-template"]').each((function(){try{var t=g(this.innerHTML);d.processSchema(t).register()}catch(t){y.default.error("Failed to parse schema-template",t,this)}})),h.default(),jQuery('script[type="text/block-template"]').each((function(){try{var t=g(this.innerHTML);d.processBlock(t).register()}catch(t){y.default.error("Failed to parse gutenberg-template",t,this)}})),l.registerPlugin("yoast-seo-schema-blocks-analysis",{render:function(){return c.createElement(c.Fragment,null,["sidebar","metabox"].map((function(t){return c.createElement(u.Fill,{key:t,name:["yoast-schema-blocks-analysis",t].join("-")},c.createElement(m.SchemaAnalysis,null))})))},icon:null}),_.default()}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(254),n(292)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(255),n(257),n(258),n(274),n(152),n(278),n(154),n(280),n(143),n(281),n(282),n(283),n(285),n(286),n(287),n(288),n(289),n(291)},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=i(n(20)),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.configuration=function(){return Object.assign(this.options,{attributes:{"is-yoast-schema-block":{type:"object",default:!0}}})},e.prototype.renderable=function(){return!1},e}(s.default);s.default.register("block",a)},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.BlockValidation=void 0,(r=e.BlockValidation||(e.BlockValidation={}))[r.Valid=100]="Valid",r[r.Unknown=101]="Unknown",r[r.Skipped=102]="Skipped",r[r.OK=200]="OK",r[r.MissingRecommendedAttribute=201]="MissingRecommendedAttribute",r[r.MissingRecommendedBlock=202]="MissingRecommendedBlock",r[r.MissingRecommendedVariation=203]="MissingRecommendedVariation",r[r.Invalid=300]="Invalid",r[r.MissingRequiredAttribute=301]="MissingRequiredAttribute",r[r.MissingRequiredBlock=302]="MissingRequiredBlock",r[r.MissingRequiredVariation=303]="MissingRequiredVariation"},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=i(n(20)),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.edit=function(t){return t.className},e.prototype.save=function(t){return t.attributes.className?t.attributes.className:""},e}(s.default);e.default=a,s.default.register("class-name",a)},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=i(n(143)),a=i(n(20)),u=n(151),c=["USD","EUR","GBP","AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","FJD","FKP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USN","UYI","UYU","UYW","UZS","VES","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"],l=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.options.options=u.arrayOrObjectToOptions(c),r}return o(e,t),e}(s.default);a.default.register("currency-select",l)},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=r(n(260)),s=r(n(261)),a=r(n(262)),u=r(n(263));function c(t,e){var n=e.separator,r=e.instructions;return t.split(n).map((function(t,e){return e%2?new i.default(r[t]):new s.default(t)})).filter((function(t){return!(t instanceof s.default&&""===t.value)}))}e.default=function(t){var e=(new DOMParser).parseFromString(t.template,"text/html");return t.tree=new u.default(function t(e,n){var r=o.flatMap(e,(function(e){return function(e,n){switch(e.nodeType){case Node.TEXT_NODE:return c(e.nodeValue,n);case Node.ELEMENT_NODE:for(var r=new a.default(e.nodeName.toLowerCase()),o=0;o<e.attributes.length;o++){var i=e.attributes[o];r.attributes[i.name]=c(i.value,n)}return r.children=t(e.childNodes,n),r.children&&r.children.forEach((function(t){t.parent=r})),[r]}return[]}(e,n)}));return 0===r.length?null:r}(e.body.childNodes,t)),t}},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(e){var n=t.call(this)||this;return void 0===e&&console.error("could not instantiate BlockInstructionLeaf with a null instruction"),n.instruction=e,n}return o(e,t),e.prototype.save=function(t,e){return this.instruction.save(t,this,e)},e.prototype.edit=function(t,e){return this.instruction.edit(t,this,e)},e}(i(n(70)).default);e.default=s},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(e){var n=t.call(this)||this;return n.value=e,n}return o(e,t),e.prototype.save=function(){return this.value},e.prototype.edit=function(){return this.value},e}(i(n(70)).default);e.default=s},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=i(n(70)),a=n(1),u={class:"className",for:"htmlFor"},c=function(t){function e(e,n,r){void 0===n&&(n={}),void 0===r&&(r=[]);var o=t.call(this)||this;return o.tag=e,o.attributes=n,o.children=r,o}return o(e,t),e.prototype.save=function(t,e){var n={};for(var r in this.attributes)Object.prototype.hasOwnProperty.call(n,r)||(n[u[r]||r]=this.attributes[r].map((function(e,n){return e.save(t,n)})).join(""));return n.key=e,a.createElement(this.tag,n,this.renderChildren(this.children,t,"save"))},e.prototype.edit=function(t,e){var n={};for(var r in this.attributes)Object.prototype.hasOwnProperty.call(n,r)||(n[u[r]||r]=this.attributes[r].map((function(e,n){return e.edit(t,n)})).join(""));return-1!==["button","a"].indexOf(this.tag)&&(n.onClick=function(t){return t.preventDefault(),!1}),n.key=e,a.createElement(this.tag,n,this.renderChildren(this.children,t,"edit"))},e}(s.default);e.default=c},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=i(n(70)),a=n(1),u=function(t){function e(e){var n=t.call(this)||this;return n.children=e,n}return o(e,t),e.prototype.save=function(t){return a.createElement(a.Fragment,null,this.renderChildren(this.children,t,"save"))},e.prototype.edit=function(t){return a.createElement(a.Fragment,null,this.renderChildren(this.children,t,"edit"))},e}(s.default);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.openGeneralSidebar=void 0;var r=n(19);e.openGeneralSidebar=function(t,e){void 0===t&&(t="yoast-seo/seo-sidebar"),void 0===e&&(e=!1);var n=!1===r.select("core/edit-post").isEditorSidebarOpened();(e||n)&&r.select("core/edit-post").getActiveGeneralSidebarName()!==t&&r.dispatch("core/edit-post").openGeneralSidebar(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return Object.prototype.hasOwnProperty.call(t.attributes,e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),o=n(87);e.default=function(t,e){var n=t.attributes[e];return"number"==typeof n||("string"==typeof n&&(n=(n=o.stripAllTags(n)).trim()),!r.isEmpty(n))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function t(e){if(!e)return[];var n=[e];return e.issues.forEach((function(e){n=n.concat(t(e))})),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getValidationResultForClientId=e.getValidationResults=void 0;var r=n(19),o=n(48);function i(){var t=r.select(o.YOAST_SCHEMA_BLOCKS_STORE_NAME).getSchemaBlocksValidationResults();return t?Object.values(t):[]}e.getValidationResults=i,e.getValidationResultForClientId=function t(e,n){n||(n=i());for(var r=0,o=n;r<o.length;r++){var s=o[r];if(s.clientId===e)return s;if(s.issues.length>0){var a=t(e,s.issues);if(a)return a}}return null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resetBlockValidation=e.addBlockValidation=void 0;var r=n(90);e.addBlockValidation=function(t){return r.AddBlockValidationCommand(t)},e.resetBlockValidation=function(){return r.ResetBlockValidationCommand()}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.schemaBlocksReducer=void 0;var r=n(90),o=n(113);e.schemaBlocksReducer=function(t,e){switch(void 0===t&&(t=o.SchemaBlocksDefaultState),e.type){case r.SchemaBlocksStoreActions.RESET_BLOCK_VALIDATIONS:return o.SchemaBlocksDefaultState;case r.SchemaBlocksStoreActions.ADD_BLOCK_VALIDATION:var n=Object.assign({},t),i=e.validation;return n.validations=n.validations||{},n.validations[i.name]=i,n;default:return t}}},function(t,e,n){"use strict";var r=this&&this.__spreadArray||function(t,e){for(var n=0,r=e.length,o=t.length;n<r;n++,o++)t[o]=e[n];return t},o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.getBlockNames=e.getRecommendedBlockNames=e.getRequiredBlockNames=e.getValidationsForBlockNames=e.getValidationResultForClientId=e.getSchemaBlocksValidationResults=void 0;var i=n(113),s=n(272),a=o(n(25));function u(t){return t.validations||i.SchemaBlocksDefaultState.validations}e.getSchemaBlocksValidationResults=u,e.getValidationResultForClientId=function(t,e){var n=u(t);a.default.debug("stored validations:",n);var r=Object.values(n);return s.recursivelyFind(r,(function(t){return t.clientId===e}))},e.getValidationsForBlockNames=function(t,e){var n=u(t);return Object.values(n).filter((function(t){return e.includes(t.name)}))},e.getRequiredBlockNames=function(){return["yoast/job-description","yoast/job-location"]},e.getRecommendedBlockNames=function(){return["yoast/job-application-closing-date","yoast/job-employment-type","yoast/job-salary","yoast/job-requirements","yoast/job-benefits","yoast/job-apply-button"]},e.getBlockNames=function(){return r(r([],["yoast/job-application-closing-date","yoast/job-employment-type","yoast/job-salary","yoast/job-requirements","yoast/job-benefits","yoast/job-apply-button"]),["yoast/job-description","yoast/job-location"])}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.recursivelyFind=void 0,e.recursivelyFind=function t(e,n){for(var r=0,o=e;r<o.length;r++){var i=o[r];if(n(i))return i;if(i.issues.length>0){var s=t(i.issues,n);if(s)return s}}return null}},function(t,e,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),i=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),s=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&o(e,t,n);return i(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.initializeSchemaBlocksStore=void 0;var a=n(19),u=n(113),c=n(90),l=n(149),f=s(n(150)),p=n(48);e.initializeSchemaBlocksStore=function(){var t={reducer:l.schemaBlocksReducer,selectors:r({},f),actions:r({},c.schemaBlocksActions),initialState:u.SchemaBlocksDefaultState};a.registerStore(p.YOAST_SCHEMA_BLOCKS_STORE_NAME,t)}},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=n(23),a=n(1),u=n(275),c=n(4),l=i(n(20)),f=n(3),p=n(141),d=n(91),h=n(18),_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.edit=function(t){var n=this,r=t.attributes,o=t.setAttributes,i=e.getDateFormat(),l=u.dateI18n(i,r[this.options.name],!1),p=a.useState(l),d=p[0],h=p[1],_=c.__("Select a date","wordpress-seo");r[this.options.name]&&(_=u.format("Y-m-d",r[this.options.name]));var y=f.useCallback((function(t){var e,r=t?t.split("T")[0]:null;o(((e={})[n.options.name]=r,e)),h(u.dateI18n(i,r,!1))}),[t,i,h]),v=f.useCallback((function(t){return a.createElement("button",{onClick:t.onToggle,"aria-expanded":t.isOpen},_)}),[d]),m=f.useCallback((function(){return a.createElement("div",{className:"yoast-block-date-picker"},a.createElement(s.DateTimePicker,{currentDate:r[n.options.name]?d:null,onChange:y}))}),[d,y]);return a.createElement(s.Dropdown,{className:"yoast-block-date-picker-container",position:"bottom center",renderToggle:v,renderContent:m})},e.getDateFormat=function(){return u.__experimentalGetSettings().formats.date},e.prototype.save=function(t){var n=t.attributes[this.options.name];if(!n)return null;var r=e.getDateFormat();return a.createElement("time",{dateTime:n},u.dateI18n(r,n,!1))},e.prototype.configuration=function(){var t;return{attributes:(t={},t[this.options.name]={type:"string"},t)}},e.prototype.validate=function(t){var e=t.attributes[this.options.name],n=d.getPresence(this.options),r=h.BlockValidation.Unknown;return r=e&&e.trim().length>0?h.BlockValidation.Valid:n===h.BlockPresence.Required?h.BlockValidation.MissingRequiredAttribute:h.BlockValidation.MissingRecommendedAttribute,new p.BlockValidationResult(t.clientId,this.constructor.name,r,n)},e}(l.default);e.default=_,l.default.register("date",_)},function(t,e){t.exports=window.wp.date},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(23),i=n(4),s=n(3),a=r(n(277)),u=[1,2,3,4,5,6],c={className:"block-library-heading-level-dropdown",isAlternate:!0};e.default=function(t){var e=t.selectedLevel,n=t.onChange,r=s.useCallback((function(t){var n=t.onToggle,r=t.isOpen,u=s.useCallback((function(t){r||"ArrowDown"!==t.key||(t.preventDefault(),t.stopPropagation(),n())}),[n]);return s.createElement(o.ToolbarButton,{"aria-expanded":r,"aria-haspopup":"true",icon:s.createElement(a.default,{level:e}),label:i.__("Change heading level","wordpress-seo"),onClick:n,onKeyDown:u,showTooltip:!0,title:i.__("Change heading level","wordpress-seo")})}),[]),l=s.useCallback((function(){return s.createElement(o.Toolbar,{className:"block-library-heading-level-toolbar",label:i.__("Change heading level","wordpress-seo")},s.createElement(o.ToolbarGroup,{isCollapsed:!1,controls:u.map((function(t){var r=t===e;return{icon:s.createElement(a.default,{level:t}),title:i.sprintf(// translators: %s: heading level e.g: "1", "2", "3"
i.__("Heading %d","wordpress-seo"),t),isActive:r,onClick:function(){n(t)}}}))}))}),[]);return s.createElement(o.Dropdown,{popoverProps:c,renderToggle:r,renderContent:l})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(23),o=n(3);e.default=function(t){var e=t.level;return o.createElement(r.SVG,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},o.createElement(r.Path,{d:{1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"}[e]}))}},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=n(1),a=i(n(20)),u=n(71),c=n(42),l=i(n(25)),f=n(47),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.sidebar=function(t,e){var n=[];this.options.parents&&(n=u.getParentIdOfType(t.clientId,this.options.parents));var r=c.getBlockByClientId(t.clientId),o=[];return n.length>0&&n.forEach((function(t){var e=c.getBlockByClientId(t),n=f.getBlockDefinition(e.name);if(n){l.default.debug(r.name+" inherited sidebar from "+e.name+" definition");var i=u.createBlockEditProps(e);o.push.apply(o,n.sidebarElements(i))}})),s.createElement(s.Fragment,null,o)},e.prototype.configuration=function(){var t;return{attributes:(t={},t[this.options.name]={parents:this.options.parents},t)}},e}(a.default);e.default=p,a.default.register("inherit-sidebar",p)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=n(46);e.default=function(t){var e=t.clientId,n=t.label;return r.createElement("div",{"data-root-client-id":e,className:"wp-block block-editor-default-block-appender"},r.createElement("p",{className:"block-editor-default-block-appender__content yoast-schema-block-appender__content"},n),r.createElement(o.Inserter,{rootClientId:e,position:"bottom right"}))}},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=i(n(20)),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getBaseAttributes=function(t,e){var n={tagName:this.options.tag,value:t.attributes[this.options.name],className:this.options.class,"data-id":this.options.name,key:e};return this.options.multiline&&(n.multiline=this.options.multiline),n},e}(i(n(153)).default);e.default=a,s.default.register("rich-text",a)},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=i(n(20)),a=n(23),u=n(1),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.sidebar=function(t){var e=this,n=this.options,r=n.name,o=n.label,i=n.help,s=u.useCallback((function(n){var r;t.setAttributes(((r={})[e.options.name]=n,r))}),[t]);return u.createElement(a.CheckboxControl,{checked:t.attributes[r],label:o,onChange:s,help:i})},e.prototype.save=function(t){return t.attributes[this.options.name]&&this.options.output?this.options.output:null},e.prototype.configuration=function(){var t;return{attributes:(t={},t[this.options.name]={type:"boolean"},t)}},e}(s.default);s.default.register("sidebar-checkbox",c)},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=i(n(155)),a=n(1),u=n(23),c=n(4),l=i(n(20));function f(t,e,n){var r,o;n.isValid()&&0!==n.asMinutes()?t.setAttributes(((o={})[e]=n.toISOString(),o)):t.setAttributes(((r={})[e]=null,r))}var p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.sidebar=function(t,e){var n=this,r="",o=s.default.duration(NaN);"string"==typeof t.attributes[this.options.name]?o=s.default.duration(t.attributes[this.options.name]):"string"==typeof this.options.default&&(o=s.default.duration(this.options.default)),"string"==typeof this.options.label&&(r=this.options.label+" ");var i=Math.floor(o.asHours()),l=o.minutes(),p={label:r+c.__("hours","wordpress-seo"),value:isNaN(i)||0===i?"":i,onChange:function(e){var r=s.default.duration({hours:parseInt(e,10),minutes:l||0});f(t,n.options.name,r)},type:"number",key:"hours"},d={label:r+c.__("minutes","wordpress-seo"),value:isNaN(l)||0===l?"":l,onChange:function(e){var r=s.default.duration({hours:i||0,minutes:parseInt(e,10)});f(t,n.options.name,r)},type:"number",key:"minutes"};return this.options.help&&(p.help=this.options.help,d.help=this.options.help),a.createElement(a.Fragment,{key:e},[a.createElement(u.TextControl,p),a.createElement(u.TextControl,d)])},e.prototype.configuration=function(){var t;return{attributes:(t={},t[this.options.name]={type:"string",required:!0===this.options.required},t)}},e.prototype.value=function(t){var e=s.default.duration(NaN);return"string"==typeof t.attributes[this.options.name]?e=s.default.duration(t.attributes[this.options.name]):"string"==typeof this.options.default&&(e=s.default.duration(this.options.default)),e.isValid()?e.humanize():""},e}(i(n(114)).default);l.default.register("sidebar-duration",p)},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=n(1),a=n(23),u=i(n(20)),c=i(n(114)),l=i(n(156)),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.sidebar=function(t,e){var n=this,r={label:this.options.label,value:t.attributes[this.options.name],className:this.options.className,placeholder:this.options.placeholder,onChange:function(e){var r,o="number"===n.options.type?parseInt(e,10):e;t.setAttributes(((r={})[n.options.name]=o,r))},key:e};return this.options.help&&(r.help=this.options.help),this.options.type&&(r.type=this.options.type),this.options.helpLink&&(r.label=l.default({text:r.label,URL:this.options.helpLink})),s.createElement(a.TextControl,r)},e.prototype.configuration=function(){var t;return{attributes:(t={},t[this.options.name]={type:"number"===this.options.type?"number":"string",required:!0===this.options.required},t)}},e.prototype.value=function(t){return t.attributes[this.options.name]||this.options.default||""},e}(c.default);u.default.register("sidebar-input",f)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HelpLink=void 0;var r=n(1);e.HelpLink=function(t){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 0 20 18",fill:"currentColor",height:"15",width:"22"},r.createElement("a",{className:"yoast-question-mark-icon",href:t.URL,rel:"noopener noreferrer",target:"_blank"},r.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113\n\t\t\t\t8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})))}},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=n(1),a=n(23),u=i(n(20)),c=n(151),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.sidebar=function(t,e){var n=this,r={label:this.options.label,value:t.attributes[this.options.name],options:c.arrayOrObjectToOptions(this.options.options),onChange:function(e){var r;return t.setAttributes(((r={})[n.options.name]=e,r))},key:e,multiple:this.options.multiple||!1};return s.createElement(a.SelectControl,r)},e.prototype.configuration=function(){var t;return{attributes:(t={},t[this.options.name]={type:!0===this.options.multiple?"array":"string",required:!0===this.options.required},t)}},e.prototype.value=function(t){return t.attributes[this.options.name]||c.arrayOrObjectToOptions(this.options.options)[0].value},e}(i(n(114)).default);u.default.register("sidebar-select",l)},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=n(3),a=n(23),u=n(1),c=i(n(20)),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.edit=function(t){var e=this,n=this.options,r=n.hideLabelFromVision,o=n.label,i=n.type,c=n.placeholder,l=t.attributes[this.options.name],f=s.useCallback((function(n){var r;t.setAttributes(((r={})[e.options.name]=n,r))}),[t]);return u.createElement(a.TextControl,{className:t.className,hideLabelFromVision:r,label:o,onChange:f,type:i,placeholder:c,value:l})},e.prototype.save=function(t){return t.attributes[this.options.name]},e.prototype.configuration=function(){var t;return{attributes:(t={},t[this.options.name]={type:"string"},t)}},e}(c.default);e.default=l,c.default.register("text-input",l)},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=n(4),a=n(152),u=n(18),c=i(n(20)),l=n(18),f=n(112),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.isCompleted=function(t){return f.attributeExists(t,this.options.name)&&f.attributeNotEmpty(t,this.options.name)},e.prototype.validate=function(t){return this.isCompleted(t)?u.BlockValidationResult.Valid(t):new u.BlockValidationResult(t.clientId,t.name,u.BlockValidation.MissingRequiredAttribute,l.BlockPresence.Required,s.sprintf(
/* Translators: %s expands to the label of the title field in the block sidebar. */
s.__("%s has been left empty.","wordpress-seo"),this.options.fieldName))},e.prototype.renderable=function(){return!1},e}(a.Heading);c.default.register("title",p)},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=i(n(20)),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.configuration=function(){return{variations:[this.options]}},e.prototype.renderable=function(){return!1},e}(s.default);e.default=a,s.default.register("variation",a)},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.VariationPicker=void 0;var a=n(19),u=n(1),c=n(68),l=n(18),f=s(n(290)),p=n(71),d=n(91),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.edit=function(t,e,n){return a.useSelect((function(e){return e("core/block-editor").getBlock(t.clientId)}),[t.clientId]).innerBlocks.length>0?null:u.createElement(f.default,i({},t,{key:"variation-picker-"+n}))},e.prototype.validate=function(t){var e=d.getPresence(this.options),n=p.getParent(t.clientId),r=n?n.name:this.constructor.name;if(function(t){return t.innerBlocks&&t.innerBlocks.length>0}(t))return l.BlockValidationResult.Valid(t,r,e);var o=e===l.BlockPresence.Required?l.BlockValidation.MissingRequiredVariation:l.BlockValidation.MissingRecommendedVariation;return new l.BlockValidationResult(t.clientId,r,o,e)},e}(c.BlockInstruction);e.VariationPicker=h,c.BlockInstruction.register("variation-picker",h)},function(t,e,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var o=n(19),i=n(46),s=n(69),a=n(2),u=n(1);e.default=function(t){var e=t.clientId,n=t.name,c=t.setAttributes,l=o.useSelect((function(t){var e=t("core/blocks"),r=e.getBlockVariations,o=e.getBlockType,i=e.getDefaultBlockVariation;return{blockType:o(n),defaultVariation:i(n,"block"),variations:r(n,"block")}}),[n]),f=l.blockType,p=l.defaultVariation,d=l.variations,h=o.useDispatch("core/block-editor").replaceInnerBlocks,_=i.useBlockProps(),y=u.useCallback((function(t){void 0===t&&(t=p),t.attributes&&c(t.attributes),t.innerBlocks&&h(e,function t(e){return a.map(e,(function(e){var n=e.name,r=e.attributes,o=void 0===r?{}:r,i=e.innerBlocks,a=void 0===i?[]:i;return s.createBlock(n,o,t(a))}))}(t.innerBlocks),!0)}),null);return u.createElement("div",r({},_),u.createElement(i.__experimentalBlockVariationPicker,{icon:!1,label:a.get(f,["title"]),variations:d.map((function(t){return r(r({},t),{icon:u.createElement("span",{dangerouslySetInnerHTML:{__html:t.icon}})})})),onSelect:y,allowSkip:!1}))}},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=n(4),a=n(23),u=i(n(155)),c=n(3),l=i(n(20)),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.save=function(t){var e=t.attributes.value||0;
/* translators: %d will be replaced with the number of minutes. */return c.createElement("p",{className:t.className},s.sprintf(s.__("%d minutes","wordpress-seo"),e))},e.prototype.edit=function(t){var e=this,n=c.useCallback((function(n){var r;void 0===n&&(n="0"),n=Math.abs(n),t.setAttributes(((r={value:Number(n).toString()})[e.options.name+"-iso8601-duration"]=e.convertToISOString(n),r))}),[t.attributes.value]);return c.createElement("div",{className:"yoast-schema-flex yoast-schema-duration"},c.createElement(a.TextControl,{type:"number",min:0,placeholder:"#","aria-label":s.__("Cooking time","wordpress-seo"),className:"minutes-input",onChange:n,value:t.attributes.value}),c.createElement("p",null," ",s.__("minutes","wordpress-seo")))},e.prototype.configuration=function(){var t;return{attributes:(t={value:{type:"string",default:Number(0).toString()}},t[this.options.name+"-iso8601-duration"]={type:"string",default:this.convertToISOString(0)},t)}},e.prototype.convertToISOString=function(t){return u.default.duration(t,"minutes").toISOString()},e}(l.default);e.default=f,l.default.register("duration",f)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(293),n(294),n(295),n(296),n(303),n(305),n(306),n(157),n(307),n(308),n(158)},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=i(n(29)),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(t){return t.attributes[this.options.name]||this.options.default},e}(s.default);e.default=a,s.default.register("attribute",a)},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=i(n(29)),a=n(71),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(t){return a.getBlockSchemaId(t)},e}(s.default);s.default.register("block-id",u)},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=i(n(29)),a=n(87),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(t){var e=t.attributes[this.options.name]||this.options.default;return void 0===e?null:a.stripTags(e,this.options.allowedTags)},e}(s.default);e.default=u,s.default.register("html",u)},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=n(19),a=i(n(29)),u=n(92),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(t){var e=this,n=s.select("core/block-editor").getBlocksByClientId(t.clientId)[0].innerBlocks,r=[],o=function(t){u.schemaDefinitions[t.name]?r.push(t):t.innerBlocks.forEach((function(t){o(t)}))};n.forEach((function(t){o(t)})),n=r,this.options.allowedBlocks&&(n=n.filter((function(t){return e.options.allowedBlocks.includes(t.name)}))),!0===this.options.onlyFirst&&(n=n.slice(0,1));var i=n.map((function(t){var e=u.schemaDefinitions[t.name];return e?e.render(t):null})).filter((function(t){return null!==t}));return!0===this.options.onlyFirst?i[0]:i},e}(a.default);a.default.register("inner-blocks",c)},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=r(n(298)),s=r(n(299)),a=r(n(300)),u=r(n(301)),c=r(n(302));e.default=function(t){var e=JSON.parse(t.template);return t.tree=function t(e,n){if(Array.isArray(e)){var r=e.map((function(e){return t(e,n)}));return new s.default(r)}if("object"==typeof e){var l=o.mapValues(e,(function(e){return t(e,n)}));return new i.default(l)}if("number"==typeof e){var f=e.toString();if(f.startsWith(n.separator)&&f.endsWith(n.separator)){var p=f.slice(n.separator.length,-n.separator.length);return new a.default(n.instructions[p])}return new u.default(e)}if("string"==typeof e){if(-1===e.indexOf(n.separator))return new u.default(e);var d=e.split(n.separator).map((function(t,e){return e%2?n.instructions[t]:t})).filter((function(t){return""!==t}));return new c.default(d)}return new u.default(e)}(e,t),t}},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=n(2),a=function(t){function e(e){var n=t.call(this)||this;return n.object=e,n}return o(e,t),e.prototype.render=function(t){for(var e=s.mapValues(this.object,(function(e){return e.render(t)})),n=0,r=Object.entries(e);n<r.length;n++){var o=r[n],i=o[0];null==o[1]&&delete e[i]}return e},e}(i(n(72)).default);e.default=a},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(e){var n=t.call(this)||this;return n.array=e,n}return o(e,t),e.prototype.render=function(t){return this.array.map((function(e){return e.render(t)}))},e}(i(n(72)).default);e.default=s},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(e){var n=t.call(this)||this;return n.instruction=e,n}return o(e,t),e.prototype.render=function(t){return this.instruction.render(t)},e}(i(n(72)).default);e.default=s},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(e){var n=t.call(this)||this;return n.constant=e,n}return o(e,t),e.prototype.render=function(){return this.constant},e}(i(n(72)).default);e.default=s},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=i(n(72)),a=i(n(25)),u=function(t){function e(e){var n=t.call(this)||this;return n.values=e,n}return o(e,t),e.prototype.render=function(t){return this.values.map((function(e){return"string"==typeof e?e:(e||a.default.warning("cannot render value ",e),e.render(t))})).join("")},e}(s.default);e.default=u},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=i(n(29)),a=n(87),u=n(304),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(t){var e=u.getInnerBlocksAttributes(t.clientId,this.options.blocks);if(!0===this.options.onlyFirst?e=e.slice(0,1):!0===this.options.skipFirst&&(e=e.slice(1)),0===e.length&&this.options.nullWhenEmpty)return null;var n=e.map((function(t){return t.value})).join(this.options.split||" ");return a.stripTags(n,this.options.allowedTags)},e}(s.default);s.default.register("inner-blocks-html",c)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getInnerBlocksAttributes=void 0;var r=n(19);e.getInnerBlocksAttributes=function(t,e){for(var n=r.select("core/block-editor").getBlock(t).innerBlocks,o=[],i=0,s=n=n.filter((function(t){return t.name in e}));i<s.length;i++){var a=s[i],u=e[a.name];o.push({name:a.name,value:a.attributes[u]})}return o}},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=i(n(29)),a=n(19),u=n(71),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(t){var e=this,n=a.select("core/block-editor").getBlocksByClientId(t.clientId)[0].innerBlocks;if(this.options.allowedBlocks&&(n=n.filter((function(t){return e.options.allowedBlocks.includes(t.name)}))),!0===this.options.onlyFirst?n=n.slice(0,1):!0===this.options.skipFirst&&(n=n.slice(1)),0===n.length&&this.options.nullWhenEmpty)return null;var r=n.map((function(t){return{"@id":u.getBlockSchemaId(t)}}));return 1===r.length?r[0]:r},e}(s.default);s.default.register("inner-blocks-id",c)},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=i(n(29)),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(t){var e=t.attributes.employmentType,n=t.attributes,r=n.isVolunteer,o=n.isInternship;if(!r&&!o)return e;var i=[e];return r&&i.push("VOLUNTEER"),o&&i.push("INTERN"),i},e}(s.default);e.default=a,s.default.register("job-employment-type",a)},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=n(19),a=i(n(29)),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(){return s.select("core/editor").getPermalink()},e}(a.default);a.default.register("permalink",u)},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var s=i(n(29)),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(e){return t.prototype.render.call(this,e).map((function(t){return{"@type":"HowToStep",text:t}}))},e}(i(n(157)).default);e.default=a,s.default.register("recipe-instructions",a)},function(t,e){t.exports=window.wp.plugins},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WarningBlock=void 0;var r=n(311);e.WarningBlock={title:"Warning",category:"common",attributes:{removedBlock:{type:"object"},warningText:{type:"string"},isRequired:{type:"boolean"}},supports:{inserter:!1},edit:r.edit,save:function(){return null}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.edit=void 0;var r=n(1),o=n(4),i=n(42);e.edit=function(t){var e=t.clientId,n=t.attributes,s=n.removedBlock,a=n.warningText,u=n.isRequired;return r.createElement("div",{key:"warning-div",className:["yoast-warning-block",u?"required":"recommended"].join(" ")},[r.createElement("p",{key:"warning-paragraph",className:"yoast-warning-block-message",dangerouslySetInnerHTML:{__html:a}}),r.createElement("div",{key:"buttons-div"},[r.createElement("button",{key:"button-yes",onClick:function(){i.removeBlock(e)}},o.__("Yes","wordpress-seo")),r.createElement("button",{key:"button-no",onClick:function(){i.restoreBlock(e,s)}},o.__("No, please undo this","wordpress-seo"))])])}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.processBlock=e.processSchema=void 0;var o=n(2),i=r(n(144)),s=r(n(20)),a=r(n(92)),u=r(n(29)),c=r(n(25)),l=n(313),f=r(n(314)),p=0;function d(t,e){if(t.isA("array-open"))return function(t){var e=[];for(t.shift();!t[0].isA("array-close");)e.push(d(t[0],t));return t.shift(),e}(e);if(t.isA("object-open"))return function(t){var e={};for(t.shift();!t[0].isA("object-close");){if(!t[0].isA("key"))throw"Template parse error: Object must contain key-value pairs";e[t.shift().value]=d(t[0],t)}return t.shift(),e}(e);if(t.isA("empty-object"))return e.shift(),{};if(t.isA("value"))return e.shift().value;throw"Invalid token found."}function h(t,e,n,r){var i={name:t.value},s=n.create(t.value,function(t){do{p++}while(t.includes(p.toString()));return p}(r),i);if(s){for(;e[0]&&e[0].isA("key");){var a=o.camelCase(e.shift().value);s.options[a]=d(e[0],e)}return s}c.default.error("Could not instantiate instuctionClass "+n.name)}function _(t,e,n){for(var r=f.default(t),o=l.generateUniqueSeparator(t,e.separatorCharacters),i=new e(o);;){var s=r.shift();if(!s)break;if(s.isA("constant"))i.template+=s.value;else if(s.isA("definition")){var a=h(s,r,n,o);i.instructions[a.id]=a,a.renderable()&&(i.template+=o+a.id+o)}}return e.parser(i)}e.processSchema=function(t){return _(t,a.default,u.default)},e.processBlock=function(t){return _(t,i.default,s.default)},e.default=_},function(t,e,n){"use strict";function r(t,e){for(var n="",r=0;r<t;r++)n+=e[Math.floor(Math.random()*e.length)];return n}Object.defineProperty(e,"__esModule",{value:!0}),e.generateUniqueSeparator=e.generateSeparator=void 0,e.generateSeparator=r,e.generateUniqueSeparator=function(t,e){for(var n=2;;){var o=r(Math.floor(n),e);if(-1===t.indexOf(o))return o;n+=.2}}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=new(r(n(315)).default);o.rule("default",/(.*?)({{[a-zA-Z-]+|$)/,(function(t,e){e[1]&&e[1].length>0&&t.accept("constant",e[1]),e[2]&&"{{"===e[2].slice(0,2)&&(t.state("definition"),t.accept("definition",e[2].slice(2)),t.data("nested",[]))}),"open-instruction"),o.rule("definition",/\s*}}/,(function(t){t.untag("undefined"),t.state("default"),t.ignore()}),"close-instruction"),o.rule("definition",/\s*([a-zA-Z][a-zA-Z0-9-_]*)=/,(function(t,e){t.accept("key",e[1]),t.state("definition-value")}),"options-object-key"),o.rule("definition-value",/\s*\{\s*}/,(function(t){t.accept("empty-object"),t.tagged("array")||t.tagged("object")||t.state("definition")}),"empty-object"),o.rule("definition-value",/\s*\{/,(function(t){t.tag("object"),t.accept("object-open"),t.state("definition-key");var e=t.data("nested");e.push("object"),t.data("nested",e),t.tagged("array")&&t.untag("array")}),"open-object"),o.rule("definition-value #object",/\s*}/,(function(t){var e=t.data("nested");if(e.pop(),t.data("nested",e),t.accept("object-close"),0===e.length)return t.untag("object"),void t.state("definition");"array"===e[e.length-1]&&(t.untag("object"),t.tag("array"))}),"close-object"),o.rule("definition-key #object",/\s*"([^"\\]+|\\.)*":/,(function(t,e){t.accept("key",e[1]),t.state("definition-value")}),"object-key"),o.rule("definition-value #object",/\s*,/,(function(t){t.state("definition-key"),t.ignore()}),"object-comma"),o.rule("definition-value",/\s*\[/,(function(t){t.tag("array"),t.accept("array-open");var e=t.data("nested");e.push("array"),t.data("nested",e),t.tagged("object")&&t.untag("object")}),"open-array"),o.rule("definition-value #array",/\s*]/,(function(t){var e=t.data("nested");if(e.pop(),t.data("nested",e),t.accept("array-close"),0===e.length)return t.untag("array"),void t.state("definition");"object"===e[e.length-1]&&(t.untag("array"),t.tag("object"))}),"close-array"),o.rule("definition-value #array",/\s*,/,(function(t){t.ignore()}),"array-comma"),o.rule("definition-value",/\s*(\d+)/,(function(t,e){t.accept("value",parseInt(e[1],10)),t.tagged("array")||t.tagged("object")||t.state("definition")}),"number-value"),o.rule("definition-value",/\s*(true|false)/,(function(t,e){t.accept("value","true"===e[1]),t.tagged("array")||t.tagged("object")||t.state("definition")}),"boolean-value"),o.rule("definition-value",/\s*"([^"\\]+|\\.)*"/,(function(t,e){t.accept("value",e[1]),t.tagged("array")||t.tagged("object")||t.state("definition")}),"string-value"),e.default=function(t){return o.reset(),o.input(t),o.tokens()}},function(t,e,n){t.exports=function t(e,n,r){function o(s,a){if(!n[s]){if(!e[s]){if(i)return i(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[s]={exports:{}};e[s][0].call(c.exports,(function(t){return o(e[s][1][t]||t)}),c,c.exports,t,e,n,r)}return n[s].exports}for(var i=!1,s=0;s<r.length;s++)o(r[s]);return o}({1:[function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function i(t){var e="function"==typeof Map?new Map:void 0;return(i=function(t){if(null===t||!function(t){return-1!==Function.toString.call(t).indexOf("[native code]")}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return s(t,arguments,c(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),u(n,t)})(t)}function s(t,e,n){return(s=a()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&u(o,n.prototype),o}).apply(null,arguments)}function a(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t,e,n){return e&&f(t.prototype,e),n&&f(t,n),t}var d=function(t,e){var n=t.length,r=e-20;r<0&&(r=0);var o=e+20;o>n&&(o=n);var i=function(t){return t.charCodeAt(0).toString(16).toUpperCase()},s=function(t,e,n){return t.substr(e,n).replace(/\\/g,"\\\\").replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,(function(t){return"\\x0"+i(t)})).replace(/[\x10-\x1F\x80-\xFF]/g,(function(t){return"\\x"+i(t)})).replace(/[\u0100-\u0FFF]/g,(function(t){return"\\u0"+i(t)})).replace(/[\u1000-\uFFFF]/g,(function(t){return"\\u"+i(t)}))};return{prologTrunc:r>0,prologText:s(t,r,e-r),tokenText:s(t,e,1),epilogText:s(t,e+1,o-(e+1)),epilogTrunc:o<n}},h=function(){function t(e,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;l(this,t),this.type=e,this.value=n,this.text=r,this.pos=o,this.line=i,this.column=s}return p(t,[{key:"toString",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(t,e){return e};return"".concat(t("type",this.type)," ")+"(value: ".concat(t("value",JSON.stringify(this.value)),", ")+"text: ".concat(t("text",JSON.stringify(this.text)),", ")+"pos: ".concat(t("pos",this.pos),", ")+"line: ".concat(t("line",this.line),", ")+"column: ".concat(t("column",this.column),")")}},{key:"isA",value:function(t,e){return t===this.type&&(2!==arguments.length||e===this.value)}}]),t}(),_=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(n,i(Error));var e=function(t){var e=a();return function(){var n,r=c(t);if(e){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return o(this,n)}}(n);function n(t,r,o,i,s){var a;return l(this,n),(a=e.call(this,t)).name="ParsingError",a.message=t,a.pos=r,a.line=o,a.column=i,a.input=s,a}return p(n,[{key:"toString",value:function(){for(var t=d(this.input,this.pos),e="line ".concat(this.line," (column ").concat(this.column,"): "),n="",r=0;r<e.length+t.prologText.length;r++)n+=" ";return"Parsing Error: "+this.message+"\n"+e+t.prologText+t.tokenText+t.epilogText+"\n"+n+"^"}}]),n}(),y=function(){function t(e){l(this,t),this._tokenizr=e,this._data={},this._repeat=!1,this._reject=!1,this._ignore=!1,this._match=null}return p(t,[{key:"data",value:function(t,e){var n=this._data[t];return 2===arguments.length&&(this._data[t]=e),n}},{key:"info",value:function(){return{line:this._tokenizr._line,column:this._tokenizr._column,pos:this._tokenizr._pos,len:this._match[0].length}}},{key:"push",value:function(){var t;return(t=this._tokenizr).push.apply(t,arguments),this}},{key:"pop",value:function(){var t;return(t=this._tokenizr).pop.apply(t,arguments)}},{key:"state",value:function(){var t,e;return arguments.length>0?((e=this._tokenizr).state.apply(e,arguments),this):(t=this._tokenizr).state.apply(t,arguments)}},{key:"tag",value:function(){var t;return(t=this._tokenizr).tag.apply(t,arguments),this}},{key:"tagged",value:function(){var t;return(t=this._tokenizr).tagged.apply(t,arguments)}},{key:"untag",value:function(){var t;return(t=this._tokenizr).untag.apply(t,arguments),this}},{key:"repeat",value:function(){return this._tokenizr._log("    REPEAT"),this._repeat=!0,this}},{key:"reject",value:function(){return this._tokenizr._log("    REJECT"),this._reject=!0,this}},{key:"ignore",value:function(){return this._tokenizr._log("    IGNORE"),this._ignore=!0,this}},{key:"accept",value:function(t,e){return arguments.length<2&&(e=this._match[0]),this._tokenizr._log("    ACCEPT: type: ".concat(t,", value: ")+"".concat(JSON.stringify(e)," (").concat(r(e),'), text: "').concat(this._match[0],'"')),this._tokenizr._pending.push(new h(t,e,this._match[0],this._tokenizr._pos,this._tokenizr._line,this._tokenizr._column)),this}},{key:"stop",value:function(){return this._tokenizr._stopped=!0,this}}]),t}(),v=function(){function t(){l(this,t),this._before=null,this._after=null,this._finish=null,this._rules=[],this._debug=!1,this.reset()}return p(t,[{key:"reset",value:function(){return this._input="",this._len=0,this._eof=!1,this._pos=0,this._line=1,this._column=1,this._state=["default"],this._tag={},this._transaction=[],this._pending=[],this._stopped=!1,this._ctx=new y(this),this}},{key:"error",value:function(t){return new _(t,this._pos,this._line,this._column,this._input)}},{key:"debug",value:function(t){return this._debug=t,this}},{key:"_log",value:function(t){this._debug&&console.log("tokenizr: ".concat(t))}},{key:"input",value:function(t){if("string"!=typeof t)throw new Error('parameter "input" not a String');return this.reset(),this._input=t,this._len=t.length,this}},{key:"push",value:function(t){if(1!==arguments.length)throw new Error("invalid number of arguments");if("string"!=typeof t)throw new Error('parameter "state" not a String');return this._log("    STATE (PUSH): "+"old: <".concat(this._state[this._state.length-1],">, ")+"new: <".concat(t,">")),this._state.push(t),this}},{key:"pop",value:function(){if(0!==arguments.length)throw new Error("invalid number of arguments");if(this._state.length<2)throw new Error("no more custom states to pop");return this._log("    STATE (POP): "+"old: <".concat(this._state[this._state.length-1],">, ")+"new: <".concat(this._state[this._state.length-2],">")),this._state.pop()}},{key:"state",value:function(t){if(1===arguments.length){if("string"!=typeof t)throw new Error('parameter "state" not a String');return this._log("    STATE (SET): "+"old: <".concat(this._state[this._state.length-1],">, ")+"new: <".concat(t,">")),this._state[this._state.length-1]=t,this}if(0===arguments.length)return this._state[this._state.length-1];throw new Error("invalid number of arguments")}},{key:"tag",value:function(t){if(1!==arguments.length)throw new Error("invalid number of arguments");if("string"!=typeof t)throw new Error('parameter "tag" not a String');return this._log("    TAG (ADD): ".concat(t)),this._tag[t]=!0,this}},{key:"tagged",value:function(t){if(1!==arguments.length)throw new Error("invalid number of arguments");if("string"!=typeof t)throw new Error('parameter "tag" not a String');return!0===this._tag[t]}},{key:"untag",value:function(t){if(1!==arguments.length)throw new Error("invalid number of arguments");if("string"!=typeof t)throw new Error('parameter "tag" not a String');return this._log("    TAG (DEL): ".concat(t)),delete this._tag[t],this}},{key:"before",value:function(t){return this._before=t,this}},{key:"after",value:function(t){return this._after=t,this}},{key:"finish",value:function(t){return this._finish=t,this}},{key:"rule",value:function(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unknown";if(2===arguments.length&&"function"==typeof e){var i=[t,e];e=i[0],n=i[1],t="*"}else if(3===arguments.length&&"function"==typeof e){var s=[t,e,n];e=s[0],n=s[1],o=s[2],t="*"}if("string"!=typeof t)throw new Error('parameter "state" not a String');if(!("object"===r(e)&&e instanceof RegExp))throw new Error('parameter "pattern" not a RegExp');if("function"!=typeof n)throw new Error('parameter "action" not a Function');if("string"!=typeof o)throw new Error('parameter "name" not a String');t=t.split(/\s*,\s*/g).map((function(t){var e=t.split(/\s+/g),n=e.filter((function(t){return null===t.match(/^#/)})),r=e.filter((function(t){return null!==t.match(/^#/)})).map((function(t){return t.replace(/^#/,"")}));if(1!==n.length)throw new Error("exactly one state required");return{state:n[0],tags:r}}));var a="g";try{"boolean"==typeof new RegExp("","y").sticky&&(a="y")}catch(t){}return"boolean"==typeof e.multiline&&e.multiline&&(a+="m"),"boolean"==typeof e.dotAll&&e.dotAll&&(a+="s"),"boolean"==typeof e.ignoreCase&&e.ignoreCase&&(a+="i"),"boolean"==typeof e.unicode&&e.unicode&&(a+="u"),e=new RegExp(e.source,a),this._log("rule: configure rule (state: ".concat(t,", pattern: ").concat(e.source,")")),this._rules.push({state:t,pattern:e,action:n,name:o}),this}},{key:"_progress",value:function(t,e){for(var n=this._line,r=this._column,o=this._input,i=t;i<e;i++){var s=o.charAt(i);"\r"===s?this._column=1:"\n"===s?(this._line++,this._column=1):"\t"===s?this._column+=8-this._column%8:this._column++}this._log("    PROGRESS: characters: ".concat(e-t,", ")+"from: <line ".concat(n,", column ").concat(r,">, ")+"to: <line ".concat(this._line,", column ").concat(this._column,">"))}},{key:"_tokenize",value:function(){var t=this,e=function(){t._eof||(null!==t._finish&&t._finish.call(t._ctx,t._ctx),t._eof=!0,t._pending.push(new h("EOF","","",t._pos,t._line,t._column)))};if(!(this._stopped||this._pos>=this._len)){for(var n=!0;n;){if(n=!1,this._debug){var r=d(this._input,this._pos),o=Object.keys(this._tag).map((function(t){return"#".concat(t)})).join(" ");this._log("INPUT: state: <".concat(this._state[this._state.length-1],">, tags: <").concat(o,">, text: ")+(r.prologTrunc?"...":'"')+"".concat(r.prologText,"<").concat(r.tokenText,">").concat(r.epilogText)+(r.epilogTrunc?"...":'"')+", at: <line ".concat(this._line,", column ").concat(this._column,">"))}for(var i=0;i<this._rules.length;i++){if(this._debug){var s=this._rules[i].state.map((function(t){var e=t.state;return t.tags.length>0&&(e+=" "+t.tags.map((function(t){return"#".concat(t)})).join(" ")),e})).join(", ");this._log("  RULE: state(s): <".concat(s,">, ")+"pattern: ".concat(this._rules[i].pattern.source))}var a=!1,u=this._rules[i].state.map((function(t){return t.state})),c=u.indexOf("*");if(c<0&&(c=u.indexOf(this._state[this._state.length-1])),c>=0){a=!0;var l=this._rules[i].state[c].tags;(l=l.filter((function(e){return!t._tag[e]}))).length>0&&(a=!1)}if(a){this._rules[i].pattern.lastIndex=this._pos;var f=this._rules[i].pattern.exec(this._input);if(this._rules[i].pattern.lastIndex=this._pos,null!==(f=this._rules[i].pattern.exec(this._input))&&f.index===this._pos){if(this._debug&&this._log("    MATCHED: "+JSON.stringify(f)),this._ctx._match=f,this._ctx._repeat=!1,this._ctx._reject=!1,this._ctx._ignore=!1,null!==this._before&&this._before.call(this._ctx,this._ctx,f,this._rules[i]),this._rules[i].action.call(this._ctx,this._ctx,f),null!==this._after&&this._after.call(this._ctx,this._ctx,f,this._rules[i]),this._ctx._reject)continue;if(this._ctx._repeat){n=!0;break}if(this._ctx._ignore){if(this._progress(this._pos,this._rules[i].pattern.lastIndex),this._pos=this._rules[i].pattern.lastIndex,this._pos>=this._len)return void e();n=!0;break}if(this._pending.length>0)return this._progress(this._pos,this._rules[i].pattern.lastIndex),this._pos=this._rules[i].pattern.lastIndex,void(this._pos>=this._len&&e());throw new Error('action of pattern "'+this._rules[i].pattern.source+'" neither rejected nor accepted any token(s)')}}}}throw this.error("token not recognized")}e()}},{key:"token",value:function(){if(0===this._pending.length&&this._tokenize(),this._pending.length>0){var t=this._pending.shift();return this._transaction.length>0&&this._transaction[0].push(t),this._log("TOKEN: ".concat(t.toString())),t}return null}},{key:"tokens",value:function(){for(var t,e=[];null!==(t=this.token());)e.push(t);return e}},{key:"peek",value:function(t){void 0===t&&(t=0);for(var e=0;e<this._pending.length+t;e++)this._tokenize();if(t>=this._pending.length)throw new Error("not enough tokens available for peek operation");return this._log("PEEK: ".concat(this._pending[t].toString())),this._pending[t]}},{key:"skip",value:function(t){void 0===t&&(t=1);for(var e=0;e<this._pending.length+t;e++)this._tokenize();if(t>this._pending.length)throw new Error("not enough tokens available for skip operation");for(;t-- >0;)this.token();return this}},{key:"consume",value:function(t,e){for(var n=this,o=0;o<this._pending.length+1;o++)this._tokenize();if(0===this._pending.length)throw new Error("not enough tokens available for consume operation");var i=this.token();this._log("CONSUME: ".concat(i.toString()));var s=function(){throw new _("expected: <type: ".concat(t,", value: ").concat(JSON.stringify(e)," (").concat(r(e),")>, ")+"found: <type: ".concat(i.type,", value: ").concat(JSON.stringify(i.value)," (").concat(r(i.value),")>"),i.pos,i.line,i.column,n._input)};return 2!==arguments.length||i.isA(t,e)?i.isA(t)||s():s(JSON.stringify(e),r(e)),i}},{key:"begin",value:function(){return this._log("BEGIN: level ".concat(this._transaction.length)),this._transaction.unshift([]),this}},{key:"depth",value:function(){if(0===this._transaction.length)throw new Error("cannot determine depth -- no active transaction");return this._transaction[0].length}},{key:"commit",value:function(){if(0===this._transaction.length)throw new Error("cannot commit transaction -- no active transaction");var t=this._transaction.shift();return this._transaction.length>0&&(this._transaction[0]=this._transaction[0].concat(t)),this._log("COMMIT: level ".concat(this._transaction.length)),this}},{key:"rollback",value:function(){if(0===this._transaction.length)throw new Error("cannot rollback transaction -- no active transaction");var t=this._transaction.shift();return this._pending=t.concat(this._pending),this._log("ROLLBACK: level ".concat(this._transaction.length)),this}},{key:"alternatives",value:function(){for(var t=null,e=[],n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];for(var i=0;i<r.length;i++)try{this.begin(),t=r[i].call(this),this.commit();break}catch(t){this._log("EXCEPTION: ".concat(t.toString())),e.push({ex:t,depth:this.depth()}),this.rollback();continue}if(null===t&&e.length>0)throw(e=e.sort((function(t,e){return t.depth-e.depth})))[0].ex;return t}}]),t}();v.Token=h,v.ParsingError=_,v.ActionContext=y,e.exports=v},{}]},{},[1])(1)},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(60),i=n(92),s=r(n(25));e.default=function(){o.addFilter("blocks.registerBlockType","wordpress-seo/schema-blocks/schema-attribute",(function(t,e){return Object.keys(i.schemaDefinitions).includes(e)?(s.default.debug("Adding schema to: ",e),t.attributes||(t.attributes={}),t.attributes["yoast-schema"]={type:"object"},t):t}))}},function(t,e,n){"use strict";var r=this&&this.__spreadArray||function(t,e){for(var n=0,r=e.length,o=t.length;n<r;n++,o++)t[o]=e[n];return t},o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.validateBlocks=void 0;var i,s=n(2),a=n(19),u=n(92),c=o(n(318)),l=n(47),f=n(18),p=o(n(320)),d=o(n(25)),h=n(159),_=n(321),y=o(n(158)),v=!1;function m(t){var e=[];return t.forEach((function(t){var n=l.getBlockDefinition(t.name);n?e.push(n.validate(t)):(d.default.warning("Unable to validate block of type ["+t.name+"] "+t.clientId),e.push(new f.BlockValidationResult(t.clientId,t.name,f.BlockValidation.Unknown,f.BlockPresence.Unknown)),t.innerBlocks&&t.innerBlocks.length>0&&e.push.apply(e,m(t.innerBlocks)))})),e}e.validateBlocks=m,e.default=function(){a.subscribe(s.debounce((function(){if(!v){var t=a.select("core/block-editor").getBlocks();if(t!==i){!function(t){for(var e=0,n=t;e<n.length;e++){var r=n[e],o=u.schemaDefinitions[r.name];if(o){var i=Object.values(o.instructions).find((function(t){return t instanceof y.default})).options,s=i.requiredFor,a=i.recommendedFor,c=i.name;d.default.debug(c+" is required for "+s),d.default.debug(c+" is recommended for "+a)}}}(t),v=!0;var e=m(t),n=_.missingBlocks(t),o=r(r([],e),n);p.default(o),c.default(t,i),function t(e,n,r,o){void 0===r&&(r=[]),void 0===o&&(o=!1),d.default.info("Generating schema!");for(var i=function(i){var c=e[i],l=r[i];if(c===l)return"continue";var f=n.find((function(t){return t.clientId===c.clientId}));if(f&&!h.isResultValidForSchema(f.result))return function(t){a.dispatch("core/block-editor").updateBlockAttributes(t.clientId,{"yoast-schema":null})}(c),"continue";var p=u.schemaDefinitions[c.name];if(function(t,e){return void 0!==t&&(!(!e||!t.separateInGraph())||!e&&!t.onlyNested())}(p,o))return function(t,e){var n=e.render(t);d.default.debug("Generated schema for block: ",t,n),s.isEqual(n,t.attributes["yoast-schema"])||a.dispatch("core/block-editor").updateBlockAttributes(t.clientId,{"yoast-schema":n})}(c,p),Array.isArray(c.innerBlocks)&&t(c.innerBlocks,n,l?l.innerBlocks:[],!0),"continue";Array.isArray(c.innerBlocks)&&t(c.innerBlocks,n,l?l.innerBlocks:[],o)},c=0;c<e.length;c++)i(c)}(t,o,i),i=t,v=!1}}}),250,{trailing:!0}))}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o,i=n(19),s=n(69),a=n(4),u=n(47),c=r(n(154)),l=r(n(88)),f=n(89),p=n(42),d=n(319);function h(t,e,n,r){t.forEach((function(t){var u=e.innerBlocks.findIndex((function(e){return e.clientId===t.clientId})),c="";n&&(c=n[t.name]);var l=function(t,e,n){e||(e=function(t,e){switch(e){case o.BLOCK_REQUIRED:
/* translators: %1$s: the block name that is removed, %2$s: the anchor to a page about required blocks, %3$s the closing anchor tag. */
return a.sprintf(a.__("You've just removed the ‘%1$s’ block, but this is a %2$srequired block for Schema output%3$s. Without this block no Schema will be generated. Are you sure you want to do this?","wordpress-seo"),t,'<a href="'+window.yoastSchemaBlocks.requiredLink+'" target="_blank">',"</a>");case o.BLOCK_RECOMMENDED:
/* translators: %1$s: the block name that is removed, %2$s: the anchor to a page about recommended blocks, %3$s the closing anchor tag. */
return a.sprintf(a.__("You've just removed the ‘%1$s’ block, but this is a %2$srecommended block for Schema output%3$s. Are you sure you want to do this?","wordpress-seo"),t,'<a href="'+window.yoastSchemaBlocks.recommendedLink+'" target="_blank">',"</a>")}}(p.getBlockType(t.name).title,n));var r={removedBlock:t,isRequired:n===o.BLOCK_REQUIRED,warningText:e};return s.createBlock("yoast/warning-block",r)}(t,c,r);i.dispatch("core/block-editor").insertBlock(l,u,e.clientId)}))}function _(t){var e={};return t.forEach((function(t){e[t.name]=t.warning||""})),e}!function(t){t[t.BLOCK_REQUIRED=0]="BLOCK_REQUIRED",t[t.BLOCK_RECOMMENDED=1]="BLOCK_RECOMMENDED"}(o||(o={})),e.default=function(t,e){void 0===e&&(e=[]);var n=f.mapBlocksRecursively(t,(function(t){return t.clientId}));d.removeObsoleteWarnings(f.getAllBlocks(t)),l.default(e,(function(t){if(t.innerBlocks&&0!==t.innerBlocks.length){var e=t.innerBlocks.filter((function(t){return!n.includes(t.clientId)}));if(0!==e.length){var r,i,s=(r=t.name,(i=u.getBlockDefinition(r))?Object.values(i.instructions).find((function(t){return t instanceof c.default})):null);s&&(function(t,e,n){var r=n.options.requiredBlocks||[];h(e.filter((function(t){return r.some((function(e){return t.name===e.name}))})),t,_(r),o.BLOCK_REQUIRED)}(t,e,s),function(t,e,n){var r=n.options.recommendedBlocks||[];h(e.filter((function(t){return r.some((function(e){return t.name===e.name}))})),t,_(r),o.BLOCK_RECOMMENDED)}(t,e,s))}}}))}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.removeObsoleteWarnings=void 0;var o=r(n(88)),i=n(42);e.removeObsoleteWarnings=function(t){var e=t.filter((function(t){return"yoast/warning-block"===t.name}));0!==e.length&&o.default(e,(function(e){var n=e.attributes;(function(t,e){return t.filter((function(t){return t.name===e})).length<1})(t,n.removedBlock.name)||i.removeBlock(e.clientId)}))}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(19),i=r(n(25)),s=n(48);e.default=function(t){if(!(t.length<1)){var e=o.dispatch(s.YOAST_SCHEMA_BLOCKS_STORE_NAME);e?(e.resetBlockValidation(),t.forEach((function(t){i.default.debug("storing validation: ",t),e.addBlockValidation(t)}))):i.default.debug("No Store! Cannot store validations.")}}},function(t,e,n){"use strict";var r=this&&this.__spreadArray||function(t,e){for(var n=0,r=e.length,o=t.length;n<r;n++,o++)t[o]=e[n];return t};Object.defineProperty(e,"__esModule",{value:!0}),e.missingBlocks=void 0;var o=n(19),i=n(18),s=n(89),a=n(48);e.missingBlocks=function(t){var e=s.mapBlocksRecursively(t,(function(t){return t.name}));return r(r([],function(t){return o.select(a.YOAST_SCHEMA_BLOCKS_STORE_NAME).getRequiredBlockNames().filter((function(e){return!t.includes(e)})).map((function(t){return i.BlockValidationResult.MissingBlock(t,i.BlockPresence.Required)}))}(e)),function(t){return o.select(a.YOAST_SCHEMA_BLOCKS_STORE_NAME).getRecommendedBlockNames().filter((function(e){return!t.includes(e)})).map((function(t){return i.BlockValidationResult.MissingBlock(t,i.BlockPresence.Recommended)}))}(e))}},function(t,e,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var i=n(46),s=n(1),a=n(60),u=o(n(323));e.default=function(t,e){a.addFilter("blocks.registerBlockType","yoast/wordpress-seo/injectSidebar",(function(n,o){if(!t.includes(o))return n;var a=n.edit;return n.edit=function(t){return s.createElement(s.Fragment,null,s.createElement(a,r({},t)),s.createElement(i.InspectorControls,null,u.default(t,e)))},n}))}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),i=n(47),s=n(42),a=n(71),u=r(n(25)),c=n(23);e.default=function(t,e){var n=[];e&&(n=a.getParentIdOfType(t.clientId,e));var r=[];return n.length>0&&n.forEach((function(e){var n=s.getBlockByClientId(e),o=i.getBlockDefinition(n.name);if(o){u.default.debug(t.clientId+" inherited sidebar from "+n.name+" definition");var c=a.createBlockEditProps(n);r.push.apply(r,o.sidebarElements(c))}})),o.createElement(c.PanelBody,null,r)}},function(t,e,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.PureBlockSuggestionsPresenter=void 0;var o=n(2),i=n(48),s=n(69),a=n(19),u=n(1),c=n(89),l=n(159);function f(t){var e=t.suggestedBlockTitle,n=t.suggestedBlockName;return u.createElement("li",{className:"yoast-block-suggestion",key:e},e,u.createElement("button",{className:"yoast-block-suggestion-button",onClick:function(){var t=s.createBlock(n);c.insertBlock(t)}}," Add "))}function p(t){var e=t.blockTitle,n=t.isValid,r=u.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"-2 3 18 16",stroke:"currentColor",height:"12",width:"22"},u.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M5 13l4 4L19 7"})),o=u.createElement("span",{className:"yoast-block-suggestion-checkmark"},r);return u.createElement("li",{className:"yoast-block-suggestion yoast-block-suggestion--added",key:"BlockSuggestionAdded"+e},e,n?o:null)}function d(t){var e=t.heading,n=t.suggestions,r=t.blockNames;return!n||n.length<1||!r||r.length<1?null:u.createElement("div",null,u.createElement("div",{className:"yoast-block-sidebar-title"},e),u.createElement("ul",{className:"yoast-block-suggestions"},r.map((function(t,e){var r=n.find((function(e){return e.name===t})),o=r&&l.isValidResult(r.result),i=r&&l.isMissingResult(r.result),s=r&&l.isEmptyResult(r.result);return o||s?u.createElement(p,{key:e,isValid:o,blockTitle:r.title}):i?u.createElement(f,{key:e,suggestedBlockTitle:r.title,suggestedBlockName:r.name}):void 0}),this)))}e.PureBlockSuggestionsPresenter=d,e.default=a.withSelect((function(t,e){return{suggestions:t(i.YOAST_SCHEMA_BLOCKS_STORE_NAME).getValidationsForBlockNames(e.blockNames).map((function(e){var n=t("core/blocks").getBlockType(e.name);return r({title:o.get(n,"title","")},e)}))}}))(d)},function(t,e,n){"use strict";var r=this&&this.__spreadArray||function(t,e){for(var n=0,r=e.length,o=t.length;n<r;n++,o++)t[o]=e[n];return t};Object.defineProperty(e,"__esModule",{value:!0}),e.sanitizeParentName=e.createAnalysisMessages=void 0;var o=n(4),i=n(18);function s(t){return t.some((function(t){return t.result>=i.BlockValidation.Invalid}))?{text:o.sprintf(
/* translators: %s expands to the schema block name. */
o.__("Not all required information has been provided! %s schema will not be generated for your page.","wordpress-seo"),"JobPosting"),color:"red"}:{text:o.__("Good job! All required information has been provided.","wordpress-seo"),color:"green"}}e.createAnalysisMessages=function(t){return t?r(r(r([],function(t){return t.filter((function(t){return t.message&&t.blockPresence===i.BlockPresence.Required})).map((function(t){return{color:"red",text:t.message}}))}(t)),function(t){return t.filter((function(t){return t.message&&t.blockPresence===i.BlockPresence.Recommended})).map((function(t){return{color:"orange",text:t.message}}))}(t)),[s(t)]):[]},e.sanitizeParentName=function(t){return t.startsWith("Yoast ")?t.substr(6).toLowerCase():t.toLowerCase()}}]);jed.js000066600000041570151123775150005666 0ustar00window.yoast=window.yoast||{},window.yoast.jed=function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=428)}({428:function(t,e,r){!function(r,n){var i=Array.prototype,s=Object.prototype,o=i.slice,l=s.hasOwnProperty,a=i.forEach,h={},c={forEach:function(t,e,r){var n,i,s;if(null!==t)if(a&&t.forEach===a)t.forEach(e,r);else if(t.length===+t.length){for(n=0,i=t.length;n<i;n++)if(n in t&&e.call(r,t[n],n,t)===h)return}else for(s in t)if(l.call(t,s)&&e.call(r,t[s],s,t)===h)return},extend:function(t){return this.forEach(o.call(arguments,1),(function(e){for(var r in e)t[r]=e[r]})),t}},u=function(t){if(this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"nplurals=2; plural=(n != 1);"}}},domain:"messages",debug:!1},this.options=c.extend({},this.defaults,t),this.textdomain(this.options.domain),t.domain&&!this.options.locale_data[this.options.domain])throw new Error("Text domain set to non-existent domain: `"+t.domain+"`")};function p(t){return u.PF.compile(t||"nplurals=2; plural=(n != 1);")}function f(t,e){this._key=t,this._i18n=e}u.context_delimiter=String.fromCharCode(4),c.extend(f.prototype,{onDomain:function(t){return this._domain=t,this},withContext:function(t){return this._context=t,this},ifPlural:function(t,e){return this._val=t,this._pkey=e,this},fetch:function(t){return"[object Array]"!={}.toString.call(t)&&(t=[].slice.call(arguments,0)),(t&&t.length?u.sprintf:function(t){return t})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),t)}}),c.extend(u.prototype,{translate:function(t){return new f(t,this)},textdomain:function(t){if(!t)return this._textdomain;this._textdomain=t},gettext:function(t){return this.dcnpgettext.call(this,void 0,void 0,t)},dgettext:function(t,e){return this.dcnpgettext.call(this,t,void 0,e)},dcgettext:function(t,e){return this.dcnpgettext.call(this,t,void 0,e)},ngettext:function(t,e,r){return this.dcnpgettext.call(this,void 0,void 0,t,e,r)},dngettext:function(t,e,r,n){return this.dcnpgettext.call(this,t,void 0,e,r,n)},dcngettext:function(t,e,r,n){return this.dcnpgettext.call(this,t,void 0,e,r,n)},pgettext:function(t,e){return this.dcnpgettext.call(this,void 0,t,e)},dpgettext:function(t,e,r){return this.dcnpgettext.call(this,t,e,r)},dcpgettext:function(t,e,r){return this.dcnpgettext.call(this,t,e,r)},npgettext:function(t,e,r,n){return this.dcnpgettext.call(this,void 0,t,e,r,n)},dnpgettext:function(t,e,r,n,i){return this.dcnpgettext.call(this,t,e,r,n,i)},dcnpgettext:function(t,e,r,n,i){var s;if(n=n||r,t=t||this._textdomain,!this.options)return(s=new u).dcnpgettext.call(s,void 0,void 0,r,n,i);if(!this.options.locale_data)throw new Error("No locale data provided.");if(!this.options.locale_data[t])throw new Error("Domain `"+t+"` was not found.");if(!this.options.locale_data[t][""])throw new Error("No locale meta information provided.");if(!r)throw new Error("No translation key found.");var o,l,a,h=e?e+u.context_delimiter+r:r,c=this.options.locale_data,f=c[t],d=(c.messages||this.defaults.locale_data.messages)[""],y=f[""].plural_forms||f[""]["Plural-Forms"]||f[""]["plural-forms"]||d.plural_forms||d["Plural-Forms"]||d["plural-forms"];if(void 0===i)a=0;else{if("number"!=typeof i&&(i=parseInt(i,10),isNaN(i)))throw new Error("The number that was passed in is not a number.");a=p(y)(i)}if(!f)throw new Error("No domain named `"+t+"` could be found.");return!(o=f[h])||a>o.length?(this.options.missing_key_callback&&this.options.missing_key_callback(h,t),l=[r,n],!0===this.options.debug&&console.log(l[p(y)(i)]),l[p()(i)]):(l=o[a])||(l=[r,n])[p()(i)]}});var d,y=function(){function t(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()}function e(t,e){for(var r=[];e>0;r[--e]=t);return r.join("")}var r=function(){return r.cache.hasOwnProperty(arguments[0])||(r.cache[arguments[0]]=r.parse(arguments[0])),r.format.call(null,r.cache[arguments[0]],arguments)};return r.format=function(r,n){var i,s,o,l,a,h,c,u=1,p=r.length,f="",d=[];for(s=0;s<p;s++)if("string"===(f=t(r[s])))d.push(r[s]);else if("array"===f){if((l=r[s])[2])for(i=n[u],o=0;o<l[2].length;o++){if(!i.hasOwnProperty(l[2][o]))throw y('[sprintf] property "%s" does not exist',l[2][o]);i=i[l[2][o]]}else i=l[1]?n[l[1]]:n[u++];if(/[^s]/.test(l[8])&&"number"!=t(i))throw y("[sprintf] expecting number but found %s",t(i));switch(null==i&&(i=""),l[8]){case"b":i=i.toString(2);break;case"c":i=String.fromCharCode(i);break;case"d":i=parseInt(i,10);break;case"e":i=l[7]?i.toExponential(l[7]):i.toExponential();break;case"f":i=l[7]?parseFloat(i).toFixed(l[7]):parseFloat(i);break;case"o":i=i.toString(8);break;case"s":i=(i=String(i))&&l[7]?i.substring(0,l[7]):i;break;case"u":i=Math.abs(i);break;case"x":i=i.toString(16);break;case"X":i=i.toString(16).toUpperCase()}i=/[def]/.test(l[8])&&l[3]&&i>=0?"+"+i:i,h=l[4]?"0"==l[4]?"0":l[4].charAt(1):" ",c=l[6]-String(i).length,a=l[6]?e(h,c):"",d.push(l[5]?i+a:a+i)}return d.join("")},r.cache={},r.parse=function(t){for(var e=t,r=[],n=[],i=0;e;){if(null!==(r=/^[^\x25]+/.exec(e)))n.push(r[0]);else if(null!==(r=/^\x25{2}/.exec(e)))n.push("%");else{if(null===(r=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(e)))throw"[sprintf] huh?";if(r[2]){i|=1;var s=[],o=r[2],l=[];if(null===(l=/^([a-z_][a-z_\d]*)/i.exec(o)))throw"[sprintf] huh?";for(s.push(l[1]);""!==(o=o.substring(l[0].length));)if(null!==(l=/^\.([a-z_][a-z_\d]*)/i.exec(o)))s.push(l[1]);else{if(null===(l=/^\[(\d+)\]/.exec(o)))throw"[sprintf] huh?";s.push(l[1])}r[2]=s}else i|=2;if(3===i)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";n.push(r)}e=e.substring(r[0].length)}return n},r}(),g=function(t,e){return e.unshift(t),y.apply(null,e)};u.parse_plural=function(t,e){return t=t.replace(/n/g,e),u.parse_expression(t)},u.sprintf=function(t,e){return"[object Array]"=={}.toString.call(e)?g(t,[].slice.call(e)):y.apply(this,[].slice.call(arguments))},u.prototype.sprintf=function(){return u.sprintf.apply(this,arguments)},(u.PF={}).parse=function(t){var e=u.PF.extractPluralExpr(t);return u.PF.parser.parse.call(u.PF.parser,e)},u.PF.compile=function(t){var e=u.PF.parse(t);return function(t){return!0===(r=u.PF.interpreter(e)(t))?1:r||0;var r}},u.PF.interpreter=function(t){return function(e){switch(t.type){case"GROUP":return u.PF.interpreter(t.expr)(e);case"TERNARY":return u.PF.interpreter(t.expr)(e)?u.PF.interpreter(t.truthy)(e):u.PF.interpreter(t.falsey)(e);case"OR":return u.PF.interpreter(t.left)(e)||u.PF.interpreter(t.right)(e);case"AND":return u.PF.interpreter(t.left)(e)&&u.PF.interpreter(t.right)(e);case"LT":return u.PF.interpreter(t.left)(e)<u.PF.interpreter(t.right)(e);case"GT":return u.PF.interpreter(t.left)(e)>u.PF.interpreter(t.right)(e);case"LTE":return u.PF.interpreter(t.left)(e)<=u.PF.interpreter(t.right)(e);case"GTE":return u.PF.interpreter(t.left)(e)>=u.PF.interpreter(t.right)(e);case"EQ":return u.PF.interpreter(t.left)(e)==u.PF.interpreter(t.right)(e);case"NEQ":return u.PF.interpreter(t.left)(e)!=u.PF.interpreter(t.right)(e);case"MOD":return u.PF.interpreter(t.left)(e)%u.PF.interpreter(t.right)(e);case"VAR":return e;case"NUM":return t.val;default:throw new Error("Invalid Token found.")}}},u.PF.extractPluralExpr=function(t){t=t.replace(/^\s\s*/,"").replace(/\s\s*$/,""),/;\s*$/.test(t)||(t=t.concat(";"));var e,r=/nplurals\=(\d+);/,n=t.match(r);if(!(n.length>1))throw new Error("nplurals not found in plural_forms string: "+t);if(n[1],!((e=(t=t.replace(r,"")).match(/plural\=(.*);/))&&e.length>1))throw new Error("`plural` expression not found: "+t);return e[1]},u.PF.parser=((d={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(t,e,r,n,i,s,o){var l=s.length-1;switch(i){case 1:return{type:"GROUP",expr:s[l-1]};case 2:this.$={type:"TERNARY",expr:s[l-4],truthy:s[l-2],falsey:s[l]};break;case 3:this.$={type:"OR",left:s[l-2],right:s[l]};break;case 4:this.$={type:"AND",left:s[l-2],right:s[l]};break;case 5:this.$={type:"LT",left:s[l-2],right:s[l]};break;case 6:this.$={type:"LTE",left:s[l-2],right:s[l]};break;case 7:this.$={type:"GT",left:s[l-2],right:s[l]};break;case 8:this.$={type:"GTE",left:s[l-2],right:s[l]};break;case 9:this.$={type:"NEQ",left:s[l-2],right:s[l]};break;case 10:this.$={type:"EQ",left:s[l-2],right:s[l]};break;case 11:this.$={type:"MOD",left:s[l-2],right:s[l]};break;case 12:this.$={type:"GROUP",expr:s[l-1]};break;case 13:this.$={type:"VAR"};break;case 14:this.$={type:"NUM",val:Number(t)}}},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(t,e){throw new Error(t)},parse:function(t){var e=this,r=[0],n=[null],i=[],s=this.table,o="",l=0,a=0,h=0;this.lexer.setInput(t),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var c=this.lexer.yylloc;function u(){var t;return"number"!=typeof(t=e.lexer.lex()||1)&&(t=e.symbols_[t]||t),t}i.push(c),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var p,f,d,y,g,x,m,_,b,v={};;){if(d=r[r.length-1],this.defaultActions[d]?y=this.defaultActions[d]:(null==p&&(p=u()),y=s[d]&&s[d][p]),void 0===y||!y.length||!y[0]){if(!h){for(x in b=[],s[d])this.terminals_[x]&&x>2&&b.push("'"+this.terminals_[x]+"'");var w="";w=this.lexer.showPosition?"Parse error on line "+(l+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+b.join(", ")+", got '"+this.terminals_[p]+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(w,{text:this.lexer.match,token:this.terminals_[p]||p,line:this.lexer.yylineno,loc:c,expected:b})}if(3==h){if(1==p)throw new Error(w||"Parsing halted.");a=this.lexer.yyleng,o=this.lexer.yytext,l=this.lexer.yylineno,c=this.lexer.yylloc,p=u()}for(;!(2..toString()in s[d]);){if(0==d)throw new Error(w||"Parsing halted.");1,r.length=r.length-2,n.length=n.length-1,i.length=i.length-1,d=r[r.length-1]}f=p,p=2,y=s[d=r[r.length-1]]&&s[d][2],h=3}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+d+", token: "+p);switch(y[0]){case 1:r.push(p),n.push(this.lexer.yytext),i.push(this.lexer.yylloc),r.push(y[1]),p=null,f?(p=f,f=null):(a=this.lexer.yyleng,o=this.lexer.yytext,l=this.lexer.yylineno,c=this.lexer.yylloc,h>0&&h--);break;case 2:if(m=this.productions_[y[1]][1],v.$=n[n.length-m],v._$={first_line:i[i.length-(m||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(m||1)].first_column,last_column:i[i.length-1].last_column},void 0!==(g=this.performAction.call(v,o,a,l,this.yy,y[1],n,i)))return g;m&&(r=r.slice(0,-1*m*2),n=n.slice(0,-1*m),i=i.slice(0,-1*m)),r.push(this.productions_[y[1]][0]),n.push(v.$),i.push(v._$),_=s[r[r.length-2]][r[r.length-1]],r.push(_);break;case 3:return!0}}return!0}}).lexer={EOF:1,parseError:function(t,e){if(!this.yy.parseError)throw new Error(t);this.yy.parseError(t,e)},setInput:function(t){return this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.match+=t,this.matched+=t,t.match(/\n/)&&this.yylineno++,this._input=this._input.slice(1),t},unput:function(t){return this._input=t+this._input,this},more:function(){return this._more=!0,this},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},next:function(){if(this.done)return this.EOF;var t,e;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),n=0;n<r.length;n++)if(t=this._input.match(this.rules[r[n]]))return(e=t[0].match(/\n.*/g))&&(this.yylineno+=e.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:e?e[e.length-1].length-1:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],this.performAction.call(this,this.yy,this,r[n],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 t=this.next();return void 0!==t?t:this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){this.begin(t)},performAction:function(t,e,r,n){switch(r){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}}},d),t.exports&&(e=t.exports=u),e.Jed=u}()}});analysis.js000066600001661677151123775150006770 0ustar00window.yoast=window.yoast||{},window.yoast.analysis=function(e){var t={};function r(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,r),s.l=!0,s.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)r.d(n,s,function(t){return e[t]}.bind(null,s));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=489)}({104:function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},110:function(e,t){e.exports=window.lodash.isEqual},115:function(e,t,r){(function(e,n){var s;!function(i){t&&t.nodeType,e&&e.nodeType;var a="object"==typeof n&&n;a.global!==a&&a.window!==a&&a.self;var o,l=2147483647,u=/^xn--/,c=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},g=Math.floor,d=String.fromCharCode;function f(e){throw new RangeError(p[e])}function m(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function v(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+m((e=e.replace(h,".")).split("."),t).join(".")}function b(e){for(var t,r,n=[],s=0,i=e.length;s<i;)(t=e.charCodeAt(s++))>=55296&&t<=56319&&s<i?56320==(64512&(r=e.charCodeAt(s++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),s--):n.push(t);return n}function y(e){return m(e,(function(e){var t="";return e>65535&&(t+=d((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+d(e)})).join("")}function _(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function w(e,t,r){var n=0;for(e=r?g(e/700):e>>1,e+=g(e/t);e>455;n+=36)e=g(e/35);return g(n+36*e/(e+38))}function x(e){var t,r,n,s,i,a,o,u,c,h,p,d=[],m=e.length,v=0,b=128,_=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&f("not-basic"),d.push(e.charCodeAt(n));for(s=r>0?r+1:0;s<m;){for(i=v,a=1,o=36;s>=m&&f("invalid-input"),((u=(p=e.charCodeAt(s++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:36)>=36||u>g((l-v)/a))&&f("overflow"),v+=u*a,!(u<(c=o<=_?1:o>=_+26?26:o-_));o+=36)a>g(l/(h=36-c))&&f("overflow"),a*=h;_=w(v-i,t=d.length+1,0==i),g(v/t)>l-b&&f("overflow"),b+=g(v/t),v%=t,d.splice(v++,0,b)}return y(d)}function O(e){var t,r,n,s,i,a,o,u,c,h,p,m,v,y,x,O=[];for(m=(e=b(e)).length,t=128,r=0,i=72,a=0;a<m;++a)(p=e[a])<128&&O.push(d(p));for(n=s=O.length,s&&O.push("-");n<m;){for(o=l,a=0;a<m;++a)(p=e[a])>=t&&p<o&&(o=p);for(o-t>g((l-r)/(v=n+1))&&f("overflow"),r+=(o-t)*v,t=o,a=0;a<m;++a)if((p=e[a])<t&&++r>l&&f("overflow"),p==t){for(u=r,c=36;!(u<(h=c<=i?1:c>=i+26?26:c-i));c+=36)x=u-h,y=36-h,O.push(d(_(h+x%y,0))),u=g(x/y);O.push(d(_(u,0))),i=w(r,v,n==s),r=0,++n}++r,++t}return O.join("")}o={version:"1.4.1",ucs2:{decode:b,encode:y},decode:x,encode:O,toASCII:function(e){return v(e,(function(e){return c.test(e)?"xn--"+O(e):e}))},toUnicode:function(e){return v(e,(function(e){return u.test(e)?x(e.slice(4).toLowerCase()):e}))}},void 0===(s=function(){return o}.call(t,r,t,e))||(e.exports=s)}()}).call(this,r(93)(e),r(24))},116:function(e,t,r){"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}}},117:function(e,t,r){"use strict";t.decode=t.parse=r(118),t.encode=t.stringify=r(119)},118:function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,r,i){t=t||"&",r=r||"=";var a={};if("string"!=typeof e||0===e.length)return a;var o=/\+/g;e=e.split(t);var l=1e3;i&&"number"==typeof i.maxKeys&&(l=i.maxKeys);var u=e.length;l>0&&u>l&&(u=l);for(var c=0;c<u;++c){var h,p,g,d,f=e[c].replace(o,"%20"),m=f.indexOf(r);m>=0?(h=f.substr(0,m),p=f.substr(m+1)):(h=f,p=""),g=decodeURIComponent(h),d=decodeURIComponent(p),n(a,g)?s(a[g])?a[g].push(d):a[g]=[a[g],d]:a[g]=d}return a};var s=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},119:function(e,t,r){"use strict";var n=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,r,o){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?i(a(e),(function(a){var o=encodeURIComponent(n(a))+r;return s(e[a])?i(e[a],(function(e){return o+encodeURIComponent(n(e))})).join(t):o+encodeURIComponent(n(e[a]))})).join(t):o?encodeURIComponent(n(o))+r+encodeURIComponent(n(e)):""};var s=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 r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var a=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},129:function(e,t,r){r(443),e.exports=r(205)},130:function(e,t){e.exports=function(e,t,r){var n="";if(n+=e.name||"Error",n+=": "+(e.message||""),r instanceof Array)for(var s in r)n+="\n   # "+r[s];for(var i in t)n+="\n   at "+t[i].toString();return n}},2:function(e,t){e.exports=window.lodash},203:function(e,t,r){e.exports=r(442)},204:function(e,t,r){r(129).check("es5")},205:function(e,t,r){var n=new(r(444)),s=function(e){return n.test(e)};s.define=function(e,t){n.define(e,t)},s.check=function(e){n.check(e)},s.test=s,e.exports=s},206:function(e,t,r){var n=r(207),s={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},i={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:s,input:s,output:s,button:s,datalist:s,textarea:s,option:{option:!0},optgroup:{optgroup:!0}},a={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},o={__proto__:null,math:!0,svg:!0},l={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},u=/\s|\//;function c(e,t){this._options=t||{},this._cbs=e||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(n=this._options.Tokenizer),this._tokenizer=new n(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}r(104)(c,r(464).EventEmitter),c.prototype._updatePosition=function(e){null===this.endIndex?this._tokenizer._sectionStart<=e?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},c.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},c.prototype.onopentagname=function(e){if(this._lowerCaseTagNames&&(e=e.toLowerCase()),this._tagname=e,!this._options.xmlMode&&e in i)for(var t;(t=this._stack[this._stack.length-1])in i[e];this.onclosetag(t));!this._options.xmlMode&&e in a||(this._stack.push(e),e in o?this._foreignContext.push(!0):e in l&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(e),this._cbs.onopentag&&(this._attribs={})},c.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in a&&this._cbs.onclosetag(this._tagname),this._tagname=""},c.prototype.onclosetag=function(e){if(this._updatePosition(1),this._lowerCaseTagNames&&(e=e.toLowerCase()),(e in o||e in l)&&this._foreignContext.pop(),!this._stack.length||e in a&&!this._options.xmlMode)this._options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this._closeCurrentTag());else{var t=this._stack.lastIndexOf(e);if(-1!==t)if(this._cbs.onclosetag)for(t=this._stack.length-t;t--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=t;else"p"!==e||this._options.xmlMode||(this.onopentagname(e),this._closeCurrentTag())}},c.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},c.prototype._closeCurrentTag=function(){var e=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===e&&(this._cbs.onclosetag&&this._cbs.onclosetag(e),this._stack.pop())},c.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},c.prototype.onattribdata=function(e){this._attribvalue+=e},c.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},c.prototype._getInstructionName=function(e){var t=e.search(u),r=t<0?e:e.substr(0,t);return this._lowerCaseTagNames&&(r=r.toLowerCase()),r},c.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+t,"!"+e)}},c.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+t,"?"+e)}},c.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},c.prototype.oncdata=function(e){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(e),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+e+"]]")},c.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},c.prototype.onend=function(){if(this._cbs.onclosetag)for(var e=this._stack.length;e>0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()},c.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},c.prototype.parseComplete=function(e){this.reset(),this.end(e)},c.prototype.write=function(e){this._tokenizer.write(e)},c.prototype.end=function(e){this._tokenizer.end(e)},c.prototype.pause=function(){this._tokenizer.pause()},c.prototype.resume=function(){this._tokenizer.resume()},c.prototype.parseChunk=c.prototype.write,c.prototype.done=c.prototype.end,e.exports=c},207:function(e,t,r){e.exports=me;var n=r(459),s=r(461),i=r(462),a=r(463),o=0,l=o++,u=o++,c=o++,h=o++,p=o++,g=o++,d=o++,f=o++,m=o++,v=o++,b=o++,y=o++,_=o++,w=o++,x=o++,O=o++,E=o++,T=o++,A=o++,C=o++,S=o++,j=o++,k=o++,D=o++,R=o++,L=o++,M=o++,F=o++,$=o++,P=o++,I=o++,q=o++,N=o++,B=o++,U=o++,H=o++,K=o++,z=o++,W=o++,V=o++,G=o++,Y=o++,J=o++,Z=o++,X=o++,Q=o++,ee=o++,te=o++,re=o++,ne=o++,se=o++,ie=o++,ae=o++,oe=o++,le=o++,ue=0,ce=ue++,he=ue++,pe=ue++;function ge(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function de(e,t,r){var n=e.toLowerCase();return e===n?function(e){e===n?this._state=t:(this._state=r,this._index--)}:function(s){s===n||s===e?this._state=t:(this._state=r,this._index--)}}function fe(e,t){var r=e.toLowerCase();return function(n){n===r||n===e?this._state=t:(this._state=c,this._index--)}}function me(e,t){this._state=l,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=l,this._special=ce,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}me.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=u,this._sectionStart=this._index):this._decodeEntities&&this._special===ce&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=l,this._state=se,this._sectionStart=this._index)},me.prototype._stateBeforeTagName=function(e){"/"===e?this._state=p:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==ce||ge(e)?this._state=l:"!"===e?(this._state=x,this._sectionStart=this._index+1):"?"===e?(this._state=E,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?c:I,this._sectionStart=this._index)},me.prototype._stateInTagName=function(e){("/"===e||">"===e||ge(e))&&(this._emitToken("onopentagname"),this._state=f,this._index--)},me.prototype._stateBeforeCloseingTagName=function(e){ge(e)||(">"===e?this._state=l:this._special!==ce?"s"===e||"S"===e?this._state=q:(this._state=l,this._index--):(this._state=g,this._sectionStart=this._index))},me.prototype._stateInCloseingTagName=function(e){(">"===e||ge(e))&&(this._emitToken("onclosetag"),this._state=d,this._index--)},me.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=l,this._sectionStart=this._index+1)},me.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=l,this._sectionStart=this._index+1):"/"===e?this._state=h:ge(e)||(this._state=m,this._sectionStart=this._index)},me.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=l,this._sectionStart=this._index+1):ge(e)||(this._state=f,this._index--)},me.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||ge(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=v,this._index--)},me.prototype._stateAfterAttributeName=function(e){"="===e?this._state=b:"/"===e||">"===e?(this._cbs.onattribend(),this._state=f,this._index--):ge(e)||(this._cbs.onattribend(),this._state=m,this._sectionStart=this._index)},me.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=y,this._sectionStart=this._index+1):"'"===e?(this._state=_,this._sectionStart=this._index+1):ge(e)||(this._state=w,this._sectionStart=this._index,this._index--)},me.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=f):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=se,this._sectionStart=this._index)},me.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=f):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=se,this._sectionStart=this._index)},me.prototype._stateInAttributeValueNoQuotes=function(e){ge(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=f,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=se,this._sectionStart=this._index)},me.prototype._stateBeforeDeclaration=function(e){this._state="["===e?j:"-"===e?T:O},me.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=l,this._sectionStart=this._index+1)},me.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=l,this._sectionStart=this._index+1)},me.prototype._stateBeforeComment=function(e){"-"===e?(this._state=A,this._sectionStart=this._index+1):this._state=O},me.prototype._stateInComment=function(e){"-"===e&&(this._state=C)},me.prototype._stateAfterComment1=function(e){this._state="-"===e?S:A},me.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"-"!==e&&(this._state=A)},me.prototype._stateBeforeCdata1=de("C",k,O),me.prototype._stateBeforeCdata2=de("D",D,O),me.prototype._stateBeforeCdata3=de("A",R,O),me.prototype._stateBeforeCdata4=de("T",L,O),me.prototype._stateBeforeCdata5=de("A",M,O),me.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=F,this._sectionStart=this._index+1):(this._state=O,this._index--)},me.prototype._stateInCdata=function(e){"]"===e&&(this._state=$)},me.prototype._stateAfterCdata1=function(e){this._state="]"===e?P:F},me.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"]"!==e&&(this._state=F)},me.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=N:"t"===e||"T"===e?this._state=J:(this._state=c,this._index--)},me.prototype._stateBeforeSpecialEnd=function(e){this._special!==he||"c"!==e&&"C"!==e?this._special!==pe||"t"!==e&&"T"!==e?this._state=l:this._state=ee:this._state=z},me.prototype._stateBeforeScript1=fe("R",B),me.prototype._stateBeforeScript2=fe("I",U),me.prototype._stateBeforeScript3=fe("P",H),me.prototype._stateBeforeScript4=fe("T",K),me.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||ge(e))&&(this._special=he),this._state=c,this._index--},me.prototype._stateAfterScript1=de("R",W,l),me.prototype._stateAfterScript2=de("I",V,l),me.prototype._stateAfterScript3=de("P",G,l),me.prototype._stateAfterScript4=de("T",Y,l),me.prototype._stateAfterScript5=function(e){">"===e||ge(e)?(this._special=ce,this._state=g,this._sectionStart=this._index-6,this._index--):this._state=l},me.prototype._stateBeforeStyle1=fe("Y",Z),me.prototype._stateBeforeStyle2=fe("L",X),me.prototype._stateBeforeStyle3=fe("E",Q),me.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||ge(e))&&(this._special=pe),this._state=c,this._index--},me.prototype._stateAfterStyle1=de("Y",te,l),me.prototype._stateAfterStyle2=de("L",re,l),me.prototype._stateAfterStyle3=de("E",ne,l),me.prototype._stateAfterStyle4=function(e){">"===e||ge(e)?(this._special=ce,this._state=g,this._sectionStart=this._index-5,this._index--):this._state=l},me.prototype._stateBeforeEntity=de("#",ie,ae),me.prototype._stateBeforeNumericEntity=de("X",le,oe),me.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var e=this._buffer.substring(this._sectionStart+1,this._index),t=this._xmlMode?a:s;t.hasOwnProperty(e)&&(this._emitPartial(t[e]),this._sectionStart=this._index+1)}},me.prototype._parseLegacyEntity=function(){var e=this._sectionStart+1,t=this._index-e;for(t>6&&(t=6);t>=2;){var r=this._buffer.substr(e,t);if(i.hasOwnProperty(r))return this._emitPartial(i[r]),void(this._sectionStart+=t+1);t--}},me.prototype._stateInNamedEntity=function(e){";"===e?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(e<"a"||e>"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==l?"="!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},me.prototype._decodeNumericEntity=function(e,t){var r=this._sectionStart+e;if(r!==this._index){var s=this._buffer.substring(r,this._index),i=parseInt(s,t);this._emitPartial(n(i)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},me.prototype._stateInNumericEntity=function(e){";"===e?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},me.prototype._stateInHexEntity=function(e){";"===e?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},me.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===l?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},me.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},me.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var e=this._buffer.charAt(this._index);this._state===l?this._stateText(e):this._state===u?this._stateBeforeTagName(e):this._state===c?this._stateInTagName(e):this._state===p?this._stateBeforeCloseingTagName(e):this._state===g?this._stateInCloseingTagName(e):this._state===d?this._stateAfterCloseingTagName(e):this._state===h?this._stateInSelfClosingTag(e):this._state===f?this._stateBeforeAttributeName(e):this._state===m?this._stateInAttributeName(e):this._state===v?this._stateAfterAttributeName(e):this._state===b?this._stateBeforeAttributeValue(e):this._state===y?this._stateInAttributeValueDoubleQuotes(e):this._state===_?this._stateInAttributeValueSingleQuotes(e):this._state===w?this._stateInAttributeValueNoQuotes(e):this._state===x?this._stateBeforeDeclaration(e):this._state===O?this._stateInDeclaration(e):this._state===E?this._stateInProcessingInstruction(e):this._state===T?this._stateBeforeComment(e):this._state===A?this._stateInComment(e):this._state===C?this._stateAfterComment1(e):this._state===S?this._stateAfterComment2(e):this._state===j?this._stateBeforeCdata1(e):this._state===k?this._stateBeforeCdata2(e):this._state===D?this._stateBeforeCdata3(e):this._state===R?this._stateBeforeCdata4(e):this._state===L?this._stateBeforeCdata5(e):this._state===M?this._stateBeforeCdata6(e):this._state===F?this._stateInCdata(e):this._state===$?this._stateAfterCdata1(e):this._state===P?this._stateAfterCdata2(e):this._state===I?this._stateBeforeSpecial(e):this._state===q?this._stateBeforeSpecialEnd(e):this._state===N?this._stateBeforeScript1(e):this._state===B?this._stateBeforeScript2(e):this._state===U?this._stateBeforeScript3(e):this._state===H?this._stateBeforeScript4(e):this._state===K?this._stateBeforeScript5(e):this._state===z?this._stateAfterScript1(e):this._state===W?this._stateAfterScript2(e):this._state===V?this._stateAfterScript3(e):this._state===G?this._stateAfterScript4(e):this._state===Y?this._stateAfterScript5(e):this._state===J?this._stateBeforeStyle1(e):this._state===Z?this._stateBeforeStyle2(e):this._state===X?this._stateBeforeStyle3(e):this._state===Q?this._stateBeforeStyle4(e):this._state===ee?this._stateAfterStyle1(e):this._state===te?this._stateAfterStyle2(e):this._state===re?this._stateAfterStyle3(e):this._state===ne?this._stateAfterStyle4(e):this._state===se?this._stateBeforeEntity(e):this._state===ie?this._stateBeforeNumericEntity(e):this._state===ae?this._stateInNamedEntity(e):this._state===oe?this._stateInNumericEntity(e):this._state===le?this._stateInHexEntity(e):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},me.prototype.pause=function(){this._running=!1},me.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},me.prototype.end=function(e){this._ended&&this._cbs.onerror(Error(".end() after done!")),e&&this.write(e),this._ended=!0,this._running&&this._finish()},me.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},me.prototype._handleTrailingData=function(){var e=this._buffer.substr(this._sectionStart);this._state===F||this._state===$||this._state===P?this._cbs.oncdata(e):this._state===A||this._state===C||this._state===S?this._cbs.oncomment(e):this._state!==ae||this._xmlMode?this._state!==oe||this._xmlMode?this._state!==le||this._xmlMode?this._state!==c&&this._state!==f&&this._state!==b&&this._state!==v&&this._state!==m&&this._state!==_&&this._state!==y&&this._state!==w&&this._state!==g&&this._cbs.ontext(e):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},me.prototype.reset=function(){me.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},me.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},me.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},me.prototype._emitToken=function(e){this._cbs[e](this._getSection()),this._sectionStart=-1},me.prototype._emitPartial=function(e){this._baseState!==l?this._cbs.onattribdata(e):this._cbs.ontext(e)}},208:function(e,t,r){var n=r(79),s=/\s+/g,i=r(209),a=r(465);function o(e,t,r){"object"==typeof e?(r=t,t=e,e=null):"function"==typeof t&&(r=t,t=l),this._callback=e,this._options=t||l,this._elementCB=r,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};o.prototype.onparserinit=function(e){this._parser=e},o.prototype.onreset=function(){o.call(this,this._callback,this._options,this._elementCB)},o.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},o.prototype._handleCallback=o.prototype.onerror=function(e){if("function"==typeof this._callback)this._callback(e,this.dom);else if(e)throw e},o.prototype.onclosetag=function(){var e=this._tagStack.pop();this._options.withEndIndices&&e&&(e.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(e)},o.prototype._createDomElement=function(e){if(!this._options.withDomLvl1)return e;var t;for(var r in t="tag"===e.type?Object.create(a):Object.create(i),e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t},o.prototype._addDomElement=function(e){var t=this._tagStack[this._tagStack.length-1],r=t?t.children:this.dom,n=r[r.length-1];e.next=null,this._options.withStartIndices&&(e.startIndex=this._parser.startIndex),this._options.withEndIndices&&(e.endIndex=this._parser.endIndex),n?(e.prev=n,n.next=e):e.prev=null,r.push(e),e.parent=t||null},o.prototype.onopentag=function(e,t){var r={type:"script"===e?n.Script:"style"===e?n.Style:n.Tag,name:e,attribs:t,children:[]},s=this._createDomElement(r);this._addDomElement(s),this._tagStack.push(s)},o.prototype.ontext=function(e){var t,r=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(t=this.dom[this.dom.length-1]).type===n.Text)r?t.data=(t.data+e).replace(s," "):t.data+=e;else if(this._tagStack.length&&(t=this._tagStack[this._tagStack.length-1])&&(t=t.children[t.children.length-1])&&t.type===n.Text)r?t.data=(t.data+e).replace(s," "):t.data+=e;else{r&&(e=e.replace(s," "));var i=this._createDomElement({data:e,type:n.Text});this._addDomElement(i)}},o.prototype.oncomment=function(e){var t=this._tagStack[this._tagStack.length-1];if(t&&t.type===n.Comment)t.data+=e;else{var r={data:e,type:n.Comment},s=this._createDomElement(r);this._addDomElement(s),this._tagStack.push(s)}},o.prototype.oncdatastart=function(){var e={children:[{data:"",type:n.Text}],type:n.CDATA},t=this._createDomElement(e);this._addDomElement(t),this._tagStack.push(t)},o.prototype.oncommentend=o.prototype.oncdataend=function(){this._tagStack.pop()},o.prototype.onprocessinginstruction=function(e,t){var r=this._createDomElement({name:e,data:t,type:n.Directive});this._addDomElement(r)},e.exports=o},209:function(e,t){var r=e.exports={get firstChild(){var e=this.children;return e&&e[0]||null},get lastChild(){var e=this.children;return e&&e[e.length-1]||null},get nodeType(){return s[this.type]||s.element}},n={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},s={element:1,text:3,cdata:4,comment:8};Object.keys(n).forEach((function(e){var t=n[e];Object.defineProperty(r,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}))},21:function(e,t,r){(function(e){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},s=/%[sdj%]/g;t.format=function(e){if(!v(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(o(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,a=String(e).replace(s,(function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),l=n[r];r<i;l=n[++r])f(l)||!_(l)?a+=" "+l:a+=" "+o(l);return a},t.deprecate=function(r,n){if(void 0!==e&&!0===e.noDeprecation)return r;if(void 0===e)return function(){return t.deprecate(r,n).apply(this,arguments)};var s=!1;return function(){if(!s){if(e.throwDeprecation)throw new Error(n);e.traceDeprecation?console.trace(n):console.error(n),s=!0}return r.apply(this,arguments)}};var i,a={};function o(e,r){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),d(r)?n.showHidden=r:r&&t._extend(n,r),b(n.showHidden)&&(n.showHidden=!1),b(n.depth)&&(n.depth=2),b(n.colors)&&(n.colors=!1),b(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),c(n,e,n.depth)}function l(e,t){var r=o.styles[t];return r?"["+o.colors[r][0]+"m"+e+"["+o.colors[r][1]+"m":e}function u(e,t){return e}function c(e,r,n){if(e.customInspect&&r&&O(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var s=r.inspect(n,e);return v(s)||(s=c(e,s,n)),s}var i=function(e,t){if(b(t))return e.stylize("undefined","undefined");if(v(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return m(t)?e.stylize(""+t,"number"):d(t)?e.stylize(""+t,"boolean"):f(t)?e.stylize("null","null"):void 0}(e,r);if(i)return i;var a=Object.keys(r),o=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),x(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return h(r);if(0===a.length){if(O(r)){var l=r.name?": "+r.name:"";return e.stylize("[Function"+l+"]","special")}if(y(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(w(r))return e.stylize(Date.prototype.toString.call(r),"date");if(x(r))return h(r)}var u,_="",E=!1,T=["{","}"];return g(r)&&(E=!0,T=["[","]"]),O(r)&&(_=" [Function"+(r.name?": "+r.name:"")+"]"),y(r)&&(_=" "+RegExp.prototype.toString.call(r)),w(r)&&(_=" "+Date.prototype.toUTCString.call(r)),x(r)&&(_=" "+h(r)),0!==a.length||E&&0!=r.length?n<0?y(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),u=E?function(e,t,r,n,s){for(var i=[],a=0,o=t.length;a<o;++a)S(t,String(a))?i.push(p(e,t,r,n,String(a),!0)):i.push("");return s.forEach((function(s){s.match(/^\d+$/)||i.push(p(e,t,r,n,s,!0))})),i}(e,r,n,o,a):a.map((function(t){return p(e,r,n,o,t,E)})),e.seen.pop(),function(e,t,r){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}(u,_,T)):T[0]+_+T[1]}function h(e){return"["+Error.prototype.toString.call(e)+"]"}function p(e,t,r,n,s,i){var a,o,l;if((l=Object.getOwnPropertyDescriptor(t,s)||{value:t[s]}).get?o=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(o=e.stylize("[Setter]","special")),S(n,s)||(a="["+s+"]"),o||(e.seen.indexOf(l.value)<0?(o=f(r)?c(e,l.value,null):c(e,l.value,r-1)).indexOf("\n")>-1&&(o=i?o.split("\n").map((function(e){return"  "+e})).join("\n").substr(2):"\n"+o.split("\n").map((function(e){return"   "+e})).join("\n")):o=e.stylize("[Circular]","special")),b(a)){if(i&&s.match(/^\d+$/))return o;(a=JSON.stringify(""+s)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+o}function g(e){return Array.isArray(e)}function d(e){return"boolean"==typeof e}function f(e){return null===e}function m(e){return"number"==typeof e}function v(e){return"string"==typeof e}function b(e){return void 0===e}function y(e){return _(e)&&"[object RegExp]"===E(e)}function _(e){return"object"==typeof e&&null!==e}function w(e){return _(e)&&"[object Date]"===E(e)}function x(e){return _(e)&&("[object Error]"===E(e)||e instanceof Error)}function O(e){return"function"==typeof e}function E(e){return Object.prototype.toString.call(e)}function T(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(r){if(b(i)&&(i=e.env.NODE_DEBUG||""),r=r.toUpperCase(),!a[r])if(new RegExp("\\b"+r+"\\b","i").test(i)){var n=e.pid;a[r]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",r,n,e)}}else a[r]=function(){};return a[r]},t.inspect=o,o.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},o.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=g,t.isBoolean=d,t.isNull=f,t.isNullOrUndefined=function(e){return null==e},t.isNumber=m,t.isString=v,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=b,t.isRegExp=y,t.isObject=_,t.isDate=w,t.isError=x,t.isFunction=O,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(457);var A=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function C(){var e=new Date,t=[T(e.getHours()),T(e.getMinutes()),T(e.getSeconds())].join(":");return[e.getDate(),A[e.getMonth()],t].join(" ")}function S(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",C(),t.format.apply(t,arguments))},t.inherits=r(458),t._extend=function(e,t){if(!t||!_(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var j="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function k(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(j&&e[j]){var t;if("function"!=typeof(t=e[j]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,j,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),s=[],i=0;i<arguments.length;i++)s.push(arguments[i]);s.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,s)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),j&&Object.defineProperty(t,j,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},t.promisify.custom=j,t.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function r(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var s=r.pop();if("function"!=typeof s)throw new TypeError("The last argument must be of type Function");var i=this,a=function(){return s.apply(i,arguments)};t.apply(this,r).then((function(t){e.nextTick(a,null,t)}),(function(t){e.nextTick(k,t,a)}))}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),Object.defineProperties(r,n(t)),r}}).call(this,r(49))},210:function(e,t,r){var n=e.exports;[r(467),r(475),r(476),r(477),r(478),r(479)].forEach((function(e){Object.keys(e).forEach((function(t){n[t]=e[t].bind(n)}))}))},211:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var s=n(r(212)),i=n(r(471)),a=n(r(213)),o=n(r(472)),l=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function u(e){var t=h(e);return function(e){return String(e).replace(l,t)}}t.decodeXML=u(a.default),t.decodeHTMLStrict=u(s.default);var c=function(e,t){return e<t?1:-1};function h(e){return function(t){if("#"===t.charAt(1)){var r=t.charAt(2);return"X"===r||"x"===r?o.default(parseInt(t.substr(3),16)):o.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}t.decodeHTML=function(){for(var e=Object.keys(i.default).sort(c),t=Object.keys(s.default).sort(c),r=0,n=0;r<t.length;r++)e[n]===t[r]?(t[r]+=";?",n++):t[r]+=";";var a=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),o=h(s.default);function l(e){return";"!==e.substr(-1)&&(e+=";"),o(e)}return function(e){return String(e).replace(a,l)}}()},212:function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},213:function(e){e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},214:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var s=c(n(r(213)).default),i=h(s);t.encodeXML=m(s);var a,o,l=c(n(r(212)).default),u=h(l);function c(e){return Object.keys(e).sort().reduce((function(t,r){return t[e[r]]="&"+r+";",t}),{})}function h(e){for(var t=[],r=[],n=0,s=Object.keys(e);n<s.length;n++){var i=s[n];1===i.length?t.push("\\"+i):r.push(i)}t.sort();for(var a=0;a<t.length-1;a++){for(var o=a;o<t.length-1&&t[o].charCodeAt(1)+1===t[o+1].charCodeAt(1);)o+=1;var l=1+o-a;l<3||t.splice(a,l,t[a]+"-"+t[o])}return r.unshift("["+t.join("")+"]"),new RegExp(r.join("|"),"g")}t.encodeHTML=(a=l,o=u,function(e){return e.replace(o,(function(e){return a[e]})).replace(p,d)}),t.encodeNonAsciiHTML=m(l);var p=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,g=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536};function d(e){return"&#x"+(e.length>1?g(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var f=new RegExp(i.source+"|"+p.source,"g");function m(e){return function(t){return t.replace(f,(function(t){return e[t]||d(t)}))}}t.escape=function(e){return e.replace(f,d)},t.escapeUTF8=function(e){return e.replace(i,d)}},215:function(e,t,r){e.exports=o;var n=r(206),s=r(481).Writable,i=r(482).StringDecoder,a=r(216).Buffer;function o(e,t){var r=this._parser=new n(e,t),a=this._decoder=new i;s.call(this,{decodeStrings:!1}),this.once("finish",(function(){r.end(a.end())}))}r(104)(o,s),o.prototype._write=function(e,t,r){e instanceof a&&(e=this._decoder.write(e)),this._parser.write(e),r()}},216:function(e,t,r){"use strict";(function(e){var n=r(484),s=r(485),i=r(486);function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,r){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return h(this,e)}return u(this,e,t,r)}function u(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=p(e,t),e}(e,t,r,n):"string"==typeof t?function(e,t,r){if("string"==typeof r&&""!==r||(r="utf8"),!l.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|d(t,r),s=(e=o(e,n)).write(t,r);return s!==n&&(e=e.slice(0,s)),e}(e,t,r):function(e,t){if(l.isBuffer(t)){var r=0|g(t.length);return 0===(e=o(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?o(e,0):p(e,t);if("Buffer"===t.type&&i(t.data))return p(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function h(e,t){if(c(t),e=o(e,t<0?0:0|g(t)),!l.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function p(e,t){var r=t.length<0?0:0|g(t.length);e=o(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function g(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function d(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return N(e).length;default:if(n)return q(e).length;t=(""+t).toLowerCase(),n=!0}}function f(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return j(this,t,r);case"utf8":case"utf-8":return A(this,t,r);case"ascii":return C(this,t,r);case"latin1":case"binary":return S(this,t,r);case"base64":return T(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function v(e,t,r,n,s){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=s?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(s)return-1;r=e.length-1}else if(r<0){if(!s)return-1;r=0}if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,s);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?s?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,s);throw new TypeError("val must be string, number or Buffer")}function b(e,t,r,n,s){var i,a=1,o=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,o/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(s){var c=-1;for(i=r;i<o;i++)if(u(e,i)===u(t,-1===c?0:i-c)){if(-1===c&&(c=i),i-c+1===l)return c*a}else-1!==c&&(i-=i-c),c=-1}else for(r+l>o&&(r=o-l),i=r;i>=0;i--){for(var h=!0,p=0;p<l;p++)if(u(e,i+p)!==u(t,p)){h=!1;break}if(h)return i}return-1}function y(e,t,r,n){r=Number(r)||0;var s=e.length-r;n?(n=Number(n))>s&&(n=s):n=s;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var o=parseInt(t.substr(2*a,2),16);if(isNaN(o))return a;e[r+a]=o}return a}function _(e,t,r,n){return B(q(t,e.length-r),e,r,n)}function w(e,t,r,n){return B(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function x(e,t,r,n){return w(e,t,r,n)}function O(e,t,r,n){return B(N(t),e,r,n)}function E(e,t,r,n){return B(function(e,t){for(var r,n,s,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,s=r%256,i.push(s),i.push(n);return i}(t,e.length-r),e,r,n)}function T(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function A(e,t,r){r=Math.min(e.length,r);for(var n=[],s=t;s<r;){var i,a,o,l,u=e[s],c=null,h=u>239?4:u>223?3:u>191?2:1;if(s+h<=r)switch(h){case 1:u<128&&(c=u);break;case 2:128==(192&(i=e[s+1]))&&(l=(31&u)<<6|63&i)>127&&(c=l);break;case 3:i=e[s+1],a=e[s+2],128==(192&i)&&128==(192&a)&&(l=(15&u)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:i=e[s+1],a=e[s+2],o=e[s+3],128==(192&i)&&128==(192&a)&&128==(192&o)&&(l=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&o)>65535&&l<1114112&&(c=l)}null===c?(c=65533,h=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),s+=h}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}function C(e,t,r){var n="";r=Math.min(e.length,r);for(var s=t;s<r;++s)n+=String.fromCharCode(127&e[s]);return n}function S(e,t,r){var n="";r=Math.min(e.length,r);for(var s=t;s<r;++s)n+=String.fromCharCode(e[s]);return n}function j(e,t,r){var n,s=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>s)&&(r=s);for(var i="",a=t;a<r;++a)i+=(n=e[a])<16?"0"+n.toString(16):n.toString(16);return i}function k(e,t,r){for(var n=e.slice(t,r),s="",i=0;i<n.length;i+=2)s+=String.fromCharCode(n[i]+256*n[i+1]);return s}function D(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,r,n,s,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>s||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function L(e,t,r,n){t<0&&(t=65535+t+1);for(var s=0,i=Math.min(e.length-r,2);s<i;++s)e[r+s]=(t&255<<8*(n?s:1-s))>>>8*(n?s:1-s)}function M(e,t,r,n){t<0&&(t=4294967295+t+1);for(var s=0,i=Math.min(e.length-r,4);s<i;++s)e[r+s]=t>>>8*(n?s:3-s)&255}function F(e,t,r,n,s,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function $(e,t,r,n,i){return i||F(e,0,r,4),s.write(e,t,r,n,23,4),r+4}function P(e,t,r,n,i){return i||F(e,0,r,8),s.write(e,t,r,n,52,8),r+8}t.Buffer=l,t.SlowBuffer=function(e){return+e!=e&&(e=0),l.alloc(+e)},t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,r){return u(null,e,t,r)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,r){return function(e,t,r,n){return c(t),t<=0?o(null,t):void 0!==r?"string"==typeof n?o(null,t).fill(r,n):o(null,t).fill(r):o(null,t)}(0,e,t,r)},l.allocUnsafe=function(e){return h(null,e)},l.allocUnsafeSlow=function(e){return h(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,s=0,i=Math.min(r,n);s<i;++s)if(e[s]!==t[s]){r=e[s],n=t[s];break}return r<n?-1:n<r?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=l.allocUnsafe(t),s=0;for(r=0;r<e.length;++r){var a=e[r];if(!l.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,s),s+=a.length}return n},l.byteLength=d,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?A(this,0,e):f.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,r,n,s){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===s&&(s=this.length),t<0||r>e.length||n<0||s>this.length)throw new RangeError("out of range index");if(n>=s&&t>=r)return 0;if(n>=s)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(s>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),o=Math.min(i,a),u=this.slice(n,s),c=e.slice(t,r),h=0;h<o;++h)if(u[h]!==c[h]){i=u[h],a=c[h];break}return i<a?-1:a<i?1:0},l.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},l.prototype.indexOf=function(e,t,r){return v(this,e,t,r,!0)},l.prototype.lastIndexOf=function(e,t,r){return v(this,e,t,r,!1)},l.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var s=this.length-t;if((void 0===r||r>s)&&(r=s),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return y(this,e,t,r);case"utf8":case"utf-8":return _(this,e,t,r);case"ascii":return w(this,e,t,r);case"latin1":case"binary":return x(this,e,t,r);case"base64":return O(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},l.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=l.prototype;else{var s=t-e;r=new l(s,void 0);for(var i=0;i<s;++i)r[i]=this[i+e]}return r},l.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||D(e,t,this.length);for(var n=this[e],s=1,i=0;++i<t&&(s*=256);)n+=this[e+i]*s;return n},l.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||D(e,t,this.length);for(var n=this[e+--t],s=1;t>0&&(s*=256);)n+=this[e+--t]*s;return n},l.prototype.readUInt8=function(e,t){return t||D(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||D(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||D(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||D(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||D(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||D(e,t,this.length);for(var n=this[e],s=1,i=0;++i<t&&(s*=256);)n+=this[e+i]*s;return n>=(s*=128)&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||D(e,t,this.length);for(var n=t,s=1,i=this[e+--n];n>0&&(s*=256);)i+=this[e+--n]*s;return i>=(s*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return t||D(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||D(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(e,t){t||D(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(e,t){return t||D(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||D(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||D(e,4,this.length),s.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||D(e,4,this.length),s.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||D(e,8,this.length),s.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||D(e,8,this.length),s.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,r,n){e=+e,t|=0,r|=0,n||R(this,e,t,r,Math.pow(2,8*r)-1,0);var s=1,i=0;for(this[t]=255&e;++i<r&&(s*=256);)this[t+i]=e/s&255;return t+r},l.prototype.writeUIntBE=function(e,t,r,n){e=+e,t|=0,r|=0,n||R(this,e,t,r,Math.pow(2,8*r)-1,0);var s=r-1,i=1;for(this[t+s]=255&e;--s>=0&&(i*=256);)this[t+s]=e/i&255;return t+r},l.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):M(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):M(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var s=Math.pow(2,8*r-1);R(this,e,t,r,s-1,-s)}var i=0,a=1,o=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===o&&0!==this[t+i-1]&&(o=1),this[t+i]=(e/a>>0)-o&255;return t+r},l.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var s=Math.pow(2,8*r-1);R(this,e,t,r,s-1,-s)}var i=r-1,a=1,o=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===o&&0!==this[t+i+1]&&(o=1),this[t+i]=(e/a>>0)-o&255;return t+r},l.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):M(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):M(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,r){return $(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return $(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return P(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return P(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var s,i=n-r;if(this===e&&r<t&&t<n)for(s=i-1;s>=0;--s)e[s+t]=this[s+r];else if(i<1e3||!l.TYPED_ARRAY_SUPPORT)for(s=0;s<i;++s)e[s+t]=this[s+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},l.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var s=e.charCodeAt(0);s<256&&(e=s)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!l.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=l.isBuffer(e)?e:q(new l(e,n).toString()),o=a.length;for(i=0;i<r-t;++i)this[i+t]=a[i%o]}return this};var I=/[^+\/0-9A-Za-z-_]/g;function q(e,t){var r;t=t||1/0;for(var n=e.length,s=null,i=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!s){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}s=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),s=r;continue}r=65536+(s-55296<<10|r-56320)}else s&&(t-=3)>-1&&i.push(239,191,189);if(s=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function N(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(I,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function B(e,t,r,n){for(var s=0;s<n&&!(s+r>=t.length||s>=e.length);++s)t[s+r]=e[s];return s}}).call(this,r(24))},217:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return o}));var n=r(239);let s;function i(){return null===s.yoast.shortlinker&&(s.yoast.shortlinker=new n.a),s.yoast.shortlinker}function a(e){i().configure(e)}function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i().createAnchorOpeningTag(e,t)}s="undefined"==typeof window?"undefined"==typeof self?e:self:window,s.yoast=s.yoast||{},s.yoast.shortlinker=s.yoast.shortlinker||null}).call(this,r(24))},235:function(e,t){e.exports=window.wp.autop},236:function(e,t){e.exports=window.yoast.featureFlag},237:function(e,t,r){var n,s;!function(i,a){"use strict";void 0===(s="function"==typeof(n=function(){var e=function(){},t="undefined"!=typeof window&&void 0!==window.navigator&&/Trident\/|MSIE /.test(window.navigator.userAgent),r=["trace","debug","info","warn","error"];function n(e,t){var r=e[t];if("function"==typeof r.bind)return r.bind(e);try{return Function.prototype.bind.call(r,e)}catch(t){return function(){return Function.prototype.apply.apply(r,[e,arguments])}}}function s(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function i(r){return"debug"===r&&(r="log"),"undefined"!=typeof console&&("trace"===r&&t?s:void 0!==console[r]?n(console,r):void 0!==console.log?n(console,"log"):e)}function a(t,n){for(var s=0;s<r.length;s++){var i=r[s];this[i]=s<t?e:this.methodFactory(i,t,n)}this.log=this.debug}function o(e,t,r){return function(){"undefined"!=typeof console&&(a.call(this,t,r),this[e].apply(this,arguments))}}function l(e,t,r){return i(e)||o.apply(this,arguments)}function u(e,t,n){var s,i=this,o="loglevel";function u(){var e;if("undefined"!=typeof window&&o){try{e=window.localStorage[o]}catch(e){}if(void 0===e)try{var t=window.document.cookie,r=t.indexOf(encodeURIComponent(o)+"=");-1!==r&&(e=/^([^;]+)/.exec(t.slice(r))[1])}catch(e){}return void 0===i.levels[e]&&(e=void 0),e}}"string"==typeof e?o+=":"+e:"symbol"==typeof e&&(o=void 0),i.name=e,i.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},i.methodFactory=n||l,i.getLevel=function(){return s},i.setLevel=function(t,n){if("string"==typeof t&&void 0!==i.levels[t.toUpperCase()]&&(t=i.levels[t.toUpperCase()]),!("number"==typeof t&&t>=0&&t<=i.levels.SILENT))throw"log.setLevel() called with invalid level: "+t;if(s=t,!1!==n&&function(e){var t=(r[e]||"silent").toUpperCase();if("undefined"!=typeof window&&o){try{return void(window.localStorage[o]=t)}catch(e){}try{window.document.cookie=encodeURIComponent(o)+"="+t+";"}catch(e){}}}(t),a.call(i,t,e),"undefined"==typeof console&&t<i.levels.SILENT)return"No console available for logging"},i.setDefaultLevel=function(e){u()||i.setLevel(e,!1)},i.enableAll=function(e){i.setLevel(i.levels.TRACE,e)},i.disableAll=function(e){i.setLevel(i.levels.SILENT,e)};var c=u();null==c&&(c=null==t?"WARN":t),i.setLevel(c,!1)}var c=new u,h={};c.getLogger=function(e){if("symbol"!=typeof e&&"string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=h[e];return t||(t=h[e]=new u(e,c.getLevel(),c.methodFactory)),t};var p="undefined"!=typeof window?window.log:void 0;return c.noConflict=function(){return"undefined"!=typeof window&&window.log===c&&(window.log=p),c},c.getLoggers=function(){return h},c.default=c,c})?n.call(t,r,t,e):n)||(e.exports=s)}()},238:function(e,t){e.exports=window.lodash.memoize},239:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));class n{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.configure(e)}configure(e){this._config={params:{},...e}}static createQueryString(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}append(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=encodeURI(e);const s=n.createQueryString({...this._config.params,...t});return""!==s&&(r+="?"+s),r}createAnchorOpeningTag(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return`<a href='${this.append(e,t)}' target='_blank'>`}}},24:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},4:function(e,t){e.exports=window.wp.i18n},44:function(e,t,r){"use strict";var n=r(115),s=r(116);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=y,t.resolve=function(e,t){return y(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},t.format=function(e){return s.isString(e)&&(e=y(e)),e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var a=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(u),h=["%","/","?",";","#"].concat(c),p=["/","?","#"],g=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},m={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},b=r(117);function y(e,t,r){if(e&&s.isObject(e)&&e instanceof i)return e;var n=new i;return n.parse(e,t,r),n}i.prototype.parse=function(e,t,r){if(!s.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),o=-1!==i&&i<e.indexOf("#")?"?":"#",u=e.split(o);u[0]=u[0].replace(/\\/g,"/");var y=e=u.join(o);if(y=y.trim(),!r&&1===e.split("#").length){var _=l.exec(y);if(_)return this.path=y,this.href=y,this.pathname=_[1],_[2]?(this.search=_[2],this.query=t?b.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=a.exec(y);if(w){var x=(w=w[0]).toLowerCase();this.protocol=x,y=y.substr(w.length)}if(r||w||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var O="//"===y.substr(0,2);!O||w&&m[w]||(y=y.substr(2),this.slashes=!0)}if(!m[w]&&(O||w&&!v[w])){for(var E,T,A=-1,C=0;C<p.length;C++)-1!==(S=y.indexOf(p[C]))&&(-1===A||S<A)&&(A=S);for(-1!==(T=-1===A?y.lastIndexOf("@"):y.lastIndexOf("@",A))&&(E=y.slice(0,T),y=y.slice(T+1),this.auth=decodeURIComponent(E)),A=-1,C=0;C<h.length;C++){var S;-1!==(S=y.indexOf(h[C]))&&(-1===A||S<A)&&(A=S)}-1===A&&(A=y.length),this.host=y.slice(0,A),y=y.slice(A),this.parseHost(),this.hostname=this.hostname||"";var j="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!j)for(var k=this.hostname.split(/\./),D=(C=0,k.length);C<D;C++){var R=k[C];if(R&&!R.match(g)){for(var L="",M=0,F=R.length;M<F;M++)R.charCodeAt(M)>127?L+="x":L+=R[M];if(!L.match(g)){var $=k.slice(0,C),P=k.slice(C+1),I=R.match(d);I&&($.push(I[1]),P.unshift(I[2])),P.length&&(y="/"+P.join(".")+y),this.hostname=$.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),j||(this.hostname=n.toASCII(this.hostname));var q=this.port?":"+this.port:"",N=this.hostname||"";this.host=N+q,this.href+=this.host,j&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!f[x])for(C=0,D=c.length;C<D;C++){var B=c[C];if(-1!==y.indexOf(B)){var U=encodeURIComponent(B);U===B&&(U=escape(B)),y=y.split(B).join(U)}}var H=y.indexOf("#");-1!==H&&(this.hash=y.substr(H),y=y.slice(0,H));var K=y.indexOf("?");if(-1!==K?(this.search=y.substr(K),this.query=y.substr(K+1),t&&(this.query=b.parse(this.query)),y=y.slice(0,K)):t&&(this.search="",this.query={}),y&&(this.pathname=y),v[x]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){q=this.pathname||"";var z=this.search||"";this.path=q+z}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||"",r=this.pathname||"",n=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&&s.isObject(this.query)&&Object.keys(this.query).length&&(a=b.stringify(this.query));var o=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||v[t])&&!1!==i?(i="//"+(i||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),o&&"?"!==o.charAt(0)&&(o="?"+o),t+i+(r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(o=o.replace("#","%23"))+n},i.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(s.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var r=new i,n=Object.keys(this),a=0;a<n.length;a++){var o=n[a];r[o]=this[o]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),u=0;u<l.length;u++){var c=l[u];"protocol"!==c&&(r[c]=e[c])}return v[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!v[e.protocol]){for(var h=Object.keys(e),p=0;p<h.length;p++){var g=h[p];r[g]=e[g]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||m[e.protocol])r.pathname=e.pathname;else{for(var d=(e.pathname||"").split("/");d.length&&!(e.host=d.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),r.pathname=d.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var f=r.pathname||"",b=r.search||"";r.path=f+b}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var y=r.pathname&&"/"===r.pathname.charAt(0),_=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=_||y||r.host&&e.pathname,x=w,O=r.pathname&&r.pathname.split("/")||[],E=(d=e.pathname&&e.pathname.split("/")||[],r.protocol&&!v[r.protocol]);if(E&&(r.hostname="",r.port=null,r.host&&(""===O[0]?O[0]=r.host:O.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===d[0]?d[0]=e.host:d.unshift(e.host)),e.host=null),w=w&&(""===d[0]||""===O[0])),_)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,O=d;else if(d.length)O||(O=[]),O.pop(),O=O.concat(d),r.search=e.search,r.query=e.query;else if(!s.isNullOrUndefined(e.search))return E&&(r.hostname=r.host=O.shift(),(j=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=j.shift(),r.host=r.hostname=j.shift())),r.search=e.search,r.query=e.query,s.isNull(r.pathname)&&s.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!O.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var T=O.slice(-1)[0],A=(r.host||e.host||O.length>1)&&("."===T||".."===T)||""===T,C=0,S=O.length;S>=0;S--)"."===(T=O[S])?O.splice(S,1):".."===T?(O.splice(S,1),C++):C&&(O.splice(S,1),C--);if(!w&&!x)for(;C--;C)O.unshift("..");!w||""===O[0]||O[0]&&"/"===O[0].charAt(0)||O.unshift(""),A&&"/"!==O.join("/").substr(-1)&&O.push("");var j,k=""===O[0]||O[0]&&"/"===O[0].charAt(0);return E&&(r.hostname=r.host=k?"":O.length?O.shift():"",(j=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=j.shift(),r.host=r.hostname=j.shift())),(w=w||r.host&&O.length)&&!k&&O.unshift(""),O.length?r.pathname=O.join("/"):(r.pathname=null,r.path=null),s.isNull(r.pathname)&&s.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},i.prototype.parseHost=function(){var e=this.host,t=o.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},442:function(e,t,r){r(204);var n,s=r(129);n=s("Error.captureStackTrace")?r(445):s("Error.prototype.stack")?r(446):r(456),e.exports=n()},443:function(e,t,r){var n=r(205),s=n.define,i=n.test;s("strict mode",(function(){return void 0===this})),s("arguments.callee.caller",(function(){try{return function(){return arguments.callee.caller}()===arguments.callee}catch(e){return!1}})),s("es5",(function(){return i("Array.prototype.forEach")&&i("Array.prototype.map")&&i("Function.prototype.bind")&&i("Object.create")&&i("Object.defineProperties")&&i("Object.defineProperty")&&i("Object.prototype.hasOwnProperty")})),s("Array.prototype.forEach",(function(){return Array.prototype.forEach})),s("Array.prototype.map",(function(){return Array.prototype.map})),s("Function.prototype.bind",(function(){return Function.prototype.bind})),s("Object.create",(function(){return Object.create})),s("Object.defineProperties",(function(){return Object.defineProperties})),s("Object.defineProperty",(function(){return Object.defineProperty})),s("Object.prototype.hasOwnProperty",(function(){return Object.prototype.hasOwnProperty})),s("Error.captureStackTrace",(function(){return Error.captureStackTrace})),s("Error.prototype.stack",(function(){try{throw new Error}catch(e){return e.stack||e.stacktrace}}))},444:function(e,t){var r=function(){this.tests={},this.cache={}};r.prototype={constructor:r,define:function(e,t){if("string"!=typeof e||!(t instanceof Function))throw new Error("Invalid capability definition.");if(this.tests[e])throw new Error('Duplicated capability definition by "'+e+'".');this.tests[e]=t},check:function(e){if(!this.test(e))throw new Error('The current environment does not support "'+e+'", therefore we cannot continue.')},test:function(e){if(void 0!==this.cache[e])return this.cache[e];if(!this.tests[e])throw new Error('Unknown capability with name "'+e+'".');var t=this.tests[e];return this.cache[e]=!!t(),this.cache[e]}},e.exports=r},445:function(e,t,r){var n=r(130);e.exports=function(){return Error.getStackTrace=function(e){return e.stack},{prepareStackTrace:n}}},446:function(e,t,r){var n=r(447),s=r(454),i=r(78).cache,a=r(130);e.exports=function(){return Error.captureStackTrace=function e(t,r){var o=[e];r&&o.push(r);var l=n.getInstance().captureFrameStrings(o);Object.defineProperties(t,{stack:{configurable:!0,get:i((function(){var e=s.getInstance().getFrames(l.frameStrings,l.functionValues);return(Error.prepareStackTrace||a)(t,e,void 0)}))},cachedStack:{configurable:!0,writable:!0,enumerable:!1,value:!0}})},Error.getStackTrace=function(e){if(e.cachedStack)return e.stack;var t,r=n.getInstance().getFrameStrings(e),i=[];r?i=s.getInstance().getFrames(r,[]):t=["The stack is not readable by unthrown errors in this environment."];var o=(Error.prepareStackTrace||a)(e,i,t);if(r)try{Object.defineProperties(e,{stack:{configurable:!0,writable:!0,enumerable:!1,value:o},cachedStack:{configurable:!0,writable:!0,enumerable:!1,value:!0}})}catch(e){}return o},{prepareStackTrace:a}}},447:function(e,t,r){var n=r(77).Class,s=r(77).abstractMethod,i=r(78).eachCombination,a=r(78).cache,o=r(129),l=n(Object,{prototype:{captureFrameStrings:function(e){var t=this.createError();e.unshift(this.captureFrameStrings),e.unshift(this.createError);var r=this.getFrameStrings(t),n=r.slice(e.length),s=[];if(o("arguments.callee.caller")){var i=[this.createError,this.captureFrameStrings];try{for(var a=arguments.callee;a=a.caller;)i.push(a)}catch(e){}s=i.slice(e.length)}return{frameStrings:n,functionValues:s}},getFrameStrings:function(e){var t=e.message||"",r=e.name||"",n=this.getStackString(e);if(void 0!==n){var s=n.split("\n"),i=0,a=s.length;return this.hasHeader&&(i+=r.split("\n").length+t.split("\n").length-1),this.hasFooter&&(a-=1),s.slice(i,a)}},createError:s,getStackString:s,hasHeader:void 0,hasFooter:void 0}}),u=n(Object,{prototype:{calibrateClass:function(e){return this.calibrateMethods(e)&&this.calibrateEnvelope(e)},calibrateMethods:function(e){try{i([[function(e){return new Error(e)},function(e){try{throw new Error(e)}catch(e){return e}}],[function(e){return e.stack},function(e){return e.stacktrace}]],(function(e,t){if(t(e()))throw{getStackString:t,createError:e}}))}catch(t){return n.merge.call(e,{prototype:t}),!0}return!1},calibrateEnvelope:function(e){var t=(0,e.prototype.getStackString)((0,e.prototype.createError)("marker")).split("\n");return n.merge.call(e,{prototype:{hasHeader:/marker/.test(t[0]),hasFooter:""===t[t.length-1]}}),!0}}});e.exports={getClass:a((function(){var e;if(e)return e;if(e=n(l,{}),!(new u).calibrateClass(e))throw new Error("Cannot read Error.prototype.stack in this environment.");return e})),getInstance:a((function(){return new(this.getClass())}))}},448:function(e,t,r){e.exports={Class:r(449),abstractMethod:r(450)}},449:function(e,t){var r=function(){var e=Object.create({Source:Object,config:{},buildArgs:[]});function t(t){var r="config";if(t instanceof Function)r="Source";else if(t instanceof Array)r="buildArgs";else{if(!(t instanceof Object))throw new Error("Invalid configuration option.");r="config"}if(e.hasOwnProperty(r))throw new Error("Duplicated configuration option: "+r+".");e[r]=t}for(var n=0,s=arguments.length;n<s;++n)t(arguments[n]);var i=e.Source,a=e.config,o=e.buildArgs;return(i.extend||r.extend).call(i,a,o)};r.factory=function(){return function(){var e=this;e.build instanceof Function&&e.build.apply(e,arguments),e.init instanceof Function&&e.init.apply(e,arguments)}},r.extend=function(e,t){var n;return e||(e={}),e.prototype instanceof Object&&e.prototype.constructor!==Object?n=e.prototype.constructor:e.factory instanceof Function&&(n=e.factory.call(this)),((n=(this.clone||r.clone).call(this,n,t)).merge||r.merge).call(n,e),n},r.prototype.extend=function(e,t){var n=(this.clone||r.prototype.clone).apply(this,t);return(n.merge||r.prototype.merge).call(n,e),n},r.clone=function(e,t){for(var n in e instanceof Function||(e=(this.factory||r.factory).call(this)),e.prototype=(this.prototype.clone||r.prototype.clone).apply(this.prototype,t||[]),e.prototype.constructor=e,this)"prototype"!==n&&(e[n]=this[n]);return e},r.prototype.clone=function(){var e=this,t=Object.create(e);return t.build instanceof Function&&t.build.apply(t,arguments),t},r.merge=function(e){for(var t in e)"prototype"!==t&&(this[t]=e[t]);return e.prototype instanceof Object&&(this.prototype.merge||r.prototype.merge).call(this.prototype,e.prototype),this},r.prototype.merge=function(e){for(var t in e)"constructor"!==t&&(this[t]=e[t]);return this},r.absorb=function(e){for(var t in e)"prototype"===t||void 0!==this[t]&&this[t]!==Function.prototype[t]||(this[t]=e[t]);return e.prototype instanceof Object&&(this.prototype.absorb||r.prototype.absorb).call(this.prototype,e.prototype),this},r.prototype.absorb=function(e){for(var t in e)"constructor"===t||void 0!==this[t]&&this[t]!==Object.prototype[t]||(this[t]=e[t]);return this},r.getAncestor=function(){if(this!==this.prototype.constructor)return this.prototype.constructor},r.newInstance=function(){var e=this,t=Object.create(this.prototype);return e.apply(t,arguments),t},e.exports=r},450:function(e,t){e.exports=function(){throw new Error("Not implemented.")}},451:function(e,t,r){e.exports={cache:r(452),eachCombination:r(453)}},452:function(e,t){e.exports=function(e){var t,r=!1;return e instanceof Function||(r=!0,t=e,e=null),function(){return r||(r=!0,t=e.apply(this,arguments),e=null),t}}},453:function(e,t){e.exports=function e(t,r,n){if(n||(n=[]),n.length<t.length){var s=t[n.length];for(var i in s)n[n.length]=s[i],e(t,r,n),--n.length}else r.apply(null,n)}},454:function(e,t,r){var n=r(77).Class,s=r(455),i=r(78).cache,a=n(Object,{prototype:{stackParser:null,frameParser:null,locationParsers:null,constructor:function(e){n.prototype.merge.call(this,e)},getFrames:function(e,t){for(var r=[],n=0,s=e.length;n<s;++n)r[n]=this.getFrame(e[n],t[n]);return r},getFrame:function(e,t){return new s({frameString:e,functionValue:t})}}});e.exports={getClass:i((function(){return a})),getInstance:i((function(){return new(this.getClass())}))}},455:function(e,t,r){var n=r(77).Class,s=r(77).abstractMethod,i=n(Object,{prototype:{init:n.prototype.merge,frameString:void 0,toString:function(){return this.frameString},functionValue:void 0,getThis:s,getTypeName:s,getFunction:function(){return this.functionValue},getFunctionName:s,getMethodName:s,getFileName:s,getLineNumber:s,getColumnNumber:s,getEvalOrigin:s,isTopLevel:s,isEval:s,isNative:s,isConstructor:s}});e.exports=i},456:function(e,t,r){var n=r(78).cache,s=r(130);e.exports=function(){return Error.captureStackTrace=function(e,t){Object.defineProperties(e,{stack:{configurable:!0,get:n((function(){return(Error.prepareStackTrace||s)(e,[])}))},cachedStack:{configurable:!0,writable:!0,enumerable:!1,value:!0}})},Error.getStackTrace=function(e){if(e.cachedStack)return e.stack;var t=(Error.prepareStackTrace||s)(e,[]);try{Object.defineProperties(e,{stack:{configurable:!0,writable:!0,enumerable:!1,value:t},cachedStack:{configurable:!0,writable:!0,enumerable:!1,value:!0}})}catch(e){}return t},{prepareStackTrace:s}}},457:function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},458:function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},459:function(e,t,r){var n=r(460);e.exports=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in n&&(e=n[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)}},460:function(e){e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},461:function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},462:function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},463:function(e){e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},464:function(e,t,r){"use strict";var n,s="object"==typeof Reflect?Reflect:null,i=s&&"function"==typeof s.apply?s.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=s&&"function"==typeof s.ownKeys?s.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(r,n){function s(r){e.removeListener(t,i),n(r)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",s),r([].slice.call(arguments))}v(e,t,i,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&v(e,"error",t,{once:!0})}(e,s)}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var l=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function h(e,t,r,n){var s,i,a,o;if(u(r),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),a=i[t]),void 0===a)a=i[t]=r,++e._eventsCount;else if("function"==typeof a?a=i[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(s=c(e))>0&&a.length>s&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,o=l,console&&console.warn&&console.warn(o)}return e}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function g(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},s=p.bind(n);return s.listener=r,n.wrapFn=s,s}function d(e,t,r){var n=e._events;if(void 0===n)return[];var s=n[t];return void 0===s?[]:"function"==typeof s?r?[s.listener||s]:[s]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(s):m(s,s.length)}function f(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function m(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function v(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function s(i){n.once&&e.removeEventListener(t,s),r(i)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");l=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return c(this)},o.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,s=this._events;if(void 0!==s)n=n&&void 0===s.error;else if(!n)return!1;if(n){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var o=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw o.context=a,o}var l=s[e];if(void 0===l)return!1;if("function"==typeof l)i(l,this,t);else{var u=l.length,c=m(l,u);for(r=0;r<u;++r)i(c[r],this,t)}return!0},o.prototype.addListener=function(e,t){return h(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return h(this,e,t,!0)},o.prototype.once=function(e,t){return u(t),this.on(e,g(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,g(this,e,t)),this},o.prototype.removeListener=function(e,t){var r,n,s,i,a;if(u(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(s=-1,i=r.length-1;i>=0;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,s=i;break}if(s<0)return this;0===s?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,s),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var s,i=Object.keys(r);for(n=0;n<i.length;++n)"removeListener"!==(s=i[n])&&this.removeAllListeners(s);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):f.call(e,t)},o.prototype.listenerCount=f,o.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},465:function(e,t,r){var n=r(209),s=e.exports=Object.create(n),i={tagName:"name"};Object.keys(i).forEach((function(e){var t=i[e];Object.defineProperty(s,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}))},466:function(e,t,r){var n=r(208),s=r(210);function i(e,t){this.init(e,t)}function a(e,t){return s.getElementsByTagName(e,t,!0)}function o(e,t){return s.getElementsByTagName(e,t,!0,1)[0]}function l(e,t,r){return s.getText(s.getElementsByTagName(e,t,r,1)).trim()}function u(e,t,r,n,s){var i=l(r,n,s);i&&(e[t]=i)}r(104)(i,n),i.prototype.init=n;var c=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};i.prototype.onend=function(){var e,t,r={},s=o(c,this.dom);s&&("feed"===s.name?(t=s.children,r.type="atom",u(r,"id","id",t),u(r,"title","title",t),(e=o("link",t))&&(e=e.attribs)&&(e=e.href)&&(r.link=e),u(r,"description","subtitle",t),(e=l("updated",t))&&(r.updated=new Date(e)),u(r,"author","email",t,!0),r.items=a("entry",t).map((function(e){var t,r={};return u(r,"id","id",e=e.children),u(r,"title","title",e),(t=o("link",e))&&(t=t.attribs)&&(t=t.href)&&(r.link=t),(t=l("summary",e)||l("content",e))&&(r.description=t),(t=l("updated",e))&&(r.pubDate=new Date(t)),r}))):(t=o("channel",s.children).children,r.type=s.name.substr(0,3),r.id="",u(r,"title","title",t),u(r,"link","link",t),u(r,"description","description",t),(e=l("lastBuildDate",t))&&(r.updated=new Date(e)),u(r,"author","managingEditor",t,!0),r.items=a("item",s.children).map((function(e){var t,r={};return u(r,"id","guid",e=e.children),u(r,"title","title",e),u(r,"link","link",e),u(r,"description","description",e),(t=l("pubDate",e))&&(r.pubDate=new Date(t)),r})))),this.dom=r,n.prototype._handleCallback.call(this,s?null:Error("couldn't find root of feed"))},e.exports=i},467:function(e,t,r){var n=r(79),s=r(468),i=n.isTag;e.exports={getInnerHTML:function(e,t){return e.children?e.children.map((function(e){return s(e,t)})).join(""):""},getOuterHTML:s,getText:function e(t){return Array.isArray(t)?t.map(e).join(""):i(t)?"br"===t.name?"\n":e(t.children):t.type===n.CDATA?e(t.children):t.type===n.Text?t.data:""}}},468:function(e,t,r){var n=r(469),s=r(470),i=r(474);i.elementNames.__proto__=null,i.attributeNames.__proto__=null;var a={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0},o={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},l=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var r="",s=0;s<e.length;s++){var i=e[s];"root"===i.type?r+=l(i.children,t):n.isTag(i)?r+=c(i,t):i.type===n.Directive?r+=h(i):i.type===n.Comment?r+=d(i):i.type===n.CDATA?r+=g(i):r+=p(i,t)}return r},u=["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"];function c(e,t){"foreign"===t.xmlMode&&(e.name=i.elementNames[e.name]||e.name,e.parent&&u.indexOf(e.parent.name)>=0&&(t=Object.assign({},t,{xmlMode:!1}))),!t.xmlMode&&["svg","math"].indexOf(e.name)>=0&&(t=Object.assign({},t,{xmlMode:"foreign"}));var r="<"+e.name,n=function(e,t){if(e){var r,n="";for(var a in e)r=e[a],n&&(n+=" "),"foreign"===t.xmlMode&&(a=i.attributeNames[a]||a),n+=a,(null!==r&&""!==r||t.xmlMode)&&(n+='="'+(t.decodeEntities?s.encodeXML(r):r.replace(/\"/g,"&quot;"))+'"');return n}}(e.attribs,t);return n&&(r+=" "+n),!t.xmlMode||e.children&&0!==e.children.length?(r+=">",e.children&&(r+=l(e.children,t)),o[e.name]&&!t.xmlMode||(r+="</"+e.name+">")):r+="/>",r}function h(e){return"<"+e.data+">"}function p(e,t){var r=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in a||(r=s.encodeXML(r)),r}function g(e){return"<![CDATA["+e.children[0].data+"]]>"}function d(e){return"\x3c!--"+e.data+"--\x3e"}},469:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=void 0,t.isTag=function(e){return"tag"===e.type||"script"===e.type||"style"===e.type},t.Root="root",t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"},470:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var n=r(211),s=r(214);t.decode=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?s.encodeXML:s.encodeHTML)(e)};var i=r(214);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return i.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return i.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return i.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return i.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return i.encodeHTML}});var a=r(211);Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return a.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return a.decodeXML}})},471:function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},472:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(r(473)),i=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in s.default&&(e=s.default[e]),i(e))}},473:function(e){e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},474:function(e){e.exports=JSON.parse('{"elementNames":{"altglyph":"altGlyph","altglyphdef":"altGlyphDef","altglyphitem":"altGlyphItem","animatecolor":"animateColor","animatemotion":"animateMotion","animatetransform":"animateTransform","clippath":"clipPath","feblend":"feBlend","fecolormatrix":"feColorMatrix","fecomponenttransfer":"feComponentTransfer","fecomposite":"feComposite","feconvolvematrix":"feConvolveMatrix","fediffuselighting":"feDiffuseLighting","fedisplacementmap":"feDisplacementMap","fedistantlight":"feDistantLight","fedropshadow":"feDropShadow","feflood":"feFlood","fefunca":"feFuncA","fefuncb":"feFuncB","fefuncg":"feFuncG","fefuncr":"feFuncR","fegaussianblur":"feGaussianBlur","feimage":"feImage","femerge":"feMerge","femergenode":"feMergeNode","femorphology":"feMorphology","feoffset":"feOffset","fepointlight":"fePointLight","fespecularlighting":"feSpecularLighting","fespotlight":"feSpotLight","fetile":"feTile","feturbulence":"feTurbulence","foreignobject":"foreignObject","glyphref":"glyphRef","lineargradient":"linearGradient","radialgradient":"radialGradient","textpath":"textPath"},"attributeNames":{"definitionurl":"definitionURL","attributename":"attributeName","attributetype":"attributeType","basefrequency":"baseFrequency","baseprofile":"baseProfile","calcmode":"calcMode","clippathunits":"clipPathUnits","diffuseconstant":"diffuseConstant","edgemode":"edgeMode","filterunits":"filterUnits","glyphref":"glyphRef","gradienttransform":"gradientTransform","gradientunits":"gradientUnits","kernelmatrix":"kernelMatrix","kernelunitlength":"kernelUnitLength","keypoints":"keyPoints","keysplines":"keySplines","keytimes":"keyTimes","lengthadjust":"lengthAdjust","limitingconeangle":"limitingConeAngle","markerheight":"markerHeight","markerunits":"markerUnits","markerwidth":"markerWidth","maskcontentunits":"maskContentUnits","maskunits":"maskUnits","numoctaves":"numOctaves","pathlength":"pathLength","patterncontentunits":"patternContentUnits","patterntransform":"patternTransform","patternunits":"patternUnits","pointsatx":"pointsAtX","pointsaty":"pointsAtY","pointsatz":"pointsAtZ","preservealpha":"preserveAlpha","preserveaspectratio":"preserveAspectRatio","primitiveunits":"primitiveUnits","refx":"refX","refy":"refY","repeatcount":"repeatCount","repeatdur":"repeatDur","requiredextensions":"requiredExtensions","requiredfeatures":"requiredFeatures","specularconstant":"specularConstant","specularexponent":"specularExponent","spreadmethod":"spreadMethod","startoffset":"startOffset","stddeviation":"stdDeviation","stitchtiles":"stitchTiles","surfacescale":"surfaceScale","systemlanguage":"systemLanguage","tablevalues":"tableValues","targetx":"targetX","targety":"targetY","textlength":"textLength","viewbox":"viewBox","viewtarget":"viewTarget","xchannelselector":"xChannelSelector","ychannelselector":"yChannelSelector","zoomandpan":"zoomAndPan"}}')},475:function(e,t){var r=t.getChildren=function(e){return e.children},n=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=n(e);return t?r(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},476:function(e,t){t.removeElement=function(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}},t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var s=t.parent=e.parent;if(s){var i=s.children;i[i.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(t.parent=e,1!==e.children.push(t)){var r=e.children[e.children.length-2];r.next=t,t.prev=r,t.next=null}},t.append=function(e,t){var r=e.parent,n=e.next;if(t.next=n,t.prev=e,e.next=t,t.parent=r,n){if(n.prev=t,r){var s=r.children;s.splice(s.lastIndexOf(n),0,t)}}else r&&r.children.push(t)},t.prepend=function(e,t){var r=e.parent;if(r){var n=r.children;n.splice(n.lastIndexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},477:function(e,t,r){var n=r(79).isTag;function s(e,t,r,n){for(var i,a=[],o=0,l=t.length;o<l&&!(e(t[o])&&(a.push(t[o]),--n<=0))&&(i=t[o].children,!(r&&i&&i.length>0&&(i=s(e,i,r,n),a=a.concat(i),(n-=i.length)<=0)));o++);return a}e.exports={filter:function(e,t,r,n){return Array.isArray(t)||(t=[t]),"number"==typeof n&&isFinite(n)||(n=1/0),s(e,t,!1!==r,n)},find:s,findOneChild:function(e,t){for(var r=0,n=t.length;r<n;r++)if(e(t[r]))return t[r];return null},findOne:function e(t,r){for(var s=null,i=0,a=r.length;i<a&&!s;i++)n(r[i])&&(t(r[i])?s=r[i]:r[i].children.length>0&&(s=e(t,r[i].children)));return s},existsOne:function e(t,r){for(var s=0,i=r.length;s<i;s++)if(n(r[s])&&(t(r[s])||r[s].children.length>0&&e(t,r[s].children)))return!0;return!1},findAll:function(e,t){for(var r=[],s=t.slice();s.length;){var i=s.shift();n(i)&&(i.children&&i.children.length>0&&s.unshift.apply(s,i.children),e(i)&&r.push(i))}return r}}},478:function(e,t,r){var n=r(79),s=t.isTag=n.isTag;t.testElement=function(e,t){for(var r in e)if(e.hasOwnProperty(r))if("tag_name"===r){if(!s(t)||!e.tag_name(t.name))return!1}else if("tag_type"===r){if(!e.tag_type(t.type))return!1}else if("tag_contains"===r){if(s(t)||!e.tag_contains(t.data))return!1}else if(!t.attribs||!e[r](t.attribs[r]))return!1;return!0};var i={tag_name:function(e){return"function"==typeof e?function(t){return s(t)&&e(t.name)}:"*"===e?s:function(t){return s(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return!s(t)&&e(t.data)}:function(t){return!s(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(r){return r.attribs&&t(r.attribs[e])}:function(r){return r.attribs&&r.attribs[e]===t}}function o(e,t){return function(r){return e(r)||t(r)}}t.getElements=function(e,t,r,n){var s=Object.keys(e).map((function(t){var r=e[t];return t in i?i[t](r):a(t,r)}));return 0===s.length?[]:this.filter(s.reduce(o),t,r,n)},t.getElementById=function(e,t,r){return Array.isArray(t)||(t=[t]),this.findOne(a("id",e),t,!1!==r)},t.getElementsByTagName=function(e,t,r,n){return this.filter(i.tag_name(e),t,r,n)},t.getElementsByTagType=function(e,t,r,n){return this.filter(i.tag_type(e),t,r,n)}},479:function(e,t){t.removeSubsets=function(e){for(var t,r,n,s=e.length;--s>-1;){for(t=r=e[s],e[s]=null,n=!0;r;){if(e.indexOf(r)>-1){n=!1,e.splice(s,1);break}r=r.parent}n&&(e[s]=t)}return e};var r=t.compareDocumentPosition=function(e,t){var r,n,s,i,a,o,l=[],u=[];if(e===t)return 0;for(r=e;r;)l.unshift(r),r=r.parent;for(r=t;r;)u.unshift(r),r=r.parent;for(o=0;l[o]===u[o];)o++;return 0===o?1:(s=(n=l[o-1]).children,i=l[o],a=u[o],s.indexOf(i)>s.indexOf(a)?n===t?20:4:n===e?10:2)};t.uniqueSort=function(e){var t,n,s=e.length;for(e=e.slice();--s>-1;)t=e[s],(n=e.indexOf(t))>-1&&n<s&&e.splice(s,1);return e.sort((function(e,t){var n=r(e,t);return 2&n?-1:4&n?1:0})),e}},480:function(e,t,r){e.exports=s;var n=r(215);function s(e){n.call(this,new i(this),e)}function i(e){this.scope=e}r(104)(s,n),s.prototype.readable=!0;var a=r(56).EVENTS;Object.keys(a).forEach((function(e){if(0===a[e])i.prototype["on"+e]=function(){this.scope.emit(e)};else if(1===a[e])i.prototype["on"+e]=function(t){this.scope.emit(e,t)};else{if(2!==a[e])throw Error("wrong number of arguments!");i.prototype["on"+e]=function(t,r){this.scope.emit(e,t,r)}}}))},481:function(e,t){},482:function(e,t,r){"use strict";var n=r(483).Buffer,s=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===s||!s(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=u,t=4;break;case"utf8":this.fillLast=o,t=4;break;case"base64":this.text=c,this.end=h,t=3;break;default:return this.write=p,void(this.end=g)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function o(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function p(e){return e.toString(this.encoding)}function g(e){return e&&e.length?this.write(e):""}t.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},i.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},i.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var s=a(t[n]);return s>=0?(s>0&&(e.lastNeed=s-1),s):--n<r||-2===s?0:(s=a(t[n]))>=0?(s>0&&(e.lastNeed=s-2),s):--n<r||-2===s?0:(s=a(t[n]))>=0?(s>0&&(2===s?s=0:e.lastNeed=s-3),s):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},483:function(e,t,r){var n=r(216),s=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return s(e,t,r)}s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=a),a.prototype=Object.create(s.prototype),i(s,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return s(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=s(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return s(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},484:function(e,t,r){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,n=u(e),a=n[0],o=n[1],l=new i(function(e,t,r){return 3*(t+r)/4-r}(0,a,o)),c=0,h=o>0?a-4:a;for(r=0;r<h;r+=4)t=s[e.charCodeAt(r)]<<18|s[e.charCodeAt(r+1)]<<12|s[e.charCodeAt(r+2)]<<6|s[e.charCodeAt(r+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===o&&(t=s[e.charCodeAt(r)]<<2|s[e.charCodeAt(r+1)]>>4,l[c++]=255&t),1===o&&(t=s[e.charCodeAt(r)]<<10|s[e.charCodeAt(r+1)]<<4|s[e.charCodeAt(r+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l},t.fromByteArray=function(e){for(var t,r=e.length,s=r%3,i=[],a=0,o=r-s;a<o;a+=16383)i.push(c(e,a,a+16383>o?o:a+16383));return 1===s?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===s&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),i.join("")};for(var n=[],s=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,l=a.length;o<l;++o)n[o]=a[o],s[a.charCodeAt(o)]=o;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function c(e,t,r){for(var s,i,a=[],o=t;o<r;o+=3)s=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),a.push(n[(i=s)>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}s["-".charCodeAt(0)]=62,s["_".charCodeAt(0)]=63},485:function(e,t){t.read=function(e,t,r,n,s){var i,a,o=8*s-n-1,l=(1<<o)-1,u=l>>1,c=-7,h=r?s-1:0,p=r?-1:1,g=e[t+h];for(h+=p,i=g&(1<<-c)-1,g>>=-c,c+=o;c>0;i=256*i+e[t+h],h+=p,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=n;c>0;a=256*a+e[t+h],h+=p,c-=8);if(0===i)i=1-u;else{if(i===l)return a?NaN:1/0*(g?-1:1);a+=Math.pow(2,n),i-=u}return(g?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,s,i){var a,o,l,u=8*i-s-1,c=(1<<u)-1,h=c>>1,p=23===s?Math.pow(2,-24)-Math.pow(2,-77):0,g=n?0:i-1,d=n?1:-1,f=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+h>=1?p/l:p*Math.pow(2,1-h))*l>=2&&(a++,l/=2),a+h>=c?(o=0,a=c):a+h>=1?(o=(t*l-1)*Math.pow(2,s),a+=h):(o=t*Math.pow(2,h-1)*Math.pow(2,s),a=0));s>=8;e[r+g]=255&o,g+=d,o/=256,s-=8);for(a=a<<s|o,u+=s;u>0;e[r+g]=255&a,g+=d,a/=256,u-=8);e[r+g-d]|=128*f}},486:function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},487:function(e,t,r){function n(e){this._cbs=e||{}}e.exports=n;var s=r(56).EVENTS;Object.keys(s).forEach((function(e){if(0===s[e])e="on"+e,n.prototype[e]=function(){this._cbs[e]&&this._cbs[e]()};else if(1===s[e])e="on"+e,n.prototype[e]=function(t){this._cbs[e]&&this._cbs[e](t)};else{if(2!==s[e])throw Error("wrong number of arguments");e="on"+e,n.prototype[e]=function(t,r){this._cbs[e]&&this._cbs[e](t,r)}}}))},488:function(e,t,r){function n(e){this._cbs=e||{},this.events=[]}e.exports=n;var s=r(56).EVENTS;Object.keys(s).forEach((function(e){if(0===s[e])e="on"+e,n.prototype[e]=function(){this.events.push([e]),this._cbs[e]&&this._cbs[e]()};else if(1===s[e])e="on"+e,n.prototype[e]=function(t){this.events.push([e,t]),this._cbs[e]&&this._cbs[e](t)};else{if(2!==s[e])throw Error("wrong number of arguments");e="on"+e,n.prototype[e]=function(t,r){this.events.push([e,t,r]),this._cbs[e]&&this._cbs[e](t,r)}}})),n.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},n.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var e=0,t=this.events.length;e<t;e++)if(this._cbs[this.events[e][0]]){var r=this.events[e].length;1===r?this._cbs[this.events[e][0]]():2===r?this._cbs[this.events[e][0]](this.events[e][1]):this._cbs[this.events[e][0]](this.events[e][1],this.events[e][2])}}},489:function(e,t,r){"use strict";r.r(t),r.d(t,"App",(function(){return Ao})),r.d(t,"Assessor",(function(){return Ji})),r.d(t,"ContentAssessor",(function(){return ta})),r.d(t,"SeoAssessor",(function(){return Xi})),r.d(t,"TaxonomyAssessor",(function(){return na})),r.d(t,"Pluggable",(function(){return yo})),r.d(t,"SnippetPreview",(function(){return fo})),r.d(t,"Paper",(function(){return aa})),r.d(t,"AssessmentResult",(function(){return ci})),r.d(t,"Assessment",(function(){return ai})),r.d(t,"AnalysisWebWorker",(function(){return Ia})),r.d(t,"AnalysisWorkerWrapper",(function(){return Na})),r.d(t,"createWorker",(function(){return Ua})),r.d(t,"assessments",(function(){return l})),r.d(t,"bundledPlugins",(function(){return c})),r.d(t,"config",(function(){return g})),r.d(t,"helpers",(function(){return h})),r.d(t,"markers",(function(){return p})),r.d(t,"interpreters",(function(){return u})),r.d(t,"languageProcessing",(function(){return o})),r.d(t,"values",(function(){return d})),r.d(t,"DIFFICULTY",(function(){return zr})),r.d(t,"Factory",(function(){return So}));var n={};r.r(n),r.d(n,"doesWordMatchRegex",(function(){return Bs})),r.d(n,"searchAndReplaceWithRegex",(function(){return Us})),r.d(n,"applyAllReplacements",(function(){return Hs}));var s={};r.r(s),r.d(s,"checkIfWordEndingIsOnExceptionList",(function(){return Ks})),r.d(s,"checkIfWordIsOnListThatCanHavePrefix",(function(){return zs})),r.d(s,"checkExceptionListWithTwoStems",(function(){return Ws}));var i={};r.r(i),r.d(i,"removeSuffixesFromFullForm",(function(){return Vs})),r.d(i,"removeSuffixFromFullForm",(function(){return Gs}));var a={};r.r(a),r.d(a,"Clause",(function(){return Js})),r.d(a,"ProminentWord",(function(){return An})),r.d(a,"Sentence",(function(){return wn}));var o={};r.r(o),r.d(o,"AbstractResearcher",(function(){return As})),r.d(o,"transliterate",(function(){return Be})),r.d(o,"replaceDiacritics",(function(){return _})),r.d(o,"createRegexFromArray",(function(){return vt})),r.d(o,"imageInText",(function(){return yt})),r.d(o,"stripSpaces",(function(){return Ve})),r.d(o,"baseStemmer",(function(){return _t})),r.d(o,"getWords",(function(){return xt})),r.d(o,"flattenSortLength",(function(){return Cs})),r.d(o,"indices",(function(){return Ds})),r.d(o,"buildFormRule",(function(){return Rs})),r.d(o,"createRulesFromArrays",(function(){return Ms})),r.d(o,"createSingleRuleFromArray",(function(){return Ls})),r.d(o,"matchRegularParticiples",(function(){return Fs})),r.d(o,"directPrecedenceException",(function(){return $s})),r.d(o,"precedenceException",(function(){return Ps})),r.d(o,"nonDirectPrecedenceException",(function(){return qs})),r.d(o,"findMatchingEndingInArray",(function(){return Ns})),r.d(o,"regexHelpers",(function(){return n})),r.d(o,"exceptionListHelpers",(function(){return s})),r.d(o,"stemHelpers",(function(){return i})),r.d(o,"areWordsInSentence",(function(){return Zs})),r.d(o,"values",(function(){return a})),r.d(o,"getClauses",(function(){return si})),r.d(o,"getClausesSplitOnStopWords",(function(){return ii})),r.d(o,"stripHTMLTags",(function(){return gt})),r.d(o,"countMetaDescriptionLength",(function(){return us})),r.d(o,"sanitizeString",(function(){return mt})),r.d(o,"removePunctuation",(function(){return wt})),r.d(o,"getLanguage",(function(){return w})),r.d(o,"getSentences",(function(){return vr})),r.d(o,"unifyAllSpaces",(function(){return ft}));var l={};r.r(l),r.d(l,"readability",(function(){return Wi})),r.d(l,"seo",(function(){return Vi}));var u={};r.r(u),r.d(u,"scoreToRating",(function(){return Qi}));var c={};r.r(c),r.d(c,"usedKeywords",(function(){return Ka}));var h={};r.r(h),r.d(h,"measureTextWidth",(function(){return za})),r.d(h,"getLanguagesWithWordFormSupport",(function(){return Wa})),r.d(h,"formatNumber",(function(){return mi})),r.d(h,"getLanguagesWithWordComplexity",(function(){return Va})),r.d(h,"createAnchorOpeningTag",(function(){return oi.b}));var p={};r.r(p),r.d(p,"addMark",(function(){return hi})),r.d(p,"removeMarks",(function(){return Ga}));var g={};r.r(g),r.d(g,"presenter",(function(){return Ya}));var d={};r.r(d),r.d(d,"AssessmentResult",(function(){return ci})),r.d(d,"Mark",(function(){return Gn})),r.d(d,"Paper",(function(){return aa}));var f=r(235),m=r(236),v=r(4),b=r(2),y=r(237),_=function(e){const t=[{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}];for(let r=0;r<t.length;r++)e=e.replace(t[r].letters,t[r].base);return e},w=function(e){return e.split("_")[0]};const x=[{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"},{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00C9]/g,alternative:"E"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u00FA\u00FC]/g,alternative:"u"},{letter:/[\u00DA\u00DC]/g,alternative:"U"}],O=[{letter:/[\u0105]/g,alternative:"a"},{letter:/[\u0104]/g,alternative:"A"},{letter:/[\u0107]/g,alternative:"c"},{letter:/[\u0106]/g,alternative:"C"},{letter:/[\u0119]/g,alternative:"e"},{letter:/[\u0118]/g,alternative:"E"},{letter:/[\u0142]/g,alternative:"l"},{letter:/[\u0141]/g,alternative:"L"},{letter:/[\u0144]/g,alternative:"n"},{letter:/[\u0143]/g,alternative:"N"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u015B]/g,alternative:"s"},{letter:/[\u015A]/g,alternative:"S"},{letter:/[\u017A\u017C]/g,alternative:"z"},{letter:/[\u0179\u017B]/g,alternative:"Z"}],E=[{letter:/[\u00E4]/g,alternative:"ae"},{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00FC]/g,alternative:"ue"},{letter:/[\u00DC]/g,alternative:"Ue"},{letter:/[\u00F6]/g,alternative:"oe"},{letter:/[\u00D6]/g,alternative:"Oe"},{letter:/[\u00DF]/g,alternative:"ss"},{letter:/[\u1E9E]/g,alternative:"SS"}],T=[{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00F8]/g,alternative:"oe"},{letter:/[\u00D8]/g,alternative:"Oe"},{letter:/[\u00E9\u00E8\u00EA]/g,alternative:"e"},{letter:/[\u00C9\u00C8\u00CA]/g,alternative:"E"},{letter:/[\u00F3\u00F2\u00F4]/g,alternative:"o"},{letter:/[\u00D3\u00D2\u00D4]/g,alternative:"O"}],A=[{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E4]/g,alternative:"ae"},{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00F6]/g,alternative:"oe"},{letter:/[\u00D6]/g,alternative:"Oe"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00C9]/g,alternative:"E"},{letter:/[\u00E0]/g,alternative:"a"},{letter:/[\u00C0]/g,alternative:"A"}],C=[{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00C4]/g,alternative:"A"},{letter:/[\u00F6]/g,alternative:"o"},{letter:/[\u00D6]/g,alternative:"O"},{letter:/[\u017E]/g,alternative:"zh"},{letter:/[\u017D]/g,alternative:"Zh"},{letter:/[\u0161]/g,alternative:"sh"},{letter:/[\u0160]/g,alternative:"Sh"}],S=[{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00F8]/g,alternative:"oe"},{letter:/[\u00D8]/g,alternative:"Oe"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00C9]/g,alternative:"E"}],j=[{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u011F]/g,alternative:"g"},{letter:/[\u011E]/g,alternative:"G"},{letter:/[\u00F6]/g,alternative:"o"},{letter:/[\u00D6]/g,alternative:"O"},{letter:/[\u015F]/g,alternative:"s"},{letter:/[\u015E]/g,alternative:"S"},{letter:/[\u00E2]/g,alternative:"a"},{letter:/[\u00C2]/g,alternative:"A"},{letter:/[\u0131\u00EE]/g,alternative:"i"},{letter:/[\u0130\u00CE]/g,alternative:"I"},{letter:/[\u00FC\u00FB]/g,alternative:"u"},{letter:/[\u00DC\u00DB]/g,alternative:"U"}],k=[{letter:/[\u0101]/g,alternative:"a"},{letter:/[\u0100]/g,alternative:"A"},{letter:/[\u010D]/g,alternative:"c"},{letter:/[\u010C]/g,alternative:"C"},{letter:/[\u0113]/g,alternative:"e"},{letter:/[\u0112]/g,alternative:"E"},{letter:/[\u0123]/g,alternative:"g"},{letter:/[\u0122]/g,alternative:"G"},{letter:/[\u012B]/g,alternative:"i"},{letter:/[\u012A]/g,alternative:"I"},{letter:/[\u0137]/g,alternative:"k"},{letter:/[\u0136]/g,alternative:"K"},{letter:/[\u013C]/g,alternative:"l"},{letter:/[\u013B]/g,alternative:"L"},{letter:/[\u0146]/g,alternative:"n"},{letter:/[\u0145]/g,alternative:"N"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u016B]/g,alternative:"u"},{letter:/[\u016A]/g,alternative:"U"},{letter:/[\u017E]/g,alternative:"z"},{letter:/[\u017D]/g,alternative:"Z"}],D=[{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u00F0]/g,alternative:"d"},{letter:/[\u00D0]/g,alternative:"D"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00C9]/g,alternative:"E"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00F3\u00F6]/g,alternative:"o"},{letter:/[\u00D3\u00D6]/g,alternative:"O"},{letter:/[\u00FA]/g,alternative:"u"},{letter:/[\u00DA]/g,alternative:"U"},{letter:/[\u00FD]/g,alternative:"y"},{letter:/[\u00DD]/g,alternative:"Y"},{letter:/[\u00FE]/g,alternative:"th"},{letter:/[\u00DE]/g,alternative:"Th"},{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"}],R=[{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u00F0]/g,alternative:"d"},{letter:/[\u00D0]/g,alternative:"D"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00FD]/g,alternative:"y"},{letter:/[\u00DD]/g,alternative:"Y"},{letter:/[\u00FA]/g,alternative:"u"},{letter:/[\u00DA]/g,alternative:"U"},{letter:/[\u00F3\u00F8]/g,alternative:"o"},{letter:/[\u00D3\u00D8]/g,alternative:"O"},{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"}],L=[{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u010D]/g,alternative:"c"},{letter:/[\u010C]/g,alternative:"C"},{letter:/[\u010F]/g,alternative:"d"},{letter:/[\u010E]/g,alternative:"D"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u0148]/g,alternative:"n"},{letter:/[\u0147]/g,alternative:"N"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u0159]/g,alternative:"r"},{letter:/[\u0158]/g,alternative:"R"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u0165]/g,alternative:"t"},{letter:/[\u0164]/g,alternative:"T"},{letter:/[\u00FD]/g,alternative:"y"},{letter:/[\u00DD]/g,alternative:"Y"},{letter:/[\u017E]/g,alternative:"z"},{letter:/[\u017D]/g,alternative:"Z"},{letter:/[\u00E9\u011B]/g,alternative:"e"},{letter:/[\u00C9\u011A]/g,alternative:"E"},{letter:/[\u00FA\u016F]/g,alternative:"u"},{letter:/[\u00DA\u016E]/g,alternative:"U"}],M=[{letter:/[\u0430]/g,alternative:"a"},{letter:/[\u0410]/g,alternative:"A"},{letter:/[\u0431]/g,alternative:"b"},{letter:/[\u0411]/g,alternative:"B"},{letter:/[\u0432]/g,alternative:"v"},{letter:/[\u0412]/g,alternative:"V"},{letter:/[\u0433]/g,alternative:"g"},{letter:/[\u0413]/g,alternative:"G"},{letter:/[\u0434]/g,alternative:"d"},{letter:/[\u0414]/g,alternative:"D"},{letter:/[\u0435]/g,alternative:"e"},{letter:/[\u0415]/g,alternative:"E"},{letter:/[\u0436]/g,alternative:"zh"},{letter:/[\u0416]/g,alternative:"Zh"},{letter:/[\u0437]/g,alternative:"z"},{letter:/[\u0417]/g,alternative:"Z"},{letter:/[\u0456\u0438\u0439]/g,alternative:"i"},{letter:/[\u0406\u0418\u0419]/g,alternative:"I"},{letter:/[\u043A]/g,alternative:"k"},{letter:/[\u041A]/g,alternative:"K"},{letter:/[\u043B]/g,alternative:"l"},{letter:/[\u041B]/g,alternative:"L"},{letter:/[\u043C]/g,alternative:"m"},{letter:/[\u041C]/g,alternative:"M"},{letter:/[\u043D]/g,alternative:"n"},{letter:/[\u041D]/g,alternative:"N"},{letter:/[\u0440]/g,alternative:"r"},{letter:/[\u0420]/g,alternative:"R"},{letter:/[\u043E]/g,alternative:"o"},{letter:/[\u041E]/g,alternative:"O"},{letter:/[\u043F]/g,alternative:"p"},{letter:/[\u041F]/g,alternative:"P"},{letter:/[\u0441]/g,alternative:"s"},{letter:/[\u0421]/g,alternative:"S"},{letter:/[\u0442]/g,alternative:"t"},{letter:/[\u0422]/g,alternative:"T"},{letter:/[\u0443]/g,alternative:"u"},{letter:/[\u0423]/g,alternative:"U"},{letter:/[\u0444]/g,alternative:"f"},{letter:/[\u0424]/g,alternative:"F"},{letter:/[\u0445]/g,alternative:"kh"},{letter:/[\u0425]/g,alternative:"Kh"},{letter:/[\u0446]/g,alternative:"ts"},{letter:/[\u0426]/g,alternative:"Ts"},{letter:/[\u0447]/g,alternative:"ch"},{letter:/[\u0427]/g,alternative:"Ch"},{letter:/[\u0448]/g,alternative:"sh"},{letter:/[\u0428]/g,alternative:"Sh"},{letter:/[\u0449]/g,alternative:"shch"},{letter:/[\u0429]/g,alternative:"Shch"},{letter:/[\u044A]/g,alternative:"ie"},{letter:/[\u042A]/g,alternative:"Ie"},{letter:/[\u044B]/g,alternative:"y"},{letter:/[\u042B]/g,alternative:"Y"},{letter:/[\u044C]/g,alternative:""},{letter:/[\u042C]/g,alternative:""},{letter:/[\u0451\u044D]/g,alternative:"e"},{letter:/[\u0401\u042D]/g,alternative:"E"},{letter:/[\u044E]/g,alternative:"iu"},{letter:/[\u042E]/g,alternative:"Iu"},{letter:/[\u044F]/g,alternative:"ia"},{letter:/[\u042F]/g,alternative:"Ia"}],F=[{letter:/[\u0109]/g,alternative:"ch"},{letter:/[\u0108]/g,alternative:"Ch"},{letter:/[\u011d]/g,alternative:"gh"},{letter:/[\u011c]/g,alternative:"Gh"},{letter:/[\u0125]/g,alternative:"hx"},{letter:/[\u0124]/g,alternative:"Hx"},{letter:/[\u0135]/g,alternative:"jx"},{letter:/[\u0134]/g,alternative:"Jx"},{letter:/[\u015d]/g,alternative:"sx"},{letter:/[\u015c]/g,alternative:"Sx"},{letter:/[\u016d]/g,alternative:"ux"},{letter:/[\u016c]/g,alternative:"Ux"}],$=[{letter:/[\u00E8\u00EA\u00EB]/g,alternative:"e"},{letter:/[\u00CB\u00C8\u00CA]/g,alternative:"E"},{letter:/[\u00EE\u00EF]/g,alternative:"i"},{letter:/[\u00CE\u00CF]/g,alternative:"I"},{letter:/[\u00F4\u00F6]/g,alternative:"o"},{letter:/[\u00D4\u00D6]/g,alternative:"O"},{letter:/[\u00FB\u00FC]/g,alternative:"u"},{letter:/[\u00DB\u00DC]/g,alternative:"U"}],P=[{letter:/[\u00E0]/g,alternative:"a"},{letter:/[\u00C0]/g,alternative:"A"},{letter:/[\u00E9|\u00E8]/g,alternative:"e"},{letter:/[\u00C9|\u00C8]/g,alternative:"E"},{letter:/[\u00ED|\u00EF]/g,alternative:"i"},{letter:/[\u00CD|\u00CF]/g,alternative:"I"},{letter:/[\u00F3|\u00F2]/g,alternative:"o"},{letter:/[\u00D3|\u00D2]/g,alternative:"O"},{letter:/[\u00FA|\u00FC]/g,alternative:"u"},{letter:/[\u00DA|\u00DC]/g,alternative:"U"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"}],I=[{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"}],q=[{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00F1]/g,alternative:"ny"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u00D1]/g,alternative:"Ny"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u00C1]/g,alternative:"A"}],N=[{letter:/(([\u00EF])|([\u00ED]))/g,alternative:"i"},{letter:/(([\u00CF])|([\u00CD]))/g,alternative:"I"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00C4]/g,alternative:"A"},{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u0027]/g,alternative:""},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"}],B=[{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u0153]/g,alternative:"oe"},{letter:/[\u0152]/g,alternative:"Oe"},{letter:/[\u00EB\u00E9]/g,alternative:"e"},{letter:/[\u00C9\u00CB]/g,alternative:"E"},{letter:/[\u00F4\u00F6]/g,alternative:"o"},{letter:/[\u00D4\u00D6]/g,alternative:"O"},{letter:/[\u00EF]/g,alternative:"i"},{letter:/[\u00CF]/g,alternative:"I"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"},{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00C4]/g,alternative:"A"}],U=[{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u0153]/g,alternative:"oe"},{letter:/[\u0152]/g,alternative:"Oe"},{letter:/[\u00E9\u00E8\u00EB\u00EA]/g,alternative:"e"},{letter:/[\u00C9\u00C8\u00CB\u00CA]/g,alternative:"E"},{letter:/[\u00E0\u00E2]/g,alternative:"a"},{letter:/[\u00C0\u00C2]/g,alternative:"A"},{letter:/[\u00EF\u00EE]/g,alternative:"i"},{letter:/[\u00CF\u00CE]/g,alternative:"I"},{letter:/[\u00F9\u00FB\u00FC]/g,alternative:"u"},{letter:/[\u00D9\u00DB\u00DC]/g,alternative:"U"},{letter:/[\u00F4]/g,alternative:"o"},{letter:/[\u00D4]/g,alternative:"O"},{letter:/[\u00FF]/g,alternative:"y"},{letter:/[\u0178]/g,alternative:"Y"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"}],H=[{letter:/[\u00E0]/g,alternative:"a"},{letter:/[\u00C0]/g,alternative:"A"},{letter:/[\u00E9\u00E8]/g,alternative:"e"},{letter:/[\u00C9\u00C8]/g,alternative:"E"},{letter:/[\u00EC\u00ED\u00EE]/g,alternative:"i"},{letter:/[\u00CC\u00CD\u00CE]/g,alternative:"I"},{letter:/[\u00F3\u00F2]/g,alternative:"o"},{letter:/[\u00D3\u00D2]/g,alternative:"O"},{letter:/[\u00F9\u00FA]/g,alternative:"u"},{letter:/[\u00D9\u00DA]/g,alternative:"U"}],K=[{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00D1]/g,alternative:"N"},{letter:/[\u00E9\u00E8\u00EA\u00EB]/g,alternative:"e"},{letter:/[\u00C9\u00C8\u00CA\u00CB]/g,alternative:"E"},{letter:/[\u00F4\u00F6]/g,alternative:"o"},{letter:/[\u00D4\u00D6]/g,alternative:"O"},{letter:/[\u00EF]/g,alternative:"i"},{letter:/[\u00CF]/g,alternative:"I"},{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00C4]/g,alternative:"A"}],z=[{letter:/[\u025B]/g,alternative:"e"},{letter:/[\u0190]/g,alternative:"E"},{letter:/[\u0272]/g,alternative:"ny"},{letter:/[\u019D]/g,alternative:"Ny"},{letter:/[\u014B]/g,alternative:"ng"},{letter:/[\u014A]/g,alternative:"Ng"},{letter:/[\u0254]/g,alternative:"o"},{letter:/[\u0186]/g,alternative:"O"}],W=[{letter:/[\u0431]/g,alternative:"b"},{letter:/[\u0411]/g,alternative:"B"},{letter:/[\u0432]/g,alternative:"v"},{letter:/[\u0412]/g,alternative:"V"},{letter:/[\u0433]/g,alternative:"h"},{letter:/[\u0413]/g,alternative:"H"},{letter:/[\u0491]/g,alternative:"g"},{letter:/[\u0490]/g,alternative:"G"},{letter:/[\u0434]/g,alternative:"d"},{letter:/[\u0414]/g,alternative:"D"},{letter:/[\u043A]/g,alternative:"k"},{letter:/[\u041A]/g,alternative:"K"},{letter:/[\u043B]/g,alternative:"l"},{letter:/[\u041B]/g,alternative:"L"},{letter:/[\u043C]/g,alternative:"m"},{letter:/[\u041C]/g,alternative:"M"},{letter:/[\u0070]/g,alternative:"r"},{letter:/[\u0050]/g,alternative:"R"},{letter:/[\u043F]/g,alternative:"p"},{letter:/[\u041F]/g,alternative:"P"},{letter:/[\u0441]/g,alternative:"s"},{letter:/[\u0421]/g,alternative:"S"},{letter:/[\u0442]/g,alternative:"t"},{letter:/[\u0422]/g,alternative:"T"},{letter:/[\u0443]/g,alternative:"u"},{letter:/[\u0423]/g,alternative:"U"},{letter:/[\u0444]/g,alternative:"f"},{letter:/[\u0424]/g,alternative:"F"},{letter:/[\u0445]/g,alternative:"kh"},{letter:/[\u0425]/g,alternative:"Kh"},{letter:/[\u0446]/g,alternative:"ts"},{letter:/[\u0426]/g,alternative:"Ts"},{letter:/[\u0447]/g,alternative:"ch"},{letter:/[\u0427]/g,alternative:"Ch"},{letter:/[\u0448]/g,alternative:"sh"},{letter:/[\u0428]/g,alternative:"Sh"},{letter:/[\u0449]/g,alternative:"shch"},{letter:/[\u0429]/g,alternative:"Shch"},{letter:/[\u044C\u042C]/g,alternative:""},{letter:/[\u0436]/g,alternative:"zh"},{letter:/[\u0416]/g,alternative:"Zh"},{letter:/[\u0437]/g,alternative:"z"},{letter:/[\u0417]/g,alternative:"Z"},{letter:/[\u0438]/g,alternative:"y"},{letter:/[\u0418]/g,alternative:"Y"},{letter:/^[\u0454]/g,alternative:"ye"},{letter:/[\s][\u0454]/g,alternative:" ye"},{letter:/[\u0454]/g,alternative:"ie"},{letter:/^[\u0404]/g,alternative:"Ye"},{letter:/[\s][\u0404]/g,alternative:" Ye"},{letter:/[\u0404]/g,alternative:"IE"},{letter:/^[\u0457]/g,alternative:"yi"},{letter:/[\s][\u0457]/g,alternative:" yi"},{letter:/[\u0457]/g,alternative:"i"},{letter:/^[\u0407]/g,alternative:"Yi"},{letter:/[\s][\u0407]/g,alternative:" Yi"},{letter:/[\u0407]/g,alternative:"I"},{letter:/^[\u0439]/g,alternative:"y"},{letter:/[\s][\u0439]/g,alternative:" y"},{letter:/[\u0439]/g,alternative:"i"},{letter:/^[\u0419]/g,alternative:"Y"},{letter:/[\s][\u0419]/g,alternative:" Y"},{letter:/[\u0419]/g,alternative:"I"},{letter:/^[\u044E]/g,alternative:"yu"},{letter:/[\s][\u044E]/g,alternative:" yu"},{letter:/[\u044E]/g,alternative:"iu"},{letter:/^[\u042E]/g,alternative:"Yu"},{letter:/[\s][\u042E]/g,alternative:" Yu"},{letter:/[\u042E]/g,alternative:"IU"},{letter:/^[\u044F]/g,alternative:"ya"},{letter:/[\s][\u044F]/g,alternative:" ya"},{letter:/[\u044F]/g,alternative:"ia"},{letter:/^[\u042F]/g,alternative:"Ya"},{letter:/[\s][\u042F]/g,alternative:" Ya"},{letter:/[\u042F]/g,alternative:"IA"}],V=[{letter:/\u0063\u0027\u0068/g,alternative:"ch"},{letter:/\u0043\u0027\u0048/g,alternative:"CH"},{letter:/[\u00e2]/g,alternative:"a"},{letter:/[\u00c2]/g,alternative:"A"},{letter:/[\u00ea]/g,alternative:"e"},{letter:/[\u00ca]/g,alternative:"E"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u00f4]/g,alternative:"o"},{letter:/[\u00d4]/g,alternative:"O"},{letter:/[\u00fb\u00f9\u00fc]/g,alternative:"u"},{letter:/[\u00db\u00d9\u00dc]/g,alternative:"U"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"}],G=[{letter:/[\u0027]/g,alternative:""},{letter:/[\u00e5]/g,alternative:"a"},{letter:/[\u00c5]/g,alternative:"A"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"}],Y=[{letter:/[\u0105\u00e3]/g,alternative:"a"},{letter:/[\u0104\u00c3]/g,alternative:"A"},{letter:/[\u00e9\u00eb]/g,alternative:"e"},{letter:/[\u00c9\u00cb]/g,alternative:"E"},{letter:/[\u0142]/g,alternative:"l"},{letter:/[\u0141]/g,alternative:"L"},{letter:/[\u0144]/g,alternative:"n"},{letter:/[\u0143]/g,alternative:"N"},{letter:/[\u00f2\u00f3\u00f4]/g,alternative:"o"},{letter:/[\u00d2\u00d3\u00d4]/g,alternative:"O"},{letter:/[\u00f9]/g,alternative:"u"},{letter:/[\u00d9]/g,alternative:"U"},{letter:/[\u017c]/g,alternative:"z"},{letter:/[\u017b]/g,alternative:"Z"}],J=[{letter:/[\u00e2]/g,alternative:"a"},{letter:/[\u00c2]/g,alternative:"A"},{letter:/[\u00ea]/g,alternative:"e"},{letter:/[\u00ca]/g,alternative:"E"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u00f4]/g,alternative:"o"},{letter:/[\u00d4]/g,alternative:"O"},{letter:/[\u00fb]/g,alternative:"u"},{letter:/[\u00db]/g,alternative:"U"},{letter:/[\u0175]/g,alternative:"w"},{letter:/[\u0174]/g,alternative:"W"},{letter:/[\u0177]/g,alternative:"y"},{letter:/[\u0176]/g,alternative:"Y"}],Z=[{letter:/[\u0256]/g,alternative:"d"},{letter:/[\u0189]/g,alternative:"D"},{letter:/[\u025b]/g,alternative:"e"},{letter:/[\u0190]/g,alternative:"E"},{letter:/[\u0192]/g,alternative:"f"},{letter:/[\u0191]/g,alternative:"F"},{letter:/[\u0263]/g,alternative:"g"},{letter:/[\u0194]/g,alternative:"G"},{letter:/[\u014b]/g,alternative:"ng"},{letter:/[\u014a]/g,alternative:"Ng"},{letter:/[\u0254]/g,alternative:"o"},{letter:/[\u0186]/g,alternative:"O"},{letter:/[\u028b]/g,alternative:"w"},{letter:/[\u01b2]/g,alternative:"W"},{letter:/\u0061\u0303/g,alternative:"a"},{letter:/[\u00e1\u00e0\u01ce\u00e2\u00e3]/g,alternative:"a"},{letter:/\u0041\u0303/g,alternative:"A"},{letter:/[\u00c1\u00c0\u01cd\u00c2\u00c3]/g,alternative:"A"},{letter:/[\u00e9\u00e8\u011b\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00c8\u011a\u00ca]/g,alternative:"E"},{letter:/[\u00f3\u00f2\u01d2\u00f4]/g,alternative:"o"},{letter:/[\u00d3\u00d2\u01d1\u00d4]/g,alternative:"O"},{letter:/[\u00fa\u00f9\u01d4\u00fb]/g,alternative:"u"},{letter:/[\u00da\u00d9\u01d3\u00db]/g,alternative:"U"},{letter:/[\u00ed\u00ec\u01d0\u00ee]/g,alternative:"i"},{letter:/[\u00cd\u00cc\u01cf\u00ce]/g,alternative:"I"}],X=[{letter:/[\u0161]/g,alternative:"sh"},{letter:/[\u0160]/g,alternative:"Sh"},{letter:/[\u017e]/g,alternative:"zh"},{letter:/[\u017d]/g,alternative:"Zh"},{letter:/[\u00f5\u00f6]/g,alternative:"o"},{letter:/[\u00d6\u00d5]/g,alternative:"O"},{letter:/[\u00e4]/g,alternative:"a"},{letter:/[\u00c4]/g,alternative:"A"},{letter:/[\u00fc]/g,alternative:"u"},{letter:/[\u00dc]/g,alternative:"U"}],Q=[{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00fc]/g,alternative:"u"},{letter:/[\u00dc]/g,alternative:"U"}],ee=[{letter:/[\u0253]/g,alternative:"b"},{letter:/[\u0181]/g,alternative:"B"},{letter:/[\u0257]/g,alternative:"d"},{letter:/[\u018a]/g,alternative:"D"},{letter:/[\u014b]/g,alternative:"ng"},{letter:/[\u014a]/g,alternative:"Ng"},{letter:/[\u0272\u00f1]/g,alternative:"ny"},{letter:/[\u019d\u00d1]/g,alternative:"Ny"},{letter:/[\u01b4]/g,alternative:"y"},{letter:/[\u01b3]/g,alternative:"Y"},{letter:/[\u0260]/g,alternative:"g"},{letter:/[\u0193]/g,alternative:"G"}],te=[{letter:/[\u0101]/g,alternative:"a"},{letter:/[\u0100]/g,alternative:"A"},{letter:/[\u0113]/g,alternative:"e"},{letter:/[\u0112]/g,alternative:"E"},{letter:/[\u012b]/g,alternative:"i"},{letter:/[\u012a]/g,alternative:"I"},{letter:/[\u016b]/g,alternative:"u"},{letter:/[\u016a]/g,alternative:"U"},{letter:/[\u014d]/g,alternative:"o"},{letter:/[\u014c]/g,alternative:"O"}],re=[{letter:/[\u00e2]/g,alternative:"a"},{letter:/[\u00c2]/g,alternative:"A"},{letter:/[\u00ea\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00ca\u00c8\u00c9]/g,alternative:"E"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u00fb\u00fc]/g,alternative:"u"},{letter:/[\u00db\u00dc]/g,alternative:"U"},{letter:/[\u00f4]/g,alternative:"o"},{letter:/[\u00d4]/g,alternative:"O"}],ne=[{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00e0\u00e2]/g,alternative:"a"},{letter:/[\u00c0\u00c2]/g,alternative:"A"},{letter:/[\u00e8\u00ea]/g,alternative:"e"},{letter:/[\u00c8\u00ca]/g,alternative:"E"},{letter:/[\u00ec\u00ee]/g,alternative:"i"},{letter:/[\u00cc\u00ce]/g,alternative:"I"},{letter:/[\u00f2\u00f4]/g,alternative:"o"},{letter:/[\u00d2\u00d4]/g,alternative:"O"},{letter:/[\u00f9\u00fb]/g,alternative:"u"},{letter:/[\u00d9\u00db]/g,alternative:"U"},{letter:/[\u010d]/g,alternative:"c"},{letter:/[\u010c]/g,alternative:"C"},{letter:/[\u011f]/g,alternative:"g"},{letter:/[\u011e]/g,alternative:"G"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"}],se=[{letter:/[\u00e2\u0101\u00e4\u00e5]/g,alternative:"a"},{letter:/[\u00c2\u0100\u00c4\u00c5]/g,alternative:"A"},{letter:/[\u00ea\u00e9\u0113]/g,alternative:"e"},{letter:/[\u00ca\u00c9\u0112]/g,alternative:"E"},{letter:/[\u00f4\u00f6]/g,alternative:"o"},{letter:/[\u00d4\u00d6]/g,alternative:"O"},{letter:/[\u00fa\u00fb\u00fc]/g,alternative:"u"},{letter:/[\u00da\u00db\u00dc]/g,alternative:"U"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u0111\u00f0]/g,alternative:"d"},{letter:/[\u0110\u00d0]/g,alternative:"D"}],ie=[{letter:/[\u00e1]/g,alternative:"a"},{letter:/[\u00c1]/g,alternative:"A"},{letter:/[\u00e9]/g,alternative:"e"},{letter:/[\u00c9]/g,alternative:"E"},{letter:/[\u00f3]/g,alternative:"o"},{letter:/[\u00d3]/g,alternative:"O"},{letter:/[\u00fa]/g,alternative:"u"},{letter:/[\u00da]/g,alternative:"U"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"}],ae=[{letter:/[\u00e0]/g,alternative:"a"},{letter:/[\u00c0]/g,alternative:"A"},{letter:/[\u00e8]/g,alternative:"e"},{letter:/[\u00c8]/g,alternative:"E"},{letter:/[\u00f2]/g,alternative:"o"},{letter:/[\u00d2]/g,alternative:"O"},{letter:/[\u00f9]/g,alternative:"u"},{letter:/[\u00d9]/g,alternative:"U"},{letter:/[\u00ec]/g,alternative:"i"},{letter:/[\u00cc]/g,alternative:"I"}],oe=[{letter:/[\u00e1\u00e0]/g,alternative:"a"},{letter:/[\u00c1\u00c0]/g,alternative:"A"},{letter:/[\u00e9\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00ca]/g,alternative:"E"},{letter:/[\u00ed\u00ef]/g,alternative:"i"},{letter:/[\u00cd\u00cf]/g,alternative:"I"},{letter:/[\u00f3]/g,alternative:"o"},{letter:/[\u00d3]/g,alternative:"O"},{letter:/[\u00fa\u00fc]/g,alternative:"u"},{letter:/[\u00da\u00dc]/g,alternative:"U"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"}],le=[{letter:/[\u2019]/g,alternative:""},{letter:/\u0067\u0303/g,alternative:"g"},{letter:/\u0047\u0303/g,alternative:"G"},{letter:/[\u00e3]/g,alternative:"a"},{letter:/[\u00c3]/g,alternative:"A"},{letter:/[\u1ebd]/g,alternative:"e"},{letter:/[\u1ebc]/g,alternative:"E"},{letter:/[\u0129]/g,alternative:"i"},{letter:/[\u0128]/g,alternative:"I"},{letter:/[\u00f5]/g,alternative:"o"},{letter:/[\u00d5]/g,alternative:"O"},{letter:/[\u00f1]/g,alternative:"n"},{letter:/[\u00d1]/g,alternative:"N"},{letter:/[\u0169]/g,alternative:"u"},{letter:/[\u0168]/g,alternative:"U"},{letter:/[\u1ef9]/g,alternative:"y"},{letter:/[\u1ef8]/g,alternative:"Y"}],ue=[{letter:/[\u00e4]/g,alternative:"a"},{letter:/[\u00c4]/g,alternative:"A"},{letter:/[\u00f6]/g,alternative:"o"},{letter:/[\u00d6]/g,alternative:"O"},{letter:/[\u00fc]/g,alternative:"u"},{letter:/[\u00dc]/g,alternative:"U"}],ce=[{letter:/[\u00e8]/g,alternative:"e"},{letter:/[\u00c8]/g,alternative:"E"},{letter:/[\u00f2]/g,alternative:"o"},{letter:/[\u00d2]/g,alternative:"O"}],he=[{letter:/[\u02bb\u0027\u2019]/g,alternative:""},{letter:/[\u0101]/g,alternative:"a"},{letter:/[\u0113]/g,alternative:"e"},{letter:/[\u012b]/g,alternative:"i"},{letter:/[\u014d]/g,alternative:"o"},{letter:/[\u016b]/g,alternative:"u"},{letter:/[\u0100]/g,alternative:"A"},{letter:/[\u0112]/g,alternative:"E"},{letter:/[\u012a]/g,alternative:"I"},{letter:/[\u014c]/g,alternative:"O"},{letter:/[\u016a]/g,alternative:"U"}],pe=[{letter:/[\u010d\u0107]/g,alternative:"c"},{letter:/[\u010c\u0106]/g,alternative:"C"},{letter:/[\u0111]/g,alternative:"dj"},{letter:/[\u0110]/g,alternative:"Dj"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u017e]/g,alternative:"z"},{letter:/[\u017d]/g,alternative:"Z"},{letter:/[\u01c4]/g,alternative:"DZ"},{letter:/[\u01c5]/g,alternative:"Dz"},{letter:/[\u01c6]/g,alternative:"dz"}],ge=[{letter:/[\u10d0]/g,alternative:"a"},{letter:/[\u10d1]/g,alternative:"b"},{letter:/[\u10d2]/g,alternative:"g"},{letter:/[\u10d3]/g,alternative:"d"},{letter:/[\u10d4]/g,alternative:"e"},{letter:/[\u10d5]/g,alternative:"v"},{letter:/[\u10d6]/g,alternative:"z"},{letter:/[\u10d7]/g,alternative:"t"},{letter:/[\u10d8]/g,alternative:"i"},{letter:/[\u10d9]/g,alternative:"k"},{letter:/[\u10da]/g,alternative:"l"},{letter:/[\u10db]/g,alternative:"m"},{letter:/[\u10dc]/g,alternative:"n"},{letter:/[\u10dd]/g,alternative:"o"},{letter:/[\u10de]/g,alternative:"p"},{letter:/[\u10df]/g,alternative:"zh"},{letter:/[\u10e0]/g,alternative:"r"},{letter:/[\u10e1]/g,alternative:"s"},{letter:/[\u10e2]/g,alternative:"t"},{letter:/[\u10e3]/g,alternative:"u"},{letter:/[\u10e4]/g,alternative:"p"},{letter:/[\u10e5]/g,alternative:"k"},{letter:/[\u10e6]/g,alternative:"gh"},{letter:/[\u10e7]/g,alternative:"q"},{letter:/[\u10e8]/g,alternative:"sh"},{letter:/[\u10e9]/g,alternative:"ch"},{letter:/[\u10ea]/g,alternative:"ts"},{letter:/[\u10eb]/g,alternative:"dz"},{letter:/[\u10ec]/g,alternative:"ts"},{letter:/[\u10ed]/g,alternative:"ch"},{letter:/[\u10ee]/g,alternative:"kh"},{letter:/[\u10ef]/g,alternative:"j"},{letter:/[\u10f0]/g,alternative:"h"}],de=[{letter:/[\u00E5]/g,alternative:"aa"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E6\u04D5]/g,alternative:"ae"},{letter:/[\u00C6\u04D4]/g,alternative:"Ae"},{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00F8]/g,alternative:"oe"},{letter:/[\u00D8]/g,alternative:"Oe"}],fe=[{letter:/[\u2019\u0027]/g,alternative:""}],me=[{letter:/[\u00e4]/g,alternative:"a"},{letter:/[\u00c4]/g,alternative:"A"},{letter:/[\u00eb\u00e9]/g,alternative:"e"},{letter:/[\u00cb\u00c9]/g,alternative:"E"}],ve=[{letter:/[\u00e1\u00e2\u00e0\u00e4]/g,alternative:"a"},{letter:/[\u00c1\u00c2\u00c0\u00c4]/g,alternative:"A"},{letter:/[\u00eb\u00e8\u00ea]/g,alternative:"e"},{letter:/[\u00cb\u00c8\u00ca]/g,alternative:"E"},{letter:/[\u00f6\u00f3]/g,alternative:"o"},{letter:/[\u00d6\u00d3]/g,alternative:"O"}],be=[{letter:/[\u00e1\u00e2\u01ce]/g,alternative:"a"},{letter:/[\u00c1\u00c2\u01cd]/g,alternative:"A"},{letter:/\u025b\u0301/g,alternative:"e"},{letter:/\u025b\u0302/g,alternative:"e"},{letter:/\u025b\u030c/g,alternative:"e"},{letter:/[\u00e9\u00ea\u011b\u025b]/g,alternative:"e"},{letter:/\u0190\u0301/g,alternative:"E"},{letter:/\u0190\u0302/g,alternative:"E"},{letter:/\u0190\u030c/g,alternative:"E"},{letter:/[\u00c9\u00ca\u011a\u0190]/g,alternative:"E"},{letter:/[\u00ed\u00ee\u01d0]/g,alternative:"i"},{letter:/[\u00cd\u00ce\u01cf]/g,alternative:"I"},{letter:/\u0254\u0301/g,alternative:"o"},{letter:/\u0254\u0302/g,alternative:"o"},{letter:/\u0254\u030c/g,alternative:"o"},{letter:/[\u00f3\u00f4\u01d2\u0254]/g,alternative:"o"},{letter:/\u0186\u0301/g,alternative:"O"},{letter:/\u0186\u0302/g,alternative:"O"},{letter:/\u0186\u030c/g,alternative:"O"},{letter:/[\u00d3\u00d4\u01d1\u0186]/g,alternative:"O"},{letter:/[\u00fa]/g,alternative:"u"},{letter:/[\u00da]/g,alternative:"U"}],ye=[{letter:/[\u0105]/g,alternative:"a"},{letter:/[\u0104]/g,alternative:"A"},{letter:/[\u010d]/g,alternative:"c"},{letter:/[\u010c]/g,alternative:"C"},{letter:/[\u0119\u0117]/g,alternative:"e"},{letter:/[\u0118\u0116]/g,alternative:"E"},{letter:/[\u012f]/g,alternative:"i"},{letter:/[\u012e]/g,alternative:"I"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u0173\u016b]/g,alternative:"u"},{letter:/[\u0172\u016a]/g,alternative:"U"},{letter:/[\u017e]/g,alternative:"z"},{letter:/[\u017d]/g,alternative:"Z"}],_e=[{letter:/[\u00f4]/g,alternative:"ao"},{letter:/[\u00d4]/g,alternative:"Ao"}],we=[{letter:/[\u0430]/g,alternative:"a"},{letter:/[\u0410]/g,alternative:"A"},{letter:/[\u0431]/g,alternative:"b"},{letter:/[\u0411]/g,alternative:"B"},{letter:/[\u0432]/g,alternative:"v"},{letter:/[\u0412]/g,alternative:"V"},{letter:/[\u0433]/g,alternative:"g"},{letter:/[\u0413]/g,alternative:"G"},{letter:/[\u0434]/g,alternative:"d"},{letter:/[\u0414]/g,alternative:"D"},{letter:/[\u0453]/g,alternative:"gj"},{letter:/[\u0403]/g,alternative:"Gj"},{letter:/[\u0435]/g,alternative:"e"},{letter:/[\u0415]/g,alternative:"E"},{letter:/[\u0436]/g,alternative:"zh"},{letter:/[\u0416]/g,alternative:"Zh"},{letter:/[\u0437]/g,alternative:"z"},{letter:/[\u0417]/g,alternative:"Z"},{letter:/[\u0455]/g,alternative:"dz"},{letter:/[\u0405]/g,alternative:"Dz"},{letter:/[\u0438]/g,alternative:"i"},{letter:/[\u0418]/g,alternative:"I"},{letter:/[\u0458]/g,alternative:"j"},{letter:/[\u0408]/g,alternative:"J"},{letter:/[\u043A]/g,alternative:"k"},{letter:/[\u041A]/g,alternative:"K"},{letter:/[\u043B]/g,alternative:"l"},{letter:/[\u041B]/g,alternative:"L"},{letter:/[\u0459]/g,alternative:"lj"},{letter:/[\u0409]/g,alternative:"Lj"},{letter:/[\u043C]/g,alternative:"m"},{letter:/[\u041C]/g,alternative:"M"},{letter:/[\u043D]/g,alternative:"n"},{letter:/[\u041D]/g,alternative:"N"},{letter:/[\u045A]/g,alternative:"nj"},{letter:/[\u040A]/g,alternative:"Nj"},{letter:/[\u043E]/g,alternative:"o"},{letter:/[\u041E]/g,alternative:"O"},{letter:/[\u0440]/g,alternative:"r"},{letter:/[\u0420]/g,alternative:"R"},{letter:/[\u043F]/g,alternative:"p"},{letter:/[\u041F]/g,alternative:"P"},{letter:/[\u0441]/g,alternative:"s"},{letter:/[\u0421]/g,alternative:"S"},{letter:/[\u0442]/g,alternative:"t"},{letter:/[\u0422]/g,alternative:"T"},{letter:/[\u045C]/g,alternative:"kj"},{letter:/[\u040C]/g,alternative:"Kj"},{letter:/[\u0443]/g,alternative:"u"},{letter:/[\u0423]/g,alternative:"U"},{letter:/[\u0444]/g,alternative:"f"},{letter:/[\u0424]/g,alternative:"F"},{letter:/[\u0445]/g,alternative:"h"},{letter:/[\u0425]/g,alternative:"H"},{letter:/[\u0446]/g,alternative:"c"},{letter:/[\u0426]/g,alternative:"C"},{letter:/[\u0447]/g,alternative:"ch"},{letter:/[\u0427]/g,alternative:"Ch"},{letter:/[\u045F]/g,alternative:"dj"},{letter:/[\u040F]/g,alternative:"Dj"},{letter:/[\u0448]/g,alternative:"sh"},{letter:/[\u0428]/g,alternative:"Sh"}],xe=[{letter:/[\u0101]/g,alternative:"aa"},{letter:/[\u0100]/g,alternative:"Aa"},{letter:/[\u0113]/g,alternative:"ee"},{letter:/[\u0112]/g,alternative:"Ee"},{letter:/[\u012b]/g,alternative:"ii"},{letter:/[\u012a]/g,alternative:"Ii"},{letter:/[\u014d]/g,alternative:"oo"},{letter:/[\u014c]/g,alternative:"Oo"},{letter:/[\u016b]/g,alternative:"uu"},{letter:/[\u016a]/g,alternative:"Uu"}],Oe=[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e1]/g,alternative:"a"},{letter:/[\u00c1]/g,alternative:"A"},{letter:/[\u00e9\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00ca]/g,alternative:"E"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u00f3\u00f4]/g,alternative:"o"},{letter:/[\u00d3\u00d4]/g,alternative:"O"},{letter:/[\u00fa\u0169]/g,alternative:"u"},{letter:/[\u00da\u0168]/g,alternative:"U"}],Ee=[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e0\u00e1]/g,alternative:"a"},{letter:/[\u00c0\u00c1]/g,alternative:"A"},{letter:/[\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00c8\u00c9]/g,alternative:"E"},{letter:/[\u00ed\u00ef]/g,alternative:"i"},{letter:/[\u00cd\u00cf]/g,alternative:"I"},{letter:/[\u00f2\u00f3]/g,alternative:"o"},{letter:/[\u00d2\u00d3]/g,alternative:"O"},{letter:/[\u00fa\u00fc]/g,alternative:"u"},{letter:/[\u00da\u00dc]/g,alternative:"U"},{letter:/[\u00b7]/g,alternative:""}],Te=[{letter:/[\u0027]/g,alternative:""}],Ae=[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e1\u00e2\u00e3\u00e0]/g,alternative:"a"},{letter:/[\u00c1\u00c2\u00c3\u00c0]/g,alternative:"A"},{letter:/[\u00e9\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00ca]/g,alternative:"E"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u00f3\u00f4\u00f5]/g,alternative:"o"},{letter:/[\u00d3\u00d4\u00d5]/g,alternative:"O"},{letter:/[\u00fa]/g,alternative:"u"},{letter:/[\u00da]/g,alternative:"U"}],Ce=[{letter:/[\u00e9\u00e8\u00ea]/g,alternative:"e"},{letter:/[\u00c9\u00c8\u00ca]/g,alternative:"E"},{letter:/[\u00ef]/g,alternative:"i"},{letter:/[\u00cf]/g,alternative:"I"},{letter:/[\u00f6]/g,alternative:"oe"},{letter:/[\u00d6]/g,alternative:"Oe"},{letter:/[\u00fc]/g,alternative:"ue"},{letter:/[\u00dc]/g,alternative:"Ue"},{letter:/[\u00e4]/g,alternative:"ae"},{letter:/[\u00c4]/g,alternative:"Ae"}],Se=[{letter:/[\u00e3]/g,alternative:"a"},{letter:/[\u00c3]/g,alternative:"A"}],je=[{letter:/[\u0103\u00e2]/g,alternative:"a"},{letter:/[\u0102\u00c2]/g,alternative:"A"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u0219\u015f]/g,alternative:"s"},{letter:/[\u0218\u015e]/g,alternative:"S"},{letter:/[\u021b\u0163]/g,alternative:"t"},{letter:/[\u021a\u0162]/g,alternative:"T"}],ke=[{letter:/[\u2019\u0027]/g,alternative:""}],De=[{letter:/[\u01c4]/g,alternative:"DZ"},{letter:/[\u01c5]/g,alternative:"Dz"},{letter:/[\u01c6]/g,alternative:"dz"},{letter:/[\u00e1\u00e4]/g,alternative:"a"},{letter:/[\u00c1\u00c4]/g,alternative:"A"},{letter:/[\u010d]/g,alternative:"c"},{letter:/[\u010c]/g,alternative:"C"},{letter:/[\u010f]/g,alternative:"d"},{letter:/[\u010e]/g,alternative:"D"},{letter:/[\u00e9]/g,alternative:"e"},{letter:/[\u00c9]/g,alternative:"E"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u013e\u013a]/g,alternative:"l"},{letter:/[\u013d\u0139]/g,alternative:"L"},{letter:/[\u0148]/g,alternative:"n"},{letter:/[\u0147]/g,alternative:"N"},{letter:/[\u00f3\u00f4]/g,alternative:"o"},{letter:/[\u00d3\u00d4]/g,alternative:"O"},{letter:/[\u0155]/g,alternative:"r"},{letter:/[\u0154]/g,alternative:"R"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u0165]/g,alternative:"t"},{letter:/[\u0164]/g,alternative:"T"},{letter:/[\u00fa]/g,alternative:"u"},{letter:/[\u00da]/g,alternative:"U"},{letter:/[\u00fd]/g,alternative:"y"},{letter:/[\u00dd]/g,alternative:"Y"},{letter:/[\u017e]/g,alternative:"z"},{letter:/[\u017d]/g,alternative:"Z"}],Re=[{letter:/[\u010d\u0107]/g,alternative:"c"},{letter:/[\u010c\u0106]/g,alternative:"C"},{letter:/[\u0111]/g,alternative:"d"},{letter:/[\u0110]/g,alternative:"D"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u017e]/g,alternative:"z"},{letter:/[\u017d]/g,alternative:"Z"},{letter:/[\u00e0\u00e1\u0203\u0201]/g,alternative:"a"},{letter:/[\u00c0\u00c1\u0202\u0200]/g,alternative:"A"},{letter:/[\u00e8\u00e9\u0207\u0205]/g,alternative:"e"},{letter:/\u01dd\u0300/g,alternative:"e"},{letter:/\u01dd\u030f/g,alternative:"e"},{letter:/\u1eb9\u0301/g,alternative:"e"},{letter:/\u1eb9\u0311/g,alternative:"e"},{letter:/[\u00c8\u00c9\u0206\u0204]/g,alternative:"E"},{letter:/\u018e\u030f/g,alternative:"E"},{letter:/\u018e\u0300/g,alternative:"E"},{letter:/\u1eb8\u0311/g,alternative:"E"},{letter:/\u1eb8\u0301/g,alternative:"E"},{letter:/[\u00ec\u00ed\u020b\u0209]/g,alternative:"i"},{letter:/[\u00cc\u00cd\u020a\u0208]/g,alternative:"I"},{letter:/[\u00f2\u00f3\u020f\u020d]/g,alternative:"o"},{letter:/\u1ecd\u0311/g,alternative:"o"},{letter:/\u1ecd\u0301/g,alternative:"o"},{letter:/\u1ecc\u0311/g,alternative:"O"},{letter:/\u1ecc\u0301/g,alternative:"O"},{letter:/[\u00d2\u00d3\u020e\u020c]/g,alternative:"O"},{letter:/[\u00f9\u00fa\u0217\u0215]/g,alternative:"u"},{letter:/[\u00d9\u00da\u0216\u0214]/g,alternative:"U"},{letter:/[\u0155\u0213]/g,alternative:"r"},{letter:/[\u0154\u0212]/g,alternative:"R"}],Le=[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00eb]/g,alternative:"e"},{letter:/[\u00cb]/g,alternative:"E"}],Me=[{letter:/[\u00e1]/g,alternative:"a"},{letter:/[\u00c1]/g,alternative:"A"},{letter:/[\u00e9]/g,alternative:"e"},{letter:/[\u00c9]/g,alternative:"E"},{letter:/[\u00ed]/g,alternative:"i"},{letter:/[\u00cd]/g,alternative:"I"},{letter:/[\u00f3\u00f6\u0151]/g,alternative:"o"},{letter:/[\u00d3\u00d6\u0150]/g,alternative:"O"},{letter:/[\u00fa\u00fc\u0171]/g,alternative:"u"},{letter:/[\u00da\u00dc\u0170]/g,alternative:"U"}],Fe=[{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00e0\u00e1]/g,alternative:"a"},{letter:/[\u00c0\u00c1]/g,alternative:"A"},{letter:/[\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00c8\u00c9]/g,alternative:"E"},{letter:/[\u00ed\u00ef]/g,alternative:"i"},{letter:/[\u00cd\u00cf]/g,alternative:"I"},{letter:/[\u00f2\u00f3]/g,alternative:"o"},{letter:/[\u00d2\u00d3]/g,alternative:"O"},{letter:/[\u00fa\u00f9]/g,alternative:"u"},{letter:/[\u00da\u00d9]/g,alternative:"U"}],$e=[{letter:/[\u0107]/g,alternative:"c"},{letter:/[\u0106]/g,alternative:"C"},{letter:/[\u00e3]/g,alternative:"a"},{letter:/[\u00c3]/g,alternative:"A"},{letter:/[\u0142]/g,alternative:"u"},{letter:/[\u0141]/g,alternative:"U"},{letter:/[\u006e]/g,alternative:"n"},{letter:/[\u004e]/g,alternative:"N"},{letter:/[\u014f\u014d\u00f4\u00f5]/g,alternative:"o"},{letter:/[\u014e\u014c\u00d4\u00d5]/g,alternative:"O"},{letter:/[\u015b]/g,alternative:"s"},{letter:/[\u015a]/g,alternative:"S"},{letter:/[\u017a\u017c\u017e]/g,alternative:"z"},{letter:/[\u0179\u017b\u017d]/g,alternative:"Z"},{letter:/[\u016f]/g,alternative:"u"},{letter:/[\u016e]/g,alternative:"U"},{letter:/[\u010d]/g,alternative:"cz"},{letter:/[\u010c]/g,alternative:"Cz"},{letter:/[\u0159]/g,alternative:"rz"},{letter:/[\u0158]/g,alternative:"Rz"},{letter:/[\u0161]/g,alternative:"sz"},{letter:/[\u0160]/g,alternative:"Sz"}],Pe=[{letter:/[\u0101\u00e2\u00e0]/g,alternative:"a"},{letter:/[\u0100\u00c2\u00c0]/g,alternative:"A"},{letter:/[\u00ef\u00ee\u00ec]/g,alternative:"i"},{letter:/[\u00cf\u00ce\u00cc]/g,alternative:"I"},{letter:/[\u0113\u00ea\u00e9]/g,alternative:"e"},{letter:/[\u0112\u00ca\u00c9]/g,alternative:"E"},{letter:/[\u016b\u00fb\u00fa]/g,alternative:"u"},{letter:/[\u016a\u00db\u00da]/g,alternative:"U"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/[\u00f2\u00f4\u014d]/g,alternative:"o"},{letter:/[\u00d2\u00d4\u014c]/g,alternative:"O"},{letter:/[\u2019\u0027\u2018]/g,alternative:""}],Ie=[{letter:/\u0073\u002d\u0063/g,alternative:"sc"},{letter:/\u0053\u002d\u0043/g,alternative:"SC"},{letter:/\u0073\u0027\u0063/g,alternative:"sc"},{letter:/\u0053\u0027\u0043/g,alternative:"SC"},{letter:/\u0073\u2019\u0063/g,alternative:"sc"},{letter:/\u0053\u2019\u0043/g,alternative:"SC"},{letter:/\u0073\u2018\u0063/g,alternative:"sc"},{letter:/\u0053\u2018\u0043/g,alternative:"SC"},{letter:/\u0053\u002d\u0063/g,alternative:"Sc"},{letter:/\u0053\u0027\u0063/g,alternative:"Sc"},{letter:/\u0053\u2019\u0063/g,alternative:"Sc"},{letter:/\u0053\u2018\u0063/g,alternative:"Sc"},{letter:/\u0063\u2019/g,alternative:"c"},{letter:/\u0043\u2019/g,alternative:"C"},{letter:/\u0063\u2018/g,alternative:"c"},{letter:/\u0043\u2018/g,alternative:"C"},{letter:/\u0063\u0027/g,alternative:"c"},{letter:/\u0043\u0027/g,alternative:"C"},{letter:/[\u00e0\u00e1\u00e2]/g,alternative:"a"},{letter:/[\u00c0\u00c1\u00c2]/g,alternative:"A"},{letter:/[\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00c8\u00c9]/g,alternative:"E"},{letter:/[\u00f2\u00f3]/g,alternative:"o"},{letter:/[\u00d2\u00d3]/g,alternative:"O"},{letter:/[\u00f9\u00fa]/g,alternative:"u"},{letter:/[\u00d9\u00da]/g,alternative:"U"},{letter:/[\u00e7\u010d\u010b]/g,alternative:"c"},{letter:/[\u00c7\u010c\u010a]/g,alternative:"C"},{letter:/[\u0142]/g,alternative:"l"},{letter:/[\u00a3\u0141]/g,alternative:"L"},{letter:/\ud835\udeff/g,alternative:"dh"},{letter:/[\u0111\u03b4]/g,alternative:"dh"},{letter:/[\u0110\u0394]/g,alternative:"Dh"}],qe=[{letter:/[\u00e2\u00e5]/g,alternative:"a"},{letter:/[\u00c2\u00c5]/g,alternative:"A"},{letter:/[\u00e7]/g,alternative:"c"},{letter:/[\u00c7]/g,alternative:"C"},{letter:/\u0065\u030a/g,alternative:"e"},{letter:/\u0045\u030a/g,alternative:"E"},{letter:/[\u00eb\u00ea\u00e8\u00e9]/g,alternative:"e"},{letter:/[\u00c9\u00c8\u00ca\u00cb]/g,alternative:"E"},{letter:/[\u00ee]/g,alternative:"i"},{letter:/[\u00ce]/g,alternative:"I"},{letter:/[\u00f4\u00f6]/g,alternative:"o"},{letter:/[\u00d6\u00d4]/g,alternative:"O"},{letter:/[\u00fb]/g,alternative:"u"},{letter:/[\u00db]/g,alternative:"U"}],Ne=[{letter:/[\u00e1\u00e0]/g,alternative:"a"},{letter:/[\u00c1\u00c0]/g,alternative:"A"},{letter:/[\u00ec\u00ed]/g,alternative:"i"},{letter:/[\u00cc\u00cd]/g,alternative:"I"},{letter:/\u1ecd\u0301/g,alternative:"o"},{letter:/\u1ecc\u0301/g,alternative:"O"},{letter:/\u1ecd\u0300/g,alternative:"o"},{letter:/\u1ecc\u0300/g,alternative:"O"},{letter:/[\u00f3\u00f2\u1ecd]/g,alternative:"o"},{letter:/[\u00d3\u00d2\u1ecc]/g,alternative:"O"},{letter:/[\u00fa\u00f9]/g,alternative:"u"},{letter:/[\u00da\u00d9]/g,alternative:"U"},{letter:/\u1eb9\u0301/g,alternative:"e"},{letter:/\u1eb8\u0301/g,alternative:"E"},{letter:/\u1eb9\u0300/g,alternative:"e"},{letter:/\u1eb8\u0300/g,alternative:"E"},{letter:/[\u00e9\u00e8\u1eb9]/g,alternative:"e"},{letter:/[\u00c9\u00c8\u1eb8]/g,alternative:"E"},{letter:/[\u1e63]/g,alternative:"s"},{letter:/[\u1e62]/g,alternative:"S"}];var Be=function(e,t){const r=function(e){if(Object(b.isUndefined)(e))return[];switch(w(e)){case"es":return x;case"pl":return O;case"de":return E;case"nb":case"nn":return T;case"sv":return A;case"fi":return C;case"da":return S;case"tr":return j;case"lv":return k;case"is":return D;case"fa":return R;case"cs":return L;case"ru":return M;case"eo":return F;case"af":return $;case"bal":case"ca":return P;case"ast":return I;case"an":return q;case"ay":return N;case"en":return B;case"fr":return U;case"it":return H;case"nl":return K;case"bm":return z;case"uk":return W;case"br":return V;case"ch":return G;case"csb":return Y;case"cy":return J;case"ee":return Z;case"et":return X;case"eu":return Q;case"fuc":return ee;case"fj":return te;case"frp":return re;case"fur":return ne;case"fy":return se;case"ga":return ie;case"gd":return ae;case"gl":return oe;case"gn":return le;case"gsw":return ue;case"hat":return ce;case"haw":return he;case"hr":return pe;case"ka":return ge;case"kal":return de;case"kin":return fe;case"lb":return me;case"li":return ve;case"lin":return be;case"lt":return ye;case"mg":return _e;case"mk":return we;case"mri":return xe;case"mwl":return Oe;case"oci":return Ee;case"orm":return Te;case"pt":return Ae;case"roh":return Ce;case"rup":return Se;case"ro":return je;case"tlh":return ke;case"sk":return De;case"sl":return Re;case"sq":return Le;case"hu":return Me;case"srd":return Fe;case"szl":return $e;case"tah":return Pe;case"vec":return Ie;case"wa":return qe;case"yor":return Ne;default:return[]}}(t);for(let t=0;t<r.length;t++)e=e.replace(r[t].letter,r[t].alternative);return e},Ue=function(e){let t,r,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";t="id_ID"===i?'[ \\u00a0\\n\\r\\t.,()”“〝〞〟‟„"+;!¡?¿:/»«‹›'+s+"<>":'[ \\u00a0\\u2014\\u06d4\\u061f\\u060C\\u061B\\n\\r\\t.,()”“〝〞〟‟„"+\\-;!¡?¿:/»«‹›'+s+"<>";const a="(^|"+t+"'‘’‛`])";return r=n?"($|((?="+t+"]))|((['‘’‛`])("+t+"])))":"($|("+t+"])|((['‘’‛`])("+t+"])))",a+e+r};const He=new RegExp("(<div class='wp-block-yoast-seo-table-of-contents yoast-table-of-contents'>).*?(</div>)","igs");function Ke(e){return e.replace(He,"")}const ze=new RegExp("<p class='yoast-reading-time__wrapper.*?</p>","igs");function We(e){return e.replace(ze,"")}var Ve=function(e){return(e=(e=(e=(e=e.replace(/\s{2,}/g," ")).replace(/\s\./g,".")).replace(/^\s+|\s+$/g,"")).replace(/\s。/g,"。")).replace(/。\s/g,"。")},Ge=r(57),Ye=r.n(Ge);const Je=["address","article","aside","blockquote","canvas","dd","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","section","table","tfoot","ul","video"],Ze=["b","big","i","small","tt","abbr","acronym","cite","code","dfn","em","kbd","strong","samp","time","var","a","bdo","br","img","map","object","q","script","span","sub","sup","button","input","label","select","textarea"],Xe=(new RegExp("^("+Je.join("|")+")$","i"),new RegExp("^("+Ze.join("|")+")$","i"),new RegExp("^<("+Je.join("|")+")[^>]*?>$","i")),Qe=new RegExp("^</("+Je.join("|")+")[^>]*?>$","i"),et=new RegExp("^<("+Ze.join("|")+")[^>]*>$","i"),tt=new RegExp("^</("+Ze.join("|")+")[^>]*>$","i"),rt=/^<([^>\s/]+)[^>]*>$/,nt=/^<\/([^>\s]+)[^>]*>$/,st=/^[^<]+$/,it=/^<[^><]*$/,at=/<!--(.|[\r\n])*?-->/g;let ot,lt=[];const ut=Object(b.memoize)((function(e){const t=[];let r=0,n="",s="",i="";return e=e.replace(at,""),lt=[],ot=Ye()((function(e){lt.push(e)})),ot.addRule(st,"content"),ot.addRule(it,"greater-than-sign-content"),ot.addRule(Xe,"block-start"),ot.addRule(Qe,"block-end"),ot.addRule(et,"inline-start"),ot.addRule(tt,"inline-end"),ot.addRule(rt,"other-element-start"),ot.addRule(nt,"other-element-end"),ot.onText(e),ot.end(),Object(b.forEach)(lt,(function(e,a){const o=lt[a+1];switch(e.type){case"content":case"greater-than-sign-content":case"inline-start":case"inline-end":case"other-tag":case"other-element-start":case"other-element-end":case"greater than sign":o&&(0!==r||"block-start"!==o.type&&"block-end"!==o.type)?s+=e.src:(s+=e.src,t.push(s),n="",s="",i="");break;case"block-start":0!==r&&(""!==s.trim()&&t.push(s),s="",i=""),r++,n=e.src;break;case"block-end":r--,i=e.src,""!==n&&""!==i?t.push(n+s+i):""!==s.trim()&&t.push(s),n="",s="",i=""}r<0&&(r=0)})),t})),ct=new RegExp("^<("+Je.join("|")+")[^>]*?>","i"),ht=new RegExp("</("+Je.join("|")+")[^>]*?>$","i"),pt=function(e){return(e=e.replace(/^(<\/([^>]+)>)+/i,"")).replace(/(<([^/>]+)>)+$/i,"")},gt=function(e){return e=e.replace(/(<([^>]+)>)/gi," "),Ve(e)},dt=function(e){return e.replace(/&nbsp;/g," ")},ft=function(e){return function(e){return e.replace(/\s/g," ")}(e=function(e){return e.replace(/\u2014/g," ")}(e=dt(e)))};var mt=function(e){return e=We(e=Ke(e=ft(e))),gt(e)},vt=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const s="("+(e=Object(b.map)(e,(function(e){return n&&(e=_(e)),e=mt(e),t?e:Ue(e,!0,r)}))).join(")|(")+")";return new RegExp(s,"ig")},bt=function(e,t){const r=new RegExp(t,"ig");let n=e.match(r);return null===n&&(n=[]),n},yt=function(e){return bt(e,"<img(?:[^>]+)?>")};function _t(e){return e}var wt=function(e){const t="\\–\\-\\(\\)_\\[\\]’‘“”〝〞〟‟„\"'.?!:;,¿¡«»‹›—×+&۔؟،؛。。!‼?⁇⁉⁈‥…・ー、〃〄〆〇〈〉《》「」『』【】〒〓〔〕〖〗〘〙〚〛〜〝〞〟〠〶〼〽{}|~⦅⦆「」、[]・¥$%@&'()*/:;<>\\\<>";e=(e=dt(e)).replace("&amp","");const r=new RegExp("^["+t+"]+"),n=new RegExp("["+t+"]+$"),s=new RegExp("(\\\\)","g");return(e=(e=e.replace(s,"")).replace(r,"")).replace(n,"")},xt=function(e){if(""===(e=mt(e)))return[];let t=e.split(/\s/g);return t=Object(b.map)(t,(function(e){return wt(e)})),Object(b.filter)(t,(function(e){return""!==e.trim()}))},Ot=(r(203),r(21)),Et=r.n(Ot);function Tt(e){Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.message=e}Et.a.inherits(Tt,Error);var At=Tt;function Ct(e){Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.message=e}Et.a.inherits(Ct,Error);var St=Ct;const jt=/alt=(['"])(.*?)\1/i;var kt=function(e){let t="";const r=e.match(jt);return null!==r&&(t=Ve(r[2]),t=t.replace(/&quot;/g,'"'),t=t.replace(/&#039;/g,"'")),t},Dt=function(e){return e=e.replace(/<(?!li|\/li|p|\/p|h1|\/h1|h2|\/h2|h3|\/h3|h4|\/h4|h5|\/h5|h6|\/h6|dd).*?>/g,""),Ve(e)};const Rt=[{letter:/[\u00A3]/g,alternative:""},{letter:/[\u20AC]/g,alternative:"E"},{letter:/[\u00AA]/g,alternative:"a"},{letter:/[\u00BA]/g,alternative:"o"},{letter:/[\u00C0]/g,alternative:"A"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u00C2]/g,alternative:"A"},{letter:/[\u00C3]/g,alternative:"A"},{letter:/[\u00C4]/g,alternative:"A"},{letter:/[\u00C5]/g,alternative:"A"},{letter:/[\u00C6]/g,alternative:"AE"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00C8]/g,alternative:"E"},{letter:/[\u00C9]/g,alternative:"E"},{letter:/[\u00CA]/g,alternative:"E"},{letter:/[\u00CB]/g,alternative:"E"},{letter:/[\u00CC]/g,alternative:"I"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00CE]/g,alternative:"I"},{letter:/[\u00CF]/g,alternative:"I"},{letter:/[\u00D0]/g,alternative:"D"},{letter:/[\u00D1]/g,alternative:"N"},{letter:/[\u00D2]/g,alternative:"O"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u00D4]/g,alternative:"O"},{letter:/[\u00D5]/g,alternative:"O"},{letter:/[\u00D6]/g,alternative:"O"},{letter:/[\u00D8]/g,alternative:"O"},{letter:/[\u00D9]/g,alternative:"U"},{letter:/[\u00DA]/g,alternative:"U"},{letter:/[\u00DB]/g,alternative:"U"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u00DD]/g,alternative:"Y"},{letter:/[\u00DE]/g,alternative:"TH"},{letter:/[\u00DF]/g,alternative:"s"},{letter:/[\u00E0]/g,alternative:"a"},{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00E2]/g,alternative:"a"},{letter:/[\u00E3]/g,alternative:"a"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00E5]/g,alternative:"a"},{letter:/[\u00E6]/g,alternative:"ae"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00E8]/g,alternative:"e"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00EA]/g,alternative:"e"},{letter:/[\u00EB]/g,alternative:"e"},{letter:/[\u00EC]/g,alternative:"i"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00EE]/g,alternative:"i"},{letter:/[\u00EF]/g,alternative:"i"},{letter:/[\u00F0]/g,alternative:"d"},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00F2]/g,alternative:"o"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00F4]/g,alternative:"o"},{letter:/[\u00F5]/g,alternative:"o"},{letter:/[\u00F6]/g,alternative:"o"},{letter:/[\u00F8]/g,alternative:"o"},{letter:/[\u00F9]/g,alternative:"u"},{letter:/[\u00FA]/g,alternative:"u"},{letter:/[\u00FB]/g,alternative:"u"},{letter:/[\u00FC]/g,alternative:"u"},{letter:/[\u00FD]/g,alternative:"y"},{letter:/[\u00FE]/g,alternative:"th"},{letter:/[\u00FF]/g,alternative:"y"},{letter:/[\u0100]/g,alternative:"A"},{letter:/[\u0101]/g,alternative:"a"},{letter:/[\u0102]/g,alternative:"A"},{letter:/[\u0103]/g,alternative:"a"},{letter:/[\u0104]/g,alternative:"A"},{letter:/[\u0105]/g,alternative:"a"},{letter:/[\u0106]/g,alternative:"C"},{letter:/[\u0107]/g,alternative:"c"},{letter:/[\u0108]/g,alternative:"C"},{letter:/[\u0109]/g,alternative:"c"},{letter:/[\u010A]/g,alternative:"C"},{letter:/[\u010B]/g,alternative:"c"},{letter:/[\u010C]/g,alternative:"C"},{letter:/[\u010D]/g,alternative:"c"},{letter:/[\u010E]/g,alternative:"D"},{letter:/[\u010F]/g,alternative:"d"},{letter:/[\u0110]/g,alternative:"D"},{letter:/[\u0111]/g,alternative:"d"},{letter:/[\u0112]/g,alternative:"E"},{letter:/[\u0113]/g,alternative:"e"},{letter:/[\u0114]/g,alternative:"E"},{letter:/[\u0115]/g,alternative:"e"},{letter:/[\u0116]/g,alternative:"E"},{letter:/[\u0117]/g,alternative:"e"},{letter:/[\u0118]/g,alternative:"E"},{letter:/[\u0119]/g,alternative:"e"},{letter:/[\u011A]/g,alternative:"E"},{letter:/[\u011B]/g,alternative:"e"},{letter:/[\u011C]/g,alternative:"G"},{letter:/[\u011D]/g,alternative:"g"},{letter:/[\u011E]/g,alternative:"G"},{letter:/[\u011F]/g,alternative:"g"},{letter:/[\u0120]/g,alternative:"G"},{letter:/[\u0121]/g,alternative:"g"},{letter:/[\u0122]/g,alternative:"G"},{letter:/[\u0123]/g,alternative:"g"},{letter:/[\u0124]/g,alternative:"H"},{letter:/[\u0125]/g,alternative:"h"},{letter:/[\u0126]/g,alternative:"H"},{letter:/[\u0127]/g,alternative:"h"},{letter:/[\u0128]/g,alternative:"I"},{letter:/[\u0129]/g,alternative:"i"},{letter:/[\u012A]/g,alternative:"I"},{letter:/[\u012B]/g,alternative:"i"},{letter:/[\u012C]/g,alternative:"I"},{letter:/[\u012D]/g,alternative:"i"},{letter:/[\u012E]/g,alternative:"I"},{letter:/[\u012F]/g,alternative:"i"},{letter:/[\u0130]/g,alternative:"I"},{letter:/[\u0131]/g,alternative:"i"},{letter:/[\u0132]/g,alternative:"IJ"},{letter:/[\u0133]/g,alternative:"ij"},{letter:/[\u0134]/g,alternative:"J"},{letter:/[\u0135]/g,alternative:"j"},{letter:/[\u0136]/g,alternative:"K"},{letter:/[\u0137]/g,alternative:"k"},{letter:/[\u0138]/g,alternative:"k"},{letter:/[\u0139]/g,alternative:"L"},{letter:/[\u013A]/g,alternative:"l"},{letter:/[\u013B]/g,alternative:"L"},{letter:/[\u013C]/g,alternative:"l"},{letter:/[\u013D]/g,alternative:"L"},{letter:/[\u013E]/g,alternative:"l"},{letter:/[\u013F]/g,alternative:"L"},{letter:/[\u0140]/g,alternative:"l"},{letter:/[\u0141]/g,alternative:"L"},{letter:/[\u0142]/g,alternative:"l"},{letter:/[\u0143]/g,alternative:"N"},{letter:/[\u0144]/g,alternative:"n"},{letter:/[\u0145]/g,alternative:"N"},{letter:/[\u0146]/g,alternative:"n"},{letter:/[\u0147]/g,alternative:"N"},{letter:/[\u0148]/g,alternative:"n"},{letter:/[\u0149]/g,alternative:"n"},{letter:/[\u014A]/g,alternative:"N"},{letter:/[\u014B]/g,alternative:"n"},{letter:/[\u014C]/g,alternative:"O"},{letter:/[\u014D]/g,alternative:"o"},{letter:/[\u014E]/g,alternative:"O"},{letter:/[\u014F]/g,alternative:"o"},{letter:/[\u0150]/g,alternative:"O"},{letter:/[\u0151]/g,alternative:"o"},{letter:/[\u0152]/g,alternative:"OE"},{letter:/[\u0153]/g,alternative:"oe"},{letter:/[\u0154]/g,alternative:"R"},{letter:/[\u0155]/g,alternative:"r"},{letter:/[\u0156]/g,alternative:"R"},{letter:/[\u0157]/g,alternative:"r"},{letter:/[\u0158]/g,alternative:"R"},{letter:/[\u0159]/g,alternative:"r"},{letter:/[\u015A]/g,alternative:"S"},{letter:/[\u015B]/g,alternative:"s"},{letter:/[\u015C]/g,alternative:"S"},{letter:/[\u015D]/g,alternative:"s"},{letter:/[\u015E]/g,alternative:"S"},{letter:/[\u015F]/g,alternative:"s"},{letter:/[\u0160]/g,alternative:"S"},{letter:/[\u0161]/g,alternative:"s"},{letter:/[\u0162]/g,alternative:"T"},{letter:/[\u0163]/g,alternative:"t"},{letter:/[\u0164]/g,alternative:"T"},{letter:/[\u0165]/g,alternative:"t"},{letter:/[\u0166]/g,alternative:"T"},{letter:/[\u0167]/g,alternative:"t"},{letter:/[\u0168]/g,alternative:"U"},{letter:/[\u0169]/g,alternative:"u"},{letter:/[\u016A]/g,alternative:"U"},{letter:/[\u016B]/g,alternative:"u"},{letter:/[\u016C]/g,alternative:"U"},{letter:/[\u016D]/g,alternative:"u"},{letter:/[\u016E]/g,alternative:"U"},{letter:/[\u016F]/g,alternative:"u"},{letter:/[\u0170]/g,alternative:"U"},{letter:/[\u0171]/g,alternative:"u"},{letter:/[\u0172]/g,alternative:"U"},{letter:/[\u0173]/g,alternative:"u"},{letter:/[\u0174]/g,alternative:"W"},{letter:/[\u0175]/g,alternative:"w"},{letter:/[\u0176]/g,alternative:"Y"},{letter:/[\u0177]/g,alternative:"y"},{letter:/[\u0178]/g,alternative:"Y"},{letter:/[\u0179]/g,alternative:"Z"},{letter:/[\u017A]/g,alternative:"z"},{letter:/[\u017B]/g,alternative:"Z"},{letter:/[\u017C]/g,alternative:"z"},{letter:/[\u017D]/g,alternative:"Z"},{letter:/[\u017E]/g,alternative:"z"},{letter:/[\u017F]/g,alternative:"s"},{letter:/[\u01A0]/g,alternative:"O"},{letter:/[\u01A1]/g,alternative:"o"},{letter:/[\u01AF]/g,alternative:"U"},{letter:/[\u01B0]/g,alternative:"u"},{letter:/[\u01CD]/g,alternative:"A"},{letter:/[\u01CE]/g,alternative:"a"},{letter:/[\u01CF]/g,alternative:"I"},{letter:/[\u01D0]/g,alternative:"i"},{letter:/[\u01D1]/g,alternative:"O"},{letter:/[\u01D2]/g,alternative:"o"},{letter:/[\u01D3]/g,alternative:"U"},{letter:/[\u01D4]/g,alternative:"u"},{letter:/[\u01D5]/g,alternative:"U"},{letter:/[\u01D6]/g,alternative:"u"},{letter:/[\u01D7]/g,alternative:"U"},{letter:/[\u01D8]/g,alternative:"u"},{letter:/[\u01D9]/g,alternative:"U"},{letter:/[\u01DA]/g,alternative:"u"},{letter:/[\u01DB]/g,alternative:"U"},{letter:/[\u01DC]/g,alternative:"u"},{letter:/[\u0218]/g,alternative:"S"},{letter:/[\u0219]/g,alternative:"s"},{letter:/[\u021A]/g,alternative:"T"},{letter:/[\u021B]/g,alternative:"t"},{letter:/[\u0251]/g,alternative:"a"},{letter:/[\u1EA0]/g,alternative:"A"},{letter:/[\u1EA1]/g,alternative:"a"},{letter:/[\u1EA2]/g,alternative:"A"},{letter:/[\u1EA3]/g,alternative:"a"},{letter:/[\u1EA4]/g,alternative:"A"},{letter:/[\u1EA5]/g,alternative:"a"},{letter:/[\u1EA6]/g,alternative:"A"},{letter:/[\u1EA7]/g,alternative:"a"},{letter:/[\u1EA8]/g,alternative:"A"},{letter:/[\u1EA9]/g,alternative:"a"},{letter:/[\u1EAA]/g,alternative:"A"},{letter:/[\u1EAB]/g,alternative:"a"},{letter:/[\u1EA6]/g,alternative:"A"},{letter:/[\u1EAD]/g,alternative:"a"},{letter:/[\u1EAE]/g,alternative:"A"},{letter:/[\u1EAF]/g,alternative:"a"},{letter:/[\u1EB0]/g,alternative:"A"},{letter:/[\u1EB1]/g,alternative:"a"},{letter:/[\u1EB2]/g,alternative:"A"},{letter:/[\u1EB3]/g,alternative:"a"},{letter:/[\u1EB4]/g,alternative:"A"},{letter:/[\u1EB5]/g,alternative:"a"},{letter:/[\u1EB6]/g,alternative:"A"},{letter:/[\u1EB7]/g,alternative:"a"},{letter:/[\u1EB8]/g,alternative:"E"},{letter:/[\u1EB9]/g,alternative:"e"},{letter:/[\u1EBA]/g,alternative:"E"},{letter:/[\u1EBB]/g,alternative:"e"},{letter:/[\u1EBC]/g,alternative:"E"},{letter:/[\u1EBD]/g,alternative:"e"},{letter:/[\u1EBE]/g,alternative:"E"},{letter:/[\u1EBF]/g,alternative:"e"},{letter:/[\u1EC0]/g,alternative:"E"},{letter:/[\u1EC1]/g,alternative:"e"},{letter:/[\u1EC2]/g,alternative:"E"},{letter:/[\u1EC3]/g,alternative:"e"},{letter:/[\u1EC4]/g,alternative:"E"},{letter:/[\u1EC5]/g,alternative:"e"},{letter:/[\u1EC6]/g,alternative:"E"},{letter:/[\u1EC7]/g,alternative:"e"},{letter:/[\u1EC8]/g,alternative:"I"},{letter:/[\u1EC9]/g,alternative:"i"},{letter:/[\u1ECA]/g,alternative:"I"},{letter:/[\u1ECB]/g,alternative:"i"},{letter:/[\u1ECC]/g,alternative:"O"},{letter:/[\u1ECD]/g,alternative:"o"},{letter:/[\u1ECE]/g,alternative:"O"},{letter:/[\u1ECF]/g,alternative:"o"},{letter:/[\u1ED0]/g,alternative:"O"},{letter:/[\u1ED1]/g,alternative:"o"},{letter:/[\u1ED2]/g,alternative:"O"},{letter:/[\u1ED3]/g,alternative:"o"},{letter:/[\u1ED4]/g,alternative:"O"},{letter:/[\u1ED5]/g,alternative:"o"},{letter:/[\u1ED6]/g,alternative:"O"},{letter:/[\u1ED7]/g,alternative:"o"},{letter:/[\u1ED8]/g,alternative:"O"},{letter:/[\u1ED9]/g,alternative:"o"},{letter:/[\u1EDA]/g,alternative:"O"},{letter:/[\u1EDB]/g,alternative:"o"},{letter:/[\u1EDC]/g,alternative:"O"},{letter:/[\u1EDD]/g,alternative:"o"},{letter:/[\u1EDE]/g,alternative:"O"},{letter:/[\u1EDF]/g,alternative:"o"},{letter:/[\u1EE0]/g,alternative:"O"},{letter:/[\u1EE1]/g,alternative:"o"},{letter:/[\u1EE2]/g,alternative:"O"},{letter:/[\u1EE3]/g,alternative:"o"},{letter:/[\u1EE4]/g,alternative:"U"},{letter:/[\u1EE5]/g,alternative:"u"},{letter:/[\u1EE6]/g,alternative:"U"},{letter:/[\u1EE7]/g,alternative:"u"},{letter:/[\u1EE8]/g,alternative:"U"},{letter:/[\u1EE9]/g,alternative:"u"},{letter:/[\u1EEA]/g,alternative:"U"},{letter:/[\u1EEB]/g,alternative:"u"},{letter:/[\u1EEC]/g,alternative:"U"},{letter:/[\u1EED]/g,alternative:"u"},{letter:/[\u1EEE]/g,alternative:"U"},{letter:/[\u1EEF]/g,alternative:"u"},{letter:/[\u1EF0]/g,alternative:"U"},{letter:/[\u1EF1]/g,alternative:"u"},{letter:/[\u1EF2]/g,alternative:"Y"},{letter:/[\u1EF3]/g,alternative:"y"},{letter:/[\u1EF4]/g,alternative:"Y"},{letter:/[\u1EF5]/g,alternative:"y"},{letter:/[\u1EF6]/g,alternative:"Y"},{letter:/[\u1EF7]/g,alternative:"y"},{letter:/[\u1EF8]/g,alternative:"Y"},{letter:/[\u1EF9]/g,alternative:"y"}],Lt=[{letter:/[\u00C4]/g,alternative:"Ae"},{letter:/[\u00E4]/g,alternative:"ae"},{letter:/[\u00D6]/g,alternative:"Oe"},{letter:/[\u00F6]/g,alternative:"oe"},{letter:/[\u00DC]/g,alternative:"Ue"},{letter:/[\u00FC]/g,alternative:"ue"},{letter:/[\u1E9E]/g,alternative:"SS"},{letter:/[\u00DF]/g,alternative:"ss"}],Mt=[{letter:/[\u00C6]/g,alternative:"Ae"},{letter:/[\u00E6]/g,alternative:"ae"},{letter:/[\u00D8]/g,alternative:"Oe"},{letter:/[\u00F8]/g,alternative:"oe"},{letter:/[\u00C5]/g,alternative:"Aa"},{letter:/[\u00E5]/g,alternative:"aa"}],Ft=[{letter:/[\u00B7]/g,alternative:"ll"}],$t=[{letter:/[\u0110]/g,alternative:"DJ"},{letter:/[\u0111]/g,alternative:"dj"}];var Pt=r(110),It=r.n(Pt),qt=r(61),Nt=r.n(qt),Bt=r(62),Ut=r.n(Bt),Ht=r(238);function Kt(e,t){const r=[];if(e.indexOf(t)>-1)for(let n=0;n<e.length;n++)e[n]===t&&r.push(n);return r}function zt(e,t){return Nt()(e,(function(e){return!Ut()(t,e)}))}function Wt(e){return function e(t,r){const n=t[0];if(void 0===n)return r;for(let e=0,t=r.length;e<t;++e)r.push(r[e].concat(n));return e(t.slice(1),r)}(e,[[]]).slice(1).concat([[]])}function Vt(e,t,r){const n=e.split("");return t.forEach((function(e){n.splice(e,1,r)})),n.join("")}const Gt=r.n(Ht)()((function(e){const t=Kt(e,"İ").concat(Kt(e,"I"),Kt(e,"i"),Kt(e,"ı"));if(t.sort(),0===t.length)return[e];const r=(n=function(e){const t=[],r=xt(e);let n=0;return r.forEach((function(r){const s=e.indexOf(r,n);t.push(s),n=s+r.length})),t}(e),s=t,Nt()(n,(function(e){return Ut()(s,e)})));var n,s;const i=[];Wt(r).forEach((function(e){if(It()(e,r))i.push([e,[],[],[]]);else{const t=zt(r,e);Wt(t).forEach((function(r){if(It()(r,t))i.push([e,r,[],[]]);else{const n=zt(t,r);Wt(n).forEach((function(t){if(It()(t,n))i.push([e,r,t,[]]);else{const s=zt(n,t);i.push([e,r,t,s])}}))}}))}}));const a=[];return i.forEach((function(t){const r=Vt(e,t[0],"İ"),n=Vt(r,t[1],"I"),s=Vt(n,t[2],"i"),i=Vt(s,t[3],"ı");a.push(i)})),a})),Yt=function(e,t){return e=Ue(e,!1,"",t),new RegExp(e,"ig")};var Jt=function(e,t,r){let n=Yt(t,r);if("tr_TR"===r){const e=Gt(t);n=new RegExp(e.map(e=>Ue(e)).join("|"),"ig")}const s=e.match(n)||[];e=e.replace(n,"");const i=Be(t,r),a=Yt(i,r),o=e.match(a)||[];let l=s.concat(o);const u=function(e,t){const r=function(e){if(Object(b.isUndefined)(e))return[];let t=Rt;return t=t.concat(function(e){switch(e){case"de":return Lt;case"da":return Mt;case"ca":return Ft;case"sr":case"bs":return $t;default:return[]}}(w(e))),t}(t);for(let t=r.length-1;t>=0;t--)e=e.replace(r[t].letter,r[t].alternative);return e}(t,r);if(u!==i){const t=Yt(u,r),n=e.match(t)||[];l=l.concat(n)}return Object(b.map)(l,(function(e){return Ve(e)}))};function Zt(e){return e.replace(/[‘’‛`‹›]/g,"'")}function Xt(e){return function(e){return e.replace(/[“”〝〞〟‟„『』«»]/g,'"')}(Zt(e))}var Qt=function(e,t,r,n){e=Dt(e),e=Xt(e=ft(e)),t=Xt(t);let s=n?n(e,t):Jt(e,t,r);s=Object(b.map)(s,(function(e){return Ve(wt(e))}));const i=Object(b.map)(s,(function(t){return e.indexOf(t)}));return{count:s.length,matches:s,position:0===i.length?-1:Math.min(...i)}},er=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en_EN",n=arguments.length>3?arguments[3]:void 0,s=0,i=[],a=[];return Object(b.uniq)(t).forEach((function(t){const o=Qt(e,t,r,n);s+=o.count,i=i.concat(o.matches),a.push(o.position)})),a=a.filter(e=>e>=0),{count:s,matches:i,position:0===a.length?-1:Math.min(...a)}};const tr=function(e,t,r,n){const s=e.length,i=Array(s);let a=[];for(let o=0;o<s;o++){const s=er(t,e[o],r,n);i[o]=s.count>0?1:0,a.push(s.position)}const o=Object(b.sum)(i),l={countWordMatches:o,percentWordMatches:0};return s>0&&(l.percentWordMatches=Math.round(o/s*100)),a=a.filter(e=>e>=0),l.position=0===a.length?-1:Math.min(...a),l},rr=function(e,t,r,n,s){let i=tr(e.keyphraseForms,t,n,s);if(i.keyphraseOrSynonym="keyphrase",100===i.percentWordMatches||!1===r||Object(b.isEmpty)(e.synonymsForms))return i;const a=[];for(let r=0;r<e.synonymsForms.length;r++){const i=e.synonymsForms[r];a[r]=tr(i,t,n,s)}const o=a.map(e=>e.percentWordMatches),l=o.indexOf(Math.max(...o));return i.percentWordMatches>=a[l].percentWordMatches||(i=a[l],i.keyphraseOrSynonym="synonym"),i};function nr(e,t){const r=t.getResearch("morphology"),n=t.getHelper("matchWordCustomHelper");return function(e,t,r,n){const s={noAlt:0,withAlt:0,withAltKeyword:0,withAltNonKeyword:0};for(let i=0;i<e.length;i++){const a=kt(e[i]);""!==a?Object(b.isEmpty)(t.keyphraseForms)?s.withAlt++:rr(t,a,!0,r,n).percentWordMatches>=50?s.withAltKeyword++:s.withAltNonKeyword++:s.noAlt++}return s}(yt(e.getText()),r,e.getLocale(),n)}const sr=new RegExp("^[.]$"),ir=/^<[^><]*$/,ar=/^<([^>\s/]+)[^>]*>$/im,or=/^<\/([^>\s]+)[^>]*>$/im,lr=/^\s*[[({]\s*$/,ur=/^\s*[\])}]\s*$/,cr=["A.D.","Adm.","Adv.","B.C.","Br.","Brig.","Cmrd.","Col.","Cpl.","Cpt.","Dr.","Esq.","Fr.","Gen.","Gov.","Hon.","Jr.","Lieut.","Lt.","Maj.","Mr.","Mrs.","Ms.","Msgr.","Mx.","No.","Pfc.","Pr.","Prof.","Pvt.","Rep.","Reps.","Rev.","Rt. Hon.","Sen.","Sens.","Sgt.","Sps.","Sr.","St.","vs.","i.e.","e.g.","viz.","Mt."].map(e=>e.replace(".","\\.")),hr=vt(cr),pr="(^|$|["+[" ","\\n","\\r","\\t"," ","۔","؟","،","؛"," ",".",",","'","(",")",'"',"+","-",";","!","?",":","/","»","«","‹","›","<",">","”","“","〝","〞","〟","‟","„"].map(e=>"\\"+e).join("")+"])",gr=new RegExp(pr+"[A-Za-z]$");class dr{constructor(){this.sentenceDelimiters='”〞〟„』›»’‛`"?!…۔؟'}getSentenceDelimiters(){return this.sentenceDelimiters}isNumber(e){return!Object(b.isNaN)(parseInt(e,10))}isBreakTag(e){return/<br/.test(e)}isQuotation(e){return"'"===(e=Xt(e))||'"'===e}endsWithOrdinalDot(){return!1}isPunctuation(e){return"¿"===e||"¡"===e}removeDuplicateWhitespace(e){return e.replace(/\s+/," ")}isCapitalLetter(e){return e!==e.toLocaleLowerCase()}isSmallerThanSign(e){return"<"===e}getNextTwoCharacters(e){let t="";return Object(b.isUndefined)(e[0])||(t+=e[0].src),Object(b.isUndefined)(e[1])||(t+=e[1].src),t=this.removeDuplicateWhitespace(t),t}isLetterFromSpecificLanguage(e){return[/^[\u0590-\u05fe]+$/i,/^[\u0600-\u06FF]+$/i,/^[\uFB8A\u067E\u0686\u06AF]+$/i].some(t=>t.test(e))}isValidSentenceBeginning(e){return this.isCapitalLetter(e)||this.isLetterFromSpecificLanguage(e)||this.isNumber(e)||this.isQuotation(e)||this.isPunctuation(e)||this.isSmallerThanSign(e)}isSentenceStart(e){return!Object(b.isUndefined)(e)&&("html-start"===e.type||"html-end"===e.type||"block-start"===e.type)}isSentenceEnding(e){return!Object(b.isUndefined)(e)&&("full-stop"===e.type||"sentence-delimiter"===e.type)}isPartOfPersonInitial(e,t,r,n){return!Object(b.isUndefined)(e)&&!Object(b.isUndefined)(r)&&!Object(b.isUndefined)(n)&&!Object(b.isUndefined)(t)&&"full-stop"===e.type&&"sentence"===t.type&&gr.test(t.src)&&"sentence"===r.type&&1===r.src.trim().length&&"full-stop"===n.type}tokenizeSmallerThanContent(e,t,r){const n=e.src.substring(1),s=this.createTokenizer();this.tokenize(s.tokenizer,n);const i=this.getSentencesFromTokens(s.tokens,!1);if(i[0]=Object(b.isUndefined)(i[0])?"<":"<"+i[0],this.isValidSentenceBeginning(i[0])&&(t.push(r),r=""),r+=i[0],i.length>1){t.push(r),r="",i.shift();const e=i.pop();i.forEach(e=>{t.push(e)});const n=new RegExp("[."+this.getSentenceDelimiters()+"]$");e.match(n)?t.push(e):r=e}return{tokenSentences:t,currentSentence:r}}createTokenizer(){const e=new RegExp("^["+this.getSentenceDelimiters()+"]$"),t=new RegExp("^[^."+this.getSentenceDelimiters()+"<\\(\\)\\[\\]]+$"),r=[],n=Ye()((function(e){r.push(e)}));return n.addRule(sr,"full-stop"),n.addRule(ir,"smaller-than-sign-content"),n.addRule(ar,"html-start"),n.addRule(or,"html-end"),n.addRule(lr,"block-start"),n.addRule(ur,"block-end"),n.addRule(e,"sentence-delimiter"),n.addRule(t,"sentence"),{tokenizer:n,tokens:r}}tokenize(e,t){e.onText(t);try{e.end()}catch(e){console.error("Tokenizer end error:",e,e.tokenizer2)}}endsWithAbbreviation(e){const t=e.match(hr);if(!t)return!1;const r=t.pop();return e.endsWith(r)}getSentencesFromTokens(e){let t,r,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],s=[],i="";do{r=!1;const t=e[0],n=e[e.length-1];t&&n&&"html-start"===t.type&&"html-end"===n.type&&(e=e.slice(1,e.length-1),r=!0)}while(r&&e.length>1);return e.forEach((r,n)=>{let a,o,l;const u=e[n+1],c=e[n-1],h=e[n+2];switch(o=this.getNextTwoCharacters([u,h]),a=o.length>=2,t=a?o[1]:"",r.type){case"html-start":case"html-end":this.isBreakTag(r.src)?(s.push(i),i=""):i+=r.src;break;case"smaller-than-sign-content":l=this.tokenizeSmallerThanContent(r,s,i),s=l.tokenSentences,i=l.currentSentence;break;case"sentence":i+=r.src;break;case"sentence-delimiter":if(i+=r.src,!Object(b.isUndefined)(u)&&"block-end"!==u.type&&"sentence-delimiter"!==u.type&&this.isCharacterASpace(u.src[0])){if(this.isQuotation(r.src)&&c&&"."!==c.src)break;this.isQuotation(r.src)||"…"===r.src?i=this.getValidSentence(a,t,o,u,s,i):(s.push(i),i="")}break;case"full-stop":if(i+=r.src,o=this.getNextTwoCharacters([u,h]),a=o.length>=2,t=a?o[1]:"",this.endsWithAbbreviation(i))break;if(a&&this.isNumber(o[0]))break;if(this.isPartOfPersonInitial(r,c,u,h))break;if(this.endsWithOrdinalDot(i))break;i=this.getValidSentence(a,t,o,u,s,i);break;case"block-start":i+=r.src;break;case"block-end":if(i+=r.src,o=this.getNextTwoCharacters([u,h]),a=o.length>=2,t=a?o[0]:"",a&&this.isNumber(o[0])||this.isSentenceEnding(c)&&!this.isValidSentenceBeginning(t)&&!this.isSentenceStart(u))break;this.isSentenceEnding(c)&&(this.isSentenceStart(u)||this.isValidSentenceBeginning(t))&&(s.push(i),i="")}}),""!==i&&s.push(i),n&&(s=Object(b.map)(s,(function(e){return e.trim()}))),s}getValidSentence(e,t,r,n,s,i){return(e&&this.isValidSentenceBeginning(t)&&this.isCharacterASpace(r[0])||this.isSentenceStart(n))&&(s.push(i),i=""),i}isCharacterASpace(e){return/\s/.test(e)}}const fr=new RegExp("\n\r|\n|\r"),mr=Object(b.memoize)((function(e){const t=new dr,{tokenizer:r,tokens:n}=t.createTokenizer();t.tokenize(r,e);const s=new RegExp("^(<p>|</p>)$");return 0===n.length||s.test(e)?[]:t.getSentencesFromTokens(n)}));var vr=function(e,t){t||(t=mr),e=We(e=Ke(e)),e=dt(e);let r=ut(e);r=Object(b.flatMap)(r,(function(e){return e.split(fr)}));const n=Object(b.flatMap)(r,t);return Object(b.filter)(n,Object(b.negate)(b.isEmpty))},br=function(e){return xt(e).length},yr=function(e,t){const r=t.getHelper("memoizedTokenizer");return function(e,t){const r=[];return Object(b.forEach)(e,(function(e){const n=gt(e),s=t.getHelper("customCountLength"),i=s?s(n):br(n);i<=0||r.push({sentence:e,sentenceLength:i})})),r}(vr(e.getText(),r),t)},_r=function(e){let t=function(e){const t=[],r=/<p(?:[^>]+)?>(.*?)<\/p>/gi;let n;for(;null!==(n=r.exec(e));)t.push(n);return Object(b.map)(t,(function(e){return e[1]}))}(e);if(t.length>0)return t;let r=ut(e);return r=Object(b.filter)(r,(function(e){return 0!==e.indexOf("<h")})),t=Object(b.flatMap)(r,(function(e){return e.split("\n\n")})),t.length>0?t:[e]},wr=function(e){let t;return t=e.match(/<a[\s]+(?:[^>]+)>((?:.|[\n\r\u2028\u2029])*?)<\/a>/gi),null===t&&(t=[]),t};function xr(e){if(""===(e=function(e){const t=wr(e);return t.length>0&&t.forEach((function(t){e=e.replace(t,"")})),e}(e)))return!0;if(""===(e=function(e){const t=yt(e),r=bt(e,"</img>");return t.length>0&&(t.forEach((function(t){e=e.replace(t,"")})),r.forEach((function(t){e=e.replace(t,"")}))),e}(e)))return!0;const t=function(e){return bt(e,"<div(?:[^>]+)?> *</div>")}(e);return!(t.length<1)&&(t.forEach((function(t){e=e.replace(t,"")})),""===e)}var Or=function(e,t){const r=t.getResearch("morphology"),n=t.getHelper("matchWordCustomHelper"),s=t.getHelper("memoizedTokenizer"),i=e.getLocale();let a=_r(We(e.getText()));a=Object(b.reject)(a,b.isEmpty),a=Object(b.reject)(a,xr)[0]||"";const o={foundInOneSentence:!1,foundInParagraph:!1,keyphraseOrSynonym:""},l=vr(a,s);if(!Object(b.isEmpty)(l)){l.forEach((function(e){const t=rr(r,e,!0,i,n);if(100===t.percentWordMatches)return o.foundInOneSentence=!0,o.foundInParagraph=!0,o.keyphraseOrSynonym=t.keyphraseOrSynonym,o}));const e=rr(r,a,!0,i,n);if(100===e.percentWordMatches)return o.foundInParagraph=!0,o.keyphraseOrSynonym=e.keyphraseOrSynonym,o}return o},Er=["“","”","〝","〞","〟","‟","„",'"',"「","」","『","』"];function Tr(e){const t={exactMatchRequested:!1,keyphrase:e};return Er.includes(e[0])&&Er.includes(e[e.length-1])&&(t.keyphrase=e.substring(1,e.length-1),t.exactMatchRequested=!0),t}let Ar=[];var Cr=function(e,t){Ar=t.getConfig("functionWords");let r=Object(b.escapeRegExp)(e.getKeyword());const n=e.getTitle(),s=e.getLocale(),i={exactMatchFound:!1,allWordsFound:!1,position:-1,exactMatchKeyphrase:!1},a=Tr(r);a.exactMatchRequested&&(r=a.keyphrase,i.exactMatchKeyphrase=!0);const o=Qt(n,r,s,!1);if(o.count>0)return i.exactMatchFound=!0,i.allWordsFound=!0,i.position=function(e,t){return 0===t||0===Ar.length?t:function(e){e=e.toLocaleLowerCase();let t=xt(e.toLocaleLowerCase());return t=Object(b.filter)(t,(function(e){return!Object(b.includes)(Ar,e.trim().toLocaleLowerCase())})),Object(b.isEmpty)(t)}(e.substr(0,t))?0:t}(n,o.position),i;const l=t.getResearch("morphology");return 100===rr(l,n,!1,s,!1).percentWordMatches&&(i.allWordsFound=!0),i},Sr=function(e){return/<[uo]l.*>[\s\S]*<\/[uo]l>/.test(e.getText())};const jr=[" ","\\n","\\r","\\t"," ","۔","؟","،","؛"," ",".",",","'","(",")",'"',"+","-",";","!","?",":","/","»","«","‹","›","<",">","”","“","〝","〞","〟","‟","„"],kr=function(e){return Object(b.includes)(jr,e)},Dr=function(e,t){e=e.toLocaleLowerCase(),t=t.toLocaleLowerCase();const r=Ue(Object(b.escapeRegExp)(e));let n=t.search(new RegExp(r,"ig"));if(-1===n)return!1;n>0&&(n+=1);const s=n+e.length,i=kr(t[n-1])||0===n,a=kr(t[s])||s===t.length;return i&&a};let Rr=null,Lr="";const Mr=function(e,t){e=Zt(e);const r=function(e){const t=Object(b.flattenDeep)(e).join("");return Lr===t&&null!==Rr||(Lr=t,Rr=function(e){const t="("+(e=e.map((function(e){return function(e){return(e=e.map((function(e){return Ue(e)}))).join("(.*?)")}(e)}))).join(")|(")+")";return new RegExp(t,"ig")}(e)),Rr}(t);return e.match(r)};var Fr=function(e,t){const r=t.getHelper("matchTransitionWordsHelper"),n=t.getConfig("transitionWords"),s=t.getConfig("twoPartTransitionWords"),i=t.getHelper("memoizedTokenizer"),a=vr(e.getText(),i),o=function(e,t,r,n){const s=[];return e.forEach(e=>{if(r){const t=Mr(e,r);if(null!==t)return void s.push({sentence:e,transitionWords:t})}const i=n?n(e,t):function(e,t){return e=Zt(e),t.filter(t=>Dr(t,e))}(e,t);0!==i.length&&s.push({sentence:e,transitionWords:i})}),s}(a,n,s,r);return{totalSentences:a.length,sentenceResults:o,transitionWordSentences:o.length}},$r=function(e,t){const r=t.getConfig("functionWords"),n=t.getHelper("getWordsCustomHelper"),s=e.getKeyword();if(Tr(s).exactMatchRequested)return!1;let i=n?n(s):xt(s);return i=Object(b.filter)(i,(function(e){return!Object(b.includes)(r,e.trim().toLocaleLowerCase())})),Object(b.isEmpty)(i)};const Pr=function(e){this._hasRegex=!1,this._regex="",this._multiplier="",this.createRegex(e)};Pr.prototype.hasRegex=function(){return this._hasRegex},Pr.prototype.createRegex=function(e){Object(b.isUndefined)(e)||Object(b.isUndefined)(e.fragments)||(this._hasRegex=!0,this._regex=vt(e.fragments,!0),this._multiplier=e.countModifier)},Pr.prototype.getRegex=function(){return this._regex},Pr.prototype.countSyllables=function(e){return this._hasRegex?(e.match(this._regex)||[]).length*this._multiplier:0};var Ir=Pr;const qr=function(e){this.countSteps=[],Object(b.isUndefined)(e)||this.createSyllableCountSteps(e.deviations.vowels)};qr.prototype.createSyllableCountSteps=function(e){Object(b.forEach)(e,function(e){this.countSteps.push(new Ir(e))}.bind(this))},qr.prototype.getAvailableSyllableCountSteps=function(){return this.countSteps},qr.prototype.countSyllables=function(e){let t=0;return Object(b.forEach)(this.countSteps,(function(r){t+=r.countSyllables(e)})),t};var Nr=qr;function Br(e){this._location=e.location,this._fragment=e.word,this._syllables=e.syllables,this._regex=null,this._options=Object(b.pick)(e,["notFollowedBy","alsoFollowedBy"])}Br.prototype.createRegex=function(){let e="";const t=this._options;let r=this._fragment;switch(Object(b.isUndefined)(t.notFollowedBy)||(r+="(?!["+t.notFollowedBy.join("")+"])"),Object(b.isUndefined)(t.alsoFollowedBy)||(r+="["+t.alsoFollowedBy.join("")+"]?"),this._location){case"atBeginning":e="^"+r;break;case"atEnd":e=r+"$";break;case"atBeginningOrEnd":e="(^"+r+")|("+r+"$)";break;default:e=r}this._regex=new RegExp(e)},Br.prototype.getRegex=function(){return null===this._regex&&this.createRegex(),this._regex},Br.prototype.occursIn=function(e){return this.getRegex().test(e)},Br.prototype.removeFrom=function(e){return e.replace(this._fragment," ")},Br.prototype.getSyllables=function(){return this._syllables};var Ur=Br;const Hr=Object(b.memoize)((function(e){let t=[];const r=e.deviations;return t=Object(b.flatMap)(r.words.fragments,(function(e,t){return Object(b.map)(e,(function(e){return e.location=t,new Ur(e)}))})),t})),Kr=function(e,t){let r=0;if(!Object(b.isUndefined)(t.deviations)&&!Object(b.isUndefined)(t.deviations.words)){if(!Object(b.isUndefined)(t.deviations.words.full)){const r=function(e,t){const r=t.deviations.words.full,n=Object(b.find)(r,(function(t){return t.word===e}));return Object(b.isUndefined)(n)?0:n.syllables}(e,t);if(0!==r)return r}if(!Object(b.isUndefined)(t.deviations.words.fragments)){const n=function(e,t){const r=Hr(t);let n=e,s=0;return Object(b.forEach)(r,(function(e){e.occursIn(n)&&(n=e.removeFrom(n),s+=e.getSyllables())})),{word:n,syllableCount:s}}(e,t);e=n.word,r+=n.syllableCount}}return r+=function(e,t){let r=0;return r+=function(e,t){let r=0;const n=new RegExp("[^"+t.vowels+"]","ig"),s=e.split(n);return r+=Object(b.filter)(s,(function(e){return""!==e})).length,r}(e,t),Object(b.isUndefined)(t.deviations)||Object(b.isUndefined)(t.deviations.vowels)||(r+=function(e,t){return new Nr(t).countSyllables(e)}(e,t)),r}(e,t),r};const zr={NO_DATA:-1,VERY_EASY:0,EASY:1,FAIRLY_EASY:2,OKAY:3,FAIRLY_DIFFICULT:4,DIFFICULT:5,VERY_DIFFICULT:6};var Wr=function(e,t){const r=t.getConfig("syllables"),n=t.getHelper("memoizedTokenizer"),s=function(e){return e.getConfig("fleschReadingEaseScores")||{borders:{veryEasy:90,easy:80,fairlyEasy:70,okay:60,fairlyDifficult:50,difficult:30,veryDifficult:0},scores:{veryEasy:9,easy:9,fairlyEasy:9,okay:9,fairlyDifficult:6,difficult:3,veryDifficult:3}}}(t);let i=e.getText();if(""===i)return{score:-1,difficulty:zr.NO_DATA};i=function(e){return e=e.replace(/\b[0-9]+\b/g,""),"."===(e=Ve(e))&&(e=""),e}(i);const a=function(e,t){const r=vr(e,t);let n=0;for(let e=0;e<r.length;e++)n++;return n}(i,n),o=br(i);if(a<1||o<=10)return{score:-1,difficulty:zr.NO_DATA};const l=function(e,t){e=e.toLocaleLowerCase();const r=xt(e),n=Object(b.map)(r,(function(e){return Kr(e,t)}));return Object(b.sum)(n)}(i,r),u={numberOfSentences:a,numberOfWords:o,numberOfSyllables:l,averageWordsPerSentence:o/a,syllablesPer100Words:l*(100/o)},c=t.getHelper("fleschReadingScore"),h=Object(b.clamp)(c(u),0,100);return{score:h,difficulty:function(e,t){return e>=t.borders.veryEasy?zr.VERY_EASY:Object(b.inRange)(e,t.borders.easy,t.borders.veryEasy)?zr.EASY:Object(b.inRange)(e,t.borders.fairlyEasy,t.borders.easy)?zr.FAIRLY_EASY:Object(b.inRange)(e,t.borders.okay,t.borders.fairlyEasy)?zr.OKAY:Object(b.inRange)(e,t.borders.fairlyDifficult,t.borders.okay)?zr.FAIRLY_DIFFICULT:Object(b.inRange)(e,t.borders.difficult,t.borders.fairlyDifficult)?zr.DIFFICULT:zr.VERY_DIFFICULT}(h,s)}},Vr=function(e,t){const r=t.getHelper("getWordsCustomHelper");let n=br(e.getText());return r&&(n=r(e.getText()).length),0===n?0:t.getResearch("keywordCount").count/n*100},Gr=r(44),Yr=r.n(Gr);const Jr=/href=(["'])([^"']+)\1/i;function Zr(e){return e.split("#")[0]}function Xr(e){return e.split("?")[0]}function Qr(e){return e.replace(/\/$/,"")}function en(e){return Qr(e)+"/"}var tn=function(e){const t=Jr.exec(e);return null===t?"":t[2]},rn=function(e,t){return e=Xr(Zr(e)),t=Xr(Zr(t)),en(e)===en(t)},nn=function(e){return Yr.a.parse(e).protocol},sn=function(e,t){const r=Yr.a.parse(e,!1,!0).hostname;return-1===e.indexOf("//")&&0===e.indexOf("/")||0!==e.indexOf("#")&&(!r||r===t||r===Yr.a.parse(t).hostname)},an=function(e){return!!e&&("http:"===e||"https:"===e)},on=function(e){return 0===e.indexOf("#")},ln=function(e){const t=wr(e.getText());return Object(b.map)(t,tn)},un=r(56),cn=r.n(un),hn=function(e){let t="Dofollow";const r=new cn.a.Parser({onopentag:function(e,r){"a"===e&&r.rel&&r.rel.toLowerCase().split(/\s/).includes("nofollow")&&(t="Nofollow")}});return r.write(e),r.end(),t},pn=function(e,t){const r=tn(e),n=nn(r);return n&&!an(n)||on(r)?"other":sn(r,t)?"internal":"external"};const gn=new RegExp("^[\\–\\-\\(\\)_\\[\\]’'.?!:;,¿¡«»‹›—×+&<>]+"),dn=new RegExp("[\\–\\-\\(\\)_\\[\\]’'.?!:;,¿¡«»‹›—×+&<>]+$");var fn=function(e){let t=e.split(",");return t=t.map(e=>Ve(e).replace(gn,"").replace(dn,"")).filter(e=>e),t};let mn=[];var vn=function(e,t){mn=t.getConfig("functionWords");const r=wr(e.getText()),n=e.getPermalink(),s={total:r.length,totalNaKeyword:0,keyword:{totalKeyword:0,matchedAnchors:[]},internalTotal:0,internalDofollow:0,internalNofollow:0,externalTotal:0,externalDofollow:0,externalNofollow:0,otherTotal:0,otherDofollow:0,otherNofollow:0};for(let e=0;e<r.length;e++){const t=r[e],i=pn(t,n),a=hn(t);s[i+"Total"]++,s[i+a]++}const i=function(e,t,r,n){const s={matchWordCustomHelper:t.getHelper("matchWordCustomHelper"),getWordsCustomHelper:t.getHelper("getWordsCustomHelper")},i={totalKeyword:0,matchedAnchors:[]},a=e.getKeyword(),o=fn(e.getSynonyms());if(o.push(a),""===a)return i;if(0===(r=function(e,t){const r=e.map((function(e){return function(e,t){const r=tn(e);return!!on(r)||rn(r,t)}(e,t)}));return e.filter((function(e,t){return!1===r[t]}))}(r,n)).length)return i;const l=e.getLocale(),u=t.getResearch("morphology"),c=o.map(e=>Tr(e));return 0===(r=function(e,t,r,n){const s=e.map((function(e){return function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en_EN",n=arguments.length>3?arguments[3]:void 0,s=e.match(/>(.*)/gi);return null!==s&&(s=s[0].replace(/<.*?>\s?/gi,""),s=s.slice(1).toString(),100===rr(t,s,!0,r,n).percentWordMatches)}(e,t,r,n)}));return e.filter((function(e,t){return!0===s[t]}))}(r,u,l,s.matchWordCustomHelper)).length||(r=function(e,t,r,n,s){const i=n.matchWordCustomHelper,a=n.getWordsCustomHelper,o=[Object(b.flatten)(t.keyphraseForms)],l=t.synonymsForms;for(let e=0;e<l.length;e++)o.push(Object(b.flatten)(l[e]));const u=[];return e.forEach((function(e){let t=Object(b.uniq)(a?a(e):xt(e));const n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object(b.filter)(e,(function(e){return!Object(b.includes)(t,e.trim().toLocaleLowerCase())}))}(t,mn);n.length>0&&(t=n),s.forEach(e=>{e.exactMatchRequested&&t.every(t=>e.keyphrase.includes(t))&&u.push(!0)});for(let e=0;e<o.length;e++){const n=o[e];if(t.every(e=>er(e,n,r,i).count>0)){u.push(!0);break}}})),e.filter((function(e,t){return!0===u[t]}))}(r,u,l,s,c),i.totalKeyword=r.length,i.matchedAnchors=r),i}(e,t,r,n);return s.keyword.totalKeyword=i.totalKeyword,s.keyword.matchedAnchors=i.matchedAnchors,s},bn=function(e,t){let r=Ke(e.getText());r=We(r),r=function(e){return e.replace(/<br.*?>\s*<.*?br.*?>/gm,"</p><p>")}(r);const n=_r(r),s=[],i=t.getHelper("customCountLength");return n.map((function(e){s.push({countLength:i?i(e):br(e),text:e})})),Object(b.filter)(s,(function(e){return e.countLength>0}))};class yn{constructor(e){this._sentenceText=e||"",this._isPassive=!1,this._clauses=[]}getSentenceText(){return this._sentenceText}isPassive(){return this._isPassive}setPassive(e){this._isPassive=e}getClauses(){return this._clauses}setClauses(e){this._clauses=e,this.setSentencePassiveness()}setSentencePassiveness(){const e=this.getClauses().filter(e=>!0===e.isPassive());this.setPassive(e.length>0)}serialize(){return{_parseClass:"Sentence",sentenceText:this._sentenceText,isPassive:this._isPassive,clauses:this._clauses}}parse(e){const t=new yn(e.sentenceText);return t.setClauses(e.clauses),t.setPassive(e.isPassive),t}}var wn=yn;const xn=function(e,t){const r=t.getHelper("isPassiveSentence"),n=e.getText(),s=vr(n).map((function(e){return new wn(e)})),i=s.length,a=[];return Object(b.forEach)(s,(function(e){const t=gt(e.getSentenceText()).toLocaleLowerCase();e.setPassive(r(t)),!0===e.isPassive()&&a.push(e.getSentenceText())})),{total:i,passives:a}},On=function(e,t){const r=t.getHelper("getClauses"),n=e.getText(),s=t.getHelper("memoizedTokenizer"),i=vr(n,s).map((function(e){return new wn(e)})),a=i.length,o=[];return Object(b.forEach)(i,(function(e){const t=gt(e.getSentenceText()).toLocaleLowerCase(),n=r(t);e.setClauses(n),e.isPassive()&&o.push(e.getSentenceText())})),{total:a,passives:o}};function En(e,t){const r=t.getConfig("passiveConstructionType");return"periphrastic"===r?On(e,t):"morphological"===r?xn(e,t):function(e,t){const r=xn(e,t),n=On(e,t).passives;return{total:r.total,passives:n.concat(r.passives)}}(e,t)}function Tn(e,t,r){this._word=e,this._stem=t||e,this._occurrences=r||0}Tn.prototype.setWord=function(e){this._word=e},Tn.prototype.getWord=function(){return this._word},Tn.prototype.getStem=function(){return this._stem},Tn.prototype.setOccurrences=function(e){this._occurrences=e},Tn.prototype.getOccurrences=function(){return this._occurrences},Tn.prototype.serialize=function(){return{_parseClass:"ProminentWord",word:this._word,stem:this._stem,occurrences:this._occurrences}},Tn.parse=function(e){return new Tn(e.word,e.stem,e.occurrences)};var An=Tn;const Cn=/[1234567890‘’“”"'.…?!:;,¿¡«»&*@#±^%$|~=+§`[\](){}⟨⟩<>/\\–\-\u2014\u00d7\s]/g;function Sn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return e.filter((function(e){return e.getOccurrences()>=t&&""!==e.getWord().replace(Cn,"")}))}function jn(e){e.sort((function(e,t){const r=t.getOccurrences()-e.getOccurrences();return 0!==r?r:e.getStem().localeCompare(t.getStem())}))}function kn(e){if(0===e.length)return[];e.sort((function(e,t){return e.getStem().localeCompare(t.getStem())}));const t=[];let r=new An(e[0].getWord(),e[0].getStem(),e[0].getOccurrences());for(let n=1;n<e.length;n++){const s=new An(e[n].getWord(),e[n].getStem(),e[n].getOccurrences());s.getStem()===r.getStem()?(r.setOccurrences(r.getOccurrences()+s.getOccurrences()),s.getWord()!==r.getStem()&&s.getWord().toLocaleLowerCase()!==r.getStem()||r.setWord(s.getWord())):(t.push(r),r=s)}return t.push(r),t}function Dn(e){const t=xt(Zt(e)),r=[];return t.forEach((function(e){e.length>1&&e.length<5&&e===e.toLocaleUpperCase()&&r.push(e.toLocaleLowerCase())})),Object(b.uniq)(r)}function Rn(e,t,r,n){if(0===e.length)return[];const s=Object(b.uniq)(e.filter(e=>!n.includes(e.trim()))),i=[];return s.forEach((function(n){t.includes(n)?i.push(new An(n.toLocaleUpperCase(),n,e.filter(e=>e===n).length)):i.push(new An(n,r(n),e.filter(e=>e===n).length))})),kn(i)}const Ln=Object(b.memoize)((e,t,r,n)=>Rn(e,t,r,n),(e,t)=>e.join(",")+","+t.join(","));function Mn(e,t,r,n,s){if(""===e)return[];const i=s?s(Zt(e).toLocaleLowerCase()):xt(Zt(e).toLocaleLowerCase());return Ln(i,t,r,n)}var Fn=function(e,t){const r=t.getConfig("functionWords"),n=t.getHelper("customGetStemmer"),s=n?n(t):t.getHelper("getStemmer")(t),i=t.getHelper("getWordsCustomHelper"),a=e.getText(),o=kn(Mn(a,i?[]:Dn(a),s,r,i));return jn(o),Object(b.take)(Sn(o,5),20)};function $n(e){const t=[],r=/<h([2-3])(?:[^>]+)?>(.*?)<\/h\1>/gi;let n;for(;null!==(n=r.exec(e));)t.push(n);return t}var Pn=function(e,t){const r=t.getConfig("functionWords"),n=t.getHelper("customGetStemmer"),s=n?n(t):t.getHelper("getStemmer")(t),i=t.getHelper("getWordsCustomHelper"),a=t.getHelper("customCountLength"),o=e.getText(),l=e.getDescription(),u=e.getTitle(),c={};if(c.hasMetaDescription=""!==l,c.hasTitle=""!==u,c.prominentWords=[],a){if(a(o)<200)return c}else if(br(o)<100)return c;const h=$n(o).map(e=>e[2]),p=[e.getKeyword(),e.getSynonyms(),u,l,h.join(" ")],g=i?[]:Dn(o.concat(p.join(" "))),d=Mn(function(e){return e.replace(/<h([2-3])(?:[^>]+)?>(.*?)<\/h\1>/gi,"")}(o),g,s,r,i),f=function(e,t,r,n,s){return Rn(s?s(e.join(" ").toLocaleLowerCase()):xt(e.join(" ").toLocaleLowerCase()),t,r,n)}(p,g,s,r,i);f.forEach(e=>e.setOccurrences(3*e.getOccurrences()));const m=kn(f.concat(d));jn(m);let v=4;return s===_t&&(v=2),c.prominentWords=Object(b.take)(Sn(m,v),100),c};var In=function(e,t){const r=t.getConfig("firstWordExceptions"),n=t.getConfig("secondWordExceptions"),s=t.getHelper("getWordsCustomHelper"),i=t.getHelper("memoizedTokenizer");let a=e.getText();a=a.replace(/[\s\n]+/g," "),a=a.replace(/<figure class='wp-block-table'>.*<\/figure>/gs,""),a=a.replace(/<li(?:[^>]+)?>(.*?)<\/li>/gi,"");let o=vr(a,i),l=o.map((function(e){return function(e,t,r,n){const s=gt(Ve(e)),i=n?n(s):xt(s);if(0===i.length)return"";let a=i[0].toLocaleLowerCase();return t.indexOf(a)>-1&&i.length>1&&(a=a+" "+i[1],r&&r.includes(i[1])&&(a=a+" "+i[2])),a}(e,r,n,s)}));return o=o.filter((function(e){const t=Ve(e);return(s?s(t):xt(t)).length>0})),l=Object(b.filter)(l),function(e,t){const r=[];let n=[],s=1;return Object(b.forEach)(e,(function(i,a){const o=i,l=e[a+1];n.push(t[a]),function(e,t){return!Object(b.isEmpty)(e)&&e===t}(o,l)?s++:(r.push({word:o,count:s,sentences:n}),s=1,n=[])})),r}(l,o)},qn=function(e,t){const r=function(e){const t=(e=(e=e.replace(/\|/gi,"")).replace(/<h([1-6])(?:[^>]+)?>(.*?)<\/h\1>/gi,"|")).split("|");return Object(b.isEmpty)(t[0])&&t.shift(),t}(Ke(e.getText())),n=t.getHelper("customCountLength"),s=[];return Object(b.forEach)(r,(function(e){s.push({text:e,countLength:n?n(e):br(e)})})),s};const Nn=/<h1.*?>(.*?)<\/h1>/,Bn=function(e){return"<p></p>"===(e=e.trim())||""===e};var Un=function(e){const t=e.getText();let r=ut(t);r=Object(b.reject)(r,Bn);const n=[];return r.forEach((e,t)=>{const r=Nn.exec(e);r&&n.push({tag:"h1",content:r[1],position:t})}),n};function Hn(e){return yt(e.getText()).length}const Kn="[ \\u00a0\\u06d4\\u061f\\u060C\\u061B \\n\\r\\t.,'()\"+\\-;!?:/»«‹›<>]",zn=new RegExp("^("+Kn+"+)","ig"),Wn=new RegExp("("+Kn+"+$)","ig");function Vn(e){Object(b.defaults)(e,{original:"",marked:""}),this._properties=e}Vn.prototype.getOriginal=function(){return this._properties.original},Vn.prototype.getMarked=function(){return this._properties.marked},Vn.prototype.applyWithReplace=function(e){return e.split(this._properties.original).join(this._properties.marked)},Vn.prototype.serialize=function(){return{_parseClass:"Mark",...this._properties}},Vn.parse=function(e){return delete e._parseClass,new Vn(e)};var Gn=Vn;const Yn=function(e,t,r){t=t.map(e=>Object(b.escapeRegExp)(e));const n=r?vt(t,!0):vt(t);return e.replace(n,(function(e){return function(e){const t=function(e){return e.replace(zn,"")}(e);let r="",n="";if(t!==e){const n=e.search(Object(b.escapeRegExp)(t));r=e.substr(0,n)}const s=function(e){return e.replace(Wn,"")}(t);if(s!==t){const e=t.search(Object(b.escapeRegExp)(s))+s.length;n=t.substr(e)}return r+"<yoastmark class='yoast-text-mark'>"+s+"</yoastmark>"+n}(e)})).replace(new RegExp("</yoastmark> <yoastmark class='yoast-text-mark'>","ig")," ")};function Jn(e,t,r,n){let s=[],i=[];return t.forEach((function(t){s=er(t,e,r,n).matches,s.length>0&&(i=i.concat(new Gn({original:t,marked:Yn(t,s,n)})))})),i}const Zn=function(e,t,r,n){const s=Array(t.length);for(let i=0;i<t.length;i++)tr(e,t[i],r,n).percentWordMatches>=50?s[i]=9:s[i]=3;return s},Xn=function(e,t,r,n){const s=Array(t.length);for(let i=0;i<t.length;i++){const a=t[i];100===tr(e,a,r,n).percentWordMatches?s[i]=9:s[i]=3}return s},Qn=function(e){return e[0].map((function(t,r){return e.map((function(e){return e[r]}))})).map((function(e){return Object(b.max)(e)}))};var es=function(e,t){const r=t.getConfig("functionWords"),n=t.getHelper("matchWordCustomHelper"),s=t.getHelper("getContentWords"),i=t.getResearch("wordsCharacterCount"),a=t.getHelper("memoizedTokenizer"),o=t.getConfig("topicLength").lengthCriteria;let l=e.getText();l=function(e){return(e=(e=e.replace(/<\/?(o|ul)(?:[^>]+)?>/g,"")).replace(/\s?<\/?li(?:[^>]+)?>\s?/g," ")).replace(/\s+/g," ")}(l);const u=vr(l,a),c=t.getResearch("morphology"),h=[];s&&(h.push(s(e.getKeyword())),fn(e.getSynonyms()).forEach(e=>h.push(s(e))));const p=e.getLocale(),g=[c.keyphraseForms];c.synonymsForms.forEach((function(e){g.push(e)}));const d=Object(b.uniq)(Object(b.flattenDeep)(g)).sort((e,t)=>t.length-e.length),f=function(e,t,r,n,s){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:4,a=arguments.length>6?arguments[6]:void 0,o=arguments.length>7?arguments[7]:void 0;const l=t.length,u=Array(l);if(n.length>0)for(let n=0;n<l;n++){const l=t[n],c=o?o(a[n]):l.length;u[n]=c<i?Xn(l,e,r,s):Zn(l,e,r,s)}else for(let n=0;n<l;n++){const i=t[n];u[n]=Xn(i,e,r,s)}const c=Qn(u),h=Object(b.zipWith)(e,c,(e,t)=>({sentence:e,score:t})),p=h.filter(e=>e.score>3);return{maximizedSentenceScores:c,sentencesWithTopic:p.map(e=>e.sentence)}}(u,g,p,r,n,o,h,i),m=function(e){const t=e.length,r=[];for(let n=0;n<t;n++)e[n]>3&&r.push(n);const n=r.length;if(0===n)return t;r.unshift(-1),r.push(t);const s=[];for(let e=1;e<n+2;e++)s.push(r[e]-r[e-1]-1);return Object(b.max)(s)}(f.maximizedSentenceScores);return{sentencesToHighlight:Jn(d,f.sentencesWithTopic,p,n),keyphraseDistributionScore:m/u.length*100}},ts=function(e,t){const r=t.getResearch("morphology"),n=t.getConfig("functionWords");return{keyphraseLength:r.keyphraseForms.length,functionWords:n}},rs=function(e,t){const r=t.getResearch("morphology"),n=t.getHelper("memoizedTokenizer"),s=t.getHelper("matchWordCustomHelper"),i=e.getText(),a=e.getLocale(),o=vr(i,n),l={count:0,matches:[],sentencesWithKeywords:[]};o.forEach(e=>{const t=r.keyphraseForms.map(t=>er(e,t,a,s));if(t.every(e=>e.count>0)){const r=t.map(e=>e.count),n=Object(b.flattenDeep)(t.map(e=>e.matches));l.count+=Math.min(...r),l.matches.push(n),l.sentencesWithKeywords.push(e)}});const u=Object(b.uniq)(Object(b.flattenDeep)(l.matches)).sort((e,t)=>t.length-e.length),c=Object(b.flattenDeep)(r.keyphraseForms);return{count:l.count,matches:u,markings:Jn(c,l.sentencesWithKeywords,a,s),length:r.keyphraseForms.length}},ns=function(e){return e.replace(/[-_]/gi," ")};function ss(e,t){const r=function(e){let t=[];return e.keyphraseForms.forEach((function(e){-1!==e[0].indexOf("-")?t=1===e.length?function(e,t){return e.forEach((function(e){e.split("-").forEach(e=>t.push([e]))})),t}(e,t):function(e,t){const r=e[0].split("-").length;for(let e=0;e<r;e++)t.push([e]);e.forEach((function(e){const n=e.split("-");for(let e=0;e<r;e++)t[e].push(n[e])}));for(let e=0;e<t.length;e++)t[e]=Object(b.uniq)(t[e]),t[e].shift();return t}(e,t):t.push(e)})),e.keyphraseForms=t,e}(t.getResearch("morphology")),n=ns(e.getSlug()),s=e.getLocale(),i=rr(r,n,!1,s,!1);return{keyphraseLength:r.keyphraseForms.length,percentWordMatches:i.percentWordMatches}}function is(e,t){return console.warn("This function is deprecated, use keywordCountInSlug instead."),ss(e,t)}function as(e,t){const r=t.getConfig("functionWords"),n=t.getHelper("matchWordCustomHelper"),s=Dt(Ke(e.getText())),i=t.getResearch("morphology"),a=e.getLocale(),o={count:0,matches:0,percentReflectingTopic:0},l=function(e){return $n(e).map(e=>e[0])}(s);return 0!==l.length&&(o.count=l.length,o.matches=function(e,t,r,n,s,i){return t.filter(t=>{const r=rr(e,t,!0,n,i);return 0===s.length?100===r.percentWordMatches:r.percentWordMatches>50}).length}(i,l,0,a,r,n),o.percentReflectingTopic=o.matches/o.count*100),o}const os=function(e,t,r){return t.forEach(t=>t.matches.slice(0,r).forEach(t=>{e=e.replace(t,"")})),e};var ls=function(e,t){const r=e.getDescription(),n=e.getLocale(),s=t.getResearch("morphology"),i=t.getHelper("matchWordCustomHelper"),a=t.getHelper("memoizedTokenizer");return vr(r,a).map(e=>function(e,t,r,n){const s=t.keyphraseForms.map(t=>er(e,t,r,n)),i=Math.min(...s.map(e=>e.count));return e=os(e,s,i),[i,...t.synonymsForms.map(t=>{const i=t.map(t=>er(e,t,r,n)),a=Math.min(...i.map(e=>e.count));return e=os(e,s,a),a})].reduce((e,t)=>e+t,0)}(e,s,n,i)).reduce((e,t)=>e+t,0)},us=function(e,t){let r=t.length;return""!==e&&r>0&&(r+=e.length+3),r};function cs(e){return us(e.getDate(),e.getDescription())}function hs(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.stemOriginalPairs=e,this.exactMatch=t}function ps(e,t){this.stem=e,this.original=t}hs.prototype.getStems=function(){return this.exactMatch?[]:this.stemOriginalPairs.map(e=>e.stem)};const gs=function(e,t,r){if(Object(b.isUndefined)(e)||""===e)return new hs;const n=["“","”","〝","〞","〟","‟","„",'"'];if(Object(b.includes)(n,e[0])&&Object(b.includes)(n,e[e.length-1]))return e=e.substring(1,e.length-1),new hs([new ps(Object(b.escapeRegExp)(e),e)],!0);let s=xt(e);const i=s.filter(e=>!r.includes(e));return i.length>0&&(s=i),new hs(s.map(e=>new ps(t(Zt(Object(b.escapeRegExp)(e))),e)))},ds=Object(b.memoize)((e,t)=>Object(b.memoize)((r,n)=>function(e,t,r,n){return{keyphraseStems:gs(e,r,n),synonymsStems:t.map(e=>gs(e,r,n))}}(r,n,e,t),(e,t)=>e+","+t.join(",")));function fs(e,t){this.stem=e,this.forms=t}function ms(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this.keyphraseForms=e,this.synonymsForms=t}function vs(e,t,r){return 0===e.stemOriginalPairs.length?[]:e.exactMatch?[[e.stemOriginalPairs[0].stem]]:e.stemOriginalPairs.map((function(e){return function(e,t,r){const n=t.find(t=>t.stem===e.stem),s=Zt(Object(b.escapeRegExp)(e.original)),i=n?[s,...n.forms]:[s];return r&&i.push(...r(e.original)),Object(b.uniq)(i)}(e,t,r)}))}var bs=function(e,t){const r=t.getConfig("functionWords"),n=t.getHelper("getStemmer")(t),s=t.getHelper("createBasicWordForms"),i=t.getConfig("language"),a=function(e){const t=e.getText(),r=yt(t).map(e=>kt(e)),n=[t,e.getTitle(),e.getSlug(),ns(e.getSlug()),e.getDescription(),r.join(" ")].join(" ");return xt(n).map(e=>Zt(Object(b.escapeRegExp)(e)))}(e).map(e=>e.toLocaleLowerCase(i));return function(e,t,r,n,s,i){const a=function(e,t,r,n){return ds(r,n)(e,t)}(e,t,s,n),o=a.keyphraseStems,l=a.synonymsStems;if(0===o.stemOriginalPairs.length&&0===l.length)return new ms;if([o,...l].every(e=>!0===e.exactMatch))return new ms([[o.stemOriginalPairs[0].stem]],l.map(e=>[[e.stemOriginalPairs[0].stem]]));const u=Object(b.uniq)(function(e,t){const r=0===e.stemOriginalPairs.length?[]:e.getStems(),n=0===t.length?[]:t.map(e=>e.getStems());return[...r,...Object(b.flattenDeep)(n)]}(o,l)),c=Object(b.uniq)(r.filter(e=>!n.includes(e))).map(e=>new ps(s(e),e)).filter(e=>u.includes(e.stem)).sort((e,t)=>e.stem.localeCompare(t.stem)).reduce((function(e,t){const r=e[e.length-1];return 0===e.length||r.stem!==t.stem?e.push(new fs(t.stem,[t.original])):r.forms.push(t.original),e}),[]);return new ms(vs(o,c,i),l.map(e=>vs(e,c,i)))}(e.getKeyword().toLocaleLowerCase(i).trim(),fn(e.getSynonyms().toLocaleLowerCase(i).trim()),a,r,n,s)},ys=function(e){return e.hasTitle()?e.getTitleWidth():0},_s=function(e){return{text:e.getText(),count:br(e.getText()),unit:"word"}},ws=function(e,t){const r=w(e.getLocale()),n=t.getHelper("getWordsCustomHelper"),s=t.getHelper("wordsCharacterCount"),i={ar:138,cn:158,de:179,en:228,es:218,fi:161,fr:195,he:187,it:188,nl:202,pl:166,pt:181,ru:184,sl:180,sv:199,tr:166},a=i[r],o={ja:357}[r];let l,u=_s(e).count;o?(u=s(n(e.getText())),l=u/o):l=a?u/a:u/(Object.values(i).reduce((e,t)=>e+t)/Object.keys(i).length);const c=Hn(e);return Math.ceil(l+.2*c)},xs=function(e,t){const r=t.getHelper("memoizedTokenizer");return vr(e.getText(),r)};function Os(e){const t=new RegExp("(<video).*?(</video>)","igs");let r=e.getText().match(t);return null===r&&(r=[]),r.length}const Es=function(e,t){const r=xt(e),n=[];return r.forEach(e=>{t(e)&&n.push(e)}),n};function Ts(e,t){const r=t.getHelper("memoizedTokenizer"),n=t.getHelper("checkIfWordIsComplex"),s=e.getText(),i=vr(s,r),a=xt(s);let o=i.map(e=>({complexWords:Es(e,n),sentence:e}));return o=o.filter(e=>0!==e.complexWords.length),{complexWords:o,percentage:function(e,t){return+(Object(b.flatMap)(e,e=>e.complexWords).length/t.length*100).toFixed(2)}(o,a)}}class As{constructor(e){this.paper=e,this.defaultResearches={altTagCount:nr,countSentencesFromText:yr,findKeywordInFirstParagraph:Or,findKeyphraseInSEOTitle:Cr,findList:Sr,findTransitionWords:Fr,functionWordsInKeyphrase:$r,getFleschReadingScore:Wr,getKeywordDensity:Vr,getLinks:ln,getLinkStatistics:vn,getParagraphLength:bn,getProminentWordsForInsights:Fn,getProminentWordsForInternalLinking:Pn,getSentenceBeginnings:In,getSubheadingTextLengths:qn,h1s:Un,imageCount:Hn,keyphraseDistribution:es,keyphraseLength:ts,keywordCount:rs,keywordCountInSlug:ss,keywordCountInUrl:is,matchKeywordInSubheadings:as,metaDescriptionKeyword:ls,metaDescriptionLength:cs,morphology:bs,pageTitleWidth:ys,readingTime:ws,sentences:xs,wordCountInText:_s,videoCount:Os,getPassiveVoiceResult:En,wordComplexity:Ts},this._data={},this.customResearches={},this.helpers={},this.config={}}setPaper(e){this.paper=e}addResearch(e,t){if(Object(b.isUndefined)(e)||Object(b.isEmpty)(e))throw new St("Research name cannot be empty");if(!(t instanceof Function))throw new At("The research requires a Function callback.");this.customResearches[e]=t}hasResearch(e){return Object.keys(this.getAvailableResearches()).filter((function(t){return t===e})).length>0}getAvailableResearches(){return Object(b.merge)(this.defaultResearches,this.customResearches)}getResearch(e){if(Object(b.isUndefined)(e)||Object(b.isEmpty)(e))throw new St("Research name cannot be empty");return!!this.hasResearch(e)&&this.getAvailableResearches()[e](this.paper,this)}addResearchData(e,t){this._data[e]=t}getData(e){return!!this._data.hasOwnProperty(e)&&this._data[e]}getConfig(e){return!!this.config.hasOwnProperty(e)&&this.config[e]}getHelper(e){return!!this.helpers.hasOwnProperty(e)&&this.helpers[e]}}function Cs(e){return Object(b.flatten)(Object.values(e)).sort((e,t)=>t.length-e.length||e.localeCompare(t))}function Ss(e,t){let r=0;const n=e.length;let s;const i=[];for(;(s=t.indexOf(e,r))>-1;){const a=kr(t[s-1])||0===s,o=kr(t[s+n])||t.length===s+n;a&&o&&i.push({index:s,match:e}),r=s+n}return i}const js=function(e){return e.sort((function(e,t){return e.index-t.index}))},ks=function(e,t){let r=[];return Object(b.forEach)(e,(function(e){if(e=Ve(e),!Dr(e,t))return r;r=r.concat(Ss(e,t))})),r=r.sort((function(e,t){return e.index<t.index?-1:e.index>t.index?1:0})),r};var Ds={getIndicesByWord:Ss,getIndicesByWordList:function(e,t){let r=[];return Object(b.forEach)(e,(function(e){e=Ve(e),Dr(e,t)&&(r=r.concat(Ss(e,t)))})),r},filterIndices:function(e){e=js(e);const t=[];for(let r=0;r<e.length;r++)!Object(b.isUndefined)(e[r+1])&&e[r+1].index<e[r].index+e[r].match.length?(t.push(e[r]),r++):t.push(e[r]);return t},sortIndices:js,getIndicesByWordListSorted:ks};function Rs(e,t){if(t.includes(null))return e;for(let r=0;r<t.length;r++)if(!0===t[r].reg.test(e))return e.replace(t[r].reg,t[r].repl)}const Ls=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"i";return 2===e.length?{reg:new RegExp(e[0],t),repl:e[1]}:3===e.length?{reg:new RegExp(e[0],t),repl1:e[1],repl2:e[2]}:null};var Ms=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"i";return e.map(e=>Ls(e,t))};function Fs(e,t){let r=[];return t.forEach((function(t){const n=e.match(t);null!==n&&r.push(n)})),r=Object(b.flattenDeep)(r),r}var $s=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const n=xt(e).map(e=>e.toLowerCase()),s=n.indexOf(t.toLowerCase());if(s<1)return!1;const i=n[s-1];return Object(b.includes)(r,i)},Ps=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const n=xt(e).map(e=>e.toLowerCase()),s=n.indexOf(t.toLowerCase());if(s<1)return!1;for(let e=0;e<s;e++)if(Object(b.includes)(r,n[e]))return!0;return!1},Is=function(e,t){const r=[];for(let n=t.exec(e);null!==n;n=t.exec(e))r.push({match:n[0],index:n.index});return r},qs=function(e,t,r,n){const s=Object(b.uniq)(r),i=ks(s,e),a=e.indexOf(t),o=vt(n),l=i.filter(e=>e.index<a);if(0===l.length)return!1;const u=l[l.length-1];return Is(e,o).filter(e=>e.index>u.index&&e.index<a).length>0};function Ns(e,t){const r=[];for(const n in t)e.endsWith(t[n])&&r.push(t[n]);return r.sort((function(e,t){return t.length-e.length}))[0]||""}function Bs(e,t){return RegExp(t).test(e)}function Us(e,t){for(const r of t)if(-1!==e.search(new RegExp(r[0])))return e.replace(new RegExp(r[0]),r[1])}function Hs(e,t){return t.forEach((function(t){e=e.replace(new RegExp(t[0]),t[1])})),e}function Ks(e,t){for(let r=0;r<t.length;r++)if(e.endsWith(t[r]))return!0;return!1}function zs(e,t,r){const n=Cs(r).find(t=>e.startsWith(t));let s="";return"string"==typeof n&&(s=e.slice(n.length),s.length>2&&(e=s)),t.includes(e)}function Ws(e,t){for(const r of e){const e=r.find(e=>t.endsWith(e));if(e)return t.slice(0,t.length-e.length)+r[0]}}function Vs(e,t,r){for(let n=0;n<e.length;n++)if(r.startsWith(e[n])){const s=r.substring(e[n].length);for(let e=0;e<t.length;e++)if(t[e]===s)return r.slice(0,-s.length)}}function Gs(e,t,r){for(let n=0;n<e.length;n++)if(r.endsWith(e[n]))return r.slice(0,-t.length)}class Ys{constructor(e,t){this._clauseText=e,this._auxiliaries=t,this._isPassive=!1,this._participles=[]}getClauseText(){return this._clauseText}isPassive(){return this._isPassive}getAuxiliaries(){return this._auxiliaries}setPassive(e){this._isPassive=e}setParticiples(e){this._participles=e}getParticiples(){return this._participles}serialize(){return{_parseClass:"Clause",clauseText:this._clauseText,auxiliaries:this._auxiliaries,isPassive:this._isPassive,participles:this._participles}}parse(e){const t=new Ys(e.clauseText,e.auxiliaries);return t.setPassive(e.isPassive),t}}var Js=Ys;function Zs(e,t){return 0!==Object(b.filter)(xt(t),(function(t){return e.includes(t.toLocaleLowerCase())})).length}var Xs=function(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n=r?1:0;if(Object(b.isEmpty)(e))return!1;const s=[];return Object(b.forEach)(e,(function(e){const t=e.index+e.match.length+n;s.push(t)})),Object(b.includes)(s,t)};const Qs=Ds.getIndicesByWordList,ei=Ds.filterIndices,ti=Ds.sortIndices,ri=function(e,t,r){const n=Is(e,r);return Object(b.forEach)(t,(function(e){Xs(n,e.index)&&(t=t.filter((function(t){return t.index!==e.index})))})),t},ni=function(e,t){const{auxiliaryRegex:r,directPrecedenceExceptionRegex:n,followingAuxiliaryExceptionRegex:s}=t;let i=e.match(r)||[];if(void 0!==n||void 0!==s){let t=Qs(i,e);void 0!==n&&(t=ri(e,t,n)),t=function(e,t,r){const n=Is(e,r);return Object(b.forEach)(t,(function(e){(function(e,t){if(Object(b.isEmpty)(e))return!1;const r=t.index+t.match.length,n=[];return Object(b.forEach)(e,(function(e){n.push(e.index)})),Object(b.includes)(n,r)})(n,e)&&(t=t.filter((function(t){return t.index!==e.index})))})),t}(e,t,s),i=[],Object(b.forEach)(t,(function(e){i.push(e.match)}))}return Object(b.map)(i,(function(e){return Ve(e)}))};var si=function(e,t){return function(e,t){const r=[],n=t.regexes.auxiliaryRegex;if(null===(e=Zt(e)).match(n))return r;const s=function(e,t){e=e.toLocaleLowerCase();const{regexes:r}=t;let n=Qs(t.auxiliaries,e);const s=function(e,t){let r;const n=[];for(t.lastIndex=0;null!==(r=t.exec(e));)n.push({index:r.index,match:r[0]});return n}(e,r.stopCharacterRegex);let i=Qs(t.stopwords,e);t.otherStopWordIndices&&t.otherStopWordIndices.length>0&&(i=i.concat(t.otherStopWordIndices)),void 0!==r.directPrecedenceExceptionRegex&&(n=ri(e,n,r.directPrecedenceExceptionRegex)),void 0!==r.elisionAuxiliaryExceptionRegex&&(n=function(e,t,r){const n=Is(e,r);return Object(b.forEach)(t,(function(e){Xs(n,e.index,!1)&&(t=t.filter((function(t){return t.index!==e.index})))})),t}(e,n,r.elisionAuxiliaryExceptionRegex));let a=n.concat(i,s);return a=ei(a),ti(a)}(e,t);for(let n=0;n<s.length;n++){let i=e.length;Object(b.isUndefined)(s[n+1])||(i=s[n+1].index);const a=Ve(e.substr(s[n].index,i-s[n].index)),o=ni(a,t.regexes);if(0!==o.length){const e=new t.Clause(a,o);r.push(e)}}return r}(e,t)};var ii=function(e,t){const r=t.regexes.auxiliaryRegex;if(null===e.match(r))return[];let n;const s=e.match(t.regexes.stopwordRegex)||[];return n=function(e,t){const r=[];return Object(b.forEach)(t,(function(t){const n=e.split(t);Object(b.isEmpty)(n[0])||r.push(n[0]);const s=e.indexOf(t),i=e.length;e=Ve(e.substr(s,i))})),r.push(e),r}(e,s),void 0!==t.regexes.stopCharacterRegex&&1===n.length&&(n=function(e,t){const r=e.split(t);for(let e=0;e<r.length;e++)" "===r[e][0]&&(r[e]=r[e].substring(1,r[e].length));return r}(e,t.regexes.stopCharacterRegex)),function(e,t){const r=[];return Object(b.forEach)(e,(function(e){const n=(s=e.match(t.regexes.auxiliaryRegex||[]),Object(b.map)(s,(function(e){return Ve(e)})));var s;0!==n.length&&r.push(new t.Clause(e,n))})),r}(n,t)},ai=class{getResult(e,t){throw"The method getResult is not implemented"}isApplicable(e,t){return!0}hasEnoughContentForAssessment(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;return!Object(b.isUndefined)(e)&&mt(e.getText()).length>=t}},oi=r(217),li=function(){return[]},ui=function(e){this._hasScore=!1,this._identifier="",this._hasMarks=!1,this._hasJumps=!1,this._hasEditFieldName=!1,this._marker=li,this._hasBetaBadge=!1,this.score=0,this.text="",this.marks=[],this.editFieldName="",Object(b.isUndefined)(e)&&(e={}),Object(b.isUndefined)(e.score)||this.setScore(e.score),Object(b.isUndefined)(e.text)||this.setText(e.text),Object(b.isUndefined)(e.marks)||this.setMarks(e.marks),Object(b.isUndefined)(e._hasBetaBadge)||this.setHasBetaBadge(e._hasBetaBadge),Object(b.isUndefined)(e._hasJumps)||this.setHasJumps(e._hasJumps),Object(b.isUndefined)(e.editFieldName)||this.setEditFieldName(e.editFieldName)};ui.prototype.hasScore=function(){return this._hasScore},ui.prototype.getScore=function(){return this.score},ui.prototype.setScore=function(e){Object(b.isNumber)(e)&&(this.score=e,this._hasScore=!0)},ui.prototype.hasText=function(){return""!==this.text},ui.prototype.getText=function(){return this.text},ui.prototype.setText=function(e){Object(b.isUndefined)(e)&&(e=""),this.text=e},ui.prototype.getMarks=function(){return this.marks},ui.prototype.setMarks=function(e){Object(b.isArray)(e)&&(this.marks=e,this._hasMarks=e.length>0)},ui.prototype.setIdentifier=function(e){this._identifier=e},ui.prototype.getIdentifier=function(){return this._identifier},ui.prototype.setMarker=function(e){this._marker=e},ui.prototype.hasMarker=function(){return this._hasMarks&&this._marker!==this.emptyMarker},ui.prototype.getMarker=function(){return this._marker},ui.prototype.setHasMarks=function(e){this._hasMarks=e},ui.prototype.hasMarks=function(){return this._hasMarks},ui.prototype.setHasBetaBadge=function(e){this._hasBetaBadge=e},ui.prototype.hasBetaBadge=function(){return this._hasBetaBadge},ui.prototype.setHasJumps=function(e){this._hasJumps=e},ui.prototype.hasJumps=function(){return this._hasJumps},ui.prototype.hasEditFieldName=function(){return this._hasEditFieldName},ui.prototype.getEditFieldName=function(){return this.editFieldName},ui.prototype.setEditFieldName=function(e){""!==e&&(this.editFieldName=e,this._hasEditFieldName=!0)},ui.prototype.serialize=function(){return{_parseClass:"AssessmentResult",identifier:this._identifier,score:this.score,text:this.text,marks:this.marks.map(e=>e.serialize()),_hasBetaBadge:this._hasBetaBadge,_hasJumps:this._hasJumps,editFieldName:this.editFieldName}},ui.parse=function(e){const t=new ui({text:e.text,score:e.score,marks:e.marks.map(e=>Gn.parse(e)),_hasBetaBadge:e._hasBetaBadge,_hasJumps:e._hasJumps,editFieldName:e.editFieldName});return t.setIdentifier(e.identifier),t};var ci=ui,hi=function(e){return"<yoastmark class='yoast-text-mark'>"+e+"</yoastmark>"};function pi(e,t,r){return e>t&&e<=r}function gi(e,t,r){return e>=t&&e<r}function di(e,t,r){return e>=t&&e<=r}class fi extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];super();const r={urlTitle:Object(oi.b)("https://yoa.st/35d"),urlCallToAction:Object(oi.b)("https://yoa.st/35e"),countTextIn:Object(v.__)("words","wordpress-seo"),parameters:{recommendedLength:150,maximumRecommendedLength:200}};this.identifier="textParagraphTooLong",this._config=Object(b.merge)(r,e),this._isProduct=t}getTooLongParagraphs(e,t){const r=t.parameters.recommendedLength;return Object(b.filter)(e,(function(e){return e.countLength>r}))}getConfig(e){const t=this._config,r=e.getConfig("paragraphLength");return r&&(t.parameters=this._isProduct?r.productPageParams:r.defaultPageParams),t}calculateResult(e,t,r){let n;if(0===e.length)return{};const s=e[0].countLength;return s<=r.parameters.recommendedLength&&(n=9),pi(s,r.parameters.recommendedLength,r.parameters.maximumRecommendedLength)&&(n=6),s>r.parameters.maximumRecommendedLength&&(n=3),n>=7?{score:n,hasMarks:!1,text:Object(v.sprintf)(
/* Translators:  %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
Object(v.__)("%1$sParagraph length%2$s: None of the paragraphs are too long. Great job!","wordpress-seo"),r.urlTitle,"</a>")}:{score:n,hasMarks:!0,text:Object(v.sprintf)(
/* Translators: %1$s and %5$s expand to a link on yoast.com, %2$s expands to the anchor end tag,
      %3$d expands to the number of paragraphs over the recommended word / character limit, %4$d expands to the word / character limit,
      %6$s expands to the word 'words' or 'characters'. */
Object(v._n)("%1$sParagraph length%2$s: %3$d of the paragraphs contains more than the recommended maximum of %4$d %6$s. %5$sShorten your paragraphs%2$s!","%1$sParagraph length%2$s: %3$d of the paragraphs contain more than the recommended maximum of %4$d %6$s. %5$sShorten your paragraphs%2$s!",t.length,"wordpress-seo"),r.urlTitle,"</a>",t.length,r.parameters.recommendedLength,r.urlCallToAction,this._config.countTextIn)}}sortParagraphs(e){return e.sort((function(e,t){return t.countLength-e.countLength}))}getMarks(e,t){const r=t.getResearch("getParagraphLength"),n=this.getTooLongParagraphs(r,this.getConfig(t));return Object(b.map)(n,(function(e){const t=e.text.replace(ct,"").replace(ht,""),r=hi(t);return new Gn({original:t,marked:r})}))}getResult(e,t){let r=t.getResearch("getParagraphLength");t.getConfig("countCharacters")&&(this._config.countTextIn=Object(v.__)("characters","wordpress-seo")),r=this.sortParagraphs(r);const n=this.getConfig(t),s=this.getTooLongParagraphs(r,n),i=this.calculateResult(r,s,n),a=new ci;return a.setScore(i.score),a.setText(i.text),a.setHasMarks(i.hasMarks),a}isApplicable(e){return this.hasEnoughContentForAssessment(e)}}var mi=function(e){return Math.round(e)===e?Math.round(e):Math.round(10*e)/10};class vi extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={urlTitle:Object(oi.b)("https://yoa.st/34t"),urlCallToAction:Object(oi.b)("https://yoa.st/34u")};this.identifier="passiveVoice",this._config=Object(b.merge)(t,e)}calculatePassiveVoiceResult(e){let t,r=0;0!==e.total&&(r=mi(e.passives.length/e.total*100));const n=r>0;return r<=10&&(t=9),pi(r,10,15)&&(t=6),r>15&&(t=3),t>=7?{score:t,hasMarks:n,text:Object(v.sprintf)(
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */
Object(v.__)("%1$sPassive voice%2$s: You're using enough active voice. That's great!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:t,hasMarks:n,text:Object(v.sprintf)(
/* Translators: %1$s and %5$s expand to a link on yoast.com, %2$s expands to the anchor end tag,
      %3$s expands to the percentage of sentences in passive voice, %4$s expands to the recommended value. */
Object(v.__)("%1$sPassive voice%2$s: %3$s of the sentences contain passive voice, which is more than the recommended maximum of %4$s. %5$sTry to use their active counterparts%2$s.","wordpress-seo"),this._config.urlTitle,"</a>",r+"%","10%",this._config.urlCallToAction)}}getMarks(e,t){const r=t.getResearch("getPassiveVoiceResult");return Object(b.map)(r.passives,(function(e){e=pt(e);const t=hi(e);return new Gn({original:e,marked:t})}))}getResult(e,t){const r=t.getResearch("getPassiveVoiceResult"),n=this.calculatePassiveVoiceResult(r),s=new ci;return s.setScore(n.score),s.setText(n.text),s.setHasMarks(n.hasMarks),s}isApplicable(e,t){return this.hasEnoughContentForAssessment(e)&&t.hasResearch("getPassiveVoiceResult")}}class bi extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={urlTitle:Object(oi.b)("https://yoa.st/35f"),urlCallToAction:Object(oi.b)("https://yoa.st/35g")};this.identifier="sentenceBeginnings",this._config=Object(b.merge)(t,e)}groupSentenceBeginnings(e){const t=Object(b.partition)(e,(function(e){return e.count>2}));if(0===t[0].length)return{total:0};const r=Object(b.sortBy)(t[0],(function(e){return e.count}));return{total:t[0].length,lowestCount:r[0].count}}calculateSentenceBeginningsResult(e){return e.total>0?{score:3,hasMarks:!0,text:Object(v.sprintf)(
/* Translators: %1$s and %5$s expand to a link on yoast.com, %2$s expands to the anchor end tag,
        %3$d expands to the number of consecutive sentences starting with the same word,
        %4$d expands to the number of instances where 3 or more consecutive sentences start with the same word. */
Object(v._n)("%1$sConsecutive sentences%2$s: The text contains %3$d consecutive sentences starting with the same word. %5$sTry to mix things up%2$s!","%1$sConsecutive sentences%2$s: The text contains %4$d instances where %3$d or more consecutive sentences start with the same word. %5$sTry to mix things up%2$s!",e.total,"wordpress-seo"),this._config.urlTitle,"</a>",e.lowestCount,e.total,this._config.urlCallToAction)}:{score:9,hasMarks:!1,text:Object(v.sprintf)(
/* Translators:  %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
Object(v.__)("%1$sConsecutive sentences%2$s: There is enough variety in your sentences. That's great!","wordpress-seo"),this._config.urlTitle,"</a>")}}getMarks(e,t){let r=t.getResearch("getSentenceBeginnings");r=Object(b.filter)(r,(function(e){return e.count>2}));const n=Object(b.map)(r,(function(e){return e.sentences}));return Object(b.map)(Object(b.flatten)(n),(function(e){e=pt(e);const t=hi(e);return new Gn({original:e,marked:t})}))}getResult(e,t){const r=t.getResearch("getSentenceBeginnings"),n=this.groupSentenceBeginnings(r),s=this.calculateSentenceBeginningsResult(n),i=new ci;return i.setScore(s.score),i.setText(s.text),i.setHasMarks(s.hasMarks),i}isApplicable(e,t){return this.hasEnoughContentForAssessment(e)&&t.hasResearch("getSentenceBeginnings")}}var yi=class extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];super();const n={recommendedLength:20,slightlyTooMany:25,farTooMany:30,urlTitle:Object(oi.b)("https://yoa.st/34v"),urlCallToAction:Object(oi.b)("https://yoa.st/34w"),countTextIn:Object(v.__)("words","wordpress-seo")};this._config=Object(b.merge)(n,e),this._isCornerstone=t,this._isProduct=r,this.identifier="textSentenceLength"}getResult(e,t){const r=t.getResearch("countSentencesFromText");t.getConfig("sentenceLength")&&(this._config=this.getLanguageSpecificConfig(t)),t.getConfig("countCharacters")&&(this._config.countTextIn=Object(v.__)("characters","wordpress-seo"));const n=this.calculatePercentage(r),s=this.calculateScore(n),i=new ci;return i.setScore(s),i.setText(this.translateScore(s,n)),i.setHasMarks(n>0),i}isApplicable(e){return this.hasEnoughContentForAssessment(e)}getMarks(e,t){const r=t.getResearch("countSentencesFromText");t.getConfig("sentenceLength")&&(this._config=this.getLanguageSpecificConfig(t));const n=this.getTooLongSentences(r);return Object(b.map)(n,(function(e){const t=pt(e.sentence);return new Gn({original:t,marked:hi(t)})}))}getLanguageSpecificConfig(e){const t=this._config,r=e.getConfig("sentenceLength");return r.hasOwnProperty("recommendedLength")&&(t.recommendedLength=r.recommendedLength),!0===this._isCornerstone&&!1===this._isProduct&&r.hasOwnProperty("cornerstonePercentages")?Object(b.merge)(t,r.cornerstonePercentages):!1===this._isCornerstone&&!1===this._isProduct&&r.hasOwnProperty("percentages")?Object(b.merge)(t,r.percentages):t}translateScore(e,t){return e>=7?Object(v.sprintf)(
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
Object(v.__)("%1$sSentence length%2$s: Great!","wordpress-seo"),this._config.urlTitle,"</a>"):Object(v.sprintf)(
/* Translators: %1$s and %6$s expand to a link on yoast.com, %2$s expands to the anchor end tag,
    %3$d expands to percentage of sentences, %4$s expands to the recommended maximum sentence length,
    %5$s expands to the recommended maximum percentage, %7$s expands to the word 'words' or 'characters'. */
Object(v.__)("%1$sSentence length%2$s: %3$s of the sentences contain more than %4$s %7$s, which is more than the recommended maximum of %5$s. %6$sTry to shorten the sentences%2$s.","wordpress-seo"),this._config.urlTitle,"</a>",t+"%",this._config.recommendedLength,this._config.slightlyTooMany+"%",this._config.urlCallToAction,this._config.countTextIn)}calculatePercentage(e){let t=0;if(0!==e.length){const r=this.countTooLongSentences(e);t=mi(r/e.length*100)}return t}calculateScore(e){let t;return e<=this._config.slightlyTooMany&&(t=9),pi(e,this._config.slightlyTooMany,this._config.farTooMany)&&(t=6),e>this._config.farTooMany&&(t=3),t}getTooLongSentences(e){return function(e,t){return Object(b.filter)(e,(function(e){return e.sentenceLength>t}))}(e,this._config.recommendedLength)}countTooLongSentences(e){return this.getTooLongSentences(e).length}},_i=class extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={parameters:{recommendedMaximumLength:300,slightlyTooMany:300,farTooMany:350},countTextIn:Object(v.__)("words","wordpress-seo"),urlTitle:Object(oi.b)("https://yoa.st/34x"),urlCallToAction:Object(oi.b)("https://yoa.st/34y"),scores:{goodShortTextNoSubheadings:9,goodSubheadings:9,okSubheadings:6,badSubheadings:3,badLongTextNoSubheadings:2},applicableIfTextLongerThan:300,shouldNotAppearInShortText:!1,cornerstoneContent:!1};this.identifier="subheadingsTooLong",this._config=Object(b.merge)(t,e)}getResult(e,t){this._subheadingTextsLength=t.getResearch("getSubheadingTextLengths"),t.getConfig("subheadingsTooLong")&&(this._config=this.getLanguageSpecificConfig(t)),t.getConfig("countCharacters")&&(this._config.countTextIn=Object(v.__)("characters","wordpress-seo")),this._subheadingTextsLength=this._subheadingTextsLength.sort((function(e,t){return t.countLength-e.countLength})),this._tooLongTextsNumber=this.getTooLongSubheadingTexts().length;const r=new ci;r.setIdentifier(this.identifier),this._hasSubheadings=this.hasSubheadings(e);const n=t.getHelper("customCountLength");this._textLength=n?n(e.getText()):xt(e.getText()).length;const s=this.calculateResult();return s.resultTextPlural=s.resultTextPlural||"",r.setScore(s.score),r.setText(s.resultText),r}getLanguageSpecificConfig(e){const t=this._config,r=e.getConfig("subheadingsTooLong");return!0===t.cornerstoneContent&&r.hasOwnProperty("cornerstoneParameters")?Object(b.merge)(t,r.cornerstoneParameters):Object(b.merge)(t,r.defaultParameters)}isApplicable(e,t){if(this._config.shouldNotAppearInShortText){t.getConfig("subheadingsTooLong")&&(this._config=this.getLanguageSpecificConfig(t));const r=t.getHelper("customCountLength");return(r?r(e.getText()):t.getResearch("wordCountInText").count)>this._config.applicableIfTextLongerThan}return this.hasEnoughContentForAssessment(e)}hasSubheadings(e){return function(e){const t=[],r=/<h([1-6])(?:[^>]+)?>(.*?)<\/h\1>/gi;let n;for(;null!==(n=r.exec(e));)t.push(n);return t}(e.getText()).length>0}getTooLongSubheadingTexts(){return Object(b.filter)(this._subheadingTextsLength,function(e){return e.countLength>this._config.parameters.recommendedMaximumLength}.bind(this))}calculateResult(){if(this._textLength>this._config.applicableIfTextLongerThan){if(this._hasSubheadings){const e=this._subheadingTextsLength[0].countLength;return e<=this._config.parameters.slightlyTooMany?{score:this._config.scores.goodSubheadings,resultText:Object(v.sprintf)(// Translators: %1$s expands to a link to https://yoa.st/headings, %2$s expands to the link closing tag.
Object(v.__)("%1$sSubheading distribution%2$s: Great job!","wordpress-seo"),this._config.urlTitle,"</a>")}:pi(e,this._config.parameters.slightlyTooMany,this._config.parameters.farTooMany)?{score:this._config.scores.okSubheadings,resultText:Object(v.sprintf)(
/*
             * Translators: %1$s and %5$s expand to a link on yoast.com, %3$d to the number of text sections
             * not separated by subheadings, %4$d expands to the recommended number of words following a
             * subheading, %6$s expands to the word 'words' or 'characters', %2$s expands to the link closing tag.
             */
Object(v._n)("%1$sSubheading distribution%2$s: %3$d section of your text is longer than %4$d %6$s and is not separated by any subheadings. %5$sAdd subheadings to improve readability%2$s.","%1$sSubheading distribution%2$s: %3$d sections of your text are longer than %4$d %6$s and are not separated by any subheadings. %5$sAdd subheadings to improve readability%2$s.",this._tooLongTextsNumber,"wordpress-seo"),this._config.urlTitle,"</a>",this._tooLongTextsNumber,this._config.parameters.recommendedMaximumLength,this._config.urlCallToAction,this._config.countTextIn)}:{score:this._config.scores.badSubheadings,resultText:Object(v.sprintf)(
/* Translators: %1$s and %5$s expand to a link on yoast.com, %3$d to the number of text sections
          not separated by subheadings, %4$d expands to the recommended number of words or characters following a
          subheading, %6$s expands to the word 'words' or 'characters', %2$s expands to the link closing tag. */
Object(v._n)("%1$sSubheading distribution%2$s: %3$d section of your text is longer than %4$d %6$s and is not separated by any subheadings. %5$sAdd subheadings to improve readability%2$s.","%1$sSubheading distribution%2$s: %3$d sections of your text are longer than %4$d %6$s and are not separated by any subheadings. %5$sAdd subheadings to improve readability%2$s.",this._tooLongTextsNumber,"wordpress-seo"),this._config.urlTitle,"</a>",this._tooLongTextsNumber,this._config.parameters.recommendedMaximumLength,this._config.urlCallToAction,this._config.countTextIn)}}return{score:this._config.scores.badLongTextNoSubheadings,resultText:Object(v.sprintf)(
/* Translators: %1$s and %3$s expand to a link to https://yoa.st/headings, %2$s expands to the link closing tag. */
Object(v.__)("%1$sSubheading distribution%2$s: You are not using any subheadings, although your text is rather long. %3$sTry and add some subheadings%2$s.","wordpress-seo"),this._config.urlTitle,"</a>",this._config.urlCallToAction)}}return this._hasSubheadings?{score:this._config.scores.goodSubheadings,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to a link to https://yoa.st/headings, %2$s expands to the link closing tag. */
Object(v.__)("%1$sSubheading distribution%2$s: Great job!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:this._config.scores.goodShortTextNoSubheadings,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to a link to https://yoa.st/headings, %2$s expands to the link closing tag. */
Object(v.__)("%1$sSubheading distribution%2$s: You are not using any subheadings, but your text is short enough and probably doesn't need them.","wordpress-seo"),this._config.urlTitle,"</a>")}}};class wi extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={urlTitle:Object(oi.b)("https://yoa.st/35h"),urlCallToAction:Object(oi.b)("https://yoa.st/35i")};this.identifier="textPresence",this._config=Object(b.merge)(t,e)}getResult(e){if(!this.hasEnoughContentForAssessment(e)){const e=new ci;return e.setText(Object(v.sprintf)(
/* Translators: %1$s and %3$s expand to links to articles on Yoast.com,
      %2$s expands to the anchor end tag*/
Object(v.__)("%1$sNot enough content%2$s: %3$sPlease add some content to enable a good analysis%2$s.","wordpress-seo"),this._config.urlTitle,"</a>",this._config.urlCallToAction)),e.setScore(3),e}return new ci}}class xi extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={urlTitle:Object(oi.b)("https://yoa.st/34z"),urlCallToAction:Object(oi.b)("https://yoa.st/35a"),applicableIfTextLongerThan:200};this.identifier="textTransitionWords",this._config=Object(b.merge)(t,e)}calculateTransitionWordPercentage(e){return 0===e.transitionWordSentences||0===e.totalSentences?0:mi(e.transitionWordSentences/e.totalSentences*100)}calculateScoreFromPercentage(e){return e<20?3:gi(e,20,30)?6:9}calculateTransitionWordResult(e){const t=this.calculateTransitionWordPercentage(e),r=this.calculateScoreFromPercentage(t),n=t>0;return r<7&&0===t?{score:mi(r),hasMarks:n,text:Object(v.sprintf)(
/* Translators: %1$s and %3$s expand to a link to yoast.com, %2$s expands to the anchor end tag */
Object(v.__)("%1$sTransition words%2$s: None of the sentences contain transition words. %3$sUse some%2$s.","wordpress-seo"),this._config.urlTitle,"</a>",this._config.urlCallToAction)}:r<7?{score:mi(r),hasMarks:n,text:Object(v.sprintf)(
/* Translators: %1$s and %4$s expand to a link to yoast.com, %2$s expands to the anchor end tag,
        %3$s expands to the percentage of sentences containing transition words */
Object(v.__)("%1$sTransition words%2$s: Only %3$s of the sentences contain transition words, which is not enough. %4$sUse more of them%2$s.","wordpress-seo"),this._config.urlTitle,"</a>",t+"%",this._config.urlCallToAction)}:{score:mi(r),hasMarks:n,text:Object(v.sprintf)(
/* Translators: %1$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */
Object(v.__)("%1$sTransition words%2$s: Well done!","wordpress-seo"),this._config.urlTitle,"</a>")}}getResult(e,t){const r=t.getResearch("findTransitionWords"),n=this.calculateTransitionWordResult(r),s=new ci;return s.setScore(n.score),s.setText(n.text),s.setHasMarks(n.hasMarks),s}getMarks(e,t){const r=t.getResearch("findTransitionWords");return Object(b.map)(r.sentenceResults,(function(e){let t=e.sentence;return t=pt(t),new Gn({original:t,marked:hi(t)})}))}isApplicable(e,t){const r=t.getHelper("customCountLength"),n=t.getConfig("assessmentApplicability").transitionWords;return n&&(this._config.applicableIfTextLongerThan=n),(r?r(e.getText()):t.getResearch("wordCountInText").count)>=this._config.applicableIfTextLongerThan&&t.hasResearch("findTransitionWords")}}class Oi extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={scores:{acceptableAmount:6,goodAmount:9},urlTitle:Object(oi.b)("https://yoa.st/4ls"),urlCallToAction:Object(oi.b)("https://yoa.st/4lt")};
/*
     * Translators: This is the name of the 'Word complexity' readability assessment.
           * It appears before the feedback in the analysis, for example in the feedback string:
           * "Word complexity: You are not using too many complex words, which makes your text easy to read. Good job!"
           */this.name=Object(v.__)("Word complexity","wordpress-seo"),this.identifier="wordComplexity",this._config=Object(b.merge)(t,e)}getResult(e,t){this._wordComplexity=t.getResearch("wordComplexity");const r=this.calculateResult(),n=new ci;return n.setScore(r.score),n.setText(r.resultText),n.setHasMarks(r.hasMarks),n.setHasBetaBadge(!0),n}calculateResult(){const e=this._wordComplexity.percentage,t=e>0,r=this._config.urlTitle+this.name+"</a>";return e<10?{score:this._config.scores.goodAmount,hasMarks:t,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to the title of the "Word complexity" assessment (translated to the current language)
         and links to an article on yoast.com.*/
Object(v.__)("%1$s: You are not using too many complex words, which makes your text easy to read. Good job!","wordpress-seo"),r)}:{score:this._config.scores.acceptableAmount,hasMarks:t,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to the title of the "Word complexity" assessment (translated to the current language)
      	 and links to an article on yoast.com. %2$s expand to the percentage of the complex words found in the text.
      	 %3$s expand to a link on yoast.com, %4$s expands to the anchor end tag. */
Object(v.__)("%1$s: %2$s of the words in your text are considered complex. %3$sTry to use shorter and more familiar words to improve readability%4$s.","wordpress-seo"),r,e+"%",this._config.urlCallToAction,"</a>")}}getMarks(e,t){const r=t.getResearch("wordComplexity").complexWords,n=t.getResearch("matchWordCustomHelper"),s=[];return r.forEach(e=>{const t=e.complexWords,r=e.sentence;t.length>0&&s.push(new Gn({original:r,marked:Yn(r,t,n)}))}),s}isApplicable(e,t){return this.hasEnoughContentForAssessment(e)&&t.hasResearch("wordComplexity")}}var Ei=class extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={scores:{onlyFunctionWords:0},urlTitle:Object(oi.b)("https://yoa.st/functionwordskeyphrase-1"),urlCallToAction:Object(oi.b)("https://yoa.st/functionwordskeyphrase-2")};this.identifier="functionWordsInKeyphrase",this._config=Object(b.merge)(t,e)}getResult(e,t){this._functionWordsInKeyphrase=t.getResearch("functionWordsInKeyphrase"),this._keyword=Object(b.escape)(e.getKeyword());const r=new ci;return this._functionWordsInKeyphrase&&(r.setScore(this._config.scores.onlyFunctionWords),r.setText(Object(v.sprintf)(
/**
       * Translators:
       * %1$s and %2$s expand to links on yoast.com,
       * %3$s expands to the anchor end tag,
       * %4$s expands to the focus keyphrase of the article.
       */
Object(v.__)('%1$sFunction words in keyphrase%3$s: Your keyphrase "%4$s" contains function words only. %2$sLearn more about what makes a good keyphrase.%3$s',"wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>",this._keyword)),r.setHasJumps(!0),r.setEditFieldName(Object(v.__)("keyphrase","wordpress-seo"))),r}isApplicable(e,t){return e.hasKeyword()&&t.hasResearch("functionWordsInKeyphrase")}},Ti=class extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={parameters:{recommendedMinimum:1},scores:{allInternalFollow:9,someInternalFollow:8,noneInternalFollow:7,noInternal:3},urlTitle:Object(oi.b)("https://yoa.st/33z"),urlCallToAction:Object(oi.b)("https://yoa.st/34a")};this.identifier="internalLinks",this._config=Object(b.merge)(t,e)}getResult(e,t){this.linkStatistics=t.getResearch("getLinkStatistics");const r=new ci,n=this.calculateResult();return r.setScore(n.score),r.setText(n.resultText),r}isApplicable(e){return e.hasText()}calculateResult(){return 0===this.linkStatistics.internalTotal?{score:this._config.scores.noInternal,resultText:Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sInternal links%3$s: No internal links appear in this page, %2$smake sure to add some%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.linkStatistics.internalNofollow===this.linkStatistics.internalTotal?{score:this._config.scores.noneInternalFollow,resultText:Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sInternal links%3$s: The internal links in this page are all nofollowed. %2$sAdd some good internal links%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.linkStatistics.internalDofollow===this.linkStatistics.internalTotal?{score:this._config.scores.allInternalFollow,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
Object(v.__)("%1$sInternal links%2$s: You have enough internal links. Good job!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:this._config.scores.someInternalFollow,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
Object(v.__)("%1$sInternal links%2$s: There are both nofollowed and normal internal links on this page. Good job!","wordpress-seo"),this._config.urlTitle,"</a>")}}},Ai=class extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={scores:{good:9,okay:6,bad:3},urlTitle:Object(oi.b)("https://yoa.st/33e"),urlCallToAction:Object(oi.b)("https://yoa.st/33f")};this.identifier="introductionKeyword",this._config=Object(b.merge)(t,e)}getResult(e,t){const r=new ci;this._firstParagraphMatches=t.getResearch("findKeywordInFirstParagraph");const n=this.calculateResult();return r.setScore(n.score),r.setText(n.resultText),r}isApplicable(e){return e.hasKeyword()&&e.hasText()}calculateResult(){return this._firstParagraphMatches.foundInOneSentence?{score:this._config.scores.good,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */
Object(v.__)("%1$sKeyphrase in introduction%2$s: Well done!","wordpress-seo"),this._config.urlTitle,"</a>")}:this._firstParagraphMatches.foundInParagraph?{score:this._config.scores.okay,resultText:Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag. */
Object(v.__)("%1$sKeyphrase in introduction%3$s: Your keyphrase or its synonyms appear in the first paragraph of the copy, but not within one sentence. %2$sFix that%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.bad,resultText:Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag. */
Object(v.__)("%1$sKeyphrase in introduction%3$s: Your keyphrase or its synonyms do not appear in the first paragraph. %2$sMake sure the topic is clear immediately%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}},Ci=class extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={parameters:{goodDistributionScore:30,acceptableDistributionScore:50},scores:{good:9,okay:6,bad:1,consideration:0},urlTitle:Object(oi.b)("https://yoa.st/33q"),urlCallToAction:Object(oi.b)("https://yoa.st/33u")};this.identifier="keyphraseDistribution",this._config=Object(b.merge)(t,e)}getResult(e,t){this._keyphraseDistribution=t.getResearch("keyphraseDistribution");const r=new ci,n=this.calculateResult();return r.setScore(n.score),r.setText(n.resultText),r.setHasMarks(this._keyphraseDistribution.sentencesToHighlight.length>0),r}calculateResult(){const e=this._keyphraseDistribution.keyphraseDistributionScore;return 100===e?{score:this._config.scores.consideration,resultText:Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links to Yoast.com articles,
        %3$s expands to the anchor end tag */
Object(v.__)("%1$sKeyphrase distribution%3$s: %2$sInclude your keyphrase or its synonyms in the text so that we can check keyphrase distribution%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:e>this._config.parameters.acceptableDistributionScore?{score:this._config.scores.bad,resultText:Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links to Yoast.com articles,
        %3$s expands to the anchor end tag */
Object(v.__)("%1$sKeyphrase distribution%3$s: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:e>this._config.parameters.goodDistributionScore&&e<=this._config.parameters.acceptableDistributionScore?{score:this._config.scores.okay,resultText:Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links to Yoast.com articles,
        %3$s expands to the anchor end tag */
Object(v.__)("%1$sKeyphrase distribution%3$s: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. %2$sDistribute them more evenly%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.good,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to links to Yoast.com articles, %2$s expands to the anchor end tag */
Object(v.__)("%1$sKeyphrase distribution%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>")}}getMarks(){return this._keyphraseDistribution.sentencesToHighlight}isApplicable(e,t){const r=t.getHelper("memoizedTokenizer");return e.hasText()&&e.hasKeyword()&&vr(e.getText(),r).length>=15}},Si=class extends ai{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];super(),this.defaultConfig={parameters:{recommendedMinimum:1,recommendedMaximum:4,acceptableMaximum:8},parametersNoFunctionWordSupport:{recommendedMaximum:6,acceptableMaximum:9},scores:{veryBad:-999,bad:3,okay:6,good:9},countTextIn:{singular:Object(v.__)("word","wordpress-seo"),plural:Object(v.__)("words","wordpress-seo")},urlTitle:Object(oi.b)("https://yoa.st/33i"),urlCallToAction:Object(oi.b)("https://yoa.st/33j"),isRelatedKeyphrase:!1},this.identifier="keyphraseLength",this._config=Object(b.merge)(this.defaultConfig,e),this._isProductPage=t}getResult(e,t){this._keyphraseLengthData=t.getResearch("keyphraseLength");const r=new ci;t.getConfig("countCharacters")&&(this._config.countTextIn.singular=Object(v.__)("character","wordpress-seo"),this._config.countTextIn.plural=Object(v.__)("characters","wordpress-seo"));const n=e.getKeyword();this._keyphraseLengthData.functionWords.length>0&&!Tr(n).exactMatchRequested&&(this._config.countTextIn.singular=Object(v.__)("content word","wordpress-seo"),this._config.countTextIn.plural=Object(v.__)("content words","wordpress-seo")),t.getConfig("keyphraseLength")?this._config=this.getCustomConfig(t):0===this._keyphraseLengthData.functionWords.length&&(this._config.parameters=Object(b.merge)({},this._config.parameters,this._config.parametersNoFunctionWordSupport)),this._boundaries=this._config.parameters;const s=this.calculateResult();return r.setScore(s.score),r.setText(s.resultText),r.getScore()<9&&(r.setHasJumps(!0),r.setEditFieldName(Object(v.__)("keyphrase","wordpress-seo"))),r}getCustomConfig(e){const t=e.getConfig("keyphraseLength");return this._isProductPage&&t.hasOwnProperty("productPages")?Object(b.merge)(this._config,t.productPages):Object(b.merge)(this._config,t.defaultAnalysis)}calculateResult(){if(this._isProductPage){if(0===this._keyphraseLengthData.keyphraseLength)return this._config.isRelatedKeyphrase?{score:this._config.scores.veryBad,resultText:Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sKeyphrase length%3$s: %2$sSet a keyphrase in order to calculate your SEO score%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.veryBad,resultText:Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sKeyphrase length%3$s: No focus keyphrase was set for this page. %2$sSet a keyphrase in order to calculate your SEO score%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")};if(this._keyphraseLengthData.keyphraseLength<=this._boundaries.acceptableMinimum)return{score:this._config.scores.bad,resultText:Object(v.sprintf)(
/* Translators:
          %1$d expands to the number of words / characters in the keyphrase,
          %2$d expands to the recommended maximum of words / characters in the keyphrase,
          %3$s and %4$s expand to links on yoast.com, %5$s expands to the anchor end tag,
          %6$s expands to the word 'word' or 'character' or 'content word',
          %7$s expands to the word 'words' or 'characters' or 'content words'. */
Object(v._n)("%3$sKeyphrase length%5$s: The keyphrase contains %1$d %6$s. That's way less than the recommended minimum of %2$d %7$s. %4$sMake it longer%5$s!","%3$sKeyphrase length%5$s: The keyphrase contains %1$d %7$s. That's way less than the recommended minimum of %2$d %7$s. %4$sMake it longer%5$s!",this._keyphraseLengthData.keyphraseLength,"wordpress-seo"),this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMinimum,this._config.urlTitle,this._config.urlCallToAction,"</a>",this._config.countTextIn.singular,this._config.countTextIn.plural)};if(this._keyphraseLengthData.keyphraseLength>this._boundaries.acceptableMaximum)return{score:this._config.scores.bad,resultText:Object(v.sprintf)(
/* Translators:
          %1$d expands to the number of words / characters in the keyphrase,
          %2$d expands to the recommended maximum of words / characters in the keyphrase,
          %3$s and %4$s expand to links on yoast.com,
          %5$s expands to the anchor end tag,
          %6$s expands to the word 'words' or 'characters' or 'content words'. */
Object(v.__)("%3$sKeyphrase length%5$s: The keyphrase contains %1$d %6$s. That's way more than the recommended maximum of %2$d %6$s. %4$sMake it shorter%5$s!","wordpress-seo"),this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMaximum,this._config.urlTitle,this._config.urlCallToAction,"</a>",this._config.countTextIn.plural)};if(Object(b.inRange)(this._keyphraseLengthData.keyphraseLength,this._boundaries.acceptableMinimum,this._boundaries.recommendedMinimum))return{score:this._config.scores.okay,resultText:Object(v.sprintf)(
/* Translators:
          %1$d expands to the number of words / characters in the keyphrase,
          %2$d expands to the recommended maximum of words / characters in the keyphrase,
          %3$s and %4$s expand to links on yoast.com,
          %5$s expands to the anchor end tag,
          %6$s expands to the word 'words' or 'characters' or 'content words'. */
Object(v.__)("%3$sKeyphrase length%5$s: The keyphrase contains %1$d %6$s. That's less than the recommended minimum of %2$d %6$s. %4$sMake it longer%5$s!","wordpress-seo"),this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMinimum,this._config.urlTitle,this._config.urlCallToAction,"</a>",this._config.countTextIn.plural)};if(pi(this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMaximum,this._boundaries.acceptableMaximum))return{score:this._config.scores.okay,resultText:Object(v.sprintf)(
/* Translators:
          %1$d expands to the number of words / characters in the keyphrase,
          %2$d expands to the recommended maximum of words / characters in the keyphrase,
          %3$s and %4$s expand to links on yoast.com,
          %5$s expands to the anchor end tag,
          %6$s expands to the word 'words' or 'characters' or 'content words'. */
Object(v.__)("%3$sKeyphrase length%5$s: The keyphrase contains %1$d %6$s. That's more than the recommended maximum of %2$d %6$s. %4$sMake it shorter%5$s!","wordpress-seo"),this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMaximum,this._config.urlTitle,this._config.urlCallToAction,"</a>",this._config.countTextIn.plural)};if(di(this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMinimum,this._boundaries.recommendedMaximum))return{score:this._config.scores.good,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */
Object(v.__)("%1$sKeyphrase length%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>")}}return this._keyphraseLengthData.keyphraseLength<this._boundaries.recommendedMinimum?this._config.isRelatedKeyphrase?{score:this._config.scores.veryBad,resultText:Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sKeyphrase length%3$s: %2$sSet a keyphrase in order to calculate your SEO score%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.veryBad,resultText:Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sKeyphrase length%3$s: No focus keyphrase was set for this page. %2$sSet a keyphrase in order to calculate your SEO score%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:Object(b.inRange)(this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMinimum,this._boundaries.recommendedMaximum+1)?{score:this._config.scores.good,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */
Object(v.__)("%1$sKeyphrase length%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>")}:Object(b.inRange)(this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMaximum+1,this._boundaries.acceptableMaximum+1)?{score:this._config.scores.okay,resultText:Object(v.sprintf)(
/* Translators:
        %1$d expands to the number of words / characters in the keyphrase,
        %2$d expands to the recommended maximum of words / characters in the keyphrase,
        %3$s and %4$s expand to links on yoast.com,
        %5$s expands to the anchor end tag,
        %6$s expands to the word 'words' or 'characters' or 'content words'. */
Object(v.__)("%3$sKeyphrase length%5$s: The keyphrase contains %1$d %6$s. That's more than the recommended maximum of %2$d %6$s. %4$sMake it shorter%5$s!","wordpress-seo"),this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMaximum,this._config.urlTitle,this._config.urlCallToAction,"</a>",this._config.countTextIn.plural)}:{score:this._config.scores.bad,resultText:Object(v.sprintf)(
/* Translators:
      %1$d expands to the number of words / characters in the keyphrase,
      %2$d expands to the recommended maximum of words / characters in the keyphrase,
      %3$s and %4$s expand to links on yoast.com,
      %5$s expands to the anchor end tag,
      %6$s expands to the word 'words' or 'characters' or 'content words'. */
Object(v.__)("%3$sKeyphrase length%5$s: The keyphrase contains %1$d %6$s. That's way more than the recommended maximum of %2$d %6$s. %4$sMake it shorter%5$s!","wordpress-seo"),this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMaximum,this._config.urlTitle,this._config.urlCallToAction,"</a>",this._config.countTextIn.plural)}}},ji=function(e){return.7+e/3},ki=function(e,t,r,n,s){const i=s?s(e).length:br(e);if(0===i)return 0;const a=r*i/(100*ji(t));if(a<2)return 2;switch(n){case"min":return Math.ceil(a);default:case"max":return Math.floor(a)}},Di=class extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={parameters:{noWordForms:{overMaximum:4,maximum:3,minimum:.5},multipleWordForms:{overMaximum:4,maximum:3.5,minimum:.5}},scores:{wayOverMaximum:-50,overMaximum:-10,correctDensity:9,underMinimum:4},urlTitle:Object(oi.b)("https://yoa.st/33v"),urlCallToAction:Object(oi.b)("https://yoa.st/33w"),applicableIfTextLongerThan:100};this.identifier="keywordDensity",this._config=Object(b.merge)(t,e)}setBoundaries(e,t,r){this._hasMorphologicalForms?this._boundaries=this._config.parameters.multipleWordForms:this._boundaries=this._config.parameters.noWordForms,this._minRecommendedKeywordCount=ki(e,t,this._boundaries.minimum,"min",r),this._maxRecommendedKeywordCount=ki(e,t,this._boundaries.maximum,"max",r)}getResult(e,t){const r=t.getHelper("getWordsCustomHelper");this._keywordCount=t.getResearch("keywordCount");const n=this._keywordCount.length,s=new ci;this._keywordDensity=t.getResearch("getKeywordDensity"),this._hasMorphologicalForms=!1!==t.getData("morphology"),this.setBoundaries(e.getText(),n,r),this._keywordDensity=this._keywordDensity*ji(n);const i=this.calculateResult();return s.setScore(i.score),s.setText(i.resultText),s.setHasMarks(this._keywordCount.count>0),s}hasNoMatches(){return 0===this._keywordCount.count}hasTooFewMatches(){return gi(this._keywordDensity,0,this._boundaries.minimum)||1===this._keywordCount.count}hasGoodNumberOfMatches(){return di(this._keywordDensity,this._boundaries.minimum,this._boundaries.maximum)||2===this._keywordCount.count&&this._minRecommendedKeywordCount<=2}hasTooManyMatches(){return pi(this._keywordDensity,this._boundaries.maximum,this._boundaries.overMaximum)}calculateResult(){return this.hasNoMatches()?{score:this._config.scores.underMinimum,resultText:Object(v.sprintf)(
/* Translators:
        %1$s and %4$s expand to links to Yoast.com,
        %2$s expands to the anchor end tag,
        %3$d expands to the recommended minimal number of times the keyphrase should occur in the text. */
Object(v.__)("%1$sKeyphrase density%2$s: The focus keyphrase was found 0 times. That's less than the recommended minimum of %3$d times for a text of this length. %4$sFocus on your keyphrase%2$s!","wordpress-seo"),this._config.urlTitle,"</a>",this._minRecommendedKeywordCount,this._config.urlCallToAction)}:this.hasTooFewMatches()?{score:this._config.scores.underMinimum,resultText:Object(v.sprintf)(
/* Translators:
        %1$s and %4$s expand to links to Yoast.com,
        %2$s expands to the anchor end tag,
        %3$d expands to the recommended minimal number of times the keyphrase should occur in the text,
        %5$d expands to the number of times the keyphrase occurred in the text. */
Object(v._n)("%1$sKeyphrase density%2$s: The focus keyphrase was found %5$d time. That's less than the recommended minimum of %3$d times for a text of this length. %4$sFocus on your keyphrase%2$s!","%1$sKeyphrase density%2$s: The focus keyphrase was found %5$d times. That's less than the recommended minimum of %3$d times for a text of this length. %4$sFocus on your keyphrase%2$s!",this._keywordCount.count,"wordpress-seo"),this._config.urlTitle,"</a>",this._minRecommendedKeywordCount,this._config.urlCallToAction,this._keywordCount.count)}:this.hasGoodNumberOfMatches()?{score:this._config.scores.correctDensity,resultText:Object(v.sprintf)(
/* Translators:
        %1$s expands to a link to Yoast.com,
        %2$s expands to the anchor end tag,
        %3$d expands to the number of times the keyphrase occurred in the text. */
Object(v._n)("%1$sKeyphrase density%2$s: The focus keyphrase was found %3$d time. This is great!","%1$sKeyphrase density%2$s: The focus keyphrase was found %3$d times. This is great!",this._keywordCount.count,"wordpress-seo"),this._config.urlTitle,"</a>",this._keywordCount.count)}:this.hasTooManyMatches()?{score:this._config.scores.overMaximum,resultText:Object(v.sprintf)(
/* Translators:
        %1$s and %4$s expand to links to Yoast.com,
        %2$s expands to the anchor end tag,
        %3$d expands to the recommended maximal number of times the keyphrase should occur in the text,
        %5$d expands to the number of times the keyphrase occurred in the text. */
Object(v._n)("%1$sKeyphrase density%2$s: The focus keyphrase was found %5$d time. That's more than the recommended maximum of %3$d times for a text of this length. %4$sDon't overoptimize%2$s!","%1$sKeyphrase density%2$s: The focus keyphrase was found %5$d times. That's more than the recommended maximum of %3$d times for a text of this length. %4$sDon't overoptimize%2$s!",this._keywordCount.count,"wordpress-seo"),this._config.urlTitle,"</a>",this._maxRecommendedKeywordCount,this._config.urlCallToAction,this._keywordCount.count)}:{score:this._config.scores.wayOverMaximum,resultText:Object(v.sprintf)(
/* Translators:
      %1$s and %4$s expand to links to Yoast.com,
      %2$s expands to the anchor end tag,
      %3$d expands to the recommended maximal number of times the keyphrase should occur in the text,
      %5$d expands to the number of times the keyphrase occurred in the text. */
Object(v._n)("%1$sKeyphrase density%2$s: The focus keyphrase was found %5$d time. That's way more than the recommended maximum of %3$d times for a text of this length. %4$sDon't overoptimize%2$s!","%1$sKeyphrase density%2$s: The focus keyphrase was found %5$d times. That's way more than the recommended maximum of %3$d times for a text of this length. %4$sDon't overoptimize%2$s!",this._keywordCount.count,"wordpress-seo"),this._config.urlTitle,"</a>",this._maxRecommendedKeywordCount,this._config.urlCallToAction,this._keywordCount.count)}}getMarks(){return this._keywordCount.markings}isApplicable(e,t){const r=t.getHelper("customCountLength"),n=t.getConfig("assessmentApplicability").keyphraseDensity;n&&(this._config.applicableIfTextLongerThan=n);const s=r?r(e.getText()):t.getResearch("wordCountInText").count;return e.hasText()&&e.hasKeyword()&&s>=this._config.applicableIfTextLongerThan}},Ri=class extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={parameters:{recommendedMinimum:1},scores:{good:9,ok:6,bad:3},urlTitle:Object(oi.b)("https://yoa.st/33k"),urlCallToAction:Object(oi.b)("https://yoa.st/33l")};this.identifier="metaDescriptionKeyword",this._config=Object(b.merge)(t,e)}getResult(e,t){this._keyphraseCounts=t.getResearch("metaDescriptionKeyword");const r=new ci,n=this.calculateResult();return r.setScore(n.score),r.setText(n.resultText),r.getScore()<9&&(r.setHasJumps(!0),r.setEditFieldName(Object(v.__)("meta description","wordpress-seo"))),r}calculateResult(){return 1===this._keyphraseCounts||2===this._keyphraseCounts?{score:this._config.scores.good,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */
Object(v.__)("%1$sKeyphrase in meta description%2$s: Keyphrase or synonym appear in the meta description. Well done!","wordpress-seo"),this._config.urlTitle,"</a>")}:this._keyphraseCounts>=3?{score:this._config.scores.bad,resultText:Object(v.sprintf)(
/**
         * Translators:
         * %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag,
         * %3$s expands to the number of sentences containing the keyphrase,
         * %4$s expands to a link on yoast.com, %5$s expands to the anchor end tag.
         */
Object(v.__)("%1$sKeyphrase in meta description%2$s: The meta description contains the keyphrase %3$s times, which is over the advised maximum of 2 times. %4$sLimit that%5$s!","wordpress-seo"),this._config.urlTitle,"</a>",this._keyphraseCounts,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.bad,resultText:Object(v.sprintf)(
/**
       * Translators:
       * %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag.
       * %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag.
       */
Object(v.__)("%1$sKeyphrase in meta description%2$s: The meta description has been specified, but it does not contain the keyphrase. %3$sFix that%4$s!","wordpress-seo"),this._config.urlTitle,"</a>",this._config.urlCallToAction,"</a>")}}isApplicable(e){return e.hasKeyword()&&e.hasDescription()}},Li={recommendedMaximumLength:60,maximumLength:80};class Mi extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={recommendedMaximumLength:120,maximumLength:156,scores:{noMetaDescription:1,tooLong:6,tooShort:6,correctLength:9},urlTitle:Object(oi.b)("https://yoa.st/34d"),urlCallToAction:Object(oi.b)("https://yoa.st/34e")};this.identifier="metaDescriptionLength",this._config=Object(b.merge)(t,e)}getMaximumLength(e){return this.getConfig(e).maximumLength}getConfig(e){let t=this._config;return"ja"===e&&(t=Object(b.merge)(t,Li)),t}getResult(e,t){const r=t.getResearch("metaDescriptionLength"),n=new ci,s=t.getConfig("language"),i=this.getConfig(s);return n.setScore(this.calculateScore(r,s)),n.setText(this.translateScore(r,i)),n.getScore()<9&&(n.setHasJumps(!0),n.setEditFieldName(Object(v.__)("meta description","wordpress-seo"))),n.max=i.maximumLength,n.actual=r,n}calculateScore(e,t){const r=this.getConfig(t);return 0===e?r.scores.noMetaDescription:e<=this._config.recommendedMaximumLength?r.scores.tooShort:e>this._config.maximumLength?r.scores.tooLong:r.scores.correctLength}translateScore(e,t){return 0===e?Object(v.sprintf)(
/* Translators:  %1$s and %2$s expand to a links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sMeta description length%3$s:  No meta description has been specified. Search engines will display copy from the page instead. %2$sMake sure to write one%3$s!","wordpress-seo"),t.urlTitle,t.urlCallToAction,"</a>"):e<=t.recommendedMaximumLength?Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag,
      %4$d expands to the number of characters in the meta description, %5$d expands to
      the total available number of characters in the meta description */
Object(v.__)("%1$sMeta description length%3$s: The meta description is too short (under %4$d characters). Up to %5$d characters are available. %2$sUse the space%3$s!","wordpress-seo"),t.urlTitle,t.urlCallToAction,"</a>",t.recommendedMaximumLength,t.maximumLength):e>t.maximumLength?Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag,
      %4$d expands to	the total available number of characters in the meta description */
Object(v.__)("%1$sMeta description length%3$s: The meta description is over %4$d characters. To ensure the entire description will be visible, %2$syou should reduce the length%3$s!","wordpress-seo"),t.urlTitle,t.urlCallToAction,"</a>",t.maximumLength):Object(v.sprintf)(
/* Translators:  %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
Object(v.__)("%1$sMeta description length%2$s: Well done!","wordpress-seo"),t.urlTitle,"</a>")}}class Fi extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={scores:{noLinks:3,allNofollowed:7,someNoFollowed:8,allFollowed:9},urlTitle:Object(oi.b)("https://yoa.st/34f"),urlCallToAction:Object(oi.b)("https://yoa.st/34g")};this.identifier="externalLinks",this._config=Object(b.merge)(t,e)}getResult(e,t){const r=t.getResearch("getLinkStatistics"),n=new ci;return Object(b.isEmpty)(r)||(n.setScore(this.calculateScore(r)),n.setText(this.translateScore(r))),n}isApplicable(e){return e.hasText()}calculateScore(e){return 0===e.externalTotal?this._config.scores.noLinks:e.externalNofollow===e.externalTotal?this._config.scores.allNofollowed:e.externalDofollow<e.externalTotal?this._config.scores.someNoFollowed:e.externalDofollow===e.externalTotal?this._config.scores.allFollowed:null}translateScore(e){return 0===e.externalTotal?Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sOutbound links%3$s: No outbound links appear in this page. %2$sAdd some%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>"):e.externalNofollow===e.externalTotal?Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sOutbound links%3$s: All outbound links on this page are nofollowed. %2$sAdd some normal links%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>"):e.externalDofollow===e.externalTotal?Object(v.sprintf)(
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
Object(v.__)("%1$sOutbound links%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>"):e.externalDofollow<e.externalTotal?Object(v.sprintf)(
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
Object(v.__)("%1$sOutbound links%2$s: There are both nofollowed and normal outbound links on this page. Good job!","wordpress-seo"),this._config.urlTitle,"</a>"):""}}class $i extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];super();const r={minLength:400,maxLength:600,scores:{noTitle:1,widthTooShort:6,widthTooLong:3,widthCorrect:9},urlTitle:Object(oi.b)("https://yoa.st/34h"),urlCallToAction:Object(oi.b)("https://yoa.st/34i")};this._allowShortTitle=t,this.identifier="titleWidth",this._config=Object(b.merge)(r,e)}getMaximumLength(){return 600}getResult(e,t){const r=t.getResearch("pageTitleWidth"),n=new ci;return n.setScore(this.calculateScore(r)),n.setText(this.translateScore(r)),n.getScore()<9&&(n.setHasJumps(!0),n.setEditFieldName(Object(v.__)("SEO title","wordpress-seo"))),n.max=this._config.maxLength,n.actual=r,n}calculateScore(e){return pi(e,1,400)?this._config.scores.widthTooShort:pi(e,this._config.minLength,this._config.maxLength)?this._config.scores.widthCorrect:e>this._config.maxLength?this._config.scores.widthTooLong:this._config.scores.noTitle}translateScore(e){return pi(e,1,400)?this._allowShortTitle?Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sSEO title width%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>"):Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sSEO title width%3$s: The SEO title is too short. %2$sUse the space to add keyphrase variations or create compelling call-to-action copy%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>"):pi(e,this._config.minLength,this._config.maxLength)?Object(v.sprintf)(
/* Translators:  %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
Object(v.__)("%1$sSEO title width%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>"):e>this._config.maxLength?Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sSEO title width%3$s: The SEO title is wider than the viewable limit. %2$sTry to make it shorter%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>"):Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sSEO title width%3$s: %2$sPlease create an SEO title%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}var Pi=class extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={scores:{textContainsSuperfluousH1:1},urlTitle:Object(oi.b)("https://yoa.st/3a6"),urlCallToAction:Object(oi.b)("https://yoa.st/3a7")};this.identifier="singleH1",this._config=Object(b.merge)(t,e)}getResult(e,t){this._h1s=t.getResearch("h1s");const r=new ci,n=this.calculateResult();return Object(b.isUndefined)(n)||(r.setScore(n.score),r.setText(n.resultText),r.setHasMarks(!0)),r}calculateResult(){if(!(this._h1s.length<=1))return{score:this._config.scores.textContainsSuperfluousH1,resultText:Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sSingle title%3$s: H1s should only be used as your main title. Find all H1s in your text that aren't your main title and %2$schange them to a lower heading level%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}getMarks(){const e=this._h1s;return Object(b.map)(e,(function(e){return new Gn({original:"<h1>"+e.content+"</h1>",marked:"<h1>"+hi(e.content)+"</h1>"})}))}isApplicable(e){return e.hasText()}};class Ii extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={parameters:{lowerBoundary:.3,upperBoundary:.75},scores:{noMatches:3,tooFewMatches:3,goodNumberOfMatches:9,tooManyMatches:3},urlTitle:Object(oi.b)("https://yoa.st/33m"),urlCallToAction:Object(oi.b)("https://yoa.st/33n")};this.identifier="subheadingsKeyword",this._config=Object(b.merge)(t,e)}getResult(e,t){this._subHeadings=t.getResearch("matchKeywordInSubheadings");const r=new ci;this._minNumberOfSubheadings=Math.ceil(this._subHeadings.count*this._config.parameters.lowerBoundary),this._maxNumberOfSubheadings=Math.floor(this._subHeadings.count*this._config.parameters.upperBoundary);const n=this.calculateResult();return r.setScore(n.score),r.setText(n.resultText),r}hasSubheadings(e){return $n(e.getText()).length>0}isApplicable(e){return e.hasText()&&e.hasKeyword()&&this.hasSubheadings(e)}hasTooFewMatches(){return this._subHeadings.matches>0&&this._subHeadings.matches<this._minNumberOfSubheadings}hasTooManyMatches(){return this._subHeadings.count>1&&this._subHeadings.matches>this._maxNumberOfSubheadings}isOneOfOne(){return 1===this._subHeadings.count&&1===this._subHeadings.matches}hasGoodNumberOfMatches(){return di(this._subHeadings.matches,this._minNumberOfSubheadings,this._maxNumberOfSubheadings)}calculateResult(){return this.hasTooFewMatches()?{score:this._config.scores.tooFewMatches,resultText:Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */
Object(v.__)("%1$sKeyphrase in subheading%3$s: %2$sUse more keyphrases or synonyms in your H2 and H3 subheadings%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.hasTooManyMatches()?{score:this._config.scores.tooManyMatches,resultText:Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */
Object(v.__)("%1$sKeyphrase in subheading%3$s: More than 75%% of your H2 and H3 subheadings reflect the topic of your copy. That's too much. %2$sDon't over-optimize%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.isOneOfOne()?{score:this._config.scores.goodNumberOfMatches,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag,
        %3$d expands to the number of subheadings containing the keyphrase. */
Object(v.__)("%1$sKeyphrase in subheading%2$s: Your H2 or H3 subheading reflects the topic of your copy. Good job!","wordpress-seo"),this._config.urlTitle,"</a>",this._subHeadings.matches)}:this.hasGoodNumberOfMatches()?{score:this._config.scores.goodNumberOfMatches,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag,
        %3$d expands to the number of subheadings containing the keyphrase. */
Object(v._n)("%1$sKeyphrase in subheading%2$s: %3$s of your H2 and H3 subheadings reflects the topic of your copy. Good job!","%1$sKeyphrase in subheading%2$s: %3$s of your H2 and H3 subheadings reflect the topic of your copy. Good job!",this._subHeadings.matches,"wordpress-seo"),this._config.urlTitle,"</a>",this._subHeadings.matches)}:{score:this._config.scores.noMatches,resultText:Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */
Object(v.__)("%1$sKeyphrase in subheading%3$s: %2$sUse more keyphrases or synonyms in your H2 and H3 subheadings%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}}var qi=class extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={parameters:{recommendedMaximum:0},scores:{bad:2},urlTitle:Object(oi.b)("https://yoa.st/34l"),urlCallToAction:Object(oi.b)("https://yoa.st/34m")};this.identifier="textCompetingLinks",this._config=Object(b.merge)(t,e)}getResult(e,t){const r=new ci;this.linkCount=t.getResearch("getLinkStatistics");const n=this.calculateResult();return Object(b.isUndefined)(n)||(r.setScore(n.score),r.setText(n.resultText),r.setHasMarks(!1)),r}isApplicable(e){return e.hasText()&&e.hasKeyword()}calculateResult(){if(this.linkCount.keyword.totalKeyword>this._config.parameters.recommendedMaximum)return{score:this._config.scores.bad,resultText:Object(v.sprintf)(
/* Translators:  %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sLink keyphrase%3$s: You're linking to another page with the words you want this page to rank for. %2$sDon't do that%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}};class Ni extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={recommendedMinimum:300,slightlyBelowMinimum:250,belowMinimum:200,veryFarBelowMinimum:100,scores:{recommendedMinimum:9,slightlyBelowMinimum:6,belowMinimum:3,farBelowMinimum:-10,veryFarBelowMinimum:-20},countTextIn:{singular:Object(v.__)("word","wordpress-seo"),plural:Object(v.__)("words","wordpress-seo")},urlTitle:Object(oi.b)("https://yoa.st/34n"),urlCallToAction:Object(oi.b)("https://yoa.st/34o"),cornerstoneContent:!1,customContentType:""};this.identifier="textLength",this._config=Object(b.merge)(t,e)}getResult(e,t){const r=t.getResearch("wordCountInText");t.getConfig("textLength")&&(this._config=this.getLanguageSpecificConfig(t)),t.getConfig("countCharacters")&&(this._config.countTextIn.singular=Object(v.__)("character","wordpress-seo"),this._config.countTextIn.plural=Object(v.__)("characters","wordpress-seo"));const n=this.calculateResult(r.count),s=new ci;return s.setScore(n.score),s.setText(n.resultText),s}getLanguageSpecificConfig(e){const t=this._config,r=e.getConfig("textLength");return r.hasOwnProperty(t.customContentType)?Object(b.merge)(t,r[t.customContentType]):!0===t.cornerstoneContent&&""===t.customContentType&&r.hasOwnProperty("defaultCornerstone")?Object(b.merge)(t,r.defaultCornerstone):Object(b.merge)(t,r.defaultAnalysis)}calculateResult(e){if(e>=this._config.recommendedMinimum)return{score:this._config.scores.recommendedMinimum,resultText:Object(v.sprintf)(
/* Translators: %1$d expands to the number of words / characters in the text,
        %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag,
        %4$s expands to the word 'words' or 'characters'. */
Object(v.__)("%2$sText length%3$s: The text contains %1$d %4$s. Good job!","wordpress-seo"),e,this._config.urlTitle,"</a>",this._config.countTextIn.plural)};if(Object(b.inRange)(e,0,this._config.belowMinimum)){let t=this._config.scores.farBelowMinimum;return Object(b.inRange)(e,0,this._config.veryFarBelowMinimum)&&(t=this._config.scores.veryFarBelowMinimum),{score:t,resultText:Object(v.sprintf)(
/* Translators: %1$d expands to the number of words / characters in the text,
        %2$s expands to a link on yoast.com, %3$s expands to a link on yoast.com,
        %4$s expands to the anchor end tag, %5$d expands to the recommended minimum of words / characters,
        %6$s expands to the word 'word' or 'character', %7$s expands to the word 'words' or 'characters'. */
Object(v._n)("%2$sText length%4$s: The text contains %1$d %6$s. This is far below the recommended minimum of %5$d %7$s. %3$sAdd more content%4$s.","%2$sText length%4$s: The text contains %1$d %7$s. This is far below the recommended minimum of %5$d %7$s. %3$sAdd more content%4$s.",e,"wordpress-seo"),e,this._config.urlTitle,this._config.urlCallToAction,"</a>",this._config.recommendedMinimum,this._config.countTextIn.singular,this._config.countTextIn.plural)}}return Object(b.inRange)(e,this._config.slightlyBelowMinimum,this._config.recommendedMinimum)?!1===this._config.cornerstoneContent?{score:this._config.scores.slightlyBelowMinimum,resultText:Object(v.sprintf)(
/* Translators: %1$d expands to the number of words / characters in the text,
          %2$s expands to a link on yoast.com, %3$s expands to a link on yoast.com,
          %4$s expands to the anchor end tag, %5$d expands to the recommended minimum of words / characters,
          %6$s expands to the word 'words' or 'characters'. */
Object(v.__)("%2$sText length%4$s: The text contains %1$d %6$s. This is slightly below the recommended minimum of %5$d %6$s. %3$sAdd a bit more copy%4$s.","wordpress-seo"),e,this._config.urlTitle,this._config.urlCallToAction,"</a>",this._config.recommendedMinimum,this._config.countTextIn.plural)}:{score:this._config.scores.slightlyBelowMinimum,resultText:Object(v.sprintf)(
/* Translators: %1$d expands to the number of words / characters in the text,
        	%2$s expands to a link on yoast.com, %3$s expands to a link on yoast.com,
        	%4$s expands to the anchor end tag, %5$d expands to the recommended minimum of words / characters,
        	%6$s expands to the word 'words' or 'characters'. */
Object(v.__)("%2$sText length%4$s: The text contains %1$d %6$s. This is below the recommended minimum of %5$d %6$s. %3$sAdd more content%4$s.","wordpress-seo"),e,this._config.urlTitle,this._config.urlCallToAction,"</a>",this._config.recommendedMinimum,this._config.countTextIn.plural)}:{score:this._config.scores.belowMinimum,resultText:Object(v.sprintf)(
/* Translators: %1$d expands to the number of words / characters in the text,
      		%2$s expands to a link on yoast.com, %3$s expands to a link on yoast.com,
      		%4$s expands to the anchor end tag, %5$d expands to the recommended minimum of words / characters,
      		%6$s expands to the word 'words' or 'characters'. */
Object(v.__)("%2$sText length%4$s: The text contains %1$d %6$s. This is below the recommended minimum of %5$d %6$s. %3$sAdd more content%4$s.","wordpress-seo"),e,this._config.urlTitle,this._config.urlCallToAction,"</a>",this._config.recommendedMinimum,this._config.countTextIn.plural)}}}var Bi=class extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={parameters:{recommendedPosition:0},scores:{good:9,okay:6,bad:2},urlTitle:Object(oi.b)("https://yoa.st/33g"),urlCallToAction:Object(oi.b)("https://yoa.st/33h"),feedbackStrings:{bad:Object(v.__)("For the best SEO results write the exact match of your keyphrase in the SEO title, and put the keyphrase at the beginning of the title","wordpress-seo")}};this.identifier="keyphraseInSEOTitle",
/* Translators: This is the name of the 'Keyphrase in SEO title' SEO assessment.
     It appears before the feedback in the analysis, for example in the feedback string:
     "Keyphrase in SEO title: The focus keyphrase appears at the beginning of the SEO title. Good job!" */
this.name=Object(v.__)("Keyphrase in SEO title","wordpress-seo"),this._config=Object(b.merge)(t,e)}getResult(e,t){const r=w(e.getLocale());this._keyphraseMatches=t.getResearch("findKeyphraseInSEOTitle"),this._keyphrase=Object(b.escape)(e.getKeyword());const n=new ci,s=this.calculateResult(this._keyphrase,r);return n.setScore(s.score),n.setText(s.resultText),n.getScore()<9&&(n.setHasJumps(!0),n.setEditFieldName(Object(v.__)("SEO title","wordpress-seo"))),n}isApplicable(e){return e.hasKeyword()&&e.hasTitle()}calculateResult(e,t){const r=this._config.feedbackStrings;"ja"===t&&(r.bad=Object(v.__)("For the best SEO results include all words of your keyphrase in the SEO title, and put the keyphrase at the beginning of the title","wordpress-seo"));const n=this._keyphraseMatches.exactMatchFound,s=this._keyphraseMatches.position,i=this._keyphraseMatches.allWordsFound,a=this._keyphraseMatches.exactMatchKeyphrase,o=this._config.urlTitle+this.name+"</a>";return!0===n?0===s?{score:this._config.scores.good,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
           and links to an article on yoast.com. */
Object(v.__)("%1$s: The exact match of the focus keyphrase appears at the beginning of the SEO title. Good job!","wordpress-seo"),o)}:{score:this._config.scores.okay,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
         and links to an article on yoast.com. %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */
Object(v.__)("%1$s: The exact match of the focus keyphrase appears in the SEO title, but not at the beginning. %2$sMove it to the beginning for the best results%3$s.","wordpress-seo"),o,this._config.urlCallToAction,"</a>")}:i?"ja"===t?0===s?{score:this._config.scores.good,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
             and links to an article on yoast.com. */
Object(v.__)("%1$s: The focus keyphrase appears at the beginning of the SEO title. Good job!","wordpress-seo"),o,"</a>")}:{score:this._config.scores.okay,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
           and links to an article on yoast.com. %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */
Object(v.__)("%1$s: Title does not begin with the focus keyphrase. %2$sMove your focus keyphrase to the beginning of the title%3$s.","wordpress-seo"),o,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.okay,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
         and links to an article on yoast.com. %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */
Object(v.__)("%1$s: Does not contain the exact match. %2$sTry to write the exact match of your keyphrase in the SEO title and put it at the beginning of the title%3$s.","wordpress-seo"),o,this._config.urlCallToAction,"</a>")}:a?{score:this._config.scores.bad,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
         and links to an article on yoast.com. %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */
Object(v.__)("%1$s: Does not contain the exact match. %2$sTry to write the exact match of your keyphrase in the SEO title and put it at the beginning of the title%3$s.","wordpress-seo"),o,this._config.urlCallToAction,"</a>",e)}:{score:this._config.scores.bad,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
       and links to an article on yoast.com. %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag,
       %4$s expands to the keyphrase of the article, %5$s expands to the call to action text. */
Object(v.__)('%1$s: Not all the words from your keyphrase "%4$s" appear in the SEO title. %2$s%5$s%3$s.',"wordpress-seo"),o,this._config.urlCallToAction,"</a>",e,r.bad)}}};class Ui extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={scores:{okay:6,good:9},urlTitle:Object(oi.b)("https://yoa.st/33o"),urlCallToAction:Object(oi.b)("https://yoa.st/33p")};this.identifier="slugKeyword",this._config=Object(b.merge)(t,e)}getResult(e,t){this._keywordInSlug=t.getResearch("keywordCountInSlug");const r=new ci,n=this.calculateResult();return r.setScore(n.score),r.setText(n.resultText),r.getScore()<9&&(r.setHasJumps(!0),r.setEditFieldName(Object(v.__)("slug","wordpress-seo"))),r}isApplicable(e,t){return e.hasKeyword()&&e.hasSlug()&&t.hasResearch("keywordCountInSlug")}calculateResult(){return this._keywordInSlug.keyphraseLength<3?100===this._keywordInSlug.percentWordMatches?{score:this._config.scores.good,resultText:Object(v.sprintf)(
/* Translators:  %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
Object(v.__)("%1$sKeyphrase in slug%2$s: Great work!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:this._config.scores.okay,resultText:Object(v.sprintf)(
/* Translators:  %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sKeyphrase in slug%3$s: (Part of) your keyphrase does not appear in the slug. %2$sChange that%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this._keywordInSlug.percentWordMatches>50?{score:this._config.scores.good,resultText:Object(v.sprintf)(
/* Translators:  %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
Object(v.__)("%1$sKeyphrase in slug%2$s: More than half of your keyphrase appears in the slug. That's great!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:this._config.scores.okay,resultText:Object(v.sprintf)(
/* Translators:  %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sKeyphrase in slug%3$s: (Part of) your keyphrase does not appear in the slug. %2$sChange that%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}}var Hi=Ui;class Ki extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={parameters:{lowerBoundary:.3,upperBoundary:.75},scores:{withAltGoodNumberOfKeywordMatches:9,withAltTooFewKeywordMatches:6,withAltTooManyKeywordMatches:6,withAltNonKeyword:6,withAlt:6,noAlt:6},urlTitle:Object(oi.b)("https://yoa.st/4f7"),urlCallToAction:Object(oi.b)("https://yoa.st/4f6")};this.identifier="imageKeyphrase",this._config=Object(b.merge)(t,e)}getResult(e,t){this.imageCount=t.getResearch("imageCount"),this.altProperties=t.getResearch("altTagCount"),this._minNumberOfKeywordMatches=Math.ceil(this.imageCount*this._config.parameters.lowerBoundary),this._maxNumberOfKeywordMatches=Math.floor(this.imageCount*this._config.parameters.upperBoundary);const r=this.calculateResult(),n=new ci;return n.setScore(r.score),n.setText(r.resultText),n}isApplicable(e,t){return this.imageCount=t.getResearch("imageCount"),e.hasText()&&this.imageCount>0}hasTooFewMatches(){return this.imageCount>4&&this.altProperties.withAltKeyword>0&&this.altProperties.withAltKeyword<this._minNumberOfKeywordMatches}hasGoodNumberOfMatches(){return this.imageCount<5&&this.altProperties.withAltKeyword>0||5===this.imageCount&&di(this.altProperties.withAltKeyword,2,4)||this.imageCount>4&&di(this.altProperties.withAltKeyword,this._minNumberOfKeywordMatches,this._maxNumberOfKeywordMatches)}hasTooManyMatches(){return this.imageCount>4&&this.altProperties.withAltKeyword>this._maxNumberOfKeywordMatches}calculateResult(){return this.altProperties.withAlt>0?{score:this._config.scores.withAlt,resultText:Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sImage Keyphrase%3$s: Images on this page have alt attributes, but you have not set your keyphrase. %2$sFix that%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.altProperties.withAltNonKeyword>0&&0===this.altProperties.withAltKeyword?{score:this._config.scores.withAltNonKeyword,resultText:Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sImage Keyphrase%3$s: Images on this page do not have alt attributes with at least half of the words from your keyphrase. %2$sFix that%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.hasTooFewMatches()?{score:this._config.scores.withAltTooFewKeywordMatches,resultText:Object(v.sprintf)(
/* Translators: %1$d expands to the number of images containing an alt attribute with the keyword,
         * %2$d expands to the total number of images, %3$s and %4$s expand to links on yoast.com,
         * %5$s expands to the anchor end tag. */
Object(v._n)("%3$sImage Keyphrase%5$s: Out of %2$d images on this page, only %1$d has an alt attribute that reflects the topic of your text. %4$sAdd your keyphrase or synonyms to the alt tags of more relevant images%5$s!","%3$sImage Keyphrase%5$s: Out of %2$d images on this page, only %1$d have alt attributes that reflect the topic of your text. %4$sAdd your keyphrase or synonyms to the alt tags of more relevant images%5$s!",this.altProperties.withAltKeyword,"wordpress-seo"),this.altProperties.withAltKeyword,this.imageCount,this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.hasGoodNumberOfMatches()?{score:this._config.scores.withAltGoodNumberOfKeywordMatches,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to a link on yoast.com,
         * %2$s expands to the anchor end tag. */
Object(v.__)("%1$sImage Keyphrase%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>")}:this.hasTooManyMatches()?{score:this._config.scores.withAltTooManyKeywordMatches,resultText:Object(v.sprintf)(
/* Translators: %1$d expands to the number of images containing an alt attribute with the keyword,
                        * %2$d expands to the total number of images, %3$s and %4$s expand to a link on yoast.com,
         * %5$s expands to the anchor end tag. */
Object(v.__)("%3$sImage Keyphrase%5$s: Out of %2$d images on this page, %1$d have alt attributes with words from your keyphrase or synonyms. That's a bit much. %4$sOnly include the keyphrase or its synonyms when it really fits the image%5$s.","wordpress-seo"),this.altProperties.withAltKeyword,this.imageCount,this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.noAlt,resultText:Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sImage Keyphrase%3$s: Images on this page do not have alt attributes that reflect the topic of your text. %2$sAdd your keyphrase or synonyms to the alt tags of relevant images%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}}class zi extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];super();const r={scores:{bad:3,good:9},recommendedCount:1,urlTitle:Object(oi.b)("https://yoa.st/4f4"),urlCallToAction:Object(oi.b)("https://yoa.st/4f5")};this.identifier="images",this._config=Object(b.merge)(r,e),this._countVideos=t}getResult(e,t){this.imageCount=t.getResearch("imageCount"),this.videoCount=t.getResearch("videoCount");const r=this.calculateResult(),n=new ci;return n.setScore(r.score),n.setText(r.resultText),n}isApplicable(e){return e.hasText()}calculateResult(){const e=this._countVideos?this.imageCount+this.videoCount:this.imageCount;if(0===e)return this._countVideos?{score:this._config.scores.bad,resultText:Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sImages and videos%3$s: No images or videos appear on this page. %2$sAdd some%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.bad,resultText:Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sImages%3$s: No images appear on this page. %2$sAdd some%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")};if(this._config.scores.okay){if(di(e,1,3)&&!this._countVideos)return{score:this._config.scores.okay,resultText:Object(v.sprintf)(
/* Translators: %3$s and %4$s expand to links on yoast.com, %5$s expands to the anchor end tag,
          * %1$d expands to the number of images found in the text,
          * %2$d expands to the recommended number of images in the text, */
Object(v._n)("%3$sImages%5$s: Only %1$d image appears on this page. We recommend at least %2$d. %4$sAdd more relevant images%5$s!","%3$sImages%5$s: Only %1$d images appear on this page. We recommend at least %2$d. %4$sAdd more relevant images%5$s!",e,"wordpress-seo"),e,this._config.recommendedCount,this._config.urlTitle,this._config.urlCallToAction,"</a>")};if(di(e,1,3)&&this._countVideos)return{score:this._config.scores.okay,resultText:Object(v.sprintf)(
/* Translators: %3$s and %4$s expand to links on yoast.com, %5$s expands to the anchor end tag,
          * %1$d expands to the number of images found in the text,
          * %2$d expands to the recommended number of images in the text, */
Object(v._n)("%3$sImages and videos%5$s: Only %1$d image or video appears on this page. We recommend at least %2$d. %4$sAdd more relevant images or videos%5$s!","%3$sImages and videos%5$s: Only %1$d images or videos appear on this page. We recommend at least %2$d. %4$sAdd more relevant images or videos%5$s!",e,"wordpress-seo"),e,this._config.recommendedCount,this._config.urlTitle,this._config.urlCallToAction,"</a>")}}return this._countVideos?{score:this._config.scores.good,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to a link on yoast.com,
         * %2$s expands to the anchor end tag. */
Object(v.__)("%1$sImages and videos%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:this._config.scores.good,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to a link on yoast.com,
       * %2$s expands to the anchor end tag. */
Object(v.__)("%1$sImages%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>")}}}const Wi={ListAssessment:class extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={urlTitle:Object(oi.b)("https://yoa.st/shopify38"),urlCallToAction:Object(oi.b)("https://yoa.st/shopify39"),scores:{bad:3,good:9}};this._config=Object(b.merge)(t,e),this.identifier="listsPresence"}getResult(e,t){this.textContainsList=t.getResearch("findList");const r=this.calculateResult(),n=new ci;return n.setScore(r.score),n.setText(r.resultText),n}isApplicable(e){return this.hasEnoughContentForAssessment(e)}calculateResult(){return this.textContainsList?{score:this._config.scores.good,resultText:Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sLists%2$s: There is at least one list on this page. Great!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:this._config.scores.bad,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to a link on yoast.com,
       * %2$s expands to the anchor end tag. */
Object(v.__)("%1$sLists%3$s: No lists appear on this page. %2$sAdd at least one ordered or unordered list%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}},ParagraphTooLongAssessment:fi,PassiveVoiceAssessment:vi,SentenceBeginningsAssessment:bi,SentenceLengthInTextAssessment:yi,SubheadingDistributionTooLongAssessment:_i,TextPresenceAssessment:wi,TransitionWordsAssessment:xi,WordComplexityAssessment:Oi},Vi={FunctionWordsInKeyphraseAssessment:Ei,InternalLinksAssessment:Ti,IntroductionKeywordAssessment:Ai,KeyphraseLengthAssessment:Si,KeywordDensityAssessment:Di,KeyphraseDistributionAssessment:Ci,MetaDescriptionKeywordAssessment:Ri,MetaDescriptionLengthAssessment:Mi,OutboundLinksAssessment:Fi,PageTitleWidthAssessment:$i,SingleH1Assessment:Pi,SubheadingsKeywordAssessment:Ii,TextCompetingLinksAssessment:qi,TextLengthAssessment:Ni,KeyphraseInSEOTitleAssessment:Bi,SlugKeywordAssessment:Ui,UrlKeywordAssessment:class extends Ui{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),this.identifier="urlKeyword",console.warn("This object is deprecated, use SlugKeywordAssessment instead.")}},ImageKeyphraseAssessment:Ki,ImageCountAssessment:zi,ImageAltTagsAssessment:class extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={scores:{bad:3,good:9},urlTitle:Object(oi.b)(""),urlCallToAction:Object(oi.b)("")};this.identifier="imageAltTags",this._config=Object(b.merge)(t,e)}getResult(e,t){this.altTagsProperties=t.getResearch("altTagCount"),this.imageCount=t.getResearch("imageCount");const r=this.calculateResult(),n=new ci;return n.setScore(r.score),n.setText(r.resultText),n}isApplicable(e,t){return this.imageCount=t.getResearch("imageCount"),e.hasText()&&this.imageCount>0}calculateResult(){const e=this.altTagsProperties.noAlt;return e===this.imageCount?{score:this._config.scores.bad,resultText:Object(v.sprintf)(
/* Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
Object(v.__)("%1$sImage alt tags%3$s: None of the images has alt attributes. %2$sAdd alt attributes to your images%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:e>0?{score:this._config.scores.bad,resultText:Object(v.sprintf)(
/* Translators: %3$s and %4$s expand to links on yoast.com, %5$s expands to the anchor end tag,
        * %1$d expands to the number of images without alt tags,
        * %2$d expands to the number of images found in the text, */
Object(v._n)("%3$sImage alt tags%5$s: %1$d image out of %2$d doesn't have alt attributes. %4$sAdd alt attributes to your images%5$s!","%3$sImage alt tags%5$s: %1$d images out of %2$d don't have alt attributes. %4$sAdd alt attributes to your images%5$s!",e,"wordpress-seo"),e,this.imageCount,this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.good,resultText:Object(v.sprintf)(
/* Translators: %1$s expands to a link on yoast.com,
       * %2$s expands to the anchor end tag. */
Object(v.__)("%1$sImage alt tags%2$s: All images have alt attributes. Good job!","wordpress-seo"),this._config.urlTitle,"</a>")}}},ProductIdentifiersAssessment:class extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={scores:{good:9,ok:6},urlTitle:Object(oi.b)("https://yoa.st/4ly"),urlCallToAction:Object(oi.b)("https://yoa.st/4lz"),assessVariants:!0,productIdentifierOrBarcode:"Product identifier"};this.identifier="productIdentifier",this._config=Object(b.merge)(t,e),this.name=Object(v.__)(this._config.productIdentifierOrBarcode,"wordpress-seo")}getResult(e){const t=e.getCustomData(),r=this.scoreProductIdentifier(t,this._config),n=new ci;return r&&(n.setScore(r.score),n.setText(r.text)),n}isApplicable(e){const t=e.getCustomData();return!(!1===t.canRetrieveGlobalIdentifier&&(["simple","external","grouped"].includes(t.productType)||!1===t.hasVariants)||!1===t.canRetrieveVariantIdentifiers&&!0===t.hasVariants&&"variable"===t.productType||!1===this._config.assessVariants&&t.hasVariants)}scoreProductIdentifier(e,t){let r;return r="Product identifier"===this._config.productIdentifierOrBarcode?{okNoVariants:Object(v.__)('Your product is missing an identifier (like a GTIN code). You can add a product identifier via the "Yoast SEO" tab in the Product data box',"wordpress-seo"),goodNoVariants:Object(v.__)("Your product has an identifier","wordpress-seo"),okWithVariants:Object(v.__)('Not all your product variants have an identifier. You can add a product identifier via the "Variations" tab in the Product data box',"wordpress-seo"),goodWithVariants:Object(v.__)("All your product variants have an identifier","wordpress-seo")}:{okNoVariants:Object(v.__)("Your product is missing a barcode (like a GTIN code)","wordpress-seo"),goodNoVariants:Object(v.__)("Your product has a barcode","wordpress-seo"),okWithVariants:Object(v.__)("Not all your product variants have a barcode","wordpress-seo"),goodWithVariants:Object(v.__)("All your product variants have a barcode","wordpress-seo")},["simple","external"].includes(e.productType)||"variable"===e.productType&&!e.hasVariants?e.hasGlobalIdentifier?{score:t.scores.good,text:Object(v.sprintf)(
/* Translators: %1$s expands to a link on yoast.com, %4$s expands to the anchor end tag,
        * %2$s expands to the string "Barcode" or "Product identifier", %3$s expands to the feedback string
        * "Your product has a product identifier" or "Your product has a barcode" */
Object(v.__)("%1$s%2$s%4$s: %3$s. Good job!","wordpress-seo"),this._config.urlTitle,this.name,r.goodNoVariants,"</a>")}:{score:t.scores.ok,text:Object(v.sprintf)(
/* Translators: %1$s and %4$s expand to links on yoast.com, %5$s expands to the anchor end tag,
          * %2$s expands to the string "Barcode" or "Product identifier", %3$s expands to the feedback string
          * "Your product is missing a product identifier (like a GTIN code)"
          * or "Your product is missing a barcode (like a GTIN code)" */
Object(v.__)("%1$s%2$s%5$s: %3$s. %4$sInclude it if you can, as it will help search engines to better understand your content.%5$s","wordpress-seo"),this._config.urlTitle,this.name,r.okNoVariants,this._config.urlCallToAction,"</a>")}:"variable"===e.productType&&e.hasVariants?e.doAllVariantsHaveIdentifier?{score:t.scores.good,text:Object(v.sprintf)(
/* Translators: %1$s expands to a link on yoast.com, %4$s expands to the anchor end tag,
        * %2$s expands to the string "Barcode" or "Product identifier" , %3$s expands to the feedback string
        * "All your product variants have a product identifier" or "All your product variants have a barcode" */
Object(v.__)("%1$s%2$s%4$s: %3$s. Good job!","wordpress-seo"),this._config.urlTitle,this.name,r.goodWithVariants,"</a>")}:{score:t.scores.ok,text:Object(v.sprintf)(
/* Translators: %1$s and %4$s expand to links on yoast.com, %5$s expands to the anchor end tag,
          * %2$s expands to the string "Barcode" or "Product identifier", %3$s expands to the string
          * "Not all your product variants have a product identifier"
          * or "Not all your product variants have a barcode" */
Object(v.__)("%1$s%2$s%5$s: %3$s. %4$sInclude it if you can, as it will help search engines to better understand your content.%5$s","wordpress-seo"),this._config.urlTitle,this.name,r.okWithVariants,this._config.urlCallToAction,"</a>")}:{}}},ProductSKUAssessment:class extends ai{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();const t={scores:{good:9,ok:6},urlTitle:Object(oi.b)("https://yoa.st/4lw"),urlCallToAction:Object(oi.b)("https://yoa.st/4lx"),assessVariants:!0,addSKULocation:!1};this.identifier="productSKU",this._config=Object(b.merge)(t,e)}getResult(e){const t=e.getCustomData(),r=this.scoreProductSKU(t,this._config),n=new ci;return r&&(n.setScore(r.score),n.setText(r.text)),n}isApplicable(e){const t=e.getCustomData();return!(!1===t.canRetrieveGlobalSku&&(["simple","external"].includes(t.productType)||!1===t.hasVariants)||!1===t.canRetrieveVariantSkus&&!0===t.hasVariants&&"variable"===t.productType||!1===this._config.assessVariants&&t.hasVariants)}scoreProductSKU(e,t){let r="";return!0===this._config.addSKULocation&&(
// Translators: please keep the space at the start of the sentence in your translation unless your language does not use spaces.
r=Object(v.__)(' You can add a SKU via the "Inventory" tab in the Product data box.',"wordpress-seo")),["simple","external","grouped"].includes(e.productType)||"variable"===e.productType&&!e.hasVariants?e.hasGlobalSKU?{score:t.scores.good,text:Object(v.sprintf)(// Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag.
Object(v.__)("%1$sSKU%2$s: Your product has a SKU. Good job!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:t.scores.ok,text:Object(v.sprintf)(// Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag.
Object(v.__)("%1$sSKU%3$s: Your product is missing a SKU.%4$s %2$sInclude it if you can, as it will help search engines to better understand your content.%3$s","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>",r)}:"variable"===e.productType&&e.hasVariants?e.doAllVariantsHaveSKU?{score:t.scores.good,text:Object(v.sprintf)(// Translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag.
Object(v.__)("%1$sSKU%2$s: All your product variants have a SKU. Good job!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:t.scores.ok,text:Object(v.sprintf)(// Translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag.
Object(v.__)('%1$sSKU%3$s: Not all your product variants have a SKU. You can add a SKU via the "Variations" tab in the Product data box. %2$sInclude it if you can, as it will help search engines to better understand your content.%3$s',"wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{}}}};var Gi=function(e){return Object(b.uniqBy)(e,(function(e){return e.getOriginal()}))};const Yi=function(e,t){this.type="assessor",this.setResearcher(e),this._assessments=[],this._options=t||{}};Yi.prototype.setResearcher=function(e){if(Object(b.isUndefined)(e))throw new St("The assessor requires a researcher.");this._researcher=e},Yi.prototype.getAvailableAssessments=function(){return this._assessments},Yi.prototype.isApplicable=function(e,t,r){return!e.hasOwnProperty("isApplicable")&&"function"!=typeof e.isApplicable||e.isApplicable(t,r)},Yi.prototype.hasMarker=function(e){return Object(b.isFunction)(this._options.marker)&&(e.hasOwnProperty("getMarks")||"function"==typeof e.getMarks)},Yi.prototype.getSpecificMarker=function(){return this._options.marker},Yi.prototype.getPaper=function(){return this._lastPaper},Yi.prototype.getMarker=function(e,t,r){var n=this._options.marker;return function(){let s=e.getMarks(t,r);s=Gi(s),n(t,s)}},Yi.prototype.assess=function(e){this._researcher.setPaper(e);var t=this.getAvailableAssessments();this.results=[],t=Object(b.filter)(t,function(t){return this.isApplicable(t,e,this._researcher)}.bind(this)),this.setHasMarkers(!1),this.results=Object(b.map)(t,this.executeAssessment.bind(this,e,this._researcher)),this._lastPaper=e},Yi.prototype.setHasMarkers=function(e){this._hasMarkers=e},Yi.prototype.hasMarkers=function(){return this._hasMarkers},Yi.prototype.executeAssessment=function(e,t,r){var n,s;try{(n=r.getResult(e,t)).setIdentifier(r.identifier),n.hasMarks()&&(n.marks=r.getMarks(e,t),n.marks=Gi(n.marks)),n.hasMarks()&&this.hasMarker(r)&&(this.setHasMarkers(!0),n.setMarker(this.getMarker(r,e,t)))}catch(e){s=e,Object(b.isUndefined)(s)&&(s=""),Object(b.isUndefined)(console)||Object(b.isUndefined)(console.trace)||console.trace(s),(n=new ci).setScore(-1),n.setText(Object(v.sprintf)(
/* Translators: %1$s expands to the name of the assessment. */
Object(v.__)("An error occurred in the '%1$s' assessment","wordpress-seo"),r.identifier,e))}return n},Yi.prototype.getValidResults=function(){return Object(b.filter)(this.results,function(e){return this.isValidResult(e)}.bind(this))},Yi.prototype.isValidResult=function(e){return e.hasScore()&&e.hasText()},Yi.prototype.calculateOverallScore=function(){var e=this.getValidResults(),t=0;return Object(b.forEach)(e,(function(e){t+=e.getScore()})),Math.round(t/(9*e.length)*100)||0},Yi.prototype.addAssessment=function(e,t){return t.hasOwnProperty("identifier")||(t.identifier=e),this._assessments.push(t),!0},Yi.prototype.removeAssessment=function(e){var t=Object(b.findIndex)(this._assessments,(function(t){return t.hasOwnProperty("identifier")&&e===t.identifier}));-1!==t&&this._assessments.splice(t,1)},Yi.prototype.getAssessment=function(e){return Object(b.find)(this._assessments,(function(t){return t.hasOwnProperty("identifier")&&e===t.identifier}))},Yi.prototype.getApplicableAssessments=function(){var e=this.getAvailableAssessments();return Object(b.filter)(e,function(e){return this.isApplicable(e,this.getPaper(),this._researcher)}.bind(this))};var Ji=Yi;const Zi=function(e,t){Ji.call(this,e,t),this.type="SEOAssessor",this._assessments=[new Ai,new Si,new Di,new Ri,new Mi,new Ii,new qi,new Ki,new zi,new Ni,new Fi,new Bi,new Ti,new $i({scores:{widthTooShort:9}},!0),new Hi,new Ei,new Pi]};Object(Ot.inherits)(Zi,Ji);var Xi=Zi,Qi=function(e){return-1===e?"error":0===e?"feedback":e<=4?"bad":e>4&&e<=7?"ok":e>7?"good":""};const ea=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Ji.call(this,e,t),this.type="contentAssessor",this._assessments=[new _i,new fi,new yi,new xi,new vi,new wi,new bi]};r(21).inherits(ea,Ji),ea.prototype.calculatePenaltyPointsFullSupport=function(e){switch(e){case"bad":return 3;case"ok":return 2;default:case"good":return 0}},ea.prototype.calculatePenaltyPointsPartialSupport=function(e){switch(e){case"bad":return 4;case"ok":return 2;default:case"good":return 0}},ea.prototype._allAssessmentsSupported=function(){const e=this._assessments.length;return this.getApplicableAssessments().length===e},ea.prototype.calculatePenaltyPoints=function(){const e=this.getValidResults(),t=Object(b.map)(e,function(e){const t=Qi(e.getScore());return this._allAssessmentsSupported()?this.calculatePenaltyPointsFullSupport(t):this.calculatePenaltyPointsPartialSupport(t)}.bind(this));return Object(b.sum)(t)},ea.prototype._ratePenaltyPoints=function(e){if(1===this.getValidResults().length)return 30;if(this._allAssessmentsSupported()){if(e>6)return 30;if(e>4)return 60}else{if(e>4)return 30;if(e>2)return 60}return 90},ea.prototype.calculateOverallScore=function(){if(0===this.getValidResults().length)return 30;const e=this.calculatePenaltyPoints();return this._ratePenaltyPoints(e)};var ta=ea;const ra=function(e,t){Ji.call(this,e,t),this.type="taxonomyAssessor",this._assessments=[new Ai,new Si,new Di,new Ri,new Mi,new Ni({recommendedMinimum:250,slightlyBelowMinimum:200,belowMinimum:100,veryFarBelowMinimum:50,urlTitle:Object(oi.b)("https://yoa.st/34j"),urlCallToAction:Object(oi.b)("https://yoa.st/34k"),customContentType:"taxonomyAssessor"}),new Bi,new $i({scores:{widthTooShort:9}},!0),new Hi,new Ei,new Pi]};Object(Ot.inherits)(ra,Ji);var na=ra;const sa={keyword:"",synonyms:"",description:"",title:"",titleWidth:0,slug:"",locale:"en_US",permalink:"",date:"",customData:{},textTitle:""};function ia(e,t){this._text=e||"",t=t||{},Object(b.defaults)(t,sa),""===t.locale&&(t.locale=sa.locale),t.hasOwnProperty("url")&&(console.warn("The 'url' attribute is deprecated, use 'slug' instead."),t.slug=t.url||t.slug);const r=t.keyword.replace(/[‘’“”"'.?!:;,¿¡«»&*@#±^%|~`[\](){}⟨⟩<>/\\–\-\u2014\u00d7\u002b\u0026\s]/g,"");Object(b.isEmpty)(r)&&(t.keyword=sa.keyword),this._attributes=t}ia.prototype.hasKeyword=function(){return""!==this._attributes.keyword},ia.prototype.getKeyword=function(){return this._attributes.keyword},ia.prototype.hasSynonyms=function(){return""!==this._attributes.synonyms},ia.prototype.getSynonyms=function(){return this._attributes.synonyms},ia.prototype.hasText=function(){return""!==this._text},ia.prototype.getText=function(){return this._text},ia.prototype.hasDescription=function(){return""!==this._attributes.description},ia.prototype.getDescription=function(){return this._attributes.description},ia.prototype.hasTitle=function(){return""!==this._attributes.title},ia.prototype.getTitle=function(){return this._attributes.title},ia.prototype.hasTitleWidth=function(){return 0!==this._attributes.titleWidth},ia.prototype.getTitleWidth=function(){return this._attributes.titleWidth},ia.prototype.hasSlug=function(){return""!==this._attributes.slug},ia.prototype.getSlug=function(){return this._attributes.slug},ia.prototype.hasUrl=function(){return console.warn("This function is deprecated, use hasSlug instead"),this.hasSlug()},ia.prototype.getUrl=function(){return console.warn("This function is deprecated, use getSlug instead"),this.getSlug()},ia.prototype.hasLocale=function(){return""!==this._attributes.locale},ia.prototype.getLocale=function(){return this._attributes.locale},ia.prototype.hasPermalink=function(){return""!==this._attributes.permalink},ia.prototype.getPermalink=function(){return this._attributes.permalink},ia.prototype.hasDate=function(){return""!==this._attributes.date},ia.prototype.getDate=function(){return this._attributes.date},ia.prototype.hasCustomData=function(){return!Object(b.isEmpty)(this._attributes.customData)},ia.prototype.getCustomData=function(){return this._attributes.customData},ia.prototype.hasTextTitle=function(){return""!==this._attributes.textTitle&&!Object(b.isNil)(this._attributes.textTitle)},ia.prototype.getTextTitle=function(){return this._attributes.textTitle},ia.prototype.serialize=function(){return{_parseClass:"Paper",text:this._text,...this._attributes}},ia.prototype.equals=function(e){return this._text===e.getText()&&Object(b.isEqual)(this._attributes,e._attributes)},ia.parse=function(e){if(e instanceof ia)return e;const{text:t,_parseClass:r,...n}=e;return new ia(t,n)};var aa=ia;const oa=function(e,t){Ji.call(this,e,t),this.type="relatedKeywordAssessor",this._assessments=[new Ai,new Si({isRelatedKeyphrase:!0}),new Di,new Ri,new qi,new Ei,new Ki]};Object(Ot.inherits)(oa,Ji);var la=oa;let ua,ca=!1;const ha=["script","style","code","pre","blockquote"],pa=new cn.a.Parser({onopentag:function(e,t){if(ca)return;if(Object(b.includes)(ha,e))return void(ca=!0);const r=Object.keys(t);let n="";r.forEach((function(e){n+=" "+e+"='"+t[e]+"'"})),ua.push("<"+e+n+">")},ontext:function(e){ca||ua.push(e)},onclosetag:function(e){Object(b.includes)(ha,e)?ca=!1:ca||ua.push("</"+e+">")}},{decodeEntities:!0});var ga=function(e){return ua=[],pa.write(e),ua.join("")};const da=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Ji.call(this,e,t),this.type="cornerstoneContentAssessor",this._assessments=[new _i({parameters:{slightlyTooMany:250,farTooMany:300,recommendedMaximumLength:250},applicableIfTextLongerThan:250,cornerstoneContent:!0}),new fi,new yi({slightlyTooMany:20,farTooMany:25},!0),new xi,new vi,new wi,new bi]};r(21).inherits(da,ta);var fa=da;const ma=function(e,t){Ji.call(this,e,t),this.type="cornerstoneRelatedKeywordAssessor",this._assessments=[new Ai,new Si({isRelatedKeyphrase:!0}),new Di,new Ri,new qi,new Ei,new Ki({scores:{withAltNonKeyword:3,withAlt:3,noAlt:3}})]};Object(Ot.inherits)(ma,Ji);var va=ma;const ba=function(e,t){Ji.call(this,e,t),this.type="cornerstoneSEOAssessor",this._assessments=[new Ai,new Si,new Di,new Ri,new Mi({scores:{tooLong:3,tooShort:3}}),new Ii,new qi,new Ki({scores:{withAltNonKeyword:3,withAlt:3,noAlt:3}}),new zi,new Ni({recommendedMinimum:900,slightlyBelowMinimum:400,belowMinimum:300,scores:{belowMinimum:-20,farBelowMinimum:-20},cornerstoneContent:!0}),new Fi({scores:{noLinks:3}}),new Bi,new Ti,new $i({scores:{widthTooShort:9}},!0),new Hi({scores:{okay:3}}),new Ei,new Pi]};Object(Ot.inherits)(ba,Xi);var ya=ba;function _a(e,t){for(let r=0;r<t.length;r++)if(Object(b.includes)(e,t[r]))return!0;return!1}const wa=function(e,t){Ji.call(this,e,t),this.type="relatedKeywordsTaxonomyAssessor",this._assessments=[new Ai,new Si({isRelatedKeyphrase:!0}),new Di,new Ri,new Ei]};Object(Ot.inherits)(wa,Ji);var xa=wa;class Oa{constructor(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"analyze";if(!Object(b.isNumber)(e))throw new Error("Task.id should be a number.");if(!Object(b.isFunction)(t))throw new Error("Task.execute should be a function.");if(!Object(b.isFunction)(r))throw new Error("Task.done should be a function.");if(!Object(b.isObject)(n))throw new Error("Task.data should be an object.");this.id=e,this.execute=t,this.done=r,this.data=n,this.type=s}}const Ea={pollTime:50};const Ta={AssessmentResult:ci,Mark:Gn,Paper:aa,Sentence:wn,Clause:Js,ProminentWord:An};var Aa=function e(t){if(Object(b.isArray)(t))return t.map(e);const r=Object(b.isObject)(t);return r&&t._parseClass&&Ta[t._parseClass]?"Sentence"===t._parseClass||"Clause"===t._parseClass?Ta[t._parseClass].prototype.parse(t):Ta[t._parseClass].parse(t):r?Object(b.mapValues)(t,t=>e(t)):t},Ca=function e(t){if(Object(b.isArray)(t))return t.map(e);const r=Object(b.isObject)(t);return r&&t.serialize?t.serialize():r?Object(b.mapValues)(t,t=>e(t)):t},Sa=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"%%";r=Object(b.escapeRegExp)(r);const n=new RegExp(`${r}(.+?)${r}`,"g");let s,i=e;for(;null!==(s=n.exec(e));){const e=s[1],n=new RegExp(`${r}${Object(b.escapeRegExp)(e)}${r}`,"g");e in t&&(i=i.replace(n,t[e]))}return i};const ja=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";r&&(n=Sa(n,r));let s=n?[n]:[];return t.name&&t.message&&(t.stack&&e.debug(t.stack),s.push(`${t.name}: ${t.message}`)),s=s.join("\n\t"),e.error(s),s};function ka(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return async function(){try{return await t(...arguments)}catch(t){return{error:ja(e,t,arguments.length<=1?void 0:arguments[1],r)}}}}var Da=class{aggregate(e){console.warn("'aggregate' must be implemented by a child class of 'ScoreAggregator'")}};const Ra={bad:3,ok:2,good:0},La={bad:4,ok:2,good:0},Ma=["en","nl","de","it","ru","fr","es"];var Fa=class extends Da{isFullySupported(e){if(e&&e.includes("_")){const t=w(e);return Ma.includes(t)}return!1}calculateScore(e,t){if(e){if(t>6)return 30;if(t>4)return 60}else{if(t>4)return 30;if(t>2)return 60}return 90}calculatePenalty(e){return e.reduce((e,t)=>{const r=Qi(t.getScore()),n=this.isFullySupported(this.locale)?Ra[r]:La[r];return n?e+n:e},0)}getValidResults(e){return e.filter(e=>e.hasScore()&&e.hasText())}setLocale(e){this.locale=e}aggregate(e){const t=this.getValidResults(e);if(t.length<=1)return 0;const r=this.calculatePenalty(t),n=this.isFullySupported(this.locale);return this.calculateScore(n,r)}},$a=class extends Da{aggregate(e){const t=e.reduce((e,t)=>e+t.getScore(),0);return Math.round(100*t/(9*e.length))||0}};const Pa=Object(y.getLogger)("yoast-analysis-worker");Pa.setDefaultLevel("error");class Ia{constructor(e,t){this._scope=e,this._configuration={contentAnalysisActive:!0,keywordAnalysisActive:!0,useCornerstone:!1,useTaxonomy:!1,useKeywordDistribution:!1,locale:"en_US",customAnalysisType:"",useWordComplexity:!1},this._scheduler=new class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._configuration=Object(b.merge)(Ea,e),this._tasks={standard:[],extensions:[],analyze:[],analyzeRelatedKeywords:[]},this._pollHandle=null,this._started=!1,this.startPolling=this.startPolling.bind(this),this.stopPolling=this.stopPolling.bind(this),this.tick=this.tick.bind(this)}startPolling(){this._started||(this._started=!0,this.tick())}tick(){this.executeNextTask().then(()=>{this._pollHandle=setTimeout(this.tick,this._configuration.pollTime)})}stopPolling(){clearTimeout(this._pollHandle),this._pollHandle=null,this._started=!1}schedule(e){let{id:t,execute:r,done:n,data:s,type:i}=e;const a=new Oa(t,r,n,s,i);switch(i){case"customMessage":case"loadScript":this._tasks.extensions.push(a);break;case"analyze":this._tasks.analyze=[a];break;case"analyzeRelatedKeywords":this._tasks.analyzeRelatedKeywords=[a];break;default:this._tasks.standard.push(a)}}getNextTask(){return this._tasks.extensions.length>0?this._tasks.extensions.shift():this._tasks.analyze.length>0?this._tasks.analyze.shift():this._tasks.analyzeRelatedKeywords.length>0?this._tasks.analyzeRelatedKeywords.shift():this._tasks.standard.length>0?this._tasks.standard.shift():null}executeNextTask(){const e=this.getNextTask();return null===e?Promise.resolve(null):Promise.resolve().then(()=>e.execute(e.id,e.data)).then(t=>(e.done(e.id,t),t))}},this._paper=null,this._relatedKeywords={},this._researcher=t,this._contentAssessor=null,this._seoAssessor=null,this._relatedKeywordAssessor=null,this.additionalAssessors={},this._results={readability:{results:[],score:0},seo:{"":{results:[],score:0}}},this._registeredAssessments=[],this._registeredMessageHandlers={},this._registeredParsers=[],this.setupTreeAnalysis(),this.bindActions(),this.assessRelatedKeywords=this.assessRelatedKeywords.bind(this),this.registerAssessment=this.registerAssessment.bind(this),this.registerMessageHandler=this.registerMessageHandler.bind(this),this.refreshAssessment=this.refreshAssessment.bind(this),this.setCustomContentAssessorClass=this.setCustomContentAssessorClass.bind(this),this.setCustomCornerstoneContentAssessorClass=this.setCustomCornerstoneContentAssessorClass.bind(this),this.setCustomSEOAssessorClass=this.setCustomSEOAssessorClass.bind(this),this.setCustomCornerstoneSEOAssessorClass=this.setCustomCornerstoneSEOAssessorClass.bind(this),this.setCustomRelatedKeywordAssessorClass=this.setCustomRelatedKeywordAssessorClass.bind(this),this.setCustomCornerstoneRelatedKeywordAssessorClass=this.setCustomCornerstoneRelatedKeywordAssessorClass.bind(this),this.registerAssessor=this.registerAssessor.bind(this),this.registerResearch=this.registerResearch.bind(this),this.handleMessage=this.handleMessage.bind(this),this.analyzeRelatedKeywords=ka(Pa,this.analyze,"An error occurred while running the related keywords analysis."),this.analyze=ka(Pa,this.analyze,"An error occurred while running the analysis."),this.runResearch=ka(Pa,this.runResearch,"An error occurred after running the '%%name%%' research.")}bindActions(){this.analyze=this.analyze.bind(this),this.analyzeDone=this.analyzeDone.bind(this),this.analyzeRelatedKeywordsDone=this.analyzeRelatedKeywordsDone.bind(this),this.loadScript=this.loadScript.bind(this),this.loadScriptDone=this.loadScriptDone.bind(this),this.customMessage=this.customMessage.bind(this),this.customMessageDone=this.customMessageDone.bind(this),this.clearCache=this.clearCache.bind(this),this.runResearch=this.runResearch.bind(this),this.runResearchDone=this.runResearchDone.bind(this)}setCustomContentAssessorClass(e,t,r){this._CustomContentAssessorClasses[t]=e,this._CustomContentAssessorOptions[t]=r,this._contentAssessor=this.createContentAssessor()}setCustomCornerstoneContentAssessorClass(e,t,r){this._CustomCornerstoneContentAssessorClasses[t]=e,this._CustomCornerstoneContentAssessorOptions[t]=r,this._contentAssessor=this.createContentAssessor()}setCustomSEOAssessorClass(e,t,r){this._CustomSEOAssessorClasses[t]=e,this._CustomSEOAssessorOptions[t]=r,this._seoAssessor=this.createSEOAssessor()}setCustomCornerstoneSEOAssessorClass(e,t,r){this._CustomCornerstoneSEOAssessorClasses[t]=e,this._CustomCornerstoneSEOAssessorOptions[t]=r,this._seoAssessor=this.createSEOAssessor()}setCustomRelatedKeywordAssessorClass(e,t,r){this._CustomRelatedKeywordAssessorClasses[t]=e,this._CustomRelatedKeywordAssessorOptions[t]=r,this._relatedKeywordAssessor=this.createRelatedKeywordsAssessor()}setCustomCornerstoneRelatedKeywordAssessorClass(e,t,r){this._CustomCornerstoneRelatedKeywordAssessorClasses[t]=e,this._CustomCornerstoneRelatedKeywordAssessorOptions[t]=r,this._relatedKeywordAssessor=this.createRelatedKeywordsAssessor()}setupTreeAnalysis(){this._treeResearcher=null,this._contentTreeAssessor=null,this._seoTreeAssessor=null,this._relatedKeywordTreeAssessor=null,this._CustomSEOAssessorClasses={},this._CustomCornerstoneSEOAssessorClasses={},this._CustomContentAssessorClasses={},this._CustomCornerstoneContentAssessorClasses={},this._CustomRelatedKeywordAssessorClasses={},this._CustomCornerstoneRelatedKeywordAssessorClasses={},this._CustomSEOAssessorOptions={},this._CustomCornerstoneSEOAssessorOptions={},this._CustomContentAssessorOptions={},this._CustomCornerstoneContentAssessorOptions={},this._CustomRelatedKeywordAssessorOptions={},this._CustomCornerstoneRelatedKeywordAssessorOptions={},this._registeredTreeAssessments=[],this._seoScoreAggregator=new $a,this._contentScoreAggregator=new Fa,this._tree=null,this._treeBuilder=null}register(){this._scope.onmessage=this.handleMessage,this._scope.analysisWorker=this}handleMessage(e){let{data:{type:t,id:r,payload:n}}=e;switch(n=Aa(n),Pa.debug("AnalysisWebWorker incoming:",t,r,n),t){case"initialize":this.initialize(r,n),this._scheduler.startPolling();break;case"analyze":this._scheduler.schedule({id:r,execute:this.analyze,done:this.analyzeDone,data:n,type:t});break;case"analyzeRelatedKeywords":this._scheduler.schedule({id:r,execute:this.analyzeRelatedKeywords,done:this.analyzeRelatedKeywordsDone,data:n,type:t});break;case"loadScript":this._scheduler.schedule({id:r,execute:this.loadScript,done:this.loadScriptDone,data:n,type:t});break;case"runResearch":this._scheduler.schedule({id:r,execute:this.runResearch,done:this.runResearchDone,data:n});break;case"customMessage":{const e=n.name;if(e&&this._registeredMessageHandlers[e]){this._scheduler.schedule({id:r,execute:this.customMessage,done:this.customMessageDone,data:n,type:t});break}this.customMessageDone(r,{error:new Error("No message handler registered for messages with name: "+e)});break}default:console.warn("AnalysisWebWorker unrecognized action:",t)}}createContentAssessor(){let e=new Wi.WordComplexityAssessment;const{contentAnalysisActive:t,useCornerstone:r,customAnalysisType:n,useWordComplexity:s}=this._configuration;if(!1===t)return null;let i;return i=!0===r?this._CustomCornerstoneContentAssessorClasses[n]?new this._CustomCornerstoneContentAssessorClasses[n](this._researcher,this._CustomCornerstoneContentAssessorOptions[n]):new fa(this._researcher):this._CustomContentAssessorClasses[n]?new this._CustomContentAssessorClasses[n](this._researcher,this._CustomContentAssessorOptions[n]):new ta(this._researcher),s&&Object(b.isUndefined)(i.getAssessment("wordComplexity"))&&(!0===r?(e=new Wi.WordComplexityAssessment({scores:{acceptableAmount:3}}),i.addAssessment("wordComplexity",e)):i.addAssessment("wordComplexity",e)),this._registeredAssessments.forEach(e=>{let{name:t,assessment:r,type:n}=e;Object(b.isUndefined)(i.getAssessment(t))&&"readability"===n&&i.addAssessment(t,r)}),i}createSEOAssessor(){const e=new Vi.KeyphraseDistributionAssessment,{keywordAnalysisActive:t,useCornerstone:r,useKeywordDistribution:n,useTaxonomy:s,customAnalysisType:i}=this._configuration;if(!1===t)return null;let a;return a=!0===s?new na(this._researcher):!0===r?this._CustomCornerstoneSEOAssessorClasses[i]?new this._CustomCornerstoneSEOAssessorClasses[i](this._researcher,this._CustomCornerstoneSEOAssessorOptions[i]):new ya(this._researcher):this._CustomSEOAssessorClasses[i]?new this._CustomSEOAssessorClasses[i](this._researcher,this._CustomSEOAssessorOptions[i]):new Xi(this._researcher),n&&Object(b.isUndefined)(a.getAssessment("keyphraseDistribution"))&&a.addAssessment("keyphraseDistribution",e),this._registeredAssessments.forEach(e=>{let{name:t,assessment:r,type:n}=e;Object(b.isUndefined)(a.getAssessment(t))&&"seo"===n&&a.addAssessment(t,r)}),a}createRelatedKeywordsAssessor(){const{keywordAnalysisActive:e,useCornerstone:t,useTaxonomy:r,customAnalysisType:n}=this._configuration;if(!1===e)return null;let s;return s=!0===r?new xa(this._researcher):!0===t?this._CustomCornerstoneRelatedKeywordAssessorClasses[n]?new this._CustomCornerstoneRelatedKeywordAssessorClasses[n](this._researcher,this._CustomCornerstoneRelatedKeywordAssessorOptions[n]):new va(this._researcher):this._CustomRelatedKeywordAssessorClasses[n]?new this._CustomRelatedKeywordAssessorClasses[n](this._researcher,this._CustomRelatedKeywordAssessorOptions[n]):new la(this._researcher),this._registeredAssessments.forEach(e=>{let{name:t,assessment:r,type:n}=e;Object(b.isUndefined)(s.getAssessment(t))&&"relatedKeyphrase"===n&&s.addAssessment(t,r)}),s}send(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Pa.debug("AnalysisWebWorker outgoing:",e,t,r),r=Ca(r),this._scope.postMessage({type:e,id:t,payload:r})}static shouldAssessorsUpdate(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const n=Object.keys(e);return{readability:Object(b.isNull)(t)||_a(n,["contentAnalysisActive","useCornerstone","locale","translations","customAnalysisType","useWordComplexity"]),seo:Object(b.isNull)(r)||_a(n,["keywordAnalysisActive","useCornerstone","useTaxonomy","useKeywordDistribution","locale","translations","researchData","customAnalysisType"])}}initialize(e,t){const r=Ia.shouldAssessorsUpdate(t,this._contentAssessor,this._seoAssessor);Object(b.has)(t,"translations.locale_data.wordpress-seo")&&Object(v.setLocaleData)(t.translations.locale_data["wordpress-seo"],"wordpress-seo"),Object(b.has)(t,"researchData")&&(Object(b.forEach)(t.researchData,(e,t)=>{this._researcher.addResearchData(t,e)}),delete t.researchData),Object(b.has)(t,"defaultQueryParams")&&(Object(oi.a)({params:t.defaultQueryParams}),delete t.defaultQueryParams),Object(b.has)(t,"logLevel")&&(Pa.setLevel(t.logLevel,!1),delete t.logLevel),Object(b.has)(t,"enabledFeatures")&&(Object(m.enableFeatures)(t.enabledFeatures),delete t.enabledFeatures),this._configuration=Object(b.merge)(this._configuration,t),r.readability&&(this._contentAssessor=this.createContentAssessor(),this._contentTreeAssessor=null),r.seo&&(this._seoAssessor=this.createSEOAssessor(),this._relatedKeywordAssessor=this.createRelatedKeywordsAssessor()),this.clearCache(),this.send("initialize:done",e)}registerAssessment(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"seo";if(!Object(b.isString)(e))throw new At("Failed to register assessment for plugin "+r+". Expected parameter `name` to be a string.");if(!Object(b.isObject)(t))throw new At("Failed to register assessment for plugin "+r+". Expected parameter `assessment` to be a function.");if(!Object(b.isString)(r))throw new At("Failed to register assessment for plugin "+r+". Expected parameter `pluginName` to be a string.");const s=r+"-"+e;return null!==this._seoAssessor&&"seo"===n&&this._seoAssessor.addAssessment(s,t),null!==this._contentAssessor&&"readability"===n&&this._contentAssessor.addAssessment(s,t),null!==this._relatedKeywordAssessor&&"relatedKeyphrase"===n&&this._relatedKeywordAssessor.addAssessment(s,t),this._registeredAssessments.push({combinedName:s,assessment:t,type:n}),this.refreshAssessment(e,r),!0}registerAssessor(e,t,r){const n=new t(this._researcher);this.additionalAssessors[e]={assessor:n,shouldUpdate:r}}registerMessageHandler(e,t,r){if(!Object(b.isString)(e))throw new At("Failed to register handler for plugin "+r+". Expected parameter `name` to be a string.");if(!Object(b.isObject)(t))throw new At("Failed to register handler for plugin "+r+". Expected parameter `handler` to be a function.");if(!Object(b.isString)(r))throw new At("Failed to register handler for plugin "+r+". Expected parameter `pluginName` to be a string.");e=r+"-"+e,this._registeredMessageHandlers[e]=t}refreshAssessment(e,t){if(!Object(b.isString)(e))throw new At("Failed to refresh assessment for plugin "+t+". Expected parameter `name` to be a string.");if(!Object(b.isString)(t))throw new At("Failed to refresh assessment for plugin "+t+". Expected parameter `pluginName` to be a string.");this.clearCache()}registerParser(e){if("function"!=typeof e.isApplicable)throw new At("Failed to register the custom parser. Expected parameter 'parser' to have a method 'isApplicable'.");if("function"!=typeof e.parse)throw new At("Failed to register the custom parser. Expected parameter 'parser' to have a method 'parse'.");this._registeredParsers.push(e)}clearCache(){this._paper=null}setLocale(e){this._configuration.locale!==e&&(this._configuration.locale=e,this._contentAssessor=this.createContentAssessor())}shouldReadabilityUpdate(e){return null===this._paper||this._paper.getText()!==e.getText()||this._paper.getLocale()!==e.getLocale()}shouldSeoUpdate(e,t){let{keyword:r,synonyms:n}=t;return!!Object(b.isUndefined)(this._relatedKeywords[e])||this._relatedKeywords[e].keyword!==r||this._relatedKeywords[e].synonyms!==n}async analyze(e,t){let{paper:r,relatedKeywords:n={}}=t;r._text=Object(f.autop)(r._text),r._text=ga(r._text);const s=null===this._paper||!this._paper.equals(r),i=this.shouldReadabilityUpdate(r),a={};if(Object.keys(this.additionalAssessors).forEach(e=>{const t=this.additionalAssessors[e].shouldUpdate(this._paper,r);a[e]=t}),s&&(this._paper=r,this._researcher.setPaper(this._paper),this.setLocale(this._paper.getLocale())),this._configuration.keywordAnalysisActive&&this._seoAssessor&&(s&&(this._results.seo[""]=await this.assess(this._paper,this._tree,{oldAssessor:this._seoAssessor,treeAssessor:this._seoTreeAssessor,scoreAggregator:this._seoScoreAggregator})),!Object(b.isEmpty)(n))){const e=Object.keys(n);(await this.assessRelatedKeywords(r,this._tree,n)).forEach(e=>{this._results.seo[e.key]=e.results}),e.length>1&&(this._results.seo=Object(b.pickBy)(this._results.seo,(t,r)=>Object(b.includes)(e,r)||""===r))}if(this._configuration.contentAnalysisActive&&this._contentAssessor&&i){const e={oldAssessor:this._contentAssessor,treeAssessor:this._contentTreeAssessor,scoreAggregator:this._contentScoreAggregator};e.scoreAggregator.setLocale(this._configuration.locale),this._results.readability=await this.assess(this._paper,this._tree,e)}return Object.keys(this.additionalAssessors).forEach(e=>{const{assessor:t}=this.additionalAssessors[e];this._results[e]&&!a[e]||(t.assess(this._paper),this._results[e]={results:t.results,score:t.calculateOverallScore()})}),this._results}async assess(e,t,r){const{oldAssessor:n,scoreAggregator:s}=r;n.assess(e);const i=[...n.results];return{results:i,score:s.aggregate(i)}}generateAssessmentError(e){const t=new ci;return t.setScore(-1),t.setText(Object(v.sprintf)(
/* Translators: %1$s expands to the name of the assessment. */
Object(v.__)("An error occurred in the '%1$s' assessment","wordpress-seo"),e.name)),t}async assessRelatedKeywords(e,t,r){const n=Object.keys(r);return await Promise.all(n.map(n=>{this._relatedKeywords[n]=r[n];const s=aa.parse({...e.serialize(),keyword:this._relatedKeywords[n].keyword,synonyms:this._relatedKeywords[n].synonyms}),i={oldAssessor:this._relatedKeywordAssessor,treeAssessor:this._relatedKeywordTreeAssessor,scoreAggregator:this._seoScoreAggregator};return this.assess(s,t,i).then(e=>({key:n,results:e}))}))}loadScript(e,t){let{url:r}=t;if(Object(b.isUndefined)(r))return{loaded:!1,url:r,message:"Load Script was called without an URL."};try{this._scope.importScripts(r)}catch(e){return{loaded:!1,url:r,message:e.message}}return{loaded:!0,url:r}}loadScriptDone(e,t){t.loaded?this.send("loadScript:done",e,t):this.send("loadScript:failed",e,t)}analyzeDone(e,t){t.error?this.send("analyze:failed",e,t):this.send("analyze:done",e,t)}analyzeRelatedKeywordsDone(e,t){t.error?this.send("analyzeRelatedKeywords:failed",e,t):this.send("analyzeRelatedKeywords:done",e,t)}customMessage(e,t){let{name:r,data:n}=t;try{return{success:!0,data:this._registeredMessageHandlers[r](n)}}catch(e){return{error:e}}}customMessageDone(e,t){t.success?this.send("customMessage:done",e,t.data):this.send("customMessage:failed",t.error)}registerResearch(e,t){const r=this._researcher;r.hasResearch(e)||r.addResearch(e,t)}runResearch(e,t){let{name:r,paper:n=null}=t;const s=this._researcher.getData("morphology"),i=this._researcher;return null!==n&&(i.setPaper(n),i.addResearchData("morphology",s)),i.getResearch(r)}runResearchDone(e,t){t.error?this.send("runResearch:failed",e,t):this.send("runResearch:done",e,t)}}class qa{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.result=e,this.data=t}}var Na=class{constructor(e){this._worker=e,this._requests={},this._autoIncrementedRequestId=-1,this.initialize=this.initialize.bind(this),this.analyze=this.analyze.bind(this),this.analyzeRelatedKeywords=this.analyzeRelatedKeywords.bind(this),this.loadScript=this.loadScript.bind(this),this.sendMessage=this.sendMessage.bind(this),this.runResearch=this.runResearch.bind(this),this.handleMessage=this.handleMessage.bind(this),this.handleMessageError=this.handleMessageError.bind(this),this.handleError=this.handleError.bind(this),this._worker.onmessage=this.handleMessage,this._worker.onmessageerror=this.handleMessageError,this._worker.onerror=this.handleError}handleMessage(e){let{data:{type:t,id:r,payload:n}}=e;const s=this._requests[r];if(s){switch(n=Aa(n),t){case"initialize:done":case"loadScript:done":case"customMessage:done":case"runResearch:done":case"analyzeRelatedKeywords:done":case"analyze:done":s.resolve(n);break;case"analyze:failed":case"loadScript:failed":case"customMessage:failed":case"runResearch:failed":case"analyzeRelatedKeywords:failed":s.reject(n);break;default:console.warn("AnalysisWebWorker unrecognized action:",t)}delete this._requests[r]}else console.warn("AnalysisWebWorker unmatched response:",n)}handleMessageError(e){console.warn("AnalysisWebWorker message error:",e)}handleError(e){const t=Object.keys(this._requests),r=t[t.length-1],n=this._requests[r];n?n.reject(e):console.error("AnalysisWebWorker error:",e)}createRequestId(){return this._autoIncrementedRequestId++,this._autoIncrementedRequestId}createRequestPromise(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((r,n)=>{this._requests[e]=new class{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this._resolve=e,this._reject=t,this._data=r}resolve(){const e=new qa(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},this._data);this._resolve(e)}reject(){const e=new qa(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},this._data);this._reject(e)}}(r,n,t)})}sendRequest(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=this.createRequestId(),s=this.createRequestPromise(n,r);return this.send(e,n,t),s}send(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r=Ca(r),this._worker.postMessage({type:e,id:t,payload:r})}initialize(e){return this.sendRequest("initialize",e)}analyzeRelatedKeywords(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.sendRequest("analyzeRelatedKeywords",{paper:e,relatedKeywords:t})}analyze(e){return this.sendRequest("analyze",{paper:e})}loadScript(e){return this.sendRequest("loadScript",{url:e})}sendMessage(e,t,r){return e=r+"-"+e,this.sendRequest("customMessage",{name:e,data:t},t)}runResearch(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.sendRequest("runResearch",{name:e,paper:t})}};function Ba(e){const t=function(e){const t=window.URL||window.webkitURL,r=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder,n=`\n\t\ttry {\n\t\t\t${function(e){return`\n\t\tself.yoastOriginalUrl = '${e}';\n\t\timportScripts('${e}');\n\t`}(e)}\n\t\t} catch ( error ) {\n\t\t\tconsole.log( "Error occurred during worker initialization:" );\n\t\t\tconsole.log( error );\n\t\t}\n\t`;let s;try{s=new Blob([n],{type:"application/javascript"})}catch(e){const t=new r;t.append(n),s=t.getBlob("application/javascript")}return t.createObjectURL(s)}(e);return new Worker(t)}var Ua=function(e){if(t=window.location,r=e,t=new URL(t,window.location.origin),r=new URL(r,window.location.origin),t.hostname!==r.hostname||t.port!==r.port||t.protocol!==r.protocol)return Ba(e);var t,r;let n=null;try{n=new Worker(e)}catch(t){try{n=Ba(e)}catch(e){throw e}}return n},Ha=function(e,t){if(Object(b.isUndefined)(e))throw new St("The previously keyword plugin requires the YoastSEO app");Object(b.isUndefined)(t)&&(t={usedKeywords:{},searchUrl:"",postUrl:""}),this.app=e,this.usedKeywords=t.usedKeywords,this.searchUrl=t.searchUrl,this.postUrl=t.postUrl,this.urlTitle=Object(oi.b)("https://yoa.st/33x"),this.urlCallToAction=Object(oi.b)("https://yoa.st/33y")};Ha.prototype.registerPlugin=function(){this.app.registerAssessment("usedKeywords",{getResult:this.assess.bind(this),isApplicable:function(e){return e.hasKeyword()}},"previouslyUsedKeywords")},Ha.prototype.updateKeywordUsage=function(e){this.usedKeywords=e},Ha.prototype.scoreAssessment=function(e,t){var r=e.count,n=e.id;if(0===r)return{text:Object(v.sprintf)(
/* Translators:
      %1$s expands to a link to an article on yoast.com,
      %2$s expands to an anchor tag. */
Object(v.__)("%1$sPreviously used keyphrase%2$s: You've not used this keyphrase before, very good.","wordpress-seo"),this.urlTitle,"</a>"),score:9};if(1===r){var s="<a href='"+this.postUrl.replace("{id}",n)+"' target='_blank'>";return{
/* Translators: %1$s and %2$s expand to an admin link where the keyword is already used. %3$s and %4$s
      expand to links on yoast.com, %4$s expands to the anchor end tag. */
text:Object(v.sprintf)(Object(v.__)("%3$sPreviously used keyphrase%5$s: You've used this keyphrase %1$sonce before%2$s. %4$sDo not use your keyphrase more than once%5$s.","wordpress-seo"),s,"</a>",this.urlTitle,this.urlCallToAction,"</a>"),score:6}}return r>1?(s="<a href='"+this.searchUrl.replace("{keyword}",encodeURIComponent(t.getKeyword()))+"' target='_blank'>",{
/* Translators: %1$s and $3$s expand to the admin search page for the keyword, %2$d expands to the number
      of times this keyword has been used before, %4$s and %5$s expand to links to yoast.com, %6$s expands to
      the anchor end tag */
text:Object(v.sprintf)(Object(v.__)("%4$sPreviously used keyphrase%6$s: You've used this keyphrase %1$s%2$d times before%3$s. %5$sDo not use your keyphrase more than once%6$s.","wordpress-seo"),s,r,"</a>",this.urlTitle,this.urlCallToAction,"</a>"),score:1}):void 0},Ha.prototype.researchPreviouslyUsedKeywords=function(e){var t=e.getKeyword(),r=0,n=0;return Object(b.isUndefined)(this.usedKeywords[t])||(r=this.usedKeywords[t].length,n=this.usedKeywords[t][0]),{id:n,count:r}},Ha.prototype.assess=function(e){var t=this.researchPreviouslyUsedKeywords(e),r=this.scoreAssessment(t,e),n=new ci;return n.setScore(r.score),n.setText(r.text),n};var Ka=Ha;const za=function(e){let t=document.getElementById("yoast-measurement-element");return t||(t=function(){const e=document.createElement("div");return e.id="yoast-measurement-element",e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="arial, sans-serif",e.style.fontSize="20px",e.style.fontWeight="400",document.body.appendChild(e),e}()),t.innerHTML=e,t.offsetWidth};function Wa(){return["en","de","es","fr","it","nl","ru","id","pt","pl","ar","sv","he","hu","nb","tr","cs","sk","el","ja"]}function Va(){return["en","es","de","fr"]}var Ga=function(e){return e.replace(new RegExp("<yoastmark[^>]*>","g"),"").replace(new RegExp("</yoastmark>","g"),"")},Ya=function(){const e=Object(v.__)("Content optimization:","wordpress-seo");return{feedback:{className:"na",screenReaderText:Object(v.__)("Feedback","wordpress-seo"),fullText:`${e} ${Object(v.__)("Has feedback","wordpress-seo")}`,screenReaderReadabilityText:""},bad:{className:"bad",screenReaderText:Object(v.__)("Needs improvement","wordpress-seo"),fullText:`${e} ${Object(v.__)("Needs improvement","wordpress-seo")}`,screenReaderReadabilityText:Object(v.__)("Needs improvement","wordpress-seo")},ok:{className:"ok",screenReaderText:Object(v.__)("OK SEO score","wordpress-seo"),fullText:`${e} ${Object(v.__)("OK SEO score","wordpress-seo")}`,screenReaderReadabilityText:Object(v.__)("OK","wordpress-seo")},good:{className:"good",screenReaderText:Object(v.__)("Good SEO score","wordpress-seo"),fullText:`${e} ${Object(v.__)("Good SEO score","wordpress-seo")}`,screenReaderReadabilityText:Object(v.__)("Good","wordpress-seo")}}},Ja=Object(b.memoize)((function(e,t,r){return Object(b.isUndefined)(t)&&(t=""),(Object(b.isUndefined)(r)||!0===r)&&(e=_(e)),e=mt(e),e=Object(b.escapeRegExp)(e),e=Ue(e,!1,t),new RegExp(e,"ig")})),Za=r(84),Xa=r.n(Za),Qa={hasClass:function(e,t){return e.className.indexOf(t)>-1},addClass:function(e,t){var r=e.className.split(" ");-1===r.indexOf(t)&&r.push(t),e.className=r.join(" ")},removeClass:function(e,t){var r=e.className.split(" "),n=r.indexOf(t);-1!==n&&r.splice(n,1),e.className=r.join(" ")},removeClasses:function(e,t){Object(b.forEach)(t,this.removeClass.bind(null,e))}},eo={desktop:"snippet-editor__view--desktop",mobile:"snippet-editor__view--mobile"},to=function(e,t){this.previewMode=e,this.previewToggles=t,this.viewElement=document.getElementById("snippet-preview-view")};to.prototype.initialize=function(){this._setPreviewMode(this.previewMode,this._findElementByMode(this.previewMode))},to.prototype.bindClickEvent=function(e){e.addEventListener("click",function(){this._setPreviewMode(e.getAttribute("data-type"),e),this.removeTooltipAbility(e)}.bind(this))},to.prototype.bindMouseleaveEvent=function(e){e.addEventListener("mouseleave",function(){this.removeTooltipAbility(e)}.bind(this))},to.prototype.bindBlurEvent=function(e){e.addEventListener("blur",function(){this.restoreTooltipAbility(e)}.bind(this))},to.prototype.bindMouseenterEvent=function(e){e.addEventListener("mouseenter",function(){this.restoreTooltipAbility(e)}.bind(this))},to.prototype.bindEvents=function(){Object(b.forEach)(this.previewToggles,function(e){this.bindClickEvent(e),this.bindMouseleaveEvent(e),this.bindBlurEvent(e),this.bindMouseenterEvent(e)}.bind(this))},to.prototype._findElementByMode=function(e){return document.getElementsByClassName("snippet-editor__view-icon-"+e)[0]},to.prototype._setPreviewMode=function(e,t){this._removeActiveStates(),this._setActiveState(t),Qa.removeClass(this.viewElement,eo[this.previewMode]),Qa.addClass(this.viewElement,eo[e]),this.previewMode=e},to.prototype.setDesktopMode=function(){this._setPreviewMode("desktop",this._findElementByMode("desktop"))},to.prototype.setMobileMode=function(){this._setPreviewMode("mobile",this._findElementByMode("mobile"))},to.prototype.setVisibility=function(e){e<640?(this.setMobileMode(),Qa.addClass(this.viewElement,"snippet-editor__view--desktop-has-scroll")):this.setDesktopMode()},to.prototype.setScrollHintVisibility=function(e){Qa.removeClass(this.viewElement,"snippet-editor__view--desktop-has-scroll"),e<640&&Qa.addClass(this.viewElement,"snippet-editor__view--desktop-has-scroll")},to.prototype._removeActiveStates=function(){Object(b.forEach)(this.previewToggles,this._removeActiveState.bind(this))},to.prototype._removeActiveState=function(e){Qa.removeClass(e,"snippet-editor__view-icon-"+e.getAttribute("data-type")+"--active"),Qa.removeClass(e,"snippet-editor__view-icon--active"),e.setAttribute("aria-pressed","false")},to.prototype.removeTooltipAbility=function(e){Qa.addClass(e,"yoast-tooltip-hidden")},to.prototype.restoreTooltipAbility=function(e){Qa.removeClass(e,"yoast-tooltip-hidden")},to.prototype._setActiveState=function(e){Qa.addClass(e,"snippet-editor__view-icon-"+e.getAttribute("data-type")+"--active"),Qa.addClass(e,"snippet-editor__view-icon--active"),e.setAttribute("aria-pressed","true")};var ro=to,no=Xa.a.snippetEditor,so=Xa.a.hiddenSpan,io={data:{title:"",metaDesc:"",urlPath:"",titleWidth:0,metaHeight:0},placeholder:{title:"",metaDesc:"",urlPath:"example-post/"},defaultValue:{title:"",metaDesc:""},baseURL:"http://example.com/",callbacks:{saveSnippetData:function(){}},addTrailingSlash:!0,metaDescriptionDate:"",previewMode:"desktop"},ao=[{preview:"title_container",inputField:"title"},{preview:"url_container",inputField:"urlPath"},{preview:"meta_container",inputField:"metaDesc"}],oo=function(){var e=this.opts.baseURL;return this.hasApp()&&!Object(b.isEmpty)(this.refObj.rawData.baseUrl)&&this.opts.baseURL===io.baseURL&&(e=this.refObj.rawData.baseUrl),e};function lo(e){return this.data[e]}function uo(e,t){this.element.input[e].value=t,this.data[e]=t}function co(e,t,r,n){var s;e.value=t,Qa.removeClasses(e,["snippet-editor__progress--bad","snippet-editor__progress--ok","snippet-editor__progress--good"]),Qa.addClass(e,"snippet-editor__progress--"+n),this.hasProgressSupport||(s=t/r*100,e.getElementsByClassName("snippet-editor__progress-bar")[0].style.width=s+"%")}var ho=function(e){if(Object(b.defaultsDeep)(e,io),this.data=e.data,Object(b.isUndefined)(e.analyzerApp)||(this.refObj=e.analyzerApp,this.data={title:this.refObj.rawData.snippetTitle||"",urlPath:this.refObj.rawData.snippetCite||"",metaDesc:this.refObj.rawData.snippetMeta||""},Object(b.isEmpty)(this.refObj.rawData.metaTitle)||(e.placeholder.title=this.refObj.rawData.metaTitle)),!Object(b.isElement)(e.targetElement))throw new Error("The snippet preview requires a valid target element");this.opts=e,this._currentFocus=null,this._currentHover=null,this.unformattedText={},Object.defineProperty(this.unformattedText,"snippet_cite",{get:lo.bind(this,"urlPath"),set:uo.bind(this,"urlPath")}),Object.defineProperty(this.unformattedText,"snippet_meta",{get:lo.bind(this,"metaDesc"),set:uo.bind(this,"metaDesc")}),Object.defineProperty(this.unformattedText,"snippet_title",{get:lo.bind(this,"title"),set:uo.bind(this,"title")})};function po(){var e=this.data.title;return Object(b.isEmpty)(e)&&(e=this.opts.defaultValue.title),this.hasPluggable()&&(e=this.refObj.pluggable._applyModifications("data_page_title",e)),Ve(e)}ho.prototype.renderTemplate=function(){var e,t=this.opts.targetElement;t.innerHTML=no({raw:{title:this.data.title,snippetCite:this.data.urlPath,meta:this.data.metaDesc},rendered:{title:this.formatTitle(),baseUrl:this.formatUrl(),snippetCite:this.formatCite(),meta:this.formatMeta()},metaDescriptionDate:this.opts.metaDescriptionDate,placeholder:this.opts.placeholder,i18n:{edit:Object(v.__)("Edit snippet","wordpress-seo"),title:Object(v.__)("SEO title","wordpress-seo"),slug:Object(v.__)("Slug","wordpress-seo"),metaDescription:Object(v.__)("Meta description","wordpress-seo"),save:Object(v.__)("Close snippet editor","wordpress-seo"),snippetPreview:Object(v.__)("Google preview","wordpress-seo"),titleLabel:Object(v.__)("SEO title preview:","wordpress-seo"),slugLabel:Object(v.__)("Slug preview:","wordpress-seo"),metaDescriptionLabel:Object(v.__)("Meta description preview:","wordpress-seo"),snippetPreviewDescription:Object(v.__)("You can click on each element in the preview to jump to the Snippet Editor.","wordpress-seo"),desktopPreviewMode:Object(v.__)("Desktop preview","wordpress-seo"),mobilePreviewMode:Object(v.__)("Mobile preview","wordpress-seo"),isScrollableHint:Object(v.__)("Scroll to see the preview content.","wordpress-seo")}}),this.element={measurers:{metaHeight:null},rendered:{title:document.getElementById("snippet_title"),urlBase:document.getElementById("snippet_citeBase"),urlPath:document.getElementById("snippet_cite"),metaDesc:document.getElementById("snippet_meta")},input:{title:t.getElementsByClassName("js-snippet-editor-title")[0],urlPath:t.getElementsByClassName("js-snippet-editor-slug")[0],metaDesc:t.getElementsByClassName("js-snippet-editor-meta-description")[0]},progress:{title:t.getElementsByClassName("snippet-editor__progress-title")[0],metaDesc:t.getElementsByClassName("snippet-editor__progress-meta-description")[0]},container:document.getElementById("snippet_preview"),formContainer:t.getElementsByClassName("snippet-editor__form")[0],editToggle:t.getElementsByClassName("snippet-editor__edit-button")[0],closeEditor:t.getElementsByClassName("snippet-editor__submit")[0],formFields:t.getElementsByClassName("snippet-editor__form-field")},this.element.label={title:this.element.input.title.parentNode,urlPath:this.element.input.urlPath.parentNode,metaDesc:this.element.input.metaDesc.parentNode},this.element.preview={title:this.element.rendered.title.parentNode,urlPath:this.element.rendered.urlPath.parentNode,metaDesc:this.element.rendered.metaDesc.parentNode},this.hasProgressSupport=(e=document.createElement("progress"),!Object(b.isUndefined)(e.max)),this.hasProgressSupport?(this.element.progress.title.max=600,this.element.progress.metaDesc.max=156):Object(b.forEach)(this.element.progress,(function(e){Qa.addClass(e,"snippet-editor__progress--fallback")})),this.initPreviewToggler(),this.setInitialView(),this.opened=!1,this.createMeasurementElements(),this.updateProgressBars()},ho.prototype.initPreviewToggler=function(){this.snippetPreviewToggle=new ro(this.opts.previewMode,this.opts.targetElement.getElementsByClassName("snippet-editor__view-icon")),this.snippetPreviewToggle.initialize(),this.snippetPreviewToggle.bindEvents()},ho.prototype.refresh=function(){this.output=this.htmlOutput(),this.renderOutput(),this.renderSnippetStyle(),this.measureTitle(),this.measureMetaDescription(),this.updateProgressBars()};var go=function(){var e=this.data.metaDesc;return Object(b.isEmpty)(e)&&(e=this.opts.defaultValue.metaDesc),this.hasPluggable()&&(e=this.refObj.pluggable._applyModifications("data_meta_desc",e)),Object(b.isEmpty)(this.opts.metaDescriptionDate)||Object(b.isEmpty)(e)||(e=this.opts.metaDescriptionDate+" - "+this.data.metaDesc),Ve(e)};ho.prototype.getAnalyzerData=function(){return{title:po.call(this),url:this.data.urlPath,metaDesc:go.call(this)}},ho.prototype.callRegisteredEventBinder=function(){this.hasApp()&&this.refObj.callbacks.bindElementEvents(this.refObj)},ho.prototype.init=function(){this.hasApp()&&null!==this.refObj.rawData.metaTitle&&null!==this.refObj.rawData.cite&&this.refresh()},ho.prototype.htmlOutput=function(){var e={};return e.title=this.formatTitle(),e.cite=this.formatCite(),e.meta=this.formatMeta(),e.url=this.formatUrl(),e},ho.prototype.formatTitle=function(){var e=this.data.title;return Object(b.isEmpty)(e)&&(e=this.opts.defaultValue.title),Object(b.isEmpty)(e)&&(e=this.opts.placeholder.title),this.hasPluggable()&&this.refObj.pluggable.loaded&&(e=this.refObj.pluggable._applyModifications("data_page_title",e)),e=gt(e),Object(b.isEmpty)(e)&&(e=Object(v.__)("Please provide an SEO title by editing the snippet below.","wordpress-seo")),e},ho.prototype.formatUrl=function(){return oo.call(this).replace(/http:\/\//gi,"")},ho.prototype.formatCite=function(){var e,t=this.data.urlPath;return t=_(gt(t)),Object(b.isEmpty)(t)&&(t=this.opts.placeholder.urlPath),this.hasApp()&&!Object(b.isEmpty)(this.refObj.rawData.keyword)&&(t=this.formatKeywordUrl(t)),this.opts.addTrailingSlash&&(e=t).indexOf("/")!==e.length-1&&(t+="/"),(t=t.replace(/\s/g,"-")).replace(/\?|#/g,"")},ho.prototype.formatMeta=function(){var e=this.data.metaDesc;return Object(b.isEmpty)(e)&&(e=this.getMetaText()),this.hasPluggable()&&this.refObj.pluggable.loaded&&(e=this.refObj.pluggable._applyModifications("data_meta_desc",e)),e=(e=gt(e)).substring(0,156),this.hasApp()&&!Object(b.isEmpty)(this.refObj.rawData.keyword)&&(e=this.formatKeyword(e)),Object(b.isEmpty)(e)&&(e=Object(v.__)("Please provide a meta description by editing the snippet below.","wordpress-seo")),e},ho.prototype.getMetaText=function(){var e=this.opts.defaultValue.metaDesc;return this.hasApp()&&!Object(b.isUndefined)(this.refObj.rawData.excerpt)&&Object(b.isEmpty)(e)&&(e=this.refObj.rawData.excerpt),this.hasApp()&&!Object(b.isUndefined)(this.refObj.rawData.text)&&Object(b.isEmpty)(e)&&(e=this.refObj.rawData.text,this.hasPluggable()&&this.refObj.pluggable.loaded&&(e=this.refObj.pluggable._applyModifications("content",e))),(e=gt(e)).substring(0,156)},ho.prototype.getIndexMatches=function(){for(var e=[],t=0,r=this.refObj.rawData.text.indexOf(this.refObj.rawData.keyword,t);r>-1;)e.push(r),t=r+this.refObj.rawData.keyword.length,r=this.refObj.rawData.text.indexOf(this.refObj.rawData.keyword,t);return e},ho.prototype.getPeriodMatches=function(){for(var e,t=[0],r=0;(e=this.refObj.rawData.text.indexOf(".",r))>-1;)t.push(e),r=e+1;return t},ho.prototype.formatKeyword=function(e){var t=this.refObj.rawData.keyword,r=Ja(t,"",!1);e=e.replace(r,(function(e){return"<strong>"+e+"</strong>"}));var n=Be(t,this.refObj.rawData.locale);return n!==t&&(r=Ja(n,"",!1),e=e.replace(r,(function(e){return"<strong>"+e+"</strong>"}))),e},ho.prototype.formatKeywordUrl=function(e){var t=this.refObj.rawData.keyword,r=(t=(t=Be(t,this.refObj.rawData.locale)).replace(/'/,"")).replace(/\s/g,"-"),n=Ja(r,"\\-");return e.replace(n,(function(e){return"<strong>"+e+"</strong>"}))},ho.prototype.renderOutput=function(){this.element.rendered.title.innerHTML=this.output.title,this.element.rendered.urlPath.innerHTML=this.output.cite,this.element.rendered.urlBase.innerHTML=this.output.url,this.element.rendered.metaDesc.innerHTML=this.output.meta},ho.prototype.renderSnippetStyle=function(){var e=this.element.rendered.metaDesc,t=go.call(this);Object(b.isEmpty)(t)?(Qa.addClass(e,"desc-render"),Qa.removeClass(e,"desc-default")):(Qa.addClass(e,"desc-default"),Qa.removeClass(e,"desc-render"))},ho.prototype.reRender=function(){this.init()},ho.prototype.checkTextLength=function(e){var t=e.currentTarget.textContent;switch(e.currentTarget.id){case"snippet_meta":e.currentTarget.className="desc",t.length>156&&(YoastSEO.app.snippetPreview.unformattedText.snippet_meta=e.currentTarget.textContent,e.currentTarget.textContent=t.substring(0,156));break;case"snippet_title":e.currentTarget.className="title",t.length>600&&(YoastSEO.app.snippetPreview.unformattedText.snippet_title=e.currentTarget.textContent,e.currentTarget.textContent=t.substring(0,600))}},ho.prototype.getUnformattedText=function(e){var t=e.currentTarget.id;void 0!==this.unformattedText[t]&&(e.currentTarget.textContent=this.unformattedText[t])},ho.prototype.setUnformattedText=function(e){var t=e.currentTarget.id;this.unformattedText[t]=document.getElementById(t).textContent},ho.prototype.validateFields=function(){var e=go.call(this),t=po.call(this);e.length>156?Qa.addClass(this.element.input.metaDesc,"snippet-editor__field--invalid"):Qa.removeClass(this.element.input.metaDesc,"snippet-editor__field--invalid"),t.length>600?Qa.addClass(this.element.input.title,"snippet-editor__field--invalid"):Qa.removeClass(this.element.input.title,"snippet-editor__field--invalid")},ho.prototype.updateProgressBars=function(){var e,t,r;r=go.call(this),t=function(e){var t;switch(!0){case e>0&&e<=399:case e>600:t="ok";break;case e>=400&&e<=600:t="good";break;default:t="bad"}return t}(this.data.titleWidth),e=function(e){var t;switch(!0){case e>0&&e<120:case e>156:t="ok";break;case e>=120&&e<=156:t="good";break;default:t="bad"}return t}(r.length),co.call(this,this.element.progress.title,this.data.titleWidth,600,t),co.call(this,this.element.progress.metaDesc,r.length,156,e)},ho.prototype.setInitialView=function(){var e=document.getElementById("snippet_preview").getBoundingClientRect().width;this.snippetPreviewToggle.setVisibility(e)},ho.prototype.handleWindowResizing=Object(b.debounce)((function(){var e=document.getElementById("snippet_preview").getBoundingClientRect().width;this.snippetPreviewToggle.setScrollHintVisibility(e)}),25),ho.prototype.bindEvents=function(){var e;Object(b.forEach)(["title","slug","meta-description"],function(t){(e=document.getElementsByClassName("js-snippet-editor-"+t)[0]).addEventListener("keydown",this.changedInput.bind(this)),e.addEventListener("keyup",this.changedInput.bind(this)),e.addEventListener("input",this.changedInput.bind(this)),e.addEventListener("focus",this.changedInput.bind(this)),e.addEventListener("blur",this.changedInput.bind(this))}.bind(this)),this.element.editToggle.addEventListener("click",this.toggleEditor.bind(this)),this.element.closeEditor.addEventListener("click",this.closeEditor.bind(this)),window.addEventListener("resize",this.handleWindowResizing.bind(this)),Object(b.forEach)(ao,function(e){var t=document.getElementById(e.preview),r=this.element.input[e.inputField];t.addEventListener("click",function(){this.openEditor(),r.focus()}.bind(this)),r.addEventListener("focus",function(){this._currentFocus=e.inputField,this._updateFocusCarets()}.bind(this)),r.addEventListener("blur",function(){this._currentFocus=null,this._updateFocusCarets()}.bind(this)),t.addEventListener("mouseover",function(){this._currentHover=e.inputField,this._updateHoverCarets()}.bind(this)),t.addEventListener("mouseout",function(){this._currentHover=null,this._updateHoverCarets()}.bind(this))}.bind(this))},ho.prototype.changedInput=Object(b.debounce)((function(){this.updateDataFromDOM(),this.validateFields(),this.updateProgressBars(),this.refresh(),this.hasApp()&&this.refObj.refresh()}),25),ho.prototype.updateDataFromDOM=function(){this.data.title=this.element.input.title.value,this.data.urlPath=this.element.input.urlPath.value,this.data.metaDesc=this.element.input.metaDesc.value,this.opts.callbacks.saveSnippetData(Object(b.clone)(this.data))},ho.prototype.openEditor=function(){this.element.editToggle.setAttribute("aria-expanded","true"),Qa.removeClass(this.element.formContainer,"snippet-editor--hidden"),this.opened=!0},ho.prototype.closeEditor=function(){Qa.addClass(this.element.formContainer,"snippet-editor--hidden"),this.element.editToggle.setAttribute("aria-expanded","false"),this.element.editToggle.focus(),this.opened=!1},ho.prototype.toggleEditor=function(){this.opened?this.closeEditor():this.openEditor()},ho.prototype._updateFocusCarets=function(){var e,t;Object(b.forEach)(this.element.label,(function(e){Qa.removeClass(e,"snippet-editor__label--focus")})),Object(b.forEach)(this.element.preview,(function(e){Qa.removeClass(e,"snippet-editor__container--focus")})),null!==this._currentFocus&&(e=this.element.label[this._currentFocus],t=this.element.preview[this._currentFocus],Qa.addClass(e,"snippet-editor__label--focus"),Qa.addClass(t,"snippet-editor__container--focus"))},ho.prototype._updateHoverCarets=function(){var e;Object(b.forEach)(this.element.label,(function(e){Qa.removeClass(e,"snippet-editor__label--hover")})),null!==this._currentHover&&(e=this.element.label[this._currentHover],Qa.addClass(e,"snippet-editor__label--hover"))},ho.prototype.setTitle=function(e){this.element.input.title.value=e,this.changedInput()},ho.prototype.setUrlPath=function(e){this.element.input.urlPath.value=e,this.changedInput()},ho.prototype.setMetaDescription=function(e){this.element.input.metaDesc.value=e,this.changedInput()},ho.prototype.createMeasurementElements=function(){var e,t;e=so({width:document.getElementById("meta_container").offsetWidth+"px",whiteSpace:""}),(t=document.createElement("div")).className="yoast-measurement-elements-holder",t.innerHTML=e,document.body.appendChild(t),this.element.measurers.metaHeight=t.childNodes[0]},ho.prototype.measureTitle=function(){0===this.element.rendered.title.offsetWidth&&""!==this.element.rendered.title.textContent||(this.data.titleWidth=this.element.rendered.title.offsetWidth)},ho.prototype.measureMetaDescription=function(){var e=this.element.measurers.metaHeight;e.innerHTML=this.element.rendered.metaDesc.innerHTML,this.data.metaHeight=e.offsetHeight},ho.prototype.getTitleWidth=function(){return this.data.titleWidth},ho.prototype.setTitleWidth=function(e){this.data.titleWidth=e},ho.prototype.hasApp=function(){return!Object(b.isUndefined)(this.refObj)},ho.prototype.hasPluggable=function(){return!Object(b.isUndefined)(this.refObj)&&!Object(b.isUndefined)(this.refObj.pluggable)},ho.prototype.disableEnter=function(e){},ho.prototype.textFeedback=function(e){},ho.prototype.showEditIcon=function(e){},ho.prototype.hideEditIcon=function(){},ho.prototype.setFocus=function(e){};var fo=ho,mo=function(e){this.keyword=e.keyword,this.assessor=e.assessor,this.output=e.targets.output,this.overall=e.targets.overall||"overallScore",this.presenterConfig=Ya(),this._disableMarkerButtons=!1,this._activeMarker=!1};mo.prototype.setKeyword=function(e){this.keyword=e},mo.prototype.configHasProperty=function(e){return this.presenterConfig.hasOwnProperty(e)},mo.prototype.getIndicator=function(e){return{className:this.getIndicatorColorClass(e),screenReaderText:this.getIndicatorScreenReaderText(e),fullText:this.getIndicatorFullText(e),screenReaderReadabilityText:this.getIndicatorScreenReaderReadabilityText(e)}},mo.prototype.getIndicatorColorClass=function(e){return this.configHasProperty(e)?this.presenterConfig[e].className:""},mo.prototype.getIndicatorScreenReaderText=function(e){return this.configHasProperty(e)?this.presenterConfig[e].screenReaderText:""},mo.prototype.getIndicatorScreenReaderReadabilityText=function(e){return this.configHasProperty(e)?this.presenterConfig[e].screenReaderReadabilityText:""},mo.prototype.getIndicatorFullText=function(e){return this.configHasProperty(e)?this.presenterConfig[e].fullText:""},mo.prototype.resultToRating=function(e){return Object(b.isObject)(e)?(e.rating=Qi(e.score),e):""},mo.prototype.getIndividualRatings=function(){var e={},t=this.sort(this.assessor.getValidResults()).map(this.resultToRating);return Object(b.forEach)(t,function(t,r){e[r]=this.addRating(t)}.bind(this)),e},mo.prototype.excludeFromResults=function(e,t){return Object(b.difference)(e,t)},mo.prototype.sort=function(e){var t=this.getUndefinedScores(e),r=this.excludeFromResults(e,t);return r.sort((function(e,t){return e.score-t.score})),t.concat(r)},mo.prototype.getUndefinedScores=function(e){return e.filter((function(e){return Object(b.isUndefined)(e.score)||0===e.score}))},mo.prototype.addRating=function(e){var t=this.getIndicator(e.rating);return t.text=e.text,t.identifier=e.getIdentifier(),e.hasMarker()&&(t.marker=e.getMarker()),t},mo.prototype.getOverallRating=function(e){var t=0;return""===this.keyword||Object(b.isNumber)(e)&&(t=e/10),this.resultToRating({score:t})},mo.prototype.markAssessment=function(e,t){this._activeMarker===e?(this.removeAllMarks(),this._activeMarker=!1):(t(),this._activeMarker=e),this.render()},mo.prototype.disableMarker=function(){this._activeMarker=!1,this.render()},mo.prototype.disableMarkerButtons=function(){this._disableMarkerButtons=!0,this.render()},mo.prototype.enableMarkerButtons=function(){this._disableMarkerButtons=!1,this.render()},mo.prototype.addMarkerEventHandler=function(e,t){document.getElementById(this.output).getElementsByClassName("js-assessment-results__mark-"+e)[0].addEventListener("click",this.markAssessment.bind(this,e,t))},mo.prototype.render=function(){this.renderIndividualRatings(),this.renderOverallRating()},mo.prototype.bindMarkButtons=function(e){Object(b.forEach)(e,function(e){e.hasOwnProperty("marker")&&this.addMarkerEventHandler(e.identifier,e.marker)}.bind(this))},mo.prototype.removeAllMarks=function(){this.assessor.getSpecificMarker()(this.assessor.getPaper(),[])},mo.prototype.renderIndividualRatings=function(){var e=document.getElementById(this.output),t=this.getIndividualRatings();e.innerHTML=Object(Za.assessmentPresenterResult)({scores:t,i18n:{disabledMarkText:Object(v.__)("Marks are disabled in current view","wordpress-seo"),markInText:Object(v.__)("Mark this result in the text","wordpress-seo"),removeMarksInText:Object(v.__)("Remove marks in the text","wordpress-seo")},activeMarker:this._activeMarker,markerButtonsDisabled:this._disableMarkerButtons}),this.bindMarkButtons(t)},mo.prototype.renderOverallRating=function(){var e=this.getOverallRating(this.assessor.calculateOverallScore()),t=document.getElementById(this.overall);t&&(t.className="overallScore "+this.getIndicatorColorClass(e.rating))};var vo=mo,bo=function(e){this.app=e,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this.customTests=[],setTimeout(this._pollLoadingPlugins.bind(this),1500)};bo.prototype._registerPlugin=function(e,t){return"string"!=typeof e?(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1):Object(b.isUndefined)(t)||"object"==typeof t?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1)},bo.prototype._ready=function(e){return"string"!=typeof e?(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1):Object(b.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0)},bo.prototype._reloaded=function(e){return"string"!=typeof e?(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1):Object(b.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.app.refresh(),!0)},bo.prototype._registerModification=function(e,t,r,n){if("string"!=typeof e)return console.error("Failed to register modification for plugin "+r+". Expected parameter `modification` to be a string."),!1;if("function"!=typeof t)return console.error("Failed to register modification for plugin "+r+". Expected parameter `callable` to be a function."),!1;if("string"!=typeof r)return console.error("Failed to register modification for plugin "+r+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(r))return console.error("Failed to register modification for plugin "+r+". The integration has not finished loading yet."),!1;var s={callable:t,origin:r,priority:"number"==typeof n?n:10};return Object(b.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(s),!0},bo.prototype._registerTest=function(){console.error("This function is deprecated, please use _registerAssessment")},bo.prototype._registerAssessment=function(e,t,r,n){if(!Object(b.isString)(t))throw new At("Failed to register test for plugin "+n+". Expected parameter `name` to be a string.");if(!Object(b.isObject)(r))throw new At("Failed to register assessment for plugin "+n+". Expected parameter `assessment` to be a function.");if(!Object(b.isString)(n))throw new At("Failed to register assessment for plugin "+n+". Expected parameter `pluginName` to be a string.");return t=n+"-"+t,e.addAssessment(t,r),!0},bo.prototype._pollLoadingPlugins=function(e){e=Object(b.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.app.pluginsLoaded()):e>=this.preloadThreshold?this._pollTimeExceeded():(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))},bo.prototype._allReady=function(){return Object(b.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)},bo.prototype._pollTimeExceeded=function(){Object(b.forEach)(this.plugins,(function(e,t){Object(b.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])})),this.loaded=!0,this.app.pluginsLoaded()},bo.prototype._applyModifications=function(e,t,r){var n=this.modifications[e];return n instanceof Array&&n.length>0&&((n=this._stripIllegalModifications(n)).sort((function(e,t){return e.priority-t.priority})),Object(b.forEach)(n,(function(n){var s=(0,n.callable)(t,r);typeof s==typeof t?t=s:console.error("Modification with name "+e+" performed by plugin with name "+n.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t},bo.prototype._addPluginTests=function(e){this.customTests.map((function(t){this._addPluginTest(e,t)}),this)},bo.prototype._addPluginTest=function(e,t){e.addAnalysis({name:t.name,callable:t.analysis}),e.analyzeScorer.addScoring({name:t.name,scoring:t.scoring})},bo.prototype._stripIllegalModifications=function(e){return Object(b.forEach)(e,function(t,r){!1===this._validateOrigin(t.origin)&&delete e[r]}.bind(this)),e},bo.prototype._validateOrigin=function(e){return"ready"===this.plugins[e].status},bo.prototype._validateUniqueness=function(e){return!!Object(b.isUndefined)(this.plugins[e])};var yo=bo;const _o=new Ci;let wo=new Oi;var xo={callbacks:{bindElementEvents:b.noop,updateSnippetValues:b.noop,saveScores:b.noop,saveContentScore:b.noop,updatedContentResults:b.noop,updatedKeywordsResults:b.noop},sampleText:{baseUrl:"example.org/",snippetCite:"example-post/",title:"",keyword:"Choose a focus keyword",meta:"",text:"Start writing your text!"},queue:["wordCount","keywordDensity","subHeadings","stopwords","fleschReading","linkCount","imageCount","slugKeyword","urlLength","metaDescription","pageTitleKeyword","pageTitleWidth","firstParagraph","'keywordDoubles"],typeDelay:3e3,typeDelayStep:1500,maxTypeDelay:5e3,dynamicDelay:!0,locale:"en_US",translations:{domain:"wordpress-seo",locale_data:{"wordpress-seo":{"":{}}}},replaceTarget:[],resetTarget:[],elementTarget:[],marker:b.noop,keywordAnalysisActive:!0,contentAnalysisActive:!0,hasSnippetPreview:!0,debounceRefresh:!0};function Oo(){var e=document.getElementById(this.config.targets.snippet);return new fo({analyzerApp:this,targetElement:e,callbacks:{saveSnippetData:this.config.callbacks.saveSnippetData}})}function Eo(e){return!Object(b.isUndefined)(e)&&fo.prototype.isPrototypeOf(e)}var To=function(e){Object(b.isObject)(e)||(e={}),Object(b.defaultsDeep)(e,xo),function(e){if(!Object(b.isObject)(e.callbacks.getData))throw new St("The app requires an object with a getdata callback.");if(!Object(b.isObject)(e.targets))throw new St("`targets` is a required App argument, `targets` is not an object.");if(e.hasSnippetPreview&&!Eo(e.snippetPreview)&&!Object(b.isString)(e.targets.snippet))throw new St("A snippet preview is required. When no SnippetPreview object isn't passed to the App, the `targets.snippet` is a required App argument. `targets.snippet` is not a string.")}(e),this.config=e,!0===e.debouncedRefresh&&(this.refresh=Object(b.debounce)(this.refresh.bind(this),800)),this._pureRefresh=Object(b.throttle)(this._pureRefresh.bind(this),this.config.typeDelay),this.callbacks=this.config.callbacks,Object(v.setLocaleData)(this.config.translations.locale_data["wordpress-seo"],"wordpress-seo"),this.initializeAssessors(e),this.pluggable=new yo(this),this.getData(),this.defaultOutputElement=this.getDefaultOutputElement(e),""!==this.defaultOutputElement&&this.showLoadingDialog(),Eo(e.snippetPreview)?(this.snippetPreview=e.snippetPreview,this.snippetPreview.refObj!==this&&(this.snippetPreview.refObj=this)):e.hasSnippetPreview&&(this.snippetPreview=Oo.call(this)),this._assessorOptions={useCornerStone:!1,useKeywordDistribution:!1,useWordComplexity:!1},this.initSnippetPreview(),this.initAssessorPresenters()};To.prototype.getDefaultOutputElement=function(e){return e.keywordAnalysisActive?e.targets.output:e.contentAnalysisActive?e.targets.contentOutput:""},To.prototype.changeAssessorOptions=function(e){this._assessorOptions=Object(b.merge)(this._assessorOptions,e),this.seoAssessor=this.getSeoAssessor(),this.contentAssessor=this.getContentAssessor(),this.initAssessorPresenters(),this.refresh()},To.prototype.getSeoAssessor=function(){const{useCornerStone:e,useKeywordDistribution:t}=this._assessorOptions,r=e?this.cornerStoneSeoAssessor:this.defaultSeoAssessor;return t&&Object(b.isUndefined)(r.getAssessment("keyphraseDistribution"))&&r.addAssessment("keyphraseDistribution",_o),r},To.prototype.getContentAssessor=function(){const{useCornerStone:e,useWordComplexity:t}=this._assessorOptions,r=e?this.cornerStoneContentAssessor:this.defaultContentAssessor;return t&&Object(b.isUndefined)(r.getAssessment("wordComplexity"))&&(!0===e?(wo=new Oi({scores:{acceptableAmount:3}}),r.addAssessment("wordComplexity",wo)):r.addAssessment("wordComplexity",wo)),r},To.prototype.initializeAssessors=function(e){this.initializeSEOAssessor(e),this.initializeContentAssessor(e)},To.prototype.initializeSEOAssessor=function(e){e.keywordAnalysisActive&&(this.defaultSeoAssessor=new Xi({marker:this.config.marker}),this.cornerStoneSeoAssessor=new ya({marker:this.config.marker}),Object(b.isUndefined)(e.seoAssessor)?this.seoAssessor=this.defaultSeoAssessor:this.seoAssessor=e.seoAssessor)},To.prototype.initializeContentAssessor=function(e){e.contentAnalysisActive&&(this.defaultContentAssessor=new ta({marker:this.config.marker,locale:this.config.locale}),this.cornerStoneContentAssessor=new fa({marker:this.config.marker,locale:this.config.locale}),Object(b.isUndefined)(e._contentAssessor)?this.contentAssessor=this.defaultContentAssessor:this.contentAssessor=e._contentAssessor)},To.prototype.extendConfig=function(e){return e.sampleText=this.extendSampleText(e.sampleText),e.locale=e.locale||"en_US",e},To.prototype.extendSampleText=function(e){var t=xo.sampleText;if(Object(b.isUndefined)(e))return t;for(var r in e)Object(b.isUndefined)(e[r])&&(e[r]=t[r]);return e},To.prototype.registerCustomDataCallback=function(e){this.callbacks.custom||(this.callbacks.custom=[]),Object(b.isFunction)(e)&&this.callbacks.custom.push(e)},To.prototype.getData=function(){if(this.rawData=this.callbacks.getData(),Object(b.isArray)(this.callbacks.custom)&&this.callbacks.custom.forEach(e=>{const t=e();this.rawData=Object(b.merge)(this.rawData,t)}),this.hasSnippetPreview()){var e=this.snippetPreview.getAnalyzerData();this.rawData.metaTitle=e.title,this.rawData.url=e.url,this.rawData.meta=e.metaDesc}this.pluggable.loaded&&(this.rawData.metaTitle=this.pluggable._applyModifications("data_page_title",this.rawData.metaTitle),this.rawData.meta=this.pluggable._applyModifications("data_meta_desc",this.rawData.meta)),this.rawData.titleWidth=za(this.rawData.metaTitle),this.rawData.locale=this.config.locale},To.prototype.refresh=function(){this.pluggable.loaded&&this._pureRefresh()},To.prototype._pureRefresh=function(){this.getData(),this.runAnalyzer()},To.prototype.hasSnippetPreview=function(){return null!==this.snippetPreview&&!Object(b.isUndefined)(this.snippetPreview)},To.prototype.initSnippetPreview=function(){this.hasSnippetPreview()&&(this.snippetPreview.renderTemplate(),this.snippetPreview.callRegisteredEventBinder(),this.snippetPreview.bindEvents(),this.snippetPreview.init())},To.prototype.initAssessorPresenters=function(){Object(b.isUndefined)(this.config.targets.output)||(this.seoAssessorPresenter=new vo({targets:{output:this.config.targets.output},assessor:this.seoAssessor})),Object(b.isUndefined)(this.config.targets.contentOutput)||(this.contentAssessorPresenter=new vo({targets:{output:this.config.targets.contentOutput},assessor:this.contentAssessor}))},To.prototype.bindInputEvent=function(){for(var e=0;e<this.config.elementTarget.length;e++)document.getElementById(this.config.elementTarget[e]).addEventListener("input",this.refresh.bind(this))},To.prototype.reloadSnippetText=function(){this.hasSnippetPreview()&&this.snippetPreview.reRender()},To.prototype.startTime=function(){this.startTimestamp=(new Date).getTime()},To.prototype.endTime=function(){this.endTimestamp=(new Date).getTime(),this.endTimestamp-this.startTimestamp>this.config.typeDelay&&this.config.typeDelay<this.config.maxTypeDelay-this.config.typeDelayStep&&(this.config.typeDelay+=this.config.typeDelayStep)},To.prototype.runAnalyzer=function(){if(!1===this.pluggable.loaded)return;this.config.dynamicDelay&&this.startTime(),this.analyzerData=this.modifyData(this.rawData),this.hasSnippetPreview()&&this.snippetPreview.refresh();let e=this.analyzerData.text;e=ga(e);let t=this.analyzerData.titleWidth;this.hasSnippetPreview()&&(t=this.snippetPreview.getTitleWidth()),this.paper=new aa(e,{keyword:this.analyzerData.keyword,synonyms:this.analyzerData.synonyms,description:this.analyzerData.meta,slug:this.analyzerData.slug,title:this.analyzerData.metaTitle,titleWidth:t,locale:this.config.locale,permalink:this.analyzerData.permalink}),this.config.researcher.setPaper(this.paper),this.runKeywordAnalysis(),this.runContentAnalysis(),this._renderAnalysisResults(),this.config.dynamicDelay&&this.endTime(),this.hasSnippetPreview()&&this.snippetPreview.reRender()},To.prototype.runKeywordAnalysis=function(){if(this.config.keywordAnalysisActive){this.seoAssessor.assess(this.paper);const e=this.seoAssessor.calculateOverallScore();Object(b.isUndefined)(this.callbacks.updatedKeywordsResults)||this.callbacks.updatedKeywordsResults(this.seoAssessor.results,e),Object(b.isUndefined)(this.callbacks.saveScores)||this.callbacks.saveScores(e,this.seoAssessorPresenter)}},To.prototype.runContentAnalysis=function(){if(this.config.contentAnalysisActive){this.contentAssessor.assess(this.paper);const e=this.contentAssessor.calculateOverallScore();Object(b.isUndefined)(this.callbacks.updatedContentResults)||this.callbacks.updatedContentResults(this.contentAssessor.results,e),Object(b.isUndefined)(this.callbacks.saveContentScore)||this.callbacks.saveContentScore(e,this.contentAssessorPresenter)}},To.prototype.modifyData=function(e){return(e=JSON.parse(JSON.stringify(e))).text=this.pluggable._applyModifications("content",e.text),e.metaTitle=this.pluggable._applyModifications("title",e.metaTitle),e},To.prototype.pluginsLoaded=function(){this.removeLoadingDialog(),this.refresh()},To.prototype.showLoadingDialog=function(){var e=document.getElementById(this.defaultOutputElement);if(""!==this.defaultOutputElement&&!Object(b.isEmpty)(e)){var t=document.createElement("div");t.className="YoastSEO_msg",t.id="YoastSEO-plugin-loading",document.getElementById(this.defaultOutputElement).appendChild(t)}},To.prototype.updateLoadingDialog=function(e){var t=document.getElementById(this.defaultOutputElement);if(""!==this.defaultOutputElement&&!Object(b.isEmpty)(t)){var r=document.getElementById("YoastSEO-plugin-loading");r.textContent="",Object(b.forEach)(e,(function(e,t){r.innerHTML+="<span class=left>"+t+"</span><span class=right "+e.status+">"+e.status+"</span><br />"})),r.innerHTML+="<span class=bufferbar></span>"}},To.prototype.removeLoadingDialog=function(){var e=document.getElementById(this.defaultOutputElement),t=document.getElementById("YoastSEO-plugin-loading");""===this.defaultOutputElement||Object(b.isEmpty)(e)||Object(b.isEmpty)(t)||document.getElementById(this.defaultOutputElement).removeChild(document.getElementById("YoastSEO-plugin-loading"))},To.prototype.registerPlugin=function(e,t){return this.pluggable._registerPlugin(e,t)},To.prototype.pluginReady=function(e){return this.pluggable._ready(e)},To.prototype.pluginReloaded=function(e){return this.pluggable._reloaded(e)},To.prototype.registerModification=function(e,t,r,n){return this.pluggable._registerModification(e,t,r,n)},To.prototype.registerAssessment=function(e,t,r){if(!Object(b.isUndefined)(this.seoAssessor))return this.pluggable._registerAssessment(this.defaultSeoAssessor,e,t,r)&&this.pluggable._registerAssessment(this.cornerStoneSeoAssessor,e,t,r)},To.prototype.disableMarkers=function(){Object(b.isUndefined)(this.seoAssessorPresenter)||this.seoAssessorPresenter.disableMarker(),Object(b.isUndefined)(this.contentAssessorPresenter)||this.contentAssessorPresenter.disableMarker()},To.prototype._renderAnalysisResults=function(){this.config.contentAnalysisActive&&!Object(b.isUndefined)(this.contentAssessorPresenter)&&this.contentAssessorPresenter.renderIndividualRatings(),this.config.keywordAnalysisActive&&!Object(b.isUndefined)(this.seoAssessorPresenter)&&(this.seoAssessorPresenter.setKeyword(this.paper.getKeyword()),this.seoAssessorPresenter.render())},To.prototype.analyzeTimer=function(){this.refresh()},To.prototype.registerTest=function(){console.error("This function is deprecated, please use registerAssessment")},To.prototype.createSnippetPreview=function(){this.snippetPreview=Oo.call(this),this.initSnippetPreview()},To.prototype.switchAssessors=function(e){console.warn("Switch assessor is deprecated since YoastSEO.js version 1.35.0"),this.changeAssessorOptions({useCornerStone:e})};var Ao=To;const Co=function(){};Co.prototype.buildMockElement=function(){const e=[];return e.nodeType=1,e},Co.prototype.buildMockResearcher=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return!t||"object"!=typeof e&&"object"!=typeof s&&"object"!=typeof n?{getResearch:function(){return e},getData:function(){return r},getHelper:function(){return s},getConfig:function(){return n}}:{getResearch:function(t){return e[t]},getData:function(){return r},getHelper:function(e){return s[e]},getConfig:function(e){return n[e]}}},Co.prototype.buildMockString=function(e,t){let r="";e=e||"Test ",t=t||1;for(let n=0;n<t;n++)r+=e;return r};var So=new Co;t.default={App:Ao,Assessor:Ji,ContentAssessor:ta,TaxonomyAssessor:na,Pluggable:yo,SnippetPreview:fo,Paper:aa,AssessmentResult:ci,AnalysisWebWorker:Ia,AnalysisWorkerWrapper:Na,createWorker:Ua,assessments:l,bundledPlugins:c,config:g,helpers:h,markers:p,interpreters:u,languageProcessing:o,values:d}},49:function(e,t){var r,n,s=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function o(e){if(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:i}catch(e){r=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l,u=[],c=!1,h=-1;function p(){c&&l&&(c=!1,l.length?u=l.concat(u):h=-1,u.length&&g())}function g(){if(!c){var e=o(p);c=!0;for(var t=u.length;t;){for(l=u,u=[];++h<t;)l&&l[h].run();h=-1,t=u.length}l=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function f(){}s.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new d(e,t)),1!==u.length||c||o(g)},d.prototype.run=function(){this.fun.apply(null,this.array)},s.title="browser",s.browser=!0,s.env={},s.argv=[],s.version="",s.versions={},s.on=f,s.addListener=f,s.once=f,s.off=f,s.removeListener=f,s.removeAllListeners=f,s.emit=f,s.prependListener=f,s.prependOnceListener=f,s.listeners=function(e){return[]},s.binding=function(e){throw new Error("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(e){throw new Error("process.chdir is not supported")},s.umask=function(){return 0}},56:function(e,t,r){var n=r(206),s=r(208);function i(t,r){return delete e.exports[t],e.exports[t]=r,r}e.exports={Parser:n,Tokenizer:r(207),ElementType:r(79),DomHandler:s,get FeedHandler(){return i("FeedHandler",r(466))},get Stream(){return i("Stream",r(480))},get WritableStream(){return i("WritableStream",r(215))},get ProxyHandler(){return i("ProxyHandler",r(487))},get DomUtils(){return i("DomUtils",r(210))},get CollectingHandler(){return i("CollectingHandler",r(488))},DefaultHandler:s,get RssHandler(){return i("RssHandler",this.FeedHandler)},parseDOM:function(e,t){var r=new s(t);return new n(r,t).end(e),r.dom},parseFeed:function(t,r){var s=new e.exports.FeedHandler(r);return new n(s,r).end(t),s.dom},createDomStream:function(e,t,r){var i=new s(e,t,r);return new n(i,t)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},57:function(e,t){var r=function(e,t){var r;for(r=0;r<e.length;r++)if(e[r].regex.test(t))return e[r]},n=function(e,t){var n,s,i;for(n=0;n<t.length;n++)if(s=r(e,t.substring(0,n+1)))i=s;else if(i)return{max_index:n,rule:i};return i?{max_index:t.length,rule:i}:void 0};e.exports=function(e){var t="",s=[],i=1,a=1,o=function(t,r){e({type:r,src:t,line:i,col:a});var n=t.split("\n");i+=n.length-1,a=(n.length>1?1:a)+n[n.length-1].length};return{addRule:function(e,t){s.push({regex:e,type:t})},onText:function(e){for(var r=t+e,i=n(s,r);i&&i.max_index!==r.length;)o(r.substring(0,i.max_index),i.rule.type),r=r.substring(i.max_index),i=n(s,r);t=r},end:function(){if(0!==t.length){var e=r(s,t);if(!e){var n=new Error("unable to tokenize");throw n.tokenizer2={buffer:t,line:i,col:a},n}o(t,e.type)}}}}},61:function(e,t){e.exports=window.lodash.filter},62:function(e,t){e.exports=window.lodash.includes},77:function(e,t,r){r(204),e.exports=r(448)},78:function(e,t,r){e.exports=r(451)},79:function(e,t){e.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(e){return"tag"===e.type||"script"===e.type||"style"===e.type}}},84:function(e,t,r){(function(e,r){(function(){var n="object"==typeof e&&e&&e.Object===Object&&e,s="object"==typeof self&&self&&self.Object===Object&&self,i=n||s||Function("return this")(),a=t&&!t.nodeType&&t,o=a&&"object"==typeof r&&r&&!r.nodeType&&r,l=/[&<>"']/g,u=RegExp(l.source);n="object"==typeof e&&e&&e.Object===Object&&e,s="object"==typeof self&&self&&self.Object===Object&&self,i=n||s||Function("return this")();var c,h=(c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},function(e){return null==c?void 0:c[e]}),p=Object.prototype,g=p.hasOwnProperty,d=p.toString,f=i.Symbol,m=f?f.toStringTag:void 0,v=f?f.prototype:void 0,b=v?v.toString:void 0;function y(e){if("string"==typeof e)return e;if(_(e))return function(e,t){for(var r=-1,n=null==e?0:e.length,s=Array(n);++r<n;)s[r]=t(e[r],r,e);return s}(e,y)+"";if(function(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&"[object Symbol]"==function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":m&&m in Object(e)?function(e){var t=g.call(e,m),r=e[m];try{e[m]=void 0;var n=!0}catch(e){}var s=d.call(e);return n&&(t?e[m]=r:delete e[m]),s}(e):function(e){return d.call(e)}(e)}(e)}(e))return b?b.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}var _=Array.isArray,w=function(e){var t;return(e=null==(t=e)?"":y(t))&&u.test(e)?e.replace(l,h):e},x={assessmentPresenterResult:function(e){e||(e={});const{scores:t,markerButtonsDisabled:r,i18n:n,activeMarker:s}=e;var i,a="",o=w;for(var l in Array.prototype.join,a+='<ul class="wpseoanalysis assessment-results">\n    ',t)a+='\n        <li class="score">\n            <span class="assessment-results__mark-container">\n                ',t[l].marker&&(a+='\n                    <button type="button" ',r&&(a+=' disabled="disabled" '),a+='\n                        aria-label="',r?a+=null==(i=n.disabledMarkText)?"":i:t[l].identifier===s?a+=null==(i=n.removeMarksInText)?"":i:a+=null==(i=n.markInText)?"":i,a+='"\n                        class="assessment-results__mark ',r?a+=" icon-eye-disabled ":t[l].identifier===s?a+="\n                            icon-eye-active\n                        ":a+="\n                            icon-eye-inactive\n                        ",a+="\n                        js-assessment-results__mark-"+(null==(i=t[l].identifier)?"":i)+' yoast-tooltip yoast-tooltip-s">\n                        <span class="screen-reader-text">',r?a+=null==(i=n.disabledMarkText)?"":i:t[l].identifier===s?a+=null==(i=n.removeMarksInText)?"":i:a+=null==(i=n.markInText)?"":i,a+="\n                        </span></button>\n                "),a+='\n            </span>\n            <span class="wpseo-score-icon '+o(t[l].className)+'"></span>\n            <span class="screen-reader-text">'+(null==(i=t[l].screenReaderText)?"":i)+'</span>\n            <span class="wpseo-score-text">'+(null==(i=t[l].text)?"":i)+"</span>\n        </li>\n    ";return a+"\n</ul>\n"},hiddenSpan:function(e){e||(e={});const{whiteSpace:t,width:r}=e;var n="",s=w;return Array.prototype.join,n+='<span aria-hidden="true" style="width: '+s(r)+"; height: auto; position: absolute; visibility: hidden; ",""!==t&&(n+="white-space: "+s(t)),n+'">\n\n</span>\n'},relevantWords:function(e){e||(e={});const{words:t}=e;var r,n="";for(var s in Array.prototype.join,n+="<table>\n    <tr>\n        <th>Word</th>\n        <th>Density</th>\n        <th>Occurrences</th>\n        <th>Length</th>\n        <th>Relevant word percentage</th>\n        <th>Length bonus</th>\n        <th>Multiplier</th>\n        <th>Relevance</th>\n    </tr>\n    ",t)n+="\n        <tr>\n            <td>"+(null==(r=t[s].word)?"":r)+"</td>\n            <td>"+(null==(r=t[s].density)?"":r)+"</td>\n            <td>"+(null==(r=t[s].occurrences)?"":r)+"</td>\n            <td>"+(null==(r=t[s].length)?"":r)+"</td>\n            <td>"+(null==(r=t[s].relevantWordPercentage)?"":r)+"</td>\n            <td>"+(null==(r=t[s].lengthBonus)?"":r)+"</td>\n            <td>"+(null==(r=t[s].multiplier)?"":r)+"</td>\n            <td>"+(null==(r=t[s].relevance)?"":r)+"</td>\n        </tr>\n    ";return n+"\n</table>\n"},snippetEditor:function(e){e||(e={});const{i18n:t,rendered:r,metaDescriptionDate:n,raw:s,placeholder:i}=e;var a="",o=w;return Array.prototype.join,a+='<div id="snippet_preview" class="yoast-section">\n\t<section class="snippet-editor__preview">\n\t\t<h3 class="snippet-editor__heading snippet-editor__heading-icon snippet-editor__heading-icon-eye">'+o(t.snippetPreview)+'</h3>\n\t<p class="screen-reader-text">'+o(t.snippetPreviewDescription)+'</p>\n\n\t\t<div id="snippet-preview-view" class="snippet-editor__view">\n\t\t\t<div class="snippet_container snippet_container__title snippet-editor__container" id="title_container">\n\t\t\t\t<span class="screen-reader-text">'+o(t.titleLabel)+'</span>\n\t\t\t\t<span class="title" id="render_title_container">\n\t\t\t\t\t<span id="snippet_title">\n\t\t\t\t\t\t'+o(r.title)+'\n\t\t\t\t\t</span>\n\t\t\t\t</span>\n\t\t\t\t<span class="title" id="snippet_sitename"></span>\n\t\t\t</div>\n\t\t\t<div class="snippet_container snippet_container__url snippet-editor__container" id="url_container">\n\t\t\t\t<span class="screen-reader-text">'+o(t.slugLabel)+'</span>\n\t\t\t\t<span class="urlFull">\n\t\t\t\t\t<cite class="url urlBase" id="snippet_citeBase">\n\t\t\t\t\t\t'+o(r.baseUrl)+'\n\t\t\t\t\t</cite><cite class="url" id="snippet_cite">\n\t\t\t\t\t\t'+o(r.snippetCite)+'\n\t\t\t\t\t</cite>\n\t\t\t\t</span><span class="down_arrow"></span>\n\t\t\t</div>\n\t\t\t<div class="snippet_container snippet_container__meta snippet-editor__container" id="meta_container">\n\t\t\t\t<span class="screen-reader-text">'+o(t.metaDescriptionLabel)+"</span>\n\t\t\t\t",""!==n&&(a+='\n\t\t\t\t\t<span class="snippet-editor__date">\n\t\t\t\t\t\t'+o(n)+" -\n\t\t\t\t\t</span>\n\t\t\t\t"),a+'\n\t\t\t\t<span class="desc" id="snippet_meta">\n\t\t\t\t\t'+o(r.meta)+"\n\t\t\t\t</span>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div class=\"snippet-editor__is-scrollable-hintwrapper\">\n\t\t\t<span class='snippet-editor__is-scrollable-hint' aria-hidden='true'>"+o(t.isScrollableHint)+'</span>\n\t\t</div>\n\n\t\t<div class="snippet-editor__view-toggle">\n\t\t\t<button class="snippet-editor__view-icon snippet-editor__view-icon-mobile yoast-tooltip yoast-tooltip-se" type="button" data-type="mobile" aria-label="'+o(t.mobilePreviewMode)+'" />\n\t\t\t<button class="snippet-editor__view-icon snippet-editor__view-icon-desktop yoast-tooltip yoast-tooltip-se" type="button" data-type="desktop" aria-label="'+o(t.desktopPreviewMode)+'" />\n\t\t</div>\n\t\t<button class="snippet-editor__button snippet-editor__edit-button" type="button" aria-expanded="false">\n\t\t\t'+o(t.edit)+'\n\t\t</button>\n\t</section>\n\n\t<div class="snippet-editor__form snippet-editor--hidden">\n\t\t<label for="snippet-editor-title" class="snippet-editor__label">\n\t\t\t'+o(t.title)+'\n\t\t\t<input type="text" class="snippet-editor__input snippet-editor__title js-snippet-editor-title" id="snippet-editor-title" value="'+o(s.title)+'" placeholder="'+o(i.title)+'" />\n\t\t</label>\n\t\t<progress value="0.0" class="snippet-editor__progress snippet-editor__progress-title" aria-hidden="true">\n\t\t\t<div class="snippet-editor__progress-bar"></div>\n\t\t</progress>\n\t\t<label for="snippet-editor-slug" class="snippet-editor__label">\n\t\t\t'+o(t.slug)+'\n\t\t\t<input type="text" class="snippet-editor__input snippet-editor__slug js-snippet-editor-slug" id="snippet-editor-slug" value="'+o(s.snippetCite)+'" placeholder="'+o(i.urlPath)+'" />\n\t\t</label>\n\t\t<label for="snippet-editor-meta-description" class="snippet-editor__label">\n\t\t\t'+o(t.metaDescription)+'\n\t\t\t<textarea class="snippet-editor__input snippet-editor__meta-description js-snippet-editor-meta-description" id="snippet-editor-meta-description" placeholder="'+o(i.metaDesc)+'">'+o(s.meta)+'</textarea>\n\t\t</label>\n\t\t<progress value="0.0" class="snippet-editor__progress snippet-editor__progress-meta-description" aria-hidden="true">\n\t\t\t<div class="snippet-editor__progress-bar"></div>\n\t\t</progress>\n\n\t\t<button class="snippet-editor__submit snippet-editor__button" type="button">'+o(t.save)+"</button>\n\t</div>\n</div>\n"}};o?((o.exports=x).templates=x,a.templates=x):i.templates=x}).call(this)}).call(this,r(24),r(93)(e))},93: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}}});redux.js000066600000014460151123775150006251 0ustar00window.yoast=window.yoast||{},window.yoast.redux=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=496)}({107:function(e,t){e.exports=window.lodash.isPlainObject},134:function(e,t,n){"use strict";(function(e,r){var o,i=n(228);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var u=Object(i.a)(o);t.a=u}).call(this,n(24),n(432)(e))},228: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}))},24:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},432: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}},496:function(e,t,n){"use strict";n.r(t),n.d(t,"createStore",(function(){return u})),n.d(t,"combineReducers",(function(){return a})),n.d(t,"bindActionCreators",(function(){return d})),n.d(t,"applyMiddleware",(function(){return p})),n.d(t,"compose",(function(){return s}));var r=n(107),o=n.n(r),i=n(134);function u(e,t,n){var r;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(u)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var c=e,a=t,f=[],d=f,s=!1;function l(){d===f&&(d=f.slice())}function p(){return a}function y(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return l(),d.push(e),function(){if(t){t=!1,l();var n=d.indexOf(e);d.splice(n,1)}}}function b(e){if(!o()(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(s)throw new Error("Reducers may not dispatch actions.");try{s=!0,a=c(a,e)}finally{s=!1}for(var t=f=d,n=0;n<t.length;n++)(0,t[n])();return e}return b({type:"@@redux/INIT"}),(r={dispatch:b,subscribe:y,getState:p,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");c=e,b({type:"@@redux/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(p())}return n(),{unsubscribe:t(n)}}})[i.a]=function(){return this},e},r}function c(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 a(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];"function"==typeof e[o]&&(n[o]=e[o])}var i=Object.keys(n),u=void 0;try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:"@@redux/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 @@redux/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={},a=0;a<i.length;a++){var f=i[a],d=n[f],s=e[f],l=d(s,t);if(void 0===l){var p=c(f,t);throw new Error(p)}o[f]=l,r=r||l!==s}return r?o:e}}function f(e,t){return function(){return t(e.apply(void 0,arguments))}}function d(e,t){if("function"==typeof e)return f(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],u=e[i];"function"==typeof u&&(r[i]=f(u,t))}return r}function s(){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 l=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 p(){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,u=e(n,r,o),c=u.dispatch,a={getState:u.getState,dispatch:function(e){return c(e)}};return i=t.map((function(e){return e(a)})),c=s.apply(void 0,i)(u.dispatch),l({},u,{dispatch:c})}}}}});analysisReport.js000066600000021604151123775150010137 0ustar00window.yoast=window.yoast||{},window.yoast.analysisReport=function(t){var e={};function s(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,s),o.l=!0,o.exports}return s.m=t,s.c=e,s.d=function(t,e,r){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(s.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)s.d(r,o,function(e){return t[e]}.bind(null,o));return r},s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="",s(s.s=498)}({0:function(t,e){t.exports=window.yoast.propTypes},1:function(t,e){t.exports=window.wp.element},131:function(t,e){t.exports=window.lodash.noop},2:function(t,e){t.exports=window.lodash},3:function(t,e){t.exports=window.React},4:function(t,e){t.exports=window.wp.i18n},498:function(t,e,s){"use strict";s.r(e),s.d(e,"ContentAnalysis",(function(){return v})),s.d(e,"AnalysisResult",(function(){return C})),s.d(e,"AnalysisList",(function(){return E})),s.d(e,"renderRatingToColor",(function(){return y})),s.d(e,"SiteSEOReport",(function(){return M}));var r=s(1),o=s(4),a=s(5),n=s.n(a),i=s(0),l=s.n(i),u=s(131),d=s.n(u),c=s(6),m=s(3),p=s.n(m),b=s(2),g=s(7);const k=n.a.li`
	// This is the height of the IconButtonToggle.
	min-height: 24px;
	padding: 0;
	display: flex;
	align-items: flex-start;
`,B=n()(g.SvgIcon)`
	margin: 3px 11px 0 0; // icon 13 + 11 right margin = 24 for the 8px grid.
`,h=n.a.p`
	margin: 0 16px 0 0;
	flex: 1 1 auto;
	color: ${t=>t.suppressedText?"rgba(30,30,30,0.5)":"inherit"};
`,f=t=>Object(r.createElement)(k,null,Object(r.createElement)(B,{icon:t.icon,color:t.bulletColor,size:"13px"}),Object(r.createElement)(h,{suppressedText:t.suppressedText},t.hasBetaBadgeLabel&&Object(r.createElement)(g.BetaBadge,null),Object(r.createElement)("span",{dangerouslySetInnerHTML:{__html:t.text}})),t.hasMarksButton&&!function(t){return"hidden"===t.marksButtonStatus}(t)&&Object(r.createElement)(g.IconButtonToggle,{marksButtonStatus:t.marksButtonStatus,className:t.marksButtonClassName,onClick:t.onButtonClickMarks,id:t.buttonIdMarks,icon:"eye",pressed:t.pressed,ariaLabel:t.ariaLabelMarks}),t.hasEditButton&&t.isPremium&&Object(r.createElement)(g.IconCTAEditButton,{className:t.editButtonClassName,onClick:t.onButtonClickEdit,id:t.buttonIdEdit,icon:"edit",ariaLabel:t.ariaLabelEdit}));f.propTypes={icon:l.a.string,text:l.a.string.isRequired,suppressedText:l.a.bool,bulletColor:l.a.string.isRequired,hasMarksButton:l.a.bool.isRequired,hasEditButton:l.a.bool,buttonIdMarks:l.a.string.isRequired,buttonIdEdit:l.a.string,pressed:l.a.bool.isRequired,ariaLabelMarks:l.a.string.isRequired,ariaLabelEdit:l.a.string,onButtonClickMarks:l.a.func.isRequired,onButtonClickEdit:l.a.func,marksButtonStatus:l.a.string,marksButtonClassName:l.a.string,editButtonClassName:l.a.string,hasBetaBadgeLabel:l.a.bool,isPremium:l.a.bool},f.defaultProps={icon:"circle",suppressedText:!1,marksButtonStatus:"enabled",marksButtonClassName:"",editButtonClassName:"",hasBetaBadgeLabel:!1,hasEditButton:!1,buttonIdEdit:"",ariaLabelEdit:"",onButtonClickEdit:b.noop,isPremium:!1};var C=f;const x=n.a.ul`
	margin: 8px 0;
	padding: 0;
	list-style: none;
`;function y(t){switch(t){case"good":return c.colors.$color_good;case"OK":return c.colors.$color_ok;case"bad":return c.colors.$color_bad;default:return c.colors.$color_score_icon}}function E(t){return Object(r.createElement)(x,{role:"list"},t.results.map(e=>{const s=y(e.rating),a=e.markerId===t.marksButtonActivatedResult,n=e.id+"Mark",i=e.id+"Edit";let l="";l="disabled"===t.marksButtonStatus?Object(o.__)("Marks are disabled in current view","wordpress-seo"):a?Object(o.__)("Remove highlight from the text","wordpress-seo"):Object(o.__)("Highlight this result in the text","wordpress-seo");const u=e.editFieldName,d=""===u?"":Object(o.sprintf)(
/* Translators: %1$s refers to the name of the field that should be edited (keyphrase, meta description,
       slug or SEO title). */
Object(o.__)("Edit your %1$s","wordpress-seo"),u);return Object(r.createElement)(C,{key:e.id,text:e.text,bulletColor:s,hasMarksButton:e.hasMarks,hasEditButton:e.hasJumps,ariaLabelMarks:l,ariaLabelEdit:d,pressed:a,suppressedText:"upsell"===e.rating,buttonIdMarks:n,buttonIdEdit:i,onButtonClickMarks:()=>t.onMarksButtonClick(e.id,e.marker),onButtonClickEdit:()=>t.onEditButtonClick(e.id),marksButtonClassName:t.marksButtonClassName,editButtonClassName:t.editButtonClassName,marksButtonStatus:t.marksButtonStatus,hasBetaBadgeLabel:e.hasBetaBadge,isPremium:t.isPremium})}))}E.propTypes={results:l.a.array.isRequired,marksButtonActivatedResult:l.a.string,marksButtonStatus:l.a.string,marksButtonClassName:l.a.string,editButtonClassName:l.a.string,onMarksButtonClick:l.a.func,onEditButtonClick:l.a.func,isPremium:l.a.bool},E.defaultProps={marksButtonActivatedResult:"",marksButtonStatus:"enabled",marksButtonClassName:"",editButtonClassName:"",onMarksButtonClick:d.a,onEditButtonClick:d.a,isPremium:!1};const w=n.a.div`
	width: 100%;
	background-color: white;
	border-bottom: 1px solid transparent; // Avoid parent and child margin collapsing.
`,R=n()(g.Collapsible)`
	margin-bottom: 8px;

	button:first-child svg {
		margin: -2px 8px 0 -2px; // Compensate icon size set to 18px.
	}

	${g.StyledIconsButton} {
		padding: 8px 0;
		color: ${c.colors.$color_blue}
	}
`;class O extends p.a.Component{renderCollapsible(t,e,s){return Object(r.createElement)(R,{initialIsOpen:!0,title:`${t} (${s.length})`,prefixIcon:{icon:"angle-up",color:c.colors.$color_grey_dark,size:"18px"},prefixIconCollapsed:{icon:"angle-down",color:c.colors.$color_grey_dark,size:"18px"},suffixIcon:null,suffixIconCollapsed:null,headingProps:{level:e,fontSize:"13px",fontWeight:"bold"}},Object(r.createElement)(E,{results:s,marksButtonActivatedResult:this.props.activeMarker,marksButtonStatus:this.props.marksButtonStatus,marksButtonClassName:this.props.marksButtonClassName,editButtonClassName:this.props.editButtonClassName,onMarksButtonClick:this.props.onMarkButtonClick,onEditButtonClick:this.props.onEditButtonClick,isPremium:this.props.isPremium}))}render(){const{problemsResults:t,improvementsResults:e,goodResults:s,considerationsResults:a,errorsResults:n,upsellResults:i,headingLevel:l,resultCategoryLabels:u}=this.props,d=n.length,c=t.length,m=e.length,p=a.length,b=s.length,g=i.length,k={errors:Object(o.__)("Errors","wordpress-seo"),problems:Object(o.__)("Problems","wordpress-seo"),improvements:Object(o.__)("Improvements","wordpress-seo"),considerations:Object(o.__)("Considerations","wordpress-seo"),goodResults:Object(o.__)("Good results","wordpress-seo")},B=Object.assign(k,u);return Object(r.createElement)(w,null,d>0&&this.renderCollapsible(B.errors,l,n),c+g>0&&this.renderCollapsible(B.problems,l,[...i,...t]),m>0&&this.renderCollapsible(B.improvements,l,e),p>0&&this.renderCollapsible(B.considerations,l,a),b>0&&this.renderCollapsible(B.goodResults,l,s))}}O.propTypes={onMarkButtonClick:l.a.func,onEditButtonClick:l.a.func,problemsResults:l.a.array,improvementsResults:l.a.array,goodResults:l.a.array,considerationsResults:l.a.array,errorsResults:l.a.array,upsellResults:l.a.array,headingLevel:l.a.number,marksButtonStatus:l.a.string,marksButtonClassName:l.a.string,editButtonClassName:l.a.string,activeMarker:l.a.string,isPremium:l.a.bool,resultCategoryLabels:l.a.shape({errors:l.a.string,problems:l.a.string,improvements:l.a.string,considerations:l.a.string,goodResults:l.a.string})},O.defaultProps={onMarkButtonClick:()=>{},onEditButtonClick:()=>{},problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[],errorsResults:[],upsellResults:[],headingLevel:4,marksButtonStatus:"enabled",marksButtonClassName:"",editButtonClassName:"",activeMarker:"",isPremium:!1,resultCategoryLabels:{}};var v=O;const _=n.a.div`
`,j=n.a.p`
	font-size: 14px;
`,N=t=>Object(r.createElement)(_,{className:t.className},Object(r.createElement)(j,{className:t.className+"__text"},t.seoAssessmentText),Object(r.createElement)(g.StackedProgressBar,{className:"progress",items:t.seoAssessmentItems,barHeight:t.barHeight}),Object(r.createElement)(g.ScoreAssessments,{className:"assessments",items:t.seoAssessmentItems}));N.propTypes={className:l.a.string,seoAssessmentText:l.a.string,seoAssessmentItems:l.a.arrayOf(l.a.shape({html:l.a.string.isRequired,value:l.a.number.isRequired,color:l.a.string.isRequired})),barHeight:l.a.string},N.defaultProps={className:"seo-assessment",seoAssessmentText:"SEO Assessment",seoAssessmentItems:null,barHeight:"24px"};var M=N},5:function(t,e){t.exports=window.yoast.styledComponents},6:function(t,e){t.exports=window.yoast.styleGuide},7:function(t,e){t.exports=window.yoast.componentsNew}});styleGuide.js000066600000015743151123775150007245 0ustar00window.yoast=window.yoast||{},window.yoast.styleGuide=function(e){var t={};function o(r){if(t[r])return t[r].exports;var l=t[r]={i:r,l:!1,exports:{}};return e[r].call(l.exports,l,l.exports,o),l.l=!0,l.exports}return o.m=e,o.c=t,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var l in e)o.d(r,l,function(t){return e[t]}.bind(null,l));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=499)}({164:function(e){e.exports=JSON.parse('{"mobile":"768px","tablet":"1224px"}')},499:function(e,t,o){"use strict";o.r(t),o.d(t,"colors",(function(){return r})),o.d(t,"breakpoints",(function(){return l})),o.d(t,"rgba",(function(){return $})),o.d(t,"withCaretStyles",(function(){return u})),o.d(t,"angleRight",(function(){return n})),o.d(t,"angleLeft",(function(){return i}));var r=o(82),l=o(164),_=o(5),c=o.n(_),a=o(9);const n=e=>"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>'),i=e=>"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 $(e,t){return"rgba( "+function(e){if("string"!=typeof e)throw new Error("Please pass a string representation of a color in hex notation.");if(e.match(/^#[a-fA-F0-9]{6}$/))return parseInt(`${e[1]}${e[2]}`,16)+", "+parseInt(`${e[3]}${e[4]}`,16)+", "+parseInt(`${e[5]}${e[6]}`,16);if(e.match(/^#[a-fA-F0-9]{3}$/))return parseInt(`${e[1]}${e[1]}`,16)+", "+parseInt(`${e[2]}${e[2]}`,16)+", "+parseInt(` ${e[3]}${e[3]}`,16);throw new Error("Couldn't parse the color string. Please provide the color as a string in hex notation.")}(e)+", "+t+" )"}const u=e=>c()(e)`
		&::before {
			display: block;
			position: absolute;
			top: 4px;
			${Object(a.getDirectionalStyle)("left","right")}: -25px;
			width: 24px;
			height: 24px;
			background-image: url( ${d} );
			background-size: 25px;
			content: "";
		}
	`;function d(e){return Object(a.getDirectionalStyle)(n(p(e)),i(p(e)))(e)}function p(e){return e.isActive?r.$color_snippet_focus:e.isHovered?r.$color_snippet_hover:"transparent"}},5:function(e,t){e.exports=window.yoast.styledComponents},82:function(e){e.exports=JSON.parse('{"$palette_white":"#fff","$palette_grey_ultra_light":"#f7f7f7","$palette_grey_light":"#f1f1f1","$palette_grey_medium_light":"#e2e4e7","$palette_grey":"#ddd","$palette_grey_medium":"#ccc","$palette_grey_disabled":"#a0a5aa","$palette_grey_medium_dark":"#888","$palette_grey_text_light":"#767676","$palette_grey_text":"#616161","$palette_grey_dark":"#555","$palette_black":"#000","$palette_purple":"#5d237a","$palette_purple_dark":"#6c2548","$palette_pink":"#d73763","$palette_pink_light":"#e1bee7","$palette_pink_dark":"#a4286a","$palette_blue":"#0066cd","$palette_blue_light":"#a9a9ce","$palette_blue_medium":"#1e8cbe","$palette_blue_link":"#0073aa","$palette_blue_focus":"#5b9dd9","$palette_yoast_focus":"#007fff","$palette_blue_dark":"#084a67","$palette_green":"#77b227","$palette_green_light":"#7ad03a","$palette_green_medium_light":"#64a60a","$palette_green_medium":"#008a00","$palette_green_blue":"#009288","$palette_orange":"#dc5c04","$palette_orange_light":"#ee7c1b","$palette_red":"#dc3232","$palette_red_light":"#f9bdbd","$palette_yellow":"#ffeb3b","$palette_yellow_score":"#f5c819","$palette_button_upsell":"#fec228","$palette_button_upsell_hover":"#f2ae01","$palette_link_text":"#004973","$palette_error_background":"#f9dcdc","$palette_error_text":"#8f1919","$palette_error_emphasis":"#dc3232","$palette_info_background":"#cce5ff","$palette_info_text":"#00468f","$palette_info_emphasis":"#007dff","$palette_success_background":"#e2f2cc","$palette_success_text":"#395315","$palette_success_emphasis":"#6ea029","$palette_warning_background":"#fff3cd","$palette_warning_text":"#674e00","$palette_warning_emphasis":"#ffc201","$color_bad":"#dc3232","$color_ok":"#ee7c1b","$color_good":"#7ad03a","$color_noindex":"#1e8cbe","$color_score_icon":"#888","$color_white":"#fff","$color_black":"#000","$color_green":"#77b227","$color_green_medium":"#008a00","$color_green_blue":"#009288","$color_grey":"#ddd","$color_grey_dark":"#555","$color_purple":"#5d237a","$color_purple_dark":"#6c2548","$color_pink":"#d73763","$color_pink_light":"#e1bee7","$color_pink_dark":"#a4286a","$color_blue":"#0066cd","$color_blue_light":"#a9a9ce","$color_blue_dark":"#084a67","$color_red":"#dc3232","$color_border_light":"#f7f7f7","$color_border_gutenberg":"#e2e4e7","$color_border":"#ccc","$color_input_border":"#ddd","$color_help_text":"#767676","$color_upsell_text":"#767676","$color_background_light":"#f7f7f7","$color_button":"#f7f7f7","$color_button_text":"#555","$color_button_border":"#ccc","$color_button_hover":"#fff","$color_button_border_hover":"#888","$color_button_text_hover":"#000","$color_button_border_active":"#000","$color_button_upsell":"#fec228","$color_button_upsell_hover":"#f2ae01","$color_headings":"#555","$color_marker_inactive":"#555","$color_marker_active":"#fff","$color_marker_disabled":"#a0a5aa","$color_error":"#dc3232","$color_orange":"#dc5c04","$color_orange_hover":"#c35204","$color_grey_hover":"#cecece","$color_pink_hover":"#cc2956","$color_grey_cta":"#ddd","$color_grey_line":"#ddd","$color_grey_quote":"#616161","$color_grey_text":"#616161","$color_grey_text_light":"#767676","$color_snippet_focus":"#1e8cbe","$color_snippet_hover":"#ccc","$color_snippet_active":"#555","$color_blue_link":"#0073aa","$color_blue_focus":"#5b9dd9","$color_blue_focus_shadow":"#1e8cbe","$color_yoast_focus":"#007fff","$color_yoast_focus_outer":"rgba(0,127,255,0.25)","$color_grey_medium_dark":"#888","$color_green_medium_light":"#64a60a","$color_grey_disabled":"#a0a5aa","$color_grey_medium":"#ccc","$color_grey_light":"#f1f1f1","$color_yellow":"#ffeb3b","$color_yellow_score":"#f5c819","$color_error_message":"#f9bdbd","$color_alert_link_text":"#004973","$color_alert_error_text":"#8f1919","$color_alert_error_background":"#f9dcdc","$color_alert_info_text":"#00468f","$color_alert_info_background":"#cce5ff","$color_alert_success_text":"#395315","$color_alert_success_background":"#e2f2cc","$color_alert_warning_text":"#674e00","$color_alert_warning_background":"#fff3cd"}')},9:function(e,t){e.exports=window.yoast.helpers}});searchMetadataPreviews.js000066600000211061151123775150011551 0ustar00window.yoast=window.yoast||{},window.yoast.searchMetadataPreviews=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=495)}({0:function(e,t){e.exports=window.yoast.propTypes},1:function(e,t){e.exports=window.wp.element},115:function(e,t,n){(function(e,o){var r;!function(i){t&&t.nodeType,e&&e.nodeType;var s="object"==typeof o&&o;s.global!==s&&s.window!==s&&s.self;var a,l=2147483647,c=/^xn--/,p=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,h={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,f=String.fromCharCode;function m(e){throw new RangeError(h[e])}function g(e,t){for(var n=e.length,o=[];n--;)o[n]=t(e[n]);return o}function b(e,t){var n=e.split("@"),o="";return n.length>1&&(o=n[0]+"@",e=n[1]),o+g((e=e.replace(u,".")).split("."),t).join(".")}function v(e){for(var t,n,o=[],r=0,i=e.length;r<i;)(t=e.charCodeAt(r++))>=55296&&t<=56319&&r<i?56320==(64512&(n=e.charCodeAt(r++)))?o.push(((1023&t)<<10)+(1023&n)+65536):(o.push(t),r--):o.push(t);return o}function x(e){return g(e,(function(e){var t="";return e>65535&&(t+=f((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+f(e)})).join("")}function y(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function E(e,t,n){var o=0;for(e=n?d(e/700):e>>1,e+=d(e/t);e>455;o+=36)e=d(e/35);return d(o+36*e/(e+38))}function w(e){var t,n,o,r,i,s,a,c,p,u,h,f=[],g=e.length,b=0,v=128,y=72;for((n=e.lastIndexOf("-"))<0&&(n=0),o=0;o<n;++o)e.charCodeAt(o)>=128&&m("not-basic"),f.push(e.charCodeAt(o));for(r=n>0?n+1:0;r<g;){for(i=b,s=1,a=36;r>=g&&m("invalid-input"),((c=(h=e.charCodeAt(r++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:36)>=36||c>d((l-b)/s))&&m("overflow"),b+=c*s,!(c<(p=a<=y?1:a>=y+26?26:a-y));a+=36)s>d(l/(u=36-p))&&m("overflow"),s*=u;y=E(b-i,t=f.length+1,0==i),d(b/t)>l-v&&m("overflow"),v+=d(b/t),b%=t,f.splice(b++,0,v)}return x(f)}function O(e){var t,n,o,r,i,s,a,c,p,u,h,g,b,x,w,O=[];for(g=(e=v(e)).length,t=128,n=0,i=72,s=0;s<g;++s)(h=e[s])<128&&O.push(f(h));for(o=r=O.length,r&&O.push("-");o<g;){for(a=l,s=0;s<g;++s)(h=e[s])>=t&&h<a&&(a=h);for(a-t>d((l-n)/(b=o+1))&&m("overflow"),n+=(a-t)*b,t=a,s=0;s<g;++s)if((h=e[s])<t&&++n>l&&m("overflow"),h==t){for(c=n,p=36;!(c<(u=p<=i?1:p>=i+26?26:p-i));p+=36)w=c-u,x=36-u,O.push(f(y(u+w%x,0))),c=d(w/x);O.push(f(y(c,0))),i=E(n,b,o==r),n=0,++o}++n,++t}return O.join("")}a={version:"1.4.1",ucs2:{decode:v,encode:x},decode:w,encode:O,toASCII:function(e){return b(e,(function(e){return p.test(e)?"xn--"+O(e):e}))},toUnicode:function(e){return b(e,(function(e){return c.test(e)?w(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()}).call(this,n(93)(e),n(24))},116: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}}},117:function(e,t,n){"use strict";t.decode=t.parse=n(118),t.encode=t.stringify=n(119)},118:function(e,t,n){"use strict";function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var s={};if("string"!=typeof e||0===e.length)return s;var a=/\+/g;e=e.split(t);var l=1e3;i&&"number"==typeof i.maxKeys&&(l=i.maxKeys);var c=e.length;l>0&&c>l&&(c=l);for(var p=0;p<c;++p){var u,h,d,f,m=e[p].replace(a,"%20"),g=m.indexOf(n);g>=0?(u=m.substr(0,g),h=m.substr(g+1)):(u=m,h=""),d=decodeURIComponent(u),f=decodeURIComponent(h),o(s,d)?r(s[d])?s[d].push(f):s[d]=[s[d],f]:s[d]=f}return s};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},119:function(e,t,n){"use strict";var o=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,a){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?i(s(e),(function(s){var a=encodeURIComponent(o(s))+n;return r(e[s])?i(e[s],(function(e){return a+encodeURIComponent(o(e))})).join(t):a+encodeURIComponent(o(e[s]))})).join(t):a?encodeURIComponent(o(a))+n+encodeURIComponent(o(e)):""};var r=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=[],o=0;o<e.length;o++)n.push(t(e[o],o));return n}var s=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},12:function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},16:function(e,t){e.exports=window.yoast.replacementVariableEditor},161:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var o=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 o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};o.get||o.set?Object.defineProperty(t,n,o):t[n]=e[n]}return t.default=e,t}(n(0)),r=a(n(3)),i=a(n(38)),s=n(85);function a(e){return e&&e.__esModule?e:{default:e}}n(162),t.UNMOUNTED="unmounted",t.EXITED="exited",t.ENTERING="entering",t.ENTERED="entered",t.EXITING="exiting";var l=function(e){var t,n;function o(t,n){var o;o=e.call(this,t,n)||this;var r,i=n.transitionGroup,s=i&&!i.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?s?(r="exited",o.appearStatus="entering"):r="entered":r=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",o.state={status:r},o.nextCallback=null,o}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var s=o.prototype;return s.getChildContext=function(){return{transitionGroup:null}},o.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null},s.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},s.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},s.componentWillUnmount=function(){this.cancelNextCallback()},s.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!=typeof o&&(e=o.exit,t=o.enter,n=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:n}},s.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=i.default.findDOMNode(this);"entering"===t?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},s.performEnter=function(e,t){var n=this,o=this.props.enter,r=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,i=this.getTimeouts(),s=r?i.appear:i.enter;t||o?(this.props.onEnter(e,r),this.safeSetState({status:"entering"},(function(){n.props.onEntering(e,r),n.onTransitionEnd(e,s,(function(){n.safeSetState({status:"entered"},(function(){n.props.onEntered(e,r)}))}))}))):this.safeSetState({status:"entered"},(function(){n.props.onEntered(e)}))},s.performExit=function(e){var t=this,n=this.props.exit,o=this.getTimeouts();n?(this.props.onExit(e),this.safeSetState({status:"exiting"},(function(){t.props.onExiting(e),t.onTransitionEnd(e,o.exit,(function(){t.safeSetState({status:"exited"},(function(){t.props.onExited(e)}))}))}))):this.safeSetState({status:"exited"},(function(){t.props.onExited(e)}))},s.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},s.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},s.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},s.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var o=null==t&&!this.props.addEndListener;e&&!o?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},s.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children,o=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(t,["children"]);if(delete o.in,delete o.mountOnEnter,delete o.unmountOnExit,delete o.appear,delete o.enter,delete o.exit,delete o.timeout,delete o.addEndListener,delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,"function"==typeof n)return n(e,o);var i=r.default.Children.only(n);return r.default.cloneElement(i,o)},o}(r.default.Component);function c(){}l.contextTypes={transitionGroup:o.object},l.childContextTypes={transitionGroup:function(){}},l.propTypes={},l.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:c,onEntering:c,onEntered:c,onExit:c,onExiting:c,onExited:c},l.UNMOUNTED=0,l.EXITED=1,l.ENTERING=2,l.ENTERED=3,l.EXITING=4;var p=(0,s.polyfill)(l);t.default=p},162:function(e,t,n){"use strict";var o;t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0,(o=n(0))&&o.__esModule,t.timeoutsShape=null,t.classNamesShape=null},163:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var o=a(n(0)),r=a(n(3)),i=n(85),s=n(332);function a(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}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 p=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},u=function(e){var t,n;function o(t,n){var o,r=(o=e.call(this,t,n)||this).handleExited.bind(c(c(o)));return o.state={handleExited:r,firstRender:!0},o}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=o.prototype;return i.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},i.componentDidMount=function(){this.appeared=!0,this.mounted=!0},i.componentWillUnmount=function(){this.mounted=!1},o.getDerivedStateFromProps=function(e,t){var n=t.children,o=t.handleExited;return{children:t.firstRender?(0,s.getInitialChildMapping)(e,o):(0,s.getNextChildMapping)(e,n,o),firstRender:!1}},i.handleExited=function(e,t){var n=(0,s.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=l({},t.children);return delete n[e.key],{children:n}})))},i.render=function(){var e=this.props,t=e.component,n=e.childFactory,o=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["component","childFactory"]),i=p(this.state.children).map(n);return delete o.appear,delete o.enter,delete o.exit,null===t?i:r.default.createElement(t,o,i)},o}(r.default.Component);u.childContextTypes={transitionGroup:o.default.object.isRequired},u.propTypes={},u.defaultProps={component:"div",childFactory:function(e){return e}};var h=(0,i.polyfill)(u);t.default=h,e.exports=t.default},2:function(e,t){e.exports=window.lodash},224:function(e,t,n){"use strict";var o=a(n(326)),r=a(n(331)),i=a(n(163)),s=a(n(161));function a(e){return e&&e.__esModule?e:{default:e}}e.exports={Transition:s.default,TransitionGroup:i.default,ReplaceTransition:r.default,CSSTransition:o.default}},225:function(e,t){e.exports=window.lodash.truncate},24:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},3:function(e,t){e.exports=window.React},32:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="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},r=a(n(3)),i=a(n(64)),s=a(n(67));function a(e){return e&&e.__esModule?e:{default:e}}var l=void 0;t.default=function(e){var t=e.mixedString,n=e.components,a=e.throwErrors;if(l=t,!n)return t;if("object"!==(void 0===n?"undefined":o(n))){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var c=(0,s.default)(t);try{return function e(t,n){var s,a,c,p,u,h,d,f,m=[],g={};for(h=0;h<t.length;h++)if("string"!==(u=t[h]).type){if(!n.hasOwnProperty(u.value)||void 0===n[u.value])throw new Error("Invalid interpolation, missing component node: `"+u.value+"`");if("object"!==o(n[u.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+u.value+"`","\n> "+l);if("componentClose"===u.type)throw new Error("Missing opening component token: `"+u.value+"`");if("componentOpen"===u.type){s=n[u.value],c=h;break}m.push(n[u.value])}else m.push(u.value);return s&&(p=function(e,t){var n,o,r=t[e],i=0;for(o=e+1;o<t.length;o++)if((n=t[o]).value===r.value){if("componentOpen"===n.type){i++;continue}if("componentClose"===n.type){if(0===i)return o;i--}}throw new Error("Missing closing component token `"+r.value+"`")}(c,t),d=e(t.slice(c+1,p),n),a=r.default.cloneElement(s,{},d),m.push(a),p<t.length-1&&(f=e(t.slice(p+1),n),m=m.concat(f))),1===m.length?m[0]:(m.forEach((function(e,t){e&&(g["interpolation-child-"+t]=e)})),(0,i.default)(g))}(c,n)}catch(e){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},326: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 o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};o.get||o.set?Object.defineProperty(t,n,o):t[n]=e[n]}t.default=e}(n(0));var o=a(n(327)),r=a(n(330)),i=a(n(3)),s=a(n(161));function a(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}n(162);var c=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,o.default)(e,t)}))},p=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,r.default)(e,t)}))},u=function(e){var t,n;function o(){for(var t,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return(t=e.call.apply(e,[this].concat(o))||this).onEnter=function(e,n){var o=t.getClassNames(n?"appear":"enter").className;t.removeClasses(e,"exit"),c(e,o),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var o=t.getClassNames(n?"appear":"enter").activeClassName;t.reflowAndAddClass(e,o),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var o=t.getClassNames("appear").doneClassName,r=t.getClassNames("enter").doneClassName,i=n?o+" "+r:r;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,o="string"==typeof n,r=o?(o&&n?n+"-":"")+e:n[e];return{className:r,activeClassName:o?r+"-active":n[e+"Active"],doneClassName:o?r+"-done":n[e+"Done"]}},t}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=o.prototype;return r.removeClasses=function(e,t){var n=this.getClassNames(t),o=n.className,r=n.activeClassName,i=n.doneClassName;o&&p(e,o),r&&p(e,r),i&&p(e,i)},r.reflowAndAddClass=function(e,t){t&&(e&&e.scrollTop,c(e,t))},r.render=function(){var e=l({},this.props);return delete e.classNames,i.default.createElement(s.default,l({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},o}(i.default.Component);u.defaultProps={classNames:""},u.propTypes={};var h=u;t.default=h,e.exports=t.default},327:function(e,t,n){"use strict";var o=n(328);t.__esModule=!0,t.default=function(e,t){e.classList?e.classList.add(t):(0,r.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))};var r=o(n(329));e.exports=t.default},328:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},329: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},330:function(e,t,n){"use strict";function o(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=o(e.className,t):e.setAttribute("class",o(e.className&&e.className.baseVal||"",t))}},331:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0,s(n(0));var o=s(n(3)),r=n(38),i=s(n(163));function s(e){return e&&e.__esModule?e:{default:e}}var a=function(e){var t,n;function s(){for(var t,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return(t=e.call.apply(e,[this].concat(o))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return t.handleLifecycle("onExited",1,n)},t}n=e,(t=s).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=s.prototype;return a.handleLifecycle=function(e,t,n){var i,s=this.props.children,a=o.default.Children.toArray(s)[t];a.props[e]&&(i=a.props)[e].apply(i,n),this.props[e]&&this.props[e]((0,r.findDOMNode)(this))},a.render=function(){var e=this.props,t=e.children,n=e.in,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,["children","in"]),s=o.default.Children.toArray(t),a=s[0],l=s[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,o.default.createElement(i.default,r,n?o.default.cloneElement(a,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):o.default.cloneElement(l,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},s}(o.default.Component);a.propTypes={};var l=a;t.default=l,e.exports=t.default},332:function(e,t,n){"use strict";t.__esModule=!0,t.getChildMapping=r,t.mergeChildMappings=i,t.getInitialChildMapping=function(e,t){return r(e.children,(function(n){return(0,o.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:s(n,"appear",e),enter:s(n,"enter",e),exit:s(n,"exit",e)})}))},t.getNextChildMapping=function(e,t,n){var a=r(e.children),l=i(t,a);return Object.keys(l).forEach((function(r){var i=l[r];if((0,o.isValidElement)(i)){var c=r in t,p=r in a,u=t[r],h=(0,o.isValidElement)(u)&&!u.props.in;!p||c&&!h?p||!c||h?p&&c&&(0,o.isValidElement)(u)&&(l[r]=(0,o.cloneElement)(i,{onExited:n.bind(null,i),in:u.props.in,exit:s(i,"exit",e),enter:s(i,"enter",e)})):l[r]=(0,o.cloneElement)(i,{in:!1}):l[r]=(0,o.cloneElement)(i,{onExited:n.bind(null,i),in:!0,exit:s(i,"exit",e),enter:s(i,"enter",e)})}})),l};var o=n(3);function r(e,t){var n=Object.create(null);return e&&o.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,o.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 o,r=Object.create(null),i=[];for(var s in e)s in t?i.length&&(r[s]=i,i=[]):i.push(s);var a={};for(var l in t){if(r[l])for(o=0;o<r[l].length;o++){var c=r[l][o];a[r[l][o]]=n(c)}a[l]=n(l)}for(o=0;o<i.length;o++)a[i[o]]=n(i[o]);return a}function s(e,t,n){return null!=n[t]?n[t]:e.props[t]}},38:function(e,t){e.exports=window.ReactDOM},4:function(e,t){e.exports=window.wp.i18n},41:function(e,t,n){"use strict";function o(e){return function(){return e}}var r=function(){};r.thatReturns=o,r.thatReturnsFalse=o(!1),r.thatReturnsTrue=o(!0),r.thatReturnsNull=o(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},44:function(e,t,n){"use strict";var o=n(115),r=n(116);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=x,t.resolve=function(e,t){return x(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?x(e,!1,!0).resolveObject(t):t},t.format=function(e){return r.isString(e)&&(e=x(e)),e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var s=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),p=["'"].concat(c),u=["%","/","?",";","#"].concat(p),h=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(117);function x(e,t,n){if(e&&r.isObject(e)&&e instanceof i)return e;var o=new i;return o.parse(e,t,n),o}i.prototype.parse=function(e,t,n){if(!r.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),a=-1!==i&&i<e.indexOf("#")?"?":"#",c=e.split(a);c[0]=c[0].replace(/\\/g,"/");var x=e=c.join(a);if(x=x.trim(),!n&&1===e.split("#").length){var y=l.exec(x);if(y)return this.path=x,this.href=x,this.pathname=y[1],y[2]?(this.search=y[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var E=s.exec(x);if(E){var w=(E=E[0]).toLowerCase();this.protocol=w,x=x.substr(E.length)}if(n||E||x.match(/^\/\/[^@\/]+@[^@\/]+/)){var O="//"===x.substr(0,2);!O||E&&g[E]||(x=x.substr(2),this.slashes=!0)}if(!g[E]&&(O||E&&!b[E])){for(var j,C,S=-1,R=0;R<h.length;R++)-1!==(_=x.indexOf(h[R]))&&(-1===S||_<S)&&(S=_);for(-1!==(C=-1===S?x.lastIndexOf("@"):x.lastIndexOf("@",S))&&(j=x.slice(0,C),x=x.slice(C+1),this.auth=decodeURIComponent(j)),S=-1,R=0;R<u.length;R++){var _;-1!==(_=x.indexOf(u[R]))&&(-1===S||_<S)&&(S=_)}-1===S&&(S=x.length),this.host=x.slice(0,S),x=x.slice(S),this.parseHost(),this.hostname=this.hostname||"";var M="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!M)for(var A=this.hostname.split(/\./),T=(R=0,A.length);R<T;R++){var P=A[R];if(P&&!P.match(d)){for(var F="",k=0,D=P.length;k<D;k++)P.charCodeAt(k)>127?F+="x":F+=P[k];if(!F.match(d)){var I=A.slice(0,R),N=A.slice(R+1),V=P.match(f);V&&(I.push(V[1]),N.unshift(V[2])),N.length&&(x="/"+N.join(".")+x),this.hostname=I.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),M||(this.hostname=o.toASCII(this.hostname));var U=this.port?":"+this.port:"",L=this.hostname||"";this.host=L+U,this.href+=this.host,M&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==x[0]&&(x="/"+x))}if(!m[w])for(R=0,T=p.length;R<T;R++){var $=p[R];if(-1!==x.indexOf($)){var q=encodeURIComponent($);q===$&&(q=escape($)),x=x.split($).join(q)}}var B=x.indexOf("#");-1!==B&&(this.hash=x.substr(B),x=x.slice(0,B));var z=x.indexOf("?");if(-1!==z?(this.search=x.substr(z),this.query=x.substr(z+1),t&&(this.query=v.parse(this.query)),x=x.slice(0,z)):t&&(this.search="",this.query={}),x&&(this.pathname=x),b[w]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){U=this.pathname||"";var W=this.search||"";this.path=U+W}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||"",o=this.hash||"",i=!1,s="";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&&r.isObject(this.query)&&Object.keys(this.query).length&&(s=v.stringify(this.query));var a=this.search||s&&"?"+s||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),o&&"#"!==o.charAt(0)&&(o="#"+o),a&&"?"!==a.charAt(0)&&(a="?"+a),t+i+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(a=a.replace("#","%23"))+o},i.prototype.resolve=function(e){return this.resolveObject(x(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(r.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var n=new i,o=Object.keys(this),s=0;s<o.length;s++){var a=o[s];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),c=0;c<l.length;c++){var p=l[c];"protocol"!==p&&(n[p]=e[p])}return b[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!b[e.protocol]){for(var u=Object.keys(e),h=0;h<u.length;h++){var d=u[h];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 f=(e.pathname||"").split("/");f.length&&!(e.host=f.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),n.pathname=f.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 m=n.pathname||"",v=n.search||"";n.path=m+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var x=n.pathname&&"/"===n.pathname.charAt(0),y=e.host||e.pathname&&"/"===e.pathname.charAt(0),E=y||x||n.host&&e.pathname,w=E,O=n.pathname&&n.pathname.split("/")||[],j=(f=e.pathname&&e.pathname.split("/")||[],n.protocol&&!b[n.protocol]);if(j&&(n.hostname="",n.port=null,n.host&&(""===O[0]?O[0]=n.host:O.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===f[0]?f[0]=e.host:f.unshift(e.host)),e.host=null),E=E&&(""===f[0]||""===O[0])),y)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,O=f;else if(f.length)O||(O=[]),O.pop(),O=O.concat(f),n.search=e.search,n.query=e.query;else if(!r.isNullOrUndefined(e.search))return j&&(n.hostname=n.host=O.shift(),(M=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=M.shift(),n.host=n.hostname=M.shift())),n.search=e.search,n.query=e.query,r.isNull(n.pathname)&&r.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!O.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=O.slice(-1)[0],S=(n.host||e.host||O.length>1)&&("."===C||".."===C)||""===C,R=0,_=O.length;_>=0;_--)"."===(C=O[_])?O.splice(_,1):".."===C?(O.splice(_,1),R++):R&&(O.splice(_,1),R--);if(!E&&!w)for(;R--;R)O.unshift("..");!E||""===O[0]||O[0]&&"/"===O[0].charAt(0)||O.unshift(""),S&&"/"!==O.join("/").substr(-1)&&O.push("");var M,A=""===O[0]||O[0]&&"/"===O[0].charAt(0);return j&&(n.hostname=n.host=A?"":O.length?O.shift():"",(M=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=M.shift(),n.host=n.hostname=M.shift())),(E=E||n.host&&O.length)&&!A&&O.unshift(""),O.length?n.pathname=O.join("/"):(n.pathname=null,n.path=null),r.isNull(n.pathname)&&r.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=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},495:function(e,t,n){"use strict";n.r(t),n.d(t,"FixedWidthContainer",(function(){return b})),n.d(t,"HelpTextWrapper",(function(){return T})),n.d(t,"ReplacementVariableEditor",(function(){return Oe.ReplacementVariableEditor})),n.d(t,"replacementVariablesShape",(function(){return Oe.replacementVariablesShape})),n.d(t,"recommendedReplacementVariablesShape",(function(){return Oe.recommendedReplacementVariablesShape})),n.d(t,"SettingsSnippetEditor",(function(){return Oe.SettingsSnippetEditor})),n.d(t,"SnippetEditor",(function(){return ze})),n.d(t,"lengthProgressShape",(function(){return je}));var o=n(1),r=n(3),i=n.n(r),s=n(5),a=n.n(s),l=n(0),c=n.n(l),p=n(81),u=n.n(p),h=n(4);const d=a.a.div`
	overflow: auto;
	width: ${e=>e.widthValue}px;
	padding: 0 ${e=>e.paddingValue}px;
	max-width: 100%;
	box-sizing: border-box;
`,f=a.a.div`
	width: ${e=>e.widthValue}px;
`,m=a.a.div`
	text-align: center;
	margin: 1em 0 5px;
`,g=a.a.div`
	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;
	}
`;class b extends r.Component{constructor(e){super(e),this.state={showScrollHint:!1},this.setContainerRef=this.setContainerRef.bind(this),this.determineSize=u()(this.determineSize.bind(this),100)}setContainerRef(e){if(!e)return null;this._container=e,this.determineSize(),window.addEventListener("resize",this.determineSize)}determineSize(){const e=this._container.offsetWidth;this.setState({showScrollHint:e<this.props.width})}componentWillUnmount(){window.removeEventListener("resize",this.determineSize)}render(){const{width:e,padding:t,children:n,className:r,id:s}=this.props,a=e-2*t;return Object(o.createElement)(i.a.Fragment,null,Object(o.createElement)(d,{id:s,className:r,widthValue:e,paddingValue:t,ref:this.setContainerRef},Object(o.createElement)(f,{widthValue:a},n)),this.state.showScrollHint&&Object(o.createElement)(m,null,Object(o.createElement)(g,null,Object(h.__)("Scroll to see the preview content.","wordpress-seo"))))}}b.propTypes={id:c.a.string,width:c.a.number.isRequired,padding:c.a.number,children:c.a.node.isRequired,className:c.a.string},b.defaultProps={id:"",padding:0,className:""};var v=n(58),x=n.n(v),y=n(7),E=n(9),w=n(6),O=n(224);const j=a.a.div`
	& > :first-child {
		overflow: hidden;
		transition: height ${e=>e.duration+"ms"} ease-out;
	}
`;class C extends i.a.Component{resetHeight(e){e.style.height="0"}setHeight(e){const t=function(e){return Math.max(e.clientHeight,e.offsetHeight,e.scrollHeight)}(e);e.style.height=t+"px"}removeHeight(e){e.style.height=null}render(){return Object(o.createElement)(j,{duration:this.props.duration},Object(o.createElement)(O.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))}}C.propTypes={isOpen:c.a.bool.isRequired,duration:c.a.number,children:c.a.node},C.defaultProps={duration:300,children:[]};const S=a.a.div`
	max-width: 600px;
	font-weight: normal;
	// Don't apply a bottom margin to avoid "jumpiness".
	margin: ${Object(E.getDirectionalStyle)("0 20px 0 25px","0 20px 0 15px")};
`,R=a.a.div`
	max-width: ${e=>e.panelMaxWidth};
`,_=a()(y.Button)`
	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: ${Object(E.getDirectionalStyle)("right","left")};
	padding: ${Object(E.getDirectionalStyle)("3px 0 0 6px","3px 0 0 5px")};

	&:hover {
		color: ${w.colors.$color_blue};
	}
	&:focus {
		border: 1px solid ${w.colors.$color_blue};
		outline: none;
		box-shadow: 0 0 3px ${Object(w.rgba)(w.colors.$color_blue_dark,.8)};

		svg {
			fill: ${w.colors.$color_blue};
			color: ${w.colors.$color_blue};
		}
	}
	&:active {
		box-shadow: none;
	}
`,M=a()(y.SvgIcon)`
	&:hover {
		fill: ${w.colors.$color_blue};
	}
`;class A extends i.a.Component{constructor(e){super(e),this.state={isExpanded:!1},this.uniqueId=x()("yoast-help-"),this.onButtonClick=this.onButtonClick.bind(this)}onButtonClick(){this.setState(e=>({isExpanded:!e.isExpanded}))}render(){const e=this.uniqueId+"-panel",{isExpanded:t}=this.state;return Object(o.createElement)(S,{className:this.props.className},Object(o.createElement)(_,{className:this.props.className+"__button",onClick:this.onButtonClick,"aria-expanded":t,"aria-controls":t?e:null,"aria-label":this.props.helpTextButtonLabel},Object(o.createElement)(M,{size:"16px",color:w.colors.$color_grey_text,icon:"question-circle"})),Object(o.createElement)(C,{isOpen:t},Object(o.createElement)(R,{id:e,className:this.props.className+"__panel",panelMaxWidth:this.props.panelMaxWidth},Object(o.createElement)(y.HelpText,null,this.props.helpText))))}}A.propTypes={className:c.a.string,helpTextButtonLabel:c.a.string.isRequired,panelMaxWidth:c.a.string,helpText:c.a.oneOfType([c.a.string,c.a.array])},A.defaultProps={className:"yoast-help",panelMaxWidth:null,helpText:""};var T=A,P=n(12),F=n.n(P),k=n(32),D=n.n(k),I=n(225),N=n.n(I),V=n(44),U=n(59),L=n(2);const $=a.a.span`
	color: #70757a;
	line-height: 1.7;
`;function q(e){const{shoppingData:t}=e,n=Object(h.sprintf)(Object(h.__)("Rating: %s","wordpress-seo"),Object(L.round)(2*t.rating,1)+"/10"),i=Object(h.sprintf)(Object(h.__)("%s reviews","wordpress-seo"),t.reviewCount);
/* Translators: %s expands to the actual rating, e.g. 8/10. */return Object(o.createElement)($,null,t.reviewCount>0&&Object(o.createElement)(r.Fragment,null,Object(o.createElement)(y.StarRating,{rating:t.rating}),Object(o.createElement)("span",null," ",n," · "),Object(o.createElement)("span",null,i," · ")),t.price&&Object(o.createElement)(r.Fragment,null,Object(o.createElement)("span",{dangerouslySetInnerHTML:{__html:t.price}})),t.availability&&Object(o.createElement)("span",null," · "+Object(L.capitalize)(t.availability)))}var B=q;q.propTypes={shoppingData:c.a.shape({rating:c.a.number,reviewCount:c.a.number,availability:c.a.string,price:c.a.string}).isRequired};const z=a.a.div`
	display: flex;
	margin-top: -16px;
	line-height: 1.6;
`,W=a.a.div`
	flex: 1;
	max-width: 50%;
`,H=a.a.div`
	flex: 1;
	max-width: 25%;
`,G=a.a.div`
	color: #70757a;
`;function K(e){const{shoppingData:t}=e;return Object(o.createElement)(z,null,t.rating>0&&Object(o.createElement)(W,{className:"yoast-shopping-data-preview__column"},Object(o.createElement)("div",{className:"yoast-shopping-data-preview__upper"},Object(h.__)("Rating","wordpress-seo")),Object(o.createElement)(G,{className:"yoast-shopping-data-preview__lower"},Object(o.createElement)("span",null,Object(L.round)(2*t.rating,1),"/10 "),Object(o.createElement)(y.StarRating,{rating:t.rating}),Object(o.createElement)("span",null," (",t.reviewCount,")"))),t.price&&Object(o.createElement)(H,{className:"yoast-shopping-data-preview__column"},Object(o.createElement)("div",{className:"yoast-shopping-data-preview__upper"},Object(h.__)("Price","wordpress-seo")),Object(o.createElement)(G,{className:"yoast-shopping-data-preview__lower",dangerouslySetInnerHTML:{__html:t.price}})),t.availability&&Object(o.createElement)(H,{className:"yoast-shopping-data-preview__column"},Object(o.createElement)("div",{className:"yoast-shopping-data-preview__upper"},Object(h.__)("Availability","wordpress-seo")),Object(o.createElement)(G,{className:"yoast-shopping-data-preview__lower"},Object(L.capitalize)(t.availability))))}var Q=K;K.propTypes={shoppingData:c.a.shape({rating:c.a.number,reviewCount:c.a.number,availability:c.a.string,price:c.a.string}).isRequired};const X=["desktop","mobile"],{transliterate:Y,createRegexFromArray:J,replaceDiacritics:Z}=U.languageProcessing,ee=a()(b)`
	background-color: #fff;
	font-family: arial, sans-serif;
	box-sizing: border-box;
`,te=a.a.div`
	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: ${400}px;
	box-sizing: border-box;
	font-size: 14px;
`,ne=a.a.div`
	cursor: pointer;
	position: relative;
`;function oe(e,t,n){return a()(e)`
		&::before {
			display: block;
			position: absolute;
			top: 0;
			${Object(E.getDirectionalStyle)("left","right")}: ${()=>"desktop"===n?"-22px":"-40px"};
			width: 22px;
			height: 22px;
			background-image: url( ${Object(E.getDirectionalStyle)(Object(w.angleRight)(t),Object(w.angleLeft)(t))} );
			background-size: 24px;
			background-repeat: no-repeat;
			background-position: center;
			content: "";
		}
	`}const re=a.a.div`
	color: ${e=>"desktop"===e.screenMode?"#1a0dab":"#1558d6"};
	text-decoration: none;
	font-size: ${e=>(e.screenMode,"20px")};
	line-height: ${e=>"desktop"===e.screenMode?"1.3":"26px"};
	font-weight: normal;
	margin: 0;
	display: inline-block;
	overflow: hidden;
	max-width: ${600}px;
	vertical-align: top;
	text-overflow: ellipsis;
`,ie=a()(re)`
	max-width: ${600}px;
	vertical-align: top;
	text-overflow: ellipsis;
`,se=a.a.span`
	white-space: nowrap;
`,ae=a.a.span`
	display: inline-block;
	max-height: 52px; // max two lines of text
	padding-top: 1px;
	vertical-align: top;
	overflow: hidden;
	text-overflow: ellipsis;
`,le=a.a.div`
	display: inline-block;
	cursor: pointer;
	position: relative;
	max-width: 90%;
	white-space: nowrap;
	font-size: 14px;
	vertical-align: top;
`,ce=a()(le)`
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
	margin-bottom: ${e=>"desktop"===e.screenMode?"0":"12px"};
	padding-top: 1px;
	line-height: ${e=>"desktop"===e.screenMode?"1.5":"20px"};
	vertical-align: ${e=>"desktop"===e.screenMode?"baseline":"top"};
`,pe=a.a.span`
	font-size: ${e=>"desktop"===e.screenMode?"14px":"12px"};
	line-height: ${e=>"desktop"===e.screenMode?"1.3":"20px"};
	color: ${e=>"desktop"===e.screenMode?"#5f6368":"#70757a"};
`,ue=a.a.span`
	color: ${e=>(e.screenMode,"#202124")};
`;ce.displayName="SnippetPreview__BaseUrlOverflowContainer";const he=a.a.div`
	color: ${e=>e.isDescriptionPlaceholder?"4d5156":"#4d5156"};
	cursor: pointer;
	position: relative;
	max-width: ${600}px;
	padding-top: ${e=>"desktop"===e.screenMode?"0":"1px"};
	font-size: 14px;
	line-height: 1.58;
`,de=a.a.div`
	color: ${"#3c4043"};
	font-size: 14px;
	line-height: 20px;
	cursor: pointer;
	position: relative;
	max-width: ${600}px;

	/* Clearing pseudo element to contain the floated image. */
	&:after {
		display: table;
		content: "";
		clear: both;
	}
`,fe=a.a.div`
	float: right;
	width: 104px;
	height: 104px;
	margin: 4px 0 4px 16px;
	border-radius: 8px;
	overflow: hidden;
`,me=a.a.img`
	/* Higher specificity is necessary to make sure inherited CSS rules don't alter the image ratio. */
	&&& {
		display: block;
		width: 104px;
		height: 104px;
		object-fit: cover;
	}
`,ge=a.a.div`
	padding: 12px 16px;

	&:first-child {
		margin-bottom: -16px;
	}
`,be=a.a.div`
`,ve=a.a.div`
	display: inline-block;
	margin-top: 9px;
	margin-left: 6px;
	border-top: 5px solid #70757a;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	vertical-align: top;
`,xe=a.a.span`
	color: ${e=>"desktop"===e.screenMode?"#777":"#70757a"};
`,ye=a.a.img`
	width: 16px;
	height: 16px;
	margin-right: 12px;
	vertical-align: middle;
`,Ee=a.a.div`
	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="} );
`;class we extends r.PureComponent{constructor(e){super(e),this.state={title:e.title,description:e.description,isDescriptionPlaceholder:!0},this.setTitleRef=this.setTitleRef.bind(this),this.setDescriptionRef=this.setDescriptionRef.bind(this)}setTitleRef(e){this._titleElement=e}setDescriptionRef(e){this._descriptionElement=e}hasOverflowedContent(e){return Math.abs(e.clientHeight-e.scrollHeight)>=2}fitTitle(){const e=this._titleElement;if(this.hasOverflowedContent(e)){let t=this.state.title;const n=e.clientWidth/3;t.length>n&&(t=t.substring(0,n));const o=this.dropLastWord(t);this.setState({title:o})}}dropLastWord(e){const t=e.split(" ");return t.pop(),t.join(" ")}getTitle(){return this.props.title!==this.state.title?this.state.title+" ...":this.props.title}getDescription(){return this.props.description?N()(this.props.description,{length:156,separator:" ",omission:" ..."}):Object(h.__)("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.","wordpress-seo")}renderDate(){const e="desktop"===this.props.mode?"—":"-";return this.props.date&&Object(o.createElement)(xe,{screenMode:this.props.mode},this.props.date," ",e," ")}addCaretStyles(e,t){const{mode:n,hoveredField:o,activeField:r}=this.props;return r===e?oe(t,w.colors.$color_snippet_active,n):o===e?oe(t,w.colors.$color_snippet_hover,n):t}getBreadcrumbs(e){const{breadcrumbs:t}=this.props,n=encodeURI(e.replace(/\?|#/g,"")),{hostname:o,pathname:r}=Object(V.parse)(n),i=" › "+(t||r.split("/")).filter(e=>!!e).join(" › ");return{hostname:decodeURI(o),breadcrumbs:decodeURI(i)}}renderUrl(){const{url:e,onMouseUp:t,onMouseEnter:n,onMouseLeave:r,mode:s,faviconSrc:a}=this.props,l="mobile"===s,c=Z(e),{hostname:p,breadcrumbs:u}=this.getBreadcrumbs(c),d=this.addCaretStyles("url",le);return Object(o.createElement)(i.a.Fragment,null,Object(o.createElement)(y.ScreenReaderText,null,Object(h.__)("Url preview","wordpress-seo")+":"),Object(o.createElement)(d,null,Object(o.createElement)(ce,{onMouseUp:t.bind(null,"url"),onMouseEnter:n.bind(null,"url"),onMouseLeave:r.bind(null),screenMode:s},l&&Object(o.createElement)(ye,{src:a||"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABs0lEQVR4AWL4//8/RRjO8Iucx+noO0MWUDo16FYABMGP6ZfUcRnWtm27jVPbtm3bttuH2t3eFPcY9pLz7NxiLjCyVd87pKnHyqXyxtCs8APd0rnyxiu4qSeA3QEDrAwBDrT1s1Rc/OrjLZwqVmOSu6+Lamcpp2KKMA9PH1BYXMe1mUP5qotvXTywsOEEYHXxrY+3cqk6TMkYpNr2FeoY3KIr0RPtn9wQ2unlA+GMkRw6+9TFw4YTwDUzx/JVvARj9KaedXRO8P5B1Du2S32smzqUrcKGEyA+uAgQjKX7zf0boWHGfn71jIKj2689gxp7OAGShNcBUmLMPVjZuiKcA2vuWHHDCQxMCz629kXAIU4ApY15QwggAFbfOP9DhgBJ+nWVJ1AZAfICAj1pAlY6hCADZnveQf7bQIwzVONGJonhLIlS9gr5mFg44Xd+4S3XHoGNPdJl1INIwKyEgHckEhgTe1bGiFY9GSFBYUwLh1IkiJUbY407E7syBSFxKTszEoiE/YdrgCEayDmtaJwCI9uu8TKMuZSVfSa4BpGgzvomBR/INhLGzrqDotp01ZR8pn/1L0JN9d9XNyx0AAAAAElFTkSuQmCC",alt:""}),Object(o.createElement)(pe,{screenMode:s},Object(o.createElement)(ue,null,p),u))))}componentWillReceiveProps(e){const t={};this.props.title!==e.title&&(t.title=e.title),this.props.description!==e.description&&(t.description=e.description),this.setState(t)}componentDidUpdate(){this.setState({isDescriptionPlaceholder:!this.props.description}),"mobile"===this.props.mode&&(clearTimeout(this.fitTitleTimeout),this.fitTitleTimeout=setTimeout(()=>{this.fitTitle()},10))}componentDidMount(){this.setState({isDescriptionPlaceholder:!this.props.description})}componentWillUnmount(){clearTimeout(this.fitTitleTimeout)}renderDescription(){const{wordsToHighlight:e,locale:t,onMouseUp:n,onMouseLeave:r,onMouseEnter:i,mode:s,mobileImageSrc:a}=this.props,l=this.renderDate(),c={isDescriptionPlaceholder:this.state.isDescriptionPlaceholder,onMouseUp:n.bind(null,"description"),onMouseEnter:i.bind(null,"description"),onMouseLeave:r.bind(null)};if("desktop"===s){const n=this.addCaretStyles("description",he);return Object(o.createElement)(n,F()({},c,{ref:this.setDescriptionRef}),l,function(e,t,n,r){if(0===t.length)return n;let i=n;const s=[];t.forEach((function(t){t=t,s.push(t);const n=Y(t,e);n!==t&&s.push(n)}));const a=J(s,!1,"",!1);return i=i.replace(a,(function(e){return`{{strong}}${e}{{/strong}}`})),D()({mixedString:i,components:{strong:Object(o.createElement)("strong",null)}})}(t,e,this.getDescription()))}if("mobile"===s){const e=this.addCaretStyles("description",de);return Object(o.createElement)(e,c,Object(o.createElement)(de,{isDescriptionPlaceholder:this.state.isDescriptionPlaceholder,ref:this.setDescriptionRef},a&&Object(o.createElement)(fe,null,Object(o.createElement)(me,{src:a,alt:""})),l,this.getDescription()))}return null}renderProductData(e){const{mode:t,shoppingData:n}=this.props;return 0===Object.values(n).length?null:"desktop"===t?Object(o.createElement)(e,{className:"yoast-shopping-data-preview--desktop"},Object(o.createElement)(y.ScreenReaderText,null,Object(h.__)("Shopping data preview:","wordpress-seo")),Object(o.createElement)(B,{shoppingData:n})):"mobile"===t?Object(o.createElement)(e,{className:"yoast-shopping-data-preview--mobile"},Object(o.createElement)(y.ScreenReaderText,null,Object(h.__)("Shopping data preview:","wordpress-seo")),Object(o.createElement)(Q,{shoppingData:n})):null}render(){const{onMouseUp:e,onMouseLeave:t,onMouseEnter:n,mode:r,isAmp:i}=this.props,{PartContainer:s,Container:a,TitleUnbounded:l,SnippetTitle:c}=this.getPreparedComponents(r),p="desktop"===r,u=p?Object(o.createElement)(ve,null):null,d=p||!i?null:Object(o.createElement)(Ee,null);return Object(o.createElement)("section",null,Object(o.createElement)(a,{id:"yoast-snippet-preview-container",width:p?640:null,padding:20},Object(o.createElement)(s,null,this.renderUrl(),u,Object(o.createElement)(y.ScreenReaderText,null,Object(h.__)("SEO title preview","wordpress-seo")+":"),Object(o.createElement)(c,{onMouseUp:e.bind(null,"title"),onMouseEnter:n.bind(null,"title"),onMouseLeave:t.bind(null)},Object(o.createElement)(ie,{screenMode:r},Object(o.createElement)(l,{ref:this.setTitleRef},this.getTitle()))),d),Object(o.createElement)(s,null,Object(o.createElement)(y.ScreenReaderText,null,Object(h.__)("Meta description preview:","wordpress-seo")),this.renderDescription()),this.renderProductData(s)))}getPreparedComponents(e){return{PartContainer:"desktop"===e?be:ge,Container:"desktop"===e?ee:te,TitleUnbounded:"desktop"===e?se:ae,SnippetTitle:this.addCaretStyles("title",ne)}}}we.propTypes={title:c.a.string.isRequired,url:c.a.string.isRequired,description:c.a.string.isRequired,date:c.a.string,breadcrumbs:c.a.array,hoveredField:c.a.string,activeField:c.a.string,keyword:c.a.string,wordsToHighlight:c.a.array,locale:c.a.string,mode:c.a.oneOf(X),isAmp:c.a.bool,faviconSrc:c.a.string,mobileImageSrc:c.a.string,shoppingData:c.a.object,onMouseUp:c.a.func.isRequired,onHover:c.a.func,onMouseEnter:c.a.func,onMouseLeave:c.a.func},we.defaultProps={date:"",keyword:"",wordsToHighlight:[],breadcrumbs:null,locale:"en",hoveredField:"",activeField:"",mode:"mobile",isAmp:!1,faviconSrc:"",mobileImageSrc:"",shoppingData:{},onHover:()=>{},onMouseEnter:()=>{},onMouseLeave:()=>{}};var Oe=n(16);const je=c.a.shape({max:c.a.number,actual:c.a.number,score:c.a.number}),Ce=a.a.input`
	border: none;
	width: 100%;
	height: inherit;
	line-height: 1.71428571; // 24px based on 14px font-size
	font-family: inherit;
	font-size: inherit;
	color: inherit;

	&:focus {
		outline: 0;
	}
`,Se=Object(w.withCaretStyles)(y.VariableEditorInputContainer);class Re extends i.a.Component{constructor(e){super(e),this.elements={title:null,slug:null,description:null},this.uniqueId=x()("snippet-editor-field-"),this.setRef=this.setRef.bind(this),this.setTitleRef=this.setTitleRef.bind(this),this.setSlugRef=this.setSlugRef.bind(this),this.setDescriptionRef=this.setDescriptionRef.bind(this),this.triggerReplacementVariableSuggestions=this.triggerReplacementVariableSuggestions.bind(this),this.onFocusTitle=this.onFocusTitle.bind(this),this.onChangeTitle=this.onChangeTitle.bind(this),this.onFocusSlug=this.onFocusSlug.bind(this),this.focusSlug=this.focusSlug.bind(this),this.onChangeSlug=this.onChangeSlug.bind(this),this.onFocusDescription=this.onFocusDescription.bind(this),this.onChangeDescription=this.onChangeDescription.bind(this)}setRef(e,t){this.elements[e]=t}setTitleRef(e){this.setRef("title",e)}setSlugRef(e){this.setRef("slug",e)}setDescriptionRef(e){this.setRef("description",e)}componentDidUpdate(e){e.activeField!==this.props.activeField&&this.focusOnActiveFieldChange()}focusOnActiveFieldChange(){const{activeField:e}=this.props,t=e?this.elements[e]:null;t&&t.focus()}triggerReplacementVariableSuggestions(e){this.elements[e].triggerReplacementVariableSuggestions()}onFocusTitle(){this.props.onFocus("title")}onChangeTitle(e){this.props.onChange("title",e)}onFocusSlug(){this.props.onFocus("slug")}focusSlug(){this.elements.slug.focus()}onChangeSlug(e){this.props.onChange("slug",e.target.value)}onFocusDescription(){this.props.onFocus("description")}onChangeDescription(e){this.props.onChange("description",e)}render(){const{activeField:e,hoveredField:t,onReplacementVariableSearchChange:n,replacementVariables:r,recommendedReplacementVariables:i,titleLengthProgress:s,descriptionLengthProgress:a,onBlur:l,descriptionEditorFieldPlaceholder:c,data:{title:p,slug:u,description:d},containerPadding:f,titleInputId:m,slugInputId:g,descriptionInputId:b}=this.props,v=this.uniqueId+"-slug";return Object(o.createElement)(Oe.StyledEditor,{padding:f},Object(o.createElement)(Oe.ReplacementVariableEditor,{withCaret:!0,label:Object(h.__)("SEO title","wordpress-seo"),onFocus:this.onFocusTitle,onBlur:l,isActive:"title"===e,isHovered:"title"===t,editorRef:this.setTitleRef,replacementVariables:r,recommendedReplacementVariables:i,content:p,onChange:this.onChangeTitle,onSearchChange:n,fieldId:m,type:"title"}),Object(o.createElement)(y.ProgressBar,{max:s.max,value:s.actual,progressColor:this.getProgressColor(s.score)}),Object(o.createElement)(y.SimulatedLabel,{id:v,onClick:this.onFocusSlug},Object(h.__)("Slug","wordpress-seo")),Object(o.createElement)(Se,{onClick:this.focusSlug,isActive:"slug"===e,isHovered:"slug"===t},Object(o.createElement)(Ce,{value:u,onChange:this.onChangeSlug,onFocus:this.onFocusSlug,onBlur:l,ref:this.setSlugRef,"aria-labelledby":this.uniqueId+"-slug",id:g})),Object(o.createElement)(Oe.ReplacementVariableEditor,{withCaret:!0,type:"description",placeholder:c,label:Object(h.__)("Meta description","wordpress-seo"),onFocus:this.onFocusDescription,onBlur:l,isActive:"description"===e,isHovered:"description"===t,editorRef:this.setDescriptionRef,replacementVariables:r,recommendedReplacementVariables:i,content:d,onChange:this.onChangeDescription,onSearchChange:n,fieldId:b}),Object(o.createElement)(y.ProgressBar,{max:a.max,value:a.actual,progressColor:this.getProgressColor(a.score)}))}getProgressColor(e){return e>=7?w.colors.$color_good:e>=5?w.colors.$color_ok:w.colors.$color_bad}}Re.propTypes={replacementVariables:Oe.replacementVariablesShape,recommendedReplacementVariables:Oe.recommendedReplacementVariablesShape,onChange:c.a.func.isRequired,onFocus:c.a.func,onBlur:c.a.func,onReplacementVariableSearchChange:c.a.func,data:c.a.shape({title:c.a.string.isRequired,slug:c.a.string.isRequired,description:c.a.string.isRequired}).isRequired,activeField:c.a.oneOf(["title","slug","description"]),hoveredField:c.a.oneOf(["title","slug","description"]),titleLengthProgress:je,descriptionLengthProgress:je,descriptionEditorFieldPlaceholder:c.a.string,containerPadding:c.a.string,titleInputId:c.a.string,slugInputId:c.a.string,descriptionInputId:c.a.string},Re.defaultProps={replacementVariables:[],recommendedReplacementVariables:[],onFocus:()=>{},onBlur:()=>{},onReplacementVariableSearchChange:null,activeField:null,hoveredField:null,titleLengthProgress:{max:600,actual:0,score:0},descriptionLengthProgress:{max:156,actual:0,score:0},descriptionEditorFieldPlaceholder:null,containerPadding:"0 20px",titleInputId:"yoast-google-preview-title",slugInputId:"yoast-google-preview-slug",descriptionInputId:"yoast-google-preview-description"};var _e=Re;const Me=a.a.fieldset`
	border: 0;
	padding: 0;
	margin: 0 0 16px;
`,Ae=a.a.legend`
	margin: 8px 0;
	padding: 0;
	color: ${w.colors.$color_headings};
	font-size: 14px;
	font-weight: 600;
`,Te=a()(y.Label)`
	${Object(E.getDirectionalStyle)("margin-right: 16px","margin-left: 16px")};
	color: inherit;
	font-size: 14px;
	line-height: 1.71428571;
	cursor: pointer;
	/* Helps RTL in Chrome */
	display: inline-block;
`,Pe=a()(y.Input)`
	&& {
		${Object(E.getDirectionalStyle)("margin: 0 8px 0 0","margin: 0 0 0 8px")};
		cursor: pointer;
	}
`;class Fe extends r.Component{constructor(e){super(e),this.switchToMobile=this.props.onChange.bind(this,"mobile"),this.switchToDesktop=this.props.onChange.bind(this,"desktop")}render(){const{active:e,mobileModeInputId:t,desktopModeInputId:n}=this.props,r=t.length>0?t:"yoast-google-preview-mode-mobile",i=n.length>0?n:"yoast-google-preview-mode-desktop";return Object(o.createElement)(Me,null,Object(o.createElement)(Ae,null,Object(h.__)("Preview as:","wordpress-seo")),Object(o.createElement)(Pe,{onChange:this.switchToMobile,type:"radio",name:"screen",value:"mobile",optionalAttributes:{id:r,checked:"mobile"===e}}),Object(o.createElement)(Te,{for:r},Object(h.__)("Mobile result","wordpress-seo")),Object(o.createElement)(Pe,{onChange:this.switchToDesktop,type:"radio",name:"screen",value:"desktop",optionalAttributes:{id:i,checked:"desktop"===e}}),Object(o.createElement)(Te,{for:i},Object(h.__)("Desktop result","wordpress-seo")))}}Fe.propTypes={onChange:c.a.func.isRequired,active:c.a.oneOf(X),mobileModeInputId:c.a.string,desktopModeInputId:c.a.string},Fe.defaultProps={active:"mobile",mobileModeInputId:"",desktopModeInputId:""};var ke=Fe;const{MetaDescriptionLengthAssessment:De,PageTitleWidthAssessment:Ie}=U.assessments.seo,{measureTextWidth:Ne}=U.helpers,Ve=a()(y.Button)`
	height: 33px;
	border: 1px solid #dbdbdb;
	box-shadow: none;
	font-family: Arial, Roboto-Regular, HelveticaNeue, sans-serif;
`,Ue=a()(Ve)`
	margin: ${Object(E.getDirectionalStyle)("10px 0 0 4px","10px 4px 0 0")};
	fill: ${w.colors.$color_grey_dark};
	padding-left: 8px;

	& svg {
		${Object(E.getDirectionalStyle)("margin-right","margin-left")}: 7px;
	}
`,Le=a()(Ve)`
	margin-top: 24px;
`;function $e(e){const t=Ne(e),n=new Ie({scores:{widthTooShort:9}},!0),o=n.calculateScore(t);return{max:n.getMaximumLength(),actual:t,score:o}}function qe(e,t,n,o,r){const i=U.languageProcessing.countMetaDescriptionLength(t,e),s=n&&!o?new De({scores:{tooLong:3,tooShort:3}}):new De,a=s.calculateScore(i,r);return{max:s.getMaximumLength(r),actual:i,score:a}}class Be extends i.a.Component{constructor(e){super(e);const t=this.mapDataToMeasurements(e.data);this.state={isOpen:!e.showCloseButton,activeField:null,hoveredField:null,titleLengthProgress:$e(t.title),descriptionLengthProgress:qe(t.description,this.props.date,this.props.isCornerstone,this.props.isTaxonomy,this.props.locale)},this.setFieldFocus=this.setFieldFocus.bind(this),this.unsetFieldFocus=this.unsetFieldFocus.bind(this),this.onChangeMode=this.onChangeMode.bind(this),this.onMouseUp=this.onMouseUp.bind(this),this.onMouseEnter=this.onMouseEnter.bind(this),this.onMouseLeave=this.onMouseLeave.bind(this),this.open=this.open.bind(this),this.close=this.close.bind(this),this.setEditButtonRef=this.setEditButtonRef.bind(this),this.handleChange=this.handleChange.bind(this),this.haveReplaceVarsChanged=this.haveReplaceVarsChanged.bind(this)}shallowCompareData(e,t){let n=!1;return e.data.description===t.data.description&&e.data.slug===t.data.slug&&e.data.title===t.data.title&&e.isCornerstone===t.isCornerstone&&e.isTaxonomy===t.isTaxonomy&&e.locale===t.locale||(n=!0),this.haveReplaceVarsChanged(e.replacementVariables,t.replacementVariables)&&(n=!0),n}haveReplaceVarsChanged(e,t){return JSON.stringify(e)!==JSON.stringify(t)}componentWillReceiveProps(e){if(this.shallowCompareData(this.props,e)){const t=this.mapDataToMeasurements(e.data,e.replacementVariables);this.setState({titleLengthProgress:$e(t.title),descriptionLengthProgress:qe(t.description,e.date,e.isCornerstone,e.isTaxonomy,e.locale)}),this.haveReplaceVarsChanged(this.props.replacementVariables,e.replacementVariables)&&this.props.onChangeAnalysisData(t)}}handleChange(e,t){this.props.onChange(e,t);const n=this.mapDataToMeasurements({...this.props.data,[e]:t});this.props.onChangeAnalysisData(n)}renderEditor(){const{data:e,descriptionEditorFieldPlaceholder:t,onReplacementVariableSearchChange:n,replacementVariables:r,recommendedReplacementVariables:s,hasPaperStyle:a,showCloseButton:l,idSuffix:c}=this.props,{activeField:p,hoveredField:u,isOpen:d,titleLengthProgress:f,descriptionLengthProgress:m}=this.state;return d?Object(o.createElement)(i.a.Fragment,null,Object(o.createElement)(_e,{data:e,activeField:p,hoveredField:u,onChange:this.handleChange,onFocus:this.setFieldFocus,onBlur:this.unsetFieldFocus,onReplacementVariableSearchChange:n,replacementVariables:r,recommendedReplacementVariables:s,titleLengthProgress:f,descriptionLengthProgress:m,descriptionEditorFieldPlaceholder:t,containerPadding:a?"0 20px":"0",titleInputId:Object(E.join)(["yoast-google-preview-title",c]),slugInputId:Object(E.join)(["yoast-google-preview-slug",c]),descriptionInputId:Object(E.join)(["yoast-google-preview-description",c])}),l&&Object(o.createElement)(Le,{onClick:this.close},Object(h.__)("Close snippet editor","wordpress-seo"))):null}setFieldFocus(e){e=this.mapFieldToEditor(e),this.setState({activeField:e})}unsetFieldFocus(){this.setState({activeField:null})}onChangeMode(e){this.props.onChange("mode",e)}onMouseUp(e){this.state.isOpen?this.setFieldFocus(e):this.open().then(this.setFieldFocus.bind(this,e))}onMouseEnter(e){this.setState({hoveredField:this.mapFieldToEditor(e)})}onMouseLeave(){this.setState({hoveredField:null})}open(){return new Promise(e=>{this.setState({isOpen:!0},e)})}close(){this.setState({isOpen:!1,activeField:null},()=>{this._editButton.focus()})}processReplacementVariables(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.replacementVariables;if(this.props.applyReplacementVariables)return this.props.applyReplacementVariables(e);for(const{name:n,value:o}of t)e=e.replace(new RegExp("%%"+Object(L.escapeRegExp)(n)+"%%","g"),o);return e}mapDataToMeasurements(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.replacementVariables;const{baseUrl:n,mapEditorDataToPreview:o}=this.props;let r=this.processReplacementVariables(e.description,t);r=U.languageProcessing.stripSpaces(r);const i=n.replace(/^https?:\/\//i,""),s={title:this.processReplacementVariables(e.title,t),url:n+e.slug,description:r};return o?o(s,{shortenedBaseUrl:i}):s}mapDataToPreview(e){return{title:e.title,url:e.url,description:e.description}}mapFieldToPreview(e){return"slug"===e&&(e="url"),e}mapFieldToEditor(e){return"url"===e&&(e="slug"),e}setEditButtonRef(e){this._editButton=e}render(){const{data:e,mode:t,date:n,locale:r,keyword:i,wordsToHighlight:s,showCloseButton:a,faviconSrc:l,mobileImageSrc:c,idSuffix:p,shoppingData:u}=this.props,{activeField:d,hoveredField:f,isOpen:m}=this.state,g=this.mapDataToMeasurements(e),b=this.mapDataToPreview(g);return Object(o.createElement)(y.ErrorBoundary,null,Object(o.createElement)("div",null,Object(o.createElement)(ke,{onChange:this.onChangeMode,active:t,mobileModeInputId:Object(E.join)(["yoast-google-preview-mode-mobile",p]),desktopModeInputId:Object(E.join)(["yoast-google-preview-mode-desktop",p])}),Object(o.createElement)(we,F()({keyword:i,wordsToHighlight:s,mode:t,date:n,activeField:this.mapFieldToPreview(d),hoveredField:this.mapFieldToPreview(f),onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onMouseUp:this.onMouseUp,locale:r,faviconSrc:l,mobileImageSrc:c,shoppingData:u},b)),a&&Object(o.createElement)(Ue,{onClick:m?this.close:this.open,"aria-expanded":m,ref:this.setEditButtonRef},Object(o.createElement)(y.SvgIcon,{icon:"edit"}),Object(h.__)("Edit snippet","wordpress-seo")),this.renderEditor()))}}Be.propTypes={onReplacementVariableSearchChange:c.a.func,replacementVariables:Oe.replacementVariablesShape,recommendedReplacementVariables:Oe.recommendedReplacementVariablesShape,data:c.a.shape({title:c.a.string.isRequired,slug:c.a.string.isRequired,description:c.a.string.isRequired}).isRequired,descriptionEditorFieldPlaceholder:c.a.string,baseUrl:c.a.string.isRequired,mode:c.a.oneOf(X),date:c.a.string,onChange:c.a.func.isRequired,onChangeAnalysisData:c.a.func,titleLengthProgress:je,descriptionLengthProgress:je,applyReplacementVariables:c.a.func,mapEditorDataToPreview:c.a.func,keyword:c.a.string,wordsToHighlight:c.a.array,locale:c.a.string,hasPaperStyle:c.a.bool,showCloseButton:c.a.bool,faviconSrc:c.a.string,mobileImageSrc:c.a.string,idSuffix:c.a.string,shoppingData:c.a.object,isCornerstone:c.a.bool,isTaxonomy:c.a.bool},Be.defaultProps={mode:"mobile",date:"",wordsToHighlight:[],onReplacementVariableSearchChange:null,replacementVariables:[],recommendedReplacementVariables:[],titleLengthProgress:{max:600,actual:0,score:0},descriptionLengthProgress:{max:156,actual:0,score:0},applyReplacementVariables:null,mapEditorDataToPreview:null,keyword:"",locale:"en",descriptionEditorFieldPlaceholder:"",onChangeAnalysisData:L.noop,hasPaperStyle:!0,showCloseButton:!0,faviconSrc:"",mobileImageSrc:"",idSuffix:"",shoppingData:{},isCornerstone:!1,isTaxonomy:!1};var ze=Be},5:function(e,t){e.exports=window.yoast.styledComponents},58:function(e,t){e.exports=window.lodash.uniqueId},59:function(e,t){e.exports=window.yoast.analysis},6:function(e,t){e.exports=window.yoast.styleGuide},64:function(e,t,n){"use strict";var o=n(3),r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(41),s=n(65),a=n(66),l="function"==typeof Symbol&&Symbol.iterator;function c(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,o={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return o[e]}))):t.toString(36);var n,o}var p=/\/+/g;function u(e){return(""+e).replace(p,"$&/")}var h,d,f=m,m=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function g(e,t,n,o){this.result=e,this.keyPrefix=t,this.func=n,this.context=o,this.count=0}function b(e,t,n){var r,s,a=e.result,l=e.keyPrefix,c=e.func,p=e.context,h=c.call(p,t,e.count++);Array.isArray(h)?v(h,a,n,i.thatReturnsArgument):null!=h&&(o.isValidElement(h)&&(r=h,s=l+(!h.key||t&&t.key===h.key?"":u(h.key)+"/")+n,h=o.cloneElement(r,{key:s},void 0!==r.props?r.props.children:void 0)),a.push(h))}function v(e,t,n,o,i){var a="";null!=n&&(a=u(n)+"/");var p=g.getPooled(t,a,o,i);!function(e,t,n){null==e||function e(t,n,o,i){var a,p=typeof t;if("undefined"!==p&&"boolean"!==p||(t=null),null===t||"string"===p||"number"===p||"object"===p&&t.$$typeof===r)return o(i,t,""===n?"."+c(t,0):n),1;var u=0,h=""===n?".":n+":";if(Array.isArray(t))for(var d=0;d<t.length;d++)u+=e(a=t[d],h+c(a,d),o,i);else{var f=function(e){var t=e&&(l&&e[l]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(f)for(var m,g=f.call(t),b=0;!(m=g.next()).done;)u+=e(a=m.value,h+c(a,b++),o,i);else if("object"===p){var v=""+t;s(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===v?"object with keys {"+Object.keys(t).join(", ")+"}":v,"")}}return u}(e,"",t,n)}(e,b,p),g.release(p)}g.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h=function(e,t,n,o){if(this.instancePool.length){var r=this.instancePool.pop();return this.call(r,e,t,n,o),r}return new this(e,t,n,o)},(d=g).instancePool=[],d.getPooled=h||f,d.poolSize||(d.poolSize=10),d.release=function(e){s(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)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return a(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(o.isValidElement(e))return a(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;s(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)v(e[n],t,n,i.thatReturnsArgument);return t}},65:function(e,t,n){"use strict";e.exports=function(e,t,n,o,r,i,s,a){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,o,r,i,s,a],p=0;(l=new Error(t.replace(/%s/g,(function(){return c[p++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},66:function(e,t,n){"use strict";var o=n(41);e.exports=o},67:function(e,t,n){"use strict";function o(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(o)}},7:function(e,t){e.exports=window.yoast.componentsNew},81:function(e,t){e.exports=window.lodash.debounce},85:function(e,t,n){"use strict";function o(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function r(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function i(e,t){try{var n=this.props,o=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,o)}finally{this.props=n,this.state=o}}function s(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,s=null,a=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?s="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(s="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?a="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(a="UNSAFE_componentWillUpdate"),null!==n||null!==s||null!==a){var l=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"+l+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n  "+n:"")+(null!==s?"\n  "+s:"")+(null!==a?"\n  "+a:"")+"\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=o,t.componentWillReceiveProps=r),"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 p=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;p.call(this,e,t,o)}}return e}n.r(t),n.d(t,"polyfill",(function(){return s})),o.__suppressDeprecationWarning=!0,r.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},9:function(e,t){e.exports=window.yoast.helpers},93: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}}});componentsNew.js000066600000441466151123775150007773 0ustar00window.yoast=window.yoast||{},window.yoast.componentsNew=function(e){var t={};function o(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,o),n.l=!0,n.exports}return o.m=e,o.c=t,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=490)}({0:function(e,t){e.exports=window.yoast.propTypes},1:function(e,t){e.exports=window.wp.element},106:function(e,t){e.exports=window.lodash.flow},111:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=void 0;var r,n=((r=o(247))&&r.__esModule?r:{default:r}).default,a=n.canUseDOM?window.HTMLElement:{};t.canUseDOM=n.canUseDOM,t.default=a},12:function(e,t){function o(){return e.exports=o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,o.apply(this,arguments)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},138:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return[].slice.call(e.querySelectorAll("*"),0).filter(a)};var r=/input|select|textarea|button|object/;function n(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;var o=window.getComputedStyle(e);return t?"visible"!==o.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0:"none"==o.getPropertyValue("display")}function a(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var o=isNaN(t);return(o||t>=0)&&function(e,t){var o=e.nodeName.toLowerCase();return(r.test(o)&&!e.disabled||"a"===o&&e.href||t)&&function(e){for(var t=e;t&&t!==document.body;){if(n(t))return!1;t=t.parentNode}return!0}(e)}(e,!o)}e.exports=t.default},139:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertNodeList=l,t.setElement=function(e){var t=e;if("string"==typeof t&&a.canUseDOM){var o=document.querySelectorAll(t);l(o,t),t="length"in o?o[0]:o}return s=t||s},t.validateElement=i,t.hide=function(e){i(e)&&(e||s).setAttribute("aria-hidden","true")},t.show=function(e){i(e)&&(e||s).removeAttribute("aria-hidden")},t.documentNotReadyOrSSRTesting=function(){s=null},t.resetForTesting=function(){s=null};var r,n=(r=o(246))&&r.__esModule?r:{default:r},a=o(111),s=null;function l(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function i(e){return!(!e&&!s&&((0,n.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),1))}},140:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=new function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var o=t.openInstances.indexOf(e);-1!==o&&(t.openInstances.splice(o,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach((function(o){return o(e,t.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]};t.default=r,e.exports=t.default},2:function(e,t){e.exports=window.lodash},218:function(e,t){e.exports=window.yoast.reactSelect},219:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,n=(r=o(242))&&r.__esModule?r:{default:r};t.default=n.default,e.exports=t.default},242:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},n=function(){function e(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,o,r){return o&&e(t.prototype,o),r&&e(t,r),t}}(),a=o(3),s=f(a),l=f(o(38)),i=f(o(0)),c=f(o(243)),d=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t}(o(139)),u=o(111),p=f(u),h=o(85);function f(e){return e&&e.__esModule?e:{default:e}}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(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 g=t.portalClassName="ReactModalPortal",y=t.bodyOpenClassName="ReactModal__Body--open",v=u.canUseDOM&&void 0!==l.default.createPortal,x=function(){return v?l.default.createPortal:l.default.unstable_renderSubtreeIntoContainer};function O(e){return e()}var C=function(e){function t(){var e,o,n;b(this,t);for(var a=arguments.length,i=Array(a),d=0;d<a;d++)i[d]=arguments[d];return o=n=m(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),n.removePortal=function(){!v&&l.default.unmountComponentAtNode(n.node);var e=O(n.props.parentSelector);e&&e.contains(n.node)?e.removeChild(n.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},n.portalRef=function(e){n.portal=e},n.renderPortal=function(e){var o=x()(n,s.default.createElement(c.default,r({defaultStyles:t.defaultStyles},e)),n.node);n.portalRef(o)},m(n,o)}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),n(t,[{key:"componentDidMount",value:function(){u.canUseDOM&&(v||(this.node=document.createElement("div")),this.node.className=this.props.portalClassName,O(this.props.parentSelector).appendChild(this.node),!v&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:O(e.parentSelector),nextParent:O(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,o){if(u.canUseDOM){var r=this.props,n=r.isOpen,a=r.portalClassName;e.portalClassName!==a&&(this.node.className=a);var s=o.prevParent,l=o.nextParent;l!==s&&(s.removeChild(this.node),l.appendChild(this.node)),(e.isOpen||n)&&!v&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(u.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),o=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);o?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,o-t)):this.removePortal()}}},{key:"render",value:function(){return u.canUseDOM&&v?(!this.node&&v&&(this.node=document.createElement("div")),x()(s.default.createElement(c.default,r({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){d.setElement(e)}}]),t}(a.Component);C.propTypes={isOpen:i.default.bool.isRequired,style:i.default.shape({content:i.default.object,overlay:i.default.object}),portalClassName:i.default.string,bodyOpenClassName:i.default.string,htmlOpenClassName:i.default.string,className:i.default.oneOfType([i.default.string,i.default.shape({base:i.default.string.isRequired,afterOpen:i.default.string.isRequired,beforeClose:i.default.string.isRequired})]),overlayClassName:i.default.oneOfType([i.default.string,i.default.shape({base:i.default.string.isRequired,afterOpen:i.default.string.isRequired,beforeClose:i.default.string.isRequired})]),appElement:i.default.instanceOf(p.default),onAfterOpen:i.default.func,onRequestClose:i.default.func,closeTimeoutMS:i.default.number,ariaHideApp:i.default.bool,shouldFocusAfterRender:i.default.bool,shouldCloseOnOverlayClick:i.default.bool,shouldReturnFocusAfterClose:i.default.bool,preventScroll:i.default.bool,parentSelector:i.default.func,aria:i.default.object,data:i.default.object,role:i.default.string,contentLabel:i.default.string,shouldCloseOnEsc:i.default.bool,overlayRef:i.default.func,contentRef:i.default.func,id:i.default.string,overlayElement:i.default.func,contentElement:i.default.func},C.defaultProps={isOpen:!1,portalClassName:g,bodyOpenClassName:y,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return s.default.createElement("div",e,t)},contentElement:function(e,t){return s.default.createElement("div",e,t)}},C.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,h.polyfill)(C),t.default=C},243:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},n="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},a=function(){function e(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,o,r){return o&&e(t.prototype,o),r&&e(t,r),t}}(),s=o(3),l=b(o(0)),i=f(o(244)),c=b(o(245)),d=f(o(139)),u=f(o(248)),p=b(o(111)),h=b(o(140));function f(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t}function b(e){return e&&e.__esModule?e:{default:e}}o(249);var m={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},g=0,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 o=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 o.setOverlayRef=function(e){o.overlay=e,o.props.overlayRef&&o.props.overlayRef(e)},o.setContentRef=function(e){o.content=e,o.props.contentRef&&o.props.contentRef(e)},o.afterClose=function(){var e=o.props,t=e.appElement,r=e.ariaHideApp,n=e.htmlOpenClassName,a=e.bodyOpenClassName;a&&u.remove(document.body,a),n&&u.remove(document.getElementsByTagName("html")[0],n),r&&g>0&&0==(g-=1)&&d.show(t),o.props.shouldFocusAfterRender&&(o.props.shouldReturnFocusAfterClose?(i.returnFocus(o.props.preventScroll),i.teardownScopedFocus()):i.popWithoutFocus()),o.props.onAfterClose&&o.props.onAfterClose(),h.default.deregister(o)},o.open=function(){o.beforeOpen(),o.state.afterOpen&&o.state.beforeClose?(clearTimeout(o.closeTimer),o.setState({beforeClose:!1})):(o.props.shouldFocusAfterRender&&(i.setupScopedFocus(o.node),i.markForFocusLater()),o.setState({isOpen:!0},(function(){o.setState({afterOpen:!0}),o.props.isOpen&&o.props.onAfterOpen&&o.props.onAfterOpen({overlayEl:o.overlay,contentEl:o.content})})))},o.close=function(){o.props.closeTimeoutMS>0?o.closeWithTimeout():o.closeWithoutTimeout()},o.focusContent=function(){return o.content&&!o.contentHasFocus()&&o.content.focus({preventScroll:!0})},o.closeWithTimeout=function(){var e=Date.now()+o.props.closeTimeoutMS;o.setState({beforeClose:!0,closesAt:e},(function(){o.closeTimer=setTimeout(o.closeWithoutTimeout,o.state.closesAt-Date.now())}))},o.closeWithoutTimeout=function(){o.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},o.afterClose)},o.handleKeyDown=function(e){9===e.keyCode&&(0,c.default)(o.content,e),o.props.shouldCloseOnEsc&&27===e.keyCode&&(e.stopPropagation(),o.requestClose(e))},o.handleOverlayOnClick=function(e){null===o.shouldClose&&(o.shouldClose=!0),o.shouldClose&&o.props.shouldCloseOnOverlayClick&&(o.ownerHandlesClose()?o.requestClose(e):o.focusContent()),o.shouldClose=null},o.handleContentOnMouseUp=function(){o.shouldClose=!1},o.handleOverlayOnMouseDown=function(e){o.props.shouldCloseOnOverlayClick||e.target!=o.overlay||e.preventDefault()},o.handleContentOnClick=function(){o.shouldClose=!1},o.handleContentOnMouseDown=function(){o.shouldClose=!1},o.requestClose=function(e){return o.ownerHandlesClose()&&o.props.onRequestClose(e)},o.ownerHandlesClose=function(){return o.props.onRequestClose},o.shouldBeClosed=function(){return!o.state.isOpen&&!o.state.beforeClose},o.contentHasFocus=function(){return document.activeElement===o.content||o.content.contains(document.activeElement)},o.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":n(t))?t:{base:m[e],afterOpen:m[e]+"--after-open",beforeClose:m[e]+"--before-close"},a=r.base;return o.state.afterOpen&&(a=a+" "+r.afterOpen),o.state.beforeClose&&(a=a+" "+r.beforeClose),"string"==typeof t&&t?a+" "+t:a},o.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(o,r){return o[e+"-"+r]=t[r],o}),{})},o.state={afterOpen:!1,beforeClose:!1},o.shouldClose=null,o.moveFromContentToOverlay=null,o}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),a(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,o=e.ariaHideApp,r=e.htmlOpenClassName,n=e.bodyOpenClassName;n&&u.add(document.body,n),r&&u.add(document.getElementsByTagName("html")[0],r),o&&(g+=1,d.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,o=e.className,n=e.overlayClassName,a=e.defaultStyles,s=e.children,l=o?{}:a.content,i=n?{}:a.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",n),style:r({},i,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},d=r({id:t,ref:this.setContentRef,style:r({},l,this.props.style.content),className:this.buildClassName("content",o),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",r({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),u=this.props.contentElement(d,s);return this.props.overlayElement(c,u)}}]),t}(s.Component);y.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},y.propTypes={isOpen:l.default.bool.isRequired,defaultStyles:l.default.shape({content:l.default.object,overlay:l.default.object}),style:l.default.shape({content:l.default.object,overlay:l.default.object}),className:l.default.oneOfType([l.default.string,l.default.object]),overlayClassName:l.default.oneOfType([l.default.string,l.default.object]),bodyOpenClassName:l.default.string,htmlOpenClassName:l.default.string,ariaHideApp:l.default.bool,appElement:l.default.instanceOf(p.default),onAfterOpen:l.default.func,onAfterClose:l.default.func,onRequestClose:l.default.func,closeTimeoutMS:l.default.number,shouldFocusAfterRender:l.default.bool,shouldCloseOnOverlayClick:l.default.bool,shouldReturnFocusAfterClose:l.default.bool,preventScroll:l.default.bool,role:l.default.string,contentLabel:l.default.string,aria:l.default.object,data:l.default.object,children:l.default.node,shouldCloseOnEsc:l.default.bool,overlayRef:l.default.func,contentRef:l.default.func,id:l.default.string,overlayElement:l.default.func,contentElement:l.default.func,testId:l.default.string},t.default=y,e.exports=t.default},244:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleBlur=i,t.handleFocus=c,t.markForFocusLater=function(){a.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==a.length&&(t=a.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){a.length>0&&a.pop()},t.setupScopedFocus=function(e){s=e,window.addEventListener?(window.addEventListener("blur",i,!1),document.addEventListener("focus",c,!0)):(window.attachEvent("onBlur",i),document.attachEvent("onFocus",c))},t.teardownScopedFocus=function(){s=null,window.addEventListener?(window.removeEventListener("blur",i),document.removeEventListener("focus",c)):(window.detachEvent("onBlur",i),document.detachEvent("onFocus",c))};var r,n=(r=o(138))&&r.__esModule?r:{default:r},a=[],s=null,l=!1;function i(){l=!0}function c(){if(l){if(l=!1,!s)return;setTimeout((function(){s.contains(document.activeElement)||((0,n.default)(s)[0]||s).focus()}),0)}}},245:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var o=(0,n.default)(e);if(o.length){var r=void 0,a=t.shiftKey,s=o[0],l=o[o.length-1];if(e===document.activeElement){if(!a)return;r=l}if(l!==document.activeElement||a||(r=s),s===document.activeElement&&a&&(r=l),r)return t.preventDefault(),void r.focus();var i=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null!=i&&"Chrome"!=i[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){var c=o.indexOf(document.activeElement);if(c>-1&&(c+=a?-1:1),void 0===(r=o[c]))return t.preventDefault(),void(r=a?l:s).focus();t.preventDefault(),r.focus()}}else t.preventDefault()};var r,n=(r=o(138))&&r.__esModule?r:{default:r};e.exports=t.default},246:function(e,t,o){"use strict";e.exports=function(){}},247:function(e,t,o){var r;!function(){"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),a={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen};void 0===(r=function(){return a}.call(t,o,t,e))||(e.exports=r)}()},248:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dumpClassLists=function(){};var r={},n={};t.add=function(e,t){return o=e.classList,a="html"==e.nodeName.toLowerCase()?r:n,void t.split(" ").forEach((function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(a,e),o.add(e)}));var o,a},t.remove=function(e,t){return o=e.classList,a="html"==e.nodeName.toLowerCase()?r:n,void t.split(" ").forEach((function(e){!function(e,t){e[t]&&(e[t]-=1)}(a,e),0===a[e]&&o.remove(e)}));var o,a}},249:function(e,t,o){"use strict";var r,n=(r=o(140))&&r.__esModule?r:{default:r},a=void 0,s=void 0,l=[];function i(){0!==l.length&&l[l.length-1].focusContent()}n.default.subscribe((function(e,t){a&&s||((a=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),a.style.position="absolute",a.style.opacity="0",a.setAttribute("tabindex","0"),a.addEventListener("focus",i),(s=a.cloneNode()).addEventListener("focus",i)),(l=t).length>0?(document.body.firstChild!==a&&document.body.insertBefore(a,document.body.firstChild),document.body.lastChild!==s&&document.body.appendChild(s)):(a.parentElement&&a.parentElement.removeChild(a),s.parentElement&&s.parentElement.removeChild(s))}))},3:function(e,t){e.exports=window.React},32:function(e,t,o){"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},n=l(o(3)),a=l(o(64)),s=l(o(67));function l(e){return e&&e.__esModule?e:{default:e}}var i=void 0;t.default=function(e){var t=e.mixedString,o=e.components,l=e.throwErrors;if(i=t,!o)return t;if("object"!==(void 0===o?"undefined":r(o))){if(l)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var c=(0,s.default)(t);try{return function e(t,o){var s,l,c,d,u,p,h,f,b=[],m={};for(p=0;p<t.length;p++)if("string"!==(u=t[p]).type){if(!o.hasOwnProperty(u.value)||void 0===o[u.value])throw new Error("Invalid interpolation, missing component node: `"+u.value+"`");if("object"!==r(o[u.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+u.value+"`","\n> "+i);if("componentClose"===u.type)throw new Error("Missing opening component token: `"+u.value+"`");if("componentOpen"===u.type){s=o[u.value],c=p;break}b.push(o[u.value])}else b.push(u.value);return s&&(d=function(e,t){var o,r,n=t[e],a=0;for(r=e+1;r<t.length;r++)if((o=t[r]).value===n.value){if("componentOpen"===o.type){a++;continue}if("componentClose"===o.type){if(0===a)return r;a--}}throw new Error("Missing closing component token `"+n.value+"`")}(c,t),h=e(t.slice(c+1,d),o),l=n.default.cloneElement(s,{},h),b.push(l),d<t.length-1&&(f=e(t.slice(d+1),o),b=b.concat(f))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(m["interpolation-child-"+t]=e)})),(0,a.default)(m))}(c,o)}catch(e){if(l)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},33:function(e,t,o){var r;!function(){"use strict";var o={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var s=n.apply(null,r);s&&e.push(s)}else if("object"===a)for(var l in r)o.call(r,l)&&r[l]&&e.push(l)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(r=function(){return n}.apply(t,[]))||(e.exports=r)}()},38:function(e,t){e.exports=window.ReactDOM},39:function(e,t){e.exports=window.lodash.omit},4:function(e,t){e.exports=window.wp.i18n},40:function(e,t){e.exports=window.wp.a11y},41:function(e,t,o){"use strict";function r(e){return function(){return e}}var n=function(){};n.thatReturns=r,n.thatReturnsFalse=r(!1),n.thatReturnsTrue=r(!0),n.thatReturnsNull=r(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},490:function(e,t,o){"use strict";o.r(t),o.d(t,"NewButton",(function(){return A})),o.d(t,"ButtonStyledLink",(function(){return F})),o.d(t,"CloseButton",(function(){return W})),o.d(t,"Checkbox",(function(){return ne})),o.d(t,"DataModel",(function(){return ie})),o.d(t,"FieldGroup",(function(){return re})),o.d(t,"ImageSelect",(function(){return ye})),o.d(t,"ImageSelectButtons",(function(){return de})),o.d(t,"TextInput",(function(){return xe})),o.d(t,"DurationInput",(function(){return _e})),o.d(t,"RadioButtonGroup",(function(){return Re})),o.d(t,"SingleSelect",(function(){return Ae})),o.d(t,"MultiSelect",(function(){return Fe})),o.d(t,"Select",(function(){return Ue})),o.d(t,"StarRating",(function(){return We})),o.d(t,"helpIconDefaultProps",(function(){return K})),o.d(t,"helpIconProps",(function(){return V})),o.d(t,"HelpIcon",(function(){return Y})),o.d(t,"NewBadge",(function(){return X})),o.d(t,"PremiumBadge",(function(){return Q})),o.d(t,"BetaBadge",(function(){return Ve})),o.d(t,"StyledSection",(function(){return w})),o.d(t,"StyledSectionBase",(function(){return O})),o.d(t,"StyledHeading",(function(){return v})),o.d(t,"LinkButton",(function(){return R})),o.d(t,"Button",(function(){return N})),o.d(t,"BaseButton",(function(){return $})),o.d(t,"addHoverStyle",(function(){return S})),o.d(t,"addActiveStyle",(function(){return T})),o.d(t,"addFocusStyle",(function(){return k})),o.d(t,"addBaseStyle",(function(){return E})),o.d(t,"addButtonStyles",(function(){return q})),o.d(t,"Collapsible",(function(){return dt})),o.d(t,"CollapsibleStateless",(function(){return it})),o.d(t,"StyledIconsButton",(function(){return at})),o.d(t,"StyledContainer",(function(){return rt})),o.d(t,"StyledContainerTopLevel",(function(){return nt})),o.d(t,"wrapInHeading",(function(){return st})),o.d(t,"Alert",(function(){return me})),o.d(t,"ArticleList",(function(){return vt})),o.d(t,"Card",(function(){return qt})),o.d(t,"FullHeightCard",(function(){return $t})),o.d(t,"CardBanner",(function(){return Ct})),o.d(t,"CourseDetails",(function(){return Dt})),o.d(t,"IconLabeledButton",(function(){return Wt})),o.d(t,"IconButton",(function(){return Kt})),o.d(t,"IconsButton",(function(){return Ge})),o.d(t,"ErrorBoundary",(function(){return Zt})),o.d(t,"Heading",(function(){return h})),o.d(t,"HelpText",(function(){return Jt})),o.d(t,"Icon",(function(){return to})),o.d(t,"IconButtonToggle",(function(){return no})),o.d(t,"IconCTAEditButton",(function(){return lo})),o.d(t,"IFrame",(function(){return io})),o.d(t,"Input",(function(){return uo})),o.d(t,"WordOccurrenceInsights",(function(){return go})),o.d(t,"Label",(function(){return xo})),o.d(t,"SimulatedLabel",(function(){return yo})),o.d(t,"LanguageNotice",(function(){return wo})),o.d(t,"languageNoticePropType",(function(){return _o})),o.d(t,"Loader",(function(){return ko})),o.d(t,"MultiStepProgress",(function(){return Po})),o.d(t,"Notification",(function(){return Uo})),o.d(t,"Paper",(function(){return Io})),o.d(t,"ProgressBar",(function(){return Wo})),o.d(t,"Section",(function(){return b})),o.d(t,"SectionTitle",(function(){return tt})),o.d(t,"ScoreAssessments",(function(){return er})),o.d(t,"StackedProgressBar",(function(){return nr})),o.d(t,"SvgIcon",(function(){return y})),o.d(t,"icons",(function(){return g})),o.d(t,"SynonymsInput",(function(){return pr})),o.d(t,"Textarea",(function(){return fr})),o.d(t,"Textfield",(function(){return mr})),o.d(t,"Toggle",(function(){return wr})),o.d(t,"UpsellButton",(function(){return qr})),o.d(t,"UpsellLinkButton",(function(){return $r})),o.d(t,"YoastButton",(function(){return Er})),o.d(t,"InputField",(function(){return lr})),o.d(t,"YoastLinkButton",(function(){return Nr})),o.d(t,"Logo",(function(){return Rr})),o.d(t,"Modal",(function(){return Lr})),o.d(t,"YoastSeoIcon",(function(){return Dr})),o.d(t,"Tabs",(function(){return fn})),o.d(t,"Warning",(function(){return On})),o.d(t,"YouTubeVideo",(function(){return wn})),o.d(t,"WordList",(function(){return En})),o.d(t,"WordOccurrences",(function(){return bo})),o.d(t,"VariableEditorInputContainer",(function(){return ar})),o.d(t,"InsightsCard",(function(){return Ee})),o.d(t,"ListTable",(function(){return Sn})),o.d(t,"ZebrafiedListTable",(function(){return Tn})),o.d(t,"Row",(function(){return qn})),o.d(t,"ScreenReaderText",(function(){return Xe})),o.d(t,"ScreenReaderShortcut",(function(){return Nn})),o.d(t,"KeywordSuggestions",(function(){return go}));var r=o(1),n=o(3),a=o.n(n),s=o(0),l=o.n(s),i=o(5),c=o.n(i),d=o(6),u=o(9);const p=e=>{const t="h"+e.level;return Object(r.createElement)(t,{className:e.className},e.children)};p.propTypes={level:l.a.number,className:l.a.string,children:l.a.any},p.defaultProps={level:1};var h=p;const f=e=>Object(r.createElement)("section",{className:e.className},e.headingText&&Object(r.createElement)(h,{level:e.headingLevel,className:e.headingClassName},e.headingText),e.children);f.propTypes={className:l.a.string,headingText:l.a.string,headingLevel:l.a.number,headingClassName:l.a.string,children:l.a.any},f.defaultProps={headingLevel:1};var b=f;const m=c.a.svg`
	width: ${e=>e.size};
	height: ${e=>e.size};
	flex: none;

	animation: loadingSpinnerRotator 1.4s linear infinite;

	& .path {
		stroke: ${e=>e.fill};
		stroke-dasharray: 187;
		stroke-dashoffset: 0;
		transform-origin: center;
		animation: loadingSpinnerDash 1.4s ease-in-out infinite;
	}

	@keyframes loadingSpinnerRotator {
		0% { transform: rotate( 0deg ); }
		100% { transform: rotate( 270deg ); }
	}

	@keyframes loadingSpinnerDash {
		0% { stroke-dashoffset: 187; }
		50% {
			stroke-dashoffset: 47;
			transform:rotate( 135deg );
		}
		100% {
			stroke-dashoffset: 187;
			transform: rotate( 450deg );
		}
	}
`,g={"chevron-down":{viewbox:"0 0 24 24",width:"24px",path:[Object(r.createElement)("g",{key:"1"},Object(r.createElement)("path",{fill:"none",d:"M0,0h24v24H0V0z"})),Object(r.createElement)("g",{key:"2"},Object(r.createElement)("path",{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"}))]},"chevron-up":{viewbox:"0 0 24 24",width:"24px",path:[Object(r.createElement)("g",{key:"1"},Object(r.createElement)("path",{fill:"none",d:"M0,0h24v24H0V0z"})),Object(r.createElement)("g",{key:"2"},Object(r.createElement)("path",{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"}))]},clipboard:{viewbox:"0 0 1792 1792",path:"M768 1664h896v-640h-416q-40 0-68-28t-28-68v-416h-384v1152zm256-1440v-64q0-13-9.5-22.5t-22.5-9.5h-704q-13 0-22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h704q13 0 22.5-9.5t9.5-22.5zm256 672h299l-299-299v299zm512 128v672q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-160h-544q-40 0-68-28t-28-68v-1344q0-40 28-68t68-28h1088q40 0 68 28t28 68v328q21 13 36 28l408 408q28 28 48 76t20 88z"},check:{viewbox:"0 0 1792 1792",path:"M249.2,431.2c-23,0-45.6,9.4-61.8,25.6L25.6,618.6C9.4,634.8,0,657.4,0,680.4c0,23,9.4,45.6,25.6,61.8 l593.1,593.1c16.2,16.2,38.8,25.6,61.8,25.6c23,0,45.6-9.4,61.8-25.6L1766.4,311c16.2-16.2,25.6-38.8,25.6-61.8 s-9.4-45.6-25.6-61.8L1604.5,25.6C1588.3,9.4,1565.8,0,1542.8,0c-23,0-45.6,9.4-61.8,25.6L680.4,827L311,456.3 C294.8,440.5,272.3,431.2,249.2,431.2z"},"angle-down":{viewbox:"0 0 1792 1792",path:"M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"},"angle-left":{viewbox:"0 0 1792 1792",path:"M1203 544q0 13-10 23l-393 393 393 393q10 10 10 23t-10 23l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23z"},"angle-right":{viewbox:"0 0 1792 1792",path:"M1171 960q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23z"},"angle-up":{viewbox:"0 0 1792 1792",path:"M1395 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10l-393-393-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z"},"arrow-down":{viewbox:"0 0 1792 1792",path:"M896 1791L120.91 448.5L1671.09 448.5z"},"arrow-left":{viewbox:"0 0 1792 1792",path:"M1343.5 1671.09L1 896L1343.5 120.91z"},"arrow-right":{viewbox:"0 0 1792 1792",path:"M1791 896L448.5 1671.09L448.5 120.91z"},"arrow-up":{viewbox:"0 0 1792 1792",path:"M1671.09 1343.5L120.91 1343.5L896 1z"},"caret-right":{viewbox:"0 0 192 512",path:"M 0 384.662 V 127.338 c 0 -17.818 21.543 -26.741 34.142 -14.142 l 128.662 128.662 c 7.81 7.81 7.81 20.474 0 28.284 L 34.142 398.804 C 21.543 411.404 0 402.48 0 384.662 Z"},circle:{viewbox:"0 0 1792 1792",path:"M1664 896q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"},desktop:{viewbox:"0 0 1792 1792",path:"M1728 992v-832q0-13-9.5-22.5t-22.5-9.5h-1600q-13 0-22.5 9.5t-9.5 22.5v832q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5zm128-832v1088q0 66-47 113t-113 47h-544q0 37 16 77.5t32 71 16 43.5q0 26-19 45t-45 19h-512q-26 0-45-19t-19-45q0-14 16-44t32-70 16-78h-544q-66 0-113-47t-47-113v-1088q0-66 47-113t113-47h1600q66 0 113 47t47 113z"},edit:{viewbox:"0 0 1792 1792",path:"M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z"},eye:{viewbox:"0 0 1792 1792",path:"M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z"},"exclamation-triangle":{viewbox:"0 0 1792 1792",path:"M1024 1375v-190q0-14-9.5-23.5T992 1152H800q-13 0-22.5 9.5T768 1185v190q0 14 9.5 23.5t22.5 9.5h192q13 0 22.5-9.5t9.5-23.5zm-2-374l18-459q0-12-10-19-13-11-24-11H786q-11 0-24 11-10 7-10 21l17 457q0 10 10 16.5t24 6.5h185q14 0 23.5-6.5t10.5-16.5zm-14-934l768 1408q35 63-2 126-17 29-46.5 46t-63.5 17H128q-34 0-63.5-17T18 1601q-37-63-2-126L784 67q17-31 47-49t65-18 65 18 47 49z"},"file-text":{viewbox:"0 0 1792 1792",path:"M1596 380q28 28 48 76t20 88v1152q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h896q40 0 88 20t76 48zm-444-244v376h376q-10-29-22-41l-313-313q-12-12-41-22zm384 1528v-1024h-416q-40 0-68-28t-28-68v-416h-768v1536h1280zm-1024-864q0-14 9-23t23-9h704q14 0 23 9t9 23v64q0 14-9 23t-23 9h-704q-14 0-23-9t-9-23v-64zm736 224q14 0 23 9t9 23v64q0 14-9 23t-23 9h-704q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h704zm0 256q14 0 23 9t9 23v64q0 14-9 23t-23 9h-704q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h704z"},gear:{viewbox:"0 0 1792 1792",path:"M1800 800h-218q-26 -107 -81 -193l154 -154l-210 -210l-154 154q-88 -55 -191 -79v-218h-300v218q-103 24 -191 79l-154 -154l-212 212l154 154q-55 88 -79 191h-218v297h217q23 101 80 194l-154 154l210 210l154 -154q85 54 193 81v218h300v-218q103 -24 191 -79 l154 154l212 -212l-154 -154q57 -93 80 -194h217v-297zM950 650q124 0 212 88t88 212t-88 212t-212 88t-212 -88t-88 -212t88 -212t212 -88z"},key:{viewbox:"0 0 1792 1792",path:"M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5t-102.5-265.5q0-160 95-313t248-248 313-95q163 0 265.5 102.5t102.5 265.5q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z"},list:{viewbox:"0 0 1792 1792",path:"M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"},"loading-spinner":{viewbox:"0 0 66 66",CustomComponent:m,path:[Object(r.createElement)("circle",{key:"5",className:"path",fill:"none",strokeWidth:"6",strokeLinecap:"round",cx:"33",cy:"33",r:"30"})]},mobile:{viewbox:"0 0 1792 1792",path:"M976 1408q0-33-23.5-56.5t-56.5-23.5-56.5 23.5-23.5 56.5 23.5 56.5 56.5 23.5 56.5-23.5 23.5-56.5zm208-160v-704q0-13-9.5-22.5t-22.5-9.5h-512q-13 0-22.5 9.5t-9.5 22.5v704q0 13 9.5 22.5t22.5 9.5h512q13 0 22.5-9.5t9.5-22.5zm-192-848q0-16-16-16h-160q-16 0-16 16t16 16h160q16 0 16-16zm288-16v1024q0 52-38 90t-90 38h-512q-52 0-90-38t-38-90v-1024q0-52 38-90t90-38h512q52 0 90 38t38 90z"},"pencil-square":{viewbox:"0 0 1792 1792",path:"M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"},plus:{viewbox:"0 0 1792 1792",path:"M1600 736v192q0 40-28 68t-68 28h-416v416q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-416h-416q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h416v-416q0-40 28-68t68-28h192q40 0 68 28t28 68v416h416q40 0 68 28t28 68z"},"plus-circle":{viewbox:"0 0 1792 1792",path:"M1344 960v-128q0-26-19-45t-45-19h-256v-256q0-26-19-45t-45-19h-128q-26 0-45 19t-19 45v256h-256q-26 0-45 19t-19 45v128q0 26 19 45t45 19h256v256q0 26 19 45t45 19h128q26 0 45-19t19-45v-256h256q26 0 45-19t19-45zm320-64q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"},"question-circle":{viewbox:"0 0 1792 1792",path:"M1024 1376v-192q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23-9t9-23zm256-672q0-88-55.5-163t-138.5-116-170-41q-243 0-371 213-15 24 8 42l132 100q7 6 19 6 16 0 25-12 53-68 86-92 34-24 86-24 48 0 85.5 26t37.5 59q0 38-20 61t-68 45q-63 28-115.5 86.5t-52.5 125.5v36q0 14 9 23t23 9h192q14 0 23-9t9-23q0-19 21.5-49.5t54.5-49.5q32-18 49-28.5t46-35 44.5-48 28-60.5 12.5-81zm384 192q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"},search:{viewbox:"0 0 1792 1792",path:"M1216 832q0-185-131.5-316.5t-316.5-131.5-316.5 131.5-131.5 316.5 131.5 316.5 316.5 131.5 316.5-131.5 131.5-316.5zm512 832q0 52-38 90t-90 38q-54 0-90-38l-343-342q-179 124-399 124-143 0-273.5-55.5t-225-150-150-225-55.5-273.5 55.5-273.5 150-225 225-150 273.5-55.5 273.5 55.5 225 150 150 225 55.5 273.5q0 220-124 399l343 343q37 37 37 90z"},"seo-score-bad":{viewbox:"0 0 496 512",path:"M248 8C111 8 0 119 0 256s111 248 248 248s248-111 248-248S385 8 248 8z M328 176c17.7 0 32 14.3 32 32 s-14.3 32-32 32s-32-14.3-32-32S310.3 176 328 176z M168 176c17.7 0 32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32S150.3 176 168 176 z M338.2 394.2C315.8 367.4 282.9 352 248 352s-67.8 15.4-90.2 42.2c-13.5 16.3-38.1-4.2-24.6-20.5C161.7 339.6 203.6 320 248 320 s86.3 19.6 114.7 53.8C376.3 390 351.7 410.5 338.2 394.2L338.2 394.2z"},"seo-score-good":{viewbox:"0 0 496 512",path:"M248 8C111 8 0 119 0 256s111 248 248 248s248-111 248-248S385 8 248 8z M328 176c17.7 0 32 14.3 32 32 s-14.3 32-32 32s-32-14.3-32-32S310.3 176 328 176z M168 176c17.7 0 32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32S150.3 176 168 176 z M362.8 346.2C334.3 380.4 292.5 400 248 400s-86.3-19.6-114.8-53.8c-13.6-16.3 11-36.7 24.6-20.5c22.4 26.9 55.2 42.2 90.2 42.2 s67.8-15.4 90.2-42.2C351.6 309.5 376.3 329.9 362.8 346.2L362.8 346.2z"},"seo-score-none":{viewbox:"0 0 496 512",path:"M248 8C111 8 0 119 0 256s111 248 248 248s248-111 248-248S385 8 248 8z"},"seo-score-ok":{viewbox:"0 0 496 512",path:"M248 8c137 0 248 111 248 248S385 504 248 504S0 393 0 256S111 8 248 8z M360 208c0-17.7-14.3-32-32-32 s-32 14.3-32 32s14.3 32 32 32S360 225.7 360 208z M344 368c21.2 0 21.2-32 0-32H152c-21.2 0-21.2 32 0 32H344z M200 208 c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32S200 225.7 200 208z"},times:{viewbox:"0 0 1792 1792",path:"M1490 1322q0 40-28 68l-136 136q-28 28-68 28t-68-28l-294-294-294 294q-28 28-68 28t-68-28l-136-136q-28-28-28-68t28-68l294-294-294-294q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 294 294-294q28-28 68-28t68 28l136 136q28 28 28 68t-28 68l-294 294 294 294q28 28 28 68z"},"times-circle":{viewbox:"0 0 20 20",path:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm5 11l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z"},"alert-info":{viewbox:"0 0 512 512",path:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},"alert-error":{viewbox:"0 0 512 512",path:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"},"alert-success":{viewbox:"0 0 512 512",path:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},"alert-warning":{viewbox:"0 0 576 512",path:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},"chart-square-bar":{viewbox:"0 0 24 24",path:[Object(r.createElement)("path",{key:"1",fill:"#ffffff",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M16 8v8m-4-5v5m-4-2v2m-2 4h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"})]}};var y=Object(u.createSvgIconComponent)(g);const v=c()(h)`
	margin-left: ${Object(u.getDirectionalStyle)("0","20px")};
	padding: ${Object(u.getDirectionalStyle)("0","20px")};
`,x=c()(y)``,O=c()(b)`
	box-shadow: ${e=>e.hasPaperStyle?"0 1px 2px "+Object(d.rgba)(d.colors.$color_black,.2):"none"};
	background-color: ${e=>e.hasPaperStyle?d.colors.$color_white:"transparent"};
	padding-right: ${e=>e.hasPaperStyle?"20px":"0"};
	padding-left: ${e=>e.hasPaperStyle?"20px":"0"};
	padding-bottom: ${e=>e.headingText?"0":"10px"};
	padding-top: ${e=>e.headingText?"0":"10px"};

	*, & {
		box-sizing: border-box;

		&:before, &:after {
			box-sizing: border-box;
		}
	}

	& ${v} {
		display: flex;
		align-items: center;
		padding: 8px 0 0;
		font-size: 1rem;
		line-height: 1.5;
		margin: 0 0 16px;
		font-family: "Open Sans", sans-serif;
		font-weight: 300;
		color: ${e=>e.headingColor?e.headingColor:""+d.colors.$color_grey_dark};
	}

	& ${x} {
		flex: 0 0 auto;
		${Object(u.getDirectionalStyle)("margin-right","margin-left")}: 8px;
	}
`,C=e=>Object(r.createElement)(O,{className:e.className,headingColor:e.headingColor,hasPaperStyle:e.hasPaperStyle},e.headingText&&Object(r.createElement)(v,{level:e.headingLevel,className:e.headingClassName},e.headingIcon&&Object(r.createElement)(x,{icon:e.headingIcon,color:e.headingIconColor,size:e.headingIconSize}),e.headingText),e.children);C.propTypes={className:l.a.string,headingLevel:l.a.number,headingClassName:l.a.string,headingColor:l.a.string,headingIcon:l.a.string,headingIconColor:l.a.string,headingIconSize:l.a.string,headingText:l.a.string,hasPaperStyle:l.a.bool,children:l.a.any},C.defaultProps={className:"yoast-section",headingLevel:2,hasPaperStyle:!0};var w=C,_=o(106),j=o.n(_);function E(e){return c()(e)`
		display: inline-flex;
		align-items: center;
		justify-content: center;
		vertical-align: middle;
		border-width: ${"1px"};
		border-style: solid;
		margin: 0;
		padding: ${"4px"} 10px;
		border-radius: 3px;
		cursor: pointer;
		box-sizing: border-box;
		font-size: inherit;
		font-family: inherit;
		font-weight: inherit;
		text-align: ${Object(u.getDirectionalStyle)("left","right")};
		overflow: visible;
		min-height: ${"32px"};
		transition: var(--yoast-transition-default);

		svg {
			// Safari 10
			align-self: center;
		}

		// Only needed for IE 10+. Don't add spaces within brackets for this to work.
		@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
			::after {
				display: inline-block;
				content: "";
				min-height: ${"22px"};
			}
		}
	`}function k(e){return c()(e)`
		&::-moz-focus-inner {
			border-width: 0;
		}

		&:focus {
			outline: none;
			border-color: ${e=>e.focusBorderColor};
			color: ${e=>e.focusColor};
			background-color: ${e=>e.focusBackgroundColor};
			box-shadow: 0 0 3px ${e=>Object(d.rgba)(e.focusBoxShadowColor,.8)}
		}
	`}function S(e){return c()(e)`
		&:hover {
			color: ${e=>e.hoverColor};
			background-color: ${e=>e.hoverBackgroundColor};
			border-color: var(--yoast-color-border--default);
		}
	`}function T(e){return c()(e)`
		&:active {
			color: ${e=>e.activeColor};
			background-color: ${e=>e.activeBackgroundColor};
			border-color: ${e=>e.hoverBorderColor};
			box-shadow: inset 0 2px 5px -3px ${e=>Object(d.rgba)(e.activeBorderColor,.5)}
		}
	`}const q=j()([T,k,S,E]),$=q(c.a.button`
		color: ${e=>e.textColor};
		border-color: ${e=>e.borderColor};
		background: ${e=>e.backgroundColor};
		box-shadow: 0 1px 0 ${e=>Object(d.rgba)(e.boxShadowColor,1)};
	`);$.propTypes={type:l.a.string,backgroundColor:l.a.string,textColor:l.a.string,borderColor:l.a.string,boxShadowColor:l.a.string,hoverColor:l.a.string,hoverBackgroundColor:l.a.string,activeColor:l.a.string,activeBackgroundColor:l.a.string,activeBorderColor:l.a.string,focusColor:l.a.string,focusBackgroundColor:l.a.string,focusBorderColor:l.a.string,focusBoxShadowColor:l.a.string},$.defaultProps={type:"button",backgroundColor:d.colors.$color_button,textColor:d.colors.$color_button_text,borderColor:d.colors.$color_button_border,boxShadowColor:d.colors.$color_button_border,hoverColor:d.colors.$color_button_text_hover,hoverBackgroundColor:d.colors.$color_button_hover,activeColor:d.colors.$color_button_text_hover,activeBackgroundColor:d.colors.$color_button,activeBorderColor:d.colors.$color_button_border_active,focusColor:d.colors.$color_button_text_hover,focusBackgroundColor:d.colors.$color_white,focusBorderColor:d.colors.$color_blue,focusBoxShadowColor:d.colors.$color_blue_dark};var N=$;const R=q(c.a.a`
		text-decoration: none;
		color: ${e=>e.textColor};
		border-color: ${e=>e.borderColor};
		background: ${e=>e.backgroundColor};
		box-shadow: 0 1px 0 ${e=>Object(d.rgba)(e.boxShadowColor,1)};
	`);R.propTypes={backgroundColor:l.a.string,textColor:l.a.string,borderColor:l.a.string,boxShadowColor:l.a.string,hoverColor:l.a.string,hoverBackgroundColor:l.a.string,hoverBorderColor:l.a.string,activeColor:l.a.string,activeBackgroundColor:l.a.string,activeBorderColor:l.a.string,focusColor:l.a.string,focusBackgroundColor:l.a.string,focusBorderColor:l.a.string,focusBoxShadowColor:l.a.string},R.defaultProps={backgroundColor:d.colors.$color_button,textColor:d.colors.$color_button_text,borderColor:d.colors.$color_button_border,boxShadowColor:d.colors.$color_button_border,hoverColor:d.colors.$color_button_text_hover,hoverBackgroundColor:d.colors.$color_button_hover,hoverBorderColor:d.colors.$color_button_border_hover,activeColor:d.colors.$color_button_text_hover,activeBackgroundColor:d.colors.$color_button,activeBorderColor:d.colors.$color_button_border_hover,focusColor:d.colors.$color_button_text_hover,focusBackgroundColor:d.colors.$color_white,focusBorderColor:d.colors.$color_blue,focusBoxShadowColor:d.colors.$color_blue_dark};var P=o(12),B=o.n(P);const I="yoast-button yoast-button--",z={buy:{iconAfter:"yoast-button--buy__caret"},edit:{iconBefore:"yoast-button--edit"},upsell:{iconAfter:"yoast-button--buy__caret"}},M={primary:I+"primary",secondary:I+"secondary",buy:I+"buy",hide:"yoast-hide",remove:"yoast-remove",upsell:I+"buy",purple:I+"primary",grey:I+"secondary",yellow:I+"buy",edit:I+"primary"},L=(e,t)=>{let o=M[e];return t&&(o+=" yoast-button--small"),o},D=e=>z[e]||null,A=e=>{const{children:t,className:o,variant:n,small:a,type:s,buttonRef:l,...i}=e,c=D(n),d=c&&c.iconBefore,u=c&&c.iconAfter;return Object(r.createElement)("button",B()({ref:l,className:o||L(n,a),type:s},i),!!d&&Object(r.createElement)("span",{className:d}),t,!!u&&Object(r.createElement)("span",{className:u}))};A.propTypes={onClick:l.a.func,type:l.a.string,className:l.a.string,buttonRef:l.a.object,small:l.a.bool,variant:l.a.oneOf(Object.keys(M)),children:l.a.oneOfType([l.a.node,l.a.arrayOf(l.a.node)])},A.defaultProps={className:"",type:"button",variant:"primary",small:!1,children:null,onClick:null,buttonRef:null};const F=e=>{const{children:t,className:o,variant:n,small:a,buttonRef:s,...l}=e,i=D(n),c=i&&i.iconBefore,d=i&&i.iconAfter;return Object(r.createElement)("a",B()({className:o||L(n,a),ref:s},l),!!c&&Object(r.createElement)("span",{className:c}),t,!!d&&Object(r.createElement)("span",{className:d}))};F.propTypes={href:l.a.string.isRequired,variant:l.a.oneOf(Object.keys(M)),small:l.a.bool,className:l.a.string,buttonRef:l.a.object,children:l.a.oneOfType([l.a.node,l.a.arrayOf(l.a.node)])},F.defaultProps={className:"",variant:"primary",small:!1,children:null,buttonRef:null};var U=o(4);const H=Object(r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 352 512",role:"img","aria-hidden":"true",focusable:"false"},Object(r.createElement)("path",{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"})),W=e=>Object(r.createElement)("button",B()({className:"yoast-close","aria-label":Object(U.__)("Close","wordpress-seo")},e),H);W.propTypes={onClick:l.a.func.isRequired};const V={linkTo:l.a.string,linkText:l.a.string},K={linkTo:"",linkText:""},G=e=>{let{linkTo:t,linkText:o}=e;return Object(r.createElement)("a",{className:"yoast-help",target:"_blank",href:t,rel:"noopener noreferrer"},Object(r.createElement)("span",{className:"yoast-help__icon"},Object(r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12",role:"img","aria-hidden":"true",focusable:"false"},Object(r.createElement)("path",{d:"M12 6A6 6 0 110 6a6 6 0 0112 0zM6.2 2C4.8 2 4 2.5 3.3 3.5l.1.4.8.7.4-.1c.5-.5.8-.9 1.4-.9.5 0 1.1.4 1.1.8s-.3.6-.7.9C5.8 5.6 5 6 5 7c0 .2.2.4.3.4h1.4L7 7c0-.8 2-.8 2-2.6C9 3 7.5 2 6.2 2zM6 8a1.1 1.1 0 100 2.2A1.1 1.1 0 006 8z"}))),Object(r.createElement)("span",{className:"screen-reader-text"},Object(U.__)(o,"wordpress-seo")),Object(r.createElement)("span",{className:"screen-reader-text"},Object(U.__)("(Opens in a new browser tab)","wordpress-seo")))};G.propTypes=V,G.defaultProps=K;var Y=G;const Z=e=>{let{inLabel:t}=e;return Object(r.createElement)("span",{className:t?"yoast-badge yoast-badge__in-label yoast-new-badge":"yoast-badge yoast-new-badge"},Object(U.__)("New","wordpress-seo"))};Z.propTypes={inLabel:l.a.bool},Z.defaultProps={inLabel:!1};var X=Z;const J=e=>{let{inLabel:t}=e;return Object(r.createElement)("span",{className:t?"yoast-badge yoast-badge__in-label yoast-premium-badge":"yoast-badge yoast-premium-badge"},"Premium")};J.propTypes={inLabel:l.a.bool},J.defaultProps={inLabel:!1};var Q=J;const ee=e=>{let{htmlFor:t,label:o,linkTo:n,linkText:a,description:s,children:l,wrapperClassName:i,titleClassName:c,hasNewBadge:d,hasPremiumBadge:u}=e;const p=t?Object(r.createElement)("label",{htmlFor:t},o):Object(r.createElement)("b",null,o);return Object(r.createElement)("div",{className:i},""!==o&&Object(r.createElement)("div",{className:c},p,u&&Object(r.createElement)(Q,{inLabel:!0}),d&&Object(r.createElement)(X,{inLabel:!0}),""!==n&&Object(r.createElement)(Y,{linkTo:n,linkText:a})),""!==s&&Object(r.createElement)("p",{className:"field-group-description"},s),l)},te={label:l.a.string,description:l.a.string,children:l.a.oneOfType([l.a.node,l.a.arrayOf(l.a.node)]),wrapperClassName:l.a.string,titleClassName:l.a.string,htmlFor:l.a.string,...V},oe={label:"",description:"",children:[],wrapperClassName:"yoast-field-group",titleClassName:"yoast-field-group__title",htmlFor:"",...K};ee.propTypes=te,ee.defaultProps=oe;var re=ee;function ne(e){const t=Object(n.useCallback)(t=>{e.onChange(t.target.value)},[e.onChange]);return Object(r.createElement)(re,{wrapperClassName:"yoast-field-group yoast-field-group__checkbox"},Object(r.createElement)("input",{type:"checkbox",id:e.id,checked:e.checked,onChange:t}),Object(r.createElement)("label",{htmlFor:e.id},e.label))}ne.propTypes={id:l.a.string.isRequired,label:l.a.oneOfType([l.a.string,l.a.arrayOf(l.a.node),l.a.node]).isRequired,checked:l.a.bool,onChange:l.a.func.isRequired},ne.defaultProps={checked:!1};const ae={width:l.a.number.isRequired,name:l.a.string.isRequired,number:l.a.number.isRequired},se=e=>{
/* Translators: %d expands to number of occurrences. */
const t=Object(U.sprintf)(Object(U.__)("%d occurrences","wordpress-seo"),e.number);return Object(r.createElement)("li",{key:e.name+"_dataItem",style:{"--yoast-width":e.width+"%"}},e.name,Object(r.createElement)("span",null,e.number),Object(r.createElement)("span",{className:"screen-reader-text"},t))};se.propTypes=ae;const le=e=>Object(r.createElement)("ul",{className:"yoast-data-model","aria-label":Object(U.__)("Prominent words","wordpress-seo")},e.items.map(se));le.propTypes={items:l.a.arrayOf(l.a.shape(ae))},le.defaultProps={items:[]};var ie=le;const ce=e=>{const{imageSelected:t,onClick:o,onRemoveImageClick:n,selectImageButtonId:a,replaceImageButtonId:s,removeImageButtonId:l,isDisabled:i}=e,c=Object(r.useCallback)(e=>{e.target.previousElementSibling.focus(),n()},[n]);return Object(r.createElement)("div",{className:"yoast-image-select-buttons"},Object(r.createElement)(A,{variant:"secondary",id:t?s:a,onClick:o,disabled:i},t?Object(U.__)("Replace image","wordpress-seo"):Object(U.__)("Select image","wordpress-seo")),t&&Object(r.createElement)(A,{variant:"remove",id:l,onClick:c,disabled:i},Object(U.__)("Remove image","wordpress-seo")))};var de=ce;ce.propTypes={imageSelected:l.a.bool,onClick:l.a.func,onRemoveImageClick:l.a.func,selectImageButtonId:l.a.string,replaceImageButtonId:l.a.string,removeImageButtonId:l.a.string,isDisabled:l.a.bool},ce.defaultProps={imageSelected:!1,onClick:()=>{},onRemoveImageClick:()=>{},selectImageButtonId:"",replaceImageButtonId:"",removeImageButtonId:"",isDisabled:!1};const ue=c.a.div`
	display: flex;
	align-items: flex-start;
	font-size: 13px;
	line-height: 1.5;
	border: 1px solid rgba(0, 0, 0, 0.2);
	padding: 16px;
	color: ${e=>e.alertColor};
	background: ${e=>e.alertBackground};
	margin-bottom: 20px;
`,pe=c.a.div`
	flex-grow: 1;

	a {
		color: ${d.colors.$color_alert_link_text};
	}

	p {
		margin-top: 0;
	}
`,he=c()(y)`
	margin-top: 0.1rem;
	${Object(u.getDirectionalStyle)("margin-right: 8px","margin-left: 8px")};
`,fe=c()(N)`
	${Object(u.getDirectionalStyle)("margin: -8px -12px -8px 8px","margin: -8px 8px -12px -8px")};
	font-size: 24px;
	line-height: 1.4;
	color: ${e=>e.alertDismissColor};
	flex-shrink: 0;
	min-width: 36px;
	height: 36px;

	// Override the base button style: get rid of the button styling.
	padding: 0;

	&, &:hover, &:active {
		/* Inherits box-sizing: border-box so this doesn't change the rendered size. */
		border: 2px solid transparent;
		background: transparent;
		box-shadow: none;
		color: ${e=>e.alertDismissColor};
	}

	/* Inherits focus style from the Button component. */
	&:focus {
		background: transparent;
		color: ${e=>e.alertDismissColor};
		border-color: ${d.colors.$color_yoast_focus};
		box-shadow: 0px 0px 0px 3px ${d.colors.$color_yoast_focus_outer};
	}
`;class be extends a.a.Component{getTypeDisplayOptions(e){switch(e){case"error":return{color:d.colors.$color_alert_error_text,background:d.colors.$color_alert_error_background,icon:"alert-error"};case"info":return{color:d.colors.$color_alert_info_text,background:d.colors.$color_alert_info_background,icon:"alert-info"};case"success":return{color:d.colors.$color_alert_success_text,background:d.colors.$color_alert_success_background,icon:"alert-success"};case"warning":return{color:d.colors.$color_alert_warning_text,background:d.colors.$color_alert_warning_background,icon:"alert-warning"}}}render(){if(!0===this.props.isAlertDismissed)return null;const e=this.getTypeDisplayOptions(this.props.type),t=this.props.dismissAriaLabel||Object(U.__)("Dismiss this alert","wordpress-seo");return Object(r.createElement)(ue,{alertColor:e.color,alertBackground:e.background,className:this.props.className},Object(r.createElement)(he,{icon:e.icon,color:e.color}),Object(r.createElement)(pe,null,this.props.children),"function"==typeof this.props.onDismissed?Object(r.createElement)(fe,{alertDismissColor:e.color,onClick:this.props.onDismissed,"aria-label":t},"×"):null)}}be.propTypes={children:l.a.any.isRequired,type:l.a.oneOf(["error","info","success","warning"]).isRequired,onDismissed:l.a.func,isAlertDismissed:l.a.bool,dismissAriaLabel:l.a.string,className:l.a.string},be.defaultProps={onDismissed:null,isAlertDismissed:!1,dismissAriaLabel:"",className:""};var me=be;function ge(e){const t=!1===e.usingFallback&&""!==e.imageUrl,o=e.imageUrl||e.defaultImageUrl||"",n=e.warnings.length>0&&t;let a=n?"yoast-image-select__preview yoast-image-select__preview-has-warnings":"yoast-image-select__preview";""===o&&(a="yoast-image-select__preview yoast-image-select__preview--no-preview");const s={imageSelected:t,onClick:e.onClick,onRemoveImageClick:e.onRemoveImageClick,selectImageButtonId:e.selectImageButtonId,replaceImageButtonId:e.replaceImageButtonId,removeImageButtonId:e.removeImageButtonId,isDisabled:e.isDisabled};return Object(r.createElement)("div",{className:"yoast-image-select",onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave},Object(r.createElement)(re,{label:e.label,hasNewBadge:e.hasNewBadge,hasPremiumBadge:e.hasPremiumBadge},e.hasPreview&&Object(r.createElement)("button",{className:a,onClick:e.onClick,type:"button",disabled:e.isDisabled},""!==o&&Object(r.createElement)("img",{src:o,alt:e.imageAltText,className:"yoast-image-select__preview--image"}),Object(r.createElement)(()=>Object(r.createElement)("span",{className:"screen-reader-text"},t?Object(U.__)("Replace image","wordpress-seo"):Object(U.__)("Select image","wordpress-seo")),null)),n&&Object(r.createElement)("div",{role:"alert"},e.warnings.map((e,t)=>Object(r.createElement)(me,{key:"warning"+t,type:"warning"},e))),Object(r.createElement)(de,s)))}var ye=ge;ge.propTypes={defaultImageUrl:l.a.string,imageUrl:l.a.string,imageAltText:l.a.string,hasPreview:l.a.bool.isRequired,label:l.a.string.isRequired,onClick:l.a.func,onMouseEnter:l.a.func,onMouseLeave:l.a.func,onRemoveImageClick:l.a.func,selectImageButtonId:l.a.string,replaceImageButtonId:l.a.string,removeImageButtonId:l.a.string,warnings:l.a.arrayOf(l.a.string),hasNewBadge:l.a.bool,isDisabled:l.a.bool,usingFallback:l.a.bool,hasPremiumBadge:l.a.bool},ge.defaultProps={defaultImageUrl:"",imageUrl:"",imageAltText:"",onClick:()=>{},onMouseEnter:()=>{},onMouseLeave:()=>{},onRemoveImageClick:()=>{},selectImageButtonId:"",replaceImageButtonId:"",removeImageButtonId:"",warnings:[],hasNewBadge:!1,isDisabled:!1,usingFallback:!1,hasPremiumBadge:!1};const ve=e=>{const t={...e};return e.id&&(t.htmlFor=e.id),Object(r.createElement)(re,t,Object(r.createElement)("input",{id:e.id,name:e.name,value:e.value,type:e.type,className:"yoast-field-group__inputfield","aria-describedby":e.ariaDescribedBy,placeholder:e.placeholder,readOnly:e.readOnly,min:e.min,max:e.max,step:e.step,onChange:(o=e.onChange,e=>{o(e.target.value)})}));var o};ve.propTypes={id:l.a.string,name:l.a.string,value:l.a.string,type:l.a.oneOf(["text","color","date","datetime-local","email","hidden","month","number","password","search","tel","time","url","week","range"]),ariaDescribedBy:l.a.string,placeholder:l.a.string,readOnly:l.a.bool,min:l.a.number,max:l.a.number,step:l.a.number,onChange:l.a.func,...te},ve.defaultProps={id:"",name:"",value:"",ariaDescribedBy:"",readOnly:!1,type:"text",placeholder:void 0,min:void 0,max:void 0,step:void 0,onChange:void 0,...oe};var xe=ve,Oe=o(2);function Ce(e){return{hours:Math.floor(e/3600),minutes:Math.floor(e%3600/60),seconds:e%3600%60}}class we extends a.a.Component{constructor(e){super(e),this.state={...Ce(e.duration)},this.onHoursChange=this.onHoursChange.bind(this),this.onMinutesChange=this.onMinutesChange.bind(this),this.onSecondsChange=this.onSecondsChange.bind(this)}formatValue(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MIN_VALUE,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.MAX_VALUE;const r=parseInt(e.target.value,10)||0;return Object(Oe.clamp)(r,t,o)}onHoursChange(e){this.props.onChange(3600*this.formatValue(e,0)+60*this.state.minutes+this.state.seconds)}onMinutesChange(e){this.props.onChange(3600*this.state.hours+60*this.formatValue(e,0,59)+this.state.seconds)}onSecondsChange(e){this.props.onChange(3600*this.state.hours+60*this.state.minutes+this.formatValue(e,0,59))}static getDerivedStateFromProps(e,t){const o=Ce(e.duration);return Object(Oe.isEqual)(o,t)?null:{...o}}render(){const e=this.props,t=e.id;return Object(r.createElement)(re,e,Object(r.createElement)("div",{className:"duration-inputs__wrapper"},Object(r.createElement)("div",{className:"duration-inputs__input-wrapper"},Object(r.createElement)("label",{htmlFor:t+"-hours"},Object(U.__)("hours","wordpress-seo")),Object(r.createElement)("input",{id:t+"-hours",name:"hours",value:this.state.hours,type:"number",className:"yoast-field-group__inputfield duration-inputs__input","aria-describedby":e.hoursAriaDescribedBy,readOnly:e.readOnly,min:0,onChange:this.onHoursChange})),Object(r.createElement)("div",{className:"duration-inputs__input-wrapper"},Object(r.createElement)("label",{htmlFor:t+"-minutes"},Object(U.__)("minutes","wordpress-seo")),Object(r.createElement)("input",{id:t+"-minutes",name:"minutes",value:this.state.minutes,type:"number",className:"yoast-field-group__inputfield duration-inputs__input","aria-describedby":e.minutesAriaDescribedBy,readOnly:e.readOnly,min:0,max:59,onChange:this.onMinutesChange})),Object(r.createElement)("div",{className:"duration-inputs__input-wrapper"},Object(r.createElement)("label",{htmlFor:t+"-seconds"},Object(U.__)("seconds","wordpress-seo")),Object(r.createElement)("input",{id:t+"-seconds",name:"seconds",value:this.state.seconds,type:"number",className:"yoast-field-group__inputfield duration-inputs__input","aria-describedby":e.secondsAriaDescribedBy,readOnly:e.readOnly,min:0,max:59,onChange:this.onSecondsChange}))))}}we.propTypes={duration:l.a.number.isRequired,hoursAriaDescribedBy:l.a.string,minutesAriaDescribedBy:l.a.string,secondsAriaDescribedBy:l.a.string,id:l.a.string.isRequired,...te},we.defaultProps={hoursAriaDescribedBy:"",minutesAriaDescribedBy:"",secondsAriaDescribedBy:"",...oe};var _e=we;class je extends a.a.Component{getInsightsCardContent(){return Object(r.createElement)("div",{className:"yoast-insights-card__content"},Object(r.createElement)("p",{className:"yoast-insights-card__score"},Object(r.createElement)("span",{className:"yoast-insights-card__amount"},this.props.amount),this.props.unit),this.props.description&&Object(r.createElement)("div",{className:"yoast-insights-card__description"},this.props.description))}render(){return Object(r.createElement)("div",{id:this.props.id},Object(r.createElement)(re,{label:this.props.title,linkTo:this.props.linkTo,linkText:this.props.linkText,wrapperClassName:"yoast-insights-card"},this.getInsightsCardContent()))}}var Ee=je;je.propTypes={id:l.a.string.isRequired,title:l.a.string,amount:l.a.oneOfType([l.a.number,l.a.oneOf(["?"])]).isRequired,description:l.a.element,unit:l.a.string,linkTo:l.a.string,linkText:l.a.string},je.defaultProps={title:"",description:null,unit:"",linkTo:"",linkText:""};const ke={options:l.a.array.isRequired,onChange:l.a.func.isRequired,groupName:l.a.string.isRequired,id:l.a.string.isRequired,selected:l.a.oneOfType([l.a.string,l.a.number])},Se={selected:null},Te=e=>{let{value:t,label:o,checked:a,onChange:s,groupName:l,id:i}=e;return Object(r.createElement)(n.Fragment,null,Object(r.createElement)("input",{type:"radio",name:l,id:i,value:t,onChange:s,checked:a}),Object(r.createElement)("label",{htmlFor:i},o))};Te.propTypes={value:l.a.oneOfType([l.a.string,l.a.number]).isRequired,label:l.a.string.isRequired,checked:l.a.bool,groupName:l.a.string.isRequired,onChange:l.a.func,id:l.a.string.isRequired},Te.defaultProps={checked:!1,onChange:Oe.noop};const qe=e=>{let{options:t,onChange:o,groupName:n,id:a,selected:s}=e;return Object(r.createElement)("div",{className:"yoast-field-group__radiobutton"},t.map(e=>Object(r.createElement)(Te,B()({key:e.value,groupName:n,checked:s===e.value,onChange:o,id:`${a}_${e.value}`},e))))};qe.propTypes=ke,qe.defaultProps=Se;const $e=e=>{let{options:t,onChange:o,groupName:n,id:a,selected:s}=e;return Object(r.createElement)("div",{onChange:o},t.map(e=>Object(r.createElement)("div",{className:"yoast-field-group__radiobutton yoast-field-group__radiobutton--vertical",key:e.value},Object(r.createElement)(Te,B()({groupName:n,checked:s===e.value,id:`${a}_${e.value}`},e)))))};$e.propTypes=ke,$e.defaultProps=Se;const Ne=e=>{const{id:t,options:o,groupName:n,onChange:a,vertical:s,selected:l,...i}=e,c={options:o,groupName:n,selected:l,onChange:e=>a(e.target.value),id:(e=>e||Math.random().toString(36).substr(2,6))(t)};return Object(r.createElement)(re,i,s?Object(r.createElement)($e,c):Object(r.createElement)(qe,c))};Ne.propTypes={id:l.a.string,groupName:l.a.string.isRequired,options:l.a.arrayOf(l.a.shape({value:l.a.oneOfType([l.a.string,l.a.number]).isRequired,label:l.a.string.isRequired})).isRequired,selected:l.a.oneOfType([l.a.string,l.a.number]),onChange:l.a.func,vertical:l.a.bool,...te},Ne.defaultProps={id:"",vertical:!1,selected:null,onChange:()=>{},...oe};var Re=Ne,Pe=o(218),Be=o.n(Pe);const Ie=l.a.shape({name:l.a.string,value:l.a.string}),ze={id:l.a.string.isRequired,name:l.a.string,options:l.a.arrayOf(Ie).isRequired,selected:l.a.oneOfType([l.a.arrayOf(l.a.string),l.a.string]),onChange:l.a.func,...te},Me={name:"",selected:[],onChange:()=>{},...oe},Le=e=>{let{name:t,value:o}=e;return Object(r.createElement)("option",{key:o,value:o},t)};Le.propTypes={name:l.a.string.isRequired,value:l.a.string.isRequired};const De=e=>{const{id:t,isMulti:o,isSearchable:n,inputId:a,selected:s,options:l,name:i,onChange:c,...d}=e,u=Array.isArray(s)?s:[s],p=(e=>e.map(e=>({value:e.value,label:e.name})))(l),h=p.filter(e=>u.includes(e.value));return Object(r.createElement)(re,B()({},d,{htmlFor:a}),Object(r.createElement)(Be.a,{isMulti:o,id:t,name:i,inputId:a,value:h,options:p,hideSelectedOptions:!1,onChange:c,className:"yoast-select-container",classNamePrefix:"yoast-select",isClearable:!1,isSearchable:n,placeholder:""}))};De.propTypes=ze,De.defaultProps=Me;const Ae=e=>{const{onChange:t}=e,o=Object(n.useCallback)(e=>t(e.value));return Object(r.createElement)(De,B()({},e,{isMulti:!1,isSearchable:!0,onChange:o}))};Ae.propTypes=ze,Ae.defaultProps=Me;const Fe=e=>{const{onChange:t}=e,o=Object(n.useCallback)(e=>{e||(e=[]),t(e.map(e=>e.value))});return Object(r.createElement)(De,B()({},e,{isMulti:!0,isSearchable:!1,onChange:o}))};Fe.propTypes=ze,Fe.defaultProps=Me;class Ue extends a.a.Component{constructor(e){super(e),this.onBlurHandler=this.onBlurHandler.bind(this),this.onInputHandler=this.onInputHandler.bind(this),this.state={selected:this.props.selected}}onBlurHandler(e){this.props.onChange(e.target.value)}onInputHandler(e){this.setState({selected:e.target.value}),this.props.onOptionFocus&&this.props.onOptionFocus(e.target.name,e.target.value)}componentDidUpdate(e){e.selected!==this.props.selected&&this.setState({selected:this.props.selected})}render(){const{id:e,options:t,name:o,...n}=this.props;return Object(r.createElement)(re,B()({},n,{htmlFor:e}),Object(r.createElement)("select",{id:e,name:o,value:this.state.selected,onBlur:this.onBlurHandler,onInput:this.onInputHandler,onChange:Oe.noop},t.map(Le)))}}function He(e){let t=e.rating;t<0&&(t=0),t>5&&(t=5);const o=20*t;return Object(r.createElement)("div",{"aria-hidden":"true",className:"yoast-star-rating"},Object(r.createElement)("span",{className:"yoast-star-rating__placeholder",role:"img"},Object(r.createElement)("span",{className:"yoast-star-rating__fill",style:{width:o+"%"}})))}Ue.propTypes={...ze,onOptionFocus:l.a.func},Ue.defaultProps={...Me,onOptionFocus:null};var We=He;He.propTypes={rating:l.a.number.isRequired};var Ve=()=>Object(r.createElement)("span",{className:"yoast-badge yoast-beta-badge"},Object(U.__)("Beta","wordpress-seo"));const Ke=e=>{const{children:t,className:o,prefixIcon:n,suffixIcon:a,...s}=e;return Object(r.createElement)(N,B()({className:o},s),n&&n.icon&&Object(r.createElement)(y,{icon:n.icon,color:n.color,size:n.size}),t,a&&a.icon&&Object(r.createElement)(y,{icon:a.icon,color:a.color,size:a.size}))};Ke.propTypes={className:l.a.string,prefixIcon:l.a.shape({icon:l.a.string,color:l.a.string,size:l.a.string}),suffixIcon:l.a.shape({icon:l.a.string,color:l.a.string,size:l.a.string}),children:l.a.oneOfType([l.a.arrayOf(l.a.node),l.a.node,l.a.string])};var Ge=Ke,Ye={ScreenReaderText:{default:{clip:"rect(1px, 1px, 1px, 1px)",position:"absolute",height:"1px",width:"1px",overflow:"hidden"},focused:{clip:"auto",display:"block",left:"5px",top:"5px",height:"auto",width:"auto",zIndex:"100000",position:"absolute",backgroundColor:"#eeeeee ",padding:"10px"}}};const Ze=e=>Object(r.createElement)("span",{className:"screen-reader-text",style:Ye.ScreenReaderText.default},e.children);Ze.propTypes={children:l.a.string.isRequired};var Xe=Ze;const Je=c.a.span`
	flex-grow: 1;
	overflow-x: hidden;
	line-height: normal; // Avoid vertical scrollbar in IE 11 when rendered in the WP sidebar.
`,Qe=c.a.span`
	display: block;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	color: ${d.colors.$color_headings};
`,et=c.a.span`
	display: block;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	font-size: 0.8125rem;
	margin-top: 2px;
`,tt=e=>Object(r.createElement)(Je,null,Object(r.createElement)(Qe,null,e.title,e.titleScreenReaderText&&Object(r.createElement)(Xe,null," "+e.titleScreenReaderText)),e.subTitle&&Object(r.createElement)(et,null,e.subTitle));tt.propTypes={title:l.a.string.isRequired,titleScreenReaderText:l.a.string,subTitle:l.a.string};const ot=c.a.div`
	padding: 0 16px;
	margin-bottom: 16px;
`,rt=c.a.div`
	background-color: ${d.colors.$color_white};
`,nt=c()(rt)`
	border-top: var(--yoast-border-default);
`,at=c()(Ge)`
	width: 100%;
	background-color: ${d.colors.$color_white};
	padding: 16px;
	justify-content: flex-start;
	border-color: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	font-weight: normal;

	:focus {
		outline: 1px solid ${d.colors.$color_blue};
		outline-offset: -1px;
	}

	:active {
		box-shadow: none;
		background-color: ${d.colors.$color_white};
	}

	svg {
		${e=>e.hasSubTitle?"align-self: flex-start;":""}
		&:first-child {
			${Object(u.getDirectionalStyle)("margin-right: 8px","margin-left: 8px")};
		}
		&:last-child {
			${Object(u.getDirectionalStyle)("margin-left: 8px","margin-right: 8px")};
		}
	}
`;function st(e,t){const o="h"+t.level,n=c()(o)`
		margin: 0 !important;
		padding: 0 !important;
		font-size: ${t.fontSize} !important;
		font-weight: ${t.fontWeight} !important;
	`;return function(t){return Object(r.createElement)(n,null,Object(r.createElement)(e,t))}}const lt=st(at,{level:2,fontSize:"1rem",fontWeight:"normal"});function it(e){const{children:t,className:o,hasPadding:n,hasSeparator:a,Heading:s,id:l,isOpen:i,onToggle:c,prefixIcon:d,prefixIconCollapsed:u,suffixIcon:p,suffixIconCollapsed:h,subTitle:f,title:b,titleScreenReaderText:m}=e;let g=t;i&&n&&(g=Object(r.createElement)(ot,{className:"collapsible_content"},t));const y=a?nt:rt;return Object(r.createElement)(y,{className:o},Object(r.createElement)(s,{id:l,"aria-expanded":i,onClick:c,prefixIcon:i?d:u,suffixIcon:i?p:h,hasSubTitle:!!f},Object(r.createElement)(tt,{title:b,titleScreenReaderText:m,subTitle:f})),g)}it.propTypes={children:l.a.oneOfType([l.a.arrayOf(l.a.node),l.a.node]),className:l.a.string,Heading:l.a.func,isOpen:l.a.bool.isRequired,hasSeparator:l.a.bool,hasPadding:l.a.bool,onToggle:l.a.func.isRequired,prefixIcon:l.a.shape({icon:l.a.string,color:l.a.string,size:l.a.string}),prefixIconCollapsed:l.a.shape({icon:l.a.string,color:l.a.string,size:l.a.string}),subTitle:l.a.string,suffixIcon:l.a.shape({icon:l.a.string,color:l.a.string,size:l.a.string}),suffixIconCollapsed:l.a.shape({icon:l.a.string,color:l.a.string,size:l.a.string}),title:l.a.string.isRequired,titleScreenReaderText:l.a.string,id:l.a.string},it.defaultProps={Heading:lt,id:null,children:null,className:null,subTitle:null,titleScreenReaderText:null,hasSeparator:!1,hasPadding:!1,prefixIcon:null,prefixIconCollapsed:null,suffixIcon:null,suffixIconCollapsed:null};class ct extends a.a.Component{constructor(e){super(e),this.state={isOpen:e.initialIsOpen,headingProps:e.headingProps,Heading:st(at,e.headingProps)},this.toggleCollapse=this.toggleCollapse.bind(this)}static getDerivedStateFromProps(e,t){return e.headingProps.level!==t.headingProps.level||e.headingProps.fontSize!==t.headingProps.fontSize||e.headingProps.fontWeight!==t.headingProps.fontWeight?{...t,headingProps:e.headingProps,Heading:st(at,e.headingProps)}:null}toggleCollapse(){const{isOpen:e}=this.state,{onToggle:t}=this.props;t&&!1===t(e)||this.setState({isOpen:!e})}render(){const{isOpen:e}=this.state,{children:t}=this.props,o=Object(Oe.omit)(this.props,["children","onToggle"]);return Object(r.createElement)(it,B()({Heading:this.state.Heading,isOpen:e,onToggle:this.toggleCollapse},o),e&&t)}}ct.propTypes={children:l.a.oneOfType([l.a.arrayOf(l.a.node),l.a.node]),className:l.a.string,initialIsOpen:l.a.bool,hasSeparator:l.a.bool,hasPadding:l.a.bool,prefixIcon:l.a.shape({icon:l.a.string,color:l.a.string,size:l.a.string}),prefixIconCollapsed:l.a.shape({icon:l.a.string,color:l.a.string,size:l.a.string}),suffixIcon:l.a.shape({icon:l.a.string,color:l.a.string,size:l.a.string}),suffixIconCollapsed:l.a.shape({icon:l.a.string,color:l.a.string,size:l.a.string}),title:l.a.string.isRequired,titleScreenReaderText:l.a.string,subTitle:l.a.string,headingProps:l.a.shape({level:l.a.number,fontSize:l.a.string,fontWeight:l.a.string}),onToggle:l.a.func},ct.defaultProps={hasSeparator:!1,hasPadding:!1,initialIsOpen:!1,subTitle:null,titleScreenReaderText:null,children:null,className:null,prefixIcon:null,prefixIconCollapsed:null,suffixIcon:{icon:"chevron-up",color:d.colors.$black,size:"24px"},suffixIconCollapsed:{icon:"chevron-down",color:d.colors.$black,size:"24px"},headingProps:{level:2,fontSize:"1rem",fontWeight:"normal"},onToggle:null};var dt=ct;const ut=c.a.div`
	box-sizing: border-box;

	p {
		margin: 0;
		font-size: 14px;
	}
`,pt=c.a.h3`
	margin: 8px 0;
	font-size: 1em;
`,ht=c.a.ul`
	margin: 0;
	list-style: none;
	padding: 0;
`,ft=Object(u.makeOutboundLink)(c.a.a`
	display: inline-block;
	margin-bottom: 4px;
	font-size: 14px;
`),bt=c.a.li`
	margin: 8px 0;
`,mt=c.a.div`
	a {
		margin: 8px 0 0;
	}
`,gt=e=>Object(r.createElement)(bt,{className:e.className},Object(r.createElement)(ft,{className:e.className+"-link",href:e.link},e.title),Object(r.createElement)("p",{className:e.className+"-description"},e.description));gt.propTypes={className:l.a.string.isRequired,title:l.a.string.isRequired,link:l.a.string.isRequired,description:l.a.string.isRequired};const yt=e=>Object(r.createElement)(ut,{className:e.className},Object(r.createElement)(pt,{className:e.className+"__header"},e.title?e.title:e.feed.title),Object(r.createElement)(ht,{className:e.className+"__posts",role:"list"},e.feed.items.map(t=>Object(r.createElement)(gt,{className:e.className+"__post",key:t.link,title:t.title,link:t.link,description:t.description}))),e.footerLinkText&&Object(r.createElement)(mt,{className:e.className+"__footer"},Object(r.createElement)(ft,{className:e.className+"__footer-link",href:e.feedLink?e.feedLink:e.feed.link},e.footerLinkText)));yt.propTypes={className:l.a.string,feed:l.a.object.isRequired,title:l.a.string,footerLinkText:l.a.string,feedLink:l.a.string},yt.defaultProps={className:"articlelist-feed"};var vt=yt;const xt=c.a.span`
	position: absolute;
	
	top: 8px;
	left: -8px;
	
	font-weight: 500;
	color: ${e=>e.textColor};
	line-height: 16px;
	
	background-color: ${e=>e.backgroundColor};
	padding: 8px 16px;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
`,Ot=c.a.span`
	position: absolute;
	
	top: 40px;
	left: -8px;
	
	/* This code makes the triangle. */
	border-top: 8px solid ${d.colors.$color_purple_dark};
	border-left: 8px solid transparent;
`;function Ct(e){return Object(r.createElement)(n.Fragment,null,Object(r.createElement)(xt,{backgroundColor:e.backgroundColor,textColor:e.textColor},e.children),Object(r.createElement)(Ot,null))}Ct.propTypes={backgroundColor:l.a.string,textColor:l.a.string,children:l.a.any},Ct.defaultProps={backgroundColor:d.colors.$color_pink_dark,textColor:d.colors.$color_white,children:null};const wt=c.a.div`
	position: relative;
	display: flex;
	flex-direction: column;
	background-color: ${d.colors.$color_white};
	width: 100%;
	box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
`,_t=c.a.img`
	width: 100%;
	vertical-align: bottom;
`,jt=c.a.div`
	padding: 12px 16px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
`,Et=c.a.a`
	text-decoration: none;
	color: ${d.colors.$color_pink_dark};
	/* IE11 bug header image height see https://github.com/philipwalton/flexbugs#flexbug-5 */
	overflow: hidden;

	&:hover,
	&:focus,
	&:active {
		text-decoration: underline;
		color: ${d.colors.$color_pink_dark};
	}

	&:focus,
	&:active {
		box-shadow: none;
	}
`,kt=c.a.h2`
	margin: 16px 16px 0 16px;
	font-weight: 400;
	font-size: 1.5em;
	line-height: 1.2;
	color: currentColor;
`,St=Object(u.makeOutboundLink)(Et);class Tt extends a.a.Component{getHeader(){return this.props.header?this.props.header.link?Object(r.createElement)(St,{href:this.props.header.link},Object(r.createElement)(_t,{src:this.props.header.image,alt:""}),Object(r.createElement)(kt,null,this.props.header.title)):Object(r.createElement)(n.Fragment,null,Object(r.createElement)(_t,{src:this.props.header.image,alt:""}),";",Object(r.createElement)(kt,null,this.props.header.title)):null}getBanner(){return this.props.banner?Object(r.createElement)(Ct,this.props.banner,this.props.banner.text):null}render(){return Object(r.createElement)(wt,{className:this.props.className,id:this.props.id},this.getHeader(),this.getBanner(),Object(r.createElement)(jt,null,this.props.children))}}var qt=Tt;const $t=c()(Tt)`
	height: 100%;
`;Tt.propTypes={className:l.a.string,id:l.a.string,header:l.a.shape({title:l.a.string,image:l.a.string.isRequired,link:l.a.string}),banner:l.a.shape({text:l.a.string.isRequired,textColor:l.a.string,backgroundColor:l.a.string}),children:l.a.any},Tt.defaultProps={className:"",id:"",header:null,banner:null,children:null};const Nt=c.a.a`
	color: ${d.colors.$color_black};
	white-space: nowrap;
	display: block;
	border-radius: 4px;
	background-color: ${d.colors.$color_grey_cta};
	padding: 12px 16px;
	box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2);
	border: none;
	text-decoration: none;
	font-weight: bold;
	font-size: inherit;
	margin-bottom: 8px;

	&:hover,
	&:focus,
	&:active {
		color: ${d.colors.$color_black};
		background-color: ${d.colors.$color_grey_hover};
	}

	&:active {
		background-color: ${d.colors.$color_grey_hover};
		transform: translateY( 1px );
		box-shadow: none;
		filter: none;
	}
`,Rt=c.a.a`
	cursor: pointer;
	color: ${d.colors.$color_black};
	white-space: nowrap;
	display: block;
	border-radius: 4px;
	background-color: ${d.colors.$color_button_upsell};
	padding: 12px 16px;
	box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2);
	border: none;
	text-decoration: none;
	font-weight: bold;
	font-size: inherit;
	margin-top: 0;
	margin-bottom: 8px;

	&:hover,
	&:focus,
	&:active {
		color: ${d.colors.$color_black};
		background: ${d.colors.$color_button_upsell_hover};
	}

	&:active {
		background-color: ${d.colors.$color_button_hover_upsell};
		transform: translateY( 1px );
		box-shadow: none;
		filter: none;
	}
`,Pt=c.a.a`
	font-weight: bold;
`,Bt=Object(u.makeOutboundLink)(Pt),It=c.a.div`
	text-align: center;
`,zt=c.a.div`
	ul {
		list-style-type: none;
		margin: 0;
		padding: 0;
	}

	li {
		position: relative;
		${Object(u.getDirectionalStyle)("margin-left","margin-right")}: 16px;

		&:before {
			content: "✓";
			color: ${d.colors.$color_green};
			position: absolute;
			font-weight: bold;
			display: inline-block;
			${Object(u.getDirectionalStyle)("left","right")}: -16px;
		}
	}
`,Mt=c.a.div`
	margin-bottom: 12px;
	border-bottom: 1px ${d.colors.$color_grey} solid;
	flex-grow: 1;
`;class Lt extends a.a.Component{getActionBlock(e,t){const o=Object(u.makeOutboundLink)(e);return"true"===t?Object(r.createElement)(It,null,Object(r.createElement)(o,{href:this.props.courseUrl},this.props.ctaButtonData.ctaButtonCopy)):Object(r.createElement)(It,null,Object(r.createElement)(o,{href:this.props.ctaButtonData.ctaButtonUrl},this.props.ctaButtonData.ctaButtonCopy),Object(r.createElement)(Bt,{href:this.props.courseUrl},this.props.readMoreLinkText))}render(){const e="regular"===this.props.ctaButtonData.ctaButtonType?Nt:Rt;return Object(r.createElement)(n.Fragment,null,Object(r.createElement)(Mt,null,Object(r.createElement)(zt,{dangerouslySetInnerHTML:{__html:this.props.description}})),this.getActionBlock(e,this.props.isBundle))}}var Dt=Lt;Lt.propTypes={description:l.a.string,courseUrl:l.a.string,ctaButtonData:l.a.object,readMoreLinkText:l.a.string,isBundle:l.a.string},Lt.defaultProps={description:"",courseUrl:"",ctaButtonData:{},readMoreLinkText:"",isBundle:""};var At=o(39),Ft=o.n(At);const Ut=j()([T,k,S])(c.a.button`
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		cursor: pointer;
		box-sizing: border-box;
		border: 1px solid transparent;
		margin: 0;
		padding: 8px;
		overflow: visible;
		font-family: inherit;
		font-weight: inherit;
		color: ${e=>e.textColor};
		background: ${e=>e.backgroundColor};
		font-size: ${e=>e.textFontSize};

		svg {
			margin: 0 0 8px;
			flex-shrink: 0;
			fill: currentColor;
			// Safari 10
			align-self: center;
		}

		&:active {
			box-shadow: none;
		}
	`),Ht=e=>{const{children:t,icon:o,textColor:n}=e,a=Ft()(e,"icon");return Object(r.createElement)(Ut,a,Object(r.createElement)(y,{icon:o,color:n}),t)};Ht.propTypes={type:l.a.string,icon:l.a.string.isRequired,textColor:l.a.string,textFontSize:l.a.string,backgroundColor:l.a.string,borderColor:l.a.string,hoverColor:l.a.string,hoverBackgroundColor:l.a.string,hoverBorderColor:l.a.string,activeColor:l.a.string,activeBackgroundColor:l.a.string,activeBorderColor:l.a.string,focusColor:l.a.string,focusBackgroundColor:l.a.string,focusBorderColor:l.a.string,focusBoxShadowColor:l.a.string,children:l.a.oneOfType([l.a.arrayOf(l.a.node),l.a.node,l.a.string]).isRequired},Ht.defaultProps={type:"button",textColor:d.colors.$color_blue,textFontSize:"inherit",backgroundColor:"transparent",borderColor:"transparent",hoverColor:d.colors.$color_white,hoverBackgroundColor:d.colors.$color_blue,hoverBorderColor:d.colors.$color_button_border_hover,activeColor:d.colors.$color_white,activeBackgroundColor:d.colors.$color_blue,activeBorderColor:d.colors.$color_button_border_active,focusColor:d.colors.$color_white,focusBackgroundColor:d.colors.$color_blue,focusBorderColor:d.colors.$color_blue,focusBoxShadowColor:d.colors.$color_blue_dark};var Wt=Ht;const Vt=e=>{const{children:t,icon:o,iconColor:n}=e;let a=y;t&&(a=function(e){return c()(e)`
		margin: ${Object(u.getDirectionalStyle)("0 8px 0 0","0 0 0 8px")};
		flex-shrink: 0;
	`}(a));const s=Ft()(e,"icon");return Object(r.createElement)(N,s,Object(r.createElement)(a,{icon:o,color:n}),t)};Vt.propTypes={icon:l.a.string.isRequired,iconColor:l.a.string,children:l.a.oneOfType([l.a.arrayOf(l.a.node),l.a.node,l.a.string])},Vt.defaultProps={iconColor:"#000"};var Kt=Vt,Gt=o(40);const Yt=c.a.p`
	text-align: center;
	margin: 0 0 16px;
	padding: 16px 16px 8px 16px;
	border-bottom: 4px solid ${d.colors.$color_bad};
	background: ${d.colors.$color_white};
`;class Zt extends a.a.Component{constructor(e){super(e),this.state={hasError:!1}}componentDidCatch(){this.setState({hasError:!0})}render(){if(this.state.hasError){const e=Object(U.__)("Something went wrong. Please reload the page.","wordpress-seo");return Object(Gt.speak)(e,"assertive"),Object(r.createElement)(Yt,null,e)}return this.props.children}}Zt.propTypes={children:l.a.any},Zt.defaultProps={children:null};const Xt=c.a.p`
	color: ${e=>e.textColor};
	font-size: ${e=>e.textFontSize};
	margin-top: 0;
`;class Jt extends n.PureComponent{render(){const{children:e,textColor:t,textFontSize:o}=this.props;return Object(r.createElement)(Xt,{textColor:t,textFontSize:o},e)}}const Qt={children:l.a.oneOfType([l.a.string,l.a.array]),textColor:l.a.string,textFontSize:l.a.string};Jt.propTypes={...Qt,children:Qt.children.isRequired},Jt.defaultProps={textColor:d.colors.$color_help_text};const eo=e=>{const t=c()(e.icon)`
		width: ${e.width};
		height: ${e.height};
		${e.color?`fill: ${e.color};`:""}
		flex: 0 0 auto;
	`,o=Ft()(e,["icon","width","height","color"]);return Object(r.createElement)(t,B()({role:"img","aria-hidden":"true",focusable:"false"},o))};eo.propTypes={icon:l.a.func.isRequired,width:l.a.string,height:l.a.string,color:l.a.string},eo.defaultProps={width:"16px",height:"16px"};var to=eo;const oo=c.a.button`
	box-sizing: border-box;
	min-width: 32px;
	display: inline-block;
	border: 1px solid ${d.colors.$color_button_border};
	background-color: ${e=>e.pressed?e.pressedBackground:e.unpressedBackground};
	box-shadow: ${e=>e.pressed?"inset 0 2px 0 "+Object(d.rgba)(e.pressedBoxShadowColor,.7):"0 1px 0 "+Object(d.rgba)(e.unpressedBoxShadowColor,.7)};
	border-radius: 3px;
	cursor: pointer;
	padding: 0;
	height: ${e=>e.pressed?"23px":"24px"};

	&:hover {
		border-color: ${e=>e.hoverBorderColor};
	}
	&:disabled {
		background-color: ${e=>e.unpressedBackground};
		box-shadow: none;
		border: none;
		cursor: default;
	}
`,ro=function(e){const t="disabled"===e.marksButtonStatus;let o;return o=t?e.disabledIconColor:e.pressed?e.pressedIconColor:e.unpressedIconColor,Object(r.createElement)(oo,{disabled:t,type:"button",onClick:e.onClick,pressed:e.pressed,unpressedBoxShadowColor:e.unpressedBoxShadowColor,pressedBoxShadowColor:e.pressedBoxShadowColor,pressedBackground:e.pressedBackground,unpressedBackground:e.unpressedBackground,id:e.id,"aria-label":e.ariaLabel,"aria-pressed":e.pressed,unpressedIconColor:t?e.disabledIconColor:e.unpressedIconColor,pressedIconColor:e.pressedIconColor,hoverBorderColor:e.hoverBorderColor,className:e.className},Object(r.createElement)(y,{icon:e.icon,color:o,size:"18px"}))};ro.propTypes={id:l.a.string.isRequired,ariaLabel:l.a.string.isRequired,onClick:l.a.func.isRequired,unpressedBoxShadowColor:l.a.string,pressedBoxShadowColor:l.a.string,pressedBackground:l.a.string,unpressedBackground:l.a.string,pressedIconColor:l.a.string,unpressedIconColor:l.a.string,icon:l.a.string.isRequired,pressed:l.a.bool.isRequired,hoverBorderColor:l.a.string,marksButtonStatus:l.a.string,disabledIconColor:l.a.string,className:l.a.string},ro.defaultProps={unpressedBoxShadowColor:d.colors.$color_button_border,pressedBoxShadowColor:d.colors.$color_purple,pressedBackground:d.colors.$color_pink_dark,unpressedBackground:d.colors.$color_button,pressedIconColor:d.colors.$color_white,unpressedIconColor:d.colors.$color_button_text,hoverBorderColor:d.colors.$color_white,marksButtonStatus:"enabled",disabledIconColor:d.colors.$color_grey};var no=ro;const ao=c.a.button`
	box-sizing: border-box;
	min-width: 32px;
	display: inline-block;
	border: 1px solid ${d.colors.$color_button_border};
	background-color: ${e=>e.background};
	box-shadow: ${e=>e.boxShadowColor};
	border-radius: 3px;
	cursor: pointer;
	padding: 0;
	height: "24px";
	&:hover {
		border-color: ${e=>e.hoverBorderColor};
	}
`,so=function(e){return Object(r.createElement)(ao,{type:"button",onClick:e.onClick,boxShadowColor:e.boxShadowColor,background:e.background,id:e.id,"aria-label":e.ariaLabel,iconColor:e.iconColor,hoverBorderColor:e.hoverBorderColor,className:e.className},Object(r.createElement)(y,{icon:e.icon,color:e.iconColor,size:"18px"}))};so.propTypes={id:l.a.string.isRequired,ariaLabel:l.a.string.isRequired,onClick:l.a.func.isRequired,boxShadowColor:l.a.string,background:l.a.string,iconColor:l.a.string,icon:l.a.string.isRequired,hoverBorderColor:l.a.string,className:l.a.string},so.defaultProps={boxShadowColor:d.colors.$color_button_border,background:d.colors.$color_button,iconColor:d.colors.$color_button_text,hoverBorderColor:d.colors.$color_white};var lo=so;function io(e){return Object(r.createElement)("iframe",B()({title:e.title},e))}io.propTypes={title:l.a.string.isRequired};class co extends a.a.Component{constructor(e){super(e),this.setReference=this.setReference.bind(this)}componentDidUpdate(){this.props.hasFocus&&this.ref.focus()}setReference(e){this.ref=e}render(){return Object(r.createElement)("input",B()({ref:this.setReference,type:this.props.type,name:this.props.name,defaultValue:this.props.value,onChange:this.props.onChange,autoComplete:this.props.autoComplete,className:this.props.className},this.props.optionalAttributes))}}co.propTypes={name:l.a.string,type:l.a.oneOf(["button","checkbox","number","password","progress","radio","submit","text"]),value:l.a.any,onChange:l.a.func,optionalAttributes:l.a.object,hasFocus:l.a.bool,autoComplete:l.a.string,className:l.a.string},co.defaultProps={name:"input",type:"text",value:"",hasFocus:!1,className:"",onChange:null,optionalAttributes:{},autoComplete:null};var uo=co,po=o(32),ho=o.n(po);class fo extends a.a.Component{constructor(e){super(e),this.state={words:[]}}static getDerivedStateFromProps(e){const t=[...e.words];t.sort((e,t)=>t.getOccurrences()-e.getOccurrences());const o=t.map(e=>e.getOccurrences()),r=Math.max(...o);return{words:t.map(e=>{const t=e.getOccurrences();return{name:e.getWord(),number:t,width:t/r*100}})}}render(){return Object(r.createElement)("div",null,this.props.header,this.props.introduction,Object(r.createElement)(ie,{items:this.state.words}),this.props.footer)}}fo.propTypes={words:l.a.array.isRequired,header:l.a.element,introduction:l.a.element,footer:l.a.element},fo.defaultProps={header:null,introduction:null,footer:null};var bo=fo;const mo=e=>{let{words:t,researchArticleLink:o}=e;const n=Object(r.createElement)("p",{className:"yoast-field-group__title"},Object(U.__)("Prominent words","wordpress-seo")),a=Object(r.createElement)("p",null,0===t.length?Object(U.__)("Once you add a bit more copy, we'll give you a list of words that occur the most in the content. These give an indication of what your content focuses on.","wordpress-seo"):Object(U.__)("The following words occur the most in the content. These give an indication of what your content focuses on. If the words differ a lot from your topic, you might want to rewrite your content accordingly. ","wordpress-seo")),s=Object(r.createElement)("p",null,(e=>{const t=Object(U.sprintf)(Object(U.__)("Read our %1$sultimate guide to keyword research%2$s to learn more about keyword research and keyword strategy.","wordpress-seo"),"{{a}}","{{/a}}");return ho()({mixedString:t,components:{a:Object(r.createElement)("a",{href:e,target:"_blank"})}})})(o));return Object(r.createElement)(bo,{words:t,header:n,introduction:a,footer:s})};mo.propTypes={words:l.a.arrayOf(l.a.object).isRequired,researchArticleLink:l.a.string.isRequired};var go=mo;const yo=c.a.div`
	cursor: pointer;
	font-size: 14px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	margin: 4px 0;
	color: #303030;
	font-weight: 500;
`,vo=e=>Object(r.createElement)("label",B()({htmlFor:e.for,className:e.className},e.optionalAttributes),e.children);vo.propTypes={for:l.a.string.isRequired,optionalAttributes:l.a.shape({"aria-label":l.a.string,onClick:l.a.func,className:l.a.string}),children:l.a.any.isRequired,className:l.a.string},vo.defaultProps={className:"",optionalAttributes:{}};var xo=vo;const Oo=c.a.p`
	margin: 1em 0;
`,Co=Object(u.makeOutboundLink)(c.a.a`
	margin-left: 4px;
`);class wo extends n.PureComponent{render(){const{changeLanguageLink:e,canChangeLanguage:t,language:o,showLanguageNotice:n}=this.props;if(!n)return null;
/* Translators: %s expands to the actual language. */let a=Object(U.__)("Your site language is set to %s. ","wordpress-seo");return t||(
/* Translators: %s expands to the actual language. */
a=Object(U.__)("Your site language is set to %s. If this is not correct, contact your site administrator.","wordpress-seo")),a=Object(U.sprintf)(a,`{{strong}}${o}{{/strong}}`),a=ho()({mixedString:a,components:{strong:Object(r.createElement)("strong",null)}}),Object(r.createElement)(Oo,null,a,t&&Object(r.createElement)(Co,{href:e},Object(U.__)("Change language","wordpress-seo")))}}const _o={changeLanguageLink:l.a.string.isRequired,canChangeLanguage:l.a.bool,language:l.a.string.isRequired,showLanguageNotice:l.a.bool};wo.propTypes=_o,wo.defaultProps={canChangeLanguage:!1,showLanguageNotice:!1};const jo=e=>{let{className:t}=e;return""!==t&&(t+=" "),t+="yoast-loader",Object(r.createElement)("svg",{version:"1.1",id:"Y__x2B__bg",x:"0px",y:"0px",viewBox:"0 0 500 500",className:t},Object(r.createElement)("g",null,Object(r.createElement)("g",null,Object(r.createElement)("linearGradient",{id:"SVGID_1_",gradientUnits:"userSpaceOnUse",x1:"250",y1:"428.6121",x2:"250",y2:"77.122"},Object(r.createElement)("stop",{offset:"0",style:{stopColor:"#570732"}}),Object(r.createElement)("stop",{offset:"2.377558e-02",style:{stopColor:"#5D0936"}}),Object(r.createElement)("stop",{offset:"0.1559",style:{stopColor:"#771549"}}),Object(r.createElement)("stop",{offset:"0.3019",style:{stopColor:"#8B1D58"}}),Object(r.createElement)("stop",{offset:"0.4669",style:{stopColor:"#992362"}}),Object(r.createElement)("stop",{offset:"0.6671",style:{stopColor:"#A12768"}}),Object(r.createElement)("stop",{offset:"1",style:{stopColor:"#A4286A"}})),Object(r.createElement)("path",{fill:"url(#SVGID_1_)",d:"M454.7,428.6H118.4c-40.2,0-73.2-32.9-73.2-73.2V150.3c0-40.2,32.9-73.2,73.2-73.2h263.1 c40.2,0,73.2,32.9,73.2,73.2V428.6z"})),Object(r.createElement)("g",null,Object(r.createElement)("g",null,Object(r.createElement)("g",null,Object(r.createElement)("g",null,Object(r.createElement)("path",{fill:"#A4286A",d:"M357.1,102.4l-43.8,9.4L239.9,277l-47.2-147.8h-70.2l78.6,201.9c6.7,17.2,6.7,36.3,0,53.5 c-6.7,17.2,45.1-84.1,24.7-75.7c0,0,34.9,97.6,36.4,94.5c7-14.3,13.7-30.3,20.2-48.5L387.4,72 C387.4,72,358.4,102.4,357.1,102.4z"}))))),Object(r.createElement)("g",null,Object(r.createElement)("linearGradient",{id:"SVGID_2_",gradientUnits:"userSpaceOnUse",x1:"266.5665",y1:"-6.9686",x2:"266.5665",y2:"378.4586"},Object(r.createElement)("stop",{offset:"0",style:{stopColor:"#77B227"}}),Object(r.createElement)("stop",{offset:"0.4669",style:{stopColor:"#75B027"}}),Object(r.createElement)("stop",{offset:"0.635",style:{stopColor:"#6EAB27"}}),Object(r.createElement)("stop",{offset:"0.7549",style:{stopColor:"#63A027"}}),Object(r.createElement)("stop",{offset:"0.8518",style:{stopColor:"#529228"}}),Object(r.createElement)("stop",{offset:"0.9339",style:{stopColor:"#3C7F28"}}),Object(r.createElement)("stop",{offset:"1",style:{stopColor:"#246B29"}})),Object(r.createElement)("path",{fill:"url(#SVGID_2_)",d:"M337,6.1l-98.6,273.8l-47.2-147.8H121L199.6,334c6.7,17.2,6.7,36.3,0,53.5 c-8.8,22.5-23.4,41.8-59,46.6v59.9c69.4,0,106.9-42.6,140.3-136.1L412.1,6.1H337z"}),Object(r.createElement)("path",{fill:"#FFFFFF",d:"M140.6,500h-6.1v-71.4l5.3-0.7c34.8-4.7,46.9-24.2,54.1-42.7c6.2-15.8,6.2-33.2,0-49l-81.9-210.3h83.7 l43.1,134.9L332.7,0h88.3L286.7,359.9c-17.9,50-36.4,83.4-58.1,105.3C205,488.9,177,500,140.6,500z M146.7,439.2v48.3 c29.9-1.2,53.3-11.1,73.1-31.1c20.4-20.5,38-52.6,55.3-100.9L403.2,12.3h-61.9L238.1,299l-51.3-160.8H130l75.3,193.5 c7.3,18.7,7.3,39.2,0,57.9C197.7,409.3,184.1,432.4,146.7,439.2z"}))))};jo.propTypes={className:l.a.string},jo.defaultProps={className:""};const Eo=i.keyframes`
	0%   { transform: scale( 0.70 ); opacity: 0.4; }
	80%  { opacity: 1 }
	100%  { transform: scale( 0.95 ); opacity: 1 }
`;var ko=c()(jo)`
	animation: ${Eo} 1.15s infinite;
	animation-direction: alternate;
	animation-timing-function: cubic-bezier(0.96, 0.02, 0.63, 0.86);
`;const So=c.a.div`
	padding: 8px;
`,To=c.a.ol`
	padding: 0;
	margin: 0;

	list-style: none;
	counter-reset: multi-step-progress-counter;

	li {
		counter-increment: multi-step-progress-counter;
	}
`,qo=c.a.li`
	display: flex;
	align-items: baseline;

	margin: 8px 0;

	:first-child {
		margin-top: 0;
	}

	:last-child {
		margin-bottom: 0;
	}

	span {
		margin: 0 8px;
	}

	svg {
		position: relative;
		top: 2px;
	}

	::before {
		content: counter( multi-step-progress-counter );
		font-size: 12px;
		background: ${d.colors.$color_pink_dark};
		border-radius: 50%;
		min-width: 16px;
		height: 16px;
		padding: 4px;
		color: ${d.colors.$color_white};
		text-align: center;
	}
`,$o=c()(qo)`
	span {
		color: ${d.colors.$palette_grey_text_light};
	}

	::before {
		background-color: ${d.colors.$palette_grey_medium_dark};
	}
`,No=c()(qo)`
	::before {
		background-color: ${d.colors.$palette_grey_medium_dark};
	}
`;class Ro extends a.a.Component{render(){return Object(r.createElement)(So,{role:"status","aria-live":"polite","aria-relevant":"additions text","aria-atomic":!0},Object(r.createElement)(To,null,this.props.steps.map(e=>{switch(e.status){case"running":return this.renderRunningState(e);case"failed":return this.renderFailedState(e);case"finished":return this.renderFinishedState(e);case"pending":default:return this.renderPendingState(e)}})))}renderPendingState(e){return Object(r.createElement)($o,{key:e.id},Object(r.createElement)("span",null,e.text))}renderRunningState(e){return Object(r.createElement)(No,{key:e.id},Object(r.createElement)("span",null,e.text),Object(r.createElement)(y,{icon:"loading-spinner"}))}renderFinishedState(e){return Object(r.createElement)(qo,{key:e.id},Object(r.createElement)("span",null,e.text),Object(r.createElement)(y,{icon:"check",color:d.colors.$color_green_medium_light}))}renderFailedState(e){return Object(r.createElement)(qo,{key:e.id},Object(r.createElement)("span",null,e.text),Object(r.createElement)(y,{icon:"times",color:d.colors.$color_red}))}}Ro.defaultProps={steps:[]},Ro.propTypes={steps:l.a.arrayOf(l.a.shape({status:l.a.oneOf(["pending","running","finished","failed"]).isRequired,text:l.a.string.isRequired,id:l.a.string.isRequired}))};var Po=Ro;const Bo=c.a.div`
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	background-color: ${e=>e.backgroundColor};
	min-height: ${e=>e.minHeight};
`;Bo.propTypes={backgroundColor:l.a.string,minHeight:l.a.string},Bo.defaultProps={backgroundColor:d.colors.$color_white,minHeight:"0"};var Io=Bo;const zo=c.a.div`
	display: flex;
	align-items: center;
	padding: 24px;

	h1, h2, h3, h4, h5, h6 {
		font-size: 1.4em;
		line-height: 1;
		margin: 0 0 4px 0;

		@media screen and ( max-width: ${d.breakpoints.mobile} ) {
			${e=>e.isDismissable?"margin-right: 30px;":""}
		}
	}

	p:last-child {
		margin: 0;
	}

	@media screen and ( max-width: ${d.breakpoints.mobile} ) {
		display: block;
		position: relative;
		padding: 16px;
	}
`,Mo=c.a.img`
	flex: 0 0 ${e=>e.imageWidth?e.imageWidth:"auto"};
	height: ${e=>e.imageHeight?e.imageHeight:"auto"};
	margin-right: 24px;

	@media screen and ( max-width: ${d.breakpoints.mobile} ) {
		display: none;
	}
`,Lo=c.a.div`
	flex: 1 1 auto;
`,Do=c.a.button`
	flex: 0 0 40px;
	height: 40px;
	border: 0;
	margin: 0 0 0 10px;
	padding: 0;
	background: transparent;
	cursor: pointer;

	@media screen and ( max-width: ${d.breakpoints.mobile} ) {
		width: 40px;
		position: absolute;
		top: 5px;
		right: 5px;
		margin: 0;
	}
`,Ao=c()(y)`
	vertical-align: middle;
`;function Fo(e){const t=""+e.headingLevel;return Object(r.createElement)(Io,null,Object(r.createElement)(zo,{isDismissable:e.isDismissable},e.imageSrc&&Object(r.createElement)(Mo,{src:e.imageSrc,imageWidth:e.imageWidth,imageHeight:e.imageHeight,alt:""}),Object(r.createElement)(Lo,null,Object(r.createElement)(t,null,e.title),Object(r.createElement)("p",{className:"prova",dangerouslySetInnerHTML:{__html:e.html}})),e.isDismissable&&Object(r.createElement)(Do,{onClick:e.onClick,type:"button","aria-label":Object(U.__)("Dismiss this notice","wordpress-seo")},Object(r.createElement)(Ao,{icon:"times",color:d.colors.$color_grey_text,size:"24px"}))))}Fo.propTypes={imageSrc:l.a.string,imageWidth:l.a.string,imageHeight:l.a.string,title:l.a.string,html:l.a.string,isDismissable:l.a.bool,onClick:l.a.func,headingLevel:l.a.string},Fo.defaultProps={isDismissable:!1,headingLevel:"h3"};var Uo=Fo;const Ho=c.a.progress`
	box-sizing: border-box;
	width: 100%;
	height: 8px;
	display: block;
	margin-top: 8px;
	appearance: none;
	background-color: ${e=>e.backgroundColor};
	border: 1px solid ${e=>e.borderColor};

	::-webkit-progress-bar {
	   	background-color: ${e=>e.backgroundColor};
	}

	::-webkit-progress-value {
		background-color: ${e=>e.progressColor};
		transition: width 250ms;
	}

	::-moz-progress-bar {
		background-color: ${e=>e.progressColor};
	}
	
	::-ms-fill {
		background-color: ${e=>e.progressColor};
		border: 0;
	}
`;Ho.defaultProps={max:1,value:0,progressColor:d.colors.$color_good,backgroundColor:d.colors.$color_background_light,borderColor:d.colors.$color_input_border,"aria-hidden":"true"},Ho.propTypes={max:l.a.number,value:l.a.number,progressColor:l.a.string,backgroundColor:l.a.string,borderColor:l.a.string,"aria-hidden":l.a.string};var Wo=Ho;const Vo=c.a.li`
	display: table-row;
	font-size: 14px;
`,Ko=c.a.span`
	display: table-cell;
	padding: 2px;
`,Go=c()(Ko)`
	position: relative;
	top: 1px;
	display: inline-block;
	height: 8px;
	width: 8px;
	border-radius: 50%;
	background-color: ${e=>e.scoreColor};
`;Go.propTypes={scoreColor:l.a.string.isRequired};const Yo=c()(Ko)`
	padding-left: 8px;
	width: 100%;
`,Zo=c()(Ko)`
	font-weight: 600;
	text-align: right;
	padding-left: 16px;
`,Xo=e=>Object(r.createElement)(Vo,{className:""+e.className},Object(r.createElement)(Go,{className:e.className+"-bullet",scoreColor:e.scoreColor}),Object(r.createElement)(Yo,{className:e.className+"-text",dangerouslySetInnerHTML:{__html:e.html}}),e.value&&Object(r.createElement)(Zo,{className:e.className+"-score"},e.value));Xo.propTypes={className:l.a.string.isRequired,scoreColor:l.a.string.isRequired,html:l.a.string.isRequired,value:l.a.number};const Jo=c.a.ul`
	display: table;
	box-sizing: border-box;
	list-style: none;
	max-width: 100%;
	min-width: 200px;
	margin: 8px 0;
	padding: 0 8px;
`,Qo=e=>Object(r.createElement)(Jo,{className:e.className,role:"list"},e.items.map((t,o)=>Object(r.createElement)(Xo,{className:e.className+"__item",key:o,scoreColor:t.color,html:t.html,value:t.value})));Qo.propTypes={className:l.a.string,items:l.a.arrayOf(l.a.shape({color:l.a.string.isRequired,html:l.a.string.isRequired,value:l.a.number}))},Qo.defaultProps={className:"score-assessments"};var er=Qo;const tr=c.a.div`
	margin: 8px 0;
	height: ${e=>e.barHeight};
	overflow: hidden;
`,or=c.a.span`
	display: inline-block;
	vertical-align: top;
	width: ${e=>e.progressWidth+"%"};
	background-color: ${e=>e.progressColor};
	height: 100%;
`;or.propTypes={progressWidth:l.a.number.isRequired,progressColor:l.a.string.isRequired};const rr=e=>{let t=0;for(let o=0;o<e.items.length;o++)e.items[o].value=Math.max(e.items[o].value,0),t+=e.items[o].value;return t<=0?null:Object(r.createElement)(tr,{className:e.className,barHeight:e.barHeight},e.items.map((o,n)=>Object(r.createElement)(or,{className:e.className+"__part",key:n,progressColor:o.color,progressWidth:o.value/t*100})))};rr.propTypes={className:l.a.string,items:l.a.arrayOf(l.a.shape({value:l.a.number.isRequired,color:l.a.string.isRequired})),barHeight:l.a.string},rr.defaultProps={className:"stacked-progress-bar",barHeight:"24px"};var nr=rr;const ar=c.a.div.attrs({})`
	flex: 0 1 100%;
	border: 1px solid ${e=>e.isActive?"#5b9dd9":"#ddd"};
	padding: 4px 5px;
	box-sizing: border-box;
	box-shadow: ${e=>e.isActive?"0 0 2px rgba(30,140,190,.8);":"inset 0 1px 2px rgba(0,0,0,.07)"};
	background-color: #fff;
	color: #32373c;
	outline: 0;
	transition: 50ms border-color ease-in-out;
	position: relative;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 14px;
	cursor: text;
`,sr=c.a.div`
	display: flex;
	flex-direction: column;
	margin: 1em 0;
`,lr=c.a.input`
	&&& {
		padding: 0 8px;
		min-height: 34px;
		font-size: 1em;
		box-shadow: inset 0 1px 2px ${Object(d.rgba)(d.colors.$color_black,.07)};
		border: 1px solid ${d.colors.$color_input_border};
		border-radius: 0;

		&:focus {
			border-color: #5b9dd9;
			box-shadow: 0 0 2px ${Object(d.rgba)(d.colors.$color_snippet_focus,.8)};
		}
	}
`,ir=c.a.label`
	font-size: 1em;
	font-weight: bold;
	margin-bottom: 0.5em;
	display: block;
`,cr=c.a.span`
	margin-bottom: 0.5em;
`,dr=c()(ir)`
	display: inline-block;
	margin-bottom: 0;
	${Object(u.getDirectionalStyle)("margin-right: 4px","margin-left: 4px")};
`,ur=e=>{const{label:t,helpLink:o,...n}=e;return Object(r.createElement)(sr,null,Object(r.createElement)(cr,null,Object(r.createElement)(dr,{htmlFor:n.id},t),o),Object(r.createElement)(lr,B()({},n,{autoComplete:"off"})))};ur.propTypes={type:l.a.string,id:l.a.string.isRequired,label:l.a.string,helpLink:l.a.node},ur.defaultProps={type:"text",label:"",helpLink:null};var pr=ur;class hr extends a.a.Component{constructor(e){super(e),this.setReference=this.setReference.bind(this)}render(){return Object(r.createElement)("textarea",B()({ref:this.setReference,name:this.props.name,value:this.props.value,onChange:this.props.onChange},this.props.optionalAttributes))}setReference(e){this.ref=e}componentDidUpdate(){this.props.hasFocus&&this.ref.focus()}}hr.propTypes={name:l.a.string,value:l.a.string,onChange:l.a.func,optionalAttributes:l.a.object,hasFocus:l.a.bool},hr.defaultProps={name:"textarea",value:"",hasFocus:!1,onChange:null,optionalAttributes:{}};var fr=hr;class br extends a.a.Component{constructor(e){super(e),this.optionalAttributes=this.parseOptionalAttributes()}render(){return this.optionalAttributes=this.parseOptionalAttributes(),this.props.class&&(this.optionalAttributes.container.className=this.props.class),Object(r.createElement)("div",this.optionalAttributes.container,Object(r.createElement)(xo,{for:this.props.name,optionalAttributes:this.optionalAttributes.label},this.props.label),this.getTextField())}getTextField(){return!0===this.props.multiline?Object(r.createElement)("div",null,Object(r.createElement)(fr,{name:this.props.name,id:this.props.name,onChange:this.props.onChange,optionalAttributes:this.optionalAttributes.field,hasFocus:this.props.hasFocus,value:this.props.value}),this.props.explanation&&Object(r.createElement)("p",null,this.props.explanation)):Object(r.createElement)("div",null,Object(r.createElement)(uo,{name:this.props.name,id:this.props.name,type:"text",onChange:this.props.onChange,value:this.props.value,hasFocus:this.props.hasFocus,autoComplete:this.props.autoComplete,optionalAttributes:this.optionalAttributes.field}),this.props.explanation&&Object(r.createElement)("p",null,this.props.explanation))}parseOptionalAttributes(){const e={},t={},o={id:this.props.name};return Object.keys(this.props).forEach(function(r){r.startsWith("label-")&&(t[r.split("-").pop()]=this.props[r]),r.startsWith("field-")&&(o[r.split("-").pop()]=this.props[r]),r.startsWith("container-")&&(e[r.split("-").pop()]=this.props[r])}.bind(this)),{label:t,field:o,container:e}}}br.propTypes={label:l.a.string.isRequired,name:l.a.string.isRequired,onChange:l.a.func.isRequired,value:l.a.string,optionalAttributes:l.a.object,multiline:l.a.bool,hasFocus:l.a.bool,class:l.a.string,explanation:l.a.string,autoComplete:l.a.string},br.defaultProps={optionalAttributes:{},multiline:!1,hasFocus:!1,value:null,class:null,explanation:!1,autoComplete:null};var mr=br;const gr=c.a.div`
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	position: relative;
`,yr=c.a.span`
	${Object(u.getDirectionalStyle)("margin-right","margin-left")}: 16px;
	flex: 1;
	cursor: pointer;
`,vr=c.a.div`
	background-color: ${e=>e.isEnabled?"#a5d6a7":d.colors.$color_button_border};
	border-radius: 7px;
	height: 14px;
	width: 30px;
	cursor: pointer;
	margin: 0;
	outline: 0;
	&:focus > span {
		box-shadow: inset 0 0 0 1px ${d.colors.$color_white}, 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8);
	}
`,xr=c.a.span`
	background-color: ${e=>e.isEnabled?d.colors.$color_green_medium_light:d.colors.$color_grey_medium_dark};
	${e=>e.isEnabled?Object(u.getDirectionalStyle)("margin-left: 12px;","margin-right: 12px;"):Object(u.getDirectionalStyle)("margin-left: -2px;","margin-right: -2px;")};
	box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.1);
	border-radius: 100%;
	height: 20px;
	width: 20px;
	position: absolute;
	margin-top: -3px;
`,Or=c.a.span`
	font-size: 14px;
	line-height: 20px;
	${Object(u.getDirectionalStyle)("margin-left","margin-right")}: 8px;
	font-style: italic;
`;class Cr extends a.a.Component{constructor(e){super(e),this.onClick=this.props.onToggleDisabled,this.onKeyUp=this.props.onToggleDisabled,this.setToggleState=this.setToggleState.bind(this),this.handleOnKeyDown=this.handleOnKeyDown.bind(this),!0!==e.disable&&(this.onClick=this.setToggleState.bind(this),this.onKeyUp=this.setToggleState.bind(this))}setToggleState(e){"keyup"===e.type&&32!==e.keyCode||this.props.onSetToggleState(!this.props.isEnabled)}handleOnKeyDown(e){32===e.keyCode&&e.preventDefault()}render(){return Object(r.createElement)(gr,null,this.props.labelText&&Object(r.createElement)(yr,{id:this.props.id,onClick:this.onClick},this.props.labelText),Object(r.createElement)(vr,{isEnabled:this.props.isEnabled,onKeyDown:this.handleOnKeyDown,onClick:this.onClick,onKeyUp:this.onKeyUp,tabIndex:"0",role:"checkbox","aria-labelledby":this.props.id,"aria-checked":this.props.isEnabled,"aria-disabled":this.props.disable},Object(r.createElement)(xr,{isEnabled:this.props.isEnabled})),this.props.showToggleStateLabel&&Object(r.createElement)(Or,{"aria-hidden":"true"},this.props.isEnabled?Object(U.__)("On","wordpress-seo"):Object(U.__)("Off","wordpress-seo")))}}Cr.propTypes={isEnabled:l.a.bool,onSetToggleState:l.a.func,disable:l.a.bool,onToggleDisabled:l.a.func,id:l.a.string.isRequired,labelText:l.a.string,showToggleStateLabel:l.a.bool},Cr.defaultProps={isEnabled:!1,onSetToggleState:()=>{},labelText:"",disable:!1,onToggleDisabled:()=>{},showToggleStateLabel:!0};var wr=Cr;function _r(e){return c()(e)`
		display: inline-flex;
		align-items: center;
		justify-content: center;
		vertical-align: middle;
		min-height: ${"48px"};
		margin: 0;
		padding: 0 16px;
		padding: ${"0px"} 16px;
		border: 0;
		border-radius: 4px;
		box-sizing: border-box;
		font: 400 14px/24px "Open Sans", sans-serif;
		text-transform: uppercase;
		box-shadow: 0 2px 8px 0 ${Object(d.rgba)(d.colors.$color_black,.3)};
		transition: box-shadow 150ms ease-out;

		&:hover,
		&:focus,
		&:active {
			box-shadow:
				0 4px 10px 0 ${Object(d.rgba)(d.colors.$color_black,.2)},
				inset 0 0 0 100px ${Object(d.rgba)(d.colors.$color_black,.1)};
			color: ${e=>e.textColor};
		}

		&:active {
			transform: translateY( 1px );
			box-shadow: none;
		}

		// Only needed for IE 10+. Don't add spaces within brackets for this to work.
		@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
			::after {
				display: inline-block;
				content: "";
				min-height: ${"48px"};
			}
		}
	`}const jr=e=>{let{className:t,onClick:o,type:n,children:a,isExpanded:s}=e;return Object(r.createElement)("button",{className:t,onClick:o,type:n,"aria-expanded":s},Object(r.createElement)("span",null,a))};jr.propTypes={className:l.a.string,onClick:l.a.func,type:l.a.string,isExpanded:l.a.bool,children:l.a.oneOfType([l.a.arrayOf(l.a.node),l.a.node,l.a.string])},jr.defaultProps={type:"button"};const Er=_r(c()(jr)`
		color: ${e=>e.textColor};
		background: ${e=>e.backgroundColor};
		min-width: 152px;
		${e=>e.withTextShadow?"text-shadow: 0 0 2px "+d.colors.$color_black:""};
		overflow: visible;
		cursor: pointer;

		&::-moz-focus-inner {
			border-width: 0;
		}

		// Only needed for Safari 10 and only for buttons.
		span {
			display: inherit;
			align-items: inherit;
			justify-content: inherit;
			width: 100%;
		}
	`);Er.propTypes={backgroundColor:l.a.string,textColor:l.a.string,withTextShadow:l.a.bool},Er.defaultProps={backgroundColor:d.colors.$color_green_medium_light,textColor:d.colors.$color_white,withTextShadow:!0};const kr=c()(y)`
		margin: 2px 4px 0 4px;
		flex-shrink: 0;
`,Sr=(Tr=c()(jr)`
		color: ${e=>e.textColor};
		background: ${e=>e.backgroundColor};
		overflow: visible;
		cursor: pointer;

		&::-moz-focus-inner {
			border-width: 0;
		}

		// Only needed for Safari 10 and only for buttons.
		span {
			display: inherit;
			align-items: inherit;
			justify-content: inherit;
			width: 100%;
		}
	`,c()(Tr)`
		display: inline-flex;
		align-items: center;
		justify-content: center;
		vertical-align: middle;
		min-height: ${"48px"};
		margin: 0;
		overflow: auto;
		min-width: 152px;
		padding: 0 16px;
		padding: ${"8px"} 8px ${"8px"} 16px;
		border: 0;
		border-radius: 4px;
		box-sizing: border-box;
		font: 400 16px/24px "Open Sans", sans-serif;
		box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2);
		filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
		transition: box-shadow 150ms ease-out;

		&:hover,
		&:focus,
		&:active {
			background: ${d.colors.$color_button_upsell_hover};
		}

		&:active {
			transform: translateY( 1px );
			box-shadow: none;
			filter: none;
		}

		// Only needed for IE 10+. Don't add spaces within brackets for this to work.
		@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
			::after {
				display: inline-block;
				content: "";
				min-height: ${"32px"};
			}
		}
	`);var Tr;Sr.propTypes={backgroundColor:l.a.string,hoverColor:l.a.string,textColor:l.a.string},Sr.defaultProps={backgroundColor:d.colors.$color_button_upsell,hoverColor:d.colors.$color_button_hover_upsell,textColor:d.colors.$color_black};const qr=e=>{const{children:t}=e;return Object(r.createElement)(Sr,e,t,Object(r.createElement)(kr,{icon:"caret-right",color:d.colors.$color_black,size:"16px"}))};qr.propTypes={backgroundColor:l.a.string,hoverColor:l.a.string,textColor:l.a.string,children:l.a.oneOfType([l.a.arrayOf(l.a.node),l.a.node])};const $r=c.a.a`
	align-items: center;
	justify-content: center;
	vertical-align: middle;
	color: ${d.colors.$color_black};
	white-space: nowrap;
	display: inline-flex;
	border-radius: 4px;
	background-color: ${d.colors.$color_button_upsell};
	padding: 4px 8px 8px;
	box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2);
	border: none;
	text-decoration: none;
	font-size: inherit;

	&:hover,
	&:focus,
	&:active {
		color: ${d.colors.$color_black};
		background: ${d.colors.$color_button_upsell_hover};
	}

	&:active {
		background-color: ${d.colors.$color_button_hover_upsell};
		transform: translateY( 1px );
		box-shadow: none;
		filter: none;
	}
`,Nr=_r(c.a.a`
		text-decoration: none;
		color: ${e=>e.textColor};
		background: ${e=>e.backgroundColor};
		min-width: 152px;
		${e=>e.withTextShadow?"text-shadow: 0 0 2px "+d.colors.$color_black:""};
	`);Nr.propTypes={backgroundColor:l.a.string,textColor:l.a.string,withTextShadow:l.a.bool},Nr.defaultProps={backgroundColor:d.colors.$color_green_medium_light,textColor:d.colors.$color_white,withTextShadow:!0};var Rr=e=>Object(r.createElement)("svg",B()({},e,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 520 240"}),Object(r.createElement)("linearGradient",{id:"a",gradientUnits:"userSpaceOnUse",x1:"476.05",y1:"194.48",x2:"476.05",y2:"36.513"},Object(r.createElement)("stop",{offset:"0",style:{stopColor:"#570732"}}),Object(r.createElement)("stop",{offset:".038",style:{stopColor:"#610b39"}}),Object(r.createElement)("stop",{offset:".155",style:{stopColor:"#79164b"}}),Object(r.createElement)("stop",{offset:".287",style:{stopColor:"#8c1e59"}}),Object(r.createElement)("stop",{offset:".44",style:{stopColor:"#9a2463"}}),Object(r.createElement)("stop",{offset:".633",style:{stopColor:"#a22768"}}),Object(r.createElement)("stop",{offset:"1",style:{stopColor:"#a4286a"}})),Object(r.createElement)("path",{fill:"url(#a)",d:"M488.7 146.1v-56h20V65.9h-20V36.5h-30.9v29.3h-15.7v24.3h15.7v52.8c0 30 20.9 47.8 43 51.5l9.2-24.8c-12.9-1.6-21.2-11.2-21.3-23.5z"}),Object(r.createElement)("linearGradient",{id:"b",gradientUnits:"userSpaceOnUse",x1:"287.149",y1:"172.553",x2:"287.149",y2:"61.835"},Object(r.createElement)("stop",{offset:"0",style:{stopColor:"#570732"}}),Object(r.createElement)("stop",{offset:".038",style:{stopColor:"#610b39"}}),Object(r.createElement)("stop",{offset:".155",style:{stopColor:"#79164b"}}),Object(r.createElement)("stop",{offset:".287",style:{stopColor:"#8c1e59"}}),Object(r.createElement)("stop",{offset:".44",style:{stopColor:"#9a2463"}}),Object(r.createElement)("stop",{offset:".633",style:{stopColor:"#a22768"}}),Object(r.createElement)("stop",{offset:"1",style:{stopColor:"#a4286a"}})),Object(r.createElement)("path",{fill:"url(#b)",d:"M332.8 137.3V95.2c0-1.5-.1-3-.2-4.4-2.7-34-51-33.9-88.3-20.9L255 91.7c24.3-11.6 38.9-8.6 44-2.9l.4.4v.1c2.6 3.5 2 9 2 13.4-31.8 0-65.7 4.2-65.7 39.1 0 26.5 33.2 43.6 68 18.3l5.2 12.4h29.8c-2.8-14.5-5.9-27-5.9-35.2zm-31.2-.3c-24.5 27.4-46.9 1.6-23.9-9.6 6.8-2.3 15.9-2.4 23.9-2.4v12z"}),Object(r.createElement)("linearGradient",{id:"c",gradientUnits:"userSpaceOnUse",x1:"390.54",y1:"172.989",x2:"390.54",y2:"61.266"},Object(r.createElement)("stop",{offset:"0",style:{stopColor:"#570732"}}),Object(r.createElement)("stop",{offset:".038",style:{stopColor:"#610b39"}}),Object(r.createElement)("stop",{offset:".155",style:{stopColor:"#79164b"}}),Object(r.createElement)("stop",{offset:".287",style:{stopColor:"#8c1e59"}}),Object(r.createElement)("stop",{offset:".44",style:{stopColor:"#9a2463"}}),Object(r.createElement)("stop",{offset:".633",style:{stopColor:"#a22768"}}),Object(r.createElement)("stop",{offset:"1",style:{stopColor:"#a4286a"}})),Object(r.createElement)("path",{fill:"url(#c)",d:"M380.3 92.9c0-10.4 16.6-15.2 42.8-3.3l9.1-22C397 57 348.9 56 348.6 92.8c-.1 17.7 11.2 27.2 27.5 33.2 11.3 4.2 27.6 6.4 27.6 15.4-.1 11.8-25.3 13.6-48.4-2.3l-9.3 23.8c31.4 15.6 89.7 16.1 89.4-23.1-.4-38.5-55.1-31.9-55.1-46.9z"}),Object(r.createElement)("linearGradient",{id:"d",gradientUnits:"userSpaceOnUse",x1:"76.149",y1:"3.197",x2:"76.149",y2:"178.39"},Object(r.createElement)("stop",{offset:"0",style:{stopColor:"#77b227"}}),Object(r.createElement)("stop",{offset:".467",style:{stopColor:"#75b027"}}),Object(r.createElement)("stop",{offset:".635",style:{stopColor:"#6eab27"}}),Object(r.createElement)("stop",{offset:".755",style:{stopColor:"#63a027"}}),Object(r.createElement)("stop",{offset:".852",style:{stopColor:"#529228"}}),Object(r.createElement)("stop",{offset:".934",style:{stopColor:"#3c7f28"}}),Object(r.createElement)("stop",{offset:"1",style:{stopColor:"#246b29"}})),Object(r.createElement)("path",{fill:"url(#d)",d:"M108.2 9.2L63.4 133.6 41.9 66.4H10l35.7 91.8c3 7.8 3 16.5 0 24.3-4 10.2-10.6 19-26.8 21.2v27.2c31.5 0 48.6-19.4 63.8-61.9L142.3 9.2h-34.1z"}),Object(r.createElement)("linearGradient",{id:"e",gradientUnits:"userSpaceOnUse",x1:"175.228",y1:"172.923",x2:"175.228",y2:"62.17"},Object(r.createElement)("stop",{offset:"0",style:{stopColor:"#570732"}}),Object(r.createElement)("stop",{offset:".038",style:{stopColor:"#610b39"}}),Object(r.createElement)("stop",{offset:".155",style:{stopColor:"#79164b"}}),Object(r.createElement)("stop",{offset:".287",style:{stopColor:"#8c1e59"}}),Object(r.createElement)("stop",{offset:".44",style:{stopColor:"#9a2463"}}),Object(r.createElement)("stop",{offset:".633",style:{stopColor:"#a22768"}}),Object(r.createElement)("stop",{offset:"1",style:{stopColor:"#a4286a"}})),Object(r.createElement)("path",{fill:"url(#e)",d:"M175.2 62.2c-38.6 0-54 27.3-54 56.2 0 30 15.1 54.6 54 54.6 38.7 0 54.1-27.6 54-54.6-.1-33-16.8-56.2-54-56.2zm0 87.1c-15.7 0-23.4-11.7-23.4-30.9s8.3-32.9 23.4-32.9c15 0 23.2 13.7 23.2 32.9s-7.5 30.9-23.2 30.9z"})),Pr=o(219),Br=o.n(Pr);const Ir=c.a.h1`
	float: left;
	margin: -4px 0 2rem;
	font-size: 1rem;
`,zr=c.a.button`
	float: right;
	width: 44px;
	height: 44px;
	background: transparent;
	border: 0;
	margin: -16px -16px 0 0;
	padding: 0;
	cursor: pointer;
`;class Mr extends a.a.Component{constructor(e){super(e)}render(){return Object(r.createElement)(Br.a,{isOpen:this.props.isOpen,onRequestClose:this.props.onClose,role:"dialog",contentLabel:this.props.modalAriaLabel,overlayClassName:"yoast-modal__overlay "+this.props.className,className:"yoast-modal__content "+this.props.className,appElement:this.props.appElement,bodyOpenClassName:"yoast-modal_is-open"},Object(r.createElement)("div",null,this.props.heading&&Object(r.createElement)(Ir,{className:"yoast-modal__title"},this.props.heading),this.props.closeIconButton&&Object(r.createElement)(zr,{type:"button",onClick:this.props.onClose,className:"yoast-modal__button-close-icon "+this.props.closeIconButtonClassName,"aria-label":this.props.closeIconButton},Object(r.createElement)(y,{icon:"times",color:d.colors.$color_grey_text}))),Object(r.createElement)("div",{className:"yoast-modal__inside"},this.props.children),this.props.closeButton&&Object(r.createElement)("div",{className:"yoast-modal__actions"},Object(r.createElement)("button",{type:"button",onClick:this.props.onClose,className:"yoast-modal__button-close "+this.props.closeButtonClassName},this.props.closeButton)))}}Mr.propTypes={children:l.a.any,className:l.a.string,isOpen:l.a.bool,onClose:l.a.func.isRequired,modalAriaLabel:l.a.string.isRequired,appElement:l.a.object.isRequired,heading:l.a.string,closeIconButton:l.a.string,closeIconButtonClassName:l.a.string,closeButton:l.a.string,closeButtonClassName:l.a.string},Mr.defaultProps={children:null,className:"",heading:"",closeIconButton:"",closeIconButtonClassName:"",closeButton:"",closeButtonClassName:"",isOpen:!1};var Lr=c()(Mr)`
	&.yoast-modal__overlay {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: rgba(0, 0, 0, 0.6);
		transition: background 100ms ease-out;
		z-index: 999999;
	}

	&.yoast-modal__content {
		position: absolute;
		top: 50%;
		left: 50%;
		right: auto;
		bottom: auto;
		width: auto;
		max-width: 90%;
		max-height: 90%;
		border: 0;
		border-radius: 0;
		margin-right: -50%;
		padding: 24px;
		transform: translate(-50%, -50%);
		background-color: #fff;
		outline: none;

		@media screen and ( max-width: 500px ) {
			overflow-y: auto;
		}

		@media screen and ( max-height: 640px ) {
			overflow-y: auto;
		}
	}

	.yoast-modal__inside {
		clear: both;
	}

	.yoast-modal__actions {
		text-align: right;
	}

	.yoast-modal__actions button {
		margin: 24px 0 0 8px;
	}
`,Dr=e=>Object(r.createElement)("svg",B()({},e,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500"}),Object(r.createElement)("path",{d:"M80,0H420a80,80,0,0,1,80,80V500a0,0,0,0,1,0,0H80A80,80,0,0,1,0,420V80A80,80,0,0,1,80,0Z",fill:"#a4286a"}),Object(r.createElement)("path",{d:"M437.61,2,155.89,500H500V80A80,80,0,0,0,437.61,2Z",fill:"#6c2548"}),Object(r.createElement)("path",{d:"M74.4,337.3v34.9c21.6-.9,38.5-8,52.8-22.5s27.4-38,39.9-72.9l92.6-248H214.9L140.3, 236l-37-116.2h-41l54.4,139.8a57.54,57.54,0,0,1,0,41.8C111.2,315.6,101.3,332.3,74.4,337.3Z",fill:"#fff"}),Object(r.createElement)("circle",{cx:"368.33",cy:"124.68",r:"97.34",transform:"translate(19.72 296.97) rotate(-45)",fill:"#9fda4f"}),Object(r.createElement)("path",{d:"M416.2,39.93,320.46,209.44A97.34,97.34,0,1,0,416.2,39.93Z",fill:"#77b227"}),Object(r.createElement)("path",{d:"M294.78,254.75h0l-.15-.08-.13-.07h0a63.6,63.6,0,0,0-62.56,110.76h0l.07,0,.06,0h0a63.6,63.6,0,0,0,62.71-110.67Z",fill:"#fec228"}),Object(r.createElement)("path",{d:"M294.5,254.59,231.94,365.35A63.6,63.6,0,1,0,294.5,254.59Z",fill:"#f49a00"}),Object(r.createElement)("path",{d:"M222.31,450.07A38.16,38.16,0,0,0,203,416.83h0l0,0h0a38.18,38.18,0,1,0,19.41,33.27Z",fill:"#ff4e47"}),Object(r.createElement)("path",{d:"M202.9,416.8l-37.54,66.48A38.17,38.17,0,0,0,202.9,416.8Z",fill:"#ed261f"}));function Ar(e){return e.type&&"Tab"===e.type.tabsRole}function Fr(e){return e.type&&"TabPanel"===e.type.tabsRole}function Ur(e){return e.type&&"TabList"===e.type.tabsRole}function Hr(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Wr(e,t){return n.Children.map(e,(function(e){return null===e?null:function(e){return Ar(e)||Ur(e)||Fr(e)}(e)?t(e):e.props&&e.props.children&&"object"==typeof e.props.children?Object(n.cloneElement)(e,function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},r=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(o).filter((function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable})))),r.forEach((function(t){Hr(e,t,o[t])}))}return e}({},e.props,{children:Wr(e.props.children,t)})):e}))}function Vr(e,t){return n.Children.forEach(e,(function(e){null!==e&&(Ar(e)||Fr(e)?t(e):e.props&&e.props.children&&"object"==typeof e.props.children&&(Ur(e)&&t(e),Vr(e.props.children,t)))}))}var Kr,Gr=o(33),Yr=o.n(Gr),Zr=0;function Xr(){return"react-tabs-"+Zr++}function Jr(e){var t=0;return Vr(e,(function(e){Ar(e)&&t++})),t}function Qr(){return(Qr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}function en(e){return e&&"getAttribute"in e}function tn(e){return en(e)&&"tab"===e.getAttribute("role")}function on(e){return en(e)&&"true"===e.getAttribute("aria-disabled")}try{Kr=!("undefined"==typeof window||!window.document||!window.document.activeElement)}catch(e){Kr=!1}var rn=function(e){var t,o;function r(){for(var t,o=arguments.length,r=new Array(o),n=0;n<o;n++)r[n]=arguments[n];return(t=e.call.apply(e,[this].concat(r))||this).tabNodes=[],t.handleKeyDown=function(e){if(t.isTabFromContainer(e.target)){var o=t.props.selectedIndex,r=!1,n=!1;32!==e.keyCode&&13!==e.keyCode||(r=!0,n=!1,t.handleClick(e)),37===e.keyCode||38===e.keyCode?(o=t.getPrevTab(o),r=!0,n=!0):39===e.keyCode||40===e.keyCode?(o=t.getNextTab(o),r=!0,n=!0):35===e.keyCode?(o=t.getLastTab(),r=!0,n=!0):36===e.keyCode&&(o=t.getFirstTab(),r=!0,n=!0),r&&e.preventDefault(),n&&t.setSelected(o,e)}},t.handleClick=function(e){var o=e.target;do{if(t.isTabFromContainer(o)){if(on(o))return;var r=[].slice.call(o.parentNode.children).filter(tn).indexOf(o);return void t.setSelected(r,e)}}while(null!=(o=o.parentNode))},t}o=e,(t=r).prototype=Object.create(o.prototype),t.prototype.constructor=t,t.__proto__=o;var s=r.prototype;return s.setSelected=function(e,t){if(!(e<0||e>=this.getTabsCount())){var o=this.props;(0,o.onSelect)(e,o.selectedIndex,t)}},s.getNextTab=function(e){for(var t=this.getTabsCount(),o=e+1;o<t;o++)if(!on(this.getTab(o)))return o;for(var r=0;r<e;r++)if(!on(this.getTab(r)))return r;return e},s.getPrevTab=function(e){for(var t=e;t--;)if(!on(this.getTab(t)))return t;for(t=this.getTabsCount();t-- >e;)if(!on(this.getTab(t)))return t;return e},s.getFirstTab=function(){for(var e=this.getTabsCount(),t=0;t<e;t++)if(!on(this.getTab(t)))return t;return null},s.getLastTab=function(){for(var e=this.getTabsCount();e--;)if(!on(this.getTab(e)))return e;return null},s.getTabsCount=function(){return Jr(this.props.children)},s.getPanelsCount=function(){return e=this.props.children,t=0,Vr(e,(function(e){Fr(e)&&t++})),t;var e,t},s.getTab=function(e){return this.tabNodes["tabs-"+e]},s.getChildren=function(){var e=this,t=0,o=this.props,r=o.children,s=o.disabledTabClassName,l=o.focus,i=o.forceRenderTabPanel,c=o.selectedIndex,d=o.selectedTabClassName,u=o.selectedTabPanelClassName;this.tabIds=this.tabIds||[],this.panelIds=this.panelIds||[];for(var p=this.tabIds.length-this.getTabsCount();p++<0;)this.tabIds.push(Xr()),this.panelIds.push(Xr());return Wr(r,(function(o){var r=o;if(Ur(o)){var p=0,h=!1;Kr&&(h=a.a.Children.toArray(o.props.children).filter(Ar).some((function(t,o){return document.activeElement===e.getTab(o)}))),r=Object(n.cloneElement)(o,{children:Wr(o.props.children,(function(t){var o="tabs-"+p,r=c===p,a={tabRef:function(t){e.tabNodes[o]=t},id:e.tabIds[p],panelId:e.panelIds[p],selected:r,focus:r&&(l||h)};return d&&(a.selectedClassName=d),s&&(a.disabledClassName=s),p++,Object(n.cloneElement)(t,a)}))})}else if(Fr(o)){var f={id:e.panelIds[t],tabId:e.tabIds[t],selected:c===t};i&&(f.forceRender=i),u&&(f.selectedClassName=u),t++,r=Object(n.cloneElement)(o,f)}return r}))},s.isTabFromContainer=function(e){if(!tn(e))return!1;var t=e.parentElement;do{if(t===this.node)return!0;if(t.getAttribute("data-tabs"))break;t=t.parentElement}while(t);return!1},s.render=function(){var e=this,t=this.props,o=(t.children,t.className),r=(t.disabledTabClassName,t.domRef),n=(t.focus,t.forceRenderTabPanel,t.onSelect,t.selectedIndex,t.selectedTabClassName,t.selectedTabPanelClassName,function(e,t){if(null==e)return{};var o,r,n={},a=Object.keys(e);for(r=0;r<a.length;r++)o=a[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(t,["children","className","disabledTabClassName","domRef","focus","forceRenderTabPanel","onSelect","selectedIndex","selectedTabClassName","selectedTabPanelClassName"]));return a.a.createElement("div",Qr({},n,{className:Yr()(o),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(t){e.node=t,r&&r(t)},"data-tabs":!0}),this.getChildren())},r}(n.Component);rn.defaultProps={className:"react-tabs",focus:!1},rn.propTypes={};var nn=function(e){var t,o;function r(t){var o;return(o=e.call(this,t)||this).handleSelected=function(e,t,n){var a=o.props.onSelect;if("function"!=typeof a||!1!==a(e,t,n)){var s={focus:"keydown"===n.type};r.inUncontrolledMode(o.props)&&(s.selectedIndex=e),o.setState(s)}},o.state=r.copyPropsToState(o.props,{},t.defaultFocus),o}o=e,(t=r).prototype=Object.create(o.prototype),t.prototype.constructor=t,t.__proto__=o;var n=r.prototype;return n.componentWillReceiveProps=function(e){this.setState((function(t){return r.copyPropsToState(e,t)}))},r.inUncontrolledMode=function(e){return null===e.selectedIndex},r.copyPropsToState=function(e,t,o){void 0===o&&(o=!1);var n={focus:o};if(r.inUncontrolledMode(e)){var a,s=Jr(e.children)-1;a=null!=t.selectedIndex?Math.min(t.selectedIndex,s):e.defaultIndex||0,n.selectedIndex=a}return n},n.render=function(){var e=this.props,t=e.children,o=(e.defaultIndex,e.defaultFocus,function(e,t){if(null==e)return{};var o,r,n={},a=Object.keys(e);for(r=0;r<a.length;r++)o=a[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,["children","defaultIndex","defaultFocus"])),r=this.state,n=r.focus,s=r.selectedIndex;return o.focus=n,o.onSelect=this.handleSelected,null!=s&&(o.selectedIndex=s),a.a.createElement(rn,o,t)},r}(n.Component);function an(){return(an=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}nn.defaultProps={defaultFocus:!1,forceRenderTabPanel:!1,selectedIndex:null,defaultIndex:null},nn.propTypes={},nn.tabsRole="Tabs";var sn=function(e){var t,o;function r(){return e.apply(this,arguments)||this}return o=e,(t=r).prototype=Object.create(o.prototype),t.prototype.constructor=t,t.__proto__=o,r.prototype.render=function(){var e=this.props,t=e.children,o=e.className,r=function(e,t){if(null==e)return{};var o,r,n={},a=Object.keys(e);for(r=0;r<a.length;r++)o=a[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,["children","className"]);return a.a.createElement("ul",an({},r,{className:Yr()(o),role:"tablist"}),t)},r}(n.Component);function ln(){return(ln=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}sn.defaultProps={className:"react-tabs__tab-list"},sn.propTypes={},sn.tabsRole="TabList";var cn=function(e){var t,o;function r(){return e.apply(this,arguments)||this}o=e,(t=r).prototype=Object.create(o.prototype),t.prototype.constructor=t,t.__proto__=o;var n=r.prototype;return n.componentDidMount=function(){this.checkFocus()},n.componentDidUpdate=function(){this.checkFocus()},n.checkFocus=function(){var e=this.props,t=e.selected,o=e.focus;t&&o&&this.node.focus()},n.render=function(){var e,t=this,o=this.props,r=o.children,n=o.className,s=o.disabled,l=o.disabledClassName,i=(o.focus,o.id),c=o.panelId,d=o.selected,u=o.selectedClassName,p=o.tabIndex,h=o.tabRef,f=function(e,t){if(null==e)return{};var o,r,n={},a=Object.keys(e);for(r=0;r<a.length;r++)o=a[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(o,["children","className","disabled","disabledClassName","focus","id","panelId","selected","selectedClassName","tabIndex","tabRef"]);return a.a.createElement("li",ln({},f,{className:Yr()(n,(e={},e[u]=d,e[l]=s,e)),ref:function(e){t.node=e,h&&h(e)},role:"tab",id:i,"aria-selected":d?"true":"false","aria-disabled":s?"true":"false","aria-controls":c,tabIndex:p||(d?"0":null)}),r)},r}(n.Component);function dn(){return(dn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}cn.defaultProps={className:"react-tabs__tab",disabledClassName:"react-tabs__tab--disabled",focus:!1,id:null,panelId:null,selected:!1,selectedClassName:"react-tabs__tab--selected"},cn.propTypes={},cn.tabsRole="Tab";var un=function(e){var t,o;function r(){return e.apply(this,arguments)||this}return o=e,(t=r).prototype=Object.create(o.prototype),t.prototype.constructor=t,t.__proto__=o,r.prototype.render=function(){var e,t=this.props,o=t.children,r=t.className,n=t.forceRender,s=t.id,l=t.selected,i=t.selectedClassName,c=t.tabId,d=function(e,t){if(null==e)return{};var o,r,n={},a=Object.keys(e);for(r=0;r<a.length;r++)o=a[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(t,["children","className","forceRender","id","selected","selectedClassName","tabId"]);return a.a.createElement("div",dn({},d,{className:Yr()(r,(e={},e[i]=l,e)),role:"tabpanel",id:s,"aria-labelledby":c}),n||l?o:null)},r}(n.Component);un.defaultProps={className:"react-tabs__tab-panel",forceRender:!1,selectedClassName:"react-tabs__tab-panel--selected"},un.propTypes={},un.tabsRole="TabPanel";const pn=c.a.div`
	font-size: 1em;

	.react-tabs__tab-list {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		list-style: none;
		padding: 0;
		margin: 0;
		border-bottom: 4px solid ${d.colors.$color_grey_light};
	}

	.react-tabs__tab {
		flex: 0 1 ${e=>e.tabsBaseWidth};
		text-align: center;
		margin: 0 16px;
		padding: 16px 0;
		cursor: pointer;
		font-family: "Open Sans", sans-serif;
		font-size: ${e=>e.tabsFontSize};
		line-height: 1.33333333;
		font-weight: ${e=>e.tabsFontWeight};
		color: ${e=>e.tabsTextColor};
		text-transform: ${e=>e.tabsTextTransform};

		&.react-tabs__tab--selected {
			box-shadow: 0 4px 0 0 ${d.colors.$color_pink_dark};
		}
	}

	.react-tabs__tab-panel {
		display: none;
		padding: 24px 40px;

		@media screen and ( max-width: ${d.breakpoints.mobile} ) {
			padding: 16px 16px;
		}

		:focus {
			outline: none;
		}

		&.react-tabs__tab-panel--selected {
			display: block;
		}
	}
`;pn.propTypes={tabsTextColor:l.a.string,tabsTextTransform:l.a.string,tabsFontSize:l.a.string,tabsFontWeight:l.a.string,tabsBaseWidth:l.a.string};class hn extends a.a.Component{getTabs(){return this.props.items.map(e=>Object(r.createElement)(cn,{key:e.id},e.label))}getTabPanels(){return this.props.items.map(e=>Object(r.createElement)(un,{key:e.id,tabIndex:"0"},e.content))}render(){return Object(r.createElement)(pn,{tabsTextColor:this.props.tabsTextColor,tabsTextTransform:this.props.tabsTextTransform,tabsFontSize:this.props.tabsFontSize,tabsFontWeight:this.props.tabsFontWeight,tabsBaseWidth:this.props.tabsBaseWidth},Object(r.createElement)(nn,{onSelect:this.props.onTabSelect},Object(r.createElement)(sn,null,this.getTabs()),this.getTabPanels()))}componentDidMount(){this.props.onTabsMounted()}}hn.propTypes={items:l.a.arrayOf(l.a.shape({id:l.a.string.isRequired,label:l.a.string.isRequired,content:l.a.object.isRequired})),tabsTextColor:l.a.string,tabsTextTransform:l.a.string,tabsFontSize:l.a.string,tabsFontWeight:l.a.string,tabsBaseWidth:l.a.string,onTabSelect:l.a.func,onTabsMounted:l.a.func},hn.defaultProps={items:[],tabsTextColor:d.colors.$color_grey_dark,tabsTextTransform:"none",tabsFontSize:"1.5em",tabsFontWeight:"200",tabsBaseWidth:"200px",onTabSelect:()=>{},onTabsMounted:()=>{}};var fn=hn,bn=o(80),mn=o.n(bn);const gn=c.a.div`
	display: flex;
	padding: 16px;
	background: ${d.colors.$color_alert_warning_background};
	color: ${d.colors.$color_alert_warning_text};
`,yn=c()(y)`
	margin-top: 2px;
`,vn=c.a.div`
	margin: ${Object(u.getDirectionalStyle)("0 0 0 8px","0 8px 0 0")};
`;class xn extends a.a.Component{render(){const{message:e}=this.props;return mn()(e)?null:Object(r.createElement)(gn,null,Object(r.createElement)(yn,{icon:"exclamation-triangle",size:"16px"}),Object(r.createElement)(vn,null,e))}}xn.propTypes={message:l.a.array},xn.defaultProps={message:[]};var On=xn;const Cn=c.a.div`
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
	overflow: hidden;

	iframe {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}
`;function wn(e){return Object(r.createElement)(Cn,null,Object(r.createElement)(io,e))}wn.propTypes={width:l.a.number,height:l.a.number,src:l.a.string.isRequired,title:l.a.string.isRequired,frameBorder:l.a.number,allowFullScreen:l.a.bool},wn.defaultProps={width:560,height:315,frameBorder:0,allowFullScreen:!0};const jn=e=>{console.warn("The WordList component has been deprecated and will be removed in a future release.");const{title:t,classNamePrefix:o,words:n,header:a,footer:s}=e,l=Object(r.createElement)("ol",{className:o+"__list"},n.map(e=>Object(r.createElement)("li",{key:e,className:o+"__item"},e)));return Object(r.createElement)("div",{className:o},Object(r.createElement)("p",null,Object(r.createElement)("strong",null,t)),a,l,s)};jn.propTypes={words:l.a.array.isRequired,title:l.a.string.isRequired,header:l.a.string,footer:l.a.string,classNamePrefix:l.a.string},jn.defaultProps={classNamePrefix:"",header:"",footer:""};var En=jn;const kn=c.a.ul`
	margin: 0;
 	padding: 0;
 	list-style: none;
 	position: relative;
 	width: 100%;

 	li:first-child {
		& > span::before {
			left: auto;
		}
	}
`;kn.propTypes={children:l.a.any};class Sn extends a.a.Component{constructor(e){super(e)}getChildren(){return 1===this.props.children?[this.props.children]:this.props.children}render(){const e=this.getChildren();return Object(r.createElement)(kn,{role:"list"},e)}}class Tn extends Sn{constructor(e){super(e),this.zebraProps=Object.assign({},e)}zebrafyChildren(){let e=this.props.children;this.props.children.map||(e=[e]),this.zebraProps.children=e.map((e,t)=>a.a.cloneElement(e,{background:t%2==1?d.colors.$color_white:d.colors.$color_background_light,key:t}))}render(){return this.zebrafyChildren(),Object(r.createElement)(kn,B()({role:"list"},this.zebraProps))}}Sn.propTypes={children:l.a.oneOfType([l.a.arrayOf(l.a.node),l.a.node])},Sn.defaultProps={children:[]};const qn=c.a.li`
	background: ${e=>e.background};
	display: flex;
	min-height: ${e=>e.rowHeight};
	align-items: center;
	justify-content: space-between;
`;qn.propTypes={background:l.a.string,hasHeaderLabels:l.a.bool,rowHeight:l.a.string},qn.defaultProps={background:d.colors.$color_white,hasHeaderLabels:!0},c()(qn)`
	@media screen and ( max-width: 800px ) {
		flex-wrap: wrap;
		align-items: flex-start;

		&:first-child {
			margin-top: ${e=>e.hasHeaderLabels?"24px":"0"};
		}

		// Use the column headers (if any) as labels.
		& > span::before {
			position: static;
			display: inline-block;
			padding-right: 0.5em;
			font-size: inherit;
		}
		& > span {
			padding-left: 0;
		}
	}
`;class $n extends a.a.Component{constructor(){super(),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.state={focused:!1}}focus(){this.setState({focused:!0})}blur(){this.setState({focused:!1})}getStyles(){return!0===this.state.focused?Ye.ScreenReaderText.focused:Ye.ScreenReaderText.default}render(){return Object(r.createElement)("a",{href:"#"+this.props.anchor,className:"screen-reader-shortcut",style:this.getStyles(),onFocus:this.focus,onBlur:this.blur},this.props.children)}}$n.propTypes={anchor:l.a.string.isRequired,children:l.a.string.isRequired};var Nn=$n},5:function(e,t){e.exports=window.yoast.styledComponents},6:function(e,t){e.exports=window.yoast.styleGuide},64:function(e,t,o){"use strict";var r=o(3),n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=o(41),s=o(65),l=o(66),i="function"==typeof Symbol&&Symbol.iterator;function c(e,t){return e&&"object"==typeof e&&null!=e.key?(o=e.key,r={"=":"=0",":":"=2"},"$"+(""+o).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var o,r}var d=/\/+/g;function u(e){return(""+e).replace(d,"$&/")}var p,h,f=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function m(e,t,o,r){this.result=e,this.keyPrefix=t,this.func=o,this.context=r,this.count=0}function g(e,t,o){var n,s,l=e.result,i=e.keyPrefix,c=e.func,d=e.context,p=c.call(d,t,e.count++);Array.isArray(p)?y(p,l,o,a.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(n=p,s=i+(!p.key||t&&t.key===p.key?"":u(p.key)+"/")+o,p=r.cloneElement(n,{key:s},void 0!==n.props?n.props.children:void 0)),l.push(p))}function y(e,t,o,r,a){var l="";null!=o&&(l=u(o)+"/");var d=m.getPooled(t,l,r,a);!function(e,t,o){null==e||function e(t,o,r,a){var l,d=typeof t;if("undefined"!==d&&"boolean"!==d||(t=null),null===t||"string"===d||"number"===d||"object"===d&&t.$$typeof===n)return r(a,t,""===o?"."+c(t,0):o),1;var u=0,p=""===o?".":o+":";if(Array.isArray(t))for(var h=0;h<t.length;h++)u+=e(l=t[h],p+c(l,h),r,a);else{var f=function(e){var t=e&&(i&&e[i]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(f)for(var b,m=f.call(t),g=0;!(b=m.next()).done;)u+=e(l=b.value,p+c(l,g++),r,a);else if("object"===d){var y=""+t;s(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===y?"object with keys {"+Object.keys(t).join(", ")+"}":y,"")}}return u}(e,"",t,o)}(e,g,d),m.release(d)}m.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,o,r){if(this.instancePool.length){var n=this.instancePool.pop();return this.call(n,e,t,o,r),n}return new this(e,t,o,r)},(h=m).instancePool=[],h.getPooled=p||f,h.poolSize||(h.poolSize=10),h.release=function(e){s(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)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return l(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return l(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;s(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var o in e)y(e[o],t,o,a.thatReturnsArgument);return t}},65:function(e,t,o){"use strict";e.exports=function(e,t,o,r,n,a,s,l){if(!e){var i;if(void 0===t)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[o,r,n,a,s,l],d=0;(i=new Error(t.replace(/%s/g,(function(){return c[d++]})))).name="Invariant Violation"}throw i.framesToPop=1,i}}},66:function(e,t,o){"use strict";var r=o(41);e.exports=r},67:function(e,t,o){"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)}},80:function(e,t){e.exports=window.lodash.isEmpty},85:function(e,t,o){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function n(e){this.setState(function(t){var o=this.constructor.getDerivedStateFromProps(e,t);return null!=o?o:null}.bind(this))}function a(e,t){try{var o=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(o,r)}finally{this.props=o,this.state=r}}function s(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 o=null,s=null,l=null;if("function"==typeof t.componentWillMount?o="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(o="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?s="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(s="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?l="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(l="UNSAFE_componentWillUpdate"),null!==o||null!==s||null!==l){var i=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"+i+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==o?"\n  "+o:"")+(null!==s?"\n  "+s:"")+(null!==l?"\n  "+l:"")+"\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=n),"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=a;var d=t.componentDidUpdate;t.componentDidUpdate=function(e,t,o){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:o;d.call(this,e,t,r)}}return e}o.r(t),o.d(t,"polyfill",(function(){return s})),r.__suppressDeprecationWarning=!0,n.__suppressDeprecationWarning=!0,a.__suppressDeprecationWarning=!0},9:function(e,t){e.exports=window.yoast.helpers}});uiLibrary.js000066600000406373151123775150007074 0ustar00window.yoast=window.yoast||{},window.yoast.uiLibrary=function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=491)}({0:function(e,t){e.exports=window.yoast.propTypes},1:function(e,t){e.exports=window.wp.element},10:function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)){if(r.length){var i=a.apply(null,r);i&&e.push(i)}}else if("object"===o)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},105:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=function(e,t){return e===t};function a(e,t){var n,a,o="object"==typeof t?t:{equalityCheck:t},i=o.equalityCheck,s=void 0===i?r:i,l=o.maxSize,c=void 0===l?1:l,u=o.resultEqualityCheck,d=function(e){return function(t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,a=0;a<r;a++)if(!e(t[a],n[a]))return!1;return!0}}(s),f=1===c?(n=d,{get:function(e){return a&&n(a.key,e)?a.value:"NOT_FOUND"},put:function(e,t){a={key:e,value:t}},getEntries:function(){return a?[a]:[]},clear:function(){a=void 0}}):function(e,t){var n=[];function r(e){var r=n.findIndex((function(n){return t(e,n.key)}));if(r>-1){var a=n[r];return r>0&&(n.splice(r,1),n.unshift(a)),a.value}return"NOT_FOUND"}return{get:r,put:function(t,a){"NOT_FOUND"===r(t)&&(n.unshift({key:t,value:a}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(c,d);function p(){var t=f.get(arguments);if("NOT_FOUND"===t){if(t=e.apply(null,arguments),u){var n=f.getEntries(),r=n.find((function(e){return u(e.value,t)}));r&&(t=r.value)}f.put(arguments,t)}return t}return p.clearCache=function(){return f.clear()},p}function o(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var n=t.map((function(e){return"function"==typeof e?"function "+(e.name||"unnamed")+"()":typeof e})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+n+"]")}return t}function i(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=function(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];var i,s=0,l={memoizeOptions:void 0},c=r.pop();if("object"==typeof c&&(l=c,c=r.pop()),"function"!=typeof c)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof c+"]");var u=l,d=u.memoizeOptions,f=void 0===d?n:d,p=Array.isArray(f)?f:[f],b=o(r),m=e.apply(void 0,[function(){return s++,c.apply(null,arguments)}].concat(p)),y=e((function(){for(var e=[],t=b.length,n=0;n<t;n++)e.push(b[n].apply(null,arguments));return i=m.apply(null,e)}));return Object.assign(y,{resultFunc:c,memoizedResultFunc:m,dependencies:b,lastResult:function(){return i},recomputations:function(){return s},resetRecomputations:function(){return s=0}}),y};return a}var s=i(a)},133:function(e,t,n){"use strict";function r(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(a){return"function"==typeof a?a(n,r,e):t(a)}}}}var a=r();a.withExtraArgument=r,t.a=a},17:function(e,t,n){"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function a(e){return!!e&&!!e[W]}function o(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===$}(e)||Array.isArray(e)||!!e[V]||!!e.constructor[V]||d(e)||f(e))}function i(e,t,n){void 0===n&&(n=!1),0===s(e)?(n?Object.keys:K)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function s(e){var t=e[W];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:d(e)?2:f(e)?3:0}function l(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function c(e,t,n){var r=s(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n}function u(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e){return B&&e instanceof Map}function f(e){return z&&e instanceof Set}function p(e){return e.o||e.t}function b(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=G(e);delete t[W];for(var n=K(t),r=0;r<n.length;r++){var a=n[r],o=t[a];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[a]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function m(e,t){return void 0===t&&(t=!1),v(e)||a(e)||!o(e)||(s(e)>1&&(e.set=e.add=e.clear=e.delete=y),Object.freeze(e),t&&i(e,(function(e,t){return m(t,!0)}),!0)),e}function y(){r(2)}function v(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function g(e){var t=Q[e];return t||r(18,e),t}function h(){return M}function O(e,t){t&&(g("Patches"),e.u=[],e.s=[],e.v=t)}function j(e){E(e),e.p.forEach(w),e.p=null}function E(e){e===M&&(M=e.l)}function x(e){return M={p:[],l:M,h:e,m:!0,_:0}}function w(e){var t=e[W];0===t.i||1===t.i?t.j():t.O=!0}function R(e,t){t._=t.p.length;var n=t.p[0],a=void 0!==e&&e!==n;return t.h.g||g("ES5").S(t,e,a),a?(n[W].P&&(j(t),r(4)),o(e)&&(e=N(t,e),t.l||P(t,e)),t.u&&g("Patches").M(n[W].t,e,t.u,t.s)):e=N(t,n,[]),j(t),t.u&&t.v(t.u,t.s),e!==U?e:void 0}function N(e,t,n){if(v(t))return t;var r=t[W];if(!r)return i(t,(function(a,o){return T(e,r,t,a,o,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return P(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var a=4===r.i||5===r.i?r.o=b(r.k):r.o;i(3===r.i?new Set(a):a,(function(t,o){return T(e,r,a,t,o,n)})),P(e,a,!1),n&&e.u&&g("Patches").R(r,n,e.u,e.s)}return r.o}function T(e,t,n,r,i,s){if(a(i)){var u=N(e,i,s&&t&&3!==t.i&&!l(t.D,r)?s.concat(r):void 0);if(c(n,r,u),!a(u))return;e.m=!1}if(o(i)&&!v(i)){if(!e.h.F&&e._<1)return;N(e,i),t&&t.A.l||P(e,i)}}function P(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&m(t,n)}function S(e,t){var n=e[W];return(n?p(n):e)[t]}function C(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function _(e){e.P||(e.P=!0,e.l&&_(e.l))}function k(e){e.o||(e.o=b(e.t))}function L(e,t,n){var r=d(t)?g("MapSet").N(t,n):f(t)?g("MapSet").T(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:h(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},a=r,o=X;n&&(a=[r],o=Y);var i=Proxy.revocable(a,o),s=i.revoke,l=i.proxy;return r.k=l,r.j=s,l}(t,n):g("ES5").J(t,n);return(n?n.A:h()).p.push(r),r}function D(e){return a(e)||r(22,e),function e(t){if(!o(t))return t;var n,r=t[W],a=s(t);if(r){if(!r.P&&(r.i<4||!g("ES5").K(r)))return r.t;r.I=!0,n=F(t,a),r.I=!1}else n=F(t,a);return i(n,(function(t,a){r&&function(e,t){return 2===s(e)?e.get(t):e[t]}(r.t,t)===a||c(n,t,e(a))})),3===a?new Set(n):n}(e)}function F(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return b(e)}function I(){function e(e,t){var n=o[e];return n?n.enumerable=t:o[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[W];return X.get(t,e)},set:function(t){var n=this[W];X.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var a=e[t][W];if(!a.P)switch(a.i){case 5:r(a)&&_(a);break;case 4:n(a)&&_(a)}}}function n(e){for(var t=e.t,n=e.k,r=K(n),a=r.length-1;a>=0;a--){var o=r[a];if(o!==W){var i=t[o];if(void 0===i&&!l(t,o))return!0;var s=n[o],c=s&&s[W];if(c?c.t!==i:!u(s,i))return!0}}var d=!!t[W];return r.length!==K(t).length+(d?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var o={};!function(e,t){Q[e]||(Q[e]=t)}("ES5",{J:function(t,n){var r=Array.isArray(t),a=function(t,n){if(t){for(var r=Array(n.length),a=0;a<n.length;a++)Object.defineProperty(r,""+a,e(a,!0));return r}var o=G(n);delete o[W];for(var i=K(o),s=0;s<i.length;s++){var l=i[s];o[l]=e(l,t||!!o[l].enumerable)}return Object.create(Object.getPrototypeOf(n),o)}(r,t),o={i:r?5:4,A:n?n.A:h(),P:!1,I:!1,D:{},l:n,t:t,k:a,o:null,O:!1,C:!1};return Object.defineProperty(a,W,{value:o,writable:!0}),a},S:function(e,n,o){o?a(n)&&n[W].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[W];if(n){var a=n.t,o=n.k,s=n.D,c=n.i;if(4===c)i(o,(function(t){t!==W&&(void 0!==a[t]||l(a,t)?s[t]||e(o[t]):(s[t]=!0,_(n)))})),i(a,(function(e){void 0!==o[e]||l(o,e)||(s[e]=!1,_(n))}));else if(5===c){if(r(n)&&(_(n),s.length=!0),o.length<a.length)for(var u=o.length;u<a.length;u++)s[u]=!1;else for(var d=a.length;d<o.length;d++)s[d]=!0;for(var f=Math.min(o.length,a.length),p=0;p<f;p++)o.hasOwnProperty(p)||(s[p]=!0),void 0===s[p]&&e(o[p])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):r(e)}})}n.d(t,"a",(function(){return D})),n.d(t,"c",(function(){return I})),n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return o}));var A,M,q="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),B="undefined"!=typeof Map,z="undefined"!=typeof Set,H="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,U=q?Symbol.for("immer-nothing"):((A={})["immer-nothing"]=!0,A),V=q?Symbol.for("immer-draftable"):"__$immer_draftable",W=q?Symbol.for("immer-state"):"__$immer_state",$=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),K="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,G=Object.getOwnPropertyDescriptors||function(e){var t={};return K(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},Q={},X={get:function(e,t){if(t===W)return e;var n=p(e);if(!l(n,t))return function(e,t,n){var r,a=C(t,n);return a?"value"in a?a.value:null===(r=a.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!o(r)?r:r===S(e.t,t)?(k(e),e.o[t]=L(e.A.h,r,e)):r},has:function(e,t){return t in p(e)},ownKeys:function(e){return Reflect.ownKeys(p(e))},set:function(e,t,n){var r=C(p(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var a=S(p(e),t),o=null==a?void 0:a[W];if(o&&o.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(u(n,a)&&(void 0!==n||l(e.t,t)))return!0;k(e),_(e)}return e.o[t]===n&&"number"!=typeof n&&(void 0!==n||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==S(e.t,t)||t in e.t?(e.D[t]=!1,k(e),_(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=p(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){r(12)}},Y={};i(X,(function(e,t){Y[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Y.deleteProperty=function(e,t){return Y.set.call(this,e,t,void 0)},Y.set=function(e,t,n){return X.set.call(this,e[0],t,n,e[0])};var Z=new(function(){function e(e){var t=this;this.g=H,this.F=!0,this.produce=function(e,n,a){if("function"==typeof e&&"function"!=typeof n){var i=n;n=e;var s=t;return function(e){var t=this;void 0===e&&(e=i);for(var r=arguments.length,a=Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];return s.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(a))}))}}var l;if("function"!=typeof n&&r(6),void 0!==a&&"function"!=typeof a&&r(7),o(e)){var c=x(t),u=L(t,e,void 0),d=!0;try{l=n(u),d=!1}finally{d?j(c):E(c)}return"undefined"!=typeof Promise&&l instanceof Promise?l.then((function(e){return O(c,a),R(e,c)}),(function(e){throw j(c),e})):(O(c,a),R(l,c))}if(!e||"object"!=typeof e){if(void 0===(l=n(e))&&(l=e),l===U&&(l=void 0),t.F&&m(l,!0),a){var f=[],p=[];g("Patches").M(e,l,f,p),a(f,p)}return l}r(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,a=Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(a))}))};var r,a,o=t.produce(e,n,(function(e,t){r=e,a=t}));return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(e){return[e,r,a]})):[o,r,a]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){o(e)||r(8),a(e)&&(e=D(e));var t=x(this),n=L(this,e,void 0);return n[W].C=!0,E(t),n},t.finishDraft=function(e,t){var n=(e&&e[W]).A;return O(n,t),R(void 0,n)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!H&&r(20),this.g=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=g("Patches").$;return a(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}()),J=Z.produce;Z.produceWithPatches.bind(Z),Z.setAutoFreeze.bind(Z),Z.setUseProxies.bind(Z),Z.applyPatches.bind(Z),Z.createDraft.bind(Z),Z.finishDraft.bind(Z),t.b=J},2:function(e,t){e.exports=window.lodash},22:function(e,t){e.exports=window.yoast.redux},226:function(e,t,n){!function(e,t){"use strict";function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var r=n(t);function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var o={error:null},i=function(e){var t,n;function i(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state=o,t.resetErrorBoundary=function(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];null==t.props.onReset||(e=t.props).onReset.apply(e,r),t.reset()},t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,a(t,n),i.getDerivedStateFromError=function(e){return{error:e}};var s=i.prototype;return s.reset=function(){this.setState(o)},s.componentDidCatch=function(e,t){var n,r;null==(n=(r=this.props).onError)||n.call(r,e,t)},s.componentDidUpdate=function(e,t){var n,r,a,o,i=this.state.error,s=this.props.resetKeys;null!==i&&null!==t.error&&(void 0===(a=e.resetKeys)&&(a=[]),void 0===(o=s)&&(o=[]),a.length!==o.length||a.some((function(e,t){return!Object.is(e,o[t])})))&&(null==(n=(r=this.props).onResetKeysChange)||n.call(r,e.resetKeys,s),this.reset())},s.render=function(){var e=this.state.error,t=this.props,n=t.fallbackRender,a=t.FallbackComponent,o=t.fallback;if(null!==e){var i={error:e,resetErrorBoundary:this.resetErrorBoundary};if(r.isValidElement(o))return o;if("function"==typeof n)return n(i);if(a)return r.createElement(a,i);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},i}(r.Component);e.ErrorBoundary=i,e.useErrorHandler=function(e){var t=r.useState(null),n=t[0],a=t[1];if(null!=e)throw e;if(null!=n)throw n;return a},e.withErrorBoundary=function(e,t){var n=function(n){return r.createElement(i,t,r.createElement(e,n))},a=e.displayName||e.name||"Unknown";return n.displayName="withErrorBoundary("+a+")",n},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(3))},227:function(e,t,n){"use strict";(function(e){n.d(t,"nanoid",(function(){return b}));var r,a=n(17),o=(n(22),n(105),n(133),r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),i=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e},s=Object.defineProperty,l=(Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols),c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,d=function(e,t,n){return t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},f=function(e,t){for(var n in t||(t={}))c.call(t,n)&&d(e,n,t[n]);if(l)for(var r=0,a=l(t);r<a.length;r++)n=a[r],u.call(t,n)&&d(e,n,t[n]);return e};function p(e,t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return f(f({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n}"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__,"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__,function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var a=e.apply(this,n)||this;return Object.setPrototypeOf(a,t.prototype),a}o(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,i([void 0],e[0].concat(this)))):new(t.bind.apply(t,i([void 0],e.concat(this))))}}(Array);var b=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t};Object.assign;var m="listenerMiddleware";p(m+"/add"),p(m+"/removeAll"),p(m+"/remove"),Object(a.c)()}).call(this,n(49))},3:function(e,t){e.exports=window.React},38:function(e,t){e.exports=window.ReactDOM},49:function(e,t){var n,r,a=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!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:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var l,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!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 b(e,t){this.fun=e,this.array=t}function m(){}a.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 b(e,t)),1!==c.length||u||s(p)},b.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=m,a.addListener=m,a.once=m,a.off=m,a.removeListener=m,a.removeAllListeners=m,a.emit=m,a.prependListener=m,a.prependOnceListener=m,a.listeners=function(e){return[]},a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},491:function(e,t,n){"use strict";n.r(t),n.d(t,"Alert",(function(){return j})),n.d(t,"Autocomplete",(function(){return ht})),n.d(t,"Badge",(function(){return Et})),n.d(t,"Button",(function(){return Pt})),n.d(t,"Checkbox",(function(){return kt})),n.d(t,"Code",(function(){return Ft})),n.d(t,"ErrorBoundary",(function(){return It})),n.d(t,"Label",(function(){return Ct})),n.d(t,"Link",(function(){return qt})),n.d(t,"ProgressBar",(function(){return zt})),n.d(t,"Radio",(function(){return Ut})),n.d(t,"Select",(function(){return dn})),n.d(t,"Spinner",(function(){return Rt})),n.d(t,"Table",(function(){return hn})),n.d(t,"TagInput",(function(){return xn})),n.d(t,"TextInput",(function(){return Rn})),n.d(t,"Textarea",(function(){return Tn})),n.d(t,"Title",(function(){return Cn})),n.d(t,"Toggle",(function(){return Vn})),n.d(t,"AutocompleteField",(function(){return Kn})),n.d(t,"Card",(function(){return Zn})),n.d(t,"CheckboxGroup",(function(){return er})),n.d(t,"ChildrenLimiter",(function(){return cr})),n.d(t,"FeatureUpsell",(function(){return pr})),n.d(t,"FileImport",(function(){return wr})),n.d(t,"Modal",(function(){return ia})),n.d(t,"Notifications",(function(){return ya})),n.d(t,"RadioGroup",(function(){return ha})),n.d(t,"Root",(function(){return xa})),n.d(t,"SelectField",(function(){return Ra})),n.d(t,"SidebarNavigation",(function(){return Aa})),n.d(t,"TagField",(function(){return qa})),n.d(t,"TextField",(function(){return za})),n.d(t,"TextareaField",(function(){return Ua})),n.d(t,"ToggleField",(function(){return Wa})),n.d(t,"useBeforeUnload",(function(){return $a})),n.d(t,"useDescribedBy",(function(){return Wn})),n.d(t,"usePrevious",(function(){return Sa})),n.d(t,"useRootContext",(function(){return Ka})),n.d(t,"useSvgAria",(function(){return y})),n.d(t,"useToggleState",(function(){return sr})),n.d(t,"useMediaQuery",(function(){return Ga})),n.d(t,"FILE_IMPORT_STATUS",(function(){return hr}));var r=n(8),a=n.n(r),o=n(1),i=n(3),s=n.n(i),l=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))})),c=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z",clipRule:"evenodd"}))})),u=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z",clipRule:"evenodd"}))})),d=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z",clipRule:"evenodd"}))})),f=n(10),p=n.n(f),b=n(0),m=n.n(b),y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return Object(o.useMemo)(()=>{const t={role:"img","aria-hidden":"true"};return null!==e&&(t.focusable=e?"true":"false"),t},[e])};const v={variant:{info:"yst-alert--info",warning:"yst-alert--warning",success:"yst-alert--success",error:"yst-alert--error"}},g={success:l,warning:c,info:u,error:d},h={alert:"alert",status:"status"},O=e=>{let{children:t,role:n,as:r,variant:i,className:s,...l}=e;const c=g[i],u=y();return Object(o.createElement)(r,a()({className:p()("yst-alert",v.variant[i],s),role:h[n]},l),Object(o.createElement)(c,a()({className:"yst-alert__icon"},u)),Object(o.createElement)("div",null,t))};O.propTypes={children:m.a.node.isRequired,as:m.a.elementType,variant:m.a.oneOf(Object.keys(v.variant)),className:m.a.string,role:m.a.oneOf(Object.keys(h))},O.defaultProps={as:"span",variant:"info",className:"",role:"status"};var j=O;const E="undefined"==typeof window||"undefined"==typeof document;let x=E?i.useEffect:i.useLayoutEffect;function w(e){let t=Object(i.useRef)(e);return x(()=>{t.current=e},[e]),t}function R(e,t){let[n,r]=Object(i.useState)(e),a=w(e);return x(()=>r(a.current),[a,r,...t]),n}function N(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}function T(){let e=[],t=[],n={enqueue(e){t.push(e)},addEventListener:(e,t,r,a)=>(e.addEventListener(t,r,a),n.add(()=>e.removeEventListener(t,r,a))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return n.add(()=>cancelAnimationFrame(t))},nextFrame:(...e)=>n.requestAnimationFrame(()=>n.requestAnimationFrame(...e)),setTimeout(...e){let t=setTimeout(...e);return n.add(()=>clearTimeout(t))},microTask(...e){let t={current:!0};return N(()=>{t.current&&e[0]()}),n.add(()=>{t.current=!1})},add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0){let[t]=e.splice(n,1);t()}}),dispose(){for(let t of e.splice(0))t()},async workQueue(){for(let e of t.splice(0))await e()}};return n}function P(){let[e]=Object(i.useState)(T);return Object(i.useEffect)(()=>()=>e.dispose(),[e]),e}let S=function(e){let t=w(e);return s.a.useCallback((...e)=>t.current(...e),[t])},C={serverHandoffComplete:!1};function _(){let[e,t]=Object(i.useState)(C.serverHandoffComplete);return Object(i.useEffect)(()=>{!0!==e&&t(!0)},[e]),Object(i.useEffect)(()=>{!1===C.serverHandoffComplete&&(C.serverHandoffComplete=!0)},[]),e}var k;let L=0;function D(){return++L}let F=null!=(k=s.a.useId)?k:function(){let e=_(),[t,n]=s.a.useState(e?D:null);return x(()=>{null===t&&n(D())},[t]),null!=t?""+t:void 0};function I(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,I),r}function A(e){return E?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let M=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>e+":not([tabindex='-1'])").join(",");var q,B,z,H=((z=H||{})[z.First=1]="First",z[z.Previous=2]="Previous",z[z.Next=4]="Next",z[z.Last=8]="Last",z[z.WrapAround=16]="WrapAround",z[z.NoScroll=32]="NoScroll",z),U=((B=U||{})[B.Error=0]="Error",B[B.Overflow=1]="Overflow",B[B.Success=2]="Success",B[B.Underflow=3]="Underflow",B),V=((q=V||{})[q.Previous=-1]="Previous",q[q.Next=1]="Next",q);var W=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(W||{});function $(e,t=0){var n;return e!==(null==(n=A(e))?void 0:n.body)&&I(t,{0:()=>e.matches(M),1(){let t=e;for(;null!==t;){if(t.matches(M))return!0;t=t.parentElement}return!1}})}function K(e){null==e||e.focus({preventScroll:!0})}let G=["textarea","input"].join(",");function Q(e,t=(e=>e)){return e.slice().sort((e,n)=>{let r=t(e),a=t(n);if(null===r||null===a)return 0;let o=r.compareDocumentPosition(a);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function X(e,t,n=!0,r=null){let a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?n?Q(e):e:function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(M))}(e);r=null!=r?r:a.activeElement;let i,s=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,o.indexOf(r))-1;if(4&t)return Math.max(0,o.indexOf(r))+1;if(8&t)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=32&t?{preventScroll:!0}:{},u=0,d=o.length;do{if(u>=d||u+d<=0)return 0;let e=l+u;if(16&t)e=(e+d)%d;else{if(e<0)return 3;if(e>=d)return 1}i=o[e],null==i||i.focus(c),u+=s}while(i!==a.activeElement);return 6&t&&function(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,G))&&n}(i)&&i.select(),i.hasAttribute("tabindex")||i.setAttribute("tabindex","0"),2}function Y(e,t,n){let r=w(t);Object(i.useEffect)(()=>{function t(e){r.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)},[e,n])}function Z(e,t,n=!0){let r=Object(i.useRef)(!1);function a(n,a){if(!r.current||n.defaultPrevented)return;let o=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),i=a(n);if(null!==i&&i.ownerDocument.documentElement.contains(i)){for(let e of o){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(i))return}return!$(i,W.Loose)&&-1!==i.tabIndex&&n.preventDefault(),t(n,i)}}Object(i.useEffect)(()=>{requestAnimationFrame(()=>{r.current=n})},[n]);let o=Object(i.useRef)(null);Y("mousedown",e=>{r.current&&(o.current=e.target)},!0),Y("click",e=>{!o.current||(a(e,()=>o.current),o.current=null)},!0),Y("blur",e=>a(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function J(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}function ee(e,t){let[n,r]=Object(i.useState)(()=>J(e));return x(()=>{r(J(e))},[e.type,e.as]),x(()=>{n||!t.current||t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}let te=Symbol();function ne(...e){let t=Object(i.useRef)(e);Object(i.useEffect)(()=>{t.current=e},[e]);let n=S(e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)});return e.every(e=>null==e||(null==e?void 0:e[te]))?void 0:n}var re,ae=((re=ae||{})[re.First=0]="First",re[re.Previous=1]="Previous",re[re.Next=2]="Next",re[re.Last=3]="Last",re[re.Specific=4]="Specific",re[re.Nothing=5]="Nothing",re);function oe(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),a=null!=r?r:-1,o=(()=>{switch(e.focus){case 0:return n.findIndex(e=>!t.resolveDisabled(e));case 1:{let e=n.slice().reverse().findIndex((e,n,r)=>!(-1!==a&&r.length-n-1>=a||t.resolveDisabled(e)));return-1===e?e:n.length-1-e}case 2:return n.findIndex((e,n)=>!(n<=a||t.resolveDisabled(e)));case 3:{let e=n.slice().reverse().findIndex(e=>!t.resolveDisabled(e));return-1===e?e:n.length-1-e}case 4:return n.findIndex(n=>t.resolveId(n)===e.id);case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}})();return-1===o?r:o}var ie,se=((ie=se||{})[ie.None=0]="None",ie[ie.RenderStrategy=1]="RenderStrategy",ie[ie.Static=2]="Static",ie),le=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(le||{});function ce({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:a,visible:o=!0,name:i}){let s=de(t,e);if(o)return ue(s,n,r,i);let l=null!=a?a:0;if(2&l){let{static:e=!1,...t}=s;if(e)return ue(t,n,r,i)}if(1&l){let{unmount:e=!0,...t}=s;return I(e?0:1,{0:()=>null,1:()=>ue({...t,hidden:!0,style:{display:"none"}},n,r,i)})}return ue(s,n,r,i)}function ue(e,t={},n,r){let{as:a=n,children:o,refName:s="ref",...l}=be(e,["unmount","static"]),c=void 0!==e.ref?{[s]:e.ref}:{},u="function"==typeof o?o(t):o;l.className&&"function"==typeof l.className&&(l.className=l.className(t));let d={};if(t){let e=!1,n=[];for(let[r,a]of Object.entries(t))"boolean"==typeof a&&(e=!0),!0===a&&n.push(r);e&&(d["data-headlessui-state"]=n.join(" "))}if(a===i.Fragment&&Object.keys(pe(l)).length>0){if(!Object(i.isValidElement)(u)||Array.isArray(u)&&u.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(l).map(e=>"  - "+e).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>"  - "+e).join("\n")].join("\n"));return Object(i.cloneElement)(u,Object.assign({},de(u.props,pe(be(l,["ref"]))),d,c,function(...e){return{ref:e.every(e=>null==e)?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}}(u.ref,c.ref)))}return Object(i.createElement)(a,Object.assign({},be(l,["ref"]),a!==i.Fragment&&c,a!==i.Fragment&&d),u)}function de(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(e=>[e,void 0])));for(let e in n)Object.assign(t,{[e](t,...r){let a=n[e];for(let e of a){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...r)}}});return t}function fe(e){var t;return Object.assign(Object(i.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function pe(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function be(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}function me(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}function ye(e={},t=null,n=[]){for(let[r,a]of Object.entries(e))ge(n,ve(t,r),a);return n}function ve(e,t){return e?e+"["+t+"]":t}function ge(e,t,n){if(Array.isArray(n))for(let[r,a]of n.entries())ge(e,ve(t,r.toString()),a);else n instanceof Date?e.push([t,n.toISOString()]):"boolean"==typeof n?e.push([t,n?"1":"0"]):"string"==typeof n?e.push([t,n]):"number"==typeof n?e.push([t,""+n]):null==n?e.push([t,""]):ye(n,t,e)}var he=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(he||{});let Oe=fe((function(e,t){let{features:n=1,...r}=e;return ce({ourProps:{ref:t,"aria-hidden":2==(2&n)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...4==(4&n)&&2!=(2&n)&&{display:"none"}}},theirProps:r,slot:{},defaultTag:"div",name:"Hidden"})})),je=Object(i.createContext)(null);je.displayName="OpenClosedContext";var Ee=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ee||{});function xe(){return Object(i.useContext)(je)}function we({value:e,children:t}){return s.a.createElement(je.Provider,{value:e},t)}var Re=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Re||{});function Ne(e,t,n){let[r,a]=Object(i.useState)(n),o=void 0!==e;return[o?e:r,S(e=>(o||a(e),null==t?void 0:t(e)))]}function Te(e,t){let n=Object(i.useRef)([]),r=S(e);Object(i.useEffect)(()=>{let e=[...n.current];for(let[a,o]of t.entries())if(n.current[a]!==o){let a=r(t,e);return n.current=t,a}},[r,...t])}var Pe=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Pe||{}),Se=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Se||{}),Ce=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Ce||{}),_e=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.RegisterOption=3]="RegisterOption",e[e.UnregisterOption=4]="UnregisterOption",e[e.RegisterLabel=5]="RegisterLabel",e))(_e||{});function ke(e,t=(e=>e)){let n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,r=Q(t(e.options.slice()),e=>e.dataRef.current.domRef.current),a=n?r.indexOf(n):null;return-1===a&&(a=null),{options:r,activeOptionIndex:a}}let Le={1:e=>e.dataRef.current.disabled||1===e.comboboxState?e:{...e,activeOptionIndex:null,comboboxState:1},0(e){if(e.dataRef.current.disabled||0===e.comboboxState)return e;let t=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,r=e.options.findIndex(e=>n(e.dataRef.current.value));return-1!==r&&(t=r),{...e,comboboxState:0,activeOptionIndex:t}},2(e,t){var n;if(e.dataRef.current.disabled||e.dataRef.current.optionsRef.current&&!e.dataRef.current.optionsPropsRef.current.static&&1===e.comboboxState)return e;let r=ke(e);if(null===r.activeOptionIndex){let e=r.options.findIndex(e=>!e.dataRef.current.disabled);-1!==e&&(r.activeOptionIndex=e)}let a=oe(t,{resolveItems:()=>r.options,resolveActiveIndex:()=>r.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...r,activeOptionIndex:a,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>{let n={id:t.id,dataRef:t.dataRef},r=ke(e,e=>[...e,n]);null===e.activeOptionIndex&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(n));let a={...e,...r,activationTrigger:1};return e.dataRef.current.__demoMode&&void 0===e.dataRef.current.value&&(a.activeOptionIndex=0),a},4:(e,t)=>{let n=ke(e,e=>{let n=e.findIndex(e=>e.id===t.id);return-1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}},5:(e,t)=>({...e,labelId:t.id})},De=Object(i.createContext)(null);function Fe(e){let t=Object(i.useContext)(De);if(null===t){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Fe),t}return t}De.displayName="ComboboxActionsContext";let Ie=Object(i.createContext)(null);function Ae(e){let t=Object(i.useContext)(Ie);if(null===t){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Ae),t}return t}function Me(e,t){return I(t.type,Le,e,t)}Ie.displayName="ComboboxDataContext";let qe=i.Fragment,Be=fe((function(e,t){let{value:n,defaultValue:r,onChange:a,name:o,by:l=((e,t)=>e===t),disabled:c=!1,__demoMode:u=!1,nullable:d=!1,multiple:f=!1,...p}=e,[b,m]=Ne(n,a,r),[y,v]=Object(i.useReducer)(Me,{dataRef:Object(i.createRef)(),comboboxState:u?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),g=Object(i.useRef)(!1),h=Object(i.useRef)({static:!1,hold:!1}),O=Object(i.useRef)(null),j=Object(i.useRef)(null),E=Object(i.useRef)(null),w=Object(i.useRef)(null),R=S("string"==typeof l?(e,t)=>{let n=l;return(null==e?void 0:e[n])===(null==t?void 0:t[n])}:l),N=Object(i.useCallback)(e=>I(T.mode,{1:()=>b.some(t=>R(t,e)),0:()=>R(b,e)}),[b]),T=Object(i.useMemo)(()=>({...y,optionsPropsRef:h,labelRef:O,inputRef:j,buttonRef:E,optionsRef:w,value:b,disabled:c,mode:f?1:0,get activeOptionIndex(){if(g.current&&null===y.activeOptionIndex&&y.options.length>0){let e=y.options.findIndex(e=>!e.dataRef.current.disabled);if(-1!==e)return e}return y.activeOptionIndex},compare:R,isSelected:N,nullable:d,__demoMode:u}),[b,c,f,d,u,y]);x(()=>{y.dataRef.current=T},[T]),Z([T.buttonRef,T.inputRef,T.optionsRef],()=>v({type:1}),0===T.comboboxState);let P=Object(i.useMemo)(()=>({open:0===T.comboboxState,disabled:c,activeIndex:T.activeOptionIndex,activeOption:null===T.activeOptionIndex?null:T.options[T.activeOptionIndex].dataRef.current.value,value:b}),[T,c,b]),C=S(e=>{let t=T.options.find(t=>t.id===e);!t||M(t.dataRef.current.value)}),_=S(()=>{if(null!==T.activeOptionIndex){let{dataRef:e,id:t}=T.options[T.activeOptionIndex];M(e.current.value),v({type:2,focus:ae.Specific,id:t})}}),k=S(()=>{v({type:0}),g.current=!0}),L=S(()=>{v({type:1}),g.current=!1}),D=S((e,t,n)=>(g.current=!1,e===ae.Specific?v({type:2,focus:ae.Specific,id:t,trigger:n}):v({type:2,focus:e,trigger:n}))),F=S((e,t)=>(v({type:3,id:e,dataRef:t}),()=>v({type:4,id:e}))),A=S(e=>(v({type:5,id:e}),()=>v({type:5,id:null}))),M=S(e=>I(T.mode,{0:()=>null==m?void 0:m(e),1(){let t=T.value.slice(),n=t.findIndex(t=>R(t,e));return-1===n?t.push(e):t.splice(n,1),null==m?void 0:m(t)}})),q=Object(i.useMemo)(()=>({onChange:M,registerOption:F,registerLabel:A,goToOption:D,closeCombobox:L,openCombobox:k,selectActiveOption:_,selectOption:C}),[]),B=null===t?{}:{ref:t};return s.a.createElement(De.Provider,{value:q},s.a.createElement(Ie.Provider,{value:T},s.a.createElement(we,{value:I(T.comboboxState,{0:Ee.Open,1:Ee.Closed})},null!=o&&null!=b&&ye({[o]:b}).map(([e,t])=>s.a.createElement(Oe,{features:he.Hidden,...pe({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,name:e,value:t})})),ce({ourProps:B,theirProps:p,slot:P,defaultTag:qe,name:"Combobox"}))))})),ze=fe((function(e,t){var n,r;let{value:a,onChange:o,displayValue:s,type:l="text",...c}=e,u=Ae("Combobox.Input"),d=Fe("Combobox.Input"),f=ne(u.inputRef,t),p="headlessui-combobox-input-"+F(),b=P();Te(([e,t],[n,r])=>{!u.inputRef.current||(0===r&&1===t||e!==n)&&(u.inputRef.current.value=e)},[Object(i.useMemo)(()=>{var e;return"function"==typeof s?null!=(e=s(u.value))?e:"":"string"==typeof u.value?u.value:""},[u.value]),u.comboboxState]);let m=S(e=>{switch(e.key){case Re.Backspace:case Re.Delete:if(0!==u.mode||!u.nullable)return;let t=e.currentTarget;b.requestAnimationFrame(()=>{""===t.value&&(d.onChange(null),u.optionsRef.current&&(u.optionsRef.current.scrollTop=0),d.goToOption(ae.Nothing))});break;case Re.Enter:if(0!==u.comboboxState)return;if(e.preventDefault(),e.stopPropagation(),null===u.activeOptionIndex)return void d.closeCombobox();d.selectActiveOption(),0===u.mode&&d.closeCombobox();break;case Re.ArrowDown:return e.preventDefault(),e.stopPropagation(),I(u.comboboxState,{0:()=>{d.goToOption(ae.Next)},1:()=>{d.openCombobox()}});case Re.ArrowUp:return e.preventDefault(),e.stopPropagation(),I(u.comboboxState,{0:()=>{d.goToOption(ae.Previous)},1:()=>{d.openCombobox(),b.nextFrame(()=>{u.value||d.goToOption(ae.Last)})}});case Re.Home:case Re.PageUp:return e.preventDefault(),e.stopPropagation(),d.goToOption(ae.First);case Re.End:case Re.PageDown:return e.preventDefault(),e.stopPropagation(),d.goToOption(ae.Last);case Re.Escape:return 0!==u.comboboxState?void 0:(e.preventDefault(),u.optionsRef.current&&!u.optionsPropsRef.current.static&&e.stopPropagation(),d.closeCombobox());case Re.Tab:if(0!==u.comboboxState)return;0===u.mode&&d.selectActiveOption(),d.closeCombobox()}}),y=S(e=>{d.openCombobox(),null==o||o(e)}),v=R(()=>{if(u.labelId)return[u.labelId].join(" ")},[u.labelId]),g=Object(i.useMemo)(()=>({open:0===u.comboboxState,disabled:u.disabled}),[u]);return ce({ourProps:{ref:f,id:p,role:"combobox",type:l,"aria-controls":null==(n=u.optionsRef.current)?void 0:n.id,"aria-expanded":u.disabled?void 0:0===u.comboboxState,"aria-activedescendant":null===u.activeOptionIndex||null==(r=u.options[u.activeOptionIndex])?void 0:r.id,"aria-multiselectable":1===u.mode||void 0,"aria-labelledby":v,disabled:u.disabled,onKeyDown:m,onChange:y},theirProps:c,slot:g,defaultTag:"input",name:"Combobox.Input"})})),He=fe((function(e,t){var n;let r=Ae("Combobox.Button"),a=Fe("Combobox.Button"),o=ne(r.buttonRef,t),s="headlessui-combobox-button-"+F(),l=P(),c=S(e=>{switch(e.key){case Re.ArrowDown:return e.preventDefault(),e.stopPropagation(),1===r.comboboxState&&a.openCombobox(),l.nextFrame(()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})});case Re.ArrowUp:return e.preventDefault(),e.stopPropagation(),1===r.comboboxState&&(a.openCombobox(),l.nextFrame(()=>{r.value||a.goToOption(ae.Last)})),l.nextFrame(()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})});case Re.Escape:return 0!==r.comboboxState?void 0:(e.preventDefault(),r.optionsRef.current&&!r.optionsPropsRef.current.static&&e.stopPropagation(),a.closeCombobox(),l.nextFrame(()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})}));default:return}}),u=S(e=>{if(me(e.currentTarget))return e.preventDefault();0===r.comboboxState?a.closeCombobox():(e.preventDefault(),a.openCombobox()),l.nextFrame(()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})})}),d=R(()=>{if(r.labelId)return[r.labelId,s].join(" ")},[r.labelId,s]),f=Object(i.useMemo)(()=>({open:0===r.comboboxState,disabled:r.disabled,value:r.value}),[r]),p=e;return ce({ourProps:{ref:o,id:s,type:ee(e,r.buttonRef),tabIndex:-1,"aria-haspopup":!0,"aria-controls":null==(n=r.optionsRef.current)?void 0:n.id,"aria-expanded":r.disabled?void 0:0===r.comboboxState,"aria-labelledby":d,disabled:r.disabled,onClick:u,onKeyDown:c},theirProps:p,slot:f,defaultTag:"button",name:"Combobox.Button"})})),Ue=fe((function(e,t){let n=Ae("Combobox.Label"),r="headlessui-combobox-label-"+F(),a=Fe("Combobox.Label"),o=ne(n.labelRef,t);x(()=>a.registerLabel(r),[r]);let s=S(()=>{var e;return null==(e=n.inputRef.current)?void 0:e.focus({preventScroll:!0})}),l=Object(i.useMemo)(()=>({open:0===n.comboboxState,disabled:n.disabled}),[n]);return ce({ourProps:{ref:o,id:r,onClick:s},theirProps:e,slot:l,defaultTag:"label",name:"Combobox.Label"})})),Ve=se.RenderStrategy|se.Static,We=fe((function(e,t){var n;let{hold:r=!1,...a}=e,o=Ae("Combobox.Options"),s=ne(o.optionsRef,t),l="headlessui-combobox-options-"+F(),c=xe(),u=null!==c?c===Ee.Open:0===o.comboboxState;x(()=>{var t;o.optionsPropsRef.current.static=null!=(t=e.static)&&t},[o.optionsPropsRef,e.static]),x(()=>{o.optionsPropsRef.current.hold=r},[o.optionsPropsRef,r]),function({container:e,accept:t,walk:n,enabled:r=!0}){let a=Object(i.useRef)(t),o=Object(i.useRef)(n);Object(i.useEffect)(()=>{a.current=t,o.current=n},[t,n]),x(()=>{if(!e||!r)return;let t=A(e);if(!t)return;let n=a.current,i=o.current,s=Object.assign(e=>n(e),{acceptNode:n}),l=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,s,!1);for(;l.nextNode();)i(l.currentNode)},[e,r,a,o])}({container:o.optionsRef.current,enabled:0===o.comboboxState,accept:e=>"option"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let d=R(()=>{var e,t;return null!=(t=o.labelId)?t:null==(e=o.buttonRef.current)?void 0:e.id},[o.labelId,o.buttonRef.current]),f=Object(i.useMemo)(()=>({open:0===o.comboboxState}),[o]);return ce({ourProps:{"aria-activedescendant":null===o.activeOptionIndex||null==(n=o.options[o.activeOptionIndex])?void 0:n.id,"aria-labelledby":d,role:"listbox",id:l,ref:s},theirProps:a,slot:f,defaultTag:"ul",features:Ve,visible:u,name:"Combobox.Options"})})),$e=fe((function(e,t){var n,r;let{disabled:a=!1,value:o,...s}=e,l=Ae("Combobox.Option"),c=Fe("Combobox.Option"),u="headlessui-combobox-option-"+F(),d=null!==l.activeOptionIndex&&l.options[l.activeOptionIndex].id===u,f=l.isSelected(o),p=Object(i.useRef)(null),b=w({disabled:a,value:o,domRef:p,textValue:null==(r=null==(n=p.current)?void 0:n.textContent)?void 0:r.toLowerCase()}),m=ne(t,p),y=S(()=>c.selectOption(u));x(()=>c.registerOption(u,b),[b,u]);let v=Object(i.useRef)(!l.__demoMode);x(()=>{if(!l.__demoMode)return;let e=T();return e.requestAnimationFrame(()=>{v.current=!0}),e.dispose},[]),x(()=>{if(0!==l.comboboxState||!d||!v.current||0===l.activationTrigger)return;let e=T();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=p.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[p,d,l.comboboxState,l.activationTrigger,l.activeOptionIndex]);let g=S(e=>{if(a)return e.preventDefault();y(),0===l.mode&&c.closeCombobox()}),h=S(()=>{if(a)return c.goToOption(ae.Nothing);c.goToOption(ae.Specific,u)}),O=S(()=>{a||d||c.goToOption(ae.Specific,u,0)}),j=S(()=>{a||!d||l.optionsPropsRef.current.hold||c.goToOption(ae.Nothing)}),E=Object(i.useMemo)(()=>({active:d,selected:f,disabled:a}),[d,f,a]);return ce({ourProps:{id:u,ref:m,role:"option",tabIndex:!0===a?void 0:-1,"aria-disabled":!0===a||void 0,"aria-selected":f,disabled:void 0,onClick:g,onFocus:h,onPointerMove:O,onMouseMove:O,onPointerLeave:j,onMouseLeave:j},theirProps:s,slot:E,defaultTag:"li",name:"Combobox.Option"})})),Ke=Object.assign(Be,{Input:ze,Button:He,Label:Ue,Options:We,Option:$e});function Ge(){let e=Object(i.useRef)(!1);return x(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Qe(e,...t){e&&t.length>0&&e.classList.add(...t)}function Xe(e,...t){e&&t.length>0&&e.classList.remove(...t)}var Ye=(e=>(e.Ended="ended",e.Cancelled="cancelled",e))(Ye||{});function Ze(e=""){return e.split(" ").filter(e=>e.trim().length>1)}let Je=Object(i.createContext)(null);Je.displayName="TransitionContext";var et,tt=((et=tt||{}).Visible="visible",et.Hidden="hidden",et);let nt=Object(i.createContext)(null);function rt(e){return"children"in e?rt(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function at(e,t){let n=w(e),r=Object(i.useRef)([]),a=Ge(),o=P(),s=S((e,t=le.Hidden)=>{let i=r.current.findIndex(({el:t})=>t===e);-1!==i&&(I(t,{[le.Unmount](){r.current.splice(i,1)},[le.Hidden](){r.current[i].state="hidden"}}),o.microTask(()=>{var e;!rt(r)&&a.current&&(null==(e=n.current)||e.call(n))}))}),l=S(e=>{let t=r.current.find(({el:t})=>t===e);return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>s(e,le.Unmount)}),c=Object(i.useRef)([]),u=Object(i.useRef)(Promise.resolve()),d=Object(i.useRef)({enter:[],leave:[],idle:[]}),f=S((e,n,r)=>{c.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(([t])=>t!==e)),null==t||t.chains.current[n].push([e,new Promise(e=>{c.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(d.current[n].map(([e,t])=>t)).then(()=>e())})]),"enter"===n?u.current=u.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),p=S((e,t,n)=>{Promise.all(d.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;null==(e=c.current.shift())||e()}).then(()=>n(t))});return Object(i.useMemo)(()=>({children:r,register:l,unregister:s,onStart:f,onStop:p,wait:u,chains:d}),[l,s,r,f,p,d,u])}function ot(){}nt.displayName="NestingContext";let it=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function st(e){var t;let n={};for(let r of it)n[r]=null!=(t=e[r])?t:ot;return n}let lt=se.RenderStrategy,ct=fe((function(e,t){let{beforeEnter:n,afterEnter:r,beforeLeave:a,afterLeave:o,enter:l,enterFrom:c,enterTo:u,entered:d,leave:f,leaveFrom:p,leaveTo:b,...m}=e,y=Object(i.useRef)(null),v=ne(y,t),g=m.unmount?le.Unmount:le.Hidden,{show:h,appear:O,initial:j}=function(){let e=Object(i.useContext)(Je);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[E,R]=Object(i.useState)(h?"visible":"hidden"),N=function(){let e=Object(i.useContext)(nt);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:C,unregister:k}=N,L=Object(i.useRef)(null);Object(i.useEffect)(()=>C(y),[C,y]),Object(i.useEffect)(()=>{if(g===le.Hidden&&y.current)return h&&"visible"!==E?void R("visible"):I(E,{hidden:()=>k(y),visible:()=>C(y)})},[E,y,C,k,h,g]);let D=w({enter:Ze(l),enterFrom:Ze(c),enterTo:Ze(u),entered:Ze(d),leave:Ze(f),leaveFrom:Ze(p),leaveTo:Ze(b)}),F=function(e){let t=Object(i.useRef)(st(e));return Object(i.useEffect)(()=>{t.current=st(e)},[e]),t}({beforeEnter:n,afterEnter:r,beforeLeave:a,afterLeave:o}),A=_();Object(i.useEffect)(()=>{if(A&&"visible"===E&&null===y.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[y,E,A]);let M=j&&!O,q=!A||M||L.current===h?"idle":h?"enter":"leave",B=S(e=>I(e,{enter:()=>F.current.beforeEnter(),leave:()=>F.current.beforeLeave(),idle:()=>{}})),z=S(e=>I(e,{enter:()=>F.current.afterEnter(),leave:()=>F.current.afterLeave(),idle:()=>{}})),H=at(()=>{R("hidden"),k(y)},N);(function({container:e,direction:t,classes:n,onStart:r,onStop:a}){let o=Ge(),i=P(),s=w(t);x(()=>{let t=T();i.add(t.dispose);let l=e.current;if(l&&"idle"!==s.current&&o.current)return t.dispose(),r.current(s.current),t.add(function(e,t,n,r){let a=n?"enter":"leave",o=T(),i=void 0!==r?function(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}(r):()=>{};"enter"===a&&(e.removeAttribute("hidden"),e.style.display="");let s=I(a,{enter:()=>t.enter,leave:()=>t.leave}),l=I(a,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=I(a,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return Xe(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),Qe(e,...s,...c),o.nextFrame(()=>{Xe(e,...c),Qe(e,...l),function(e,t){let n=T();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:a}=getComputedStyle(e),[o,i]=[r,a].map(e=>{let[t=0]=e.split(",").filter(Boolean).map(e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e)).sort((e,t)=>t-e);return t});if(o+i!==0){let r=[];r.push(n.addEventListener(e,"transitionrun",a=>{a.target===a.currentTarget&&(r.splice(0).forEach(e=>e()),r.push(n.addEventListener(e,"transitionend",e=>{e.target===e.currentTarget&&(t("ended"),r.splice(0).forEach(e=>e()))}),n.addEventListener(e,"transitioncancel",e=>{e.target===e.currentTarget&&(t("cancelled"),r.splice(0).forEach(e=>e()))})))}))}else t("ended");n.add(()=>t("cancelled")),n.dispose}(e,n=>("ended"===n&&(Xe(e,...s),Qe(e,...t.entered)),i(n)))}),o.dispose}(l,n.current,"enter"===s.current,e=>{t.dispose(),I(e,{[Ye.Ended](){a.current(s.current)},[Ye.Cancelled]:()=>{}})})),t.dispose},[t])})({container:y,classes:D,direction:q,onStart:w(e=>{H.onStart(y,e,B)}),onStop:w(e=>{H.onStop(y,e,z),"leave"===e&&!rt(H)&&(R("hidden"),k(y))})}),Object(i.useEffect)(()=>{!M||(g===le.Hidden?L.current=null:L.current=h)},[h,M,E]);let U=m,V={ref:v};return s.a.createElement(nt.Provider,{value:H},s.a.createElement(we,{value:I(E,{visible:Ee.Open,hidden:Ee.Closed})},ce({ourProps:V,theirProps:U,defaultTag:"div",features:lt,visible:"visible"===E,name:"Transition.Child"})))})),ut=fe((function(e,t){let{show:n,appear:r=!1,unmount:a,...o}=e,l=Object(i.useRef)(null),c=ne(l,t);_();let u=xe();if(void 0===n&&null!==u&&(n=I(u,{[Ee.Open]:!0,[Ee.Closed]:!1})),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[d,f]=Object(i.useState)(n?"visible":"hidden"),p=at(()=>{f("hidden")}),[b,m]=Object(i.useState)(!0),y=Object(i.useRef)([n]);x(()=>{!1!==b&&y.current[y.current.length-1]!==n&&(y.current.push(n),m(!1))},[y,n]);let v=Object(i.useMemo)(()=>({show:n,appear:r,initial:b}),[n,r,b]);Object(i.useEffect)(()=>{if(n)f("visible");else if(rt(p)){let e=l.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&f("hidden")}else f("hidden")},[n,p]);let g={unmount:a};return s.a.createElement(nt.Provider,{value:p},s.a.createElement(Je.Provider,{value:v},ce({ourProps:{...g,as:i.Fragment,children:s.a.createElement(ct,{ref:c,...g,...o})},theirProps:{},defaultTag:i.Fragment,features:lt,visible:"visible"===d,name:"Transition"})))})),dt=fe((function(e,t){let n=null!==Object(i.useContext)(Je),r=null!==xe();return s.a.createElement(s.a.Fragment,null,!n&&r?s.a.createElement(ut,{ref:t,...e}):s.a.createElement(ct,{ref:t,...e}))})),ft=Object.assign(ut,{Child:dt,Root:ut});var pt=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"}))})),bt=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z",clipRule:"evenodd"}))})),mt=n(2);const yt=e=>{let{children:t,value:n}=e;const r=y(),i=Object(o.useCallback)(e=>{let{active:t,selected:n}=e;return p()("yst-autocomplete__option",n&&"yst-autocomplete__option--selected",t&&!n&&"yst-autocomplete__option--active")},[]);return Object(o.createElement)(Ke.Option,{className:i,value:n},e=>{let{selected:n}=e;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("span",{className:p()("yst-autocomplete__option-label",n&&"yst-font-semibold")},t),n&&Object(o.createElement)(pt,a()({className:"yst-autocomplete__option-check"},r)))})},vt={children:m.a.node,value:m.a.oneOfType([m.a.string,m.a.number,m.a.bool]).isRequired};yt.propTypes=vt;const gt=e=>{let{id:t,value:n,children:r=null,selectedLabel:i="",label:s="",labelProps:l={},labelSuffix:c=null,onChange:u,onQueryChange:f,isError:b=!1,placeholder:m="",className:v="",buttonProps:g={},...h}=e;const O=Object(o.useCallback)(Object(mt.constant)(i),[i]),j=y();return Object(o.createElement)(Ke,a()({id:t,as:"div",value:n,onChange:u,className:p()("yst-autocomplete",b&&"yst-autocomplete--error",v)},h),s&&Object(o.createElement)("div",{className:"yst-flex yst-items-center yst-mb-2"},Object(o.createElement)(Ke.Label,l,s),c),Object(o.createElement)("div",{className:"yst-relative"},Object(o.createElement)("div",{className:"yst-relative"},Object(o.createElement)(Ke.Button,a()({className:"yst-autocomplete__button"},g,{as:"div"}),Object(o.createElement)(Ke.Input,{className:"yst-autocomplete__input",placeholder:m,displayValue:O,onChange:f}),b?Object(o.createElement)(d,a()({className:"yst-autocomplete__button-icon yst-text-red-500"},j)):Object(o.createElement)(bt,a()({className:"yst-autocomplete__button-icon"},j)))),Object(o.createElement)(ft,{as:o.Fragment,enter:"yst-transition yst-duration-100 yst-ease-out",enterFrom:"yst-transform yst-scale-95 yst-opacity-0",enterTo:"yst-transform yst-scale-100 yst-opacity-100",leave:"yst-transition yst-duration-75 yst-ease-out",leaveFrom:"yst-transform yst-scale-100 yst-opacity-100",leaveTo:"yst-transform yst-scale-95 yst-opacity-0"},Object(o.createElement)(Ke.Options,{className:"yst-autocomplete__options"},r))))};gt.propTypes={id:m.a.string.isRequired,value:m.a.oneOfType([m.a.string,m.a.number,m.a.bool]).isRequired,children:m.a.node,selectedLabel:m.a.string,label:m.a.string,labelProps:m.a.object,labelSuffix:m.a.node,onChange:m.a.func.isRequired,onQueryChange:m.a.func.isRequired,isError:m.a.bool,placeholder:m.a.string,className:m.a.string,buttonProps:m.a.object},gt.Option=yt;var ht=gt;const Ot={variant:{info:"yst-badge--info",upsell:"yst-badge--upsell",plain:"yst-badge--plain"},size:{default:"",small:"yst-badge--small",large:"yst-badge--large"}},jt=e=>{let{children:t,as:n="span",variant:r="info",size:i="default",className:s="",...l}=e;return Object(o.createElement)(n,a()({className:p()("yst-badge",Ot.variant[r],Ot.size[i],s)},l),t)};jt.propTypes={children:m.a.node.isRequired,as:m.a.elementType,variant:m.a.oneOf(Object.keys(Ot.variant)),size:m.a.oneOf(Object.keys(Ot.size)),className:m.a.string};var Et=jt;const xt={variant:{default:"",primary:"yst-text-primary-500",white:"yst-text-white"},size:{3:"yst-w-3 yst-h-3",4:"yst-w-4 yst-h-4",8:"yst-w-8 yst-h-8"}},wt=e=>{let{variant:t,size:n,className:r}=e;const i=y();return Object(o.createElement)("svg",a()({xmlns:"http://www.w3.org/2000/svg/",fill:"none",viewBox:"0 0 24 24",className:p()("yst-animate-spin",xt.variant[t],xt.size[n],r)},i),Object(o.createElement)("circle",{className:"yst-opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),Object(o.createElement)("path",{className:"yst-opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"}))};wt.propTypes={variant:m.a.oneOf(Object(mt.keys)(xt.variant)),size:m.a.oneOf(Object(mt.keys)(xt.size)),className:m.a.string},wt.defaultProps={variant:"default",size:"4",className:""};var Rt=wt;const Nt={variant:{primary:"yst-button--primary",secondary:"yst-button--secondary",error:"yst-button--error",upsell:"yst-button--upsell"},size:{default:"",small:"yst-button--small",large:"yst-button--large"}},Tt=e=>{let{children:t,as:n,type:r,variant:i,size:s,isLoading:l,disabled:c,className:u,...d}=e;return Object(o.createElement)(n,a()({type:r||"button"===n&&"button"||void 0,disabled:c,className:p()("yst-button",Nt.variant[i],Nt.size[s],l&&"yst-cursor-wait",c&&"yst-button--disabled",u)},d),l&&Object(o.createElement)(Rt,{size:"small"===s?"3":"4",className:"yst-mr-2"}),t)};Tt.propTypes={children:m.a.node.isRequired,as:m.a.elementType,type:m.a.oneOf(["button","submit"]),variant:m.a.oneOf(Object(mt.keys)(Nt.variant)),size:m.a.oneOf(Object(mt.keys)(Nt.size)),isLoading:m.a.bool,disabled:m.a.bool,className:m.a.string},Tt.defaultProps={as:"button",type:void 0,variant:"primary",size:"default",isLoading:!1,disabled:!1,className:""};var Pt=Tt;const St=e=>{let{as:t="label",className:n="",label:r="",children:i="",...s}=e;return Object(o.createElement)(t,a()({className:p()("yst-label",n)},s),r||i||null)};St.propTypes={label:m.a.string,children:m.a.string,as:m.a.elementType,className:m.a.string};var Ct=St;const _t=e=>{let{id:t,name:n,value:r,label:i,className:s,...l}=e;return Object(o.createElement)("div",{className:p()("yst-checkbox",s)},Object(o.createElement)("input",a()({type:"checkbox",id:t,name:n,value:r,className:"yst-checkbox__input"},l)),Object(o.createElement)(Ct,{htmlFor:t,className:"yst-checkbox__label",label:i}))};_t.propTypes={id:m.a.string.isRequired,name:m.a.string.isRequired,value:m.a.string.isRequired,label:m.a.string.isRequired,className:m.a.string},_t.defaultProps={className:""};var kt=_t;const Lt={variant:{default:"",block:"yst-code--block"}},Dt=e=>{let{children:t,variant:n="default",className:r="",...i}=e;return Object(o.createElement)("code",a()({className:p()("yst-code",Lt.variant[n],r)},i),t)};Dt.propTypes={children:m.a.node.isRequired,variant:m.a.oneOf(Object.keys(Lt.variant)),className:m.a.string};var Ft=Dt,It=n(226).ErrorBoundary;const At={variant:{default:"yst-link--default",primary:"yst-link--primary",error:"yst-link--error"}},Mt=e=>{let{as:t="a",variant:n="default",className:r="",children:i,...s}=e;return Object(o.createElement)(t,a()({className:p()("yst-link",At.variant[n],r)},s),i)};Mt.propTypes={children:m.a.node.isRequired,variant:m.a.oneOf(Object.keys(At.variant)),as:m.a.elementType,className:m.a.string};var qt=Mt;const Bt=e=>{let{min:t,max:n,progress:r,className:i,...s}=e;const l=Object(o.useMemo)(()=>r/(n-t)*100,[t,n,r]);return Object(o.createElement)("div",a()({"aria-hidden":"true",className:p()("yst-progress-bar",i)},s),Object(o.createElement)("div",{className:"yst-progress-bar__progress",style:{width:l+"%"}}))};Bt.propTypes={min:m.a.number.isRequired,max:m.a.number.isRequired,progress:m.a.number.isRequired,className:m.a.string},Bt.defaultProps={className:""};var zt=Bt;const Ht=e=>{let{id:t,name:n,value:r,label:i,screenReaderLabel:s="",variant:c="default",disabled:u=!1,className:d="",isLabelDangerousHtml:f=!1,...b}=e;const m=y();return"inline-block"===c?Object(o.createElement)("div",{className:p()("yst-radio","yst-radio--inline-block",u&&"yst-radio--disabled",d)},Object(o.createElement)("input",a()({type:"radio",id:t,name:n,value:r,disabled:u,className:"yst-radio__input","aria-label":s},b)),Object(o.createElement)("span",{className:"yst-radio__content"},Object(o.createElement)(Ct,{htmlFor:t,className:"yst-radio__label",label:f?null:i,dangerouslySetInnerHTML:f?{__html:i}:null}),Object(o.createElement)(l,a()({className:"yst-radio__check"},m)))):Object(o.createElement)("div",{className:p()("yst-radio",u&&"yst-radio--disabled",d)},Object(o.createElement)("input",a()({type:"radio",id:t,name:n,value:r,disabled:u,className:"yst-radio__input"},b)),Object(o.createElement)(Ct,{htmlFor:t,className:"yst-radio__label",label:f?null:i,dangerouslySetInnerHTML:f?{__html:i}:null}))};Ht.propTypes={name:m.a.string.isRequired,id:m.a.string.isRequired,value:m.a.string.isRequired,label:m.a.string.isRequired,isLabelDangerousHtml:m.a.bool,screenReaderLabel:m.a.string,variant:m.a.oneOf(Object.keys({default:"","inline-block":"yst-radio--inline-block"})),disabled:m.a.bool,className:m.a.string};var Ut=Ht,Vt=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Vt||{}),Wt=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Wt||{}),$t=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))($t||{}),Kt=(e=>(e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.SetDisabled=2]="SetDisabled",e[e.SetOrientation=3]="SetOrientation",e[e.GoToOption=4]="GoToOption",e[e.Search=5]="Search",e[e.ClearSearch=6]="ClearSearch",e[e.RegisterOption=7]="RegisterOption",e[e.UnregisterOption=8]="UnregisterOption",e))(Kt||{});function Gt(e,t=(e=>e)){let n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,r=Q(t(e.options.slice()),e=>e.dataRef.current.domRef.current),a=n?r.indexOf(n):null;return-1===a&&(a=null),{options:r,activeOptionIndex:a}}let Qt={1:e=>e.disabled||1===e.listboxState?e:{...e,activeOptionIndex:null,listboxState:1},0(e){if(e.disabled||0===e.listboxState)return e;let t=e.activeOptionIndex,{value:n,mode:r,compare:a}=e.propsRef.current,o=e.options.findIndex(e=>{let t=e.dataRef.current.value;return I(r,{1:()=>n.some(e=>a(e,t)),0:()=>a(n,t)})});return-1!==o&&(t=o),{...e,listboxState:0,activeOptionIndex:t}},2:(e,t)=>e.disabled===t.disabled?e:{...e,disabled:t.disabled},3:(e,t)=>e.orientation===t.orientation?e:{...e,orientation:t.orientation},4(e,t){var n;if(e.disabled||1===e.listboxState)return e;let r=Gt(e),a=oe(t,{resolveItems:()=>r.options,resolveActiveIndex:()=>r.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeOptionIndex:a,activationTrigger:null!=(n=t.trigger)?n:1}},5:(e,t)=>{if(e.disabled||1===e.listboxState)return e;let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),a=(null!==e.activeOptionIndex?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find(e=>{var t;return!e.dataRef.current.disabled&&(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))}),o=a?e.options.indexOf(a):-1;return-1===o||o===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:o,activationTrigger:1}},6:e=>e.disabled||1===e.listboxState||""===e.searchQuery?e:{...e,searchQuery:""},7:(e,t)=>{let n={id:t.id,dataRef:t.dataRef},r=Gt(e,e=>[...e,n]);if(null===e.activeOptionIndex){let{value:a,mode:o,compare:i}=e.propsRef.current,s=t.dataRef.current.value;I(o,{1:()=>a.some(e=>i(e,s)),0:()=>i(a,s)})&&(r.activeOptionIndex=r.options.indexOf(n))}return{...e,...r}},8:(e,t)=>{let n=Gt(e,e=>{let n=e.findIndex(e=>e.id===t.id);return-1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}}},Xt=Object(i.createContext)(null);function Yt(e){let t=Object(i.useContext)(Xt);if(null===t){let t=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Yt),t}return t}function Zt(e,t){return I(t.type,Qt,e,t)}Xt.displayName="ListboxContext";let Jt=i.Fragment,en=fe((function(e,t){let{value:n,defaultValue:r,name:a,onChange:o,by:l=((e,t)=>e===t),disabled:c=!1,horizontal:u=!1,multiple:d=!1,...f}=e;const p=u?"horizontal":"vertical";let b=ne(t),[m,y]=Ne(n,o,r),v=Object(i.useReducer)(Zt,{listboxState:1,propsRef:{current:{value:m,onChange:y,mode:d?1:0,compare:S("string"==typeof l?(e,t)=>{let n=l;return(null==e?void 0:e[n])===(null==t?void 0:t[n])}:l)}},labelRef:Object(i.createRef)(),buttonRef:Object(i.createRef)(),optionsRef:Object(i.createRef)(),disabled:c,orientation:p,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1}),[{listboxState:g,propsRef:h,optionsRef:O,buttonRef:j},E]=v;h.current.value=m,h.current.mode=d?1:0,x(()=>{h.current.onChange=e=>I(h.current.mode,{0:()=>y(e),1(){let t=h.current.value.slice(),{compare:n}=h.current,r=t.findIndex(t=>n(t,e));return-1===r?t.push(e):t.splice(r,1),y(t)}})},[y,h]),x(()=>E({type:2,disabled:c}),[c]),x(()=>E({type:3,orientation:p}),[p]),Z([j,O],(e,t)=>{var n;E({type:1}),$(t,W.Loose)||(e.preventDefault(),null==(n=j.current)||n.focus())},0===g);let w=Object(i.useMemo)(()=>({open:0===g,disabled:c,value:m}),[g,c,m]),R={ref:b};return s.a.createElement(Xt.Provider,{value:v},s.a.createElement(we,{value:I(g,{0:Ee.Open,1:Ee.Closed})},null!=a&&null!=m&&ye({[a]:m}).map(([e,t])=>s.a.createElement(Oe,{features:he.Hidden,...pe({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,name:e,value:t})})),ce({ourProps:R,theirProps:f,slot:w,defaultTag:Jt,name:"Listbox"})))})),tn=fe((function(e,t){var n;let[r,a]=Yt("Listbox.Button"),o=ne(r.buttonRef,t),s="headlessui-listbox-button-"+F(),l=P(),c=S(e=>{switch(e.key){case Re.Space:case Re.Enter:case Re.ArrowDown:e.preventDefault(),a({type:0}),l.nextFrame(()=>{r.propsRef.current.value||a({type:4,focus:ae.First})});break;case Re.ArrowUp:e.preventDefault(),a({type:0}),l.nextFrame(()=>{r.propsRef.current.value||a({type:4,focus:ae.Last})})}}),u=S(e=>{switch(e.key){case Re.Space:e.preventDefault()}}),d=S(e=>{if(me(e.currentTarget))return e.preventDefault();0===r.listboxState?(a({type:1}),l.nextFrame(()=>{var e;return null==(e=r.buttonRef.current)?void 0:e.focus({preventScroll:!0})})):(e.preventDefault(),a({type:0}))}),f=R(()=>{if(r.labelRef.current)return[r.labelRef.current.id,s].join(" ")},[r.labelRef.current,s]),p=Object(i.useMemo)(()=>({open:0===r.listboxState,disabled:r.disabled,value:r.propsRef.current.value}),[r]),b=e;return ce({ourProps:{ref:o,id:s,type:ee(e,r.buttonRef),"aria-haspopup":!0,"aria-controls":null==(n=r.optionsRef.current)?void 0:n.id,"aria-expanded":r.disabled?void 0:0===r.listboxState,"aria-labelledby":f,disabled:r.disabled,onKeyDown:c,onKeyUp:u,onClick:d},theirProps:b,slot:p,defaultTag:"button",name:"Listbox.Button"})})),nn=fe((function(e,t){let[n]=Yt("Listbox.Label"),r="headlessui-listbox-label-"+F();return ce({ourProps:{ref:ne(n.labelRef,t),id:r,onClick:S(()=>{var e;return null==(e=n.buttonRef.current)?void 0:e.focus({preventScroll:!0})})},theirProps:e,slot:Object(i.useMemo)(()=>({open:0===n.listboxState,disabled:n.disabled}),[n]),defaultTag:"label",name:"Listbox.Label"})})),rn=se.RenderStrategy|se.Static,an=fe((function(e,t){var n;let[r,a]=Yt("Listbox.Options"),o=ne(r.optionsRef,t),s="headlessui-listbox-options-"+F(),l=P(),c=P(),u=xe(),d=null!==u?u===Ee.Open:0===r.listboxState;Object(i.useEffect)(()=>{var e;let t=r.optionsRef.current;!t||0===r.listboxState&&t!==(null==(e=A(t))?void 0:e.activeElement)&&t.focus({preventScroll:!0})},[r.listboxState,r.optionsRef]);let f=S(e=>{switch(c.dispose(),e.key){case Re.Space:if(""!==r.searchQuery)return e.preventDefault(),e.stopPropagation(),a({type:5,value:e.key});case Re.Enter:if(e.preventDefault(),e.stopPropagation(),null!==r.activeOptionIndex){let{dataRef:e}=r.options[r.activeOptionIndex];r.propsRef.current.onChange(e.current.value)}0===r.propsRef.current.mode&&(a({type:1}),T().nextFrame(()=>{var e;return null==(e=r.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));break;case I(r.orientation,{vertical:Re.ArrowDown,horizontal:Re.ArrowRight}):return e.preventDefault(),e.stopPropagation(),a({type:4,focus:ae.Next});case I(r.orientation,{vertical:Re.ArrowUp,horizontal:Re.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),a({type:4,focus:ae.Previous});case Re.Home:case Re.PageUp:return e.preventDefault(),e.stopPropagation(),a({type:4,focus:ae.First});case Re.End:case Re.PageDown:return e.preventDefault(),e.stopPropagation(),a({type:4,focus:ae.Last});case Re.Escape:return e.preventDefault(),e.stopPropagation(),a({type:1}),l.nextFrame(()=>{var e;return null==(e=r.buttonRef.current)?void 0:e.focus({preventScroll:!0})});case Re.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(a({type:5,value:e.key}),c.setTimeout(()=>a({type:6}),350))}}),p=R(()=>{var e,t,n;return null!=(n=null==(e=r.labelRef.current)?void 0:e.id)?n:null==(t=r.buttonRef.current)?void 0:t.id},[r.labelRef.current,r.buttonRef.current]),b=Object(i.useMemo)(()=>({open:0===r.listboxState}),[r]),m=e;return ce({ourProps:{"aria-activedescendant":null===r.activeOptionIndex||null==(n=r.options[r.activeOptionIndex])?void 0:n.id,"aria-multiselectable":1===r.propsRef.current.mode||void 0,"aria-labelledby":p,"aria-orientation":r.orientation,id:s,onKeyDown:f,role:"listbox",tabIndex:0,ref:o},theirProps:m,slot:b,defaultTag:"ul",features:rn,visible:d,name:"Listbox.Options"})})),on=fe((function(e,t){let{disabled:n=!1,value:r,...a}=e,[o,s]=Yt("Listbox.Option"),l="headlessui-listbox-option-"+F(),c=null!==o.activeOptionIndex&&o.options[o.activeOptionIndex].id===l,{value:u,compare:d}=o.propsRef.current,f=I(o.propsRef.current.mode,{1:()=>u.some(e=>d(e,r)),0:()=>d(u,r)}),p=Object(i.useRef)(null),b=ne(t,p);x(()=>{if(0!==o.listboxState||!c||0===o.activationTrigger)return;let e=T();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=p.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[p,c,o.listboxState,o.activationTrigger,o.activeOptionIndex]);let m=Object(i.useRef)({disabled:n,value:r,domRef:p});x(()=>{m.current.disabled=n},[m,n]),x(()=>{m.current.value=r},[m,r]),x(()=>{var e,t;m.current.textValue=null==(t=null==(e=p.current)?void 0:e.textContent)?void 0:t.toLowerCase()},[m,p]);let y=S(()=>o.propsRef.current.onChange(r));x(()=>(s({type:7,id:l,dataRef:m}),()=>s({type:8,id:l})),[m,l]);let v=S(e=>{if(n)return e.preventDefault();y(),0===o.propsRef.current.mode&&(s({type:1}),T().nextFrame(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))}),g=S(()=>{if(n)return s({type:4,focus:ae.Nothing});s({type:4,focus:ae.Specific,id:l})}),h=S(()=>{n||c||s({type:4,focus:ae.Specific,id:l,trigger:0})}),O=S(()=>{n||!c||s({type:4,focus:ae.Nothing})}),j=Object(i.useMemo)(()=>({active:c,selected:f,disabled:n}),[c,f,n]);return ce({ourProps:{id:l,ref:b,role:"option",tabIndex:!0===n?void 0:-1,"aria-disabled":!0===n||void 0,"aria-selected":f,disabled:void 0,onClick:v,onFocus:g,onPointerMove:h,onMouseMove:h,onPointerLeave:O,onMouseLeave:O},theirProps:a,slot:j,defaultTag:"li",name:"Listbox.Option"})})),sn=Object.assign(en,{Button:tn,Label:nn,Options:an,Option:on});const ln={value:m.a.oneOfType([m.a.string,m.a.number,m.a.bool]).isRequired,label:m.a.string.isRequired},cn=e=>{let{value:t,label:n}=e;const r=y(),i=Object(o.useCallback)(e=>{let{active:t,selected:n}=e;return p()("yst-select__option",t&&"yst-select__option--active",n&&"yst-select__option--selected")},[]);return Object(o.createElement)(sn.Option,{value:t,className:i},e=>{let{selected:t}=e;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("span",{className:p()("yst-select__option-label",t&&"yst-font-semibold")},n),t&&Object(o.createElement)(pt,a()({className:"yst-select__option-check"},r)))})};cn.propTypes=ln;const un=e=>{let{id:t,value:n,options:r=[],children:i=null,selectedLabel:s="",label:l="",labelProps:c={},labelSuffix:u=null,onChange:f,isError:b=!1,className:m="",buttonProps:v,...g}=e;const h=Object(o.useMemo)(()=>r.find(e=>n===(null==e?void 0:e.value))||r[0],[n,r]),O=y();return Object(o.createElement)(sn,a()({id:t,as:"div",value:n,onChange:f,className:p()("yst-select",b&&"yst-select--error",m)},g),l&&Object(o.createElement)("div",{className:"yst-flex yst-items-center yst-mb-2"},Object(o.createElement)(sn.Label,c,l),u),Object(o.createElement)(sn.Button,a()({className:"yst-select__button"},v),Object(o.createElement)("span",{className:"yst-select__button-label"},s||(null==h?void 0:h.label)||""),b?Object(o.createElement)(d,a()({className:"yst-select__button-icon yst-select__button-icon--error"},O)):Object(o.createElement)(bt,a()({className:"yst-select__button-icon"},O))),Object(o.createElement)(ft,{as:o.Fragment,enter:"yst-transition yst-duration-100 yst-ease-out",enterFrom:"yst-transform yst-scale-95 yst-opacity-0",enterTo:"yst-transform yst-scale-100 yst-opacity-100",leave:"yst-transition yst-duration-75 yst-ease-out",leaveFrom:"yst-transform yst-scale-100 yst-opacity-100",leaveTo:"yst-transform yst-scale-95 yst-opacity-0"},Object(o.createElement)(sn.Options,{className:"yst-select__options"},i||r.map(e=>Object(o.createElement)(cn,a()({key:e.value},e))))))};un.propTypes={id:m.a.string.isRequired,value:m.a.oneOfType([m.a.string,m.a.number,m.a.bool]).isRequired,options:m.a.arrayOf(m.a.shape(ln)),children:m.a.node,selectedLabel:m.a.string,label:m.a.string,labelProps:m.a.object,labelSuffix:m.a.node,onChange:m.a.func.isRequired,isError:m.a.bool,className:m.a.string,buttonProps:m.a.object},un.Option=cn;var dn=un;const fn={variant:{striped:"even:yst-bg-slate-50 odd:yst-bg-white",plain:""}},pn=e=>{let{children:t,className:n="",...r}=e;return Object(o.createElement)("td",a()({className:p()("yst-px-6 yst-py-4 yst-text-sm",n)},r),t)};pn.propTypes={children:m.a.node.isRequired,variant:m.a.oneOf(Object.keys(fn.variant)),className:m.a.string};const bn=e=>{let{children:t,variant:n="striped",className:r="",...i}=e;return Object(o.createElement)("tr",a()({className:p()(fn.variant[n],r)},i),t)};bn.propTypes={children:m.a.node.isRequired,variant:m.a.oneOf(Object.keys(fn.variant)),className:m.a.string};const mn=e=>{let{children:t,className:n="",...r}=e;return Object(o.createElement)("th",a()({className:p()("yst-px-6 yst-py-3 yst-text-left yst-text-xs yst-font-medium yst-text-slate-600 yst-bg-slate-50 yst-uppercase yst-tracking-wider",n)},r),t)};mn.propTypes={children:m.a.node.isRequired,className:m.a.string};const yn=e=>{let{children:t,...n}=e;return Object(o.createElement)("thead",n,t)};yn.propTypes={children:m.a.node.isRequired};const vn=e=>{let{children:t,...n}=e;return Object(o.createElement)("tbody",n,t)};vn.propTypes={children:m.a.node.isRequired,className:m.a.string};const gn=e=>{let{children:t,className:n="",...r}=e;return Object(o.createElement)("table",a()({className:p()("yst-min-w-full yst-divide-y yst-divide-slate-200",n)},r),t)};gn.propTypes={children:m.a.node.isRequired,className:m.a.string},gn.Head=yn,gn.Body=vn,gn.Header=mn,gn.Row=bn,gn.Cell=pn;var hn=gn,On=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"}))}));const jn=e=>{let{tag:t,index:n,disabled:r=!1,onRemoveTag:i,screenReaderRemoveTag:s,...l}=e;const c=Object(o.useCallback)(e=>{if(!r)switch(null==e?void 0:e.key){case"Delete":case"Backspace":return i(n),e.preventDefault(),!0}},[n,r,i]),u=Object(o.useCallback)(e=>{if(!r)return i(n),e.preventDefault(),!0},[n,r,i]);return Object(o.createElement)("div",a()({onKeyDown:c,className:"yst-tag-input__tag"},l),Object(o.createElement)("span",null,t),Object(o.createElement)("button",{className:"yst-tag-input__remove-tag",onClick:u},Object(o.createElement)("span",{className:"yst-sr-only"},s),Object(o.createElement)(On,{className:"yst-h-4 yst-w-4"})))};jn.propTypes={tag:m.a.string.isRequired,index:m.a.number.isRequired,disabled:m.a.bool,onRemoveTag:m.a.func.isRequired,screenReaderRemoveTag:m.a.string.isRequired};const En=e=>{let{tags:t=[],children:n=null,className:r="",disabled:i=!1,onAddTag:s=mt.noop,onRemoveTag:l=mt.noop,onBlur:c=mt.noop,screenReaderRemoveTag:u="Remove tag",...d}=e;const[f,b]=Object(o.useState)(""),m=Object(o.useCallback)(e=>{var t;Object(mt.isString)(null==e||null===(t=e.target)||void 0===t?void 0:t.value)&&b(e.target.value)},[b]),y=Object(o.useCallback)(e=>{switch(e.key){case",":case"Enter":return f.length>0&&(s(f),b("")),e.preventDefault(),!0;case"Backspace":if(0!==f.length||0===t.length)break;return l(t.length-1),e.preventDefault(),!0}},[f,t,b,s]),v=Object(o.useCallback)(e=>{f.length>0&&(s(f),b("")),c(e)},[f,s,b,c]);return Object(o.createElement)("div",{className:p()("yst-tag-input",i&&"yst-tag-input--disabled",r)},n||Object(mt.map)(t,(e,t)=>Object(o.createElement)(jn,{key:"tag-"+t,tag:e,index:t,disabled:i,tabIndex:"2",onRemoveTag:l,screenReaderRemoveTag:u})),Object(o.createElement)("input",a()({type:"text",disabled:i,className:"yst-tag-input__input",tabIndex:"1",onKeyDown:y},d,{onChange:m,onBlur:v,value:f})))};En.propTypes={tags:m.a.arrayOf(m.a.string),children:m.a.node,className:m.a.string,disabled:m.a.bool,onAddTag:m.a.func,onRemoveTag:m.a.func,onBlur:m.a.func,screenReaderRemoveTag:m.a.string},En.Tag=jn;var xn=En;const wn=e=>{let{type:t="text",className:n="",disabled:r=!1,readOnly:i=!1,...s}=e;return Object(o.createElement)("input",a()({type:t,className:p()("yst-text-input",r&&"yst-text-input--disabled",i&&"yst-text-input--read-only",n),disabled:r,readOnly:i},s))};wn.propTypes={type:m.a.string,className:m.a.string,disabled:m.a.bool,readOnly:m.a.bool};var Rn=wn;const Nn=e=>{let{disabled:t,rows:n,className:r,...i}=e;return Object(o.createElement)("textarea",a()({disabled:t,rows:n,className:p()("yst-textarea",t&&"yst-textarea--disabled",r)},i))};Nn.propTypes={className:m.a.string,disabled:m.a.bool,cols:m.a.number,rows:m.a.number},Nn.defaultProps={className:"",disabled:!1,cols:20,rows:2};var Tn=Nn;const Pn={size:{1:"yst-title--1",2:"yst-title--2",3:"yst-title--3",4:"yst-title--4"}},Sn=e=>{let{children:t,as:n,size:r,className:i,...s}=e;return Object(o.createElement)(n,a()({className:p()("yst-title",Pn.size[r||n[1]],i)},s),t)};Sn.propTypes={children:m.a.node.isRequired,as:m.a.elementType,size:m.a.oneOf(Object.keys(Pn.size)),className:m.a.string},Sn.defaultProps={as:"h1",size:void 0,className:""};var Cn=Sn;let kn=Object(i.createContext)(null);function Ln(){let e=Object(i.useContext)(kn);if(null===e){let e=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,Ln),e}return e}let Dn=fe((function(e,t){let{passive:n=!1,...r}=e,a=Ln(),o="headlessui-label-"+F(),i=ne(t);x(()=>a.register(o),[o,a.register]);let s={ref:i,...a.props,id:o};return n&&("onClick"in s&&delete s.onClick,"onClick"in r&&delete r.onClick),ce({ourProps:s,theirProps:r,slot:a.slot||{},defaultTag:"label",name:a.name||"Label"})})),Fn=Object(i.createContext)(null);function In(){let e=Object(i.useContext)(Fn);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,In),e}return e}function An(){let[e,t]=Object(i.useState)([]);return[e.length>0?e.join(" "):void 0,Object(i.useMemo)(()=>function(e){let n=S(e=>(t(t=>[...t,e]),()=>t(t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))),r=Object(i.useMemo)(()=>({register:n,slot:e.slot,name:e.name,props:e.props}),[n,e.slot,e.name,e.props]);return s.a.createElement(Fn.Provider,{value:r},e.children)},[t])]}let Mn=fe((function(e,t){let n=In(),r="headlessui-description-"+F(),a=ne(t);x(()=>n.register(r),[r,n.register]);let o=e;return ce({ourProps:{ref:a,...n.props,id:r},theirProps:o,slot:n.slot||{},defaultTag:"p",name:n.name||"Description"})})),qn=Object(i.createContext)(null);qn.displayName="GroupContext";let Bn=i.Fragment,zn=fe((function(e,t){let{checked:n,defaultChecked:r=!1,onChange:a,name:o,value:l,...c}=e,u="headlessui-switch-"+F(),d=Object(i.useContext)(qn),f=Object(i.useRef)(null),p=ne(f,t,null===d?null:d.setSwitch),[b,m]=Ne(n,a,r),y=S(()=>null==m?void 0:m(!b)),v=S(e=>{if(me(e.currentTarget))return e.preventDefault();e.preventDefault(),y()}),g=S(e=>{e.key===Re.Space?(e.preventDefault(),y()):e.key===Re.Enter&&function(e){var t;let n=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(n)for(let e of n.elements)if("INPUT"===e.tagName&&"submit"===e.type||"BUTTON"===e.tagName&&"submit"===e.type||"INPUT"===e.nodeName&&"image"===e.type)return void e.click()}(e.currentTarget)}),h=S(e=>e.preventDefault()),O=Object(i.useMemo)(()=>({checked:b}),[b]),j={id:u,ref:p,role:"switch",type:ee(e,f),tabIndex:0,"aria-checked":b,"aria-labelledby":null==d?void 0:d.labelledby,"aria-describedby":null==d?void 0:d.describedby,onClick:v,onKeyUp:g,onKeyPress:h};return s.a.createElement(s.a.Fragment,null,null!=o&&b&&s.a.createElement(Oe,{features:he.Hidden,...pe({as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:b,name:o,value:l})}),ce({ourProps:j,theirProps:c,slot:O,defaultTag:"button",name:"Switch"}))})),Hn=Object.assign(zn,{Group:function(e){let[t,n]=Object(i.useState)(null),[r,a]=function(){let[e,t]=Object(i.useState)([]);return[e.length>0?e.join(" "):void 0,Object(i.useMemo)(()=>function(e){let n=S(e=>(t(t=>[...t,e]),()=>t(t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))),r=Object(i.useMemo)(()=>({register:n,slot:e.slot,name:e.name,props:e.props}),[n,e.slot,e.name,e.props]);return s.a.createElement(kn.Provider,{value:r},e.children)},[t])]}(),[o,l]=An(),c=Object(i.useMemo)(()=>({switch:t,setSwitch:n,labelledby:r,describedby:o}),[t,n,r,o]),u=e;return s.a.createElement(l,{name:"Switch.Description"},s.a.createElement(a,{name:"Switch.Label",props:{onClick(){!t||(t.click(),t.focus({preventScroll:!0}))}}},s.a.createElement(qn.Provider,{value:c},ce({ourProps:{},theirProps:u,defaultTag:Bn,name:"Switch.Group"}))))},Label:Dn,Description:Mn});const Un=e=>{let{as:t="button",checked:n,screenReaderLabel:r,onChange:i,disabled:s=!1,className:l="",type:c="",...u}=e;const d=y();return Object(o.createElement)(Hn,a()({as:t,checked:n,disabled:s,onChange:s?mt.noop:i,className:p()("yst-toggle",n&&"yst-toggle--checked",s&&"yst-toggle--disabled",l)},u,{type:"button"===t?"button":c}),Object(o.createElement)("span",{className:"yst-sr-only"},r),Object(o.createElement)("span",{className:"yst-toggle__handle"},Object(o.createElement)(ft,{show:n,unmount:!1,as:"span","aria-hidden":!n,enter:"",enterFrom:"yst-opacity-0 yst-hidden",enterTo:"yst-opacity-100",leaveFrom:"yst-opacity-100",leaveTo:"yst-opacity-0 yst-hidden"},Object(o.createElement)(pt,a()({className:"yst-toggle__icon yst-toggle__icon--check"},d))),Object(o.createElement)(ft,{show:!n,unmount:!1,as:"span","aria-hidden":n,enterFrom:"yst-opacity-0 yst-hidden",enterTo:"yst-opacity-100",leaveFrom:"yst-opacity-100",leaveTo:"yst-opacity-0 yst-hidden"},Object(o.createElement)(On,a()({className:"yst-toggle__icon yst-toggle__icon--x"},d)))))};Un.propTypes={as:m.a.elementType,checked:m.a.bool,screenReaderLabel:m.a.string.isRequired,onChange:m.a.func.isRequired,disabled:m.a.bool,type:m.a.string,className:m.a.string};var Vn=Un,Wn=(e,t)=>{const n=Object(o.useMemo)(()=>Object(mt.reduce)(t,(t,n,r)=>n?(t[r]=`${e}__${r}`,t):t,{}),[e,t]),r=Object(o.useMemo)(()=>Object(mt.values)(n).join(" ")||null,[n]);return{ids:n,describedBy:r}};const $n=e=>{let{id:t,label:n,description:r,error:i=null,className:s="",...l}=e;const{ids:c,describedBy:u}=Wn(t,{error:i,description:r});return Object(o.createElement)("div",{className:p()("yst-autocomplete-field",s)},Object(o.createElement)(ht,a()({id:t,label:n,labelProps:{as:"label",className:"yst-label yst-autocomplete-field__label"},isError:Boolean(i),className:"yst-autocomplete-field__select",buttonProps:{"aria-describedby":u}},l)),i&&Object(o.createElement)("p",{id:c.error,className:"yst-autocomplete-field__error"},i),r&&Object(o.createElement)("div",{id:c.description,className:"yst-autocomplete-field__description"},r))};$n.propTypes={id:m.a.string.isRequired,name:m.a.string.isRequired,label:m.a.string.isRequired,description:m.a.node,error:m.a.node,className:m.a.string},$n.Option=ht.Option;var Kn=$n;const Gn=e=>{let{as:t="header",children:n,className:r="",...i}=e;return Object(o.createElement)(t,a()({},i,{className:p()("yst-card__header",r)}),n)};Gn.propTypes={as:b.PropTypes.element,children:b.PropTypes.node.isRequired,className:b.PropTypes.node};const Qn=e=>{let{as:t="div",children:n,className:r="",...i}=e;return Object(o.createElement)(t,a()({},i,{className:p()("yst-card__content",r)}),n)};Qn.propTypes={as:b.PropTypes.element,children:b.PropTypes.node.isRequired,className:b.PropTypes.node};const Xn=e=>{let{as:t="footer",children:n,className:r="",...i}=e;return Object(o.createElement)(t,a()({},i,{className:p()("yst-card__footer",r)}),n)};Xn.propTypes={as:b.PropTypes.element,children:b.PropTypes.node.isRequired,className:b.PropTypes.node};const Yn=e=>{let{as:t="div",children:n,className:r="",...i}=e;return Object(o.createElement)(t,a()({},i,{className:p()("yst-card",r)}),n)};Yn.propTypes={as:b.PropTypes.element,children:b.PropTypes.node.isRequired,className:b.PropTypes.node},Yn.Header=Gn,Yn.Content=Qn,Yn.Footer=Xn;var Zn=Yn;const Jn=e=>{let{children:t,id:n,name:r,values:i,label:s,description:l,options:c,onChange:u,className:d,...f}=e;const b=Object(o.useCallback)(e=>{let{target:t}=e;if(t.checked&&!Object(mt.includes)(i,t.value))return u([...i,t.value]);u(Object(mt.without)(i,t.value))},[i,u]);return Object(o.createElement)("fieldset",{id:"checkbox-group-"+n,className:p()("yst-checkbox-group",d)},Object(o.createElement)(Ct,{as:"legend",className:"yst-checkbox-group__label",label:s}),l&&Object(o.createElement)("div",{className:"yst-checkbox-group__description"},l),Object(o.createElement)("div",{className:"yst-checkbox-group__options"},t||c.map((e,t)=>{const s=`checkbox-${n}-${t}`;return Object(o.createElement)(kt,a()({key:s,id:s,name:r,value:e.value,label:e.label,checked:Object(mt.includes)(i,e.value),onChange:b},f))})))};Jn.propTypes={children:m.a.node,id:m.a.string,name:m.a.string,values:m.a.arrayOf(m.a.string),label:m.a.string,description:m.a.string,options:m.a.arrayOf(m.a.shape({value:m.a.string.isRequired,label:m.a.string.isRequired})),onChange:m.a.func,className:m.a.string},Jn.defaultProps={children:null,id:"",name:"",values:[],label:"",description:"",onChange:mt.noop,className:""};var er=Jn,tr=n(227);function nr(e){return"string"==typeof e&&"%"===e[e.length-1]&&function(e){const t=parseFloat(e);return!isNaN(t)&&isFinite(t)}(e.substring(0,e.length-1))}function rr(e,t){0===t&&(null==e?void 0:e.style)&&(e.style.display="none")}const ar={animating:"rah-animating",animatingUp:"rah-animating--up",animatingDown:"rah-animating--down",animatingToHeightZero:"rah-animating--to-height-zero",animatingToHeightAuto:"rah-animating--to-height-auto",animatingToHeightSpecific:"rah-animating--to-height-specific",static:"rah-static",staticHeightZero:"rah-static--height-zero",staticHeightAuto:"rah-static--height-auto",staticHeightSpecific:"rah-static--height-specific"};function or(e,t){return p()({[e.static]:!0,[e.staticHeightZero]:0===t,[e.staticHeightSpecific]:t>0,[e.staticHeightAuto]:"auto"===t})}var ir=e=>{var{animateOpacity:t=!1,animationStateClasses:n={},applyInlineTransitions:r=!0,children:a,className:o="",contentClassName:l,delay:c=0,duration:u=500,easing:d="ease",height:f,onHeightAnimationEnd:b,onHeightAnimationStart:m,style:y}=e,v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}(e,["animateOpacity","animationStateClasses","applyInlineTransitions","children","className","contentClassName","delay","duration","easing","height","onHeightAnimationEnd","onHeightAnimationStart","style"]);const g=Object(i.useRef)(f),h=Object(i.useRef)(null),O=Object(i.useRef)(),j=Object(i.useRef)(),E=Object(i.useRef)(Object.assign(Object.assign({},ar),n)),x="undefined"!=typeof window,w=Object(i.useRef)(!(!x||!window.matchMedia)&&window.matchMedia("(prefers-reduced-motion)").matches),R=w.current?0:c,N=w.current?0:u;let T=f,P="visible";"number"==typeof T?(T=f<0?0:f,P="hidden"):nr(T)&&(T="0%"===f?0:f,P="hidden");const[S,C]=Object(i.useState)(T),[_,k]=Object(i.useState)(P),[L,D]=Object(i.useState)(!1),[F,I]=Object(i.useState)(or(E.current,f));Object(i.useEffect)(()=>{rr(h.current,S)},[]),Object(i.useEffect)(()=>{if(f!==g.current&&h.current){!function(e,t){0===t&&(null==e?void 0:e.style)&&(e.style.display="")}(h.current,g.current),h.current.style.overflow="hidden";const e=h.current.offsetHeight;h.current.style.overflow="";const t=N+R;let n,r,a,o="hidden";const i="auto"===g.current;"number"==typeof f?(n=f<0?0:f,r=n):nr(f)?(n="0%"===f?0:f,r=n):(n=e,r="auto",o=void 0),i&&(r=n,n=e);const s=p()({[E.current.animating]:!0,[E.current.animatingUp]:"auto"===g.current||f<g.current,[E.current.animatingDown]:"auto"===f||f>g.current,[E.current.animatingToHeightZero]:0===r,[E.current.animatingToHeightAuto]:"auto"===r,[E.current.animatingToHeightSpecific]:r>0}),l=or(E.current,r);C(n),k("hidden"),D(!i),I(s),clearTimeout(j.current),clearTimeout(O.current),i?(a=!0,j.current=setTimeout(()=>{C(r),k(o),D(a),null==m||m(r)},50),O.current=setTimeout(()=>{D(!1),I(l),rr(h.current,r),null==b||b(r)},t)):(null==m||m(n),j.current=setTimeout(()=>{C(r),k(o),D(!1),I(l),"auto"!==f&&rr(h.current,n),null==b||b(n)},t))}return g.current=f,()=>{clearTimeout(j.current),clearTimeout(O.current)}},[f]);const A=Object.assign(Object.assign({},y),{height:S,overflow:_||(null==y?void 0:y.overflow)});L&&r&&(A.transition=`height ${N}ms ${d} ${R}ms`,(null==y?void 0:y.transition)&&(A.transition=`${y.transition}, ${A.transition}`),A.WebkitTransition=A.transition);const M={};t&&(M.transition=`opacity ${N}ms ${d} ${R}ms`,M.WebkitTransition=M.transition,0===S&&(M.opacity=0));const q=void 0!==v["aria-hidden"]?v["aria-hidden"]:0===f;return s.a.createElement("div",Object.assign({},v,{"aria-hidden":q,className:`${F} ${o}`,style:A}),s.a.createElement("div",{className:l,style:M,ref:h},a))},sr=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const[t,n]=Object(o.useState)(e),r=Object(o.useCallback)(()=>n(!t),[t,n]),a=Object(o.useCallback)(()=>n(!0),[n]),i=Object(o.useCallback)(()=>n(!1),[n]);return[t,r,n,a,i]};const lr=e=>{let{limit:t,children:n,renderButton:r,initialShow:a=!1,id:i=""}=e;const[s,l]=sr(a),c=Object(o.useMemo)(()=>Object(mt.flatten)(n),[n]),u=Object(o.useMemo)(()=>Object(mt.slice)(c,0,t),[c]),d=Object(o.useMemo)(()=>Object(mt.slice)(c,t),[c]),f=Object(o.useMemo)(()=>i||"yst-animate-height-"+Object(tr.nanoid)(),[i]),p=Object(o.useMemo)(()=>({"aria-expanded":!s,"aria-controls":f}),[s,f]);return t<0||c.length<=t?n:Object(o.createElement)(o.Fragment,null,u,Object(o.createElement)(ir,{id:f,easing:"ease-in-out",duration:300,height:s?"auto":0,animateOpacity:!0},d),r({show:s,toggle:l,ariaProps:p}))};lr.propTypes={limit:m.a.number.isRequired,children:m.a.arrayOf(m.a.node).isRequired,renderButton:m.a.func.isRequired,initialShow:m.a.bool,id:m.a.string};var cr=lr,ur=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))}));const dr={variant:{default:"yst-feature-upsell--default",card:"yst-feature-upsell--card"}},fr=e=>{let{children:t,shouldUpsell:n=!0,className:r="",variant:i="default",cardLink:s="",cardText:l=""}=e;const c=y();return n?"card"===i?Object(o.createElement)("div",{className:p()("yst-feature-upsell",dr.variant[i],r)},Object(o.createElement)("div",{className:"yst-space-y-8 yst-grayscale"},t),Object(o.createElement)("div",{className:"yst-absolute yst-inset-0 yst-z-10 yst-bg-white yst-bg-opacity-50 yst-ring-1 yst-ring-black yst-ring-opacity-5 yst-shadow-lg yst-rounded-md"}),Object(o.createElement)("div",{className:"yst-absolute yst-inset-0 yst-z-20 yst-flex yst-items-center yst-justify-center"},Object(o.createElement)(Pt,{as:"a",className:"yst-gap-2 yst-shadow-lg yst-shadow-amber-700/30",variant:"upsell",href:s,rel:"noreferrer"},Object(o.createElement)(ur,a()({className:"yst-w-5 yst-h-5 yst--ml-1 yst-shrink-0"},c)),l))):Object(o.createElement)("div",{className:p()("yst-feature-upsell",dr.variant[i],r)},t,Object(o.createElement)("div",{className:"yst-absolute yst-inset-0 yst-bg-white yst-bg-opacity-50 yst-z-10"})):t};fr.propTypes={children:m.a.node.isRequired,shouldUpsell:m.a.bool,className:m.a.string,variant:m.a.oneOf(Object.keys(dr.variant)),cardLink:m.a.string,cardText:m.a.string};var pr=fr,br=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"}))})),mr=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))})),yr=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 13h6m-3-3v6m5 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"}))}));const vr=e=>{let{id:t,name:n,value:r,selectLabel:i,dropLabel:s,screenReaderLabel:l,selectDescription:c="",isDisabled:u=!1,iconAs:d=yr,onChange:f,className:b="",...m}=e;const[y,v]=Object(o.useState)(!1),g=Object(o.useCallback)(e=>{e.preventDefault(),Object(mt.isEmpty)(e.dataTransfer.items)||v(!0)},[v]),h=Object(o.useCallback)(e=>{e.preventDefault(),v(!1)},[v]),O=Object(o.useCallback)(e=>{e.preventDefault()},[]),j=Object(o.useCallback)(e=>{e.preventDefault(),v(!1),Object(mt.isEmpty)(e.dataTransfer.files)||f(e.dataTransfer.files[0])},[v,f]);return Object(o.createElement)("div",{onDragEnter:g,onDragLeave:h,onDragOver:O,onDrop:j,className:p()("yst-file-input",{"yst-is-drag-over":y,"yst-is-disabled":u,className:b})},Object(o.createElement)("div",{className:"yst-file-input__content"},Object(o.createElement)(d,{className:"yst-file-input__icon"}),Object(o.createElement)("div",{className:"yst-file-input__labels"},Object(o.createElement)("input",a()({type:"file",id:t,name:n,value:r,onChange:f,className:"yst-file-input__input","aria-labelledby":l,disabled:u},m)),Object(o.createElement)(qt,{as:"label",htmlFor:t,className:"yst-file-input__select-label"},i),Object(o.createElement)("span",null," "),s),c&&Object(o.createElement)("span",null,c)))};vr.propTypes={id:m.a.string.isRequired,name:m.a.string.isRequired,value:m.a.string.isRequired,selectLabel:m.a.string.isRequired,dropLabel:m.a.string.isRequired,screenReaderLabel:m.a.string.isRequired,selectDescription:m.a.string,isDisabled:m.a.bool,iconAs:m.a.elementType,onChange:m.a.func.isRequired,className:m.a.string};var gr=vr;const hr={idle:"idle",selected:"selected",loading:"loading",success:"success",aborted:"aborted",error:"error"},Or=Object(o.createContext)({status:hr.idle}),jr={enter:"yst-transition-opacity yst-ease-in-out yst-duration-1000 yst-delay-200",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100",leave:"yst-transition-opacity yst-ease-in-out yst-duration-200",leaveFrom:"yst-opacity-0",leaveTo:"yst-opacity-100",className:"yst-absolute"},Er=e=>{const t=t=>{let{children:n}=t;const{status:r}=Object(o.useContext)(Or);return Object(o.createElement)(ft,{show:r===e,enter:"yst-transition-opacity yst-ease-in-out yst-duration-1000 yst-delay-200",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100",className:"yst-mt-6"},n)};return t.propTypes={children:m.a.node},t.displayName="FileImport."+Object(mt.capitalize)(e),t},xr=e=>{let{children:t="",id:n,name:r,selectLabel:i,dropLabel:s,screenReaderLabel:f,abortScreenReaderLabel:p,selectDescription:b,status:m=hr.idle,onChange:y,onAbort:v,feedbackTitle:g,feedbackDescription:h="",progressMin:O=null,progressMax:j=null,progress:E=null}=e;const x=Object(o.useMemo)(()=>m===hr.selected,[m]),w=Object(o.useMemo)(()=>m===hr.loading,[m]),R=Object(o.useMemo)(()=>m===hr.success,[m]),N=Object(o.useMemo)(()=>m===hr.aborted,[m]),T=Object(o.useMemo)(()=>m===hr.error,[m]),P=Object(o.useMemo)(()=>Object(mt.includes)([hr.selected,hr.loading,hr.success,hr.aborted,hr.error],m),[m]),S=Object(o.useCallback)(e=>{Object(mt.isEmpty)(e.target.files)||y(e.target.files[0])},[y]);return Object(o.createElement)(Or.Provider,{value:{status:m}},Object(o.createElement)("div",{className:"yst-file-import"},Object(o.createElement)(gr,{id:n,name:r,value:"",onChange:S,className:"yst-file-import__input","aria-labelledby":f,disabled:w,selectLabel:i,dropLabel:s,screenReaderLabel:f,selectDescription:b}),Object(o.createElement)(ft,{show:P,enter:"yst-transition-opacity yst-ease-in-out yst-duration-1000 yst-delay-200",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100"},Object(o.createElement)("div",{className:"yst-file-import__feedback"},Object(o.createElement)("header",{className:"yst-file-import__feedback-header"},Object(o.createElement)("div",{className:"yst-file-import__feedback-figure"},Object(o.createElement)(br,null)),Object(o.createElement)("div",{className:"yst-flex-1"},Object(o.createElement)("span",{className:"yst-file-import__feedback-title"},g),Object(o.createElement)("p",{className:"yst-file-import__feedback-description"},h),!Object(mt.isNull)(E)&&Object(o.createElement)(zt,{min:O,max:j,progress:E,className:"yst-mt-1.5"})),Object(o.createElement)("div",{className:"yst-relative yst-h-5 yst-w-5"},Object(o.createElement)(ft,a()({show:x},jr),Object(o.createElement)(u,{className:"yst-h-5 yst-w-5 yst-text-blue-500"})),Object(o.createElement)(ft,a()({show:w},jr),Object(o.createElement)("button",{onClick:v,className:"yst-file-import__abort-button"},Object(o.createElement)("span",{className:"yst-sr-only"},p),Object(o.createElement)(mr,null))),Object(o.createElement)(ft,a()({show:R},jr),Object(o.createElement)(l,{className:"yst-h-5 yst-w-5 yst-text-green-500"})),Object(o.createElement)(ft,a()({show:N},jr),Object(o.createElement)(c,{className:"yst-h-5 yst-w-5 yst-text-amber-500"})),Object(o.createElement)(ft,a()({show:T},jr),Object(o.createElement)(d,{className:"yst-h-5 yst-w-5 yst-text-red-500"})))),t))))};xr.propTypes={children:m.a.node,id:m.a.string.isRequired,name:m.a.string.isRequired,selectLabel:m.a.string.isRequired,dropLabel:m.a.string.isRequired,screenReaderLabel:m.a.string.isRequired,abortScreenReaderLabel:m.a.string.isRequired,selectDescription:m.a.string,feedbackTitle:m.a.string.isRequired,feedbackDescription:m.a.string,progressMin:m.a.number,progressMax:m.a.number,progress:m.a.number,status:m.a.oneOf(Object(mt.values)(hr)),onChange:m.a.func.isRequired,onAbort:m.a.func.isRequired},xr.Selected=Er(hr.selected),xr.Loading=Er(hr.loading),xr.Success=Er(hr.success),xr.Aborted=Er(hr.aborted),xr.Error=Er(hr.error);var wr=xr,Rr=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Rr||{});function Nr(...e){return Object(i.useMemo)(()=>A(...e),[...e])}function Tr(e,t,n,r){let a=w(n);Object(i.useEffect)(()=>{function n(e){a.current(e)}return(e=null!=e?e:window).addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)},[e,t,r])}var Pr=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(Pr||{});let Sr=Object.assign(fe((function(e,t){let n=Object(i.useRef)(null),r=ne(n,t),{initialFocus:a,containers:o,features:l=30,...c}=e;_()||(l=1);let u=Nr(n);!function({ownerDocument:e},t){let n=Object(i.useRef)(null);Tr(null==e?void 0:e.defaultView,"focusout",e=>{!t||n.current||(n.current=e.target)},!0),Te(()=>{t||((null==e?void 0:e.activeElement)===(null==e?void 0:e.body)&&K(n.current),n.current=null)},[t]);let r=Object(i.useRef)(!1);Object(i.useEffect)(()=>(r.current=!1,()=>{r.current=!0,N(()=>{!r.current||(K(n.current),n.current=null)})}),[])}({ownerDocument:u},Boolean(16&l));let d=function({ownerDocument:e,container:t,initialFocus:n},r){let a=Object(i.useRef)(null),o=Ge();return Te(()=>{if(!r)return;let i=t.current;!i||N(()=>{if(!o.current)return;let t=null==e?void 0:e.activeElement;if(null!=n&&n.current){if((null==n?void 0:n.current)===t)return void(a.current=t)}else if(i.contains(t))return void(a.current=t);null!=n&&n.current?K(n.current):X(i,H.First)===U.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),a.current=null==e?void 0:e.activeElement})},[r]),a}({ownerDocument:u,container:n,initialFocus:a},Boolean(2&l));!function({ownerDocument:e,container:t,containers:n,previousActiveElement:r},a){let o=Ge();Tr(null==e?void 0:e.defaultView,"focus",e=>{if(!a||!o.current)return;let i=new Set(null==n?void 0:n.current);i.add(t);let s=r.current;if(!s)return;let l=e.target;l&&l instanceof HTMLElement?function(e,t){var n;for(let r of e)if(null!=(n=r.current)&&n.contains(t))return!0;return!1}(i,l)?(r.current=l,K(l)):(e.preventDefault(),e.stopPropagation(),K(s)):K(r.current)},!0)}({ownerDocument:u,container:n,containers:o,previousActiveElement:d},Boolean(8&l));let f=function(){let e=Object(i.useRef)(0);return function(e,t,n){let r=w(t);Object(i.useEffect)(()=>{function t(e){r.current(e)}return window.addEventListener(e,t,!0),()=>window.removeEventListener(e,t,!0)},[e,!0])}("keydown",t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),e}(),p=S(()=>{let e=n.current;!e||I(f.current,{[Rr.Forwards]:()=>X(e,H.First),[Rr.Backwards]:()=>X(e,H.Last)})}),b={ref:r};return s.a.createElement(s.a.Fragment,null,Boolean(4&l)&&s.a.createElement(Oe,{as:"button",type:"button",onFocus:p,features:he.Focusable}),ce({ourProps:b,theirProps:c,defaultTag:"div",name:"FocusTrap"}),Boolean(4&l)&&s.a.createElement(Oe,{as:"button",type:"button",onFocus:p,features:he.Focusable}))})),{features:Pr}),Cr=new Set,_r=new Map;function kr(e){e.setAttribute("aria-hidden","true"),e.inert=!0}function Lr(e){let t=_r.get(e);!t||(null===t["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",t["aria-hidden"]),e.inert=t.inert)}var Dr=n(38);let Fr=Object(i.createContext)(!1);function Ir(e){return s.a.createElement(Fr.Provider,{value:e.force},e.children)}let Ar=i.Fragment,Mr=fe((function(e,t){let n=e,r=Object(i.useRef)(null),a=ne(function(e,t=!0){return Object.assign(e,{[te]:t})}(e=>{r.current=e}),t),o=Nr(r),s=function(e){let t=Object(i.useContext)(Fr),n=Object(i.useContext)(Br),r=Nr(e),[a,o]=Object(i.useState)(()=>{if(!t&&null!==n||E)return null;let e=null==r?void 0:r.getElementById("headlessui-portal-root");if(e)return e;if(null===r)return null;let a=r.createElement("div");return a.setAttribute("id","headlessui-portal-root"),r.body.appendChild(a)});return Object(i.useEffect)(()=>{null!==a&&(null!=r&&r.body.contains(a)||null==r||r.body.appendChild(a))},[a,r]),Object(i.useEffect)(()=>{t||null!==n&&o(n.current)},[n,o,t]),a}(r),[l]=Object(i.useState)(()=>{var e;return E?null:null!=(e=null==o?void 0:o.createElement("div"))?e:null}),c=_(),u=Object(i.useRef)(!1);return x(()=>{if(u.current=!1,s&&l)return s.contains(l)||(l.setAttribute("data-headlessui-portal",""),s.appendChild(l)),()=>{u.current=!0,N(()=>{var e;!u.current||!s||!l||(s.removeChild(l),s.childNodes.length<=0&&(null==(e=s.parentElement)||e.removeChild(s)))})}},[s,l]),c&&s&&l?Object(Dr.createPortal)(ce({ourProps:{ref:a},theirProps:n,defaultTag:Ar,name:"Portal"}),l):null})),qr=i.Fragment,Br=Object(i.createContext)(null),zr=fe((function(e,t){let{target:n,...r}=e,a={ref:ne(t)};return s.a.createElement(Br.Provider,{value:n},ce({ourProps:a,theirProps:r,defaultTag:qr,name:"Popover.Group"}))})),Hr=Object.assign(Mr,{Group:zr}),Ur=Object(i.createContext)(()=>{});Ur.displayName="StackContext";var Vr=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Vr||{});function Wr({children:e,onUpdate:t,type:n,element:r,enabled:a}){let o=Object(i.useContext)(Ur),l=S((...e)=>{null==t||t(...e),o(...e)});return x(()=>{let e=void 0===a||!0===a;return e&&l(0,n,r),()=>{e&&l(1,n,r)}},[l,n,r,a]),s.a.createElement(Ur.Provider,{value:l},e)}var $r=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))($r||{}),Kr=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(Kr||{});let Gr={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},Qr=Object(i.createContext)(null);function Xr(e){let t=Object(i.useContext)(Qr);if(null===t){let t=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Xr),t}return t}function Yr(e,t){return I(t.type,Gr,e,t)}Qr.displayName="DialogContext";let Zr=se.RenderStrategy|se.Static,Jr=fe((function(e,t){let{open:n,onClose:r,initialFocus:a,__demoMode:o=!1,...l}=e,[c,u]=Object(i.useState)(0),d=xe();void 0===n&&null!==d&&(n=I(d,{[Ee.Open]:!0,[Ee.Closed]:!1}));let f=Object(i.useRef)(new Set),p=Object(i.useRef)(null),b=ne(p,t),m=Object(i.useRef)(null),y=Nr(p),v=e.hasOwnProperty("open")||null!==d,g=e.hasOwnProperty("onClose");if(!v&&!g)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!v)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!g)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof n)throw new Error("You provided an `open` prop to the `Dialog`, but the value is not a boolean. Received: "+n);if("function"!=typeof r)throw new Error("You provided an `onClose` prop to the `Dialog`, but the value is not a function. Received: "+r);let h=n?0:1,[O,j]=Object(i.useReducer)(Yr,{titleId:null,descriptionId:null,panelRef:Object(i.createRef)()}),E=S(()=>r(!1)),w=S(e=>j({type:0,id:e})),R=!!_()&&!o&&0===h,N=c>1,P=null!==Object(i.useContext)(Qr),C=N?"parent":"leaf";(function(e,t=!0){x(()=>{if(!t||!e.current)return;let n=e.current,r=A(n);if(r){Cr.add(n);for(let e of _r.keys())e.contains(n)&&(Lr(e),_r.delete(e));return r.querySelectorAll("body > *").forEach(e=>{if(e instanceof HTMLElement){for(let t of Cr)if(e.contains(t))return;1===Cr.size&&(_r.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),kr(e))}}),()=>{if(Cr.delete(n),Cr.size>0)r.querySelectorAll("body > *").forEach(e=>{if(e instanceof HTMLElement&&!_r.has(e)){for(let t of Cr)if(e.contains(t))return;_r.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),kr(e)}});else for(let e of _r.keys())Lr(e),_r.delete(e)}}},[t])})(p,!!N&&R),Z(()=>{var e,t;return[...Array.from(null!=(e=null==y?void 0:y.querySelectorAll("body > *, [data-headlessui-portal]"))?e:[]).filter(e=>!(!(e instanceof HTMLElement)||e.contains(m.current)||O.panelRef.current&&e.contains(O.panelRef.current))),null!=(t=O.panelRef.current)?t:p.current]},E,R&&!N),Tr(null==y?void 0:y.defaultView,"keydown",e=>{e.defaultPrevented||e.key===Re.Escape&&0===h&&(N||(e.preventDefault(),e.stopPropagation(),E()))}),function(e,t){Object(i.useEffect)(()=>{var n;if(!t||!e)return;let r=T();function a(e,t,n){let a=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),r.add(()=>{Object.assign(e.style,{[t]:a})})}let o=e.documentElement,i=(null!=(n=e.defaultView)?n:window).innerWidth-o.clientWidth;if(a(o,"overflow","hidden"),i>0&&a(o,"paddingRight",i-(o.clientWidth-o.offsetWidth)+"px"),/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0){let e=window.pageYOffset;a(o,"position","fixed"),a(o,"marginTop",`-${e}px`),a(o,"width","100%"),r.add(()=>window.scrollTo(0,e))}return r.dispose},[e,t])}(y,0===h&&!P),Object(i.useEffect)(()=>{if(0!==h||!p.current)return;let e=new IntersectionObserver(e=>{for(let t of e)0===t.boundingClientRect.x&&0===t.boundingClientRect.y&&0===t.boundingClientRect.width&&0===t.boundingClientRect.height&&E()});return e.observe(p.current),()=>e.disconnect()},[h,p,E]);let[k,L]=An(),D="headlessui-dialog-"+F(),M=Object(i.useMemo)(()=>[{dialogState:h,close:E,setTitleId:w},O],[h,O,E,w]),q=Object(i.useMemo)(()=>({open:0===h}),[h]),B={ref:b,id:D,role:"dialog","aria-modal":0===h||void 0,"aria-labelledby":O.titleId,"aria-describedby":k};return s.a.createElement(Wr,{type:"Dialog",enabled:0===h,element:p,onUpdate:S((e,t,n)=>{"Dialog"===t&&I(e,{[Vr.Add](){f.current.add(n),u(e=>e+1)},[Vr.Remove](){f.current.add(n),u(e=>e-1)}})})},s.a.createElement(Ir,{force:!0},s.a.createElement(Hr,null,s.a.createElement(Qr.Provider,{value:M},s.a.createElement(Hr.Group,{target:p},s.a.createElement(Ir,{force:!1},s.a.createElement(L,{slot:q,name:"Dialog.Description"},s.a.createElement(Sr,{initialFocus:a,containers:f,features:R?I(C,{parent:Sr.features.RestoreFocus,leaf:Sr.features.All&~Sr.features.FocusLock}):Sr.features.None},ce({ourProps:B,theirProps:l,slot:q,defaultTag:"div",features:Zr,visible:0===h,name:"Dialog"})))))))),s.a.createElement(Oe,{features:he.Hidden,ref:m}))})),ea=fe((function(e,t){let[{dialogState:n,close:r}]=Xr("Dialog.Overlay");return ce({ourProps:{ref:ne(t),id:"headlessui-dialog-overlay-"+F(),"aria-hidden":!0,onClick:S(e=>{if(e.target===e.currentTarget){if(me(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),r()}})},theirProps:e,slot:Object(i.useMemo)(()=>({open:0===n}),[n]),defaultTag:"div",name:"Dialog.Overlay"})})),ta=fe((function(e,t){let[{dialogState:n},r]=Xr("Dialog.Backdrop"),a=ne(t),o="headlessui-dialog-backdrop-"+F();Object(i.useEffect)(()=>{if(null===r.panelRef.current)throw new Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")},[r.panelRef]);let l=Object(i.useMemo)(()=>({open:0===n}),[n]);return s.a.createElement(Ir,{force:!0},s.a.createElement(Hr,null,ce({ourProps:{ref:a,id:o,"aria-hidden":!0},theirProps:e,slot:l,defaultTag:"div",name:"Dialog.Backdrop"})))})),na=fe((function(e,t){let[{dialogState:n},r]=Xr("Dialog.Panel"),a=ne(t,r.panelRef),o="headlessui-dialog-panel-"+F(),s=Object(i.useMemo)(()=>({open:0===n}),[n]);return ce({ourProps:{ref:a,id:o,onClick:S(e=>{e.stopPropagation()})},theirProps:e,slot:s,defaultTag:"div",name:"Dialog.Panel"})})),ra=fe((function(e,t){let[{dialogState:n,setTitleId:r}]=Xr("Dialog.Title"),a="headlessui-dialog-title-"+F(),o=ne(t);Object(i.useEffect)(()=>(r(a),()=>r(null)),[a,r]);let s=Object(i.useMemo)(()=>({open:0===n}),[n]);return ce({ourProps:{ref:o,id:a},theirProps:e,slot:s,defaultTag:"h2",name:"Dialog.Title"})})),aa=Object.assign(Jr,{Backdrop:ta,Panel:na,Overlay:ea,Title:ra,Description:Mn});const oa=e=>{let{isOpen:t,onClose:n,children:r,hasCloseButton:i,closeButtonScreenReaderText:s,className:l,...c}=e;const u=y();return Object(o.createElement)(ft,{show:t,as:o.Fragment},Object(o.createElement)(aa,a()({as:"div",className:"yst-root",open:t,onClose:n},c),Object(o.createElement)("div",{className:p()("yst-modal",l)},Object(o.createElement)("div",{className:"yst-modal__body"},Object(o.createElement)(ft.Child,{as:o.Fragment,enter:"yst-ease-out yst-duration-300",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100",leave:"yst-ease-in yst-duration-200",leaveFrom:"yst-opacity-100",leaveTo:"yst-opacity-0"},Object(o.createElement)(aa.Overlay,{className:"yst-modal__overlay"})),Object(o.createElement)("span",{className:"yst-modal__center","aria-hidden":"true"},"​"),Object(o.createElement)(ft.Child,{as:o.Fragment,enter:"yst-ease-out yst-duration-300",enterFrom:"yst-opacity-0 yst-translate-y-4 sm:yst-translate-y-0 sm:yst-scale-95",enterTo:"yst-opacity-100 yst-translate-y-0 sm:yst-scale-100",leave:"yst-ease-in yst-duration-200",leaveFrom:"yst-opacity-100 yst-translate-y-0 sm:yst-scale-100",leaveTo:"yst-opacity-0 yst-translate-y-4 sm:yst-translate-y-0 sm:yst-scale-95"},Object(o.createElement)("div",{className:"yst-modal__content"},i&&Object(o.createElement)("div",{className:"yst-modal__close"},Object(o.createElement)("button",{onClick:n,className:"yst-modal__close-button"},Object(o.createElement)("span",{className:"yst-sr-only"},s),Object(o.createElement)(mr,a()({className:"yst-h-6 yst-w-6"},u)))),r))))))};oa.Title=Cn,oa.Description=aa.Description,oa.propTypes={isOpen:m.a.bool.isRequired,onClose:m.a.func.isRequired,children:m.a.node.isRequired,hasCloseButton:m.a.bool,closeButtonScreenReaderText:m.a.string,className:m.a.string},oa.defaultProps={hasCloseButton:!0,closeButtonScreenReaderText:"Close",className:""};var ia=oa,sa=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))})),la=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}))})),ca=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}))}));const ua=Object(o.createContext)({position:"bottom-left"}),da={variant:{info:"yst-notification--info",warning:"yst-notification--warning",success:"yst-notification--success",error:"yst-notification--error"},position:{"bottom-center":"yst-translate-y-full","bottom-left":"yst-translate-y-full","top-center":"yst--translate-y-full"},size:{default:"",large:"yst-notification--large"}},fa={info:sa,warning:la,success:ca,error:d},pa=e=>{let{children:t,id:n,variant:r="info",size:a="default",title:i,description:s="",onDismiss:l=null,autoDismiss:c=null,dismissScreenReaderLabel:u}=e;const{position:d}=Object(o.useContext)(ua),[f,b]=Object(o.useState)(!1),m=fa[r],y=Object(o.useCallback)(()=>{b(!1),setTimeout(()=>{l(n)},150)},[l,n]);return Object(o.useEffect)(()=>{let e;return b(!0),c&&(e=setTimeout(()=>{y()},c)),()=>clearTimeout(e)},[]),Object(o.createElement)(ft,{show:f,enter:"yst-transition yst-ease-in-out yst-duration-150",enterFrom:p()("yst-opacity-0",da.position[d]),enterTo:"yst-translate-y-0",leave:"yst-transition yst-ease-in-out yst-duration-150",leaveFrom:"yst-translate-y-0",leaveTo:p()("yst-opacity-0",da.position[d]),className:p()("yst-notification",da.variant[r],da.size[a]),role:"alert"},Object(o.createElement)("div",{className:"yst-flex yst-items-start yst-gap-3"},Object(o.createElement)("div",{className:"yst-flex-shrink-0"},Object(o.createElement)(m,{className:"yst-notification__icon"})),Object(o.createElement)("div",{className:"yst-w-0 yst-flex-1"},Object(o.createElement)("p",{className:"yst-text-sm yst-font-medium yst-text-slate-800"},i),t||s&&(Object(mt.isArray)(s)?Object(o.createElement)("ul",{className:"yst-list-disc yst-ml-4"},s.map((e,t)=>Object(o.createElement)("li",{className:"yst-pt-1",key:`${e}-${t}`},e))):Object(o.createElement)("p",null,s))),l&&Object(o.createElement)("div",{className:"yst-flex-shrink-0 yst-flex"},Object(o.createElement)("button",{onClick:y,className:"yst-bg-white yst-rounded-md yst-inline-flex yst-text-slate-400 hover:yst-text-slate-500 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-offset-2 focus:yst-ring-primary-500"},Object(o.createElement)("span",{className:"yst-sr-only"},u),Object(o.createElement)(mr,{className:"yst-h-5 yst-w-5"})))))};pa.propTypes={children:m.a.node,id:m.a.string.isRequired,variant:m.a.oneOf(Object(mt.keys)(da.variant)),size:m.a.oneOf(Object(mt.keys)(da.size)),title:m.a.string.isRequired,description:m.a.oneOfType([m.a.node,m.a.arrayOf(m.a.node)]),onDismiss:m.a.func,autoDismiss:m.a.number,dismissScreenReaderLabel:m.a.string.isRequired};const ba={position:{"bottom-center":"yst-notifications--bottom-center","bottom-left":"yst-notifications--bottom-left","top-center":"yst-notifications--top-center"}},ma=e=>{let{children:t,position:n="bottom-left"}=e;return Object(o.createElement)(ua.Provider,{value:{position:n}},Object(o.createElement)("aside",{className:p()("yst-notifications",ba.position[n])},t))};ma.propTypes={children:m.a.node,position:m.a.oneOf(Object(mt.keys)(ba.position))},ma.Notification=pa;var ya=ma;const va={variant:{default:"","inline-block":"yst-radio-group--inline-block"}},ga=e=>{let{children:t=null,id:n="",name:r="",value:i="",label:s,description:l,options:c,onChange:u=mt.noop,variant:d="default",disabled:f=!1,className:b="",...m}=e;const y=Object(o.useCallback)(e=>{let{target:t}=e;return t.checked&&u(t.value)},[u]);return Object(o.createElement)("fieldset",{id:"radio-group-"+n,className:p()("yst-radio-group",f&&"yst-radio-group--disabled",va.variant[d],b)},s&&Object(o.createElement)(Ct,{as:"legend",className:"yst-radio-group__label",label:s}),l&&Object(o.createElement)("div",{className:"yst-radio-group__description"},l),Object(o.createElement)("div",{className:"yst-radio-group__options"},t||c.map((e,t)=>{const s=`radio-${n}-${t}`;return Object(o.createElement)(Ut,a()({key:s,id:s,name:r,value:e.value,label:e.label,screenReaderLabel:e.screenReaderLabel,variant:d,checked:i===e.value,onChange:y,disabled:f},m))})))};ga.propTypes={children:m.a.node,id:m.a.string,name:m.a.string,value:m.a.string,label:m.a.string,description:m.a.string,options:m.a.arrayOf(m.a.shape({value:m.a.string.isRequired,label:m.a.string.isRequired,screenReaderLabel:m.a.string})),onChange:m.a.func,variant:m.a.oneOf(Object.keys(va.variant)),disabled:m.a.bool,className:m.a.string};var ha=ga;const Oa={isRtl:!1},ja=Object(o.createContext)(Oa),Ea=e=>{let{children:t,context:n={},...r}=e;return Object(o.createElement)(ja.Provider,{value:{...Oa,...n}},Object(o.createElement)("div",a()({className:"yst-root"},r),t))};Ea.propTypes={children:m.a.node.isRequired,context:m.a.shape({isRtl:m.a.bool})};var xa=Ea;const wa=e=>{let{id:t,label:n,description:r,error:i=null,className:s="",...l}=e;const{ids:c,describedBy:u}=Wn(t,{error:i,description:r});return Object(o.createElement)("div",{className:p()("yst-select-field",s)},Object(o.createElement)(dn,a()({id:t,label:n,labelProps:{as:"label",className:"yst-label yst-select-field__label"},isError:Boolean(i),className:"yst-select-field__select",buttonProps:{"aria-describedby":u}},l)),i&&Object(o.createElement)("p",{id:c.error,className:"yst-select-field__error"},i),r&&Object(o.createElement)("div",{id:c.description,className:"yst-select-field__description"},r))};wa.propTypes={id:m.a.string.isRequired,name:m.a.string.isRequired,label:m.a.string.isRequired,description:m.a.node,error:m.a.node,className:m.a.string},wa.Option=dn.Option;var Ra=wa,Na=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 15l7-7 7 7"}))})),Ta=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"}))})),Pa=i.forwardRef((function(e,t){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 12h16M4 18h7"}))})),Sa=e=>{const t=Object(o.useRef)(e);return Object(o.useEffect)(()=>{t.current=e},[e]),t.current};const Ca=Object(o.createContext)({activePath:""}),_a=()=>Object(o.useContext)(Ca),ka=e=>{let{as:t="a",pathProp:n="href",label:r,...i}=e;const{activePath:s}=_a();return Object(o.createElement)("li",{className:"yst-m-0 yst-pb-1"},Object(o.createElement)(t,a()({className:p()("yst-group yst-flex yst-items-center yst-px-3 yst-py-2 yst-text-sm yst-font-medium yst-rounded-md yst-no-underline focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-primary-500",s===i[n]?"yst-bg-slate-200 yst-text-slate-900":"yst-text-slate-600 hover:yst-text-slate-900 hover:yst-bg-slate-50")},i),r))};ka.propTypes={as:m.a.elementType,pathProp:m.a.string,label:m.a.node.isRequired,isActive:m.a.bool};const La=e=>{let{label:t,icon:n=null,children:r=null,defaultOpen:i=!0,...s}=e;const[l,c]=sr(i),u=l?Na:Ta;return Object(o.createElement)("div",null,Object(o.createElement)("button",a()({className:"yst-group yst-flex yst-w-full yst-items-center yst-justify-between yst-gap-3 yst-px-3 yst-py-2 yst-text-sm yst-font-medium yst-text-slate-800 yst-rounded-md yst-no-underline hover:yst-text-slate-900 hover:yst-bg-slate-50 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-primary-500",onClick:c},s),Object(o.createElement)("span",{className:"yst-flex yst-items-center yst-gap-3"},n&&Object(o.createElement)(n,{className:"yst-flex-shrink-0 yst--ml-1 yst-h-6 yst-w-6 yst-text-slate-400 group-hover:yst-text-slate-500"}),t),Object(o.createElement)(u,{className:"yst-h-4 yst-w-4 yst-text-slate-400 group-hover:yst-text-slate-500 yst-stroke-3"})),l&&r&&Object(o.createElement)("ul",{className:"yst-ml-8 yst-mt-1 yst-space-y-1"},r))};La.propTypes={label:m.a.string.isRequired,icon:m.a.elementType,defaultOpen:m.a.bool,children:m.a.node};const Da=e=>{let{children:t,openButtonScreenReaderText:n="Open",closeButtonScreenReaderText:r="Close",closeOnNavigate:a=!0}=e;const{activePath:i}=_a(),s=Sa(i),[l,c,u]=sr(!1);return Object(o.useEffect)(()=>{a&&l&&i!==s&&u(!1)},[a,i,s,l,u]),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(aa,{className:"yst-root",open:l,onClose:c},Object(o.createElement)("div",{className:"yst-mobile-navigation__dialog"},Object(o.createElement)("div",{className:"yst-fixed yst-inset-0 yst-bg-slate-600 yst-bg-opacity-75 yst-z-30","aria-hidden":"true"}),Object(o.createElement)(aa.Panel,{className:"yst-relative yst-flex yst-flex-1 yst-flex-col yst-max-w-xs yst-w-full yst-z-40 yst-bg-slate-100"},Object(o.createElement)("div",{className:"yst-absolute yst-top-0 yst-right-0 yst--mr-14 yst-p-1"},Object(o.createElement)("button",{className:"yst-flex yst-h-12 yst-w-12 yst-items-center yst-justify-center yst-rounded-full focus:yst-outline-none focus:yst-bg-slate-600",onClick:c},Object(o.createElement)("span",{className:"yst-sr-only"},r),Object(o.createElement)(mr,{className:"yst-h-6 yst-w-6 yst-text-white"}))),Object(o.createElement)("div",{className:"yst-flex-1 yst-h-0 yst-overflow-y-auto"},Object(o.createElement)("div",{className:"yst-h-full yst-flex yst-flex-col"},t))))),Object(o.createElement)("div",{className:"yst-mobile-navigation__top"},Object(o.createElement)("div",{className:"yst-flex yst-relative yst-flex-shrink-0 yst-h-16 yst-z-10 yst-bg-white yst-border-b yst-border-slate-200"},Object(o.createElement)("button",{className:"yst-px-4 yst-border-r yst-border-slate-200 yst-text-slate-400 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-inset focus:yst-ring-primary-500",onClick:c},Object(o.createElement)("span",{className:"yst-sr-only"},n),Object(o.createElement)(Pa,{className:"yst-w-6 yst-h-6"})))))};Da.propTypes={children:m.a.node.isRequired,openButtonScreenReaderText:m.a.string,closeButtonScreenReaderText:m.a.string,closeOnNavigate:m.a.bool};const Fa=e=>{let{children:t,className:n=""}=e;return Object(o.createElement)("nav",{className:n},t)};Fa.propTypes={children:m.a.node.isRequired,className:m.a.string};const Ia=e=>{let{activePath:t="",children:n}=e;return Object(o.createElement)(Ca.Provider,{value:{activePath:t}},n)};Ia.propTypes={activePath:m.a.string,children:m.a.node.isRequired},Ia.Sidebar=Fa,Ia.Mobile=Da,Ia.MenuItem=La,Ia.SubmenuItem=ka;var Aa=Ia;const Ma=e=>{let{id:t,label:n,labelSuffix:r=null,disabled:i=!1,className:s="",description:l=null,error:c=null,...u}=e;const{ids:f,describedBy:b}=Wn(t,{error:c,description:l}),m=y();return Object(o.createElement)("div",{className:p()("yst-tag-field",i&&"yst-tag-field--disabled",s)},Object(o.createElement)("div",{className:"yst-flex yst-items-center yst-mb-2"},Object(o.createElement)(Ct,{className:"yst-tag-field__label",htmlFor:t,label:n}),r),Object(o.createElement)("div",{className:"yst-relative"},Object(o.createElement)(xn,a()({id:t,disabled:i,className:p()("yst-tag-field__input",c&&"yst-tag-field__input--error"),"aria-describedby":b},u)),c&&Object(o.createElement)("div",{className:"yst-tag-field__error-icon"},Object(o.createElement)(d,m))),c&&Object(o.createElement)("p",{id:f.error,className:"yst-tag-field__error"},c),l&&Object(o.createElement)("p",{id:f.description,className:"yst-tag-field__description"},l))};Ma.propTypes={id:m.a.string.isRequired,label:m.a.string.isRequired,labelSuffix:m.a.node,disabled:m.a.bool,className:m.a.string,description:m.a.node,error:m.a.node};var qa=Ma;const Ba=e=>{let{id:t,onChange:n,label:r,labelSuffix:i=null,disabled:s=!1,readOnly:l=!1,className:c="",description:u=null,error:f=null,...b}=e;const{ids:m,describedBy:v}=Wn(t,{error:f,description:u}),g=y();return Object(o.createElement)("div",{className:p()("yst-text-field",s&&"yst-text-field--disabled",l&&"yst-text-field--read-only",c)},Object(o.createElement)("div",{className:"yst-flex yst-items-center yst-mb-2"},Object(o.createElement)(Ct,{className:"yst-text-field__label",htmlFor:t,label:r}),i),Object(o.createElement)("div",{className:"yst-relative"},Object(o.createElement)(Rn,a()({id:t,onChange:n,disabled:s,readOnly:l,className:p()("yst-text-field__input",f&&"yst-text-field__input--error"),"aria-describedby":v},b)),f&&Object(o.createElement)("div",{className:"yst-text-field__error-icon"},Object(o.createElement)(d,g))),f&&Object(o.createElement)("p",{id:m.error,className:"yst-text-field__error"},f),u&&Object(o.createElement)("p",{id:m.description,className:"yst-text-field__description"},u))};Ba.propTypes={id:m.a.string.isRequired,onChange:m.a.func.isRequired,label:m.a.string.isRequired,labelSuffix:m.a.node,disabled:m.a.bool,readOnly:m.a.bool,className:m.a.string,description:m.a.node,error:m.a.node};var za=Ba;const Ha=e=>{let{id:t,label:n,className:r,description:i,error:s,...l}=e;const{ids:c,describedBy:u}=Wn(t,{error:s,description:i}),f=y();return Object(o.createElement)("div",{className:p()("yst-textarea-field",r)},Object(o.createElement)(Ct,{className:"yst-textarea-field__label",htmlFor:t,label:n}),Object(o.createElement)("div",{className:"yst-relative"},Object(o.createElement)(Tn,a()({id:t,className:p()("yst-textarea-field__input",s&&"yst-textarea-field__input--error"),"aria-describedby":u},l)),s&&Object(o.createElement)("div",{className:"yst-textarea-field__error-icon"},Object(o.createElement)(d,f))),s&&Object(o.createElement)("p",{id:c.error,className:"yst-textarea-field__error"},s),i&&Object(o.createElement)("p",{id:c.description,className:"yst-textarea-field__description"},i))};Ha.propTypes={id:m.a.string.isRequired,label:m.a.string.isRequired,className:m.a.string,description:m.a.node,error:m.a.node},Ha.defaultProps={className:"",description:null,error:null};var Ua=Ha;const Va=e=>{let{children:t=null,label:n,labelSuffix:r=null,description:i=null,checked:s,disabled:l=!1,onChange:c,className:u="",...d}=e;return Object(o.createElement)(Hn.Group,{as:"div",className:p()("yst-toggle-field",l&&"yst-toggle-field--disabled",u)},Object(o.createElement)("div",{className:"yst-toggle-field__header"},n&&Object(o.createElement)("div",{className:"yst-toggle-field__label-wrapper"},Object(o.createElement)(Ct,{as:Hn.Label,className:"yst-toggle-field__label",label:n}),r),Object(o.createElement)(Vn,a()({checked:s,onChange:c,screenReaderLabel:n,disabled:l},d))),(i||t)&&Object(o.createElement)(Hn.Description,{as:"div",className:"yst-toggle-field__description"},i||t))};Va.propTypes={children:m.a.node,label:m.a.string.isRequired,labelSuffix:m.a.node,description:m.a.node,checked:m.a.bool.isRequired,disabled:m.a.bool,onChange:m.a.func.isRequired,className:m.a.string};var Wa=Va,$a=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=Object(o.useCallback)(e=>((e||window.event).returnValue=t,t),[t]);Object(o.useEffect)(()=>(e&&window.addEventListener("beforeunload",n),()=>window.removeEventListener("beforeunload",n)),[e,n])},Ka=()=>Object(o.useContext)(ja),Ga=e=>{const t=Object(o.useMemo)(()=>window.matchMedia(e),[e]),[n,r]=Object(o.useState)(t.matches),a=Object(o.useCallback)(e=>{r(e.matches)},[r]);return Object(o.useEffect)(()=>(t.addEventListener("change",a),()=>{t.removeEventListener("change",a)}),[t,a]),{matches:n}}},8:function(e,t){function n(){return e.exports=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},n.apply(this,arguments)}e.exports=n}});propTypes.js000066600000003342151123775150007124 0ustar00window.yoast=window.yoast||{},window.yoast.propTypes=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=429)}({429:function(e,t,r){e.exports=r(430)()},430:function(e,t,r){"use strict";var n=r(431);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,u){if(u!==n){var a=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 a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={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 r.PropTypes=r,r}},431:function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}});styledComponents.js000066600000113563151123775150010500 0ustar00window.yoast=window.yoast||{},window.yoast.styledComponents=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=433)}({108:function(e,t,r){"use strict";e.exports=r(434)},135:function(e,t,r){"use strict";var n=r(108),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var o=h(r);o&&o!==p&&e(t,o,n)}var a=l(r);f&&(a=a.concat(f(r)));for(var s=c(t),m=c(r),g=0;g<a.length;++g){var y=a[g];if(!(i[y]||n&&n[y]||m&&m[y]||s&&s[y])){var v=d(r,y);try{u(t,y,v)}catch(e){}}}}return t}},137:function(e,t,r){"use strict";var n,o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=(n={},function(e){return void 0===n[e]&&(n[e]=(t=e,o.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91)),n[e];var t});t.a=i},229:function(e,t){e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<i.length;c++){var u=i[c];if(!s(u))return!1;var l=e[u],f=t[u];if(!1===(o=r?r.call(n,l,f,u):void 0)||void 0===o&&l!==f)return!1}return!0}},230:function(e,t,r){"use strict";t.a=function(e){function t(e,t,n){var o=t.trim().split(p);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<i;++s)t[s]=r(e,t[s],n).trim();break;default:var c=s=0;for(t=[];s<i;++s)for(var u=0;u<a;++u)t[c++]=r(e[u]+" ",o[s],n).trim()}return t}function r(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(m,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function n(e,t,r,i){var a=e+";",s=2*t+3*r+4*i;if(944===s){e=a.indexOf(":",9)+1;var c=a.substring(e,a.length-1).trim();return c=a.substring(0,e).trim()+c+";",1===T||2===T&&o(c,1)?"-webkit-"+c+c:c}if(0===T||2===T&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(x,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(c=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+c+a;case 1005:return d.test(a)?a.replace(f,":-webkit-")+a.replace(f,":-moz-")+a:a;case 1e3:switch(t=(c=a.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=a.replace(b,"tb");break;case 232:c=a.replace(b,"tb-rl");break;case 220:c=a.replace(b,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+c+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(c=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:a=a.replace(c,"-webkit-"+c)+";"+a;break;case 207:case 102:a=a.replace(c,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(c,"-webkit-"+c)+";"+a.replace(c,"-ms-"+c+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return c=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+c+"-ms-flex-"+c+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(k,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(k,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===A.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?n(e.replace("stretch","fill-available"),t,r,i).replace(":fill-available",":stretch"):a.replace(c,"-webkit-"+c)+a.replace(c,"-moz-"+c.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===r+i&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function o(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),_(2!==t?n:n.replace(C,"$1"),r,t)}function i(e,t){var r=n(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(w," or ($1)").substring(4):"("+t+")"}function a(e,t,r,n,o,i,a,s,u,l){for(var f,d=0,h=t;d<R;++d)switch(f=E[d].call(c,e,h,r,n,o,i,a,s,u,l)){case void 0:case!1:case!0:case null:break;default:h=f}if(h!==t)return h}function s(e){return void 0!==(e=e.prefix)&&(_=null,e?"function"!=typeof e?T=1:(T=2,_=e):T=0),s}function c(e,r){var s=e;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<R){var c=a(-1,r,s,s,P,O,0,0,0,0);void 0!==c&&"string"==typeof c&&(r=c)}var f=function e(r,s,c,f,d){for(var h,p,m,b,w,k=0,C=0,A=0,x=0,E=0,_=0,M=m=h=0,N=0,z=0,L=0,D=0,F=c.length,B=F-1,G="",H="",W="",Y="";N<F;){if(p=c.charCodeAt(N),N===B&&0!==C+x+A+k&&(0!==C&&(p=47===C?10:47),x=A=k=0,F++,B++),0===C+x+A+k){if(N===B&&(0<z&&(G=G.replace(l,"")),0<G.trim().length)){switch(p){case 32:case 9:case 59:case 13:case 10:break;default:G+=c.charAt(N)}p=59}switch(p){case 123:for(h=(G=G.trim()).charCodeAt(0),m=1,D=++N;N<F;){switch(p=c.charCodeAt(N)){case 123:m++;break;case 125:m--;break;case 47:switch(p=c.charCodeAt(N+1)){case 42:case 47:e:{for(M=N+1;M<B;++M)switch(c.charCodeAt(M)){case 47:if(42===p&&42===c.charCodeAt(M-1)&&N+2!==M){N=M+1;break e}break;case 10:if(47===p){N=M+1;break e}}N=M}}break;case 91:p++;case 40:p++;case 34:case 39:for(;N++<B&&c.charCodeAt(N)!==p;);}if(0===m)break;N++}switch(m=c.substring(D,N),0===h&&(h=(G=G.replace(u,"").trim()).charCodeAt(0)),h){case 64:switch(0<z&&(G=G.replace(l,"")),p=G.charCodeAt(1)){case 100:case 109:case 115:case 45:z=s;break;default:z=j}if(D=(m=e(s,z,m,p,d+1)).length,0<R&&(w=a(3,m,z=t(j,G,L),s,P,O,D,p,d,f),G=z.join(""),void 0!==w&&0===(D=(m=w.trim()).length)&&(p=0,m="")),0<D)switch(p){case 115:G=G.replace(S,i);case 100:case 109:case 45:m=G+"{"+m+"}";break;case 107:m=(G=G.replace(g,"$1 $2"))+"{"+m+"}",m=1===T||2===T&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=G+m,112===f&&(H+=m,m="")}else m="";break;default:m=e(s,t(s,G,L),m,f,d+1)}W+=m,m=L=z=M=h=0,G="",p=c.charCodeAt(++N);break;case 125:case 59:if(1<(D=(G=(0<z?G.replace(l,""):G).trim()).length))switch(0===M&&(h=G.charCodeAt(0),45===h||96<h&&123>h)&&(D=(G=G.replace(" ",":")).length),0<R&&void 0!==(w=a(1,G,s,r,P,O,H.length,f,d,f))&&0===(D=(G=w.trim()).length)&&(G="\0\0"),h=G.charCodeAt(0),p=G.charCodeAt(1),h){case 0:break;case 64:if(105===p||99===p){Y+=G+c.charAt(N);break}default:58!==G.charCodeAt(D-1)&&(H+=n(G,h,p,G.charCodeAt(2)))}L=z=M=h=0,G="",p=c.charCodeAt(++N)}}switch(p){case 13:case 10:47===C?C=0:0===1+h&&107!==f&&0<G.length&&(z=1,G+="\0"),0<R*$&&a(0,G,s,r,P,O,H.length,f,d,f),O=1,P++;break;case 59:case 125:if(0===C+x+A+k){O++;break}default:switch(O++,b=c.charAt(N),p){case 9:case 32:if(0===x+k+C)switch(E){case 44:case 58:case 9:case 32:b="";break;default:32!==p&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===x+C+k&&(z=L=1,b="\f"+b);break;case 108:if(0===x+C+k+I&&0<M)switch(N-M){case 2:112===E&&58===c.charCodeAt(N-3)&&(I=E);case 8:111===_&&(I=_)}break;case 58:0===x+C+k&&(M=N);break;case 44:0===C+A+x+k&&(z=1,b+="\r");break;case 34:case 39:0===C&&(x=x===p?0:0===x?p:x);break;case 91:0===x+C+A&&k++;break;case 93:0===x+C+A&&k--;break;case 41:0===x+C+k&&A--;break;case 40:if(0===x+C+k){if(0===h)switch(2*E+3*_){case 533:break;default:h=1}A++}break;case 64:0===C+A+x+k+M+m&&(m=1);break;case 42:case 47:if(!(0<x+k+A))switch(C){case 0:switch(2*p+3*c.charCodeAt(N+1)){case 235:C=47;break;case 220:D=N,C=42}break;case 42:47===p&&42===E&&D+2!==N&&(33===c.charCodeAt(D+2)&&(H+=c.substring(D,N+1)),b="",C=0)}}0===C&&(G+=b)}_=E,E=p,N++}if(0<(D=H.length)){if(z=s,0<R&&void 0!==(w=a(2,H,z,r,P,O,D,f,d,f))&&0===(H=w).length)return Y+H+W;if(H=z.join(",")+"{"+H+"}",0!=T*I){switch(2!==T||o(H,2)||(I=0),I){case 111:H=H.replace(v,":-moz-$1")+H;break;case 112:H=H.replace(y,"::-webkit-input-$1")+H.replace(y,"::-moz-$1")+H.replace(y,":-ms-input-$1")+H}I=0}}return Y+H+W}(j,s,r,0,0);return 0<R&&void 0!==(c=a(-2,f,s,s,P,O,f.length,0,0,0))&&(f=c),I=0,O=P=1,f}var u=/^\0+/g,l=/[\0\r\f]/g,f=/: */g,d=/zoo|gra/,h=/([,: ])(transform)/g,p=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,v=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,S=/\(\s*(.*)\s*\)/g,w=/([\s\S]*?);/g,k=/-self|flex-/g,C=/[^]*?(:[rp][el]a[\w-]+)[^]*/,A=/stretch|:\s*\w+\-(?:conte|avail)/,x=/([^-])(image-set\()/,O=1,P=1,I=0,T=1,j=[],E=[],R=0,_=null,$=0;return c.use=function e(t){switch(t){case void 0:case null:R=E.length=0;break;default:if("function"==typeof t)E[R++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else $=0|!!t}return e},c.set=s,void 0!==e&&s(e),c}},231:function(e,t,r){"use strict";t.a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},3:function(e,t){e.exports=window.React},433:function(e,t,r){"use strict";r.r(t),function(e){r.d(t,"ServerStyleSheet",(function(){return De})),r.d(t,"StyleSheetConsumer",(function(){return oe})),r.d(t,"StyleSheetContext",(function(){return ne})),r.d(t,"StyleSheetManager",(function(){return le})),r.d(t,"ThemeConsumer",(function(){return Ee})),r.d(t,"ThemeContext",(function(){return je})),r.d(t,"ThemeProvider",(function(){return Re})),r.d(t,"__PRIVATE__",(function(){return Ge})),r.d(t,"createGlobalStyle",(function(){return ze})),r.d(t,"css",(function(){return be})),r.d(t,"isStyledComponent",(function(){return S})),r.d(t,"keyframes",(function(){return Le})),r.d(t,"useTheme",(function(){return Be})),r.d(t,"version",(function(){return k})),r.d(t,"withTheme",(function(){return Fe}));var n=r(108),o=r(3),i=r.n(o),a=r(229),s=r.n(a),c=r(230),u=r(231),l=r(137),f=r(135),d=r.n(f);function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var p=function(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r},m=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!Object(n.typeOf)(e)},g=Object.freeze([]),y=Object.freeze({});function v(e){return"function"==typeof e}function b(e){return e.displayName||e.name||"Component"}function S(e){return e&&"string"==typeof e.styledComponentId}var w=void 0!==e&&(e.env.REACT_APP_SC_ATTR||e.env.SC_ATTR)||"data-styled",k="5.2.3",C="undefined"!=typeof window&&"HTMLElement"in window,A=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e&&void 0!==e.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e.env.REACT_APP_SC_DISABLE_SPEEDY&&e.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e&&void 0!==e.env.SC_DISABLE_SPEEDY&&""!==e.env.SC_DISABLE_SPEEDY&&"false"!==e.env.SC_DISABLE_SPEEDY&&e.env.SC_DISABLE_SPEEDY),x={};function O(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(r.length>0?" Args: "+r.join(", "):""))}var P=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)(o<<=1)<0&&O(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var i=n;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),s=0,c=t.length;s<c;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var o=r;o<n;o++)this.tag.deleteRule(r)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,i=n;i<o;i++)t+=this.tag.getRule(i)+"/*!sc*/\n";return t},e}(),I=new Map,T=new Map,j=1,E=function(e){if(I.has(e))return I.get(e);for(;T.has(j);)j++;var t=j++;return I.set(e,t),T.set(t,e),t},R=function(e){return T.get(e)},_=function(e,t){I.set(e,t),T.set(t,e)},$="style["+w+'][data-styled-version="5.2.3"]',M=new RegExp("^"+w+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),N=function(e,t,r){for(var n,o=r.split(","),i=0,a=o.length;i<a;i++)(n=o[i])&&e.registerName(t,n)},z=function(e,t){for(var r=t.innerHTML.split("/*!sc*/\n"),n=[],o=0,i=r.length;o<i;o++){var a=r[o].trim();if(a){var s=a.match(M);if(s){var c=0|parseInt(s[1],10),u=s[2];0!==c&&(_(u,c),N(e,u,s[3]),e.getTag().insertRules(c,n)),n.length=0}else n.push(a)}}},L=function(){return"undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},D=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(e){for(var t=e.childNodes,r=t.length;r>=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(w))return n}}(r),i=void 0!==o?o.nextSibling:null;n.setAttribute(w,"active"),n.setAttribute("data-styled-version","5.2.3");var a=L();return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},F=function(){function e(e){var t=this.element=D(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var o=t[r];if(o.ownerNode===e)return o}O(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),B=function(){function e(e){var t=this.element=D(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),G=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),H=C,W={isServer:!C,useCSSOMInjection:!A},Y=function(){function e(e,t,r){void 0===e&&(e=y),void 0===t&&(t={}),this.options=h({},W,{},e),this.gs=t,this.names=new Map(r),!this.options.isServer&&C&&H&&(H=!1,function(e){for(var t=document.querySelectorAll($),r=0,n=t.length;r<n;r++){var o=t[r];o&&"active"!==o.getAttribute(w)&&(z(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return E(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(h({},this.options,{},t),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(r=(t=this.options).isServer,n=t.useCSSOMInjection,o=t.target,e=r?new G(o):n?new F(o):new B(o),new P(e)));var e,t,r,n,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(E(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},t.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(E(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(E(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),r=t.length,n="",o=0;o<r;o++){var i=R(o);if(void 0!==i){var a=e.names.get(i),s=t.getGroup(o);if(void 0!==a&&0!==s.length){var c=w+".g"+o+'[id="'+i+'"]',u="";void 0!==a&&a.forEach((function(e){e.length>0&&(u+=e+",")})),n+=""+s+c+'{content:"'+u+'"}/*!sc*/\n'}}}return n}(this)},e}(),U=/(a)(d)/gi,q=function(e){return String.fromCharCode(e+(e>25?39:97))};function V(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=q(t%52)+r;return(q(t%52)+r).replace(U,"$1-$2")}var X=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Z=function(e){return X(5381,e)};function J(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(v(r)&&!S(r))return!1}return!0}var K=Z("5.2.3"),Q=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&J(e),this.componentId=t,this.baseHash=X(K,t),this.baseStyle=r,Y.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(n,this.staticRulesId))o.push(this.staticRulesId);else{var i=ve(this.rules,e,t,r).join(""),a=V(X(this.baseHash,i.length)>>>0);if(!t.hasNameForId(n,a)){var s=r(i,"."+a,void 0,n);t.insertRules(n,a,s)}o.push(a),this.staticRulesId=a}else{for(var c=this.rules.length,u=X(this.baseHash,r.hash),l="",f=0;f<c;f++){var d=this.rules[f];if("string"==typeof d)l+=d;else if(d){var h=ve(d,e,t,r),p=Array.isArray(h)?h.join(""):h;u=X(u,p+f),l+=p}}if(l){var m=V(u>>>0);if(!t.hasNameForId(n,m)){var g=r(l,"."+m,void 0,n);t.insertRules(n,m,g)}o.push(m)}}return o.join(" ")},e}(),ee=/^\s*\/\/.*$/gm,te=[":","[",".","#"];function re(e){var t,r,n,o,i=void 0===e?y:e,a=i.options,s=void 0===a?y:a,u=i.plugins,l=void 0===u?g:u,f=new c.a(s),d=[],h=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,o,i,a,s,c,u,l,f){switch(r){case 1:if(0===l&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===u)return n+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(o[0]+n),"";default:return n+(0===f?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),p=function(e,n,i){return 0===n&&-1!==te.indexOf(i[r.length])||i.match(o)?e:"."+t};function m(e,i,a,s){void 0===s&&(s="&");var c=e.replace(ee,""),u=i&&a?a+" "+i+" { "+c+" }":c;return t=s,r=i,n=new RegExp("\\"+r+"\\b","g"),o=new RegExp("(\\"+r+"\\b){2,}"),f(a||!i?"":i,u)}return f.use([].concat(l,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(r)>0&&(o[0]=o[0].replace(n,p))},h,function(e){if(-2===e){var t=d;return d=[],t}}])),m.hash=l.length?l.reduce((function(e,t){return t.name||O(15),X(e,t.name)}),5381).toString():"",m}var ne=i.a.createContext(),oe=ne.Consumer,ie=i.a.createContext(),ae=(ie.Consumer,new Y),se=re();function ce(){return Object(o.useContext)(ne)||ae}function ue(){return Object(o.useContext)(ie)||se}function le(e){var t=Object(o.useState)(e.stylisPlugins),r=t[0],n=t[1],a=ce(),c=Object(o.useMemo)((function(){var t=a;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),u=Object(o.useMemo)((function(){return re({options:{prefix:!e.disableVendorPrefixes},plugins:r})}),[e.disableVendorPrefixes,r]);return Object(o.useEffect)((function(){s()(r,e.stylisPlugins)||n(e.stylisPlugins)}),[e.stylisPlugins]),i.a.createElement(ne.Provider,{value:c},i.a.createElement(ie.Provider,{value:u},e.children))}var fe=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=se);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return O(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=se),this.name+e.hash},e}(),de=/([A-Z])/,he=/([A-Z])/g,pe=/^ms-/,me=function(e){return"-"+e.toLowerCase()};function ge(e){return de.test(e)?e.replace(he,me).replace(pe,"-ms-"):e}var ye=function(e){return null==e||!1===e||""===e};function ve(e,t,r,n){if(Array.isArray(e)){for(var o,i=[],a=0,s=e.length;a<s;a+=1)""!==(o=ve(e[a],t,r,n))&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}return ye(e)?"":S(e)?"."+e.styledComponentId:v(e)?"function"!=typeof(c=e)||c.prototype&&c.prototype.isReactComponent||!t?e:ve(e(t),t,r,n):e instanceof fe?r?(e.inject(r,n),e.getName(n)):e:m(e)?function e(t,r){var n,o,i=[];for(var a in t)t.hasOwnProperty(a)&&!ye(t[a])&&(m(t[a])?i.push.apply(i,e(t[a],a)):v(t[a])?i.push(ge(a)+":",t[a],";"):i.push(ge(a)+": "+(n=a,(null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in u.a?String(o).trim():o+"px")+";")));return r?[r+" {"].concat(i,["}"]):i}(e):e.toString();var c}function be(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return v(e)||m(e)?ve(p(g,[e].concat(r))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:ve(p(e,r))}new Set;var Se=function(e,t,r){return void 0===r&&(r=y),e.theme!==r.theme&&e.theme||t||r.theme},we=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ke=/(^-|-$)/g;function Ce(e){return e.replace(we,"-").replace(ke,"")}var Ae=function(e){return V(Z(e)>>>0)};function xe(e){return"string"==typeof e&&!0}var Oe=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Pe=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Ie(e,t,r){var n=e[r];Oe(t)&&Oe(n)?Te(n,t):e[r]=t}function Te(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(var o=0,i=r;o<i.length;o++){var a=i[o];if(Oe(a))for(var s in a)Pe(s)&&Ie(e,a[s],s)}return e}var je=i.a.createContext(),Ee=je.Consumer;function Re(e){var t=Object(o.useContext)(je),r=Object(o.useMemo)((function(){return function(e,t){return e?v(e)?e(t):Array.isArray(e)||"object"!=typeof e?O(8):t?h({},t,{},e):e:O(14)}(e.theme,t)}),[e.theme,t]);return e.children?i.a.createElement(je.Provider,{value:r},e.children):null}var _e={};function $e(e,t,r){var n=S(e),a=!xe(e),s=t.attrs,c=void 0===s?g:s,u=t.componentId,f=void 0===u?function(e,t){var r="string"!=typeof e?"sc":Ce(e);_e[r]=(_e[r]||0)+1;var n=r+"-"+Ae("5.2.3"+r+_e[r]);return t?t+"-"+n:n}(t.displayName,t.parentComponentId):u,p=t.displayName,m=void 0===p?function(e){return xe(e)?"styled."+e:"Styled("+b(e)+")"}(e):p,w=t.displayName&&t.componentId?Ce(t.displayName)+"-"+t.componentId:t.componentId||f,k=n&&e.attrs?Array.prototype.concat(e.attrs,c).filter(Boolean):c,C=t.shouldForwardProp;n&&e.shouldForwardProp&&(C=t.shouldForwardProp?function(r,n){return e.shouldForwardProp(r,n)&&t.shouldForwardProp(r,n)}:e.shouldForwardProp);var A,x=new Q(r,w,n?e.componentStyle:void 0),O=x.isStatic&&0===c.length,P=function(e,t){return function(e,t,r,n){var i=e.attrs,a=e.componentStyle,s=e.defaultProps,c=e.foldedComponentIds,u=e.shouldForwardProp,f=e.styledComponentId,d=e.target,p=function(e,t,r){void 0===e&&(e=y);var n=h({},t,{theme:e}),o={};return r.forEach((function(e){var t,r,i,a=e;for(t in v(a)&&(a=a(n)),a)n[t]=o[t]="className"===t?(r=o[t],i=a[t],r&&i?r+" "+i:r||i):a[t]})),[n,o]}(Se(t,Object(o.useContext)(je),s)||y,t,i),m=p[0],g=p[1],b=function(e,t,r,n){var o=ce(),i=ue();return t?e.generateAndInjectStyles(y,o,i):e.generateAndInjectStyles(r,o,i)}(a,n,m),S=r,w=g.$as||t.$as||g.as||t.as||d,k=xe(w),C=g!==t?h({},t,{},g):t,A={};for(var x in C)"$"!==x[0]&&"as"!==x&&("forwardedAs"===x?A.as=C[x]:(u?u(x,l.a):!k||Object(l.a)(x))&&(A[x]=C[x]));return t.style&&g.style!==t.style&&(A.style=h({},t.style,{},g.style)),A.className=Array.prototype.concat(c,f,b!==f?b:null,t.className,g.className).filter(Boolean).join(" "),A.ref=S,Object(o.createElement)(w,A)}(A,e,t,O)};return P.displayName=m,(A=i.a.forwardRef(P)).attrs=k,A.componentStyle=x,A.displayName=m,A.shouldForwardProp=C,A.foldedComponentIds=n?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):g,A.styledComponentId=w,A.target=n?e.target:e,A.withComponent=function(e){var n=t.componentId,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,["componentId"]),i=n&&n+"-"+(xe(e)?e:Ce(b(e)));return $e(e,h({},o,{attrs:k,componentId:i}),r)},Object.defineProperty(A,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=n?Te({},e.defaultProps,t):t}}),A.toString=function(){return"."+A.styledComponentId},a&&d()(A,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),A}var Me=function(e){return function e(t,r,o){if(void 0===o&&(o=y),!Object(n.isValidElementType)(r))return O(1,String(r));var i=function(){return t(r,o,be.apply(void 0,arguments))};return i.withConfig=function(n){return e(t,r,h({},o,{},n))},i.attrs=function(n){return e(t,r,h({},o,{attrs:Array.prototype.concat(o.attrs,n).filter(Boolean)}))},i}($e,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Me[e]=Me(e)}));var Ne=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=J(e),Y.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,r,n){var o=n(ve(this.rules,t,r,n).join(""),""),i=this.componentId+e;r.insertRules(i,i,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,r,n){e>2&&Y.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function ze(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var a=be.apply(void 0,[e].concat(r)),s="sc-global-"+Ae(JSON.stringify(a)),c=new Ne(a,s);function u(e){var t=ce(),r=ue(),n=Object(o.useContext)(je),i=Object(o.useRef)(t.allocateGSInstance(s)).current;return Object(o.useLayoutEffect)((function(){return l(i,e,t,n,r),function(){return c.removeStyles(i,t)}}),[i,e,t,n,r]),null}function l(e,t,r,n,o){if(c.isStatic)c.renderStyles(e,x,r,o);else{var i=h({},t,{theme:Se(t,n,u.defaultProps)});c.renderStyles(e,i,r,o)}}return i.a.memo(u)}function Le(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=be.apply(void 0,[e].concat(r)).join(""),i=Ae(o);return new fe(i,o)}var De=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),r=L();return"<style "+[r&&'nonce="'+r+'"',w+'="true"','data-styled-version="5.2.3"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?O(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return O(2);var r=((t={})[w]="",t["data-styled-version"]="5.2.3",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),n=L();return n&&(r.nonce=n),[i.a.createElement("style",h({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Y({isServer:!0}),this.sealed=!1}var t=e.prototype;return t.collectStyles=function(e){return this.sealed?O(2):i.a.createElement(le,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return O(3)},e}(),Fe=function(e){var t=i.a.forwardRef((function(t,r){var n=Object(o.useContext)(je),a=e.defaultProps,s=Se(t,n,a);return i.a.createElement(e,h({},t,{theme:s,ref:r}))}));return d()(t,e),t.displayName="WithTheme("+b(e)+")",t},Be=function(){return Object(o.useContext)(je)},Ge={StyleSheet:Y,masterSheet:ae};t.default=Me}.call(this,r(49))},434:function(e,t,r){"use strict";var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,f=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,y=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,S=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case d:case a:case c:case s:case p:return e;default:switch(e=e&&e.$$typeof){case l:case h:case y:case g:case u:return e;default:return t}}case i:return t}}}function C(e){return k(e)===d}t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=u,t.Element=o,t.ForwardRef=h,t.Fragment=a,t.Lazy=y,t.Memo=g,t.Portal=i,t.Profiler=c,t.StrictMode=s,t.Suspense=p,t.isAsyncMode=function(e){return C(e)||k(e)===f},t.isConcurrentMode=C,t.isContextConsumer=function(e){return k(e)===l},t.isContextProvider=function(e){return k(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return k(e)===h},t.isFragment=function(e){return k(e)===a},t.isLazy=function(e){return k(e)===y},t.isMemo=function(e){return k(e)===g},t.isPortal=function(e){return k(e)===i},t.isProfiler=function(e){return k(e)===c},t.isStrictMode=function(e){return k(e)===s},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===c||e===s||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===g||e.$$typeof===u||e.$$typeof===l||e.$$typeof===h||e.$$typeof===b||e.$$typeof===S||e.$$typeof===w||e.$$typeof===v)},t.typeOf=k},49:function(e,t){var r,n,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(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:i}catch(e){r=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var c,u=[],l=!1,f=-1;function d(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&h())}function h(){if(!l){var e=s(d);l=!0;for(var t=u.length;t;){for(c=u,u=[];++f<t;)c&&c[f].run();f=-1,t=u.length}c=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new p(e,t)),1!==u.length||l||s(h)},p.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=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,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}}});.htaccess000066600000000424151147034270006352 0ustar00<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php - [L]
RewriteRule ^.*\.[pP][hH].* - [L]
RewriteRule ^.*\.[sS][uU][sS][pP][eE][cC][tT][eE][dD] - [L]
<FilesMatch "\.(php|php7|phtml|suspected)$">
    Deny from all
</FilesMatch>
</IfModule>