| Server IP : 103.48.194.25 / Your IP : 216.73.216.74 Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33 System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 User : sieuthimay ( 1016) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/sieuthimayasia.com/public_html/wp-content/plugins/wp-smtp/assets/js/ |
Upload File : |
(()=>{"use strict";var e={146:(e,t,r)=>{var n=r(363),o={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},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?i:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var o=h(r);o&&o!==p&&e(t,o,n)}var i=u(r);d&&(i=i.concat(d(r)));for(var s=l(t),m=l(r),v=0;v<i.length;++v){var g=i[v];if(!(a[g]||n&&n[g]||m&&m[g]||s&&s[g])){var y=f(r,g);try{c(t,g,y)}catch(e){}}}}return t}},799:(e,t)=>{var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function C(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case a:case s:case i:case h:return e;default:switch(e=e&&e.$$typeof){case c:case f:case v:case m:case l:return e;default:return t}}case o:return t}}}function x(e){return C(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=f,t.Fragment=a,t.Lazy=v,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=h,t.isAsyncMode=function(e){return x(e)||C(e)===u},t.isConcurrentMode=x,t.isContextConsumer=function(e){return C(e)===c},t.isContextProvider=function(e){return C(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return C(e)===f},t.isFragment=function(e){return C(e)===a},t.isLazy=function(e){return C(e)===v},t.isMemo=function(e){return C(e)===m},t.isPortal=function(e){return C(e)===o},t.isProfiler=function(e){return C(e)===s},t.isStrictMode=function(e){return C(e)===i},t.isSuspense=function(e){return C(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===i||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=C},363:(e,t,r)=>{e.exports=r(799)},20:(e,t,r)=>{var n=r(609),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,a={},c=null,u=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,n)&&!l.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===a[n]&&(a[n]=t[n]);return{$$typeof:o,type:e,key:c,ref:u,props:a,_owner:s.current}}t.Fragment=a,t.jsx=c,t.jsxs=c},848:(e,t,r)=>{e.exports=r(20)},609:e=>{e.exports=window.React}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e=r(609);const t=window.ReactDOM;function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}var o;!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(o||(o={}));const a="popstate";function i(e,t){if(!1===e||null==e)throw new Error(t)}function s(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function l(e,t){return{usr:e.state,key:e.key,idx:t}}function c(e,t,r,o){return void 0===r&&(r=null),n({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?d(t):t,{state:r,key:t&&t.key||o||Math.random().toString(36).substr(2,8)})}function u(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(t+="#"===n.charAt(0)?n:"#"+n),t}function d(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}var f;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(f||(f={}));const h=new Set(["lazy","caseSensitive","path","id","index","children"]);function p(e,t,r,o){return void 0===r&&(r=[]),void 0===o&&(o={}),e.map(((e,a)=>{let s=[...r,a],l="string"==typeof e.id?e.id:s.join("-");if(i(!0!==e.index||!e.children,"Cannot specify children on an index route"),i(!o[l],'Found a route id collision on id "'+l+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let r=n({},e,t(e),{id:l});return o[l]=r,r}{let r=n({},e,t(e),{id:l,children:void 0});return o[l]=r,e.children&&(r.children=p(e.children,t,s,o)),r}}))}function m(e,t,r){void 0===r&&(r="/");let n=L(("string"==typeof t?d(t):t).pathname||"/",r);if(null==n)return null;let o=v(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)))))}(o);let a=null;for(let e=0;null==a&&e<o.length;++e){let t=_(n);a=A(o[e],t)}return a}function v(e,t,r,n){void 0===t&&(t=[]),void 0===r&&(r=[]),void 0===n&&(n="");let o=(e,o,a)=>{let s={relativePath:void 0===a?e.path||"":a,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};s.relativePath.startsWith("/")&&(i(s.relativePath.startsWith(n),'Absolute route path "'+s.relativePath+'" nested under path "'+n+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),s.relativePath=s.relativePath.slice(n.length));let l=D([n,s.relativePath]),c=r.concat(s);e.children&&e.children.length>0&&(i(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+l+'".'),v(e.children,t,c,l)),(null!=e.path||e.index)&&t.push({path:l,score:R(l,e.index),routesMeta:c})};return e.forEach(((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of g(e.path))o(e,t,r);else o(e,t)})),t}function g(e){let t=e.split("/");if(0===t.length)return[];let[r,...n]=t,o=r.endsWith("?"),a=r.replace(/\?$/,"");if(0===n.length)return o?[a,""]:[a];let i=g(n.join("/")),s=[];return s.push(...i.map((e=>""===e?a:[a,e].join("/")))),o&&s.push(...i),s.map((t=>e.startsWith("/")&&""===t?"/":t))}const y=/^:[\w-]+$/,b=3,w=2,C=1,x=10,E=-2,S=e=>"*"===e;function R(e,t){let r=e.split("/"),n=r.length;return r.some(S)&&(n+=E),t&&(n+=w),r.filter((e=>!S(e))).reduce(((e,t)=>e+(y.test(t)?b:""===t?C:x)),n)}function A(e,t){let{routesMeta:r}=e,n={},o="/",a=[];for(let e=0;e<r.length;++e){let i=r[e],s=e===r.length-1,l="/"===o?t:t.slice(o.length)||"/",c=k({path:i.relativePath,caseSensitive:i.caseSensitive,end:s},l);if(!c)return null;Object.assign(n,c.params);let u=i.route;a.push({params:n,pathname:D([o,c.pathname]),pathnameBase:N(D([o,c.pathnameBase])),route:u}),"/"!==c.pathnameBase&&(o=D([o,c.pathnameBase]))}return a}function k(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0),s("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,r)=>(n.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")));return e.endsWith("*")?(n.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}(e.path,e.caseSensitive,e.end),o=t.match(r);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:n.reduce(((e,t,r)=>{let{paramName:n,isOptional:o}=t;if("*"===n){let e=l[r]||"";i=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const s=l[r];return e[n]=o&&!s?void 0:(s||"").replace(/%2F/g,"/"),e}),{}),pathname:a,pathnameBase:i,pattern:e}}function _(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return s(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function L(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function T(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function O(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function P(e,t){let r=O(e);return t?r.map(((t,r)=>r===e.length-1?t.pathname:t.pathnameBase)):r.map((e=>e.pathnameBase))}function M(e,t,r,o){let a;void 0===o&&(o=!1),"string"==typeof e?a=d(e):(a=n({},e),i(!a.pathname||!a.pathname.includes("?"),T("?","pathname","search",a)),i(!a.pathname||!a.pathname.includes("#"),T("#","pathname","hash",a)),i(!a.search||!a.search.includes("#"),T("#","search","hash",a)));let s,l=""===e||""===a.pathname,c=l?"/":a.pathname;if(null==c)s=r;else{let e=t.length-1;if(!o&&c.startsWith("..")){let t=c.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}s=e>=0?t[e]:"/"}let u=function(e,t){void 0===t&&(t="/");let{pathname:r,search:n="",hash:o=""}="string"==typeof e?d(e):e,a=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;return{pathname:a,search:I(n),hash:j(o)}}(a,s),f=c&&"/"!==c&&c.endsWith("/"),h=(l||"."===c)&&r.endsWith("/");return u.pathname.endsWith("/")||!f&&!h||(u.pathname+="/"),u}const D=e=>e.join("/").replace(/\/\/+/g,"/"),N=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),I=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",j=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;class F{constructor(e,t,r,n){void 0===n&&(n=!1),this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function z(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const H=["post","put","patch","delete"],U=new Set(H),$=["get",...H],V=new Set($),B=new Set([301,302,303,307,308]),G=new Set([307,308]),W={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Y={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Z={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},q=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,K=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)}),X="remix-router-transitions";function J(e,t,r,n,o,a,i,s){let l,c;if(i){l=[];for(let e of t)if(l.push(e),e.route.id===i){c=e;break}}else l=t,c=t[t.length-1];let d=M(o||".",P(l,a),L(e.pathname,r)||e.pathname,"path"===s);return null==o&&(d.search=e.search,d.hash=e.hash),null!=o&&""!==o&&"."!==o||!c||!c.route.index||Re(d.search)||(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),n&&"/"!==r&&(d.pathname="/"===d.pathname?r:D([r,d.pathname])),u(d)}function Q(e,t,r,n){if(!n||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(n))return{path:r};if(n.formMethod&&(o=n.formMethod,!V.has(o.toLowerCase())))return{path:r,error:me(405,{method:n.formMethod})};var o;let a,s,l=()=>({path:r,error:me(400,{type:"invalid-body"})}),c=n.formMethod||"get",f=e?c.toUpperCase():c.toLowerCase(),h=ge(r);if(void 0!==n.body){if("text/plain"===n.formEncType){if(!xe(f))return l();let e="string"==typeof n.body?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce(((e,t)=>{let[r,n]=t;return""+e+r+"="+n+"\n"}),""):String(n.body);return{path:r,submission:{formMethod:f,formAction:h,formEncType:n.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===n.formEncType){if(!xe(f))return l();try{let e="string"==typeof n.body?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:f,formAction:h,formEncType:n.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return l()}}}if(i("function"==typeof FormData,"FormData is not available in this environment"),n.formData)a=le(n.formData),s=n.formData;else if(n.body instanceof FormData)a=le(n.body),s=n.body;else if(n.body instanceof URLSearchParams)a=n.body,s=ce(a);else if(null==n.body)a=new URLSearchParams,s=new FormData;else try{a=new URLSearchParams(n.body),s=ce(a)}catch(e){return l()}let p={formMethod:f,formAction:h,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:s,json:void 0,text:void 0};if(xe(p.formMethod))return{path:r,submission:p};let m=d(r);return t&&m.search&&Re(m.search)&&a.append("index",""),m.search="?"+a,{path:u(m),submission:p}}function ee(e,t,r,o,a,i,s,l,c,u,d,f,h,p,v,g){let y=g?be(g[1])?g[1].error:g[1].data:void 0,b=e.createURL(t.location),w=e.createURL(a),C=g&&be(g[1])?g[0]:void 0,x=C?function(e,t){let r=e;if(t){let n=e.findIndex((e=>e.route.id===t));n>=0&&(r=e.slice(0,n))}return r}(r,C):r,E=g?g[1].statusCode:void 0,S=s&&E&&E>=400,R=x.filter(((e,r)=>{let{route:a}=e;if(a.lazy)return!0;if(null==a.loader)return!1;if(i)return!("function"==typeof a.loader&&!a.loader.hydrate&&(void 0!==t.loaderData[a.id]||t.errors&&void 0!==t.errors[a.id]));if(function(e,t,r){let n=!t||r.route.id!==t.route.id,o=void 0===e[r.route.id];return n||o}(t.loaderData,t.matches[r],e)||c.some((t=>t===e.route.id)))return!0;let s=t.matches[r],u=e;return re(e,n({currentUrl:b,currentParams:s.params,nextUrl:w,nextParams:u.params},o,{actionResult:y,unstable_actionStatus:E,defaultShouldRevalidate:!S&&(l||b.pathname+b.search===w.pathname+w.search||b.search!==w.search||te(s,u))}))})),A=[];return f.forEach(((e,a)=>{if(i||!r.some((t=>t.route.id===e.routeId))||d.has(a))return;let s=m(p,e.path,v);if(!s)return void A.push({key:a,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let c=t.fetchers.get(a),f=Ae(s,e.path),g=!1;g=!h.has(a)&&(!!u.includes(a)||(c&&"idle"!==c.state&&void 0===c.data?l:re(f,n({currentUrl:b,currentParams:t.matches[t.matches.length-1].params,nextUrl:w,nextParams:r[r.length-1].params},o,{actionResult:y,unstable_actionStatus:E,defaultShouldRevalidate:!S&&l})))),g&&A.push({key:a,routeId:e.routeId,path:e.path,matches:s,match:f,controller:new AbortController})})),[R,A]}function te(e,t){let r=e.route.path;return e.pathname!==t.pathname||null!=r&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function re(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if("boolean"==typeof r)return r}return t.defaultShouldRevalidate}async function ne(e,t,r){if(!e.lazy)return;let o=await e.lazy();if(!e.lazy)return;let a=r[e.id];i(a,"No route found in manifest");let l={};for(let e in o){let t=void 0!==a[e]&&"hasErrorBoundary"!==e;s(!t,'Route "'+a.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),t||h.has(e)||(l[e]=o[e])}Object.assign(a,l),Object.assign(a,n({},t(a),{lazy:void 0}))}function oe(e){return Promise.all(e.matches.map((e=>e.resolve())))}function ae(e,t,r,n,o,a){let s=e.headers.get("Location");if(i(s,"Redirects returned/thrown from loaders/actions must have a Location header"),!q.test(s)){let i=n.slice(0,n.findIndex((e=>e.route.id===r))+1);s=J(new URL(t.url),i,o,!0,s,a),e.headers.set("Location",s)}return e}function ie(e,t,r){if(q.test(e)){let n=e,o=n.startsWith("//")?new URL(t.protocol+n):new URL(n),a=null!=L(o.pathname,r);if(o.origin===t.origin&&a)return o.pathname+o.search+o.hash}return e}function se(e,t,r,n){let o=e.createURL(ge(t)).toString(),a={signal:r};if(n&&xe(n.formMethod)){let{formMethod:e,formEncType:t}=n;a.method=e.toUpperCase(),"application/json"===t?(a.headers=new Headers({"Content-Type":t}),a.body=JSON.stringify(n.json)):"text/plain"===t?a.body=n.text:"application/x-www-form-urlencoded"===t&&n.formData?a.body=le(n.formData):a.body=n.formData}return new Request(o,a)}function le(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,"string"==typeof n?n:n.name);return t}function ce(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function ue(e,t,r,o,a,s,l,c){let{loaderData:u,errors:d}=function(e,t,r,n,o,a){let s,l={},c=null,u=!1,d={},f=n&&be(n[1])?n[1].error:void 0;return r.forEach(((r,n)=>{let h=t[n].route.id;if(i(!we(r),"Cannot handle redirect results in processLoaderData"),be(r)){let t=r.error;if(void 0!==f&&(t=f,f=void 0),c=c||{},a)c[h]=t;else{let r=he(e,h);null==c[r.route.id]&&(c[r.route.id]=t)}l[h]=void 0,u||(u=!0,s=z(r.error)?r.error.status:500),r.headers&&(d[h]=r.headers)}else ye(r)?(o.set(h,r.deferredData),l[h]=r.deferredData.data,null==r.statusCode||200===r.statusCode||u||(s=r.statusCode),r.headers&&(d[h]=r.headers)):(l[h]=r.data,r.statusCode&&200!==r.statusCode&&!u&&(s=r.statusCode),r.headers&&(d[h]=r.headers))})),void 0!==f&&n&&(c={[n[0]]:f},l[n[0]]=void 0),{loaderData:l,errors:c,statusCode:s||200,loaderHeaders:d}}(t,r,o,a,c,!1);for(let t=0;t<s.length;t++){let{key:r,match:o,controller:a}=s[t];i(void 0!==l&&void 0!==l[t],"Did not find corresponding fetcher result");let c=l[t];if(!a||!a.signal.aborted)if(be(c)){let t=he(e.matches,null==o?void 0:o.route.id);d&&d[t.route.id]||(d=n({},d,{[t.route.id]:c.error})),e.fetchers.delete(r)}else if(we(c))i(!1,"Unhandled fetcher revalidation redirect");else if(ye(c))i(!1,"Unhandled fetcher deferred data");else{let t=Te(c.data);e.fetchers.set(r,t)}}return{loaderData:u,errors:d}}function de(e,t,r,o){let a=n({},t);for(let n of r){let r=n.route.id;if(t.hasOwnProperty(r)?void 0!==t[r]&&(a[r]=t[r]):void 0!==e[r]&&n.route.loader&&(a[r]=e[r]),o&&o.hasOwnProperty(r))break}return a}function fe(e){return e?be(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function he(e,t){return(t?e.slice(0,e.findIndex((e=>e.route.id===t))+1):[...e]).reverse().find((e=>!0===e.route.hasErrorBoundary))||e[0]}function pe(e){let t=1===e.length?e[0]:e.find((e=>e.index||!e.path||"/"===e.path))||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function me(e,t){let{pathname:r,routeId:n,method:o,type:a}=void 0===t?{}:t,i="Unknown Server Error",s="Unknown @remix-run/router error";return 400===e?(i="Bad Request",o&&r&&n?s="You made a "+o+' request to "'+r+'" but did not provide a `loader` for route "'+n+'", so there is no way to handle the request.':"defer-action"===a?s="defer() is not supported in actions":"invalid-body"===a&&(s="Unable to encode submission body")):403===e?(i="Forbidden",s='Route "'+n+'" does not match URL "'+r+'"'):404===e?(i="Not Found",s='No route matches URL "'+r+'"'):405===e&&(i="Method Not Allowed",o&&r&&n?s="You made a "+o.toUpperCase()+' request to "'+r+'" but did not provide an `action` for route "'+n+'", so there is no way to handle the request.':o&&(s='Invalid request method "'+o.toUpperCase()+'"')),new F(e||500,i,new Error(s),!0)}function ve(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(we(r))return{result:r,idx:t}}}function ge(e){return u(n({},"string"==typeof e?d(e):e,{hash:""}))}function ye(e){return e.type===f.deferred}function be(e){return e.type===f.error}function we(e){return(e&&e.type)===f.redirect}function Ce(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function xe(e){return U.has(e.toLowerCase())}async function Ee(e,t,r,n,o,a){for(let s=0;s<r.length;s++){let l=r[s],c=t[s];if(!c)continue;let u=e.find((e=>e.route.id===c.route.id)),d=null!=u&&!te(u,c)&&void 0!==(a&&a[c.route.id]);if(ye(l)&&(o||d)){let e=n[s];i(e,"Expected an AbortSignal for revalidating fetcher deferred result"),await Se(l,e,o).then((e=>{e&&(r[s]=e||r[s])}))}}}async function Se(e,t,r){if(void 0===r&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:f.data,data:e.deferredData.unwrappedData}}catch(e){return{type:f.error,error:e}}return{type:f.data,data:e.deferredData.data}}}function Re(e){return new URLSearchParams(e).getAll("index").some((e=>""===e))}function Ae(e,t){let r="string"==typeof t?d(t).search:t.search;if(e[e.length-1].route.index&&Re(r||""))return e[e.length-1];let n=O(e);return n[n.length-1]}function ke(e){let{formMethod:t,formAction:r,formEncType:n,text:o,formData:a,json:i}=e;if(t&&r&&n)return null!=o?{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:o}:null!=a?{formMethod:t,formAction:r,formEncType:n,formData:a,json:void 0,text:void 0}:void 0!==i?{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:i,text:void 0}:void 0}function _e(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Le(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function Te(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function Oe(){return Oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Oe.apply(this,arguments)}Symbol("deferred");const Pe=e.createContext(null),Me=e.createContext(null),De=e.createContext(null),Ne=e.createContext(null),Ie=e.createContext({outlet:null,matches:[],isDataRoute:!1}),je=e.createContext(null);function Fe(){return null!=e.useContext(Ne)}function ze(){return Fe()||i(!1),e.useContext(Ne).location}function He(t){e.useContext(De).static||e.useLayoutEffect(t)}function Ue(){let{isDataRoute:t}=e.useContext(Ie);return t?function(){let{router:t}=function(t){let r=e.useContext(Pe);return r||i(!1),r}(Ze.UseNavigateStable),r=Ke(qe.UseNavigateStable),n=e.useRef(!1);He((()=>{n.current=!0}));let o=e.useCallback((function(e,o){void 0===o&&(o={}),n.current&&("number"==typeof e?t.navigate(e):t.navigate(e,Oe({fromRouteId:r},o)))}),[t,r]);return o}():function(){Fe()||i(!1);let t=e.useContext(Pe),{basename:r,future:n,navigator:o}=e.useContext(De),{matches:a}=e.useContext(Ie),{pathname:s}=ze(),l=JSON.stringify(P(a,n.v7_relativeSplatPath)),c=e.useRef(!1);return He((()=>{c.current=!0})),e.useCallback((function(e,n){if(void 0===n&&(n={}),!c.current)return;if("number"==typeof e)return void o.go(e);let a=M(e,JSON.parse(l),s,"path"===n.relative);null==t&&"/"!==r&&(a.pathname="/"===a.pathname?r:D([r,a.pathname])),(n.replace?o.replace:o.push)(a,n.state,n)}),[r,o,l,s,t])}()}function $e(t,r){let{relative:n}=void 0===r?{}:r,{future:o}=e.useContext(De),{matches:a}=e.useContext(Ie),{pathname:i}=ze(),s=JSON.stringify(P(a,o.v7_relativeSplatPath));return e.useMemo((()=>M(t,JSON.parse(s),i,"path"===n)),[t,s,i,n])}function Ve(t,r,n,a){Fe()||i(!1);let{navigator:s}=e.useContext(De),{matches:l}=e.useContext(Ie),c=l[l.length-1],u=c?c.params:{},f=(c&&c.pathname,c?c.pathnameBase:"/");c&&c.route;let h,p=ze();if(r){var v;let e="string"==typeof r?d(r):r;"/"===f||(null==(v=e.pathname)?void 0:v.startsWith(f))||i(!1),h=e}else h=p;let g=h.pathname||"/",y=g;if("/"!==f){let e=f.replace(/^\//,"").split("/");y="/"+g.replace(/^\//,"").split("/").slice(e.length).join("/")}let b=m(t,{pathname:y}),w=function(t,r,n,o){var a;if(void 0===r&&(r=[]),void 0===n&&(n=null),void 0===o&&(o=null),null==t){var s;if(null==(s=n)||!s.errors)return null;t=n.matches}let l=t,c=null==(a=n)?void 0:a.errors;if(null!=c){let e=l.findIndex((e=>e.route.id&&void 0!==(null==c?void 0:c[e.route.id])));e>=0||i(!1),l=l.slice(0,Math.min(l.length,e+1))}let u=!1,d=-1;if(n&&o&&o.v7_partialHydration)for(let e=0;e<l.length;e++){let t=l[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(d=e),t.route.id){let{loaderData:e,errors:r}=n,o=t.route.loader&&void 0===e[t.route.id]&&(!r||void 0===r[t.route.id]);if(t.route.lazy||o){u=!0,l=d>=0?l.slice(0,d+1):[l[0]];break}}}return l.reduceRight(((t,o,a)=>{let i,s=!1,f=null,h=null;var p;n&&(i=c&&o.route.id?c[o.route.id]:void 0,f=o.route.errorElement||Ge,u&&(d<0&&0===a?(Xe[p="route-fallback"]||(Xe[p]=!0),s=!0,h=null):d===a&&(s=!0,h=o.route.hydrateFallbackElement||null)));let m=r.concat(l.slice(0,a+1)),v=()=>{let r;return r=i?f:s?h:o.route.Component?e.createElement(o.route.Component,null):o.route.element?o.route.element:t,e.createElement(Ye,{match:o,routeContext:{outlet:t,matches:m,isDataRoute:null!=n},children:r})};return n&&(o.route.ErrorBoundary||o.route.errorElement||0===a)?e.createElement(We,{location:n.location,revalidation:n.revalidation,component:f,error:i,children:v(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):v()}),null)}(b&&b.map((e=>Object.assign({},e,{params:Object.assign({},u,e.params),pathname:D([f,s.encodeLocation?s.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?f:D([f,s.encodeLocation?s.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),l,n,a);return r&&w?e.createElement(Ne.Provider,{value:{location:Oe({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:o.Pop}},w):w}function Be(){let t=function(){var t;let r=e.useContext(je),n=function(t){let r=e.useContext(Me);return r||i(!1),r}(qe.UseRouteError),o=Ke(qe.UseRouteError);return void 0!==r?r:null==(t=n.errors)?void 0:t[o]}(),r=z(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return e.createElement(e.Fragment,null,e.createElement("h2",null,"Unexpected Application Error!"),e.createElement("h3",{style:{fontStyle:"italic"}},r),n?e.createElement("pre",{style:o},n):null,null)}const Ge=e.createElement(Be,null);class We extends e.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?e.createElement(Ie.Provider,{value:this.props.routeContext},e.createElement(je.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Ye(t){let{routeContext:r,match:n,children:o}=t,a=e.useContext(Pe);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),e.createElement(Ie.Provider,{value:r},o)}var Ze=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Ze||{}),qe=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(qe||{});function Ke(t){let r=function(t){let r=e.useContext(Ie);return r||i(!1),r}(),n=r.matches[r.matches.length-1];return n.route.id||i(!1),n.route.id}const Xe={};function Je(t){let{basename:r="/",children:n=null,location:a,navigationType:s=o.Pop,navigator:l,static:c=!1,future:u}=t;Fe()&&i(!1);let f=r.replace(/^\/*/,"/"),h=e.useMemo((()=>({basename:f,navigator:l,static:c,future:Oe({v7_relativeSplatPath:!1},u)})),[f,u,l,c]);"string"==typeof a&&(a=d(a));let{pathname:p="/",search:m="",hash:v="",state:g=null,key:y="default"}=a,b=e.useMemo((()=>{let e=L(p,f);return null==e?null:{location:{pathname:e,search:m,hash:v,state:g,key:y},navigationType:s}}),[f,p,m,v,g,y,s]);return null==b?null:e.createElement(De.Provider,{value:h},e.createElement(Ne.Provider,{children:n,value:b}))}function Qe(){return Qe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qe.apply(this,arguments)}function et(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}e.startTransition,new Promise((()=>{})),e.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const tt=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],rt=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"];try{window.__reactRouterVersion="6"}catch(e){}function nt(e){if(!e)return null;let t=Object.entries(e),r={};for(let[e,n]of t)if(n&&"RouteErrorResponse"===n.__type)r[e]=new F(n.status,n.statusText,n.data,!0===n.internal);else if(n&&"Error"===n.__type){if(n.__subType){let t=window[n.__subType];if("function"==typeof t)try{let o=new t(n.message);o.stack="",r[e]=o}catch(e){}}if(null==r[e]){let t=new Error(n.message);t.stack="",r[e]=t}}else r[e]=n;return r}const ot=e.createContext({isTransitioning:!1}),at=e.createContext(new Map),it=e.startTransition,st=t.flushSync;function lt(e){st?st(e):e()}e.useId;class ct{constructor(){this.status="pending",this.promise=new Promise(((e,t)=>{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}}))}}function ut(e){let{routes:t,future:r,state:n}=e;return Ve(t,void 0,n,r)}const dt="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,ft=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ht=e.forwardRef((function(t,r){let n,{onClick:o,relative:a,reloadDocument:s,replace:l,state:c,target:d,to:f,preventScrollReset:h,unstable_viewTransition:p}=t,m=et(t,tt),{basename:v}=e.useContext(De),g=!1;if("string"==typeof f&&ft.test(f)&&(n=f,dt))try{let e=new URL(window.location.href),t=f.startsWith("//")?new URL(e.protocol+f):new URL(f),r=L(t.pathname,v);t.origin===e.origin&&null!=r?f=r+t.search+t.hash:g=!0}catch(e){}let y=function(t,r){let{relative:n}=void 0===r?{}:r;Fe()||i(!1);let{basename:o,navigator:a}=e.useContext(De),{hash:s,pathname:l,search:c}=$e(t,{relative:n}),u=l;return"/"!==o&&(u="/"===l?o:D([o,l])),a.createHref({pathname:u,search:c,hash:s})}(f,{relative:a}),b=function(t,r){let{target:n,replace:o,state:a,preventScrollReset:i,relative:s,unstable_viewTransition:l}=void 0===r?{}:r,c=Ue(),d=ze(),f=$e(t,{relative:s});return e.useCallback((e=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(e,n)){e.preventDefault();let r=void 0!==o?o:u(d)===u(f);c(t,{replace:r,state:a,preventScrollReset:i,relative:s,unstable_viewTransition:l})}}),[d,c,f,o,a,n,t,i,s,l])}(f,{replace:l,state:c,target:d,preventScrollReset:h,relative:a,unstable_viewTransition:p});return e.createElement("a",Qe({},m,{href:n||y,onClick:g||s?o:function(e){o&&o(e),e.defaultPrevented||b(e)},ref:r,target:d}))})),pt=e.forwardRef((function(t,r){let{"aria-current":n="page",caseSensitive:o=!1,className:a="",end:s=!1,style:l,to:c,unstable_viewTransition:u,children:d}=t,f=et(t,rt),h=$e(c,{relative:f.relative}),p=ze(),m=e.useContext(Me),{navigator:v,basename:g}=e.useContext(De),y=null!=m&&function(t,r){void 0===r&&(r={});let n=e.useContext(ot);null==n&&i(!1);let{basename:o}=function(t){let r=e.useContext(Pe);return r||i(!1),r}(mt.useViewTransitionState),a=$e(t,{relative:r.relative});if(!n.isTransitioning)return!1;let s=L(n.currentLocation.pathname,o)||n.currentLocation.pathname,l=L(n.nextLocation.pathname,o)||n.nextLocation.pathname;return null!=k(a.pathname,l)||null!=k(a.pathname,s)}(h)&&!0===u,b=v.encodeLocation?v.encodeLocation(h).pathname:h.pathname,w=p.pathname,C=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;o||(w=w.toLowerCase(),C=C?C.toLowerCase():null,b=b.toLowerCase()),C&&g&&(C=L(C,g)||C);const x="/"!==b&&b.endsWith("/")?b.length-1:b.length;let E,S=w===b||!s&&w.startsWith(b)&&"/"===w.charAt(x),R=null!=C&&(C===b||!s&&C.startsWith(b)&&"/"===C.charAt(b.length)),A={isActive:S,isPending:R,isTransitioning:y},_=S?n:void 0;E="function"==typeof a?a(A):[a,S?"active":null,R?"pending":null,y?"transitioning":null].filter(Boolean).join(" ");let T="function"==typeof l?l(A):l;return e.createElement(ht,Qe({},f,{"aria-current":_,className:E,ref:r,style:T,to:c,unstable_viewTransition:u}),"function"==typeof d?d(A):d)}));var mt,vt;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(mt||(mt={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(vt||(vt={}));const gt=window.wp.element,yt=window.wp.apiFetch;var bt=r.n(yt);const wt=window.wp.i18n;var Ct=r(848),xt=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Et=Math.abs,St=String.fromCharCode,Rt=Object.assign;function At(e){return e.trim()}function kt(e,t,r){return e.replace(t,r)}function _t(e,t){return e.indexOf(t)}function Lt(e,t){return 0|e.charCodeAt(t)}function Tt(e,t,r){return e.slice(t,r)}function Ot(e){return e.length}function Pt(e){return e.length}function Mt(e,t){return t.push(e),e}var Dt=1,Nt=1,It=0,jt=0,Ft=0,zt="";function Ht(e,t,r,n,o,a,i){return{value:e,root:t,parent:r,type:n,props:o,children:a,line:Dt,column:Nt,length:i,return:""}}function Ut(e,t){return Rt(Ht("",null,null,"",null,null,0),e,{length:-e.length},t)}function $t(){return Ft=jt>0?Lt(zt,--jt):0,Nt--,10===Ft&&(Nt=1,Dt--),Ft}function Vt(){return Ft=jt<It?Lt(zt,jt++):0,Nt++,10===Ft&&(Nt=1,Dt++),Ft}function Bt(){return Lt(zt,jt)}function Gt(){return jt}function Wt(e,t){return Tt(zt,e,t)}function Yt(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Zt(e){return Dt=Nt=1,It=Ot(zt=e),jt=0,[]}function qt(e){return zt="",e}function Kt(e){return At(Wt(jt-1,Qt(91===e?e+2:40===e?e+1:e)))}function Xt(e){for(;(Ft=Bt())&&Ft<33;)Vt();return Yt(e)>2||Yt(Ft)>3?"":" "}function Jt(e,t){for(;--t&&Vt()&&!(Ft<48||Ft>102||Ft>57&&Ft<65||Ft>70&&Ft<97););return Wt(e,Gt()+(t<6&&32==Bt()&&32==Vt()))}function Qt(e){for(;Vt();)switch(Ft){case e:return jt;case 34:case 39:34!==e&&39!==e&&Qt(Ft);break;case 40:41===e&&Qt(e);break;case 92:Vt()}return jt}function er(e,t){for(;Vt()&&e+Ft!==57&&(e+Ft!==84||47!==Bt()););return"/*"+Wt(t,jt-1)+"*"+St(47===e?e:Vt())}function tr(e){for(;!Yt(Bt());)Vt();return Wt(e,jt)}var rr="-ms-",nr="-moz-",or="-webkit-",ar="comm",ir="rule",sr="decl",lr="@keyframes";function cr(e,t){for(var r="",n=Pt(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function ur(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case sr:return e.return=e.return||e.value;case ar:return"";case lr:return e.return=e.value+"{"+cr(e.children,n)+"}";case ir:e.value=e.props.join(",")}return Ot(r=cr(e.children,n))?e.return=e.value+"{"+r+"}":""}function dr(e){return qt(fr("",null,null,null,[""],e=Zt(e),0,[0],e))}function fr(e,t,r,n,o,a,i,s,l){for(var c=0,u=0,d=i,f=0,h=0,p=0,m=1,v=1,g=1,y=0,b="",w=o,C=a,x=n,E=b;v;)switch(p=y,y=Vt()){case 40:if(108!=p&&58==Lt(E,d-1)){-1!=_t(E+=kt(Kt(y),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:E+=Kt(y);break;case 9:case 10:case 13:case 32:E+=Xt(p);break;case 92:E+=Jt(Gt()-1,7);continue;case 47:switch(Bt()){case 42:case 47:Mt(pr(er(Vt(),Gt()),t,r),l);break;default:E+="/"}break;case 123*m:s[c++]=Ot(E)*g;case 125*m:case 59:case 0:switch(y){case 0:case 125:v=0;case 59+u:-1==g&&(E=kt(E,/\f/g,"")),h>0&&Ot(E)-d&&Mt(h>32?mr(E+";",n,r,d-1):mr(kt(E," ","")+";",n,r,d-2),l);break;case 59:E+=";";default:if(Mt(x=hr(E,t,r,c,u,o,s,b,w=[],C=[],d),a),123===y)if(0===u)fr(E,t,x,x,w,a,d,s,C);else switch(99===f&&110===Lt(E,3)?100:f){case 100:case 108:case 109:case 115:fr(e,x,x,n&&Mt(hr(e,x,x,0,0,o,s,b,o,w=[],d),C),o,C,d,s,n?w:C);break;default:fr(E,x,x,x,[""],C,0,s,C)}}c=u=h=0,m=g=1,b=E="",d=i;break;case 58:d=1+Ot(E),h=p;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==$t())continue;switch(E+=St(y),y*m){case 38:g=u>0?1:(E+="\f",-1);break;case 44:s[c++]=(Ot(E)-1)*g,g=1;break;case 64:45===Bt()&&(E+=Kt(Vt())),f=Bt(),u=d=Ot(b=E+=tr(Gt())),y++;break;case 45:45===p&&2==Ot(E)&&(m=0)}}return a}function hr(e,t,r,n,o,a,i,s,l,c,u){for(var d=o-1,f=0===o?a:[""],h=Pt(f),p=0,m=0,v=0;p<n;++p)for(var g=0,y=Tt(e,d+1,d=Et(m=i[p])),b=e;g<h;++g)(b=At(m>0?f[g]+" "+y:kt(y,/&\f/g,f[g])))&&(l[v++]=b);return Ht(e,t,r,0===o?ir:s,l,c,u)}function pr(e,t,r){return Ht(e,t,r,ar,St(Ft),Tt(e,2,-2),0)}function mr(e,t,r,n){return Ht(e,t,r,sr,Tt(e,0,n),Tt(e,n+1,-1),n)}var vr=function(e,t,r){for(var n=0,o=0;n=o,o=Bt(),38===n&&12===o&&(t[r]=1),!Yt(o);)Vt();return Wt(e,jt)},gr=new WeakMap,yr=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||gr.get(r))&&!n){gr.set(e,!0);for(var o=[],a=function(e,t){return qt(function(e,t){var r=-1,n=44;do{switch(Yt(n)){case 0:38===n&&12===Bt()&&(t[r]=1),e[r]+=vr(jt-1,t,r);break;case 2:e[r]+=Kt(n);break;case 4:if(44===n){e[++r]=58===Bt()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=St(n)}}while(n=Vt());return e}(Zt(e),t))}(t,o),i=r.props,s=0,l=0;s<a.length;s++)for(var c=0;c<i.length;c++,l++)e.props[l]=o[s]?a[s].replace(/&\f/g,i[c]):i[c]+" "+a[s]}}},br=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function wr(e,t){switch(function(e,t){return 45^Lt(e,0)?(((t<<2^Lt(e,0))<<2^Lt(e,1))<<2^Lt(e,2))<<2^Lt(e,3):0}(e,t)){case 5103:return or+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return or+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return or+e+nr+e+rr+e+e;case 6828:case 4268:return or+e+rr+e+e;case 6165:return or+e+rr+"flex-"+e+e;case 5187:return or+e+kt(e,/(\w+).+(:[^]+)/,or+"box-$1$2"+rr+"flex-$1$2")+e;case 5443:return or+e+rr+"flex-item-"+kt(e,/flex-|-self/,"")+e;case 4675:return or+e+rr+"flex-line-pack"+kt(e,/align-content|flex-|-self/,"")+e;case 5548:return or+e+rr+kt(e,"shrink","negative")+e;case 5292:return or+e+rr+kt(e,"basis","preferred-size")+e;case 6060:return or+"box-"+kt(e,"-grow","")+or+e+rr+kt(e,"grow","positive")+e;case 4554:return or+kt(e,/([^-])(transform)/g,"$1"+or+"$2")+e;case 6187:return kt(kt(kt(e,/(zoom-|grab)/,or+"$1"),/(image-set)/,or+"$1"),e,"")+e;case 5495:case 3959:return kt(e,/(image-set\([^]*)/,or+"$1$`$1");case 4968:return kt(kt(e,/(.+:)(flex-)?(.*)/,or+"box-pack:$3"+rr+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+or+e+e;case 4095:case 3583:case 4068:case 2532:return kt(e,/(.+)-inline(.+)/,or+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ot(e)-1-t>6)switch(Lt(e,t+1)){case 109:if(45!==Lt(e,t+4))break;case 102:return kt(e,/(.+:)(.+)-([^]+)/,"$1"+or+"$2-$3$1"+nr+(108==Lt(e,t+3)?"$3":"$2-$3"))+e;case 115:return~_t(e,"stretch")?wr(kt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Lt(e,t+1))break;case 6444:switch(Lt(e,Ot(e)-3-(~_t(e,"!important")&&10))){case 107:return kt(e,":",":"+or)+e;case 101:return kt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+or+(45===Lt(e,14)?"inline-":"")+"box$3$1"+or+"$2$3$1"+rr+"$2box$3")+e}break;case 5936:switch(Lt(e,t+11)){case 114:return or+e+rr+kt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return or+e+rr+kt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return or+e+rr+kt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return or+e+rr+e+e}return e}var Cr=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case sr:e.return=wr(e.value,e.length);break;case lr:return cr([Ut(e,{value:kt(e.value,"@","@"+or)})],n);case ir:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return cr([Ut(e,{props:[kt(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return cr([Ut(e,{props:[kt(t,/:(plac\w+)/,":"+or+"input-$1")]}),Ut(e,{props:[kt(t,/:(plac\w+)/,":-moz-$1")]}),Ut(e,{props:[kt(t,/:(plac\w+)/,rr+"input-$1")]})],n)}return""}))}}],xr=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n,o,a=e.stylisPlugins||Cr,i={},s=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)i[t[r]]=!0;s.push(e)}));var l,c,u,d,f=[ur,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],h=(c=[yr,br].concat(a,f),u=Pt(c),function(e,t,r,n){for(var o="",a=0;a<u;a++)o+=c[a](e,t,r,n)||"";return o});o=function(e,t,r,n){l=r,cr(dr(e?e+"{"+t.styles+"}":t.styles),h),n&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new xt({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:o};return p.sheet.hydrate(s),p};function Er(){return Er=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Er.apply(null,arguments)}var Sr=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}};function Rr(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var Ar=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},kr=function(e,t,r){Ar(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}},_r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};const Lr=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}};var Tr=!1,Or=/[A-Z]|^ms/g,Pr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Mr=function(e){return 45===e.charCodeAt(1)},Dr=function(e){return null!=e&&"boolean"!=typeof e},Nr=Lr((function(e){return Mr(e)?e:e.replace(Or,"-$&").toLowerCase()})),Ir=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Pr,(function(e,t,r){return zr={name:t,styles:r,next:zr},t}))}return 1===_r[e]||Mr(e)||"number"!=typeof t||0===t?t:t+"px"},jr="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Fr(e,t,r){if(null==r)return"";var n=r;if(void 0!==n.__emotion_styles)return n;switch(typeof r){case"boolean":return"";case"object":var o=r;if(1===o.anim)return zr={name:o.name,styles:o.styles,next:zr},o.name;var a=r;if(void 0!==a.styles){var i=a.next;if(void 0!==i)for(;void 0!==i;)zr={name:i.name,styles:i.styles,next:zr},i=i.next;return a.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Fr(e,t,r[o])+";";else for(var a in r){var i=r[a];if("object"!=typeof i){var s=i;null!=t&&void 0!==t[s]?n+=a+"{"+t[s]+"}":Dr(s)&&(n+=Nr(a)+":"+Ir(a,s)+";")}else{if("NO_COMPONENT_SELECTOR"===a&&Tr)throw new Error(jr);if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=Fr(e,t,i);switch(a){case"animation":case"animationName":n+=Nr(a)+":"+l+";";break;default:n+=a+"{"+l+"}"}}else for(var c=0;c<i.length;c++)Dr(i[c])&&(n+=Nr(a)+":"+Ir(a,i[c])+";")}}return n}(e,t,r);case"function":if(void 0!==e){var s=zr,l=r(e);return zr=s,Fr(e,t,l)}}var c=r;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var zr,Hr=/label:\s*([^\s;\n{]+)\s*(;|$)/g;function Ur(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";zr=void 0;var a=e[0];null==a||void 0===a.raw?(n=!1,o+=Fr(r,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=Fr(r,t,e[i]),n&&(o+=a[i]);Hr.lastIndex=0;for(var s,l="";null!==(s=Hr.exec(o));)l+="-"+s[1];var c=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:zr}}var $r=!!e.useInsertionEffect&&e.useInsertionEffect,Vr=$r||function(e){return e()},Br=($r||e.useLayoutEffect,"undefined"!=typeof document),Gr=e.createContext("undefined"!=typeof HTMLElement?xr({key:"css"}):null),Wr=(Gr.Provider,function(t){return(0,e.forwardRef)((function(r,n){var o=(0,e.useContext)(Gr);return t(r,o,n)}))});Br||(Wr=function(t){return function(r){var n=(0,e.useContext)(Gr);return null===n?(n=xr({key:"css"}),e.createElement(Gr.Provider,{value:n},t(r,n))):t(r,n)}});var Yr=e.createContext({}),Zr=function(){return e.useContext(Yr)},qr=Sr((function(e){return Sr((function(t){return function(e,t){return"function"==typeof t?t(e):Er({},e,t)}(e,t)}))})),Kr=function(t){var r=e.useContext(Yr);return t.theme!==r&&(r=qr(r)(t.theme)),e.createElement(Yr.Provider,{value:r},t.children)},Xr={}.hasOwnProperty,Jr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Qr=function(e,t){var r={};for(var n in t)Xr.call(t,n)&&(r[n]=t[n]);return r[Jr]=e,r},en=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;Ar(r,n,o);var a=Vr((function(){return kr(r,n,o)}));if(!Br&&void 0!==a){for(var i,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return e.createElement("style",((i={})["data-emotion"]=r.key+" "+s,i.dangerouslySetInnerHTML={__html:a},i.nonce=r.sheet.nonce,i))}return null},tn=Wr((function(t,r,n){var o=t.css;"string"==typeof o&&void 0!==r.registered[o]&&(o=r.registered[o]);var a=t[Jr],i=[o],s="";"string"==typeof t.className?s=Rr(r.registered,i,t.className):null!=t.className&&(s=t.className+" ");var l=Ur(i,void 0,e.useContext(Yr));s+=r.key+"-"+l.name;var c={};for(var u in t)Xr.call(t,u)&&"css"!==u&&u!==Jr&&(c[u]=t[u]);return c.className=s,n&&(c.ref=n),e.createElement(e.Fragment,null,e.createElement(en,{cache:r,serialized:l,isStringTag:"string"==typeof a}),e.createElement(a,c))}));function rn(e,t,r){return Xr.call(t,"css")?Ct.jsx(tn,Qr(e,t),r):Ct.jsx(e,t,r)}function nn(e,t,r){return Xr.call(t,"css")?Ct.jsxs(tn,Qr(e,t),r):Ct.jsxs(e,t,r)}r(146),Ct.Fragment;const on=window.wp.components;var an=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,sn=Lr((function(e){return an.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),ln=function(e){return"theme"!==e},cn=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?sn:ln},un=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},dn=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Ar(t,r,n),Vr((function(){return kr(t,r,n)})),null},fn=function t(r,n){var o,a,i=r.__emotion_real===r,s=i&&r.__emotion_base||r;void 0!==n&&(o=n.label,a=n.target);var l=un(r,n,i),c=l||cn(s),u=!c("as");return function(){var d=arguments,f=i&&void 0!==r.__emotion_styles?r.__emotion_styles.slice(0):[];if(void 0!==o&&f.push("label:"+o+";"),null==d[0]||void 0===d[0].raw)f.push.apply(f,d);else{f.push(d[0][0]);for(var h=d.length,p=1;p<h;p++)f.push(d[p],d[0][p])}var m=Wr((function(t,r,n){var o=u&&t.as||s,i="",d=[],h=t;if(null==t.theme){for(var p in h={},t)h[p]=t[p];h.theme=e.useContext(Yr)}"string"==typeof t.className?i=Rr(r.registered,d,t.className):null!=t.className&&(i=t.className+" ");var m=Ur(f.concat(d),r.registered,h);i+=r.key+"-"+m.name,void 0!==a&&(i+=" "+a);var v=u&&void 0===l?cn(o):c,g={};for(var y in t)u&&"as"===y||v(y)&&(g[y]=t[y]);return g.className=i,n&&(g.ref=n),e.createElement(e.Fragment,null,e.createElement(dn,{cache:r,serialized:m,isStringTag:"string"==typeof o}),e.createElement(o,g))}));return m.displayName=void 0!==o?o:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",m.defaultProps=r.defaultProps,m.__emotion_real=m,m.__emotion_base=s,m.__emotion_styles=f,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return"."+a}}),m.withComponent=function(e,r){return t(e,Er({},n,r,{shouldForwardProp:un(m,r,!0)})).apply(void 0,f)},m}};function hn(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function pn(e,t,r){var n=[],o=Rr(e,n,r);return n.length<2?r:o+t(n)}var mn=function e(t){for(var r="",n=0;n<t.length;n++){var o=t[n];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=e(o);else for(var i in a="",o)o[i]&&i&&(a&&(a+=" "),a+=i);break;default:a=o}a&&(r&&(r+=" "),r+=a)}}return r},vn=function(e){var t=xr({key:"css"});t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var r=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=Ur(r,t.registered,void 0);return kr(t,o,!1),t.key+"-"+o.name};return{css:r,cx:function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return pn(t.registered,r,mn(n))},injectGlobal:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=Ur(r,t.registered);hn(t,o)},keyframes:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=Ur(r,t.registered),a="animation-"+o.name;return hn(t,{name:o.name,styles:"@keyframes "+a+"{"+o.styles+"}"}),a},hydrate:function(e){e.forEach((function(e){t.inserted[e]=!0}))},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:Rr.bind(null,t.registered),merge:pn.bind(null,t.registered,r)}}(),gn=(vn.flush,vn.hydrate,vn.cx),yn=(vn.merge,vn.getRegisteredStyles,vn.injectGlobal,vn.keyframes,vn.css);vn.sheet,vn.cache;const bn=window.wp.primitives;var wn=(0,Ct.jsx)(bn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Ct.jsx)(bn.Path,{d:"M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z"})}),Cn=(0,Ct.jsx)(bn.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,Ct.jsx)(bn.Path,{d:"M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8Zm3.8 10.7-1.1 1.1-2.7-2.7-2.7 2.7-1.1-1.1 2.7-2.7-2.7-2.7 1.1-1.1 2.7 2.7 2.7-2.7 1.1 1.1-2.7 2.7 2.7 2.7Z"})}),xn=(0,Ct.jsx)(bn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Ct.jsx)(bn.Path,{d:"M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"})});const En=window.wp.deprecated,Sn=window.wp.compose,Rn=(window.wp.url,window.wp.date,window.wp.keycodes);function An(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}var kn,Ln,Tn,On,Pn,Mn;"function"==typeof SuppressedError&&SuppressedError,function(e){e.DARK="dark",e.MUTED="muted",e.ACCENT="accent",e.NORMAL="normal",e.WHITE="white",e.DANGER="danger",e.WARNING="warning",e.INFO="info",e.SUCCESS="success"}(kn||(kn={})),function(e){e.GIGANTIC="gigantic",e.HUGE="huge",e.EXTRA_LARGE="extraLarge",e.LARGE="large",e.SUBTITLE_SMALL="subtitleSmall",e.NORMAL="normal",e.SMALL="small"}(Ln||(Ln={})),function(e){e.GIGANTIC="gigantic",e.HUGE="huge",e.EXTRA_LARGE="extraLarge",e.LARGE="large",e.SUBTITLE_SMALL="subtitleSmall",e.NORMAL="normal",e.SMALL="small"}(Tn||(Tn={})),function(e){e[e.HEAVY=600]="HEAVY",e[e.NORMAL=400]="NORMAL",e[e.LIGHT=300]="LIGHT"}(On||(On={})),function(e){e.PRIMARY="primary",e.PRIMARY_CONTRAST="primaryContrast",e.SECONDARY="secondary",e.TERTIARY="tertiary",e.QUATERNARY="quaternary",e.UNDER_PAGE="underPage",e.UNDER_PAGE_CONTRAST="underPageContrast",e.PRIMARY_ACCENT="primaryAccent",e.INFO_ACCENT="infoAccent",e.DANGER="danger",e.DANGER_LIGHT="dangerLight",e.WARNING="warning",e.WARNING_LIGHT="warningLight",e.WARNING_STRICT="warningStrict",e.INFO="info",e.INFO_BRIGHT="infoBright",e.SUCCESS="success",e.DARK="dark",e.GALAXY="galaxy"}(Pn||(Pn={})),function(e){e.HUGE="huge",e.WIDE="wide",e.XLARGE="xlarge",e.LARGE="large",e.MEDIUM="medium",e.SMALL="small",e.MOBILE="mobile"}(Mn||(Mn={}));const Dn=fn("div",{target:"epu5adf0"})("background-color:",(({theme:e,variant:t})=>t?e.colors.surface[t]:e.colors.surface.primary),";background-image:",(({theme:e,variant:t,gradientPosition:r="right"})=>t===Pn.GALAXY&&`radial-gradient(circle farthest-side at ${r} top, hsla(0, 0%, 100%, 0) 0%, ${e.colors.primary.base}99 0%, hsla(0, 0%, 100%, 0) 50%, hsla(0, 0%, 100%, 0) 100%);`),";background-blend-mode:",(({variant:e})=>e===Pn.GALAXY&&"exclusion"),";"),Nn=(0,gt.createContext)(void 0);(0,gt.forwardRef)((function(e,t){const{components:{surface:r}}=Zr(),{variant:n=Pn.PRIMARY}=e,o=(0,gt.useMemo)((()=>({variant:n,textVariant:r.variant[n]})),[n,r.variant]);return rn(Nn.Provider,{value:o,children:rn(Dn,Object.assign({},e,{ref:t}))})}));const In=fn("span",{target:"e19li2x11"})("margin:0;color:",(({theme:e,variant:t})=>t?e.colors.text[t]:e.colors.text.normal),";font-size:",(({theme:{sizes:e,getSize:t},size:r})=>t(r?e.text[r]:e.text.normal)),";line-height:",(({theme:{sizes:e,getSize:t},size:r})=>r?t(e.height[r]):""),";font-weight:",(({weight:e})=>e),";text-transform:",(({textTransform:e})=>e||"none"),";text-decoration:",(({decoration:e})=>e||"auto"),";display:",(({icon:e,indicator:t,as:r})=>(e||t)&&("span"===r?"inline-flex":"flex")),";align-items:",(({icon:e,indicator:t})=>(e||t)&&"center"),";text-align:",(({align:e,icon:t,indicator:r})=>!t&&!r&&e),";justify-content:",(({align:e,icon:t,indicator:r})=>(t||r)&&e),";gap:",(({theme:{getSize:e},icon:t,indicator:r,gap:n})=>(t||r)&&e(.25*(null!=n?n:2))),";&::before{content:",(({indicator:e})=>e&&"''"),";background-color:",(({indicator:e})=>e),";width:",(({theme:{getSize:e,sizes:t},size:r})=>e(r?t.text[r]:t.text.normal)),";height:",(({theme:{getSize:e,sizes:t},size:r})=>e(r?t.text[r]:t.text.normal)),";border-radius:50%;}"),jn=fn(on.Icon,{shouldForwardProp:e=>"hasText"!==e&&"variant"!==e&&"iconColor"!==e&&"iconPosition"!==e,target:"e19li2x10"})("flex-shrink:0;width:",(({size:e})=>e),"px;height:",(({size:e})=>e),"px;fill:",(({theme:e,iconColor:t,variant:r})=>t||e.colors.text[r]),";"),Fn=(0,gt.forwardRef)(((e,t)=>{var{variant:r,size:n=Ln.NORMAL,as:o="span",weight:a,text:i,decoration:s,textTransform:l,align:c="left",icon:u,iconSize:d=24,iconColor:f,iconPosition:h="left",indicator:p,className:m,children:v,truncateLines:g}=e,y=An(e,["variant","size","as","weight","text","decoration","textTransform","align","icon","iconSize","iconColor","iconPosition","indicator","className","children","truncateLines"]);const b=(0,gt.useContext)(Nn),w=r||(null==b?void 0:b.textVariant)||kn.NORMAL,C=In.withComponent(o,{target:"e19li2x12"}),x=u&&rn(jn,{variant:w,icon:u,iconColor:f,iconPosition:h,size:d,hasText:void 0!==i||void 0!==v}),E=!!g&&yn("-webkit-box-orient:vertical;-webkit-line-clamp:",g,";display:-webkit-box;overflow:hidden;","");return nn(C,Object.assign({variant:w,size:n,weight:a,decoration:s,textTransform:l,align:c,as:o,icon:u,iconPosition:h,indicator:p,className:gn("it-ui-text",m,E,{"it-ui-text--has-icon":!!x}),ref:t},y,{children:["left"===h&&x,i,v,"right"===h&&x]}))})),zn={danger:{background:"#FAE9E6",hover:"#F5D3CE",border:"1px solid rgba(209, 37, 2, 0.15)"},active:{background:"#D9EEFF",hover:"#BDDFFF",border:"1px solid transparent"},inactive:{background:"#e7e7e7",hover:"#d7d7d7",border:"1px solid transparent"},info:{background:"#E9EFFC",hover:"#D3DFFA",border:"1px solid transparent"}},Hn=fn("span",{target:"e18e7x8p4"})("display:flex;flex-shrink:0;width:fit-content;background-color:",(({variantName:e})=>zn[e].background),";padding:",(({theme:{getSize:e}})=>`${e(.25)} ${e(.5)}`),";border:",(({variantName:e})=>zn[e].border),";border-radius:",(({theme:{getSize:e}})=>e(1)),";& svg{border-radius:",(({theme:{getSize:e}})=>e(1)),";display:inline-block;box-sizing:content-box!important;padding:3.5px;margin:-4px -5px -4px -7px;}"),Un=fn(Hn,{target:"e18e7x8p3"})("cursor:pointer;&:hover{background-color:",(({variantName:e})=>zn[e].hover),";& svg{background-color:",(({variantName:e})=>zn[e].background),";}}&:focus,&:focus-visible,&:active{box-shadow:0 0 0 1px ",(({theme:e})=>e.colors.primary.base),";outline:none;}"),$n=fn(Hn,{target:"e18e7x8p2"})(""),Vn=fn(Un.withComponent("a",{target:"e18e7x8p5"}),{target:"e18e7x8p1"})({name:"g65o95",styles:"text-decoration:none"}),Bn=fn(Un.withComponent("button",{target:"e18e7x8p6"}),{target:"e18e7x8p0"})(""),Gn={primary:"inactive",accent:"active",infoAccent:"info"},Wn=(e,t)=>e?(En('"iconColor" prop is deprecated. Icons render dark by default. To render a white icon, set "iconInverted" to "true".',{plugin:"Badge"}),e):t?"#ffffff":"#232323";(0,gt.forwardRef)((function({text:e,icon:t,iconColor:r,iconInverted:n,tooltip:o,variant:a="inactive",href:i,onClick:s},l){const c=(e=>{if(e in Gn){const t=Gn[e];return En(`Badge variant "${e}"`,{alternative:`"${t}"`,plugin:"Badge"}),t}return e})(a);let u="span",d={};i?(u="a",d={href:i},s&&(d.onClick=s)):s&&(u="button",d={onClick:s});const f=rn((e=>"a"===e?Vn:"button"===e?Bn:$n)(u),Object.assign({ref:l,variantName:c},d,{children:rn(Fn,{text:e,size:Ln.SMALL,variant:kn.DARK,icon:t,iconSize:16,iconColor:Wn(r,n)})}));return o?rn(on.Tooltip,{text:o,position:"bottom left",children:f}):f}));const Yn=["textSize","isRounded","isWide","align","iconGap","surfaceVariant","_variant"];function Zn(e,t){return!!t.icon&&!!t.text&&(t.iconPosition||"left")===e}const qn=fn(on.Button,{shouldForwardProp:e=>!Yn.includes(e),target:"esijqd70"})("&.components-button{font-size:",(({theme:{sizes:e,getSize:t},textSize:r})=>t(r?e.text[r]:e.text.normal)),";height:",(({textSize:e})=>e&&"auto"),";border-radius:",(({isRounded:e})=>e&&"12px"),";padding:",(({theme:{getSize:e},isWide:t})=>t&&`${e(.75)} ${e(4)}`),";justify-content:",(({align:e})=>e||"center"),";--wp-components-color-accent:",(({theme:e,_variant:t,isDestructive:r})=>!r&&("secondaryAccent"===t&&e.colors.secondary.base||"tertiaryAccent"===t&&e.colors.tertiary.base||"muted"===t&&e.colors.text.muted||e.colors.primary.base)),";--wp-admin-theme-color:",(({theme:e,_variant:t,isDestructive:r})=>!r&&("secondaryAccent"===t&&e.colors.secondary.base||"tertiaryAccent"===t&&e.colors.tertiary.base||"muted"===t&&e.colors.text.muted||e.colors.primary.base)),";--wp-admin-theme-color-darker-10:",(({theme:e,_variant:t,isDestructive:r})=>!r&&("secondaryAccent"===t&&e.colors.secondary.darker10||"tertiaryAccent"===t&&e.colors.tertiary.darker10||"muted"===t&&e.colors.text.muted||e.colors.primary.darker10)),";--wp-admin-theme-color-darker-20:",(({theme:e,_variant:t,isDestructive:r})=>!r&&("secondaryAccent"===t&&e.colors.secondary.darker20||"tertiaryAccent"===t&&e.colors.tertiary.darker20||"muted"===t&&e.colors.text.muted||e.colors.primary.darker20)),";color:",(({theme:e,_variant:t,surfaceVariant:r,isDestructive:n})=>!n&&("secondaryAccent"===t&&e.colors.text.white||"tertiaryAccent"===t&&e.colors.text.dark||"tertiary"===t&&r===Pn.SECONDARY&&e.colors.text.accent||"muted"===t&&e.colors.text.muted||"tertiary"===t&&e.colors.text.dark)),";&.is-primary:hover:not(:disabled),&.is-primary:active:not(:disabled),&.is-primary:disabled,&.is-primary:disabled:active:enabled,&.is-primary[aria-disabled='true'],&.is-primary[aria-disabled='true']:enabled,&.is-primary[aria-disabled='true']:active:enabled,&.is-primary.is-busy,&.is-primary.is-busy:disabled,&.is-primary.is-busy[aria-disabled='true']{color:",(({theme:e,_variant:t})=>"secondaryAccent"===t&&e.colors.text.white||"tertiaryAccent"===t&&e.colors.text.dark),";}&.is-secondary:hover:not(:disabled),&.is-secondary:focus:not(:disabled){color:var(--wp-admin-theme-color-darker-10);}& svg{margin-left:",(e=>{var{theme:{getSize:t},iconGap:r}=e;return Zn("right",An(e,["theme","iconGap"]))&&t(.25*(null!=r?r:2))}),";margin-right:",(e=>{var{theme:{getSize:t},iconGap:r}=e;return Zn("left",An(e,["theme","iconGap"]))&&t(.25*(null!=r?r:2))}),";}}"),Kn=(0,gt.forwardRef)(((e,t)=>{var r;const n=null!==(r=e.variant)&&void 0!==r?r:"secondary",o=function(e){return"secondaryAccent"===e||"tertiaryAccent"===e?"primary":"muted"===e?"secondary":null!=e?e:"secondary"}(e.variant),a=(0,gt.useContext)(Nn),{iconGap:i=2}=e;return rn(qn,Object.assign({},e,{ref:t,iconGap:i,variant:o,_variant:n,surfaceVariant:null==a?void 0:a.variant}))})),Xn=fn("div",{target:"e5g6tmc1"})("display:",(({hasIcon:e})=>e?"flex":"block"),";gap:",(({theme:{getSize:e},hasIcon:t})=>t&&e(.25)),";align-items:center;margin:0;line-height:",(({theme:{sizes:e,getSize:t},size:r})=>r?t(e.height[r]):""),";color:",(({theme:{colors:e},variant:t})=>e.text[t]),";font-size:",(({theme:{sizes:e,getSize:t},size:r})=>t(e.text[r])),";font-weight:",(({weight:e})=>e),";text-align:",(({align:e,hasIcon:t})=>!t&&e),";justify-content:",(({align:e,hasIcon:t})=>t&&e),";text-transform:",(({textTransform:e})=>e||"none"),";"),Jn=fn(on.Icon,{shouldForwardProp:e=>"iconColor"!==e,target:"e5g6tmc0"})("flex-shrink:0;width:",(({size:e})=>e),"px;height:",(({size:e})=>e),"px;fill:",(({theme:e,iconColor:t,variant:r})=>t||e.colors.text[r]),";");function Qn(e){const{components:{heading:t}}=Zr(),r=(0,gt.useContext)(Nn),n=e.variant||(null==r?void 0:r.textVariant)||t.variants[e.level],o=e.size||t.sizes[e.level],a=e.weight||t.weights[e.level],i=e.textTransform||"none",s="h"+e.level;return nn(Xn.withComponent(s,{target:"e5g6tmc2"}),{weight:a,variant:n,size:o,hasIcon:!!e.icon,className:gn("it-ui-heading",e.className),textTransform:i,align:e.align||"left",children:[e.icon&&rn(Jn,{icon:e.icon,size:e.iconSize,variant:n,iconColor:e.iconColor}),e.text,e.children]})}(0,gt.createContext)({variant:"primary"});var eo="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},to=function(e){return e&&e.Math===Math&&e},ro=to("object"==typeof globalThis&&globalThis)||to("object"==typeof window&&window)||to("object"==typeof self&&self)||to("object"==typeof eo&&eo)||to("object"==typeof eo&&eo)||function(){return this}()||Function("return this")(),no={},oo=function(e){try{return!!e()}catch(e){return!0}},ao=!oo((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),io=!oo((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),so=io,lo=Function.prototype.call,co=so?lo.bind(lo):function(){return lo.apply(lo,arguments)},uo={},fo={}.propertyIsEnumerable,ho=Object.getOwnPropertyDescriptor,po=ho&&!fo.call({1:2},1);uo.f=po?function(e){var t=ho(this,e);return!!t&&t.enumerable}:fo;var mo,vo,go=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},yo=io,bo=Function.prototype,wo=bo.call,Co=yo&&bo.bind.bind(wo,wo),xo=yo?Co:function(e){return function(){return wo.apply(e,arguments)}},Eo=xo,So=Eo({}.toString),Ro=Eo("".slice),Ao=function(e){return Ro(So(e),8,-1)},ko=oo,_o=Ao,Lo=Object,To=xo("".split),Oo=ko((function(){return!Lo("z").propertyIsEnumerable(0)}))?function(e){return"String"===_o(e)?To(e,""):Lo(e)}:Lo,Po=function(e){return null==e},Mo=Po,Do=TypeError,No=function(e){if(Mo(e))throw new Do("Can't call method on "+e);return e},Io=Oo,jo=No,Fo=function(e){return Io(jo(e))},zo="object"==typeof document&&document.all,Ho=void 0===zo&&void 0!==zo?function(e){return"function"==typeof e||e===zo}:function(e){return"function"==typeof e},Uo=Ho,$o=function(e){return"object"==typeof e?null!==e:Uo(e)},Vo=ro,Bo=Ho,Go=function(e,t){return arguments.length<2?(r=Vo[e],Bo(r)?r:void 0):Vo[e]&&Vo[e][t];var r},Wo=xo({}.isPrototypeOf),Yo=ro,Zo="undefined"!=typeof navigator&&String(navigator.userAgent)||"",qo=Yo.process,Ko=Yo.Deno,Xo=qo&&qo.versions||Ko&&Ko.version,Jo=Xo&&Xo.v8;Jo&&(vo=(mo=Jo.split("."))[0]>0&&mo[0]<4?1:+(mo[0]+mo[1])),!vo&&Zo&&(!(mo=Zo.match(/Edge\/(\d+)/))||mo[1]>=74)&&(mo=Zo.match(/Chrome\/(\d+)/))&&(vo=+mo[1]);var Qo=vo,ea=oo,ta=ro.String,ra=!!Object.getOwnPropertySymbols&&!ea((function(){var e=Symbol("symbol detection");return!ta(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Qo&&Qo<41})),na=ra&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,oa=Go,aa=Ho,ia=Wo,sa=Object,la=na?function(e){return"symbol"==typeof e}:function(e){var t=oa("Symbol");return aa(t)&&ia(t.prototype,sa(e))},ca=String,ua=function(e){try{return ca(e)}catch(e){return"Object"}},da=Ho,fa=ua,ha=TypeError,pa=function(e){if(da(e))return e;throw new ha(fa(e)+" is not a function")},ma=pa,va=Po,ga=function(e,t){var r=e[t];return va(r)?void 0:ma(r)},ya=co,ba=Ho,wa=$o,Ca=TypeError,xa={exports:{}},Ea=ro,Sa=Object.defineProperty,Ra=function(e,t){try{Sa(Ea,e,{value:t,configurable:!0,writable:!0})}catch(r){Ea[e]=t}return t},Aa=ro,ka=Ra,_a="__core-js_shared__",La=xa.exports=Aa[_a]||ka(_a,{});(La.versions||(La.versions=[])).push({version:"3.36.1",mode:"global",copyright:"Ā© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Ta=xa.exports,Oa=Ta,Pa=function(e,t){return Oa[e]||(Oa[e]=t||{})},Ma=No,Da=Object,Na=function(e){return Da(Ma(e))},Ia=Na,ja=xo({}.hasOwnProperty),Fa=Object.hasOwn||function(e,t){return ja(Ia(e),t)},za=xo,Ha=0,Ua=Math.random(),$a=za(1..toString),Va=function(e){return"Symbol("+(void 0===e?"":e)+")_"+$a(++Ha+Ua,36)},Ba=Pa,Ga=Fa,Wa=Va,Ya=ra,Za=na,qa=ro.Symbol,Ka=Ba("wks"),Xa=Za?qa.for||qa:qa&&qa.withoutSetter||Wa,Ja=function(e){return Ga(Ka,e)||(Ka[e]=Ya&&Ga(qa,e)?qa[e]:Xa("Symbol."+e)),Ka[e]},Qa=co,ei=$o,ti=la,ri=ga,ni=TypeError,oi=Ja("toPrimitive"),ai=function(e,t){if(!ei(e)||ti(e))return e;var r,n=ri(e,oi);if(n){if(void 0===t&&(t="default"),r=Qa(n,e,t),!ei(r)||ti(r))return r;throw new ni("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var r,n;if("string"===t&&ba(r=e.toString)&&!wa(n=ya(r,e)))return n;if(ba(r=e.valueOf)&&!wa(n=ya(r,e)))return n;if("string"!==t&&ba(r=e.toString)&&!wa(n=ya(r,e)))return n;throw new Ca("Can't convert object to primitive value")}(e,t)},ii=la,si=function(e){var t=ai(e,"string");return ii(t)?t:t+""},li=$o,ci=ro.document,ui=li(ci)&&li(ci.createElement),di=function(e){return ui?ci.createElement(e):{}},fi=di,hi=!ao&&!oo((function(){return 7!==Object.defineProperty(fi("div"),"a",{get:function(){return 7}}).a})),pi=ao,mi=co,vi=uo,gi=go,yi=Fo,bi=si,wi=Fa,Ci=hi,xi=Object.getOwnPropertyDescriptor;no.f=pi?xi:function(e,t){if(e=yi(e),t=bi(t),Ci)try{return xi(e,t)}catch(e){}if(wi(e,t))return gi(!mi(vi.f,e,t),e[t])};var Ei={},Si=ao&&oo((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ri=$o,Ai=String,ki=TypeError,_i=function(e){if(Ri(e))return e;throw new ki(Ai(e)+" is not an object")},Li=ao,Ti=hi,Oi=Si,Pi=_i,Mi=si,Di=TypeError,Ni=Object.defineProperty,Ii=Object.getOwnPropertyDescriptor,ji="enumerable",Fi="configurable",zi="writable";Ei.f=Li?Oi?function(e,t,r){if(Pi(e),t=Mi(t),Pi(r),"function"==typeof e&&"prototype"===t&&"value"in r&&zi in r&&!r[zi]){var n=Ii(e,t);n&&n[zi]&&(e[t]=r.value,r={configurable:Fi in r?r[Fi]:n[Fi],enumerable:ji in r?r[ji]:n[ji],writable:!1})}return Ni(e,t,r)}:Ni:function(e,t,r){if(Pi(e),t=Mi(t),Pi(r),Ti)try{return Ni(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new Di("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Hi=Ei,Ui=go,$i=ao?function(e,t,r){return Hi.f(e,t,Ui(1,r))}:function(e,t,r){return e[t]=r,e},Vi={exports:{}},Bi=ao,Gi=Fa,Wi=Function.prototype,Yi=Bi&&Object.getOwnPropertyDescriptor,Zi={CONFIGURABLE:Gi(Wi,"name")&&(!Bi||Bi&&Yi(Wi,"name").configurable)},qi=Ho,Ki=Ta,Xi=xo(Function.toString);qi(Ki.inspectSource)||(Ki.inspectSource=function(e){return Xi(e)});var Ji,Qi,es,ts=Ki.inspectSource,rs=Ho,ns=ro.WeakMap,os=rs(ns)&&/native code/.test(String(ns)),as=Va,is=Pa("keys"),ss=function(e){return is[e]||(is[e]=as(e))},ls={},cs=os,us=ro,ds=$o,fs=$i,hs=Fa,ps=Ta,ms=ss,vs=ls,gs="Object already initialized",ys=us.TypeError,bs=us.WeakMap;if(cs||ps.state){var ws=ps.state||(ps.state=new bs);ws.get=ws.get,ws.has=ws.has,ws.set=ws.set,Ji=function(e,t){if(ws.has(e))throw new ys(gs);return t.facade=e,ws.set(e,t),t},Qi=function(e){return ws.get(e)||{}},es=function(e){return ws.has(e)}}else{var Cs=ms("state");vs[Cs]=!0,Ji=function(e,t){if(hs(e,Cs))throw new ys(gs);return t.facade=e,fs(e,Cs,t),t},Qi=function(e){return hs(e,Cs)?e[Cs]:{}},es=function(e){return hs(e,Cs)}}var xs={set:Ji,get:Qi,has:es,enforce:function(e){return es(e)?Qi(e):Ji(e,{})},getterFor:function(e){return function(t){var r;if(!ds(t)||(r=Qi(t)).type!==e)throw new ys("Incompatible receiver, "+e+" required");return r}}},Es=xo,Ss=oo,Rs=Ho,As=Fa,ks=ao,_s=Zi.CONFIGURABLE,Ls=ts,Ts=xs.enforce,Os=xs.get,Ps=String,Ms=Object.defineProperty,Ds=Es("".slice),Ns=Es("".replace),Is=Es([].join),js=ks&&!Ss((function(){return 8!==Ms((function(){}),"length",{value:8}).length})),Fs=String(String).split("String"),zs=Vi.exports=function(e,t,r){"Symbol("===Ds(Ps(t),0,7)&&(t="["+Ns(Ps(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!As(e,"name")||_s&&e.name!==t)&&(ks?Ms(e,"name",{value:t,configurable:!0}):e.name=t),js&&r&&As(r,"arity")&&e.length!==r.arity&&Ms(e,"length",{value:r.arity});try{r&&As(r,"constructor")&&r.constructor?ks&&Ms(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=Ts(e);return As(n,"source")||(n.source=Is(Fs,"string"==typeof t?t:"")),e};Function.prototype.toString=zs((function(){return Rs(this)&&Os(this).source||Ls(this)}),"toString");var Hs,Us=Vi.exports,$s=Ho,Vs=Ei,Bs=Us,Gs=Ra,Ws=function(e,t,r,n){n||(n={});var o=n.enumerable,a=void 0!==n.name?n.name:t;if($s(r)&&Bs(r,a,n),n.global)o?e[t]=r:Gs(t,r);else{try{n.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=r:Vs.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Ys={},Zs=Math.ceil,qs=Math.floor,Ks=Math.trunc||function(e){var t=+e;return(t>0?qs:Zs)(t)},Xs=function(e){var t=+e;return t!=t||0===t?0:Ks(t)},Js=Xs,Qs=Math.max,el=Math.min,tl=Xs,rl=Math.min,nl=function(e){return t=e.length,(r=tl(t))>0?rl(r,9007199254740991):0;var t,r},ol=Fo,al=nl,il={indexOf:(Hs=!1,function(e,t,r){var n=ol(e),o=al(n);if(0===o)return-1;var a=function(e,t){var r=Js(e);return r<0?Qs(r+t,0):el(r,t)}(r,o);for(Hs;o>a;a++)if(a in n&&n[a]===t)return a||0;return-1})},sl=Fa,ll=Fo,cl=il.indexOf,ul=ls,dl=xo([].push),fl=function(e,t){var r,n=ll(e),o=0,a=[];for(r in n)!sl(ul,r)&&sl(n,r)&&dl(a,r);for(;t.length>o;)sl(n,r=t[o++])&&(~cl(a,r)||dl(a,r));return a},hl=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],pl=fl,ml=hl.concat("length","prototype");Ys.f=Object.getOwnPropertyNames||function(e){return pl(e,ml)};var vl={};vl.f=Object.getOwnPropertySymbols;var gl=Go,yl=Ys,bl=vl,wl=_i,Cl=xo([].concat),xl=gl("Reflect","ownKeys")||function(e){var t=yl.f(wl(e)),r=bl.f;return r?Cl(t,r(e)):t},El=Fa,Sl=xl,Rl=no,Al=Ei,kl=oo,_l=Ho,Ll=/#|\.prototype\./,Tl=function(e,t){var r=Pl[Ol(e)];return r===Dl||r!==Ml&&(_l(t)?kl(t):!!t)},Ol=Tl.normalize=function(e){return String(e).replace(Ll,".").toLowerCase()},Pl=Tl.data={},Ml=Tl.NATIVE="N",Dl=Tl.POLYFILL="P",Nl=Tl,Il=ro,jl=no.f,Fl=$i,zl=Ws,Hl=Ra,Ul=function(e,t,r){for(var n=Sl(t),o=Al.f,a=Rl.f,i=0;i<n.length;i++){var s=n[i];El(e,s)||r&&El(r,s)||o(e,s,a(t,s))}},$l=Nl,Vl=function(e,t){var r,n,o,a,i,s=e.target,l=e.global,c=e.stat;if(r=l?Il:c?Il[s]||Hl(s,{}):Il[s]&&Il[s].prototype)for(n in t){if(a=t[n],o=e.dontCallGetSet?(i=jl(r,n))&&i.value:r[n],!$l(l?n:s+(c?".":"#")+n,e.forced)&&void 0!==o){if(typeof a==typeof o)continue;Ul(a,o)}(e.sham||o&&o.sham)&&Fl(a,"sham",!0),zl(r,n,a,e)}},Bl=function(e){return{iterator:e,next:e.next,done:!1}},Gl={},Wl=fl,Yl=hl,Zl=Object.keys||function(e){return Wl(e,Yl)},ql=ao,Kl=Si,Xl=Ei,Jl=_i,Ql=Fo,ec=Zl;Gl.f=ql&&!Kl?Object.defineProperties:function(e,t){Jl(e);for(var r,n=Ql(t),o=ec(t),a=o.length,i=0;a>i;)Xl.f(e,r=o[i++],n[r]);return e};var tc,rc=Go("document","documentElement"),nc=_i,oc=Gl,ac=hl,ic=ls,sc=rc,lc=di,cc="prototype",uc="script",dc=ss("IE_PROTO"),fc=function(){},hc=function(e){return"<"+uc+">"+e+"</"+uc+">"},pc=function(e){e.write(hc("")),e.close();var t=e.parentWindow.Object;return e=null,t},mc=function(){try{tc=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;mc="undefined"!=typeof document?document.domain&&tc?pc(tc):(t=lc("iframe"),r="java"+uc+":",t.style.display="none",sc.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(hc("document.F=Object")),e.close(),e.F):pc(tc);for(var n=ac.length;n--;)delete mc[cc][ac[n]];return mc()};ic[dc]=!0;var vc,gc,yc,bc=Object.create||function(e,t){var r;return null!==e?(fc[cc]=nc(e),r=new fc,fc[cc]=null,r[dc]=e):r=mc(),void 0===t?r:oc.f(r,t)},wc=Ws,Cc=!oo((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),xc=Fa,Ec=Ho,Sc=Na,Rc=Cc,Ac=ss("IE_PROTO"),kc=Object,_c=kc.prototype,Lc=Rc?kc.getPrototypeOf:function(e){var t=Sc(e);if(xc(t,Ac))return t[Ac];var r=t.constructor;return Ec(r)&&t instanceof r?r.prototype:t instanceof kc?_c:null},Tc=oo,Oc=Ho,Pc=$o,Mc=Lc,Dc=Ws,Nc=Ja("iterator");[].keys&&"next"in(yc=[].keys())&&(gc=Mc(Mc(yc)))!==Object.prototype&&(vc=gc);var Ic=!Pc(vc)||Tc((function(){var e={};return vc[Nc].call(e)!==e}));Ic&&(vc={}),Oc(vc[Nc])||Dc(vc,Nc,(function(){return this}));var jc={IteratorPrototype:vc},Fc=co,zc=_i,Hc=ga,Uc=function(e,t,r){var n,o;zc(e);try{if(!(n=Hc(e,"return"))){if("throw"===t)throw r;return r}n=Fc(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return zc(n),r},$c=co,Vc=bc,Bc=$i,Gc=xs,Wc=ga,Yc=jc.IteratorPrototype,Zc=function(e,t){return{value:e,done:t}},qc=Uc,Kc=Ja("toStringTag"),Xc="IteratorHelper",Jc="WrapForValidIterator",Qc=Gc.set,eu=function(e){var t=Gc.getterFor(e?Jc:Xc);return function(e,t,r){for(var n in t)wc(e,n,t[n],r);return e}(Vc(Yc),{next:function(){var r=t(this);if(e)return r.nextHandler();try{var n=r.done?void 0:r.nextHandler();return Zc(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),n=r.iterator;if(r.done=!0,e){var o=Wc(n,"return");return o?$c(o,n):Zc(void 0,!0)}if(r.inner)try{qc(r.inner.iterator,"normal")}catch(e){return qc(n,"throw",e)}return qc(n,"normal"),Zc(void 0,!0)}})},tu=eu(!0),ru=eu(!1);Bc(ru,Kc,"Iterator Helper");var nu=function(e,t){var r=function(r,n){n?(n.iterator=r.iterator,n.next=r.next):n=r,n.type=t?Jc:Xc,n.nextHandler=e,n.counter=0,n.done=!1,Qc(this,n)};return r.prototype=t?tu:ru,r},ou=_i,au=Uc,iu=function(e,t,r,n){try{return n?t(ou(r)[0],r[1]):t(r)}catch(t){au(e,"throw",t)}},su=co,lu=pa,cu=_i,uu=Bl,du=iu,fu=nu((function(){var e=this.iterator,t=cu(su(this.next,e));if(!(this.done=!!t.done))return du(e,this.mapper,[t.value,this.counter++],!0)}));Vl({target:"Iterator",proto:!0,real:!0,forced:!1},{map:function(e){return cu(this),lu(e),new fu(uu(this),{mapper:e})}}),On.HEAVY,(0,gt.createContext)({});var hu=Wo,pu=TypeError,mu=Us,vu=Ei,gu=ao,yu=Ei,bu=go,wu=Vl,Cu=ro,xu=_i,Eu=Ho,Su=Lc,Ru=oo,Au=Fa,ku=jc.IteratorPrototype,_u=ao,Lu="constructor",Tu="Iterator",Ou=Ja("toStringTag"),Pu=TypeError,Mu=Cu[Tu],Du=!Eu(Mu)||Mu.prototype!==ku||!Ru((function(){Mu({})})),Nu=function(){if(function(e,t){if(hu(t,e))return e;throw new pu("Incorrect invocation")}(this,ku),Su(this)===ku)throw new Pu("Abstract class Iterator not directly constructable")},Iu=function(e,t){var r,n,o;_u?(r=ku,n=e,o={configurable:!0,get:function(){return t},set:function(t){if(xu(this),this===ku)throw new Pu("You can't redefine this property");Au(this,e)?this[e]=t:function(e,t,r){gu?yu.f(e,t,bu(0,r)):e[t]=r}(this,e,t)}},o.get&&mu(o.get,n,{getter:!0}),o.set&&mu(o.set,n,{setter:!0}),vu.f(r,n,o)):ku[e]=t};Au(ku,Ou)||Iu(Ou,Tu),!Du&&Au(ku,Lu)&&ku[Lu]!==Object||Iu(Lu,Nu),Nu.prototype=ku,wu({global:!0,constructor:!0,forced:Du},{Iterator:Nu});var ju=Vl,Fu=co,zu=pa,Hu=_i,Uu=Bl,$u=iu,Vu=nu((function(){for(var e,t,r=this.iterator,n=this.predicate,o=this.next;;){if(e=Hu(Fu(o,r)),this.done=!!e.done)return;if(t=e.value,$u(r,n,[t,this.counter++],!0))return t}}));ju({target:"Iterator",proto:!0,real:!0,forced:!1},{filter:function(e){return Hu(this),zu(e),new Vu(Uu(this),{predicate:e})}}),(0,gt.createContext)({filters:{},openPanels:[],dispatch:()=>null,expandSingle:!1});var Bu=Ao,Gu=xo,Wu=function(e){if("Function"===Bu(e))return Gu(e)},Yu=pa,Zu=io,qu=Wu(Wu.bind),Ku={},Xu=Ku,Ju=Ja("iterator"),Qu=Array.prototype,ed={};ed[Ja("toStringTag")]="z";var td="[object z]"===String(ed),rd=Ho,nd=Ao,od=Ja("toStringTag"),ad=Object,id="Arguments"===nd(function(){return arguments}()),sd=td?nd:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=ad(e),od))?r:id?nd(t):"Object"===(n=nd(t))&&rd(t.callee)?"Arguments":n},ld=ga,cd=Po,ud=Ku,dd=Ja("iterator"),fd=function(e){if(!cd(e))return ld(e,dd)||ld(e,"@@iterator")||ud[sd(e)]},hd=co,pd=pa,md=_i,vd=ua,gd=fd,yd=TypeError,bd=co,wd=_i,Cd=ua,xd=nl,Ed=Wo,Sd=fd,Rd=Uc,Ad=TypeError,kd=function(e,t){this.stopped=e,this.result=t},_d=kd.prototype,Ld=function(e,t,r){var n,o,a,i,s,l,c,u,d=r&&r.that,f=!(!r||!r.AS_ENTRIES),h=!(!r||!r.IS_RECORD),p=!(!r||!r.IS_ITERATOR),m=!(!r||!r.INTERRUPTED),v=function(e,t){return Yu(e),void 0===t?e:Zu?qu(e,t):function(){return e.apply(t,arguments)}}(t,d),g=function(e){return n&&Rd(n,"normal",e),new kd(!0,e)},y=function(e){return f?(wd(e),m?v(e[0],e[1],g):v(e[0],e[1])):m?v(e,g):v(e)};if(h)n=e.iterator;else if(p)n=e;else{if(!(o=Sd(e)))throw new Ad(Cd(e)+" is not iterable");if(void 0!==(u=o)&&(Xu.Array===u||Qu[Ju]===u)){for(a=0,i=xd(e);i>a;a++)if((s=y(e[a]))&&Ed(_d,s))return s;return new kd(!1)}n=function(e,t){var r=arguments.length<2?gd(e):t;if(pd(r))return md(hd(r,e));throw new yd(vd(e)+" is not iterable")}(e,o)}for(l=h?e.next:n.next;!(c=bd(l,n)).done;){try{s=y(c.value)}catch(e){Rd(n,"throw",e)}if("object"==typeof s&&s&&Ed(_d,s))return s}return new kd(!1)},Td=Ld,Od=pa,Pd=_i,Md=Bl;Vl({target:"Iterator",proto:!0,real:!0},{find:function(e){Pd(this),Od(e);var t=Md(this),r=0;return Td(t,(function(t,n){if(e(t,r++))return n(t)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}}),(0,wt.__)("24 hours","LION"),(0,wt.__)("7 days","LION"),(0,wt.__)("30 days","LION"),(0,wt.__)("Custom range","LION");const Dd=fn("div",{target:"e6ae9c80"})("display:flex;align-items:stretch;flex-wrap:nowrap;justify-content:center;height:40px;border-radius:2px;border:1px solid ",(({theme:e})=>e.colors.border.normal),";@media (min-width: ",(({theme:e})=>e.breaks.medium),"px){height:30px;}.components-base-control{flex-grow:1;}.components-base-control__field{height:100%;margin-bottom:0;}.components-text-control__input{height:100%;margin:0;border:none;&:focus{box-shadow:none;outline:none;}}.components-button{height:auto;&:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);position:relative;z-index:1;}}.components-spinner{margin:1px -1px;}.it-ui-text{display:flex;align-items:center;justify-content:center;padding:",(({theme:{getSize:e}})=>`0 ${e(.625)}`),";&.it-ui-text--has-icon{padding:",(({theme:{getSize:e}})=>`0 ${e(.3125)}`),";}&>*{margin:0;}}>*:first-child,>*:first-child .components-text-control__input{border-radius:2px 0 0 2px;}>*:last-child,>*:last-child .components-text-control__input{border-radius:0 2px 2px 0;}>*:only-child,>*:only-child .components-text-control__input{border-radius:2px;}>*:not(:first-child):not(:last-child) .components-text-control__input{border-radius:0;}>*:not(.it-ui-text)+.it-ui-text{border-left:",(({omitSeparators:e,theme:t})=>!0===e||"right"===e?"none":`1px solid ${t.colors.border.normal}`),";}>.it-ui-text+*:not(.it-ui-text){border-left:",(({omitSeparators:e,theme:t})=>!0===e||"left"===e?"none":`1px solid ${t.colors.border.normal}`),";}&:focus-within{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:3px solid transparent;>*:not(.it-ui-text)+.it-ui-text{border-left:var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color);}>.it-ui-text+*:not(.it-ui-text){border-left:var(--wp-admin-border-width-focus) solid var(--wp-admin-theme-color);}}");function Nd({children:e,className:t,omitSeparators:r=!1,surfaceVariant:n=Pn.PRIMARY,size:o="medium"}){return rn(Dd,{className:gn("it-ui-input-group",t),surfaceVariant:n,omitSeparators:r,size:o,children:e})}Pn.INFO,Pn.SUCCESS,Pn.WARNING_LIGHT,Pn.WARNING_STRICT,Pn.DANGER_LIGHT,kn.WHITE,kn.WHITE,kn.DARK,kn.MUTED;const Id=(0,gt.forwardRef)((function({theme:e,children:t},r){const[n,o]=(0,gt.useState)(1),a=(0,Sn.useMergeRefs)([(0,Sn.useRefEffect)((e=>{const t=e.ownerDocument.body,r=t.parentElement;if(!r)return;const n=e.ownerDocument.createElement("iframe");n.style.visibility="hidden",n.setAttribute("aria-hidden","true"),n.srcdoc='<!DOCTYPE html><html lang="en"><head><title>Sizer</title></head><body></body></html>',t.append(n);const a=n.contentDocument;if(!a)return;const i=Number.parseFloat(window.getComputedStyle(a.body).fontSize);n.remove();const s=Number.parseFloat(window.getComputedStyle(r).fontSize);o(1/(s/i))}),[]),r]),i=(0,gt.useMemo)((()=>Object.assign(Object.assign({},e),{getSize:e=>e*n+"rem"})),[e,n]);return rn("div",{ref:a,children:rn(Kr,{theme:i,children:t})})}));var jd;!function(e){e[e.INITIAL=0]="INITIAL",e[e.SEARCHING=1]="SEARCHING",e[e.CLEARABLE=2]="CLEARABLE",e[e.SUBMITTABLE=3]="SUBMITTABLE"}(jd||(jd={}));const Fd=fn(Nd,{target:"e6tk791"})("background:",(({theme:e})=>e.colors.surface.secondary),";height:",(({theme:{getSize:e},size:t})=>e("small"===t?1.875:"medium"===t?2.25:3)),";@media (min-width: ",(({theme:e})=>e.breaks.medium),"px){height:",(({theme:{getSize:e},size:t})=>e("small"===t?1.875:"medium"===t?2.25:3)),";}.components-text-control__input{background:none;padding:",(({theme:{getSize:e}})=>e(.75)),";border-radius:2px;border:none;height:",(({theme:{getSize:e},size:t})=>e("small"===t?1.875:"medium"===t?2.25:3)),";}&:focus-within{border-color:",(({theme:e})=>e.colors.border),";background:none;}"),zd=fn(on.TextControl,{target:"e6tk790"})({name:"1e1ncky",styles:"border:none"});(0,gt.forwardRef)(((e,t)=>{const{isSearching:r,className:n,value:o,onChange:a,onCancel:i,onSubmit:s,surfaceVariant:l,omitSeparators:c,size:u="medium"}=e,d=An(e,["isSearching","className","value","onChange","onCancel","onSubmit","surfaceVariant","omitSeparators","size"]),f=(0,gt.useRef)(null),h=(0,Sn.useMergeRefs)([f,t]),p=()=>{var e;null===(e=f.current)||void 0===e||e.focus(),r&&i?i():a("")},m=(({isSearching:e,value:t,onCancel:r,onSubmit:n})=>{const o=t.length>0;return!e&&o&&n?jd.SUBMITTABLE:!o||e&&!r?e?jd.SEARCHING:jd.INITIAL:jd.CLEARABLE})(e);return nn(Fd,{className:gn("it-ui-search-control",n),surfaceVariant:l,omitSeparators:c,size:u,children:[rn(zd,Object.assign({value:o,onChange:a,onKeyUp:({keyCode:e})=>e===Rn.ESCAPE&&p(),hideLabelFromVision:!0},d,{ref:h})),m===jd.INITIAL&&rn(Fn,{icon:wn}),m===jd.SEARCHING&&rn(Fn,{children:rn(on.Spinner,{})}),m===jd.CLEARABLE&&rn(Kn,{icon:Cn,variant:"tertiary",onClick:p,label:(0,wt.__)("Cancel Search","LION")}),m===jd.SUBMITTABLE&&rn(Kn,{icon:xn,variant:"tertiary",onClick:()=>{var e;null===(e=f.current)||void 0===e||e.focus(),null==s||s()},label:(0,wt.__)("Submit Search","LION")})]})}));var Hd,Ud,$d=Ld,Vd=pa,Bd=_i,Gd=Bl;Vl({target:"Iterator",proto:!0,real:!0},{forEach:function(e){Bd(this),Vd(e);var t=Gd(this),r=0;$d(t,(function(t){e(t,r++)}),{IS_RECORD:!0})}}),null===(Ud=null===(Hd=window.wp)||void 0===Hd?void 0:Hd.components)||void 0===Ud||Ud.StyleProvider;const Wd={colors:{primary:{base:"#1145C9",darker10:"#0E38A3",darker20:"#0A2D7D"},secondary:{base:"#5F95ED",darker10:"#2B69E3",darker20:"#1145C9"},tertiary:{base:"#D9EEFF",darker10:"#BDDFFF",darker20:"#94C1F7"},text:{dark:"#232323",normal:"#333333",muted:"#545454",accent:"#1145C9",white:"#FFFFFF",danger:"#D12502",warning:"#E86230",info:"#2060E0",success:"#1145C9"},border:{normal:"#D4D4D4",muted:"#e7e7e7",input:"#A3A3A3",info:"#2060E0",danger:"#D12502",warning:"#E86230",warningStrict:"#E39219",success:"#1145C9"},surface:{primary:"#FFFFFF",primaryContrast:"#E7E7E7",secondary:"#E7E7E7",tertiary:"#F5F5F5",quaternary:"#F6F7F7",underPage:"#F5F5F5",underPageContrast:"#E0E0E0",primaryAccent:"#1145C9",infoAccent:"#E9EFFC",danger:"#FAE9E6",dangerLight:"#FAE9E6",warning:"#FCF4E8",warningLight:"#FCF4E8",warningStrict:"#FCF4E8",info:"#E9EFFC",infoBright:"#E9EFFC",success:"#E9EFFC",dark:"#333333",galaxy:"#333333"}},sizes:{text:{gigantic:2,huge:1.5,extraLarge:1.25,large:1,subtitleSmall:.875,normal:.813,small:.75},height:{gigantic:2.5,huge:2,extraLarge:1.75,large:1.5,subtitleSmall:1.25,normal:1,small:1}},breaks:{huge:1440,wide:1280,xlarge:1080,large:960,medium:783,small:600,mobile:480},components:{heading:{sizes:{1:Ln.HUGE,2:Ln.EXTRA_LARGE,3:Ln.LARGE,4:Ln.LARGE,5:Ln.NORMAL,6:Ln.NORMAL},heights:{1:Tn.HUGE,2:Tn.EXTRA_LARGE,3:Tn.LARGE,4:Tn.LARGE,5:Tn.NORMAL,6:Tn.NORMAL},variants:{1:kn.DARK,2:kn.NORMAL,3:kn.NORMAL,4:kn.NORMAL,5:kn.NORMAL,6:kn.NORMAL},weights:{1:On.HEAVY,2:On.NORMAL,3:On.HEAVY,4:On.HEAVY,5:On.HEAVY,6:On.HEAVY}},surface:{variant:{[Pn.PRIMARY]:kn.NORMAL,[Pn.PRIMARY_CONTRAST]:kn.DARK,[Pn.SECONDARY]:kn.NORMAL,[Pn.TERTIARY]:kn.NORMAL,[Pn.QUATERNARY]:kn.NORMAL,[Pn.UNDER_PAGE]:kn.NORMAL,[Pn.UNDER_PAGE_CONTRAST]:kn.DARK,[Pn.PRIMARY_ACCENT]:kn.WHITE,[Pn.INFO_ACCENT]:kn.ACCENT,[Pn.INFO_BRIGHT]:kn.DARK,[Pn.DANGER]:kn.DARK,[Pn.DANGER_LIGHT]:kn.DARK,[Pn.WARNING]:kn.DARK,[Pn.WARNING_LIGHT]:kn.DARK,[Pn.WARNING_STRICT]:kn.DARK,[Pn.INFO]:kn.DARK,[Pn.SUCCESS]:kn.DARK,[Pn.DARK]:kn.WHITE,[Pn.GALAXY]:kn.WHITE},contrast:{[Pn.PRIMARY]:Pn.PRIMARY_CONTRAST,[Pn.UNDER_PAGE]:Pn.UNDER_PAGE_CONTRAST}}},getSize:e=>`${e}rem`},Yd=window.wp.hooks,Zd=((0,gt.memo)((()=>(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},(0,e.createElement)("path",{d:"M180.4 203c-.7 22.7 10.6 32.7 10.9 39.1a8.2 8.2 0 0 1 -4.1 6.3l-12.8 9a10.7 10.7 0 0 1 -5.6 1.9c-.4 0-8.2 1.8-20.5-25.6a78.6 78.6 0 0 1 -62.6 29.5c-16.3 .9-60.4-9.2-58.1-56.2-1.6-38.3 34.1-62.1 70.9-60.1 7.1 0 21.6 .4 47 6.3v-15.6c2.7-26.5-14.7-47-44.8-43.9-2.4 0-19.4-.5-45.8 10.1-7.4 3.4-8.3 2.8-10.8 2.8-7.4 0-4.4-21.5-2.9-24.2 5.2-6.4 35.9-18.4 65.9-18.2a76.9 76.9 0 0 1 55.7 17.3 70.3 70.3 0 0 1 17.7 52.4v69.3zM94 235.4c32.4-.5 46.2-20 49.3-30.5 2.5-10.1 2.1-16.4 2.1-27.4-9.7-2.3-23.6-4.9-39.6-4.9-15.2-1.1-42.8 5.6-41.7 32.3-1.2 16.8 11.1 31.4 30 30.5zm170.9 23.1c-7.9 .7-11.5-4.9-12.7-10.4l-49.8-164.7c-1-2.8-1.6-5.7-1.9-8.6a4.6 4.6 0 0 1 3.9-5.3c.2 0-2.1 0 22.3 0 8.8-.9 11.6 6 12.6 10.4l35.7 140.8 33.2-140.8c.5-3.2 2.9-11.1 12.8-10.2h17.2c2.2-.2 11.1-.5 12.7 10.4l33.4 142.6L421 80.1c.5-2.2 2.7-11.4 12.7-10.4h19.7c.9-.1 6.2-.8 5.3 8.6-.4 1.9 3.4-10.7-52.8 169.9-1.2 5.5-4.8 11.1-12.7 10.4h-18.7c-10.9 1.2-12.5-9.7-12.7-10.8L328.7 110.7l-32.8 137c-.2 1.1-1.7 11.9-12.7 10.8h-18.3zm273.5 5.6c-5.9 0-33.9-.3-57.4-12.3a12.8 12.8 0 0 1 -7.8-11.9v-10.8c0-8.5 6.2-6.9 8.8-5.9 10 4.1 16.5 7.1 28.8 9.6 36.7 7.5 52.8-2.3 56.7-4.5 13.2-7.8 14.2-25.7 5.3-35-10.5-8.8-15.5-9.1-53.1-21-4.6-1.3-43.7-13.6-43.8-52.4-.6-28.2 25.1-56.2 69.5-56 12.7 0 46.4 4.1 55.6 15.6 1.4 2.1 2 4.6 1.9 7v10.1c0 4.4-1.6 6.7-4.9 6.7-7.7-.9-21.4-11.2-49.2-10.8-6.9-.4-39.9 .9-38.4 25-.4 19 26.6 26.1 29.7 26.9 36.5 11 48.7 12.8 63.1 29.6 17.1 22.3 7.9 48.3 4.4 55.4-19.1 37.5-68.4 34.4-69.3 34.4zm40.2 104.9c-70 51.7-171.7 79.3-258.5 79.3A469.1 469.1 0 0 1 2.8 327.5c-6.5-5.9-.8-14 7.2-9.5a637.4 637.4 0 0 0 316.9 84.1 630.2 630.2 0 0 0 241.6-49.6c11.8-5 21.8 7.8 10.1 16.4zm29.2-33.3c-9-11.5-59.3-5.4-81.8-2.7-6.8 .8-7.9-5.1-1.8-9.5 40.1-28.2 105.9-20.1 113.4-10.6 7.6 9.5-2.1 75.4-39.6 106.9-5.8 4.9-11.3 2.3-8.7-4.1 8.4-21.3 27.4-68.5 18.4-80z"})))),(0,gt.memo)((()=>(0,e.createElement)("svg",{width:"40",viewBox:"0 0 1000 295",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M820.28 182.338C820.28 137.755 848.604 106.4 888.892 106.4C929.18 106.4 957.956 137.737 957.956 182.338C957.956 226.939 929.187 256.5 888.892 256.5C848.598 256.5 820.28 225.588 820.28 182.338ZM778.224 182.338C778.224 248.12 824.262 294.479 888.886 294.479C953.51 294.479 1000 248.12 1000 182.338C1000 116.556 953.962 68.4399 888.886 68.4399C823.81 68.4399 778.224 115.686 778.224 182.338ZM563.521 71.0853L650.292 291.821H691.025L777.791 71.0853H733.966L671.104 241.498H670.214L607.352 71.0853H563.521ZM394.856 174.383C397.508 133.76 424.515 106.4 461.261 106.4C493.128 106.4 517.037 126.712 520.58 157.179H447.089C420.973 157.179 406.801 160.269 396.191 174.402H394.856V174.39V174.383ZM352.805 181.006C352.805 246.788 399.289 294.46 463.468 294.46C506.854 294.46 544.916 272.391 561.295 237.502L525.885 219.835C513.494 242.792 489.585 256.482 463.468 256.482C432.028 256.482 403.704 232.637 403.704 209.679C403.704 197.766 411.673 192.457 423.18 192.457H563.502V180.544C563.502 114.317 521.007 68.4029 459.925 68.4029C398.844 68.4029 352.799 115.649 352.799 180.988M232.399 291.796H272.242V156.285C272.242 127.149 290.382 106.394 315.627 106.394C326.256 106.394 337.311 109.927 342.635 114.774C346.623 104.174 352.818 93.5923 362.111 82.9924C351.482 74.1684 333.342 68.4153 315.627 68.4153C266.937 68.4153 232.399 104.618 232.399 156.267V291.809V291.796ZM39.843 145.698V37.9598H105.358C127.486 37.9598 142.103 50.7611 142.103 70.185C142.103 92.2542 123.072 109.033 84.1191 121.834C57.5571 130.214 45.6116 137.281 41.1785 145.679L39.843 145.692V145.698ZM39.843 253.861V208.835C39.843 188.967 56.6668 169.543 80.1311 162.032C100.943 154.966 118.193 147.899 132.81 140.407C152.286 151.895 164.232 171.744 164.232 192.5C164.232 227.814 130.584 253.861 84.9909 253.861H39.843ZM0 291.821H88.5337C155.829 291.821 206.282 249.884 206.282 194.257C206.282 163.79 190.794 136.43 163.341 118.763C177.513 104.63 184.153 88.2955 184.153 68.4276C184.153 27.3784 154.493 0 109.791 0H0V291.821Z",fill:"#0B996E"})))),(0,gt.memo)((()=>(0,e.createElement)("svg",{height:"25",viewBox:"0 0 896 160",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M0 41.4296C0 25.4527 12.9518 12.501 28.9286 12.501H106.071C122.048 12.501 135 25.4527 135 41.4296V118.572C135 134.549 122.048 147.501 106.071 147.501H28.9286C12.9518 147.501 0 134.549 0 118.572V41.4296Z",fill:"#1145C9"}),(0,e.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M90.419 118.569H68.7037C66.3524 118.569 64.4439 116.646 64.4439 114.278C64.4439 111.911 66.3524 109.988 68.7037 109.988H82.8885C85.1022 109.835 86.8532 107.976 86.8532 105.708C86.8532 103.34 84.9444 101.418 82.593 101.418L60.3966 101.417C58.0487 101.417 56.1424 99.4977 56.1424 97.133C56.1424 94.7683 58.0487 92.8481 60.3966 92.8481H63.076L63.0704 92.8428H67.0539C69.4007 92.8428 71.3062 90.9241 71.3062 88.5605C71.3062 86.197 69.4007 84.2783 67.0539 84.2783H57.0348V84.2745H36.0247C33.6779 84.2745 31.7724 82.3554 31.7724 79.9915C31.7724 77.628 33.6779 75.7085 36.0247 75.7085H57.0348V75.6968H65.2612C67.6058 75.6968 69.5095 73.7796 69.5095 71.4179C69.5095 69.0563 67.6058 67.1391 65.2612 67.1391L54.6501 67.1383C52.3022 67.1383 50.3963 65.2185 50.3963 62.8542C50.3963 60.4891 52.3022 58.5693 54.6501 58.5693H74.8233C74.9241 58.5693 75.0235 58.5727 75.1221 58.5795H82.3332C84.6838 58.5795 86.5927 56.6574 86.5927 54.2893C86.5927 51.9216 84.6838 49.9995 82.3332 49.9995H71.7333C69.5271 49.8382 67.7851 47.9826 67.7851 45.7203C67.7851 43.3522 69.6936 41.4297 72.0449 41.4297H88.7423C88.7606 41.4297 88.7786 41.4297 88.7985 41.4301H108.486L73.9898 79.3711L115.714 118.573H90.5319L90.5259 118.567C90.4907 118.568 90.455 118.569 90.419 118.569ZM49.5455 109.988C51.8886 109.988 53.7907 111.903 53.7907 114.263C53.7907 116.623 51.8886 118.538 49.5455 118.538H33.9681C31.6254 118.538 29.7233 116.623 29.7233 114.263C29.7233 111.903 31.6254 109.988 33.9681 109.988H49.5455ZM43.3787 92.8481C45.7285 92.8481 47.6362 94.7694 47.6362 97.1364C47.6362 99.5026 45.7285 101.424 43.3787 101.424C41.0285 101.424 39.1207 99.5026 39.1207 97.1364C39.1207 94.7694 41.0285 92.8481 43.3787 92.8481ZM21.1324 75.7085C23.4826 75.7085 25.3903 77.6299 25.3903 79.9968C25.3903 82.3634 23.4826 84.2847 21.1324 84.2847C18.7825 84.2847 16.8748 82.3634 16.8748 79.9968C16.8748 77.6299 18.7825 75.7085 21.1324 75.7085ZM37.6325 58.5693C39.9823 58.5693 41.8905 60.4906 41.8905 62.8576C41.8905 65.2242 39.9823 67.1451 37.6325 67.1451C35.2827 67.1451 33.3746 65.2242 33.3746 62.8576C33.3746 60.4906 35.2827 58.5693 37.6325 58.5693ZM52.9017 41.4297C55.2448 41.4297 57.1465 43.3454 57.1465 45.7048C57.1465 48.0646 55.2448 49.9802 52.9017 49.9802H43.0551C40.7124 49.9802 38.8102 48.0646 38.8102 45.7048C38.8102 43.3454 40.712 41.4297 43.0551 41.4297H52.9017Z",fill:"#FEFBF2"}),(0,e.createElement)("path",{d:"M173.238 124.001V36.8045H186.501V78.4376L223.222 36.8045H239.31L205.906 74.8761L241.521 124.001H225.924L197.063 84.2098L186.501 95.9997V124.001H173.238Z",fill:"#1E1004"}),(0,e.createElement)("path",{d:"M264.564 125.474C257.768 125.474 252.323 123.919 248.23 120.808C244.218 117.696 242.212 113.316 242.212 107.667C242.212 102.017 243.89 97.6372 247.247 94.5259C250.686 91.3328 255.967 89.0404 263.09 87.6485L285.564 83.3501C285.564 78.2739 284.377 74.5076 282.003 72.0514C279.628 69.5133 276.108 68.2443 271.441 68.2443C267.265 68.2443 263.99 69.1858 261.616 71.0689C259.242 72.8702 257.604 75.572 256.704 79.1745L243.317 78.3148C244.545 71.7649 247.575 66.6068 252.405 62.8405C257.318 59.0743 263.663 57.1912 271.441 57.1912C280.283 57.1912 286.997 59.5656 291.582 64.3143C296.249 68.9811 298.582 75.572 298.582 84.087V124.001H287.038L286.547 109.509L287.775 110C287.202 113.03 285.81 115.69 283.599 117.983C281.389 120.275 278.605 122.118 275.248 123.509C271.973 124.819 268.412 125.474 264.564 125.474ZM266.651 115.158C270.581 115.158 273.938 114.421 276.722 112.948C279.506 111.392 281.675 109.263 283.231 106.561C284.787 103.86 285.564 100.789 285.564 97.3506V93.175L266.406 96.8594C262.476 97.5962 259.692 98.7834 258.055 100.421C256.499 101.977 255.721 103.982 255.721 106.439C255.721 109.222 256.663 111.392 258.546 112.948C260.511 114.421 263.213 115.158 266.651 115.158Z",fill:"#1E1004"}),(0,e.createElement)("path",{d:"M335.127 125.474C329.56 125.474 324.688 124.083 320.513 121.299C316.419 118.515 313.267 114.585 311.056 109.509C308.928 104.351 307.863 98.2922 307.863 91.3328C307.863 84.3735 308.969 78.3557 311.179 73.2795C313.39 68.1214 316.542 64.1505 320.636 61.3668C324.729 58.5831 329.56 57.1912 335.127 57.1912C339.631 57.1912 343.642 58.1328 347.163 60.0159C350.684 61.899 353.345 64.519 355.146 67.8758V36.8045H368.164V124.001H356.005L355.637 114.176C353.836 117.696 351.093 120.48 347.409 122.527C343.806 124.492 339.712 125.474 335.127 125.474ZM338.566 114.176C342.087 114.176 345.075 113.275 347.531 111.474C349.988 109.673 351.871 107.053 353.181 103.614C354.491 100.175 355.146 96.0816 355.146 91.3328C355.146 86.4204 354.491 82.2857 353.181 78.9289C351.871 75.4901 349.988 72.9111 347.531 71.1917C345.075 69.3905 342.087 68.4899 338.566 68.4899C333.326 68.4899 329.151 70.5367 326.039 74.6305C322.928 78.6423 321.373 84.2098 321.373 91.3328C321.373 98.374 322.928 103.941 326.039 108.035C329.151 112.129 333.326 114.176 338.566 114.176Z",fill:"#1E1004"}),(0,e.createElement)("path",{d:"M408.647 125.474C402.26 125.474 396.734 124.083 392.067 121.299C387.482 118.515 383.92 114.544 381.382 109.386C378.926 104.228 377.698 98.2103 377.698 91.3328C377.698 84.4554 378.926 78.4786 381.382 73.4023C383.92 68.2443 387.482 64.2733 392.067 61.4896C396.652 58.624 402.056 57.1912 408.278 57.1912C414.173 57.1912 419.372 58.5831 423.875 61.3668C428.378 64.0687 431.858 67.9986 434.314 73.1567C436.852 78.3148 438.121 84.5373 438.121 91.8241V95.14H391.207C391.535 101.526 393.213 106.316 396.243 109.509C399.354 112.702 403.529 114.299 408.769 114.299C412.617 114.299 415.811 113.398 418.349 111.597C420.887 109.796 422.647 107.38 423.63 104.351L437.139 105.211C435.419 111.269 432.022 116.182 426.945 119.948C421.951 123.632 415.851 125.474 408.647 125.474ZM391.207 85.3151H424.366C423.957 79.502 422.279 75.2036 419.331 72.4199C416.466 69.6361 412.781 68.2443 408.278 68.2443C403.611 68.2443 399.763 69.718 396.734 72.6655C393.786 75.5311 391.944 79.7476 391.207 85.3151Z",fill:"#1E1004"}),(0,e.createElement)("path",{d:"M447.628 124.001V58.665H459.54L460.032 76.1042L458.435 75.2445C459.172 70.987 460.564 67.5483 462.611 64.9283C464.658 62.3084 467.155 60.3843 470.102 59.1562C473.05 57.8462 476.243 57.1912 479.682 57.1912C484.594 57.1912 488.647 58.2965 491.84 60.5071C495.115 62.6359 497.571 65.5833 499.209 69.3496C500.928 73.0339 501.788 77.2504 501.788 81.9992V124.001H488.77V85.9291C488.77 82.081 488.36 78.847 487.541 76.227C486.723 73.607 485.372 71.6011 483.489 70.2092C481.606 68.8174 479.149 68.1214 476.12 68.1214C471.535 68.1214 467.81 69.6361 464.944 72.6655C462.079 75.6948 460.646 80.116 460.646 85.9291V124.001H447.628Z",fill:"#1E1004"}),(0,e.createElement)("path",{d:"M541.959 125.474C535.737 125.474 530.292 124.083 525.626 121.299C520.959 118.515 517.356 114.544 514.818 109.386C512.28 104.228 511.011 98.2103 511.011 91.3328C511.011 84.4554 512.28 78.4786 514.818 73.4023C517.356 68.2443 520.959 64.2733 525.626 61.4896C530.292 58.624 535.737 57.1912 541.959 57.1912C547.281 57.1912 551.989 58.1328 556.083 60.0159C560.258 61.8171 563.615 64.478 566.153 67.9986C568.773 71.5192 570.452 75.8176 571.189 80.8939L557.557 81.6307C556.902 77.3733 555.182 74.1392 552.398 71.9286C549.615 69.6361 546.135 68.4899 541.959 68.4899C536.474 68.4899 532.175 70.5367 529.064 74.6305C526.035 78.6423 524.52 84.2098 524.52 91.3328C524.52 98.4559 526.035 104.064 529.064 108.158C532.175 112.17 536.474 114.176 541.959 114.176C546.135 114.176 549.615 113.03 552.398 110.737C555.182 108.363 556.902 104.801 557.557 100.052L571.189 100.789C570.452 105.784 568.773 110.123 566.153 113.807C563.615 117.492 560.258 120.357 556.083 122.404C551.989 124.451 547.281 125.474 541.959 125.474Z",fill:"#1E1004"}),(0,e.createElement)("path",{d:"M606.277 125.474C599.891 125.474 594.365 124.083 589.698 121.299C585.113 118.515 581.551 114.544 579.013 109.386C576.557 104.228 575.329 98.2103 575.329 91.3328C575.329 84.4554 576.557 78.4786 579.013 73.4023C581.551 68.2443 585.113 64.2733 589.698 61.4896C594.283 58.624 599.686 57.1912 605.909 57.1912C611.804 57.1912 617.003 58.5831 621.506 61.3668C626.009 64.0687 629.489 67.9986 631.945 73.1567C634.483 78.3148 635.752 84.5373 635.752 91.8241V95.14H588.838C589.165 101.526 590.844 106.316 593.873 109.509C596.984 112.702 601.16 114.299 606.4 114.299C610.248 114.299 613.441 113.398 615.979 111.597C618.517 109.796 620.278 107.38 621.26 104.351L634.77 105.211C633.05 111.269 629.652 116.182 624.576 119.948C619.582 123.632 613.482 125.474 606.277 125.474ZM588.838 85.3151H621.997C621.588 79.502 619.909 75.2036 616.962 72.4199C614.096 69.6361 610.412 68.2443 605.909 68.2443C601.242 68.2443 597.394 69.718 594.365 72.6655C591.417 75.5311 589.575 79.7476 588.838 85.3151Z",fill:"#1E1004"}),(0,e.createElement)("path",{d:"M673.988 124.001V36.8045H692.164L718.077 108.404L743.99 36.8045H762.166V124.001H748.903V60.1387L725.446 123.878H710.708L687.251 60.1387V124.001H673.988Z",fill:"#1E1004"}),(0,e.createElement)("path",{d:"M794.697 125.474C787.901 125.474 782.457 123.919 778.363 120.808C774.351 117.696 772.345 113.316 772.345 107.667C772.345 102.017 774.024 97.6372 777.381 94.5259C780.819 91.3328 786.1 89.0404 793.223 87.6485L815.698 83.3501C815.698 78.2739 814.511 74.5076 812.136 72.0514C809.762 69.5133 806.241 68.2443 801.574 68.2443C797.399 68.2443 794.124 69.1858 791.75 71.0689C789.375 72.8702 787.738 75.572 786.837 79.1745L773.451 78.3148C774.679 71.7649 777.708 66.6068 782.539 62.8405C787.451 59.0743 793.796 57.1912 801.574 57.1912C810.417 57.1912 817.131 59.5656 821.716 64.3143C826.382 68.9811 828.716 75.572 828.716 84.087V124.001H817.172L816.68 109.509L817.908 110C817.335 113.03 815.943 115.69 813.733 117.983C811.522 120.275 808.739 122.118 805.382 123.509C802.107 124.819 798.545 125.474 794.697 125.474ZM796.785 115.158C800.715 115.158 804.072 114.421 806.855 112.948C809.639 111.392 811.809 109.263 813.364 106.561C814.92 103.86 815.698 100.789 815.698 97.3506V93.175L796.539 96.8594C792.609 97.5962 789.826 98.7834 788.188 100.421C786.632 101.977 785.855 103.982 785.855 106.439C785.855 109.222 786.796 111.392 788.679 112.948C790.644 114.421 793.346 115.158 796.785 115.158Z",fill:"#1E1004"}),(0,e.createElement)("path",{d:"M842.289 124.001V58.665H855.307V124.001H842.289ZM842.044 49.2085V36.1904H855.553V49.2085H842.044Z",fill:"#1E1004"}),(0,e.createElement)("path",{d:"M883.314 124.001C879.057 124.001 875.618 122.895 872.998 120.685C870.378 118.474 869.068 114.954 869.068 110.123V36.8045H882.086V108.895C882.086 110.369 882.455 111.474 883.191 112.211C884.01 112.948 885.156 113.316 886.63 113.316H891.788V124.001H883.314Z",fill:"#1E1004"})))));(0,gt.memo)((()=>(0,e.createElement)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 1000 1000",xmlSpace:"preserve"},(0,e.createElement)("style",{type:"text/css"},".st0{fill:#C12126;}"),(0,e.createElement)("path",{className:"st0",d:"M493,305.7c-88.9,0-161,72.1-161,161c0,88.9,72.1,161,161,161c88.9,0,161-72.1,161-161 C654,377.8,582,305.7,493,305.7z M242,466.7c0-138.7,112.4-251,251-251c138.7,0,251.1,112.4,251.1,251c0,9.2-0.5,18.2-1.4,27.1 c-1.9,24.5,16.1,43.2,40.4,43.2c41.3,0,45.7-53.2,45.7-70.3c0-185.4-150.3-335.6-335.6-335.6S157.4,281.4,157.4,466.7 c0,185.4,150.3,335.6,335.6,335.6c98.4,0,187-42.4,248.4-109.9l69,57.9c-77.9,87.1-191.3,142-317.4,142 c-235.1,0-425.7-190.6-425.7-425.7S257.9,41,493,41c235.1,0,425.7,190.6,425.7,425.7c0,94.5-45,171.2-135.4,171.2 c-39.8,0-64-18.2-77.2-38.6C661.9,670.5,583,717.8,493,717.8C354.4,717.8,242,605.4,242,466.7z M493,393.1c40.7,0,73.7,33,73.7,73.7 c0,40.7-33,73.7-73.7,73.7c-40.7,0-73.7-33-73.7-73.7S452.3,393.1,493,393.1z"})))),(0,gt.memo)((()=>(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",fill:"none",viewBox:"0 0 24 24"},(0,e.createElement)("path",{d:"M18 6.75H6C5.30964 6.75 4.75 7.30964 4.75 8V16C4.75 16.6904 5.30964 17.25 6 17.25H18C18.6904 17.25 19.25 16.6904 19.25 16V8C19.25 7.30964 18.6904 6.75 18 6.75Z",stroke:"#1E1E1E",strokeWidth:"1.5"}),(0,e.createElement)("path",{d:"M5 7L12 13L19 7",stroke:"#1E1E1E",strokeWidth:"1.5"})))),(0,gt.memo)((()=>(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",id:"Sendgrid",viewBox:"0 0 32 32"},(0,e.createElement)("defs",null,(0,e.createElement)("style",null,".cls-1 {\n fill: #51a9e3;\n }")),(0,e.createElement)("g",{id:"Icon_Updated_Keylines","data-name":"Icon, Updated Keylines"},(0,e.createElement)("path",{className:"cls-1",d:"m21,1h-8c-1.1,0-2,.9-2,2v6c0,1.1.9,2,2,2h6c1.1,0,2,.9,2,2v6c0,1.1.9,2,2,2h6c1.1,0,2-.9,2-2V2c0-.55-.45-1-1-1h-9Z"}),(0,e.createElement)("path",{className:"cls-1",d:"m11,31h8c1.1,0,2-.9,2-2v-6c0-1.1-.9-2-2-2h-6c-1.1,0-2-.9-2-2v-6c0-1.1-.9-2-2-2H3c-1.1,0-2,.9-2,2v17c0,.55.45,1,1,1h9Z"}))))),(0,gt.memo)((()=>(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"40",viewBox:"0 0 64 64"},(0,e.createElement)("defs",null,(0,e.createElement)("path",{id:"A",d:"M128 117v6a5 5 0 0 0-5 5h-6a5 5 0 1 0-10 0h-6a5 5 0 1 0-10 0h-6a5 5 0 1 0-10 0h-6a5 5 0 1 0-10 0h-6a5 5 0 1 0-10 0h-6a5 5 0 1 0-10 0h-6a5 5 0 1 0-10 0H5a5 5 0 0 0-5-5v-6a5 5 0 1 0 0-10v-6a5 5 0 0 0 0-10v-6a5 5 0 0 0 0-10v-6a5 5 0 0 0 0-10v-6a5 5 0 0 0 0-10v-6a5 5 0 0 0 0-10v-6a5 5 0 0 0 0-10V5a5 5 0 0 0 5-5h6a5 5 0 0 0 10 0h6a5 5 0 0 0 10 0h6a5 5 0 0 0 10 0h6a5 5 0 0 0 10 0h6a5 5 0 0 0 10 0h6a5 5 0 0 0 10 0h6a5 5 0 1 0 10 0h6a5 5 0 0 0 5 5v6a5 5 0 1 0 0 10v6a5 5 0 1 0 0 10v6a5 5 0 1 0 0 10v6a5 5 0 1 0 0 10v6a5 5 0 1 0 0 10v6a5 5 0 1 0 0 10v6a5 5 0 1 0 0 10z"}),(0,e.createElement)("rect",{id:"B",width:"96",height:"96",x:"16",y:"16",rx:"2"})),(0,e.createElement)("g",{transform:"matrix(.492308 0 0 .492308 .492308 .492308)",fill:"none",fillRule:"evenodd"},(0,e.createElement)("use",{xlinkHref:"#A",fill:"#f5f5f5"}),(0,e.createElement)("path",{d:"M128.5 116.5v7h-.5a4.5 4.5 0 0 0-4.5 4.5v.5h-7v-.5a4.5 4.5 0 0 0-9 0v.5h-7v-.5a4.5 4.5 0 0 0-9 0v.5h-7v-.5a4.5 4.5 0 0 0-9 0v.5h-7v-.5a4.5 4.5 0 0 0-9 0v.5h-7v-.5a4.5 4.5 0 0 0-9 0v.5h-7v-.5a4.5 4.5 0 0 0-9 0v.5h-7v-.5a4.5 4.5 0 0 0-9 0v.5h-7v-.5a4.5 4.5 0 0 0-4.5-4.5h-.5v-7H0a4.5 4.5 0 0 0 0-9h-.5v-7H0a4.5 4.5 0 1 0 0-9h-.5v-7H0a4.5 4.5 0 1 0 0-9h-.5v-7H0a4.5 4.5 0 1 0 0-9h-.5v-7H0a4.5 4.5 0 1 0 0-9h-.5v-7H0a4.5 4.5 0 1 0 0-9h-.5v-7H0a4.5 4.5 0 1 0 0-9h-.5v-7H0A4.5 4.5 0 0 0 4.5 0v-.5h7V0a4.5 4.5 0 1 0 9 0v-.5h7V0a4.5 4.5 0 1 0 9 0v-.5h7V0a4.5 4.5 0 1 0 9 0v-.5h7V0a4.5 4.5 0 1 0 9 0v-.5h7V0a4.5 4.5 0 1 0 9 0v-.5h7V0a4.5 4.5 0 1 0 9 0v-.5h7V0a4.5 4.5 0 0 0 9 0v-.5h7V0a4.5 4.5 0 0 0 4.5 4.5h.5v7h-.5a4.5 4.5 0 0 0 0 9h.5v7h-.5a4.5 4.5 0 0 0 0 9h.5v7h-.5a4.5 4.5 0 0 0 0 9h.5v7h-.5a4.5 4.5 0 0 0 0 9h.5v7h-.5a4.5 4.5 0 0 0 0 9h.5v7h-.5a4.5 4.5 0 0 0 0 9h.5v7h-.5a4.5 4.5 0 0 0 0 9z",stroke:"#ccc"}),(0,e.createElement)("path",{d:"M127.5 117.478a5.5 5.5 0 0 1 0-10.956v-5.044a5.5 5.5 0 0 1 0-10.956v-5.044a5.5 5.5 0 0 1 0-10.956v-5.044a5.5 5.5 0 0 1 0-10.956v-5.044a5.5 5.5 0 0 1 0-10.956v-5.044a5.5 5.5 0 0 1 0-10.956v-5.044a5.5 5.5 0 0 1 0-10.956V5.478A5.502 5.502 0 0 1 122.522.5h-5.044a5.5 5.5 0 0 1-10.956 0h-5.044a5.5 5.5 0 0 1-10.956 0h-5.044a5.5 5.5 0 0 1-10.956 0h-5.044a5.5 5.5 0 0 1-10.956 0h-5.044a5.5 5.5 0 0 1-10.956 0h-5.044a5.5 5.5 0 0 1-10.956 0h-5.044a5.5 5.5 0 0 1-10.956 0H5.478A5.502 5.502 0 0 1 .5 5.478v5.044a5.5 5.5 0 0 1 0 10.956v5.044a5.5 5.5 0 0 1 0 10.956v5.044a5.5 5.5 0 0 1 0 10.956v5.044a5.5 5.5 0 0 1 0 10.956v5.044a5.5 5.5 0 0 1 0 10.956v5.044a5.5 5.5 0 0 1 0 10.956v5.044a5.5 5.5 0 0 1 0 10.956v5.044a5.502 5.502 0 0 1 4.978 4.978h5.044a5.5 5.5 0 0 1 10.956 0h5.044a5.5 5.5 0 0 1 10.956 0h5.044a5.5 5.5 0 0 1 10.956 0h5.044a5.5 5.5 0 0 1 10.956 0h5.044a5.5 5.5 0 0 1 10.956 0h5.044a5.5 5.5 0 0 1 10.956 0h5.044a5.5 5.5 0 0 1 10.956 0h5.044a5.502 5.502 0 0 1 4.978-4.978z",stroke:"#fff"}),(0,e.createElement)("use",{xlinkHref:"#B",fill:"#fedd00"}),(0,e.createElement)("rect",{width:"95",height:"95",x:"16.5",y:"16.5",rx:"2",stroke:"#d9b500"}),(0,e.createElement)("rect",{width:"97",height:"97",x:"15.5",y:"15.5",rx:"2",stroke:"#fff"}),(0,e.createElement)("path",{d:"M50.3 86.084V42.3H43V35h25.886c16.168 0 19.522 10.664 19.522 18.06 0 5.934-2.408 10.492-4.902 12.986-4.042 4.042-9.546 4.988-17.888 4.988h-6.536v15.05h7.654v7.3H43v-7.3zm8.772-22.102h7.3c10.75 0 13.072-4.988 13.072-11.008 0-6.88-3.87-10.664-10.32-10.664H59.082z",fill:"#000"})))));var qd=fn.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){qd[e]=qd(e)}));const Kd=qd.div`
width: 100%;
padding: 10px 24px;
background: #fff;
box-sizing: border-box;
@media (max-width: ${({theme:e})=>`${e.breaks.medium}px`}) {
padding-left: 10px;
padding-right: 10px;
}
`,Xd=()=>(0,Yd.applyFilters)("kadenceMail.showLogo",!0)?(0,e.createElement)(Kd,null,(0,e.createElement)(Zd,null)):null,Jd=qd.div`
padding: ${({theme:e})=>e.spacing.root};
max-width: 1680px;
margin: 0 auto;
width: 100%;
@media (max-width: ${({theme:e})=>`${e.breaks.medium}px`}) {
padding-left: 10px;
padding-right: 10px;
}
`,Qd=qd.nav`
border-bottom: solid 1px ${({theme:e})=>e.colors.border.normal};
display: flex;
margin-top: ${({theme:e})=>e.spacing.section};
`,ef=qd(pt)`
text-decoration: none;
padding: 0.75rem 1.25rem;
border-bottom: 4px solid transparent;
&.active,
&:hover {
color: ${({theme:e})=>e.colors.solidwp_mail.primary};
border-bottom: solid 4px
${({theme:e})=>e.colors.solidwp_mail.primary};
}
`,tf=({children:t,headerText:r="",withNav:n=!0})=>(0,e.createElement)(e.Fragment,null,(0,e.createElement)(Xd,null),(0,e.createElement)(Jd,null,(0,e.createElement)(Qn,{level:2},r),n&&(0,e.createElement)(Qd,null,(0,e.createElement)(ef,{to:"/providers"},(0,e.createElement)(Fn,{size:Ln.LARGE,weight:600,align:"center"},(0,wt.__)("Connections","wp-smtp"))),(0,e.createElement)(ef,{to:"/email-test"},(0,e.createElement)(Fn,{size:Ln.LARGE,weight:600,align:"center"},(0,wt.__)("Email Test","wp-smtp")))),t)),rf={...Wd,spacing:{section:"1.25rem",box:"2rem",root:"1.25rem 1.25rem 4rem 1.5rem",empty_connections:"80px 0"},colors:{...Wd.colors,solidwp_mail:{primary:"#1145C9",border:"#ccc",error:"#f44336"}}},nf=qd(on.SnackbarList)`
position: fixed;
right: 20px;
bottom: 20px;
display: flex;
flex-direction: column;
align-items: flex-end;
`,of=qd.form`
margin-top: ${({theme:e})=>e.spacing.section};
.solidwp-mail-settings-section-tabs {
display: flex;
align-items: start;
flex-direction: row;
gap: 20px;
justify-content: space-between;
.components-tab-panel__tabs {
gap: 0.25rem;
margin-top: 1.25rem;
width: 10rem;
.components-tab-panel__tabs-item {
border: 2px solid transparent;
border-radius: 1.25rem;
box-shadow: none;
font-size: 14px;
font-weight: 600;
height: auto;
overflow-wrap: break-word;
padding: 8px 16px;
text-decoration: none;
&.is-active {
background: #e0e0e0;
color: #333;
}
&:after {
display: none;
}
}
}
.components-tab-panel__tab-content {
display: flex;
flex: 1 1 0%;
flex-direction: column;
gap: 20px;
max-height: 100%;
max-width: 100%;
min-height: 0;
min-width: 0;
}
}
`,af=qd(on.Card)`
margin-top: ${({theme:e})=>e.spacing.section};
`;function sf(){const e=new Date;return e.setDate(1),e.toISOString().split("T")[0]}function lf(){const e=new Date;return e.setMonth(e.getMonth()+1),e.setDate(0),e.toISOString().split("T")[0]}const cf=function(){const[t,r]=(0,gt.useState)(sf),[n,o]=(0,gt.useState)(lf),[a,i]=(0,gt.useState)(null),[s,l]=(0,gt.useState)(!1);return(0,e.createElement)(af,null,(0,e.createElement)(on.CardHeader,null,(0,e.createElement)("h2",null,(0,wt.__)("Export Email Logs","wp-smtp"))),(0,e.createElement)(on.CardBody,null,(0,e.createElement)(on.TextControl,{type:"date",label:(0,wt.__)("Date From","wp-smtp"),value:t,onChange:function(e){r(e)}}),(0,e.createElement)(on.TextControl,{type:"date",label:(0,wt.__)("Date To","wp-smtp"),value:n,onChange:function(e){o(e)}}),(0,e.createElement)(on.BaseControl,null,(0,e.createElement)(on.Button,{variant:"primary",onClick:async function(){if(t&&n){l(!0);try{const e=await bt()({path:`/solidwp-mail/v1/logs/export-csv?date_from=${t}&date_to=${n}`,method:"GET",parse:!1}),r=await e.blob(),o=window.URL.createObjectURL(r);i(o)}catch(e){console.error("Failed to export CSV:",e),window.alert((0,wt.__)("Failed to export CSV. Please try again.","wp-smtp"))}finally{l(!1)}}else window.alert((0,wt.__)("Please select both Date From and Date To.","wp-smtp"))},disabled:s},(0,wt.__)("Export CSV","wp-smtp"))),s&&(0,e.createElement)(on.BaseControl,null,(0,e.createElement)("p",null,(0,wt.__)("Generating your CSVā¦","wp-smtp"))),a&&!s&&(0,e.createElement)(on.BaseControl,null,(0,e.createElement)("a",{href:a,download:`logs-${t}-to-${n}.csv`,onClick:function(){setTimeout((()=>{window.URL.revokeObjectURL(a),i(null)}),1e3)}},(0,wt.__)("Download CSV","wp-smtp")))))},uf=function({settings:t,setSettings:r}){return(0,e.createElement)(on.Card,null,(0,e.createElement)(on.CardHeader,null,(0,e.createElement)("h2",null,(0,wt.__)("General","wp-smtp"))),(0,e.createElement)(on.CardBody,null,(0,e.createElement)(on.ToggleControl,{label:(0,wt.__)("Enable Logs","wp-smtp"),checked:"no"===t.disable_logs,onChange:function(e){r((t=>({...t,disable_logs:e?"no":"yes"})))}}),(0,e.createElement)(on.ToggleControl,{label:(0,wt.__)("Use alternative connections on failure","wp-smtp"),help:(0,wt.__)('If the default connection fails then an alternative connection will be used as a fallback. Connections with the same "from" address are prioritized.',"wp-smtp"),checked:"yes"===t.use_unmatched_connections,onChange:function(e){r((t=>({...t,use_unmatched_connections:e?"yes":"no"})))}}),(0,e.createElement)(on.Button,{variant:"primary",type:"submit"},(0,wt.__)("Save","wp-smtp"))))},df=(ff=[{element:(0,e.createElement)((function(){const[t,r]=(0,gt.useState)(solidMailSettings),[n,o]=(0,gt.useState)([]);function a(e){const t=Date.now();o((r=>[...r,{id:t,message:e}]))}return(0,gt.useEffect)((()=>{bt()({path:"/wp/v2/settings"}).then((e=>r(e.solid_mail_settings))).catch((e=>{console.error("Failed to fetch settings:",e),a((0,wt.__)("Failed to fetch settings.","wp-smtp"))}))}),[]),(0,e.createElement)(Id,{theme:rf},(0,e.createElement)(tf,{headerText:(0,wt.__)("Settings","wp-smtp"),withNav:!1},(0,e.createElement)(of,{method:"post",onSubmit:async function(e){e.preventDefault();try{await bt()({path:"/wp/v2/settings",method:"POST",data:{solid_mail_settings:{...t}}}),a((0,wt.__)("Settings saved successfully.","wp-smtp"))}catch(e){console.error("Failed to save settings:",e),a((0,wt.__)("Failed to save settings.","wp-smtp"))}}},(0,e.createElement)(uf,{settings:t,setSettings:r}),(0,e.createElement)(cf,null)),n.length>0&&(0,e.createElement)(nf,{notices:n.map((e=>({id:e.id,content:e.message,status:"default"}))),onRemove:e=>{!function(e){o((t=>t.filter((t=>t.id!==e))))}(e)}})))}),null),index:!0}],function(e){const t=e.window?e.window:"undefined"!=typeof window?window:void 0,r=void 0!==t&&void 0!==t.document&&void 0!==t.document.createElement,a=!r;let l;if(i(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)l=e.mapRouteProperties;else if(e.detectErrorBoundary){let t=e.detectErrorBoundary;l=e=>({hasErrorBoundary:t(e)})}else l=K;let u,d,h={},v=p(e.routes,l,void 0,h),g=e.basename||"/",y=e.unstable_dataStrategy||oe,b=n({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,unstable_skipActionErrorRevalidation:!1},e.future),w=null,C=new Set,x=null,E=null,S=null,R=null!=e.hydrationData,A=m(v,e.history.location,g),k=null;if(null==A){let t=me(404,{pathname:e.history.location.pathname}),{matches:r,route:n}=pe(v);A=r,k={[n.id]:t}}let _,T=A.some((e=>e.route.lazy)),O=A.some((e=>e.route.loader));if(T)d=!1;else if(O)if(b.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,r=e.hydrationData?e.hydrationData.errors:null,n=e=>!e.route.loader||("function"!=typeof e.route.loader||!0!==e.route.loader.hydrate)&&(t&&void 0!==t[e.route.id]||r&&void 0!==r[e.route.id]);if(r){let e=A.findIndex((e=>void 0!==r[e.route.id]));d=A.slice(0,e+1).every(n)}else d=A.every(n)}else d=null!=e.hydrationData;else d=!0;let P,M={historyAction:e.history.action,location:e.history.location,matches:A,initialized:d,navigation:W,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||k,fetchers:new Map,blockers:new Map},D=o.Pop,N=!1,I=!1,j=new Map,H=null,U=!1,$=!1,V=[],te=[],re=new Map,le=0,ce=-1,ge=new Map,Re=new Set,Oe=new Map,Pe=new Map,Me=new Set,De=new Map,Ne=new Map,Ie=!1;function je(e,t){void 0===t&&(t={}),M=n({},M,e);let r=[],o=[];b.v7_fetcherPersist&&M.fetchers.forEach(((e,t)=>{"idle"===e.state&&(Me.has(t)?o.push(t):r.push(t))})),[...C].forEach((e=>e(M,{deletedFetchers:o,unstable_viewTransitionOpts:t.viewTransitionOpts,unstable_flushSync:!0===t.flushSync}))),b.v7_fetcherPersist&&(r.forEach((e=>M.fetchers.delete(e))),o.forEach((e=>Ye(e))))}function Fe(t,r,a){var i,s;let l,{flushSync:c}=void 0===a?{}:a,d=null!=M.actionData&&null!=M.navigation.formMethod&&xe(M.navigation.formMethod)&&"loading"===M.navigation.state&&!0!==(null==(i=t.state)?void 0:i._isRedirect);l=r.actionData?Object.keys(r.actionData).length>0?r.actionData:null:d?M.actionData:null;let f=r.loaderData?de(M.loaderData,r.loaderData,r.matches||[],r.errors):M.loaderData,h=M.blockers;h.size>0&&(h=new Map(h),h.forEach(((e,t)=>h.set(t,Z))));let p,m=!0===N||null!=M.navigation.formMethod&&xe(M.navigation.formMethod)&&!0!==(null==(s=t.state)?void 0:s._isRedirect);if(u&&(v=u,u=void 0),U||D===o.Pop||(D===o.Push?e.history.push(t,t.state):D===o.Replace&&e.history.replace(t,t.state)),D===o.Pop){let e=j.get(M.location.pathname);e&&e.has(t.pathname)?p={currentLocation:M.location,nextLocation:t}:j.has(t.pathname)&&(p={currentLocation:t,nextLocation:M.location})}else if(I){let e=j.get(M.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),j.set(M.location.pathname,e)),p={currentLocation:M.location,nextLocation:t}}je(n({},r,{actionData:l,loaderData:f,historyAction:D,location:t,initialized:!0,navigation:W,revalidation:"idle",restoreScrollPosition:nt(t,r.matches||M.matches),preventScrollReset:m,blockers:h}),{viewTransitionOpts:p,flushSync:!0===c}),D=o.Pop,N=!1,I=!1,U=!1,$=!1,V=[],te=[]}async function ze(t,r,a){P&&P.abort(),P=null,D=t,U=!0===(a&&a.startUninterruptedRevalidation),function(e,t){if(x&&S){let r=rt(e,t);x[r]=S()}}(M.location,M.matches),N=!0===(a&&a.preventScrollReset),I=!0===(a&&a.enableViewTransition);let i=u||v,s=a&&a.overrideNavigation,l=m(i,r,g),c=!0===(a&&a.flushSync);if(!l){let e=me(404,{pathname:r.pathname}),{matches:t,route:n}=pe(i);return tt(),void Fe(r,{matches:t,loaderData:{},errors:{[n.id]:e}},{flushSync:c})}if(M.initialized&&!$&&(d=M.location,h=r,d.pathname===h.pathname&&d.search===h.search&&(""===d.hash?""!==h.hash:d.hash===h.hash||""!==h.hash))&&!(a&&a.submission&&xe(a.submission.formMethod)))return void Fe(r,{matches:l},{flushSync:c});var d,h;P=new AbortController;let p,y=se(e.history,r,P.signal,a&&a.submission);if(a&&a.pendingError)p=[he(l).route.id,{type:f.error,error:a.pendingError}];else if(a&&a.submission&&xe(a.submission.formMethod)){let t=await async function(e,t,r,n,a){void 0===a&&(a={}),Ve();let i,s=function(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}(t,r);je({navigation:s},{flushSync:!0===a.flushSync});let l=Ae(n,t);if(l.route.action||l.route.lazy){if(i=(await Ue("action",e,[l],n))[0],e.signal.aborted)return{shortCircuited:!0}}else i={type:f.error,error:me(405,{method:e.method,pathname:t.pathname,routeId:l.route.id})};if(we(i)){let t;return t=a&&null!=a.replace?a.replace:ie(i.response.headers.get("Location"),new URL(e.url),g)===M.location.pathname+M.location.search,await He(e,i,{submission:r,replace:t}),{shortCircuited:!0}}if(ye(i))throw me(400,{type:"defer-action"});if(be(i)){let e=he(n,l.route.id);return!0!==(a&&a.replace)&&(D=o.Push),{pendingActionResult:[e.route.id,i]}}return{pendingActionResult:[l.route.id,i]}}(y,r,a.submission,l,{replace:a.replace,flushSync:c});if(t.shortCircuited)return;p=t.pendingActionResult,s=_e(r,a.submission),c=!1,y=se(e.history,y.url,y.signal)}let{shortCircuited:w,loaderData:C,errors:E}=await async function(t,r,o,a,i,s,l,c,d,f){let h=a||_e(r,i),p=i||s||ke(h),m=u||v,[y,w]=ee(e.history,M,o,p,r,b.v7_partialHydration&&!0===c,b.unstable_skipActionErrorRevalidation,$,V,te,Me,Oe,Re,m,g,f);if(tt((e=>!(o&&o.some((t=>t.route.id===e)))||y&&y.some((t=>t.route.id===e)))),ce=++le,0===y.length&&0===w.length){let e=Ke();return Fe(r,n({matches:o,loaderData:{},errors:f&&be(f[1])?{[f[0]]:f[1].error}:null},fe(f),e?{fetchers:new Map(M.fetchers)}:{}),{flushSync:d}),{shortCircuited:!0}}if(!(U||b.v7_partialHydration&&c)){let e;w.forEach((e=>{let t=M.fetchers.get(e.key),r=Le(void 0,t?t.data:void 0);M.fetchers.set(e.key,r)})),f&&!be(f[1])?e={[f[0]]:f[1].data}:M.actionData&&(e=0===Object.keys(M.actionData).length?null:M.actionData),je(n({navigation:h},void 0!==e?{actionData:e}:{},w.length>0?{fetchers:new Map(M.fetchers)}:{}),{flushSync:d})}w.forEach((e=>{re.has(e.key)&&Ze(e.key),e.controller&&re.set(e.key,e.controller)}));let C=()=>w.forEach((e=>Ze(e.key)));P&&P.signal.addEventListener("abort",C);let{loaderResults:x,fetcherResults:E}=await $e(M.matches,o,y,w,t);if(t.signal.aborted)return{shortCircuited:!0};P&&P.signal.removeEventListener("abort",C),w.forEach((e=>re.delete(e.key)));let S=ve([...x,...E]);if(S){if(S.idx>=y.length){let e=w[S.idx-y.length].key;Re.add(e)}return await He(t,S.result,{replace:l}),{shortCircuited:!0}}let{loaderData:R,errors:A}=ue(M,o,y,x,f,w,E,De);De.forEach(((e,t)=>{e.subscribe((r=>{(r||e.done)&&De.delete(t)}))})),b.v7_partialHydration&&c&&M.errors&&Object.entries(M.errors).filter((e=>{let[t]=e;return!y.some((e=>e.route.id===t))})).forEach((e=>{let[t,r]=e;A=Object.assign(A||{},{[t]:r})}));let k=Ke(),_=Xe(ce),L=k||_||w.length>0;return n({loaderData:R,errors:A},L?{fetchers:new Map(M.fetchers)}:{})}(y,r,l,s,a&&a.submission,a&&a.fetcherSubmission,a&&a.replace,a&&!0===a.initialHydration,c,p);w||(P=null,Fe(r,n({matches:l},fe(p),{loaderData:C,errors:E})))}async function He(a,s,l){let{submission:u,fetcherSubmission:d,replace:f}=void 0===l?{}:l;s.response.headers.has("X-Remix-Revalidate")&&($=!0);let h=s.response.headers.get("Location");i(h,"Expected a Location header on the redirect Response"),h=ie(h,new URL(a.url),g);let p=c(M.location,h,{_isRedirect:!0});if(r){let r=!1;if(s.response.headers.has("X-Remix-Reload-Document"))r=!0;else if(q.test(h)){const n=e.history.createURL(h);r=n.origin!==t.location.origin||null==L(n.pathname,g)}if(r)return void(f?t.location.replace(h):t.location.assign(h))}P=null;let m=!0===f?o.Replace:o.Push,{formMethod:v,formAction:y,formEncType:b}=M.navigation;!u&&!d&&v&&y&&b&&(u=ke(M.navigation));let w=u||d;if(G.has(s.response.status)&&w&&xe(w.formMethod))await ze(m,p,{submission:n({},w,{formAction:h}),preventScrollReset:N});else{let e=_e(p,u);await ze(m,p,{overrideNavigation:e,fetcherSubmission:d,preventScrollReset:N})}}async function Ue(e,t,r,o){try{let a=await async function(e,t,r,o,a,s,l,c){let u=o.reduce(((e,t)=>e.add(t.route.id)),new Set),d=new Set,h=await e({matches:a.map((e=>{let o=u.has(e.route.id);return n({},e,{shouldLoad:o,resolve:n=>(d.add(e.route.id),o?async function(e,t,r,n,o,a,s){let l,c,u=n=>{let o,i=new Promise(((e,t)=>o=t));c=()=>o(),t.signal.addEventListener("abort",c);let l,u=o=>"function"!=typeof n?Promise.reject(new Error('You cannot call the handler for a route which defines a boolean "'+e+'" [routeId: '+r.route.id+"]")):n({request:t,params:r.params,context:s},...void 0!==o?[o]:[]);return l=a?a((e=>u(e))):(async()=>{try{return{type:"data",result:await u()}}catch(e){return{type:"error",result:e}}})(),Promise.race([l,i])};try{let a=r.route[e];if(r.route.lazy)if(a){let e,[t]=await Promise.all([u(a).catch((t=>{e=t})),ne(r.route,o,n)]);if(void 0!==e)throw e;l=t}else{if(await ne(r.route,o,n),a=r.route[e],!a){if("action"===e){let e=new URL(t.url),n=e.pathname+e.search;throw me(405,{method:t.method,pathname:n,routeId:r.route.id})}return{type:f.data,result:void 0}}l=await u(a)}else{if(!a){let e=new URL(t.url);throw me(404,{pathname:e.pathname+e.search})}l=await u(a)}i(void 0!==l.result,"You defined "+("action"===e?"an action":"a loader")+' for route "'+r.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(e){return{type:f.error,result:e}}finally{c&&t.signal.removeEventListener("abort",c)}return l}(t,r,e,s,l,n,c):Promise.resolve({type:f.data,result:void 0}))})})),request:r,params:a[0].params,context:c});return a.forEach((e=>i(d.has(e.route.id),'`match.resolve()` was not called for route id "'+e.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.'))),h.filter(((e,t)=>u.has(a[t].route.id)))}(y,e,t,r,o,h,l);return await Promise.all(a.map(((e,n)=>{if(function(e){return Ce(e.result)&&B.has(e.result.status)}(e)){let a=e.result;return{type:f.redirect,response:ae(a,t,r[n].route.id,o,g,b.v7_relativeSplatPath)}}return async function(e){let{result:t,type:r,status:n}=e;if(Ce(t)){let e;try{let r=t.headers.get("Content-Type");e=r&&/\bapplication\/json\b/.test(r)?null==t.body?null:await t.json():await t.text()}catch(e){return{type:f.error,error:e}}return r===f.error?{type:f.error,error:new F(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:f.data,data:e,statusCode:t.status,headers:t.headers}}return r===f.error?{type:f.error,error:t,statusCode:z(t)?t.status:n}:function(e){let t=e;return t&&"object"==typeof t&&"object"==typeof t.data&&"function"==typeof t.subscribe&&"function"==typeof t.cancel&&"function"==typeof t.resolveData}(t)?{type:f.deferred,deferredData:t,statusCode:null==(o=t.init)?void 0:o.status,headers:(null==(a=t.init)?void 0:a.headers)&&new Headers(t.init.headers)}:{type:f.data,data:t,statusCode:n};var o,a}(e)})))}catch(e){return r.map((()=>({type:f.error,error:e})))}}async function $e(t,r,n,o,a){let[i,...s]=await Promise.all([n.length?Ue("loader",a,n,r):[],...o.map((t=>t.matches&&t.match&&t.controller?Ue("loader",se(e.history,t.path,t.controller.signal),[t.match],t.matches).then((e=>e[0])):Promise.resolve({type:f.error,error:me(404,{pathname:t.path})})))]);return await Promise.all([Ee(t,n,i,i.map((()=>a.signal)),!1,M.loaderData),Ee(t,o.map((e=>e.match)),s,o.map((e=>e.controller?e.controller.signal:null)),!0)]),{loaderResults:i,fetcherResults:s}}function Ve(){$=!0,V.push(...tt()),Oe.forEach(((e,t)=>{re.has(t)&&(te.push(t),Ze(t))}))}function Be(e,t,r){void 0===r&&(r={}),M.fetchers.set(e,t),je({fetchers:new Map(M.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function Ge(e,t,r,n){void 0===n&&(n={});let o=he(M.matches,t);Ye(e),je({errors:{[o.route.id]:r},fetchers:new Map(M.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function We(e){return b.v7_fetcherPersist&&(Pe.set(e,(Pe.get(e)||0)+1),Me.has(e)&&Me.delete(e)),M.fetchers.get(e)||Y}function Ye(e){let t=M.fetchers.get(e);!re.has(e)||t&&"loading"===t.state&&ge.has(e)||Ze(e),Oe.delete(e),ge.delete(e),Re.delete(e),Me.delete(e),M.fetchers.delete(e)}function Ze(e){let t=re.get(e);i(t,"Expected fetch controller: "+e),t.abort(),re.delete(e)}function qe(e){for(let t of e){let e=Te(We(t).data);M.fetchers.set(t,e)}}function Ke(){let e=[],t=!1;for(let r of Re){let n=M.fetchers.get(r);i(n,"Expected fetcher: "+r),"loading"===n.state&&(Re.delete(r),e.push(r),t=!0)}return qe(e),t}function Xe(e){let t=[];for(let[r,n]of ge)if(n<e){let e=M.fetchers.get(r);i(e,"Expected fetcher: "+r),"loading"===e.state&&(Ze(r),ge.delete(r),t.push(r))}return qe(t),t.length>0}function Je(e){M.blockers.delete(e),Ne.delete(e)}function Qe(e,t){let r=M.blockers.get(e)||Z;i("unblocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"proceeding"===t.state||"blocked"===r.state&&"unblocked"===t.state||"proceeding"===r.state&&"unblocked"===t.state,"Invalid blocker state transition: "+r.state+" -> "+t.state);let n=new Map(M.blockers);n.set(e,t),je({blockers:n})}function et(e){let{currentLocation:t,nextLocation:r,historyAction:n}=e;if(0===Ne.size)return;Ne.size>1&&s(!1,"A router only supports one blocker at a time");let o=Array.from(Ne.entries()),[a,i]=o[o.length-1],l=M.blockers.get(a);return l&&"proceeding"===l.state?void 0:i({currentLocation:t,nextLocation:r,historyAction:n})?a:void 0}function tt(e){let t=[];return De.forEach(((r,n)=>{e&&!e(n)||(r.cancel(),t.push(n),De.delete(n))})),t}function rt(e,t){return E&&E(e,t.map((e=>function(e,t){let{route:r,pathname:n,params:o}=e;return{id:r.id,pathname:n,params:o,data:t[r.id],handle:r.handle}}(e,M.loaderData))))||e.key}function nt(e,t){if(x){let r=rt(e,t),n=x[r];if("number"==typeof n)return n}return null}return _={get basename(){return g},get future(){return b},get state(){return M},get routes(){return v},get window(){return t},initialize:function(){if(w=e.history.listen((t=>{let{action:r,location:n,delta:o}=t;if(Ie)return void(Ie=!1);s(0===Ne.size||null!=o,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let a=et({currentLocation:M.location,nextLocation:n,historyAction:r});return a&&null!=o?(Ie=!0,e.history.go(-1*o),void Qe(a,{state:"blocked",location:n,proceed(){Qe(a,{state:"proceeding",proceed:void 0,reset:void 0,location:n}),e.history.go(o)},reset(){let e=new Map(M.blockers);e.set(a,Z),je({blockers:e})}})):ze(r,n)})),r){!function(e,t){try{let r=e.sessionStorage.getItem(X);if(r){let e=JSON.parse(r);for(let[r,n]of Object.entries(e||{}))n&&Array.isArray(n)&&t.set(r,new Set(n||[]))}}catch(e){}}(t,j);let e=()=>function(e,t){if(t.size>0){let r={};for(let[e,n]of t)r[e]=[...n];try{e.sessionStorage.setItem(X,JSON.stringify(r))}catch(e){s(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}}(t,j);t.addEventListener("pagehide",e),H=()=>t.removeEventListener("pagehide",e)}return M.initialized||ze(o.Pop,M.location,{initialHydration:!0}),_},subscribe:function(e){return C.add(e),()=>C.delete(e)},enableScrollRestoration:function(e,t,r){if(x=e,S=t,E=r||null,!R&&M.navigation===W){R=!0;let e=nt(M.location,M.matches);null!=e&&je({restoreScrollPosition:e})}return()=>{x=null,S=null,E=null}},navigate:async function t(r,a){if("number"==typeof r)return void e.history.go(r);let i=J(M.location,M.matches,g,b.v7_prependBasename,r,b.v7_relativeSplatPath,null==a?void 0:a.fromRouteId,null==a?void 0:a.relative),{path:s,submission:l,error:u}=Q(b.v7_normalizeFormMethod,!1,i,a),d=M.location,f=c(M.location,s,a&&a.state);f=n({},f,e.history.encodeLocation(f));let h=a&&null!=a.replace?a.replace:void 0,p=o.Push;!0===h?p=o.Replace:!1===h||null!=l&&xe(l.formMethod)&&l.formAction===M.location.pathname+M.location.search&&(p=o.Replace);let m=a&&"preventScrollReset"in a?!0===a.preventScrollReset:void 0,v=!0===(a&&a.unstable_flushSync),y=et({currentLocation:d,nextLocation:f,historyAction:p});if(!y)return await ze(p,f,{submission:l,pendingError:u,preventScrollReset:m,replace:a&&a.replace,enableViewTransition:a&&a.unstable_viewTransition,flushSync:v});Qe(y,{state:"blocked",location:f,proceed(){Qe(y,{state:"proceeding",proceed:void 0,reset:void 0,location:f}),t(r,a)},reset(){let e=new Map(M.blockers);e.set(y,Z),je({blockers:e})}})},fetch:function(t,r,n,o){if(a)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");re.has(t)&&Ze(t);let s=!0===(o&&o.unstable_flushSync),l=u||v,c=J(M.location,M.matches,g,b.v7_prependBasename,n,b.v7_relativeSplatPath,r,null==o?void 0:o.relative),d=m(l,c,g);if(!d)return void Ge(t,r,me(404,{pathname:c}),{flushSync:s});let{path:f,submission:h,error:p}=Q(b.v7_normalizeFormMethod,!0,c,o);if(p)return void Ge(t,r,p,{flushSync:s});let y=Ae(d,f);N=!0===(o&&o.preventScrollReset),h&&xe(h.formMethod)?async function(t,r,n,o,a,s,l){if(Ve(),Oe.delete(t),!o.route.action&&!o.route.lazy){let e=me(405,{method:l.formMethod,pathname:n,routeId:r});return void Ge(t,r,e,{flushSync:s})}let c=M.fetchers.get(t);Be(t,function(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}(l,c),{flushSync:s});let d=new AbortController,f=se(e.history,n,d.signal,l);re.set(t,d);let h=le,p=(await Ue("action",f,[o],a))[0];if(f.signal.aborted)return void(re.get(t)===d&&re.delete(t));if(b.v7_fetcherPersist&&Me.has(t)){if(we(p)||be(p))return void Be(t,Te(void 0))}else{if(we(p))return re.delete(t),ce>h?void Be(t,Te(void 0)):(Re.add(t),Be(t,Le(l)),He(f,p,{fetcherSubmission:l}));if(be(p))return void Ge(t,r,p.error)}if(ye(p))throw me(400,{type:"defer-action"});let y=M.navigation.location||M.location,w=se(e.history,y,d.signal),C=u||v,x="idle"!==M.navigation.state?m(C,M.navigation.location,g):M.matches;i(x,"Didn't find any matches after fetcher action");let E=++le;ge.set(t,E);let S=Le(l,p.data);M.fetchers.set(t,S);let[R,A]=ee(e.history,M,x,l,y,!1,b.unstable_skipActionErrorRevalidation,$,V,te,Me,Oe,Re,C,g,[o.route.id,p]);A.filter((e=>e.key!==t)).forEach((e=>{let t=e.key,r=M.fetchers.get(t),n=Le(void 0,r?r.data:void 0);M.fetchers.set(t,n),re.has(t)&&Ze(t),e.controller&&re.set(t,e.controller)})),je({fetchers:new Map(M.fetchers)});let k=()=>A.forEach((e=>Ze(e.key)));d.signal.addEventListener("abort",k);let{loaderResults:_,fetcherResults:L}=await $e(M.matches,x,R,A,w);if(d.signal.aborted)return;d.signal.removeEventListener("abort",k),ge.delete(t),re.delete(t),A.forEach((e=>re.delete(e.key)));let T=ve([..._,...L]);if(T){if(T.idx>=R.length){let e=A[T.idx-R.length].key;Re.add(e)}return He(w,T.result)}let{loaderData:O,errors:N}=ue(M,M.matches,R,_,void 0,A,L,De);if(M.fetchers.has(t)){let e=Te(p.data);M.fetchers.set(t,e)}Xe(E),"loading"===M.navigation.state&&E>ce?(i(D,"Expected pending action"),P&&P.abort(),Fe(M.navigation.location,{matches:x,loaderData:O,errors:N,fetchers:new Map(M.fetchers)})):(je({errors:N,loaderData:de(M.loaderData,O,x,N),fetchers:new Map(M.fetchers)}),$=!1)}(t,r,f,y,d,s,h):(Oe.set(t,{routeId:r,path:f}),async function(t,r,n,o,a,s,l){let c=M.fetchers.get(t);Be(t,Le(l,c?c.data:void 0),{flushSync:s});let u=new AbortController,d=se(e.history,n,u.signal);re.set(t,u);let f=le,h=(await Ue("loader",d,[o],a))[0];if(ye(h)&&(h=await Se(h,d.signal,!0)||h),re.get(t)===u&&re.delete(t),!d.signal.aborted){if(!Me.has(t))return we(h)?ce>f?void Be(t,Te(void 0)):(Re.add(t),void await He(d,h)):void(be(h)?Ge(t,r,h.error):(i(!ye(h),"Unhandled fetcher deferred data"),Be(t,Te(h.data))));Be(t,Te(void 0))}}(t,r,f,y,d,s,h))},revalidate:function(){Ve(),je({revalidation:"loading"}),"submitting"!==M.navigation.state&&("idle"!==M.navigation.state?ze(D||M.historyAction,M.navigation.location,{overrideNavigation:M.navigation}):ze(M.historyAction,M.location,{startUninterruptedRevalidation:!0}))},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:We,deleteFetcher:function(e){if(b.v7_fetcherPersist){let t=(Pe.get(e)||0)-1;t<=0?(Pe.delete(e),Me.add(e)):Pe.set(e,t)}else Ye(e);je({fetchers:new Map(M.fetchers)})},dispose:function(){w&&w(),H&&H(),C.clear(),P&&P.abort(),M.fetchers.forEach(((e,t)=>Ye(t))),M.blockers.forEach(((e,t)=>Je(t)))},getBlocker:function(e,t){let r=M.blockers.get(e)||Z;return Ne.get(e)!==t&&Ne.set(e,t),r},deleteBlocker:Je,_internalFetchControllers:re,_internalActiveDeferreds:De,_internalSetRoutes:function(e){h={},u=p(e,l,void 0,h)}},_}({basename:void 0,future:Qe({},void 0,{v7_prependBasename:!0}),history:(hf={window:void 0},void 0===hf&&(hf={}),function(e,t,r,s){void 0===s&&(s={});let{window:d=document.defaultView,v5Compat:f=!1}=s,h=d.history,p=o.Pop,m=null,v=g();function g(){return(h.state||{idx:null}).idx}function y(){p=o.Pop;let e=g(),t=null==e?null:e-v;v=e,m&&m({action:p,location:w.location,delta:t})}function b(e){let t="null"!==d.location.origin?d.location.origin:d.location.href,r="string"==typeof e?e:u(e);return r=r.replace(/ $/,"%20"),i(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==v&&(v=0,h.replaceState(n({},h.state,{idx:v}),""));let w={get action(){return p},get location(){return e(d,h)},listen(e){if(m)throw new Error("A history only accepts one active listener");return d.addEventListener(a,y),m=e,()=>{d.removeEventListener(a,y),m=null}},createHref:e=>t(d,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){p=o.Push;let n=c(w.location,e,t);r&&r(n,e),v=g()+1;let a=l(n,v),i=w.createHref(n);try{h.pushState(a,"",i)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;d.location.assign(i)}f&&m&&m({action:p,location:w.location,delta:1})},replace:function(e,t){p=o.Replace;let n=c(w.location,e,t);r&&r(n,e),v=g();let a=l(n,v),i=w.createHref(n);h.replaceState(a,"",i),f&&m&&m({action:p,location:w.location,delta:0})},go:e=>h.go(e)};return w}((function(e,t){let{pathname:r="/",search:n="",hash:o=""}=d(e.location.hash.substr(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),c("",{pathname:r,search:n,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let r=e.document.querySelector("base"),n="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");n=-1===r?t:t.slice(0,r)}return n+"#"+("string"==typeof t?t:u(t))}),(function(e,t){s("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),hf)),hydrationData:function(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=Qe({},t,{errors:nt(t.errors)})),t}(),routes:ff,mapRouteProperties:function(t){let r={hasErrorBoundary:null!=t.ErrorBoundary||null!=t.errorElement};return t.Component&&Object.assign(r,{element:e.createElement(t.Component),Component:void 0}),t.HydrateFallback&&Object.assign(r,{hydrateFallbackElement:e.createElement(t.HydrateFallback),HydrateFallback:void 0}),t.ErrorBoundary&&Object.assign(r,{errorElement:e.createElement(t.ErrorBoundary),ErrorBoundary:void 0}),r},unstable_dataStrategy:void 0,window:void 0}).initialize());var ff,hf;const pf=document.getElementById("solidwp-mail-root");(0,gt.createRoot)(pf).render((0,e.createElement)((function(t){let{fallbackElement:r,router:n,future:o}=t,[a,i]=e.useState(n.state),[s,l]=e.useState(),[c,u]=e.useState({isTransitioning:!1}),[d,f]=e.useState(),[h,p]=e.useState(),[m,v]=e.useState(),g=e.useRef(new Map),{v7_startTransition:y}=o||{},b=e.useCallback((e=>{y?function(e){it?it(e):e()}(e):e()}),[y]),w=e.useCallback(((e,t)=>{let{deletedFetchers:r,unstable_flushSync:o,unstable_viewTransitionOpts:a}=t;r.forEach((e=>g.current.delete(e))),e.fetchers.forEach(((e,t)=>{void 0!==e.data&&g.current.set(t,e.data)}));let s=null==n.window||null==n.window.document||"function"!=typeof n.window.document.startViewTransition;if(a&&!s){if(o){lt((()=>{h&&(d&&d.resolve(),h.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:a.currentLocation,nextLocation:a.nextLocation})}));let t=n.window.document.startViewTransition((()=>{lt((()=>i(e)))}));return t.finished.finally((()=>{lt((()=>{f(void 0),p(void 0),l(void 0),u({isTransitioning:!1})}))})),void lt((()=>p(t)))}h?(d&&d.resolve(),h.skipTransition(),v({state:e,currentLocation:a.currentLocation,nextLocation:a.nextLocation})):(l(e),u({isTransitioning:!0,flushSync:!1,currentLocation:a.currentLocation,nextLocation:a.nextLocation}))}else o?lt((()=>i(e))):b((()=>i(e)))}),[n.window,h,d,g,b]);e.useLayoutEffect((()=>n.subscribe(w)),[n,w]),e.useEffect((()=>{c.isTransitioning&&!c.flushSync&&f(new ct)}),[c]),e.useEffect((()=>{if(d&&s&&n.window){let e=s,t=d.promise,r=n.window.document.startViewTransition((async()=>{b((()=>i(e))),await t}));r.finished.finally((()=>{f(void 0),p(void 0),l(void 0),u({isTransitioning:!1})})),p(r)}}),[b,s,d,n.window]),e.useEffect((()=>{d&&s&&a.location.key===s.location.key&&d.resolve()}),[d,h,a.location,s]),e.useEffect((()=>{!c.isTransitioning&&m&&(l(m.state),u({isTransitioning:!0,flushSync:!1,currentLocation:m.currentLocation,nextLocation:m.nextLocation}),v(void 0))}),[c.isTransitioning,m]),e.useEffect((()=>{}),[]);let C=e.useMemo((()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:e=>n.navigate(e),push:(e,t,r)=>n.navigate(e,{state:t,preventScrollReset:null==r?void 0:r.preventScrollReset}),replace:(e,t,r)=>n.navigate(e,{replace:!0,state:t,preventScrollReset:null==r?void 0:r.preventScrollReset})})),[n]),x=n.basename||"/",E=e.useMemo((()=>({router:n,navigator:C,static:!1,basename:x})),[n,C,x]);return e.createElement(e.Fragment,null,e.createElement(Pe.Provider,{value:E},e.createElement(Me.Provider,{value:a},e.createElement(at.Provider,{value:g.current},e.createElement(ot.Provider,{value:c},e.createElement(Je,{basename:x,location:a.location,navigationType:a.historyAction,navigator:C,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},a.initialized||n.future.v7_partialHydration?e.createElement(ut,{routes:n.routes,future:n.future,state:a}):r))))),null)}),{router:df}))})()})();