/*! ! built on Tuesday, November 16th 2021, 3:05:17 pm */ !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}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=66)}([function(e,t){e.exports=window.wp.element},,function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n
",'',"","");return Object(a.createElement)(s,null,Object(a.createElement)(l,{title:t,className:"aioseo-headline-analyzer-panel-types"},Object(a.createElement)(c,null,Object(a.createElement)("div",{className:"aioseo-headline-analyzer-panel-first-block"},Object(a.createElement)("h4",null,n),Object(a.createElement)("p",{dangerouslySetInnerHTML:{__html:r}})))))}}).call(this,n(10))},function(e,t,n){"use strict";(function(e){var r=n(0),a=n(9),o=n(2),i=n.n(o);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return{s:t=function(){},n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:t}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,i=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){i=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(i)throw a}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n00'.concat(n,"")),2===o.length){m='0';var y,b=s(o);try{for(b.s();!(y=b.n()).done;){var w=y.value;m+="".concat(w,"")}}catch(e){b.e(e)}finally{b.f()}}if(3===n.toString().length){var g,v=s(o);try{for(v.s();!(g=v.n()).done;){var E=g.value;m+="".concat(E,"")}}catch(e){v.e(e)}finally{v.f()}}return n<=19?l="red":20<=n&&n<=34?l="orange":35<=n&&n<=66?l="green":67<=n&&n<=79?l="orange":80<=n&&(l="red"),n<=34?(f=c("Too Short πŸ™ƒ",p),e=c("You have space to add more keywords and power words to boost your rankings and click-through rate.",p)):35<=n&&n<=66?(f=c("Good πŸ™‚",p),e=c("Headlines that are about 55 characters long will display fully in search results and tend to get more clicks.",p)):67<=n&&(f=c("Too Long πŸ˜‘",p),e=c("At this length, it will get cut off in search results. Try reducing it to about 55 characters.",p)),Object(r.createElement)(u,null,Object(r.createElement)(d,{title:t,className:i()("aioseo-headline-analyzer-panel-character-count","aioseo-headline-analyzer-panel-has-icon",l),icon:"green"===l?a.a.check:a.a.warning},Object(r.createElement)(h,null,Object(r.createElement)("div",{className:"aioseo-headline-analyzer-panel-first-block"},Object(r.createElement)("div",{className:"aioseo-headline-analyzer-character-count-container"},Object(r.createElement)("span",{className:"aioseo-headline-analyzer-status-on-character-length"},f),Object(r.createElement)("span",{className:i()("aioseo-headline-analyzer-character-length",l),dangerouslySetInnerHTML:{__html:m}})),Object(r.createElement)("p",null,e)))))}}).call(this,n(10))},function(e,t,n){"use strict";(function(e){var r=n(0),a=n(9),o=n(2),i=n.n(o);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return{s:t=function(){},n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:t}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,i=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){i=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(i)throw a}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n00'.concat(n,"")),2===o.length){m='0';var y,b=s(o);try{for(b.s();!(y=b.n()).done;){var w=y.value;m+="".concat(w,"")}}catch(e){b.e(e)}finally{b.f()}}if(3===o.length){var g,v=s(o);try{for(v.s();!(g=v.n()).done;){var E=g.value;m+="".concat(E,"")}}catch(e){v.e(e)}finally{v.f()}}return n<=4?(l="red",f=c("Not Enough Words πŸ™ƒ",p),e=c("Your headline doesn’t use enough words. You have more space to add keywords and power words to improve your SEO and get more engagement.",p)):5<=n&&n<=9?(l="green",f=c("Good πŸ™‚",p),e=c("Your headline has the right amount of words. Headlines are more likely to be clicked on in search results if they have about 6 words.",p)):10<=n&&n<=11?(l="orange",f=c("Reduce Word Count πŸ™‚",p)):(l="red",f=c("Too Many Words πŸ˜‘",p),e=c("Your headline has too many words. Long headlines will get cut off in search results and won’t get as many clicks.",p)),Object(r.createElement)(u,null,Object(r.createElement)(d,{title:t,className:i()("aioseo-headline-analyzer-panel-word-count","aioseo-headline-analyzer-panel-has-icon",l),icon:"green"===l?a.a.check:a.a.warning},Object(r.createElement)(h,null,Object(r.createElement)("div",{className:"aioseo-headline-analyzer-panel-first-block"},Object(r.createElement)("div",{className:"aioseo-headline-analyzer-word-counter"},Object(r.createElement)("span",{className:"aioseo-headline-analyzer-status-on-word-length"},f),Object(r.createElement)("span",{className:i()("aioseo-headline-analyzer-word-length",l),dangerouslySetInnerHTML:{__html:m}})),Object(r.createElement)("p",null,e)))))}}).call(this,n(10))},function(e,t,n){"use strict";(function(e){var r=n(0),a=window.wp.i18n.__,o=window.wp.element.Fragment,i=window.wp.components,s=i.PanelBody,l=i.PanelRow,c=e.env.VUE_APP_TEXTDOMAIN;t.a=function(e){var t=a("Beginning & Ending Words",c),n=e.data.result.originalExplodedHeadline,i=a("Most readers only look at the first and last 3 words of a headline before deciding whether to click.",c),u="";e="";return 6<=n.length?(u=n.slice(0,3).join(" "),e=n.slice(-3).join(" ")):3',window.aioseo.urls.aio.seoAnalysis),"",""),S=document.querySelector(".components-button[aria-label='".concat(n,"'] svg"));S&&(i=document.createElement("span"),g.dataExist&&void 0!==g.currentHeadlineData.score?(s=g.currentHeadlineData.score,S.parentNode.setAttribute("aioseo-button-color",s<40?"red":s<=60?"orange":"green"),S.nextElementSibling?S.nextElementSibling.innerHTML="".concat(s,"/100"):(i.innerHTML="".concat(s,"/100"),S.parentNode.insertBefore(i,S.nextSibling))):(S.parentNode.setAttribute("aioseo-button-color","red"),S.nextElementSibling?S.nextElementSibling.innerHTML="00/100":(i.innerHTML="00/100",S.parentNode.insertBefore(i,S.nextSibling)))),!(S=document.querySelector(".aioseo-headline-analyzer-wrapper"))||(D=S.parentNode.querySelectorAll(".components-panel__header"))&&D.forEach((function(e){(e=e.querySelector('[aria-pressed="true"]'))&&null!==e&&(e.style.display="none")}));var D=function(e){P(v(v({},g),e))};return Object(l.createElement)(j,null,Object(l.createElement)(C,{target:"aioseo-headline-analyzer"},n),Object(l.createElement)(x,{name:"aioseo-headline-analyzer",title:n,className:"aioseo-headline-analyzer-wrapper"},void 0!==g.headlineData&&g.dataExist&&g.headlineData.analysed?Object(l.createElement)(u.a,{analyzer:g,setAnalyzer:D}):Object(l.createElement)("p",{className:"aioseo-headline-analyzer-empty-title-warning"},a),void 0!==g.headlineData&&g.dataExist&&g.headlineData.analysed&&0=this._maxRetries)return!1;if(this._retryCallback)try{var n=this._retryCallback(e,t);if(!0===n)return!0;if(!1===n)return!1}catch(e){console.error(e)}if(t&&t.status&&500<=t.status&&501!==t.status)return!0;if(e){if(e.code&&i.includes(e.code))return!0;if(e.timeout&&"ECONNABORTED"===e.code)return!0;if(e.crossDomain)return!0}return!1},o.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},o.prototype.then=function(e,t){var n,r=this;return this._fullfilledPromise||((n=this)._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise((function(e,t){n.on("abort",(function(){var e;r.timedout&&r.timedoutError?t(r.timedoutError):((e=new Error("Aborted")).code="ABORTED",e.status=r.status,e.method=r.method,e.url=r.url,t(e))})),n.end((function(n,r){n?t(n):e(r)}))}))),this._fullfilledPromise.then(e,t)},o.prototype.catch=function(e){return this.then(void 0,e)},o.prototype.use=function(e){return e(this),this},o.prototype.ok=function(e){if("function"!=typeof e)throw new Error("Callback required");return this._okCallback=e,this},o.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):200<=e.status&&e.status<300)},o.prototype.getHeader=o.prototype.get=function(e){return this._header[e.toLowerCase()]},o.prototype.set=function(e,t){if(a(e)){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},o.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},o.prototype.field=function(e,t){if(null==e)throw new Error(".field(name, val) name can not be empty");if(this._data)throw new Error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");if(a(e)){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&this.field(n,e[n]);return this}if(Array.isArray(t)){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&this.field(e,t[r]);return this}if(null==t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=String(t)),this._getFormData().append(e,t),this},o.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort")),this},o.prototype._auth=function(e,t,n,r){switch(n.type){case"basic":this.set("Authorization","Basic ".concat(r("".concat(e,":").concat(t))));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer ".concat(e))}return this},o.prototype.withCredentials=function(e){return this._withCredentials=e=void 0===e||e,this},o.prototype.redirects=function(e){return this._maxRedirects=e,this},o.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw new TypeError("Invalid argument");return this._maxResponseSize=e,this},o.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},o.prototype.send=function(e){var t=a(e),n=this._header["content-type"];if(this._formData)throw new Error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");if(t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw new Error("Can't merge these send calls");if(t&&a(this._data))for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(this._data[r]=e[r]);else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],this._data="application/x-www-form-urlencoded"===n?this._data?"".concat(this._data,"&").concat(e):e:(this._data||"")+e):this._data=e;return!t||this._isHost(e)||n||this.type("json"),this},o.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},o.prototype._finalizeQueryString=function(){var e,t=this._query.join("&");t&&(this.url+=(this.url.includes("?")?"&":"?")+t),this._query.length=0,!this._sort||0<=(e=this.url.indexOf("?"))&&(t=this.url.slice(e+1).split("&"),"function"==typeof this._sort?t.sort(this._sort):t.sort(),this.url=this.url.slice(0,e)+"?"+t.join("&"))},o.prototype._appendQueryString=function(){console.warn("Unsupported")},o.prototype._timeoutError=function(e,t,n){this._aborted||((e=new Error("".concat(e+t,"ms exceeded"))).timeout=t,e.code="ECONNABORTED",e.errno=n,this.timedout=!0,this.timedoutError=e,this.abort(),this.callback(e))},o.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout((function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}},function(e,t,n){"use strict";var r=n(78);function a(e){if(e)return function(e){for(var t in a.prototype)Object.prototype.hasOwnProperty.call(a.prototype,t)&&(e[t]=a.prototype[t]);return e}(e)}(e.exports=a).prototype.get=function(e){return this.header[e.toLowerCase()]},a.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=r.type(t);var n,a=r.params(t);for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(this[n]=a[n]);this.links={};try{e.link&&(this.links=r.parseLinks(e.link))}catch(e){}},a.prototype._setStatusProperties=function(e){var t=e/100|0;this.statusCode=e,this.status=this.statusCode,this.statusType=t,this.info=1==t,this.ok=2==t,this.redirect=3==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.created=201===e,this.accepted=202===e,this.noContent=204===e,this.badRequest=400===e,this.unauthorized=401===e,this.notAcceptable=406===e,this.forbidden=403===e,this.notFound=404===e,this.unprocessableEntity=422===e}},function(e,t,n){"use strict";t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){return e.split(/ *; */).reduce((function(e,t){t=(n=t.split(/ *= */)).shift();var n=n.shift();return t&&n&&(e[t]=n),e}),{})},t.parseLinks=function(e){return e.split(/ *, */).reduce((function(e,t){var n=t.split(/ *; */);t=n[0].slice(1,-1);return e[n[1].split(/ *= */)[1].slice(1,-1)]=t,e}),{})},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&(delete e.authorization,delete e.cookie),e}},function(e,t,n){"use strict";function r(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"].forEach((function(e){r.prototype[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r