403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/sieuthimayasia.com/public_html/wp-content/plugins/wp-smtp/assets/js/logs.js
(()=>{"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),g=0;g<i.length;++g){var v=i[g];if(!(a[v]||n&&n[v]||m&&m[v]||s&&s[v])){var y=f(r,v);try{c(t,v,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,g=r?Symbol.for("react.lazy"):60116,v=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 E(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 g:case m:case l:return e;default:return t}}case o:return t}}}function C(e){return E(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=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=h,t.isAsyncMode=function(e){return C(e)||E(e)===u},t.isConcurrentMode=C,t.isContextConsumer=function(e){return E(e)===c},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return E(e)===f},t.isFragment=function(e){return E(e)===a},t.isLazy=function(e){return E(e)===g},t.isMemo=function(e){return E(e)===m},t.isPortal=function(e){return E(e)===o},t.isProfiler=function(e){return E(e)===s},t.isStrictMode=function(e){return E(e)===i},t.isSuspense=function(e){return E(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===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=E},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),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={};r.r(e),r.d(e,{DELETE_LOGS:()=>Sf,IS_SEARCHING:()=>Rf,SET_CURRENT_PAGE:()=>Af,SET_LOGS:()=>xf,SET_SELECTED_LOG:()=>_f,STOP_SEARCHING:()=>Lf,clearAllLogsAction:()=>Ef,deleteLog:()=>wf,populateLogs:()=>vf,selectLog:()=>Cf,setCurrentPage:()=>bf,setLogs:()=>yf});var t={};r.r(t),r.d(t,{addConnection:()=>rp,addToast:()=>ip,clearErrors:()=>ap,deleteConnection:()=>op,removeToast:()=>sp,updateConnection:()=>np});var n={};r.r(n),r.d(n,{getConnectionById:()=>dp,getConnections:()=>up});var o={};r.r(o),r.d(o,{getActiveConnections:()=>yp,getAvailableConnections:()=>pp,getConnectionById:()=>gp,getConnections:()=>fp,getConnectorDisplayName:()=>wp,getDefaultConnection:()=>bp,getErrors:()=>mp,getTexts:()=>hp,getToasts:()=>vp});var a=r(609);const i=window.ReactDOM;function s(){return s=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},s.apply(this,arguments)}var l;!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(l||(l={}));const c="popstate";function u(e,t){if(!1===e||null==e)throw new Error(t)}function d(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function f(e,t){return{usr:e.state,key:e.key,idx:t}}function h(e,t,r,n){return void 0===r&&(r=null),s({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?m(t):t,{state:r,key:t&&t.key||n||Math.random().toString(36).substr(2,8)})}function p(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 m(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 g;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(g||(g={}));const v=new Set(["lazy","caseSensitive","path","id","index","children"]);function y(e,t,r,n){return void 0===r&&(r=[]),void 0===n&&(n={}),e.map(((e,o)=>{let a=[...r,o],i="string"==typeof e.id?e.id:a.join("-");if(u(!0!==e.index||!e.children,"Cannot specify children on an index route"),u(!n[i],'Found a route id collision on id "'+i+"\".  Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let r=s({},e,t(e),{id:i});return n[i]=r,r}{let r=s({},e,t(e),{id:i,children:void 0});return n[i]=r,e.children&&(r.children=y(e.children,t,a,n)),r}}))}function b(e,t,r){void 0===r&&(r="/");let n=M(("string"==typeof t?m(t):t).pathname||"/",r);if(null==n)return null;let o=w(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=O(n);a=P(o[e],t)}return a}function w(e,t,r,n){void 0===t&&(t=[]),void 0===r&&(r=[]),void 0===n&&(n="");let o=(e,o,a)=>{let i={relativePath:void 0===a?e.path||"":a,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};i.relativePath.startsWith("/")&&(u(i.relativePath.startsWith(n),'Absolute route path "'+i.relativePath+'" nested under path "'+n+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),i.relativePath=i.relativePath.slice(n.length));let s=z([n,i.relativePath]),l=r.concat(i);e.children&&e.children.length>0&&(u(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),w(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:k(s,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of E(e.path))o(e,t,r);else o(e,t)})),t}function E(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=E(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 C=/^:[\w-]+$/,x=3,S=2,_=1,A=10,R=-2,L=e=>"*"===e;function k(e,t){let r=e.split("/"),n=r.length;return r.some(L)&&(n+=R),t&&(n+=S),r.filter((e=>!L(e))).reduce(((e,t)=>e+(C.test(t)?x:""===t?_:A)),n)}function P(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=T({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:z([o,c.pathname]),pathnameBase:F(z([o,c.pathnameBase])),route:u}),"/"!==c.pathnameBase&&(o=z([o,c.pathnameBase]))}return a}function T(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),d("*"===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"),s=o.slice(1);return{params:n.reduce(((e,t,r)=>{let{paramName:n,isOptional:o}=t;if("*"===n){let e=s[r]||"";i=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[r];return e[n]=o&&!l?void 0:(l||"").replace(/%2F/g,"/"),e}),{}),pathname:a,pathnameBase:i,pattern:e}}function O(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return d(!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 M(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 D(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 N(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function I(e,t){let r=N(e);return t?r.map(((t,r)=>r===e.length-1?t.pathname:t.pathnameBase)):r.map((e=>e.pathnameBase))}function j(e,t,r,n){let o;void 0===n&&(n=!1),"string"==typeof e?o=m(e):(o=s({},e),u(!o.pathname||!o.pathname.includes("?"),D("?","pathname","search",o)),u(!o.pathname||!o.pathname.includes("#"),D("#","pathname","hash",o)),u(!o.search||!o.search.includes("#"),D("#","search","hash",o)));let a,i=""===e||""===o.pathname,l=i?"/":o.pathname;if(null==l)a=r;else{let e=t.length-1;if(!n&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let c=function(e,t){void 0===t&&(t="/");let{pathname:r,search:n="",hash:o=""}="string"==typeof e?m(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:H(n),hash:$(o)}}(o,a),d=l&&"/"!==l&&l.endsWith("/"),f=(i||"."===l)&&r.endsWith("/");return c.pathname.endsWith("/")||!d&&!f||(c.pathname+="/"),c}const z=e=>e.join("/").replace(/\/\/+/g,"/"),F=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),H=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",$=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;class U{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 B(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const G=["post","put","patch","delete"],V=new Set(G),W=["get",...G],Y=new Set(W),Z=new Set([301,302,303,307,308]),K=new Set([307,308]),q={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},X={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},J={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Q=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ee=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)}),te="remix-router-transitions";function re(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 u=j(o||".",I(l,a),M(e.pathname,r)||e.pathname,"path"===s);return null==o&&(u.search=e.search,u.hash=e.hash),null!=o&&""!==o&&"."!==o||!c||!c.route.index||ke(u.search)||(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),n&&"/"!==r&&(u.pathname="/"===u.pathname?r:z([r,u.pathname])),p(u)}function ne(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,!Y.has(o.toLowerCase())))return{path:r,error:be(405,{method:n.formMethod})};var o;let a,i,s=()=>({path:r,error:be(400,{type:"invalid-body"})}),l=n.formMethod||"get",c=e?l.toUpperCase():l.toLowerCase(),d=Ee(r);if(void 0!==n.body){if("text/plain"===n.formEncType){if(!Ae(c))return s();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:c,formAction:d,formEncType:n.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===n.formEncType){if(!Ae(c))return s();try{let e="string"==typeof n.body?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:c,formAction:d,formEncType:n.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return s()}}}if(u("function"==typeof FormData,"FormData is not available in this environment"),n.formData)a=fe(n.formData),i=n.formData;else if(n.body instanceof FormData)a=fe(n.body),i=n.body;else if(n.body instanceof URLSearchParams)a=n.body,i=he(a);else if(null==n.body)a=new URLSearchParams,i=new FormData;else try{a=new URLSearchParams(n.body),i=he(a)}catch(e){return s()}let f={formMethod:c,formAction:d,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:i,json:void 0,text:void 0};if(Ae(f.formMethod))return{path:r,submission:f};let h=m(r);return t&&h.search&&ke(h.search)&&a.append("index",""),h.search="?"+a,{path:p(h),submission:f}}function oe(e,t,r,n,o,a,i,l,c,u,d,f,h,p,m,g){let v=g?xe(g[1])?g[1].error:g[1].data:void 0,y=e.createURL(t.location),w=e.createURL(o),E=g&&xe(g[1])?g[0]:void 0,C=E?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,E):r,x=g?g[1].statusCode:void 0,S=i&&x&&x>=400,_=C.filter(((e,r)=>{let{route:o}=e;if(o.lazy)return!0;if(null==o.loader)return!1;if(a)return!("function"==typeof o.loader&&!o.loader.hydrate&&(void 0!==t.loaderData[o.id]||t.errors&&void 0!==t.errors[o.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 i=t.matches[r],u=e;return ie(e,s({currentUrl:y,currentParams:i.params,nextUrl:w,nextParams:u.params},n,{actionResult:v,unstable_actionStatus:x,defaultShouldRevalidate:!S&&(l||y.pathname+y.search===w.pathname+w.search||y.search!==w.search||ae(i,u))}))})),A=[];return f.forEach(((e,o)=>{if(a||!r.some((t=>t.route.id===e.routeId))||d.has(o))return;let i=b(p,e.path,m);if(!i)return void A.push({key:o,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let c=t.fetchers.get(o),f=Pe(i,e.path),g=!1;g=!h.has(o)&&(!!u.includes(o)||(c&&"idle"!==c.state&&void 0===c.data?l:ie(f,s({currentUrl:y,currentParams:t.matches[t.matches.length-1].params,nextUrl:w,nextParams:r[r.length-1].params},n,{actionResult:v,unstable_actionStatus:x,defaultShouldRevalidate:!S&&l})))),g&&A.push({key:o,routeId:e.routeId,path:e.path,matches:i,match:f,controller:new AbortController})})),[_,A]}function ae(e,t){let r=e.route.path;return e.pathname!==t.pathname||null!=r&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function ie(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if("boolean"==typeof r)return r}return t.defaultShouldRevalidate}async function se(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let o=r[e.id];u(o,"No route found in manifest");let a={};for(let e in n){let t=void 0!==o[e]&&"hasErrorBoundary"!==e;d(!t,'Route "'+o.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||v.has(e)||(a[e]=n[e])}Object.assign(o,a),Object.assign(o,s({},t(o),{lazy:void 0}))}function le(e){return Promise.all(e.matches.map((e=>e.resolve())))}function ce(e,t,r,n,o,a){let i=e.headers.get("Location");if(u(i,"Redirects returned/thrown from loaders/actions must have a Location header"),!Q.test(i)){let s=n.slice(0,n.findIndex((e=>e.route.id===r))+1);i=re(new URL(t.url),s,o,!0,i,a),e.headers.set("Location",i)}return e}function ue(e,t,r){if(Q.test(e)){let n=e,o=n.startsWith("//")?new URL(t.protocol+n):new URL(n),a=null!=M(o.pathname,r);if(o.origin===t.origin&&a)return o.pathname+o.search+o.hash}return e}function de(e,t,r,n){let o=e.createURL(Ee(t)).toString(),a={signal:r};if(n&&Ae(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=fe(n.formData):a.body=n.formData}return new Request(o,a)}function fe(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,"string"==typeof n?n:n.name);return t}function he(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function pe(e,t,r,n,o,a,i,l){let{loaderData:c,errors:d}=function(e,t,r,n,o,a){let i,s={},l=null,c=!1,d={},f=n&&xe(n[1])?n[1].error:void 0;return r.forEach(((r,n)=>{let h=t[n].route.id;if(u(!Se(r),"Cannot handle redirect results in processLoaderData"),xe(r)){let t=r.error;if(void 0!==f&&(t=f,f=void 0),l=l||{},a)l[h]=t;else{let r=ve(e,h);null==l[r.route.id]&&(l[r.route.id]=t)}s[h]=void 0,c||(c=!0,i=B(r.error)?r.error.status:500),r.headers&&(d[h]=r.headers)}else Ce(r)?(o.set(h,r.deferredData),s[h]=r.deferredData.data,null==r.statusCode||200===r.statusCode||c||(i=r.statusCode),r.headers&&(d[h]=r.headers)):(s[h]=r.data,r.statusCode&&200!==r.statusCode&&!c&&(i=r.statusCode),r.headers&&(d[h]=r.headers))})),void 0!==f&&n&&(l={[n[0]]:f},s[n[0]]=void 0),{loaderData:s,errors:l,statusCode:i||200,loaderHeaders:d}}(t,r,n,o,l,!1);for(let t=0;t<a.length;t++){let{key:r,match:n,controller:o}=a[t];u(void 0!==i&&void 0!==i[t],"Did not find corresponding fetcher result");let l=i[t];if(!o||!o.signal.aborted)if(xe(l)){let t=ve(e.matches,null==n?void 0:n.route.id);d&&d[t.route.id]||(d=s({},d,{[t.route.id]:l.error})),e.fetchers.delete(r)}else if(Se(l))u(!1,"Unhandled fetcher revalidation redirect");else if(Ce(l))u(!1,"Unhandled fetcher deferred data");else{let t=De(l.data);e.fetchers.set(r,t)}}return{loaderData:c,errors:d}}function me(e,t,r,n){let o=s({},t);for(let a of r){let r=a.route.id;if(t.hasOwnProperty(r)?void 0!==t[r]&&(o[r]=t[r]):void 0!==e[r]&&a.route.loader&&(o[r]=e[r]),n&&n.hasOwnProperty(r))break}return o}function ge(e){return e?xe(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function ve(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 ye(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 be(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 U(e||500,i,new Error(s),!0)}function we(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(Se(r))return{result:r,idx:t}}}function Ee(e){return p(s({},"string"==typeof e?m(e):e,{hash:""}))}function Ce(e){return e.type===g.deferred}function xe(e){return e.type===g.error}function Se(e){return(e&&e.type)===g.redirect}function _e(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function Ae(e){return V.has(e.toLowerCase())}async function Re(e,t,r,n,o,a){for(let i=0;i<r.length;i++){let s=r[i],l=t[i];if(!l)continue;let c=e.find((e=>e.route.id===l.route.id)),d=null!=c&&!ae(c,l)&&void 0!==(a&&a[l.route.id]);if(Ce(s)&&(o||d)){let e=n[i];u(e,"Expected an AbortSignal for revalidating fetcher deferred result"),await Le(s,e,o).then((e=>{e&&(r[i]=e||r[i])}))}}}async function Le(e,t,r){if(void 0===r&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:g.data,data:e.deferredData.unwrappedData}}catch(e){return{type:g.error,error:e}}return{type:g.data,data:e.deferredData.data}}}function ke(e){return new URLSearchParams(e).getAll("index").some((e=>""===e))}function Pe(e,t){let r="string"==typeof t?m(t).search:t.search;if(e[e.length-1].route.index&&ke(r||""))return e[e.length-1];let n=N(e);return n[n.length-1]}function Te(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 Oe(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 Me(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 De(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 Ne(){return Ne=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},Ne.apply(this,arguments)}Symbol("deferred");const Ie=a.createContext(null),je=a.createContext(null),ze=a.createContext(null),Fe=a.createContext(null),He=a.createContext({outlet:null,matches:[],isDataRoute:!1}),$e=a.createContext(null);function Ue(){return null!=a.useContext(Fe)}function Be(){return Ue()||u(!1),a.useContext(Fe).location}function Ge(e){a.useContext(ze).static||a.useLayoutEffect(e)}function Ve(){let{isDataRoute:e}=a.useContext(He);return e?function(){let{router:e}=function(e){let t=a.useContext(Ie);return t||u(!1),t}(Je.UseNavigateStable),t=et(Qe.UseNavigateStable),r=a.useRef(!1);Ge((()=>{r.current=!0}));let n=a.useCallback((function(n,o){void 0===o&&(o={}),r.current&&("number"==typeof n?e.navigate(n):e.navigate(n,Ne({fromRouteId:t},o)))}),[e,t]);return n}():function(){Ue()||u(!1);let e=a.useContext(Ie),{basename:t,future:r,navigator:n}=a.useContext(ze),{matches:o}=a.useContext(He),{pathname:i}=Be(),s=JSON.stringify(I(o,r.v7_relativeSplatPath)),l=a.useRef(!1);return Ge((()=>{l.current=!0})),a.useCallback((function(r,o){if(void 0===o&&(o={}),!l.current)return;if("number"==typeof r)return void n.go(r);let a=j(r,JSON.parse(s),i,"path"===o.relative);null==e&&"/"!==t&&(a.pathname="/"===a.pathname?t:z([t,a.pathname])),(o.replace?n.replace:n.push)(a,o.state,o)}),[t,n,s,i,e])}()}function We(e,t){let{relative:r}=void 0===t?{}:t,{future:n}=a.useContext(ze),{matches:o}=a.useContext(He),{pathname:i}=Be(),s=JSON.stringify(I(o,n.v7_relativeSplatPath));return a.useMemo((()=>j(e,JSON.parse(s),i,"path"===r)),[e,s,i,r])}function Ye(e,t,r,n){Ue()||u(!1);let{navigator:o}=a.useContext(ze),{matches:i}=a.useContext(He),s=i[i.length-1],c=s?s.params:{},d=(s&&s.pathname,s?s.pathnameBase:"/");s&&s.route;let f,h=Be();if(t){var p;let e="string"==typeof t?m(t):t;"/"===d||(null==(p=e.pathname)?void 0:p.startsWith(d))||u(!1),f=e}else f=h;let g=f.pathname||"/",v=g;if("/"!==d){let e=d.replace(/^\//,"").split("/");v="/"+g.replace(/^\//,"").split("/").slice(e.length).join("/")}let y=b(e,{pathname:v}),w=function(e,t,r,n){var o;if(void 0===t&&(t=[]),void 0===r&&(r=null),void 0===n&&(n=null),null==e){var i;if(null==(i=r)||!i.errors)return null;e=r.matches}let s=e,l=null==(o=r)?void 0:o.errors;if(null!=l){let e=s.findIndex((e=>e.route.id&&void 0!==(null==l?void 0:l[e.route.id])));e>=0||u(!1),s=s.slice(0,Math.min(s.length,e+1))}let c=!1,d=-1;if(r&&n&&n.v7_partialHydration)for(let e=0;e<s.length;e++){let t=s[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(d=e),t.route.id){let{loaderData:e,errors:n}=r,o=t.route.loader&&void 0===e[t.route.id]&&(!n||void 0===n[t.route.id]);if(t.route.lazy||o){c=!0,s=d>=0?s.slice(0,d+1):[s[0]];break}}}return s.reduceRight(((e,n,o)=>{let i,u=!1,f=null,h=null;var p;r&&(i=l&&n.route.id?l[n.route.id]:void 0,f=n.route.errorElement||Ke,c&&(d<0&&0===o?(tt[p="route-fallback"]||(tt[p]=!0),u=!0,h=null):d===o&&(u=!0,h=n.route.hydrateFallbackElement||null)));let m=t.concat(s.slice(0,o+1)),g=()=>{let t;return t=i?f:u?h:n.route.Component?a.createElement(n.route.Component,null):n.route.element?n.route.element:e,a.createElement(Xe,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===o)?a.createElement(qe,{location:r.location,revalidation:r.revalidation,component:f,error:i,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()}),null)}(y&&y.map((e=>Object.assign({},e,{params:Object.assign({},c,e.params),pathname:z([d,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?d:z([d,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),i,r,n);return t&&w?a.createElement(Fe.Provider,{value:{location:Ne({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:l.Pop}},w):w}function Ze(){let e=function(){var e;let t=a.useContext($e),r=function(e){let t=a.useContext(je);return t||u(!1),t}(Qe.UseRouteError),n=et(Qe.UseRouteError);return void 0!==t?t:null==(e=r.errors)?void 0:e[n]}(),t=B(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return a.createElement(a.Fragment,null,a.createElement("h2",null,"Unexpected Application Error!"),a.createElement("h3",{style:{fontStyle:"italic"}},t),r?a.createElement("pre",{style:n},r):null,null)}const Ke=a.createElement(Ze,null);class qe extends a.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?a.createElement(He.Provider,{value:this.props.routeContext},a.createElement($e.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Xe(e){let{routeContext:t,match:r,children:n}=e,o=a.useContext(Ie);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),a.createElement(He.Provider,{value:t},n)}var Je=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Je||{}),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 et(e){let t=function(e){let t=a.useContext(He);return t||u(!1),t}(),r=t.matches[t.matches.length-1];return r.route.id||u(!1),r.route.id}const tt={};function rt(e){let{basename:t="/",children:r=null,location:n,navigationType:o=l.Pop,navigator:i,static:s=!1,future:c}=e;Ue()&&u(!1);let d=t.replace(/^\/*/,"/"),f=a.useMemo((()=>({basename:d,navigator:i,static:s,future:Ne({v7_relativeSplatPath:!1},c)})),[d,c,i,s]);"string"==typeof n&&(n=m(n));let{pathname:h="/",search:p="",hash:g="",state:v=null,key:y="default"}=n,b=a.useMemo((()=>{let e=M(h,d);return null==e?null:{location:{pathname:e,search:p,hash:g,state:v,key:y},navigationType:o}}),[d,h,p,g,v,y,o]);return null==b?null:a.createElement(ze.Provider,{value:f},a.createElement(Fe.Provider,{children:r,value:b}))}function nt(){return nt=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},nt.apply(this,arguments)}function ot(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}a.startTransition,new Promise((()=>{})),a.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const at=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],it=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"];try{window.__reactRouterVersion="6"}catch(e){}function st(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 U(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 lt=a.createContext({isTransitioning:!1}),ct=a.createContext(new Map),ut=a.startTransition,dt=i.flushSync;function ft(e){dt?dt(e):e()}a.useId;class ht{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 pt(e){let{routes:t,future:r,state:n}=e;return Ye(t,void 0,n,r)}const mt="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,gt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,vt=a.forwardRef((function(e,t){let r,{onClick:n,relative:o,reloadDocument:i,replace:s,state:l,target:c,to:d,preventScrollReset:f,unstable_viewTransition:h}=e,m=ot(e,at),{basename:g}=a.useContext(ze),v=!1;if("string"==typeof d&&gt.test(d)&&(r=d,mt))try{let e=new URL(window.location.href),t=d.startsWith("//")?new URL(e.protocol+d):new URL(d),r=M(t.pathname,g);t.origin===e.origin&&null!=r?d=r+t.search+t.hash:v=!0}catch(e){}let y=function(e,t){let{relative:r}=void 0===t?{}:t;Ue()||u(!1);let{basename:n,navigator:o}=a.useContext(ze),{hash:i,pathname:s,search:l}=We(e,{relative:r}),c=s;return"/"!==n&&(c="/"===s?n:z([n,s])),o.createHref({pathname:c,search:l,hash:i})}(d,{relative:o}),b=function(e,t){let{target:r,replace:n,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:l}=void 0===t?{}:t,c=Ve(),u=Be(),d=We(e,{relative:s});return a.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,r)){t.preventDefault();let r=void 0!==n?n:p(u)===p(d);c(e,{replace:r,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:l})}}),[u,c,d,n,o,r,e,i,s,l])}(d,{replace:s,state:l,target:c,preventScrollReset:f,relative:o,unstable_viewTransition:h});return a.createElement("a",nt({},m,{href:r||y,onClick:v||i?n:function(e){n&&n(e),e.defaultPrevented||b(e)},ref:t,target:c}))})),yt=a.forwardRef((function(e,t){let{"aria-current":r="page",caseSensitive:n=!1,className:o="",end:i=!1,style:s,to:l,unstable_viewTransition:c,children:d}=e,f=ot(e,it),h=We(l,{relative:f.relative}),p=Be(),m=a.useContext(je),{navigator:g,basename:v}=a.useContext(ze),y=null!=m&&function(e,t){void 0===t&&(t={});let r=a.useContext(lt);null==r&&u(!1);let{basename:n}=function(e){let t=a.useContext(Ie);return t||u(!1),t}(bt.useViewTransitionState),o=We(e,{relative:t.relative});if(!r.isTransitioning)return!1;let i=M(r.currentLocation.pathname,n)||r.currentLocation.pathname,s=M(r.nextLocation.pathname,n)||r.nextLocation.pathname;return null!=T(o.pathname,s)||null!=T(o.pathname,i)}(h)&&!0===c,b=g.encodeLocation?g.encodeLocation(h).pathname:h.pathname,w=p.pathname,E=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;n||(w=w.toLowerCase(),E=E?E.toLowerCase():null,b=b.toLowerCase()),E&&v&&(E=M(E,v)||E);const C="/"!==b&&b.endsWith("/")?b.length-1:b.length;let x,S=w===b||!i&&w.startsWith(b)&&"/"===w.charAt(C),_=null!=E&&(E===b||!i&&E.startsWith(b)&&"/"===E.charAt(b.length)),A={isActive:S,isPending:_,isTransitioning:y},R=S?r:void 0;x="function"==typeof o?o(A):[o,S?"active":null,_?"pending":null,y?"transitioning":null].filter(Boolean).join(" ");let L="function"==typeof s?s(A):s;return a.createElement(vt,nt({},f,{"aria-current":R,className:x,ref:t,style:L,to:l,unstable_viewTransition:c}),"function"==typeof d?d(A):d)}));var bt,wt;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(bt||(bt={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(wt||(wt={}));const Et=window.wp.element,Ct=window.wp.data,xt=window.wp.i18n;var St=r(848),_t=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}(),At=Math.abs,Rt=String.fromCharCode,Lt=Object.assign;function kt(e){return e.trim()}function Pt(e,t,r){return e.replace(t,r)}function Tt(e,t){return e.indexOf(t)}function Ot(e,t){return 0|e.charCodeAt(t)}function Mt(e,t,r){return e.slice(t,r)}function Dt(e){return e.length}function Nt(e){return e.length}function It(e,t){return t.push(e),e}var jt=1,zt=1,Ft=0,Ht=0,$t=0,Ut="";function Bt(e,t,r,n,o,a,i){return{value:e,root:t,parent:r,type:n,props:o,children:a,line:jt,column:zt,length:i,return:""}}function Gt(e,t){return Lt(Bt("",null,null,"",null,null,0),e,{length:-e.length},t)}function Vt(){return $t=Ht>0?Ot(Ut,--Ht):0,zt--,10===$t&&(zt=1,jt--),$t}function Wt(){return $t=Ht<Ft?Ot(Ut,Ht++):0,zt++,10===$t&&(zt=1,jt++),$t}function Yt(){return Ot(Ut,Ht)}function Zt(){return Ht}function Kt(e,t){return Mt(Ut,e,t)}function qt(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 Xt(e){return jt=zt=1,Ft=Dt(Ut=e),Ht=0,[]}function Jt(e){return Ut="",e}function Qt(e){return kt(Kt(Ht-1,rr(91===e?e+2:40===e?e+1:e)))}function er(e){for(;($t=Yt())&&$t<33;)Wt();return qt(e)>2||qt($t)>3?"":" "}function tr(e,t){for(;--t&&Wt()&&!($t<48||$t>102||$t>57&&$t<65||$t>70&&$t<97););return Kt(e,Zt()+(t<6&&32==Yt()&&32==Wt()))}function rr(e){for(;Wt();)switch($t){case e:return Ht;case 34:case 39:34!==e&&39!==e&&rr($t);break;case 40:41===e&&rr(e);break;case 92:Wt()}return Ht}function nr(e,t){for(;Wt()&&e+$t!==57&&(e+$t!==84||47!==Yt()););return"/*"+Kt(t,Ht-1)+"*"+Rt(47===e?e:Wt())}function or(e){for(;!qt(Yt());)Wt();return Kt(e,Ht)}var ar="-ms-",ir="-moz-",sr="-webkit-",lr="comm",cr="rule",ur="decl",dr="@keyframes";function fr(e,t){for(var r="",n=Nt(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function hr(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case ur:return e.return=e.return||e.value;case lr:return"";case dr:return e.return=e.value+"{"+fr(e.children,n)+"}";case cr:e.value=e.props.join(",")}return Dt(r=fr(e.children,n))?e.return=e.value+"{"+r+"}":""}function pr(e){return Jt(mr("",null,null,null,[""],e=Xt(e),0,[0],e))}function mr(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,g=1,v=1,y=0,b="",w=o,E=a,C=n,x=b;g;)switch(p=y,y=Wt()){case 40:if(108!=p&&58==Ot(x,d-1)){-1!=Tt(x+=Pt(Qt(y),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:x+=Qt(y);break;case 9:case 10:case 13:case 32:x+=er(p);break;case 92:x+=tr(Zt()-1,7);continue;case 47:switch(Yt()){case 42:case 47:It(vr(nr(Wt(),Zt()),t,r),l);break;default:x+="/"}break;case 123*m:s[c++]=Dt(x)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+u:-1==v&&(x=Pt(x,/\f/g,"")),h>0&&Dt(x)-d&&It(h>32?yr(x+";",n,r,d-1):yr(Pt(x," ","")+";",n,r,d-2),l);break;case 59:x+=";";default:if(It(C=gr(x,t,r,c,u,o,s,b,w=[],E=[],d),a),123===y)if(0===u)mr(x,t,C,C,w,a,d,s,E);else switch(99===f&&110===Ot(x,3)?100:f){case 100:case 108:case 109:case 115:mr(e,C,C,n&&It(gr(e,C,C,0,0,o,s,b,o,w=[],d),E),o,E,d,s,n?w:E);break;default:mr(x,C,C,C,[""],E,0,s,E)}}c=u=h=0,m=v=1,b=x="",d=i;break;case 58:d=1+Dt(x),h=p;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==Vt())continue;switch(x+=Rt(y),y*m){case 38:v=u>0?1:(x+="\f",-1);break;case 44:s[c++]=(Dt(x)-1)*v,v=1;break;case 64:45===Yt()&&(x+=Qt(Wt())),f=Yt(),u=d=Dt(b=x+=or(Zt())),y++;break;case 45:45===p&&2==Dt(x)&&(m=0)}}return a}function gr(e,t,r,n,o,a,i,s,l,c,u){for(var d=o-1,f=0===o?a:[""],h=Nt(f),p=0,m=0,g=0;p<n;++p)for(var v=0,y=Mt(e,d+1,d=At(m=i[p])),b=e;v<h;++v)(b=kt(m>0?f[v]+" "+y:Pt(y,/&\f/g,f[v])))&&(l[g++]=b);return Bt(e,t,r,0===o?cr:s,l,c,u)}function vr(e,t,r){return Bt(e,t,r,lr,Rt($t),Mt(e,2,-2),0)}function yr(e,t,r,n){return Bt(e,t,r,ur,Mt(e,0,n),Mt(e,n+1,-1),n)}var br=function(e,t,r){for(var n=0,o=0;n=o,o=Yt(),38===n&&12===o&&(t[r]=1),!qt(o);)Wt();return Kt(e,Ht)},wr=new WeakMap,Er=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)||wr.get(r))&&!n){wr.set(e,!0);for(var o=[],a=function(e,t){return Jt(function(e,t){var r=-1,n=44;do{switch(qt(n)){case 0:38===n&&12===Yt()&&(t[r]=1),e[r]+=br(Ht-1,t,r);break;case 2:e[r]+=Qt(n);break;case 4:if(44===n){e[++r]=58===Yt()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Rt(n)}}while(n=Wt());return e}(Xt(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]}}},Cr=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function xr(e,t){switch(function(e,t){return 45^Ot(e,0)?(((t<<2^Ot(e,0))<<2^Ot(e,1))<<2^Ot(e,2))<<2^Ot(e,3):0}(e,t)){case 5103:return sr+"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 sr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return sr+e+ir+e+ar+e+e;case 6828:case 4268:return sr+e+ar+e+e;case 6165:return sr+e+ar+"flex-"+e+e;case 5187:return sr+e+Pt(e,/(\w+).+(:[^]+)/,sr+"box-$1$2"+ar+"flex-$1$2")+e;case 5443:return sr+e+ar+"flex-item-"+Pt(e,/flex-|-self/,"")+e;case 4675:return sr+e+ar+"flex-line-pack"+Pt(e,/align-content|flex-|-self/,"")+e;case 5548:return sr+e+ar+Pt(e,"shrink","negative")+e;case 5292:return sr+e+ar+Pt(e,"basis","preferred-size")+e;case 6060:return sr+"box-"+Pt(e,"-grow","")+sr+e+ar+Pt(e,"grow","positive")+e;case 4554:return sr+Pt(e,/([^-])(transform)/g,"$1"+sr+"$2")+e;case 6187:return Pt(Pt(Pt(e,/(zoom-|grab)/,sr+"$1"),/(image-set)/,sr+"$1"),e,"")+e;case 5495:case 3959:return Pt(e,/(image-set\([^]*)/,sr+"$1$`$1");case 4968:return Pt(Pt(e,/(.+:)(flex-)?(.*)/,sr+"box-pack:$3"+ar+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+sr+e+e;case 4095:case 3583:case 4068:case 2532:return Pt(e,/(.+)-inline(.+)/,sr+"$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(Dt(e)-1-t>6)switch(Ot(e,t+1)){case 109:if(45!==Ot(e,t+4))break;case 102:return Pt(e,/(.+:)(.+)-([^]+)/,"$1"+sr+"$2-$3$1"+ir+(108==Ot(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Tt(e,"stretch")?xr(Pt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Ot(e,t+1))break;case 6444:switch(Ot(e,Dt(e)-3-(~Tt(e,"!important")&&10))){case 107:return Pt(e,":",":"+sr)+e;case 101:return Pt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+sr+(45===Ot(e,14)?"inline-":"")+"box$3$1"+sr+"$2$3$1"+ar+"$2box$3")+e}break;case 5936:switch(Ot(e,t+11)){case 114:return sr+e+ar+Pt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return sr+e+ar+Pt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return sr+e+ar+Pt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return sr+e+ar+e+e}return e}var Sr=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case ur:e.return=xr(e.value,e.length);break;case dr:return fr([Gt(e,{value:Pt(e.value,"@","@"+sr)})],n);case cr: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 fr([Gt(e,{props:[Pt(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return fr([Gt(e,{props:[Pt(t,/:(plac\w+)/,":"+sr+"input-$1")]}),Gt(e,{props:[Pt(t,/:(plac\w+)/,":-moz-$1")]}),Gt(e,{props:[Pt(t,/:(plac\w+)/,ar+"input-$1")]})],n)}return""}))}}],_r=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||Sr,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=[hr,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],h=(c=[Er,Cr].concat(a,f),u=Nt(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,fr(pr(e?e+"{"+t.styles+"}":t.styles),h),n&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new _t({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 Ar(){return Ar=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},Ar.apply(null,arguments)}var Rr=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 Lr(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var kr=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},Pr=function(e,t,r){kr(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)}},Tr={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 Or=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}};var Mr=!1,Dr=/[A-Z]|^ms/g,Nr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ir=function(e){return 45===e.charCodeAt(1)},jr=function(e){return null!=e&&"boolean"!=typeof e},zr=Or((function(e){return Ir(e)?e:e.replace(Dr,"-$&").toLowerCase()})),Fr=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Nr,(function(e,t,r){return Ur={name:t,styles:r,next:Ur},t}))}return 1===Tr[e]||Ir(e)||"number"!=typeof t||0===t?t:t+"px"},Hr="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function $r(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 Ur={name:o.name,styles:o.styles,next:Ur},o.name;var a=r;if(void 0!==a.styles){var i=a.next;if(void 0!==i)for(;void 0!==i;)Ur={name:i.name,styles:i.styles,next:Ur},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+=$r(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]+"}":jr(s)&&(n+=zr(a)+":"+Fr(a,s)+";")}else{if("NO_COMPONENT_SELECTOR"===a&&Mr)throw new Error(Hr);if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=$r(e,t,i);switch(a){case"animation":case"animationName":n+=zr(a)+":"+l+";";break;default:n+=a+"{"+l+"}"}}else for(var c=0;c<i.length;c++)jr(i[c])&&(n+=zr(a)+":"+Fr(a,i[c])+";")}}return n}(e,t,r);case"function":if(void 0!==e){var s=Ur,l=r(e);return Ur=s,$r(e,t,l)}}var c=r;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var Ur,Br=/label:\s*([^\s;\n{]+)\s*(;|$)/g;function Gr(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="";Ur=void 0;var a=e[0];null==a||void 0===a.raw?(n=!1,o+=$r(r,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=$r(r,t,e[i]),n&&(o+=a[i]);Br.lastIndex=0;for(var s,l="";null!==(s=Br.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:Ur}}var Vr=!!a.useInsertionEffect&&a.useInsertionEffect,Wr=Vr||function(e){return e()},Yr=(Vr||a.useLayoutEffect,"undefined"!=typeof document),Zr=a.createContext("undefined"!=typeof HTMLElement?_r({key:"css"}):null),Kr=(Zr.Provider,function(e){return(0,a.forwardRef)((function(t,r){var n=(0,a.useContext)(Zr);return e(t,n,r)}))});Yr||(Kr=function(e){return function(t){var r=(0,a.useContext)(Zr);return null===r?(r=_r({key:"css"}),a.createElement(Zr.Provider,{value:r},e(t,r))):e(t,r)}});var qr=a.createContext({}),Xr=function(){return a.useContext(qr)},Jr=Rr((function(e){return Rr((function(t){return function(e,t){return"function"==typeof t?t(e):Ar({},e,t)}(e,t)}))})),Qr=function(e){var t=a.useContext(qr);return e.theme!==t&&(t=Jr(t)(e.theme)),a.createElement(qr.Provider,{value:t},e.children)},en={}.hasOwnProperty,tn="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",rn=function(e,t){var r={};for(var n in t)en.call(t,n)&&(r[n]=t[n]);return r[tn]=e,r},nn=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;kr(t,r,n);var o=Wr((function(){return Pr(t,r,n)}));if(!Yr&&void 0!==o){for(var i,s=r.name,l=r.next;void 0!==l;)s+=" "+l.name,l=l.next;return a.createElement("style",((i={})["data-emotion"]=t.key+" "+s,i.dangerouslySetInnerHTML={__html:o},i.nonce=t.sheet.nonce,i))}return null},on=Kr((function(e,t,r){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var o=e[tn],i=[n],s="";"string"==typeof e.className?s=Lr(t.registered,i,e.className):null!=e.className&&(s=e.className+" ");var l=Gr(i,void 0,a.useContext(qr));s+=t.key+"-"+l.name;var c={};for(var u in e)en.call(e,u)&&"css"!==u&&u!==tn&&(c[u]=e[u]);return c.className=s,r&&(c.ref=r),a.createElement(a.Fragment,null,a.createElement(nn,{cache:t,serialized:l,isStringTag:"string"==typeof o}),a.createElement(o,c))}));function an(e,t,r){return en.call(t,"css")?St.jsx(on,rn(e,t),r):St.jsx(e,t,r)}function sn(e,t,r){return en.call(t,"css")?St.jsxs(on,rn(e,t),r):St.jsxs(e,t,r)}r(146),St.Fragment;const ln=window.wp.components;var cn=/^((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)-.*))$/,un=Or((function(e){return cn.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),dn=function(e){return"theme"!==e},fn=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?un:dn},hn=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},pn=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return kr(t,r,n),Wr((function(){return Pr(t,r,n)})),null},mn=function e(t,r){var n,o,i=t.__emotion_real===t,s=i&&t.__emotion_base||t;void 0!==r&&(n=r.label,o=r.target);var l=hn(t,r,i),c=l||fn(s),u=!c("as");return function(){var d=arguments,f=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&f.push("label:"+n+";"),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=Kr((function(e,t,r){var n=u&&e.as||s,i="",d=[],h=e;if(null==e.theme){for(var p in h={},e)h[p]=e[p];h.theme=a.useContext(qr)}"string"==typeof e.className?i=Lr(t.registered,d,e.className):null!=e.className&&(i=e.className+" ");var m=Gr(f.concat(d),t.registered,h);i+=t.key+"-"+m.name,void 0!==o&&(i+=" "+o);var g=u&&void 0===l?fn(n):c,v={};for(var y in e)u&&"as"===y||g(y)&&(v[y]=e[y]);return v.className=i,r&&(v.ref=r),a.createElement(a.Fragment,null,a.createElement(pn,{cache:t,serialized:m,isStringTag:"string"==typeof n}),a.createElement(n,v))}));return m.displayName=void 0!==n?n:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=s,m.__emotion_styles=f,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return"."+o}}),m.withComponent=function(t,n){return e(t,Ar({},r,n,{shouldForwardProp:hn(m,n,!0)})).apply(void 0,f)},m}};function gn(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function vn(e,t,r){var n=[],o=Lr(e,n,r);return n.length<2?r:o+t(n)}var yn=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},bn=function(e){var t=_r({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=Gr(r,t.registered,void 0);return Pr(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 vn(t.registered,r,yn(n))},injectGlobal:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=Gr(r,t.registered);gn(t,o)},keyframes:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=Gr(r,t.registered),a="animation-"+o.name;return gn(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:Lr.bind(null,t.registered),merge:vn.bind(null,t.registered,r)}}(),wn=(bn.flush,bn.hydrate,bn.cx),En=(bn.merge,bn.getRegisteredStyles,bn.injectGlobal,bn.keyframes,bn.css);bn.sheet,bn.cache;const Cn=window.wp.primitives;var xn=(0,St.jsx)(Cn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,St.jsx)(Cn.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})}),Sn=(0,St.jsx)(Cn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,St.jsx)(Cn.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"})}),An=(0,St.jsx)(Cn.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,St.jsx)(Cn.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"})}),Rn=(0,St.jsx)(Cn.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,St.jsx)(Cn.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 Ln=window.wp.deprecated,kn=window.wp.compose,Pn=window.wp.url,Tn=(window.wp.date,window.wp.keycodes);function On(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 Mn,Dn,Nn,In,jn,zn;"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"}(Mn||(Mn={})),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"}(Dn||(Dn={})),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"}(Nn||(Nn={})),function(e){e[e.HEAVY=600]="HEAVY",e[e.NORMAL=400]="NORMAL",e[e.LIGHT=300]="LIGHT"}(In||(In={})),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"}(jn||(jn={})),function(e){e.HUGE="huge",e.WIDE="wide",e.XLARGE="xlarge",e.LARGE="large",e.MEDIUM="medium",e.SMALL="small",e.MOBILE="mobile"}(zn||(zn={}));const Fn=mn("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===jn.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===jn.GALAXY&&"exclusion"),";"),Hn=(0,Et.createContext)(void 0),$n=(0,Et.forwardRef)((function(e,t){const{components:{surface:r}}=Xr(),{variant:n=jn.PRIMARY}=e,o=(0,Et.useMemo)((()=>({variant:n,textVariant:r.variant[n]})),[n,r.variant]);return an(Hn.Provider,{value:o,children:an(Fn,Object.assign({},e,{ref:t}))})})),Un=mn("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%;}"),Bn=mn(ln.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]),";"),Gn=(0,Et.forwardRef)(((e,t)=>{var{variant:r,size:n=Dn.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:g,truncateLines:v}=e,y=On(e,["variant","size","as","weight","text","decoration","textTransform","align","icon","iconSize","iconColor","iconPosition","indicator","className","children","truncateLines"]);const b=(0,Et.useContext)(Hn),w=r||(null==b?void 0:b.textVariant)||Mn.NORMAL,E=Un.withComponent(o,{target:"e19li2x12"}),C=u&&an(Bn,{variant:w,icon:u,iconColor:f,iconPosition:h,size:d,hasText:void 0!==i||void 0!==g}),x=!!v&&En("-webkit-box-orient:vertical;-webkit-line-clamp:",v,";display:-webkit-box;overflow:hidden;","");return sn(E,Object.assign({variant:w,size:n,weight:a,decoration:s,textTransform:l,align:c,as:o,icon:u,iconPosition:h,indicator:p,className:wn("it-ui-text",m,x,{"it-ui-text--has-icon":!!C}),ref:t},y,{children:["left"===h&&C,i,g,"right"===h&&C]}))})),Vn={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"}},Wn=mn("span",{target:"e18e7x8p4"})("display:flex;flex-shrink:0;width:fit-content;background-color:",(({variantName:e})=>Vn[e].background),";padding:",(({theme:{getSize:e}})=>`${e(.25)} ${e(.5)}`),";border:",(({variantName:e})=>Vn[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;}"),Yn=mn(Wn,{target:"e18e7x8p3"})("cursor:pointer;&:hover{background-color:",(({variantName:e})=>Vn[e].hover),";& svg{background-color:",(({variantName:e})=>Vn[e].background),";}}&:focus,&:focus-visible,&:active{box-shadow:0 0 0 1px ",(({theme:e})=>e.colors.primary.base),";outline:none;}"),Zn=mn(Wn,{target:"e18e7x8p2"})(""),Kn=mn(Yn.withComponent("a",{target:"e18e7x8p5"}),{target:"e18e7x8p1"})({name:"g65o95",styles:"text-decoration:none"}),qn=mn(Yn.withComponent("button",{target:"e18e7x8p6"}),{target:"e18e7x8p0"})(""),Xn={primary:"inactive",accent:"active",infoAccent:"info"},Jn=(e,t)=>e?(Ln('"iconColor" prop is deprecated. Icons render dark by default. To render a white icon, set "iconInverted" to "true".',{plugin:"Badge"}),e):t?"#ffffff":"#232323",Qn=(0,Et.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 Xn){const t=Xn[e];return Ln(`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=an((e=>"a"===e?Kn:"button"===e?qn:Zn)(u),Object.assign({ref:l,variantName:c},d,{children:an(Gn,{text:e,size:Dn.SMALL,variant:Mn.DARK,icon:t,iconSize:16,iconColor:Jn(r,n)})}));return o?an(ln.Tooltip,{text:o,position:"bottom left",children:f}):f})),eo=["textSize","isRounded","isWide","align","iconGap","surfaceVariant","_variant"];function to(e,t){return!!t.icon&&!!t.text&&(t.iconPosition||"left")===e}const ro=mn(ln.Button,{shouldForwardProp:e=>!eo.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===jn.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 to("right",On(e,["theme","iconGap"]))&&t(.25*(null!=r?r:2))}),";margin-right:",(e=>{var{theme:{getSize:t},iconGap:r}=e;return to("left",On(e,["theme","iconGap"]))&&t(.25*(null!=r?r:2))}),";}}"),no=(0,Et.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,Et.useContext)(Hn),{iconGap:i=2}=e;return an(ro,Object.assign({},e,{ref:t,iconGap:i,variant:o,_variant:n,surfaceVariant:null==a?void 0:a.variant}))})),oo=mn("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"),";"),ao=mn(ln.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 io(e){const{components:{heading:t}}=Xr(),r=(0,Et.useContext)(Hn),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 sn(oo.withComponent(s,{target:"e5g6tmc2"}),{weight:a,variant:n,size:o,hasIcon:!!e.icon,className:wn("it-ui-heading",e.className),textTransform:i,align:e.align||"left",children:[e.icon&&an(ao,{icon:e.icon,size:e.iconSize,variant:n,iconColor:e.iconColor}),e.text,e.children]})}(0,Et.createContext)({variant:"primary"});var so="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},lo=function(e){return e&&e.Math===Math&&e},co=lo("object"==typeof globalThis&&globalThis)||lo("object"==typeof window&&window)||lo("object"==typeof self&&self)||lo("object"==typeof so&&so)||lo("object"==typeof so&&so)||function(){return this}()||Function("return this")(),uo={},fo=function(e){try{return!!e()}catch(e){return!0}},ho=!fo((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),po=!fo((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),mo=po,go=Function.prototype.call,vo=mo?go.bind(go):function(){return go.apply(go,arguments)},yo={},bo={}.propertyIsEnumerable,wo=Object.getOwnPropertyDescriptor,Eo=wo&&!bo.call({1:2},1);yo.f=Eo?function(e){var t=wo(this,e);return!!t&&t.enumerable}:bo;var Co,xo,So=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},_o=po,Ao=Function.prototype,Ro=Ao.call,Lo=_o&&Ao.bind.bind(Ro,Ro),ko=_o?Lo:function(e){return function(){return Ro.apply(e,arguments)}},Po=ko,To=Po({}.toString),Oo=Po("".slice),Mo=function(e){return Oo(To(e),8,-1)},Do=fo,No=Mo,Io=Object,jo=ko("".split),zo=Do((function(){return!Io("z").propertyIsEnumerable(0)}))?function(e){return"String"===No(e)?jo(e,""):Io(e)}:Io,Fo=function(e){return null==e},Ho=Fo,$o=TypeError,Uo=function(e){if(Ho(e))throw new $o("Can't call method on "+e);return e},Bo=zo,Go=Uo,Vo=function(e){return Bo(Go(e))},Wo="object"==typeof document&&document.all,Yo=void 0===Wo&&void 0!==Wo?function(e){return"function"==typeof e||e===Wo}:function(e){return"function"==typeof e},Zo=Yo,Ko=function(e){return"object"==typeof e?null!==e:Zo(e)},qo=co,Xo=Yo,Jo=function(e,t){return arguments.length<2?(r=qo[e],Xo(r)?r:void 0):qo[e]&&qo[e][t];var r},Qo=ko({}.isPrototypeOf),ea=co,ta="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ra=ea.process,na=ea.Deno,oa=ra&&ra.versions||na&&na.version,aa=oa&&oa.v8;aa&&(xo=(Co=aa.split("."))[0]>0&&Co[0]<4?1:+(Co[0]+Co[1])),!xo&&ta&&(!(Co=ta.match(/Edge\/(\d+)/))||Co[1]>=74)&&(Co=ta.match(/Chrome\/(\d+)/))&&(xo=+Co[1]);var ia=xo,sa=fo,la=co.String,ca=!!Object.getOwnPropertySymbols&&!sa((function(){var e=Symbol("symbol detection");return!la(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ia&&ia<41})),ua=ca&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,da=Jo,fa=Yo,ha=Qo,pa=Object,ma=ua?function(e){return"symbol"==typeof e}:function(e){var t=da("Symbol");return fa(t)&&ha(t.prototype,pa(e))},ga=String,va=function(e){try{return ga(e)}catch(e){return"Object"}},ya=Yo,ba=va,wa=TypeError,Ea=function(e){if(ya(e))return e;throw new wa(ba(e)+" is not a function")},Ca=Ea,xa=Fo,Sa=function(e,t){var r=e[t];return xa(r)?void 0:Ca(r)},_a=vo,Aa=Yo,Ra=Ko,La=TypeError,ka={exports:{}},Pa=co,Ta=Object.defineProperty,Oa=function(e,t){try{Ta(Pa,e,{value:t,configurable:!0,writable:!0})}catch(r){Pa[e]=t}return t},Ma=co,Da=Oa,Na="__core-js_shared__",Ia=ka.exports=Ma[Na]||Da(Na,{});(Ia.versions||(Ia.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 ja=ka.exports,za=ja,Fa=function(e,t){return za[e]||(za[e]=t||{})},Ha=Uo,$a=Object,Ua=function(e){return $a(Ha(e))},Ba=Ua,Ga=ko({}.hasOwnProperty),Va=Object.hasOwn||function(e,t){return Ga(Ba(e),t)},Wa=ko,Ya=0,Za=Math.random(),Ka=Wa(1..toString),qa=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Ka(++Ya+Za,36)},Xa=Fa,Ja=Va,Qa=qa,ei=ca,ti=ua,ri=co.Symbol,ni=Xa("wks"),oi=ti?ri.for||ri:ri&&ri.withoutSetter||Qa,ai=function(e){return Ja(ni,e)||(ni[e]=ei&&Ja(ri,e)?ri[e]:oi("Symbol."+e)),ni[e]},ii=vo,si=Ko,li=ma,ci=Sa,ui=TypeError,di=ai("toPrimitive"),fi=function(e,t){if(!si(e)||li(e))return e;var r,n=ci(e,di);if(n){if(void 0===t&&(t="default"),r=ii(n,e,t),!si(r)||li(r))return r;throw new ui("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var r,n;if("string"===t&&Aa(r=e.toString)&&!Ra(n=_a(r,e)))return n;if(Aa(r=e.valueOf)&&!Ra(n=_a(r,e)))return n;if("string"!==t&&Aa(r=e.toString)&&!Ra(n=_a(r,e)))return n;throw new La("Can't convert object to primitive value")}(e,t)},hi=ma,pi=function(e){var t=fi(e,"string");return hi(t)?t:t+""},mi=Ko,gi=co.document,vi=mi(gi)&&mi(gi.createElement),yi=function(e){return vi?gi.createElement(e):{}},bi=yi,wi=!ho&&!fo((function(){return 7!==Object.defineProperty(bi("div"),"a",{get:function(){return 7}}).a})),Ei=ho,Ci=vo,xi=yo,Si=So,_i=Vo,Ai=pi,Ri=Va,Li=wi,ki=Object.getOwnPropertyDescriptor;uo.f=Ei?ki:function(e,t){if(e=_i(e),t=Ai(t),Li)try{return ki(e,t)}catch(e){}if(Ri(e,t))return Si(!Ci(xi.f,e,t),e[t])};var Pi={},Ti=ho&&fo((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Oi=Ko,Mi=String,Di=TypeError,Ni=function(e){if(Oi(e))return e;throw new Di(Mi(e)+" is not an object")},Ii=ho,ji=wi,zi=Ti,Fi=Ni,Hi=pi,$i=TypeError,Ui=Object.defineProperty,Bi=Object.getOwnPropertyDescriptor,Gi="enumerable",Vi="configurable",Wi="writable";Pi.f=Ii?zi?function(e,t,r){if(Fi(e),t=Hi(t),Fi(r),"function"==typeof e&&"prototype"===t&&"value"in r&&Wi in r&&!r[Wi]){var n=Bi(e,t);n&&n[Wi]&&(e[t]=r.value,r={configurable:Vi in r?r[Vi]:n[Vi],enumerable:Gi in r?r[Gi]:n[Gi],writable:!1})}return Ui(e,t,r)}:Ui:function(e,t,r){if(Fi(e),t=Hi(t),Fi(r),ji)try{return Ui(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new $i("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Yi=Pi,Zi=So,Ki=ho?function(e,t,r){return Yi.f(e,t,Zi(1,r))}:function(e,t,r){return e[t]=r,e},qi={exports:{}},Xi=ho,Ji=Va,Qi=Function.prototype,es=Xi&&Object.getOwnPropertyDescriptor,ts={CONFIGURABLE:Ji(Qi,"name")&&(!Xi||Xi&&es(Qi,"name").configurable)},rs=Yo,ns=ja,os=ko(Function.toString);rs(ns.inspectSource)||(ns.inspectSource=function(e){return os(e)});var as,is,ss,ls=ns.inspectSource,cs=Yo,us=co.WeakMap,ds=cs(us)&&/native code/.test(String(us)),fs=qa,hs=Fa("keys"),ps=function(e){return hs[e]||(hs[e]=fs(e))},ms={},gs=ds,vs=co,ys=Ko,bs=Ki,ws=Va,Es=ja,Cs=ps,xs=ms,Ss="Object already initialized",_s=vs.TypeError,As=vs.WeakMap;if(gs||Es.state){var Rs=Es.state||(Es.state=new As);Rs.get=Rs.get,Rs.has=Rs.has,Rs.set=Rs.set,as=function(e,t){if(Rs.has(e))throw new _s(Ss);return t.facade=e,Rs.set(e,t),t},is=function(e){return Rs.get(e)||{}},ss=function(e){return Rs.has(e)}}else{var Ls=Cs("state");xs[Ls]=!0,as=function(e,t){if(ws(e,Ls))throw new _s(Ss);return t.facade=e,bs(e,Ls,t),t},is=function(e){return ws(e,Ls)?e[Ls]:{}},ss=function(e){return ws(e,Ls)}}var ks={set:as,get:is,has:ss,enforce:function(e){return ss(e)?is(e):as(e,{})},getterFor:function(e){return function(t){var r;if(!ys(t)||(r=is(t)).type!==e)throw new _s("Incompatible receiver, "+e+" required");return r}}},Ps=ko,Ts=fo,Os=Yo,Ms=Va,Ds=ho,Ns=ts.CONFIGURABLE,Is=ls,js=ks.enforce,zs=ks.get,Fs=String,Hs=Object.defineProperty,$s=Ps("".slice),Us=Ps("".replace),Bs=Ps([].join),Gs=Ds&&!Ts((function(){return 8!==Hs((function(){}),"length",{value:8}).length})),Vs=String(String).split("String"),Ws=qi.exports=function(e,t,r){"Symbol("===$s(Fs(t),0,7)&&(t="["+Us(Fs(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Ms(e,"name")||Ns&&e.name!==t)&&(Ds?Hs(e,"name",{value:t,configurable:!0}):e.name=t),Gs&&r&&Ms(r,"arity")&&e.length!==r.arity&&Hs(e,"length",{value:r.arity});try{r&&Ms(r,"constructor")&&r.constructor?Ds&&Hs(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=js(e);return Ms(n,"source")||(n.source=Bs(Vs,"string"==typeof t?t:"")),e};Function.prototype.toString=Ws((function(){return Os(this)&&zs(this).source||Is(this)}),"toString");var Ys,Zs=qi.exports,Ks=Yo,qs=Pi,Xs=Zs,Js=Oa,Qs=function(e,t,r,n){n||(n={});var o=n.enumerable,a=void 0!==n.name?n.name:t;if(Ks(r)&&Xs(r,a,n),n.global)o?e[t]=r:Js(t,r);else{try{n.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=r:qs.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},el={},tl=Math.ceil,rl=Math.floor,nl=Math.trunc||function(e){var t=+e;return(t>0?rl:tl)(t)},ol=function(e){var t=+e;return t!=t||0===t?0:nl(t)},al=ol,il=Math.max,sl=Math.min,ll=ol,cl=Math.min,ul=function(e){return t=e.length,(r=ll(t))>0?cl(r,9007199254740991):0;var t,r},dl=Vo,fl=ul,hl={indexOf:(Ys=!1,function(e,t,r){var n=dl(e),o=fl(n);if(0===o)return-1;var a=function(e,t){var r=al(e);return r<0?il(r+t,0):sl(r,t)}(r,o);for(Ys;o>a;a++)if(a in n&&n[a]===t)return a||0;return-1})},pl=Va,ml=Vo,gl=hl.indexOf,vl=ms,yl=ko([].push),bl=function(e,t){var r,n=ml(e),o=0,a=[];for(r in n)!pl(vl,r)&&pl(n,r)&&yl(a,r);for(;t.length>o;)pl(n,r=t[o++])&&(~gl(a,r)||yl(a,r));return a},wl=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],El=bl,Cl=wl.concat("length","prototype");el.f=Object.getOwnPropertyNames||function(e){return El(e,Cl)};var xl={};xl.f=Object.getOwnPropertySymbols;var Sl=Jo,_l=el,Al=xl,Rl=Ni,Ll=ko([].concat),kl=Sl("Reflect","ownKeys")||function(e){var t=_l.f(Rl(e)),r=Al.f;return r?Ll(t,r(e)):t},Pl=Va,Tl=kl,Ol=uo,Ml=Pi,Dl=fo,Nl=Yo,Il=/#|\.prototype\./,jl=function(e,t){var r=Fl[zl(e)];return r===$l||r!==Hl&&(Nl(t)?Dl(t):!!t)},zl=jl.normalize=function(e){return String(e).replace(Il,".").toLowerCase()},Fl=jl.data={},Hl=jl.NATIVE="N",$l=jl.POLYFILL="P",Ul=jl,Bl=co,Gl=uo.f,Vl=Ki,Wl=Qs,Yl=Oa,Zl=function(e,t,r){for(var n=Tl(t),o=Ml.f,a=Ol.f,i=0;i<n.length;i++){var s=n[i];Pl(e,s)||r&&Pl(r,s)||o(e,s,a(t,s))}},Kl=Ul,ql=function(e,t){var r,n,o,a,i,s=e.target,l=e.global,c=e.stat;if(r=l?Bl:c?Bl[s]||Yl(s,{}):Bl[s]&&Bl[s].prototype)for(n in t){if(a=t[n],o=e.dontCallGetSet?(i=Gl(r,n))&&i.value:r[n],!Kl(l?n:s+(c?".":"#")+n,e.forced)&&void 0!==o){if(typeof a==typeof o)continue;Zl(a,o)}(e.sham||o&&o.sham)&&Vl(a,"sham",!0),Wl(r,n,a,e)}},Xl=function(e){return{iterator:e,next:e.next,done:!1}},Jl={},Ql=bl,ec=wl,tc=Object.keys||function(e){return Ql(e,ec)},rc=ho,nc=Ti,oc=Pi,ac=Ni,ic=Vo,sc=tc;Jl.f=rc&&!nc?Object.defineProperties:function(e,t){ac(e);for(var r,n=ic(t),o=sc(t),a=o.length,i=0;a>i;)oc.f(e,r=o[i++],n[r]);return e};var lc,cc=Jo("document","documentElement"),uc=Ni,dc=Jl,fc=wl,hc=ms,pc=cc,mc=yi,gc="prototype",vc="script",yc=ps("IE_PROTO"),bc=function(){},wc=function(e){return"<"+vc+">"+e+"</"+vc+">"},Ec=function(e){e.write(wc("")),e.close();var t=e.parentWindow.Object;return e=null,t},Cc=function(){try{lc=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;Cc="undefined"!=typeof document?document.domain&&lc?Ec(lc):(t=mc("iframe"),r="java"+vc+":",t.style.display="none",pc.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(wc("document.F=Object")),e.close(),e.F):Ec(lc);for(var n=fc.length;n--;)delete Cc[gc][fc[n]];return Cc()};hc[yc]=!0;var xc,Sc,_c,Ac=Object.create||function(e,t){var r;return null!==e?(bc[gc]=uc(e),r=new bc,bc[gc]=null,r[yc]=e):r=Cc(),void 0===t?r:dc.f(r,t)},Rc=Qs,Lc=!fo((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),kc=Va,Pc=Yo,Tc=Ua,Oc=Lc,Mc=ps("IE_PROTO"),Dc=Object,Nc=Dc.prototype,Ic=Oc?Dc.getPrototypeOf:function(e){var t=Tc(e);if(kc(t,Mc))return t[Mc];var r=t.constructor;return Pc(r)&&t instanceof r?r.prototype:t instanceof Dc?Nc:null},jc=fo,zc=Yo,Fc=Ko,Hc=Ic,$c=Qs,Uc=ai("iterator");[].keys&&"next"in(_c=[].keys())&&(Sc=Hc(Hc(_c)))!==Object.prototype&&(xc=Sc);var Bc=!Fc(xc)||jc((function(){var e={};return xc[Uc].call(e)!==e}));Bc&&(xc={}),zc(xc[Uc])||$c(xc,Uc,(function(){return this}));var Gc={IteratorPrototype:xc},Vc=vo,Wc=Ni,Yc=Sa,Zc=function(e,t,r){var n,o;Wc(e);try{if(!(n=Yc(e,"return"))){if("throw"===t)throw r;return r}n=Vc(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return Wc(n),r},Kc=vo,qc=Ac,Xc=Ki,Jc=ks,Qc=Sa,eu=Gc.IteratorPrototype,tu=function(e,t){return{value:e,done:t}},ru=Zc,nu=ai("toStringTag"),ou="IteratorHelper",au="WrapForValidIterator",iu=Jc.set,su=function(e){var t=Jc.getterFor(e?au:ou);return function(e,t,r){for(var n in t)Rc(e,n,t[n],r);return e}(qc(eu),{next:function(){var r=t(this);if(e)return r.nextHandler();try{var n=r.done?void 0:r.nextHandler();return tu(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=Qc(n,"return");return o?Kc(o,n):tu(void 0,!0)}if(r.inner)try{ru(r.inner.iterator,"normal")}catch(e){return ru(n,"throw",e)}return ru(n,"normal"),tu(void 0,!0)}})},lu=su(!0),cu=su(!1);Xc(cu,nu,"Iterator Helper");var uu=function(e,t){var r=function(r,n){n?(n.iterator=r.iterator,n.next=r.next):n=r,n.type=t?au:ou,n.nextHandler=e,n.counter=0,n.done=!1,iu(this,n)};return r.prototype=t?lu:cu,r},du=Ni,fu=Zc,hu=function(e,t,r,n){try{return n?t(du(r)[0],r[1]):t(r)}catch(t){fu(e,"throw",t)}},pu=vo,mu=Ea,gu=Ni,vu=Xl,yu=hu,bu=uu((function(){var e=this.iterator,t=gu(pu(this.next,e));if(!(this.done=!!t.done))return yu(e,this.mapper,[t.value,this.counter++],!0)}));ql({target:"Iterator",proto:!0,real:!0,forced:!1},{map:function(e){return gu(this),mu(e),new bu(vu(this),{mapper:e})}}),In.HEAVY,(0,Et.createContext)({});var wu=Qo,Eu=TypeError,Cu=Zs,xu=Pi,Su=ho,_u=Pi,Au=So,Ru=ql,Lu=co,ku=Ni,Pu=Yo,Tu=Ic,Ou=fo,Mu=Va,Du=Gc.IteratorPrototype,Nu=ho,Iu="constructor",ju="Iterator",zu=ai("toStringTag"),Fu=TypeError,Hu=Lu[ju],$u=!Pu(Hu)||Hu.prototype!==Du||!Ou((function(){Hu({})})),Uu=function(){if(function(e,t){if(wu(t,e))return e;throw new Eu("Incorrect invocation")}(this,Du),Tu(this)===Du)throw new Fu("Abstract class Iterator not directly constructable")},Bu=function(e,t){var r,n,o;Nu?(r=Du,n=e,o={configurable:!0,get:function(){return t},set:function(t){if(ku(this),this===Du)throw new Fu("You can't redefine this property");Mu(this,e)?this[e]=t:function(e,t,r){Su?_u.f(e,t,Au(0,r)):e[t]=r}(this,e,t)}},o.get&&Cu(o.get,n,{getter:!0}),o.set&&Cu(o.set,n,{setter:!0}),xu.f(r,n,o)):Du[e]=t};Mu(Du,zu)||Bu(zu,ju),!$u&&Mu(Du,Iu)&&Du[Iu]!==Object||Bu(Iu,Uu),Uu.prototype=Du,Ru({global:!0,constructor:!0,forced:$u},{Iterator:Uu});var Gu=ql,Vu=vo,Wu=Ea,Yu=Ni,Zu=Xl,Ku=hu,qu=uu((function(){for(var e,t,r=this.iterator,n=this.predicate,o=this.next;;){if(e=Yu(Vu(o,r)),this.done=!!e.done)return;if(t=e.value,Ku(r,n,[t,this.counter++],!0))return t}}));Gu({target:"Iterator",proto:!0,real:!0,forced:!1},{filter:function(e){return Yu(this),Wu(e),new qu(Zu(this),{predicate:e})}}),(0,Et.createContext)({filters:{},openPanels:[],dispatch:()=>null,expandSingle:!1});var Xu=Mo,Ju=ko,Qu=function(e){if("Function"===Xu(e))return Ju(e)},ed=Ea,td=po,rd=Qu(Qu.bind),nd={},od=nd,ad=ai("iterator"),id=Array.prototype,sd={};sd[ai("toStringTag")]="z";var ld="[object z]"===String(sd),cd=Yo,ud=Mo,dd=ai("toStringTag"),fd=Object,hd="Arguments"===ud(function(){return arguments}()),pd=ld?ud: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=fd(e),dd))?r:hd?ud(t):"Object"===(n=ud(t))&&cd(t.callee)?"Arguments":n},md=Sa,gd=Fo,vd=nd,yd=ai("iterator"),bd=function(e){if(!gd(e))return md(e,yd)||md(e,"@@iterator")||vd[pd(e)]},wd=vo,Ed=Ea,Cd=Ni,xd=va,Sd=bd,_d=TypeError,Ad=vo,Rd=Ni,Ld=va,kd=ul,Pd=Qo,Td=bd,Od=Zc,Md=TypeError,Dd=function(e,t){this.stopped=e,this.result=t},Nd=Dd.prototype,Id=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),g=function(e,t){return ed(e),void 0===t?e:td?rd(e,t):function(){return e.apply(t,arguments)}}(t,d),v=function(e){return n&&Od(n,"normal",e),new Dd(!0,e)},y=function(e){return f?(Rd(e),m?g(e[0],e[1],v):g(e[0],e[1])):m?g(e,v):g(e)};if(h)n=e.iterator;else if(p)n=e;else{if(!(o=Td(e)))throw new Md(Ld(e)+" is not iterable");if(void 0!==(u=o)&&(od.Array===u||id[ad]===u)){for(a=0,i=kd(e);i>a;a++)if((s=y(e[a]))&&Pd(Nd,s))return s;return new Dd(!1)}n=function(e,t){var r=arguments.length<2?Sd(e):t;if(Ed(r))return Cd(wd(r,e));throw new _d(xd(e)+" is not iterable")}(e,o)}for(l=h?e.next:n.next;!(c=Ad(l,n)).done;){try{s=y(c.value)}catch(e){Od(n,"throw",e)}if("object"==typeof s&&s&&Pd(Nd,s))return s}return new Dd(!1)},jd=Id,zd=Ea,Fd=Ni,Hd=Xl;ql({target:"Iterator",proto:!0,real:!0},{find:function(e){Fd(this),zd(e);var t=Hd(this),r=0;return jd(t,(function(t,n){if(e(t,r++))return n(t)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}}),(0,xt.__)("24 hours","LION"),(0,xt.__)("7 days","LION"),(0,xt.__)("30 days","LION"),(0,xt.__)("Custom range","LION");const $d=mn("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 Ud({children:e,className:t,omitSeparators:r=!1,surfaceVariant:n=jn.PRIMARY,size:o="medium"}){return an($d,{className:wn("it-ui-input-group",t),surfaceVariant:n,omitSeparators:r,size:o,children:e})}const Bd=["type","isDismissible","isElevated"],Gd=mn($n,{shouldForwardProp:e=>!Bd.includes(e),target:"e91wazu3"})("display:grid;align-items:center;gap:",(({theme:{getSize:e}})=>e(.75)),";padding:",(({theme:{getSize:e}})=>e(.75)),";padding-right:",(({theme:{getSize:e},isDismissible:t})=>!t&&e(1)),";border-left:4px solid ",(({theme:e,type:t})=>e.colors.border[t]),";border-radius:2px;box-shadow:",(({isElevated:e})=>e&&"0px 2px 4px rgba(0, 0, 0, 0.1)"),";"),Vd=mn("span",{target:"e91wazu2"})("grid-area:1/1;display:flex;flex-direction:column;align-items:flex-start;gap:",(({theme:{getSize:e}})=>e(.5)),";"),Wd=mn(no,{target:"e91wazu1"})({name:"1ff74wu",styles:"&.components-button{grid-area:1/2;align-self:flex-start;width:auto;height:auto;min-width:0;padding:0;}"}),Yd=mn("div",{target:"e91wazu0"})("grid-area:2/span 2;display:flex;gap:",(({theme:{getSize:e}})=>e(.5)),";"),Zd={info:jn.INFO,success:jn.SUCCESS,warning:jn.WARNING_LIGHT,warningStrict:jn.WARNING_STRICT,danger:jn.DANGER_LIGHT};function Kd({text:e,heading:t,badge:r,type:n="info",isElevated:o=!1,onDismiss:a,className:i,children:s}){const l=(0,Et.useContext)(Hn),c=(null==l?void 0:l.variant)===jn.PRIMARY?Zd[n]:jn.PRIMARY,u=(0,Et.useMemo)((()=>({variant:c,textVariant:Mn.DARK})),[c]);return an(Gd,{variant:c,type:n,isDismissible:!!a,isElevated:o,className:wn("it-ui-notice",i),children:sn(Hn.Provider,{value:u,children:[sn(Vd,{children:["string"==typeof r&&r&&an(Qn,{text:r,variant:"accent"}),(0,Et.isValidElement)(r)&&r,"string"==typeof t&&t&&an(io,{level:3,text:t}),(0,Et.isValidElement)(t)&&t,"string"==typeof e&&an(Gn,{text:e}),(0,Et.isValidElement)(e)&&e]}),a&&an(Wd,{onClick:a,icon:xn,variant:"tertiary",label:(0,xt.__)("Dismiss","LION")}),s&&an(Yd,{children:s})]})})}Mn.WHITE,Mn.WHITE,Mn.DARK,Mn.MUTED;const qd=(0,Et.forwardRef)((function({theme:e,children:t},r){const[n,o]=(0,Et.useState)(1),a=(0,kn.useMergeRefs)([(0,kn.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,Et.useMemo)((()=>Object.assign(Object.assign({},e),{getSize:e=>e*n+"rem"})),[e,n]);return an("div",{ref:a,children:an(Qr,{theme:i,children:t})})}));var Xd;!function(e){e[e.INITIAL=0]="INITIAL",e[e.SEARCHING=1]="SEARCHING",e[e.CLEARABLE=2]="CLEARABLE",e[e.SUBMITTABLE=3]="SUBMITTABLE"}(Xd||(Xd={}));const Jd=mn(Ud,{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;}"),Qd=mn(ln.TextControl,{target:"e6tk790"})({name:"1e1ncky",styles:"border:none"}),ef=(0,Et.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=On(e,["isSearching","className","value","onChange","onCancel","onSubmit","surfaceVariant","omitSeparators","size"]),f=(0,Et.useRef)(null),h=(0,kn.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?Xd.SUBMITTABLE:!o||e&&!r?e?Xd.SEARCHING:Xd.INITIAL:Xd.CLEARABLE})(e);return sn(Jd,{className:wn("it-ui-search-control",n),surfaceVariant:l,omitSeparators:c,size:u,children:[an(Qd,Object.assign({value:o,onChange:a,onKeyUp:({keyCode:e})=>e===Tn.ESCAPE&&p(),hideLabelFromVision:!0},d,{ref:h})),m===Xd.INITIAL&&an(Gn,{icon:Sn}),m===Xd.SEARCHING&&an(Gn,{children:an(ln.Spinner,{})}),m===Xd.CLEARABLE&&an(no,{icon:An,variant:"tertiary",onClick:p,label:(0,xt.__)("Cancel Search","LION")}),m===Xd.SUBMITTABLE&&an(no,{icon:Rn,variant:"tertiary",onClick:()=>{var e;null===(e=f.current)||void 0===e||e.focus(),null==s||s()},label:(0,xt.__)("Submit Search","LION")})]})}));var tf,rf,nf=Id,of=Ea,af=Ni,sf=Xl;ql({target:"Iterator",proto:!0,real:!0},{forEach:function(e){af(this),of(e);var t=sf(this),r=0;nf(t,(function(t){e(t,r++)}),{IS_RECORD:!0})}}),null===(rf=null===(tf=window.wp)||void 0===tf?void 0:tf.components)||void 0===rf||rf.StyleProvider;const lf={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:Dn.HUGE,2:Dn.EXTRA_LARGE,3:Dn.LARGE,4:Dn.LARGE,5:Dn.NORMAL,6:Dn.NORMAL},heights:{1:Nn.HUGE,2:Nn.EXTRA_LARGE,3:Nn.LARGE,4:Nn.LARGE,5:Nn.NORMAL,6:Nn.NORMAL},variants:{1:Mn.DARK,2:Mn.NORMAL,3:Mn.NORMAL,4:Mn.NORMAL,5:Mn.NORMAL,6:Mn.NORMAL},weights:{1:In.HEAVY,2:In.NORMAL,3:In.HEAVY,4:In.HEAVY,5:In.HEAVY,6:In.HEAVY}},surface:{variant:{[jn.PRIMARY]:Mn.NORMAL,[jn.PRIMARY_CONTRAST]:Mn.DARK,[jn.SECONDARY]:Mn.NORMAL,[jn.TERTIARY]:Mn.NORMAL,[jn.QUATERNARY]:Mn.NORMAL,[jn.UNDER_PAGE]:Mn.NORMAL,[jn.UNDER_PAGE_CONTRAST]:Mn.DARK,[jn.PRIMARY_ACCENT]:Mn.WHITE,[jn.INFO_ACCENT]:Mn.ACCENT,[jn.INFO_BRIGHT]:Mn.DARK,[jn.DANGER]:Mn.DARK,[jn.DANGER_LIGHT]:Mn.DARK,[jn.WARNING]:Mn.DARK,[jn.WARNING_LIGHT]:Mn.DARK,[jn.WARNING_STRICT]:Mn.DARK,[jn.INFO]:Mn.DARK,[jn.SUCCESS]:Mn.DARK,[jn.DARK]:Mn.WHITE,[jn.GALAXY]:Mn.WHITE},contrast:{[jn.PRIMARY]:jn.PRIMARY_CONTRAST,[jn.UNDER_PAGE]:jn.UNDER_PAGE_CONTRAST}}},getSize:e=>`${e}rem`},cf=window.wp.apiFetch;var uf=r.n(cf);const df="/solidwp-mail/v1/logs",ff=(e,t)=>({type:"QUERY_LOGS",page:e,search:t}),hf=e=>({type:"DELETE_LOGS",logIDs:e}),pf=()=>({type:"CLEAR_ALL_LOGS"}),mf={QUERY_LOGS({page:e,search:t}){const r={page:e,search_term:t};return uf()({path:(0,Pn.addQueryArgs)(`${df}`,r),method:"GET",parse:!1}).then((e=>{const t=e.headers.get("X-WP-TotalPages"),r=e.headers.get("X-WP-Total");return e.json().then((e=>({logs:e.logs,totalPages:parseInt(t,10),totalLogs:parseInt(r,10)})))})).catch((e=>{throw new Error(e.message())}))},DELETE_LOGS:({logIDs:e})=>uf()({path:`${df}/delete`,method:"DELETE",headers:{"Content-Type":"application/json"},body:JSON.stringify({logIds:e})}).catch((e=>{throw new Error(e.message())})),CLEAR_ALL_LOGS:()=>uf()({path:`${df}`,method:"DELETE"}).catch((e=>{throw new Error(e.message())}))},gf=mf;function*vf(e,t){const r=yield ff(e,t);return t?yield{type:Rf}:yield{type:Lf},yf(r)}function yf(e){return{type:xf,data:e}}function*bf(e,t){const r=yield ff(e,t);return yield yf(r),{type:Af,page:e}}function*wf(e,t){return yield hf(e),yf(yield ff(t,""))}function*Ef(e){return yield pf(),yf(yield ff(e,""))}function Cf(e){return{type:_f,log:e}}const xf="SET_LOGS",Sf="DELETE_LOGS",_f="SET_SELECTED_LOG",Af="SET_CURRENT_PAGE",Rf="IS_SEARCHING",Lf="STOP_SEARCHING",kf={logs:SolidWPMail.first_page_logs,totalPages:SolidWPMail.total_pages,currentPage:1,selectedLog:SolidWPMail.first_page_logs.length>0?SolidWPMail.first_page_logs[0]:null,isSearching:!1},Pf="solidwp_mail/logs";var Tf=Symbol.for("immer-nothing"),Of=Symbol.for("immer-draftable"),Mf=Symbol.for("immer-state");function Df(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Nf=Object.getPrototypeOf;function If(e){return!!e&&!!e[Mf]}function jf(e){return!!e&&(Ff(e)||Array.isArray(e)||!!e[Of]||!!e.constructor?.[Of]||Gf(e)||Vf(e))}var zf=Object.prototype.constructor.toString();function Ff(e){if(!e||"object"!=typeof e)return!1;const t=Nf(e);if(null===t)return!0;const r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===zf}function Hf(e,t){0===$f(e)?Reflect.ownKeys(e).forEach((r=>{t(r,e[r],e)})):e.forEach(((r,n)=>t(n,r,e)))}function $f(e){const t=e[Mf];return t?t.type_:Array.isArray(e)?1:Gf(e)?2:Vf(e)?3:0}function Uf(e,t){return 2===$f(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Bf(e,t,r){const n=$f(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function Gf(e){return e instanceof Map}function Vf(e){return e instanceof Set}function Wf(e){return e.copy_||e.base_}function Yf(e,t){if(Gf(e))return new Map(e);if(Vf(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const r=Ff(e);if(!0===t||"class_only"===t&&!r){const t=Object.getOwnPropertyDescriptors(e);delete t[Mf];let r=Reflect.ownKeys(t);for(let n=0;n<r.length;n++){const o=r[n],a=t[o];!1===a.writable&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[o]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[o]})}return Object.create(Nf(e),t)}{const t=Nf(e);if(null!==t&&r)return{...e};const n=Object.create(t);return Object.assign(n,e)}}function Zf(e,t=!1){return qf(e)||If(e)||!jf(e)||($f(e)>1&&(e.set=e.add=e.clear=e.delete=Kf),Object.freeze(e),t&&Object.entries(e).forEach((([e,t])=>Zf(t,!0)))),e}function Kf(){Df(2)}function qf(e){return Object.isFrozen(e)}var Xf,Jf={};function Qf(e){const t=Jf[e];return t||Df(0),t}function eh(){return Xf}function th(e,t){t&&(Qf("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function rh(e){nh(e),e.drafts_.forEach(ah),e.drafts_=null}function nh(e){e===Xf&&(Xf=e.parent_)}function oh(e){return Xf={drafts_:[],parent_:Xf,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function ah(e){const t=e[Mf];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function ih(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return void 0!==e&&e!==r?(r[Mf].modified_&&(rh(t),Df(4)),jf(e)&&(e=sh(t,e),t.parent_||ch(t,e)),t.patches_&&Qf("Patches").generateReplacementPatches_(r[Mf].base_,e,t.patches_,t.inversePatches_)):e=sh(t,r,[]),rh(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Tf?e:void 0}function sh(e,t,r){if(qf(t))return t;const n=t[Mf];if(!n)return Hf(t,((o,a)=>lh(e,n,t,o,a,r))),t;if(n.scope_!==e)return t;if(!n.modified_)return ch(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const t=n.copy_;let o=t,a=!1;3===n.type_&&(o=new Set(t),t.clear(),a=!0),Hf(o,((o,i)=>lh(e,n,t,o,i,r,a))),ch(e,t,!1),r&&e.patches_&&Qf("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function lh(e,t,r,n,o,a,i){if(If(o)){const i=sh(e,o,a&&t&&3!==t.type_&&!Uf(t.assigned_,n)?a.concat(n):void 0);if(Bf(r,n,i),!If(i))return;e.canAutoFreeze_=!1}else i&&r.add(o);if(jf(o)&&!qf(o)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;sh(e,o),t&&t.scope_.parent_||"symbol"==typeof n||!Object.prototype.propertyIsEnumerable.call(r,n)||ch(e,o)}}function ch(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Zf(t,r)}var uh={get(e,t){if(t===Mf)return e;const r=Wf(e);if(!Uf(r,t))return function(e,t,r){const n=hh(t,r);return n?"value"in n?n.value:n.get?.call(e.draft_):void 0}(e,r,t);const n=r[t];return e.finalized_||!jf(n)?n:n===fh(e.base_,t)?(mh(e),e.copy_[t]=gh(n,e)):n},has:(e,t)=>t in Wf(e),ownKeys:e=>Reflect.ownKeys(Wf(e)),set(e,t,r){const n=hh(Wf(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const n=fh(Wf(e),t),i=n?.[Mf];if(i&&i.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(((o=r)===(a=n)?0!==o||1/o==1/a:o!=o&&a!=a)&&(void 0!==r||Uf(e.base_,t)))return!0;mh(e),ph(e)}var o,a;return e.copy_[t]===r&&(void 0!==r||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty:(e,t)=>(void 0!==fh(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,mh(e),ph(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){const r=Wf(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty(){Df(11)},getPrototypeOf:e=>Nf(e.base_),setPrototypeOf(){Df(12)}},dh={};function fh(e,t){const r=e[Mf];return(r?Wf(r):e)[t]}function hh(e,t){if(!(t in e))return;let r=Nf(e);for(;r;){const e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=Nf(r)}}function ph(e){e.modified_||(e.modified_=!0,e.parent_&&ph(e.parent_))}function mh(e){e.copy_||(e.copy_=Yf(e.base_,e.scope_.immer_.useStrictShallowCopy_))}function gh(e,t){const r=Gf(e)?Qf("MapSet").proxyMap_(e,t):Vf(e)?Qf("MapSet").proxySet_(e,t):function(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:eh(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=n,a=uh;r&&(o=[n],a=dh);const{revoke:i,proxy:s}=Proxy.revocable(o,a);return n.draft_=s,n.revoke_=i,s}(e,t);return(t?t.scope_:eh()).drafts_.push(r),r}function vh(e){if(!jf(e)||qf(e))return e;const t=e[Mf];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=Yf(e,t.scope_.immer_.useStrictShallowCopy_)}else r=Yf(e,!0);return Hf(r,((e,t)=>{Bf(r,e,vh(t))})),t&&(t.finalized_=!1),r}Hf(uh,((e,t)=>{dh[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),dh.deleteProperty=function(e,t){return dh.set.call(this,e,t,void 0)},dh.set=function(e,t,r){return uh.set.call(this,e[0],t,r,e[0])};var yh=new class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(e,t,r)=>{if("function"==typeof e&&"function"!=typeof t){const r=t;t=e;const n=this;return function(e=r,...o){return n.produce(e,(e=>t.call(this,e,...o)))}}let n;if("function"!=typeof t&&Df(6),void 0!==r&&"function"!=typeof r&&Df(7),jf(e)){const o=oh(this),a=gh(e,void 0);let i=!0;try{n=t(a),i=!1}finally{i?rh(o):nh(o)}return th(o,r),ih(n,o)}if(!e||"object"!=typeof e){if(n=t(e),void 0===n&&(n=e),n===Tf&&(n=void 0),this.autoFreeze_&&Zf(n,!0),r){const t=[],o=[];Qf("Patches").generateReplacementPatches_(e,n,t,o),r(t,o)}return n}Df(1)},this.produceWithPatches=(e,t)=>{if("function"==typeof e)return(t,...r)=>this.produceWithPatches(t,(t=>e(t,...r)));let r,n;return[this.produce(e,t,((e,t)=>{r=e,n=t})),r,n]},"boolean"==typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){var t;jf(e)||Df(8),If(e)&&(If(t=e)||Df(10),e=vh(t));const r=oh(this),n=gh(e,void 0);return n[Mf].isManual_=!0,nh(r),n}finishDraft(e,t){const r=e&&e[Mf];r&&r.isManual_||Df(9);const{scope_:n}=r;return th(n,t),ih(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));const n=Qf("Patches").applyPatches_;return If(e)?n(e,t):this.produce(e,(e=>n(e,t)))}},bh=yh.produce;yh.produceWithPatches.bind(yh),yh.setAutoFreeze.bind(yh),yh.setUseStrictShallowCopy.bind(yh),yh.applyPatches.bind(yh),yh.createDraft.bind(yh),yh.finishDraft.bind(yh);const wh=(0,Ct.createReduxStore)(Pf,{actions:e,selectors:{getLogs:e=>e.logs,getTotalPages:e=>e.totalPages,getSelectedLog:e=>e.selectedLog,getCurrentPage:e=>e.currentPage,isSearching:e=>e.isSearching},resolvers:{},controls:gf,reducer:function(e=kf,t){switch(t.type){case xf:return bh(e,(e=>{e.logs=t.data.logs,e.totalPages=t.data.totalPages,t.data.totalLogs>0&&(e.selectedLog=t.data.logs[0])}));case Rf:return bh(e,(e=>{e.isSearching=!0}));case Lf:return bh(e,(e=>{e.isSearching=!1}));case Sf:return e;case _f:return bh(e,(e=>{e.selectedLog=t.log}));case Af:return bh(e,(e=>{e.currentPage=t.page}));default:return e}}});(0,Ct.register)(wh);const Eh=window.wp.hooks,Ch=((0,Et.memo)((()=>(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},(0,a.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,Et.memo)((()=>(0,a.createElement)("svg",{width:"40",viewBox:"0 0 1000 295",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.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,Et.memo)((()=>(0,a.createElement)("svg",{height:"25",viewBox:"0 0 896 160",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.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,a.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,a.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,a.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,a.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,a.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,a.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,a.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,a.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,a.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,a.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,a.createElement)("path",{d:"M842.289 124.001V58.665H855.307V124.001H842.289ZM842.044 49.2085V36.1904H855.553V49.2085H842.044Z",fill:"#1E1004"}),(0,a.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,Et.memo)((()=>(0,a.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,a.createElement)("style",{type:"text/css"},".st0{fill:#C12126;}"),(0,a.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,Et.memo)((()=>(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",fill:"none",viewBox:"0 0 24 24"},(0,a.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,a.createElement)("path",{d:"M5 7L12 13L19 7",stroke:"#1E1E1E",strokeWidth:"1.5"})))),(0,Et.memo)((()=>(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",id:"Sendgrid",viewBox:"0 0 32 32"},(0,a.createElement)("defs",null,(0,a.createElement)("style",null,".cls-1 {\n          fill: #51a9e3;\n        }")),(0,a.createElement)("g",{id:"Icon_Updated_Keylines","data-name":"Icon, Updated Keylines"},(0,a.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,a.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,Et.memo)((()=>(0,a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"40",viewBox:"0 0 64 64"},(0,a.createElement)("defs",null,(0,a.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,a.createElement)("rect",{id:"B",width:"96",height:"96",x:"16",y:"16",rx:"2"})),(0,a.createElement)("g",{transform:"matrix(.492308 0 0 .492308 .492308 .492308)",fill:"none",fillRule:"evenodd"},(0,a.createElement)("use",{xlinkHref:"#A",fill:"#f5f5f5"}),(0,a.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,a.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,a.createElement)("use",{xlinkHref:"#B",fill:"#fedd00"}),(0,a.createElement)("rect",{width:"95",height:"95",x:"16.5",y:"16.5",rx:"2",stroke:"#d9b500"}),(0,a.createElement)("rect",{width:"97",height:"97",x:"15.5",y:"15.5",rx:"2",stroke:"#fff"}),(0,a.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 xh=mn.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){xh[e]=xh(e)}));const Sh=xh.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;
	}
`,_h=()=>(0,Eh.applyFilters)("kadenceMail.showLogo",!0)?(0,a.createElement)(Sh,null,(0,a.createElement)(Ch,null)):null,Ah=xh.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;
	}
`,Rh=xh.nav`
	border-bottom: solid 1px ${({theme:e})=>e.colors.border.normal};
	display: flex;
	margin-top: ${({theme:e})=>e.spacing.section};
`,Lh=xh(yt)`
	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};
	}
`,kh=({children:e,headerText:t="",withNav:r=!0})=>(0,a.createElement)(a.Fragment,null,(0,a.createElement)(_h,null),(0,a.createElement)(Ah,null,(0,a.createElement)(io,{level:2},t),r&&(0,a.createElement)(Rh,null,(0,a.createElement)(Lh,{to:"/providers"},(0,a.createElement)(Gn,{size:Dn.LARGE,weight:600,align:"center"},(0,xt.__)("Connections","wp-smtp"))),(0,a.createElement)(Lh,{to:"/email-test"},(0,a.createElement)(Gn,{size:Dn.LARGE,weight:600,align:"center"},(0,xt.__)("Email Test","wp-smtp")))),e)),Ph={...lf,spacing:{section:"1.25rem",box:"2rem",root:"1.25rem 1.25rem 4rem 1.5rem",empty_connections:"80px 0"},colors:{...lf.colors,solidwp_mail:{primary:"#1145C9",border:"#ccc",error:"#f44336"}}},Th=xh(ln.Modal)`
	.components-modal__header {
		border-color: ${({theme:e})=>e.colors.border.normal};
	}
`,Oh=xh.div`
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: ${({theme:{getSize:e}})=>e(1.5)};
	padding-top: ${({theme:{getSize:e}})=>e(1.5)};
`,Mh=xh.div`
	display: flex;
	gap: ${({theme:{getSize:e}})=>e(.5)};
`,Dh=function({title:e,body:t,onContinue:r,onCancel:n,continueText:o,cancelText:i=(0,xt.__)("Cancel","wp-smtp"),isBusy:s}){return(0,a.createElement)(Th,{title:e,onRequestClose:n,focusOnMount:!0,closeButtonLabel:i},(0,a.createElement)(Oh,null,(0,a.createElement)(Gn,{as:"p",variant:Mn.DARK,text:t}),(0,a.createElement)(Mh,null,(0,a.createElement)(no,{text:i,onClick:n,variant:"secondary"}),(0,a.createElement)(no,{text:o,onClick:r,variant:"primary",isBusy:s}))))},Nh=xh.div`
	margin-top: ${({theme:e})=>e.spacing.section};
	display: grid;
	grid-template-columns: 4fr 6fr;
	gap: 20px;

	@media (max-width: ${({theme:e})=>`${e.breaks.medium}px`}) {
		grid-template-columns: 1fr;
		gap: 20px;
	}
`,Ih=xh($n)`
	margin-bottom: ${({theme:e})=>e.spacing.section};
`,jh=xh.div`
	margin-bottom: ${({theme:e})=>e.spacing.section};
	display: grid;
	grid-template-columns: 6fr 1fr;
	gap: 10px;
`,zh=xh($n)`
	overflow-x: hidden;
`,Fh=xh.div`
	padding: ${({theme:e})=>e.spacing.section};
	border-bottom: solid 1px ${({theme:e})=>e.colors.border.normal};
	cursor: pointer;
	border-left: solid 4px transparent;

	&:hover,
	&.active {
		background-color: ${({theme:e})=>e.colors.surface.secondary};
		border-left: solid 4px
			${({theme:e})=>e.colors.solidwp_mail.primary};
	}

	p {
		margin-bottom: 5px;
	}
`,Hh=xh.span`
	display: inline-flex;
	padding: 0.25rem 0.5rem;
	border-radius: 1rem;
	background-color: ${({theme:e})=>e.colors.solidwp_mail.error};
	color: white;
`,$h=xh.p`
	word-break: break-all;
	font-weight: 500;
`,Uh=xh(ln.Flex)`
	@media (max-width: ${({theme:e})=>`${e.breaks.medium}px`}) {
		flex-direction: column;
		align-items: flex-start;
	}
`,Bh=xh.div`
	margin-bottom: ${({theme:e})=>e.spacing.section};
	padding-left: calc(${({theme:e})=>e.spacing.section} + 4px);
`,Gh=function({logs:e,selectedLog:t,selectLog:r}){const[n,o]=(0,Et.useState)(!1),[i,s]=(0,Et.useState)([]),[l,c]=(0,Et.useState)(!1),[u,d]=(0,Et.useState)(!1),[f,h]=(0,Et.useState)(!1),[p,m]=(0,Et.useState)(!1),g=(0,Ct.useSelect)((e=>e(Pf).getCurrentPage()),[]),{deleteLog:v,clearAllLogsAction:y}=(0,Ct.useDispatch)(Pf);return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(Bh,null,(0,a.createElement)(ln.Flex,{gap:3,align:"center"},(0,a.createElement)(ln.CheckboxControl,{checked:n,onChange:()=>{const t=!n;if(o(t),t){const t=e.map((e=>e.mail_id));s(t)}else s([])}}),(0,a.createElement)(ln.FlexBlock,null,(0,a.createElement)(ln.Flex,{justify:"space-between"},(0,a.createElement)(no,{variant:"secondary",onClick:()=>{c(!0)},disabled:0===i.length},(0,xt.__)("Delete Selected","wp-smtp")),(0,a.createElement)(no,{variant:"secondary",onClick:()=>{h(!0)},disabled:0===e.length,isDestructive:!0},(0,xt.__)("Clear All Logs","wp-smtp")))))),(0,a.createElement)(Ih,null,e.map((e=>(0,a.createElement)(Fh,{key:e.mail_id,onClick:()=>{r(e)},className:null!==t&&e.mail_id===t.mail_id?"active":""},(0,a.createElement)(Uh,{gap:3},(0,a.createElement)(ln.FlexItem,null,(0,a.createElement)(ln.CheckboxControl,{checked:i.includes(e.mail_id),onChange:()=>{return t=e.mail_id,void s((e=>e.includes(t)?e.filter((e=>e!==t)):[...e,t]));var t}})),(0,a.createElement)(ln.FlexBlock,null,(0,a.createElement)($h,null,e.to),(0,a.createElement)(Gn,{as:"p",variant:Mn.MUTED},e.subject),e.error&&(0,a.createElement)(Hh,{variant:"error"},(0,xt.__)("error","wp-smtp"))),(0,a.createElement)(ln.FlexItem,null,(0,a.createElement)(Gn,null,e.timestamp))))))),l&&(0,a.createElement)(Dh,{onCancel:()=>{c(!1)},onContinue:async()=>{d(!0),await v(i,g),c(!1),s([]),d(!1)},title:(0,xt.__)("Confirm Deletion","wp-smtp"),body:(0,xt.__)("Are you sure you want to delete the selected logs?","wp-smtp"),continueText:(0,xt.__)("Delete","wp-smtp"),isBusy:u}),f&&(0,a.createElement)(Dh,{onCancel:()=>{h(!1)},onContinue:async()=>{m(!0),await y(g),h(!1),s([]),o(!1),m(!1)},title:(0,xt.__)("Confirm Clear All Logs","wp-smtp"),body:(0,xt.__)("Are you sure you want to clear all logs? This action cannot be undone and will delete all email logs permanently.","wp-smtp"),continueText:(0,xt.__)("Clear All","wp-smtp"),isBusy:p}))},Vh=function({currentPage:e,totalPages:t,searchTerm:r,setCurrentPage:n}){return(0,a.createElement)(ln.Flex,{justify:"space-between"},(0,a.createElement)(no,{variant:"primary",icon:"arrow-left",onClick:()=>{e>0&&n(e-1,r)},disabled:e<=1},(0,xt.__)("Prev","wp-smtp")),(0,a.createElement)(Gn,{size:Dn.LARGE},e," ",(0,xt.__)("of","wp-smtp")," ",t),(0,a.createElement)(no,{variant:"primary",icon:"arrow-right",onClick:()=>{e<t&&n(e+1,r)},disabled:e>=t},(0,xt.__)("Next","wp-smtp")))},Wh=function(){const[e,t]=(0,Et.useState)(!1),[r,n]=(0,Et.useState)(!1),[o,i]=(0,Et.useState)(""),{totalPages:s,selectedLog:l,logs:c,currentPage:u}=(0,Ct.useSelect)((e=>({totalPages:e(Pf).getTotalPages(),selectedLog:e(Pf).getSelectedLog(),logs:e(Pf).getLogs(),currentPage:e(Pf).getCurrentPage()})),[]),{populateLogs:d,setCurrentPage:f,selectLog:h}=(0,Ct.useDispatch)(Pf),p=async()=>{n(!0),t(!0),await d(1,o),n(!1)};return(0,a.createElement)("div",null,(0,a.createElement)(jh,null,(0,a.createElement)(ef,{value:o,onSubmit:p,isSearching:r,onChange:i,onKeyPress:e=>{"Enter"===e.key&&p()}}),e&&(0,a.createElement)(no,{onClick:()=>{t(!1),d(1)},icon:"dismiss",type:"button"},(0,xt.__)("Reset","wp-smtp"))),(0,a.createElement)(Gh,{logs:c,selectLog:h,selectedLog:l}),(0,a.createElement)(Vh,{totalPages:s,currentPage:u,setCurrentPage:f,searchTerm:e?o:""}))};let Yh=function(e){return e.Mailgun="mailgun",e.Sendgrid="sendgrid",e.Brevo="brevo",e.AmazonSes="amazon_ses",e.Postmark="postmark",e.Other="other",e}({}),Zh=function(e){return e.Success="success",e.Error="error",e.Info="info",e.Warning="warning",e}({}),Kh=function(e){return e.SetConnections="SET_CONNECTIONS",e.SetConnection="SET_CONNECTION",e.RemoveConnection="REMOVE_CONNECTION",e.AddToast="ADD_TOAST",e.RemoveToast="REMOVE_TOAST",e.AddErrors="ADD_ERRORS",e.ClearErrors="CLEAR_ERRORS",e}({});const qh={},Xh={[Yh.Mailgun]:"Mailgun",[Yh.Sendgrid]:"SendGrid",[Yh.Brevo]:"Brevo",[Yh.AmazonSes]:"Amazon SES",[Yh.Postmark]:"Postmark",[Yh.Other]:"Generic SMTP"},Jh={},Qh={select_provider:(0,xt.__)("Please select your email service provider","wp-smtp"),smtp_host:(0,xt.__)("The SMTP host is the server address (URL or IP) provided by your email service for sending emails.","wp-smtp"),smtp_port:(0,xt.__)("The SMTP port is the endpoint (commonly 25, 465, or 587) used by the SMTP server to receive outgoing emails.","wp-smtp"),smtp_secure:(0,xt.__)("SMTP Secure refers to encryption protocols (SSL/TLS) used to protect email communications between the client and server.","wp-smtp"),smtp_username:(0,xt.__)("The SMTP username is the identifier (usually an email address) used to authenticate with the SMTP server.","wp-smtp"),smtp_password:(0,xt.__)("The SMTP password is the secret key used along with the username to authenticate and send emails through the SMTP server.","wp-smtp"),from_email:(0,xt.__)("The From Email is the email address that appears as the sender in outgoing emails.","wp-smtp"),from_name:(0,xt.__)("The From Name is the name that appears as the sender in outgoing emails.","wp-smtp"),smtp_auth:(0,xt.__)("SMTP Auth refers to the authentication process that verifies the identity of the email sender using the SMTP username and password.","wp-smtp")},ep=[];function tp(e){return"object"==typeof e&&null!==e?{code:"code"in e&&"string"==typeof e.code?e.code:"",message:"message"in e&&"string"==typeof e.message?e.message:"",additional_errors:"additional_errors"in e&&Array.isArray(e.additional_errors)?e.additional_errors:[]}:{code:"",message:"",additional_errors:[]}}const rp=e=>async({dispatch:t})=>{try{const r=await uf()({path:"/solid-mail/v1/connections",method:"POST",data:e});t({type:Kh.SetConnection,connection:r}),t(ip((0,xt.__)("The connection has been added successfully.","wp-smtp")))}catch(e){const r=tp(e);"invalid_connection_data"===r.code?t({type:Kh.AddErrors,errors:r.additional_errors.reduce(((e,{code:t,message:r})=>(e[t]=r,e)),{})}):t(ip([(0,xt.__)("Failed to add connection.","wp-smtp"),r.message].filter(Boolean).join(" "),Zh.Error))}},np=(e,t)=>async({dispatch:r})=>{try{const n=await uf()({path:`/solid-mail/v1/connections/${e}`,method:"PUT",data:t});r({type:Kh.SetConnection,connection:n}),r(ip((0,xt.__)("The connection has been updated successfully.","wp-smtp")))}catch(e){const t=tp(e);"invalid_connection_data"===t.code?r({type:Kh.AddErrors,errors:t.additional_errors.reduce(((e,{code:t,message:r})=>(e[t]=r,e)),{})}):r(ip([(0,xt.__)("Failed to update connection.","wp-smtp"),t.message].filter(Boolean).join(" "),Zh.Error))}},op=e=>async({dispatch:t})=>{try{await uf()({path:`/solid-mail/v1/connections/${e}`,method:"DELETE"}),t({type:Kh.RemoveConnection,connectionId:e}),t(ip((0,xt.__)("The connection has been deleted.","wp-smtp")))}catch(e){const r=tp(e);t(ip([(0,xt.__)("Failed to delete connection.","wp-smtp"),r.message].filter(Boolean).join(" "),Zh.Error))}};function ap(){return{type:Kh.ClearErrors}}function ip(e,t=Zh.Info){return{type:Kh.AddToast,toast:{id:Date.now().toString(),message:e,type:t}}}function sp(e){return{type:Kh.RemoveToast,toastId:e}}const lp={},cp=(0,Ct.combineReducers)({connections:function(e=qh,t){switch(t.type){case Kh.SetConnections:return t.connections.reduce(((e,t)=>(e[t.id]=t,e)),{});case Kh.SetConnection:return bh(e,(e=>{e[t.connection.id]=t.connection,t.connection.is_default&&Object.keys(e).forEach((r=>{e[r].is_default=r===t.connection.id}))}));case Kh.RemoveConnection:return bh(e,(e=>{delete e[t.connectionId]}));default:return e}},toasts:function(e=ep,t){switch(t.type){case Kh.AddToast:return bh(e,(e=>{e.push(t.toast)}));case Kh.RemoveToast:return e.filter((e=>e.id!==t.toastId));default:return e}},errors:function(e=Jh,t){switch(t.type){case Kh.AddErrors:return t.errors;case Kh.ClearErrors:return lp;default:return e}},availableConnections:function(e=Xh){return e},texts:function(e=Qh){return e}}),up=()=>async({dispatch:e})=>{try{const t=await uf()({path:"/solid-mail/v1/connections",method:"GET"});e({type:Kh.SetConnections,connections:t})}catch(t){e.addToast((0,xt.__)("Failed to fetch connections.","wp-smtp"),Zh.Error)}},dp=()=>async({resolveSelect:e})=>{await e.getConnections()};function fp(e){return e.connections}function hp(e){return e.texts}function pp(e){return e.availableConnections}function mp(e){return e.errors}function gp(e,t){var r;return null!==(r=e.connections[t])&&void 0!==r?r:null}function vp(e){return e.toasts}const yp=(0,Ct.createSelector)((e=>Object.values(e.connections).filter((e=>e.is_active))),(e=>[...Object.values(e.connections)])),bp=(0,Ct.createSelector)((e=>Object.values(e.connections).find((e=>e.is_default))),(e=>[...Object.values(e.connections)]));function wp(e,t){return e.availableConnections[t]||t}const Ep=(0,Ct.createReduxStore)("solidwp_mail/connections",{actions:t,selectors:o,resolvers:n,reducer:cp});(0,Ct.register)(Ep);const Cp=xh($n)``,xp=xh.pre`
	margin: 0;
	overflow-x: auto;
	padding: ${({theme:e})=>e.spacing.section};
`;class Sp extends Et.Component{constructor(e){super(e),this.state={height:0},this.onLoad=this.onLoad.bind(this),this.onRef=this.onRef.bind(this)}onLoad(){if(this.ref){this.setState({height:this.ref.contentWindow.document.body.scrollHeight});const e=this.ref.contentWindow.document.querySelectorAll("a");for(const t of e)t.setAttribute("target","_blank")}}onRef(e){if(this.ref=e,0===this.state.height){const t=e.contentWindow.document.body.scrollHeight;t&&this.setState({height:t})}}render(){return(0,a.createElement)(Cp,{variant:"info"},(0,a.createElement)("iframe",{srcDoc:this.props.email.message,width:"100%",height:this.state.height,onLoad:this.onLoad,ref:this.onRef,title:(0,xt.__)("Message Preview","wp-smtp"),sandbox:"allow-same-origin allow-top-navigation-by-user-activation allow-popups"}))}}const _p=Sp;function Ap(e){return"html"===e.name?(0,a.createElement)(_p,{email:e.email}):(0,a.createElement)(Cp,{variant:"info"},(0,a.createElement)(xp,null,e.email.message.trim()))}const Rp=(0,Et.memo)((function({email:e}){const t=(0,Et.useMemo)((()=>(e=>{const t=[];return"text/html"===e.content_type&&t.push({name:"html",title:(0,xt.__)("HTML","wp-smtp"),email:e}),t.push({name:"text",title:(0,xt.__)("Plain Text","wp-smtp"),email:e}),t})(e)),[e]);return(0,a.createElement)(ln.TabPanel,{tabs:t},Ap)})),Lp=xh.div`
	padding: ${({theme:e})=>e.spacing.section};
	border-bottom: solid 1px ${({theme:e})=>e.colors.border.normal};
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
`,kp=xh.div`
	display: flex;
	justify-content: space-between;
	gap: 20px;
`,Pp=xh.div`
	padding: ${({theme:e})=>e.spacing.section};

	p {
		margin-bottom: 10px;
	}
`,Tp=(xh.div`
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 100%;
`,xh($n)`
	margin-bottom: ${({theme:e})=>e.spacing.section};
	max-height: 800px;
	overflow-y: scroll;
`),Op=xh(Kd)`
	margin: ${({theme:e})=>e.spacing.section};
	margin-bottom: 0;
`,Mp=function(){const{selectedLog:e,currentPage:t}=(0,Ct.useSelect)((e=>({selectedLog:e(Pf).getSelectedLog(),currentPage:e(Pf).getCurrentPage()})),[]),r=(0,Ct.useSelect)((t=>{if("external"===e.connection_id)return(0,xt.__)("Without Kadence Mail connection","wp-smtp");const r=t(Ep).getConnectionById(e.connection_id);return r?t(Ep).getConnectorDisplayName(r.name):""}),[e.connection_id]),{deleteLog:n}=(0,Ct.useDispatch)(Pf),[o,i]=(0,Et.useState)(!1),[s,l]=(0,Et.useState)(!1);return null==e?null:(0,a.createElement)(a.Fragment,null,null!==e.error&&e.error.length>0&&(0,a.createElement)(Op,{text:e.error,type:"danger"}),(0,a.createElement)(Lp,null,(0,a.createElement)(kp,null,e.from_name&&e.from_email&&(0,a.createElement)(Gn,{text:(0,Et.createInterpolateElement)((0,xt.sprintf)(/* translators: %1$s - from name, %2$s - from email  */ /* translators: %1$s - from name, %2$s - from email  */
(0,xt.__)("From: <b>%1$s <%2$s></b>","wp-smtp"),e.from_name,e.from_email),{b:(0,a.createElement)("strong",null)})}),(0,a.createElement)(Gn,{weight:In.HEAVY,text:r})),(0,a.createElement)(kp,null,(0,a.createElement)(Gn,{text:(0,Et.createInterpolateElement)((0,xt.sprintf)(/* translators: %1$s - comma-separated email addresses  */ /* translators: %1$s - comma-separated email addresses  */
(0,xt.__)("To: <b>%1$s</b>","wp-smtp"),e.to.join(", ")),{b:(0,a.createElement)("strong",null)})}),(0,a.createElement)(Gn,{weight:In.HEAVY},e.timestamp))),(0,a.createElement)(Pp,null,(0,a.createElement)(Gn,{as:"p",text:(0,Et.createInterpolateElement)((0,xt.sprintf)(/* translators: %1$s - email subject  */ /* translators: %1$s - email subject  */
(0,xt.__)("Subject: <b>%1$s</b>","wp-smtp"),e.subject),{b:(0,a.createElement)("strong",null)})}),(0,a.createElement)(Gn,{variant:Mn.DARK,as:"p"},(0,xt.__)("Body","wp-smtp")),(0,a.createElement)(Tp,null,(0,a.createElement)(Rp,{email:e,key:e.mail_id})),(0,a.createElement)(no,{variant:"secondary",onClick:()=>{i(!0)},icon:"trash"},(0,xt.__)("Delete","wp-smtp"))),o&&(0,a.createElement)(Dh,{onCancel:()=>{i(!1)},onContinue:async()=>{l(!0),await n([e.mail_id],t),i(!1),l(!1)},title:(0,xt.__)("Confirm Deletion","wp-smtp"),body:(0,xt.__)("Are you sure you want to delete this log?","wp-smtp"),continueText:(0,xt.__)("Delete","wp-smtp"),isBusy:s}))},Dp=(Np=[{path:"/",element:(0,a.createElement)((function(){const{logs:e,isSearching:t}=(0,Ct.useSelect)((e=>({logs:e(Pf).getLogs(),isSearching:e(Pf).isSearching()})),[]);return(0,a.createElement)(qd,{theme:Ph},(0,a.createElement)(kh,{headerText:(0,xt.__)("Email Logs","wp-smtp"),withNav:!1},(0,a.createElement)(Nh,null,0===e.length&&!1===t&&(0,a.createElement)(Kd,{text:(0,xt.__)("No logs found.","wp-smtp"),type:"info"}),(e.length>0||0===e.length&&!0===t)&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)(Wh,null),(0,a.createElement)(zh,null,(0,a.createElement)(Mp,null))))))}),null)}],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,n=!r;let o;if(u(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)o=e.mapRouteProperties;else if(e.detectErrorBoundary){let t=e.detectErrorBoundary;o=e=>({hasErrorBoundary:t(e)})}else o=ee;let a,i,c={},f=y(e.routes,o,void 0,c),p=e.basename||"/",m=e.unstable_dataStrategy||le,v=s({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,unstable_skipActionErrorRevalidation:!1},e.future),w=null,E=new Set,C=null,x=null,S=null,_=null!=e.hydrationData,A=b(f,e.history.location,p),R=null;if(null==A){let t=be(404,{pathname:e.history.location.pathname}),{matches:r,route:n}=ye(f);A=r,R={[n.id]:t}}let L,k=A.some((e=>e.route.lazy)),P=A.some((e=>e.route.loader));if(k)i=!1;else if(P)if(v.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]));i=A.slice(0,e+1).every(n)}else i=A.every(n)}else i=null!=e.hydrationData;else i=!0;let T,O={historyAction:e.history.action,location:e.history.location,matches:A,initialized:i,navigation:q,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||R,fetchers:new Map,blockers:new Map},D=l.Pop,N=!1,I=!1,j=new Map,z=null,F=!1,H=!1,$=[],G=[],V=new Map,W=0,Y=-1,ae=new Map,ie=new Set,fe=new Map,he=new Map,Ee=new Set,ke=new Map,Ne=new Map,Ie=!1;function je(e,t){void 0===t&&(t={}),O=s({},O,e);let r=[],n=[];v.v7_fetcherPersist&&O.fetchers.forEach(((e,t)=>{"idle"===e.state&&(Ee.has(t)?n.push(t):r.push(t))})),[...E].forEach((e=>e(O,{deletedFetchers:n,unstable_viewTransitionOpts:t.viewTransitionOpts,unstable_flushSync:!0===t.flushSync}))),v.v7_fetcherPersist&&(r.forEach((e=>O.fetchers.delete(e))),n.forEach((e=>Ye(e))))}function ze(t,r,n){var o,i;let c,{flushSync:u}=void 0===n?{}:n,d=null!=O.actionData&&null!=O.navigation.formMethod&&Ae(O.navigation.formMethod)&&"loading"===O.navigation.state&&!0!==(null==(o=t.state)?void 0:o._isRedirect);c=r.actionData?Object.keys(r.actionData).length>0?r.actionData:null:d?O.actionData:null;let h=r.loaderData?me(O.loaderData,r.loaderData,r.matches||[],r.errors):O.loaderData,p=O.blockers;p.size>0&&(p=new Map(p),p.forEach(((e,t)=>p.set(t,J))));let m,g=!0===N||null!=O.navigation.formMethod&&Ae(O.navigation.formMethod)&&!0!==(null==(i=t.state)?void 0:i._isRedirect);if(a&&(f=a,a=void 0),F||D===l.Pop||(D===l.Push?e.history.push(t,t.state):D===l.Replace&&e.history.replace(t,t.state)),D===l.Pop){let e=j.get(O.location.pathname);e&&e.has(t.pathname)?m={currentLocation:O.location,nextLocation:t}:j.has(t.pathname)&&(m={currentLocation:t,nextLocation:O.location})}else if(I){let e=j.get(O.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),j.set(O.location.pathname,e)),m={currentLocation:O.location,nextLocation:t}}je(s({},r,{actionData:c,loaderData:h,historyAction:D,location:t,initialized:!0,navigation:q,revalidation:"idle",restoreScrollPosition:nt(t,r.matches||O.matches),preventScrollReset:g,blockers:p}),{viewTransitionOpts:m,flushSync:!0===u}),D=l.Pop,N=!1,I=!1,F=!1,H=!1,$=[],G=[]}async function Fe(t,r,n){T&&T.abort(),T=null,D=t,F=!0===(n&&n.startUninterruptedRevalidation),function(e,t){if(C&&S){let r=rt(e,t);C[r]=S()}}(O.location,O.matches),N=!0===(n&&n.preventScrollReset),I=!0===(n&&n.enableViewTransition);let o=a||f,i=n&&n.overrideNavigation,c=b(o,r,p),u=!0===(n&&n.flushSync);if(!c){let e=be(404,{pathname:r.pathname}),{matches:t,route:n}=ye(o);return tt(),void ze(r,{matches:t,loaderData:{},errors:{[n.id]:e}},{flushSync:u})}if(O.initialized&&!H&&(d=O.location,h=r,d.pathname===h.pathname&&d.search===h.search&&(""===d.hash?""!==h.hash:d.hash===h.hash||""!==h.hash))&&!(n&&n.submission&&Ae(n.submission.formMethod)))return void ze(r,{matches:c},{flushSync:u});var d,h;T=new AbortController;let m,y=de(e.history,r,T.signal,n&&n.submission);if(n&&n.pendingError)m=[ve(c).route.id,{type:g.error,error:n.pendingError}];else if(n&&n.submission&&Ae(n.submission.formMethod)){let t=await async function(e,t,r,n,o){void 0===o&&(o={}),Be();let a,i=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:i},{flushSync:!0===o.flushSync});let s=Pe(n,t);if(s.route.action||s.route.lazy){if(a=(await $e("action",e,[s],n))[0],e.signal.aborted)return{shortCircuited:!0}}else a={type:g.error,error:be(405,{method:e.method,pathname:t.pathname,routeId:s.route.id})};if(Se(a)){let t;return t=o&&null!=o.replace?o.replace:ue(a.response.headers.get("Location"),new URL(e.url),p)===O.location.pathname+O.location.search,await He(e,a,{submission:r,replace:t}),{shortCircuited:!0}}if(Ce(a))throw be(400,{type:"defer-action"});if(xe(a)){let e=ve(n,s.route.id);return!0!==(o&&o.replace)&&(D=l.Push),{pendingActionResult:[e.route.id,a]}}return{pendingActionResult:[s.route.id,a]}}(y,r,n.submission,c,{replace:n.replace,flushSync:u});if(t.shortCircuited)return;m=t.pendingActionResult,i=Oe(r,n.submission),u=!1,y=de(e.history,y.url,y.signal)}let{shortCircuited:w,loaderData:E,errors:x}=await async function(t,r,n,o,i,l,c,u,d,h){let m=o||Oe(r,i),g=i||l||Te(m),y=a||f,[b,w]=oe(e.history,O,n,g,r,v.v7_partialHydration&&!0===u,v.unstable_skipActionErrorRevalidation,H,$,G,Ee,fe,ie,y,p,h);if(tt((e=>!(n&&n.some((t=>t.route.id===e)))||b&&b.some((t=>t.route.id===e)))),Y=++W,0===b.length&&0===w.length){let e=qe();return ze(r,s({matches:n,loaderData:{},errors:h&&xe(h[1])?{[h[0]]:h[1].error}:null},ge(h),e?{fetchers:new Map(O.fetchers)}:{}),{flushSync:d}),{shortCircuited:!0}}if(!(F||v.v7_partialHydration&&u)){let e;w.forEach((e=>{let t=O.fetchers.get(e.key),r=Me(void 0,t?t.data:void 0);O.fetchers.set(e.key,r)})),h&&!xe(h[1])?e={[h[0]]:h[1].data}:O.actionData&&(e=0===Object.keys(O.actionData).length?null:O.actionData),je(s({navigation:m},void 0!==e?{actionData:e}:{},w.length>0?{fetchers:new Map(O.fetchers)}:{}),{flushSync:d})}w.forEach((e=>{V.has(e.key)&&Ze(e.key),e.controller&&V.set(e.key,e.controller)}));let E=()=>w.forEach((e=>Ze(e.key)));T&&T.signal.addEventListener("abort",E);let{loaderResults:C,fetcherResults:x}=await Ue(O.matches,n,b,w,t);if(t.signal.aborted)return{shortCircuited:!0};T&&T.signal.removeEventListener("abort",E),w.forEach((e=>V.delete(e.key)));let S=we([...C,...x]);if(S){if(S.idx>=b.length){let e=w[S.idx-b.length].key;ie.add(e)}return await He(t,S.result,{replace:c}),{shortCircuited:!0}}let{loaderData:_,errors:A}=pe(O,n,b,C,h,w,x,ke);ke.forEach(((e,t)=>{e.subscribe((r=>{(r||e.done)&&ke.delete(t)}))})),v.v7_partialHydration&&u&&O.errors&&Object.entries(O.errors).filter((e=>{let[t]=e;return!b.some((e=>e.route.id===t))})).forEach((e=>{let[t,r]=e;A=Object.assign(A||{},{[t]:r})}));let R=qe(),L=Xe(Y),k=R||L||w.length>0;return s({loaderData:_,errors:A},k?{fetchers:new Map(O.fetchers)}:{})}(y,r,c,i,n&&n.submission,n&&n.fetcherSubmission,n&&n.replace,n&&!0===n.initialHydration,u,m);w||(T=null,ze(r,s({matches:c},ge(m),{loaderData:E,errors:x})))}async function He(n,o,a){let{submission:i,fetcherSubmission:c,replace:d}=void 0===a?{}:a;o.response.headers.has("X-Remix-Revalidate")&&(H=!0);let f=o.response.headers.get("Location");u(f,"Expected a Location header on the redirect Response"),f=ue(f,new URL(n.url),p);let m=h(O.location,f,{_isRedirect:!0});if(r){let r=!1;if(o.response.headers.has("X-Remix-Reload-Document"))r=!0;else if(Q.test(f)){const n=e.history.createURL(f);r=n.origin!==t.location.origin||null==M(n.pathname,p)}if(r)return void(d?t.location.replace(f):t.location.assign(f))}T=null;let g=!0===d?l.Replace:l.Push,{formMethod:v,formAction:y,formEncType:b}=O.navigation;!i&&!c&&v&&y&&b&&(i=Te(O.navigation));let w=i||c;if(K.has(o.response.status)&&w&&Ae(w.formMethod))await Fe(g,m,{submission:s({},w,{formAction:f}),preventScrollReset:N});else{let e=Oe(m,i);await Fe(g,m,{overrideNavigation:e,fetcherSubmission:c,preventScrollReset:N})}}async function $e(e,t,r,n){try{let a=await async function(e,t,r,n,o,a,i,l){let c=n.reduce(((e,t)=>e.add(t.route.id)),new Set),d=new Set,f=await e({matches:o.map((e=>{let n=c.has(e.route.id);return s({},e,{shouldLoad:n,resolve:o=>(d.add(e.route.id),n?async function(e,t,r,n,o,a,i){let s,l,c=n=>{let o,s=new Promise(((e,t)=>o=t));l=()=>o(),t.signal.addEventListener("abort",l);let c,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:i},...void 0!==o?[o]:[]);return c=a?a((e=>u(e))):(async()=>{try{return{type:"data",result:await u()}}catch(e){return{type:"error",result:e}}})(),Promise.race([c,s])};try{let a=r.route[e];if(r.route.lazy)if(a){let e,[t]=await Promise.all([c(a).catch((t=>{e=t})),se(r.route,o,n)]);if(void 0!==e)throw e;s=t}else{if(await se(r.route,o,n),a=r.route[e],!a){if("action"===e){let e=new URL(t.url),n=e.pathname+e.search;throw be(405,{method:t.method,pathname:n,routeId:r.route.id})}return{type:g.data,result:void 0}}s=await c(a)}else{if(!a){let e=new URL(t.url);throw be(404,{pathname:e.pathname+e.search})}s=await c(a)}u(void 0!==s.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:g.error,result:e}}finally{l&&t.signal.removeEventListener("abort",l)}return s}(t,r,e,a,i,o,l):Promise.resolve({type:g.data,result:void 0}))})})),request:r,params:o[0].params,context:l});return o.forEach((e=>u(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.'))),f.filter(((e,t)=>c.has(o[t].route.id)))}(m,e,t,r,n,c,o);return await Promise.all(a.map(((e,o)=>{if(function(e){return _e(e.result)&&Z.has(e.result.status)}(e)){let a=e.result;return{type:g.redirect,response:ce(a,t,r[o].route.id,n,p,v.v7_relativeSplatPath)}}return async function(e){let{result:t,type:r,status:n}=e;if(_e(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:g.error,error:e}}return r===g.error?{type:g.error,error:new U(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:g.data,data:e,statusCode:t.status,headers:t.headers}}return r===g.error?{type:g.error,error:t,statusCode:B(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:g.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:g.data,data:t,statusCode:n};var o,a}(e)})))}catch(e){return r.map((()=>({type:g.error,error:e})))}}async function Ue(t,r,n,o,a){let[i,...s]=await Promise.all([n.length?$e("loader",a,n,r):[],...o.map((t=>t.matches&&t.match&&t.controller?$e("loader",de(e.history,t.path,t.controller.signal),[t.match],t.matches).then((e=>e[0])):Promise.resolve({type:g.error,error:be(404,{pathname:t.path})})))]);return await Promise.all([Re(t,n,i,i.map((()=>a.signal)),!1,O.loaderData),Re(t,o.map((e=>e.match)),s,o.map((e=>e.controller?e.controller.signal:null)),!0)]),{loaderResults:i,fetcherResults:s}}function Be(){H=!0,$.push(...tt()),fe.forEach(((e,t)=>{V.has(t)&&(G.push(t),Ze(t))}))}function Ge(e,t,r){void 0===r&&(r={}),O.fetchers.set(e,t),je({fetchers:new Map(O.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function Ve(e,t,r,n){void 0===n&&(n={});let o=ve(O.matches,t);Ye(e),je({errors:{[o.route.id]:r},fetchers:new Map(O.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function We(e){return v.v7_fetcherPersist&&(he.set(e,(he.get(e)||0)+1),Ee.has(e)&&Ee.delete(e)),O.fetchers.get(e)||X}function Ye(e){let t=O.fetchers.get(e);!V.has(e)||t&&"loading"===t.state&&ae.has(e)||Ze(e),fe.delete(e),ae.delete(e),ie.delete(e),Ee.delete(e),O.fetchers.delete(e)}function Ze(e){let t=V.get(e);u(t,"Expected fetch controller: "+e),t.abort(),V.delete(e)}function Ke(e){for(let t of e){let e=De(We(t).data);O.fetchers.set(t,e)}}function qe(){let e=[],t=!1;for(let r of ie){let n=O.fetchers.get(r);u(n,"Expected fetcher: "+r),"loading"===n.state&&(ie.delete(r),e.push(r),t=!0)}return Ke(e),t}function Xe(e){let t=[];for(let[r,n]of ae)if(n<e){let e=O.fetchers.get(r);u(e,"Expected fetcher: "+r),"loading"===e.state&&(Ze(r),ae.delete(r),t.push(r))}return Ke(t),t.length>0}function Je(e){O.blockers.delete(e),Ne.delete(e)}function Qe(e,t){let r=O.blockers.get(e)||J;u("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(O.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&&d(!1,"A router only supports one blocker at a time");let o=Array.from(Ne.entries()),[a,i]=o[o.length-1],s=O.blockers.get(a);return s&&"proceeding"===s.state?void 0:i({currentLocation:t,nextLocation:r,historyAction:n})?a:void 0}function tt(e){let t=[];return ke.forEach(((r,n)=>{e&&!e(n)||(r.cancel(),t.push(n),ke.delete(n))})),t}function rt(e,t){return x&&x(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,O.loaderData))))||e.key}function nt(e,t){if(C){let r=rt(e,t),n=C[r];if("number"==typeof n)return n}return null}return L={get basename(){return p},get future(){return v},get state(){return O},get routes(){return f},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);d(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:O.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(O.blockers);e.set(a,J),je({blockers:e})}})):Fe(r,n)})),r){!function(e,t){try{let r=e.sessionStorage.getItem(te);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(te,JSON.stringify(r))}catch(e){d(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}}(t,j);t.addEventListener("pagehide",e),z=()=>t.removeEventListener("pagehide",e)}return O.initialized||Fe(l.Pop,O.location,{initialHydration:!0}),L},subscribe:function(e){return E.add(e),()=>E.delete(e)},enableScrollRestoration:function(e,t,r){if(C=e,S=t,x=r||null,!_&&O.navigation===q){_=!0;let e=nt(O.location,O.matches);null!=e&&je({restoreScrollPosition:e})}return()=>{C=null,S=null,x=null}},navigate:async function t(r,n){if("number"==typeof r)return void e.history.go(r);let o=re(O.location,O.matches,p,v.v7_prependBasename,r,v.v7_relativeSplatPath,null==n?void 0:n.fromRouteId,null==n?void 0:n.relative),{path:a,submission:i,error:c}=ne(v.v7_normalizeFormMethod,!1,o,n),u=O.location,d=h(O.location,a,n&&n.state);d=s({},d,e.history.encodeLocation(d));let f=n&&null!=n.replace?n.replace:void 0,m=l.Push;!0===f?m=l.Replace:!1===f||null!=i&&Ae(i.formMethod)&&i.formAction===O.location.pathname+O.location.search&&(m=l.Replace);let g=n&&"preventScrollReset"in n?!0===n.preventScrollReset:void 0,y=!0===(n&&n.unstable_flushSync),b=et({currentLocation:u,nextLocation:d,historyAction:m});if(!b)return await Fe(m,d,{submission:i,pendingError:c,preventScrollReset:g,replace:n&&n.replace,enableViewTransition:n&&n.unstable_viewTransition,flushSync:y});Qe(b,{state:"blocked",location:d,proceed(){Qe(b,{state:"proceeding",proceed:void 0,reset:void 0,location:d}),t(r,n)},reset(){let e=new Map(O.blockers);e.set(b,J),je({blockers:e})}})},fetch:function(t,r,o,i){if(n)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.");V.has(t)&&Ze(t);let s=!0===(i&&i.unstable_flushSync),l=a||f,c=re(O.location,O.matches,p,v.v7_prependBasename,o,v.v7_relativeSplatPath,r,null==i?void 0:i.relative),d=b(l,c,p);if(!d)return void Ve(t,r,be(404,{pathname:c}),{flushSync:s});let{path:h,submission:m,error:g}=ne(v.v7_normalizeFormMethod,!0,c,i);if(g)return void Ve(t,r,g,{flushSync:s});let y=Pe(d,h);N=!0===(i&&i.preventScrollReset),m&&Ae(m.formMethod)?async function(t,r,n,o,i,s,l){if(Be(),fe.delete(t),!o.route.action&&!o.route.lazy){let e=be(405,{method:l.formMethod,pathname:n,routeId:r});return void Ve(t,r,e,{flushSync:s})}let c=O.fetchers.get(t);Ge(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,h=de(e.history,n,d.signal,l);V.set(t,d);let m=W,g=(await $e("action",h,[o],i))[0];if(h.signal.aborted)return void(V.get(t)===d&&V.delete(t));if(v.v7_fetcherPersist&&Ee.has(t)){if(Se(g)||xe(g))return void Ge(t,De(void 0))}else{if(Se(g))return V.delete(t),Y>m?void Ge(t,De(void 0)):(ie.add(t),Ge(t,Me(l)),He(h,g,{fetcherSubmission:l}));if(xe(g))return void Ve(t,r,g.error)}if(Ce(g))throw be(400,{type:"defer-action"});let y=O.navigation.location||O.location,w=de(e.history,y,d.signal),E=a||f,C="idle"!==O.navigation.state?b(E,O.navigation.location,p):O.matches;u(C,"Didn't find any matches after fetcher action");let x=++W;ae.set(t,x);let S=Me(l,g.data);O.fetchers.set(t,S);let[_,A]=oe(e.history,O,C,l,y,!1,v.unstable_skipActionErrorRevalidation,H,$,G,Ee,fe,ie,E,p,[o.route.id,g]);A.filter((e=>e.key!==t)).forEach((e=>{let t=e.key,r=O.fetchers.get(t),n=Me(void 0,r?r.data:void 0);O.fetchers.set(t,n),V.has(t)&&Ze(t),e.controller&&V.set(t,e.controller)})),je({fetchers:new Map(O.fetchers)});let R=()=>A.forEach((e=>Ze(e.key)));d.signal.addEventListener("abort",R);let{loaderResults:L,fetcherResults:k}=await Ue(O.matches,C,_,A,w);if(d.signal.aborted)return;d.signal.removeEventListener("abort",R),ae.delete(t),V.delete(t),A.forEach((e=>V.delete(e.key)));let P=we([...L,...k]);if(P){if(P.idx>=_.length){let e=A[P.idx-_.length].key;ie.add(e)}return He(w,P.result)}let{loaderData:M,errors:N}=pe(O,O.matches,_,L,void 0,A,k,ke);if(O.fetchers.has(t)){let e=De(g.data);O.fetchers.set(t,e)}Xe(x),"loading"===O.navigation.state&&x>Y?(u(D,"Expected pending action"),T&&T.abort(),ze(O.navigation.location,{matches:C,loaderData:M,errors:N,fetchers:new Map(O.fetchers)})):(je({errors:N,loaderData:me(O.loaderData,M,C,N),fetchers:new Map(O.fetchers)}),H=!1)}(t,r,h,y,d,s,m):(fe.set(t,{routeId:r,path:h}),async function(t,r,n,o,a,i,s){let l=O.fetchers.get(t);Ge(t,Me(s,l?l.data:void 0),{flushSync:i});let c=new AbortController,d=de(e.history,n,c.signal);V.set(t,c);let f=W,h=(await $e("loader",d,[o],a))[0];if(Ce(h)&&(h=await Le(h,d.signal,!0)||h),V.get(t)===c&&V.delete(t),!d.signal.aborted){if(!Ee.has(t))return Se(h)?Y>f?void Ge(t,De(void 0)):(ie.add(t),void await He(d,h)):void(xe(h)?Ve(t,r,h.error):(u(!Ce(h),"Unhandled fetcher deferred data"),Ge(t,De(h.data))));Ge(t,De(void 0))}}(t,r,h,y,d,s,m))},revalidate:function(){Be(),je({revalidation:"loading"}),"submitting"!==O.navigation.state&&("idle"!==O.navigation.state?Fe(D||O.historyAction,O.navigation.location,{overrideNavigation:O.navigation}):Fe(O.historyAction,O.location,{startUninterruptedRevalidation:!0}))},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:We,deleteFetcher:function(e){if(v.v7_fetcherPersist){let t=(he.get(e)||0)-1;t<=0?(he.delete(e),Ee.add(e)):he.set(e,t)}else Ye(e);je({fetchers:new Map(O.fetchers)})},dispose:function(){w&&w(),z&&z(),E.clear(),T&&T.abort(),O.fetchers.forEach(((e,t)=>Ye(t))),O.blockers.forEach(((e,t)=>Je(t)))},getBlocker:function(e,t){let r=O.blockers.get(e)||J;return Ne.get(e)!==t&&Ne.set(e,t),r},deleteBlocker:Je,_internalFetchControllers:V,_internalActiveDeferreds:ke,_internalSetRoutes:function(e){c={},a=y(e,o,void 0,c)}},L}({basename:void 0,future:nt({},void 0,{v7_prependBasename:!0}),history:(Ip={window:void 0},void 0===Ip&&(Ip={}),function(e,t,r,n){void 0===n&&(n={});let{window:o=document.defaultView,v5Compat:a=!1}=n,i=o.history,d=l.Pop,m=null,g=v();function v(){return(i.state||{idx:null}).idx}function y(){d=l.Pop;let e=v(),t=null==e?null:e-g;g=e,m&&m({action:d,location:w.location,delta:t})}function b(e){let t="null"!==o.location.origin?o.location.origin:o.location.href,r="string"==typeof e?e:p(e);return r=r.replace(/ $/,"%20"),u(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==g&&(g=0,i.replaceState(s({},i.state,{idx:g}),""));let w={get action(){return d},get location(){return e(o,i)},listen(e){if(m)throw new Error("A history only accepts one active listener");return o.addEventListener(c,y),m=e,()=>{o.removeEventListener(c,y),m=null}},createHref:e=>t(o,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){d=l.Push;let n=h(w.location,e,t);r&&r(n,e),g=v()+1;let s=f(n,g),c=w.createHref(n);try{i.pushState(s,"",c)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;o.location.assign(c)}a&&m&&m({action:d,location:w.location,delta:1})},replace:function(e,t){d=l.Replace;let n=h(w.location,e,t);r&&r(n,e),g=v();let o=f(n,g),s=w.createHref(n);i.replaceState(o,"",s),a&&m&&m({action:d,location:w.location,delta:0})},go:e=>i.go(e)};return w}((function(e,t){let{pathname:r="/",search:n="",hash:o=""}=m(e.location.hash.substr(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),h("",{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:p(t))}),(function(e,t){d("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),Ip)),hydrationData:function(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=nt({},t,{errors:st(t.errors)})),t}(),routes:Np,mapRouteProperties:function(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:a.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:a.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:a.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t},unstable_dataStrategy:void 0,window:void 0}).initialize());var Np,Ip;const jp=document.getElementById("solidwp-mail-root");(0,Et.createRoot)(jp).render((0,a.createElement)((function(e){let{fallbackElement:t,router:r,future:n}=e,[o,i]=a.useState(r.state),[s,l]=a.useState(),[c,u]=a.useState({isTransitioning:!1}),[d,f]=a.useState(),[h,p]=a.useState(),[m,g]=a.useState(),v=a.useRef(new Map),{v7_startTransition:y}=n||{},b=a.useCallback((e=>{y?function(e){ut?ut(e):e()}(e):e()}),[y]),w=a.useCallback(((e,t)=>{let{deletedFetchers:n,unstable_flushSync:o,unstable_viewTransitionOpts:a}=t;n.forEach((e=>v.current.delete(e))),e.fetchers.forEach(((e,t)=>{void 0!==e.data&&v.current.set(t,e.data)}));let s=null==r.window||null==r.window.document||"function"!=typeof r.window.document.startViewTransition;if(a&&!s){if(o){ft((()=>{h&&(d&&d.resolve(),h.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:a.currentLocation,nextLocation:a.nextLocation})}));let t=r.window.document.startViewTransition((()=>{ft((()=>i(e)))}));return t.finished.finally((()=>{ft((()=>{f(void 0),p(void 0),l(void 0),u({isTransitioning:!1})}))})),void ft((()=>p(t)))}h?(d&&d.resolve(),h.skipTransition(),g({state:e,currentLocation:a.currentLocation,nextLocation:a.nextLocation})):(l(e),u({isTransitioning:!0,flushSync:!1,currentLocation:a.currentLocation,nextLocation:a.nextLocation}))}else o?ft((()=>i(e))):b((()=>i(e)))}),[r.window,h,d,v,b]);a.useLayoutEffect((()=>r.subscribe(w)),[r,w]),a.useEffect((()=>{c.isTransitioning&&!c.flushSync&&f(new ht)}),[c]),a.useEffect((()=>{if(d&&s&&r.window){let e=s,t=d.promise,n=r.window.document.startViewTransition((async()=>{b((()=>i(e))),await t}));n.finished.finally((()=>{f(void 0),p(void 0),l(void 0),u({isTransitioning:!1})})),p(n)}}),[b,s,d,r.window]),a.useEffect((()=>{d&&s&&o.location.key===s.location.key&&d.resolve()}),[d,h,o.location,s]),a.useEffect((()=>{!c.isTransitioning&&m&&(l(m.state),u({isTransitioning:!0,flushSync:!1,currentLocation:m.currentLocation,nextLocation:m.nextLocation}),g(void 0))}),[c.isTransitioning,m]),a.useEffect((()=>{}),[]);let E=a.useMemo((()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:e=>r.navigate(e),push:(e,t,n)=>r.navigate(e,{state:t,preventScrollReset:null==n?void 0:n.preventScrollReset}),replace:(e,t,n)=>r.navigate(e,{replace:!0,state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})})),[r]),C=r.basename||"/",x=a.useMemo((()=>({router:r,navigator:E,static:!1,basename:C})),[r,E,C]);return a.createElement(a.Fragment,null,a.createElement(Ie.Provider,{value:x},a.createElement(je.Provider,{value:o},a.createElement(ct.Provider,{value:v.current},a.createElement(lt.Provider,{value:c},a.createElement(rt,{basename:C,location:o.location,navigationType:o.historyAction,navigator:E,future:{v7_relativeSplatPath:r.future.v7_relativeSplatPath}},o.initialized||r.future.v7_partialHydration?a.createElement(pt,{routes:r.routes,future:r.future,state:o}):t))))),null)}),{router:Dp}))})()})();

Youez - 2016 - github.com/yon3zu
LinuXploit