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/index.js
(()=>{var e={75:(e,t,r)=>{"use strict";var n=r(453),o=r(487),a=o(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&a(e,".prototype.")>-1?o(r):r}},487:(e,t,r)=>{"use strict";var n=r(743),o=r(453),a=r(897),i=r(675),l=o("%Function.prototype.apply%"),s=o("%Function.prototype.call%"),c=o("%Reflect.apply%",!0)||n.call(s,l),u=r(655),p=o("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new i("a function is required");var t=c(n,s,arguments);return a(t,1+p(0,e.length-(arguments.length-1)),!0)};var d=function(){return c(n,l,arguments)};u?u(e.exports,"apply",{value:d}):e.exports.apply=d},41:(e,t,r)=>{"use strict";var n=r(655),o=r(68),a=r(675),i=r(795);e.exports=function(e,t,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new a("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new a("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,s=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],p=!!i&&i(e,t);if(n)n(e,t,{configurable:null===c&&p?p.configurable:!c,enumerable:null===l&&p?p.enumerable:!l,value:r,writable:null===s&&p?p.writable:!s});else{if(!u&&(l||s||c))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=r}}},655:(e,t,r)=>{"use strict";var n=r(453)("%Object.defineProperty%",!0)||!1;if(n)try{n({},"a",{value:1})}catch(e){n=!1}e.exports=n},237:e=>{"use strict";e.exports=EvalError},383:e=>{"use strict";e.exports=Error},290:e=>{"use strict";e.exports=RangeError},538:e=>{"use strict";e.exports=ReferenceError},68:e=>{"use strict";e.exports=SyntaxError},675:e=>{"use strict";e.exports=TypeError},345:e=>{"use strict";e.exports=URIError},353:e=>{"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var o=0;o<t.length;o+=1)r[o+e.length]=t[o];return r};e.exports=function(e){var o=this;if("function"!=typeof o||"[object Function]"!==t.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var a,i=function(e,t){for(var r=[],n=1,o=0;n<e.length;n+=1,o+=1)r[o]=e[n];return r}(arguments),l=r(0,o.length-i.length),s=[],c=0;c<l;c++)s[c]="$"+c;if(a=Function("binder","return function ("+function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=",");return r}(s)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof a){var t=o.apply(this,n(i,arguments));return Object(t)===t?t:this}return o.apply(e,n(i,arguments))})),o.prototype){var u=function(){};u.prototype=o.prototype,a.prototype=new u,u.prototype=null}return a}},743:(e,t,r)=>{"use strict";var n=r(353);e.exports=Function.prototype.bind||n},453:(e,t,r)=>{"use strict";var n,o=r(383),a=r(237),i=r(290),l=r(538),s=r(68),c=r(675),u=r(345),p=Function,d=function(e){try{return p('"use strict"; return ('+e+").constructor;")()}catch(e){}},f=Object.getOwnPropertyDescriptor;if(f)try{f({},"")}catch(e){f=null}var m=function(){throw new c},h=f?function(){try{return m}catch(e){try{return f(arguments,"callee").get}catch(e){return m}}}():m,y=r(39)(),g=r(24)(),v=Object.getPrototypeOf||(g?function(e){return e.__proto__}:null),b={},w="undefined"!=typeof Uint8Array&&v?v(Uint8Array):n,E={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":y&&v?v([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":a,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":p,"%GeneratorFunction%":b,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":y&&v?v(v([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&y&&v?v((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":i,"%ReferenceError%":l,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&y&&v?v((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":y&&v?v(""[Symbol.iterator]()):n,"%Symbol%":y?Symbol:n,"%SyntaxError%":s,"%ThrowTypeError%":h,"%TypedArray%":w,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};if(v)try{null.error}catch(e){var _=v(v(e));E["%Error.prototype%"]=_}var S=function e(t){var r;if("%AsyncFunction%"===t)r=d("async function () {}");else if("%GeneratorFunction%"===t)r=d("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=d("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&v&&(r=v(o.prototype))}return E[t]=r,r},x={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},C=r(743),A=r(957),R=C.call(Function.call,Array.prototype.concat),k=C.call(Function.apply,Array.prototype.splice),P=C.call(Function.call,String.prototype.replace),O=C.call(Function.call,String.prototype.slice),T=C.call(Function.call,RegExp.prototype.exec),j=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,L=/\\(\\)?/g,M=function(e,t){var r,n=e;if(A(x,n)&&(n="%"+(r=x[n])[0]+"%"),A(E,n)){var o=E[n];if(o===b&&(o=S(n)),void 0===o&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new s("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===T(/^%?[^%]*%?$/,e))throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=O(e,0,1),r=O(e,-1);if("%"===t&&"%"!==r)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new s("invalid intrinsic syntax, expected opening `%`");var n=[];return P(e,j,(function(e,t,r,o){n[n.length]=r?P(o,L,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",o=M("%"+n+"%",t),a=o.name,i=o.value,l=!1,u=o.alias;u&&(n=u[0],k(r,R([0,1],u)));for(var p=1,d=!0;p<r.length;p+=1){var m=r[p],h=O(m,0,1),y=O(m,-1);if(('"'===h||"'"===h||"`"===h||'"'===y||"'"===y||"`"===y)&&h!==y)throw new s("property names with quotes must have matching quotes");if("constructor"!==m&&d||(l=!0),A(E,a="%"+(n+="."+m)+"%"))i=E[a];else if(null!=i){if(!(m in i)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(f&&p+1>=r.length){var g=f(i,m);i=(d=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:i[m]}else d=A(i,m),i=i[m];d&&!l&&(E[a]=i)}}return i}},795:(e,t,r)=>{"use strict";var n=r(453)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},592:(e,t,r)=>{"use strict";var n=r(655),o=function(){return!!n};o.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},24:e=>{"use strict";var t={__proto__:null,foo:{}},r=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof r)}},39:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(333);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&o()}},333:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},957:(e,t,r)=>{"use strict";var n=Function.prototype.call,o=Object.prototype.hasOwnProperty,a=r(743);e.exports=a.call(n,o)},146:(e,t,r)=>{"use strict";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},l={};function s(e){return n.isMemo(e)?i:l[e.$$typeof]||o}l[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[n.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(m){var o=f(r);o&&o!==m&&e(t,o,n)}var i=u(r);p&&(i=i.concat(p(r)));for(var l=s(t),h=s(r),y=0;y<i.length;++y){var g=i[y];if(!(a[g]||n&&n[g]||h&&h[g]||l&&l[g])){var v=d(r,g);try{c(t,g,v)}catch(e){}}}}return t}},859:(e,t,r)=>{var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=n&&o&&"function"==typeof o.get?o.get:null,i=n&&Map.prototype.forEach,l="function"==typeof Set&&Set.prototype,s=Object.getOwnPropertyDescriptor&&l?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=l&&s&&"function"==typeof s.get?s.get:null,u=l&&Set.prototype.forEach,p="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,m=Boolean.prototype.valueOf,h=Object.prototype.toString,y=Function.prototype.toString,g=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,E=String.prototype.toLowerCase,_=RegExp.prototype.test,S=Array.prototype.concat,x=Array.prototype.join,C=Array.prototype.slice,A=Math.floor,R="function"==typeof BigInt?BigInt.prototype.valueOf:null,k=Object.getOwnPropertySymbols,P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,O="function"==typeof Symbol&&"object"==typeof Symbol.iterator,T="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,j=Object.prototype.propertyIsEnumerable,L=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function M(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||_.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-A(-e):A(e);if(n!==e){var o=String(n),a=v.call(t,o.length+1);return b.call(o,r,"$&_")+"."+b.call(b.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,r,"$&_")}var D=r(634),I=D.custom,F=$(I)?I:null;function N(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function z(e){return b.call(String(e),/"/g,"&quot;")}function H(e){return!("[object Array]"!==V(e)||T&&"object"==typeof e&&T in e)}function U(e){return!("[object RegExp]"!==V(e)||T&&"object"==typeof e&&T in e)}function $(e){if(O)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!P)return!1;try{return P.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,o,l){var s=n||{};if(G(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(G(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var h=!G(s,"customInspect")||s.customInspect;if("boolean"!=typeof h&&"symbol"!==h)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(G(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(G(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return K(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var _=String(t);return w?M(t,_):_}if("bigint"==typeof t){var A=String(t)+"n";return w?M(t,A):A}var k=void 0===s.depth?5:s.depth;if(void 0===o&&(o=0),o>=k&&k>0&&"object"==typeof t)return H(t)?"[Array]":"[Object]";var I,B=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=x.call(Array(e.indent+1)," ")}return{base:r,prev:x.call(Array(t+1),r)}}(s,o);if(void 0===l)l=[];else if(W(l,t)>=0)return"[Circular]";function Y(t,r,n){if(r&&(l=C.call(l)).push(r),n){var a={depth:s.depth};return G(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,o+1,l)}return e(t,s,o+1,l)}if("function"==typeof t&&!U(t)){var ee=function(e){if(e.name)return e.name;var t=g.call(y.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),te=Q(t,Y);return"[Function"+(ee?": "+ee:" (anonymous)")+"]"+(te.length>0?" { "+x.call(te,", ")+" }":"")}if($(t)){var re=O?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):P.call(t);return"object"!=typeof t||O?re:Z(re)}if((I=t)&&"object"==typeof I&&("undefined"!=typeof HTMLElement&&I instanceof HTMLElement||"string"==typeof I.nodeName&&"function"==typeof I.getAttribute)){for(var ne="<"+E.call(String(t.nodeName)),oe=t.attributes||[],ae=0;ae<oe.length;ae++)ne+=" "+oe[ae].name+"="+N(z(oe[ae].value),"double",s);return ne+=">",t.childNodes&&t.childNodes.length&&(ne+="..."),ne+"</"+E.call(String(t.nodeName))+">"}if(H(t)){if(0===t.length)return"[]";var ie=Q(t,Y);return B&&!function(e){for(var t=0;t<e.length;t++)if(W(e[t],"\n")>=0)return!1;return!0}(ie)?"["+J(ie,B)+"]":"[ "+x.call(ie,", ")+" ]"}if(function(e){return!("[object Error]"!==V(e)||T&&"object"==typeof e&&T in e)}(t)){var le=Q(t,Y);return"cause"in Error.prototype||!("cause"in t)||j.call(t,"cause")?0===le.length?"["+String(t)+"]":"{ ["+String(t)+"] "+x.call(le,", ")+" }":"{ ["+String(t)+"] "+x.call(S.call("[cause]: "+Y(t.cause),le),", ")+" }"}if("object"==typeof t&&h){if(F&&"function"==typeof t[F]&&D)return D(t,{depth:k-o});if("symbol"!==h&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!a||!e||"object"!=typeof e)return!1;try{a.call(e);try{c.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var se=[];return i&&i.call(t,(function(e,r){se.push(Y(r,t,!0)+" => "+Y(e,t))})),X("Map",a.call(t),se,B)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{a.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ce=[];return u&&u.call(t,(function(e){ce.push(Y(e,t))})),X("Set",c.call(t),ce,B)}if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return q("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return q("WeakSet");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{return f.call(e),!0}catch(e){}return!1}(t))return q("WeakRef");if(function(e){return!("[object Number]"!==V(e)||T&&"object"==typeof e&&T in e)}(t))return Z(Y(Number(t)));if(function(e){if(!e||"object"!=typeof e||!R)return!1;try{return R.call(e),!0}catch(e){}return!1}(t))return Z(Y(R.call(t)));if(function(e){return!("[object Boolean]"!==V(e)||T&&"object"==typeof e&&T in e)}(t))return Z(m.call(t));if(function(e){return!("[object String]"!==V(e)||T&&"object"==typeof e&&T in e)}(t))return Z(Y(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if(t===r.g)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==V(e)||T&&"object"==typeof e&&T in e)}(t)&&!U(t)){var ue=Q(t,Y),pe=L?L(t)===Object.prototype:t instanceof Object||t.constructor===Object,de=t instanceof Object?"":"null prototype",fe=!pe&&T&&Object(t)===t&&T in t?v.call(V(t),8,-1):de?"Object":"",me=(pe||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(fe||de?"["+x.call(S.call([],fe||[],de||[]),": ")+"] ":"");return 0===ue.length?me+"{}":B?me+"{"+J(ue,B)+"}":me+"{ "+x.call(ue,", ")+" }"}return String(t)};var B=Object.prototype.hasOwnProperty||function(e){return e in this};function G(e,t){return B.call(e,t)}function V(e){return h.call(e)}function W(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function K(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return K(v.call(e,0,t.maxStringLength),t)+n}return N(b.call(b.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Y),"single",t)}function Y(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function Z(e){return"Object("+e+")"}function q(e){return e+" { ? }"}function X(e,t,r,n){return e+" ("+t+") {"+(n?J(r,n):x.call(r,", "))+"}"}function J(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+x.call(e,","+r)+"\n"+t.prev}function Q(e,t){var r=H(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=G(e,o)?t(e[o],e):""}var a,i="function"==typeof k?k(e):[];if(O){a={};for(var l=0;l<i.length;l++)a["$"+i[l]]=i[l]}for(var s in e)G(e,s)&&(r&&String(Number(s))===s&&s<e.length||O&&a["$"+s]instanceof Symbol||(_.call(/[^\w$]/,s)?n.push(t(s,e)+": "+t(e[s],e)):n.push(s+": "+t(e[s],e))));if("function"==typeof k)for(var c=0;c<i.length;c++)j.call(e,i[c])&&n.push("["+t(i[c])+"]: "+t(e[i[c]],e));return n}},765:e=>{"use strict";var t=String.prototype.replace,r=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},373:(e,t,r)=>{"use strict";var n=r(636),o=r(642),a=r(765);e.exports={formats:a,parse:o,stringify:n}},642:(e,t,r)=>{"use strict";var n=r(720),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},l=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},s=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,r,n){if(e){var a=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,l=r.depth>0&&/(\[[^[\]]*])/.exec(a),c=l?a.slice(0,l.index):a,u=[];if(c){if(!r.plainObjects&&o.call(Object.prototype,c)&&!r.allowPrototypes)return;u.push(c)}for(var p=0;r.depth>0&&null!==(l=i.exec(a))&&p<r.depth;){if(p+=1,!r.plainObjects&&o.call(Object.prototype,l[1].slice(1,-1))&&!r.allowPrototypes)return;u.push(l[1])}return l&&u.push("["+a.slice(l.index)+"]"),function(e,t,r,n){for(var o=n?t:s(t,r),a=e.length-1;a>=0;--a){var i,l=e[a];if("[]"===l&&r.parseArrays)i=r.allowEmptyArrays&&""===o?[]:[].concat(o);else{i=r.plainObjects?Object.create(null):{};var c="["===l.charAt(0)&&"]"===l.charAt(l.length-1)?l.slice(1,-1):l,u=r.decodeDotInKeys?c.replace(/%2E/g,"."):c,p=parseInt(u,10);r.parseArrays||""!==u?!isNaN(p)&&l!==u&&String(p)===u&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[])[p]=o:"__proto__"!==u&&(i[u]=o):i={0:o}}o=i}return o}(u,t,r,n)}};e.exports=function(e,t){var r=function(e){if(!e)return i;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset,r=void 0===e.duplicates?i.duplicates:e.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||i.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:i.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:i.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:i.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var r,c={__proto__:null},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,p=t.parameterLimit===1/0?void 0:t.parameterLimit,d=u.split(t.delimiter,p),f=-1,m=t.charset;if(t.charsetSentinel)for(r=0;r<d.length;++r)0===d[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===d[r]?m="utf-8":"utf8=%26%2310003%3B"===d[r]&&(m="iso-8859-1"),f=r,r=d.length);for(r=0;r<d.length;++r)if(r!==f){var h,y,g=d[r],v=g.indexOf("]="),b=-1===v?g.indexOf("="):v+1;-1===b?(h=t.decoder(g,i.decoder,m,"key"),y=t.strictNullHandling?null:""):(h=t.decoder(g.slice(0,b),i.decoder,m,"key"),y=n.maybeMap(s(g.slice(b+1),t),(function(e){return t.decoder(e,i.decoder,m,"value")}))),y&&t.interpretNumericEntities&&"iso-8859-1"===m&&(y=l(y)),g.indexOf("[]=")>-1&&(y=a(y)?[y]:y);var w=o.call(c,h);w&&"combine"===t.duplicates?c[h]=n.combine(c[h],y):w&&"last"!==t.duplicates||(c[h]=y)}return c}(e,r):e,p=r.plainObjects?Object.create(null):{},d=Object.keys(u),f=0;f<d.length;++f){var m=d[f],h=c(m,u[m],r,"string"==typeof e);p=n.merge(p,h,r)}return!0===r.allowSparse?p:n.compact(p)}},636:(e,t,r)=>{"use strict";var n=r(920),o=r(720),a=r(765),i=Object.prototype.hasOwnProperty,l={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,c=Array.prototype.push,u=function(e,t){c.apply(e,s(t)?t:[t])},p=Date.prototype.toISOString,d=a.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:o.encode,encodeValuesOnly:!1,format:d,formatter:a.formatters[d],indices:!1,serializeDate:function(e){return p.call(e)},skipNulls:!1,strictNullHandling:!1},m={},h=function e(t,r,a,i,l,c,p,d,h,y,g,v,b,w,E,_,S,x){for(var C,A=t,R=x,k=0,P=!1;void 0!==(R=R.get(m))&&!P;){var O=R.get(t);if(k+=1,void 0!==O){if(O===k)throw new RangeError("Cyclic object value");P=!0}void 0===R.get(m)&&(k=0)}if("function"==typeof y?A=y(r,A):A instanceof Date?A=b(A):"comma"===a&&s(A)&&(A=o.maybeMap(A,(function(e){return e instanceof Date?b(e):e}))),null===A){if(c)return h&&!_?h(r,f.encoder,S,"key",w):r;A=""}if("string"==typeof(C=A)||"number"==typeof C||"boolean"==typeof C||"symbol"==typeof C||"bigint"==typeof C||o.isBuffer(A))return h?[E(_?r:h(r,f.encoder,S,"key",w))+"="+E(h(A,f.encoder,S,"value",w))]:[E(r)+"="+E(String(A))];var T,j=[];if(void 0===A)return j;if("comma"===a&&s(A))_&&h&&(A=o.maybeMap(A,h)),T=[{value:A.length>0?A.join(",")||null:void 0}];else if(s(y))T=y;else{var L=Object.keys(A);T=g?L.sort(g):L}var M=d?r.replace(/\./g,"%2E"):r,D=i&&s(A)&&1===A.length?M+"[]":M;if(l&&s(A)&&0===A.length)return D+"[]";for(var I=0;I<T.length;++I){var F=T[I],N="object"==typeof F&&void 0!==F.value?F.value:A[F];if(!p||null!==N){var z=v&&d?F.replace(/\./g,"%2E"):F,H=s(A)?"function"==typeof a?a(D,z):D:D+(v?"."+z:"["+z+"]");x.set(t,k);var U=n();U.set(m,x),u(j,e(N,H,a,i,l,c,p,d,"comma"===a&&_&&s(A)?null:h,y,g,v,b,w,E,_,S,U))}}return j};e.exports=function(e,t){var r,o=e,c=function(e){if(!e)return f;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||f.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=a.default;if(void 0!==e.format){if(!i.call(a.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n,o=a.formatters[r],c=f.filter;if(("function"==typeof e.filter||s(e.filter))&&(c=e.filter),n=e.arrayFormat in l?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":f.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=void 0===e.allowDots?!0===e.encodeDotInKeys||f.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:u,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:n,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:void 0===e.delimiter?f.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:f.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:f.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:c,format:r,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}}(t);"function"==typeof c.filter?o=(0,c.filter)("",o):s(c.filter)&&(r=c.filter);var p=[];if("object"!=typeof o||null===o)return"";var d=l[c.arrayFormat],m="comma"===d&&c.commaRoundTrip;r||(r=Object.keys(o)),c.sort&&r.sort(c.sort);for(var y=n(),g=0;g<r.length;++g){var v=r[g];c.skipNulls&&null===o[v]||u(p,h(o[v],v,d,m,c.allowEmptyArrays,c.strictNullHandling,c.skipNulls,c.encodeDotInKeys,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,y))}var b=p.join(c.delimiter),w=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?w+="utf8=%26%2310003%3B&":w+="utf8=%E2%9C%93&"),b.length>0?w+b:""}},720:(e,t,r)=>{"use strict";var n=r(765),o=Object.prototype.hasOwnProperty,a=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),l=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r},s=1024;e.exports={arrayToObject:l,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],l=Object.keys(i),s=0;s<l.length;++s){var c=l[s],u=i[c];"object"==typeof u&&null!==u&&-1===r.indexOf(u)&&(t.push({obj:i,prop:c}),r.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(a(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,o,a){if(0===e.length)return e;var l=e;if("symbol"==typeof e?l=Symbol.prototype.toString.call(e):"string"!=typeof e&&(l=String(e)),"iso-8859-1"===r)return escape(l).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var c="",u=0;u<l.length;u+=s){for(var p=l.length>=s?l.slice(u,u+s):l,d=[],f=0;f<p.length;++f){var m=p.charCodeAt(f);45===m||46===m||95===m||126===m||m>=48&&m<=57||m>=65&&m<=90||m>=97&&m<=122||a===n.RFC1738&&(40===m||41===m)?d[d.length]=p.charAt(f):m<128?d[d.length]=i[m]:m<2048?d[d.length]=i[192|m>>6]+i[128|63&m]:m<55296||m>=57344?d[d.length]=i[224|m>>12]+i[128|m>>6&63]+i[128|63&m]:(f+=1,m=65536+((1023&m)<<10|1023&p.charCodeAt(f)),d[d.length]=i[240|m>>18]+i[128|m>>12&63]+i[128|m>>6&63]+i[128|63&m])}c+=d.join("")}return c},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(a(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r){if(a(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var i=t;return a(t)&&!a(r)&&(i=l(t,n)),a(t)&&a(r)?(r.forEach((function(r,a){if(o.call(t,a)){var i=t[a];i&&"object"==typeof i&&r&&"object"==typeof r?t[a]=e(i,r,n):t.push(r)}else t[a]=r})),t):Object.keys(r).reduce((function(t,a){var i=r[a];return o.call(t,a)?t[a]=e(t[a],i,n):t[a]=i,t}),i)}}},799:(e,t)=>{"use strict";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,l=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,h=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,v=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 p:case a:case l:case i:case f:return e;default:switch(e=e&&e.$$typeof){case c:case d:case y:case h:case s:return e;default:return t}}case o:return t}}}function _(e){return E(e)===p}t.AsyncMode=u,t.ConcurrentMode=p,t.ContextConsumer=c,t.ContextProvider=s,t.Element=n,t.ForwardRef=d,t.Fragment=a,t.Lazy=y,t.Memo=h,t.Portal=o,t.Profiler=l,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return _(e)||E(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return E(e)===c},t.isContextProvider=function(e){return E(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return E(e)===d},t.isFragment=function(e){return E(e)===a},t.isLazy=function(e){return E(e)===y},t.isMemo=function(e){return E(e)===h},t.isPortal=function(e){return E(e)===o},t.isProfiler=function(e){return E(e)===l},t.isStrictMode=function(e){return E(e)===i},t.isSuspense=function(e){return E(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===l||e===i||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===h||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===v||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=E},363:(e,t,r)=>{"use strict";e.exports=r(799)},20:(e,t,r)=>{"use strict";var n=r(609),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={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)&&!s.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:l.current}}t.Fragment=a,t.jsx=c,t.jsxs=c},848:(e,t,r)=>{"use strict";e.exports=r(20)},897:(e,t,r)=>{"use strict";var n=r(453),o=r(41),a=r(592)(),i=r(795),l=r(675),s=n("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new l("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||s(t)!==t)throw new l("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,c=!0;if("length"in e&&i){var u=i(e,"length");u&&!u.configurable&&(n=!1),u&&!u.writable&&(c=!1)}return(n||c||!r)&&(a?o(e,"length",t,!0,!0):o(e,"length",t)),e}},920:(e,t,r)=>{"use strict";var n=r(453),o=r(75),a=r(859),i=r(675),l=n("%WeakMap%",!0),s=n("%Map%",!0),c=o("WeakMap.prototype.get",!0),u=o("WeakMap.prototype.set",!0),p=o("WeakMap.prototype.has",!0),d=o("Map.prototype.get",!0),f=o("Map.prototype.set",!0),m=o("Map.prototype.has",!0),h=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new i("Side channel does not contain "+a(e))},get:function(n){if(l&&n&&("object"==typeof n||"function"==typeof n)){if(e)return c(e,n)}else if(s){if(t)return d(t,n)}else if(r)return function(e,t){var r=h(e,t);return r&&r.value}(r,n)},has:function(n){if(l&&n&&("object"==typeof n||"function"==typeof n)){if(e)return p(e,n)}else if(s){if(t)return m(t,n)}else if(r)return function(e,t){return!!h(e,t)}(r,n);return!1},set:function(n,o){l&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new l),u(e,n,o)):s?(t||(t=new s),f(t,n,o)):(r||(r={key:{},next:null}),function(e,t,r){var n=h(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,o))}};return n}},609:e=>{"use strict";e.exports=window.React},634:()=>{}},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.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),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})},(()=>{"use strict";var e={};r.r(e),r.d(e,{addConnection:()=>Rd,addToast:()=>Td,clearErrors:()=>Od,deleteConnection:()=>Pd,removeToast:()=>jd,updateConnection:()=>kd});var t={};r.r(t),r.d(t,{getConnectionById:()=>Af,getConnections:()=>Cf});var n={};r.r(n),r.d(n,{getActiveConnections:()=>Lf,getAvailableConnections:()=>Pf,getConnectionById:()=>Tf,getConnections:()=>Rf,getConnectorDisplayName:()=>Df,getDefaultConnection:()=>Mf,getErrors:()=>Of,getTexts:()=>kf,getToasts:()=>jf});var o=r(609);const a=window.ReactDOM;function i(){return i=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},i.apply(this,arguments)}var l;!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(l||(l={}));const s="popstate";function c(e,t){if(!1===e||null==e)throw new Error(t)}function u(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function p(e,t){return{usr:e.state,key:e.key,idx:t}}function d(e,t,r,n){return void 0===r&&(r=null),i({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 f(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 h;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(h||(h={}));const y=new Set(["lazy","caseSensitive","path","id","index","children"]);function g(e,t,r,n){return void 0===r&&(r=[]),void 0===n&&(n={}),e.map(((e,o)=>{let a=[...r,o],l="string"==typeof e.id?e.id:a.join("-");if(c(!0!==e.index||!e.children,"Cannot specify children on an index route"),c(!n[l],'Found a route id collision on id "'+l+"\".  Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let r=i({},e,t(e),{id:l});return n[l]=r,r}{let r=i({},e,t(e),{id:l,children:void 0});return n[l]=r,e.children&&(r.children=g(e.children,t,a,n)),r}}))}function v(e,t,r){void 0===r&&(r="/");let n=j(("string"==typeof t?m(t):t).pathname||"/",r);if(null==n)return null;let o=b(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=T(n);a=P(o[e],t)}return a}function b(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("/")&&(c(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 l=F([n,i.relativePath]),s=r.concat(i);e.children&&e.children.length>0&&(c(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+l+'".'),b(e.children,t,s,l)),(null!=e.path||e.index)&&t.push({path:l,score:k(l,e.index),routesMeta:s})};return e.forEach(((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of w(e.path))o(e,t,r);else o(e,t)})),t}function w(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=w(n.join("/")),l=[];return l.push(...i.map((e=>""===e?a:[a,e].join("/")))),o&&l.push(...i),l.map((t=>e.startsWith("/")&&""===t?"/":t))}const E=/^:[\w-]+$/,_=3,S=2,x=1,C=10,A=-2,R=e=>"*"===e;function k(e,t){let r=e.split("/"),n=r.length;return r.some(R)&&(n+=A),t&&(n+=S),r.filter((e=>!R(e))).reduce(((e,t)=>e+(E.test(t)?_:""===t?x:C)),n)}function P(e,t){let{routesMeta:r}=e,n={},o="/",a=[];for(let e=0;e<r.length;++e){let i=r[e],l=e===r.length-1,s="/"===o?t:t.slice(o.length)||"/",c=O({path:i.relativePath,caseSensitive:i.caseSensitive,end:l},s);if(!c)return null;Object.assign(n,c.params);let u=i.route;a.push({params:n,pathname:F([o,c.pathname]),pathnameBase:N(F([o,c.pathnameBase])),route:u}),"/"!==c.pathnameBase&&(o=F([o,c.pathnameBase]))}return a}function O(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),u("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,r)=>(n.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")));return e.endsWith("*")?(n.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}(e.path,e.caseSensitive,e.end),o=t.match(r);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:n.reduce(((e,t,r)=>{let{paramName:n,isOptional:o}=t;if("*"===n){let e=l[r]||"";i=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const s=l[r];return e[n]=o&&!s?void 0:(s||"").replace(/%2F/g,"/"),e}),{}),pathname:a,pathnameBase:i,pattern:e}}function T(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return u(!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 j(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 L(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 M(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function D(e,t){let r=M(e);return t?r.map(((t,r)=>r===e.length-1?t.pathname:t.pathnameBase)):r.map((e=>e.pathnameBase))}function I(e,t,r,n){let o;void 0===n&&(n=!1),"string"==typeof e?o=m(e):(o=i({},e),c(!o.pathname||!o.pathname.includes("?"),L("?","pathname","search",o)),c(!o.pathname||!o.pathname.includes("#"),L("#","pathname","hash",o)),c(!o.search||!o.search.includes("#"),L("#","search","hash",o)));let a,l=""===e||""===o.pathname,s=l?"/":o.pathname;if(null==s)a=r;else{let e=t.length-1;if(!n&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let u=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:z(n),hash:H(o)}}(o,a),p=s&&"/"!==s&&s.endsWith("/"),d=(l||"."===s)&&r.endsWith("/");return u.pathname.endsWith("/")||!p&&!d||(u.pathname+="/"),u}const F=e=>e.join("/").replace(/\/\/+/g,"/"),N=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),z=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",H=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 $(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const B=["post","put","patch","delete"],G=new Set(B),V=["get",...B],W=new Set(V),K=new Set([301,302,303,307,308]),Y=new Set([307,308]),Z={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},q={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},X={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},J=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Q=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)}),ee="remix-router-transitions";function te(e,t,r,n,o,a,i,l){let s,c;if(i){s=[];for(let e of t)if(s.push(e),e.route.id===i){c=e;break}}else s=t,c=t[t.length-1];let u=I(o||".",D(s,a),j(e.pathname,r)||e.pathname,"path"===l);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:F([r,u.pathname])),f(u)}function re(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,!W.has(o.toLowerCase())))return{path:r,error:ve(405,{method:n.formMethod})};var o;let a,i,l=()=>({path:r,error:ve(400,{type:"invalid-body"})}),s=n.formMethod||"get",u=e?s.toUpperCase():s.toLowerCase(),p=we(r);if(void 0!==n.body){if("text/plain"===n.formEncType){if(!Ce(u))return l();let e="string"==typeof n.body?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce(((e,t)=>{let[r,n]=t;return""+e+r+"="+n+"\n"}),""):String(n.body);return{path:r,submission:{formMethod:u,formAction:p,formEncType:n.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===n.formEncType){if(!Ce(u))return l();try{let e="string"==typeof n.body?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:u,formAction:p,formEncType:n.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return l()}}}if(c("function"==typeof FormData,"FormData is not available in this environment"),n.formData)a=pe(n.formData),i=n.formData;else if(n.body instanceof FormData)a=pe(n.body),i=n.body;else if(n.body instanceof URLSearchParams)a=n.body,i=de(a);else if(null==n.body)a=new URLSearchParams,i=new FormData;else try{a=new URLSearchParams(n.body),i=de(a)}catch(e){return l()}let d={formMethod:u,formAction:p,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:i,json:void 0,text:void 0};if(Ce(d.formMethod))return{path:r,submission:d};let h=m(r);return t&&h.search&&ke(h.search)&&a.append("index",""),h.search="?"+a,{path:f(h),submission:d}}function ne(e,t,r,n,o,a,l,s,c,u,p,d,f,m,h,y){let g=y?_e(y[1])?y[1].error:y[1].data:void 0,b=e.createURL(t.location),w=e.createURL(o),E=y&&_e(y[1])?y[0]:void 0,_=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,S=y?y[1].statusCode:void 0,x=l&&S&&S>=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 l=t.matches[r],u=e;return ae(e,i({currentUrl:b,currentParams:l.params,nextUrl:w,nextParams:u.params},n,{actionResult:g,unstable_actionStatus:S,defaultShouldRevalidate:!x&&(s||b.pathname+b.search===w.pathname+w.search||b.search!==w.search||oe(l,u))}))})),A=[];return d.forEach(((e,o)=>{if(a||!r.some((t=>t.route.id===e.routeId))||p.has(o))return;let l=v(m,e.path,h);if(!l)return void A.push({key:o,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let c=t.fetchers.get(o),d=Pe(l,e.path),y=!1;y=!f.has(o)&&(!!u.includes(o)||(c&&"idle"!==c.state&&void 0===c.data?s:ae(d,i({currentUrl:b,currentParams:t.matches[t.matches.length-1].params,nextUrl:w,nextParams:r[r.length-1].params},n,{actionResult:g,unstable_actionStatus:S,defaultShouldRevalidate:!x&&s})))),y&&A.push({key:o,routeId:e.routeId,path:e.path,matches:l,match:d,controller:new AbortController})})),[C,A]}function oe(e,t){let r=e.route.path;return e.pathname!==t.pathname||null!=r&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function ae(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if("boolean"==typeof r)return r}return t.defaultShouldRevalidate}async function ie(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let o=r[e.id];c(o,"No route found in manifest");let a={};for(let e in n){let t=void 0!==o[e]&&"hasErrorBoundary"!==e;u(!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||y.has(e)||(a[e]=n[e])}Object.assign(o,a),Object.assign(o,i({},t(o),{lazy:void 0}))}function le(e){return Promise.all(e.matches.map((e=>e.resolve())))}function se(e,t,r,n,o,a){let i=e.headers.get("Location");if(c(i,"Redirects returned/thrown from loaders/actions must have a Location header"),!J.test(i)){let l=n.slice(0,n.findIndex((e=>e.route.id===r))+1);i=te(new URL(t.url),l,o,!0,i,a),e.headers.set("Location",i)}return e}function ce(e,t,r){if(J.test(e)){let n=e,o=n.startsWith("//")?new URL(t.protocol+n):new URL(n),a=null!=j(o.pathname,r);if(o.origin===t.origin&&a)return o.pathname+o.search+o.hash}return e}function ue(e,t,r,n){let o=e.createURL(we(t)).toString(),a={signal:r};if(n&&Ce(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=pe(n.formData):a.body=n.formData}return new Request(o,a)}function pe(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,"string"==typeof n?n:n.name);return t}function de(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function fe(e,t,r,n,o,a,l,s){let{loaderData:u,errors:p}=function(e,t,r,n,o,a){let i,l={},s=null,u=!1,p={},d=n&&_e(n[1])?n[1].error:void 0;return r.forEach(((r,n)=>{let f=t[n].route.id;if(c(!Se(r),"Cannot handle redirect results in processLoaderData"),_e(r)){let t=r.error;if(void 0!==d&&(t=d,d=void 0),s=s||{},a)s[f]=t;else{let r=ye(e,f);null==s[r.route.id]&&(s[r.route.id]=t)}l[f]=void 0,u||(u=!0,i=$(r.error)?r.error.status:500),r.headers&&(p[f]=r.headers)}else Ee(r)?(o.set(f,r.deferredData),l[f]=r.deferredData.data,null==r.statusCode||200===r.statusCode||u||(i=r.statusCode),r.headers&&(p[f]=r.headers)):(l[f]=r.data,r.statusCode&&200!==r.statusCode&&!u&&(i=r.statusCode),r.headers&&(p[f]=r.headers))})),void 0!==d&&n&&(s={[n[0]]:d},l[n[0]]=void 0),{loaderData:l,errors:s,statusCode:i||200,loaderHeaders:p}}(t,r,n,o,s,!1);for(let t=0;t<a.length;t++){let{key:r,match:n,controller:o}=a[t];c(void 0!==l&&void 0!==l[t],"Did not find corresponding fetcher result");let s=l[t];if(!o||!o.signal.aborted)if(_e(s)){let t=ye(e.matches,null==n?void 0:n.route.id);p&&p[t.route.id]||(p=i({},p,{[t.route.id]:s.error})),e.fetchers.delete(r)}else if(Se(s))c(!1,"Unhandled fetcher revalidation redirect");else if(Ee(s))c(!1,"Unhandled fetcher deferred data");else{let t=Le(s.data);e.fetchers.set(r,t)}}return{loaderData:u,errors:p}}function me(e,t,r,n){let o=i({},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 he(e){return e?_e(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function ye(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 ge(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 ve(e,t){let{pathname:r,routeId:n,method:o,type:a}=void 0===t?{}:t,i="Unknown Server Error",l="Unknown @remix-run/router error";return 400===e?(i="Bad Request",o&&r&&n?l="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?l="defer() is not supported in actions":"invalid-body"===a&&(l="Unable to encode submission body")):403===e?(i="Forbidden",l='Route "'+n+'" does not match URL "'+r+'"'):404===e?(i="Not Found",l='No route matches URL "'+r+'"'):405===e&&(i="Method Not Allowed",o&&r&&n?l="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&&(l='Invalid request method "'+o.toUpperCase()+'"')),new U(e||500,i,new Error(l),!0)}function be(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(Se(r))return{result:r,idx:t}}}function we(e){return f(i({},"string"==typeof e?m(e):e,{hash:""}))}function Ee(e){return e.type===h.deferred}function _e(e){return e.type===h.error}function Se(e){return(e&&e.type)===h.redirect}function xe(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function Ce(e){return G.has(e.toLowerCase())}async function Ae(e,t,r,n,o,a){for(let i=0;i<r.length;i++){let l=r[i],s=t[i];if(!s)continue;let u=e.find((e=>e.route.id===s.route.id)),p=null!=u&&!oe(u,s)&&void 0!==(a&&a[s.route.id]);if(Ee(l)&&(o||p)){let e=n[i];c(e,"Expected an AbortSignal for revalidating fetcher deferred result"),await Re(l,e,o).then((e=>{e&&(r[i]=e||r[i])}))}}}async function Re(e,t,r){if(void 0===r&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:h.data,data:e.deferredData.unwrappedData}}catch(e){return{type:h.error,error:e}}return{type:h.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=M(e);return n[n.length-1]}function Oe(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 Te(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 je(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 Le(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 Me(){return Me=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},Me.apply(this,arguments)}Symbol("deferred");const De=o.createContext(null),Ie=o.createContext(null),Fe=o.createContext(null),Ne=o.createContext(null),ze=o.createContext({outlet:null,matches:[],isDataRoute:!1}),He=o.createContext(null);function Ue(){return null!=o.useContext(Ne)}function $e(){return Ue()||c(!1),o.useContext(Ne).location}function Be(e){o.useContext(Fe).static||o.useLayoutEffect(e)}function Ge(){let{isDataRoute:e}=o.useContext(ze);return e?function(){let{router:e}=function(e){let t=o.useContext(De);return t||c(!1),t}(Je.UseNavigateStable),t=et(Qe.UseNavigateStable),r=o.useRef(!1);Be((()=>{r.current=!0}));let n=o.useCallback((function(n,o){void 0===o&&(o={}),r.current&&("number"==typeof n?e.navigate(n):e.navigate(n,Me({fromRouteId:t},o)))}),[e,t]);return n}():function(){Ue()||c(!1);let e=o.useContext(De),{basename:t,future:r,navigator:n}=o.useContext(Fe),{matches:a}=o.useContext(ze),{pathname:i}=$e(),l=JSON.stringify(D(a,r.v7_relativeSplatPath)),s=o.useRef(!1);return Be((()=>{s.current=!0})),o.useCallback((function(r,o){if(void 0===o&&(o={}),!s.current)return;if("number"==typeof r)return void n.go(r);let a=I(r,JSON.parse(l),i,"path"===o.relative);null==e&&"/"!==t&&(a.pathname="/"===a.pathname?t:F([t,a.pathname])),(o.replace?n.replace:n.push)(a,o.state,o)}),[t,n,l,i,e])}()}const Ve=o.createContext(null);function We(e,t){let{relative:r}=void 0===t?{}:t,{future:n}=o.useContext(Fe),{matches:a}=o.useContext(ze),{pathname:i}=$e(),l=JSON.stringify(D(a,n.v7_relativeSplatPath));return o.useMemo((()=>I(e,JSON.parse(l),i,"path"===r)),[e,l,i,r])}function Ke(e,t,r,n){Ue()||c(!1);let{navigator:a}=o.useContext(Fe),{matches:i}=o.useContext(ze),s=i[i.length-1],u=s?s.params:{},p=(s&&s.pathname,s?s.pathnameBase:"/");s&&s.route;let d,f=$e();if(t){var h;let e="string"==typeof t?m(t):t;"/"===p||(null==(h=e.pathname)?void 0:h.startsWith(p))||c(!1),d=e}else d=f;let y=d.pathname||"/",g=y;if("/"!==p){let e=p.replace(/^\//,"").split("/");g="/"+y.replace(/^\//,"").split("/").slice(e.length).join("/")}let b=v(e,{pathname:g}),w=function(e,t,r,n){var a;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 l=e,s=null==(a=r)?void 0:a.errors;if(null!=s){let e=l.findIndex((e=>e.route.id&&void 0!==(null==s?void 0:s[e.route.id])));e>=0||c(!1),l=l.slice(0,Math.min(l.length,e+1))}let u=!1,p=-1;if(r&&n&&n.v7_partialHydration)for(let e=0;e<l.length;e++){let t=l[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(p=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){u=!0,l=p>=0?l.slice(0,p+1):[l[0]];break}}}return l.reduceRight(((e,n,a)=>{let i,c=!1,d=null,f=null;var m;r&&(i=s&&n.route.id?s[n.route.id]:void 0,d=n.route.errorElement||Ze,u&&(p<0&&0===a?(tt[m="route-fallback"]||(tt[m]=!0),c=!0,f=null):p===a&&(c=!0,f=n.route.hydrateFallbackElement||null)));let h=t.concat(l.slice(0,a+1)),y=()=>{let t;return t=i?d:c?f:n.route.Component?o.createElement(n.route.Component,null):n.route.element?n.route.element:e,o.createElement(Xe,{match:n,routeContext:{outlet:e,matches:h,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===a)?o.createElement(qe,{location:r.location,revalidation:r.revalidation,component:d,error:i,children:y(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):y()}),null)}(b&&b.map((e=>Object.assign({},e,{params:Object.assign({},u,e.params),pathname:F([p,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?p:F([p,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),i,r,n);return t&&w?o.createElement(Ne.Provider,{value:{location:Me({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:l.Pop}},w):w}function Ye(){let e=function(){var e;let t=o.useContext(He),r=function(e){let t=o.useContext(Ie);return t||c(!1),t}(Qe.UseRouteError),n=et(Qe.UseRouteError);return void 0!==t?t:null==(e=r.errors)?void 0:e[n]}(),t=$(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 o.createElement(o.Fragment,null,o.createElement("h2",null,"Unexpected Application Error!"),o.createElement("h3",{style:{fontStyle:"italic"}},t),r?o.createElement("pre",{style:n},r):null,null)}const Ze=o.createElement(Ye,null);class qe extends o.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?o.createElement(ze.Provider,{value:this.props.routeContext},o.createElement(He.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Xe(e){let{routeContext:t,match:r,children:n}=e,a=o.useContext(De);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),o.createElement(ze.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=o.useContext(ze);return t||c(!1),t}(),r=t.matches[t.matches.length-1];return r.route.id||c(!1),r.route.id}const tt={};function rt(e){return function(e){let t=o.useContext(ze).outlet;return t?o.createElement(Ve.Provider,{value:e},t):t}(e.context)}function nt(e){let{basename:t="/",children:r=null,location:n,navigationType:a=l.Pop,navigator:i,static:s=!1,future:u}=e;Ue()&&c(!1);let p=t.replace(/^\/*/,"/"),d=o.useMemo((()=>({basename:p,navigator:i,static:s,future:Me({v7_relativeSplatPath:!1},u)})),[p,u,i,s]);"string"==typeof n&&(n=m(n));let{pathname:f="/",search:h="",hash:y="",state:g=null,key:v="default"}=n,b=o.useMemo((()=>{let e=j(f,p);return null==e?null:{location:{pathname:e,search:h,hash:y,state:g,key:v},navigationType:a}}),[p,f,h,y,g,v,a]);return null==b?null:o.createElement(Fe.Provider,{value:d},o.createElement(Ne.Provider,{children:r,value:b}))}function ot(){return ot=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},ot.apply(this,arguments)}function at(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}o.startTransition,new Promise((()=>{})),o.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const it=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],lt=["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 ct=o.createContext({isTransitioning:!1}),ut=o.createContext(new Map),pt=o.startTransition,dt=a.flushSync;function ft(e){dt?dt(e):e()}o.useId;class mt{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 ht(e){let{routes:t,future:r,state:n}=e;return Ke(t,void 0,n,r)}const yt="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,gt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,vt=o.forwardRef((function(e,t){let r,{onClick:n,relative:a,reloadDocument:i,replace:l,state:s,target:u,to:p,preventScrollReset:d,unstable_viewTransition:m}=e,h=at(e,it),{basename:y}=o.useContext(Fe),g=!1;if("string"==typeof p&&gt.test(p)&&(r=p,yt))try{let e=new URL(window.location.href),t=p.startsWith("//")?new URL(e.protocol+p):new URL(p),r=j(t.pathname,y);t.origin===e.origin&&null!=r?p=r+t.search+t.hash:g=!0}catch(e){}let v=function(e,t){let{relative:r}=void 0===t?{}:t;Ue()||c(!1);let{basename:n,navigator:a}=o.useContext(Fe),{hash:i,pathname:l,search:s}=We(e,{relative:r}),u=l;return"/"!==n&&(u="/"===l?n:F([n,l])),a.createHref({pathname:u,search:s,hash:i})}(p,{relative:a}),b=function(e,t){let{target:r,replace:n,state:a,preventScrollReset:i,relative:l,unstable_viewTransition:s}=void 0===t?{}:t,c=Ge(),u=$e(),p=We(e,{relative:l});return o.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:f(u)===f(p);c(e,{replace:r,state:a,preventScrollReset:i,relative:l,unstable_viewTransition:s})}}),[u,c,p,n,a,r,e,i,l,s])}(p,{replace:l,state:s,target:u,preventScrollReset:d,relative:a,unstable_viewTransition:m});return o.createElement("a",ot({},h,{href:r||v,onClick:g||i?n:function(e){n&&n(e),e.defaultPrevented||b(e)},ref:t,target:u}))})),bt=o.forwardRef((function(e,t){let{"aria-current":r="page",caseSensitive:n=!1,className:a="",end:i=!1,style:l,to:s,unstable_viewTransition:u,children:p}=e,d=at(e,lt),f=We(s,{relative:d.relative}),m=$e(),h=o.useContext(Ie),{navigator:y,basename:g}=o.useContext(Fe),v=null!=h&&function(e,t){void 0===t&&(t={});let r=o.useContext(ct);null==r&&c(!1);let{basename:n}=function(e){let t=o.useContext(De);return t||c(!1),t}(wt.useViewTransitionState),a=We(e,{relative:t.relative});if(!r.isTransitioning)return!1;let i=j(r.currentLocation.pathname,n)||r.currentLocation.pathname,l=j(r.nextLocation.pathname,n)||r.nextLocation.pathname;return null!=O(a.pathname,l)||null!=O(a.pathname,i)}(f)&&!0===u,b=y.encodeLocation?y.encodeLocation(f).pathname:f.pathname,w=m.pathname,E=h&&h.navigation&&h.navigation.location?h.navigation.location.pathname:null;n||(w=w.toLowerCase(),E=E?E.toLowerCase():null,b=b.toLowerCase()),E&&g&&(E=j(E,g)||E);const _="/"!==b&&b.endsWith("/")?b.length-1:b.length;let S,x=w===b||!i&&w.startsWith(b)&&"/"===w.charAt(_),C=null!=E&&(E===b||!i&&E.startsWith(b)&&"/"===E.charAt(b.length)),A={isActive:x,isPending:C,isTransitioning:v},R=x?r:void 0;S="function"==typeof a?a(A):[a,x?"active":null,C?"pending":null,v?"transitioning":null].filter(Boolean).join(" ");let k="function"==typeof l?l(A):l;return o.createElement(vt,ot({},d,{"aria-current":R,className:S,ref:t,style:k,to:s,unstable_viewTransition:u}),"function"==typeof p?p(A):p)}));var wt,Et;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(wt||(wt={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Et||(Et={}));const _t=window.wp.element,St=window.wp.components,xt=window.wp.data,Ct=window.wp.i18n;let At=function(e){return e.Mailgun="mailgun",e.Sendgrid="sendgrid",e.Brevo="brevo",e.AmazonSes="amazon_ses",e.Postmark="postmark",e.Other="other",e}({}),Rt=function(e){return e.Success="success",e.Error="error",e.Info="info",e.Warning="warning",e}({}),kt=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 Pt={},Ot={[At.Mailgun]:"Mailgun",[At.Sendgrid]:"SendGrid",[At.Brevo]:"Brevo",[At.AmazonSes]:"Amazon SES",[At.Postmark]:"Postmark",[At.Other]:"Generic SMTP"},Tt={},jt={select_provider:(0,Ct.__)("Please select your email service provider","wp-smtp"),smtp_host:(0,Ct.__)("The SMTP host is the server address (URL or IP) provided by your email service for sending emails.","wp-smtp"),smtp_port:(0,Ct.__)("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,Ct.__)("SMTP Secure refers to encryption protocols (SSL/TLS) used to protect email communications between the client and server.","wp-smtp"),smtp_username:(0,Ct.__)("The SMTP username is the identifier (usually an email address) used to authenticate with the SMTP server.","wp-smtp"),smtp_password:(0,Ct.__)("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,Ct.__)("The From Email is the email address that appears as the sender in outgoing emails.","wp-smtp"),from_name:(0,Ct.__)("The From Name is the name that appears as the sender in outgoing emails.","wp-smtp"),smtp_auth:(0,Ct.__)("SMTP Auth refers to the authentication process that verifies the identity of the email sender using the SMTP username and password.","wp-smtp")},Lt=[],Mt="solidwp_mail/connections";var Dt=r(848);const It=window.wp.primitives;var Ft=(0,Dt.jsx)(It.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,Dt.jsx)(It.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5 12a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm.75 4v1.5h-1.5V8h1.5Zm0 8v-5h-1.5v5h1.5Z"})}),Nt=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}(),zt=Math.abs,Ht=String.fromCharCode,Ut=Object.assign;function $t(e){return e.trim()}function Bt(e,t,r){return e.replace(t,r)}function Gt(e,t){return e.indexOf(t)}function Vt(e,t){return 0|e.charCodeAt(t)}function Wt(e,t,r){return e.slice(t,r)}function Kt(e){return e.length}function Yt(e){return e.length}function Zt(e,t){return t.push(e),e}var qt=1,Xt=1,Jt=0,Qt=0,er=0,tr="";function rr(e,t,r,n,o,a,i){return{value:e,root:t,parent:r,type:n,props:o,children:a,line:qt,column:Xt,length:i,return:""}}function nr(e,t){return Ut(rr("",null,null,"",null,null,0),e,{length:-e.length},t)}function or(){return er=Qt>0?Vt(tr,--Qt):0,Xt--,10===er&&(Xt=1,qt--),er}function ar(){return er=Qt<Jt?Vt(tr,Qt++):0,Xt++,10===er&&(Xt=1,qt++),er}function ir(){return Vt(tr,Qt)}function lr(){return Qt}function sr(e,t){return Wt(tr,e,t)}function cr(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 ur(e){return qt=Xt=1,Jt=Kt(tr=e),Qt=0,[]}function pr(e){return tr="",e}function dr(e){return $t(sr(Qt-1,hr(91===e?e+2:40===e?e+1:e)))}function fr(e){for(;(er=ir())&&er<33;)ar();return cr(e)>2||cr(er)>3?"":" "}function mr(e,t){for(;--t&&ar()&&!(er<48||er>102||er>57&&er<65||er>70&&er<97););return sr(e,lr()+(t<6&&32==ir()&&32==ar()))}function hr(e){for(;ar();)switch(er){case e:return Qt;case 34:case 39:34!==e&&39!==e&&hr(er);break;case 40:41===e&&hr(e);break;case 92:ar()}return Qt}function yr(e,t){for(;ar()&&e+er!==57&&(e+er!==84||47!==ir()););return"/*"+sr(t,Qt-1)+"*"+Ht(47===e?e:ar())}function gr(e){for(;!cr(ir());)ar();return sr(e,Qt)}var vr="-ms-",br="-moz-",wr="-webkit-",Er="comm",_r="rule",Sr="decl",xr="@keyframes";function Cr(e,t){for(var r="",n=Yt(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Ar(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Sr:return e.return=e.return||e.value;case Er:return"";case xr:return e.return=e.value+"{"+Cr(e.children,n)+"}";case _r:e.value=e.props.join(",")}return Kt(r=Cr(e.children,n))?e.return=e.value+"{"+r+"}":""}function Rr(e){return pr(kr("",null,null,null,[""],e=ur(e),0,[0],e))}function kr(e,t,r,n,o,a,i,l,s){for(var c=0,u=0,p=i,d=0,f=0,m=0,h=1,y=1,g=1,v=0,b="",w=o,E=a,_=n,S=b;y;)switch(m=v,v=ar()){case 40:if(108!=m&&58==Vt(S,p-1)){-1!=Gt(S+=Bt(dr(v),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:S+=dr(v);break;case 9:case 10:case 13:case 32:S+=fr(m);break;case 92:S+=mr(lr()-1,7);continue;case 47:switch(ir()){case 42:case 47:Zt(Or(yr(ar(),lr()),t,r),s);break;default:S+="/"}break;case 123*h:l[c++]=Kt(S)*g;case 125*h:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+u:-1==g&&(S=Bt(S,/\f/g,"")),f>0&&Kt(S)-p&&Zt(f>32?Tr(S+";",n,r,p-1):Tr(Bt(S," ","")+";",n,r,p-2),s);break;case 59:S+=";";default:if(Zt(_=Pr(S,t,r,c,u,o,l,b,w=[],E=[],p),a),123===v)if(0===u)kr(S,t,_,_,w,a,p,l,E);else switch(99===d&&110===Vt(S,3)?100:d){case 100:case 108:case 109:case 115:kr(e,_,_,n&&Zt(Pr(e,_,_,0,0,o,l,b,o,w=[],p),E),o,E,p,l,n?w:E);break;default:kr(S,_,_,_,[""],E,0,l,E)}}c=u=f=0,h=g=1,b=S="",p=i;break;case 58:p=1+Kt(S),f=m;default:if(h<1)if(123==v)--h;else if(125==v&&0==h++&&125==or())continue;switch(S+=Ht(v),v*h){case 38:g=u>0?1:(S+="\f",-1);break;case 44:l[c++]=(Kt(S)-1)*g,g=1;break;case 64:45===ir()&&(S+=dr(ar())),d=ir(),u=p=Kt(b=S+=gr(lr())),v++;break;case 45:45===m&&2==Kt(S)&&(h=0)}}return a}function Pr(e,t,r,n,o,a,i,l,s,c,u){for(var p=o-1,d=0===o?a:[""],f=Yt(d),m=0,h=0,y=0;m<n;++m)for(var g=0,v=Wt(e,p+1,p=zt(h=i[m])),b=e;g<f;++g)(b=$t(h>0?d[g]+" "+v:Bt(v,/&\f/g,d[g])))&&(s[y++]=b);return rr(e,t,r,0===o?_r:l,s,c,u)}function Or(e,t,r){return rr(e,t,r,Er,Ht(er),Wt(e,2,-2),0)}function Tr(e,t,r,n){return rr(e,t,r,Sr,Wt(e,0,n),Wt(e,n+1,-1),n)}var jr=function(e,t,r){for(var n=0,o=0;n=o,o=ir(),38===n&&12===o&&(t[r]=1),!cr(o);)ar();return sr(e,Qt)},Lr=new WeakMap,Mr=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)||Lr.get(r))&&!n){Lr.set(e,!0);for(var o=[],a=function(e,t){return pr(function(e,t){var r=-1,n=44;do{switch(cr(n)){case 0:38===n&&12===ir()&&(t[r]=1),e[r]+=jr(Qt-1,t,r);break;case 2:e[r]+=dr(n);break;case 4:if(44===n){e[++r]=58===ir()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Ht(n)}}while(n=ar());return e}(ur(e),t))}(t,o),i=r.props,l=0,s=0;l<a.length;l++)for(var c=0;c<i.length;c++,s++)e.props[s]=o[l]?a[l].replace(/&\f/g,i[c]):i[c]+" "+a[l]}}},Dr=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Ir(e,t){switch(function(e,t){return 45^Vt(e,0)?(((t<<2^Vt(e,0))<<2^Vt(e,1))<<2^Vt(e,2))<<2^Vt(e,3):0}(e,t)){case 5103:return wr+"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 wr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return wr+e+br+e+vr+e+e;case 6828:case 4268:return wr+e+vr+e+e;case 6165:return wr+e+vr+"flex-"+e+e;case 5187:return wr+e+Bt(e,/(\w+).+(:[^]+)/,wr+"box-$1$2"+vr+"flex-$1$2")+e;case 5443:return wr+e+vr+"flex-item-"+Bt(e,/flex-|-self/,"")+e;case 4675:return wr+e+vr+"flex-line-pack"+Bt(e,/align-content|flex-|-self/,"")+e;case 5548:return wr+e+vr+Bt(e,"shrink","negative")+e;case 5292:return wr+e+vr+Bt(e,"basis","preferred-size")+e;case 6060:return wr+"box-"+Bt(e,"-grow","")+wr+e+vr+Bt(e,"grow","positive")+e;case 4554:return wr+Bt(e,/([^-])(transform)/g,"$1"+wr+"$2")+e;case 6187:return Bt(Bt(Bt(e,/(zoom-|grab)/,wr+"$1"),/(image-set)/,wr+"$1"),e,"")+e;case 5495:case 3959:return Bt(e,/(image-set\([^]*)/,wr+"$1$`$1");case 4968:return Bt(Bt(e,/(.+:)(flex-)?(.*)/,wr+"box-pack:$3"+vr+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+wr+e+e;case 4095:case 3583:case 4068:case 2532:return Bt(e,/(.+)-inline(.+)/,wr+"$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(Kt(e)-1-t>6)switch(Vt(e,t+1)){case 109:if(45!==Vt(e,t+4))break;case 102:return Bt(e,/(.+:)(.+)-([^]+)/,"$1"+wr+"$2-$3$1"+br+(108==Vt(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Gt(e,"stretch")?Ir(Bt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Vt(e,t+1))break;case 6444:switch(Vt(e,Kt(e)-3-(~Gt(e,"!important")&&10))){case 107:return Bt(e,":",":"+wr)+e;case 101:return Bt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+wr+(45===Vt(e,14)?"inline-":"")+"box$3$1"+wr+"$2$3$1"+vr+"$2box$3")+e}break;case 5936:switch(Vt(e,t+11)){case 114:return wr+e+vr+Bt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return wr+e+vr+Bt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return wr+e+vr+Bt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return wr+e+vr+e+e}return e}var Fr=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Sr:e.return=Ir(e.value,e.length);break;case xr:return Cr([nr(e,{value:Bt(e.value,"@","@"+wr)})],n);case _r:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return Cr([nr(e,{props:[Bt(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return Cr([nr(e,{props:[Bt(t,/:(plac\w+)/,":"+wr+"input-$1")]}),nr(e,{props:[Bt(t,/:(plac\w+)/,":-moz-$1")]}),nr(e,{props:[Bt(t,/:(plac\w+)/,vr+"input-$1")]})],n)}return""}))}}],Nr=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||Fr,i={},l=[];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;l.push(e)}));var s,c,u,p,d=[Ar,(p=function(e){s.insert(e)},function(e){e.root||(e=e.return)&&p(e)})],f=(c=[Mr,Dr].concat(a,d),u=Yt(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){s=r,Cr(Rr(e?e+"{"+t.styles+"}":t.styles),f),n&&(m.inserted[t.name]=!0)};var m={key:t,sheet:new Nt({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 m.sheet.hydrate(l),m};function zr(){return zr=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},zr.apply(null,arguments)}var Hr=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 Ur(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var $r=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},Br=function(e,t,r){$r(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)}},Gr={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 Vr=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}};var Wr=!1,Kr=/[A-Z]|^ms/g,Yr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Zr=function(e){return 45===e.charCodeAt(1)},qr=function(e){return null!=e&&"boolean"!=typeof e},Xr=Vr((function(e){return Zr(e)?e:e.replace(Kr,"-$&").toLowerCase()})),Jr=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Yr,(function(e,t,r){return tn={name:t,styles:r,next:tn},t}))}return 1===Gr[e]||Zr(e)||"number"!=typeof t||0===t?t:t+"px"},Qr="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function en(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 tn={name:o.name,styles:o.styles,next:tn},o.name;var a=r;if(void 0!==a.styles){var i=a.next;if(void 0!==i)for(;void 0!==i;)tn={name:i.name,styles:i.styles,next:tn},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+=en(e,t,r[o])+";";else for(var a in r){var i=r[a];if("object"!=typeof i){var l=i;null!=t&&void 0!==t[l]?n+=a+"{"+t[l]+"}":qr(l)&&(n+=Xr(a)+":"+Jr(a,l)+";")}else{if("NO_COMPONENT_SELECTOR"===a&&Wr)throw new Error(Qr);if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var s=en(e,t,i);switch(a){case"animation":case"animationName":n+=Xr(a)+":"+s+";";break;default:n+=a+"{"+s+"}"}}else for(var c=0;c<i.length;c++)qr(i[c])&&(n+=Xr(a)+":"+Jr(a,i[c])+";")}}return n}(e,t,r);case"function":if(void 0!==e){var l=tn,s=r(e);return tn=l,en(e,t,s)}}var c=r;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var tn,rn=/label:\s*([^\s;\n{]+)\s*(;|$)/g;function nn(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="";tn=void 0;var a=e[0];null==a||void 0===a.raw?(n=!1,o+=en(r,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=en(r,t,e[i]),n&&(o+=a[i]);rn.lastIndex=0;for(var l,s="";null!==(l=rn.exec(o));)s+="-"+l[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)+s;return{name:c,styles:o,next:tn}}var on=!!o.useInsertionEffect&&o.useInsertionEffect,an=on||function(e){return e()},ln=(on||o.useLayoutEffect,"undefined"!=typeof document),sn=o.createContext("undefined"!=typeof HTMLElement?Nr({key:"css"}):null),cn=(sn.Provider,function(e){return(0,o.forwardRef)((function(t,r){var n=(0,o.useContext)(sn);return e(t,n,r)}))});ln||(cn=function(e){return function(t){var r=(0,o.useContext)(sn);return null===r?(r=Nr({key:"css"}),o.createElement(sn.Provider,{value:r},e(t,r))):e(t,r)}});var un=o.createContext({}),pn=function(){return o.useContext(un)},dn=Hr((function(e){return Hr((function(t){return function(e,t){return"function"==typeof t?t(e):zr({},e,t)}(e,t)}))})),fn=function(e){var t=o.useContext(un);return e.theme!==t&&(t=dn(t)(e.theme)),o.createElement(un.Provider,{value:t},e.children)},mn={}.hasOwnProperty,hn="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",yn=function(e,t){var r={};for(var n in t)mn.call(t,n)&&(r[n]=t[n]);return r[hn]=e,r},gn=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;$r(t,r,n);var a=an((function(){return Br(t,r,n)}));if(!ln&&void 0!==a){for(var i,l=r.name,s=r.next;void 0!==s;)l+=" "+s.name,s=s.next;return o.createElement("style",((i={})["data-emotion"]=t.key+" "+l,i.dangerouslySetInnerHTML={__html:a},i.nonce=t.sheet.nonce,i))}return null},vn=cn((function(e,t,r){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var a=e[hn],i=[n],l="";"string"==typeof e.className?l=Ur(t.registered,i,e.className):null!=e.className&&(l=e.className+" ");var s=nn(i,void 0,o.useContext(un));l+=t.key+"-"+s.name;var c={};for(var u in e)mn.call(e,u)&&"css"!==u&&u!==hn&&(c[u]=e[u]);return c.className=l,r&&(c.ref=r),o.createElement(o.Fragment,null,o.createElement(gn,{cache:t,serialized:s,isStringTag:"string"==typeof a}),o.createElement(a,c))}));function bn(e,t,r){return mn.call(t,"css")?Dt.jsx(vn,yn(e,t),r):Dt.jsx(e,t,r)}function wn(e,t,r){return mn.call(t,"css")?Dt.jsxs(vn,yn(e,t),r):Dt.jsxs(e,t,r)}r(146),Dt.Fragment;var En=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Sn=Vr((function(e){return En.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),xn=function(e){return"theme"!==e},Cn=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Sn:xn},An=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},Rn=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return $r(t,r,n),an((function(){return Br(t,r,n)})),null},kn=function e(t,r){var n,a,i=t.__emotion_real===t,l=i&&t.__emotion_base||t;void 0!==r&&(n=r.label,a=r.target);var s=An(t,r,i),c=s||Cn(l),u=!c("as");return function(){var p=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&d.push("label:"+n+";"),null==p[0]||void 0===p[0].raw)d.push.apply(d,p);else{d.push(p[0][0]);for(var f=p.length,m=1;m<f;m++)d.push(p[m],p[0][m])}var h=cn((function(e,t,r){var n=u&&e.as||l,i="",p=[],f=e;if(null==e.theme){for(var m in f={},e)f[m]=e[m];f.theme=o.useContext(un)}"string"==typeof e.className?i=Ur(t.registered,p,e.className):null!=e.className&&(i=e.className+" ");var h=nn(d.concat(p),t.registered,f);i+=t.key+"-"+h.name,void 0!==a&&(i+=" "+a);var y=u&&void 0===s?Cn(n):c,g={};for(var v in e)u&&"as"===v||y(v)&&(g[v]=e[v]);return g.className=i,r&&(g.ref=r),o.createElement(o.Fragment,null,o.createElement(Rn,{cache:t,serialized:h,isStringTag:"string"==typeof n}),o.createElement(n,g))}));return h.displayName=void 0!==n?n:"Styled("+("string"==typeof l?l:l.displayName||l.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=l,h.__emotion_styles=d,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return"."+a}}),h.withComponent=function(t,n){return e(t,zr({},r,n,{shouldForwardProp:An(h,n,!0)})).apply(void 0,d)},h}};function Pn(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function On(e,t,r){var n=[],o=Ur(e,n,r);return n.length<2?r:o+t(n)}var Tn=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},jn=function(e){var t=Nr({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=nn(r,t.registered,void 0);return Br(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 On(t.registered,r,Tn(n))},injectGlobal:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=nn(r,t.registered);Pn(t,o)},keyframes:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=nn(r,t.registered),a="animation-"+o.name;return Pn(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:Ur.bind(null,t.registered),merge:On.bind(null,t.registered,r)}}(),Ln=(jn.flush,jn.hydrate,jn.cx),Mn=(jn.merge,jn.getRegisteredStyles,jn.injectGlobal,jn.keyframes,jn.css),Dn=(jn.sheet,jn.cache,(0,Dt.jsx)(It.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Dt.jsx)(It.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"})})),In=(0,Dt.jsx)(It.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,Dt.jsx)(It.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"})}),Fn=(0,Dt.jsx)(It.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Dt.jsx)(It.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 Nn=window.wp.deprecated,zn=window.wp.compose,Hn=window.wp.url,Un=(window.wp.date,window.wp.keycodes);function $n(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 Bn,Gn,Vn,Wn,Kn,Yn;"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"}(Bn||(Bn={})),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"}(Gn||(Gn={})),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"}(Vn||(Vn={})),function(e){e[e.HEAVY=600]="HEAVY",e[e.NORMAL=400]="NORMAL",e[e.LIGHT=300]="LIGHT"}(Wn||(Wn={})),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"}(Kn||(Kn={})),function(e){e.HUGE="huge",e.WIDE="wide",e.XLARGE="xlarge",e.LARGE="large",e.MEDIUM="medium",e.SMALL="small",e.MOBILE="mobile"}(Yn||(Yn={}));const Zn=kn("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===Kn.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===Kn.GALAXY&&"exclusion"),";"),qn=(0,_t.createContext)(void 0),Xn=(0,_t.forwardRef)((function(e,t){const{components:{surface:r}}=pn(),{variant:n=Kn.PRIMARY}=e,o=(0,_t.useMemo)((()=>({variant:n,textVariant:r.variant[n]})),[n,r.variant]);return bn(qn.Provider,{value:o,children:bn(Zn,Object.assign({},e,{ref:t}))})})),Jn=kn("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%;}"),Qn=kn(St.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]),";"),eo=(0,_t.forwardRef)(((e,t)=>{var{variant:r,size:n=Gn.NORMAL,as:o="span",weight:a,text:i,decoration:l,textTransform:s,align:c="left",icon:u,iconSize:p=24,iconColor:d,iconPosition:f="left",indicator:m,className:h,children:y,truncateLines:g}=e,v=$n(e,["variant","size","as","weight","text","decoration","textTransform","align","icon","iconSize","iconColor","iconPosition","indicator","className","children","truncateLines"]);const b=(0,_t.useContext)(qn),w=r||(null==b?void 0:b.textVariant)||Bn.NORMAL,E=Jn.withComponent(o,{target:"e19li2x12"}),_=u&&bn(Qn,{variant:w,icon:u,iconColor:d,iconPosition:f,size:p,hasText:void 0!==i||void 0!==y}),S=!!g&&Mn("-webkit-box-orient:vertical;-webkit-line-clamp:",g,";display:-webkit-box;overflow:hidden;","");return wn(E,Object.assign({variant:w,size:n,weight:a,decoration:l,textTransform:s,align:c,as:o,icon:u,iconPosition:f,indicator:m,className:Ln("it-ui-text",h,S,{"it-ui-text--has-icon":!!_}),ref:t},v,{children:["left"===f&&_,i,y,"right"===f&&_]}))})),to={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"}},ro=kn("span",{target:"e18e7x8p4"})("display:flex;flex-shrink:0;width:fit-content;background-color:",(({variantName:e})=>to[e].background),";padding:",(({theme:{getSize:e}})=>`${e(.25)} ${e(.5)}`),";border:",(({variantName:e})=>to[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;}"),no=kn(ro,{target:"e18e7x8p3"})("cursor:pointer;&:hover{background-color:",(({variantName:e})=>to[e].hover),";& svg{background-color:",(({variantName:e})=>to[e].background),";}}&:focus,&:focus-visible,&:active{box-shadow:0 0 0 1px ",(({theme:e})=>e.colors.primary.base),";outline:none;}"),oo=kn(ro,{target:"e18e7x8p2"})(""),ao=kn(no.withComponent("a",{target:"e18e7x8p5"}),{target:"e18e7x8p1"})({name:"g65o95",styles:"text-decoration:none"}),io=kn(no.withComponent("button",{target:"e18e7x8p6"}),{target:"e18e7x8p0"})(""),lo={primary:"inactive",accent:"active",infoAccent:"info"},so=(e,t)=>e?(Nn('"iconColor" prop is deprecated. Icons render dark by default. To render a white icon, set "iconInverted" to "true".',{plugin:"Badge"}),e):t?"#ffffff":"#232323";(0,_t.forwardRef)((function({text:e,icon:t,iconColor:r,iconInverted:n,tooltip:o,variant:a="inactive",href:i,onClick:l},s){const c=(e=>{if(e in lo){const t=lo[e];return Nn(`Badge variant "${e}"`,{alternative:`"${t}"`,plugin:"Badge"}),t}return e})(a);let u="span",p={};i?(u="a",p={href:i},l&&(p.onClick=l)):l&&(u="button",p={onClick:l});const d=bn((e=>"a"===e?ao:"button"===e?io:oo)(u),Object.assign({ref:s,variantName:c},p,{children:bn(eo,{text:e,size:Gn.SMALL,variant:Bn.DARK,icon:t,iconSize:16,iconColor:so(r,n)})}));return o?bn(St.Tooltip,{text:o,position:"bottom left",children:d}):d}));const co=["textSize","isRounded","isWide","align","iconGap","surfaceVariant","_variant"];function uo(e,t){return!!t.icon&&!!t.text&&(t.iconPosition||"left")===e}const po=kn(St.Button,{shouldForwardProp:e=>!co.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===Kn.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 uo("right",$n(e,["theme","iconGap"]))&&t(.25*(null!=r?r:2))}),";margin-right:",(e=>{var{theme:{getSize:t},iconGap:r}=e;return uo("left",$n(e,["theme","iconGap"]))&&t(.25*(null!=r?r:2))}),";}}"),fo=(0,_t.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,_t.useContext)(qn),{iconGap:i=2}=e;return bn(po,Object.assign({},e,{ref:t,iconGap:i,variant:o,_variant:n,surfaceVariant:null==a?void 0:a.variant}))})),mo=kn("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"),";"),ho=kn(St.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 yo(e){const{components:{heading:t}}=pn(),r=(0,_t.useContext)(qn),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",l="h"+e.level;return wn(mo.withComponent(l,{target:"e5g6tmc2"}),{weight:a,variant:n,size:o,hasIcon:!!e.icon,className:Ln("it-ui-heading",e.className),textTransform:i,align:e.align||"left",children:[e.icon&&bn(ho,{icon:e.icon,size:e.iconSize,variant:n,iconColor:e.iconColor}),e.text,e.children]})}const go=(0,_t.createContext)({variant:"primary"}),vo=kn(St.Card,{target:"e8tjnus1"})("&.components-card{background:",(({theme:e,variant:t})=>"secondary"===t?e.colors.surface.secondary:e.colors.surface.primary),";}"),bo=kn(St.CardBody,{target:"e8tjnus0"})("display:",(({isColumn:e})=>e?"flex":"grid"),";flex-direction:column;grid-auto-flow:column;grid-auto-columns:1fr;grid-template-rows:auto auto;grid-gap:0 ",(({theme:{getSize:e}})=>e(2)),";.it-ui-heading{padding-top:",(({theme:{getSize:e},isColumn:t})=>!t&&e(.5)),";padding-bottom:",(({theme:{getSize:e}})=>e(1)),";&:not(:first-of-type){padding-top:",(({theme:{getSize:e},isColumn:t})=>e(t?1:.5)),";margin-top:",(({theme:{getSize:e},isColumn:t})=>t&&e(1)),";border-top:",(({theme:e,isColumn:t})=>t&&`1px solid ${e.colors.border.normal}`),";}}p{padding-bottom:",(({theme:{getSize:e},isColumn:t})=>!t&&e(.5)),";}.it-ui-heading:not(:last-of-type),p:not(:last-of-type){position:relative;&:after{content:",(({isColumn:e})=>!e&&"' '"),";background:",(({theme:e})=>e.colors.border.normal),";width:1px;height:100%;position:absolute;right:-1rem;display:block;top:0;bottom:0;}}");var wo="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Eo=function(e){return e&&e.Math===Math&&e},_o=Eo("object"==typeof globalThis&&globalThis)||Eo("object"==typeof window&&window)||Eo("object"==typeof self&&self)||Eo("object"==typeof wo&&wo)||Eo("object"==typeof wo&&wo)||function(){return this}()||Function("return this")(),So={},xo=function(e){try{return!!e()}catch(e){return!0}},Co=!xo((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),Ao=!xo((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),Ro=Ao,ko=Function.prototype.call,Po=Ro?ko.bind(ko):function(){return ko.apply(ko,arguments)},Oo={},To={}.propertyIsEnumerable,jo=Object.getOwnPropertyDescriptor,Lo=jo&&!To.call({1:2},1);Oo.f=Lo?function(e){var t=jo(this,e);return!!t&&t.enumerable}:To;var Mo,Do,Io=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Fo=Ao,No=Function.prototype,zo=No.call,Ho=Fo&&No.bind.bind(zo,zo),Uo=Fo?Ho:function(e){return function(){return zo.apply(e,arguments)}},$o=Uo,Bo=$o({}.toString),Go=$o("".slice),Vo=function(e){return Go(Bo(e),8,-1)},Wo=xo,Ko=Vo,Yo=Object,Zo=Uo("".split),qo=Wo((function(){return!Yo("z").propertyIsEnumerable(0)}))?function(e){return"String"===Ko(e)?Zo(e,""):Yo(e)}:Yo,Xo=function(e){return null==e},Jo=Xo,Qo=TypeError,ea=function(e){if(Jo(e))throw new Qo("Can't call method on "+e);return e},ta=qo,ra=ea,na=function(e){return ta(ra(e))},oa="object"==typeof document&&document.all,aa=void 0===oa&&void 0!==oa?function(e){return"function"==typeof e||e===oa}:function(e){return"function"==typeof e},ia=aa,la=function(e){return"object"==typeof e?null!==e:ia(e)},sa=_o,ca=aa,ua=function(e,t){return arguments.length<2?(r=sa[e],ca(r)?r:void 0):sa[e]&&sa[e][t];var r},pa=Uo({}.isPrototypeOf),da=_o,fa="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ma=da.process,ha=da.Deno,ya=ma&&ma.versions||ha&&ha.version,ga=ya&&ya.v8;ga&&(Do=(Mo=ga.split("."))[0]>0&&Mo[0]<4?1:+(Mo[0]+Mo[1])),!Do&&fa&&(!(Mo=fa.match(/Edge\/(\d+)/))||Mo[1]>=74)&&(Mo=fa.match(/Chrome\/(\d+)/))&&(Do=+Mo[1]);var va=Do,ba=xo,wa=_o.String,Ea=!!Object.getOwnPropertySymbols&&!ba((function(){var e=Symbol("symbol detection");return!wa(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&va&&va<41})),_a=Ea&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Sa=ua,xa=aa,Ca=pa,Aa=Object,Ra=_a?function(e){return"symbol"==typeof e}:function(e){var t=Sa("Symbol");return xa(t)&&Ca(t.prototype,Aa(e))},ka=String,Pa=function(e){try{return ka(e)}catch(e){return"Object"}},Oa=aa,Ta=Pa,ja=TypeError,La=function(e){if(Oa(e))return e;throw new ja(Ta(e)+" is not a function")},Ma=La,Da=Xo,Ia=function(e,t){var r=e[t];return Da(r)?void 0:Ma(r)},Fa=Po,Na=aa,za=la,Ha=TypeError,Ua={exports:{}},$a=_o,Ba=Object.defineProperty,Ga=function(e,t){try{Ba($a,e,{value:t,configurable:!0,writable:!0})}catch(r){$a[e]=t}return t},Va=_o,Wa=Ga,Ka="__core-js_shared__",Ya=Ua.exports=Va[Ka]||Wa(Ka,{});(Ya.versions||(Ya.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 Za=Ua.exports,qa=Za,Xa=function(e,t){return qa[e]||(qa[e]=t||{})},Ja=ea,Qa=Object,ei=function(e){return Qa(Ja(e))},ti=ei,ri=Uo({}.hasOwnProperty),ni=Object.hasOwn||function(e,t){return ri(ti(e),t)},oi=Uo,ai=0,ii=Math.random(),li=oi(1..toString),si=function(e){return"Symbol("+(void 0===e?"":e)+")_"+li(++ai+ii,36)},ci=Xa,ui=ni,pi=si,di=Ea,fi=_a,mi=_o.Symbol,hi=ci("wks"),yi=fi?mi.for||mi:mi&&mi.withoutSetter||pi,gi=function(e){return ui(hi,e)||(hi[e]=di&&ui(mi,e)?mi[e]:yi("Symbol."+e)),hi[e]},vi=Po,bi=la,wi=Ra,Ei=Ia,_i=TypeError,Si=gi("toPrimitive"),xi=function(e,t){if(!bi(e)||wi(e))return e;var r,n=Ei(e,Si);if(n){if(void 0===t&&(t="default"),r=vi(n,e,t),!bi(r)||wi(r))return r;throw new _i("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var r,n;if("string"===t&&Na(r=e.toString)&&!za(n=Fa(r,e)))return n;if(Na(r=e.valueOf)&&!za(n=Fa(r,e)))return n;if("string"!==t&&Na(r=e.toString)&&!za(n=Fa(r,e)))return n;throw new Ha("Can't convert object to primitive value")}(e,t)},Ci=Ra,Ai=function(e){var t=xi(e,"string");return Ci(t)?t:t+""},Ri=la,ki=_o.document,Pi=Ri(ki)&&Ri(ki.createElement),Oi=function(e){return Pi?ki.createElement(e):{}},Ti=Oi,ji=!Co&&!xo((function(){return 7!==Object.defineProperty(Ti("div"),"a",{get:function(){return 7}}).a})),Li=Co,Mi=Po,Di=Oo,Ii=Io,Fi=na,Ni=Ai,zi=ni,Hi=ji,Ui=Object.getOwnPropertyDescriptor;So.f=Li?Ui:function(e,t){if(e=Fi(e),t=Ni(t),Hi)try{return Ui(e,t)}catch(e){}if(zi(e,t))return Ii(!Mi(Di.f,e,t),e[t])};var $i={},Bi=Co&&xo((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Gi=la,Vi=String,Wi=TypeError,Ki=function(e){if(Gi(e))return e;throw new Wi(Vi(e)+" is not an object")},Yi=Co,Zi=ji,qi=Bi,Xi=Ki,Ji=Ai,Qi=TypeError,el=Object.defineProperty,tl=Object.getOwnPropertyDescriptor,rl="enumerable",nl="configurable",ol="writable";$i.f=Yi?qi?function(e,t,r){if(Xi(e),t=Ji(t),Xi(r),"function"==typeof e&&"prototype"===t&&"value"in r&&ol in r&&!r[ol]){var n=tl(e,t);n&&n[ol]&&(e[t]=r.value,r={configurable:nl in r?r[nl]:n[nl],enumerable:rl in r?r[rl]:n[rl],writable:!1})}return el(e,t,r)}:el:function(e,t,r){if(Xi(e),t=Ji(t),Xi(r),Zi)try{return el(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new Qi("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var al=$i,il=Io,ll=Co?function(e,t,r){return al.f(e,t,il(1,r))}:function(e,t,r){return e[t]=r,e},sl={exports:{}},cl=Co,ul=ni,pl=Function.prototype,dl=cl&&Object.getOwnPropertyDescriptor,fl={CONFIGURABLE:ul(pl,"name")&&(!cl||cl&&dl(pl,"name").configurable)},ml=aa,hl=Za,yl=Uo(Function.toString);ml(hl.inspectSource)||(hl.inspectSource=function(e){return yl(e)});var gl,vl,bl,wl=hl.inspectSource,El=aa,_l=_o.WeakMap,Sl=El(_l)&&/native code/.test(String(_l)),xl=si,Cl=Xa("keys"),Al=function(e){return Cl[e]||(Cl[e]=xl(e))},Rl={},kl=Sl,Pl=_o,Ol=la,Tl=ll,jl=ni,Ll=Za,Ml=Al,Dl=Rl,Il="Object already initialized",Fl=Pl.TypeError,Nl=Pl.WeakMap;if(kl||Ll.state){var zl=Ll.state||(Ll.state=new Nl);zl.get=zl.get,zl.has=zl.has,zl.set=zl.set,gl=function(e,t){if(zl.has(e))throw new Fl(Il);return t.facade=e,zl.set(e,t),t},vl=function(e){return zl.get(e)||{}},bl=function(e){return zl.has(e)}}else{var Hl=Ml("state");Dl[Hl]=!0,gl=function(e,t){if(jl(e,Hl))throw new Fl(Il);return t.facade=e,Tl(e,Hl,t),t},vl=function(e){return jl(e,Hl)?e[Hl]:{}},bl=function(e){return jl(e,Hl)}}var Ul={set:gl,get:vl,has:bl,enforce:function(e){return bl(e)?vl(e):gl(e,{})},getterFor:function(e){return function(t){var r;if(!Ol(t)||(r=vl(t)).type!==e)throw new Fl("Incompatible receiver, "+e+" required");return r}}},$l=Uo,Bl=xo,Gl=aa,Vl=ni,Wl=Co,Kl=fl.CONFIGURABLE,Yl=wl,Zl=Ul.enforce,ql=Ul.get,Xl=String,Jl=Object.defineProperty,Ql=$l("".slice),es=$l("".replace),ts=$l([].join),rs=Wl&&!Bl((function(){return 8!==Jl((function(){}),"length",{value:8}).length})),ns=String(String).split("String"),os=sl.exports=function(e,t,r){"Symbol("===Ql(Xl(t),0,7)&&(t="["+es(Xl(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Vl(e,"name")||Kl&&e.name!==t)&&(Wl?Jl(e,"name",{value:t,configurable:!0}):e.name=t),rs&&r&&Vl(r,"arity")&&e.length!==r.arity&&Jl(e,"length",{value:r.arity});try{r&&Vl(r,"constructor")&&r.constructor?Wl&&Jl(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=Zl(e);return Vl(n,"source")||(n.source=ts(ns,"string"==typeof t?t:"")),e};Function.prototype.toString=os((function(){return Gl(this)&&ql(this).source||Yl(this)}),"toString");var as,is=sl.exports,ls=aa,ss=$i,cs=is,us=Ga,ps=function(e,t,r,n){n||(n={});var o=n.enumerable,a=void 0!==n.name?n.name:t;if(ls(r)&&cs(r,a,n),n.global)o?e[t]=r:us(t,r);else{try{n.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=r:ss.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},ds={},fs=Math.ceil,ms=Math.floor,hs=Math.trunc||function(e){var t=+e;return(t>0?ms:fs)(t)},ys=function(e){var t=+e;return t!=t||0===t?0:hs(t)},gs=ys,vs=Math.max,bs=Math.min,ws=ys,Es=Math.min,_s=function(e){return t=e.length,(r=ws(t))>0?Es(r,9007199254740991):0;var t,r},Ss=na,xs=_s,Cs={indexOf:(as=!1,function(e,t,r){var n=Ss(e),o=xs(n);if(0===o)return-1;var a=function(e,t){var r=gs(e);return r<0?vs(r+t,0):bs(r,t)}(r,o);for(as;o>a;a++)if(a in n&&n[a]===t)return a||0;return-1})},As=ni,Rs=na,ks=Cs.indexOf,Ps=Rl,Os=Uo([].push),Ts=function(e,t){var r,n=Rs(e),o=0,a=[];for(r in n)!As(Ps,r)&&As(n,r)&&Os(a,r);for(;t.length>o;)As(n,r=t[o++])&&(~ks(a,r)||Os(a,r));return a},js=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ls=Ts,Ms=js.concat("length","prototype");ds.f=Object.getOwnPropertyNames||function(e){return Ls(e,Ms)};var Ds={};Ds.f=Object.getOwnPropertySymbols;var Is=ua,Fs=ds,Ns=Ds,zs=Ki,Hs=Uo([].concat),Us=Is("Reflect","ownKeys")||function(e){var t=Fs.f(zs(e)),r=Ns.f;return r?Hs(t,r(e)):t},$s=ni,Bs=Us,Gs=So,Vs=$i,Ws=xo,Ks=aa,Ys=/#|\.prototype\./,Zs=function(e,t){var r=Xs[qs(e)];return r===Qs||r!==Js&&(Ks(t)?Ws(t):!!t)},qs=Zs.normalize=function(e){return String(e).replace(Ys,".").toLowerCase()},Xs=Zs.data={},Js=Zs.NATIVE="N",Qs=Zs.POLYFILL="P",ec=Zs,tc=_o,rc=So.f,nc=ll,oc=ps,ac=Ga,ic=function(e,t,r){for(var n=Bs(t),o=Vs.f,a=Gs.f,i=0;i<n.length;i++){var l=n[i];$s(e,l)||r&&$s(r,l)||o(e,l,a(t,l))}},lc=ec,sc=function(e,t){var r,n,o,a,i,l=e.target,s=e.global,c=e.stat;if(r=s?tc:c?tc[l]||ac(l,{}):tc[l]&&tc[l].prototype)for(n in t){if(a=t[n],o=e.dontCallGetSet?(i=rc(r,n))&&i.value:r[n],!lc(s?n:l+(c?".":"#")+n,e.forced)&&void 0!==o){if(typeof a==typeof o)continue;ic(a,o)}(e.sham||o&&o.sham)&&nc(a,"sham",!0),oc(r,n,a,e)}},cc=function(e){return{iterator:e,next:e.next,done:!1}},uc={},pc=Ts,dc=js,fc=Object.keys||function(e){return pc(e,dc)},mc=Co,hc=Bi,yc=$i,gc=Ki,vc=na,bc=fc;uc.f=mc&&!hc?Object.defineProperties:function(e,t){gc(e);for(var r,n=vc(t),o=bc(t),a=o.length,i=0;a>i;)yc.f(e,r=o[i++],n[r]);return e};var wc,Ec=ua("document","documentElement"),_c=Ki,Sc=uc,xc=js,Cc=Rl,Ac=Ec,Rc=Oi,kc="prototype",Pc="script",Oc=Al("IE_PROTO"),Tc=function(){},jc=function(e){return"<"+Pc+">"+e+"</"+Pc+">"},Lc=function(e){e.write(jc("")),e.close();var t=e.parentWindow.Object;return e=null,t},Mc=function(){try{wc=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;Mc="undefined"!=typeof document?document.domain&&wc?Lc(wc):(t=Rc("iframe"),r="java"+Pc+":",t.style.display="none",Ac.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(jc("document.F=Object")),e.close(),e.F):Lc(wc);for(var n=xc.length;n--;)delete Mc[kc][xc[n]];return Mc()};Cc[Oc]=!0;var Dc,Ic,Fc,Nc=Object.create||function(e,t){var r;return null!==e?(Tc[kc]=_c(e),r=new Tc,Tc[kc]=null,r[Oc]=e):r=Mc(),void 0===t?r:Sc.f(r,t)},zc=ps,Hc=!xo((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Uc=ni,$c=aa,Bc=ei,Gc=Hc,Vc=Al("IE_PROTO"),Wc=Object,Kc=Wc.prototype,Yc=Gc?Wc.getPrototypeOf:function(e){var t=Bc(e);if(Uc(t,Vc))return t[Vc];var r=t.constructor;return $c(r)&&t instanceof r?r.prototype:t instanceof Wc?Kc:null},Zc=xo,qc=aa,Xc=la,Jc=Yc,Qc=ps,eu=gi("iterator");[].keys&&"next"in(Fc=[].keys())&&(Ic=Jc(Jc(Fc)))!==Object.prototype&&(Dc=Ic);var tu=!Xc(Dc)||Zc((function(){var e={};return Dc[eu].call(e)!==e}));tu&&(Dc={}),qc(Dc[eu])||Qc(Dc,eu,(function(){return this}));var ru={IteratorPrototype:Dc},nu=Po,ou=Ki,au=Ia,iu=function(e,t,r){var n,o;ou(e);try{if(!(n=au(e,"return"))){if("throw"===t)throw r;return r}n=nu(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return ou(n),r},lu=Po,su=Nc,cu=ll,uu=Ul,pu=Ia,du=ru.IteratorPrototype,fu=function(e,t){return{value:e,done:t}},mu=iu,hu=gi("toStringTag"),yu="IteratorHelper",gu="WrapForValidIterator",vu=uu.set,bu=function(e){var t=uu.getterFor(e?gu:yu);return function(e,t,r){for(var n in t)zc(e,n,t[n],r);return e}(su(du),{next:function(){var r=t(this);if(e)return r.nextHandler();try{var n=r.done?void 0:r.nextHandler();return fu(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=pu(n,"return");return o?lu(o,n):fu(void 0,!0)}if(r.inner)try{mu(r.inner.iterator,"normal")}catch(e){return mu(n,"throw",e)}return mu(n,"normal"),fu(void 0,!0)}})},wu=bu(!0),Eu=bu(!1);cu(Eu,hu,"Iterator Helper");var _u=function(e,t){var r=function(r,n){n?(n.iterator=r.iterator,n.next=r.next):n=r,n.type=t?gu:yu,n.nextHandler=e,n.counter=0,n.done=!1,vu(this,n)};return r.prototype=t?wu:Eu,r},Su=Ki,xu=iu,Cu=function(e,t,r,n){try{return n?t(Su(r)[0],r[1]):t(r)}catch(t){xu(e,"throw",t)}},Au=Po,Ru=La,ku=Ki,Pu=cc,Ou=Cu,Tu=_u((function(){var e=this.iterator,t=ku(Au(this.next,e));if(!(this.done=!!t.done))return Ou(e,this.mapper,[t.value,this.counter++],!0)}));sc({target:"Iterator",proto:!0,real:!0,forced:!1},{map:function(e){return ku(this),Ru(e),new Tu(Pu(this),{mapper:e})}}),Wn.HEAVY,(0,_t.createContext)({});var ju=pa,Lu=TypeError,Mu=is,Du=$i,Iu=Co,Fu=$i,Nu=Io,zu=sc,Hu=_o,Uu=Ki,$u=aa,Bu=Yc,Gu=xo,Vu=ni,Wu=ru.IteratorPrototype,Ku=Co,Yu="constructor",Zu="Iterator",qu=gi("toStringTag"),Xu=TypeError,Ju=Hu[Zu],Qu=!$u(Ju)||Ju.prototype!==Wu||!Gu((function(){Ju({})})),ep=function(){if(function(e,t){if(ju(t,e))return e;throw new Lu("Incorrect invocation")}(this,Wu),Bu(this)===Wu)throw new Xu("Abstract class Iterator not directly constructable")},tp=function(e,t){var r,n,o;Ku?(r=Wu,n=e,o={configurable:!0,get:function(){return t},set:function(t){if(Uu(this),this===Wu)throw new Xu("You can't redefine this property");Vu(this,e)?this[e]=t:function(e,t,r){Iu?Fu.f(e,t,Nu(0,r)):e[t]=r}(this,e,t)}},o.get&&Mu(o.get,n,{getter:!0}),o.set&&Mu(o.set,n,{setter:!0}),Du.f(r,n,o)):Wu[e]=t};Vu(Wu,qu)||tp(qu,Zu),!Qu&&Vu(Wu,Yu)&&Wu[Yu]!==Object||tp(Yu,ep),ep.prototype=Wu,zu({global:!0,constructor:!0,forced:Qu},{Iterator:ep});var rp=sc,np=Po,op=La,ap=Ki,ip=cc,lp=Cu,sp=_u((function(){for(var e,t,r=this.iterator,n=this.predicate,o=this.next;;){if(e=ap(np(o,r)),this.done=!!e.done)return;if(t=e.value,lp(r,n,[t,this.counter++],!0))return t}}));rp({target:"Iterator",proto:!0,real:!0,forced:!1},{filter:function(e){return ap(this),op(e),new sp(ip(this),{predicate:e})}}),(0,_t.createContext)({filters:{},openPanels:[],dispatch:()=>null,expandSingle:!1});var cp=Vo,up=Uo,pp=function(e){if("Function"===cp(e))return up(e)},dp=La,fp=Ao,mp=pp(pp.bind),hp={},yp=hp,gp=gi("iterator"),vp=Array.prototype,bp={};bp[gi("toStringTag")]="z";var wp="[object z]"===String(bp),Ep=aa,_p=Vo,Sp=gi("toStringTag"),xp=Object,Cp="Arguments"===_p(function(){return arguments}()),Ap=wp?_p: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=xp(e),Sp))?r:Cp?_p(t):"Object"===(n=_p(t))&&Ep(t.callee)?"Arguments":n},Rp=Ia,kp=Xo,Pp=hp,Op=gi("iterator"),Tp=function(e){if(!kp(e))return Rp(e,Op)||Rp(e,"@@iterator")||Pp[Ap(e)]},jp=Po,Lp=La,Mp=Ki,Dp=Pa,Ip=Tp,Fp=TypeError,Np=Po,zp=Ki,Hp=Pa,Up=_s,$p=pa,Bp=Tp,Gp=iu,Vp=TypeError,Wp=function(e,t){this.stopped=e,this.result=t},Kp=Wp.prototype,Yp=function(e,t,r){var n,o,a,i,l,s,c,u,p=r&&r.that,d=!(!r||!r.AS_ENTRIES),f=!(!r||!r.IS_RECORD),m=!(!r||!r.IS_ITERATOR),h=!(!r||!r.INTERRUPTED),y=function(e,t){return dp(e),void 0===t?e:fp?mp(e,t):function(){return e.apply(t,arguments)}}(t,p),g=function(e){return n&&Gp(n,"normal",e),new Wp(!0,e)},v=function(e){return d?(zp(e),h?y(e[0],e[1],g):y(e[0],e[1])):h?y(e,g):y(e)};if(f)n=e.iterator;else if(m)n=e;else{if(!(o=Bp(e)))throw new Vp(Hp(e)+" is not iterable");if(void 0!==(u=o)&&(yp.Array===u||vp[gp]===u)){for(a=0,i=Up(e);i>a;a++)if((l=v(e[a]))&&$p(Kp,l))return l;return new Wp(!1)}n=function(e,t){var r=arguments.length<2?Ip(e):t;if(Lp(r))return Mp(jp(r,e));throw new Fp(Dp(e)+" is not iterable")}(e,o)}for(s=f?e.next:n.next;!(c=Np(s,n)).done;){try{l=v(c.value)}catch(e){Gp(n,"throw",e)}if("object"==typeof l&&l&&$p(Kp,l))return l}return new Wp(!1)},Zp=Yp,qp=La,Xp=Ki,Jp=cc;sc({target:"Iterator",proto:!0,real:!0},{find:function(e){Xp(this),qp(e);var t=Jp(this),r=0;return Zp(t,(function(t,n){if(e(t,r++))return n(t)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}}),(0,Ct.__)("24 hours","LION"),(0,Ct.__)("7 days","LION"),(0,Ct.__)("30 days","LION"),(0,Ct.__)("Custom range","LION");const Qp=kn("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 ed({children:e,className:t,omitSeparators:r=!1,surfaceVariant:n=Kn.PRIMARY,size:o="medium"}){return bn(Qp,{className:Ln("it-ui-input-group",t),surfaceVariant:n,omitSeparators:r,size:o,children:e})}Kn.INFO,Kn.SUCCESS,Kn.WARNING_LIGHT,Kn.WARNING_STRICT,Kn.DANGER_LIGHT,Bn.WHITE,Bn.WHITE,Bn.DARK,Bn.MUTED;const td=(0,_t.forwardRef)((function({theme:e,children:t},r){const[n,o]=(0,_t.useState)(1),a=(0,zn.useMergeRefs)([(0,zn.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 l=Number.parseFloat(window.getComputedStyle(r).fontSize);o(1/(l/i))}),[]),r]),i=(0,_t.useMemo)((()=>Object.assign(Object.assign({},e),{getSize:e=>e*n+"rem"})),[e,n]);return bn("div",{ref:a,children:bn(fn,{theme:i,children:t})})}));var rd;!function(e){e[e.INITIAL=0]="INITIAL",e[e.SEARCHING=1]="SEARCHING",e[e.CLEARABLE=2]="CLEARABLE",e[e.SUBMITTABLE=3]="SUBMITTABLE"}(rd||(rd={}));const nd=kn(ed,{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;}"),od=kn(St.TextControl,{target:"e6tk790"})({name:"1e1ncky",styles:"border:none"});(0,_t.forwardRef)(((e,t)=>{const{isSearching:r,className:n,value:o,onChange:a,onCancel:i,onSubmit:l,surfaceVariant:s,omitSeparators:c,size:u="medium"}=e,p=$n(e,["isSearching","className","value","onChange","onCancel","onSubmit","surfaceVariant","omitSeparators","size"]),d=(0,_t.useRef)(null),f=(0,zn.useMergeRefs)([d,t]),m=()=>{var e;null===(e=d.current)||void 0===e||e.focus(),r&&i?i():a("")},h=(({isSearching:e,value:t,onCancel:r,onSubmit:n})=>{const o=t.length>0;return!e&&o&&n?rd.SUBMITTABLE:!o||e&&!r?e?rd.SEARCHING:rd.INITIAL:rd.CLEARABLE})(e);return wn(nd,{className:Ln("it-ui-search-control",n),surfaceVariant:s,omitSeparators:c,size:u,children:[bn(od,Object.assign({value:o,onChange:a,onKeyUp:({keyCode:e})=>e===Un.ESCAPE&&m(),hideLabelFromVision:!0},p,{ref:f})),h===rd.INITIAL&&bn(eo,{icon:Dn}),h===rd.SEARCHING&&bn(eo,{children:bn(St.Spinner,{})}),h===rd.CLEARABLE&&bn(fo,{icon:In,variant:"tertiary",onClick:m,label:(0,Ct.__)("Cancel Search","LION")}),h===rd.SUBMITTABLE&&bn(fo,{icon:Fn,variant:"tertiary",onClick:()=>{var e;null===(e=d.current)||void 0===e||e.focus(),null==l||l()},label:(0,Ct.__)("Submit Search","LION")})]})}));var ad,id,ld=Yp,sd=La,cd=Ki,ud=cc;sc({target:"Iterator",proto:!0,real:!0},{forEach:function(e){cd(this),sd(e);var t=ud(this),r=0;ld(t,(function(t){e(t,r++)}),{IS_RECORD:!0})}}),null===(id=null===(ad=window.wp)||void 0===ad?void 0:ad.components)||void 0===id||id.StyleProvider;const pd={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:Gn.HUGE,2:Gn.EXTRA_LARGE,3:Gn.LARGE,4:Gn.LARGE,5:Gn.NORMAL,6:Gn.NORMAL},heights:{1:Vn.HUGE,2:Vn.EXTRA_LARGE,3:Vn.LARGE,4:Vn.LARGE,5:Vn.NORMAL,6:Vn.NORMAL},variants:{1:Bn.DARK,2:Bn.NORMAL,3:Bn.NORMAL,4:Bn.NORMAL,5:Bn.NORMAL,6:Bn.NORMAL},weights:{1:Wn.HEAVY,2:Wn.NORMAL,3:Wn.HEAVY,4:Wn.HEAVY,5:Wn.HEAVY,6:Wn.HEAVY}},surface:{variant:{[Kn.PRIMARY]:Bn.NORMAL,[Kn.PRIMARY_CONTRAST]:Bn.DARK,[Kn.SECONDARY]:Bn.NORMAL,[Kn.TERTIARY]:Bn.NORMAL,[Kn.QUATERNARY]:Bn.NORMAL,[Kn.UNDER_PAGE]:Bn.NORMAL,[Kn.UNDER_PAGE_CONTRAST]:Bn.DARK,[Kn.PRIMARY_ACCENT]:Bn.WHITE,[Kn.INFO_ACCENT]:Bn.ACCENT,[Kn.INFO_BRIGHT]:Bn.DARK,[Kn.DANGER]:Bn.DARK,[Kn.DANGER_LIGHT]:Bn.DARK,[Kn.WARNING]:Bn.DARK,[Kn.WARNING_LIGHT]:Bn.DARK,[Kn.WARNING_STRICT]:Bn.DARK,[Kn.INFO]:Bn.DARK,[Kn.SUCCESS]:Bn.DARK,[Kn.DARK]:Bn.WHITE,[Kn.GALAXY]:Bn.WHITE},contrast:{[Kn.PRIMARY]:Kn.PRIMARY_CONTRAST,[Kn.UNDER_PAGE]:Kn.UNDER_PAGE_CONTRAST}}},getSize:e=>`${e}rem`};var dd=kn.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){dd[e]=dd(e)}));const fd=dd(St.Modal)`
	.components-modal__header {
		border-color: ${({theme:e})=>e.colors.border.normal};
	}
`,md=dd.div`
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: ${({theme:{getSize:e}})=>e(1.5)};
	padding-top: ${({theme:{getSize:e}})=>e(1.5)};
`,hd=dd.div`
	display: flex;
	gap: ${({theme:{getSize:e}})=>e(.5)};
`,yd=function({title:e,body:t,onContinue:r,onCancel:n,continueText:a,cancelText:i=(0,Ct.__)("Cancel","wp-smtp"),isBusy:l}){return(0,o.createElement)(fd,{title:e,onRequestClose:n,focusOnMount:!0,closeButtonLabel:i},(0,o.createElement)(md,null,(0,o.createElement)(eo,{as:"p",variant:Bn.DARK,text:t}),(0,o.createElement)(hd,null,(0,o.createElement)(fo,{text:i,onClick:n,variant:"secondary"}),(0,o.createElement)(fo,{text:a,onClick:r,variant:"primary",isBusy:l}))))},gd=(0,_t.memo)((()=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},(0,o.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"})))),vd=(0,_t.memo)((()=>(0,o.createElement)("svg",{width:"40",viewBox:"0 0 1000 295",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.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"})))),bd=(0,_t.memo)((()=>(0,o.createElement)("svg",{height:"25",viewBox:"0 0 896 160",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.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,o.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,o.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,o.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,o.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,o.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,o.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,o.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,o.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,o.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,o.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,o.createElement)("path",{d:"M842.289 124.001V58.665H855.307V124.001H842.289ZM842.044 49.2085V36.1904H855.553V49.2085H842.044Z",fill:"#1E1004"}),(0,o.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"})))),wd=(0,_t.memo)((()=>(0,o.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,o.createElement)("style",{type:"text/css"},".st0{fill:#C12126;}"),(0,o.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"})))),Ed=(0,_t.memo)((()=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",fill:"none",viewBox:"0 0 24 24"},(0,o.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,o.createElement)("path",{d:"M5 7L12 13L19 7",stroke:"#1E1E1E",strokeWidth:"1.5"})))),_d=(0,_t.memo)((()=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",id:"Sendgrid",viewBox:"0 0 32 32"},(0,o.createElement)("defs",null,(0,o.createElement)("style",null,".cls-1 {\n          fill: #51a9e3;\n        }")),(0,o.createElement)("g",{id:"Icon_Updated_Keylines","data-name":"Icon, Updated Keylines"},(0,o.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,o.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"}))))),Sd=(0,_t.memo)((()=>(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"40",viewBox:"0 0 64 64"},(0,o.createElement)("defs",null,(0,o.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,o.createElement)("rect",{id:"B",width:"96",height:"96",x:"16",y:"16",rx:"2"})),(0,o.createElement)("g",{transform:"matrix(.492308 0 0 .492308 .492308 .492308)",fill:"none",fillRule:"evenodd"},(0,o.createElement)("use",{xlinkHref:"#A",fill:"#f5f5f5"}),(0,o.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,o.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,o.createElement)("use",{xlinkHref:"#B",fill:"#fedd00"}),(0,o.createElement)("rect",{width:"95",height:"95",x:"16.5",y:"16.5",rx:"2",stroke:"#d9b500"}),(0,o.createElement)("rect",{width:"97",height:"97",x:"15.5",y:"15.5",rx:"2",stroke:"#fff"}),(0,o.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"}))))),xd=window.wp.apiFetch;var Cd=r.n(xd);function Ad(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 Rd=e=>async({dispatch:t})=>{try{const r=await Cd()({path:"/solid-mail/v1/connections",method:"POST",data:e});t({type:kt.SetConnection,connection:r}),t(Td((0,Ct.__)("The connection has been added successfully.","wp-smtp")))}catch(e){const r=Ad(e);"invalid_connection_data"===r.code?t({type:kt.AddErrors,errors:r.additional_errors.reduce(((e,{code:t,message:r})=>(e[t]=r,e)),{})}):t(Td([(0,Ct.__)("Failed to add connection.","wp-smtp"),r.message].filter(Boolean).join(" "),Rt.Error))}},kd=(e,t)=>async({dispatch:r})=>{try{const n=await Cd()({path:`/solid-mail/v1/connections/${e}`,method:"PUT",data:t});r({type:kt.SetConnection,connection:n}),r(Td((0,Ct.__)("The connection has been updated successfully.","wp-smtp")))}catch(e){const t=Ad(e);"invalid_connection_data"===t.code?r({type:kt.AddErrors,errors:t.additional_errors.reduce(((e,{code:t,message:r})=>(e[t]=r,e)),{})}):r(Td([(0,Ct.__)("Failed to update connection.","wp-smtp"),t.message].filter(Boolean).join(" "),Rt.Error))}},Pd=e=>async({dispatch:t})=>{try{await Cd()({path:`/solid-mail/v1/connections/${e}`,method:"DELETE"}),t({type:kt.RemoveConnection,connectionId:e}),t(Td((0,Ct.__)("The connection has been deleted.","wp-smtp")))}catch(e){const r=Ad(e);t(Td([(0,Ct.__)("Failed to delete connection.","wp-smtp"),r.message].filter(Boolean).join(" "),Rt.Error))}};function Od(){return{type:kt.ClearErrors}}function Td(e,t=Rt.Info){return{type:kt.AddToast,toast:{id:Date.now().toString(),message:e,type:t}}}function jd(e){return{type:kt.RemoveToast,toastId:e}}var Ld=Symbol.for("immer-nothing"),Md=Symbol.for("immer-draftable"),Dd=Symbol.for("immer-state");function Id(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Fd=Object.getPrototypeOf;function Nd(e){return!!e&&!!e[Dd]}function zd(e){return!!e&&(Ud(e)||Array.isArray(e)||!!e[Md]||!!e.constructor?.[Md]||Wd(e)||Kd(e))}var Hd=Object.prototype.constructor.toString();function Ud(e){if(!e||"object"!=typeof e)return!1;const t=Fd(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)===Hd}function $d(e,t){0===Bd(e)?Reflect.ownKeys(e).forEach((r=>{t(r,e[r],e)})):e.forEach(((r,n)=>t(n,r,e)))}function Bd(e){const t=e[Dd];return t?t.type_:Array.isArray(e)?1:Wd(e)?2:Kd(e)?3:0}function Gd(e,t){return 2===Bd(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Vd(e,t,r){const n=Bd(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function Wd(e){return e instanceof Map}function Kd(e){return e instanceof Set}function Yd(e){return e.copy_||e.base_}function Zd(e,t){if(Wd(e))return new Map(e);if(Kd(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const r=Ud(e);if(!0===t||"class_only"===t&&!r){const t=Object.getOwnPropertyDescriptors(e);delete t[Dd];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(Fd(e),t)}{const t=Fd(e);if(null!==t&&r)return{...e};const n=Object.create(t);return Object.assign(n,e)}}function qd(e,t=!1){return Jd(e)||Nd(e)||!zd(e)||(Bd(e)>1&&(e.set=e.add=e.clear=e.delete=Xd),Object.freeze(e),t&&Object.entries(e).forEach((([e,t])=>qd(t,!0)))),e}function Xd(){Id(2)}function Jd(e){return Object.isFrozen(e)}var Qd,ef={};function tf(e){const t=ef[e];return t||Id(0),t}function rf(){return Qd}function nf(e,t){t&&(tf("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function of(e){af(e),e.drafts_.forEach(sf),e.drafts_=null}function af(e){e===Qd&&(Qd=e.parent_)}function lf(e){return Qd={drafts_:[],parent_:Qd,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function sf(e){const t=e[Dd];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function cf(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return void 0!==e&&e!==r?(r[Dd].modified_&&(of(t),Id(4)),zd(e)&&(e=uf(t,e),t.parent_||df(t,e)),t.patches_&&tf("Patches").generateReplacementPatches_(r[Dd].base_,e,t.patches_,t.inversePatches_)):e=uf(t,r,[]),of(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Ld?e:void 0}function uf(e,t,r){if(Jd(t))return t;const n=t[Dd];if(!n)return $d(t,((o,a)=>pf(e,n,t,o,a,r))),t;if(n.scope_!==e)return t;if(!n.modified_)return df(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),$d(o,((o,i)=>pf(e,n,t,o,i,r,a))),df(e,t,!1),r&&e.patches_&&tf("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function pf(e,t,r,n,o,a,i){if(Nd(o)){const i=uf(e,o,a&&t&&3!==t.type_&&!Gd(t.assigned_,n)?a.concat(n):void 0);if(Vd(r,n,i),!Nd(i))return;e.canAutoFreeze_=!1}else i&&r.add(o);if(zd(o)&&!Jd(o)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;uf(e,o),t&&t.scope_.parent_||"symbol"==typeof n||!Object.prototype.propertyIsEnumerable.call(r,n)||df(e,o)}}function df(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&qd(t,r)}var ff={get(e,t){if(t===Dd)return e;const r=Yd(e);if(!Gd(r,t))return function(e,t,r){const n=yf(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_||!zd(n)?n:n===hf(e.base_,t)?(vf(e),e.copy_[t]=bf(n,e)):n},has:(e,t)=>t in Yd(e),ownKeys:e=>Reflect.ownKeys(Yd(e)),set(e,t,r){const n=yf(Yd(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const n=hf(Yd(e),t),i=n?.[Dd];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||Gd(e.base_,t)))return!0;vf(e),gf(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!==hf(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,vf(e),gf(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){const r=Yd(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty(){Id(11)},getPrototypeOf:e=>Fd(e.base_),setPrototypeOf(){Id(12)}},mf={};function hf(e,t){const r=e[Dd];return(r?Yd(r):e)[t]}function yf(e,t){if(!(t in e))return;let r=Fd(e);for(;r;){const e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=Fd(r)}}function gf(e){e.modified_||(e.modified_=!0,e.parent_&&gf(e.parent_))}function vf(e){e.copy_||(e.copy_=Zd(e.base_,e.scope_.immer_.useStrictShallowCopy_))}function bf(e,t){const r=Wd(e)?tf("MapSet").proxyMap_(e,t):Kd(e)?tf("MapSet").proxySet_(e,t):function(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:rf(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=n,a=ff;r&&(o=[n],a=mf);const{revoke:i,proxy:l}=Proxy.revocable(o,a);return n.draft_=l,n.revoke_=i,l}(e,t);return(t?t.scope_:rf()).drafts_.push(r),r}function wf(e){if(!zd(e)||Jd(e))return e;const t=e[Dd];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=Zd(e,t.scope_.immer_.useStrictShallowCopy_)}else r=Zd(e,!0);return $d(r,((e,t)=>{Vd(r,e,wf(t))})),t&&(t.finalized_=!1),r}$d(ff,((e,t)=>{mf[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),mf.deleteProperty=function(e,t){return mf.set.call(this,e,t,void 0)},mf.set=function(e,t,r){return ff.set.call(this,e[0],t,r,e[0])};var Ef=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&&Id(6),void 0!==r&&"function"!=typeof r&&Id(7),zd(e)){const o=lf(this),a=bf(e,void 0);let i=!0;try{n=t(a),i=!1}finally{i?of(o):af(o)}return nf(o,r),cf(n,o)}if(!e||"object"!=typeof e){if(n=t(e),void 0===n&&(n=e),n===Ld&&(n=void 0),this.autoFreeze_&&qd(n,!0),r){const t=[],o=[];tf("Patches").generateReplacementPatches_(e,n,t,o),r(t,o)}return n}Id(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;zd(e)||Id(8),Nd(e)&&(Nd(t=e)||Id(10),e=wf(t));const r=lf(this),n=bf(e,void 0);return n[Dd].isManual_=!0,af(r),n}finishDraft(e,t){const r=e&&e[Dd];r&&r.isManual_||Id(9);const{scope_:n}=r;return nf(n,t),cf(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=tf("Patches").applyPatches_;return Nd(e)?n(e,t):this.produce(e,(e=>n(e,t)))}},_f=Ef.produce;Ef.produceWithPatches.bind(Ef),Ef.setAutoFreeze.bind(Ef),Ef.setUseStrictShallowCopy.bind(Ef),Ef.applyPatches.bind(Ef),Ef.createDraft.bind(Ef),Ef.finishDraft.bind(Ef);const Sf={},xf=(0,xt.combineReducers)({connections:function(e=Pt,t){switch(t.type){case kt.SetConnections:return t.connections.reduce(((e,t)=>(e[t.id]=t,e)),{});case kt.SetConnection:return _f(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 kt.RemoveConnection:return _f(e,(e=>{delete e[t.connectionId]}));default:return e}},toasts:function(e=Lt,t){switch(t.type){case kt.AddToast:return _f(e,(e=>{e.push(t.toast)}));case kt.RemoveToast:return e.filter((e=>e.id!==t.toastId));default:return e}},errors:function(e=Tt,t){switch(t.type){case kt.AddErrors:return t.errors;case kt.ClearErrors:return Sf;default:return e}},availableConnections:function(e=Ot){return e},texts:function(e=jt){return e}}),Cf=()=>async({dispatch:e})=>{try{const t=await Cd()({path:"/solid-mail/v1/connections",method:"GET"});e({type:kt.SetConnections,connections:t})}catch(t){e.addToast((0,Ct.__)("Failed to fetch connections.","wp-smtp"),Rt.Error)}},Af=()=>async({resolveSelect:e})=>{await e.getConnections()};function Rf(e){return e.connections}function kf(e){return e.texts}function Pf(e){return e.availableConnections}function Of(e){return e.errors}function Tf(e,t){var r;return null!==(r=e.connections[t])&&void 0!==r?r:null}function jf(e){return e.toasts}const Lf=(0,xt.createSelector)((e=>Object.values(e.connections).filter((e=>e.is_active))),(e=>[...Object.values(e.connections)])),Mf=(0,xt.createSelector)((e=>Object.values(e.connections).find((e=>e.is_default))),(e=>[...Object.values(e.connections)]));function Df(e,t){return e.availableConnections[t]||t}const If=(0,xt.createReduxStore)(Mt,{actions:e,selectors:n,resolvers:t,reducer:xf});(0,xt.register)(If);const Ff=dd.div``,Nf=dd.div`
	display: ${({hideOnSmall:e})=>e?"none":"grid"};
	grid-template-columns: 1fr;
	gap: 1rem;
	align-items: center;
	padding: 20px 32px;
	border-bottom: 1px solid ${({theme:e})=>e.colors.border.normal};

	@media (min-width: ${({theme:e})=>`${e.breaks.small}px`}) {
		grid-template-columns: 2fr 1fr 2fr;
	}

	@media (min-width: ${({theme:e})=>`${e.breaks.medium}px`}) {
		display: grid;
		grid-template-columns: 3fr repeat(2, 1fr) 2fr;
	}
`,zf=dd(St.Flex)`
	margin-bottom: ${({theme:e})=>e.spacing.section};
`,Hf=dd(eo)`
	@media (max-width: ${({theme:e})=>`${e.breaks.medium}px`}) {
		display: ${({hideOnSmall:e})=>e?"none":""};
	}
`,Uf=dd.div`
	display: flex;

	@media (min-width: ${({theme:e})=>`${e.breaks.small}px`}) {
		grid-column: 1 / 4;
	}

	@media (min-width: ${({theme:e})=>`${e.breaks.medium}px`}) {
		grid-column: unset;
	}
`,$f=dd.div`
	width: 40px;
	height: 40px;
	border-radius: 4px;
	margin-right: 20px;

	@media (max-width: ${({theme:e})=>`${e.breaks.medium}px`}) {
		display: none;
	}
`,Bf=dd.div`
	span {
		display: block;
		margin-top: 5px;
	}
`,Gf=dd.div`
	& .components-base-control {
		margin-bottom: 0 !important;
	}

	@media (min-width: ${({theme:e})=>`${e.breaks.medium}px`}) {
		& .components-toggle-control__label {
			display: none;
		}
	}
`,Vf=dd.div`
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
`,Wf=function({connection:e,onChangeActive:t,onChangeDefault:r,onDeleteButtonClick:n,onEditButtonClick:a}){const{connectorDisplayName:i}=(0,xt.useSelect)((t=>({connectorDisplayName:t(If).getConnectorDisplayName(e.name)})),[e.name]);return(0,o.createElement)(Nf,null,(0,o.createElement)(Uf,null,(0,o.createElement)($f,null,"brevo"===e.name&&(0,o.createElement)(vd,null),"sendgrid"===e.name&&(0,o.createElement)(_d,null),"mailgun"===e.name&&(0,o.createElement)(wd,null),"amazon_ses"===e.name&&(0,o.createElement)(gd,null),"postmark"===e.name&&(0,o.createElement)(Sd,null),"other"===e.name&&(0,o.createElement)(Ed,null)),(0,o.createElement)(Bf,null,(0,o.createElement)(eo,{as:"p",weight:500},i),(0,o.createElement)(eo,{variant:"muted"},"-"," ",(0,Ct.sprintf)(/* translators: 1. From Name */ /* translators: 1. From Name */
(0,Ct.__)("From: %s","wp-smtp"),e.from_name)),(0,o.createElement)(eo,{variant:"muted"},"-"," ",(0,Ct.sprintf)(/* translators: 1. Email address */ /* translators: 1. Email address */
(0,Ct.__)("From Email: %s","wp-smtp"),e.from_email)))),(0,o.createElement)(Gf,null,(0,o.createElement)(St.ToggleControl,{label:(0,Ct.__)("Active","wp-smtp"),onChange:r=>{t(e.id,r)},checked:e.is_active})),(0,o.createElement)(Gf,null,(0,o.createElement)(St.ToggleControl,{label:(0,Ct.__)("Default","wp-smtp"),onChange:t=>{r(e.id,t)},checked:e.is_default})),(0,o.createElement)(Vf,null,(0,o.createElement)(fo,{icon:"edit",variant:"secondary",onClick:()=>{a(e.id)}},"Edit"),(0,o.createElement)(fo,{disabled:e.is_active,icon:"trash",onClick:()=>n(e.id),variant:"secondary"},"Delete")))};function Kf(){const{activeConnections:e,defaultConnection:t}=(0,xt.useSelect)((e=>({activeConnections:e(If).getActiveConnections(),defaultConnection:e(If).getDefaultConnection()})),[]);return 0===e.length?(0,o.createElement)(eo,{text:(0,Ct.__)("At least one connection must be activated for Kadence Mail to work.","wp-smtp"),variant:Bn.MUTED}):t?null:(0,o.createElement)(eo,{text:(0,_t.createInterpolateElement)((0,Ct.__)("We suggest enabling a <help>default connection</help> to ensure all emails are delivered by Kadence Mail.","wp-smtp"),{help:(0,o.createElement)("a",{href:"https://go.solidwp.com/mail-set-up-connection",rel:"noreferrer",target:"_blank"})}),variant:Bn.WARNING})}const Yf=function({connections:e}){const{updateConnection:t,deleteConnection:r}=(0,xt.useDispatch)(Mt),[n,a]=(0,_t.useState)(!1),[i,l]=(0,_t.useState)("closed"),[s,c]=(0,_t.useState)(!1),u=Ge(),p=(e,r)=>{t(e,{is_active:r})},d=(e,r)=>{t(e,{is_default:r})},f=e=>{a(e),l("open")},m=e=>{u("edit/"+e)};return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(zf,{justify:"space-between",wrap:!0},(0,o.createElement)("div",null,(0,o.createElement)(Kf,null)),(0,o.createElement)(fo,{variant:"primary",icon:"plus",onClick:()=>{u("add")}},(0,Ct.__)("Add new Connection","wp-smtp"))),(0,o.createElement)(Xn,{variant:"primary"},(0,o.createElement)(Ff,null,(0,o.createElement)(Nf,{hideOnSmall:!0},(0,o.createElement)(Hf,{weight:500},(0,Ct.__)("Provider","wp-smtp")),(0,o.createElement)(Hf,{weight:500},(0,Ct.__)("Active Connection","wp-smtp")),(0,o.createElement)(St.Tooltip,{text:(0,Ct.__)("Default connection is used when an outgoing email address does not match any active connection","wp-smtp")},(0,o.createElement)(Hf,{weight:500,icon:Ft,iconPosition:"right"},(0,Ct.__)("Default Connection","wp-smtp"))),(0,o.createElement)(Hf,{weight:500},(0,Ct.__)("Actions","wp-smtp"))),e.map(((e,t)=>(0,o.createElement)(Wf,{connection:e,key:t,onChangeActive:p,onChangeDefault:d,onDeleteButtonClick:f,onEditButtonClick:m}))))),"open"===i&&!1!==n&&(0,o.createElement)(yd,{onCancel:()=>{l("close"),a(!1)},onContinue:async()=>{c(!0),await r(n),l("close"),a(!1),c(!1)},title:(0,Ct.__)("Confirm Deletion","wp-smtp"),body:(0,Ct.__)("Are you sure you want to delete this item?","wp-smtp"),isBusy:s,continueText:(0,Ct.__)("Delete","wp-smtp")}))},Zf=dd((function({children:e,variant:t="primary",className:r}){const[n,o]=(0,zn.useResizeObserver)(),a=null!==o.width&&o.width<=600;return bn(go.Provider,{value:{variant:t},children:wn(vo,{variant:t,className:Ln("it-ui-callout",r),children:[n,bn(bo,{isColumn:a,children:e})]})})}))`
	padding: ${({theme:e})=>e.spacing.empty_connections};

	span {
		margin-top: ${({theme:e})=>e.spacing.section};
		margin-bottom: ${({theme:e})=>e.spacing.section};
	}
`,qf=dd.div`
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
`,Xf=()=>{const e=Ge(),t=(0,_t.createInterpolateElement)((0,Ct.__)("Looks like you haven't set up any email providers yet. Let's get started! If you need assistance, here is the <help>documentation link</help>.","wp-smtp"),{help:(0,o.createElement)("a",{href:"https://go.solidwp.com/mail-set-up-connection",rel:"noreferrer",target:"_blank"})});return(0,o.createElement)(Zf,null,(0,o.createElement)(qf,null,(0,o.createElement)(eo,{text:t}),(0,o.createElement)(fo,{variant:"primary",icon:"plus",text:(0,Ct.__)("Add Connection","wp-smtp"),onClick:()=>e("add")})))},Jf=dd.div`
	margin-top: ${({theme:e})=>e.spacing.section};
`;var Qf=(0,_t.forwardRef)((({icon:e,size:t=24,...r},n)=>(0,_t.cloneElement)(e,{width:t,height:t,...r,ref:n}))),em=(0,Dt.jsx)(It.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Dt.jsx)(It.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"})});const tm=dd(Xn)`
    display: block;
    margin-bottom: ${({theme:e})=>e.spacing.section};
`,rm=dd.div`
	padding: ${({theme:e})=>e.spacing.box};
	border-bottom: 1px solid ${({theme:e})=>e.colors.border.normal};

	p, span {
		margin-bottom: 5px;
	}
`,nm=dd.label`
	font-size: 16px;
	font-weight: 500;
	color: ${({theme:e})=>e.colors.text.normal};
	display: block;
`,om=dd.div`
	border-bottom: 1px solid ${({theme:e})=>e.colors.solidwp_mail.border};
	padding: ${({theme:e})=>e.spacing.box};
	display: grid;
	grid-template-columns: 1fr 6fr;
	&:last-child {
		border-bottom: none;
	}
	@media (max-width: ${({theme:e})=>`${e.breaks.medium}px`}) {
		grid-template-columns: 1fr;
		gap: 10px;
	}
`,am=dd.div``;function im({label:e,name:t,type:r="text",value:n="",onChange:a,error:i,help:l}){return(0,o.createElement)(om,null,(0,o.createElement)(nm,null,e),(0,o.createElement)(am,null,(0,o.createElement)(St.TextControl,{help:l,name:t,type:r,value:n,onChange:a}),i&&(0,o.createElement)(eo,{variant:"danger"},i)))}function lm({label:e,name:t,value:r="",options:n=[],onChange:a,error:i,help:l}){return(0,o.createElement)(om,null,(0,o.createElement)(nm,null,e),(0,o.createElement)(am,null,(0,o.createElement)(St.RadioControl,{help:l,selected:r,options:n,onChange:a,name:t}),i&&(0,o.createElement)(eo,{variant:"danger"},i)))}function sm({label:e,name:t,options:r=[],value:n="",onChange:a,error:i,help:l}){return(0,o.createElement)(om,null,(0,o.createElement)(nm,null,e),(0,o.createElement)(am,null,(0,o.createElement)(St.SelectControl,{value:n,options:r,help:l,onChange:a,name:t,__nextHasNoMarginBottom:!0}),i&&(0,o.createElement)(eo,{variant:"danger"},i)))}function cm({label:e,name:t,type:r="text",value:n="",onChange:a,error:i,help:l}){return(0,o.createElement)(om,null,(0,o.createElement)(nm,null,e),(0,o.createElement)(am,null,(0,o.createElement)(St.TextareaControl,{help:l,type:r,name:t,value:n,onChange:a}),i&&(0,o.createElement)(eo,{variant:"danger"},i)))}function um({label:e,name:t,value:r=!1,onChange:n,error:a,help:i}){return(0,o.createElement)(om,null,(0,o.createElement)(nm,null,e),(0,o.createElement)(am,null,(0,o.createElement)(St.ToggleControl,{label:"",help:i,checked:r,onChange:n,name:t}),a&&(0,o.createElement)(eo,{variant:"danger"},a)))}class pm{static allowedNames=["other","sendgrid","mailgun","brevo","amazon_ses","postmark"];constructor(e="",t="",r="",n="",o="",a="",i=0,l="",s="no",c="",u=""){if(!pm.allowedNames.includes(t))throw new Error(`Invalid provider name: ${t}. Allowed names are: ${pm.allowedNames.join(", ")}`);this.id=e,this.from_email=n,this.from_name=o,this.smtp_host=a,this.smtp_port=i,this.smtp_secure=l,this.smtp_auth=s,this.smtp_username=c,this.smtp_password=u,this.name=t,this.description=r}}const dm=pm,fm=function({model:e,handleInputChange:t,errors:r,texts:n}){return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(tm,null,(0,o.createElement)(rm,null,(0,o.createElement)(eo,{weight:500,as:"p",size:Gn.LARGE},(0,Ct.__)("Sender Setting","wp-smtp")),(0,o.createElement)(eo,null,n.sender_heading_text)),(0,o.createElement)(im,{label:(0,Ct.__)("From email","wp-smtp"),name:"from_email",type:"email",value:e.from_email,error:r.from_email,onChange:e=>{t("from_email",e)},help:n.from_email}),(0,o.createElement)(im,{label:(0,Ct.__)("From name","wp-smtp"),name:"from_name",value:e.from_name,error:r.from_name,onChange:e=>{t("from_name",e)},help:n.from_name})),(0,o.createElement)(tm,null,(0,o.createElement)(rm,null,(0,o.createElement)(eo,{weight:500,as:"p",size:Gn.LARGE},(0,Ct.__)("SMTP Settings","wp-smtp")),(0,o.createElement)(eo,null,(0,_t.createInterpolateElement)((0,Ct.__)("Amazon SES (Simple Email Service) is a scalable, cost-effective email service for developers and businesses. It supports sending transactional, marketing, and bulk emails with a pay-as-you-go pricing model. For pricing information <pricing>visit here</pricing>. For configuration information, <help>visit here</help>.","wp-smtp"),{pricing:(0,o.createElement)("a",{href:"https://go.solidwp.com/mail-ses-pricing",rel:"noreferrer",target:"_blank"}),help:(0,o.createElement)("a",{href:"https://go.solidwp.com/mail-ses-config",rel:"noreferrer",target:"_blank"})}))),(0,o.createElement)(im,{label:(0,Ct.__)("SMTP Host","wp-smtp"),name:"smtp_host",type:"text",value:e.smtp_host,error:r.smtp_host,onChange:e=>{t("smtp_host",e)},help:n.smtp_host}),(0,o.createElement)(im,{label:(0,Ct.__)("Username","wp-smtp"),name:"smtp_username",type:"text",value:e.smtp_username,error:r.smtp_username,onChange:e=>{t("smtp_username",e)},help:n.smtp_username}),(0,o.createElement)(im,{label:(0,Ct.__)("Password","wp-smtp"),name:"smtp_password",type:"password",value:e.smtp_password,error:r.smtp_password,onChange:e=>{t("smtp_password",e)},help:n.smtp_password})))},mm=function({model:e,handleInputChange:t,errors:r,texts:n}){return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(tm,null,(0,o.createElement)(rm,null,(0,o.createElement)(eo,{weight:500,as:"p",size:Gn.LARGE},(0,Ct.__)("Sender Setting","wp-smtp")),(0,o.createElement)(eo,null,n.sender_heading_text)),(0,o.createElement)(im,{label:(0,Ct.__)("From email","wp-smtp"),name:"from_email",type:"email",value:e.from_email,error:r.from_email,onChange:e=>{t("from_email",e)},help:n.from_email}),(0,o.createElement)(im,{label:(0,Ct.__)("From name","wp-smtp"),name:"from_name",value:e.from_name,error:r.from_name,onChange:e=>{t("from_name",e)},help:n.from_name})),(0,o.createElement)(tm,null,(0,o.createElement)(rm,null,(0,o.createElement)(eo,{weight:500,as:"p",size:Gn.LARGE},(0,Ct.__)("SMTP Settings","wp-smtp")),(0,o.createElement)(eo,null,(0,_t.createInterpolateElement)((0,Ct.__)("Brevo offers flexible pricing for email marketing. For pricing information <pricing>visit here</pricing>. For configuration information, <help>visit here</help>. ","wp-smtp"),{pricing:(0,o.createElement)("a",{href:"https://go.solidwp.com/mail-brevo-pricing",rel:"noreferrer",target:"_blank"}),help:(0,o.createElement)("a",{href:"https://go.solidwp.com/mail-brevo-config",rel:"noreferrer",target:"_blank"})}))),(0,o.createElement)(im,{label:(0,Ct.__)("Username","wp-smtp"),name:"smtp_username",type:"text",value:e.smtp_username,error:r.smtp_username,onChange:e=>{t("smtp_username",e)},help:n.smtp_username}),(0,o.createElement)(im,{label:(0,Ct.__)("Password","wp-smtp"),name:"smtp_password",type:"password",value:e.smtp_password,error:r.smtp_password,onChange:e=>{t("smtp_password",e)},help:n.smtp_password})))},hm=function({model:e,handleInputChange:t,errors:r,texts:n}){return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(tm,null,(0,o.createElement)(rm,null,(0,o.createElement)(eo,{weight:500,as:"p",size:Gn.LARGE},(0,Ct.__)("Sender Setting","wp-smtp")),(0,o.createElement)(eo,null,n.sender_heading_text)),(0,o.createElement)(im,{label:(0,Ct.__)("From email","wp-smtp"),name:"from_email",type:"email",value:e.from_email,error:r.from_email,onChange:e=>{t("from_email",e)},help:n.from_email}),(0,o.createElement)(im,{label:(0,Ct.__)("From name","wp-smtp"),name:"from_name",value:e.from_name,error:r.from_name,onChange:e=>{t("from_name",e)},help:n.from_name})),(0,o.createElement)(tm,null,(0,o.createElement)(rm,null,(0,o.createElement)(eo,{weight:500,as:"p",size:Gn.LARGE},(0,Ct.__)("SMTP Settings","wp-smtp")),(0,o.createElement)(eo,null,(0,_t.createInterpolateElement)((0,Ct.__)("Mailgun is a comprehensive email automation platform with APIs for sending, receiving, and tracking emails. For pricing information <pricing>visit here</pricing>. For configuration information, <help>visit here</help>.","wp-smtp"),{pricing:(0,o.createElement)("a",{href:"https://go.solidwp.com/mail-mailgun-pricing",rel:"noreferrer",target:"_blank"}),help:(0,o.createElement)("a",{href:"https://go.solidwp.com/mail-mailgun-config",rel:"noreferrer",target:"_blank"})}))),(0,o.createElement)(im,{label:(0,Ct.__)("Username","wp-smtp"),name:"smtp_username",type:"text",value:e.smtp_username,error:r.smtp_username,onChange:e=>{t("smtp_username",e)},help:n.smtp_username}),(0,o.createElement)(im,{label:(0,Ct.__)("Password","wp-smtp"),name:"smtp_password",type:"password",value:e.smtp_password,error:r.smtp_password,onChange:e=>{t("smtp_password",e)},help:n.smtp_password})))},ym=function({model:e,handleInputChange:t,errors:r,texts:n}){return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(tm,null,(0,o.createElement)(rm,null,(0,o.createElement)(eo,{weight:500,as:"p",size:Gn.LARGE},(0,Ct.__)("Sender Setting","wp-smtp")),(0,o.createElement)(eo,null,n.sender_heading_text)),(0,o.createElement)(im,{label:(0,Ct.__)("From email","wp-smtp"),name:"from_email",type:"email",value:e.from_email,error:r.from_email,onChange:e=>{t("from_email",e)},help:n.from_email}),(0,o.createElement)(im,{label:(0,Ct.__)("From name","wp-smtp"),name:"from_name",value:e.from_name,error:r.from_name,onChange:e=>{t("from_name",e)},help:n.from_name})),(0,o.createElement)(tm,null,(0,o.createElement)(rm,null,(0,o.createElement)(eo,{weight:500,as:"p",size:Gn.LARGE},(0,Ct.__)("SMTP Settings","wp-smtp")),(0,o.createElement)(eo,null),(0,_t.createInterpolateElement)((0,Ct.__)("Postmark is a reliable email delivery service focused on transactional emails with fast delivery and easy integration. For pricing information <pricing>visit here</pricing>. For configuration information, <help>visit here</help>.","wp-smtp"),{pricing:(0,o.createElement)("a",{href:"https://go.solidwp.com/mail-postmark-pricing",rel:"noreferrer",target:"_blank"}),help:(0,o.createElement)("a",{href:"https://go.solidwp.com/mail-postmark-config",rel:"noreferrer",target:"_blank"})})),(0,o.createElement)(im,{label:(0,Ct.__)("API Key","wp-smtp"),name:"smtp_username",type:"text",value:e.smtp_username,error:r.smtp_username,onChange:e=>{t("smtp_username",e)},help:(0,Ct.__)("Enter your Postmark API Key. You can find this key in your Postmark account under API settings.","wp-smtp")})))},gm=function({model:e,handleInputChange:t,errors:r,texts:n}){return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(tm,null,(0,o.createElement)(rm,null,(0,o.createElement)(eo,{weight:500,as:"p",size:Gn.LARGE},(0,Ct.__)("Sender Setting","wp-smtp")),(0,o.createElement)(eo,null,n.sender_heading_text)),(0,o.createElement)(im,{label:(0,Ct.__)("From email","wp-smtp"),name:"from_email",type:"email",value:e.from_email,error:r.from_email,onChange:e=>{t("from_email",e)},help:n.from_email}),(0,o.createElement)(im,{label:(0,Ct.__)("From name","wp-smtp"),name:"from_name",value:e.from_name,error:r.from_name,onChange:e=>{t("from_name",e)},help:n.from_name})),(0,o.createElement)(tm,null,(0,o.createElement)(rm,null,(0,o.createElement)(eo,{weight:500,as:"p",size:Gn.LARGE},(0,Ct.__)("SMTP Settings","wp-smtp")),(0,o.createElement)(eo,null,(0,_t.createInterpolateElement)((0,Ct.__)("SendGrid is a comprehensive email delivery platform offering robust APIs for sending, receiving, and tracking emails. For pricing information <pricing>visit here</pricing>. For configuration information, <help>visit here</help>.","wp-smtp"),{pricing:(0,o.createElement)("a",{href:"https://go.solidwp.com/mail-sendgrid-pricing",rel:"noreferrer",target:"_blank"}),help:(0,o.createElement)("a",{href:"https://go.solidwp.com/mail-sendgrid-config",rel:"noreferrer",target:"_blank"})}))),(0,o.createElement)(im,{label:(0,Ct.__)("Password","wp-smtp"),name:"smtp_password",type:"password",value:e.smtp_password,error:r.smtp_password,onChange:e=>{t("smtp_password",e)},help:n.smtp_password})))},vm=function({model:e,handleInputChange:t,errors:r,texts:n}){const[a,i]=(0,_t.useState)("yes"===e.smtp_auth);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(tm,null,(0,o.createElement)(rm,null,(0,o.createElement)(eo,{weight:500,as:"p",size:Gn.LARGE},(0,Ct.__)("Sender Setting","wp-smtp")),(0,o.createElement)(eo,null,n.sender_heading_text)),(0,o.createElement)(im,{label:(0,Ct.__)("From email","wp-smtp"),name:"from_email",type:"email",value:e.from_email,error:r.from_email,onChange:e=>t("from_email",e),help:n.from_email}),(0,o.createElement)(im,{label:(0,Ct.__)("From name","wp-smtp"),name:"from_name",value:e.from_name,error:r.from_name,onChange:e=>t("from_name",e),help:n.from_name})),(0,o.createElement)(tm,null,(0,o.createElement)(rm,null,(0,o.createElement)(eo,{weight:500,as:"p",size:Gn.LARGE},(0,Ct.__)("SMTP Settings","wp-smtp")),(0,o.createElement)(eo,null,(0,Ct.__)("SMTP (Simple Mail Transfer Protocol) settings are configurations needed to send emails from an email client or application","wp-smtp"))),(0,o.createElement)(im,{label:(0,Ct.__)("SMTP Host","wp-smtp"),name:"smtp_host",type:"text",value:e.smtp_host,error:r.smtp_host,onChange:e=>t("smtp_host",e),help:n.smtp_host}),(0,o.createElement)(im,{label:(0,Ct.__)("SMTP Port","wp-smtp"),name:"smtp_port",type:"text",value:e.smtp_port,error:r.smtp_port,onChange:e=>t("smtp_port",e),help:n.smtp_port}),(0,o.createElement)(lm,{label:(0,Ct.__)("Secure","wp-smtp"),name:"smtp_secure",options:[{value:"",label:(0,Ct.__)("None","wp-smtp")},{value:"ssl",label:(0,Ct.__)("SSL","wp-smtp")},{value:"tls",label:(0,Ct.__)("TLS","wp-smtp")}],onChange:e=>t("smtp_secure",e),value:e.smtp_secure,error:r.smtp_secure,help:n.smtp_secure}),(0,o.createElement)(um,{label:(0,Ct.__)("SMTP Authentication","wp-smtp"),name:"smtp_auth",value:a,error:r.smtp_auth,onChange:e=>{i(e),t("smtp_auth",!0===e?"yes":"no")},help:n.smtp_auth}),a&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(im,{label:(0,Ct.__)("Username","wp-smtp"),name:"smtp_username",type:"text",value:e.smtp_username,error:r.smtp_username,onChange:e=>t("smtp_username",e),help:n.smtp_username}),(0,o.createElement)(im,{label:(0,Ct.__)("Password","wp-smtp"),name:"smtp_password",type:"password",value:e.smtp_password,error:r.smtp_password,onChange:e=>t("smtp_password",e),help:n.smtp_password}))))},bm=function({model:e,setModel:t}){const r=Ge(),{errors:n,texts:a}=(0,xt.useSelect)((e=>({errors:e(Mt).getErrors(),texts:e(Mt).getTexts()})),[]),{addConnection:i,updateConnection:l,clearErrors:s}=(0,xt.useDispatch)(Mt);(0,_t.useEffect)((()=>{s()}),[s]);const c=(e,r)=>{t((t=>({...t,[e]:r})))};return(0,o.createElement)("form",{method:"post",onSubmit:async function(t){t.preventDefault(),e.id?await l(e.id,e):await i(e),r("/")}},"other"===e.name&&(0,o.createElement)(vm,{model:e,handleInputChange:c,errors:n,texts:a}),"brevo"===e.name&&(0,o.createElement)(mm,{model:e,handleInputChange:c,errors:n,texts:a}),"mailgun"===e.name&&(0,o.createElement)(hm,{model:e,handleInputChange:c,errors:n,texts:a}),"sendgrid"===e.name&&(0,o.createElement)(gm,{model:e,handleInputChange:c,errors:n,texts:a}),"amazon_ses"===e.name&&(0,o.createElement)(fm,{model:e,handleInputChange:c,errors:n,texts:a}),"postmark"===e.name&&(0,o.createElement)(ym,{model:e,handleInputChange:c,errors:n,texts:a}),(0,o.createElement)(St.Flex,{justify:"end",direction:"row",gap:5},(0,o.createElement)(fo,{variant:"secondary",type:"button",onClick:()=>r("/providers")},(0,Ct.__)("Back to Connections","wp-smtp")),(0,o.createElement)(fo,{variant:"primary",type:"submit"},(0,Ct.__)("Save Connection","wp-smtp"))))},wm=dd.div`
	margin-top: ${({theme:e})=>e.spacing.section};
`,Em=dd(vt)`
	display: flex;
	margin-bottom: ${({theme:e})=>e.spacing.section};
	align-items: center;
	text-decoration: none;
	gap: 4px;
`;function _m(){const e=[{value:"",label:(0,Ct.__)("---Select Provider---","wp-smtp")}],t=(0,xt.useSelect)((e=>e(Mt).getAvailableConnections()),[]);return Object.entries(t).forEach((([t,r])=>{e.push({value:t,label:r})})),e}var Sm=r(373);const xm=dd.div`
	margin-top: ${({theme:e})=>e.spacing.section};
`,Cm=window.wp.hooks,Am=dd.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;
	}
`,Rm=()=>(0,Cm.applyFilters)("kadenceMail.showLogo",!0)?(0,o.createElement)(Am,null,(0,o.createElement)(bd,null)):null,km=dd.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;
	}
`,Pm=dd.nav`
	border-bottom: solid 1px ${({theme:e})=>e.colors.border.normal};
	display: flex;
	margin-top: ${({theme:e})=>e.spacing.section};
`,Om=dd(bt)`
	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};
	}
`,Tm=({children:e,headerText:t="",withNav:r=!0})=>(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Rm,null),(0,o.createElement)(km,null,(0,o.createElement)(yo,{level:2},t),r&&(0,o.createElement)(Pm,null,(0,o.createElement)(Om,{to:"/providers"},(0,o.createElement)(eo,{size:Gn.LARGE,weight:600,align:"center"},(0,Ct.__)("Connections","wp-smtp"))),(0,o.createElement)(Om,{to:"/email-test"},(0,o.createElement)(eo,{size:Gn.LARGE,weight:600,align:"center"},(0,Ct.__)("Email Test","wp-smtp")))),e)),jm={...pd,spacing:{section:"1.25rem",box:"2rem",root:"1.25rem 1.25rem 4rem 1.5rem",empty_connections:"80px 0"},colors:{...pd.colors,solidwp_mail:{primary:"#1145C9",border:"#ccc",error:"#f44336"}}},Lm=dd(St.SnackbarList)`
	position: fixed;
	right: 20px;
	bottom: 20px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
`;function Mm(){const e=(0,xt.useSelect)((e=>e(Mt).getToasts()),[]),{removeToast:t}=(0,xt.useDispatch)(Mt);return(0,o.createElement)("div",null,e.length>0&&(0,o.createElement)(Lm,{notices:e.map((e=>({id:e.id,content:e.message,status:e.status}))),onRemove:e=>{t(e)}}))}const Dm=function(){return(0,o.createElement)(td,{theme:jm},(0,o.createElement)(Tm,{headerText:(0,Ct.__)("Email Connections","wp-smtp")},(0,o.createElement)(rt,null),(0,o.createElement)(Mm,null)))},Im=(Fm=[{path:"/providers",element:(0,o.createElement)(Dm,null),children:[{index:!0,element:(0,o.createElement)((function(){const{connections:e,hasFinishedResolution:t}=(0,xt.useSelect)((e=>({connections:e(Mt).getConnections(),hasFinishedResolution:e(Mt).hasFinishedResolution("getConnections")})),[]);if(!t)return(0,o.createElement)(Jf,null,(0,o.createElement)(St.Spinner,null));const r=Object.values(e);return(0,o.createElement)(Jf,null,0===r.length?(0,o.createElement)(Xf,null):(0,o.createElement)(Yf,{connections:r}))}),null)},{path:"add",element:(0,o.createElement)((function(){const[e,t]=(0,_t.useState)(""),[r,n]=(0,_t.useState)(null),{texts:a}=(0,xt.useSelect)((e=>({texts:e(Mt).getTexts()})),[]);return(0,o.createElement)(wm,null,(0,o.createElement)(Em,{to:"/providers"},(0,o.createElement)(Qf,{icon:em,size:20}),(0,o.createElement)(eo,{variant:Bn.ACCENT},(0,Ct.__)("Back to Email Connections","wp-smtp"))),(0,o.createElement)(tm,null,(0,o.createElement)(sm,{label:(0,Ct.__)("Provider","wp-smtp"),value:e,onChange:function(e){if(t(e),e){const t=new dm("",e);n(t)}else n(null)},options:_m(),description:a.select_provider})),null!==r&&(0,o.createElement)(bm,{model:r,setModel:n}))}),null)},{path:"edit/:id",element:(0,o.createElement)((function(){const{id:e}=function(){let{matches:e}=o.useContext(ze),t=e[e.length-1];return t?t.params:{}}(),{connection:t,isResolved:r}=(0,xt.useSelect)((t=>({connection:t(Mt).getConnectionById(e),isResolved:t(Mt).hasFinishedResolution("getConnectionById",[e])})),[e]),[n,a]=(0,_t.useState)(t);return r?null===t?(0,o.createElement)(eo,{variant:Bn.ACCENT},(0,Ct.__)("The connection does not exist.","wp-smtp")):(0,o.createElement)(wm,null,(0,o.createElement)(Em,{to:"/providers"},(0,o.createElement)(Qf,{icon:em,size:20}),(0,o.createElement)(eo,{variant:Bn.ACCENT},(0,Ct.__)("Back to Email Connections","wp-smtp"))),(0,o.createElement)(bm,{model:n,setModel:a})):(0,o.createElement)(St.Spinner,null)}),null)}]},{path:"email-test",element:(0,o.createElement)(Dm,null),children:[{index:!0,element:(0,o.createElement)((()=>{const[e,t]=(0,_t.useState)(""),[r,n]=(0,_t.useState)(""),[a,i]=(0,_t.useState)(""),[l,s]=(0,_t.useState)(""),[c,u]=(0,_t.useState)(!1),[p,d]=(0,_t.useState)([]),{addToast:f}=(0,xt.useDispatch)(Mt);return(0,o.createElement)(xm,null,(0,o.createElement)("form",{method:"post",onSubmit:async t=>{t.preventDefault();try{u(!0);const t=await Cd()({url:(0,Hn.addQueryArgs)(ajaxurl,{action:"solidwp_mail_send_test_email",solidwp_mail_connections_nonce:SolidWPMail.nonces.send_test_email}),method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:(0,Sm.stringify)({from_email:e,to_email:r,subject:a,message:l})});!1===t.success&&t.data.validation?(d(t.data.validation),f((0,Ct.__)("Validation failed. Please check the highlighted fields and try again.","wp-smtp"))):f(t.data.message),u(!1)}catch(e){f((0,Ct.__)("Error sending test email","wp-smtp"))}}},(0,o.createElement)(tm,null,(0,o.createElement)(im,{label:(0,Ct.__)("From Email (optional)","wp-smtp"),value:e,error:p.from_email,onChange:t,help:(0,Ct.__)("Enter the address emails are sent from. Remember, this may determine which connection is used.","wp-smtp")}),(0,o.createElement)(im,{label:(0,Ct.__)("To Email","wp-smtp"),value:r,error:p.to_email,onChange:n,help:(0,Ct.__)("Enter the recipient's email address","wp-smtp")}),(0,o.createElement)(im,{label:(0,Ct.__)("Subject","wp-smtp"),value:a,error:p.subject,onChange:i,help:(0,Ct.__)("Provide the subject of the test email.","wp-smtp")}),(0,o.createElement)(cm,{label:(0,Ct.__)("Message","wp-smtp"),value:l,error:p.message,onChange:s,help:(0,Ct.__)("Enter the email message","wp-smtp")})),(0,o.createElement)(St.Flex,{align:"flex-end",direction:"column"},(0,o.createElement)(St.FlexItem,null,(0,o.createElement)(fo,{disabled:c,isBusy:c,variant:"primary",type:"submit"},(0,Ct.__)("Send Test Email","wp-smtp"))))))}),null)}]},{path:"*",element:(0,o.createElement)((function(e){let{to:t,replace:r,state:n,relative:a}=e;Ue()||c(!1);let{future:i,static:l}=o.useContext(Fe),{matches:s}=o.useContext(ze),{pathname:u}=$e(),p=Ge(),d=I(t,D(s,i.v7_relativeSplatPath),u,"path"===a),f=JSON.stringify(d);return o.useEffect((()=>p(JSON.parse(f),{replace:r,state:n,relative:a})),[p,f,a,r,n]),null}),{to:"/providers",replace:!0})}],function(e){const t=e.window?e.window:"undefined"!=typeof window?window:void 0,r=void 0!==t&&void 0!==t.document&&void 0!==t.document.createElement,n=!r;let o;if(c(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=Q;let a,s,p={},f=g(e.routes,o,void 0,p),m=e.basename||"/",y=e.unstable_dataStrategy||le,b=i({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,_=null,S=null,x=null,C=null!=e.hydrationData,A=v(f,e.history.location,m),R=null;if(null==A){let t=ve(404,{pathname:e.history.location.pathname}),{matches:r,route:n}=ge(f);A=r,R={[n.id]:t}}let k,P=A.some((e=>e.route.lazy)),O=A.some((e=>e.route.loader));if(P)s=!1;else if(O)if(b.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,r=e.hydrationData?e.hydrationData.errors:null,n=e=>!e.route.loader||("function"!=typeof e.route.loader||!0!==e.route.loader.hydrate)&&(t&&void 0!==t[e.route.id]||r&&void 0!==r[e.route.id]);if(r){let e=A.findIndex((e=>void 0!==r[e.route.id]));s=A.slice(0,e+1).every(n)}else s=A.every(n)}else s=null!=e.hydrationData;else s=!0;let T,L={historyAction:e.history.action,location:e.history.location,matches:A,initialized:s,navigation:Z,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},M=l.Pop,D=!1,I=!1,F=new Map,N=null,z=!1,H=!1,B=[],G=[],V=new Map,W=0,oe=-1,ae=new Map,pe=new Set,de=new Map,we=new Map,ke=new Set,Me=new Map,De=new Map,Ie=!1;function Fe(e,t){void 0===t&&(t={}),L=i({},L,e);let r=[],n=[];b.v7_fetcherPersist&&L.fetchers.forEach(((e,t)=>{"idle"===e.state&&(ke.has(t)?n.push(t):r.push(t))})),[...E].forEach((e=>e(L,{deletedFetchers:n,unstable_viewTransitionOpts:t.viewTransitionOpts,unstable_flushSync:!0===t.flushSync}))),b.v7_fetcherPersist&&(r.forEach((e=>L.fetchers.delete(e))),n.forEach((e=>Ke(e))))}function Ne(t,r,n){var o,s;let c,{flushSync:u}=void 0===n?{}:n,p=null!=L.actionData&&null!=L.navigation.formMethod&&Ce(L.navigation.formMethod)&&"loading"===L.navigation.state&&!0!==(null==(o=t.state)?void 0:o._isRedirect);c=r.actionData?Object.keys(r.actionData).length>0?r.actionData:null:p?L.actionData:null;let d=r.loaderData?me(L.loaderData,r.loaderData,r.matches||[],r.errors):L.loaderData,m=L.blockers;m.size>0&&(m=new Map(m),m.forEach(((e,t)=>m.set(t,X))));let h,y=!0===D||null!=L.navigation.formMethod&&Ce(L.navigation.formMethod)&&!0!==(null==(s=t.state)?void 0:s._isRedirect);if(a&&(f=a,a=void 0),z||M===l.Pop||(M===l.Push?e.history.push(t,t.state):M===l.Replace&&e.history.replace(t,t.state)),M===l.Pop){let e=F.get(L.location.pathname);e&&e.has(t.pathname)?h={currentLocation:L.location,nextLocation:t}:F.has(t.pathname)&&(h={currentLocation:t,nextLocation:L.location})}else if(I){let e=F.get(L.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),F.set(L.location.pathname,e)),h={currentLocation:L.location,nextLocation:t}}Fe(i({},r,{actionData:c,loaderData:d,historyAction:M,location:t,initialized:!0,navigation:Z,revalidation:"idle",restoreScrollPosition:nt(t,r.matches||L.matches),preventScrollReset:y,blockers:m}),{viewTransitionOpts:h,flushSync:!0===u}),M=l.Pop,D=!1,I=!1,z=!1,H=!1,B=[],G=[]}async function ze(t,r,n){T&&T.abort(),T=null,M=t,z=!0===(n&&n.startUninterruptedRevalidation),function(e,t){if(_&&x){let r=rt(e,t);_[r]=x()}}(L.location,L.matches),D=!0===(n&&n.preventScrollReset),I=!0===(n&&n.enableViewTransition);let o=a||f,s=n&&n.overrideNavigation,c=v(o,r,m),u=!0===(n&&n.flushSync);if(!c){let e=ve(404,{pathname:r.pathname}),{matches:t,route:n}=ge(o);return tt(),void Ne(r,{matches:t,loaderData:{},errors:{[n.id]:e}},{flushSync:u})}if(L.initialized&&!H&&(p=L.location,d=r,p.pathname===d.pathname&&p.search===d.search&&(""===p.hash?""!==d.hash:p.hash===d.hash||""!==d.hash))&&!(n&&n.submission&&Ce(n.submission.formMethod)))return void Ne(r,{matches:c},{flushSync:u});var p,d;T=new AbortController;let y,g=ue(e.history,r,T.signal,n&&n.submission);if(n&&n.pendingError)y=[ye(c).route.id,{type:h.error,error:n.pendingError}];else if(n&&n.submission&&Ce(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);Fe({navigation:i},{flushSync:!0===o.flushSync});let s=Pe(n,t);if(s.route.action||s.route.lazy){if(a=(await Ue("action",e,[s],n))[0],e.signal.aborted)return{shortCircuited:!0}}else a={type:h.error,error:ve(405,{method:e.method,pathname:t.pathname,routeId:s.route.id})};if(Se(a)){let t;return t=o&&null!=o.replace?o.replace:ce(a.response.headers.get("Location"),new URL(e.url),m)===L.location.pathname+L.location.search,await He(e,a,{submission:r,replace:t}),{shortCircuited:!0}}if(Ee(a))throw ve(400,{type:"defer-action"});if(_e(a)){let e=ye(n,s.route.id);return!0!==(o&&o.replace)&&(M=l.Push),{pendingActionResult:[e.route.id,a]}}return{pendingActionResult:[s.route.id,a]}}(g,r,n.submission,c,{replace:n.replace,flushSync:u});if(t.shortCircuited)return;y=t.pendingActionResult,s=Te(r,n.submission),u=!1,g=ue(e.history,g.url,g.signal)}let{shortCircuited:w,loaderData:E,errors:S}=await async function(t,r,n,o,l,s,c,u,p,d){let h=o||Te(r,l),y=l||s||Oe(h),g=a||f,[v,w]=ne(e.history,L,n,y,r,b.v7_partialHydration&&!0===u,b.unstable_skipActionErrorRevalidation,H,B,G,ke,de,pe,g,m,d);if(tt((e=>!(n&&n.some((t=>t.route.id===e)))||v&&v.some((t=>t.route.id===e)))),oe=++W,0===v.length&&0===w.length){let e=qe();return Ne(r,i({matches:n,loaderData:{},errors:d&&_e(d[1])?{[d[0]]:d[1].error}:null},he(d),e?{fetchers:new Map(L.fetchers)}:{}),{flushSync:p}),{shortCircuited:!0}}if(!(z||b.v7_partialHydration&&u)){let e;w.forEach((e=>{let t=L.fetchers.get(e.key),r=je(void 0,t?t.data:void 0);L.fetchers.set(e.key,r)})),d&&!_e(d[1])?e={[d[0]]:d[1].data}:L.actionData&&(e=0===Object.keys(L.actionData).length?null:L.actionData),Fe(i({navigation:h},void 0!==e?{actionData:e}:{},w.length>0?{fetchers:new Map(L.fetchers)}:{}),{flushSync:p})}w.forEach((e=>{V.has(e.key)&&Ye(e.key),e.controller&&V.set(e.key,e.controller)}));let E=()=>w.forEach((e=>Ye(e.key)));T&&T.signal.addEventListener("abort",E);let{loaderResults:_,fetcherResults:S}=await $e(L.matches,n,v,w,t);if(t.signal.aborted)return{shortCircuited:!0};T&&T.signal.removeEventListener("abort",E),w.forEach((e=>V.delete(e.key)));let x=be([..._,...S]);if(x){if(x.idx>=v.length){let e=w[x.idx-v.length].key;pe.add(e)}return await He(t,x.result,{replace:c}),{shortCircuited:!0}}let{loaderData:C,errors:A}=fe(L,n,v,_,d,w,S,Me);Me.forEach(((e,t)=>{e.subscribe((r=>{(r||e.done)&&Me.delete(t)}))})),b.v7_partialHydration&&u&&L.errors&&Object.entries(L.errors).filter((e=>{let[t]=e;return!v.some((e=>e.route.id===t))})).forEach((e=>{let[t,r]=e;A=Object.assign(A||{},{[t]:r})}));let R=qe(),k=Xe(oe),P=R||k||w.length>0;return i({loaderData:C,errors:A},P?{fetchers:new Map(L.fetchers)}:{})}(g,r,c,s,n&&n.submission,n&&n.fetcherSubmission,n&&n.replace,n&&!0===n.initialHydration,u,y);w||(T=null,Ne(r,i({matches:c},he(y),{loaderData:E,errors:S})))}async function He(n,o,a){let{submission:s,fetcherSubmission:u,replace:p}=void 0===a?{}:a;o.response.headers.has("X-Remix-Revalidate")&&(H=!0);let f=o.response.headers.get("Location");c(f,"Expected a Location header on the redirect Response"),f=ce(f,new URL(n.url),m);let h=d(L.location,f,{_isRedirect:!0});if(r){let r=!1;if(o.response.headers.has("X-Remix-Reload-Document"))r=!0;else if(J.test(f)){const n=e.history.createURL(f);r=n.origin!==t.location.origin||null==j(n.pathname,m)}if(r)return void(p?t.location.replace(f):t.location.assign(f))}T=null;let y=!0===p?l.Replace:l.Push,{formMethod:g,formAction:v,formEncType:b}=L.navigation;!s&&!u&&g&&v&&b&&(s=Oe(L.navigation));let w=s||u;if(Y.has(o.response.status)&&w&&Ce(w.formMethod))await ze(y,h,{submission:i({},w,{formAction:f}),preventScrollReset:D});else{let e=Te(h,s);await ze(y,h,{overrideNavigation:e,fetcherSubmission:u,preventScrollReset:D})}}async function Ue(e,t,r,n){try{let a=await async function(e,t,r,n,o,a,l,s){let u=n.reduce(((e,t)=>e.add(t.route.id)),new Set),p=new Set,d=await e({matches:o.map((e=>{let n=u.has(e.route.id);return i({},e,{shouldLoad:n,resolve:o=>(p.add(e.route.id),n?async function(e,t,r,n,o,a,i){let l,s,u=n=>{let o,l=new Promise(((e,t)=>o=t));s=()=>o(),t.signal.addEventListener("abort",s);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,l])};try{let a=r.route[e];if(r.route.lazy)if(a){let e,[t]=await Promise.all([u(a).catch((t=>{e=t})),ie(r.route,o,n)]);if(void 0!==e)throw e;l=t}else{if(await ie(r.route,o,n),a=r.route[e],!a){if("action"===e){let e=new URL(t.url),n=e.pathname+e.search;throw ve(405,{method:t.method,pathname:n,routeId:r.route.id})}return{type:h.data,result:void 0}}l=await u(a)}else{if(!a){let e=new URL(t.url);throw ve(404,{pathname:e.pathname+e.search})}l=await u(a)}c(void 0!==l.result,"You defined "+("action"===e?"an action":"a loader")+' for route "'+r.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(e){return{type:h.error,result:e}}finally{s&&t.signal.removeEventListener("abort",s)}return l}(t,r,e,a,l,o,s):Promise.resolve({type:h.data,result:void 0}))})})),request:r,params:o[0].params,context:s});return o.forEach((e=>c(p.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.'))),d.filter(((e,t)=>u.has(o[t].route.id)))}(y,e,t,r,n,p,o);return await Promise.all(a.map(((e,o)=>{if(function(e){return xe(e.result)&&K.has(e.result.status)}(e)){let a=e.result;return{type:h.redirect,response:se(a,t,r[o].route.id,n,m,b.v7_relativeSplatPath)}}return async function(e){let{result:t,type:r,status:n}=e;if(xe(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:h.error,error:e}}return r===h.error?{type:h.error,error:new U(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:h.data,data:e,statusCode:t.status,headers:t.headers}}return r===h.error?{type:h.error,error:t,statusCode:$(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:h.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:h.data,data:t,statusCode:n};var o,a}(e)})))}catch(e){return r.map((()=>({type:h.error,error:e})))}}async function $e(t,r,n,o,a){let[i,...l]=await Promise.all([n.length?Ue("loader",a,n,r):[],...o.map((t=>t.matches&&t.match&&t.controller?Ue("loader",ue(e.history,t.path,t.controller.signal),[t.match],t.matches).then((e=>e[0])):Promise.resolve({type:h.error,error:ve(404,{pathname:t.path})})))]);return await Promise.all([Ae(t,n,i,i.map((()=>a.signal)),!1,L.loaderData),Ae(t,o.map((e=>e.match)),l,o.map((e=>e.controller?e.controller.signal:null)),!0)]),{loaderResults:i,fetcherResults:l}}function Be(){H=!0,B.push(...tt()),de.forEach(((e,t)=>{V.has(t)&&(G.push(t),Ye(t))}))}function Ge(e,t,r){void 0===r&&(r={}),L.fetchers.set(e,t),Fe({fetchers:new Map(L.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function Ve(e,t,r,n){void 0===n&&(n={});let o=ye(L.matches,t);Ke(e),Fe({errors:{[o.route.id]:r},fetchers:new Map(L.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function We(e){return b.v7_fetcherPersist&&(we.set(e,(we.get(e)||0)+1),ke.has(e)&&ke.delete(e)),L.fetchers.get(e)||q}function Ke(e){let t=L.fetchers.get(e);!V.has(e)||t&&"loading"===t.state&&ae.has(e)||Ye(e),de.delete(e),ae.delete(e),pe.delete(e),ke.delete(e),L.fetchers.delete(e)}function Ye(e){let t=V.get(e);c(t,"Expected fetch controller: "+e),t.abort(),V.delete(e)}function Ze(e){for(let t of e){let e=Le(We(t).data);L.fetchers.set(t,e)}}function qe(){let e=[],t=!1;for(let r of pe){let n=L.fetchers.get(r);c(n,"Expected fetcher: "+r),"loading"===n.state&&(pe.delete(r),e.push(r),t=!0)}return Ze(e),t}function Xe(e){let t=[];for(let[r,n]of ae)if(n<e){let e=L.fetchers.get(r);c(e,"Expected fetcher: "+r),"loading"===e.state&&(Ye(r),ae.delete(r),t.push(r))}return Ze(t),t.length>0}function Je(e){L.blockers.delete(e),De.delete(e)}function Qe(e,t){let r=L.blockers.get(e)||X;c("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(L.blockers);n.set(e,t),Fe({blockers:n})}function et(e){let{currentLocation:t,nextLocation:r,historyAction:n}=e;if(0===De.size)return;De.size>1&&u(!1,"A router only supports one blocker at a time");let o=Array.from(De.entries()),[a,i]=o[o.length-1],l=L.blockers.get(a);return l&&"proceeding"===l.state?void 0:i({currentLocation:t,nextLocation:r,historyAction:n})?a:void 0}function tt(e){let t=[];return Me.forEach(((r,n)=>{e&&!e(n)||(r.cancel(),t.push(n),Me.delete(n))})),t}function rt(e,t){return S&&S(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,L.loaderData))))||e.key}function nt(e,t){if(_){let r=rt(e,t),n=_[r];if("number"==typeof n)return n}return null}return k={get basename(){return m},get future(){return b},get state(){return L},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);u(0===De.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:L.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(L.blockers);e.set(a,X),Fe({blockers:e})}})):ze(r,n)})),r){!function(e,t){try{let r=e.sessionStorage.getItem(ee);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,F);let e=()=>function(e,t){if(t.size>0){let r={};for(let[e,n]of t)r[e]=[...n];try{e.sessionStorage.setItem(ee,JSON.stringify(r))}catch(e){u(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}}(t,F);t.addEventListener("pagehide",e),N=()=>t.removeEventListener("pagehide",e)}return L.initialized||ze(l.Pop,L.location,{initialHydration:!0}),k},subscribe:function(e){return E.add(e),()=>E.delete(e)},enableScrollRestoration:function(e,t,r){if(_=e,x=t,S=r||null,!C&&L.navigation===Z){C=!0;let e=nt(L.location,L.matches);null!=e&&Fe({restoreScrollPosition:e})}return()=>{_=null,x=null,S=null}},navigate:async function t(r,n){if("number"==typeof r)return void e.history.go(r);let o=te(L.location,L.matches,m,b.v7_prependBasename,r,b.v7_relativeSplatPath,null==n?void 0:n.fromRouteId,null==n?void 0:n.relative),{path:a,submission:s,error:c}=re(b.v7_normalizeFormMethod,!1,o,n),u=L.location,p=d(L.location,a,n&&n.state);p=i({},p,e.history.encodeLocation(p));let f=n&&null!=n.replace?n.replace:void 0,h=l.Push;!0===f?h=l.Replace:!1===f||null!=s&&Ce(s.formMethod)&&s.formAction===L.location.pathname+L.location.search&&(h=l.Replace);let y=n&&"preventScrollReset"in n?!0===n.preventScrollReset:void 0,g=!0===(n&&n.unstable_flushSync),v=et({currentLocation:u,nextLocation:p,historyAction:h});if(!v)return await ze(h,p,{submission:s,pendingError:c,preventScrollReset:y,replace:n&&n.replace,enableViewTransition:n&&n.unstable_viewTransition,flushSync:g});Qe(v,{state:"blocked",location:p,proceed(){Qe(v,{state:"proceeding",proceed:void 0,reset:void 0,location:p}),t(r,n)},reset(){let e=new Map(L.blockers);e.set(v,X),Fe({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)&&Ye(t);let l=!0===(i&&i.unstable_flushSync),s=a||f,u=te(L.location,L.matches,m,b.v7_prependBasename,o,b.v7_relativeSplatPath,r,null==i?void 0:i.relative),p=v(s,u,m);if(!p)return void Ve(t,r,ve(404,{pathname:u}),{flushSync:l});let{path:d,submission:h,error:y}=re(b.v7_normalizeFormMethod,!0,u,i);if(y)return void Ve(t,r,y,{flushSync:l});let g=Pe(p,d);D=!0===(i&&i.preventScrollReset),h&&Ce(h.formMethod)?async function(t,r,n,o,i,l,s){if(Be(),de.delete(t),!o.route.action&&!o.route.lazy){let e=ve(405,{method:s.formMethod,pathname:n,routeId:r});return void Ve(t,r,e,{flushSync:l})}let u=L.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}}(s,u),{flushSync:l});let p=new AbortController,d=ue(e.history,n,p.signal,s);V.set(t,p);let h=W,y=(await Ue("action",d,[o],i))[0];if(d.signal.aborted)return void(V.get(t)===p&&V.delete(t));if(b.v7_fetcherPersist&&ke.has(t)){if(Se(y)||_e(y))return void Ge(t,Le(void 0))}else{if(Se(y))return V.delete(t),oe>h?void Ge(t,Le(void 0)):(pe.add(t),Ge(t,je(s)),He(d,y,{fetcherSubmission:s}));if(_e(y))return void Ve(t,r,y.error)}if(Ee(y))throw ve(400,{type:"defer-action"});let g=L.navigation.location||L.location,w=ue(e.history,g,p.signal),E=a||f,_="idle"!==L.navigation.state?v(E,L.navigation.location,m):L.matches;c(_,"Didn't find any matches after fetcher action");let S=++W;ae.set(t,S);let x=je(s,y.data);L.fetchers.set(t,x);let[C,A]=ne(e.history,L,_,s,g,!1,b.unstable_skipActionErrorRevalidation,H,B,G,ke,de,pe,E,m,[o.route.id,y]);A.filter((e=>e.key!==t)).forEach((e=>{let t=e.key,r=L.fetchers.get(t),n=je(void 0,r?r.data:void 0);L.fetchers.set(t,n),V.has(t)&&Ye(t),e.controller&&V.set(t,e.controller)})),Fe({fetchers:new Map(L.fetchers)});let R=()=>A.forEach((e=>Ye(e.key)));p.signal.addEventListener("abort",R);let{loaderResults:k,fetcherResults:P}=await $e(L.matches,_,C,A,w);if(p.signal.aborted)return;p.signal.removeEventListener("abort",R),ae.delete(t),V.delete(t),A.forEach((e=>V.delete(e.key)));let O=be([...k,...P]);if(O){if(O.idx>=C.length){let e=A[O.idx-C.length].key;pe.add(e)}return He(w,O.result)}let{loaderData:j,errors:D}=fe(L,L.matches,C,k,void 0,A,P,Me);if(L.fetchers.has(t)){let e=Le(y.data);L.fetchers.set(t,e)}Xe(S),"loading"===L.navigation.state&&S>oe?(c(M,"Expected pending action"),T&&T.abort(),Ne(L.navigation.location,{matches:_,loaderData:j,errors:D,fetchers:new Map(L.fetchers)})):(Fe({errors:D,loaderData:me(L.loaderData,j,_,D),fetchers:new Map(L.fetchers)}),H=!1)}(t,r,d,g,p,l,h):(de.set(t,{routeId:r,path:d}),async function(t,r,n,o,a,i,l){let s=L.fetchers.get(t);Ge(t,je(l,s?s.data:void 0),{flushSync:i});let u=new AbortController,p=ue(e.history,n,u.signal);V.set(t,u);let d=W,f=(await Ue("loader",p,[o],a))[0];if(Ee(f)&&(f=await Re(f,p.signal,!0)||f),V.get(t)===u&&V.delete(t),!p.signal.aborted){if(!ke.has(t))return Se(f)?oe>d?void Ge(t,Le(void 0)):(pe.add(t),void await He(p,f)):void(_e(f)?Ve(t,r,f.error):(c(!Ee(f),"Unhandled fetcher deferred data"),Ge(t,Le(f.data))));Ge(t,Le(void 0))}}(t,r,d,g,p,l,h))},revalidate:function(){Be(),Fe({revalidation:"loading"}),"submitting"!==L.navigation.state&&("idle"!==L.navigation.state?ze(M||L.historyAction,L.navigation.location,{overrideNavigation:L.navigation}):ze(L.historyAction,L.location,{startUninterruptedRevalidation:!0}))},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:We,deleteFetcher:function(e){if(b.v7_fetcherPersist){let t=(we.get(e)||0)-1;t<=0?(we.delete(e),ke.add(e)):we.set(e,t)}else Ke(e);Fe({fetchers:new Map(L.fetchers)})},dispose:function(){w&&w(),N&&N(),E.clear(),T&&T.abort(),L.fetchers.forEach(((e,t)=>Ke(t))),L.blockers.forEach(((e,t)=>Je(t)))},getBlocker:function(e,t){let r=L.blockers.get(e)||X;return De.get(e)!==t&&De.set(e,t),r},deleteBlocker:Je,_internalFetchControllers:V,_internalActiveDeferreds:Me,_internalSetRoutes:function(e){p={},a=g(e,o,void 0,p)}},k}({basename:void 0,future:ot({},void 0,{v7_prependBasename:!0}),history:(Nm={window:void 0},void 0===Nm&&(Nm={}),function(e,t,r,n){void 0===n&&(n={});let{window:o=document.defaultView,v5Compat:a=!1}=n,u=o.history,m=l.Pop,h=null,y=g();function g(){return(u.state||{idx:null}).idx}function v(){m=l.Pop;let e=g(),t=null==e?null:e-y;y=e,h&&h({action:m,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:f(e);return r=r.replace(/ $/,"%20"),c(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==y&&(y=0,u.replaceState(i({},u.state,{idx:y}),""));let w={get action(){return m},get location(){return e(o,u)},listen(e){if(h)throw new Error("A history only accepts one active listener");return o.addEventListener(s,v),h=e,()=>{o.removeEventListener(s,v),h=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){m=l.Push;let n=d(w.location,e,t);r&&r(n,e),y=g()+1;let i=p(n,y),s=w.createHref(n);try{u.pushState(i,"",s)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;o.location.assign(s)}a&&h&&h({action:m,location:w.location,delta:1})},replace:function(e,t){m=l.Replace;let n=d(w.location,e,t);r&&r(n,e),y=g();let o=p(n,y),i=w.createHref(n);u.replaceState(o,"",i),a&&h&&h({action:m,location:w.location,delta:0})},go:e=>u.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),d("",{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:f(t))}),(function(e,t){u("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),Nm)),hydrationData:function(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=ot({},t,{errors:st(t.errors)})),t}(),routes:Fm,mapRouteProperties:function(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:o.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:o.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:o.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t},unstable_dataStrategy:void 0,window:void 0}).initialize());var Fm,Nm;const zm=document.getElementById("solidwp-mail-root");(0,_t.createRoot)(zm).render((0,o.createElement)((function(e){let{fallbackElement:t,router:r,future:n}=e,[a,i]=o.useState(r.state),[l,s]=o.useState(),[c,u]=o.useState({isTransitioning:!1}),[p,d]=o.useState(),[f,m]=o.useState(),[h,y]=o.useState(),g=o.useRef(new Map),{v7_startTransition:v}=n||{},b=o.useCallback((e=>{v?function(e){pt?pt(e):e()}(e):e()}),[v]),w=o.useCallback(((e,t)=>{let{deletedFetchers:n,unstable_flushSync:o,unstable_viewTransitionOpts:a}=t;n.forEach((e=>g.current.delete(e))),e.fetchers.forEach(((e,t)=>{void 0!==e.data&&g.current.set(t,e.data)}));let l=null==r.window||null==r.window.document||"function"!=typeof r.window.document.startViewTransition;if(a&&!l){if(o){ft((()=>{f&&(p&&p.resolve(),f.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((()=>{d(void 0),m(void 0),s(void 0),u({isTransitioning:!1})}))})),void ft((()=>m(t)))}f?(p&&p.resolve(),f.skipTransition(),y({state:e,currentLocation:a.currentLocation,nextLocation:a.nextLocation})):(s(e),u({isTransitioning:!0,flushSync:!1,currentLocation:a.currentLocation,nextLocation:a.nextLocation}))}else o?ft((()=>i(e))):b((()=>i(e)))}),[r.window,f,p,g,b]);o.useLayoutEffect((()=>r.subscribe(w)),[r,w]),o.useEffect((()=>{c.isTransitioning&&!c.flushSync&&d(new mt)}),[c]),o.useEffect((()=>{if(p&&l&&r.window){let e=l,t=p.promise,n=r.window.document.startViewTransition((async()=>{b((()=>i(e))),await t}));n.finished.finally((()=>{d(void 0),m(void 0),s(void 0),u({isTransitioning:!1})})),m(n)}}),[b,l,p,r.window]),o.useEffect((()=>{p&&l&&a.location.key===l.location.key&&p.resolve()}),[p,f,a.location,l]),o.useEffect((()=>{!c.isTransitioning&&h&&(s(h.state),u({isTransitioning:!0,flushSync:!1,currentLocation:h.currentLocation,nextLocation:h.nextLocation}),y(void 0))}),[c.isTransitioning,h]),o.useEffect((()=>{}),[]);let E=o.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]),_=r.basename||"/",S=o.useMemo((()=>({router:r,navigator:E,static:!1,basename:_})),[r,E,_]);return o.createElement(o.Fragment,null,o.createElement(De.Provider,{value:S},o.createElement(Ie.Provider,{value:a},o.createElement(ut.Provider,{value:g.current},o.createElement(ct.Provider,{value:c},o.createElement(nt,{basename:_,location:a.location,navigationType:a.historyAction,navigator:E,future:{v7_relativeSplatPath:r.future.v7_relativeSplatPath}},a.initialized||r.future.v7_partialHydration?o.createElement(ht,{routes:r.routes,future:r.future,state:a}):t))))),null)}),{router:Im}))})()})();

Youez - 2016 - github.com/yon3zu
LinuXploit