%PDF- %PDF-
Direktori : /home/q/g/b/qgbqkvz/www/wp-content/plugins/wordpress-seo/js/dist/ |
Current File : /home/q/g/b/qgbqkvz/www/wp-content/plugins/wordpress-seo/js/dist/new-settings.js |
!function(e){var t={};function r(s){if(t[s])return t[s].exports;var n=t[s]={i:s,l:!1,exports:{}};return e[s].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=t,r.d=function(e,t,s){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s})},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 s=Object.create(null);if(r.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(s,n,function(t){return e[t]}.bind(null,n));return s},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=289)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.React},function(e,t){e.exports=window.lodash},,function(e,t){e.exports=window.wp.data},,function(e,t){e.exports=window.yoast.styledComponents},function(e,t){e.exports=window.yoast.uiLibrary},,function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,r.apply(this,arguments)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},,function(e,t){e.exports=window.wp.components},,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return c})),r.d(t,"c",(function(){return m})),r.d(t,"d",(function(){return p})),r.d(t,"e",(function(){return l}));var s,n,a=r(3),o=r(27),i=((n=i||{})[n.None=0]="None",n[n.RenderStrategy=1]="RenderStrategy",n[n.Static=2]="Static",n),c=((s=c||{})[s.Unmount=0]="Unmount",s[s.Hidden=1]="Hidden",s);function l({ourProps:e,theirProps:t,slot:r,defaultTag:s,features:n,visible:a=!0,name:i}){let c=d(t,e);if(a)return u(c,r,s,i);let l=null!=n?n:0;if(2&l){let{static:e=!1,...t}=c;if(e)return u(t,r,s,i)}if(1&l){let{unmount:e=!0,...t}=c;return Object(o.a)(e?0:1,{0:()=>null,1:()=>u({...t,hidden:!0,style:{display:"none"}},r,s,i)})}return u(c,r,s,i)}function u(e,t={},r,s){let{as:n=r,children:o,refName:i="ref",...c}=b(e,["unmount","static"]),l=void 0!==e.ref?{[i]:e.ref}:{},u="function"==typeof o?o(t):o;c.className&&"function"==typeof c.className&&(c.className=c.className(t));let p={};if(t){let e=!1,r=[];for(let[s,n]of Object.entries(t))"boolean"==typeof n&&(e=!0),!0===n&&r.push(s);e&&(p["data-headlessui-state"]=r.join(" "))}if(n===a.Fragment&&Object.keys(m(c)).length>0){if(!Object(a.isValidElement)(u)||Array.isArray(u)&&u.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${s} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(c).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(a.cloneElement)(u,Object.assign({},d(u.props,m(b(c,["ref"]))),p,l,function(...e){return{ref:e.every(e=>null==e)?void 0:t=>{for(let r of e)null!=r&&("function"==typeof r?r(t):r.current=t)}}}(u.ref,l.ref)))}return Object(a.createElement)(n,Object.assign({},b(c,["ref"]),n!==a.Fragment&&l,n!==a.Fragment&&p),u)}function d(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let s of e)for(let e in s)e.startsWith("on")&&"function"==typeof s[e]?(null!=r[e]||(r[e]=[]),r[e].push(s[e])):t[e]=s[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(r).map(e=>[e,void 0])));for(let e in r)Object.assign(t,{[e](t,...s){let n=r[e];for(let e of n){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...s)}}});return t}function p(e){var t;return Object.assign(Object(a.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function m(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function b(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var s=r(3),n=r.n(s),a=r(36);let o=function(e){let t=Object(a.a)(e);return n.a.useCallback((...e)=>t.current(...e),[t])}},function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return a}));var s=r(0);function n(e){return e.charAt(0).toUpperCase()+e.slice(1)}function a(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(s.createInterpolateElement)(e,{a:Object(s.createElement)("a",{id:r,href:t,target:"_blank",rel:"noopener noreferrer"})})}},function(e,t){e.exports=window.wp.apiFetch},function(e,t){e.exports=window.wp.url},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var s=r(3);let n=r(113).a?s.useEffect:s.useLayoutEffect},function(e,t,r){var s;!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var s=arguments[t];if(s){var a=typeof s;if("string"===a||"number"===a)e.push(s);else if(Array.isArray(s)&&s.length){var o=n.apply(null,s);o&&e.push(o)}else if("object"===a)for(var i in s)r.call(s,i)&&s[i]&&e.push(i)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(s=function(){return n}.apply(t,[]))||(e.exports=s)}()},function(e,t,r){"use strict";function s(e,t,...r){if(e in t){let s=t[e];return"function"==typeof s?s(...r):s}let n=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(n,s),n}r.d(t,"a",(function(){return s}))},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var s,n=((s=n||{}).Space=" ",s.Enter="Enter",s.Escape="Escape",s.Backspace="Backspace",s.Delete="Delete",s.ArrowLeft="ArrowLeft",s.ArrowUp="ArrowUp",s.ArrowRight="ArrowRight",s.ArrowDown="ArrowDown",s.Home="Home",s.End="End",s.PageUp="PageUp",s.PageDown="PageDown",s.Tab="Tab",s)},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return a}));var s,n=((s=n||{})[s.First=0]="First",s[s.Previous=1]="Previous",s[s.Next=2]="Next",s[s.Last=3]="Last",s[s.Specific=4]="Specific",s[s.Nothing=5]="Nothing",s);function a(e,t){let r=t.resolveItems();if(r.length<=0)return null;let s=t.resolveActiveIndex(),n=null!=s?s:-1,a=(()=>{switch(e.focus){case 0:return r.findIndex(e=>!t.resolveDisabled(e));case 1:{let e=r.slice().reverse().findIndex((e,r,s)=>!(-1!==n&&s.length-r-1>=n||t.resolveDisabled(e)));return-1===e?e:r.length-1-e}case 2:return r.findIndex((e,r)=>!(r<=n||t.resolveDisabled(e)));case 3:{let e=r.slice().reverse().findIndex(e=>!t.resolveDisabled(e));return-1===e?e:r.length-1-e}case 4:return r.findIndex(r=>t.resolveId(r)===e.id);case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}})();return-1===a?s:a}},function(e,t){e.exports=window.yoast.replacementVariableEditor},function(e,t,r){"use strict";r.d(t,"a",(function(){return l})),r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return c}));var s=r(3),n=r.n(s);let a=Object(s.createContext)(null);a.displayName="OpenClosedContext";var o,i=((o=i||{})[o.Open=0]="Open",o[o.Closed=1]="Closed",o);function c(){return Object(s.useContext)(a)}function l({value:e,children:t}){return n.a.createElement(a.Provider,{value:e},t)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var s=r(3),n=r(25);function a(e){let t=Object(s.useRef)(e);return Object(n.a)(()=>{t.current=e},[e]),t}},function(e,t,r){"use strict";function s(){let e=[],t=[],r={enqueue(e){t.push(e)},addEventListener:(e,t,s,n)=>(e.addEventListener(t,s,n),r.add(()=>e.removeEventListener(t,s,n))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return r.add(()=>cancelAnimationFrame(t))},nextFrame:(...e)=>r.requestAnimationFrame(()=>r.requestAnimationFrame(...e)),setTimeout(...e){let t=setTimeout(...e);return r.add(()=>clearTimeout(t))},microTask(...e){let t={current:!0};return function(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}(()=>{t.current&&e[0]()}),r.add(()=>{t.current=!1})},add:t=>(e.push(t),()=>{let r=e.indexOf(t);if(r>=0){let[t]=e.splice(r,1);t()}}),dispose(){for(let t of e.splice(0))t()},async workQueue(){for(let e of t.splice(0))await e()}};return r}r.d(t,"a",(function(){return s}))},,,,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var s=r(3),n=r(21);let a=Symbol();function o(...e){let t=Object(s.useRef)(e);Object(s.useEffect)(()=>{t.current=e},[e]);let r=Object(n.a)(e=>{for(let r of t.current)null!=r&&("function"==typeof r?r(e):r.current=e)});return e.every(e=>null==e||(null==e?void 0:e[a]))?void 0:r}},,,,,,,,,,,function(e,t,r){"use strict";(function(e){r.d(t,"createEntityAdapter",(function(){return x})),r.d(t,"createSlice",(function(){return w})),r.d(t,"nanoid",(function(){return S}));var s,n=r(84),a=(r(159),r(221)),o=(r(237),s=function(e,t){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(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}s(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),i=function(e,t){for(var r=0,s=t.length,n=e.length;r<s;r++,n++)e[n]=t[r];return e},c=Object.defineProperty,l=(Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols),u=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,p=function(e,t,r){return t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},m=function(e,t){for(var r in t||(t={}))u.call(t,r)&&p(e,r,t[r]);if(l)for(var s=0,n=l(t);s<n.length;s++)r=n[s],d.call(t,r)&&p(e,r,t[r]);return e},b=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=a.a.apply(void 0,e),s=function(e){for(var t=[],s=1;s<arguments.length;s++)t[s-1]=arguments[s];return r.apply(void 0,i([Object(n.d)(e)?Object(n.a)(e):e],t))};return s};function f(e){return Object(n.e)(e)?Object(n.b)(e,(function(){})):e}function h(e,t){function r(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];if(t){var n=t.apply(void 0,r);if(!n)throw new Error("prepareAction did not return an object");return m(m({type:e,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:e,payload:r[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(t){return t.type===e},r}function y(e){return["type","payload","error","meta"].indexOf(e)>-1}function O(e){var t,r={},s=[],n={addCase:function(e,t){var s="string"==typeof e?e:e.type;if(s in r)throw new Error("addCase cannot be called with two reducers for the same action type");return r[s]=t,n},addMatcher:function(e,t){return s.push({matcher:e,reducer:t}),n},addDefaultCase:function(e){return t=e,n}};return e(n),[r,s,t]}function w(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var r,s="function"==typeof e.initialState?e.initialState:f(e.initialState),a=e.reducers||{},o=Object.keys(a),c={},l={},u={};function d(){var t="function"==typeof e.extraReducers?O(e.extraReducers):[e.extraReducers],r=t[0],a=void 0===r?{}:r,o=t[1],c=void 0===o?[]:o,u=t[2],d=void 0===u?void 0:u,p=m(m({},a),l);return function(e,t,r,s){void 0===r&&(r=[]);var a,o="function"==typeof t?O(t):[t,r,s],c=o[0],l=o[1],u=o[2];if("function"==typeof e)a=function(){return f(e())};else{var d=f(e);a=function(){return d}}function p(e,t){void 0===e&&(e=a());var r=i([c[t.type]],l.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer})));return 0===r.filter((function(e){return!!e})).length&&(r=[u]),r.reduce((function(e,r){if(r){var s;if(Object(n.d)(e))return void 0===(s=r(e,t))?e:s;if(Object(n.e)(e))return Object(n.b)(e,(function(e){return r(e,t)}));if(void 0===(s=r(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return s}return e}),e)}return p.getInitialState=a,p}(s,p,c,d)}return o.forEach((function(e){var r,s,n=a[e],o=t+"/"+e;"reducer"in n?(r=n.reducer,s=n.prepare):r=n,c[e]=r,l[o]=r,u[e]=s?h(o,s):h(o)})),{name:t,reducer:function(e,t){return r||(r=d()),r(e,t)},actions:u,caseReducers:c,getInitialState:function(){return r||(r=d()),r.getInitialState()}}}function _(e){return function(t,r){function s(e){return function(e){if("object"!=typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var r=t;null!==Object.getPrototypeOf(r);)r=Object.getPrototypeOf(r);return t===r}(t=e)&&"string"==typeof t.type&&Object.keys(t).every(y);var t}var a=function(t){s(r)?e(r.payload,t):e(r,t)};return Object(n.d)(t)?(a(t),t):Object(n.b)(t,a)}}function g(e,t){return t(e)}function v(e){return Array.isArray(e)||(e=Object.values(e)),e}function j(e,t,r){for(var s=[],n=[],a=0,o=e=v(e);a<o.length;a++){var i=o[a],c=g(i,t);c in r.entities?n.push({id:c,changes:i}):s.push(i)}return[s,n]}function E(e){function t(t,r){var s=g(t,e);s in r.entities||(r.ids.push(s),r.entities[s]=t)}function r(e,r){for(var s=0,n=e=v(e);s<n.length;s++)t(n[s],r)}function s(t,r){var s=g(t,e);s in r.entities||r.ids.push(s),r.entities[s]=t}function n(e,t){var r=!1;e.forEach((function(e){e in t.entities&&(delete t.entities[e],r=!0)})),r&&(t.ids=t.ids.filter((function(e){return e in t.entities})))}function a(t,r){var s={},n={};t.forEach((function(e){e.id in r.entities&&(n[e.id]={id:e.id,changes:m(m({},n[e.id]?n[e.id].changes:null),e.changes)})})),(t=Object.values(n)).length>0&&t.filter((function(t){return function(t,r,s){var n=s.entities[r.id],a=Object.assign({},n,r.changes),o=g(a,e),i=o!==r.id;return i&&(t[r.id]=o,delete s.entities[r.id]),s.entities[o]=a,i}(s,t,r)})).length>0&&(r.ids=r.ids.map((function(e){return s[e]||e})))}function o(t,s){var n=j(t,e,s),o=n[0];a(n[1],s),r(o,s)}return{removeAll:(i=function(e){Object.assign(e,{ids:[],entities:{}})},c=_((function(e,t){return i(t)})),function(e){return c(e,void 0)}),addOne:_(t),addMany:_(r),setOne:_(s),setMany:_((function(e,t){for(var r=0,n=e=v(e);r<n.length;r++)s(n[r],t)})),setAll:_((function(e,t){e=v(e),t.ids=[],t.entities={},r(e,t)})),updateOne:_((function(e,t){return a([e],t)})),updateMany:_(a),upsertOne:_((function(e,t){return o([e],t)})),upsertMany:_(o),removeOne:_((function(e,t){return n([e],t)})),removeMany:_(n)};var i,c}function x(e){void 0===e&&(e={});var t=m({sortComparer:!1,selectId:function(e){return e.id}},e),r=t.selectId,s=t.sortComparer,n={getInitialState:function(e){return void 0===e&&(e={}),Object.assign({ids:[],entities:{}},e)}},a={getSelectors:function(e){var t=function(e){return e.ids},r=function(e){return e.entities},s=b(t,r,(function(e,t){return e.map((function(e){return t[e]}))})),n=function(e,t){return t},a=function(e,t){return e[t]},o=b(t,(function(e){return e.length}));if(!e)return{selectIds:t,selectEntities:r,selectAll:s,selectTotal:o,selectById:b(r,n,a)};var i=b(e,r);return{selectIds:b(e,t),selectEntities:i,selectAll:b(e,s),selectTotal:b(e,o),selectById:b(i,n,a)}}},o=s?function(e,t){var r=E(e);function s(t,r){var s=(t=v(t)).filter((function(t){return!(g(t,e)in r.entities)}));0!==s.length&&i(s,r)}function n(e,t){0!==(e=v(e)).length&&i(e,t)}function a(t,r){for(var s=!1,n=0,a=t;n<a.length;n++){var o=a[n],i=r.entities[o.id];if(i){s=!0,Object.assign(i,o.changes);var l=e(i);o.id!==l&&(delete r.entities[o.id],r.entities[l]=i)}}s&&c(r)}function o(t,r){var n=j(t,e,r),o=n[0];a(n[1],r),s(o,r)}function i(t,r){t.forEach((function(t){r.entities[e(t)]=t})),c(r)}function c(r){var s=Object.values(r.entities);s.sort(t);var n=s.map(e);(function(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length&&r<t.length;r++)if(e[r]!==t[r])return!1;return!0})(r.ids,n)||(r.ids=n)}return{removeOne:r.removeOne,removeMany:r.removeMany,removeAll:r.removeAll,addOne:_((function(e,t){return s([e],t)})),updateOne:_((function(e,t){return a([e],t)})),upsertOne:_((function(e,t){return o([e],t)})),setOne:_((function(e,t){return n([e],t)})),setMany:_(n),setAll:_((function(e,t){e=v(e),t.entities={},t.ids=[],s(e,t)})),addMany:_(s),updateMany:_(a),upsertMany:_(o)}}(r,s):E(r);return m(m(m({selectId:r,sortComparer:s},n),a),o)}"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 r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];var n=e.apply(this,r)||this;return Object.setPrototypeOf(n,t.prototype),n}o(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];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 S=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t};Object.assign;var k="listenerMiddleware";h(k+"/add"),h(k+"/removeAll"),h(k+"/remove"),Object(n.c)()}).call(this,r(226))},,function(e,t,r){"use strict";r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return b})),r.d(t,"c",(function(){return w})),r.d(t,"d",(function(){return f})),r.d(t,"e",(function(){return h})),r.d(t,"f",(function(){return O}));var s=r(37),n=r(27),a=r(85);let o=["[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 i,c,l,u=((l=u||{})[l.First=1]="First",l[l.Previous=2]="Previous",l[l.Next=4]="Next",l[l.Last=8]="Last",l[l.WrapAround=16]="WrapAround",l[l.NoScroll=32]="NoScroll",l),d=((c=d||{})[c.Error=0]="Error",c[c.Overflow=1]="Overflow",c[c.Success=2]="Success",c[c.Underflow=3]="Underflow",c),p=((i=p||{})[i.Previous=-1]="Previous",i[i.Next=1]="Next",i);function m(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(o))}var b=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(b||{});function f(e,t=0){var r;return e!==(null==(r=Object(a.a)(e))?void 0:r.body)&&Object(n.a)(t,{0:()=>e.matches(o),1(){let t=e;for(;null!==t;){if(t.matches(o))return!0;t=t.parentElement}return!1}})}function h(e){let t=Object(a.a)(e);Object(s.a)().nextFrame(()=>{t&&!f(t.activeElement,0)&&function(e){null==e||e.focus({preventScroll:!0})}(e)})}let y=["textarea","input"].join(",");function O(e,t=(e=>e)){return e.slice().sort((e,r)=>{let s=t(e),n=t(r);if(null===s||null===n)return 0;let a=s.compareDocumentPosition(n);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function w(e,t){return function(e,t,r=!0,s=null){let n=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,a=Array.isArray(e)?r?O(e):e:m(e);s=null!=s?s:n.activeElement;let o,i=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,a.indexOf(s))-1;if(4&t)return Math.max(0,a.indexOf(s))+1;if(8&t)return a.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=32&t?{preventScroll:!0}:{},u=0,d=a.length;do{if(u>=d||u+d<=0)return 0;let e=c+u;if(16&t)e=(e+d)%d;else{if(e<0)return 3;if(e>=d)return 1}o=a[e],null==o||o.focus(l),u+=i}while(o!==n.activeElement);return 6&t&&function(e){var t,r;return null!=(r=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,y))&&r}(o)&&o.select(),o.hasAttribute("tabindex")||o.setAttribute("tabindex","0"),2}(m(),t,!0,e)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var s=r(3),n=r(37);function a(){let[e]=Object(s.useState)(n.a);return Object(s.useEffect)(()=>()=>e.dispose(),[e]),e}},function(e,t){e.exports=window.wp.domReady},,,,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var s,n=r(3),a=r.n(n),o=r(25),i=r(98);let c=0;function l(){return++c}let u=null!=(s=a.a.useId)?s:function(){let e=Object(i.a)(),[t,r]=a.a.useState(e?l:null);return Object(o.a)(()=>{null===t&&r(l())},[t]),null!=t?""+t:void 0}},,,,,,function(e,t,r){"use strict";function s(e){for(var t=arguments.length,r=Array(t>1?t-1:0),s=1;s<t;s++)r[s-1]=arguments[s];throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function n(e){return!!e&&!!e[q]}function a(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===H}(e)||Array.isArray(e)||!!e[W]||!!e.constructor[W]||d(e)||p(e))}function o(e,t,r){void 0===r&&(r=!1),0===i(e)?(r?Object.keys:G)(e).forEach((function(s){r&&"symbol"==typeof s||t(s,e[s],e)})):e.forEach((function(r,s){return t(s,r,e)}))}function i(e){var t=e[q];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:d(e)?2:p(e)?3:0}function c(e,t){return 2===i(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t,r){var s=i(e);2===s?e.set(t,r):3===s?(e.delete(t),e.add(r)):e[t]=r}function u(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e){return U&&e instanceof Map}function p(e){return V&&e instanceof Set}function m(e){return e.o||e.t}function b(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Y(e);delete t[q];for(var r=G(t),s=0;s<r.length;s++){var n=r[s],a=t[n];!1===a.writable&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[n]})}return Object.create(Object.getPrototypeOf(e),t)}function f(e,t){return void 0===t&&(t=!1),y(e)||n(e)||!a(e)||(i(e)>1&&(e.set=e.add=e.clear=e.delete=h),Object.freeze(e),t&&o(e,(function(e,t){return f(t,!0)}),!0)),e}function h(){s(2)}function y(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function O(e){var t=K[e];return t||s(18,e),t}function w(){return $}function _(e,t){t&&(O("Patches"),e.u=[],e.s=[],e.v=t)}function g(e){v(e),e.p.forEach(E),e.p=null}function v(e){e===$&&($=e.l)}function j(e){return $={p:[],l:$,h:e,m:!0,_:0}}function E(e){var t=e[q];0===t.i||1===t.i?t.j():t.O=!0}function x(e,t){t._=t.p.length;var r=t.p[0],n=void 0!==e&&e!==r;return t.h.g||O("ES5").S(t,e,n),n?(r[q].P&&(g(t),s(4)),a(e)&&(e=S(t,e),t.l||T(t,e)),t.u&&O("Patches").M(r[q].t,e,t.u,t.s)):e=S(t,r,[]),g(t),t.u&&t.v(t.u,t.s),e!==z?e:void 0}function S(e,t,r){if(y(t))return t;var s=t[q];if(!s)return o(t,(function(n,a){return k(e,s,t,n,a,r)}),!0),t;if(s.A!==e)return t;if(!s.P)return T(e,s.t,!0),s.t;if(!s.I){s.I=!0,s.A._--;var n=4===s.i||5===s.i?s.o=b(s.k):s.o;o(3===s.i?new Set(n):n,(function(t,a){return k(e,s,n,t,a,r)})),T(e,n,!1),r&&e.u&&O("Patches").R(s,r,e.u,e.s)}return s.o}function k(e,t,r,s,o,i){if(n(o)){var u=S(e,o,i&&t&&3!==t.i&&!c(t.D,s)?i.concat(s):void 0);if(l(r,s,u),!n(u))return;e.m=!1}if(a(o)&&!y(o)){if(!e.h.F&&e._<1)return;S(e,o),t&&t.A.l||T(e,o)}}function T(e,t,r){void 0===r&&(r=!1),e.h.F&&e.m&&f(t,r)}function F(e,t){var r=e[q];return(r?m(r):e)[t]}function L(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var s=Object.getOwnPropertyDescriptor(r,t);if(s)return s;r=Object.getPrototypeOf(r)}}function P(e){e.P||(e.P=!0,e.l&&P(e.l))}function A(e){e.o||(e.o=b(e.t))}function R(e,t,r){var s=d(t)?O("MapSet").N(t,r):p(t)?O("MapSet").T(t,r):e.g?function(e,t){var r=Array.isArray(e),s={i:r?1:0,A:t?t.A:w(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},n=s,a=X;r&&(n=[s],a=J);var o=Proxy.revocable(n,a),i=o.revoke,c=o.proxy;return s.k=c,s.j=i,c}(t,r):O("ES5").J(t,r);return(r?r.A:w()).p.push(s),s}function I(e){return n(e)||s(22,e),function e(t){if(!a(t))return t;var r,s=t[q],n=i(t);if(s){if(!s.P&&(s.i<4||!O("ES5").K(s)))return s.t;s.I=!0,r=M(t,n),s.I=!1}else r=M(t,n);return o(r,(function(t,n){s&&function(e,t){return 2===i(e)?e.get(t):e[t]}(s.t,t)===n||l(r,t,e(n))})),3===n?new Set(r):r}(e)}function M(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return b(e)}function C(){function e(e,t){var r=a[e];return r?r.enumerable=t:a[e]=r={configurable:!0,enumerable:t,get:function(){var t=this[q];return X.get(t,e)},set:function(t){var r=this[q];X.set(r,e,t)}},r}function t(e){for(var t=e.length-1;t>=0;t--){var n=e[t][q];if(!n.P)switch(n.i){case 5:s(n)&&P(n);break;case 4:r(n)&&P(n)}}}function r(e){for(var t=e.t,r=e.k,s=G(r),n=s.length-1;n>=0;n--){var a=s[n];if(a!==q){var o=t[a];if(void 0===o&&!c(t,a))return!0;var i=r[a],l=i&&i[q];if(l?l.t!==o:!u(i,o))return!0}}var d=!!t[q];return s.length!==G(t).length+(d?0:1)}function s(e){var t=e.k;if(t.length!==e.t.length)return!0;var r=Object.getOwnPropertyDescriptor(t,t.length-1);if(r&&!r.get)return!0;for(var s=0;s<t.length;s++)if(!t.hasOwnProperty(s))return!0;return!1}var a={};!function(e,t){K[e]||(K[e]=t)}("ES5",{J:function(t,r){var s=Array.isArray(t),n=function(t,r){if(t){for(var s=Array(r.length),n=0;n<r.length;n++)Object.defineProperty(s,""+n,e(n,!0));return s}var a=Y(r);delete a[q];for(var o=G(a),i=0;i<o.length;i++){var c=o[i];a[c]=e(c,t||!!a[c].enumerable)}return Object.create(Object.getPrototypeOf(r),a)}(s,t),a={i:s?5:4,A:r?r.A:w(),P:!1,I:!1,D:{},l:r,t:t,k:n,o:null,O:!1,C:!1};return Object.defineProperty(n,q,{value:a,writable:!0}),n},S:function(e,r,a){a?n(r)&&r[q].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var r=t[q];if(r){var n=r.t,a=r.k,i=r.D,l=r.i;if(4===l)o(a,(function(t){t!==q&&(void 0!==n[t]||c(n,t)?i[t]||e(a[t]):(i[t]=!0,P(r)))})),o(n,(function(e){void 0!==a[e]||c(a,e)||(i[e]=!1,P(r))}));else if(5===l){if(s(r)&&(P(r),i.length=!0),a.length<n.length)for(var u=a.length;u<n.length;u++)i[u]=!1;else for(var d=n.length;d<a.length;d++)i[d]=!0;for(var p=Math.min(a.length,n.length),m=0;m<p;m++)a.hasOwnProperty(m)||(i[m]=!0),void 0===i[m]&&e(a[m])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?r(e):s(e)}})}r.d(t,"a",(function(){return I})),r.d(t,"c",(function(){return C})),r.d(t,"d",(function(){return n})),r.d(t,"e",(function(){return a}));var N,$,D="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),U="undefined"!=typeof Map,V="undefined"!=typeof Set,B="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,z=D?Symbol.for("immer-nothing"):((N={})["immer-nothing"]=!0,N),W=D?Symbol.for("immer-draftable"):"__$immer_draftable",q=D?Symbol.for("immer-state"):"__$immer_state",H=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),G="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Y=Object.getOwnPropertyDescriptors||function(e){var t={};return G(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},K={},X={get:function(e,t){if(t===q)return e;var r=m(e);if(!c(r,t))return function(e,t,r){var s,n=L(t,r);return n?"value"in n?n.value:null===(s=n.get)||void 0===s?void 0:s.call(e.k):void 0}(e,r,t);var s=r[t];return e.I||!a(s)?s:s===F(e.t,t)?(A(e),e.o[t]=R(e.A.h,s,e)):s},has:function(e,t){return t in m(e)},ownKeys:function(e){return Reflect.ownKeys(m(e))},set:function(e,t,r){var s=L(m(e),t);if(null==s?void 0:s.set)return s.set.call(e.k,r),!0;if(!e.P){var n=F(m(e),t),a=null==n?void 0:n[q];if(a&&a.t===r)return e.o[t]=r,e.D[t]=!1,!0;if(u(r,n)&&(void 0!==r||c(e.t,t)))return!0;A(e),P(e)}return e.o[t]===r&&"number"!=typeof r&&(void 0!==r||t in e.o)||(e.o[t]=r,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==F(e.t,t)||t in e.t?(e.D[t]=!1,A(e),P(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=m(e),s=Reflect.getOwnPropertyDescriptor(r,t);return s?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:s.enumerable,value:r[t]}:s},defineProperty:function(){s(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){s(12)}},J={};o(X,(function(e,t){J[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),J.deleteProperty=function(e,t){return J.set.call(this,e,t,void 0)},J.set=function(e,t,r){return X.set.call(this,e[0],t,r,e[0])};var Q=new(function(){function e(e){var t=this;this.g=B,this.F=!0,this.produce=function(e,r,n){if("function"==typeof e&&"function"!=typeof r){var o=r;r=e;var i=t;return function(e){var t=this;void 0===e&&(e=o);for(var s=arguments.length,n=Array(s>1?s-1:0),a=1;a<s;a++)n[a-1]=arguments[a];return i.produce(e,(function(e){var s;return(s=r).call.apply(s,[t,e].concat(n))}))}}var c;if("function"!=typeof r&&s(6),void 0!==n&&"function"!=typeof n&&s(7),a(e)){var l=j(t),u=R(t,e,void 0),d=!0;try{c=r(u),d=!1}finally{d?g(l):v(l)}return"undefined"!=typeof Promise&&c instanceof Promise?c.then((function(e){return _(l,n),x(e,l)}),(function(e){throw g(l),e})):(_(l,n),x(c,l))}if(!e||"object"!=typeof e){if(void 0===(c=r(e))&&(c=e),c===z&&(c=void 0),t.F&&f(c,!0),n){var p=[],m=[];O("Patches").M(e,c,p,m),n(p,m)}return c}s(21,e)},this.produceWithPatches=function(e,r){if("function"==typeof e)return function(r){for(var s=arguments.length,n=Array(s>1?s-1:0),a=1;a<s;a++)n[a-1]=arguments[a];return t.produceWithPatches(r,(function(t){return e.apply(void 0,[t].concat(n))}))};var s,n,a=t.produce(e,r,(function(e,t){s=e,n=t}));return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(e){return[e,s,n]})):[a,s,n]},"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){a(e)||s(8),n(e)&&(e=I(e));var t=j(this),r=R(this,e,void 0);return r[q].C=!0,v(t),r},t.finishDraft=function(e,t){var r=(e&&e[q]).A;return _(r,t),x(void 0,r)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!B&&s(20),this.g=e},t.applyPatches=function(e,t){var r;for(r=t.length-1;r>=0;r--){var s=t[r];if(0===s.path.length&&"replace"===s.op){e=s.value;break}}r>-1&&(t=t.slice(r+1));var a=O("Patches").$;return n(e)?a(e,t):this.produce(e,(function(e){return a(e,t)}))},e}()),Z=Q.produce;Q.produceWithPatches.bind(Q),Q.setAutoFreeze.bind(Q),Q.setUseProxies.bind(Q),Q.applyPatches.bind(Q),Q.createDraft.bind(Q),Q.finishDraft.bind(Q),t.b=Z},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var s=r(113);function n(e){return s.a?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s="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=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},a=function(){function e(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}return function(t,r,s){return r&&e(t.prototype,r),s&&e(t,s),t}}(),o=l(r(3)),i=l(r(2)),c=l(r(26));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var d={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"},p=["animateOpacity","animationStateClasses","applyInlineTransitions","children","contentClassName","delay","duration","easing","height","onAnimationEnd","onAnimationStart"];function m(e){for(var t=arguments.length,r=Array(t>1?t-1:0),s=1;s<t;s++)r[s-1]=arguments[s];if(!r.length)return e;for(var n={},a=Object.keys(e),o=0;o<a.length;o++){var i=a[o];-1===r.indexOf(i)&&(n[i]=e[i])}return n}function b(e){e.forEach((function(e){return cancelAnimationFrame(e)}))}function f(e){return!isNaN(parseFloat(e))&&isFinite(e)}function h(e){return"string"==typeof e&&e.search("%")===e.length-1&&f(e.substr(0,e.length-1))}function y(e,t){e&&"function"==typeof e&&e(t)}var O=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 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,e));r.animationFrameIDs=[];var s="auto",a="visible";f(e.height)?(s=e.height<0||"0"===e.height?0:e.height,a="hidden"):h(e.height)&&(s="0%"===e.height?0:e.height,a="hidden"),r.animationStateClasses=n({},d,e.animationStateClasses);var o=r.getStaticStateClasses(s);return r.state={animationStateClasses:o,height:s,overflow:a,shouldUseTransitions:!1},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentDidMount",value:function(){var e=this.state.height;this.contentElement&&this.contentElement.style&&this.hideContent(e)}},{key:"componentDidUpdate",value:function(e,t){var r,s,n=this,a=this.props,o=a.delay,i=a.duration,l=a.height,d=a.onAnimationEnd,p=a.onAnimationStart;if(this.contentElement&&l!==e.height){var m;this.showContent(t.height),this.contentElement.style.overflow="hidden";var O=this.contentElement.offsetHeight;this.contentElement.style.overflow="";var w=i+o,_=null,g={height:null,overflow:"hidden"},v="auto"===t.height;f(l)?(_=l<0||"0"===l?0:l,g.height=_):h(l)?(_="0%"===l?0:l,g.height=_):(_=O,g.height="auto",g.overflow=null),v&&(g.height=_,_=O);var j=(0,c.default)((u(m={},this.animationStateClasses.animating,!0),u(m,this.animationStateClasses.animatingUp,"auto"===e.height||l<e.height),u(m,this.animationStateClasses.animatingDown,"auto"===l||l>e.height),u(m,this.animationStateClasses.animatingToHeightZero,0===g.height),u(m,this.animationStateClasses.animatingToHeightAuto,"auto"===g.height),u(m,this.animationStateClasses.animatingToHeightSpecific,g.height>0),m)),E=this.getStaticStateClasses(g.height);this.setState({animationStateClasses:j,height:_,overflow:"hidden",shouldUseTransitions:!v}),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),v?(g.shouldUseTransitions=!0,b(this.animationFrameIDs),this.animationFrameIDs=(r=function(){n.setState(g),y(p,{newHeight:g.height})},(s=[])[0]=requestAnimationFrame((function(){s[1]=requestAnimationFrame((function(){r()}))})),s),this.animationClassesTimeoutID=setTimeout((function(){n.setState({animationStateClasses:E,shouldUseTransitions:!1}),n.hideContent(g.height),y(d,{newHeight:g.height})}),w)):(y(p,{newHeight:_}),this.timeoutID=setTimeout((function(){g.animationStateClasses=E,g.shouldUseTransitions=!1,n.setState(g),"auto"!==l&&n.hideContent(_),y(d,{newHeight:_})}),w))}}},{key:"componentWillUnmount",value:function(){b(this.animationFrameIDs),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),this.timeoutID=null,this.animationClassesTimeoutID=null,this.animationStateClasses=null}},{key:"showContent",value:function(e){0===e&&(this.contentElement.style.display="")}},{key:"hideContent",value:function(e){0===e&&(this.contentElement.style.display="none")}},{key:"getStaticStateClasses",value:function(e){var t;return(0,c.default)((u(t={},this.animationStateClasses.static,!0),u(t,this.animationStateClasses.staticHeightZero,0===e),u(t,this.animationStateClasses.staticHeightSpecific,e>0),u(t,this.animationStateClasses.staticHeightAuto,"auto"===e),t))}},{key:"render",value:function(){var e,t=this,r=this.props,s=r.animateOpacity,a=r.applyInlineTransitions,i=r.children,l=r.className,d=r.contentClassName,b=r.delay,f=r.duration,h=r.easing,y=r.id,O=r.style,w=this.state,_=w.height,g=w.overflow,v=w.animationStateClasses,j=w.shouldUseTransitions,E=n({},O,{height:_,overflow:g||O.overflow});j&&a&&(E.transition="height "+f+"ms "+h+" "+b+"ms",O.transition&&(E.transition=O.transition+", "+E.transition),E.WebkitTransition=E.transition);var x={};s&&(x.transition="opacity "+f+"ms "+h+" "+b+"ms",x.WebkitTransition=x.transition,0===_&&(x.opacity=0));var S=(0,c.default)((u(e={},v,!0),u(e,l,l),e)),k=void 0!==this.props["aria-hidden"]?this.props["aria-hidden"]:0===_;return o.default.createElement("div",n({},m.apply(void 0,[this.props].concat(p)),{"aria-hidden":k,className:S,id:y,style:E}),o.default.createElement("div",{className:d,style:x,ref:function(e){return t.contentElement=e}},i))}}]),t}(o.default.Component);O.propTypes={"aria-hidden":i.default.bool,animateOpacity:i.default.bool,animationStateClasses:i.default.object,applyInlineTransitions:i.default.bool,children:i.default.any.isRequired,className:i.default.string,contentClassName:i.default.string,delay:i.default.number,duration:i.default.number,easing:i.default.string,height:function(e,t,r){var n=e[t];return"number"==typeof n&&n>=0||h(n)||"auto"===n?null:new TypeError('value "'+n+'" of type "'+(void 0===n?"undefined":s(n))+'" is invalid type for '+t+" in "+r+'. It needs to be a positive number, string "auto" or percentage string (e.g. "15%").')},id:i.default.string,onAnimationEnd:i.default.func,onAnimationStart:i.default.func,style:i.default.object},O.defaultProps={animateOpacity:!1,animationStateClasses:d,applyInlineTransitions:!0,duration:250,delay:0,easing:"ease",style:{}},t.default=O},,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var s=r(3);let n={serverHandoffComplete:!1};function a(){let[e,t]=Object(s.useState)(n.serverHandoffComplete);return Object(s.useEffect)(()=>{!0!==e&&t(!0)},[e]),Object(s.useEffect)(()=>{!1===n.serverHandoffComplete&&(n.serverHandoffComplete=!0)},[]),e}},,,,,,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));const s="undefined"==typeof window||"undefined"==typeof document},,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var s=r(3),n=r(25),a=r(36);function o(e,t){let[r,o]=Object(s.useState)(e),i=Object(a.a)(e);return Object(n.a)(()=>o(i.current),[i,o,...t]),r}},,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";function s(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let s=""===(null==t?void 0:t.getAttribute("disabled"));return(!s||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(r))&&s}r.d(t,"a",(function(){return s}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var s=r(3),n=r(25);function a(e){var t;if(e.type)return e.type;let r=null!=(t=e.as)?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()?"button":void 0}function o(e,t){let[r,o]=Object(s.useState)(()=>a(e));return Object(n.a)(()=>{o(a(e))},[e.type,e.as]),Object(n.a)(()=>{r||!t.current||t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&o("button")},[r,t]),r}},,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var s=r(3),n=r(63),a=r(36);function o(e,t,r){let n=Object(a.a)(t);Object(s.useEffect)(()=>{function t(e){n.current(e)}return document.addEventListener(e,t,r),()=>document.removeEventListener(e,t,r)},[e,r])}function i(e,t,r=!0){let a=Object(s.useRef)(!1);function i(r,s){if(!a.current||r.defaultPrevented)return;let o=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),i=s(r);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!Object(n.d)(i,n.b.Loose)&&-1!==i.tabIndex&&r.preventDefault(),t(r,i)}}Object(s.useEffect)(()=>{requestAnimationFrame(()=>{a.current=r})},[r]);let c=Object(s.useRef)(null);o("mousedown",e=>{a.current&&(c.current=e.target)},!0),o("click",e=>{!c.current||(i(e,()=>c.current),c.current=null)},!0),o("blur",e=>i(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return o}));var s,n=r(20),a=((s=a||{})[s.None=1]="None",s[s.Focusable=2]="Focusable",s[s.Hidden=4]="Hidden",s);let o=Object(n.d)((function(e,t){let{features:r=1,...s}=e,a={ref:t,"aria-hidden":2==(2&r)||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&r)&&2!=(2&r)&&{display:"none"}}};return Object(n.e)({ourProps:a,theirProps:s,slot:{},defaultTag:"div",name:"Hidden"})}))},function(e,t){e.exports=window.yoast.redux},,,,,,function(e,t,r){"use strict";var s=Array.isArray,n=Object.keys,a=Object.prototype.hasOwnProperty,o="undefined"!=typeof Element;e.exports=function(e,t){try{return function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){var i,c,l,u=s(t),d=s(r);if(u&&d){if((c=t.length)!=r.length)return!1;for(i=c;0!=i--;)if(!e(t[i],r[i]))return!1;return!0}if(u!=d)return!1;var p=t instanceof Date,m=r instanceof Date;if(p!=m)return!1;if(p&&m)return t.getTime()==r.getTime();var b=t instanceof RegExp,f=r instanceof RegExp;if(b!=f)return!1;if(b&&f)return t.toString()==r.toString();var h=n(t);if((c=h.length)!==n(r).length)return!1;for(i=c;0!=i--;)if(!a.call(r,h[i]))return!1;if(o&&t instanceof Element&&r instanceof Element)return t===r;for(i=c;0!=i--;)if(!("_owner"===(l=h[i])&&t.$$typeof||e(t[l],r[l])))return!1;return!0}return t!=t&&r!=r}(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},,,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var s=r(3),n=r(25),a=r(85);function o({container:e,accept:t,walk:r,enabled:o=!0}){let i=Object(s.useRef)(t),c=Object(s.useRef)(r);Object(s.useEffect)(()=>{i.current=t,c.current=r},[t,r]),Object(n.a)(()=>{if(!e||!o)return;let t=Object(a.a)(e);if(!t)return;let r=i.current,s=c.current,n=Object.assign(e=>r(e),{acceptNode:r}),l=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,n,!1);for(;l.nextNode();)s(l.currentNode)},[e,o,i,c])}},,,,,,,,function(e,t,r){"use strict";function s(e){this._maxSize=e,this.clear()}s.prototype.clear=function(){this._size=0,this._values=Object.create(null)},s.prototype.get=function(e){return this._values[e]},s.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,a=/^\d+$/,o=/^\d/,i=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,c=/^\s*(['"]?)(.*?)(\1)\s*$/,l=new s(512),u=new s(512),d=new s(512);function p(e){return l.get(e)||l.set(e,m(e).map((function(e){return e.replace(c,"$2")})))}function m(e){return e.match(n)||[""]}function b(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function f(e){return!b(e)&&(function(e){return e.match(o)&&!e.match(a)}(e)||function(e){return i.test(e)}(e))}e.exports={Cache:s,split:m,normalizePath:p,setter:function(e){var t=p(e);return u.get(e)||u.set(e,(function(e,r){for(var s=0,n=t.length,a=e;s<n-1;){var o=t[s];if("__proto__"===o||"constructor"===o||"prototype"===o)return e;a=a[t[s++]]}a[t[s]]=r}))},getter:function(e,t){var r=p(e);return d.get(e)||d.set(e,(function(e){for(var s=0,n=r.length;s<n;){if(null==e&&t)return;e=e[r[s++]]}return e}))},join:function(e){return e.reduce((function(e,t){return e+(b(t)||a.test(t)?"["+t+"]":(e?".":"")+t)}),"")},forEach:function(e,t,r){!function(e,t,r){var s,n,a,o,i=e.length;for(n=0;n<i;n++)(s=e[n])&&(f(s)&&(s='"'+s+'"'),a=!(o=b(s))&&/^\d+$/.test(s),t.call(r,s,o,a,n,e))}(Array.isArray(e)?e:m(e),t,r)}}},,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},,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var s=r(3),n=r(21);function a(e,t,r){let[a,o]=Object(s.useState)(r),i=void 0!==e;return[i?e:a,Object(n.a)(e=>(i||o(e),null==t?void 0:t(e)))]}},function(e,t,r){"use strict";function s(e={},t=null,r=[]){for(let[s,o]of Object.entries(e))a(r,n(t,s),o);return r}function n(e,t){return e?e+"["+t+"]":t}function a(e,t,r){if(Array.isArray(r))for(let[s,o]of r.entries())a(e,n(t,s.toString()),o);else r instanceof Date?e.push([t,r.toISOString()]):"boolean"==typeof r?e.push([t,r?"1":"0"]):"string"==typeof r?e.push([t,r]):"number"==typeof r?e.push([t,""+r]):null==r?e.push([t,""]):s(r,t,e)}r.d(t,"a",(function(){return s}))},,,,,function(e,t){e.exports=window.lodash.has},function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},r.apply(this,arguments)}e.exports=r},,,function(e,t,r){var s;!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var s=arguments[t];if(s){var a=typeof s;if("string"===a||"number"===a)e.push(s);else if(Array.isArray(s)){if(s.length){var o=n.apply(null,s);o&&e.push(o)}}else if("object"===a)if(s.toString===Object.prototype.toString)for(var i in s)r.call(s,i)&&s[i]&&e.push(i);else e.push(s.toString())}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(s=function(){return n}.apply(t,[]))||(e.exports=s)}()},,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var s=function(e,t){return e===t};function n(e,t){var r,n,a="object"==typeof t?t:{equalityCheck:t},o=a.equalityCheck,i=void 0===o?s:o,c=a.maxSize,l=void 0===c?1:c,u=a.resultEqualityCheck,d=function(e){return function(t,r){if(null===t||null===r||t.length!==r.length)return!1;for(var s=t.length,n=0;n<s;n++)if(!e(t[n],r[n]))return!1;return!0}}(i),p=1===l?(r=d,{get:function(e){return n&&r(n.key,e)?n.value:"NOT_FOUND"},put:function(e,t){n={key:e,value:t}},getEntries:function(){return n?[n]:[]},clear:function(){n=void 0}}):function(e,t){var r=[];function s(e){var s=r.findIndex((function(r){return t(e,r.key)}));if(s>-1){var n=r[s];return s>0&&(r.splice(s,1),r.unshift(n)),n.value}return"NOT_FOUND"}return{get:s,put:function(t,n){"NOT_FOUND"===s(t)&&(r.unshift({key:t,value:n}),r.length>e&&r.pop())},getEntries:function(){return r},clear:function(){r=[]}}}(l,d);function m(){var t=p.get(arguments);if("NOT_FOUND"===t){if(t=e.apply(null,arguments),u){var r=p.getEntries(),s=r.find((function(e){return u(e.value,t)}));s&&(t=s.value)}p.put(arguments,t)}return t}return m.clearCache=function(){return p.clear()},m}function a(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var r=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: ["+r+"]")}return t}function o(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),s=1;s<t;s++)r[s-1]=arguments[s];var n=function(){for(var t=arguments.length,s=new Array(t),n=0;n<t;n++)s[n]=arguments[n];var o,i=0,c={memoizeOptions:void 0},l=s.pop();if("object"==typeof l&&(c=l,l=s.pop()),"function"!=typeof l)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof l+"]");var u=c,d=u.memoizeOptions,p=void 0===d?r:d,m=Array.isArray(p)?p:[p],b=a(s),f=e.apply(void 0,[function(){return i++,l.apply(null,arguments)}].concat(m)),h=e((function(){for(var e=[],t=b.length,r=0;r<t;r++)e.push(b[r].apply(null,arguments));return o=f.apply(null,e)}));return Object.assign(h,{resultFunc:l,memoizedResultFunc:f,dependencies:b,lastResult:function(){return o},recomputations:function(){return i},resetRecomputations:function(){return i=0}}),h};return n}var i=o(n)},,function(e,t){e.exports=window.lodash.mapValues},,,function(e,t){var r,s,n=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(e){if(r===setTimeout)return setTimeout(e,0);if((r===a||!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:a}catch(e){r=a}try{s="function"==typeof clearTimeout?clearTimeout:o}catch(e){s=o}}();var c,l=[],u=!1,d=-1;function p(){u&&c&&(u=!1,c.length?l=c.concat(l):d=-1,l.length&&m())}function m(){if(!u){var e=i(p);u=!0;for(var t=l.length;t;){for(c=l,l=[];++d<t;)c&&c[d].run();d=-1,t=l.length}c=null,u=!1,function(e){if(s===clearTimeout)return clearTimeout(e);if((s===o||!s)&&clearTimeout)return s=clearTimeout,clearTimeout(e);try{s(e)}catch(t){try{return s.call(null,e)}catch(t){return s.call(this,e)}}}(e)}}function b(e,t){this.fun=e,this.array=t}function f(){}n.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];l.push(new b(e,t)),1!==l.length||u||i(m)},b.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=f,n.addListener=f,n.once=f,n.off=f,n.removeListener=f,n.removeAllListeners=f,n.emit=f,n.prependListener=f,n.prependOnceListener=f,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},,,,,,function(e,t){e.exports=window.lodash.isPlainObject},function(e,t){e.exports=window.lodash.clone},function(e,t){e.exports=window.lodash.toPath},function(e,t,r){"use strict";var s=r(280),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function c(e){return s.isMemo(e)?o:i[e.$$typeof]||n}i[s.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,b=Object.prototype;e.exports=function e(t,r,s){if("string"!=typeof r){if(b){var n=m(r);n&&n!==b&&e(t,n,s)}var o=u(r);d&&(o=o.concat(d(r)));for(var i=c(t),f=c(r),h=0;h<o.length;++h){var y=o[h];if(!(a[y]||s&&s[y]||f&&f[y]||i&&i[y])){var O=p(r,y);try{l(t,y,O)}catch(e){}}}return t}return t}},function(e,t){e.exports=window.lodash.snakeCase},function(e,t,r){"use strict";function s(e){return function(t){var r=t.dispatch,s=t.getState;return function(t){return function(n){return"function"==typeof n?n(r,s,e):t(n)}}}}var n=s();n.withExtraArgument=s,t.a=n},function(e,t,r){"use strict";var s=r(3);const n=s.forwardRef((function(e,t){return s.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),s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"}))}));t.a=n},function(e,t,r){"use strict";var s=r(3);const n=s.forwardRef((function(e,t){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),s.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd"}))}));t.a=n},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return I}));var s=r(3),n=r.n(s),a=r(20),o=r(35),i=r(27),c=r(25);function l(){let e=Object(s.useRef)(!1);return Object(c.a)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var u=r(36),d=r(98),p=r(50),m=r(37);function b(e,...t){e&&t.length>0&&e.classList.add(...t)}function f(e,...t){e&&t.length>0&&e.classList.remove(...t)}var h,y=((h=y||{}).Ended="ended",h.Cancelled="cancelled",h);var O=r(64),w=r(21);function _(e=""){return e.split(" ").filter(e=>e.trim().length>1)}let g=Object(s.createContext)(null);g.displayName="TransitionContext";var v,j=((v=j||{}).Visible="visible",v.Hidden="hidden",v);let E=Object(s.createContext)(null);function x(e){return"children"in e?x(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function S(e,t){let r=Object(u.a)(e),n=Object(s.useRef)([]),o=l(),c=Object(O.a)(),d=Object(w.a)((e,t=a.b.Hidden)=>{let s=n.current.findIndex(({el:t})=>t===e);-1!==s&&(Object(i.a)(t,{[a.b.Unmount](){n.current.splice(s,1)},[a.b.Hidden](){n.current[s].state="hidden"}}),c.microTask(()=>{var e;!x(n)&&o.current&&(null==(e=r.current)||e.call(r))}))}),p=Object(w.a)(e=>{let t=n.current.find(({el:t})=>t===e);return t?"visible"!==t.state&&(t.state="visible"):n.current.push({el:e,state:"visible"}),()=>d(e,a.b.Unmount)}),m=Object(s.useRef)([]),b=Object(s.useRef)(Promise.resolve()),f=Object(s.useRef)({enter:[],leave:[],idle:[]}),h=Object(w.a)((e,r,s)=>{m.current.splice(0),t&&(t.chains.current[r]=t.chains.current[r].filter(([t])=>t!==e)),null==t||t.chains.current[r].push([e,new Promise(e=>{m.current.push(e)})]),null==t||t.chains.current[r].push([e,new Promise(e=>{Promise.all(f.current[r].map(([e,t])=>t)).then(()=>e())})]),"enter"===r?b.current=b.current.then(()=>null==t?void 0:t.wait.current).then(()=>s(r)):s(r)}),y=Object(w.a)((e,t,r)=>{Promise.all(f.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;null==(e=m.current.shift())||e()}).then(()=>r(t))});return Object(s.useMemo)(()=>({children:n,register:p,unregister:d,onStart:h,onStop:y,wait:b,chains:f}),[p,d,n,h,y,f,b])}function k(){}E.displayName="NestingContext";let T=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function F(e){var t;let r={};for(let s of T)r[s]=null!=(t=e[s])?t:k;return r}let L=a.a.RenderStrategy,P=Object(a.d)((function(e,t){let{beforeEnter:r,afterEnter:h,beforeLeave:v,afterLeave:j,enter:k,enterFrom:T,enterTo:P,entered:A,leave:R,leaveFrom:I,leaveTo:M,...C}=e,N=Object(s.useRef)(null),$=Object(p.a)(N,t),D=C.unmount?a.b.Unmount:a.b.Hidden,{show:U,appear:V,initial:B}=function(){let e=Object(s.useContext)(g);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[z,W]=Object(s.useState)(U?"visible":"hidden"),q=function(){let e=Object(s.useContext)(E);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:H,unregister:G}=q,Y=Object(s.useRef)(null);Object(s.useEffect)(()=>H(N),[H,N]),Object(s.useEffect)(()=>{if(D===a.b.Hidden&&N.current)return U&&"visible"!==z?void W("visible"):Object(i.a)(z,{hidden:()=>G(N),visible:()=>H(N)})},[z,N,H,G,U,D]);let K=Object(u.a)({enter:_(k),enterFrom:_(T),enterTo:_(P),entered:_(A),leave:_(R),leaveFrom:_(I),leaveTo:_(M)}),X=function(e){let t=Object(s.useRef)(F(e));return Object(s.useEffect)(()=>{t.current=F(e)},[e]),t}({beforeEnter:r,afterEnter:h,beforeLeave:v,afterLeave:j}),J=Object(d.a)();Object(s.useEffect)(()=>{if(J&&"visible"===z&&null===N.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[N,z,J]);let Q=B&&!V,Z=!J||Q||Y.current===U?"idle":U?"enter":"leave",ee=Object(w.a)(e=>Object(i.a)(e,{enter:()=>X.current.beforeEnter(),leave:()=>X.current.beforeLeave(),idle:()=>{}})),te=Object(w.a)(e=>Object(i.a)(e,{enter:()=>X.current.afterEnter(),leave:()=>X.current.afterLeave(),idle:()=>{}})),re=S(()=>{W("hidden"),G(N)},q);(function({container:e,direction:t,classes:r,onStart:s,onStop:n}){let a=l(),o=Object(O.a)(),d=Object(u.a)(t);Object(c.a)(()=>{let t=Object(m.a)();o.add(t.dispose);let c=e.current;if(c&&"idle"!==d.current&&a.current)return t.dispose(),s.current(d.current),t.add(function(e,t,r,s){let n=r?"enter":"leave",a=Object(m.a)(),o=void 0!==s?function(e){let t={called:!1};return(...r)=>{if(!t.called)return t.called=!0,e(...r)}}(s):()=>{};"enter"===n&&(e.removeAttribute("hidden"),e.style.display="");let c=Object(i.a)(n,{enter:()=>t.enter,leave:()=>t.leave}),l=Object(i.a)(n,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),u=Object(i.a)(n,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return f(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),b(e,...c,...u),a.nextFrame(()=>{f(e,...u),b(e,...l),function(e,t){let r=Object(m.a)();if(!e)return r.dispose;let{transitionDuration:s,transitionDelay:n}=getComputedStyle(e),[a,o]=[s,n].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(a+o!==0){let s=[];s.push(r.addEventListener(e,"transitionrun",n=>{n.target===n.currentTarget&&(s.splice(0).forEach(e=>e()),s.push(r.addEventListener(e,"transitionend",e=>{e.target===e.currentTarget&&(t("ended"),s.splice(0).forEach(e=>e()))}),r.addEventListener(e,"transitioncancel",e=>{e.target===e.currentTarget&&(t("cancelled"),s.splice(0).forEach(e=>e()))})))}))}else t("ended");r.add(()=>t("cancelled")),r.dispose}(e,r=>("ended"===r&&(f(e,...c),b(e,...t.entered)),o(r)))}),a.dispose}(c,r.current,"enter"===d.current,e=>{t.dispose(),Object(i.a)(e,{[y.Ended](){n.current(d.current)},[y.Cancelled]:()=>{}})})),t.dispose},[t])})({container:N,classes:K,direction:Z,onStart:Object(u.a)(e=>{re.onStart(N,e,ee)}),onStop:Object(u.a)(e=>{re.onStop(N,e,te),"leave"===e&&!x(re)&&(W("hidden"),G(N))})}),Object(s.useEffect)(()=>{!Q||(D===a.b.Hidden?Y.current=null:Y.current=U)},[U,Q,z]);let se=C,ne={ref:$};return n.a.createElement(E.Provider,{value:re},n.a.createElement(o.a,{value:Object(i.a)(z,{visible:o.b.Open,hidden:o.b.Closed})},Object(a.e)({ourProps:ne,theirProps:se,defaultTag:"div",features:L,visible:"visible"===z,name:"Transition.Child"})))})),A=Object(a.d)((function(e,t){let{show:r,appear:l=!1,unmount:u,...m}=e,b=Object(s.useRef)(null),f=Object(p.a)(b,t);Object(d.a)();let h=Object(o.c)();if(void 0===r&&null!==h&&(r=Object(i.a)(h,{[o.b.Open]:!0,[o.b.Closed]:!1})),![!0,!1].includes(r))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[y,O]=Object(s.useState)(r?"visible":"hidden"),w=S(()=>{O("hidden")}),[_,v]=Object(s.useState)(!0),j=Object(s.useRef)([r]);Object(c.a)(()=>{!1!==_&&j.current[j.current.length-1]!==r&&(j.current.push(r),v(!1))},[j,r]);let k=Object(s.useMemo)(()=>({show:r,appear:l,initial:_}),[r,l,_]);Object(s.useEffect)(()=>{if(r)O("visible");else if(x(w)){let e=b.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&O("hidden")}else O("hidden")},[r,w]);let T={unmount:u};return n.a.createElement(E.Provider,{value:w},n.a.createElement(g.Provider,{value:k},Object(a.e)({ourProps:{...T,as:s.Fragment,children:n.a.createElement(P,{ref:f,...T,...m})},theirProps:{},defaultTag:s.Fragment,features:L,visible:"visible"===y,name:"Transition"})))})),R=Object(a.d)((function(e,t){let r=null!==Object(s.useContext)(g),a=null!==Object(o.c)();return n.a.createElement(n.a.Fragment,null,!r&&a?n.a.createElement(A,{ref:t,...e}):n.a.createElement(P,{ref:t,...e}))})),I=Object.assign(A,{Child:R,Root:A})},,,,,,,,function(e,t){e.exports=window.lodash.cloneDeep},function(e,t,r){e.exports=function(e){var t={};function r(s){if(t[s])return t[s].exports;var n=t[s]={i:s,l:!1,exports:{}};return e[s].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,s){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s})},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 s=Object.create(null);if(r.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(s,n,function(t){return e[t]}.bind(null,n));return s},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=90)}({17:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var s=r(18),n=function(){function e(){}return e.getFirstMatch=function(e,t){var r=t.match(e);return r&&r.length>0&&r[1]||""},e.getSecondMatch=function(e,t){var r=t.match(e);return r&&r.length>1&&r[2]||""},e.matchAndReturnConst=function(e,t,r){if(e.test(t))return r},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,r,s){void 0===s&&(s=!1);var n=e.getVersionPrecision(t),a=e.getVersionPrecision(r),o=Math.max(n,a),i=0,c=e.map([t,r],(function(t){var r=o-e.getVersionPrecision(t),s=t+new Array(r+1).join(".0");return e.map(s.split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));for(s&&(i=o-Math.min(n,a)),o-=1;o>=i;){if(c[0][o]>c[1][o])return 1;if(c[0][o]===c[1][o]){if(o===i)return 0;o-=1}else if(c[0][o]<c[1][o])return-1}},e.map=function(e,t){var r,s=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(r=0;r<e.length;r+=1)s.push(t(e[r]));return s},e.find=function(e,t){var r,s;if(Array.prototype.find)return Array.prototype.find.call(e,t);for(r=0,s=e.length;r<s;r+=1){var n=e[r];if(t(n,r))return n}},e.assign=function(e){for(var t,r,s=e,n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];if(Object.assign)return Object.assign.apply(Object,[e].concat(a));var i=function(){var e=a[t];"object"==typeof e&&null!==e&&Object.keys(e).forEach((function(t){s[t]=e[t]}))};for(t=0,r=a.length;t<r;t+=1)i();return e},e.getBrowserAlias=function(e){return s.BROWSER_ALIASES_MAP[e]},e.getBrowserTypeByAlias=function(e){return s.BROWSER_MAP[e]||""},e}();t.default=n,e.exports=t.default},18:function(e,t,r){"use strict";t.__esModule=!0,t.ENGINE_MAP=t.OS_MAP=t.PLATFORMS_MAP=t.BROWSER_MAP=t.BROWSER_ALIASES_MAP=void 0,t.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},t.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},t.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},t.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},t.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var s,n=(s=r(91))&&s.__esModule?s:{default:s},a=r(18);var o=function(){function e(){}var t;return e.getParser=function(e,t){if(void 0===t&&(t=!1),"string"!=typeof e)throw new Error("UserAgent should be a string");return new n.default(e,t)},e.parse=function(e){return new n.default(e).getResult()},(t=[{key:"BROWSER_MAP",get:function(){return a.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return a.ENGINE_MAP}},{key:"OS_MAP",get:function(){return a.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return a.PLATFORMS_MAP}}])&&function(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}(e,t),e}();t.default=o,e.exports=t.default},91:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var s=c(r(92)),n=c(r(93)),a=c(r(94)),o=c(r(95)),i=c(r(17));function c(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(e,t){if(void 0===t&&(t=!1),null==e||""===e)throw new Error("UserAgent parameter can't be empty");this._ua=e,this.parsedResult={},!0!==t&&this.parse()}var t=e.prototype;return t.getUA=function(){return this._ua},t.test=function(e){return e.test(this._ua)},t.parseBrowser=function(){var e=this;this.parsedResult.browser={};var t=i.default.find(s.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser},t.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},t.getBrowserName=function(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},t.getBrowserVersion=function(){return this.getBrowser().version},t.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},t.parseOS=function(){var e=this;this.parsedResult.os={};var t=i.default.find(n.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os},t.getOSName=function(e){var t=this.getOS().name;return e?String(t).toLowerCase()||"":t||""},t.getOSVersion=function(){return this.getOS().version},t.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},t.getPlatformType=function(e){void 0===e&&(e=!1);var t=this.getPlatform().type;return e?String(t).toLowerCase()||"":t||""},t.parsePlatform=function(){var e=this;this.parsedResult.platform={};var t=i.default.find(a.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform},t.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},t.getEngineName=function(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},t.parseEngine=function(){var e=this;this.parsedResult.engine={};var t=i.default.find(o.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine},t.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},t.getResult=function(){return i.default.assign({},this.parsedResult)},t.satisfies=function(e){var t=this,r={},s=0,n={},a=0;if(Object.keys(e).forEach((function(t){var o=e[t];"string"==typeof o?(n[t]=o,a+=1):"object"==typeof o&&(r[t]=o,s+=1)})),s>0){var o=Object.keys(r),c=i.default.find(o,(function(e){return t.isOS(e)}));if(c){var l=this.satisfies(r[c]);if(void 0!==l)return l}var u=i.default.find(o,(function(e){return t.isPlatform(e)}));if(u){var d=this.satisfies(r[u]);if(void 0!==d)return d}}if(a>0){var p=Object.keys(n),m=i.default.find(p,(function(e){return t.isBrowser(e,!0)}));if(void 0!==m)return this.compareVersion(n[m])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var r=this.getBrowserName().toLowerCase(),s=e.toLowerCase(),n=i.default.getBrowserTypeByAlias(s);return t&&n&&(s=n.toLowerCase()),s===r},t.compareVersion=function(e){var t=[0],r=e,s=!1,n=this.getBrowserVersion();if("string"==typeof n)return">"===e[0]||"<"===e[0]?(r=e.substr(1),"="===e[1]?(s=!0,r=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?r=e.substr(1):"~"===e[0]&&(s=!0,r=e.substr(1)),t.indexOf(i.default.compareVersions(n,r,s))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some((function(e){return t.is(e)}))},e}();t.default=l,e.exports=t.default},92:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var s,n=(s=r(17))&&s.__esModule?s:{default:s},a=/version\/(\d+(\.?_?\d+)+)/i,o=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},r=n.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},r=n.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},r=n.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},r=n.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},r=n.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},r=n.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},r=n.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},r=n.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},r=n.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},r=n.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},r=n.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},r=n.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},r=n.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},r=n.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},r=n.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return r&&(t.version=r),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},r=n.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},r=n.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},r=n.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},r=n.default.getFirstMatch(a,e)||n.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},r=n.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},r=n.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},r=n.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},r=n.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},r=n.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},r=n.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},r=n.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},r=n.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},r=n.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t={name:"Android Browser"},r=n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},r=n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},r=n.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:n.default.getFirstMatch(t,e),version:n.default.getSecondMatch(t,e)}}}];t.default=o,e.exports=t.default},93:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var s,n=(s=r(17))&&s.__esModule?s:{default:s},a=r(18),o=[{test:[/Roku\/DVP/],describe:function(e){var t=n.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:a.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=n.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:a.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=n.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),r=n.default.getWindowsVersionName(t);return{name:a.OS_MAP.Windows,version:t,versionName:r}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:a.OS_MAP.iOS},r=n.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return r&&(t.version=r),t}},{test:[/macintosh/i],describe:function(e){var t=n.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),r=n.default.getMacOSVersionName(t),s={name:a.OS_MAP.MacOS,version:t};return r&&(s.versionName=r),s}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=n.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:a.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t=n.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),r=n.default.getAndroidVersionName(t),s={name:a.OS_MAP.Android,version:t};return r&&(s.versionName=r),s}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=n.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),r={name:a.OS_MAP.WebOS};return t&&t.length&&(r.version=t),r}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=n.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||n.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||n.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:a.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=n.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:a.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=n.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:a.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:a.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:a.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=n.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:a.OS_MAP.PlayStation4,version:t}}}];t.default=o,e.exports=t.default},94:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var s,n=(s=r(17))&&s.__esModule?s:{default:s},a=r(18),o=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=n.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",r={type:a.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(r.model=t),r}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),r=e.test(/like (ipod|iphone)/i);return t&&!r},describe:function(e){var t=n.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:a.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:a.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.tv}}}];t.default=o,e.exports=t.default},95:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var s,n=(s=r(17))&&s.__esModule?s:{default:s},a=r(18),o=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:a.ENGINE_MAP.Blink};var t=n.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:a.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:a.ENGINE_MAP.Trident},r=n.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:a.ENGINE_MAP.Presto},r=n.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=e.test(/gecko/i),r=e.test(/like gecko/i);return t&&!r},describe:function(e){var t={name:a.ENGINE_MAP.Gecko},r=n.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:a.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:a.ENGINE_MAP.WebKit},r=n.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}}];t.default=o,e.exports=t.default}})},function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return J}));var s,n,a,o,i=r(2),c=r.n(i),l=r(253),u=r.n(l),d=r(254),p=r.n(d),m=r(3),b=r.n(m),f=r(255),h=r.n(f),y={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},O=(Object.keys(y).map((function(e){return y[e]})),"charset"),w={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},_=Object.keys(w).reduce((function(e,t){return e[w[t]]=t,e}),{}),g=[y.NOSCRIPT,y.SCRIPT,y.STYLE],v="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},j=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},E=function(){function e(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}return function(t,r,s){return r&&e(t.prototype,r),s&&e(t,s),t}}(),x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},S=function(e,t){var r={};for(var s in e)t.indexOf(s)>=0||Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=e[s]);return r},k=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},T=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},F=function(e){var t=I(e,y.TITLE),r=I(e,"titleTemplate");if(r&&t)return r.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var s=I(e,"defaultTitle");return t||s||void 0},L=function(e){return I(e,"onChangeClientState")||function(){}},P=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return x({},e,t)}),{})},A=function(e,t){return t.filter((function(e){return void 0!==e[y.BASE]})).map((function(e){return e[y.BASE]})).reverse().reduce((function(t,r){if(!t.length)for(var s=Object.keys(r),n=0;n<s.length;n++){var a=s[n].toLowerCase();if(-1!==e.indexOf(a)&&r[a])return t.concat(r)}return t}),[])},R=function(e,t,r){var s={};return r.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&D("Helmet: "+e+' should be of type "Array". Instead found type "'+v(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,r){var n={};r.filter((function(e){for(var r=void 0,a=Object.keys(e),o=0;o<a.length;o++){var i=a[o],c=i.toLowerCase();-1===t.indexOf(c)||"rel"===r&&"canonical"===e[r].toLowerCase()||"rel"===c&&"stylesheet"===e[c].toLowerCase()||(r=c),-1===t.indexOf(i)||"innerHTML"!==i&&"cssText"!==i&&"itemprop"!==i||(r=i)}if(!r||!e[r])return!1;var l=e[r].toLowerCase();return s[r]||(s[r]={}),n[r]||(n[r]={}),!s[r][l]&&(n[r][l]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var a=Object.keys(n),o=0;o<a.length;o++){var i=a[o],c=h()({},s[i],n[i]);s[i]=c}return e}),[]).reverse()},I=function(e,t){for(var r=e.length-1;r>=0;r--){var s=e[r];if(s.hasOwnProperty(t))return s[t]}return null},M=(s=Date.now(),function(e){var t=Date.now();t-s>16?(s=t,e(t)):setTimeout((function(){M(e)}),0)}),C=function(e){return clearTimeout(e)},N="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||M:e.requestAnimationFrame||M,$="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||C:e.cancelAnimationFrame||C,D=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},U=null,V=function(e,t){var r=e.baseTag,s=e.bodyAttributes,n=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,c=e.onChangeClientState,l=e.scriptTags,u=e.styleTags,d=e.title,p=e.titleAttributes;W(y.BODY,s),W(y.HTML,n),z(d,p);var m={baseTag:q(y.BASE,r),linkTags:q(y.LINK,a),metaTags:q(y.META,o),noscriptTags:q(y.NOSCRIPT,i),scriptTags:q(y.SCRIPT,l),styleTags:q(y.STYLE,u)},b={},f={};Object.keys(m).forEach((function(e){var t=m[e],r=t.newTags,s=t.oldTags;r.length&&(b[e]=r),s.length&&(f[e]=m[e].oldTags)})),t&&t(),c(e,b,f)},B=function(e){return Array.isArray(e)?e.join(""):e},z=function(e,t){void 0!==e&&document.title!==e&&(document.title=B(e)),W(y.TITLE,t)},W=function(e,t){var r=document.getElementsByTagName(e)[0];if(r){for(var s=r.getAttribute("data-react-helmet"),n=s?s.split(","):[],a=[].concat(n),o=Object.keys(t),i=0;i<o.length;i++){var c=o[i],l=t[c]||"";r.getAttribute(c)!==l&&r.setAttribute(c,l),-1===n.indexOf(c)&&n.push(c);var u=a.indexOf(c);-1!==u&&a.splice(u,1)}for(var d=a.length-1;d>=0;d--)r.removeAttribute(a[d]);n.length===a.length?r.removeAttribute("data-react-helmet"):r.getAttribute("data-react-helmet")!==o.join(",")&&r.setAttribute("data-react-helmet",o.join(","))}},q=function(e,t){var r=document.head||document.querySelector(y.HEAD),s=r.querySelectorAll(e+"[data-react-helmet]"),n=Array.prototype.slice.call(s),a=[],o=void 0;return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var s in t)if(t.hasOwnProperty(s))if("innerHTML"===s)r.innerHTML=t.innerHTML;else if("cssText"===s)r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText));else{var i=void 0===t[s]?"":t[s];r.setAttribute(s,i)}r.setAttribute("data-react-helmet","true"),n.some((function(e,t){return o=t,r.isEqualNode(e)}))?n.splice(o,1):a.push(r)})),n.forEach((function(e){return e.parentNode.removeChild(e)})),a.forEach((function(e){return r.appendChild(e)})),{oldTags:n,newTags:a}},H=function(e){return Object.keys(e).reduce((function(t,r){var s=void 0!==e[r]?r+'="'+e[r]+'"':""+r;return t?t+" "+s:s}),"")},G=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,r){return t[w[r]||r]=e[r],t}),t)},Y=function(e,t,r){switch(e){case y.TITLE:return{toComponent:function(){return e=t.title,r=t.titleAttributes,(s={key:e})["data-react-helmet"]=!0,n=G(r,s),[b.a.createElement(y.TITLE,n,e)];var e,r,s,n},toString:function(){return function(e,t,r,s){var n=H(r),a=B(t);return n?"<"+e+' data-react-helmet="true" '+n+">"+T(a,s)+"</"+e+">":"<"+e+' data-react-helmet="true">'+T(a,s)+"</"+e+">"}(e,t.title,t.titleAttributes,r)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return G(t)},toString:function(){return H(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,r){var s,n=((s={key:r})["data-react-helmet"]=!0,s);return Object.keys(t).forEach((function(e){var r=w[e]||e;if("innerHTML"===r||"cssText"===r){var s=t.innerHTML||t.cssText;n.dangerouslySetInnerHTML={__html:s}}else n[r]=t[e]})),b.a.createElement(e,n)}))}(e,t)},toString:function(){return function(e,t,r){return t.reduce((function(t,s){var n=Object.keys(s).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var n=void 0===s[t]?t:t+'="'+T(s[t],r)+'"';return e?e+" "+n:n}),""),a=s.innerHTML||s.cssText||"",o=-1===g.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+n+(o?"/>":">"+a+"</"+e+">")}),"")}(e,t,r)}}}},K=function(e){var t=e.baseTag,r=e.bodyAttributes,s=e.encode,n=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,c=e.scriptTags,l=e.styleTags,u=e.title,d=void 0===u?"":u,p=e.titleAttributes;return{base:Y(y.BASE,t,s),bodyAttributes:Y("bodyAttributes",r,s),htmlAttributes:Y("htmlAttributes",n,s),link:Y(y.LINK,a,s),meta:Y(y.META,o,s),noscript:Y(y.NOSCRIPT,i,s),script:Y(y.SCRIPT,c,s),style:Y(y.STYLE,l,s),title:Y(y.TITLE,{title:d,titleAttributes:p},s)}},X=u()((function(e){return{baseTag:A(["href","target"],e),bodyAttributes:P("bodyAttributes",e),defer:I(e,"defer"),encode:I(e,"encodeSpecialCharacters"),htmlAttributes:P("htmlAttributes",e),linkTags:R(y.LINK,["rel","href"],e),metaTags:R(y.META,["name",O,"http-equiv","property","itemprop"],e),noscriptTags:R(y.NOSCRIPT,["innerHTML"],e),onChangeClientState:L(e),scriptTags:R(y.SCRIPT,["src","innerHTML"],e),styleTags:R(y.STYLE,["cssText"],e),title:F(e),titleAttributes:P("titleAttributes",e)}}),(function(e){U&&$(U),e.defer?U=N((function(){V(e,(function(){U=null}))})):(V(e),U=null)}),K)((function(){return null})),J=(n=X,o=a=function(e){function t(){return j(this,t),k(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!p()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case y.SCRIPT:case y.NOSCRIPT:return{innerHTML:t};case y.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,r=e.child,s=e.arrayTypeChildren,n=e.newChildProps,a=e.nestedChildren;return x({},s,((t={})[r.type]=[].concat(s[r.type]||[],[x({},n,this.mapNestedChildrenToProps(r,a))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,r,s=e.child,n=e.newProps,a=e.newChildProps,o=e.nestedChildren;switch(s.type){case y.TITLE:return x({},n,((t={})[s.type]=o,t.titleAttributes=x({},a),t));case y.BODY:return x({},n,{bodyAttributes:x({},a)});case y.HTML:return x({},n,{htmlAttributes:x({},a)})}return x({},n,((r={})[s.type]=x({},a),r))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var r=x({},t);return Object.keys(e).forEach((function(t){var s;r=x({},r,((s={})[t]=e[t],s))})),r},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var r=this,s={};return b.a.Children.forEach(e,(function(e){if(e&&e.props){var n=e.props,a=n.children,o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,r){return t[_[r]||r]=e[r],t}),t)}(S(n,["children"]));switch(r.warnOnInvalidChildren(e,a),e.type){case y.LINK:case y.META:case y.NOSCRIPT:case y.SCRIPT:case y.STYLE:s=r.flattenArrayTypeChildren({child:e,arrayTypeChildren:s,newChildProps:o,nestedChildren:a});break;default:t=r.mapObjectTypeChildren({child:e,newProps:t,newChildProps:o,nestedChildren:a})}}})),t=this.mapArrayTypeChildrenToProps(s,t)},t.prototype.render=function(){var e=this.props,t=e.children,r=S(e,["children"]),s=x({},r);return t&&(s=this.mapChildrenToProps(t,s)),b.a.createElement(n,s)},E(t,null,[{key:"canUseDOM",set:function(e){n.canUseDOM=e}}]),t}(b.a.Component),a.propTypes={base:c.a.object,bodyAttributes:c.a.object,children:c.a.oneOfType([c.a.arrayOf(c.a.node),c.a.node]),defaultTitle:c.a.string,defer:c.a.bool,encodeSpecialCharacters:c.a.bool,htmlAttributes:c.a.object,link:c.a.arrayOf(c.a.object),meta:c.a.arrayOf(c.a.object),noscript:c.a.arrayOf(c.a.object),onChangeClientState:c.a.func,script:c.a.arrayOf(c.a.object),style:c.a.arrayOf(c.a.object),title:c.a.string,titleAttributes:c.a.object,titleTemplate:c.a.string},a.defaultProps={defer:!0,encodeSpecialCharacters:!0},a.peek=n.peek,a.rewind=function(){var e=n.rewind();return e||(e=K({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},o);J.renderStatic=J.rewind}).call(this,r(183))},function(e,t,r){"use strict";var s,n=r(3),a=(s=n)&&"object"==typeof s&&"default"in s?s.default:s;function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var i=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,r){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==r&&"function"!=typeof r)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(s){if("function"!=typeof s)throw new Error("Expected WrappedComponent to be a React component.");var c,l=[];function u(){c=e(l.map((function(e){return e.props}))),d.canUseDOM?t(c):r&&(c=r(c))}var d=function(e){var t,r;function n(){return e.apply(this,arguments)||this}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n.peek=function(){return c},n.rewind=function(){if(n.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=c;return c=void 0,l=[],e};var o=n.prototype;return o.UNSAFE_componentWillMount=function(){l.push(this),u()},o.componentDidUpdate=function(){u()},o.componentWillUnmount=function(){var e=l.indexOf(this);l.splice(e,1),u()},o.render=function(){return a.createElement(s,this.props)},n}(n.PureComponent);return o(d,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(s)+")"),o(d,"canUseDOM",i),d}}},function(e,t){var r="undefined"!=typeof Element,s="function"==typeof Map,n="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,t){try{return function e(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var i,c,l,u;if(Array.isArray(t)){if((i=t.length)!=o.length)return!1;for(c=i;0!=c--;)if(!e(t[c],o[c]))return!1;return!0}if(s&&t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(u=t.entries();!(c=u.next()).done;)if(!o.has(c.value[0]))return!1;for(u=t.entries();!(c=u.next()).done;)if(!e(c.value[1],o.get(c.value[0])))return!1;return!0}if(n&&t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(u=t.entries();!(c=u.next()).done;)if(!o.has(c.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(o)){if((i=t.length)!=o.length)return!1;for(c=i;0!=c--;)if(t[c]!==o[c])return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===o.toString();if((i=(l=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(c=i;0!=c--;)if(!Object.prototype.hasOwnProperty.call(o,l[c]))return!1;if(r&&t instanceof Element)return!1;for(c=i;0!=c--;)if(("_owner"!==l[c]&&"__v"!==l[c]&&"__o"!==l[c]||!t.$$typeof)&&!e(t[l[c]],o[l[c]]))return!1;return!0}return t!=t&&o!=o}(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},function(e,t,r){"use strict";var s=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach((function(e){s[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},s)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,i,c=o(e),l=1;l<arguments.length;l++){for(var u in r=Object(arguments[l]))n.call(r,u)&&(c[u]=r[u]);if(s){i=s(r);for(var d=0;d<i.length;d++)a.call(r,i[d])&&(c[i[d]]=r[i[d]])}}return c}},function(e,t){e.exports=window.lodash.camelCase},function(e,t){e.exports=window.lodash.mapKeys},function(e,t){function r(e,t){var r=e.length,s=new Array(r),n={},a=r,o=function(e){for(var t=new Map,r=0,s=e.length;r<s;r++){var n=e[r];t.has(n[0])||t.set(n[0],new Set),t.has(n[1])||t.set(n[1],new Set),t.get(n[0]).add(n[1])}return t}(t),i=function(e){for(var t=new Map,r=0,s=e.length;r<s;r++)t.set(e[r],r);return t}(e);for(t.forEach((function(e){if(!i.has(e[0])||!i.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));a--;)n[a]||c(e[a],a,new Set);return s;function c(e,t,a){if(a.has(e)){var l;try{l=", node was:"+JSON.stringify(e)}catch(e){l=""}throw new Error("Cyclic dependency"+l)}if(!i.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!n[t]){n[t]=!0;var u=o.get(e)||new Set;if(t=(u=Array.from(u)).length){a.add(e);do{var d=u[--t];c(d,i.get(d),a)}while(t);a.delete(e)}s[--r]=e}}}e.exports=function(e){return r(function(e){for(var t=new Set,r=0,s=e.length;r<s;r++){var n=e[r];t.add(n[0]),t.add(n[1])}return Array.from(t)}(e),e)},e.exports.array=r},,,,,,,,,,,,,function(e,t,r){"use strict";var s=r(3);const n=s.forwardRef((function(e,t){return s.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),s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"}))}));t.a=n},,function(e,t,r){"use strict";var s=r(3);const n=s.forwardRef((function(e,t){return s.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),s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))}));t.a=n},function(e,t,r){"use strict";var s=r(3);const n=s.forwardRef((function(e,t){return s.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),s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))}));t.a=n},,function(e,t,r){"use strict";var s=r(3);const n=s.forwardRef((function(e,t){return s.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),s.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"}))}));t.a=n},,,,function(e,t,r){"use strict";e.exports=r(281)},function(e,t,r){"use strict";var s="function"==typeof Symbol&&Symbol.for,n=s?Symbol.for("react.element"):60103,a=s?Symbol.for("react.portal"):60106,o=s?Symbol.for("react.fragment"):60107,i=s?Symbol.for("react.strict_mode"):60108,c=s?Symbol.for("react.profiler"):60114,l=s?Symbol.for("react.provider"):60109,u=s?Symbol.for("react.context"):60110,d=s?Symbol.for("react.async_mode"):60111,p=s?Symbol.for("react.concurrent_mode"):60111,m=s?Symbol.for("react.forward_ref"):60112,b=s?Symbol.for("react.suspense"):60113,f=s?Symbol.for("react.suspense_list"):60120,h=s?Symbol.for("react.memo"):60115,y=s?Symbol.for("react.lazy"):60116,O=s?Symbol.for("react.block"):60121,w=s?Symbol.for("react.fundamental"):60117,_=s?Symbol.for("react.responder"):60118,g=s?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case d:case p:case o:case c:case i:case b:return e;default:switch(e=e&&e.$$typeof){case u:case m:case y:case h:case l:return e;default:return t}}case a:return t}}}function j(e){return v(e)===p}t.AsyncMode=d,t.ConcurrentMode=p,t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=m,t.Fragment=o,t.Lazy=y,t.Memo=h,t.Portal=a,t.Profiler=c,t.StrictMode=i,t.Suspense=b,t.isAsyncMode=function(e){return j(e)||v(e)===d},t.isConcurrentMode=j,t.isContextConsumer=function(e){return v(e)===u},t.isContextProvider=function(e){return v(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return v(e)===m},t.isFragment=function(e){return v(e)===o},t.isLazy=function(e){return v(e)===y},t.isMemo=function(e){return v(e)===h},t.isPortal=function(e){return v(e)===a},t.isProfiler=function(e){return v(e)===c},t.isStrictMode=function(e){return v(e)===i},t.isSuspense=function(e){return v(e)===b},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===p||e===c||e===i||e===b||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===h||e.$$typeof===l||e.$$typeof===u||e.$$typeof===m||e.$$typeof===w||e.$$typeof===_||e.$$typeof===g||e.$$typeof===O)},t.typeOf=v},,,,,,,,function(e,t,r){"use strict";r.r(t);var s=r(0),n=r(13),a=r(6),o=r(65),i=r.n(o),c=r(9),l=r(3),u=r(165),d=r.n(u),p=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===m}(e)}(e)},m="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function b(e,t){return!1!==t.clone&&t.isMergeableObject(e)?h((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function f(e,t,r){return e.concat(t).map((function(e){return b(e,r)}))}function h(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||f,r.isMergeableObject=r.isMergeableObject||p;var s=Array.isArray(t);return s===Array.isArray(e)?s?r.arrayMerge(e,t,r):function(e,t,r){var s={};return r.isMergeableObject(e)&&Object.keys(e).forEach((function(t){s[t]=b(e[t],r)})),Object.keys(t).forEach((function(n){r.isMergeableObject(t[n])&&e[n]?s[n]=h(e[n],t[n],r):s[n]=b(t[n],r)})),s}(e,t,r):b(t,r)}h.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return h(e,r,t)}),{})};var y=h,O=r(232),w=r.n(O),_=r(233),g=r.n(_),v=r(234),j=r.n(v),E=r(235),x=r.n(E),S=r(250),k=r.n(S);function T(){return(T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(this,arguments)}function F(e,t){if(null==e)return{};var r,s,n={},a=Object.keys(e);for(s=0;s<a.length;s++)r=a[s],t.indexOf(r)>=0||(n[r]=e[r]);return n}function L(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var P=function(e){return Array.isArray(e)&&0===e.length},A=function(e){return"function"==typeof e},R=function(e){return null!==e&&"object"==typeof e},I=function(e){return String(Math.floor(Number(e)))===e},M=function(e){return"[object String]"===Object.prototype.toString.call(e)},C=function(e){return 0===l.Children.count(e)},N=function(e){return R(e)&&A(e.then)};function $(e,t,r,s){void 0===s&&(s=0);for(var n=j()(t);e&&s<n.length;)e=e[n[s++]];return void 0===e?r:e}function D(e,t,r){for(var s=g()(e),n=s,a=0,o=j()(t);a<o.length-1;a++){var i=o[a],c=$(e,o.slice(0,a+1));if(c&&(R(c)||Array.isArray(c)))n=n[i]=g()(c);else{var l=o[a+1];n=n[i]=I(l)&&Number(l)>=0?[]:{}}}return(0===a?e:n)[o[a]]===r?e:(void 0===r?delete n[o[a]]:n[o[a]]=r,0===a&&void 0===r&&delete s[o[a]],s)}function U(e,t,r,s){void 0===r&&(r=new WeakMap),void 0===s&&(s={});for(var n=0,a=Object.keys(e);n<a.length;n++){var o=a[n],i=e[o];R(i)?r.get(i)||(r.set(i,!0),s[o]=Array.isArray(i)?[]:{},U(i,t,r,s[o])):s[o]=t}return s}var V=Object(l.createContext)(void 0);V.displayName="FormikContext";var B=V.Provider,z=V.Consumer;function W(){var e=Object(l.useContext)(V);return e}function q(e,t){switch(t.type){case"SET_VALUES":return T({},e,{values:t.payload});case"SET_TOUCHED":return T({},e,{touched:t.payload});case"SET_ERRORS":return d()(e.errors,t.payload)?e:T({},e,{errors:t.payload});case"SET_STATUS":return T({},e,{status:t.payload});case"SET_ISSUBMITTING":return T({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return T({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return T({},e,{values:D(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return T({},e,{touched:D(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return T({},e,{errors:D(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return T({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return T({},e,{touched:U(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return T({},e,{isSubmitting:!1});default:return e}}var H={},G={};function Y(e){var t=function(e){var t=e.validateOnChange,r=void 0===t||t,s=e.validateOnBlur,n=void 0===s||s,a=e.validateOnMount,o=void 0!==a&&a,i=e.isInitialValid,c=e.enableReinitialize,u=void 0!==c&&c,p=e.onSubmit,m=F(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),b=T({validateOnChange:r,validateOnBlur:n,validateOnMount:o,onSubmit:p},m),f=Object(l.useRef)(b.initialValues),h=Object(l.useRef)(b.initialErrors||H),O=Object(l.useRef)(b.initialTouched||G),_=Object(l.useRef)(b.initialStatus),g=Object(l.useRef)(!1),v=Object(l.useRef)({});Object(l.useEffect)((function(){return g.current=!0,function(){g.current=!1}}),[]);var j=Object(l.useReducer)(q,{values:b.initialValues,errors:b.initialErrors||H,touched:b.initialTouched||G,status:b.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),E=j[0],x=j[1],S=Object(l.useCallback)((function(e,t){return new Promise((function(r,s){var n=b.validate(e,t);null==n?r(H):N(n)?n.then((function(e){r(e||H)}),(function(e){s(e)})):r(n)}))}),[b.validate]),k=Object(l.useCallback)((function(e,t){var r=b.validationSchema,s=A(r)?r(t):r,n=t&&s.validateAt?s.validateAt(t,e):function(e,t,r,s){void 0===r&&(r=!1),void 0===s&&(s={});var n=function e(t){var r=Array.isArray(t)?[]:{};for(var s in t)if(Object.prototype.hasOwnProperty.call(t,s)){var n=String(s);!0===Array.isArray(t[n])?r[n]=t[n].map((function(t){return!0===Array.isArray(t)||w()(t)?e(t):""!==t?t:void 0})):w()(t[n])?r[n]=e(t[n]):r[n]=""!==t[n]?t[n]:void 0}return r}(e);return t[r?"validateSync":"validate"](n,{abortEarly:!1,context:s})}(e,s);return new Promise((function(e,t){n.then((function(){e(H)}),(function(r){"ValidationError"===r.name?e(function(e){var t={};if(e.inner){if(0===e.inner.length)return D(t,e.path,e.message);var r=e.inner,s=Array.isArray(r),n=0;for(r=s?r:r[Symbol.iterator]();;){var a;if(s){if(n>=r.length)break;a=r[n++]}else{if((n=r.next()).done)break;a=n.value}var o=a;$(t,o.path)||(t=D(t,o.path,o.message))}}return t}(r)):t(r)}))}))}),[b.validationSchema]),L=Object(l.useCallback)((function(e,t){return new Promise((function(r){return r(v.current[e].validate(t))}))}),[]),P=Object(l.useCallback)((function(e){var t=Object.keys(v.current).filter((function(e){return A(v.current[e].validate)})),r=t.length>0?t.map((function(t){return L(t,$(e,t))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(r).then((function(e){return e.reduce((function(e,r,s){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===r||r&&(e=D(e,t[s],r)),e}),{})}))}),[L]),I=Object(l.useCallback)((function(e){return Promise.all([P(e),b.validationSchema?k(e):{},b.validate?S(e):{}]).then((function(e){var t=e[0],r=e[1],s=e[2];return y.all([t,r,s],{arrayMerge:K})}))}),[b.validate,b.validationSchema,P,S,k]),C=J((function(e){return void 0===e&&(e=E.values),x({type:"SET_ISVALIDATING",payload:!0}),I(e).then((function(e){return g.current&&(x({type:"SET_ISVALIDATING",payload:!1}),x({type:"SET_ERRORS",payload:e})),e}))}));Object(l.useEffect)((function(){o&&!0===g.current&&d()(f.current,b.initialValues)&&C(f.current)}),[o,C]);var U=Object(l.useCallback)((function(e){var t=e&&e.values?e.values:f.current,r=e&&e.errors?e.errors:h.current?h.current:b.initialErrors||{},s=e&&e.touched?e.touched:O.current?O.current:b.initialTouched||{},n=e&&e.status?e.status:_.current?_.current:b.initialStatus;f.current=t,h.current=r,O.current=s,_.current=n;var a=function(){x({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:r,touched:s,status:n,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})};if(b.onReset){var o=b.onReset(E.values,ue);N(o)?o.then(a):a()}else a()}),[b.initialErrors,b.initialStatus,b.initialTouched]);Object(l.useEffect)((function(){!0!==g.current||d()(f.current,b.initialValues)||(u&&(f.current=b.initialValues,U()),o&&C(f.current))}),[u,b.initialValues,U,o,C]),Object(l.useEffect)((function(){u&&!0===g.current&&!d()(h.current,b.initialErrors)&&(h.current=b.initialErrors||H,x({type:"SET_ERRORS",payload:b.initialErrors||H}))}),[u,b.initialErrors]),Object(l.useEffect)((function(){u&&!0===g.current&&!d()(O.current,b.initialTouched)&&(O.current=b.initialTouched||G,x({type:"SET_TOUCHED",payload:b.initialTouched||G}))}),[u,b.initialTouched]),Object(l.useEffect)((function(){u&&!0===g.current&&!d()(_.current,b.initialStatus)&&(_.current=b.initialStatus,x({type:"SET_STATUS",payload:b.initialStatus}))}),[u,b.initialStatus,b.initialTouched]);var V=J((function(e){if(v.current[e]&&A(v.current[e].validate)){var t=$(E.values,e),r=v.current[e].validate(t);return N(r)?(x({type:"SET_ISVALIDATING",payload:!0}),r.then((function(e){return e})).then((function(t){x({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),x({type:"SET_ISVALIDATING",payload:!1})}))):(x({type:"SET_FIELD_ERROR",payload:{field:e,value:r}}),Promise.resolve(r))}return b.validationSchema?(x({type:"SET_ISVALIDATING",payload:!0}),k(E.values,e).then((function(e){return e})).then((function(t){x({type:"SET_FIELD_ERROR",payload:{field:e,value:t[e]}}),x({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),B=Object(l.useCallback)((function(e,t){var r=t.validate;v.current[e]={validate:r}}),[]),z=Object(l.useCallback)((function(e){delete v.current[e]}),[]),W=J((function(e,t){return x({type:"SET_TOUCHED",payload:e}),(void 0===t?n:t)?C(E.values):Promise.resolve()})),Y=Object(l.useCallback)((function(e){x({type:"SET_ERRORS",payload:e})}),[]),X=J((function(e,t){var s=A(e)?e(E.values):e;return x({type:"SET_VALUES",payload:s}),(void 0===t?r:t)?C(s):Promise.resolve()})),Q=Object(l.useCallback)((function(e,t){x({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})}),[]),Z=J((function(e,t,s){return x({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===s?r:s)?C(D(E.values,e,t)):Promise.resolve()})),ee=Object(l.useCallback)((function(e,t){var r,s=t,n=e;if(!M(e)){e.persist&&e.persist();var a=e.target?e.target:e.currentTarget,o=a.type,i=a.name,c=a.id,l=a.value,u=a.checked,d=(a.outerHTML,a.options),p=a.multiple;s=t||i||c,n=/number|range/.test(o)?(r=parseFloat(l),isNaN(r)?"":r):/checkbox/.test(o)?function(e,t,r){if("boolean"==typeof e)return Boolean(t);var s=[],n=!1,a=-1;if(Array.isArray(e))s=e,n=(a=e.indexOf(r))>=0;else if(!r||"true"==r||"false"==r)return Boolean(t);return t&&r&&!n?s.concat(r):n?s.slice(0,a).concat(s.slice(a+1)):s}($(E.values,s),u,l):d&&p?function(e){return Array.from(e).filter((function(e){return e.selected})).map((function(e){return e.value}))}(d):l}s&&Z(s,n)}),[Z,E.values]),te=J((function(e){if(M(e))return function(t){return ee(t,e)};ee(e)})),re=J((function(e,t,r){return void 0===t&&(t=!0),x({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===r?n:r)?C(E.values):Promise.resolve()})),se=Object(l.useCallback)((function(e,t){e.persist&&e.persist();var r=e.target,s=r.name,n=r.id,a=(r.outerHTML,t||s||n);re(a,!0)}),[re]),ne=J((function(e){if(M(e))return function(t){return se(t,e)};se(e)})),ae=Object(l.useCallback)((function(e){A(e)?x({type:"SET_FORMIK_STATE",payload:e}):x({type:"SET_FORMIK_STATE",payload:function(){return e}})}),[]),oe=Object(l.useCallback)((function(e){x({type:"SET_STATUS",payload:e})}),[]),ie=Object(l.useCallback)((function(e){x({type:"SET_ISSUBMITTING",payload:e})}),[]),ce=J((function(){return x({type:"SUBMIT_ATTEMPT"}),C().then((function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var r;try{if(void 0===(r=de()))return}catch(e){throw e}return Promise.resolve(r).then((function(e){return g.current&&x({type:"SUBMIT_SUCCESS"}),e})).catch((function(e){if(g.current)throw x({type:"SUBMIT_FAILURE"}),e}))}if(g.current&&(x({type:"SUBMIT_FAILURE"}),t))throw e}))})),le=J((function(e){e&&e.preventDefault&&A(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&A(e.stopPropagation)&&e.stopPropagation(),ce().catch((function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)}))})),ue={resetForm:U,validateForm:C,validateField:V,setErrors:Y,setFieldError:Q,setFieldTouched:re,setFieldValue:Z,setStatus:oe,setSubmitting:ie,setTouched:W,setValues:X,setFormikState:ae,submitForm:ce},de=J((function(){return p(E.values,ue)})),pe=J((function(e){e&&e.preventDefault&&A(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&A(e.stopPropagation)&&e.stopPropagation(),U()})),me=Object(l.useCallback)((function(e){return{value:$(E.values,e),error:$(E.errors,e),touched:!!$(E.touched,e),initialValue:$(f.current,e),initialTouched:!!$(O.current,e),initialError:$(h.current,e)}}),[E.errors,E.touched,E.values]),be=Object(l.useCallback)((function(e){return{setValue:function(t,r){return Z(e,t,r)},setTouched:function(t,r){return re(e,t,r)},setError:function(t){return Q(e,t)}}}),[Z,re,Q]),fe=Object(l.useCallback)((function(e){var t=R(e),r=t?e.name:e,s=$(E.values,r),n={name:r,value:s,onChange:te,onBlur:ne};if(t){var a=e.type,o=e.value,i=e.as,c=e.multiple;"checkbox"===a?void 0===o?n.checked=!!s:(n.checked=!(!Array.isArray(s)||!~s.indexOf(o)),n.value=o):"radio"===a?(n.checked=s===o,n.value=o):"select"===i&&c&&(n.value=n.value||[],n.multiple=!0)}return n}),[ne,te,E.values]),he=Object(l.useMemo)((function(){return!d()(f.current,E.values)}),[f.current,E.values]),ye=Object(l.useMemo)((function(){return void 0!==i?he?E.errors&&0===Object.keys(E.errors).length:!1!==i&&A(i)?i(b):i:E.errors&&0===Object.keys(E.errors).length}),[i,he,E.errors,b]);return T({},E,{initialValues:f.current,initialErrors:h.current,initialTouched:O.current,initialStatus:_.current,handleBlur:ne,handleChange:te,handleReset:pe,handleSubmit:le,resetForm:U,setErrors:Y,setFormikState:ae,setFieldTouched:re,setFieldValue:Z,setFieldError:Q,setStatus:oe,setSubmitting:ie,setTouched:W,setValues:X,submitForm:ce,validateForm:C,validateField:V,isValid:ye,dirty:he,unregisterField:z,registerField:B,getFieldProps:fe,getFieldMeta:me,getFieldHelpers:be,validateOnBlur:n,validateOnChange:r,validateOnMount:o})}(e),r=e.component,s=e.children,n=e.render,a=e.innerRef;return Object(l.useImperativeHandle)(a,(function(){return t})),Object(l.createElement)(B,{value:t},r?Object(l.createElement)(r,t):n?n(t):s?A(s)?s(t):C(s)?null:l.Children.only(s):null)}function K(e,t,r){var s=e.slice();return t.forEach((function(t,n){if(void 0===s[n]){var a=!1!==r.clone&&r.isMergeableObject(t);s[n]=a?y(Array.isArray(t)?[]:{},t,r):t}else r.isMergeableObject(t)?s[n]=y(e[n],t,r):-1===e.indexOf(t)&&s.push(t)})),s}var X="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?l.useLayoutEffect:l.useEffect;function J(e){var t=Object(l.useRef)(e);return X((function(){t.current=e})),Object(l.useCallback)((function(){for(var e=arguments.length,r=new Array(e),s=0;s<e;s++)r[s]=arguments[s];return t.current.apply(void 0,r)}),[])}function Q(e){var t=W(),r=t.getFieldProps,s=t.getFieldMeta,n=t.getFieldHelpers,a=t.registerField,o=t.unregisterField,i=R(e)?e:{name:e},c=i.name,u=i.validate;return Object(l.useEffect)((function(){return c&&a(c,{validate:u}),function(){c&&o(c)}}),[a,o,c,u]),[r(i),s(c),n(c)]}function Z(e){var t=e.validate,r=e.name,s=e.render,n=e.children,a=e.as,o=e.component,i=F(e,["validate","name","render","children","as","component"]),c=F(W(),["validate","validationSchema"]),u=c.registerField,d=c.unregisterField;Object(l.useEffect)((function(){return u(r,{validate:t}),function(){d(r)}}),[u,d,r,t]);var p=c.getFieldProps(T({name:r},i)),m=c.getFieldMeta(r),b={field:p,form:c};if(s)return s(T({},b,{meta:m}));if(A(n))return n(T({},b,{meta:m}));if(o){if("string"==typeof o){var f=i.innerRef,h=F(i,["innerRef"]);return Object(l.createElement)(o,T({ref:f},p,h),n)}return Object(l.createElement)(o,T({field:p,form:c},i),n)}var y=a||"input";if("string"==typeof y){var O=i.innerRef,w=F(i,["innerRef"]);return Object(l.createElement)(y,T({ref:O},p,w),n)}return Object(l.createElement)(y,T({},p,i),n)}var ee=Object(l.forwardRef)((function(e,t){var r=e.action,s=F(e,["action"]),n=null!=r?r:"#",a=W(),o=a.handleReset,i=a.handleSubmit;return Object(l.createElement)("form",Object.assign({onSubmit:i,ref:t,onReset:o,action:n},s))}));function te(e){var t=function(t){return Object(l.createElement)(z,null,(function(r){return Object(l.createElement)(e,Object.assign({},t,{formik:r}))}))},r=e.displayName||e.name||e.constructor&&e.constructor.name||"Component";return t.WrappedComponent=e,t.displayName="FormikConnect("+r+")",x()(t,e)}ee.displayName="Form";var re=function(e,t,r){var s=se(e);return s.splice(t,0,r),s},se=function(e){if(e){if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map((function(e){return parseInt(e)})).reduce((function(e,t){return t>e?t:e}),0);return Array.from(T({},e,{length:t+1}))}return[]},ne=function(e){function t(t){var r;return(r=e.call(this,t)||this).updateArrayField=function(e,t,s){var n=r.props,a=n.name;(0,n.formik.setFormikState)((function(r){var n="function"==typeof s?s:e,o="function"==typeof t?t:e,i=D(r.values,a,e($(r.values,a))),c=s?n($(r.errors,a)):void 0,l=t?o($(r.touched,a)):void 0;return P(c)&&(c=void 0),P(l)&&(l=void 0),T({},r,{values:i,errors:s?D(r.errors,a,c):r.errors,touched:t?D(r.touched,a,l):r.touched})}))},r.push=function(e){return r.updateArrayField((function(t){return[].concat(se(t),[k()(e)])}),!1,!1)},r.handlePush=function(e){return function(){return r.push(e)}},r.swap=function(e,t){return r.updateArrayField((function(r){return function(e,t,r){var s=se(e),n=s[t];return s[t]=s[r],s[r]=n,s}(r,e,t)}),!0,!0)},r.handleSwap=function(e,t){return function(){return r.swap(e,t)}},r.move=function(e,t){return r.updateArrayField((function(r){return function(e,t,r){var s=se(e),n=s[t];return s.splice(t,1),s.splice(r,0,n),s}(r,e,t)}),!0,!0)},r.handleMove=function(e,t){return function(){return r.move(e,t)}},r.insert=function(e,t){return r.updateArrayField((function(r){return re(r,e,t)}),(function(t){return re(t,e,null)}),(function(t){return re(t,e,null)}))},r.handleInsert=function(e,t){return function(){return r.insert(e,t)}},r.replace=function(e,t){return r.updateArrayField((function(r){return function(e,t,r){var s=se(e);return s[t]=r,s}(r,e,t)}),!1,!1)},r.handleReplace=function(e,t){return function(){return r.replace(e,t)}},r.unshift=function(e){var t=-1;return r.updateArrayField((function(r){var s=r?[e].concat(r):[e];return t<0&&(t=s.length),s}),(function(e){var r=e?[null].concat(e):[null];return t<0&&(t=r.length),r}),(function(e){var r=e?[null].concat(e):[null];return t<0&&(t=r.length),r})),t},r.handleUnshift=function(e){return function(){return r.unshift(e)}},r.handleRemove=function(e){return function(){return r.remove(e)}},r.handlePop=function(){return function(){return r.pop()}},r.remove=r.remove.bind(L(r)),r.pop=r.pop.bind(L(r)),r}var r,s;s=e,(r=t).prototype=Object.create(s.prototype),r.prototype.constructor=r,r.__proto__=s;var n=t.prototype;return n.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!d()($(e.formik.values,e.name),$(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(e){var t;return this.updateArrayField((function(r){var s=r?se(r):[];return t||(t=s[e]),A(s.splice)&&s.splice(e,1),s}),!0,!0),t},n.pop=function(){var e;return this.updateArrayField((function(t){var r=t;return e||(e=r&&r.pop&&r.pop()),r}),!0,!0),e},n.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},t=this.props,r=t.component,s=t.render,n=t.children,a=t.name,o=T({},e,{form:F(t.formik,["validate","validationSchema"]),name:a});return r?Object(l.createElement)(r,o):s?s(o):n?"function"==typeof n?n(o):C(n)?null:l.Children.only(n):null},t}(l.Component);ne.defaultProps={validateOnChange:!0};var ae=te(ne),oe=(l.Component,l.Component,r(4));function ie(){return(ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(this,arguments)}var ce,le=ce||(ce={});le.Pop="POP",le.Push="PUSH",le.Replace="REPLACE";function ue(e){e.preventDefault(),e.returnValue=""}function de(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function pe(e){var t=e.pathname;t=void 0===t?"/":t;var r=e.search;return r=void 0===r?"":r,e=void 0===(e=e.hash)?"":e,r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),e&&"#"!==e&&(t+="#"===e.charAt(0)?e:"#"+e),t}function me(e){var t={};if(e){var r=e.indexOf("#");0<=r&&(t.hash=e.substr(r),e=e.substr(0,r)),0<=(r=e.indexOf("?"))&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}const be=Object(l.createContext)(null),fe=Object(l.createContext)(null),he=Object(l.createContext)({outlet:null,matches:[]});function ye(e,t){if(!e)throw new Error(t)}const Oe=/^:\w+$/,we=e=>"*"===e;function _e(e,t){let r=e.split("/"),s=r.length;return r.some(we)&&(s+=-2),t&&(s+=2),r.filter(e=>!we(e)).reduce((e,t)=>e+(Oe.test(t)?3:""===t?1:10),s)}function ge(e,t){let{routesMeta:r}=e,s={},n="/",a=[];for(let e=0;e<r.length;++e){let o=r[e],i=e===r.length-1,c="/"===n?t:t.slice(n.length)||"/",l=ve({path:o.relativePath,caseSensitive:o.caseSensitive,end:i},c);if(!l)return null;Object.assign(s,l.params);let u=o.route;a.push({params:s,pathname:xe([n,l.pathname]),pathnameBase:Se(xe([n,l.pathnameBase])),route:u}),"/"!==l.pathnameBase&&(n=xe([n,l.pathnameBase]))}return a}function ve(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,s]=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0);let s=[],n="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(e,t)=>(s.push(t),"([^\\/]+)"));return e.endsWith("*")?(s.push("*"),n+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n+=r?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(n,t?void 0:"i"),s]}(e.path,e.caseSensitive,e.end),n=t.match(r);if(!n)return null;let a=n[0],o=a.replace(/(.)\/+$/,"$1"),i=n.slice(1);return{params:s.reduce((e,t,r)=>{if("*"===t){let e=i[r]||"";o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(t){return e}}(i[r]||""),e},{}),pathname:a,pathnameBase:o,pattern:e}}function je(e,t,r){let s,n="string"==typeof e?me(e):e,a=""===e||""===n.pathname?"/":n.pathname;if(null==a)s=r;else{let e=t.length-1;if(a.startsWith("..")){let t=a.split("/");for(;".."===t[0];)t.shift(),e-=1;n.pathname=t.join("/")}s=e>=0?t[e]:"/"}let o=function(e,t){void 0===t&&(t="/");let{pathname:r,search:s="",hash:n=""}="string"==typeof e?me(e):e;return{pathname:r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)}),r.length>1?r.join("/"):"/"}(r,t):t,search:ke(s),hash:Te(n)}}(n,s);return a&&"/"!==a&&a.endsWith("/")&&!o.pathname.endsWith("/")&&(o.pathname+="/"),o}function Ee(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=e.charAt(t.length);return r&&"/"!==r?null:e.slice(t.length)||"/"}const xe=e=>e.join("/").replace(/\/\/+/g,"/"),Se=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),ke=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Te=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function Fe(){return null!=Object(l.useContext)(fe)}function Le(){return Fe()||ye(!1),Object(l.useContext)(fe).location}function Pe(){Fe()||ye(!1);let{basename:e,navigator:t}=Object(l.useContext)(be),{matches:r}=Object(l.useContext)(he),{pathname:s}=Le(),n=JSON.stringify(r.map(e=>e.pathnameBase)),a=Object(l.useRef)(!1);return Object(l.useEffect)(()=>{a.current=!0}),Object(l.useCallback)((function(r,o){if(void 0===o&&(o={}),!a.current)return;if("number"==typeof r)return void t.go(r);let i=je(r,JSON.parse(n),s);"/"!==e&&(i.pathname=xe([e,i.pathname])),(o.replace?t.replace:t.push)(i,o.state)}),[e,t,n,s])}function Ae(e){let{matches:t}=Object(l.useContext)(he),{pathname:r}=Le(),s=JSON.stringify(t.map(e=>e.pathnameBase));return Object(l.useMemo)(()=>je(e,JSON.parse(s),r),[e,s,r])}function Re(e){let{to:t,replace:r,state:s}=e;Fe()||ye(!1);let n=Pe();return Object(l.useEffect)(()=>{n(t,{replace:r,state:s})}),null}function Ie(e){ye(!1)}function Me(e){let{basename:t="/",children:r=null,location:s,navigationType:n=ce.Pop,navigator:a,static:o=!1}=e;Fe()&&ye(!1);let i=Se(t),c=Object(l.useMemo)(()=>({basename:i,navigator:a,static:o}),[i,a,o]);"string"==typeof s&&(s=me(s));let{pathname:u="/",search:d="",hash:p="",state:m=null,key:b="default"}=s,f=Object(l.useMemo)(()=>{let e=Ee(u,i);return null==e?null:{pathname:e,search:d,hash:p,state:m,key:b}},[i,u,d,p,m,b]);return null==f?null:Object(l.createElement)(be.Provider,{value:c},Object(l.createElement)(fe.Provider,{children:r,value:{location:f,navigationType:n}}))}function Ce(e){let{children:t,location:r}=e;return function(e,t){Fe()||ye(!1);let{matches:r}=Object(l.useContext)(he),s=r[r.length-1],n=s?s.params:{},a=(s&&s.pathname,s?s.pathnameBase:"/");s&&s.route;let o,i=Le();if(t){var c;let e="string"==typeof t?me(t):t;"/"===a||(null==(c=e.pathname)?void 0:c.startsWith(a))||ye(!1),o=e}else o=i;let u=o.pathname||"/",d=function(e,t,r){void 0===r&&(r="/");let s=Ee(("string"==typeof t?me(t):t).pathname||"/",r);if(null==s)return null;let n=function e(t,r,s,n){return void 0===r&&(r=[]),void 0===s&&(s=[]),void 0===n&&(n=""),t.forEach((t,a)=>{let o={relativePath:t.path||"",caseSensitive:!0===t.caseSensitive,childrenIndex:a,route:t};o.relativePath.startsWith("/")&&(o.relativePath.startsWith(n)||ye(!1),o.relativePath=o.relativePath.slice(n.length));let i=xe([n,o.relativePath]),c=s.concat(o);t.children&&t.children.length>0&&(!0===t.index&&ye(!1),e(t.children,r,c,i)),(null!=t.path||t.index)&&r.push({path:i,score:_e(i,t.index),routesMeta:c})}),r}(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every((e,r)=>e===t[r])?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(n);let a=null;for(let e=0;null==a&&e<n.length;++e)a=ge(n[e],s);return a}(e,{pathname:"/"===a?u:u.slice(a.length)||"/"});return function(e,t){return void 0===t&&(t=[]),null==e?null:e.reduceRight((r,s,n)=>Object(l.createElement)(he.Provider,{children:void 0!==s.route.element?s.route.element:r,value:{outlet:r,matches:t.concat(e.slice(0,n+1))}}),null)}(d&&d.map(e=>Object.assign({},e,{params:Object.assign({},n,e.params),pathname:xe([a,e.pathname]),pathnameBase:"/"===e.pathnameBase?a:xe([a,e.pathnameBase])})),r)}(function e(t){let r=[];return l.Children.forEach(t,t=>{if(!Object(l.isValidElement)(t))return;if(t.type===l.Fragment)return void r.push.apply(r,e(t.props.children));t.type!==Ie&&ye(!1);let s={caseSensitive:t.props.caseSensitive,element:t.props.element,index:t.props.index,path:t.props.path};t.props.children&&(s.children=e(t.props.children)),r.push(s)}),r}(t),r)}function Ne(){return(Ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(this,arguments)}const $e=["onClick","reloadDocument","replace","state","target","to"];function De(e){let{basename:t,children:r,window:s}=e,n=Object(l.useRef)();null==n.current&&(n.current=function(e){function t(){var e=me(i.location.hash.substr(1)),t=e.pathname,r=e.search;e=e.hash;var s=c.state||{};return[s.idx,{pathname:void 0===t?"/":t,search:void 0===r?"":r,hash:void 0===e?"":e,state:s.usr||null,key:s.key||"default"}]}function r(){if(l)b.call(l),l=null;else{var e=ce.Pop,r=t(),s=r[0];if(r=r[1],b.length){if(null!=s){var n=d-s;n&&(l={action:e,location:r,retry:function(){o(-1*n)}},o(n))}}else a(e)}}function s(e){var t=document.querySelector("base"),r="";return t&&t.getAttribute("href")&&(r=-1===(r=(t=i.location.href).indexOf("#"))?t:t.slice(0,r)),r+"#"+("string"==typeof e?e:pe(e))}function n(e,t){return void 0===t&&(t=null),ie({pathname:p.pathname,hash:"",search:""},"string"==typeof e?me(e):e,{state:t,key:Math.random().toString(36).substr(2,8)})}function a(e){u=e,e=t(),d=e[0],p=e[1],m.call({action:u,location:p})}function o(e){c.go(e)}void 0===e&&(e={});var i=void 0===(e=e.window)?document.defaultView:e,c=i.history,l=null;i.addEventListener("popstate",r),i.addEventListener("hashchange",(function(){pe(t()[1])!==pe(p)&&r()}));var u=ce.Pop,d=(e=t())[0],p=e[1],m=de(),b=de();return null==d&&(d=0,c.replaceState(ie({},c.state,{idx:d}),"")),{get action(){return u},get location(){return p},createHref:s,push:function e(t,r){var o=ce.Push,l=n(t,r);if(!b.length||(b.call({action:o,location:l,retry:function(){e(t,r)}}),0)){var u=[{usr:l.state,key:l.key,idx:d+1},s(l)];l=u[0],u=u[1];try{c.pushState(l,"",u)}catch(e){i.location.assign(u)}a(o)}},replace:function e(t,r){var o=ce.Replace,i=n(t,r);b.length&&(b.call({action:o,location:i,retry:function(){e(t,r)}}),1)||(i=[{usr:i.state,key:i.key,idx:d},s(i)],c.replaceState(i[0],"",i[1]),a(o))},go:o,back:function(){o(-1)},forward:function(){o(1)},listen:function(e){return m.push(e)},block:function(e){var t=b.push(e);return 1===b.length&&i.addEventListener("beforeunload",ue),function(){t(),b.length||i.removeEventListener("beforeunload",ue)}}}}({window:s}));let a=n.current,[o,i]=Object(l.useState)({action:a.action,location:a.location});return Object(l.useLayoutEffect)(()=>a.listen(i),[a]),Object(l.createElement)(Me,{basename:t,children:r,location:o.location,navigationType:o.action,navigator:a})}const Ue=Object(l.forwardRef)((function(e,t){let{onClick:r,reloadDocument:s,replace:n=!1,state:a,target:o,to:i}=e,c=function(e,t){if(null==e)return{};var r,s,n={},a=Object.keys(e);for(s=0;s<a.length;s++)r=a[s],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,$e),u=function(e){Fe()||ye(!1);let{basename:t,navigator:r}=Object(l.useContext)(be),{hash:s,pathname:n,search:a}=Ae(e),o=n;if("/"!==t){let r=function(e){return""===e||""===e.pathname?"/":"string"==typeof e?me(e).pathname:e.pathname}(e),s=null!=r&&r.endsWith("/");o="/"===n?t+(s?"/":""):xe([t,n])}return r.createHref({pathname:o,search:a,hash:s})}(i),d=function(e,t){let{target:r,replace:s,state:n}=void 0===t?{}:t,a=Pe(),o=Le(),i=Ae(e);return Object(l.useCallback)(t=>{if(!(0!==t.button||r&&"_self"!==r||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(t))){t.preventDefault();let r=!!s||pe(o)===pe(i);a(e,{replace:r,state:n})}},[o,a,i,s,n,r,e])}(i,{replace:n,state:a,target:o});return Object(l.createElement)("a",Ne({},c,{href:u,onClick:function(e){r&&r(e),e.defaultPrevented||s||d(e)},ref:t,target:o}))}));var Ve=r(8),Be=r(11),ze=r.n(Be),We=r(242),qe=l.forwardRef((function(e,t){return l.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),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 15l7-7 7 7"}))})),He=l.forwardRef((function(e,t){return l.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),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"}))})),Ge=l.forwardRef((function(e,t){return l.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),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"}))})),Ye=l.forwardRef((function(e,t){return l.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),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"}))})),Ke=l.forwardRef((function(e,t){return l.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),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01"}))})),Xe=l.forwardRef((function(e,t){return l.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),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"}))})),Je=r(274),Qe=r(1),Ze=r(26),et=r.n(Ze),tt=r(2),rt=r.n(tt),st=e=>{let{name:t}=e;const r=ct("selectPreference",[],"isNetworkAdmin"),n=ct("selectPreference",[],"isMainSite"),a=Object(s.useMemo)(()=>"wpseo.tracking"===t&&!r&&!n,[t,r,n]),o=Object(s.useMemo)(()=>Object(oe.get)(window,"wpseoScriptData.disabledSettings."+t,""),[]),i=Object(s.useMemo)(()=>{if(a)return Object(Qe.__)("Unavailable for sub-sites","wordpress-seo");switch(o){case"multisite":return Object(Qe.__)("Unavailable for multisites","wordpress-seo");case"network":return Object(Qe.__)("Network disabled","wordpress-seo");default:return""}},[o,a]);return{isDisabled:Object(s.useMemo)(()=>!Object(oe.isEmpty)(i),[i]),message:i}};const nt="@yoast/settings";var at=()=>Object(a.useDispatch)(nt),ot=r(251),it=r.n(ot),ct=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];for(var r=arguments.length,s=new Array(r>2?r-2:0),n=2;n<r;n++)s[n-2]=arguments[n];return Object(a.useSelect)(t=>{var r,n;return null===(r=(n=t(nt))[e])||void 0===r?void 0:r.call(n,...s)},t)};const lt=e=>{let{id:t,children:r,title:n,description:a=null}=e;const o=ct("selectPreference",[],"isPremium"),i=Object(s.useMemo)(()=>o?{grid:"yst-grid xl:yst-grid-cols-3 xl:yst-gap-12",col1:"yst-col-span-1",col2:"xl:yst-mt-0 xl:yst-col-span-2"}:{grid:"yst-grid 2xl:yst-grid-cols-3 2xl:yst-gap-12",col1:"yst-col-span-1",col2:"2xl:yst-mt-0 2xl:yst-col-span-2"},[o]);return Object(s.createElement)("section",{id:t,className:i.grid},Object(s.createElement)("div",{className:i.col1},Object(s.createElement)("div",{className:"yst-max-w-screen-sm"},Object(s.createElement)(c.Title,{as:"h2",size:"4"},n),a&&Object(s.createElement)("p",{className:"yst-mt-2"},a))),Object(s.createElement)("fieldset",{className:"yst-min-w-0 yst-mt-8 "+i.col2},Object(s.createElement)("legend",{className:"yst-sr-only"},n),Object(s.createElement)("div",{className:"yst-space-y-8"},r)))};lt.propTypes={id:rt.a.string,children:rt.a.node.isRequired,title:rt.a.node.isRequired,description:rt.a.node};var ut=lt,dt=l.forwardRef((function(e,t){return l.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),l.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"}))})),pt=r(91),mt=r.n(pt);const bt=e=>{let{children:t}=e;const{isSubmitting:r,status:n,dirty:a,resetForm:o,initialValues:i}=W(),l=ct("selectIsMediaLoading"),u=Object(s.useMemo)(()=>Object(oe.includes)(Object(oe.values)(n),!0),[n]),d=Object(c.useSvgAria)(),[p,,,m,b]=Object(c.useToggleState)(!1),f=Object(s.useCallback)(()=>{b(),o({values:i})},[o,i,b]);return Object(s.createElement)(ee,{className:"yst-flex yst-flex-col yst-h-full yst-min-h-[75vh]"},Object(s.createElement)("div",{className:"yst-flex-grow yst-p-8"},t),Object(s.createElement)("footer",{className:"yst-sticky yst-bottom-0 yst-z-10"},Object(s.createElement)(mt.a,{easing:"ease-in-out",duration:300,height:a?"auto":0,animateOpacity:!0},Object(s.createElement)("div",{className:"yst-bg-slate-50 yst-border-slate-200 yst-border-t yst-rounded-b-lg"},Object(s.createElement)("div",{className:"yst-flex yst-align-middle yst-space-x-3 yst-p-8"},Object(s.createElement)(c.Button,{id:"button-submit-settings",type:"submit",isLoading:r,disabled:r||l||u},Object(Qe.__)("Save changes","wordpress-seo")),Object(s.createElement)(c.Button,{id:"button-undo-settings",type:"button",variant:"secondary",disabled:!a,onClick:m},Object(Qe.__)("Discard changes","wordpress-seo")),Object(s.createElement)(c.Modal,{onClose:b,isOpen:p},Object(s.createElement)("div",{className:"sm:yst-flex sm:yst-items-start"},Object(s.createElement)("div",{className:"yst-mx-auto yst-flex-shrink-0 yst-flex yst-items-center yst-justify-center yst-h-12 yst-w-12 yst-rounded-full yst-bg-red-100 sm:yst-mx-0 sm:yst-h-10 sm:yst-w-10"},Object(s.createElement)(dt,ze()({className:"yst-h-6 yst-w-6 yst-text-red-600"},d))),Object(s.createElement)("div",{className:"yst-mt-3 yst-text-center sm:yst-mt-0 sm:yst-ml-4 sm:yst-text-left"},Object(s.createElement)(c.Modal.Title,{as:"h3",className:"yst-text-lg yst-leading-6 yst-font-medium yst-text-slate-900"},Object(Qe.__)("Discard all changes","wordpress-seo")),Object(s.createElement)(c.Modal.Description,{className:"yst-text-sm yst-text-slate-500"},Object(Qe.__)("You are about to discard all unsaved changes. All of your settings will be reset to the point where you last saved. Are you sure you want to do this?","wordpress-seo")))),Object(s.createElement)("div",{className:"yst-flex yst-flex-col sm:yst-flex-row-reverse yst-gap-3 yst-mt-6"},Object(s.createElement)(c.Button,{type:"button",variant:"error",onClick:f,className:"yst-block"},Object(Qe.__)("Yes, discard changes","wordpress-seo")),Object(s.createElement)(c.Button,{type:"button",variant:"secondary",onClick:b,className:"yst-block"},Object(Qe.__)("No, continue editing","wordpress-seo")))))))))};bt.propTypes={children:rt.a.node.isRequired};var ft=bt;const ht=e=>{const[t,,{setTouched:r,setValue:n}]=Q({...e,type:"checkbox"}),a=Object(s.useCallback)(e=>{r(!0,!1),n(!e)},[e.name]);return Object(s.createElement)(c.ToggleField,ze()({},t,{checked:Object(oe.isUndefined)(e.checked)?!t.checked:!e.checked,onChange:a},e))};ht.propTypes={name:rt.a.string.isRequired,checked:rt.a.bool};var yt=ht,Ot=r(271);const wt={variant:{square:"yst-h-48 yst-w-48",landscape:"yst-h-48 yst-w-96",portrait:"yst-h-96 yst-w-48"}},_t=e=>{let{label:t="",description:r="",icon:n=Ot.a,disabled:a=!1,isDummy:o=!1,libraryType:i="image",variant:l="landscape",id:u,mediaUrlName:d,mediaIdName:p,fallbackMediaId:m="0",previewLabel:b="",selectLabel:f=Object(Qe.__)("Select image","wordpress-seo"),replaceLabel:h=Object(Qe.__)("Replace image","wordpress-seo"),removeLabel:y=Object(Qe.__)("Remove image","wordpress-seo"),className:O=""}=e;const{values:w,setFieldValue:_,setFieldTouched:g,errors:v}=W(),[j,E]=Object(s.useState)(null),x=Object(s.useMemo)(()=>Object(oe.get)(window,"wp.media",null),[]),S=Object(s.useMemo)(()=>Object(oe.get)(w,p,""),[w,p]),k=ct("selectMediaById",[S],S),T=ct("selectMediaById",[m],m),{fetchMedia:F,addOneMedia:L}=at(),P=Object(s.useMemo)(()=>Object(oe.get)(v,p,""),[v,p]),A=Object(s.useMemo)(()=>a||o,[o,a]),{ids:R,describedBy:I}=Object(c.useDescribedBy)(`field-${u}-id`,{description:r,error:P}),M=Object(s.useMemo)(()=>S>0?k:m>0?T:null,[S,k,m,T]),C=Object(s.useMemo)(()=>Object(oe.join)(Object(oe.map)((null==k?void 0:k.sizes)||(null==T?void 0:T.sizes),e=>`${null==e?void 0:e.url} ${null==e?void 0:e.width}w`),", "),[k,T]),N=Object(s.useCallback)(()=>{o||null==j||j.open()},[o,j]),$=Object(s.useCallback)(()=>{o||(g(d,!0,!1),_(d,"",!1),g(p,!0,!1),_(p,""))},[o,g,_,d,p]),D=Object(s.useCallback)(()=>{var e,t,r;if(o)return;const s=(null===(e=j.state())||void 0===e||null===(t=e.get("selection"))||void 0===t||null===(r=t.first())||void 0===r?void 0:r.toJSON())||{};g(d,!0,!1),_(d,s.url,!1),g(p,!0,!1),_(p,s.id),L(s)},[o,j,g,_,d,p]);return Object(s.useEffect)(()=>{x&&E(x({title:t,multiple:!1,library:{type:i}}))},[x,t,i,E]),Object(s.useEffect)(()=>(null==j||j.on("select",D),()=>null==j?void 0:j.off("select",D)),[j,D]),Object(s.useEffect)(()=>{S&&!k&&F([S]),m&&!T&&F([m])},[]),Object(s.createElement)("fieldset",{id:u,className:"yst-min-w-0 yst-w-96 yst-max-w-full"},Object(s.createElement)(Z,{type:"hidden",name:p,id:`input-${u}-id`,"aria-describedby":I,disabled:A}),Object(s.createElement)(Z,{type:"hidden",name:d,id:`input-${u}-url`,"aria-describedby":I,disabled:A}),t&&Object(s.createElement)(c.Label,{as:"legend",className:et()("yst-mb-2",A&&"yst-opacity-50 yst-cursor-not-allowed")},t),Object(s.createElement)("button",{type:"button",id:`button-${u}-preview`,onClick:N,className:et()("yst-overflow-hidden yst-flex yst-justify-center yst-items-center yst-max-w-full yst-rounded-md yst-mb-4 yst-border-slate-300 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-offset-2 focus:yst-ring-primary-500",!o&&M?"yst-bg-slate-50 yst-border":"yst-border-2 yst-border-dashed",A&&"yst-opacity-50 yst-cursor-not-allowed",wt.variant[l],O),disabled:A},!o&&M?Object(s.createElement)(s.Fragment,null,Object(s.createElement)("span",{className:"yst-sr-only"},h),Object(s.createElement)("img",{src:null==M?void 0:M.url,alt:(null==M?void 0:M.alt)||"",srcSet:C,sizes:"landscape"===l?"24rem":"12rem",width:"landscape"===l?"24rem":"12rem",loading:"lazy",decoding:"async",className:"yst-object-cover yst-object-center yst-min-h-full yst-min-w-full"})):Object(s.createElement)("div",{className:"yst-w-48 yst-max-w-full"},Object(s.createElement)("span",{className:"yst-sr-only"},f),Object(s.createElement)(n,{className:"yst-mx-auto yst-h-12 yst-w-12 yst-text-slate-400 yst-stroke-1"}),b&&Object(s.createElement)("p",{className:"yst-text-xs yst-text-slate-600 yst-text-center yst-mt-1 yst-px-8"},b))),Object(s.createElement)("div",{className:"yst-flex yst-gap-4"},!o&&S>0?Object(s.createElement)(c.Button,{id:`button-${u}-replace`,variant:"secondary",onClick:N,disabled:A},h):Object(s.createElement)(c.Button,{id:`button-${u}-select`,variant:"secondary",onClick:N,disabled:A},f),!o&&S>0&&Object(s.createElement)(c.Link,{id:`button-${u}-remove`,as:"button",type:"button",variant:"error",onClick:$,className:et()(A&&"yst-opacity-50 yst-cursor-not-allowed"),disabled:A},y)),P&&Object(s.createElement)("p",{id:R.error,className:"yst-mt-2 yst-text-sm yst-text-red-600"},P),r&&Object(s.createElement)("p",{id:R.description,className:et()("yst-mt-2",A&&"yst-opacity-50 yst-cursor-not-allowed")},r))};_t.propTypes={label:rt.a.string,description:rt.a.node,icon:rt.a.elementType,disabled:rt.a.bool,isDummy:rt.a.bool,libraryType:rt.a.string,variant:rt.a.oneOf(Object(oe.keys)(wt.variant)),id:rt.a.string.isRequired,mediaUrlName:rt.a.string.isRequired,mediaIdName:rt.a.string.isRequired,fallbackMediaId:rt.a.string,previewLabel:rt.a.node,selectLabel:rt.a.string,replaceLabel:rt.a.string,removeLabel:rt.a.string,className:rt.a.string};var gt=_t,vt=r(34);const jt=e=>{let{className:t="",disabled:r=!1,...n}=e;const[a,o]=Object(s.useState)(null),[i,,{setTouched:c,setValue:l}]=Q(n),u=Object(s.useCallback)(e=>{c(!0,!1),l(e)},[n.name]),d=Object(s.useCallback)(()=>null==a?void 0:a.focus(),[a]),p=Object(s.useMemo)(()=>{var e;return(null!==(e=i.value)&&void 0!==e&&e.match(/%%\w+%%$/)?i.value+" ":i.value)||""},[i.value]);return Object(s.createElement)("div",{className:t},Object(s.createElement)(vt.ReplacementVariableEditor,ze()({},i,{content:p,onChange:u,editorRef:o,onFocus:d,isDisabled:r},n)))};jt.propTypes={name:rt.a.string.isRequired,disabled:rt.a.bool,className:rt.a.string};var Et=jt;const xt=e=>{const[{value:t,...r},,{setTouched:n,setValue:a}]=Q(e),o=Object(s.useMemo)(()=>Object(oe.reduce)((null==t?void 0:t.split(","))||[],(e,t)=>{const r=Object(oe.trim)(t);return r?[...e,r]:e},[]),[t]),i=Object(s.useCallback)(e=>{n(!0,!1),a([...o,e].join(","))},[n,a,o]),l=Object(s.useCallback)(e=>{n(!0,!1),a([...o.slice(0,e),...o.slice(e+1)].join(","))},[n,a,o]);return Object(s.createElement)(c.TagField,ze()({},r,{tags:o,onAddTag:i,onRemoveTag:l},e))};xt.propTypes={name:rt.a.string.isRequired};var St=xt,kt=l.forwardRef((function(e,t){return l.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),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18 9v3m0 0v3m0-3h3m-3 0h-3m-2-5a4 4 0 11-8 0 4 4 0 018 0zM3 20a6 6 0 0112 0v1H3v-1z"}))})),Tt=r(23),Ft=r.n(Tt),Lt=r(24);let Pt;const At=e=>{let{children:t,className:r=""}=e;return Object(s.createElement)("div",{className:et()("yst-flex yst-items-center yst-justify-center yst-gap-2 yst-py-2 yst-px-3",r)},t)};At.propTypes={children:rt.a.node.isRequired,className:rt.a.string};const Rt=e=>{let{name:t,id:r,className:n="",...a}=e;const o=ct("selectUsers",[]),{addManyUsers:i}=at(),[{value:l,...u},,{setTouched:d,setValue:p}]=Q({type:"select",name:t,id:r,...a}),[m,b]=Object(s.useState)("idle"),[f,h]=Object(s.useState)([]),y=ct("selectPreference",[],"canCreateUsers",!1),O=ct("selectPreference",[],"createUserUrl",""),w=Object(s.useMemo)(()=>{const e=Object(oe.values)(o);return Object(oe.find)(e,["id",l])},[l,o]),_=Object(s.useCallback)(Object(oe.debounce)(async e=>{try{var t,r;b("loading"),Pt&&(null===(r=Pt)||void 0===r||r.abort()),Pt=new AbortController;const s=await Ft()({path:"/wp/v2/users?"+Object(Lt.buildQueryString)({search:e,per_page:20}),signal:null===(t=Pt)||void 0===t?void 0:t.signal});h(Object(oe.map)(s,"id")),i(s),b("success")}catch(e){if(e instanceof DOMException&&"AbortError"===e.name)return;h([]),b("error"),console.error(e.message)}},200),[h,i,b]),g=Object(s.useCallback)(e=>{d(!0,!1),p(e)},[p]),v=Object(s.useCallback)(e=>_(e.target.value),[_]);return Object(s.useEffect)(()=>{_("")},[]),Object(s.createElement)(c.AutocompleteField,ze()({},u,{name:t,id:r,value:w?l:0,onChange:g,placeholder:Object(Qe.__)("Select a user...","wordpress-seo"),selectedLabel:null==w?void 0:w.name,onQueryChange:v,className:n},a),Object(s.createElement)(s.Fragment,null,"idle"===m||"success"===m&&Object(s.createElement)(s.Fragment,null,Object(oe.isEmpty)(f)?Object(s.createElement)(At,null,Object(Qe.__)("No users found.","wordpress-seo")):Object(oe.map)(f,e=>{const t=null==o?void 0:o[e];return t?Object(s.createElement)(c.AutocompleteField.Option,{key:null==t?void 0:t.id,value:null==t?void 0:t.id},null==t?void 0:t.name):null}),y&&Object(s.createElement)("li",{className:"yst-sticky yst-inset-x-0 yst-bottom-0 yst-group"},Object(s.createElement)("a",{id:"link-create_user-"+r,href:O,target:"_blank",rel:"noreferrer",className:"yst-relative yst-w-full yst-flex yst-items-center yst-py-4 yst-px-3 yst-gap-2 yst-no-underline yst-text-sm yst-text-left yst-bg-white yst-text-slate-700 group-hover:yst-text-white group-hover:yst-bg-primary-500 yst-border-t yst-border-slate-200"},Object(s.createElement)(kt,{className:"yst-w-5 yst-h-5 yst-text-slate-400 group-hover:yst-text-white"}),Object(s.createElement)("span",null,Object(Qe.__)("Add new user...","wordpress-seo"))))),"loading"===m&&Object(s.createElement)(At,null,Object(s.createElement)(c.Spinner,{variant:"primary"}),Object(Qe.__)("Searching users...","wordpress-seo")),"error"===m&&Object(s.createElement)(At,{className:"yst-text-red-600"},Object(Qe.__)("Failed to retrieve users.","wordpress-seo"))))};Rt.propTypes={name:rt.a.string.isRequired,id:rt.a.string.isRequired,className:rt.a.string};var It=Rt;const Mt=e=>{let{as:t,transformValue:r=oe.identity,...n}=e;const[a,,{setTouched:o,setValue:i}]=Q(n),c=Object(s.useCallback)(e=>{o(!0,!1),i(r(e))},[n.name]);return Object(s.createElement)(t,ze()({},a,{onChange:c},n))};Mt.propTypes={as:rt.a.elementType.isRequired,name:rt.a.string.isRequired,transformValue:rt.a.func};var Ct=Mt,Nt=e=>{const t=t=>{let{name:r,...n}=t;const{isDisabled:a,message:o}=st({name:r});return a?Object(s.createElement)("div",null,Object(s.createElement)(c.Badge,{variant:"plain",size:"small",className:"yst-mb-2"},o),Object(s.createElement)(e,ze()({name:r},n,{disabled:!0}))):Object(s.createElement)(e,ze()({name:r},n))};return t.propTypes={name:rt.a.string.isRequired},t},$t=e=>{const t=t=>{let{name:r,isDummy:n=!1,...a}=t;const o=ct("selectDefaultSettingValue",[r],r);return n?Object(s.createElement)(e,ze()({name:r},a,{disabled:!0,value:o,onChange:oe.noop,checked:o,tags:[],onAddTag:oe.noop,onRemoveTag:oe.noop,content:o})):Object(s.createElement)(e,ze()({name:r},a))};return t.propTypes={name:rt.a.string.isRequired,isDummy:rt.a.bool},t},Dt=e=>{const t=t=>{let{name:r,...n}=t;const{isTouched:a,error:o}=(e=>{let{name:t}=e;const{touched:r,errors:n}=W();return{isTouched:Object(s.useMemo)(()=>Object(oe.get)(r,t,!1),[r]),error:Object(s.useMemo)(()=>Object(oe.get)(n,t,""),[n])}})({name:r});return Object(s.createElement)(e,ze()({name:r,error:a&&o},n))};return t.propTypes={name:rt.a.string.isRequired},t},Ut=Dt(Z);const Vt=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(oe.reduce)(e,(e,r,s)=>{const n=Object(oe.join)(Object(oe.filter)([t,s],Object(oe.flowRight)(Boolean,oe.toString)),".");return Object(oe.isObject)(r)||Object(oe.isArray)(r)?{...e,...Vt(r,n)}:{...e,[n]:r}},{})},Bt=e=>{let{id:t,onDismiss:r,...n}=e;const{errors:a}=W(),o=ct("selectSearchIndex"),i=Object(s.useMemo)(()=>Vt(a),[a]);return Object(s.createElement)(c.Notifications.Notification,ze()({key:t,id:t,onDismiss:r},n),Object(s.createElement)("ul",{className:"yst-list-disc yst-mt-1 yst-ml-4 yst-space-y-2"},Object(oe.map)(i,(e,t)=>e&&Object(s.createElement)("li",{key:t},Object(s.createElement)(Ue,{to:`${Object(oe.get)(o,t+".route","404")}#${Object(oe.get)(o,t+".fieldId","")}`},`${Object(oe.get)(o,t+".routeLabel","")} - ${Object(oe.get)(o,t+".fieldLabel","")}`),": ",e))))};Bt.propTypes={id:rt.a.string.isRequired,onDismiss:rt.a.func};var zt=()=>{(()=>{const{isValid:e,errors:t,isSubmitting:r}=W(),{addNotification:n,removeNotification:a}=at(),o=ct("selectNotification",[],"validation-errors");Object(s.useEffect)(()=>{e&&o&&a("validation-errors")},[e,o]),Object(s.useEffect)(()=>{r&&!e&&n({id:"validation-errors",variant:"error",size:"large",title:Object(Qe.__)("Oh no! It seems your form contains invalid data. Please review the following fields:","wordpress-seo")})},[r,t,e])})();const{removeNotification:e}=at(),t=ct("selectNotifications"),r=Object(s.useMemo)(()=>Object(oe.map)(t,t=>({...t,onDismiss:e,autoDismiss:"success"===t.variant?5e3:null,dismissScreenReaderLabel:Object(Qe.__)("Dismiss","wordpress-seo")})),[t]);return Object(s.createElement)(c.Notifications,{notifications:r,position:"bottom-left"},r.map(e=>"validation-errors"===e.id?Object(s.createElement)(Bt,ze()({key:e.id},e)):Object(s.createElement)(c.Notifications.Notification,ze()({key:e.id},e))))};const Wt=e=>{let{isEnabled:t,text: /* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ r=Object(Qe.__)("The %1$ssocial image%2$s, %1$ssocial title%2$s and %1$ssocial description%2$s require Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")}=e;const n=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(Qe.sprintf)(r,"<em>","</em>","<link>","</link>"),{em:Object(s.createElement)("em",null),link:Object(s.createElement)(Ue,{to:"/site-features#section-social-sharing"})}),[]);return t?null:Object(s.createElement)(c.Alert,{variant:"info",className:"yst-mb-6"},n)};Wt.propTypes={isEnabled:rt.a.bool.isRequired,text:rt.a.string};var qt=Wt,Ht=r(252);const Gt=e=>{let{children:t,title:r,description:n}=e;const a=function(){let{prefix:e="",postfix:t=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r=ct("selectPreference",[],"documentTitle");return e+r+t}({prefix:r+" ‹ "});return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(Ht.a,null,Object(s.createElement)("title",null,a)),Object(s.createElement)("header",{className:"yst-p-8 yst-border-b yst-border-slate-200"},Object(s.createElement)("div",{className:"yst-max-w-screen-sm"},Object(s.createElement)(c.Title,null,r),n&&Object(s.createElement)("p",{className:"yst-text-tiny yst-mt-3"},n))),t)};Gt.propTypes={children:rt.a.node.isRequired,title:rt.a.string.isRequired,description:rt.a.node};var Yt=Gt,Kt=r(309),Xt=l.forwardRef((function(e,t){return l.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),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"}))})),Jt="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function Qt(e,t,r,s){e.addEventListener?e.addEventListener(t,r,s):e.attachEvent&&e.attachEvent("on".concat(t),(function(){r(window.event)}))}function Zt(e,t){for(var r=t.slice(0,t.length-1),s=0;s<r.length;s++)r[s]=e[r[s].toLowerCase()];return r}function er(e){"string"!=typeof e&&(e="");for(var t=(e=e.replace(/\s/g,"")).split(","),r=t.lastIndexOf("");r>=0;)t[r-1]+=",",t.splice(r,1),r=t.lastIndexOf("");return t}for(var tr={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":Jt?173:189,"=":Jt?61:187,";":Jt?59:186,"'":222,"[":219,"]":221,"\\":220},rr={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},sr={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},nr={16:!1,18:!1,17:!1,91:!1},ar={},or=1;or<20;or++)tr["f".concat(or)]=111+or;var ir=[],cr=!1,lr="all",ur=[],dr=function(e){return tr[e.toLowerCase()]||rr[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function pr(e){lr=e||"all"}function mr(){return lr||"all"}var br=function(e){var t=e.key,r=e.scope,s=e.method,n=e.splitKey,a=void 0===n?"+":n;er(t).forEach((function(e){var t=e.split(a),n=t.length,o=t[n-1],i="*"===o?"*":dr(o);if(ar[i]){r||(r=mr());var c=n>1?Zt(rr,t):[];ar[i]=ar[i].filter((function(e){return!((!s||e.method===s)&&e.scope===r&&function(e,t){for(var r=e.length>=t.length?e:t,s=e.length>=t.length?t:e,n=!0,a=0;a<r.length;a++)-1===s.indexOf(r[a])&&(n=!1);return n}(e.mods,c))}))}}))};function fr(e,t,r,s){var n;if(t.element===s&&(t.scope===r||"all"===t.scope)){for(var a in n=t.mods.length>0,nr)Object.prototype.hasOwnProperty.call(nr,a)&&(!nr[a]&&t.mods.indexOf(+a)>-1||nr[a]&&-1===t.mods.indexOf(+a))&&(n=!1);(0!==t.mods.length||nr[16]||nr[18]||nr[17]||nr[91])&&!n&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function hr(e,t){var r=ar["*"],s=e.keyCode||e.which||e.charCode;if(yr.filter.call(this,e)){if(93!==s&&224!==s||(s=91),-1===ir.indexOf(s)&&229!==s&&ir.push(s),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var r=sr[t];e[t]&&-1===ir.indexOf(r)?ir.push(r):!e[t]&&ir.indexOf(r)>-1?ir.splice(ir.indexOf(r),1):"metaKey"===t&&e[t]&&3===ir.length&&(e.ctrlKey||e.shiftKey||e.altKey||(ir=ir.slice(ir.indexOf(r))))})),s in nr){for(var n in nr[s]=!0,rr)rr[n]===s&&(yr[n]=!0);if(!r)return}for(var a in nr)Object.prototype.hasOwnProperty.call(nr,a)&&(nr[a]=e[sr[a]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===ir.indexOf(17)&&ir.push(17),-1===ir.indexOf(18)&&ir.push(18),nr[17]=!0,nr[18]=!0);var o=mr();if(r)for(var i=0;i<r.length;i++)r[i].scope===o&&("keydown"===e.type&&r[i].keydown||"keyup"===e.type&&r[i].keyup)&&fr(e,r[i],o,t);if(s in ar)for(var c=0;c<ar[s].length;c++)if(("keydown"===e.type&&ar[s][c].keydown||"keyup"===e.type&&ar[s][c].keyup)&&ar[s][c].key){for(var l=ar[s][c],u=l.splitKey,d=l.key.split(u),p=[],m=0;m<d.length;m++)p.push(dr(d[m]));p.sort().join("")===ir.sort().join("")&&fr(e,l,o,t)}}}function yr(e,t,r){ir=[];var s=er(e),n=[],a="all",o=document,i=0,c=!1,l=!0,u="+",d=!1;for(void 0===r&&"function"==typeof t&&(r=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(a=t.scope),t.element&&(o=t.element),t.keyup&&(c=t.keyup),void 0!==t.keydown&&(l=t.keydown),void 0!==t.capture&&(d=t.capture),"string"==typeof t.splitKey&&(u=t.splitKey)),"string"==typeof t&&(a=t);i<s.length;i++)n=[],(e=s[i].split(u)).length>1&&(n=Zt(rr,e)),(e="*"===(e=e[e.length-1])?"*":dr(e))in ar||(ar[e]=[]),ar[e].push({keyup:c,keydown:l,scope:a,mods:n,shortcut:s[i],method:r,key:s[i],splitKey:u,element:o});void 0!==o&&!function(e){return ur.indexOf(e)>-1}(o)&&window&&(ur.push(o),Qt(o,"keydown",(function(e){hr(e,o)}),d),cr||(cr=!0,Qt(window,"focus",(function(){ir=[]}),d)),Qt(o,"keyup",(function(e){hr(e,o),function(e){var t=e.keyCode||e.which||e.charCode,r=ir.indexOf(t);if(r>=0&&ir.splice(r,1),e.key&&"meta"===e.key.toLowerCase()&&ir.splice(0,ir.length),93!==t&&224!==t||(t=91),t in nr)for(var s in nr[t]=!1,rr)rr[s]===t&&(yr[s]=!1)}(e)}),d))}var Or={setScope:pr,getScope:mr,deleteScope:function(e,t){var r,s;for(var n in e||(e=mr()),ar)if(Object.prototype.hasOwnProperty.call(ar,n))for(r=ar[n],s=0;s<r.length;)r[s].scope===e?r.splice(s,1):s++;mr()===e&&pr(t||"all")},getPressedKeyCodes:function(){return ir.slice(0)},isPressed:function(e){return"string"==typeof e&&(e=dr(e)),-1!==ir.indexOf(e)},filter:function(e){var t=e.target||e.srcElement,r=t.tagName,s=!0;return!t.isContentEditable&&("INPUT"!==r&&"TEXTAREA"!==r&&"SELECT"!==r||t.readOnly)||(s=!1),s},trigger:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";Object.keys(ar).forEach((function(r){var s=ar[r].find((function(r){return r.scope===t&&r.shortcut===e}));s&&s.method&&s.method()}))},unbind:function(e){if(void 0===e)Object.keys(ar).forEach((function(e){return delete ar[e]}));else if(Array.isArray(e))e.forEach((function(e){e.key&&br(e)}));else if("object"==typeof e)e.key&&br(e);else if("string"==typeof e){for(var t=arguments.length,r=new Array(t>1?t-1:0),s=1;s<t;s++)r[s-1]=arguments[s];var n=r[0],a=r[1];"function"==typeof n&&(a=n,n=""),br({key:e,scope:n,method:a,splitKey:"+"})}},keyMap:tr,modifier:rr,modifierMap:sr};for(var wr in Or)Object.prototype.hasOwnProperty.call(Or,wr)&&(yr[wr]=Or[wr]);if("undefined"!=typeof window){var _r=window.hotkeys;yr.noConflict=function(e){return e&&window.hotkeys===yr&&(window.hotkeys=_r),yr},window.hotkeys=yr}yr.filter=function(){return!0};var gr=function(e,t){var r=e.target,s=r&&r.tagName;return Boolean(s&&t&&t.includes(s))};yr.isPressed;const vr=(e,t)=>{try{return e.toLocaleLowerCase(t)}catch(t){return console.error(t.message),e}},jr=async(e,t)=>{try{var r;const a=await Ft()({path:"/yoast/v1/configuration/person_social_profiles",method:"POST",data:{...t,user_id:e}});var s,n;if(null==a||null===(r=a.json)||void 0===r||!r.success)throw new Error("Route returned failure due to: "+(null==a||null===(s=a.json)||void 0===s||null===(n=s.failures)||void 0===n?void 0:n.join(", ")))}catch(e){throw new Error(e.message)}},Er=(e,t)=>{let{name:r,label:s,route:n,hasArchive:a}=e,{userLocale:o}=t;return{["title-"+r]:{route:"/post-type/"+n,routeLabel:s,fieldId:"input-wpseo_titles-title-"+r,fieldLabel:Object(Qe.__)("SEO title","wordpress-seo"),keywords:[]},["metadesc-"+r]:{route:"/post-type/"+n,routeLabel:s,fieldId:"input-wpseo_titles-metadesc-"+r,fieldLabel:Object(Qe.__)("Meta description","wordpress-seo"),keywords:[]},["noindex-"+r]:{route:"/post-type/"+n,routeLabel:s,fieldId:"input-wpseo_titles-noindex-"+r,fieldLabel:Object(Qe.sprintf)(// translators: %1$s expands to the post type plural, e.g. Posts. Object(Qe.__)("Show %1$s in search results","wordpress-seo"),vr(s,o)),keywords:[]},["display-metabox-pt-"+r]:{route:"/post-type/"+n,routeLabel:s,fieldId:"input-wpseo_titles-display-metabox-pt-"+r,fieldLabel:Object(Qe.__)("Enable SEO controls and assessments","wordpress-seo"),keywords:[]},["schema-page-type-"+r]:{route:"/post-type/"+n,routeLabel:s,fieldId:"input-wpseo_titles-schema-page-type-"+r,fieldLabel:Object(Qe.__)("Page type","wordpress-seo"),keywords:[Object(Qe.__)("Schema","wordpress-seo"),Object(Qe.__)("Structured data","wordpress-seo")]},["schema-article-type-"+r]:{route:"/post-type/"+n,routeLabel:s,fieldId:"input-wpseo_titles-schema-article-type-"+r,fieldLabel:Object(Qe.__)("Article type","wordpress-seo"),keywords:[Object(Qe.__)("Schema","wordpress-seo"),Object(Qe.__)("Structured data","wordpress-seo")]},["page-analyse-extra-"+r]:{route:"/post-type/"+n,routeLabel:s,fieldId:"input-wpseo_titles-page-analyse-extra-"+r,fieldLabel:Object(Qe.__)("Add custom fields to page analysis","wordpress-seo"),keywords:[]},..."attachment"!==r&&{["social-title-"+r]:{route:"/post-type/"+n,routeLabel:s,fieldId:"input-wpseo_titles-social-title-"+r,fieldLabel:Object(Qe.__)("Social title","wordpress-seo"),keywords:[]},["social-description-"+r]:{route:"/post-type/"+n,routeLabel:s,fieldId:"input-wpseo_titles-social-description-"+r,fieldLabel:Object(Qe.__)("Social description","wordpress-seo"),keywords:[]},["social-image-id-"+r]:{route:"/post-type/"+n,routeLabel:s,fieldId:`button-wpseo_titles-social-image-${r}-preview`,fieldLabel:Object(Qe.__)("Social image","wordpress-seo"),keywords:[]}},...a&&{["title-ptarchive-"+r]:{route:"/post-type/"+n,routeLabel:s,fieldId:"input-wpseo_titles-title-ptarchive-"+r,fieldLabel:Object(Qe.__)("Archive SEO title","wordpress-seo"),keywords:[]},["metadesc-ptarchive-"+r]:{route:"/post-type/"+n,routeLabel:s,fieldId:"input-wpseo_titles-metadesc-ptarchive-"+r,fieldLabel:Object(Qe.__)("Archive meta description","wordpress-seo"),keywords:[]},["bctitle-ptarchive-"+r]:{route:"/post-type/"+n,routeLabel:s,fieldId:"input-wpseo_titles-bctitle-ptarchive-"+r,fieldLabel:Object(Qe.__)("Archive breadcrumbs title","wordpress-seo"),keywords:[]},["noindex-ptarchive-"+r]:{route:"/post-type/"+n,routeLabel:s,fieldId:"input-wpseo_titles-noindex-ptarchive-"+r,fieldLabel:Object(Qe.sprintf)(// translators: %1$s expands to the post type plural, e.g. Posts. Object(Qe.__)("Show the archive for %1$s in search results","wordpress-seo"),vr(s,o)),keywords:[]},["social-title-ptarchive-"+r]:{route:"/post-type/"+n,routeLabel:s,fieldId:"input-wpseo_titles-social-title-ptarchive-"+r,fieldLabel:Object(Qe.__)("Archive social title","wordpress-seo"),keywords:[]},["social-description-ptarchive-"+r]:{route:"/post-type/"+n,routeLabel:s,fieldId:"input-wpseo_titles-social-description-ptarchive-"+r,fieldLabel:Object(Qe.__)("Archive social description","wordpress-seo"),keywords:[]},["social-image-id-ptarchive-"+r]:{route:"/post-type/"+n,routeLabel:s,fieldId:`button-wpseo_titles-social-image-ptarchive-${r}-preview`,fieldLabel:Object(Qe.__)("Archive social image","wordpress-seo"),keywords:[]}}}},xr=(e,t)=>{let{name:r,label:s,route:n}=e,{userLocale:a}=t;return{["title-tax-"+r]:{route:"/taxonomy/"+n,routeLabel:s,fieldId:"input-wpseo_titles-title-tax-"+r,fieldLabel:Object(Qe.__)("SEO title","wordpress-seo"),keywords:[]},["metadesc-tax-"+r]:{route:"/taxonomy/"+n,routeLabel:s,fieldId:"input-wpseo_titles-metadesc-tax-"+r,fieldLabel:Object(Qe.__)("Meta description","wordpress-seo"),keywords:[]},["display-metabox-tax-"+r]:{route:"/taxonomy/"+n,routeLabel:s,fieldId:"input-wpseo_titles-display-metabox-tax-"+r,fieldLabel:Object(Qe.sprintf)( /* translators: %1$s expands to "Yoast SEO". %2$s expands to the taxonomy plural, e.g. Categories. */ Object(Qe.__)("Enable %1$s for %2$s","wordpress-seo"),"Yoast SEO",vr(s,a)),keywords:[]},["display-metabox-tax-"+r]:{route:"/taxonomy/"+n,routeLabel:s,fieldId:"input-wpseo_titles-display-metabox-tax-"+r,fieldLabel:Object(Qe.__)("Enable SEO controls and assessments","wordpress-seo"),keywords:[]},["noindex-tax-"+r]:{route:"/taxonomy/"+n,routeLabel:s,fieldId:"input-wpseo_titles-noindex-tax-"+r,fieldLabel:Object(Qe.sprintf)(// translators: %1$s expands to the taxonomy plural, e.g. Categories. Object(Qe.__)("Show %1$s in search results","wordpress-seo"),vr(s,a)),keywords:[]},["social-title-tax-"+r]:{route:"/taxonomy/"+n,routeLabel:s,fieldId:"input-wpseo_titles-social-title-tax-"+r,fieldLabel:Object(Qe.__)("Social title","wordpress-seo"),keywords:[]},["social-description-tax-"+r]:{route:"/taxonomy/"+n,routeLabel:s,fieldId:"input-wpseo_titles-social-description-tax-"+r,fieldLabel:Object(Qe.__)("Social description","wordpress-seo"),keywords:[]},["social-image-id-tax-"+r]:{route:"/taxonomy/"+n,routeLabel:s,fieldId:`button-wpseo_titles-social-image-tax-${r}-preview`,fieldLabel:Object(Qe.__)("Social image","wordpress-seo"),keywords:[]},..."category"===r&&{stripcategorybase:{route:"/taxonomy/"+n,routeLabel:s,fieldId:"input-wpseo_titles-stripcategorybase",fieldLabel:Object(Qe.__)("Show the categories prefix in the slug","wordpress-seo"),keywords:[]}}}},Sr=function(e,t){let{userLocale:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{blogdescription:{route:"/site-basics",routeLabel:Object(Qe.__)("Site basics","wordpress-seo"),fieldId:"input-blogdescription",fieldLabel:Object(Qe.__)("Tagline","wordpress-seo"),keywords:[]},wpseo:{keyword_analysis_active:{route:"/site-features",routeLabel:Object(Qe.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-keyword_analysis_active",fieldLabel:Object(Qe.__)("SEO analysis","wordpress-seo"),keywords:[]},content_analysis_active:{route:"/site-features",routeLabel:Object(Qe.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-content_analysis_active",fieldLabel:Object(Qe.__)("Readability analysis","wordpress-seo"),keywords:[]},inclusive_language_analysis_active:{route:"/site-features",routeLabel:Object(Qe.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-inclusive_language_analysis_active",fieldLabel:Object(Qe.__)("Inclusive language analysis","wordpress-seo"),keywords:[]},enable_metabox_insights:{route:"/site-features",routeLabel:Object(Qe.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_metabox_insights",fieldLabel:Object(Qe.__)("Insights","wordpress-seo"),keywords:[]},enable_cornerstone_content:{route:"/site-features",routeLabel:Object(Qe.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_cornerstone_content",fieldLabel:Object(Qe.__)("Cornerstone content","wordpress-seo"),keywords:[]},enable_text_link_counter:{route:"/site-features",routeLabel:Object(Qe.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_text_link_counter",fieldLabel:Object(Qe.__)("Text link counter","wordpress-seo"),keywords:[]},enable_link_suggestions:{route:"/site-features",routeLabel:Object(Qe.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_link_suggestions",fieldLabel:Object(Qe.__)("Link suggestions","wordpress-seo"),keywords:[]},enable_enhanced_slack_sharing:{route:"/site-features",routeLabel:Object(Qe.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_enhanced_slack_sharing",fieldLabel:Object(Qe.__)("Slack sharing","wordpress-seo"),keywords:[Object(Qe.__)("Share","wordpress-seo")]},enable_admin_bar_menu:{route:"/site-features",routeLabel:Object(Qe.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_admin_bar_menu",fieldLabel:Object(Qe.__)("Admin bar menu","wordpress-seo"),keywords:[]},enable_headless_rest_endpoints:{route:"/site-features",routeLabel:Object(Qe.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_headless_rest_endpoints",fieldLabel:Object(Qe.__)("REST API endpoint","wordpress-seo"),keywords:[]},enable_xml_sitemap:{route:"/site-features",routeLabel:Object(Qe.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_xml_sitemap",fieldLabel:Object(Qe.__)("XML sitemaps","wordpress-seo"),keywords:[]},enable_index_now:{route:"/site-features",routeLabel:Object(Qe.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_index_now",fieldLabel:Object(Qe.__)("IndexNow","wordpress-seo"),keywords:[]},disableadvanced_meta:{route:"/site-basics",routeLabel:Object(Qe.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo-disableadvanced_meta",fieldLabel:Object(Qe.__)("Restrict advanced settings for authors","wordpress-seo"),keywords:[]},tracking:{route:"/site-basics",routeLabel:Object(Qe.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo-tracking",fieldLabel:Object(Qe.__)("Usage tracking","wordpress-seo"),keywords:[]},baiduverify:{route:"/site-connections",routeLabel:Object(Qe.__)("Site connections","wordpress-seo"),fieldId:"input-wpseo-baiduverify",fieldLabel:Object(Qe.__)("Baidu","wordpress-seo"),keywords:[Object(Qe.__)("Webmaster","wordpress-seo")]},googleverify:{route:"/site-connections",routeLabel:Object(Qe.__)("Site connections","wordpress-seo"),fieldId:"input-wpseo-googleverify",fieldLabel:Object(Qe.__)("Google","wordpress-seo"),keywords:[Object(Qe.__)("Webmaster","wordpress-seo")]},msverify:{route:"/site-connections",routeLabel:Object(Qe.__)("Site connections","wordpress-seo"),fieldId:"input-wpseo-msverify",fieldLabel:Object(Qe.__)("Bing","wordpress-seo"),keywords:[Object(Qe.__)("Webmaster","wordpress-seo")]},yandexverify:{route:"/site-connections",routeLabel:Object(Qe.__)("Site connections","wordpress-seo"),fieldId:"input-wpseo-yandexverify",fieldLabel:Object(Qe.__)("Yandex","wordpress-seo"),keywords:[Object(Qe.__)("Webmaster","wordpress-seo")]},remove_shortlinks:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_shortlinks",fieldLabel:Object(Qe.__)("Remove shortlinks","wordpress-seo"),keywords:[]},remove_rest_api_links:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_rest_api_links",fieldLabel:Object(Qe.__)("Remove REST API links","wordpress-seo"),keywords:[]},remove_rsd_wlw_links:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_rsd_wlw_links",fieldLabel:Object(Qe.__)("Remove RSD / WLW links","wordpress-seo"),keywords:[]},remove_oembed_links:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_oembed_links",fieldLabel:Object(Qe.__)("Remove oEmbed links","wordpress-seo"),keywords:[]},remove_generator:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_generator",fieldLabel:Object(Qe.__)("Remove generator tag","wordpress-seo"),keywords:[]},remove_pingback_header:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_pingback_header",fieldLabel:Object(Qe.__)("Pingback HTTP header","wordpress-seo"),keywords:[]},remove_powered_by_header:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_powered_by_header",fieldLabel:Object(Qe.__)("Remove powered by HTTP header","wordpress-seo"),keywords:[]},remove_feed_global:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_global",fieldLabel:Object(Qe.__)("Remove global feed","wordpress-seo"),keywords:[]},remove_feed_global_comments:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_global_comments",fieldLabel:Object(Qe.__)("Remove global comment feeds","wordpress-seo"),keywords:[]},remove_feed_post_comments:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_post_comments",fieldLabel:Object(Qe.__)("Remove post comments feeds","wordpress-seo"),keywords:[]},remove_feed_authors:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_authors",fieldLabel:Object(Qe.__)("Remove post authors feeds","wordpress-seo"),keywords:[]},remove_feed_post_types:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_post_types",fieldLabel:Object(Qe.__)("Remove post type feeds","wordpress-seo"),keywords:[]},remove_feed_categories:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_categories",fieldLabel:Object(Qe.__)("Remove category feeds","wordpress-seo"),keywords:[]},remove_feed_tags:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_tags",fieldLabel:Object(Qe.__)("Remove tag feeds","wordpress-seo"),keywords:[]},remove_feed_custom_taxonomies:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_custom_taxonomies",fieldLabel:Object(Qe.__)("Remove custom taxonomy feeds","wordpress-seo"),keywords:[]},remove_feed_search:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_feed_search",fieldLabel:Object(Qe.__)("Remove search results feeds","wordpress-seo"),keywords:[]},remove_atom_rdf_feeds:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_atom_rdf_feeds",fieldLabel:Object(Qe.__)("Remove Atom/RDF feeds","wordpress-seo"),keywords:[]},remove_emoji_scripts:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-remove_emoji_scripts",fieldLabel:Object(Qe.__)("Remove emoji scripts","wordpress-seo"),keywords:[]},deny_wp_json_crawling:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-deny_wp_json_crawling",fieldLabel:Object(Qe.__)("Remove WP-JSON API","wordpress-seo"),keywords:[]},search_cleanup:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-search_cleanup",fieldLabel:Object(Qe.__)("Filter search terms","wordpress-seo"),keywords:[]},search_character_limit:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-search_character_limit",fieldLabel:Object(Qe.__)("Max number of characters to allow in searches","wordpress-seo"),keywords:[]},search_cleanup_emoji:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-search_cleanup_emoji",fieldLabel:Object(Qe.__)("Filter searches with emojis and other special characters","wordpress-seo"),keywords:[]},search_cleanup_patterns:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-search_cleanup_patterns",fieldLabel:Object(Qe.__)("Filter searches with common spam patterns","wordpress-seo"),keywords:[]},deny_search_crawling:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-deny_search_crawling",fieldLabel:Object(Qe.__)("Prevent crawling of internal site search URLs","wordpress-seo"),keywords:[]},clean_campaign_tracking_urls:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-clean_campaign_tracking_urls",fieldLabel:Object(Qe.__)("Optimize Google Analytics utm tracking parameters","wordpress-seo"),keywords:[]},clean_permalinks:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-clean_permalinks",fieldLabel:Object(Qe.__)("Remove unregistered URL parameters","wordpress-seo"),keywords:[]},clean_permalinks_extra_variables:{route:"/crawl-optimization",routeLabel:Object(Qe.__)("Crawl optimization","wordpress-seo"),fieldId:"input-wpseo-clean_permalinks_extra_variables",fieldLabel:Object(Qe.__)("Additional URL parameters to allow","wordpress-seo"),keywords:[]}},wpseo_titles:{website_name:{route:"/site-basics",routeLabel:Object(Qe.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-website_name",fieldLabel:Object(Qe.__)("Website name","wordpress-seo"),keywords:[]},alternate_website_name:{route:"/site-basics",routeLabel:Object(Qe.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-alternate_website_name",fieldLabel:Object(Qe.__)("Alternate website name","wordpress-seo"),keywords:[]},forcerewritetitles:{route:"/site-basics",routeLabel:Object(Qe.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-forcerewritetitle",fieldLabel:Object(Qe.__)("Force rewrite titles","wordpress-seo"),keywords:[]},separator:{route:"/site-basics",routeLabel:Object(Qe.__)("Site basics","wordpress-seo"),fieldId:"input-wpseo_titles-separator-sc-dash",fieldLabel:Object(Qe.__)("Title separator","wordpress-seo"),keywords:[Object(Qe.__)("Divider","wordpress-seo")]},company_or_person:{route:"/site-representation",routeLabel:Object(Qe.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-company_or_person-company",fieldLabel:Object(Qe.__)("Organization/person","wordpress-seo"),keywords:[]},company_name:{route:"/site-representation",routeLabel:Object(Qe.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-company_name",fieldLabel:Object(Qe.__)("Organization name","wordpress-seo"),keywords:[]},company_alternate_name:{route:"/site-representation",routeLabel:Object(Qe.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-company_alternate_name",fieldLabel:Object(Qe.__)("Alternate organization name","wordpress-seo"),keywords:[]},company_logo_id:{route:"/site-representation",routeLabel:Object(Qe.__)("Site representation","wordpress-seo"),fieldId:"button-wpseo_titles-company_logo-preview",fieldLabel:Object(Qe.__)("Organization logo","wordpress-seo"),keywords:[]},company_or_person_user_id:{route:"/site-representation",routeLabel:Object(Qe.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_titles-company_or_person_user_id",fieldLabel:Object(Qe.__)("User","wordpress-seo"),keywords:[]},person_logo_id:{route:"/site-representation",routeLabel:Object(Qe.__)("Site representation","wordpress-seo"),fieldId:"button-wpseo_titles-person_logo-preview",fieldLabel:Object(Qe.__)("Personal logo or avatar","wordpress-seo"),keywords:[]},"title-home-wpseo":{route:"/homepage",routeLabel:Object(Qe.__)("Homepage","wordpress-seo"),fieldId:"input-wpseo_titles-title-home-wpseo",fieldLabel:Object(Qe.__)("SEO title","wordpress-seo"),keywords:[]},"metadesc-home-wpseo":{route:"/homepage",routeLabel:Object(Qe.__)("Homepage","wordpress-seo"),fieldId:"input-wpseo_titles-metadesc-home-wpseo",fieldLabel:Object(Qe.__)("Meta description","wordpress-seo"),keywords:[]},open_graph_frontpage_image_id:{route:"/homepage",routeLabel:Object(Qe.__)("Homepage","wordpress-seo"),fieldId:"button-wpseo_titles-open_graph_frontpage_image-preview",fieldLabel:Object(Qe.__)("Social image","wordpress-seo"),keywords:[]},open_graph_frontpage_title:{route:"/homepage",routeLabel:Object(Qe.__)("Homepage","wordpress-seo"),fieldId:"input-wpseo_titles-open_graph_frontpage_title",fieldLabel:Object(Qe.__)("Social title","wordpress-seo"),keywords:[]},open_graph_frontpage_desc:{route:"/homepage",routeLabel:Object(Qe.__)("Homepage","wordpress-seo"),fieldId:"input-wpseo_titles-open_graph_frontpage_desc",fieldLabel:Object(Qe.__)("Social description","wordpress-seo"),keywords:[]},"breadcrumbs-sep":{route:"/breadcrumbs",routeLabel:Object(Qe.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-sep",fieldLabel:Object(Qe.__)("Separator between breadcrumbs","wordpress-seo"),keywords:[]},"breadcrumbs-home":{route:"/breadcrumbs",routeLabel:Object(Qe.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-home",fieldLabel:Object(Qe.__)("Anchor text for the homepage","wordpress-seo"),keywords:[]},"breadcrumbs-prefix":{route:"/breadcrumbs",routeLabel:Object(Qe.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-prefix",fieldLabel:Object(Qe.__)("Prefix for the breadcrumb path","wordpress-seo"),keywords:[]},"breadcrumbs-archiveprefix":{route:"/breadcrumbs",routeLabel:Object(Qe.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-archiveprefix",fieldLabel:Object(Qe.__)("Prefix for archive breadcrumbs","wordpress-seo"),keywords:[]},"breadcrumbs-searchprefix":{route:"/breadcrumbs",routeLabel:Object(Qe.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-searchprefix",fieldLabel:Object(Qe.__)("Prefix for search page breadcrumbs","wordpress-seo"),keywords:[]},"breadcrumbs-404crumb":{route:"/breadcrumbs",routeLabel:Object(Qe.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-404crumb",fieldLabel:Object(Qe.__)("Breadcrumb for 404 page","wordpress-seo"),keywords:[]},"breadcrumbs-display-blog-page":{route:"/breadcrumbs",routeLabel:Object(Qe.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-display-blog-page",fieldLabel:Object(Qe.__)("Show blog page in breadcrumbs","wordpress-seo"),keywords:[]},"breadcrumbs-boldlast":{route:"/breadcrumbs",routeLabel:Object(Qe.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-boldlast",fieldLabel:Object(Qe.__)("Bold the last page","wordpress-seo"),keywords:[]},"breadcrumbs-enable":{route:"/breadcrumbs",routeLabel:Object(Qe.__)("Breadcrumbs","wordpress-seo"),fieldId:"input-wpseo_titles-breadcrumbs-enable",fieldLabel:Object(Qe.__)("Enable breadcrumbs for your theme","wordpress-seo"),keywords:[]},...Object(oe.reduce)(e,(e,s)=>{const n=Object(oe.filter)(t,e=>Object(oe.includes)(e.postTypes,s.name));return Object(oe.isEmpty)(n)?e:{...e,[`post_types-${s.name}-maintax`]:{route:"/breadcrumbs",routeLabel:Object(Qe.__)("Breadcrumbs","wordpress-seo"),fieldId:`input-wpseo_titles-post_types-${s.name}-maintax`, // translators: %1$s expands to the post type plural, e.g. posts. fieldLabel:Object(Qe.sprintf)(Object(Qe.__)("Breadcrumbs for %1$s","wordpress-seo"),vr(s.label,r)),keywords:[]}}},{}),...Object(oe.reduce)(t,(e,t)=>({...e,[`taxonomy-${t.name}-ptparent`]:{route:"/breadcrumbs",routeLabel:Object(Qe.__)("Breadcrumbs","wordpress-seo"),fieldId:`input-wpseo_titles-taxonomy-${t.name}-ptparent`, // translators: %1$s expands to the taxonomy plural, e.g. categories. fieldLabel:Object(Qe.sprintf)(Object(Qe.__)("Breadcrumbs for %1$s","wordpress-seo"),vr(t.label,r)),keywords:[]}}),{}),"disable-author":{route:"/author-archives",routeLabel:Object(Qe.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-disable-author",fieldLabel:Object(Qe.__)("Enable author archives","wordpress-seo"),keywords:[]},"noindex-author-wpseo":{route:"/author-archives",routeLabel:Object(Qe.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-noindex-author-wpseo",fieldLabel:Object(Qe.__)("Show author archives in search results","wordpress-seo"),keywords:[]},"noindex-author-noposts-wpseo":{route:"/author-archives",routeLabel:Object(Qe.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-noindex-author-noposts-wpseo",fieldLabel:Object(Qe.__)("Show archives for authors without posts in search results","wordpress-seo"),keywords:[]},"title-author-wpseo":{route:"/author-archives",routeLabel:Object(Qe.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-title-author-wpseo",fieldLabel:Object(Qe.__)("SEO title","wordpress-seo"),keywords:[]},"metadesc-author-wpseo":{route:"/author-archives",routeLabel:Object(Qe.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-metadesc-author-wpseo",fieldLabel:Object(Qe.__)("Meta description","wordpress-seo"),keywords:[]},"social-image-id-author-wpseo":{route:"/author-archives",routeLabel:Object(Qe.__)("Author archives","wordpress-seo"),fieldId:"button-wpseo_titles-social-image-author-wpseo-preview",fieldLabel:Object(Qe.__)("Social image","wordpress-seo"),keywords:[]},"social-title-author-wpseo":{route:"/author-archives",routeLabel:Object(Qe.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-social-title-author-wpseo",fieldLabel:Object(Qe.__)("Social title","wordpress-seo"),keywords:[]},"social-description-author-wpseo":{route:"/author-archives",routeLabel:Object(Qe.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-social-description-author-wpseo",fieldLabel:Object(Qe.__)("Social description","wordpress-seo"),keywords:[]},"disable-date":{route:"/date-archives",routeLabel:Object(Qe.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-disable-date",fieldLabel:Object(Qe.__)("Enable date archives","wordpress-seo"),keywords:[]},"noindex-archive-wpseo":{route:"/date-archives",routeLabel:Object(Qe.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-noindex-archive-wpseo",fieldLabel:Object(Qe.__)("Show date archives in search results","wordpress-seo"),keywords:[]},"title-archive-wpseo":{route:"/date-archives",routeLabel:Object(Qe.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-title-archive-wpseo",fieldLabel:Object(Qe.__)("SEO title","wordpress-seo"),keywords:[]},"metadesc-archive-wpseo":{route:"/date-archives",routeLabel:Object(Qe.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-metadesc-archive-wpseo",fieldLabel:Object(Qe.__)("Meta description","wordpress-seo"),keywords:[]},"social-image-id-archive-wpseo":{route:"/date-archives",routeLabel:Object(Qe.__)("Date archives","wordpress-seo"),fieldId:"button-wpseo_titles-social-image-archive-wpseo-preview",fieldLabel:Object(Qe.__)("Social image","wordpress-seo"),keywords:[]},"social-title-archive-wpseo":{route:"/date-archives",routeLabel:Object(Qe.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-social-title-archive-wpseo",fieldLabel:Object(Qe.__)("Social title","wordpress-seo"),keywords:[]},"social-description-archive-wpseo":{route:"/date-archives",routeLabel:Object(Qe.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-social-description-archive-wpseo",fieldLabel:Object(Qe.__)("Social description","wordpress-seo"),keywords:[]},"title-search-wpseo":{route:"/special-pages",routeLabel:Object(Qe.__)("Special pages","wordpress-seo"),fieldId:"input-wpseo_titles-title-search-wpseo",fieldLabel:Object(Qe.__)("Search pages title","wordpress-seo"),keywords:[]},"title-404-wpseo":{route:"/special-pages",routeLabel:Object(Qe.__)("Special pages","wordpress-seo"),fieldId:"input-wpseo_titles-title-404-wpseo",fieldLabel:Object(Qe.__)("404 pages title","wordpress-seo"),keywords:[]},"disable-attachment":{route:"/media",routeLabel:Object(Qe.__)("Media pages","wordpress-seo"),fieldId:"input-wpseo_titles-disable-attachment",fieldLabel:Object(Qe.__)("Media pages","wordpress-seo"),keywords:[Object(Qe.__)("Attachment","wordpress-seo"),Object(Qe.__)("Image","wordpress-seo"),Object(Qe.__)("Video","wordpress-seo"),Object(Qe.__)("PDF","wordpress-seo"),Object(Qe.__)("File","wordpress-seo")]},"noindex-attachment":{route:"/media",routeLabel:Object(Qe.__)("Media pages","wordpress-seo"),fieldId:"input-wpseo_titles-noindex-attachment",fieldLabel:Object(Qe.__)("Show media pages in search results","wordpress-seo"),keywords:[Object(Qe.__)("Image","wordpress-seo"),Object(Qe.__)("Video","wordpress-seo"),Object(Qe.__)("PDF","wordpress-seo"),Object(Qe.__)("File","wordpress-seo")]},"title-attachment":{route:"/media",routeLabel:Object(Qe.__)("Media pages","wordpress-seo"),fieldId:"input-wpseo_titles-title-attachment",fieldLabel:Object(Qe.__)("SEO title","wordpress-seo"),keywords:[Object(Qe.__)("Image","wordpress-seo"),Object(Qe.__)("Video","wordpress-seo"),Object(Qe.__)("PDF","wordpress-seo"),Object(Qe.__)("File","wordpress-seo")]},"metadesc-attachment":{route:"/media",routeLabel:Object(Qe.__)("Media pages","wordpress-seo"),fieldId:"input-wpseo_titles-metadesc-attachment",fieldLabel:Object(Qe.__)("Meta description","wordpress-seo"),keywords:[Object(Qe.__)("Image","wordpress-seo"),Object(Qe.__)("Video","wordpress-seo"),Object(Qe.__)("PDF","wordpress-seo"),Object(Qe.__)("File","wordpress-seo")]},"schema-page-type-attachment":{route:"/media",routeLabel:Object(Qe.__)("Media pages","wordpress-seo"),fieldId:"input-wpseo_titles-schema-page-type-attachment",fieldLabel:Object(Qe.__)("Page type","wordpress-seo"),keywords:[Object(Qe.__)("Schema","wordpress-seo"),Object(Qe.__)("Structured data","wordpress-seo"),Object(Qe.__)("Image","wordpress-seo"),Object(Qe.__)("Video","wordpress-seo"),Object(Qe.__)("PDF","wordpress-seo"),Object(Qe.__)("File","wordpress-seo")]},"schema-article-type-attachment":{route:"/media",routeLabel:Object(Qe.__)("Media pages","wordpress-seo"),fieldId:"input-wpseo_titles-schema-article-type-attachment",fieldLabel:Object(Qe.__)("Article type","wordpress-seo"),keywords:[Object(Qe.__)("Schema","wordpress-seo"),Object(Qe.__)("Structured data","wordpress-seo"),Object(Qe.__)("Image","wordpress-seo"),Object(Qe.__)("Video","wordpress-seo"),Object(Qe.__)("PDF","wordpress-seo"),Object(Qe.__)("File","wordpress-seo")]},"display-metabox-pt-attachment":{route:"/media",routeLabel:Object(Qe.__)("Media pages","wordpress-seo"),fieldId:"input-wpseo_titles-display-metabox-pt-attachment",fieldLabel:Object(Qe.__)("Enable SEO controls and assessments","wordpress-seo"),keywords:[Object(Qe.__)("Image","wordpress-seo"),Object(Qe.__)("Video","wordpress-seo"),Object(Qe.__)("PDF","wordpress-seo"),Object(Qe.__)("File","wordpress-seo")]},"disable-post_format":{route:"/format-archives",routeLabel:Object(Qe.__)("Format archives","wordpress-seo"),fieldId:"input-wpseo_titles-disable-post_format",fieldLabel:Object(Qe.__)("Enable format-based archives","wordpress-seo"),keywords:[]},"noindex-tax-post_format":{route:"/format-archives",routeLabel:Object(Qe.__)("Format archives","wordpress-seo"),fieldId:"input-wpseo_titles-noindex-tax-post_format",fieldLabel:Object(Qe.__)("Show format archives in search results","wordpress-seo"),keywords:[]},"title-tax-post_format":{route:"/format-archives",routeLabel:Object(Qe.__)("Format archives","wordpress-seo"),fieldId:"input-wpseo_titles-title-tax-post_format",fieldLabel:Object(Qe.__)("SEO title","wordpress-seo"),keywords:[]},"metadesc-tax-post_format":{route:"/format-archives",routeLabel:Object(Qe.__)("Format archives","wordpress-seo"),fieldId:"input-wpseo_titles-metadesc-tax-post_format",fieldLabel:Object(Qe.__)("Meta description","wordpress-seo"),keywords:[]},"social-image-id-tax-post_format":{route:"/format-archives",routeLabel:Object(Qe.__)("Format archives","wordpress-seo"),fieldId:"button-wpseo_titles-social-image-tax-post_format-preview",fieldLabel:Object(Qe.__)("Social image","wordpress-seo"),keywords:[]},"social-title-tax-post_format":{route:"/format-archives",routeLabel:Object(Qe.__)("Format archives","wordpress-seo"),fieldId:"input-wpseo_titles-social-title-tax-post_format",fieldLabel:Object(Qe.__)("Social title","wordpress-seo"),keywords:[]},"social-description-tax-post_format":{route:"/format-archives",routeLabel:Object(Qe.__)("Format archives","wordpress-seo"),fieldId:"input-wpseo_titles-social-description-tax-post_format",fieldLabel:Object(Qe.__)("Social description","wordpress-seo"),keywords:[]},rssbefore:{route:"/rss",routeLabel:"RSS",fieldId:"input-wpseo_titles-rssbefore",fieldLabel:Object(Qe.__)("Content to put before each post in the feed","wordpress-seo"),keywords:[]},rssafter:{route:"/rss",routeLabel:"RSS",fieldId:"input-wpseo_titles-rssafter",fieldLabel:Object(Qe.__)("Content to put after each post in the feed","wordpress-seo"),keywords:[]},...Object(oe.reduce)(Object(oe.omit)(e,["attachment"]),(e,t)=>({...e,...Er(t,{userLocale:r})}),{}),...Object(oe.reduce)(Object(oe.omit)(t,["post_format"]),(e,t)=>({...e,...xr(t,{userLocale:r})}),{})},wpseo_social:{opengraph:{route:"/site-features",routeLabel:Object(Qe.__)("Site features","wordpress-seo"),fieldId:"card-wpseo_social-opengraph",fieldLabel:Object(Qe.__)("Open Graph data","wordpress-seo"),keywords:[Object(Qe.__)("Social","wordpress-seo"),Object(Qe.__)("OpenGraph","wordpress-seo")]},twitter:{route:"/site-features",routeLabel:Object(Qe.__)("Site features","wordpress-seo"),fieldId:"card-wpseo_social-twitter",fieldLabel:Object(Qe.__)("Twitter card data","wordpress-seo"),keywords:[Object(Qe.__)("Social","wordpress-seo")]},og_default_image_id:{route:"/site-basics",routeLabel:Object(Qe.__)("Site basics","wordpress-seo"),fieldId:"button-wpseo_social-og_default_image-preview",fieldLabel:Object(Qe.__)("Site image","wordpress-seo"),keywords:[]},pinterestverify:{route:"/site-connections",routeLabel:Object(Qe.__)("Site connections","wordpress-seo"),fieldId:"input-wpseo_social-pinterestverify",fieldLabel:Object(Qe.__)("Pinterest","wordpress-seo"),keywords:[Object(Qe.__)("Webmaster","wordpress-seo")]},facebook_site:{route:"/site-representation",routeLabel:Object(Qe.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_social-facebook_site",fieldLabel:Object(Qe.__)("Organization Facebook","wordpress-seo"),keywords:[Object(Qe.__)("Social","wordpress-seo"),Object(Qe.__)("Open Graph","wordpress-seo"),Object(Qe.__)("OpenGraph","wordpress-seo")]},twitter_site:{route:"/site-representation",routeLabel:Object(Qe.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_social-twitter_site",fieldLabel:Object(Qe.__)("Organization Twitter","wordpress-seo"),keywords:[Object(Qe.__)("Social","wordpress-seo"),Object(Qe.__)("Share","wordpress-seo"),Object(Qe.__)("Tweet","wordpress-seo")]},other_social_urls:{route:"/site-representation",routeLabel:Object(Qe.__)("Site representation","wordpress-seo"),fieldId:"fieldset-wpseo_social-other_social_urls",fieldLabel:Object(Qe.__)("Other social profiles","wordpress-seo"),keywords:[],...Object(oe.times)(25,e=>({route:"/site-representation",routeLabel:Object(Qe.__)("Site representation","wordpress-seo"),fieldId:"input-wpseo_social-other_social_urls-"+e, // translators: %1$s exapnds to array index + 1. fieldLabel:Object(Qe.sprintf)(Object(Qe.__)("Other profile %1$s","wordpress-seo"),e+1)}))}},person_social_profiles:{facebook:{route:"/site-representation",routeLabel:Object(Qe.__)("Site representation","wordpress-seo"),fieldId:"input-person_social_profiles-facebook",fieldLabel:Object(Qe.__)("Person Facebook","wordpress-seo"),keywords:[Object(Qe.__)("Social","wordpress-seo"),Object(Qe.__)("Open Graph","wordpress-seo"),Object(Qe.__)("OpenGraph","wordpress-seo")]},instagram:{route:"/site-representation",routeLabel:Object(Qe.__)("Site representation","wordpress-seo"),fieldId:"input-person_social_profiles-instagram",fieldLabel:Object(Qe.__)("Person Instagram","wordpress-seo"),keywords:[Object(Qe.__)("Social","wordpress-seo"),Object(Qe.__)("Share","wordpress-seo")]},linkedin:{route:"/site-representation",routeLabel:Object(Qe.__)("Site representation","wordpress-seo"),fieldId:"input-person_social_profiles-linkedin",fieldLabel:Object(Qe.__)("Person LinkedIn","wordpress-seo"),keywords:[Object(Qe.__)("Social","wordpress-seo"),Object(Qe.__)("Share","wordpress-seo")]},myspace:{route:"/site-representation",routeLabel:Object(Qe.__)("Site representation","wordpress-seo"),fieldId:"input-person_social_profiles-myspace",fieldLabel:Object(Qe.__)("Person MySpace","wordpress-seo"),keywords:[Object(Qe.__)("Social","wordpress-seo"),Object(Qe.__)("Share","wordpress-seo")]},pinterest:{route:"/site-representation",routeLabel:Object(Qe.__)("Site representation","wordpress-seo"),fieldId:"input-person_social_profiles-pinterest",fieldLabel:Object(Qe.__)("Person Pinterest","wordpress-seo"),keywords:[Object(Qe.__)("Social","wordpress-seo"),Object(Qe.__)("Share","wordpress-seo")]},soundcloud:{route:"/site-representation",routeLabel:Object(Qe.__)("Site representation","wordpress-seo"),fieldId:"input-person_social_profiles-soundcloud",fieldLabel:Object(Qe.__)("Person SoundCloud","wordpress-seo"),keywords:[Object(Qe.__)("Social","wordpress-seo"),Object(Qe.__)("Share","wordpress-seo")]},tumblr:{route:"/site-representation",routeLabel:Object(Qe.__)("Site representation","wordpress-seo"),fieldId:"input-person_social_profiles-tumblr",fieldLabel:Object(Qe.__)("Person Tumblr","wordpress-seo"),keywords:[Object(Qe.__)("Social","wordpress-seo"),Object(Qe.__)("Share","wordpress-seo")]},twitter:{route:"/site-representation",routeLabel:Object(Qe.__)("Site representation","wordpress-seo"),fieldId:"input-person_social_profiles-twitter",fieldLabel:Object(Qe.__)("Person Twitter","wordpress-seo"),keywords:[Object(Qe.__)("Social","wordpress-seo"),Object(Qe.__)("Share","wordpress-seo")]},youtube:{route:"/site-representation",routeLabel:Object(Qe.__)("Site representation","wordpress-seo"),fieldId:"input-person_social_profiles-youtube",fieldLabel:Object(Qe.__)("Person YouTube","wordpress-seo"),keywords:[Object(Qe.__)("Social","wordpress-seo"),Object(Qe.__)("Share","wordpress-seo")]},wikipedia:{route:"/site-representation",routeLabel:Object(Qe.__)("Site representation","wordpress-seo"),fieldId:"input-person_social_profiles-wikipedia",fieldLabel:Object(Qe.__)("Person Wikipedia","wordpress-seo"),keywords:[Object(Qe.__)("Social","wordpress-seo"),Object(Qe.__)("Share","wordpress-seo")]}}}},kr=async e=>{const{endpoint:t,nonce:r}=Object(oe.get)(window,"wpseoScriptData",{}),s=new FormData;s.set("option_page","wpseo_page_settings"),s.set("_wp_http_referer","admin.php?page=wpseo_page_settings_saved"),s.set("action","update"),s.set("_wpnonce",r),Object(oe.forEach)(e,(e,t)=>{if(Object(oe.isObject)(e)){if("person_social_profiles"===t)return;Object(oe.forEach)(e,(e,r)=>{Object(oe.isArray)(e)?Object(oe.forEach)(e,(e,n)=>s.set(`${t}[${r}][${n}]`,e)):s.set(`${t}[${r}]`,e)})}else s.set(t,e)});try{const e=await fetch(t,{method:"POST",body:new URLSearchParams(s)}),r=await e.text();if(Object(oe.includes)(r,"{{ yoast-success: false }}"))throw new Error("Yoast options invalid.");if(!e.url.endsWith("settings-updated=true"))throw new Error("WordPress options save did not get to the end.")}catch(e){throw new Error(e.message)}},Tr=async(e,t)=>{let{resetForm:r}=t;const{addNotification:s}=Object(a.dispatch)(nt),{selectCanEditUser:n,selectPreference:o}=Object(a.select)(nt),i=o("canManageOptions",!1),{person_social_profiles:c}=e,{company_or_person_user_id:l}=e.wpseo_titles,u=Object(oe.isNumber)(l)&&l>0&&n(l);try{return await Promise.all([kr(i?e:Object(oe.omit)(e,["blogdescription"])),u&&jr(l,c)]),s({variant:"success",title:Object(Qe.__)("Great! Your settings were saved successfully.","wordpress-seo")}),r({values:e}),!0}catch(e){return s({id:"submit-error",variant:"error",title:Object(Qe.__)("Oops! Something went wrong while saving.","wordpress-seo")}),console.error("Error while saving:",e.message),!1}};var Fr,Lr;try{Fr=Map}catch(e){}try{Lr=Set}catch(e){}function Pr(e){return function e(t,r,s){if(!t||"object"!=typeof t||"function"==typeof t)return t;if(t.nodeType&&"cloneNode"in t)return t.cloneNode(!0);if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t);if(Array.isArray(t))return t.map(Pr);if(Fr&&t instanceof Fr)return new Map(Array.from(t.entries()));if(Lr&&t instanceof Lr)return new Set(Array.from(t.values()));if(t instanceof Object){r.push(t);var n=Object.create(t);for(var a in s.push(n),t){var o=r.findIndex((function(e){return e===t[a]}));n[a]=o>-1?s[o]:e(t[a],r,s)}return n}return t}(e,[],[])}const Ar=Object.prototype.toString,Rr=Error.prototype.toString,Ir=RegExp.prototype.toString,Mr="undefined"!=typeof Symbol?Symbol.prototype.toString:()=>"",Cr=/^Symbol\((.*)\)(.*)$/;function Nr(e,t=!1){if(null==e||!0===e||!1===e)return""+e;const r=typeof e;if("number"===r)return function(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}(e);if("string"===r)return t?`"${e}"`:e;if("function"===r)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===r)return Mr.call(e).replace(Cr,"Symbol($1)");const s=Ar.call(e).slice(8,-1);return"Date"===s?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===s||e instanceof Error?"["+Rr.call(e)+"]":"RegExp"===s?Ir.call(e):null}function $r(e,t){let r=Nr(e,t);return null!==r?r:JSON.stringify(e,(function(e,r){let s=Nr(this[e],t);return null!==s?s:r}),2)}let Dr={default:"${path} is invalid",required:"${path} is a required field",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:r,originalValue:s})=>{let n=null!=s&&s!==r,a=`${e} must be a \`${t}\` type, but the final value was: \`${$r(r,!0)}\``+(n?` (cast from the value \`${$r(s,!0)}\`).`:".");return null===r&&(a+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),a},defined:"${path} must be defined"},Ur={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},Vr={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},Br={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},zr={noUnknown:"${path} field has unspecified keys: ${unknown}"},Wr={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"};Object.assign(Object.create(null),{mixed:Dr,string:Ur,number:Vr,date:Br,object:zr,array:Wr,boolean:{isValue:"${path} field must be ${value}"}});var qr=r(194),Hr=r.n(qr),Gr=e=>e&&e.__isYupSchema__;function Yr(e){return null==e?[]:[].concat(e)}function Kr(){return(Kr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(this,arguments)}let Xr=/\$\{\s*(\w+)\s*\}/g;class Jr extends Error{static formatError(e,t){const r=t.label||t.path||"this";return r!==t.path&&(t=Kr({},t,{path:r})),"string"==typeof e?e.replace(Xr,(e,r)=>$r(t[r])):"function"==typeof e?e(t):e}static isError(e){return e&&"ValidationError"===e.name}constructor(e,t,r,s){super(),this.value=void 0,this.path=void 0,this.type=void 0,this.errors=void 0,this.params=void 0,this.inner=void 0,this.name="ValidationError",this.value=t,this.path=r,this.type=s,this.errors=[],this.inner=[],Yr(e).forEach(e=>{Jr.isError(e)?(this.errors.push(...e.errors),this.inner=this.inner.concat(e.inner.length?e.inner:e)):this.errors.push(e)}),this.message=this.errors.length>1?this.errors.length+" errors occurred":this.errors[0],Error.captureStackTrace&&Error.captureStackTrace(this,Jr)}}function Qr(e,t){let{endEarly:r,tests:s,args:n,value:a,errors:o,sort:i,path:c}=e,l=(e=>{let t=!1;return(...r)=>{t||(t=!0,e(...r))}})(t),u=s.length;const d=[];if(o=o||[],!u)return o.length?l(new Jr(o,a,c)):l(null,a);for(let e=0;e<s.length;e++)(0,s[e])(n,(function(e){if(e){if(!Jr.isError(e))return l(e,a);if(r)return e.value=a,l(e,a);d.push(e)}if(--u<=0){if(d.length&&(i&&d.sort(i),o.length&&d.push(...o),o=d),o.length)return void l(new Jr(o,a,c),a);l(null,a)}}))}var Zr=r(223),es=r.n(Zr),ts=r(181);class rs{constructor(e,t={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!=typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext="$"===this.key[0],this.isValue="."===this.key[0],this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?"$":this.isValue?".":"";this.path=this.key.slice(r.length),this.getter=this.path&&Object(ts.getter)(this.path,!0),this.map=t.map}getValue(e,t,r){let s=this.isContext?r:this.isValue?e:t;return this.getter&&(s=this.getter(s||{})),this.map&&(s=this.map(s)),s}cast(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(e){return e&&e.__isYupRef}}function ss(){return(ss=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(this,arguments)}function ns(e){function t(t,r){let{value:s,path:n="",label:a,options:o,originalValue:i,sync:c}=t,l=function(e,t){if(null==e)return{};var r,s,n={},a=Object.keys(e);for(s=0;s<a.length;s++)r=a[s],t.indexOf(r)>=0||(n[r]=e[r]);return n}(t,["value","path","label","options","originalValue","sync"]);const{name:u,test:d,params:p,message:m}=e;let{parent:b,context:f}=o;function h(e){return rs.isRef(e)?e.getValue(s,b,f):e}function y(e={}){const t=es()(ss({value:s,originalValue:i,label:a,path:e.path||n},p,e.params),h),r=new Jr(Jr.formatError(e.message||m,t),s,t.path,e.type||u);return r.params=t,r}let O,w=ss({path:n,parent:b,type:u,createError:y,resolve:h,options:o,originalValue:i},l);if(c){try{var _;if(O=d.call(w,s,w),"function"==typeof(null==(_=O)?void 0:_.then))throw new Error(`Validation test of type: "${w.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`)}catch(e){return void r(e)}Jr.isError(O)?r(O):O?r(null,O):r(y())}else try{Promise.resolve(d.call(w,s,w)).then(e=>{Jr.isError(e)?r(e):e?r(null,e):r(y())}).catch(r)}catch(e){r(e)}}return t.OPTIONS=e,t}function as(e,t,r,s=r){let n,a,o;return t?(Object(ts.forEach)(t,(i,c,l)=>{let u=c?(e=>e.substr(0,e.length-1).substr(1))(i):i;if((e=e.resolve({context:s,parent:n,value:r})).innerType){let s=l?parseInt(u,10):0;if(r&&s>=r.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${i}, in the path: ${t}. because there is no value at that index. `);n=r,r=r&&r[s],e=e.innerType}if(!l){if(!e.fields||!e.fields[u])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${o} which is a type: "${e._type}")`);n=r,r=r&&r[u],e=e.fields[u]}a=u,o=c?"["+i+"]":"."+i}),{schema:e,parent:n,parentPath:a}):{parent:n,parentPath:t,schema:e}}rs.prototype.__isYupRef=!0;class os{constructor(){this.list=void 0,this.refs=void 0,this.list=new Set,this.refs=new Map}get size(){return this.list.size+this.refs.size}describe(){const e=[];for(const t of this.list)e.push(t);for(const[,t]of this.refs)e.push(t.describe());return e}toArray(){return Array.from(this.list).concat(Array.from(this.refs.values()))}resolveAll(e){return this.toArray().reduce((t,r)=>t.concat(rs.isRef(r)?e(r):r),[])}add(e){rs.isRef(e)?this.refs.set(e.key,e):this.list.add(e)}delete(e){rs.isRef(e)?this.refs.delete(e.key):this.list.delete(e)}clone(){const e=new os;return e.list=new Set(this.list),e.refs=new Map(this.refs),e}merge(e,t){const r=this.clone();return e.list.forEach(e=>r.add(e)),e.refs.forEach(e=>r.add(e)),t.list.forEach(e=>r.delete(e)),t.refs.forEach(e=>r.delete(e)),r}}function is(){return(is=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(this,arguments)}class cs{constructor(e){this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this._typeError=void 0,this._whitelist=new os,this._blacklist=new os,this.exclusiveTests=Object.create(null),this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(Dr.notType)}),this.type=(null==e?void 0:e.type)||"mixed",this.spec=is({strip:!1,strict:!1,abortEarly:!0,recursive:!0,nullable:!1,presence:"optional"},null==e?void 0:e.spec)}get _type(){return this.type}_typeCheck(e){return!0}clone(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;const t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeError=this._typeError,t._whitelistError=this._whitelistError,t._blacklistError=this._blacklistError,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.exclusiveTests=is({},this.exclusiveTests),t.deps=[...this.deps],t.conditions=[...this.conditions],t.tests=[...this.tests],t.transforms=[...this.transforms],t.spec=Pr(is({},this.spec,e)),t}label(e){let t=this.clone();return t.spec.label=e,t}meta(...e){if(0===e.length)return this.spec.meta;let t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},e[0]),t}withMutation(e){let t=this._mutate;this._mutate=!0;let r=e(this);return this._mutate=t,r}concat(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${e.type}`);let t=e.clone();const r=is({},this.spec,t.spec);return t.spec=r,t._typeError||(t._typeError=this._typeError),t._whitelistError||(t._whitelistError=this._whitelistError),t._blacklistError||(t._blacklistError=this._blacklistError),t._whitelist=this._whitelist.merge(e._whitelist,e._blacklist),t._blacklist=this._blacklist.merge(e._blacklist,e._whitelist),t.tests=this.tests,t.exclusiveTests=this.exclusiveTests,t.withMutation(t=>{e.tests.forEach(e=>{t.test(e.OPTIONS)})}),t.transforms=[...this.transforms,...t.transforms],t}isType(e){return!(!this.spec.nullable||null!==e)||this._typeCheck(e)}resolve(e){let t=this;if(t.conditions.length){let r=t.conditions;t=t.clone(),t.conditions=[],t=r.reduce((t,r)=>r.resolve(t,e),t),t=t.resolve(e)}return t}cast(e,t={}){let r=this.resolve(is({value:e},t)),s=r._cast(e,t);if(void 0!==e&&!1!==t.assert&&!0!==r.isType(s)){let n=$r(e),a=$r(s);throw new TypeError(`The value of ${t.path||"field"} could not be cast to a value that satisfies the schema type: "${r._type}". \n\nattempted value: ${n} \n`+(a!==n?"result of cast: "+a:""))}return s}_cast(e,t){let r=void 0===e?e:this.transforms.reduce((t,r)=>r.call(this,t,e,this),e);return void 0===r&&(r=this.getDefault()),r}_validate(e,t={},r){let{sync:s,path:n,from:a=[],originalValue:o=e,strict:i=this.spec.strict,abortEarly:c=this.spec.abortEarly}=t,l=e;i||(l=this._cast(l,is({assert:!1},t)));let u={value:l,path:n,options:t,originalValue:o,schema:this,label:this.spec.label,sync:s,from:a},d=[];this._typeError&&d.push(this._typeError);let p=[];this._whitelistError&&p.push(this._whitelistError),this._blacklistError&&p.push(this._blacklistError),Qr({args:u,value:l,path:n,sync:s,tests:d,endEarly:c},e=>{e?r(e,l):Qr({tests:this.tests.concat(p),args:u,path:n,sync:s,value:l,endEarly:c},r)})}validate(e,t,r){let s=this.resolve(is({},t,{value:e}));return"function"==typeof r?s._validate(e,t,r):new Promise((r,n)=>s._validate(e,t,(e,t)=>{e?n(e):r(t)}))}validateSync(e,t){let r;return this.resolve(is({},t,{value:e}))._validate(e,is({},t,{sync:!0}),(e,t)=>{if(e)throw e;r=t}),r}isValid(e,t){return this.validate(e,t).then(()=>!0,e=>{if(Jr.isError(e))return!1;throw e})}isValidSync(e,t){try{return this.validateSync(e,t),!0}catch(e){if(Jr.isError(e))return!1;throw e}}_getDefault(){let e=this.spec.default;return null==e?e:"function"==typeof e?e.call(this):Pr(e)}getDefault(e){return this.resolve(e||{})._getDefault()}default(e){return 0===arguments.length?this._getDefault():this.clone({default:e})}strict(e=!0){let t=this.clone();return t.spec.strict=e,t}_isPresent(e){return null!=e}defined(e=Dr.defined){return this.test({message:e,name:"defined",exclusive:!0,test:e=>void 0!==e})}required(e=Dr.required){return this.clone({presence:"required"}).withMutation(t=>t.test({message:e,name:"required",exclusive:!0,test(e){return this.schema._isPresent(e)}}))}notRequired(){let e=this.clone({presence:"optional"});return e.tests=e.tests.filter(e=>"required"!==e.OPTIONS.name),e}nullable(e=!0){return this.clone({nullable:!1!==e})}transform(e){let t=this.clone();return t.transforms.push(e),t}test(...e){let t;if(t=1===e.length?"function"==typeof e[0]?{test:e[0]}:e[0]:2===e.length?{name:e[0],test:e[1]}:{name:e[0],message:e[1],test:e[2]},void 0===t.message&&(t.message=Dr.default),"function"!=typeof t.test)throw new TypeError("`test` is a required parameters");let r=this.clone(),s=ns(t),n=t.exclusive||t.name&&!0===r.exclusiveTests[t.name];if(t.exclusive&&!t.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return t.name&&(r.exclusiveTests[t.name]=!!t.exclusive),r.tests=r.tests.filter(e=>{if(e.OPTIONS.name===t.name){if(n)return!1;if(e.OPTIONS.test===s.OPTIONS.test)return!1}return!0}),r.tests.push(s),r}when(e,t){Array.isArray(e)||"string"==typeof e||(t=e,e=".");let r=this.clone(),s=Yr(e).map(e=>new rs(e));return s.forEach(e=>{e.isSibling&&r.deps.push(e.key)}),r.conditions.push(new class{constructor(e,t){if(this.fn=void 0,this.refs=e,this.refs=e,"function"==typeof t)return void(this.fn=t);if(!Hr()(t,"is"))throw new TypeError("`is:` is required for `when()` conditions");if(!t.then&&!t.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:r,then:s,otherwise:n}=t,a="function"==typeof r?r:(...e)=>e.every(e=>e===r);this.fn=function(...e){let t=e.pop(),r=e.pop(),o=a(...e)?s:n;if(o)return"function"==typeof o?o(r):r.concat(o.resolve(t))}}resolve(e,t){let r=this.refs.map(e=>e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context)),s=this.fn.apply(e,r.concat(e,t));if(void 0===s||s===e)return e;if(!Gr(s))throw new TypeError("conditions must return a schema object");return s.resolve(t)}}(s,t)),r}typeError(e){let t=this.clone();return t._typeError=ns({message:e,name:"typeError",test(e){return!(void 0!==e&&!this.schema.isType(e))||this.createError({params:{type:this.schema._type}})}}),t}oneOf(e,t=Dr.oneOf){let r=this.clone();return e.forEach(e=>{r._whitelist.add(e),r._blacklist.delete(e)}),r._whitelistError=ns({message:t,name:"oneOf",test(e){if(void 0===e)return!0;let t=this.schema._whitelist,r=t.resolveAll(this.resolve);return!!r.includes(e)||this.createError({params:{values:t.toArray().join(", "),resolved:r}})}}),r}notOneOf(e,t=Dr.notOneOf){let r=this.clone();return e.forEach(e=>{r._blacklist.add(e),r._whitelist.delete(e)}),r._blacklistError=ns({message:t,name:"notOneOf",test(e){let t=this.schema._blacklist,r=t.resolveAll(this.resolve);return!r.includes(e)||this.createError({params:{values:t.toArray().join(", "),resolved:r}})}}),r}strip(e=!0){let t=this.clone();return t.spec.strip=e,t}describe(){const e=this.clone(),{label:t,meta:r}=e.spec;return{meta:r,label:t,type:e.type,oneOf:e._whitelist.describe(),notOneOf:e._blacklist.describe(),tests:e.tests.map(e=>({name:e.OPTIONS.name,params:e.OPTIONS.params})).filter((e,t,r)=>r.findIndex(t=>t.name===e.name)===t)}}}cs.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])cs.prototype[e+"At"]=function(t,r,s={}){const{parent:n,parentPath:a,schema:o}=as(this,t,r,s.context);return o[e](n&&n[a],is({},s,{parent:n,path:t}))};for(const e of["equals","is"])cs.prototype[e]=cs.prototype.oneOf;for(const e of["not","nope"])cs.prototype[e]=cs.prototype.notOneOf;cs.prototype.optional=cs.prototype.notRequired;cs.prototype;var ls=e=>null==e;let us=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,ds=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,ps=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,ms=e=>ls(e)||e===e.trim(),bs={}.toString();function fs(){return new hs}class hs extends cs{constructor(){super({type:"string"}),this.withMutation(()=>{this.transform((function(e){if(this.isType(e))return e;if(Array.isArray(e))return e;const t=null!=e&&e.toString?e.toString():e;return t===bs?e:t}))})}_typeCheck(e){return e instanceof String&&(e=e.valueOf()),"string"==typeof e}_isPresent(e){return super._isPresent(e)&&!!e.length}length(e,t=Ur.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},test(t){return ls(t)||t.length===this.resolve(e)}})}min(e,t=Ur.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(t){return ls(t)||t.length>=this.resolve(e)}})}max(e,t=Ur.max){return this.test({name:"max",exclusive:!0,message:t,params:{max:e},test(t){return ls(t)||t.length<=this.resolve(e)}})}matches(e,t){let r,s,n=!1;return t&&("object"==typeof t?({excludeEmptyString:n=!1,message:r,name:s}=t):r=t),this.test({name:s||"matches",message:r||Ur.matches,params:{regex:e},test:t=>ls(t)||""===t&&n||-1!==t.search(e)})}email(e=Ur.email){return this.matches(us,{name:"email",message:e,excludeEmptyString:!0})}url(e=Ur.url){return this.matches(ds,{name:"url",message:e,excludeEmptyString:!0})}uuid(e=Ur.uuid){return this.matches(ps,{name:"uuid",message:e,excludeEmptyString:!1})}ensure(){return this.default("").transform(e=>null===e?"":e)}trim(e=Ur.trim){return this.transform(e=>null!=e?e.trim():e).test({message:e,name:"trim",test:ms})}lowercase(e=Ur.lowercase){return this.transform(e=>ls(e)?e:e.toLowerCase()).test({message:e,name:"string_case",exclusive:!0,test:e=>ls(e)||e===e.toLowerCase()})}uppercase(e=Ur.uppercase){return this.transform(e=>ls(e)?e:e.toUpperCase()).test({message:e,name:"string_case",exclusive:!0,test:e=>ls(e)||e===e.toUpperCase()})}}function ys(){return new Os}fs.prototype=hs.prototype;class Os extends cs{constructor(){super({type:"number"}),this.withMutation(()=>{this.transform((function(e){let t=e;if("string"==typeof t){if(t=t.replace(/\s/g,""),""===t)return NaN;t=+t}return this.isType(t)?t:parseFloat(t)}))})}_typeCheck(e){return e instanceof Number&&(e=e.valueOf()),"number"==typeof e&&!(e=>e!=+e)(e)}min(e,t=Vr.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(t){return ls(t)||t>=this.resolve(e)}})}max(e,t=Vr.max){return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test(t){return ls(t)||t<=this.resolve(e)}})}lessThan(e,t=Vr.lessThan){return this.test({message:t,name:"max",exclusive:!0,params:{less:e},test(t){return ls(t)||t<this.resolve(e)}})}moreThan(e,t=Vr.moreThan){return this.test({message:t,name:"min",exclusive:!0,params:{more:e},test(t){return ls(t)||t>this.resolve(e)}})}positive(e=Vr.positive){return this.moreThan(0,e)}negative(e=Vr.negative){return this.lessThan(0,e)}integer(e=Vr.integer){return this.test({name:"integer",message:e,test:e=>ls(e)||Number.isInteger(e)})}truncate(){return this.transform(e=>ls(e)?e:0|e)}round(e){var t;let r=["ceil","floor","round","trunc"];if("trunc"===(e=(null==(t=e)?void 0:t.toLowerCase())||"round"))return this.truncate();if(-1===r.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+r.join(", "));return this.transform(t=>ls(t)?t:Math[e](t))}}ys.prototype=Os.prototype;var ws=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;let _s=new Date("");function gs(){return new vs}class vs extends cs{constructor(){super({type:"date"}),this.withMutation(()=>{this.transform((function(e){return this.isType(e)?e:(e=function(e){var t,r,s=[1,4,5,6,7,10,11],n=0;if(r=ws.exec(e)){for(var a,o=0;a=s[o];++o)r[a]=+r[a]||0;r[2]=(+r[2]||1)-1,r[3]=+r[3]||1,r[7]=r[7]?String(r[7]).substr(0,3):0,void 0!==r[8]&&""!==r[8]||void 0!==r[9]&&""!==r[9]?("Z"!==r[8]&&void 0!==r[9]&&(n=60*r[10]+r[11],"+"===r[9]&&(n=0-n)),t=Date.UTC(r[1],r[2],r[3],r[4],r[5]+n,r[6],r[7])):t=+new Date(r[1],r[2],r[3],r[4],r[5],r[6],r[7])}else t=Date.parse?Date.parse(e):NaN;return t}(e),isNaN(e)?_s:new Date(e))}))})}_typeCheck(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t}prepareParam(e,t){let r;if(rs.isRef(e))r=e;else{let s=this.cast(e);if(!this._typeCheck(s))throw new TypeError(`\`${t}\` must be a Date or a value that can be \`cast()\` to a Date`);r=s}return r}min(e,t=Br.min){let r=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(e){return ls(e)||e>=this.resolve(r)}})}max(e,t=Br.max){let r=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test(e){return ls(e)||e<=this.resolve(r)}})}}vs.INVALID_DATE=_s,gs.prototype=vs.prototype,gs.INVALID_DATE=_s;var js=r(236),Es=r.n(js),xs=r(256),Ss=r.n(xs),ks=r(257),Ts=r.n(ks),Fs=r(258),Ls=r.n(Fs);function Ps(e,t){let r=1/0;return e.some((e,s)=>{var n;if(-1!==(null==(n=t.path)?void 0:n.indexOf(e)))return r=s,!0}),r}function As(e){return(t,r)=>Ps(e,t)-Ps(e,r)}function Rs(){return(Rs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(this,arguments)}let Is=e=>"[object Object]"===Object.prototype.toString.call(e);const Ms=As([]);class Cs extends cs{constructor(e){super({type:"object"}),this.fields=Object.create(null),this._sortErrors=Ms,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{this.transform((function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null})),e&&this.shape(e)})}_typeCheck(e){return Is(e)||"function"==typeof e}_cast(e,t={}){var r;let s=super._cast(e,t);if(void 0===s)return this.getDefault();if(!this._typeCheck(s))return s;let n=this.fields,a=null!=(r=t.stripUnknown)?r:this.spec.noUnknown,o=this._nodes.concat(Object.keys(s).filter(e=>-1===this._nodes.indexOf(e))),i={},c=Rs({},t,{parent:i,__validating:t.__validating||!1}),l=!1;for(const e of o){let r=n[e],o=Hr()(s,e);if(r){let n,a=s[e];c.path=(t.path?t.path+".":"")+e,r=r.resolve({value:a,context:t.context,parent:i});let o="spec"in r?r.spec:void 0,u=null==o?void 0:o.strict;if(null==o?void 0:o.strip){l=l||e in s;continue}n=t.__validating&&u?s[e]:r.cast(s[e],c),void 0!==n&&(i[e]=n)}else o&&!a&&(i[e]=s[e]);i[e]!==s[e]&&(l=!0)}return l?i:s}_validate(e,t={},r){let s=[],{sync:n,from:a=[],originalValue:o=e,abortEarly:i=this.spec.abortEarly,recursive:c=this.spec.recursive}=t;a=[{schema:this,value:o},...a],t.__validating=!0,t.originalValue=o,t.from=a,super._validate(e,t,(e,l)=>{if(e){if(!Jr.isError(e)||i)return void r(e,l);s.push(e)}if(!c||!Is(l))return void r(s[0]||null,l);o=o||l;let u=this._nodes.map(e=>(r,s)=>{let n=-1===e.indexOf(".")?(t.path?t.path+".":"")+e:`${t.path||""}["${e}"]`,i=this.fields[e];i&&"validate"in i?i.validate(l[e],Rs({},t,{path:n,from:a,strict:!0,parent:l,originalValue:o[e]}),s):s(null)});Qr({sync:n,tests:u,value:l,errors:s,endEarly:i,sort:this._sortErrors,path:t.path},r)})}clone(e){const t=super.clone(e);return t.fields=Rs({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}concat(e){let t=super.concat(e),r=t.fields;for(let[e,t]of Object.entries(this.fields)){const s=r[e];void 0===s?r[e]=t:s instanceof cs&&t instanceof cs&&(r[e]=t.concat(s))}return t.withMutation(()=>t.shape(r,this._excludedEdges))}getDefaultFromShape(){let e={};return this._nodes.forEach(t=>{const r=this.fields[t];e[t]="default"in r?r.getDefault():void 0}),e}_getDefault(){return"default"in this.spec?super._getDefault():this._nodes.length?this.getDefaultFromShape():void 0}shape(e,t=[]){let r=this.clone(),s=Object.assign(r.fields,e);return r.fields=s,r._sortErrors=As(Object.keys(s)),t.length&&(Array.isArray(t[0])||(t=[t]),r._excludedEdges=[...r._excludedEdges,...t]),r._nodes=function(e,t=[]){let r=[],s=new Set,n=new Set(t.map(([e,t])=>`${e}-${t}`));function a(e,t){let a=Object(ts.split)(e)[0];s.add(a),n.has(`${t}-${a}`)||r.push([t,a])}for(const t in e)if(Hr()(e,t)){let r=e[t];s.add(t),rs.isRef(r)&&r.isSibling?a(r.path,t):Gr(r)&&"deps"in r&&r.deps.forEach(e=>a(e,t))}return Ls.a.array(Array.from(s),r).reverse()}(s,r._excludedEdges),r}pick(e){const t={};for(const r of e)this.fields[r]&&(t[r]=this.fields[r]);return this.clone().withMutation(e=>(e.fields={},e.shape(t)))}omit(e){const t=this.clone(),r=t.fields;t.fields={};for(const t of e)delete r[t];return t.withMutation(()=>t.shape(r))}from(e,t,r){let s=Object(ts.getter)(e,!0);return this.transform(n=>{if(null==n)return n;let a=n;return Hr()(n,e)&&(a=Rs({},n),r||delete a[e],a[t]=s(n)),a})}noUnknown(e=!0,t=zr.noUnknown){"string"==typeof e&&(t=e,e=!0);let r=this.test({name:"noUnknown",exclusive:!0,message:t,test(t){if(null==t)return!0;const r=function(e,t){let r=Object.keys(e.fields);return Object.keys(t).filter(e=>-1===r.indexOf(e))}(this.schema,t);return!e||0===r.length||this.createError({params:{unknown:r.join(", ")}})}});return r.spec.noUnknown=e,r}unknown(e=!0,t=zr.noUnknown){return this.noUnknown(!e,t)}transformKeys(e){return this.transform(t=>t&&Ts()(t,(t,r)=>e(r)))}camelCase(){return this.transformKeys(Ss.a)}snakeCase(){return this.transformKeys(Es.a)}constantCase(){return this.transformKeys(e=>Es()(e).toUpperCase())}describe(){let e=super.describe();return e.fields=es()(this.fields,e=>e.describe()),e}}function Ns(e){return new Cs(e)}function $s(){return($s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(this,arguments)}function Ds(e){return new Us(e)}Ns.prototype=Cs.prototype;class Us extends cs{constructor(e){super({type:"array"}),this.innerType=void 0,this.innerType=e,this.withMutation(()=>{this.transform((function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null}))})}_typeCheck(e){return Array.isArray(e)}get _subType(){return this.innerType}_cast(e,t){const r=super._cast(e,t);if(!this._typeCheck(r)||!this.innerType)return r;let s=!1;const n=r.map((e,r)=>{const n=this.innerType.cast(e,$s({},t,{path:`${t.path||""}[${r}]`}));return n!==e&&(s=!0),n});return s?n:r}_validate(e,t={},r){var s,n;let a=[],o=t.sync,i=t.path,c=this.innerType,l=null!=(s=t.abortEarly)?s:this.spec.abortEarly,u=null!=(n=t.recursive)?n:this.spec.recursive,d=null!=t.originalValue?t.originalValue:e;super._validate(e,t,(e,s)=>{if(e){if(!Jr.isError(e)||l)return void r(e,s);a.push(e)}if(!u||!c||!this._typeCheck(s))return void r(a[0]||null,s);d=d||s;let n=new Array(s.length);for(let e=0;e<s.length;e++){let r=s[e],a=`${t.path||""}[${e}]`,o=$s({},t,{path:a,strict:!0,parent:s,index:e,originalValue:d[e]});n[e]=(e,t)=>c.validate(r,o,t)}Qr({sync:o,path:i,value:s,errors:a,endEarly:l,tests:n},r)})}clone(e){const t=super.clone(e);return t.innerType=this.innerType,t}concat(e){let t=super.concat(e);return t.innerType=this.innerType,e.innerType&&(t.innerType=t.innerType?t.innerType.concat(e.innerType):e.innerType),t}of(e){let t=this.clone();if(!Gr(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+$r(e));return t.innerType=e,t}length(e,t=Wr.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},test(t){return ls(t)||t.length===this.resolve(e)}})}min(e,t){return t=t||Wr.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},test(t){return ls(t)||t.length>=this.resolve(e)}})}max(e,t){return t=t||Wr.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},test(t){return ls(t)||t.length<=this.resolve(e)}})}ensure(){return this.default(()=>[]).transform((e,t)=>this._typeCheck(e)?e:null==t?[]:[].concat(t))}compact(e){let t=e?(t,r,s)=>!e(t,r,s):e=>!!e;return this.transform(e=>null!=e?e.filter(t):e)}describe(){let e=super.describe();return this.innerType&&(e.innerType=this.innerType.describe()),e}nullable(e=!0){return super.nullable(e)}defined(){return super.defined()}required(e){return super.required(e)}}function Vs(e,t,r){if(!e||!Gr(e.prototype))throw new TypeError("You must provide a yup schema constructor function");if("string"!=typeof t)throw new TypeError("A Method name must be provided");if("function"!=typeof r)throw new TypeError("Method function must be provided");e.prototype[t]=r}Ds.prototype=Us.prototype;const Bs=/^[A-Za-z0-9_-]+$/,zs=/^[A-Fa-f0-9_-]+$/;Vs(ys,"isMediaTypeImage",(function(){return this.test("isMediaTypeImage",Object(Qe.__)("The selected media type is not valid. Supported types are: JPG, PNG, WEBP and GIF.","wordpress-seo"),e=>{if(!e)return!0;const t=Object(a.select)(nt).selectMediaById(e);return"image"===(null==t?void 0:t.type)})})),Vs(fs,"isValidTwitterUrlOrHandle",(function(){return this.test("isValidTwitterUrlOrHandle",Object(Qe.__)("The profile is not valid. Please use only 1-25 letters, numbers and underscores or enter a valid Twitter URL.","wordpress-seo"),e=>!e||(/^[A-Za-z0-9_]{1,25}$/.test(e)||/^https?:\/\/(?:www\.)?twitter\.com\/(?<handle>[A-Za-z0-9_]{1,25})\/?$/.test(e)))}));const Ws=(e,t)=>Ns().shape({wpseo:Ns().shape({baiduverify:fs().matches(Bs,Object(Qe.__)("The verification code is not valid. Please use only letters, numbers, underscores and dashes.","wordpress-seo")),googleverify:fs().matches(Bs,Object(Qe.__)("The verification code is not valid. Please use only letters, numbers, underscores and dashes.","wordpress-seo")),msverify:fs().matches(zs,Object(Qe.__)("The verification code is not valid. Please use only the letters A to F, numbers, underscores and dashes.","wordpress-seo")),yandexverify:fs().matches(zs,Object(Qe.__)("The verification code is not valid. Please use only the letters A to F, numbers, underscores and dashes.","wordpress-seo"))}),wpseo_social:Ns().shape({og_default_image_id:ys().isMediaTypeImage(),facebook_site:fs().url(Object(Qe.__)("The profile is not valid. Please enter a valid URL.","wordpress-seo")),twitter_site:fs().isValidTwitterUrlOrHandle(),other_social_urls:Ds().of(fs().required(Object(Qe.__)("The profile cannot be empty. Please enter a valid URL or remove this profile.","wordpress-seo")).url(Object(Qe.__)("The profile is not valid. Please enter a valid URL.","wordpress-seo"))),pinterestverify:fs().matches(zs,Object(Qe.__)("The verification code is not valid. Please use only the letters A to F, numbers, underscores and dashes.","wordpress-seo"))}),wpseo_titles:Ns().shape({open_graph_frontpage_image_id:ys().isMediaTypeImage(),company_logo_id:ys().isMediaTypeImage(),person_logo_id:ys().isMediaTypeImage(),...Object(oe.reduce)(e,(e,t)=>{let{name:r,hasArchive:s}=t;return{...e,..."attachment"!==r&&{["social-image-id-"+r]:ys().isMediaTypeImage()},...s&&{["social-image-id-ptarchive-"+r]:ys().isMediaTypeImage()}}},{}),...Object(oe.reduce)(t,(e,t)=>{let{name:r}=t;return{...e,["social-image-id-tax-"+r]:ys().isMediaTypeImage()}},{}),"social-image-id-author-wpseo":ys().isMediaTypeImage(),"social-image-id-archive-wpseo":ys().isMediaTypeImage(),"social-image-id-tax-post_format":ys().isMediaTypeImage()}),person_social_profiles:Ns().shape({facebook:fs().url(Object(Qe.__)("The profile is not valid. Please enter a valid URL.","wordpress-seo")),instagram:fs().url(Object(Qe.__)("The profile is not valid. Please enter a valid URL.","wordpress-seo")),linkedin:fs().url(Object(Qe.__)("The profile is not valid. Please enter a valid URL.","wordpress-seo")),myspace:fs().url(Object(Qe.__)("The profile is not valid. Please enter a valid URL.","wordpress-seo")),pinterest:fs().url(Object(Qe.__)("The profile is not valid. Please enter a valid URL.","wordpress-seo")),soundcloud:fs().url(Object(Qe.__)("The profile is not valid. Please enter a valid URL.","wordpress-seo")),tumblr:fs().url(Object(Qe.__)("The profile is not valid. Please enter a valid URL.","wordpress-seo")),twitter:fs().isValidTwitterUrlOrHandle(),youtube:fs().url(Object(Qe.__)("The profile is not valid. Please enter a valid URL.","wordpress-seo")),wikipedia:fs().url(Object(Qe.__)("The profile is not valid. Please enter a valid URL.","wordpress-seo"))})}),qs=new RegExp(/^input-wpseo_titles-(post_types|taxonomy)-(?<name>\S+)-(maintax|ptparent)$/is),Hs=e=>{let{fieldId:t,fieldLabel:r}=e;const{isPostTypeOrTaxonomyBreadcrumbSetting:n,postTypeOrTaxonomyName:a}=Object(s.useMemo)(()=>{var e;const r=qs.exec(t);return{isPostTypeOrTaxonomyBreadcrumbSetting:Boolean(r),postTypeOrTaxonomyName:null==r||null===(e=r.groups)||void 0===e?void 0:e.name}},[t,qs]);return n?Object(s.createElement)(s.Fragment,null,r,a&&Object(s.createElement)(c.Code,{className:"yst-ml-2 group-hover:yst-bg-primary-200 group-hover:yst-text-primary-800"},a)):r};Hs.propTypes={fieldId:rt.a.string.isRequired,fieldLabel:rt.a.string.isRequired};const Gs=e=>{let{title:t,children:r}=e;return Object(s.createElement)("div",{className:"yst-border-t yst-border-slate-100 yst-p-6 yst-py-12 yst-space-3 yst-text-center yst-text-sm"},Object(s.createElement)("span",{className:"yst-block yst-font-semibold yst-text-slate-900"},t),r)};Gs.propTypes={title:rt.a.node.isRequired,children:rt.a.node.isRequired};var Ys=()=>{const[e,,,t,r]=Object(c.useToggleState)(!1),[n,a]=Object(s.useState)(""),o=ct("selectPreference",[],"userLocale"),i=ct("selectQueryableSearchIndex"),[u,d]=Object(s.useState)([]),p=Object(c.useSvgAria)(),m=Pe(),b=Object(s.useRef)(null),{platform:f,os:h}=Object(s.useMemo)(()=>{var e,t;return it.a.parse(null===(e=window)||void 0===e||null===(t=e.navigator)||void 0===t?void 0:t.userAgent)},[]);!function(e,t,r,s){r instanceof Array&&(s=r,r=void 0);var n=r||{},a=n.enableOnTags,o=n.filter,i=n.keyup,c=n.keydown,u=n.filterPreventDefault,d=void 0===u||u,p=n.enabled,m=void 0===p||p,b=n.enableOnContentEditable,f=void 0!==b&&b,h=Object(l.useRef)(null),y=Object(l.useCallback)((function(e,r){var s,n;return o&&!o(e)?!d:!!(gr(e,["INPUT","TEXTAREA","SELECT"])&&!gr(e,a)||null!=(s=e.target)&&s.isContentEditable&&!f)||!!(null===h.current||document.activeElement===h.current||null!=(n=h.current)&&n.contains(document.activeElement))&&(t(e,r),!0)}),s?[h,a,o].concat(s):[h,a,o]);Object(l.useEffect)((function(){if(m)return i&&!0!==c&&(r.keydown=!1),yr(e,r||{},y),function(){return yr.unbind(e,y)};yr.unbind(e,y)}),[y,e,m])}("ctrl+k, cmd+k",r=>{r.preventDefault(),"desktop"!==(null==f?void 0:f.type)||e||t()},{enableOnTags:["INPUT","TEXTAREA","SELECT"],enableOnContentEditable:!0},[e,t,f]);const y=Object(s.useCallback)(e=>{let{route:t,fieldId:s}=e;r(),a(""),d([]),m(`${t}#${s}`)},[r,a]),O=Object(s.useCallback)(Object(oe.debounce)(e=>{const t=Object(oe.trim)(e);if(t.length<3)return!1;const r=Object(oe.split)(vr(t,o)," "),s=Object(oe.reduce)(i,(e,t)=>{const s=Object(oe.reduce)(r,(e,r)=>Object(oe.includes)(null==t?void 0:t.keywords,r)?++e:e,0);return 0===s?e:[...e,{...t,hits:s}]},[]).sort((e,t)=>t.hits-e.hits),n=Object(oe.groupBy)(s,"route"),a=Object(oe.values)(n).sort((e,t)=>{const r=Object(oe.reduce)(e,(e,t)=>Object(oe.max)([e,t.hits]),0);return Object(oe.reduce)(t,(e,t)=>Object(oe.max)([e,t.hits]),0)-r});d(a)},100),[i,o]),w=Object(s.useCallback)(e=>{a(e.target.value),O(e.target.value)},[a,O]),_=Object(s.useCallback)(e=>{let{active:t}=e;return et()("yst-group yst-block yst-no-underline yst-text-sm yst-text-slate-800 yst-select-none yst-py-3 yst-px-4 hover:yst-bg-primary-600 hover:yst-text-white focus:yst-bg-primary-600 focus:yst-text-white",t&&"yst-text-white yst-bg-primary-600")},[]);return Object(s.createElement)(s.Fragment,null,Object(s.createElement)("button",{type:"button",className:"yst-w-full yst-flex yst-items-center yst-bg-white yst-text-sm yst-leading-6 yst-text-slate-500 yst-rounded-md yst-border yst-border-slate-300 yst-shadow-sm yst-py-1.5 yst-pl-2 yst-pr-3 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-offset-2 focus:yst-ring-primary-500",onClick:t},Object(s.createElement)(Xt,ze()({className:"yst-flex-none yst-w-5 yst-h-5 yst-mr-3 yst-text-slate-400"},p)),Object(s.createElement)("span",{className:"yst-overflow-hidden yst-whitespace-nowrap yst-text-ellipsis"},n||Object(Qe.__)("Quick search...","wordpress-seo")),"desktop"===(null==f?void 0:f.type)&&Object(s.createElement)("span",{className:"yst-ml-auto yst-flex-none yst-text-xs yst-font-semibold yst-text-slate-400"},"macOS"===(null==h?void 0:h.name)?Object(Qe.__)("⌘K","wordpress-seo"):Object(Qe.__)("CtrlK","wordpress-seo"))),Object(s.createElement)(c.Modal,{className:"yst-modal--top",onClose:r,isOpen:e,initialFocus:b},Object(s.createElement)(Kt.a,{as:"div",className:"yst--m-6 yst--mt-5",onChange:y},Object(s.createElement)("div",{className:"yst-relative"},Object(s.createElement)(Xt,ze()({className:"yst-pointer-events-none yst-absolute yst-top-3.5 yst-left-4 yst-h-5 yst-w-5 yst-text-slate-400"},p)),Object(s.createElement)(Kt.a.Input,{ref:b,id:"input-search",placeholder:Object(Qe.__)("Search...","wordpress-seo"),value:n,onChange:w,className:"yst-h-12 yst-w-full yst-border-0 yst-bg-transparent yst-px-11 yst-text-slate-800 yst-placeholder-slate-400 focus:yst-ring-0 sm:yst-text-sm"})),n.length>=3&&!Object(oe.isEmpty)(u)&&Object(s.createElement)(Kt.a.Options,{static:!0,className:"yst-max-h-[calc(90vh-10rem)] yst-scroll-pt-11 yst-scroll-pb-2 yst-space-y-2 yst-overflow-y-auto yst-pb-2"},Object(oe.map)(u,(e,t)=>{var r;return Object(s.createElement)("li",{key:(null==e||null===(r=e[0])||void 0===r?void 0:r.route)||"group-"+t},Object(s.createElement)(c.Title,{as:"h4",size:"3",className:"yst-bg-slate-100 yst-py-3 yst-px-4"},Object(oe.first)(e).routeLabel),Object(s.createElement)("ul",null,Object(oe.map)(e,e=>Object(s.createElement)(Kt.a.Option,{key:e.fieldId,value:e,className:_},Object(s.createElement)(Hs,e)))))})),n.length<3&&Object(s.createElement)(Gs,{title:Object(Qe.__)("Search","wordpress-seo")},Object(s.createElement)("p",{className:"yst-text-slate-500"},Object(Qe.__)("Please enter a search term with at least 3 characters.","wordpress-seo"))),n.length>=3&&Object(oe.isEmpty)(u)&&Object(s.createElement)(Gs,{title:Object(Qe.__)("No results found","wordpress-seo")},Object(s.createElement)("p",{className:"yst-text-slate-500"},Object(Qe.__)("We couldn’t find anything with that term.","wordpress-seo"))))))};const Ks=c.SidebarNavigation.SubmenuItem,Xs=e=>{let{to:t,idSuffix:r="",...n}=e;const a=Object(s.useMemo)(()=>Object(oe.replace)(Object(oe.replace)("link-"+t,"/","-"),"--","-"),[t]);return Object(s.createElement)(Ks,ze()({as:Ue,pathProp:"to",id:`${a}${r&&"-"+r}`,to:t},n))};Xs.propTypes={to:rt.a.string.isRequired,idSuffix:rt.a.string},c.SidebarNavigation.SubmenuItem=Xs;var Js,Qs,Zs,en,tn,rn,sn,nn,an,on,cn,ln,un,dn,pn,mn=c.SidebarNavigation;function bn(){return(bn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(this,arguments)}function fn(e){return l.createElement("svg",bn({xmlns:"http://www.w3.org/2000/svg",id:"star-rating-half_svg__Layer_1","data-name":"Layer 1",viewBox:"0 0 500 475.53"},e),Js||(Js=l.createElement("defs",null,l.createElement("style",null,".star-rating-half_svg__cls-1{fill:#fbbf24}"))),Qs||(Qs=l.createElement("path",{className:"star-rating-half_svg__cls-1",d:"M250 392.04L98.15 471.87l29-169.09L4.3 183.03l169.77-24.67L250 4.52l75.93 153.84 169.77 24.67-122.85 119.75 29 169.09L250 392.04z"})),Zs||(Zs=l.createElement("path",{className:"star-rating-half_svg__cls-1",d:"M250 33.51l73.67 149.27.93 1.88 2.08.3L491.4 208.9 372.21 325.09l-1.51 1.47.36 2.07 28.14 164.06-147.34-77.46-1.86-1-1.86 1-147.34 77.46 28.14-164.06.36-2.07-1.51-1.47L8.6 208.9 173.32 185l2.08-.3.93-1.88L250 33.51m0-9L172.75 181 0 206.11 125 328 95.49 500 250 418.77 404.51 500 375 328l125-121.89L327.25 181 250 24.47z",transform:"translate(0 -24.47)"})),en||(en=l.createElement("path",{fill:"#f3f4f6",d:"M500 181.64l-172.75-25.11L250 0v394.3l154.51 81.23L375 303.48l125-121.84z"})))}function hn(){return(hn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(this,arguments)}function yn(e){return l.createElement("svg",hn({xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 500 475.53"},e),tn||(tn=l.createElement("path",{fill:"#fbbf24",d:"M250 0l77.25 156.53L500 181.64 375 303.48l29.51 172.05L250 394.3 95.49 475.53 125 303.48 0 181.64l172.75-25.11L250 0z"})))}function On(){return(On=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(this,arguments)}function wn(e){return l.createElement("svg",On({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 500 500"},e),rn||(rn=l.createElement("path",{d:"M80 0h340a80 80 0 0180 80v420H80a80 80 0 01-80-80V80A80 80 0 0180 0z",fill:"#a4286a"})),sn||(sn=l.createElement("path",{d:"M437.61 2L155.89 500H500V80a80 80 0 00-62.39-78z",fill:"#6c2548"})),nn||(nn=l.createElement("path",{d:"M74.4 337.3v34.9c21.6-.9 38.5-8 52.8-22.5s27.4-38 39.9-72.9l92.6-248h-44.8L140.3 236l-37-116.2h-41l54.4 139.8a57.54 57.54 0 010 41.8c-5.5 14.2-15.4 30.9-42.3 35.9z",fill:"#fff"})),an||(an=l.createElement("circle",{cx:368.33,cy:124.68,r:97.34,transform:"rotate(-45 368.335 124.68)",fill:"#9fda4f"})),on||(on=l.createElement("path",{d:"M416.2 39.93l-95.74 169.51A97.34 97.34 0 10416.2 39.93z",fill:"#77b227"})),cn||(cn=l.createElement("path",{d:"M294.78 254.75l-.15-.08-.13-.07a63.6 63.6 0 00-62.56 110.76h.13a63.6 63.6 0 0062.71-110.67z",fill:"#fec228"})),ln||(ln=l.createElement("path",{d:"M294.5 254.59l-62.56 110.76a63.6 63.6 0 1062.56-110.76z",fill:"#f49a00"})),un||(un=l.createElement("path",{d:"M222.31 450.07A38.16 38.16 0 00203 416.83a38.18 38.18 0 1019.41 33.27z",fill:"#ff4e47"})),dn||(dn=l.createElement("path",{d:"M202.9 416.8l-37.54 66.48a38.17 38.17 0 0037.54-66.48z",fill:"#ed261f"})))}function gn(){return(gn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(this,arguments)}function vn(e){return l.createElement("svg",gn({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 1000 1000"},e),pn||(pn=l.createElement("path",{d:"M500 0C223.9 0 0 223.9 0 500s223.9 500 500 500 500-223.9 500-500S776.1 0 500 0zm87.2 412.4c0-21.9 4.3-40.2 13.1-54.4s24-27.1 45.9-38.2l10.1-4.9c17.8-9 22.4-16.7 22.4-26 0-11.1-9.5-19.1-25-19.1-18.3 0-32.2 9.5-41.8 28.9l-24.7-24.8c5.4-11.6 14.1-20.9 25.8-28.1a70.8 70.8 0 0138.9-11.1c17.8 0 33.3 4.6 45.9 14.2s19.4 22.7 19.4 39.4c0 26.6-15 42.9-43.1 57.3l-15.7 8c-16.8 8.5-25.1 16-27.4 29.4h85.4v35.4H587.2zm-82.1 373.3c-157.8 0-285.7-127.9-285.7-285.7s127.9-285.7 285.7-285.7a286.4 286.4 0 0155.9 5.5l-55.9 116.9c-90 0-163.3 73.3-163.3 163.3s73.3 163.3 163.3 163.3a162.8 162.8 0 00106.4-39.6l61.8 107.2a283.9 283.9 0 01-168.2 54.8zM705 704.1l-70.7-122.5H492.9l70.7-122.4H705l70.7 122.4z",fill:"#fff"})))}const jn=()=>{const e=ct("selectLink",[],"https://yoa.st/jj"),t=ct("selectUpsellSettingsAsProps"),r=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(Qe.sprintf)( /* translators: %1$s and %2$s expand to opening and closing <strong> tags. */ Object(Qe.__)("Be the first to get %1$snew features & tools%2$s, before everyone else. Get %1$s24/7 support%2$s and boost your website’s visibility.","wordpress-seo"),"<strong>","</strong>"),{strong:Object(s.createElement)("strong",null)}),[]),n=Object(Qe.sprintf)( /* translators: %s expands to "Yoast SEO" Premium */ Object(Qe.__)("Get %s","wordpress-seo"),"Yoast SEO Premium");return Object(s.createElement)("div",{className:"yst-p-6 yst-rounded-lg yst-text-white yst-bg-primary-500 yst-shadow"},Object(s.createElement)("figure",{className:"yst-logo-square yst-w-16 yst-h-16 yst-mt-[-2rem] yst-mx-auto yst-overflow-hidden yst-border yst-border-white yst-rounded-xl yst-rounded-br-none"},Object(s.createElement)(wn,null)),Object(s.createElement)(c.Title,{as:"h2",className:"yst-mt-6 yst-text-base yst-font-extrabold yst-text-white"},n),Object(s.createElement)("p",{className:"yst-mt-2"},r),Object(s.createElement)(c.Button,ze()({as:"a",variant:"upsell",href:e,target:"_blank",rel:"noopener",className:"yst-flex yst-justify-center yst-gap-2 yst-mt-4 yst-px-4 sm:yst-px-0"},t),n,Object(s.createElement)(Je.a,{className:"yst-w-4 yst-h-4"})),Object(s.createElement)("a",{className:"yst-block yst-mt-4 yst-no-underline",href:"https://www.g2.com/products/yoast-yoast/reviews",target:"_blank",rel:"noopener noreferrer"},Object(s.createElement)("span",{className:"yst-font-medium yst-text-white hover:yst-underline"},Object(Qe.__)("Read reviews from real users","wordpress-seo")),Object(s.createElement)("span",{className:"yst-flex yst-gap-2 yst-mt-2 yst-items-center"},Object(s.createElement)(vn,{className:"yst-w-5 yst-h-5"}),Object(s.createElement)("span",{className:"yst-flex yst-gap-1"},Object(s.createElement)(yn,{className:"yst-w-5 yst-h-5"}),Object(s.createElement)(yn,{className:"yst-w-5 yst-h-5"}),Object(s.createElement)(yn,{className:"yst-w-5 yst-h-5"}),Object(s.createElement)(yn,{className:"yst-w-5 yst-h-5"}),Object(s.createElement)(fn,{className:"yst-w-5 yst-h-5"})),Object(s.createElement)("span",{className:"yst-text-sm yst-font-semibold yst-text-white"},"4.6 / 5"))))};var En=()=>{const e=ct("selectLink",[],"https://yoa.st/3t6"),t=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(Qe.sprintf)( /* translators: %1$s expands to "Yoast SEO" academy, which is a clickable link. */ Object(Qe.__)("Want to learn SEO from Team Yoast? Check out our %1$s!","wordpress-seo"),"<link/>"),{link:Object(s.createElement)("a",{href:e,target:"_blank",rel:"noopener"},"Yoast SEO academy")}),[]);return Object(s.createElement)("div",{className:"xl:yst-max-w-3xl xl:yst-fixed xl:yst-right-8 xl:yst-w-[16rem]"},Object(s.createElement)("div",{className:"yst-grid yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 xl:yst-grid-cols-1 yst-gap-4"},Object(s.createElement)(jn,null),Object(s.createElement)("div",{className:"yst-p-6 yst-space-y-3 yst-rounded-lg yst-bg-white yst-shadow"},Object(s.createElement)(c.Title,{as:"h2",size:"4",className:"yst-text-base yst-text-primary-500"},Object(Qe.__)("Learn SEO","wordpress-seo")),Object(s.createElement)("p",null,t,Object(s.createElement)("br",null),Object(Qe.__)("We have both free and premium online courses to learn everything you need to know about SEO.","wordpress-seo")),Object(s.createElement)(c.Link,{href:e,className:"yst-block",target:"_blank",rel:"noopener"},Object(Qe.sprintf)( /* translators: %1$s expands to "Yoast SEO" academy */ Object(Qe.__)("Check out %1$s","wordpress-seo"),"Yoast SEO academy")))))};const xn=e=>{let{error:t}=e;const r=Object(s.useCallback)(()=>{var e,t;return null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.reload()},[]),n=ct("selectLink",[],"https://yoast.com/help/support");return Object(s.createElement)("div",{role:"alert",className:"yst-max-w-screen-sm yst-p-8 yst-space-y-4"},Object(s.createElement)(c.Title,null,Object(Qe.__)("Something went wrong. An unexpected error occurred.","wordpress-seo")),Object(s.createElement)("p",null,Object(Qe.__)("We're very sorry, but it seems like the following error has interrupted our application:","wordpress-seo")),Object(s.createElement)(c.Alert,{variant:"error"},(null==t?void 0:t.message)||"Undefined error message."),Object(s.createElement)("p",null,Object(Qe.__)("Unfortunately, this means that all your unsaved changes will be lost. You can try and refresh this page to resolve the problem. If this error still occurs, please get in touch with our support team, and we'll get you all the help you need!","wordpress-seo")),Object(s.createElement)("div",{className:"yst-flex yst-gap-2"},Object(s.createElement)(c.Button,{onClick:r},Object(Qe.__)("Refresh this page","wordpress-seo")),Object(s.createElement)(c.Button,{variant:"secondary",as:"a",href:n,target:"_blank",rel:"noopener"},Object(Qe.__)("Contact support","wordpress-seo"))))};xn.propTypes={error:rt.a.object.isRequired};var Sn,kn,Tn=xn;function Fn(){return(Fn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(this,arguments)}function Ln(e){return l.createElement("svg",Fn({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 842 224",className:"yoast-logo_svg__w-40"},e),Sn||(Sn=l.createElement("path",{d:"M166.55 54.09c-38.69 0-54.17 25.97-54.17 54.88s15.25 56.02 54.17 56.02 54.07-27.19 54-54.26c-.09-32.97-16.77-56.65-54-56.65zm-23.44 56.52c.94-38.69 30.66-38.65 40.59-24.79 9.05 12.63 10.9 55.81-17.14 55.5-12.92-.14-23.06-8.87-23.44-30.71zm337.25 27.55V82.11h20.04V57.78h-20.04V28.39h-30.95v29.39h-15.7v24.33h15.7v52.87c0 30.05 20.95 47.91 43.06 51.61l9.24-24.88c-12.89-1.63-21.23-11.27-21.35-23.54zm-156.15-8.87V87.16c0-1.54-.1-2.98-.25-4.39-2.68-34.04-51.02-33.97-88.46-20.9l10.82 21.78c24.38-11.58 38.97-8.59 44.07-2.89.13.15.26.29.38.45.01.02.03.04.04.06 2.6 3.51 1.98 9.05 1.98 13.41-31.86 0-65.77 4.23-65.77 39.17 0 26.56 33.28 43.65 68.06 18.33l5.16 12.45h29.81c-2.66-14.62-5.85-27.14-5.85-35.34zm-31.18-.23c-24.51 27.43-46.96 1.61-23.97-9.65 6.77-2.31 15.95-2.41 23.97-2.41v12.06zm78.75-44.17c0-10.38 16.61-15.23 42.82-3.27l9.06-22.01c-35.27-10.66-83.44-11.62-83.75 25.28-.15 17.68 11.19 27.19 27.52 33.26 11.31 4.2 27.64 6.38 27.59 15.39-.06 11.77-25.38 13.57-48.42-2.26l-9.31 23.87c31.43 15.64 89.87 16.08 89.56-23.12-.31-38.76-55.08-32.11-55.08-47.14zM99.3 1L54.44 125.61 32.95 58.32H1l35.78 91.89a33.49 33.49 0 010 24.33c-4 10.25-10.65 19.03-26.87 21.21v27.24c31.58 0 48.65-19.41 63.88-61.96L133.48 1H99.3zM598.64 139.05c0 8.17-2.96 14.58-8.87 19.23-5.91 4.65-14.07 6.98-24.47 6.98s-18.92-1.61-25.54-4.84v-14.2c4.19 1.97 8.65 3.52 13.37 4.65 4.72 1.13 9.11 1.7 13.18 1.7 5.95 0 10.35-1.13 13.18-3.39 2.83-2.26 4.25-5.3 4.25-9.11 0-3.43-1.3-6.35-3.9-8.74-2.6-2.39-7.97-5.22-16.1-8.48-8.39-3.39-14.3-7.27-17.74-11.63-3.44-4.36-5.16-9.59-5.16-15.71 0-7.67 2.72-13.7 8.18-18.1 5.45-4.4 12.77-6.6 21.95-6.6s17.57 1.93 26.29 5.78l-4.78 12.26c-8.18-3.43-15.47-5.15-21.89-5.15-4.87 0-8.55 1.06-11.07 3.17-2.52 2.12-3.77 4.91-3.77 8.39 0 2.39.5 4.43 1.51 6.13s2.66 3.3 4.97 4.81c2.3 1.51 6.46 3.5 12.45 5.97 6.75 2.81 11.7 5.43 14.85 7.86 3.15 2.43 5.45 5.18 6.92 8.23 1.46 3.06 2.2 6.66 2.2 10.81zm68.53 24.96h-52.02V72.12h52.02v12.7h-36.99v25.01h34.66v12.57h-34.66v28.85h36.99v12.76zm100.24-46.07c0 14.96-3.74 26.59-11.23 34.88-7.49 8.3-18.08 12.44-31.8 12.44s-24.54-4.12-31.99-12.35c-7.44-8.23-11.17-19.93-11.17-35.1s3.74-26.82 11.23-34.95c7.49-8.13 18.17-12.19 32.05-12.19s24.24 4.13 31.7 12.38c7.47 8.26 11.2 19.88 11.2 34.88zm-70.2 0c0 11.31 2.29 19.89 6.86 25.74 4.57 5.85 11.35 8.77 20.32 8.77s15.67-2.89 20.22-8.67c4.55-5.78 6.82-14.39 6.82-25.83s-2.25-19.82-6.76-25.64-11.23-8.74-20.16-8.74-15.82 2.91-20.41 8.74c-4.59 5.82-6.89 14.37-6.89 25.64z",fill:"#a61e69"})),kn||(kn=l.createElement("path",{fill:"#77b227",d:"M790.45 165.35l36.05-94.96H840l-36.02 94.96h-13.53z"})))}var Pn=r(22);const An=$t(St),Rn=$t(Et),In=e=>{let{name:t,label:r,singularLabel:n,hasArchive:a,hasSchemaArticleType:o}=e;const i=ct("selectReplacementVariablesFor",[t],t,"custom_post_type"),l=ct("selectUpsellSettingsAsProps"),u=ct("selectRecommendedReplacementVariablesFor",[t],t,"custom_post_type"),d=ct("selectReplacementVariablesFor",[t],t+"_archive","custom-post-type_archive"),p=ct("selectRecommendedReplacementVariablesFor",[t],t+"_archive","custom-post-type_archive"),m=ct("selectPreference",[],"isPremium"),b=ct("selectLink",[],"https://yoa.st/4cr"),f=ct("selectArticleTypeValuesFor",[t],t),h=ct("selectPageTypeValuesFor",[t],t),y=ct("selectPreference",[],"isWooCommerceActive"),O=ct("selectPreference",[],"hasWooCommerceShopPage"),w=ct("selectPreference",[],"editWooCommerceShopPageUrl"),_=ct("selectPreference",[],"wooCommerceShopPageSettingUrl"),g=ct("selectPreference",[],"userLocale"),v=ct("selectLink",[],"https://yoa.st/show-x"),j=ct("selectLink",[],"https://yoa.st/4e0"),E=ct("selectLink",[],"https://yoa.st/get-custom-fields"),x=ct("selectLink",[],"https://yoa.st/post-type-schema"),S=Object(s.useMemo)(()=>vr(r,g),[r,g]),k=Object(s.useMemo)(()=>vr(n,g),[n,g]),T=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(Qe.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ Object(Qe.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),[]),F=Object(s.useMemo)(()=>y&&"product"===t,[t,y]),L=Object(s.useMemo)(()=>O?Object(Pn.a)(Object(Qe.sprintf)( /* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ Object(Qe.__)("You can edit the SEO metadata for this custom type on the %1$sShop page%2$s.","wordpress-seo"),"<a>","</a>"),w,"link-edit-woocommerce-shop-page"):Object(Pn.a)(Object(Qe.sprintf)( /* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ Object(Qe.__)("You haven't set a Shop page in your WooCommerce settings. %1$sPlease do this first%2$s.","wordpress-seo"),"<a>","</a>"),_,"link-woocommerce-shop-page-setting"),[O,_,w]),P=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(Qe.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <em> tags. Object(Qe.__)("You can add multiple custom fields and separate them by using %1$senter%2$s or %1$scomma%2$s.","wordpress-seo"),"<em>","</em>"),{em:Object(s.createElement)("em",null)}),[]),A=Object(s.useMemo)(()=>Object(Pn.a)(Object(Qe.sprintf)( // translators: %1$s expands to the post type plural, e.g. posts. %2$s and %3$s expand to opening and closing anchor tag. %4$s expands to "Yoast SEO". Object(Qe.__)("Determine how your %1$s should be described by default in %2$syour site's Schema.org markup%3$s. You can always change the settings for individual %1$s in the %4$s sidebar.","wordpress-seo"),S,"<a>","</a>","Yoast SEO"),x,"link-post-type-schema"),[S,x]),{values:R}=W(),{opengraph:I}=R.wpseo_social,{"breadcrumbs-enable":M}=R.wpseo_titles;return Object(s.createElement)(Yt,{title:r,description:Object(Qe.sprintf)( /* translators: %1$s expands to the post type plural, e.g. posts. */ Object(Qe.__)("Determine how your %1$s should look in search engines and on social media.","wordpress-seo"),S)},Object(s.createElement)(ft,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(ut,{title:Object(Qe.__)("Search appearance","wordpress-seo"),description:Object(Qe.sprintf)( // translators: %1$s expands to the post type plural, e.g. posts. %2$s expands to "Yoast SEO". Object(Qe.__)("Determine what your %1$s should look like in the search results by default. You can always customize the settings for individual %1$s in the %2$s sidebar.","wordpress-seo"),S,"Yoast SEO")},Object(s.createElement)(yt,{name:"wpseo_titles.noindex-"+t,id:"input-wpseo_titles-noindex-"+t,label:Object(Qe.sprintf)(// translators: %1$s expands to the post type plural, e.g. posts. Object(Qe.__)("Show %1$s in search results","wordpress-seo"),S),description:Object(s.createElement)(s.Fragment,null,Object(Qe.sprintf)(// translators: %1$s expands to the post type plural, e.g. posts. Object(Qe.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),S)," ",Object(s.createElement)(c.Link,{href:v,target:"_blank",rel:"noopener"},Object(Qe.__)("Read more about the search results settings","wordpress-seo")),"."),className:"yst-max-w-sm"}),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(Et,{type:"title",name:"wpseo_titles.title-"+t,fieldId:"input-wpseo_titles-title-"+t,label:Object(Qe.__)("SEO title","wordpress-seo"),replacementVariables:i,recommendedReplacementVariables:u}),Object(s.createElement)(Et,{type:"description",name:"wpseo_titles.metadesc-"+t,fieldId:"input-wpseo_titles-metadesc-"+t,label:Object(Qe.__)("Meta description","wordpress-seo"),replacementVariables:i,recommendedReplacementVariables:u,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(s.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},Object(s.createElement)("span",null,Object(Qe.__)("Social appearance","wordpress-seo")),m&&Object(s.createElement)(c.Badge,{variant:"upsell"},"Premium")),description:Object(Qe.sprintf)( // translators: %1$s expands to the post type plural, e.g. posts. %2$s expands to "Yoast SEO". Object(Qe.__)("Determine how your %1$s should look on social media by default. You can always customize the settings for individual %1$s in the %2$s sidebar.","wordpress-seo"),S,"Yoast SEO")},Object(s.createElement)(c.FeatureUpsell,ze()({shouldUpsell:!m,variant:"card",cardLink:j,cardText:Object(Qe.sprintf)( /* translators: %1$s expands to Premium. */ Object(Qe.__)("Unlock with %1$s","wordpress-seo"),"Premium")},l),Object(s.createElement)(qt,{isEnabled:!m||I}),Object(s.createElement)(gt,{id:"wpseo_titles-social-image-"+t,label:Object(Qe.__)("Social image","wordpress-seo"),previewLabel:T,mediaUrlName:"wpseo_titles.social-image-url-"+t,mediaIdName:"wpseo_titles.social-image-id-"+t,disabled:!I,isDummy:!m}),Object(s.createElement)(Rn,{type:"title",name:"wpseo_titles.social-title-"+t,fieldId:"input-wpseo_titles-social-title-"+t,label:Object(Qe.__)("Social title","wordpress-seo"),replacementVariables:i,recommendedReplacementVariables:u,disabled:!I,isDummy:!m}),Object(s.createElement)(Rn,{type:"description",name:"wpseo_titles.social-description-"+t,fieldId:"input-wpseo_titles-social-description-"+t,label:Object(Qe.__)("Social description","wordpress-seo"),replacementVariables:i,recommendedReplacementVariables:u,className:"yst-replacevar--description",disabled:!I,isDummy:!m}))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(Qe.__)("Schema","wordpress-seo"),description:A},Object(s.createElement)(Ct,{as:c.SelectField,type:"select",name:"wpseo_titles.schema-page-type-"+t,id:"input-wpseo_titles-schema-page-type-"+t,label:Object(Qe.__)("Page type","wordpress-seo"),options:h}),o&&Object(s.createElement)(Ct,{as:c.SelectField,type:"select",name:"wpseo_titles.schema-article-type-"+t,id:"input-wpseo_titles-schema-article-type-"+t,label:Object(Qe.__)("Article type","wordpress-seo"),options:f})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(Qe.__)("Additional settings","wordpress-seo")},Object(s.createElement)(Ct,{as:c.ToggleField,type:"checkbox",name:"wpseo_titles.display-metabox-pt-"+t,id:"input-wpseo_titles-display-metabox-pt-"+t,label:Object(Qe.__)("Enable SEO controls and assessments","wordpress-seo"),description:Object(Qe.__)("Show or hide our tools and controls in the content editor.","wordpress-seo"),className:"yst-max-w-sm"}),Object(s.createElement)(c.FeatureUpsell,ze()({shouldUpsell:!m,variant:"card",cardLink:E,cardText:Object(Qe.sprintf)( /* translators: %1$s expands to Premium. */ Object(Qe.__)("Unlock with %1$s","wordpress-seo"),"Premium")},l),Object(s.createElement)(An,{name:"wpseo_titles.page-analyse-extra-"+t,id:"input-wpseo_titles-page-analyse-extra-"+t,label:Object(Qe.__)("Add custom fields to page analysis","wordpress-seo"),labelSuffix:m&&Object(s.createElement)(c.Badge,{className:"yst-ml-1.5",size:"small",variant:"upsell"},"Premium"),description:Object(s.createElement)(s.Fragment,null,P,Object(s.createElement)("br",null),Object(s.createElement)(c.Link,{id:"link-custom-fields-page-analysis-"+t,href:b,target:"_blank",rel:"noopener"},Object(Qe.__)("Read more about our custom field analysis","wordpress-seo")),"."),isDummy:!m}))),a&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)("hr",{className:"yst-my-16"}),Object(s.createElement)("div",{className:"yst-mb-8"},Object(s.createElement)(c.Title,{as:"h2",className:"yst-mb-2"},Object(Qe.sprintf)(// translators: %1$s expands to the post type plural, e.g. Posts. Object(Qe.__)("%1$s archive","wordpress-seo"),r)),Object(s.createElement)("p",{className:"yst-text-tiny"},F&&L,!F&&Object(Qe.sprintf)(// translators: %1$s expands to the post type singular, e.g. post. Object(Qe.__)("These settings are specifically for optimizing your %1$s archive.","wordpress-seo"),k))),!F&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(Qe.__)("Search appearance","wordpress-seo"),description:Object(Qe.sprintf)(// translators: %1$s expands to the post type plural, e.g. posts. Object(Qe.__)("Determine how your %1$s archive should look in search engines.","wordpress-seo"),S)},Object(s.createElement)(yt,{name:"wpseo_titles.noindex-ptarchive-"+t,id:"input-wpseo_titles-noindex-ptarchive-"+t,label:Object(Qe.sprintf)(// translators: %1$s expands to the post type plural, e.g. posts. Object(Qe.__)("Show the archive for %1$s in search results","wordpress-seo"),S),description:Object(Qe.sprintf)(// translators: %1$s expands to the post type plural, e.g. posts. Object(Qe.__)("Disabling this means that the archive for %1$s will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),S),className:"yst-max-w-sm"}),Object(s.createElement)(Et,{type:"title",name:"wpseo_titles.title-ptarchive-"+t,fieldId:"input-wpseo_titles-title-ptarchive-"+t,label:Object(Qe.__)("SEO title","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:p}),Object(s.createElement)(Et,{type:"description",name:"wpseo_titles.metadesc-ptarchive-"+t,fieldId:"input-wpseo_titles-metadesc-ptarchive-"+t,label:Object(Qe.__)("Meta description","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:p,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(s.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},Object(s.createElement)("span",null,Object(Qe.__)("Social appearance","wordpress-seo")),m&&Object(s.createElement)(c.Badge,{variant:"upsell"},"Premium")),description:Object(Qe.sprintf)(// translators: %1$s expands to the post type plural, e.g. posts. Object(Qe.__)("Determine how your %1$s archive should look on social media.","wordpress-seo"),S)},Object(s.createElement)(c.FeatureUpsell,ze()({shouldUpsell:!m,variant:"card",cardLink:j,cardText:Object(Qe.sprintf)(// translators: %1$s expands to Premium. Object(Qe.__)("Unlock with %1$s","wordpress-seo"),"Premium")},l),Object(s.createElement)(gt,{id:"wpseo_titles-social-image-ptarchive-"+t,label:Object(Qe.__)("Social image","wordpress-seo"),previewLabel:T,mediaUrlName:"wpseo_titles.social-image-url-ptarchive-"+t,mediaIdName:"wpseo_titles.social-image-id-ptarchive-"+t,disabled:!I,isDummy:!m}),Object(s.createElement)(Rn,{type:"title",name:"wpseo_titles.social-title-ptarchive-"+t,fieldId:"input-wpseo_titles-social-title-ptarchive-"+t,label:Object(Qe.__)("Social title","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:p,disabled:!I,isDummy:!m}),Object(s.createElement)(Rn,{type:"description",name:"wpseo_titles.social-description-ptarchive-"+t,fieldId:"input-wpseo_titles-social-description-ptarchive-"+t,label:Object(Qe.__)("Social description","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:p,className:"yst-replacevar--description",disabled:!I,isDummy:!m}))),M&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(Qe.__)("Additional settings","wordpress-seo")},Object(s.createElement)(Z,{as:c.TextField,type:"text",name:"wpseo_titles.bctitle-ptarchive-"+t,id:"input-wpseo_titles-bctitle-ptarchive-"+t,label:Object(Qe.__)("Breadcrumbs title","wordpress-seo")}))))))))};In.propTypes={name:rt.a.string.isRequired,label:rt.a.string.isRequired,singularLabel:rt.a.string.isRequired,hasArchive:rt.a.bool.isRequired,hasSchemaArticleType:rt.a.bool.isRequired};var Mn=In;const Cn=$t(Et),Nn=e=>{let{name:t,label:r,postTypes:n}=e;const a=ct("selectPostTypes",[n],n),o=ct("selectUpsellSettingsAsProps"),i=ct("selectReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),l=ct("selectRecommendedReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),u=ct("selectLink",[],"https://yoa.st/show-x"),d=ct("selectPreference",[],"isPremium"),p=ct("selectPreference",[],"userLocale"),m=ct("selectLink",[],"https://yoa.st/4e0"),b=Object(s.useMemo)(()=>vr(r,p),[r,p]),f=Object(s.useMemo)(()=>Object(oe.values)(a),[a]),h=Object(s.useMemo)(()=>Object(oe.initial)(f),[f]),y=Object(s.useMemo)(()=>Object(oe.last)(f),[f]),O=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(Qe.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ Object(Qe.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),[]),w=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(Qe.sprintf)( /* translators: %s expands to <code>/category/</code> */ Object(Qe.__)("Category URLs in WordPress contain a prefix, usually %s. Show or hide that prefix in category URLs.","wordpress-seo"),"<code />"),{code:Object(s.createElement)(c.Code,null,"/category/")}),[]),_=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(Qe.sprintf)( /** * translators: %1$s and %2$s expand to post type plurals in code blocks, e.g. Posts Pages and Custom Post Type. */ Object(Qe.__)("This taxonomy is used for %1$s and %2$s.","wordpress-seo"),"<code1 />","<code2 />"),{code1:Object(s.createElement)(s.Fragment,null,Object(oe.map)(h,(e,t)=>Object(s.createElement)(s.Fragment,null,Object(s.createElement)(c.Code,{key:null==e?void 0:e.name},null==e?void 0:e.label),t<h.length-1&&" "))),code2:Object(s.createElement)(c.Code,null,null==y?void 0:y.label)}),[r,h,y]),g=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(Qe.sprintf)( /** * translators: %1$s expands to the post type plural in code block, e.g. Posts. */ Object(Qe.__)("This taxonomy is used for %2$s.","wordpress-seo"),r,"<code />"),{code:Object(s.createElement)(c.Code,null,null==y?void 0:y.label)}),[r,y]),{values:v}=W(),{opengraph:j}=v.wpseo_social;return Object(s.createElement)(Yt,{title:r,description:Object(s.createElement)(s.Fragment,null,Object(Qe.sprintf)( /* translators: %1$s expands to the taxonomy plural, e.g. categories. */ Object(Qe.__)("Determine how your %1$s should look in search engines and on social media.","wordpress-seo"),b),!Object(oe.isEmpty)(f)&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)("br",null),h.length>1?_:g))},Object(s.createElement)(ft,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(ut,{title:Object(Qe.__)("Search appearance","wordpress-seo"),description:Object(Qe.sprintf)( // translators: %1$s expands to the post type plural, e.g. Posts. %2$s expands to "Yoast SEO". Object(Qe.__)("Determine what your %1$s should look like in the search results by default. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),b,"Yoast SEO")},Object(s.createElement)(yt,{name:"wpseo_titles.noindex-tax-"+t,id:"input-wpseo_titles-noindex-tax-"+t,label:Object(Qe.sprintf)(// translators: %1$s expands to the taxonomy plural, e.g. Categories. Object(Qe.__)("Show %1$s in search results","wordpress-seo"),b),description:Object(s.createElement)(s.Fragment,null,Object(Qe.sprintf)(// translators: %1$s expands to the taxonomy plural, e.g. Categories. Object(Qe.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),b)," ",Object(s.createElement)(c.Link,{href:u,target:"_blank",rel:"noopener"},Object(Qe.__)("Read more about the search results settings","wordpress-seo")),"."),className:"yst-max-w-sm"}),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(Et,{type:"title",name:"wpseo_titles.title-tax-"+t,fieldId:"input-wpseo_titles-title-tax-"+t,label:Object(Qe.__)("SEO title","wordpress-seo"),replacementVariables:i,recommendedReplacementVariables:l}),Object(s.createElement)(Et,{type:"description",name:"wpseo_titles.metadesc-tax-"+t,fieldId:"input-wpseo_titles-metadesc-tax-"+t,label:Object(Qe.__)("Meta description","wordpress-seo"),replacementVariables:i,recommendedReplacementVariables:l,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(s.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},Object(s.createElement)("span",null,Object(Qe.__)("Social appearance","wordpress-seo")),d&&Object(s.createElement)(c.Badge,{variant:"upsell"},"Premium")),description:Object(Qe.sprintf)( // translators: %1$s expands to the taxonomy plural, e.g. Categories. %2$s expand to Yoast SEO. Object(Qe.__)("Determine how your %1$s should look on social media by default. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),b,"Yoast SEO")},Object(s.createElement)(c.FeatureUpsell,ze()({shouldUpsell:!d,variant:"card",cardLink:m,cardText:Object(Qe.sprintf)( /* translators: %1$s expands to Premium. */ Object(Qe.__)("Unlock with %1$s","wordpress-seo"),"Premium")},o),Object(s.createElement)(qt,{isEnabled:!d||j}),Object(s.createElement)(gt,{id:"wpseo_titles-social-image-tax-"+t,label:Object(Qe.__)("Social image","wordpress-seo"),previewLabel:O,mediaUrlName:"wpseo_titles.social-image-url-tax-"+t,mediaIdName:"wpseo_titles.social-image-id-tax-"+t,disabled:!j,isDummy:!d}),Object(s.createElement)(Cn,{type:"title",name:"wpseo_titles.social-title-tax-"+t,fieldId:"input-wpseo_titles-social-title-tax-"+t,label:Object(Qe.__)("Social title","wordpress-seo"),replacementVariables:i,recommendedReplacementVariables:l,disabled:!j,isDummy:!d}),Object(s.createElement)(Cn,{type:"description",name:"wpseo_titles.social-description-tax-"+t,fieldId:"input-wpseo_titles-social-description-tax-"+t,label:Object(Qe.__)("Social description","wordpress-seo"),replacementVariables:i,recommendedReplacementVariables:l,className:"yst-replacevar--description",disabled:!j,isDummy:!d}))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(Qe.__)("Additional settings","wordpress-seo")},Object(s.createElement)(Ct,{as:c.ToggleField,type:"checkbox",name:"wpseo_titles.display-metabox-tax-"+t,id:"input-wpseo_titles-display-metabox-tax-"+t,label:Object(Qe.__)("Enable SEO controls and assessments","wordpress-seo"),description:Object(Qe.__)("Show or hide our tools and controls in the content editor.","wordpress-seo"),className:"yst-max-w-sm"}),"category"===t&&Object(s.createElement)(yt,{name:"wpseo_titles.stripcategorybase",id:"input-wpseo_titles-stripcategorybase",label:Object(Qe.__)("Show the categories prefix in the slug","wordpress-seo"),description:w,className:"yst-max-w-sm"})))))};Nn.propTypes={name:rt.a.string.isRequired,label:rt.a.string.isRequired,postTypes:rt.a.arrayOf(rt.a.string).isRequired};var $n=Nn,Dn=r(195),Un=r.n(Dn),Vn=l.forwardRef((function(e,t){return l.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),l.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"}))})),Bn=r(198),zn=r.n(Bn),Wn=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return Object(s.useMemo)(()=>{const t={role:"img","aria-hidden":"true"};return null!==e&&(t.focusable=e?"true":"false"),t},[e])};const qn={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"}},Hn=e=>{let{variant:t,size:r,className:n}=e;const a=Wn();return Object(s.createElement)("svg",Un()({xmlns:"http://www.w3.org/2000/svg/",fill:"none",viewBox:"0 0 24 24",className:zn()("yst-animate-spin",qn.variant[t],qn.size[r],n)},a),Object(s.createElement)("circle",{className:"yst-opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),Object(s.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"}))};Hn.propTypes={variant:rt.a.oneOf(Object(oe.keys)(qn.variant)),size:rt.a.oneOf(Object(oe.keys)(qn.size)),className:rt.a.string},Hn.defaultProps={variant:"default",size:"4",className:""};var Gn=Hn;const Yn={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"}},Kn=e=>{let{children:t,as:r,type:n,variant:a,size:o,isLoading:i,disabled:c,className:l,...u}=e;return Object(s.createElement)(r,Un()({type:n||"button"===r&&"button"||void 0,disabled:c,className:zn()("yst-button",Yn.variant[a],Yn.size[o],i&&"yst-cursor-wait",c&&"yst-button--disabled",l)},u),i&&Object(s.createElement)(Gn,{size:"small"===o?"3":"4",className:"yst-mr-2"}),t)};Kn.propTypes={children:rt.a.node.isRequired,as:rt.a.elementType,type:rt.a.oneOf(["button","submit"]),variant:rt.a.oneOf(Object(oe.keys)(Yn.variant)),size:rt.a.oneOf(Object(oe.keys)(Yn.size)),isLoading:rt.a.bool,disabled:rt.a.bool,className:rt.a.string},Kn.defaultProps={as:"button",type:void 0,variant:"primary",size:"default",isLoading:!1,disabled:!1,className:""};var Xn=Kn;const Jn={variant:{default:"yst-feature-upsell--default",card:"yst-feature-upsell--card"}},Qn=e=>{let{children:t,shouldUpsell:r=!0,className:n="",variant:a="card",cardLink:o="",cardText:i="",...c}=e;const l=Wn();return r?Object(s.createElement)("div",{className:zn()("yst-feature-upsell",Jn.variant[a],n)},Object(s.createElement)("div",{className:"yst-space-y-8 yst-grayscale"},t),Object(s.createElement)("div",{className:"yst-absolute yst-inset-0 yst-ring-1 yst-ring-black yst-ring-opacity-5 yst-shadow-lg yst-rounded-md"}),Object(s.createElement)("div",{className:"yst-absolute yst-inset-0 yst-flex yst-items-center yst-justify-center"},Object(s.createElement)(Xn,Un()({as:"a",className:"yst-gap-2 yst-shadow-lg yst-shadow-amber-700/30",variant:"upsell",href:o,target:"_blank",rel:"noopener"},c),Object(s.createElement)(Vn,Un()({className:"yst-w-5 yst-h-5 yst--ml-1 yst-shrink-0"},l)),i))):t};Qn.propTypes={children:rt.a.node.isRequired,shouldUpsell:rt.a.bool,className:rt.a.string,variant:rt.a.oneOf(Object.keys(Jn.variant)),cardLink:rt.a.string,cardText:rt.a.string};var Zn=Qn;const ea=$t(Et);var ta=()=>{const e=Object(Qe.__)("Author archives","wordpress-seo"),t=Object(Qe.__)("Author archive","wordpress-seo"),r=ct("selectPreference",[],"userLocale"),n=Object(s.useMemo)(()=>vr(e,r),[e,r]),a=Object(s.useMemo)(()=>vr(t,r),[t,r]),o=ct("selectUpsellSettingsAsProps"),i=ct("selectReplacementVariablesFor",[],"author_archives","custom-post-type_archive"),l=ct("selectRecommendedReplacementVariablesFor",[],"author_archives","custom-post-type_archive"),u=ct("selectLink",[],"https://yoa.st/duplicate-content"),d=ct("selectLink",[],"https://yoa.st/show-x"),p=ct("selectPreference",[],"isPremium"),m=ct("selectExampleUrl",[],"/author/example/"),b=ct("selectLink",[],"https://yoa.st/4e0"),f=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(Qe.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ Object(Qe.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),[]),h=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(Qe.sprintf)( /** * translators: %1$s expands to "author archive". * %2$s expands to an example URL, e.g. https://example.com/author/example/. * %3$s and %4$s expand to opening and closing <a> tags. */ Object(Qe.__)("If you're running a one author blog, the %1$s (e.g. %2$s) will be exactly the same as your homepage. This is what's called a %3$sduplicate content problem%4$s. If this is the case on your site, you can choose to either disable it (which makes it redirect to the homepage), or prevent it from showing up in search results.","wordpress-seo"),a,"<exampleUrl />","<a>","</a>"),{exampleUrl:Object(s.createElement)(c.Code,null,m),a:Object(s.createElement)("a",{href:u,target:"_blank",rel:"noopener"})}),[]),{values:y}=W(),{opengraph:O}=y.wpseo_social,{"disable-author":w,"noindex-author-wpseo":_,"noindex-author-noposts-wpseo":g}=y.wpseo_titles;return Object(s.createElement)(Yt,{title:e,description:h},Object(s.createElement)(ft,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(yt,{name:"wpseo_titles.disable-author",id:"input-wpseo_titles-disable-author",label:Object(Qe.sprintf)(// translators: %1$s expands to "author archives". Object(Qe.__)("Enable %1$s","wordpress-seo"),n),description:Object(Qe.sprintf)(// translators: %1$s expands to "author archive". Object(Qe.__)("Disabling this will redirect the %1$s to your site's homepage.","wordpress-seo"),a),className:"yst-max-w-sm"}),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(Qe.__)("Search appearance","wordpress-seo"),description:Object(Qe.sprintf)(// translators: %1$s expands to "author archives". Object(Qe.__)("Determine how your %1$s should look in search engines.","wordpress-seo"),n)},Object(s.createElement)(yt,{name:"wpseo_titles.noindex-author-wpseo",id:"input-wpseo_titles-noindex-author-wpseo",label:Object(Qe.sprintf)(// translators: %1$s expands to "author archives". Object(Qe.__)("Show %1$s in search results","wordpress-seo"),n),description:Object(s.createElement)(s.Fragment,null,Object(Qe.sprintf)(// translators: %1$s expands to "author archives". Object(Qe.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),n)," ",Object(s.createElement)(c.Link,{href:d,target:"_blank",rel:"noopener"},Object(Qe.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:w,checked:!w&&!_,className:"yst-max-w-sm"}),Object(s.createElement)(yt,{name:"wpseo_titles.noindex-author-noposts-wpseo",id:"input-wpseo_titles-noindex-author-noposts-wpseo",label:Object(Qe.sprintf)(// translators: %1$s expands to "author archives". Object(Qe.__)("Show %1$s without posts in search results","wordpress-seo"),n),description:Object(Qe.sprintf)(// translators: %1$s expands to "author archives". Object(Qe.__)("Disabling this means that %1$s without any posts will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),n),checked:!w&&!_&&!g,disabled:w||_,className:"yst-max-w-sm"}),Object(s.createElement)(Et,{type:"title",name:"wpseo_titles.title-author-wpseo",fieldId:"input-wpseo_titles-title-author-wpseo",label:Object(Qe.__)("SEO title","wordpress-seo"),replacementVariables:i,recommendedReplacementVariables:l,disabled:w}),Object(s.createElement)(Et,{type:"description",name:"wpseo_titles.metadesc-author-wpseo",fieldId:"input-wpseo_titles-metadesc-author-wpseo",label:Object(Qe.__)("Meta description","wordpress-seo"),replacementVariables:i,recommendedReplacementVariables:l,disabled:w,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(s.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},Object(s.createElement)("span",null,Object(Qe.__)("Social appearance","wordpress-seo")),p&&Object(s.createElement)(c.Badge,{variant:"upsell"},"Premium")),description:Object(Qe.sprintf)(// translators: %1$s expands to "author archives". Object(Qe.__)("Determine how your %1$s should look on social media by default.","wordpress-seo"),n)},Object(s.createElement)(Zn,ze()({shouldUpsell:!p,variant:"card",cardLink:b,cardText:Object(Qe.sprintf)( /* translators: %1$s expands to Premium. */ Object(Qe.__)("Unlock with %1$s","wordpress-seo"),"Premium")},o),Object(s.createElement)(qt,{isEnabled:!p||O}),Object(s.createElement)(gt,{id:"wpseo_titles-social-image-author-wpseo",label:Object(Qe.__)("Social image","wordpress-seo"),previewLabel:f,mediaUrlName:"wpseo_titles.social-image-url-author-wpseo",mediaIdName:"wpseo_titles.social-image-id-author-wpseo",disabled:w||!O,isDummy:!p}),Object(s.createElement)(ea,{type:"title",name:"wpseo_titles.social-title-author-wpseo",fieldId:"input-wpseo_titles-social-title-author-wpseo",label:Object(Qe.__)("Social title","wordpress-seo"),replacementVariables:i,recommendedReplacementVariables:l,disabled:w||!O,isDummy:!p}),Object(s.createElement)(ea,{type:"description",name:"wpseo_titles.social-description-author-wpseo",fieldId:"input-wpseo_titles-social-description-author-wpseo",label:Object(Qe.__)("Social description","wordpress-seo"),replacementVariables:i,recommendedReplacementVariables:l,className:"yst-replacevar--description",disabled:w||!O,isDummy:!p}))))))},ra=()=>{const e=ct("selectLink",[],"https://yoa.st/header-breadcrumbs"),t=ct("selectLink",[],"https://yoa.st/breadcrumbs"),r=ct("selectBreadcrumbsForPostTypes"),n=ct("selectBreadcrumbsForTaxonomies"),a=ct("selectHasPageForPosts");return Object(s.createElement)(Yt,{title:Object(Qe.__)("Breadcrumbs","wordpress-seo"),description:Object(Pn.a)(Object(Qe.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <a> tags. Object(Qe.__)("Configure the appearance and behavior of %1$syour breadcrumbs%2$s.","wordpress-seo"),"<a>","</a>"),e,"link-header-breadcrumbs")},Object(s.createElement)(ft,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(ut,{title:Object(Qe.__)("Breadcrumb appearance","wordpress-seo"),description:Object(Qe.__)("Choose the general appearance of your breadcrumbs.","wordpress-seo")},Object(s.createElement)(Z,{as:c.TextField,type:"text",name:"wpseo_titles.breadcrumbs-sep",id:"input-wpseo_titles-breadcrumbs-sep",label:Object(Qe.__)("Separator between breadcrumbs","wordpress-seo"),placeholder:Object(Qe.__)("Add separator","wordpress-seo")}),Object(s.createElement)(Z,{as:c.TextField,type:"text",name:"wpseo_titles.breadcrumbs-home",id:"input-wpseo_titles-breadcrumbs-home",label:Object(Qe.__)("Anchor text for the Homepage","wordpress-seo"),placeholder:Object(Qe.__)("Add anchor text","wordpress-seo")}),Object(s.createElement)(Z,{as:c.TextField,type:"text",name:"wpseo_titles.breadcrumbs-prefix",id:"input-wpseo_titles-breadcrumbs-prefix",label:Object(Qe.__)("Prefix for the breadcrumb path","wordpress-seo"),placeholder:Object(Qe.__)("Add prefix","wordpress-seo")}),Object(s.createElement)(Z,{as:c.TextField,type:"text",name:"wpseo_titles.breadcrumbs-archiveprefix",id:"input-wpseo_titles-breadcrumbs-archiveprefix",label:Object(Qe.__)("Prefix for archive breadcrumbs","wordpress-seo"),placeholder:Object(Qe.__)("Add prefix","wordpress-seo")}),Object(s.createElement)(Z,{as:c.TextField,type:"text",name:"wpseo_titles.breadcrumbs-searchprefix",id:"input-wpseo_titles-breadcrumbs-searchprefix",label:Object(Qe.__)("Prefix for search page breadcrumbs","wordpress-seo"),placeholder:Object(Qe.__)("Add prefix","wordpress-seo")}),Object(s.createElement)(Z,{as:c.TextField,type:"text",name:"wpseo_titles.breadcrumbs-404crumb",id:"input-wpseo_titles-breadcrumbs-404crumb",label:Object(Qe.__)("Breadcrumb for 404 page","wordpress-seo"),placeholder:Object(Qe.__)("Add separator","wordpress-seo")}),a&&Object(s.createElement)(Ct,{as:c.ToggleField,type:"checkbox",name:"wpseo_titles.breadcrumbs-display-blog-page",id:"input-wpseo_titles-breadcrumbs-display-blog-page",label:Object(Qe.__)("Show blog page in breadcrumbs","wordpress-seo"),className:"yst-max-w-sm"}),Object(s.createElement)(Ct,{as:c.ToggleField,type:"checkbox",name:"wpseo_titles.breadcrumbs-boldlast",id:"input-wpseo_titles-breadcrumbs-boldlast",label:Object(Qe.__)("Bold the last page","wordpress-seo"),className:"yst-max-w-sm"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(Qe.__)("Breadcrumbs for post types","wordpress-seo"),description:Object(Qe.__)("Choose which Taxonomy you wish to show in the breadcrumbs for Post types.","wordpress-seo")},Object(oe.map)(r,(e,t)=>Object(s.createElement)(Ct,{key:t,as:c.SelectField,name:`wpseo_titles.post_types-${t}-maintax`,id:`input-wpseo_titles-post_types-${t}-maintax`,label:Object(s.createElement)(s.Fragment,null,e.label,Object(s.createElement)(c.Code,{className:"yst-ml-2"},t)),options:e.options}))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(Qe.__)("Breadcrumbs for taxonomies","wordpress-seo"),description:Object(Qe.__)("Choose which Post type you wish to show in the breadcrumbs for Taxonomies.","wordpress-seo")},Object(oe.map)(n,e=>Object(s.createElement)(Ct,{key:e.name,as:c.SelectField,name:`wpseo_titles.taxonomy-${e.name}-ptparent`,id:`input-wpseo_titles-taxonomy-${e.name}-ptparent`,label:Object(s.createElement)(s.Fragment,null,e.label,Object(s.createElement)(c.Code,{className:"yst-ml-2"},e.name)),options:e.options}))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(Qe.__)("How to insert breadcrumbs in your theme","wordpress-seo")},Object(s.createElement)("p",null,Object(Pn.a)(Object(Qe.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <a> tags. %3$s expands to "Yoast SEO". Object(Qe.__)("Not sure how to implement the %3$s breadcrumbs on your site? Read %1$sour help article on breadcrumbs implementation%2$s.","wordpress-seo"),"<a>","</a>","Yoast SEO"),t,"link-breadcrumbs-help-article")),Object(s.createElement)("p",null,Object(Qe.__)("You can always choose to enable/disable them for your theme below. This setting will not apply to breadcrumbs inserted through a widget, a block or a shortcode.","wordpress-seo")),Object(s.createElement)(Ct,{as:c.ToggleField,type:"checkbox",name:"wpseo_titles.breadcrumbs-enable",id:"input-wpseo_titles-breadcrumbs-enable",label:Object(Qe.__)("Enable breadcrumbs for your theme","wordpress-seo"),className:"yst-max-w-sm"})))))},sa=r(276);const na=$t(Z),aa=$t(St),oa=$t(Nt(Ct));var ia=()=>{const e=ct("selectUpsellSettingsAsProps"),t=ct("selectLink",[],"https://yoa.st/crawl-settings"),r=ct("selectLink",[],"https://yoa.st/permalink-cleanup"),n=ct("selectPreference",[],"isPremium"),a=ct("selectLink",[],"https://yoa.st/crawl-settings-upsell"),o=Object(c.useSvgAria)(),i=Object(s.useMemo)(()=>Object(Qe.sprintf)( /* translators: %1$s expands to an example within a code tag. */ Object(Qe.__)("E.g., %1$s","wordpress-seo"),"<code/>"),[]),l=Object(s.useMemo)(()=>Object(Qe.sprintf)( /* translators: %1$s and %2$s both expand to an example within a code tag. */ Object(Qe.__)("E.g., %1$s and %2$s","wordpress-seo"),"<code1/>","<code2/>"),[]),u=Object(s.useMemo)(()=>({page:Object(s.createInterpolateElement)(Object(Qe.sprintf)( /* translators: %1$s and %2$s are replaced by opening and closing <a> tags. */ Object(Qe.__)("Make your site more efficient and more environmentally friendly by preventing search engines from crawling things they don’t need to, and by removing unused WordPress features. %1$sLearn more about crawl settings and how they could benefit your site%2$s.","wordpress-seo"),"<a>","</a>"),{a:Object(s.createElement)("a",{id:"link-crawl-settings-info",href:t,target:"_blank",rel:"noopener noreferrer"})}),removeUnwantedMetadata:Object(s.createInterpolateElement)(Object(Qe.sprintf)( /* translators: %1$s expands to `<head>` within a <code> tag. */ Object(Qe.__)("WordPress adds a lot of links and content to your site's %1$s and HTTP headers. For most websites you can safely disable all of these, which can help to save bytes, electricity, and trees.","wordpress-seo"),"<code/>"),{code:Object(s.createElement)(c.Code,null,"<head>")}),removeShortlinks:Object(s.createInterpolateElement)(i,{code:Object(s.createElement)(c.Code,{variant:"block"},'<link rel="shortlink" href="https://www.example.com/?p=1" />')}),removeRestApiLinks:Object(s.createInterpolateElement)(i,{code:Object(s.createElement)(c.Code,{variant:"block"},'<link rel="https://api.w.org/" href="https://www.example.com/wp-json/" />')}),removeRsdWlwLinks:Object(s.createInterpolateElement)(l,{code1:Object(s.createElement)(c.Code,{variant:"block"},'<link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://www.example.com/xmlrpc.php?rsd" />'),code2:Object(s.createElement)(c.Code,{variant:"block"},'<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://www.example.com/wp-includes/wlwmanifest.xml" />')}),removeOembedLinks:Object(s.createInterpolateElement)(i,{code:Object(s.createElement)(c.Code,{variant:"block"},'<link rel="alternate" type="application/json+oembed" href="https://www.example.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.example.com%2Fexample-post%2F" />')}),removeGenerator:Object(s.createInterpolateElement)(i,{code:Object(s.createElement)(c.Code,{variant:"block"},'<meta name="generator" content="WordPress 6.0.1" />')}),removePingbackHeader:Object(s.createInterpolateElement)(i,{code:Object(s.createElement)(c.Code,{variant:"block"},"X-Pingback: https://www.example.com/xmlrpc.php")}),removePoweredByHeader:Object(s.createInterpolateElement)(i,{code:Object(s.createElement)(c.Code,{variant:"block"},"X-Powered-By: PHP/7.4.1")}),removeFeedGlobal:Object(s.createInterpolateElement)(i,{code:Object(s.createElement)(c.Code,{variant:"block"},'<link rel="alternate" type="application/rss+xml" title="Example Website - Feed" href="https://www.example.com/feed/" />')}),removeFeedGlobalComments:Object(s.createInterpolateElement)(i,{code:Object(s.createElement)(c.Code,{variant:"block"},'<link rel="alternate" type="application/rss+xml" title="Example Website - Comments Feed" href="https://www.example.com/comments/feed/" />')}),removeFeedPostComments:Object(s.createInterpolateElement)(i,{code:Object(s.createElement)(c.Code,{variant:"block"},'<link rel="alternate" type="application/rss+xml" title="Example Website - Example post Comments Feed" href="https://www.example.com/example-post/feed/" />')}),removeFeedAuthors:Object(s.createInterpolateElement)(i,{code:Object(s.createElement)(c.Code,{variant:"block"},'<link rel="alternate" type="application/rss+xml" title="Example Website - Posts by Example Author Feed" href="https://www.example.com/author/example-author/feed/" />')}),removeFeedPostTypes:Object(s.createInterpolateElement)(i,{code:Object(s.createElement)(c.Code,{variant:"block"},'<link rel="alternate" type="application/rss+xml" title="Example Website - Movies Feed" href="https://www.example.com/movies/feed/" />')}),removeFeedCategories:Object(s.createInterpolateElement)(i,{code:Object(s.createElement)(c.Code,{variant:"block"},'<link rel="alternate" type="application/rss+xml" title="Example Website - News Category Feed" href="https://www.example.com/category/news/feed/" />')}),removeFeedTags:Object(s.createInterpolateElement)(i,{code:Object(s.createElement)(c.Code,{variant:"block"},'<link rel="alternate" type="application/rss+xml" title="Example Website - Blue Tag Feed" href="https://www.example.com/tag/blue/feed/" />')}),removeFeedCustomTaxonomies:Object(s.createInterpolateElement)(i,{code:Object(s.createElement)(c.Code,{variant:"block"},'<link rel="alternate" type="application/rss+xml" title="Example Website - Large size Feed" href="https://www.example.com/size/large/feed/" />')}),removeFeedSearch:Object(s.createInterpolateElement)(i,{code:Object(s.createElement)(c.Code,{variant:"block"},'<link rel="alternate" type="application/rss+xml" title="Example Website - Search Results for \'example\' Feed" href="https://www.example.com/search/example/feed/rss2/" />')}),removeAtomRdfFeeds:Object(s.createInterpolateElement)(i,{code:Object(s.createElement)(c.Code,{variant:"block"},'<link rel="alternate" type="application/rss+xml" title="Example Website - Feed" href="https://www.example.com/feed/atom/" />')}),denyWpJsonCrawling:Object(s.createInterpolateElement)(l,{code1:Object(s.createElement)(c.Code,{variant:"block"},"https://www.example.com/wp-json/"),code2:Object(s.createElement)(c.Code,{variant:"block"},"https://www.example.com/?rest_route=/")}),denySearchCrawling:Object(s.createInterpolateElement)(Object(Qe.sprintf)( /* translators: %1$s and %2$s expand to example parts of a URL, surrounded by <code> tags. */ Object(Qe.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling of %1$s and %2$s URLs.","wordpress-seo"),"<code1/>","<code2/>"),{code1:Object(s.createElement)(c.Code,null,"?s="),code2:Object(s.createElement)(c.Code,null,"/search/")}),advancedUrlCleanup:Object(s.createInterpolateElement)(Object(Qe.sprintf)( /* translators: %1$s expands to an example part of a URL, surrounded by a <code> tag. */ Object(Qe.__)("Users and search engines may often request your URLs whilst using query parameters, like %1$s. These can be helpful for tracking, filtering, and powering advanced functionality - but they come with a performance and SEO ‘cost’. Sites which don’t rely on URL parameters might benefit from using these options.","wordpress-seo"),"<code/>"),{code:Object(s.createElement)(c.Code,null,"?color=red")}),cleanCampaignTrackingUrls:Object(s.createInterpolateElement)(Object(Qe.sprintf)( /** * translators: * %1$s expands to `<code>utm</code>`. * %2$s expands to `<code>#</code>`. * %3$s expands to `<code>301</code>`. * %4$s and %5$s both expand to an example within a <code> tag. */ Object(Qe.__)("Replaces %1$s tracking parameters with the (more performant) %2$s equivalent, via a %3$s redirect. E.g., %4$s will be redirected to %5$s","wordpress-seo"),"<code1/>","<code2/>","<code3/>","<code4/>","<code5/>"),{code1:Object(s.createElement)(c.Code,null,"utm"),code2:Object(s.createElement)(c.Code,null,"#"),code3:Object(s.createElement)(c.Code,null,"301"),code4:Object(s.createElement)(c.Code,{variant:"block"},"https://www.example.com/?utm_medium=organic"),code5:Object(s.createElement)(c.Code,{variant:"block"},"https://www.example.com/#utm_medium=organic")}),cleanPermalinks:Object(s.createInterpolateElement)(Object(Qe.sprintf)( /** * translators: * %1$s expands to `<code>301</code>`. * %2$s and %3$s both expand to an example within a <code> tag. */ Object(Qe.__)("Removes unknown URL parameters via a %1$s redirect. E.g., %2$s will be redirected to %3$s","wordpress-seo"),"<code1/>","<code2/>","<code3/>"),{code1:Object(s.createElement)(c.Code,null,"301"),code2:Object(s.createElement)(c.Code,{variant:"block"},"https://www.example.com/?unknown_parameter=yes"),code3:Object(s.createElement)(c.Code,{variant:"block"},"https://www.example.com")}),cleanPermalinksExtraVariables:Object(s.createInterpolateElement)(Object(Qe.sprintf)( /** * translators: * %1$s expands to `<code>unknown_parameter</code>`. * %2$s and %3$s both expand to an example within a <code> tag. */ Object(Qe.__)("Prevents specific URL parameters from being removed by the above feature. E.g., adding %1$s will prevent %2$s from being redirected to %3$s","wordpress-seo"),"<code1/>","<code2/>","<code3/>"),{code1:Object(s.createElement)(c.Code,null,"unknown_parameter"),code2:Object(s.createElement)(c.Code,{variant:"block"},"https://www.example.com/?unknown_parameter=yes"),code3:Object(s.createElement)(c.Code,{variant:"block"},"https://www.example.com")})}),[]),{values:d}=W(),{remove_feed_global_comments:p,remove_feed_post_comments:m,search_cleanup:b,search_cleanup_emoji:f,search_cleanup_patterns:h,clean_permalinks:y}=d.wpseo;return Object(s.createElement)(Yt,{title:Object(Qe.__)("Crawl optimization","wordpress-seo"),description:Object(s.createElement)(s.Fragment,null,u.page,!n&&Object(s.createElement)("div",{className:"yst-mt-6"},Object(s.createElement)(c.Button,ze()({as:"a",className:"yst-gap-2",variant:"upsell",href:a,target:"_blank",rel:"noopener"},e),Object(s.createElement)(sa.a,ze()({className:"yst-w-5 yst-h-5 yst--ml-1 yst-shrink-0"},o)),Object(Qe.sprintf)( /* translators: %1$s expands to Premium. */ Object(Qe.__)("Unlock with %1$s","wordpress-seo"),"Premium"))))},Object(s.createElement)(ft,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(ut,{title:Object(Qe.__)("Remove unwanted metadata","wordpress-seo"),description:u.removeUnwantedMetadata},Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.remove_shortlinks",id:"input-wpseo-remove_shortlinks",label:Object(Qe.__)("Remove shortlinks","wordpress-seo"),isDummy:!n,className:"yst-max-w-2xl"},Object(Qe.__)("Remove links to WordPress' internal 'shortlink' URLs for your posts.","wordpress-seo")," ",u.removeShortlinks),Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.remove_rest_api_links",id:"input-wpseo-remove_rest_api_links",label:Object(Qe.__)("Remove REST API links","wordpress-seo"),isDummy:!n,className:"yst-max-w-2xl"},Object(Qe.__)("Remove links to the location of your site’s REST API endpoints.","wordpress-seo")," ",u.removeRestApiLinks),Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.remove_rsd_wlw_links",id:"input-wpseo-remove_rsd_wlw_links",label:Object(Qe.__)("Remove RSD / WLW links","wordpress-seo"),isDummy:!n,className:"yst-max-w-2xl"},Object(Qe.__)("Remove links used by external systems for publishing content to your blog.","wordpress-seo")," ",u.removeRsdWlwLinks),Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.remove_oembed_links",id:"input-wpseo-remove_oembed_links",label:Object(Qe.__)("Remove oEmbed links","wordpress-seo"),isDummy:!n,className:"yst-max-w-2xl"},Object(Qe.__)("Remove links used for embedding your content on other sites.","wordpress-seo")," ",u.removeOembedLinks),Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.remove_generator",id:"input-wpseo-remove_generator",label:Object(Qe.__)("Remove generator tag","wordpress-seo"),isDummy:!n,className:"yst-max-w-2xl"},Object(Qe.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",u.removeGenerator),Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.remove_pingback_header",id:"input-wpseo-remove_pingback_header",label:Object(Qe.__)("Pingback HTTP header","wordpress-seo"),isDummy:!n,className:"yst-max-w-2xl"},Object(Qe.__)("Remove links which allow others sites to ‘ping’ yours when they link to you.","wordpress-seo")," ",u.removePingbackHeader),Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.remove_powered_by_header",id:"input-wpseo-remove_powered_by_header",label:Object(Qe.__)("Remove powered by HTTP header","wordpress-seo"),isDummy:!n,className:"yst-max-w-2xl"},Object(Qe.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",u.removePoweredByHeader)),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(Qe.__)("Disable unwanted content formats","wordpress-seo"),description:Object(Qe.__)("WordPress outputs your content in many different formats, across many different URLs (like RSS feeds of your posts and categories). It’s generally good practice to disable the formats you’re not actively using.","wordpress-seo")},Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global",id:"input-wpseo-remove_feed_global",label:Object(Qe.__)("Remove global feed","wordpress-seo"),isDummy:!n,className:"yst-max-w-2xl"},Object(Qe.__)("Remove URLs which provide an overview of your recent posts.","wordpress-seo")," ",u.removeFeedGlobal),Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global_comments",id:"input-wpseo-remove_feed_global_comments",label:Object(Qe.__)("Remove global comment feeds","wordpress-seo"),isDummy:!n,className:"yst-max-w-2xl"},Object(Qe.__)("Remove URLs which provide an overview of recent comments on your site.","wordpress-seo")," ",u.removeFeedGlobalComments,Object(Qe.__)("Also disables post comment feeds.","wordpress-seo")),Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.remove_feed_post_comments",id:"input-wpseo-remove_feed_post_comments",label:Object(Qe.__)("Remove post comments feeds","wordpress-seo"),disabled:p,checked:p||m,isDummy:!n,className:"yst-max-w-2xl"},Object(Qe.__)("Remove URLs which provide information about recent comments on each post.","wordpress-seo")," ",u.removeFeedPostComments),Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.remove_feed_authors",id:"input-wpseo-remove_feed_authors",label:Object(Qe.__)("Remove post authors feeds","wordpress-seo"),isDummy:!n,className:"yst-max-w-2xl"},Object(Qe.__)("Remove URLs which provide information about recent posts by specific authors.","wordpress-seo")," ",u.removeFeedAuthors),Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.remove_feed_post_types",id:"input-wpseo-remove_feed_post_types",label:Object(Qe.__)("Remove post type feeds","wordpress-seo"),isDummy:!n,className:"yst-max-w-2xl"},Object(Qe.__)("Remove URLs which provide information about your recent posts, for each post type.","wordpress-seo")," ",u.removeFeedPostTypes),Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.remove_feed_categories",id:"input-wpseo-remove_feed_categories",label:Object(Qe.__)("Remove category feeds","wordpress-seo"),isDummy:!n,className:"yst-max-w-2xl"},Object(Qe.__)("Remove URLs which provide information about your recent posts, for each category.","wordpress-seo")," ",u.removeFeedCategories),Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.remove_feed_tags",id:"input-wpseo-remove_feed_tags",label:Object(Qe.__)("Remove tag feeds","wordpress-seo"),isDummy:!n,className:"yst-max-w-2xl"},Object(Qe.__)("Remove URLs which provide information about your recent posts, for each tag.","wordpress-seo")," ",u.removeFeedTags),Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.remove_feed_custom_taxonomies",id:"input-wpseo-remove_feed_custom_taxonomies",label:Object(Qe.__)("Remove custom taxonomy feeds","wordpress-seo"),isDummy:!n,className:"yst-max-w-2xl"},Object(Qe.__)("Remove URLs which provide information about your recent posts, for each custom taxonomy.","wordpress-seo")," ",u.removeFeedCustomTaxonomies),Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.remove_feed_search",id:"input-wpseo-remove_feed_search",label:Object(Qe.__)("Remove search results feeds","wordpress-seo"),isDummy:!n,className:"yst-max-w-2xl"},Object(Qe.__)("Remove URLs which provide information about your search results.","wordpress-seo")," ",u.removeFeedSearch),Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.remove_atom_rdf_feeds",id:"input-wpseo-remove_atom_rdf_feeds",label:Object(Qe.__)("Remove Atom / RDF feeds","wordpress-seo"),isDummy:!n,className:"yst-max-w-2xl"},Object(Qe.__)("Remove URLs which provide alternative (legacy) formats of all of the above.","wordpress-seo")," ",u.removeAtomRdfFeeds)),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(Qe.__)("Remove unused resources","wordpress-seo"),description:Object(Qe.__)("WordPress loads lots of resources, some of which your site might not need. If you’re not using these, removing them can speed up your pages and save resources.","wordpress-seo")},Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.remove_emoji_scripts",id:"input-wpseo-remove_emoji_scripts",label:Object(Qe.__)("Remove emoji scripts","wordpress-seo"),description:Object(Qe.__)("Remove JavaScript used for converting emoji characters in older browsers.","wordpress-seo"),isDummy:!n,className:"yst-max-w-2xl"}),Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.deny_wp_json_crawling",id:"input-wpseo-deny_wp_json_crawling",label:Object(Qe.__)("Remove WP-JSON API","wordpress-seo"),isDummy:!n,className:"yst-max-w-2xl"},Object(Qe.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling of WordPress' JSON API endpoints.","wordpress-seo")," ",u.denyWpJsonCrawling)),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(Qe.__)("Internal site search cleanup","wordpress-seo"),description:Object(Qe.__)("Your internal site search can create lots of confusing URLs for search engines, and can even be used as a way for SEO spammers to attack your site. Most sites will benefit from experimenting with these protections and optimizations, even if you don’t have a search feature in your theme.","wordpress-seo")},Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.search_cleanup",id:"input-wpseo-search_cleanup",label:Object(Qe.__)("Filter search terms","wordpress-seo"),description:Object(Qe.__)("Enables advanced settings for protecting your internal site search URLs.","wordpress-seo"),isDummy:!n,className:"yst-max-w-2xl"}),Object(s.createElement)(na,{as:c.TextField,type:"text",name:"wpseo.search_character_limit",id:"input-wpseo-search_character_limit",label:Object(Qe.__)("Max number of characters to allow in searches","wordpress-seo"),description:Object(Qe.__)("Limit the length of internal site search queries to reduce the impact of spam attacks and confusing URLs.","wordpress-seo"),disabled:!b,isDummy:!n}),Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.search_cleanup_emoji",id:"input-wpseo-search_cleanup_emoji",label:Object(Qe.__)("Filter searches with emojis and other special characters","wordpress-seo"),description:Object(Qe.__)("Block internal site searches which contain complex and non-alphanumeric characters, as they may be part of a spam attack.","wordpress-seo"),disabled:!b,checked:b&&f,isDummy:!n,className:"yst-max-w-2xl"}),Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.search_cleanup_patterns",id:"input-wpseo-search_cleanup_patterns",label:Object(Qe.__)("Filter searches with common spam patterns","wordpress-seo"),description:Object(Qe.__)("Block internal site searches which match the patterns of known spam attacks.","wordpress-seo"),disabled:!b,checked:b&&h,isDummy:!n,className:"yst-max-w-2xl"}),Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.deny_search_crawling",id:"input-wpseo-deny_search_crawling",label:Object(Qe.__)("Prevent crawling of internal site search URLs","wordpress-seo"),description:u.denySearchCrawling,isDummy:!n,className:"yst-max-w-2xl"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(Qe.__)("Advanced: URL cleanup","wordpress-seo"),description:u.advancedUrlCleanup},Object(s.createElement)(c.Alert,{id:"alert-permalink-cleanup-settings",variant:"warning",className:et()(!n&&"yst-opacity-50 yst-cursor-not-allowed")},Object(s.createInterpolateElement)(Object(Qe.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <a> tags. Object(Qe.__)("These are expert features, so make sure you know what you're doing before removing the parameters. %1$sRead more about how your site can be affected%2$s.","wordpress-seo"),"<a>","</a>"),{a:Object(s.createElement)("a",{id:"link-permalink-cleanup-info",href:r,target:"_blank",rel:"noopener noreferrer",className:et()(!n&&"yst-pointer-events-none")})})),Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.clean_campaign_tracking_urls",id:"input-wpseo-clean_campaign_tracking_urls",label:Object(Qe.__)("Optimize Google Analytics utm tracking parameters","wordpress-seo"),description:u.cleanCampaignTrackingUrls,isDummy:!n,className:"yst-max-w-2xl"}),Object(s.createElement)(oa,{as:c.ToggleField,type:"checkbox",name:"wpseo.clean_permalinks",id:"input-wpseo-clean_permalinks",label:Object(Qe.__)("Remove unregistered URL parameters","wordpress-seo"),description:u.cleanPermalinks,isDummy:!n,className:"yst-max-w-2xl"}),Object(s.createElement)(aa,{name:"wpseo.clean_permalinks_extra_variables",id:"input-wpseo-clean_permalinks_extra_variables",label:Object(Qe.__)("Additional URL parameters to allow","wordpress-seo"),description:u.cleanPermalinksExtraVariables,disabled:!y,isDummy:!n})))))};const ca=$t(Et);var la=()=>{const e=Object(Qe.__)("Date archives","wordpress-seo"),t=ct("selectPreference",[],"userLocale"),r=Object(s.useMemo)(()=>vr(e,t),[e,t]),n=ct("selectUpsellSettingsAsProps"),a=ct("selectReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),o=ct("selectRecommendedReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),i=ct("selectLink",[],"https://yoa.st/show-x"),l=ct("selectPreference",[],"isPremium"),u=ct("selectLink",[],"https://yoa.st/4e0"),d=ct("selectExampleUrl",[],"/2020/"),p=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(Qe.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ Object(Qe.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),[]),m=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(Qe.sprintf)( /** * translators: %1$s expands to "Date archives". * %2$s expands to an example URL, e.g. https://example.com/author/example/. * %3$s expands to "date archives". */ Object(Qe.__)("%1$s (e.g. %2$s) are based on publication dates. From an SEO perspective, the posts in these archives have no real relation to the other posts except for their publication dates, which doesn’t say much about the content. They could also lead to duplicate content issues. This is why we recommend you to disable %3$s.","wordpress-seo"),e,"<exampleUrl />",r),{exampleUrl:Object(s.createElement)(c.Code,null,d)})),{values:b}=W(),{opengraph:f}=b.wpseo_social,{"disable-date":h,"noindex-archive-wpseo":y}=b.wpseo_titles;return Object(s.createElement)(Yt,{title:e,description:m},Object(s.createElement)(ft,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)("fieldset",{className:"yst-min-width-0 yst-space-y-8"},Object(s.createElement)(yt,{name:"wpseo_titles.disable-date",id:"input-wpseo_titles-disable-date",label:Object(Qe.sprintf)(// translators: %1$s expands to "date archives". Object(Qe.__)("Enable %1$s","wordpress-seo"),r),description:Object(Qe.sprintf)(// translators: %1$s expands to "Date archives". Object(Qe.__)("%1$s can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),e),className:"yst-max-w-sm"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(Qe.__)("Search appearance","wordpress-seo"),description:Object(Qe.sprintf)(// translators: %1$s expands to "date archives". Object(Qe.__)("Determine how your %1$s should look in search engines.","wordpress-seo"),r)},Object(s.createElement)(yt,{name:"wpseo_titles.noindex-archive-wpseo",id:"input-wpseo_titles-noindex-archive-wpseo",label:Object(Qe.sprintf)(// translators: %1$s expands to "date archives". Object(Qe.__)("Show %1$s in search results","wordpress-seo"),r),description:Object(s.createElement)(s.Fragment,null,Object(Qe.sprintf)(// translators: %1$s expands to "date archives". Object(Qe.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps. We recommend that you disable this setting.","wordpress-seo"),r)," ",Object(s.createElement)(c.Link,{href:i,target:"_blank",rel:"noopener"},Object(Qe.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:h,checked:!h&&!y,className:"yst-max-w-sm"}),Object(s.createElement)(Et,{type:"title",name:"wpseo_titles.title-archive-wpseo",fieldId:"input-wpseo_titles-title-archive-wpseo",label:Object(Qe.__)("SEO title","wordpress-seo"),replacementVariables:a,recommendedReplacementVariables:o,disabled:h}),Object(s.createElement)(Et,{type:"description",name:"wpseo_titles.metadesc-archive-wpseo",fieldId:"input-wpseo_titles-metadesc-archive-wpseo",label:Object(Qe.__)("Meta description","wordpress-seo"),replacementVariables:a,recommendedReplacementVariables:o,disabled:h,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(s.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},Object(s.createElement)("span",null,Object(Qe.__)("Social appearance","wordpress-seo")),l&&Object(s.createElement)(c.Badge,{variant:"upsell"},"Premium")),description:Object(Qe.sprintf)(// translators: %1$s expands to "date archives". Object(Qe.__)("Determine how your %1$s should look on social media by default.","wordpress-seo"),r)},Object(s.createElement)(c.FeatureUpsell,ze()({shouldUpsell:!l,variant:"card",cardLink:u,cardText:Object(Qe.sprintf)(// translators: %1$s expands to Premium. Object(Qe.__)("Unlock with %1$s","wordpress-seo"),"Premium")},n),Object(s.createElement)(qt,{isEnabled:!l||f}),Object(s.createElement)(gt,{id:"wpseo_titles-social-image-archive-wpseo",label:Object(Qe.__)("Social image","wordpress-seo"),previewLabel:p,mediaUrlName:"wpseo_titles.social-image-url-archive-wpseo",mediaIdName:"wpseo_titles.social-image-id-archive-wpseo",disabled:h||!f,isDummy:!l}),Object(s.createElement)(ca,{type:"title",name:"wpseo_titles.social-title-archive-wpseo",fieldId:"input-wpseo_titles-social-title-archive-wpseo",label:Object(Qe.__)("Social title","wordpress-seo"),replacementVariables:a,recommendedReplacementVariables:o,disabled:h||!f,isDummy:!l}),Object(s.createElement)(ca,{type:"description",name:"wpseo_titles.social-description-archive-wpseo",fieldId:"input-wpseo_titles-social-description-archive-wpseo",label:Object(Qe.__)("Social description","wordpress-seo"),replacementVariables:a,recommendedReplacementVariables:o,className:"yst-replacevar--description",disabled:h||!f,isDummy:!l}))))))};const ua=$t(Et);var da=()=>{const{name:e,label:t,singularLabel:r}=ct("selectTaxonomy",[],"post_format"),n=ct("selectPreference",[],"userLocale"),a=Object(s.useMemo)(()=>vr(t,n),[t,n]),o=Object(s.useMemo)(()=>vr(r,n),[r,n]),i=ct("selectUpsellSettingsAsProps"),l=ct("selectReplacementVariablesFor",[e],e,"term-in-custom-taxonomy"),u=ct("selectRecommendedReplacementVariablesFor",[e],e,"term-in-custom-taxonomy"),d=ct("selectLink",[],"https://yoa.st/show-x"),p=ct("selectPreference",[],"isPremium"),m=ct("selectLink",[],"https://yoa.st/4e0"),b=ct("selectExampleUrl",[],"/format/example/"),f=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(Qe.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ Object(Qe.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),[]),h=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(Qe.sprintf)( /* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ Object(Qe.__)("(e.g., %1$s)","wordpress-seo"),"<exampleUrl />"),{exampleUrl:Object(s.createElement)(c.Code,null,b)})),{values:y}=W(),{opengraph:O}=y.wpseo_social,{"disable-post_format":w,"noindex-tax-post_format":_}=y.wpseo_titles;return Object(s.createElement)(Yt,{title:Object(Qe.__)("Format archives","wordpress-seo"),description:h},Object(s.createElement)(ft,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(yt,{name:"wpseo_titles.disable-post_format",id:"input-wpseo_titles-disable-post_format",label:Object(Qe.__)("Enable format-based archives","wordpress-seo"),description:Object(Qe.__)("Format-based archives can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),className:"yst-max-w-sm"}),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(Qe.__)("Search appearance","wordpress-seo"),description:Object(Qe.sprintf)( // translators: %1$s expands to "formats". %2$s expands to "Yoast SEO". Object(Qe.__)("Determine how your %1$s should look in search engines. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),a,"Yoast SEO")},Object(s.createElement)(yt,{name:"wpseo_titles.noindex-tax-"+e,id:"input-wpseo_titles-noindex-tax-"+e,label:Object(Qe.sprintf)(// translators: %1$s expands to "format". Object(Qe.__)("Show %1$s archives in search results","wordpress-seo"),o),description:Object(s.createElement)(s.Fragment,null,Object(Qe.sprintf)(// translators: %1$s expands to "formats". Object(Qe.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps. We recommend that you disable this setting.","wordpress-seo"),a)," ",Object(s.createElement)(c.Link,{href:d,target:"_blank",rel:"noopener"},Object(Qe.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:w,checked:!w&&!_,className:"yst-max-w-sm"}),Object(s.createElement)(Et,{type:"title",name:"wpseo_titles.title-tax-"+e,fieldId:"input-wpseo_titles-title-tax-"+e,label:Object(Qe.__)("SEO title","wordpress-seo"),replacementVariables:l,recommendedReplacementVariables:u,disabled:w}),Object(s.createElement)(Et,{type:"description",name:"wpseo_titles.metadesc-tax-"+e,fieldId:"input-wpseo_titles-metadesc-tax-"+e,label:Object(Qe.__)("Meta description","wordpress-seo"),replacementVariables:l,recommendedReplacementVariables:u,disabled:w,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(s.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},Object(s.createElement)("span",null,Object(Qe.__)("Social appearance","wordpress-seo")),p&&Object(s.createElement)(c.Badge,{variant:"upsell"},"Premium")),description:Object(Qe.sprintf)( // translators: %1$s expands to "formats". %2$s expands to "Yoast SEO". Object(Qe.__)("Determine how your %1$s should look on social media by default. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),a,"Yoast SEO")},Object(s.createElement)(c.FeatureUpsell,ze()({shouldUpsell:!p,variant:"card",cardLink:m,cardText:Object(Qe.sprintf)( /* translators: %1$s expands to Premium. */ Object(Qe.__)("Unlock with %1$s","wordpress-seo"),"Premium")},i),Object(s.createElement)(qt,{isEnabled:!p||O}),Object(s.createElement)(gt,{id:"wpseo_titles-social-image-tax-"+e,label:Object(Qe.__)("Social image","wordpress-seo"),previewLabel:f,mediaUrlName:"wpseo_titles.social-image-url-tax-"+e,mediaIdName:"wpseo_titles.social-image-id-tax-"+e,disabled:w||!O,isDummy:!p}),Object(s.createElement)(ua,{type:"title",name:"wpseo_titles.social-title-tax-"+e,fieldId:"input-wpseo_titles-social-title-tax-"+e,label:Object(Qe.__)("Social title","wordpress-seo"),replacementVariables:l,recommendedReplacementVariables:u,disabled:w||!O,isDummy:!p}),Object(s.createElement)(ua,{type:"description",name:"wpseo_titles.social-description-tax-"+e,fieldId:"input-wpseo_titles-social-description-tax-"+e,label:Object(Qe.__)("Social description","wordpress-seo"),replacementVariables:l,recommendedReplacementVariables:u,className:"yst-replacevar--description",disabled:w||!O,isDummy:!p}))))))};const pa=()=>{const e=ct("selectReplacementVariablesFor",[],"homepage","page"),t=ct("selectRecommendedReplacementVariablesFor",[],"homepage","page"),r=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(Qe.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ Object(Qe.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),[]),{values:n}=W(),{opengraph:a}=n.wpseo_social;return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(ut,{title:Object(Qe.__)("Search appearance","wordpress-seo"),description:Object(Qe.__)("Determine how your homepage should look in the search results.","wordpress-seo")},Object(s.createElement)(Et,{type:"title",name:"wpseo_titles.title-home-wpseo",fieldId:"input-wpseo_titles-title-home-wpseo",label:Object(Qe.__)("SEO title","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t}),Object(s.createElement)(Et,{type:"description",name:"wpseo_titles.metadesc-home-wpseo",fieldId:"input-wpseo_titles-metadesc-home-wpseo",label:Object(Qe.__)("Meta description","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(Qe.__)("Social appearance","wordpress-seo"),description:Object(Qe.__)("Determine how your homepage should look on social media.","wordpress-seo")},Object(s.createElement)(qt,{isEnabled:a /* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */,text:Object(Qe.__)("The %1$ssocial image%2$s, %1$ssocial title%2$s and %1$ssocial description%2$s require Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")}),Object(s.createElement)(gt,{id:"wpseo_titles-open_graph_frontpage_image",label:Object(Qe.__)("Social image","wordpress-seo"),previewLabel:r,mediaUrlName:"wpseo_titles.open_graph_frontpage_image",mediaIdName:"wpseo_titles.open_graph_frontpage_image_id",disabled:!a}),Object(s.createElement)(Et,{type:"title",name:"wpseo_titles.open_graph_frontpage_title",fieldId:"input-wpseo_titles-open_graph_frontpage_title",label:Object(Qe.__)("Social title","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t,disabled:!a}),Object(s.createElement)(Et,{type:"description",name:"wpseo_titles.open_graph_frontpage_desc",fieldId:"input-wpseo_titles-open_graph_frontpage_desc",label:Object(Qe.__)("Social description","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t,className:"yst-replacevar--description",disabled:!a})))},ma=()=>{const e=ct("selectPreference",[],"homepagePageEditUrl"),t=ct("selectPreference",[],"homepagePostsEditUrl"),r=Object(s.useMemo)(()=>Object(Pn.a)(Object(Qe.sprintf)( /* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ Object(Qe.__)("You can determine the title and description for the homepage by %1$sediting the homepage itself%2$s.","wordpress-seo"),"<a>","</a>"),e,"link-homepage-page-edit")),n=Object(s.useMemo)(()=>Object(Pn.a)(Object(Qe.sprintf)( /* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ Object(Qe.__)("You can determine the title and description for the blog page by %1$sediting the blog page itself%2$s.","wordpress-seo"),"<a>","</a>"),t,"link-homepage-posts-page-edit"));return Object(s.createElement)("div",{className:"yst-max-w-screen-sm"},Object(s.createElement)(c.Alert,null,Object(s.createElement)("p",null,r),t&&Object(s.createElement)("p",{className:"yst-pt-2"},n)))};var ba=()=>{const e=ct("selectPreference",[],"homepageIsLatestPosts");return Object(s.createElement)(Yt,{title:Object(Qe.__)("Homepage","wordpress-seo"),description:Object(Qe.__)("Determine how your homepage should look in the search results and on social media. This is what people probably will see when they search for your brand name.","wordpress-seo")},Object(s.createElement)(ft,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},e&&Object(s.createElement)(pa,null),!e&&Object(s.createElement)(ma,null))))},fa=()=>{const{name:e,label:t,hasSchemaArticleType:r}=ct("selectPostType",[],"attachment"),n=ct("selectPreference",[],"userLocale"),a=Object(s.useMemo)(()=>vr(t,n),[t,n]),o=ct("selectReplacementVariablesFor",[e],e,"custom_post_type"),i=ct("selectRecommendedReplacementVariablesFor",[e],e,"custom_post_type"),l=ct("selectArticleTypeValuesFor",[e],e),u=ct("selectPageTypeValuesFor",[e],e),d=ct("selectLink",[],"https://yoast.com/features/redirect-attachment-urls"),p=ct("selectLink",[],"https://yoa.st/show-x"),{values:m}=W(),{"disable-attachment":b,"noindex-attachment":f}=m.wpseo_titles,h=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(Qe.sprintf)( /** * translators: %1$s and %2$s are replaced by opening and closing <a> tags. * %3$s expands to "media". * %4$s expand to "Yoast SEO". * %5$s expand to "WordPress". */ Object(Qe.__)("When you upload media (e.g. an image or video), %5$s automatically creates a %3$s page (attachment URL) for it. These pages are quite empty and could cause %1$sthin content problems and lead to excess pages on your site%2$s. Therefore, %4$s disables them by default (and redirects the attachment URL to the media itself).","wordpress-seo"),"<a>","</a>",a,"Yoast SEO","WordPress"),{a:Object(s.createElement)("a",{href:d,target:"_blank",rel:"noopener noreferrer"})}));return Object(s.createElement)(Yt,{title:Object(Qe.sprintf)(// translators: %1$s expands to "Media". Object(Qe.__)("%1$s pages","wordpress-seo"),t),description:h},Object(s.createElement)(ft,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)("fieldset",{className:"yst-min-width-0 yst-space-y-8"},Object(s.createElement)(yt,{name:"wpseo_titles.disable-"+e,id:"input-wpseo_titles-disable-"+e,label:Object(Qe.sprintf)(// translators: %1$s expands to "media". Object(Qe.__)("Enable %1$s pages","wordpress-seo"),a),description:Object(Qe.sprintf)(// translators: %1$s expands to "media". Object(Qe.__)("We recommend disabling %1$s pages. Disabling %1$s pages will cause all attachment URLs to redirect to the media itself.","wordpress-seo"),a),className:"yst-max-w-sm"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(Qe.__)("Search appearance","wordpress-seo"),description:Object(Qe.sprintf)( // translators: %1$s expands to "media". %3$s expands to "Yoast SEO". Object(Qe.__)("Determine how your %1$s pages should look in search engines. You can always customize the settings for individual %1$s pages in the %2$s metabox.","wordpress-seo"),a,"Yoast SEO")},Object(s.createElement)(yt,{name:"wpseo_titles.noindex-"+e,id:"input-wpseo_titles-noindex-"+e,label:Object(Qe.sprintf)(// translators: %1$s expands to "media". Object(Qe.__)("Show %1$s pages in search results","wordpress-seo"),a),description:Object(s.createElement)(s.Fragment,null,Object(Qe.sprintf)(// translators: %1$s expands to "media". Object(Qe.__)("Disabling this means that %1$s pages created by WordPress will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),a),Object(s.createElement)("br",null),Object(s.createElement)(c.Link,{href:p,target:"_blank",rel:"noopener"},Object(Qe.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:b,checked:!b&&!f,className:"yst-max-w-sm"}),Object(s.createElement)(Et,{type:"title",name:"wpseo_titles.title-"+e,fieldId:"input-wpseo_titles-title-"+e,label:Object(Qe.__)("SEO title","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:i,disabled:b}),Object(s.createElement)(Et,{type:"description",name:"wpseo_titles.metadesc-"+e,fieldId:"input-wpseo_titles-metadesc-"+e,label:Object(Qe.__)("Meta description","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:i,disabled:b,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(Qe.__)("Schema","wordpress-seo"),description:Object(Qe.sprintf)( // translators: %1$s expands to "media". %3$s expands to "Yoast SEO". Object(Qe.__)("Determine how your %1$s pages should be described by default in your site's Schema.org markup. You can always customize the settings for individual %1$s pages in the %2$s metabox.","wordpress-seo"),a,"Yoast SEO")},Object(s.createElement)(Ct,{as:c.SelectField,type:"select",name:"wpseo_titles.schema-page-type-"+e,id:"input-wpseo_titles-schema-page-type-"+e,label:Object(Qe.__)("Page type","wordpress-seo"),options:u,disabled:b}),r&&Object(s.createElement)(Ct,{as:c.SelectField,type:"select",name:"wpseo_titles.schema-article-type-"+e,id:"input-wpseo_titles-schema-article-type-"+e,label:Object(Qe.__)("Article type","wordpress-seo"),options:l,disabled:b})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(Qe.__)("Additional settings","wordpress-seo")},Object(s.createElement)(Ct,{as:c.ToggleField,type:"checkbox",name:"wpseo_titles.display-metabox-pt-"+e,id:"input-wpseo_titles-display-metabox-pt-"+e,label:Object(Qe.__)("Enable SEO controls and assessments","wordpress-seo"),description:Object(Qe.__)("Show or hide our tools and controls in the attachment editor.","wordpress-seo"),disabled:b,className:"yst-max-w-sm"})))))};const ha=e=>{let{children:t}=e;return Object(s.createElement)(c.Table.Cell,{className:"yst-font-medium"},Object(s.createElement)("span",{className:"yst-text-slate-900"},t))};ha.propTypes={children:rt.a.node.isRequired};var ya=()=>Object(s.createElement)(Yt,{title:Object(Qe.__)("RSS","wordpress-seo")},Object(s.createElement)(ft,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(ut,{title:Object(Qe.__)("RSS feed","wordpress-seo"),description:Object(Qe.__)("Automatically add content to your RSS. This enables you to add links back to your blog and your blog posts, helping search engines identify you as the original source of the content.","wordpress-seo")},Object(s.createElement)(Z,{as:c.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssbefore",id:"input-wpseo_titles-rssbefore",label:Object(Qe.__)("Content to put before each post in the feed","wordpress-seo")}),Object(s.createElement)(Z,{as:c.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssafter",id:"input-wpseo_titles-rssafter",label:Object(Qe.__)("Content to put after each post in the feed","wordpress-seo")})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{as:"section",title:Object(Qe.__)("Available variables","wordpress-seo"),description:Object(Qe.__)("You can use the following variables within the content, they will be replaced by the value on the right.","wordpress-seo")},Object(s.createElement)(c.Table,null,Object(s.createElement)(c.Table.Head,null,Object(s.createElement)(c.Table.Row,null,Object(s.createElement)(c.Table.Header,{scope:"col"},Object(Qe.__)("Variable","wordpress-seo")),Object(s.createElement)(c.Table.Header,{scope:"col"},Object(Qe.__)("Description","wordpress-seo")))),Object(s.createElement)(c.Table.Body,null,Object(s.createElement)(c.Table.Row,null,Object(s.createElement)(ha,null,"%%AUTHORLINK%%"),Object(s.createElement)(c.Table.Cell,null,Object(Qe.__)("A link to the archive for the post author, with the author's name as anchor text.","wordpress-seo"))),Object(s.createElement)(c.Table.Row,null,Object(s.createElement)(ha,null,"%%POSTLINK%%"),Object(s.createElement)(c.Table.Cell,null,Object(Qe.__)("A link to the post, with the title as anchor text.","wordpress-seo"))),Object(s.createElement)(c.Table.Row,null,Object(s.createElement)(ha,null,"%%BLOGLINK%%"),Object(s.createElement)(c.Table.Cell,null,Object(Qe.__)("A link to your site, with your site's name as anchor text.","wordpress-seo"))),Object(s.createElement)(c.Table.Row,null,Object(s.createElement)(ha,null,"%%BLOGDESCLINK%%"),Object(s.createElement)(c.Table.Cell,null,Object(Qe.__)("A link to your site, with your site's name and description as anchor text.","wordpress-seo")))))))));const Oa=Nt(c.ToggleField);var wa=()=>{const e=Object(s.useMemo)(()=>Object(oe.get)(window,"wpseoScriptData.separators",{}),[]),t=ct("selectPreference",[],"generalSettingsUrl"),r=ct("selectPreference",[],"canManageOptions",!1),n=ct("selectPreference",[],"showForceRewriteTitlesSetting",!1),a=ct("selectLink",[],"https://yoa.st/site-basics-replacement-variables"),o=ct("selectLink",[],"https://yoa.st/usage-tracking-2"),i=ct("selectPreference",[],"siteTitle",""),l=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(Qe.sprintf)( /* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ Object(Qe.__)("Usage tracking allows us to track some data about your site to improve our plugin. %1$sLearn more about which data we track and why%2$s.","wordpress-seo"),"<a>","</a>"),{a:Object(s.createElement)("a",{id:"link-usage-tracking",href:o,target:"_blank",rel:"noopener"})}),[]),u=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(Qe.sprintf)( /* translators: %1$s and %2$s expand to an opening and closing emphasis tag. %3$s and %4$s expand to an opening and closing anchor tag. */ Object(Qe.__)("Set the basic info for your website. You can use %1$ssite title%2$s, %1$stagline%2$s and %1$sseparator%2$s as %3$sreplacement variables%4$s when configuring the search appearance of your content.","wordpress-seo"),"<em>","</em>","<a>","</a>"),{em:Object(s.createElement)("em",null),a:Object(s.createElement)("a",{id:"site-basics-replacement-variables",href:a,target:"_blank",rel:"noopener"})}),[]),d=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(Qe.sprintf)( /* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ Object(Qe.__)("We're sorry, you're not allowed to edit the %1$ssite title%2$s and %1$stagline%2$s.","wordpress-seo"),"<em>","</em>"),{em:Object(s.createElement)("em",null)}),[]),p=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(Qe.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ Object(Qe.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),[]),m=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(Qe.sprintf)( /** * translators: %1$s expands to an opening anchor tag. * %2$s expands to a closing anchor tag. */ Object(Qe.__)("This field updates the %1$stagline in your WordPress settings%2$s.","wordpress-seo"),"<a>","</a>"),{a:Object(s.createElement)("a",{href:t+"#blogdescription",target:"_blank",rel:"noopener noreferrer"})}),[]),{values:b}=W(),{opengraph:f}=b.wpseo_social;return Object(s.createElement)(Yt,{title:Object(Qe.__)("Site basics","wordpress-seo"),description:Object(Qe.__)("Configure the basics for your website.","wordpress-seo")},Object(s.createElement)(ft,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(ut,{title:Object(Qe.__)("Site info","wordpress-seo"),description:u},!r&&Object(s.createElement)(c.Alert,{variant:"warning",id:"alert-site-defaults-variables",className:"yst-mb-8"},d),Object(s.createElement)("div",{className:"lg:yst-mt-0 lg:yst-col-span-2 yst-space-y-8"},Object(s.createElement)(Ut,{as:c.TextField,name:"wpseo_titles.website_name",id:"input-wpseo_titles-website_name",label:Object(Qe.__)("Website name","wordpress-seo"),placeholder:i}),Object(s.createElement)(Ut,{as:c.TextField,name:"wpseo_titles.alternate_website_name",id:"input-wpseo_titles-alternate_website_name",label:Object(Qe.__)("Alternate website name","wordpress-seo"),description:Object(Qe.__)("Use the alternate website name for acronyms, or a shorter version of your website's name.","wordpress-seo")}),Object(s.createElement)(Z,{as:c.TextField,type:"text",name:"blogdescription",id:"input-blogdescription",label:Object(Qe.__)("Tagline","wordpress-seo"),description:r&&m,readOnly:!r})),Object(s.createElement)(c.RadioGroup,{label:Object(Qe.__)("Title separator","wordpress-seo"),variant:"inline-block"},Object(oe.map)(e,(e,t)=>{let{label:r,aria_label:n}=e;return Object(s.createElement)(Z,{key:t,as:c.Radio,type:"radio",variant:"inline-block",name:"wpseo_titles.separator",id:"input-wpseo_titles-separator-"+t,label:r,isLabelDangerousHtml:!0,"aria-label":n,value:t})})),Object(s.createElement)(qt,{isEnabled:f,text: /* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ Object(Qe.__)("The %1$sSite image%2$s requires Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")}),Object(s.createElement)(gt,{id:"wpseo_social-og_default_image",label:Object(Qe.__)("Site image","wordpress-seo"),description:Object(Qe.__)("This image is used as a fallback for posts/pages that don't have any images set.","wordpress-seo"),previewLabel:p,mediaUrlName:"wpseo_social.og_default_image",mediaIdName:"wpseo_social.og_default_image_id",disabled:!f})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(Qe.__)("Site preferences","wordpress-seo")},n&&Object(s.createElement)(Ct,{as:c.ToggleField,type:"checkbox",name:"wpseo_titles.forcerewritetitle",id:"input-wpseo_titles-forcerewritetitle",label:Object(Qe.__)("Force rewrite titles","wordpress-seo"),description:Object(Qe.sprintf)( /* translators: %1$s expands to "Yoast SEO" */ Object(Qe.__)("%1$s has auto-detected whether it needs to force rewrite the titles for your pages, if you think it's wrong and you know what you're doing, you can change the setting here.","wordpress-seo"),"Yoast SEO"),className:"yst-max-w-sm"}),Object(s.createElement)(Ct,{as:c.ToggleField,type:"checkbox",name:"wpseo.disableadvanced_meta",id:"input-wpseo-disableadvanced_meta",label:Object(Qe.__)("Restrict advanced settings for authors","wordpress-seo"),description:Object(Qe.sprintf)( /* translators: %1$s expands to "Yoast SEO" */ Object(Qe.__)("By default only editors and administrators can access the Advanced and Schema section of the %1$s sidebar. Disabling this allows access to all users.","wordpress-seo"),"Yoast SEO"),className:"yst-max-w-sm"}),Object(s.createElement)(Ct,{as:Oa,type:"checkbox",name:"wpseo.tracking",id:"input-wpseo-tracking",label:Object(Qe.__)("Usage tracking","wordpress-seo"),description:l,className:"yst-max-w-sm"})))))},_a=r(273);const ga=e=>{let{name:t,cardId:r,inputId:n,children:a,imageSrc:o,imageAlt:i,isPremiumFeature:l=!1,isPremiumLink:u="",isBetaFeature:d=!1}=e;const p=ct("selectPreference",[],"isPremium"),m=ct("selectPluginUrl",[o],o),{isDisabled:b,message:f}=st({name:t}),{values:h}=W(),y=ct("selectLink",[u],u),O=ct("selectUpsellSettingsAsProps"),w=Object(c.useSvgAria)(),_=Object(s.useMemo)(()=>Object(oe.get)(h,t,!1),[h,t]),g=Object(s.useMemo)(()=>!p&&l,[p,l]),v=Object(s.useMemo)(()=>b||!g&&!_,[b,g,_]),j=Object(s.useMemo)(()=>b||p&&l||d,[b,p,l,d]);return Object(s.createElement)(c.Card,{id:r},Object(s.createElement)(c.Card.Header,{className:"yst-h-auto yst-p-0"},Object(s.createElement)("img",{className:et()("yst-w-full yst-transition yst-duration-200",v&&"yst-opacity-50 yst-filter yst-grayscale"),src:m,alt:i,width:500,height:250,loading:"lazy",decoding:"async"}),j&&Object(s.createElement)("div",{className:"yst-absolute yst-top-2 yst-right-2 yst-flex yst-gap-1.5"},b&&Object(s.createElement)(c.Badge,{size:"small",variant:"plain"},f),p&&l&&Object(s.createElement)(c.Badge,{size:"small",variant:"upsell"},"Premium"),d&&Object(s.createElement)(c.Badge,{size:"small",variant:"info"},"Beta"))),Object(s.createElement)(c.Card.Content,{className:"yst-flex yst-flex-col yst-gap-3"},a),Object(s.createElement)(c.Card.Footer,null,!g&&Object(s.createElement)(Ct,{as:c.ToggleField,type:"checkbox",name:t,id:n,label:Object(Qe.__)("Enable feature","wordpress-seo"),disabled:b}),g&&Object(s.createElement)(c.Button,ze()({as:"a",className:"yst-gap-2 yst-w-full yst-px-2",variant:"upsell",href:y,target:"_blank",rel:"noopener"},O),Object(s.createElement)(sa.a,ze()({className:"yst-w-5 yst-h-5 yst--ml-1 yst-shrink-0"},w)),Object(Qe.sprintf)( /* translators: %1$s expands to Premium. */ Object(Qe.__)("Unlock with %1$s","wordpress-seo"),"Premium"))))};ga.propTypes={name:rt.a.string.isRequired,cardId:rt.a.string.isRequired,inputId:rt.a.string.isRequired,children:rt.a.node.isRequired,imageSrc:rt.a.string.isRequired,imageAlt:rt.a.string.isRequired,isPremiumFeature:rt.a.bool,isBetaFeature:rt.a.bool,isPremiumLink:rt.a.string};const va=e=>{let{id:t,link:r}=e;const n=ct("selectLink",[r],r);return Object(s.createElement)("a",{id:t,href:n,className:"yst-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium yst-text-primary-500 hover:yst-text-primary-400",target:"_blank",rel:"noopener"},Object(Qe.__)("Learn more","wordpress-seo"),Object(s.createElement)(Je.a,{className:"yst-w-4 yst-h-4"}))};va.propTypes={id:rt.a.string.isRequired,link:rt.a.string.isRequired};var ja=()=>{const e=ct("selectPreference",[],"isPremium"),t=ct("selectPreference",[],"sitemapUrl"),{values:r,initialValues:n}=W(),{enable_xml_sitemap:a}=r.wpseo,{enable_xml_sitemap:o}=n.wpseo,i=Object(s.useMemo)(()=>e?"yst-grid yst-gap-6 yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 xl:yst-grid-cols-3 2xl:yst-grid-cols-4":"yst-grid yst-gap-6 yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 2xl:yst-grid-cols-3 min-[1800px]:yst-grid-cols-4",[e]);return Object(s.createElement)(Yt,{title:Object(Qe.__)("Site features","wordpress-seo"),description:Object(Qe.__)("Tell us which features you want to use.","wordpress-seo")},Object(s.createElement)(ft,null,Object(s.createElement)("div",{className:"yst-max-w-6xl"},Object(s.createElement)("fieldset",{className:"yst-min-w-0"},Object(s.createElement)("legend",{className:"yst-sr-only"},Object(Qe.__)("Writing","wordpress-seo")),Object(s.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},Object(s.createElement)(c.Title,{as:"h2",size:"2"},Object(Qe.__)("Writing","wordpress-seo"))),Object(s.createElement)("div",{className:i},Object(s.createElement)(ga,{name:"wpseo.keyword_analysis_active",cardId:"card-wpseo-keyword_analysis_active",inputId:"input-wpseo-keyword_analysis_active",imageSrc:"/images/seo_analysis.png",imageAlt:Object(Qe.__)("SEO analysis","wordpress-seo")},Object(s.createElement)(c.Title,{as:"h3"},Object(Qe.__)("SEO analysis","wordpress-seo")),Object(s.createElement)("p",null,Object(Qe.__)("The SEO analysis offers suggestions to improve the findability of your text and makes sure that your content meets best practices.","wordpress-seo")),Object(s.createElement)(va,{id:"link-seo-analysis",link:"https://yoa.st/2ak"})),Object(s.createElement)(ga,{name:"wpseo.content_analysis_active",cardId:"card-wpseo-content_analysis_active",inputId:"input-wpseo-content_analysis_active",imageSrc:"/images/readability_analysis.png",imageAlt:Object(Qe.__)("Readability analysis","wordpress-seo")},Object(s.createElement)(c.Title,{as:"h3"},Object(Qe.__)("Readability analysis","wordpress-seo")),Object(s.createElement)("p",null,Object(Qe.__)("The readability analysis offers suggestions to improve the structure and style of your text.","wordpress-seo")),Object(s.createElement)(va,{id:"link-readability-analysis",link:"https://yoa.st/2ao"})),Object(s.createElement)(ga,{name:"wpseo.inclusive_language_analysis_active",cardId:"card-wpseo-inclusive_language_analysis_active",inputId:"input-wpseo-inclusive_language_analysis_active",imageSrc:"/images/inclusive_language_analysis.png",imageAlt:Object(Qe.__)("Inclusive language analysis","wordpress-seo"),isPremiumFeature:!0,isPremiumLink:"https://yoa.st/get-inclusive-language",isBetaFeature:!0},Object(s.createElement)(c.Title,{as:"h3"},Object(Qe.__)("Inclusive language analysis","wordpress-seo")),Object(s.createElement)("p",null,Object(Qe.__)("The inclusive language analysis offers suggestions to write more inclusive copy, so more people will be able to relate to your content.","wordpress-seo")),Object(s.createElement)(va,{id:"link-inclusive-language-analysis",link:"https://yoa.st/inclusive-language-analysis"})),Object(s.createElement)(ga,{name:"wpseo.enable_metabox_insights",cardId:"card-wpseo-enable_metabox_insights",inputId:"input-wpseo-enable_metabox_insights",imageSrc:"/images/insights.png",imageAlt:Object(Qe.__)("Insights","wordpress-seo")},Object(s.createElement)(c.Title,{as:"h3"},Object(Qe.__)("Insights","wordpress-seo")),Object(s.createElement)("p",null,Object(Qe.__)("Get more insights into what you are writing. What words do you use most often? How much time does it take to read your text? Is your text easy to read?","wordpress-seo")),Object(s.createElement)(va,{id:"link-insights",link:"https://yoa.st/4ew"})))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)("fieldset",{className:"yst-min-w-0"},Object(s.createElement)("legend",{className:"yst-sr-only"},Object(Qe.__)("Site structure","wordpress-seo")),Object(s.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},Object(s.createElement)(c.Title,{as:"h3",size:"2"},Object(Qe.__)("Site structure","wordpress-seo"))),Object(s.createElement)("div",{className:i},Object(s.createElement)(ga,{name:"wpseo.enable_cornerstone_content",cardId:"card-wpseo-enable_cornerstone_content",inputId:"input-wpseo-enable_cornerstone_content",imageSrc:"/images/cornerstone_content.png",imageAlt:Object(Qe.__)("Cornerstone content","wordpress-seo")},Object(s.createElement)(c.Title,{as:"h3"},Object(Qe.__)("Cornerstone content","wordpress-seo")),Object(s.createElement)("p",null,Object(Qe.__)("Mark and filter your cornerstone content to make sure your most important articles get the attention they deserve. To help you write excellent copy, we’ll assess your text more strictly.","wordpress-seo")),Object(s.createElement)(va,{id:"link-cornerstone-content",link:"https://yoa.st/dashboard-help-cornerstone"})),Object(s.createElement)(ga,{name:"wpseo.enable_text_link_counter",cardId:"card-wpseo-enable_text_link_counter",inputId:"input-wpseo-enable_text_link_counter",imageSrc:"/images/text_link_counter.png",imageAlt:Object(Qe.__)("Text link counter","wordpress-seo")},Object(s.createElement)(c.Title,{as:"h3"},Object(Qe.__)("Text link counter","wordpress-seo")),Object(s.createElement)("p",null,Object(Qe.__)("Count the number of internal links from and to your posts to improve your site structure.","wordpress-seo")),Object(s.createElement)(va,{id:"link-text-link-counter",link:"https://yoa.st/2aj"})),Object(s.createElement)(ga,{name:"wpseo.enable_link_suggestions",cardId:"card-wpseo-enable_link_suggestions",inputId:"input-wpseo-enable_link_suggestions",imageSrc:"/images/link_suggestions.png",imageAlt:Object(Qe.__)("Link suggestions","wordpress-seo"),isPremiumFeature:!0,isPremiumLink:"https://yoa.st/get-link-suggestions"},Object(s.createElement)(c.Title,{as:"h3"},Object(Qe.__)("Link suggestions","wordpress-seo")),Object(s.createElement)("p",null,Object(Qe.__)("Get recommendations for relevant posts to link to and set up a great internal linking structure by connecting related content.","wordpress-seo")),Object(s.createElement)(va,{id:"link-suggestions-link",link:e?"https://yoa.st/17g":"https://yoa.st/4ev"})))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)("fieldset",{id:"section-social-sharing",className:"yst-min-w-0"},Object(s.createElement)("legend",{className:"yst-sr-only"},Object(Qe.__)("Social sharing","wordpress-seo")),Object(s.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},Object(s.createElement)(c.Title,{as:"legend",size:"2",className:"yst-mb-2"},Object(Qe.__)("Social sharing","wordpress-seo"))),Object(s.createElement)("div",{className:i},Object(s.createElement)(ga,{name:"wpseo_social.opengraph",cardId:"card-wpseo_social-opengraph",inputId:"input-wpseo_social-opengraph",imageSrc:"/images/open_graph.png",imageAlt:Object(Qe.__)("Open Graph data","wordpress-seo")},Object(s.createElement)(c.Title,{as:"h3"},Object(Qe.__)("Open Graph data","wordpress-seo")),Object(s.createElement)("p",null,Object(Qe.__)("Allows for Facebook and other social media to display a preview with images and a text excerpt when a link to your site is shared. Keep this feature enabled to optimize your site for social media.","wordpress-seo")),Object(s.createElement)(va,{id:"link-open-graph-data",link:"https://yoa.st/site-features-open-graph-data"})),Object(s.createElement)(ga,{name:"wpseo_social.twitter",cardId:"card-wpseo_social-twitter",inputId:"input-wpseo_social-twitter",imageSrc:"/images/twitter_card.png",imageAlt:Object(Qe.__)("Twitter card data","wordpress-seo")},Object(s.createElement)(c.Title,{as:"h3"},Object(Qe.__)("Twitter card data","wordpress-seo")),Object(s.createElement)("p",null,Object(Qe.__)("Allows for Twitter to display a preview with images and a text excerpt when a link to your site is shared.","wordpress-seo")),Object(s.createElement)(va,{id:"link-twitter-card-data",link:"https://yoa.st/site-features-twitter-card-data"})),Object(s.createElement)(ga,{name:"wpseo.enable_enhanced_slack_sharing",cardId:"card-wpseo-enable_enhanced_slack_sharing",inputId:"input-wpseo-enable_enhanced_slack_sharing",imageSrc:"/images/slack_sharing.png",imageAlt:Object(Qe.__)("Slack sharing","wordpress-seo")},Object(s.createElement)(c.Title,{as:"h3"},Object(Qe.__)("Slack sharing","wordpress-seo")),Object(s.createElement)("p",null,Object(Qe.__)("This adds an author byline and reading time estimate to the article’s snippet when shared on Slack.","wordpress-seo")),Object(s.createElement)(va,{id:"link-slack-sharing",link:"https://yoa.st/help-slack-share"})))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)("fieldset",{className:"yst-min-w-0"},Object(s.createElement)("legend",{className:"yst-sr-only"},Object(Qe.__)("Tools","wordpress-seo")),Object(s.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},Object(s.createElement)(c.Title,{as:"h2",size:"2"},Object(Qe.__)("Tools","wordpress-seo"))),Object(s.createElement)("div",{className:i},Object(s.createElement)(ga,{name:"wpseo.enable_admin_bar_menu",cardId:"card-wpseo-enable_admin_bar_menu",inputId:"input-wpseo-enable_admin_bar_menu",imageSrc:"/images/admin_bar.png",imageAlt:Object(Qe.__)("Admin bar menu","wordpress-seo")},Object(s.createElement)(c.Title,{as:"h3"},Object(Qe.__)("Admin bar menu","wordpress-seo")),Object(s.createElement)("p",null,Object(Qe.sprintf)(// translators: %1$s expands to Yoast. Object(Qe.__)("The %1$s icon in the top admin bar provides quick access to third-party tools for analyzing pages and makes it easy to see if you have new notifications.","wordpress-seo"),"Yoast")),Object(s.createElement)(va,{id:"link-admin-bar",link:"https://yoa.st/site-features-admin-bar"})))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)("fieldset",{className:"yst-min-w-0"},Object(s.createElement)("legend",{className:"yst-sr-only"},Object(Qe.__)("APIs","wordpress-seo")),Object(s.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},Object(s.createElement)(c.Title,{as:"h2",size:"2"},Object(Qe.__)("APIs","wordpress-seo"))),Object(s.createElement)("div",{className:i},Object(s.createElement)(ga,{name:"wpseo.enable_headless_rest_endpoints",cardId:"card-wpseo-enable_headless_rest_endpoints",inputId:"input-wpseo-enable_headless_rest_endpoints",imageSrc:"/images/rest_api.png",imageAlt:Object(Qe.__)("REST API endpoint","wordpress-seo")},Object(s.createElement)(c.Title,{as:"h3"},Object(Qe.__)("REST API endpoint","wordpress-seo")),Object(s.createElement)("p",null,Object(Qe.__)("This Yoast SEO REST API endpoint gives you all the metadata you need for a specific URL. This will make it very easy for headless WordPress sites to use Yoast SEO for all their SEO meta output.","wordpress-seo")),Object(s.createElement)(va,{id:"link-rest-api-endpoint",link:"https://yoa.st/site-features-rest-api-endpoint"})),Object(s.createElement)(ga,{name:"wpseo.enable_xml_sitemap",cardId:"card-wpseo-enable_xml_sitemap",inputId:"input-wpseo-enable_xml_sitemap",imageSrc:"/images/xml_sitemaps.png",imageAlt:Object(Qe.__)("XML sitemaps","wordpress-seo")},Object(s.createElement)(c.Title,{as:"h3"},Object(Qe.__)("XML sitemaps","wordpress-seo")),Object(s.createElement)("p",null,Object(Qe.sprintf)(// translators: %1$s expands to "Yoast SEO". Object(Qe.__)("Enable the %1$s XML sitemaps. A sitemap is a file that lists a website's essential pages to make sure search engines can find and crawl them.","wordpress-seo"),"Yoast SEO")),o&&a&&Object(s.createElement)(c.Button,{as:"a",id:"link-xml-sitemaps",href:t,variant:"secondary",target:"_blank",rel:"noopener",className:"yst-self-start"},Object(Qe.__)("View the XML sitemap","wordpress-seo"),Object(s.createElement)(_a.a,{className:"yst--mr-1 yst-ml-1 yst-h-5 yst-w-5 yst-text-slate-400"})),Object(s.createElement)(va,{id:"link-xml-sitemaps",link:"https://yoa.st/2a-"})),Object(s.createElement)(ga,{name:"wpseo.enable_index_now",cardId:"card-wpseo-enable_index_now",inputId:"input-wpseo-enable_index_now",imageSrc:"/images/indexnow.png",imageAlt:Object(Qe.__)("IndexNow","wordpress-seo"),isPremiumFeature:!0,isPremiumLink:"https://yoa.st/get-indexnow"},Object(s.createElement)(c.Title,{as:"h3"},Object(Qe.__)("IndexNow","wordpress-seo")),Object(s.createElement)("p",null,Object(Qe.__)("Automatically ping search engines like Bing and Yandex whenever you publish, update or delete a post.","wordpress-seo")),Object(s.createElement)(va,{id:"link-index-now",link:"https://yoa.st/index-now-feature"})))))))},Ea=r(238),xa=r(239);const Sa=()=>{const{values:e}=W(),{company_or_person_user_id:t}=e.wpseo_titles,r=ct("selectCanEditUser",[],t),n=ct("selectPreference",[],"supportedPersonSocialProfiles",{}),a=Object(s.useMemo)(()=>({facebook:Object(Qe.__)("Facebook URL","wordpress-seo"),instagram:Object(Qe.__)("Instagram URL","wordpress-seo"),linkedin:Object(Qe.__)("LinkedIn URL","wordpress-seo"),myspace:Object(Qe.__)("MySpace URL","wordpress-seo"),pinterest:Object(Qe.__)("Pinterest URL","wordpress-seo"),soundcloud:Object(Qe.__)("SoundCloud URL","wordpress-seo"),tumblr:Object(Qe.__)("Tumblr URL","wordpress-seo"),twitter:Object(Qe.__)("Twitter username (without @)","wordpress-seo"),youtube:Object(Qe.__)("YouTube URL","wordpress-seo"),wikipedia:Object(Qe.__)("Wikipedia URL","wordpress-seo")}),[]);return Object(s.createElement)(ut,{id:"fieldset-wpseo_social-other_social_urls",title:Object(Qe.__)("Other profiles","wordpress-seo"),description:Object(Qe.__)("Tell us about the other profiles on the web that belong to the person.","wordpress-seo")},Object(oe.map)(n,e=>Object(s.createElement)(Ut,{key:e,as:c.TextField,name:"person_social_profiles."+e,id:"input-person_social_profiles-"+e,label:a[e],placeholder:r&&Object(Qe.sprintf)(Object(Qe.__)("E.g. %1$s","wordpress-seo"),`https://${e}.com/yoast`),readOnly:!r,disabled:!t})))};var ka=()=>{const{values:e}=W(),{website_name:t,company_or_person:r,company_or_person_user_id:n,company_name:a,company_logo_id:o}=e.wpseo_titles,{other_social_urls:i}=e.wpseo_social,l=ct("selectUserById",[n],n),u=ct("selectLink",[],"https://yoa.st/1-p"),d=ct("selectLink",[],"https://yoa.st/3r3"),p=ct("selectPreference",[],"editUserUrl"),m=ct("selectPreference",[],"isLocalSeoActive"),b=ct("selectPreference",[],"companyOrPersonMessage"),f=ct("selectFallback",[],"siteLogoId"),h=ct("selectCanEditUser",[],n);return(()=>{const{addNotification:e}=at(),{values:t,status:r,setStatus:n,setFieldValue:a}=W(),{company_or_person:o,company_or_person_user_id:i}=t.wpseo_titles,l=Object(c.usePrevious)(o),u=Object(c.usePrevious)(i),d=Object(s.useCallback)(()=>{n({...r,isFetchingPersonSocialProfiles:!0}),(async e=>{try{const t=await Ft()({path:"/yoast/v1/configuration/person_social_profiles?user_id="+e});if(null==t||!t.success)throw new Error("Route returned failure.");return(null==t?void 0:t.social_profiles)||{}}catch(e){throw new Error(null==e?void 0:e.message)}})(i).then(e=>{a("person_social_profiles",e)}).catch(t=>{e({id:"social-profiles-error",variant:"error",title:Object(Qe.__)("Oops! Something went wrong while retrieving the person social profiles.","wordpress-seo")}),console.error("Error while fetching the social profiles:",t.message)}).finally(()=>{n({...r,isFetchingPersonSocialProfiles:!1})})},[i,r,n,e]);Object(s.useEffect)(()=>{(l!==o&&"person"===o&&i>0||u!==i&&i>0)&&d()},[l,o,u,i,d])})(),Object(s.createElement)(Yt,{title:Object(Qe.__)("Site representation","wordpress-seo"),description:Object(Pn.a)(Object(Qe.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <a> tags. Object(Qe.__)("This info is intended to appear in %1$sGoogle's Knowledge Graph%2$s.","wordpress-seo"),"<a>","</a>"),u,"link-google-knowledge-graph")},Object(s.createElement)(ft,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(ut,{title:Object(Qe.__)("Organization/person","wordpress-seo"),description:Object(Qe.__)("Choose whether your site represents an organization or a person.","wordpress-seo")},m&&Object(s.createElement)(c.Alert,{id:"alert-local-seo-company-or-person",variant:"info"},b),Object(s.createElement)(c.RadioGroup,{disabled:m},Object(s.createElement)(Z,{as:c.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-company",label:Object(Qe.__)("Organization","wordpress-seo"),value:"company",disabled:m}),Object(s.createElement)(Z,{as:c.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-person",label:Object(Qe.__)("Person","wordpress-seo"),value:"person",disabled:m}))),Object(s.createElement)("section",{className:"yst-space-y-8"}),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)("div",{className:"yst-relative"},Object(s.createElement)(We.a,{show:"company"===r,enter:"yst-transition yst-ease-out yst-duration-300 yst-delay-300",enterFrom:"yst-transform yst-opacity-0 yst-translate-y-4 sm:yst-translate-y-0 sm:yst-scale-90",enterTo:"yst-transform yst-opacity-100 yst-translate-y-0 sm:yst-scale-100",leave:"yst-transition yst-absolute yst-top-0 yst-left-0 yst-ease-out yst-duration-300",leaveFrom:"yst-transform yst-opacity-100 yst-translate-y-0 sm:yst-scale-100",leaveTo:"yst-transform yst-opacity-0 yst-translate-y-4 sm:yst-translate-y-0 sm:yst-scale-90"},Object(s.createElement)(ut,{title:Object(Qe.__)("Organization","wordpress-seo"),description:Object(Qe.__)("Please tell us more about your organization. This information will help Google to understand your website, and improve your chance of getting rich results.","wordpress-seo")},(!a||o<1)&&Object(s.createElement)(c.Alert,{id:"alert-organization-name-logo",variant:"info"},Object(Pn.a)(Object(Qe.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <a> tags. Object(Qe.__)("An organization name and logo need to be set for structured data to work properly. Since you haven’t set these yet, we are using the site name and logo as default values. %1$sLearn more about the importance of structured data%2$s.","wordpress-seo"),"<a>","</a>"),d,"link-structured-data")),Object(s.createElement)(Z,{as:c.TextField,name:"wpseo_titles.company_name",id:"input-wpseo_titles-company_name",label:Object(Qe.__)("Organization name","wordpress-seo"),placeholder:t}),Object(s.createElement)(Z,{as:c.TextField,name:"wpseo_titles.company_alternate_name",id:"input-wpseo_titles-company_alternate_name",label:Object(Qe.__)("Alternate organization name","wordpress-seo"),description:Object(Qe.__)("Use the alternate organization name for acronyms, or a shorter version of your organization's name.","wordpress-seo")}),Object(s.createElement)(gt,{id:"wpseo_titles-company_logo",label:Object(Qe.__)("Organization logo","wordpress-seo"),variant:"square",previewLabel:Object(s.createInterpolateElement)(Object(Qe.sprintf)(// translators: %1$s expands to an opening strong tag. Object(Qe.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","696x696px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.company_logo",mediaIdName:"wpseo_titles.company_logo_id",fallbackMediaId:f})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{id:"fieldset-wpseo_social-other_social_urls",title:Object(Qe.__)("Other profiles","wordpress-seo"),description:Object(Qe.__)("Tell us if you have any other profiles on the web that belong to your organization. This can be any number of profiles, like YouTube, LinkedIn, Pinterest, or even Wikipedia.","wordpress-seo")},Object(s.createElement)(Ut,{as:c.TextField,name:"wpseo_social.facebook_site",id:"input-wpseo_social-facebook_site",label:Object(Qe.__)("Facebook","wordpress-seo"),placeholder:Object(Qe.__)("E.g. https://facebook.com/yoast","wordpress-seo")}),Object(s.createElement)(Ut,{as:c.TextField,name:"wpseo_social.twitter_site",id:"input-wpseo_social-twitter_site",label:Object(Qe.__)("Twitter","wordpress-seo"),placeholder:Object(Qe.__)("E.g. https://twitter.com/yoast","wordpress-seo")}),Object(s.createElement)(ae,{name:"wpseo_social.other_social_urls"},e=>Object(s.createElement)(s.Fragment,null,i.map((t,r)=>Object(s.createElement)(We.a,{key:"wpseo_social.other_social_urls."+r,as:s.Fragment,appear:!0,show:!0,enter:"yst-transition yst-ease-out yst-duration-300",enterFrom:"yst-transform yst-opacity-0",enterTo:"yst-transform yst-opacity-100",leave:"yst-transition yst-ease-out yst-duration-300",leaveFrom:"yst-transform yst-opacity-100",leaveTo:"yst-transform yst-opacity-0"},Object(s.createElement)("div",{className:"yst-w-full yst-flex yst-items-start yst-gap-2"},Object(s.createElement)(Ut,{as:c.TextField,name:"wpseo_social.other_social_urls."+r,id:"input-wpseo_social-other_social_urls-"+r,label:Object(Qe.sprintf)(Object(Qe.__)("Other profile %1$s","wordpress-seo"),r+1),placeholder:Object(Qe.__)("E.g. https://example.com/yoast","wordpress-seo"),className:"yst-grow"}),Object(s.createElement)(c.Button,{variant:"secondary",onClick:e.remove.bind(null,r),className:"yst-mt-7 yst-p-2.5"},Object(s.createElement)(Ea.a,{className:"yst-h-5 yst-w-5"}))))),Object(s.createElement)(c.Button,{id:"button-add-social-profile",variant:"secondary",onClick:e.push.bind(null,"")},Object(s.createElement)(xa.a,{className:"yst--ml-1 yst-mr-1 yst-h-5 yst-w-5 yst-text-slate-400"}),Object(Qe.__)("Add another profile","wordpress-seo")))))),Object(s.createElement)(We.a,{show:"person"===r,enter:"yst-transition yst-ease-out yst-duration-300 yst-delay-300",enterFrom:"yst-transform yst-opacity-0 yst-translate-y-4 sm:yst-translate-y-0 sm:yst-scale-90",enterTo:"yst-transform yst-opacity-100 yst-translate-y-0 sm:yst-scale-100",leave:"yst-transition yst-absolute yst-top-0 yst-left-0 yst-ease-out yst-duration-300",leaveFrom:"yst-transform yst-opacity-100 yst-translate-y-0 sm:yst-scale-100",leaveTo:"yst-transform yst-opacity-0 yst-translate-y-4 sm:yst-translate-y-0 sm:yst-scale-90"},Object(s.createElement)(ut,{title:Object(Qe.__)("Personal info","wordpress-seo"),description:Object(Qe.__)("Please tell us more about the person this site represents.","wordpress-seo")},Object(s.createElement)(It,{name:"wpseo_titles.company_or_person_user_id",id:"input-wpseo_titles-company_or_person_user_id",label:Object(Qe.__)("Select a user","wordpress-seo")}),!Object(oe.isEmpty)(l)&&Object(s.createElement)(c.Alert,{id:"alert-person-user-profile"},h&&Object(s.createInterpolateElement)(Object(Qe.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <span> tags. Object(Qe.__)("You have selected the user %1$s%5$s%2$s as the person this site represents. Their user profile information will now be used in search results. %3$sUpdate their profile to make sure the information is correct%4$s.","wordpress-seo"),"<strong>","</strong>","<a>","</a>",null==l?void 0:l.name),{strong:Object(s.createElement)("strong",{className:"yst-font-medium"}),a:Object(s.createElement)("a",{id:"link-person-user-profile",href:`${p}?user_id=${null==l?void 0:l.id}`,target:"_blank",rel:"noopener noreferrer"})}),!h&&Object(s.createInterpolateElement)(Object(Qe.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <span> tags. Object(Qe.__)("You have selected the user %1$s%3$s%2$s as the person this site represents. Their user profile information will now be used in search results. We're sorry, you're not allowed to edit this user's profile. Please contact your admin or %1$s%3$s%2$s to check and/or update the information below.","wordpress-seo"),"<strong>","</strong>",null==l?void 0:l.name),{strong:Object(s.createElement)("strong",{className:"yst-font-medium"})})),Object(s.createElement)(gt,{id:"wpseo_titles-person_logo",label:Object(Qe.__)("Personal logo or avatar","wordpress-seo"),variant:"square",previewLabel:Object(s.createInterpolateElement)(Object(Qe.sprintf)(// translators: %1$s expands to an opening strong tag. Object(Qe.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","696x696px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.person_logo",mediaIdName:"wpseo_titles.person_logo_id",fallbackMediaId:f,disabled:!n})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(Sa,null))))))},Ta=()=>{const e=ct("selectReplacementVariablesFor",[],"search","search"),t=ct("selectRecommendedReplacementVariablesFor",[],"search","search"),r=ct("selectReplacementVariablesFor",[],"404","404"),n=ct("selectRecommendedReplacementVariablesFor",[],"404","404");return Object(s.createElement)(Yt,{title:Object(Qe.__)("Special pages","wordpress-seo")},Object(s.createElement)(ft,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(ut,{title:Object(Qe.__)("Internal search pages","wordpress-seo"),description:Object(Qe.__)("Determine how the title of your internal search pages should look in the browser.","wordpress-seo")},Object(s.createElement)(Et,{type:"title",name:"wpseo_titles.title-search-wpseo",fieldId:"input-wpseo_titles-title-search-wpseo",label:Object(Qe.__)("Page title","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(ut,{title:Object(Qe.__)("404 error pages","wordpress-seo"),description:Object(Qe.__)("Determine how the title of your 404 error pages should look in the browser.","wordpress-seo")},Object(s.createElement)(Et,{type:"title",name:"wpseo_titles.title-404-wpseo",fieldId:"input-wpseo_titles-title-404-wpseo",label:Object(Qe.__)("Page title","wordpress-seo"),replacementVariables:r,recommendedReplacementVariables:n})))))};const Fa=/content=(['"])?(?<content>[^'"> ]+)(?:\1|[ />])/,La=e=>{var t;const r=e.target.value.match(Fa);return null!=r&&null!==(t=r.groups)&&void 0!==t&&t.content?r.groups.content:e.target.value},Pa=Dt(Ct);var Aa=()=>{const e=ct("selectPreference",[],"siteUrl");return Object(s.createElement)(Yt,{title:Object(Qe.__)("Site connections","wordpress-seo"),description:Object(Qe.__)("Verify your site with different tools. This will add a verification meta tag to your homepage. You can find instructions on how to verify your site for each platform by following the link in the description.","wordpress-seo")},Object(s.createElement)(ft,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)("fieldset",{className:"yst-min-width-0 yst-max-w-screen-sm yst-space-y-8"},Object(s.createElement)(Pa,{as:c.TextField,type:"text",name:"wpseo.baiduverify",id:"input-wpseo-baiduverify",label:Object(Qe.__)("Baidu","wordpress-seo"),description:Object(Pn.a)(Object(Qe.sprintf)(Object(Qe.__)("Get your verification code in %1$sBaidu Webmaster tools%2$s.","wordpress-seo"),"<a>","</a>"),"https://ziyuan.baidu.com/site","link-baidu-webmaster-tools"),placeholder:Object(Qe.__)("Add verification code","wordpress-seo"),transformValue:La}),Object(s.createElement)(Pa,{as:c.TextField,type:"text",name:"wpseo.msverify",id:"input-wpseo-msverify",label:Object(Qe.__)("Bing","wordpress-seo"),description:Object(Pn.a)(Object(Qe.sprintf)(Object(Qe.__)("Get your verification code in %1$sBing Webmaster tools%2$s.","wordpress-seo"),"<a>","</a>"),"https://www.bing.com/toolbox/webmaster/#/Dashboard/?url="+e,"link-bing-webmaster-tools"),placeholder:Object(Qe.__)("Add verification code","wordpress-seo"),transformValue:La}),Object(s.createElement)(Pa,{as:c.TextField,type:"text",name:"wpseo.googleverify",id:"input-wpseo-googleverify",label:Object(Qe.__)("Google","wordpress-seo"),description:Object(Pn.a)(Object(Qe.sprintf)(Object(Qe.__)("Get your verification code in %1$sGoogle Search console%2$s.","wordpress-seo"),"<a>","</a>"),Object(Lt.addQueryArgs)("https://www.google.com/webmasters/verification/verification",{hl:"en",tid:"alternate",siteUrl:e}),"link-google-search-console"),placeholder:Object(Qe.__)("Add verification code","wordpress-seo"),transformValue:La}),Object(s.createElement)(Pa,{as:c.TextField,type:"text",name:"wpseo_social.pinterestverify",id:"input-wpseo_social-pinterestverify",label:Object(Qe.__)("Pinterest","wordpress-seo"),description:Object(Pn.a)(Object(Qe.sprintf)(Object(Qe.__)("Claim your site over at %1$sPinterest%2$s.","wordpress-seo"),"<a>","</a>"),"https://www.pinterest.com/settings/claim","link-pinterest"),placeholder:Object(Qe.__)("Add verification code","wordpress-seo"),transformValue:La}),Object(s.createElement)(Pa,{as:c.TextField,type:"text",name:"wpseo.yandexverify",id:"input-wpseo-yandexverify",label:Object(Qe.__)("Yandex","wordpress-seo"),description:Object(Pn.a)(Object(Qe.sprintf)(Object(Qe.__)("Get your verification code in %1$sYandex Webmaster tools%2$s.","wordpress-seo"),"<a>","</a>"),"https://webmaster.yandex.com/sites/add/","link-yandex-webmaster-tools"),placeholder:Object(Qe.__)("Add verification code","wordpress-seo"),transformValue:La})))))};const Ra=e=>{let{postTypes:t,taxonomies:r,idSuffix:n=""}=e;const a=Object(c.useSvgAria)(),o=Object(s.useCallback)(e=>{let{show:t,toggle:r,ariaProps:n}=e;const o=Object(s.useMemo)(()=>t?qe:He,[t]);return Object(s.createElement)("div",{className:"yst-relative"},Object(s.createElement)("hr",{className:"yst-absolute yst-inset-x-0 yst-top-1/2 yst-bg-slate-200"}),Object(s.createElement)("button",ze()({className:"yst-relative yst-flex yst-items-center yst-gap-2 yst-px-2.5 yst-py-1 yst-mx-auto yst-text-xs yst-font-medium yst-text-slate-700 yst-bg-slate-50 yst-rounded-full yst-border yst-border-slate-300 hover:yst-bg-white hover:yst-text-slate-800 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-primary-500 focus:yst-ring-offset-2",onClick:r},n),t?Object(Qe.__)("Show less","wordpress-seo"):Object(Qe.__)("Show more","wordpress-seo"),Object(s.createElement)(o,ze()({className:"yst-h-4 yst-w-4 yst-flex-shrink-0 yst-text-slate-400 group-hover:yst-text-slate-500 yst-stroke-3"},a))))},[]);return Object(s.createElement)(s.Fragment,null,Object(s.createElement)("header",{className:"yst-px-3 yst-mb-6 yst-space-y-6"},Object(s.createElement)(Ue,{to:"/",className:"yst-inline-block"},Object(s.createElement)(Ln,ze()({className:"yst-w-40"},a))),Object(s.createElement)(Ys,null)),Object(s.createElement)("div",{className:"yst-px-0.5 yst-space-y-6"},Object(s.createElement)(mn.MenuItem,{id:"menu-site-settings"+(n&&"-"+n),icon:Ge,label:Object(Qe.__)("General","wordpress-seo")},Object(s.createElement)(mn.SubmenuItem,{to:"/site-features",label:Object(Qe.__)("Site features","wordpress-seo"),idSuffix:n}),Object(s.createElement)(mn.SubmenuItem,{to:"/site-basics",label:Object(Qe.__)("Site basics","wordpress-seo"),idSuffix:n}),Object(s.createElement)(mn.SubmenuItem,{to:"/site-representation",label:Object(Qe.__)("Site representation","wordpress-seo"),idSuffix:n}),Object(s.createElement)(mn.SubmenuItem,{to:"/site-connections",label:Object(Qe.__)("Site connections","wordpress-seo"),idSuffix:n})),Object(s.createElement)(mn.MenuItem,{id:"menu-content-settings"+(n&&"-"+n),icon:Ye,label:Object(Qe.__)("Content types","wordpress-seo")},Object(s.createElement)(c.ChildrenLimiter,{limit:5,renderButton:o},Object(s.createElement)(mn.SubmenuItem,{to:"/homepage",label:Object(Qe.__)("Homepage","wordpress-seo"),idSuffix:n}),Object(oe.map)(t,e=>{let{name:t,route:r,label:a}=e;return Object(s.createElement)(mn.SubmenuItem,{key:"link-post-type-"+t,to:"/post-type/"+r,label:a,idSuffix:n})}))),Object(s.createElement)(mn.MenuItem,{id:"menu-content-settings"+(n&&"-"+n),icon:Ke,label:Object(Qe.__)("Categories & tags","wordpress-seo")},Object(s.createElement)(c.ChildrenLimiter,{limit:5,renderButton:o},Object(oe.map)(r,e=>Object(s.createElement)(mn.SubmenuItem,{to:"/taxonomy/"+e.route,label:e.label,idSuffix:n})))),Object(s.createElement)(mn.MenuItem,{id:"menu-advanced-settings"+(n&&"-"+n),icon:Xe,label:Object(Qe.__)("Advanced","wordpress-seo"),defaultOpen:!1},Object(s.createElement)(mn.SubmenuItem,{to:"/crawl-optimization",label:Object(s.createElement)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5"},Object(Qe.__)("Crawl optimization","wordpress-seo"),Object(s.createElement)(c.Badge,{variant:"upsell"},"Premium")),idSuffix:n}),Object(s.createElement)(mn.SubmenuItem,{to:"/breadcrumbs",label:Object(Qe.__)("Breadcrumbs","wordpress-seo"),idSuffix:n}),Object(s.createElement)(mn.SubmenuItem,{to:"/author-archives",label:Object(Qe.__)("Author archives","wordpress-seo"),idSuffix:n}),Object(s.createElement)(mn.SubmenuItem,{to:"/date-archives",label:Object(Qe.__)("Date archives","wordpress-seo"),idSuffix:n}),Object(s.createElement)(mn.SubmenuItem,{to:"/format-archives",label:Object(Qe.__)("Format archives","wordpress-seo"),idSuffix:n}),Object(s.createElement)(mn.SubmenuItem,{to:"/special-pages",label:Object(Qe.__)("Special pages","wordpress-seo"),idSuffix:n}),Object(s.createElement)(mn.SubmenuItem,{to:"/media-pages",label:Object(Qe.__)("Media pages","wordpress-seo"),idSuffix:n}),Object(s.createElement)(mn.SubmenuItem,{to:"/rss",label:Object(Qe.__)("RSS","wordpress-seo"),idSuffix:n}))))};Ra.propTypes={postTypes:rt.a.object.isRequired,taxonomies:rt.a.object.isRequired,idSuffix:rt.a.string};const Ia=()=>{const e=ct("selectLink",[],"https://yoa.st/17h"),t=ct("selectUpsellSettingsAsProps");return Object(s.createElement)("div",{className:"yst-p-6 xl:yst-max-w-3xl yst-rounded-lg yst-bg-white yst-shadow"},Object(s.createElement)(c.Title,{as:"h2",size:"4",className:"yst-text-xl yst-text-primary-500"},Object(Qe.sprintf)( /* translators: %s expands to "Yoast SEO" Premium */ Object(Qe.__)("Upgrade to %s","wordpress-seo"),"Yoast SEO Premium")),Object(s.createElement)("ul",{className:"yst-grid yst-grid-cols-1 sm:yst-grid-cols-2 yst-gap-x-6 yst-list-disc yst-pl-[1em] yst-list-outside yst-text-slate-800 yst-mt-6"},Object(s.createElement)("li",null,Object(s.createElement)("span",{className:"yst-font-semibold"},Object(Qe.__)("Multiple keyphrases","wordpress-seo")),": ",Object(Qe.__)("Increase your SEO reach","wordpress-seo")),Object(s.createElement)("li",null,Object(s.createElement)("span",{className:"yst-font-semibold"},Object(Qe.__)("No more dead links","wordpress-seo")),": ",Object(Qe.__)("Easy redirect manager","wordpress-seo")),Object(s.createElement)("li",null,Object(s.createElement)("span",{className:"yst-font-semibold"},Object(Qe.__)("Superfast internal linking suggestions","wordpress-seo"))),Object(s.createElement)("li",null,Object(s.createElement)("span",{className:"yst-font-semibold"},Object(Qe.__)("Social media preview","wordpress-seo")),": ",Object(Qe.__)("Facebook & Twitter","wordpress-seo")),Object(s.createElement)("li",null,Object(s.createElement)("span",{className:"yst-font-semibold"},Object(Qe.__)("24/7 email support","wordpress-seo"))),Object(s.createElement)("li",null,Object(s.createElement)("span",{className:"yst-font-semibold"},Object(Qe.__)("No ads!","wordpress-seo")))),Object(s.createElement)(c.Button,ze()({as:"a",variant:"upsell",size:"large",href:e,className:"yst-gap-2 yst-mt-4",target:"_blank",rel:"noopener"},t),Object(Qe.sprintf)( /* translators: %s expands to "Yoast SEO" Premium */ Object(Qe.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),Object(s.createElement)(Je.a,{className:"yst-w-4 yst-h-4"})))};var Ma=()=>{const{pathname:e}=Le(),t=ct("selectPostTypes"),r=ct("selectTaxonomies"),n=ct("selectPreference",[],"isPremium");(()=>{const{hash:e,pathname:t}=Le();Object(s.useEffect)(()=>{var t;const r=e.replace("#",""),s=document.getElementById(r)||(null===(t=document.querySelectorAll(`[data-id="${r}"]`))||void 0===t?void 0:t[0]);if(s)window.scrollTo({top:s.getBoundingClientRect().top+window.scrollY-96,behavior:"smooth"}),setTimeout(()=>s.focus(),800);else{const e=document.getElementById("yoast-seo-settings");null==e||e.scrollIntoView({behavior:"smooth"})}},[t,e])})();const{dirty:a}=W();return Object(c.useBeforeUnload)(a,Object(Qe.__)("There are unsaved changes on this page. Leaving means that those changes will be lost. Are you sure you want to leave this page?","wordpress-seo")),Object(s.createElement)(s.Fragment,null,Object(s.createElement)(zt,null),Object(s.createElement)(mn,{activePath:e},Object(s.createElement)(mn.Mobile,{openButtonScreenReaderText:Object(Qe.__)("Open sidebar","wordpress-seo"),closeButtonScreenReaderText:Object(Qe.__)("Close sidebar","wordpress-seo")},Object(s.createElement)(Ra,{idSuffix:"mobile",postTypes:t,taxonomies:r})),Object(s.createElement)("div",{className:"yst-p-4 min-[783px]:yst-p-8 yst-flex yst-gap-4"},Object(s.createElement)("aside",{className:"yst-sidebar yst-sidebar-nav yst-shrink-0 yst-hidden min-[783px]:yst-block yst-pb-6 yst-bottom-0 yst-w-56"},Object(s.createElement)(mn.Sidebar,null,Object(s.createElement)(Ra,{postTypes:t,taxonomies:r}))),Object(s.createElement)("div",{className:et()("yst-flex yst-grow yst-flex-wrap",!n&&"xl:yst-pr-[17.5rem]")},Object(s.createElement)("div",{className:"yst-grow yst-space-y-6 yst-mb-6 xl:yst-mb-0"},Object(s.createElement)("main",{className:"yst-rounded-lg yst-bg-white yst-shadow"},Object(s.createElement)(c.ErrorBoundary,{FallbackComponent:Tn},Object(s.createElement)(We.a,{key:e,appear:!0,show:!0,enter:"yst-transition-opacity yst-delay-100 yst-duration-300",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100"},Object(s.createElement)(Ce,null,Object(s.createElement)(Ie,{path:"author-archives",element:Object(s.createElement)(ta,null)}),Object(s.createElement)(Ie,{path:"breadcrumbs",element:Object(s.createElement)(ra,null)}),Object(s.createElement)(Ie,{path:"crawl-optimization",element:Object(s.createElement)(ia,null)}),Object(s.createElement)(Ie,{path:"date-archives",element:Object(s.createElement)(la,null)}),Object(s.createElement)(Ie,{path:"homepage",element:Object(s.createElement)(ba,null)}),Object(s.createElement)(Ie,{path:"format-archives",element:Object(s.createElement)(da,null)}),Object(s.createElement)(Ie,{path:"media-pages",element:Object(s.createElement)(fa,null)}),Object(s.createElement)(Ie,{path:"rss",element:Object(s.createElement)(ya,null)}),Object(s.createElement)(Ie,{path:"site-basics",element:Object(s.createElement)(wa,null)}),Object(s.createElement)(Ie,{path:"site-connections",element:Object(s.createElement)(Aa,null)}),Object(s.createElement)(Ie,{path:"site-representation",element:Object(s.createElement)(ka,null)}),Object(s.createElement)(Ie,{path:"site-features",element:Object(s.createElement)(ja,null)}),Object(s.createElement)(Ie,{path:"special-pages",element:Object(s.createElement)(Ta,null)}),Object(s.createElement)(Ie,{path:"post-type"},Object(oe.map)(t,e=>Object(s.createElement)(Ie,{key:"route-post-type-"+e.name,path:e.route,element:Object(s.createElement)(Mn,e)}))),Object(s.createElement)(Ie,{path:"taxonomy"},Object(oe.map)(r,e=>Object(s.createElement)(Ie,{key:"route-taxonomy-"+e.name,path:e.route,element:Object(s.createElement)($n,e)}))),Object(s.createElement)(Ie,{path:"*",element:Object(s.createElement)(Re,{to:"/site-features",replace:!0})}))))),!n&&Object(s.createElement)(Ia,null)),!n&&Object(s.createElement)(En,null)))))},Ca=r(221),Na=r(61);const $a=()=>Object(oe.get)(window,"wpseoScriptData.postTypes",{}),Da=Object(Na.createSlice)({name:"postTypes",initialState:$a(),reducers:{}}),Ua={selectPostType:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(oe.get)(e,"postTypes."+t,r)},selectAllPostTypes:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const r=Object(oe.get)(e,"postTypes",{});return t?Object(oe.pick)(r,t):r}};Ua.selectPostTypes=Object(Ca.a)(Ua.selectAllPostTypes,e=>Object(oe.omit)(e,["attachment"]));const Va=Da.actions;var Ba=Da.reducer;const za=()=>{var e;return{...Object(oe.get)(window,"wpseoScriptData.preferences",{}),documentTitle:Object(oe.defaultTo)(null===(e=document)||void 0===e?void 0:e.title,"")}},Wa=Object(Na.createSlice)({name:"preferences",initialState:za(),reducers:{}}),qa={selectPreference:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(oe.get)(e,"preferences."+t,r)},selectPreferences:e=>Object(oe.get)(e,"preferences",{})};qa.selectHasPageForPosts=Object(Ca.a)([e=>qa.selectPreference(e,"homepageIsLatestPosts"),e=>qa.selectPreference(e,"homepagePostsEditUrl")],(e,t)=>!e&&!Object(oe.isEmpty)(t)),qa.selectCanEditUser=Object(Ca.a)([e=>qa.selectPreference(e,"currentUserId",-1),e=>qa.selectPreference(e,"canEditUsers",!1),(e,t)=>t],(e,t,r)=>e===r||t),qa.selectExampleUrl=Object(Ca.a)([e=>qa.selectPreference(e,"siteUrl","https://example.com"),(e,t)=>t],(e,t)=>e+t),qa.selectPluginUrl=Object(Ca.a)([e=>qa.selectPreference(e,"pluginUrl","https://example.com"),(e,t)=>t],(e,t)=>e+t),qa.selectUpsellSettingsAsProps=Object(Ca.a)([e=>qa.selectPreference(e,"upsellSettings",{}),function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"premiumCtbId";return t}],(e,t)=>({"data-action":null==e?void 0:e.actionId,"data-ctb-id":null==e?void 0:e[t]}));const Ha=Wa.actions;var Ga=Wa.reducer;const Ya=()=>Object(oe.reduce)(Object(oe.get)(window,"wpseoScriptData.taxonomies",{}),(e,t,r)=>{let{postTypes:s,...n}=t;return{...e,[r]:{...n,postTypes:Object(oe.values)(s)}}},{}),Ka=Object(Na.createSlice)({name:"taxonomies",initialState:Ya(),reducers:{}}),Xa={selectTaxonomy:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(oe.get)(e,"taxonomies."+t,r)},selectAllTaxonomies:e=>Object(oe.get)(e,"taxonomies",{})};Xa.selectTaxonomies=Object(Ca.a)(Xa.selectAllTaxonomies,e=>Object(oe.omit)(e,["post_format"]));const Ja=Ka.actions;var Qa=Ka.reducer;const Za={selectBreadcrumbsForPostTypes:Object(Ca.a)([Xa.selectAllTaxonomies,Ua.selectAllPostTypes],(e,t)=>{const r={value:0,label:Object(Qe.__)("None","wordpress-seo")},s={};return Object(oe.forEach)(t,(t,n)=>{const a=Object(oe.filter)(e,e=>Object(oe.includes)(e.postTypes,n));Object(oe.isEmpty)(a)||(s[n]={...t,options:[r,...Object(oe.map)(a,e=>{let{name:t,label:r}=e;return{value:t,label:r}})]})}),s}),selectBreadcrumbsForTaxonomies:Object(Ca.a)([Xa.selectAllTaxonomies,Ua.selectAllPostTypes,qa.selectHasPageForPosts],(e,t,r)=>{let s=[{value:0,label:Object(Qe.__)("None","wordpress-seo")}];r&&s.push({value:"post",label:Object(Qe.__)("Blog","wordpress-seo")});const n=Object(oe.filter)(t,e=>{let{hasArchive:t}=e;return t});return s=s.concat(Object(oe.map)(n,e=>{let{name:t,label:r}=e;return{value:t,label:r}})),Object(oe.mapValues)(e,e=>({name:e.name,label:e.label,options:s}))})},eo=()=>({...Object(oe.get)(window,"wpseoScriptData.defaultSettingValues",{})}),to=Object(Na.createSlice)({name:"defaultSettingValues",initialState:eo(),reducers:{}}),ro={selectDefaultSettingValue:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(oe.get)(e,"defaultSettingValues."+t,r)},selectDefaultSettingValues:e=>Object(oe.get)(e,"defaultSettingValues",{})},so=to.actions;var no=to.reducer;const ao=()=>Object(oe.get)(window,"wpseoScriptData.fallbacks",{}),oo=Object(Na.createSlice)({name:"fallbacks",initialState:ao(),reducers:{}}),io={selectFallback:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(oe.get)(e,"fallbacks."+t,r)},selectFallbacks:e=>Object(oe.get)(e,"fallbacks",{})},co=oo.actions;var lo=oo.reducer;const uo=()=>Object(oe.get)(window,"wpseoScriptData.linkParams",{}),po=Object(Na.createSlice)({name:"linkParams",initialState:uo(),reducers:{}}),mo={selectLinkParam:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(oe.get)(e,"linkParams."+t,r)},selectLinkParams:e=>Object(oe.get)(e,"linkParams",{})};mo.selectLink=Object(Ca.a)([mo.selectLinkParams,(e,t)=>t],(e,t)=>Object(Lt.addQueryArgs)(t,e));const bo=po.actions;var fo=po.reducer;const ho=Object(Na.createEntityAdapter)(),yo=()=>ho.getInitialState({status:"idle",error:""}),Oo=e=>{var t,r;return{id:null==e?void 0:e.id,title:(null==e||null===(t=e.title)||void 0===t?void 0:t.rendered)||(null==e?void 0:e.title),slug:(null==e?void 0:e.slug)||(null==e?void 0:e.name),alt:(null==e?void 0:e.alt_text)||(null==e?void 0:e.alt),url:(null==e?void 0:e.source_url)||(null==e?void 0:e.url),type:(null==e?void 0:e.media_type)||(null==e?void 0:e.type),mime:(null==e?void 0:e.mime_type)||(null==e?void 0:e.mime),author:null==e?void 0:e.author,sizes:Object(oe.mapValues)((null==e?void 0:e.sizes)||(null==e||null===(r=e.media_details)||void 0===r?void 0:r.sizes),e=>({url:(null==e?void 0:e.url)||(null==e?void 0:e.source_url),width:null==e?void 0:e.width,height:null==e?void 0:e.height}),{})}},wo=Object(Na.createSlice)({name:"media",initialState:yo(),reducers:{addOneMedia:{reducer:ho.addOne,prepare:e=>({payload:Oo(e)})},addManyMedia:{reducer:ho.addMany,prepare:e=>({payload:Object(oe.map)(e,Oo)})}},extraReducers:e=>{e.addCase("fetchMedia/request",e=>{e.status="loading"}),e.addCase("fetchMedia/success",(e,t)=>{e.status="success",ho.addMany(e,Object(oe.map)(t.payload,Oo))}),e.addCase("fetchMedia/error",(e,t)=>{e.status="error",e.error=t.payload})}}),_o=ho.getSelectors(e=>e.media),go={selectMediaIds:_o.selectIds,selectMediaById:_o.selectById,selectIsMediaLoading:e=>"loading"===Object(oe.get)(e,"media.status","idle")},vo={...wo.actions,fetchMedia:function*(e){yield{type:"fetchMedia/request"};try{return{type:"fetchMedia/success",payload:yield{type:"fetchMedia",payload:{per_page:100,include:e}}}}catch(e){return{type:"fetchMedia/error",payload:e}}}},jo={fetchMedia:async e=>{let{payload:t}=e;return Ft()({path:"/wp/v2/media?"+Object(Lt.buildQueryString)(t)})}};var Eo=wo.reducer;const xo=Object(Na.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,t)=>{let{payload:r}=t;e[r.id]={id:r.id,variant:r.variant,size:r.size,title:r.title,description:r.description}},prepare:e=>{let{id:t,variant:r="info",size:s="default",title:n,description:a}=e;return{payload:{id:t||Object(Na.nanoid)(),variant:r,size:s,title:n,description:a}}}},removeNotification:(e,t)=>{let{payload:r}=t;return Object(oe.omit)(e,r)}}}),So={selectNotifications:e=>Object(oe.get)(e,"notifications",{}),selectNotification:(e,t)=>Object(oe.get)(e,"notifications."+t,null)},ko=xo.actions;var To=xo.reducer;const Fo=()=>({recommended:Object(oe.get)(window,"wpseoScriptData.replacementVariables.recommended",{}),shared:Object(oe.get)(window,"wpseoScriptData.replacementVariables.shared",[]),specific:Object(oe.get)(window,"wpseoScriptData.replacementVariables.specific",{}),variables:Object(oe.get)(window,"wpseoScriptData.replacementVariables.variables",[])}),Lo=Object(Na.createSlice)({name:"replacementVariables",initialState:Fo(),reducers:{}}),Po={selectRecommendedReplacementVariables:e=>Object(oe.get)(e,"replacementVariables.recommended",{}),selectSharedReplacementVariables:e=>Object(oe.get)(e,"replacementVariables.shared",[]),selectSpecificReplacementVariables:e=>Object(oe.get)(e,"replacementVariables.specific",{}),selectReplacementVariables:e=>Object(oe.get)(e,"replacementVariables.variables",[])};Po.selectSpecificReplacementVariablesFor=Object(Ca.a)([Po.selectSharedReplacementVariables,Po.selectSpecificReplacementVariables,(e,t)=>t,(e,t,r)=>r],(e,t,r,s)=>[...e,...Object(oe.get)(t,r,Object(oe.get)(t,s,[]))]),Po.selectReplacementVariablesFor=Object(Ca.a)([Po.selectReplacementVariables,Po.selectSpecificReplacementVariablesFor],(e,t)=>Object(oe.filter)(e,e=>{let{name:r}=e;return Object(oe.includes)(t,r)})),Po.selectRecommendedReplacementVariablesFor=Object(Ca.a)([Po.selectRecommendedReplacementVariables,(e,t)=>t,(e,t,r)=>r],(e,t,r)=>Object(oe.get)(e,t,Object(oe.get)(e,r,[])));const Ao=Lo.actions;var Ro=Lo.reducer;const Io=(e,t)=>{ // translators: %1$s expands to the schema type, e.g. "Web Page" or "Blog Post". const r=Object(Qe.__)("%1$s (default)","wordpress-seo");return e.map(e=>{let{label:s,value:n}=e;return{value:n,label:n===t?Object(Qe.sprintf)(r,s):s}})},Mo=()=>({articleTypes:Object(oe.get)(window,"wpseoScriptData.schema.articleTypes",{}),articleTypeDefaults:Object(oe.get)(window,"wpseoScriptData.schema.articleTypeDefaults",{}),pageTypes:Object(oe.get)(window,"wpseoScriptData.schema.pageTypes",{}),pageTypeDefaults:Object(oe.get)(window,"wpseoScriptData.schema.pageTypeDefaults",{})}),Co=Object(Na.createSlice)({name:"schema",initialState:Mo(),reducers:{}}),No={selectSchema:e=>Object(oe.get)(e,"schema",{}),selectArticleTypes:e=>Object(oe.get)(e,"schema.articleTypes",{}),selectArticleTypeDefaults:e=>Object(oe.get)(e,"schema.articleTypeDefaults",{}),selectPageTypes:e=>Object(oe.get)(e,"schema.pageTypes",{}),selectPageTypeDefaults:e=>Object(oe.get)(e,"schema.pageTypeDefaults",{})};No.selectArticleTypeValues=Object(Ca.a)(No.selectArticleTypes,e=>Object(oe.values)(e)),No.selectArticleTypeDefault=Object(Ca.a)([No.selectArticleTypeDefaults,(e,t)=>t],(e,t)=>Object(oe.get)(e,t,"None")),No.selectArticleTypeValuesFor=Object(Ca.a)([No.selectArticleTypeValues,No.selectArticleTypeDefault],(e,t)=>Io(e,t)),No.selectPageTypeValues=Object(Ca.a)(No.selectPageTypes,e=>Object(oe.values)(e)),No.selectPageTypeDefault=Object(Ca.a)([No.selectPageTypeDefaults,(e,t)=>t],(e,t)=>Object(oe.get)(e,t,"WebPage")),No.selectPageTypeValuesFor=Object(Ca.a)([No.selectPageTypeValues,No.selectPageTypeDefault],(e,t)=>Io(e,t));const $o=Co.actions;var Do=Co.reducer;const Uo=(e,t)=>{let{userLocale:r}=t;return vr(Object(oe.join)([...Object(oe.isArray)(null==e?void 0:e.keywords)?e.keywords:[],null==e?void 0:e.routeLabel,null==e?void 0:e.fieldLabel]," "),r)},Vo=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",{userLocale:r}=arguments.length>2?arguments[2]:void 0;return Object(oe.reduce)(e,(e,s,n)=>{const a=Object(oe.join)(Object(oe.filter)([t,n],Boolean),".");return"other_social_urls"===n?{...e,[a]:{route:null==s?void 0:s.route,routeLabel:null==s?void 0:s.routeLabel,fieldId:null==s?void 0:s.fieldId,fieldLabel:null==s?void 0:s.fieldLabel,keywords:Uo(s,{userLocale:r})}}:null!=s&&s.route?{...e,[a]:{...s,keywords:Uo(s,{userLocale:r})}}:{...e,...Vo(s,a,{userLocale:r})}},{})},Bo=()=>{const e=Object(oe.get)(window,"wpseoScriptData.postTypes",{}),t=Object(oe.get)(window,"wpseoScriptData.taxonomies",{}),r=Object(oe.get)(window,"wpseoScriptData.preferences.userLocale",{});return{index:Sr(e,t,{userLocale:r})}},zo=Object(Na.createSlice)({name:"search",initialState:Bo(),reducers:{}}),Wo={selectSearchIndex:e=>Object(oe.get)(e,"search.index",{})};Wo.selectQueryableSearchIndex=Object(Ca.a)([Wo.selectSearchIndex,e=>qa.selectPreference(e,"userLocale")],(e,t)=>Vo(e,"",{userLocale:t}));const qo=zo.actions;var Ho=zo.reducer;const Go=Object(Na.createEntityAdapter)(),Yo=()=>Go.getInitialState({status:"idle",error:""}),Ko=e=>({id:null==e?void 0:e.id,name:Object(oe.trim)(null==e?void 0:e.name)||(null==e?void 0:e.slug)||(null==e?void 0:e.id),slug:null==e?void 0:e.slug}),Xo=Object(Na.createSlice)({name:"users",initialState:Yo(),reducers:{addOneUser:{reducer:Go.addOne,prepare:e=>({payload:Ko(e)})},addManyUsers:{reducer:Go.addMany,prepare:e=>({payload:Object(oe.map)(e,Ko)})}},extraReducers:e=>{e.addCase("fetchUsers/request",e=>{e.status="loading"}),e.addCase("fetchUsers/success",(e,t)=>{e.status="success",Go.addMany(e,Object(oe.map)(t.payload,Ko))}),e.addCase("fetchUsers/error",(e,t)=>{e.status="error",e.error=t.payload})}}),Jo=Go.getSelectors(e=>e.users),Qo={selectUserIds:Jo.selectIds,selectUserById:Jo.selectById,selectUsers:Jo.selectEntities},Zo={...Xo.actions,fetchUsers:function*(e){yield{type:"fetchUsers/request"};try{return{type:"fetchUsers/success",payload:yield{type:"fetchUsers",payload:{...e}}}}catch(e){return{type:"fetchUsers/error",payload:e}}}},ei={fetchUsers:async e=>{let{payload:t}=e;return Ft()({path:"/wp/v2/users?"+Object(Lt.buildQueryString)(t)})}};var ti=Xo.reducer;const ri=e=>{let{initialState:t}=e;return Object(a.createReduxStore)(nt,{actions:{...so,...co,...bo,...vo,...ko,...Va,...Ha,...Ao,...$o,...qo,...Ja,...Zo},selectors:{...Za,...ro,...io,...mo,...go,...So,...Ua,...qa,...Po,...No,...Wo,...Xa,...Qo},initialState:Object(oe.merge)({},{defaultSettingValues:eo(),fallbacks:ao(),linkParams:uo(),media:yo(),notifications:{},postTypes:$a(),preferences:za(),replacementVariables:Fo(),schema:Mo(),search:Bo(),taxonomies:Ya(),users:Yo()},t),reducer:Object(a.combineReducers)({defaultSettingValues:no,fallbacks:lo,linkParams:fo,media:Eo,notifications:To,postTypes:Ba,preferences:Ga,replacementVariables:Ro,schema:Do,search:Ho,taxonomies:Qa,users:ti}),controls:{...jo,...ei}})};i()(()=>{const e=document.getElementById("yoast-seo-settings");if(!e)return;const t=document.createElement("div"),r=t.attachShadow({mode:"open"});document.body.appendChild(t);const o=Object(oe.get)(window,"wpseoScriptData.settings",{}),i=Object(oe.get)(window,"wpseoScriptData.fallbacks",{}),l=Object(oe.get)(window,"wpseoScriptData.postTypes",{}),u=Object(oe.get)(window,"wpseoScriptData.taxonomies",{});(function(){let{initialState:e={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(a.register)(ri({initialState:e}))})(),(async e=>{let{settings:t,fallbacks:r}=e;const s=Object(oe.get)(t,"wpseo_titles",{}),n=Object(oe.filter)([Object(oe.get)(t,"wpseo_social.og_default_image_id","0"),Object(oe.get)(t,"wpseo_titles.open_graph_frontpage_image_id","0"),Object(oe.get)(t,"wpseo_titles.company_logo_id","0"),Object(oe.get)(t,"wpseo_titles.person_logo_id","0"),Object(oe.get)(r,"siteLogoId","0"),...Object(oe.reduce)(s,(e,t,r)=>Object(oe.includes)(r,"social-image-id")?[...e,t]:e,[])],Boolean),o=Object(oe.chunk)(n,100),{fetchMedia:i}=Object(a.dispatch)(nt);Object(oe.forEach)(o,i)})({settings:o,fallbacks:i}),(async e=>{let{settings:t}=e;const r=Object(oe.get)(t,"wpseo_titles.company_or_person_user_id"),{fetchUsers:s}=Object(a.dispatch)(nt);r&&s({include:[r]})})({settings:o});const d=Object(a.select)(nt).selectPreference("isRtl",!1);Object(s.render)(Object(s.createElement)(c.Root,{context:{isRtl:d}},Object(s.createElement)(Ve.StyleSheetManager,{target:r},Object(s.createElement)(n.SlotFillProvider,null,Object(s.createElement)(De,null,Object(s.createElement)(Y,{initialValues:o,validationSchema:Ws(l,u),onSubmit:Tr},Object(s.createElement)(Ma,null)))))),e)})},,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return G}));var s,n,a=r(3),o=r.n(a),i=r(130),c=r(64),l=r(21),u=r(78),d=r(25),p=r(36),m=r(155),b=r(149),f=r(50),h=r(173),y=r(33),O=r(37),w=r(20),_=r(148),g=r(27),v=r(189),j=r(63),E=r(158),x=r(35),S=r(30),k=r(188),T=((n=T||{})[n.Open=0]="Open",n[n.Closed=1]="Closed",n),F=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(F||{}),L=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(L||{}),P=((s=P||{})[s.OpenCombobox=0]="OpenCombobox",s[s.CloseCombobox=1]="CloseCombobox",s[s.GoToOption=2]="GoToOption",s[s.RegisterOption=3]="RegisterOption",s[s.UnregisterOption=4]="UnregisterOption",s[s.RegisterLabel=5]="RegisterLabel",s);function A(e,t=(e=>e)){let r=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,s=Object(j.f)(t(e.options.slice()),e=>e.dataRef.current.domRef.current),n=r?s.indexOf(r):null;return-1===n&&(n=null),{options:s,activeOptionIndex:n}}let R={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:r}=e.dataRef.current,s=e.options.findIndex(e=>r(e.dataRef.current.value));return-1!==s&&(t=s),{...e,comboboxState:0,activeOptionIndex:t}},2(e,t){var r;if(e.dataRef.current.disabled||e.dataRef.current.optionsRef.current&&!e.dataRef.current.optionsPropsRef.current.static&&1===e.comboboxState)return e;let s=A(e);if(null===s.activeOptionIndex){let e=s.options.findIndex(e=>!e.dataRef.current.disabled);-1!==e&&(s.activeOptionIndex=e)}let n=Object(y.b)(t,{resolveItems:()=>s.options,resolveActiveIndex:()=>s.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...s,activeOptionIndex:n,activationTrigger:null!=(r=t.trigger)?r:1}},3:(e,t)=>{let r={id:t.id,dataRef:t.dataRef},s=A(e,e=>[...e,r]);null===e.activeOptionIndex&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(s.activeOptionIndex=s.options.indexOf(r));let n={...e,...s,activationTrigger:1};return e.dataRef.current.__demoMode&&void 0===e.dataRef.current.value&&(n.activeOptionIndex=0),n},4:(e,t)=>{let r=A(e,e=>{let r=e.findIndex(e=>e.id===t.id);return-1!==r&&e.splice(r,1),e});return{...e,...r,activationTrigger:1}},5:(e,t)=>({...e,labelId:t.id})},I=Object(a.createContext)(null);function M(e){let t=Object(a.useContext)(I);if(null===t){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,M),t}return t}I.displayName="ComboboxActionsContext";let C=Object(a.createContext)(null);function N(e){let t=Object(a.useContext)(C);if(null===t){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,N),t}return t}function $(e,t){return Object(g.a)(t.type,R,e,t)}C.displayName="ComboboxDataContext";let D=a.Fragment,U=Object(w.d)((function(e,t){let{value:r,defaultValue:s,onChange:n,name:i,by:c=((e,t)=>e===t),disabled:u=!1,__demoMode:p=!1,nullable:b=!1,multiple:f=!1,...h}=e,[O,_]=Object(k.a)(r,n,s),[j,S]=Object(a.useReducer)($,{dataRef:Object(a.createRef)(),comboboxState:p?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),T=Object(a.useRef)(!1),F=Object(a.useRef)({static:!1,hold:!1}),L=Object(a.useRef)(null),P=Object(a.useRef)(null),A=Object(a.useRef)(null),R=Object(a.useRef)(null),M=Object(l.a)("string"==typeof c?(e,t)=>{let r=c;return(null==e?void 0:e[r])===(null==t?void 0:t[r])}:c),N=Object(a.useCallback)(e=>Object(g.a)(U.mode,{1:()=>O.some(t=>M(t,e)),0:()=>M(O,e)}),[O]),U=Object(a.useMemo)(()=>({...j,optionsPropsRef:F,labelRef:L,inputRef:P,buttonRef:A,optionsRef:R,value:O,disabled:u,mode:f?1:0,get activeOptionIndex(){if(T.current&&null===j.activeOptionIndex&&j.options.length>0){let e=j.options.findIndex(e=>!e.dataRef.current.disabled);if(-1!==e)return e}return j.activeOptionIndex},compare:M,isSelected:N,nullable:b,__demoMode:p}),[O,u,f,b,p,j]);Object(d.a)(()=>{j.dataRef.current=U},[U]),Object(m.a)([U.buttonRef,U.inputRef,U.optionsRef],()=>S({type:1}),0===U.comboboxState);let V=Object(a.useMemo)(()=>({open:0===U.comboboxState,disabled:u,activeIndex:U.activeOptionIndex,activeOption:null===U.activeOptionIndex?null:U.options[U.activeOptionIndex].dataRef.current.value,value:O}),[U,u,O]),B=Object(l.a)(e=>{let t=U.options.find(t=>t.id===e);!t||K(t.dataRef.current.value)}),z=Object(l.a)(()=>{if(null!==U.activeOptionIndex){let{dataRef:e,id:t}=U.options[U.activeOptionIndex];K(e.current.value),S({type:2,focus:y.a.Specific,id:t})}}),W=Object(l.a)(()=>{S({type:0}),T.current=!0}),q=Object(l.a)(()=>{S({type:1}),T.current=!1}),H=Object(l.a)((e,t,r)=>(T.current=!1,e===y.a.Specific?S({type:2,focus:y.a.Specific,id:t,trigger:r}):S({type:2,focus:e,trigger:r}))),G=Object(l.a)((e,t)=>(S({type:3,id:e,dataRef:t}),()=>S({type:4,id:e}))),Y=Object(l.a)(e=>(S({type:5,id:e}),()=>S({type:5,id:null}))),K=Object(l.a)(e=>Object(g.a)(U.mode,{0:()=>null==_?void 0:_(e),1(){let t=U.value.slice(),r=t.findIndex(t=>M(t,e));return-1===r?t.push(e):t.splice(r,1),null==_?void 0:_(t)}})),X=Object(a.useMemo)(()=>({onChange:K,registerOption:G,registerLabel:Y,goToOption:H,closeCombobox:q,openCombobox:W,selectActiveOption:z,selectOption:B}),[]),J=null===t?{}:{ref:t};return o.a.createElement(I.Provider,{value:X},o.a.createElement(C.Provider,{value:U},o.a.createElement(x.a,{value:Object(g.a)(U.comboboxState,{0:x.b.Open,1:x.b.Closed})},null!=i&&null!=O&&Object(v.a)({[i]:O}).map(([e,t])=>o.a.createElement(E.b,{features:E.a.Hidden,...Object(w.c)({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,name:e,value:t})})),Object(w.e)({ourProps:J,theirProps:h,slot:V,defaultTag:D,name:"Combobox"}))))})),V=Object(w.d)((function(e,t){var r,s;let{value:n,onChange:o,displayValue:d,type:p="text",...m}=e,b=N("Combobox.Input"),h=M("Combobox.Input"),O=Object(f.a)(b.inputRef,t),_="headlessui-combobox-input-"+Object(u.a)(),v=Object(c.a)();!function(e,t){let r=Object(a.useRef)([]),s=Object(l.a)(([e,t],[r,s])=>{!b.inputRef.current||(0===s&&1===t||e!==r)&&(b.inputRef.current.value=e)});Object(a.useEffect)(()=>{let e=[...r.current];for(let[n,a]of t.entries())if(r.current[n]!==a){let n=s(t,e);return r.current=t,n}},[s,...t])}(0,[Object(a.useMemo)(()=>{var e;return"function"==typeof d?null!=(e=d(b.value))?e:"":"string"==typeof b.value?b.value:""},[b.value]),b.comboboxState]);let j=Object(l.a)(e=>{switch(e.key){case S.a.Backspace:case S.a.Delete:if(0!==b.mode||!b.nullable)return;let t=e.currentTarget;v.requestAnimationFrame(()=>{""===t.value&&(h.onChange(null),b.optionsRef.current&&(b.optionsRef.current.scrollTop=0),h.goToOption(y.a.Nothing))});break;case S.a.Enter:if(0!==b.comboboxState)return;if(e.preventDefault(),e.stopPropagation(),null===b.activeOptionIndex)return void h.closeCombobox();h.selectActiveOption(),0===b.mode&&h.closeCombobox();break;case S.a.ArrowDown:return e.preventDefault(),e.stopPropagation(),Object(g.a)(b.comboboxState,{0:()=>{h.goToOption(y.a.Next)},1:()=>{h.openCombobox()}});case S.a.ArrowUp:return e.preventDefault(),e.stopPropagation(),Object(g.a)(b.comboboxState,{0:()=>{h.goToOption(y.a.Previous)},1:()=>{h.openCombobox(),v.nextFrame(()=>{b.value||h.goToOption(y.a.Last)})}});case S.a.Home:case S.a.PageUp:return e.preventDefault(),e.stopPropagation(),h.goToOption(y.a.First);case S.a.End:case S.a.PageDown:return e.preventDefault(),e.stopPropagation(),h.goToOption(y.a.Last);case S.a.Escape:return 0!==b.comboboxState?void 0:(e.preventDefault(),b.optionsRef.current&&!b.optionsPropsRef.current.static&&e.stopPropagation(),h.closeCombobox());case S.a.Tab:if(0!==b.comboboxState)return;0===b.mode&&h.selectActiveOption(),h.closeCombobox()}}),E=Object(l.a)(e=>{h.openCombobox(),null==o||o(e)}),x=Object(i.a)(()=>{if(b.labelId)return[b.labelId].join(" ")},[b.labelId]),k=Object(a.useMemo)(()=>({open:0===b.comboboxState,disabled:b.disabled}),[b]),T={ref:O,id:_,role:"combobox",type:p,"aria-controls":null==(r=b.optionsRef.current)?void 0:r.id,"aria-expanded":b.disabled?void 0:0===b.comboboxState,"aria-activedescendant":null===b.activeOptionIndex||null==(s=b.options[b.activeOptionIndex])?void 0:s.id,"aria-multiselectable":1===b.mode||void 0,"aria-labelledby":x,disabled:b.disabled,onKeyDown:j,onChange:E};return Object(w.e)({ourProps:T,theirProps:m,slot:k,defaultTag:"input",name:"Combobox.Input"})})),B=Object(w.d)((function(e,t){var r;let s=N("Combobox.Button"),n=M("Combobox.Button"),o=Object(f.a)(s.buttonRef,t),d="headlessui-combobox-button-"+Object(u.a)(),p=Object(c.a)(),m=Object(l.a)(e=>{switch(e.key){case S.a.ArrowDown:return e.preventDefault(),e.stopPropagation(),1===s.comboboxState&&n.openCombobox(),p.nextFrame(()=>{var e;return null==(e=s.inputRef.current)?void 0:e.focus({preventScroll:!0})});case S.a.ArrowUp:return e.preventDefault(),e.stopPropagation(),1===s.comboboxState&&(n.openCombobox(),p.nextFrame(()=>{s.value||n.goToOption(y.a.Last)})),p.nextFrame(()=>{var e;return null==(e=s.inputRef.current)?void 0:e.focus({preventScroll:!0})});case S.a.Escape:return 0!==s.comboboxState?void 0:(e.preventDefault(),s.optionsRef.current&&!s.optionsPropsRef.current.static&&e.stopPropagation(),n.closeCombobox(),p.nextFrame(()=>{var e;return null==(e=s.inputRef.current)?void 0:e.focus({preventScroll:!0})}));default:return}}),h=Object(l.a)(e=>{if(Object(_.a)(e.currentTarget))return e.preventDefault();0===s.comboboxState?n.closeCombobox():(e.preventDefault(),n.openCombobox()),p.nextFrame(()=>{var e;return null==(e=s.inputRef.current)?void 0:e.focus({preventScroll:!0})})}),O=Object(i.a)(()=>{if(s.labelId)return[s.labelId,d].join(" ")},[s.labelId,d]),g=Object(a.useMemo)(()=>({open:0===s.comboboxState,disabled:s.disabled,value:s.value}),[s]),v=e,j={ref:o,id:d,type:Object(b.a)(e,s.buttonRef),tabIndex:-1,"aria-haspopup":!0,"aria-controls":null==(r=s.optionsRef.current)?void 0:r.id,"aria-expanded":s.disabled?void 0:0===s.comboboxState,"aria-labelledby":O,disabled:s.disabled,onClick:h,onKeyDown:m};return Object(w.e)({ourProps:j,theirProps:v,slot:g,defaultTag:"button",name:"Combobox.Button"})})),z=Object(w.d)((function(e,t){let r=N("Combobox.Label"),s="headlessui-combobox-label-"+Object(u.a)(),n=M("Combobox.Label"),o=Object(f.a)(r.labelRef,t);Object(d.a)(()=>n.registerLabel(s),[s]);let i=Object(l.a)(()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})}),c=Object(a.useMemo)(()=>({open:0===r.comboboxState,disabled:r.disabled}),[r]);return Object(w.e)({ourProps:{ref:o,id:s,onClick:i},theirProps:e,slot:c,defaultTag:"label",name:"Combobox.Label"})})),W=w.a.RenderStrategy|w.a.Static,q=Object(w.d)((function(e,t){var r;let{hold:s=!1,...n}=e,o=N("Combobox.Options"),c=Object(f.a)(o.optionsRef,t),l="headlessui-combobox-options-"+Object(u.a)(),p=Object(x.c)(),m=null!==p?p===x.b.Open:0===o.comboboxState;Object(d.a)(()=>{var t;o.optionsPropsRef.current.static=null!=(t=e.static)&&t},[o.optionsPropsRef,e.static]),Object(d.a)(()=>{o.optionsPropsRef.current.hold=s},[o.optionsPropsRef,s]),Object(h.a)({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 b=Object(i.a)(()=>{var e,t;return null!=(t=o.labelId)?t:null==(e=o.buttonRef.current)?void 0:e.id},[o.labelId,o.buttonRef.current]),y=Object(a.useMemo)(()=>({open:0===o.comboboxState}),[o]),O={"aria-activedescendant":null===o.activeOptionIndex||null==(r=o.options[o.activeOptionIndex])?void 0:r.id,"aria-labelledby":b,role:"listbox",id:l,ref:c};return Object(w.e)({ourProps:O,theirProps:n,slot:y,defaultTag:"ul",features:W,visible:m,name:"Combobox.Options"})})),H=Object(w.d)((function(e,t){var r,s;let{disabled:n=!1,value:o,...i}=e,c=N("Combobox.Option"),m=M("Combobox.Option"),b="headlessui-combobox-option-"+Object(u.a)(),h=null!==c.activeOptionIndex&&c.options[c.activeOptionIndex].id===b,_=c.isSelected(o),g=Object(a.useRef)(null),v=Object(p.a)({disabled:n,value:o,domRef:g,textValue:null==(s=null==(r=g.current)?void 0:r.textContent)?void 0:s.toLowerCase()}),j=Object(f.a)(t,g),E=Object(l.a)(()=>m.selectOption(b));Object(d.a)(()=>m.registerOption(b,v),[v,b]);let x=Object(a.useRef)(!c.__demoMode);Object(d.a)(()=>{if(!c.__demoMode)return;let e=Object(O.a)();return e.requestAnimationFrame(()=>{x.current=!0}),e.dispose},[]),Object(d.a)(()=>{if(0!==c.comboboxState||!h||!x.current||0===c.activationTrigger)return;let e=Object(O.a)();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=g.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[g,h,c.comboboxState,c.activationTrigger,c.activeOptionIndex]);let S=Object(l.a)(e=>{if(n)return e.preventDefault();E(),0===c.mode&&m.closeCombobox()}),k=Object(l.a)(()=>{if(n)return m.goToOption(y.a.Nothing);m.goToOption(y.a.Specific,b)}),T=Object(l.a)(()=>{n||h||m.goToOption(y.a.Specific,b,0)}),F=Object(l.a)(()=>{n||!h||c.optionsPropsRef.current.hold||m.goToOption(y.a.Nothing)}),L=Object(a.useMemo)(()=>({active:h,selected:_,disabled:n}),[h,_,n]);return Object(w.e)({ourProps:{id:b,ref:j,role:"option",tabIndex:!0===n?void 0:-1,"aria-disabled":!0===n||void 0,"aria-selected":_,disabled:void 0,onClick:S,onFocus:k,onPointerMove:T,onMouseMove:T,onPointerLeave:F,onMouseLeave:F},theirProps:i,slot:L,defaultTag:"li",name:"Combobox.Option"})})),G=Object.assign(U,{Input:V,Button:B,Label:z,Options:q,Option:H})}]);