Plugin Directory

Changeset 3165290


Ignore:
Timestamp:
10/08/2024 10:58:34 PM (18 months ago)
Author:
heynota
Message:

Update to version 0.12.2 from GitHub

Location:
nota-ai-tools
Files:
16 edited
1 copied

Legend:

Unmodified
Added
Removed
  • nota-ai-tools/tags/0.12.2/dist/postTools.asset.php

    r3147208 r3165290  
    1 <?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-date', 'wp-edit-post', 'wp-element', 'wp-plugins'), 'version' => '39bb5d057abf658c75b3');
     1<?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-date', 'wp-edit-post', 'wp-element', 'wp-plugins'), 'version' => '70e3afa8d80b59539ecd');
  • nota-ai-tools/tags/0.12.2/dist/postTools.css

    r3143034 r3165290  
    747747      background-color: rgb(103 187 187 / var(--tw-bg-opacity));
    748748}
     749.nota :is(.ntw-bg-status-error-100) {
     750      --tw-bg-opacity: 1;
     751      background-color: rgb(253 238 234 / var(--tw-bg-opacity));
     752}
    749753.nota :is(.ntw-bg-status-informational-100) {
    750754      --tw-bg-opacity: 1;
     
    10011005      color: rgb(0 141 142 / var(--tw-text-opacity));
    10021006}
    1003 .nota :is(.ntw-text-status-error-100) {
    1004       --tw-text-opacity: 1;
    1005       color: rgb(253 238 234 / var(--tw-text-opacity));
     1007.nota :is(.ntw-text-status-error-900) {
     1008      --tw-text-opacity: 1;
     1009      color: rgb(237 86 41 / var(--tw-text-opacity));
    10061010}
    10071011.nota :is(.ntw-text-typography-dark) {
  • nota-ai-tools/tags/0.12.2/dist/postTools.js

    r3147208 r3165290  
    1 !function(){var e={924:function(e,t,n){"use strict";var r=n(210),a=n(559),o=a(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?a(n):n}},559:function(e,t,n){"use strict";var r=n(612),a=n(210),o=a("%Function.prototype.apply%"),i=a("%Function.prototype.call%"),s=a("%Reflect.apply%",!0)||r.call(i,o),l=a("%Object.getOwnPropertyDescriptor%",!0),c=a("%Object.defineProperty%",!0),u=a("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){var t=s(r,i,arguments);return l&&c&&l(t,"length").configurable&&c(t,"length",{value:1+u(0,e.length-(arguments.length-1))}),t};var d=function(){return s(r,o,arguments)};c?c(e.exports,"apply",{value:d}):e.exports.apply=d},573:function(e){"use strict";var t=/["'&<>]/;e.exports=function(e){var n,r=""+e,a=t.exec(r);if(!a)return r;var o="",i=0,s=0;for(i=a.index;i<r.length;i++){switch(r.charCodeAt(i)){case 34:n="&quot;";break;case 38:n="&amp;";break;case 39:n="&#39;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}s!==i&&(o+=r.substring(s,i)),s=i+1,o+=n}return s!==i?o+r.substring(s,i):o}},648:function(e){"use strict";var t=Array.prototype.slice,n=Object.prototype.toString;e.exports=function(e){var r=this;if("function"!=typeof r||"[object Function]"!==n.call(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var a,o=t.call(arguments,1),i=Math.max(0,r.length-o.length),s=[],l=0;l<i;l++)s.push("$"+l);if(a=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof a){var n=r.apply(this,o.concat(t.call(arguments)));return Object(n)===n?n:this}return r.apply(e,o.concat(t.call(arguments)))})),r.prototype){var c=function(){};c.prototype=r.prototype,a.prototype=new c,c.prototype=null}return a}},612:function(e,t,n){"use strict";var r=n(648);e.exports=Function.prototype.bind||r},210:function(e,t,n){"use strict";var r,a=SyntaxError,o=Function,i=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var c=function(){throw new i},u=l?function(){try{return c}catch(e){try{return l(arguments,"callee").get}catch(e){return c}}}():c,d=n(405)(),f=Object.getPrototypeOf||function(e){return e.__proto__},p={},h="undefined"==typeof Uint8Array?r:f(Uint8Array),m={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?f([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?f(f([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?f((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?f((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?f(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":a,"%ThrowTypeError%":u,"%TypedArray%":h,"%TypeError%":i,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};try{null.error}catch(e){var C=f(f(e));m["%Error.prototype%"]=C}var y=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var a=e("%AsyncGenerator%");a&&(n=f(a.prototype))}return m[t]=n,n},g={"%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"]},v=n(612),b=n(642),w=v.call(Function.call,Array.prototype.concat),E=v.call(Function.apply,Array.prototype.splice),x=v.call(Function.call,String.prototype.replace),M=v.call(Function.call,String.prototype.slice),L=v.call(Function.call,RegExp.prototype.exec),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,A=/\\(\\)?/g,O=function(e,t){var n,r=e;if(b(g,r)&&(r="%"+(n=g[r])[0]+"%"),b(m,r)){var o=m[r];if(o===p&&(o=y(r)),void 0===o&&!t)throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new a("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new i('"allowMissing" argument must be a boolean');if(null===L(/^%?[^%]*%?$/,e))throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=M(e,0,1),n=M(e,-1);if("%"===t&&"%"!==n)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new a("invalid intrinsic syntax, expected opening `%`");var r=[];return x(e,S,(function(e,t,n,a){r[r.length]=n?x(a,A,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=O("%"+r+"%",t),s=o.name,c=o.value,u=!1,d=o.alias;d&&(r=d[0],E(n,w([0,1],d)));for(var f=1,p=!0;f<n.length;f+=1){var h=n[f],C=M(h,0,1),y=M(h,-1);if(('"'===C||"'"===C||"`"===C||'"'===y||"'"===y||"`"===y)&&C!==y)throw new a("property names with quotes must have matching quotes");if("constructor"!==h&&p||(u=!0),b(m,s="%"+(r+="."+h)+"%"))c=m[s];else if(null!=c){if(!(h in c)){if(!t)throw new i("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&f+1>=n.length){var g=l(c,h);c=(p=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:c[h]}else p=b(c,h),c=c[h];p&&!u&&(m[s]=c)}}return c}},405:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,a=n(419);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&a()}},419:function(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"),n=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(n))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 r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(e,t);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},642:function(e,t,n){"use strict";var r=n(612);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},631:function(e,t,n){var r="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&a&&"function"==typeof a.get?a.get:null,i=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&l&&"function"==typeof l.get?l.get:null,u=s&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,m=Object.prototype.toString,C=Function.prototype.toString,y=String.prototype.match,g=String.prototype.slice,v=String.prototype.replace,b=String.prototype.toUpperCase,w=String.prototype.toLowerCase,E=RegExp.prototype.test,x=Array.prototype.concat,M=Array.prototype.join,L=Array.prototype.slice,S=Math.floor,A="function"==typeof BigInt?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,P="function"==typeof Symbol&&"object"==typeof Symbol.iterator,k="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,Z=Object.prototype.propertyIsEnumerable,H=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function R(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||E.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-S(-e):S(e);if(r!==e){var a=String(r),o=g.call(t,a.length+1);return v.call(a,n,"$&_")+"."+v.call(v.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(t,n,"$&_")}var j=n(654),F=j.custom,N=U(F)?F:null;function I(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function _(e){return v.call(String(e),/"/g,"&quot;")}function D(e){return!("[object Array]"!==z(e)||k&&"object"==typeof e&&k in e)}function V(e){return!("[object RegExp]"!==z(e)||k&&"object"==typeof e&&k in e)}function U(e){if(P)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!T)return!1;try{return T.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,r,a){var s=n||{};if(q(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(q(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 l=!q(s,"customInspect")||s.customInspect;if("boolean"!=typeof l&&"symbol"!==l)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(q(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(q(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=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 W(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var b=String(t);return m?R(t,b):b}if("bigint"==typeof t){var E=String(t)+"n";return m?R(t,E):E}var S=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=S&&S>0&&"object"==typeof t)return D(t)?"[Array]":"[Object]";var O,F=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=M.call(Array(e.indent+1)," ")}return{base:n,prev:M.call(Array(t+1),n)}}(s,r);if(void 0===a)a=[];else if(G(a,t)>=0)return"[Circular]";function B(t,n,o){if(n&&(a=L.call(a)).push(n),o){var i={depth:s.depth};return q(s,"quoteStyle")&&(i.quoteStyle=s.quoteStyle),e(t,i,r+1,a)}return e(t,s,r+1,a)}if("function"==typeof t&&!V(t)){var Q=function(e){if(e.name)return e.name;var t=y.call(C.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),ee=X(t,B);return"[Function"+(Q?": "+Q:" (anonymous)")+"]"+(ee.length>0?" { "+M.call(ee,", ")+" }":"")}if(U(t)){var te=P?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):T.call(t);return"object"!=typeof t||P?te:K(te)}if((O=t)&&"object"==typeof O&&("undefined"!=typeof HTMLElement&&O instanceof HTMLElement||"string"==typeof O.nodeName&&"function"==typeof O.getAttribute)){for(var ne="<"+w.call(String(t.nodeName)),re=t.attributes||[],ae=0;ae<re.length;ae++)ne+=" "+re[ae].name+"="+I(_(re[ae].value),"double",s);return ne+=">",t.childNodes&&t.childNodes.length&&(ne+="..."),ne+"</"+w.call(String(t.nodeName))+">"}if(D(t)){if(0===t.length)return"[]";var oe=X(t,B);return F&&!function(e){for(var t=0;t<e.length;t++)if(G(e[t],"\n")>=0)return!1;return!0}(oe)?"["+Y(oe,F)+"]":"[ "+M.call(oe,", ")+" ]"}if(function(e){return!("[object Error]"!==z(e)||k&&"object"==typeof e&&k in e)}(t)){var ie=X(t,B);return"cause"in Error.prototype||!("cause"in t)||Z.call(t,"cause")?0===ie.length?"["+String(t)+"]":"{ ["+String(t)+"] "+M.call(ie,", ")+" }":"{ ["+String(t)+"] "+M.call(x.call("[cause]: "+B(t.cause),ie),", ")+" }"}if("object"==typeof t&&l){if(N&&"function"==typeof t[N]&&j)return j(t,{depth:S-r});if("symbol"!==l&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.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,n){se.push(B(n,t,!0)+" => "+B(e,t))})),J("Map",o.call(t),se,F)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var le=[];return u&&u.call(t,(function(e){le.push(B(e,t))})),J("Set",c.call(t),le,F)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return $("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return $("WeakSet");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{return p.call(e),!0}catch(e){}return!1}(t))return $("WeakRef");if(function(e){return!("[object Number]"!==z(e)||k&&"object"==typeof e&&k in e)}(t))return K(B(Number(t)));if(function(e){if(!e||"object"!=typeof e||!A)return!1;try{return A.call(e),!0}catch(e){}return!1}(t))return K(B(A.call(t)));if(function(e){return!("[object Boolean]"!==z(e)||k&&"object"==typeof e&&k in e)}(t))return K(h.call(t));if(function(e){return!("[object String]"!==z(e)||k&&"object"==typeof e&&k in e)}(t))return K(B(String(t)));if(!function(e){return!("[object Date]"!==z(e)||k&&"object"==typeof e&&k in e)}(t)&&!V(t)){var ce=X(t,B),ue=H?H(t)===Object.prototype:t instanceof Object||t.constructor===Object,de=t instanceof Object?"":"null prototype",fe=!ue&&k&&Object(t)===t&&k in t?g.call(z(t),8,-1):de?"Object":"",pe=(ue||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(fe||de?"["+M.call(x.call([],fe||[],de||[]),": ")+"] ":"");return 0===ce.length?pe+"{}":F?pe+"{"+Y(ce,F)+"}":pe+"{ "+M.call(ce,", ")+" }"}return String(t)};var B=Object.prototype.hasOwnProperty||function(e){return e in this};function q(e,t){return B.call(e,t)}function z(e){return m.call(e)}function G(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function W(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return W(g.call(e,0,t.maxStringLength),t)+r}return I(v.call(v.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Q),"single",t)}function Q(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+b.call(t.toString(16))}function K(e){return"Object("+e+")"}function $(e){return e+" { ? }"}function J(e,t,n,r){return e+" ("+t+") {"+(r?Y(n,r):M.call(n,", "))+"}"}function Y(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+M.call(e,","+n)+"\n"+t.prev}function X(e,t){var n=D(e),r=[];if(n){r.length=e.length;for(var a=0;a<e.length;a++)r[a]=q(e,a)?t(e[a],e):""}var o,i="function"==typeof O?O(e):[];if(P){o={};for(var s=0;s<i.length;s++)o["$"+i[s]]=i[s]}for(var l in e)q(e,l)&&(n&&String(Number(l))===l&&l<e.length||P&&o["$"+l]instanceof Symbol||(E.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if("function"==typeof O)for(var c=0;c<i.length;c++)Z.call(e,i[c])&&r.push("["+t(i[c])+"]: "+t(e[i[c]],e));return r}},798:function(e){"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC3986";e.exports={default:r,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:r}},129:function(e,t,n){"use strict";var r=n(261),a=n(235),o=n(798);e.exports={formats:o,parse:a,stringify:r}},235:function(e,t,n){"use strict";var r=n(769),a=Object.prototype.hasOwnProperty,o=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),c=s?o.slice(0,s.index):o,u=[];if(c){if(!n.plainObjects&&a.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var d=0;n.depth>0&&null!==(s=i.exec(o))&&d<n.depth;){if(d+=1,!n.plainObjects&&a.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+o.slice(s.index)+"]"),function(e,t,n,r){for(var a=r?t:l(t,n),o=e.length-1;o>=0;--o){var i,s=e[o];if("[]"===s&&n.parseArrays)i=[].concat(a);else{i=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(c,10);n.parseArrays||""!==c?!isNaN(u)&&s!==c&&String(u)===c&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(i=[])[u]=a:"__proto__"!==c&&(i[c]=a):i={0:a}}a=i}return a}(u,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return i;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;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,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,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,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 n.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var n,c={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,f=u.split(t.delimiter,d),p=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n<f.length;++n)0===f[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[n]?h="utf-8":"utf8=%26%2310003%3B"===f[n]&&(h="iso-8859-1"),p=n,n=f.length);for(n=0;n<f.length;++n)if(n!==p){var m,C,y=f[n],g=y.indexOf("]="),v=-1===g?y.indexOf("="):g+1;-1===v?(m=t.decoder(y,i.decoder,h,"key"),C=t.strictNullHandling?null:""):(m=t.decoder(y.slice(0,v),i.decoder,h,"key"),C=r.maybeMap(l(y.slice(v+1),t),(function(e){return t.decoder(e,i.decoder,h,"value")}))),C&&t.interpretNumericEntities&&"iso-8859-1"===h&&(C=s(C)),y.indexOf("[]=")>-1&&(C=o(C)?[C]:C),a.call(c,m)?c[m]=r.combine(c[m],C):c[m]=C}return c}(e,n):e,d=n.plainObjects?Object.create(null):{},f=Object.keys(u),p=0;p<f.length;++p){var h=f[p],m=c(h,u[h],n,"string"==typeof e);d=r.merge(d,m,n)}return!0===n.allowSparse?d:r.compact(d)}},261:function(e,t,n){"use strict";var r=n(478),a=n(769),o=n(798),i=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=Array.prototype.push,u=function(e,t){c.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,f=o.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},h={},m=function e(t,n,o,i,s,c,d,f,m,C,y,g,v,b,w,E){for(var x,M=t,L=E,S=0,A=!1;void 0!==(L=L.get(h))&&!A;){var O=L.get(t);if(S+=1,void 0!==O){if(O===S)throw new RangeError("Cyclic object value");A=!0}void 0===L.get(h)&&(S=0)}if("function"==typeof f?M=f(n,M):M instanceof Date?M=y(M):"comma"===o&&l(M)&&(M=a.maybeMap(M,(function(e){return e instanceof Date?y(e):e}))),null===M){if(s)return d&&!b?d(n,p.encoder,w,"key",g):n;M=""}if("string"==typeof(x=M)||"number"==typeof x||"boolean"==typeof x||"symbol"==typeof x||"bigint"==typeof x||a.isBuffer(M))return d?[v(b?n:d(n,p.encoder,w,"key",g))+"="+v(d(M,p.encoder,w,"value",g))]:[v(n)+"="+v(String(M))];var T,P=[];if(void 0===M)return P;if("comma"===o&&l(M))b&&d&&(M=a.maybeMap(M,d)),T=[{value:M.length>0?M.join(",")||null:void 0}];else if(l(f))T=f;else{var k=Object.keys(M);T=m?k.sort(m):k}for(var Z=i&&l(M)&&1===M.length?n+"[]":n,H=0;H<T.length;++H){var R=T[H],j="object"==typeof R&&void 0!==R.value?R.value:M[R];if(!c||null!==j){var F=l(M)?"function"==typeof o?o(Z,R):Z:Z+(C?"."+R:"["+R+"]");E.set(t,S);var N=r();N.set(h,E),u(P,e(j,F,o,i,s,c,"comma"===o&&b&&l(M)?null:d,f,m,C,y,g,v,b,w,N))}}return P};e.exports=function(e,t){var n,a=e,c=function(e){if(!e)return p;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||p.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 n=o.default;if(void 0!==e.format){if(!i.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],a=p.filter;return("function"==typeof e.filter||l(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:void 0===e.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:void 0===e.delimiter?p.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:p.encode,encoder:"function"==typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:a,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}}(t);"function"==typeof c.filter?a=(0,c.filter)("",a):l(c.filter)&&(n=c.filter);var d,f=[];if("object"!=typeof a||null===a)return"";d=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var h=s[d];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var C="comma"===h&&t&&t.commaRoundTrip;n||(n=Object.keys(a)),c.sort&&n.sort(c.sort);for(var y=r(),g=0;g<n.length;++g){var v=n[g];c.skipNulls&&null===a[v]||u(f,m(a[v],v,h,C,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,y))}var b=f.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:""}},769:function(e,t,n){"use strict";var r=n(798),a=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var a=t[r],i=a.obj[a.prop],s=Object.keys(i),l=0;l<s.length;++l){var c=s[l],u=i[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:i,prop:c}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],a=0;a<n.length;++a)void 0!==n[a]&&r.push(n[a]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,a,o){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",c=0;c<s.length;++c){var u=s.charCodeAt(c);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===r.RFC1738&&(40===u||41===u)?l+=s.charAt(c):u<128?l+=i[u]:u<2048?l+=i[192|u>>6]+i[128|63&u]:u<55296||u>=57344?l+=i[224|u>>12]+i[128|u>>6&63]+i[128|63&u]:(c+=1,u=65536+((1023&u)<<10|1023&s.charCodeAt(c)),l+=i[240|u>>18]+i[128|u>>12&63]+i[128|u>>6&63]+i[128|63&u])}return l},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(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!a.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var i=t;return o(t)&&!o(n)&&(i=s(t,r)),o(t)&&o(n)?(n.forEach((function(n,o){if(a.call(t,o)){var i=t[o];i&&"object"==typeof i&&n&&"object"==typeof n?t[o]=e(i,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var i=n[o];return a.call(t,o)?t[o]=e(t[o],i,r):t[o]=i,t}),i)}}},590:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(!o(e[l],i[l]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!o(l.value[1],i.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(e[l]!==i[l])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(i,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!o(e[c[l]],i[c[l]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},478:function(e,t,n){"use strict";var r=n(210),a=n(924),o=n(631),i=r("%TypeError%"),s=r("%WeakMap%",!0),l=r("%Map%",!0),c=a("WeakMap.prototype.get",!0),u=a("WeakMap.prototype.set",!0),d=a("WeakMap.prototype.has",!0),f=a("Map.prototype.get",!0),p=a("Map.prototype.set",!0),h=a("Map.prototype.has",!0),m=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new i("Side channel does not contain "+o(e))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return c(e,r)}else if(l){if(t)return f(t,r)}else if(n)return function(e,t){var n=m(e,t);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return d(e,r)}else if(l){if(t)return h(t,r)}else if(n)return function(e,t){return!!m(e,t)}(n,r);return!1},set:function(r,a){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),u(e,r,a)):l?(t||(t=new l),p(t,r,a)):(n||(n={key:{},next:null}),function(e,t,n){var r=m(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,a))}};return r}},250:function(e,t,n){"use strict";var r=n(196),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,i=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!a(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),a=r[0].inst,u=r[1];return s((function(){a.value=n,a.getSnapshot=t,c(a)&&u({inst:a})}),[e,n,t]),i((function(){return c(a)&&u({inst:a}),e((function(){c(a)&&u({inst:a})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},688:function(e,t,n){"use strict";e.exports=n(250)},196:function(e){"use strict";e.exports=window.React},654:function(){}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=window.wp.element,t=window.wp.plugins,r=n(196),a=n.n(r);const o=r.createContext(void 0),i=r.createContext(!1);function s(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=o),window.ReactQueryClientContext):o)}const l=({context:e}={})=>{const t=r.useContext(s(e,r.useContext(i)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},c=({client:e,children:t,context:n,contextSharing:a=!1})=>{r.useEffect((()=>(e.mount(),()=>{e.unmount()})),[e]);const o=s(n,a);return r.createElement(i.Provider,{value:!n&&a},r.createElement(o.Provider,{value:e},t))};var u=window.wp.components,d=window.wp.editPost;function f(e,t){return function(){return e.apply(t,arguments)}}const{toString:p}=Object.prototype,{getPrototypeOf:h}=Object,m=(C=Object.create(null),e=>{const t=p.call(e);return C[t]||(C[t]=t.slice(8,-1).toLowerCase())});var C;const y=e=>(e=e.toLowerCase(),t=>m(t)===e),g=e=>t=>typeof t===e,{isArray:v}=Array,b=g("undefined"),w=y("ArrayBuffer"),E=g("string"),x=g("function"),M=g("number"),L=e=>null!==e&&"object"==typeof e,S=e=>{if("object"!==m(e))return!1;const t=h(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},A=y("Date"),O=y("File"),T=y("Blob"),P=y("FileList"),k=y("URLSearchParams");function Z(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,a;if("object"!=typeof e&&(e=[e]),v(e))for(r=0,a=e.length;r<a;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;let i;for(r=0;r<o;r++)i=a[r],t.call(null,e[i],i,e)}}function H(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,a=n.length;for(;a-- >0;)if(r=n[a],t===r.toLowerCase())return r;return null}const R="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,j=e=>!b(e)&&e!==R,F=(N="undefined"!=typeof Uint8Array&&h(Uint8Array),e=>N&&e instanceof N);var N;const I=y("HTMLFormElement"),_=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),D=y("RegExp"),V=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Z(n,((n,a)=>{!1!==t(n,a,e)&&(r[a]=n)})),Object.defineProperties(e,r)},U="abcdefghijklmnopqrstuvwxyz",B="0123456789",q={DIGIT:B,ALPHA:U,ALPHA_DIGIT:U+U.toUpperCase()+B};var z={isArray:v,isArrayBuffer:w,isBuffer:function(e){return null!==e&&!b(e)&&null!==e.constructor&&!b(e.constructor)&&x(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||x(e.append)&&("formdata"===(t=m(e))||"object"===t&&x(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&w(e.buffer),t},isString:E,isNumber:M,isBoolean:e=>!0===e||!1===e,isObject:L,isPlainObject:S,isUndefined:b,isDate:A,isFile:O,isBlob:T,isRegExp:D,isFunction:x,isStream:e=>L(e)&&x(e.pipe),isURLSearchParams:k,isTypedArray:F,isFileList:P,forEach:Z,merge:function e(){const{caseless:t}=j(this)&&this||{},n={},r=(r,a)=>{const o=t&&H(n,a)||a;S(n[o])&&S(r)?n[o]=e(n[o],r):S(r)?n[o]=e({},r):v(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Z(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(Z(t,((t,r)=>{n&&x(t)?e[r]=f(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let a,o,i;const s={};if(t=t||{},null==e)return t;do{for(a=Object.getOwnPropertyNames(e),o=a.length;o-- >0;)i=a[o],r&&!r(i,e,t)||s[i]||(t[i]=e[i],s[i]=!0);e=!1!==n&&h(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:m,kindOfTest:y,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(v(e))return e;let t=e.length;if(!M(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:I,hasOwnProperty:_,hasOwnProp:_,reduceDescriptors:V,freezeMethods:e=>{V(e,((t,n)=>{if(x(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];x(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return v(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:H,global:R,isContextDefined:j,ALPHABET:q,generateString:(e=16,t=q.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&x(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(L(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const a=v(e)?[]:{};return Z(e,((e,t)=>{const o=n(e,r+1);!b(o)&&(a[t]=o)})),t[r]=void 0,a}}return e};return n(e,0)}};function G(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a)}z.inherits(G,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:z.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const W=G.prototype,Q={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Q[e]={value:e}})),Object.defineProperties(G,Q),Object.defineProperty(W,"isAxiosError",{value:!0}),G.from=(e,t,n,r,a,o)=>{const i=Object.create(W);return z.toFlatObject(e,i,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),G.call(i,e.message,t,n,r,a),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};var K=G;function $(e){return z.isPlainObject(e)||z.isArray(e)}function J(e){return z.endsWith(e,"[]")?e.slice(0,-2):e}function Y(e,t,n){return e?e.concat(t).map((function(e,t){return e=J(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const X=z.toFlatObject(z,{},null,(function(e){return/^is[A-Z]/.test(e)}));var ee=function(e,t,n){if(!z.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!z.isUndefined(t[e])}))).metaTokens,a=n.visitor||c,o=n.dots,i=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&z.isSpecCompliantForm(t);if(!z.isFunction(a))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(z.isDate(e))return e.toISOString();if(!s&&z.isBlob(e))throw new K("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(e)||z.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,a){let s=e;if(e&&!a&&"object"==typeof e)if(z.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(z.isArray(e)&&function(e){return z.isArray(e)&&!e.some($)}(e)||(z.isFileList(e)||z.endsWith(n,"[]"))&&(s=z.toArray(e)))return n=J(n),s.forEach((function(e,r){!z.isUndefined(e)&&null!==e&&t.append(!0===i?Y([n],r,o):null===i?n:n+"[]",l(e))})),!1;return!!$(e)||(t.append(Y(a,n,o),l(e)),!1)}const u=[],d=Object.assign(X,{defaultVisitor:c,convertValue:l,isVisitable:$});if(!z.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!z.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),z.forEach(n,(function(n,o){!0===(!(z.isUndefined(n)||null===n)&&a.call(t,n,z.isString(o)?o.trim():o,r,d))&&e(n,r?r.concat(o):[o])})),u.pop()}}(e),t};function te(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ne(e,t){this._pairs=[],e&&ee(e,this,t)}const re=ne.prototype;re.append=function(e,t){this._pairs.push([e,t])},re.toString=function(e){const t=e?function(t){return e.call(this,t,te)}:te;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var ae=ne;function oe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ie(e,t,n){if(!t)return e;const r=n&&n.encode||oe,a=n&&n.serialize;let o;if(o=a?a(t,n):z.isURLSearchParams(t)?t.toString():new ae(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}var se=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){z.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},le={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ce={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ae,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},isStandardBrowserEnv:(()=>{let e;return("undefined"==typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&"undefined"!=typeof window&&"undefined"!=typeof document})(),isStandardBrowserWebWorkerEnv:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,protocols:["http","https","file","blob","url","data"]},ue=function(e){function t(e,n,r,a){let o=e[a++];const i=Number.isFinite(+o),s=a>=e.length;return o=!o&&z.isArray(r)?r.length:o,s?(z.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!i):(r[o]&&z.isObject(r[o])||(r[o]=[]),t(e,n,r[o],a)&&z.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const a=n.length;let o;for(r=0;r<a;r++)o=n[r],t[o]=e[o];return t}(r[o])),!i)}if(z.isFormData(e)&&z.isFunction(e.entries)){const n={};return z.forEachEntry(e,((e,r)=>{t(function(e){return z.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const de={"Content-Type":void 0},fe={transitional:le,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,a=z.isObject(e);if(a&&z.isHTMLForm(e)&&(e=new FormData(e)),z.isFormData(e))return r&&r?JSON.stringify(ue(e)):e;if(z.isArrayBuffer(e)||z.isBuffer(e)||z.isStream(e)||z.isFile(e)||z.isBlob(e))return e;if(z.isArrayBufferView(e))return e.buffer;if(z.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ee(e,new ce.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return ce.isNode&&z.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=z.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ee(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||r?(t.setContentType("application/json",!1),function(e,t,n){if(z.isString(e))try{return(0,JSON.parse)(e),z.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||fe.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&z.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw K.from(e,K.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ce.classes.FormData,Blob:ce.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};z.forEach(["delete","get","head"],(function(e){fe.headers[e]={}})),z.forEach(["post","put","patch"],(function(e){fe.headers[e]=z.merge(de)}));var pe=fe;const he=z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),me=Symbol("internals");function Ce(e){return e&&String(e).trim().toLowerCase()}function ye(e){return!1===e||null==e?e:z.isArray(e)?e.map(ye):String(e)}function ge(e,t,n,r,a){return z.isFunction(r)?r.call(this,t,n):(a&&(t=n),z.isString(t)?z.isString(r)?-1!==t.indexOf(r):z.isRegExp(r)?r.test(t):void 0:void 0)}class ve{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function a(e,t,n){const a=Ce(t);if(!a)throw new Error("header name must be a non-empty string");const o=z.findKey(r,a);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=ye(e))}const o=(e,t)=>z.forEach(e,((e,n)=>a(e,n,t)));return z.isPlainObject(e)||e instanceof this.constructor?o(e,t):z.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?o((e=>{const t={};let n,r,a;return e&&e.split("\n").forEach((function(e){a=e.indexOf(":"),n=e.substring(0,a).trim().toLowerCase(),r=e.substring(a+1).trim(),!n||t[n]&&he[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&a(t,e,n),this}get(e,t){if(e=Ce(e)){const n=z.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(z.isFunction(t))return t.call(this,e,n);if(z.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Ce(e)){const n=z.findKey(this,e);return!(!n||void 0===this[n]||t&&!ge(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function a(e){if(e=Ce(e)){const a=z.findKey(n,e);!a||t&&!ge(0,n[a],a,t)||(delete n[a],r=!0)}}return z.isArray(e)?e.forEach(a):a(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const a=t[n];e&&!ge(0,this[a],a,e,!0)||(delete this[a],r=!0)}return r}normalize(e){const t=this,n={};return z.forEach(this,((r,a)=>{const o=z.findKey(n,a);if(o)return t[o]=ye(r),void delete t[a];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(a):String(a).trim();i!==a&&delete t[a],t[i]=ye(r),n[i]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return z.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&z.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[me]=this[me]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Ce(e);t[r]||(function(e,t){const n=z.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,a){return this[r].call(this,t,e,n,a)},configurable:!0})}))}(n,e),t[r]=!0)}return z.isArray(e)?e.forEach(r):r(e),this}}ve.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),z.freezeMethods(ve.prototype),z.freezeMethods(ve);var be=ve;function we(e,t){const n=this||pe,r=t||n,a=be.from(r.headers);let o=r.data;return z.forEach(e,(function(e){o=e.call(n,o,a.normalize(),t?t.status:void 0)})),a.normalize(),o}function Ee(e){return!(!e||!e.__CANCEL__)}function xe(e,t,n){K.call(this,null==e?"canceled":e,K.ERR_CANCELED,t,n),this.name="CanceledError"}z.inherits(xe,K,{__CANCEL__:!0});var Me=xe,Le=ce.isStandardBrowserEnv?{write:function(e,t,n,r,a,o){const i=[];i.push(e+"="+encodeURIComponent(t)),z.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),z.isString(r)&&i.push("path="+r),z.isString(a)&&i.push("domain="+a),!0===o&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function Se(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Ae=ce.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=z.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};function Oe(e,t){let n=0;const r=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a,o=0,i=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[i];a||(a=l),n[o]=s,r[o]=l;let u=i,d=0;for(;u!==o;)d+=n[u++],u%=e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),l-a<t)return;const f=c&&l-c;return f?Math.round(1e3*d/f):void 0}}(50,250);return a=>{const o=a.loaded,i=a.lengthComputable?a.total:void 0,s=o-n,l=r(s);n=o;const c={loaded:o,total:i,progress:i?o/i:void 0,bytes:s,rate:l||void 0,estimated:l&&i&&o<=i?(i-o)/l:void 0,event:a};c[t?"download":"upload"]=!0,e(c)}}var Te="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const a=be.from(e.headers).normalize(),o=e.responseType;let i;function s(){e.cancelToken&&e.cancelToken.unsubscribe(i),e.signal&&e.signal.removeEventListener("abort",i)}z.isFormData(r)&&(ce.isStandardBrowserEnv||ce.isStandardBrowserWebWorkerEnv)&&a.setContentType(!1);let l=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(t+":"+n))}const c=Se(e.baseURL,e.url);function u(){if(!l)return;const r=be.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new K("Request failed with status code "+n.status,[K.ERR_BAD_REQUEST,K.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),s()}),(function(e){n(e),s()}),{data:o&&"text"!==o&&"json"!==o?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:r,config:e,request:l}),l=null}if(l.open(e.method.toUpperCase(),ie(c,e.params,e.paramsSerializer),!0),l.timeout=e.timeout,"onloadend"in l?l.onloadend=u:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(u)},l.onabort=function(){l&&(n(new K("Request aborted",K.ECONNABORTED,e,l)),l=null)},l.onerror=function(){n(new K("Network Error",K.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||le;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new K(t,r.clarifyTimeoutError?K.ETIMEDOUT:K.ECONNABORTED,e,l)),l=null},ce.isStandardBrowserEnv){const t=(e.withCredentials||Ae(c))&&e.xsrfCookieName&&Le.read(e.xsrfCookieName);t&&a.set(e.xsrfHeaderName,t)}void 0===r&&a.setContentType(null),"setRequestHeader"in l&&z.forEach(a.toJSON(),(function(e,t){l.setRequestHeader(t,e)})),z.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),o&&"json"!==o&&(l.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&l.addEventListener("progress",Oe(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",Oe(e.onUploadProgress)),(e.cancelToken||e.signal)&&(i=t=>{l&&(n(!t||t.type?new Me(null,e,l):t),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(i),e.signal&&(e.signal.aborted?i():e.signal.addEventListener("abort",i)));const d=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(c);d&&-1===ce.protocols.indexOf(d)?n(new K("Unsupported protocol "+d+":",K.ERR_BAD_REQUEST,e)):l.send(r||null)}))};const Pe={http:null,xhr:Te};z.forEach(Pe,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));function ke(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Me(null,e)}function Ze(e){return ke(e),e.headers=be.from(e.headers),e.data=we.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),(e=>{e=z.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let a=0;a<t&&(n=e[a],!(r=z.isString(n)?Pe[n.toLowerCase()]:n));a++);if(!r){if(!1===r)throw new K(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT");throw new Error(z.hasOwnProp(Pe,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`)}if(!z.isFunction(r))throw new TypeError("adapter is not a function");return r})(e.adapter||pe.adapter)(e).then((function(t){return ke(e),t.data=we.call(e,e.transformResponse,t),t.headers=be.from(t.headers),t}),(function(t){return Ee(t)||(ke(e),t&&t.response&&(t.response.data=we.call(e,e.transformResponse,t.response),t.response.headers=be.from(t.response.headers))),Promise.reject(t)}))}const He=e=>e instanceof be?e.toJSON():e;function Re(e,t){t=t||{};const n={};function r(e,t,n){return z.isPlainObject(e)&&z.isPlainObject(t)?z.merge.call({caseless:n},e,t):z.isPlainObject(t)?z.merge({},t):z.isArray(t)?t.slice():t}function a(e,t,n){return z.isUndefined(t)?z.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!z.isUndefined(t))return r(void 0,t)}function i(e,t){return z.isUndefined(t)?z.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,a,o){return o in t?r(n,a):o in e?r(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s,headers:(e,t)=>a(He(e),He(t),!0)};return z.forEach(Object.keys(e).concat(Object.keys(t)),(function(r){const o=l[r]||a,i=o(e[r],t[r],r);z.isUndefined(i)&&o!==s||(n[r]=i)})),n}const je={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{je[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Fe={};je.transitional=function(e,t,n){function r(e,t){return"[Axios v1.3.6] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,a,o)=>{if(!1===e)throw new K(r(a," has been removed"+(t?" in "+t:"")),K.ERR_DEPRECATED);return t&&!Fe[a]&&(Fe[a]=!0,console.warn(r(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,a,o)}};var Ne={assertOptions:function(e,t,n){if("object"!=typeof e)throw new K("options must be an object",K.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const o=r[a],i=t[o];if(i){const t=e[o],n=void 0===t||i(t,o,e);if(!0!==n)throw new K("option "+o+" must be "+n,K.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new K("Unknown option "+o,K.ERR_BAD_OPTION)}},validators:je};const Ie=Ne.validators;class _e{constructor(e){this.defaults=e,this.interceptors={request:new se,response:new se}}request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Re(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:a}=t;let o;void 0!==n&&Ne.assertOptions(n,{silentJSONParsing:Ie.transitional(Ie.boolean),forcedJSONParsing:Ie.transitional(Ie.boolean),clarifyTimeoutError:Ie.transitional(Ie.boolean)},!1),null!=r&&(z.isFunction(r)?t.paramsSerializer={serialize:r}:Ne.assertOptions(r,{encode:Ie.function,serialize:Ie.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase(),o=a&&z.merge(a.common,a[t.method]),o&&z.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete a[e]})),t.headers=be.concat(o,a);const i=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,d=0;if(!s){const e=[Ze.bind(this),void 0];for(e.unshift.apply(e,i),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=i.length;let f=t;for(d=0;d<u;){const e=i[d++],t=i[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{c=Ze.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return ie(Se((e=Re(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}z.forEach(["delete","get","head","options"],(function(e){_e.prototype[e]=function(t,n){return this.request(Re(n||{},{method:e,url:t,data:(n||{}).data}))}})),z.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,a){return this.request(Re(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}_e.prototype[e]=t(),_e.prototype[e+"Form"]=t(!0)}));var De=_e;class Ve{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,a){n.reason||(n.reason=new Me(e,r,a),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;const t=new Ve((function(t){e=t}));return{token:t,cancel:e}}}var Ue=Ve;const Be={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Be).forEach((([e,t])=>{Be[t]=e}));var qe=Be;const ze=function e(t){const n=new De(t),r=f(De.prototype.request,n);return z.extend(r,De.prototype,n,{allOwnKeys:!0}),z.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Re(t,n))},r}(pe);ze.Axios=De,ze.CanceledError=Me,ze.CancelToken=Ue,ze.isCancel=Ee,ze.VERSION="1.3.6",ze.toFormData=ee,ze.AxiosError=K,ze.Cancel=ze.CanceledError,ze.all=function(e){return Promise.all(e)},ze.spread=function(e){return function(t){return e.apply(null,t)}},ze.isAxiosError=function(e){return z.isObject(e)&&!0===e.isAxiosError},ze.mergeConfig=Re,ze.AxiosHeaders=be,ze.formToJSON=e=>ue(z.isHTMLForm(e)?new FormData(e):e),ze.HttpStatusCode=qe,ze.default=ze;var Ge,We=ze,Qe=(Ge=function(e,t){return Ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Ge(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}Ge(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),Ke=function(e){function t(n,r,a){var o=e.call(this,r)||this;return Object.setPrototypeOf(o,t.prototype),o.status=n,o.data=a,o}return Qe(t,e),t}(Error),$e=function(){return $e=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},$e.apply(this,arguments)};function Je(e,t,n){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(this,void 0,Promise,(function(){var r,a,o,i;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,We.request($e({baseURL:null==n?void 0:n.baseUrl,url:t,method:e},n))];case 1:return[2,{data:(r=s.sent()).data,status:r.status,statusText:r.statusText}];case 2:if(a=s.sent(),We.isAxiosError(a)&&(null===(o=a.response)||void 0===o?void 0:o.status))throw new Ke(null===(i=a.response)||void 0===i?void 0:i.status,a.message,a.response.data);throw a;case 3:return[2]}}))}))}var Ye=function(e,t){return Je("POST",e,t)},Xe=n(129),et=n.n(Xe),tt=function(){return tt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},tt.apply(this,arguments)},nt=function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))},rt=function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},at=Math.ceil(120),ot=function(e){return nt(void 0,[e],Promise,(function(e){var t,n=e.response,r=e.fetchOptions;return rt(this,(function(e){switch(e.label){case 0:return(t=n.data.result)&&"object"==typeof t&&"jobId"in t?[4,it({jobId:t.jobId,fetchOptions:r})]:[3,2];case 1:return[2,{jobResponse:e.sent(),originalResponse:tt(tt({},n),{data:tt(tt({},n.data),{result:t})})}];case 2:return[2,{jobResponse:null,originalResponse:tt(tt({},n),{data:tt(tt({},n.data),{result:t})})}]}}))}))},it=function(e){return nt(void 0,[e],Promise,(function(e){var t,n,r,a=e.jobId,o=e.retryCount,i=void 0===o?0:o,s=e.fetchOptions;return rt(this,(function(e){switch(e.label){case 0:if(i===at)throw Error("Job ".concat(a," was not completed after ").concat(i," attempts"));return[4,Ye(window.notaTools.ajaxUrl,tt(tt({},s),{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_job",jobId:a}})}))];case 1:return t=e.sent(),n=t.data.result.state,r=t.data.result.result,"completed"===n?[3,3]:[4,new Promise((function(e){return setTimeout(e,1e3)}))];case 2:return e.sent(),[2,it({jobId:a,retryCount:i+1,fetchOptions:s})];case 3:if(null==r)throw Error("Completed job ".concat(a," has empty result"));return[2,tt(tt({},t),{data:tt(tt({},t.data),{result:tt(tt({},t.data.result),{state:n,result:r})})})]}}))}))};function st(e){return e.jobResponse?e.jobResponse.data.result.result:e.originalResponse.data.result}var lt={error:console.error,log:console.log},ct=function(){return ct=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},ct.apply(this,arguments)},ut=function(e){if(window.notaTools.tracking_enabled)return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:ct({nota_action:"save_events"},e)})}).catch(lt.error)};class dt extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}var ft=function({limit:e,interval:t,strict:n}){if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(t))throw new TypeError("Expected `interval` to be a finite number");const r=new Map;let a=0,o=0;const i=[],s=n?function(){const n=Date.now();if(i.length<e)return i.push(n),0;const r=i.shift()+t;return n>=r?(i.push(n),0):(i.push(r),r-n)}:function(){const n=Date.now();return n-a>t?(o=1,a=n,0):(o<e?o++:(a+=t,o=1),a-n)};return e=>{const t=function(...n){if(!t.isEnabled)return(async()=>e.apply(this,n))();let a;return new Promise(((t,o)=>{a=setTimeout((()=>{t(e.apply(this,n)),r.delete(a)}),s()),r.set(a,o)}))};return t.abort=()=>{for(const e of r.keys())clearTimeout(e),r.get(e)(new dt);r.clear(),i.splice(0,i.length)},t.isEnabled=!0,Object.defineProperty(t,"queueSize",{get(){return r.size}}),t}}({limit:1,interval:1e3}),pt=ft((function(e){return e()})),ht=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return pt((function(){return e.apply(void 0,t)}))}},mt=function(e){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function(){var t;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_save_selected_brand_id",nonce:window.notaTools.nonce,nota:{brand_id:e}})})];case 1:return n.sent(),[3,3];case 2:throw t=n.sent(),lt.error(t),t;case 3:return[2]}}))}))},Ct=function(e){var t=e.toneId,n=e.organizationBrandId,r=e.text,a=e.task,o=e.queue,i=void 0!==o&&o,s=e.promptCategory;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"adjust_text_tone",toneId:t,organizationBrandId:n,text:r,task:a,queue:i,promptCategory:s}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))},yt=function(e){var t=e.brandId;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_brand_tones",brandId:t}})}).then((function(e){return e.data.result.items}))},gt=function(){return gt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},gt.apply(this,arguments)},vt={getCurrentUser:function(){return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_current_user"}})}).then((function(e){return e.data.result}))},getHashtags:ht((function(e){var t=e.postHTML,n=e.regenerate;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_hashtags",postHTML:t,regenerate:n}})}).then((function(e){return e.data.result}))})),getHeadlines:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate,a=e.brandId,o=e.queue,i=void 0!==o&&o;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_headlines",postHTML:t,count:n,regenerate:r,brandId:a,queue:i}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getSlugs:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_slugs",postHTML:t,count:n,regenerate:r}})}).then((function(e){return e.data.result}))})),getKeywordSynonyms:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate,a=e.seoRanking,o=void 0!==a&&a,i=e.queue,s=void 0!==i&&i;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_keywords",postHTML:t,count:n,regenerate:r,seoRanking:o,queue:s}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getMetaDescriptions:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate,a=e.brandId,o=e.queue,i=void 0!==o&&o;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_meta_descriptions",postHTML:t,count:n,regenerate:r,brandId:a,queue:i}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getMetaTitles:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate,a=e.brandId,o=e.queue,i=void 0!==o&&o;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_meta_titles",postHTML:t,count:n,regenerate:r,brandId:a,queue:i}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getQuotes:ht((function(e){var t=e.postHTML,n=e.regenerate,r=e.exclude,a=e.count;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_quotes",postHTML:t,regenerate:n,exclude:r,count:a}})}).then((function(e){return e.data.result}))})),getSMS:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_sms_messages",postHTML:t,count:n,regenerate:r}})}).then((function(e){return e.data.result}))})),getSocialPosts:ht((function(e){var t=e.postHTML,n=e.platform,r=e.regenerate,a=e.queue,o=void 0!==a&&a,i=e.brandId;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_social_posts",postHTML:t,platform:n,count:1,regenerate:r,queue:o,brandId:i}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getSummary:ht((function(e){var t=e.postHTML,n=e.lengthOption,r=e.regenerate,a=e.brandId,o=e.queue,i=void 0!==o&&o;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_summary",postHTML:t,length_option:n,regenerate:r,brandId:a,queue:i}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getGradeScores:ht((function(e){var t=e.content,n=e.headline,r=e.metaDescription,a=e.metaTitle,o=e.slug,i=e.keywords,s=e.queue,l=void 0!==s&&s;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_grade_scores",postHTML:t,headline:n,meta_description:r,meta_title:a,slug:o,keywords:i,queue:l}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e).scores}))})),getEntities:ht((function(e){var t=e.postHTML,n=e.regenerate,r=e.queue,a=void 0!==r&&r;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_entities",postHTML:t,regenerate:n,queue:a}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getUrlsScore:ht((function(e){var t=e.urlsList;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_urls_score",urlsList:t}})}).then((function(e){return e.data.result.url}))})),getPublicConfig:function(e){var t=e.signal;return Ye(window.notaTools.ajaxUrl,{signal:t,data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_public_config"}})}).then((function(e){return e.data.result}))},saveEvents:ut,savePostMetadata:function(e){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,[e],void 0,(function(e){var t,n=e.postId,r=e.metadata;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_save_metadata",nonce:window.notaTools.nonce,nota:{post_id:n,metadata:r}})})];case 1:return e.sent(),[3,3];case 2:throw t=e.sent(),lt.error(t),t;case 3:return[2]}}))}))},getUserBrands:function(){return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_user_brands"}})}).then((function(e){return e.data.result}))},saveSelectedBrandId:mt,adjustTextTone:Ct,getTonesForBrand:yt,getRelatedKeywords:function(e,t){var n=e.postHTML,r=e.keyword,a=e.queue,o=void 0!==a&&a;return Ye(window.notaTools.ajaxUrl,gt({data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_related_keywords",postHTML:n,keyword:r,queue:o}})},t)).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))}},bt=function(e){var t;return!!e.user&&(!1===e.user.useOrganizationAuth||(null===(t=e.user)||void 0===t?void 0:t.organizations.some((function(t){var n,r,a,o,i=null===(a=null===(r=null===(n=t.entitlements)||void 0===n?void 0:n.applicationPermissions)||void 0===r?void 0:r.wordpressPlugin)||void 0===a?void 0:a.tools;return i&&!!(null===(o=i[e.tool])||void 0===o?void 0:o.access)||!1}))))};function wt(){var t=this,n=(0,e.useState)([]),r=n[0],a=n[1],o=(0,e.useState)(!1),i=o[0],s=o[1],l=(0,e.useState)(!1),c=l[0],u=l[1];return(0,e.useEffect)((function(){!function(e,t,n,r){new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(t,void 0,void 0,(function(){var e,t;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(n){switch(n.label){case 0:s(!0),u(!1),n.label=1;case 1:return n.trys.push([1,3,4,5]),[4,vt.getCurrentUser()];case 2:return e=n.sent(),t=[bt({user:e,tool:"grade"})?"GRADE":null,bt({user:e,tool:"sum"})?"SUM":null,bt({user:e,tool:"social"})?"SOCIAL":null].filter((function(e){return null!==e})),a(t),[3,5];case 3:return n.sent(),u(!0),[3,5];case 4:return s(!1),[7];case 5:return[2]}}))}))}),[]),{authorizedTools:r,isLoading:i,isError:c}}const Et=(0,r.createContext)({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var xt=Object.defineProperty,Mt=Object.getOwnPropertySymbols,Lt=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,At=(e,t,n)=>t in e?xt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ot=(e,t)=>{for(var n in t||(t={}))Lt.call(t,n)&&At(e,n,t[n]);if(Mt)for(var n of Mt(t))St.call(t,n)&&At(e,n,t[n]);return e},Tt=(e,t)=>{var n={};for(var r in e)Lt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Mt)for(var r of Mt(e))t.indexOf(r)<0&&St.call(e,r)&&(n[r]=e[r]);return n};const Pt=(0,r.forwardRef)(((e,t)=>{const n=e,{alt:o,color:i,size:s,weight:l,mirrored:c,children:u,weights:d}=n,f=Tt(n,["alt","color","size","weight","mirrored","children","weights"]),p=(0,r.useContext)(Et),{color:h="currentColor",size:m,weight:C="regular",mirrored:y=!1}=p,g=Tt(p,["color","size","weight","mirrored"]);return a().createElement("svg",Ot(Ot({ref:t,xmlns:"http://www.w3.org/2000/svg",width:null!=s?s:m,height:null!=s?s:m,fill:null!=i?i:h,viewBox:"0 0 256 256",transform:c||y?"scale(-1, 1)":void 0},g),f),!!o&&a().createElement("title",null,o),u,d.get(null!=l?l:C))}));Pt.displayName="IconBase";var kt=Object.defineProperty,Zt=Object.defineProperties,Ht=Object.getOwnPropertyDescriptors,Rt=Object.getOwnPropertySymbols,jt=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,Nt=(e,t,n)=>t in e?kt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const It=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),a().createElement("path",{d:"M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),_t=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>Zt(e,Ht(t)))(((e,t)=>{for(var n in t||(t={}))jt.call(t,n)&&Nt(e,n,t[n]);if(Rt)for(var n of Rt(t))Ft.call(t,n)&&Nt(e,n,t[n]);return e})({ref:t},e),{weights:It}))));_t.displayName="Info";var Dt=Object.defineProperty,Vt=Object.defineProperties,Ut=Object.getOwnPropertyDescriptors,Bt=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable,Gt=(e,t,n)=>t in e?Dt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Wt=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),a().createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),Qt=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>Vt(e,Ut(t)))(((e,t)=>{for(var n in t||(t={}))qt.call(t,n)&&Gt(e,n,t[n]);if(Bt)for(var n of Bt(t))zt.call(t,n)&&Gt(e,n,t[n]);return e})({ref:t},e),{weights:Wt}))));Qt.displayName="CheckCircle";var Kt=Object.defineProperty,$t=Object.defineProperties,Jt=Object.getOwnPropertyDescriptors,Yt=Object.getOwnPropertySymbols,Xt=Object.prototype.hasOwnProperty,en=Object.prototype.propertyIsEnumerable,tn=(e,t,n)=>t in e?Kt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const nn=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm-12-80V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,172Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-8,56a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm-6-82V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,172Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm-4-84V80a4,4,0,0,1,8,0v56a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,172Z"}))]]),rn=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>$t(e,Jt(t)))(((e,t)=>{for(var n in t||(t={}))Xt.call(t,n)&&tn(e,n,t[n]);if(Yt)for(var n of Yt(t))en.call(t,n)&&tn(e,n,t[n]);return e})({ref:t},e),{weights:nn}))));rn.displayName="WarningCircle";var an=Object.defineProperty,on=Object.defineProperties,sn=Object.getOwnPropertyDescriptors,ln=Object.getOwnPropertySymbols,cn=Object.prototype.hasOwnProperty,un=Object.prototype.propertyIsEnumerable,dn=(e,t,n)=>t in e?an(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const fn=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M180,128a12,12,0,0,1-12,12H88a12,12,0,0,1,0-24h80A12,12,0,0,1,180,128Zm56,0A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),a().createElement("path",{d:"M176,128a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,128Zm56,0A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm40,112H88a8,8,0,0,1,0-16h80a8,8,0,0,1,0,16Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M174,128a6,6,0,0,1-6,6H88a6,6,0,0,1,0-12h80A6,6,0,0,1,174,128Zm56,0A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176,128a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,128Zm56,0A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M172,128a4,4,0,0,1-4,4H88a4,4,0,0,1,0-8h80A4,4,0,0,1,172,128Zm56,0A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),pn=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>on(e,sn(t)))(((e,t)=>{for(var n in t||(t={}))cn.call(t,n)&&dn(e,n,t[n]);if(ln)for(var n of ln(t))un.call(t,n)&&dn(e,n,t[n]);return e})({ref:t},e),{weights:fn}))));function hn(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=hn(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}pn.displayName="MinusCircle";var mn=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=hn(e))&&(r&&(r+=" "),r+=t);return r};function Cn(t){var n=t.className,r=t.status,a=t.feedback,o=t.CustomIcon,i=t.customFeedback,s=t.misspelledKeywords,l=t.tooltip,c=null!=o?o:wn[r],d=null==s?void 0:s.filter((function(e){return"nbsp"!==e})).join(", ");return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:mn("ntw-flex",n)},(0,e.createElement)(c,{size:20,className:mn("ntw-mr-2 ntw-shrink-0",bn[r])}),(0,e.createElement)("div",{className:"ntw-flex ntw-grow ntw-flex-col ntw-text-sm ntw-text-typography-medium"},null!=i?i:a,d&&(0,e.createElement)("div",{className:"ntw-italic"},"".concat(d))),l&&(0,e.createElement)(u.Tooltip,{text:(0,e.createElement)("div",{style:{maxWidth:"200px",whiteSpace:"normal"}},l),position:"top"},(0,e.createElement)(_t,{size:16,className:"ntw-ml-2 ntw-shrink-0 ntw-cursor-pointer ntw-text-typography-medium"}))))}var yn,gn,vn,bn={failed:"ntw-text-grade-error",success:"ntw-text-grade-success",warning:"ntw-text-grade-warning"},wn={success:Qt,failed:rn,warning:pn};!function(e){e.Unsatisfactory="Unsatisfactory",e.NeedsImprovement="Needs Improvement",e.Good="Good",e.Excellent="Excellent"}(vn||(vn={}));var En=((yn={})[vn.Unsatisfactory]="#C5500E",yn[vn.NeedsImprovement]="#B99414",yn[vn.Good]="#59C300",yn[vn.Excellent]="#149B00",yn),xn=function(e){if(e<0||e>100)throw new Error("Score must be between 0 and 100");return e<=25?vn.Unsatisfactory:e<=50?vn.NeedsImprovement:e<=75?vn.Good:vn.Excellent},Mn=((gn={})[vn.Unsatisfactory]="See below for some recommendations for how you could improve this work to meet SEO best practices.",gn[vn.NeedsImprovement]="See below for some recommendations for how you could improve this work to meet SEO best practices.",gn[vn.Good]="Good job! You could publish but some minor improvements could make it excellent!",gn[vn.Excellent]="Excellent work! Ready to publish.  The content is outstanding and meets the highest standards.",gn),Ln=function(e){return e.match(/http[s]?:\/\/(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*(),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+/g)||[]},Sn=function(e){return e.replace(/\\'/g,"'")},An=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))};function On(t){var n=t.score,r=t.className;if(void 0===n)return null;var a=kn(n),o=a.fullStages,i=a.isPartialStage,s=xn(n),l=En[s];return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:mn("ntw-flex ntw-gap-1",r)},An([],Array(Pn),!0).map((function(t,n){return(0,e.createElement)("div",{key:n,className:"ntw-flex ntw-w-full"},An([],Array(2),!0).map((function(__,t){var r=2*n+t,a=Tn;return(r<o||r===o&&i)&&(a=l),(0,e.createElement)("div",{key:"".concat(n,"-").concat(t),className:mn("ntw-h-[8px] ntw-w-full",0===t?"ntw-rounded-l-md":"ntw-rounded-r-md"),style:{backgroundColor:a}})})))}))),(0,e.createElement)("div",{className:"ntw-mt-1 ntw-w-full ntw-text-right ntw-text-xs ntw-font-medium ntw-text-typography-disabled"},s))}var Tn="#E5E5E5",Pn=4,kn=function(e){return{fullStages:Math.floor(e/12.5),isPartialStage:e%12.5>0}},Zn=window.wp.data;function Hn(t){var n=t.listInvalidUrls,r=(0,Zn.useSelect)((function(e){return e("core/block-editor").getBlocks()}),[]);return n&&0!==n.length?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"ntw-text-sm ntw-font-semibold ntw-text-typography-medium"},"Check these URLs:"),null==n?void 0:n.map((function(t,n){return(0,e.createElement)(u.Tooltip,{placement:"top",text:"".concat(t),className:"ntw-cursor-pointer",key:n},(0,e.createElement)("button",{className:"ntw-mt-2 ntw-w-full ntw-truncate ntw-text-left ntw-text-xs ntw-text-typography-public-primary",onClick:function(){return function(e){var t="";if(r.forEach((function(n){var r=n.attributes.content;r&&r.includes(e)&&(t=n.clientId)})),t){var n=document.querySelector('[data-block="'.concat(t,'"]'));n&&n.scrollIntoView({behavior:"smooth",block:"center"})}}(t)}},"- ",t))}))):null}var Rn=function(t){var n=t.keywords,r=t.maxKeywordsToShow,a=void 0===r?5:r,o=(0,e.useState)(!1),i=o[0],s=o[1];return(0,e.createElement)("div",{className:"ntw-mt-4"},(0,e.createElement)("div",{className:"ntw-mb-[12px] ntw-text-sm ntw-font-normal ntw-text-typography-dark"},"Keywords in use:"),(0,e.createElement)("div",{className:"ntw-relative ntw-flex ntw-flex-wrap ntw-gap-[8px] ntw-space-y-[2px] ntw-px-1 ntw-py-1",style:{maskImage:!i&&n.length>a?"linear-gradient(to bottom, black 50%, transparent 100%)":"unset"}},n.slice(0,i?n.length:a).map((function(t,n){return(0,e.createElement)("div",{key:n,className:mn("ntw-w-fit ntw-rounded-[80px] ntw-bg-status-supernova-800 ntw-px-[12px] ntw-py-[8px] ntw-text-xs ntw-text-[#030B1B]",{"ntw-bg-opacity-50":!t.inUse},{"ntw-mr-1 ntw-ring-2 ntw-ring-status-supernova-800 ntw-ring-offset-1":t.inUse})},t.text)}))),n.length>a&&(0,e.createElement)("button",{onClick:function(){return s(!i)},className:"ntw-mt-2 ntw-text-sm ntw-font-bold ntw-text-typography-public-primary"},i?"See Less":"See More"))};function jn(t){var n,r=t.title,a=t.gradeData,o=a?Object.entries(a).reduce((function(e,t){var n,r=t[0],a=t[1];return"score"!==r&&"listInvalidUrls"!==r&&"object"==typeof a&&(null===(n=a.usedKeywords)||void 0===n?void 0:n.length)?a.usedKeywords.map((function(e){return{text:Sn(e),inUse:!0}})):e}),[]):[];return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"ntw-text-sm ntw-font-semibold ntw-capitalize ntw-text-typography-medium"},r,":"),a&&Object.entries(a).map((function(t,n){var r=t[0],a=t[1];return"score"!==r&&"listInvalidUrls"!==r&&"object"==typeof a&&a.feedback&&"usedKeywords"!==r?(0,e.createElement)(e.Fragment,{key:n},(0,e.createElement)(Cn,{misspelledKeywords:null==a?void 0:a.misspelledWords,status:a.meetsCriteria?"success":"failed",feedback:a.feedback,className:"ntw-mt-2",tooltip:a.helpText})):null})),o.length>0&&(0,e.createElement)(Rn,{maxKeywordsToShow:3,keywords:o}),(0,e.createElement)(On,{score:null==a?void 0:a.score,className:"ntw-mt-4"}),(null===(n=null==a?void 0:a.length)||void 0===n?void 0:n.listInvalidUrls)&&(0,e.createElement)(Hn,{listInvalidUrls:a.length.listInvalidUrls}))}function Fn(t){var n=t.className,r=void 0===n?"ntw-my-4":n;return(0,e.createElement)("div",{className:mn("ntw-h-px ntw-bg-elements-default",r)})}var Nn=Object.defineProperty,In=Object.defineProperties,Dn=Object.getOwnPropertyDescriptors,Vn=Object.getOwnPropertySymbols,Un=Object.prototype.hasOwnProperty,Bn=Object.prototype.propertyIsEnumerable,qn=(e,t,n)=>t in e?Nn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const zn=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M180,232a12,12,0,0,1-12,12H88a12,12,0,0,1,0-24h80A12,12,0,0,1,180,232Zm40-128a92.47,92.47,0,0,1-37,73.73,7.81,7.81,0,0,0-3,6.27,20,20,0,0,1-20,20H96a20,20,0,0,1-20-20v-.23a7.76,7.76,0,0,0-3.25-6.2,91.36,91.36,0,0,1-36.75-73C35.73,54.69,76,13.2,125.79,12A92,92,0,0,1,220,104Zm-24,0a68,68,0,0,0-69.65-68C89.56,36.89,59.8,67.56,60,104.39a67.52,67.52,0,0,0,27.18,54h0A32.14,32.14,0,0,1,99.77,180H116V149L87.51,120.49a12,12,0,0,1,17-17L128,127l23.51-23.51a12,12,0,0,1,17,17L140,149v31h16.25a31.89,31.89,0,0,1,12.41-21.49A67.45,67.45,0,0,0,196,104Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M208,104a79.86,79.86,0,0,1-30.59,62.92A24.29,24.29,0,0,0,168,186v6a8,8,0,0,1-8,8H96a8,8,0,0,1-8-8v-6a24.11,24.11,0,0,0-9.3-19A79.87,79.87,0,0,1,48,104.45C47.76,61.09,82.72,25,126.07,24A80,80,0,0,1,208,104Z",opacity:"0.2"}),a().createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.5C39.74,56.83,78.26,17.15,125.88,16A88,88,0,0,1,216,104Zm-16,0a72,72,0,0,0-73.74-72c-39,.92-70.47,33.39-70.26,72.39a71.64,71.64,0,0,0,27.64,56.3h0A32,32,0,0,1,96,186v6h24V147.31L90.34,117.66a8,8,0,0,1,11.32-11.32L128,132.69l26.34-26.35a8,8,0,0,1,11.32,11.32L136,147.31V192h24v-6a32.12,32.12,0,0,1,12.47-25.35A71.65,71.65,0,0,0,200,104Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.49C39.74,56.83,78.26,17.14,125.88,16A88,88,0,0,1,216,104Zm-50.34,2.34a8,8,0,0,0-11.32,0L128,132.69l-26.34-26.35a8,8,0,0,0-11.32,11.32L120,147.31V184a8,8,0,0,0,16,0V147.31l29.66-29.65A8,8,0,0,0,165.66,106.34Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M174,232a6,6,0,0,1-6,6H88a6,6,0,0,1,0-12h80A6,6,0,0,1,174,232Zm40-128a85.56,85.56,0,0,1-32.88,67.64A18.23,18.23,0,0,0,174,186v6a14,14,0,0,1-14,14H96a14,14,0,0,1-14-14v-6a18,18,0,0,0-7-14.23h0a85.59,85.59,0,0,1-33-67.25C41.74,57.91,79.39,19.12,125.93,18A86,86,0,0,1,214,104Zm-12,0a74,74,0,0,0-75.79-74C86.17,31,53.78,64.34,54,104.42a73.67,73.67,0,0,0,28.4,57.87A29.92,29.92,0,0,1,94,186v6a2,2,0,0,0,2,2h26V146.49L91.76,116.24a6,6,0,0,1,8.48-8.48L128,135.52l27.76-27.76a6,6,0,0,1,8.48,8.48L134,146.49V194h26a2,2,0,0,0,2-2v-6a30.18,30.18,0,0,1,11.7-23.78A73.59,73.59,0,0,0,202,104Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.5C39.74,56.83,78.26,17.15,125.88,16A88,88,0,0,1,216,104Zm-16,0a72,72,0,0,0-73.74-72c-39,.92-70.47,33.39-70.26,72.39a71.64,71.64,0,0,0,27.64,56.3h0A32,32,0,0,1,96,186v6h24V147.31L90.34,117.66a8,8,0,0,1,11.32-11.32L128,132.69l26.34-26.35a8,8,0,0,1,11.32,11.32L136,147.31V192h24v-6a32.12,32.12,0,0,1,12.47-25.35A71.65,71.65,0,0,0,200,104Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M172,232a4,4,0,0,1-4,4H88a4,4,0,0,1,0-8h80A4,4,0,0,1,172,232Zm40-128a83.59,83.59,0,0,1-32.11,66.06A20.2,20.2,0,0,0,172,186v6a12,12,0,0,1-12,12H96a12,12,0,0,1-12-12v-6a20,20,0,0,0-7.76-15.81A83.58,83.58,0,0,1,44,104.47C43.75,59,80.52,21.09,126,20a84,84,0,0,1,86,84Zm-8,0a76,76,0,0,0-77.84-76C85,29,51.77,63.27,52,104.43a75.62,75.62,0,0,0,29.17,59.43A28,28,0,0,1,92,186v6a4,4,0,0,0,4,4h28V145.66L93.17,114.83a4,4,0,0,1,5.66-5.66L128,138.34l29.17-29.17a4,4,0,1,1,5.66,5.66L132,145.66V196h28a4,4,0,0,0,4-4v-6a28.14,28.14,0,0,1,10.94-22.2A75.62,75.62,0,0,0,204,104Z"}))]]),Gn=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>In(e,Dn(t)))(((e,t)=>{for(var n in t||(t={}))Un.call(t,n)&&qn(e,n,t[n]);if(Vn)for(var n of Vn(t))Bn.call(t,n)&&qn(e,n,t[n]);return e})({ref:t},e),{weights:zn}))));Gn.displayName="LightbulbFilament";var Wn={primary:["ntw-bg-button-default ntw-text-typography-light","hover:ntw-bg-button-hover"],secondary:["ntw-ring-button-default ntw-text-button-default ntw-ring-1","hover:ntw-ring-button-hover hover:ntw-text-button-hover"]},Qn="ntw-cursor-not-allowed ntw-opacity-50";function Kn(t){var n=t.variant,r=void 0===n?"primary":n,a=t.onClick,o=t.children,i=t.size,s=void 0===i?500:i,l=t.className,c=t.disabled;return(0,e.createElement)("button",{disabled:c,type:"button",onClick:a,className:mn("ntw-appearance-none ntw-rounded ntw-text-base ntw-font-medium ntw-leading-4",Wn[r],{"ntw-p-16px":500===s,"ntw-px-16px ntw-py-8px":300===s},c&&Qn,l)},o)}function $n(t){var n=t.className,r=t.onClick;return(0,e.createElement)(Kn,{className:mn("ntw-w-full",n),onClick:function(){return r()}},(0,e.createElement)("div",{className:"ntw-flex ntw-justify-center ntw-gap-2"},"Highlight suggestion",(0,e.createElement)(Gn,{size:16})))}function Jn(t){var n=t.className,r=t.strokeColor,a=void 0===r?"currentColor":r;return(0,e.createElement)("svg",{className:mn("ntw-h-5 ntw-w-5 ntw-animate-spin ntw-text-gravity-600",n),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},(0,e.createElement)("circle",{className:"ntw-opacity-25",cx:"12",cy:"12",r:"10",stroke:a,strokeWidth:"4"}),(0,e.createElement)("path",{className:"ntw-opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"}))}function Yn(t){var n,r=t.status,a=t.children,o=t.title,i=t.initialOpen,s=void 0!==i&&i;return t.loading?n=function(){return(0,e.createElement)(Jn,{className:"ntw-mr-2",strokeColor:"#99D1D2"})}:r&&(n=or[r]),(0,e.createElement)(u.PanelBody,{className:"[&>h2>button>svg]:ntw-text-[#FFFFFF] [&>h2>button]:ntw-flex-row-reverse [&>h2>button]:ntw-justify-end",icon:n&&(0,e.createElement)(n,{size:20,style:{marginLeft:"0",marginRight:"0.5rem"}}),title:o,initialOpen:s},a)}var Xn,er,tr,nr,rr,ar,or={success:function(t){var n=t.className,r=t.style,a=t.size,o=t.color,i=void 0===o?"#09A337":o;return(0,e.createElement)("svg",{width:a,height:a,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,style:r},(0,e.createElement)("path",{d:"M3.40625 12.5938C2.83125 12.0188 3.2125 10.8125 2.91875 10.1062C2.625 9.4 1.5 8.78125 1.5 8C1.5 7.21875 2.6125 6.625 2.91875 5.89375C3.225 5.1625 2.83125 3.98125 3.40625 3.40625C3.98125 2.83125 5.1875 3.2125 5.89375 2.91875C6.6 2.625 7.21875 1.5 8 1.5C8.78125 1.5 9.375 2.6125 10.1062 2.91875C10.8375 3.225 12.0188 2.83125 12.5938 3.40625C13.1687 3.98125 12.7875 5.1875 13.0813 5.89375C13.375 6.6 14.5 7.21875 14.5 8C14.5 8.78125 13.3875 9.375 13.0813 10.1062C12.775 10.8375 13.1687 12.0188 12.5938 12.5938C12.0188 13.1687 10.8125 12.7875 10.1062 13.0813C9.4 13.375 8.78125 14.5 8 14.5C7.21875 14.5 6.625 13.3875 5.89375 13.0813C5.1625 12.775 3.98125 13.1687 3.40625 12.5938Z",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.createElement)("path",{d:"M10.75 6.5L7.08125 10L5.25 8.25",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}))},failed:function(t){var n=t.className,r=t.style,a=t.size,o=t.color,i=void 0===o?"#D83E35":o;return(0,e.createElement)("svg",{width:a,height:a,className:n,style:r,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M3.40625 12.5938C2.83125 12.0188 3.2125 10.8125 2.91875 10.1062C2.625 9.4 1.5 8.78125 1.5 8C1.5 7.21875 2.6125 6.625 2.91875 5.89375C3.225 5.1625 2.83125 3.98125 3.40625 3.40625C3.98125 2.83125 5.1875 3.2125 5.89375 2.91875C6.6 2.625 7.21875 1.5 8 1.5C8.78125 1.5 9.375 2.6125 10.1062 2.91875C10.8375 3.225 12.0188 2.83125 12.5938 3.40625C13.1687 3.98125 12.7875 5.1875 13.0813 5.89375C13.375 6.6 14.5 7.21875 14.5 8C14.5 8.78125 13.3875 9.375 13.0813 10.1062C12.775 10.8375 13.1687 12.0188 12.5938 12.5938C12.0188 13.1687 10.8125 12.7875 10.1062 13.0813C9.4 13.375 8.78125 14.5 8 14.5C7.21875 14.5 6.625 13.3875 5.89375 13.0813C5.1625 12.775 3.98125 13.1687 3.40625 12.5938Z",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.createElement)("path",{d:"M8 5V8.5",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.createElement)("path",{d:"M8 11.5C8.41421 11.5 8.75 11.1642 8.75 10.75C8.75 10.3358 8.41421 10 8 10C7.58579 10 7.25 10.3358 7.25 10.75C7.25 11.1642 7.58579 11.5 8 11.5Z",fill:i}))},warning:function(t){var n=t.className,r=t.style,a=t.size,o=t.color,i=void 0===o?"#A1BE03":o;return(0,e.createElement)("svg",{width:a,height:a,className:n,style:r,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M3.40625 12.5938C2.83125 12.0188 3.2125 10.8125 2.91875 10.1062C2.625 9.4 1.5 8.78125 1.5 8C1.5 7.21875 2.6125 6.625 2.91875 5.89375C3.225 5.1625 2.83125 3.98125 3.40625 3.40625C3.98125 2.83125 5.1875 3.2125 5.89375 2.91875C6.6 2.625 7.21875 1.5 8 1.5C8.78125 1.5 9.375 2.6125 10.1062 2.91875C10.8375 3.225 12.0188 2.83125 12.5938 3.40625C13.1687 3.98125 12.7875 5.1875 13.0813 5.89375C13.375 6.6 14.5 7.21875 14.5 8C14.5 8.78125 13.3875 9.375 13.0813 10.1062C12.775 10.8375 13.1687 12.0188 12.5938 12.5938C12.0188 13.1687 10.8125 12.7875 10.1062 13.0813C9.4 13.375 8.78125 14.5 8 14.5C7.21875 14.5 6.625 13.3875 5.89375 13.0813C5.1625 12.775 3.98125 13.1687 3.40625 12.5938Z",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.createElement)("path",{d:"M5.5 8H10.5",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}))}};!function(e){e.Text="text",e.File="file",e.Url="url"}(er||(er={})),function(e){e.length="length",e.keywords="keywords",e.readability="readability",e.spelling="spelling"}(tr||(tr={})),function(e){e.headline="headline",e.metaDescription="metaDescription",e.metaTitle="metaTitle",e.slug="slug",e.contentReadability="contentReadability",e.url="url"}(nr||(nr={})),function(e){e.Headline="headline",e.MetaTitle="meta_title",e.Slug="slug",e.MetaDescription="meta_description",e.Excerpt="excerpt",e.Tags="tags",e.Social="social"}(rr||(rr={})),function(e){e.Headlines="Headlines",e.Excerpt="Excerpt",e.Tags="Tags",e.MetaTitle="Page Title",e.MetaDescription="Meta Description",e.Slugs="Slugs",e.Keywords="Keywords",e.Summary="Summary",e.Facebook="Facebook",e.Instagram="Instagram",e.Twitter="X",e.LinkedIn="LinkedIn",e.TikTok="TikTok",e.Threads="Threads",e.SMS="SMS",e.Quotes="Quotes"}(ar||(ar={}));var ir,sr,lr=((Xn={})[ar.Headlines]=rr.Headline,Xn[ar.Excerpt]=rr.Excerpt,Xn[ar.Tags]=rr.Tags,Xn[ar.MetaTitle]=rr.MetaTitle,Xn[ar.MetaDescription]=rr.MetaDescription,Xn[ar.Slugs]=rr.Slug,Xn),cr=function(e,t){if(e){for(var n=0,r=0,a=0,o=t;a<o.length;a++){var i=e[o[a]];null!=i&&"object"==typeof i&&"score"in i&&(n+=i.score,r++)}if(0!==r){var s=n/r;return s<50?"failed":s<80?"warning":"success"}}},ur=function(e){var t=0,n=0;if(!e)return[n,t];for(var r in e)if(e.hasOwnProperty(r)){var a=e[r];if(a&&"object"==typeof a)for(var o in a)if(a.hasOwnProperty(o)){var i=a[o];"object"==typeof i&&null!==i&&"meetsCriteria"in i&&(t+=1,i.meetsCriteria&&(n+=1))}}return[n,t]},dr=function(e,t){var n=document.querySelector(e);n&&("selected"===n.getAttribute("data-headlessui-state")||n.click(),setTimeout((function(){var e=document.getElementById(t);e&&(e.scrollIntoView({behavior:"smooth"}),e.classList.add("nota-highlight-bg"),setTimeout((function(){e.classList.remove("nota-highlight-bg")}),3e3))})))},fr=((ir={})[nr.url]=((sr={})[tr.length]=[{range:function(e,t){return 0===e},score:100,feedback:"All URL(s) mentioned in the content are valid.",meetsCriteria:!0},{range:function(e,t){return e===t},score:0,feedback:"All URL(s) in the content are invalid.",meetsCriteria:!1},{range:function(e,t){return 1===e},score:75,feedback:"1 Invalid URL present in the content.",meetsCriteria:!1},{range:function(e,t){return e/t>.5},score:25,feedback:"Many Invalid URL(s) present in the content.",meetsCriteria:!1},{range:function(e,__){return!0},score:50,feedback:"Invalid URL(s) present in the content.",meetsCriteria:!1}],sr),ir),pr="nota-analyze-btn",hr=function(e){return e.trim().split(/\s+/).length||0};function mr(){return mr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mr.apply(this,arguments)}var Cr=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};function yr(t){var n=t.className,r=Cr(t,["className"]);return(0,e.createElement)("div",mr({className:mn("ntw-animate-pulse ntw-rounded-md ntw-bg-gravity-200",n)},r))}function gr(t){var n=t.className;return(0,e.createElement)("div",{className:mn("ntw-flex ntw-items-center ntw-space-x-4",n)},(0,e.createElement)(yr,{className:"ntw-h-12 ntw-w-12 ntw-shrink-0 ntw-rounded-full"}),(0,e.createElement)("div",{className:"ntw-space-y-2"},(0,e.createElement)(yr,{className:"ntw-h-4 ntw-w-[180px]"}),(0,e.createElement)(yr,{className:"ntw-h-4 ntw-w-[180px]"})))}var vr=function(){var e=(0,Zn.useSelect)((function(e){return e("nota/data").getKeywordSynonyms()}),[]),t=(0,Zn.useSelect)((function(e){return e("nota/data").getGrade()}),[]),n=(0,Zn.useSelect)((function(e){return e("nota/data").isGradeLoading()}),[]),r=(0,Zn.useSelect)((function(e){return e("nota/data").isUrlsLoading()}),[]),a=(0,Zn.useSelect)((function(e){return e("nota/data").getUrlsScore()}),[]),o=(0,Zn.useSelect)((function(e){return e("nota/data").isAnalyzePageLoading()}),[]),i=(0,Zn.useSelect)((function(e){return e("nota/data").getPostMetaData()}),[]),s=(0,Zn.useSelect)((function(e){return e("nota/data").getBrands()}),[]),l=(0,Zn.useSelect)((function(e){return e("nota/data").getSelectedBrand()}),[]),c=(0,Zn.useSelect)((function(e){return e("nota/data").getLoadingStates()}),[]),u=(0,Zn.useSelect)((function(e){return e("nota/data").getTones()}),[]),d=(0,Zn.useDispatch)("nota/data");return{keywordSynonyms:e,setKeywordsSynonyms:d.setKeywordsSynonyms,grade:t,setGrade:d.setGrade,gradeIsLoading:n,setGradeLoading:d.setGradeLoading,urlsScore:a,setUrlsScore:d.setUrlsScore,urlsLoading:r,setUrlsLoading:d.setUrlsLoading,analyzePageLoading:o,setAnalyzePageLoading:d.setAnalyzePageLoading,setPostMetaData:d.setPostMetaData,postMetaData:i,brands:s,setBrands:d.setBrands,selectedBrand:l,setSelectedBrand:d.setSelectedBrand,setLoadingState:d.setLoadingState,loadingStates:c,setCurrentTones:d.setCurrentTones,tones:u}};function br(){var t,n=vr(),r=n.grade,a=n.gradeIsLoading,o=r.data||{},i=o.contentReadability,s=o.headline,l=cr(r.data,[nr.contentReadability,nr.headline]);return t=a?(0,e.createElement)(gr,null):r?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(jn,{title:"Content Readability",gradeData:i}),(0,e.createElement)(Fn,null),(0,e.createElement)(jn,{title:"Headline",gradeData:s}),s&&s.score<=60&&(0,e.createElement)($n,{onClick:function(){return dr(".meta-tab-content","nota-headline")},className:"ntw-mt-2"})):(0,e.createElement)("div",{className:"ntw-text-xs ntw-text-typography-disabled"},'Please click on the "Get started" button to start the analysis.'),(0,e.createElement)(Yn,{loading:a,status:l,title:"Content Analysis"},t)}var wr=function(e){return"".concat("nota-").concat(e)};const Er=n(688).useSyncExternalStore,xr="undefined"==typeof window||"Deno"in window;function Mr(){}function Lr(e){return"number"==typeof e&&e>=0&&e!==1/0}function Sr(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ar(e,t,n){return Dr(e)?"function"==typeof t?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function Or(e,t,n){return Dr(e)?[{...t,queryKey:e},n]:[e||{},t]}function Tr(e,t){const{type:n="all",exact:r,fetchStatus:a,predicate:o,queryKey:i,stale:s}=e;if(Dr(i))if(r){if(t.queryHash!==kr(i,t.options))return!1}else if(!Hr(t.queryKey,i))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return!("boolean"==typeof s&&t.isStale()!==s||void 0!==a&&a!==t.state.fetchStatus||o&&!o(t))}function Pr(e,t){const{exact:n,fetching:r,predicate:a,mutationKey:o}=e;if(Dr(o)){if(!t.options.mutationKey)return!1;if(n){if(Zr(t.options.mutationKey)!==Zr(o))return!1}else if(!Hr(t.options.mutationKey,o))return!1}return!("boolean"==typeof r&&"loading"===t.state.status!==r||a&&!a(t))}function kr(e,t){return((null==t?void 0:t.queryKeyHashFn)||Zr)(e)}function Zr(e){return JSON.stringify(e,((e,t)=>Ir(t)?Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{}):t))}function Hr(e,t){return Rr(e,t)}function Rr(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((n=>!Rr(e[n],t[n])))}function jr(e,t){if(e===t)return e;const n=Nr(e)&&Nr(t);if(n||Ir(e)&&Ir(t)){const r=n?e.length:Object.keys(e).length,a=n?t:Object.keys(t),o=a.length,i=n?[]:{};let s=0;for(let r=0;r<o;r++){const o=n?r:a[r];i[o]=jr(e[o],t[o]),i[o]===e[o]&&s++}return r===o&&s===r?e:i}return t}function Fr(e,t){if(e&&!t||t&&!e)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Nr(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Ir(e){if(!_r(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!_r(n)&&!!n.hasOwnProperty("isPrototypeOf")}function _r(e){return"[object Object]"===Object.prototype.toString.call(e)}function Dr(e){return Array.isArray(e)}function Vr(e){return new Promise((t=>{setTimeout(t,e)}))}function Ur(e){Vr(0).then(e)}function Br(e,t,n){return null!=n.isDataEqual&&n.isDataEqual(e,t)?e:"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?jr(e,t):t}const qr=console,zr=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()};const a=r=>{t?e.push(r):Ur((()=>{n(r)}))};return{batch:a=>{let o;t++;try{o=a()}finally{t--,t||(()=>{const t=e;e=[],t.length&&Ur((()=>{r((()=>{t.forEach((e=>{n(e)}))}))}))})()}return o},batchCalls:e=>(...t)=>{a((()=>{e(...t)}))},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e}}}();class Gr{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Lr(this.cacheTime)&&(this.gcTimeout=setTimeout((()=>{this.optionalRemove()}),this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:xr?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class Wr{constructor(){this.listeners=[],this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.push(e),this.onSubscribe(),()=>{this.listeners=this.listeners.filter((t=>t!==e)),this.onUnsubscribe()}}hasListeners(){return this.listeners.length>0}onSubscribe(){}onUnsubscribe(){}}const Qr=new class extends Wr{constructor(){super(),this.setup=e=>{if(!xr&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){this.focused=e,e&&this.onFocus()}onFocus(){this.listeners.forEach((e=>{e()}))}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}},Kr=new class extends Wr{constructor(){super(),this.setup=e=>{if(!xr&&window.addEventListener){const t=()=>e();return window.addEventListener("online",t,!1),window.addEventListener("offline",t,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((e=>{"boolean"==typeof e?this.setOnline(e):this.onOnline()}))}setOnline(e){this.online=e,e&&this.onOnline()}onOnline(){this.listeners.forEach((e=>{e()}))}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}};function $r(e){return Math.min(1e3*2**e,3e4)}function Jr(e){return"online"!==(null!=e?e:"online")||Kr.isOnline()}class Yr{constructor(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}}function Xr(e){return e instanceof Yr}function ea(e){let t,n,r,a=!1,o=0,i=!1;const s=new Promise(((e,t)=>{n=e,r=t})),l=()=>!Qr.isFocused()||"always"!==e.networkMode&&!Kr.isOnline(),c=r=>{i||(i=!0,null==e.onSuccess||e.onSuccess(r),null==t||t(),n(r))},u=n=>{i||(i=!0,null==e.onError||e.onError(n),null==t||t(),r(n))},d=()=>new Promise((n=>{t=e=>{const t=i||!l();return t&&n(e),t},null==e.onPause||e.onPause()})).then((()=>{t=void 0,i||null==e.onContinue||e.onContinue()})),f=()=>{if(i)return;let t;try{t=e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(c).catch((t=>{var n,r;if(i)return;const s=null!=(n=e.retry)?n:3,c=null!=(r=e.retryDelay)?r:$r,p="function"==typeof c?c(o,t):c,h=!0===s||"number"==typeof s&&o<s||"function"==typeof s&&s(o,t);!a&&h?(o++,null==e.onFail||e.onFail(o,t),Vr(p).then((()=>{if(l())return d()})).then((()=>{a?u(t):f()}))):u(t)}))};return Jr(e.networkMode)?f():d().then(f),{promise:s,cancel:t=>{i||(u(new Yr(t)),null==e.abort||e.abort())},continue:()=>(null==t?void 0:t())?s:Promise.resolve(),cancelRetry:()=>{a=!0},continueRetry:()=>{a=!1}}}class ta extends Gr{constructor(e){super(),this.defaultOptions=e.defaultOptions,this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||qr,this.observers=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter((t=>t!==e)),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var e,t;return null!=(e=null==(t=this.retryer)?void 0:t.continue())?e:this.execute()}async execute(){const e=()=>{var e;return this.retryer=ea({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},t="loading"===this.state.status;try{var n,r,a,o,i,s,l,c;if(!t){var u,d,f,p;this.dispatch({type:"loading",variables:this.options.variables}),await(null==(u=(d=this.mutationCache.config).onMutate)?void 0:u.call(d,this.state.variables,this));const e=await(null==(f=(p=this.options).onMutate)?void 0:f.call(p,this.state.variables));e!==this.state.context&&this.dispatch({type:"loading",context:e,variables:this.state.variables})}const h=await e();return await(null==(n=(r=this.mutationCache.config).onSuccess)?void 0:n.call(r,h,this.state.variables,this.state.context,this)),await(null==(a=(o=this.options).onSuccess)?void 0:a.call(o,h,this.state.variables,this.state.context)),await(null==(i=(s=this.mutationCache.config).onSettled)?void 0:i.call(s,h,null,this.state.variables,this.state.context,this)),await(null==(l=(c=this.options).onSettled)?void 0:l.call(c,h,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:h}),h}catch(e){try{var h,m,C,y,g,v,b,w;throw await(null==(h=(m=this.mutationCache.config).onError)?void 0:h.call(m,e,this.state.variables,this.state.context,this)),await(null==(C=(y=this.options).onError)?void 0:C.call(y,e,this.state.variables,this.state.context)),await(null==(g=(v=this.mutationCache.config).onSettled)?void 0:g.call(v,void 0,e,this.state.variables,this.state.context,this)),await(null==(b=(w=this.options).onSettled)?void 0:b.call(w,void 0,e,this.state.variables,this.state.context)),e}finally{this.dispatch({type:"error",error:e})}}}dispatch(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"loading":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!Jr(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"};case"setState":return{...t,...e.state}}})(this.state),zr.batch((()=>{this.observers.forEach((t=>{t.onMutationUpdate(e)})),this.mutationCache.notify({mutation:this,type:"updated",action:e})}))}}class na extends Wr{constructor(e,t){super(),this.client=e,this.setOptions(t),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;const n=this.options;this.options=this.client.defaultMutationOptions(e),Fr(n,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(t=this.currentMutation)||t.setOptions(this.options)}onUnsubscribe(){var e;this.listeners.length||null==(e=this.currentMutation)||e.removeObserver(this)}onMutationUpdate(e){this.updateResult();const t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==e?e:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){const e=this.currentMutation?this.currentMutation.state:{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0},t={...e,isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset};this.currentResult=t}notify(e){zr.batch((()=>{var t,n,r,a;if(this.mutateOptions&&this.hasListeners())if(e.onSuccess)null==(t=(n=this.mutateOptions).onSuccess)||t.call(n,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(r=(a=this.mutateOptions).onSettled)||r.call(a,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context);else if(e.onError){var o,i,s,l;null==(o=(i=this.mutateOptions).onError)||o.call(i,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(s=(l=this.mutateOptions).onSettled)||s.call(l,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context)}e.listeners&&this.listeners.forEach((e=>{e(this.currentResult)}))}))}}function ra(e,t){return"function"==typeof e?e(...t):!!e}function aa(e,t,n){const a=function(e,t,n){return Dr(e)?"function"==typeof t?{...n,mutationKey:e,mutationFn:t}:{...t,mutationKey:e}:"function"==typeof e?{...t,mutationFn:e}:{...e}}(e,t,n),o=l({context:a.context}),[i]=r.useState((()=>new na(o,a)));r.useEffect((()=>{i.setOptions(a)}),[i,a]);const s=Er(r.useCallback((e=>i.subscribe(zr.batchCalls(e))),[i]),(()=>i.getCurrentResult()),(()=>i.getCurrentResult())),c=r.useCallback(((e,t)=>{i.mutate(e,t).catch(oa)}),[i]);if(s.error&&ra(i.options.useErrorBoundary,[s.error]))throw s.error;return{...s,mutate:c,mutateAsync:s.mutate}}function oa(){}var ia=function(t){var n=t.initialItem,r=t.key,a=t.serialize,o=vr(),i=o.setPostMetaData,s=o.postMetaData[r],l=(0,e.useState)(n)[0],c=(0,e.useMemo)((function(){var e="string"==typeof s&&s.length;if(a&&e)try{var t=JSON.parse(s);return ca.includes(r)&&(sa(t)||la(t))?sa(t)?{values:t,tone:null}:la(t)?t.map((function(e){return{values:e,tone:null}})):t:t}catch(e){return lt.error(e),null}return s}),[r,s,a]),u=null!=c?c:l,d=(0,e.useCallback)((function(e){var t,n=a?JSON.stringify(e):e;i(((t={})[r]=n,t))}),[r,a,i]);return{data:u,update:d}},sa=function(e){return Array.isArray(e)&&e.length&&e.every((function(e){return"string"==typeof e}))},la=function(e){return Array.isArray(e)&&e.length&&e.every((function(e){return null===e||Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}))},ca=["nota_excerpt_history","nota_headline_history","nota_quotes_history","nota_slug_history","nota_seo_desc_history","nota_seo_title_history","nota_hashtags_history","nota_social_post_facebook_history","nota_social_post_instagram_history","nota_social_post_linkedin_history","nota_social_post_threads_history","nota_social_post_tiktok_history","nota_social_post_twitter_history","nota_tag_history","nota_selected_hashtags","nota_sms_history","nota_grade_scores_history","nota_urls_score_history","nota_summary_history","nota_keywords_synonyms_history"],ua=function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))},da=function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},fa=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},pa=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},ha=function(e){return 0===Object.keys(e).length},ma=function(e){return Array.isArray(e)?e[0]:e},Ca=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},ya=function(t){var n=t.initialItems,r=t.key,a=ia({key:r,serialize:!0}),o=a.update,i=n?[n]:[],s=(0,e.useState)(a.data||i),l=s[0],c=s[1],u=(0,e.useState)(l.length?l.length-1:-1),d=u[0],f=u[1];(0,e.useEffect)((function(){o(l)}),[l,o]);var p=l.length,h=d<p-1,m=d>0,C=(0,e.useCallback)((function(){h&&f((function(e){return e+1}))}),[h,f]),y=(0,e.useCallback)((function(){m&&f((function(e){return e-1}))}),[m,f]),g=(0,e.useCallback)((function(e){c((function(t){var n=Ca([],t,!0);return n.splice(d,1,e),n}))}),[d,c]),v=(0,e.useCallback)((function(e){c((function(t){return Ca(Ca([],t,!0),[e],!1)}))}),[]);(0,e.useEffect)((function(){f(l.length-1)}),[l.length]);var b=(0,e.useCallback)((function(e){c([e]),f(0)}),[c]),w=(0,e.useMemo)((function(){return l.flat()}),[l]);return{replaceHistoryItem:b,addHistoryItem:v,data:l[d],history:{setHistoryIndex:f,hasNext:h,hasPrev:m,historyIndex:d,nextHistoryItem:C,prevHistoryItem:y,totalHistoryItems:p,fullHistory:w},update:g}},ga=function(t,n){var r=t.fullHistory,a=t.setHistoryIndex,o=(0,e.useRef)(!1);(0,e.useEffect)((function(){if(!o.current&&0!==r.length){var e=r.findIndex((function(e){var t;return null===(t=e.values)||void 0===t?void 0:t.includes(n)}));-1!==e&&(a(e),o.current=!0)}}),[r,n,a])},va=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},ba=function(t){var n=t.trackValue,r=t.revertFn,a=(0,e.useState)([]),o=a[0],i=a[1],s=(0,e.useState)([]),l=s[0],c=s[1],u=(0,e.useMemo)((function(){return o.find((function(e){return!l.includes(e)}))}),[o,l]),d=void 0!==u&&n!==u;return(0,e.useEffect)((function(){i((function(e){return va([n],e,!0)}))}),[n]),{update:function(e){c((function(t){return va([e],t,!0)}))},revert:d?function(){void 0!==u&&r(u)}:void 0}},wa=Zn.useSelect,Ea=function(){var e=(0,Zn.useDispatch)("core/editor").editPost,t=wa((function(e){var t=e("core/editor");return{postTitle:t.getEditedPostAttribute("title"),postExcerpt:t.getEditedPostAttribute("excerpt"),postSlug:t.getEditedPostAttribute("slug"),postId:t.getCurrentPostId(),isPublished:t.isCurrentPostPublished()}})),n=t.postTitle,r=t.postExcerpt,a=t.postSlug,o=t.postId,i=t.isPublished,s=ba({trackValue:n,revertFn:function(t){e({title:t})}}),l=ba({trackValue:r,revertFn:function(t){e({excerpt:t})}}),c=ba({trackValue:a,revertFn:function(t){e({slug:t})}});return{editPostTitle:function(t){s.update(t),e({title:t})},editPostExcerpt:function(t){l.update(t),e({excerpt:t})},editPostSlug:function(t){c.update(t),e({slug:t})},isPublished:i,postExcerpt:r,postTitle:n,postSlug:a,postId:o,revertExcerpt:l.revert,revertTitle:s.revert,revertSlug:c.revert}},xa=Zn.useSelect,Ma=function(){var e,t,n=(0,Zn.useDispatch)("yoast-seo/editor"),r=xa((function(e){var t=e("yoast-seo/editor"),n=e("core/editor"),r=n.getEditedPostAttribute("meta"),a=null==t?void 0:t.getSnippetEditorData(),o=(null==r?void 0:r[window.notaTools.meta_keys.seo_title])||n.getEditedPostAttribute("title");return{yoastValues:a,metaValues:{description:null==r?void 0:r[window.notaTools.meta_keys.seo_desc],title:null==r?void 0:r[window.notaTools.meta_keys.seo_title]},metaDescription:(null==t?void 0:t.getDescription())||(null==r?void 0:r[window.notaTools.meta_keys.seo_desc]),seoTitleTemplate:null==t?void 0:t.getSeoTitleTemplate(),seoTitleFormatted:(null==t?void 0:t.getSeoTitle())||"".concat(o," ").concat(window.notaTools.post_title_suffix)}}),[]),a=(0,Zn.useDispatch)("core/editor"),o=ba({trackValue:r.metaValues.title,revertFn:function(e){var t;a.editPost({meta:(t={},t[window.notaTools.meta_keys.seo_title]=e,t)})}}),i=ba({trackValue:r.metaValues.description,revertFn:function(e){var t;a.editPost({meta:(t={},t[window.notaTools.meta_keys.seo_desc]=e,t)})}}),s=ba({trackValue:null===(e=r.yoastValues)||void 0===e?void 0:e.title,revertFn:function(e){null==n||n.updateData({title:e}).catch(lt.error)}}),l=ba({trackValue:null===(t=r.yoastValues)||void 0===t?void 0:t.description,revertFn:function(e){null==n||n.updateData({description:e}).catch(lt.error)}});return{editMetaDescription:function(e){var t;a.editPost({meta:(t={},t[window.notaTools.meta_keys.seo_desc]=e,t)}).catch(lt.error),i.update(e),null==n||n.updateData({description:e}).catch(lt.error),l.update(e)},editMetaTitle:function(e){var t,i;a.editPost({meta:(t={},t[window.notaTools.meta_keys.seo_title]=e,t)}).catch(lt.error),o.update(e);var l=((null===(i=null==r?void 0:r.seoTitleTemplate)||void 0===i?void 0:i.includes("%%title%%"))?null==r?void 0:r.seoTitleTemplate:"%%title%% %%page%% %%sep%% %%sitename%%").replace("%%title%%",e);null==n||n.updateData({title:l}).catch(lt.error),s.update(l)},metaDescription:r.metaValues.description,metaTitle:r.metaValues.title,metaTitleFormatted:r.seoTitleFormatted,revertMetaDescription:i.revert?function(){var e,t;null===(e=l.revert)||void 0===e||e.call(l),null===(t=i.revert)||void 0===t||t.call(i)}:void 0,revertMetaTitle:o.revert?function(){var e,t;null===(e=s.revert)||void 0===e||e.call(s),null===(t=o.revert)||void 0===t||t.call(o)}:void 0}},La=function(){return La=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},La.apply(this,arguments)},Sa=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},Aa=function(t){var n=t.notaService,r=t.components,a=t.requestsToQueue,o=vr(),i=o.setKeywordsSynonyms,s=o.setAnalyzePageLoading,l=o.selectedBrand,c=window.notaTools.meta_keys,u=ya({key:c.excerpt_history}),d=ya({key:c.social_hashtags_history}),f=ya({key:c.headline_history}),p=ya({key:c.slug_history}),h=ya({key:c.tag_history}),m=ya({key:c.seo_desc_history}),C=ya({key:c.seo_title_history}),y=ya({key:c.social_post_facebook_history}),g=ya({key:c.social_post_instagram_history}),v=ya({key:c.social_post_linkedin_history}),b=ya({key:c.social_post_threads_history}),w=ya({key:c.social_post_tiktok_history}),E=ya({key:c.social_post_twitter_history}),x=ya({key:c.sms_history}),M=ya({key:c.quotes_history}),L=ya({key:c.keywords_synonyms_history});(0,e.useEffect)((function(){i(L.data||{})}),[i,L.data]);var S=ya({key:c.summary_history}),A=ia({key:c.selected_hashtags,serialize:!0}),O=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getHashtags({postHTML:t,regenerate:r})},onSuccess:function(e){d.addHistoryItem({values:e.hashTags,tone:null})},retry:3}),T=O.mutate,P=Sa(O,["mutate"]),k=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getHeadlines({postHTML:t,count:3,regenerate:r,brandId:null==l?void 0:l.id,queue:a.headlines})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===f.history.fullHistory.length&&f.addHistoryItem({values:e.originalValues||[],tone:null}),f.addHistoryItem({values:e.headlines,tone:null==e?void 0:e.tone})},retry:3}),Z=k.mutate,H=Sa(k,["mutate"]),R=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSlugs({postHTML:t,count:3,regenerate:r})},onSuccess:function(e){p.addHistoryItem({values:e.slugs,tone:null})},retry:3}),j=R.mutate,F=Sa(R,["mutate"]),N=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getMetaDescriptions({postHTML:t,count:3,regenerate:r,brandId:null==l?void 0:l.id,queue:a.metaDescription})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===m.history.fullHistory.length&&m.addHistoryItem({values:e.originalValues||[],tone:null}),m.addHistoryItem({values:e.metaDescriptions,tone:null==e?void 0:e.tone})},retry:3}),I=N.mutate,_=Sa(N,["mutate"]),D=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getMetaTitles({postHTML:t,count:3,regenerate:r,brandId:null==l?void 0:l.id,queue:a.metaTitle})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===C.history.fullHistory.length&&C.addHistoryItem({values:e.originalValues||[],tone:null}),C.addHistoryItem({values:e.metaTitles,tone:null==e?void 0:e.tone})},retry:3}),V=D.mutate,U=Sa(D,["mutate"]),B=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getEntities({postHTML:t,regenerate:r,queue:a.entities})},onSuccess:function(e){h.addHistoryItem({values:e.entities,tone:null})},retry:3}),q=B.mutate,z=Sa(B,["mutate"]),G=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getKeywordSynonyms({postHTML:t,count:10,regenerate:r,queue:a.keywords})},onSuccess:function(e){var t=function(e){for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var a=r[n],o=a[0],i=a[1];t[o]=i.synonyms}return t}(e.keywordsData);L.addHistoryItem(t)},retry:3}),W=G.mutate,Q=Sa(G,["mutate"]),K=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"facebook",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===y.history.fullHistory.length&&y.addHistoryItem({values:e.originalValues||[],tone:null}),y.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),$=K.mutate,J=Sa(K,["mutate"]),Y=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"instagram",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===g.history.fullHistory.length&&g.addHistoryItem({values:e.originalValues||[],tone:null}),g.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),X=Y.mutate,ee=Sa(Y,["mutate"]),te=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"linkedIn",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===v.history.fullHistory.length&&v.addHistoryItem({values:e.originalValues||[],tone:null}),v.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),ne=te.mutate,re=Sa(te,["mutate"]),ae=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"threads",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===b.history.fullHistory.length&&b.addHistoryItem({values:e.originalValues||[],tone:null}),b.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),oe=ae.mutate,ie=Sa(ae,["mutate"]),se=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"tiktok",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===w.history.fullHistory.length&&w.addHistoryItem({values:e.originalValues||[],tone:null}),w.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),le=se.mutate,ce=Sa(se,["mutate"]),ue=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"twitter",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===E.history.fullHistory.length&&E.addHistoryItem({values:e.originalValues||[],tone:null}),E.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),de=ue.mutate,fe=Sa(ue,["mutate"]),pe=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSummary({postHTML:t,lengthOption:"1-sentence",regenerate:r,brandId:null==l?void 0:l.id,queue:a.summary})},onSuccess:function(e){u.addHistoryItem({values:[e.summary],tone:null==e?void 0:e.tone})},retry:3}),he=pe.mutate,me=Sa(pe,["mutate"]),Ce=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate,a=e.count;return n.getSMS({postHTML:t,regenerate:r,count:a})},onSuccess:function(e){x.addHistoryItem({values:e.messages,tone:null})},retry:3}),ye=Ce.mutate,ge=Sa(Ce,["mutate"]),ve=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getQuotes({postHTML:t,regenerate:r,count:3,exclude:M.history.fullHistory.map((function(e){return e.values})).flat()})},onSuccess:function(e){M.addHistoryItem({values:e.quotes,tone:null})},retry:3}),be=ve.mutate,we=Sa(ve,["mutate"]),Ee=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSummary({postHTML:t,lengthOption:"1-paragraph",regenerate:r,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===S.history.fullHistory.length&&S.addHistoryItem({values:e.originalValues||[],tone:null}),S.addHistoryItem({values:[e.summary],tone:null==e?void 0:e.tone})},retry:3}),xe=Ee.mutate,Me=Sa(Ee,["mutate"]),Le=(0,e.useCallback)((function(e){var t={hashtags:function(){return T({postHTML:e.postHTML})},headlines:function(){return Z({postHTML:e.postHTML})},slugs:function(){return j({postHTML:e.postHTML})},excerpt:function(){return he({postHTML:e.postHTML})},tags:function(){return q({postHTML:e.postHTML})},metaDescriptions:function(){return I({postHTML:e.postHTML})},metaTitles:function(){return V({postHTML:e.postHTML})},quotes:function(){return be({postHTML:e.postHTML})},socialPostsFacebook:function(){return $({postHTML:e.postHTML})},socialPostsInstagram:function(){return X({postHTML:e.postHTML})},socialPostsLinkedIn:function(){return ne({postHTML:e.postHTML})},socialPostsThreads:function(){return oe({postHTML:e.postHTML})},socialPostsTikTok:function(){return le({postHTML:e.postHTML})},socialPostsTwitter:function(){return de({postHTML:e.postHTML})},summary:function(){return xe({postHTML:e.postHTML})},sms:function(){return ye({postHTML:e.postHTML})},keywordSynonyms:function(){return W({postHTML:e.postHTML})}},n=Object.keys(r);(e.components||n).forEach((function(e){var n;r[e]&&(null===(n=t[e])||void 0===n||n.call(t))}))}),[r,T,Z,j,he,q,I,V,be,W,$,X,ne,oe,le,de,ye,xe]),Se=[P.isLoading,H.isLoading,F.isLoading,_.isLoading,U.isLoading,z.isLoading,Q.isLoading,me.isLoading,Me.isLoading].some((function(e){return e}));(0,e.useEffect)((function(){s(Se)}),[Se,s]);var Ae=Ea(),Oe=Ae.postTitle,Te=Ae.postExcerpt,Pe=Ma(),ke=Pe.metaTitle,Ze=Pe.metaDescription;return ga(f.history,Oe),ga(C.history,ke),ga(m.history,Ze),ga(u.history,Te),{hashtags:La(La({error:P.error,isLoading:P.isLoading},d),{refresh:function(e){T({postHTML:e.postHTML,regenerate:!0})}}),headlines:La(La({error:H.error,isLoading:H.isLoading},f),{refresh:function(e){Z({postHTML:e.postHTML,regenerate:!0})}}),slugs:La(La({error:F.error,isLoading:F.isLoading},p),{refresh:function(e){j({postHTML:e.postHTML,regenerate:!0})}}),metaDescriptions:La(La({error:_.error,isLoading:_.isLoading},m),{refresh:function(e){I({postHTML:e.postHTML,regenerate:!0})}}),metaTitles:La(La({error:U.error,isLoading:U.isLoading},C),{refresh:function(e){V({postHTML:e.postHTML,regenerate:!0})}}),quotes:La(La({error:we.error,isLoading:we.isLoading},M),{refresh:function(e){be({postHTML:e.postHTML,regenerate:!0})}}),run:Le,excerpt:La(La({error:me.error,isLoading:me.isLoading},u),{refresh:function(e){he({postHTML:e.postHTML,regenerate:!0})}}),tags:La(La({error:z.error,isLoading:z.isLoading},h),{refresh:function(e){q({postHTML:e.postHTML,regenerate:!0})}}),socialPostsFacebook:La(La({error:J.error,isLoading:J.isLoading},y),{refresh:function(e){$({postHTML:e.postHTML,regenerate:!0})}}),socialPostsInstagram:La(La({error:ee.error,isLoading:ee.isLoading},g),{refresh:function(e){X({postHTML:e.postHTML,regenerate:!0})}}),socialPostsLinkedIn:La(La({error:re.error,isLoading:re.isLoading},v),{refresh:function(e){ne({postHTML:e.postHTML,regenerate:!0})}}),socialPostsThreads:La(La({error:ie.error,isLoading:ie.isLoading},b),{refresh:function(e){oe({postHTML:e.postHTML,regenerate:!0})}}),socialPostsTikTok:La(La({error:ce.error,isLoading:ce.isLoading},w),{refresh:function(e){le({postHTML:e.postHTML,regenerate:!0})}}),socialPostsTwitter:La(La({error:fe.error,isLoading:fe.isLoading},E),{refresh:function(e){de({postHTML:e.postHTML,regenerate:!0})}}),sms:La(La({error:ge.error,isLoading:ge.isLoading},x),{refresh:function(e){ye({postHTML:e.postHTML,regenerate:!0})}}),summary:La(La({error:Me.error,isLoading:Me.isLoading},S),{refresh:function(e){xe({postHTML:e.postHTML,regenerate:!0})}}),keywordSynonyms:La(La({error:Q.error,isLoading:Q.isLoading},L),{refresh:function(e){W({postHTML:e.postHTML,regenerate:!0})}}),selectedHashtags:A}};class Oa extends Wr{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.length&&(this.currentQuery.addObserver(this),Ta(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.listeners.length||this.destroy()}shouldFetchOnReconnect(){return Pa(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Pa(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=[],this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){const n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),Fr(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();const a=this.hasListeners();a&&ka(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!a||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();const o=this.computeRefetchInterval();!a||this.currentQuery===r&&this.options.enabled===n.enabled&&o===this.currentRefetchInterval||this.updateRefetchInterval(o)}getOptimisticResult(e){const t=this.client.getQueryCache().build(this.client,e);return this.createResult(t,e)}getCurrentResult(){return this.currentResult}trackResult(e){const t={};return Object.keys(e).forEach((n=>{Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),e[n])})})),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){const t=this.client.defaultQueryOptions(e),n=this.client.getQueryCache().build(this.client,t);return n.isFetchingOptimistic=!0,n.fetch().then((()=>this.createResult(n,t)))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then((()=>(this.updateResult(),this.currentResult)))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(Mr)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),xr||this.currentResult.isStale||!Lr(this.options.staleTime))return;const e=Sr(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((()=>{this.currentResult.isStale||this.updateResult()}),e)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!xr&&!1!==this.options.enabled&&Lr(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((()=>{(this.options.refetchIntervalInBackground||Qr.isFocused())&&this.executeFetch()}),this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){const n=this.currentQuery,r=this.options,a=this.currentResult,o=this.currentResultState,i=this.currentResultOptions,s=e!==n,l=s?e.state:this.currentQueryInitialState,c=s?this.currentResult:this.previousQueryResult,{state:u}=e;let d,{dataUpdatedAt:f,error:p,errorUpdatedAt:h,fetchStatus:m,status:C}=u,y=!1,g=!1;if(t._optimisticResults){const a=this.hasListeners(),o=!a&&Ta(e,t),i=a&&ka(e,n,t,r);(o||i)&&(m=Jr(e.options.networkMode)?"fetching":"paused",f||(C="loading")),"isRestoring"===t._optimisticResults&&(m="idle")}if(t.keepPreviousData&&!u.dataUpdatedAt&&null!=c&&c.isSuccess&&"error"!==C)d=c.data,f=c.dataUpdatedAt,C=c.status,y=!0;else if(t.select&&void 0!==u.data)if(a&&u.data===(null==o?void 0:o.data)&&t.select===this.selectFn)d=this.selectResult;else try{this.selectFn=t.select,d=t.select(u.data),d=Br(null==a?void 0:a.data,d,t),this.selectResult=d,this.selectError=null}catch(e){this.selectError=e}else d=u.data;if(void 0!==t.placeholderData&&void 0===d&&"loading"===C){let e;if(null!=a&&a.isPlaceholderData&&t.placeholderData===(null==i?void 0:i.placeholderData))e=a.data;else if(e="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.selectError=null}catch(e){this.selectError=e}void 0!==e&&(C="success",d=Br(null==a?void 0:a.data,e,t),g=!0)}this.selectError&&(p=this.selectError,d=this.selectResult,h=Date.now(),C="error");const v="fetching"===m,b="loading"===C,w="error"===C;return{status:C,fetchStatus:m,isLoading:b,isSuccess:"success"===C,isError:w,isInitialLoading:b&&v,data:d,dataUpdatedAt:f,error:p,errorUpdatedAt:h,failureCount:u.fetchFailureCount,failureReason:u.fetchFailureReason,errorUpdateCount:u.errorUpdateCount,isFetched:u.dataUpdateCount>0||u.errorUpdateCount>0,isFetchedAfterMount:u.dataUpdateCount>l.dataUpdateCount||u.errorUpdateCount>l.errorUpdateCount,isFetching:v,isRefetching:v&&!b,isLoadingError:w&&0===u.dataUpdatedAt,isPaused:"paused"===m,isPlaceholderData:g,isPreviousData:y,isRefetchError:w&&0!==u.dataUpdatedAt,isStale:Za(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){const t=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,Fr(n,t))return;this.currentResult=n;const r={cache:!0};!1!==(null==e?void 0:e.listeners)&&(()=>{if(!t)return!0;const{notifyOnChangeProps:e}=this.options;if("all"===e||!e&&!this.trackedProps.size)return!0;const n=new Set(null!=e?e:this.trackedProps);return this.options.useErrorBoundary&&n.add("error"),Object.keys(this.currentResult).some((e=>{const r=e;return this.currentResult[r]!==t[r]&&n.has(r)}))})()&&(r.listeners=!0),this.notify({...r,...e})}updateQuery(){const e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;const t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){const t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||Xr(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){zr.batch((()=>{var t,n,r,a;if(e.onSuccess)null==(t=(n=this.options).onSuccess)||t.call(n,this.currentResult.data),null==(r=(a=this.options).onSettled)||r.call(a,this.currentResult.data,null);else if(e.onError){var o,i,s,l;null==(o=(i=this.options).onError)||o.call(i,this.currentResult.error),null==(s=(l=this.options).onSettled)||s.call(l,void 0,this.currentResult.error)}e.listeners&&this.listeners.forEach((e=>{e(this.currentResult)})),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})}))}}function Ta(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&Pa(e,t,t.refetchOnMount)}function Pa(e,t,n){if(!1!==t.enabled){const r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&Za(e,t)}return!1}function ka(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&Za(e,n)}function Za(e,t){return e.isStaleByTime(t.staleTime)}const Ha=r.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),Ra=r.createContext(!1),ja=(Ra.Provider,(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))});function Fa(e,t,n){return function(e,t){const n=l({context:e.context}),a=r.useContext(Ra),o=r.useContext(Ha),i=n.defaultQueryOptions(e);i._optimisticResults=a?"isRestoring":"optimistic",i.onError&&(i.onError=zr.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=zr.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=zr.batchCalls(i.onSettled)),(e=>{e.suspense&&"number"!=typeof e.staleTime&&(e.staleTime=1e3)})(i),ja(i,o),(e=>{r.useEffect((()=>{e.clearReset()}),[e])})(o);const[s]=r.useState((()=>new t(n,i))),c=s.getOptimisticResult(i);if(Er(r.useCallback((e=>a?()=>{}:s.subscribe(zr.batchCalls(e))),[s,a]),(()=>s.getCurrentResult()),(()=>s.getCurrentResult())),r.useEffect((()=>{s.setOptions(i,{listeners:!1})}),[i,s]),((e,t,n)=>(null==e?void 0:e.suspense)&&((e,t)=>e.isLoading&&e.isFetching&&!t)(t,n))(i,c,a))throw((e,t,n)=>t.fetchOptimistic(e).then((({data:t})=>{null==e.onSuccess||e.onSuccess(t),null==e.onSettled||e.onSettled(t,null)})).catch((t=>{n.clearReset(),null==e.onError||e.onError(t),null==e.onSettled||e.onSettled(void 0,t)})))(i,s,o);if((({result:e,errorResetBoundary:t,useErrorBoundary:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&ra(n,[e.error,r]))({result:c,errorResetBoundary:o,useErrorBoundary:i.useErrorBoundary,query:s.getCurrentQuery()}))throw c.error;return i.notifyOnChangeProps?c:s.trackResult(c)}(Ar(e,t,n),Oa)}var Na={config:{defaultAIContentPolicy:"",defaultHeadlineCharacterMax:void 0,defaultLetterHeadlineCharacterMax:void 0,defaultBriefHeadlineCharacterMax:void 0,requestsToQueue:{entities:!1,keywords:!1,socialPosts:!1,metaTitle:!1,metaDescription:!1,headlines:!1,summary:!1,adjustTextTone:!1,relatedKeywords:!1,proof:!1}}},Ia=function(){var e=Fa({queryKey:["public-config"],queryFn:vt.getPublicConfig,placeholderData:Na,staleTime:3e5}),t=e.data;return{isLoading:e.isLoading,config:(null==t?void 0:t.config)||Na.config}},_a=Zn.useSelect;function Da(){var t=Ia().config,n=_a((function(e){return e("core/editor").getEditedPostContent()}),[]),r=Ma(),a=r.metaDescription,o=r.metaTitle,i=Ea(),s=i.postSlug,l=i.postTitle,c=vr().keywordSynonyms,u=Object.keys(c);return{nextPayload:(0,e.useMemo)((function(){return{content:n,headline:l,metaDescription:a,metaTitle:o,slug:s,urlsList:Ln(n),keywords:c,queue:t.requestsToQueue.proof}}),[n,l,a,o,s,c,t.requestsToQueue.proof]),keywords:u,postHTML:n}}var Va={info:"ntw-bg-status-informational-100 ntw-text-status-informational-300",error:"ntw-bg-status-error-10 ntw-text-status-error-100"},Ua={error:rn,info:_t};function Ba(t){var n=t.level,r=t.children,a=t.className,o=t.size,i=void 0===o?"large":o,s=Ua[n];return(0,e.createElement)("div",{className:mn("ntw-flex ntw-rounded-lg",Va[n],a,{"ntw-p-24px":"large"===i,"ntw-p-8px ntw-text-xs":"small"===i})},(0,e.createElement)(s,{size:24,className:"ntw-mr-8px ntw-flex-shrink-0"}),(0,e.createElement)("div",{className:"ntw-flex-1"},r))}function qa(t){var n=t.className,r=t.color,a=void 0===r?"#39B105":r;return(0,e.createElement)("svg",{width:"38",height:"28",viewBox:"0 0 38 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("g",{filter:"url(#filter0_d_1_7)"},(0,e.createElement)("rect",{x:"6.32876",y:"4.44244",width:"27.3778",height:"12.4444",rx:"6.22222",transform:"rotate(10 6.32876 4.44244)",fill:a}),(0,e.createElement)("rect",{x:"11.8082",y:"9.19992",width:"14.9333",height:"4.97778",rx:"2.48889",transform:"rotate(10 11.8082 9.19992)",fill:"white"})),(0,e.createElement)("defs",null,(0,e.createElement)("filter",{id:"filter0_d_1_7",x:"0.174931",y:"-3.26744",width:"37.1085",height:"35.905",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},(0,e.createElement)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,e.createElement)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,e.createElement)("feOffset",null),(0,e.createElement)("feGaussianBlur",{stdDeviation:"2.48889"}),(0,e.createElement)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,e.createElement)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"}),(0,e.createElement)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1_7"}),(0,e.createElement)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1_7",result:"shape"}))))}function za(t){var n=t.className;return(0,e.createElement)("svg",{viewBox:"0 0 248 112",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("path",{d:"M35.5989 111.315C34.9668 111.292 34.4716 110.762 34.5008 110.13C34.5027 110.088 34.5046 110.046 34.5066 110.004C34.5367 109.37 35.0829 108.887 35.7166 108.927C36.3473 108.967 36.8262 109.509 36.7964 110.141C36.7954 110.163 36.7943 110.185 36.7933 110.208C36.7639 110.841 36.2327 111.337 35.5989 111.315Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M37.152 97.1852C36.5347 97.0623 36.1309 96.4651 36.2549 95.848C36.2629 95.8085 36.2709 95.769 36.2789 95.7295C36.4057 95.1029 37.0256 94.7083 37.649 94.8501C38.2623 94.9895 38.6485 95.5963 38.5237 96.2128C38.5196 96.2331 38.5155 96.2533 38.5114 96.2736C38.3852 96.8996 37.7782 97.31 37.152 97.1852Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M40.8792 83.3402C40.2916 83.12 39.9882 82.4694 40.2051 81.8806C40.2178 81.8461 40.2305 81.8117 40.2432 81.7772C40.4666 81.1731 41.1466 80.8786 41.7434 81.1207C42.3247 81.3564 42.6094 82.014 42.3918 82.6022C42.3859 82.6182 42.38 82.6341 42.3741 82.6501C42.1513 83.2535 41.4815 83.5659 40.8792 83.3402Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M47.3741 69.0182C46.8349 68.6983 46.649 68.0061 46.9627 67.4633C46.9782 67.4364 46.9938 67.4095 47.0093 67.3826C47.3346 66.821 48.0616 66.6471 48.6107 66.9931C49.1413 67.3273 49.3076 68.0233 48.9932 68.5658C48.9877 68.5754 48.9821 68.585 48.9765 68.5946C48.6516 69.1556 47.9317 69.3491 47.3741 69.0182Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M56.2176 56.0309C55.7418 55.6206 55.6787 54.9055 56.082 54.4238C56.0975 54.4053 56.1131 54.3867 56.1286 54.3682C56.5483 53.8677 57.2996 53.8223 57.7829 54.2619C58.2479 54.6848 58.2874 55.4048 57.8834 55.8864C57.4638 56.3864 56.7119 56.4572 56.2176 56.0309Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M67.1255 44.8236C66.7263 44.3346 66.7869 43.6141 67.2701 43.2079C67.2831 43.197 67.296 43.1861 67.3089 43.1753C67.8114 42.7533 68.5642 42.8418 68.9657 43.3607C69.3504 43.8579 69.2704 44.5725 68.7889 44.9766C68.2886 45.3962 67.5384 45.3294 67.1255 44.8236Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M79.764 35.7394C79.4528 35.1853 79.6363 34.4764 80.1871 34.1591C80.1958 34.154 80.2046 34.149 80.2134 34.1439C80.7831 33.8159 81.5125 34.0387 81.8194 34.62C82.1124 35.1748 81.9122 35.8681 81.3683 36.1809C80.8062 36.5042 80.0816 36.3048 79.764 35.7394Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M93.7407 29.0401C93.5268 28.4361 93.8427 27.7689 94.4457 27.5524C95.0638 27.3304 95.7461 27.6657 95.9493 28.2901L95.9569 28.3133C96.1512 28.9105 95.8306 29.5524 95.2394 29.7644C94.6339 29.9815 93.9637 29.6698 93.749 29.0634L93.7407 29.0401Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M108.639 24.9473C108.53 24.3105 108.955 23.7035 109.593 23.5968C110.238 23.4888 110.843 23.936 110.937 24.5834L110.942 24.613C111.032 25.2368 110.603 25.8161 109.981 25.9201C109.352 26.0253 108.752 25.6059 108.644 24.977L108.639 24.9473Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M124 23.5771C124 22.9261 124.528 22.3976 125.179 22.4064C125.829 22.4152 126.343 22.9567 126.326 23.6068L126.325 23.6385C126.309 24.2724 125.781 24.772 125.147 24.7635C124.514 24.7549 124 24.2422 124 23.6087V23.5771Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M139.358 24.9691C139.469 24.3238 140.087 23.8923 140.73 24.0178C141.363 24.1415 141.773 24.7588 141.647 25.3918L141.642 25.4208C141.518 26.0475 140.906 26.4515 140.279 26.3292C139.66 26.2086 139.247 25.6187 139.353 24.9979L139.358 24.9691Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M154.242 29.0904C154.462 28.4712 155.158 28.143 155.77 28.3815C156.366 28.6139 156.665 29.2886 156.436 29.8861L156.427 29.9081C156.197 30.5096 155.518 30.804 154.917 30.5704C154.332 30.3427 154.033 29.6822 154.242 29.0904Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M168.21 35.7875C168.532 35.2144 169.266 35.0116 169.827 35.3545C169.836 35.3603 169.846 35.3661 169.855 35.3719C170.397 35.7034 170.562 36.4153 170.237 36.9606C169.904 37.5182 169.174 37.698 168.62 37.3595C168.085 37.0323 167.902 36.3346 168.21 35.7875Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M180.836 44.872C181.251 44.364 182.005 44.2961 182.495 44.7309C182.509 44.7428 182.522 44.7548 182.536 44.7667C183.008 45.1852 183.05 45.9058 182.638 46.3837C182.212 46.879 181.46 46.9254 180.971 46.4923C180.5 46.0754 180.438 45.3593 180.836 44.872Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M191.736 56.0718C192.23 55.6455 192.979 55.7105 193.385 56.2215C193.401 56.2412 193.417 56.261 193.433 56.2808C193.823 56.7727 193.741 57.4855 193.255 57.8829C192.75 58.2956 192 58.2038 191.594 57.6934C191.203 57.2018 191.26 56.4821 191.736 56.0718Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M200.58 69.0462C201.137 68.7154 201.858 68.908 202.169 69.4773C202.184 69.5054 202.199 69.5335 202.215 69.5617C202.514 70.1124 202.31 70.7995 201.763 71.1049C201.197 71.4204 200.483 71.2084 200.173 70.6398C200.168 70.6291 200.162 70.6185 200.156 70.6079C199.856 70.0575 200.04 69.3661 200.58 69.0462Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M206.559 81.9158C207.158 81.6795 207.835 81.9803 208.052 82.5861C208.065 82.621 208.077 82.6558 208.09 82.6907C208.301 83.2815 207.992 83.9293 207.402 84.1439C206.798 84.3637 206.131 84.0452 205.914 83.44C205.908 83.4238 205.903 83.4075 205.897 83.3912C205.685 82.8009 205.975 82.146 206.559 81.9158Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M210.508 95.5887C211.133 95.4523 211.749 95.8519 211.871 96.4793C211.878 96.519 211.886 96.5587 211.894 96.5984C212.013 97.2166 211.604 97.8106 210.985 97.9283C210.358 98.0477 209.755 97.6324 209.634 97.0057C209.63 96.9852 209.626 96.9648 209.622 96.9443C209.502 96.3267 209.894 95.723 210.508 95.5887Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M212.329 109.73C212.963 109.695 213.505 110.183 213.529 110.817C213.531 110.859 213.532 110.901 213.534 110.943C213.558 111.575 213.058 112.101 212.425 112.118C211.791 112.135 211.265 111.634 211.241 111.001C211.24 110.978 211.239 110.956 211.238 110.934C211.214 110.302 211.698 109.764 212.329 109.73Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M14 112C12.8954 112 11.9981 111.104 12.0178 110C12.4926 83.4005 22.4222 57.8356 40.0259 37.8896C40.7568 37.0614 42.0237 37.006 42.8387 37.7515L51.4565 45.6354C52.2715 46.3809 52.3259 47.6448 51.5974 48.4751C36.6351 65.5278 28.1714 87.3185 27.7007 110C27.6778 111.104 26.7846 112 25.68 112H14Z",fill:"url(#paint0_linear_6379_341177)"}),(0,e.createElement)("path",{d:"M46.2183 34.2183C45.4372 33.4372 45.4364 32.169 46.2313 31.402C66.2656 12.0702 92.7867 0.892155 120.615 0.0511573C121.719 0.0177908 122.626 0.903929 122.639 2.00841L122.784 13.6875C122.798 14.792 121.913 15.6963 120.809 15.7329C97.0721 16.5192 74.4589 26.0502 57.3205 42.4918C56.5235 43.2564 55.2583 43.2583 54.4773 42.4773L46.2183 34.2183Z",fill:"url(#paint1_linear_6379_341177)"}),(0,e.createElement)("path",{d:"M127.564 2.05774C127.599 0.953754 128.524 0.0859627 129.627 0.141442C156.527 1.49422 182.041 12.4976 201.488 31.1318C202.285 31.8961 202.289 33.1642 201.51 33.9479L193.28 42.2356C192.502 43.0194 191.237 43.022 190.437 42.2601C173.806 26.4162 152.056 17.0364 129.119 15.8161C128.016 15.7574 127.15 14.8356 127.185 13.7316L127.564 2.05774Z",fill:"url(#paint2_linear_6379_341177)"}),(0,e.createElement)("path",{d:"M204.602 37.1442C205.411 36.3926 206.678 36.4385 207.415 37.2612C225.182 57.0896 235.305 82.6026 235.965 109.218C235.993 110.322 235.102 111.225 233.997 111.232L222.318 111.314C221.213 111.321 220.314 110.432 220.283 109.328C219.653 86.6327 211.025 64.8862 195.924 47.9333C195.189 47.1085 195.234 45.8442 196.043 45.0925L204.602 37.1442Z",fill:"url(#paint3_linear_6379_341177)"}),(0,e.createElement)("defs",null,(0,e.createElement)("linearGradient",{id:"paint0_linear_6379_341177",x1:"18.8444",y1:"112",x2:"48.7111",y2:"40.4445",gradientUnits:"userSpaceOnUse"},(0,e.createElement)("stop",{stopColor:"#C5500E"}),(0,e.createElement)("stop",{offset:"1",stopColor:"#C57A0A"})),(0,e.createElement)("linearGradient",{id:"paint1_linear_6379_341177",x1:"49.9556",y1:"37.3333",x2:"120.889",y2:"6.84444",gradientUnits:"userSpaceOnUse"},(0,e.createElement)("stop",{stopColor:"#B99414"}),(0,e.createElement)("stop",{offset:"1",stopColor:"#9EC500"})),(0,e.createElement)("linearGradient",{id:"paint2_linear_6379_341177",x1:"125.244",y1:"8.08889",x2:"196.8",y2:"36.7111",gradientUnits:"userSpaceOnUse"},(0,e.createElement)("stop",{stopColor:"#A6CE03"}),(0,e.createElement)("stop",{offset:"1",stopColor:"#32BC00"})),(0,e.createElement)("linearGradient",{id:"paint3_linear_6379_341177",x1:"199.289",y1:"40.4444",x2:"227.911",y2:"112",gradientUnits:"userSpaceOnUse"},(0,e.createElement)("stop",{stopColor:"#39BE00"}),(0,e.createElement)("stop",{offset:"1",stopColor:"#068E00"}))))}function Ga(t){var n=t.className;return(0,e.createElement)("svg",{height:"2",viewBox:"0 0 100 2",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("line",{x1:"99.7773",y1:"0.622222",x2:"0.221787",y2:"0.622231",stroke:"#EBEBEB",strokeWidth:"1.24444"}))}function Wa(t){var n=t.score,r=(0,e.useState)(0),a=r[0],o=r[1],i=n/100*165;(0,e.useEffect)((function(){setTimeout((function(){o(i)}),50)}),[i]);var s=xn(n);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"nota ntw-w-248px ntw-h-112px ntw-relative ntw-mt-5"},(0,e.createElement)(za,null),(0,e.createElement)("div",{className:"ntw-relative ntw-bottom-[23px] ntw-left-0 ntw-h-full ntw-w-full ntw-transform ntw-transition-transform ntw-duration-1000 ntw-ease-in-out",style:{transform:"rotate(".concat(a,"deg)"),transformOrigin:"center bottom"}},(0,e.createElement)(qa,{color:En[s]})),(0,e.createElement)("div",{className:"-translate-y-1/2 ntw-absolute ntw-left-1/2 ntw-top-1/2 ntw-w-full ntw--translate-x-1/2 ntw-text-center ntw-text-typography-medium"},(0,e.createElement)("div",{className:mn("ntw-mx-auto ntw-max-w-[200px] ntw-text-center ntw-text-2xl ntw-font-semibold",{"ntw-mt-[-25px]":s===vn.NeedsImprovement})},s),(0,e.createElement)(Ga,{className:"ntw-mx-auto ntw-mt-1"}),(0,e.createElement)("div",{className:"ntw-text-lg ntw-font-light"},"Overall Content Score"))),(0,e.createElement)("div",{className:"ntw-my-4"},(0,e.createElement)("div",{className:"ntw-flex ntw-flex-col ntw-gap-[8px] ntw-text-base ntw-text-typography-medium"},Mn[s])))}var Qa=Object.defineProperty,Ka=Object.defineProperties,$a=Object.getOwnPropertyDescriptors,Ja=Object.getOwnPropertySymbols,Ya=Object.prototype.hasOwnProperty,Xa=Object.prototype.propertyIsEnumerable,eo=(e,t,n)=>t in e?Qa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const to=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M90.86,50.89a12,12,0,0,0-21.72,0l-64,136a12,12,0,0,0,21.71,10.22L42.44,164h75.12l15.58,33.11a12,12,0,0,0,21.72-10.22ZM53.74,140,80,84.18,106.27,140ZM200,92c-13.85,0-24.77,3.86-32.45,11.48a12,12,0,1,0,16.9,17c3-3,8.26-4.52,15.55-4.52,9.34,0,17.19,5.16,19.37,12.1A47.32,47.32,0,0,0,200,124c-24.26,0-44,17.94-44,40s19.74,40,44,40a47.18,47.18,0,0,0,22-5.38A12,12,0,0,0,244,192V132C244,109.94,224.26,92,200,92Zm0,88c-11,0-20-7.18-20-16s9-16,20-16,20,7.18,20,16S211,180,200,180Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M232,164c0,15.46-14.33,28-32,28s-32-12.54-32-28,14.33-28,32-28S232,148.54,232,164ZM34.82,152h90.36L80,56Z",opacity:"0.2"}),a().createElement("path",{d:"M87.24,52.59a8,8,0,0,0-14.48,0l-64,136a8,8,0,1,0,14.48,6.81L39.9,160h80.2l16.66,35.4a8,8,0,1,0,14.48-6.81ZM47.43,144,80,74.79,112.57,144ZM200,96c-12.76,0-22.73,3.47-29.63,10.32a8,8,0,0,0,11.26,11.36c3.8-3.77,10-5.68,18.37-5.68,13.23,0,24,9,24,20v3.22A42.76,42.76,0,0,0,200,128c-22.06,0-40,16.15-40,36s17.94,36,40,36a42.73,42.73,0,0,0,24-7.25,8,8,0,0,0,16-.75V132C240,112.15,222.06,96,200,96Zm0,88c-13.23,0-24-9-24-20s10.77-20,24-20,24,9,24,20S213.23,184,200,184Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M200,156c0,6.5-7.33,12-16,12s-16-5.5-16-12,7.33-12,16-12S200,149.5,200,156ZM73.61,136h36.78L92,92.53ZM232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM143.37,172.88l-44-104a8,8,0,0,0-14.74,0l-44,104a8,8,0,0,0,14.74,6.24L66.84,152h50.32l11.47,27.12a8,8,0,0,0,14.74-6.24ZM216,132c0-15.44-14.36-28-32-28a34.86,34.86,0,0,0-20.78,6.68,8,8,0,0,0,9.56,12.83A18.84,18.84,0,0,1,184,120c8.56,0,15.8,5.36,16,11.76A35.24,35.24,0,0,0,184,128c-17.64,0-32,12.56-32,28s14.36,28,32,28a35.13,35.13,0,0,0,16.93-4.26A8,8,0,0,0,216,176Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M85.43,53.45a6,6,0,0,0-10.86,0l-64,136a6,6,0,1,0,10.86,5.11L38.63,158h82.74l17.2,36.55a6,6,0,1,0,10.86-5.11ZM44.28,146,80,70.09,115.72,146ZM200,98c-12.21,0-21.71,3.28-28.23,9.74a6,6,0,0,0,8.46,8.52c4.18-4.15,10.84-6.26,19.77-6.26,14.34,0,26,9.87,26,22v7.24A40.36,40.36,0,0,0,200,130c-20.95,0-38,15.25-38,34s17.05,34,38,34a40.36,40.36,0,0,0,26-9.24V192a6,6,0,0,0,12,0V132C238,113.25,221,98,200,98Zm0,88c-14.34,0-26-9.87-26-22s11.66-22,26-22,26,9.87,26,22S214.34,186,200,186Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M87.24,52.59a8,8,0,0,0-14.48,0l-64,136a8,8,0,1,0,14.48,6.81L39.9,160h80.2l16.66,35.4a8,8,0,1,0,14.48-6.81ZM47.43,144,80,74.79,112.57,144ZM200,96c-12.76,0-22.73,3.47-29.63,10.32a8,8,0,0,0,11.26,11.36c3.8-3.77,10-5.68,18.37-5.68,13.23,0,24,9,24,20v3.22A42.76,42.76,0,0,0,200,128c-22.06,0-40,16.15-40,36s17.94,36,40,36a42.73,42.73,0,0,0,24-7.25,8,8,0,0,0,16-.75V132C240,112.15,222.06,96,200,96Zm0,88c-13.23,0-24-9-24-20s10.77-20,24-20,24,9,24,20S213.23,184,200,184Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M83.62,54.3a4,4,0,0,0-7.24,0l-64,136a4,4,0,0,0,7.24,3.4L37.36,156h85.28l17.74,37.7a4,4,0,1,0,7.24-3.4ZM41.13,148,80,65.39,118.87,148ZM200,100c-11.67,0-20.69,3.08-26.82,9.16a4,4,0,1,0,5.64,5.68c4.57-4.54,11.7-6.84,21.18-6.84,15.44,0,28,10.77,28,24v11.92A37.78,37.78,0,0,0,200,132c-19.85,0-36,14.35-36,32s16.15,32,36,32a37.78,37.78,0,0,0,28-11.92V192a4,4,0,0,0,8,0V132C236,114.36,219.85,100,200,100Zm0,88c-15.44,0-28-10.77-28-24s12.56-24,28-24,28,10.77,28,24S215.44,188,200,188Z"}))]]),no=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>Ka(e,$a(t)))(((e,t)=>{for(var n in t||(t={}))Ya.call(t,n)&&eo(e,n,t[n]);if(Ja)for(var n of Ja(t))Xa.call(t,n)&&eo(e,n,t[n]);return e})({ref:t},e),{weights:to}))));no.displayName="TextAa";var ro=Object.defineProperty,ao=Object.defineProperties,oo=Object.getOwnPropertyDescriptors,io=Object.getOwnPropertySymbols,so=Object.prototype.hasOwnProperty,lo=Object.prototype.propertyIsEnumerable,co=(e,t,n)=>t in e?ro(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const uo=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M229.26,90.4a108,108,0,0,1-177.63,114A108,108,0,0,1,195.41,43.63l20.1-20.11a12,12,0,0,1,17,17l-96,96a12,12,0,1,1-17-17l24-24a36,36,0,1,0,19.76,39.65,12,12,0,0,1,23.53,4.74,60,60,0,1,1-25.73-62L178.3,60.74a84,84,0,1,0,28.46,38,12,12,0,1,1,22.5-8.35Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176,128a48,48,0,1,1-48-48A48,48,0,0,1,176,128Z",opacity:"0.2"}),a().createElement("path",{d:"M221.87,83.16A104.1,104.1,0,1,1,195.67,49l22.67-22.68a8,8,0,0,1,11.32,11.32l-96,96a8,8,0,0,1-11.32-11.32l27.72-27.72a40,40,0,1,0,17.87,31.09,8,8,0,1,1,16-.9,56,56,0,1,1-22.38-41.65L184.3,60.39a87.88,87.88,0,1,0,23.13,29.67,8,8,0,0,1,14.44-6.9Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M221.87,83.16A104.1,104.1,0,1,1,195.67,49l22.67-22.68a8,8,0,0,1,11.32,11.32L167.6,99.71h0l-37.71,37.71-23.95,23.95a40,40,0,0,0,62-35.67,8,8,0,1,1,16-.9,56,56,0,0,1-95.5,42.79h0a56,56,0,0,1,73.13-84.43L184.3,60.39a87.88,87.88,0,1,0,23.13,29.67,8,8,0,0,1,14.44-6.9Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M220.06,84a102.06,102.06,0,1,1-24.31-32.27l24-24a6,6,0,0,1,8.48,8.49l-96,96a6,6,0,1,1-8.48-8.49l29.39-29.4a42,42,0,1,0,16.78,31.24,6,6,0,1,1,12-.68A54,54,0,1,1,161.7,85.83l25.54-25.55a89.91,89.91,0,1,0,22,28.93A6,6,0,1,1,220.06,84Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M221.87,83.16A104.1,104.1,0,1,1,195.67,49l22.67-22.68a8,8,0,0,1,11.32,11.32l-96,96a8,8,0,0,1-11.32-11.32l27.72-27.72a40,40,0,1,0,17.87,31.09,8,8,0,1,1,16-.9,56,56,0,1,1-22.38-41.65L184.3,60.39a87.88,87.88,0,1,0,23.13,29.67,8,8,0,0,1,14.44-6.9Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M218.26,84.89a100.16,100.16,0,1,1-22.44-30.37l25.35-25.35a4,4,0,1,1,5.66,5.66l-96,96a4,4,0,0,1-5.66-5.66l31-31a44,44,0,1,0,15.78,31.3,4,4,0,0,1,8-.46,52,52,0,1,1-18.1-36.51l28.34-28.33A92,92,0,0,0,63,193.05,92,92,0,0,0,211,88.33a4,4,0,1,1,7.22-3.44Z"}))]]),fo=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>ao(e,oo(t)))(((e,t)=>{for(var n in t||(t={}))so.call(t,n)&&co(e,n,t[n]);if(io)for(var n of io(t))lo.call(t,n)&&co(e,n,t[n]);return e})({ref:t},e),{weights:uo}))));function po(t){var n=t.data,r=t.numberWords;if(!n)return null;var a=ur(n),o=a[0],i=a[1];return(0,e.createElement)("div",{className:"ntw-mt-4 ntw-flex ntw-gap-5"},ho(no,"".concat(r),"Words"),ho(fo,"".concat(o,"/").concat(i),"Criteria"))}fo.displayName="Target";var ho=function(t,n,r){return(0,e.createElement)("div",{className:"ntw-inline-flex ntw-w-full ntw-cursor-pointer ntw-flex-col ntw-gap-1  ntw-rounded-lg ntw-bg-gravity-100 ntw-p-3"},(0,e.createElement)(t,{className:"ntw-text-gravity-900",size:24}),(0,e.createElement)("div",{className:"ntw-text-lg ntw-font-semibold ntw-text-typography-medium"},n),(0,e.createElement)("div",{className:"ntw-text-xs ntw-font-normal ntw-text-typography-medium"},r))},mo=Object.defineProperty,Co=Object.defineProperties,yo=Object.getOwnPropertyDescriptors,go=Object.getOwnPropertySymbols,vo=Object.prototype.hasOwnProperty,bo=Object.prototype.propertyIsEnumerable,wo=(e,t,n)=>t in e?mo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Eo=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",opacity:"0.2"}),a().createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]]),xo=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>Co(e,yo(t)))(((e,t)=>{for(var n in t||(t={}))vo.call(t,n)&&wo(e,n,t[n]);if(go)for(var n of go(t))bo.call(t,n)&&wo(e,n,t[n]);return e})({ref:t},e),{weights:Eo}))));xo.displayName="Warning";var Mo=function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))},Lo=function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}};function So(t){var n=this,r=t.refreshData,a=t.loading,o=t.onDisplay,i=t.isDisabled;return(0,e.useEffect)((function(){o()}),[o]),(0,e.createElement)("div",{className:"ntw-rounded-lg ntw-border ntw-border-grade-warning-900 ntw-bg-grade-warning-100 ntw-p-4 ntw-text-center"},(0,e.createElement)("div",{className:"ntw-mx-auto ntw-flex ntw-w-fit ntw-items-center ntw-rounded-full ntw-bg-grade-warning-200 ntw-p-2"},(0,e.createElement)(xo,{className:"ntw-text-grade-warning-900",size:32})),(0,e.createElement)("div",{className:"ntw-mt-4 ntw-text-sm ntw-text-typography-dark"},"Your content has changed and the analysis is out of date, please re-analyze the page to update it."),(0,e.createElement)(Kn,{disabled:a||i,className:"ntw-mt-4 ntw-w-full",onClick:function(){return Mo(n,void 0,void 0,(function(){return Lo(this,(function(e){switch(e.label){case 0:return[4,r()];case 1:return e.sent(),[2]}}))}))}},a?"Loading...":"Refresh analysis"))}function Ao(t){var n=t.className;return(0,e.createElement)("svg",{viewBox:"0 0 182 134",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("path",{d:"M144.716 15.2148H42.4297V94.8055H144.716V15.2148Z",fill:"white"}),(0,e.createElement)("path",{d:"M144.716 94.8052C144.716 94.2095 144.686 63.2577 144.643 15.2145L144.716 15.2844H42.4396L42.5261 15.1978C42.5261 43.8867 42.5261 71.0215 42.5261 94.7885L42.4496 94.7087L144.736 94.7885L42.4496 94.8651H42.373V94.7885C42.373 71.0215 42.373 43.8734 42.373 15.1978V15.1113H42.4696H144.746H144.816V15.1845C144.759 63.2577 144.716 94.2095 144.716 94.8052Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M70.5494 88.1202C70.4995 88.1202 70.4629 79.468 70.4629 68.7991C70.4629 58.1302 70.4995 49.4746 70.5494 49.4746C70.5993 49.4746 70.6359 58.1269 70.6359 68.7991C70.6359 79.4713 70.6027 88.1202 70.5494 88.1202Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M114.945 88.1202C114.895 88.1202 114.858 79.468 114.858 68.7991C114.858 58.1302 114.895 49.4746 114.945 49.4746C114.995 49.4746 115.031 58.1269 115.031 68.7991C115.031 79.4713 114.992 88.1202 114.945 88.1202Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M85.7076 88.1211C85.661 88.1211 85.6211 77.0629 85.6211 63.4223C85.6211 49.7817 85.661 38.7168 85.7076 38.7168C85.7542 38.7168 85.7941 49.775 85.7941 63.4223C85.7941 77.0695 85.7575 88.1211 85.7076 88.1211Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M54.9918 88.1211C54.9419 88.1211 54.9053 77.0629 54.9053 63.4223C54.9053 49.7817 54.9419 38.7168 54.9918 38.7168C55.0417 38.7168 55.0783 49.775 55.0783 63.4223C55.0783 77.0695 55.0384 88.1211 54.9918 88.1211Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M132.367 88.1192C132.32 88.1192 132.28 77.0609 132.28 63.4203C132.28 49.7797 132.32 38.7148 132.367 38.7148C132.413 38.7148 132.453 49.7731 132.453 63.4203C132.453 77.0676 132.417 88.1192 132.367 88.1192Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M98.9986 88.1211C98.9487 88.1211 98.9121 75.3524 98.9121 59.602C98.9121 43.8515 98.9487 31.0762 98.9986 31.0762C99.0485 31.0762 99.0852 43.8449 99.0852 59.602C99.0852 75.359 99.0452 88.1211 98.9986 88.1211Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M70.9188 49.4741C70.9188 49.5458 70.8975 49.6159 70.8577 49.6756C70.8178 49.7352 70.7612 49.7817 70.6949 49.8092C70.6286 49.8366 70.5557 49.8438 70.4853 49.8298C70.415 49.8158 70.3503 49.7813 70.2996 49.7305C70.2489 49.6798 70.2143 49.6152 70.2003 49.5448C70.1863 49.4745 70.1935 49.4015 70.221 49.3352C70.2484 49.269 70.2949 49.2123 70.3546 49.1725C70.4142 49.1326 70.4843 49.1113 70.5561 49.1113C70.6523 49.1113 70.7445 49.1495 70.8126 49.2176C70.8806 49.2856 70.9188 49.3779 70.9188 49.4741Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M85.7075 39.079C85.9078 39.079 86.0702 38.9166 86.0702 38.7162C86.0702 38.5159 85.9078 38.3535 85.7075 38.3535C85.5071 38.3535 85.3447 38.5159 85.3447 38.7162C85.3447 38.9166 85.5071 39.079 85.7075 39.079Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M85.7077 39.9877C85.4563 39.9877 85.2105 39.9132 85.0015 39.7735C84.7924 39.6338 84.6295 39.4353 84.5333 39.203C84.4371 38.9707 84.4119 38.7151 84.461 38.4685C84.51 38.2219 84.6311 37.9954 84.8089 37.8176C84.9866 37.6399 85.2131 37.5188 85.4597 37.4697C85.7063 37.4207 85.9619 37.4459 86.1942 37.5421C86.4265 37.6383 86.625 37.8012 86.7647 38.0103C86.9044 38.2193 86.979 38.4651 86.979 38.7165C86.9781 39.0534 86.8439 39.3762 86.6057 39.6144C86.3674 39.8527 86.0446 39.9869 85.7077 39.9877ZM85.7077 37.5285C85.4728 37.5285 85.2431 37.5982 85.0477 37.7287C84.8523 37.8593 84.7001 38.0448 84.6101 38.2619C84.5202 38.479 84.4967 38.7178 84.5425 38.9483C84.5884 39.1788 84.7015 39.3904 84.8677 39.5566C85.0338 39.7227 85.2455 39.8359 85.476 39.8817C85.7064 39.9276 85.9453 39.904 86.1624 39.8141C86.3795 39.7242 86.565 39.5719 86.6955 39.3766C86.8261 39.1812 86.8958 38.9515 86.8958 38.7165C86.8949 38.4017 86.7694 38.1 86.5468 37.8774C86.3242 37.6548 86.0225 37.5294 85.7077 37.5285Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M98.9985 31.4384C99.1988 31.4384 99.3612 31.276 99.3612 31.0756C99.3612 30.8753 99.1988 30.7129 98.9985 30.7129C98.7981 30.7129 98.6357 30.8753 98.6357 31.0756C98.6357 31.276 98.7981 31.4384 98.9985 31.4384Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M114.946 50.2001C115.146 50.2001 115.308 50.0377 115.308 49.8373C115.308 49.637 115.146 49.4746 114.946 49.4746C114.745 49.4746 114.583 49.637 114.583 49.8373C114.583 50.0377 114.745 50.2001 114.946 50.2001Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M132.376 39.079C132.577 39.079 132.739 38.9166 132.739 38.7162C132.739 38.5159 132.577 38.3535 132.376 38.3535C132.176 38.3535 132.014 38.5159 132.014 38.7162C132.014 38.9166 132.176 39.079 132.376 39.079Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M55.3514 39.0795C55.3514 39.1514 55.3301 39.2217 55.2901 39.2814C55.2501 39.3411 55.1932 39.3876 55.1267 39.415C55.0603 39.4423 54.9872 39.4493 54.9167 39.435C54.8463 39.4208 54.7816 39.3859 54.731 39.3348C54.6804 39.2838 54.6462 39.2188 54.6325 39.1482C54.6189 39.0777 54.6266 39.0046 54.6546 38.9384C54.6825 38.8722 54.7295 38.8158 54.7896 38.7763C54.8497 38.7369 54.9202 38.7162 54.992 38.7168C55.0395 38.7168 55.0865 38.7262 55.1303 38.7445C55.1742 38.7628 55.2139 38.7895 55.2474 38.8233C55.2808 38.857 55.3072 38.897 55.325 38.941C55.3429 38.985 55.3519 39.0321 55.3514 39.0795Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M135.8 56.2007C135.709 56.2425 135.613 56.2737 135.514 56.2939C135.234 56.369 134.959 56.4635 134.692 56.5767C133.68 57.0487 132.78 57.7292 132.05 58.5734C131.051 59.645 130.07 61.1358 128.829 62.813C128.168 63.7182 127.436 64.5684 126.639 65.3554C126.195 65.7816 125.72 66.1742 125.218 66.5302C124.679 66.8971 124.104 67.2103 123.504 67.4653C122.204 67.99 120.805 68.2251 119.404 68.1541C118.661 68.1383 117.922 68.0457 117.198 67.8779C116.429 67.7145 115.702 67.3951 115.061 66.9395C114.409 66.462 113.845 65.8728 113.398 65.199C112.938 64.5335 112.526 63.828 112.126 63.1125C111.328 61.6716 110.502 60.2207 109.561 58.7631C108.619 57.3055 107.78 55.7348 106.825 54.204C105.895 52.6266 104.769 51.173 103.474 49.8779C102.804 49.2377 102.047 48.6954 101.225 48.2673C100.394 47.8431 99.4906 47.5778 98.5623 47.4852C96.6374 47.2996 94.7022 47.7134 93.0215 48.6699C91.3564 49.6743 89.9192 51.0152 88.8019 52.6067C87.6905 54.1549 86.6822 55.7746 85.7836 57.4553C84.9007 59.0946 83.9252 60.6823 82.8618 62.2107C81.8427 63.6864 80.6556 65.0388 79.3243 66.2406C78.9972 66.5312 78.6551 66.8044 78.2994 67.0593C77.95 67.3155 77.5867 67.5521 77.2112 67.7681C76.4732 68.1967 75.6807 68.5236 74.8551 68.7398C74.4511 68.8474 74.0395 68.9241 73.6238 68.9694C73.4186 68.9954 73.2117 69.0065 73.0049 69.0027C72.7985 69.0027 72.5922 69.0027 72.3892 69.0027C71.5872 68.9581 70.7942 68.8104 70.0298 68.5634C68.607 68.0611 67.2625 67.3598 66.0365 66.4802C64.8518 65.6649 63.7703 64.8163 62.7087 64.0576C61.7264 63.3102 60.6679 62.6688 59.5506 62.1441C58.5552 61.6842 57.4943 61.3822 56.4059 61.249C55.4608 61.1364 54.5032 61.1984 53.5806 61.432C53.3724 61.4839 53.1678 61.5495 52.9683 61.6283C52.7717 61.6881 52.5802 61.7638 52.3959 61.8546C52.0498 62.0136 51.7161 62.1983 51.3975 62.407C50.863 62.7627 50.3608 63.1647 49.8967 63.6084L49.3743 64.1807C49.2234 64.3339 49.0833 64.4974 48.955 64.6699L48.4258 65.3654C48.3682 65.4483 48.3024 65.5252 48.2295 65.595C48.2695 65.5024 48.3209 65.4152 48.3826 65.3355L48.8718 64.6067C48.9945 64.4282 49.129 64.2581 49.2744 64.0975L49.7869 63.5019C50.2457 63.0335 50.7483 62.61 51.2877 62.2373C51.605 62.0167 51.9387 61.8209 52.2861 61.6516C52.4728 61.5539 52.6676 61.4726 52.8684 61.4087C53.0729 61.3222 53.283 61.2499 53.4974 61.1924C54.4485 60.9344 55.4392 60.8554 56.4192 60.9594C57.5413 61.0813 58.6374 61.3789 59.6671 61.8413C60.8119 62.3646 61.8983 63.0071 62.9084 63.7581C63.9799 64.5168 65.0681 65.3521 66.2362 66.1475C67.4338 66.9925 68.7445 67.6647 70.1297 68.1441C70.8591 68.3743 71.6152 68.5096 72.3792 68.5468C72.5723 68.5468 72.7653 68.5468 72.9616 68.5468C73.1564 68.5495 73.3511 68.5373 73.544 68.5102C73.9373 68.4658 74.3267 68.3912 74.7087 68.2872C76.3054 67.8353 77.7736 67.0146 78.9949 65.8912C80.2926 64.7094 81.4494 63.3817 82.4425 61.9345C83.4911 60.4198 84.4544 58.8478 85.3277 57.2257C86.2329 55.5239 87.2501 53.8841 88.3726 52.3172C89.5334 50.668 91.0248 49.2786 92.752 48.2373C93.6419 47.7368 94.6022 47.3733 95.6005 47.1591C96.5847 46.9523 97.5944 46.8951 98.5956 46.9894C99.5906 47.0886 100.558 47.3742 101.447 47.8313C102.314 48.2796 103.111 48.8513 103.814 49.5285C105.136 50.856 106.286 52.344 107.238 53.9578C108.196 55.5052 109.048 57.0659 109.957 58.5268C110.865 59.9877 111.73 61.4719 112.516 62.9062C113.301 64.3405 114.09 65.7448 115.308 66.6067C115.905 67.0366 116.585 67.338 117.304 67.4919C118 67.6554 118.71 67.749 119.424 67.7714C120.77 67.8489 122.116 67.6344 123.371 67.1425C123.953 66.9022 124.51 66.6057 125.035 66.2573C125.526 65.9175 125.991 65.5416 126.426 65.1325C127.221 64.3671 127.952 63.5379 128.612 62.6533C129.87 60.9894 130.892 59.5185 131.92 58.4536C132.679 57.6026 133.618 56.9318 134.669 56.4902C134.943 56.3834 135.227 56.3043 135.517 56.2539C135.61 56.2273 135.704 56.2095 135.8 56.2007Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M72.4635 24.1465H54.6299V25.1382H72.4635V24.1465Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M63.4419 26.4688H54.6299V27.4604H63.4419V26.4688Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M43.8075 8.72266H143.215C143.613 8.72266 143.995 8.88078 144.276 9.16224C144.558 9.4437 144.716 9.82544 144.716 10.2235V15.2152H42.3066V10.2235C42.3066 9.82544 42.4648 9.4437 42.7462 9.16224C43.0277 8.88078 43.4094 8.72266 43.8075 8.72266Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M47.6145 12.0934C47.6145 12.2316 47.5735 12.3667 47.4967 12.4816C47.4199 12.5965 47.3108 12.6861 47.1831 12.739C47.0554 12.7919 46.9149 12.8057 46.7793 12.7788C46.6437 12.7518 46.5192 12.6853 46.4215 12.5875C46.3237 12.4898 46.2572 12.3653 46.2302 12.2297C46.2033 12.0941 46.2171 11.9536 46.27 11.8259C46.3229 11.6982 46.4125 11.5891 46.5274 11.5123C46.6423 11.4355 46.7774 11.3945 46.9156 11.3945C47.101 11.3945 47.2787 11.4682 47.4098 11.5992C47.5408 11.7303 47.6145 11.908 47.6145 12.0934Z",fill:"white"}),(0,e.createElement)("path",{d:"M50.6662 12.0934C50.6662 12.2316 50.6252 12.3667 50.5485 12.4816C50.4717 12.5965 50.3625 12.6861 50.2348 12.739C50.1071 12.7919 49.9666 12.8057 49.8311 12.7788C49.6955 12.7518 49.571 12.6853 49.4732 12.5875C49.3755 12.4898 49.3089 12.3653 49.282 12.2297C49.255 12.0941 49.2689 11.9536 49.3218 11.8259C49.3746 11.6982 49.4642 11.5891 49.5791 11.5123C49.6941 11.4355 49.8292 11.3945 49.9674 11.3945C50.1527 11.3945 50.3305 11.4682 50.4615 11.5992C50.5926 11.7303 50.6662 11.908 50.6662 12.0934Z",fill:"white"}),(0,e.createElement)("path",{d:"M53.7141 12.0934C53.7141 12.2316 53.6731 12.3667 53.5963 12.4816C53.5195 12.5965 53.4104 12.6861 53.2827 12.739C53.155 12.7919 53.0145 12.8057 52.8789 12.7788C52.7433 12.7518 52.6188 12.6853 52.5211 12.5875C52.4234 12.4898 52.3568 12.3653 52.3298 12.2297C52.3029 12.0941 52.3167 11.9536 52.3696 11.8259C52.4225 11.6982 52.5121 11.5891 52.627 11.5123C52.7419 11.4355 52.877 11.3945 53.0152 11.3945C53.2006 11.3945 53.3783 11.4682 53.5094 11.5992C53.6404 11.7303 53.7141 11.908 53.7141 12.0934Z",fill:"white"}),(0,e.createElement)("path",{d:"M43.9105 62.0508H4.06023C3.46659 62.0508 2.98535 62.532 2.98535 63.1257V72.7529C2.98535 73.3466 3.46659 73.8278 4.06023 73.8278H43.9105C44.5041 73.8278 44.9853 73.3466 44.9853 72.7529V63.1257C44.9853 62.532 44.5041 62.0508 43.9105 62.0508Z",fill:"#E6E6E6"}),(0,e.createElement)("path",{d:"M11.837 69.9C11.5204 70.2949 11.0938 70.587 10.6112 70.7395C10.1286 70.892 9.61159 70.8979 9.12559 70.7565C8.6396 70.6152 8.20643 70.3329 7.88088 69.9453C7.55532 69.5578 7.352 69.0824 7.29662 68.5793C7.24124 68.0762 7.33628 67.568 7.56974 67.1189C7.80319 66.6698 8.16458 66.3001 8.60818 66.0564C9.05179 65.8127 9.5577 65.706 10.0619 65.7498C10.5662 65.7937 11.0461 65.986 11.441 66.3026C11.7036 66.5126 11.9221 66.7723 12.0842 67.0668C12.2463 67.3613 12.3486 67.685 12.3854 68.0191C12.4222 68.3533 12.3927 68.6914 12.2986 69.0142C12.2045 69.3369 12.0476 69.6379 11.837 69.9Z",fill:"white"}),(0,e.createElement)("path",{d:"M11.2815 67.4316C10.8607 67.9598 10.3965 68.4518 9.89377 68.9025C9.78063 69.0157 9.66748 69.1255 9.56099 69.2353L9.50109 69.2952L9.44119 69.2353C9.05986 68.8846 8.71327 68.4979 8.40625 68.0806C8.82357 68.3876 9.21028 68.7342 9.56099 69.1155H9.44452L9.7773 68.7827C10.2395 68.2905 10.7427 67.8386 11.2815 67.4316Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M40.886 67.0748C40.886 67.1214 35.5615 67.1613 28.9625 67.1613C22.3635 67.1613 17.0391 67.1214 17.0391 67.0748C17.0391 67.0282 22.3635 66.9883 28.9625 66.9883C35.5615 66.9883 40.886 67.0249 40.886 67.0748Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M31.105 69.4049C31.105 69.4515 28.0168 69.4914 24.2098 69.4914C20.4029 69.4914 17.3047 69.4515 17.3047 69.4049C17.3047 69.3583 20.3895 69.3184 24.1965 69.3184C28.0035 69.3184 31.105 69.355 31.105 69.4049Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M55.9176 33.6777H16.2537C15.7722 33.6777 15.3818 34.0681 15.3818 34.5496V50.0005C15.3818 50.4821 15.7722 50.8724 16.2537 50.8724H55.9176C56.3991 50.8724 56.7895 50.4821 56.7895 50.0005V34.5496C56.7895 34.0681 56.3991 33.6777 55.9176 33.6777Z",fill:"#E0E0E0"}),(0,e.createElement)("path",{d:"M23.9833 39.1118C23.9833 39.4935 23.8701 39.8667 23.658 40.1841C23.4459 40.5015 23.1445 40.7489 22.7918 40.895C22.4391 41.041 22.051 41.0793 21.6766 41.0048C21.3022 40.9303 20.9583 40.7465 20.6884 40.4766C20.4184 40.2066 20.2346 39.8627 20.1601 39.4883C20.0857 39.1139 20.1239 38.7258 20.27 38.3731C20.4161 38.0205 20.6634 37.719 20.9808 37.5069C21.2983 37.2948 21.6714 37.1816 22.0532 37.1816C22.3066 37.1816 22.5576 37.2316 22.7918 37.3286C23.026 37.4256 23.2387 37.5677 23.418 37.747C23.5972 37.9262 23.7394 38.139 23.8364 38.3731C23.9334 38.6073 23.9833 38.8583 23.9833 39.1118Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M39.365 37.7773H25.9141V38.5228H39.365V37.7773Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M52.0771 39.4746H25.9141V40.22H52.0771V39.4746Z",fill:"white"}),(0,e.createElement)("path",{d:"M23.9833 45.0454C23.9833 45.4271 23.8701 45.8003 23.658 46.1177C23.4459 46.4351 23.1445 46.6825 22.7918 46.8286C22.4391 46.9746 22.051 47.0129 21.6766 46.9384C21.3022 46.8639 20.9583 46.6801 20.6884 46.4102C20.4184 46.1402 20.2346 45.7963 20.1601 45.4219C20.0857 45.0475 20.1239 44.6594 20.27 44.3067C20.4161 43.9541 20.6634 43.6526 20.9808 43.4405C21.2983 43.2284 21.6714 43.1152 22.0532 43.1152C22.3068 43.1148 22.5579 43.1644 22.7923 43.2613C23.0267 43.3581 23.2396 43.5003 23.4189 43.6796C23.5983 43.8589 23.7404 44.0718 23.8372 44.3062C23.9341 44.5406 23.9837 44.7918 23.9833 45.0454Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M32.7826 43.7148H25.9141V44.4603H32.7826V43.7148Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M52.0771 45.4082H25.9141V46.1536H52.0771V45.4082Z",fill:"white"}),(0,e.createElement)("path",{d:"M74.7852 78.8984H23.9965C23.2687 78.8984 22.6787 79.4884 22.6787 80.2162V100.289C22.6787 101.017 23.2687 101.607 23.9965 101.607H74.7852C75.513 101.607 76.103 101.017 76.103 100.289V80.2162C76.103 79.4884 75.513 78.8984 74.7852 78.8984Z",fill:"#E0E0E0"}),(0,e.createElement)("path",{d:"M32.4525 89.8713L32.4225 85.2656C31.0182 85.2907 29.6691 85.8172 28.6189 86.7498C27.9468 87.3342 27.4285 88.0746 27.1093 88.9061C26.7902 89.7375 26.6801 90.6346 26.7886 91.5185C26.8119 91.7382 26.8485 91.9611 26.8951 92.1841C26.8966 92.1895 26.8966 92.1953 26.8951 92.2007L32.4458 90.9528L32.4525 89.8713Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M38.1734 88.4522C37.7676 87.5825 37.14 86.835 36.3538 86.2848C35.5675 85.7345 34.6503 85.4009 33.6942 85.3174L33.5179 85.3008H33.4047C33.2949 85.3008 33.1851 85.3008 33.0719 85.3008H33.042L33.0719 89.9064V90.988L38.6293 92.1793C38.7153 91.787 38.7566 91.3862 38.7525 90.9846C38.7481 90.1082 38.5504 89.2435 38.1734 88.4522Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.2"},(0,e.createElement)("path",{d:"M38.1734 88.4522C37.7676 87.5825 37.14 86.835 36.3538 86.2848C35.5675 85.7345 34.6503 85.4009 33.6942 85.3174L33.5179 85.3008H33.4047C33.2949 85.3008 33.1851 85.3008 33.0719 85.3008H33.042L33.0719 89.9064V90.988L38.6293 92.1793C38.7153 91.787 38.7566 91.3862 38.7525 90.9846C38.7481 90.1082 38.5504 89.2435 38.1734 88.4522Z",fill:"black"})),(0,e.createElement)("path",{d:"M32.7486 91.5156L27.2012 92.7669C27.487 94.0289 28.1944 95.1559 29.2067 95.9619C30.2191 96.7679 31.4759 97.2048 32.7699 97.2006C34.0639 97.1963 35.3179 96.7511 36.3249 95.9385C37.3319 95.1258 38.0319 93.9942 38.3093 92.7303L32.7586 91.519",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.1"},(0,e.createElement)("path",{d:"M32.7486 91.5156L27.2012 92.7669C27.487 94.0289 28.1944 95.1559 29.2067 95.9619C30.2191 96.7679 31.4759 97.2048 32.7699 97.2006C34.0639 97.1963 35.3179 96.7511 36.3249 95.9385C37.3319 95.1258 38.0319 93.9942 38.3093 92.7303L32.7586 91.519",fill:"black"})),(0,e.createElement)("path",{d:"M70.6758 86.6426H42.4795V87.9205H70.6758V86.6426Z",fill:"white"}),(0,e.createElement)("path",{d:"M70.6758 90.0098H42.4795V91.2876H70.6758V90.0098Z",fill:"white"}),(0,e.createElement)("path",{d:"M57.7208 93.7344H42.4795V95.0122H57.7208V93.7344Z",fill:"white"}),(0,e.createElement)("path",{d:"M137.857 62.7969H87.7508C86.2052 62.7969 84.9521 64.0499 84.9521 65.5955V113.632C84.9521 115.178 86.2052 116.431 87.7508 116.431H137.857C139.403 116.431 140.656 115.178 140.656 113.632V65.5955C140.656 64.0499 139.403 62.7969 137.857 62.7969Z",fill:"#E6E6E6"}),(0,e.createElement)("path",{d:"M90.6727 99.5371H88.8457V100.063H90.6727V99.5371Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M95.3219 102.355H92.9824V102.881H95.3219V102.355Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M103.462 102.357H101.122V102.883H103.462V102.357Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M111.597 102.355H109.258V102.881H111.597V102.355Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M119.737 102.355H117.397V102.881H119.737V102.355Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M127.878 102.355H125.538V102.881H127.878V102.355Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M136.017 102.357H133.678V102.883H136.017V102.357Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M90.6727 92.5039H88.8457V93.0297H90.6727V92.5039Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M90.6727 79.2578H88.8457V79.7836H90.6727V79.2578Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M90.6727 72.6055H88.8457V73.1313H90.6727V72.6055Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M90.7654 85.8809H88.9385V86.4066H90.7654V85.8809Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M135.95 100.067H135.754H135.178L132.965 100.083L124.829 100.11L97.9869 100.136H91.541V100.053C91.541 91.0682 91.5643 83.178 91.571 77.5174C91.571 74.6921 91.5909 72.4293 91.5976 70.8619C91.5976 70.0865 91.5976 69.4842 91.5976 69.0715C91.5976 68.8718 91.5976 68.7188 91.5976 68.6056C91.5947 68.5535 91.5947 68.5013 91.5976 68.4492C91.6005 68.5013 91.6005 68.5535 91.5976 68.6056C91.5976 68.7188 91.5976 68.8718 91.5976 69.0715C91.5976 69.4842 91.5976 70.0699 91.5976 70.8619C91.5976 72.4293 91.6142 74.6921 91.6242 77.5174C91.6242 83.1747 91.6409 91.0782 91.6542 100.053L91.5676 99.9667H97.927L124.769 99.99L132.905 100.017L135.118 100.033H135.694L135.95 100.067Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M136.463 86.1432C136.463 86.1931 126.812 86.2297 114.932 86.2297C103.052 86.2297 93.3945 86.1931 93.3945 86.1432C93.3945 86.0932 103.045 86.0566 114.932 86.0566C126.819 86.0566 136.463 86.0966 136.463 86.1432Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M136.463 79.5338C136.463 79.5804 126.812 79.6203 114.932 79.6203C103.052 79.6203 93.3945 79.5804 93.3945 79.5338C93.3945 79.4872 103.045 79.4473 114.932 79.4473C126.819 79.4473 136.463 79.4739 136.463 79.5338Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M136.463 72.8795C136.463 72.9261 126.812 72.966 114.932 72.966C103.052 72.966 93.3945 72.9261 93.3945 72.8795C93.3945 72.8329 103.045 72.793 114.932 72.793C126.819 72.793 136.463 72.8196 136.463 72.8795Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M136.463 92.7662C136.463 92.8128 126.812 92.8527 114.932 92.8527C103.052 92.8527 93.3945 92.8128 93.3945 92.7662C93.3945 92.7196 103.045 92.6797 114.932 92.6797C126.819 92.6797 136.463 92.7196 136.463 92.7662Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M93.8438 98.64V92.7664L97.5043 87.0825L99.9902 88.9894L105.088 81.0659L108.083 83.1857L112.27 75.8646L115.671 78.6333L120.769 68.9395L126.263 79.7747L130.709 74.3538L135.94 72.8563V98.6266L93.8438 98.64Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M136.463 70.782H136.373H136.1H135.039L131.026 70.8019H131.062L126.763 76.4226L126.739 76.4492H126.706L115.937 76.4658L116.011 76.4259L111.481 83.9733L107.036 91.361L106.972 91.4675L106.896 91.3677L101.065 83.3444H101.182L95.8575 91.6372C95.2219 92.6356 94.7194 93.3943 94.3733 93.9267C94.2069 94.1863 94.0738 94.3826 93.9806 94.5257C93.8874 94.6688 93.8408 94.7254 93.8408 94.7254C93.8408 94.7254 93.8808 94.6522 93.9639 94.5157C94.0471 94.3793 94.1769 94.1663 94.34 93.9034L95.7909 91.5906L101.062 83.2712L101.115 83.1846L101.179 83.2678C102.922 85.6539 104.896 88.356 107.032 91.2745H106.892L111.332 83.8835L115.867 76.3494L115.891 76.3094H115.937H126.706L126.653 76.3361L130.979 70.7387V70.7188H131.006L135.019 70.742H136.08H136.353L136.463 70.782Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M102.886 85.1924C102.888 85.2746 102.866 85.3556 102.823 85.4252C102.779 85.4948 102.715 85.5497 102.64 85.583C102.565 85.6163 102.482 85.6264 102.401 85.612C102.32 85.5976 102.245 85.5594 102.186 85.5023C102.127 85.4451 102.087 85.3717 102.07 85.2913C102.052 85.2109 102.06 85.1272 102.091 85.0511C102.121 84.9749 102.174 84.9096 102.242 84.8637C102.311 84.8177 102.391 84.7931 102.473 84.7931C102.526 84.7918 102.58 84.8011 102.629 84.8205C102.679 84.84 102.725 84.8691 102.763 84.9063C102.801 84.9434 102.832 84.9879 102.853 85.037C102.874 85.0862 102.885 85.139 102.886 85.1924Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M115.308 78.1259C115.311 78.2081 115.289 78.2891 115.245 78.3587C115.202 78.4283 115.138 78.4833 115.063 78.5165C114.988 78.5498 114.905 78.5599 114.824 78.5455C114.743 78.5311 114.668 78.4929 114.609 78.4358C114.55 78.3786 114.509 78.3052 114.492 78.2248C114.475 78.1444 114.483 78.0608 114.513 77.9846C114.544 77.9084 114.597 77.8431 114.665 77.7972C114.733 77.7512 114.814 77.7267 114.896 77.7266C114.949 77.7257 115.002 77.7354 115.052 77.755C115.101 77.7746 115.147 77.8037 115.185 77.8408C115.223 77.8779 115.254 77.9222 115.275 77.9711C115.296 78.02 115.308 78.0726 115.308 78.1259Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M124.965 76.3935C124.969 76.4766 124.947 76.5587 124.903 76.6293C124.86 76.7 124.796 76.7559 124.72 76.7898C124.644 76.8238 124.56 76.8342 124.478 76.8199C124.396 76.8055 124.32 76.7669 124.26 76.7091C124.201 76.6513 124.16 76.5769 124.143 76.4956C124.126 76.4143 124.133 76.3297 124.165 76.2527C124.196 76.1758 124.25 76.1101 124.319 76.064C124.388 76.0179 124.47 75.9936 124.553 75.9942C124.606 75.9933 124.659 76.0029 124.709 76.0225C124.758 76.0421 124.803 76.0713 124.842 76.1084C124.88 76.1455 124.911 76.1897 124.932 76.2387C124.953 76.2876 124.965 76.3402 124.965 76.3935Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M95.6546 111.967C97.1305 111.967 98.3268 110.815 98.3268 109.395C98.3268 107.974 97.1305 106.822 95.6546 106.822C94.1788 106.822 92.9824 107.974 92.9824 109.395C92.9824 110.815 94.1788 111.967 95.6546 111.967Z",fill:"white"}),(0,e.createElement)("path",{d:"M133.678 107.672H102.29V108.634H133.678V107.672Z",fill:"white"}),(0,e.createElement)("path",{d:"M115.322 110.076H102.29V111.038H115.322V110.076Z",fill:"white"}),(0,e.createElement)("path",{d:"M158.067 21.1387H124.37C123.462 21.1387 122.726 21.8747 122.726 22.7826V50.1703C122.726 51.0782 123.462 51.8142 124.37 51.8142H158.067C158.975 51.8142 159.711 51.0782 159.711 50.1703V22.7826C159.711 21.8747 158.975 21.1387 158.067 21.1387Z",fill:"#E6E6E6"}),(0,e.createElement)("path",{d:"M131.175 33.4219H129.182V48.4735H131.175V33.4219Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M140.236 32.1992H138.243V48.4721H140.236V32.1992Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M149.621 30.1328H147.628V48.4722H149.621V30.1328Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M145.215 41.1426H143.222V48.4704H145.215V41.1426Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.2"},(0,e.createElement)("path",{d:"M145.215 41.1426H143.222V48.4704H145.215V41.1426Z",fill:"black"})),(0,e.createElement)("path",{d:"M133.498 31.8086H131.505V48.4742H133.498V31.8086Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.1"},(0,e.createElement)("path",{d:"M133.498 31.8086H131.505V48.4742H133.498V31.8086Z",fill:"black"})),(0,e.createElement)("path",{d:"M142.723 28.3164H140.729V48.4728H142.723V28.3164Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.1"},(0,e.createElement)("path",{d:"M142.723 28.3164H140.729V48.4728H142.723V28.3164Z",fill:"black"})),(0,e.createElement)("path",{d:"M154.766 28.3164H152.772V48.4728H154.766V28.3164Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.2"},(0,e.createElement)("path",{d:"M154.766 28.3164H152.772V48.4728H154.766V28.3164Z",fill:"black"})),(0,e.createElement)("path",{d:"M152.163 24.3359H150.17V48.4724H152.163V24.3359Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.1"},(0,e.createElement)("path",{d:"M152.163 24.3359H150.17V48.4724H152.163V24.3359Z",fill:"black"})),(0,e.createElement)("path",{d:"M135.937 37.8984H133.943V48.4741H135.937V37.8984Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.2"},(0,e.createElement)("path",{d:"M135.937 37.8984H133.943V48.4741H135.937V37.8984Z",fill:"black"})),(0,e.createElement)("path",{d:"M157.618 49.3853C157.618 49.4353 150.503 49.4719 141.731 49.4719C132.959 49.4719 125.841 49.4353 125.841 49.3853C125.841 49.3354 132.952 49.2988 141.731 49.2988C150.51 49.2988 157.618 49.3388 157.618 49.3853Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M126.134 45.793H124.916V46.1956H126.134V45.793Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M126.134 40.4395H124.916V40.8421H126.134V40.4395Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M126.134 30.3555H124.916V30.7581H126.134V30.3555Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M126.134 25.291H124.916V25.6937H126.134V25.291Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M126.196 35.3984H124.979V35.8011H126.196V35.3984Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M116.999 18.6465H81.2116C80.618 18.6465 80.1367 19.1277 80.1367 19.7214V28.2072C80.1367 28.8009 80.618 29.2821 81.2116 29.2821H116.999C117.592 29.2821 118.073 28.8009 118.073 28.2072V19.7214C118.073 19.1277 117.592 18.6465 116.999 18.6465Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M88.1332 25.7369C87.8469 26.0937 87.4612 26.3576 87.025 26.4951C86.5887 26.6327 86.1214 26.6378 85.6823 26.5098C85.2431 26.3818 84.8517 26.1265 84.5577 25.776C84.2637 25.4256 84.0802 24.9959 84.0304 24.5412C83.9805 24.0864 84.0667 23.6272 84.2779 23.2214C84.4892 22.8157 84.816 22.4817 85.217 22.2617C85.6181 22.0416 86.0753 21.9455 86.531 21.9854C86.9867 22.0253 87.4204 22.1994 87.7771 22.4857C88.2517 22.8722 88.5551 23.4299 88.6217 24.0383C88.6883 24.6467 88.5129 25.2569 88.1332 25.7369Z",fill:"white"}),(0,e.createElement)("path",{d:"M86.3263 26.6219C85.7523 26.5915 85.2098 26.35 84.8032 25.9437C84.3965 25.5375 84.1544 24.9952 84.1234 24.4213C84.0925 23.8473 84.2748 23.2821 84.6354 22.8345C84.996 22.3868 85.5093 22.0883 86.0768 21.9963C86.1621 21.9914 86.2476 21.9914 86.333 21.9963C86.7682 22.0007 87.1936 22.1269 87.5608 22.3606C87.928 22.5944 88.2223 22.9264 88.4104 23.3189C88.5985 23.7114 88.6729 24.1488 88.6251 24.5815C88.5773 25.0141 88.4092 25.4247 88.14 25.7667C87.9501 26.0054 87.7146 26.204 87.4472 26.3508C87.1798 26.4976 86.8859 26.5898 86.5826 26.6219C86.4972 26.6268 86.4117 26.6268 86.3263 26.6219ZM86.3263 21.9996C86.241 21.9948 86.1554 21.9948 86.0701 21.9996C85.6939 22.0414 85.3338 22.1753 85.0216 22.3895C84.7095 22.6036 84.4549 22.8914 84.2805 23.2273C84.1061 23.5633 84.0172 23.9371 84.0216 24.3156C84.0261 24.6941 84.1238 25.0657 84.3061 25.3974C84.4884 25.7292 84.7497 26.0109 85.0668 26.2176C85.3839 26.4243 85.7471 26.5496 86.1242 26.5825C86.5013 26.6154 86.8807 26.5548 87.2288 26.4061C87.5769 26.2575 87.883 26.0253 88.12 25.7301C88.3915 25.3917 88.5618 24.9835 88.6114 24.5526C88.661 24.1216 88.5879 23.6854 88.4005 23.2941C88.213 22.9029 87.9189 22.5726 87.5519 22.3412C87.185 22.1098 86.7601 21.9868 86.3263 21.9863V21.9996Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M87.6279 23.5039C87.2566 23.9865 86.8398 24.4322 86.3833 24.835L86.0805 25.1279L86.0173 25.1878L85.9607 25.1279C85.6156 24.8117 85.3044 24.4604 85.0322 24.0796C85.413 24.3518 85.7643 24.663 86.0805 25.0081H85.9607L86.2635 24.7086C86.6806 24.2662 87.1373 23.863 87.6279 23.5039Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M114.37 23.1861C114.37 23.2327 109.548 23.2727 103.601 23.2727C97.6544 23.2727 92.8291 23.2327 92.8291 23.1861C92.8291 23.1395 97.6511 23.0996 103.601 23.0996C109.551 23.0996 114.37 23.1362 114.37 23.1861Z",fill:"white"}),(0,e.createElement)("path",{d:"M105.535 25.2916C105.535 25.3382 102.749 25.3781 99.3083 25.3781C95.8674 25.3781 93.082 25.3382 93.082 25.2916C93.082 25.245 95.8707 25.2051 99.3083 25.2051C102.746 25.2051 105.535 25.2384 105.535 25.2916Z",fill:"white"}),(0,e.createElement)("path",{d:"M139.746 67.4489C139.746 67.4489 140.031 64.4062 140.32 64.4318C140.609 64.4575 140.657 64.9961 140.621 65.259C140.586 65.5219 140.621 66.5415 140.621 66.5415L139.746 67.4489Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M165.854 64.9572L164.396 75.2173L171.129 104.632L152.532 106.12L160.548 58.7498C160.548 58.7498 165.838 58.1502 165.854 64.9572Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M142.99 116.734L141.916 128.873H146.504L148.527 116.734H142.99Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M141.916 128.875C141.916 128.875 138.819 129.276 138.268 129.673L146.383 129.577L146.505 128.875H141.916Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M138.268 129.676V130L146.623 129.91V129.561L138.268 129.676Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M141.236 129.862C141.191 129.881 141.06 129.631 140.79 129.435C140.521 129.24 140.249 129.179 140.255 129.134C140.261 129.089 140.576 129.076 140.896 129.307C141.217 129.538 141.265 129.852 141.236 129.862Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M146.61 128.633C146.61 128.678 146.052 128.79 145.418 129.092C144.783 129.393 144.334 129.733 144.302 129.71C144.582 129.372 144.942 129.108 145.35 128.944C145.737 128.734 146.171 128.627 146.61 128.633Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M146.421 128.435C144.915 128.469 143.408 128.393 141.913 128.208C142.661 128.166 143.411 128.178 144.157 128.243C144.916 128.252 145.672 128.316 146.421 128.435Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M146.96 126.838C146.144 127.071 145.314 127.25 144.475 127.373C143.645 127.552 142.806 127.678 141.961 127.752C142.777 127.522 143.607 127.343 144.446 127.216C145.275 127.038 146.115 126.912 146.96 126.838Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M146.88 126.897C146.67 126.9 146.463 126.855 146.274 126.765C146.061 126.681 145.859 126.574 145.671 126.445C145.558 126.371 145.451 126.288 145.35 126.198C145.288 126.144 145.24 126.076 145.209 125.999C145.193 125.954 145.186 125.906 145.191 125.858C145.195 125.81 145.21 125.764 145.235 125.723C145.263 125.682 145.303 125.649 145.349 125.629C145.394 125.609 145.445 125.601 145.495 125.608C145.572 125.619 145.648 125.64 145.719 125.672C145.845 125.724 145.965 125.791 146.075 125.871C146.263 126.003 146.425 126.171 146.55 126.364C146.679 126.533 146.754 126.736 146.764 126.948C146.739 126.948 146.678 126.724 146.444 126.429C146.315 126.258 146.158 126.11 145.979 125.993C145.879 125.923 145.771 125.864 145.658 125.819C145.54 125.765 145.405 125.742 145.37 125.819C145.351 125.868 145.35 125.922 145.366 125.972C145.383 126.021 145.415 126.064 145.459 126.092C145.552 126.179 145.649 126.26 145.751 126.336C145.929 126.458 146.117 126.565 146.312 126.656C146.655 126.817 146.883 126.871 146.88 126.897Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M146.837 127.016C146.737 126.833 146.697 126.623 146.722 126.416C146.732 126.196 146.78 125.979 146.863 125.775C146.913 125.651 146.978 125.534 147.055 125.425C147.097 125.366 147.142 125.309 147.19 125.255C147.219 125.219 147.256 125.19 147.297 125.17C147.339 125.149 147.384 125.138 147.431 125.137C147.48 125.14 147.527 125.156 147.568 125.183C147.608 125.211 147.641 125.249 147.661 125.294C147.697 125.368 147.712 125.449 147.706 125.531C147.7 125.666 147.679 125.799 147.642 125.929C147.576 126.147 147.467 126.35 147.322 126.525C147.204 126.697 147.036 126.828 146.841 126.9C146.841 126.878 147.023 126.753 147.229 126.458C147.347 126.285 147.434 126.093 147.485 125.89C147.517 125.772 147.534 125.65 147.536 125.528C147.536 125.406 147.488 125.297 147.415 125.297C147.341 125.297 147.245 125.419 147.171 125.515C147.099 125.616 147.036 125.723 146.985 125.836C146.899 126.028 146.844 126.232 146.821 126.442C146.799 126.775 146.863 127.016 146.837 127.016Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M147.453 128.901C147.242 128.628 147.09 128.313 147.007 127.978C146.874 127.65 146.814 127.298 146.831 126.945C146.968 127.262 147.075 127.59 147.151 127.926C147.279 128.242 147.38 128.568 147.453 128.901Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M148.002 128.471C147.373 128.092 146.906 127.495 146.69 126.794C146.735 126.771 146.957 127.195 147.332 127.653C147.707 128.112 148.031 128.432 148.002 128.471Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M160.115 117.728L169.516 125.18L171.751 121.909L163.347 112.762L160.115 117.728Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M168.852 125.365C168.852 125.365 167.406 128.132 167.419 128.814L171.985 122.107L171.481 121.604L168.852 125.365Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M167.419 128.814L167.685 129L172.395 122.1L172.11 121.898L167.419 128.814Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M169.262 126.499C169.262 126.543 168.974 126.499 168.66 126.62C168.345 126.742 168.14 126.915 168.105 126.887C168.07 126.858 168.246 126.588 168.608 126.467C168.971 126.345 169.282 126.46 169.262 126.499Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M171.34 121.379C171.385 121.398 171.151 121.927 171.036 122.62C170.92 123.312 170.952 123.883 170.904 123.902C170.719 123.041 170.875 122.14 171.34 121.392V121.379Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M171.085 121.203C170.732 121.788 170.335 122.344 169.895 122.867C169.495 123.424 169.054 123.949 168.574 124.438C168.927 123.852 169.326 123.294 169.767 122.771C170.164 122.214 170.604 121.69 171.085 121.203Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M170.074 120.062C169.835 120.773 169.547 121.466 169.212 122.137C168.925 122.828 168.589 123.498 168.205 124.141C168.445 123.431 168.733 122.739 169.068 122.07C169.353 121.377 169.69 120.706 170.074 120.062Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M170.071 120.164C170.087 120.164 169.936 120.366 169.615 120.587C169.429 120.717 169.228 120.825 169.016 120.908C168.891 120.958 168.762 120.999 168.631 121.029C168.551 121.047 168.468 121.047 168.387 121.029C168.341 121.017 168.298 120.995 168.261 120.964C168.224 120.933 168.195 120.894 168.176 120.85C168.159 120.803 168.155 120.752 168.164 120.703C168.174 120.654 168.197 120.608 168.23 120.571C168.283 120.513 168.343 120.464 168.41 120.423C168.722 120.226 169.086 120.126 169.455 120.138C169.667 120.127 169.876 120.183 170.055 120.298C170.055 120.324 169.824 120.241 169.455 120.253C169.113 120.262 168.78 120.367 168.493 120.555C168.381 120.622 168.285 120.722 168.32 120.789C168.349 120.832 168.393 120.865 168.443 120.88C168.493 120.895 168.547 120.892 168.596 120.872C168.72 120.845 168.842 120.811 168.961 120.77C169.166 120.697 169.365 120.607 169.554 120.5C169.878 120.302 170.055 120.144 170.071 120.164Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M170.138 120.26C169.93 120.236 169.735 120.149 169.58 120.01C169.399 119.876 169.245 119.709 169.125 119.519C169.052 119.407 168.993 119.286 168.948 119.16C168.922 119.094 168.902 119.025 168.887 118.955C168.874 118.911 168.871 118.864 168.877 118.818C168.884 118.772 168.901 118.728 168.926 118.689C168.957 118.651 168.998 118.622 169.044 118.604C169.09 118.587 169.14 118.582 169.189 118.59C169.268 118.604 169.343 118.638 169.407 118.689C169.514 118.771 169.61 118.866 169.695 118.971C169.841 119.145 169.95 119.347 170.016 119.564C170.089 119.759 170.101 119.972 170.048 120.173C170.011 119.981 169.963 119.79 169.907 119.603C169.832 119.406 169.724 119.224 169.586 119.064C169.506 118.973 169.417 118.89 169.32 118.817C169.227 118.74 169.102 118.724 169.057 118.785C169.012 118.846 169.057 118.994 169.099 119.106C169.139 119.218 169.191 119.325 169.253 119.426C169.361 119.607 169.498 119.769 169.657 119.907C169.926 120.161 170.147 120.234 170.138 120.26Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M172.045 120.838C171.693 120.86 171.339 120.805 171.01 120.678C170.661 120.6 170.333 120.448 170.048 120.232C170.714 120.419 171.376 120.621 172.033 120.838H172.045Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M172.017 120.144C171.694 120.316 171.332 120.403 170.966 120.397C170.601 120.445 170.231 120.396 169.892 120.256C169.892 120.211 170.376 120.256 170.956 120.237C171.536 120.218 171.992 120.096 172.017 120.144Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M151.054 81.1081C151.054 81.1081 147.463 104.96 147.986 106.117C148.508 107.275 160.134 119.176 160.134 119.176L164.498 111.703C164.498 111.703 156.803 103.177 156.915 102.725C157.027 102.273 162.462 79.1875 162.462 79.1875L151.054 81.1081Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M151.881 110.624L154.946 103.891L158.473 96.3301C156.327 99.4329 154.501 102.745 153.022 106.215C152.448 107.627 152.064 109.11 151.881 110.624Z",fill:"#008182"}),(0,e.createElement)("path",{opacity:"0.4",d:"M151.881 110.624L154.946 103.891L158.473 96.3301C156.327 99.4329 154.501 102.745 153.022 106.215C152.448 107.627 152.064 109.11 151.881 110.624Z",fill:"black"}),(0,e.createElement)("path",{d:"M149.777 89.9107C149.813 89.6574 152.708 83.1454 152.708 83.1454L151.3 81.1639L151.053 81.1094L149.777 89.9107Z",fill:"#008182"}),(0,e.createElement)("path",{opacity:"0.4",d:"M149.777 89.9107C149.813 89.6574 152.708 83.1454 152.708 83.1454L151.3 81.1639L151.053 81.1094L149.777 89.9107Z",fill:"black"}),(0,e.createElement)("path",{d:"M164.502 78.8633L164.717 79.7482C165.359 82.3582 164.967 85.1156 163.623 87.4433L153.889 104.318C153.198 105.517 152.695 106.814 152.398 108.166L149.974 119.067C149.974 119.067 142.321 119.327 141.99 119.067C141.66 118.807 142.978 111.59 143.856 106.123C144.52 102 150.035 89.2036 152.709 83.1597L151.055 81.1205L153.94 80.6428L164.502 78.8633Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M149.973 119.055C149.869 119.085 149.761 119.102 149.653 119.106C149.447 119.129 149.156 119.154 148.79 119.177C148.062 119.225 147.052 119.26 145.94 119.257C144.827 119.254 143.817 119.222 143.089 119.183C142.724 119.167 142.429 119.148 142.227 119.132C142.118 119.134 142.01 119.12 141.906 119.09C142.012 119.071 142.12 119.065 142.227 119.071H143.089L145.937 119.096C147.049 119.096 148.053 119.08 148.781 119.064L149.646 119.042C149.755 119.03 149.866 119.034 149.973 119.055Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M150.394 117.005C150.394 117.05 148.554 117.079 146.287 117.069C144.02 117.06 142.177 117.018 142.177 116.976C142.177 116.935 144.017 116.903 146.287 116.909C148.557 116.915 150.394 116.96 150.394 117.005Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M163.161 110.156C163.119 110.263 163.064 110.365 162.997 110.458L162.5 111.246L160.852 113.84L159.211 116.437L158.707 117.223C158.651 117.323 158.582 117.416 158.502 117.499C158.539 117.386 158.59 117.278 158.653 117.178C158.758 116.986 158.916 116.707 159.111 116.367C159.509 115.687 160.073 114.764 160.714 113.741C161.356 112.718 161.962 111.817 162.407 111.176C162.632 110.855 162.814 110.592 162.946 110.413C163.007 110.319 163.079 110.233 163.161 110.156Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M159.676 118.531C159.503 118.217 159.378 117.879 159.304 117.528C159.179 117.192 159.105 116.84 159.086 116.482C159.258 116.796 159.384 117.133 159.458 117.483C159.582 117.819 159.656 118.173 159.676 118.531Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M160.356 118.509C160.183 117.961 160.062 117.399 159.994 116.829C159.874 116.268 159.807 115.697 159.795 115.123C160.086 116.232 160.274 117.365 160.356 118.509Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M161.244 117.243C161.073 116.765 160.939 116.275 160.843 115.777C160.694 115.293 160.587 114.796 160.522 114.293C160.74 114.753 160.9 115.239 160.997 115.739C161.145 116.227 161.228 116.733 161.244 117.243Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M162 115.488C161.826 115.032 161.705 114.558 161.638 114.074C161.516 113.6 161.447 113.114 161.433 112.625C161.603 113.083 161.724 113.558 161.795 114.042C161.915 114.515 161.984 115 162 115.488Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M162.978 114.036C162.834 113.578 162.719 113.111 162.635 112.638C162.496 112.177 162.389 111.706 162.314 111.23C162.538 111.662 162.695 112.124 162.779 112.603C162.919 113.067 162.986 113.551 162.978 114.036Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M163.851 112.804C163.677 112.444 163.554 112.061 163.485 111.666C163.363 111.284 163.292 110.887 163.273 110.486C163.567 111.23 163.761 112.01 163.851 112.804Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M145.988 116.924C145.373 117.304 144.739 117.652 144.087 117.966C143.463 118.329 142.821 118.659 142.163 118.957C142.321 118.812 142.496 118.688 142.686 118.588C143.006 118.379 143.49 118.107 144.023 117.825C144.555 117.543 145.046 117.309 145.405 117.148C145.589 117.049 145.785 116.973 145.988 116.924Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M148.348 116.959C148.162 117.112 147.96 117.245 147.745 117.353C147.36 117.575 146.825 117.866 146.219 118.168C145.613 118.469 145.052 118.716 144.641 118.886C144.426 118.993 144.199 119.073 143.965 119.126C144.165 118.988 144.38 118.873 144.606 118.783L146.155 118.023L147.7 117.254C147.905 117.133 148.122 117.034 148.348 116.959Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M150.144 116.959C149.687 117.421 149.184 117.836 148.643 118.197C148.133 118.599 147.584 118.95 147.005 119.245C147.493 118.818 148.008 118.424 148.547 118.065C149.056 117.664 149.59 117.295 150.144 116.959Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M150.339 118.088C150.368 118.123 150.07 118.409 149.673 118.703C149.448 118.91 149.189 119.075 148.906 119.191C149.092 118.948 149.319 118.74 149.576 118.575C149.8 118.37 150.059 118.205 150.339 118.088Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M143.895 116.887C143.597 117.157 143.265 117.386 142.907 117.57C142.575 117.798 142.214 117.982 141.833 118.115C142.463 117.616 143.156 117.203 143.895 116.887Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M152.497 83.0879C152.386 83.4527 152.25 83.8094 152.09 84.1556C151.827 84.7968 151.449 85.7106 151.071 86.7206C150.692 87.7306 150.343 88.6444 150.109 89.2857C149.991 89.6473 149.85 90.0007 149.686 90.3437C149.696 90.242 149.719 90.142 149.753 90.0455C149.807 89.8564 149.891 89.5838 150 89.2472C150.218 88.5771 150.542 87.644 150.93 86.6533C151.318 85.6625 151.706 84.752 151.997 84.1107C152.145 83.7901 152.267 83.5336 152.356 83.3572C152.392 83.2619 152.439 83.1714 152.497 83.0879Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M151.699 111.388C151.692 111.325 151.692 111.262 151.699 111.199C151.715 111.058 151.74 110.878 151.766 110.66C151.792 110.442 151.837 110.141 151.91 109.81C151.984 109.48 152.042 109.105 152.157 108.698C152.212 108.496 152.269 108.281 152.327 108.057C152.385 107.832 152.468 107.608 152.542 107.37C152.683 106.896 152.879 106.409 153.071 105.876C153.522 104.752 154.034 103.653 154.604 102.583C155.658 100.655 156.822 98.7879 158.089 96.9916C158.567 96.2991 158.964 95.7444 159.243 95.3628L159.564 94.9268C159.6 94.8741 159.641 94.8248 159.686 94.7793C159.661 94.8384 159.63 94.8944 159.593 94.946C159.512 95.0615 159.416 95.2122 159.294 95.3981L158.182 97.0558C157.268 98.4569 155.986 100.403 154.757 102.648C154.191 103.711 153.678 104.803 153.222 105.918C153.026 106.437 152.824 106.928 152.68 107.399C152.603 107.637 152.523 107.861 152.459 108.079C152.394 108.297 152.337 108.512 152.282 108.72C152.16 109.124 152.087 109.499 152.01 109.823C151.933 110.147 151.878 110.432 151.84 110.663C151.801 110.894 151.769 111.058 151.744 111.196C151.735 111.261 151.72 111.325 151.699 111.388Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M161.244 58.7754L153.712 59.4166C153.712 59.4166 151.468 59.468 149.005 65.188L147.235 70.8631L150.419 71.5428V71.8635L151.06 81.1072L164.642 78.9205C164.671 77.747 164.001 76.0349 163.51 74.4317C164.02 73.1652 166.165 67.6376 166.162 64.9764C166.162 59.2852 161.24 58.7946 161.24 58.7946",fill:"white"}),(0,e.createElement)("path",{d:"M164.498 111.695C164.466 111.808 164.419 111.915 164.36 112.016C164.26 112.212 164.113 112.49 163.924 112.834C163.545 113.52 163 114.456 162.385 115.479L160.794 118.085L160.313 118.881C160.261 118.981 160.197 119.075 160.121 119.16C160.153 119.047 160.199 118.939 160.259 118.839C160.358 118.643 160.506 118.364 160.695 118.021C161.073 117.335 161.618 116.399 162.234 115.376L163.812 112.76L164.292 111.968C164.35 111.869 164.419 111.778 164.498 111.695Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M162.719 72.3672C162.387 72.5281 162.026 72.6228 161.658 72.6461C161.297 72.7182 160.925 72.7182 160.564 72.6461C160.916 72.555 161.276 72.4981 161.639 72.4762C161.994 72.4056 162.356 72.3691 162.719 72.3672Z",fill:"white"}),(0,e.createElement)("path",{d:"M151.087 71.9141L150.933 81.9466L155.005 59.0985C153.652 58.8581 151.128 59.9225 150.179 61.2724C149.499 62.0804 149.128 63.94 147.236 69.5382L146.075 73.3377L141.368 68.1852L138.197 71.0516C138.197 71.0516 143.667 79.9875 145.953 80.4813C149.063 81.1546 151.083 71.9141 151.083 71.9141",fill:"#455A64"}),(0,e.createElement)("path",{d:"M151.737 62.6328C151.739 62.7644 151.725 62.8958 151.696 63.024C151.654 63.3061 151.599 63.6652 151.532 64.0788C151.394 64.9702 151.211 66.2014 151.042 67.5673C150.872 68.9332 150.753 70.174 150.67 71.0718C150.631 71.495 150.599 71.8509 150.57 72.133C150.568 72.2652 150.55 72.3966 150.516 72.5242C150.503 72.3931 150.503 72.261 150.516 72.1298C150.516 71.8766 150.538 71.5142 150.564 71.0621C150.615 70.1612 150.721 68.9171 150.884 67.5352C151.048 66.1533 151.256 64.9349 151.423 64.0468C151.51 63.6043 151.583 63.2452 151.638 62.9983C151.66 62.8737 151.693 62.7513 151.737 62.6328Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M150.682 62.1942C150.666 62.1493 151.298 61.8736 152.016 61.4376C152.734 61.0015 153.257 60.5526 153.298 60.5879C152.598 61.3573 151.694 61.9131 150.692 62.191L150.682 62.1942Z",fill:"white"}),(0,e.createElement)("path",{d:"M149.38 68.8073C149.218 68.436 149.086 68.0521 148.986 67.6594C148.835 67.2839 148.715 66.8968 148.627 66.502C149.056 67.2005 149.314 67.9903 149.38 68.8073Z",fill:"white"}),(0,e.createElement)("path",{d:"M152.683 65.1973C152.727 65.6441 152.695 66.0952 152.587 66.5311C152.531 66.9784 152.398 67.4125 152.192 67.8136C152.245 67.3742 152.324 66.9384 152.43 66.5086C152.486 66.0666 152.571 65.6286 152.683 65.1973Z",fill:"white"}),(0,e.createElement)("path",{d:"M148.101 73.9453C148.103 74.3396 148.071 74.7333 148.005 75.122C147.988 75.5177 147.939 75.9113 147.857 76.2987C147.758 75.5059 147.841 74.7009 148.101 73.9453Z",fill:"white"}),(0,e.createElement)("path",{d:"M142.083 73.8642C141.733 73.4841 141.445 73.0513 141.23 72.5817C140.967 72.1359 140.775 71.6526 140.659 71.1484C140.921 71.5881 141.159 72.042 141.371 72.5079C141.632 72.947 141.87 73.3998 142.083 73.8642Z",fill:"white"}),(0,e.createElement)("path",{d:"M145.527 74.1113C145.274 74.3519 144.975 74.5385 144.648 74.6596C144.342 74.8292 144.003 74.9329 143.654 74.9642C143.947 74.7832 144.257 74.6328 144.581 74.5153C144.882 74.3491 145.199 74.2137 145.527 74.1113Z",fill:"white"}),(0,e.createElement)("path",{d:"M161.834 77.2789L164.191 105.292L171.289 104.622L164.55 75.2076L165.374 67.3105L161.834 77.2789Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M164.19 105.293C164.148 105.293 163.625 99.0825 163.026 91.4131C162.426 83.7436 161.981 77.5266 162.022 77.5234C162.064 77.5202 162.59 83.7308 163.186 91.4003C163.782 99.0697 164.235 105.29 164.19 105.293Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M163.507 77.9272C163.555 77.6052 163.656 77.2933 163.805 77.0038C163.908 76.6954 164.06 76.4054 164.254 76.1445C164.107 76.7767 163.855 77.3794 163.507 77.9272Z",fill:"white"}),(0,e.createElement)("path",{d:"M165.466 82.0959C165.428 82.1247 165.075 81.7143 164.578 81.2751C164.26 81.0277 163.955 80.7644 163.664 80.4863C164.049 80.6341 164.398 80.8626 164.687 81.1564C165.01 81.4114 165.275 81.7315 165.466 82.0959Z",fill:"white"}),(0,e.createElement)("path",{d:"M165.033 87.7158C165.162 87.3862 165.311 87.065 165.479 86.7539C165.598 86.4174 165.739 86.0887 165.899 85.7695C165.89 86.1358 165.796 86.4949 165.623 86.818C165.5 87.1595 165.298 87.4671 165.033 87.7158Z",fill:"white"}),(0,e.createElement)("path",{d:"M166.566 92.2262C165.88 91.7766 165.257 91.2375 164.713 90.623C165.064 90.8276 165.387 91.0765 165.675 91.3637C166.008 91.6112 166.308 91.9012 166.566 92.2262Z",fill:"white"}),(0,e.createElement)("path",{d:"M167.848 95.3233C167.748 94.4237 167.754 93.5153 167.867 92.6172C167.941 93.0642 167.965 93.518 167.938 93.9702C167.961 94.4232 167.931 94.8773 167.848 95.3233Z",fill:"white"}),(0,e.createElement)("path",{d:"M165.573 97.4281C165.482 97.0763 165.425 96.7166 165.403 96.354C165.33 95.9982 165.291 95.6365 165.284 95.2734C165.45 95.6036 165.549 95.9631 165.576 96.3315C165.648 96.6936 165.647 97.0664 165.573 97.4281Z",fill:"white"}),(0,e.createElement)("path",{d:"M167.922 100.108C167.242 100.114 166.564 100.013 165.915 99.8097C166.255 99.7792 166.599 99.8031 166.931 99.8803C167.271 99.9047 167.606 99.9815 167.922 100.108Z",fill:"white"}),(0,e.createElement)("path",{d:"M167.528 103.674C167.866 102.977 168.298 102.33 168.811 101.75C168.669 102.112 168.476 102.452 168.24 102.76C168.044 103.095 167.805 103.402 167.528 103.674Z",fill:"white"}),(0,e.createElement)("path",{d:"M151.375 80.6776L139.451 64.4345C140.157 63.8902 140.819 63.2898 141.429 62.639C143.972 59.9173 145.514 56.4123 145.802 52.6989C146.091 48.9856 145.109 45.2843 143.018 42.2024C140.926 39.1205 137.849 36.8408 134.292 35.7374C130.735 34.634 126.908 34.7723 123.44 36.1297C119.971 37.4871 117.067 39.9829 115.204 43.2078C113.34 46.4327 112.628 50.1951 113.184 53.878C113.74 57.5608 115.531 60.9453 118.264 63.4763C120.996 66.0074 124.508 67.5346 128.222 67.8075C128.808 67.8504 129.396 67.8611 129.982 67.8396C132.37 67.7662 134.712 67.1708 136.844 66.0954L148.89 82.5052C149.133 82.833 149.497 83.0508 149.901 83.1109C150.305 83.171 150.716 83.0685 151.045 82.8258C151.372 82.5838 151.591 82.2222 151.652 81.8197C151.714 81.4173 151.615 81.0067 151.375 80.6776ZM129.893 64.7615C129.416 64.7772 128.939 64.7686 128.463 64.7359C125.053 64.4901 121.868 62.9454 119.564 60.4201C117.26 57.8949 116.013 54.5818 116.08 51.1642C116.147 47.7465 117.523 44.4849 119.924 42.0519C122.326 39.619 125.569 38.2003 128.985 38.0884C129.468 38.0723 129.95 38.0819 130.431 38.1172C133.836 38.3716 137.013 39.9209 139.309 42.4464C141.606 44.9719 142.848 48.2815 142.779 51.6945C142.71 55.1074 141.335 58.3642 138.939 60.7948C136.542 63.2253 133.304 64.6449 129.893 64.7615Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M146.64 71.8445L145.226 76.6764C145.226 76.6764 152.626 79.3664 156.634 79.3151C160.388 79.2703 161.462 78.8438 162.783 75.8139C164.104 72.7839 165.605 69.3019 165.925 67.2851C165.925 67.2851 168.045 58.0542 159.959 58.8782L159.734 66.0956C159.734 66.0956 158.84 69.055 158.772 69.2281C158.169 70.8313 157.387 73.1623 156.63 73.4444C155.874 73.7266 146.64 71.8445 146.64 71.8445Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M158.253 75.7146C157.657 75.0146 157.19 74.2145 156.874 73.3516C157.148 73.7168 157.389 74.1051 157.595 74.5122C157.847 74.8942 158.067 75.2964 158.253 75.7146Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M159.01 74.9536C158.623 74.7543 158.263 74.5089 157.936 74.2226C157.58 73.9777 157.257 73.689 156.974 73.3633C157.359 73.564 157.72 73.8093 158.048 74.0943C158.403 74.3391 158.726 74.6278 159.01 74.9536Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M161.523 61.7891C161.288 62.5603 161.003 63.3153 160.67 64.0495C160.387 64.8039 160.054 65.5387 159.673 66.249C159.905 65.4774 160.189 64.7222 160.523 63.9886C160.806 63.2337 161.14 62.4989 161.523 61.7891Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M165.604 68.6602C165.583 68.7867 165.547 68.9104 165.498 69.0289C165.408 69.2918 165.296 69.622 165.178 70.01C164.883 70.8372 164.469 71.9787 163.982 73.2163C163.494 74.4539 163.02 75.5793 162.629 76.3713C162.439 76.7689 162.279 77.0863 162.16 77.3011C162.108 77.4152 162.042 77.5228 161.965 77.6217C161.999 77.4985 162.046 77.3791 162.106 77.2658C162.218 77.0125 162.356 76.6919 162.523 76.304C162.875 75.4992 163.34 74.3802 163.831 73.1361C164.321 71.8921 164.741 70.7891 165.069 69.9298C165.229 69.5226 165.363 69.1924 165.456 68.968C165.496 68.861 165.545 68.758 165.604 68.6602Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M153.712 73.2327C153.712 73.2776 152.109 73.0211 150.115 72.662C148.12 72.3029 146.536 71.9759 146.546 71.9342C146.556 71.8925 148.149 72.1458 150.143 72.5049C152.138 72.864 153.722 73.191 153.712 73.2327Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M162.103 68.8274C162.006 67.9604 162.018 67.0847 162.138 66.2207C162.211 66.6516 162.232 67.0898 162.199 67.5257C162.221 67.9619 162.188 68.3991 162.103 68.8274Z",fill:"white"}),(0,e.createElement)("path",{d:"M159.221 77.7012C159.339 77.3654 159.482 77.0386 159.647 76.7233C159.765 76.3867 159.906 76.0588 160.07 75.7422C160.058 76.1069 159.964 76.4641 159.795 76.7874C159.673 77.1306 159.477 77.4426 159.221 77.7012Z",fill:"white"}),(0,e.createElement)("path",{d:"M155.305 77.4518C154.865 76.712 154.449 75.9581 154.058 75.1914C154.365 75.5019 154.617 75.8617 154.805 76.2559C155.038 76.6234 155.207 77.0278 155.305 77.4518Z",fill:"white"}),(0,e.createElement)("path",{d:"M149.894 74.9551C149.569 75.1701 149.216 75.3395 148.845 75.4585C148.494 75.625 148.122 75.7436 147.739 75.8112C148.064 75.5961 148.417 75.4267 148.788 75.3078C149.139 75.1408 149.511 75.0221 149.894 74.9551Z",fill:"white"}),(0,e.createElement)("path",{d:"M165.076 63.6256C165.04 63.6544 164.684 63.3049 164.171 62.9394C163.658 62.5739 163.19 62.3847 163.21 62.3398C163.593 62.4071 163.954 62.5678 164.261 62.808C164.597 63.0081 164.877 63.2892 165.076 63.6256Z",fill:"white"}),(0,e.createElement)("path",{d:"M162.767 71.5977C161.946 71.893 161.07 72.0026 160.202 71.9183C160.625 71.8268 161.053 71.7678 161.485 71.7419C161.908 71.6627 162.337 71.6145 162.767 71.5977Z",fill:"white"}),(0,e.createElement)("path",{d:"M162.008 46.8797C162.224 46.4861 162.568 46.1781 162.983 46.0067C163.398 45.8353 163.86 45.8107 164.291 45.9371C164.717 46.0773 165.104 46.3179 165.418 46.6387C165.732 46.9596 165.965 47.3512 166.096 47.7807C166.349 48.6454 166.366 49.5622 166.144 50.4355C166.003 51.0767 165.823 51.8174 166.24 52.3112C166.657 52.8049 167.369 52.76 167.827 53.1576C167.94 53.257 168.032 53.3786 168.096 53.5148C168.16 53.651 168.196 53.7989 168.2 53.9495C168.205 54.1 168.179 54.2498 168.123 54.3898C168.068 54.5297 167.984 54.6568 167.877 54.763C167.771 54.8693 167.643 54.9525 167.503 55.0075C167.363 55.0625 167.213 55.0882 167.062 55.0828C166.912 55.0775 166.764 55.0414 166.628 54.9766C166.492 54.9118 166.371 54.8198 166.272 54.7063C166.272 55.1519 166.516 55.5591 166.654 55.9888C166.792 56.4184 166.811 56.9507 166.471 57.236C166.336 57.3334 166.177 57.3931 166.012 57.4089C165.846 57.4247 165.679 57.396 165.528 57.3258C165.227 57.1829 164.954 56.9863 164.723 56.7455C164.881 57.2059 164.881 57.7054 164.723 58.1659C164.639 58.393 164.497 58.5943 164.311 58.7505C164.126 58.9067 163.904 59.0123 163.665 59.0572C163.364 59.0795 163.062 59.0112 162.799 58.8609C162.536 58.7107 162.324 58.4854 162.19 58.2139C161.933 57.6653 161.836 57.055 161.912 56.4537C161.979 55.5175 162.232 54.6005 162.335 53.6706C162.5 52.7386 162.379 51.7786 161.988 50.9164",fill:"#008182"}),(0,e.createElement)("path",{d:"M167.442 52.3467C167.442 52.3467 167.404 52.3692 167.32 52.3467C167.26 52.3369 167.204 52.3133 167.155 52.2776C167.106 52.242 167.066 52.1954 167.038 52.1415C166.993 52.0523 166.981 51.9497 167.005 51.8526C167.029 51.7554 167.088 51.6702 167.17 51.6125C167.275 51.5321 167.406 51.4921 167.538 51.4997C167.67 51.5074 167.796 51.5622 167.891 51.6542C168.003 51.7632 168.083 51.9014 168.121 52.0532C168.159 52.205 168.154 52.3644 168.106 52.5135C168.064 52.6831 167.974 52.8369 167.846 52.9559C167.705 53.0823 167.525 53.1559 167.336 53.1643C167.143 53.1766 166.949 53.1344 166.778 53.0425C166.602 52.9433 166.455 52.7996 166.352 52.6257C166.149 52.2632 166.077 51.8423 166.147 51.4329C166.265 50.6089 166.663 49.9196 166.653 49.227C166.662 48.6157 166.495 48.0147 166.172 47.4956C165.955 47.1437 165.672 46.8368 165.339 46.5914C165.101 46.4183 164.951 46.3542 164.96 46.3381C164.97 46.3221 164.999 46.3381 165.073 46.3798C165.177 46.4249 165.278 46.4785 165.374 46.5401C165.731 46.773 166.036 47.0776 166.269 47.4347C166.619 47.9679 166.804 48.5924 166.801 49.2302C166.801 49.9645 166.413 50.6763 166.304 51.4554C166.24 51.8279 166.304 52.2112 166.487 52.5423C166.569 52.6914 166.691 52.8147 166.839 52.8985C166.988 52.9823 167.156 53.0233 167.327 53.0169C167.477 53.0079 167.621 52.9506 167.736 52.8536C167.852 52.7566 167.933 52.6249 167.968 52.4782C168.012 52.3517 168.02 52.2155 167.991 52.0848C167.962 51.954 167.897 51.8338 167.804 51.7375C167.728 51.6601 167.627 51.6122 167.519 51.6022C167.411 51.5922 167.303 51.6209 167.214 51.683C167.146 51.7282 167.095 51.7958 167.071 51.8742C167.047 51.9526 167.052 52.037 167.083 52.1127C167.106 52.1609 167.138 52.2039 167.178 52.2387C167.219 52.2735 167.266 52.2994 167.317 52.3147C167.397 52.3467 167.439 52.3371 167.442 52.3467Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M160.022 59.0571L160.452 49.2715L156.566 46.3281L153.039 48.0563C153.039 48.0563 152.92 52.4906 153.039 54.4144C153.158 56.3382 155.097 56.5434 155.097 56.5434C155.097 56.5434 155.053 57.6688 155.008 58.8551C154.995 59.1949 155.052 59.5336 155.174 59.8509C155.296 60.1682 155.481 60.4575 155.718 60.7011C155.955 60.9448 156.239 61.1379 156.553 61.2686C156.867 61.3994 157.204 61.4651 157.544 61.4618C158.186 61.4534 158.801 61.1996 159.261 60.7524C159.722 60.3053 159.995 59.6987 160.022 59.0571Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M153.421 51.2879C153.421 51.3367 153.435 51.3845 153.463 51.4251C153.49 51.4657 153.528 51.4973 153.573 51.516C153.618 51.5347 153.668 51.5396 153.716 51.53C153.764 51.5205 153.808 51.497 153.842 51.4625C153.877 51.4279 153.9 51.384 153.91 51.3361C153.919 51.2882 153.915 51.2385 153.896 51.1934C153.877 51.1483 153.846 51.1097 153.805 51.0826C153.764 51.0555 153.717 51.041 153.668 51.041C153.603 51.0418 153.54 51.0681 153.494 51.1142C153.448 51.1604 153.422 51.2227 153.421 51.2879Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M153.18 51.0259C153.212 51.058 153.392 50.9041 153.658 50.8912C153.924 50.8784 154.123 51.0035 154.149 50.9682C154.174 50.9329 154.129 50.8944 154.043 50.8335C153.926 50.7562 153.788 50.7191 153.648 50.7278C153.509 50.7365 153.376 50.7905 153.27 50.8816C153.19 50.9425 153.164 51.0067 153.18 51.0259Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M156.271 51.2879C156.271 51.3367 156.285 51.3845 156.312 51.4251C156.339 51.4657 156.378 51.4973 156.423 51.516C156.468 51.5347 156.518 51.5396 156.566 51.53C156.613 51.5205 156.657 51.497 156.692 51.4625C156.726 51.4279 156.75 51.384 156.76 51.3361C156.769 51.2882 156.764 51.2385 156.745 51.1934C156.727 51.1483 156.695 51.1097 156.655 51.0826C156.614 51.0555 156.566 51.041 156.517 51.041C156.452 51.041 156.389 51.067 156.343 51.1133C156.297 51.1596 156.271 51.2224 156.271 51.2879Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M156.117 51.0259C156.149 51.058 156.332 50.9041 156.595 50.8912C156.858 50.8784 157.06 51.0035 157.088 50.9682C157.117 50.9329 157.069 50.8944 156.979 50.8335C156.863 50.7562 156.724 50.7191 156.585 50.7278C156.445 50.7365 156.313 50.7905 156.207 50.8816C156.126 50.9425 156.101 51.0067 156.117 51.0259Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M156.037 53.5117C155.633 53.718 155.201 53.8658 154.755 53.951C154.853 54.0844 154.992 54.1815 155.151 54.2268C155.31 54.272 155.48 54.263 155.633 54.2011C155.707 54.1848 155.776 54.1537 155.836 54.1095C155.897 54.0654 155.948 54.0092 155.986 53.9445C156.024 53.8798 156.048 53.808 156.057 53.7335C156.066 53.659 156.059 53.5835 156.037 53.5117Z",fill:"white"}),(0,e.createElement)("path",{d:"M155.088 56.5441C156.002 56.505 156.887 56.2058 157.637 55.6816C157.637 55.6816 157.06 57.0956 155.13 57.0155L155.088 56.5441Z",fill:"#EB996E"}),(0,e.createElement)("path",{d:"M166.047 54.8034C165.803 54.8126 165.562 54.7573 165.348 54.6431C165.031 54.4741 164.767 54.2197 164.588 53.9089C164.367 53.5184 164.177 53.111 164.02 52.6905C163.661 51.7959 163.379 50.9655 163.206 50.3595L163.126 50.0934C163.126 49.9908 163.094 49.8978 163.077 49.8305C162.026 45.8194 158.502 45.0723 157.803 45.0723C157.104 45.0723 155.748 44.6619 153.84 46.6434C153.554 46.9414 153.311 47.2782 153.119 47.6438C152.695 48.17 152.404 48.7901 152.269 49.4521C152.181 49.7652 152.166 50.0941 152.224 50.414C152.259 50.414 152.266 50.0517 152.413 49.4938C152.503 49.166 152.627 48.8488 152.785 48.5479C152.619 49.2888 152.687 50.0633 152.981 50.7635L153.664 50.5743L156.113 49.7407C155.889 48.984 156.219 48.0414 156.402 47.6021L156.421 47.5861C156.558 48.3855 156.946 49.1207 157.528 49.6855C158.11 50.2503 158.856 50.6155 159.66 50.7282L160.112 57.0286C163.369 56.3328 163.292 51.9755 163.273 51.0905C163.421 51.5875 163.613 52.1614 163.853 52.761C164.012 53.1928 164.212 53.6083 164.45 54.0018C164.65 54.333 164.944 54.5983 165.293 54.7649C165.53 54.8755 165.794 54.9145 166.053 54.8772C166.148 54.8685 166.239 54.8341 166.316 54.7778C166.226 54.7806 166.136 54.7892 166.047 54.8034Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M155.162 53.2707C155.02 53.2378 154.875 53.2195 154.729 53.2162C154.662 53.2162 154.594 53.2162 154.581 53.1553C154.572 53.0818 154.584 53.007 154.617 52.9405L154.8 52.3922C154.925 52.001 155.034 51.6451 155.12 51.3854C155.172 51.2483 155.204 51.1049 155.216 50.959C155.138 51.0809 155.074 51.211 155.024 51.3469C154.934 51.6002 154.816 51.9529 154.703 52.3441L154.53 52.8956C154.491 52.982 154.482 53.0792 154.505 53.1713C154.515 53.1949 154.53 53.2159 154.549 53.2325C154.569 53.2492 154.592 53.2612 154.617 53.2675C154.655 53.272 154.694 53.272 154.732 53.2675C154.875 53.2869 155.019 53.288 155.162 53.2707Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M160.657 53.1762C160.625 52.852 160.66 52.5245 160.76 52.2143C160.81 52.0621 160.901 51.9263 161.022 51.8214C161.144 51.7164 161.291 51.6461 161.449 51.618C161.636 51.6095 161.819 51.6703 161.963 51.7887C162.108 51.907 162.203 52.0746 162.231 52.2592C162.253 52.4428 162.219 52.6286 162.134 52.793C162.05 52.9574 161.919 53.093 161.757 53.1826C161.592 53.2683 161.411 53.3157 161.225 53.3213C161.04 53.3268 160.855 53.2904 160.686 53.2147",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M161.215 52.8985C161.215 52.876 161.321 52.9241 161.455 52.8825C161.54 52.8535 161.614 52.7986 161.666 52.7255C161.717 52.6524 161.745 52.5648 161.744 52.4753C161.752 52.4302 161.75 52.384 161.738 52.3397C161.726 52.2955 161.706 52.2542 161.677 52.2188C161.617 52.1711 161.541 52.1481 161.465 52.1546C161.321 52.1546 161.221 52.2059 161.212 52.1835C161.202 52.161 161.276 52.0937 161.449 52.0424C161.504 52.0289 161.561 52.0276 161.617 52.0387C161.672 52.0498 161.724 52.073 161.77 52.1065C161.82 52.1548 161.858 52.2142 161.881 52.28C161.903 52.3457 161.911 52.4159 161.901 52.4849C161.894 52.6172 161.843 52.7434 161.757 52.844C161.684 52.9272 161.584 52.9808 161.475 52.9947C161.289 53.0139 161.202 52.9113 161.215 52.8985Z",fill:"#EB996E"}),(0,e.createElement)("path",{d:"M161.791 53.1608C161.791 53.1608 161.936 53.2602 161.936 53.5167C161.929 53.6664 161.865 53.8077 161.756 53.9111C161.687 53.9738 161.605 54.0206 161.516 54.0483C161.426 54.076 161.332 54.0839 161.24 54.0714C161.147 54.0538 161.059 54.016 160.983 53.9606C160.906 53.9051 160.843 53.8335 160.797 53.7508C160.761 53.684 160.739 53.6108 160.732 53.5354C160.725 53.4599 160.733 53.3838 160.756 53.3115C160.836 53.0646 160.999 52.9909 161.006 53.0165C161.012 53.0422 160.903 53.1288 160.865 53.3372C160.845 53.436 160.858 53.5384 160.899 53.63C160.941 53.7216 161.01 53.798 161.097 53.8484C161.184 53.8989 161.285 53.9209 161.385 53.9115C161.486 53.902 161.58 53.8615 161.657 53.7957C161.749 53.7202 161.808 53.6124 161.823 53.4943C161.827 53.3822 161.816 53.2701 161.791 53.1608Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M160.663 51.8362C160.592 51.9025 160.508 51.9538 160.417 51.9869C160.171 52.094 159.906 52.1486 159.637 52.1472C159.237 52.1453 158.843 52.0462 158.49 51.8587C158.063 51.6264 157.697 51.2968 157.422 50.8968C156.949 50.1576 156.657 49.3172 156.569 48.4439C156.524 48.1233 156.502 47.8476 156.489 47.6648C156.472 47.5683 156.472 47.4696 156.489 47.373C156.571 47.7211 156.635 48.0732 156.681 48.4279C156.8 49.2729 157.097 50.0828 157.553 50.8038C157.812 51.1838 158.153 51.5005 158.551 51.7304C158.882 51.911 159.251 52.0141 159.628 52.0318C159.983 52.0354 160.335 51.9689 160.663 51.8362Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M162.822 49.0787C162.773 49.0787 162.629 48.524 162.254 47.9212C161.879 47.3185 161.436 46.9369 161.468 46.8984C161.857 47.1195 162.176 47.4449 162.389 47.8379C162.648 48.2022 162.798 48.6325 162.822 49.0787Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M145.369 76.1828H144.237C143.208 76.0834 142.634 76.0674 142.346 75.7949C141.961 75.4262 142.49 75.067 142.49 75.067C142.49 75.067 141.746 74.8105 141.817 74.3585C141.861 74.0378 142.214 74.0154 142.214 74.0154C142.214 74.0154 141.573 73.7589 141.429 73.4831C141.252 73.1112 141.714 72.9124 141.714 72.9124C140.819 72.3609 140.903 71.8127 141.108 71.7582C141.313 71.7036 142.012 72.0275 142.012 72.0275C142.602 72.1942 144.212 72.6848 143.615 71.7966C143.019 70.9085 142.897 70.0043 143.032 69.735C143.061 69.6642 143.115 69.6063 143.183 69.5717C143.251 69.5371 143.33 69.5281 143.404 69.5463C143.479 69.5645 143.544 69.6087 143.589 69.671C143.633 69.7332 143.654 69.8094 143.647 69.8857C143.74 70.2352 143.881 70.5699 144.067 70.8796C144.209 71.1291 144.39 71.3543 144.603 71.5465C144.856 71.771 145.081 71.9505 145.273 72.1012L146.28 73.0631L145.369 76.1828Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M138.325 64.8868C138.409 64.6431 138.611 64.47 138.829 64.5854C138.872 64.6364 138.902 64.6978 138.914 64.7636C138.926 64.8294 138.921 64.8973 138.899 64.9606L138.2 67.2338L138.861 65.6307C138.944 65.387 139.166 65.2395 139.316 65.371C139.354 65.4238 139.378 65.4847 139.388 65.5488C139.397 65.6129 139.391 65.6783 139.371 65.7397L138.768 67.6282L139.259 66.4483C139.361 66.179 139.48 66.1052 139.618 66.1661C139.755 66.2271 139.759 66.4226 139.727 66.5316L139.313 67.9232C139.403 68.1925 139.711 69.0358 139.412 69.5103C139.412 69.5327 139.444 69.6129 139.441 69.6385L139.582 69.7989L138.672 70.6357C138.672 70.6357 137.816 68.4715 137.652 67.8206C137.552 67.446 137.569 67.0495 137.703 66.6856L138.325 64.8868Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M60.0661 127.674L59.9929 124.619L54.2725 124.722L54.3357 129.188L54.6884 129.205C56.2691 129.265 62.725 129.398 63.7733 129.058C64.9447 128.682 60.0661 127.674 60.0661 127.674Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M56.382 129.118C56.2895 128.637 56.0214 128.207 55.6299 127.913C55.2507 127.621 54.776 127.481 54.2988 127.52L54.3288 129.118H56.382Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M62.4524 128.25C62.4524 128.25 64.1629 128.713 63.9566 128.995C63.7502 129.278 57.2178 129.391 54.3359 129.188V129.062L61.9532 128.995C61.9532 128.995 62.1196 128.27 62.4524 128.25Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M54.2422 129.059H55.6631C56.5417 129.059 57.753 129.059 59.0941 129.039C60.4352 129.019 61.6465 128.979 62.5251 128.946L63.5633 128.909H63.8462C63.8794 128.905 63.9128 128.905 63.946 128.909H63.8495L63.5666 128.932L62.5284 128.992C61.6498 129.039 60.4352 129.085 59.0941 129.105C57.753 129.125 56.5417 129.105 55.6631 129.105L54.6216 129.079H54.3387L54.2422 129.059Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M61.9598 129.085C61.935 128.897 61.98 128.706 62.0862 128.549C62.1727 128.381 62.3169 128.25 62.4922 128.18C62.3675 128.303 62.256 128.439 62.1595 128.586C62.0733 128.744 62.0063 128.911 61.9598 129.085Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M60.256 128.255C60.2393 128.255 60.2926 128.132 60.3758 127.999C60.459 127.866 60.5355 127.766 60.5521 127.776C60.5688 127.786 60.5155 127.903 60.4323 128.032C60.3491 128.162 60.2726 128.265 60.256 128.255Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M59.79 128.019C59.79 128.019 59.8433 127.923 59.9431 127.83C60.0429 127.737 60.1295 127.68 60.1395 127.693C60.1494 127.707 60.0862 127.793 59.9897 127.883C59.8932 127.973 59.8034 128.033 59.79 128.019Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M59.4873 127.483C59.5838 127.451 59.6857 127.44 59.7868 127.45C59.8876 127.438 59.9897 127.449 60.0863 127.48C59.9908 127.516 59.8881 127.528 59.7868 127.516C59.6858 127.53 59.5829 127.519 59.4873 127.483Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M59.3809 127.12C59.4922 127.116 59.6037 127.123 59.7136 127.14C59.8248 127.137 59.9361 127.143 60.0464 127.157C59.9437 127.209 59.8274 127.228 59.7136 127.21C59.5961 127.215 59.48 127.184 59.3809 127.12Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M60.4424 127.752C60.4424 127.752 60.5821 127.752 60.8018 127.696C60.9298 127.672 61.0556 127.637 61.1778 127.593C61.2495 127.568 61.3186 127.537 61.3841 127.499C61.4474 127.459 61.4707 127.39 61.4108 127.35C61.2732 127.284 61.1152 127.276 60.9715 127.326C60.8504 127.365 60.743 127.438 60.662 127.536C60.5904 127.631 60.5353 127.738 60.4989 127.852C60.4909 127.819 60.4909 127.785 60.4989 127.752C60.5212 127.663 60.5607 127.58 60.6154 127.506C60.7066 127.378 60.8402 127.286 60.9925 127.247C61.1447 127.208 61.3059 127.225 61.4474 127.293C61.4691 127.31 61.4859 127.333 61.4959 127.358C61.5058 127.384 61.5086 127.412 61.5039 127.439C61.4905 127.489 61.4582 127.53 61.4141 127.556C61.3449 127.597 61.2712 127.629 61.1945 127.652C61.0663 127.694 60.935 127.725 60.8018 127.746C60.6834 127.77 60.5616 127.772 60.4424 127.752Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M60.5389 127.786C60.5455 127.704 60.5455 127.622 60.5389 127.54C60.5199 127.454 60.4824 127.373 60.429 127.304C60.3725 127.23 60.276 127.141 60.1861 127.151C60.0963 127.161 60.1295 127.307 60.1861 127.383C60.2302 127.462 60.2826 127.536 60.3425 127.603C60.4457 127.716 60.5255 127.773 60.5189 127.783C60.4379 127.75 60.3651 127.7 60.3059 127.636C60.2376 127.571 60.1782 127.498 60.1295 127.417C60.0963 127.368 60.0737 127.312 60.063 127.254C60.0561 127.216 60.064 127.178 60.0851 127.146C60.1063 127.114 60.1389 127.092 60.1761 127.084C60.2387 127.085 60.3 127.102 60.3541 127.134C60.4082 127.165 60.4535 127.21 60.4856 127.264C60.5417 127.344 60.5771 127.436 60.5888 127.533C60.6034 127.621 60.5856 127.711 60.5389 127.786Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.3428 127.494C54.3428 127.494 54.3794 127.478 54.4526 127.464C54.5578 127.455 54.6636 127.455 54.7687 127.464C55.119 127.486 55.4549 127.611 55.7338 127.824C56.0127 128.038 56.2203 128.331 56.3295 128.666C56.3622 128.765 56.3845 128.868 56.396 128.972C56.4012 129.01 56.4012 129.05 56.396 129.088C56.396 129.088 56.3694 128.925 56.2795 128.682C56.1638 128.363 55.9596 128.084 55.6908 127.877C55.4221 127.67 55.0999 127.545 54.7621 127.514C54.6228 127.5 54.4828 127.493 54.3428 127.494Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.9078 125.102C54.9424 125.492 54.9557 125.884 54.9477 126.276C54.9544 126.669 54.9411 127.063 54.9078 127.454C54.8712 127.064 54.8578 126.672 54.8678 126.28C54.8571 125.886 54.8705 125.493 54.9078 125.102Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.1172 128.539C57.1172 128.519 57.4932 128.539 57.9525 128.539C58.4117 128.539 58.7844 128.509 58.7877 128.539C58.5137 128.6 58.2331 128.627 57.9525 128.619C57.6718 128.626 57.3913 128.599 57.1172 128.539Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.9965 128.555C55.9965 128.555 56.083 128.591 56.1296 128.688C56.1762 128.784 56.1695 128.877 56.1495 128.877C56.1296 128.877 56.1096 128.801 56.0697 128.718C56.0297 128.635 55.9831 128.568 55.9965 128.555Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.5732 128.035C55.5732 128.035 55.6464 128.058 55.7063 128.118C55.7662 128.178 55.8062 128.235 55.7929 128.248C55.7796 128.261 55.7197 128.225 55.6598 128.168C55.5999 128.112 55.5499 128.048 55.5732 128.035Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.958 127.807C54.958 127.79 55.0379 127.754 55.141 127.787C55.2442 127.82 55.2974 127.9 55.2808 127.91C55.2642 127.92 55.2076 127.88 55.1211 127.854C55.0346 127.827 54.9613 127.827 54.958 127.807Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.5253 127.7C54.5253 127.683 54.5752 127.683 54.6218 127.7C54.6684 127.717 54.705 127.747 54.6983 127.763C54.6916 127.78 54.6451 127.783 54.5985 127.763C54.5519 127.743 54.5186 127.72 54.5253 127.7Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M80.0996 42.025C80.0996 42.025 84.9781 36.9834 85.4241 37.2064C85.87 37.4294 83.6337 39.4826 83.9299 39.7488C84.2261 40.0151 86.5921 41.8021 82.7885 44.6374L80.0996 42.025Z",fill:"#E5BAAB"}),(0,e.createElement)("path",{d:"M84.2989 40.5644C84.2774 40.6153 84.2518 40.6642 84.2223 40.7108C84.1458 40.8373 84.0659 40.9671 83.986 41.1035C83.9062 41.24 83.7498 41.4762 83.6266 41.6759C83.5584 41.7977 83.4598 41.8997 83.3404 41.9721C83.2711 42.0114 83.1906 42.0265 83.1117 42.0151C83.0327 42.0036 82.9599 41.9663 82.9045 41.9088C82.8632 41.8418 82.8436 41.7636 82.8484 41.685C82.8531 41.6064 82.882 41.5312 82.9311 41.4696C83.0043 41.3464 83.0775 41.24 83.1474 41.1368C83.2772 40.9405 83.4003 40.7541 83.5168 40.5711L83.7731 40.1917C83.8018 40.1441 83.8352 40.0995 83.8729 40.0586C83.8547 40.1119 83.8289 40.1623 83.7964 40.2083L83.5601 40.5977C83.4436 40.7807 83.3271 40.9737 83.2007 41.1734L82.991 41.5062C82.9508 41.5569 82.9263 41.6182 82.9204 41.6826C82.9144 41.747 82.9274 41.8118 82.9578 41.8689C83.002 41.9095 83.0575 41.9356 83.1169 41.944C83.1763 41.9523 83.2369 41.9424 83.2905 41.9155C83.4005 41.8494 83.492 41.7567 83.5568 41.6459L83.9261 41.0802L84.1824 40.7009C84.2149 40.6503 84.254 40.6044 84.2989 40.5644Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M84.549 41.1169C84.549 41.1653 84.5423 41.2135 84.529 41.26C84.5 41.389 84.4588 41.5149 84.4059 41.6361C84.3234 41.8148 84.217 41.9816 84.0897 42.1319C84.0165 42.2261 83.9248 42.3042 83.8202 42.3615C83.7627 42.4002 83.6937 42.418 83.6246 42.412C83.5556 42.4059 83.4907 42.3764 83.4408 42.3282C83.3977 42.2747 83.3703 42.2104 83.3615 42.1423C83.3527 42.0741 83.3628 42.0049 83.3909 41.9422C83.4377 41.8343 83.4993 41.7335 83.5739 41.6427C83.6971 41.4663 83.8002 41.3099 83.8867 41.1569C83.953 41.0423 84.0252 40.9312 84.1031 40.8241C84.1303 40.7834 84.1615 40.7455 84.1962 40.7109C84.1767 40.7551 84.1534 40.7974 84.1263 40.8374C84.0598 40.9505 83.9932 41.0637 83.93 41.1702C83.8668 41.2767 83.7503 41.4863 83.6272 41.6693C83.5589 41.7579 83.5009 41.8539 83.4541 41.9555C83.4333 42.0071 83.4258 42.063 83.4322 42.1183C83.4386 42.1735 83.4587 42.2262 83.4907 42.2717C83.5312 42.3081 83.5827 42.3298 83.637 42.3334C83.6913 42.3371 83.7453 42.3223 83.7902 42.2916C83.8875 42.2376 83.9734 42.1653 84.0432 42.0787C84.1682 41.934 84.2744 41.7741 84.3593 41.6028C84.433 41.4451 84.4963 41.2828 84.549 41.1169Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M81.6066 40.9849L83.3936 40.8651C83.4267 40.8601 83.4604 40.8601 83.4935 40.8651C83.5866 40.8984 83.6033 41.0282 83.58 41.128C83.5365 41.2803 83.4574 41.4202 83.3492 41.5359C83.241 41.6516 83.1068 41.7399 82.9577 41.7935C82.6618 41.8942 82.3518 41.947 82.0392 41.9499L81.1807 41.9999",fill:"#E5BAAB"}),(0,e.createElement)("path",{d:"M81.1973 41.9923C81.2609 41.9793 81.3254 41.9715 81.3903 41.969L81.9161 41.9257C82.175 41.9134 82.4329 41.8845 82.6881 41.8392C82.9983 41.7867 83.2755 41.6147 83.4602 41.36C83.5434 41.2302 83.6132 41.0505 83.54 40.9374C83.5068 40.8808 83.4302 40.8974 83.3503 40.9008L83.1241 40.9174L82.3454 40.9607L81.8162 40.9873C81.7521 40.9951 81.6873 40.9951 81.6232 40.9873C81.6868 40.9743 81.7514 40.9665 81.8162 40.964L82.342 40.9174L83.1207 40.8542H83.347C83.3869 40.8507 83.427 40.8507 83.4668 40.8542C83.4918 40.8545 83.5163 40.8604 83.5388 40.8713C83.5612 40.8822 83.5809 40.898 83.5966 40.9174C83.6198 40.9573 83.6344 41.0015 83.6395 41.0474C83.6447 41.0932 83.6403 41.1396 83.6265 41.1836C83.6022 41.268 83.5664 41.3486 83.5201 41.4232C83.3234 41.6913 83.0295 41.8717 82.7014 41.9257C82.4428 41.9684 82.1815 41.9929 81.9194 41.9989L81.3936 42.0189C81.3273 42.0179 81.2614 42.0089 81.1973 41.9923Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M84.8583 41.5962C84.8583 41.5962 84.8417 41.6328 84.8151 41.7027C84.7793 41.7995 84.7493 41.8984 84.7252 41.9988C84.6908 42.1513 84.6347 42.2981 84.5588 42.4348C84.5081 42.5173 84.4399 42.5877 84.3591 42.6411C84.3114 42.6707 84.2552 42.6836 84.1994 42.6777C84.1702 42.6723 84.1424 42.6609 84.1178 42.6443C84.0932 42.6277 84.0723 42.6062 84.0563 42.5812C84.0296 42.5345 84.014 42.4824 84.0105 42.4288C84.007 42.3751 84.0159 42.3214 84.0364 42.2717C84.0696 42.1785 84.1129 42.0987 84.1462 42.0155L84.3392 41.5962C84.3939 41.4656 84.4573 41.3389 84.5289 41.2168C84.4925 41.3541 84.4435 41.4878 84.3824 41.6161L84.2061 42.0421C84.1462 42.1985 84.0164 42.3749 84.1162 42.5446C84.1265 42.562 84.1404 42.577 84.1571 42.5885C84.1737 42.6001 84.1927 42.6078 84.2126 42.6113C84.2325 42.6148 84.253 42.6139 84.2725 42.6087C84.2921 42.6035 84.3103 42.5941 84.3259 42.5812C84.3976 42.5344 84.4588 42.4732 84.5056 42.4015C84.5815 42.27 84.6397 42.129 84.6786 41.9822C84.7077 41.8413 84.7692 41.7091 84.8583 41.5962Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M82.5847 43.4239C82.5648 43.4239 82.6613 43.0912 82.6846 42.6619C82.7079 42.2326 82.6613 41.8998 82.6846 41.8965C82.7572 42.147 82.7809 42.4091 82.7544 42.6685C82.7489 42.9291 82.6912 43.186 82.5847 43.4239Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M59.3805 40.3457C59.3819 40.9939 59.549 41.631 59.8658 42.1966C60.1826 42.7621 60.6388 43.2373 61.1908 43.577C61.5016 43.736 61.8017 43.915 62.0893 44.1128C62.2327 44.2123 62.3509 44.3437 62.4346 44.4968C62.5184 44.6498 62.5653 44.8203 62.5719 44.9946C62.5486 45.5371 61.9962 45.8831 61.5136 46.1294C61.6462 46.2546 61.752 46.4055 61.8246 46.5728C61.8972 46.7402 61.935 46.9205 61.9359 47.1029C61.9367 47.2853 61.9005 47.466 61.8295 47.634C61.7584 47.802 61.6541 47.9538 61.5226 48.0803C61.3912 48.2067 61.2355 48.3052 61.0649 48.3697C60.8942 48.4343 60.7123 48.4635 60.5301 48.4556C60.3479 48.4478 60.1691 48.403 60.0047 48.3241C59.8403 48.2451 59.6936 48.1336 59.5735 47.9963C59.5327 48.506 59.3357 48.9907 59.0093 49.3843C58.683 49.7779 58.2432 50.0614 57.7499 50.196C57.253 50.3173 56.7354 50.3272 56.2343 50.2247C55.7331 50.1223 55.2608 49.9102 54.8514 49.6036C54.0377 48.9801 53.4019 48.1539 53.0078 47.2076",fill:"#263238"}),(0,e.createElement)("path",{d:"M56.9052 49.8584C56.8153 49.346 57.0249 47.1962 57.0249 47.1962C57.0249 47.1962 58.9983 46.9866 59.1181 45.0298C59.2379 43.0731 59.1181 38.5539 59.1181 38.5539L55.5241 36.7969L51.5674 39.7919L52.1664 49.5789L56.9052 49.8584Z",fill:"#E5BAAB"}),(0,e.createElement)("path",{d:"M58.7316 41.8336C58.7316 41.8829 58.717 41.9312 58.6895 41.9722C58.6621 42.0133 58.6231 42.0453 58.5775 42.0642C58.5319 42.083 58.4817 42.088 58.4333 42.0784C58.3849 42.0687 58.3404 42.045 58.3055 42.01C58.2706 41.9751 58.2468 41.9307 58.2372 41.8823C58.2276 41.8338 58.2325 41.7837 58.2514 41.7381C58.2703 41.6924 58.3023 41.6535 58.3433 41.626C58.3844 41.5986 58.4326 41.584 58.482 41.584C58.5482 41.584 58.6117 41.6103 58.6585 41.6571C58.7053 41.7039 58.7316 41.7674 58.7316 41.8336Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M58.9746 41.5599C58.9446 41.5932 58.7583 41.4367 58.4887 41.4201C58.2192 41.4035 58.0162 41.5366 57.9862 41.5C57.9563 41.4634 58.0062 41.4234 58.0961 41.3635C58.2154 41.2859 58.3566 41.2485 58.4987 41.257C58.6408 41.2665 58.7761 41.3214 58.8848 41.4135C58.9646 41.4833 58.9912 41.5466 58.9746 41.5599Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M55.8295 41.834C55.8328 41.8844 55.8209 41.9347 55.7954 41.9783C55.7698 42.022 55.7318 42.057 55.6862 42.0788C55.6406 42.1006 55.5894 42.1082 55.5394 42.1007C55.4894 42.0931 55.4429 42.0708 55.4057 42.0365C55.3685 42.0022 55.3425 41.9576 55.3309 41.9084C55.3194 41.8591 55.3228 41.8076 55.3409 41.7603C55.3589 41.7131 55.3907 41.6724 55.4321 41.6434C55.4735 41.6144 55.5227 41.5985 55.5733 41.5977C55.6381 41.5967 55.7009 41.6207 55.7486 41.6646C55.7963 41.7086 55.8252 41.7692 55.8295 41.834Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M55.9861 41.5599C55.9528 41.5932 55.7664 41.4367 55.4969 41.4201C55.2273 41.4035 55.0243 41.5366 54.9977 41.5C54.9711 41.4634 55.0177 41.4234 55.1042 41.3635C55.2236 41.2859 55.3647 41.2485 55.5069 41.257C55.649 41.2665 55.7843 41.3214 55.8929 41.4135C55.9728 41.4833 55.9994 41.5466 55.9861 41.5599Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M56.9573 43.8224C57.1013 43.7882 57.2486 43.7704 57.3966 43.7692C57.4632 43.7692 57.533 43.7692 57.5497 43.706C57.5623 43.6318 57.5494 43.5555 57.5131 43.4897L57.33 42.9339C57.2003 42.5379 57.0904 42.1785 57.0139 41.9156C56.9646 41.7767 56.9311 41.6327 56.9141 41.4863C56.9851 41.6152 57.042 41.7513 57.0838 41.8923C57.177 42.1486 57.3001 42.5046 57.4166 42.8907C57.4765 43.0837 57.533 43.2667 57.5929 43.4497C57.6328 43.5374 57.6411 43.6362 57.6162 43.7293C57.5928 43.7676 57.5583 43.7979 57.5174 43.8163C57.4764 43.8348 57.4308 43.8404 57.3866 43.8324C57.2436 43.8443 57.0997 43.841 56.9573 43.8224Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M56.0657 44.0957C55.7929 43.9127 56.8211 44.545 57.3702 44.545C57.2714 44.6819 57.1292 44.7814 56.9667 44.8273C56.8042 44.8732 56.6309 44.8629 56.4751 44.7979C55.906 44.555 56.0657 44.0957 56.0657 44.0957Z",fill:"white"}),(0,e.createElement)("path",{d:"M57.0308 47.1832C56.1007 47.1432 55.2013 46.8384 54.4385 46.3047C54.4385 46.3047 55.0242 47.7423 56.9876 47.6624L57.0308 47.1832Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M58.3027 37.1042C56.3593 35.0876 55.0281 35.5069 54.2661 35.5069C53.4285 35.6013 52.6195 35.8679 51.8899 36.29C51.1603 36.7121 50.5259 37.2805 50.0265 37.9595C49.484 38.5252 48.6954 40.3588 48.6221 41.0044C48.5806 41.6571 48.5806 42.3118 48.6221 42.9644C48.6221 43.63 48.4691 44.3222 47.9799 44.7548C47.6704 45.031 47.2345 45.1907 47.0481 45.5601C46.9621 45.7865 46.958 46.0358 47.0364 46.2649C47.1148 46.494 47.2708 46.6884 47.4774 46.8147C47.9023 47.0527 48.3908 47.1527 48.8751 47.1009C48.8396 47.5858 48.9822 48.0671 49.2763 48.4543C49.5704 48.8415 49.9957 49.1081 50.4724 49.204C50.9708 49.2695 51.475 49.1369 51.8767 48.8347C52.2053 49.1551 52.5532 49.4551 52.9183 49.7332C52.9982 46.8824 52.9383 44.0327 52.7386 41.1841C54.0464 40.9545 56.3992 40.249 56.7952 38.1558C57.3177 39.3471 58.1097 39.9961 59.1612 40.9012C59.1779 40.8979 60.2328 39.1209 58.3027 37.1042Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M52.9111 40.4261C53.1773 40.3915 53.4469 40.3915 53.7131 40.4261C54.3407 40.4949 54.9758 40.4198 55.57 40.2065C55.8848 40.0777 56.1545 39.8589 56.3454 39.5775C56.4976 39.3438 56.6027 39.0827 56.6549 38.8088C56.7481 38.3329 56.7015 38.0234 56.7314 38.0234C56.8167 38.2833 56.8327 38.5608 56.778 38.8288C56.7382 39.1262 56.6361 39.412 56.4785 39.6674C56.2767 39.9803 55.9841 40.2242 55.6399 40.3662C55.021 40.5937 54.3534 40.6556 53.7031 40.5459C53.4358 40.5328 53.1704 40.4927 52.9111 40.4261Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M47.7998 45.2206C47.9121 45.2175 48.0237 45.2019 48.1326 45.174C48.2674 45.1211 48.3869 45.0352 48.4799 44.9242C48.5729 44.8131 48.6366 44.6805 48.665 44.5384C48.7173 44.1012 48.6337 43.6585 48.4254 43.2705C48.3129 43.0244 48.2205 42.7696 48.1492 42.5085C48.08 42.2199 48.0609 41.9216 48.0927 41.6266C48.1608 41.062 48.3615 40.5215 48.6783 40.0493C48.9329 39.6706 49.2287 39.3212 49.5602 39.0077C49.8397 38.7381 50.0827 38.5384 50.2491 38.4053C50.3306 38.3276 50.4224 38.2616 50.5219 38.209C50.5419 38.229 50.1892 38.5418 49.6467 39.0942C49.3341 39.4125 49.0543 39.7615 48.8114 40.1358C48.518 40.5918 48.3314 41.1083 48.2657 41.6466C48.2357 41.9213 48.2514 42.199 48.3123 42.4685C48.3813 42.7221 48.4692 42.9702 48.5752 43.2106C48.7885 43.6292 48.8619 44.105 48.7848 44.5684C48.7468 44.7249 48.6684 44.8687 48.5574 44.9855C48.4465 45.1022 48.3069 45.1879 48.1525 45.2339C48.068 45.2512 47.9808 45.2512 47.8963 45.2339C47.8635 45.2371 47.8305 45.2326 47.7998 45.2206Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M62.0229 42.4221C62.0229 42.4221 62.0861 42.492 62.0827 42.655C62.0767 42.7704 62.0433 42.8828 61.9855 42.9828C61.9276 43.0829 61.8469 43.1679 61.75 43.2307C61.6002 43.3153 61.4311 43.3597 61.2591 43.3597C61.0871 43.3597 60.918 43.3153 60.7683 43.2307C60.4126 43.0306 60.1242 42.7295 59.9397 42.3655C59.5768 41.7443 59.3436 41.056 59.2541 40.3422C59.2044 40.0493 59.2044 39.75 59.2541 39.457C59.2841 39.457 59.2907 39.7898 59.3872 40.3256C59.511 41.0132 59.753 41.6741 60.1027 42.279C60.2724 42.6139 60.5331 42.8942 60.8548 43.0876C60.9824 43.162 61.1265 43.2033 61.2741 43.208C61.4216 43.2126 61.568 43.1804 61.7001 43.1143C61.7867 43.0638 61.8613 42.9951 61.9188 42.9129C61.9762 42.8308 62.0151 42.7371 62.0328 42.6384C62.0395 42.5086 62.0095 42.4254 62.0229 42.4221Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M58.9941 73.2109C58.9941 73.2109 65.6497 94.8648 65.2437 101.86C64.8377 108.855 59.9392 126.216 59.9392 126.216L58.9941 73.2109Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M49.5831 69.5226C49.4367 69.4827 46.5082 73.7821 46.4117 77.4793C46.4053 77.8414 46.4187 78.2036 46.4516 78.5642C46.5794 79.8582 46.8897 81.1276 47.3734 82.3346C49.8493 88.5808 52.3984 95.9785 52.4417 97.6757C52.5581 102.877 53.5764 126.787 53.5764 126.787L60.7645 126.278L60.5282 97.6856L58.7778 69.293L49.5831 69.5226Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M53.5 69.4004C53.5433 69.4004 53.5599 70.1991 53.5599 71.65C53.5599 73.1009 53.4933 75.2007 53.5898 77.7897C53.6165 78.4387 53.6398 79.1209 53.6963 79.823C53.7529 80.5252 53.8062 81.264 53.8827 82.0194C54.0424 83.5368 54.2587 85.1508 54.5283 86.8447C54.7978 88.5385 55.104 90.3122 55.3636 92.1691C55.6231 94.026 55.8261 95.9395 55.9359 97.9195C56.0458 99.8996 56.0258 101.83 56.0624 103.697C56.099 105.563 56.1356 107.357 56.1855 109.078C56.2854 112.505 56.4052 115.593 56.5183 118.182L56.7446 124.322C56.7679 125.041 56.7845 125.603 56.7978 125.986C56.8111 126.369 56.7978 126.568 56.7978 126.568C56.7812 126.099 56.6647 123.267 56.4651 118.179C56.3586 115.587 56.2321 112.502 56.1323 109.071C56.0824 107.357 56.0391 105.557 56.0092 103.69C55.9792 101.823 56.0092 99.8896 55.8794 97.9162C55.7496 95.9428 55.5732 94.0194 55.297 92.1791C55.0208 90.3388 54.7346 88.5551 54.4651 86.8546C54.1955 85.1541 53.9825 83.5435 53.8261 82.026C53.7496 81.2673 53.6864 80.5352 53.6431 79.8264C53.5998 79.1175 53.5666 78.442 53.5399 77.7931C53.4501 75.1974 53.5399 73.0976 53.5399 71.6466C53.5399 70.9245 53.5399 70.3588 53.5399 69.9828C53.5485 69.7877 53.5351 69.5924 53.5 69.4004Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M60.7621 125.75H53.5342V126.838H60.7621V125.75Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M53.9892 69.6199C53.9692 69.6199 53.9526 69.5467 53.9493 69.4535C53.946 69.3603 53.9493 69.2871 53.9792 69.2871C54.0092 69.2871 54.0158 69.3603 54.0192 69.4535C54.0225 69.5467 54.0059 69.6199 53.9892 69.6199Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.0063 70.2859C53.9897 70.2859 53.9697 70.2127 53.9697 70.1195C53.9697 70.0263 53.9697 69.9531 53.9997 69.9531C54.0296 69.9531 54.0363 70.0263 54.0363 70.1195C54.0363 70.2127 54.0263 70.2859 54.0063 70.2859Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.0263 70.9519C54.0097 70.9519 53.9897 70.8787 53.9864 70.7855C53.9831 70.6924 53.9864 70.6191 54.0163 70.6191C54.0463 70.6191 54.0529 70.6924 54.0563 70.7855C54.0596 70.8787 54.0463 70.9519 54.0263 70.9519Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.0459 71.616C54.0259 71.616 54.0093 71.5428 54.0059 71.4496C54.0026 71.3564 54.0059 71.2832 54.0359 71.2832C54.0658 71.2832 54.0725 71.3564 54.0758 71.4496C54.0791 71.5428 54.0658 71.616 54.0459 71.616Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.0664 72.282C54.0464 72.282 54.0298 72.2088 54.0264 72.1156C54.0231 72.0224 54.0264 71.9492 54.0564 71.9492C54.0863 71.9492 54.093 72.0224 54.0963 72.1156C54.0996 72.2088 54.0863 72.282 54.0664 72.282Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.0859 72.948C54.0659 72.948 54.0493 72.8748 54.046 72.7816C54.0426 72.6884 54.046 72.6152 54.0759 72.6152C54.1059 72.6152 54.1125 72.6885 54.1158 72.7783C54.1192 72.8682 54.1059 72.948 54.0859 72.948Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.1064 73.614C54.0864 73.614 54.0698 73.5408 54.0665 73.4476C54.0631 73.3545 54.0665 73.2812 54.0964 73.2812C54.1264 73.2812 54.133 73.3545 54.1364 73.4443C54.1397 73.5342 54.123 73.6107 54.1064 73.614Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.1259 74.2781C54.1059 74.2781 54.0859 74.2016 54.0859 74.1117C54.0859 74.0219 54.0859 73.9453 54.1159 73.9453C54.1458 73.9453 54.1525 74.0185 54.1558 74.1084C54.1591 74.1982 54.1425 74.2748 54.1259 74.2781Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.1431 74.9423C54.1264 74.9423 54.1064 74.869 54.1064 74.7792C54.1064 74.6893 54.1065 74.6128 54.1331 74.6095C54.1597 74.6061 54.173 74.686 54.173 74.7759C54.173 74.8657 54.163 74.9423 54.1431 74.9423Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.163 75.6063C54.1431 75.6063 54.1264 75.5331 54.1231 75.4433C54.1198 75.3534 54.1231 75.2769 54.1531 75.2735C54.183 75.2702 54.1897 75.3468 54.193 75.4399C54.1963 75.5331 54.183 75.6063 54.163 75.6063Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.1826 76.2722C54.1626 76.2722 54.146 76.199 54.1426 76.1092C54.1393 76.0193 54.1426 75.9395 54.1726 75.9395C54.2025 75.9395 54.2092 76.0127 54.2125 76.1058C54.2158 76.199 54.2025 76.2722 54.1826 76.2722Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.186 76.9417C54.1661 76.9417 54.1528 76.8651 54.1494 76.7753C54.1461 76.6854 54.1494 76.6089 54.186 76.6056C54.2226 76.6022 54.2193 76.6821 54.2193 76.7753C54.2193 76.8685 54.206 76.9417 54.186 76.9417Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.1958 77.6062C54.1758 77.6062 54.1592 77.533 54.1592 77.4398C54.1592 77.3466 54.1592 77.2734 54.1891 77.2734C54.2191 77.2734 54.2257 77.3466 54.2257 77.4398C54.2257 77.533 54.2157 77.6062 54.1958 77.6062Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.2095 78.2722C54.2095 78.2722 54.1729 78.199 54.1729 78.1092C54.1729 78.0193 54.1729 77.9395 54.2028 77.9395C54.2328 77.9395 54.2394 78.0127 54.2394 78.1058C54.2394 78.199 54.2427 78.2722 54.2095 78.2722Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.2422 78.9417C54.2222 78.9417 54.2056 78.8685 54.2022 78.7753C54.1989 78.6821 54.2022 78.6089 54.2289 78.6056C54.2555 78.6022 54.2688 78.6821 54.2721 78.772C54.2754 78.8618 54.2422 78.9384 54.2422 78.9417Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.2588 79.6062C54.2421 79.6062 54.2222 79.533 54.2188 79.4398C54.2155 79.3466 54.2188 79.2734 54.2455 79.2734C54.2721 79.2734 54.2821 79.3466 54.2887 79.4365C54.2954 79.5263 54.2787 79.6029 54.2588 79.6062Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.2957 80.2722C54.2757 80.2722 54.2591 80.199 54.2524 80.1058C54.2457 80.0127 54.2524 79.9395 54.279 79.9395C54.3056 79.9395 54.3156 80.0093 54.3223 80.1025C54.3289 80.1957 54.3156 80.2689 54.2957 80.2722Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.3391 80.9344C54.3191 80.9344 54.2991 80.8646 54.2925 80.7714C54.2858 80.6782 54.2925 80.605 54.3158 80.6017C54.3391 80.5983 54.3557 80.6749 54.3624 80.7681C54.369 80.8612 54.359 80.9344 54.3391 80.9344Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.3889 81.6005C54.369 81.6005 54.349 81.5273 54.3423 81.4374C54.3357 81.3476 54.3423 81.271 54.3623 81.2677C54.3823 81.2644 54.4022 81.3409 54.4122 81.4308C54.4222 81.5206 54.4089 81.5971 54.3889 81.6005Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.4489 82.2631C54.4289 82.2631 54.4056 82.1932 54.399 82.1C54.3923 82.0068 54.399 81.9336 54.4189 81.9336C54.4389 81.9336 54.4589 82.0035 54.4655 82.0967C54.4722 82.1898 54.4655 82.2631 54.4489 82.2631Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.5124 82.9252C54.4924 82.9252 54.4724 82.8553 54.4624 82.7654C54.4525 82.6756 54.4624 82.5957 54.4624 82.5957C54.4624 82.5957 54.5057 82.6656 54.5124 82.7588C54.519 82.8519 54.5323 82.9252 54.5124 82.9252Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.5758 83.5873C54.5558 83.5873 54.5325 83.5174 54.5225 83.4275C54.5126 83.3377 54.5225 83.2578 54.5392 83.2578C54.5558 83.2578 54.5824 83.3277 54.5924 83.4175C54.6024 83.5074 54.6057 83.5873 54.5758 83.5873Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.665 84.2489C54.6451 84.2489 54.6218 84.179 54.6085 84.0858C54.5951 83.9927 54.6085 83.9195 54.6085 83.9161C54.6085 83.9128 54.6517 83.986 54.6617 84.0792C54.6717 84.1724 54.685 84.2456 54.665 84.2489Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.7519 84.9076C54.732 84.9076 54.7087 84.8377 54.6954 84.7478C54.6821 84.658 54.6954 84.5781 54.6954 84.5781C54.6954 84.5781 54.7386 84.6447 54.7519 84.7379C54.7653 84.831 54.7719 84.9042 54.7519 84.9076Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.8451 85.5639C54.8251 85.5639 54.7985 85.4941 54.7852 85.4042C54.7719 85.3144 54.7852 85.2378 54.7852 85.2345C54.7852 85.2312 54.8285 85.3044 54.8418 85.3942C54.8551 85.4841 54.8617 85.5606 54.8451 85.5639Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.9413 86.2187C54.9247 86.2187 54.8981 86.1521 54.8814 86.059C54.8648 85.9658 54.8814 85.8926 54.8814 85.8926C54.8814 85.8926 54.928 85.9591 54.9413 86.049C54.9546 86.1388 54.9613 86.2154 54.9413 86.2187Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.0443 86.8784C55.0277 86.8784 54.9977 86.8085 54.9844 86.7187C54.9711 86.6288 54.9844 86.5523 54.9844 86.5489C54.9844 86.5456 55.0277 86.6188 55.0443 86.7087C55.061 86.7985 55.0643 86.8751 55.0443 86.8784Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.1508 87.521C55.1341 87.521 55.1042 87.4544 55.0909 87.3612C55.0776 87.268 55.0909 87.1948 55.0909 87.1915C55.0909 87.1882 55.1375 87.2614 55.1541 87.3512C55.1707 87.4411 55.1708 87.521 55.1508 87.521Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.2611 88.185C55.2445 88.185 55.2145 88.1151 55.2012 88.0253C55.1879 87.9354 55.2012 87.8589 55.2012 87.8556C55.2012 87.8523 55.2478 87.9255 55.2611 88.0153C55.2744 88.1052 55.2811 88.185 55.2611 88.185Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.3743 88.851C55.3544 88.851 55.3277 88.7812 55.3111 88.6913C55.2945 88.6015 55.3111 88.5249 55.3111 88.5216C55.3111 88.5183 55.3577 88.5881 55.3743 88.6813C55.391 88.7745 55.391 88.851 55.3743 88.851Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.4838 89.4962C55.4638 89.4962 55.4372 89.4296 55.4239 89.3398C55.4106 89.2499 55.4239 89.1734 55.4239 89.17C55.4239 89.1667 55.4705 89.2366 55.4871 89.3264C55.5038 89.4163 55.5038 89.4928 55.4838 89.4962Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.5932 90.1518C55.5765 90.1518 55.5466 90.0819 55.5333 89.9921C55.5199 89.9022 55.5333 89.8257 55.5333 89.8224C55.5333 89.819 55.5798 89.8923 55.5932 89.9821C55.6065 90.072 55.6131 90.1485 55.5932 90.1518Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.7034 90.8047C55.6835 90.8047 55.6568 90.7382 55.6402 90.6483C55.6236 90.5585 55.6402 90.482 55.6402 90.4786C55.6402 90.4753 55.6868 90.5452 55.7001 90.6384C55.7134 90.7315 55.7201 90.8014 55.7034 90.8047Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.8061 91.461C55.7861 91.461 55.7595 91.3945 55.7462 91.3046C55.7328 91.2147 55.7462 91.1382 55.7462 91.1349C55.7462 91.1316 55.7894 91.2014 55.8061 91.2913C55.8227 91.3811 55.826 91.4577 55.8061 91.461Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.9062 92.1153C55.8896 92.1153 55.863 92.0487 55.8497 91.9589C55.8364 91.869 55.8497 91.7925 55.8497 91.7892C55.8497 91.7858 55.8963 91.8557 55.9096 91.9456C55.9229 92.0354 55.9262 92.112 55.9062 92.1153Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.0023 92.7749C55.9824 92.7749 55.9558 92.705 55.9424 92.6151C55.9291 92.5253 55.9424 92.4487 55.9424 92.4454C55.9424 92.4421 55.9857 92.5153 55.999 92.6052C56.0123 92.695 56.019 92.7716 56.0023 92.7749Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.0889 93.4311C56.0723 93.4311 56.0457 93.3646 56.0357 93.2714C56.0257 93.1782 56.0357 93.105 56.0357 93.1017C56.0357 93.0983 56.0823 93.1716 56.0923 93.2614C56.1022 93.3513 56.1089 93.4311 56.0889 93.4311Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.1719 94.0893C56.152 94.0893 56.1287 94.0194 56.1187 93.9296C56.1087 93.8397 56.1187 93.7632 56.1187 93.7599C56.1187 93.7565 56.1619 93.8298 56.1719 93.9229C56.1819 94.0161 56.1919 94.0893 56.1719 94.0893Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.2389 94.7509C56.2189 94.7509 56.1956 94.681 56.1856 94.5878C56.1756 94.4946 56.1856 94.4214 56.2023 94.4181C56.2189 94.4148 56.2422 94.488 56.2522 94.5811C56.2622 94.6743 56.2655 94.7475 56.2389 94.7509Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.3161 95.4116C56.2962 95.4116 56.2729 95.3417 56.2662 95.2519C56.2596 95.162 56.2662 95.0855 56.2829 95.0821C56.2995 95.0788 56.3261 95.152 56.3328 95.2452C56.3394 95.3384 56.3361 95.4116 56.3161 95.4116Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.3751 96.0716C56.3552 96.0716 56.3352 96.0018 56.3252 95.9086C56.3152 95.8154 56.3252 95.7422 56.3452 95.7422C56.3651 95.7422 56.3884 95.8121 56.3951 95.9053C56.4017 95.9984 56.3951 96.0716 56.3751 96.0716Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.429 96.739C56.409 96.739 56.389 96.6658 56.3824 96.5726C56.3757 96.4795 56.3824 96.4062 56.4023 96.4062C56.4223 96.4062 56.4423 96.4761 56.4489 96.5693C56.4556 96.6625 56.4456 96.7357 56.429 96.739Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.4721 97.4012C56.4521 97.4012 56.4322 97.328 56.4288 97.2382C56.4255 97.1483 56.4288 97.0718 56.4521 97.0685C56.4754 97.0651 56.492 97.1417 56.4954 97.2315C56.4987 97.3214 56.4921 97.4012 56.4721 97.4012Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.5086 98.0634C56.4919 98.0634 56.4719 97.9901 56.4653 97.9003C56.4586 97.8104 56.4653 97.7339 56.4919 97.7306C56.5185 97.7272 56.5319 97.8038 56.5352 97.8936C56.5385 97.9835 56.5285 98.06 56.5086 98.0634Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.539 98.7255C56.539 98.7255 56.5024 98.6522 56.4991 98.5624C56.4958 98.4725 56.4991 98.396 56.5257 98.3927C56.5524 98.3894 56.5657 98.4659 56.569 98.5591C56.5723 98.6523 56.5723 98.7255 56.539 98.7255Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.5722 99.3894C56.5556 99.3894 56.5356 99.3162 56.5323 99.223C56.529 99.1299 56.5323 99.0566 56.5622 99.0566C56.5922 99.0566 56.5988 99.1298 56.6022 99.2197C56.6055 99.3095 56.5722 99.3861 56.5722 99.3894Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.5718 100.054C56.5718 100.054 56.5352 99.9804 56.5352 99.8905C56.5352 99.8007 56.5352 99.7241 56.5651 99.7208C56.5951 99.7175 56.6017 99.7973 56.605 99.8872C56.6084 99.977 56.5984 100.054 56.5718 100.054Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.5884 100.718C56.5718 100.718 56.5551 100.644 56.5518 100.551C56.5485 100.458 56.5518 100.385 56.5851 100.385C56.6184 100.385 56.6217 100.461 56.6217 100.551C56.6217 100.641 56.6084 100.718 56.5884 100.718Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.5952 101.387C56.5752 101.387 56.5586 101.311 56.5586 101.221C56.5586 101.131 56.5586 101.055 56.5919 101.055C56.6252 101.055 56.6285 101.128 56.6285 101.221C56.6285 101.314 56.6152 101.387 56.5952 101.387Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.602 102.053C56.5821 102.053 56.5654 101.977 56.5654 101.887C56.5654 101.797 56.5654 101.721 56.5987 101.721C56.632 101.721 56.632 101.794 56.632 101.884C56.632 101.974 56.6187 102.053 56.602 102.053Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6089 102.718C56.5889 102.718 56.5723 102.641 56.5723 102.551C56.5723 102.461 56.5723 102.385 56.6055 102.385C56.6388 102.385 56.6388 102.458 56.6421 102.548C56.6455 102.638 56.6255 102.714 56.6089 102.718Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6148 103.384C56.5981 103.384 56.5815 103.307 56.5782 103.217C56.5748 103.127 56.5782 103.051 56.6114 103.051C56.6447 103.051 56.6481 103.124 56.6481 103.214C56.6481 103.304 56.6347 103.38 56.6148 103.384Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6288 104.05C56.6089 104.05 56.5922 103.973 56.5889 103.883C56.5856 103.793 56.5889 103.717 56.6222 103.717C56.6555 103.717 56.6588 103.79 56.6588 103.88C56.6588 103.97 56.6455 104.046 56.6288 104.05Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6382 104.712C56.6182 104.712 56.6016 104.639 56.6016 104.549C56.6016 104.459 56.6016 104.382 56.6315 104.379C56.6615 104.376 56.6681 104.456 56.6714 104.545C56.6748 104.635 56.6581 104.712 56.6382 104.712Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6518 105.378C56.6319 105.378 56.6152 105.305 56.6152 105.215C56.6152 105.125 56.6152 105.048 56.6452 105.045C56.6751 105.042 56.6818 105.122 56.6818 105.211C56.6818 105.301 56.6718 105.378 56.6518 105.378Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6656 106.044C56.6656 106.044 56.6323 105.971 56.629 105.881C56.6256 105.791 56.629 105.714 56.6589 105.711C56.6889 105.708 56.6955 105.788 56.6989 105.877C56.7022 105.967 56.6855 106.044 56.6656 106.044Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6821 106.708C56.6621 106.708 56.6455 106.635 56.6455 106.545C56.6455 106.455 56.6455 106.375 56.6755 106.375C56.7054 106.375 56.7121 106.448 56.7121 106.541C56.7121 106.635 56.7021 106.708 56.6821 106.708Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6982 107.374C56.6782 107.374 56.6616 107.301 56.6582 107.211C56.6549 107.121 56.6582 107.041 56.6915 107.041C56.7248 107.041 56.7281 107.114 56.7281 107.207C56.7281 107.301 56.7181 107.374 56.6982 107.374Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.7187 108.04C56.6987 108.04 56.6821 107.967 56.6788 107.873C56.6754 107.78 56.6788 107.707 56.7087 107.707C56.7387 107.707 56.7453 107.78 56.7487 107.873C56.752 107.967 56.7353 108.04 56.7187 108.04Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.7353 108.704C56.7153 108.704 56.6987 108.631 56.6954 108.537C56.692 108.444 56.6954 108.371 56.7253 108.371C56.7553 108.371 56.7619 108.444 56.7653 108.537C56.7686 108.631 56.7553 108.704 56.7353 108.704Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.7548 109.37C56.7349 109.37 56.7182 109.297 56.7149 109.203C56.7116 109.11 56.7149 109.037 56.7449 109.037C56.7748 109.037 56.7815 109.11 56.7848 109.203C56.7881 109.297 56.7748 109.37 56.7548 109.37Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.7744 110.036C56.7577 110.036 56.7378 109.963 56.7344 109.87C56.7311 109.776 56.7344 109.703 56.7644 109.703C56.7943 109.703 56.801 109.776 56.8043 109.87C56.8077 109.963 56.7943 110.036 56.7744 110.036Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.7978 110.702C56.7778 110.702 56.7612 110.629 56.7579 110.536C56.7545 110.442 56.7579 110.369 56.7878 110.369C56.8178 110.369 56.8244 110.442 56.8278 110.536C56.8311 110.629 56.8178 110.702 56.7978 110.702Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.8216 111.368C56.8017 111.368 56.7817 111.295 56.7784 111.202C56.7751 111.108 56.7784 111.035 56.8083 111.035C56.8383 111.035 56.8449 111.108 56.8483 111.198C56.8516 111.288 56.8383 111.368 56.8216 111.368Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.8418 112.032C56.8251 112.032 56.8051 111.959 56.8018 111.866C56.7985 111.772 56.8018 111.699 56.8318 111.699C56.8617 111.699 56.8684 111.772 56.8717 111.862C56.875 111.952 56.8617 112.029 56.8418 112.032Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.8685 112.695C56.8486 112.695 56.8286 112.621 56.8253 112.532C56.8219 112.442 56.8253 112.365 56.8552 112.365C56.8852 112.365 56.8918 112.438 56.8951 112.528C56.8985 112.618 56.8852 112.695 56.8685 112.695Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.9053 113.36C56.8853 113.36 56.8687 113.287 56.8653 113.197C56.862 113.107 56.8653 113.031 56.8919 113.027C56.9186 113.024 56.9285 113.101 56.9319 113.194C56.9352 113.287 56.9053 113.36 56.9053 113.36Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.9053 114.026C56.8853 114.026 56.8687 113.953 56.8653 113.863C56.862 113.773 56.8653 113.693 56.8919 113.693C56.9186 113.693 56.9319 113.767 56.9352 113.86C56.9385 113.953 56.9352 114.026 56.9053 114.026Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.9408 114.692C56.9208 114.692 56.9009 114.619 56.8975 114.526C56.8942 114.433 56.8975 114.359 56.9275 114.359C56.9574 114.359 56.9641 114.433 56.9674 114.526C56.9707 114.619 56.9574 114.692 56.9408 114.692Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.9648 115.356C56.9482 115.356 56.9282 115.283 56.9249 115.19C56.9215 115.097 56.9249 115.023 56.9548 115.023C56.9848 115.023 56.9914 115.097 56.9947 115.19C56.9981 115.283 56.9848 115.356 56.9648 115.356Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.9912 116.022C56.9712 116.022 56.9546 115.949 56.9513 115.856C56.9479 115.763 56.9513 115.689 56.9779 115.689C57.0045 115.689 57.0178 115.763 57.0211 115.853C57.0245 115.942 57.0112 116.022 56.9912 116.022Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.0176 116.688C56.9976 116.688 56.981 116.615 56.9776 116.522C56.9743 116.429 56.9776 116.355 57.0042 116.355C57.0309 116.355 57.0409 116.429 57.0442 116.519C57.0475 116.608 57.0375 116.685 57.0176 116.688Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.0449 117.351C57.0249 117.351 57.0083 117.281 57.005 117.188C57.0016 117.095 57.005 117.021 57.0316 117.021C57.0582 117.021 57.0682 117.091 57.0715 117.185C57.0749 117.278 57.0649 117.351 57.0449 117.351Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.071 118.016C57.051 118.016 57.0344 117.943 57.0277 117.853C57.0211 117.764 57.0277 117.687 57.0577 117.684C57.0876 117.68 57.0943 117.757 57.0976 117.85C57.101 117.943 57.091 118.016 57.071 118.016Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.098 118.68C57.078 118.68 57.0581 118.607 57.0548 118.517C57.0514 118.428 57.0547 118.348 57.0847 118.348C57.1146 118.348 57.1213 118.421 57.1246 118.514C57.128 118.607 57.118 118.68 57.098 118.68Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.1244 119.346C57.1044 119.346 57.0844 119.273 57.0811 119.18C57.0778 119.087 57.0811 119.014 57.1111 119.014C57.141 119.014 57.1477 119.087 57.151 119.18C57.1543 119.273 57.141 119.346 57.1244 119.346Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.1507 120.012C57.1308 120.012 57.1108 119.939 57.1075 119.846C57.1042 119.753 57.1075 119.68 57.1374 119.68C57.1674 119.68 57.174 119.753 57.1774 119.843C57.1807 119.933 57.1674 120.012 57.1507 120.012Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.1771 120.678C57.1571 120.678 57.1372 120.605 57.1339 120.512C57.1305 120.419 57.1339 120.346 57.1638 120.346C57.1938 120.346 57.2004 120.419 57.2037 120.509C57.2071 120.599 57.1938 120.675 57.1771 120.678Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.2012 121.344C57.1845 121.344 57.1645 121.271 57.1612 121.178C57.1579 121.085 57.1612 121.012 57.1878 121.012C57.2145 121.012 57.2278 121.085 57.2311 121.175C57.2344 121.265 57.2378 121.341 57.2012 121.344Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.2373 122.007C57.2173 122.007 57.2007 121.934 57.1974 121.844C57.194 121.754 57.1973 121.677 57.224 121.674C57.2506 121.671 57.2639 121.747 57.2672 121.84C57.2706 121.934 57.2373 122.007 57.2373 122.007Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.2543 122.671C57.2343 122.671 57.2143 122.598 57.211 122.508C57.2077 122.418 57.211 122.341 57.2409 122.338C57.2709 122.335 57.2776 122.411 57.2809 122.504C57.2842 122.598 57.2709 122.671 57.2543 122.671Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.2773 123.337C57.2574 123.337 57.2407 123.263 57.2374 123.174C57.2341 123.084 57.2374 123.004 57.264 123.004C57.2906 123.004 57.3039 123.077 57.3073 123.17C57.3106 123.263 57.2973 123.337 57.2773 123.337Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.3041 124.003C57.2841 124.003 57.2641 123.929 57.2608 123.836C57.2575 123.743 57.2608 123.67 57.2908 123.67C57.3207 123.67 57.3274 123.743 57.3307 123.836C57.334 123.929 57.3207 124.003 57.3041 124.003Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.3275 124.669C57.3075 124.669 57.2876 124.596 57.2842 124.502C57.2809 124.409 57.2842 124.336 57.3142 124.336C57.3441 124.336 57.3508 124.409 57.3541 124.502C57.3575 124.596 57.3441 124.669 57.3275 124.669Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.3505 125.338C57.3305 125.338 57.3105 125.262 57.3105 125.172C57.3105 125.082 57.3105 125.002 57.3372 125.002C57.3638 125.002 57.3738 125.075 57.3771 125.168C57.3804 125.262 57.3671 125.335 57.3505 125.338Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.3701 126.003C57.3701 126.003 57.3335 125.929 57.3301 125.836C57.3268 125.743 57.3301 125.67 57.3601 125.67C57.39 125.67 57.3967 125.743 57.4 125.833C57.4033 125.923 57.39 126.003 57.3701 126.003Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.3872 126.486C57.3672 126.486 57.3506 126.452 57.3506 126.412C57.3506 126.373 57.3506 126.336 57.3839 126.336C57.4171 126.336 57.4171 126.369 57.4205 126.409C57.4238 126.449 57.4072 126.486 57.3872 126.486Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M59.2873 76.8974C59.2408 76.9231 59.1891 76.9379 59.1361 76.9408C59.0831 76.9437 59.0301 76.9345 58.9811 76.9141C58.8625 76.8723 58.7601 76.7943 58.6883 76.6911C58.6012 76.551 58.5477 76.3927 58.5319 76.2286C58.4753 75.5164 58.4254 74.5347 58.3655 73.4465C58.3056 72.3583 58.2623 71.4232 58.2224 70.6645L58.1891 69.8192C58.1891 69.7394 58.1891 69.6628 58.1891 69.5896C58.1857 69.5631 58.1857 69.5363 58.1891 69.5098C58.1934 69.5362 58.1934 69.5632 58.1891 69.5896C58.1891 69.6628 58.1891 69.7361 58.2091 69.8192C58.2257 70.0588 58.2457 70.3384 58.2657 70.6612C58.3089 71.4199 58.3655 72.3816 58.4287 73.4432C58.4919 74.5048 58.5352 75.4632 58.5751 76.2219C58.585 76.3797 58.633 76.5327 58.7149 76.6678C58.7795 76.7675 58.8738 76.8444 58.9845 76.8875C59.0815 76.9244 59.1881 76.928 59.2873 76.8974Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M47.317 82.0104C47.4075 81.9959 47.4958 81.9702 47.5799 81.9338C47.802 81.8166 47.9753 81.6244 48.0691 81.3914C48.1869 81.0381 48.2267 80.6634 48.1855 80.2932C48.1685 79.8338 48.1229 79.3759 48.0491 78.9222C47.9191 78.1145 47.705 77.3226 47.4102 76.5595L47.4368 76.5761L46.6548 76.7059L46.4384 76.7358H46.3652C46.3883 76.725 46.4131 76.7182 46.4384 76.7159L46.6481 76.6693L47.4301 76.5195H47.4501V76.5395C47.7608 77.3016 47.9841 78.0965 48.1156 78.9089C48.1885 79.3649 48.2329 79.825 48.2488 80.2866C48.2859 80.6661 48.2381 81.0492 48.109 81.4081C48.0093 81.6489 47.8229 81.8437 47.5865 81.9538C47.5029 81.995 47.4102 82.0144 47.317 82.0104Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M47.6865 77.5566C47.4831 77.6399 47.271 77.7002 47.0542 77.7363C46.8367 77.7957 46.6137 77.8325 46.3887 77.8462C46.5933 77.7632 46.8065 77.703 47.0243 77.6665C47.2412 77.6095 47.4629 77.5727 47.6865 77.5566Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M83.7299 44.7742L80.0028 41.7227C69.873 50.8608 56.8115 49.8225 56.8115 49.8225V49.8458C56.2258 49.7493 53.1509 49.2568 52.1326 49.2368C51.3373 49.2368 49.497 49.0771 48.1958 50.305C48.1621 50.3344 48.1298 50.3655 48.0993 50.3982C46.9213 51.5496 35.121 63.1702 36.3789 66.0388C37.71 69.0704 48.9047 75.6528 48.9047 75.6528L51.6201 70.721C51.6201 70.721 50.7749 70.1686 49.6235 69.3899L58.7749 69.1536L59.1775 62.3017C59.1775 62.3017 60.7416 60.5546 60.7416 59.3067C60.7416 58.4348 60.2591 56.9772 59.6401 55.4997C74.0694 54.3017 83.7299 44.7742 83.7299 44.7742ZM43.1709 64.4082C43.2774 64.0488 45.6235 61.4831 47.7399 59.2202C48.4721 63.696 49.4671 68.8541 49.5636 69.3633C47.0178 67.6361 43.0344 64.8541 43.1709 64.4049V64.4082Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M60.1988 60.8171C60.0879 60.8227 59.9769 60.8227 59.866 60.8171C59.5416 60.8223 59.218 60.7831 58.9043 60.7006C58.6518 60.6395 58.4157 60.5239 58.2128 60.3617C58.0098 60.1996 57.8449 59.9949 57.7296 59.7622C57.6573 59.6145 57.6197 59.4523 57.6197 59.288C57.6197 59.1236 57.6573 58.9614 57.7296 58.8137C57.8058 58.644 57.9297 58.5002 58.0863 58.3997C58.2429 58.2993 58.4254 58.2465 58.6114 58.248C58.8146 58.2764 59.0041 58.3667 59.1542 58.5066C59.3043 58.6466 59.4075 58.8293 59.45 59.0301C59.4898 59.2466 59.4805 59.4693 59.4229 59.6818C59.3653 59.8943 59.2609 60.0912 59.1172 60.258C58.8125 60.6283 58.4208 60.9175 57.9773 61.0998C57.5337 61.2821 57.0519 61.3519 56.5748 61.3029C56.0567 61.2673 55.5567 61.0976 55.1239 60.8104C54.6624 60.5152 54.3223 60.0641 54.1655 59.5392C54.0892 59.2643 54.1055 58.9719 54.2121 58.7073C54.3346 58.4399 54.5567 58.2309 54.8311 58.1249C54.9684 58.0645 55.1196 58.0424 55.2684 58.0612C55.4173 58.0799 55.5583 58.1388 55.6763 58.2314C55.7896 58.332 55.8763 58.4591 55.9285 58.6014C55.9808 58.7437 55.997 58.8966 55.9758 59.0467C55.9463 59.3399 55.847 59.6217 55.6863 59.8687C55.5223 60.1046 55.3225 60.3134 55.094 60.4876C54.6468 60.8263 54.1193 61.0431 53.5632 61.1166C53.04 61.2041 52.5031 61.1538 52.0053 60.9706C51.5075 60.7873 51.0661 60.4775 50.7246 60.0717C50.5681 59.872 50.461 59.6383 50.4118 59.3895C50.3656 59.1431 50.397 58.8884 50.5016 58.6607C50.552 58.5496 50.6247 58.4501 50.7152 58.3682C50.8056 58.2864 50.9119 58.2239 51.0274 58.1848C51.2565 58.119 51.5019 58.1403 51.7162 58.2447C51.9185 58.3357 52.0918 58.4808 52.2168 58.664C52.3419 58.8472 52.414 59.0614 52.4251 59.283C52.4208 59.6903 52.2572 60.0797 51.9692 60.3678C51.7287 60.6135 51.438 60.8044 51.1169 60.9273C50.7958 61.0502 50.452 61.1023 50.1089 61.08C49.5924 61.0567 49.0915 60.8959 48.658 60.6141C48.3841 60.4397 48.1467 60.2136 47.9592 59.9485C47.8933 59.8572 47.8354 59.7603 47.7861 59.659C47.7861 59.659 47.8427 59.7588 47.9758 59.9352C48.1679 60.1932 48.4073 60.4123 48.6813 60.5808C49.1109 60.852 49.6046 61.0047 50.1123 61.0234C50.4444 61.0433 50.7769 60.9918 51.0874 60.8724C51.398 60.753 51.6793 60.5685 51.9126 60.3312C52.1851 60.0554 52.3391 59.684 52.3419 59.2963C52.3299 59.0907 52.2615 58.8925 52.144 58.7234C52.0266 58.5543 51.8647 58.4209 51.6763 58.3379C51.4821 58.2416 51.259 58.2214 51.0507 58.2813C50.9469 58.3173 50.8517 58.3743 50.771 58.4487C50.6903 58.5231 50.6257 58.6134 50.5815 58.7139C50.4869 58.9222 50.4579 59.1543 50.4983 59.3795C50.5475 59.6127 50.65 59.8314 50.7978 60.0184C51.13 60.409 51.5581 60.7064 52.04 60.8814C52.5219 61.0565 53.0411 61.1031 53.5465 61.0167C54.0849 60.9469 54.5956 60.7369 55.0274 60.4078C55.2462 60.2416 55.4372 60.0417 55.5931 59.8154C55.7459 59.5828 55.8406 59.3169 55.8693 59.04C55.8888 58.9068 55.875 58.7708 55.8291 58.6442C55.7833 58.5176 55.7067 58.4044 55.6064 58.3146C55.5029 58.233 55.3789 58.1814 55.248 58.1656C55.1171 58.1497 54.9844 58.1702 54.8643 58.2247C54.6164 58.3214 54.4151 58.5097 54.3019 58.7505C54.2056 58.9957 54.1916 59.2654 54.262 59.5192C54.4115 60.0199 54.7364 60.4499 55.1771 60.7306C55.5964 61.0086 56.0799 61.1747 56.5815 61.2131C57.0428 61.2616 57.5091 61.196 57.9391 61.0219C58.3691 60.8478 58.7497 60.5706 59.0474 60.2147C59.1825 60.0578 59.281 59.8728 59.3357 59.673C59.3904 59.4733 59.3999 59.2639 59.3635 59.06C59.3272 58.8736 59.2336 58.7032 59.0958 58.5725C58.958 58.4419 58.7828 58.3575 58.5948 58.3312C58.4224 58.3299 58.2534 58.3785 58.1081 58.4712C57.9628 58.564 57.8475 58.6968 57.7761 58.8537C57.708 58.993 57.6725 59.1461 57.6725 59.3013C57.6725 59.4564 57.708 59.6095 57.7761 59.7489C57.8866 59.9754 58.045 60.1752 58.2404 60.3343C58.4357 60.4935 58.6634 60.6083 58.9076 60.6707C59.2178 60.7562 59.5376 60.802 59.8593 60.8071H60.1921L60.1988 60.8171Z",fill:"white"}),(0,e.createElement)("path",{d:"M58.9015 67.1383L58.7351 67.2514C58.6253 67.3213 58.4655 67.4278 58.2525 67.5576C57.9968 67.7221 57.7233 67.8571 57.4372 67.9603C57.0508 68.0843 56.6415 68.1207 56.2392 68.0667C55.7419 68.0404 55.267 67.8509 54.8882 67.5276C54.6827 67.3325 54.5501 67.073 54.5121 66.7922C54.4936 66.6421 54.5145 66.4898 54.5729 66.3503C54.6312 66.2108 54.725 66.089 54.8449 65.9969C54.9699 65.8983 55.122 65.8403 55.2808 65.8305C55.4474 65.8247 55.6101 65.8817 55.7367 65.9902C55.8597 66.1026 55.9507 66.2456 56.0004 66.4046C56.0501 66.5636 56.0567 66.7329 56.0196 66.8954C55.9345 67.2244 55.7425 67.5159 55.4739 67.724C55.2104 67.9399 54.9137 68.1119 54.5953 68.2331C53.9622 68.47 53.2729 68.5129 52.6153 68.3563C51.9932 68.2344 51.4423 67.8767 51.0778 67.3579C50.9955 67.231 50.9449 67.0861 50.9305 66.9355C50.916 66.7849 50.938 66.633 50.9947 66.4927C51.0566 66.3632 51.15 66.2512 51.2662 66.167C51.3824 66.0827 51.5179 66.0288 51.6602 66.0102C51.7299 66.0015 51.8007 66.007 51.8681 66.0265C51.9356 66.0459 51.9985 66.0789 52.0529 66.1233C52.1557 66.2092 52.228 66.3259 52.2592 66.4561C52.287 66.5753 52.2889 66.699 52.2648 66.819C52.2407 66.939 52.1911 67.0524 52.1194 67.1516C51.8624 67.4745 51.5148 67.7133 51.1211 67.8371C50.8322 67.9362 50.5279 67.9824 50.2226 67.9736C50.03 67.9695 49.8387 67.9404 49.6536 67.887C49.5888 67.8694 49.5254 67.8472 49.4639 67.8205C49.711 67.8899 49.9659 67.9279 50.2226 67.9336C50.5223 67.9361 50.82 67.8843 51.1011 67.7806C51.4749 67.6567 51.8037 67.4252 52.0462 67.115C52.1118 67.025 52.1571 66.9219 52.179 66.8128C52.2008 66.7036 52.1987 66.591 52.1727 66.4827C52.1486 66.3679 52.083 66.266 51.9884 66.1966C51.8939 66.1272 51.777 66.0952 51.6602 66.1067C51.5337 66.1251 51.4137 66.1746 51.3109 66.2507C51.2082 66.3267 51.1258 66.427 51.0712 66.5426C51.0218 66.6696 51.0035 66.8066 51.018 66.9421C51.0325 67.0776 51.0792 67.2076 51.1544 67.3213C51.506 67.8185 52.0369 68.1597 52.6352 68.2731C53.2719 68.4242 53.9392 68.3825 54.5521 68.1533C54.8594 68.0355 55.1459 67.8692 55.4006 67.6608C55.6497 67.4662 55.8275 67.1948 55.9065 66.8887C55.9399 66.7434 55.9344 66.5918 55.8906 66.4492C55.8468 66.3067 55.7662 66.1782 55.6569 66.0767C55.5491 65.9866 55.413 65.9371 55.2725 65.9371C55.132 65.9371 54.9959 65.9866 54.8882 66.0767C54.7792 66.158 54.6938 66.2668 54.6406 66.3919C54.5874 66.517 54.5683 66.654 54.5853 66.7889C54.6172 67.047 54.7343 67.2871 54.9181 67.4711C55.2812 67.7841 55.7373 67.9689 56.2159 67.9969C56.6082 68.0545 57.0084 68.0238 57.3873 67.907C57.672 67.8102 57.9453 67.6831 58.2026 67.5276L58.6952 67.2381C58.8316 67.1682 58.9015 67.1383 58.9015 67.1383Z",fill:"white"}),(0,e.createElement)("path",{d:"M63.8936 49.3867C64.03 49.4512 64.1548 49.5378 64.263 49.643C64.5688 49.9281 64.7634 50.3125 64.8121 50.7278C64.8436 51.0138 64.8083 51.3031 64.7089 51.5731C64.5876 51.8827 64.3881 52.1556 64.1299 52.3651C63.842 52.5969 63.4973 52.7475 63.1315 52.801C62.9398 52.8326 62.7442 52.8326 62.5525 52.801C62.3438 52.776 62.1529 52.671 62.02 52.5082C61.9869 52.4602 61.9646 52.4056 61.9549 52.3481C61.9451 52.2906 61.948 52.2316 61.9635 52.1754C61.9966 52.0713 62.0618 51.9804 62.1498 51.9158C62.3163 51.8028 62.5145 51.7457 62.7155 51.7528C62.9032 51.7536 63.0886 51.793 63.2604 51.8686C63.4321 51.9442 63.5865 52.0543 63.7139 52.192C63.9412 52.4385 64.0764 52.7559 64.0966 53.0905C64.1178 53.379 64.0675 53.6682 63.9502 53.9325C63.7755 54.3103 63.49 54.626 63.1315 54.8376C63.0369 54.8963 62.9379 54.9475 62.8354 54.9907C62.7992 55.0072 62.7612 55.0195 62.7222 55.0273C62.7222 55.0273 62.872 54.9608 63.1082 54.8044C63.4507 54.5877 63.7234 54.2769 63.8936 53.9092C64.0001 53.6561 64.0435 53.3808 64.02 53.1072C63.9997 52.7915 63.8703 52.4927 63.654 52.2619C63.5361 52.137 63.3944 52.0371 63.2372 51.9679C63.08 51.8987 62.9106 51.8618 62.7388 51.8593C62.5602 51.8544 62.3844 51.9056 62.2363 52.0057C62.1666 52.0521 62.1168 52.123 62.0971 52.2045C62.0774 52.2859 62.0891 52.3718 62.1299 52.445C62.2456 52.5859 62.4113 52.6765 62.5924 52.6979C62.7744 52.7262 62.9596 52.7262 63.1415 52.6979C63.4866 52.6452 63.8121 52.5042 64.0866 52.2885C64.283 52.1362 64.4447 51.9437 64.5609 51.724C64.6771 51.5043 64.7452 51.2623 64.7606 51.0142C64.776 50.7662 64.7384 50.5176 64.6503 50.2852C64.5622 50.0528 64.4257 49.8418 64.2497 49.6663C64.1359 49.567 64.017 49.4737 63.8936 49.3867Z",fill:"white"}),(0,e.createElement)("path",{d:"M68.7686 48.2031C68.837 48.2582 68.8927 48.3274 68.9317 48.4061C68.9791 48.5007 68.9976 48.6072 68.9849 48.7123C68.9646 48.847 68.9195 48.9768 68.8518 49.095C68.6904 49.4055 68.4853 49.6913 68.2428 49.9436C67.9397 50.2335 67.6656 50.5523 67.4242 50.8953C67.0182 51.543 66.8272 52.3023 66.8784 53.065C66.9093 53.38 66.9672 53.6917 67.0515 53.9968C67.0078 53.9213 66.9731 53.8408 66.9483 53.7572C66.8766 53.5344 66.8287 53.3046 66.8052 53.0717C66.7303 52.29 66.9176 51.5056 67.3376 50.8421C67.5805 50.4913 67.8606 50.1677 68.1729 49.877C68.413 49.6342 68.619 49.3599 68.7852 49.0617C68.8548 48.9518 68.9033 48.8299 68.9283 48.7023C68.9427 48.6078 68.9312 48.5112 68.8951 48.4228C68.8252 48.2763 68.7586 48.2098 68.7686 48.2031Z",fill:"white"}),(0,e.createElement)("path",{d:"M72.4385 52.1325C72.2836 52.2055 72.1137 52.2408 71.9426 52.2356C71.7062 52.2355 71.4734 52.1776 71.2646 52.0668C71.0557 51.956 70.8772 51.7957 70.7446 51.6C70.5738 51.2971 70.4786 50.9574 70.467 50.6098C70.4554 50.2622 70.5278 49.917 70.6781 49.6033C70.8346 49.2201 71.088 48.8841 71.4135 48.6283C71.5908 48.4883 71.7984 48.3916 72.0196 48.3459C72.2409 48.3003 72.4698 48.307 72.688 48.3654C72.9111 48.4242 73.1069 48.5584 73.2422 48.7453C73.3775 48.9321 73.4439 49.1601 73.4301 49.3904C73.4266 49.5006 73.3998 49.6088 73.3517 49.708C73.3035 49.8072 73.235 49.8951 73.1506 49.9661C72.9898 50.1 72.7875 50.1741 72.5782 50.1757C72.3891 50.1815 72.2007 50.1494 72.0241 50.0814C71.8476 50.0134 71.6863 49.9109 71.5499 49.7797C71.3143 49.5543 71.1421 49.2708 71.0508 48.9577C70.9155 48.5053 70.945 48.0195 71.134 47.5867C71.2019 47.429 71.299 47.2856 71.4202 47.1641C71.3255 47.3031 71.2431 47.4501 71.1739 47.6033C71.0024 48.0275 70.9836 48.498 71.1207 48.9344C71.213 49.2332 71.3816 49.5027 71.6098 49.7165C71.7378 49.8383 71.8888 49.9333 72.0539 49.9962C72.219 50.059 72.395 50.0884 72.5716 50.0825C72.76 50.0793 72.9418 50.0124 73.0874 49.8928C73.1603 49.8299 73.2193 49.7523 73.2606 49.6652C73.3018 49.5781 73.3245 49.4834 73.327 49.387C73.3369 49.1807 73.2764 48.9772 73.1555 48.8097C73.0345 48.6422 72.8604 48.5208 72.6614 48.4652C72.4591 48.4117 72.2472 48.4058 72.0422 48.4479C71.8372 48.4901 71.6448 48.5792 71.4801 48.7082C71.1676 48.9526 70.9234 49.2735 70.7712 49.6399C70.6222 49.9412 70.548 50.2739 70.555 50.6099C70.5619 50.9459 70.6498 51.2753 70.8112 51.5701C70.9357 51.7591 71.1037 51.9154 71.3012 52.026C71.4986 52.1366 71.7197 52.1982 71.946 52.2057C72.1126 52.2028 72.2782 52.1782 72.4385 52.1325Z",fill:"white"}),(0,e.createElement)("path",{d:"M75.0713 45.4062C75.1423 45.425 75.2106 45.4529 75.2743 45.4894C75.4527 45.5812 75.6201 45.6928 75.7735 45.8222C76.0035 46.0136 76.1974 46.2446 76.3458 46.5044C76.5255 46.8236 76.6524 47.1697 76.7219 47.5294C76.8503 48.1855 76.7737 48.8652 76.5022 49.4761C76.4194 49.6585 76.3191 49.8323 76.2027 49.9953C76.1616 50.056 76.1136 50.1119 76.0596 50.1617C76.1976 49.9305 76.322 49.6917 76.4324 49.4462C76.6792 48.8459 76.7451 48.1866 76.622 47.5493C76.5531 47.2004 76.4319 46.8638 76.2626 46.551C76.12 46.3025 75.9392 46.0779 75.7269 45.8855C75.5188 45.7118 75.2999 45.5518 75.0713 45.4062Z",fill:"white"}),(0,e.createElement)("path",{d:"M80.5322 47.4168C80.3977 47.473 80.255 47.5067 80.1096 47.5166C79.9374 47.5303 79.7641 47.5145 79.5971 47.47C79.3752 47.4032 79.176 47.2766 79.0214 47.104C78.8195 46.8811 78.6692 46.6164 78.5812 46.3289C78.4932 46.0413 78.4696 45.7378 78.5122 45.4401C78.5348 45.2616 78.5944 45.0897 78.6872 44.9355C78.78 44.7814 78.9041 44.6483 79.0513 44.5449C79.2098 44.4341 79.3971 44.3716 79.5904 44.3652C79.7928 44.3576 79.9908 44.4251 80.1462 44.5549C80.306 44.6804 80.4109 44.8629 80.439 45.0641C80.4496 45.1616 80.4403 45.2602 80.4117 45.354C80.3831 45.4478 80.3358 45.5348 80.2726 45.6098C80.1526 45.7457 80.0006 45.8494 79.8303 45.9116C79.66 45.9738 79.4769 45.9925 79.2976 45.9659C78.9993 45.9358 78.7119 45.8376 78.4574 45.6789C78.203 45.5203 77.9884 45.3054 77.83 45.0508C77.693 44.8566 77.624 44.6226 77.6337 44.3852C77.6498 44.2132 77.696 44.0454 77.7701 43.8894C77.8267 43.7596 77.8766 43.6631 77.9099 43.5965C77.9253 43.5624 77.9443 43.5301 77.9665 43.5C77.9579 43.5366 77.9456 43.5723 77.9299 43.6065C77.8933 43.693 77.8533 43.7928 77.8101 43.9027C77.7425 44.0553 77.7019 44.2186 77.6903 44.3852C77.6902 44.6053 77.7602 44.8197 77.8899 44.9975C78.0468 45.2373 78.2551 45.4391 78.4998 45.5882C78.7444 45.7373 79.0193 45.8299 79.3043 45.8594C79.4683 45.882 79.6355 45.8634 79.7906 45.8053C79.9457 45.7472 80.0839 45.6514 80.1928 45.5266C80.2471 45.462 80.288 45.3873 80.3132 45.3067C80.3383 45.2262 80.3472 45.1414 80.3392 45.0574C80.3113 44.8825 80.2186 44.7245 80.0796 44.6148C79.9398 44.509 79.7692 44.4517 79.5938 44.4517C79.4184 44.4517 79.2478 44.509 79.1079 44.6148C78.9718 44.71 78.857 44.8326 78.7711 44.9747C78.6851 45.1168 78.6298 45.2753 78.6087 45.4401C78.5659 45.7237 78.5854 46.0132 78.6659 46.2885C78.7463 46.5638 78.8858 46.8182 79.0746 47.0341C79.2025 47.1791 79.3622 47.2927 79.5411 47.3659C79.72 47.4392 79.9134 47.4703 80.1063 47.4567C80.2489 47.4512 80.3911 47.4379 80.5322 47.4168Z",fill:"white"}),(0,e.createElement)("path",{d:"M58.9381 63.8926C58.8483 63.9986 58.7442 64.0916 58.6287 64.1688C58.3169 64.3893 57.9655 64.5475 57.5937 64.6347C57.0425 64.758 56.4749 64.7906 55.9132 64.7312C55.2321 64.6462 54.5581 64.5116 53.8965 64.3286C53.2435 64.1526 52.5747 64.0411 51.8999 63.9958C51.3399 63.9616 50.7787 64.0396 50.2493 64.2254C49.8962 64.3492 49.5699 64.5389 49.2876 64.7845C49.0946 64.9642 49.008 65.0873 48.998 65.0806C49.0709 64.9588 49.1593 64.8469 49.2609 64.7479C49.5371 64.4836 49.8644 64.2786 50.2227 64.1455C50.7547 63.9503 51.3204 63.8632 51.8866 63.8893C52.5727 63.9311 53.2529 64.0426 53.9165 64.2221C54.5719 64.4033 55.2391 64.5389 55.9132 64.6281C56.4681 64.6937 57.03 64.6689 57.5771 64.5549C58.0765 64.4443 58.5429 64.2174 58.9381 63.8926Z",fill:"white"}),(0,e.createElement)("path",{d:"M44.8447 53.7098C44.9352 53.6493 45.0369 53.6075 45.1438 53.587C45.2506 53.5664 45.3606 53.5674 45.467 53.59C45.717 53.6469 45.9505 53.7608 46.1492 53.9228C46.3921 54.0925 46.6317 54.3188 46.9246 54.5451C47.2174 54.7714 47.487 55.0775 47.8231 55.3404C48.1836 55.6168 48.6044 55.8038 49.051 55.8862C50.0926 56.0291 51.1533 55.8769 52.1126 55.4469C53.1476 55.0309 54.1093 54.5284 55.051 54.2755C55.4972 54.1434 55.9601 54.0762 56.4254 54.0759C56.8313 54.0864 57.2331 54.1593 57.6168 54.2922C58.181 54.4688 58.6704 54.8282 59.0078 55.3138C59.0623 55.3882 59.1081 55.4686 59.1442 55.5534C59.1768 55.6124 59.2024 55.6749 59.2208 55.7398C59.2407 55.7916 59.2563 55.845 59.2674 55.8995C59.1875 55.7033 59.0894 55.515 58.9745 55.3371C58.6318 54.8705 58.1474 54.5273 57.5935 54.3587C57.2157 54.2369 56.8223 54.1707 56.4254 54.1624C55.9689 54.1673 55.5153 54.2356 55.0777 54.3654C54.1426 54.6216 53.1941 55.1241 52.1492 55.5434C51.173 55.9802 50.093 56.1314 49.0344 55.9794C48.5733 55.8922 48.1397 55.6959 47.7699 55.407C47.4371 55.1341 47.1542 54.8379 46.878 54.5983C46.6018 54.3587 46.3456 54.1391 46.1159 53.9694C45.9221 53.8096 45.6945 53.6958 45.4504 53.6366C45.2457 53.5992 45.0346 53.6247 44.8447 53.7098Z",fill:"white"}),(0,e.createElement)("path",{d:"M59.9657 49.8164C59.9903 49.9046 60.007 49.9948 60.0156 50.086C60.0414 50.3476 60.0246 50.6117 59.9657 50.868C59.8699 51.2742 59.6807 51.6525 59.4133 51.9728C59.0562 52.402 58.5587 52.6908 58.0089 52.7881C57.3395 52.8965 56.6539 52.7454 56.0921 52.3655C55.7733 52.1594 55.5176 51.8692 55.3534 51.5269C55.31 51.4315 55.2929 51.3263 55.304 51.2221C55.3152 51.1179 55.354 51.0186 55.4166 50.9345C55.4834 50.8528 55.5663 50.7858 55.6603 50.7377C55.7542 50.6896 55.857 50.6615 55.9624 50.655C56.0705 50.642 56.1801 50.6528 56.2836 50.6867C56.3871 50.7207 56.4819 50.7769 56.5613 50.8513C56.7124 51.0121 56.803 51.2203 56.8176 51.4404C56.8317 51.6634 56.7893 51.8864 56.6945 52.0888C56.5998 52.2912 56.4555 52.4665 56.2752 52.5984C55.9096 52.8647 55.4943 53.0548 55.0539 53.1575C54.611 53.2922 54.1486 53.3507 53.6861 53.3305C53.2153 53.3064 52.7634 53.1379 52.3916 52.848C52.2092 52.708 52.0604 52.529 51.9562 52.324C51.8519 52.119 51.7949 51.8932 51.7893 51.6633C51.7771 51.4392 51.8272 51.216 51.9341 51.0187C52.041 50.8213 52.2005 50.6574 52.395 50.5452C52.5877 50.4462 52.8053 50.406 53.0206 50.4296C53.236 50.4533 53.4397 50.5398 53.6063 50.6783C53.7511 50.8248 53.8471 51.0125 53.881 51.2156C53.915 51.4188 53.8853 51.6275 53.796 51.8131C53.6374 52.1629 53.3537 52.4407 53.0006 52.5918C52.3825 52.8575 51.7025 52.9451 51.0372 52.8447C50.0715 52.7061 49.1843 52.2355 48.5281 51.5136C48.3531 51.3209 48.1991 51.11 48.0688 50.8846C47.9823 50.7249 47.9424 50.6417 47.9424 50.6417C48.118 50.9439 48.3243 51.2271 48.558 51.487C49.2186 52.182 50.0968 52.6305 51.0472 52.7582C51.6975 52.8514 52.361 52.7627 52.964 52.5019C53.2957 52.3575 53.5624 52.0956 53.7128 51.7665C53.7933 51.5976 53.8198 51.408 53.7889 51.2234C53.7579 51.0389 53.6709 50.8683 53.5397 50.7349C53.3881 50.6101 53.203 50.5328 53.0077 50.5127C52.8124 50.4926 52.6154 50.5305 52.4415 50.6217C52.2635 50.7244 52.1178 50.8747 52.0207 51.0559C51.9237 51.237 51.8793 51.4416 51.8925 51.6467C51.8973 51.8621 51.9506 52.0736 52.0486 52.2655C52.1465 52.4573 52.2866 52.6246 52.4582 52.7548C52.8128 53.031 53.2439 53.1913 53.6928 53.2141C54.1429 53.233 54.593 53.1756 55.0239 53.0444C55.4504 52.9444 55.853 52.7612 56.2086 52.5053C56.3746 52.3829 56.5077 52.2212 56.596 52.0348C56.6843 51.8484 56.725 51.643 56.7144 51.437C56.7049 51.2392 56.6246 51.0514 56.4881 50.9079C56.4196 50.8428 56.3375 50.7936 56.2478 50.7637C56.1581 50.7338 56.0629 50.7239 55.969 50.7349C55.8765 50.7415 55.7863 50.7664 55.7034 50.8081C55.6206 50.8498 55.5469 50.9075 55.4865 50.9778C55.4345 51.0497 55.4026 51.1341 55.3938 51.2223C55.385 51.3106 55.3998 51.3996 55.4366 51.4803C55.5932 51.8047 55.8347 52.0807 56.1354 52.279C56.6778 52.6516 57.3421 52.8028 57.9923 52.7016C58.5281 52.6127 59.0151 52.3368 59.3667 51.9229C59.6308 51.6099 59.8207 51.2414 59.9224 50.8447C60.0046 50.5082 60.0193 50.1587 59.9657 49.8164Z",fill:"white"}),(0,e.createElement)("path",{d:"M42.9844 55.6342C43.0269 55.612 43.0715 55.5942 43.1175 55.5809C43.204 55.5477 43.3371 55.5044 43.5068 55.4578C43.9969 55.3138 44.5207 55.3348 44.9977 55.5177C45.3274 55.6464 45.6217 55.8517 45.8563 56.1167C46.13 56.4218 46.2899 56.8121 46.3088 57.2215C46.3151 57.4571 46.2702 57.6913 46.1774 57.9079C46.0847 58.1246 45.9461 58.3186 45.7713 58.4766C45.5965 58.6347 45.3895 58.7531 45.1647 58.8236C44.9398 58.8942 44.7023 58.9153 44.4686 58.8854C44.2207 58.8581 43.9878 58.7533 43.803 58.5859C43.7122 58.5034 43.6445 58.3986 43.6065 58.2819C43.5686 58.1651 43.5618 58.0405 43.5867 57.9204C43.6521 57.693 43.7945 57.4954 43.9894 57.3613C44.1679 57.2297 44.3719 57.1368 44.5884 57.0884C44.9567 56.997 45.3419 56.9977 45.7099 57.0906C46.0779 57.1835 46.4173 57.3656 46.6982 57.6209C47.0731 57.9747 47.32 58.4428 47.4003 58.952C47.4301 59.1349 47.4301 59.3215 47.4003 59.5044C47.3979 59.3216 47.3824 59.1392 47.3538 58.9586C47.2593 58.4701 47.0109 58.0246 46.6449 57.6874C46.3707 57.4455 46.0415 57.2741 45.686 57.1883C45.3305 57.1025 44.9594 57.1047 44.605 57.1949C44.4019 57.2426 44.2106 57.3309 44.0426 57.4545C43.8669 57.5747 43.7387 57.7524 43.6799 57.957C43.6558 58.0618 43.6604 58.1712 43.6932 58.2737C43.7259 58.3762 43.7857 58.4679 43.8662 58.5393C44.0374 58.6931 44.253 58.7886 44.4819 58.8122C44.7008 58.84 44.9231 58.8202 45.1337 58.7544C45.3443 58.6886 45.5383 58.5783 45.7024 58.4308C45.8666 58.2834 45.9971 58.1024 46.0851 57.9C46.1731 57.6977 46.2165 57.4787 46.2123 57.2581C46.1988 56.869 46.0493 56.4968 45.7897 56.2066C45.5679 55.9483 45.2871 55.7474 44.9711 55.6209C44.5089 55.4341 43.9985 55.4025 43.5168 55.531C43.3438 55.5709 43.214 55.6076 43.1241 55.6342C43.0776 55.6377 43.0309 55.6377 42.9844 55.6342Z",fill:"white"}),(0,e.createElement)("path",{d:"M44.4117 62.8518C44.4467 62.7607 44.457 62.662 44.4417 62.5656C44.3873 62.3006 44.2735 62.0514 44.1089 61.8368C43.9901 61.6806 43.831 61.5597 43.6486 61.487C43.4663 61.4143 43.2677 61.3926 43.0739 61.4242C42.628 61.4242 42.1455 61.6405 41.5997 61.5972C41.1322 61.5756 40.6919 61.3707 40.3743 61.0269C40.0567 60.6831 39.8872 60.2281 39.9026 59.7603C39.8909 59.4812 39.964 59.2051 40.1122 58.9683C40.1646 58.8811 40.2364 58.8071 40.3219 58.752C40.3219 58.752 40.242 58.8252 40.1455 58.9882C40.0177 59.2246 39.9589 59.4921 39.9758 59.7603C39.9801 60.1577 40.1132 60.5431 40.3551 60.8584C40.5112 61.0421 40.7021 61.1928 40.9169 61.3019C41.1317 61.411 41.3661 61.4764 41.6064 61.494C42.1189 61.534 42.6047 61.3443 43.0706 61.3277C43.2969 61.3106 43.5241 61.3436 43.7362 61.4242C43.92 61.4972 44.0761 61.6265 44.1821 61.7936C44.3426 62.0215 44.4443 62.2856 44.4783 62.5623C44.4885 62.6125 44.4878 62.6643 44.4763 62.7142C44.4648 62.7642 44.4428 62.8111 44.4117 62.8518Z",fill:"white"}),(0,e.createElement)("path",{d:"M40.7387 70.2847C40.8964 70.271 41.0506 70.2305 41.1946 70.1649C41.3577 70.0805 41.4887 69.9449 41.5673 69.7789C41.6558 69.5513 41.6799 69.3038 41.6372 69.0634C41.5935 68.7675 41.5211 68.4766 41.4209 68.1948C41.3338 67.8651 41.1835 67.5554 40.9783 67.283C40.8643 67.1405 40.7135 67.032 40.5422 66.9692C40.3709 66.9065 40.1856 66.8918 40.0066 66.9269C39.9155 66.9509 39.8314 66.996 39.7608 67.0584C39.6903 67.1208 39.6354 67.1989 39.6006 67.2863C39.5324 67.4722 39.5324 67.6762 39.6006 67.8621C39.6737 68.0443 39.8017 68.1993 39.9669 68.3054C40.1321 68.4116 40.3262 68.4637 40.5224 68.4544C40.8977 68.4507 41.2601 68.3166 41.5473 68.075C42.0329 67.6541 42.428 67.139 42.7087 66.5609C42.9057 66.1735 43.033 65.7544 43.0848 65.3229C43.1147 65.0168 43.0848 64.8438 43.1081 64.8438C43.1336 65.0033 43.1392 65.1654 43.1247 65.3263C43.088 65.7659 42.9695 66.1948 42.7753 66.5908C42.499 67.1867 42.0998 67.7175 41.6039 68.1482C41.3035 68.4084 40.9198 68.5524 40.5224 68.5542C40.3101 68.5541 40.1015 68.4991 39.9167 68.3945C39.7213 68.2859 39.5739 68.1077 39.5041 67.8953C39.4257 67.6861 39.4257 67.4556 39.5041 67.2464C39.5451 67.1447 39.6091 67.054 39.6911 66.9812C39.773 66.9084 39.8708 66.8557 39.9766 66.8271C40.1744 66.7873 40.3793 66.8033 40.5685 66.8732C40.7578 66.9431 40.9238 67.0643 41.0482 67.2231C41.2601 67.5051 41.414 67.8263 41.5007 68.1682C41.5977 68.4571 41.6668 68.7547 41.7071 69.0567C41.7459 69.3098 41.7149 69.5688 41.6172 69.8055C41.5287 69.9794 41.3847 70.1188 41.2079 70.2015C41.0984 70.2533 40.9796 70.2828 40.8585 70.288C40.8186 70.2923 40.7783 70.2912 40.7387 70.2847Z",fill:"white"}),(0,e.createElement)("path",{d:"M45.1113 72.847C45.1991 72.8369 45.2852 72.8156 45.3676 72.7838C45.5867 72.6806 45.7565 72.4953 45.8401 72.268C45.9554 71.9269 45.9376 71.5548 45.7902 71.2264C45.6538 70.8437 45.4075 70.4576 45.2578 69.9917C45.1788 69.7654 45.1482 69.5251 45.1679 69.2862C45.1937 69.0618 45.2761 68.8477 45.4075 68.664C45.6353 68.3605 45.9629 68.1472 46.3326 68.0616C46.5767 68.004 46.8289 67.9894 47.0781 68.0184C47.1701 68.0226 47.2609 68.0405 47.3476 68.0716C47.0136 68.0409 46.6768 68.0622 46.3493 68.1348C46.0013 68.2231 45.6952 68.4303 45.484 68.7205C45.361 68.8895 45.2852 69.0882 45.2644 69.2962C45.2488 69.5219 45.2794 69.7483 45.3543 69.9618C45.494 70.4077 45.7403 70.7971 45.8767 71.1931C46.0276 71.543 46.0372 71.9378 45.9033 72.2946C45.8566 72.4135 45.7861 72.5217 45.6963 72.6127C45.6065 72.7036 45.4992 72.7754 45.3809 72.8237C45.2952 72.8576 45.2015 72.8657 45.1113 72.847Z",fill:"white"}),(0,e.createElement)("path",{d:"M47.1641 59.8336C47.2636 59.6852 47.3749 59.545 47.4968 59.4143C47.7065 59.1547 48.0226 58.782 48.4186 58.3294C48.8146 57.8769 49.2872 57.3311 49.793 56.7288C50.0459 56.4226 50.3055 56.0998 50.5684 55.7571C50.847 55.4138 51.089 55.0424 51.2905 54.6489C51.6959 53.8986 51.9236 53.0652 51.9561 52.213C51.9752 51.5186 51.7275 50.8434 51.2639 50.3261C50.9471 49.9822 50.5284 49.7489 50.0692 49.6605C49.8993 49.6379 49.7282 49.6246 49.5567 49.6206C49.5567 49.6206 49.6 49.6206 49.6899 49.5907C49.8191 49.5739 49.95 49.5739 50.0792 49.5907C50.5642 49.6599 51.0124 49.8882 51.3538 50.2396C51.8522 50.7748 52.1252 51.4816 52.1158 52.213C52.0949 53.0922 51.8669 53.9542 51.4503 54.7288C51.2451 55.1312 50.9975 55.5105 50.7115 55.8602C50.4453 56.193 50.179 56.5258 49.9228 56.8319C49.407 57.4376 48.9245 57.9667 48.5151 58.4093L47.5534 59.4576C47.4341 59.5933 47.3039 59.7191 47.1641 59.8336Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M43.4504 64.4082C43.0885 64.6058 42.701 64.7525 42.299 64.8441C41.9134 64.9908 41.5089 65.0816 41.0977 65.1137C41.4596 64.9161 41.847 64.7694 42.2491 64.6778C42.6346 64.5311 43.0392 64.4403 43.4504 64.4082Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M43.3006 64.3652C43.3272 64.4085 42.9312 64.6548 42.5518 65.0707C42.1725 65.4867 41.9528 65.896 41.9062 65.8727C42.0028 65.5291 42.1796 65.2132 42.422 64.9512C42.6644 64.6891 42.9655 64.4883 43.3006 64.3652Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M60.0657 56.4727C59.9091 56.2598 59.7795 56.0285 59.6797 55.7838C59.405 55.2122 59.1628 54.6256 58.9542 54.0267C58.7422 53.4295 58.5644 52.8206 58.4218 52.2031C58.345 51.9514 58.3013 51.6907 58.292 51.4277C58.3978 51.6677 58.4803 51.9174 58.5382 52.1732C58.678 52.6357 58.871 53.2747 59.1173 53.9702C59.3635 54.6657 59.6098 55.3013 59.7828 55.7339C59.9003 55.9706 59.995 56.218 60.0657 56.4727Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M56.5483 59.6609C56.4478 59.9091 56.2997 60.1352 56.1124 60.3265C55.678 60.8211 55.1392 61.2132 54.535 61.4745C53.9308 61.7357 53.2761 61.8596 52.6182 61.8373C52.3471 61.8409 52.078 61.7912 51.8262 61.6909C51.8262 61.6609 52.1323 61.7208 52.6215 61.7142C53.2569 61.7055 53.8843 61.571 54.4675 61.3186C55.0506 61.0661 55.578 60.7007 56.0192 60.2433C56.3586 59.9005 56.5217 59.6443 56.5483 59.6609Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M54.2421 76.1064C54.2421 76.1064 51.9426 76.6056 51.6364 76.3527C51.3303 76.0997 52.0757 75.8269 52.0757 75.8269C52.0757 75.8269 51.4102 75.9067 51.4102 75.6671C51.4102 75.4275 51.6498 75.2578 51.6498 75.2578L54.2421 76.1064Z",fill:"#E5BAAB"}),(0,e.createElement)("path",{d:"M51.1245 71.6426C51.1245 71.6426 54.3558 73.1001 54.3957 73.2133C54.4357 73.3264 54.5355 75.6293 54.2293 76.1051C53.9232 76.581 49.6836 74.2582 49.6836 74.2582L51.1245 71.6426Z",fill:"#E5BAAB"}),(0,e.createElement)("path",{d:"M53.5137 75.5659C53.4597 75.5747 53.4047 75.5747 53.3507 75.5659L52.9114 75.5094C52.4271 75.4452 51.9486 75.3428 51.4804 75.2032C51.0036 75.0691 50.5534 74.8541 50.1493 74.5676L49.7833 74.3147C49.6967 74.2548 49.6502 74.2215 49.6535 74.2148C49.7034 74.2374 49.7512 74.2641 49.7966 74.2947L50.1759 74.5243C50.5791 74.7944 51.0213 75.0009 51.4871 75.1366C51.953 75.2743 52.4263 75.3854 52.9047 75.4694L53.3407 75.546C53.3988 75.5476 53.4567 75.5542 53.5137 75.5659Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M53.5007 75.6235C53.264 75.7229 53.0139 75.7869 52.7586 75.8132C52.5064 75.8613 52.2489 75.8747 51.9932 75.8531C51.9932 75.8331 52.3259 75.8065 52.7486 75.7433C53.1712 75.6801 53.494 75.6069 53.5007 75.6235Z",fill:"#D78776"}))}var Oo={};function To(){var t,n,r=this,a=(0,e.useRef)(null),o=Da(),i=o.nextPayload,s=o.keywords,l=o.postHTML,c=function(t){var n=t.notaService,r=vr(),a=r.setGrade,o=r.setGradeLoading,i=r.setUrlsScore,s=r.setUrlsLoading,l=r.grade,c=r.urlsScore,u=r.setPostMetaData,d=window.notaTools.meta_keys,f=ia({key:d.grade_scores_history,serialize:!0,initialItem:{data:null,request:{}}}).data,p=ia({key:d.urls_score_history,serialize:!0,initialItem:{}}).data;(0,e.useEffect)((function(){var e=ma(f),t=ma(p);!l.data&&e.data&&a(e),ha(c)&&!ha(t)&&i(t)}),[l,f,p,a,i,c]);var h=aa((function(e){return ua(void 0,void 0,void 0,(function(){return da(this,(function(t){return o(!0),[2,n.getGradeScores(e)]}))}))}),{onSuccess:function(e,t){var n;u(((n={})[d.grade_scores_history]=JSON.stringify({data:e,request:t}),n)),a({data:e,request:t}),o(!1)},onError:function(){o(!1)}}),m=h.mutate,C=fa(h,["mutate"]),y=aa((function(e){return ua(void 0,void 0,void 0,(function(){var t,r,a,o,i;return da(this,(function(l){switch(l.label){case 0:return s(!0),t=e.urlsList?e.urlsList.reduce((function(e,t,n){return n%10==0&&e.push([]),e[e.length-1].push(t),e}),[]):[],r=t.slice(0,3),a=0,o=0,i=[],[4,Promise.all(r.map((function(e){return ua(void 0,void 0,void 0,(function(){var t;return da(this,(function(r){switch(r.label){case 0:return[4,n.getUrlsScore({urlsList:e})];case 1:return t=r.sent(),a+=t.totalUrls,o+=t.numInvalidUrls,i=pa(pa([],i,!0),t.listInvalidUrls,!0),[2]}}))}))})))];case 1:return l.sent(),[2,{totalUrls:a,numInvalidUrls:o,listInvalidUrls:i}]}}))}))}),{onSuccess:function(e){var t;u(((t={})[d.urls_score_history]=JSON.stringify(e),t)),i(e),s(!1)},onError:function(){s(!1)}}),g=y.mutate,v=fa(y,["mutate"]),b=(0,e.useCallback)((function(e){m(e),g(e)}),[m,g]);return{grade:{error:C.error,isLoading:C.isLoading,data:l,update:function(e){return m(e)}},urlsScore:{error:v.error,isLoading:v.isLoading,data:c,update:function(e){return g(e)}},run:b}}({notaService:vt}),d=vr(),f=d.grade,p=d.gradeIsLoading,h=f||{},m=h.data,C=h.request,y=(0,e.useState)(!1),g=y[0],v=y[1],b=(0,e.useRef)(!1),w=hr(i.content||"")<100,E=!(null==s?void 0:s.length),x=Ia(),M=x.config,L=x.isLoading,S=Aa({notaService:vt,components:Oo,requestsToQueue:M.requestsToQueue}),A=(0,e.useCallback)((function(){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(r,void 0,void 0,(function(){return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(e){switch(e.label){case 0:return E?(S.keywordSynonyms.refresh({postHTML:l}),setTimeout((function(){b.current=!0}),1e3),[3,3]):[3,1];case 1:return[4,c.run(i)];case 2:e.sent(),e.label=3;case 3:return[2]}}))}))}),[c,S.keywordSynonyms,i,E,l]),O=S.keywordSynonyms.isLoading;(0,e.useEffect)((function(){!b.current||O||E||(b.current=!1,A())}),[A,O,E]),t="refreshData",n=A,(0,e.useEffect)((function(){var e=function(e){return function(e){e.detail.action===t&&n()}(e)};return window.addEventListener(wr(t),e),function(){window.removeEventListener(wr(t),e)}}),[t,n]);var T=C&&JSON.stringify(i)!==JSON.stringify(C)||!1,P=!f.data;(0,e.useEffect)((function(){if(T&&!P){var e=setTimeout((function(){v(!0)}),1e3);return function(){return clearTimeout(e)}}v(!1)}),[T,P]);var k=Object.keys((null==C?void 0:C.keywords)||{}),Z=(0,e.useMemo)((function(){var t=function(e,t){if(!e||!t.length)return[];var n=t.map((function(t){return{text:t,inUse:e.keywords.usedKeywords.map(Sn).includes(Sn(t))}}));return n.sort((function(e,t){return Number(t.inUse)-Number(e.inUse)})),n}(m,k);return p?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(gr,{className:"ntw-mt-4"}),(0,e.createElement)(gr,{className:"ntw-mt-4"})):m?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(Wa,{score:m.totalScore}),(0,e.createElement)(Rn,{keywords:t}),(0,e.createElement)(po,{data:m,numberWords:hr((null==C?void 0:C.content)||""),keywords:k})):(0,e.createElement)(e.Fragment,null,(0,e.createElement)(Ao,null),(0,e.createElement)("div",{className:"ntw-mb-2 ntw-mt-5 ntw-text-center ntw-text-lg ntw-font-bold"},"Get started"),(0,e.createElement)("div",{className:"ntw-text-center ntw-text-sm ntw-font-normal"},"Optimize this page with best practices and data driven insights!"),(0,e.createElement)(Kn,{disabled:p||w||O,className:"ntw-mt-4 ntw-w-full ntw-shadow",onClick:A},p?"Loading...":O?"Loading keywords...":"Get started"))}),[m,p,A,O,w,null==C?void 0:C.content,k]);return L?(0,e.createElement)("div",null,"Loading the Nota toolset..."):(0,e.createElement)(u.PanelBody,{title:"Global Score",initialOpen:!0,opened:!0,ref:a},!p&&T&&g&&!E&&(0,e.createElement)(So,{isDisabled:w||E,onDisplay:function(){a.current&&a.current.scrollIntoView({behavior:"smooth",block:"start"})},refreshData:A,loading:p}),w&&(0,e.createElement)(Ba,{size:"small",level:"info",className:"ntw-mb-2"},"Please add at least 100 words to your post to get started."),Z)}function Po(){var t,n,r=vr(),a=r.urlsLoading,o=r.urlsScore,i=r.grade,s=Da().nextPayload.urlsList,l=function(e,t,n){for(var r,a,o=0,i=fr[nr.url][tr.length];o<i.length;o++){var s=i[o];if("function"==typeof s.range&&s.range(e,t))return(r={score:s.score})[tr.length]={score:s.score,feedback:s.feedback,meetsCriteria:s.meetsCriteria,listInvalidUrls:n},r}return(a={score:0})[tr.length]={score:0,feedback:"Couldn't evaluate URL criteria.",meetsCriteria:!1,listInvalidUrls:[]},a}(null==o?void 0:o.numInvalidUrls,null==o?void 0:o.totalUrls,null==o?void 0:o.listInvalidUrls),c=i.data?cr(((t={})[nr.url]=l,t),[nr.url]):void 0;return n=a?(0,e.createElement)(gr,null):o?(0,e.createElement)(jn,{title:"Link Health Report",gradeData:l}):(0,e.createElement)("div",{className:"ntw-text-xs ntw-text-typography-disabled"},'Please click on the "Get started" button to start the analysis.'),(0,e.createElement)(Yn,{loading:a,status:c,title:"Link Integrity"},function(){if(s.length>30)return(0,e.createElement)("div",{className:"ntw-mb-2"},(0,e.createElement)("p",{className:"ntw-text-xs ntw-text-typography-disabled"},"Note: Only the first ",30," URLs will be analyzed."))}(),n)}function ko(){var t,n,r,a,o=vr(),i=o.grade,s=o.gradeIsLoading,l=cr(i.data,[nr.metaTitle,nr.metaDescription,nr.slug]),c=null===(t=i.data)||void 0===t?void 0:t[nr.metaTitle],u=null===(n=i.data)||void 0===n?void 0:n[nr.metaDescription],d=null===(r=i.data)||void 0===r?void 0:r[nr.slug];return a=s?(0,e.createElement)(gr,null):i?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(jn,{title:"Page Title",gradeData:c}),((null==c?void 0:c.score)||0)<=60?(0,e.createElement)($n,{className:"ntw-mt-2",onClick:function(){return dr(".meta-tab-seo","nota-meta-title")}}):null,(0,e.createElement)(Fn,null),(0,e.createElement)(jn,{title:"Meta Description",gradeData:u}),((null==u?void 0:u.score)||0)<=60?(0,e.createElement)($n,{className:"ntw-mt-2",onClick:function(){return dr(".meta-tab-seo","nota-meta-description")}}):null,(0,e.createElement)(Fn,null),(0,e.createElement)(jn,{title:"Slug",gradeData:d}),((null==d?void 0:d.score)||0)<=60?(0,e.createElement)($n,{className:"ntw-mt-2",onClick:function(){return dr(".meta-tab-seo","nota-slug")}}):null):(0,e.createElement)("div",{className:"ntw-text-xs ntw-text-typography-disabled"},'Please click on the "Get started" button to start the analysis.'),(0,e.createElement)(Yn,{loading:s,status:l,title:"SEO Analysis"},a)}function Zo(t){var n=t.className;return(0,e.createElement)("svg",{width:"28",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("path",{d:"M24.0001 45.9065C36.0987 45.9065 45.9065 36.0987 45.9065 24.0001C45.9065 11.9016 36.0987 2.09375 24.0001 2.09375C11.9016 2.09375 2.09375 11.9016 2.09375 24.0001C2.09375 36.0987 11.9016 45.9065 24.0001 45.9065Z",fill:"white"}),(0,e.createElement)("path",{d:"M24 48C10.766 48 0 37.234 0 24C0 10.766 10.766 0 24 0C37.234 0 48 10.766 48 24C48 37.234 37.234 48 24 48ZM24 4.18722C13.0755 4.18859 4.18859 13.0755 4.18859 24C4.18859 34.9245 13.0769 43.8128 24.0014 43.8128C34.9259 43.8128 43.8141 34.9245 43.8141 24C43.8141 13.0755 34.9245 4.18859 24 4.18859V4.18722Z",fill:"#030B1B"}),(0,e.createElement)("path",{d:"M11.0664 34.8224L11.0937 29.5186L13.1477 29.1114L15.3028 29.177L20.3988 28.2887L26.6892 27.7503L33.0862 27.4688L34.6387 28.4185L35.9055 31.1626L36.0257 35.3458L32.9701 35.2856L20.996 35.41L17.2816 35.3376L13.7094 35.5876L11.0527 35.5357L11.0664 34.821V34.8224Z",fill:"#008D8E"}),(0,e.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.3425 8.90703H31.0026V33.9948H26.1403L22.3043 22.6358V29.9169H17.334V12.9822H22.1908L26.3425 23.8042V8.9043V8.90703Z",fill:"#030B1B"}))}class Ho extends Gr{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||qr,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||function(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?null!=r?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(e,t){const n=Br(this.state.data,e,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),n}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;const n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(Mr).catch(Mr):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some((e=>!1!==e.options.enabled))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((e=>e.getCurrentResult().isStale))}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!Sr(this.state.dataUpdatedAt,e)}onFocus(){var e;const t=this.observers.find((e=>e.shouldFetchOnWindowFocus()));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}onOnline(){var e;const t=this.observers.find((e=>e.shouldFetchOnReconnect()));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}addObserver(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((t=>t!==e)),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var n,r;if("idle"!==this.state.fetchStatus)if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var a;return null==(a=this.retryer)||a.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find((e=>e.options.queryFn));e&&this.setOptions(e.options)}Array.isArray(this.options.queryKey);const o=function(){if("function"==typeof AbortController)return new AbortController}(),i={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},s=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(o)return this.abortSignalConsumed=!0,o.signal}})};s(i);const l={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(i)):Promise.reject("Missing queryFn")};var c;s(l),null==(n=this.options.behavior)||n.onFetch(l),this.revertState=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(r=l.fetchOptions)?void 0:r.meta))&&this.dispatch({type:"fetch",meta:null==(c=l.fetchOptions)?void 0:c.meta});const u=e=>{var t,n,r,a;Xr(e)&&e.silent||this.dispatch({type:"error",error:e}),Xr(e)||(null==(t=(n=this.cache.config).onError)||t.call(n,e,this),null==(r=(a=this.cache.config).onSettled)||r.call(a,this.state.data,e,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=ea({fn:l.fetchFn,abort:null==o?void 0:o.abort.bind(o),onSuccess:e=>{var t,n,r,a;void 0!==e?(this.setData(e),null==(t=(n=this.cache.config).onSuccess)||t.call(n,e,this),null==(r=(a=this.cache.config).onSettled)||r.call(a,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1):u(new Error("undefined"))},onError:u,onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){this.state=(t=>{var n,r;switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(n=e.meta)?n:null,fetchStatus:Jr(this.options.networkMode)?"fetching":"paused",...!t.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(r=e.dataUpdatedAt)?r:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=e.error;return Xr(a)&&a.revert&&this.revertState?{...this.revertState}:{...t,error:a,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),zr.batch((()=>{this.observers.forEach((t=>{t.onQueryUpdate(e)})),this.cache.notify({query:this,type:"updated",action:e})}))}}class Ro extends Wr{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,n){var r;const a=t.queryKey,o=null!=(r=t.queryHash)?r:kr(a,t);let i=this.get(o);return i||(i=new Ho({cache:this,logger:e.getLogger(),queryKey:a,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(i)),i}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){const t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((t=>t!==e)),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){zr.batch((()=>{this.queries.forEach((e=>{this.remove(e)}))}))}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){const[n]=Or(e,t);return void 0===n.exact&&(n.exact=!0),this.queries.find((e=>Tr(n,e)))}findAll(e,t){const[n]=Or(e,t);return Object.keys(n).length>0?this.queries.filter((e=>Tr(n,e))):this.queries}notify(e){zr.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}onFocus(){zr.batch((()=>{this.queries.forEach((e=>{e.onFocus()}))}))}onOnline(){zr.batch((()=>{this.queries.forEach((e=>{e.onOnline()}))}))}}class jo extends Wr{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,n){const r=new ta({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(r),r}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter((t=>t!==e)),this.notify({type:"removed",mutation:e})}clear(){zr.batch((()=>{this.mutations.forEach((e=>{this.remove(e)}))}))}getAll(){return this.mutations}find(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((t=>Pr(e,t)))}findAll(e){return this.mutations.filter((t=>Pr(e,t)))}notify(e){zr.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}resumePausedMutations(){var e;return this.resuming=(null!=(e=this.resuming)?e:Promise.resolve()).then((()=>{const e=this.mutations.filter((e=>e.state.isPaused));return zr.batch((()=>e.reduce(((e,t)=>e.then((()=>t.continue().catch(Mr)))),Promise.resolve())))})).then((()=>{this.resuming=void 0})),this.resuming}}function Fo(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var No,Io=new class{constructor(e={}){this.queryCache=e.queryCache||new Ro,this.mutationCache=e.mutationCache||new jo,this.logger=e.logger||qr,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=Qr.subscribe((()=>{Qr.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())})),this.unsubscribeOnline=Kr.subscribe((()=>{Kr.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())})))}unmount(){var e,t;this.mountCount--,0===this.mountCount&&(null==(e=this.unsubscribeFocus)||e.call(this),this.unsubscribeFocus=void 0,null==(t=this.unsubscribeOnline)||t.call(this),this.unsubscribeOnline=void 0)}isFetching(e,t){const[n]=Or(e,t);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data}ensureQueryData(e,t,n){const r=Ar(e,t,n),a=this.getQueryData(r.queryKey);return a?Promise.resolve(a):this.fetchQuery(r)}getQueriesData(e){return this.getQueryCache().findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,n){const r=this.queryCache.find(e),a=function(e,t){return"function"==typeof e?e(t):e}(t,null==r?void 0:r.state.data);if(void 0===a)return;const o=Ar(e),i=this.defaultQueryOptions(o);return this.queryCache.build(this,i).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return zr.batch((()=>this.getQueryCache().findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,n)]))))}getQueryState(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state}removeQueries(e,t){const[n]=Or(e,t),r=this.queryCache;zr.batch((()=>{r.findAll(n).forEach((e=>{r.remove(e)}))}))}resetQueries(e,t,n){const[r,a]=Or(e,t,n),o=this.queryCache,i={type:"active",...r};return zr.batch((()=>(o.findAll(r).forEach((e=>{e.reset()})),this.refetchQueries(i,a))))}cancelQueries(e,t,n){const[r,a={}]=Or(e,t,n);void 0===a.revert&&(a.revert=!0);const o=zr.batch((()=>this.queryCache.findAll(r).map((e=>e.cancel(a)))));return Promise.all(o).then(Mr).catch(Mr)}invalidateQueries(e,t,n){const[r,a]=Or(e,t,n);return zr.batch((()=>{var e,t;if(this.queryCache.findAll(r).forEach((e=>{e.invalidate()})),"none"===r.refetchType)return Promise.resolve();const n={...r,type:null!=(e=null!=(t=r.refetchType)?t:r.type)?e:"active"};return this.refetchQueries(n,a)}))}refetchQueries(e,t,n){const[r,a]=Or(e,t,n),o=zr.batch((()=>this.queryCache.findAll(r).filter((e=>!e.isDisabled())).map((e=>{var t;return e.fetch(void 0,{...a,cancelRefetch:null==(t=null==a?void 0:a.cancelRefetch)||t,meta:{refetchPage:r.refetchPage}})}))));let i=Promise.all(o).then(Mr);return null!=a&&a.throwOnError||(i=i.catch(Mr)),i}fetchQuery(e,t,n){const r=Ar(e,t,n),a=this.defaultQueryOptions(r);void 0===a.retry&&(a.retry=!1);const o=this.queryCache.build(this,a);return o.isStaleByTime(a.staleTime)?o.fetch(a):Promise.resolve(o.state.data)}prefetchQuery(e,t,n){return this.fetchQuery(e,t,n).then(Mr).catch(Mr)}fetchInfiniteQuery(e,t,n){const r=Ar(e,t,n);return r.behavior={onFetch:e=>{e.fetchFn=()=>{var t,n,r,a,o,i;const s=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,l=null==(r=e.fetchOptions)||null==(a=r.meta)?void 0:a.fetchMore,c=null==l?void 0:l.pageParam,u="forward"===(null==l?void 0:l.direction),d="backward"===(null==l?void 0:l.direction),f=(null==(o=e.state.data)?void 0:o.pages)||[],p=(null==(i=e.state.data)?void 0:i.pageParams)||[];let h=p,m=!1;const C=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),y=(e,t,n,r)=>(h=r?[t,...h]:[...h,t],r?[n,...e]:[...e,n]),g=(t,n,r,a)=>{if(m)return Promise.reject("Cancelled");if(void 0===r&&!n&&t.length)return Promise.resolve(t);const o={queryKey:e.queryKey,pageParam:r,meta:e.options.meta};var i;i=o,Object.defineProperty(i,"signal",{enumerable:!0,get:()=>{var t,n;return null!=(t=e.signal)&&t.aborted?m=!0:null==(n=e.signal)||n.addEventListener("abort",(()=>{m=!0})),e.signal}});const s=C(o);return Promise.resolve(s).then((e=>y(t,r,e,a)))};let v;if(f.length)if(u){const t=void 0!==c,n=t?c:Fo(e.options,f);v=g(f,t,n)}else if(d){const t=void 0!==c,n=t?c:function(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}(e.options,f);v=g(f,t,n,!0)}else{h=[];const t=void 0===e.options.getNextPageParam;v=s&&f[0]&&!s(f[0],0,f)?Promise.resolve(y([],p[0],f[0])):g([],t,p[0]);for(let n=1;n<f.length;n++)v=v.then((r=>{if(!s||!f[n]||s(f[n],n,f)){const a=t?p[n]:Fo(e.options,r);return g(r,t,a)}return Promise.resolve(y(r,p[n],f[n]))}))}else v=g([]);return v.then((e=>({pages:e,pageParams:h})))}}},this.fetchQuery(r)}prefetchInfiniteQuery(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(Mr).catch(Mr)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){const n=this.queryDefaults.find((t=>Zr(e)===Zr(t.queryKey)));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;const t=this.queryDefaults.find((t=>Hr(e,t.queryKey)));return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){const n=this.mutationDefaults.find((t=>Zr(e)===Zr(t.mutationKey)));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;const t=this.mutationDefaults.find((t=>Hr(e,t.mutationKey)));return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;const t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=kr(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}};!function(e){e.RelatedKeywords="relatedKeywords"}(No||(No={}));var _o=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},Do=Zn.useSelect,Vo=[],Uo=function(t){var n,r=t.taxonomy,a=t.wpService,o=(0,e.useState)(null),i=o[0],s=o[1],l=(0,e.useState)([]),c=l[0],u=l[1],d=(0,Zn.useDispatch)("core/editor").editPost,f=Do((function(e){var t=e("core"),n=t.getEntityRecords,a=t.getTaxonomy,o=t.hasFinishedResolution,i=e("core/editor"),s=i.getEditedPostAttribute,l=i.getCurrentPostId,c=a(r),u=function(){return c?s(c.rest_base):null},d=u();if(!(null==d?void 0:d.length))return{resolvingExistingTerms:null,hasResolvedTerms:!0,taxonomyDetail:c,termIds:Vo,postId:l(),getLatestTermIds:u};var f={_fields:"id,name",context:"view",include:d.join(","),per_page:-1};return{resolvingExistingTerms:n("taxonomy",r,f),hasResolvedTerms:o("getEntityRecords",["taxonomy",r,f]),taxonomyDetail:c,termIds:d,postId:l(),getLatestTermIds:u}}),[r]),p=f.taxonomyDetail,h=f.termIds,m=f.hasResolvedTerms,C=f.resolvingExistingTerms,y=f.postId,g=f.getLatestTermIds,v=ba({trackValue:h,revertFn:function(e){var t;(null==p?void 0:p.rest_base)&&d(((t={})[p.rest_base]=e,t))}});(0,e.useEffect)((function(){m&&u(C||[])}),[C,m]);var b=null!==(n=null==p?void 0:p.rest_namespace)&&void 0!==n?n:"wp/v2";return{addTag:function(e){if(!(null==p?void 0:p.rest_base))throw Error("Missing rest_base");s(null),a.findOrCreateTerm({term:e,restBase:p.rest_base,namespace:b}).then((function(e){var t,n,r=g()||[],a=_o(_o([],r,!0),[e.id],!1);v.update(a),d(((t={})[p.rest_base]=a,t)),vt.saveEvents({event:"select",field:rr.Tags,content:(n={},n[rr.Tags]=e.term,n),postId:y})})).catch((function(e){var t=!(!e||"object"!=typeof e||!("message"in e)||"string"!=typeof e.message)&&e.message;s(t||"Failed to add tag")}))},removeTag:function(e){var t,n;if(!(null==p?void 0:p.rest_base))throw Error("Missing rest_base");var r=h.indexOf(e);if(!(r<0)){var a=_o(_o([],h.slice(0,r),!0),h.slice(r+1),!0);v.update(a),d(((t={})[p.rest_base]=a.length>0?a:[null],t)),vt.saveEvents({event:"revert",field:rr.Tags,content:(n={},n[rr.Tags]=a,n),postId:y})}},existingTerms:c,revert:v.revert,errorWhileAddingTag:i}},Bo=window.wp.apiFetch,qo=n.n(Bo),zo=n(573),Go=n.n(zo),Wo={editMeta:function(e){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,[e],void 0,(function(e){var t,n=e.key,r=e.value,a=e.postId;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(e){switch(e.label){case 0:return[4,qo()({path:"/wp/v2/posts/".concat(a),method:"POST",data:{meta:(t={},t[n]=r,t)}})];case 1:return e.sent(),[2]}}))}))},findOrCreateTerm:function(e){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,[e],void 0,(function(e){var t,n,r,a,o,i=e.term,s=e.restBase,l=e.namespace;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(e){switch(e.label){case 0:return t=Go()(i),[4,qo()({path:"/".concat(l,"/").concat(s,"?search=").concat(encodeURIComponent(t),"&_fields=id,name")})];case 1:if(n=e.sent(),r=n.find((function(e){return e.name===t})))return[2,{id:r.id,term:r.name}];e.label=2;case 2:return e.trys.push([2,4,,5]),[4,qo()({path:"/".concat(l,"/").concat(s),method:"POST",data:{name:t}})];case 3:return[2,{id:(a=e.sent()).id,term:a.name}];case 4:if("term_exists"!==(o=e.sent()).code)throw o;return[2,{id:o.data.term_id,term:i}];case 5:return[2]}}))}))}},Qo=Zn.useSelect,Ko=function(e,t){var n=Array.isArray(e)?e:[e];return t.some((function(e){return n.some((function(t){return t===e}))}))};function $o(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,$o),r}function Jo(...e){return e.filter(Boolean).join(" ")}var Yo,Xo=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Xo||{}),ei=((Yo=ei||{})[Yo.Unmount=0]="Unmount",Yo[Yo.Hidden=1]="Hidden",Yo);function ti({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:a,visible:o=!0,name:i}){let s=ri(t,e);if(o)return ni(s,n,r,i);let l=null!=a?a:0;if(2&l){let{static:e=!1,...t}=s;if(e)return ni(t,n,r,i)}if(1&l){let{unmount:e=!0,...t}=s;return $o(e?0:1,{0(){return null},1(){return ni({...t,hidden:!0,style:{display:"none"}},n,r,i)}})}return ni(s,n,r,i)}function ni(e,t={},n,a){let{as:o=n,children:i,refName:s="ref",...l}=ii(e,["unmount","static"]),c=void 0!==e.ref?{[s]:e.ref}:{},u="function"==typeof i?i(t):i;"className"in l&&l.className&&"function"==typeof l.className&&(l.className=l.className(t));let d={};if(t){let e=!1,n=[];for(let[r,a]of Object.entries(t))"boolean"==typeof a&&(e=!0),!0===a&&n.push(r);e&&(d["data-headlessui-state"]=n.join(" "))}if(o===r.Fragment&&Object.keys(oi(l)).length>0){if(!(0,r.isValidElement)(u)||Array.isArray(u)&&u.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${a} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(l).map((e=>`  - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>`  - ${e}`)).join("\n")].join("\n"));let e=u.props,t="function"==typeof(null==e?void 0:e.className)?(...t)=>Jo(null==e?void 0:e.className(...t),l.className):Jo(null==e?void 0:e.className,l.className),n=t?{className:t}:{};return(0,r.cloneElement)(u,Object.assign({},ri(u.props,oi(ii(l,["ref"]))),d,c,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}}(u.ref,c.ref),n))}return(0,r.createElement)(o,Object.assign({},ii(l,["ref"]),o!==r.Fragment&&c,o!==r.Fragment&&d),u)}function ri(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map((e=>[e,void 0]))));for(let e in n)Object.assign(t,{[e](t,...r){let a=n[e];for(let e of a){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...r)}}});return t}function ai(e){var t;return Object.assign((0,r.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function oi(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function ii(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}var si=Object.defineProperty,li=(e,t,n)=>(((e,t,n)=>{t in e?si(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);let ci=new class{constructor(){li(this,"current",this.detect()),li(this,"handoffState","pending"),li(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},ui=(e,t)=>{ci.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)};function di(e){let t=(0,r.useRef)(e);return ui((()=>{t.current=e}),[e]),t}let fi=function(e){let t=di(e);return r.useCallback(((...e)=>t.current(...e)),[t])},pi=Symbol();function hi(...e){let t=(0,r.useRef)(e);(0,r.useEffect)((()=>{t.current=e}),[e]);let n=fi((e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[pi])))?void 0:n}function mi(){let[e,t]=(0,r.useState)(ci.isHandoffComplete);return e&&!1===ci.isHandoffComplete&&t(!1),(0,r.useEffect)((()=>{!0!==e&&t(!0)}),[e]),(0,r.useEffect)((()=>ci.handoff()),[]),e}var Ci;let yi=null!=(Ci=r.useId)?Ci:function(){let e=mi(),[t,n]=r.useState(e?()=>ci.nextId():null);return ui((()=>{null===t&&n(ci.nextId())}),[t]),null!=t?""+t:void 0};var gi,vi=((gi=vi||{}).Space=" ",gi.Enter="Enter",gi.Escape="Escape",gi.Backspace="Backspace",gi.Delete="Delete",gi.ArrowLeft="ArrowLeft",gi.ArrowUp="ArrowUp",gi.ArrowRight="ArrowRight",gi.ArrowDown="ArrowDown",gi.Home="Home",gi.End="End",gi.PageUp="PageUp",gi.PageDown="PageDown",gi.Tab="Tab",gi);function bi(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}function wi(e){return ci.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let Ei=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var xi,Mi=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Mi||{}),Li=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Li||{}),Si=((xi=Si||{})[xi.Previous=-1]="Previous",xi[xi.Next=1]="Next",xi);function Ai(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(Ei)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var Oi=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Oi||{});function Ti(e,t=0){var n;return e!==(null==(n=wi(e))?void 0:n.body)&&$o(t,{0(){return e.matches(Ei)},1(){let t=e;for(;null!==t;){if(t.matches(Ei))return!0;t=t.parentElement}return!1}})}var Pi=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Pi||{});"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let ki=["textarea","input"].join(",");function Zi(e,t=(e=>e)){return e.slice().sort(((e,n)=>{let r=t(e),a=t(n);if(null===r||null===a)return 0;let o=r.compareDocumentPosition(a);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function Hi(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:a=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,i=Array.isArray(e)?n?Zi(e):e:Ai(e);a.length>0&&i.length>1&&(i=i.filter((e=>!a.includes(e)))),r=null!=r?r:o.activeElement;let s,l=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,i.indexOf(r))-1;if(4&t)return Math.max(0,i.indexOf(r))+1;if(8&t)return i.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=32&t?{preventScroll:!0}:{},d=0,f=i.length;do{if(d>=f||d+f<=0)return 0;let e=c+d;if(16&t)e=(e+f)%f;else{if(e<0)return 3;if(e>=f)return 1}s=i[e],null==s||s.focus(u),d+=l}while(s!==o.activeElement);return 6&t&&function(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,ki))&&n}(s)&&s.select(),2}let Ri=(0,r.createContext)(null);Ri.displayName="OpenClosedContext";var ji=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(ji||{});function Fi(){return(0,r.useContext)(Ri)}function Ni({value:e,children:t}){return r.createElement(Ri.Provider,{value:e},t)}function Ii(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}function _i(e,t){let[n,a]=(0,r.useState)((()=>Ii(e)));return ui((()=>{a(Ii(e))}),[e.type,e.as]),ui((()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&a("button")}),[n,t]),n}function Di(e,t,n){let a=di(t);(0,r.useEffect)((()=>{function t(e){a.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)}),[e,n])}function Vi(...e){return(0,r.useMemo)((()=>wi(...e)),[...e])}var Ui=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Ui||{});let Bi=ai((function(e,t){let{features:n=1,...r}=e;return ti({ourProps:{ref:t,"aria-hidden":2==(2&n)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...4==(4&n)&&2!=(2&n)&&{display:"none"}}},theirProps:r,slot:{},defaultTag:"div",name:"Hidden"})}));var qi=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(qi||{});function zi(){let e=(0,r.useRef)(0);return function(e,t,n){let a=di(t);(0,r.useEffect)((()=>{function t(e){a.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)}),[e,n])}("keydown",(t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}var Gi=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Gi||{}),Wi=(e=>(e[e.TogglePopover=0]="TogglePopover",e[e.ClosePopover=1]="ClosePopover",e[e.SetButton=2]="SetButton",e[e.SetButtonId=3]="SetButtonId",e[e.SetPanel=4]="SetPanel",e[e.SetPanelId=5]="SetPanelId",e))(Wi||{});let Qi={0:e=>({...e,popoverState:$o(e.popoverState,{0:1,1:0})}),1(e){return 1===e.popoverState?e:{...e,popoverState:1}},2(e,t){return e.button===t.button?e:{...e,button:t.button}},3(e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},4(e,t){return e.panel===t.panel?e:{...e,panel:t.panel}},5(e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}},Ki=(0,r.createContext)(null);function $i(e){let t=(0,r.useContext)(Ki);if(null===t){let t=new Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,$i),t}return t}Ki.displayName="PopoverContext";let Ji=(0,r.createContext)(null);function Yi(e){let t=(0,r.useContext)(Ji);if(null===t){let t=new Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Yi),t}return t}Ji.displayName="PopoverAPIContext";let Xi=(0,r.createContext)(null);function es(){return(0,r.useContext)(Xi)}Xi.displayName="PopoverGroupContext";let ts=(0,r.createContext)(null);function ns(e,t){return $o(t.type,Qi,e,t)}ts.displayName="PopoverPanelContext";let rs=Xo.RenderStrategy|Xo.Static,as=Xo.RenderStrategy|Xo.Static,os=ai((function(e,t){var n;let a=(0,r.useRef)(null),o=hi(t,function(e,t=!0){return Object.assign(e,{[pi]:t})}((e=>{a.current=e}))),i=(0,r.useRef)([]),s=(0,r.useReducer)(ns,{popoverState:1,buttons:i,button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:(0,r.createRef)(),afterPanelSentinel:(0,r.createRef)()}),[{popoverState:l,button:c,buttonId:u,panel:d,panelId:f,beforePanelSentinel:p,afterPanelSentinel:h},m]=s,C=Vi(null!=(n=a.current)?n:c),y=(0,r.useMemo)((()=>{if(!c||!d)return!1;for(let e of document.querySelectorAll("body > *"))if(Number(null==e?void 0:e.contains(c))^Number(null==e?void 0:e.contains(d)))return!0;let e=Ai(),t=e.indexOf(c),n=(t+e.length-1)%e.length,r=(t+1)%e.length,a=e[n],o=e[r];return!d.contains(a)&&!d.contains(o)}),[c,d]),g=di(u),v=di(f),b=(0,r.useMemo)((()=>({buttonId:g,panelId:v,close:()=>m({type:1})})),[g,v,m]),w=es(),E=null==w?void 0:w.registerPopover,x=fi((()=>{var e;return null!=(e=null==w?void 0:w.isFocusWithinPopoverGroup())?e:(null==C?void 0:C.activeElement)&&((null==c?void 0:c.contains(C.activeElement))||(null==d?void 0:d.contains(C.activeElement)))}));(0,r.useEffect)((()=>null==E?void 0:E(b)),[E,b]),function(e,t,n,a){let o=di(n);(0,r.useEffect)((()=>{function n(e){o.current(e)}return(e=null!=e?e:window).addEventListener(t,n,a),()=>e.removeEventListener(t,n,a)}),[e,t,a])}(null==C?void 0:C.defaultView,"focus",(e=>{var t,n,r,a;0===l&&(x()||c&&d&&e.target!==window&&(null!=(n=null==(t=p.current)?void 0:t.contains)&&n.call(t,e.target)||null!=(a=null==(r=h.current)?void 0:r.contains)&&a.call(r,e.target)||m({type:1})))}),!0),function(e,t,n=!0){let a=(0,r.useRef)(!1);function o(n,r){if(!a.current||n.defaultPrevented)return;let o=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),i=r(n);if(null!==i&&i.getRootNode().contains(i)){for(let e of o){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(i)||n.composed&&n.composedPath().includes(t))return}return!Ti(i,Oi.Loose)&&-1!==i.tabIndex&&n.preventDefault(),t(n,i)}}(0,r.useEffect)((()=>{requestAnimationFrame((()=>{a.current=n}))}),[n]);let i=(0,r.useRef)(null);Di("mousedown",(e=>{var t,n;a.current&&(i.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),Di("click",(e=>{i.current&&(o(e,(()=>i.current)),i.current=null)}),!0),Di("blur",(e=>o(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}([c,d],((e,t)=>{m({type:1}),Ti(t,Oi.Loose)||(e.preventDefault(),null==c||c.focus())}),0===l);let M=fi((e=>{m({type:1});let t=e?e instanceof HTMLElement?e:"current"in e&&e.current instanceof HTMLElement?e.current:c:c;null==t||t.focus()})),L=(0,r.useMemo)((()=>({close:M,isPortalled:y})),[M,y]),S=(0,r.useMemo)((()=>({open:0===l,close:M})),[l,M]),A=e,O={ref:o};return r.createElement(ts.Provider,{value:null},r.createElement(Ki.Provider,{value:s},r.createElement(Ji.Provider,{value:L},r.createElement(Ni,{value:$o(l,{0:ji.Open,1:ji.Closed})},ti({ourProps:O,theirProps:A,slot:S,defaultTag:"div",name:"Popover"})))))})),is=ai((function(e,t){let n=yi(),{id:a=`headlessui-popover-button-${n}`,...o}=e,[i,s]=$i("Popover.Button"),{isPortalled:l}=Yi("Popover.Button"),c=(0,r.useRef)(null),u=`headlessui-focus-sentinel-${yi()}`,d=es(),f=null==d?void 0:d.closeOthers,p=null!==(0,r.useContext)(ts);(0,r.useEffect)((()=>{if(!p)return s({type:3,buttonId:a}),()=>{s({type:3,buttonId:null})}}),[p,a,s]);let[h]=(0,r.useState)((()=>Symbol())),m=hi(c,t,p?null:e=>{if(e)i.buttons.current.push(h);else{let e=i.buttons.current.indexOf(h);-1!==e&&i.buttons.current.splice(e,1)}i.buttons.current.length>1&&console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."),e&&s({type:2,button:e})}),C=hi(c,t),y=Vi(c),g=fi((e=>{var t,n,r;if(p){if(1===i.popoverState)return;switch(e.key){case vi.Space:case vi.Enter:e.preventDefault(),null==(n=(t=e.target).click)||n.call(t),s({type:1}),null==(r=i.button)||r.focus()}}else switch(e.key){case vi.Space:case vi.Enter:e.preventDefault(),e.stopPropagation(),1===i.popoverState&&(null==f||f(i.buttonId)),s({type:0});break;case vi.Escape:if(0!==i.popoverState)return null==f?void 0:f(i.buttonId);if(!c.current||null!=y&&y.activeElement&&!c.current.contains(y.activeElement))return;e.preventDefault(),e.stopPropagation(),s({type:1})}})),v=fi((e=>{p||e.key===vi.Space&&e.preventDefault()})),b=fi((t=>{var n,r;bi(t.currentTarget)||e.disabled||(p?(s({type:1}),null==(n=i.button)||n.focus()):(t.preventDefault(),t.stopPropagation(),1===i.popoverState&&(null==f||f(i.buttonId)),s({type:0}),null==(r=i.button)||r.focus()))})),w=fi((e=>{e.preventDefault(),e.stopPropagation()})),E=0===i.popoverState,x=(0,r.useMemo)((()=>({open:E})),[E]),M=_i(e,c),L=p?{ref:C,type:M,onKeyDown:g,onClick:b}:{ref:m,id:i.buttonId,type:M,"aria-expanded":e.disabled?void 0:0===i.popoverState,"aria-controls":i.panel?i.panelId:void 0,onKeyDown:g,onKeyUp:v,onClick:b,onMouseDown:w},S=zi(),A=fi((()=>{let e=i.panel;e&&$o(S.current,{[qi.Forwards]:()=>Hi(e,Mi.First),[qi.Backwards]:()=>Hi(e,Mi.Last)})===Li.Error&&Hi(Ai().filter((e=>"true"!==e.dataset.headlessuiFocusGuard)),$o(S.current,{[qi.Forwards]:Mi.Next,[qi.Backwards]:Mi.Previous}),{relativeTo:i.button})}));return r.createElement(r.Fragment,null,ti({ourProps:L,theirProps:o,slot:x,defaultTag:"button",name:"Popover.Button"}),E&&!p&&l&&r.createElement(Bi,{id:u,features:Ui.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:A}))})),ss=ai((function(e,t){let n=yi(),{id:a=`headlessui-popover-overlay-${n}`,...o}=e,[{popoverState:i},s]=$i("Popover.Overlay"),l=hi(t),c=Fi(),u=null!==c?(c&ji.Open)===ji.Open:0===i,d=fi((e=>{if(bi(e.currentTarget))return e.preventDefault();s({type:1})}));return ti({ourProps:{ref:l,id:a,"aria-hidden":!0,onClick:d},theirProps:o,slot:(0,r.useMemo)((()=>({open:0===i})),[i]),defaultTag:"div",features:rs,visible:u,name:"Popover.Overlay"})})),ls=ai((function(e,t){let n=yi(),{id:a=`headlessui-popover-panel-${n}`,focus:o=!1,...i}=e,[s,l]=$i("Popover.Panel"),{close:c,isPortalled:u}=Yi("Popover.Panel"),d=`headlessui-focus-sentinel-before-${yi()}`,f=`headlessui-focus-sentinel-after-${yi()}`,p=(0,r.useRef)(null),h=hi(p,t,(e=>{l({type:4,panel:e})})),m=Vi(p);ui((()=>(l({type:5,panelId:a}),()=>{l({type:5,panelId:null})})),[a,l]);let C=Fi(),y=null!==C?(C&ji.Open)===ji.Open:0===s.popoverState,g=fi((e=>{var t;if(e.key===vi.Escape){if(0!==s.popoverState||!p.current||null!=m&&m.activeElement&&!p.current.contains(m.activeElement))return;e.preventDefault(),e.stopPropagation(),l({type:1}),null==(t=s.button)||t.focus()}}));(0,r.useEffect)((()=>{var t;e.static||1===s.popoverState&&(null==(t=e.unmount)||t)&&l({type:4,panel:null})}),[s.popoverState,e.unmount,e.static,l]),(0,r.useEffect)((()=>{if(!o||0!==s.popoverState||!p.current)return;let e=null==m?void 0:m.activeElement;p.current.contains(e)||Hi(p.current,Mi.First)}),[o,p,s.popoverState]);let v=(0,r.useMemo)((()=>({open:0===s.popoverState,close:c})),[s,c]),b={ref:h,id:a,onKeyDown:g,onBlur:o&&0===s.popoverState?e=>{var t,n,r,a,o;let i=e.relatedTarget;i&&p.current&&(null!=(t=p.current)&&t.contains(i)||(l({type:1}),(null!=(r=null==(n=s.beforePanelSentinel.current)?void 0:n.contains)&&r.call(n,i)||null!=(o=null==(a=s.afterPanelSentinel.current)?void 0:a.contains)&&o.call(a,i))&&i.focus({preventScroll:!0})))}:void 0,tabIndex:-1},w=zi(),E=fi((()=>{let e=p.current;e&&$o(w.current,{[qi.Forwards]:()=>{var t;Hi(e,Mi.First)===Li.Error&&(null==(t=s.afterPanelSentinel.current)||t.focus())},[qi.Backwards]:()=>{var e;null==(e=s.button)||e.focus({preventScroll:!0})}})})),x=fi((()=>{let e=p.current;e&&$o(w.current,{[qi.Forwards]:()=>{var e;if(!s.button)return;let t=Ai(),n=t.indexOf(s.button),r=t.slice(0,n+1),a=[...t.slice(n+1),...r];for(let t of a.slice())if("true"===t.dataset.headlessuiFocusGuard||null!=(e=s.panel)&&e.contains(t)){let e=a.indexOf(t);-1!==e&&a.splice(e,1)}Hi(a,Mi.First,{sorted:!1})},[qi.Backwards]:()=>{var t;Hi(e,Mi.Previous)===Li.Error&&(null==(t=s.button)||t.focus())}})}));return r.createElement(ts.Provider,{value:a},y&&u&&r.createElement(Bi,{id:d,ref:s.beforePanelSentinel,features:Ui.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:E}),ti({ourProps:b,theirProps:i,slot:v,defaultTag:"div",features:as,visible:y,name:"Popover.Panel"}),y&&u&&r.createElement(Bi,{id:f,ref:s.afterPanelSentinel,features:Ui.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:x}))})),cs=ai((function(e,t){let n=(0,r.useRef)(null),a=hi(n,t),[o,i]=(0,r.useState)([]),s=fi((e=>{i((t=>{let n=t.indexOf(e);if(-1!==n){let e=t.slice();return e.splice(n,1),e}return t}))})),l=fi((e=>(i((t=>[...t,e])),()=>s(e)))),c=fi((()=>{var e;let t=wi(n);if(!t)return!1;let r=t.activeElement;return!(null==(e=n.current)||!e.contains(r))||o.some((e=>{var n,a;return(null==(n=t.getElementById(e.buttonId.current))?void 0:n.contains(r))||(null==(a=t.getElementById(e.panelId.current))?void 0:a.contains(r))}))})),u=fi((e=>{for(let t of o)t.buttonId.current!==e&&t.close()})),d=(0,r.useMemo)((()=>({registerPopover:l,unregisterPopover:s,isFocusWithinPopoverGroup:c,closeOthers:u})),[l,s,c,u]),f=(0,r.useMemo)((()=>({})),[]),p=e,h={ref:a};return r.createElement(Xi.Provider,{value:d},ti({ourProps:h,theirProps:p,slot:f,defaultTag:"div",name:"Popover.Group"}))})),us=Object.assign(os,{Button:is,Overlay:ss,Panel:ls,Group:cs});var ds=Object.defineProperty,fs=Object.defineProperties,ps=Object.getOwnPropertyDescriptors,hs=Object.getOwnPropertySymbols,ms=Object.prototype.hasOwnProperty,Cs=Object.prototype.propertyIsEnumerable,ys=(e,t,n)=>t in e?ds(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const gs=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M246.15,133.18,146.83,33.86A19.85,19.85,0,0,0,132.69,28H40A12,12,0,0,0,28,40v92.69a19.85,19.85,0,0,0,5.86,14.14l99.32,99.32a20,20,0,0,0,28.28,0l84.69-84.69A20,20,0,0,0,246.15,133.18Zm-98.83,93.17L52,131V52h79l95.32,95.32ZM100,84A16,16,0,1,1,84,68,16,16,0,0,1,100,84Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M237.66,153,153,237.66a8,8,0,0,1-11.31,0L42.34,138.34A8,8,0,0,1,40,132.69V40h92.69a8,8,0,0,1,5.65,2.34l99.32,99.32A8,8,0,0,1,237.66,153Z",opacity:"0.2"}),a().createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63ZM84,96A12,12,0,1,1,96,84,12,12,0,0,1,84,96Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M241.91,137.42,142.59,38.1a13.94,13.94,0,0,0-9.9-4.1H40a6,6,0,0,0-6,6v92.69a13.94,13.94,0,0,0,4.1,9.9l99.32,99.32a14,14,0,0,0,19.8,0l84.69-84.69A14,14,0,0,0,241.91,137.42Zm-8.49,11.31-84.69,84.69a2,2,0,0,1-2.83,0L46.59,134.1a2,2,0,0,1-.59-1.41V46h86.69a2,2,0,0,1,1.41.59l99.32,99.31A2,2,0,0,1,233.42,148.73ZM94,84A10,10,0,1,1,84,74,10,10,0,0,1,94,84Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M240.49,138.83,141.17,39.51A11.93,11.93,0,0,0,132.69,36H40a4,4,0,0,0-4,4v92.69a11.93,11.93,0,0,0,3.51,8.48l99.32,99.32a12,12,0,0,0,17,0l84.69-84.69a12,12,0,0,0,0-17Zm-5.66,11.31-84.69,84.69a4,4,0,0,1-5.65,0L45.17,135.51A4,4,0,0,1,44,132.69V44h88.69a4,4,0,0,1,2.82,1.17l99.32,99.32A4,4,0,0,1,234.83,150.14ZM92,84a8,8,0,1,1-8-8A8,8,0,0,1,92,84Z"}))]]),vs=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>fs(e,ps(t)))(((e,t)=>{for(var n in t||(t={}))ms.call(t,n)&&ys(e,n,t[n]);if(hs)for(var n of hs(t))Cs.call(t,n)&&ys(e,n,t[n]);return e})({ref:t},e),{weights:gs}))));vs.displayName="Tag";var bs=Object.defineProperty,ws=Object.defineProperties,Es=Object.getOwnPropertyDescriptors,xs=Object.getOwnPropertySymbols,Ms=Object.prototype.hasOwnProperty,Ls=Object.prototype.propertyIsEnumerable,Ss=(e,t,n)=>t in e?bs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const As=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),a().createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]]),Os=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>ws(e,Es(t)))(((e,t)=>{for(var n in t||(t={}))Ms.call(t,n)&&Ss(e,n,t[n]);if(xs)for(var n of xs(t))Ls.call(t,n)&&Ss(e,n,t[n]);return e})({ref:t},e),{weights:As}))));function Ts(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");const n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function Ps(e){return Math.min(1,Math.max(0,e))}function ks(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Zs(e){return Number(e)<=1?100*Number(e)+"%":e}function Hs(e){return 1===e.length?"0"+e:String(e)}function Rs(e,t,n){e=Ts(e,255),t=Ts(t,255),n=Ts(n,255);const r=Math.max(e,t,n),a=Math.min(e,t,n);let o=0,i=0;const s=(r+a)/2;if(r===a)i=0,o=0;else{const l=r-a;switch(i=s>.5?l/(2-r-a):l/(r+a),r){case e:o=(t-n)/l+(t<n?6:0);break;case t:o=(n-e)/l+2;break;case n:o=(e-t)/l+4}o/=6}return{h:o,s:i,l:s}}function js(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Fs(e,t,n){e=Ts(e,255),t=Ts(t,255),n=Ts(n,255);const r=Math.max(e,t,n),a=Math.min(e,t,n);let o=0;const i=r,s=r-a,l=0===r?0:s/r;if(r===a)o=0;else{switch(r){case e:o=(t-n)/s+(t<n?6:0);break;case t:o=(n-e)/s+2;break;case n:o=(e-t)/s+4}o/=6}return{h:o,s:l,v:i}}function Ns(e,t,n,r){const a=[Hs(Math.round(e).toString(16)),Hs(Math.round(t).toString(16)),Hs(Math.round(n).toString(16))];return r&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function Is(e,t,n){let r=1-e/255,a=1-t/255,o=1-n/255,i=Math.min(r,a,o);return 1===i?(r=0,a=0,o=0):(r=(r-i)/(1-i)*100,a=(a-i)/(1-i)*100,o=(o-i)/(1-i)*100),i*=100,{c:Math.round(r),m:Math.round(a),y:Math.round(o),k:Math.round(i)}}function _s(e){return Math.round(255*parseFloat(e)).toString(16)}function Ds(e){return Vs(e)/255}function Vs(e){return parseInt(e,16)}Os.displayName="CaretDown";const Us={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};const Bs="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",qs="[\\s|\\(]+("+Bs+")[,|\\s]+("+Bs+")[,|\\s]+("+Bs+")\\s*\\)?",zs="[\\s|\\(]+("+Bs+")[,|\\s]+("+Bs+")[,|\\s]+("+Bs+")[,|\\s]+("+Bs+")\\s*\\)?",Gs={CSS_UNIT:new RegExp(Bs),rgb:new RegExp("rgb"+qs),rgba:new RegExp("rgba"+zs),hsl:new RegExp("hsl"+qs),hsla:new RegExp("hsla"+zs),hsv:new RegExp("hsv"+qs),hsva:new RegExp("hsva"+zs),cmyk:new RegExp("cmyk"+zs),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Ws(e){return"number"==typeof e?!Number.isNaN(e):Gs.CSS_UNIT.test(e)}class Qs{constructor(e="",t={}){if(e instanceof Qs)return e;"number"==typeof e&&(e=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(e)),this.originalInput=e;const n=function(e){let t={r:0,g:0,b:0},n=1,r=null,a=null,o=null,i=!1,s=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;let t=!1;if(Us[e])e=Us[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};let n=Gs.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Gs.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Gs.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Gs.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Gs.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Gs.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Gs.cmyk.exec(e),n?{c:n[1],m:n[2],y:n[3],k:n[4]}:(n=Gs.hex8.exec(e),n?{r:Vs(n[1]),g:Vs(n[2]),b:Vs(n[3]),a:Ds(n[4]),format:t?"name":"hex8"}:(n=Gs.hex6.exec(e),n?{r:Vs(n[1]),g:Vs(n[2]),b:Vs(n[3]),format:t?"name":"hex"}:(n=Gs.hex4.exec(e),n?{r:Vs(n[1]+n[1]),g:Vs(n[2]+n[2]),b:Vs(n[3]+n[3]),a:Ds(n[4]+n[4]),format:t?"name":"hex8"}:(n=Gs.hex3.exec(e),!!n&&{r:Vs(n[1]+n[1]),g:Vs(n[2]+n[2]),b:Vs(n[3]+n[3]),format:t?"name":"hex"}))))))))))}(e)),"object"==typeof e&&(Ws(e.r)&&Ws(e.g)&&Ws(e.b)?(t=function(e,t,n){return{r:255*Ts(e,255),g:255*Ts(t,255),b:255*Ts(n,255)}}(e.r,e.g,e.b),i=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):Ws(e.h)&&Ws(e.s)&&Ws(e.v)?(r=Zs(e.s),a=Zs(e.v),t=function(e,t,n){e=6*Ts(e,360),t=Ts(t,100),n=Ts(n,100);const r=Math.floor(e),a=e-r,o=n*(1-t),i=n*(1-a*t),s=n*(1-(1-a)*t),l=r%6;return{r:255*[n,i,o,o,s,n][l],g:255*[s,n,n,i,o,o][l],b:255*[o,o,s,n,n,i][l]}}(e.h,r,a),i=!0,s="hsv"):Ws(e.h)&&Ws(e.s)&&Ws(e.l)?(r=Zs(e.s),o=Zs(e.l),t=function(e,t,n){let r,a,o;if(e=Ts(e,360),t=Ts(t,100),n=Ts(n,100),0===t)a=n,o=n,r=n;else{const i=n<.5?n*(1+t):n+t-n*t,s=2*n-i;r=js(s,i,e+1/3),a=js(s,i,e),o=js(s,i,e-1/3)}return{r:255*r,g:255*a,b:255*o}}(e.h,r,o),i=!0,s="hsl"):Ws(e.c)&&Ws(e.m)&&Ws(e.y)&&Ws(e.k)&&(t=function(e,t,n,r){const a=r/100;return{r:255*(1-e/100)*(1-a),g:255*(1-t/100)*(1-a),b:255*(1-n/100)*(1-a)}}(e.c,e.m,e.y,e.k),i=!0,s="cmyk"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=ks(n),{ok:i,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}(e);this.originalInput=e,this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a,this.roundA=Math.round(100*this.a)/100,this.format=t.format??n.format,this.gradientType=t.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=n.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){const e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3}getLuminance(){const e=this.toRgb();let t,n,r;const a=e.r/255,o=e.g/255,i=e.b/255;return t=a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4),n=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4),r=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4),.2126*t+.7152*n+.0722*r}getAlpha(){return this.a}setAlpha(e){return this.a=ks(e),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){const{s:e}=this.toHsl();return 0===e}toHsv(){const e=Fs(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}}toHsvString(){const e=Fs(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?`hsv(${t}, ${n}%, ${r}%)`:`hsva(${t}, ${n}%, ${r}%, ${this.roundA})`}toHsl(){const e=Rs(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}}toHslString(){const e=Rs(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?`hsl(${t}, ${n}%, ${r}%)`:`hsla(${t}, ${n}%, ${r}%, ${this.roundA})`}toHex(e=!1){return Ns(this.r,this.g,this.b,e)}toHexString(e=!1){return"#"+this.toHex(e)}toHex8(e=!1){return function(e,t,n,r,a){const o=[Hs(Math.round(e).toString(16)),Hs(Math.round(t).toString(16)),Hs(Math.round(n).toString(16)),Hs(_s(r))];return a&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this.r,this.g,this.b,this.a,e)}toHex8String(e=!1){return"#"+this.toHex8(e)}toHexShortString(e=!1){return 1===this.a?this.toHexString(e):this.toHex8String(e)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){const e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?`rgb(${e}, ${t}, ${n})`:`rgba(${e}, ${t}, ${n}, ${this.roundA})`}toPercentageRgb(){const e=e=>`${Math.round(100*Ts(e,255))}%`;return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}}toPercentageRgbString(){const e=e=>Math.round(100*Ts(e,255));return 1===this.a?`rgb(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%)`:`rgba(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%, ${this.roundA})`}toCmyk(){return{...Is(this.r,this.g,this.b)}}toCmykString(){const{c:e,m:t,y:n,k:r}=Is(this.r,this.g,this.b);return`cmyk(${e}, ${t}, ${n}, ${r})`}toName(){if(0===this.a)return"transparent";if(this.a<1)return!1;const e="#"+Ns(this.r,this.g,this.b,!1);for(const[t,n]of Object.entries(Us))if(e===n)return t;return!1}toString(e){const t=Boolean(e);e=e??this.format;let n=!1;const r=this.a<1&&this.a>=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),"cmyk"===e&&(n=this.toCmykString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new Qs(this.toString())}lighten(e=10){const t=this.toHsl();return t.l+=e/100,t.l=Ps(t.l),new Qs(t)}brighten(e=10){const t=this.toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(-e/100*255))),t.g=Math.max(0,Math.min(255,t.g-Math.round(-e/100*255))),t.b=Math.max(0,Math.min(255,t.b-Math.round(-e/100*255))),new Qs(t)}darken(e=10){const t=this.toHsl();return t.l-=e/100,t.l=Ps(t.l),new Qs(t)}tint(e=10){return this.mix("white",e)}shade(e=10){return this.mix("black",e)}desaturate(e=10){const t=this.toHsl();return t.s-=e/100,t.s=Ps(t.s),new Qs(t)}saturate(e=10){const t=this.toHsl();return t.s+=e/100,t.s=Ps(t.s),new Qs(t)}greyscale(){return this.desaturate(100)}spin(e){const t=this.toHsl(),n=(t.h+e)%360;return t.h=n<0?360+n:n,new Qs(t)}mix(e,t=50){const n=this.toRgb(),r=new Qs(e).toRgb(),a=t/100,o={r:(r.r-n.r)*a+n.r,g:(r.g-n.g)*a+n.g,b:(r.b-n.b)*a+n.b,a:(r.a-n.a)*a+n.a};return new Qs(o)}analogous(e=6,t=30){const n=this.toHsl(),r=360/t,a=[this];for(n.h=(n.h-(r*e>>1)+720)%360;--e;)n.h=(n.h+r)%360,a.push(new Qs(n));return a}complement(){const e=this.toHsl();return e.h=(e.h+180)%360,new Qs(e)}monochromatic(e=6){const t=this.toHsv(),{h:n}=t,{s:r}=t;let{v:a}=t;const o=[],i=1/e;for(;e--;)o.push(new Qs({h:n,s:r,v:a})),a=(a+i)%1;return o}splitcomplement(){const e=this.toHsl(),{h:t}=e;return[this,new Qs({h:(t+72)%360,s:e.s,l:e.l}),new Qs({h:(t+216)%360,s:e.s,l:e.l})]}onBackground(e){const t=this.toRgb(),n=new Qs(e).toRgb(),r=t.a+n.a*(1-t.a);return new Qs({r:(t.r*t.a+n.r*n.a*(1-t.a))/r,g:(t.g*t.a+n.g*n.a*(1-t.a))/r,b:(t.b*t.a+n.b*n.a*(1-t.a))/r,a:r})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(e){const t=this.toHsl(),{h:n}=t,r=[this],a=360/e;for(let o=1;o<e;o++)r.push(new Qs({h:(n+o*a)%360,s:t.s,l:t.l}));return r}equals(e){const t=new Qs(e);return"cmyk"===this.format||"cmyk"===t.format?this.toCmykString()===t.toCmykString():this.toRgbString()===t.toRgbString()}}function Ks(t){var n,r,a,o,i=t.brand,s=t.className,l=t.collapsed,c=null===(r=null===(n=i.logos)||void 0===n?void 0:n[0])||void 0===r?void 0:r.url,u=l||c,d=(null===(o=null===(a=i.colors)||void 0===a?void 0:a[0])||void 0===o?void 0:o.hex)||"f8f2f8",f=(0,e.useMemo)((function(){return new Qs(d)}),[d]),p=f.isDark()?"ntw-text-typography-light":"ntw-text-typography-dark",h=f.toHexString();return(0,e.createElement)("span",{className:mn("ntw-flex ntw-items-center ntw-gap-8px ntw-text-left",s)},(0,e.createElement)("span",{className:mn("ntw-block ntw-h-24px ntw-w-24px ntw-shrink-0 ntw-overflow-hidden ntw-rounded ntw-border ntw-border-ui-default",{hidden:!u})},c?(0,e.createElement)("img",{src:c,alt:"Brand logo",className:"ntw-h-full ntw-w-full ntw-object-contain"}):(0,e.createElement)("span",{className:mn("ntw-text-paragraph-base-bold ntw-flex ntw-h-full ntw-w-full ntw-items-center ntw-justify-center",p),style:{backgroundColor:h}},i.name[0])),(0,e.createElement)("span",{className:mn("ntw-grow ntw-truncate",{hidden:l})},i.name))}function $s(){let e=(0,r.useRef)(!1);return ui((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function Js(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function Ys(){let e=[],t={addEventListener(e,n,r,a){return e.addEventListener(n,r,a),t.add((()=>e.removeEventListener(n,r,a)))},requestAnimationFrame(...e){let n=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(n)))},nextFrame(...e){return t.requestAnimationFrame((()=>t.requestAnimationFrame(...e)))},setTimeout(...e){let n=setTimeout(...e);return t.add((()=>clearTimeout(n)))},microTask(...e){let n={current:!0};return Js((()=>{n.current&&e[0]()})),t.add((()=>{n.current=!1}))},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add((()=>{Object.assign(e.style,{[t]:r})}))},group(e){let t=Ys();return e(t),this.add((()=>t.dispose()))},add(t){return e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}},dispose(){for(let t of e.splice(0))t()}};return t}function Xs(e,...t){e&&t.length>0&&e.classList.add(...t)}function el(e,...t){e&&t.length>0&&e.classList.remove(...t)}function tl(){let[e]=(0,r.useState)(Ys);return(0,r.useEffect)((()=>()=>e.dispose()),[e]),e}function nl(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let rl=(0,r.createContext)(null);rl.displayName="TransitionContext";var al=(e=>(e.Visible="visible",e.Hidden="hidden",e))(al||{});let ol=(0,r.createContext)(null);function il(e){return"children"in e?il(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function sl(e,t){let n=di(e),a=(0,r.useRef)([]),o=$s(),i=tl(),s=fi(((e,t=ei.Hidden)=>{let r=a.current.findIndex((({el:t})=>t===e));-1!==r&&($o(t,{[ei.Unmount](){a.current.splice(r,1)},[ei.Hidden](){a.current[r].state="hidden"}}),i.microTask((()=>{var e;!il(a)&&o.current&&(null==(e=n.current)||e.call(n))})))})),l=fi((e=>{let t=a.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):a.current.push({el:e,state:"visible"}),()=>s(e,ei.Unmount)})),c=(0,r.useRef)([]),u=(0,r.useRef)(Promise.resolve()),d=(0,r.useRef)({enter:[],leave:[],idle:[]}),f=fi(((e,n,r)=>{c.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter((([t])=>t!==e))),null==t||t.chains.current[n].push([e,new Promise((e=>{c.current.push(e)}))]),null==t||t.chains.current[n].push([e,new Promise((e=>{Promise.all(d.current[n].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===n?u.current=u.current.then((()=>null==t?void 0:t.wait.current)).then((()=>r(n))):r(n)})),p=fi(((e,t,n)=>{Promise.all(d.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=c.current.shift())||e()})).then((()=>n(t)))}));return(0,r.useMemo)((()=>({children:a,register:l,unregister:s,onStart:f,onStop:p,wait:u,chains:d})),[l,s,a,f,p,d,u])}function ll(){}ol.displayName="NestingContext";let cl=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function ul(e){var t;let n={};for(let r of cl)n[r]=null!=(t=e[r])?t:ll;return n}let dl=Xo.RenderStrategy,fl=ai((function(e,t){let{show:n,appear:a=!1,unmount:o,...i}=e,s=(0,r.useRef)(null),l=hi(s,t);mi();let c=Fi();if(void 0===n&&null!==c&&(n=(c&ji.Open)===ji.Open),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[u,d]=(0,r.useState)(n?"visible":"hidden"),f=sl((()=>{d("hidden")})),[p,h]=(0,r.useState)(!0),m=(0,r.useRef)([n]);ui((()=>{!1!==p&&m.current[m.current.length-1]!==n&&(m.current.push(n),h(!1))}),[m,n]);let C=(0,r.useMemo)((()=>({show:n,appear:a,initial:p})),[n,a,p]);(0,r.useEffect)((()=>{if(n)d("visible");else if(il(f)){let e=s.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&d("hidden")}else d("hidden")}),[n,f]);let y={unmount:o};return r.createElement(ol.Provider,{value:f},r.createElement(rl.Provider,{value:C},ti({ourProps:{...y,as:r.Fragment,children:r.createElement(pl,{ref:l,...y,...i})},theirProps:{},defaultTag:r.Fragment,features:dl,visible:"visible"===u,name:"Transition"})))})),pl=ai((function(e,t){let{beforeEnter:n,afterEnter:a,beforeLeave:o,afterLeave:i,enter:s,enterFrom:l,enterTo:c,entered:u,leave:d,leaveFrom:f,leaveTo:p,...h}=e,m=(0,r.useRef)(null),C=hi(m,t),y=h.unmount?ei.Unmount:ei.Hidden,{show:g,appear:v,initial:b}=function(){let e=(0,r.useContext)(rl);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[w,E]=(0,r.useState)(g?"visible":"hidden"),x=function(){let e=(0,r.useContext)(ol);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:M,unregister:L}=x,S=(0,r.useRef)(null);(0,r.useEffect)((()=>M(m)),[M,m]),(0,r.useEffect)((()=>{if(y===ei.Hidden&&m.current)return g&&"visible"!==w?void E("visible"):$o(w,{hidden:()=>L(m),visible:()=>M(m)})}),[w,m,M,L,g,y]);let A=di({enter:nl(s),enterFrom:nl(l),enterTo:nl(c),entered:nl(u),leave:nl(d),leaveFrom:nl(f),leaveTo:nl(p)}),O=function(e){let t=(0,r.useRef)(ul(e));return(0,r.useEffect)((()=>{t.current=ul(e)}),[e]),t}({beforeEnter:n,afterEnter:a,beforeLeave:o,afterLeave:i}),T=mi();(0,r.useEffect)((()=>{if(T&&"visible"===w&&null===m.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[m,w,T]);let P=b&&!v,k=!T||P||S.current===g?"idle":g?"enter":"leave",Z=function(e=0){let[t,n]=(0,r.useState)(e),a=$s(),o=(0,r.useCallback)((e=>{a.current&&n((t=>t|e))}),[t,a]),i=(0,r.useCallback)((e=>Boolean(t&e)),[t]),s=(0,r.useCallback)((e=>{a.current&&n((t=>t&~e))}),[n,a]),l=(0,r.useCallback)((e=>{a.current&&n((t=>t^e))}),[n]);return{flags:t,addFlag:o,hasFlag:i,removeFlag:s,toggleFlag:l}}(0),H=fi((e=>$o(e,{enter:()=>{Z.addFlag(ji.Opening),O.current.beforeEnter()},leave:()=>{Z.addFlag(ji.Closing),O.current.beforeLeave()},idle:()=>{}}))),R=fi((e=>$o(e,{enter:()=>{Z.removeFlag(ji.Opening),O.current.afterEnter()},leave:()=>{Z.removeFlag(ji.Closing),O.current.afterLeave()},idle:()=>{}}))),j=sl((()=>{E("hidden"),L(m)}),x);(function({container:e,direction:t,classes:n,onStart:r,onStop:a}){let o=$s(),i=tl(),s=di(t);ui((()=>{let t=Ys();i.add(t.dispose);let l=e.current;if(l&&"idle"!==s.current&&o.current)return t.dispose(),r.current(s.current),t.add(function(e,t,n,r){let a=n?"enter":"leave",o=Ys(),i=void 0!==r?function(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}(r):()=>{};"enter"===a&&(e.removeAttribute("hidden"),e.style.display="");let s=$o(a,{enter:()=>t.enter,leave:()=>t.leave}),l=$o(a,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=$o(a,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return el(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),Xs(e,...s,...c),o.nextFrame((()=>{el(e,...c),Xs(e,...l),function(e,t){let n=Ys();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:a}=getComputedStyle(e),[o,i]=[r,a].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t})),s=o+i;if(0!==s){n.group((n=>{n.setTimeout((()=>{t(),n.dispose()}),s),n.addEventListener(e,"transitionrun",(e=>{e.target===e.currentTarget&&n.dispose()}))}));let r=n.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),r())}))}else t();n.add((()=>t())),n.dispose}(e,(()=>(el(e,...s),Xs(e,...t.entered),i())))})),o.dispose}(l,n.current,"enter"===s.current,(()=>{t.dispose(),a.current(s.current)}))),t.dispose}),[t])})({container:m,classes:A,direction:k,onStart:di((e=>{j.onStart(m,e,H)})),onStop:di((e=>{j.onStop(m,e,R),"leave"===e&&!il(j)&&(E("hidden"),L(m))}))}),(0,r.useEffect)((()=>{P&&(y===ei.Hidden?S.current=null:S.current=g)}),[g,P,w]);let F=h,N={ref:C};return v&&g&&(F={...F,className:Jo(h.className,...A.current.enter,...A.current.enterFrom)}),r.createElement(ol.Provider,{value:j},r.createElement(Ni,{value:$o(w,{visible:ji.Open,hidden:ji.Closed})|Z.flags},ti({ourProps:N,theirProps:F,defaultTag:"div",features:dl,visible:"visible"===w,name:"Transition.Child"})))})),hl=ai((function(e,t){let n=null!==(0,r.useContext)(rl),a=null!==Fi();return r.createElement(r.Fragment,null,!n&&a?r.createElement(fl,{ref:t,...e}):r.createElement(pl,{ref:t,...e}))})),ml=Object.assign(fl,{Child:hl,Root:fl});var Cl=window.ReactDOM;function yl(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function gl(e){return e instanceof yl(e).Element||e instanceof Element}function vl(e){return e instanceof yl(e).HTMLElement||e instanceof HTMLElement}function bl(e){return"undefined"!=typeof ShadowRoot&&(e instanceof yl(e).ShadowRoot||e instanceof ShadowRoot)}var wl=Math.max,El=Math.min,xl=Math.round;function Ml(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Ll(){return!/^((?!chrome|android).)*safari/i.test(Ml())}function Sl(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),a=1,o=1;t&&vl(e)&&(a=e.offsetWidth>0&&xl(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&xl(r.height)/e.offsetHeight||1);var i=(gl(e)?yl(e):window).visualViewport,s=!Ll()&&n,l=(r.left+(s&&i?i.offsetLeft:0))/a,c=(r.top+(s&&i?i.offsetTop:0))/o,u=r.width/a,d=r.height/o;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function Al(e){var t=yl(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ol(e){return e?(e.nodeName||"").toLowerCase():null}function Tl(e){return((gl(e)?e.ownerDocument:e.document)||window.document).documentElement}function Pl(e){return Sl(Tl(e)).left+Al(e).scrollLeft}function kl(e){return yl(e).getComputedStyle(e)}function Zl(e){var t=kl(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function Hl(e,t,n){void 0===n&&(n=!1);var r,a,o=vl(t),i=vl(t)&&function(e){var t=e.getBoundingClientRect(),n=xl(t.width)/e.offsetWidth||1,r=xl(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=Tl(t),l=Sl(e,i,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==Ol(t)||Zl(s))&&(c=(r=t)!==yl(r)&&vl(r)?{scrollLeft:(a=r).scrollLeft,scrollTop:a.scrollTop}:Al(r)),vl(t)?((u=Sl(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=Pl(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Rl(e){var t=Sl(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function jl(e){return"html"===Ol(e)?e:e.assignedSlot||e.parentNode||(bl(e)?e.host:null)||Tl(e)}function Fl(e){return["html","body","#document"].indexOf(Ol(e))>=0?e.ownerDocument.body:vl(e)&&Zl(e)?e:Fl(jl(e))}function Nl(e,t){var n;void 0===t&&(t=[]);var r=Fl(e),a=r===(null==(n=e.ownerDocument)?void 0:n.body),o=yl(r),i=a?[o].concat(o.visualViewport||[],Zl(r)?r:[]):r,s=t.concat(i);return a?s:s.concat(Nl(jl(i)))}function Il(e){return["table","td","th"].indexOf(Ol(e))>=0}function _l(e){return vl(e)&&"fixed"!==kl(e).position?e.offsetParent:null}function Dl(e){for(var t=yl(e),n=_l(e);n&&Il(n)&&"static"===kl(n).position;)n=_l(n);return n&&("html"===Ol(n)||"body"===Ol(n)&&"static"===kl(n).position)?t:n||function(e){var t=/firefox/i.test(Ml());if(/Trident/i.test(Ml())&&vl(e)&&"fixed"===kl(e).position)return null;var n=jl(e);for(bl(n)&&(n=n.host);vl(n)&&["html","body"].indexOf(Ol(n))<0;){var r=kl(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Vl="top",Ul="bottom",Bl="right",ql="left",zl="auto",Gl=[Vl,Ul,Bl,ql],Wl="start",Ql="end",Kl="viewport",$l="popper",Jl=Gl.reduce((function(e,t){return e.concat([t+"-"+Wl,t+"-"+Ql])}),[]),Yl=[].concat(Gl,[zl]).reduce((function(e,t){return e.concat([t,t+"-"+Wl,t+"-"+Ql])}),[]),Xl=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ec(e){var t=new Map,n=new Set,r=[];function a(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&a(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||a(e)})),r}var tc={placement:"bottom",modifiers:[],strategy:"absolute"};function nc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function rc(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,a=t.defaultOptions,o=void 0===a?tc:a;return function(e,t,n){void 0===n&&(n=o);var a,i,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},tc,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(n){var a="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},o,s.options,a),s.scrollParents={reference:gl(e)?Nl(e):e.contextElement?Nl(e.contextElement):[],popper:Nl(t)};var i,c,f=function(e){var t=ec(e);return Xl.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,s.options.modifiers),c=i.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return s.orderedModifiers=f.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,a=e.effect;if("function"==typeof a){var o=a({state:s,name:t,instance:u,options:r});l.push(o||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(nc(t,n)){s.rects={reference:Hl(t,Dl(n),"fixed"===s.options.strategy),popper:Rl(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var a=s.orderedModifiers[r],o=a.fn,i=a.options,l=void 0===i?{}:i,d=a.name;"function"==typeof o&&(s=o({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,r=-1}}},update:(a=function(){return new Promise((function(e){u.forceUpdate(),e(s)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(a())}))}))),i}),destroy:function(){d(),c=!0}};if(!nc(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var ac={passive:!0},oc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,a=r.scroll,o=void 0===a||a,i=r.resize,s=void 0===i||i,l=yl(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,ac)})),s&&l.addEventListener("resize",n.update,ac),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,ac)})),s&&l.removeEventListener("resize",n.update,ac)}},data:{}};function ic(e){return e.split("-")[0]}function sc(e){return e.split("-")[1]}function lc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function cc(e){var t,n=e.reference,r=e.element,a=e.placement,o=a?ic(a):null,i=a?sc(a):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case Vl:t={x:s,y:n.y-r.height};break;case Ul:t={x:s,y:n.y+n.height};break;case Bl:t={x:n.x+n.width,y:l};break;case ql:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?lc(o):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Wl:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Ql:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var uc={top:"auto",right:"auto",bottom:"auto",left:"auto"};function dc(e){var t,n=e.popper,r=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=i.x,p=void 0===f?0:f,h=i.y,m=void 0===h?0:h,C="function"==typeof u?u({x:p,y:m}):{x:p,y:m};p=C.x,m=C.y;var y=i.hasOwnProperty("x"),g=i.hasOwnProperty("y"),v=ql,b=Vl,w=window;if(c){var E=Dl(n),x="clientHeight",M="clientWidth";E===yl(n)&&"static"!==kl(E=Tl(n)).position&&"absolute"===s&&(x="scrollHeight",M="scrollWidth"),(a===Vl||(a===ql||a===Bl)&&o===Ql)&&(b=Ul,m-=(d&&E===w&&w.visualViewport?w.visualViewport.height:E[x])-r.height,m*=l?1:-1),a!==ql&&(a!==Vl&&a!==Ul||o!==Ql)||(v=Bl,p-=(d&&E===w&&w.visualViewport?w.visualViewport.width:E[M])-r.width,p*=l?1:-1)}var L,S=Object.assign({position:s},c&&uc),A=!0===u?function(e,t){var n=e.x,r=e.y,a=t.devicePixelRatio||1;return{x:xl(n*a)/a||0,y:xl(r*a)/a||0}}({x:p,y:m},yl(n)):{x:p,y:m};return p=A.x,m=A.y,l?Object.assign({},S,((L={})[b]=g?"0":"",L[v]=y?"0":"",L.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",L)):Object.assign({},S,((t={})[b]=g?m+"px":"",t[v]=y?p+"px":"",t.transform="",t))}var fc={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,a=void 0===r||r,o=n.adaptive,i=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,c={placement:ic(t.placement),variation:sc(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,dc(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,dc(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},pc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.offset,o=void 0===a?[0,0]:a,i=Yl.reduce((function(e,n){return e[n]=function(e,t,n){var r=ic(e),a=[ql,Vl].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[ql,Bl].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}(n,t.rects,o),e}),{}),s=i[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}},hc={left:"right",right:"left",bottom:"top",top:"bottom"};function mc(e){return e.replace(/left|right|bottom|top/g,(function(e){return hc[e]}))}var Cc={start:"end",end:"start"};function yc(e){return e.replace(/start|end/g,(function(e){return Cc[e]}))}function gc(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&bl(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function vc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function bc(e,t,n){return t===Kl?vc(function(e,t){var n=yl(e),r=Tl(e),a=n.visualViewport,o=r.clientWidth,i=r.clientHeight,s=0,l=0;if(a){o=a.width,i=a.height;var c=Ll();(c||!c&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}return{width:o,height:i,x:s+Pl(e),y:l}}(e,n)):gl(t)?function(e,t){var n=Sl(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):vc(function(e){var t,n=Tl(e),r=Al(e),a=null==(t=e.ownerDocument)?void 0:t.body,o=wl(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=wl(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-r.scrollLeft+Pl(e),l=-r.scrollTop;return"rtl"===kl(a||n).direction&&(s+=wl(n.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:l}}(Tl(e)))}function wc(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Ec(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function xc(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=void 0===r?e.placement:r,o=n.strategy,i=void 0===o?e.strategy:o,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,u=void 0===c?Kl:c,d=n.elementContext,f=void 0===d?$l:d,p=n.altBoundary,h=void 0!==p&&p,m=n.padding,C=void 0===m?0:m,y=wc("number"!=typeof C?C:Ec(C,Gl)),g=f===$l?"reference":$l,v=e.rects.popper,b=e.elements[h?g:f],w=function(e,t,n,r){var a="clippingParents"===t?function(e){var t=Nl(jl(e)),n=["absolute","fixed"].indexOf(kl(e).position)>=0&&vl(e)?Dl(e):e;return gl(n)?t.filter((function(e){return gl(e)&&gc(e,n)&&"body"!==Ol(e)})):[]}(e):[].concat(t),o=[].concat(a,[n]),i=o[0],s=o.reduce((function(t,n){var a=bc(e,n,r);return t.top=wl(a.top,t.top),t.right=El(a.right,t.right),t.bottom=El(a.bottom,t.bottom),t.left=wl(a.left,t.left),t}),bc(e,i,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(gl(b)?b:b.contextElement||Tl(e.elements.popper),l,u,i),E=Sl(e.elements.reference),x=cc({reference:E,element:v,strategy:"absolute",placement:a}),M=vc(Object.assign({},v,x)),L=f===$l?M:E,S={top:w.top-L.top+y.top,bottom:L.bottom-w.bottom+y.bottom,left:w.left-L.left+y.left,right:L.right-w.right+y.right},A=e.modifiersData.offset;if(f===$l&&A){var O=A[a];Object.keys(S).forEach((function(e){var t=[Bl,Ul].indexOf(e)>=0?1:-1,n=[Vl,Ul].indexOf(e)>=0?"y":"x";S[e]+=O[n]*t}))}return S}var Mc={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var a=n.mainAxis,o=void 0===a||a,i=n.altAxis,s=void 0===i||i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,C=t.options.placement,y=ic(C),g=l||(y!==C&&h?function(e){if(ic(e)===zl)return[];var t=mc(e);return[yc(e),t,yc(t)]}(C):[mc(C)]),v=[C].concat(g).reduce((function(e,n){return e.concat(ic(n)===zl?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=n.boundary,o=n.rootBoundary,i=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Yl:l,u=sc(r),d=u?s?Jl:Jl.filter((function(e){return sc(e)===u})):Gl,f=d.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=xc(e,{placement:n,boundary:a,rootBoundary:o,padding:i})[ic(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),b=t.rects.reference,w=t.rects.popper,E=new Map,x=!0,M=v[0],L=0;L<v.length;L++){var S=v[L],A=ic(S),O=sc(S)===Wl,T=[Vl,Ul].indexOf(A)>=0,P=T?"width":"height",k=xc(t,{placement:S,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),Z=T?O?Bl:ql:O?Ul:Vl;b[P]>w[P]&&(Z=mc(Z));var H=mc(Z),R=[];if(o&&R.push(k[A]<=0),s&&R.push(k[Z]<=0,k[H]<=0),R.every((function(e){return e}))){M=S,x=!1;break}E.set(S,R)}if(x)for(var j=function(e){var t=v.find((function(t){var n=E.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return M=t,"break"},F=h?3:1;F>0&&"break"!==j(F);F--);t.placement!==M&&(t.modifiersData[r]._skip=!0,t.placement=M,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Lc(e,t,n){return wl(e,El(t,n))}var Sc={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.mainAxis,o=void 0===a||a,i=n.altAxis,s=void 0!==i&&i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,m=void 0===h?0:h,C=xc(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),y=ic(t.placement),g=sc(t.placement),v=!g,b=lc(y),w="x"===b?"y":"x",E=t.modifiersData.popperOffsets,x=t.rects.reference,M=t.rects.popper,L="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,S="number"==typeof L?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(E){if(o){var T,P="y"===b?Vl:ql,k="y"===b?Ul:Bl,Z="y"===b?"height":"width",H=E[b],R=H+C[P],j=H-C[k],F=p?-M[Z]/2:0,N=g===Wl?x[Z]:M[Z],I=g===Wl?-M[Z]:-x[Z],_=t.elements.arrow,D=p&&_?Rl(_):{width:0,height:0},V=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=V[P],B=V[k],q=Lc(0,x[Z],D[Z]),z=v?x[Z]/2-F-q-U-S.mainAxis:N-q-U-S.mainAxis,G=v?-x[Z]/2+F+q+B+S.mainAxis:I+q+B+S.mainAxis,W=t.elements.arrow&&Dl(t.elements.arrow),Q=W?"y"===b?W.clientTop||0:W.clientLeft||0:0,K=null!=(T=null==A?void 0:A[b])?T:0,$=H+G-K,J=Lc(p?El(R,H+z-K-Q):R,H,p?wl(j,$):j);E[b]=J,O[b]=J-H}if(s){var Y,X="x"===b?Vl:ql,ee="x"===b?Ul:Bl,te=E[w],ne="y"===w?"height":"width",re=te+C[X],ae=te-C[ee],oe=-1!==[Vl,ql].indexOf(y),ie=null!=(Y=null==A?void 0:A[w])?Y:0,se=oe?re:te-x[ne]-M[ne]-ie+S.altAxis,le=oe?te+x[ne]+M[ne]-ie-S.altAxis:ae,ce=p&&oe?function(e,t,n){var r=Lc(e,t,n);return r>n?n:r}(se,te,le):Lc(p?se:re,te,p?le:ae);E[w]=ce,O[w]=ce-te}t.modifiersData[r]=O}},requiresIfExists:["offset"]},Ac={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,a=e.options,o=n.elements.arrow,i=n.modifiersData.popperOffsets,s=ic(n.placement),l=lc(s),c=[ql,Bl].indexOf(s)>=0?"height":"width";if(o&&i){var u=function(e,t){return wc("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Ec(e,Gl))}(a.padding,n),d=Rl(o),f="y"===l?Vl:ql,p="y"===l?Ul:Bl,h=n.rects.reference[c]+n.rects.reference[l]-i[l]-n.rects.popper[c],m=i[l]-n.rects.reference[l],C=Dl(o),y=C?"y"===l?C.clientHeight||0:C.clientWidth||0:0,g=h/2-m/2,v=u[f],b=y-d[c]-u[p],w=y/2-d[c]/2+g,E=Lc(v,w,b),x=l;n.modifiersData[r]=((t={})[x]=E,t.centerOffset=E-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&gc(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Oc(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Tc(e){return[Vl,Bl,Ul,ql].some((function(t){return e[t]>=0}))}var Pc=rc({defaultModifiers:[oc,{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=cc({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},fc,{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},a=t.elements[e];vl(a)&&Ol(a)&&(Object.assign(a.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],a=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});vl(r)&&Ol(r)&&(Object.assign(r.style,o),Object.keys(a).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},pc,Mc,Sc,Ac,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=xc(t,{elementContext:"reference"}),s=xc(t,{altBoundary:!0}),l=Oc(i,r),c=Oc(s,a,o),u=Tc(l),d=Tc(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),kc=n(590),Zc=n.n(kc),Hc=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},Rc="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect,jc=[],Fc=function(){return Fc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Fc.apply(this,arguments)},Nc={placement:"bottom-start",modifiers:[{name:"flip",options:{fallbackPlacements:["top-start"]}},{name:"offset",options:{offset:[0,0]}}]};function Ic(t){var n=t.children,a=t.referenceEl,o=t.fullwidth,i=void 0===o||o,s=t.className,l=t.fixed,c=t.popperOptions,u=(0,e.useState)(null),d=u[0],f=u[1],p=function(e,t,n){void 0===n&&(n={});var a=r.useRef(null),o={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||jc},i=r.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=i[0],l=i[1],c=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);Cl.flushSync((function(){l({styles:Hc(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:Hc(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),u=r.useMemo((function(){var e={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[c,{name:"applyStyles",enabled:!1}])};return Zc()(a.current,e)?a.current||e:(a.current=e,e)}),[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,c]),d=r.useRef();return Rc((function(){d.current&&d.current.setOptions(u)}),[u]),Rc((function(){if(null!=e&&null!=t){var r=(n.createPopper||Pc)(e,t,u);return d.current=r,function(){r.destroy(),d.current=null}}}),[e,t,n.createPopper]),{state:d.current?d.current.state:null,styles:s.styles,attributes:s.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}}(a.current,d,Fc(Fc({strategy:l?"fixed":void 0},Nc),c)),h=p.styles,m=p.attributes,C=p.update;return(0,e.createElement)("div",mr({ref:f,className:mn("ntw-z-50",{"ntw-w-full":i},s),style:h.popper},m.popper),(0,e.createElement)(ml,{enter:"ntw-transition ntw-ease-out ntw-duration-100",enterFrom:"-ntw-translate-y-16px ntw-opacity-0",enterTo:"ntw-translate-y-0 ntw-opacity-100",leave:"ntw-transition ntw-ease-in ntw-duration-100",leaveFrom:"ntw-opacity-100 ntw-translate-y-0",leaveTo:"ntw-opacity-0 -ntw-translate-y-16px",beforeEnter:function(){return null==C?void 0:C()}},n))}Ic.Container=function(t){var n=t.children,r=t.className;return(0,e.createElement)("div",{className:mn("ntw-focus:outline-none ntw-overflow-auto ntw-rounded-lg ntw-bg-background-light ntw-text-paragraph-base ntw-text-typography-medium ntw-shadow-default",r)},n)},Ic.Item=function(t){var n=t.children,r=t.className,a=t.active,o=t.selected,i=t.disabled,s=t.variant,l=void 0===s?"default":s,c={default:[{"ntw-text-button-hover":a&&!i,"ntw-hover:text-button-hover":!i}],destructive:["ntw-text-button-destructive",{"ntw-text-button-destructive-hover":a&&!i,"ntw-hover:text-button-destructive-hover":!i}]};return(0,e.createElement)("div",{className:mn("ntw-relative ntw-block ntw-select-none ntw-truncate ntw-px-16px ntw-py-8px",{"ntw-bg-background-selected":o,"ntw-text-typography-disabled":i,"ntw-cursor-pointer":!i},c[l],r)},n)};var _c=Ic;function Dc(){var t=vr(),n=t.brands,r=t.setSelectedBrand,a=t.selectedBrand,o=(0,e.useState)(""),i=o[0],s=o[1],l=!(null==n?void 0:n.length),c=null==n?void 0:n.filter((function(e){return e.name.toLowerCase().includes(i.toLowerCase())}));return(0,e.createElement)(us.Panel,{className:"ntw-pt-16px"},(function(t){var n=t.close;return(0,e.createElement)(_c.Container,{className:"ntw-relative ntw-max-h-[300px] ntw-w-[260px]"},l?(0,e.createElement)(_c.Item,null,"No Brands Available"):(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"ntw-sticky ntw-top-0 ntw-z-[100] ntw-mb-8px ntw-bg-[#FFFFFF] ntw-px-8px ntw-pt-8px"},(0,e.createElement)(u.TextControl,{value:i,onChange:s,name:"brand name",placeholder:"Find a brand"})),(0,e.createElement)("div",{className:"ntw-overflow-y-auto"},null==c?void 0:c.map((function(t){return(0,e.createElement)(_c.Item,{key:t.id,selected:(null==a?void 0:a.id)===t.id},(0,e.createElement)("button",{onClick:function(){mt(t.id),r(t),n()},className:"ntw-block ntw-w-full"},(0,e.createElement)(Ks,{brand:t})))})))))}))}var Vc=function(e){var t=Fa({queryKey:["brandTones",e],queryFn:function(t){var n=t.signal;return yt({brandId:e,signal:n})},staleTime:3e5,enabled:!!e}),n=t.data,r=t.error;return{tones:n||[],isLoading:t.isLoading,isFetching:t.isFetching,error:r}};function Uc(t){var n=t.collapsed,r=vr(),a=r.setBrands,o=r.selectedBrand,i=r.setSelectedBrand,s=r.brands,l=r.setCurrentTones,c=r.tones,u=(0,e.useRef)(null),d=Vc(null==o?void 0:o.id),f=d.tones,p=d.isLoading,h=f.filter((function(e){return"active"===e.status}));return(0,e.useEffect)((function(){vt.getUserBrands().then(a)}),[a]),(0,e.useEffect)((function(){if(!o&&window.notaTools.selected_brand_id){var e=s.find((function(e){return e.id===window.notaTools.selected_brand_id}));i(null!=e?e:null)}}),[s,o,i]),(0,e.useEffect)((function(){JSON.stringify(c.values)!==JSON.stringify(h)&&l({values:h,isLoading:p})}),[c.values,p,l,h]),(0,e.createElement)("div",{className:"ntw-relative ntw-text-sm"},(0,e.createElement)(us,null,(0,e.createElement)(us.Button,{ref:u,className:"ntw-w-full"},(0,e.createElement)("span",{className:mn("ntw-bg-white ntw-flex ntw-w-full ntw-items-center ntw-gap-8px ntw-rounded-lg ntw-p-8px ntw-text-left ntw-shadow",{"ntw-text-typography-medium":!o})},(0,e.createElement)(e.Fragment,null,o?(0,e.createElement)(Ks,{brand:o,className:"ntw-min-w-[1px] ntw-grow",collapsed:n}):(0,e.createElement)(e.Fragment,null,(0,e.createElement)(vs,{size:24,className:"ntw-shrink-0"}),(0,e.createElement)("span",{className:mn("ntw-grow",{hidden:n})},"Select a brand")),(0,e.createElement)(Os,{size:16,className:mn("ntw-shrink-0",{hidden:n})})))),(0,e.createElement)(_c,{referenceEl:u,className:"ntw-w-[260px]",fullwidth:!1,fixed:!0},(0,e.createElement)(Dc,null))))}var Bc=Object.defineProperty,qc=Object.defineProperties,zc=Object.getOwnPropertyDescriptors,Gc=Object.getOwnPropertySymbols,Wc=Object.prototype.hasOwnProperty,Qc=Object.prototype.propertyIsEnumerable,Kc=(e,t,n)=>t in e?Bc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const $c=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168,12A75.9,75.9,0,0,0,92.49,96.33L23.91,189.85a19.89,19.89,0,0,0,2,26l14.29,14.29a19.89,19.89,0,0,0,26,2l93.52-68.58A76,76,0,1,0,168,12Zm52,76a51.66,51.66,0,0,1-7.75,27.27L140.74,43.75A52,52,0,0,1,220,88ZM54.72,210.71l-9.43-9.43,56.19-76.63a76.46,76.46,0,0,0,29.87,29.87ZM116,88a51.63,51.63,0,0,1,7.75-27.27l71.51,71.51A52,52,0,0,1,116,88Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M156.5,151,59,222.45a8,8,0,0,1-10.38-.79l-14.3-14.3A8,8,0,0,1,33.55,197L105,99.5l0,0A64,64,0,0,0,156.48,151Z",opacity:"0.2"}),a().createElement("path",{d:"M168,16A72.07,72.07,0,0,0,96,88a73.29,73.29,0,0,0,.63,9.42L27.12,192.22A15.93,15.93,0,0,0,28.71,213L43,227.29a15.93,15.93,0,0,0,20.78,1.59l94.81-69.53A73.29,73.29,0,0,0,168,160a72,72,0,1,0,0-144Zm56,72a55.72,55.72,0,0,1-11.16,33.52L134.49,43.16A56,56,0,0,1,224,88ZM54.32,216,40,201.68,102.14,117A72.37,72.37,0,0,0,139,153.86ZM112,88a55.67,55.67,0,0,1,11.16-33.51l78.34,78.34A56,56,0,0,1,112,88Zm-2.35,58.34a8,8,0,0,1,0,11.31l-8,8a8,8,0,1,1-11.31-11.31l8-8A8,8,0,0,1,109.67,146.33Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M115.06,46.36a4,4,0,0,0-6.11.54A71.54,71.54,0,0,0,96,88a73.29,73.29,0,0,0,.63,9.42L27.12,192.22A15.93,15.93,0,0,0,28.71,213L43,227.29a15.93,15.93,0,0,0,20.78,1.59l94.81-69.53A73.29,73.29,0,0,0,168,160a71.54,71.54,0,0,0,41.09-12.93,4,4,0,0,0,.54-6.11Zm2.61,103.28-16,16a8,8,0,1,1-11.31-11.31l16-16a8,8,0,0,1,11.31,11.31Zm109.4-20.56a4,4,0,0,1-6.12.54L126.38,35.05a4,4,0,0,1,.54-6.12A71.93,71.93,0,0,1,227.07,129.08Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168,18A69.94,69.94,0,0,0,98.74,98l-70,95.46a13.92,13.92,0,0,0,1.39,18.17l14.3,14.3a13.93,13.93,0,0,0,18.17,1.39l95.46-70A70,70,0,1,0,168,18Zm58,70a57.65,57.65,0,0,1-13,36.52L131.49,43A57.95,57.95,0,0,1,226,88ZM55.5,217.59a2,2,0,0,1-2.6-.2L38.61,203.1a2,2,0,0,1-.2-2.6l64.22-87.56a70.32,70.32,0,0,0,40.44,40.43ZM110,88a57.73,57.73,0,0,1,13-36.52L204.53,133A58,58,0,0,1,110,88Zm-1.75,59.75a6,6,0,0,1,0,8.49l-8,8a6,6,0,1,1-8.49-8.49l8-8A6,6,0,0,1,108.26,147.74Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168,16A72.07,72.07,0,0,0,96,88a73.29,73.29,0,0,0,.63,9.42L27.12,192.22A15.93,15.93,0,0,0,28.71,213L43,227.29a15.93,15.93,0,0,0,20.78,1.59l94.81-69.53A73.29,73.29,0,0,0,168,160a72,72,0,1,0,0-144Zm56,72a55.72,55.72,0,0,1-11.16,33.52L134.49,43.16A56,56,0,0,1,224,88ZM54.32,216,40,201.68,102.14,117A72.37,72.37,0,0,0,139,153.86ZM112,88a55.67,55.67,0,0,1,11.16-33.51l78.34,78.34A56,56,0,0,1,112,88Zm-2.35,58.34a8,8,0,0,1,0,11.31l-8,8a8,8,0,1,1-11.31-11.31l8-8A8,8,0,0,1,109.67,146.33Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168,20a68.08,68.08,0,0,0-68,68,67.19,67.19,0,0,0,.82,10.49L30.34,194.59a11.94,11.94,0,0,0,1.2,15.58l14.29,14.3a11.95,11.95,0,0,0,15.58,1.19l96.11-70.48A68,68,0,1,0,168,20Zm60,68a59.7,59.7,0,0,1-14.87,39.47L128.54,42.87A59.94,59.94,0,0,1,228,88ZM56.68,219.21a4,4,0,0,1-5.2-.4L37.19,204.52a4,4,0,0,1-.4-5.2l66.46-90.62a68.31,68.31,0,0,0,44.05,44.05ZM108,88a59.77,59.77,0,0,1,14.87-39.47l84.6,84.6A60,60,0,0,1,108,88Zm-1.17,61.17a4,4,0,0,1,0,5.65l-8,8a4,4,0,1,1-5.65-5.65l8-8A4,4,0,0,1,106.84,149.16Z"}))]]),Jc=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>qc(e,zc(t)))(((e,t)=>{for(var n in t||(t={}))Wc.call(t,n)&&Kc(e,n,t[n]);if(Gc)for(var n of Gc(t))Qc.call(t,n)&&Kc(e,n,t[n]);return e})({ref:t},e),{weights:$c}))));Jc.displayName="MicrophoneStage";var Yc=Object.defineProperty,Xc=Object.defineProperties,eu=Object.getOwnPropertyDescriptors,tu=Object.getOwnPropertySymbols,nu=Object.prototype.hasOwnProperty,ru=Object.prototype.propertyIsEnumerable,au=(e,t,n)=>t in e?Yc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const ou=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M200.49,183.51a12,12,0,0,1,0,17c-1.13,1.12-28,27.51-72.49,27.51-33.71,0-59.35-17.46-76-33.86V208a12,12,0,0,1-24,0V160a12,12,0,0,1,12-12H88a12,12,0,0,1,0,24H64.12c13.1,14.32,35.08,32,63.88,32,34.63,0,55.31-20.28,55.51-20.49A12,12,0,0,1,200.49,183.51ZM216,36a12,12,0,0,0-12,12V61.86C187.35,45.46,161.71,28,128,28,83.54,28,56.64,54.39,55.51,55.51a12,12,0,0,0,17,17C72.69,72.28,93.37,52,128,52c28.8,0,50.78,17.68,63.88,32H168a12,12,0,0,0,0,24h48a12,12,0,0,0,12-12V48A12,12,0,0,0,216,36Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M216,48V96H168ZM40,208l48-48H40Z",opacity:"0.2"}),a().createElement("path",{d:"M219.06,40.61a8,8,0,0,0-8.72,1.73L194.28,58.41C174.13,41.1,151.36,32,128,32,85.18,32,59.42,57.27,58.34,58.34A8,8,0,0,0,69.66,69.66C69.87,69.44,91.73,48,128,48c23.17,0,41.92,10.85,54.92,21.76L162.34,90.34A8,8,0,0,0,168,104h48a8,8,0,0,0,8-8V48A8,8,0,0,0,219.06,40.61ZM208,88H187.31L208,67.31Zm-21.66,98.34c-.21.22-22.07,21.66-58.34,21.66-23.17,0-41.92-10.85-54.92-21.76l20.58-20.58A8,8,0,0,0,88,152H40a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66l16.06-16.07C81.87,214.9,104.64,224,128,224c42.82,0,68.58-25.27,69.66-26.34a8,8,0,0,0-11.32-11.32ZM48,168H68.69L48,188.69Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M197.66,186.34a8,8,0,0,1,0,11.32C196.58,198.73,170.82,224,128,224c-23.36,0-46.13-9.1-66.28-26.41L45.66,213.66A8,8,0,0,1,32,208V160a8,8,0,0,1,8-8H88a8,8,0,0,1,5.66,13.66L73.08,186.24C86.08,197.15,104.83,208,128,208c36.27,0,58.13-21.44,58.34-21.66A8,8,0,0,1,197.66,186.34Zm21.4-145.73a8,8,0,0,0-8.72,1.73L194.28,58.41C174.13,41.1,151.36,32,128,32,85.18,32,59.42,57.27,58.34,58.34A8,8,0,0,0,69.66,69.66C69.87,69.44,91.73,48,128,48c23.17,0,41.92,10.85,54.92,21.76L162.34,90.34A8,8,0,0,0,168,104h48a8,8,0,0,0,8-8V48A8,8,0,0,0,219.06,40.61Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M196.24,187.76a6,6,0,0,1,0,8.48C195.19,197.29,170,222,128,222c-39.66,0-67.59-25.75-82-43.26V208a6,6,0,0,1-12,0V160a6,6,0,0,1,6-6H88a6,6,0,0,1,0,12H51.35c11.41,15.11,38.23,44,76.65,44,37.09,0,59.54-22,59.76-22.24A6,6,0,0,1,196.24,187.76ZM216,42a6,6,0,0,0-6,6V77.26C195.59,59.75,167.66,34,128,34,86,34,60.81,58.71,59.76,59.76a6,6,0,0,0,8.48,8.48C68.46,68,90.91,46,128,46c38.42,0,65.24,28.89,76.65,44H168a6,6,0,0,0,0,12h48a6,6,0,0,0,6-6V48A6,6,0,0,0,216,42Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M197.67,186.37a8,8,0,0,1,0,11.29C196.58,198.73,170.82,224,128,224c-37.39,0-64.53-22.4-80-39.85V208a8,8,0,0,1-16,0V160a8,8,0,0,1,8-8H88a8,8,0,0,1,0,16H55.44C67.76,183.35,93,208,128,208c36,0,58.14-21.46,58.36-21.68A8,8,0,0,1,197.67,186.37ZM216,40a8,8,0,0,0-8,8V71.85C192.53,54.4,165.39,32,128,32,85.18,32,59.42,57.27,58.34,58.34a8,8,0,0,0,11.3,11.34C69.86,69.46,92,48,128,48c35,0,60.24,24.65,72.56,40H168a8,8,0,0,0,0,16h48a8,8,0,0,0,8-8V48A8,8,0,0,0,216,40Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M194.83,189.18a4,4,0,0,1,0,5.65c-1,1-25.65,25.17-66.83,25.17-23.93,0-47.35-10.05-67.73-29.08a146.39,146.39,0,0,1-16.27-18V208a4,4,0,0,1-8,0V160a4,4,0,0,1,4-4H88a4,4,0,0,1,0,8H47.41c10,14.06,38.39,48,80.59,48,37.75,0,60.95-22.6,61.18-22.83A4,4,0,0,1,194.83,189.18ZM216,44a4,4,0,0,0-4,4V83.07a146.39,146.39,0,0,0-16.27-18C175.35,46.05,151.93,36,128,36,86.82,36,62.2,60.14,61.17,61.17a4,4,0,0,0,5.65,5.66C67.05,66.6,90.25,44,128,44c42.2,0,70.63,33.94,80.59,48H168a4,4,0,0,0,0,8h48a4,4,0,0,0,4-4V48A4,4,0,0,0,216,44Z"}))]]),iu=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>Xc(e,eu(t)))(((e,t)=>{for(var n in t||(t={}))nu.call(t,n)&&au(e,n,t[n]);if(tu)for(var n of tu(t))ru.call(t,n)&&au(e,n,t[n]);return e})({ref:t},e),{weights:ou}))));iu.displayName="ArrowsClockwise";var su=Object.defineProperty,lu=Object.defineProperties,cu=Object.getOwnPropertyDescriptors,uu=Object.getOwnPropertySymbols,du=Object.prototype.hasOwnProperty,fu=Object.prototype.propertyIsEnumerable,pu=(e,t,n)=>t in e?su(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const hu=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),a().createElement("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"}))]]),mu=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>lu(e,cu(t)))(((e,t)=>{for(var n in t||(t={}))du.call(t,n)&&pu(e,n,t[n]);if(uu)for(var n of uu(t))fu.call(t,n)&&pu(e,n,t[n]);return e})({ref:t},e),{weights:hu}))));mu.displayName="CaretLeft";var Cu=Object.defineProperty,yu=Object.defineProperties,gu=Object.getOwnPropertyDescriptors,vu=Object.getOwnPropertySymbols,bu=Object.prototype.hasOwnProperty,wu=Object.prototype.propertyIsEnumerable,Eu=(e,t,n)=>t in e?Cu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const xu=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),a().createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]),Mu=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>yu(e,gu(t)))(((e,t)=>{for(var n in t||(t={}))bu.call(t,n)&&Eu(e,n,t[n]);if(vu)for(var n of vu(t))wu.call(t,n)&&Eu(e,n,t[n]);return e})({ref:t},e),{weights:xu}))));Mu.displayName="CaretRight";var Lu=function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))},Su=function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}};function Au(t){var n,r,a=this,o=t.history,i=t.addHistoryItem,s=t.title,l=vr(),c=l.selectedBrand,u=l.setLoadingState,d=l.tones,f=Ia().config,p=(0,e.useRef)(null),h=null==o?void 0:o.fullHistory[o.historyIndex],m=Zu(s),C=null===(n=d.values)||void 0===n?void 0:n.filter((function(e){var t;return null===(t=e.prompts)||void 0===t?void 0:t[m]})),y=(null===(r=null==h?void 0:h.tone)||void 0===r?void 0:r.id)||"";return(0,e.createElement)(us,{as:e.Fragment},(0,e.createElement)(us.Button,{ref:p,className:"ntw-outline-none"},(0,e.createElement)(Jc,{size:16})),(0,e.createElement)(_c,{fixed:!0,referenceEl:p,fullwidth:!1,popperOptions:{placement:"bottom-end"}},(0,e.createElement)(us.Panel,{className:"ntw-relative"},(function(t){var n=t.close;return(0,e.createElement)(_c.Container,null,C.length>0?C.map((function(t){return(0,e.createElement)(_c.Item,{key:t.id,className:"ntw-p-24px ntw-py-12px hover:ntw-text-button-hover",disabled:t.id===y},(0,e.createElement)("button",{className:mn("ntw-text-left",{"ntw-cursor-not-allowed":t.id===y}),disabled:t.id===y,onClick:function(){var e;e=t.id,Lu(a,void 0,void 0,(function(){var t,n,r,a;return Su(this,(function(o){switch(o.label){case 0:if(!ku(s))return[2];if(t=Tu(s),n=Pu(s),!t||!n)return[2];o.label=1;case 1:return o.trys.push([1,3,4,5]),u(t,!0),[4,Ct({toneId:e,organizationBrandId:(null==c?void 0:c.id)||"",text:(null==h?void 0:h.values)||[],task:n,queue:f.requestsToQueue.adjustTextTone,promptCategory:m})];case 2:return r=o.sent(),i({values:r.adjustedText,tone:d.values.find((function(t){return t.id===e}))}),[3,5];case 3:return a=o.sent(),lt.error("Error adjusting text tone",a),[3,5];case 4:return u(t,!1),[7];case 5:return[2]}}))})),n()}},t.title))})):(0,e.createElement)(_c.Item,{disabled:!0},d.isLoading?"Loading...":"No tones found for this brand"))}))))}var Ou={Summary:{component:"summary",task:"summary"},Headlines:{component:"headlines",task:"headlines"},"Page Title":{component:"metaTitles",task:"meta titles"},"Meta Description":{component:"metaDescriptions",task:"meta descriptions"},Facebook:{component:"socialPostsFacebook",task:"facebook social post"},Instagram:{component:"socialPostsInstagram",task:"instagram social post"},X:{component:"socialPostsTwitter",task:"twitter social post"},LinkedIn:{component:"socialPostsLinkedIn",task:"linkedIn social post"},TikTok:{component:"socialPostsTikTok",task:"tiktok social post"},Threads:{component:"socialPostsThreads",task:"threads social post"}},Tu=function(e){var t;return(null===(t=Ou[e])||void 0===t?void 0:t.component)||null},Pu=function(e){var t;return(null===(t=Ou[e])||void 0===t?void 0:t.task)||null},ku=function(e){return Object.keys(Ou).includes(e)},Zu=function(e){switch(e){case ar.Summary:return"summary";case ar.Headlines:return"headline";case ar.MetaTitle:return"pageTitle";case ar.MetaDescription:return"metaDescription";case ar.Facebook:return"socialPostFacebook";case ar.Instagram:return"socialPostInstagram";case ar.Twitter:return"socialPostTwitter";case ar.Threads:return"socialPostThreads";case ar.LinkedIn:return"socialPostLinkedIn";case ar.TikTok:return"socialPostTiktok";case ar.SMS:return"sms";default:return"general"}};function Hu(t){var n=t.title,r=t.subtitle,a=t.className,o=t.onRefresh,i=t.history,s=t.tone,l=t.addHistoryItem;return(0,e.createElement)("div",{className:a},(0,e.createElement)("div",{className:"ntw-group"},(0,e.createElement)("div",{className:"ntw-group ntw-flex ntw-items-start ntw-justify-between"},(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-8px ntw-flex ntw-items-center ntw-gap-2"},(0,e.createElement)("p",{className:"ntw-text-h-800"},n),!!s&&(0,e.createElement)("div",{className:"ntw-bg-white ntw-mx-2 ntw-flex ntw-items-center ntw-gap-2 ntw-rounded-md ntw-border ntw-border-elements-default ntw-bg-background-mistVeil ntw-px-2 ntw-py-1 ntw-text-paragraph-xs ntw-text-typography-medium"},(0,e.createElement)(Jc,null)," ",s.title)),!!r&&(0,e.createElement)("p",{className:"ntw-text-paragraph-tight"},r)),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-shrink-0 ntw-items-center ntw-space-x-16px ntw-text-typography-disabled ntw-opacity-0 group-hover:ntw-opacity-100"},l&&(0,e.createElement)(Au,{title:n,addHistoryItem:l,history:i}),o&&(0,e.createElement)("button",{className:"hover:ntw-text-button-hover",onClick:o},(0,e.createElement)(iu,{size:16})),!!i&&(0,e.createElement)("div",{className:"ntw-flex ntw-items-center"},(0,e.createElement)("button",{onClick:i.prevHistoryItem,className:mn("ntw-text-typography-disabled",{"hover:ntw-text-button-hover":i.hasPrev}),disabled:!i.hasPrev},(0,e.createElement)(mu,{size:16})),(0,e.createElement)("span",null,i.historyIndex+1," / ",i.totalHistoryItems),(0,e.createElement)("button",{onClick:i.nextHistoryItem,className:mn("ntw-text-typography-disabled",{"hover:ntw-text-button-hover":i.hasNext}),disabled:!i.hasNext},(0,e.createElement)(Mu,{size:16})))))))}function Ru(t){var n=t.onSubmit,r=t.disableAnalyze;return(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-24px ntw-flex ntw-items-center ntw-text-h-900"},(0,e.createElement)("div",{className:"ntw-grow"},"Welcome to Nota"),(0,e.createElement)(Uc,null)),(0,e.createElement)("div",{className:"ntw-flex ntw-items-center ntw-justify-between ntw-rounded-2xl ntw-p-24px ntw-shadow"},(0,e.createElement)(Hu,{title:"Get Started",subtitle:"Analyze this post for Nota AI-driven insights, drawing on best practices to elevate your content across platforms."}),(0,e.createElement)("div",{className:"ntw-flex-shrink-0",id:pr},(0,e.createElement)(Kn,{disabled:r,onClick:n},"Analyze page"))))}function ju({onFocus:e}){let[t,n]=(0,r.useState)(!0);return t?r.createElement(Bi,{as:"button",type:"button",features:Ui.Focusable,onFocus:t=>{t.preventDefault();let r,a=50;r=requestAnimationFrame((function t(){if(!(a--<=0))return e()?(n(!1),void cancelAnimationFrame(r)):void(r=requestAnimationFrame(t));r&&cancelAnimationFrame(r)}))}}):null}const Fu=r.createContext(null);function Nu({children:e}){let t=r.useRef({groups:new Map,get(e,t){var n;let r=this.groups.get(e);r||(r=new Map,this.groups.set(e,r));let a=null!=(n=r.get(t))?n:0;return r.set(t,a+1),[Array.from(r.keys()).indexOf(t),function(){let e=r.get(t);e>1?r.set(t,e-1):r.delete(t)}]}});return r.createElement(Fu.Provider,{value:t},e)}function Iu(e){let t=r.useContext(Fu);if(!t)throw new Error("You must wrap your component in a <StableCollection>");let n=function(){var e,t,n;let a=null!=(n=null==(t=null==(e=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:e.ReactCurrentOwner)?void 0:t.current)?n:null;if(!a)return Symbol();let o=[],i=a;for(;i;)o.push(i.index),i=i.return;return"$."+o.join(".")}(),[a,o]=t.current.get(e,n);return r.useEffect((()=>o),[]),a}var _u=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(_u||{}),Du=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(Du||{}),Vu=(e=>(e[e.SetSelectedIndex=0]="SetSelectedIndex",e[e.RegisterTab=1]="RegisterTab",e[e.UnregisterTab=2]="UnregisterTab",e[e.RegisterPanel=3]="RegisterPanel",e[e.UnregisterPanel=4]="UnregisterPanel",e))(Vu||{});let Uu={0(e,t){var n;let r=Zi(e.tabs,(e=>e.current)),a=Zi(e.panels,(e=>e.current)),o=r.filter((e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))})),i={...e,tabs:r,panels:a};if(t.index<0||t.index>r.length-1){let n=$o(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>$o(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});return 0===o.length?i:{...i,selectedIndex:$o(n,{0:()=>r.indexOf(o[0]),1:()=>r.indexOf(o[o.length-1])})}}let s=r.slice(0,t.index),l=[...r.slice(t.index),...s].find((e=>o.includes(e)));if(!l)return i;let c=null!=(n=r.indexOf(l))?n:e.selectedIndex;return-1===c&&(c=e.selectedIndex),{...i,selectedIndex:c}},1(e,t){var n;if(e.tabs.includes(t.tab))return e;let r=e.tabs[e.selectedIndex],a=Zi([...e.tabs,t.tab],(e=>e.current)),o=null!=(n=a.indexOf(r))?n:e.selectedIndex;return-1===o&&(o=e.selectedIndex),{...e,tabs:a,selectedIndex:o}},2(e,t){return{...e,tabs:e.tabs.filter((e=>e!==t.tab))}},3(e,t){return e.panels.includes(t.panel)?e:{...e,panels:Zi([...e.panels,t.panel],(e=>e.current))}},4(e,t){return{...e,panels:e.panels.filter((e=>e!==t.panel))}}},Bu=(0,r.createContext)(null);function qu(e){let t=(0,r.useContext)(Bu);if(null===t){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,qu),t}return t}Bu.displayName="TabsDataContext";let zu=(0,r.createContext)(null);function Gu(e){let t=(0,r.useContext)(zu);if(null===t){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Gu),t}return t}function Wu(e,t){return $o(t.type,Uu,e,t)}zu.displayName="TabsActionsContext";let Qu=r.Fragment,Ku=Xo.RenderStrategy|Xo.Static,$u=ai((function(e,t){var n,a;let o=yi(),{id:i=`headlessui-tabs-tab-${o}`,...s}=e,{orientation:l,activation:c,selectedIndex:u,tabs:d,panels:f}=qu("Tab"),p=Gu("Tab"),h=qu("Tab"),m=(0,r.useRef)(null),C=hi(m,t);ui((()=>p.registerTab(m)),[p,m]);let y=Iu("tabs"),g=d.indexOf(m);-1===g&&(g=y);let v=g===u,b=fi((e=>{var t;let n=e();if(n===Li.Success&&"auto"===c){let e=null==(t=wi(m))?void 0:t.activeElement,n=h.tabs.findIndex((t=>t.current===e));-1!==n&&p.change(n)}return n})),w=fi((e=>{let t=d.map((e=>e.current)).filter(Boolean);if(e.key===vi.Space||e.key===vi.Enter)return e.preventDefault(),e.stopPropagation(),void p.change(g);switch(e.key){case vi.Home:case vi.PageUp:return e.preventDefault(),e.stopPropagation(),b((()=>Hi(t,Mi.First)));case vi.End:case vi.PageDown:return e.preventDefault(),e.stopPropagation(),b((()=>Hi(t,Mi.Last)))}return b((()=>$o(l,{vertical(){return e.key===vi.ArrowUp?Hi(t,Mi.Previous|Mi.WrapAround):e.key===vi.ArrowDown?Hi(t,Mi.Next|Mi.WrapAround):Li.Error},horizontal(){return e.key===vi.ArrowLeft?Hi(t,Mi.Previous|Mi.WrapAround):e.key===vi.ArrowRight?Hi(t,Mi.Next|Mi.WrapAround):Li.Error}})))===Li.Success?e.preventDefault():void 0})),E=(0,r.useRef)(!1),x=fi((()=>{var e;E.current||(E.current=!0,null==(e=m.current)||e.focus(),p.change(g),Js((()=>{E.current=!1})))})),M=fi((e=>{e.preventDefault()})),L=(0,r.useMemo)((()=>({selected:v})),[v]);return ti({ourProps:{ref:C,onKeyDown:w,onMouseDown:M,onClick:x,id:i,role:"tab",type:_i(e,m),"aria-controls":null==(a=null==(n=f[g])?void 0:n.current)?void 0:a.id,"aria-selected":v,tabIndex:v?0:-1},theirProps:s,slot:L,defaultTag:"button",name:"Tabs.Tab"})})),Ju=ai((function(e,t){let{defaultIndex:n=0,vertical:a=!1,manual:o=!1,onChange:i,selectedIndex:s=null,...l}=e;const c=a?"vertical":"horizontal",u=o?"manual":"auto";let d=null!==s,f=hi(t),[p,h]=(0,r.useReducer)(Wu,{selectedIndex:null!=s?s:n,tabs:[],panels:[]}),m=(0,r.useMemo)((()=>({selectedIndex:p.selectedIndex})),[p.selectedIndex]),C=di(i||(()=>{})),y=di(p.tabs),g=(0,r.useMemo)((()=>({orientation:c,activation:u,...p})),[c,u,p]),v=fi((e=>(h({type:1,tab:e}),()=>h({type:2,tab:e})))),b=fi((e=>(h({type:3,panel:e}),()=>h({type:4,panel:e})))),w=fi((e=>{E.current!==e&&C.current(e),d||h({type:0,index:e})})),E=di(d?e.selectedIndex:p.selectedIndex),x=(0,r.useMemo)((()=>({registerTab:v,registerPanel:b,change:w})),[]);ui((()=>{h({type:0,index:null!=s?s:n})}),[s]),ui((()=>{if(void 0===E.current||p.tabs.length<=0)return;let e=Zi(p.tabs,(e=>e.current));e.some(((e,t)=>p.tabs[t]!==e))&&w(e.indexOf(p.tabs[E.current]))}));let M={ref:f};return r.createElement(Nu,null,r.createElement(zu.Provider,{value:x},r.createElement(Bu.Provider,{value:g},g.tabs.length<=0&&r.createElement(ju,{onFocus:()=>{var e,t;for(let n of y.current)if(0===(null==(e=n.current)?void 0:e.tabIndex))return null==(t=n.current)||t.focus(),!0;return!1}}),ti({ourProps:M,theirProps:l,slot:m,defaultTag:Qu,name:"Tabs"}))))})),Yu=ai((function(e,t){let{orientation:n,selectedIndex:r}=qu("Tab.List");return ti({ourProps:{ref:hi(t),role:"tablist","aria-orientation":n},theirProps:e,slot:{selectedIndex:r},defaultTag:"div",name:"Tabs.List"})})),Xu=ai((function(e,t){let{selectedIndex:n}=qu("Tab.Panels");return ti({ourProps:{ref:hi(t)},theirProps:e,slot:(0,r.useMemo)((()=>({selectedIndex:n})),[n]),defaultTag:"div",name:"Tabs.Panels"})})),ed=ai((function(e,t){var n,a,o,i;let s=yi(),{id:l=`headlessui-tabs-panel-${s}`,tabIndex:c=0,...u}=e,{selectedIndex:d,tabs:f,panels:p}=qu("Tab.Panel"),h=Gu("Tab.Panel"),m=(0,r.useRef)(null),C=hi(m,t);ui((()=>h.registerPanel(m)),[h,m]);let y=Iu("panels"),g=p.indexOf(m);-1===g&&(g=y);let v=g===d,b=(0,r.useMemo)((()=>({selected:v})),[v]),w={ref:C,id:l,role:"tabpanel","aria-labelledby":null==(a=null==(n=f[g])?void 0:n.current)?void 0:a.id,tabIndex:v?c:-1};return v||null!=(o=u.unmount)&&!o||null!=(i=u.static)&&i?ti({ourProps:w,theirProps:u,slot:b,defaultTag:"div",features:Ku,visible:v,name:"Tabs.Panel"}):r.createElement(Bi,{as:"span",...w})})),td=Object.assign($u,{Group:Ju,List:Yu,Panels:Xu,Panel:ed});var nd=Object.defineProperty,rd=Object.defineProperties,ad=Object.getOwnPropertyDescriptors,od=Object.getOwnPropertySymbols,id=Object.prototype.hasOwnProperty,sd=Object.prototype.propertyIsEnumerable,ld=(e,t,n)=>t in e?nd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const cd=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M144,180a16,16,0,1,1-16-16A16,16,0,0,1,144,180Zm92-52A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128ZM128,64c-24.26,0-44,17.94-44,40v4a12,12,0,0,0,24,0v-4c0-8.82,9-16,20-16s20,7.18,20,16-9,16-20,16a12,12,0,0,0-12,12v8a12,12,0,0,0,23.73,2.56C158.31,137.88,172,122.37,172,104,172,81.94,152.26,64,128,64Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),a().createElement("path",{d:"M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,168a12,12,0,1,1,12-12A12,12,0,0,1,128,192Zm8-48.72V144a8,8,0,0,1-16,0v-8a8,8,0,0,1,8-8c13.23,0,24-9,24-20s-10.77-20-24-20-24,9-24,20v4a8,8,0,0,1-16,0v-4c0-19.85,17.94-36,40-36s40,16.15,40,36C168,125.38,154.24,139.93,136,143.28Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M138,180a10,10,0,1,1-10-10A10,10,0,0,1,138,180ZM128,74c-21,0-38,15.25-38,34v4a6,6,0,0,0,12,0v-4c0-12.13,11.66-22,26-22s26,9.87,26,22-11.66,22-26,22a6,6,0,0,0-6,6v8a6,6,0,0,0,12,0v-2.42c18.11-2.58,32-16.66,32-33.58C166,89.25,149,74,128,74Zm102,54A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M136,180a8,8,0,1,1-8-8A8,8,0,0,1,136,180ZM128,76c-19.85,0-36,14.36-36,32v4a4,4,0,0,0,8,0v-4c0-13.23,12.56-24,28-24s28,10.77,28,24-12.56,24-28,24a4,4,0,0,0-4,4v8a4,4,0,0,0,8,0v-4.2c18-1.77,32-15.36,32-31.8C164,90.36,147.85,76,128,76Zm100,52A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),ud=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>rd(e,ad(t)))(((e,t)=>{for(var n in t||(t={}))id.call(t,n)&&ld(e,n,t[n]);if(od)for(var n of od(t))sd.call(t,n)&&ld(e,n,t[n]);return e})({ref:t},e),{weights:cd}))));ud.displayName="Question";var dd="Unknown error occurred.",fd=function(e){var t;if(null===e||"object"!=typeof e||!("data"in e)||null===e.data||"object"!=typeof e.data||!("data"in e.data))return dd;var n=(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.data)||[];if(!Array.isArray(n))return null;var r=n.find((function(e){return"object"==typeof e&&"code"in e&&"nota_error"===e.code&&"message"in e&&"string"==typeof e.message}));return(null==r?void 0:r.message)||dd};function pd(t){var n=t.isLoading,r=t.error,a=t.retry,o=t.children;return(0,e.createElement)("div",null,n?"Loading...":(0,e.createElement)("div",null,r?(0,e.createElement)(Ba,{level:"error"},(0,e.createElement)("div",{className:"ntw-flex ntw-justify-between ntw-gap-16px"},(0,e.createElement)("div",null,fd(r)),!!a&&(0,e.createElement)("button",{onClick:a,className:"ntw-font-bold ntw-uppercase ntw-tracking-wider"},"Retry"))):o))}var hd=Object.defineProperty,md=Object.defineProperties,Cd=Object.getOwnPropertyDescriptors,yd=Object.getOwnPropertySymbols,gd=Object.prototype.hasOwnProperty,vd=Object.prototype.propertyIsEnumerable,bd=(e,t,n)=>t in e?hd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const wd=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M244,56v64a12,12,0,0,1-24,0V85l-75.51,75.52a12,12,0,0,1-17,0L96,129,32.49,192.49a12,12,0,0,1-17-17l72-72a12,12,0,0,1,17,0L136,135l67-67H168a12,12,0,0,1,0-24h64A12,12,0,0,1,244,56Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M232,56v64L168,56Z",opacity:"0.2"}),a().createElement("path",{d:"M232,48H168a8,8,0,0,0-5.66,13.66L188.69,88,136,140.69l-34.34-34.35a8,8,0,0,0-11.32,0l-72,72a8,8,0,0,0,11.32,11.32L96,123.31l34.34,34.35a8,8,0,0,0,11.32,0L200,99.31l26.34,26.35A8,8,0,0,0,240,120V56A8,8,0,0,0,232,48Zm-8,52.69L187.31,64H224Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M240,56v64a8,8,0,0,1-13.66,5.66L200,99.31l-58.34,58.35a8,8,0,0,1-11.32,0L96,123.31,29.66,189.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0L136,140.69,188.69,88,162.34,61.66A8,8,0,0,1,168,48h64A8,8,0,0,1,240,56Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M238,56v64a6,6,0,0,1-12,0V70.48l-85.76,85.76a6,6,0,0,1-8.48,0L96,120.49,28.24,188.24a6,6,0,0,1-8.48-8.48l72-72a6,6,0,0,1,8.48,0L136,143.51,217.52,62H168a6,6,0,0,1,0-12h64A6,6,0,0,1,238,56Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M240,56v64a8,8,0,0,1-16,0V75.31l-82.34,82.35a8,8,0,0,1-11.32,0L96,123.31,29.66,189.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0L136,140.69,212.69,64H168a8,8,0,0,1,0-16h64A8,8,0,0,1,240,56Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M236,56v64a4,4,0,0,1-8,0V65.66l-89.17,89.17a4,4,0,0,1-5.66,0L96,117.66,26.83,186.83a4,4,0,0,1-5.66-5.66l72-72a4,4,0,0,1,5.66,0L136,146.34,222.34,60H168a4,4,0,0,1,0-8h64A4,4,0,0,1,236,56Z"}))]]),Ed=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>md(e,Cd(t)))(((e,t)=>{for(var n in t||(t={}))gd.call(t,n)&&bd(e,n,t[n]);if(yd)for(var n of yd(t))vd.call(t,n)&&bd(e,n,t[n]);return e})({ref:t},e),{weights:wd}))));function xd(t){var n=t.keyword,r=t.position,a=t.total,o=t.isTrending;return(0,e.createElement)("div",{className:"ntw-flex ntw-w-fit ntw-items-center ntw-rounded-full ntw-bg-status-supernova-600 ntw-p-4px ntw-text-[#030B1B]",style:{backgroundColor:"number"==typeof a&&"number"==typeof r?"rgba(198, 139, 255, ".concat(1-1/a*r,")"):void 0}},(0,e.createElement)("span",{className:"ntw-line-clamp-1 ntw-px-8px",title:n},n),o&&(0,e.createElement)("span",{className:"ntw-rounded-full ntw-bg-background-light ntw-p-4px ntw-text-button-default"},(0,e.createElement)(u.Tooltip,{text:"Trending this month",placement:"top"},(0,e.createElement)(Ed,{size:16}))))}Ed.displayName="TrendUp";var Md,Ld=(Md={key:function(e){var t=e.keyword;return[No.RelatedKeywords,t]},handler:vt.getRelatedKeywords},function(e){var t,n=function(e,t){return"function"==typeof e?[e(t)]:t?[e,t]:[e]}(Md.key,e),r=Fa({enabled:null===(t=Md.enabled)||void 0===t?void 0:t.call(Md,e),refetchInterval:Md.refetchInterval,queryKey:n,queryFn:function(t){var n=t.signal;return Md.handler(e,{signal:n})},staleTime:Md.staleTimeMs}),a=r.data,o=r.isError,i=r.isSuccess,s=r.isFetching;return{data:a,isLoading:r.isLoading,isFetching:s,isError:o,isSuccess:i,error:r.error,isInitialLoading:r.isInitialLoading,refetch:r.refetch}}),Sd=Zn.useSelect;function Ad(t){var n=t.keyword,r=Sd((function(e){return e("core/editor").getEditedPostContent()}),[]),a=Ia(),o=Ld({keyword:n,postHTML:r,queue:a.config.requestsToQueue.relatedKeywords}),i=(0,e.useMemo)((function(){var e;if(null===(e=o.data)||void 0===e?void 0:e.relatedKeywords.length)return o.data.relatedKeywords.find((function(e){return e.keyword===n.toLowerCase()}))}),[n,o.data]),s=(0,e.useMemo)((function(){var e;return null===(e=o.data)||void 0===e?void 0:e.relatedKeywords.filter((function(e){return"low"!==e.contentRelevancy}))}),[null==o?void 0:o.data]);return o.isLoading||(null==s?void 0:s.length)?(0,e.createElement)("div",{className:"ntw-flex ntw-flex-col ntw-gap-12px ntw-rounded ntw-border ntw-border-elements-default ntw-p-16px"},(0,e.createElement)(Od,{className:"ntw-pr-8px"},(0,e.createElement)(xd,{keyword:n,isTrending:null==i?void 0:i.trend.isTrending}),!!i&&(0,e.createElement)(Td,{trend:i.trend})),(0,e.createElement)("hr",{className:"ntw-col-span-2 ntw-border-t ntw-border-elements-default"}),(0,e.createElement)(Od,{className:"ntw-px-8px ntw-text-paragraph-xs-regular ntw-text-typography-medium"},(0,e.createElement)("div",null,"Trending keywords"),(0,e.createElement)("div",null,"Trend")),(0,e.createElement)(pd,{isLoading:o.isLoading,error:o.error},(0,e.createElement)("div",{className:"ntw-flex ntw-flex-col ntw-gap-4px ntw-text-paragraph-sm"},null==s?void 0:s.map((function(t){return(0,e.createElement)(Od,{className:mn("ntw-rounded-sm ntw-p-8px",{"ntw-bg-status-success-200":t.keyword===(null==i?void 0:i.keyword)}),key:t.keyword},(0,e.createElement)("div",{className:"ntw-flex ntw-items-center ntw-gap-8px"},"low"===t.contentRelevancy?(0,e.createElement)(u.Tooltip,{text:"We've detected a low relevancy score for this keyword, it may not be relevant to the article.",placement:"top"},(0,e.createElement)("span",{className:"ntw-text-typography-medium-light"},t.keyword)):(0,e.createElement)("span",null,t.keyword),t.trend.isTrending&&(0,e.createElement)(u.Tooltip,{text:"Trending this month",placement:"top"},(0,e.createElement)("span",{className:"ntw-text-button-default"},(0,e.createElement)(Ed,{size:16})))),(0,e.createElement)(Td,{trend:t.trend}))}))))):null}function Od(t){var n=t.children,r=t.className;return(0,e.createElement)("div",{className:mn("ntw-grid ntw-grid-cols-[1fr_auto] ntw-items-center ntw-gap-16px ntw-border-elements-default",r)},n)}function Td(t){var n=t.trend;return void 0===n?null:(0,e.createElement)("div",{className:"ntw-text-paragraph-xs ntw-text-typography-medium"},n.display)}var Pd=5;function kd(t){var n=t.title,r=t.subtitle,a=t.isLoading,o=t.error,i=t.history,s=t.onRefresh,l=t.keywords,c=t.divId,d=null==l?void 0:l.slice(0,Pd);return(0,e.createElement)("div",{id:c},(0,e.createElement)(Hu,{title:n,subtitle:r,className:"ntw-mb-24px",onRefresh:s,history:i}),(0,e.createElement)(pd,{isLoading:a,error:o,retry:s},(0,e.createElement)("div",null,!!(null==l?void 0:l.length)&&(0,e.createElement)("div",{className:"ntw-space-y-24px"},!!(null==l?void 0:l.length)&&(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"In order of relevance"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-16px"},l.map((function(t,n){return(0,e.createElement)(xd,{key:t,keyword:t,position:n,total:l.length})})))),!!(null==d?void 0:d.length)&&(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Keyword Insights",(0,e.createElement)(u.Tooltip,{text:"Discover related keywords and trending insights on your top five keywords."},(0,e.createElement)(ud,{size:16,className:"ntw-ml-8px ntw-inline"}))),(0,e.createElement)("div",{className:"ntw-grid ntw-grid-cols-auto-fit-250px ntw-gap-24px"},d.map((function(t){return(0,e.createElement)(Ad,{key:t,keyword:t})}))))))))}var Zd=Object.defineProperty,Hd=Object.defineProperties,Rd=Object.getOwnPropertyDescriptors,jd=Object.getOwnPropertySymbols,Fd=Object.prototype.hasOwnProperty,Nd=Object.prototype.propertyIsEnumerable,Id=(e,t,n)=>t in e?Zd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const _d=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M112,60a16,16,0,1,1,16,16A16,16,0,0,1,112,60Zm16,52a16,16,0,1,0,16,16A16,16,0,0,0,128,112Zm0,68a16,16,0,1,0,16,16A16,16,0,0,0,128,180Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M208,32V224a16,16,0,0,1-16,16H64a16,16,0,0,1-16-16V32A16,16,0,0,1,64,16H192A16,16,0,0,1,208,32Z",opacity:"0.2"}),a().createElement("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM128,72a12,12,0,1,0-12-12A12,12,0,0,0,128,72Zm0,112a12,12,0,1,0,12,12A12,12,0,0,0,128,184Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M192,16H64A16,16,0,0,0,48,32V224a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V32A16,16,0,0,0,192,16ZM128,208a12,12,0,1,1,12-12A12,12,0,0,1,128,208Zm0-68a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm0-68a12,12,0,1,1,12-12A12,12,0,0,1,128,72Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M118,60a10,10,0,1,1,10,10A10,10,0,0,1,118,60Zm10,58a10,10,0,1,0,10,10A10,10,0,0,0,128,118Zm0,68a10,10,0,1,0,10,10A10,10,0,0,0,128,186Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM128,72a12,12,0,1,0-12-12A12,12,0,0,0,128,72Zm0,112a12,12,0,1,0,12,12A12,12,0,0,0,128,184Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M120,60a8,8,0,1,1,8,8A8,8,0,0,1,120,60Zm8,60a8,8,0,1,0,8,8A8,8,0,0,0,128,120Zm0,68a8,8,0,1,0,8,8A8,8,0,0,0,128,188Z"}))]]),Dd=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>Hd(e,Rd(t)))(((e,t)=>{for(var n in t||(t={}))Fd.call(t,n)&&Id(e,n,t[n]);if(jd)for(var n of jd(t))Nd.call(t,n)&&Id(e,n,t[n]);return e})({ref:t},e),{weights:_d}))));Dd.displayName="DotsThreeVertical";var Vd=window.wp.date;function Ud(t){var n=t.className;return(0,e.createElement)("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("path",{d:"M3.8752 6.89839C3.94291 6.89839 4.01843 6.90881 4.10176 6.92964C4.1851 6.95048 4.26843 6.97912 4.35176 7.01558C4.4351 7.05204 4.51843 7.08589 4.60176 7.11714C4.6851 7.14839 4.76062 7.17964 4.82833 7.21089L4.70333 7.22652C4.66166 7.23173 4.61739 7.23433 4.57051 7.23433C4.48197 7.23433 4.40124 7.22131 4.32833 7.19527C4.25541 7.16923 4.1877 7.13537 4.1252 7.09371C4.0627 7.05204 4.0002 7.02079 3.9377 6.99996C3.8752 6.97912 3.81791 6.9635 3.76583 6.95308C3.71374 6.95308 3.66687 6.9635 3.6252 6.98433C3.58353 7.00516 3.54187 7.0286 3.5002 7.05464C3.5002 7.03381 3.48197 7.02339 3.44551 7.02339C3.48197 6.98694 3.54968 6.95829 3.64864 6.93746C3.7476 6.91662 3.82312 6.9036 3.8752 6.89839ZM4.92989 7.24996C5.14343 7.24996 5.33874 7.28641 5.51583 7.35933C5.44291 7.38537 5.36999 7.40621 5.29708 7.42183C5.22416 7.43746 5.14864 7.44787 5.07051 7.45308C4.96635 7.45308 4.8726 7.44266 4.78926 7.42183C4.8153 7.38016 4.84135 7.35412 4.86739 7.34371C4.89343 7.33329 4.91426 7.30204 4.92989 7.24996ZM8.0002 -4.38201e-05C8.73458 -4.38201e-05 9.4403 0.0963104 10.1174 0.289019C10.7945 0.481727 11.4299 0.749956 12.0236 1.09371C12.6174 1.43746 13.1591 1.85673 13.6486 2.35152C14.1382 2.84631 14.5549 3.38537 14.8986 3.96871C15.2424 4.55204 15.5132 5.18746 15.7111 5.87496C15.9091 6.56246 16.0054 7.27079 16.0002 7.99996C16.0002 8.73433 15.9038 9.44006 15.7111 10.1171C15.5184 10.7942 15.2502 11.4296 14.9065 12.0234C14.5627 12.6171 14.1434 13.1588 13.6486 13.6484C13.1538 14.138 12.6148 14.5546 12.0315 14.8984C11.4481 15.2421 10.8127 15.513 10.1252 15.7109C9.4377 15.9088 8.72937 16.0052 8.0002 16C7.26583 16 6.5601 15.9036 5.88301 15.7109C5.20593 15.5182 4.57051 15.25 3.97676 14.9062C3.38301 14.5625 2.84135 14.1432 2.35176 13.6484C1.86218 13.1536 1.44551 12.6145 1.10176 12.0312C0.758013 11.4479 0.48718 10.8125 0.289263 10.125C0.0913462 9.43746 -0.00500801 8.72912 0.000200321 7.99996C0.000200321 7.26558 0.0965545 6.55985 0.289263 5.88277C0.481971 5.20569 0.7502 4.57027 1.09395 3.97652C1.4377 3.38277 1.85697 2.8411 2.35176 2.35152C2.84655 1.86194 3.38562 1.44527 3.96895 1.10152C4.55228 0.757769 5.1877 0.486935 5.8752 0.289019C6.5627 0.091102 7.27103 -0.00525215 8.0002 -4.38201e-05ZM13.9533 4.33589C13.8804 4.22131 13.8075 4.11194 13.7346 4.00777C13.6617 3.9036 13.5861 3.79683 13.508 3.68746C13.4976 3.73433 13.4846 3.76819 13.469 3.78902C13.4533 3.80985 13.4429 3.85673 13.4377 3.92964C13.4377 3.97652 13.4559 4.02079 13.4924 4.06246C13.5288 4.10412 13.5757 4.14579 13.633 4.18746C13.6903 4.22912 13.7476 4.26037 13.8049 4.28121C13.8622 4.30204 13.9117 4.32027 13.9533 4.33589ZM13.4143 3.57027C13.4143 3.61194 13.4065 3.64058 13.3908 3.65621H13.4377C13.4585 3.65621 13.4742 3.65881 13.4846 3.66402L13.4143 3.57027ZM8.0002 15C8.59395 15 9.17468 14.9244 9.74239 14.7734C10.3101 14.6224 10.8466 14.4088 11.3518 14.1328C11.857 13.8567 12.3257 13.5182 12.758 13.1171C13.1903 12.7161 13.5679 12.2682 13.8908 11.7734C13.8231 11.6171 13.758 11.4583 13.6955 11.2968C13.633 11.1354 13.6018 10.9687 13.6018 10.7968C13.6018 10.6093 13.6096 10.4583 13.6252 10.3437C13.6408 10.2291 13.6591 10.1276 13.6799 10.039C13.7007 9.95048 13.7111 9.87496 13.7111 9.81246C13.7111 9.74996 13.7033 9.66923 13.6877 9.57027C13.6721 9.47131 13.6278 9.36454 13.5549 9.24996C13.482 9.13537 13.3856 8.97391 13.2658 8.76558C13.271 8.72912 13.2788 8.67964 13.2893 8.61714C13.2997 8.55464 13.3101 8.48954 13.3205 8.42183C13.3309 8.35412 13.3335 8.29162 13.3283 8.23433C13.3231 8.17704 13.3101 8.12756 13.2893 8.08589C13.1538 8.07027 13.0132 8.04162 12.8674 7.99996C12.7216 7.95829 12.5913 7.89579 12.4768 7.81246L12.5236 7.77339C12.4559 7.78902 12.3882 7.80985 12.3205 7.83589C12.2528 7.86194 12.1877 7.89058 12.1252 7.92183C12.0627 7.95308 11.995 7.97391 11.9221 7.98433C11.8492 7.99475 11.7788 8.00516 11.7111 8.01558L11.5861 7.99996L11.6096 7.94527C11.5367 7.9661 11.4585 7.99214 11.3752 8.02339C11.2919 8.05464 11.2111 8.07027 11.133 8.07027C11.0809 8.07027 11.0054 8.05204 10.9065 8.01558C10.8075 7.97912 10.7085 7.93485 10.6096 7.88277C10.5106 7.83069 10.4221 7.77339 10.344 7.71089C10.2658 7.64839 10.2268 7.5885 10.2268 7.53121L10.2424 7.50777C10.2163 7.47652 10.1825 7.44787 10.1408 7.42183C10.0992 7.39579 10.0601 7.36975 10.0236 7.34371C9.98718 7.31766 9.95333 7.28902 9.92208 7.25777C9.89083 7.22652 9.8778 7.19006 9.88301 7.14839L9.96895 7.07808L9.78926 7.05464L9.72676 6.82027C9.73718 6.84631 9.76062 6.85673 9.79708 6.85152C9.83353 6.84631 9.86218 6.83589 9.88301 6.82027L9.60176 6.67183L9.79708 6.17183C9.72416 5.901 9.70593 5.69266 9.74239 5.54683C9.77885 5.401 9.84916 5.28121 9.95333 5.18746C10.0575 5.09371 10.1721 4.99996 10.2971 4.90621C10.4221 4.81246 10.5497 4.68485 10.6799 4.52339L10.6565 4.42964L11.1721 3.80464L11.2893 3.78902C11.4351 3.78902 11.5992 3.78381 11.7815 3.77339C11.9637 3.76298 12.1486 3.74475 12.3361 3.71871C12.5236 3.69266 12.7085 3.66662 12.8908 3.64058C13.0731 3.61454 13.2398 3.58069 13.3908 3.53902C13.2242 3.3411 13.0497 3.1536 12.8674 2.97652C12.6851 2.79944 12.4898 2.63016 12.2815 2.46871C12.2242 2.48954 12.1538 2.51819 12.0705 2.55464C11.9872 2.5911 11.9038 2.63798 11.8205 2.69527C11.7372 2.75256 11.6721 2.81506 11.6252 2.88277C11.5783 2.95048 11.5497 3.02079 11.5393 3.09371L11.5861 3.24214C11.4924 3.39319 11.3882 3.48694 11.2736 3.52339C11.1591 3.55985 11.0419 3.58069 10.9221 3.58589C10.8023 3.5911 10.6773 3.5911 10.5471 3.58589C10.4169 3.58069 10.2919 3.60412 10.1721 3.65621L10.0471 3.39058L10.1643 2.93746L10.0315 2.74214L11.383 2.32027C11.3257 2.17444 11.232 2.06506 11.1018 1.99214C10.9716 1.91923 10.8283 1.88277 10.6721 1.88277V1.80464L11.1096 1.73433C10.6252 1.49475 10.1226 1.31246 9.60176 1.18746C9.08093 1.06246 8.54708 0.999956 8.0002 0.999956C7.54708 0.999956 7.09916 1.04423 6.65645 1.13277C6.21374 1.22131 5.78666 1.34891 5.3752 1.51558C4.96374 1.68225 4.5653 1.89058 4.17989 2.14058C3.79447 2.39058 3.44291 2.67183 3.1252 2.98433C3.26062 2.98433 3.36478 3.01819 3.4377 3.08589C3.51062 3.1536 3.57833 3.22912 3.64083 3.31246C3.70333 3.39579 3.76843 3.47131 3.83614 3.53902C3.90385 3.60673 3.99499 3.64319 4.10958 3.64839L4.23458 3.55464L4.21895 3.38277L4.47676 3.01558L4.27364 2.43746C4.29968 2.42183 4.33874 2.39579 4.39083 2.35933C4.44291 2.32287 4.48718 2.30464 4.52364 2.30464C4.67989 2.30464 4.79968 2.31246 4.88301 2.32808C4.96635 2.34371 5.03926 2.37235 5.10176 2.41402C5.16426 2.45569 5.21895 2.51558 5.26583 2.59371C5.3127 2.67183 5.38562 2.77079 5.48458 2.89058L5.76583 2.67183C5.81791 2.69266 5.90124 2.72652 6.01583 2.77339C6.13041 2.82027 6.2476 2.87756 6.36739 2.94527C6.48718 3.01298 6.58874 3.08329 6.67208 3.15621C6.75541 3.22912 6.79968 3.29683 6.80489 3.35933C6.80489 3.43746 6.77624 3.49996 6.71895 3.54683C6.66166 3.59371 6.58614 3.63277 6.49239 3.66402C6.39864 3.69527 6.30228 3.71871 6.20333 3.73433C6.10437 3.74996 6.00541 3.77079 5.90645 3.79683C5.80749 3.82287 5.73197 3.84891 5.67989 3.87496C5.6278 3.901 5.59655 3.94527 5.58614 4.00777L6.03926 4.15621C5.9351 4.24475 5.82312 4.32548 5.70333 4.39839C5.58353 4.47131 5.45853 4.53902 5.32833 4.60152L5.35958 4.73433L4.64083 5.01558V5.23433L4.58614 5.25777L4.6252 4.98433L4.59395 4.97652C4.55749 4.97652 4.53666 4.98433 4.53145 4.99996C4.52624 5.01558 4.52364 5.03381 4.52364 5.05464C4.52364 5.07548 4.52885 5.09631 4.53926 5.11714C4.54968 5.13798 4.55228 5.1536 4.54708 5.16402L4.44551 5.10933L4.46114 5.14058C4.46114 5.15621 4.46895 5.17964 4.48458 5.21089C4.5002 5.24214 4.52103 5.27079 4.54708 5.29683C4.57312 5.32287 4.59395 5.34891 4.60958 5.37496C4.6252 5.401 4.63562 5.41402 4.64083 5.41402C4.64083 5.42964 4.63041 5.44527 4.60958 5.46089C4.58874 5.47652 4.5627 5.48694 4.53145 5.49214C4.5002 5.49735 4.47937 5.50516 4.46895 5.51558C4.45853 5.526 4.45853 5.5286 4.46895 5.52339C4.54187 5.52339 4.55749 5.5286 4.51583 5.53902C4.47416 5.54944 4.40905 5.57548 4.32051 5.61714C4.23197 5.65881 4.15124 5.71871 4.07833 5.79683C4.00541 5.87496 3.96374 5.98954 3.95333 6.14058C3.95333 6.22912 3.95593 6.31506 3.96114 6.39839C3.96635 6.48173 3.96374 6.56766 3.95333 6.65621C3.88041 6.45829 3.77103 6.30725 3.6252 6.20308C3.47937 6.09891 3.30228 6.04683 3.09395 6.04683L2.75801 6.07808L2.92208 6.18746C2.83353 6.17704 2.74239 6.16662 2.64864 6.15621C2.55489 6.14579 2.45853 6.14319 2.35958 6.14839C2.26062 6.1536 2.17208 6.17444 2.09395 6.21089C2.01583 6.24735 1.9377 6.30204 1.85958 6.37496L1.8127 6.72652C1.8127 6.89319 1.84916 7.0286 1.92208 7.13277C1.99499 7.23694 2.1226 7.29162 2.30489 7.29683C2.46114 7.29683 2.61478 7.27339 2.76583 7.22652C2.91687 7.17964 3.0653 7.12496 3.21114 7.06246C3.16426 7.17704 3.11218 7.28641 3.05489 7.39058C2.9976 7.49475 2.95593 7.60933 2.92989 7.73433L3.03145 7.78121C3.15645 7.69787 3.27103 7.68485 3.3752 7.74214C3.47937 7.79944 3.58093 7.88277 3.67989 7.99214C3.77885 8.10152 3.88041 8.2135 3.98458 8.32808C4.08874 8.44266 4.20072 8.526 4.32051 8.57808L4.05489 8.71871L3.42989 8.36714C3.4351 8.37756 3.4403 8.401 3.44551 8.43746C3.45072 8.47391 3.44812 8.48173 3.4377 8.46089L3.15645 7.98433C2.98978 7.97912 2.8127 7.95308 2.6252 7.90621C2.4377 7.85933 2.2476 7.79683 2.05489 7.71871C1.86218 7.64058 1.68249 7.55464 1.51583 7.46089C1.34916 7.36714 1.19551 7.26819 1.05489 7.16402L1.0002 7.99996C1.0002 8.63537 1.08614 9.25516 1.25801 9.85933C1.42989 10.4635 1.67208 11.0312 1.98458 11.5625C2.29708 12.0937 2.67989 12.5781 3.13301 13.0156C3.58614 13.4531 4.08874 13.8255 4.64083 14.1328C4.61478 14.0234 4.61218 13.914 4.63301 13.8046C4.65385 13.6953 4.67989 13.5859 4.71114 13.4765C4.74239 13.3671 4.77624 13.2578 4.8127 13.1484C4.84916 13.039 4.86739 12.927 4.86739 12.8125C4.86739 12.6458 4.84135 12.4713 4.78926 12.289C4.73718 12.1067 4.67468 11.9218 4.60176 11.7343C4.52885 11.5468 4.44812 11.3619 4.35958 11.1796C4.27103 10.9974 4.20072 10.8255 4.14864 10.664C4.09655 10.5026 4.05489 10.3515 4.02364 10.2109C3.99239 10.0703 4.00801 9.94787 4.07051 9.84371L3.95333 9.78902C3.98458 9.7161 4.02624 9.64579 4.07833 9.57808C4.13041 9.51037 4.1851 9.44266 4.24239 9.37496C4.29968 9.30725 4.34395 9.23433 4.3752 9.15621C4.40645 9.07808 4.42468 8.99996 4.42989 8.92183C4.42989 8.86975 4.41947 8.81506 4.39864 8.75777C4.3778 8.70048 4.35958 8.64579 4.34395 8.59371L4.50801 8.63277C4.59655 8.42964 4.71635 8.29162 4.86739 8.21871C5.01843 8.14579 5.20853 8.10673 5.4377 8.10152C5.46374 8.10152 5.51843 8.11194 5.60176 8.13277C5.6851 8.1536 5.77364 8.18225 5.86739 8.21871C5.96114 8.25516 6.04968 8.28381 6.13301 8.30464C6.21635 8.32548 6.27885 8.34631 6.32051 8.36714C6.32051 8.4036 6.34135 8.42704 6.38301 8.43746C6.42468 8.44787 6.44812 8.4661 6.45333 8.49214L6.4377 8.55464C6.45333 8.55985 6.48978 8.57808 6.54708 8.60933C6.60437 8.64058 6.66687 8.67964 6.73458 8.72652C6.80228 8.77339 6.86218 8.81506 6.91426 8.85152C6.96635 8.88798 7.0028 8.91662 7.02364 8.93746C7.11739 8.93746 7.24499 8.96871 7.40645 9.03121C7.56791 9.09371 7.74499 9.17183 7.9377 9.26558C8.13041 9.35933 8.32051 9.47131 8.50801 9.60152C8.69551 9.73173 8.8726 9.86194 9.03926 9.99214C9.20593 10.1224 9.33353 10.2526 9.42208 10.3828C9.51062 10.513 9.5627 10.6276 9.57833 10.7265L9.3127 11.0078C9.33353 11.2734 9.3153 11.4765 9.25801 11.6171C9.20072 11.7578 9.11218 11.875 8.99239 11.9687C8.8726 12.0625 8.73458 12.1406 8.57833 12.2031C8.42208 12.2656 8.2528 12.3541 8.07051 12.4687C8.07051 12.5729 8.04447 12.6849 7.99239 12.8046C7.9403 12.9244 7.8752 13.039 7.79708 13.1484C7.71895 13.2578 7.6252 13.3489 7.51583 13.4218C7.40645 13.4947 7.29708 13.5312 7.1877 13.5312L6.85958 13.2812C6.86999 13.2916 6.86999 13.3099 6.85958 13.3359C6.84916 13.3619 6.83614 13.3671 6.82051 13.3515C6.8726 13.4505 6.88562 13.5651 6.85958 13.6953C6.83353 13.8255 6.78926 13.9583 6.72676 14.0937C6.66426 14.2291 6.59395 14.3567 6.51583 14.4765C6.4377 14.5963 6.36739 14.6979 6.30489 14.7812C6.58614 14.8541 6.86739 14.9088 7.14864 14.9453C7.42989 14.9817 7.71374 15 8.0002 15Z",fill:"#88B0FF"}))}var Bd=Zn.useSelect;function qd(){var t=Uo({taxonomy:"post_tag",wpService:Wo}).existingTerms,n=Ma(),r=n.metaDescription,a=n.metaTitleFormatted,o=Bd((function(e){var t=e("core"),n=e("core/editor");return{permalinks:n.getPermalinkParts(),postTitle:n.getEditedPostAttribute("title"),postDate:n.getEditedPostAttribute("date"),site:t.getSite()}})),i=o.site,s=o.permalinks,l=o.postTitle,c=o.postDate,u=(null==s?void 0:s.prefix.replace(/https?\:\/\//,"").split("/").filter((function(e){return!!e})))||[];return(0,e.createElement)("div",{className:"ntw-grid ntw-grid-cols-2 ntw-gap-64px"},(0,e.createElement)("div",{className:"ntw-font-google"},(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Google preview:"),(0,e.createElement)("div",{className:"ntw-mb-16px ntw-flex ntw-items-start"},(0,e.createElement)("div",{className:"ntw-mr-8px ntw-flex-shrink-0 ntw-rounded-full ntw-bg-[#F1F3F4] ntw-p-8px"},(0,e.createElement)(Ud,{className:"ntw-w-16px"})),(0,e.createElement)("div",{className:"ntw-flex-1 ntw-text-paragraph-tight"},(0,e.createElement)("div",{className:"ntw-mb-8px"},null==i?void 0:i.title),(0,e.createElement)("div",{className:"ntw-flex ntw-items-center ntw-text-typography-medium"},(0,e.createElement)("span",{className:"ntw-line-clamp-1 ntw-flex-1"},u.join(" > ")," > ",null==s?void 0:s.postName),(0,e.createElement)(Dd,{size:12,weight:"bold"})))),(0,e.createElement)("div",{className:"ntw-mb-8px ntw-line-clamp-2 ntw-text-paragraph-tight ntw-text-[#1A0DAB]"},a),(0,e.createElement)("div",{className:"ntw-font-normal ntw-text-typography-medium"},!!(null==i?void 0:i.date_format)&&(0,e.createElement)("span",null,Vd.format(i.date_format,c)," — "),r)),(0,e.createElement)("div",{className:"ntw-space-y-24px"},(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Headline:"),(0,e.createElement)("div",{className:"ntw-text-paragraph-medium"},l)),(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Tags:"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-8px"},t.map((function(t){return(0,e.createElement)("span",{key:t.id,className:"ntw-rounded-full ntw-bg-gravity-600 ntw-px-8px ntw-py-4px ntw-text-paragraph-xs"},t.name)}))))))}function zd(t){var n=t.tag,r=t.tags,a=t.onClick,o=t.className,i=(0,e.useMemo)((function(){var e=r.indexOf(n);return"rgba(136, 176, 255, ".concat(1-1/r.length*e,")")}),[n,r]);return(0,e.createElement)("button",{className:mn("ntw-appearance-none ntw-rounded-full ntw-px-16px ntw-py-8px ntw-text-typography-dark hover:ntw-ring-1 hover:ntw-ring-button-hover",o),style:{backgroundColor:i},onClick:a,disabled:!a},n)}var Gd=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))};function Wd(t){var n=t.title,r=t.subtitle,a=t.isLoading,o=t.error,i=t.history,s=t.onChange,l=t.onRefresh,c=t.tags,u=t.selectedTags,d=(0,e.useMemo)((function(){var e=[];try{e=(null==c?void 0:c.filter((function(e){return!(null==u?void 0:u.includes(e))})))||[]}catch(e){lt.error("Error filtering suggested tags",e)}return e}),[u,c]);return(0,e.createElement)("div",null,(0,e.createElement)(Hu,{title:n,subtitle:r,className:"ntw-mb-24px",onRefresh:l,history:i}),(0,e.createElement)(pd,{isLoading:a,error:o,retry:l},!!(null==c?void 0:c.length)&&(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-24px"},!!d.length&&d.length>0&&(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Recommended tags:"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-16px"},d.map((function(t){return(0,e.createElement)(zd,{key:t,tag:t,tags:c||[],onClick:function(){if(!(null==u?void 0:u.includes(t))){var e=Gd(Gd([],u||[],!0),[t],!1);null==s||s({values:e})}}})})))),!!(null==u?void 0:u.length)&&(0,e.createElement)("div",{className:"ntw-mt-24px"},(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Selected tags:"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-16px"},(u||[]).map((function(t){return(0,e.createElement)(zd,{key:t,tag:t,tags:c||[],onClick:function(){var e=(u||[]).filter((function(e){return e!==t}));null==s||s({values:e})}})}))))))))}var Qd=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},Kd="post_tag";function $d(t){var n,r=t.title,a=t.subtitle,o=t.isLoading,i=t.error,s=t.history,l=t.onRefresh,c=t.tags,u=(0,e.useState)([]),d=u[0],f=u[1],p=Uo({taxonomy:Kd,wpService:Wo}),h=p.addTag,m=p.removeTag,C=p.existingTerms,y=p.errorWhileAddingTag,g=C.map((function(e){return e.name}));try{n=null==c?void 0:c.filter((function(e){return!g.includes(e)&&!d.includes(e)}))}catch(e){lt.error("Error filtering suggested tags: ".concat(c),e)}var v=C.filter((function(e){var t=e.name;return null==c?void 0:c.some((function(e){return e===t}))})),b=(0,e.useMemo)((function(){return d.filter((function(e){return g.includes(e)}))}),[g,d]),w=(0,e.useMemo)((function(){return d.filter((function(e){return!b.includes(e)}))}),[d,b]);return(0,e.useEffect)((function(){b.length&&f((function(e){return e.filter((function(e){return!b.includes(e)}))}))}),[b]),(0,e.createElement)("div",null,(0,e.createElement)(Hu,{title:r,subtitle:a,className:"ntw-mb-24px",onRefresh:l,history:s}),(0,e.createElement)(pd,{isLoading:o,error:i,retry:l},(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-24px"},(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Generated tags:"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-16px"},(null==n?void 0:n.length)?null==n?void 0:n.map((function(t){return(0,e.createElement)(zd,{key:t,tag:t,tags:c||[],onClick:function(){return function(e){d.includes(e)||(f((function(t){return Qd(Qd([],t,!0),[e],!1)})),h(e))}(t)}})})):null)),(!!(null==v?void 0:v.length)||!!w.length)&&(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Selected tags:"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-16px"},(null==v?void 0:v.length)?null==v?void 0:v.map((function(t){return(0,e.createElement)(zd,{key:t.id,tag:t.name,tags:c||[],onClick:function(){return m(t.id)}})})):null,w.map((function(t){return(0,e.createElement)(zd,{key:"pending-".concat(t),tag:t,tags:c||[],className:"ntw-cursor-wait"})})))))),y&&(0,e.createElement)(Ba,{level:"error",className:"ntw-mt-2"},(0,e.createElement)("div",{className:"ntw-flex ntw-justify-between ntw-gap-16px"},(0,e.createElement)("div",null,y))))}var Jd=function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))},Yd=function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}};function Xd(t){var n=this,r=t.value,a=t.onChange,o=t.onSelect,i=t.selected,s=t.onRevert,l=t.showCharacterCount,c=void 0===l||l,u=t.title,d=t.afterText,f=t.getCopyText,p=(0,e.useRef)(null),h=(0,e.useState)(!1),m=h[0],C=h[1],y=(0,e.useMemo)((function(){return(null==f?void 0:f(r))||r}),[r,f]);(0,e.useEffect)((function(){if(p.current){p.current.style.height="0px";var e=p.current.scrollHeight;p.current.style.height=e+"px"}}),[p,r]);var g=Ea().postId,v=function(e){return Jd(n,void 0,void 0,(function(){var t,n;return Yd(this,(function(a){return t=u in lr?lr[u]:u,ut({content:(n={},n[t]=r,n),event:e,field:t,postId:g}),[2]}))}))};return(0,e.createElement)("div",null,(0,e.createElement)("div",{className:mn("ntw-group ntw-flex ntw-items-center ntw-justify-between ntw-rounded-lg ntw-border ntw-border-gray-100 ntw-p-16px",{"ntw-bg-gravity-200":i})},(0,e.createElement)("div",{className:"ntw-flex-1"},(0,e.createElement)("textarea",{ref:p,value:r,onChange:function(e){return a(e.target.value)},rows:1,style:{minHeight:"1.5rem"},className:"ntw-w-full ntw-resize-none ntw-border-none ntw-bg-transparent ntw-text-paragraph-base ntw-shadow-none ntw-outline-none",disabled:i}),d),(0,e.createElement)("div",{className:mn("ntw-ml-16px",{"ntw-opacity-0 group-hover:ntw-opacity-100":!i})},!(!i||!s)&&(0,e.createElement)(Kn,{onClick:function(){v("revert"),s()},size:300},"Revert"),!i&&o&&(0,e.createElement)(Kn,{onClick:function(){v("select"),o()},variant:"secondary",size:300},"Select"),!o&&(0,e.createElement)(Kn,{onClick:function(){return Jd(n,void 0,void 0,(function(){var e,t;return Yd(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,navigator.clipboard.writeText(y)];case 1:return n.sent(),C(!0),setTimeout((function(){C(!1)}),1e3),vt.saveEvents({event:"copy",field:"".concat(rr.Social,":").concat(u.toLocaleLowerCase().replaceAll(" ","_")),content:(t={},t[rr.Social]=r,t),postId:g}),[3,3];case 2:return e=n.sent(),lt.error(e),[3,3];case 3:return[2]}}))}))},variant:"secondary",size:300},m?"Copied!":"Copy"))),!!c&&(0,e.createElement)("div",{className:"ntw-pt-4px ntw-text-right ntw-text-xs ntw-text-typography-medium"},y.length," characters"))}var ef=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))};function tf(t){var n=t.options,r=t.updateOptions,a=t.onSelect,o=t.onRefresh,i=t.title,s=t.subtitle,l=t.isLoading,c=t.error,u=t.disabled,d=t.disabledMessage,f=t.history,p=t.currentValue,h=t.onRevert,m=t.divId,C=t.notice,y=t.afterText,g=t.getCopyText,v=t.tone,b=t.addHistoryItem,w=!l&&!(null==n?void 0:n.length);return(0,e.createElement)("div",{id:m},(0,e.createElement)(Hu,{title:i,subtitle:s,className:"ntw-mb-24px",onRefresh:o,history:f,tone:v,addHistoryItem:b}),!!C&&(0,e.createElement)(Ba,{level:"info",className:"ntw-my-4"},C),u?(0,e.createElement)("div",null,d||"Currently unavailable."):(0,e.createElement)(pd,{isLoading:l,error:c,retry:o},(0,e.createElement)("div",{className:"ntw-space-y-16px"},w?(0,e.createElement)(Ba,{level:"info"},(0,e.createElement)("div",{className:"ntw-flex ntw-justify-between ntw-gap-16px"},(0,e.createElement)("div",null,"No results"),(0,e.createElement)("button",{onClick:o,className:"ntw-font-bold ntw-uppercase ntw-tracking-wider"},"Retry"))):null==n?void 0:n.map((function(t,o){return(0,e.createElement)("div",{key:o},(0,e.createElement)(Xd,{title:i,value:t,onChange:function(e){if(n){var t=ef([],n,!0);t[o]=e,r({values:t})}},onSelect:a?function(){return a(t)}:void 0,selected:p===t,onRevert:h,afterText:y,getCopyText:g}))})))))}function nf(t){var n=t.children,r=t.hidden,a=t.buttonId;return r?null:(0,e.createElement)(td,{as:e.Fragment},(function(t){var r=t.selected;return(0,e.createElement)("button",{className:mn("relative ntw-text-paragraph-large",{"ntw-text-button-default":r,"ntw-text-typography-disabled hover:ntw-text-button-hover":!r},a)},n,(0,e.createElement)("span",{className:mn("ntw-absolute -ntw-bottom-2px ntw-block ntw-h-2px ntw-w-full ntw-bg-button-default",{"ntw-opacity-0":!r})}))}))}function rf(t){var n=t.children;return t.hidden?null:(0,e.createElement)(td.Panel,null,n)}function af(t){var n,r,a,o,i,s,l,c,u,d,f,p,h,m,C,y,g,v,b,w,_x,E,x,M,L,S,A,O,T,P,k,Z=t.seoData,H=t.components,R=t.postHTML,j=t.authorizedTools,F=t.enabledTools,N=t.onTabChange,I=t.onReanalyze,_=t.isLoading,D=Ea(),V=D.editPostTitle,U=D.editPostExcerpt,B=D.editPostSlug,q=D.isPublished,z=D.postTitle,G=D.postExcerpt,W=D.postSlug,Q=D.revertTitle,K=D.revertExcerpt,$=D.revertSlug,J=Ma(),Y=J.editMetaDescription,X=J.editMetaTitle,ee=J.metaTitle,te=J.metaDescription,ne=J.revertMetaDescription,re=J.revertMetaTitle,ae=vr().loadingStates,oe=["SUM","SOCIAL"].some((function(e){return j.indexOf(e)>-1})),ie=(0,e.useMemo)((function(){var e,t,n;try{return(null===(n=null===(t=null===(e=Z.selectedHashtags)||void 0===e?void 0:e.data)||void 0===t?void 0:t.values)||void 0===n?void 0:n.join(" "))||""}catch(e){return lt.error("Error processing selected hashtags",Z.selectedHashtags),""}}),[Z.selectedHashtags]),se=(0,e.useMemo)((function(){return(0,e.createElement)("div",null,ie)}),[ie]),le=function(e){return[e,ie].join(" ")};return(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-24px ntw-flex ntw-items-center ntw-justify-between"},(0,e.createElement)("div",{className:"ntw-text-h-900"},"Welcome to Nota"),(0,e.createElement)("div",{className:"ntw-flex ntw-items-center ntw-gap-2"},(0,e.createElement)(Uc,null),(0,e.createElement)("div",{className:"ntw-flex-shrink-0",id:pr},(0,e.createElement)(Kn,{className:"ntw-h-[38px]",disabled:_,variant:"secondary",size:300,onClick:I},(0,e.createElement)("div",{className:"ntw-flex ntw-items-center"},_&&(0,e.createElement)(Jn,{className:"ntw-mr-2"}),"Reanalyze page"))))),(0,e.createElement)("div",{className:"ntw-rounded-2xl ntw-p-24px ntw-shadow"},!oe&&(0,e.createElement)("div",{className:"ntw-text-center"},"It appears your account does not have access to Nota tools. Please contact support for assistance."),oe&&!F.length&&(0,e.createElement)("div",{className:"ntw-text-center"},"Please enable at least one tab in the"," ",(0,e.createElement)("a",{className:"ntw-text-button-default",href:"/wp-admin/options-general.php?page=nota-settings"},"Nota plugin settings"),"."),(0,e.createElement)(td.Group,{onChange:function(e){var t=F[e];N(t)}},(0,e.createElement)(td.List,{className:"ntw-mb-32px ntw-space-x-24px"},(0,e.createElement)(nf,{hidden:!F.includes("content"),buttonId:"meta-tab-content"},"Content"),(0,e.createElement)(nf,{hidden:!F.includes("seo"),buttonId:"meta-tab-seo"},"SEO"),(0,e.createElement)(nf,{hidden:!F.includes("social")},"Social")),(0,e.createElement)(td.Panels,null,(0,e.createElement)(rf,{hidden:!F.includes("content")},(0,e.createElement)("div",{className:"ntw-space-y-32px"},(0,e.createElement)(tf,{divId:"nota-headline",title:ar.Headlines,subtitle:"Select a headline to use on the page",isLoading:Z.headlines.isLoading||ae.headlines,error:Z.headlines.error,options:null===(n=Z.headlines.data)||void 0===n?void 0:n.values,onSelect:V,updateOptions:Z.headlines.update,onRefresh:function(){return Z.headlines.refresh({postHTML:R})},history:Z.headlines.history,currentValue:z,onRevert:Q,tone:null===(r=Z.headlines.data)||void 0===r?void 0:r.tone,addHistoryItem:Z.headlines.addHistoryItem}),(0,e.createElement)(tf,{title:ar.Excerpt,subtitle:"Select an excerpt to use on the page",isLoading:Z.excerpt.isLoading,error:Z.excerpt.error,options:null===(a=Z.excerpt.data)||void 0===a?void 0:a.values,onSelect:U,updateOptions:Z.excerpt.update,onRefresh:function(){return Z.excerpt.refresh({postHTML:R})},history:Z.excerpt.history,currentValue:G,onRevert:K,tone:null===(o=Z.excerpt.data)||void 0===o?void 0:o.tone}),(0,e.createElement)(tf,{title:ar.Summary,subtitle:"Summary for the post",isLoading:Z.summary.isLoading||ae.summary,error:Z.summary.error,options:null===(i=Z.summary.data)||void 0===i?void 0:i.values,updateOptions:Z.summary.update,onRefresh:function(){return Z.summary.refresh({postHTML:R})},history:Z.summary.history,tone:null===(s=Z.summary.data)||void 0===s?void 0:s.tone,addHistoryItem:Z.summary.addHistoryItem}),H.tags&&(0,e.createElement)($d,{subtitle:"Select the tags you want to use on this page",title:ar.Tags,history:Z.tags.history,isLoading:Z.tags.isLoading,error:Z.tags.error,tags:null===(l=Z.tags.data)||void 0===l?void 0:l.values,onRefresh:function(){return Z.tags.refresh({postHTML:R})}}),H.quotes&&(0,e.createElement)(tf,{title:ar.Quotes,subtitle:"",isLoading:Z.quotes.isLoading,error:Z.quotes.error,options:null===(c=Z.quotes.data)||void 0===c?void 0:c.values,updateOptions:Z.quotes.update,onRefresh:function(){return Z.quotes.refresh({postHTML:R})},history:Z.quotes.history,tone:null===(u=Z.quotes.data)||void 0===u?void 0:u.tone}))),(0,e.createElement)(rf,{hidden:!F.includes("seo")},(0,e.createElement)("div",{className:"ntw-space-y-32px"},(0,e.createElement)(tf,{divId:"nota-meta-title",title:ar.MetaTitle,subtitle:"Select a page title to use in your page",isLoading:Z.metaTitles.isLoading||ae.metaTitles,error:Z.metaTitles.error,options:null===(d=Z.metaTitles.data)||void 0===d?void 0:d.values,onSelect:X,updateOptions:Z.metaTitles.update,onRefresh:function(){return Z.metaTitles.refresh({postHTML:R})},history:Z.metaTitles.history,disabled:!H.metaTitles,disabledMessage:"Enabled Yoast to get meta title recommendations.",currentValue:ee,onRevert:re,tone:null===(f=Z.metaTitles.data)||void 0===f?void 0:f.tone,addHistoryItem:Z.metaTitles.addHistoryItem}),(0,e.createElement)(tf,{divId:"nota-slug",title:ar.Slugs,subtitle:"Select a slug to use on the page",isLoading:Z.slugs.isLoading,error:Z.slugs.error,options:null===(p=Z.slugs.data)||void 0===p?void 0:p.values,onSelect:q?void 0:B,updateOptions:Z.slugs.update,onRefresh:function(){return Z.slugs.refresh({postHTML:R})},history:Z.slugs.history,currentValue:W,onRevert:q?void 0:$,notice:q?"Updating the slug on a published post has been disabled for SEO purposes. However, you can still view, copy, and generate suggestions.":void 0,tone:null===(h=Z.slugs.data)||void 0===h?void 0:h.tone}),(0,e.createElement)(tf,{divId:"nota-meta-description",title:ar.MetaDescription,subtitle:"Select a meta description to use in your page",isLoading:Z.metaDescriptions.isLoading||ae.metaDescriptions,error:Z.metaDescriptions.error,options:null===(m=Z.metaDescriptions.data)||void 0===m?void 0:m.values,onSelect:Y,updateOptions:Z.metaDescriptions.update,onRefresh:function(){return Z.metaDescriptions.refresh({postHTML:R})},history:Z.metaDescriptions.history,disabled:!H.metaDescriptions,disabledMessage:"Enabled Yoast to get meta description recommendations.",currentValue:te,onRevert:ne,tone:null===(C=Z.metaDescriptions.data)||void 0===C?void 0:C.tone,addHistoryItem:Z.metaDescriptions.addHistoryItem}),(0,e.createElement)(kd,{title:ar.Keywords,history:Z.keywordSynonyms.history,isLoading:Z.keywordSynonyms.isLoading,error:Z.keywordSynonyms.error,keywords:Object.keys(Z.keywordSynonyms.data||{}),onRefresh:function(){return Z.keywordSynonyms.refresh({postHTML:R})}}))),(0,e.createElement)(rf,{hidden:!F.includes("social")},(0,e.createElement)("div",{className:"ntw-space-y-32px"},H.socialPostsFacebook&&(0,e.createElement)(tf,{title:ar.Facebook,subtitle:"Recommended Facebook post",isLoading:Z.socialPostsFacebook.isLoading||ae.socialPostsFacebook,error:Z.socialPostsFacebook.error,options:null===(y=Z.socialPostsFacebook.data)||void 0===y?void 0:y.values,updateOptions:Z.socialPostsFacebook.update,onRefresh:function(){return Z.socialPostsFacebook.refresh({postHTML:R})},history:Z.socialPostsFacebook.history,afterText:se,getCopyText:le,tone:null===(g=Z.socialPostsFacebook.data)||void 0===g?void 0:g.tone,addHistoryItem:Z.socialPostsFacebook.addHistoryItem}),H.socialPostsInstagram&&(0,e.createElement)(tf,{title:ar.Instagram,subtitle:"Recommended Instagram post",isLoading:Z.socialPostsInstagram.isLoading||ae.socialPostsInstagram,error:Z.socialPostsInstagram.error,options:null===(v=Z.socialPostsInstagram.data)||void 0===v?void 0:v.values,updateOptions:Z.socialPostsInstagram.update,onRefresh:function(){return Z.socialPostsInstagram.refresh({postHTML:R})},history:Z.socialPostsInstagram.history,afterText:se,getCopyText:le,tone:null===(b=Z.socialPostsInstagram.data)||void 0===b?void 0:b.tone,addHistoryItem:Z.socialPostsInstagram.addHistoryItem}),H.socialPostsTwitter&&(0,e.createElement)(tf,{title:ar.Twitter,subtitle:"Recommended X post",isLoading:Z.socialPostsTwitter.isLoading||ae.socialPostsTwitter,error:Z.socialPostsTwitter.error,options:null===(w=Z.socialPostsTwitter.data)||void 0===w?void 0:w.values,updateOptions:Z.socialPostsTwitter.update,onRefresh:function(){return Z.socialPostsTwitter.refresh({postHTML:R})},history:Z.socialPostsTwitter.history,afterText:se,getCopyText:le,tone:null===(_x=Z.socialPostsTwitter.data)||void 0===_x?void 0:_x.tone,addHistoryItem:Z.socialPostsTwitter.addHistoryItem}),H.socialPostsThreads&&(0,e.createElement)(tf,{title:ar.Threads,subtitle:"Recommended Threads post",isLoading:Z.socialPostsThreads.isLoading||ae.socialPostsThreads,error:Z.socialPostsThreads.error,options:null===(E=Z.socialPostsThreads.data)||void 0===E?void 0:E.values,updateOptions:Z.socialPostsThreads.update,onRefresh:function(){return Z.socialPostsThreads.refresh({postHTML:R})},history:Z.socialPostsThreads.history,afterText:se,getCopyText:le,tone:null===(x=Z.socialPostsThreads.data)||void 0===x?void 0:x.tone,addHistoryItem:Z.socialPostsThreads.addHistoryItem}),H.socialPostsLinkedIn&&(0,e.createElement)(tf,{title:ar.LinkedIn,subtitle:"Recommended LinkedIn post",isLoading:Z.socialPostsLinkedIn.isLoading||ae.socialPostsLinkedIn,error:Z.socialPostsLinkedIn.error,options:null===(M=Z.socialPostsLinkedIn.data)||void 0===M?void 0:M.values,updateOptions:Z.socialPostsLinkedIn.update,onRefresh:function(){return Z.socialPostsLinkedIn.refresh({postHTML:R})},history:Z.socialPostsLinkedIn.history,afterText:se,getCopyText:le,tone:null===(L=Z.socialPostsLinkedIn.data)||void 0===L?void 0:L.tone,addHistoryItem:Z.socialPostsLinkedIn.addHistoryItem}),H.socialPostsTikTok&&(0,e.createElement)(tf,{title:ar.TikTok,subtitle:"Recommended TikTok post",isLoading:Z.socialPostsTikTok.isLoading||ae.socialPostsTikTok,error:Z.socialPostsTikTok.error,options:null===(S=Z.socialPostsTikTok.data)||void 0===S?void 0:S.values,updateOptions:Z.socialPostsTikTok.update,onRefresh:function(){return Z.socialPostsTikTok.refresh({postHTML:R})},history:Z.socialPostsTikTok.history,afterText:se,getCopyText:le,tone:null===(A=Z.socialPostsTikTok.data)||void 0===A?void 0:A.tone,addHistoryItem:Z.socialPostsTikTok.addHistoryItem}),H.sms&&(0,e.createElement)(tf,{title:ar.SMS,subtitle:"Recommended SMS message",isLoading:Z.sms.isLoading,error:Z.sms.error,options:null===(O=Z.sms.data)||void 0===O?void 0:O.values,updateOptions:Z.sms.update,onRefresh:function(){return Z.sms.refresh({postHTML:R})},history:Z.sms.history,tone:null===(T=Z.sms.data)||void 0===T?void 0:T.tone}),H.hashtags&&(0,e.createElement)(Wd,{title:"Hashtags",subtitle:"Select the hashtags you would like to include in your posts",history:Z.hashtags.history,isLoading:Z.hashtags.isLoading,error:Z.hashtags.error,tags:null===(P=Z.hashtags.data)||void 0===P?void 0:P.values,selectedTags:null===(k=Z.selectedHashtags.data)||void 0===k?void 0:k.values,onChange:Z.selectedHashtags.update,onRefresh:function(){return Z.hashtags.refresh({postHTML:R})}})))))),(0,e.createElement)("div",{className:"ntw-mt-24px ntw-rounded-2xl ntw-p-24px ntw-shadow"},(0,e.createElement)(Hu,{title:"Preview",subtitle:"See below a preview of your page settings",className:"ntw-mb-32px"}),(0,e.createElement)(qd,null)))}var of,sf=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))};!function(e){e[e.Initial=0]="Initial",e[e.Results=1]="Results"}(of||(of={}));var lf=Zn.useSelect,cf={excerpt:!0,hashtags:window.notaTools.components.hashtags,headlines:!0,slugs:!0,metaDescriptions:window.notaTools.components.meta_description,metaTitles:window.notaTools.components.meta_title,quotes:window.notaTools.components.quotes,socialPostsFacebook:window.notaTools.components.social_posts_facebook,socialPostsInstagram:window.notaTools.components.social_posts_instagram,socialPostsLinkedIn:window.notaTools.components.social_posts_linkedin,socialPostsThreads:window.notaTools.components.social_posts_threads,socialPostsTikTok:window.notaTools.components.social_posts_tiktok,socialPostsTwitter:window.notaTools.components.social_posts_twitter,tags:window.notaTools.components.tags,sms:window.notaTools.components.sms,keywordSynonyms:window.notaTools.components.keywordSynonyms,summary:!0},uf={content:{enabled:window.notaTools.tab_sum_enabled,components:["excerpt","headlines","tags","keywordSynonyms","quotes","summary"]},seo:{enabled:window.notaTools.tab_seo_enabled,components:["metaDescriptions","slugs","metaTitles"]},social:{enabled:window.notaTools.tab_social_enabled,components:["socialPostsFacebook","socialPostsInstagram","socialPostsLinkedIn","socialPostsThreads","socialPostsTikTok","socialPostsTwitter","sms","hashtags"]}},df=function(){var t=wt(),n=t.authorizedTools,r=t.isLoading,a=t.isError,o=vr().analyzePageLoading,i=(0,e.useState)(!1),s=i[0],l=i[1],c=Ia(),u=c.config,d=c.isLoading,f=(0,e.useState)(of.Initial),p=f[0],h=f[1],m=lf((function(e){return e("core/editor").getEditedPostContent()}),[]),C=Aa({notaService:vt,components:cf,requestsToQueue:u.requestsToQueue}),y=(0,e.useState)([]),g=y[0],v=y[1],b=(0,e.useState)("content"),w=b[0],E=b[1],x=(0,e.useMemo)((function(){var e=Object.keys(uf).filter((function(e){switch(e){case"content":case"seo":return n.includes("SUM");case"social":return n.includes("SOCIAL")}return!1}));if(e.length)switch(e[0]){case"sum":E("content");break;case"social":E("social")}return e}),[n]),M=Object.keys(cf).some((function(e){var t,n;return null===(n=null===(t=C[e].data)||void 0===t?void 0:t.values)||void 0===n?void 0:n.length})),L=(0,Zn.useDispatch)("core/interface").enableComplementaryArea,S=(0,e.useCallback)((function(){L("core/edit-post","nota-plugin-sidebar/grade")}),[L]),A=window.notaTools.trigger_proof_enabled;(function(t){var n=Ia().config,r=(0,e.useRef)(null),a=(0,e.useRef)(""),o=vr(),i=o.postMetaData,s=o.setPostMetaData,l=Ea(),c=l.postTitle,u=l.postExcerpt,d=l.postSlug,f=l.postId,p=Ma(),h=p.metaTitle,m=p.metaDescription,C=Aa({notaService:vt,components:t,requestsToQueue:n.requestsToQueue}),y=C.excerpt,g=C.headlines,v=C.metaDescriptions,b=C.metaTitles,w=C.slugs,E=C.tags,x=Uo({taxonomy:"post_tag",wpService:Wo}).existingTerms.map((function(e){return e.name})),M=Qo((function(e){return{isSaving:(0,e("core/editor").isSavingPost)()}}),[]).isSaving;(0,e.useEffect)((function(){if(M){if(0===Object.keys(i).length)return;vt.savePostMetadata({postId:f,metadata:i}).catch(lt.error)}}),[M,f,i]),(0,e.useEffect)((function(){var e,t=Ko(c,g.history.fullHistory.map((function(e){return e.values})).flat()),n=Ko(h,b.history.fullHistory.map((function(e){return e.values})).flat()),r=Ko(d,w.history.fullHistory.map((function(e){return e.values})).flat()),o=Ko(m,v.history.fullHistory.map((function(e){return e.values})).flat()),i=Ko(u,y.history.fullHistory.map((function(e){return e.values})).flat()),l=Ko(x,E.history.fullHistory.map((function(e){return e.values})).flat()),f=(e=[],t&&e.push(rr.Headline),i&&e.push(rr.Excerpt),n&&e.push(rr.MetaTitle),o&&e.push(rr.MetaDescription),r&&e.push(rr.Slug),l&&e.push(rr.Tags),e.join(","));f!==a.current&&(s({nota_published_elements:f}),a.current=f)}),[y.history.fullHistory,g.history.fullHistory,m,v.history.fullHistory,h,b.history.fullHistory,u,d,x,c,s,w.history.fullHistory,E.history.fullHistory]),(0,e.useEffect)((function(){if(M){var e={};Ko(c,g.history.fullHistory.map((function(e){return e.values})).flat())&&(e[rr.Headline]=c),Ko(h,b.history.fullHistory.map((function(e){return e.values})).flat())&&(e[rr.MetaTitle]=h),Ko(d,w.history.fullHistory.map((function(e){return e.values})).flat())&&(e[rr.Slug]=d),Ko(m,v.history.fullHistory.map((function(e){return e.values})).flat())&&(e[rr.MetaDescription]=m),Ko(u,y.history.fullHistory.map((function(e){return e.values})).flat())&&(e[rr.Excerpt]=u),Ko(x,E.history.fullHistory.map((function(e){return e.values})).flat())&&(e[rr.Tags]=x.join(",")),t=e,(!(n=r.current)||Object.keys(t).some((function(e){return(null==n?void 0:n[e])!==t[e]})))&&(ut({content:e,event:"save",field:Object.keys(e).join(",")||"none",postId:f}),r.current=e)}var t,n}),[M])})(cf),(0,e.useEffect)((function(){M&&h(of.Results)}),[M]),(0,e.useEffect)((function(){g.includes(w)&&(v((function(e){var t=e.indexOf(w);return-1===t?e:sf(sf([],e.slice(0,t),!0),e.slice(t+1),!0)})),uf[w]&&uf[w].components.forEach((function(e){C[e].isLoading||C[e].refresh({postHTML:m})})))}),[g,w,m,C]);var O=(0,e.useCallback)((function(e){E(e);var t=uf[e].components;if(t){var n=t.filter((function(t){if(!g.includes(e))return!1;var n=C[t].data;return Array.isArray(n)?!n.length:!Object.keys(n||{}).length}));n.length>0&&(C.run({postHTML:m,components:n}),v((function(t){return t.filter((function(t){return t!==e}))}))),setTimeout((function(){l(!0)}),1e3)}}),[C,m,g,v]),T=function(){var e,t,n;e="runGradeAction",t={action:"refreshData"},n=new CustomEvent(wr(e),{detail:{action:e,payload:t}}),window.dispatchEvent(n),l(!1)},P=Ea().postId,k=(0,e.useCallback)((function(){v(Object.keys(uf)),setTimeout((function(){l(!0)}),1e3),ut({content:{post:m},event:"regenerate",field:"none",postId:P})}),[l,m,P]);(0,e.useEffect)((function(){!o&&A&&s&&(S(),setTimeout(T))}),[o,S,A,s]);var Z=(0,e.useCallback)((function(){h(of.Results),v(Object.keys(uf)),O(w),ut({content:{post:m},event:"generate",field:"none",postId:P})}),[w,O,m,P]);if(!window.notaTools.tools_active)return(0,e.createElement)(Ba,{level:"error"},"Please ensure you have set an API key to continue using Nota's tools.");if(r||d)return(0,e.createElement)("div",null,"Loading the Nota toolset...");if(a)return(0,e.createElement)(Ba,{level:"error"},"There was an error fetching your user data from the Nota API. Please refresh your page and try again. If the issue persists, please contact support.");var H=hr(m||"")<100;return(0,e.createElement)("div",null,p===of.Initial&&(0,e.createElement)(Ru,{disableAnalyze:H,onSubmit:Z}),p===of.Results&&(0,e.createElement)("div",null,(0,e.createElement)(af,{seoData:C,components:cf,postHTML:m,authorizedTools:n,enabledTools:x,onTabChange:O,onReanalyze:k,isLoading:r})))},ff=function(){return(0,e.createElement)(c,{client:Io},(0,e.createElement)(df,null))},pf=Zn.useSelect;function hf(t){var n=t.metaKey,r=t.label,a=(0,Zn.useDispatch)("core/editor"),o=pf((function(e){var t;return(null===(t=e("core/editor").getEditedPostAttribute("meta"))||void 0===t?void 0:t[n])||""}),[n]);return(0,e.createElement)(u.TextControl,{onChange:function(e){var t;a.editPost({meta:(t={},t[n]=e,t)})},value:o,label:r})}var mf=function(){return mf=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},mf.apply(this,arguments)},Cf={keywordSynonyms:{},grade:{data:null,request:{content:"",keywords:{}}},gradeIsLoading:!1,urlsScore:{},urlsLoading:!1,analyzePageLoading:!1,metaData:window.notaTools.metadata||{},brands:[],selectedBrand:null,loadingStates:{excerpt:!1,hashtags:!1,headlines:!1,slugs:!1,tags:!1,metaDescriptions:!1,metaTitles:!1,quotes:!1,socialPostsFacebook:!1,socialPostsInstagram:!1,socialPostsLinkedIn:!1,socialPostsThreads:!1,socialPostsTikTok:!1,socialPostsTwitter:!1,sms:!1,keywordSynonyms:!1,summary:!1},tones:{values:[],isLoading:!1}},yf=(0,Zn.createReduxStore)("nota/data",{reducer:function(e,t){var n;switch(void 0===e&&(e=Cf),t.type){case"SET_KEYWORDS_SYNONYMS":return mf(mf({},e),{keywordSynonyms:t.keywordSynonyms});case"SET_GRADE":return mf(mf({},e),{grade:t.grade});case"SET_GRADE_LOADING":return mf(mf({},e),{gradeIsLoading:t.loading});case"SET_URLS_SCORE":return mf(mf({},e),{urlsScore:t.urlsScore});case"SET_URLS_LOADING":return mf(mf({},e),{urlsLoading:t.loading});case"ANALYZE_PAGE_LOADING":return mf(mf({},e),{analyzePageLoading:t.loading});case"SET_POST_META_DATA":return mf(mf({},e),{metaData:mf(mf({},e.metaData),t.metaData)});case"SET_BRANDS":return mf(mf({},e),{brands:t.brands});case"SET_SELECTED_BRAND":return mf(mf({},e),{selectedBrand:t.selectedBrand});case"SET_LOADING_STATE":return mf(mf({},e),{loadingStates:mf(mf({},e.loadingStates),(n={},n[t.component]=t.loading,n))});case"SET_CURRENT_TONES":return mf(mf({},e),{tones:t.tones});default:return e}},actions:{setKeywordsSynonyms:function(e){return{type:"SET_KEYWORDS_SYNONYMS",keywordSynonyms:e}},setGrade:function(e){return{type:"SET_GRADE",grade:e}},setGradeLoading:function(e){return{type:"SET_GRADE_LOADING",loading:e}},setUrlsScore:function(e){return{type:"SET_URLS_SCORE",urlsScore:e}},setUrlsLoading:function(e){return{type:"SET_URLS_LOADING",loading:e}},setAnalyzePageLoading:function(e){return{type:"ANALYZE_PAGE_LOADING",loading:e}},setPostMetaData:function(e){return{type:"SET_POST_META_DATA",metaData:e}},setBrands:function(e){return{type:"SET_BRANDS",brands:e}},setSelectedBrand:function(e){return{type:"SET_SELECTED_BRAND",selectedBrand:e}},setLoadingState:function(e,t){return{type:"SET_LOADING_STATE",component:e,loading:t}},setCurrentTones:function(e){return{type:"SET_CURRENT_TONES",tones:e}}},selectors:{getKeywordSynonyms:function(e){return e.keywordSynonyms},getGrade:function(e){return e.grade},isGradeLoading:function(e){return e.gradeIsLoading},getUrlsScore:function(e){return e.urlsScore},isUrlsLoading:function(e){return e.urlsLoading},isAnalyzePageLoading:function(e){return e.analyzePageLoading},getPostMetaData:function(e){return e.metaData},getBrands:function(e){return e.brands},getSelectedBrand:function(e){return e.selectedBrand},getLoadingStates:function(e){return e.loadingStates},isLoading:function(e,t){return e.loadingStates[t]},getTones:function(e){return e.tones}}});(0,Zn.register)(yf),function(){var t=document.getElementById("nota-post-tools-meta-box-root");if(t){var n=(0,e.createElement)(ff);e.createRoot?(0,e.createRoot)(t).render(n):(0,e.render)(n,t)}else console.log("Failing to render Nota Post Tools Meta Box as element does not exist")}(),window.notaTools.register_controls.seo&&(0,t.registerPlugin)("nota-seo-tools",{render:function(){return(0,e.createElement)(d.PluginDocumentSettingPanel,{name:"nota-seo-tools",title:"Nota SEO Tools"},(0,e.createElement)(hf,{metaKey:window.notaTools.meta_keys.seo_title,label:"SEO Title"}),(0,e.createElement)(hf,{metaKey:window.notaTools.meta_keys.seo_desc,label:"SEO Description"}))}}),window.notaTools.register_controls.grade&&(0,t.registerPlugin)("nota-plugin-sidebar",{render:function(){var t=wt(),n=t.authorizedTools;return t.isLoading||n.includes("GRADE")?(0,e.createElement)(d.PluginSidebar,{name:"grade",title:"Nota PROOF",className:"nota sidebar",icon:(0,e.createElement)(Zo,null)},(0,e.createElement)(c,{client:Io},(0,e.createElement)(u.Panel,null,(0,e.createElement)(To,null),(0,e.createElement)(br,null),(0,e.createElement)(ko,null),(0,e.createElement)(Po,null)))):null}})}()}();
     1!function(){var e={924:function(e,t,n){"use strict";var r=n(210),a=n(559),o=a(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?a(n):n}},559:function(e,t,n){"use strict";var r=n(612),a=n(210),o=a("%Function.prototype.apply%"),i=a("%Function.prototype.call%"),s=a("%Reflect.apply%",!0)||r.call(i,o),l=a("%Object.getOwnPropertyDescriptor%",!0),c=a("%Object.defineProperty%",!0),u=a("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){var t=s(r,i,arguments);return l&&c&&l(t,"length").configurable&&c(t,"length",{value:1+u(0,e.length-(arguments.length-1))}),t};var d=function(){return s(r,o,arguments)};c?c(e.exports,"apply",{value:d}):e.exports.apply=d},573:function(e){"use strict";var t=/["'&<>]/;e.exports=function(e){var n,r=""+e,a=t.exec(r);if(!a)return r;var o="",i=0,s=0;for(i=a.index;i<r.length;i++){switch(r.charCodeAt(i)){case 34:n="&quot;";break;case 38:n="&amp;";break;case 39:n="&#39;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}s!==i&&(o+=r.substring(s,i)),s=i+1,o+=n}return s!==i?o+r.substring(s,i):o}},648:function(e){"use strict";var t=Array.prototype.slice,n=Object.prototype.toString;e.exports=function(e){var r=this;if("function"!=typeof r||"[object Function]"!==n.call(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var a,o=t.call(arguments,1),i=Math.max(0,r.length-o.length),s=[],l=0;l<i;l++)s.push("$"+l);if(a=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof a){var n=r.apply(this,o.concat(t.call(arguments)));return Object(n)===n?n:this}return r.apply(e,o.concat(t.call(arguments)))})),r.prototype){var c=function(){};c.prototype=r.prototype,a.prototype=new c,c.prototype=null}return a}},612:function(e,t,n){"use strict";var r=n(648);e.exports=Function.prototype.bind||r},210:function(e,t,n){"use strict";var r,a=SyntaxError,o=Function,i=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var c=function(){throw new i},u=l?function(){try{return c}catch(e){try{return l(arguments,"callee").get}catch(e){return c}}}():c,d=n(405)(),f=Object.getPrototypeOf||function(e){return e.__proto__},p={},h="undefined"==typeof Uint8Array?r:f(Uint8Array),m={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?f([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?f(f([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?f((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?f((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?f(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":a,"%ThrowTypeError%":u,"%TypedArray%":h,"%TypeError%":i,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};try{null.error}catch(e){var C=f(f(e));m["%Error.prototype%"]=C}var y=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var a=e("%AsyncGenerator%");a&&(n=f(a.prototype))}return m[t]=n,n},g={"%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"]},v=n(612),w=n(642),b=v.call(Function.call,Array.prototype.concat),E=v.call(Function.apply,Array.prototype.splice),x=v.call(Function.call,String.prototype.replace),M=v.call(Function.call,String.prototype.slice),L=v.call(Function.call,RegExp.prototype.exec),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,A=/\\(\\)?/g,O=function(e,t){var n,r=e;if(w(g,r)&&(r="%"+(n=g[r])[0]+"%"),w(m,r)){var o=m[r];if(o===p&&(o=y(r)),void 0===o&&!t)throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new a("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new i('"allowMissing" argument must be a boolean');if(null===L(/^%?[^%]*%?$/,e))throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=M(e,0,1),n=M(e,-1);if("%"===t&&"%"!==n)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new a("invalid intrinsic syntax, expected opening `%`");var r=[];return x(e,S,(function(e,t,n,a){r[r.length]=n?x(a,A,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=O("%"+r+"%",t),s=o.name,c=o.value,u=!1,d=o.alias;d&&(r=d[0],E(n,b([0,1],d)));for(var f=1,p=!0;f<n.length;f+=1){var h=n[f],C=M(h,0,1),y=M(h,-1);if(('"'===C||"'"===C||"`"===C||'"'===y||"'"===y||"`"===y)&&C!==y)throw new a("property names with quotes must have matching quotes");if("constructor"!==h&&p||(u=!0),w(m,s="%"+(r+="."+h)+"%"))c=m[s];else if(null!=c){if(!(h in c)){if(!t)throw new i("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&f+1>=n.length){var g=l(c,h);c=(p=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:c[h]}else p=w(c,h),c=c[h];p&&!u&&(m[s]=c)}}return c}},405:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,a=n(419);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&a()}},419:function(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"),n=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(n))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 r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(e,t);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},642:function(e,t,n){"use strict";var r=n(612);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},631:function(e,t,n){var r="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&a&&"function"==typeof a.get?a.get:null,i=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&l&&"function"==typeof l.get?l.get:null,u=s&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,m=Object.prototype.toString,C=Function.prototype.toString,y=String.prototype.match,g=String.prototype.slice,v=String.prototype.replace,w=String.prototype.toUpperCase,b=String.prototype.toLowerCase,E=RegExp.prototype.test,x=Array.prototype.concat,M=Array.prototype.join,L=Array.prototype.slice,S=Math.floor,A="function"==typeof BigInt?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,P="function"==typeof Symbol&&"object"==typeof Symbol.iterator,k="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,Z=Object.prototype.propertyIsEnumerable,H=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function R(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||E.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-S(-e):S(e);if(r!==e){var a=String(r),o=g.call(t,a.length+1);return v.call(a,n,"$&_")+"."+v.call(v.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(t,n,"$&_")}var j=n(654),F=j.custom,N=U(F)?F:null;function I(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function _(e){return v.call(String(e),/"/g,"&quot;")}function D(e){return!("[object Array]"!==z(e)||k&&"object"==typeof e&&k in e)}function V(e){return!("[object RegExp]"!==z(e)||k&&"object"==typeof e&&k in e)}function U(e){if(P)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!T)return!1;try{return T.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,r,a){var s=n||{};if(q(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(q(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 l=!q(s,"customInspect")||s.customInspect;if("boolean"!=typeof l&&"symbol"!==l)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(q(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(q(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=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 W(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var w=String(t);return m?R(t,w):w}if("bigint"==typeof t){var E=String(t)+"n";return m?R(t,E):E}var S=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=S&&S>0&&"object"==typeof t)return D(t)?"[Array]":"[Object]";var O,F=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=M.call(Array(e.indent+1)," ")}return{base:n,prev:M.call(Array(t+1),n)}}(s,r);if(void 0===a)a=[];else if(G(a,t)>=0)return"[Circular]";function B(t,n,o){if(n&&(a=L.call(a)).push(n),o){var i={depth:s.depth};return q(s,"quoteStyle")&&(i.quoteStyle=s.quoteStyle),e(t,i,r+1,a)}return e(t,s,r+1,a)}if("function"==typeof t&&!V(t)){var Q=function(e){if(e.name)return e.name;var t=y.call(C.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),ee=X(t,B);return"[Function"+(Q?": "+Q:" (anonymous)")+"]"+(ee.length>0?" { "+M.call(ee,", ")+" }":"")}if(U(t)){var te=P?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):T.call(t);return"object"!=typeof t||P?te:K(te)}if((O=t)&&"object"==typeof O&&("undefined"!=typeof HTMLElement&&O instanceof HTMLElement||"string"==typeof O.nodeName&&"function"==typeof O.getAttribute)){for(var ne="<"+b.call(String(t.nodeName)),re=t.attributes||[],ae=0;ae<re.length;ae++)ne+=" "+re[ae].name+"="+I(_(re[ae].value),"double",s);return ne+=">",t.childNodes&&t.childNodes.length&&(ne+="..."),ne+"</"+b.call(String(t.nodeName))+">"}if(D(t)){if(0===t.length)return"[]";var oe=X(t,B);return F&&!function(e){for(var t=0;t<e.length;t++)if(G(e[t],"\n")>=0)return!1;return!0}(oe)?"["+Y(oe,F)+"]":"[ "+M.call(oe,", ")+" ]"}if(function(e){return!("[object Error]"!==z(e)||k&&"object"==typeof e&&k in e)}(t)){var ie=X(t,B);return"cause"in Error.prototype||!("cause"in t)||Z.call(t,"cause")?0===ie.length?"["+String(t)+"]":"{ ["+String(t)+"] "+M.call(ie,", ")+" }":"{ ["+String(t)+"] "+M.call(x.call("[cause]: "+B(t.cause),ie),", ")+" }"}if("object"==typeof t&&l){if(N&&"function"==typeof t[N]&&j)return j(t,{depth:S-r});if("symbol"!==l&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.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,n){se.push(B(n,t,!0)+" => "+B(e,t))})),J("Map",o.call(t),se,F)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var le=[];return u&&u.call(t,(function(e){le.push(B(e,t))})),J("Set",c.call(t),le,F)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return $("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return $("WeakSet");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{return p.call(e),!0}catch(e){}return!1}(t))return $("WeakRef");if(function(e){return!("[object Number]"!==z(e)||k&&"object"==typeof e&&k in e)}(t))return K(B(Number(t)));if(function(e){if(!e||"object"!=typeof e||!A)return!1;try{return A.call(e),!0}catch(e){}return!1}(t))return K(B(A.call(t)));if(function(e){return!("[object Boolean]"!==z(e)||k&&"object"==typeof e&&k in e)}(t))return K(h.call(t));if(function(e){return!("[object String]"!==z(e)||k&&"object"==typeof e&&k in e)}(t))return K(B(String(t)));if(!function(e){return!("[object Date]"!==z(e)||k&&"object"==typeof e&&k in e)}(t)&&!V(t)){var ce=X(t,B),ue=H?H(t)===Object.prototype:t instanceof Object||t.constructor===Object,de=t instanceof Object?"":"null prototype",fe=!ue&&k&&Object(t)===t&&k in t?g.call(z(t),8,-1):de?"Object":"",pe=(ue||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(fe||de?"["+M.call(x.call([],fe||[],de||[]),": ")+"] ":"");return 0===ce.length?pe+"{}":F?pe+"{"+Y(ce,F)+"}":pe+"{ "+M.call(ce,", ")+" }"}return String(t)};var B=Object.prototype.hasOwnProperty||function(e){return e in this};function q(e,t){return B.call(e,t)}function z(e){return m.call(e)}function G(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function W(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return W(g.call(e,0,t.maxStringLength),t)+r}return I(v.call(v.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Q),"single",t)}function Q(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function K(e){return"Object("+e+")"}function $(e){return e+" { ? }"}function J(e,t,n,r){return e+" ("+t+") {"+(r?Y(n,r):M.call(n,", "))+"}"}function Y(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+M.call(e,","+n)+"\n"+t.prev}function X(e,t){var n=D(e),r=[];if(n){r.length=e.length;for(var a=0;a<e.length;a++)r[a]=q(e,a)?t(e[a],e):""}var o,i="function"==typeof O?O(e):[];if(P){o={};for(var s=0;s<i.length;s++)o["$"+i[s]]=i[s]}for(var l in e)q(e,l)&&(n&&String(Number(l))===l&&l<e.length||P&&o["$"+l]instanceof Symbol||(E.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if("function"==typeof O)for(var c=0;c<i.length;c++)Z.call(e,i[c])&&r.push("["+t(i[c])+"]: "+t(e[i[c]],e));return r}},798:function(e){"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC3986";e.exports={default:r,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:r}},129:function(e,t,n){"use strict";var r=n(261),a=n(235),o=n(798);e.exports={formats:o,parse:a,stringify:r}},235:function(e,t,n){"use strict";var r=n(769),a=Object.prototype.hasOwnProperty,o=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),c=s?o.slice(0,s.index):o,u=[];if(c){if(!n.plainObjects&&a.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var d=0;n.depth>0&&null!==(s=i.exec(o))&&d<n.depth;){if(d+=1,!n.plainObjects&&a.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+o.slice(s.index)+"]"),function(e,t,n,r){for(var a=r?t:l(t,n),o=e.length-1;o>=0;--o){var i,s=e[o];if("[]"===s&&n.parseArrays)i=[].concat(a);else{i=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(c,10);n.parseArrays||""!==c?!isNaN(u)&&s!==c&&String(u)===c&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(i=[])[u]=a:"__proto__"!==c&&(i[c]=a):i={0:a}}a=i}return a}(u,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return i;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;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,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,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,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 n.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var n,c={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,f=u.split(t.delimiter,d),p=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n<f.length;++n)0===f[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[n]?h="utf-8":"utf8=%26%2310003%3B"===f[n]&&(h="iso-8859-1"),p=n,n=f.length);for(n=0;n<f.length;++n)if(n!==p){var m,C,y=f[n],g=y.indexOf("]="),v=-1===g?y.indexOf("="):g+1;-1===v?(m=t.decoder(y,i.decoder,h,"key"),C=t.strictNullHandling?null:""):(m=t.decoder(y.slice(0,v),i.decoder,h,"key"),C=r.maybeMap(l(y.slice(v+1),t),(function(e){return t.decoder(e,i.decoder,h,"value")}))),C&&t.interpretNumericEntities&&"iso-8859-1"===h&&(C=s(C)),y.indexOf("[]=")>-1&&(C=o(C)?[C]:C),a.call(c,m)?c[m]=r.combine(c[m],C):c[m]=C}return c}(e,n):e,d=n.plainObjects?Object.create(null):{},f=Object.keys(u),p=0;p<f.length;++p){var h=f[p],m=c(h,u[h],n,"string"==typeof e);d=r.merge(d,m,n)}return!0===n.allowSparse?d:r.compact(d)}},261:function(e,t,n){"use strict";var r=n(478),a=n(769),o=n(798),i=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=Array.prototype.push,u=function(e,t){c.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,f=o.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},h={},m=function e(t,n,o,i,s,c,d,f,m,C,y,g,v,w,b,E){for(var x,M=t,L=E,S=0,A=!1;void 0!==(L=L.get(h))&&!A;){var O=L.get(t);if(S+=1,void 0!==O){if(O===S)throw new RangeError("Cyclic object value");A=!0}void 0===L.get(h)&&(S=0)}if("function"==typeof f?M=f(n,M):M instanceof Date?M=y(M):"comma"===o&&l(M)&&(M=a.maybeMap(M,(function(e){return e instanceof Date?y(e):e}))),null===M){if(s)return d&&!w?d(n,p.encoder,b,"key",g):n;M=""}if("string"==typeof(x=M)||"number"==typeof x||"boolean"==typeof x||"symbol"==typeof x||"bigint"==typeof x||a.isBuffer(M))return d?[v(w?n:d(n,p.encoder,b,"key",g))+"="+v(d(M,p.encoder,b,"value",g))]:[v(n)+"="+v(String(M))];var T,P=[];if(void 0===M)return P;if("comma"===o&&l(M))w&&d&&(M=a.maybeMap(M,d)),T=[{value:M.length>0?M.join(",")||null:void 0}];else if(l(f))T=f;else{var k=Object.keys(M);T=m?k.sort(m):k}for(var Z=i&&l(M)&&1===M.length?n+"[]":n,H=0;H<T.length;++H){var R=T[H],j="object"==typeof R&&void 0!==R.value?R.value:M[R];if(!c||null!==j){var F=l(M)?"function"==typeof o?o(Z,R):Z:Z+(C?"."+R:"["+R+"]");E.set(t,S);var N=r();N.set(h,E),u(P,e(j,F,o,i,s,c,"comma"===o&&w&&l(M)?null:d,f,m,C,y,g,v,w,b,N))}}return P};e.exports=function(e,t){var n,a=e,c=function(e){if(!e)return p;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||p.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 n=o.default;if(void 0!==e.format){if(!i.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],a=p.filter;return("function"==typeof e.filter||l(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:void 0===e.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:void 0===e.delimiter?p.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:p.encode,encoder:"function"==typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:a,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}}(t);"function"==typeof c.filter?a=(0,c.filter)("",a):l(c.filter)&&(n=c.filter);var d,f=[];if("object"!=typeof a||null===a)return"";d=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var h=s[d];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var C="comma"===h&&t&&t.commaRoundTrip;n||(n=Object.keys(a)),c.sort&&n.sort(c.sort);for(var y=r(),g=0;g<n.length;++g){var v=n[g];c.skipNulls&&null===a[v]||u(f,m(a[v],v,h,C,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,y))}var w=f.join(c.delimiter),b=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?b+="utf8=%26%2310003%3B&":b+="utf8=%E2%9C%93&"),w.length>0?b+w:""}},769:function(e,t,n){"use strict";var r=n(798),a=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var a=t[r],i=a.obj[a.prop],s=Object.keys(i),l=0;l<s.length;++l){var c=s[l],u=i[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:i,prop:c}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],a=0;a<n.length;++a)void 0!==n[a]&&r.push(n[a]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,a,o){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",c=0;c<s.length;++c){var u=s.charCodeAt(c);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===r.RFC1738&&(40===u||41===u)?l+=s.charAt(c):u<128?l+=i[u]:u<2048?l+=i[192|u>>6]+i[128|63&u]:u<55296||u>=57344?l+=i[224|u>>12]+i[128|u>>6&63]+i[128|63&u]:(c+=1,u=65536+((1023&u)<<10|1023&s.charCodeAt(c)),l+=i[240|u>>18]+i[128|u>>12&63]+i[128|u>>6&63]+i[128|63&u])}return l},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(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!a.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var i=t;return o(t)&&!o(n)&&(i=s(t,r)),o(t)&&o(n)?(n.forEach((function(n,o){if(a.call(t,o)){var i=t[o];i&&"object"==typeof i&&n&&"object"==typeof n?t[o]=e(i,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var i=n[o];return a.call(t,o)?t[o]=e(t[o],i,r):t[o]=i,t}),i)}}},590:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(!o(e[l],i[l]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!o(l.value[1],i.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(e[l]!==i[l])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(i,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!o(e[c[l]],i[c[l]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},478:function(e,t,n){"use strict";var r=n(210),a=n(924),o=n(631),i=r("%TypeError%"),s=r("%WeakMap%",!0),l=r("%Map%",!0),c=a("WeakMap.prototype.get",!0),u=a("WeakMap.prototype.set",!0),d=a("WeakMap.prototype.has",!0),f=a("Map.prototype.get",!0),p=a("Map.prototype.set",!0),h=a("Map.prototype.has",!0),m=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new i("Side channel does not contain "+o(e))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return c(e,r)}else if(l){if(t)return f(t,r)}else if(n)return function(e,t){var n=m(e,t);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return d(e,r)}else if(l){if(t)return h(t,r)}else if(n)return function(e,t){return!!m(e,t)}(n,r);return!1},set:function(r,a){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),u(e,r,a)):l?(t||(t=new l),p(t,r,a)):(n||(n={key:{},next:null}),function(e,t,n){var r=m(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,a))}};return r}},250:function(e,t,n){"use strict";var r=n(196),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,i=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!a(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),a=r[0].inst,u=r[1];return s((function(){a.value=n,a.getSnapshot=t,c(a)&&u({inst:a})}),[e,n,t]),i((function(){return c(a)&&u({inst:a}),e((function(){c(a)&&u({inst:a})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},688:function(e,t,n){"use strict";e.exports=n(250)},196:function(e){"use strict";e.exports=window.React},654:function(){}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=window.wp.element,t=window.wp.plugins,r=n(196),a=n.n(r);const o=r.createContext(void 0),i=r.createContext(!1);function s(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=o),window.ReactQueryClientContext):o)}const l=({context:e}={})=>{const t=r.useContext(s(e,r.useContext(i)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},c=({client:e,children:t,context:n,contextSharing:a=!1})=>{r.useEffect((()=>(e.mount(),()=>{e.unmount()})),[e]);const o=s(n,a);return r.createElement(i.Provider,{value:!n&&a},r.createElement(o.Provider,{value:e},t))};var u=window.wp.components,d=window.wp.editPost;function f(e,t){return function(){return e.apply(t,arguments)}}const{toString:p}=Object.prototype,{getPrototypeOf:h}=Object,m=(C=Object.create(null),e=>{const t=p.call(e);return C[t]||(C[t]=t.slice(8,-1).toLowerCase())});var C;const y=e=>(e=e.toLowerCase(),t=>m(t)===e),g=e=>t=>typeof t===e,{isArray:v}=Array,w=g("undefined"),b=y("ArrayBuffer"),E=g("string"),x=g("function"),M=g("number"),L=e=>null!==e&&"object"==typeof e,S=e=>{if("object"!==m(e))return!1;const t=h(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},A=y("Date"),O=y("File"),T=y("Blob"),P=y("FileList"),k=y("URLSearchParams");function Z(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,a;if("object"!=typeof e&&(e=[e]),v(e))for(r=0,a=e.length;r<a;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;let i;for(r=0;r<o;r++)i=a[r],t.call(null,e[i],i,e)}}function H(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,a=n.length;for(;a-- >0;)if(r=n[a],t===r.toLowerCase())return r;return null}const R="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,j=e=>!w(e)&&e!==R,F=(N="undefined"!=typeof Uint8Array&&h(Uint8Array),e=>N&&e instanceof N);var N;const I=y("HTMLFormElement"),_=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),D=y("RegExp"),V=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Z(n,((n,a)=>{!1!==t(n,a,e)&&(r[a]=n)})),Object.defineProperties(e,r)},U="abcdefghijklmnopqrstuvwxyz",B="0123456789",q={DIGIT:B,ALPHA:U,ALPHA_DIGIT:U+U.toUpperCase()+B};var z={isArray:v,isArrayBuffer:b,isBuffer:function(e){return null!==e&&!w(e)&&null!==e.constructor&&!w(e.constructor)&&x(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||x(e.append)&&("formdata"===(t=m(e))||"object"===t&&x(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&b(e.buffer),t},isString:E,isNumber:M,isBoolean:e=>!0===e||!1===e,isObject:L,isPlainObject:S,isUndefined:w,isDate:A,isFile:O,isBlob:T,isRegExp:D,isFunction:x,isStream:e=>L(e)&&x(e.pipe),isURLSearchParams:k,isTypedArray:F,isFileList:P,forEach:Z,merge:function e(){const{caseless:t}=j(this)&&this||{},n={},r=(r,a)=>{const o=t&&H(n,a)||a;S(n[o])&&S(r)?n[o]=e(n[o],r):S(r)?n[o]=e({},r):v(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Z(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(Z(t,((t,r)=>{n&&x(t)?e[r]=f(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let a,o,i;const s={};if(t=t||{},null==e)return t;do{for(a=Object.getOwnPropertyNames(e),o=a.length;o-- >0;)i=a[o],r&&!r(i,e,t)||s[i]||(t[i]=e[i],s[i]=!0);e=!1!==n&&h(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:m,kindOfTest:y,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(v(e))return e;let t=e.length;if(!M(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:I,hasOwnProperty:_,hasOwnProp:_,reduceDescriptors:V,freezeMethods:e=>{V(e,((t,n)=>{if(x(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];x(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return v(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:H,global:R,isContextDefined:j,ALPHABET:q,generateString:(e=16,t=q.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&x(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(L(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const a=v(e)?[]:{};return Z(e,((e,t)=>{const o=n(e,r+1);!w(o)&&(a[t]=o)})),t[r]=void 0,a}}return e};return n(e,0)}};function G(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a)}z.inherits(G,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:z.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const W=G.prototype,Q={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Q[e]={value:e}})),Object.defineProperties(G,Q),Object.defineProperty(W,"isAxiosError",{value:!0}),G.from=(e,t,n,r,a,o)=>{const i=Object.create(W);return z.toFlatObject(e,i,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),G.call(i,e.message,t,n,r,a),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};var K=G;function $(e){return z.isPlainObject(e)||z.isArray(e)}function J(e){return z.endsWith(e,"[]")?e.slice(0,-2):e}function Y(e,t,n){return e?e.concat(t).map((function(e,t){return e=J(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const X=z.toFlatObject(z,{},null,(function(e){return/^is[A-Z]/.test(e)}));var ee=function(e,t,n){if(!z.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!z.isUndefined(t[e])}))).metaTokens,a=n.visitor||c,o=n.dots,i=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&z.isSpecCompliantForm(t);if(!z.isFunction(a))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(z.isDate(e))return e.toISOString();if(!s&&z.isBlob(e))throw new K("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(e)||z.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,a){let s=e;if(e&&!a&&"object"==typeof e)if(z.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(z.isArray(e)&&function(e){return z.isArray(e)&&!e.some($)}(e)||(z.isFileList(e)||z.endsWith(n,"[]"))&&(s=z.toArray(e)))return n=J(n),s.forEach((function(e,r){!z.isUndefined(e)&&null!==e&&t.append(!0===i?Y([n],r,o):null===i?n:n+"[]",l(e))})),!1;return!!$(e)||(t.append(Y(a,n,o),l(e)),!1)}const u=[],d=Object.assign(X,{defaultVisitor:c,convertValue:l,isVisitable:$});if(!z.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!z.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),z.forEach(n,(function(n,o){!0===(!(z.isUndefined(n)||null===n)&&a.call(t,n,z.isString(o)?o.trim():o,r,d))&&e(n,r?r.concat(o):[o])})),u.pop()}}(e),t};function te(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ne(e,t){this._pairs=[],e&&ee(e,this,t)}const re=ne.prototype;re.append=function(e,t){this._pairs.push([e,t])},re.toString=function(e){const t=e?function(t){return e.call(this,t,te)}:te;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var ae=ne;function oe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ie(e,t,n){if(!t)return e;const r=n&&n.encode||oe,a=n&&n.serialize;let o;if(o=a?a(t,n):z.isURLSearchParams(t)?t.toString():new ae(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}var se=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){z.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},le={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ce={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ae,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},isStandardBrowserEnv:(()=>{let e;return("undefined"==typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&"undefined"!=typeof window&&"undefined"!=typeof document})(),isStandardBrowserWebWorkerEnv:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,protocols:["http","https","file","blob","url","data"]},ue=function(e){function t(e,n,r,a){let o=e[a++];const i=Number.isFinite(+o),s=a>=e.length;return o=!o&&z.isArray(r)?r.length:o,s?(z.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!i):(r[o]&&z.isObject(r[o])||(r[o]=[]),t(e,n,r[o],a)&&z.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const a=n.length;let o;for(r=0;r<a;r++)o=n[r],t[o]=e[o];return t}(r[o])),!i)}if(z.isFormData(e)&&z.isFunction(e.entries)){const n={};return z.forEachEntry(e,((e,r)=>{t(function(e){return z.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const de={"Content-Type":void 0},fe={transitional:le,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,a=z.isObject(e);if(a&&z.isHTMLForm(e)&&(e=new FormData(e)),z.isFormData(e))return r&&r?JSON.stringify(ue(e)):e;if(z.isArrayBuffer(e)||z.isBuffer(e)||z.isStream(e)||z.isFile(e)||z.isBlob(e))return e;if(z.isArrayBufferView(e))return e.buffer;if(z.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ee(e,new ce.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return ce.isNode&&z.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=z.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ee(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||r?(t.setContentType("application/json",!1),function(e,t,n){if(z.isString(e))try{return(0,JSON.parse)(e),z.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||fe.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&z.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw K.from(e,K.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ce.classes.FormData,Blob:ce.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};z.forEach(["delete","get","head"],(function(e){fe.headers[e]={}})),z.forEach(["post","put","patch"],(function(e){fe.headers[e]=z.merge(de)}));var pe=fe;const he=z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),me=Symbol("internals");function Ce(e){return e&&String(e).trim().toLowerCase()}function ye(e){return!1===e||null==e?e:z.isArray(e)?e.map(ye):String(e)}function ge(e,t,n,r,a){return z.isFunction(r)?r.call(this,t,n):(a&&(t=n),z.isString(t)?z.isString(r)?-1!==t.indexOf(r):z.isRegExp(r)?r.test(t):void 0:void 0)}class ve{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function a(e,t,n){const a=Ce(t);if(!a)throw new Error("header name must be a non-empty string");const o=z.findKey(r,a);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=ye(e))}const o=(e,t)=>z.forEach(e,((e,n)=>a(e,n,t)));return z.isPlainObject(e)||e instanceof this.constructor?o(e,t):z.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?o((e=>{const t={};let n,r,a;return e&&e.split("\n").forEach((function(e){a=e.indexOf(":"),n=e.substring(0,a).trim().toLowerCase(),r=e.substring(a+1).trim(),!n||t[n]&&he[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&a(t,e,n),this}get(e,t){if(e=Ce(e)){const n=z.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(z.isFunction(t))return t.call(this,e,n);if(z.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Ce(e)){const n=z.findKey(this,e);return!(!n||void 0===this[n]||t&&!ge(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function a(e){if(e=Ce(e)){const a=z.findKey(n,e);!a||t&&!ge(0,n[a],a,t)||(delete n[a],r=!0)}}return z.isArray(e)?e.forEach(a):a(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const a=t[n];e&&!ge(0,this[a],a,e,!0)||(delete this[a],r=!0)}return r}normalize(e){const t=this,n={};return z.forEach(this,((r,a)=>{const o=z.findKey(n,a);if(o)return t[o]=ye(r),void delete t[a];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(a):String(a).trim();i!==a&&delete t[a],t[i]=ye(r),n[i]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return z.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&z.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[me]=this[me]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Ce(e);t[r]||(function(e,t){const n=z.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,a){return this[r].call(this,t,e,n,a)},configurable:!0})}))}(n,e),t[r]=!0)}return z.isArray(e)?e.forEach(r):r(e),this}}ve.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),z.freezeMethods(ve.prototype),z.freezeMethods(ve);var we=ve;function be(e,t){const n=this||pe,r=t||n,a=we.from(r.headers);let o=r.data;return z.forEach(e,(function(e){o=e.call(n,o,a.normalize(),t?t.status:void 0)})),a.normalize(),o}function Ee(e){return!(!e||!e.__CANCEL__)}function xe(e,t,n){K.call(this,null==e?"canceled":e,K.ERR_CANCELED,t,n),this.name="CanceledError"}z.inherits(xe,K,{__CANCEL__:!0});var Me=xe,Le=ce.isStandardBrowserEnv?{write:function(e,t,n,r,a,o){const i=[];i.push(e+"="+encodeURIComponent(t)),z.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),z.isString(r)&&i.push("path="+r),z.isString(a)&&i.push("domain="+a),!0===o&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function Se(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Ae=ce.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=z.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};function Oe(e,t){let n=0;const r=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a,o=0,i=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[i];a||(a=l),n[o]=s,r[o]=l;let u=i,d=0;for(;u!==o;)d+=n[u++],u%=e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),l-a<t)return;const f=c&&l-c;return f?Math.round(1e3*d/f):void 0}}(50,250);return a=>{const o=a.loaded,i=a.lengthComputable?a.total:void 0,s=o-n,l=r(s);n=o;const c={loaded:o,total:i,progress:i?o/i:void 0,bytes:s,rate:l||void 0,estimated:l&&i&&o<=i?(i-o)/l:void 0,event:a};c[t?"download":"upload"]=!0,e(c)}}var Te="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const a=we.from(e.headers).normalize(),o=e.responseType;let i;function s(){e.cancelToken&&e.cancelToken.unsubscribe(i),e.signal&&e.signal.removeEventListener("abort",i)}z.isFormData(r)&&(ce.isStandardBrowserEnv||ce.isStandardBrowserWebWorkerEnv)&&a.setContentType(!1);let l=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(t+":"+n))}const c=Se(e.baseURL,e.url);function u(){if(!l)return;const r=we.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new K("Request failed with status code "+n.status,[K.ERR_BAD_REQUEST,K.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),s()}),(function(e){n(e),s()}),{data:o&&"text"!==o&&"json"!==o?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:r,config:e,request:l}),l=null}if(l.open(e.method.toUpperCase(),ie(c,e.params,e.paramsSerializer),!0),l.timeout=e.timeout,"onloadend"in l?l.onloadend=u:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(u)},l.onabort=function(){l&&(n(new K("Request aborted",K.ECONNABORTED,e,l)),l=null)},l.onerror=function(){n(new K("Network Error",K.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||le;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new K(t,r.clarifyTimeoutError?K.ETIMEDOUT:K.ECONNABORTED,e,l)),l=null},ce.isStandardBrowserEnv){const t=(e.withCredentials||Ae(c))&&e.xsrfCookieName&&Le.read(e.xsrfCookieName);t&&a.set(e.xsrfHeaderName,t)}void 0===r&&a.setContentType(null),"setRequestHeader"in l&&z.forEach(a.toJSON(),(function(e,t){l.setRequestHeader(t,e)})),z.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),o&&"json"!==o&&(l.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&l.addEventListener("progress",Oe(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",Oe(e.onUploadProgress)),(e.cancelToken||e.signal)&&(i=t=>{l&&(n(!t||t.type?new Me(null,e,l):t),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(i),e.signal&&(e.signal.aborted?i():e.signal.addEventListener("abort",i)));const d=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(c);d&&-1===ce.protocols.indexOf(d)?n(new K("Unsupported protocol "+d+":",K.ERR_BAD_REQUEST,e)):l.send(r||null)}))};const Pe={http:null,xhr:Te};z.forEach(Pe,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));function ke(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Me(null,e)}function Ze(e){return ke(e),e.headers=we.from(e.headers),e.data=be.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),(e=>{e=z.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let a=0;a<t&&(n=e[a],!(r=z.isString(n)?Pe[n.toLowerCase()]:n));a++);if(!r){if(!1===r)throw new K(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT");throw new Error(z.hasOwnProp(Pe,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`)}if(!z.isFunction(r))throw new TypeError("adapter is not a function");return r})(e.adapter||pe.adapter)(e).then((function(t){return ke(e),t.data=be.call(e,e.transformResponse,t),t.headers=we.from(t.headers),t}),(function(t){return Ee(t)||(ke(e),t&&t.response&&(t.response.data=be.call(e,e.transformResponse,t.response),t.response.headers=we.from(t.response.headers))),Promise.reject(t)}))}const He=e=>e instanceof we?e.toJSON():e;function Re(e,t){t=t||{};const n={};function r(e,t,n){return z.isPlainObject(e)&&z.isPlainObject(t)?z.merge.call({caseless:n},e,t):z.isPlainObject(t)?z.merge({},t):z.isArray(t)?t.slice():t}function a(e,t,n){return z.isUndefined(t)?z.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!z.isUndefined(t))return r(void 0,t)}function i(e,t){return z.isUndefined(t)?z.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,a,o){return o in t?r(n,a):o in e?r(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s,headers:(e,t)=>a(He(e),He(t),!0)};return z.forEach(Object.keys(e).concat(Object.keys(t)),(function(r){const o=l[r]||a,i=o(e[r],t[r],r);z.isUndefined(i)&&o!==s||(n[r]=i)})),n}const je={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{je[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Fe={};je.transitional=function(e,t,n){function r(e,t){return"[Axios v1.3.6] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,a,o)=>{if(!1===e)throw new K(r(a," has been removed"+(t?" in "+t:"")),K.ERR_DEPRECATED);return t&&!Fe[a]&&(Fe[a]=!0,console.warn(r(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,a,o)}};var Ne={assertOptions:function(e,t,n){if("object"!=typeof e)throw new K("options must be an object",K.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const o=r[a],i=t[o];if(i){const t=e[o],n=void 0===t||i(t,o,e);if(!0!==n)throw new K("option "+o+" must be "+n,K.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new K("Unknown option "+o,K.ERR_BAD_OPTION)}},validators:je};const Ie=Ne.validators;class _e{constructor(e){this.defaults=e,this.interceptors={request:new se,response:new se}}request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Re(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:a}=t;let o;void 0!==n&&Ne.assertOptions(n,{silentJSONParsing:Ie.transitional(Ie.boolean),forcedJSONParsing:Ie.transitional(Ie.boolean),clarifyTimeoutError:Ie.transitional(Ie.boolean)},!1),null!=r&&(z.isFunction(r)?t.paramsSerializer={serialize:r}:Ne.assertOptions(r,{encode:Ie.function,serialize:Ie.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase(),o=a&&z.merge(a.common,a[t.method]),o&&z.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete a[e]})),t.headers=we.concat(o,a);const i=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,d=0;if(!s){const e=[Ze.bind(this),void 0];for(e.unshift.apply(e,i),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=i.length;let f=t;for(d=0;d<u;){const e=i[d++],t=i[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{c=Ze.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return ie(Se((e=Re(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}z.forEach(["delete","get","head","options"],(function(e){_e.prototype[e]=function(t,n){return this.request(Re(n||{},{method:e,url:t,data:(n||{}).data}))}})),z.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,a){return this.request(Re(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}_e.prototype[e]=t(),_e.prototype[e+"Form"]=t(!0)}));var De=_e;class Ve{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,a){n.reason||(n.reason=new Me(e,r,a),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;const t=new Ve((function(t){e=t}));return{token:t,cancel:e}}}var Ue=Ve;const Be={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Be).forEach((([e,t])=>{Be[t]=e}));var qe=Be;const ze=function e(t){const n=new De(t),r=f(De.prototype.request,n);return z.extend(r,De.prototype,n,{allOwnKeys:!0}),z.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Re(t,n))},r}(pe);ze.Axios=De,ze.CanceledError=Me,ze.CancelToken=Ue,ze.isCancel=Ee,ze.VERSION="1.3.6",ze.toFormData=ee,ze.AxiosError=K,ze.Cancel=ze.CanceledError,ze.all=function(e){return Promise.all(e)},ze.spread=function(e){return function(t){return e.apply(null,t)}},ze.isAxiosError=function(e){return z.isObject(e)&&!0===e.isAxiosError},ze.mergeConfig=Re,ze.AxiosHeaders=we,ze.formToJSON=e=>ue(z.isHTMLForm(e)?new FormData(e):e),ze.HttpStatusCode=qe,ze.default=ze;var Ge,We=ze,Qe=(Ge=function(e,t){return Ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Ge(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}Ge(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),Ke=function(e){function t(n,r,a){var o=e.call(this,r)||this;return Object.setPrototypeOf(o,t.prototype),o.status=n,o.data=a,o}return Qe(t,e),t}(Error),$e=function(){return $e=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},$e.apply(this,arguments)};function Je(e,t,n){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(this,void 0,Promise,(function(){var r,a,o,i;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,We.request($e({baseURL:null==n?void 0:n.baseUrl,url:t,method:e,headers:$e({"nota-post-id":window.notaTools.postId},null==n?void 0:n.headers)},n))];case 1:return[2,{data:(r=s.sent()).data,status:r.status,statusText:r.statusText}];case 2:if(a=s.sent(),We.isAxiosError(a)&&(null===(o=a.response)||void 0===o?void 0:o.status))throw new Ke(null===(i=a.response)||void 0===i?void 0:i.status,a.message,a.response.data);throw a;case 3:return[2]}}))}))}var Ye=function(e,t){return Je("POST",e,t)},Xe=n(129),et=n.n(Xe),tt=function(){return tt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},tt.apply(this,arguments)},nt=function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))},rt=function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},at=Math.ceil(120),ot=function(e){return nt(void 0,[e],Promise,(function(e){var t,n=e.response,r=e.fetchOptions;return rt(this,(function(e){switch(e.label){case 0:return(t=n.data.result)&&"object"==typeof t&&"jobId"in t?[4,it({jobId:t.jobId,fetchOptions:r})]:[3,2];case 1:return[2,{jobResponse:e.sent(),originalResponse:tt(tt({},n),{data:tt(tt({},n.data),{result:t})})}];case 2:return[2,{jobResponse:null,originalResponse:tt(tt({},n),{data:tt(tt({},n.data),{result:t})})}]}}))}))},it=function(e){return nt(void 0,[e],Promise,(function(e){var t,n,r,a=e.jobId,o=e.retryCount,i=void 0===o?0:o,s=e.fetchOptions;return rt(this,(function(e){switch(e.label){case 0:if(i===at)throw Error("Job ".concat(a," was not completed after ").concat(i," attempts"));return[4,Ye(window.notaTools.ajaxUrl,tt(tt({},s),{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_job",jobId:a}})}))];case 1:return t=e.sent(),n=t.data.result.state,r=t.data.result.result,"completed"===n?[3,3]:[4,new Promise((function(e){return setTimeout(e,1e3)}))];case 2:return e.sent(),[2,it({jobId:a,retryCount:i+1,fetchOptions:s})];case 3:if(null==r)throw Error("Completed job ".concat(a," has empty result"));return[2,tt(tt({},t),{data:tt(tt({},t.data),{result:tt(tt({},t.data.result),{state:n,result:r})})})]}}))}))};function st(e){return e.jobResponse?e.jobResponse.data.result.result:e.originalResponse.data.result}var lt={error:console.error,log:console.log},ct=function(){return ct=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},ct.apply(this,arguments)},ut=function(e){if(window.notaTools.tracking_enabled)return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:ct({nota_action:"save_events"},e)})}).catch(lt.error)};class dt extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}var ft=function({limit:e,interval:t,strict:n}){if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(t))throw new TypeError("Expected `interval` to be a finite number");const r=new Map;let a=0,o=0;const i=[],s=n?function(){const n=Date.now();if(i.length<e)return i.push(n),0;const r=i.shift()+t;return n>=r?(i.push(n),0):(i.push(r),r-n)}:function(){const n=Date.now();return n-a>t?(o=1,a=n,0):(o<e?o++:(a+=t,o=1),a-n)};return e=>{const t=function(...n){if(!t.isEnabled)return(async()=>e.apply(this,n))();let a;return new Promise(((t,o)=>{a=setTimeout((()=>{t(e.apply(this,n)),r.delete(a)}),s()),r.set(a,o)}))};return t.abort=()=>{for(const e of r.keys())clearTimeout(e),r.get(e)(new dt);r.clear(),i.splice(0,i.length)},t.isEnabled=!0,Object.defineProperty(t,"queueSize",{get(){return r.size}}),t}}({limit:1,interval:1e3}),pt=ft((function(e){return e()})),ht=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return pt((function(){return e.apply(void 0,t)}))}},mt=function(e){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function(){var t;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_save_selected_brand_id",nonce:window.notaTools.nonce,nota:{brand_id:e}})})];case 1:return n.sent(),[3,3];case 2:throw t=n.sent(),lt.error(t),t;case 3:return[2]}}))}))},Ct=function(e){var t=e.toneId,n=e.organizationBrandId,r=e.text,a=e.task,o=e.queue,i=void 0!==o&&o,s=e.promptCategory;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"adjust_text_tone",toneId:t,organizationBrandId:n,text:r,task:a,queue:i,promptCategory:s}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))},yt=function(e){var t=e.brandId;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_brand_tones",brandId:t}})}).then((function(e){return e.data.result.items}))},gt=function(){return gt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},gt.apply(this,arguments)},vt=function(){return vt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},vt.apply(this,arguments)},wt={getCurrentUser:function(){return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_current_user"}})}).then((function(e){return e.data.result}))},getHashtags:ht((function(e){var t=e.postHTML,n=e.regenerate;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_hashtags",postHTML:t,regenerate:n}})}).then((function(e){return e.data.result}))})),getHeadlines:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate,a=e.brandId,o=e.queue,i=void 0!==o&&o;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_headlines",postHTML:t,count:n,regenerate:r,brandId:a,queue:i}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getSlugs:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_slugs",postHTML:t,count:n,regenerate:r}})}).then((function(e){return e.data.result}))})),getKeywordSynonyms:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate,a=e.seoRanking,o=void 0!==a&&a,i=e.queue,s=void 0!==i&&i;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_keywords",postHTML:t,count:n,regenerate:r,seoRanking:o,queue:s}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getMetaDescriptions:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate,a=e.brandId,o=e.queue,i=void 0!==o&&o;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_meta_descriptions",postHTML:t,count:n,regenerate:r,brandId:a,queue:i}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getMetaTitles:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate,a=e.brandId,o=e.queue,i=void 0!==o&&o;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_meta_titles",postHTML:t,count:n,regenerate:r,brandId:a,queue:i}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getQuotes:ht((function(e){var t=e.postHTML,n=e.regenerate,r=e.exclude,a=e.count;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_quotes",postHTML:t,regenerate:n,exclude:r,count:a}})}).then((function(e){return e.data.result}))})),getSMS:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_sms_messages",postHTML:t,count:n,regenerate:r}})}).then((function(e){return e.data.result}))})),getSocialPosts:ht((function(e){var t=e.postHTML,n=e.platform,r=e.regenerate,a=e.queue,o=void 0!==a&&a,i=e.brandId;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_social_posts",postHTML:t,platform:n,count:1,regenerate:r,queue:o,brandId:i}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getSummary:ht((function(e){var t=e.postHTML,n=e.lengthOption,r=e.regenerate,a=e.brandId,o=e.queue,i=void 0!==o&&o;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_summary",postHTML:t,length_option:n,regenerate:r,brandId:a,queue:i}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getGradeScores:ht((function(e){var t=e.content,n=e.headline,r=e.metaDescription,a=e.metaTitle,o=e.slug,i=e.keywords,s=e.queue,l=void 0!==s&&s;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_grade_scores",postHTML:t,headline:n,meta_description:r,meta_title:a,slug:o,keywords:i,queue:l}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e).scores}))})),getEntities:ht((function(e){var t=e.postHTML,n=e.regenerate,r=e.queue,a=void 0!==r&&r;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_entities",postHTML:t,regenerate:n,queue:a}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getUrlsScore:ht((function(e){var t=e.urlsList;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_urls_score",urlsList:t}})}).then((function(e){return e.data.result.url}))})),getPublicConfig:function(e){var t=e.signal;return Ye(window.notaTools.ajaxUrl,{signal:t,data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_public_config"}})}).then((function(e){return e.data.result}))},saveEvents:ut,savePostMetadata:function(e){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,[e],void 0,(function(e){var t,n=e.postId,r=e.metadata;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_save_metadata",nonce:window.notaTools.nonce,nota:{post_id:n,metadata:r}})})];case 1:return e.sent(),[3,3];case 2:throw t=e.sent(),lt.error(t),t;case 3:return[2]}}))}))},getUserBrands:function(){return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_user_brands"}})}).then((function(e){return e.data.result}))},saveSelectedBrandId:mt,adjustTextTone:Ct,getTonesForBrand:yt,getRelatedKeywords:function(e,t){var n=e.postHTML,r=e.keyword,a=e.queue,o=void 0!==a&&a;return Ye(window.notaTools.ajaxUrl,gt({data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_related_keywords",postHTML:n,keyword:r,queue:o}})},t)).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))},getRelatedKeywordsBatch:function(e,t){var n=e.postHTML,r=e.keywords,a=e.queue,o=void 0!==a&&a;return Ye(window.notaTools.ajaxUrl,vt({data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_related_keywords_batch",postHTML:n,keywords:r,queue:o}})},t)).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))}},bt=function(e){var t;return!!e.user&&(!1===e.user.useOrganizationAuth||(null===(t=e.user)||void 0===t?void 0:t.organizations.some((function(t){var n,r,a,o,i=null===(a=null===(r=null===(n=t.entitlements)||void 0===n?void 0:n.applicationPermissions)||void 0===r?void 0:r.wordpressPlugin)||void 0===a?void 0:a.tools;return i&&!!(null===(o=i[e.tool])||void 0===o?void 0:o.access)||!1}))))};function Et(){var t=this,n=(0,e.useState)([]),r=n[0],a=n[1],o=(0,e.useState)(!1),i=o[0],s=o[1],l=(0,e.useState)(!1),c=l[0],u=l[1];return(0,e.useEffect)((function(){!function(e,t,n,r){new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(t,void 0,void 0,(function(){var e,t;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(n){switch(n.label){case 0:s(!0),u(!1),n.label=1;case 1:return n.trys.push([1,3,4,5]),[4,wt.getCurrentUser()];case 2:return e=n.sent(),t=[bt({user:e,tool:"grade"})?"GRADE":null,bt({user:e,tool:"sum"})?"SUM":null,bt({user:e,tool:"social"})?"SOCIAL":null].filter((function(e){return null!==e})),a(t),[3,5];case 3:return n.sent(),u(!0),[3,5];case 4:return s(!1),[7];case 5:return[2]}}))}))}),[]),{authorizedTools:r,isLoading:i,isError:c}}const xt=(0,r.createContext)({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var Mt=Object.defineProperty,Lt=Object.getOwnPropertySymbols,St=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,Ot=(e,t,n)=>t in e?Mt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Tt=(e,t)=>{for(var n in t||(t={}))St.call(t,n)&&Ot(e,n,t[n]);if(Lt)for(var n of Lt(t))At.call(t,n)&&Ot(e,n,t[n]);return e},Pt=(e,t)=>{var n={};for(var r in e)St.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Lt)for(var r of Lt(e))t.indexOf(r)<0&&At.call(e,r)&&(n[r]=e[r]);return n};const kt=(0,r.forwardRef)(((e,t)=>{const n=e,{alt:o,color:i,size:s,weight:l,mirrored:c,children:u,weights:d}=n,f=Pt(n,["alt","color","size","weight","mirrored","children","weights"]),p=(0,r.useContext)(xt),{color:h="currentColor",size:m,weight:C="regular",mirrored:y=!1}=p,g=Pt(p,["color","size","weight","mirrored"]);return a().createElement("svg",Tt(Tt({ref:t,xmlns:"http://www.w3.org/2000/svg",width:null!=s?s:m,height:null!=s?s:m,fill:null!=i?i:h,viewBox:"0 0 256 256",transform:c||y?"scale(-1, 1)":void 0},g),f),!!o&&a().createElement("title",null,o),u,d.get(null!=l?l:C))}));kt.displayName="IconBase";var Zt=Object.defineProperty,Ht=Object.defineProperties,Rt=Object.getOwnPropertyDescriptors,jt=Object.getOwnPropertySymbols,Ft=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,It=(e,t,n)=>t in e?Zt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const _t=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),a().createElement("path",{d:"M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),Dt=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>Ht(e,Rt(t)))(((e,t)=>{for(var n in t||(t={}))Ft.call(t,n)&&It(e,n,t[n]);if(jt)for(var n of jt(t))Nt.call(t,n)&&It(e,n,t[n]);return e})({ref:t},e),{weights:_t}))));Dt.displayName="Info";var Vt=Object.defineProperty,Ut=Object.defineProperties,Bt=Object.getOwnPropertyDescriptors,qt=Object.getOwnPropertySymbols,zt=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable,Wt=(e,t,n)=>t in e?Vt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Qt=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),a().createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),Kt=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>Ut(e,Bt(t)))(((e,t)=>{for(var n in t||(t={}))zt.call(t,n)&&Wt(e,n,t[n]);if(qt)for(var n of qt(t))Gt.call(t,n)&&Wt(e,n,t[n]);return e})({ref:t},e),{weights:Qt}))));Kt.displayName="CheckCircle";var $t=Object.defineProperty,Jt=Object.defineProperties,Yt=Object.getOwnPropertyDescriptors,Xt=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,tn=Object.prototype.propertyIsEnumerable,nn=(e,t,n)=>t in e?$t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const rn=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm-12-80V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,172Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-8,56a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm-6-82V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,172Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm-4-84V80a4,4,0,0,1,8,0v56a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,172Z"}))]]),an=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>Jt(e,Yt(t)))(((e,t)=>{for(var n in t||(t={}))en.call(t,n)&&nn(e,n,t[n]);if(Xt)for(var n of Xt(t))tn.call(t,n)&&nn(e,n,t[n]);return e})({ref:t},e),{weights:rn}))));an.displayName="WarningCircle";var on=Object.defineProperty,sn=Object.defineProperties,ln=Object.getOwnPropertyDescriptors,cn=Object.getOwnPropertySymbols,un=Object.prototype.hasOwnProperty,dn=Object.prototype.propertyIsEnumerable,fn=(e,t,n)=>t in e?on(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const pn=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M180,128a12,12,0,0,1-12,12H88a12,12,0,0,1,0-24h80A12,12,0,0,1,180,128Zm56,0A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),a().createElement("path",{d:"M176,128a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,128Zm56,0A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm40,112H88a8,8,0,0,1,0-16h80a8,8,0,0,1,0,16Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M174,128a6,6,0,0,1-6,6H88a6,6,0,0,1,0-12h80A6,6,0,0,1,174,128Zm56,0A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176,128a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,128Zm56,0A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M172,128a4,4,0,0,1-4,4H88a4,4,0,0,1,0-8h80A4,4,0,0,1,172,128Zm56,0A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),hn=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>sn(e,ln(t)))(((e,t)=>{for(var n in t||(t={}))un.call(t,n)&&fn(e,n,t[n]);if(cn)for(var n of cn(t))dn.call(t,n)&&fn(e,n,t[n]);return e})({ref:t},e),{weights:pn}))));function mn(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=mn(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}hn.displayName="MinusCircle";var Cn=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=mn(e))&&(r&&(r+=" "),r+=t);return r};function yn(t){var n=t.className,r=t.status,a=t.feedback,o=t.CustomIcon,i=t.customFeedback,s=t.misspelledKeywords,l=t.tooltip,c=null!=o?o:En[r],d=null==s?void 0:s.filter((function(e){return"nbsp"!==e})).join(", ");return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:Cn("ntw-flex",n)},(0,e.createElement)(c,{size:20,className:Cn("ntw-mr-2 ntw-shrink-0",bn[r])}),(0,e.createElement)("div",{className:"ntw-flex ntw-grow ntw-flex-col ntw-text-sm ntw-text-typography-medium"},null!=i?i:a,d&&(0,e.createElement)("div",{className:"ntw-italic"},"".concat(d))),l&&(0,e.createElement)(u.Tooltip,{text:(0,e.createElement)("div",{style:{maxWidth:"200px",whiteSpace:"normal"}},l),position:"top"},(0,e.createElement)(Dt,{size:16,className:"ntw-ml-2 ntw-shrink-0 ntw-cursor-pointer ntw-text-typography-medium"}))))}var gn,vn,wn,bn={failed:"ntw-text-grade-error",success:"ntw-text-grade-success",warning:"ntw-text-grade-warning"},En={success:Kt,failed:an,warning:hn};!function(e){e.Unsatisfactory="Unsatisfactory",e.NeedsImprovement="Needs Improvement",e.Good="Good",e.Excellent="Excellent"}(wn||(wn={}));var xn=((gn={})[wn.Unsatisfactory]="#C5500E",gn[wn.NeedsImprovement]="#B99414",gn[wn.Good]="#59C300",gn[wn.Excellent]="#149B00",gn),Mn=function(e){if(e<0||e>100)throw new Error("Score must be between 0 and 100");return e<=25?wn.Unsatisfactory:e<=50?wn.NeedsImprovement:e<=75?wn.Good:wn.Excellent},Ln=((vn={})[wn.Unsatisfactory]="See below for some recommendations for how you could improve this work to meet SEO best practices.",vn[wn.NeedsImprovement]="See below for some recommendations for how you could improve this work to meet SEO best practices.",vn[wn.Good]="Good job! You could publish but some minor improvements could make it excellent!",vn[wn.Excellent]="Excellent work! Ready to publish.  The content is outstanding and meets the highest standards.",vn),Sn=function(e){return e.match(/http[s]?:\/\/(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*(),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+/g)||[]},An=function(e){return e.replace(/\\'/g,"'")},On=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))};function Tn(t){var n=t.score,r=t.className;if(void 0===n)return null;var a=Zn(n),o=a.fullStages,i=a.isPartialStage,s=Mn(n),l=xn[s];return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:Cn("ntw-flex ntw-gap-1",r)},On([],Array(kn),!0).map((function(t,n){return(0,e.createElement)("div",{key:n,className:"ntw-flex ntw-w-full"},On([],Array(2),!0).map((function(__,t){var r=2*n+t,a=Pn;return(r<o||r===o&&i)&&(a=l),(0,e.createElement)("div",{key:"".concat(n,"-").concat(t),className:Cn("ntw-h-[8px] ntw-w-full",0===t?"ntw-rounded-l-md":"ntw-rounded-r-md"),style:{backgroundColor:a}})})))}))),(0,e.createElement)("div",{className:"ntw-mt-1 ntw-w-full ntw-text-right ntw-text-xs ntw-font-medium ntw-text-typography-disabled"},s))}var Pn="#E5E5E5",kn=4,Zn=function(e){return{fullStages:Math.floor(e/12.5),isPartialStage:e%12.5>0}},Hn=window.wp.data;function Rn(t){var n=t.listInvalidUrls,r=(0,Hn.useSelect)((function(e){return e("core/block-editor").getBlocks()}),[]);return n&&0!==n.length?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"ntw-text-sm ntw-font-semibold ntw-text-typography-medium"},"Check these URLs:"),null==n?void 0:n.map((function(t,n){return(0,e.createElement)(u.Tooltip,{placement:"top",text:"".concat(t),className:"ntw-cursor-pointer",key:n},(0,e.createElement)("button",{className:"ntw-mt-2 ntw-w-full ntw-truncate ntw-text-left ntw-text-xs ntw-text-typography-public-primary",onClick:function(){return function(e){var t="";if(r.forEach((function(n){var r=n.attributes.content;r&&r.includes(e)&&(t=n.clientId)})),t){var n=document.querySelector('[data-block="'.concat(t,'"]'));n&&n.scrollIntoView({behavior:"smooth",block:"center"})}}(t)}},"- ",t))}))):null}var jn=function(t){var n=t.keywords,r=t.maxKeywordsToShow,a=void 0===r?5:r,o=(0,e.useState)(!1),i=o[0],s=o[1];return(0,e.createElement)("div",{className:"ntw-mt-4"},(0,e.createElement)("div",{className:"ntw-mb-[12px] ntw-text-sm ntw-font-normal ntw-text-typography-dark"},"Keywords in use:"),(0,e.createElement)("div",{className:"ntw-relative ntw-flex ntw-flex-wrap ntw-gap-[8px] ntw-space-y-[2px] ntw-px-1 ntw-py-1",style:{maskImage:!i&&n.length>a?"linear-gradient(to bottom, black 50%, transparent 100%)":"unset"}},n.slice(0,i?n.length:a).map((function(t,n){return(0,e.createElement)("div",{key:n,className:Cn("ntw-w-fit ntw-rounded-[80px] ntw-bg-status-supernova-800 ntw-px-[12px] ntw-py-[8px] ntw-text-xs ntw-text-[#030B1B]",{"ntw-bg-opacity-50":!t.inUse},{"ntw-mr-1 ntw-ring-2 ntw-ring-status-supernova-800 ntw-ring-offset-1":t.inUse})},t.text)}))),n.length>a&&(0,e.createElement)("button",{onClick:function(){return s(!i)},className:"ntw-mt-2 ntw-text-sm ntw-font-bold ntw-text-typography-public-primary"},i?"See Less":"See More"))};function Fn(t){var n,r=t.title,a=t.gradeData,o=a?Object.entries(a).reduce((function(e,t){var n,r=t[0],a=t[1];return"score"!==r&&"listInvalidUrls"!==r&&"object"==typeof a&&(null===(n=a.usedKeywords)||void 0===n?void 0:n.length)?a.usedKeywords.map((function(e){return{text:An(e),inUse:!0}})):e}),[]):[];return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"ntw-text-sm ntw-font-semibold ntw-capitalize ntw-text-typography-medium"},r,":"),a&&Object.entries(a).map((function(t,n){var r=t[0],a=t[1];return"score"!==r&&"listInvalidUrls"!==r&&"object"==typeof a&&a.feedback&&"usedKeywords"!==r?(0,e.createElement)(e.Fragment,{key:n},(0,e.createElement)(yn,{misspelledKeywords:null==a?void 0:a.misspelledWords,status:a.meetsCriteria?"success":"failed",feedback:a.feedback,className:"ntw-mt-2",tooltip:a.helpText})):null})),o.length>0&&(0,e.createElement)(jn,{maxKeywordsToShow:3,keywords:o}),(0,e.createElement)(Tn,{score:null==a?void 0:a.score,className:"ntw-mt-4"}),(null===(n=null==a?void 0:a.length)||void 0===n?void 0:n.listInvalidUrls)&&(0,e.createElement)(Rn,{listInvalidUrls:a.length.listInvalidUrls}))}function Nn(t){var n=t.className,r=void 0===n?"ntw-my-4":n;return(0,e.createElement)("div",{className:Cn("ntw-h-px ntw-bg-elements-default",r)})}var In=Object.defineProperty,Dn=Object.defineProperties,Vn=Object.getOwnPropertyDescriptors,Un=Object.getOwnPropertySymbols,Bn=Object.prototype.hasOwnProperty,qn=Object.prototype.propertyIsEnumerable,zn=(e,t,n)=>t in e?In(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Gn=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M180,232a12,12,0,0,1-12,12H88a12,12,0,0,1,0-24h80A12,12,0,0,1,180,232Zm40-128a92.47,92.47,0,0,1-37,73.73,7.81,7.81,0,0,0-3,6.27,20,20,0,0,1-20,20H96a20,20,0,0,1-20-20v-.23a7.76,7.76,0,0,0-3.25-6.2,91.36,91.36,0,0,1-36.75-73C35.73,54.69,76,13.2,125.79,12A92,92,0,0,1,220,104Zm-24,0a68,68,0,0,0-69.65-68C89.56,36.89,59.8,67.56,60,104.39a67.52,67.52,0,0,0,27.18,54h0A32.14,32.14,0,0,1,99.77,180H116V149L87.51,120.49a12,12,0,0,1,17-17L128,127l23.51-23.51a12,12,0,0,1,17,17L140,149v31h16.25a31.89,31.89,0,0,1,12.41-21.49A67.45,67.45,0,0,0,196,104Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M208,104a79.86,79.86,0,0,1-30.59,62.92A24.29,24.29,0,0,0,168,186v6a8,8,0,0,1-8,8H96a8,8,0,0,1-8-8v-6a24.11,24.11,0,0,0-9.3-19A79.87,79.87,0,0,1,48,104.45C47.76,61.09,82.72,25,126.07,24A80,80,0,0,1,208,104Z",opacity:"0.2"}),a().createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.5C39.74,56.83,78.26,17.15,125.88,16A88,88,0,0,1,216,104Zm-16,0a72,72,0,0,0-73.74-72c-39,.92-70.47,33.39-70.26,72.39a71.64,71.64,0,0,0,27.64,56.3h0A32,32,0,0,1,96,186v6h24V147.31L90.34,117.66a8,8,0,0,1,11.32-11.32L128,132.69l26.34-26.35a8,8,0,0,1,11.32,11.32L136,147.31V192h24v-6a32.12,32.12,0,0,1,12.47-25.35A71.65,71.65,0,0,0,200,104Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.49C39.74,56.83,78.26,17.14,125.88,16A88,88,0,0,1,216,104Zm-50.34,2.34a8,8,0,0,0-11.32,0L128,132.69l-26.34-26.35a8,8,0,0,0-11.32,11.32L120,147.31V184a8,8,0,0,0,16,0V147.31l29.66-29.65A8,8,0,0,0,165.66,106.34Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M174,232a6,6,0,0,1-6,6H88a6,6,0,0,1,0-12h80A6,6,0,0,1,174,232Zm40-128a85.56,85.56,0,0,1-32.88,67.64A18.23,18.23,0,0,0,174,186v6a14,14,0,0,1-14,14H96a14,14,0,0,1-14-14v-6a18,18,0,0,0-7-14.23h0a85.59,85.59,0,0,1-33-67.25C41.74,57.91,79.39,19.12,125.93,18A86,86,0,0,1,214,104Zm-12,0a74,74,0,0,0-75.79-74C86.17,31,53.78,64.34,54,104.42a73.67,73.67,0,0,0,28.4,57.87A29.92,29.92,0,0,1,94,186v6a2,2,0,0,0,2,2h26V146.49L91.76,116.24a6,6,0,0,1,8.48-8.48L128,135.52l27.76-27.76a6,6,0,0,1,8.48,8.48L134,146.49V194h26a2,2,0,0,0,2-2v-6a30.18,30.18,0,0,1,11.7-23.78A73.59,73.59,0,0,0,202,104Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.5C39.74,56.83,78.26,17.15,125.88,16A88,88,0,0,1,216,104Zm-16,0a72,72,0,0,0-73.74-72c-39,.92-70.47,33.39-70.26,72.39a71.64,71.64,0,0,0,27.64,56.3h0A32,32,0,0,1,96,186v6h24V147.31L90.34,117.66a8,8,0,0,1,11.32-11.32L128,132.69l26.34-26.35a8,8,0,0,1,11.32,11.32L136,147.31V192h24v-6a32.12,32.12,0,0,1,12.47-25.35A71.65,71.65,0,0,0,200,104Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M172,232a4,4,0,0,1-4,4H88a4,4,0,0,1,0-8h80A4,4,0,0,1,172,232Zm40-128a83.59,83.59,0,0,1-32.11,66.06A20.2,20.2,0,0,0,172,186v6a12,12,0,0,1-12,12H96a12,12,0,0,1-12-12v-6a20,20,0,0,0-7.76-15.81A83.58,83.58,0,0,1,44,104.47C43.75,59,80.52,21.09,126,20a84,84,0,0,1,86,84Zm-8,0a76,76,0,0,0-77.84-76C85,29,51.77,63.27,52,104.43a75.62,75.62,0,0,0,29.17,59.43A28,28,0,0,1,92,186v6a4,4,0,0,0,4,4h28V145.66L93.17,114.83a4,4,0,0,1,5.66-5.66L128,138.34l29.17-29.17a4,4,0,1,1,5.66,5.66L132,145.66V196h28a4,4,0,0,0,4-4v-6a28.14,28.14,0,0,1,10.94-22.2A75.62,75.62,0,0,0,204,104Z"}))]]),Wn=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>Dn(e,Vn(t)))(((e,t)=>{for(var n in t||(t={}))Bn.call(t,n)&&zn(e,n,t[n]);if(Un)for(var n of Un(t))qn.call(t,n)&&zn(e,n,t[n]);return e})({ref:t},e),{weights:Gn}))));Wn.displayName="LightbulbFilament";var Qn={primary:["ntw-bg-button-default ntw-text-typography-light","hover:ntw-bg-button-hover"],secondary:["ntw-ring-button-default ntw-text-button-default ntw-ring-1","hover:ntw-ring-button-hover hover:ntw-text-button-hover"]},Kn="ntw-cursor-not-allowed ntw-opacity-50";function $n(t){var n=t.variant,r=void 0===n?"primary":n,a=t.onClick,o=t.children,i=t.size,s=void 0===i?500:i,l=t.className,c=t.disabled;return(0,e.createElement)("button",{disabled:c,type:"button",onClick:a,className:Cn("ntw-appearance-none ntw-rounded ntw-text-base ntw-font-medium ntw-leading-4",Qn[r],{"ntw-p-16px":500===s,"ntw-px-16px ntw-py-8px":300===s},c&&Kn,l)},o)}function Jn(t){var n=t.className,r=t.onClick;return(0,e.createElement)($n,{className:Cn("ntw-w-full",n),onClick:function(){return r()}},(0,e.createElement)("div",{className:"ntw-flex ntw-justify-center ntw-gap-2"},"Highlight suggestion",(0,e.createElement)(Wn,{size:16})))}function Yn(t){var n=t.className,r=t.strokeColor,a=void 0===r?"currentColor":r;return(0,e.createElement)("svg",{className:Cn("ntw-h-5 ntw-w-5 ntw-animate-spin ntw-text-gravity-600",n),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},(0,e.createElement)("circle",{className:"ntw-opacity-25",cx:"12",cy:"12",r:"10",stroke:a,strokeWidth:"4"}),(0,e.createElement)("path",{className:"ntw-opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"}))}function Xn(t){var n,r=t.status,a=t.children,o=t.title,i=t.initialOpen,s=void 0!==i&&i;return t.loading?n=function(){return(0,e.createElement)(Yn,{className:"ntw-mr-2",strokeColor:"#99D1D2"})}:r&&(n=ir[r]),(0,e.createElement)(u.PanelBody,{className:"[&>h2>button>svg]:ntw-text-[#FFFFFF] [&>h2>button]:ntw-flex-row-reverse [&>h2>button]:ntw-justify-end",icon:n&&(0,e.createElement)(n,{size:20,style:{marginLeft:"0",marginRight:"0.5rem"}}),title:o,initialOpen:s},a)}var er,tr,nr,rr,ar,or,ir={success:function(t){var n=t.className,r=t.style,a=t.size,o=t.color,i=void 0===o?"#09A337":o;return(0,e.createElement)("svg",{width:a,height:a,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,style:r},(0,e.createElement)("path",{d:"M3.40625 12.5938C2.83125 12.0188 3.2125 10.8125 2.91875 10.1062C2.625 9.4 1.5 8.78125 1.5 8C1.5 7.21875 2.6125 6.625 2.91875 5.89375C3.225 5.1625 2.83125 3.98125 3.40625 3.40625C3.98125 2.83125 5.1875 3.2125 5.89375 2.91875C6.6 2.625 7.21875 1.5 8 1.5C8.78125 1.5 9.375 2.6125 10.1062 2.91875C10.8375 3.225 12.0188 2.83125 12.5938 3.40625C13.1687 3.98125 12.7875 5.1875 13.0813 5.89375C13.375 6.6 14.5 7.21875 14.5 8C14.5 8.78125 13.3875 9.375 13.0813 10.1062C12.775 10.8375 13.1687 12.0188 12.5938 12.5938C12.0188 13.1687 10.8125 12.7875 10.1062 13.0813C9.4 13.375 8.78125 14.5 8 14.5C7.21875 14.5 6.625 13.3875 5.89375 13.0813C5.1625 12.775 3.98125 13.1687 3.40625 12.5938Z",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.createElement)("path",{d:"M10.75 6.5L7.08125 10L5.25 8.25",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}))},failed:function(t){var n=t.className,r=t.style,a=t.size,o=t.color,i=void 0===o?"#D83E35":o;return(0,e.createElement)("svg",{width:a,height:a,className:n,style:r,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M3.40625 12.5938C2.83125 12.0188 3.2125 10.8125 2.91875 10.1062C2.625 9.4 1.5 8.78125 1.5 8C1.5 7.21875 2.6125 6.625 2.91875 5.89375C3.225 5.1625 2.83125 3.98125 3.40625 3.40625C3.98125 2.83125 5.1875 3.2125 5.89375 2.91875C6.6 2.625 7.21875 1.5 8 1.5C8.78125 1.5 9.375 2.6125 10.1062 2.91875C10.8375 3.225 12.0188 2.83125 12.5938 3.40625C13.1687 3.98125 12.7875 5.1875 13.0813 5.89375C13.375 6.6 14.5 7.21875 14.5 8C14.5 8.78125 13.3875 9.375 13.0813 10.1062C12.775 10.8375 13.1687 12.0188 12.5938 12.5938C12.0188 13.1687 10.8125 12.7875 10.1062 13.0813C9.4 13.375 8.78125 14.5 8 14.5C7.21875 14.5 6.625 13.3875 5.89375 13.0813C5.1625 12.775 3.98125 13.1687 3.40625 12.5938Z",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.createElement)("path",{d:"M8 5V8.5",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.createElement)("path",{d:"M8 11.5C8.41421 11.5 8.75 11.1642 8.75 10.75C8.75 10.3358 8.41421 10 8 10C7.58579 10 7.25 10.3358 7.25 10.75C7.25 11.1642 7.58579 11.5 8 11.5Z",fill:i}))},warning:function(t){var n=t.className,r=t.style,a=t.size,o=t.color,i=void 0===o?"#A1BE03":o;return(0,e.createElement)("svg",{width:a,height:a,className:n,style:r,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M3.40625 12.5938C2.83125 12.0188 3.2125 10.8125 2.91875 10.1062C2.625 9.4 1.5 8.78125 1.5 8C1.5 7.21875 2.6125 6.625 2.91875 5.89375C3.225 5.1625 2.83125 3.98125 3.40625 3.40625C3.98125 2.83125 5.1875 3.2125 5.89375 2.91875C6.6 2.625 7.21875 1.5 8 1.5C8.78125 1.5 9.375 2.6125 10.1062 2.91875C10.8375 3.225 12.0188 2.83125 12.5938 3.40625C13.1687 3.98125 12.7875 5.1875 13.0813 5.89375C13.375 6.6 14.5 7.21875 14.5 8C14.5 8.78125 13.3875 9.375 13.0813 10.1062C12.775 10.8375 13.1687 12.0188 12.5938 12.5938C12.0188 13.1687 10.8125 12.7875 10.1062 13.0813C9.4 13.375 8.78125 14.5 8 14.5C7.21875 14.5 6.625 13.3875 5.89375 13.0813C5.1625 12.775 3.98125 13.1687 3.40625 12.5938Z",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.createElement)("path",{d:"M5.5 8H10.5",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}))}};!function(e){e.Text="text",e.File="file",e.Url="url"}(tr||(tr={})),function(e){e.length="length",e.keywords="keywords",e.readability="readability",e.spelling="spelling"}(nr||(nr={})),function(e){e.headline="headline",e.metaDescription="metaDescription",e.metaTitle="metaTitle",e.slug="slug",e.contentReadability="contentReadability",e.url="url"}(rr||(rr={})),function(e){e.Headline="headline",e.MetaTitle="meta_title",e.Slug="slug",e.MetaDescription="meta_description",e.Excerpt="excerpt",e.Tags="tags",e.Social="social"}(ar||(ar={})),function(e){e.Headlines="Headlines",e.Excerpt="Excerpt",e.Tags="Tags",e.MetaTitle="Page Title",e.MetaDescription="Meta Description",e.Slugs="Slugs",e.Keywords="Keywords",e.Summary="Summary",e.Facebook="Facebook",e.Instagram="Instagram",e.Twitter="X",e.LinkedIn="LinkedIn",e.TikTok="TikTok",e.Threads="Threads",e.SMS="SMS",e.Quotes="Quotes"}(or||(or={}));var sr,lr,cr=((er={})[or.Headlines]=ar.Headline,er[or.Excerpt]=ar.Excerpt,er[or.Tags]=ar.Tags,er[or.MetaTitle]=ar.MetaTitle,er[or.MetaDescription]=ar.MetaDescription,er[or.Slugs]=ar.Slug,er),ur=function(e,t){if(e){for(var n=0,r=0,a=0,o=t;a<o.length;a++){var i=e[o[a]];null!=i&&"object"==typeof i&&"score"in i&&(n+=i.score,r++)}if(0!==r){var s=n/r;return s<50?"failed":s<80?"warning":"success"}}},dr=function(e){var t=0,n=0;if(!e)return[n,t];for(var r in e)if(e.hasOwnProperty(r)){var a=e[r];if(a&&"object"==typeof a)for(var o in a)if(a.hasOwnProperty(o)){var i=a[o];"object"==typeof i&&null!==i&&"meetsCriteria"in i&&(t+=1,i.meetsCriteria&&(n+=1))}}return[n,t]},fr=function(e,t){var n=document.querySelector(e);n&&("selected"===n.getAttribute("data-headlessui-state")||n.click(),setTimeout((function(){var e=document.getElementById(t);e&&(e.scrollIntoView({behavior:"smooth"}),e.classList.add("nota-highlight-bg"),setTimeout((function(){e.classList.remove("nota-highlight-bg")}),3e3))})))},pr=((sr={})[rr.url]=((lr={})[nr.length]=[{range:function(e,t){return 0===e},score:100,feedback:"All URL(s) mentioned in the content are valid.",meetsCriteria:!0},{range:function(e,t){return e===t},score:0,feedback:"All URL(s) in the content are invalid.",meetsCriteria:!1},{range:function(e,t){return 1===e},score:75,feedback:"1 Invalid URL present in the content.",meetsCriteria:!1},{range:function(e,t){return e/t>.5},score:25,feedback:"Many Invalid URL(s) present in the content.",meetsCriteria:!1},{range:function(e,__){return!0},score:50,feedback:"Invalid URL(s) present in the content.",meetsCriteria:!1}],lr),sr),hr="nota-analyze-btn",mr=function(e){return e.trim().split(/\s+/).length||0};function Cr(){return Cr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cr.apply(this,arguments)}var yr=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};function gr(t){var n=t.className,r=yr(t,["className"]);return(0,e.createElement)("div",Cr({className:Cn("ntw-animate-pulse ntw-rounded-md ntw-bg-gravity-200",n)},r))}function vr(t){var n=t.className;return(0,e.createElement)("div",{className:Cn("ntw-flex ntw-items-center ntw-space-x-4",n)},(0,e.createElement)(gr,{className:"ntw-h-12 ntw-w-12 ntw-shrink-0 ntw-rounded-full"}),(0,e.createElement)("div",{className:"ntw-space-y-2"},(0,e.createElement)(gr,{className:"ntw-h-4 ntw-w-[180px]"}),(0,e.createElement)(gr,{className:"ntw-h-4 ntw-w-[180px]"})))}var wr=function(){var e=(0,Hn.useSelect)((function(e){return e("nota/data").getKeywordSynonyms()}),[]),t=(0,Hn.useSelect)((function(e){return e("nota/data").getGrade()}),[]),n=(0,Hn.useSelect)((function(e){return e("nota/data").isGradeLoading()}),[]),r=(0,Hn.useSelect)((function(e){return e("nota/data").isUrlsLoading()}),[]),a=(0,Hn.useSelect)((function(e){return e("nota/data").getUrlsScore()}),[]),o=(0,Hn.useSelect)((function(e){return e("nota/data").isAnalyzePageLoading()}),[]),i=(0,Hn.useSelect)((function(e){return e("nota/data").getPostMetaData()}),[]),s=(0,Hn.useSelect)((function(e){return e("nota/data").getBrands()}),[]),l=(0,Hn.useSelect)((function(e){return e("nota/data").getSelectedBrand()}),[]),c=(0,Hn.useSelect)((function(e){return e("nota/data").getLoadingStates()}),[]),u=(0,Hn.useSelect)((function(e){return e("nota/data").getTones()}),[]),d=(0,Hn.useDispatch)("nota/data");return{keywordSynonyms:e,setKeywordsSynonyms:d.setKeywordsSynonyms,grade:t,setGrade:d.setGrade,gradeIsLoading:n,setGradeLoading:d.setGradeLoading,urlsScore:a,setUrlsScore:d.setUrlsScore,urlsLoading:r,setUrlsLoading:d.setUrlsLoading,analyzePageLoading:o,setAnalyzePageLoading:d.setAnalyzePageLoading,setPostMetaData:d.setPostMetaData,postMetaData:i,brands:s,setBrands:d.setBrands,selectedBrand:l,setSelectedBrand:d.setSelectedBrand,setLoadingState:d.setLoadingState,loadingStates:c,setCurrentTones:d.setCurrentTones,tones:u}};function br(){var t,n=wr(),r=n.grade,a=n.gradeIsLoading,o=r.data||{},i=o.contentReadability,s=o.headline,l=ur(r.data,[rr.contentReadability,rr.headline]);return t=a?(0,e.createElement)(vr,null):r?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(Fn,{title:"Content Readability",gradeData:i}),(0,e.createElement)(Nn,null),(0,e.createElement)(Fn,{title:"Headline",gradeData:s}),s&&s.score<=60&&(0,e.createElement)(Jn,{onClick:function(){return fr(".meta-tab-content","nota-headline")},className:"ntw-mt-2"})):(0,e.createElement)("div",{className:"ntw-text-xs ntw-text-typography-disabled"},'Please click on the "Get started" button to start the analysis.'),(0,e.createElement)(Xn,{loading:a,status:l,title:"Content Analysis"},t)}var Er=function(e){return"".concat("nota-").concat(e)};const xr=n(688).useSyncExternalStore,Mr="undefined"==typeof window||"Deno"in window;function Lr(){}function Sr(e){return"number"==typeof e&&e>=0&&e!==1/0}function Ar(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Or(e,t,n){return Vr(e)?"function"==typeof t?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function Tr(e,t,n){return Vr(e)?[{...t,queryKey:e},n]:[e||{},t]}function Pr(e,t){const{type:n="all",exact:r,fetchStatus:a,predicate:o,queryKey:i,stale:s}=e;if(Vr(i))if(r){if(t.queryHash!==Zr(i,t.options))return!1}else if(!Rr(t.queryKey,i))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return!("boolean"==typeof s&&t.isStale()!==s||void 0!==a&&a!==t.state.fetchStatus||o&&!o(t))}function kr(e,t){const{exact:n,fetching:r,predicate:a,mutationKey:o}=e;if(Vr(o)){if(!t.options.mutationKey)return!1;if(n){if(Hr(t.options.mutationKey)!==Hr(o))return!1}else if(!Rr(t.options.mutationKey,o))return!1}return!("boolean"==typeof r&&"loading"===t.state.status!==r||a&&!a(t))}function Zr(e,t){return((null==t?void 0:t.queryKeyHashFn)||Hr)(e)}function Hr(e){return JSON.stringify(e,((e,t)=>_r(t)?Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{}):t))}function Rr(e,t){return jr(e,t)}function jr(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((n=>!jr(e[n],t[n])))}function Fr(e,t){if(e===t)return e;const n=Ir(e)&&Ir(t);if(n||_r(e)&&_r(t)){const r=n?e.length:Object.keys(e).length,a=n?t:Object.keys(t),o=a.length,i=n?[]:{};let s=0;for(let r=0;r<o;r++){const o=n?r:a[r];i[o]=Fr(e[o],t[o]),i[o]===e[o]&&s++}return r===o&&s===r?e:i}return t}function Nr(e,t){if(e&&!t||t&&!e)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Ir(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function _r(e){if(!Dr(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!Dr(n)&&!!n.hasOwnProperty("isPrototypeOf")}function Dr(e){return"[object Object]"===Object.prototype.toString.call(e)}function Vr(e){return Array.isArray(e)}function Ur(e){return new Promise((t=>{setTimeout(t,e)}))}function Br(e){Ur(0).then(e)}function qr(e,t,n){return null!=n.isDataEqual&&n.isDataEqual(e,t)?e:"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?Fr(e,t):t}const zr=console,Gr=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()};const a=r=>{t?e.push(r):Br((()=>{n(r)}))};return{batch:a=>{let o;t++;try{o=a()}finally{t--,t||(()=>{const t=e;e=[],t.length&&Br((()=>{r((()=>{t.forEach((e=>{n(e)}))}))}))})()}return o},batchCalls:e=>(...t)=>{a((()=>{e(...t)}))},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e}}}();class Wr{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Sr(this.cacheTime)&&(this.gcTimeout=setTimeout((()=>{this.optionalRemove()}),this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:Mr?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class Qr{constructor(){this.listeners=[],this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.push(e),this.onSubscribe(),()=>{this.listeners=this.listeners.filter((t=>t!==e)),this.onUnsubscribe()}}hasListeners(){return this.listeners.length>0}onSubscribe(){}onUnsubscribe(){}}const Kr=new class extends Qr{constructor(){super(),this.setup=e=>{if(!Mr&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){this.focused=e,e&&this.onFocus()}onFocus(){this.listeners.forEach((e=>{e()}))}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}},$r=new class extends Qr{constructor(){super(),this.setup=e=>{if(!Mr&&window.addEventListener){const t=()=>e();return window.addEventListener("online",t,!1),window.addEventListener("offline",t,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((e=>{"boolean"==typeof e?this.setOnline(e):this.onOnline()}))}setOnline(e){this.online=e,e&&this.onOnline()}onOnline(){this.listeners.forEach((e=>{e()}))}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}};function Jr(e){return Math.min(1e3*2**e,3e4)}function Yr(e){return"online"!==(null!=e?e:"online")||$r.isOnline()}class Xr{constructor(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}}function ea(e){return e instanceof Xr}function ta(e){let t,n,r,a=!1,o=0,i=!1;const s=new Promise(((e,t)=>{n=e,r=t})),l=()=>!Kr.isFocused()||"always"!==e.networkMode&&!$r.isOnline(),c=r=>{i||(i=!0,null==e.onSuccess||e.onSuccess(r),null==t||t(),n(r))},u=n=>{i||(i=!0,null==e.onError||e.onError(n),null==t||t(),r(n))},d=()=>new Promise((n=>{t=e=>{const t=i||!l();return t&&n(e),t},null==e.onPause||e.onPause()})).then((()=>{t=void 0,i||null==e.onContinue||e.onContinue()})),f=()=>{if(i)return;let t;try{t=e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(c).catch((t=>{var n,r;if(i)return;const s=null!=(n=e.retry)?n:3,c=null!=(r=e.retryDelay)?r:Jr,p="function"==typeof c?c(o,t):c,h=!0===s||"number"==typeof s&&o<s||"function"==typeof s&&s(o,t);!a&&h?(o++,null==e.onFail||e.onFail(o,t),Ur(p).then((()=>{if(l())return d()})).then((()=>{a?u(t):f()}))):u(t)}))};return Yr(e.networkMode)?f():d().then(f),{promise:s,cancel:t=>{i||(u(new Xr(t)),null==e.abort||e.abort())},continue:()=>(null==t?void 0:t())?s:Promise.resolve(),cancelRetry:()=>{a=!0},continueRetry:()=>{a=!1}}}class na extends Wr{constructor(e){super(),this.defaultOptions=e.defaultOptions,this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||zr,this.observers=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter((t=>t!==e)),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var e,t;return null!=(e=null==(t=this.retryer)?void 0:t.continue())?e:this.execute()}async execute(){const e=()=>{var e;return this.retryer=ta({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},t="loading"===this.state.status;try{var n,r,a,o,i,s,l,c;if(!t){var u,d,f,p;this.dispatch({type:"loading",variables:this.options.variables}),await(null==(u=(d=this.mutationCache.config).onMutate)?void 0:u.call(d,this.state.variables,this));const e=await(null==(f=(p=this.options).onMutate)?void 0:f.call(p,this.state.variables));e!==this.state.context&&this.dispatch({type:"loading",context:e,variables:this.state.variables})}const h=await e();return await(null==(n=(r=this.mutationCache.config).onSuccess)?void 0:n.call(r,h,this.state.variables,this.state.context,this)),await(null==(a=(o=this.options).onSuccess)?void 0:a.call(o,h,this.state.variables,this.state.context)),await(null==(i=(s=this.mutationCache.config).onSettled)?void 0:i.call(s,h,null,this.state.variables,this.state.context,this)),await(null==(l=(c=this.options).onSettled)?void 0:l.call(c,h,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:h}),h}catch(e){try{var h,m,C,y,g,v,w,b;throw await(null==(h=(m=this.mutationCache.config).onError)?void 0:h.call(m,e,this.state.variables,this.state.context,this)),await(null==(C=(y=this.options).onError)?void 0:C.call(y,e,this.state.variables,this.state.context)),await(null==(g=(v=this.mutationCache.config).onSettled)?void 0:g.call(v,void 0,e,this.state.variables,this.state.context,this)),await(null==(w=(b=this.options).onSettled)?void 0:w.call(b,void 0,e,this.state.variables,this.state.context)),e}finally{this.dispatch({type:"error",error:e})}}}dispatch(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"loading":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!Yr(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"};case"setState":return{...t,...e.state}}})(this.state),Gr.batch((()=>{this.observers.forEach((t=>{t.onMutationUpdate(e)})),this.mutationCache.notify({mutation:this,type:"updated",action:e})}))}}class ra extends Qr{constructor(e,t){super(),this.client=e,this.setOptions(t),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;const n=this.options;this.options=this.client.defaultMutationOptions(e),Nr(n,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(t=this.currentMutation)||t.setOptions(this.options)}onUnsubscribe(){var e;this.listeners.length||null==(e=this.currentMutation)||e.removeObserver(this)}onMutationUpdate(e){this.updateResult();const t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==e?e:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){const e=this.currentMutation?this.currentMutation.state:{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0},t={...e,isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset};this.currentResult=t}notify(e){Gr.batch((()=>{var t,n,r,a;if(this.mutateOptions&&this.hasListeners())if(e.onSuccess)null==(t=(n=this.mutateOptions).onSuccess)||t.call(n,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(r=(a=this.mutateOptions).onSettled)||r.call(a,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context);else if(e.onError){var o,i,s,l;null==(o=(i=this.mutateOptions).onError)||o.call(i,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(s=(l=this.mutateOptions).onSettled)||s.call(l,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context)}e.listeners&&this.listeners.forEach((e=>{e(this.currentResult)}))}))}}function aa(e,t){return"function"==typeof e?e(...t):!!e}function oa(e,t,n){const a=function(e,t,n){return Vr(e)?"function"==typeof t?{...n,mutationKey:e,mutationFn:t}:{...t,mutationKey:e}:"function"==typeof e?{...t,mutationFn:e}:{...e}}(e,t,n),o=l({context:a.context}),[i]=r.useState((()=>new ra(o,a)));r.useEffect((()=>{i.setOptions(a)}),[i,a]);const s=xr(r.useCallback((e=>i.subscribe(Gr.batchCalls(e))),[i]),(()=>i.getCurrentResult()),(()=>i.getCurrentResult())),c=r.useCallback(((e,t)=>{i.mutate(e,t).catch(ia)}),[i]);if(s.error&&aa(i.options.useErrorBoundary,[s.error]))throw s.error;return{...s,mutate:c,mutateAsync:s.mutate}}function ia(){}var sa=function(t){var n=t.initialItem,r=t.key,a=t.serialize,o=wr(),i=o.setPostMetaData,s=o.postMetaData[r],l=(0,e.useState)(n)[0],c=(0,e.useMemo)((function(){var e="string"==typeof s&&s.length;if(a&&e)try{var t=JSON.parse(s);return ua.includes(r)&&(la(t)||ca(t))?la(t)?{values:t,tone:null}:ca(t)?t.map((function(e){return{values:e,tone:null}})):t:t}catch(e){return lt.error(e),null}return s}),[r,s,a]),u=null!=c?c:l,d=(0,e.useCallback)((function(e){var t,n=a?JSON.stringify(e):e;i(((t={})[r]=n,t))}),[r,a,i]);return{data:u,update:d}},la=function(e){return Array.isArray(e)&&e.length&&e.every((function(e){return"string"==typeof e}))},ca=function(e){return Array.isArray(e)&&e.length&&e.every((function(e){return null===e||Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}))},ua=["nota_excerpt_history","nota_headline_history","nota_quotes_history","nota_slug_history","nota_seo_desc_history","nota_seo_title_history","nota_hashtags_history","nota_social_post_facebook_history","nota_social_post_instagram_history","nota_social_post_linkedin_history","nota_social_post_threads_history","nota_social_post_tiktok_history","nota_social_post_twitter_history","nota_tag_history","nota_selected_hashtags","nota_sms_history","nota_grade_scores_history","nota_urls_score_history","nota_summary_history","nota_keywords_synonyms_history"],da=function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))},fa=function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},pa=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},ha=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},ma=function(e){return 0===Object.keys(e).length},Ca=function(e){return Array.isArray(e)?e[0]:e},ya=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},ga=function(t){var n=t.initialItems,r=t.key,a=sa({key:r,serialize:!0}),o=a.update,i=n?[n]:[],s=(0,e.useState)(a.data||i),l=s[0],c=s[1],u=(0,e.useState)(l.length?l.length-1:-1),d=u[0],f=u[1];(0,e.useEffect)((function(){o(l)}),[l,o]);var p=l.length,h=d<p-1,m=d>0,C=(0,e.useCallback)((function(){h&&f((function(e){return e+1}))}),[h,f]),y=(0,e.useCallback)((function(){m&&f((function(e){return e-1}))}),[m,f]),g=(0,e.useCallback)((function(e){c((function(t){var n=ya([],t,!0);return n.splice(d,1,e),n}))}),[d,c]),v=(0,e.useCallback)((function(e){c((function(t){return ya(ya([],t,!0),[e],!1)}))}),[]);(0,e.useEffect)((function(){f(l.length-1)}),[l.length]);var w=(0,e.useCallback)((function(e){c([e]),f(0)}),[c]),b=(0,e.useMemo)((function(){return l.flat()}),[l]);return{replaceHistoryItem:w,addHistoryItem:v,data:l[d],history:{setHistoryIndex:f,hasNext:h,hasPrev:m,historyIndex:d,nextHistoryItem:C,prevHistoryItem:y,totalHistoryItems:p,fullHistory:b},update:g}},va=function(t,n){var r=t.fullHistory,a=t.setHistoryIndex,o=(0,e.useRef)(!1);(0,e.useEffect)((function(){if(!o.current&&0!==r.length){var e=r.findIndex((function(e){var t;return null===(t=e.values)||void 0===t?void 0:t.includes(n)}));-1!==e&&(a(e),o.current=!0)}}),[r,n,a])},wa=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},ba=function(t){var n=t.trackValue,r=t.revertFn,a=(0,e.useState)([]),o=a[0],i=a[1],s=(0,e.useState)([]),l=s[0],c=s[1],u=(0,e.useMemo)((function(){return o.find((function(e){return!l.includes(e)}))}),[o,l]),d=void 0!==u&&n!==u;return(0,e.useEffect)((function(){i((function(e){return wa([n],e,!0)}))}),[n]),{update:function(e){c((function(t){return wa([e],t,!0)}))},revert:d?function(){void 0!==u&&r(u)}:void 0}},Ea=Hn.useSelect,xa=function(){var e=(0,Hn.useDispatch)("core/editor").editPost,t=Ea((function(e){var t=e("core/editor");return{postTitle:t.getEditedPostAttribute("title"),postExcerpt:t.getEditedPostAttribute("excerpt"),postSlug:t.getEditedPostAttribute("slug"),postId:t.getCurrentPostId(),isPublished:t.isCurrentPostPublished()}})),n=t.postTitle,r=t.postExcerpt,a=t.postSlug,o=t.postId,i=t.isPublished,s=ba({trackValue:n,revertFn:function(t){e({title:t})}}),l=ba({trackValue:r,revertFn:function(t){e({excerpt:t})}}),c=ba({trackValue:a,revertFn:function(t){e({slug:t})}});return{editPostTitle:function(t){s.update(t),e({title:t})},editPostExcerpt:function(t){l.update(t),e({excerpt:t})},editPostSlug:function(t){c.update(t),e({slug:t})},isPublished:i,postExcerpt:r,postTitle:n,postSlug:a,postId:o,revertExcerpt:l.revert,revertTitle:s.revert,revertSlug:c.revert}},Ma=Hn.useSelect,La=function(){var e,t,n=(0,Hn.useDispatch)("yoast-seo/editor"),r=Ma((function(e){var t=e("yoast-seo/editor"),n=e("core/editor"),r=n.getEditedPostAttribute("meta"),a=null==t?void 0:t.getSnippetEditorData(),o=(null==r?void 0:r[window.notaTools.meta_keys.seo_title])||n.getEditedPostAttribute("title");return{yoastValues:a,metaValues:{description:null==r?void 0:r[window.notaTools.meta_keys.seo_desc],title:null==r?void 0:r[window.notaTools.meta_keys.seo_title]},metaDescription:(null==t?void 0:t.getDescription())||(null==r?void 0:r[window.notaTools.meta_keys.seo_desc]),seoTitleTemplate:null==t?void 0:t.getSeoTitleTemplate(),seoTitleFormatted:(null==t?void 0:t.getSeoTitle())||"".concat(o," ").concat(window.notaTools.post_title_suffix)}}),[]),a=(0,Hn.useDispatch)("core/editor"),o=ba({trackValue:r.metaValues.title,revertFn:function(e){var t;a.editPost({meta:(t={},t[window.notaTools.meta_keys.seo_title]=e,t)})}}),i=ba({trackValue:r.metaValues.description,revertFn:function(e){var t;a.editPost({meta:(t={},t[window.notaTools.meta_keys.seo_desc]=e,t)})}}),s=ba({trackValue:null===(e=r.yoastValues)||void 0===e?void 0:e.title,revertFn:function(e){null==n||n.updateData({title:e}).catch(lt.error)}}),l=ba({trackValue:null===(t=r.yoastValues)||void 0===t?void 0:t.description,revertFn:function(e){null==n||n.updateData({description:e}).catch(lt.error)}});return{editMetaDescription:function(e){var t;a.editPost({meta:(t={},t[window.notaTools.meta_keys.seo_desc]=e,t)}).catch(lt.error),i.update(e),null==n||n.updateData({description:e}).catch(lt.error),l.update(e)},editMetaTitle:function(e){var t,i;a.editPost({meta:(t={},t[window.notaTools.meta_keys.seo_title]=e,t)}).catch(lt.error),o.update(e);var l=((null===(i=null==r?void 0:r.seoTitleTemplate)||void 0===i?void 0:i.includes("%%title%%"))?null==r?void 0:r.seoTitleTemplate:"%%title%% %%page%% %%sep%% %%sitename%%").replace("%%title%%",e);null==n||n.updateData({title:l}).catch(lt.error),s.update(l)},metaDescription:r.metaValues.description,metaTitle:r.metaValues.title,metaTitleFormatted:r.seoTitleFormatted,revertMetaDescription:i.revert?function(){var e,t;null===(e=l.revert)||void 0===e||e.call(l),null===(t=i.revert)||void 0===t||t.call(i)}:void 0,revertMetaTitle:o.revert?function(){var e,t;null===(e=s.revert)||void 0===e||e.call(s),null===(t=o.revert)||void 0===t||t.call(o)}:void 0}},Sa=function(){return Sa=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Sa.apply(this,arguments)},Aa=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},Oa=function(t){var n=t.notaService,r=t.components,a=t.requestsToQueue,o=wr(),i=o.setKeywordsSynonyms,s=o.setAnalyzePageLoading,l=o.selectedBrand,c=window.notaTools.meta_keys,u=ga({key:c.excerpt_history}),d=ga({key:c.social_hashtags_history}),f=ga({key:c.headline_history}),p=ga({key:c.slug_history}),h=ga({key:c.tag_history}),m=ga({key:c.seo_desc_history}),C=ga({key:c.seo_title_history}),y=ga({key:c.social_post_facebook_history}),g=ga({key:c.social_post_instagram_history}),v=ga({key:c.social_post_linkedin_history}),w=ga({key:c.social_post_threads_history}),b=ga({key:c.social_post_tiktok_history}),E=ga({key:c.social_post_twitter_history}),x=ga({key:c.sms_history}),M=ga({key:c.quotes_history}),L=ga({key:c.keywords_synonyms_history});(0,e.useEffect)((function(){i(L.data||{})}),[i,L.data]);var S=ga({key:c.summary_history}),A=sa({key:c.selected_hashtags,serialize:!0}),O=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getHashtags({postHTML:t,regenerate:r})},onSuccess:function(e){d.addHistoryItem({values:e.hashTags,tone:null})},retry:3}),T=O.mutate,P=Aa(O,["mutate"]),k=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getHeadlines({postHTML:t,count:3,regenerate:r,brandId:null==l?void 0:l.id,queue:a.headlines})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===f.history.fullHistory.length&&f.addHistoryItem({values:e.originalValues||[],tone:null}),f.addHistoryItem({values:e.headlines,tone:null==e?void 0:e.tone})},retry:3}),Z=k.mutate,H=Aa(k,["mutate"]),R=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSlugs({postHTML:t,count:3,regenerate:r})},onSuccess:function(e){p.addHistoryItem({values:e.slugs,tone:null})},retry:3}),j=R.mutate,F=Aa(R,["mutate"]),N=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getMetaDescriptions({postHTML:t,count:3,regenerate:r,brandId:null==l?void 0:l.id,queue:a.metaDescription})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===m.history.fullHistory.length&&m.addHistoryItem({values:e.originalValues||[],tone:null}),m.addHistoryItem({values:e.metaDescriptions,tone:null==e?void 0:e.tone})},retry:3}),I=N.mutate,_=Aa(N,["mutate"]),D=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getMetaTitles({postHTML:t,count:3,regenerate:r,brandId:null==l?void 0:l.id,queue:a.metaTitle})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===C.history.fullHistory.length&&C.addHistoryItem({values:e.originalValues||[],tone:null}),C.addHistoryItem({values:e.metaTitles,tone:null==e?void 0:e.tone})},retry:3}),V=D.mutate,U=Aa(D,["mutate"]),B=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getEntities({postHTML:t,regenerate:r,queue:a.entities})},onSuccess:function(e){h.addHistoryItem({values:e.entities,tone:null})},retry:3}),q=B.mutate,z=Aa(B,["mutate"]),G=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getKeywordSynonyms({postHTML:t,count:10,regenerate:r,queue:a.keywords})},onSuccess:function(e){var t=function(e){for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var a=r[n],o=a[0],i=a[1];t[o]=i.synonyms}return t}(e.keywordsData);L.addHistoryItem(t)},retry:3}),W=G.mutate,Q=Aa(G,["mutate"]),K=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"facebook",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===y.history.fullHistory.length&&y.addHistoryItem({values:e.originalValues||[],tone:null}),y.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),$=K.mutate,J=Aa(K,["mutate"]),Y=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"instagram",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===g.history.fullHistory.length&&g.addHistoryItem({values:e.originalValues||[],tone:null}),g.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),X=Y.mutate,ee=Aa(Y,["mutate"]),te=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"linkedIn",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===v.history.fullHistory.length&&v.addHistoryItem({values:e.originalValues||[],tone:null}),v.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),ne=te.mutate,re=Aa(te,["mutate"]),ae=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"threads",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===w.history.fullHistory.length&&w.addHistoryItem({values:e.originalValues||[],tone:null}),w.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),oe=ae.mutate,ie=Aa(ae,["mutate"]),se=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"tiktok",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===b.history.fullHistory.length&&b.addHistoryItem({values:e.originalValues||[],tone:null}),b.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),le=se.mutate,ce=Aa(se,["mutate"]),ue=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"twitter",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===E.history.fullHistory.length&&E.addHistoryItem({values:e.originalValues||[],tone:null}),E.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),de=ue.mutate,fe=Aa(ue,["mutate"]),pe=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSummary({postHTML:t,lengthOption:"1-sentence",regenerate:r,brandId:null==l?void 0:l.id,queue:a.summary})},onSuccess:function(e){u.addHistoryItem({values:[e.summary],tone:null==e?void 0:e.tone})},retry:3}),he=pe.mutate,me=Aa(pe,["mutate"]),Ce=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate,a=e.count;return n.getSMS({postHTML:t,regenerate:r,count:a})},onSuccess:function(e){x.addHistoryItem({values:e.messages,tone:null})},retry:3}),ye=Ce.mutate,ge=Aa(Ce,["mutate"]),ve=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getQuotes({postHTML:t,regenerate:r,count:3,exclude:M.history.fullHistory.map((function(e){return e.values})).flat()})},onSuccess:function(e){M.addHistoryItem({values:e.quotes,tone:null})},retry:3}),we=ve.mutate,be=Aa(ve,["mutate"]),Ee=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSummary({postHTML:t,lengthOption:"1-paragraph",regenerate:r,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===S.history.fullHistory.length&&S.addHistoryItem({values:e.originalValues||[],tone:null}),S.addHistoryItem({values:[e.summary],tone:null==e?void 0:e.tone})},retry:3}),xe=Ee.mutate,Me=Aa(Ee,["mutate"]),Le=(0,e.useCallback)((function(e){var t={hashtags:function(){return T({postHTML:e.postHTML})},headlines:function(){return Z({postHTML:e.postHTML})},slugs:function(){return j({postHTML:e.postHTML})},excerpt:function(){return he({postHTML:e.postHTML})},tags:function(){return q({postHTML:e.postHTML})},metaDescriptions:function(){return I({postHTML:e.postHTML})},metaTitles:function(){return V({postHTML:e.postHTML})},quotes:function(){return we({postHTML:e.postHTML})},socialPostsFacebook:function(){return $({postHTML:e.postHTML})},socialPostsInstagram:function(){return X({postHTML:e.postHTML})},socialPostsLinkedIn:function(){return ne({postHTML:e.postHTML})},socialPostsThreads:function(){return oe({postHTML:e.postHTML})},socialPostsTikTok:function(){return le({postHTML:e.postHTML})},socialPostsTwitter:function(){return de({postHTML:e.postHTML})},summary:function(){return xe({postHTML:e.postHTML})},sms:function(){return ye({postHTML:e.postHTML})},keywordSynonyms:function(){return W({postHTML:e.postHTML})}},n=Object.keys(r);(e.components||n).forEach((function(e){var n;r[e]&&(null===(n=t[e])||void 0===n||n.call(t))}))}),[r,T,Z,j,he,q,I,V,we,W,$,X,ne,oe,le,de,ye,xe]),Se=[P.isLoading,H.isLoading,F.isLoading,_.isLoading,U.isLoading,z.isLoading,Q.isLoading,me.isLoading,Me.isLoading].some((function(e){return e}));(0,e.useEffect)((function(){s(Se)}),[Se,s]);var Ae=xa(),Oe=Ae.postTitle,Te=Ae.postExcerpt,Pe=La(),ke=Pe.metaTitle,Ze=Pe.metaDescription;return va(f.history,Oe),va(C.history,ke),va(m.history,Ze),va(u.history,Te),{hashtags:Sa(Sa({error:P.error,isLoading:P.isLoading},d),{refresh:function(e){T({postHTML:e.postHTML,regenerate:!0})}}),headlines:Sa(Sa({error:H.error,isLoading:H.isLoading},f),{refresh:function(e){Z({postHTML:e.postHTML,regenerate:!0})}}),slugs:Sa(Sa({error:F.error,isLoading:F.isLoading},p),{refresh:function(e){j({postHTML:e.postHTML,regenerate:!0})}}),metaDescriptions:Sa(Sa({error:_.error,isLoading:_.isLoading},m),{refresh:function(e){I({postHTML:e.postHTML,regenerate:!0})}}),metaTitles:Sa(Sa({error:U.error,isLoading:U.isLoading},C),{refresh:function(e){V({postHTML:e.postHTML,regenerate:!0})}}),quotes:Sa(Sa({error:be.error,isLoading:be.isLoading},M),{refresh:function(e){we({postHTML:e.postHTML,regenerate:!0})}}),run:Le,excerpt:Sa(Sa({error:me.error,isLoading:me.isLoading},u),{refresh:function(e){he({postHTML:e.postHTML,regenerate:!0})}}),tags:Sa(Sa({error:z.error,isLoading:z.isLoading},h),{refresh:function(e){q({postHTML:e.postHTML,regenerate:!0})}}),socialPostsFacebook:Sa(Sa({error:J.error,isLoading:J.isLoading},y),{refresh:function(e){$({postHTML:e.postHTML,regenerate:!0})}}),socialPostsInstagram:Sa(Sa({error:ee.error,isLoading:ee.isLoading},g),{refresh:function(e){X({postHTML:e.postHTML,regenerate:!0})}}),socialPostsLinkedIn:Sa(Sa({error:re.error,isLoading:re.isLoading},v),{refresh:function(e){ne({postHTML:e.postHTML,regenerate:!0})}}),socialPostsThreads:Sa(Sa({error:ie.error,isLoading:ie.isLoading},w),{refresh:function(e){oe({postHTML:e.postHTML,regenerate:!0})}}),socialPostsTikTok:Sa(Sa({error:ce.error,isLoading:ce.isLoading},b),{refresh:function(e){le({postHTML:e.postHTML,regenerate:!0})}}),socialPostsTwitter:Sa(Sa({error:fe.error,isLoading:fe.isLoading},E),{refresh:function(e){de({postHTML:e.postHTML,regenerate:!0})}}),sms:Sa(Sa({error:ge.error,isLoading:ge.isLoading},x),{refresh:function(e){ye({postHTML:e.postHTML,regenerate:!0})}}),summary:Sa(Sa({error:Me.error,isLoading:Me.isLoading},S),{refresh:function(e){xe({postHTML:e.postHTML,regenerate:!0})}}),keywordSynonyms:Sa(Sa({error:Q.error,isLoading:Q.isLoading},L),{refresh:function(e){W({postHTML:e.postHTML,regenerate:!0})}}),selectedHashtags:A}};class Ta extends Qr{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.length&&(this.currentQuery.addObserver(this),Pa(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.listeners.length||this.destroy()}shouldFetchOnReconnect(){return ka(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ka(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=[],this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){const n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),Nr(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();const a=this.hasListeners();a&&Za(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!a||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();const o=this.computeRefetchInterval();!a||this.currentQuery===r&&this.options.enabled===n.enabled&&o===this.currentRefetchInterval||this.updateRefetchInterval(o)}getOptimisticResult(e){const t=this.client.getQueryCache().build(this.client,e);return this.createResult(t,e)}getCurrentResult(){return this.currentResult}trackResult(e){const t={};return Object.keys(e).forEach((n=>{Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),e[n])})})),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){const t=this.client.defaultQueryOptions(e),n=this.client.getQueryCache().build(this.client,t);return n.isFetchingOptimistic=!0,n.fetch().then((()=>this.createResult(n,t)))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then((()=>(this.updateResult(),this.currentResult)))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(Lr)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),Mr||this.currentResult.isStale||!Sr(this.options.staleTime))return;const e=Ar(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((()=>{this.currentResult.isStale||this.updateResult()}),e)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!Mr&&!1!==this.options.enabled&&Sr(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((()=>{(this.options.refetchIntervalInBackground||Kr.isFocused())&&this.executeFetch()}),this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){const n=this.currentQuery,r=this.options,a=this.currentResult,o=this.currentResultState,i=this.currentResultOptions,s=e!==n,l=s?e.state:this.currentQueryInitialState,c=s?this.currentResult:this.previousQueryResult,{state:u}=e;let d,{dataUpdatedAt:f,error:p,errorUpdatedAt:h,fetchStatus:m,status:C}=u,y=!1,g=!1;if(t._optimisticResults){const a=this.hasListeners(),o=!a&&Pa(e,t),i=a&&Za(e,n,t,r);(o||i)&&(m=Yr(e.options.networkMode)?"fetching":"paused",f||(C="loading")),"isRestoring"===t._optimisticResults&&(m="idle")}if(t.keepPreviousData&&!u.dataUpdatedAt&&null!=c&&c.isSuccess&&"error"!==C)d=c.data,f=c.dataUpdatedAt,C=c.status,y=!0;else if(t.select&&void 0!==u.data)if(a&&u.data===(null==o?void 0:o.data)&&t.select===this.selectFn)d=this.selectResult;else try{this.selectFn=t.select,d=t.select(u.data),d=qr(null==a?void 0:a.data,d,t),this.selectResult=d,this.selectError=null}catch(e){this.selectError=e}else d=u.data;if(void 0!==t.placeholderData&&void 0===d&&"loading"===C){let e;if(null!=a&&a.isPlaceholderData&&t.placeholderData===(null==i?void 0:i.placeholderData))e=a.data;else if(e="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.selectError=null}catch(e){this.selectError=e}void 0!==e&&(C="success",d=qr(null==a?void 0:a.data,e,t),g=!0)}this.selectError&&(p=this.selectError,d=this.selectResult,h=Date.now(),C="error");const v="fetching"===m,w="loading"===C,b="error"===C;return{status:C,fetchStatus:m,isLoading:w,isSuccess:"success"===C,isError:b,isInitialLoading:w&&v,data:d,dataUpdatedAt:f,error:p,errorUpdatedAt:h,failureCount:u.fetchFailureCount,failureReason:u.fetchFailureReason,errorUpdateCount:u.errorUpdateCount,isFetched:u.dataUpdateCount>0||u.errorUpdateCount>0,isFetchedAfterMount:u.dataUpdateCount>l.dataUpdateCount||u.errorUpdateCount>l.errorUpdateCount,isFetching:v,isRefetching:v&&!w,isLoadingError:b&&0===u.dataUpdatedAt,isPaused:"paused"===m,isPlaceholderData:g,isPreviousData:y,isRefetchError:b&&0!==u.dataUpdatedAt,isStale:Ha(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){const t=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,Nr(n,t))return;this.currentResult=n;const r={cache:!0};!1!==(null==e?void 0:e.listeners)&&(()=>{if(!t)return!0;const{notifyOnChangeProps:e}=this.options;if("all"===e||!e&&!this.trackedProps.size)return!0;const n=new Set(null!=e?e:this.trackedProps);return this.options.useErrorBoundary&&n.add("error"),Object.keys(this.currentResult).some((e=>{const r=e;return this.currentResult[r]!==t[r]&&n.has(r)}))})()&&(r.listeners=!0),this.notify({...r,...e})}updateQuery(){const e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;const t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){const t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||ea(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){Gr.batch((()=>{var t,n,r,a;if(e.onSuccess)null==(t=(n=this.options).onSuccess)||t.call(n,this.currentResult.data),null==(r=(a=this.options).onSettled)||r.call(a,this.currentResult.data,null);else if(e.onError){var o,i,s,l;null==(o=(i=this.options).onError)||o.call(i,this.currentResult.error),null==(s=(l=this.options).onSettled)||s.call(l,void 0,this.currentResult.error)}e.listeners&&this.listeners.forEach((e=>{e(this.currentResult)})),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})}))}}function Pa(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&ka(e,t,t.refetchOnMount)}function ka(e,t,n){if(!1!==t.enabled){const r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&Ha(e,t)}return!1}function Za(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&Ha(e,n)}function Ha(e,t){return e.isStaleByTime(t.staleTime)}const Ra=r.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),ja=r.createContext(!1),Fa=(ja.Provider,(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))});function Na(e,t,n){return function(e,t){const n=l({context:e.context}),a=r.useContext(ja),o=r.useContext(Ra),i=n.defaultQueryOptions(e);i._optimisticResults=a?"isRestoring":"optimistic",i.onError&&(i.onError=Gr.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=Gr.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=Gr.batchCalls(i.onSettled)),(e=>{e.suspense&&"number"!=typeof e.staleTime&&(e.staleTime=1e3)})(i),Fa(i,o),(e=>{r.useEffect((()=>{e.clearReset()}),[e])})(o);const[s]=r.useState((()=>new t(n,i))),c=s.getOptimisticResult(i);if(xr(r.useCallback((e=>a?()=>{}:s.subscribe(Gr.batchCalls(e))),[s,a]),(()=>s.getCurrentResult()),(()=>s.getCurrentResult())),r.useEffect((()=>{s.setOptions(i,{listeners:!1})}),[i,s]),((e,t,n)=>(null==e?void 0:e.suspense)&&((e,t)=>e.isLoading&&e.isFetching&&!t)(t,n))(i,c,a))throw((e,t,n)=>t.fetchOptimistic(e).then((({data:t})=>{null==e.onSuccess||e.onSuccess(t),null==e.onSettled||e.onSettled(t,null)})).catch((t=>{n.clearReset(),null==e.onError||e.onError(t),null==e.onSettled||e.onSettled(void 0,t)})))(i,s,o);if((({result:e,errorResetBoundary:t,useErrorBoundary:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&aa(n,[e.error,r]))({result:c,errorResetBoundary:o,useErrorBoundary:i.useErrorBoundary,query:s.getCurrentQuery()}))throw c.error;return i.notifyOnChangeProps?c:s.trackResult(c)}(Or(e,t,n),Ta)}var Ia={config:{defaultAIContentPolicy:"",defaultHeadlineCharacterMax:void 0,defaultLetterHeadlineCharacterMax:void 0,defaultBriefHeadlineCharacterMax:void 0,requestsToQueue:{entities:!1,keywords:!1,socialPosts:!1,metaTitle:!1,metaDescription:!1,headlines:!1,summary:!1,adjustTextTone:!1,relatedKeywords:!1,proof:!1}}},_a=function(){var e=Na({queryKey:["public-config"],queryFn:wt.getPublicConfig,placeholderData:Ia,staleTime:3e5}),t=e.data;return{isLoading:e.isLoading,config:(null==t?void 0:t.config)||Ia.config}},Da=Hn.useSelect;function Va(){var t=_a().config,n=Da((function(e){return e("core/editor").getEditedPostContent()}),[]),r=La(),a=r.metaDescription,o=r.metaTitle,i=xa(),s=i.postSlug,l=i.postTitle,c=wr().keywordSynonyms,u=Object.keys(c);return{nextPayload:(0,e.useMemo)((function(){return{content:n,headline:l,metaDescription:a,metaTitle:o,slug:s,urlsList:Sn(n),keywords:c,queue:t.requestsToQueue.proof}}),[n,l,a,o,s,c,t.requestsToQueue.proof]),keywords:u,postHTML:n}}var Ua={info:"ntw-bg-status-informational-100 ntw-text-status-informational-300",error:"ntw-bg-status-error-100 ntw-text-status-error-900"},Ba={error:an,info:Dt};function qa(t){var n=t.level,r=t.children,a=t.className,o=t.size,i=void 0===o?"large":o,s=Ba[n];return(0,e.createElement)("div",{className:Cn("ntw-flex ntw-items-center ntw-rounded-lg",Ua[n],a,{"ntw-p-24px":"large"===i,"ntw-p-8px ntw-text-xs":"small"===i})},(0,e.createElement)(s,{size:24,className:"ntw-mr-8px ntw-flex-shrink-0"}),(0,e.createElement)("div",{className:"ntw-flex-1"},r))}var za="Unknown error occurred.",Ga=function(e){var t;if(null===e||"object"!=typeof e||!("data"in e)||null===e.data||"object"!=typeof e.data||!("data"in e.data))return za;var n=(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.data)||[];if(!Array.isArray(n))return null;var r=n.find((function(e){return"object"==typeof e&&"code"in e&&"nota_error"===e.code&&"message"in e&&"string"==typeof e.message}));return(null==r?void 0:r.message)||za};function Wa(t){var n=t.isLoading,r=t.error,a=t.retry,o=t.children,i=t.size,s=void 0===i?"large":i;return(0,e.createElement)("div",null,n?"Loading...":(0,e.createElement)("div",null,r?(0,e.createElement)(qa,{level:"error",size:s},(0,e.createElement)("div",{className:"ntw-flex ntw-justify-between ntw-gap-16px"},(0,e.createElement)("div",null,Ga(r)),!!a&&(0,e.createElement)("button",{onClick:a,className:"ntw-font-bold ntw-uppercase ntw-tracking-wider"},"Retry"))):o))}function Qa(t){var n=t.className,r=t.color,a=void 0===r?"#39B105":r;return(0,e.createElement)("svg",{width:"38",height:"28",viewBox:"0 0 38 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("g",{filter:"url(#filter0_d_1_7)"},(0,e.createElement)("rect",{x:"6.32876",y:"4.44244",width:"27.3778",height:"12.4444",rx:"6.22222",transform:"rotate(10 6.32876 4.44244)",fill:a}),(0,e.createElement)("rect",{x:"11.8082",y:"9.19992",width:"14.9333",height:"4.97778",rx:"2.48889",transform:"rotate(10 11.8082 9.19992)",fill:"white"})),(0,e.createElement)("defs",null,(0,e.createElement)("filter",{id:"filter0_d_1_7",x:"0.174931",y:"-3.26744",width:"37.1085",height:"35.905",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},(0,e.createElement)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,e.createElement)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,e.createElement)("feOffset",null),(0,e.createElement)("feGaussianBlur",{stdDeviation:"2.48889"}),(0,e.createElement)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,e.createElement)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"}),(0,e.createElement)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1_7"}),(0,e.createElement)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1_7",result:"shape"}))))}function Ka(t){var n=t.className;return(0,e.createElement)("svg",{viewBox:"0 0 248 112",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("path",{d:"M35.5989 111.315C34.9668 111.292 34.4716 110.762 34.5008 110.13C34.5027 110.088 34.5046 110.046 34.5066 110.004C34.5367 109.37 35.0829 108.887 35.7166 108.927C36.3473 108.967 36.8262 109.509 36.7964 110.141C36.7954 110.163 36.7943 110.185 36.7933 110.208C36.7639 110.841 36.2327 111.337 35.5989 111.315Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M37.152 97.1852C36.5347 97.0623 36.1309 96.4651 36.2549 95.848C36.2629 95.8085 36.2709 95.769 36.2789 95.7295C36.4057 95.1029 37.0256 94.7083 37.649 94.8501C38.2623 94.9895 38.6485 95.5963 38.5237 96.2128C38.5196 96.2331 38.5155 96.2533 38.5114 96.2736C38.3852 96.8996 37.7782 97.31 37.152 97.1852Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M40.8792 83.3402C40.2916 83.12 39.9882 82.4694 40.2051 81.8806C40.2178 81.8461 40.2305 81.8117 40.2432 81.7772C40.4666 81.1731 41.1466 80.8786 41.7434 81.1207C42.3247 81.3564 42.6094 82.014 42.3918 82.6022C42.3859 82.6182 42.38 82.6341 42.3741 82.6501C42.1513 83.2535 41.4815 83.5659 40.8792 83.3402Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M47.3741 69.0182C46.8349 68.6983 46.649 68.0061 46.9627 67.4633C46.9782 67.4364 46.9938 67.4095 47.0093 67.3826C47.3346 66.821 48.0616 66.6471 48.6107 66.9931C49.1413 67.3273 49.3076 68.0233 48.9932 68.5658C48.9877 68.5754 48.9821 68.585 48.9765 68.5946C48.6516 69.1556 47.9317 69.3491 47.3741 69.0182Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M56.2176 56.0309C55.7418 55.6206 55.6787 54.9055 56.082 54.4238C56.0975 54.4053 56.1131 54.3867 56.1286 54.3682C56.5483 53.8677 57.2996 53.8223 57.7829 54.2619C58.2479 54.6848 58.2874 55.4048 57.8834 55.8864C57.4638 56.3864 56.7119 56.4572 56.2176 56.0309Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M67.1255 44.8236C66.7263 44.3346 66.7869 43.6141 67.2701 43.2079C67.2831 43.197 67.296 43.1861 67.3089 43.1753C67.8114 42.7533 68.5642 42.8418 68.9657 43.3607C69.3504 43.8579 69.2704 44.5725 68.7889 44.9766C68.2886 45.3962 67.5384 45.3294 67.1255 44.8236Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M79.764 35.7394C79.4528 35.1853 79.6363 34.4764 80.1871 34.1591C80.1958 34.154 80.2046 34.149 80.2134 34.1439C80.7831 33.8159 81.5125 34.0387 81.8194 34.62C82.1124 35.1748 81.9122 35.8681 81.3683 36.1809C80.8062 36.5042 80.0816 36.3048 79.764 35.7394Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M93.7407 29.0401C93.5268 28.4361 93.8427 27.7689 94.4457 27.5524C95.0638 27.3304 95.7461 27.6657 95.9493 28.2901L95.9569 28.3133C96.1512 28.9105 95.8306 29.5524 95.2394 29.7644C94.6339 29.9815 93.9637 29.6698 93.749 29.0634L93.7407 29.0401Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M108.639 24.9473C108.53 24.3105 108.955 23.7035 109.593 23.5968C110.238 23.4888 110.843 23.936 110.937 24.5834L110.942 24.613C111.032 25.2368 110.603 25.8161 109.981 25.9201C109.352 26.0253 108.752 25.6059 108.644 24.977L108.639 24.9473Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M124 23.5771C124 22.9261 124.528 22.3976 125.179 22.4064C125.829 22.4152 126.343 22.9567 126.326 23.6068L126.325 23.6385C126.309 24.2724 125.781 24.772 125.147 24.7635C124.514 24.7549 124 24.2422 124 23.6087V23.5771Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M139.358 24.9691C139.469 24.3238 140.087 23.8923 140.73 24.0178C141.363 24.1415 141.773 24.7588 141.647 25.3918L141.642 25.4208C141.518 26.0475 140.906 26.4515 140.279 26.3292C139.66 26.2086 139.247 25.6187 139.353 24.9979L139.358 24.9691Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M154.242 29.0904C154.462 28.4712 155.158 28.143 155.77 28.3815C156.366 28.6139 156.665 29.2886 156.436 29.8861L156.427 29.9081C156.197 30.5096 155.518 30.804 154.917 30.5704C154.332 30.3427 154.033 29.6822 154.242 29.0904Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M168.21 35.7875C168.532 35.2144 169.266 35.0116 169.827 35.3545C169.836 35.3603 169.846 35.3661 169.855 35.3719C170.397 35.7034 170.562 36.4153 170.237 36.9606C169.904 37.5182 169.174 37.698 168.62 37.3595C168.085 37.0323 167.902 36.3346 168.21 35.7875Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M180.836 44.872C181.251 44.364 182.005 44.2961 182.495 44.7309C182.509 44.7428 182.522 44.7548 182.536 44.7667C183.008 45.1852 183.05 45.9058 182.638 46.3837C182.212 46.879 181.46 46.9254 180.971 46.4923C180.5 46.0754 180.438 45.3593 180.836 44.872Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M191.736 56.0718C192.23 55.6455 192.979 55.7105 193.385 56.2215C193.401 56.2412 193.417 56.261 193.433 56.2808C193.823 56.7727 193.741 57.4855 193.255 57.8829C192.75 58.2956 192 58.2038 191.594 57.6934C191.203 57.2018 191.26 56.4821 191.736 56.0718Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M200.58 69.0462C201.137 68.7154 201.858 68.908 202.169 69.4773C202.184 69.5054 202.199 69.5335 202.215 69.5617C202.514 70.1124 202.31 70.7995 201.763 71.1049C201.197 71.4204 200.483 71.2084 200.173 70.6398C200.168 70.6291 200.162 70.6185 200.156 70.6079C199.856 70.0575 200.04 69.3661 200.58 69.0462Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M206.559 81.9158C207.158 81.6795 207.835 81.9803 208.052 82.5861C208.065 82.621 208.077 82.6558 208.09 82.6907C208.301 83.2815 207.992 83.9293 207.402 84.1439C206.798 84.3637 206.131 84.0452 205.914 83.44C205.908 83.4238 205.903 83.4075 205.897 83.3912C205.685 82.8009 205.975 82.146 206.559 81.9158Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M210.508 95.5887C211.133 95.4523 211.749 95.8519 211.871 96.4793C211.878 96.519 211.886 96.5587 211.894 96.5984C212.013 97.2166 211.604 97.8106 210.985 97.9283C210.358 98.0477 209.755 97.6324 209.634 97.0057C209.63 96.9852 209.626 96.9648 209.622 96.9443C209.502 96.3267 209.894 95.723 210.508 95.5887Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M212.329 109.73C212.963 109.695 213.505 110.183 213.529 110.817C213.531 110.859 213.532 110.901 213.534 110.943C213.558 111.575 213.058 112.101 212.425 112.118C211.791 112.135 211.265 111.634 211.241 111.001C211.24 110.978 211.239 110.956 211.238 110.934C211.214 110.302 211.698 109.764 212.329 109.73Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M14 112C12.8954 112 11.9981 111.104 12.0178 110C12.4926 83.4005 22.4222 57.8356 40.0259 37.8896C40.7568 37.0614 42.0237 37.006 42.8387 37.7515L51.4565 45.6354C52.2715 46.3809 52.3259 47.6448 51.5974 48.4751C36.6351 65.5278 28.1714 87.3185 27.7007 110C27.6778 111.104 26.7846 112 25.68 112H14Z",fill:"url(#paint0_linear_6379_341177)"}),(0,e.createElement)("path",{d:"M46.2183 34.2183C45.4372 33.4372 45.4364 32.169 46.2313 31.402C66.2656 12.0702 92.7867 0.892155 120.615 0.0511573C121.719 0.0177908 122.626 0.903929 122.639 2.00841L122.784 13.6875C122.798 14.792 121.913 15.6963 120.809 15.7329C97.0721 16.5192 74.4589 26.0502 57.3205 42.4918C56.5235 43.2564 55.2583 43.2583 54.4773 42.4773L46.2183 34.2183Z",fill:"url(#paint1_linear_6379_341177)"}),(0,e.createElement)("path",{d:"M127.564 2.05774C127.599 0.953754 128.524 0.0859627 129.627 0.141442C156.527 1.49422 182.041 12.4976 201.488 31.1318C202.285 31.8961 202.289 33.1642 201.51 33.9479L193.28 42.2356C192.502 43.0194 191.237 43.022 190.437 42.2601C173.806 26.4162 152.056 17.0364 129.119 15.8161C128.016 15.7574 127.15 14.8356 127.185 13.7316L127.564 2.05774Z",fill:"url(#paint2_linear_6379_341177)"}),(0,e.createElement)("path",{d:"M204.602 37.1442C205.411 36.3926 206.678 36.4385 207.415 37.2612C225.182 57.0896 235.305 82.6026 235.965 109.218C235.993 110.322 235.102 111.225 233.997 111.232L222.318 111.314C221.213 111.321 220.314 110.432 220.283 109.328C219.653 86.6327 211.025 64.8862 195.924 47.9333C195.189 47.1085 195.234 45.8442 196.043 45.0925L204.602 37.1442Z",fill:"url(#paint3_linear_6379_341177)"}),(0,e.createElement)("defs",null,(0,e.createElement)("linearGradient",{id:"paint0_linear_6379_341177",x1:"18.8444",y1:"112",x2:"48.7111",y2:"40.4445",gradientUnits:"userSpaceOnUse"},(0,e.createElement)("stop",{stopColor:"#C5500E"}),(0,e.createElement)("stop",{offset:"1",stopColor:"#C57A0A"})),(0,e.createElement)("linearGradient",{id:"paint1_linear_6379_341177",x1:"49.9556",y1:"37.3333",x2:"120.889",y2:"6.84444",gradientUnits:"userSpaceOnUse"},(0,e.createElement)("stop",{stopColor:"#B99414"}),(0,e.createElement)("stop",{offset:"1",stopColor:"#9EC500"})),(0,e.createElement)("linearGradient",{id:"paint2_linear_6379_341177",x1:"125.244",y1:"8.08889",x2:"196.8",y2:"36.7111",gradientUnits:"userSpaceOnUse"},(0,e.createElement)("stop",{stopColor:"#A6CE03"}),(0,e.createElement)("stop",{offset:"1",stopColor:"#32BC00"})),(0,e.createElement)("linearGradient",{id:"paint3_linear_6379_341177",x1:"199.289",y1:"40.4444",x2:"227.911",y2:"112",gradientUnits:"userSpaceOnUse"},(0,e.createElement)("stop",{stopColor:"#39BE00"}),(0,e.createElement)("stop",{offset:"1",stopColor:"#068E00"}))))}function $a(t){var n=t.className;return(0,e.createElement)("svg",{height:"2",viewBox:"0 0 100 2",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("line",{x1:"99.7773",y1:"0.622222",x2:"0.221787",y2:"0.622231",stroke:"#EBEBEB",strokeWidth:"1.24444"}))}function Ja(t){var n=t.score,r=(0,e.useState)(0),a=r[0],o=r[1],i=n/100*165;(0,e.useEffect)((function(){setTimeout((function(){o(i)}),50)}),[i]);var s=Mn(n);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"nota ntw-w-248px ntw-h-112px ntw-relative ntw-mt-5"},(0,e.createElement)(Ka,null),(0,e.createElement)("div",{className:"ntw-relative ntw-bottom-[23px] ntw-left-0 ntw-h-full ntw-w-full ntw-transform ntw-transition-transform ntw-duration-1000 ntw-ease-in-out",style:{transform:"rotate(".concat(a,"deg)"),transformOrigin:"center bottom"}},(0,e.createElement)(Qa,{color:xn[s]})),(0,e.createElement)("div",{className:"-translate-y-1/2 ntw-absolute ntw-left-1/2 ntw-top-1/2 ntw-w-full ntw--translate-x-1/2 ntw-text-center ntw-text-typography-medium"},(0,e.createElement)("div",{className:Cn("ntw-mx-auto ntw-max-w-[200px] ntw-text-center ntw-text-2xl ntw-font-semibold",{"ntw-mt-[-25px]":s===wn.NeedsImprovement})},s),(0,e.createElement)($a,{className:"ntw-mx-auto ntw-mt-1"}),(0,e.createElement)("div",{className:"ntw-text-lg ntw-font-light"},"Overall Content Score"))),(0,e.createElement)("div",{className:"ntw-my-4"},(0,e.createElement)("div",{className:"ntw-flex ntw-flex-col ntw-gap-[8px] ntw-text-base ntw-text-typography-medium"},Ln[s])))}var Ya=Object.defineProperty,Xa=Object.defineProperties,eo=Object.getOwnPropertyDescriptors,to=Object.getOwnPropertySymbols,no=Object.prototype.hasOwnProperty,ro=Object.prototype.propertyIsEnumerable,ao=(e,t,n)=>t in e?Ya(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const oo=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M90.86,50.89a12,12,0,0,0-21.72,0l-64,136a12,12,0,0,0,21.71,10.22L42.44,164h75.12l15.58,33.11a12,12,0,0,0,21.72-10.22ZM53.74,140,80,84.18,106.27,140ZM200,92c-13.85,0-24.77,3.86-32.45,11.48a12,12,0,1,0,16.9,17c3-3,8.26-4.52,15.55-4.52,9.34,0,17.19,5.16,19.37,12.1A47.32,47.32,0,0,0,200,124c-24.26,0-44,17.94-44,40s19.74,40,44,40a47.18,47.18,0,0,0,22-5.38A12,12,0,0,0,244,192V132C244,109.94,224.26,92,200,92Zm0,88c-11,0-20-7.18-20-16s9-16,20-16,20,7.18,20,16S211,180,200,180Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M232,164c0,15.46-14.33,28-32,28s-32-12.54-32-28,14.33-28,32-28S232,148.54,232,164ZM34.82,152h90.36L80,56Z",opacity:"0.2"}),a().createElement("path",{d:"M87.24,52.59a8,8,0,0,0-14.48,0l-64,136a8,8,0,1,0,14.48,6.81L39.9,160h80.2l16.66,35.4a8,8,0,1,0,14.48-6.81ZM47.43,144,80,74.79,112.57,144ZM200,96c-12.76,0-22.73,3.47-29.63,10.32a8,8,0,0,0,11.26,11.36c3.8-3.77,10-5.68,18.37-5.68,13.23,0,24,9,24,20v3.22A42.76,42.76,0,0,0,200,128c-22.06,0-40,16.15-40,36s17.94,36,40,36a42.73,42.73,0,0,0,24-7.25,8,8,0,0,0,16-.75V132C240,112.15,222.06,96,200,96Zm0,88c-13.23,0-24-9-24-20s10.77-20,24-20,24,9,24,20S213.23,184,200,184Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M200,156c0,6.5-7.33,12-16,12s-16-5.5-16-12,7.33-12,16-12S200,149.5,200,156ZM73.61,136h36.78L92,92.53ZM232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM143.37,172.88l-44-104a8,8,0,0,0-14.74,0l-44,104a8,8,0,0,0,14.74,6.24L66.84,152h50.32l11.47,27.12a8,8,0,0,0,14.74-6.24ZM216,132c0-15.44-14.36-28-32-28a34.86,34.86,0,0,0-20.78,6.68,8,8,0,0,0,9.56,12.83A18.84,18.84,0,0,1,184,120c8.56,0,15.8,5.36,16,11.76A35.24,35.24,0,0,0,184,128c-17.64,0-32,12.56-32,28s14.36,28,32,28a35.13,35.13,0,0,0,16.93-4.26A8,8,0,0,0,216,176Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M85.43,53.45a6,6,0,0,0-10.86,0l-64,136a6,6,0,1,0,10.86,5.11L38.63,158h82.74l17.2,36.55a6,6,0,1,0,10.86-5.11ZM44.28,146,80,70.09,115.72,146ZM200,98c-12.21,0-21.71,3.28-28.23,9.74a6,6,0,0,0,8.46,8.52c4.18-4.15,10.84-6.26,19.77-6.26,14.34,0,26,9.87,26,22v7.24A40.36,40.36,0,0,0,200,130c-20.95,0-38,15.25-38,34s17.05,34,38,34a40.36,40.36,0,0,0,26-9.24V192a6,6,0,0,0,12,0V132C238,113.25,221,98,200,98Zm0,88c-14.34,0-26-9.87-26-22s11.66-22,26-22,26,9.87,26,22S214.34,186,200,186Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M87.24,52.59a8,8,0,0,0-14.48,0l-64,136a8,8,0,1,0,14.48,6.81L39.9,160h80.2l16.66,35.4a8,8,0,1,0,14.48-6.81ZM47.43,144,80,74.79,112.57,144ZM200,96c-12.76,0-22.73,3.47-29.63,10.32a8,8,0,0,0,11.26,11.36c3.8-3.77,10-5.68,18.37-5.68,13.23,0,24,9,24,20v3.22A42.76,42.76,0,0,0,200,128c-22.06,0-40,16.15-40,36s17.94,36,40,36a42.73,42.73,0,0,0,24-7.25,8,8,0,0,0,16-.75V132C240,112.15,222.06,96,200,96Zm0,88c-13.23,0-24-9-24-20s10.77-20,24-20,24,9,24,20S213.23,184,200,184Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M83.62,54.3a4,4,0,0,0-7.24,0l-64,136a4,4,0,0,0,7.24,3.4L37.36,156h85.28l17.74,37.7a4,4,0,1,0,7.24-3.4ZM41.13,148,80,65.39,118.87,148ZM200,100c-11.67,0-20.69,3.08-26.82,9.16a4,4,0,1,0,5.64,5.68c4.57-4.54,11.7-6.84,21.18-6.84,15.44,0,28,10.77,28,24v11.92A37.78,37.78,0,0,0,200,132c-19.85,0-36,14.35-36,32s16.15,32,36,32a37.78,37.78,0,0,0,28-11.92V192a4,4,0,0,0,8,0V132C236,114.36,219.85,100,200,100Zm0,88c-15.44,0-28-10.77-28-24s12.56-24,28-24,28,10.77,28,24S215.44,188,200,188Z"}))]]),io=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>Xa(e,eo(t)))(((e,t)=>{for(var n in t||(t={}))no.call(t,n)&&ao(e,n,t[n]);if(to)for(var n of to(t))ro.call(t,n)&&ao(e,n,t[n]);return e})({ref:t},e),{weights:oo}))));io.displayName="TextAa";var so=Object.defineProperty,lo=Object.defineProperties,co=Object.getOwnPropertyDescriptors,uo=Object.getOwnPropertySymbols,fo=Object.prototype.hasOwnProperty,po=Object.prototype.propertyIsEnumerable,ho=(e,t,n)=>t in e?so(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const mo=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M229.26,90.4a108,108,0,0,1-177.63,114A108,108,0,0,1,195.41,43.63l20.1-20.11a12,12,0,0,1,17,17l-96,96a12,12,0,1,1-17-17l24-24a36,36,0,1,0,19.76,39.65,12,12,0,0,1,23.53,4.74,60,60,0,1,1-25.73-62L178.3,60.74a84,84,0,1,0,28.46,38,12,12,0,1,1,22.5-8.35Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176,128a48,48,0,1,1-48-48A48,48,0,0,1,176,128Z",opacity:"0.2"}),a().createElement("path",{d:"M221.87,83.16A104.1,104.1,0,1,1,195.67,49l22.67-22.68a8,8,0,0,1,11.32,11.32l-96,96a8,8,0,0,1-11.32-11.32l27.72-27.72a40,40,0,1,0,17.87,31.09,8,8,0,1,1,16-.9,56,56,0,1,1-22.38-41.65L184.3,60.39a87.88,87.88,0,1,0,23.13,29.67,8,8,0,0,1,14.44-6.9Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M221.87,83.16A104.1,104.1,0,1,1,195.67,49l22.67-22.68a8,8,0,0,1,11.32,11.32L167.6,99.71h0l-37.71,37.71-23.95,23.95a40,40,0,0,0,62-35.67,8,8,0,1,1,16-.9,56,56,0,0,1-95.5,42.79h0a56,56,0,0,1,73.13-84.43L184.3,60.39a87.88,87.88,0,1,0,23.13,29.67,8,8,0,0,1,14.44-6.9Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M220.06,84a102.06,102.06,0,1,1-24.31-32.27l24-24a6,6,0,0,1,8.48,8.49l-96,96a6,6,0,1,1-8.48-8.49l29.39-29.4a42,42,0,1,0,16.78,31.24,6,6,0,1,1,12-.68A54,54,0,1,1,161.7,85.83l25.54-25.55a89.91,89.91,0,1,0,22,28.93A6,6,0,1,1,220.06,84Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M221.87,83.16A104.1,104.1,0,1,1,195.67,49l22.67-22.68a8,8,0,0,1,11.32,11.32l-96,96a8,8,0,0,1-11.32-11.32l27.72-27.72a40,40,0,1,0,17.87,31.09,8,8,0,1,1,16-.9,56,56,0,1,1-22.38-41.65L184.3,60.39a87.88,87.88,0,1,0,23.13,29.67,8,8,0,0,1,14.44-6.9Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M218.26,84.89a100.16,100.16,0,1,1-22.44-30.37l25.35-25.35a4,4,0,1,1,5.66,5.66l-96,96a4,4,0,0,1-5.66-5.66l31-31a44,44,0,1,0,15.78,31.3,4,4,0,0,1,8-.46,52,52,0,1,1-18.1-36.51l28.34-28.33A92,92,0,0,0,63,193.05,92,92,0,0,0,211,88.33a4,4,0,1,1,7.22-3.44Z"}))]]),Co=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>lo(e,co(t)))(((e,t)=>{for(var n in t||(t={}))fo.call(t,n)&&ho(e,n,t[n]);if(uo)for(var n of uo(t))po.call(t,n)&&ho(e,n,t[n]);return e})({ref:t},e),{weights:mo}))));function yo(t){var n=t.data,r=t.numberWords;if(!n)return null;var a=dr(n),o=a[0],i=a[1];return(0,e.createElement)("div",{className:"ntw-mt-4 ntw-flex ntw-gap-5"},go(io,"".concat(r),"Words"),go(Co,"".concat(o,"/").concat(i),"Criteria"))}Co.displayName="Target";var go=function(t,n,r){return(0,e.createElement)("div",{className:"ntw-inline-flex ntw-w-full ntw-cursor-pointer ntw-flex-col ntw-gap-1  ntw-rounded-lg ntw-bg-gravity-100 ntw-p-3"},(0,e.createElement)(t,{className:"ntw-text-gravity-900",size:24}),(0,e.createElement)("div",{className:"ntw-text-lg ntw-font-semibold ntw-text-typography-medium"},n),(0,e.createElement)("div",{className:"ntw-text-xs ntw-font-normal ntw-text-typography-medium"},r))},vo=Object.defineProperty,wo=Object.defineProperties,bo=Object.getOwnPropertyDescriptors,Eo=Object.getOwnPropertySymbols,xo=Object.prototype.hasOwnProperty,Mo=Object.prototype.propertyIsEnumerable,Lo=(e,t,n)=>t in e?vo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const So=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",opacity:"0.2"}),a().createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]]),Ao=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>wo(e,bo(t)))(((e,t)=>{for(var n in t||(t={}))xo.call(t,n)&&Lo(e,n,t[n]);if(Eo)for(var n of Eo(t))Mo.call(t,n)&&Lo(e,n,t[n]);return e})({ref:t},e),{weights:So}))));Ao.displayName="Warning";var Oo=function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))},To=function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}};function Po(t){var n=this,r=t.refreshData,a=t.loading,o=t.onDisplay,i=t.isDisabled;return(0,e.useEffect)((function(){o()}),[o]),(0,e.createElement)("div",{className:"ntw-rounded-lg ntw-border ntw-border-grade-warning-900 ntw-bg-grade-warning-100 ntw-p-4 ntw-text-center"},(0,e.createElement)("div",{className:"ntw-mx-auto ntw-flex ntw-w-fit ntw-items-center ntw-rounded-full ntw-bg-grade-warning-200 ntw-p-2"},(0,e.createElement)(Ao,{className:"ntw-text-grade-warning-900",size:32})),(0,e.createElement)("div",{className:"ntw-mt-4 ntw-text-sm ntw-text-typography-dark"},"Your content has changed and the analysis is out of date, please re-analyze the page to update it."),(0,e.createElement)($n,{disabled:a||i,className:"ntw-mt-4 ntw-w-full",onClick:function(){return Oo(n,void 0,void 0,(function(){return To(this,(function(e){switch(e.label){case 0:return[4,r()];case 1:return e.sent(),[2]}}))}))}},a?"Loading...":"Refresh analysis"))}function ko(t){var n=t.className;return(0,e.createElement)("svg",{viewBox:"0 0 182 134",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("path",{d:"M144.716 15.2148H42.4297V94.8055H144.716V15.2148Z",fill:"white"}),(0,e.createElement)("path",{d:"M144.716 94.8052C144.716 94.2095 144.686 63.2577 144.643 15.2145L144.716 15.2844H42.4396L42.5261 15.1978C42.5261 43.8867 42.5261 71.0215 42.5261 94.7885L42.4496 94.7087L144.736 94.7885L42.4496 94.8651H42.373V94.7885C42.373 71.0215 42.373 43.8734 42.373 15.1978V15.1113H42.4696H144.746H144.816V15.1845C144.759 63.2577 144.716 94.2095 144.716 94.8052Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M70.5494 88.1202C70.4995 88.1202 70.4629 79.468 70.4629 68.7991C70.4629 58.1302 70.4995 49.4746 70.5494 49.4746C70.5993 49.4746 70.6359 58.1269 70.6359 68.7991C70.6359 79.4713 70.6027 88.1202 70.5494 88.1202Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M114.945 88.1202C114.895 88.1202 114.858 79.468 114.858 68.7991C114.858 58.1302 114.895 49.4746 114.945 49.4746C114.995 49.4746 115.031 58.1269 115.031 68.7991C115.031 79.4713 114.992 88.1202 114.945 88.1202Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M85.7076 88.1211C85.661 88.1211 85.6211 77.0629 85.6211 63.4223C85.6211 49.7817 85.661 38.7168 85.7076 38.7168C85.7542 38.7168 85.7941 49.775 85.7941 63.4223C85.7941 77.0695 85.7575 88.1211 85.7076 88.1211Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M54.9918 88.1211C54.9419 88.1211 54.9053 77.0629 54.9053 63.4223C54.9053 49.7817 54.9419 38.7168 54.9918 38.7168C55.0417 38.7168 55.0783 49.775 55.0783 63.4223C55.0783 77.0695 55.0384 88.1211 54.9918 88.1211Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M132.367 88.1192C132.32 88.1192 132.28 77.0609 132.28 63.4203C132.28 49.7797 132.32 38.7148 132.367 38.7148C132.413 38.7148 132.453 49.7731 132.453 63.4203C132.453 77.0676 132.417 88.1192 132.367 88.1192Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M98.9986 88.1211C98.9487 88.1211 98.9121 75.3524 98.9121 59.602C98.9121 43.8515 98.9487 31.0762 98.9986 31.0762C99.0485 31.0762 99.0852 43.8449 99.0852 59.602C99.0852 75.359 99.0452 88.1211 98.9986 88.1211Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M70.9188 49.4741C70.9188 49.5458 70.8975 49.6159 70.8577 49.6756C70.8178 49.7352 70.7612 49.7817 70.6949 49.8092C70.6286 49.8366 70.5557 49.8438 70.4853 49.8298C70.415 49.8158 70.3503 49.7813 70.2996 49.7305C70.2489 49.6798 70.2143 49.6152 70.2003 49.5448C70.1863 49.4745 70.1935 49.4015 70.221 49.3352C70.2484 49.269 70.2949 49.2123 70.3546 49.1725C70.4142 49.1326 70.4843 49.1113 70.5561 49.1113C70.6523 49.1113 70.7445 49.1495 70.8126 49.2176C70.8806 49.2856 70.9188 49.3779 70.9188 49.4741Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M85.7075 39.079C85.9078 39.079 86.0702 38.9166 86.0702 38.7162C86.0702 38.5159 85.9078 38.3535 85.7075 38.3535C85.5071 38.3535 85.3447 38.5159 85.3447 38.7162C85.3447 38.9166 85.5071 39.079 85.7075 39.079Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M85.7077 39.9877C85.4563 39.9877 85.2105 39.9132 85.0015 39.7735C84.7924 39.6338 84.6295 39.4353 84.5333 39.203C84.4371 38.9707 84.4119 38.7151 84.461 38.4685C84.51 38.2219 84.6311 37.9954 84.8089 37.8176C84.9866 37.6399 85.2131 37.5188 85.4597 37.4697C85.7063 37.4207 85.9619 37.4459 86.1942 37.5421C86.4265 37.6383 86.625 37.8012 86.7647 38.0103C86.9044 38.2193 86.979 38.4651 86.979 38.7165C86.9781 39.0534 86.8439 39.3762 86.6057 39.6144C86.3674 39.8527 86.0446 39.9869 85.7077 39.9877ZM85.7077 37.5285C85.4728 37.5285 85.2431 37.5982 85.0477 37.7287C84.8523 37.8593 84.7001 38.0448 84.6101 38.2619C84.5202 38.479 84.4967 38.7178 84.5425 38.9483C84.5884 39.1788 84.7015 39.3904 84.8677 39.5566C85.0338 39.7227 85.2455 39.8359 85.476 39.8817C85.7064 39.9276 85.9453 39.904 86.1624 39.8141C86.3795 39.7242 86.565 39.5719 86.6955 39.3766C86.8261 39.1812 86.8958 38.9515 86.8958 38.7165C86.8949 38.4017 86.7694 38.1 86.5468 37.8774C86.3242 37.6548 86.0225 37.5294 85.7077 37.5285Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M98.9985 31.4384C99.1988 31.4384 99.3612 31.276 99.3612 31.0756C99.3612 30.8753 99.1988 30.7129 98.9985 30.7129C98.7981 30.7129 98.6357 30.8753 98.6357 31.0756C98.6357 31.276 98.7981 31.4384 98.9985 31.4384Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M114.946 50.2001C115.146 50.2001 115.308 50.0377 115.308 49.8373C115.308 49.637 115.146 49.4746 114.946 49.4746C114.745 49.4746 114.583 49.637 114.583 49.8373C114.583 50.0377 114.745 50.2001 114.946 50.2001Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M132.376 39.079C132.577 39.079 132.739 38.9166 132.739 38.7162C132.739 38.5159 132.577 38.3535 132.376 38.3535C132.176 38.3535 132.014 38.5159 132.014 38.7162C132.014 38.9166 132.176 39.079 132.376 39.079Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M55.3514 39.0795C55.3514 39.1514 55.3301 39.2217 55.2901 39.2814C55.2501 39.3411 55.1932 39.3876 55.1267 39.415C55.0603 39.4423 54.9872 39.4493 54.9167 39.435C54.8463 39.4208 54.7816 39.3859 54.731 39.3348C54.6804 39.2838 54.6462 39.2188 54.6325 39.1482C54.6189 39.0777 54.6266 39.0046 54.6546 38.9384C54.6825 38.8722 54.7295 38.8158 54.7896 38.7763C54.8497 38.7369 54.9202 38.7162 54.992 38.7168C55.0395 38.7168 55.0865 38.7262 55.1303 38.7445C55.1742 38.7628 55.2139 38.7895 55.2474 38.8233C55.2808 38.857 55.3072 38.897 55.325 38.941C55.3429 38.985 55.3519 39.0321 55.3514 39.0795Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M135.8 56.2007C135.709 56.2425 135.613 56.2737 135.514 56.2939C135.234 56.369 134.959 56.4635 134.692 56.5767C133.68 57.0487 132.78 57.7292 132.05 58.5734C131.051 59.645 130.07 61.1358 128.829 62.813C128.168 63.7182 127.436 64.5684 126.639 65.3554C126.195 65.7816 125.72 66.1742 125.218 66.5302C124.679 66.8971 124.104 67.2103 123.504 67.4653C122.204 67.99 120.805 68.2251 119.404 68.1541C118.661 68.1383 117.922 68.0457 117.198 67.8779C116.429 67.7145 115.702 67.3951 115.061 66.9395C114.409 66.462 113.845 65.8728 113.398 65.199C112.938 64.5335 112.526 63.828 112.126 63.1125C111.328 61.6716 110.502 60.2207 109.561 58.7631C108.619 57.3055 107.78 55.7348 106.825 54.204C105.895 52.6266 104.769 51.173 103.474 49.8779C102.804 49.2377 102.047 48.6954 101.225 48.2673C100.394 47.8431 99.4906 47.5778 98.5623 47.4852C96.6374 47.2996 94.7022 47.7134 93.0215 48.6699C91.3564 49.6743 89.9192 51.0152 88.8019 52.6067C87.6905 54.1549 86.6822 55.7746 85.7836 57.4553C84.9007 59.0946 83.9252 60.6823 82.8618 62.2107C81.8427 63.6864 80.6556 65.0388 79.3243 66.2406C78.9972 66.5312 78.6551 66.8044 78.2994 67.0593C77.95 67.3155 77.5867 67.5521 77.2112 67.7681C76.4732 68.1967 75.6807 68.5236 74.8551 68.7398C74.4511 68.8474 74.0395 68.9241 73.6238 68.9694C73.4186 68.9954 73.2117 69.0065 73.0049 69.0027C72.7985 69.0027 72.5922 69.0027 72.3892 69.0027C71.5872 68.9581 70.7942 68.8104 70.0298 68.5634C68.607 68.0611 67.2625 67.3598 66.0365 66.4802C64.8518 65.6649 63.7703 64.8163 62.7087 64.0576C61.7264 63.3102 60.6679 62.6688 59.5506 62.1441C58.5552 61.6842 57.4943 61.3822 56.4059 61.249C55.4608 61.1364 54.5032 61.1984 53.5806 61.432C53.3724 61.4839 53.1678 61.5495 52.9683 61.6283C52.7717 61.6881 52.5802 61.7638 52.3959 61.8546C52.0498 62.0136 51.7161 62.1983 51.3975 62.407C50.863 62.7627 50.3608 63.1647 49.8967 63.6084L49.3743 64.1807C49.2234 64.3339 49.0833 64.4974 48.955 64.6699L48.4258 65.3654C48.3682 65.4483 48.3024 65.5252 48.2295 65.595C48.2695 65.5024 48.3209 65.4152 48.3826 65.3355L48.8718 64.6067C48.9945 64.4282 49.129 64.2581 49.2744 64.0975L49.7869 63.5019C50.2457 63.0335 50.7483 62.61 51.2877 62.2373C51.605 62.0167 51.9387 61.8209 52.2861 61.6516C52.4728 61.5539 52.6676 61.4726 52.8684 61.4087C53.0729 61.3222 53.283 61.2499 53.4974 61.1924C54.4485 60.9344 55.4392 60.8554 56.4192 60.9594C57.5413 61.0813 58.6374 61.3789 59.6671 61.8413C60.8119 62.3646 61.8983 63.0071 62.9084 63.7581C63.9799 64.5168 65.0681 65.3521 66.2362 66.1475C67.4338 66.9925 68.7445 67.6647 70.1297 68.1441C70.8591 68.3743 71.6152 68.5096 72.3792 68.5468C72.5723 68.5468 72.7653 68.5468 72.9616 68.5468C73.1564 68.5495 73.3511 68.5373 73.544 68.5102C73.9373 68.4658 74.3267 68.3912 74.7087 68.2872C76.3054 67.8353 77.7736 67.0146 78.9949 65.8912C80.2926 64.7094 81.4494 63.3817 82.4425 61.9345C83.4911 60.4198 84.4544 58.8478 85.3277 57.2257C86.2329 55.5239 87.2501 53.8841 88.3726 52.3172C89.5334 50.668 91.0248 49.2786 92.752 48.2373C93.6419 47.7368 94.6022 47.3733 95.6005 47.1591C96.5847 46.9523 97.5944 46.8951 98.5956 46.9894C99.5906 47.0886 100.558 47.3742 101.447 47.8313C102.314 48.2796 103.111 48.8513 103.814 49.5285C105.136 50.856 106.286 52.344 107.238 53.9578C108.196 55.5052 109.048 57.0659 109.957 58.5268C110.865 59.9877 111.73 61.4719 112.516 62.9062C113.301 64.3405 114.09 65.7448 115.308 66.6067C115.905 67.0366 116.585 67.338 117.304 67.4919C118 67.6554 118.71 67.749 119.424 67.7714C120.77 67.8489 122.116 67.6344 123.371 67.1425C123.953 66.9022 124.51 66.6057 125.035 66.2573C125.526 65.9175 125.991 65.5416 126.426 65.1325C127.221 64.3671 127.952 63.5379 128.612 62.6533C129.87 60.9894 130.892 59.5185 131.92 58.4536C132.679 57.6026 133.618 56.9318 134.669 56.4902C134.943 56.3834 135.227 56.3043 135.517 56.2539C135.61 56.2273 135.704 56.2095 135.8 56.2007Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M72.4635 24.1465H54.6299V25.1382H72.4635V24.1465Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M63.4419 26.4688H54.6299V27.4604H63.4419V26.4688Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M43.8075 8.72266H143.215C143.613 8.72266 143.995 8.88078 144.276 9.16224C144.558 9.4437 144.716 9.82544 144.716 10.2235V15.2152H42.3066V10.2235C42.3066 9.82544 42.4648 9.4437 42.7462 9.16224C43.0277 8.88078 43.4094 8.72266 43.8075 8.72266Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M47.6145 12.0934C47.6145 12.2316 47.5735 12.3667 47.4967 12.4816C47.4199 12.5965 47.3108 12.6861 47.1831 12.739C47.0554 12.7919 46.9149 12.8057 46.7793 12.7788C46.6437 12.7518 46.5192 12.6853 46.4215 12.5875C46.3237 12.4898 46.2572 12.3653 46.2302 12.2297C46.2033 12.0941 46.2171 11.9536 46.27 11.8259C46.3229 11.6982 46.4125 11.5891 46.5274 11.5123C46.6423 11.4355 46.7774 11.3945 46.9156 11.3945C47.101 11.3945 47.2787 11.4682 47.4098 11.5992C47.5408 11.7303 47.6145 11.908 47.6145 12.0934Z",fill:"white"}),(0,e.createElement)("path",{d:"M50.6662 12.0934C50.6662 12.2316 50.6252 12.3667 50.5485 12.4816C50.4717 12.5965 50.3625 12.6861 50.2348 12.739C50.1071 12.7919 49.9666 12.8057 49.8311 12.7788C49.6955 12.7518 49.571 12.6853 49.4732 12.5875C49.3755 12.4898 49.3089 12.3653 49.282 12.2297C49.255 12.0941 49.2689 11.9536 49.3218 11.8259C49.3746 11.6982 49.4642 11.5891 49.5791 11.5123C49.6941 11.4355 49.8292 11.3945 49.9674 11.3945C50.1527 11.3945 50.3305 11.4682 50.4615 11.5992C50.5926 11.7303 50.6662 11.908 50.6662 12.0934Z",fill:"white"}),(0,e.createElement)("path",{d:"M53.7141 12.0934C53.7141 12.2316 53.6731 12.3667 53.5963 12.4816C53.5195 12.5965 53.4104 12.6861 53.2827 12.739C53.155 12.7919 53.0145 12.8057 52.8789 12.7788C52.7433 12.7518 52.6188 12.6853 52.5211 12.5875C52.4234 12.4898 52.3568 12.3653 52.3298 12.2297C52.3029 12.0941 52.3167 11.9536 52.3696 11.8259C52.4225 11.6982 52.5121 11.5891 52.627 11.5123C52.7419 11.4355 52.877 11.3945 53.0152 11.3945C53.2006 11.3945 53.3783 11.4682 53.5094 11.5992C53.6404 11.7303 53.7141 11.908 53.7141 12.0934Z",fill:"white"}),(0,e.createElement)("path",{d:"M43.9105 62.0508H4.06023C3.46659 62.0508 2.98535 62.532 2.98535 63.1257V72.7529C2.98535 73.3466 3.46659 73.8278 4.06023 73.8278H43.9105C44.5041 73.8278 44.9853 73.3466 44.9853 72.7529V63.1257C44.9853 62.532 44.5041 62.0508 43.9105 62.0508Z",fill:"#E6E6E6"}),(0,e.createElement)("path",{d:"M11.837 69.9C11.5204 70.2949 11.0938 70.587 10.6112 70.7395C10.1286 70.892 9.61159 70.8979 9.12559 70.7565C8.6396 70.6152 8.20643 70.3329 7.88088 69.9453C7.55532 69.5578 7.352 69.0824 7.29662 68.5793C7.24124 68.0762 7.33628 67.568 7.56974 67.1189C7.80319 66.6698 8.16458 66.3001 8.60818 66.0564C9.05179 65.8127 9.5577 65.706 10.0619 65.7498C10.5662 65.7937 11.0461 65.986 11.441 66.3026C11.7036 66.5126 11.9221 66.7723 12.0842 67.0668C12.2463 67.3613 12.3486 67.685 12.3854 68.0191C12.4222 68.3533 12.3927 68.6914 12.2986 69.0142C12.2045 69.3369 12.0476 69.6379 11.837 69.9Z",fill:"white"}),(0,e.createElement)("path",{d:"M11.2815 67.4316C10.8607 67.9598 10.3965 68.4518 9.89377 68.9025C9.78063 69.0157 9.66748 69.1255 9.56099 69.2353L9.50109 69.2952L9.44119 69.2353C9.05986 68.8846 8.71327 68.4979 8.40625 68.0806C8.82357 68.3876 9.21028 68.7342 9.56099 69.1155H9.44452L9.7773 68.7827C10.2395 68.2905 10.7427 67.8386 11.2815 67.4316Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M40.886 67.0748C40.886 67.1214 35.5615 67.1613 28.9625 67.1613C22.3635 67.1613 17.0391 67.1214 17.0391 67.0748C17.0391 67.0282 22.3635 66.9883 28.9625 66.9883C35.5615 66.9883 40.886 67.0249 40.886 67.0748Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M31.105 69.4049C31.105 69.4515 28.0168 69.4914 24.2098 69.4914C20.4029 69.4914 17.3047 69.4515 17.3047 69.4049C17.3047 69.3583 20.3895 69.3184 24.1965 69.3184C28.0035 69.3184 31.105 69.355 31.105 69.4049Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M55.9176 33.6777H16.2537C15.7722 33.6777 15.3818 34.0681 15.3818 34.5496V50.0005C15.3818 50.4821 15.7722 50.8724 16.2537 50.8724H55.9176C56.3991 50.8724 56.7895 50.4821 56.7895 50.0005V34.5496C56.7895 34.0681 56.3991 33.6777 55.9176 33.6777Z",fill:"#E0E0E0"}),(0,e.createElement)("path",{d:"M23.9833 39.1118C23.9833 39.4935 23.8701 39.8667 23.658 40.1841C23.4459 40.5015 23.1445 40.7489 22.7918 40.895C22.4391 41.041 22.051 41.0793 21.6766 41.0048C21.3022 40.9303 20.9583 40.7465 20.6884 40.4766C20.4184 40.2066 20.2346 39.8627 20.1601 39.4883C20.0857 39.1139 20.1239 38.7258 20.27 38.3731C20.4161 38.0205 20.6634 37.719 20.9808 37.5069C21.2983 37.2948 21.6714 37.1816 22.0532 37.1816C22.3066 37.1816 22.5576 37.2316 22.7918 37.3286C23.026 37.4256 23.2387 37.5677 23.418 37.747C23.5972 37.9262 23.7394 38.139 23.8364 38.3731C23.9334 38.6073 23.9833 38.8583 23.9833 39.1118Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M39.365 37.7773H25.9141V38.5228H39.365V37.7773Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M52.0771 39.4746H25.9141V40.22H52.0771V39.4746Z",fill:"white"}),(0,e.createElement)("path",{d:"M23.9833 45.0454C23.9833 45.4271 23.8701 45.8003 23.658 46.1177C23.4459 46.4351 23.1445 46.6825 22.7918 46.8286C22.4391 46.9746 22.051 47.0129 21.6766 46.9384C21.3022 46.8639 20.9583 46.6801 20.6884 46.4102C20.4184 46.1402 20.2346 45.7963 20.1601 45.4219C20.0857 45.0475 20.1239 44.6594 20.27 44.3067C20.4161 43.9541 20.6634 43.6526 20.9808 43.4405C21.2983 43.2284 21.6714 43.1152 22.0532 43.1152C22.3068 43.1148 22.5579 43.1644 22.7923 43.2613C23.0267 43.3581 23.2396 43.5003 23.4189 43.6796C23.5983 43.8589 23.7404 44.0718 23.8372 44.3062C23.9341 44.5406 23.9837 44.7918 23.9833 45.0454Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M32.7826 43.7148H25.9141V44.4603H32.7826V43.7148Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M52.0771 45.4082H25.9141V46.1536H52.0771V45.4082Z",fill:"white"}),(0,e.createElement)("path",{d:"M74.7852 78.8984H23.9965C23.2687 78.8984 22.6787 79.4884 22.6787 80.2162V100.289C22.6787 101.017 23.2687 101.607 23.9965 101.607H74.7852C75.513 101.607 76.103 101.017 76.103 100.289V80.2162C76.103 79.4884 75.513 78.8984 74.7852 78.8984Z",fill:"#E0E0E0"}),(0,e.createElement)("path",{d:"M32.4525 89.8713L32.4225 85.2656C31.0182 85.2907 29.6691 85.8172 28.6189 86.7498C27.9468 87.3342 27.4285 88.0746 27.1093 88.9061C26.7902 89.7375 26.6801 90.6346 26.7886 91.5185C26.8119 91.7382 26.8485 91.9611 26.8951 92.1841C26.8966 92.1895 26.8966 92.1953 26.8951 92.2007L32.4458 90.9528L32.4525 89.8713Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M38.1734 88.4522C37.7676 87.5825 37.14 86.835 36.3538 86.2848C35.5675 85.7345 34.6503 85.4009 33.6942 85.3174L33.5179 85.3008H33.4047C33.2949 85.3008 33.1851 85.3008 33.0719 85.3008H33.042L33.0719 89.9064V90.988L38.6293 92.1793C38.7153 91.787 38.7566 91.3862 38.7525 90.9846C38.7481 90.1082 38.5504 89.2435 38.1734 88.4522Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.2"},(0,e.createElement)("path",{d:"M38.1734 88.4522C37.7676 87.5825 37.14 86.835 36.3538 86.2848C35.5675 85.7345 34.6503 85.4009 33.6942 85.3174L33.5179 85.3008H33.4047C33.2949 85.3008 33.1851 85.3008 33.0719 85.3008H33.042L33.0719 89.9064V90.988L38.6293 92.1793C38.7153 91.787 38.7566 91.3862 38.7525 90.9846C38.7481 90.1082 38.5504 89.2435 38.1734 88.4522Z",fill:"black"})),(0,e.createElement)("path",{d:"M32.7486 91.5156L27.2012 92.7669C27.487 94.0289 28.1944 95.1559 29.2067 95.9619C30.2191 96.7679 31.4759 97.2048 32.7699 97.2006C34.0639 97.1963 35.3179 96.7511 36.3249 95.9385C37.3319 95.1258 38.0319 93.9942 38.3093 92.7303L32.7586 91.519",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.1"},(0,e.createElement)("path",{d:"M32.7486 91.5156L27.2012 92.7669C27.487 94.0289 28.1944 95.1559 29.2067 95.9619C30.2191 96.7679 31.4759 97.2048 32.7699 97.2006C34.0639 97.1963 35.3179 96.7511 36.3249 95.9385C37.3319 95.1258 38.0319 93.9942 38.3093 92.7303L32.7586 91.519",fill:"black"})),(0,e.createElement)("path",{d:"M70.6758 86.6426H42.4795V87.9205H70.6758V86.6426Z",fill:"white"}),(0,e.createElement)("path",{d:"M70.6758 90.0098H42.4795V91.2876H70.6758V90.0098Z",fill:"white"}),(0,e.createElement)("path",{d:"M57.7208 93.7344H42.4795V95.0122H57.7208V93.7344Z",fill:"white"}),(0,e.createElement)("path",{d:"M137.857 62.7969H87.7508C86.2052 62.7969 84.9521 64.0499 84.9521 65.5955V113.632C84.9521 115.178 86.2052 116.431 87.7508 116.431H137.857C139.403 116.431 140.656 115.178 140.656 113.632V65.5955C140.656 64.0499 139.403 62.7969 137.857 62.7969Z",fill:"#E6E6E6"}),(0,e.createElement)("path",{d:"M90.6727 99.5371H88.8457V100.063H90.6727V99.5371Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M95.3219 102.355H92.9824V102.881H95.3219V102.355Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M103.462 102.357H101.122V102.883H103.462V102.357Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M111.597 102.355H109.258V102.881H111.597V102.355Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M119.737 102.355H117.397V102.881H119.737V102.355Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M127.878 102.355H125.538V102.881H127.878V102.355Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M136.017 102.357H133.678V102.883H136.017V102.357Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M90.6727 92.5039H88.8457V93.0297H90.6727V92.5039Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M90.6727 79.2578H88.8457V79.7836H90.6727V79.2578Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M90.6727 72.6055H88.8457V73.1313H90.6727V72.6055Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M90.7654 85.8809H88.9385V86.4066H90.7654V85.8809Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M135.95 100.067H135.754H135.178L132.965 100.083L124.829 100.11L97.9869 100.136H91.541V100.053C91.541 91.0682 91.5643 83.178 91.571 77.5174C91.571 74.6921 91.5909 72.4293 91.5976 70.8619C91.5976 70.0865 91.5976 69.4842 91.5976 69.0715C91.5976 68.8718 91.5976 68.7188 91.5976 68.6056C91.5947 68.5535 91.5947 68.5013 91.5976 68.4492C91.6005 68.5013 91.6005 68.5535 91.5976 68.6056C91.5976 68.7188 91.5976 68.8718 91.5976 69.0715C91.5976 69.4842 91.5976 70.0699 91.5976 70.8619C91.5976 72.4293 91.6142 74.6921 91.6242 77.5174C91.6242 83.1747 91.6409 91.0782 91.6542 100.053L91.5676 99.9667H97.927L124.769 99.99L132.905 100.017L135.118 100.033H135.694L135.95 100.067Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M136.463 86.1432C136.463 86.1931 126.812 86.2297 114.932 86.2297C103.052 86.2297 93.3945 86.1931 93.3945 86.1432C93.3945 86.0932 103.045 86.0566 114.932 86.0566C126.819 86.0566 136.463 86.0966 136.463 86.1432Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M136.463 79.5338C136.463 79.5804 126.812 79.6203 114.932 79.6203C103.052 79.6203 93.3945 79.5804 93.3945 79.5338C93.3945 79.4872 103.045 79.4473 114.932 79.4473C126.819 79.4473 136.463 79.4739 136.463 79.5338Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M136.463 72.8795C136.463 72.9261 126.812 72.966 114.932 72.966C103.052 72.966 93.3945 72.9261 93.3945 72.8795C93.3945 72.8329 103.045 72.793 114.932 72.793C126.819 72.793 136.463 72.8196 136.463 72.8795Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M136.463 92.7662C136.463 92.8128 126.812 92.8527 114.932 92.8527C103.052 92.8527 93.3945 92.8128 93.3945 92.7662C93.3945 92.7196 103.045 92.6797 114.932 92.6797C126.819 92.6797 136.463 92.7196 136.463 92.7662Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M93.8438 98.64V92.7664L97.5043 87.0825L99.9902 88.9894L105.088 81.0659L108.083 83.1857L112.27 75.8646L115.671 78.6333L120.769 68.9395L126.263 79.7747L130.709 74.3538L135.94 72.8563V98.6266L93.8438 98.64Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M136.463 70.782H136.373H136.1H135.039L131.026 70.8019H131.062L126.763 76.4226L126.739 76.4492H126.706L115.937 76.4658L116.011 76.4259L111.481 83.9733L107.036 91.361L106.972 91.4675L106.896 91.3677L101.065 83.3444H101.182L95.8575 91.6372C95.2219 92.6356 94.7194 93.3943 94.3733 93.9267C94.2069 94.1863 94.0738 94.3826 93.9806 94.5257C93.8874 94.6688 93.8408 94.7254 93.8408 94.7254C93.8408 94.7254 93.8808 94.6522 93.9639 94.5157C94.0471 94.3793 94.1769 94.1663 94.34 93.9034L95.7909 91.5906L101.062 83.2712L101.115 83.1846L101.179 83.2678C102.922 85.6539 104.896 88.356 107.032 91.2745H106.892L111.332 83.8835L115.867 76.3494L115.891 76.3094H115.937H126.706L126.653 76.3361L130.979 70.7387V70.7188H131.006L135.019 70.742H136.08H136.353L136.463 70.782Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M102.886 85.1924C102.888 85.2746 102.866 85.3556 102.823 85.4252C102.779 85.4948 102.715 85.5497 102.64 85.583C102.565 85.6163 102.482 85.6264 102.401 85.612C102.32 85.5976 102.245 85.5594 102.186 85.5023C102.127 85.4451 102.087 85.3717 102.07 85.2913C102.052 85.2109 102.06 85.1272 102.091 85.0511C102.121 84.9749 102.174 84.9096 102.242 84.8637C102.311 84.8177 102.391 84.7931 102.473 84.7931C102.526 84.7918 102.58 84.8011 102.629 84.8205C102.679 84.84 102.725 84.8691 102.763 84.9063C102.801 84.9434 102.832 84.9879 102.853 85.037C102.874 85.0862 102.885 85.139 102.886 85.1924Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M115.308 78.1259C115.311 78.2081 115.289 78.2891 115.245 78.3587C115.202 78.4283 115.138 78.4833 115.063 78.5165C114.988 78.5498 114.905 78.5599 114.824 78.5455C114.743 78.5311 114.668 78.4929 114.609 78.4358C114.55 78.3786 114.509 78.3052 114.492 78.2248C114.475 78.1444 114.483 78.0608 114.513 77.9846C114.544 77.9084 114.597 77.8431 114.665 77.7972C114.733 77.7512 114.814 77.7267 114.896 77.7266C114.949 77.7257 115.002 77.7354 115.052 77.755C115.101 77.7746 115.147 77.8037 115.185 77.8408C115.223 77.8779 115.254 77.9222 115.275 77.9711C115.296 78.02 115.308 78.0726 115.308 78.1259Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M124.965 76.3935C124.969 76.4766 124.947 76.5587 124.903 76.6293C124.86 76.7 124.796 76.7559 124.72 76.7898C124.644 76.8238 124.56 76.8342 124.478 76.8199C124.396 76.8055 124.32 76.7669 124.26 76.7091C124.201 76.6513 124.16 76.5769 124.143 76.4956C124.126 76.4143 124.133 76.3297 124.165 76.2527C124.196 76.1758 124.25 76.1101 124.319 76.064C124.388 76.0179 124.47 75.9936 124.553 75.9942C124.606 75.9933 124.659 76.0029 124.709 76.0225C124.758 76.0421 124.803 76.0713 124.842 76.1084C124.88 76.1455 124.911 76.1897 124.932 76.2387C124.953 76.2876 124.965 76.3402 124.965 76.3935Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M95.6546 111.967C97.1305 111.967 98.3268 110.815 98.3268 109.395C98.3268 107.974 97.1305 106.822 95.6546 106.822C94.1788 106.822 92.9824 107.974 92.9824 109.395C92.9824 110.815 94.1788 111.967 95.6546 111.967Z",fill:"white"}),(0,e.createElement)("path",{d:"M133.678 107.672H102.29V108.634H133.678V107.672Z",fill:"white"}),(0,e.createElement)("path",{d:"M115.322 110.076H102.29V111.038H115.322V110.076Z",fill:"white"}),(0,e.createElement)("path",{d:"M158.067 21.1387H124.37C123.462 21.1387 122.726 21.8747 122.726 22.7826V50.1703C122.726 51.0782 123.462 51.8142 124.37 51.8142H158.067C158.975 51.8142 159.711 51.0782 159.711 50.1703V22.7826C159.711 21.8747 158.975 21.1387 158.067 21.1387Z",fill:"#E6E6E6"}),(0,e.createElement)("path",{d:"M131.175 33.4219H129.182V48.4735H131.175V33.4219Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M140.236 32.1992H138.243V48.4721H140.236V32.1992Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M149.621 30.1328H147.628V48.4722H149.621V30.1328Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M145.215 41.1426H143.222V48.4704H145.215V41.1426Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.2"},(0,e.createElement)("path",{d:"M145.215 41.1426H143.222V48.4704H145.215V41.1426Z",fill:"black"})),(0,e.createElement)("path",{d:"M133.498 31.8086H131.505V48.4742H133.498V31.8086Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.1"},(0,e.createElement)("path",{d:"M133.498 31.8086H131.505V48.4742H133.498V31.8086Z",fill:"black"})),(0,e.createElement)("path",{d:"M142.723 28.3164H140.729V48.4728H142.723V28.3164Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.1"},(0,e.createElement)("path",{d:"M142.723 28.3164H140.729V48.4728H142.723V28.3164Z",fill:"black"})),(0,e.createElement)("path",{d:"M154.766 28.3164H152.772V48.4728H154.766V28.3164Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.2"},(0,e.createElement)("path",{d:"M154.766 28.3164H152.772V48.4728H154.766V28.3164Z",fill:"black"})),(0,e.createElement)("path",{d:"M152.163 24.3359H150.17V48.4724H152.163V24.3359Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.1"},(0,e.createElement)("path",{d:"M152.163 24.3359H150.17V48.4724H152.163V24.3359Z",fill:"black"})),(0,e.createElement)("path",{d:"M135.937 37.8984H133.943V48.4741H135.937V37.8984Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.2"},(0,e.createElement)("path",{d:"M135.937 37.8984H133.943V48.4741H135.937V37.8984Z",fill:"black"})),(0,e.createElement)("path",{d:"M157.618 49.3853C157.618 49.4353 150.503 49.4719 141.731 49.4719C132.959 49.4719 125.841 49.4353 125.841 49.3853C125.841 49.3354 132.952 49.2988 141.731 49.2988C150.51 49.2988 157.618 49.3388 157.618 49.3853Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M126.134 45.793H124.916V46.1956H126.134V45.793Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M126.134 40.4395H124.916V40.8421H126.134V40.4395Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M126.134 30.3555H124.916V30.7581H126.134V30.3555Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M126.134 25.291H124.916V25.6937H126.134V25.291Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M126.196 35.3984H124.979V35.8011H126.196V35.3984Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M116.999 18.6465H81.2116C80.618 18.6465 80.1367 19.1277 80.1367 19.7214V28.2072C80.1367 28.8009 80.618 29.2821 81.2116 29.2821H116.999C117.592 29.2821 118.073 28.8009 118.073 28.2072V19.7214C118.073 19.1277 117.592 18.6465 116.999 18.6465Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M88.1332 25.7369C87.8469 26.0937 87.4612 26.3576 87.025 26.4951C86.5887 26.6327 86.1214 26.6378 85.6823 26.5098C85.2431 26.3818 84.8517 26.1265 84.5577 25.776C84.2637 25.4256 84.0802 24.9959 84.0304 24.5412C83.9805 24.0864 84.0667 23.6272 84.2779 23.2214C84.4892 22.8157 84.816 22.4817 85.217 22.2617C85.6181 22.0416 86.0753 21.9455 86.531 21.9854C86.9867 22.0253 87.4204 22.1994 87.7771 22.4857C88.2517 22.8722 88.5551 23.4299 88.6217 24.0383C88.6883 24.6467 88.5129 25.2569 88.1332 25.7369Z",fill:"white"}),(0,e.createElement)("path",{d:"M86.3263 26.6219C85.7523 26.5915 85.2098 26.35 84.8032 25.9437C84.3965 25.5375 84.1544 24.9952 84.1234 24.4213C84.0925 23.8473 84.2748 23.2821 84.6354 22.8345C84.996 22.3868 85.5093 22.0883 86.0768 21.9963C86.1621 21.9914 86.2476 21.9914 86.333 21.9963C86.7682 22.0007 87.1936 22.1269 87.5608 22.3606C87.928 22.5944 88.2223 22.9264 88.4104 23.3189C88.5985 23.7114 88.6729 24.1488 88.6251 24.5815C88.5773 25.0141 88.4092 25.4247 88.14 25.7667C87.9501 26.0054 87.7146 26.204 87.4472 26.3508C87.1798 26.4976 86.8859 26.5898 86.5826 26.6219C86.4972 26.6268 86.4117 26.6268 86.3263 26.6219ZM86.3263 21.9996C86.241 21.9948 86.1554 21.9948 86.0701 21.9996C85.6939 22.0414 85.3338 22.1753 85.0216 22.3895C84.7095 22.6036 84.4549 22.8914 84.2805 23.2273C84.1061 23.5633 84.0172 23.9371 84.0216 24.3156C84.0261 24.6941 84.1238 25.0657 84.3061 25.3974C84.4884 25.7292 84.7497 26.0109 85.0668 26.2176C85.3839 26.4243 85.7471 26.5496 86.1242 26.5825C86.5013 26.6154 86.8807 26.5548 87.2288 26.4061C87.5769 26.2575 87.883 26.0253 88.12 25.7301C88.3915 25.3917 88.5618 24.9835 88.6114 24.5526C88.661 24.1216 88.5879 23.6854 88.4005 23.2941C88.213 22.9029 87.9189 22.5726 87.5519 22.3412C87.185 22.1098 86.7601 21.9868 86.3263 21.9863V21.9996Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M87.6279 23.5039C87.2566 23.9865 86.8398 24.4322 86.3833 24.835L86.0805 25.1279L86.0173 25.1878L85.9607 25.1279C85.6156 24.8117 85.3044 24.4604 85.0322 24.0796C85.413 24.3518 85.7643 24.663 86.0805 25.0081H85.9607L86.2635 24.7086C86.6806 24.2662 87.1373 23.863 87.6279 23.5039Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M114.37 23.1861C114.37 23.2327 109.548 23.2727 103.601 23.2727C97.6544 23.2727 92.8291 23.2327 92.8291 23.1861C92.8291 23.1395 97.6511 23.0996 103.601 23.0996C109.551 23.0996 114.37 23.1362 114.37 23.1861Z",fill:"white"}),(0,e.createElement)("path",{d:"M105.535 25.2916C105.535 25.3382 102.749 25.3781 99.3083 25.3781C95.8674 25.3781 93.082 25.3382 93.082 25.2916C93.082 25.245 95.8707 25.2051 99.3083 25.2051C102.746 25.2051 105.535 25.2384 105.535 25.2916Z",fill:"white"}),(0,e.createElement)("path",{d:"M139.746 67.4489C139.746 67.4489 140.031 64.4062 140.32 64.4318C140.609 64.4575 140.657 64.9961 140.621 65.259C140.586 65.5219 140.621 66.5415 140.621 66.5415L139.746 67.4489Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M165.854 64.9572L164.396 75.2173L171.129 104.632L152.532 106.12L160.548 58.7498C160.548 58.7498 165.838 58.1502 165.854 64.9572Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M142.99 116.734L141.916 128.873H146.504L148.527 116.734H142.99Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M141.916 128.875C141.916 128.875 138.819 129.276 138.268 129.673L146.383 129.577L146.505 128.875H141.916Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M138.268 129.676V130L146.623 129.91V129.561L138.268 129.676Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M141.236 129.862C141.191 129.881 141.06 129.631 140.79 129.435C140.521 129.24 140.249 129.179 140.255 129.134C140.261 129.089 140.576 129.076 140.896 129.307C141.217 129.538 141.265 129.852 141.236 129.862Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M146.61 128.633C146.61 128.678 146.052 128.79 145.418 129.092C144.783 129.393 144.334 129.733 144.302 129.71C144.582 129.372 144.942 129.108 145.35 128.944C145.737 128.734 146.171 128.627 146.61 128.633Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M146.421 128.435C144.915 128.469 143.408 128.393 141.913 128.208C142.661 128.166 143.411 128.178 144.157 128.243C144.916 128.252 145.672 128.316 146.421 128.435Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M146.96 126.838C146.144 127.071 145.314 127.25 144.475 127.373C143.645 127.552 142.806 127.678 141.961 127.752C142.777 127.522 143.607 127.343 144.446 127.216C145.275 127.038 146.115 126.912 146.96 126.838Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M146.88 126.897C146.67 126.9 146.463 126.855 146.274 126.765C146.061 126.681 145.859 126.574 145.671 126.445C145.558 126.371 145.451 126.288 145.35 126.198C145.288 126.144 145.24 126.076 145.209 125.999C145.193 125.954 145.186 125.906 145.191 125.858C145.195 125.81 145.21 125.764 145.235 125.723C145.263 125.682 145.303 125.649 145.349 125.629C145.394 125.609 145.445 125.601 145.495 125.608C145.572 125.619 145.648 125.64 145.719 125.672C145.845 125.724 145.965 125.791 146.075 125.871C146.263 126.003 146.425 126.171 146.55 126.364C146.679 126.533 146.754 126.736 146.764 126.948C146.739 126.948 146.678 126.724 146.444 126.429C146.315 126.258 146.158 126.11 145.979 125.993C145.879 125.923 145.771 125.864 145.658 125.819C145.54 125.765 145.405 125.742 145.37 125.819C145.351 125.868 145.35 125.922 145.366 125.972C145.383 126.021 145.415 126.064 145.459 126.092C145.552 126.179 145.649 126.26 145.751 126.336C145.929 126.458 146.117 126.565 146.312 126.656C146.655 126.817 146.883 126.871 146.88 126.897Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M146.837 127.016C146.737 126.833 146.697 126.623 146.722 126.416C146.732 126.196 146.78 125.979 146.863 125.775C146.913 125.651 146.978 125.534 147.055 125.425C147.097 125.366 147.142 125.309 147.19 125.255C147.219 125.219 147.256 125.19 147.297 125.17C147.339 125.149 147.384 125.138 147.431 125.137C147.48 125.14 147.527 125.156 147.568 125.183C147.608 125.211 147.641 125.249 147.661 125.294C147.697 125.368 147.712 125.449 147.706 125.531C147.7 125.666 147.679 125.799 147.642 125.929C147.576 126.147 147.467 126.35 147.322 126.525C147.204 126.697 147.036 126.828 146.841 126.9C146.841 126.878 147.023 126.753 147.229 126.458C147.347 126.285 147.434 126.093 147.485 125.89C147.517 125.772 147.534 125.65 147.536 125.528C147.536 125.406 147.488 125.297 147.415 125.297C147.341 125.297 147.245 125.419 147.171 125.515C147.099 125.616 147.036 125.723 146.985 125.836C146.899 126.028 146.844 126.232 146.821 126.442C146.799 126.775 146.863 127.016 146.837 127.016Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M147.453 128.901C147.242 128.628 147.09 128.313 147.007 127.978C146.874 127.65 146.814 127.298 146.831 126.945C146.968 127.262 147.075 127.59 147.151 127.926C147.279 128.242 147.38 128.568 147.453 128.901Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M148.002 128.471C147.373 128.092 146.906 127.495 146.69 126.794C146.735 126.771 146.957 127.195 147.332 127.653C147.707 128.112 148.031 128.432 148.002 128.471Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M160.115 117.728L169.516 125.18L171.751 121.909L163.347 112.762L160.115 117.728Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M168.852 125.365C168.852 125.365 167.406 128.132 167.419 128.814L171.985 122.107L171.481 121.604L168.852 125.365Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M167.419 128.814L167.685 129L172.395 122.1L172.11 121.898L167.419 128.814Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M169.262 126.499C169.262 126.543 168.974 126.499 168.66 126.62C168.345 126.742 168.14 126.915 168.105 126.887C168.07 126.858 168.246 126.588 168.608 126.467C168.971 126.345 169.282 126.46 169.262 126.499Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M171.34 121.379C171.385 121.398 171.151 121.927 171.036 122.62C170.92 123.312 170.952 123.883 170.904 123.902C170.719 123.041 170.875 122.14 171.34 121.392V121.379Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M171.085 121.203C170.732 121.788 170.335 122.344 169.895 122.867C169.495 123.424 169.054 123.949 168.574 124.438C168.927 123.852 169.326 123.294 169.767 122.771C170.164 122.214 170.604 121.69 171.085 121.203Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M170.074 120.062C169.835 120.773 169.547 121.466 169.212 122.137C168.925 122.828 168.589 123.498 168.205 124.141C168.445 123.431 168.733 122.739 169.068 122.07C169.353 121.377 169.69 120.706 170.074 120.062Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M170.071 120.164C170.087 120.164 169.936 120.366 169.615 120.587C169.429 120.717 169.228 120.825 169.016 120.908C168.891 120.958 168.762 120.999 168.631 121.029C168.551 121.047 168.468 121.047 168.387 121.029C168.341 121.017 168.298 120.995 168.261 120.964C168.224 120.933 168.195 120.894 168.176 120.85C168.159 120.803 168.155 120.752 168.164 120.703C168.174 120.654 168.197 120.608 168.23 120.571C168.283 120.513 168.343 120.464 168.41 120.423C168.722 120.226 169.086 120.126 169.455 120.138C169.667 120.127 169.876 120.183 170.055 120.298C170.055 120.324 169.824 120.241 169.455 120.253C169.113 120.262 168.78 120.367 168.493 120.555C168.381 120.622 168.285 120.722 168.32 120.789C168.349 120.832 168.393 120.865 168.443 120.88C168.493 120.895 168.547 120.892 168.596 120.872C168.72 120.845 168.842 120.811 168.961 120.77C169.166 120.697 169.365 120.607 169.554 120.5C169.878 120.302 170.055 120.144 170.071 120.164Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M170.138 120.26C169.93 120.236 169.735 120.149 169.58 120.01C169.399 119.876 169.245 119.709 169.125 119.519C169.052 119.407 168.993 119.286 168.948 119.16C168.922 119.094 168.902 119.025 168.887 118.955C168.874 118.911 168.871 118.864 168.877 118.818C168.884 118.772 168.901 118.728 168.926 118.689C168.957 118.651 168.998 118.622 169.044 118.604C169.09 118.587 169.14 118.582 169.189 118.59C169.268 118.604 169.343 118.638 169.407 118.689C169.514 118.771 169.61 118.866 169.695 118.971C169.841 119.145 169.95 119.347 170.016 119.564C170.089 119.759 170.101 119.972 170.048 120.173C170.011 119.981 169.963 119.79 169.907 119.603C169.832 119.406 169.724 119.224 169.586 119.064C169.506 118.973 169.417 118.89 169.32 118.817C169.227 118.74 169.102 118.724 169.057 118.785C169.012 118.846 169.057 118.994 169.099 119.106C169.139 119.218 169.191 119.325 169.253 119.426C169.361 119.607 169.498 119.769 169.657 119.907C169.926 120.161 170.147 120.234 170.138 120.26Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M172.045 120.838C171.693 120.86 171.339 120.805 171.01 120.678C170.661 120.6 170.333 120.448 170.048 120.232C170.714 120.419 171.376 120.621 172.033 120.838H172.045Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M172.017 120.144C171.694 120.316 171.332 120.403 170.966 120.397C170.601 120.445 170.231 120.396 169.892 120.256C169.892 120.211 170.376 120.256 170.956 120.237C171.536 120.218 171.992 120.096 172.017 120.144Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M151.054 81.1081C151.054 81.1081 147.463 104.96 147.986 106.117C148.508 107.275 160.134 119.176 160.134 119.176L164.498 111.703C164.498 111.703 156.803 103.177 156.915 102.725C157.027 102.273 162.462 79.1875 162.462 79.1875L151.054 81.1081Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M151.881 110.624L154.946 103.891L158.473 96.3301C156.327 99.4329 154.501 102.745 153.022 106.215C152.448 107.627 152.064 109.11 151.881 110.624Z",fill:"#008182"}),(0,e.createElement)("path",{opacity:"0.4",d:"M151.881 110.624L154.946 103.891L158.473 96.3301C156.327 99.4329 154.501 102.745 153.022 106.215C152.448 107.627 152.064 109.11 151.881 110.624Z",fill:"black"}),(0,e.createElement)("path",{d:"M149.777 89.9107C149.813 89.6574 152.708 83.1454 152.708 83.1454L151.3 81.1639L151.053 81.1094L149.777 89.9107Z",fill:"#008182"}),(0,e.createElement)("path",{opacity:"0.4",d:"M149.777 89.9107C149.813 89.6574 152.708 83.1454 152.708 83.1454L151.3 81.1639L151.053 81.1094L149.777 89.9107Z",fill:"black"}),(0,e.createElement)("path",{d:"M164.502 78.8633L164.717 79.7482C165.359 82.3582 164.967 85.1156 163.623 87.4433L153.889 104.318C153.198 105.517 152.695 106.814 152.398 108.166L149.974 119.067C149.974 119.067 142.321 119.327 141.99 119.067C141.66 118.807 142.978 111.59 143.856 106.123C144.52 102 150.035 89.2036 152.709 83.1597L151.055 81.1205L153.94 80.6428L164.502 78.8633Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M149.973 119.055C149.869 119.085 149.761 119.102 149.653 119.106C149.447 119.129 149.156 119.154 148.79 119.177C148.062 119.225 147.052 119.26 145.94 119.257C144.827 119.254 143.817 119.222 143.089 119.183C142.724 119.167 142.429 119.148 142.227 119.132C142.118 119.134 142.01 119.12 141.906 119.09C142.012 119.071 142.12 119.065 142.227 119.071H143.089L145.937 119.096C147.049 119.096 148.053 119.08 148.781 119.064L149.646 119.042C149.755 119.03 149.866 119.034 149.973 119.055Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M150.394 117.005C150.394 117.05 148.554 117.079 146.287 117.069C144.02 117.06 142.177 117.018 142.177 116.976C142.177 116.935 144.017 116.903 146.287 116.909C148.557 116.915 150.394 116.96 150.394 117.005Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M163.161 110.156C163.119 110.263 163.064 110.365 162.997 110.458L162.5 111.246L160.852 113.84L159.211 116.437L158.707 117.223C158.651 117.323 158.582 117.416 158.502 117.499C158.539 117.386 158.59 117.278 158.653 117.178C158.758 116.986 158.916 116.707 159.111 116.367C159.509 115.687 160.073 114.764 160.714 113.741C161.356 112.718 161.962 111.817 162.407 111.176C162.632 110.855 162.814 110.592 162.946 110.413C163.007 110.319 163.079 110.233 163.161 110.156Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M159.676 118.531C159.503 118.217 159.378 117.879 159.304 117.528C159.179 117.192 159.105 116.84 159.086 116.482C159.258 116.796 159.384 117.133 159.458 117.483C159.582 117.819 159.656 118.173 159.676 118.531Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M160.356 118.509C160.183 117.961 160.062 117.399 159.994 116.829C159.874 116.268 159.807 115.697 159.795 115.123C160.086 116.232 160.274 117.365 160.356 118.509Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M161.244 117.243C161.073 116.765 160.939 116.275 160.843 115.777C160.694 115.293 160.587 114.796 160.522 114.293C160.74 114.753 160.9 115.239 160.997 115.739C161.145 116.227 161.228 116.733 161.244 117.243Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M162 115.488C161.826 115.032 161.705 114.558 161.638 114.074C161.516 113.6 161.447 113.114 161.433 112.625C161.603 113.083 161.724 113.558 161.795 114.042C161.915 114.515 161.984 115 162 115.488Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M162.978 114.036C162.834 113.578 162.719 113.111 162.635 112.638C162.496 112.177 162.389 111.706 162.314 111.23C162.538 111.662 162.695 112.124 162.779 112.603C162.919 113.067 162.986 113.551 162.978 114.036Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M163.851 112.804C163.677 112.444 163.554 112.061 163.485 111.666C163.363 111.284 163.292 110.887 163.273 110.486C163.567 111.23 163.761 112.01 163.851 112.804Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M145.988 116.924C145.373 117.304 144.739 117.652 144.087 117.966C143.463 118.329 142.821 118.659 142.163 118.957C142.321 118.812 142.496 118.688 142.686 118.588C143.006 118.379 143.49 118.107 144.023 117.825C144.555 117.543 145.046 117.309 145.405 117.148C145.589 117.049 145.785 116.973 145.988 116.924Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M148.348 116.959C148.162 117.112 147.96 117.245 147.745 117.353C147.36 117.575 146.825 117.866 146.219 118.168C145.613 118.469 145.052 118.716 144.641 118.886C144.426 118.993 144.199 119.073 143.965 119.126C144.165 118.988 144.38 118.873 144.606 118.783L146.155 118.023L147.7 117.254C147.905 117.133 148.122 117.034 148.348 116.959Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M150.144 116.959C149.687 117.421 149.184 117.836 148.643 118.197C148.133 118.599 147.584 118.95 147.005 119.245C147.493 118.818 148.008 118.424 148.547 118.065C149.056 117.664 149.59 117.295 150.144 116.959Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M150.339 118.088C150.368 118.123 150.07 118.409 149.673 118.703C149.448 118.91 149.189 119.075 148.906 119.191C149.092 118.948 149.319 118.74 149.576 118.575C149.8 118.37 150.059 118.205 150.339 118.088Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M143.895 116.887C143.597 117.157 143.265 117.386 142.907 117.57C142.575 117.798 142.214 117.982 141.833 118.115C142.463 117.616 143.156 117.203 143.895 116.887Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M152.497 83.0879C152.386 83.4527 152.25 83.8094 152.09 84.1556C151.827 84.7968 151.449 85.7106 151.071 86.7206C150.692 87.7306 150.343 88.6444 150.109 89.2857C149.991 89.6473 149.85 90.0007 149.686 90.3437C149.696 90.242 149.719 90.142 149.753 90.0455C149.807 89.8564 149.891 89.5838 150 89.2472C150.218 88.5771 150.542 87.644 150.93 86.6533C151.318 85.6625 151.706 84.752 151.997 84.1107C152.145 83.7901 152.267 83.5336 152.356 83.3572C152.392 83.2619 152.439 83.1714 152.497 83.0879Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M151.699 111.388C151.692 111.325 151.692 111.262 151.699 111.199C151.715 111.058 151.74 110.878 151.766 110.66C151.792 110.442 151.837 110.141 151.91 109.81C151.984 109.48 152.042 109.105 152.157 108.698C152.212 108.496 152.269 108.281 152.327 108.057C152.385 107.832 152.468 107.608 152.542 107.37C152.683 106.896 152.879 106.409 153.071 105.876C153.522 104.752 154.034 103.653 154.604 102.583C155.658 100.655 156.822 98.7879 158.089 96.9916C158.567 96.2991 158.964 95.7444 159.243 95.3628L159.564 94.9268C159.6 94.8741 159.641 94.8248 159.686 94.7793C159.661 94.8384 159.63 94.8944 159.593 94.946C159.512 95.0615 159.416 95.2122 159.294 95.3981L158.182 97.0558C157.268 98.4569 155.986 100.403 154.757 102.648C154.191 103.711 153.678 104.803 153.222 105.918C153.026 106.437 152.824 106.928 152.68 107.399C152.603 107.637 152.523 107.861 152.459 108.079C152.394 108.297 152.337 108.512 152.282 108.72C152.16 109.124 152.087 109.499 152.01 109.823C151.933 110.147 151.878 110.432 151.84 110.663C151.801 110.894 151.769 111.058 151.744 111.196C151.735 111.261 151.72 111.325 151.699 111.388Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M161.244 58.7754L153.712 59.4166C153.712 59.4166 151.468 59.468 149.005 65.188L147.235 70.8631L150.419 71.5428V71.8635L151.06 81.1072L164.642 78.9205C164.671 77.747 164.001 76.0349 163.51 74.4317C164.02 73.1652 166.165 67.6376 166.162 64.9764C166.162 59.2852 161.24 58.7946 161.24 58.7946",fill:"white"}),(0,e.createElement)("path",{d:"M164.498 111.695C164.466 111.808 164.419 111.915 164.36 112.016C164.26 112.212 164.113 112.49 163.924 112.834C163.545 113.52 163 114.456 162.385 115.479L160.794 118.085L160.313 118.881C160.261 118.981 160.197 119.075 160.121 119.16C160.153 119.047 160.199 118.939 160.259 118.839C160.358 118.643 160.506 118.364 160.695 118.021C161.073 117.335 161.618 116.399 162.234 115.376L163.812 112.76L164.292 111.968C164.35 111.869 164.419 111.778 164.498 111.695Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M162.719 72.3672C162.387 72.5281 162.026 72.6228 161.658 72.6461C161.297 72.7182 160.925 72.7182 160.564 72.6461C160.916 72.555 161.276 72.4981 161.639 72.4762C161.994 72.4056 162.356 72.3691 162.719 72.3672Z",fill:"white"}),(0,e.createElement)("path",{d:"M151.087 71.9141L150.933 81.9466L155.005 59.0985C153.652 58.8581 151.128 59.9225 150.179 61.2724C149.499 62.0804 149.128 63.94 147.236 69.5382L146.075 73.3377L141.368 68.1852L138.197 71.0516C138.197 71.0516 143.667 79.9875 145.953 80.4813C149.063 81.1546 151.083 71.9141 151.083 71.9141",fill:"#455A64"}),(0,e.createElement)("path",{d:"M151.737 62.6328C151.739 62.7644 151.725 62.8958 151.696 63.024C151.654 63.3061 151.599 63.6652 151.532 64.0788C151.394 64.9702 151.211 66.2014 151.042 67.5673C150.872 68.9332 150.753 70.174 150.67 71.0718C150.631 71.495 150.599 71.8509 150.57 72.133C150.568 72.2652 150.55 72.3966 150.516 72.5242C150.503 72.3931 150.503 72.261 150.516 72.1298C150.516 71.8766 150.538 71.5142 150.564 71.0621C150.615 70.1612 150.721 68.9171 150.884 67.5352C151.048 66.1533 151.256 64.9349 151.423 64.0468C151.51 63.6043 151.583 63.2452 151.638 62.9983C151.66 62.8737 151.693 62.7513 151.737 62.6328Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M150.682 62.1942C150.666 62.1493 151.298 61.8736 152.016 61.4376C152.734 61.0015 153.257 60.5526 153.298 60.5879C152.598 61.3573 151.694 61.9131 150.692 62.191L150.682 62.1942Z",fill:"white"}),(0,e.createElement)("path",{d:"M149.38 68.8073C149.218 68.436 149.086 68.0521 148.986 67.6594C148.835 67.2839 148.715 66.8968 148.627 66.502C149.056 67.2005 149.314 67.9903 149.38 68.8073Z",fill:"white"}),(0,e.createElement)("path",{d:"M152.683 65.1973C152.727 65.6441 152.695 66.0952 152.587 66.5311C152.531 66.9784 152.398 67.4125 152.192 67.8136C152.245 67.3742 152.324 66.9384 152.43 66.5086C152.486 66.0666 152.571 65.6286 152.683 65.1973Z",fill:"white"}),(0,e.createElement)("path",{d:"M148.101 73.9453C148.103 74.3396 148.071 74.7333 148.005 75.122C147.988 75.5177 147.939 75.9113 147.857 76.2987C147.758 75.5059 147.841 74.7009 148.101 73.9453Z",fill:"white"}),(0,e.createElement)("path",{d:"M142.083 73.8642C141.733 73.4841 141.445 73.0513 141.23 72.5817C140.967 72.1359 140.775 71.6526 140.659 71.1484C140.921 71.5881 141.159 72.042 141.371 72.5079C141.632 72.947 141.87 73.3998 142.083 73.8642Z",fill:"white"}),(0,e.createElement)("path",{d:"M145.527 74.1113C145.274 74.3519 144.975 74.5385 144.648 74.6596C144.342 74.8292 144.003 74.9329 143.654 74.9642C143.947 74.7832 144.257 74.6328 144.581 74.5153C144.882 74.3491 145.199 74.2137 145.527 74.1113Z",fill:"white"}),(0,e.createElement)("path",{d:"M161.834 77.2789L164.191 105.292L171.289 104.622L164.55 75.2076L165.374 67.3105L161.834 77.2789Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M164.19 105.293C164.148 105.293 163.625 99.0825 163.026 91.4131C162.426 83.7436 161.981 77.5266 162.022 77.5234C162.064 77.5202 162.59 83.7308 163.186 91.4003C163.782 99.0697 164.235 105.29 164.19 105.293Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M163.507 77.9272C163.555 77.6052 163.656 77.2933 163.805 77.0038C163.908 76.6954 164.06 76.4054 164.254 76.1445C164.107 76.7767 163.855 77.3794 163.507 77.9272Z",fill:"white"}),(0,e.createElement)("path",{d:"M165.466 82.0959C165.428 82.1247 165.075 81.7143 164.578 81.2751C164.26 81.0277 163.955 80.7644 163.664 80.4863C164.049 80.6341 164.398 80.8626 164.687 81.1564C165.01 81.4114 165.275 81.7315 165.466 82.0959Z",fill:"white"}),(0,e.createElement)("path",{d:"M165.033 87.7158C165.162 87.3862 165.311 87.065 165.479 86.7539C165.598 86.4174 165.739 86.0887 165.899 85.7695C165.89 86.1358 165.796 86.4949 165.623 86.818C165.5 87.1595 165.298 87.4671 165.033 87.7158Z",fill:"white"}),(0,e.createElement)("path",{d:"M166.566 92.2262C165.88 91.7766 165.257 91.2375 164.713 90.623C165.064 90.8276 165.387 91.0765 165.675 91.3637C166.008 91.6112 166.308 91.9012 166.566 92.2262Z",fill:"white"}),(0,e.createElement)("path",{d:"M167.848 95.3233C167.748 94.4237 167.754 93.5153 167.867 92.6172C167.941 93.0642 167.965 93.518 167.938 93.9702C167.961 94.4232 167.931 94.8773 167.848 95.3233Z",fill:"white"}),(0,e.createElement)("path",{d:"M165.573 97.4281C165.482 97.0763 165.425 96.7166 165.403 96.354C165.33 95.9982 165.291 95.6365 165.284 95.2734C165.45 95.6036 165.549 95.9631 165.576 96.3315C165.648 96.6936 165.647 97.0664 165.573 97.4281Z",fill:"white"}),(0,e.createElement)("path",{d:"M167.922 100.108C167.242 100.114 166.564 100.013 165.915 99.8097C166.255 99.7792 166.599 99.8031 166.931 99.8803C167.271 99.9047 167.606 99.9815 167.922 100.108Z",fill:"white"}),(0,e.createElement)("path",{d:"M167.528 103.674C167.866 102.977 168.298 102.33 168.811 101.75C168.669 102.112 168.476 102.452 168.24 102.76C168.044 103.095 167.805 103.402 167.528 103.674Z",fill:"white"}),(0,e.createElement)("path",{d:"M151.375 80.6776L139.451 64.4345C140.157 63.8902 140.819 63.2898 141.429 62.639C143.972 59.9173 145.514 56.4123 145.802 52.6989C146.091 48.9856 145.109 45.2843 143.018 42.2024C140.926 39.1205 137.849 36.8408 134.292 35.7374C130.735 34.634 126.908 34.7723 123.44 36.1297C119.971 37.4871 117.067 39.9829 115.204 43.2078C113.34 46.4327 112.628 50.1951 113.184 53.878C113.74 57.5608 115.531 60.9453 118.264 63.4763C120.996 66.0074 124.508 67.5346 128.222 67.8075C128.808 67.8504 129.396 67.8611 129.982 67.8396C132.37 67.7662 134.712 67.1708 136.844 66.0954L148.89 82.5052C149.133 82.833 149.497 83.0508 149.901 83.1109C150.305 83.171 150.716 83.0685 151.045 82.8258C151.372 82.5838 151.591 82.2222 151.652 81.8197C151.714 81.4173 151.615 81.0067 151.375 80.6776ZM129.893 64.7615C129.416 64.7772 128.939 64.7686 128.463 64.7359C125.053 64.4901 121.868 62.9454 119.564 60.4201C117.26 57.8949 116.013 54.5818 116.08 51.1642C116.147 47.7465 117.523 44.4849 119.924 42.0519C122.326 39.619 125.569 38.2003 128.985 38.0884C129.468 38.0723 129.95 38.0819 130.431 38.1172C133.836 38.3716 137.013 39.9209 139.309 42.4464C141.606 44.9719 142.848 48.2815 142.779 51.6945C142.71 55.1074 141.335 58.3642 138.939 60.7948C136.542 63.2253 133.304 64.6449 129.893 64.7615Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M146.64 71.8445L145.226 76.6764C145.226 76.6764 152.626 79.3664 156.634 79.3151C160.388 79.2703 161.462 78.8438 162.783 75.8139C164.104 72.7839 165.605 69.3019 165.925 67.2851C165.925 67.2851 168.045 58.0542 159.959 58.8782L159.734 66.0956C159.734 66.0956 158.84 69.055 158.772 69.2281C158.169 70.8313 157.387 73.1623 156.63 73.4444C155.874 73.7266 146.64 71.8445 146.64 71.8445Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M158.253 75.7146C157.657 75.0146 157.19 74.2145 156.874 73.3516C157.148 73.7168 157.389 74.1051 157.595 74.5122C157.847 74.8942 158.067 75.2964 158.253 75.7146Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M159.01 74.9536C158.623 74.7543 158.263 74.5089 157.936 74.2226C157.58 73.9777 157.257 73.689 156.974 73.3633C157.359 73.564 157.72 73.8093 158.048 74.0943C158.403 74.3391 158.726 74.6278 159.01 74.9536Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M161.523 61.7891C161.288 62.5603 161.003 63.3153 160.67 64.0495C160.387 64.8039 160.054 65.5387 159.673 66.249C159.905 65.4774 160.189 64.7222 160.523 63.9886C160.806 63.2337 161.14 62.4989 161.523 61.7891Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M165.604 68.6602C165.583 68.7867 165.547 68.9104 165.498 69.0289C165.408 69.2918 165.296 69.622 165.178 70.01C164.883 70.8372 164.469 71.9787 163.982 73.2163C163.494 74.4539 163.02 75.5793 162.629 76.3713C162.439 76.7689 162.279 77.0863 162.16 77.3011C162.108 77.4152 162.042 77.5228 161.965 77.6217C161.999 77.4985 162.046 77.3791 162.106 77.2658C162.218 77.0125 162.356 76.6919 162.523 76.304C162.875 75.4992 163.34 74.3802 163.831 73.1361C164.321 71.8921 164.741 70.7891 165.069 69.9298C165.229 69.5226 165.363 69.1924 165.456 68.968C165.496 68.861 165.545 68.758 165.604 68.6602Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M153.712 73.2327C153.712 73.2776 152.109 73.0211 150.115 72.662C148.12 72.3029 146.536 71.9759 146.546 71.9342C146.556 71.8925 148.149 72.1458 150.143 72.5049C152.138 72.864 153.722 73.191 153.712 73.2327Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M162.103 68.8274C162.006 67.9604 162.018 67.0847 162.138 66.2207C162.211 66.6516 162.232 67.0898 162.199 67.5257C162.221 67.9619 162.188 68.3991 162.103 68.8274Z",fill:"white"}),(0,e.createElement)("path",{d:"M159.221 77.7012C159.339 77.3654 159.482 77.0386 159.647 76.7233C159.765 76.3867 159.906 76.0588 160.07 75.7422C160.058 76.1069 159.964 76.4641 159.795 76.7874C159.673 77.1306 159.477 77.4426 159.221 77.7012Z",fill:"white"}),(0,e.createElement)("path",{d:"M155.305 77.4518C154.865 76.712 154.449 75.9581 154.058 75.1914C154.365 75.5019 154.617 75.8617 154.805 76.2559C155.038 76.6234 155.207 77.0278 155.305 77.4518Z",fill:"white"}),(0,e.createElement)("path",{d:"M149.894 74.9551C149.569 75.1701 149.216 75.3395 148.845 75.4585C148.494 75.625 148.122 75.7436 147.739 75.8112C148.064 75.5961 148.417 75.4267 148.788 75.3078C149.139 75.1408 149.511 75.0221 149.894 74.9551Z",fill:"white"}),(0,e.createElement)("path",{d:"M165.076 63.6256C165.04 63.6544 164.684 63.3049 164.171 62.9394C163.658 62.5739 163.19 62.3847 163.21 62.3398C163.593 62.4071 163.954 62.5678 164.261 62.808C164.597 63.0081 164.877 63.2892 165.076 63.6256Z",fill:"white"}),(0,e.createElement)("path",{d:"M162.767 71.5977C161.946 71.893 161.07 72.0026 160.202 71.9183C160.625 71.8268 161.053 71.7678 161.485 71.7419C161.908 71.6627 162.337 71.6145 162.767 71.5977Z",fill:"white"}),(0,e.createElement)("path",{d:"M162.008 46.8797C162.224 46.4861 162.568 46.1781 162.983 46.0067C163.398 45.8353 163.86 45.8107 164.291 45.9371C164.717 46.0773 165.104 46.3179 165.418 46.6387C165.732 46.9596 165.965 47.3512 166.096 47.7807C166.349 48.6454 166.366 49.5622 166.144 50.4355C166.003 51.0767 165.823 51.8174 166.24 52.3112C166.657 52.8049 167.369 52.76 167.827 53.1576C167.94 53.257 168.032 53.3786 168.096 53.5148C168.16 53.651 168.196 53.7989 168.2 53.9495C168.205 54.1 168.179 54.2498 168.123 54.3898C168.068 54.5297 167.984 54.6568 167.877 54.763C167.771 54.8693 167.643 54.9525 167.503 55.0075C167.363 55.0625 167.213 55.0882 167.062 55.0828C166.912 55.0775 166.764 55.0414 166.628 54.9766C166.492 54.9118 166.371 54.8198 166.272 54.7063C166.272 55.1519 166.516 55.5591 166.654 55.9888C166.792 56.4184 166.811 56.9507 166.471 57.236C166.336 57.3334 166.177 57.3931 166.012 57.4089C165.846 57.4247 165.679 57.396 165.528 57.3258C165.227 57.1829 164.954 56.9863 164.723 56.7455C164.881 57.2059 164.881 57.7054 164.723 58.1659C164.639 58.393 164.497 58.5943 164.311 58.7505C164.126 58.9067 163.904 59.0123 163.665 59.0572C163.364 59.0795 163.062 59.0112 162.799 58.8609C162.536 58.7107 162.324 58.4854 162.19 58.2139C161.933 57.6653 161.836 57.055 161.912 56.4537C161.979 55.5175 162.232 54.6005 162.335 53.6706C162.5 52.7386 162.379 51.7786 161.988 50.9164",fill:"#008182"}),(0,e.createElement)("path",{d:"M167.442 52.3467C167.442 52.3467 167.404 52.3692 167.32 52.3467C167.26 52.3369 167.204 52.3133 167.155 52.2776C167.106 52.242 167.066 52.1954 167.038 52.1415C166.993 52.0523 166.981 51.9497 167.005 51.8526C167.029 51.7554 167.088 51.6702 167.17 51.6125C167.275 51.5321 167.406 51.4921 167.538 51.4997C167.67 51.5074 167.796 51.5622 167.891 51.6542C168.003 51.7632 168.083 51.9014 168.121 52.0532C168.159 52.205 168.154 52.3644 168.106 52.5135C168.064 52.6831 167.974 52.8369 167.846 52.9559C167.705 53.0823 167.525 53.1559 167.336 53.1643C167.143 53.1766 166.949 53.1344 166.778 53.0425C166.602 52.9433 166.455 52.7996 166.352 52.6257C166.149 52.2632 166.077 51.8423 166.147 51.4329C166.265 50.6089 166.663 49.9196 166.653 49.227C166.662 48.6157 166.495 48.0147 166.172 47.4956C165.955 47.1437 165.672 46.8368 165.339 46.5914C165.101 46.4183 164.951 46.3542 164.96 46.3381C164.97 46.3221 164.999 46.3381 165.073 46.3798C165.177 46.4249 165.278 46.4785 165.374 46.5401C165.731 46.773 166.036 47.0776 166.269 47.4347C166.619 47.9679 166.804 48.5924 166.801 49.2302C166.801 49.9645 166.413 50.6763 166.304 51.4554C166.24 51.8279 166.304 52.2112 166.487 52.5423C166.569 52.6914 166.691 52.8147 166.839 52.8985C166.988 52.9823 167.156 53.0233 167.327 53.0169C167.477 53.0079 167.621 52.9506 167.736 52.8536C167.852 52.7566 167.933 52.6249 167.968 52.4782C168.012 52.3517 168.02 52.2155 167.991 52.0848C167.962 51.954 167.897 51.8338 167.804 51.7375C167.728 51.6601 167.627 51.6122 167.519 51.6022C167.411 51.5922 167.303 51.6209 167.214 51.683C167.146 51.7282 167.095 51.7958 167.071 51.8742C167.047 51.9526 167.052 52.037 167.083 52.1127C167.106 52.1609 167.138 52.2039 167.178 52.2387C167.219 52.2735 167.266 52.2994 167.317 52.3147C167.397 52.3467 167.439 52.3371 167.442 52.3467Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M160.022 59.0571L160.452 49.2715L156.566 46.3281L153.039 48.0563C153.039 48.0563 152.92 52.4906 153.039 54.4144C153.158 56.3382 155.097 56.5434 155.097 56.5434C155.097 56.5434 155.053 57.6688 155.008 58.8551C154.995 59.1949 155.052 59.5336 155.174 59.8509C155.296 60.1682 155.481 60.4575 155.718 60.7011C155.955 60.9448 156.239 61.1379 156.553 61.2686C156.867 61.3994 157.204 61.4651 157.544 61.4618C158.186 61.4534 158.801 61.1996 159.261 60.7524C159.722 60.3053 159.995 59.6987 160.022 59.0571Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M153.421 51.2879C153.421 51.3367 153.435 51.3845 153.463 51.4251C153.49 51.4657 153.528 51.4973 153.573 51.516C153.618 51.5347 153.668 51.5396 153.716 51.53C153.764 51.5205 153.808 51.497 153.842 51.4625C153.877 51.4279 153.9 51.384 153.91 51.3361C153.919 51.2882 153.915 51.2385 153.896 51.1934C153.877 51.1483 153.846 51.1097 153.805 51.0826C153.764 51.0555 153.717 51.041 153.668 51.041C153.603 51.0418 153.54 51.0681 153.494 51.1142C153.448 51.1604 153.422 51.2227 153.421 51.2879Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M153.18 51.0259C153.212 51.058 153.392 50.9041 153.658 50.8912C153.924 50.8784 154.123 51.0035 154.149 50.9682C154.174 50.9329 154.129 50.8944 154.043 50.8335C153.926 50.7562 153.788 50.7191 153.648 50.7278C153.509 50.7365 153.376 50.7905 153.27 50.8816C153.19 50.9425 153.164 51.0067 153.18 51.0259Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M156.271 51.2879C156.271 51.3367 156.285 51.3845 156.312 51.4251C156.339 51.4657 156.378 51.4973 156.423 51.516C156.468 51.5347 156.518 51.5396 156.566 51.53C156.613 51.5205 156.657 51.497 156.692 51.4625C156.726 51.4279 156.75 51.384 156.76 51.3361C156.769 51.2882 156.764 51.2385 156.745 51.1934C156.727 51.1483 156.695 51.1097 156.655 51.0826C156.614 51.0555 156.566 51.041 156.517 51.041C156.452 51.041 156.389 51.067 156.343 51.1133C156.297 51.1596 156.271 51.2224 156.271 51.2879Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M156.117 51.0259C156.149 51.058 156.332 50.9041 156.595 50.8912C156.858 50.8784 157.06 51.0035 157.088 50.9682C157.117 50.9329 157.069 50.8944 156.979 50.8335C156.863 50.7562 156.724 50.7191 156.585 50.7278C156.445 50.7365 156.313 50.7905 156.207 50.8816C156.126 50.9425 156.101 51.0067 156.117 51.0259Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M156.037 53.5117C155.633 53.718 155.201 53.8658 154.755 53.951C154.853 54.0844 154.992 54.1815 155.151 54.2268C155.31 54.272 155.48 54.263 155.633 54.2011C155.707 54.1848 155.776 54.1537 155.836 54.1095C155.897 54.0654 155.948 54.0092 155.986 53.9445C156.024 53.8798 156.048 53.808 156.057 53.7335C156.066 53.659 156.059 53.5835 156.037 53.5117Z",fill:"white"}),(0,e.createElement)("path",{d:"M155.088 56.5441C156.002 56.505 156.887 56.2058 157.637 55.6816C157.637 55.6816 157.06 57.0956 155.13 57.0155L155.088 56.5441Z",fill:"#EB996E"}),(0,e.createElement)("path",{d:"M166.047 54.8034C165.803 54.8126 165.562 54.7573 165.348 54.6431C165.031 54.4741 164.767 54.2197 164.588 53.9089C164.367 53.5184 164.177 53.111 164.02 52.6905C163.661 51.7959 163.379 50.9655 163.206 50.3595L163.126 50.0934C163.126 49.9908 163.094 49.8978 163.077 49.8305C162.026 45.8194 158.502 45.0723 157.803 45.0723C157.104 45.0723 155.748 44.6619 153.84 46.6434C153.554 46.9414 153.311 47.2782 153.119 47.6438C152.695 48.17 152.404 48.7901 152.269 49.4521C152.181 49.7652 152.166 50.0941 152.224 50.414C152.259 50.414 152.266 50.0517 152.413 49.4938C152.503 49.166 152.627 48.8488 152.785 48.5479C152.619 49.2888 152.687 50.0633 152.981 50.7635L153.664 50.5743L156.113 49.7407C155.889 48.984 156.219 48.0414 156.402 47.6021L156.421 47.5861C156.558 48.3855 156.946 49.1207 157.528 49.6855C158.11 50.2503 158.856 50.6155 159.66 50.7282L160.112 57.0286C163.369 56.3328 163.292 51.9755 163.273 51.0905C163.421 51.5875 163.613 52.1614 163.853 52.761C164.012 53.1928 164.212 53.6083 164.45 54.0018C164.65 54.333 164.944 54.5983 165.293 54.7649C165.53 54.8755 165.794 54.9145 166.053 54.8772C166.148 54.8685 166.239 54.8341 166.316 54.7778C166.226 54.7806 166.136 54.7892 166.047 54.8034Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M155.162 53.2707C155.02 53.2378 154.875 53.2195 154.729 53.2162C154.662 53.2162 154.594 53.2162 154.581 53.1553C154.572 53.0818 154.584 53.007 154.617 52.9405L154.8 52.3922C154.925 52.001 155.034 51.6451 155.12 51.3854C155.172 51.2483 155.204 51.1049 155.216 50.959C155.138 51.0809 155.074 51.211 155.024 51.3469C154.934 51.6002 154.816 51.9529 154.703 52.3441L154.53 52.8956C154.491 52.982 154.482 53.0792 154.505 53.1713C154.515 53.1949 154.53 53.2159 154.549 53.2325C154.569 53.2492 154.592 53.2612 154.617 53.2675C154.655 53.272 154.694 53.272 154.732 53.2675C154.875 53.2869 155.019 53.288 155.162 53.2707Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M160.657 53.1762C160.625 52.852 160.66 52.5245 160.76 52.2143C160.81 52.0621 160.901 51.9263 161.022 51.8214C161.144 51.7164 161.291 51.6461 161.449 51.618C161.636 51.6095 161.819 51.6703 161.963 51.7887C162.108 51.907 162.203 52.0746 162.231 52.2592C162.253 52.4428 162.219 52.6286 162.134 52.793C162.05 52.9574 161.919 53.093 161.757 53.1826C161.592 53.2683 161.411 53.3157 161.225 53.3213C161.04 53.3268 160.855 53.2904 160.686 53.2147",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M161.215 52.8985C161.215 52.876 161.321 52.9241 161.455 52.8825C161.54 52.8535 161.614 52.7986 161.666 52.7255C161.717 52.6524 161.745 52.5648 161.744 52.4753C161.752 52.4302 161.75 52.384 161.738 52.3397C161.726 52.2955 161.706 52.2542 161.677 52.2188C161.617 52.1711 161.541 52.1481 161.465 52.1546C161.321 52.1546 161.221 52.2059 161.212 52.1835C161.202 52.161 161.276 52.0937 161.449 52.0424C161.504 52.0289 161.561 52.0276 161.617 52.0387C161.672 52.0498 161.724 52.073 161.77 52.1065C161.82 52.1548 161.858 52.2142 161.881 52.28C161.903 52.3457 161.911 52.4159 161.901 52.4849C161.894 52.6172 161.843 52.7434 161.757 52.844C161.684 52.9272 161.584 52.9808 161.475 52.9947C161.289 53.0139 161.202 52.9113 161.215 52.8985Z",fill:"#EB996E"}),(0,e.createElement)("path",{d:"M161.791 53.1608C161.791 53.1608 161.936 53.2602 161.936 53.5167C161.929 53.6664 161.865 53.8077 161.756 53.9111C161.687 53.9738 161.605 54.0206 161.516 54.0483C161.426 54.076 161.332 54.0839 161.24 54.0714C161.147 54.0538 161.059 54.016 160.983 53.9606C160.906 53.9051 160.843 53.8335 160.797 53.7508C160.761 53.684 160.739 53.6108 160.732 53.5354C160.725 53.4599 160.733 53.3838 160.756 53.3115C160.836 53.0646 160.999 52.9909 161.006 53.0165C161.012 53.0422 160.903 53.1288 160.865 53.3372C160.845 53.436 160.858 53.5384 160.899 53.63C160.941 53.7216 161.01 53.798 161.097 53.8484C161.184 53.8989 161.285 53.9209 161.385 53.9115C161.486 53.902 161.58 53.8615 161.657 53.7957C161.749 53.7202 161.808 53.6124 161.823 53.4943C161.827 53.3822 161.816 53.2701 161.791 53.1608Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M160.663 51.8362C160.592 51.9025 160.508 51.9538 160.417 51.9869C160.171 52.094 159.906 52.1486 159.637 52.1472C159.237 52.1453 158.843 52.0462 158.49 51.8587C158.063 51.6264 157.697 51.2968 157.422 50.8968C156.949 50.1576 156.657 49.3172 156.569 48.4439C156.524 48.1233 156.502 47.8476 156.489 47.6648C156.472 47.5683 156.472 47.4696 156.489 47.373C156.571 47.7211 156.635 48.0732 156.681 48.4279C156.8 49.2729 157.097 50.0828 157.553 50.8038C157.812 51.1838 158.153 51.5005 158.551 51.7304C158.882 51.911 159.251 52.0141 159.628 52.0318C159.983 52.0354 160.335 51.9689 160.663 51.8362Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M162.822 49.0787C162.773 49.0787 162.629 48.524 162.254 47.9212C161.879 47.3185 161.436 46.9369 161.468 46.8984C161.857 47.1195 162.176 47.4449 162.389 47.8379C162.648 48.2022 162.798 48.6325 162.822 49.0787Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M145.369 76.1828H144.237C143.208 76.0834 142.634 76.0674 142.346 75.7949C141.961 75.4262 142.49 75.067 142.49 75.067C142.49 75.067 141.746 74.8105 141.817 74.3585C141.861 74.0378 142.214 74.0154 142.214 74.0154C142.214 74.0154 141.573 73.7589 141.429 73.4831C141.252 73.1112 141.714 72.9124 141.714 72.9124C140.819 72.3609 140.903 71.8127 141.108 71.7582C141.313 71.7036 142.012 72.0275 142.012 72.0275C142.602 72.1942 144.212 72.6848 143.615 71.7966C143.019 70.9085 142.897 70.0043 143.032 69.735C143.061 69.6642 143.115 69.6063 143.183 69.5717C143.251 69.5371 143.33 69.5281 143.404 69.5463C143.479 69.5645 143.544 69.6087 143.589 69.671C143.633 69.7332 143.654 69.8094 143.647 69.8857C143.74 70.2352 143.881 70.5699 144.067 70.8796C144.209 71.1291 144.39 71.3543 144.603 71.5465C144.856 71.771 145.081 71.9505 145.273 72.1012L146.28 73.0631L145.369 76.1828Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M138.325 64.8868C138.409 64.6431 138.611 64.47 138.829 64.5854C138.872 64.6364 138.902 64.6978 138.914 64.7636C138.926 64.8294 138.921 64.8973 138.899 64.9606L138.2 67.2338L138.861 65.6307C138.944 65.387 139.166 65.2395 139.316 65.371C139.354 65.4238 139.378 65.4847 139.388 65.5488C139.397 65.6129 139.391 65.6783 139.371 65.7397L138.768 67.6282L139.259 66.4483C139.361 66.179 139.48 66.1052 139.618 66.1661C139.755 66.2271 139.759 66.4226 139.727 66.5316L139.313 67.9232C139.403 68.1925 139.711 69.0358 139.412 69.5103C139.412 69.5327 139.444 69.6129 139.441 69.6385L139.582 69.7989L138.672 70.6357C138.672 70.6357 137.816 68.4715 137.652 67.8206C137.552 67.446 137.569 67.0495 137.703 66.6856L138.325 64.8868Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M60.0661 127.674L59.9929 124.619L54.2725 124.722L54.3357 129.188L54.6884 129.205C56.2691 129.265 62.725 129.398 63.7733 129.058C64.9447 128.682 60.0661 127.674 60.0661 127.674Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M56.382 129.118C56.2895 128.637 56.0214 128.207 55.6299 127.913C55.2507 127.621 54.776 127.481 54.2988 127.52L54.3288 129.118H56.382Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M62.4524 128.25C62.4524 128.25 64.1629 128.713 63.9566 128.995C63.7502 129.278 57.2178 129.391 54.3359 129.188V129.062L61.9532 128.995C61.9532 128.995 62.1196 128.27 62.4524 128.25Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M54.2422 129.059H55.6631C56.5417 129.059 57.753 129.059 59.0941 129.039C60.4352 129.019 61.6465 128.979 62.5251 128.946L63.5633 128.909H63.8462C63.8794 128.905 63.9128 128.905 63.946 128.909H63.8495L63.5666 128.932L62.5284 128.992C61.6498 129.039 60.4352 129.085 59.0941 129.105C57.753 129.125 56.5417 129.105 55.6631 129.105L54.6216 129.079H54.3387L54.2422 129.059Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M61.9598 129.085C61.935 128.897 61.98 128.706 62.0862 128.549C62.1727 128.381 62.3169 128.25 62.4922 128.18C62.3675 128.303 62.256 128.439 62.1595 128.586C62.0733 128.744 62.0063 128.911 61.9598 129.085Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M60.256 128.255C60.2393 128.255 60.2926 128.132 60.3758 127.999C60.459 127.866 60.5355 127.766 60.5521 127.776C60.5688 127.786 60.5155 127.903 60.4323 128.032C60.3491 128.162 60.2726 128.265 60.256 128.255Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M59.79 128.019C59.79 128.019 59.8433 127.923 59.9431 127.83C60.0429 127.737 60.1295 127.68 60.1395 127.693C60.1494 127.707 60.0862 127.793 59.9897 127.883C59.8932 127.973 59.8034 128.033 59.79 128.019Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M59.4873 127.483C59.5838 127.451 59.6857 127.44 59.7868 127.45C59.8876 127.438 59.9897 127.449 60.0863 127.48C59.9908 127.516 59.8881 127.528 59.7868 127.516C59.6858 127.53 59.5829 127.519 59.4873 127.483Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M59.3809 127.12C59.4922 127.116 59.6037 127.123 59.7136 127.14C59.8248 127.137 59.9361 127.143 60.0464 127.157C59.9437 127.209 59.8274 127.228 59.7136 127.21C59.5961 127.215 59.48 127.184 59.3809 127.12Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M60.4424 127.752C60.4424 127.752 60.5821 127.752 60.8018 127.696C60.9298 127.672 61.0556 127.637 61.1778 127.593C61.2495 127.568 61.3186 127.537 61.3841 127.499C61.4474 127.459 61.4707 127.39 61.4108 127.35C61.2732 127.284 61.1152 127.276 60.9715 127.326C60.8504 127.365 60.743 127.438 60.662 127.536C60.5904 127.631 60.5353 127.738 60.4989 127.852C60.4909 127.819 60.4909 127.785 60.4989 127.752C60.5212 127.663 60.5607 127.58 60.6154 127.506C60.7066 127.378 60.8402 127.286 60.9925 127.247C61.1447 127.208 61.3059 127.225 61.4474 127.293C61.4691 127.31 61.4859 127.333 61.4959 127.358C61.5058 127.384 61.5086 127.412 61.5039 127.439C61.4905 127.489 61.4582 127.53 61.4141 127.556C61.3449 127.597 61.2712 127.629 61.1945 127.652C61.0663 127.694 60.935 127.725 60.8018 127.746C60.6834 127.77 60.5616 127.772 60.4424 127.752Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M60.5389 127.786C60.5455 127.704 60.5455 127.622 60.5389 127.54C60.5199 127.454 60.4824 127.373 60.429 127.304C60.3725 127.23 60.276 127.141 60.1861 127.151C60.0963 127.161 60.1295 127.307 60.1861 127.383C60.2302 127.462 60.2826 127.536 60.3425 127.603C60.4457 127.716 60.5255 127.773 60.5189 127.783C60.4379 127.75 60.3651 127.7 60.3059 127.636C60.2376 127.571 60.1782 127.498 60.1295 127.417C60.0963 127.368 60.0737 127.312 60.063 127.254C60.0561 127.216 60.064 127.178 60.0851 127.146C60.1063 127.114 60.1389 127.092 60.1761 127.084C60.2387 127.085 60.3 127.102 60.3541 127.134C60.4082 127.165 60.4535 127.21 60.4856 127.264C60.5417 127.344 60.5771 127.436 60.5888 127.533C60.6034 127.621 60.5856 127.711 60.5389 127.786Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.3428 127.494C54.3428 127.494 54.3794 127.478 54.4526 127.464C54.5578 127.455 54.6636 127.455 54.7687 127.464C55.119 127.486 55.4549 127.611 55.7338 127.824C56.0127 128.038 56.2203 128.331 56.3295 128.666C56.3622 128.765 56.3845 128.868 56.396 128.972C56.4012 129.01 56.4012 129.05 56.396 129.088C56.396 129.088 56.3694 128.925 56.2795 128.682C56.1638 128.363 55.9596 128.084 55.6908 127.877C55.4221 127.67 55.0999 127.545 54.7621 127.514C54.6228 127.5 54.4828 127.493 54.3428 127.494Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.9078 125.102C54.9424 125.492 54.9557 125.884 54.9477 126.276C54.9544 126.669 54.9411 127.063 54.9078 127.454C54.8712 127.064 54.8578 126.672 54.8678 126.28C54.8571 125.886 54.8705 125.493 54.9078 125.102Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.1172 128.539C57.1172 128.519 57.4932 128.539 57.9525 128.539C58.4117 128.539 58.7844 128.509 58.7877 128.539C58.5137 128.6 58.2331 128.627 57.9525 128.619C57.6718 128.626 57.3913 128.599 57.1172 128.539Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.9965 128.555C55.9965 128.555 56.083 128.591 56.1296 128.688C56.1762 128.784 56.1695 128.877 56.1495 128.877C56.1296 128.877 56.1096 128.801 56.0697 128.718C56.0297 128.635 55.9831 128.568 55.9965 128.555Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.5732 128.035C55.5732 128.035 55.6464 128.058 55.7063 128.118C55.7662 128.178 55.8062 128.235 55.7929 128.248C55.7796 128.261 55.7197 128.225 55.6598 128.168C55.5999 128.112 55.5499 128.048 55.5732 128.035Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.958 127.807C54.958 127.79 55.0379 127.754 55.141 127.787C55.2442 127.82 55.2974 127.9 55.2808 127.91C55.2642 127.92 55.2076 127.88 55.1211 127.854C55.0346 127.827 54.9613 127.827 54.958 127.807Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.5253 127.7C54.5253 127.683 54.5752 127.683 54.6218 127.7C54.6684 127.717 54.705 127.747 54.6983 127.763C54.6916 127.78 54.6451 127.783 54.5985 127.763C54.5519 127.743 54.5186 127.72 54.5253 127.7Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M80.0996 42.025C80.0996 42.025 84.9781 36.9834 85.4241 37.2064C85.87 37.4294 83.6337 39.4826 83.9299 39.7488C84.2261 40.0151 86.5921 41.8021 82.7885 44.6374L80.0996 42.025Z",fill:"#E5BAAB"}),(0,e.createElement)("path",{d:"M84.2989 40.5644C84.2774 40.6153 84.2518 40.6642 84.2223 40.7108C84.1458 40.8373 84.0659 40.9671 83.986 41.1035C83.9062 41.24 83.7498 41.4762 83.6266 41.6759C83.5584 41.7977 83.4598 41.8997 83.3404 41.9721C83.2711 42.0114 83.1906 42.0265 83.1117 42.0151C83.0327 42.0036 82.9599 41.9663 82.9045 41.9088C82.8632 41.8418 82.8436 41.7636 82.8484 41.685C82.8531 41.6064 82.882 41.5312 82.9311 41.4696C83.0043 41.3464 83.0775 41.24 83.1474 41.1368C83.2772 40.9405 83.4003 40.7541 83.5168 40.5711L83.7731 40.1917C83.8018 40.1441 83.8352 40.0995 83.8729 40.0586C83.8547 40.1119 83.8289 40.1623 83.7964 40.2083L83.5601 40.5977C83.4436 40.7807 83.3271 40.9737 83.2007 41.1734L82.991 41.5062C82.9508 41.5569 82.9263 41.6182 82.9204 41.6826C82.9144 41.747 82.9274 41.8118 82.9578 41.8689C83.002 41.9095 83.0575 41.9356 83.1169 41.944C83.1763 41.9523 83.2369 41.9424 83.2905 41.9155C83.4005 41.8494 83.492 41.7567 83.5568 41.6459L83.9261 41.0802L84.1824 40.7009C84.2149 40.6503 84.254 40.6044 84.2989 40.5644Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M84.549 41.1169C84.549 41.1653 84.5423 41.2135 84.529 41.26C84.5 41.389 84.4588 41.5149 84.4059 41.6361C84.3234 41.8148 84.217 41.9816 84.0897 42.1319C84.0165 42.2261 83.9248 42.3042 83.8202 42.3615C83.7627 42.4002 83.6937 42.418 83.6246 42.412C83.5556 42.4059 83.4907 42.3764 83.4408 42.3282C83.3977 42.2747 83.3703 42.2104 83.3615 42.1423C83.3527 42.0741 83.3628 42.0049 83.3909 41.9422C83.4377 41.8343 83.4993 41.7335 83.5739 41.6427C83.6971 41.4663 83.8002 41.3099 83.8867 41.1569C83.953 41.0423 84.0252 40.9312 84.1031 40.8241C84.1303 40.7834 84.1615 40.7455 84.1962 40.7109C84.1767 40.7551 84.1534 40.7974 84.1263 40.8374C84.0598 40.9505 83.9932 41.0637 83.93 41.1702C83.8668 41.2767 83.7503 41.4863 83.6272 41.6693C83.5589 41.7579 83.5009 41.8539 83.4541 41.9555C83.4333 42.0071 83.4258 42.063 83.4322 42.1183C83.4386 42.1735 83.4587 42.2262 83.4907 42.2717C83.5312 42.3081 83.5827 42.3298 83.637 42.3334C83.6913 42.3371 83.7453 42.3223 83.7902 42.2916C83.8875 42.2376 83.9734 42.1653 84.0432 42.0787C84.1682 41.934 84.2744 41.7741 84.3593 41.6028C84.433 41.4451 84.4963 41.2828 84.549 41.1169Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M81.6066 40.9849L83.3936 40.8651C83.4267 40.8601 83.4604 40.8601 83.4935 40.8651C83.5866 40.8984 83.6033 41.0282 83.58 41.128C83.5365 41.2803 83.4574 41.4202 83.3492 41.5359C83.241 41.6516 83.1068 41.7399 82.9577 41.7935C82.6618 41.8942 82.3518 41.947 82.0392 41.9499L81.1807 41.9999",fill:"#E5BAAB"}),(0,e.createElement)("path",{d:"M81.1973 41.9923C81.2609 41.9793 81.3254 41.9715 81.3903 41.969L81.9161 41.9257C82.175 41.9134 82.4329 41.8845 82.6881 41.8392C82.9983 41.7867 83.2755 41.6147 83.4602 41.36C83.5434 41.2302 83.6132 41.0505 83.54 40.9374C83.5068 40.8808 83.4302 40.8974 83.3503 40.9008L83.1241 40.9174L82.3454 40.9607L81.8162 40.9873C81.7521 40.9951 81.6873 40.9951 81.6232 40.9873C81.6868 40.9743 81.7514 40.9665 81.8162 40.964L82.342 40.9174L83.1207 40.8542H83.347C83.3869 40.8507 83.427 40.8507 83.4668 40.8542C83.4918 40.8545 83.5163 40.8604 83.5388 40.8713C83.5612 40.8822 83.5809 40.898 83.5966 40.9174C83.6198 40.9573 83.6344 41.0015 83.6395 41.0474C83.6447 41.0932 83.6403 41.1396 83.6265 41.1836C83.6022 41.268 83.5664 41.3486 83.5201 41.4232C83.3234 41.6913 83.0295 41.8717 82.7014 41.9257C82.4428 41.9684 82.1815 41.9929 81.9194 41.9989L81.3936 42.0189C81.3273 42.0179 81.2614 42.0089 81.1973 41.9923Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M84.8583 41.5962C84.8583 41.5962 84.8417 41.6328 84.8151 41.7027C84.7793 41.7995 84.7493 41.8984 84.7252 41.9988C84.6908 42.1513 84.6347 42.2981 84.5588 42.4348C84.5081 42.5173 84.4399 42.5877 84.3591 42.6411C84.3114 42.6707 84.2552 42.6836 84.1994 42.6777C84.1702 42.6723 84.1424 42.6609 84.1178 42.6443C84.0932 42.6277 84.0723 42.6062 84.0563 42.5812C84.0296 42.5345 84.014 42.4824 84.0105 42.4288C84.007 42.3751 84.0159 42.3214 84.0364 42.2717C84.0696 42.1785 84.1129 42.0987 84.1462 42.0155L84.3392 41.5962C84.3939 41.4656 84.4573 41.3389 84.5289 41.2168C84.4925 41.3541 84.4435 41.4878 84.3824 41.6161L84.2061 42.0421C84.1462 42.1985 84.0164 42.3749 84.1162 42.5446C84.1265 42.562 84.1404 42.577 84.1571 42.5885C84.1737 42.6001 84.1927 42.6078 84.2126 42.6113C84.2325 42.6148 84.253 42.6139 84.2725 42.6087C84.2921 42.6035 84.3103 42.5941 84.3259 42.5812C84.3976 42.5344 84.4588 42.4732 84.5056 42.4015C84.5815 42.27 84.6397 42.129 84.6786 41.9822C84.7077 41.8413 84.7692 41.7091 84.8583 41.5962Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M82.5847 43.4239C82.5648 43.4239 82.6613 43.0912 82.6846 42.6619C82.7079 42.2326 82.6613 41.8998 82.6846 41.8965C82.7572 42.147 82.7809 42.4091 82.7544 42.6685C82.7489 42.9291 82.6912 43.186 82.5847 43.4239Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M59.3805 40.3457C59.3819 40.9939 59.549 41.631 59.8658 42.1966C60.1826 42.7621 60.6388 43.2373 61.1908 43.577C61.5016 43.736 61.8017 43.915 62.0893 44.1128C62.2327 44.2123 62.3509 44.3437 62.4346 44.4968C62.5184 44.6498 62.5653 44.8203 62.5719 44.9946C62.5486 45.5371 61.9962 45.8831 61.5136 46.1294C61.6462 46.2546 61.752 46.4055 61.8246 46.5728C61.8972 46.7402 61.935 46.9205 61.9359 47.1029C61.9367 47.2853 61.9005 47.466 61.8295 47.634C61.7584 47.802 61.6541 47.9538 61.5226 48.0803C61.3912 48.2067 61.2355 48.3052 61.0649 48.3697C60.8942 48.4343 60.7123 48.4635 60.5301 48.4556C60.3479 48.4478 60.1691 48.403 60.0047 48.3241C59.8403 48.2451 59.6936 48.1336 59.5735 47.9963C59.5327 48.506 59.3357 48.9907 59.0093 49.3843C58.683 49.7779 58.2432 50.0614 57.7499 50.196C57.253 50.3173 56.7354 50.3272 56.2343 50.2247C55.7331 50.1223 55.2608 49.9102 54.8514 49.6036C54.0377 48.9801 53.4019 48.1539 53.0078 47.2076",fill:"#263238"}),(0,e.createElement)("path",{d:"M56.9052 49.8584C56.8153 49.346 57.0249 47.1962 57.0249 47.1962C57.0249 47.1962 58.9983 46.9866 59.1181 45.0298C59.2379 43.0731 59.1181 38.5539 59.1181 38.5539L55.5241 36.7969L51.5674 39.7919L52.1664 49.5789L56.9052 49.8584Z",fill:"#E5BAAB"}),(0,e.createElement)("path",{d:"M58.7316 41.8336C58.7316 41.8829 58.717 41.9312 58.6895 41.9722C58.6621 42.0133 58.6231 42.0453 58.5775 42.0642C58.5319 42.083 58.4817 42.088 58.4333 42.0784C58.3849 42.0687 58.3404 42.045 58.3055 42.01C58.2706 41.9751 58.2468 41.9307 58.2372 41.8823C58.2276 41.8338 58.2325 41.7837 58.2514 41.7381C58.2703 41.6924 58.3023 41.6535 58.3433 41.626C58.3844 41.5986 58.4326 41.584 58.482 41.584C58.5482 41.584 58.6117 41.6103 58.6585 41.6571C58.7053 41.7039 58.7316 41.7674 58.7316 41.8336Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M58.9746 41.5599C58.9446 41.5932 58.7583 41.4367 58.4887 41.4201C58.2192 41.4035 58.0162 41.5366 57.9862 41.5C57.9563 41.4634 58.0062 41.4234 58.0961 41.3635C58.2154 41.2859 58.3566 41.2485 58.4987 41.257C58.6408 41.2665 58.7761 41.3214 58.8848 41.4135C58.9646 41.4833 58.9912 41.5466 58.9746 41.5599Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M55.8295 41.834C55.8328 41.8844 55.8209 41.9347 55.7954 41.9783C55.7698 42.022 55.7318 42.057 55.6862 42.0788C55.6406 42.1006 55.5894 42.1082 55.5394 42.1007C55.4894 42.0931 55.4429 42.0708 55.4057 42.0365C55.3685 42.0022 55.3425 41.9576 55.3309 41.9084C55.3194 41.8591 55.3228 41.8076 55.3409 41.7603C55.3589 41.7131 55.3907 41.6724 55.4321 41.6434C55.4735 41.6144 55.5227 41.5985 55.5733 41.5977C55.6381 41.5967 55.7009 41.6207 55.7486 41.6646C55.7963 41.7086 55.8252 41.7692 55.8295 41.834Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M55.9861 41.5599C55.9528 41.5932 55.7664 41.4367 55.4969 41.4201C55.2273 41.4035 55.0243 41.5366 54.9977 41.5C54.9711 41.4634 55.0177 41.4234 55.1042 41.3635C55.2236 41.2859 55.3647 41.2485 55.5069 41.257C55.649 41.2665 55.7843 41.3214 55.8929 41.4135C55.9728 41.4833 55.9994 41.5466 55.9861 41.5599Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M56.9573 43.8224C57.1013 43.7882 57.2486 43.7704 57.3966 43.7692C57.4632 43.7692 57.533 43.7692 57.5497 43.706C57.5623 43.6318 57.5494 43.5555 57.5131 43.4897L57.33 42.9339C57.2003 42.5379 57.0904 42.1785 57.0139 41.9156C56.9646 41.7767 56.9311 41.6327 56.9141 41.4863C56.9851 41.6152 57.042 41.7513 57.0838 41.8923C57.177 42.1486 57.3001 42.5046 57.4166 42.8907C57.4765 43.0837 57.533 43.2667 57.5929 43.4497C57.6328 43.5374 57.6411 43.6362 57.6162 43.7293C57.5928 43.7676 57.5583 43.7979 57.5174 43.8163C57.4764 43.8348 57.4308 43.8404 57.3866 43.8324C57.2436 43.8443 57.0997 43.841 56.9573 43.8224Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M56.0657 44.0957C55.7929 43.9127 56.8211 44.545 57.3702 44.545C57.2714 44.6819 57.1292 44.7814 56.9667 44.8273C56.8042 44.8732 56.6309 44.8629 56.4751 44.7979C55.906 44.555 56.0657 44.0957 56.0657 44.0957Z",fill:"white"}),(0,e.createElement)("path",{d:"M57.0308 47.1832C56.1007 47.1432 55.2013 46.8384 54.4385 46.3047C54.4385 46.3047 55.0242 47.7423 56.9876 47.6624L57.0308 47.1832Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M58.3027 37.1042C56.3593 35.0876 55.0281 35.5069 54.2661 35.5069C53.4285 35.6013 52.6195 35.8679 51.8899 36.29C51.1603 36.7121 50.5259 37.2805 50.0265 37.9595C49.484 38.5252 48.6954 40.3588 48.6221 41.0044C48.5806 41.6571 48.5806 42.3118 48.6221 42.9644C48.6221 43.63 48.4691 44.3222 47.9799 44.7548C47.6704 45.031 47.2345 45.1907 47.0481 45.5601C46.9621 45.7865 46.958 46.0358 47.0364 46.2649C47.1148 46.494 47.2708 46.6884 47.4774 46.8147C47.9023 47.0527 48.3908 47.1527 48.8751 47.1009C48.8396 47.5858 48.9822 48.0671 49.2763 48.4543C49.5704 48.8415 49.9957 49.1081 50.4724 49.204C50.9708 49.2695 51.475 49.1369 51.8767 48.8347C52.2053 49.1551 52.5532 49.4551 52.9183 49.7332C52.9982 46.8824 52.9383 44.0327 52.7386 41.1841C54.0464 40.9545 56.3992 40.249 56.7952 38.1558C57.3177 39.3471 58.1097 39.9961 59.1612 40.9012C59.1779 40.8979 60.2328 39.1209 58.3027 37.1042Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M52.9111 40.4261C53.1773 40.3915 53.4469 40.3915 53.7131 40.4261C54.3407 40.4949 54.9758 40.4198 55.57 40.2065C55.8848 40.0777 56.1545 39.8589 56.3454 39.5775C56.4976 39.3438 56.6027 39.0827 56.6549 38.8088C56.7481 38.3329 56.7015 38.0234 56.7314 38.0234C56.8167 38.2833 56.8327 38.5608 56.778 38.8288C56.7382 39.1262 56.6361 39.412 56.4785 39.6674C56.2767 39.9803 55.9841 40.2242 55.6399 40.3662C55.021 40.5937 54.3534 40.6556 53.7031 40.5459C53.4358 40.5328 53.1704 40.4927 52.9111 40.4261Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M47.7998 45.2206C47.9121 45.2175 48.0237 45.2019 48.1326 45.174C48.2674 45.1211 48.3869 45.0352 48.4799 44.9242C48.5729 44.8131 48.6366 44.6805 48.665 44.5384C48.7173 44.1012 48.6337 43.6585 48.4254 43.2705C48.3129 43.0244 48.2205 42.7696 48.1492 42.5085C48.08 42.2199 48.0609 41.9216 48.0927 41.6266C48.1608 41.062 48.3615 40.5215 48.6783 40.0493C48.9329 39.6706 49.2287 39.3212 49.5602 39.0077C49.8397 38.7381 50.0827 38.5384 50.2491 38.4053C50.3306 38.3276 50.4224 38.2616 50.5219 38.209C50.5419 38.229 50.1892 38.5418 49.6467 39.0942C49.3341 39.4125 49.0543 39.7615 48.8114 40.1358C48.518 40.5918 48.3314 41.1083 48.2657 41.6466C48.2357 41.9213 48.2514 42.199 48.3123 42.4685C48.3813 42.7221 48.4692 42.9702 48.5752 43.2106C48.7885 43.6292 48.8619 44.105 48.7848 44.5684C48.7468 44.7249 48.6684 44.8687 48.5574 44.9855C48.4465 45.1022 48.3069 45.1879 48.1525 45.2339C48.068 45.2512 47.9808 45.2512 47.8963 45.2339C47.8635 45.2371 47.8305 45.2326 47.7998 45.2206Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M62.0229 42.4221C62.0229 42.4221 62.0861 42.492 62.0827 42.655C62.0767 42.7704 62.0433 42.8828 61.9855 42.9828C61.9276 43.0829 61.8469 43.1679 61.75 43.2307C61.6002 43.3153 61.4311 43.3597 61.2591 43.3597C61.0871 43.3597 60.918 43.3153 60.7683 43.2307C60.4126 43.0306 60.1242 42.7295 59.9397 42.3655C59.5768 41.7443 59.3436 41.056 59.2541 40.3422C59.2044 40.0493 59.2044 39.75 59.2541 39.457C59.2841 39.457 59.2907 39.7898 59.3872 40.3256C59.511 41.0132 59.753 41.6741 60.1027 42.279C60.2724 42.6139 60.5331 42.8942 60.8548 43.0876C60.9824 43.162 61.1265 43.2033 61.2741 43.208C61.4216 43.2126 61.568 43.1804 61.7001 43.1143C61.7867 43.0638 61.8613 42.9951 61.9188 42.9129C61.9762 42.8308 62.0151 42.7371 62.0328 42.6384C62.0395 42.5086 62.0095 42.4254 62.0229 42.4221Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M58.9941 73.2109C58.9941 73.2109 65.6497 94.8648 65.2437 101.86C64.8377 108.855 59.9392 126.216 59.9392 126.216L58.9941 73.2109Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M49.5831 69.5226C49.4367 69.4827 46.5082 73.7821 46.4117 77.4793C46.4053 77.8414 46.4187 78.2036 46.4516 78.5642C46.5794 79.8582 46.8897 81.1276 47.3734 82.3346C49.8493 88.5808 52.3984 95.9785 52.4417 97.6757C52.5581 102.877 53.5764 126.787 53.5764 126.787L60.7645 126.278L60.5282 97.6856L58.7778 69.293L49.5831 69.5226Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M53.5 69.4004C53.5433 69.4004 53.5599 70.1991 53.5599 71.65C53.5599 73.1009 53.4933 75.2007 53.5898 77.7897C53.6165 78.4387 53.6398 79.1209 53.6963 79.823C53.7529 80.5252 53.8062 81.264 53.8827 82.0194C54.0424 83.5368 54.2587 85.1508 54.5283 86.8447C54.7978 88.5385 55.104 90.3122 55.3636 92.1691C55.6231 94.026 55.8261 95.9395 55.9359 97.9195C56.0458 99.8996 56.0258 101.83 56.0624 103.697C56.099 105.563 56.1356 107.357 56.1855 109.078C56.2854 112.505 56.4052 115.593 56.5183 118.182L56.7446 124.322C56.7679 125.041 56.7845 125.603 56.7978 125.986C56.8111 126.369 56.7978 126.568 56.7978 126.568C56.7812 126.099 56.6647 123.267 56.4651 118.179C56.3586 115.587 56.2321 112.502 56.1323 109.071C56.0824 107.357 56.0391 105.557 56.0092 103.69C55.9792 101.823 56.0092 99.8896 55.8794 97.9162C55.7496 95.9428 55.5732 94.0194 55.297 92.1791C55.0208 90.3388 54.7346 88.5551 54.4651 86.8546C54.1955 85.1541 53.9825 83.5435 53.8261 82.026C53.7496 81.2673 53.6864 80.5352 53.6431 79.8264C53.5998 79.1175 53.5666 78.442 53.5399 77.7931C53.4501 75.1974 53.5399 73.0976 53.5399 71.6466C53.5399 70.9245 53.5399 70.3588 53.5399 69.9828C53.5485 69.7877 53.5351 69.5924 53.5 69.4004Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M60.7621 125.75H53.5342V126.838H60.7621V125.75Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M53.9892 69.6199C53.9692 69.6199 53.9526 69.5467 53.9493 69.4535C53.946 69.3603 53.9493 69.2871 53.9792 69.2871C54.0092 69.2871 54.0158 69.3603 54.0192 69.4535C54.0225 69.5467 54.0059 69.6199 53.9892 69.6199Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.0063 70.2859C53.9897 70.2859 53.9697 70.2127 53.9697 70.1195C53.9697 70.0263 53.9697 69.9531 53.9997 69.9531C54.0296 69.9531 54.0363 70.0263 54.0363 70.1195C54.0363 70.2127 54.0263 70.2859 54.0063 70.2859Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.0263 70.9519C54.0097 70.9519 53.9897 70.8787 53.9864 70.7855C53.9831 70.6924 53.9864 70.6191 54.0163 70.6191C54.0463 70.6191 54.0529 70.6924 54.0563 70.7855C54.0596 70.8787 54.0463 70.9519 54.0263 70.9519Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.0459 71.616C54.0259 71.616 54.0093 71.5428 54.0059 71.4496C54.0026 71.3564 54.0059 71.2832 54.0359 71.2832C54.0658 71.2832 54.0725 71.3564 54.0758 71.4496C54.0791 71.5428 54.0658 71.616 54.0459 71.616Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.0664 72.282C54.0464 72.282 54.0298 72.2088 54.0264 72.1156C54.0231 72.0224 54.0264 71.9492 54.0564 71.9492C54.0863 71.9492 54.093 72.0224 54.0963 72.1156C54.0996 72.2088 54.0863 72.282 54.0664 72.282Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.0859 72.948C54.0659 72.948 54.0493 72.8748 54.046 72.7816C54.0426 72.6884 54.046 72.6152 54.0759 72.6152C54.1059 72.6152 54.1125 72.6885 54.1158 72.7783C54.1192 72.8682 54.1059 72.948 54.0859 72.948Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.1064 73.614C54.0864 73.614 54.0698 73.5408 54.0665 73.4476C54.0631 73.3545 54.0665 73.2812 54.0964 73.2812C54.1264 73.2812 54.133 73.3545 54.1364 73.4443C54.1397 73.5342 54.123 73.6107 54.1064 73.614Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.1259 74.2781C54.1059 74.2781 54.0859 74.2016 54.0859 74.1117C54.0859 74.0219 54.0859 73.9453 54.1159 73.9453C54.1458 73.9453 54.1525 74.0185 54.1558 74.1084C54.1591 74.1982 54.1425 74.2748 54.1259 74.2781Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.1431 74.9423C54.1264 74.9423 54.1064 74.869 54.1064 74.7792C54.1064 74.6893 54.1065 74.6128 54.1331 74.6095C54.1597 74.6061 54.173 74.686 54.173 74.7759C54.173 74.8657 54.163 74.9423 54.1431 74.9423Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.163 75.6063C54.1431 75.6063 54.1264 75.5331 54.1231 75.4433C54.1198 75.3534 54.1231 75.2769 54.1531 75.2735C54.183 75.2702 54.1897 75.3468 54.193 75.4399C54.1963 75.5331 54.183 75.6063 54.163 75.6063Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.1826 76.2722C54.1626 76.2722 54.146 76.199 54.1426 76.1092C54.1393 76.0193 54.1426 75.9395 54.1726 75.9395C54.2025 75.9395 54.2092 76.0127 54.2125 76.1058C54.2158 76.199 54.2025 76.2722 54.1826 76.2722Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.186 76.9417C54.1661 76.9417 54.1528 76.8651 54.1494 76.7753C54.1461 76.6854 54.1494 76.6089 54.186 76.6056C54.2226 76.6022 54.2193 76.6821 54.2193 76.7753C54.2193 76.8685 54.206 76.9417 54.186 76.9417Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.1958 77.6062C54.1758 77.6062 54.1592 77.533 54.1592 77.4398C54.1592 77.3466 54.1592 77.2734 54.1891 77.2734C54.2191 77.2734 54.2257 77.3466 54.2257 77.4398C54.2257 77.533 54.2157 77.6062 54.1958 77.6062Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.2095 78.2722C54.2095 78.2722 54.1729 78.199 54.1729 78.1092C54.1729 78.0193 54.1729 77.9395 54.2028 77.9395C54.2328 77.9395 54.2394 78.0127 54.2394 78.1058C54.2394 78.199 54.2427 78.2722 54.2095 78.2722Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.2422 78.9417C54.2222 78.9417 54.2056 78.8685 54.2022 78.7753C54.1989 78.6821 54.2022 78.6089 54.2289 78.6056C54.2555 78.6022 54.2688 78.6821 54.2721 78.772C54.2754 78.8618 54.2422 78.9384 54.2422 78.9417Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.2588 79.6062C54.2421 79.6062 54.2222 79.533 54.2188 79.4398C54.2155 79.3466 54.2188 79.2734 54.2455 79.2734C54.2721 79.2734 54.2821 79.3466 54.2887 79.4365C54.2954 79.5263 54.2787 79.6029 54.2588 79.6062Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.2957 80.2722C54.2757 80.2722 54.2591 80.199 54.2524 80.1058C54.2457 80.0127 54.2524 79.9395 54.279 79.9395C54.3056 79.9395 54.3156 80.0093 54.3223 80.1025C54.3289 80.1957 54.3156 80.2689 54.2957 80.2722Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.3391 80.9344C54.3191 80.9344 54.2991 80.8646 54.2925 80.7714C54.2858 80.6782 54.2925 80.605 54.3158 80.6017C54.3391 80.5983 54.3557 80.6749 54.3624 80.7681C54.369 80.8612 54.359 80.9344 54.3391 80.9344Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.3889 81.6005C54.369 81.6005 54.349 81.5273 54.3423 81.4374C54.3357 81.3476 54.3423 81.271 54.3623 81.2677C54.3823 81.2644 54.4022 81.3409 54.4122 81.4308C54.4222 81.5206 54.4089 81.5971 54.3889 81.6005Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.4489 82.2631C54.4289 82.2631 54.4056 82.1932 54.399 82.1C54.3923 82.0068 54.399 81.9336 54.4189 81.9336C54.4389 81.9336 54.4589 82.0035 54.4655 82.0967C54.4722 82.1898 54.4655 82.2631 54.4489 82.2631Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.5124 82.9252C54.4924 82.9252 54.4724 82.8553 54.4624 82.7654C54.4525 82.6756 54.4624 82.5957 54.4624 82.5957C54.4624 82.5957 54.5057 82.6656 54.5124 82.7588C54.519 82.8519 54.5323 82.9252 54.5124 82.9252Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.5758 83.5873C54.5558 83.5873 54.5325 83.5174 54.5225 83.4275C54.5126 83.3377 54.5225 83.2578 54.5392 83.2578C54.5558 83.2578 54.5824 83.3277 54.5924 83.4175C54.6024 83.5074 54.6057 83.5873 54.5758 83.5873Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.665 84.2489C54.6451 84.2489 54.6218 84.179 54.6085 84.0858C54.5951 83.9927 54.6085 83.9195 54.6085 83.9161C54.6085 83.9128 54.6517 83.986 54.6617 84.0792C54.6717 84.1724 54.685 84.2456 54.665 84.2489Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.7519 84.9076C54.732 84.9076 54.7087 84.8377 54.6954 84.7478C54.6821 84.658 54.6954 84.5781 54.6954 84.5781C54.6954 84.5781 54.7386 84.6447 54.7519 84.7379C54.7653 84.831 54.7719 84.9042 54.7519 84.9076Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.8451 85.5639C54.8251 85.5639 54.7985 85.4941 54.7852 85.4042C54.7719 85.3144 54.7852 85.2378 54.7852 85.2345C54.7852 85.2312 54.8285 85.3044 54.8418 85.3942C54.8551 85.4841 54.8617 85.5606 54.8451 85.5639Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.9413 86.2187C54.9247 86.2187 54.8981 86.1521 54.8814 86.059C54.8648 85.9658 54.8814 85.8926 54.8814 85.8926C54.8814 85.8926 54.928 85.9591 54.9413 86.049C54.9546 86.1388 54.9613 86.2154 54.9413 86.2187Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.0443 86.8784C55.0277 86.8784 54.9977 86.8085 54.9844 86.7187C54.9711 86.6288 54.9844 86.5523 54.9844 86.5489C54.9844 86.5456 55.0277 86.6188 55.0443 86.7087C55.061 86.7985 55.0643 86.8751 55.0443 86.8784Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.1508 87.521C55.1341 87.521 55.1042 87.4544 55.0909 87.3612C55.0776 87.268 55.0909 87.1948 55.0909 87.1915C55.0909 87.1882 55.1375 87.2614 55.1541 87.3512C55.1707 87.4411 55.1708 87.521 55.1508 87.521Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.2611 88.185C55.2445 88.185 55.2145 88.1151 55.2012 88.0253C55.1879 87.9354 55.2012 87.8589 55.2012 87.8556C55.2012 87.8523 55.2478 87.9255 55.2611 88.0153C55.2744 88.1052 55.2811 88.185 55.2611 88.185Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.3743 88.851C55.3544 88.851 55.3277 88.7812 55.3111 88.6913C55.2945 88.6015 55.3111 88.5249 55.3111 88.5216C55.3111 88.5183 55.3577 88.5881 55.3743 88.6813C55.391 88.7745 55.391 88.851 55.3743 88.851Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.4838 89.4962C55.4638 89.4962 55.4372 89.4296 55.4239 89.3398C55.4106 89.2499 55.4239 89.1734 55.4239 89.17C55.4239 89.1667 55.4705 89.2366 55.4871 89.3264C55.5038 89.4163 55.5038 89.4928 55.4838 89.4962Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.5932 90.1518C55.5765 90.1518 55.5466 90.0819 55.5333 89.9921C55.5199 89.9022 55.5333 89.8257 55.5333 89.8224C55.5333 89.819 55.5798 89.8923 55.5932 89.9821C55.6065 90.072 55.6131 90.1485 55.5932 90.1518Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.7034 90.8047C55.6835 90.8047 55.6568 90.7382 55.6402 90.6483C55.6236 90.5585 55.6402 90.482 55.6402 90.4786C55.6402 90.4753 55.6868 90.5452 55.7001 90.6384C55.7134 90.7315 55.7201 90.8014 55.7034 90.8047Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.8061 91.461C55.7861 91.461 55.7595 91.3945 55.7462 91.3046C55.7328 91.2147 55.7462 91.1382 55.7462 91.1349C55.7462 91.1316 55.7894 91.2014 55.8061 91.2913C55.8227 91.3811 55.826 91.4577 55.8061 91.461Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.9062 92.1153C55.8896 92.1153 55.863 92.0487 55.8497 91.9589C55.8364 91.869 55.8497 91.7925 55.8497 91.7892C55.8497 91.7858 55.8963 91.8557 55.9096 91.9456C55.9229 92.0354 55.9262 92.112 55.9062 92.1153Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.0023 92.7749C55.9824 92.7749 55.9558 92.705 55.9424 92.6151C55.9291 92.5253 55.9424 92.4487 55.9424 92.4454C55.9424 92.4421 55.9857 92.5153 55.999 92.6052C56.0123 92.695 56.019 92.7716 56.0023 92.7749Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.0889 93.4311C56.0723 93.4311 56.0457 93.3646 56.0357 93.2714C56.0257 93.1782 56.0357 93.105 56.0357 93.1017C56.0357 93.0983 56.0823 93.1716 56.0923 93.2614C56.1022 93.3513 56.1089 93.4311 56.0889 93.4311Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.1719 94.0893C56.152 94.0893 56.1287 94.0194 56.1187 93.9296C56.1087 93.8397 56.1187 93.7632 56.1187 93.7599C56.1187 93.7565 56.1619 93.8298 56.1719 93.9229C56.1819 94.0161 56.1919 94.0893 56.1719 94.0893Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.2389 94.7509C56.2189 94.7509 56.1956 94.681 56.1856 94.5878C56.1756 94.4946 56.1856 94.4214 56.2023 94.4181C56.2189 94.4148 56.2422 94.488 56.2522 94.5811C56.2622 94.6743 56.2655 94.7475 56.2389 94.7509Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.3161 95.4116C56.2962 95.4116 56.2729 95.3417 56.2662 95.2519C56.2596 95.162 56.2662 95.0855 56.2829 95.0821C56.2995 95.0788 56.3261 95.152 56.3328 95.2452C56.3394 95.3384 56.3361 95.4116 56.3161 95.4116Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.3751 96.0716C56.3552 96.0716 56.3352 96.0018 56.3252 95.9086C56.3152 95.8154 56.3252 95.7422 56.3452 95.7422C56.3651 95.7422 56.3884 95.8121 56.3951 95.9053C56.4017 95.9984 56.3951 96.0716 56.3751 96.0716Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.429 96.739C56.409 96.739 56.389 96.6658 56.3824 96.5726C56.3757 96.4795 56.3824 96.4062 56.4023 96.4062C56.4223 96.4062 56.4423 96.4761 56.4489 96.5693C56.4556 96.6625 56.4456 96.7357 56.429 96.739Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.4721 97.4012C56.4521 97.4012 56.4322 97.328 56.4288 97.2382C56.4255 97.1483 56.4288 97.0718 56.4521 97.0685C56.4754 97.0651 56.492 97.1417 56.4954 97.2315C56.4987 97.3214 56.4921 97.4012 56.4721 97.4012Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.5086 98.0634C56.4919 98.0634 56.4719 97.9901 56.4653 97.9003C56.4586 97.8104 56.4653 97.7339 56.4919 97.7306C56.5185 97.7272 56.5319 97.8038 56.5352 97.8936C56.5385 97.9835 56.5285 98.06 56.5086 98.0634Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.539 98.7255C56.539 98.7255 56.5024 98.6522 56.4991 98.5624C56.4958 98.4725 56.4991 98.396 56.5257 98.3927C56.5524 98.3894 56.5657 98.4659 56.569 98.5591C56.5723 98.6523 56.5723 98.7255 56.539 98.7255Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.5722 99.3894C56.5556 99.3894 56.5356 99.3162 56.5323 99.223C56.529 99.1299 56.5323 99.0566 56.5622 99.0566C56.5922 99.0566 56.5988 99.1298 56.6022 99.2197C56.6055 99.3095 56.5722 99.3861 56.5722 99.3894Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.5718 100.054C56.5718 100.054 56.5352 99.9804 56.5352 99.8905C56.5352 99.8007 56.5352 99.7241 56.5651 99.7208C56.5951 99.7175 56.6017 99.7973 56.605 99.8872C56.6084 99.977 56.5984 100.054 56.5718 100.054Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.5884 100.718C56.5718 100.718 56.5551 100.644 56.5518 100.551C56.5485 100.458 56.5518 100.385 56.5851 100.385C56.6184 100.385 56.6217 100.461 56.6217 100.551C56.6217 100.641 56.6084 100.718 56.5884 100.718Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.5952 101.387C56.5752 101.387 56.5586 101.311 56.5586 101.221C56.5586 101.131 56.5586 101.055 56.5919 101.055C56.6252 101.055 56.6285 101.128 56.6285 101.221C56.6285 101.314 56.6152 101.387 56.5952 101.387Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.602 102.053C56.5821 102.053 56.5654 101.977 56.5654 101.887C56.5654 101.797 56.5654 101.721 56.5987 101.721C56.632 101.721 56.632 101.794 56.632 101.884C56.632 101.974 56.6187 102.053 56.602 102.053Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6089 102.718C56.5889 102.718 56.5723 102.641 56.5723 102.551C56.5723 102.461 56.5723 102.385 56.6055 102.385C56.6388 102.385 56.6388 102.458 56.6421 102.548C56.6455 102.638 56.6255 102.714 56.6089 102.718Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6148 103.384C56.5981 103.384 56.5815 103.307 56.5782 103.217C56.5748 103.127 56.5782 103.051 56.6114 103.051C56.6447 103.051 56.6481 103.124 56.6481 103.214C56.6481 103.304 56.6347 103.38 56.6148 103.384Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6288 104.05C56.6089 104.05 56.5922 103.973 56.5889 103.883C56.5856 103.793 56.5889 103.717 56.6222 103.717C56.6555 103.717 56.6588 103.79 56.6588 103.88C56.6588 103.97 56.6455 104.046 56.6288 104.05Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6382 104.712C56.6182 104.712 56.6016 104.639 56.6016 104.549C56.6016 104.459 56.6016 104.382 56.6315 104.379C56.6615 104.376 56.6681 104.456 56.6714 104.545C56.6748 104.635 56.6581 104.712 56.6382 104.712Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6518 105.378C56.6319 105.378 56.6152 105.305 56.6152 105.215C56.6152 105.125 56.6152 105.048 56.6452 105.045C56.6751 105.042 56.6818 105.122 56.6818 105.211C56.6818 105.301 56.6718 105.378 56.6518 105.378Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6656 106.044C56.6656 106.044 56.6323 105.971 56.629 105.881C56.6256 105.791 56.629 105.714 56.6589 105.711C56.6889 105.708 56.6955 105.788 56.6989 105.877C56.7022 105.967 56.6855 106.044 56.6656 106.044Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6821 106.708C56.6621 106.708 56.6455 106.635 56.6455 106.545C56.6455 106.455 56.6455 106.375 56.6755 106.375C56.7054 106.375 56.7121 106.448 56.7121 106.541C56.7121 106.635 56.7021 106.708 56.6821 106.708Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6982 107.374C56.6782 107.374 56.6616 107.301 56.6582 107.211C56.6549 107.121 56.6582 107.041 56.6915 107.041C56.7248 107.041 56.7281 107.114 56.7281 107.207C56.7281 107.301 56.7181 107.374 56.6982 107.374Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.7187 108.04C56.6987 108.04 56.6821 107.967 56.6788 107.873C56.6754 107.78 56.6788 107.707 56.7087 107.707C56.7387 107.707 56.7453 107.78 56.7487 107.873C56.752 107.967 56.7353 108.04 56.7187 108.04Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.7353 108.704C56.7153 108.704 56.6987 108.631 56.6954 108.537C56.692 108.444 56.6954 108.371 56.7253 108.371C56.7553 108.371 56.7619 108.444 56.7653 108.537C56.7686 108.631 56.7553 108.704 56.7353 108.704Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.7548 109.37C56.7349 109.37 56.7182 109.297 56.7149 109.203C56.7116 109.11 56.7149 109.037 56.7449 109.037C56.7748 109.037 56.7815 109.11 56.7848 109.203C56.7881 109.297 56.7748 109.37 56.7548 109.37Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.7744 110.036C56.7577 110.036 56.7378 109.963 56.7344 109.87C56.7311 109.776 56.7344 109.703 56.7644 109.703C56.7943 109.703 56.801 109.776 56.8043 109.87C56.8077 109.963 56.7943 110.036 56.7744 110.036Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.7978 110.702C56.7778 110.702 56.7612 110.629 56.7579 110.536C56.7545 110.442 56.7579 110.369 56.7878 110.369C56.8178 110.369 56.8244 110.442 56.8278 110.536C56.8311 110.629 56.8178 110.702 56.7978 110.702Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.8216 111.368C56.8017 111.368 56.7817 111.295 56.7784 111.202C56.7751 111.108 56.7784 111.035 56.8083 111.035C56.8383 111.035 56.8449 111.108 56.8483 111.198C56.8516 111.288 56.8383 111.368 56.8216 111.368Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.8418 112.032C56.8251 112.032 56.8051 111.959 56.8018 111.866C56.7985 111.772 56.8018 111.699 56.8318 111.699C56.8617 111.699 56.8684 111.772 56.8717 111.862C56.875 111.952 56.8617 112.029 56.8418 112.032Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.8685 112.695C56.8486 112.695 56.8286 112.621 56.8253 112.532C56.8219 112.442 56.8253 112.365 56.8552 112.365C56.8852 112.365 56.8918 112.438 56.8951 112.528C56.8985 112.618 56.8852 112.695 56.8685 112.695Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.9053 113.36C56.8853 113.36 56.8687 113.287 56.8653 113.197C56.862 113.107 56.8653 113.031 56.8919 113.027C56.9186 113.024 56.9285 113.101 56.9319 113.194C56.9352 113.287 56.9053 113.36 56.9053 113.36Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.9053 114.026C56.8853 114.026 56.8687 113.953 56.8653 113.863C56.862 113.773 56.8653 113.693 56.8919 113.693C56.9186 113.693 56.9319 113.767 56.9352 113.86C56.9385 113.953 56.9352 114.026 56.9053 114.026Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.9408 114.692C56.9208 114.692 56.9009 114.619 56.8975 114.526C56.8942 114.433 56.8975 114.359 56.9275 114.359C56.9574 114.359 56.9641 114.433 56.9674 114.526C56.9707 114.619 56.9574 114.692 56.9408 114.692Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.9648 115.356C56.9482 115.356 56.9282 115.283 56.9249 115.19C56.9215 115.097 56.9249 115.023 56.9548 115.023C56.9848 115.023 56.9914 115.097 56.9947 115.19C56.9981 115.283 56.9848 115.356 56.9648 115.356Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.9912 116.022C56.9712 116.022 56.9546 115.949 56.9513 115.856C56.9479 115.763 56.9513 115.689 56.9779 115.689C57.0045 115.689 57.0178 115.763 57.0211 115.853C57.0245 115.942 57.0112 116.022 56.9912 116.022Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.0176 116.688C56.9976 116.688 56.981 116.615 56.9776 116.522C56.9743 116.429 56.9776 116.355 57.0042 116.355C57.0309 116.355 57.0409 116.429 57.0442 116.519C57.0475 116.608 57.0375 116.685 57.0176 116.688Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.0449 117.351C57.0249 117.351 57.0083 117.281 57.005 117.188C57.0016 117.095 57.005 117.021 57.0316 117.021C57.0582 117.021 57.0682 117.091 57.0715 117.185C57.0749 117.278 57.0649 117.351 57.0449 117.351Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.071 118.016C57.051 118.016 57.0344 117.943 57.0277 117.853C57.0211 117.764 57.0277 117.687 57.0577 117.684C57.0876 117.68 57.0943 117.757 57.0976 117.85C57.101 117.943 57.091 118.016 57.071 118.016Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.098 118.68C57.078 118.68 57.0581 118.607 57.0548 118.517C57.0514 118.428 57.0547 118.348 57.0847 118.348C57.1146 118.348 57.1213 118.421 57.1246 118.514C57.128 118.607 57.118 118.68 57.098 118.68Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.1244 119.346C57.1044 119.346 57.0844 119.273 57.0811 119.18C57.0778 119.087 57.0811 119.014 57.1111 119.014C57.141 119.014 57.1477 119.087 57.151 119.18C57.1543 119.273 57.141 119.346 57.1244 119.346Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.1507 120.012C57.1308 120.012 57.1108 119.939 57.1075 119.846C57.1042 119.753 57.1075 119.68 57.1374 119.68C57.1674 119.68 57.174 119.753 57.1774 119.843C57.1807 119.933 57.1674 120.012 57.1507 120.012Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.1771 120.678C57.1571 120.678 57.1372 120.605 57.1339 120.512C57.1305 120.419 57.1339 120.346 57.1638 120.346C57.1938 120.346 57.2004 120.419 57.2037 120.509C57.2071 120.599 57.1938 120.675 57.1771 120.678Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.2012 121.344C57.1845 121.344 57.1645 121.271 57.1612 121.178C57.1579 121.085 57.1612 121.012 57.1878 121.012C57.2145 121.012 57.2278 121.085 57.2311 121.175C57.2344 121.265 57.2378 121.341 57.2012 121.344Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.2373 122.007C57.2173 122.007 57.2007 121.934 57.1974 121.844C57.194 121.754 57.1973 121.677 57.224 121.674C57.2506 121.671 57.2639 121.747 57.2672 121.84C57.2706 121.934 57.2373 122.007 57.2373 122.007Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.2543 122.671C57.2343 122.671 57.2143 122.598 57.211 122.508C57.2077 122.418 57.211 122.341 57.2409 122.338C57.2709 122.335 57.2776 122.411 57.2809 122.504C57.2842 122.598 57.2709 122.671 57.2543 122.671Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.2773 123.337C57.2574 123.337 57.2407 123.263 57.2374 123.174C57.2341 123.084 57.2374 123.004 57.264 123.004C57.2906 123.004 57.3039 123.077 57.3073 123.17C57.3106 123.263 57.2973 123.337 57.2773 123.337Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.3041 124.003C57.2841 124.003 57.2641 123.929 57.2608 123.836C57.2575 123.743 57.2608 123.67 57.2908 123.67C57.3207 123.67 57.3274 123.743 57.3307 123.836C57.334 123.929 57.3207 124.003 57.3041 124.003Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.3275 124.669C57.3075 124.669 57.2876 124.596 57.2842 124.502C57.2809 124.409 57.2842 124.336 57.3142 124.336C57.3441 124.336 57.3508 124.409 57.3541 124.502C57.3575 124.596 57.3441 124.669 57.3275 124.669Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.3505 125.338C57.3305 125.338 57.3105 125.262 57.3105 125.172C57.3105 125.082 57.3105 125.002 57.3372 125.002C57.3638 125.002 57.3738 125.075 57.3771 125.168C57.3804 125.262 57.3671 125.335 57.3505 125.338Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.3701 126.003C57.3701 126.003 57.3335 125.929 57.3301 125.836C57.3268 125.743 57.3301 125.67 57.3601 125.67C57.39 125.67 57.3967 125.743 57.4 125.833C57.4033 125.923 57.39 126.003 57.3701 126.003Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.3872 126.486C57.3672 126.486 57.3506 126.452 57.3506 126.412C57.3506 126.373 57.3506 126.336 57.3839 126.336C57.4171 126.336 57.4171 126.369 57.4205 126.409C57.4238 126.449 57.4072 126.486 57.3872 126.486Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M59.2873 76.8974C59.2408 76.9231 59.1891 76.9379 59.1361 76.9408C59.0831 76.9437 59.0301 76.9345 58.9811 76.9141C58.8625 76.8723 58.7601 76.7943 58.6883 76.6911C58.6012 76.551 58.5477 76.3927 58.5319 76.2286C58.4753 75.5164 58.4254 74.5347 58.3655 73.4465C58.3056 72.3583 58.2623 71.4232 58.2224 70.6645L58.1891 69.8192C58.1891 69.7394 58.1891 69.6628 58.1891 69.5896C58.1857 69.5631 58.1857 69.5363 58.1891 69.5098C58.1934 69.5362 58.1934 69.5632 58.1891 69.5896C58.1891 69.6628 58.1891 69.7361 58.2091 69.8192C58.2257 70.0588 58.2457 70.3384 58.2657 70.6612C58.3089 71.4199 58.3655 72.3816 58.4287 73.4432C58.4919 74.5048 58.5352 75.4632 58.5751 76.2219C58.585 76.3797 58.633 76.5327 58.7149 76.6678C58.7795 76.7675 58.8738 76.8444 58.9845 76.8875C59.0815 76.9244 59.1881 76.928 59.2873 76.8974Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M47.317 82.0104C47.4075 81.9959 47.4958 81.9702 47.5799 81.9338C47.802 81.8166 47.9753 81.6244 48.0691 81.3914C48.1869 81.0381 48.2267 80.6634 48.1855 80.2932C48.1685 79.8338 48.1229 79.3759 48.0491 78.9222C47.9191 78.1145 47.705 77.3226 47.4102 76.5595L47.4368 76.5761L46.6548 76.7059L46.4384 76.7358H46.3652C46.3883 76.725 46.4131 76.7182 46.4384 76.7159L46.6481 76.6693L47.4301 76.5195H47.4501V76.5395C47.7608 77.3016 47.9841 78.0965 48.1156 78.9089C48.1885 79.3649 48.2329 79.825 48.2488 80.2866C48.2859 80.6661 48.2381 81.0492 48.109 81.4081C48.0093 81.6489 47.8229 81.8437 47.5865 81.9538C47.5029 81.995 47.4102 82.0144 47.317 82.0104Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M47.6865 77.5566C47.4831 77.6399 47.271 77.7002 47.0542 77.7363C46.8367 77.7957 46.6137 77.8325 46.3887 77.8462C46.5933 77.7632 46.8065 77.703 47.0243 77.6665C47.2412 77.6095 47.4629 77.5727 47.6865 77.5566Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M83.7299 44.7742L80.0028 41.7227C69.873 50.8608 56.8115 49.8225 56.8115 49.8225V49.8458C56.2258 49.7493 53.1509 49.2568 52.1326 49.2368C51.3373 49.2368 49.497 49.0771 48.1958 50.305C48.1621 50.3344 48.1298 50.3655 48.0993 50.3982C46.9213 51.5496 35.121 63.1702 36.3789 66.0388C37.71 69.0704 48.9047 75.6528 48.9047 75.6528L51.6201 70.721C51.6201 70.721 50.7749 70.1686 49.6235 69.3899L58.7749 69.1536L59.1775 62.3017C59.1775 62.3017 60.7416 60.5546 60.7416 59.3067C60.7416 58.4348 60.2591 56.9772 59.6401 55.4997C74.0694 54.3017 83.7299 44.7742 83.7299 44.7742ZM43.1709 64.4082C43.2774 64.0488 45.6235 61.4831 47.7399 59.2202C48.4721 63.696 49.4671 68.8541 49.5636 69.3633C47.0178 67.6361 43.0344 64.8541 43.1709 64.4049V64.4082Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M60.1988 60.8171C60.0879 60.8227 59.9769 60.8227 59.866 60.8171C59.5416 60.8223 59.218 60.7831 58.9043 60.7006C58.6518 60.6395 58.4157 60.5239 58.2128 60.3617C58.0098 60.1996 57.8449 59.9949 57.7296 59.7622C57.6573 59.6145 57.6197 59.4523 57.6197 59.288C57.6197 59.1236 57.6573 58.9614 57.7296 58.8137C57.8058 58.644 57.9297 58.5002 58.0863 58.3997C58.2429 58.2993 58.4254 58.2465 58.6114 58.248C58.8146 58.2764 59.0041 58.3667 59.1542 58.5066C59.3043 58.6466 59.4075 58.8293 59.45 59.0301C59.4898 59.2466 59.4805 59.4693 59.4229 59.6818C59.3653 59.8943 59.2609 60.0912 59.1172 60.258C58.8125 60.6283 58.4208 60.9175 57.9773 61.0998C57.5337 61.2821 57.0519 61.3519 56.5748 61.3029C56.0567 61.2673 55.5567 61.0976 55.1239 60.8104C54.6624 60.5152 54.3223 60.0641 54.1655 59.5392C54.0892 59.2643 54.1055 58.9719 54.2121 58.7073C54.3346 58.4399 54.5567 58.2309 54.8311 58.1249C54.9684 58.0645 55.1196 58.0424 55.2684 58.0612C55.4173 58.0799 55.5583 58.1388 55.6763 58.2314C55.7896 58.332 55.8763 58.4591 55.9285 58.6014C55.9808 58.7437 55.997 58.8966 55.9758 59.0467C55.9463 59.3399 55.847 59.6217 55.6863 59.8687C55.5223 60.1046 55.3225 60.3134 55.094 60.4876C54.6468 60.8263 54.1193 61.0431 53.5632 61.1166C53.04 61.2041 52.5031 61.1538 52.0053 60.9706C51.5075 60.7873 51.0661 60.4775 50.7246 60.0717C50.5681 59.872 50.461 59.6383 50.4118 59.3895C50.3656 59.1431 50.397 58.8884 50.5016 58.6607C50.552 58.5496 50.6247 58.4501 50.7152 58.3682C50.8056 58.2864 50.9119 58.2239 51.0274 58.1848C51.2565 58.119 51.5019 58.1403 51.7162 58.2447C51.9185 58.3357 52.0918 58.4808 52.2168 58.664C52.3419 58.8472 52.414 59.0614 52.4251 59.283C52.4208 59.6903 52.2572 60.0797 51.9692 60.3678C51.7287 60.6135 51.438 60.8044 51.1169 60.9273C50.7958 61.0502 50.452 61.1023 50.1089 61.08C49.5924 61.0567 49.0915 60.8959 48.658 60.6141C48.3841 60.4397 48.1467 60.2136 47.9592 59.9485C47.8933 59.8572 47.8354 59.7603 47.7861 59.659C47.7861 59.659 47.8427 59.7588 47.9758 59.9352C48.1679 60.1932 48.4073 60.4123 48.6813 60.5808C49.1109 60.852 49.6046 61.0047 50.1123 61.0234C50.4444 61.0433 50.7769 60.9918 51.0874 60.8724C51.398 60.753 51.6793 60.5685 51.9126 60.3312C52.1851 60.0554 52.3391 59.684 52.3419 59.2963C52.3299 59.0907 52.2615 58.8925 52.144 58.7234C52.0266 58.5543 51.8647 58.4209 51.6763 58.3379C51.4821 58.2416 51.259 58.2214 51.0507 58.2813C50.9469 58.3173 50.8517 58.3743 50.771 58.4487C50.6903 58.5231 50.6257 58.6134 50.5815 58.7139C50.4869 58.9222 50.4579 59.1543 50.4983 59.3795C50.5475 59.6127 50.65 59.8314 50.7978 60.0184C51.13 60.409 51.5581 60.7064 52.04 60.8814C52.5219 61.0565 53.0411 61.1031 53.5465 61.0167C54.0849 60.9469 54.5956 60.7369 55.0274 60.4078C55.2462 60.2416 55.4372 60.0417 55.5931 59.8154C55.7459 59.5828 55.8406 59.3169 55.8693 59.04C55.8888 58.9068 55.875 58.7708 55.8291 58.6442C55.7833 58.5176 55.7067 58.4044 55.6064 58.3146C55.5029 58.233 55.3789 58.1814 55.248 58.1656C55.1171 58.1497 54.9844 58.1702 54.8643 58.2247C54.6164 58.3214 54.4151 58.5097 54.3019 58.7505C54.2056 58.9957 54.1916 59.2654 54.262 59.5192C54.4115 60.0199 54.7364 60.4499 55.1771 60.7306C55.5964 61.0086 56.0799 61.1747 56.5815 61.2131C57.0428 61.2616 57.5091 61.196 57.9391 61.0219C58.3691 60.8478 58.7497 60.5706 59.0474 60.2147C59.1825 60.0578 59.281 59.8728 59.3357 59.673C59.3904 59.4733 59.3999 59.2639 59.3635 59.06C59.3272 58.8736 59.2336 58.7032 59.0958 58.5725C58.958 58.4419 58.7828 58.3575 58.5948 58.3312C58.4224 58.3299 58.2534 58.3785 58.1081 58.4712C57.9628 58.564 57.8475 58.6968 57.7761 58.8537C57.708 58.993 57.6725 59.1461 57.6725 59.3013C57.6725 59.4564 57.708 59.6095 57.7761 59.7489C57.8866 59.9754 58.045 60.1752 58.2404 60.3343C58.4357 60.4935 58.6634 60.6083 58.9076 60.6707C59.2178 60.7562 59.5376 60.802 59.8593 60.8071H60.1921L60.1988 60.8171Z",fill:"white"}),(0,e.createElement)("path",{d:"M58.9015 67.1383L58.7351 67.2514C58.6253 67.3213 58.4655 67.4278 58.2525 67.5576C57.9968 67.7221 57.7233 67.8571 57.4372 67.9603C57.0508 68.0843 56.6415 68.1207 56.2392 68.0667C55.7419 68.0404 55.267 67.8509 54.8882 67.5276C54.6827 67.3325 54.5501 67.073 54.5121 66.7922C54.4936 66.6421 54.5145 66.4898 54.5729 66.3503C54.6312 66.2108 54.725 66.089 54.8449 65.9969C54.9699 65.8983 55.122 65.8403 55.2808 65.8305C55.4474 65.8247 55.6101 65.8817 55.7367 65.9902C55.8597 66.1026 55.9507 66.2456 56.0004 66.4046C56.0501 66.5636 56.0567 66.7329 56.0196 66.8954C55.9345 67.2244 55.7425 67.5159 55.4739 67.724C55.2104 67.9399 54.9137 68.1119 54.5953 68.2331C53.9622 68.47 53.2729 68.5129 52.6153 68.3563C51.9932 68.2344 51.4423 67.8767 51.0778 67.3579C50.9955 67.231 50.9449 67.0861 50.9305 66.9355C50.916 66.7849 50.938 66.633 50.9947 66.4927C51.0566 66.3632 51.15 66.2512 51.2662 66.167C51.3824 66.0827 51.5179 66.0288 51.6602 66.0102C51.7299 66.0015 51.8007 66.007 51.8681 66.0265C51.9356 66.0459 51.9985 66.0789 52.0529 66.1233C52.1557 66.2092 52.228 66.3259 52.2592 66.4561C52.287 66.5753 52.2889 66.699 52.2648 66.819C52.2407 66.939 52.1911 67.0524 52.1194 67.1516C51.8624 67.4745 51.5148 67.7133 51.1211 67.8371C50.8322 67.9362 50.5279 67.9824 50.2226 67.9736C50.03 67.9695 49.8387 67.9404 49.6536 67.887C49.5888 67.8694 49.5254 67.8472 49.4639 67.8205C49.711 67.8899 49.9659 67.9279 50.2226 67.9336C50.5223 67.9361 50.82 67.8843 51.1011 67.7806C51.4749 67.6567 51.8037 67.4252 52.0462 67.115C52.1118 67.025 52.1571 66.9219 52.179 66.8128C52.2008 66.7036 52.1987 66.591 52.1727 66.4827C52.1486 66.3679 52.083 66.266 51.9884 66.1966C51.8939 66.1272 51.777 66.0952 51.6602 66.1067C51.5337 66.1251 51.4137 66.1746 51.3109 66.2507C51.2082 66.3267 51.1258 66.427 51.0712 66.5426C51.0218 66.6696 51.0035 66.8066 51.018 66.9421C51.0325 67.0776 51.0792 67.2076 51.1544 67.3213C51.506 67.8185 52.0369 68.1597 52.6352 68.2731C53.2719 68.4242 53.9392 68.3825 54.5521 68.1533C54.8594 68.0355 55.1459 67.8692 55.4006 67.6608C55.6497 67.4662 55.8275 67.1948 55.9065 66.8887C55.9399 66.7434 55.9344 66.5918 55.8906 66.4492C55.8468 66.3067 55.7662 66.1782 55.6569 66.0767C55.5491 65.9866 55.413 65.9371 55.2725 65.9371C55.132 65.9371 54.9959 65.9866 54.8882 66.0767C54.7792 66.158 54.6938 66.2668 54.6406 66.3919C54.5874 66.517 54.5683 66.654 54.5853 66.7889C54.6172 67.047 54.7343 67.2871 54.9181 67.4711C55.2812 67.7841 55.7373 67.9689 56.2159 67.9969C56.6082 68.0545 57.0084 68.0238 57.3873 67.907C57.672 67.8102 57.9453 67.6831 58.2026 67.5276L58.6952 67.2381C58.8316 67.1682 58.9015 67.1383 58.9015 67.1383Z",fill:"white"}),(0,e.createElement)("path",{d:"M63.8936 49.3867C64.03 49.4512 64.1548 49.5378 64.263 49.643C64.5688 49.9281 64.7634 50.3125 64.8121 50.7278C64.8436 51.0138 64.8083 51.3031 64.7089 51.5731C64.5876 51.8827 64.3881 52.1556 64.1299 52.3651C63.842 52.5969 63.4973 52.7475 63.1315 52.801C62.9398 52.8326 62.7442 52.8326 62.5525 52.801C62.3438 52.776 62.1529 52.671 62.02 52.5082C61.9869 52.4602 61.9646 52.4056 61.9549 52.3481C61.9451 52.2906 61.948 52.2316 61.9635 52.1754C61.9966 52.0713 62.0618 51.9804 62.1498 51.9158C62.3163 51.8028 62.5145 51.7457 62.7155 51.7528C62.9032 51.7536 63.0886 51.793 63.2604 51.8686C63.4321 51.9442 63.5865 52.0543 63.7139 52.192C63.9412 52.4385 64.0764 52.7559 64.0966 53.0905C64.1178 53.379 64.0675 53.6682 63.9502 53.9325C63.7755 54.3103 63.49 54.626 63.1315 54.8376C63.0369 54.8963 62.9379 54.9475 62.8354 54.9907C62.7992 55.0072 62.7612 55.0195 62.7222 55.0273C62.7222 55.0273 62.872 54.9608 63.1082 54.8044C63.4507 54.5877 63.7234 54.2769 63.8936 53.9092C64.0001 53.6561 64.0435 53.3808 64.02 53.1072C63.9997 52.7915 63.8703 52.4927 63.654 52.2619C63.5361 52.137 63.3944 52.0371 63.2372 51.9679C63.08 51.8987 62.9106 51.8618 62.7388 51.8593C62.5602 51.8544 62.3844 51.9056 62.2363 52.0057C62.1666 52.0521 62.1168 52.123 62.0971 52.2045C62.0774 52.2859 62.0891 52.3718 62.1299 52.445C62.2456 52.5859 62.4113 52.6765 62.5924 52.6979C62.7744 52.7262 62.9596 52.7262 63.1415 52.6979C63.4866 52.6452 63.8121 52.5042 64.0866 52.2885C64.283 52.1362 64.4447 51.9437 64.5609 51.724C64.6771 51.5043 64.7452 51.2623 64.7606 51.0142C64.776 50.7662 64.7384 50.5176 64.6503 50.2852C64.5622 50.0528 64.4257 49.8418 64.2497 49.6663C64.1359 49.567 64.017 49.4737 63.8936 49.3867Z",fill:"white"}),(0,e.createElement)("path",{d:"M68.7686 48.2031C68.837 48.2582 68.8927 48.3274 68.9317 48.4061C68.9791 48.5007 68.9976 48.6072 68.9849 48.7123C68.9646 48.847 68.9195 48.9768 68.8518 49.095C68.6904 49.4055 68.4853 49.6913 68.2428 49.9436C67.9397 50.2335 67.6656 50.5523 67.4242 50.8953C67.0182 51.543 66.8272 52.3023 66.8784 53.065C66.9093 53.38 66.9672 53.6917 67.0515 53.9968C67.0078 53.9213 66.9731 53.8408 66.9483 53.7572C66.8766 53.5344 66.8287 53.3046 66.8052 53.0717C66.7303 52.29 66.9176 51.5056 67.3376 50.8421C67.5805 50.4913 67.8606 50.1677 68.1729 49.877C68.413 49.6342 68.619 49.3599 68.7852 49.0617C68.8548 48.9518 68.9033 48.8299 68.9283 48.7023C68.9427 48.6078 68.9312 48.5112 68.8951 48.4228C68.8252 48.2763 68.7586 48.2098 68.7686 48.2031Z",fill:"white"}),(0,e.createElement)("path",{d:"M72.4385 52.1325C72.2836 52.2055 72.1137 52.2408 71.9426 52.2356C71.7062 52.2355 71.4734 52.1776 71.2646 52.0668C71.0557 51.956 70.8772 51.7957 70.7446 51.6C70.5738 51.2971 70.4786 50.9574 70.467 50.6098C70.4554 50.2622 70.5278 49.917 70.6781 49.6033C70.8346 49.2201 71.088 48.8841 71.4135 48.6283C71.5908 48.4883 71.7984 48.3916 72.0196 48.3459C72.2409 48.3003 72.4698 48.307 72.688 48.3654C72.9111 48.4242 73.1069 48.5584 73.2422 48.7453C73.3775 48.9321 73.4439 49.1601 73.4301 49.3904C73.4266 49.5006 73.3998 49.6088 73.3517 49.708C73.3035 49.8072 73.235 49.8951 73.1506 49.9661C72.9898 50.1 72.7875 50.1741 72.5782 50.1757C72.3891 50.1815 72.2007 50.1494 72.0241 50.0814C71.8476 50.0134 71.6863 49.9109 71.5499 49.7797C71.3143 49.5543 71.1421 49.2708 71.0508 48.9577C70.9155 48.5053 70.945 48.0195 71.134 47.5867C71.2019 47.429 71.299 47.2856 71.4202 47.1641C71.3255 47.3031 71.2431 47.4501 71.1739 47.6033C71.0024 48.0275 70.9836 48.498 71.1207 48.9344C71.213 49.2332 71.3816 49.5027 71.6098 49.7165C71.7378 49.8383 71.8888 49.9333 72.0539 49.9962C72.219 50.059 72.395 50.0884 72.5716 50.0825C72.76 50.0793 72.9418 50.0124 73.0874 49.8928C73.1603 49.8299 73.2193 49.7523 73.2606 49.6652C73.3018 49.5781 73.3245 49.4834 73.327 49.387C73.3369 49.1807 73.2764 48.9772 73.1555 48.8097C73.0345 48.6422 72.8604 48.5208 72.6614 48.4652C72.4591 48.4117 72.2472 48.4058 72.0422 48.4479C71.8372 48.4901 71.6448 48.5792 71.4801 48.7082C71.1676 48.9526 70.9234 49.2735 70.7712 49.6399C70.6222 49.9412 70.548 50.2739 70.555 50.6099C70.5619 50.9459 70.6498 51.2753 70.8112 51.5701C70.9357 51.7591 71.1037 51.9154 71.3012 52.026C71.4986 52.1366 71.7197 52.1982 71.946 52.2057C72.1126 52.2028 72.2782 52.1782 72.4385 52.1325Z",fill:"white"}),(0,e.createElement)("path",{d:"M75.0713 45.4062C75.1423 45.425 75.2106 45.4529 75.2743 45.4894C75.4527 45.5812 75.6201 45.6928 75.7735 45.8222C76.0035 46.0136 76.1974 46.2446 76.3458 46.5044C76.5255 46.8236 76.6524 47.1697 76.7219 47.5294C76.8503 48.1855 76.7737 48.8652 76.5022 49.4761C76.4194 49.6585 76.3191 49.8323 76.2027 49.9953C76.1616 50.056 76.1136 50.1119 76.0596 50.1617C76.1976 49.9305 76.322 49.6917 76.4324 49.4462C76.6792 48.8459 76.7451 48.1866 76.622 47.5493C76.5531 47.2004 76.4319 46.8638 76.2626 46.551C76.12 46.3025 75.9392 46.0779 75.7269 45.8855C75.5188 45.7118 75.2999 45.5518 75.0713 45.4062Z",fill:"white"}),(0,e.createElement)("path",{d:"M80.5322 47.4168C80.3977 47.473 80.255 47.5067 80.1096 47.5166C79.9374 47.5303 79.7641 47.5145 79.5971 47.47C79.3752 47.4032 79.176 47.2766 79.0214 47.104C78.8195 46.8811 78.6692 46.6164 78.5812 46.3289C78.4932 46.0413 78.4696 45.7378 78.5122 45.4401C78.5348 45.2616 78.5944 45.0897 78.6872 44.9355C78.78 44.7814 78.9041 44.6483 79.0513 44.5449C79.2098 44.4341 79.3971 44.3716 79.5904 44.3652C79.7928 44.3576 79.9908 44.4251 80.1462 44.5549C80.306 44.6804 80.4109 44.8629 80.439 45.0641C80.4496 45.1616 80.4403 45.2602 80.4117 45.354C80.3831 45.4478 80.3358 45.5348 80.2726 45.6098C80.1526 45.7457 80.0006 45.8494 79.8303 45.9116C79.66 45.9738 79.4769 45.9925 79.2976 45.9659C78.9993 45.9358 78.7119 45.8376 78.4574 45.6789C78.203 45.5203 77.9884 45.3054 77.83 45.0508C77.693 44.8566 77.624 44.6226 77.6337 44.3852C77.6498 44.2132 77.696 44.0454 77.7701 43.8894C77.8267 43.7596 77.8766 43.6631 77.9099 43.5965C77.9253 43.5624 77.9443 43.5301 77.9665 43.5C77.9579 43.5366 77.9456 43.5723 77.9299 43.6065C77.8933 43.693 77.8533 43.7928 77.8101 43.9027C77.7425 44.0553 77.7019 44.2186 77.6903 44.3852C77.6902 44.6053 77.7602 44.8197 77.8899 44.9975C78.0468 45.2373 78.2551 45.4391 78.4998 45.5882C78.7444 45.7373 79.0193 45.8299 79.3043 45.8594C79.4683 45.882 79.6355 45.8634 79.7906 45.8053C79.9457 45.7472 80.0839 45.6514 80.1928 45.5266C80.2471 45.462 80.288 45.3873 80.3132 45.3067C80.3383 45.2262 80.3472 45.1414 80.3392 45.0574C80.3113 44.8825 80.2186 44.7245 80.0796 44.6148C79.9398 44.509 79.7692 44.4517 79.5938 44.4517C79.4184 44.4517 79.2478 44.509 79.1079 44.6148C78.9718 44.71 78.857 44.8326 78.7711 44.9747C78.6851 45.1168 78.6298 45.2753 78.6087 45.4401C78.5659 45.7237 78.5854 46.0132 78.6659 46.2885C78.7463 46.5638 78.8858 46.8182 79.0746 47.0341C79.2025 47.1791 79.3622 47.2927 79.5411 47.3659C79.72 47.4392 79.9134 47.4703 80.1063 47.4567C80.2489 47.4512 80.3911 47.4379 80.5322 47.4168Z",fill:"white"}),(0,e.createElement)("path",{d:"M58.9381 63.8926C58.8483 63.9986 58.7442 64.0916 58.6287 64.1688C58.3169 64.3893 57.9655 64.5475 57.5937 64.6347C57.0425 64.758 56.4749 64.7906 55.9132 64.7312C55.2321 64.6462 54.5581 64.5116 53.8965 64.3286C53.2435 64.1526 52.5747 64.0411 51.8999 63.9958C51.3399 63.9616 50.7787 64.0396 50.2493 64.2254C49.8962 64.3492 49.5699 64.5389 49.2876 64.7845C49.0946 64.9642 49.008 65.0873 48.998 65.0806C49.0709 64.9588 49.1593 64.8469 49.2609 64.7479C49.5371 64.4836 49.8644 64.2786 50.2227 64.1455C50.7547 63.9503 51.3204 63.8632 51.8866 63.8893C52.5727 63.9311 53.2529 64.0426 53.9165 64.2221C54.5719 64.4033 55.2391 64.5389 55.9132 64.6281C56.4681 64.6937 57.03 64.6689 57.5771 64.5549C58.0765 64.4443 58.5429 64.2174 58.9381 63.8926Z",fill:"white"}),(0,e.createElement)("path",{d:"M44.8447 53.7098C44.9352 53.6493 45.0369 53.6075 45.1438 53.587C45.2506 53.5664 45.3606 53.5674 45.467 53.59C45.717 53.6469 45.9505 53.7608 46.1492 53.9228C46.3921 54.0925 46.6317 54.3188 46.9246 54.5451C47.2174 54.7714 47.487 55.0775 47.8231 55.3404C48.1836 55.6168 48.6044 55.8038 49.051 55.8862C50.0926 56.0291 51.1533 55.8769 52.1126 55.4469C53.1476 55.0309 54.1093 54.5284 55.051 54.2755C55.4972 54.1434 55.9601 54.0762 56.4254 54.0759C56.8313 54.0864 57.2331 54.1593 57.6168 54.2922C58.181 54.4688 58.6704 54.8282 59.0078 55.3138C59.0623 55.3882 59.1081 55.4686 59.1442 55.5534C59.1768 55.6124 59.2024 55.6749 59.2208 55.7398C59.2407 55.7916 59.2563 55.845 59.2674 55.8995C59.1875 55.7033 59.0894 55.515 58.9745 55.3371C58.6318 54.8705 58.1474 54.5273 57.5935 54.3587C57.2157 54.2369 56.8223 54.1707 56.4254 54.1624C55.9689 54.1673 55.5153 54.2356 55.0777 54.3654C54.1426 54.6216 53.1941 55.1241 52.1492 55.5434C51.173 55.9802 50.093 56.1314 49.0344 55.9794C48.5733 55.8922 48.1397 55.6959 47.7699 55.407C47.4371 55.1341 47.1542 54.8379 46.878 54.5983C46.6018 54.3587 46.3456 54.1391 46.1159 53.9694C45.9221 53.8096 45.6945 53.6958 45.4504 53.6366C45.2457 53.5992 45.0346 53.6247 44.8447 53.7098Z",fill:"white"}),(0,e.createElement)("path",{d:"M59.9657 49.8164C59.9903 49.9046 60.007 49.9948 60.0156 50.086C60.0414 50.3476 60.0246 50.6117 59.9657 50.868C59.8699 51.2742 59.6807 51.6525 59.4133 51.9728C59.0562 52.402 58.5587 52.6908 58.0089 52.7881C57.3395 52.8965 56.6539 52.7454 56.0921 52.3655C55.7733 52.1594 55.5176 51.8692 55.3534 51.5269C55.31 51.4315 55.2929 51.3263 55.304 51.2221C55.3152 51.1179 55.354 51.0186 55.4166 50.9345C55.4834 50.8528 55.5663 50.7858 55.6603 50.7377C55.7542 50.6896 55.857 50.6615 55.9624 50.655C56.0705 50.642 56.1801 50.6528 56.2836 50.6867C56.3871 50.7207 56.4819 50.7769 56.5613 50.8513C56.7124 51.0121 56.803 51.2203 56.8176 51.4404C56.8317 51.6634 56.7893 51.8864 56.6945 52.0888C56.5998 52.2912 56.4555 52.4665 56.2752 52.5984C55.9096 52.8647 55.4943 53.0548 55.0539 53.1575C54.611 53.2922 54.1486 53.3507 53.6861 53.3305C53.2153 53.3064 52.7634 53.1379 52.3916 52.848C52.2092 52.708 52.0604 52.529 51.9562 52.324C51.8519 52.119 51.7949 51.8932 51.7893 51.6633C51.7771 51.4392 51.8272 51.216 51.9341 51.0187C52.041 50.8213 52.2005 50.6574 52.395 50.5452C52.5877 50.4462 52.8053 50.406 53.0206 50.4296C53.236 50.4533 53.4397 50.5398 53.6063 50.6783C53.7511 50.8248 53.8471 51.0125 53.881 51.2156C53.915 51.4188 53.8853 51.6275 53.796 51.8131C53.6374 52.1629 53.3537 52.4407 53.0006 52.5918C52.3825 52.8575 51.7025 52.9451 51.0372 52.8447C50.0715 52.7061 49.1843 52.2355 48.5281 51.5136C48.3531 51.3209 48.1991 51.11 48.0688 50.8846C47.9823 50.7249 47.9424 50.6417 47.9424 50.6417C48.118 50.9439 48.3243 51.2271 48.558 51.487C49.2186 52.182 50.0968 52.6305 51.0472 52.7582C51.6975 52.8514 52.361 52.7627 52.964 52.5019C53.2957 52.3575 53.5624 52.0956 53.7128 51.7665C53.7933 51.5976 53.8198 51.408 53.7889 51.2234C53.7579 51.0389 53.6709 50.8683 53.5397 50.7349C53.3881 50.6101 53.203 50.5328 53.0077 50.5127C52.8124 50.4926 52.6154 50.5305 52.4415 50.6217C52.2635 50.7244 52.1178 50.8747 52.0207 51.0559C51.9237 51.237 51.8793 51.4416 51.8925 51.6467C51.8973 51.8621 51.9506 52.0736 52.0486 52.2655C52.1465 52.4573 52.2866 52.6246 52.4582 52.7548C52.8128 53.031 53.2439 53.1913 53.6928 53.2141C54.1429 53.233 54.593 53.1756 55.0239 53.0444C55.4504 52.9444 55.853 52.7612 56.2086 52.5053C56.3746 52.3829 56.5077 52.2212 56.596 52.0348C56.6843 51.8484 56.725 51.643 56.7144 51.437C56.7049 51.2392 56.6246 51.0514 56.4881 50.9079C56.4196 50.8428 56.3375 50.7936 56.2478 50.7637C56.1581 50.7338 56.0629 50.7239 55.969 50.7349C55.8765 50.7415 55.7863 50.7664 55.7034 50.8081C55.6206 50.8498 55.5469 50.9075 55.4865 50.9778C55.4345 51.0497 55.4026 51.1341 55.3938 51.2223C55.385 51.3106 55.3998 51.3996 55.4366 51.4803C55.5932 51.8047 55.8347 52.0807 56.1354 52.279C56.6778 52.6516 57.3421 52.8028 57.9923 52.7016C58.5281 52.6127 59.0151 52.3368 59.3667 51.9229C59.6308 51.6099 59.8207 51.2414 59.9224 50.8447C60.0046 50.5082 60.0193 50.1587 59.9657 49.8164Z",fill:"white"}),(0,e.createElement)("path",{d:"M42.9844 55.6342C43.0269 55.612 43.0715 55.5942 43.1175 55.5809C43.204 55.5477 43.3371 55.5044 43.5068 55.4578C43.9969 55.3138 44.5207 55.3348 44.9977 55.5177C45.3274 55.6464 45.6217 55.8517 45.8563 56.1167C46.13 56.4218 46.2899 56.8121 46.3088 57.2215C46.3151 57.4571 46.2702 57.6913 46.1774 57.9079C46.0847 58.1246 45.9461 58.3186 45.7713 58.4766C45.5965 58.6347 45.3895 58.7531 45.1647 58.8236C44.9398 58.8942 44.7023 58.9153 44.4686 58.8854C44.2207 58.8581 43.9878 58.7533 43.803 58.5859C43.7122 58.5034 43.6445 58.3986 43.6065 58.2819C43.5686 58.1651 43.5618 58.0405 43.5867 57.9204C43.6521 57.693 43.7945 57.4954 43.9894 57.3613C44.1679 57.2297 44.3719 57.1368 44.5884 57.0884C44.9567 56.997 45.3419 56.9977 45.7099 57.0906C46.0779 57.1835 46.4173 57.3656 46.6982 57.6209C47.0731 57.9747 47.32 58.4428 47.4003 58.952C47.4301 59.1349 47.4301 59.3215 47.4003 59.5044C47.3979 59.3216 47.3824 59.1392 47.3538 58.9586C47.2593 58.4701 47.0109 58.0246 46.6449 57.6874C46.3707 57.4455 46.0415 57.2741 45.686 57.1883C45.3305 57.1025 44.9594 57.1047 44.605 57.1949C44.4019 57.2426 44.2106 57.3309 44.0426 57.4545C43.8669 57.5747 43.7387 57.7524 43.6799 57.957C43.6558 58.0618 43.6604 58.1712 43.6932 58.2737C43.7259 58.3762 43.7857 58.4679 43.8662 58.5393C44.0374 58.6931 44.253 58.7886 44.4819 58.8122C44.7008 58.84 44.9231 58.8202 45.1337 58.7544C45.3443 58.6886 45.5383 58.5783 45.7024 58.4308C45.8666 58.2834 45.9971 58.1024 46.0851 57.9C46.1731 57.6977 46.2165 57.4787 46.2123 57.2581C46.1988 56.869 46.0493 56.4968 45.7897 56.2066C45.5679 55.9483 45.2871 55.7474 44.9711 55.6209C44.5089 55.4341 43.9985 55.4025 43.5168 55.531C43.3438 55.5709 43.214 55.6076 43.1241 55.6342C43.0776 55.6377 43.0309 55.6377 42.9844 55.6342Z",fill:"white"}),(0,e.createElement)("path",{d:"M44.4117 62.8518C44.4467 62.7607 44.457 62.662 44.4417 62.5656C44.3873 62.3006 44.2735 62.0514 44.1089 61.8368C43.9901 61.6806 43.831 61.5597 43.6486 61.487C43.4663 61.4143 43.2677 61.3926 43.0739 61.4242C42.628 61.4242 42.1455 61.6405 41.5997 61.5972C41.1322 61.5756 40.6919 61.3707 40.3743 61.0269C40.0567 60.6831 39.8872 60.2281 39.9026 59.7603C39.8909 59.4812 39.964 59.2051 40.1122 58.9683C40.1646 58.8811 40.2364 58.8071 40.3219 58.752C40.3219 58.752 40.242 58.8252 40.1455 58.9882C40.0177 59.2246 39.9589 59.4921 39.9758 59.7603C39.9801 60.1577 40.1132 60.5431 40.3551 60.8584C40.5112 61.0421 40.7021 61.1928 40.9169 61.3019C41.1317 61.411 41.3661 61.4764 41.6064 61.494C42.1189 61.534 42.6047 61.3443 43.0706 61.3277C43.2969 61.3106 43.5241 61.3436 43.7362 61.4242C43.92 61.4972 44.0761 61.6265 44.1821 61.7936C44.3426 62.0215 44.4443 62.2856 44.4783 62.5623C44.4885 62.6125 44.4878 62.6643 44.4763 62.7142C44.4648 62.7642 44.4428 62.8111 44.4117 62.8518Z",fill:"white"}),(0,e.createElement)("path",{d:"M40.7387 70.2847C40.8964 70.271 41.0506 70.2305 41.1946 70.1649C41.3577 70.0805 41.4887 69.9449 41.5673 69.7789C41.6558 69.5513 41.6799 69.3038 41.6372 69.0634C41.5935 68.7675 41.5211 68.4766 41.4209 68.1948C41.3338 67.8651 41.1835 67.5554 40.9783 67.283C40.8643 67.1405 40.7135 67.032 40.5422 66.9692C40.3709 66.9065 40.1856 66.8918 40.0066 66.9269C39.9155 66.9509 39.8314 66.996 39.7608 67.0584C39.6903 67.1208 39.6354 67.1989 39.6006 67.2863C39.5324 67.4722 39.5324 67.6762 39.6006 67.8621C39.6737 68.0443 39.8017 68.1993 39.9669 68.3054C40.1321 68.4116 40.3262 68.4637 40.5224 68.4544C40.8977 68.4507 41.2601 68.3166 41.5473 68.075C42.0329 67.6541 42.428 67.139 42.7087 66.5609C42.9057 66.1735 43.033 65.7544 43.0848 65.3229C43.1147 65.0168 43.0848 64.8438 43.1081 64.8438C43.1336 65.0033 43.1392 65.1654 43.1247 65.3263C43.088 65.7659 42.9695 66.1948 42.7753 66.5908C42.499 67.1867 42.0998 67.7175 41.6039 68.1482C41.3035 68.4084 40.9198 68.5524 40.5224 68.5542C40.3101 68.5541 40.1015 68.4991 39.9167 68.3945C39.7213 68.2859 39.5739 68.1077 39.5041 67.8953C39.4257 67.6861 39.4257 67.4556 39.5041 67.2464C39.5451 67.1447 39.6091 67.054 39.6911 66.9812C39.773 66.9084 39.8708 66.8557 39.9766 66.8271C40.1744 66.7873 40.3793 66.8033 40.5685 66.8732C40.7578 66.9431 40.9238 67.0643 41.0482 67.2231C41.2601 67.5051 41.414 67.8263 41.5007 68.1682C41.5977 68.4571 41.6668 68.7547 41.7071 69.0567C41.7459 69.3098 41.7149 69.5688 41.6172 69.8055C41.5287 69.9794 41.3847 70.1188 41.2079 70.2015C41.0984 70.2533 40.9796 70.2828 40.8585 70.288C40.8186 70.2923 40.7783 70.2912 40.7387 70.2847Z",fill:"white"}),(0,e.createElement)("path",{d:"M45.1113 72.847C45.1991 72.8369 45.2852 72.8156 45.3676 72.7838C45.5867 72.6806 45.7565 72.4953 45.8401 72.268C45.9554 71.9269 45.9376 71.5548 45.7902 71.2264C45.6538 70.8437 45.4075 70.4576 45.2578 69.9917C45.1788 69.7654 45.1482 69.5251 45.1679 69.2862C45.1937 69.0618 45.2761 68.8477 45.4075 68.664C45.6353 68.3605 45.9629 68.1472 46.3326 68.0616C46.5767 68.004 46.8289 67.9894 47.0781 68.0184C47.1701 68.0226 47.2609 68.0405 47.3476 68.0716C47.0136 68.0409 46.6768 68.0622 46.3493 68.1348C46.0013 68.2231 45.6952 68.4303 45.484 68.7205C45.361 68.8895 45.2852 69.0882 45.2644 69.2962C45.2488 69.5219 45.2794 69.7483 45.3543 69.9618C45.494 70.4077 45.7403 70.7971 45.8767 71.1931C46.0276 71.543 46.0372 71.9378 45.9033 72.2946C45.8566 72.4135 45.7861 72.5217 45.6963 72.6127C45.6065 72.7036 45.4992 72.7754 45.3809 72.8237C45.2952 72.8576 45.2015 72.8657 45.1113 72.847Z",fill:"white"}),(0,e.createElement)("path",{d:"M47.1641 59.8336C47.2636 59.6852 47.3749 59.545 47.4968 59.4143C47.7065 59.1547 48.0226 58.782 48.4186 58.3294C48.8146 57.8769 49.2872 57.3311 49.793 56.7288C50.0459 56.4226 50.3055 56.0998 50.5684 55.7571C50.847 55.4138 51.089 55.0424 51.2905 54.6489C51.6959 53.8986 51.9236 53.0652 51.9561 52.213C51.9752 51.5186 51.7275 50.8434 51.2639 50.3261C50.9471 49.9822 50.5284 49.7489 50.0692 49.6605C49.8993 49.6379 49.7282 49.6246 49.5567 49.6206C49.5567 49.6206 49.6 49.6206 49.6899 49.5907C49.8191 49.5739 49.95 49.5739 50.0792 49.5907C50.5642 49.6599 51.0124 49.8882 51.3538 50.2396C51.8522 50.7748 52.1252 51.4816 52.1158 52.213C52.0949 53.0922 51.8669 53.9542 51.4503 54.7288C51.2451 55.1312 50.9975 55.5105 50.7115 55.8602C50.4453 56.193 50.179 56.5258 49.9228 56.8319C49.407 57.4376 48.9245 57.9667 48.5151 58.4093L47.5534 59.4576C47.4341 59.5933 47.3039 59.7191 47.1641 59.8336Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M43.4504 64.4082C43.0885 64.6058 42.701 64.7525 42.299 64.8441C41.9134 64.9908 41.5089 65.0816 41.0977 65.1137C41.4596 64.9161 41.847 64.7694 42.2491 64.6778C42.6346 64.5311 43.0392 64.4403 43.4504 64.4082Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M43.3006 64.3652C43.3272 64.4085 42.9312 64.6548 42.5518 65.0707C42.1725 65.4867 41.9528 65.896 41.9062 65.8727C42.0028 65.5291 42.1796 65.2132 42.422 64.9512C42.6644 64.6891 42.9655 64.4883 43.3006 64.3652Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M60.0657 56.4727C59.9091 56.2598 59.7795 56.0285 59.6797 55.7838C59.405 55.2122 59.1628 54.6256 58.9542 54.0267C58.7422 53.4295 58.5644 52.8206 58.4218 52.2031C58.345 51.9514 58.3013 51.6907 58.292 51.4277C58.3978 51.6677 58.4803 51.9174 58.5382 52.1732C58.678 52.6357 58.871 53.2747 59.1173 53.9702C59.3635 54.6657 59.6098 55.3013 59.7828 55.7339C59.9003 55.9706 59.995 56.218 60.0657 56.4727Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M56.5483 59.6609C56.4478 59.9091 56.2997 60.1352 56.1124 60.3265C55.678 60.8211 55.1392 61.2132 54.535 61.4745C53.9308 61.7357 53.2761 61.8596 52.6182 61.8373C52.3471 61.8409 52.078 61.7912 51.8262 61.6909C51.8262 61.6609 52.1323 61.7208 52.6215 61.7142C53.2569 61.7055 53.8843 61.571 54.4675 61.3186C55.0506 61.0661 55.578 60.7007 56.0192 60.2433C56.3586 59.9005 56.5217 59.6443 56.5483 59.6609Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M54.2421 76.1064C54.2421 76.1064 51.9426 76.6056 51.6364 76.3527C51.3303 76.0997 52.0757 75.8269 52.0757 75.8269C52.0757 75.8269 51.4102 75.9067 51.4102 75.6671C51.4102 75.4275 51.6498 75.2578 51.6498 75.2578L54.2421 76.1064Z",fill:"#E5BAAB"}),(0,e.createElement)("path",{d:"M51.1245 71.6426C51.1245 71.6426 54.3558 73.1001 54.3957 73.2133C54.4357 73.3264 54.5355 75.6293 54.2293 76.1051C53.9232 76.581 49.6836 74.2582 49.6836 74.2582L51.1245 71.6426Z",fill:"#E5BAAB"}),(0,e.createElement)("path",{d:"M53.5137 75.5659C53.4597 75.5747 53.4047 75.5747 53.3507 75.5659L52.9114 75.5094C52.4271 75.4452 51.9486 75.3428 51.4804 75.2032C51.0036 75.0691 50.5534 74.8541 50.1493 74.5676L49.7833 74.3147C49.6967 74.2548 49.6502 74.2215 49.6535 74.2148C49.7034 74.2374 49.7512 74.2641 49.7966 74.2947L50.1759 74.5243C50.5791 74.7944 51.0213 75.0009 51.4871 75.1366C51.953 75.2743 52.4263 75.3854 52.9047 75.4694L53.3407 75.546C53.3988 75.5476 53.4567 75.5542 53.5137 75.5659Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M53.5007 75.6235C53.264 75.7229 53.0139 75.7869 52.7586 75.8132C52.5064 75.8613 52.2489 75.8747 51.9932 75.8531C51.9932 75.8331 52.3259 75.8065 52.7486 75.7433C53.1712 75.6801 53.494 75.6069 53.5007 75.6235Z",fill:"#D78776"}))}var Zo={};function Ho(){var t,n,r=this,a=(0,e.useRef)(null),o=Va(),i=o.nextPayload,s=o.keywords,l=o.postHTML,c=function(t){var n=t.notaService,r=wr(),a=r.setGrade,o=r.setGradeLoading,i=r.setUrlsScore,s=r.setUrlsLoading,l=r.grade,c=r.urlsScore,u=r.setPostMetaData,d=window.notaTools.meta_keys,f=sa({key:d.grade_scores_history,serialize:!0,initialItem:{data:null,request:{}}}).data,p=sa({key:d.urls_score_history,serialize:!0,initialItem:{}}).data;(0,e.useEffect)((function(){var e=Ca(f),t=Ca(p);!l.data&&e.data&&a(e),ma(c)&&!ma(t)&&i(t)}),[l,f,p,a,i,c]);var h=oa((function(e){return da(void 0,void 0,void 0,(function(){return fa(this,(function(t){return o(!0),[2,n.getGradeScores(e)]}))}))}),{onSuccess:function(e,t){var n;u(((n={})[d.grade_scores_history]=JSON.stringify({data:e,request:t}),n)),a({data:e,request:t}),o(!1)},onError:function(){o(!1)}}),m=h.mutate,C=pa(h,["mutate"]),y=oa((function(e){return da(void 0,void 0,void 0,(function(){var t,r,a,o,i;return fa(this,(function(l){switch(l.label){case 0:return s(!0),t=e.urlsList?e.urlsList.reduce((function(e,t,n){return n%10==0&&e.push([]),e[e.length-1].push(t),e}),[]):[],r=t.slice(0,3),a=0,o=0,i=[],[4,Promise.all(r.map((function(e){return da(void 0,void 0,void 0,(function(){var t;return fa(this,(function(r){switch(r.label){case 0:return[4,n.getUrlsScore({urlsList:e})];case 1:return t=r.sent(),a+=t.totalUrls,o+=t.numInvalidUrls,i=ha(ha([],i,!0),t.listInvalidUrls,!0),[2]}}))}))})))];case 1:return l.sent(),[2,{totalUrls:a,numInvalidUrls:o,listInvalidUrls:i}]}}))}))}),{onSuccess:function(e){var t;u(((t={})[d.urls_score_history]=JSON.stringify(e),t)),i(e),s(!1)},onError:function(){s(!1)}}),g=y.mutate,v=pa(y,["mutate"]),w=(0,e.useCallback)((function(e){m(e),g(e)}),[m,g]);return{grade:{error:C.error,isLoading:C.isLoading,data:l,update:function(e){return m(e)}},urlsScore:{error:v.error,isLoading:v.isLoading,data:c,update:function(e){return g(e)}},run:w}}({notaService:wt}),d=wr(),f=d.grade,p=d.gradeIsLoading,h=f||{},m=h.data,C=h.request,y=(0,e.useState)(!1),g=y[0],v=y[1],w=(0,e.useRef)(!1),b=mr(i.content||"")<100,E=!(null==s?void 0:s.length),x=_a(),M=x.config,L=x.isLoading,S=Oa({notaService:wt,components:Zo,requestsToQueue:M.requestsToQueue}),A=(0,e.useCallback)((function(){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(r,void 0,void 0,(function(){return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(e){switch(e.label){case 0:return E?(S.keywordSynonyms.refresh({postHTML:l}),setTimeout((function(){w.current=!0}),1e3),[3,3]):[3,1];case 1:return[4,c.run(i)];case 2:e.sent(),e.label=3;case 3:return[2]}}))}))}),[c,S.keywordSynonyms,i,E,l]),O=S.keywordSynonyms.isLoading;(0,e.useEffect)((function(){!w.current||O||E||(w.current=!1,A())}),[A,O,E]),t="refreshData",n=A,(0,e.useEffect)((function(){var e=function(e){return function(e){e.detail.action===t&&n()}(e)};return window.addEventListener(Er(t),e),function(){window.removeEventListener(Er(t),e)}}),[t,n]);var T=C&&JSON.stringify(i)!==JSON.stringify(C)||!1,P=!f.data;(0,e.useEffect)((function(){if(T&&!P){var e=setTimeout((function(){v(!0)}),1e3);return function(){return clearTimeout(e)}}v(!1)}),[T,P]);var k=Object.keys((null==C?void 0:C.keywords)||{}),Z=(0,e.useMemo)((function(){var t=function(e,t){if(!e||!t.length)return[];var n=t.map((function(t){return{text:t,inUse:e.keywords.usedKeywords.map(An).includes(An(t))}}));return n.sort((function(e,t){return Number(t.inUse)-Number(e.inUse)})),n}(m,k);return p?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(vr,{className:"ntw-mt-4"}),(0,e.createElement)(vr,{className:"ntw-mt-4"})):m?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(Ja,{score:m.totalScore}),(0,e.createElement)(jn,{keywords:t}),(0,e.createElement)(yo,{data:m,numberWords:mr((null==C?void 0:C.content)||""),keywords:k})):(0,e.createElement)(e.Fragment,null,(0,e.createElement)(ko,null),(0,e.createElement)("div",{className:"ntw-mb-2 ntw-mt-5 ntw-text-center ntw-text-lg ntw-font-bold"},"Get started"),(0,e.createElement)("div",{className:"ntw-text-center ntw-text-sm ntw-font-normal"},"Optimize this page with best practices and data driven insights!"),(0,e.createElement)($n,{disabled:p||b||O,className:"ntw-mt-4 ntw-w-full ntw-shadow",onClick:A},p?"Loading...":O?"Loading keywords...":"Get started"))}),[m,p,A,O,b,null==C?void 0:C.content,k]);return L?(0,e.createElement)("div",null,"Loading the Nota toolset..."):(0,e.createElement)(u.PanelBody,{title:"Global Score",initialOpen:!0,opened:!0,ref:a},!p&&T&&g&&!E&&(0,e.createElement)(Wa,{size:"small",isLoading:p,error:c.grade.error,retry:A},(0,e.createElement)(Po,{isDisabled:b||E,onDisplay:function(){a.current&&a.current.scrollIntoView({behavior:"smooth",block:"start"})},refreshData:A,loading:p})),b&&(0,e.createElement)(qa,{size:"small",level:"info",className:"ntw-mb-2"},"Please add at least 100 words to your post to get started."),Z)}function Ro(){var t,n,r=wr(),a=r.urlsLoading,o=r.urlsScore,i=r.grade,s=Va().nextPayload.urlsList,l=function(e,t,n){for(var r,a,o=0,i=pr[rr.url][nr.length];o<i.length;o++){var s=i[o];if("function"==typeof s.range&&s.range(e,t))return(r={score:s.score})[nr.length]={score:s.score,feedback:s.feedback,meetsCriteria:s.meetsCriteria,listInvalidUrls:n},r}return(a={score:0})[nr.length]={score:0,feedback:"Couldn't evaluate URL criteria.",meetsCriteria:!1,listInvalidUrls:[]},a}(null==o?void 0:o.numInvalidUrls,null==o?void 0:o.totalUrls,null==o?void 0:o.listInvalidUrls),c=i.data?ur(((t={})[rr.url]=l,t),[rr.url]):void 0;return n=a?(0,e.createElement)(vr,null):o?(0,e.createElement)(Fn,{title:"Link Health Report",gradeData:l}):(0,e.createElement)("div",{className:"ntw-text-xs ntw-text-typography-disabled"},'Please click on the "Get started" button to start the analysis.'),(0,e.createElement)(Xn,{loading:a,status:c,title:"Link Integrity"},function(){if(s.length>30)return(0,e.createElement)("div",{className:"ntw-mb-2"},(0,e.createElement)("p",{className:"ntw-text-xs ntw-text-typography-disabled"},"Note: Only the first ",30," URLs will be analyzed."))}(),n)}function jo(){var t,n,r,a,o=wr(),i=o.grade,s=o.gradeIsLoading,l=ur(i.data,[rr.metaTitle,rr.metaDescription,rr.slug]),c=null===(t=i.data)||void 0===t?void 0:t[rr.metaTitle],u=null===(n=i.data)||void 0===n?void 0:n[rr.metaDescription],d=null===(r=i.data)||void 0===r?void 0:r[rr.slug];return a=s?(0,e.createElement)(vr,null):i?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(Fn,{title:"Page Title",gradeData:c}),((null==c?void 0:c.score)||0)<=60?(0,e.createElement)(Jn,{className:"ntw-mt-2",onClick:function(){return fr(".meta-tab-seo","nota-meta-title")}}):null,(0,e.createElement)(Nn,null),(0,e.createElement)(Fn,{title:"Meta Description",gradeData:u}),((null==u?void 0:u.score)||0)<=60?(0,e.createElement)(Jn,{className:"ntw-mt-2",onClick:function(){return fr(".meta-tab-seo","nota-meta-description")}}):null,(0,e.createElement)(Nn,null),(0,e.createElement)(Fn,{title:"Slug",gradeData:d}),((null==d?void 0:d.score)||0)<=60?(0,e.createElement)(Jn,{className:"ntw-mt-2",onClick:function(){return fr(".meta-tab-seo","nota-slug")}}):null):(0,e.createElement)("div",{className:"ntw-text-xs ntw-text-typography-disabled"},'Please click on the "Get started" button to start the analysis.'),(0,e.createElement)(Xn,{loading:s,status:l,title:"SEO Analysis"},a)}function Fo(t){var n=t.className;return(0,e.createElement)("svg",{width:"28",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("path",{d:"M24.0001 45.9065C36.0987 45.9065 45.9065 36.0987 45.9065 24.0001C45.9065 11.9016 36.0987 2.09375 24.0001 2.09375C11.9016 2.09375 2.09375 11.9016 2.09375 24.0001C2.09375 36.0987 11.9016 45.9065 24.0001 45.9065Z",fill:"white"}),(0,e.createElement)("path",{d:"M24 48C10.766 48 0 37.234 0 24C0 10.766 10.766 0 24 0C37.234 0 48 10.766 48 24C48 37.234 37.234 48 24 48ZM24 4.18722C13.0755 4.18859 4.18859 13.0755 4.18859 24C4.18859 34.9245 13.0769 43.8128 24.0014 43.8128C34.9259 43.8128 43.8141 34.9245 43.8141 24C43.8141 13.0755 34.9245 4.18859 24 4.18859V4.18722Z",fill:"#030B1B"}),(0,e.createElement)("path",{d:"M11.0664 34.8224L11.0937 29.5186L13.1477 29.1114L15.3028 29.177L20.3988 28.2887L26.6892 27.7503L33.0862 27.4688L34.6387 28.4185L35.9055 31.1626L36.0257 35.3458L32.9701 35.2856L20.996 35.41L17.2816 35.3376L13.7094 35.5876L11.0527 35.5357L11.0664 34.821V34.8224Z",fill:"#008D8E"}),(0,e.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.3425 8.90703H31.0026V33.9948H26.1403L22.3043 22.6358V29.9169H17.334V12.9822H22.1908L26.3425 23.8042V8.9043V8.90703Z",fill:"#030B1B"}))}class No extends Wr{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||zr,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||function(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?null!=r?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(e,t){const n=qr(this.state.data,e,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),n}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;const n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(Lr).catch(Lr):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some((e=>!1!==e.options.enabled))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((e=>e.getCurrentResult().isStale))}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!Ar(this.state.dataUpdatedAt,e)}onFocus(){var e;const t=this.observers.find((e=>e.shouldFetchOnWindowFocus()));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}onOnline(){var e;const t=this.observers.find((e=>e.shouldFetchOnReconnect()));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}addObserver(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((t=>t!==e)),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var n,r;if("idle"!==this.state.fetchStatus)if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var a;return null==(a=this.retryer)||a.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find((e=>e.options.queryFn));e&&this.setOptions(e.options)}Array.isArray(this.options.queryKey);const o=function(){if("function"==typeof AbortController)return new AbortController}(),i={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},s=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(o)return this.abortSignalConsumed=!0,o.signal}})};s(i);const l={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(i)):Promise.reject("Missing queryFn")};var c;s(l),null==(n=this.options.behavior)||n.onFetch(l),this.revertState=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(r=l.fetchOptions)?void 0:r.meta))&&this.dispatch({type:"fetch",meta:null==(c=l.fetchOptions)?void 0:c.meta});const u=e=>{var t,n,r,a;ea(e)&&e.silent||this.dispatch({type:"error",error:e}),ea(e)||(null==(t=(n=this.cache.config).onError)||t.call(n,e,this),null==(r=(a=this.cache.config).onSettled)||r.call(a,this.state.data,e,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=ta({fn:l.fetchFn,abort:null==o?void 0:o.abort.bind(o),onSuccess:e=>{var t,n,r,a;void 0!==e?(this.setData(e),null==(t=(n=this.cache.config).onSuccess)||t.call(n,e,this),null==(r=(a=this.cache.config).onSettled)||r.call(a,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1):u(new Error("undefined"))},onError:u,onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){this.state=(t=>{var n,r;switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(n=e.meta)?n:null,fetchStatus:Yr(this.options.networkMode)?"fetching":"paused",...!t.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(r=e.dataUpdatedAt)?r:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=e.error;return ea(a)&&a.revert&&this.revertState?{...this.revertState}:{...t,error:a,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),Gr.batch((()=>{this.observers.forEach((t=>{t.onQueryUpdate(e)})),this.cache.notify({query:this,type:"updated",action:e})}))}}class Io extends Qr{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,n){var r;const a=t.queryKey,o=null!=(r=t.queryHash)?r:Zr(a,t);let i=this.get(o);return i||(i=new No({cache:this,logger:e.getLogger(),queryKey:a,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(i)),i}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){const t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((t=>t!==e)),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){Gr.batch((()=>{this.queries.forEach((e=>{this.remove(e)}))}))}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){const[n]=Tr(e,t);return void 0===n.exact&&(n.exact=!0),this.queries.find((e=>Pr(n,e)))}findAll(e,t){const[n]=Tr(e,t);return Object.keys(n).length>0?this.queries.filter((e=>Pr(n,e))):this.queries}notify(e){Gr.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}onFocus(){Gr.batch((()=>{this.queries.forEach((e=>{e.onFocus()}))}))}onOnline(){Gr.batch((()=>{this.queries.forEach((e=>{e.onOnline()}))}))}}class _o extends Qr{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,n){const r=new na({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(r),r}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter((t=>t!==e)),this.notify({type:"removed",mutation:e})}clear(){Gr.batch((()=>{this.mutations.forEach((e=>{this.remove(e)}))}))}getAll(){return this.mutations}find(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((t=>kr(e,t)))}findAll(e){return this.mutations.filter((t=>kr(e,t)))}notify(e){Gr.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}resumePausedMutations(){var e;return this.resuming=(null!=(e=this.resuming)?e:Promise.resolve()).then((()=>{const e=this.mutations.filter((e=>e.state.isPaused));return Gr.batch((()=>e.reduce(((e,t)=>e.then((()=>t.continue().catch(Lr)))),Promise.resolve())))})).then((()=>{this.resuming=void 0})),this.resuming}}function Do(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var Vo,Uo=new class{constructor(e={}){this.queryCache=e.queryCache||new Io,this.mutationCache=e.mutationCache||new _o,this.logger=e.logger||zr,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=Kr.subscribe((()=>{Kr.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())})),this.unsubscribeOnline=$r.subscribe((()=>{$r.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())})))}unmount(){var e,t;this.mountCount--,0===this.mountCount&&(null==(e=this.unsubscribeFocus)||e.call(this),this.unsubscribeFocus=void 0,null==(t=this.unsubscribeOnline)||t.call(this),this.unsubscribeOnline=void 0)}isFetching(e,t){const[n]=Tr(e,t);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data}ensureQueryData(e,t,n){const r=Or(e,t,n),a=this.getQueryData(r.queryKey);return a?Promise.resolve(a):this.fetchQuery(r)}getQueriesData(e){return this.getQueryCache().findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,n){const r=this.queryCache.find(e),a=function(e,t){return"function"==typeof e?e(t):e}(t,null==r?void 0:r.state.data);if(void 0===a)return;const o=Or(e),i=this.defaultQueryOptions(o);return this.queryCache.build(this,i).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return Gr.batch((()=>this.getQueryCache().findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,n)]))))}getQueryState(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state}removeQueries(e,t){const[n]=Tr(e,t),r=this.queryCache;Gr.batch((()=>{r.findAll(n).forEach((e=>{r.remove(e)}))}))}resetQueries(e,t,n){const[r,a]=Tr(e,t,n),o=this.queryCache,i={type:"active",...r};return Gr.batch((()=>(o.findAll(r).forEach((e=>{e.reset()})),this.refetchQueries(i,a))))}cancelQueries(e,t,n){const[r,a={}]=Tr(e,t,n);void 0===a.revert&&(a.revert=!0);const o=Gr.batch((()=>this.queryCache.findAll(r).map((e=>e.cancel(a)))));return Promise.all(o).then(Lr).catch(Lr)}invalidateQueries(e,t,n){const[r,a]=Tr(e,t,n);return Gr.batch((()=>{var e,t;if(this.queryCache.findAll(r).forEach((e=>{e.invalidate()})),"none"===r.refetchType)return Promise.resolve();const n={...r,type:null!=(e=null!=(t=r.refetchType)?t:r.type)?e:"active"};return this.refetchQueries(n,a)}))}refetchQueries(e,t,n){const[r,a]=Tr(e,t,n),o=Gr.batch((()=>this.queryCache.findAll(r).filter((e=>!e.isDisabled())).map((e=>{var t;return e.fetch(void 0,{...a,cancelRefetch:null==(t=null==a?void 0:a.cancelRefetch)||t,meta:{refetchPage:r.refetchPage}})}))));let i=Promise.all(o).then(Lr);return null!=a&&a.throwOnError||(i=i.catch(Lr)),i}fetchQuery(e,t,n){const r=Or(e,t,n),a=this.defaultQueryOptions(r);void 0===a.retry&&(a.retry=!1);const o=this.queryCache.build(this,a);return o.isStaleByTime(a.staleTime)?o.fetch(a):Promise.resolve(o.state.data)}prefetchQuery(e,t,n){return this.fetchQuery(e,t,n).then(Lr).catch(Lr)}fetchInfiniteQuery(e,t,n){const r=Or(e,t,n);return r.behavior={onFetch:e=>{e.fetchFn=()=>{var t,n,r,a,o,i;const s=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,l=null==(r=e.fetchOptions)||null==(a=r.meta)?void 0:a.fetchMore,c=null==l?void 0:l.pageParam,u="forward"===(null==l?void 0:l.direction),d="backward"===(null==l?void 0:l.direction),f=(null==(o=e.state.data)?void 0:o.pages)||[],p=(null==(i=e.state.data)?void 0:i.pageParams)||[];let h=p,m=!1;const C=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),y=(e,t,n,r)=>(h=r?[t,...h]:[...h,t],r?[n,...e]:[...e,n]),g=(t,n,r,a)=>{if(m)return Promise.reject("Cancelled");if(void 0===r&&!n&&t.length)return Promise.resolve(t);const o={queryKey:e.queryKey,pageParam:r,meta:e.options.meta};var i;i=o,Object.defineProperty(i,"signal",{enumerable:!0,get:()=>{var t,n;return null!=(t=e.signal)&&t.aborted?m=!0:null==(n=e.signal)||n.addEventListener("abort",(()=>{m=!0})),e.signal}});const s=C(o);return Promise.resolve(s).then((e=>y(t,r,e,a)))};let v;if(f.length)if(u){const t=void 0!==c,n=t?c:Do(e.options,f);v=g(f,t,n)}else if(d){const t=void 0!==c,n=t?c:function(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}(e.options,f);v=g(f,t,n,!0)}else{h=[];const t=void 0===e.options.getNextPageParam;v=s&&f[0]&&!s(f[0],0,f)?Promise.resolve(y([],p[0],f[0])):g([],t,p[0]);for(let n=1;n<f.length;n++)v=v.then((r=>{if(!s||!f[n]||s(f[n],n,f)){const a=t?p[n]:Do(e.options,r);return g(r,t,a)}return Promise.resolve(y(r,p[n],f[n]))}))}else v=g([]);return v.then((e=>({pages:e,pageParams:h})))}}},this.fetchQuery(r)}prefetchInfiniteQuery(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(Lr).catch(Lr)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){const n=this.queryDefaults.find((t=>Hr(e)===Hr(t.queryKey)));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;const t=this.queryDefaults.find((t=>Rr(e,t.queryKey)));return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){const n=this.mutationDefaults.find((t=>Hr(e)===Hr(t.mutationKey)));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;const t=this.mutationDefaults.find((t=>Rr(e,t.mutationKey)));return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;const t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=Zr(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}};!function(e){e.RelatedKeywords="relatedKeywords",e.RelatedKeywordsBatch="relatedKeywordsBatch"}(Vo||(Vo={}));var Bo=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},qo=Hn.useSelect,zo=[],Go=function(t){var n,r=t.taxonomy,a=t.wpService,o=(0,e.useState)(null),i=o[0],s=o[1],l=(0,e.useState)([]),c=l[0],u=l[1],d=(0,Hn.useDispatch)("core/editor").editPost,f=qo((function(e){var t=e("core"),n=t.getEntityRecords,a=t.getTaxonomy,o=t.hasFinishedResolution,i=e("core/editor"),s=i.getEditedPostAttribute,l=i.getCurrentPostId,c=a(r),u=function(){return c?s(c.rest_base):null},d=u();if(!(null==d?void 0:d.length))return{resolvingExistingTerms:null,hasResolvedTerms:!0,taxonomyDetail:c,termIds:zo,postId:l(),getLatestTermIds:u};var f={_fields:"id,name",context:"view",include:d.join(","),per_page:-1};return{resolvingExistingTerms:n("taxonomy",r,f),hasResolvedTerms:o("getEntityRecords",["taxonomy",r,f]),taxonomyDetail:c,termIds:d,postId:l(),getLatestTermIds:u}}),[r]),p=f.taxonomyDetail,h=f.termIds,m=f.hasResolvedTerms,C=f.resolvingExistingTerms,y=f.postId,g=f.getLatestTermIds,v=ba({trackValue:h,revertFn:function(e){var t;(null==p?void 0:p.rest_base)&&d(((t={})[p.rest_base]=e,t))}});(0,e.useEffect)((function(){m&&u(C||[])}),[C,m]);var w=null!==(n=null==p?void 0:p.rest_namespace)&&void 0!==n?n:"wp/v2";return{addTag:function(e){if(!(null==p?void 0:p.rest_base))throw Error("Missing rest_base");s(null),a.findOrCreateTerm({term:e,restBase:p.rest_base,namespace:w}).then((function(e){var t,n,r=g()||[],a=Bo(Bo([],r,!0),[e.id],!1);v.update(a),d(((t={})[p.rest_base]=a,t)),wt.saveEvents({event:"select",field:ar.Tags,content:(n={},n[ar.Tags]=e.term,n),postId:y})})).catch((function(e){var t=!(!e||"object"!=typeof e||!("message"in e)||"string"!=typeof e.message)&&e.message;s(t||"Failed to add tag")}))},removeTag:function(e){var t,n;if(!(null==p?void 0:p.rest_base))throw Error("Missing rest_base");var r=h.indexOf(e);if(!(r<0)){var a=Bo(Bo([],h.slice(0,r),!0),h.slice(r+1),!0);v.update(a),d(((t={})[p.rest_base]=a.length>0?a:[null],t)),wt.saveEvents({event:"revert",field:ar.Tags,content:(n={},n[ar.Tags]=a,n),postId:y})}},existingTerms:c,revert:v.revert,errorWhileAddingTag:i}},Wo=window.wp.apiFetch,Qo=n.n(Wo),Ko=n(573),$o=n.n(Ko),Jo={editMeta:function(e){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,[e],void 0,(function(e){var t,n=e.key,r=e.value,a=e.postId;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(e){switch(e.label){case 0:return[4,Qo()({path:"/wp/v2/posts/".concat(a),method:"POST",data:{meta:(t={},t[n]=r,t)}})];case 1:return e.sent(),[2]}}))}))},findOrCreateTerm:function(e){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,[e],void 0,(function(e){var t,n,r,a,o,i=e.term,s=e.restBase,l=e.namespace;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(e){switch(e.label){case 0:return t=$o()(i),[4,Qo()({path:"/".concat(l,"/").concat(s,"?search=").concat(encodeURIComponent(t),"&_fields=id,name")})];case 1:if(n=e.sent(),r=n.find((function(e){return e.name===t})))return[2,{id:r.id,term:r.name}];e.label=2;case 2:return e.trys.push([2,4,,5]),[4,Qo()({path:"/".concat(l,"/").concat(s),method:"POST",data:{name:t}})];case 3:return[2,{id:(a=e.sent()).id,term:a.name}];case 4:if("term_exists"!==(o=e.sent()).code)throw o;return[2,{id:o.data.term_id,term:i}];case 5:return[2]}}))}))}},Yo=Hn.useSelect,Xo=function(e,t){var n=Array.isArray(e)?e:[e];return t.some((function(e){return n.some((function(t){return t===e}))}))};function ei(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,ei),r}function ti(...e){return e.filter(Boolean).join(" ")}var ni,ri=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(ri||{}),ai=((ni=ai||{})[ni.Unmount=0]="Unmount",ni[ni.Hidden=1]="Hidden",ni);function oi({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:a,visible:o=!0,name:i}){let s=si(t,e);if(o)return ii(s,n,r,i);let l=null!=a?a:0;if(2&l){let{static:e=!1,...t}=s;if(e)return ii(t,n,r,i)}if(1&l){let{unmount:e=!0,...t}=s;return ei(e?0:1,{0(){return null},1(){return ii({...t,hidden:!0,style:{display:"none"}},n,r,i)}})}return ii(s,n,r,i)}function ii(e,t={},n,a){let{as:o=n,children:i,refName:s="ref",...l}=ui(e,["unmount","static"]),c=void 0!==e.ref?{[s]:e.ref}:{},u="function"==typeof i?i(t):i;"className"in l&&l.className&&"function"==typeof l.className&&(l.className=l.className(t));let d={};if(t){let e=!1,n=[];for(let[r,a]of Object.entries(t))"boolean"==typeof a&&(e=!0),!0===a&&n.push(r);e&&(d["data-headlessui-state"]=n.join(" "))}if(o===r.Fragment&&Object.keys(ci(l)).length>0){if(!(0,r.isValidElement)(u)||Array.isArray(u)&&u.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${a} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(l).map((e=>`  - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>`  - ${e}`)).join("\n")].join("\n"));let e=u.props,t="function"==typeof(null==e?void 0:e.className)?(...t)=>ti(null==e?void 0:e.className(...t),l.className):ti(null==e?void 0:e.className,l.className),n=t?{className:t}:{};return(0,r.cloneElement)(u,Object.assign({},si(u.props,ci(ui(l,["ref"]))),d,c,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}}(u.ref,c.ref),n))}return(0,r.createElement)(o,Object.assign({},ui(l,["ref"]),o!==r.Fragment&&c,o!==r.Fragment&&d),u)}function si(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map((e=>[e,void 0]))));for(let e in n)Object.assign(t,{[e](t,...r){let a=n[e];for(let e of a){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...r)}}});return t}function li(e){var t;return Object.assign((0,r.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function ci(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function ui(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}var di=Object.defineProperty,fi=(e,t,n)=>(((e,t,n)=>{t in e?di(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);let pi=new class{constructor(){fi(this,"current",this.detect()),fi(this,"handoffState","pending"),fi(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},hi=(e,t)=>{pi.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)};function mi(e){let t=(0,r.useRef)(e);return hi((()=>{t.current=e}),[e]),t}let Ci=function(e){let t=mi(e);return r.useCallback(((...e)=>t.current(...e)),[t])},yi=Symbol();function gi(...e){let t=(0,r.useRef)(e);(0,r.useEffect)((()=>{t.current=e}),[e]);let n=Ci((e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[yi])))?void 0:n}function vi(){let[e,t]=(0,r.useState)(pi.isHandoffComplete);return e&&!1===pi.isHandoffComplete&&t(!1),(0,r.useEffect)((()=>{!0!==e&&t(!0)}),[e]),(0,r.useEffect)((()=>pi.handoff()),[]),e}var wi;let bi=null!=(wi=r.useId)?wi:function(){let e=vi(),[t,n]=r.useState(e?()=>pi.nextId():null);return hi((()=>{null===t&&n(pi.nextId())}),[t]),null!=t?""+t:void 0};var Ei,xi=((Ei=xi||{}).Space=" ",Ei.Enter="Enter",Ei.Escape="Escape",Ei.Backspace="Backspace",Ei.Delete="Delete",Ei.ArrowLeft="ArrowLeft",Ei.ArrowUp="ArrowUp",Ei.ArrowRight="ArrowRight",Ei.ArrowDown="ArrowDown",Ei.Home="Home",Ei.End="End",Ei.PageUp="PageUp",Ei.PageDown="PageDown",Ei.Tab="Tab",Ei);function Mi(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}function Li(e){return pi.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let Si=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var Ai,Oi=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Oi||{}),Ti=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Ti||{}),Pi=((Ai=Pi||{})[Ai.Previous=-1]="Previous",Ai[Ai.Next=1]="Next",Ai);function ki(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(Si)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var Zi=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Zi||{});function Hi(e,t=0){var n;return e!==(null==(n=Li(e))?void 0:n.body)&&ei(t,{0(){return e.matches(Si)},1(){let t=e;for(;null!==t;){if(t.matches(Si))return!0;t=t.parentElement}return!1}})}var Ri=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Ri||{});"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let ji=["textarea","input"].join(",");function Fi(e,t=(e=>e)){return e.slice().sort(((e,n)=>{let r=t(e),a=t(n);if(null===r||null===a)return 0;let o=r.compareDocumentPosition(a);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function Ni(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:a=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,i=Array.isArray(e)?n?Fi(e):e:ki(e);a.length>0&&i.length>1&&(i=i.filter((e=>!a.includes(e)))),r=null!=r?r:o.activeElement;let s,l=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,i.indexOf(r))-1;if(4&t)return Math.max(0,i.indexOf(r))+1;if(8&t)return i.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=32&t?{preventScroll:!0}:{},d=0,f=i.length;do{if(d>=f||d+f<=0)return 0;let e=c+d;if(16&t)e=(e+f)%f;else{if(e<0)return 3;if(e>=f)return 1}s=i[e],null==s||s.focus(u),d+=l}while(s!==o.activeElement);return 6&t&&function(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,ji))&&n}(s)&&s.select(),2}let Ii=(0,r.createContext)(null);Ii.displayName="OpenClosedContext";var _i=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(_i||{});function Di(){return(0,r.useContext)(Ii)}function Vi({value:e,children:t}){return r.createElement(Ii.Provider,{value:e},t)}function Ui(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}function Bi(e,t){let[n,a]=(0,r.useState)((()=>Ui(e)));return hi((()=>{a(Ui(e))}),[e.type,e.as]),hi((()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&a("button")}),[n,t]),n}function qi(e,t,n){let a=mi(t);(0,r.useEffect)((()=>{function t(e){a.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)}),[e,n])}function zi(...e){return(0,r.useMemo)((()=>Li(...e)),[...e])}var Gi=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Gi||{});let Wi=li((function(e,t){let{features:n=1,...r}=e;return oi({ourProps:{ref:t,"aria-hidden":2==(2&n)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...4==(4&n)&&2!=(2&n)&&{display:"none"}}},theirProps:r,slot:{},defaultTag:"div",name:"Hidden"})}));var Qi=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Qi||{});function Ki(){let e=(0,r.useRef)(0);return function(e,t,n){let a=mi(t);(0,r.useEffect)((()=>{function t(e){a.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)}),[e,n])}("keydown",(t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}var $i=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))($i||{}),Ji=(e=>(e[e.TogglePopover=0]="TogglePopover",e[e.ClosePopover=1]="ClosePopover",e[e.SetButton=2]="SetButton",e[e.SetButtonId=3]="SetButtonId",e[e.SetPanel=4]="SetPanel",e[e.SetPanelId=5]="SetPanelId",e))(Ji||{});let Yi={0:e=>({...e,popoverState:ei(e.popoverState,{0:1,1:0})}),1(e){return 1===e.popoverState?e:{...e,popoverState:1}},2(e,t){return e.button===t.button?e:{...e,button:t.button}},3(e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},4(e,t){return e.panel===t.panel?e:{...e,panel:t.panel}},5(e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}},Xi=(0,r.createContext)(null);function es(e){let t=(0,r.useContext)(Xi);if(null===t){let t=new Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,es),t}return t}Xi.displayName="PopoverContext";let ts=(0,r.createContext)(null);function ns(e){let t=(0,r.useContext)(ts);if(null===t){let t=new Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ns),t}return t}ts.displayName="PopoverAPIContext";let rs=(0,r.createContext)(null);function as(){return(0,r.useContext)(rs)}rs.displayName="PopoverGroupContext";let os=(0,r.createContext)(null);function is(e,t){return ei(t.type,Yi,e,t)}os.displayName="PopoverPanelContext";let ss=ri.RenderStrategy|ri.Static,ls=ri.RenderStrategy|ri.Static,cs=li((function(e,t){var n;let a=(0,r.useRef)(null),o=gi(t,function(e,t=!0){return Object.assign(e,{[yi]:t})}((e=>{a.current=e}))),i=(0,r.useRef)([]),s=(0,r.useReducer)(is,{popoverState:1,buttons:i,button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:(0,r.createRef)(),afterPanelSentinel:(0,r.createRef)()}),[{popoverState:l,button:c,buttonId:u,panel:d,panelId:f,beforePanelSentinel:p,afterPanelSentinel:h},m]=s,C=zi(null!=(n=a.current)?n:c),y=(0,r.useMemo)((()=>{if(!c||!d)return!1;for(let e of document.querySelectorAll("body > *"))if(Number(null==e?void 0:e.contains(c))^Number(null==e?void 0:e.contains(d)))return!0;let e=ki(),t=e.indexOf(c),n=(t+e.length-1)%e.length,r=(t+1)%e.length,a=e[n],o=e[r];return!d.contains(a)&&!d.contains(o)}),[c,d]),g=mi(u),v=mi(f),w=(0,r.useMemo)((()=>({buttonId:g,panelId:v,close:()=>m({type:1})})),[g,v,m]),b=as(),E=null==b?void 0:b.registerPopover,x=Ci((()=>{var e;return null!=(e=null==b?void 0:b.isFocusWithinPopoverGroup())?e:(null==C?void 0:C.activeElement)&&((null==c?void 0:c.contains(C.activeElement))||(null==d?void 0:d.contains(C.activeElement)))}));(0,r.useEffect)((()=>null==E?void 0:E(w)),[E,w]),function(e,t,n,a){let o=mi(n);(0,r.useEffect)((()=>{function n(e){o.current(e)}return(e=null!=e?e:window).addEventListener(t,n,a),()=>e.removeEventListener(t,n,a)}),[e,t,a])}(null==C?void 0:C.defaultView,"focus",(e=>{var t,n,r,a;0===l&&(x()||c&&d&&e.target!==window&&(null!=(n=null==(t=p.current)?void 0:t.contains)&&n.call(t,e.target)||null!=(a=null==(r=h.current)?void 0:r.contains)&&a.call(r,e.target)||m({type:1})))}),!0),function(e,t,n=!0){let a=(0,r.useRef)(!1);function o(n,r){if(!a.current||n.defaultPrevented)return;let o=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),i=r(n);if(null!==i&&i.getRootNode().contains(i)){for(let e of o){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(i)||n.composed&&n.composedPath().includes(t))return}return!Hi(i,Zi.Loose)&&-1!==i.tabIndex&&n.preventDefault(),t(n,i)}}(0,r.useEffect)((()=>{requestAnimationFrame((()=>{a.current=n}))}),[n]);let i=(0,r.useRef)(null);qi("mousedown",(e=>{var t,n;a.current&&(i.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),qi("click",(e=>{i.current&&(o(e,(()=>i.current)),i.current=null)}),!0),qi("blur",(e=>o(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}([c,d],((e,t)=>{m({type:1}),Hi(t,Zi.Loose)||(e.preventDefault(),null==c||c.focus())}),0===l);let M=Ci((e=>{m({type:1});let t=e?e instanceof HTMLElement?e:"current"in e&&e.current instanceof HTMLElement?e.current:c:c;null==t||t.focus()})),L=(0,r.useMemo)((()=>({close:M,isPortalled:y})),[M,y]),S=(0,r.useMemo)((()=>({open:0===l,close:M})),[l,M]),A=e,O={ref:o};return r.createElement(os.Provider,{value:null},r.createElement(Xi.Provider,{value:s},r.createElement(ts.Provider,{value:L},r.createElement(Vi,{value:ei(l,{0:_i.Open,1:_i.Closed})},oi({ourProps:O,theirProps:A,slot:S,defaultTag:"div",name:"Popover"})))))})),us=li((function(e,t){let n=bi(),{id:a=`headlessui-popover-button-${n}`,...o}=e,[i,s]=es("Popover.Button"),{isPortalled:l}=ns("Popover.Button"),c=(0,r.useRef)(null),u=`headlessui-focus-sentinel-${bi()}`,d=as(),f=null==d?void 0:d.closeOthers,p=null!==(0,r.useContext)(os);(0,r.useEffect)((()=>{if(!p)return s({type:3,buttonId:a}),()=>{s({type:3,buttonId:null})}}),[p,a,s]);let[h]=(0,r.useState)((()=>Symbol())),m=gi(c,t,p?null:e=>{if(e)i.buttons.current.push(h);else{let e=i.buttons.current.indexOf(h);-1!==e&&i.buttons.current.splice(e,1)}i.buttons.current.length>1&&console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."),e&&s({type:2,button:e})}),C=gi(c,t),y=zi(c),g=Ci((e=>{var t,n,r;if(p){if(1===i.popoverState)return;switch(e.key){case xi.Space:case xi.Enter:e.preventDefault(),null==(n=(t=e.target).click)||n.call(t),s({type:1}),null==(r=i.button)||r.focus()}}else switch(e.key){case xi.Space:case xi.Enter:e.preventDefault(),e.stopPropagation(),1===i.popoverState&&(null==f||f(i.buttonId)),s({type:0});break;case xi.Escape:if(0!==i.popoverState)return null==f?void 0:f(i.buttonId);if(!c.current||null!=y&&y.activeElement&&!c.current.contains(y.activeElement))return;e.preventDefault(),e.stopPropagation(),s({type:1})}})),v=Ci((e=>{p||e.key===xi.Space&&e.preventDefault()})),w=Ci((t=>{var n,r;Mi(t.currentTarget)||e.disabled||(p?(s({type:1}),null==(n=i.button)||n.focus()):(t.preventDefault(),t.stopPropagation(),1===i.popoverState&&(null==f||f(i.buttonId)),s({type:0}),null==(r=i.button)||r.focus()))})),b=Ci((e=>{e.preventDefault(),e.stopPropagation()})),E=0===i.popoverState,x=(0,r.useMemo)((()=>({open:E})),[E]),M=Bi(e,c),L=p?{ref:C,type:M,onKeyDown:g,onClick:w}:{ref:m,id:i.buttonId,type:M,"aria-expanded":e.disabled?void 0:0===i.popoverState,"aria-controls":i.panel?i.panelId:void 0,onKeyDown:g,onKeyUp:v,onClick:w,onMouseDown:b},S=Ki(),A=Ci((()=>{let e=i.panel;e&&ei(S.current,{[Qi.Forwards]:()=>Ni(e,Oi.First),[Qi.Backwards]:()=>Ni(e,Oi.Last)})===Ti.Error&&Ni(ki().filter((e=>"true"!==e.dataset.headlessuiFocusGuard)),ei(S.current,{[Qi.Forwards]:Oi.Next,[Qi.Backwards]:Oi.Previous}),{relativeTo:i.button})}));return r.createElement(r.Fragment,null,oi({ourProps:L,theirProps:o,slot:x,defaultTag:"button",name:"Popover.Button"}),E&&!p&&l&&r.createElement(Wi,{id:u,features:Gi.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:A}))})),ds=li((function(e,t){let n=bi(),{id:a=`headlessui-popover-overlay-${n}`,...o}=e,[{popoverState:i},s]=es("Popover.Overlay"),l=gi(t),c=Di(),u=null!==c?(c&_i.Open)===_i.Open:0===i,d=Ci((e=>{if(Mi(e.currentTarget))return e.preventDefault();s({type:1})}));return oi({ourProps:{ref:l,id:a,"aria-hidden":!0,onClick:d},theirProps:o,slot:(0,r.useMemo)((()=>({open:0===i})),[i]),defaultTag:"div",features:ss,visible:u,name:"Popover.Overlay"})})),fs=li((function(e,t){let n=bi(),{id:a=`headlessui-popover-panel-${n}`,focus:o=!1,...i}=e,[s,l]=es("Popover.Panel"),{close:c,isPortalled:u}=ns("Popover.Panel"),d=`headlessui-focus-sentinel-before-${bi()}`,f=`headlessui-focus-sentinel-after-${bi()}`,p=(0,r.useRef)(null),h=gi(p,t,(e=>{l({type:4,panel:e})})),m=zi(p);hi((()=>(l({type:5,panelId:a}),()=>{l({type:5,panelId:null})})),[a,l]);let C=Di(),y=null!==C?(C&_i.Open)===_i.Open:0===s.popoverState,g=Ci((e=>{var t;if(e.key===xi.Escape){if(0!==s.popoverState||!p.current||null!=m&&m.activeElement&&!p.current.contains(m.activeElement))return;e.preventDefault(),e.stopPropagation(),l({type:1}),null==(t=s.button)||t.focus()}}));(0,r.useEffect)((()=>{var t;e.static||1===s.popoverState&&(null==(t=e.unmount)||t)&&l({type:4,panel:null})}),[s.popoverState,e.unmount,e.static,l]),(0,r.useEffect)((()=>{if(!o||0!==s.popoverState||!p.current)return;let e=null==m?void 0:m.activeElement;p.current.contains(e)||Ni(p.current,Oi.First)}),[o,p,s.popoverState]);let v=(0,r.useMemo)((()=>({open:0===s.popoverState,close:c})),[s,c]),w={ref:h,id:a,onKeyDown:g,onBlur:o&&0===s.popoverState?e=>{var t,n,r,a,o;let i=e.relatedTarget;i&&p.current&&(null!=(t=p.current)&&t.contains(i)||(l({type:1}),(null!=(r=null==(n=s.beforePanelSentinel.current)?void 0:n.contains)&&r.call(n,i)||null!=(o=null==(a=s.afterPanelSentinel.current)?void 0:a.contains)&&o.call(a,i))&&i.focus({preventScroll:!0})))}:void 0,tabIndex:-1},b=Ki(),E=Ci((()=>{let e=p.current;e&&ei(b.current,{[Qi.Forwards]:()=>{var t;Ni(e,Oi.First)===Ti.Error&&(null==(t=s.afterPanelSentinel.current)||t.focus())},[Qi.Backwards]:()=>{var e;null==(e=s.button)||e.focus({preventScroll:!0})}})})),x=Ci((()=>{let e=p.current;e&&ei(b.current,{[Qi.Forwards]:()=>{var e;if(!s.button)return;let t=ki(),n=t.indexOf(s.button),r=t.slice(0,n+1),a=[...t.slice(n+1),...r];for(let t of a.slice())if("true"===t.dataset.headlessuiFocusGuard||null!=(e=s.panel)&&e.contains(t)){let e=a.indexOf(t);-1!==e&&a.splice(e,1)}Ni(a,Oi.First,{sorted:!1})},[Qi.Backwards]:()=>{var t;Ni(e,Oi.Previous)===Ti.Error&&(null==(t=s.button)||t.focus())}})}));return r.createElement(os.Provider,{value:a},y&&u&&r.createElement(Wi,{id:d,ref:s.beforePanelSentinel,features:Gi.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:E}),oi({ourProps:w,theirProps:i,slot:v,defaultTag:"div",features:ls,visible:y,name:"Popover.Panel"}),y&&u&&r.createElement(Wi,{id:f,ref:s.afterPanelSentinel,features:Gi.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:x}))})),ps=li((function(e,t){let n=(0,r.useRef)(null),a=gi(n,t),[o,i]=(0,r.useState)([]),s=Ci((e=>{i((t=>{let n=t.indexOf(e);if(-1!==n){let e=t.slice();return e.splice(n,1),e}return t}))})),l=Ci((e=>(i((t=>[...t,e])),()=>s(e)))),c=Ci((()=>{var e;let t=Li(n);if(!t)return!1;let r=t.activeElement;return!(null==(e=n.current)||!e.contains(r))||o.some((e=>{var n,a;return(null==(n=t.getElementById(e.buttonId.current))?void 0:n.contains(r))||(null==(a=t.getElementById(e.panelId.current))?void 0:a.contains(r))}))})),u=Ci((e=>{for(let t of o)t.buttonId.current!==e&&t.close()})),d=(0,r.useMemo)((()=>({registerPopover:l,unregisterPopover:s,isFocusWithinPopoverGroup:c,closeOthers:u})),[l,s,c,u]),f=(0,r.useMemo)((()=>({})),[]),p=e,h={ref:a};return r.createElement(rs.Provider,{value:d},oi({ourProps:h,theirProps:p,slot:f,defaultTag:"div",name:"Popover.Group"}))})),hs=Object.assign(cs,{Button:us,Overlay:ds,Panel:fs,Group:ps});var ms=Object.defineProperty,Cs=Object.defineProperties,ys=Object.getOwnPropertyDescriptors,gs=Object.getOwnPropertySymbols,vs=Object.prototype.hasOwnProperty,ws=Object.prototype.propertyIsEnumerable,bs=(e,t,n)=>t in e?ms(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Es=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M246.15,133.18,146.83,33.86A19.85,19.85,0,0,0,132.69,28H40A12,12,0,0,0,28,40v92.69a19.85,19.85,0,0,0,5.86,14.14l99.32,99.32a20,20,0,0,0,28.28,0l84.69-84.69A20,20,0,0,0,246.15,133.18Zm-98.83,93.17L52,131V52h79l95.32,95.32ZM100,84A16,16,0,1,1,84,68,16,16,0,0,1,100,84Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M237.66,153,153,237.66a8,8,0,0,1-11.31,0L42.34,138.34A8,8,0,0,1,40,132.69V40h92.69a8,8,0,0,1,5.65,2.34l99.32,99.32A8,8,0,0,1,237.66,153Z",opacity:"0.2"}),a().createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63ZM84,96A12,12,0,1,1,96,84,12,12,0,0,1,84,96Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M241.91,137.42,142.59,38.1a13.94,13.94,0,0,0-9.9-4.1H40a6,6,0,0,0-6,6v92.69a13.94,13.94,0,0,0,4.1,9.9l99.32,99.32a14,14,0,0,0,19.8,0l84.69-84.69A14,14,0,0,0,241.91,137.42Zm-8.49,11.31-84.69,84.69a2,2,0,0,1-2.83,0L46.59,134.1a2,2,0,0,1-.59-1.41V46h86.69a2,2,0,0,1,1.41.59l99.32,99.31A2,2,0,0,1,233.42,148.73ZM94,84A10,10,0,1,1,84,74,10,10,0,0,1,94,84Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M240.49,138.83,141.17,39.51A11.93,11.93,0,0,0,132.69,36H40a4,4,0,0,0-4,4v92.69a11.93,11.93,0,0,0,3.51,8.48l99.32,99.32a12,12,0,0,0,17,0l84.69-84.69a12,12,0,0,0,0-17Zm-5.66,11.31-84.69,84.69a4,4,0,0,1-5.65,0L45.17,135.51A4,4,0,0,1,44,132.69V44h88.69a4,4,0,0,1,2.82,1.17l99.32,99.32A4,4,0,0,1,234.83,150.14ZM92,84a8,8,0,1,1-8-8A8,8,0,0,1,92,84Z"}))]]),xs=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>Cs(e,ys(t)))(((e,t)=>{for(var n in t||(t={}))vs.call(t,n)&&bs(e,n,t[n]);if(gs)for(var n of gs(t))ws.call(t,n)&&bs(e,n,t[n]);return e})({ref:t},e),{weights:Es}))));xs.displayName="Tag";var Ms=Object.defineProperty,Ls=Object.defineProperties,Ss=Object.getOwnPropertyDescriptors,As=Object.getOwnPropertySymbols,Os=Object.prototype.hasOwnProperty,Ts=Object.prototype.propertyIsEnumerable,Ps=(e,t,n)=>t in e?Ms(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const ks=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),a().createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]]),Zs=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>Ls(e,Ss(t)))(((e,t)=>{for(var n in t||(t={}))Os.call(t,n)&&Ps(e,n,t[n]);if(As)for(var n of As(t))Ts.call(t,n)&&Ps(e,n,t[n]);return e})({ref:t},e),{weights:ks}))));function Hs(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");const n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function Rs(e){return Math.min(1,Math.max(0,e))}function js(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Fs(e){return Number(e)<=1?100*Number(e)+"%":e}function Ns(e){return 1===e.length?"0"+e:String(e)}function Is(e,t,n){e=Hs(e,255),t=Hs(t,255),n=Hs(n,255);const r=Math.max(e,t,n),a=Math.min(e,t,n);let o=0,i=0;const s=(r+a)/2;if(r===a)i=0,o=0;else{const l=r-a;switch(i=s>.5?l/(2-r-a):l/(r+a),r){case e:o=(t-n)/l+(t<n?6:0);break;case t:o=(n-e)/l+2;break;case n:o=(e-t)/l+4}o/=6}return{h:o,s:i,l:s}}function _s(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Ds(e,t,n){e=Hs(e,255),t=Hs(t,255),n=Hs(n,255);const r=Math.max(e,t,n),a=Math.min(e,t,n);let o=0;const i=r,s=r-a,l=0===r?0:s/r;if(r===a)o=0;else{switch(r){case e:o=(t-n)/s+(t<n?6:0);break;case t:o=(n-e)/s+2;break;case n:o=(e-t)/s+4}o/=6}return{h:o,s:l,v:i}}function Vs(e,t,n,r){const a=[Ns(Math.round(e).toString(16)),Ns(Math.round(t).toString(16)),Ns(Math.round(n).toString(16))];return r&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function Us(e,t,n){let r=1-e/255,a=1-t/255,o=1-n/255,i=Math.min(r,a,o);return 1===i?(r=0,a=0,o=0):(r=(r-i)/(1-i)*100,a=(a-i)/(1-i)*100,o=(o-i)/(1-i)*100),i*=100,{c:Math.round(r),m:Math.round(a),y:Math.round(o),k:Math.round(i)}}function Bs(e){return Math.round(255*parseFloat(e)).toString(16)}function qs(e){return zs(e)/255}function zs(e){return parseInt(e,16)}Zs.displayName="CaretDown";const Gs={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};const Ws="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",Qs="[\\s|\\(]+("+Ws+")[,|\\s]+("+Ws+")[,|\\s]+("+Ws+")\\s*\\)?",Ks="[\\s|\\(]+("+Ws+")[,|\\s]+("+Ws+")[,|\\s]+("+Ws+")[,|\\s]+("+Ws+")\\s*\\)?",$s={CSS_UNIT:new RegExp(Ws),rgb:new RegExp("rgb"+Qs),rgba:new RegExp("rgba"+Ks),hsl:new RegExp("hsl"+Qs),hsla:new RegExp("hsla"+Ks),hsv:new RegExp("hsv"+Qs),hsva:new RegExp("hsva"+Ks),cmyk:new RegExp("cmyk"+Ks),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Js(e){return"number"==typeof e?!Number.isNaN(e):$s.CSS_UNIT.test(e)}class Ys{constructor(e="",t={}){if(e instanceof Ys)return e;"number"==typeof e&&(e=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(e)),this.originalInput=e;const n=function(e){let t={r:0,g:0,b:0},n=1,r=null,a=null,o=null,i=!1,s=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;let t=!1;if(Gs[e])e=Gs[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};let n=$s.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=$s.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=$s.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=$s.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=$s.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=$s.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=$s.cmyk.exec(e),n?{c:n[1],m:n[2],y:n[3],k:n[4]}:(n=$s.hex8.exec(e),n?{r:zs(n[1]),g:zs(n[2]),b:zs(n[3]),a:qs(n[4]),format:t?"name":"hex8"}:(n=$s.hex6.exec(e),n?{r:zs(n[1]),g:zs(n[2]),b:zs(n[3]),format:t?"name":"hex"}:(n=$s.hex4.exec(e),n?{r:zs(n[1]+n[1]),g:zs(n[2]+n[2]),b:zs(n[3]+n[3]),a:qs(n[4]+n[4]),format:t?"name":"hex8"}:(n=$s.hex3.exec(e),!!n&&{r:zs(n[1]+n[1]),g:zs(n[2]+n[2]),b:zs(n[3]+n[3]),format:t?"name":"hex"}))))))))))}(e)),"object"==typeof e&&(Js(e.r)&&Js(e.g)&&Js(e.b)?(t=function(e,t,n){return{r:255*Hs(e,255),g:255*Hs(t,255),b:255*Hs(n,255)}}(e.r,e.g,e.b),i=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):Js(e.h)&&Js(e.s)&&Js(e.v)?(r=Fs(e.s),a=Fs(e.v),t=function(e,t,n){e=6*Hs(e,360),t=Hs(t,100),n=Hs(n,100);const r=Math.floor(e),a=e-r,o=n*(1-t),i=n*(1-a*t),s=n*(1-(1-a)*t),l=r%6;return{r:255*[n,i,o,o,s,n][l],g:255*[s,n,n,i,o,o][l],b:255*[o,o,s,n,n,i][l]}}(e.h,r,a),i=!0,s="hsv"):Js(e.h)&&Js(e.s)&&Js(e.l)?(r=Fs(e.s),o=Fs(e.l),t=function(e,t,n){let r,a,o;if(e=Hs(e,360),t=Hs(t,100),n=Hs(n,100),0===t)a=n,o=n,r=n;else{const i=n<.5?n*(1+t):n+t-n*t,s=2*n-i;r=_s(s,i,e+1/3),a=_s(s,i,e),o=_s(s,i,e-1/3)}return{r:255*r,g:255*a,b:255*o}}(e.h,r,o),i=!0,s="hsl"):Js(e.c)&&Js(e.m)&&Js(e.y)&&Js(e.k)&&(t=function(e,t,n,r){const a=r/100;return{r:255*(1-e/100)*(1-a),g:255*(1-t/100)*(1-a),b:255*(1-n/100)*(1-a)}}(e.c,e.m,e.y,e.k),i=!0,s="cmyk"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=js(n),{ok:i,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}(e);this.originalInput=e,this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a,this.roundA=Math.round(100*this.a)/100,this.format=t.format??n.format,this.gradientType=t.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=n.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){const e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3}getLuminance(){const e=this.toRgb();let t,n,r;const a=e.r/255,o=e.g/255,i=e.b/255;return t=a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4),n=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4),r=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4),.2126*t+.7152*n+.0722*r}getAlpha(){return this.a}setAlpha(e){return this.a=js(e),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){const{s:e}=this.toHsl();return 0===e}toHsv(){const e=Ds(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}}toHsvString(){const e=Ds(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?`hsv(${t}, ${n}%, ${r}%)`:`hsva(${t}, ${n}%, ${r}%, ${this.roundA})`}toHsl(){const e=Is(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}}toHslString(){const e=Is(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?`hsl(${t}, ${n}%, ${r}%)`:`hsla(${t}, ${n}%, ${r}%, ${this.roundA})`}toHex(e=!1){return Vs(this.r,this.g,this.b,e)}toHexString(e=!1){return"#"+this.toHex(e)}toHex8(e=!1){return function(e,t,n,r,a){const o=[Ns(Math.round(e).toString(16)),Ns(Math.round(t).toString(16)),Ns(Math.round(n).toString(16)),Ns(Bs(r))];return a&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this.r,this.g,this.b,this.a,e)}toHex8String(e=!1){return"#"+this.toHex8(e)}toHexShortString(e=!1){return 1===this.a?this.toHexString(e):this.toHex8String(e)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){const e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?`rgb(${e}, ${t}, ${n})`:`rgba(${e}, ${t}, ${n}, ${this.roundA})`}toPercentageRgb(){const e=e=>`${Math.round(100*Hs(e,255))}%`;return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}}toPercentageRgbString(){const e=e=>Math.round(100*Hs(e,255));return 1===this.a?`rgb(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%)`:`rgba(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%, ${this.roundA})`}toCmyk(){return{...Us(this.r,this.g,this.b)}}toCmykString(){const{c:e,m:t,y:n,k:r}=Us(this.r,this.g,this.b);return`cmyk(${e}, ${t}, ${n}, ${r})`}toName(){if(0===this.a)return"transparent";if(this.a<1)return!1;const e="#"+Vs(this.r,this.g,this.b,!1);for(const[t,n]of Object.entries(Gs))if(e===n)return t;return!1}toString(e){const t=Boolean(e);e=e??this.format;let n=!1;const r=this.a<1&&this.a>=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),"cmyk"===e&&(n=this.toCmykString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new Ys(this.toString())}lighten(e=10){const t=this.toHsl();return t.l+=e/100,t.l=Rs(t.l),new Ys(t)}brighten(e=10){const t=this.toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(-e/100*255))),t.g=Math.max(0,Math.min(255,t.g-Math.round(-e/100*255))),t.b=Math.max(0,Math.min(255,t.b-Math.round(-e/100*255))),new Ys(t)}darken(e=10){const t=this.toHsl();return t.l-=e/100,t.l=Rs(t.l),new Ys(t)}tint(e=10){return this.mix("white",e)}shade(e=10){return this.mix("black",e)}desaturate(e=10){const t=this.toHsl();return t.s-=e/100,t.s=Rs(t.s),new Ys(t)}saturate(e=10){const t=this.toHsl();return t.s+=e/100,t.s=Rs(t.s),new Ys(t)}greyscale(){return this.desaturate(100)}spin(e){const t=this.toHsl(),n=(t.h+e)%360;return t.h=n<0?360+n:n,new Ys(t)}mix(e,t=50){const n=this.toRgb(),r=new Ys(e).toRgb(),a=t/100,o={r:(r.r-n.r)*a+n.r,g:(r.g-n.g)*a+n.g,b:(r.b-n.b)*a+n.b,a:(r.a-n.a)*a+n.a};return new Ys(o)}analogous(e=6,t=30){const n=this.toHsl(),r=360/t,a=[this];for(n.h=(n.h-(r*e>>1)+720)%360;--e;)n.h=(n.h+r)%360,a.push(new Ys(n));return a}complement(){const e=this.toHsl();return e.h=(e.h+180)%360,new Ys(e)}monochromatic(e=6){const t=this.toHsv(),{h:n}=t,{s:r}=t;let{v:a}=t;const o=[],i=1/e;for(;e--;)o.push(new Ys({h:n,s:r,v:a})),a=(a+i)%1;return o}splitcomplement(){const e=this.toHsl(),{h:t}=e;return[this,new Ys({h:(t+72)%360,s:e.s,l:e.l}),new Ys({h:(t+216)%360,s:e.s,l:e.l})]}onBackground(e){const t=this.toRgb(),n=new Ys(e).toRgb(),r=t.a+n.a*(1-t.a);return new Ys({r:(t.r*t.a+n.r*n.a*(1-t.a))/r,g:(t.g*t.a+n.g*n.a*(1-t.a))/r,b:(t.b*t.a+n.b*n.a*(1-t.a))/r,a:r})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(e){const t=this.toHsl(),{h:n}=t,r=[this],a=360/e;for(let o=1;o<e;o++)r.push(new Ys({h:(n+o*a)%360,s:t.s,l:t.l}));return r}equals(e){const t=new Ys(e);return"cmyk"===this.format||"cmyk"===t.format?this.toCmykString()===t.toCmykString():this.toRgbString()===t.toRgbString()}}function Xs(t){var n,r,a,o,i=t.brand,s=t.className,l=t.collapsed,c=null===(r=null===(n=i.logos)||void 0===n?void 0:n[0])||void 0===r?void 0:r.url,u=l||c,d=(null===(o=null===(a=i.colors)||void 0===a?void 0:a[0])||void 0===o?void 0:o.hex)||"f8f2f8",f=(0,e.useMemo)((function(){return new Ys(d)}),[d]),p=f.isDark()?"ntw-text-typography-light":"ntw-text-typography-dark",h=f.toHexString();return(0,e.createElement)("span",{className:Cn("ntw-flex ntw-items-center ntw-gap-8px ntw-text-left",s)},(0,e.createElement)("span",{className:Cn("ntw-block ntw-h-24px ntw-w-24px ntw-shrink-0 ntw-overflow-hidden ntw-rounded ntw-border ntw-border-ui-default",{hidden:!u})},c?(0,e.createElement)("img",{src:c,alt:"Brand logo",className:"ntw-h-full ntw-w-full ntw-object-contain"}):(0,e.createElement)("span",{className:Cn("ntw-text-paragraph-base-bold ntw-flex ntw-h-full ntw-w-full ntw-items-center ntw-justify-center",p),style:{backgroundColor:h}},i.name[0])),(0,e.createElement)("span",{className:Cn("ntw-grow ntw-truncate",{hidden:l})},i.name))}function el(){let e=(0,r.useRef)(!1);return hi((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function tl(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function nl(){let e=[],t={addEventListener(e,n,r,a){return e.addEventListener(n,r,a),t.add((()=>e.removeEventListener(n,r,a)))},requestAnimationFrame(...e){let n=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(n)))},nextFrame(...e){return t.requestAnimationFrame((()=>t.requestAnimationFrame(...e)))},setTimeout(...e){let n=setTimeout(...e);return t.add((()=>clearTimeout(n)))},microTask(...e){let n={current:!0};return tl((()=>{n.current&&e[0]()})),t.add((()=>{n.current=!1}))},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add((()=>{Object.assign(e.style,{[t]:r})}))},group(e){let t=nl();return e(t),this.add((()=>t.dispose()))},add(t){return e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}},dispose(){for(let t of e.splice(0))t()}};return t}function rl(e,...t){e&&t.length>0&&e.classList.add(...t)}function al(e,...t){e&&t.length>0&&e.classList.remove(...t)}function ol(){let[e]=(0,r.useState)(nl);return(0,r.useEffect)((()=>()=>e.dispose()),[e]),e}function il(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let sl=(0,r.createContext)(null);sl.displayName="TransitionContext";var ll=(e=>(e.Visible="visible",e.Hidden="hidden",e))(ll||{});let cl=(0,r.createContext)(null);function ul(e){return"children"in e?ul(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function dl(e,t){let n=mi(e),a=(0,r.useRef)([]),o=el(),i=ol(),s=Ci(((e,t=ai.Hidden)=>{let r=a.current.findIndex((({el:t})=>t===e));-1!==r&&(ei(t,{[ai.Unmount](){a.current.splice(r,1)},[ai.Hidden](){a.current[r].state="hidden"}}),i.microTask((()=>{var e;!ul(a)&&o.current&&(null==(e=n.current)||e.call(n))})))})),l=Ci((e=>{let t=a.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):a.current.push({el:e,state:"visible"}),()=>s(e,ai.Unmount)})),c=(0,r.useRef)([]),u=(0,r.useRef)(Promise.resolve()),d=(0,r.useRef)({enter:[],leave:[],idle:[]}),f=Ci(((e,n,r)=>{c.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter((([t])=>t!==e))),null==t||t.chains.current[n].push([e,new Promise((e=>{c.current.push(e)}))]),null==t||t.chains.current[n].push([e,new Promise((e=>{Promise.all(d.current[n].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===n?u.current=u.current.then((()=>null==t?void 0:t.wait.current)).then((()=>r(n))):r(n)})),p=Ci(((e,t,n)=>{Promise.all(d.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=c.current.shift())||e()})).then((()=>n(t)))}));return(0,r.useMemo)((()=>({children:a,register:l,unregister:s,onStart:f,onStop:p,wait:u,chains:d})),[l,s,a,f,p,d,u])}function fl(){}cl.displayName="NestingContext";let pl=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function hl(e){var t;let n={};for(let r of pl)n[r]=null!=(t=e[r])?t:fl;return n}let ml=ri.RenderStrategy,Cl=li((function(e,t){let{show:n,appear:a=!1,unmount:o,...i}=e,s=(0,r.useRef)(null),l=gi(s,t);vi();let c=Di();if(void 0===n&&null!==c&&(n=(c&_i.Open)===_i.Open),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[u,d]=(0,r.useState)(n?"visible":"hidden"),f=dl((()=>{d("hidden")})),[p,h]=(0,r.useState)(!0),m=(0,r.useRef)([n]);hi((()=>{!1!==p&&m.current[m.current.length-1]!==n&&(m.current.push(n),h(!1))}),[m,n]);let C=(0,r.useMemo)((()=>({show:n,appear:a,initial:p})),[n,a,p]);(0,r.useEffect)((()=>{if(n)d("visible");else if(ul(f)){let e=s.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&d("hidden")}else d("hidden")}),[n,f]);let y={unmount:o};return r.createElement(cl.Provider,{value:f},r.createElement(sl.Provider,{value:C},oi({ourProps:{...y,as:r.Fragment,children:r.createElement(yl,{ref:l,...y,...i})},theirProps:{},defaultTag:r.Fragment,features:ml,visible:"visible"===u,name:"Transition"})))})),yl=li((function(e,t){let{beforeEnter:n,afterEnter:a,beforeLeave:o,afterLeave:i,enter:s,enterFrom:l,enterTo:c,entered:u,leave:d,leaveFrom:f,leaveTo:p,...h}=e,m=(0,r.useRef)(null),C=gi(m,t),y=h.unmount?ai.Unmount:ai.Hidden,{show:g,appear:v,initial:w}=function(){let e=(0,r.useContext)(sl);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[b,E]=(0,r.useState)(g?"visible":"hidden"),x=function(){let e=(0,r.useContext)(cl);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:M,unregister:L}=x,S=(0,r.useRef)(null);(0,r.useEffect)((()=>M(m)),[M,m]),(0,r.useEffect)((()=>{if(y===ai.Hidden&&m.current)return g&&"visible"!==b?void E("visible"):ei(b,{hidden:()=>L(m),visible:()=>M(m)})}),[b,m,M,L,g,y]);let A=mi({enter:il(s),enterFrom:il(l),enterTo:il(c),entered:il(u),leave:il(d),leaveFrom:il(f),leaveTo:il(p)}),O=function(e){let t=(0,r.useRef)(hl(e));return(0,r.useEffect)((()=>{t.current=hl(e)}),[e]),t}({beforeEnter:n,afterEnter:a,beforeLeave:o,afterLeave:i}),T=vi();(0,r.useEffect)((()=>{if(T&&"visible"===b&&null===m.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[m,b,T]);let P=w&&!v,k=!T||P||S.current===g?"idle":g?"enter":"leave",Z=function(e=0){let[t,n]=(0,r.useState)(e),a=el(),o=(0,r.useCallback)((e=>{a.current&&n((t=>t|e))}),[t,a]),i=(0,r.useCallback)((e=>Boolean(t&e)),[t]),s=(0,r.useCallback)((e=>{a.current&&n((t=>t&~e))}),[n,a]),l=(0,r.useCallback)((e=>{a.current&&n((t=>t^e))}),[n]);return{flags:t,addFlag:o,hasFlag:i,removeFlag:s,toggleFlag:l}}(0),H=Ci((e=>ei(e,{enter:()=>{Z.addFlag(_i.Opening),O.current.beforeEnter()},leave:()=>{Z.addFlag(_i.Closing),O.current.beforeLeave()},idle:()=>{}}))),R=Ci((e=>ei(e,{enter:()=>{Z.removeFlag(_i.Opening),O.current.afterEnter()},leave:()=>{Z.removeFlag(_i.Closing),O.current.afterLeave()},idle:()=>{}}))),j=dl((()=>{E("hidden"),L(m)}),x);(function({container:e,direction:t,classes:n,onStart:r,onStop:a}){let o=el(),i=ol(),s=mi(t);hi((()=>{let t=nl();i.add(t.dispose);let l=e.current;if(l&&"idle"!==s.current&&o.current)return t.dispose(),r.current(s.current),t.add(function(e,t,n,r){let a=n?"enter":"leave",o=nl(),i=void 0!==r?function(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}(r):()=>{};"enter"===a&&(e.removeAttribute("hidden"),e.style.display="");let s=ei(a,{enter:()=>t.enter,leave:()=>t.leave}),l=ei(a,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=ei(a,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return al(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),rl(e,...s,...c),o.nextFrame((()=>{al(e,...c),rl(e,...l),function(e,t){let n=nl();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:a}=getComputedStyle(e),[o,i]=[r,a].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t})),s=o+i;if(0!==s){n.group((n=>{n.setTimeout((()=>{t(),n.dispose()}),s),n.addEventListener(e,"transitionrun",(e=>{e.target===e.currentTarget&&n.dispose()}))}));let r=n.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),r())}))}else t();n.add((()=>t())),n.dispose}(e,(()=>(al(e,...s),rl(e,...t.entered),i())))})),o.dispose}(l,n.current,"enter"===s.current,(()=>{t.dispose(),a.current(s.current)}))),t.dispose}),[t])})({container:m,classes:A,direction:k,onStart:mi((e=>{j.onStart(m,e,H)})),onStop:mi((e=>{j.onStop(m,e,R),"leave"===e&&!ul(j)&&(E("hidden"),L(m))}))}),(0,r.useEffect)((()=>{P&&(y===ai.Hidden?S.current=null:S.current=g)}),[g,P,b]);let F=h,N={ref:C};return v&&g&&(F={...F,className:ti(h.className,...A.current.enter,...A.current.enterFrom)}),r.createElement(cl.Provider,{value:j},r.createElement(Vi,{value:ei(b,{visible:_i.Open,hidden:_i.Closed})|Z.flags},oi({ourProps:N,theirProps:F,defaultTag:"div",features:ml,visible:"visible"===b,name:"Transition.Child"})))})),gl=li((function(e,t){let n=null!==(0,r.useContext)(sl),a=null!==Di();return r.createElement(r.Fragment,null,!n&&a?r.createElement(Cl,{ref:t,...e}):r.createElement(yl,{ref:t,...e}))})),vl=Object.assign(Cl,{Child:gl,Root:Cl});var wl=window.ReactDOM;function bl(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function El(e){return e instanceof bl(e).Element||e instanceof Element}function xl(e){return e instanceof bl(e).HTMLElement||e instanceof HTMLElement}function Ml(e){return"undefined"!=typeof ShadowRoot&&(e instanceof bl(e).ShadowRoot||e instanceof ShadowRoot)}var Ll=Math.max,Sl=Math.min,Al=Math.round;function Ol(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Tl(){return!/^((?!chrome|android).)*safari/i.test(Ol())}function Pl(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),a=1,o=1;t&&xl(e)&&(a=e.offsetWidth>0&&Al(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Al(r.height)/e.offsetHeight||1);var i=(El(e)?bl(e):window).visualViewport,s=!Tl()&&n,l=(r.left+(s&&i?i.offsetLeft:0))/a,c=(r.top+(s&&i?i.offsetTop:0))/o,u=r.width/a,d=r.height/o;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function kl(e){var t=bl(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Zl(e){return e?(e.nodeName||"").toLowerCase():null}function Hl(e){return((El(e)?e.ownerDocument:e.document)||window.document).documentElement}function Rl(e){return Pl(Hl(e)).left+kl(e).scrollLeft}function jl(e){return bl(e).getComputedStyle(e)}function Fl(e){var t=jl(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function Nl(e,t,n){void 0===n&&(n=!1);var r,a,o=xl(t),i=xl(t)&&function(e){var t=e.getBoundingClientRect(),n=Al(t.width)/e.offsetWidth||1,r=Al(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=Hl(t),l=Pl(e,i,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==Zl(t)||Fl(s))&&(c=(r=t)!==bl(r)&&xl(r)?{scrollLeft:(a=r).scrollLeft,scrollTop:a.scrollTop}:kl(r)),xl(t)?((u=Pl(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=Rl(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Il(e){var t=Pl(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function _l(e){return"html"===Zl(e)?e:e.assignedSlot||e.parentNode||(Ml(e)?e.host:null)||Hl(e)}function Dl(e){return["html","body","#document"].indexOf(Zl(e))>=0?e.ownerDocument.body:xl(e)&&Fl(e)?e:Dl(_l(e))}function Vl(e,t){var n;void 0===t&&(t=[]);var r=Dl(e),a=r===(null==(n=e.ownerDocument)?void 0:n.body),o=bl(r),i=a?[o].concat(o.visualViewport||[],Fl(r)?r:[]):r,s=t.concat(i);return a?s:s.concat(Vl(_l(i)))}function Ul(e){return["table","td","th"].indexOf(Zl(e))>=0}function Bl(e){return xl(e)&&"fixed"!==jl(e).position?e.offsetParent:null}function ql(e){for(var t=bl(e),n=Bl(e);n&&Ul(n)&&"static"===jl(n).position;)n=Bl(n);return n&&("html"===Zl(n)||"body"===Zl(n)&&"static"===jl(n).position)?t:n||function(e){var t=/firefox/i.test(Ol());if(/Trident/i.test(Ol())&&xl(e)&&"fixed"===jl(e).position)return null;var n=_l(e);for(Ml(n)&&(n=n.host);xl(n)&&["html","body"].indexOf(Zl(n))<0;){var r=jl(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var zl="top",Gl="bottom",Wl="right",Ql="left",Kl="auto",$l=[zl,Gl,Wl,Ql],Jl="start",Yl="end",Xl="viewport",ec="popper",tc=$l.reduce((function(e,t){return e.concat([t+"-"+Jl,t+"-"+Yl])}),[]),nc=[].concat($l,[Kl]).reduce((function(e,t){return e.concat([t,t+"-"+Jl,t+"-"+Yl])}),[]),rc=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ac(e){var t=new Map,n=new Set,r=[];function a(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&a(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||a(e)})),r}var oc={placement:"bottom",modifiers:[],strategy:"absolute"};function ic(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function sc(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,a=t.defaultOptions,o=void 0===a?oc:a;return function(e,t,n){void 0===n&&(n=o);var a,i,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},oc,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(n){var a="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},o,s.options,a),s.scrollParents={reference:El(e)?Vl(e):e.contextElement?Vl(e.contextElement):[],popper:Vl(t)};var i,c,f=function(e){var t=ac(e);return rc.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,s.options.modifiers),c=i.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return s.orderedModifiers=f.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,a=e.effect;if("function"==typeof a){var o=a({state:s,name:t,instance:u,options:r});l.push(o||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(ic(t,n)){s.rects={reference:Nl(t,ql(n),"fixed"===s.options.strategy),popper:Il(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var a=s.orderedModifiers[r],o=a.fn,i=a.options,l=void 0===i?{}:i,d=a.name;"function"==typeof o&&(s=o({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,r=-1}}},update:(a=function(){return new Promise((function(e){u.forceUpdate(),e(s)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(a())}))}))),i}),destroy:function(){d(),c=!0}};if(!ic(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var lc={passive:!0},cc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,a=r.scroll,o=void 0===a||a,i=r.resize,s=void 0===i||i,l=bl(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,lc)})),s&&l.addEventListener("resize",n.update,lc),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,lc)})),s&&l.removeEventListener("resize",n.update,lc)}},data:{}};function uc(e){return e.split("-")[0]}function dc(e){return e.split("-")[1]}function fc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function pc(e){var t,n=e.reference,r=e.element,a=e.placement,o=a?uc(a):null,i=a?dc(a):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case zl:t={x:s,y:n.y-r.height};break;case Gl:t={x:s,y:n.y+n.height};break;case Wl:t={x:n.x+n.width,y:l};break;case Ql:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?fc(o):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Jl:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Yl:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var hc={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mc(e){var t,n=e.popper,r=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=i.x,p=void 0===f?0:f,h=i.y,m=void 0===h?0:h,C="function"==typeof u?u({x:p,y:m}):{x:p,y:m};p=C.x,m=C.y;var y=i.hasOwnProperty("x"),g=i.hasOwnProperty("y"),v=Ql,w=zl,b=window;if(c){var E=ql(n),x="clientHeight",M="clientWidth";E===bl(n)&&"static"!==jl(E=Hl(n)).position&&"absolute"===s&&(x="scrollHeight",M="scrollWidth"),(a===zl||(a===Ql||a===Wl)&&o===Yl)&&(w=Gl,m-=(d&&E===b&&b.visualViewport?b.visualViewport.height:E[x])-r.height,m*=l?1:-1),a!==Ql&&(a!==zl&&a!==Gl||o!==Yl)||(v=Wl,p-=(d&&E===b&&b.visualViewport?b.visualViewport.width:E[M])-r.width,p*=l?1:-1)}var L,S=Object.assign({position:s},c&&hc),A=!0===u?function(e,t){var n=e.x,r=e.y,a=t.devicePixelRatio||1;return{x:Al(n*a)/a||0,y:Al(r*a)/a||0}}({x:p,y:m},bl(n)):{x:p,y:m};return p=A.x,m=A.y,l?Object.assign({},S,((L={})[w]=g?"0":"",L[v]=y?"0":"",L.transform=(b.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",L)):Object.assign({},S,((t={})[w]=g?m+"px":"",t[v]=y?p+"px":"",t.transform="",t))}var Cc={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,a=void 0===r||r,o=n.adaptive,i=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,c={placement:uc(t.placement),variation:dc(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,mc(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,mc(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},yc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.offset,o=void 0===a?[0,0]:a,i=nc.reduce((function(e,n){return e[n]=function(e,t,n){var r=uc(e),a=[Ql,zl].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[Ql,Wl].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}(n,t.rects,o),e}),{}),s=i[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}},gc={left:"right",right:"left",bottom:"top",top:"bottom"};function vc(e){return e.replace(/left|right|bottom|top/g,(function(e){return gc[e]}))}var wc={start:"end",end:"start"};function bc(e){return e.replace(/start|end/g,(function(e){return wc[e]}))}function Ec(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Ml(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function xc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Mc(e,t,n){return t===Xl?xc(function(e,t){var n=bl(e),r=Hl(e),a=n.visualViewport,o=r.clientWidth,i=r.clientHeight,s=0,l=0;if(a){o=a.width,i=a.height;var c=Tl();(c||!c&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}return{width:o,height:i,x:s+Rl(e),y:l}}(e,n)):El(t)?function(e,t){var n=Pl(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):xc(function(e){var t,n=Hl(e),r=kl(e),a=null==(t=e.ownerDocument)?void 0:t.body,o=Ll(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Ll(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-r.scrollLeft+Rl(e),l=-r.scrollTop;return"rtl"===jl(a||n).direction&&(s+=Ll(n.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:l}}(Hl(e)))}function Lc(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Sc(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Ac(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=void 0===r?e.placement:r,o=n.strategy,i=void 0===o?e.strategy:o,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,u=void 0===c?Xl:c,d=n.elementContext,f=void 0===d?ec:d,p=n.altBoundary,h=void 0!==p&&p,m=n.padding,C=void 0===m?0:m,y=Lc("number"!=typeof C?C:Sc(C,$l)),g=f===ec?"reference":ec,v=e.rects.popper,w=e.elements[h?g:f],b=function(e,t,n,r){var a="clippingParents"===t?function(e){var t=Vl(_l(e)),n=["absolute","fixed"].indexOf(jl(e).position)>=0&&xl(e)?ql(e):e;return El(n)?t.filter((function(e){return El(e)&&Ec(e,n)&&"body"!==Zl(e)})):[]}(e):[].concat(t),o=[].concat(a,[n]),i=o[0],s=o.reduce((function(t,n){var a=Mc(e,n,r);return t.top=Ll(a.top,t.top),t.right=Sl(a.right,t.right),t.bottom=Sl(a.bottom,t.bottom),t.left=Ll(a.left,t.left),t}),Mc(e,i,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(El(w)?w:w.contextElement||Hl(e.elements.popper),l,u,i),E=Pl(e.elements.reference),x=pc({reference:E,element:v,strategy:"absolute",placement:a}),M=xc(Object.assign({},v,x)),L=f===ec?M:E,S={top:b.top-L.top+y.top,bottom:L.bottom-b.bottom+y.bottom,left:b.left-L.left+y.left,right:L.right-b.right+y.right},A=e.modifiersData.offset;if(f===ec&&A){var O=A[a];Object.keys(S).forEach((function(e){var t=[Wl,Gl].indexOf(e)>=0?1:-1,n=[zl,Gl].indexOf(e)>=0?"y":"x";S[e]+=O[n]*t}))}return S}var Oc={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var a=n.mainAxis,o=void 0===a||a,i=n.altAxis,s=void 0===i||i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,C=t.options.placement,y=uc(C),g=l||(y!==C&&h?function(e){if(uc(e)===Kl)return[];var t=vc(e);return[bc(e),t,bc(t)]}(C):[vc(C)]),v=[C].concat(g).reduce((function(e,n){return e.concat(uc(n)===Kl?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=n.boundary,o=n.rootBoundary,i=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?nc:l,u=dc(r),d=u?s?tc:tc.filter((function(e){return dc(e)===u})):$l,f=d.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=Ac(e,{placement:n,boundary:a,rootBoundary:o,padding:i})[uc(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,b=t.rects.popper,E=new Map,x=!0,M=v[0],L=0;L<v.length;L++){var S=v[L],A=uc(S),O=dc(S)===Jl,T=[zl,Gl].indexOf(A)>=0,P=T?"width":"height",k=Ac(t,{placement:S,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),Z=T?O?Wl:Ql:O?Gl:zl;w[P]>b[P]&&(Z=vc(Z));var H=vc(Z),R=[];if(o&&R.push(k[A]<=0),s&&R.push(k[Z]<=0,k[H]<=0),R.every((function(e){return e}))){M=S,x=!1;break}E.set(S,R)}if(x)for(var j=function(e){var t=v.find((function(t){var n=E.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return M=t,"break"},F=h?3:1;F>0&&"break"!==j(F);F--);t.placement!==M&&(t.modifiersData[r]._skip=!0,t.placement=M,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Tc(e,t,n){return Ll(e,Sl(t,n))}var Pc={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.mainAxis,o=void 0===a||a,i=n.altAxis,s=void 0!==i&&i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,m=void 0===h?0:h,C=Ac(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),y=uc(t.placement),g=dc(t.placement),v=!g,w=fc(y),b="x"===w?"y":"x",E=t.modifiersData.popperOffsets,x=t.rects.reference,M=t.rects.popper,L="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,S="number"==typeof L?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(E){if(o){var T,P="y"===w?zl:Ql,k="y"===w?Gl:Wl,Z="y"===w?"height":"width",H=E[w],R=H+C[P],j=H-C[k],F=p?-M[Z]/2:0,N=g===Jl?x[Z]:M[Z],I=g===Jl?-M[Z]:-x[Z],_=t.elements.arrow,D=p&&_?Il(_):{width:0,height:0},V=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=V[P],B=V[k],q=Tc(0,x[Z],D[Z]),z=v?x[Z]/2-F-q-U-S.mainAxis:N-q-U-S.mainAxis,G=v?-x[Z]/2+F+q+B+S.mainAxis:I+q+B+S.mainAxis,W=t.elements.arrow&&ql(t.elements.arrow),Q=W?"y"===w?W.clientTop||0:W.clientLeft||0:0,K=null!=(T=null==A?void 0:A[w])?T:0,$=H+G-K,J=Tc(p?Sl(R,H+z-K-Q):R,H,p?Ll(j,$):j);E[w]=J,O[w]=J-H}if(s){var Y,X="x"===w?zl:Ql,ee="x"===w?Gl:Wl,te=E[b],ne="y"===b?"height":"width",re=te+C[X],ae=te-C[ee],oe=-1!==[zl,Ql].indexOf(y),ie=null!=(Y=null==A?void 0:A[b])?Y:0,se=oe?re:te-x[ne]-M[ne]-ie+S.altAxis,le=oe?te+x[ne]+M[ne]-ie-S.altAxis:ae,ce=p&&oe?function(e,t,n){var r=Tc(e,t,n);return r>n?n:r}(se,te,le):Tc(p?se:re,te,p?le:ae);E[b]=ce,O[b]=ce-te}t.modifiersData[r]=O}},requiresIfExists:["offset"]},kc={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,a=e.options,o=n.elements.arrow,i=n.modifiersData.popperOffsets,s=uc(n.placement),l=fc(s),c=[Ql,Wl].indexOf(s)>=0?"height":"width";if(o&&i){var u=function(e,t){return Lc("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Sc(e,$l))}(a.padding,n),d=Il(o),f="y"===l?zl:Ql,p="y"===l?Gl:Wl,h=n.rects.reference[c]+n.rects.reference[l]-i[l]-n.rects.popper[c],m=i[l]-n.rects.reference[l],C=ql(o),y=C?"y"===l?C.clientHeight||0:C.clientWidth||0:0,g=h/2-m/2,v=u[f],w=y-d[c]-u[p],b=y/2-d[c]/2+g,E=Tc(v,b,w),x=l;n.modifiersData[r]=((t={})[x]=E,t.centerOffset=E-b,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Ec(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Zc(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Hc(e){return[zl,Wl,Gl,Ql].some((function(t){return e[t]>=0}))}var Rc=sc({defaultModifiers:[cc,{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=pc({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Cc,{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},a=t.elements[e];xl(a)&&Zl(a)&&(Object.assign(a.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],a=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});xl(r)&&Zl(r)&&(Object.assign(r.style,o),Object.keys(a).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},yc,Oc,Pc,kc,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=Ac(t,{elementContext:"reference"}),s=Ac(t,{altBoundary:!0}),l=Zc(i,r),c=Zc(s,a,o),u=Hc(l),d=Hc(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),jc=n(590),Fc=n.n(jc),Nc=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},Ic="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect,_c=[],Dc=function(){return Dc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Dc.apply(this,arguments)},Vc={placement:"bottom-start",modifiers:[{name:"flip",options:{fallbackPlacements:["top-start"]}},{name:"offset",options:{offset:[0,0]}}]};function Uc(t){var n=t.children,a=t.referenceEl,o=t.fullwidth,i=void 0===o||o,s=t.className,l=t.fixed,c=t.popperOptions,u=(0,e.useState)(null),d=u[0],f=u[1],p=function(e,t,n){void 0===n&&(n={});var a=r.useRef(null),o={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||_c},i=r.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=i[0],l=i[1],c=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);wl.flushSync((function(){l({styles:Nc(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:Nc(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),u=r.useMemo((function(){var e={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[c,{name:"applyStyles",enabled:!1}])};return Fc()(a.current,e)?a.current||e:(a.current=e,e)}),[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,c]),d=r.useRef();return Ic((function(){d.current&&d.current.setOptions(u)}),[u]),Ic((function(){if(null!=e&&null!=t){var r=(n.createPopper||Rc)(e,t,u);return d.current=r,function(){r.destroy(),d.current=null}}}),[e,t,n.createPopper]),{state:d.current?d.current.state:null,styles:s.styles,attributes:s.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}}(a.current,d,Dc(Dc({strategy:l?"fixed":void 0},Vc),c)),h=p.styles,m=p.attributes,C=p.update;return(0,e.createElement)("div",Cr({ref:f,className:Cn("ntw-z-50",{"ntw-w-full":i},s),style:h.popper},m.popper),(0,e.createElement)(vl,{enter:"ntw-transition ntw-ease-out ntw-duration-100",enterFrom:"-ntw-translate-y-16px ntw-opacity-0",enterTo:"ntw-translate-y-0 ntw-opacity-100",leave:"ntw-transition ntw-ease-in ntw-duration-100",leaveFrom:"ntw-opacity-100 ntw-translate-y-0",leaveTo:"ntw-opacity-0 -ntw-translate-y-16px",beforeEnter:function(){return null==C?void 0:C()}},n))}Uc.Container=function(t){var n=t.children,r=t.className;return(0,e.createElement)("div",{className:Cn("ntw-focus:outline-none ntw-overflow-auto ntw-rounded-lg ntw-bg-background-light ntw-text-paragraph-base ntw-text-typography-medium ntw-shadow-default",r)},n)},Uc.Item=function(t){var n=t.children,r=t.className,a=t.active,o=t.selected,i=t.disabled,s=t.variant,l=void 0===s?"default":s,c={default:[{"ntw-text-button-hover":a&&!i,"ntw-hover:text-button-hover":!i}],destructive:["ntw-text-button-destructive",{"ntw-text-button-destructive-hover":a&&!i,"ntw-hover:text-button-destructive-hover":!i}]};return(0,e.createElement)("div",{className:Cn("ntw-relative ntw-block ntw-select-none ntw-truncate ntw-px-16px ntw-py-8px",{"ntw-bg-background-selected":o,"ntw-text-typography-disabled":i,"ntw-cursor-pointer":!i},c[l],r)},n)};var Bc=Uc;function qc(){var t=wr(),n=t.brands,r=t.setSelectedBrand,a=t.selectedBrand,o=(0,e.useState)(""),i=o[0],s=o[1],l=!(null==n?void 0:n.length),c=null==n?void 0:n.filter((function(e){return e.name.toLowerCase().includes(i.toLowerCase())}));return(0,e.createElement)(hs.Panel,{className:"ntw-pt-16px"},(function(t){var n=t.close;return(0,e.createElement)(Bc.Container,{className:"ntw-relative ntw-max-h-[300px] ntw-w-[260px]"},l?(0,e.createElement)(Bc.Item,null,"No Brands Available"):(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"ntw-sticky ntw-top-0 ntw-z-[100] ntw-mb-8px ntw-bg-[#FFFFFF] ntw-px-8px ntw-pt-8px"},(0,e.createElement)(u.TextControl,{value:i,onChange:s,name:"brand name",placeholder:"Find a brand"})),(0,e.createElement)("div",{className:"ntw-overflow-y-auto"},null==c?void 0:c.map((function(t){return(0,e.createElement)(Bc.Item,{key:t.id,selected:(null==a?void 0:a.id)===t.id},(0,e.createElement)("button",{onClick:function(){mt(t.id),r(t),n()},className:"ntw-block ntw-w-full"},(0,e.createElement)(Xs,{brand:t})))})))))}))}var zc=function(e){var t=Na({queryKey:["brandTones",e],queryFn:function(t){var n=t.signal;return yt({brandId:e,signal:n})},staleTime:3e5,enabled:!!e}),n=t.data,r=t.error;return{tones:n||[],isLoading:t.isLoading,isFetching:t.isFetching,error:r}};function Gc(t){var n=t.collapsed,r=wr(),a=r.setBrands,o=r.selectedBrand,i=r.setSelectedBrand,s=r.brands,l=r.setCurrentTones,c=r.tones,u=(0,e.useRef)(null),d=zc(null==o?void 0:o.id),f=d.tones,p=d.isLoading,h=f.filter((function(e){return"active"===e.status}));return(0,e.useEffect)((function(){wt.getUserBrands().then(a)}),[a]),(0,e.useEffect)((function(){if(!o&&window.notaTools.selected_brand_id){var e=s.find((function(e){return e.id===window.notaTools.selected_brand_id}));i(null!=e?e:null)}}),[s,o,i]),(0,e.useEffect)((function(){JSON.stringify(c.values)!==JSON.stringify(h)&&l({values:h,isLoading:p})}),[c.values,p,l,h]),(0,e.createElement)("div",{className:"ntw-relative ntw-text-sm"},(0,e.createElement)(hs,null,(0,e.createElement)(hs.Button,{ref:u,className:"ntw-w-full"},(0,e.createElement)("span",{className:Cn("ntw-bg-white ntw-flex ntw-w-full ntw-items-center ntw-gap-8px ntw-rounded-lg ntw-p-8px ntw-text-left ntw-shadow",{"ntw-text-typography-medium":!o})},(0,e.createElement)(e.Fragment,null,o?(0,e.createElement)(Xs,{brand:o,className:"ntw-min-w-[1px] ntw-grow",collapsed:n}):(0,e.createElement)(e.Fragment,null,(0,e.createElement)(xs,{size:24,className:"ntw-shrink-0"}),(0,e.createElement)("span",{className:Cn("ntw-grow",{hidden:n})},"Select a brand")),(0,e.createElement)(Zs,{size:16,className:Cn("ntw-shrink-0",{hidden:n})})))),(0,e.createElement)(Bc,{referenceEl:u,className:"ntw-w-[260px]",fullwidth:!1,fixed:!0},(0,e.createElement)(qc,null))))}var Wc=Object.defineProperty,Qc=Object.defineProperties,Kc=Object.getOwnPropertyDescriptors,$c=Object.getOwnPropertySymbols,Jc=Object.prototype.hasOwnProperty,Yc=Object.prototype.propertyIsEnumerable,Xc=(e,t,n)=>t in e?Wc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const eu=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168,12A75.9,75.9,0,0,0,92.49,96.33L23.91,189.85a19.89,19.89,0,0,0,2,26l14.29,14.29a19.89,19.89,0,0,0,26,2l93.52-68.58A76,76,0,1,0,168,12Zm52,76a51.66,51.66,0,0,1-7.75,27.27L140.74,43.75A52,52,0,0,1,220,88ZM54.72,210.71l-9.43-9.43,56.19-76.63a76.46,76.46,0,0,0,29.87,29.87ZM116,88a51.63,51.63,0,0,1,7.75-27.27l71.51,71.51A52,52,0,0,1,116,88Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M156.5,151,59,222.45a8,8,0,0,1-10.38-.79l-14.3-14.3A8,8,0,0,1,33.55,197L105,99.5l0,0A64,64,0,0,0,156.48,151Z",opacity:"0.2"}),a().createElement("path",{d:"M168,16A72.07,72.07,0,0,0,96,88a73.29,73.29,0,0,0,.63,9.42L27.12,192.22A15.93,15.93,0,0,0,28.71,213L43,227.29a15.93,15.93,0,0,0,20.78,1.59l94.81-69.53A73.29,73.29,0,0,0,168,160a72,72,0,1,0,0-144Zm56,72a55.72,55.72,0,0,1-11.16,33.52L134.49,43.16A56,56,0,0,1,224,88ZM54.32,216,40,201.68,102.14,117A72.37,72.37,0,0,0,139,153.86ZM112,88a55.67,55.67,0,0,1,11.16-33.51l78.34,78.34A56,56,0,0,1,112,88Zm-2.35,58.34a8,8,0,0,1,0,11.31l-8,8a8,8,0,1,1-11.31-11.31l8-8A8,8,0,0,1,109.67,146.33Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M115.06,46.36a4,4,0,0,0-6.11.54A71.54,71.54,0,0,0,96,88a73.29,73.29,0,0,0,.63,9.42L27.12,192.22A15.93,15.93,0,0,0,28.71,213L43,227.29a15.93,15.93,0,0,0,20.78,1.59l94.81-69.53A73.29,73.29,0,0,0,168,160a71.54,71.54,0,0,0,41.09-12.93,4,4,0,0,0,.54-6.11Zm2.61,103.28-16,16a8,8,0,1,1-11.31-11.31l16-16a8,8,0,0,1,11.31,11.31Zm109.4-20.56a4,4,0,0,1-6.12.54L126.38,35.05a4,4,0,0,1,.54-6.12A71.93,71.93,0,0,1,227.07,129.08Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168,18A69.94,69.94,0,0,0,98.74,98l-70,95.46a13.92,13.92,0,0,0,1.39,18.17l14.3,14.3a13.93,13.93,0,0,0,18.17,1.39l95.46-70A70,70,0,1,0,168,18Zm58,70a57.65,57.65,0,0,1-13,36.52L131.49,43A57.95,57.95,0,0,1,226,88ZM55.5,217.59a2,2,0,0,1-2.6-.2L38.61,203.1a2,2,0,0,1-.2-2.6l64.22-87.56a70.32,70.32,0,0,0,40.44,40.43ZM110,88a57.73,57.73,0,0,1,13-36.52L204.53,133A58,58,0,0,1,110,88Zm-1.75,59.75a6,6,0,0,1,0,8.49l-8,8a6,6,0,1,1-8.49-8.49l8-8A6,6,0,0,1,108.26,147.74Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168,16A72.07,72.07,0,0,0,96,88a73.29,73.29,0,0,0,.63,9.42L27.12,192.22A15.93,15.93,0,0,0,28.71,213L43,227.29a15.93,15.93,0,0,0,20.78,1.59l94.81-69.53A73.29,73.29,0,0,0,168,160a72,72,0,1,0,0-144Zm56,72a55.72,55.72,0,0,1-11.16,33.52L134.49,43.16A56,56,0,0,1,224,88ZM54.32,216,40,201.68,102.14,117A72.37,72.37,0,0,0,139,153.86ZM112,88a55.67,55.67,0,0,1,11.16-33.51l78.34,78.34A56,56,0,0,1,112,88Zm-2.35,58.34a8,8,0,0,1,0,11.31l-8,8a8,8,0,1,1-11.31-11.31l8-8A8,8,0,0,1,109.67,146.33Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168,20a68.08,68.08,0,0,0-68,68,67.19,67.19,0,0,0,.82,10.49L30.34,194.59a11.94,11.94,0,0,0,1.2,15.58l14.29,14.3a11.95,11.95,0,0,0,15.58,1.19l96.11-70.48A68,68,0,1,0,168,20Zm60,68a59.7,59.7,0,0,1-14.87,39.47L128.54,42.87A59.94,59.94,0,0,1,228,88ZM56.68,219.21a4,4,0,0,1-5.2-.4L37.19,204.52a4,4,0,0,1-.4-5.2l66.46-90.62a68.31,68.31,0,0,0,44.05,44.05ZM108,88a59.77,59.77,0,0,1,14.87-39.47l84.6,84.6A60,60,0,0,1,108,88Zm-1.17,61.17a4,4,0,0,1,0,5.65l-8,8a4,4,0,1,1-5.65-5.65l8-8A4,4,0,0,1,106.84,149.16Z"}))]]),tu=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>Qc(e,Kc(t)))(((e,t)=>{for(var n in t||(t={}))Jc.call(t,n)&&Xc(e,n,t[n]);if($c)for(var n of $c(t))Yc.call(t,n)&&Xc(e,n,t[n]);return e})({ref:t},e),{weights:eu}))));tu.displayName="MicrophoneStage";var nu=Object.defineProperty,ru=Object.defineProperties,au=Object.getOwnPropertyDescriptors,ou=Object.getOwnPropertySymbols,iu=Object.prototype.hasOwnProperty,su=Object.prototype.propertyIsEnumerable,lu=(e,t,n)=>t in e?nu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const cu=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M200.49,183.51a12,12,0,0,1,0,17c-1.13,1.12-28,27.51-72.49,27.51-33.71,0-59.35-17.46-76-33.86V208a12,12,0,0,1-24,0V160a12,12,0,0,1,12-12H88a12,12,0,0,1,0,24H64.12c13.1,14.32,35.08,32,63.88,32,34.63,0,55.31-20.28,55.51-20.49A12,12,0,0,1,200.49,183.51ZM216,36a12,12,0,0,0-12,12V61.86C187.35,45.46,161.71,28,128,28,83.54,28,56.64,54.39,55.51,55.51a12,12,0,0,0,17,17C72.69,72.28,93.37,52,128,52c28.8,0,50.78,17.68,63.88,32H168a12,12,0,0,0,0,24h48a12,12,0,0,0,12-12V48A12,12,0,0,0,216,36Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M216,48V96H168ZM40,208l48-48H40Z",opacity:"0.2"}),a().createElement("path",{d:"M219.06,40.61a8,8,0,0,0-8.72,1.73L194.28,58.41C174.13,41.1,151.36,32,128,32,85.18,32,59.42,57.27,58.34,58.34A8,8,0,0,0,69.66,69.66C69.87,69.44,91.73,48,128,48c23.17,0,41.92,10.85,54.92,21.76L162.34,90.34A8,8,0,0,0,168,104h48a8,8,0,0,0,8-8V48A8,8,0,0,0,219.06,40.61ZM208,88H187.31L208,67.31Zm-21.66,98.34c-.21.22-22.07,21.66-58.34,21.66-23.17,0-41.92-10.85-54.92-21.76l20.58-20.58A8,8,0,0,0,88,152H40a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66l16.06-16.07C81.87,214.9,104.64,224,128,224c42.82,0,68.58-25.27,69.66-26.34a8,8,0,0,0-11.32-11.32ZM48,168H68.69L48,188.69Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M197.66,186.34a8,8,0,0,1,0,11.32C196.58,198.73,170.82,224,128,224c-23.36,0-46.13-9.1-66.28-26.41L45.66,213.66A8,8,0,0,1,32,208V160a8,8,0,0,1,8-8H88a8,8,0,0,1,5.66,13.66L73.08,186.24C86.08,197.15,104.83,208,128,208c36.27,0,58.13-21.44,58.34-21.66A8,8,0,0,1,197.66,186.34Zm21.4-145.73a8,8,0,0,0-8.72,1.73L194.28,58.41C174.13,41.1,151.36,32,128,32,85.18,32,59.42,57.27,58.34,58.34A8,8,0,0,0,69.66,69.66C69.87,69.44,91.73,48,128,48c23.17,0,41.92,10.85,54.92,21.76L162.34,90.34A8,8,0,0,0,168,104h48a8,8,0,0,0,8-8V48A8,8,0,0,0,219.06,40.61Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M196.24,187.76a6,6,0,0,1,0,8.48C195.19,197.29,170,222,128,222c-39.66,0-67.59-25.75-82-43.26V208a6,6,0,0,1-12,0V160a6,6,0,0,1,6-6H88a6,6,0,0,1,0,12H51.35c11.41,15.11,38.23,44,76.65,44,37.09,0,59.54-22,59.76-22.24A6,6,0,0,1,196.24,187.76ZM216,42a6,6,0,0,0-6,6V77.26C195.59,59.75,167.66,34,128,34,86,34,60.81,58.71,59.76,59.76a6,6,0,0,0,8.48,8.48C68.46,68,90.91,46,128,46c38.42,0,65.24,28.89,76.65,44H168a6,6,0,0,0,0,12h48a6,6,0,0,0,6-6V48A6,6,0,0,0,216,42Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M197.67,186.37a8,8,0,0,1,0,11.29C196.58,198.73,170.82,224,128,224c-37.39,0-64.53-22.4-80-39.85V208a8,8,0,0,1-16,0V160a8,8,0,0,1,8-8H88a8,8,0,0,1,0,16H55.44C67.76,183.35,93,208,128,208c36,0,58.14-21.46,58.36-21.68A8,8,0,0,1,197.67,186.37ZM216,40a8,8,0,0,0-8,8V71.85C192.53,54.4,165.39,32,128,32,85.18,32,59.42,57.27,58.34,58.34a8,8,0,0,0,11.3,11.34C69.86,69.46,92,48,128,48c35,0,60.24,24.65,72.56,40H168a8,8,0,0,0,0,16h48a8,8,0,0,0,8-8V48A8,8,0,0,0,216,40Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M194.83,189.18a4,4,0,0,1,0,5.65c-1,1-25.65,25.17-66.83,25.17-23.93,0-47.35-10.05-67.73-29.08a146.39,146.39,0,0,1-16.27-18V208a4,4,0,0,1-8,0V160a4,4,0,0,1,4-4H88a4,4,0,0,1,0,8H47.41c10,14.06,38.39,48,80.59,48,37.75,0,60.95-22.6,61.18-22.83A4,4,0,0,1,194.83,189.18ZM216,44a4,4,0,0,0-4,4V83.07a146.39,146.39,0,0,0-16.27-18C175.35,46.05,151.93,36,128,36,86.82,36,62.2,60.14,61.17,61.17a4,4,0,0,0,5.65,5.66C67.05,66.6,90.25,44,128,44c42.2,0,70.63,33.94,80.59,48H168a4,4,0,0,0,0,8h48a4,4,0,0,0,4-4V48A4,4,0,0,0,216,44Z"}))]]),uu=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>ru(e,au(t)))(((e,t)=>{for(var n in t||(t={}))iu.call(t,n)&&lu(e,n,t[n]);if(ou)for(var n of ou(t))su.call(t,n)&&lu(e,n,t[n]);return e})({ref:t},e),{weights:cu}))));uu.displayName="ArrowsClockwise";var du=Object.defineProperty,fu=Object.defineProperties,pu=Object.getOwnPropertyDescriptors,hu=Object.getOwnPropertySymbols,mu=Object.prototype.hasOwnProperty,Cu=Object.prototype.propertyIsEnumerable,yu=(e,t,n)=>t in e?du(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const gu=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),a().createElement("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"}))]]),vu=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>fu(e,pu(t)))(((e,t)=>{for(var n in t||(t={}))mu.call(t,n)&&yu(e,n,t[n]);if(hu)for(var n of hu(t))Cu.call(t,n)&&yu(e,n,t[n]);return e})({ref:t},e),{weights:gu}))));vu.displayName="CaretLeft";var wu=Object.defineProperty,bu=Object.defineProperties,Eu=Object.getOwnPropertyDescriptors,xu=Object.getOwnPropertySymbols,Mu=Object.prototype.hasOwnProperty,Lu=Object.prototype.propertyIsEnumerable,Su=(e,t,n)=>t in e?wu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Au=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),a().createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]),Ou=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>bu(e,Eu(t)))(((e,t)=>{for(var n in t||(t={}))Mu.call(t,n)&&Su(e,n,t[n]);if(xu)for(var n of xu(t))Lu.call(t,n)&&Su(e,n,t[n]);return e})({ref:t},e),{weights:Au}))));Ou.displayName="CaretRight";var Tu=function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))},Pu=function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}};function ku(t){var n,r,a=this,o=t.history,i=t.addHistoryItem,s=t.title,l=wr(),c=l.selectedBrand,u=l.setLoadingState,d=l.tones,f=_a().config,p=(0,e.useRef)(null),h=null==o?void 0:o.fullHistory[o.historyIndex],m=Fu(s),C=null===(n=d.values)||void 0===n?void 0:n.filter((function(e){var t;return null===(t=e.prompts)||void 0===t?void 0:t[m]})),y=(null===(r=null==h?void 0:h.tone)||void 0===r?void 0:r.id)||"";return(0,e.createElement)(hs,{as:e.Fragment},(0,e.createElement)(hs.Button,{ref:p,className:"ntw-outline-none"},(0,e.createElement)(tu,{size:16})),(0,e.createElement)(Bc,{fixed:!0,referenceEl:p,fullwidth:!1,popperOptions:{placement:"bottom-end"}},(0,e.createElement)(hs.Panel,{className:"ntw-relative"},(function(t){var n=t.close;return(0,e.createElement)(Bc.Container,null,C.length>0?C.map((function(t){return(0,e.createElement)(Bc.Item,{key:t.id,className:"ntw-p-24px ntw-py-12px hover:ntw-text-button-hover",disabled:t.id===y},(0,e.createElement)("button",{className:Cn("ntw-text-left",{"ntw-cursor-not-allowed":t.id===y}),disabled:t.id===y,onClick:function(){var e;e=t.id,Tu(a,void 0,void 0,(function(){var t,n,r,a;return Pu(this,(function(o){switch(o.label){case 0:if(!ju(s))return[2];if(t=Hu(s),n=Ru(s),!t||!n)return[2];o.label=1;case 1:return o.trys.push([1,3,4,5]),u(t,!0),[4,Ct({toneId:e,organizationBrandId:(null==c?void 0:c.id)||"",text:(null==h?void 0:h.values)||[],task:n,queue:f.requestsToQueue.adjustTextTone,promptCategory:m})];case 2:return r=o.sent(),i({values:r.adjustedText,tone:d.values.find((function(t){return t.id===e}))}),[3,5];case 3:return a=o.sent(),lt.error("Error adjusting text tone",a),[3,5];case 4:return u(t,!1),[7];case 5:return[2]}}))})),n()}},t.title))})):(0,e.createElement)(Bc.Item,{disabled:!0},d.isLoading?"Loading...":"No tones found for this brand"))}))))}var Zu={Summary:{component:"summary",task:"summary"},Headlines:{component:"headlines",task:"headlines"},"Page Title":{component:"metaTitles",task:"meta titles"},"Meta Description":{component:"metaDescriptions",task:"meta descriptions"},Facebook:{component:"socialPostsFacebook",task:"facebook social post"},Instagram:{component:"socialPostsInstagram",task:"instagram social post"},X:{component:"socialPostsTwitter",task:"twitter social post"},LinkedIn:{component:"socialPostsLinkedIn",task:"linkedIn social post"},TikTok:{component:"socialPostsTikTok",task:"tiktok social post"},Threads:{component:"socialPostsThreads",task:"threads social post"}},Hu=function(e){var t;return(null===(t=Zu[e])||void 0===t?void 0:t.component)||null},Ru=function(e){var t;return(null===(t=Zu[e])||void 0===t?void 0:t.task)||null},ju=function(e){return Object.keys(Zu).includes(e)},Fu=function(e){switch(e){case or.Summary:return"summary";case or.Headlines:return"headline";case or.MetaTitle:return"pageTitle";case or.MetaDescription:return"metaDescription";case or.Facebook:return"socialPostFacebook";case or.Instagram:return"socialPostInstagram";case or.Twitter:return"socialPostTwitter";case or.Threads:return"socialPostThreads";case or.LinkedIn:return"socialPostLinkedIn";case or.TikTok:return"socialPostTiktok";case or.SMS:return"sms";default:return"general"}};function Nu(t){var n=t.title,r=t.subtitle,a=t.className,o=t.onRefresh,i=t.history,s=t.tone,l=t.addHistoryItem;return(0,e.createElement)("div",{className:a},(0,e.createElement)("div",{className:"ntw-group"},(0,e.createElement)("div",{className:"ntw-group ntw-flex ntw-items-start ntw-justify-between"},(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-8px ntw-flex ntw-items-center ntw-gap-2"},(0,e.createElement)("p",{className:"ntw-text-h-800"},n),!!s&&(0,e.createElement)("div",{className:"ntw-bg-white ntw-mx-2 ntw-flex ntw-items-center ntw-gap-2 ntw-rounded-md ntw-border ntw-border-elements-default ntw-bg-background-mistVeil ntw-px-2 ntw-py-1 ntw-text-paragraph-xs ntw-text-typography-medium"},(0,e.createElement)(tu,null)," ",s.title)),!!r&&(0,e.createElement)("p",{className:"ntw-text-paragraph-tight"},r)),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-shrink-0 ntw-items-center ntw-space-x-16px ntw-text-typography-disabled ntw-opacity-0 group-hover:ntw-opacity-100"},l&&(0,e.createElement)(ku,{title:n,addHistoryItem:l,history:i}),o&&(0,e.createElement)("button",{className:"hover:ntw-text-button-hover",onClick:o},(0,e.createElement)(uu,{size:16})),!!i&&(0,e.createElement)("div",{className:"ntw-flex ntw-items-center"},(0,e.createElement)("button",{onClick:i.prevHistoryItem,className:Cn("ntw-text-typography-disabled",{"hover:ntw-text-button-hover":i.hasPrev}),disabled:!i.hasPrev},(0,e.createElement)(vu,{size:16})),(0,e.createElement)("span",null,i.historyIndex+1," / ",i.totalHistoryItems),(0,e.createElement)("button",{onClick:i.nextHistoryItem,className:Cn("ntw-text-typography-disabled",{"hover:ntw-text-button-hover":i.hasNext}),disabled:!i.hasNext},(0,e.createElement)(Ou,{size:16})))))))}function Iu(t){var n=t.onSubmit,r=t.disableAnalyze;return(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-24px ntw-flex ntw-items-center ntw-text-h-900"},(0,e.createElement)("div",{className:"ntw-grow"},"Welcome to Nota"),(0,e.createElement)(Gc,null)),(0,e.createElement)("div",{className:"ntw-flex ntw-items-center ntw-justify-between ntw-rounded-2xl ntw-p-24px ntw-shadow"},(0,e.createElement)(Nu,{title:"Get Started",subtitle:"Analyze this post for Nota AI-driven insights, drawing on best practices to elevate your content across platforms."}),(0,e.createElement)("div",{className:"ntw-flex-shrink-0",id:hr},(0,e.createElement)($n,{disabled:r,onClick:n},"Analyze page"))))}function _u({onFocus:e}){let[t,n]=(0,r.useState)(!0);return t?r.createElement(Wi,{as:"button",type:"button",features:Gi.Focusable,onFocus:t=>{t.preventDefault();let r,a=50;r=requestAnimationFrame((function t(){if(!(a--<=0))return e()?(n(!1),void cancelAnimationFrame(r)):void(r=requestAnimationFrame(t));r&&cancelAnimationFrame(r)}))}}):null}const Du=r.createContext(null);function Vu({children:e}){let t=r.useRef({groups:new Map,get(e,t){var n;let r=this.groups.get(e);r||(r=new Map,this.groups.set(e,r));let a=null!=(n=r.get(t))?n:0;return r.set(t,a+1),[Array.from(r.keys()).indexOf(t),function(){let e=r.get(t);e>1?r.set(t,e-1):r.delete(t)}]}});return r.createElement(Du.Provider,{value:t},e)}function Uu(e){let t=r.useContext(Du);if(!t)throw new Error("You must wrap your component in a <StableCollection>");let n=function(){var e,t,n;let a=null!=(n=null==(t=null==(e=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:e.ReactCurrentOwner)?void 0:t.current)?n:null;if(!a)return Symbol();let o=[],i=a;for(;i;)o.push(i.index),i=i.return;return"$."+o.join(".")}(),[a,o]=t.current.get(e,n);return r.useEffect((()=>o),[]),a}var Bu=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Bu||{}),qu=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(qu||{}),zu=(e=>(e[e.SetSelectedIndex=0]="SetSelectedIndex",e[e.RegisterTab=1]="RegisterTab",e[e.UnregisterTab=2]="UnregisterTab",e[e.RegisterPanel=3]="RegisterPanel",e[e.UnregisterPanel=4]="UnregisterPanel",e))(zu||{});let Gu={0(e,t){var n;let r=Fi(e.tabs,(e=>e.current)),a=Fi(e.panels,(e=>e.current)),o=r.filter((e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))})),i={...e,tabs:r,panels:a};if(t.index<0||t.index>r.length-1){let n=ei(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>ei(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});return 0===o.length?i:{...i,selectedIndex:ei(n,{0:()=>r.indexOf(o[0]),1:()=>r.indexOf(o[o.length-1])})}}let s=r.slice(0,t.index),l=[...r.slice(t.index),...s].find((e=>o.includes(e)));if(!l)return i;let c=null!=(n=r.indexOf(l))?n:e.selectedIndex;return-1===c&&(c=e.selectedIndex),{...i,selectedIndex:c}},1(e,t){var n;if(e.tabs.includes(t.tab))return e;let r=e.tabs[e.selectedIndex],a=Fi([...e.tabs,t.tab],(e=>e.current)),o=null!=(n=a.indexOf(r))?n:e.selectedIndex;return-1===o&&(o=e.selectedIndex),{...e,tabs:a,selectedIndex:o}},2(e,t){return{...e,tabs:e.tabs.filter((e=>e!==t.tab))}},3(e,t){return e.panels.includes(t.panel)?e:{...e,panels:Fi([...e.panels,t.panel],(e=>e.current))}},4(e,t){return{...e,panels:e.panels.filter((e=>e!==t.panel))}}},Wu=(0,r.createContext)(null);function Qu(e){let t=(0,r.useContext)(Wu);if(null===t){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Qu),t}return t}Wu.displayName="TabsDataContext";let Ku=(0,r.createContext)(null);function $u(e){let t=(0,r.useContext)(Ku);if(null===t){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,$u),t}return t}function Ju(e,t){return ei(t.type,Gu,e,t)}Ku.displayName="TabsActionsContext";let Yu=r.Fragment,Xu=ri.RenderStrategy|ri.Static,ed=li((function(e,t){var n,a;let o=bi(),{id:i=`headlessui-tabs-tab-${o}`,...s}=e,{orientation:l,activation:c,selectedIndex:u,tabs:d,panels:f}=Qu("Tab"),p=$u("Tab"),h=Qu("Tab"),m=(0,r.useRef)(null),C=gi(m,t);hi((()=>p.registerTab(m)),[p,m]);let y=Uu("tabs"),g=d.indexOf(m);-1===g&&(g=y);let v=g===u,w=Ci((e=>{var t;let n=e();if(n===Ti.Success&&"auto"===c){let e=null==(t=Li(m))?void 0:t.activeElement,n=h.tabs.findIndex((t=>t.current===e));-1!==n&&p.change(n)}return n})),b=Ci((e=>{let t=d.map((e=>e.current)).filter(Boolean);if(e.key===xi.Space||e.key===xi.Enter)return e.preventDefault(),e.stopPropagation(),void p.change(g);switch(e.key){case xi.Home:case xi.PageUp:return e.preventDefault(),e.stopPropagation(),w((()=>Ni(t,Oi.First)));case xi.End:case xi.PageDown:return e.preventDefault(),e.stopPropagation(),w((()=>Ni(t,Oi.Last)))}return w((()=>ei(l,{vertical(){return e.key===xi.ArrowUp?Ni(t,Oi.Previous|Oi.WrapAround):e.key===xi.ArrowDown?Ni(t,Oi.Next|Oi.WrapAround):Ti.Error},horizontal(){return e.key===xi.ArrowLeft?Ni(t,Oi.Previous|Oi.WrapAround):e.key===xi.ArrowRight?Ni(t,Oi.Next|Oi.WrapAround):Ti.Error}})))===Ti.Success?e.preventDefault():void 0})),E=(0,r.useRef)(!1),x=Ci((()=>{var e;E.current||(E.current=!0,null==(e=m.current)||e.focus(),p.change(g),tl((()=>{E.current=!1})))})),M=Ci((e=>{e.preventDefault()})),L=(0,r.useMemo)((()=>({selected:v})),[v]);return oi({ourProps:{ref:C,onKeyDown:b,onMouseDown:M,onClick:x,id:i,role:"tab",type:Bi(e,m),"aria-controls":null==(a=null==(n=f[g])?void 0:n.current)?void 0:a.id,"aria-selected":v,tabIndex:v?0:-1},theirProps:s,slot:L,defaultTag:"button",name:"Tabs.Tab"})})),td=li((function(e,t){let{defaultIndex:n=0,vertical:a=!1,manual:o=!1,onChange:i,selectedIndex:s=null,...l}=e;const c=a?"vertical":"horizontal",u=o?"manual":"auto";let d=null!==s,f=gi(t),[p,h]=(0,r.useReducer)(Ju,{selectedIndex:null!=s?s:n,tabs:[],panels:[]}),m=(0,r.useMemo)((()=>({selectedIndex:p.selectedIndex})),[p.selectedIndex]),C=mi(i||(()=>{})),y=mi(p.tabs),g=(0,r.useMemo)((()=>({orientation:c,activation:u,...p})),[c,u,p]),v=Ci((e=>(h({type:1,tab:e}),()=>h({type:2,tab:e})))),w=Ci((e=>(h({type:3,panel:e}),()=>h({type:4,panel:e})))),b=Ci((e=>{E.current!==e&&C.current(e),d||h({type:0,index:e})})),E=mi(d?e.selectedIndex:p.selectedIndex),x=(0,r.useMemo)((()=>({registerTab:v,registerPanel:w,change:b})),[]);hi((()=>{h({type:0,index:null!=s?s:n})}),[s]),hi((()=>{if(void 0===E.current||p.tabs.length<=0)return;let e=Fi(p.tabs,(e=>e.current));e.some(((e,t)=>p.tabs[t]!==e))&&b(e.indexOf(p.tabs[E.current]))}));let M={ref:f};return r.createElement(Vu,null,r.createElement(Ku.Provider,{value:x},r.createElement(Wu.Provider,{value:g},g.tabs.length<=0&&r.createElement(_u,{onFocus:()=>{var e,t;for(let n of y.current)if(0===(null==(e=n.current)?void 0:e.tabIndex))return null==(t=n.current)||t.focus(),!0;return!1}}),oi({ourProps:M,theirProps:l,slot:m,defaultTag:Yu,name:"Tabs"}))))})),nd=li((function(e,t){let{orientation:n,selectedIndex:r}=Qu("Tab.List");return oi({ourProps:{ref:gi(t),role:"tablist","aria-orientation":n},theirProps:e,slot:{selectedIndex:r},defaultTag:"div",name:"Tabs.List"})})),rd=li((function(e,t){let{selectedIndex:n}=Qu("Tab.Panels");return oi({ourProps:{ref:gi(t)},theirProps:e,slot:(0,r.useMemo)((()=>({selectedIndex:n})),[n]),defaultTag:"div",name:"Tabs.Panels"})})),ad=li((function(e,t){var n,a,o,i;let s=bi(),{id:l=`headlessui-tabs-panel-${s}`,tabIndex:c=0,...u}=e,{selectedIndex:d,tabs:f,panels:p}=Qu("Tab.Panel"),h=$u("Tab.Panel"),m=(0,r.useRef)(null),C=gi(m,t);hi((()=>h.registerPanel(m)),[h,m]);let y=Uu("panels"),g=p.indexOf(m);-1===g&&(g=y);let v=g===d,w=(0,r.useMemo)((()=>({selected:v})),[v]),b={ref:C,id:l,role:"tabpanel","aria-labelledby":null==(a=null==(n=f[g])?void 0:n.current)?void 0:a.id,tabIndex:v?c:-1};return v||null!=(o=u.unmount)&&!o||null!=(i=u.static)&&i?oi({ourProps:b,theirProps:u,slot:w,defaultTag:"div",features:Xu,visible:v,name:"Tabs.Panel"}):r.createElement(Wi,{as:"span",...b})})),od=Object.assign(ed,{Group:td,List:nd,Panels:rd,Panel:ad});var id=Object.defineProperty,sd=Object.defineProperties,ld=Object.getOwnPropertyDescriptors,cd=Object.getOwnPropertySymbols,ud=Object.prototype.hasOwnProperty,dd=Object.prototype.propertyIsEnumerable,fd=(e,t,n)=>t in e?id(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const pd=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M144,180a16,16,0,1,1-16-16A16,16,0,0,1,144,180Zm92-52A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128ZM128,64c-24.26,0-44,17.94-44,40v4a12,12,0,0,0,24,0v-4c0-8.82,9-16,20-16s20,7.18,20,16-9,16-20,16a12,12,0,0,0-12,12v8a12,12,0,0,0,23.73,2.56C158.31,137.88,172,122.37,172,104,172,81.94,152.26,64,128,64Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),a().createElement("path",{d:"M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,168a12,12,0,1,1,12-12A12,12,0,0,1,128,192Zm8-48.72V144a8,8,0,0,1-16,0v-8a8,8,0,0,1,8-8c13.23,0,24-9,24-20s-10.77-20-24-20-24,9-24,20v4a8,8,0,0,1-16,0v-4c0-19.85,17.94-36,40-36s40,16.15,40,36C168,125.38,154.24,139.93,136,143.28Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M138,180a10,10,0,1,1-10-10A10,10,0,0,1,138,180ZM128,74c-21,0-38,15.25-38,34v4a6,6,0,0,0,12,0v-4c0-12.13,11.66-22,26-22s26,9.87,26,22-11.66,22-26,22a6,6,0,0,0-6,6v8a6,6,0,0,0,12,0v-2.42c18.11-2.58,32-16.66,32-33.58C166,89.25,149,74,128,74Zm102,54A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M136,180a8,8,0,1,1-8-8A8,8,0,0,1,136,180ZM128,76c-19.85,0-36,14.36-36,32v4a4,4,0,0,0,8,0v-4c0-13.23,12.56-24,28-24s28,10.77,28,24-12.56,24-28,24a4,4,0,0,0-4,4v8a4,4,0,0,0,8,0v-4.2c18-1.77,32-15.36,32-31.8C164,90.36,147.85,76,128,76Zm100,52A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),hd=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>sd(e,ld(t)))(((e,t)=>{for(var n in t||(t={}))ud.call(t,n)&&fd(e,n,t[n]);if(cd)for(var n of cd(t))dd.call(t,n)&&fd(e,n,t[n]);return e})({ref:t},e),{weights:pd}))));hd.displayName="Question";var md=Object.defineProperty,Cd=Object.defineProperties,yd=Object.getOwnPropertyDescriptors,gd=Object.getOwnPropertySymbols,vd=Object.prototype.hasOwnProperty,wd=Object.prototype.propertyIsEnumerable,bd=(e,t,n)=>t in e?md(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Ed=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M244,56v64a12,12,0,0,1-24,0V85l-75.51,75.52a12,12,0,0,1-17,0L96,129,32.49,192.49a12,12,0,0,1-17-17l72-72a12,12,0,0,1,17,0L136,135l67-67H168a12,12,0,0,1,0-24h64A12,12,0,0,1,244,56Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M232,56v64L168,56Z",opacity:"0.2"}),a().createElement("path",{d:"M232,48H168a8,8,0,0,0-5.66,13.66L188.69,88,136,140.69l-34.34-34.35a8,8,0,0,0-11.32,0l-72,72a8,8,0,0,0,11.32,11.32L96,123.31l34.34,34.35a8,8,0,0,0,11.32,0L200,99.31l26.34,26.35A8,8,0,0,0,240,120V56A8,8,0,0,0,232,48Zm-8,52.69L187.31,64H224Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M240,56v64a8,8,0,0,1-13.66,5.66L200,99.31l-58.34,58.35a8,8,0,0,1-11.32,0L96,123.31,29.66,189.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0L136,140.69,188.69,88,162.34,61.66A8,8,0,0,1,168,48h64A8,8,0,0,1,240,56Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M238,56v64a6,6,0,0,1-12,0V70.48l-85.76,85.76a6,6,0,0,1-8.48,0L96,120.49,28.24,188.24a6,6,0,0,1-8.48-8.48l72-72a6,6,0,0,1,8.48,0L136,143.51,217.52,62H168a6,6,0,0,1,0-12h64A6,6,0,0,1,238,56Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M240,56v64a8,8,0,0,1-16,0V75.31l-82.34,82.35a8,8,0,0,1-11.32,0L96,123.31,29.66,189.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0L136,140.69,212.69,64H168a8,8,0,0,1,0-16h64A8,8,0,0,1,240,56Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M236,56v64a4,4,0,0,1-8,0V65.66l-89.17,89.17a4,4,0,0,1-5.66,0L96,117.66,26.83,186.83a4,4,0,0,1-5.66-5.66l72-72a4,4,0,0,1,5.66,0L136,146.34,222.34,60H168a4,4,0,0,1,0-8h64A4,4,0,0,1,236,56Z"}))]]),xd=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>Cd(e,yd(t)))(((e,t)=>{for(var n in t||(t={}))vd.call(t,n)&&bd(e,n,t[n]);if(gd)for(var n of gd(t))wd.call(t,n)&&bd(e,n,t[n]);return e})({ref:t},e),{weights:Ed}))));function Md(t){var n=t.keyword,r=t.position,a=t.total,o=t.isTrending;return(0,e.createElement)("div",{className:"ntw-flex ntw-w-fit ntw-items-center ntw-rounded-full ntw-bg-status-supernova-600 ntw-p-4px ntw-text-[#030B1B]",style:{backgroundColor:"number"==typeof a&&"number"==typeof r?"rgba(198, 139, 255, ".concat(1-1/a*r,")"):void 0}},(0,e.createElement)("span",{className:"ntw-line-clamp-1 ntw-px-8px",title:n},n),o&&(0,e.createElement)("span",{className:"ntw-rounded-full ntw-bg-background-light ntw-p-4px ntw-text-button-default"},(0,e.createElement)(u.Tooltip,{text:"Trending over the last 7 days",placement:"top"},(0,e.createElement)(xd,{size:16}))))}function Ld(t){var n=t.keyword,r=t.relatedKeywords,a=t.isLoading,o=(0,e.useMemo)((function(){if(null==r?void 0:r.length)return r.find((function(e){return e.keyword===n.toLowerCase()}))}),[n,r]),i=(0,e.useMemo)((function(){return null==r?void 0:r.filter((function(e){return"low"!==e.contentRelevancy}))}),[r]);return(0,e.createElement)("div",{className:"ntw-flex ntw-flex-col ntw-gap-12px ntw-rounded ntw-border ntw-border-elements-default ntw-p-16px"},(0,e.createElement)(Sd,{className:"ntw-pr-8px"},(0,e.createElement)(Md,{keyword:n,isTrending:null==o?void 0:o.trend.isTrending}),!!o&&(0,e.createElement)(Ad,{trend:o.trend})),(0,e.createElement)("hr",{className:"ntw-col-span-2 ntw-border-t ntw-border-elements-default"}),(0,e.createElement)(Sd,{className:"ntw-px-8px ntw-text-paragraph-xs-regular ntw-text-typography-medium"},(0,e.createElement)("div",null,"Trending keywords"),(0,e.createElement)("div",null,"Trend")),(0,e.createElement)(Wa,{isLoading:a},(0,e.createElement)("div",{className:"ntw-flex ntw-flex-col ntw-gap-4px ntw-text-paragraph-sm"},0===(null==i?void 0:i.length)&&(0,e.createElement)("div",null,"Not enough data to show here."),null==i?void 0:i.map((function(t){return(0,e.createElement)(Sd,{className:Cn("ntw-rounded-sm ntw-p-8px",{"ntw-bg-status-success-200":t.keyword===(null==o?void 0:o.keyword)}),key:t.keyword},(0,e.createElement)("div",{className:"ntw-flex ntw-items-center ntw-gap-8px"},"low"===t.contentRelevancy?(0,e.createElement)(u.Tooltip,{text:"We've detected a low relevancy score for this keyword, it may not be relevant to the article.",placement:"top"},(0,e.createElement)("span",{className:"ntw-text-typography-medium-light"},t.keyword)):(0,e.createElement)("span",null,t.keyword),t.trend.isTrending&&(0,e.createElement)(u.Tooltip,{text:"Trending over the last 7 days",placement:"top"},(0,e.createElement)("span",{className:"ntw-text-button-default"},(0,e.createElement)(xd,{size:16})))),(0,e.createElement)(Ad,{trend:t.trend}))})))))}function Sd(t){var n=t.children,r=t.className;return(0,e.createElement)("div",{className:Cn("ntw-grid ntw-grid-cols-[1fr_auto] ntw-items-center ntw-gap-16px ntw-border-elements-default",r)},n)}function Ad(t){var n=t.trend;return void 0===n?null:(0,e.createElement)("div",{className:"ntw-text-paragraph-xs ntw-text-typography-medium"},n.display)}xd.displayName="TrendUp";var Od,Td=(Od={key:function(e){var t=e.keywords;return[Vo.RelatedKeywords,t]},handler:wt.getRelatedKeywordsBatch,enabled:function(e){return!!e.keywords.length},staleTimeMs:6e5},function(e){var t,n=function(e,t){return"function"==typeof e?[e(t)]:t?[e,t]:[e]}(Od.key,e),r=Na({enabled:null===(t=Od.enabled)||void 0===t?void 0:t.call(Od,e),refetchInterval:Od.refetchInterval,queryKey:n,queryFn:function(t){var n=t.signal;return Od.handler(e,{signal:n})},staleTime:Od.staleTimeMs}),a=r.data,o=r.isError,i=r.isSuccess,s=r.isFetching;return{data:a,isLoading:r.isLoading,isFetching:s,isError:o,isSuccess:i,error:r.error,isInitialLoading:r.isInitialLoading,refetch:r.refetch}}),Pd=Hn.useSelect,kd=5;function Zd(t){var n=t.title,r=t.subtitle,a=t.isLoading,o=t.error,i=t.history,s=t.onRefresh,l=t.keywords,c=t.divId,d=null==l?void 0:l.slice(0,kd),f=Pd((function(e){return e("core/editor").getEditedPostContent()}),[]),p=_a(),h=Td({keywords:d||[],postHTML:f,queue:p.config.requestsToQueue.relatedKeywords});return(0,e.createElement)("div",{id:c},(0,e.createElement)(Nu,{title:n,subtitle:r,className:"ntw-mb-24px",onRefresh:s,history:i}),(0,e.createElement)(Wa,{isLoading:a,error:o,retry:s},(0,e.createElement)("div",null,!!(null==l?void 0:l.length)&&(0,e.createElement)("div",{className:"ntw-space-y-24px"},!!(null==l?void 0:l.length)&&(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"In order of relevance"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-16px"},l.map((function(t,n){return(0,e.createElement)(Md,{key:t,keyword:t,position:n,total:l.length})})))),!!(null==d?void 0:d.length)&&(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Keyword Insights",(0,e.createElement)(u.Tooltip,{text:"Discover related keywords and trending insights on your top five keywords."},(0,e.createElement)(hd,{size:16,className:"ntw-ml-8px ntw-inline"}))),(0,e.createElement)(Wa,{isLoading:!1,error:h.error},(0,e.createElement)("div",{className:"ntw-grid ntw-grid-cols-auto-fit-250px ntw-gap-24px"},d.map((function(t){var n;return(0,e.createElement)(Ld,{key:t,keyword:t,isLoading:h.isLoading,relatedKeywords:null===(n=h.data)||void 0===n?void 0:n.relatedKeywords[t]})})))))))))}var Hd=Object.defineProperty,Rd=Object.defineProperties,jd=Object.getOwnPropertyDescriptors,Fd=Object.getOwnPropertySymbols,Nd=Object.prototype.hasOwnProperty,Id=Object.prototype.propertyIsEnumerable,_d=(e,t,n)=>t in e?Hd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Dd=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M112,60a16,16,0,1,1,16,16A16,16,0,0,1,112,60Zm16,52a16,16,0,1,0,16,16A16,16,0,0,0,128,112Zm0,68a16,16,0,1,0,16,16A16,16,0,0,0,128,180Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M208,32V224a16,16,0,0,1-16,16H64a16,16,0,0,1-16-16V32A16,16,0,0,1,64,16H192A16,16,0,0,1,208,32Z",opacity:"0.2"}),a().createElement("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM128,72a12,12,0,1,0-12-12A12,12,0,0,0,128,72Zm0,112a12,12,0,1,0,12,12A12,12,0,0,0,128,184Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M192,16H64A16,16,0,0,0,48,32V224a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V32A16,16,0,0,0,192,16ZM128,208a12,12,0,1,1,12-12A12,12,0,0,1,128,208Zm0-68a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm0-68a12,12,0,1,1,12-12A12,12,0,0,1,128,72Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M118,60a10,10,0,1,1,10,10A10,10,0,0,1,118,60Zm10,58a10,10,0,1,0,10,10A10,10,0,0,0,128,118Zm0,68a10,10,0,1,0,10,10A10,10,0,0,0,128,186Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM128,72a12,12,0,1,0-12-12A12,12,0,0,0,128,72Zm0,112a12,12,0,1,0,12,12A12,12,0,0,0,128,184Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M120,60a8,8,0,1,1,8,8A8,8,0,0,1,120,60Zm8,60a8,8,0,1,0,8,8A8,8,0,0,0,128,120Zm0,68a8,8,0,1,0,8,8A8,8,0,0,0,128,188Z"}))]]),Vd=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>Rd(e,jd(t)))(((e,t)=>{for(var n in t||(t={}))Nd.call(t,n)&&_d(e,n,t[n]);if(Fd)for(var n of Fd(t))Id.call(t,n)&&_d(e,n,t[n]);return e})({ref:t},e),{weights:Dd}))));Vd.displayName="DotsThreeVertical";var Ud=window.wp.date;function Bd(t){var n=t.className;return(0,e.createElement)("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("path",{d:"M3.8752 6.89839C3.94291 6.89839 4.01843 6.90881 4.10176 6.92964C4.1851 6.95048 4.26843 6.97912 4.35176 7.01558C4.4351 7.05204 4.51843 7.08589 4.60176 7.11714C4.6851 7.14839 4.76062 7.17964 4.82833 7.21089L4.70333 7.22652C4.66166 7.23173 4.61739 7.23433 4.57051 7.23433C4.48197 7.23433 4.40124 7.22131 4.32833 7.19527C4.25541 7.16923 4.1877 7.13537 4.1252 7.09371C4.0627 7.05204 4.0002 7.02079 3.9377 6.99996C3.8752 6.97912 3.81791 6.9635 3.76583 6.95308C3.71374 6.95308 3.66687 6.9635 3.6252 6.98433C3.58353 7.00516 3.54187 7.0286 3.5002 7.05464C3.5002 7.03381 3.48197 7.02339 3.44551 7.02339C3.48197 6.98694 3.54968 6.95829 3.64864 6.93746C3.7476 6.91662 3.82312 6.9036 3.8752 6.89839ZM4.92989 7.24996C5.14343 7.24996 5.33874 7.28641 5.51583 7.35933C5.44291 7.38537 5.36999 7.40621 5.29708 7.42183C5.22416 7.43746 5.14864 7.44787 5.07051 7.45308C4.96635 7.45308 4.8726 7.44266 4.78926 7.42183C4.8153 7.38016 4.84135 7.35412 4.86739 7.34371C4.89343 7.33329 4.91426 7.30204 4.92989 7.24996ZM8.0002 -4.38201e-05C8.73458 -4.38201e-05 9.4403 0.0963104 10.1174 0.289019C10.7945 0.481727 11.4299 0.749956 12.0236 1.09371C12.6174 1.43746 13.1591 1.85673 13.6486 2.35152C14.1382 2.84631 14.5549 3.38537 14.8986 3.96871C15.2424 4.55204 15.5132 5.18746 15.7111 5.87496C15.9091 6.56246 16.0054 7.27079 16.0002 7.99996C16.0002 8.73433 15.9038 9.44006 15.7111 10.1171C15.5184 10.7942 15.2502 11.4296 14.9065 12.0234C14.5627 12.6171 14.1434 13.1588 13.6486 13.6484C13.1538 14.138 12.6148 14.5546 12.0315 14.8984C11.4481 15.2421 10.8127 15.513 10.1252 15.7109C9.4377 15.9088 8.72937 16.0052 8.0002 16C7.26583 16 6.5601 15.9036 5.88301 15.7109C5.20593 15.5182 4.57051 15.25 3.97676 14.9062C3.38301 14.5625 2.84135 14.1432 2.35176 13.6484C1.86218 13.1536 1.44551 12.6145 1.10176 12.0312C0.758013 11.4479 0.48718 10.8125 0.289263 10.125C0.0913462 9.43746 -0.00500801 8.72912 0.000200321 7.99996C0.000200321 7.26558 0.0965545 6.55985 0.289263 5.88277C0.481971 5.20569 0.7502 4.57027 1.09395 3.97652C1.4377 3.38277 1.85697 2.8411 2.35176 2.35152C2.84655 1.86194 3.38562 1.44527 3.96895 1.10152C4.55228 0.757769 5.1877 0.486935 5.8752 0.289019C6.5627 0.091102 7.27103 -0.00525215 8.0002 -4.38201e-05ZM13.9533 4.33589C13.8804 4.22131 13.8075 4.11194 13.7346 4.00777C13.6617 3.9036 13.5861 3.79683 13.508 3.68746C13.4976 3.73433 13.4846 3.76819 13.469 3.78902C13.4533 3.80985 13.4429 3.85673 13.4377 3.92964C13.4377 3.97652 13.4559 4.02079 13.4924 4.06246C13.5288 4.10412 13.5757 4.14579 13.633 4.18746C13.6903 4.22912 13.7476 4.26037 13.8049 4.28121C13.8622 4.30204 13.9117 4.32027 13.9533 4.33589ZM13.4143 3.57027C13.4143 3.61194 13.4065 3.64058 13.3908 3.65621H13.4377C13.4585 3.65621 13.4742 3.65881 13.4846 3.66402L13.4143 3.57027ZM8.0002 15C8.59395 15 9.17468 14.9244 9.74239 14.7734C10.3101 14.6224 10.8466 14.4088 11.3518 14.1328C11.857 13.8567 12.3257 13.5182 12.758 13.1171C13.1903 12.7161 13.5679 12.2682 13.8908 11.7734C13.8231 11.6171 13.758 11.4583 13.6955 11.2968C13.633 11.1354 13.6018 10.9687 13.6018 10.7968C13.6018 10.6093 13.6096 10.4583 13.6252 10.3437C13.6408 10.2291 13.6591 10.1276 13.6799 10.039C13.7007 9.95048 13.7111 9.87496 13.7111 9.81246C13.7111 9.74996 13.7033 9.66923 13.6877 9.57027C13.6721 9.47131 13.6278 9.36454 13.5549 9.24996C13.482 9.13537 13.3856 8.97391 13.2658 8.76558C13.271 8.72912 13.2788 8.67964 13.2893 8.61714C13.2997 8.55464 13.3101 8.48954 13.3205 8.42183C13.3309 8.35412 13.3335 8.29162 13.3283 8.23433C13.3231 8.17704 13.3101 8.12756 13.2893 8.08589C13.1538 8.07027 13.0132 8.04162 12.8674 7.99996C12.7216 7.95829 12.5913 7.89579 12.4768 7.81246L12.5236 7.77339C12.4559 7.78902 12.3882 7.80985 12.3205 7.83589C12.2528 7.86194 12.1877 7.89058 12.1252 7.92183C12.0627 7.95308 11.995 7.97391 11.9221 7.98433C11.8492 7.99475 11.7788 8.00516 11.7111 8.01558L11.5861 7.99996L11.6096 7.94527C11.5367 7.9661 11.4585 7.99214 11.3752 8.02339C11.2919 8.05464 11.2111 8.07027 11.133 8.07027C11.0809 8.07027 11.0054 8.05204 10.9065 8.01558C10.8075 7.97912 10.7085 7.93485 10.6096 7.88277C10.5106 7.83069 10.4221 7.77339 10.344 7.71089C10.2658 7.64839 10.2268 7.5885 10.2268 7.53121L10.2424 7.50777C10.2163 7.47652 10.1825 7.44787 10.1408 7.42183C10.0992 7.39579 10.0601 7.36975 10.0236 7.34371C9.98718 7.31766 9.95333 7.28902 9.92208 7.25777C9.89083 7.22652 9.8778 7.19006 9.88301 7.14839L9.96895 7.07808L9.78926 7.05464L9.72676 6.82027C9.73718 6.84631 9.76062 6.85673 9.79708 6.85152C9.83353 6.84631 9.86218 6.83589 9.88301 6.82027L9.60176 6.67183L9.79708 6.17183C9.72416 5.901 9.70593 5.69266 9.74239 5.54683C9.77885 5.401 9.84916 5.28121 9.95333 5.18746C10.0575 5.09371 10.1721 4.99996 10.2971 4.90621C10.4221 4.81246 10.5497 4.68485 10.6799 4.52339L10.6565 4.42964L11.1721 3.80464L11.2893 3.78902C11.4351 3.78902 11.5992 3.78381 11.7815 3.77339C11.9637 3.76298 12.1486 3.74475 12.3361 3.71871C12.5236 3.69266 12.7085 3.66662 12.8908 3.64058C13.0731 3.61454 13.2398 3.58069 13.3908 3.53902C13.2242 3.3411 13.0497 3.1536 12.8674 2.97652C12.6851 2.79944 12.4898 2.63016 12.2815 2.46871C12.2242 2.48954 12.1538 2.51819 12.0705 2.55464C11.9872 2.5911 11.9038 2.63798 11.8205 2.69527C11.7372 2.75256 11.6721 2.81506 11.6252 2.88277C11.5783 2.95048 11.5497 3.02079 11.5393 3.09371L11.5861 3.24214C11.4924 3.39319 11.3882 3.48694 11.2736 3.52339C11.1591 3.55985 11.0419 3.58069 10.9221 3.58589C10.8023 3.5911 10.6773 3.5911 10.5471 3.58589C10.4169 3.58069 10.2919 3.60412 10.1721 3.65621L10.0471 3.39058L10.1643 2.93746L10.0315 2.74214L11.383 2.32027C11.3257 2.17444 11.232 2.06506 11.1018 1.99214C10.9716 1.91923 10.8283 1.88277 10.6721 1.88277V1.80464L11.1096 1.73433C10.6252 1.49475 10.1226 1.31246 9.60176 1.18746C9.08093 1.06246 8.54708 0.999956 8.0002 0.999956C7.54708 0.999956 7.09916 1.04423 6.65645 1.13277C6.21374 1.22131 5.78666 1.34891 5.3752 1.51558C4.96374 1.68225 4.5653 1.89058 4.17989 2.14058C3.79447 2.39058 3.44291 2.67183 3.1252 2.98433C3.26062 2.98433 3.36478 3.01819 3.4377 3.08589C3.51062 3.1536 3.57833 3.22912 3.64083 3.31246C3.70333 3.39579 3.76843 3.47131 3.83614 3.53902C3.90385 3.60673 3.99499 3.64319 4.10958 3.64839L4.23458 3.55464L4.21895 3.38277L4.47676 3.01558L4.27364 2.43746C4.29968 2.42183 4.33874 2.39579 4.39083 2.35933C4.44291 2.32287 4.48718 2.30464 4.52364 2.30464C4.67989 2.30464 4.79968 2.31246 4.88301 2.32808C4.96635 2.34371 5.03926 2.37235 5.10176 2.41402C5.16426 2.45569 5.21895 2.51558 5.26583 2.59371C5.3127 2.67183 5.38562 2.77079 5.48458 2.89058L5.76583 2.67183C5.81791 2.69266 5.90124 2.72652 6.01583 2.77339C6.13041 2.82027 6.2476 2.87756 6.36739 2.94527C6.48718 3.01298 6.58874 3.08329 6.67208 3.15621C6.75541 3.22912 6.79968 3.29683 6.80489 3.35933C6.80489 3.43746 6.77624 3.49996 6.71895 3.54683C6.66166 3.59371 6.58614 3.63277 6.49239 3.66402C6.39864 3.69527 6.30228 3.71871 6.20333 3.73433C6.10437 3.74996 6.00541 3.77079 5.90645 3.79683C5.80749 3.82287 5.73197 3.84891 5.67989 3.87496C5.6278 3.901 5.59655 3.94527 5.58614 4.00777L6.03926 4.15621C5.9351 4.24475 5.82312 4.32548 5.70333 4.39839C5.58353 4.47131 5.45853 4.53902 5.32833 4.60152L5.35958 4.73433L4.64083 5.01558V5.23433L4.58614 5.25777L4.6252 4.98433L4.59395 4.97652C4.55749 4.97652 4.53666 4.98433 4.53145 4.99996C4.52624 5.01558 4.52364 5.03381 4.52364 5.05464C4.52364 5.07548 4.52885 5.09631 4.53926 5.11714C4.54968 5.13798 4.55228 5.1536 4.54708 5.16402L4.44551 5.10933L4.46114 5.14058C4.46114 5.15621 4.46895 5.17964 4.48458 5.21089C4.5002 5.24214 4.52103 5.27079 4.54708 5.29683C4.57312 5.32287 4.59395 5.34891 4.60958 5.37496C4.6252 5.401 4.63562 5.41402 4.64083 5.41402C4.64083 5.42964 4.63041 5.44527 4.60958 5.46089C4.58874 5.47652 4.5627 5.48694 4.53145 5.49214C4.5002 5.49735 4.47937 5.50516 4.46895 5.51558C4.45853 5.526 4.45853 5.5286 4.46895 5.52339C4.54187 5.52339 4.55749 5.5286 4.51583 5.53902C4.47416 5.54944 4.40905 5.57548 4.32051 5.61714C4.23197 5.65881 4.15124 5.71871 4.07833 5.79683C4.00541 5.87496 3.96374 5.98954 3.95333 6.14058C3.95333 6.22912 3.95593 6.31506 3.96114 6.39839C3.96635 6.48173 3.96374 6.56766 3.95333 6.65621C3.88041 6.45829 3.77103 6.30725 3.6252 6.20308C3.47937 6.09891 3.30228 6.04683 3.09395 6.04683L2.75801 6.07808L2.92208 6.18746C2.83353 6.17704 2.74239 6.16662 2.64864 6.15621C2.55489 6.14579 2.45853 6.14319 2.35958 6.14839C2.26062 6.1536 2.17208 6.17444 2.09395 6.21089C2.01583 6.24735 1.9377 6.30204 1.85958 6.37496L1.8127 6.72652C1.8127 6.89319 1.84916 7.0286 1.92208 7.13277C1.99499 7.23694 2.1226 7.29162 2.30489 7.29683C2.46114 7.29683 2.61478 7.27339 2.76583 7.22652C2.91687 7.17964 3.0653 7.12496 3.21114 7.06246C3.16426 7.17704 3.11218 7.28641 3.05489 7.39058C2.9976 7.49475 2.95593 7.60933 2.92989 7.73433L3.03145 7.78121C3.15645 7.69787 3.27103 7.68485 3.3752 7.74214C3.47937 7.79944 3.58093 7.88277 3.67989 7.99214C3.77885 8.10152 3.88041 8.2135 3.98458 8.32808C4.08874 8.44266 4.20072 8.526 4.32051 8.57808L4.05489 8.71871L3.42989 8.36714C3.4351 8.37756 3.4403 8.401 3.44551 8.43746C3.45072 8.47391 3.44812 8.48173 3.4377 8.46089L3.15645 7.98433C2.98978 7.97912 2.8127 7.95308 2.6252 7.90621C2.4377 7.85933 2.2476 7.79683 2.05489 7.71871C1.86218 7.64058 1.68249 7.55464 1.51583 7.46089C1.34916 7.36714 1.19551 7.26819 1.05489 7.16402L1.0002 7.99996C1.0002 8.63537 1.08614 9.25516 1.25801 9.85933C1.42989 10.4635 1.67208 11.0312 1.98458 11.5625C2.29708 12.0937 2.67989 12.5781 3.13301 13.0156C3.58614 13.4531 4.08874 13.8255 4.64083 14.1328C4.61478 14.0234 4.61218 13.914 4.63301 13.8046C4.65385 13.6953 4.67989 13.5859 4.71114 13.4765C4.74239 13.3671 4.77624 13.2578 4.8127 13.1484C4.84916 13.039 4.86739 12.927 4.86739 12.8125C4.86739 12.6458 4.84135 12.4713 4.78926 12.289C4.73718 12.1067 4.67468 11.9218 4.60176 11.7343C4.52885 11.5468 4.44812 11.3619 4.35958 11.1796C4.27103 10.9974 4.20072 10.8255 4.14864 10.664C4.09655 10.5026 4.05489 10.3515 4.02364 10.2109C3.99239 10.0703 4.00801 9.94787 4.07051 9.84371L3.95333 9.78902C3.98458 9.7161 4.02624 9.64579 4.07833 9.57808C4.13041 9.51037 4.1851 9.44266 4.24239 9.37496C4.29968 9.30725 4.34395 9.23433 4.3752 9.15621C4.40645 9.07808 4.42468 8.99996 4.42989 8.92183C4.42989 8.86975 4.41947 8.81506 4.39864 8.75777C4.3778 8.70048 4.35958 8.64579 4.34395 8.59371L4.50801 8.63277C4.59655 8.42964 4.71635 8.29162 4.86739 8.21871C5.01843 8.14579 5.20853 8.10673 5.4377 8.10152C5.46374 8.10152 5.51843 8.11194 5.60176 8.13277C5.6851 8.1536 5.77364 8.18225 5.86739 8.21871C5.96114 8.25516 6.04968 8.28381 6.13301 8.30464C6.21635 8.32548 6.27885 8.34631 6.32051 8.36714C6.32051 8.4036 6.34135 8.42704 6.38301 8.43746C6.42468 8.44787 6.44812 8.4661 6.45333 8.49214L6.4377 8.55464C6.45333 8.55985 6.48978 8.57808 6.54708 8.60933C6.60437 8.64058 6.66687 8.67964 6.73458 8.72652C6.80228 8.77339 6.86218 8.81506 6.91426 8.85152C6.96635 8.88798 7.0028 8.91662 7.02364 8.93746C7.11739 8.93746 7.24499 8.96871 7.40645 9.03121C7.56791 9.09371 7.74499 9.17183 7.9377 9.26558C8.13041 9.35933 8.32051 9.47131 8.50801 9.60152C8.69551 9.73173 8.8726 9.86194 9.03926 9.99214C9.20593 10.1224 9.33353 10.2526 9.42208 10.3828C9.51062 10.513 9.5627 10.6276 9.57833 10.7265L9.3127 11.0078C9.33353 11.2734 9.3153 11.4765 9.25801 11.6171C9.20072 11.7578 9.11218 11.875 8.99239 11.9687C8.8726 12.0625 8.73458 12.1406 8.57833 12.2031C8.42208 12.2656 8.2528 12.3541 8.07051 12.4687C8.07051 12.5729 8.04447 12.6849 7.99239 12.8046C7.9403 12.9244 7.8752 13.039 7.79708 13.1484C7.71895 13.2578 7.6252 13.3489 7.51583 13.4218C7.40645 13.4947 7.29708 13.5312 7.1877 13.5312L6.85958 13.2812C6.86999 13.2916 6.86999 13.3099 6.85958 13.3359C6.84916 13.3619 6.83614 13.3671 6.82051 13.3515C6.8726 13.4505 6.88562 13.5651 6.85958 13.6953C6.83353 13.8255 6.78926 13.9583 6.72676 14.0937C6.66426 14.2291 6.59395 14.3567 6.51583 14.4765C6.4377 14.5963 6.36739 14.6979 6.30489 14.7812C6.58614 14.8541 6.86739 14.9088 7.14864 14.9453C7.42989 14.9817 7.71374 15 8.0002 15Z",fill:"#88B0FF"}))}var qd=Hn.useSelect;function zd(){var t=Go({taxonomy:"post_tag",wpService:Jo}).existingTerms,n=La(),r=n.metaDescription,a=n.metaTitleFormatted,o=qd((function(e){var t=e("core"),n=e("core/editor");return{permalinks:n.getPermalinkParts(),postTitle:n.getEditedPostAttribute("title"),postDate:n.getEditedPostAttribute("date"),site:t.getSite()}})),i=o.site,s=o.permalinks,l=o.postTitle,c=o.postDate,u=(null==s?void 0:s.prefix.replace(/https?\:\/\//,"").split("/").filter((function(e){return!!e})))||[];return(0,e.createElement)("div",{className:"ntw-grid ntw-grid-cols-2 ntw-gap-64px"},(0,e.createElement)("div",{className:"ntw-font-google"},(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Google preview:"),(0,e.createElement)("div",{className:"ntw-mb-16px ntw-flex ntw-items-start"},(0,e.createElement)("div",{className:"ntw-mr-8px ntw-flex-shrink-0 ntw-rounded-full ntw-bg-[#F1F3F4] ntw-p-8px"},(0,e.createElement)(Bd,{className:"ntw-w-16px"})),(0,e.createElement)("div",{className:"ntw-flex-1 ntw-text-paragraph-tight"},(0,e.createElement)("div",{className:"ntw-mb-8px"},null==i?void 0:i.title),(0,e.createElement)("div",{className:"ntw-flex ntw-items-center ntw-text-typography-medium"},(0,e.createElement)("span",{className:"ntw-line-clamp-1 ntw-flex-1"},u.join(" > ")," > ",null==s?void 0:s.postName),(0,e.createElement)(Vd,{size:12,weight:"bold"})))),(0,e.createElement)("div",{className:"ntw-mb-8px ntw-line-clamp-2 ntw-text-paragraph-tight ntw-text-[#1A0DAB]"},a),(0,e.createElement)("div",{className:"ntw-font-normal ntw-text-typography-medium"},!!(null==i?void 0:i.date_format)&&(0,e.createElement)("span",null,Ud.format(i.date_format,c)," — "),r)),(0,e.createElement)("div",{className:"ntw-space-y-24px"},(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Headline:"),(0,e.createElement)("div",{className:"ntw-text-paragraph-medium"},l)),(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Tags:"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-8px"},t.map((function(t){return(0,e.createElement)("span",{key:t.id,className:"ntw-rounded-full ntw-bg-gravity-600 ntw-px-8px ntw-py-4px ntw-text-paragraph-xs"},t.name)}))))))}function Gd(t){var n=t.tag,r=t.tags,a=t.onClick,o=t.className,i=(0,e.useMemo)((function(){var e=r.indexOf(n);return"rgba(136, 176, 255, ".concat(1-1/r.length*e,")")}),[n,r]);return(0,e.createElement)("button",{className:Cn("ntw-appearance-none ntw-rounded-full ntw-px-16px ntw-py-8px ntw-text-typography-dark hover:ntw-ring-1 hover:ntw-ring-button-hover",o),style:{backgroundColor:i},onClick:a,disabled:!a},n)}var Wd=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))};function Qd(t){var n=t.title,r=t.subtitle,a=t.isLoading,o=t.error,i=t.history,s=t.onChange,l=t.onRefresh,c=t.tags,u=t.selectedTags,d=(0,e.useMemo)((function(){var e=[];try{e=(null==c?void 0:c.filter((function(e){return!(null==u?void 0:u.includes(e))})))||[]}catch(e){lt.error("Error filtering suggested tags",e)}return e}),[u,c]);return(0,e.createElement)("div",null,(0,e.createElement)(Nu,{title:n,subtitle:r,className:"ntw-mb-24px",onRefresh:l,history:i}),(0,e.createElement)(Wa,{isLoading:a,error:o,retry:l},!!(null==c?void 0:c.length)&&(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-24px"},!!d.length&&d.length>0&&(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Recommended tags:"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-16px"},d.map((function(t){return(0,e.createElement)(Gd,{key:t,tag:t,tags:c||[],onClick:function(){if(!(null==u?void 0:u.includes(t))){var e=Wd(Wd([],u||[],!0),[t],!1);null==s||s({values:e})}}})})))),!!(null==u?void 0:u.length)&&(0,e.createElement)("div",{className:"ntw-mt-24px"},(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Selected tags:"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-16px"},(u||[]).map((function(t){return(0,e.createElement)(Gd,{key:t,tag:t,tags:c||[],onClick:function(){var e=(u||[]).filter((function(e){return e!==t}));null==s||s({values:e})}})}))))))))}var Kd=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},$d="post_tag";function Jd(t){var n,r=t.title,a=t.subtitle,o=t.isLoading,i=t.error,s=t.history,l=t.onRefresh,c=t.tags,u=(0,e.useState)([]),d=u[0],f=u[1],p=Go({taxonomy:$d,wpService:Jo}),h=p.addTag,m=p.removeTag,C=p.existingTerms,y=p.errorWhileAddingTag,g=C.map((function(e){return e.name}));try{n=null==c?void 0:c.filter((function(e){return!g.includes(e)&&!d.includes(e)}))}catch(e){lt.error("Error filtering suggested tags: ".concat(c),e)}var v=C.filter((function(e){var t=e.name;return null==c?void 0:c.some((function(e){return e===t}))})),w=(0,e.useMemo)((function(){return d.filter((function(e){return g.includes(e)}))}),[g,d]),b=(0,e.useMemo)((function(){return d.filter((function(e){return!w.includes(e)}))}),[d,w]);return(0,e.useEffect)((function(){w.length&&f((function(e){return e.filter((function(e){return!w.includes(e)}))}))}),[w]),(0,e.createElement)("div",null,(0,e.createElement)(Nu,{title:r,subtitle:a,className:"ntw-mb-24px",onRefresh:l,history:s}),(0,e.createElement)(Wa,{isLoading:o,error:i,retry:l},(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-24px"},(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Generated tags:"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-16px"},(null==n?void 0:n.length)?null==n?void 0:n.map((function(t){return(0,e.createElement)(Gd,{key:t,tag:t,tags:c||[],onClick:function(){return function(e){d.includes(e)||(f((function(t){return Kd(Kd([],t,!0),[e],!1)})),h(e))}(t)}})})):(0,e.createElement)("div",{className:"ntw-border-text-typography- ntw-cursor-not-allowed ntw-rounded-full ntw-border ntw-px-16px ntw-py-8px ntw-text-typography-dark"},"All generated tags have been added"))),(!!(null==v?void 0:v.length)||!!b.length)&&(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Selected tags:"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-16px"},(null==v?void 0:v.length)?null==v?void 0:v.map((function(t){return(0,e.createElement)(Gd,{key:t.id,tag:t.name,tags:c||[],onClick:function(){return m(t.id)}})})):null,b.map((function(t){return(0,e.createElement)(Gd,{key:"pending-".concat(t),tag:t,tags:c||[],className:"ntw-cursor-wait"})})))))),y&&(0,e.createElement)(qa,{level:"error",className:"ntw-mt-2"},(0,e.createElement)("div",{className:"ntw-flex ntw-justify-between ntw-gap-16px"},(0,e.createElement)("div",null,y))))}var Yd=function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))},Xd=function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}};function ef(t){var n=this,r=t.value,a=t.onChange,o=t.onSelect,i=t.selected,s=t.onRevert,l=t.showCharacterCount,c=void 0===l||l,u=t.title,d=t.afterText,f=t.getCopyText,p=(0,e.useRef)(null),h=(0,e.useState)(!1),m=h[0],C=h[1],y=(0,e.useMemo)((function(){return(null==f?void 0:f(r))||r}),[r,f]);(0,e.useEffect)((function(){if(p.current){p.current.style.height="0px";var e=p.current.scrollHeight;p.current.style.height=e+"px"}}),[p,r]);var g=xa().postId,v=function(e){return Yd(n,void 0,void 0,(function(){var t,n;return Xd(this,(function(a){return t=u in cr?cr[u]:u,ut({content:(n={},n[t]=r,n),event:e,field:t,postId:g}),[2]}))}))};return(0,e.createElement)("div",null,(0,e.createElement)("div",{className:Cn("ntw-group ntw-flex ntw-items-center ntw-justify-between ntw-rounded-lg ntw-border ntw-border-gray-100 ntw-p-16px",{"ntw-bg-gravity-200":i})},(0,e.createElement)("div",{className:"ntw-flex-1"},(0,e.createElement)("textarea",{ref:p,value:r,onChange:function(e){return a(e.target.value)},rows:1,style:{minHeight:"1.5rem"},className:"ntw-w-full ntw-resize-none ntw-border-none ntw-bg-transparent ntw-text-paragraph-base ntw-shadow-none ntw-outline-none",disabled:i}),d),(0,e.createElement)("div",{className:Cn("ntw-ml-16px",{"ntw-opacity-0 group-hover:ntw-opacity-100":!i})},!(!i||!s)&&(0,e.createElement)($n,{onClick:function(){v("revert"),s()},size:300},"Revert"),!i&&o&&(0,e.createElement)($n,{onClick:function(){v("select"),o()},variant:"secondary",size:300},"Select"),!o&&(0,e.createElement)($n,{onClick:function(){return Yd(n,void 0,void 0,(function(){var e,t;return Xd(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,navigator.clipboard.writeText(y)];case 1:return n.sent(),C(!0),setTimeout((function(){C(!1)}),1e3),wt.saveEvents({event:"copy",field:"".concat(ar.Social,":").concat(u.toLocaleLowerCase().replaceAll(" ","_")),content:(t={},t[ar.Social]=r,t),postId:g}),[3,3];case 2:return e=n.sent(),lt.error(e),[3,3];case 3:return[2]}}))}))},variant:"secondary",size:300},m?"Copied!":"Copy"))),!!c&&(0,e.createElement)("div",{className:"ntw-pt-4px ntw-text-right ntw-text-xs ntw-text-typography-medium"},y.length," characters"))}var tf=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))};function nf(t){var n=t.options,r=t.updateOptions,a=t.onSelect,o=t.onRefresh,i=t.title,s=t.subtitle,l=t.isLoading,c=t.error,u=t.disabled,d=t.disabledMessage,f=t.history,p=t.currentValue,h=t.onRevert,m=t.divId,C=t.notice,y=t.afterText,g=t.getCopyText,v=t.tone,w=t.addHistoryItem,b=!l&&!(null==n?void 0:n.length);return(0,e.createElement)("div",{id:m},(0,e.createElement)(Nu,{title:i,subtitle:s,className:"ntw-mb-24px",onRefresh:o,history:f,tone:v,addHistoryItem:w}),!!C&&(0,e.createElement)(qa,{level:"info",className:"ntw-my-4"},C),u?(0,e.createElement)("div",null,d||"Currently unavailable."):(0,e.createElement)(Wa,{isLoading:l,error:c,retry:o},(0,e.createElement)("div",{className:"ntw-space-y-16px"},b?(0,e.createElement)(qa,{level:"info"},(0,e.createElement)("div",{className:"ntw-flex ntw-justify-between ntw-gap-16px"},(0,e.createElement)("div",null,"No results"),(0,e.createElement)("button",{onClick:o,className:"ntw-font-bold ntw-uppercase ntw-tracking-wider"},"Retry"))):null==n?void 0:n.map((function(t,o){return(0,e.createElement)("div",{key:o},(0,e.createElement)(ef,{title:i,value:t,onChange:function(e){if(n){var t=tf([],n,!0);t[o]=e,r({values:t})}},onSelect:a?function(){return a(t)}:void 0,selected:p===t,onRevert:h,afterText:y,getCopyText:g}))})))))}function rf(t){var n=t.children,r=t.hidden,a=t.buttonId;return r?null:(0,e.createElement)(od,{as:e.Fragment},(function(t){var r=t.selected;return(0,e.createElement)("button",{className:Cn("relative ntw-text-paragraph-large",{"ntw-text-button-default":r,"ntw-text-typography-disabled hover:ntw-text-button-hover":!r},a)},n,(0,e.createElement)("span",{className:Cn("ntw-absolute -ntw-bottom-2px ntw-block ntw-h-2px ntw-w-full ntw-bg-button-default",{"ntw-opacity-0":!r})}))}))}function af(t){var n=t.children;return t.hidden?null:(0,e.createElement)(od.Panel,null,n)}function of(t){var n,r,a,o,i,s,l,c,u,d,f,p,h,m,C,y,g,v,w,b,_x,E,x,M,L,S,A,O,T,P,k,Z=t.seoData,H=t.components,R=t.postHTML,j=t.authorizedTools,F=t.enabledTools,N=t.onTabChange,I=t.onReanalyze,_=t.isLoading,D=xa(),V=D.editPostTitle,U=D.editPostExcerpt,B=D.editPostSlug,q=D.isPublished,z=D.postTitle,G=D.postExcerpt,W=D.postSlug,Q=D.revertTitle,K=D.revertExcerpt,$=D.revertSlug,J=La(),Y=J.editMetaDescription,X=J.editMetaTitle,ee=J.metaTitle,te=J.metaDescription,ne=J.revertMetaDescription,re=J.revertMetaTitle,ae=wr().loadingStates,oe=["SUM","SOCIAL"].some((function(e){return j.indexOf(e)>-1})),ie=(0,e.useMemo)((function(){var e,t,n;try{return(null===(n=null===(t=null===(e=Z.selectedHashtags)||void 0===e?void 0:e.data)||void 0===t?void 0:t.values)||void 0===n?void 0:n.join(" "))||""}catch(e){return lt.error("Error processing selected hashtags",Z.selectedHashtags),""}}),[Z.selectedHashtags]),se=(0,e.useMemo)((function(){return(0,e.createElement)("div",null,ie)}),[ie]),le=function(e){return[e,ie].join(" ")};return(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-24px ntw-flex ntw-items-center ntw-justify-between"},(0,e.createElement)("div",{className:"ntw-text-h-900"},"Welcome to Nota"),(0,e.createElement)("div",{className:"ntw-flex ntw-items-center ntw-gap-2"},(0,e.createElement)(Gc,null),(0,e.createElement)("div",{className:"ntw-flex-shrink-0",id:hr},(0,e.createElement)($n,{className:"ntw-h-[38px]",disabled:_,variant:"secondary",size:300,onClick:I},(0,e.createElement)("div",{className:"ntw-flex ntw-items-center"},_&&(0,e.createElement)(Yn,{className:"ntw-mr-2"}),"Reanalyze page"))))),(0,e.createElement)("div",{className:"ntw-rounded-2xl ntw-p-24px ntw-shadow"},!oe&&(0,e.createElement)("div",{className:"ntw-text-center"},"It appears your account does not have access to Nota tools. Please contact support for assistance."),oe&&!F.length&&(0,e.createElement)("div",{className:"ntw-text-center"},"Please enable at least one tab in the"," ",(0,e.createElement)("a",{className:"ntw-text-button-default",href:"/wp-admin/options-general.php?page=nota-settings"},"Nota plugin settings"),"."),(0,e.createElement)(od.Group,{onChange:function(e){var t=F[e];N(t)}},(0,e.createElement)(od.List,{className:"ntw-mb-32px ntw-space-x-24px"},(0,e.createElement)(rf,{hidden:!F.includes("content"),buttonId:"meta-tab-content"},"Content"),(0,e.createElement)(rf,{hidden:!F.includes("seo"),buttonId:"meta-tab-seo"},"SEO"),(0,e.createElement)(rf,{hidden:!F.includes("social")},"Social")),(0,e.createElement)(od.Panels,null,(0,e.createElement)(af,{hidden:!F.includes("content")},(0,e.createElement)("div",{className:"ntw-space-y-32px"},(0,e.createElement)(nf,{divId:"nota-headline",title:or.Headlines,subtitle:"Select a headline to use on the page",isLoading:Z.headlines.isLoading||ae.headlines,error:Z.headlines.error,options:null===(n=Z.headlines.data)||void 0===n?void 0:n.values,onSelect:V,updateOptions:Z.headlines.update,onRefresh:function(){return Z.headlines.refresh({postHTML:R})},history:Z.headlines.history,currentValue:z,onRevert:Q,tone:null===(r=Z.headlines.data)||void 0===r?void 0:r.tone,addHistoryItem:Z.headlines.addHistoryItem}),(0,e.createElement)(nf,{title:or.Excerpt,subtitle:"Select an excerpt to use on the page",isLoading:Z.excerpt.isLoading,error:Z.excerpt.error,options:null===(a=Z.excerpt.data)||void 0===a?void 0:a.values,onSelect:U,updateOptions:Z.excerpt.update,onRefresh:function(){return Z.excerpt.refresh({postHTML:R})},history:Z.excerpt.history,currentValue:G,onRevert:K,tone:null===(o=Z.excerpt.data)||void 0===o?void 0:o.tone}),(0,e.createElement)(nf,{title:or.Summary,subtitle:"Summary for the post",isLoading:Z.summary.isLoading||ae.summary,error:Z.summary.error,options:null===(i=Z.summary.data)||void 0===i?void 0:i.values,updateOptions:Z.summary.update,onRefresh:function(){return Z.summary.refresh({postHTML:R})},history:Z.summary.history,tone:null===(s=Z.summary.data)||void 0===s?void 0:s.tone,addHistoryItem:Z.summary.addHistoryItem}),H.tags&&(0,e.createElement)(Jd,{subtitle:"Select the tags you want to use on this page",title:or.Tags,history:Z.tags.history,isLoading:Z.tags.isLoading,error:Z.tags.error,tags:null===(l=Z.tags.data)||void 0===l?void 0:l.values,onRefresh:function(){return Z.tags.refresh({postHTML:R})}}),H.quotes&&(0,e.createElement)(nf,{title:or.Quotes,subtitle:"",isLoading:Z.quotes.isLoading,error:Z.quotes.error,options:null===(c=Z.quotes.data)||void 0===c?void 0:c.values,updateOptions:Z.quotes.update,onRefresh:function(){return Z.quotes.refresh({postHTML:R})},history:Z.quotes.history,tone:null===(u=Z.quotes.data)||void 0===u?void 0:u.tone}))),(0,e.createElement)(af,{hidden:!F.includes("seo")},(0,e.createElement)("div",{className:"ntw-space-y-32px"},(0,e.createElement)(nf,{divId:"nota-meta-title",title:or.MetaTitle,subtitle:"Select a page title to use in your page",isLoading:Z.metaTitles.isLoading||ae.metaTitles,error:Z.metaTitles.error,options:null===(d=Z.metaTitles.data)||void 0===d?void 0:d.values,onSelect:X,updateOptions:Z.metaTitles.update,onRefresh:function(){return Z.metaTitles.refresh({postHTML:R})},history:Z.metaTitles.history,disabled:!H.metaTitles,disabledMessage:"Enabled Yoast to get meta title recommendations.",currentValue:ee,onRevert:re,tone:null===(f=Z.metaTitles.data)||void 0===f?void 0:f.tone,addHistoryItem:Z.metaTitles.addHistoryItem}),(0,e.createElement)(nf,{divId:"nota-slug",title:or.Slugs,subtitle:"Select a slug to use on the page",isLoading:Z.slugs.isLoading,error:Z.slugs.error,options:null===(p=Z.slugs.data)||void 0===p?void 0:p.values,onSelect:q?void 0:B,updateOptions:Z.slugs.update,onRefresh:function(){return Z.slugs.refresh({postHTML:R})},history:Z.slugs.history,currentValue:W,onRevert:q?void 0:$,notice:q?"Updating the slug on a published post has been disabled for SEO purposes. However, you can still view, copy, and generate suggestions.":void 0,tone:null===(h=Z.slugs.data)||void 0===h?void 0:h.tone}),(0,e.createElement)(nf,{divId:"nota-meta-description",title:or.MetaDescription,subtitle:"Select a meta description to use in your page",isLoading:Z.metaDescriptions.isLoading||ae.metaDescriptions,error:Z.metaDescriptions.error,options:null===(m=Z.metaDescriptions.data)||void 0===m?void 0:m.values,onSelect:Y,updateOptions:Z.metaDescriptions.update,onRefresh:function(){return Z.metaDescriptions.refresh({postHTML:R})},history:Z.metaDescriptions.history,disabled:!H.metaDescriptions,disabledMessage:"Enabled Yoast to get meta description recommendations.",currentValue:te,onRevert:ne,tone:null===(C=Z.metaDescriptions.data)||void 0===C?void 0:C.tone,addHistoryItem:Z.metaDescriptions.addHistoryItem}),(0,e.createElement)(Zd,{title:or.Keywords,history:Z.keywordSynonyms.history,isLoading:Z.keywordSynonyms.isLoading,error:Z.keywordSynonyms.error,keywords:Object.keys(Z.keywordSynonyms.data||{}),onRefresh:function(){return Z.keywordSynonyms.refresh({postHTML:R})}}))),(0,e.createElement)(af,{hidden:!F.includes("social")},(0,e.createElement)("div",{className:"ntw-space-y-32px"},H.socialPostsFacebook&&(0,e.createElement)(nf,{title:or.Facebook,subtitle:"Recommended Facebook post",isLoading:Z.socialPostsFacebook.isLoading||ae.socialPostsFacebook,error:Z.socialPostsFacebook.error,options:null===(y=Z.socialPostsFacebook.data)||void 0===y?void 0:y.values,updateOptions:Z.socialPostsFacebook.update,onRefresh:function(){return Z.socialPostsFacebook.refresh({postHTML:R})},history:Z.socialPostsFacebook.history,afterText:se,getCopyText:le,tone:null===(g=Z.socialPostsFacebook.data)||void 0===g?void 0:g.tone,addHistoryItem:Z.socialPostsFacebook.addHistoryItem}),H.socialPostsInstagram&&(0,e.createElement)(nf,{title:or.Instagram,subtitle:"Recommended Instagram post",isLoading:Z.socialPostsInstagram.isLoading||ae.socialPostsInstagram,error:Z.socialPostsInstagram.error,options:null===(v=Z.socialPostsInstagram.data)||void 0===v?void 0:v.values,updateOptions:Z.socialPostsInstagram.update,onRefresh:function(){return Z.socialPostsInstagram.refresh({postHTML:R})},history:Z.socialPostsInstagram.history,afterText:se,getCopyText:le,tone:null===(w=Z.socialPostsInstagram.data)||void 0===w?void 0:w.tone,addHistoryItem:Z.socialPostsInstagram.addHistoryItem}),H.socialPostsTwitter&&(0,e.createElement)(nf,{title:or.Twitter,subtitle:"Recommended X post",isLoading:Z.socialPostsTwitter.isLoading||ae.socialPostsTwitter,error:Z.socialPostsTwitter.error,options:null===(b=Z.socialPostsTwitter.data)||void 0===b?void 0:b.values,updateOptions:Z.socialPostsTwitter.update,onRefresh:function(){return Z.socialPostsTwitter.refresh({postHTML:R})},history:Z.socialPostsTwitter.history,afterText:se,getCopyText:le,tone:null===(_x=Z.socialPostsTwitter.data)||void 0===_x?void 0:_x.tone,addHistoryItem:Z.socialPostsTwitter.addHistoryItem}),H.socialPostsThreads&&(0,e.createElement)(nf,{title:or.Threads,subtitle:"Recommended Threads post",isLoading:Z.socialPostsThreads.isLoading||ae.socialPostsThreads,error:Z.socialPostsThreads.error,options:null===(E=Z.socialPostsThreads.data)||void 0===E?void 0:E.values,updateOptions:Z.socialPostsThreads.update,onRefresh:function(){return Z.socialPostsThreads.refresh({postHTML:R})},history:Z.socialPostsThreads.history,afterText:se,getCopyText:le,tone:null===(x=Z.socialPostsThreads.data)||void 0===x?void 0:x.tone,addHistoryItem:Z.socialPostsThreads.addHistoryItem}),H.socialPostsLinkedIn&&(0,e.createElement)(nf,{title:or.LinkedIn,subtitle:"Recommended LinkedIn post",isLoading:Z.socialPostsLinkedIn.isLoading||ae.socialPostsLinkedIn,error:Z.socialPostsLinkedIn.error,options:null===(M=Z.socialPostsLinkedIn.data)||void 0===M?void 0:M.values,updateOptions:Z.socialPostsLinkedIn.update,onRefresh:function(){return Z.socialPostsLinkedIn.refresh({postHTML:R})},history:Z.socialPostsLinkedIn.history,afterText:se,getCopyText:le,tone:null===(L=Z.socialPostsLinkedIn.data)||void 0===L?void 0:L.tone,addHistoryItem:Z.socialPostsLinkedIn.addHistoryItem}),H.socialPostsTikTok&&(0,e.createElement)(nf,{title:or.TikTok,subtitle:"Recommended TikTok post",isLoading:Z.socialPostsTikTok.isLoading||ae.socialPostsTikTok,error:Z.socialPostsTikTok.error,options:null===(S=Z.socialPostsTikTok.data)||void 0===S?void 0:S.values,updateOptions:Z.socialPostsTikTok.update,onRefresh:function(){return Z.socialPostsTikTok.refresh({postHTML:R})},history:Z.socialPostsTikTok.history,afterText:se,getCopyText:le,tone:null===(A=Z.socialPostsTikTok.data)||void 0===A?void 0:A.tone,addHistoryItem:Z.socialPostsTikTok.addHistoryItem}),H.sms&&(0,e.createElement)(nf,{title:or.SMS,subtitle:"Recommended SMS message",isLoading:Z.sms.isLoading,error:Z.sms.error,options:null===(O=Z.sms.data)||void 0===O?void 0:O.values,updateOptions:Z.sms.update,onRefresh:function(){return Z.sms.refresh({postHTML:R})},history:Z.sms.history,tone:null===(T=Z.sms.data)||void 0===T?void 0:T.tone}),H.hashtags&&(0,e.createElement)(Qd,{title:"Hashtags",subtitle:"Select the hashtags you would like to include in your posts",history:Z.hashtags.history,isLoading:Z.hashtags.isLoading,error:Z.hashtags.error,tags:null===(P=Z.hashtags.data)||void 0===P?void 0:P.values,selectedTags:null===(k=Z.selectedHashtags.data)||void 0===k?void 0:k.values,onChange:Z.selectedHashtags.update,onRefresh:function(){return Z.hashtags.refresh({postHTML:R})}})))))),(0,e.createElement)("div",{className:"ntw-mt-24px ntw-rounded-2xl ntw-p-24px ntw-shadow"},(0,e.createElement)(Nu,{title:"Preview",subtitle:"See below a preview of your page settings",className:"ntw-mb-32px"}),(0,e.createElement)(zd,null)))}var sf,lf=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))};!function(e){e[e.Initial=0]="Initial",e[e.Results=1]="Results"}(sf||(sf={}));var cf=Hn.useSelect,uf={excerpt:!0,hashtags:window.notaTools.components.hashtags,headlines:!0,slugs:!0,metaDescriptions:window.notaTools.components.meta_description,metaTitles:window.notaTools.components.meta_title,quotes:window.notaTools.components.quotes,socialPostsFacebook:window.notaTools.components.social_posts_facebook,socialPostsInstagram:window.notaTools.components.social_posts_instagram,socialPostsLinkedIn:window.notaTools.components.social_posts_linkedin,socialPostsThreads:window.notaTools.components.social_posts_threads,socialPostsTikTok:window.notaTools.components.social_posts_tiktok,socialPostsTwitter:window.notaTools.components.social_posts_twitter,tags:window.notaTools.components.tags,sms:window.notaTools.components.sms,keywordSynonyms:window.notaTools.components.keywordSynonyms,summary:!0},df={content:{enabled:window.notaTools.tab_sum_enabled,components:["excerpt","headlines","tags","keywordSynonyms","quotes","summary"]},seo:{enabled:window.notaTools.tab_seo_enabled,components:["metaDescriptions","slugs","metaTitles","keywordSynonyms"]},social:{enabled:window.notaTools.tab_social_enabled,components:["socialPostsFacebook","socialPostsInstagram","socialPostsLinkedIn","socialPostsThreads","socialPostsTikTok","socialPostsTwitter","sms","hashtags"]}},ff=function(){var t=Et(),n=t.authorizedTools,r=t.isLoading,a=t.isError,o=wr().analyzePageLoading,i=(0,e.useState)(!1),s=i[0],l=i[1],c=_a(),u=c.config,d=c.isLoading,f=(0,e.useState)(sf.Initial),p=f[0],h=f[1],m=cf((function(e){return e("core/editor").getEditedPostContent()}),[]),C=Oa({notaService:wt,components:uf,requestsToQueue:u.requestsToQueue}),y=(0,e.useState)([]),g=y[0],v=y[1],w=(0,e.useState)("content"),b=w[0],E=w[1],x=(0,e.useMemo)((function(){var e=Object.keys(df).filter((function(e){switch(e){case"content":case"seo":return n.includes("SUM");case"social":return n.includes("SOCIAL")}return!1}));if(e.length)switch(e[0]){case"sum":E("content");break;case"social":E("social")}return e}),[n]),M=Object.keys(uf).some((function(e){var t,n;return null===(n=null===(t=C[e].data)||void 0===t?void 0:t.values)||void 0===n?void 0:n.length})),L=(0,Hn.useDispatch)("core/interface").enableComplementaryArea,S=(0,e.useCallback)((function(){L("core/edit-post","nota-plugin-sidebar/grade")}),[L]),A=window.notaTools.trigger_proof_enabled;(function(t){var n=_a().config,r=(0,e.useRef)(null),a=(0,e.useRef)(""),o=wr(),i=o.postMetaData,s=o.setPostMetaData,l=xa(),c=l.postTitle,u=l.postExcerpt,d=l.postSlug,f=l.postId,p=La(),h=p.metaTitle,m=p.metaDescription,C=Oa({notaService:wt,components:t,requestsToQueue:n.requestsToQueue}),y=C.excerpt,g=C.headlines,v=C.metaDescriptions,w=C.metaTitles,b=C.slugs,E=C.tags,x=Go({taxonomy:"post_tag",wpService:Jo}).existingTerms.map((function(e){return e.name})),M=Yo((function(e){return{isSaving:(0,e("core/editor").isSavingPost)()}}),[]).isSaving;(0,e.useEffect)((function(){if(M){if(0===Object.keys(i).length)return;wt.savePostMetadata({postId:f,metadata:i}).catch(lt.error)}}),[M,f,i]),(0,e.useEffect)((function(){var e,t=Xo(c,g.history.fullHistory.map((function(e){return e.values})).flat()),n=Xo(h,w.history.fullHistory.map((function(e){return e.values})).flat()),r=Xo(d,b.history.fullHistory.map((function(e){return e.values})).flat()),o=Xo(m,v.history.fullHistory.map((function(e){return e.values})).flat()),i=Xo(u,y.history.fullHistory.map((function(e){return e.values})).flat()),l=Xo(x,E.history.fullHistory.map((function(e){return e.values})).flat()),f=(e=[],t&&e.push(ar.Headline),i&&e.push(ar.Excerpt),n&&e.push(ar.MetaTitle),o&&e.push(ar.MetaDescription),r&&e.push(ar.Slug),l&&e.push(ar.Tags),e.join(","));f!==a.current&&(s({nota_published_elements:f}),a.current=f)}),[y.history.fullHistory,g.history.fullHistory,m,v.history.fullHistory,h,w.history.fullHistory,u,d,x,c,s,b.history.fullHistory,E.history.fullHistory]),(0,e.useEffect)((function(){if(M){var e={};Xo(c,g.history.fullHistory.map((function(e){return e.values})).flat())&&(e[ar.Headline]=c),Xo(h,w.history.fullHistory.map((function(e){return e.values})).flat())&&(e[ar.MetaTitle]=h),Xo(d,b.history.fullHistory.map((function(e){return e.values})).flat())&&(e[ar.Slug]=d),Xo(m,v.history.fullHistory.map((function(e){return e.values})).flat())&&(e[ar.MetaDescription]=m),Xo(u,y.history.fullHistory.map((function(e){return e.values})).flat())&&(e[ar.Excerpt]=u),Xo(x,E.history.fullHistory.map((function(e){return e.values})).flat())&&(e[ar.Tags]=x.join(",")),t=e,(!(n=r.current)||Object.keys(t).some((function(e){return(null==n?void 0:n[e])!==t[e]})))&&(ut({content:e,event:"save",field:Object.keys(e).join(",")||"none",postId:f}),r.current=e)}var t,n}),[M])})(uf),(0,e.useEffect)((function(){M&&h(sf.Results)}),[M]),(0,e.useEffect)((function(){g.includes(b)&&(v((function(e){var t=e.indexOf(b);return-1===t?e:lf(lf([],e.slice(0,t),!0),e.slice(t+1),!0)})),df[b]&&df[b].components.forEach((function(e){C[e].isLoading||C[e].refresh({postHTML:m})})))}),[g,b,m,C]);var O=(0,e.useCallback)((function(e){E(e);var t=df[e].components;if(t){var n=t.filter((function(t){if(!g.includes(e))return!1;var n=C[t].data;return Array.isArray(n)?!n.length:!Object.keys(n||{}).length}));n.length>0&&(C.run({postHTML:m,components:n}),v((function(t){return t.filter((function(t){return t!==e}))}))),setTimeout((function(){l(!0)}),1e3)}}),[C,m,g,v]),T=function(){var e,t,n;e="runGradeAction",t={action:"refreshData"},n=new CustomEvent(Er(e),{detail:{action:e,payload:t}}),window.dispatchEvent(n),l(!1)},P=xa().postId,k=(0,e.useCallback)((function(){v(Object.keys(df)),setTimeout((function(){l(!0)}),1e3),ut({content:{post:m},event:"regenerate",field:"none",postId:P})}),[l,m,P]);(0,e.useEffect)((function(){!o&&A&&s&&(S(),setTimeout(T))}),[o,S,A,s]);var Z=(0,e.useCallback)((function(){h(sf.Results),v(Object.keys(df)),O(b),ut({content:{post:m},event:"generate",field:"none",postId:P})}),[b,O,m,P]);if(!window.notaTools.tools_active)return(0,e.createElement)(qa,{level:"error"},"Please ensure you have set an API key to continue using Nota's tools.");if(r||d)return(0,e.createElement)("div",null,"Loading the Nota toolset...");if(a)return(0,e.createElement)(qa,{level:"error"},"There was an error fetching your user data from the Nota API. Please refresh your page and try again. If the issue persists, please contact support.");var H=mr(m||"")<100;return(0,e.createElement)("div",null,p===sf.Initial&&(0,e.createElement)(Iu,{disableAnalyze:H,onSubmit:Z}),p===sf.Results&&(0,e.createElement)("div",null,(0,e.createElement)(of,{seoData:C,components:uf,postHTML:m,authorizedTools:n,enabledTools:x,onTabChange:O,onReanalyze:k,isLoading:r})))},pf=function(){return(0,e.createElement)(c,{client:Uo},(0,e.createElement)(ff,null))},hf=Hn.useSelect;function mf(t){var n=t.metaKey,r=t.label,a=(0,Hn.useDispatch)("core/editor"),o=hf((function(e){var t;return(null===(t=e("core/editor").getEditedPostAttribute("meta"))||void 0===t?void 0:t[n])||""}),[n]);return(0,e.createElement)(u.TextControl,{onChange:function(e){var t;a.editPost({meta:(t={},t[n]=e,t)})},value:o,label:r})}var Cf=function(){return Cf=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Cf.apply(this,arguments)},yf={keywordSynonyms:{},grade:{data:null,request:{content:"",keywords:{}}},gradeIsLoading:!1,urlsScore:{},urlsLoading:!1,analyzePageLoading:!1,metaData:window.notaTools.metadata||{},brands:[],selectedBrand:null,loadingStates:{excerpt:!1,hashtags:!1,headlines:!1,slugs:!1,tags:!1,metaDescriptions:!1,metaTitles:!1,quotes:!1,socialPostsFacebook:!1,socialPostsInstagram:!1,socialPostsLinkedIn:!1,socialPostsThreads:!1,socialPostsTikTok:!1,socialPostsTwitter:!1,sms:!1,keywordSynonyms:!1,summary:!1},tones:{values:[],isLoading:!1}},gf=(0,Hn.createReduxStore)("nota/data",{reducer:function(e,t){var n;switch(void 0===e&&(e=yf),t.type){case"SET_KEYWORDS_SYNONYMS":return Cf(Cf({},e),{keywordSynonyms:t.keywordSynonyms});case"SET_GRADE":return Cf(Cf({},e),{grade:t.grade});case"SET_GRADE_LOADING":return Cf(Cf({},e),{gradeIsLoading:t.loading});case"SET_URLS_SCORE":return Cf(Cf({},e),{urlsScore:t.urlsScore});case"SET_URLS_LOADING":return Cf(Cf({},e),{urlsLoading:t.loading});case"ANALYZE_PAGE_LOADING":return Cf(Cf({},e),{analyzePageLoading:t.loading});case"SET_POST_META_DATA":return Cf(Cf({},e),{metaData:Cf(Cf({},e.metaData),t.metaData)});case"SET_BRANDS":return Cf(Cf({},e),{brands:t.brands});case"SET_SELECTED_BRAND":return Cf(Cf({},e),{selectedBrand:t.selectedBrand});case"SET_LOADING_STATE":return Cf(Cf({},e),{loadingStates:Cf(Cf({},e.loadingStates),(n={},n[t.component]=t.loading,n))});case"SET_CURRENT_TONES":return Cf(Cf({},e),{tones:t.tones});default:return e}},actions:{setKeywordsSynonyms:function(e){return{type:"SET_KEYWORDS_SYNONYMS",keywordSynonyms:e}},setGrade:function(e){return{type:"SET_GRADE",grade:e}},setGradeLoading:function(e){return{type:"SET_GRADE_LOADING",loading:e}},setUrlsScore:function(e){return{type:"SET_URLS_SCORE",urlsScore:e}},setUrlsLoading:function(e){return{type:"SET_URLS_LOADING",loading:e}},setAnalyzePageLoading:function(e){return{type:"ANALYZE_PAGE_LOADING",loading:e}},setPostMetaData:function(e){return{type:"SET_POST_META_DATA",metaData:e}},setBrands:function(e){return{type:"SET_BRANDS",brands:e}},setSelectedBrand:function(e){return{type:"SET_SELECTED_BRAND",selectedBrand:e}},setLoadingState:function(e,t){return{type:"SET_LOADING_STATE",component:e,loading:t}},setCurrentTones:function(e){return{type:"SET_CURRENT_TONES",tones:e}}},selectors:{getKeywordSynonyms:function(e){return e.keywordSynonyms},getGrade:function(e){return e.grade},isGradeLoading:function(e){return e.gradeIsLoading},getUrlsScore:function(e){return e.urlsScore},isUrlsLoading:function(e){return e.urlsLoading},isAnalyzePageLoading:function(e){return e.analyzePageLoading},getPostMetaData:function(e){return e.metaData},getBrands:function(e){return e.brands},getSelectedBrand:function(e){return e.selectedBrand},getLoadingStates:function(e){return e.loadingStates},isLoading:function(e,t){return e.loadingStates[t]},getTones:function(e){return e.tones}}});(0,Hn.register)(gf),function(){var t=document.getElementById("nota-post-tools-meta-box-root");if(t){var n=(0,e.createElement)(pf);e.createRoot?(0,e.createRoot)(t).render(n):(0,e.render)(n,t)}else console.log("Failing to render Nota Post Tools Meta Box as element does not exist")}(),window.notaTools.register_controls.seo&&(0,t.registerPlugin)("nota-seo-tools",{render:function(){return(0,e.createElement)(d.PluginDocumentSettingPanel,{name:"nota-seo-tools",title:"Nota SEO Tools"},(0,e.createElement)(mf,{metaKey:window.notaTools.meta_keys.seo_title,label:"SEO Title"}),(0,e.createElement)(mf,{metaKey:window.notaTools.meta_keys.seo_desc,label:"SEO Description"}))}}),window.notaTools.register_controls.grade&&(0,t.registerPlugin)("nota-plugin-sidebar",{render:function(){var t=Et(),n=t.authorizedTools;return t.isLoading||n.includes("GRADE")?(0,e.createElement)(d.PluginSidebar,{name:"grade",title:"Nota PROOF",className:"nota sidebar",icon:(0,e.createElement)(Fo,null)},(0,e.createElement)(c,{client:Uo},(0,e.createElement)(u.Panel,null,(0,e.createElement)(Ho,null),(0,e.createElement)(br,null),(0,e.createElement)(jo,null),(0,e.createElement)(Ro,null)))):null}})}()}();
  • nota-ai-tools/tags/0.12.2/includes/class-nota-api.php

    r3143034 r3165290  
    149149
    150150    /**
     151     * Returns the contentInputSource for the record.
     152     *
     153     * @param string $post_id The post ID.
     154     */
     155    private function build_content_input_source( $post_id ) {
     156            // these are elements from the user-agent, see class-wp-http.php.
     157        return array(
     158            'type'        => 'cms',
     159            'cmsRecordId' => $post_id,
     160            'cmsProvider' => 'WordPress/' . get_bloginfo( 'version' ),
     161            'cmsName'     => get_bloginfo( 'url' ),
     162        );
     163    }
     164
     165    /**
    151166     * Gets a text summary
    152167     *
     
    156171     * @param string $brand_id The brand ID to use.
    157172     * @param bool   $queue Whether to queue the request or return immediately.
    158      */
    159     public function get_text_summary( $text, $length_option, $regenerate, $brand_id, $queue ) {
     173     * @param string $post_id The post ID.
     174     */
     175    public function get_text_summary( $text, $length_option, $regenerate, $brand_id, $queue, $post_id ) {
    160176        return $this->make_request(
    161177            'POST',
     
    163179            array(
    164180                'body' => array(
    165                     'text'         => $text,
    166                     'lengthOption' => $length_option,
    167                     'regenerate'   => $regenerate,
    168                     'brandId'      => $brand_id,
    169                     'queue'        => $queue,
     181                    'text'               => $text,
     182                    'lengthOption'       => $length_option,
     183                    'regenerate'         => $regenerate,
     184                    'brandId'            => $brand_id,
     185                    'queue'              => $queue,
     186                    'contentInputSource' => $this->build_content_input_source( $post_id ),
    170187                ),
    171188            )
     
    178195     * @param string $text Text to get keywords from.
    179196     * @param bool   $regenerate Whether to regenerate the value.
    180      */
    181     public function get_text_hashtags( $text, $regenerate ) {
     197     * @param string $post_id The post ID.
     198     */
     199    public function get_text_hashtags( $text, $regenerate, $post_id ) {
    182200        return $this->make_request(
    183201            'POST',
     
    185203            array(
    186204                'body' => array(
    187                     'text'       => $text,
    188                     'regenerate' => $regenerate,
     205                    'text'               => $text,
     206                    'regenerate'         => $regenerate,
     207                    'contentInputSource' => $this->build_content_input_source( $post_id ),
    189208                ),
    190209            )
     
    256275     * @param string $brand_id The brand ID to use.
    257276     * @param bool   $queue Whether to queue the request or return immediately.
    258      */
    259     public function get_text_headlines( $text, $count, $regenerate, $brand_id, $queue ) {
     277     * @param string $post_id The post ID.
     278     */
     279    public function get_text_headlines( $text, $count, $regenerate, $brand_id, $queue, $post_id ) {
    260280        return $this->make_request(
    261281            'POST',
     
    263283            array(
    264284                'body' => array(
    265                     'text'              => $text,
    266                     'count'             => $count,
    267                     'itemCharactersMax' => ! empty( $this->settings->get_option( 'headline_max_characters' ) ) ? $this->settings->get_option( 'headline_max_characters' ) : null,
    268                     'regenerate'        => $regenerate,
    269                     'headlineCase'      => ! empty( $this->settings->get_option( 'headline_casing' ) ) ? $this->settings->get_option( 'headline_casing' ) : null,
    270                     'brandId'           => $brand_id,
    271                     'queue'             => $queue,
     285                    'text'               => $text,
     286                    'count'              => $count,
     287                    'itemCharactersMax'  => ! empty( $this->settings->get_option( 'headline_max_characters' ) ) ? $this->settings->get_option( 'headline_max_characters' ) : null,
     288                    'regenerate'         => $regenerate,
     289                    'headlineCase'       => ! empty( $this->settings->get_option( 'headline_casing' ) ) ? $this->settings->get_option( 'headline_casing' ) : null,
     290                    'brandId'            => $brand_id,
     291                    'queue'              => $queue,
     292                    'contentInputSource' => $this->build_content_input_source( $post_id ),
    272293                ),
    273294            )
     
    281302     * @param int    $count Number of slugs to get.
    282303     * @param bool   $regenerate Whether to regenerate the value.
    283      */
    284     public function get_text_slugs( $text, $count, $regenerate ) {
     304     * @param string $post_id The post ID.
     305     */
     306    public function get_text_slugs( $text, $count, $regenerate, $post_id ) {
    285307        return $this->make_request(
    286308            'POST',
     
    288310            array(
    289311                'body' => array(
    290                     'text'       => $text,
    291                     'count'      => $count,
    292                     'regenerate' => $regenerate,
     312                    'text'               => $text,
     313                    'count'              => $count,
     314                    'regenerate'         => $regenerate,
     315                    'contentInputSource' => $this->build_content_input_source( $post_id ),
    293316                ),
    294317            )
     
    305328     * @param bool   $seo_ranking Enable SEO ranking.
    306329     * @param bool   $queue Whether to queue the request or return immediately.
    307      */
    308     public function get_text_keywords( $text, $count, $variability, $regenerate, $seo_ranking, $queue ) {
     330     * @param string $post_id The post ID.
     331     */
     332    public function get_text_keywords( $text, $count, $variability, $regenerate, $seo_ranking, $queue, $post_id ) {
    309333        return $this->make_request(
    310334            'POST',
     
    312336            array(
    313337                'body' => array(
    314                     'text'        => $text,
    315                     'count'       => $count,
    316                     'variability' => $variability,
    317                     'regenerate'  => $regenerate,
    318                     'seoRanking'  => $seo_ranking,
    319                     'queue'       => $queue,
     338                    'text'               => $text,
     339                    'count'              => $count,
     340                    'variability'        => $variability,
     341                    'regenerate'         => $regenerate,
     342                    'seoRanking'         => $seo_ranking,
     343                    'queue'              => $queue,
     344                    'contentInputSource' => $this->build_content_input_source( $post_id ),
    320345                ),
    321346            )
     
    330355     * @param bool   $regenerate Whether to regenerate the value.
    331356     * @param bool   $queue Whether to queue the request or return immediately.
    332      */
    333     public function get_text_entities( $text, $variability, $regenerate, $queue ) {
     357     * @param string $post_id The post ID.
     358     */
     359    public function get_text_entities( $text, $variability, $regenerate, $queue, $post_id ) {
    334360        return $this->make_request(
    335361            'POST',
     
    337363            array(
    338364                'body' => array(
    339                     'text'        => $text,
    340                     'variability' => $variability,
    341                     'regenerate'  => $regenerate,
    342                     'queue'       => $queue,
     365                    'text'               => $text,
     366                    'variability'        => $variability,
     367                    'regenerate'         => $regenerate,
     368                    'queue'              => $queue,
     369                    'contentInputSource' => $this->build_content_input_source( $post_id ),
    343370                ),
    344371            )
     
    355382     * @param string $brand_id The brand ID to use.
    356383     * @param bool   $queue Whether to queue the request or return immediately.
    357      */
    358     public function get_text_meta_descriptions( $text, $count, $variability, $regenerate, $brand_id, $queue ) {
     384     * @param string $post_id The post ID.
     385     */
     386    public function get_text_meta_descriptions( $text, $count, $variability, $regenerate, $brand_id, $queue, $post_id ) {
    359387        return $this->make_request(
    360388            'POST',
     
    362390            array(
    363391                'body' => array(
    364                     'text'        => $text,
    365                     'count'       => $count,
    366                     'variability' => $variability,
    367                     'regenerate'  => $regenerate,
    368                     'brandId'     => $brand_id,
    369                     'queue'       => $queue,
     392                    'text'               => $text,
     393                    'count'              => $count,
     394                    'variability'        => $variability,
     395                    'regenerate'         => $regenerate,
     396                    'brandId'            => $brand_id,
     397                    'queue'              => $queue,
     398                    'contentInputSource' => $this->build_content_input_source( $post_id ),
    370399                ),
    371400            )
     
    382411     * @param string $brand_id The brand ID to use.
    383412     * @param bool   $queue Whether to queue the request or return immediately.
    384      */
    385     public function get_text_meta_titles( $text, $count, $variability, $regenerate, $brand_id, $queue ) {
     413     * @param string $post_id The post ID.
     414     */
     415    public function get_text_meta_titles( $text, $count, $variability, $regenerate, $brand_id, $queue, $post_id ) {
    386416        return $this->make_request(
    387417            'POST',
     
    389419            array(
    390420                'body' => array(
    391                     'text'        => $text,
    392                     'count'       => $count,
    393                     'variability' => $variability,
    394                     'regenerate'  => $regenerate,
    395                     'titleCase'   => ! empty( $this->settings->get_option( 'meta_title_casing' ) ) ? $this->settings->get_option( 'meta_title_casing' ) : null,
    396                     'brandId'     => $brand_id,
    397                     'queue'       => $queue,
     421                    'text'               => $text,
     422                    'count'              => $count,
     423                    'variability'        => $variability,
     424                    'regenerate'         => $regenerate,
     425                    'titleCase'          => ! empty( $this->settings->get_option( 'meta_title_casing' ) ) ? $this->settings->get_option( 'meta_title_casing' ) : null,
     426                    'brandId'            => $brand_id,
     427                    'queue'              => $queue,
     428                    'contentInputSource' => $this->build_content_input_source( $post_id ),
    398429                ),
    399430            )
     
    410441     * @param bool   $queue Whether to queue the request or return immediately.
    411442     * @param string $brand_id The brand ID to use.
    412      */
    413     public function get_text_social_posts( $text, $platform, $count, $regenerate, $queue, $brand_id ) {
     443     * @param string $post_id The post ID.
     444     */
     445    public function get_text_social_posts( $text, $platform, $count, $regenerate, $queue, $brand_id, $post_id ) {
    414446        return $this->make_request(
    415447            'POST',
     
    417449            array(
    418450                'body' => array(
    419                     'text'       => $text,
    420                     'platform'   => $platform,
    421                     'count'      => $count,
    422                     'regenerate' => $regenerate,
    423                     'style'      => ! empty( $this->settings->get_option( 'social_post_style' ) ) ? $this->settings->get_option( 'social_post_style' ) : null,
    424                     'queue'      => $queue,
    425                     'brandId'    => $brand_id,
     451                    'text'               => $text,
     452                    'platform'           => $platform,
     453                    'count'              => $count,
     454                    'regenerate'         => $regenerate,
     455                    'style'              => ! empty( $this->settings->get_option( 'social_post_style' ) ) ? $this->settings->get_option( 'social_post_style' ) : null,
     456                    'queue'              => $queue,
     457                    'brandId'            => $brand_id,
     458                    'contentInputSource' => $this->build_content_input_source( $post_id ),
    426459                ),
    427460            )
     
    435468     * @param int    $count Number of titles to get.
    436469     * @param bool   $regenerate Whether to regenerate the value.
    437      */
    438     public function get_text_sms_messages( $text, $count, $regenerate ) {
     470     * @param string $post_id The post ID.
     471     */
     472    public function get_text_sms_messages( $text, $count, $regenerate, $post_id ) {
    439473        return $this->make_request(
    440474            'POST',
     
    442476            array(
    443477                'body' => array(
    444                     'text'       => $text,
    445                     'count'      => $count,
    446                     'regenerate' => $regenerate,
     478                    'text'               => $text,
     479                    'count'              => $count,
     480                    'regenerate'         => $regenerate,
     481                    'contentInputSource' => $this->build_content_input_source( $post_id ),
    447482                ),
    448483            )
     
    457492     * @param bool   $regenerate Whether to regenerate the value.
    458493     * @param array  $exclude The quotes to exclude.
    459      */
    460     public function get_text_quotes( $text, $count, $regenerate, $exclude ) {
     494     * @param string $post_id The post ID.
     495     */
     496    public function get_text_quotes( $text, $count, $regenerate, $exclude, $post_id ) {
    461497        return $this->make_request(
    462498            'POST',
     
    464500            array(
    465501                'body' => array(
    466                     'text'       => $text,
    467                     'count'      => $count,
    468                     'regenerate' => $regenerate,
    469                     'exclude'    => $exclude,
     502                    'text'               => $text,
     503                    'count'              => $count,
     504                    'regenerate'         => $regenerate,
     505                    'exclude'            => $exclude,
     506                    'contentInputSource' => $this->build_content_input_source( $post_id ),
    470507                ),
    471508            )
     
    573610        );
    574611    }
     612
     613    /**
     614     * Gets a batch of related keywords.
     615     *
     616     * @param string[] $keywords The keyword to compare.
     617     * @param string   $text The used used for context.
     618     * @param bool     $queue Whether to queue the request or return immediately.
     619     */
     620    public function get_related_keywords_batch( $keywords, $text, $queue ) {
     621        return $this->make_request(
     622            'POST',
     623            'wordpress/v1/seo/batch-related-keywords',
     624            array(
     625                'body' => array(
     626                    'keywords' => $keywords,
     627                    'text'     => $text,
     628                    'queue'    => $queue,
     629                ),
     630            )
     631        );
     632    }
    575633}
  • nota-ai-tools/tags/0.12.2/includes/class-nota-post-tools.php

    r3094088 r3165290  
    225225                'notaTools',
    226226                [
     227                    'postId'                => get_the_ID() ? get_the_ID() : 0,
    227228                    'ajaxUrl'               => admin_url( 'admin-ajax.php' ),
    228229                    'metadata'              => $this->get_nota_metadata( get_the_ID() ),
  • nota-ai-tools/tags/0.12.2/includes/class-nota-wp-rest.php

    r3143034 r3165290  
    7373        $safe_request['postHTML'] = $valid_post_html ? (string) $request['nota']['postHTML'] : '';
    7474        $safe_request['postText'] = $this->trim_html( $safe_request['postHTML'] );
     75        $safe_request['postId']   = isset( $_SERVER['HTTP_NOTA_POST_ID'] ) ? (int) $_SERVER['HTTP_NOTA_POST_ID'] : 0;
    7576
    7677        // sanitize count.
     
    124125            'adjust_text_tone'           => array( $this, 'adjust_text_tone' ),
    125126            'get_related_keywords'       => array( $this, 'get_related_keywords' ),
     127            'get_related_keywords_batch' => array( $this, 'get_related_keywords_batch' ),
    126128        );
    127129        if ( ! $payload['nota_action'] || ! isset( $actions[ $payload['nota_action'] ] ) ) {
     
    177179        $queue         = (bool) isset( $data['queue'] ) ? $data['queue'] : false;
    178180
    179         return $this->api->get_text_summary( $text, $length_option, $regenerate, $brand_id, $queue );
     181        return $this->api->get_text_summary( $text, $length_option, $regenerate, $brand_id, $queue, $data['postId'] );
    180182    }
    181183
     
    194196        $regenerate = isset( $data['regenerate'] ) ? $data['regenerate'] : false;
    195197
    196         return $this->api->get_text_hashtags( $text, $regenerate );
     198        return $this->api->get_text_hashtags( $text, $regenerate, $data['postId'] );
    197199    }
    198200
     
    214216        $queue      = (bool) isset( $data['queue'] ) ? $data['queue'] : false;
    215217
    216         return $this->api->get_text_headlines( $text, $count, $regenerate, $brand_id, $queue );
     218        return $this->api->get_text_headlines( $text, $count, $regenerate, $brand_id, $queue, $data['postId'] );
    217219    }
    218220
     
    233235        $regenerate = isset( $data['regenerate'] ) ? $data['regenerate'] : false;
    234236
    235         return $this->api->get_text_slugs( $text, $count, $regenerate );
     237        return $this->api->get_text_slugs( $text, $count, $regenerate, $data['postId'] );
    236238    }
    237239
     
    255257        $variability = 0.3;
    256258
    257         return $this->api->get_text_keywords( $text, $count, $variability, $regenerate, $data['seoRanking'], $queue );
     259        return $this->api->get_text_keywords( $text, $count, $variability, $regenerate, $data['seoRanking'], $queue, $data['postId'] );
    258260    }
    259261
     
    277279        $variability = 0.3;
    278280
    279         return $this->api->get_text_entities( $text, $variability, $regenerate, $queue );
     281        return $this->api->get_text_entities( $text, $variability, $regenerate, $queue, $data['postId'] );
    280282    }
    281283
     
    300302        $variability = 0.3;
    301303
    302         return $this->api->get_text_meta_descriptions( $text, $count, $variability, $regenerate, $brand_id, $queue );
     304        return $this->api->get_text_meta_descriptions( $text, $count, $variability, $regenerate, $brand_id, $queue, $data['postId'] );
    303305    }
    304306
     
    323325        $variability = 0.3;
    324326
    325         return $this->api->get_text_meta_titles( $text, $count, $variability, $regenerate, $brand_id, $queue );
     327        return $this->api->get_text_meta_titles( $text, $count, $variability, $regenerate, $brand_id, $queue, $data['postId'] );
    326328    }
    327329
     
    349351        $brand_id   = isset( $data['brandId'] ) ? $data['brandId'] : null;
    350352
    351         return $this->api->get_text_social_posts( $text, $platform, $count, $regenerate, $queue, $brand_id );
     353        return $this->api->get_text_social_posts( $text, $platform, $count, $regenerate, $queue, $brand_id, $data['postId'] );
    352354    }
    353355
     
    368370        $regenerate = isset( $data['regenerate'] ) ? $data['regenerate'] : false;
    369371
    370         return $this->api->get_text_sms_messages( $text, $count, $regenerate );
     372        return $this->api->get_text_sms_messages( $text, $count, $regenerate, $data['postId'] );
    371373    }
    372374   
     
    391393        $sanitised_exclude = array_map( 'strval', $exclude );
    392394
    393         return $this->api->get_text_quotes( $text, $count, $regenerate, $sanitised_exclude );
     395        return $this->api->get_text_quotes( $text, $count, $regenerate, $sanitised_exclude, $data['postId'] );
    394396    }
    395397
     
    533535        return $this->api->get_related_keywords( $keyword, $text, $queue );
    534536    }
     537
     538    /**
     539     * Gets a batch of related keywords.
     540     *
     541     * @param array $data Data sent with the request.
     542     */
     543    private function get_related_keywords_batch( $data ) {
     544        if ( ! isset( $data['keywords'] ) || ! is_array( $data['keywords'] ) ) {
     545            wp_send_json_error( array( 'message' => 'Missing required keywords' ), 400 );
     546            return;
     547        }
     548
     549        $keywords = array_map( 'sanitize_text_field', $data['keywords'] );
     550        $text     = $data['postText'];
     551        $queue    = (bool) isset( $data['queue'] ) ? $data['queue'] : false;
     552
     553        return $this->api->get_related_keywords_batch( $keywords, $text, $queue );
     554    }
    535555}
  • nota-ai-tools/tags/0.12.2/nota-wordpress-plugin.php

    r3147208 r3165290  
    33 * Plugin Name: Nota Tools
    44 * Description: Nota’s assistive AI tools help publishers create headlines, summaries, SEO keywords and more.
    5  * Version: 0.12.1
     5 * Version: 0.12.2
    66 * Author: Nota
    77 * Author URI: https://heynota.com
     
    1414defined( 'ABSPATH' ) || exit;
    1515
    16 define( 'NOTA_PLUGIN_VERSION', '0.12.1' );
     16define( 'NOTA_PLUGIN_VERSION', '0.12.2' );
    1717
    1818if ( ! defined( 'NOTA_PLUGIN_FILE' ) ) {
  • nota-ai-tools/tags/0.12.2/readme.txt

    r3147208 r3165290  
    44License URI: http://www.gnu.org/licenses/gpl.html
    55Requires PHP: 7.2.5
    6 Stable tag: 0.12.1
     6Stable tag: 0.12.2
    77Tested up to: 6.5.3
    88
  • nota-ai-tools/trunk/dist/postTools.asset.php

    r3147208 r3165290  
    1 <?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-date', 'wp-edit-post', 'wp-element', 'wp-plugins'), 'version' => '39bb5d057abf658c75b3');
     1<?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-date', 'wp-edit-post', 'wp-element', 'wp-plugins'), 'version' => '70e3afa8d80b59539ecd');
  • nota-ai-tools/trunk/dist/postTools.css

    r3143034 r3165290  
    747747      background-color: rgb(103 187 187 / var(--tw-bg-opacity));
    748748}
     749.nota :is(.ntw-bg-status-error-100) {
     750      --tw-bg-opacity: 1;
     751      background-color: rgb(253 238 234 / var(--tw-bg-opacity));
     752}
    749753.nota :is(.ntw-bg-status-informational-100) {
    750754      --tw-bg-opacity: 1;
     
    10011005      color: rgb(0 141 142 / var(--tw-text-opacity));
    10021006}
    1003 .nota :is(.ntw-text-status-error-100) {
    1004       --tw-text-opacity: 1;
    1005       color: rgb(253 238 234 / var(--tw-text-opacity));
     1007.nota :is(.ntw-text-status-error-900) {
     1008      --tw-text-opacity: 1;
     1009      color: rgb(237 86 41 / var(--tw-text-opacity));
    10061010}
    10071011.nota :is(.ntw-text-typography-dark) {
  • nota-ai-tools/trunk/dist/postTools.js

    r3147208 r3165290  
    1 !function(){var e={924:function(e,t,n){"use strict";var r=n(210),a=n(559),o=a(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?a(n):n}},559:function(e,t,n){"use strict";var r=n(612),a=n(210),o=a("%Function.prototype.apply%"),i=a("%Function.prototype.call%"),s=a("%Reflect.apply%",!0)||r.call(i,o),l=a("%Object.getOwnPropertyDescriptor%",!0),c=a("%Object.defineProperty%",!0),u=a("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){var t=s(r,i,arguments);return l&&c&&l(t,"length").configurable&&c(t,"length",{value:1+u(0,e.length-(arguments.length-1))}),t};var d=function(){return s(r,o,arguments)};c?c(e.exports,"apply",{value:d}):e.exports.apply=d},573:function(e){"use strict";var t=/["'&<>]/;e.exports=function(e){var n,r=""+e,a=t.exec(r);if(!a)return r;var o="",i=0,s=0;for(i=a.index;i<r.length;i++){switch(r.charCodeAt(i)){case 34:n="&quot;";break;case 38:n="&amp;";break;case 39:n="&#39;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}s!==i&&(o+=r.substring(s,i)),s=i+1,o+=n}return s!==i?o+r.substring(s,i):o}},648:function(e){"use strict";var t=Array.prototype.slice,n=Object.prototype.toString;e.exports=function(e){var r=this;if("function"!=typeof r||"[object Function]"!==n.call(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var a,o=t.call(arguments,1),i=Math.max(0,r.length-o.length),s=[],l=0;l<i;l++)s.push("$"+l);if(a=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof a){var n=r.apply(this,o.concat(t.call(arguments)));return Object(n)===n?n:this}return r.apply(e,o.concat(t.call(arguments)))})),r.prototype){var c=function(){};c.prototype=r.prototype,a.prototype=new c,c.prototype=null}return a}},612:function(e,t,n){"use strict";var r=n(648);e.exports=Function.prototype.bind||r},210:function(e,t,n){"use strict";var r,a=SyntaxError,o=Function,i=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var c=function(){throw new i},u=l?function(){try{return c}catch(e){try{return l(arguments,"callee").get}catch(e){return c}}}():c,d=n(405)(),f=Object.getPrototypeOf||function(e){return e.__proto__},p={},h="undefined"==typeof Uint8Array?r:f(Uint8Array),m={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?f([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?f(f([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?f((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?f((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?f(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":a,"%ThrowTypeError%":u,"%TypedArray%":h,"%TypeError%":i,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};try{null.error}catch(e){var C=f(f(e));m["%Error.prototype%"]=C}var y=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var a=e("%AsyncGenerator%");a&&(n=f(a.prototype))}return m[t]=n,n},g={"%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"]},v=n(612),b=n(642),w=v.call(Function.call,Array.prototype.concat),E=v.call(Function.apply,Array.prototype.splice),x=v.call(Function.call,String.prototype.replace),M=v.call(Function.call,String.prototype.slice),L=v.call(Function.call,RegExp.prototype.exec),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,A=/\\(\\)?/g,O=function(e,t){var n,r=e;if(b(g,r)&&(r="%"+(n=g[r])[0]+"%"),b(m,r)){var o=m[r];if(o===p&&(o=y(r)),void 0===o&&!t)throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new a("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new i('"allowMissing" argument must be a boolean');if(null===L(/^%?[^%]*%?$/,e))throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=M(e,0,1),n=M(e,-1);if("%"===t&&"%"!==n)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new a("invalid intrinsic syntax, expected opening `%`");var r=[];return x(e,S,(function(e,t,n,a){r[r.length]=n?x(a,A,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=O("%"+r+"%",t),s=o.name,c=o.value,u=!1,d=o.alias;d&&(r=d[0],E(n,w([0,1],d)));for(var f=1,p=!0;f<n.length;f+=1){var h=n[f],C=M(h,0,1),y=M(h,-1);if(('"'===C||"'"===C||"`"===C||'"'===y||"'"===y||"`"===y)&&C!==y)throw new a("property names with quotes must have matching quotes");if("constructor"!==h&&p||(u=!0),b(m,s="%"+(r+="."+h)+"%"))c=m[s];else if(null!=c){if(!(h in c)){if(!t)throw new i("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&f+1>=n.length){var g=l(c,h);c=(p=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:c[h]}else p=b(c,h),c=c[h];p&&!u&&(m[s]=c)}}return c}},405:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,a=n(419);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&a()}},419:function(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"),n=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(n))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 r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(e,t);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},642:function(e,t,n){"use strict";var r=n(612);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},631:function(e,t,n){var r="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&a&&"function"==typeof a.get?a.get:null,i=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&l&&"function"==typeof l.get?l.get:null,u=s&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,m=Object.prototype.toString,C=Function.prototype.toString,y=String.prototype.match,g=String.prototype.slice,v=String.prototype.replace,b=String.prototype.toUpperCase,w=String.prototype.toLowerCase,E=RegExp.prototype.test,x=Array.prototype.concat,M=Array.prototype.join,L=Array.prototype.slice,S=Math.floor,A="function"==typeof BigInt?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,P="function"==typeof Symbol&&"object"==typeof Symbol.iterator,k="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,Z=Object.prototype.propertyIsEnumerable,H=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function R(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||E.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-S(-e):S(e);if(r!==e){var a=String(r),o=g.call(t,a.length+1);return v.call(a,n,"$&_")+"."+v.call(v.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(t,n,"$&_")}var j=n(654),F=j.custom,N=U(F)?F:null;function I(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function _(e){return v.call(String(e),/"/g,"&quot;")}function D(e){return!("[object Array]"!==z(e)||k&&"object"==typeof e&&k in e)}function V(e){return!("[object RegExp]"!==z(e)||k&&"object"==typeof e&&k in e)}function U(e){if(P)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!T)return!1;try{return T.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,r,a){var s=n||{};if(q(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(q(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 l=!q(s,"customInspect")||s.customInspect;if("boolean"!=typeof l&&"symbol"!==l)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(q(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(q(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=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 W(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var b=String(t);return m?R(t,b):b}if("bigint"==typeof t){var E=String(t)+"n";return m?R(t,E):E}var S=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=S&&S>0&&"object"==typeof t)return D(t)?"[Array]":"[Object]";var O,F=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=M.call(Array(e.indent+1)," ")}return{base:n,prev:M.call(Array(t+1),n)}}(s,r);if(void 0===a)a=[];else if(G(a,t)>=0)return"[Circular]";function B(t,n,o){if(n&&(a=L.call(a)).push(n),o){var i={depth:s.depth};return q(s,"quoteStyle")&&(i.quoteStyle=s.quoteStyle),e(t,i,r+1,a)}return e(t,s,r+1,a)}if("function"==typeof t&&!V(t)){var Q=function(e){if(e.name)return e.name;var t=y.call(C.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),ee=X(t,B);return"[Function"+(Q?": "+Q:" (anonymous)")+"]"+(ee.length>0?" { "+M.call(ee,", ")+" }":"")}if(U(t)){var te=P?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):T.call(t);return"object"!=typeof t||P?te:K(te)}if((O=t)&&"object"==typeof O&&("undefined"!=typeof HTMLElement&&O instanceof HTMLElement||"string"==typeof O.nodeName&&"function"==typeof O.getAttribute)){for(var ne="<"+w.call(String(t.nodeName)),re=t.attributes||[],ae=0;ae<re.length;ae++)ne+=" "+re[ae].name+"="+I(_(re[ae].value),"double",s);return ne+=">",t.childNodes&&t.childNodes.length&&(ne+="..."),ne+"</"+w.call(String(t.nodeName))+">"}if(D(t)){if(0===t.length)return"[]";var oe=X(t,B);return F&&!function(e){for(var t=0;t<e.length;t++)if(G(e[t],"\n")>=0)return!1;return!0}(oe)?"["+Y(oe,F)+"]":"[ "+M.call(oe,", ")+" ]"}if(function(e){return!("[object Error]"!==z(e)||k&&"object"==typeof e&&k in e)}(t)){var ie=X(t,B);return"cause"in Error.prototype||!("cause"in t)||Z.call(t,"cause")?0===ie.length?"["+String(t)+"]":"{ ["+String(t)+"] "+M.call(ie,", ")+" }":"{ ["+String(t)+"] "+M.call(x.call("[cause]: "+B(t.cause),ie),", ")+" }"}if("object"==typeof t&&l){if(N&&"function"==typeof t[N]&&j)return j(t,{depth:S-r});if("symbol"!==l&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.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,n){se.push(B(n,t,!0)+" => "+B(e,t))})),J("Map",o.call(t),se,F)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var le=[];return u&&u.call(t,(function(e){le.push(B(e,t))})),J("Set",c.call(t),le,F)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return $("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return $("WeakSet");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{return p.call(e),!0}catch(e){}return!1}(t))return $("WeakRef");if(function(e){return!("[object Number]"!==z(e)||k&&"object"==typeof e&&k in e)}(t))return K(B(Number(t)));if(function(e){if(!e||"object"!=typeof e||!A)return!1;try{return A.call(e),!0}catch(e){}return!1}(t))return K(B(A.call(t)));if(function(e){return!("[object Boolean]"!==z(e)||k&&"object"==typeof e&&k in e)}(t))return K(h.call(t));if(function(e){return!("[object String]"!==z(e)||k&&"object"==typeof e&&k in e)}(t))return K(B(String(t)));if(!function(e){return!("[object Date]"!==z(e)||k&&"object"==typeof e&&k in e)}(t)&&!V(t)){var ce=X(t,B),ue=H?H(t)===Object.prototype:t instanceof Object||t.constructor===Object,de=t instanceof Object?"":"null prototype",fe=!ue&&k&&Object(t)===t&&k in t?g.call(z(t),8,-1):de?"Object":"",pe=(ue||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(fe||de?"["+M.call(x.call([],fe||[],de||[]),": ")+"] ":"");return 0===ce.length?pe+"{}":F?pe+"{"+Y(ce,F)+"}":pe+"{ "+M.call(ce,", ")+" }"}return String(t)};var B=Object.prototype.hasOwnProperty||function(e){return e in this};function q(e,t){return B.call(e,t)}function z(e){return m.call(e)}function G(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function W(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return W(g.call(e,0,t.maxStringLength),t)+r}return I(v.call(v.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Q),"single",t)}function Q(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+b.call(t.toString(16))}function K(e){return"Object("+e+")"}function $(e){return e+" { ? }"}function J(e,t,n,r){return e+" ("+t+") {"+(r?Y(n,r):M.call(n,", "))+"}"}function Y(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+M.call(e,","+n)+"\n"+t.prev}function X(e,t){var n=D(e),r=[];if(n){r.length=e.length;for(var a=0;a<e.length;a++)r[a]=q(e,a)?t(e[a],e):""}var o,i="function"==typeof O?O(e):[];if(P){o={};for(var s=0;s<i.length;s++)o["$"+i[s]]=i[s]}for(var l in e)q(e,l)&&(n&&String(Number(l))===l&&l<e.length||P&&o["$"+l]instanceof Symbol||(E.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if("function"==typeof O)for(var c=0;c<i.length;c++)Z.call(e,i[c])&&r.push("["+t(i[c])+"]: "+t(e[i[c]],e));return r}},798:function(e){"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC3986";e.exports={default:r,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:r}},129:function(e,t,n){"use strict";var r=n(261),a=n(235),o=n(798);e.exports={formats:o,parse:a,stringify:r}},235:function(e,t,n){"use strict";var r=n(769),a=Object.prototype.hasOwnProperty,o=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),c=s?o.slice(0,s.index):o,u=[];if(c){if(!n.plainObjects&&a.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var d=0;n.depth>0&&null!==(s=i.exec(o))&&d<n.depth;){if(d+=1,!n.plainObjects&&a.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+o.slice(s.index)+"]"),function(e,t,n,r){for(var a=r?t:l(t,n),o=e.length-1;o>=0;--o){var i,s=e[o];if("[]"===s&&n.parseArrays)i=[].concat(a);else{i=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(c,10);n.parseArrays||""!==c?!isNaN(u)&&s!==c&&String(u)===c&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(i=[])[u]=a:"__proto__"!==c&&(i[c]=a):i={0:a}}a=i}return a}(u,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return i;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;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,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,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,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 n.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var n,c={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,f=u.split(t.delimiter,d),p=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n<f.length;++n)0===f[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[n]?h="utf-8":"utf8=%26%2310003%3B"===f[n]&&(h="iso-8859-1"),p=n,n=f.length);for(n=0;n<f.length;++n)if(n!==p){var m,C,y=f[n],g=y.indexOf("]="),v=-1===g?y.indexOf("="):g+1;-1===v?(m=t.decoder(y,i.decoder,h,"key"),C=t.strictNullHandling?null:""):(m=t.decoder(y.slice(0,v),i.decoder,h,"key"),C=r.maybeMap(l(y.slice(v+1),t),(function(e){return t.decoder(e,i.decoder,h,"value")}))),C&&t.interpretNumericEntities&&"iso-8859-1"===h&&(C=s(C)),y.indexOf("[]=")>-1&&(C=o(C)?[C]:C),a.call(c,m)?c[m]=r.combine(c[m],C):c[m]=C}return c}(e,n):e,d=n.plainObjects?Object.create(null):{},f=Object.keys(u),p=0;p<f.length;++p){var h=f[p],m=c(h,u[h],n,"string"==typeof e);d=r.merge(d,m,n)}return!0===n.allowSparse?d:r.compact(d)}},261:function(e,t,n){"use strict";var r=n(478),a=n(769),o=n(798),i=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=Array.prototype.push,u=function(e,t){c.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,f=o.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},h={},m=function e(t,n,o,i,s,c,d,f,m,C,y,g,v,b,w,E){for(var x,M=t,L=E,S=0,A=!1;void 0!==(L=L.get(h))&&!A;){var O=L.get(t);if(S+=1,void 0!==O){if(O===S)throw new RangeError("Cyclic object value");A=!0}void 0===L.get(h)&&(S=0)}if("function"==typeof f?M=f(n,M):M instanceof Date?M=y(M):"comma"===o&&l(M)&&(M=a.maybeMap(M,(function(e){return e instanceof Date?y(e):e}))),null===M){if(s)return d&&!b?d(n,p.encoder,w,"key",g):n;M=""}if("string"==typeof(x=M)||"number"==typeof x||"boolean"==typeof x||"symbol"==typeof x||"bigint"==typeof x||a.isBuffer(M))return d?[v(b?n:d(n,p.encoder,w,"key",g))+"="+v(d(M,p.encoder,w,"value",g))]:[v(n)+"="+v(String(M))];var T,P=[];if(void 0===M)return P;if("comma"===o&&l(M))b&&d&&(M=a.maybeMap(M,d)),T=[{value:M.length>0?M.join(",")||null:void 0}];else if(l(f))T=f;else{var k=Object.keys(M);T=m?k.sort(m):k}for(var Z=i&&l(M)&&1===M.length?n+"[]":n,H=0;H<T.length;++H){var R=T[H],j="object"==typeof R&&void 0!==R.value?R.value:M[R];if(!c||null!==j){var F=l(M)?"function"==typeof o?o(Z,R):Z:Z+(C?"."+R:"["+R+"]");E.set(t,S);var N=r();N.set(h,E),u(P,e(j,F,o,i,s,c,"comma"===o&&b&&l(M)?null:d,f,m,C,y,g,v,b,w,N))}}return P};e.exports=function(e,t){var n,a=e,c=function(e){if(!e)return p;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||p.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 n=o.default;if(void 0!==e.format){if(!i.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],a=p.filter;return("function"==typeof e.filter||l(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:void 0===e.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:void 0===e.delimiter?p.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:p.encode,encoder:"function"==typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:a,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}}(t);"function"==typeof c.filter?a=(0,c.filter)("",a):l(c.filter)&&(n=c.filter);var d,f=[];if("object"!=typeof a||null===a)return"";d=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var h=s[d];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var C="comma"===h&&t&&t.commaRoundTrip;n||(n=Object.keys(a)),c.sort&&n.sort(c.sort);for(var y=r(),g=0;g<n.length;++g){var v=n[g];c.skipNulls&&null===a[v]||u(f,m(a[v],v,h,C,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,y))}var b=f.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:""}},769:function(e,t,n){"use strict";var r=n(798),a=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var a=t[r],i=a.obj[a.prop],s=Object.keys(i),l=0;l<s.length;++l){var c=s[l],u=i[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:i,prop:c}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],a=0;a<n.length;++a)void 0!==n[a]&&r.push(n[a]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,a,o){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",c=0;c<s.length;++c){var u=s.charCodeAt(c);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===r.RFC1738&&(40===u||41===u)?l+=s.charAt(c):u<128?l+=i[u]:u<2048?l+=i[192|u>>6]+i[128|63&u]:u<55296||u>=57344?l+=i[224|u>>12]+i[128|u>>6&63]+i[128|63&u]:(c+=1,u=65536+((1023&u)<<10|1023&s.charCodeAt(c)),l+=i[240|u>>18]+i[128|u>>12&63]+i[128|u>>6&63]+i[128|63&u])}return l},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(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!a.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var i=t;return o(t)&&!o(n)&&(i=s(t,r)),o(t)&&o(n)?(n.forEach((function(n,o){if(a.call(t,o)){var i=t[o];i&&"object"==typeof i&&n&&"object"==typeof n?t[o]=e(i,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var i=n[o];return a.call(t,o)?t[o]=e(t[o],i,r):t[o]=i,t}),i)}}},590:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(!o(e[l],i[l]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!o(l.value[1],i.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(e[l]!==i[l])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(i,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!o(e[c[l]],i[c[l]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},478:function(e,t,n){"use strict";var r=n(210),a=n(924),o=n(631),i=r("%TypeError%"),s=r("%WeakMap%",!0),l=r("%Map%",!0),c=a("WeakMap.prototype.get",!0),u=a("WeakMap.prototype.set",!0),d=a("WeakMap.prototype.has",!0),f=a("Map.prototype.get",!0),p=a("Map.prototype.set",!0),h=a("Map.prototype.has",!0),m=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new i("Side channel does not contain "+o(e))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return c(e,r)}else if(l){if(t)return f(t,r)}else if(n)return function(e,t){var n=m(e,t);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return d(e,r)}else if(l){if(t)return h(t,r)}else if(n)return function(e,t){return!!m(e,t)}(n,r);return!1},set:function(r,a){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),u(e,r,a)):l?(t||(t=new l),p(t,r,a)):(n||(n={key:{},next:null}),function(e,t,n){var r=m(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,a))}};return r}},250:function(e,t,n){"use strict";var r=n(196),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,i=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!a(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),a=r[0].inst,u=r[1];return s((function(){a.value=n,a.getSnapshot=t,c(a)&&u({inst:a})}),[e,n,t]),i((function(){return c(a)&&u({inst:a}),e((function(){c(a)&&u({inst:a})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},688:function(e,t,n){"use strict";e.exports=n(250)},196:function(e){"use strict";e.exports=window.React},654:function(){}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=window.wp.element,t=window.wp.plugins,r=n(196),a=n.n(r);const o=r.createContext(void 0),i=r.createContext(!1);function s(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=o),window.ReactQueryClientContext):o)}const l=({context:e}={})=>{const t=r.useContext(s(e,r.useContext(i)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},c=({client:e,children:t,context:n,contextSharing:a=!1})=>{r.useEffect((()=>(e.mount(),()=>{e.unmount()})),[e]);const o=s(n,a);return r.createElement(i.Provider,{value:!n&&a},r.createElement(o.Provider,{value:e},t))};var u=window.wp.components,d=window.wp.editPost;function f(e,t){return function(){return e.apply(t,arguments)}}const{toString:p}=Object.prototype,{getPrototypeOf:h}=Object,m=(C=Object.create(null),e=>{const t=p.call(e);return C[t]||(C[t]=t.slice(8,-1).toLowerCase())});var C;const y=e=>(e=e.toLowerCase(),t=>m(t)===e),g=e=>t=>typeof t===e,{isArray:v}=Array,b=g("undefined"),w=y("ArrayBuffer"),E=g("string"),x=g("function"),M=g("number"),L=e=>null!==e&&"object"==typeof e,S=e=>{if("object"!==m(e))return!1;const t=h(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},A=y("Date"),O=y("File"),T=y("Blob"),P=y("FileList"),k=y("URLSearchParams");function Z(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,a;if("object"!=typeof e&&(e=[e]),v(e))for(r=0,a=e.length;r<a;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;let i;for(r=0;r<o;r++)i=a[r],t.call(null,e[i],i,e)}}function H(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,a=n.length;for(;a-- >0;)if(r=n[a],t===r.toLowerCase())return r;return null}const R="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,j=e=>!b(e)&&e!==R,F=(N="undefined"!=typeof Uint8Array&&h(Uint8Array),e=>N&&e instanceof N);var N;const I=y("HTMLFormElement"),_=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),D=y("RegExp"),V=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Z(n,((n,a)=>{!1!==t(n,a,e)&&(r[a]=n)})),Object.defineProperties(e,r)},U="abcdefghijklmnopqrstuvwxyz",B="0123456789",q={DIGIT:B,ALPHA:U,ALPHA_DIGIT:U+U.toUpperCase()+B};var z={isArray:v,isArrayBuffer:w,isBuffer:function(e){return null!==e&&!b(e)&&null!==e.constructor&&!b(e.constructor)&&x(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||x(e.append)&&("formdata"===(t=m(e))||"object"===t&&x(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&w(e.buffer),t},isString:E,isNumber:M,isBoolean:e=>!0===e||!1===e,isObject:L,isPlainObject:S,isUndefined:b,isDate:A,isFile:O,isBlob:T,isRegExp:D,isFunction:x,isStream:e=>L(e)&&x(e.pipe),isURLSearchParams:k,isTypedArray:F,isFileList:P,forEach:Z,merge:function e(){const{caseless:t}=j(this)&&this||{},n={},r=(r,a)=>{const o=t&&H(n,a)||a;S(n[o])&&S(r)?n[o]=e(n[o],r):S(r)?n[o]=e({},r):v(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Z(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(Z(t,((t,r)=>{n&&x(t)?e[r]=f(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let a,o,i;const s={};if(t=t||{},null==e)return t;do{for(a=Object.getOwnPropertyNames(e),o=a.length;o-- >0;)i=a[o],r&&!r(i,e,t)||s[i]||(t[i]=e[i],s[i]=!0);e=!1!==n&&h(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:m,kindOfTest:y,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(v(e))return e;let t=e.length;if(!M(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:I,hasOwnProperty:_,hasOwnProp:_,reduceDescriptors:V,freezeMethods:e=>{V(e,((t,n)=>{if(x(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];x(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return v(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:H,global:R,isContextDefined:j,ALPHABET:q,generateString:(e=16,t=q.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&x(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(L(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const a=v(e)?[]:{};return Z(e,((e,t)=>{const o=n(e,r+1);!b(o)&&(a[t]=o)})),t[r]=void 0,a}}return e};return n(e,0)}};function G(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a)}z.inherits(G,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:z.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const W=G.prototype,Q={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Q[e]={value:e}})),Object.defineProperties(G,Q),Object.defineProperty(W,"isAxiosError",{value:!0}),G.from=(e,t,n,r,a,o)=>{const i=Object.create(W);return z.toFlatObject(e,i,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),G.call(i,e.message,t,n,r,a),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};var K=G;function $(e){return z.isPlainObject(e)||z.isArray(e)}function J(e){return z.endsWith(e,"[]")?e.slice(0,-2):e}function Y(e,t,n){return e?e.concat(t).map((function(e,t){return e=J(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const X=z.toFlatObject(z,{},null,(function(e){return/^is[A-Z]/.test(e)}));var ee=function(e,t,n){if(!z.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!z.isUndefined(t[e])}))).metaTokens,a=n.visitor||c,o=n.dots,i=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&z.isSpecCompliantForm(t);if(!z.isFunction(a))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(z.isDate(e))return e.toISOString();if(!s&&z.isBlob(e))throw new K("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(e)||z.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,a){let s=e;if(e&&!a&&"object"==typeof e)if(z.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(z.isArray(e)&&function(e){return z.isArray(e)&&!e.some($)}(e)||(z.isFileList(e)||z.endsWith(n,"[]"))&&(s=z.toArray(e)))return n=J(n),s.forEach((function(e,r){!z.isUndefined(e)&&null!==e&&t.append(!0===i?Y([n],r,o):null===i?n:n+"[]",l(e))})),!1;return!!$(e)||(t.append(Y(a,n,o),l(e)),!1)}const u=[],d=Object.assign(X,{defaultVisitor:c,convertValue:l,isVisitable:$});if(!z.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!z.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),z.forEach(n,(function(n,o){!0===(!(z.isUndefined(n)||null===n)&&a.call(t,n,z.isString(o)?o.trim():o,r,d))&&e(n,r?r.concat(o):[o])})),u.pop()}}(e),t};function te(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ne(e,t){this._pairs=[],e&&ee(e,this,t)}const re=ne.prototype;re.append=function(e,t){this._pairs.push([e,t])},re.toString=function(e){const t=e?function(t){return e.call(this,t,te)}:te;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var ae=ne;function oe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ie(e,t,n){if(!t)return e;const r=n&&n.encode||oe,a=n&&n.serialize;let o;if(o=a?a(t,n):z.isURLSearchParams(t)?t.toString():new ae(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}var se=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){z.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},le={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ce={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ae,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},isStandardBrowserEnv:(()=>{let e;return("undefined"==typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&"undefined"!=typeof window&&"undefined"!=typeof document})(),isStandardBrowserWebWorkerEnv:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,protocols:["http","https","file","blob","url","data"]},ue=function(e){function t(e,n,r,a){let o=e[a++];const i=Number.isFinite(+o),s=a>=e.length;return o=!o&&z.isArray(r)?r.length:o,s?(z.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!i):(r[o]&&z.isObject(r[o])||(r[o]=[]),t(e,n,r[o],a)&&z.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const a=n.length;let o;for(r=0;r<a;r++)o=n[r],t[o]=e[o];return t}(r[o])),!i)}if(z.isFormData(e)&&z.isFunction(e.entries)){const n={};return z.forEachEntry(e,((e,r)=>{t(function(e){return z.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const de={"Content-Type":void 0},fe={transitional:le,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,a=z.isObject(e);if(a&&z.isHTMLForm(e)&&(e=new FormData(e)),z.isFormData(e))return r&&r?JSON.stringify(ue(e)):e;if(z.isArrayBuffer(e)||z.isBuffer(e)||z.isStream(e)||z.isFile(e)||z.isBlob(e))return e;if(z.isArrayBufferView(e))return e.buffer;if(z.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ee(e,new ce.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return ce.isNode&&z.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=z.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ee(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||r?(t.setContentType("application/json",!1),function(e,t,n){if(z.isString(e))try{return(0,JSON.parse)(e),z.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||fe.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&z.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw K.from(e,K.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ce.classes.FormData,Blob:ce.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};z.forEach(["delete","get","head"],(function(e){fe.headers[e]={}})),z.forEach(["post","put","patch"],(function(e){fe.headers[e]=z.merge(de)}));var pe=fe;const he=z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),me=Symbol("internals");function Ce(e){return e&&String(e).trim().toLowerCase()}function ye(e){return!1===e||null==e?e:z.isArray(e)?e.map(ye):String(e)}function ge(e,t,n,r,a){return z.isFunction(r)?r.call(this,t,n):(a&&(t=n),z.isString(t)?z.isString(r)?-1!==t.indexOf(r):z.isRegExp(r)?r.test(t):void 0:void 0)}class ve{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function a(e,t,n){const a=Ce(t);if(!a)throw new Error("header name must be a non-empty string");const o=z.findKey(r,a);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=ye(e))}const o=(e,t)=>z.forEach(e,((e,n)=>a(e,n,t)));return z.isPlainObject(e)||e instanceof this.constructor?o(e,t):z.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?o((e=>{const t={};let n,r,a;return e&&e.split("\n").forEach((function(e){a=e.indexOf(":"),n=e.substring(0,a).trim().toLowerCase(),r=e.substring(a+1).trim(),!n||t[n]&&he[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&a(t,e,n),this}get(e,t){if(e=Ce(e)){const n=z.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(z.isFunction(t))return t.call(this,e,n);if(z.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Ce(e)){const n=z.findKey(this,e);return!(!n||void 0===this[n]||t&&!ge(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function a(e){if(e=Ce(e)){const a=z.findKey(n,e);!a||t&&!ge(0,n[a],a,t)||(delete n[a],r=!0)}}return z.isArray(e)?e.forEach(a):a(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const a=t[n];e&&!ge(0,this[a],a,e,!0)||(delete this[a],r=!0)}return r}normalize(e){const t=this,n={};return z.forEach(this,((r,a)=>{const o=z.findKey(n,a);if(o)return t[o]=ye(r),void delete t[a];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(a):String(a).trim();i!==a&&delete t[a],t[i]=ye(r),n[i]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return z.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&z.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[me]=this[me]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Ce(e);t[r]||(function(e,t){const n=z.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,a){return this[r].call(this,t,e,n,a)},configurable:!0})}))}(n,e),t[r]=!0)}return z.isArray(e)?e.forEach(r):r(e),this}}ve.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),z.freezeMethods(ve.prototype),z.freezeMethods(ve);var be=ve;function we(e,t){const n=this||pe,r=t||n,a=be.from(r.headers);let o=r.data;return z.forEach(e,(function(e){o=e.call(n,o,a.normalize(),t?t.status:void 0)})),a.normalize(),o}function Ee(e){return!(!e||!e.__CANCEL__)}function xe(e,t,n){K.call(this,null==e?"canceled":e,K.ERR_CANCELED,t,n),this.name="CanceledError"}z.inherits(xe,K,{__CANCEL__:!0});var Me=xe,Le=ce.isStandardBrowserEnv?{write:function(e,t,n,r,a,o){const i=[];i.push(e+"="+encodeURIComponent(t)),z.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),z.isString(r)&&i.push("path="+r),z.isString(a)&&i.push("domain="+a),!0===o&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function Se(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Ae=ce.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=z.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};function Oe(e,t){let n=0;const r=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a,o=0,i=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[i];a||(a=l),n[o]=s,r[o]=l;let u=i,d=0;for(;u!==o;)d+=n[u++],u%=e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),l-a<t)return;const f=c&&l-c;return f?Math.round(1e3*d/f):void 0}}(50,250);return a=>{const o=a.loaded,i=a.lengthComputable?a.total:void 0,s=o-n,l=r(s);n=o;const c={loaded:o,total:i,progress:i?o/i:void 0,bytes:s,rate:l||void 0,estimated:l&&i&&o<=i?(i-o)/l:void 0,event:a};c[t?"download":"upload"]=!0,e(c)}}var Te="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const a=be.from(e.headers).normalize(),o=e.responseType;let i;function s(){e.cancelToken&&e.cancelToken.unsubscribe(i),e.signal&&e.signal.removeEventListener("abort",i)}z.isFormData(r)&&(ce.isStandardBrowserEnv||ce.isStandardBrowserWebWorkerEnv)&&a.setContentType(!1);let l=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(t+":"+n))}const c=Se(e.baseURL,e.url);function u(){if(!l)return;const r=be.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new K("Request failed with status code "+n.status,[K.ERR_BAD_REQUEST,K.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),s()}),(function(e){n(e),s()}),{data:o&&"text"!==o&&"json"!==o?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:r,config:e,request:l}),l=null}if(l.open(e.method.toUpperCase(),ie(c,e.params,e.paramsSerializer),!0),l.timeout=e.timeout,"onloadend"in l?l.onloadend=u:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(u)},l.onabort=function(){l&&(n(new K("Request aborted",K.ECONNABORTED,e,l)),l=null)},l.onerror=function(){n(new K("Network Error",K.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||le;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new K(t,r.clarifyTimeoutError?K.ETIMEDOUT:K.ECONNABORTED,e,l)),l=null},ce.isStandardBrowserEnv){const t=(e.withCredentials||Ae(c))&&e.xsrfCookieName&&Le.read(e.xsrfCookieName);t&&a.set(e.xsrfHeaderName,t)}void 0===r&&a.setContentType(null),"setRequestHeader"in l&&z.forEach(a.toJSON(),(function(e,t){l.setRequestHeader(t,e)})),z.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),o&&"json"!==o&&(l.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&l.addEventListener("progress",Oe(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",Oe(e.onUploadProgress)),(e.cancelToken||e.signal)&&(i=t=>{l&&(n(!t||t.type?new Me(null,e,l):t),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(i),e.signal&&(e.signal.aborted?i():e.signal.addEventListener("abort",i)));const d=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(c);d&&-1===ce.protocols.indexOf(d)?n(new K("Unsupported protocol "+d+":",K.ERR_BAD_REQUEST,e)):l.send(r||null)}))};const Pe={http:null,xhr:Te};z.forEach(Pe,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));function ke(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Me(null,e)}function Ze(e){return ke(e),e.headers=be.from(e.headers),e.data=we.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),(e=>{e=z.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let a=0;a<t&&(n=e[a],!(r=z.isString(n)?Pe[n.toLowerCase()]:n));a++);if(!r){if(!1===r)throw new K(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT");throw new Error(z.hasOwnProp(Pe,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`)}if(!z.isFunction(r))throw new TypeError("adapter is not a function");return r})(e.adapter||pe.adapter)(e).then((function(t){return ke(e),t.data=we.call(e,e.transformResponse,t),t.headers=be.from(t.headers),t}),(function(t){return Ee(t)||(ke(e),t&&t.response&&(t.response.data=we.call(e,e.transformResponse,t.response),t.response.headers=be.from(t.response.headers))),Promise.reject(t)}))}const He=e=>e instanceof be?e.toJSON():e;function Re(e,t){t=t||{};const n={};function r(e,t,n){return z.isPlainObject(e)&&z.isPlainObject(t)?z.merge.call({caseless:n},e,t):z.isPlainObject(t)?z.merge({},t):z.isArray(t)?t.slice():t}function a(e,t,n){return z.isUndefined(t)?z.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!z.isUndefined(t))return r(void 0,t)}function i(e,t){return z.isUndefined(t)?z.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,a,o){return o in t?r(n,a):o in e?r(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s,headers:(e,t)=>a(He(e),He(t),!0)};return z.forEach(Object.keys(e).concat(Object.keys(t)),(function(r){const o=l[r]||a,i=o(e[r],t[r],r);z.isUndefined(i)&&o!==s||(n[r]=i)})),n}const je={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{je[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Fe={};je.transitional=function(e,t,n){function r(e,t){return"[Axios v1.3.6] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,a,o)=>{if(!1===e)throw new K(r(a," has been removed"+(t?" in "+t:"")),K.ERR_DEPRECATED);return t&&!Fe[a]&&(Fe[a]=!0,console.warn(r(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,a,o)}};var Ne={assertOptions:function(e,t,n){if("object"!=typeof e)throw new K("options must be an object",K.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const o=r[a],i=t[o];if(i){const t=e[o],n=void 0===t||i(t,o,e);if(!0!==n)throw new K("option "+o+" must be "+n,K.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new K("Unknown option "+o,K.ERR_BAD_OPTION)}},validators:je};const Ie=Ne.validators;class _e{constructor(e){this.defaults=e,this.interceptors={request:new se,response:new se}}request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Re(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:a}=t;let o;void 0!==n&&Ne.assertOptions(n,{silentJSONParsing:Ie.transitional(Ie.boolean),forcedJSONParsing:Ie.transitional(Ie.boolean),clarifyTimeoutError:Ie.transitional(Ie.boolean)},!1),null!=r&&(z.isFunction(r)?t.paramsSerializer={serialize:r}:Ne.assertOptions(r,{encode:Ie.function,serialize:Ie.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase(),o=a&&z.merge(a.common,a[t.method]),o&&z.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete a[e]})),t.headers=be.concat(o,a);const i=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,d=0;if(!s){const e=[Ze.bind(this),void 0];for(e.unshift.apply(e,i),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=i.length;let f=t;for(d=0;d<u;){const e=i[d++],t=i[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{c=Ze.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return ie(Se((e=Re(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}z.forEach(["delete","get","head","options"],(function(e){_e.prototype[e]=function(t,n){return this.request(Re(n||{},{method:e,url:t,data:(n||{}).data}))}})),z.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,a){return this.request(Re(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}_e.prototype[e]=t(),_e.prototype[e+"Form"]=t(!0)}));var De=_e;class Ve{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,a){n.reason||(n.reason=new Me(e,r,a),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;const t=new Ve((function(t){e=t}));return{token:t,cancel:e}}}var Ue=Ve;const Be={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Be).forEach((([e,t])=>{Be[t]=e}));var qe=Be;const ze=function e(t){const n=new De(t),r=f(De.prototype.request,n);return z.extend(r,De.prototype,n,{allOwnKeys:!0}),z.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Re(t,n))},r}(pe);ze.Axios=De,ze.CanceledError=Me,ze.CancelToken=Ue,ze.isCancel=Ee,ze.VERSION="1.3.6",ze.toFormData=ee,ze.AxiosError=K,ze.Cancel=ze.CanceledError,ze.all=function(e){return Promise.all(e)},ze.spread=function(e){return function(t){return e.apply(null,t)}},ze.isAxiosError=function(e){return z.isObject(e)&&!0===e.isAxiosError},ze.mergeConfig=Re,ze.AxiosHeaders=be,ze.formToJSON=e=>ue(z.isHTMLForm(e)?new FormData(e):e),ze.HttpStatusCode=qe,ze.default=ze;var Ge,We=ze,Qe=(Ge=function(e,t){return Ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Ge(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}Ge(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),Ke=function(e){function t(n,r,a){var o=e.call(this,r)||this;return Object.setPrototypeOf(o,t.prototype),o.status=n,o.data=a,o}return Qe(t,e),t}(Error),$e=function(){return $e=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},$e.apply(this,arguments)};function Je(e,t,n){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(this,void 0,Promise,(function(){var r,a,o,i;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,We.request($e({baseURL:null==n?void 0:n.baseUrl,url:t,method:e},n))];case 1:return[2,{data:(r=s.sent()).data,status:r.status,statusText:r.statusText}];case 2:if(a=s.sent(),We.isAxiosError(a)&&(null===(o=a.response)||void 0===o?void 0:o.status))throw new Ke(null===(i=a.response)||void 0===i?void 0:i.status,a.message,a.response.data);throw a;case 3:return[2]}}))}))}var Ye=function(e,t){return Je("POST",e,t)},Xe=n(129),et=n.n(Xe),tt=function(){return tt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},tt.apply(this,arguments)},nt=function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))},rt=function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},at=Math.ceil(120),ot=function(e){return nt(void 0,[e],Promise,(function(e){var t,n=e.response,r=e.fetchOptions;return rt(this,(function(e){switch(e.label){case 0:return(t=n.data.result)&&"object"==typeof t&&"jobId"in t?[4,it({jobId:t.jobId,fetchOptions:r})]:[3,2];case 1:return[2,{jobResponse:e.sent(),originalResponse:tt(tt({},n),{data:tt(tt({},n.data),{result:t})})}];case 2:return[2,{jobResponse:null,originalResponse:tt(tt({},n),{data:tt(tt({},n.data),{result:t})})}]}}))}))},it=function(e){return nt(void 0,[e],Promise,(function(e){var t,n,r,a=e.jobId,o=e.retryCount,i=void 0===o?0:o,s=e.fetchOptions;return rt(this,(function(e){switch(e.label){case 0:if(i===at)throw Error("Job ".concat(a," was not completed after ").concat(i," attempts"));return[4,Ye(window.notaTools.ajaxUrl,tt(tt({},s),{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_job",jobId:a}})}))];case 1:return t=e.sent(),n=t.data.result.state,r=t.data.result.result,"completed"===n?[3,3]:[4,new Promise((function(e){return setTimeout(e,1e3)}))];case 2:return e.sent(),[2,it({jobId:a,retryCount:i+1,fetchOptions:s})];case 3:if(null==r)throw Error("Completed job ".concat(a," has empty result"));return[2,tt(tt({},t),{data:tt(tt({},t.data),{result:tt(tt({},t.data.result),{state:n,result:r})})})]}}))}))};function st(e){return e.jobResponse?e.jobResponse.data.result.result:e.originalResponse.data.result}var lt={error:console.error,log:console.log},ct=function(){return ct=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},ct.apply(this,arguments)},ut=function(e){if(window.notaTools.tracking_enabled)return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:ct({nota_action:"save_events"},e)})}).catch(lt.error)};class dt extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}var ft=function({limit:e,interval:t,strict:n}){if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(t))throw new TypeError("Expected `interval` to be a finite number");const r=new Map;let a=0,o=0;const i=[],s=n?function(){const n=Date.now();if(i.length<e)return i.push(n),0;const r=i.shift()+t;return n>=r?(i.push(n),0):(i.push(r),r-n)}:function(){const n=Date.now();return n-a>t?(o=1,a=n,0):(o<e?o++:(a+=t,o=1),a-n)};return e=>{const t=function(...n){if(!t.isEnabled)return(async()=>e.apply(this,n))();let a;return new Promise(((t,o)=>{a=setTimeout((()=>{t(e.apply(this,n)),r.delete(a)}),s()),r.set(a,o)}))};return t.abort=()=>{for(const e of r.keys())clearTimeout(e),r.get(e)(new dt);r.clear(),i.splice(0,i.length)},t.isEnabled=!0,Object.defineProperty(t,"queueSize",{get(){return r.size}}),t}}({limit:1,interval:1e3}),pt=ft((function(e){return e()})),ht=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return pt((function(){return e.apply(void 0,t)}))}},mt=function(e){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function(){var t;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_save_selected_brand_id",nonce:window.notaTools.nonce,nota:{brand_id:e}})})];case 1:return n.sent(),[3,3];case 2:throw t=n.sent(),lt.error(t),t;case 3:return[2]}}))}))},Ct=function(e){var t=e.toneId,n=e.organizationBrandId,r=e.text,a=e.task,o=e.queue,i=void 0!==o&&o,s=e.promptCategory;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"adjust_text_tone",toneId:t,organizationBrandId:n,text:r,task:a,queue:i,promptCategory:s}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))},yt=function(e){var t=e.brandId;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_brand_tones",brandId:t}})}).then((function(e){return e.data.result.items}))},gt=function(){return gt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},gt.apply(this,arguments)},vt={getCurrentUser:function(){return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_current_user"}})}).then((function(e){return e.data.result}))},getHashtags:ht((function(e){var t=e.postHTML,n=e.regenerate;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_hashtags",postHTML:t,regenerate:n}})}).then((function(e){return e.data.result}))})),getHeadlines:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate,a=e.brandId,o=e.queue,i=void 0!==o&&o;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_headlines",postHTML:t,count:n,regenerate:r,brandId:a,queue:i}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getSlugs:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_slugs",postHTML:t,count:n,regenerate:r}})}).then((function(e){return e.data.result}))})),getKeywordSynonyms:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate,a=e.seoRanking,o=void 0!==a&&a,i=e.queue,s=void 0!==i&&i;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_keywords",postHTML:t,count:n,regenerate:r,seoRanking:o,queue:s}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getMetaDescriptions:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate,a=e.brandId,o=e.queue,i=void 0!==o&&o;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_meta_descriptions",postHTML:t,count:n,regenerate:r,brandId:a,queue:i}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getMetaTitles:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate,a=e.brandId,o=e.queue,i=void 0!==o&&o;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_meta_titles",postHTML:t,count:n,regenerate:r,brandId:a,queue:i}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getQuotes:ht((function(e){var t=e.postHTML,n=e.regenerate,r=e.exclude,a=e.count;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_quotes",postHTML:t,regenerate:n,exclude:r,count:a}})}).then((function(e){return e.data.result}))})),getSMS:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_sms_messages",postHTML:t,count:n,regenerate:r}})}).then((function(e){return e.data.result}))})),getSocialPosts:ht((function(e){var t=e.postHTML,n=e.platform,r=e.regenerate,a=e.queue,o=void 0!==a&&a,i=e.brandId;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_social_posts",postHTML:t,platform:n,count:1,regenerate:r,queue:o,brandId:i}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getSummary:ht((function(e){var t=e.postHTML,n=e.lengthOption,r=e.regenerate,a=e.brandId,o=e.queue,i=void 0!==o&&o;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_summary",postHTML:t,length_option:n,regenerate:r,brandId:a,queue:i}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getGradeScores:ht((function(e){var t=e.content,n=e.headline,r=e.metaDescription,a=e.metaTitle,o=e.slug,i=e.keywords,s=e.queue,l=void 0!==s&&s;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_grade_scores",postHTML:t,headline:n,meta_description:r,meta_title:a,slug:o,keywords:i,queue:l}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e).scores}))})),getEntities:ht((function(e){var t=e.postHTML,n=e.regenerate,r=e.queue,a=void 0!==r&&r;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_entities",postHTML:t,regenerate:n,queue:a}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getUrlsScore:ht((function(e){var t=e.urlsList;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_urls_score",urlsList:t}})}).then((function(e){return e.data.result.url}))})),getPublicConfig:function(e){var t=e.signal;return Ye(window.notaTools.ajaxUrl,{signal:t,data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_public_config"}})}).then((function(e){return e.data.result}))},saveEvents:ut,savePostMetadata:function(e){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,[e],void 0,(function(e){var t,n=e.postId,r=e.metadata;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_save_metadata",nonce:window.notaTools.nonce,nota:{post_id:n,metadata:r}})})];case 1:return e.sent(),[3,3];case 2:throw t=e.sent(),lt.error(t),t;case 3:return[2]}}))}))},getUserBrands:function(){return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_user_brands"}})}).then((function(e){return e.data.result}))},saveSelectedBrandId:mt,adjustTextTone:Ct,getTonesForBrand:yt,getRelatedKeywords:function(e,t){var n=e.postHTML,r=e.keyword,a=e.queue,o=void 0!==a&&a;return Ye(window.notaTools.ajaxUrl,gt({data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_related_keywords",postHTML:n,keyword:r,queue:o}})},t)).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))}},bt=function(e){var t;return!!e.user&&(!1===e.user.useOrganizationAuth||(null===(t=e.user)||void 0===t?void 0:t.organizations.some((function(t){var n,r,a,o,i=null===(a=null===(r=null===(n=t.entitlements)||void 0===n?void 0:n.applicationPermissions)||void 0===r?void 0:r.wordpressPlugin)||void 0===a?void 0:a.tools;return i&&!!(null===(o=i[e.tool])||void 0===o?void 0:o.access)||!1}))))};function wt(){var t=this,n=(0,e.useState)([]),r=n[0],a=n[1],o=(0,e.useState)(!1),i=o[0],s=o[1],l=(0,e.useState)(!1),c=l[0],u=l[1];return(0,e.useEffect)((function(){!function(e,t,n,r){new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(t,void 0,void 0,(function(){var e,t;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(n){switch(n.label){case 0:s(!0),u(!1),n.label=1;case 1:return n.trys.push([1,3,4,5]),[4,vt.getCurrentUser()];case 2:return e=n.sent(),t=[bt({user:e,tool:"grade"})?"GRADE":null,bt({user:e,tool:"sum"})?"SUM":null,bt({user:e,tool:"social"})?"SOCIAL":null].filter((function(e){return null!==e})),a(t),[3,5];case 3:return n.sent(),u(!0),[3,5];case 4:return s(!1),[7];case 5:return[2]}}))}))}),[]),{authorizedTools:r,isLoading:i,isError:c}}const Et=(0,r.createContext)({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var xt=Object.defineProperty,Mt=Object.getOwnPropertySymbols,Lt=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,At=(e,t,n)=>t in e?xt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ot=(e,t)=>{for(var n in t||(t={}))Lt.call(t,n)&&At(e,n,t[n]);if(Mt)for(var n of Mt(t))St.call(t,n)&&At(e,n,t[n]);return e},Tt=(e,t)=>{var n={};for(var r in e)Lt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Mt)for(var r of Mt(e))t.indexOf(r)<0&&St.call(e,r)&&(n[r]=e[r]);return n};const Pt=(0,r.forwardRef)(((e,t)=>{const n=e,{alt:o,color:i,size:s,weight:l,mirrored:c,children:u,weights:d}=n,f=Tt(n,["alt","color","size","weight","mirrored","children","weights"]),p=(0,r.useContext)(Et),{color:h="currentColor",size:m,weight:C="regular",mirrored:y=!1}=p,g=Tt(p,["color","size","weight","mirrored"]);return a().createElement("svg",Ot(Ot({ref:t,xmlns:"http://www.w3.org/2000/svg",width:null!=s?s:m,height:null!=s?s:m,fill:null!=i?i:h,viewBox:"0 0 256 256",transform:c||y?"scale(-1, 1)":void 0},g),f),!!o&&a().createElement("title",null,o),u,d.get(null!=l?l:C))}));Pt.displayName="IconBase";var kt=Object.defineProperty,Zt=Object.defineProperties,Ht=Object.getOwnPropertyDescriptors,Rt=Object.getOwnPropertySymbols,jt=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,Nt=(e,t,n)=>t in e?kt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const It=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),a().createElement("path",{d:"M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),_t=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>Zt(e,Ht(t)))(((e,t)=>{for(var n in t||(t={}))jt.call(t,n)&&Nt(e,n,t[n]);if(Rt)for(var n of Rt(t))Ft.call(t,n)&&Nt(e,n,t[n]);return e})({ref:t},e),{weights:It}))));_t.displayName="Info";var Dt=Object.defineProperty,Vt=Object.defineProperties,Ut=Object.getOwnPropertyDescriptors,Bt=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable,Gt=(e,t,n)=>t in e?Dt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Wt=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),a().createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),Qt=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>Vt(e,Ut(t)))(((e,t)=>{for(var n in t||(t={}))qt.call(t,n)&&Gt(e,n,t[n]);if(Bt)for(var n of Bt(t))zt.call(t,n)&&Gt(e,n,t[n]);return e})({ref:t},e),{weights:Wt}))));Qt.displayName="CheckCircle";var Kt=Object.defineProperty,$t=Object.defineProperties,Jt=Object.getOwnPropertyDescriptors,Yt=Object.getOwnPropertySymbols,Xt=Object.prototype.hasOwnProperty,en=Object.prototype.propertyIsEnumerable,tn=(e,t,n)=>t in e?Kt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const nn=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm-12-80V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,172Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-8,56a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm-6-82V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,172Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm-4-84V80a4,4,0,0,1,8,0v56a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,172Z"}))]]),rn=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>$t(e,Jt(t)))(((e,t)=>{for(var n in t||(t={}))Xt.call(t,n)&&tn(e,n,t[n]);if(Yt)for(var n of Yt(t))en.call(t,n)&&tn(e,n,t[n]);return e})({ref:t},e),{weights:nn}))));rn.displayName="WarningCircle";var an=Object.defineProperty,on=Object.defineProperties,sn=Object.getOwnPropertyDescriptors,ln=Object.getOwnPropertySymbols,cn=Object.prototype.hasOwnProperty,un=Object.prototype.propertyIsEnumerable,dn=(e,t,n)=>t in e?an(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const fn=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M180,128a12,12,0,0,1-12,12H88a12,12,0,0,1,0-24h80A12,12,0,0,1,180,128Zm56,0A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),a().createElement("path",{d:"M176,128a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,128Zm56,0A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm40,112H88a8,8,0,0,1,0-16h80a8,8,0,0,1,0,16Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M174,128a6,6,0,0,1-6,6H88a6,6,0,0,1,0-12h80A6,6,0,0,1,174,128Zm56,0A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176,128a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,128Zm56,0A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M172,128a4,4,0,0,1-4,4H88a4,4,0,0,1,0-8h80A4,4,0,0,1,172,128Zm56,0A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),pn=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>on(e,sn(t)))(((e,t)=>{for(var n in t||(t={}))cn.call(t,n)&&dn(e,n,t[n]);if(ln)for(var n of ln(t))un.call(t,n)&&dn(e,n,t[n]);return e})({ref:t},e),{weights:fn}))));function hn(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=hn(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}pn.displayName="MinusCircle";var mn=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=hn(e))&&(r&&(r+=" "),r+=t);return r};function Cn(t){var n=t.className,r=t.status,a=t.feedback,o=t.CustomIcon,i=t.customFeedback,s=t.misspelledKeywords,l=t.tooltip,c=null!=o?o:wn[r],d=null==s?void 0:s.filter((function(e){return"nbsp"!==e})).join(", ");return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:mn("ntw-flex",n)},(0,e.createElement)(c,{size:20,className:mn("ntw-mr-2 ntw-shrink-0",bn[r])}),(0,e.createElement)("div",{className:"ntw-flex ntw-grow ntw-flex-col ntw-text-sm ntw-text-typography-medium"},null!=i?i:a,d&&(0,e.createElement)("div",{className:"ntw-italic"},"".concat(d))),l&&(0,e.createElement)(u.Tooltip,{text:(0,e.createElement)("div",{style:{maxWidth:"200px",whiteSpace:"normal"}},l),position:"top"},(0,e.createElement)(_t,{size:16,className:"ntw-ml-2 ntw-shrink-0 ntw-cursor-pointer ntw-text-typography-medium"}))))}var yn,gn,vn,bn={failed:"ntw-text-grade-error",success:"ntw-text-grade-success",warning:"ntw-text-grade-warning"},wn={success:Qt,failed:rn,warning:pn};!function(e){e.Unsatisfactory="Unsatisfactory",e.NeedsImprovement="Needs Improvement",e.Good="Good",e.Excellent="Excellent"}(vn||(vn={}));var En=((yn={})[vn.Unsatisfactory]="#C5500E",yn[vn.NeedsImprovement]="#B99414",yn[vn.Good]="#59C300",yn[vn.Excellent]="#149B00",yn),xn=function(e){if(e<0||e>100)throw new Error("Score must be between 0 and 100");return e<=25?vn.Unsatisfactory:e<=50?vn.NeedsImprovement:e<=75?vn.Good:vn.Excellent},Mn=((gn={})[vn.Unsatisfactory]="See below for some recommendations for how you could improve this work to meet SEO best practices.",gn[vn.NeedsImprovement]="See below for some recommendations for how you could improve this work to meet SEO best practices.",gn[vn.Good]="Good job! You could publish but some minor improvements could make it excellent!",gn[vn.Excellent]="Excellent work! Ready to publish.  The content is outstanding and meets the highest standards.",gn),Ln=function(e){return e.match(/http[s]?:\/\/(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*(),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+/g)||[]},Sn=function(e){return e.replace(/\\'/g,"'")},An=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))};function On(t){var n=t.score,r=t.className;if(void 0===n)return null;var a=kn(n),o=a.fullStages,i=a.isPartialStage,s=xn(n),l=En[s];return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:mn("ntw-flex ntw-gap-1",r)},An([],Array(Pn),!0).map((function(t,n){return(0,e.createElement)("div",{key:n,className:"ntw-flex ntw-w-full"},An([],Array(2),!0).map((function(__,t){var r=2*n+t,a=Tn;return(r<o||r===o&&i)&&(a=l),(0,e.createElement)("div",{key:"".concat(n,"-").concat(t),className:mn("ntw-h-[8px] ntw-w-full",0===t?"ntw-rounded-l-md":"ntw-rounded-r-md"),style:{backgroundColor:a}})})))}))),(0,e.createElement)("div",{className:"ntw-mt-1 ntw-w-full ntw-text-right ntw-text-xs ntw-font-medium ntw-text-typography-disabled"},s))}var Tn="#E5E5E5",Pn=4,kn=function(e){return{fullStages:Math.floor(e/12.5),isPartialStage:e%12.5>0}},Zn=window.wp.data;function Hn(t){var n=t.listInvalidUrls,r=(0,Zn.useSelect)((function(e){return e("core/block-editor").getBlocks()}),[]);return n&&0!==n.length?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"ntw-text-sm ntw-font-semibold ntw-text-typography-medium"},"Check these URLs:"),null==n?void 0:n.map((function(t,n){return(0,e.createElement)(u.Tooltip,{placement:"top",text:"".concat(t),className:"ntw-cursor-pointer",key:n},(0,e.createElement)("button",{className:"ntw-mt-2 ntw-w-full ntw-truncate ntw-text-left ntw-text-xs ntw-text-typography-public-primary",onClick:function(){return function(e){var t="";if(r.forEach((function(n){var r=n.attributes.content;r&&r.includes(e)&&(t=n.clientId)})),t){var n=document.querySelector('[data-block="'.concat(t,'"]'));n&&n.scrollIntoView({behavior:"smooth",block:"center"})}}(t)}},"- ",t))}))):null}var Rn=function(t){var n=t.keywords,r=t.maxKeywordsToShow,a=void 0===r?5:r,o=(0,e.useState)(!1),i=o[0],s=o[1];return(0,e.createElement)("div",{className:"ntw-mt-4"},(0,e.createElement)("div",{className:"ntw-mb-[12px] ntw-text-sm ntw-font-normal ntw-text-typography-dark"},"Keywords in use:"),(0,e.createElement)("div",{className:"ntw-relative ntw-flex ntw-flex-wrap ntw-gap-[8px] ntw-space-y-[2px] ntw-px-1 ntw-py-1",style:{maskImage:!i&&n.length>a?"linear-gradient(to bottom, black 50%, transparent 100%)":"unset"}},n.slice(0,i?n.length:a).map((function(t,n){return(0,e.createElement)("div",{key:n,className:mn("ntw-w-fit ntw-rounded-[80px] ntw-bg-status-supernova-800 ntw-px-[12px] ntw-py-[8px] ntw-text-xs ntw-text-[#030B1B]",{"ntw-bg-opacity-50":!t.inUse},{"ntw-mr-1 ntw-ring-2 ntw-ring-status-supernova-800 ntw-ring-offset-1":t.inUse})},t.text)}))),n.length>a&&(0,e.createElement)("button",{onClick:function(){return s(!i)},className:"ntw-mt-2 ntw-text-sm ntw-font-bold ntw-text-typography-public-primary"},i?"See Less":"See More"))};function jn(t){var n,r=t.title,a=t.gradeData,o=a?Object.entries(a).reduce((function(e,t){var n,r=t[0],a=t[1];return"score"!==r&&"listInvalidUrls"!==r&&"object"==typeof a&&(null===(n=a.usedKeywords)||void 0===n?void 0:n.length)?a.usedKeywords.map((function(e){return{text:Sn(e),inUse:!0}})):e}),[]):[];return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"ntw-text-sm ntw-font-semibold ntw-capitalize ntw-text-typography-medium"},r,":"),a&&Object.entries(a).map((function(t,n){var r=t[0],a=t[1];return"score"!==r&&"listInvalidUrls"!==r&&"object"==typeof a&&a.feedback&&"usedKeywords"!==r?(0,e.createElement)(e.Fragment,{key:n},(0,e.createElement)(Cn,{misspelledKeywords:null==a?void 0:a.misspelledWords,status:a.meetsCriteria?"success":"failed",feedback:a.feedback,className:"ntw-mt-2",tooltip:a.helpText})):null})),o.length>0&&(0,e.createElement)(Rn,{maxKeywordsToShow:3,keywords:o}),(0,e.createElement)(On,{score:null==a?void 0:a.score,className:"ntw-mt-4"}),(null===(n=null==a?void 0:a.length)||void 0===n?void 0:n.listInvalidUrls)&&(0,e.createElement)(Hn,{listInvalidUrls:a.length.listInvalidUrls}))}function Fn(t){var n=t.className,r=void 0===n?"ntw-my-4":n;return(0,e.createElement)("div",{className:mn("ntw-h-px ntw-bg-elements-default",r)})}var Nn=Object.defineProperty,In=Object.defineProperties,Dn=Object.getOwnPropertyDescriptors,Vn=Object.getOwnPropertySymbols,Un=Object.prototype.hasOwnProperty,Bn=Object.prototype.propertyIsEnumerable,qn=(e,t,n)=>t in e?Nn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const zn=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M180,232a12,12,0,0,1-12,12H88a12,12,0,0,1,0-24h80A12,12,0,0,1,180,232Zm40-128a92.47,92.47,0,0,1-37,73.73,7.81,7.81,0,0,0-3,6.27,20,20,0,0,1-20,20H96a20,20,0,0,1-20-20v-.23a7.76,7.76,0,0,0-3.25-6.2,91.36,91.36,0,0,1-36.75-73C35.73,54.69,76,13.2,125.79,12A92,92,0,0,1,220,104Zm-24,0a68,68,0,0,0-69.65-68C89.56,36.89,59.8,67.56,60,104.39a67.52,67.52,0,0,0,27.18,54h0A32.14,32.14,0,0,1,99.77,180H116V149L87.51,120.49a12,12,0,0,1,17-17L128,127l23.51-23.51a12,12,0,0,1,17,17L140,149v31h16.25a31.89,31.89,0,0,1,12.41-21.49A67.45,67.45,0,0,0,196,104Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M208,104a79.86,79.86,0,0,1-30.59,62.92A24.29,24.29,0,0,0,168,186v6a8,8,0,0,1-8,8H96a8,8,0,0,1-8-8v-6a24.11,24.11,0,0,0-9.3-19A79.87,79.87,0,0,1,48,104.45C47.76,61.09,82.72,25,126.07,24A80,80,0,0,1,208,104Z",opacity:"0.2"}),a().createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.5C39.74,56.83,78.26,17.15,125.88,16A88,88,0,0,1,216,104Zm-16,0a72,72,0,0,0-73.74-72c-39,.92-70.47,33.39-70.26,72.39a71.64,71.64,0,0,0,27.64,56.3h0A32,32,0,0,1,96,186v6h24V147.31L90.34,117.66a8,8,0,0,1,11.32-11.32L128,132.69l26.34-26.35a8,8,0,0,1,11.32,11.32L136,147.31V192h24v-6a32.12,32.12,0,0,1,12.47-25.35A71.65,71.65,0,0,0,200,104Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.49C39.74,56.83,78.26,17.14,125.88,16A88,88,0,0,1,216,104Zm-50.34,2.34a8,8,0,0,0-11.32,0L128,132.69l-26.34-26.35a8,8,0,0,0-11.32,11.32L120,147.31V184a8,8,0,0,0,16,0V147.31l29.66-29.65A8,8,0,0,0,165.66,106.34Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M174,232a6,6,0,0,1-6,6H88a6,6,0,0,1,0-12h80A6,6,0,0,1,174,232Zm40-128a85.56,85.56,0,0,1-32.88,67.64A18.23,18.23,0,0,0,174,186v6a14,14,0,0,1-14,14H96a14,14,0,0,1-14-14v-6a18,18,0,0,0-7-14.23h0a85.59,85.59,0,0,1-33-67.25C41.74,57.91,79.39,19.12,125.93,18A86,86,0,0,1,214,104Zm-12,0a74,74,0,0,0-75.79-74C86.17,31,53.78,64.34,54,104.42a73.67,73.67,0,0,0,28.4,57.87A29.92,29.92,0,0,1,94,186v6a2,2,0,0,0,2,2h26V146.49L91.76,116.24a6,6,0,0,1,8.48-8.48L128,135.52l27.76-27.76a6,6,0,0,1,8.48,8.48L134,146.49V194h26a2,2,0,0,0,2-2v-6a30.18,30.18,0,0,1,11.7-23.78A73.59,73.59,0,0,0,202,104Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.5C39.74,56.83,78.26,17.15,125.88,16A88,88,0,0,1,216,104Zm-16,0a72,72,0,0,0-73.74-72c-39,.92-70.47,33.39-70.26,72.39a71.64,71.64,0,0,0,27.64,56.3h0A32,32,0,0,1,96,186v6h24V147.31L90.34,117.66a8,8,0,0,1,11.32-11.32L128,132.69l26.34-26.35a8,8,0,0,1,11.32,11.32L136,147.31V192h24v-6a32.12,32.12,0,0,1,12.47-25.35A71.65,71.65,0,0,0,200,104Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M172,232a4,4,0,0,1-4,4H88a4,4,0,0,1,0-8h80A4,4,0,0,1,172,232Zm40-128a83.59,83.59,0,0,1-32.11,66.06A20.2,20.2,0,0,0,172,186v6a12,12,0,0,1-12,12H96a12,12,0,0,1-12-12v-6a20,20,0,0,0-7.76-15.81A83.58,83.58,0,0,1,44,104.47C43.75,59,80.52,21.09,126,20a84,84,0,0,1,86,84Zm-8,0a76,76,0,0,0-77.84-76C85,29,51.77,63.27,52,104.43a75.62,75.62,0,0,0,29.17,59.43A28,28,0,0,1,92,186v6a4,4,0,0,0,4,4h28V145.66L93.17,114.83a4,4,0,0,1,5.66-5.66L128,138.34l29.17-29.17a4,4,0,1,1,5.66,5.66L132,145.66V196h28a4,4,0,0,0,4-4v-6a28.14,28.14,0,0,1,10.94-22.2A75.62,75.62,0,0,0,204,104Z"}))]]),Gn=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>In(e,Dn(t)))(((e,t)=>{for(var n in t||(t={}))Un.call(t,n)&&qn(e,n,t[n]);if(Vn)for(var n of Vn(t))Bn.call(t,n)&&qn(e,n,t[n]);return e})({ref:t},e),{weights:zn}))));Gn.displayName="LightbulbFilament";var Wn={primary:["ntw-bg-button-default ntw-text-typography-light","hover:ntw-bg-button-hover"],secondary:["ntw-ring-button-default ntw-text-button-default ntw-ring-1","hover:ntw-ring-button-hover hover:ntw-text-button-hover"]},Qn="ntw-cursor-not-allowed ntw-opacity-50";function Kn(t){var n=t.variant,r=void 0===n?"primary":n,a=t.onClick,o=t.children,i=t.size,s=void 0===i?500:i,l=t.className,c=t.disabled;return(0,e.createElement)("button",{disabled:c,type:"button",onClick:a,className:mn("ntw-appearance-none ntw-rounded ntw-text-base ntw-font-medium ntw-leading-4",Wn[r],{"ntw-p-16px":500===s,"ntw-px-16px ntw-py-8px":300===s},c&&Qn,l)},o)}function $n(t){var n=t.className,r=t.onClick;return(0,e.createElement)(Kn,{className:mn("ntw-w-full",n),onClick:function(){return r()}},(0,e.createElement)("div",{className:"ntw-flex ntw-justify-center ntw-gap-2"},"Highlight suggestion",(0,e.createElement)(Gn,{size:16})))}function Jn(t){var n=t.className,r=t.strokeColor,a=void 0===r?"currentColor":r;return(0,e.createElement)("svg",{className:mn("ntw-h-5 ntw-w-5 ntw-animate-spin ntw-text-gravity-600",n),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},(0,e.createElement)("circle",{className:"ntw-opacity-25",cx:"12",cy:"12",r:"10",stroke:a,strokeWidth:"4"}),(0,e.createElement)("path",{className:"ntw-opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"}))}function Yn(t){var n,r=t.status,a=t.children,o=t.title,i=t.initialOpen,s=void 0!==i&&i;return t.loading?n=function(){return(0,e.createElement)(Jn,{className:"ntw-mr-2",strokeColor:"#99D1D2"})}:r&&(n=or[r]),(0,e.createElement)(u.PanelBody,{className:"[&>h2>button>svg]:ntw-text-[#FFFFFF] [&>h2>button]:ntw-flex-row-reverse [&>h2>button]:ntw-justify-end",icon:n&&(0,e.createElement)(n,{size:20,style:{marginLeft:"0",marginRight:"0.5rem"}}),title:o,initialOpen:s},a)}var Xn,er,tr,nr,rr,ar,or={success:function(t){var n=t.className,r=t.style,a=t.size,o=t.color,i=void 0===o?"#09A337":o;return(0,e.createElement)("svg",{width:a,height:a,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,style:r},(0,e.createElement)("path",{d:"M3.40625 12.5938C2.83125 12.0188 3.2125 10.8125 2.91875 10.1062C2.625 9.4 1.5 8.78125 1.5 8C1.5 7.21875 2.6125 6.625 2.91875 5.89375C3.225 5.1625 2.83125 3.98125 3.40625 3.40625C3.98125 2.83125 5.1875 3.2125 5.89375 2.91875C6.6 2.625 7.21875 1.5 8 1.5C8.78125 1.5 9.375 2.6125 10.1062 2.91875C10.8375 3.225 12.0188 2.83125 12.5938 3.40625C13.1687 3.98125 12.7875 5.1875 13.0813 5.89375C13.375 6.6 14.5 7.21875 14.5 8C14.5 8.78125 13.3875 9.375 13.0813 10.1062C12.775 10.8375 13.1687 12.0188 12.5938 12.5938C12.0188 13.1687 10.8125 12.7875 10.1062 13.0813C9.4 13.375 8.78125 14.5 8 14.5C7.21875 14.5 6.625 13.3875 5.89375 13.0813C5.1625 12.775 3.98125 13.1687 3.40625 12.5938Z",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.createElement)("path",{d:"M10.75 6.5L7.08125 10L5.25 8.25",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}))},failed:function(t){var n=t.className,r=t.style,a=t.size,o=t.color,i=void 0===o?"#D83E35":o;return(0,e.createElement)("svg",{width:a,height:a,className:n,style:r,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M3.40625 12.5938C2.83125 12.0188 3.2125 10.8125 2.91875 10.1062C2.625 9.4 1.5 8.78125 1.5 8C1.5 7.21875 2.6125 6.625 2.91875 5.89375C3.225 5.1625 2.83125 3.98125 3.40625 3.40625C3.98125 2.83125 5.1875 3.2125 5.89375 2.91875C6.6 2.625 7.21875 1.5 8 1.5C8.78125 1.5 9.375 2.6125 10.1062 2.91875C10.8375 3.225 12.0188 2.83125 12.5938 3.40625C13.1687 3.98125 12.7875 5.1875 13.0813 5.89375C13.375 6.6 14.5 7.21875 14.5 8C14.5 8.78125 13.3875 9.375 13.0813 10.1062C12.775 10.8375 13.1687 12.0188 12.5938 12.5938C12.0188 13.1687 10.8125 12.7875 10.1062 13.0813C9.4 13.375 8.78125 14.5 8 14.5C7.21875 14.5 6.625 13.3875 5.89375 13.0813C5.1625 12.775 3.98125 13.1687 3.40625 12.5938Z",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.createElement)("path",{d:"M8 5V8.5",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.createElement)("path",{d:"M8 11.5C8.41421 11.5 8.75 11.1642 8.75 10.75C8.75 10.3358 8.41421 10 8 10C7.58579 10 7.25 10.3358 7.25 10.75C7.25 11.1642 7.58579 11.5 8 11.5Z",fill:i}))},warning:function(t){var n=t.className,r=t.style,a=t.size,o=t.color,i=void 0===o?"#A1BE03":o;return(0,e.createElement)("svg",{width:a,height:a,className:n,style:r,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M3.40625 12.5938C2.83125 12.0188 3.2125 10.8125 2.91875 10.1062C2.625 9.4 1.5 8.78125 1.5 8C1.5 7.21875 2.6125 6.625 2.91875 5.89375C3.225 5.1625 2.83125 3.98125 3.40625 3.40625C3.98125 2.83125 5.1875 3.2125 5.89375 2.91875C6.6 2.625 7.21875 1.5 8 1.5C8.78125 1.5 9.375 2.6125 10.1062 2.91875C10.8375 3.225 12.0188 2.83125 12.5938 3.40625C13.1687 3.98125 12.7875 5.1875 13.0813 5.89375C13.375 6.6 14.5 7.21875 14.5 8C14.5 8.78125 13.3875 9.375 13.0813 10.1062C12.775 10.8375 13.1687 12.0188 12.5938 12.5938C12.0188 13.1687 10.8125 12.7875 10.1062 13.0813C9.4 13.375 8.78125 14.5 8 14.5C7.21875 14.5 6.625 13.3875 5.89375 13.0813C5.1625 12.775 3.98125 13.1687 3.40625 12.5938Z",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.createElement)("path",{d:"M5.5 8H10.5",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}))}};!function(e){e.Text="text",e.File="file",e.Url="url"}(er||(er={})),function(e){e.length="length",e.keywords="keywords",e.readability="readability",e.spelling="spelling"}(tr||(tr={})),function(e){e.headline="headline",e.metaDescription="metaDescription",e.metaTitle="metaTitle",e.slug="slug",e.contentReadability="contentReadability",e.url="url"}(nr||(nr={})),function(e){e.Headline="headline",e.MetaTitle="meta_title",e.Slug="slug",e.MetaDescription="meta_description",e.Excerpt="excerpt",e.Tags="tags",e.Social="social"}(rr||(rr={})),function(e){e.Headlines="Headlines",e.Excerpt="Excerpt",e.Tags="Tags",e.MetaTitle="Page Title",e.MetaDescription="Meta Description",e.Slugs="Slugs",e.Keywords="Keywords",e.Summary="Summary",e.Facebook="Facebook",e.Instagram="Instagram",e.Twitter="X",e.LinkedIn="LinkedIn",e.TikTok="TikTok",e.Threads="Threads",e.SMS="SMS",e.Quotes="Quotes"}(ar||(ar={}));var ir,sr,lr=((Xn={})[ar.Headlines]=rr.Headline,Xn[ar.Excerpt]=rr.Excerpt,Xn[ar.Tags]=rr.Tags,Xn[ar.MetaTitle]=rr.MetaTitle,Xn[ar.MetaDescription]=rr.MetaDescription,Xn[ar.Slugs]=rr.Slug,Xn),cr=function(e,t){if(e){for(var n=0,r=0,a=0,o=t;a<o.length;a++){var i=e[o[a]];null!=i&&"object"==typeof i&&"score"in i&&(n+=i.score,r++)}if(0!==r){var s=n/r;return s<50?"failed":s<80?"warning":"success"}}},ur=function(e){var t=0,n=0;if(!e)return[n,t];for(var r in e)if(e.hasOwnProperty(r)){var a=e[r];if(a&&"object"==typeof a)for(var o in a)if(a.hasOwnProperty(o)){var i=a[o];"object"==typeof i&&null!==i&&"meetsCriteria"in i&&(t+=1,i.meetsCriteria&&(n+=1))}}return[n,t]},dr=function(e,t){var n=document.querySelector(e);n&&("selected"===n.getAttribute("data-headlessui-state")||n.click(),setTimeout((function(){var e=document.getElementById(t);e&&(e.scrollIntoView({behavior:"smooth"}),e.classList.add("nota-highlight-bg"),setTimeout((function(){e.classList.remove("nota-highlight-bg")}),3e3))})))},fr=((ir={})[nr.url]=((sr={})[tr.length]=[{range:function(e,t){return 0===e},score:100,feedback:"All URL(s) mentioned in the content are valid.",meetsCriteria:!0},{range:function(e,t){return e===t},score:0,feedback:"All URL(s) in the content are invalid.",meetsCriteria:!1},{range:function(e,t){return 1===e},score:75,feedback:"1 Invalid URL present in the content.",meetsCriteria:!1},{range:function(e,t){return e/t>.5},score:25,feedback:"Many Invalid URL(s) present in the content.",meetsCriteria:!1},{range:function(e,__){return!0},score:50,feedback:"Invalid URL(s) present in the content.",meetsCriteria:!1}],sr),ir),pr="nota-analyze-btn",hr=function(e){return e.trim().split(/\s+/).length||0};function mr(){return mr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mr.apply(this,arguments)}var Cr=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};function yr(t){var n=t.className,r=Cr(t,["className"]);return(0,e.createElement)("div",mr({className:mn("ntw-animate-pulse ntw-rounded-md ntw-bg-gravity-200",n)},r))}function gr(t){var n=t.className;return(0,e.createElement)("div",{className:mn("ntw-flex ntw-items-center ntw-space-x-4",n)},(0,e.createElement)(yr,{className:"ntw-h-12 ntw-w-12 ntw-shrink-0 ntw-rounded-full"}),(0,e.createElement)("div",{className:"ntw-space-y-2"},(0,e.createElement)(yr,{className:"ntw-h-4 ntw-w-[180px]"}),(0,e.createElement)(yr,{className:"ntw-h-4 ntw-w-[180px]"})))}var vr=function(){var e=(0,Zn.useSelect)((function(e){return e("nota/data").getKeywordSynonyms()}),[]),t=(0,Zn.useSelect)((function(e){return e("nota/data").getGrade()}),[]),n=(0,Zn.useSelect)((function(e){return e("nota/data").isGradeLoading()}),[]),r=(0,Zn.useSelect)((function(e){return e("nota/data").isUrlsLoading()}),[]),a=(0,Zn.useSelect)((function(e){return e("nota/data").getUrlsScore()}),[]),o=(0,Zn.useSelect)((function(e){return e("nota/data").isAnalyzePageLoading()}),[]),i=(0,Zn.useSelect)((function(e){return e("nota/data").getPostMetaData()}),[]),s=(0,Zn.useSelect)((function(e){return e("nota/data").getBrands()}),[]),l=(0,Zn.useSelect)((function(e){return e("nota/data").getSelectedBrand()}),[]),c=(0,Zn.useSelect)((function(e){return e("nota/data").getLoadingStates()}),[]),u=(0,Zn.useSelect)((function(e){return e("nota/data").getTones()}),[]),d=(0,Zn.useDispatch)("nota/data");return{keywordSynonyms:e,setKeywordsSynonyms:d.setKeywordsSynonyms,grade:t,setGrade:d.setGrade,gradeIsLoading:n,setGradeLoading:d.setGradeLoading,urlsScore:a,setUrlsScore:d.setUrlsScore,urlsLoading:r,setUrlsLoading:d.setUrlsLoading,analyzePageLoading:o,setAnalyzePageLoading:d.setAnalyzePageLoading,setPostMetaData:d.setPostMetaData,postMetaData:i,brands:s,setBrands:d.setBrands,selectedBrand:l,setSelectedBrand:d.setSelectedBrand,setLoadingState:d.setLoadingState,loadingStates:c,setCurrentTones:d.setCurrentTones,tones:u}};function br(){var t,n=vr(),r=n.grade,a=n.gradeIsLoading,o=r.data||{},i=o.contentReadability,s=o.headline,l=cr(r.data,[nr.contentReadability,nr.headline]);return t=a?(0,e.createElement)(gr,null):r?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(jn,{title:"Content Readability",gradeData:i}),(0,e.createElement)(Fn,null),(0,e.createElement)(jn,{title:"Headline",gradeData:s}),s&&s.score<=60&&(0,e.createElement)($n,{onClick:function(){return dr(".meta-tab-content","nota-headline")},className:"ntw-mt-2"})):(0,e.createElement)("div",{className:"ntw-text-xs ntw-text-typography-disabled"},'Please click on the "Get started" button to start the analysis.'),(0,e.createElement)(Yn,{loading:a,status:l,title:"Content Analysis"},t)}var wr=function(e){return"".concat("nota-").concat(e)};const Er=n(688).useSyncExternalStore,xr="undefined"==typeof window||"Deno"in window;function Mr(){}function Lr(e){return"number"==typeof e&&e>=0&&e!==1/0}function Sr(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ar(e,t,n){return Dr(e)?"function"==typeof t?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function Or(e,t,n){return Dr(e)?[{...t,queryKey:e},n]:[e||{},t]}function Tr(e,t){const{type:n="all",exact:r,fetchStatus:a,predicate:o,queryKey:i,stale:s}=e;if(Dr(i))if(r){if(t.queryHash!==kr(i,t.options))return!1}else if(!Hr(t.queryKey,i))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return!("boolean"==typeof s&&t.isStale()!==s||void 0!==a&&a!==t.state.fetchStatus||o&&!o(t))}function Pr(e,t){const{exact:n,fetching:r,predicate:a,mutationKey:o}=e;if(Dr(o)){if(!t.options.mutationKey)return!1;if(n){if(Zr(t.options.mutationKey)!==Zr(o))return!1}else if(!Hr(t.options.mutationKey,o))return!1}return!("boolean"==typeof r&&"loading"===t.state.status!==r||a&&!a(t))}function kr(e,t){return((null==t?void 0:t.queryKeyHashFn)||Zr)(e)}function Zr(e){return JSON.stringify(e,((e,t)=>Ir(t)?Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{}):t))}function Hr(e,t){return Rr(e,t)}function Rr(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((n=>!Rr(e[n],t[n])))}function jr(e,t){if(e===t)return e;const n=Nr(e)&&Nr(t);if(n||Ir(e)&&Ir(t)){const r=n?e.length:Object.keys(e).length,a=n?t:Object.keys(t),o=a.length,i=n?[]:{};let s=0;for(let r=0;r<o;r++){const o=n?r:a[r];i[o]=jr(e[o],t[o]),i[o]===e[o]&&s++}return r===o&&s===r?e:i}return t}function Fr(e,t){if(e&&!t||t&&!e)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Nr(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Ir(e){if(!_r(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!_r(n)&&!!n.hasOwnProperty("isPrototypeOf")}function _r(e){return"[object Object]"===Object.prototype.toString.call(e)}function Dr(e){return Array.isArray(e)}function Vr(e){return new Promise((t=>{setTimeout(t,e)}))}function Ur(e){Vr(0).then(e)}function Br(e,t,n){return null!=n.isDataEqual&&n.isDataEqual(e,t)?e:"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?jr(e,t):t}const qr=console,zr=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()};const a=r=>{t?e.push(r):Ur((()=>{n(r)}))};return{batch:a=>{let o;t++;try{o=a()}finally{t--,t||(()=>{const t=e;e=[],t.length&&Ur((()=>{r((()=>{t.forEach((e=>{n(e)}))}))}))})()}return o},batchCalls:e=>(...t)=>{a((()=>{e(...t)}))},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e}}}();class Gr{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Lr(this.cacheTime)&&(this.gcTimeout=setTimeout((()=>{this.optionalRemove()}),this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:xr?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class Wr{constructor(){this.listeners=[],this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.push(e),this.onSubscribe(),()=>{this.listeners=this.listeners.filter((t=>t!==e)),this.onUnsubscribe()}}hasListeners(){return this.listeners.length>0}onSubscribe(){}onUnsubscribe(){}}const Qr=new class extends Wr{constructor(){super(),this.setup=e=>{if(!xr&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){this.focused=e,e&&this.onFocus()}onFocus(){this.listeners.forEach((e=>{e()}))}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}},Kr=new class extends Wr{constructor(){super(),this.setup=e=>{if(!xr&&window.addEventListener){const t=()=>e();return window.addEventListener("online",t,!1),window.addEventListener("offline",t,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((e=>{"boolean"==typeof e?this.setOnline(e):this.onOnline()}))}setOnline(e){this.online=e,e&&this.onOnline()}onOnline(){this.listeners.forEach((e=>{e()}))}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}};function $r(e){return Math.min(1e3*2**e,3e4)}function Jr(e){return"online"!==(null!=e?e:"online")||Kr.isOnline()}class Yr{constructor(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}}function Xr(e){return e instanceof Yr}function ea(e){let t,n,r,a=!1,o=0,i=!1;const s=new Promise(((e,t)=>{n=e,r=t})),l=()=>!Qr.isFocused()||"always"!==e.networkMode&&!Kr.isOnline(),c=r=>{i||(i=!0,null==e.onSuccess||e.onSuccess(r),null==t||t(),n(r))},u=n=>{i||(i=!0,null==e.onError||e.onError(n),null==t||t(),r(n))},d=()=>new Promise((n=>{t=e=>{const t=i||!l();return t&&n(e),t},null==e.onPause||e.onPause()})).then((()=>{t=void 0,i||null==e.onContinue||e.onContinue()})),f=()=>{if(i)return;let t;try{t=e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(c).catch((t=>{var n,r;if(i)return;const s=null!=(n=e.retry)?n:3,c=null!=(r=e.retryDelay)?r:$r,p="function"==typeof c?c(o,t):c,h=!0===s||"number"==typeof s&&o<s||"function"==typeof s&&s(o,t);!a&&h?(o++,null==e.onFail||e.onFail(o,t),Vr(p).then((()=>{if(l())return d()})).then((()=>{a?u(t):f()}))):u(t)}))};return Jr(e.networkMode)?f():d().then(f),{promise:s,cancel:t=>{i||(u(new Yr(t)),null==e.abort||e.abort())},continue:()=>(null==t?void 0:t())?s:Promise.resolve(),cancelRetry:()=>{a=!0},continueRetry:()=>{a=!1}}}class ta extends Gr{constructor(e){super(),this.defaultOptions=e.defaultOptions,this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||qr,this.observers=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter((t=>t!==e)),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var e,t;return null!=(e=null==(t=this.retryer)?void 0:t.continue())?e:this.execute()}async execute(){const e=()=>{var e;return this.retryer=ea({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},t="loading"===this.state.status;try{var n,r,a,o,i,s,l,c;if(!t){var u,d,f,p;this.dispatch({type:"loading",variables:this.options.variables}),await(null==(u=(d=this.mutationCache.config).onMutate)?void 0:u.call(d,this.state.variables,this));const e=await(null==(f=(p=this.options).onMutate)?void 0:f.call(p,this.state.variables));e!==this.state.context&&this.dispatch({type:"loading",context:e,variables:this.state.variables})}const h=await e();return await(null==(n=(r=this.mutationCache.config).onSuccess)?void 0:n.call(r,h,this.state.variables,this.state.context,this)),await(null==(a=(o=this.options).onSuccess)?void 0:a.call(o,h,this.state.variables,this.state.context)),await(null==(i=(s=this.mutationCache.config).onSettled)?void 0:i.call(s,h,null,this.state.variables,this.state.context,this)),await(null==(l=(c=this.options).onSettled)?void 0:l.call(c,h,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:h}),h}catch(e){try{var h,m,C,y,g,v,b,w;throw await(null==(h=(m=this.mutationCache.config).onError)?void 0:h.call(m,e,this.state.variables,this.state.context,this)),await(null==(C=(y=this.options).onError)?void 0:C.call(y,e,this.state.variables,this.state.context)),await(null==(g=(v=this.mutationCache.config).onSettled)?void 0:g.call(v,void 0,e,this.state.variables,this.state.context,this)),await(null==(b=(w=this.options).onSettled)?void 0:b.call(w,void 0,e,this.state.variables,this.state.context)),e}finally{this.dispatch({type:"error",error:e})}}}dispatch(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"loading":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!Jr(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"};case"setState":return{...t,...e.state}}})(this.state),zr.batch((()=>{this.observers.forEach((t=>{t.onMutationUpdate(e)})),this.mutationCache.notify({mutation:this,type:"updated",action:e})}))}}class na extends Wr{constructor(e,t){super(),this.client=e,this.setOptions(t),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;const n=this.options;this.options=this.client.defaultMutationOptions(e),Fr(n,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(t=this.currentMutation)||t.setOptions(this.options)}onUnsubscribe(){var e;this.listeners.length||null==(e=this.currentMutation)||e.removeObserver(this)}onMutationUpdate(e){this.updateResult();const t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==e?e:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){const e=this.currentMutation?this.currentMutation.state:{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0},t={...e,isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset};this.currentResult=t}notify(e){zr.batch((()=>{var t,n,r,a;if(this.mutateOptions&&this.hasListeners())if(e.onSuccess)null==(t=(n=this.mutateOptions).onSuccess)||t.call(n,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(r=(a=this.mutateOptions).onSettled)||r.call(a,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context);else if(e.onError){var o,i,s,l;null==(o=(i=this.mutateOptions).onError)||o.call(i,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(s=(l=this.mutateOptions).onSettled)||s.call(l,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context)}e.listeners&&this.listeners.forEach((e=>{e(this.currentResult)}))}))}}function ra(e,t){return"function"==typeof e?e(...t):!!e}function aa(e,t,n){const a=function(e,t,n){return Dr(e)?"function"==typeof t?{...n,mutationKey:e,mutationFn:t}:{...t,mutationKey:e}:"function"==typeof e?{...t,mutationFn:e}:{...e}}(e,t,n),o=l({context:a.context}),[i]=r.useState((()=>new na(o,a)));r.useEffect((()=>{i.setOptions(a)}),[i,a]);const s=Er(r.useCallback((e=>i.subscribe(zr.batchCalls(e))),[i]),(()=>i.getCurrentResult()),(()=>i.getCurrentResult())),c=r.useCallback(((e,t)=>{i.mutate(e,t).catch(oa)}),[i]);if(s.error&&ra(i.options.useErrorBoundary,[s.error]))throw s.error;return{...s,mutate:c,mutateAsync:s.mutate}}function oa(){}var ia=function(t){var n=t.initialItem,r=t.key,a=t.serialize,o=vr(),i=o.setPostMetaData,s=o.postMetaData[r],l=(0,e.useState)(n)[0],c=(0,e.useMemo)((function(){var e="string"==typeof s&&s.length;if(a&&e)try{var t=JSON.parse(s);return ca.includes(r)&&(sa(t)||la(t))?sa(t)?{values:t,tone:null}:la(t)?t.map((function(e){return{values:e,tone:null}})):t:t}catch(e){return lt.error(e),null}return s}),[r,s,a]),u=null!=c?c:l,d=(0,e.useCallback)((function(e){var t,n=a?JSON.stringify(e):e;i(((t={})[r]=n,t))}),[r,a,i]);return{data:u,update:d}},sa=function(e){return Array.isArray(e)&&e.length&&e.every((function(e){return"string"==typeof e}))},la=function(e){return Array.isArray(e)&&e.length&&e.every((function(e){return null===e||Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}))},ca=["nota_excerpt_history","nota_headline_history","nota_quotes_history","nota_slug_history","nota_seo_desc_history","nota_seo_title_history","nota_hashtags_history","nota_social_post_facebook_history","nota_social_post_instagram_history","nota_social_post_linkedin_history","nota_social_post_threads_history","nota_social_post_tiktok_history","nota_social_post_twitter_history","nota_tag_history","nota_selected_hashtags","nota_sms_history","nota_grade_scores_history","nota_urls_score_history","nota_summary_history","nota_keywords_synonyms_history"],ua=function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))},da=function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},fa=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},pa=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},ha=function(e){return 0===Object.keys(e).length},ma=function(e){return Array.isArray(e)?e[0]:e},Ca=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},ya=function(t){var n=t.initialItems,r=t.key,a=ia({key:r,serialize:!0}),o=a.update,i=n?[n]:[],s=(0,e.useState)(a.data||i),l=s[0],c=s[1],u=(0,e.useState)(l.length?l.length-1:-1),d=u[0],f=u[1];(0,e.useEffect)((function(){o(l)}),[l,o]);var p=l.length,h=d<p-1,m=d>0,C=(0,e.useCallback)((function(){h&&f((function(e){return e+1}))}),[h,f]),y=(0,e.useCallback)((function(){m&&f((function(e){return e-1}))}),[m,f]),g=(0,e.useCallback)((function(e){c((function(t){var n=Ca([],t,!0);return n.splice(d,1,e),n}))}),[d,c]),v=(0,e.useCallback)((function(e){c((function(t){return Ca(Ca([],t,!0),[e],!1)}))}),[]);(0,e.useEffect)((function(){f(l.length-1)}),[l.length]);var b=(0,e.useCallback)((function(e){c([e]),f(0)}),[c]),w=(0,e.useMemo)((function(){return l.flat()}),[l]);return{replaceHistoryItem:b,addHistoryItem:v,data:l[d],history:{setHistoryIndex:f,hasNext:h,hasPrev:m,historyIndex:d,nextHistoryItem:C,prevHistoryItem:y,totalHistoryItems:p,fullHistory:w},update:g}},ga=function(t,n){var r=t.fullHistory,a=t.setHistoryIndex,o=(0,e.useRef)(!1);(0,e.useEffect)((function(){if(!o.current&&0!==r.length){var e=r.findIndex((function(e){var t;return null===(t=e.values)||void 0===t?void 0:t.includes(n)}));-1!==e&&(a(e),o.current=!0)}}),[r,n,a])},va=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},ba=function(t){var n=t.trackValue,r=t.revertFn,a=(0,e.useState)([]),o=a[0],i=a[1],s=(0,e.useState)([]),l=s[0],c=s[1],u=(0,e.useMemo)((function(){return o.find((function(e){return!l.includes(e)}))}),[o,l]),d=void 0!==u&&n!==u;return(0,e.useEffect)((function(){i((function(e){return va([n],e,!0)}))}),[n]),{update:function(e){c((function(t){return va([e],t,!0)}))},revert:d?function(){void 0!==u&&r(u)}:void 0}},wa=Zn.useSelect,Ea=function(){var e=(0,Zn.useDispatch)("core/editor").editPost,t=wa((function(e){var t=e("core/editor");return{postTitle:t.getEditedPostAttribute("title"),postExcerpt:t.getEditedPostAttribute("excerpt"),postSlug:t.getEditedPostAttribute("slug"),postId:t.getCurrentPostId(),isPublished:t.isCurrentPostPublished()}})),n=t.postTitle,r=t.postExcerpt,a=t.postSlug,o=t.postId,i=t.isPublished,s=ba({trackValue:n,revertFn:function(t){e({title:t})}}),l=ba({trackValue:r,revertFn:function(t){e({excerpt:t})}}),c=ba({trackValue:a,revertFn:function(t){e({slug:t})}});return{editPostTitle:function(t){s.update(t),e({title:t})},editPostExcerpt:function(t){l.update(t),e({excerpt:t})},editPostSlug:function(t){c.update(t),e({slug:t})},isPublished:i,postExcerpt:r,postTitle:n,postSlug:a,postId:o,revertExcerpt:l.revert,revertTitle:s.revert,revertSlug:c.revert}},xa=Zn.useSelect,Ma=function(){var e,t,n=(0,Zn.useDispatch)("yoast-seo/editor"),r=xa((function(e){var t=e("yoast-seo/editor"),n=e("core/editor"),r=n.getEditedPostAttribute("meta"),a=null==t?void 0:t.getSnippetEditorData(),o=(null==r?void 0:r[window.notaTools.meta_keys.seo_title])||n.getEditedPostAttribute("title");return{yoastValues:a,metaValues:{description:null==r?void 0:r[window.notaTools.meta_keys.seo_desc],title:null==r?void 0:r[window.notaTools.meta_keys.seo_title]},metaDescription:(null==t?void 0:t.getDescription())||(null==r?void 0:r[window.notaTools.meta_keys.seo_desc]),seoTitleTemplate:null==t?void 0:t.getSeoTitleTemplate(),seoTitleFormatted:(null==t?void 0:t.getSeoTitle())||"".concat(o," ").concat(window.notaTools.post_title_suffix)}}),[]),a=(0,Zn.useDispatch)("core/editor"),o=ba({trackValue:r.metaValues.title,revertFn:function(e){var t;a.editPost({meta:(t={},t[window.notaTools.meta_keys.seo_title]=e,t)})}}),i=ba({trackValue:r.metaValues.description,revertFn:function(e){var t;a.editPost({meta:(t={},t[window.notaTools.meta_keys.seo_desc]=e,t)})}}),s=ba({trackValue:null===(e=r.yoastValues)||void 0===e?void 0:e.title,revertFn:function(e){null==n||n.updateData({title:e}).catch(lt.error)}}),l=ba({trackValue:null===(t=r.yoastValues)||void 0===t?void 0:t.description,revertFn:function(e){null==n||n.updateData({description:e}).catch(lt.error)}});return{editMetaDescription:function(e){var t;a.editPost({meta:(t={},t[window.notaTools.meta_keys.seo_desc]=e,t)}).catch(lt.error),i.update(e),null==n||n.updateData({description:e}).catch(lt.error),l.update(e)},editMetaTitle:function(e){var t,i;a.editPost({meta:(t={},t[window.notaTools.meta_keys.seo_title]=e,t)}).catch(lt.error),o.update(e);var l=((null===(i=null==r?void 0:r.seoTitleTemplate)||void 0===i?void 0:i.includes("%%title%%"))?null==r?void 0:r.seoTitleTemplate:"%%title%% %%page%% %%sep%% %%sitename%%").replace("%%title%%",e);null==n||n.updateData({title:l}).catch(lt.error),s.update(l)},metaDescription:r.metaValues.description,metaTitle:r.metaValues.title,metaTitleFormatted:r.seoTitleFormatted,revertMetaDescription:i.revert?function(){var e,t;null===(e=l.revert)||void 0===e||e.call(l),null===(t=i.revert)||void 0===t||t.call(i)}:void 0,revertMetaTitle:o.revert?function(){var e,t;null===(e=s.revert)||void 0===e||e.call(s),null===(t=o.revert)||void 0===t||t.call(o)}:void 0}},La=function(){return La=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},La.apply(this,arguments)},Sa=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},Aa=function(t){var n=t.notaService,r=t.components,a=t.requestsToQueue,o=vr(),i=o.setKeywordsSynonyms,s=o.setAnalyzePageLoading,l=o.selectedBrand,c=window.notaTools.meta_keys,u=ya({key:c.excerpt_history}),d=ya({key:c.social_hashtags_history}),f=ya({key:c.headline_history}),p=ya({key:c.slug_history}),h=ya({key:c.tag_history}),m=ya({key:c.seo_desc_history}),C=ya({key:c.seo_title_history}),y=ya({key:c.social_post_facebook_history}),g=ya({key:c.social_post_instagram_history}),v=ya({key:c.social_post_linkedin_history}),b=ya({key:c.social_post_threads_history}),w=ya({key:c.social_post_tiktok_history}),E=ya({key:c.social_post_twitter_history}),x=ya({key:c.sms_history}),M=ya({key:c.quotes_history}),L=ya({key:c.keywords_synonyms_history});(0,e.useEffect)((function(){i(L.data||{})}),[i,L.data]);var S=ya({key:c.summary_history}),A=ia({key:c.selected_hashtags,serialize:!0}),O=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getHashtags({postHTML:t,regenerate:r})},onSuccess:function(e){d.addHistoryItem({values:e.hashTags,tone:null})},retry:3}),T=O.mutate,P=Sa(O,["mutate"]),k=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getHeadlines({postHTML:t,count:3,regenerate:r,brandId:null==l?void 0:l.id,queue:a.headlines})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===f.history.fullHistory.length&&f.addHistoryItem({values:e.originalValues||[],tone:null}),f.addHistoryItem({values:e.headlines,tone:null==e?void 0:e.tone})},retry:3}),Z=k.mutate,H=Sa(k,["mutate"]),R=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSlugs({postHTML:t,count:3,regenerate:r})},onSuccess:function(e){p.addHistoryItem({values:e.slugs,tone:null})},retry:3}),j=R.mutate,F=Sa(R,["mutate"]),N=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getMetaDescriptions({postHTML:t,count:3,regenerate:r,brandId:null==l?void 0:l.id,queue:a.metaDescription})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===m.history.fullHistory.length&&m.addHistoryItem({values:e.originalValues||[],tone:null}),m.addHistoryItem({values:e.metaDescriptions,tone:null==e?void 0:e.tone})},retry:3}),I=N.mutate,_=Sa(N,["mutate"]),D=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getMetaTitles({postHTML:t,count:3,regenerate:r,brandId:null==l?void 0:l.id,queue:a.metaTitle})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===C.history.fullHistory.length&&C.addHistoryItem({values:e.originalValues||[],tone:null}),C.addHistoryItem({values:e.metaTitles,tone:null==e?void 0:e.tone})},retry:3}),V=D.mutate,U=Sa(D,["mutate"]),B=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getEntities({postHTML:t,regenerate:r,queue:a.entities})},onSuccess:function(e){h.addHistoryItem({values:e.entities,tone:null})},retry:3}),q=B.mutate,z=Sa(B,["mutate"]),G=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getKeywordSynonyms({postHTML:t,count:10,regenerate:r,queue:a.keywords})},onSuccess:function(e){var t=function(e){for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var a=r[n],o=a[0],i=a[1];t[o]=i.synonyms}return t}(e.keywordsData);L.addHistoryItem(t)},retry:3}),W=G.mutate,Q=Sa(G,["mutate"]),K=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"facebook",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===y.history.fullHistory.length&&y.addHistoryItem({values:e.originalValues||[],tone:null}),y.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),$=K.mutate,J=Sa(K,["mutate"]),Y=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"instagram",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===g.history.fullHistory.length&&g.addHistoryItem({values:e.originalValues||[],tone:null}),g.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),X=Y.mutate,ee=Sa(Y,["mutate"]),te=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"linkedIn",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===v.history.fullHistory.length&&v.addHistoryItem({values:e.originalValues||[],tone:null}),v.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),ne=te.mutate,re=Sa(te,["mutate"]),ae=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"threads",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===b.history.fullHistory.length&&b.addHistoryItem({values:e.originalValues||[],tone:null}),b.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),oe=ae.mutate,ie=Sa(ae,["mutate"]),se=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"tiktok",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===w.history.fullHistory.length&&w.addHistoryItem({values:e.originalValues||[],tone:null}),w.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),le=se.mutate,ce=Sa(se,["mutate"]),ue=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"twitter",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===E.history.fullHistory.length&&E.addHistoryItem({values:e.originalValues||[],tone:null}),E.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),de=ue.mutate,fe=Sa(ue,["mutate"]),pe=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSummary({postHTML:t,lengthOption:"1-sentence",regenerate:r,brandId:null==l?void 0:l.id,queue:a.summary})},onSuccess:function(e){u.addHistoryItem({values:[e.summary],tone:null==e?void 0:e.tone})},retry:3}),he=pe.mutate,me=Sa(pe,["mutate"]),Ce=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate,a=e.count;return n.getSMS({postHTML:t,regenerate:r,count:a})},onSuccess:function(e){x.addHistoryItem({values:e.messages,tone:null})},retry:3}),ye=Ce.mutate,ge=Sa(Ce,["mutate"]),ve=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getQuotes({postHTML:t,regenerate:r,count:3,exclude:M.history.fullHistory.map((function(e){return e.values})).flat()})},onSuccess:function(e){M.addHistoryItem({values:e.quotes,tone:null})},retry:3}),be=ve.mutate,we=Sa(ve,["mutate"]),Ee=aa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSummary({postHTML:t,lengthOption:"1-paragraph",regenerate:r,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===S.history.fullHistory.length&&S.addHistoryItem({values:e.originalValues||[],tone:null}),S.addHistoryItem({values:[e.summary],tone:null==e?void 0:e.tone})},retry:3}),xe=Ee.mutate,Me=Sa(Ee,["mutate"]),Le=(0,e.useCallback)((function(e){var t={hashtags:function(){return T({postHTML:e.postHTML})},headlines:function(){return Z({postHTML:e.postHTML})},slugs:function(){return j({postHTML:e.postHTML})},excerpt:function(){return he({postHTML:e.postHTML})},tags:function(){return q({postHTML:e.postHTML})},metaDescriptions:function(){return I({postHTML:e.postHTML})},metaTitles:function(){return V({postHTML:e.postHTML})},quotes:function(){return be({postHTML:e.postHTML})},socialPostsFacebook:function(){return $({postHTML:e.postHTML})},socialPostsInstagram:function(){return X({postHTML:e.postHTML})},socialPostsLinkedIn:function(){return ne({postHTML:e.postHTML})},socialPostsThreads:function(){return oe({postHTML:e.postHTML})},socialPostsTikTok:function(){return le({postHTML:e.postHTML})},socialPostsTwitter:function(){return de({postHTML:e.postHTML})},summary:function(){return xe({postHTML:e.postHTML})},sms:function(){return ye({postHTML:e.postHTML})},keywordSynonyms:function(){return W({postHTML:e.postHTML})}},n=Object.keys(r);(e.components||n).forEach((function(e){var n;r[e]&&(null===(n=t[e])||void 0===n||n.call(t))}))}),[r,T,Z,j,he,q,I,V,be,W,$,X,ne,oe,le,de,ye,xe]),Se=[P.isLoading,H.isLoading,F.isLoading,_.isLoading,U.isLoading,z.isLoading,Q.isLoading,me.isLoading,Me.isLoading].some((function(e){return e}));(0,e.useEffect)((function(){s(Se)}),[Se,s]);var Ae=Ea(),Oe=Ae.postTitle,Te=Ae.postExcerpt,Pe=Ma(),ke=Pe.metaTitle,Ze=Pe.metaDescription;return ga(f.history,Oe),ga(C.history,ke),ga(m.history,Ze),ga(u.history,Te),{hashtags:La(La({error:P.error,isLoading:P.isLoading},d),{refresh:function(e){T({postHTML:e.postHTML,regenerate:!0})}}),headlines:La(La({error:H.error,isLoading:H.isLoading},f),{refresh:function(e){Z({postHTML:e.postHTML,regenerate:!0})}}),slugs:La(La({error:F.error,isLoading:F.isLoading},p),{refresh:function(e){j({postHTML:e.postHTML,regenerate:!0})}}),metaDescriptions:La(La({error:_.error,isLoading:_.isLoading},m),{refresh:function(e){I({postHTML:e.postHTML,regenerate:!0})}}),metaTitles:La(La({error:U.error,isLoading:U.isLoading},C),{refresh:function(e){V({postHTML:e.postHTML,regenerate:!0})}}),quotes:La(La({error:we.error,isLoading:we.isLoading},M),{refresh:function(e){be({postHTML:e.postHTML,regenerate:!0})}}),run:Le,excerpt:La(La({error:me.error,isLoading:me.isLoading},u),{refresh:function(e){he({postHTML:e.postHTML,regenerate:!0})}}),tags:La(La({error:z.error,isLoading:z.isLoading},h),{refresh:function(e){q({postHTML:e.postHTML,regenerate:!0})}}),socialPostsFacebook:La(La({error:J.error,isLoading:J.isLoading},y),{refresh:function(e){$({postHTML:e.postHTML,regenerate:!0})}}),socialPostsInstagram:La(La({error:ee.error,isLoading:ee.isLoading},g),{refresh:function(e){X({postHTML:e.postHTML,regenerate:!0})}}),socialPostsLinkedIn:La(La({error:re.error,isLoading:re.isLoading},v),{refresh:function(e){ne({postHTML:e.postHTML,regenerate:!0})}}),socialPostsThreads:La(La({error:ie.error,isLoading:ie.isLoading},b),{refresh:function(e){oe({postHTML:e.postHTML,regenerate:!0})}}),socialPostsTikTok:La(La({error:ce.error,isLoading:ce.isLoading},w),{refresh:function(e){le({postHTML:e.postHTML,regenerate:!0})}}),socialPostsTwitter:La(La({error:fe.error,isLoading:fe.isLoading},E),{refresh:function(e){de({postHTML:e.postHTML,regenerate:!0})}}),sms:La(La({error:ge.error,isLoading:ge.isLoading},x),{refresh:function(e){ye({postHTML:e.postHTML,regenerate:!0})}}),summary:La(La({error:Me.error,isLoading:Me.isLoading},S),{refresh:function(e){xe({postHTML:e.postHTML,regenerate:!0})}}),keywordSynonyms:La(La({error:Q.error,isLoading:Q.isLoading},L),{refresh:function(e){W({postHTML:e.postHTML,regenerate:!0})}}),selectedHashtags:A}};class Oa extends Wr{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.length&&(this.currentQuery.addObserver(this),Ta(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.listeners.length||this.destroy()}shouldFetchOnReconnect(){return Pa(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Pa(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=[],this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){const n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),Fr(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();const a=this.hasListeners();a&&ka(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!a||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();const o=this.computeRefetchInterval();!a||this.currentQuery===r&&this.options.enabled===n.enabled&&o===this.currentRefetchInterval||this.updateRefetchInterval(o)}getOptimisticResult(e){const t=this.client.getQueryCache().build(this.client,e);return this.createResult(t,e)}getCurrentResult(){return this.currentResult}trackResult(e){const t={};return Object.keys(e).forEach((n=>{Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),e[n])})})),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){const t=this.client.defaultQueryOptions(e),n=this.client.getQueryCache().build(this.client,t);return n.isFetchingOptimistic=!0,n.fetch().then((()=>this.createResult(n,t)))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then((()=>(this.updateResult(),this.currentResult)))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(Mr)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),xr||this.currentResult.isStale||!Lr(this.options.staleTime))return;const e=Sr(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((()=>{this.currentResult.isStale||this.updateResult()}),e)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!xr&&!1!==this.options.enabled&&Lr(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((()=>{(this.options.refetchIntervalInBackground||Qr.isFocused())&&this.executeFetch()}),this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){const n=this.currentQuery,r=this.options,a=this.currentResult,o=this.currentResultState,i=this.currentResultOptions,s=e!==n,l=s?e.state:this.currentQueryInitialState,c=s?this.currentResult:this.previousQueryResult,{state:u}=e;let d,{dataUpdatedAt:f,error:p,errorUpdatedAt:h,fetchStatus:m,status:C}=u,y=!1,g=!1;if(t._optimisticResults){const a=this.hasListeners(),o=!a&&Ta(e,t),i=a&&ka(e,n,t,r);(o||i)&&(m=Jr(e.options.networkMode)?"fetching":"paused",f||(C="loading")),"isRestoring"===t._optimisticResults&&(m="idle")}if(t.keepPreviousData&&!u.dataUpdatedAt&&null!=c&&c.isSuccess&&"error"!==C)d=c.data,f=c.dataUpdatedAt,C=c.status,y=!0;else if(t.select&&void 0!==u.data)if(a&&u.data===(null==o?void 0:o.data)&&t.select===this.selectFn)d=this.selectResult;else try{this.selectFn=t.select,d=t.select(u.data),d=Br(null==a?void 0:a.data,d,t),this.selectResult=d,this.selectError=null}catch(e){this.selectError=e}else d=u.data;if(void 0!==t.placeholderData&&void 0===d&&"loading"===C){let e;if(null!=a&&a.isPlaceholderData&&t.placeholderData===(null==i?void 0:i.placeholderData))e=a.data;else if(e="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.selectError=null}catch(e){this.selectError=e}void 0!==e&&(C="success",d=Br(null==a?void 0:a.data,e,t),g=!0)}this.selectError&&(p=this.selectError,d=this.selectResult,h=Date.now(),C="error");const v="fetching"===m,b="loading"===C,w="error"===C;return{status:C,fetchStatus:m,isLoading:b,isSuccess:"success"===C,isError:w,isInitialLoading:b&&v,data:d,dataUpdatedAt:f,error:p,errorUpdatedAt:h,failureCount:u.fetchFailureCount,failureReason:u.fetchFailureReason,errorUpdateCount:u.errorUpdateCount,isFetched:u.dataUpdateCount>0||u.errorUpdateCount>0,isFetchedAfterMount:u.dataUpdateCount>l.dataUpdateCount||u.errorUpdateCount>l.errorUpdateCount,isFetching:v,isRefetching:v&&!b,isLoadingError:w&&0===u.dataUpdatedAt,isPaused:"paused"===m,isPlaceholderData:g,isPreviousData:y,isRefetchError:w&&0!==u.dataUpdatedAt,isStale:Za(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){const t=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,Fr(n,t))return;this.currentResult=n;const r={cache:!0};!1!==(null==e?void 0:e.listeners)&&(()=>{if(!t)return!0;const{notifyOnChangeProps:e}=this.options;if("all"===e||!e&&!this.trackedProps.size)return!0;const n=new Set(null!=e?e:this.trackedProps);return this.options.useErrorBoundary&&n.add("error"),Object.keys(this.currentResult).some((e=>{const r=e;return this.currentResult[r]!==t[r]&&n.has(r)}))})()&&(r.listeners=!0),this.notify({...r,...e})}updateQuery(){const e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;const t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){const t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||Xr(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){zr.batch((()=>{var t,n,r,a;if(e.onSuccess)null==(t=(n=this.options).onSuccess)||t.call(n,this.currentResult.data),null==(r=(a=this.options).onSettled)||r.call(a,this.currentResult.data,null);else if(e.onError){var o,i,s,l;null==(o=(i=this.options).onError)||o.call(i,this.currentResult.error),null==(s=(l=this.options).onSettled)||s.call(l,void 0,this.currentResult.error)}e.listeners&&this.listeners.forEach((e=>{e(this.currentResult)})),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})}))}}function Ta(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&Pa(e,t,t.refetchOnMount)}function Pa(e,t,n){if(!1!==t.enabled){const r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&Za(e,t)}return!1}function ka(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&Za(e,n)}function Za(e,t){return e.isStaleByTime(t.staleTime)}const Ha=r.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),Ra=r.createContext(!1),ja=(Ra.Provider,(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))});function Fa(e,t,n){return function(e,t){const n=l({context:e.context}),a=r.useContext(Ra),o=r.useContext(Ha),i=n.defaultQueryOptions(e);i._optimisticResults=a?"isRestoring":"optimistic",i.onError&&(i.onError=zr.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=zr.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=zr.batchCalls(i.onSettled)),(e=>{e.suspense&&"number"!=typeof e.staleTime&&(e.staleTime=1e3)})(i),ja(i,o),(e=>{r.useEffect((()=>{e.clearReset()}),[e])})(o);const[s]=r.useState((()=>new t(n,i))),c=s.getOptimisticResult(i);if(Er(r.useCallback((e=>a?()=>{}:s.subscribe(zr.batchCalls(e))),[s,a]),(()=>s.getCurrentResult()),(()=>s.getCurrentResult())),r.useEffect((()=>{s.setOptions(i,{listeners:!1})}),[i,s]),((e,t,n)=>(null==e?void 0:e.suspense)&&((e,t)=>e.isLoading&&e.isFetching&&!t)(t,n))(i,c,a))throw((e,t,n)=>t.fetchOptimistic(e).then((({data:t})=>{null==e.onSuccess||e.onSuccess(t),null==e.onSettled||e.onSettled(t,null)})).catch((t=>{n.clearReset(),null==e.onError||e.onError(t),null==e.onSettled||e.onSettled(void 0,t)})))(i,s,o);if((({result:e,errorResetBoundary:t,useErrorBoundary:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&ra(n,[e.error,r]))({result:c,errorResetBoundary:o,useErrorBoundary:i.useErrorBoundary,query:s.getCurrentQuery()}))throw c.error;return i.notifyOnChangeProps?c:s.trackResult(c)}(Ar(e,t,n),Oa)}var Na={config:{defaultAIContentPolicy:"",defaultHeadlineCharacterMax:void 0,defaultLetterHeadlineCharacterMax:void 0,defaultBriefHeadlineCharacterMax:void 0,requestsToQueue:{entities:!1,keywords:!1,socialPosts:!1,metaTitle:!1,metaDescription:!1,headlines:!1,summary:!1,adjustTextTone:!1,relatedKeywords:!1,proof:!1}}},Ia=function(){var e=Fa({queryKey:["public-config"],queryFn:vt.getPublicConfig,placeholderData:Na,staleTime:3e5}),t=e.data;return{isLoading:e.isLoading,config:(null==t?void 0:t.config)||Na.config}},_a=Zn.useSelect;function Da(){var t=Ia().config,n=_a((function(e){return e("core/editor").getEditedPostContent()}),[]),r=Ma(),a=r.metaDescription,o=r.metaTitle,i=Ea(),s=i.postSlug,l=i.postTitle,c=vr().keywordSynonyms,u=Object.keys(c);return{nextPayload:(0,e.useMemo)((function(){return{content:n,headline:l,metaDescription:a,metaTitle:o,slug:s,urlsList:Ln(n),keywords:c,queue:t.requestsToQueue.proof}}),[n,l,a,o,s,c,t.requestsToQueue.proof]),keywords:u,postHTML:n}}var Va={info:"ntw-bg-status-informational-100 ntw-text-status-informational-300",error:"ntw-bg-status-error-10 ntw-text-status-error-100"},Ua={error:rn,info:_t};function Ba(t){var n=t.level,r=t.children,a=t.className,o=t.size,i=void 0===o?"large":o,s=Ua[n];return(0,e.createElement)("div",{className:mn("ntw-flex ntw-rounded-lg",Va[n],a,{"ntw-p-24px":"large"===i,"ntw-p-8px ntw-text-xs":"small"===i})},(0,e.createElement)(s,{size:24,className:"ntw-mr-8px ntw-flex-shrink-0"}),(0,e.createElement)("div",{className:"ntw-flex-1"},r))}function qa(t){var n=t.className,r=t.color,a=void 0===r?"#39B105":r;return(0,e.createElement)("svg",{width:"38",height:"28",viewBox:"0 0 38 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("g",{filter:"url(#filter0_d_1_7)"},(0,e.createElement)("rect",{x:"6.32876",y:"4.44244",width:"27.3778",height:"12.4444",rx:"6.22222",transform:"rotate(10 6.32876 4.44244)",fill:a}),(0,e.createElement)("rect",{x:"11.8082",y:"9.19992",width:"14.9333",height:"4.97778",rx:"2.48889",transform:"rotate(10 11.8082 9.19992)",fill:"white"})),(0,e.createElement)("defs",null,(0,e.createElement)("filter",{id:"filter0_d_1_7",x:"0.174931",y:"-3.26744",width:"37.1085",height:"35.905",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},(0,e.createElement)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,e.createElement)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,e.createElement)("feOffset",null),(0,e.createElement)("feGaussianBlur",{stdDeviation:"2.48889"}),(0,e.createElement)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,e.createElement)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"}),(0,e.createElement)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1_7"}),(0,e.createElement)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1_7",result:"shape"}))))}function za(t){var n=t.className;return(0,e.createElement)("svg",{viewBox:"0 0 248 112",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("path",{d:"M35.5989 111.315C34.9668 111.292 34.4716 110.762 34.5008 110.13C34.5027 110.088 34.5046 110.046 34.5066 110.004C34.5367 109.37 35.0829 108.887 35.7166 108.927C36.3473 108.967 36.8262 109.509 36.7964 110.141C36.7954 110.163 36.7943 110.185 36.7933 110.208C36.7639 110.841 36.2327 111.337 35.5989 111.315Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M37.152 97.1852C36.5347 97.0623 36.1309 96.4651 36.2549 95.848C36.2629 95.8085 36.2709 95.769 36.2789 95.7295C36.4057 95.1029 37.0256 94.7083 37.649 94.8501C38.2623 94.9895 38.6485 95.5963 38.5237 96.2128C38.5196 96.2331 38.5155 96.2533 38.5114 96.2736C38.3852 96.8996 37.7782 97.31 37.152 97.1852Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M40.8792 83.3402C40.2916 83.12 39.9882 82.4694 40.2051 81.8806C40.2178 81.8461 40.2305 81.8117 40.2432 81.7772C40.4666 81.1731 41.1466 80.8786 41.7434 81.1207C42.3247 81.3564 42.6094 82.014 42.3918 82.6022C42.3859 82.6182 42.38 82.6341 42.3741 82.6501C42.1513 83.2535 41.4815 83.5659 40.8792 83.3402Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M47.3741 69.0182C46.8349 68.6983 46.649 68.0061 46.9627 67.4633C46.9782 67.4364 46.9938 67.4095 47.0093 67.3826C47.3346 66.821 48.0616 66.6471 48.6107 66.9931C49.1413 67.3273 49.3076 68.0233 48.9932 68.5658C48.9877 68.5754 48.9821 68.585 48.9765 68.5946C48.6516 69.1556 47.9317 69.3491 47.3741 69.0182Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M56.2176 56.0309C55.7418 55.6206 55.6787 54.9055 56.082 54.4238C56.0975 54.4053 56.1131 54.3867 56.1286 54.3682C56.5483 53.8677 57.2996 53.8223 57.7829 54.2619C58.2479 54.6848 58.2874 55.4048 57.8834 55.8864C57.4638 56.3864 56.7119 56.4572 56.2176 56.0309Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M67.1255 44.8236C66.7263 44.3346 66.7869 43.6141 67.2701 43.2079C67.2831 43.197 67.296 43.1861 67.3089 43.1753C67.8114 42.7533 68.5642 42.8418 68.9657 43.3607C69.3504 43.8579 69.2704 44.5725 68.7889 44.9766C68.2886 45.3962 67.5384 45.3294 67.1255 44.8236Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M79.764 35.7394C79.4528 35.1853 79.6363 34.4764 80.1871 34.1591C80.1958 34.154 80.2046 34.149 80.2134 34.1439C80.7831 33.8159 81.5125 34.0387 81.8194 34.62C82.1124 35.1748 81.9122 35.8681 81.3683 36.1809C80.8062 36.5042 80.0816 36.3048 79.764 35.7394Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M93.7407 29.0401C93.5268 28.4361 93.8427 27.7689 94.4457 27.5524C95.0638 27.3304 95.7461 27.6657 95.9493 28.2901L95.9569 28.3133C96.1512 28.9105 95.8306 29.5524 95.2394 29.7644C94.6339 29.9815 93.9637 29.6698 93.749 29.0634L93.7407 29.0401Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M108.639 24.9473C108.53 24.3105 108.955 23.7035 109.593 23.5968C110.238 23.4888 110.843 23.936 110.937 24.5834L110.942 24.613C111.032 25.2368 110.603 25.8161 109.981 25.9201C109.352 26.0253 108.752 25.6059 108.644 24.977L108.639 24.9473Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M124 23.5771C124 22.9261 124.528 22.3976 125.179 22.4064C125.829 22.4152 126.343 22.9567 126.326 23.6068L126.325 23.6385C126.309 24.2724 125.781 24.772 125.147 24.7635C124.514 24.7549 124 24.2422 124 23.6087V23.5771Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M139.358 24.9691C139.469 24.3238 140.087 23.8923 140.73 24.0178C141.363 24.1415 141.773 24.7588 141.647 25.3918L141.642 25.4208C141.518 26.0475 140.906 26.4515 140.279 26.3292C139.66 26.2086 139.247 25.6187 139.353 24.9979L139.358 24.9691Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M154.242 29.0904C154.462 28.4712 155.158 28.143 155.77 28.3815C156.366 28.6139 156.665 29.2886 156.436 29.8861L156.427 29.9081C156.197 30.5096 155.518 30.804 154.917 30.5704C154.332 30.3427 154.033 29.6822 154.242 29.0904Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M168.21 35.7875C168.532 35.2144 169.266 35.0116 169.827 35.3545C169.836 35.3603 169.846 35.3661 169.855 35.3719C170.397 35.7034 170.562 36.4153 170.237 36.9606C169.904 37.5182 169.174 37.698 168.62 37.3595C168.085 37.0323 167.902 36.3346 168.21 35.7875Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M180.836 44.872C181.251 44.364 182.005 44.2961 182.495 44.7309C182.509 44.7428 182.522 44.7548 182.536 44.7667C183.008 45.1852 183.05 45.9058 182.638 46.3837C182.212 46.879 181.46 46.9254 180.971 46.4923C180.5 46.0754 180.438 45.3593 180.836 44.872Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M191.736 56.0718C192.23 55.6455 192.979 55.7105 193.385 56.2215C193.401 56.2412 193.417 56.261 193.433 56.2808C193.823 56.7727 193.741 57.4855 193.255 57.8829C192.75 58.2956 192 58.2038 191.594 57.6934C191.203 57.2018 191.26 56.4821 191.736 56.0718Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M200.58 69.0462C201.137 68.7154 201.858 68.908 202.169 69.4773C202.184 69.5054 202.199 69.5335 202.215 69.5617C202.514 70.1124 202.31 70.7995 201.763 71.1049C201.197 71.4204 200.483 71.2084 200.173 70.6398C200.168 70.6291 200.162 70.6185 200.156 70.6079C199.856 70.0575 200.04 69.3661 200.58 69.0462Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M206.559 81.9158C207.158 81.6795 207.835 81.9803 208.052 82.5861C208.065 82.621 208.077 82.6558 208.09 82.6907C208.301 83.2815 207.992 83.9293 207.402 84.1439C206.798 84.3637 206.131 84.0452 205.914 83.44C205.908 83.4238 205.903 83.4075 205.897 83.3912C205.685 82.8009 205.975 82.146 206.559 81.9158Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M210.508 95.5887C211.133 95.4523 211.749 95.8519 211.871 96.4793C211.878 96.519 211.886 96.5587 211.894 96.5984C212.013 97.2166 211.604 97.8106 210.985 97.9283C210.358 98.0477 209.755 97.6324 209.634 97.0057C209.63 96.9852 209.626 96.9648 209.622 96.9443C209.502 96.3267 209.894 95.723 210.508 95.5887Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M212.329 109.73C212.963 109.695 213.505 110.183 213.529 110.817C213.531 110.859 213.532 110.901 213.534 110.943C213.558 111.575 213.058 112.101 212.425 112.118C211.791 112.135 211.265 111.634 211.241 111.001C211.24 110.978 211.239 110.956 211.238 110.934C211.214 110.302 211.698 109.764 212.329 109.73Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M14 112C12.8954 112 11.9981 111.104 12.0178 110C12.4926 83.4005 22.4222 57.8356 40.0259 37.8896C40.7568 37.0614 42.0237 37.006 42.8387 37.7515L51.4565 45.6354C52.2715 46.3809 52.3259 47.6448 51.5974 48.4751C36.6351 65.5278 28.1714 87.3185 27.7007 110C27.6778 111.104 26.7846 112 25.68 112H14Z",fill:"url(#paint0_linear_6379_341177)"}),(0,e.createElement)("path",{d:"M46.2183 34.2183C45.4372 33.4372 45.4364 32.169 46.2313 31.402C66.2656 12.0702 92.7867 0.892155 120.615 0.0511573C121.719 0.0177908 122.626 0.903929 122.639 2.00841L122.784 13.6875C122.798 14.792 121.913 15.6963 120.809 15.7329C97.0721 16.5192 74.4589 26.0502 57.3205 42.4918C56.5235 43.2564 55.2583 43.2583 54.4773 42.4773L46.2183 34.2183Z",fill:"url(#paint1_linear_6379_341177)"}),(0,e.createElement)("path",{d:"M127.564 2.05774C127.599 0.953754 128.524 0.0859627 129.627 0.141442C156.527 1.49422 182.041 12.4976 201.488 31.1318C202.285 31.8961 202.289 33.1642 201.51 33.9479L193.28 42.2356C192.502 43.0194 191.237 43.022 190.437 42.2601C173.806 26.4162 152.056 17.0364 129.119 15.8161C128.016 15.7574 127.15 14.8356 127.185 13.7316L127.564 2.05774Z",fill:"url(#paint2_linear_6379_341177)"}),(0,e.createElement)("path",{d:"M204.602 37.1442C205.411 36.3926 206.678 36.4385 207.415 37.2612C225.182 57.0896 235.305 82.6026 235.965 109.218C235.993 110.322 235.102 111.225 233.997 111.232L222.318 111.314C221.213 111.321 220.314 110.432 220.283 109.328C219.653 86.6327 211.025 64.8862 195.924 47.9333C195.189 47.1085 195.234 45.8442 196.043 45.0925L204.602 37.1442Z",fill:"url(#paint3_linear_6379_341177)"}),(0,e.createElement)("defs",null,(0,e.createElement)("linearGradient",{id:"paint0_linear_6379_341177",x1:"18.8444",y1:"112",x2:"48.7111",y2:"40.4445",gradientUnits:"userSpaceOnUse"},(0,e.createElement)("stop",{stopColor:"#C5500E"}),(0,e.createElement)("stop",{offset:"1",stopColor:"#C57A0A"})),(0,e.createElement)("linearGradient",{id:"paint1_linear_6379_341177",x1:"49.9556",y1:"37.3333",x2:"120.889",y2:"6.84444",gradientUnits:"userSpaceOnUse"},(0,e.createElement)("stop",{stopColor:"#B99414"}),(0,e.createElement)("stop",{offset:"1",stopColor:"#9EC500"})),(0,e.createElement)("linearGradient",{id:"paint2_linear_6379_341177",x1:"125.244",y1:"8.08889",x2:"196.8",y2:"36.7111",gradientUnits:"userSpaceOnUse"},(0,e.createElement)("stop",{stopColor:"#A6CE03"}),(0,e.createElement)("stop",{offset:"1",stopColor:"#32BC00"})),(0,e.createElement)("linearGradient",{id:"paint3_linear_6379_341177",x1:"199.289",y1:"40.4444",x2:"227.911",y2:"112",gradientUnits:"userSpaceOnUse"},(0,e.createElement)("stop",{stopColor:"#39BE00"}),(0,e.createElement)("stop",{offset:"1",stopColor:"#068E00"}))))}function Ga(t){var n=t.className;return(0,e.createElement)("svg",{height:"2",viewBox:"0 0 100 2",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("line",{x1:"99.7773",y1:"0.622222",x2:"0.221787",y2:"0.622231",stroke:"#EBEBEB",strokeWidth:"1.24444"}))}function Wa(t){var n=t.score,r=(0,e.useState)(0),a=r[0],o=r[1],i=n/100*165;(0,e.useEffect)((function(){setTimeout((function(){o(i)}),50)}),[i]);var s=xn(n);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"nota ntw-w-248px ntw-h-112px ntw-relative ntw-mt-5"},(0,e.createElement)(za,null),(0,e.createElement)("div",{className:"ntw-relative ntw-bottom-[23px] ntw-left-0 ntw-h-full ntw-w-full ntw-transform ntw-transition-transform ntw-duration-1000 ntw-ease-in-out",style:{transform:"rotate(".concat(a,"deg)"),transformOrigin:"center bottom"}},(0,e.createElement)(qa,{color:En[s]})),(0,e.createElement)("div",{className:"-translate-y-1/2 ntw-absolute ntw-left-1/2 ntw-top-1/2 ntw-w-full ntw--translate-x-1/2 ntw-text-center ntw-text-typography-medium"},(0,e.createElement)("div",{className:mn("ntw-mx-auto ntw-max-w-[200px] ntw-text-center ntw-text-2xl ntw-font-semibold",{"ntw-mt-[-25px]":s===vn.NeedsImprovement})},s),(0,e.createElement)(Ga,{className:"ntw-mx-auto ntw-mt-1"}),(0,e.createElement)("div",{className:"ntw-text-lg ntw-font-light"},"Overall Content Score"))),(0,e.createElement)("div",{className:"ntw-my-4"},(0,e.createElement)("div",{className:"ntw-flex ntw-flex-col ntw-gap-[8px] ntw-text-base ntw-text-typography-medium"},Mn[s])))}var Qa=Object.defineProperty,Ka=Object.defineProperties,$a=Object.getOwnPropertyDescriptors,Ja=Object.getOwnPropertySymbols,Ya=Object.prototype.hasOwnProperty,Xa=Object.prototype.propertyIsEnumerable,eo=(e,t,n)=>t in e?Qa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const to=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M90.86,50.89a12,12,0,0,0-21.72,0l-64,136a12,12,0,0,0,21.71,10.22L42.44,164h75.12l15.58,33.11a12,12,0,0,0,21.72-10.22ZM53.74,140,80,84.18,106.27,140ZM200,92c-13.85,0-24.77,3.86-32.45,11.48a12,12,0,1,0,16.9,17c3-3,8.26-4.52,15.55-4.52,9.34,0,17.19,5.16,19.37,12.1A47.32,47.32,0,0,0,200,124c-24.26,0-44,17.94-44,40s19.74,40,44,40a47.18,47.18,0,0,0,22-5.38A12,12,0,0,0,244,192V132C244,109.94,224.26,92,200,92Zm0,88c-11,0-20-7.18-20-16s9-16,20-16,20,7.18,20,16S211,180,200,180Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M232,164c0,15.46-14.33,28-32,28s-32-12.54-32-28,14.33-28,32-28S232,148.54,232,164ZM34.82,152h90.36L80,56Z",opacity:"0.2"}),a().createElement("path",{d:"M87.24,52.59a8,8,0,0,0-14.48,0l-64,136a8,8,0,1,0,14.48,6.81L39.9,160h80.2l16.66,35.4a8,8,0,1,0,14.48-6.81ZM47.43,144,80,74.79,112.57,144ZM200,96c-12.76,0-22.73,3.47-29.63,10.32a8,8,0,0,0,11.26,11.36c3.8-3.77,10-5.68,18.37-5.68,13.23,0,24,9,24,20v3.22A42.76,42.76,0,0,0,200,128c-22.06,0-40,16.15-40,36s17.94,36,40,36a42.73,42.73,0,0,0,24-7.25,8,8,0,0,0,16-.75V132C240,112.15,222.06,96,200,96Zm0,88c-13.23,0-24-9-24-20s10.77-20,24-20,24,9,24,20S213.23,184,200,184Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M200,156c0,6.5-7.33,12-16,12s-16-5.5-16-12,7.33-12,16-12S200,149.5,200,156ZM73.61,136h36.78L92,92.53ZM232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM143.37,172.88l-44-104a8,8,0,0,0-14.74,0l-44,104a8,8,0,0,0,14.74,6.24L66.84,152h50.32l11.47,27.12a8,8,0,0,0,14.74-6.24ZM216,132c0-15.44-14.36-28-32-28a34.86,34.86,0,0,0-20.78,6.68,8,8,0,0,0,9.56,12.83A18.84,18.84,0,0,1,184,120c8.56,0,15.8,5.36,16,11.76A35.24,35.24,0,0,0,184,128c-17.64,0-32,12.56-32,28s14.36,28,32,28a35.13,35.13,0,0,0,16.93-4.26A8,8,0,0,0,216,176Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M85.43,53.45a6,6,0,0,0-10.86,0l-64,136a6,6,0,1,0,10.86,5.11L38.63,158h82.74l17.2,36.55a6,6,0,1,0,10.86-5.11ZM44.28,146,80,70.09,115.72,146ZM200,98c-12.21,0-21.71,3.28-28.23,9.74a6,6,0,0,0,8.46,8.52c4.18-4.15,10.84-6.26,19.77-6.26,14.34,0,26,9.87,26,22v7.24A40.36,40.36,0,0,0,200,130c-20.95,0-38,15.25-38,34s17.05,34,38,34a40.36,40.36,0,0,0,26-9.24V192a6,6,0,0,0,12,0V132C238,113.25,221,98,200,98Zm0,88c-14.34,0-26-9.87-26-22s11.66-22,26-22,26,9.87,26,22S214.34,186,200,186Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M87.24,52.59a8,8,0,0,0-14.48,0l-64,136a8,8,0,1,0,14.48,6.81L39.9,160h80.2l16.66,35.4a8,8,0,1,0,14.48-6.81ZM47.43,144,80,74.79,112.57,144ZM200,96c-12.76,0-22.73,3.47-29.63,10.32a8,8,0,0,0,11.26,11.36c3.8-3.77,10-5.68,18.37-5.68,13.23,0,24,9,24,20v3.22A42.76,42.76,0,0,0,200,128c-22.06,0-40,16.15-40,36s17.94,36,40,36a42.73,42.73,0,0,0,24-7.25,8,8,0,0,0,16-.75V132C240,112.15,222.06,96,200,96Zm0,88c-13.23,0-24-9-24-20s10.77-20,24-20,24,9,24,20S213.23,184,200,184Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M83.62,54.3a4,4,0,0,0-7.24,0l-64,136a4,4,0,0,0,7.24,3.4L37.36,156h85.28l17.74,37.7a4,4,0,1,0,7.24-3.4ZM41.13,148,80,65.39,118.87,148ZM200,100c-11.67,0-20.69,3.08-26.82,9.16a4,4,0,1,0,5.64,5.68c4.57-4.54,11.7-6.84,21.18-6.84,15.44,0,28,10.77,28,24v11.92A37.78,37.78,0,0,0,200,132c-19.85,0-36,14.35-36,32s16.15,32,36,32a37.78,37.78,0,0,0,28-11.92V192a4,4,0,0,0,8,0V132C236,114.36,219.85,100,200,100Zm0,88c-15.44,0-28-10.77-28-24s12.56-24,28-24,28,10.77,28,24S215.44,188,200,188Z"}))]]),no=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>Ka(e,$a(t)))(((e,t)=>{for(var n in t||(t={}))Ya.call(t,n)&&eo(e,n,t[n]);if(Ja)for(var n of Ja(t))Xa.call(t,n)&&eo(e,n,t[n]);return e})({ref:t},e),{weights:to}))));no.displayName="TextAa";var ro=Object.defineProperty,ao=Object.defineProperties,oo=Object.getOwnPropertyDescriptors,io=Object.getOwnPropertySymbols,so=Object.prototype.hasOwnProperty,lo=Object.prototype.propertyIsEnumerable,co=(e,t,n)=>t in e?ro(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const uo=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M229.26,90.4a108,108,0,0,1-177.63,114A108,108,0,0,1,195.41,43.63l20.1-20.11a12,12,0,0,1,17,17l-96,96a12,12,0,1,1-17-17l24-24a36,36,0,1,0,19.76,39.65,12,12,0,0,1,23.53,4.74,60,60,0,1,1-25.73-62L178.3,60.74a84,84,0,1,0,28.46,38,12,12,0,1,1,22.5-8.35Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176,128a48,48,0,1,1-48-48A48,48,0,0,1,176,128Z",opacity:"0.2"}),a().createElement("path",{d:"M221.87,83.16A104.1,104.1,0,1,1,195.67,49l22.67-22.68a8,8,0,0,1,11.32,11.32l-96,96a8,8,0,0,1-11.32-11.32l27.72-27.72a40,40,0,1,0,17.87,31.09,8,8,0,1,1,16-.9,56,56,0,1,1-22.38-41.65L184.3,60.39a87.88,87.88,0,1,0,23.13,29.67,8,8,0,0,1,14.44-6.9Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M221.87,83.16A104.1,104.1,0,1,1,195.67,49l22.67-22.68a8,8,0,0,1,11.32,11.32L167.6,99.71h0l-37.71,37.71-23.95,23.95a40,40,0,0,0,62-35.67,8,8,0,1,1,16-.9,56,56,0,0,1-95.5,42.79h0a56,56,0,0,1,73.13-84.43L184.3,60.39a87.88,87.88,0,1,0,23.13,29.67,8,8,0,0,1,14.44-6.9Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M220.06,84a102.06,102.06,0,1,1-24.31-32.27l24-24a6,6,0,0,1,8.48,8.49l-96,96a6,6,0,1,1-8.48-8.49l29.39-29.4a42,42,0,1,0,16.78,31.24,6,6,0,1,1,12-.68A54,54,0,1,1,161.7,85.83l25.54-25.55a89.91,89.91,0,1,0,22,28.93A6,6,0,1,1,220.06,84Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M221.87,83.16A104.1,104.1,0,1,1,195.67,49l22.67-22.68a8,8,0,0,1,11.32,11.32l-96,96a8,8,0,0,1-11.32-11.32l27.72-27.72a40,40,0,1,0,17.87,31.09,8,8,0,1,1,16-.9,56,56,0,1,1-22.38-41.65L184.3,60.39a87.88,87.88,0,1,0,23.13,29.67,8,8,0,0,1,14.44-6.9Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M218.26,84.89a100.16,100.16,0,1,1-22.44-30.37l25.35-25.35a4,4,0,1,1,5.66,5.66l-96,96a4,4,0,0,1-5.66-5.66l31-31a44,44,0,1,0,15.78,31.3,4,4,0,0,1,8-.46,52,52,0,1,1-18.1-36.51l28.34-28.33A92,92,0,0,0,63,193.05,92,92,0,0,0,211,88.33a4,4,0,1,1,7.22-3.44Z"}))]]),fo=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>ao(e,oo(t)))(((e,t)=>{for(var n in t||(t={}))so.call(t,n)&&co(e,n,t[n]);if(io)for(var n of io(t))lo.call(t,n)&&co(e,n,t[n]);return e})({ref:t},e),{weights:uo}))));function po(t){var n=t.data,r=t.numberWords;if(!n)return null;var a=ur(n),o=a[0],i=a[1];return(0,e.createElement)("div",{className:"ntw-mt-4 ntw-flex ntw-gap-5"},ho(no,"".concat(r),"Words"),ho(fo,"".concat(o,"/").concat(i),"Criteria"))}fo.displayName="Target";var ho=function(t,n,r){return(0,e.createElement)("div",{className:"ntw-inline-flex ntw-w-full ntw-cursor-pointer ntw-flex-col ntw-gap-1  ntw-rounded-lg ntw-bg-gravity-100 ntw-p-3"},(0,e.createElement)(t,{className:"ntw-text-gravity-900",size:24}),(0,e.createElement)("div",{className:"ntw-text-lg ntw-font-semibold ntw-text-typography-medium"},n),(0,e.createElement)("div",{className:"ntw-text-xs ntw-font-normal ntw-text-typography-medium"},r))},mo=Object.defineProperty,Co=Object.defineProperties,yo=Object.getOwnPropertyDescriptors,go=Object.getOwnPropertySymbols,vo=Object.prototype.hasOwnProperty,bo=Object.prototype.propertyIsEnumerable,wo=(e,t,n)=>t in e?mo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Eo=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",opacity:"0.2"}),a().createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]]),xo=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>Co(e,yo(t)))(((e,t)=>{for(var n in t||(t={}))vo.call(t,n)&&wo(e,n,t[n]);if(go)for(var n of go(t))bo.call(t,n)&&wo(e,n,t[n]);return e})({ref:t},e),{weights:Eo}))));xo.displayName="Warning";var Mo=function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))},Lo=function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}};function So(t){var n=this,r=t.refreshData,a=t.loading,o=t.onDisplay,i=t.isDisabled;return(0,e.useEffect)((function(){o()}),[o]),(0,e.createElement)("div",{className:"ntw-rounded-lg ntw-border ntw-border-grade-warning-900 ntw-bg-grade-warning-100 ntw-p-4 ntw-text-center"},(0,e.createElement)("div",{className:"ntw-mx-auto ntw-flex ntw-w-fit ntw-items-center ntw-rounded-full ntw-bg-grade-warning-200 ntw-p-2"},(0,e.createElement)(xo,{className:"ntw-text-grade-warning-900",size:32})),(0,e.createElement)("div",{className:"ntw-mt-4 ntw-text-sm ntw-text-typography-dark"},"Your content has changed and the analysis is out of date, please re-analyze the page to update it."),(0,e.createElement)(Kn,{disabled:a||i,className:"ntw-mt-4 ntw-w-full",onClick:function(){return Mo(n,void 0,void 0,(function(){return Lo(this,(function(e){switch(e.label){case 0:return[4,r()];case 1:return e.sent(),[2]}}))}))}},a?"Loading...":"Refresh analysis"))}function Ao(t){var n=t.className;return(0,e.createElement)("svg",{viewBox:"0 0 182 134",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("path",{d:"M144.716 15.2148H42.4297V94.8055H144.716V15.2148Z",fill:"white"}),(0,e.createElement)("path",{d:"M144.716 94.8052C144.716 94.2095 144.686 63.2577 144.643 15.2145L144.716 15.2844H42.4396L42.5261 15.1978C42.5261 43.8867 42.5261 71.0215 42.5261 94.7885L42.4496 94.7087L144.736 94.7885L42.4496 94.8651H42.373V94.7885C42.373 71.0215 42.373 43.8734 42.373 15.1978V15.1113H42.4696H144.746H144.816V15.1845C144.759 63.2577 144.716 94.2095 144.716 94.8052Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M70.5494 88.1202C70.4995 88.1202 70.4629 79.468 70.4629 68.7991C70.4629 58.1302 70.4995 49.4746 70.5494 49.4746C70.5993 49.4746 70.6359 58.1269 70.6359 68.7991C70.6359 79.4713 70.6027 88.1202 70.5494 88.1202Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M114.945 88.1202C114.895 88.1202 114.858 79.468 114.858 68.7991C114.858 58.1302 114.895 49.4746 114.945 49.4746C114.995 49.4746 115.031 58.1269 115.031 68.7991C115.031 79.4713 114.992 88.1202 114.945 88.1202Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M85.7076 88.1211C85.661 88.1211 85.6211 77.0629 85.6211 63.4223C85.6211 49.7817 85.661 38.7168 85.7076 38.7168C85.7542 38.7168 85.7941 49.775 85.7941 63.4223C85.7941 77.0695 85.7575 88.1211 85.7076 88.1211Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M54.9918 88.1211C54.9419 88.1211 54.9053 77.0629 54.9053 63.4223C54.9053 49.7817 54.9419 38.7168 54.9918 38.7168C55.0417 38.7168 55.0783 49.775 55.0783 63.4223C55.0783 77.0695 55.0384 88.1211 54.9918 88.1211Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M132.367 88.1192C132.32 88.1192 132.28 77.0609 132.28 63.4203C132.28 49.7797 132.32 38.7148 132.367 38.7148C132.413 38.7148 132.453 49.7731 132.453 63.4203C132.453 77.0676 132.417 88.1192 132.367 88.1192Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M98.9986 88.1211C98.9487 88.1211 98.9121 75.3524 98.9121 59.602C98.9121 43.8515 98.9487 31.0762 98.9986 31.0762C99.0485 31.0762 99.0852 43.8449 99.0852 59.602C99.0852 75.359 99.0452 88.1211 98.9986 88.1211Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M70.9188 49.4741C70.9188 49.5458 70.8975 49.6159 70.8577 49.6756C70.8178 49.7352 70.7612 49.7817 70.6949 49.8092C70.6286 49.8366 70.5557 49.8438 70.4853 49.8298C70.415 49.8158 70.3503 49.7813 70.2996 49.7305C70.2489 49.6798 70.2143 49.6152 70.2003 49.5448C70.1863 49.4745 70.1935 49.4015 70.221 49.3352C70.2484 49.269 70.2949 49.2123 70.3546 49.1725C70.4142 49.1326 70.4843 49.1113 70.5561 49.1113C70.6523 49.1113 70.7445 49.1495 70.8126 49.2176C70.8806 49.2856 70.9188 49.3779 70.9188 49.4741Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M85.7075 39.079C85.9078 39.079 86.0702 38.9166 86.0702 38.7162C86.0702 38.5159 85.9078 38.3535 85.7075 38.3535C85.5071 38.3535 85.3447 38.5159 85.3447 38.7162C85.3447 38.9166 85.5071 39.079 85.7075 39.079Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M85.7077 39.9877C85.4563 39.9877 85.2105 39.9132 85.0015 39.7735C84.7924 39.6338 84.6295 39.4353 84.5333 39.203C84.4371 38.9707 84.4119 38.7151 84.461 38.4685C84.51 38.2219 84.6311 37.9954 84.8089 37.8176C84.9866 37.6399 85.2131 37.5188 85.4597 37.4697C85.7063 37.4207 85.9619 37.4459 86.1942 37.5421C86.4265 37.6383 86.625 37.8012 86.7647 38.0103C86.9044 38.2193 86.979 38.4651 86.979 38.7165C86.9781 39.0534 86.8439 39.3762 86.6057 39.6144C86.3674 39.8527 86.0446 39.9869 85.7077 39.9877ZM85.7077 37.5285C85.4728 37.5285 85.2431 37.5982 85.0477 37.7287C84.8523 37.8593 84.7001 38.0448 84.6101 38.2619C84.5202 38.479 84.4967 38.7178 84.5425 38.9483C84.5884 39.1788 84.7015 39.3904 84.8677 39.5566C85.0338 39.7227 85.2455 39.8359 85.476 39.8817C85.7064 39.9276 85.9453 39.904 86.1624 39.8141C86.3795 39.7242 86.565 39.5719 86.6955 39.3766C86.8261 39.1812 86.8958 38.9515 86.8958 38.7165C86.8949 38.4017 86.7694 38.1 86.5468 37.8774C86.3242 37.6548 86.0225 37.5294 85.7077 37.5285Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M98.9985 31.4384C99.1988 31.4384 99.3612 31.276 99.3612 31.0756C99.3612 30.8753 99.1988 30.7129 98.9985 30.7129C98.7981 30.7129 98.6357 30.8753 98.6357 31.0756C98.6357 31.276 98.7981 31.4384 98.9985 31.4384Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M114.946 50.2001C115.146 50.2001 115.308 50.0377 115.308 49.8373C115.308 49.637 115.146 49.4746 114.946 49.4746C114.745 49.4746 114.583 49.637 114.583 49.8373C114.583 50.0377 114.745 50.2001 114.946 50.2001Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M132.376 39.079C132.577 39.079 132.739 38.9166 132.739 38.7162C132.739 38.5159 132.577 38.3535 132.376 38.3535C132.176 38.3535 132.014 38.5159 132.014 38.7162C132.014 38.9166 132.176 39.079 132.376 39.079Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M55.3514 39.0795C55.3514 39.1514 55.3301 39.2217 55.2901 39.2814C55.2501 39.3411 55.1932 39.3876 55.1267 39.415C55.0603 39.4423 54.9872 39.4493 54.9167 39.435C54.8463 39.4208 54.7816 39.3859 54.731 39.3348C54.6804 39.2838 54.6462 39.2188 54.6325 39.1482C54.6189 39.0777 54.6266 39.0046 54.6546 38.9384C54.6825 38.8722 54.7295 38.8158 54.7896 38.7763C54.8497 38.7369 54.9202 38.7162 54.992 38.7168C55.0395 38.7168 55.0865 38.7262 55.1303 38.7445C55.1742 38.7628 55.2139 38.7895 55.2474 38.8233C55.2808 38.857 55.3072 38.897 55.325 38.941C55.3429 38.985 55.3519 39.0321 55.3514 39.0795Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M135.8 56.2007C135.709 56.2425 135.613 56.2737 135.514 56.2939C135.234 56.369 134.959 56.4635 134.692 56.5767C133.68 57.0487 132.78 57.7292 132.05 58.5734C131.051 59.645 130.07 61.1358 128.829 62.813C128.168 63.7182 127.436 64.5684 126.639 65.3554C126.195 65.7816 125.72 66.1742 125.218 66.5302C124.679 66.8971 124.104 67.2103 123.504 67.4653C122.204 67.99 120.805 68.2251 119.404 68.1541C118.661 68.1383 117.922 68.0457 117.198 67.8779C116.429 67.7145 115.702 67.3951 115.061 66.9395C114.409 66.462 113.845 65.8728 113.398 65.199C112.938 64.5335 112.526 63.828 112.126 63.1125C111.328 61.6716 110.502 60.2207 109.561 58.7631C108.619 57.3055 107.78 55.7348 106.825 54.204C105.895 52.6266 104.769 51.173 103.474 49.8779C102.804 49.2377 102.047 48.6954 101.225 48.2673C100.394 47.8431 99.4906 47.5778 98.5623 47.4852C96.6374 47.2996 94.7022 47.7134 93.0215 48.6699C91.3564 49.6743 89.9192 51.0152 88.8019 52.6067C87.6905 54.1549 86.6822 55.7746 85.7836 57.4553C84.9007 59.0946 83.9252 60.6823 82.8618 62.2107C81.8427 63.6864 80.6556 65.0388 79.3243 66.2406C78.9972 66.5312 78.6551 66.8044 78.2994 67.0593C77.95 67.3155 77.5867 67.5521 77.2112 67.7681C76.4732 68.1967 75.6807 68.5236 74.8551 68.7398C74.4511 68.8474 74.0395 68.9241 73.6238 68.9694C73.4186 68.9954 73.2117 69.0065 73.0049 69.0027C72.7985 69.0027 72.5922 69.0027 72.3892 69.0027C71.5872 68.9581 70.7942 68.8104 70.0298 68.5634C68.607 68.0611 67.2625 67.3598 66.0365 66.4802C64.8518 65.6649 63.7703 64.8163 62.7087 64.0576C61.7264 63.3102 60.6679 62.6688 59.5506 62.1441C58.5552 61.6842 57.4943 61.3822 56.4059 61.249C55.4608 61.1364 54.5032 61.1984 53.5806 61.432C53.3724 61.4839 53.1678 61.5495 52.9683 61.6283C52.7717 61.6881 52.5802 61.7638 52.3959 61.8546C52.0498 62.0136 51.7161 62.1983 51.3975 62.407C50.863 62.7627 50.3608 63.1647 49.8967 63.6084L49.3743 64.1807C49.2234 64.3339 49.0833 64.4974 48.955 64.6699L48.4258 65.3654C48.3682 65.4483 48.3024 65.5252 48.2295 65.595C48.2695 65.5024 48.3209 65.4152 48.3826 65.3355L48.8718 64.6067C48.9945 64.4282 49.129 64.2581 49.2744 64.0975L49.7869 63.5019C50.2457 63.0335 50.7483 62.61 51.2877 62.2373C51.605 62.0167 51.9387 61.8209 52.2861 61.6516C52.4728 61.5539 52.6676 61.4726 52.8684 61.4087C53.0729 61.3222 53.283 61.2499 53.4974 61.1924C54.4485 60.9344 55.4392 60.8554 56.4192 60.9594C57.5413 61.0813 58.6374 61.3789 59.6671 61.8413C60.8119 62.3646 61.8983 63.0071 62.9084 63.7581C63.9799 64.5168 65.0681 65.3521 66.2362 66.1475C67.4338 66.9925 68.7445 67.6647 70.1297 68.1441C70.8591 68.3743 71.6152 68.5096 72.3792 68.5468C72.5723 68.5468 72.7653 68.5468 72.9616 68.5468C73.1564 68.5495 73.3511 68.5373 73.544 68.5102C73.9373 68.4658 74.3267 68.3912 74.7087 68.2872C76.3054 67.8353 77.7736 67.0146 78.9949 65.8912C80.2926 64.7094 81.4494 63.3817 82.4425 61.9345C83.4911 60.4198 84.4544 58.8478 85.3277 57.2257C86.2329 55.5239 87.2501 53.8841 88.3726 52.3172C89.5334 50.668 91.0248 49.2786 92.752 48.2373C93.6419 47.7368 94.6022 47.3733 95.6005 47.1591C96.5847 46.9523 97.5944 46.8951 98.5956 46.9894C99.5906 47.0886 100.558 47.3742 101.447 47.8313C102.314 48.2796 103.111 48.8513 103.814 49.5285C105.136 50.856 106.286 52.344 107.238 53.9578C108.196 55.5052 109.048 57.0659 109.957 58.5268C110.865 59.9877 111.73 61.4719 112.516 62.9062C113.301 64.3405 114.09 65.7448 115.308 66.6067C115.905 67.0366 116.585 67.338 117.304 67.4919C118 67.6554 118.71 67.749 119.424 67.7714C120.77 67.8489 122.116 67.6344 123.371 67.1425C123.953 66.9022 124.51 66.6057 125.035 66.2573C125.526 65.9175 125.991 65.5416 126.426 65.1325C127.221 64.3671 127.952 63.5379 128.612 62.6533C129.87 60.9894 130.892 59.5185 131.92 58.4536C132.679 57.6026 133.618 56.9318 134.669 56.4902C134.943 56.3834 135.227 56.3043 135.517 56.2539C135.61 56.2273 135.704 56.2095 135.8 56.2007Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M72.4635 24.1465H54.6299V25.1382H72.4635V24.1465Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M63.4419 26.4688H54.6299V27.4604H63.4419V26.4688Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M43.8075 8.72266H143.215C143.613 8.72266 143.995 8.88078 144.276 9.16224C144.558 9.4437 144.716 9.82544 144.716 10.2235V15.2152H42.3066V10.2235C42.3066 9.82544 42.4648 9.4437 42.7462 9.16224C43.0277 8.88078 43.4094 8.72266 43.8075 8.72266Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M47.6145 12.0934C47.6145 12.2316 47.5735 12.3667 47.4967 12.4816C47.4199 12.5965 47.3108 12.6861 47.1831 12.739C47.0554 12.7919 46.9149 12.8057 46.7793 12.7788C46.6437 12.7518 46.5192 12.6853 46.4215 12.5875C46.3237 12.4898 46.2572 12.3653 46.2302 12.2297C46.2033 12.0941 46.2171 11.9536 46.27 11.8259C46.3229 11.6982 46.4125 11.5891 46.5274 11.5123C46.6423 11.4355 46.7774 11.3945 46.9156 11.3945C47.101 11.3945 47.2787 11.4682 47.4098 11.5992C47.5408 11.7303 47.6145 11.908 47.6145 12.0934Z",fill:"white"}),(0,e.createElement)("path",{d:"M50.6662 12.0934C50.6662 12.2316 50.6252 12.3667 50.5485 12.4816C50.4717 12.5965 50.3625 12.6861 50.2348 12.739C50.1071 12.7919 49.9666 12.8057 49.8311 12.7788C49.6955 12.7518 49.571 12.6853 49.4732 12.5875C49.3755 12.4898 49.3089 12.3653 49.282 12.2297C49.255 12.0941 49.2689 11.9536 49.3218 11.8259C49.3746 11.6982 49.4642 11.5891 49.5791 11.5123C49.6941 11.4355 49.8292 11.3945 49.9674 11.3945C50.1527 11.3945 50.3305 11.4682 50.4615 11.5992C50.5926 11.7303 50.6662 11.908 50.6662 12.0934Z",fill:"white"}),(0,e.createElement)("path",{d:"M53.7141 12.0934C53.7141 12.2316 53.6731 12.3667 53.5963 12.4816C53.5195 12.5965 53.4104 12.6861 53.2827 12.739C53.155 12.7919 53.0145 12.8057 52.8789 12.7788C52.7433 12.7518 52.6188 12.6853 52.5211 12.5875C52.4234 12.4898 52.3568 12.3653 52.3298 12.2297C52.3029 12.0941 52.3167 11.9536 52.3696 11.8259C52.4225 11.6982 52.5121 11.5891 52.627 11.5123C52.7419 11.4355 52.877 11.3945 53.0152 11.3945C53.2006 11.3945 53.3783 11.4682 53.5094 11.5992C53.6404 11.7303 53.7141 11.908 53.7141 12.0934Z",fill:"white"}),(0,e.createElement)("path",{d:"M43.9105 62.0508H4.06023C3.46659 62.0508 2.98535 62.532 2.98535 63.1257V72.7529C2.98535 73.3466 3.46659 73.8278 4.06023 73.8278H43.9105C44.5041 73.8278 44.9853 73.3466 44.9853 72.7529V63.1257C44.9853 62.532 44.5041 62.0508 43.9105 62.0508Z",fill:"#E6E6E6"}),(0,e.createElement)("path",{d:"M11.837 69.9C11.5204 70.2949 11.0938 70.587 10.6112 70.7395C10.1286 70.892 9.61159 70.8979 9.12559 70.7565C8.6396 70.6152 8.20643 70.3329 7.88088 69.9453C7.55532 69.5578 7.352 69.0824 7.29662 68.5793C7.24124 68.0762 7.33628 67.568 7.56974 67.1189C7.80319 66.6698 8.16458 66.3001 8.60818 66.0564C9.05179 65.8127 9.5577 65.706 10.0619 65.7498C10.5662 65.7937 11.0461 65.986 11.441 66.3026C11.7036 66.5126 11.9221 66.7723 12.0842 67.0668C12.2463 67.3613 12.3486 67.685 12.3854 68.0191C12.4222 68.3533 12.3927 68.6914 12.2986 69.0142C12.2045 69.3369 12.0476 69.6379 11.837 69.9Z",fill:"white"}),(0,e.createElement)("path",{d:"M11.2815 67.4316C10.8607 67.9598 10.3965 68.4518 9.89377 68.9025C9.78063 69.0157 9.66748 69.1255 9.56099 69.2353L9.50109 69.2952L9.44119 69.2353C9.05986 68.8846 8.71327 68.4979 8.40625 68.0806C8.82357 68.3876 9.21028 68.7342 9.56099 69.1155H9.44452L9.7773 68.7827C10.2395 68.2905 10.7427 67.8386 11.2815 67.4316Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M40.886 67.0748C40.886 67.1214 35.5615 67.1613 28.9625 67.1613C22.3635 67.1613 17.0391 67.1214 17.0391 67.0748C17.0391 67.0282 22.3635 66.9883 28.9625 66.9883C35.5615 66.9883 40.886 67.0249 40.886 67.0748Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M31.105 69.4049C31.105 69.4515 28.0168 69.4914 24.2098 69.4914C20.4029 69.4914 17.3047 69.4515 17.3047 69.4049C17.3047 69.3583 20.3895 69.3184 24.1965 69.3184C28.0035 69.3184 31.105 69.355 31.105 69.4049Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M55.9176 33.6777H16.2537C15.7722 33.6777 15.3818 34.0681 15.3818 34.5496V50.0005C15.3818 50.4821 15.7722 50.8724 16.2537 50.8724H55.9176C56.3991 50.8724 56.7895 50.4821 56.7895 50.0005V34.5496C56.7895 34.0681 56.3991 33.6777 55.9176 33.6777Z",fill:"#E0E0E0"}),(0,e.createElement)("path",{d:"M23.9833 39.1118C23.9833 39.4935 23.8701 39.8667 23.658 40.1841C23.4459 40.5015 23.1445 40.7489 22.7918 40.895C22.4391 41.041 22.051 41.0793 21.6766 41.0048C21.3022 40.9303 20.9583 40.7465 20.6884 40.4766C20.4184 40.2066 20.2346 39.8627 20.1601 39.4883C20.0857 39.1139 20.1239 38.7258 20.27 38.3731C20.4161 38.0205 20.6634 37.719 20.9808 37.5069C21.2983 37.2948 21.6714 37.1816 22.0532 37.1816C22.3066 37.1816 22.5576 37.2316 22.7918 37.3286C23.026 37.4256 23.2387 37.5677 23.418 37.747C23.5972 37.9262 23.7394 38.139 23.8364 38.3731C23.9334 38.6073 23.9833 38.8583 23.9833 39.1118Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M39.365 37.7773H25.9141V38.5228H39.365V37.7773Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M52.0771 39.4746H25.9141V40.22H52.0771V39.4746Z",fill:"white"}),(0,e.createElement)("path",{d:"M23.9833 45.0454C23.9833 45.4271 23.8701 45.8003 23.658 46.1177C23.4459 46.4351 23.1445 46.6825 22.7918 46.8286C22.4391 46.9746 22.051 47.0129 21.6766 46.9384C21.3022 46.8639 20.9583 46.6801 20.6884 46.4102C20.4184 46.1402 20.2346 45.7963 20.1601 45.4219C20.0857 45.0475 20.1239 44.6594 20.27 44.3067C20.4161 43.9541 20.6634 43.6526 20.9808 43.4405C21.2983 43.2284 21.6714 43.1152 22.0532 43.1152C22.3068 43.1148 22.5579 43.1644 22.7923 43.2613C23.0267 43.3581 23.2396 43.5003 23.4189 43.6796C23.5983 43.8589 23.7404 44.0718 23.8372 44.3062C23.9341 44.5406 23.9837 44.7918 23.9833 45.0454Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M32.7826 43.7148H25.9141V44.4603H32.7826V43.7148Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M52.0771 45.4082H25.9141V46.1536H52.0771V45.4082Z",fill:"white"}),(0,e.createElement)("path",{d:"M74.7852 78.8984H23.9965C23.2687 78.8984 22.6787 79.4884 22.6787 80.2162V100.289C22.6787 101.017 23.2687 101.607 23.9965 101.607H74.7852C75.513 101.607 76.103 101.017 76.103 100.289V80.2162C76.103 79.4884 75.513 78.8984 74.7852 78.8984Z",fill:"#E0E0E0"}),(0,e.createElement)("path",{d:"M32.4525 89.8713L32.4225 85.2656C31.0182 85.2907 29.6691 85.8172 28.6189 86.7498C27.9468 87.3342 27.4285 88.0746 27.1093 88.9061C26.7902 89.7375 26.6801 90.6346 26.7886 91.5185C26.8119 91.7382 26.8485 91.9611 26.8951 92.1841C26.8966 92.1895 26.8966 92.1953 26.8951 92.2007L32.4458 90.9528L32.4525 89.8713Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M38.1734 88.4522C37.7676 87.5825 37.14 86.835 36.3538 86.2848C35.5675 85.7345 34.6503 85.4009 33.6942 85.3174L33.5179 85.3008H33.4047C33.2949 85.3008 33.1851 85.3008 33.0719 85.3008H33.042L33.0719 89.9064V90.988L38.6293 92.1793C38.7153 91.787 38.7566 91.3862 38.7525 90.9846C38.7481 90.1082 38.5504 89.2435 38.1734 88.4522Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.2"},(0,e.createElement)("path",{d:"M38.1734 88.4522C37.7676 87.5825 37.14 86.835 36.3538 86.2848C35.5675 85.7345 34.6503 85.4009 33.6942 85.3174L33.5179 85.3008H33.4047C33.2949 85.3008 33.1851 85.3008 33.0719 85.3008H33.042L33.0719 89.9064V90.988L38.6293 92.1793C38.7153 91.787 38.7566 91.3862 38.7525 90.9846C38.7481 90.1082 38.5504 89.2435 38.1734 88.4522Z",fill:"black"})),(0,e.createElement)("path",{d:"M32.7486 91.5156L27.2012 92.7669C27.487 94.0289 28.1944 95.1559 29.2067 95.9619C30.2191 96.7679 31.4759 97.2048 32.7699 97.2006C34.0639 97.1963 35.3179 96.7511 36.3249 95.9385C37.3319 95.1258 38.0319 93.9942 38.3093 92.7303L32.7586 91.519",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.1"},(0,e.createElement)("path",{d:"M32.7486 91.5156L27.2012 92.7669C27.487 94.0289 28.1944 95.1559 29.2067 95.9619C30.2191 96.7679 31.4759 97.2048 32.7699 97.2006C34.0639 97.1963 35.3179 96.7511 36.3249 95.9385C37.3319 95.1258 38.0319 93.9942 38.3093 92.7303L32.7586 91.519",fill:"black"})),(0,e.createElement)("path",{d:"M70.6758 86.6426H42.4795V87.9205H70.6758V86.6426Z",fill:"white"}),(0,e.createElement)("path",{d:"M70.6758 90.0098H42.4795V91.2876H70.6758V90.0098Z",fill:"white"}),(0,e.createElement)("path",{d:"M57.7208 93.7344H42.4795V95.0122H57.7208V93.7344Z",fill:"white"}),(0,e.createElement)("path",{d:"M137.857 62.7969H87.7508C86.2052 62.7969 84.9521 64.0499 84.9521 65.5955V113.632C84.9521 115.178 86.2052 116.431 87.7508 116.431H137.857C139.403 116.431 140.656 115.178 140.656 113.632V65.5955C140.656 64.0499 139.403 62.7969 137.857 62.7969Z",fill:"#E6E6E6"}),(0,e.createElement)("path",{d:"M90.6727 99.5371H88.8457V100.063H90.6727V99.5371Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M95.3219 102.355H92.9824V102.881H95.3219V102.355Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M103.462 102.357H101.122V102.883H103.462V102.357Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M111.597 102.355H109.258V102.881H111.597V102.355Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M119.737 102.355H117.397V102.881H119.737V102.355Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M127.878 102.355H125.538V102.881H127.878V102.355Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M136.017 102.357H133.678V102.883H136.017V102.357Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M90.6727 92.5039H88.8457V93.0297H90.6727V92.5039Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M90.6727 79.2578H88.8457V79.7836H90.6727V79.2578Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M90.6727 72.6055H88.8457V73.1313H90.6727V72.6055Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M90.7654 85.8809H88.9385V86.4066H90.7654V85.8809Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M135.95 100.067H135.754H135.178L132.965 100.083L124.829 100.11L97.9869 100.136H91.541V100.053C91.541 91.0682 91.5643 83.178 91.571 77.5174C91.571 74.6921 91.5909 72.4293 91.5976 70.8619C91.5976 70.0865 91.5976 69.4842 91.5976 69.0715C91.5976 68.8718 91.5976 68.7188 91.5976 68.6056C91.5947 68.5535 91.5947 68.5013 91.5976 68.4492C91.6005 68.5013 91.6005 68.5535 91.5976 68.6056C91.5976 68.7188 91.5976 68.8718 91.5976 69.0715C91.5976 69.4842 91.5976 70.0699 91.5976 70.8619C91.5976 72.4293 91.6142 74.6921 91.6242 77.5174C91.6242 83.1747 91.6409 91.0782 91.6542 100.053L91.5676 99.9667H97.927L124.769 99.99L132.905 100.017L135.118 100.033H135.694L135.95 100.067Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M136.463 86.1432C136.463 86.1931 126.812 86.2297 114.932 86.2297C103.052 86.2297 93.3945 86.1931 93.3945 86.1432C93.3945 86.0932 103.045 86.0566 114.932 86.0566C126.819 86.0566 136.463 86.0966 136.463 86.1432Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M136.463 79.5338C136.463 79.5804 126.812 79.6203 114.932 79.6203C103.052 79.6203 93.3945 79.5804 93.3945 79.5338C93.3945 79.4872 103.045 79.4473 114.932 79.4473C126.819 79.4473 136.463 79.4739 136.463 79.5338Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M136.463 72.8795C136.463 72.9261 126.812 72.966 114.932 72.966C103.052 72.966 93.3945 72.9261 93.3945 72.8795C93.3945 72.8329 103.045 72.793 114.932 72.793C126.819 72.793 136.463 72.8196 136.463 72.8795Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M136.463 92.7662C136.463 92.8128 126.812 92.8527 114.932 92.8527C103.052 92.8527 93.3945 92.8128 93.3945 92.7662C93.3945 92.7196 103.045 92.6797 114.932 92.6797C126.819 92.6797 136.463 92.7196 136.463 92.7662Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M93.8438 98.64V92.7664L97.5043 87.0825L99.9902 88.9894L105.088 81.0659L108.083 83.1857L112.27 75.8646L115.671 78.6333L120.769 68.9395L126.263 79.7747L130.709 74.3538L135.94 72.8563V98.6266L93.8438 98.64Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M136.463 70.782H136.373H136.1H135.039L131.026 70.8019H131.062L126.763 76.4226L126.739 76.4492H126.706L115.937 76.4658L116.011 76.4259L111.481 83.9733L107.036 91.361L106.972 91.4675L106.896 91.3677L101.065 83.3444H101.182L95.8575 91.6372C95.2219 92.6356 94.7194 93.3943 94.3733 93.9267C94.2069 94.1863 94.0738 94.3826 93.9806 94.5257C93.8874 94.6688 93.8408 94.7254 93.8408 94.7254C93.8408 94.7254 93.8808 94.6522 93.9639 94.5157C94.0471 94.3793 94.1769 94.1663 94.34 93.9034L95.7909 91.5906L101.062 83.2712L101.115 83.1846L101.179 83.2678C102.922 85.6539 104.896 88.356 107.032 91.2745H106.892L111.332 83.8835L115.867 76.3494L115.891 76.3094H115.937H126.706L126.653 76.3361L130.979 70.7387V70.7188H131.006L135.019 70.742H136.08H136.353L136.463 70.782Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M102.886 85.1924C102.888 85.2746 102.866 85.3556 102.823 85.4252C102.779 85.4948 102.715 85.5497 102.64 85.583C102.565 85.6163 102.482 85.6264 102.401 85.612C102.32 85.5976 102.245 85.5594 102.186 85.5023C102.127 85.4451 102.087 85.3717 102.07 85.2913C102.052 85.2109 102.06 85.1272 102.091 85.0511C102.121 84.9749 102.174 84.9096 102.242 84.8637C102.311 84.8177 102.391 84.7931 102.473 84.7931C102.526 84.7918 102.58 84.8011 102.629 84.8205C102.679 84.84 102.725 84.8691 102.763 84.9063C102.801 84.9434 102.832 84.9879 102.853 85.037C102.874 85.0862 102.885 85.139 102.886 85.1924Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M115.308 78.1259C115.311 78.2081 115.289 78.2891 115.245 78.3587C115.202 78.4283 115.138 78.4833 115.063 78.5165C114.988 78.5498 114.905 78.5599 114.824 78.5455C114.743 78.5311 114.668 78.4929 114.609 78.4358C114.55 78.3786 114.509 78.3052 114.492 78.2248C114.475 78.1444 114.483 78.0608 114.513 77.9846C114.544 77.9084 114.597 77.8431 114.665 77.7972C114.733 77.7512 114.814 77.7267 114.896 77.7266C114.949 77.7257 115.002 77.7354 115.052 77.755C115.101 77.7746 115.147 77.8037 115.185 77.8408C115.223 77.8779 115.254 77.9222 115.275 77.9711C115.296 78.02 115.308 78.0726 115.308 78.1259Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M124.965 76.3935C124.969 76.4766 124.947 76.5587 124.903 76.6293C124.86 76.7 124.796 76.7559 124.72 76.7898C124.644 76.8238 124.56 76.8342 124.478 76.8199C124.396 76.8055 124.32 76.7669 124.26 76.7091C124.201 76.6513 124.16 76.5769 124.143 76.4956C124.126 76.4143 124.133 76.3297 124.165 76.2527C124.196 76.1758 124.25 76.1101 124.319 76.064C124.388 76.0179 124.47 75.9936 124.553 75.9942C124.606 75.9933 124.659 76.0029 124.709 76.0225C124.758 76.0421 124.803 76.0713 124.842 76.1084C124.88 76.1455 124.911 76.1897 124.932 76.2387C124.953 76.2876 124.965 76.3402 124.965 76.3935Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M95.6546 111.967C97.1305 111.967 98.3268 110.815 98.3268 109.395C98.3268 107.974 97.1305 106.822 95.6546 106.822C94.1788 106.822 92.9824 107.974 92.9824 109.395C92.9824 110.815 94.1788 111.967 95.6546 111.967Z",fill:"white"}),(0,e.createElement)("path",{d:"M133.678 107.672H102.29V108.634H133.678V107.672Z",fill:"white"}),(0,e.createElement)("path",{d:"M115.322 110.076H102.29V111.038H115.322V110.076Z",fill:"white"}),(0,e.createElement)("path",{d:"M158.067 21.1387H124.37C123.462 21.1387 122.726 21.8747 122.726 22.7826V50.1703C122.726 51.0782 123.462 51.8142 124.37 51.8142H158.067C158.975 51.8142 159.711 51.0782 159.711 50.1703V22.7826C159.711 21.8747 158.975 21.1387 158.067 21.1387Z",fill:"#E6E6E6"}),(0,e.createElement)("path",{d:"M131.175 33.4219H129.182V48.4735H131.175V33.4219Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M140.236 32.1992H138.243V48.4721H140.236V32.1992Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M149.621 30.1328H147.628V48.4722H149.621V30.1328Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M145.215 41.1426H143.222V48.4704H145.215V41.1426Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.2"},(0,e.createElement)("path",{d:"M145.215 41.1426H143.222V48.4704H145.215V41.1426Z",fill:"black"})),(0,e.createElement)("path",{d:"M133.498 31.8086H131.505V48.4742H133.498V31.8086Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.1"},(0,e.createElement)("path",{d:"M133.498 31.8086H131.505V48.4742H133.498V31.8086Z",fill:"black"})),(0,e.createElement)("path",{d:"M142.723 28.3164H140.729V48.4728H142.723V28.3164Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.1"},(0,e.createElement)("path",{d:"M142.723 28.3164H140.729V48.4728H142.723V28.3164Z",fill:"black"})),(0,e.createElement)("path",{d:"M154.766 28.3164H152.772V48.4728H154.766V28.3164Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.2"},(0,e.createElement)("path",{d:"M154.766 28.3164H152.772V48.4728H154.766V28.3164Z",fill:"black"})),(0,e.createElement)("path",{d:"M152.163 24.3359H150.17V48.4724H152.163V24.3359Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.1"},(0,e.createElement)("path",{d:"M152.163 24.3359H150.17V48.4724H152.163V24.3359Z",fill:"black"})),(0,e.createElement)("path",{d:"M135.937 37.8984H133.943V48.4741H135.937V37.8984Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.2"},(0,e.createElement)("path",{d:"M135.937 37.8984H133.943V48.4741H135.937V37.8984Z",fill:"black"})),(0,e.createElement)("path",{d:"M157.618 49.3853C157.618 49.4353 150.503 49.4719 141.731 49.4719C132.959 49.4719 125.841 49.4353 125.841 49.3853C125.841 49.3354 132.952 49.2988 141.731 49.2988C150.51 49.2988 157.618 49.3388 157.618 49.3853Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M126.134 45.793H124.916V46.1956H126.134V45.793Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M126.134 40.4395H124.916V40.8421H126.134V40.4395Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M126.134 30.3555H124.916V30.7581H126.134V30.3555Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M126.134 25.291H124.916V25.6937H126.134V25.291Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M126.196 35.3984H124.979V35.8011H126.196V35.3984Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M116.999 18.6465H81.2116C80.618 18.6465 80.1367 19.1277 80.1367 19.7214V28.2072C80.1367 28.8009 80.618 29.2821 81.2116 29.2821H116.999C117.592 29.2821 118.073 28.8009 118.073 28.2072V19.7214C118.073 19.1277 117.592 18.6465 116.999 18.6465Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M88.1332 25.7369C87.8469 26.0937 87.4612 26.3576 87.025 26.4951C86.5887 26.6327 86.1214 26.6378 85.6823 26.5098C85.2431 26.3818 84.8517 26.1265 84.5577 25.776C84.2637 25.4256 84.0802 24.9959 84.0304 24.5412C83.9805 24.0864 84.0667 23.6272 84.2779 23.2214C84.4892 22.8157 84.816 22.4817 85.217 22.2617C85.6181 22.0416 86.0753 21.9455 86.531 21.9854C86.9867 22.0253 87.4204 22.1994 87.7771 22.4857C88.2517 22.8722 88.5551 23.4299 88.6217 24.0383C88.6883 24.6467 88.5129 25.2569 88.1332 25.7369Z",fill:"white"}),(0,e.createElement)("path",{d:"M86.3263 26.6219C85.7523 26.5915 85.2098 26.35 84.8032 25.9437C84.3965 25.5375 84.1544 24.9952 84.1234 24.4213C84.0925 23.8473 84.2748 23.2821 84.6354 22.8345C84.996 22.3868 85.5093 22.0883 86.0768 21.9963C86.1621 21.9914 86.2476 21.9914 86.333 21.9963C86.7682 22.0007 87.1936 22.1269 87.5608 22.3606C87.928 22.5944 88.2223 22.9264 88.4104 23.3189C88.5985 23.7114 88.6729 24.1488 88.6251 24.5815C88.5773 25.0141 88.4092 25.4247 88.14 25.7667C87.9501 26.0054 87.7146 26.204 87.4472 26.3508C87.1798 26.4976 86.8859 26.5898 86.5826 26.6219C86.4972 26.6268 86.4117 26.6268 86.3263 26.6219ZM86.3263 21.9996C86.241 21.9948 86.1554 21.9948 86.0701 21.9996C85.6939 22.0414 85.3338 22.1753 85.0216 22.3895C84.7095 22.6036 84.4549 22.8914 84.2805 23.2273C84.1061 23.5633 84.0172 23.9371 84.0216 24.3156C84.0261 24.6941 84.1238 25.0657 84.3061 25.3974C84.4884 25.7292 84.7497 26.0109 85.0668 26.2176C85.3839 26.4243 85.7471 26.5496 86.1242 26.5825C86.5013 26.6154 86.8807 26.5548 87.2288 26.4061C87.5769 26.2575 87.883 26.0253 88.12 25.7301C88.3915 25.3917 88.5618 24.9835 88.6114 24.5526C88.661 24.1216 88.5879 23.6854 88.4005 23.2941C88.213 22.9029 87.9189 22.5726 87.5519 22.3412C87.185 22.1098 86.7601 21.9868 86.3263 21.9863V21.9996Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M87.6279 23.5039C87.2566 23.9865 86.8398 24.4322 86.3833 24.835L86.0805 25.1279L86.0173 25.1878L85.9607 25.1279C85.6156 24.8117 85.3044 24.4604 85.0322 24.0796C85.413 24.3518 85.7643 24.663 86.0805 25.0081H85.9607L86.2635 24.7086C86.6806 24.2662 87.1373 23.863 87.6279 23.5039Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M114.37 23.1861C114.37 23.2327 109.548 23.2727 103.601 23.2727C97.6544 23.2727 92.8291 23.2327 92.8291 23.1861C92.8291 23.1395 97.6511 23.0996 103.601 23.0996C109.551 23.0996 114.37 23.1362 114.37 23.1861Z",fill:"white"}),(0,e.createElement)("path",{d:"M105.535 25.2916C105.535 25.3382 102.749 25.3781 99.3083 25.3781C95.8674 25.3781 93.082 25.3382 93.082 25.2916C93.082 25.245 95.8707 25.2051 99.3083 25.2051C102.746 25.2051 105.535 25.2384 105.535 25.2916Z",fill:"white"}),(0,e.createElement)("path",{d:"M139.746 67.4489C139.746 67.4489 140.031 64.4062 140.32 64.4318C140.609 64.4575 140.657 64.9961 140.621 65.259C140.586 65.5219 140.621 66.5415 140.621 66.5415L139.746 67.4489Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M165.854 64.9572L164.396 75.2173L171.129 104.632L152.532 106.12L160.548 58.7498C160.548 58.7498 165.838 58.1502 165.854 64.9572Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M142.99 116.734L141.916 128.873H146.504L148.527 116.734H142.99Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M141.916 128.875C141.916 128.875 138.819 129.276 138.268 129.673L146.383 129.577L146.505 128.875H141.916Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M138.268 129.676V130L146.623 129.91V129.561L138.268 129.676Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M141.236 129.862C141.191 129.881 141.06 129.631 140.79 129.435C140.521 129.24 140.249 129.179 140.255 129.134C140.261 129.089 140.576 129.076 140.896 129.307C141.217 129.538 141.265 129.852 141.236 129.862Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M146.61 128.633C146.61 128.678 146.052 128.79 145.418 129.092C144.783 129.393 144.334 129.733 144.302 129.71C144.582 129.372 144.942 129.108 145.35 128.944C145.737 128.734 146.171 128.627 146.61 128.633Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M146.421 128.435C144.915 128.469 143.408 128.393 141.913 128.208C142.661 128.166 143.411 128.178 144.157 128.243C144.916 128.252 145.672 128.316 146.421 128.435Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M146.96 126.838C146.144 127.071 145.314 127.25 144.475 127.373C143.645 127.552 142.806 127.678 141.961 127.752C142.777 127.522 143.607 127.343 144.446 127.216C145.275 127.038 146.115 126.912 146.96 126.838Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M146.88 126.897C146.67 126.9 146.463 126.855 146.274 126.765C146.061 126.681 145.859 126.574 145.671 126.445C145.558 126.371 145.451 126.288 145.35 126.198C145.288 126.144 145.24 126.076 145.209 125.999C145.193 125.954 145.186 125.906 145.191 125.858C145.195 125.81 145.21 125.764 145.235 125.723C145.263 125.682 145.303 125.649 145.349 125.629C145.394 125.609 145.445 125.601 145.495 125.608C145.572 125.619 145.648 125.64 145.719 125.672C145.845 125.724 145.965 125.791 146.075 125.871C146.263 126.003 146.425 126.171 146.55 126.364C146.679 126.533 146.754 126.736 146.764 126.948C146.739 126.948 146.678 126.724 146.444 126.429C146.315 126.258 146.158 126.11 145.979 125.993C145.879 125.923 145.771 125.864 145.658 125.819C145.54 125.765 145.405 125.742 145.37 125.819C145.351 125.868 145.35 125.922 145.366 125.972C145.383 126.021 145.415 126.064 145.459 126.092C145.552 126.179 145.649 126.26 145.751 126.336C145.929 126.458 146.117 126.565 146.312 126.656C146.655 126.817 146.883 126.871 146.88 126.897Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M146.837 127.016C146.737 126.833 146.697 126.623 146.722 126.416C146.732 126.196 146.78 125.979 146.863 125.775C146.913 125.651 146.978 125.534 147.055 125.425C147.097 125.366 147.142 125.309 147.19 125.255C147.219 125.219 147.256 125.19 147.297 125.17C147.339 125.149 147.384 125.138 147.431 125.137C147.48 125.14 147.527 125.156 147.568 125.183C147.608 125.211 147.641 125.249 147.661 125.294C147.697 125.368 147.712 125.449 147.706 125.531C147.7 125.666 147.679 125.799 147.642 125.929C147.576 126.147 147.467 126.35 147.322 126.525C147.204 126.697 147.036 126.828 146.841 126.9C146.841 126.878 147.023 126.753 147.229 126.458C147.347 126.285 147.434 126.093 147.485 125.89C147.517 125.772 147.534 125.65 147.536 125.528C147.536 125.406 147.488 125.297 147.415 125.297C147.341 125.297 147.245 125.419 147.171 125.515C147.099 125.616 147.036 125.723 146.985 125.836C146.899 126.028 146.844 126.232 146.821 126.442C146.799 126.775 146.863 127.016 146.837 127.016Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M147.453 128.901C147.242 128.628 147.09 128.313 147.007 127.978C146.874 127.65 146.814 127.298 146.831 126.945C146.968 127.262 147.075 127.59 147.151 127.926C147.279 128.242 147.38 128.568 147.453 128.901Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M148.002 128.471C147.373 128.092 146.906 127.495 146.69 126.794C146.735 126.771 146.957 127.195 147.332 127.653C147.707 128.112 148.031 128.432 148.002 128.471Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M160.115 117.728L169.516 125.18L171.751 121.909L163.347 112.762L160.115 117.728Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M168.852 125.365C168.852 125.365 167.406 128.132 167.419 128.814L171.985 122.107L171.481 121.604L168.852 125.365Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M167.419 128.814L167.685 129L172.395 122.1L172.11 121.898L167.419 128.814Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M169.262 126.499C169.262 126.543 168.974 126.499 168.66 126.62C168.345 126.742 168.14 126.915 168.105 126.887C168.07 126.858 168.246 126.588 168.608 126.467C168.971 126.345 169.282 126.46 169.262 126.499Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M171.34 121.379C171.385 121.398 171.151 121.927 171.036 122.62C170.92 123.312 170.952 123.883 170.904 123.902C170.719 123.041 170.875 122.14 171.34 121.392V121.379Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M171.085 121.203C170.732 121.788 170.335 122.344 169.895 122.867C169.495 123.424 169.054 123.949 168.574 124.438C168.927 123.852 169.326 123.294 169.767 122.771C170.164 122.214 170.604 121.69 171.085 121.203Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M170.074 120.062C169.835 120.773 169.547 121.466 169.212 122.137C168.925 122.828 168.589 123.498 168.205 124.141C168.445 123.431 168.733 122.739 169.068 122.07C169.353 121.377 169.69 120.706 170.074 120.062Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M170.071 120.164C170.087 120.164 169.936 120.366 169.615 120.587C169.429 120.717 169.228 120.825 169.016 120.908C168.891 120.958 168.762 120.999 168.631 121.029C168.551 121.047 168.468 121.047 168.387 121.029C168.341 121.017 168.298 120.995 168.261 120.964C168.224 120.933 168.195 120.894 168.176 120.85C168.159 120.803 168.155 120.752 168.164 120.703C168.174 120.654 168.197 120.608 168.23 120.571C168.283 120.513 168.343 120.464 168.41 120.423C168.722 120.226 169.086 120.126 169.455 120.138C169.667 120.127 169.876 120.183 170.055 120.298C170.055 120.324 169.824 120.241 169.455 120.253C169.113 120.262 168.78 120.367 168.493 120.555C168.381 120.622 168.285 120.722 168.32 120.789C168.349 120.832 168.393 120.865 168.443 120.88C168.493 120.895 168.547 120.892 168.596 120.872C168.72 120.845 168.842 120.811 168.961 120.77C169.166 120.697 169.365 120.607 169.554 120.5C169.878 120.302 170.055 120.144 170.071 120.164Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M170.138 120.26C169.93 120.236 169.735 120.149 169.58 120.01C169.399 119.876 169.245 119.709 169.125 119.519C169.052 119.407 168.993 119.286 168.948 119.16C168.922 119.094 168.902 119.025 168.887 118.955C168.874 118.911 168.871 118.864 168.877 118.818C168.884 118.772 168.901 118.728 168.926 118.689C168.957 118.651 168.998 118.622 169.044 118.604C169.09 118.587 169.14 118.582 169.189 118.59C169.268 118.604 169.343 118.638 169.407 118.689C169.514 118.771 169.61 118.866 169.695 118.971C169.841 119.145 169.95 119.347 170.016 119.564C170.089 119.759 170.101 119.972 170.048 120.173C170.011 119.981 169.963 119.79 169.907 119.603C169.832 119.406 169.724 119.224 169.586 119.064C169.506 118.973 169.417 118.89 169.32 118.817C169.227 118.74 169.102 118.724 169.057 118.785C169.012 118.846 169.057 118.994 169.099 119.106C169.139 119.218 169.191 119.325 169.253 119.426C169.361 119.607 169.498 119.769 169.657 119.907C169.926 120.161 170.147 120.234 170.138 120.26Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M172.045 120.838C171.693 120.86 171.339 120.805 171.01 120.678C170.661 120.6 170.333 120.448 170.048 120.232C170.714 120.419 171.376 120.621 172.033 120.838H172.045Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M172.017 120.144C171.694 120.316 171.332 120.403 170.966 120.397C170.601 120.445 170.231 120.396 169.892 120.256C169.892 120.211 170.376 120.256 170.956 120.237C171.536 120.218 171.992 120.096 172.017 120.144Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M151.054 81.1081C151.054 81.1081 147.463 104.96 147.986 106.117C148.508 107.275 160.134 119.176 160.134 119.176L164.498 111.703C164.498 111.703 156.803 103.177 156.915 102.725C157.027 102.273 162.462 79.1875 162.462 79.1875L151.054 81.1081Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M151.881 110.624L154.946 103.891L158.473 96.3301C156.327 99.4329 154.501 102.745 153.022 106.215C152.448 107.627 152.064 109.11 151.881 110.624Z",fill:"#008182"}),(0,e.createElement)("path",{opacity:"0.4",d:"M151.881 110.624L154.946 103.891L158.473 96.3301C156.327 99.4329 154.501 102.745 153.022 106.215C152.448 107.627 152.064 109.11 151.881 110.624Z",fill:"black"}),(0,e.createElement)("path",{d:"M149.777 89.9107C149.813 89.6574 152.708 83.1454 152.708 83.1454L151.3 81.1639L151.053 81.1094L149.777 89.9107Z",fill:"#008182"}),(0,e.createElement)("path",{opacity:"0.4",d:"M149.777 89.9107C149.813 89.6574 152.708 83.1454 152.708 83.1454L151.3 81.1639L151.053 81.1094L149.777 89.9107Z",fill:"black"}),(0,e.createElement)("path",{d:"M164.502 78.8633L164.717 79.7482C165.359 82.3582 164.967 85.1156 163.623 87.4433L153.889 104.318C153.198 105.517 152.695 106.814 152.398 108.166L149.974 119.067C149.974 119.067 142.321 119.327 141.99 119.067C141.66 118.807 142.978 111.59 143.856 106.123C144.52 102 150.035 89.2036 152.709 83.1597L151.055 81.1205L153.94 80.6428L164.502 78.8633Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M149.973 119.055C149.869 119.085 149.761 119.102 149.653 119.106C149.447 119.129 149.156 119.154 148.79 119.177C148.062 119.225 147.052 119.26 145.94 119.257C144.827 119.254 143.817 119.222 143.089 119.183C142.724 119.167 142.429 119.148 142.227 119.132C142.118 119.134 142.01 119.12 141.906 119.09C142.012 119.071 142.12 119.065 142.227 119.071H143.089L145.937 119.096C147.049 119.096 148.053 119.08 148.781 119.064L149.646 119.042C149.755 119.03 149.866 119.034 149.973 119.055Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M150.394 117.005C150.394 117.05 148.554 117.079 146.287 117.069C144.02 117.06 142.177 117.018 142.177 116.976C142.177 116.935 144.017 116.903 146.287 116.909C148.557 116.915 150.394 116.96 150.394 117.005Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M163.161 110.156C163.119 110.263 163.064 110.365 162.997 110.458L162.5 111.246L160.852 113.84L159.211 116.437L158.707 117.223C158.651 117.323 158.582 117.416 158.502 117.499C158.539 117.386 158.59 117.278 158.653 117.178C158.758 116.986 158.916 116.707 159.111 116.367C159.509 115.687 160.073 114.764 160.714 113.741C161.356 112.718 161.962 111.817 162.407 111.176C162.632 110.855 162.814 110.592 162.946 110.413C163.007 110.319 163.079 110.233 163.161 110.156Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M159.676 118.531C159.503 118.217 159.378 117.879 159.304 117.528C159.179 117.192 159.105 116.84 159.086 116.482C159.258 116.796 159.384 117.133 159.458 117.483C159.582 117.819 159.656 118.173 159.676 118.531Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M160.356 118.509C160.183 117.961 160.062 117.399 159.994 116.829C159.874 116.268 159.807 115.697 159.795 115.123C160.086 116.232 160.274 117.365 160.356 118.509Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M161.244 117.243C161.073 116.765 160.939 116.275 160.843 115.777C160.694 115.293 160.587 114.796 160.522 114.293C160.74 114.753 160.9 115.239 160.997 115.739C161.145 116.227 161.228 116.733 161.244 117.243Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M162 115.488C161.826 115.032 161.705 114.558 161.638 114.074C161.516 113.6 161.447 113.114 161.433 112.625C161.603 113.083 161.724 113.558 161.795 114.042C161.915 114.515 161.984 115 162 115.488Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M162.978 114.036C162.834 113.578 162.719 113.111 162.635 112.638C162.496 112.177 162.389 111.706 162.314 111.23C162.538 111.662 162.695 112.124 162.779 112.603C162.919 113.067 162.986 113.551 162.978 114.036Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M163.851 112.804C163.677 112.444 163.554 112.061 163.485 111.666C163.363 111.284 163.292 110.887 163.273 110.486C163.567 111.23 163.761 112.01 163.851 112.804Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M145.988 116.924C145.373 117.304 144.739 117.652 144.087 117.966C143.463 118.329 142.821 118.659 142.163 118.957C142.321 118.812 142.496 118.688 142.686 118.588C143.006 118.379 143.49 118.107 144.023 117.825C144.555 117.543 145.046 117.309 145.405 117.148C145.589 117.049 145.785 116.973 145.988 116.924Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M148.348 116.959C148.162 117.112 147.96 117.245 147.745 117.353C147.36 117.575 146.825 117.866 146.219 118.168C145.613 118.469 145.052 118.716 144.641 118.886C144.426 118.993 144.199 119.073 143.965 119.126C144.165 118.988 144.38 118.873 144.606 118.783L146.155 118.023L147.7 117.254C147.905 117.133 148.122 117.034 148.348 116.959Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M150.144 116.959C149.687 117.421 149.184 117.836 148.643 118.197C148.133 118.599 147.584 118.95 147.005 119.245C147.493 118.818 148.008 118.424 148.547 118.065C149.056 117.664 149.59 117.295 150.144 116.959Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M150.339 118.088C150.368 118.123 150.07 118.409 149.673 118.703C149.448 118.91 149.189 119.075 148.906 119.191C149.092 118.948 149.319 118.74 149.576 118.575C149.8 118.37 150.059 118.205 150.339 118.088Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M143.895 116.887C143.597 117.157 143.265 117.386 142.907 117.57C142.575 117.798 142.214 117.982 141.833 118.115C142.463 117.616 143.156 117.203 143.895 116.887Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M152.497 83.0879C152.386 83.4527 152.25 83.8094 152.09 84.1556C151.827 84.7968 151.449 85.7106 151.071 86.7206C150.692 87.7306 150.343 88.6444 150.109 89.2857C149.991 89.6473 149.85 90.0007 149.686 90.3437C149.696 90.242 149.719 90.142 149.753 90.0455C149.807 89.8564 149.891 89.5838 150 89.2472C150.218 88.5771 150.542 87.644 150.93 86.6533C151.318 85.6625 151.706 84.752 151.997 84.1107C152.145 83.7901 152.267 83.5336 152.356 83.3572C152.392 83.2619 152.439 83.1714 152.497 83.0879Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M151.699 111.388C151.692 111.325 151.692 111.262 151.699 111.199C151.715 111.058 151.74 110.878 151.766 110.66C151.792 110.442 151.837 110.141 151.91 109.81C151.984 109.48 152.042 109.105 152.157 108.698C152.212 108.496 152.269 108.281 152.327 108.057C152.385 107.832 152.468 107.608 152.542 107.37C152.683 106.896 152.879 106.409 153.071 105.876C153.522 104.752 154.034 103.653 154.604 102.583C155.658 100.655 156.822 98.7879 158.089 96.9916C158.567 96.2991 158.964 95.7444 159.243 95.3628L159.564 94.9268C159.6 94.8741 159.641 94.8248 159.686 94.7793C159.661 94.8384 159.63 94.8944 159.593 94.946C159.512 95.0615 159.416 95.2122 159.294 95.3981L158.182 97.0558C157.268 98.4569 155.986 100.403 154.757 102.648C154.191 103.711 153.678 104.803 153.222 105.918C153.026 106.437 152.824 106.928 152.68 107.399C152.603 107.637 152.523 107.861 152.459 108.079C152.394 108.297 152.337 108.512 152.282 108.72C152.16 109.124 152.087 109.499 152.01 109.823C151.933 110.147 151.878 110.432 151.84 110.663C151.801 110.894 151.769 111.058 151.744 111.196C151.735 111.261 151.72 111.325 151.699 111.388Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M161.244 58.7754L153.712 59.4166C153.712 59.4166 151.468 59.468 149.005 65.188L147.235 70.8631L150.419 71.5428V71.8635L151.06 81.1072L164.642 78.9205C164.671 77.747 164.001 76.0349 163.51 74.4317C164.02 73.1652 166.165 67.6376 166.162 64.9764C166.162 59.2852 161.24 58.7946 161.24 58.7946",fill:"white"}),(0,e.createElement)("path",{d:"M164.498 111.695C164.466 111.808 164.419 111.915 164.36 112.016C164.26 112.212 164.113 112.49 163.924 112.834C163.545 113.52 163 114.456 162.385 115.479L160.794 118.085L160.313 118.881C160.261 118.981 160.197 119.075 160.121 119.16C160.153 119.047 160.199 118.939 160.259 118.839C160.358 118.643 160.506 118.364 160.695 118.021C161.073 117.335 161.618 116.399 162.234 115.376L163.812 112.76L164.292 111.968C164.35 111.869 164.419 111.778 164.498 111.695Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M162.719 72.3672C162.387 72.5281 162.026 72.6228 161.658 72.6461C161.297 72.7182 160.925 72.7182 160.564 72.6461C160.916 72.555 161.276 72.4981 161.639 72.4762C161.994 72.4056 162.356 72.3691 162.719 72.3672Z",fill:"white"}),(0,e.createElement)("path",{d:"M151.087 71.9141L150.933 81.9466L155.005 59.0985C153.652 58.8581 151.128 59.9225 150.179 61.2724C149.499 62.0804 149.128 63.94 147.236 69.5382L146.075 73.3377L141.368 68.1852L138.197 71.0516C138.197 71.0516 143.667 79.9875 145.953 80.4813C149.063 81.1546 151.083 71.9141 151.083 71.9141",fill:"#455A64"}),(0,e.createElement)("path",{d:"M151.737 62.6328C151.739 62.7644 151.725 62.8958 151.696 63.024C151.654 63.3061 151.599 63.6652 151.532 64.0788C151.394 64.9702 151.211 66.2014 151.042 67.5673C150.872 68.9332 150.753 70.174 150.67 71.0718C150.631 71.495 150.599 71.8509 150.57 72.133C150.568 72.2652 150.55 72.3966 150.516 72.5242C150.503 72.3931 150.503 72.261 150.516 72.1298C150.516 71.8766 150.538 71.5142 150.564 71.0621C150.615 70.1612 150.721 68.9171 150.884 67.5352C151.048 66.1533 151.256 64.9349 151.423 64.0468C151.51 63.6043 151.583 63.2452 151.638 62.9983C151.66 62.8737 151.693 62.7513 151.737 62.6328Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M150.682 62.1942C150.666 62.1493 151.298 61.8736 152.016 61.4376C152.734 61.0015 153.257 60.5526 153.298 60.5879C152.598 61.3573 151.694 61.9131 150.692 62.191L150.682 62.1942Z",fill:"white"}),(0,e.createElement)("path",{d:"M149.38 68.8073C149.218 68.436 149.086 68.0521 148.986 67.6594C148.835 67.2839 148.715 66.8968 148.627 66.502C149.056 67.2005 149.314 67.9903 149.38 68.8073Z",fill:"white"}),(0,e.createElement)("path",{d:"M152.683 65.1973C152.727 65.6441 152.695 66.0952 152.587 66.5311C152.531 66.9784 152.398 67.4125 152.192 67.8136C152.245 67.3742 152.324 66.9384 152.43 66.5086C152.486 66.0666 152.571 65.6286 152.683 65.1973Z",fill:"white"}),(0,e.createElement)("path",{d:"M148.101 73.9453C148.103 74.3396 148.071 74.7333 148.005 75.122C147.988 75.5177 147.939 75.9113 147.857 76.2987C147.758 75.5059 147.841 74.7009 148.101 73.9453Z",fill:"white"}),(0,e.createElement)("path",{d:"M142.083 73.8642C141.733 73.4841 141.445 73.0513 141.23 72.5817C140.967 72.1359 140.775 71.6526 140.659 71.1484C140.921 71.5881 141.159 72.042 141.371 72.5079C141.632 72.947 141.87 73.3998 142.083 73.8642Z",fill:"white"}),(0,e.createElement)("path",{d:"M145.527 74.1113C145.274 74.3519 144.975 74.5385 144.648 74.6596C144.342 74.8292 144.003 74.9329 143.654 74.9642C143.947 74.7832 144.257 74.6328 144.581 74.5153C144.882 74.3491 145.199 74.2137 145.527 74.1113Z",fill:"white"}),(0,e.createElement)("path",{d:"M161.834 77.2789L164.191 105.292L171.289 104.622L164.55 75.2076L165.374 67.3105L161.834 77.2789Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M164.19 105.293C164.148 105.293 163.625 99.0825 163.026 91.4131C162.426 83.7436 161.981 77.5266 162.022 77.5234C162.064 77.5202 162.59 83.7308 163.186 91.4003C163.782 99.0697 164.235 105.29 164.19 105.293Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M163.507 77.9272C163.555 77.6052 163.656 77.2933 163.805 77.0038C163.908 76.6954 164.06 76.4054 164.254 76.1445C164.107 76.7767 163.855 77.3794 163.507 77.9272Z",fill:"white"}),(0,e.createElement)("path",{d:"M165.466 82.0959C165.428 82.1247 165.075 81.7143 164.578 81.2751C164.26 81.0277 163.955 80.7644 163.664 80.4863C164.049 80.6341 164.398 80.8626 164.687 81.1564C165.01 81.4114 165.275 81.7315 165.466 82.0959Z",fill:"white"}),(0,e.createElement)("path",{d:"M165.033 87.7158C165.162 87.3862 165.311 87.065 165.479 86.7539C165.598 86.4174 165.739 86.0887 165.899 85.7695C165.89 86.1358 165.796 86.4949 165.623 86.818C165.5 87.1595 165.298 87.4671 165.033 87.7158Z",fill:"white"}),(0,e.createElement)("path",{d:"M166.566 92.2262C165.88 91.7766 165.257 91.2375 164.713 90.623C165.064 90.8276 165.387 91.0765 165.675 91.3637C166.008 91.6112 166.308 91.9012 166.566 92.2262Z",fill:"white"}),(0,e.createElement)("path",{d:"M167.848 95.3233C167.748 94.4237 167.754 93.5153 167.867 92.6172C167.941 93.0642 167.965 93.518 167.938 93.9702C167.961 94.4232 167.931 94.8773 167.848 95.3233Z",fill:"white"}),(0,e.createElement)("path",{d:"M165.573 97.4281C165.482 97.0763 165.425 96.7166 165.403 96.354C165.33 95.9982 165.291 95.6365 165.284 95.2734C165.45 95.6036 165.549 95.9631 165.576 96.3315C165.648 96.6936 165.647 97.0664 165.573 97.4281Z",fill:"white"}),(0,e.createElement)("path",{d:"M167.922 100.108C167.242 100.114 166.564 100.013 165.915 99.8097C166.255 99.7792 166.599 99.8031 166.931 99.8803C167.271 99.9047 167.606 99.9815 167.922 100.108Z",fill:"white"}),(0,e.createElement)("path",{d:"M167.528 103.674C167.866 102.977 168.298 102.33 168.811 101.75C168.669 102.112 168.476 102.452 168.24 102.76C168.044 103.095 167.805 103.402 167.528 103.674Z",fill:"white"}),(0,e.createElement)("path",{d:"M151.375 80.6776L139.451 64.4345C140.157 63.8902 140.819 63.2898 141.429 62.639C143.972 59.9173 145.514 56.4123 145.802 52.6989C146.091 48.9856 145.109 45.2843 143.018 42.2024C140.926 39.1205 137.849 36.8408 134.292 35.7374C130.735 34.634 126.908 34.7723 123.44 36.1297C119.971 37.4871 117.067 39.9829 115.204 43.2078C113.34 46.4327 112.628 50.1951 113.184 53.878C113.74 57.5608 115.531 60.9453 118.264 63.4763C120.996 66.0074 124.508 67.5346 128.222 67.8075C128.808 67.8504 129.396 67.8611 129.982 67.8396C132.37 67.7662 134.712 67.1708 136.844 66.0954L148.89 82.5052C149.133 82.833 149.497 83.0508 149.901 83.1109C150.305 83.171 150.716 83.0685 151.045 82.8258C151.372 82.5838 151.591 82.2222 151.652 81.8197C151.714 81.4173 151.615 81.0067 151.375 80.6776ZM129.893 64.7615C129.416 64.7772 128.939 64.7686 128.463 64.7359C125.053 64.4901 121.868 62.9454 119.564 60.4201C117.26 57.8949 116.013 54.5818 116.08 51.1642C116.147 47.7465 117.523 44.4849 119.924 42.0519C122.326 39.619 125.569 38.2003 128.985 38.0884C129.468 38.0723 129.95 38.0819 130.431 38.1172C133.836 38.3716 137.013 39.9209 139.309 42.4464C141.606 44.9719 142.848 48.2815 142.779 51.6945C142.71 55.1074 141.335 58.3642 138.939 60.7948C136.542 63.2253 133.304 64.6449 129.893 64.7615Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M146.64 71.8445L145.226 76.6764C145.226 76.6764 152.626 79.3664 156.634 79.3151C160.388 79.2703 161.462 78.8438 162.783 75.8139C164.104 72.7839 165.605 69.3019 165.925 67.2851C165.925 67.2851 168.045 58.0542 159.959 58.8782L159.734 66.0956C159.734 66.0956 158.84 69.055 158.772 69.2281C158.169 70.8313 157.387 73.1623 156.63 73.4444C155.874 73.7266 146.64 71.8445 146.64 71.8445Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M158.253 75.7146C157.657 75.0146 157.19 74.2145 156.874 73.3516C157.148 73.7168 157.389 74.1051 157.595 74.5122C157.847 74.8942 158.067 75.2964 158.253 75.7146Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M159.01 74.9536C158.623 74.7543 158.263 74.5089 157.936 74.2226C157.58 73.9777 157.257 73.689 156.974 73.3633C157.359 73.564 157.72 73.8093 158.048 74.0943C158.403 74.3391 158.726 74.6278 159.01 74.9536Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M161.523 61.7891C161.288 62.5603 161.003 63.3153 160.67 64.0495C160.387 64.8039 160.054 65.5387 159.673 66.249C159.905 65.4774 160.189 64.7222 160.523 63.9886C160.806 63.2337 161.14 62.4989 161.523 61.7891Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M165.604 68.6602C165.583 68.7867 165.547 68.9104 165.498 69.0289C165.408 69.2918 165.296 69.622 165.178 70.01C164.883 70.8372 164.469 71.9787 163.982 73.2163C163.494 74.4539 163.02 75.5793 162.629 76.3713C162.439 76.7689 162.279 77.0863 162.16 77.3011C162.108 77.4152 162.042 77.5228 161.965 77.6217C161.999 77.4985 162.046 77.3791 162.106 77.2658C162.218 77.0125 162.356 76.6919 162.523 76.304C162.875 75.4992 163.34 74.3802 163.831 73.1361C164.321 71.8921 164.741 70.7891 165.069 69.9298C165.229 69.5226 165.363 69.1924 165.456 68.968C165.496 68.861 165.545 68.758 165.604 68.6602Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M153.712 73.2327C153.712 73.2776 152.109 73.0211 150.115 72.662C148.12 72.3029 146.536 71.9759 146.546 71.9342C146.556 71.8925 148.149 72.1458 150.143 72.5049C152.138 72.864 153.722 73.191 153.712 73.2327Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M162.103 68.8274C162.006 67.9604 162.018 67.0847 162.138 66.2207C162.211 66.6516 162.232 67.0898 162.199 67.5257C162.221 67.9619 162.188 68.3991 162.103 68.8274Z",fill:"white"}),(0,e.createElement)("path",{d:"M159.221 77.7012C159.339 77.3654 159.482 77.0386 159.647 76.7233C159.765 76.3867 159.906 76.0588 160.07 75.7422C160.058 76.1069 159.964 76.4641 159.795 76.7874C159.673 77.1306 159.477 77.4426 159.221 77.7012Z",fill:"white"}),(0,e.createElement)("path",{d:"M155.305 77.4518C154.865 76.712 154.449 75.9581 154.058 75.1914C154.365 75.5019 154.617 75.8617 154.805 76.2559C155.038 76.6234 155.207 77.0278 155.305 77.4518Z",fill:"white"}),(0,e.createElement)("path",{d:"M149.894 74.9551C149.569 75.1701 149.216 75.3395 148.845 75.4585C148.494 75.625 148.122 75.7436 147.739 75.8112C148.064 75.5961 148.417 75.4267 148.788 75.3078C149.139 75.1408 149.511 75.0221 149.894 74.9551Z",fill:"white"}),(0,e.createElement)("path",{d:"M165.076 63.6256C165.04 63.6544 164.684 63.3049 164.171 62.9394C163.658 62.5739 163.19 62.3847 163.21 62.3398C163.593 62.4071 163.954 62.5678 164.261 62.808C164.597 63.0081 164.877 63.2892 165.076 63.6256Z",fill:"white"}),(0,e.createElement)("path",{d:"M162.767 71.5977C161.946 71.893 161.07 72.0026 160.202 71.9183C160.625 71.8268 161.053 71.7678 161.485 71.7419C161.908 71.6627 162.337 71.6145 162.767 71.5977Z",fill:"white"}),(0,e.createElement)("path",{d:"M162.008 46.8797C162.224 46.4861 162.568 46.1781 162.983 46.0067C163.398 45.8353 163.86 45.8107 164.291 45.9371C164.717 46.0773 165.104 46.3179 165.418 46.6387C165.732 46.9596 165.965 47.3512 166.096 47.7807C166.349 48.6454 166.366 49.5622 166.144 50.4355C166.003 51.0767 165.823 51.8174 166.24 52.3112C166.657 52.8049 167.369 52.76 167.827 53.1576C167.94 53.257 168.032 53.3786 168.096 53.5148C168.16 53.651 168.196 53.7989 168.2 53.9495C168.205 54.1 168.179 54.2498 168.123 54.3898C168.068 54.5297 167.984 54.6568 167.877 54.763C167.771 54.8693 167.643 54.9525 167.503 55.0075C167.363 55.0625 167.213 55.0882 167.062 55.0828C166.912 55.0775 166.764 55.0414 166.628 54.9766C166.492 54.9118 166.371 54.8198 166.272 54.7063C166.272 55.1519 166.516 55.5591 166.654 55.9888C166.792 56.4184 166.811 56.9507 166.471 57.236C166.336 57.3334 166.177 57.3931 166.012 57.4089C165.846 57.4247 165.679 57.396 165.528 57.3258C165.227 57.1829 164.954 56.9863 164.723 56.7455C164.881 57.2059 164.881 57.7054 164.723 58.1659C164.639 58.393 164.497 58.5943 164.311 58.7505C164.126 58.9067 163.904 59.0123 163.665 59.0572C163.364 59.0795 163.062 59.0112 162.799 58.8609C162.536 58.7107 162.324 58.4854 162.19 58.2139C161.933 57.6653 161.836 57.055 161.912 56.4537C161.979 55.5175 162.232 54.6005 162.335 53.6706C162.5 52.7386 162.379 51.7786 161.988 50.9164",fill:"#008182"}),(0,e.createElement)("path",{d:"M167.442 52.3467C167.442 52.3467 167.404 52.3692 167.32 52.3467C167.26 52.3369 167.204 52.3133 167.155 52.2776C167.106 52.242 167.066 52.1954 167.038 52.1415C166.993 52.0523 166.981 51.9497 167.005 51.8526C167.029 51.7554 167.088 51.6702 167.17 51.6125C167.275 51.5321 167.406 51.4921 167.538 51.4997C167.67 51.5074 167.796 51.5622 167.891 51.6542C168.003 51.7632 168.083 51.9014 168.121 52.0532C168.159 52.205 168.154 52.3644 168.106 52.5135C168.064 52.6831 167.974 52.8369 167.846 52.9559C167.705 53.0823 167.525 53.1559 167.336 53.1643C167.143 53.1766 166.949 53.1344 166.778 53.0425C166.602 52.9433 166.455 52.7996 166.352 52.6257C166.149 52.2632 166.077 51.8423 166.147 51.4329C166.265 50.6089 166.663 49.9196 166.653 49.227C166.662 48.6157 166.495 48.0147 166.172 47.4956C165.955 47.1437 165.672 46.8368 165.339 46.5914C165.101 46.4183 164.951 46.3542 164.96 46.3381C164.97 46.3221 164.999 46.3381 165.073 46.3798C165.177 46.4249 165.278 46.4785 165.374 46.5401C165.731 46.773 166.036 47.0776 166.269 47.4347C166.619 47.9679 166.804 48.5924 166.801 49.2302C166.801 49.9645 166.413 50.6763 166.304 51.4554C166.24 51.8279 166.304 52.2112 166.487 52.5423C166.569 52.6914 166.691 52.8147 166.839 52.8985C166.988 52.9823 167.156 53.0233 167.327 53.0169C167.477 53.0079 167.621 52.9506 167.736 52.8536C167.852 52.7566 167.933 52.6249 167.968 52.4782C168.012 52.3517 168.02 52.2155 167.991 52.0848C167.962 51.954 167.897 51.8338 167.804 51.7375C167.728 51.6601 167.627 51.6122 167.519 51.6022C167.411 51.5922 167.303 51.6209 167.214 51.683C167.146 51.7282 167.095 51.7958 167.071 51.8742C167.047 51.9526 167.052 52.037 167.083 52.1127C167.106 52.1609 167.138 52.2039 167.178 52.2387C167.219 52.2735 167.266 52.2994 167.317 52.3147C167.397 52.3467 167.439 52.3371 167.442 52.3467Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M160.022 59.0571L160.452 49.2715L156.566 46.3281L153.039 48.0563C153.039 48.0563 152.92 52.4906 153.039 54.4144C153.158 56.3382 155.097 56.5434 155.097 56.5434C155.097 56.5434 155.053 57.6688 155.008 58.8551C154.995 59.1949 155.052 59.5336 155.174 59.8509C155.296 60.1682 155.481 60.4575 155.718 60.7011C155.955 60.9448 156.239 61.1379 156.553 61.2686C156.867 61.3994 157.204 61.4651 157.544 61.4618C158.186 61.4534 158.801 61.1996 159.261 60.7524C159.722 60.3053 159.995 59.6987 160.022 59.0571Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M153.421 51.2879C153.421 51.3367 153.435 51.3845 153.463 51.4251C153.49 51.4657 153.528 51.4973 153.573 51.516C153.618 51.5347 153.668 51.5396 153.716 51.53C153.764 51.5205 153.808 51.497 153.842 51.4625C153.877 51.4279 153.9 51.384 153.91 51.3361C153.919 51.2882 153.915 51.2385 153.896 51.1934C153.877 51.1483 153.846 51.1097 153.805 51.0826C153.764 51.0555 153.717 51.041 153.668 51.041C153.603 51.0418 153.54 51.0681 153.494 51.1142C153.448 51.1604 153.422 51.2227 153.421 51.2879Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M153.18 51.0259C153.212 51.058 153.392 50.9041 153.658 50.8912C153.924 50.8784 154.123 51.0035 154.149 50.9682C154.174 50.9329 154.129 50.8944 154.043 50.8335C153.926 50.7562 153.788 50.7191 153.648 50.7278C153.509 50.7365 153.376 50.7905 153.27 50.8816C153.19 50.9425 153.164 51.0067 153.18 51.0259Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M156.271 51.2879C156.271 51.3367 156.285 51.3845 156.312 51.4251C156.339 51.4657 156.378 51.4973 156.423 51.516C156.468 51.5347 156.518 51.5396 156.566 51.53C156.613 51.5205 156.657 51.497 156.692 51.4625C156.726 51.4279 156.75 51.384 156.76 51.3361C156.769 51.2882 156.764 51.2385 156.745 51.1934C156.727 51.1483 156.695 51.1097 156.655 51.0826C156.614 51.0555 156.566 51.041 156.517 51.041C156.452 51.041 156.389 51.067 156.343 51.1133C156.297 51.1596 156.271 51.2224 156.271 51.2879Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M156.117 51.0259C156.149 51.058 156.332 50.9041 156.595 50.8912C156.858 50.8784 157.06 51.0035 157.088 50.9682C157.117 50.9329 157.069 50.8944 156.979 50.8335C156.863 50.7562 156.724 50.7191 156.585 50.7278C156.445 50.7365 156.313 50.7905 156.207 50.8816C156.126 50.9425 156.101 51.0067 156.117 51.0259Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M156.037 53.5117C155.633 53.718 155.201 53.8658 154.755 53.951C154.853 54.0844 154.992 54.1815 155.151 54.2268C155.31 54.272 155.48 54.263 155.633 54.2011C155.707 54.1848 155.776 54.1537 155.836 54.1095C155.897 54.0654 155.948 54.0092 155.986 53.9445C156.024 53.8798 156.048 53.808 156.057 53.7335C156.066 53.659 156.059 53.5835 156.037 53.5117Z",fill:"white"}),(0,e.createElement)("path",{d:"M155.088 56.5441C156.002 56.505 156.887 56.2058 157.637 55.6816C157.637 55.6816 157.06 57.0956 155.13 57.0155L155.088 56.5441Z",fill:"#EB996E"}),(0,e.createElement)("path",{d:"M166.047 54.8034C165.803 54.8126 165.562 54.7573 165.348 54.6431C165.031 54.4741 164.767 54.2197 164.588 53.9089C164.367 53.5184 164.177 53.111 164.02 52.6905C163.661 51.7959 163.379 50.9655 163.206 50.3595L163.126 50.0934C163.126 49.9908 163.094 49.8978 163.077 49.8305C162.026 45.8194 158.502 45.0723 157.803 45.0723C157.104 45.0723 155.748 44.6619 153.84 46.6434C153.554 46.9414 153.311 47.2782 153.119 47.6438C152.695 48.17 152.404 48.7901 152.269 49.4521C152.181 49.7652 152.166 50.0941 152.224 50.414C152.259 50.414 152.266 50.0517 152.413 49.4938C152.503 49.166 152.627 48.8488 152.785 48.5479C152.619 49.2888 152.687 50.0633 152.981 50.7635L153.664 50.5743L156.113 49.7407C155.889 48.984 156.219 48.0414 156.402 47.6021L156.421 47.5861C156.558 48.3855 156.946 49.1207 157.528 49.6855C158.11 50.2503 158.856 50.6155 159.66 50.7282L160.112 57.0286C163.369 56.3328 163.292 51.9755 163.273 51.0905C163.421 51.5875 163.613 52.1614 163.853 52.761C164.012 53.1928 164.212 53.6083 164.45 54.0018C164.65 54.333 164.944 54.5983 165.293 54.7649C165.53 54.8755 165.794 54.9145 166.053 54.8772C166.148 54.8685 166.239 54.8341 166.316 54.7778C166.226 54.7806 166.136 54.7892 166.047 54.8034Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M155.162 53.2707C155.02 53.2378 154.875 53.2195 154.729 53.2162C154.662 53.2162 154.594 53.2162 154.581 53.1553C154.572 53.0818 154.584 53.007 154.617 52.9405L154.8 52.3922C154.925 52.001 155.034 51.6451 155.12 51.3854C155.172 51.2483 155.204 51.1049 155.216 50.959C155.138 51.0809 155.074 51.211 155.024 51.3469C154.934 51.6002 154.816 51.9529 154.703 52.3441L154.53 52.8956C154.491 52.982 154.482 53.0792 154.505 53.1713C154.515 53.1949 154.53 53.2159 154.549 53.2325C154.569 53.2492 154.592 53.2612 154.617 53.2675C154.655 53.272 154.694 53.272 154.732 53.2675C154.875 53.2869 155.019 53.288 155.162 53.2707Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M160.657 53.1762C160.625 52.852 160.66 52.5245 160.76 52.2143C160.81 52.0621 160.901 51.9263 161.022 51.8214C161.144 51.7164 161.291 51.6461 161.449 51.618C161.636 51.6095 161.819 51.6703 161.963 51.7887C162.108 51.907 162.203 52.0746 162.231 52.2592C162.253 52.4428 162.219 52.6286 162.134 52.793C162.05 52.9574 161.919 53.093 161.757 53.1826C161.592 53.2683 161.411 53.3157 161.225 53.3213C161.04 53.3268 160.855 53.2904 160.686 53.2147",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M161.215 52.8985C161.215 52.876 161.321 52.9241 161.455 52.8825C161.54 52.8535 161.614 52.7986 161.666 52.7255C161.717 52.6524 161.745 52.5648 161.744 52.4753C161.752 52.4302 161.75 52.384 161.738 52.3397C161.726 52.2955 161.706 52.2542 161.677 52.2188C161.617 52.1711 161.541 52.1481 161.465 52.1546C161.321 52.1546 161.221 52.2059 161.212 52.1835C161.202 52.161 161.276 52.0937 161.449 52.0424C161.504 52.0289 161.561 52.0276 161.617 52.0387C161.672 52.0498 161.724 52.073 161.77 52.1065C161.82 52.1548 161.858 52.2142 161.881 52.28C161.903 52.3457 161.911 52.4159 161.901 52.4849C161.894 52.6172 161.843 52.7434 161.757 52.844C161.684 52.9272 161.584 52.9808 161.475 52.9947C161.289 53.0139 161.202 52.9113 161.215 52.8985Z",fill:"#EB996E"}),(0,e.createElement)("path",{d:"M161.791 53.1608C161.791 53.1608 161.936 53.2602 161.936 53.5167C161.929 53.6664 161.865 53.8077 161.756 53.9111C161.687 53.9738 161.605 54.0206 161.516 54.0483C161.426 54.076 161.332 54.0839 161.24 54.0714C161.147 54.0538 161.059 54.016 160.983 53.9606C160.906 53.9051 160.843 53.8335 160.797 53.7508C160.761 53.684 160.739 53.6108 160.732 53.5354C160.725 53.4599 160.733 53.3838 160.756 53.3115C160.836 53.0646 160.999 52.9909 161.006 53.0165C161.012 53.0422 160.903 53.1288 160.865 53.3372C160.845 53.436 160.858 53.5384 160.899 53.63C160.941 53.7216 161.01 53.798 161.097 53.8484C161.184 53.8989 161.285 53.9209 161.385 53.9115C161.486 53.902 161.58 53.8615 161.657 53.7957C161.749 53.7202 161.808 53.6124 161.823 53.4943C161.827 53.3822 161.816 53.2701 161.791 53.1608Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M160.663 51.8362C160.592 51.9025 160.508 51.9538 160.417 51.9869C160.171 52.094 159.906 52.1486 159.637 52.1472C159.237 52.1453 158.843 52.0462 158.49 51.8587C158.063 51.6264 157.697 51.2968 157.422 50.8968C156.949 50.1576 156.657 49.3172 156.569 48.4439C156.524 48.1233 156.502 47.8476 156.489 47.6648C156.472 47.5683 156.472 47.4696 156.489 47.373C156.571 47.7211 156.635 48.0732 156.681 48.4279C156.8 49.2729 157.097 50.0828 157.553 50.8038C157.812 51.1838 158.153 51.5005 158.551 51.7304C158.882 51.911 159.251 52.0141 159.628 52.0318C159.983 52.0354 160.335 51.9689 160.663 51.8362Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M162.822 49.0787C162.773 49.0787 162.629 48.524 162.254 47.9212C161.879 47.3185 161.436 46.9369 161.468 46.8984C161.857 47.1195 162.176 47.4449 162.389 47.8379C162.648 48.2022 162.798 48.6325 162.822 49.0787Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M145.369 76.1828H144.237C143.208 76.0834 142.634 76.0674 142.346 75.7949C141.961 75.4262 142.49 75.067 142.49 75.067C142.49 75.067 141.746 74.8105 141.817 74.3585C141.861 74.0378 142.214 74.0154 142.214 74.0154C142.214 74.0154 141.573 73.7589 141.429 73.4831C141.252 73.1112 141.714 72.9124 141.714 72.9124C140.819 72.3609 140.903 71.8127 141.108 71.7582C141.313 71.7036 142.012 72.0275 142.012 72.0275C142.602 72.1942 144.212 72.6848 143.615 71.7966C143.019 70.9085 142.897 70.0043 143.032 69.735C143.061 69.6642 143.115 69.6063 143.183 69.5717C143.251 69.5371 143.33 69.5281 143.404 69.5463C143.479 69.5645 143.544 69.6087 143.589 69.671C143.633 69.7332 143.654 69.8094 143.647 69.8857C143.74 70.2352 143.881 70.5699 144.067 70.8796C144.209 71.1291 144.39 71.3543 144.603 71.5465C144.856 71.771 145.081 71.9505 145.273 72.1012L146.28 73.0631L145.369 76.1828Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M138.325 64.8868C138.409 64.6431 138.611 64.47 138.829 64.5854C138.872 64.6364 138.902 64.6978 138.914 64.7636C138.926 64.8294 138.921 64.8973 138.899 64.9606L138.2 67.2338L138.861 65.6307C138.944 65.387 139.166 65.2395 139.316 65.371C139.354 65.4238 139.378 65.4847 139.388 65.5488C139.397 65.6129 139.391 65.6783 139.371 65.7397L138.768 67.6282L139.259 66.4483C139.361 66.179 139.48 66.1052 139.618 66.1661C139.755 66.2271 139.759 66.4226 139.727 66.5316L139.313 67.9232C139.403 68.1925 139.711 69.0358 139.412 69.5103C139.412 69.5327 139.444 69.6129 139.441 69.6385L139.582 69.7989L138.672 70.6357C138.672 70.6357 137.816 68.4715 137.652 67.8206C137.552 67.446 137.569 67.0495 137.703 66.6856L138.325 64.8868Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M60.0661 127.674L59.9929 124.619L54.2725 124.722L54.3357 129.188L54.6884 129.205C56.2691 129.265 62.725 129.398 63.7733 129.058C64.9447 128.682 60.0661 127.674 60.0661 127.674Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M56.382 129.118C56.2895 128.637 56.0214 128.207 55.6299 127.913C55.2507 127.621 54.776 127.481 54.2988 127.52L54.3288 129.118H56.382Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M62.4524 128.25C62.4524 128.25 64.1629 128.713 63.9566 128.995C63.7502 129.278 57.2178 129.391 54.3359 129.188V129.062L61.9532 128.995C61.9532 128.995 62.1196 128.27 62.4524 128.25Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M54.2422 129.059H55.6631C56.5417 129.059 57.753 129.059 59.0941 129.039C60.4352 129.019 61.6465 128.979 62.5251 128.946L63.5633 128.909H63.8462C63.8794 128.905 63.9128 128.905 63.946 128.909H63.8495L63.5666 128.932L62.5284 128.992C61.6498 129.039 60.4352 129.085 59.0941 129.105C57.753 129.125 56.5417 129.105 55.6631 129.105L54.6216 129.079H54.3387L54.2422 129.059Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M61.9598 129.085C61.935 128.897 61.98 128.706 62.0862 128.549C62.1727 128.381 62.3169 128.25 62.4922 128.18C62.3675 128.303 62.256 128.439 62.1595 128.586C62.0733 128.744 62.0063 128.911 61.9598 129.085Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M60.256 128.255C60.2393 128.255 60.2926 128.132 60.3758 127.999C60.459 127.866 60.5355 127.766 60.5521 127.776C60.5688 127.786 60.5155 127.903 60.4323 128.032C60.3491 128.162 60.2726 128.265 60.256 128.255Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M59.79 128.019C59.79 128.019 59.8433 127.923 59.9431 127.83C60.0429 127.737 60.1295 127.68 60.1395 127.693C60.1494 127.707 60.0862 127.793 59.9897 127.883C59.8932 127.973 59.8034 128.033 59.79 128.019Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M59.4873 127.483C59.5838 127.451 59.6857 127.44 59.7868 127.45C59.8876 127.438 59.9897 127.449 60.0863 127.48C59.9908 127.516 59.8881 127.528 59.7868 127.516C59.6858 127.53 59.5829 127.519 59.4873 127.483Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M59.3809 127.12C59.4922 127.116 59.6037 127.123 59.7136 127.14C59.8248 127.137 59.9361 127.143 60.0464 127.157C59.9437 127.209 59.8274 127.228 59.7136 127.21C59.5961 127.215 59.48 127.184 59.3809 127.12Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M60.4424 127.752C60.4424 127.752 60.5821 127.752 60.8018 127.696C60.9298 127.672 61.0556 127.637 61.1778 127.593C61.2495 127.568 61.3186 127.537 61.3841 127.499C61.4474 127.459 61.4707 127.39 61.4108 127.35C61.2732 127.284 61.1152 127.276 60.9715 127.326C60.8504 127.365 60.743 127.438 60.662 127.536C60.5904 127.631 60.5353 127.738 60.4989 127.852C60.4909 127.819 60.4909 127.785 60.4989 127.752C60.5212 127.663 60.5607 127.58 60.6154 127.506C60.7066 127.378 60.8402 127.286 60.9925 127.247C61.1447 127.208 61.3059 127.225 61.4474 127.293C61.4691 127.31 61.4859 127.333 61.4959 127.358C61.5058 127.384 61.5086 127.412 61.5039 127.439C61.4905 127.489 61.4582 127.53 61.4141 127.556C61.3449 127.597 61.2712 127.629 61.1945 127.652C61.0663 127.694 60.935 127.725 60.8018 127.746C60.6834 127.77 60.5616 127.772 60.4424 127.752Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M60.5389 127.786C60.5455 127.704 60.5455 127.622 60.5389 127.54C60.5199 127.454 60.4824 127.373 60.429 127.304C60.3725 127.23 60.276 127.141 60.1861 127.151C60.0963 127.161 60.1295 127.307 60.1861 127.383C60.2302 127.462 60.2826 127.536 60.3425 127.603C60.4457 127.716 60.5255 127.773 60.5189 127.783C60.4379 127.75 60.3651 127.7 60.3059 127.636C60.2376 127.571 60.1782 127.498 60.1295 127.417C60.0963 127.368 60.0737 127.312 60.063 127.254C60.0561 127.216 60.064 127.178 60.0851 127.146C60.1063 127.114 60.1389 127.092 60.1761 127.084C60.2387 127.085 60.3 127.102 60.3541 127.134C60.4082 127.165 60.4535 127.21 60.4856 127.264C60.5417 127.344 60.5771 127.436 60.5888 127.533C60.6034 127.621 60.5856 127.711 60.5389 127.786Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.3428 127.494C54.3428 127.494 54.3794 127.478 54.4526 127.464C54.5578 127.455 54.6636 127.455 54.7687 127.464C55.119 127.486 55.4549 127.611 55.7338 127.824C56.0127 128.038 56.2203 128.331 56.3295 128.666C56.3622 128.765 56.3845 128.868 56.396 128.972C56.4012 129.01 56.4012 129.05 56.396 129.088C56.396 129.088 56.3694 128.925 56.2795 128.682C56.1638 128.363 55.9596 128.084 55.6908 127.877C55.4221 127.67 55.0999 127.545 54.7621 127.514C54.6228 127.5 54.4828 127.493 54.3428 127.494Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.9078 125.102C54.9424 125.492 54.9557 125.884 54.9477 126.276C54.9544 126.669 54.9411 127.063 54.9078 127.454C54.8712 127.064 54.8578 126.672 54.8678 126.28C54.8571 125.886 54.8705 125.493 54.9078 125.102Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.1172 128.539C57.1172 128.519 57.4932 128.539 57.9525 128.539C58.4117 128.539 58.7844 128.509 58.7877 128.539C58.5137 128.6 58.2331 128.627 57.9525 128.619C57.6718 128.626 57.3913 128.599 57.1172 128.539Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.9965 128.555C55.9965 128.555 56.083 128.591 56.1296 128.688C56.1762 128.784 56.1695 128.877 56.1495 128.877C56.1296 128.877 56.1096 128.801 56.0697 128.718C56.0297 128.635 55.9831 128.568 55.9965 128.555Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.5732 128.035C55.5732 128.035 55.6464 128.058 55.7063 128.118C55.7662 128.178 55.8062 128.235 55.7929 128.248C55.7796 128.261 55.7197 128.225 55.6598 128.168C55.5999 128.112 55.5499 128.048 55.5732 128.035Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.958 127.807C54.958 127.79 55.0379 127.754 55.141 127.787C55.2442 127.82 55.2974 127.9 55.2808 127.91C55.2642 127.92 55.2076 127.88 55.1211 127.854C55.0346 127.827 54.9613 127.827 54.958 127.807Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.5253 127.7C54.5253 127.683 54.5752 127.683 54.6218 127.7C54.6684 127.717 54.705 127.747 54.6983 127.763C54.6916 127.78 54.6451 127.783 54.5985 127.763C54.5519 127.743 54.5186 127.72 54.5253 127.7Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M80.0996 42.025C80.0996 42.025 84.9781 36.9834 85.4241 37.2064C85.87 37.4294 83.6337 39.4826 83.9299 39.7488C84.2261 40.0151 86.5921 41.8021 82.7885 44.6374L80.0996 42.025Z",fill:"#E5BAAB"}),(0,e.createElement)("path",{d:"M84.2989 40.5644C84.2774 40.6153 84.2518 40.6642 84.2223 40.7108C84.1458 40.8373 84.0659 40.9671 83.986 41.1035C83.9062 41.24 83.7498 41.4762 83.6266 41.6759C83.5584 41.7977 83.4598 41.8997 83.3404 41.9721C83.2711 42.0114 83.1906 42.0265 83.1117 42.0151C83.0327 42.0036 82.9599 41.9663 82.9045 41.9088C82.8632 41.8418 82.8436 41.7636 82.8484 41.685C82.8531 41.6064 82.882 41.5312 82.9311 41.4696C83.0043 41.3464 83.0775 41.24 83.1474 41.1368C83.2772 40.9405 83.4003 40.7541 83.5168 40.5711L83.7731 40.1917C83.8018 40.1441 83.8352 40.0995 83.8729 40.0586C83.8547 40.1119 83.8289 40.1623 83.7964 40.2083L83.5601 40.5977C83.4436 40.7807 83.3271 40.9737 83.2007 41.1734L82.991 41.5062C82.9508 41.5569 82.9263 41.6182 82.9204 41.6826C82.9144 41.747 82.9274 41.8118 82.9578 41.8689C83.002 41.9095 83.0575 41.9356 83.1169 41.944C83.1763 41.9523 83.2369 41.9424 83.2905 41.9155C83.4005 41.8494 83.492 41.7567 83.5568 41.6459L83.9261 41.0802L84.1824 40.7009C84.2149 40.6503 84.254 40.6044 84.2989 40.5644Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M84.549 41.1169C84.549 41.1653 84.5423 41.2135 84.529 41.26C84.5 41.389 84.4588 41.5149 84.4059 41.6361C84.3234 41.8148 84.217 41.9816 84.0897 42.1319C84.0165 42.2261 83.9248 42.3042 83.8202 42.3615C83.7627 42.4002 83.6937 42.418 83.6246 42.412C83.5556 42.4059 83.4907 42.3764 83.4408 42.3282C83.3977 42.2747 83.3703 42.2104 83.3615 42.1423C83.3527 42.0741 83.3628 42.0049 83.3909 41.9422C83.4377 41.8343 83.4993 41.7335 83.5739 41.6427C83.6971 41.4663 83.8002 41.3099 83.8867 41.1569C83.953 41.0423 84.0252 40.9312 84.1031 40.8241C84.1303 40.7834 84.1615 40.7455 84.1962 40.7109C84.1767 40.7551 84.1534 40.7974 84.1263 40.8374C84.0598 40.9505 83.9932 41.0637 83.93 41.1702C83.8668 41.2767 83.7503 41.4863 83.6272 41.6693C83.5589 41.7579 83.5009 41.8539 83.4541 41.9555C83.4333 42.0071 83.4258 42.063 83.4322 42.1183C83.4386 42.1735 83.4587 42.2262 83.4907 42.2717C83.5312 42.3081 83.5827 42.3298 83.637 42.3334C83.6913 42.3371 83.7453 42.3223 83.7902 42.2916C83.8875 42.2376 83.9734 42.1653 84.0432 42.0787C84.1682 41.934 84.2744 41.7741 84.3593 41.6028C84.433 41.4451 84.4963 41.2828 84.549 41.1169Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M81.6066 40.9849L83.3936 40.8651C83.4267 40.8601 83.4604 40.8601 83.4935 40.8651C83.5866 40.8984 83.6033 41.0282 83.58 41.128C83.5365 41.2803 83.4574 41.4202 83.3492 41.5359C83.241 41.6516 83.1068 41.7399 82.9577 41.7935C82.6618 41.8942 82.3518 41.947 82.0392 41.9499L81.1807 41.9999",fill:"#E5BAAB"}),(0,e.createElement)("path",{d:"M81.1973 41.9923C81.2609 41.9793 81.3254 41.9715 81.3903 41.969L81.9161 41.9257C82.175 41.9134 82.4329 41.8845 82.6881 41.8392C82.9983 41.7867 83.2755 41.6147 83.4602 41.36C83.5434 41.2302 83.6132 41.0505 83.54 40.9374C83.5068 40.8808 83.4302 40.8974 83.3503 40.9008L83.1241 40.9174L82.3454 40.9607L81.8162 40.9873C81.7521 40.9951 81.6873 40.9951 81.6232 40.9873C81.6868 40.9743 81.7514 40.9665 81.8162 40.964L82.342 40.9174L83.1207 40.8542H83.347C83.3869 40.8507 83.427 40.8507 83.4668 40.8542C83.4918 40.8545 83.5163 40.8604 83.5388 40.8713C83.5612 40.8822 83.5809 40.898 83.5966 40.9174C83.6198 40.9573 83.6344 41.0015 83.6395 41.0474C83.6447 41.0932 83.6403 41.1396 83.6265 41.1836C83.6022 41.268 83.5664 41.3486 83.5201 41.4232C83.3234 41.6913 83.0295 41.8717 82.7014 41.9257C82.4428 41.9684 82.1815 41.9929 81.9194 41.9989L81.3936 42.0189C81.3273 42.0179 81.2614 42.0089 81.1973 41.9923Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M84.8583 41.5962C84.8583 41.5962 84.8417 41.6328 84.8151 41.7027C84.7793 41.7995 84.7493 41.8984 84.7252 41.9988C84.6908 42.1513 84.6347 42.2981 84.5588 42.4348C84.5081 42.5173 84.4399 42.5877 84.3591 42.6411C84.3114 42.6707 84.2552 42.6836 84.1994 42.6777C84.1702 42.6723 84.1424 42.6609 84.1178 42.6443C84.0932 42.6277 84.0723 42.6062 84.0563 42.5812C84.0296 42.5345 84.014 42.4824 84.0105 42.4288C84.007 42.3751 84.0159 42.3214 84.0364 42.2717C84.0696 42.1785 84.1129 42.0987 84.1462 42.0155L84.3392 41.5962C84.3939 41.4656 84.4573 41.3389 84.5289 41.2168C84.4925 41.3541 84.4435 41.4878 84.3824 41.6161L84.2061 42.0421C84.1462 42.1985 84.0164 42.3749 84.1162 42.5446C84.1265 42.562 84.1404 42.577 84.1571 42.5885C84.1737 42.6001 84.1927 42.6078 84.2126 42.6113C84.2325 42.6148 84.253 42.6139 84.2725 42.6087C84.2921 42.6035 84.3103 42.5941 84.3259 42.5812C84.3976 42.5344 84.4588 42.4732 84.5056 42.4015C84.5815 42.27 84.6397 42.129 84.6786 41.9822C84.7077 41.8413 84.7692 41.7091 84.8583 41.5962Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M82.5847 43.4239C82.5648 43.4239 82.6613 43.0912 82.6846 42.6619C82.7079 42.2326 82.6613 41.8998 82.6846 41.8965C82.7572 42.147 82.7809 42.4091 82.7544 42.6685C82.7489 42.9291 82.6912 43.186 82.5847 43.4239Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M59.3805 40.3457C59.3819 40.9939 59.549 41.631 59.8658 42.1966C60.1826 42.7621 60.6388 43.2373 61.1908 43.577C61.5016 43.736 61.8017 43.915 62.0893 44.1128C62.2327 44.2123 62.3509 44.3437 62.4346 44.4968C62.5184 44.6498 62.5653 44.8203 62.5719 44.9946C62.5486 45.5371 61.9962 45.8831 61.5136 46.1294C61.6462 46.2546 61.752 46.4055 61.8246 46.5728C61.8972 46.7402 61.935 46.9205 61.9359 47.1029C61.9367 47.2853 61.9005 47.466 61.8295 47.634C61.7584 47.802 61.6541 47.9538 61.5226 48.0803C61.3912 48.2067 61.2355 48.3052 61.0649 48.3697C60.8942 48.4343 60.7123 48.4635 60.5301 48.4556C60.3479 48.4478 60.1691 48.403 60.0047 48.3241C59.8403 48.2451 59.6936 48.1336 59.5735 47.9963C59.5327 48.506 59.3357 48.9907 59.0093 49.3843C58.683 49.7779 58.2432 50.0614 57.7499 50.196C57.253 50.3173 56.7354 50.3272 56.2343 50.2247C55.7331 50.1223 55.2608 49.9102 54.8514 49.6036C54.0377 48.9801 53.4019 48.1539 53.0078 47.2076",fill:"#263238"}),(0,e.createElement)("path",{d:"M56.9052 49.8584C56.8153 49.346 57.0249 47.1962 57.0249 47.1962C57.0249 47.1962 58.9983 46.9866 59.1181 45.0298C59.2379 43.0731 59.1181 38.5539 59.1181 38.5539L55.5241 36.7969L51.5674 39.7919L52.1664 49.5789L56.9052 49.8584Z",fill:"#E5BAAB"}),(0,e.createElement)("path",{d:"M58.7316 41.8336C58.7316 41.8829 58.717 41.9312 58.6895 41.9722C58.6621 42.0133 58.6231 42.0453 58.5775 42.0642C58.5319 42.083 58.4817 42.088 58.4333 42.0784C58.3849 42.0687 58.3404 42.045 58.3055 42.01C58.2706 41.9751 58.2468 41.9307 58.2372 41.8823C58.2276 41.8338 58.2325 41.7837 58.2514 41.7381C58.2703 41.6924 58.3023 41.6535 58.3433 41.626C58.3844 41.5986 58.4326 41.584 58.482 41.584C58.5482 41.584 58.6117 41.6103 58.6585 41.6571C58.7053 41.7039 58.7316 41.7674 58.7316 41.8336Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M58.9746 41.5599C58.9446 41.5932 58.7583 41.4367 58.4887 41.4201C58.2192 41.4035 58.0162 41.5366 57.9862 41.5C57.9563 41.4634 58.0062 41.4234 58.0961 41.3635C58.2154 41.2859 58.3566 41.2485 58.4987 41.257C58.6408 41.2665 58.7761 41.3214 58.8848 41.4135C58.9646 41.4833 58.9912 41.5466 58.9746 41.5599Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M55.8295 41.834C55.8328 41.8844 55.8209 41.9347 55.7954 41.9783C55.7698 42.022 55.7318 42.057 55.6862 42.0788C55.6406 42.1006 55.5894 42.1082 55.5394 42.1007C55.4894 42.0931 55.4429 42.0708 55.4057 42.0365C55.3685 42.0022 55.3425 41.9576 55.3309 41.9084C55.3194 41.8591 55.3228 41.8076 55.3409 41.7603C55.3589 41.7131 55.3907 41.6724 55.4321 41.6434C55.4735 41.6144 55.5227 41.5985 55.5733 41.5977C55.6381 41.5967 55.7009 41.6207 55.7486 41.6646C55.7963 41.7086 55.8252 41.7692 55.8295 41.834Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M55.9861 41.5599C55.9528 41.5932 55.7664 41.4367 55.4969 41.4201C55.2273 41.4035 55.0243 41.5366 54.9977 41.5C54.9711 41.4634 55.0177 41.4234 55.1042 41.3635C55.2236 41.2859 55.3647 41.2485 55.5069 41.257C55.649 41.2665 55.7843 41.3214 55.8929 41.4135C55.9728 41.4833 55.9994 41.5466 55.9861 41.5599Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M56.9573 43.8224C57.1013 43.7882 57.2486 43.7704 57.3966 43.7692C57.4632 43.7692 57.533 43.7692 57.5497 43.706C57.5623 43.6318 57.5494 43.5555 57.5131 43.4897L57.33 42.9339C57.2003 42.5379 57.0904 42.1785 57.0139 41.9156C56.9646 41.7767 56.9311 41.6327 56.9141 41.4863C56.9851 41.6152 57.042 41.7513 57.0838 41.8923C57.177 42.1486 57.3001 42.5046 57.4166 42.8907C57.4765 43.0837 57.533 43.2667 57.5929 43.4497C57.6328 43.5374 57.6411 43.6362 57.6162 43.7293C57.5928 43.7676 57.5583 43.7979 57.5174 43.8163C57.4764 43.8348 57.4308 43.8404 57.3866 43.8324C57.2436 43.8443 57.0997 43.841 56.9573 43.8224Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M56.0657 44.0957C55.7929 43.9127 56.8211 44.545 57.3702 44.545C57.2714 44.6819 57.1292 44.7814 56.9667 44.8273C56.8042 44.8732 56.6309 44.8629 56.4751 44.7979C55.906 44.555 56.0657 44.0957 56.0657 44.0957Z",fill:"white"}),(0,e.createElement)("path",{d:"M57.0308 47.1832C56.1007 47.1432 55.2013 46.8384 54.4385 46.3047C54.4385 46.3047 55.0242 47.7423 56.9876 47.6624L57.0308 47.1832Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M58.3027 37.1042C56.3593 35.0876 55.0281 35.5069 54.2661 35.5069C53.4285 35.6013 52.6195 35.8679 51.8899 36.29C51.1603 36.7121 50.5259 37.2805 50.0265 37.9595C49.484 38.5252 48.6954 40.3588 48.6221 41.0044C48.5806 41.6571 48.5806 42.3118 48.6221 42.9644C48.6221 43.63 48.4691 44.3222 47.9799 44.7548C47.6704 45.031 47.2345 45.1907 47.0481 45.5601C46.9621 45.7865 46.958 46.0358 47.0364 46.2649C47.1148 46.494 47.2708 46.6884 47.4774 46.8147C47.9023 47.0527 48.3908 47.1527 48.8751 47.1009C48.8396 47.5858 48.9822 48.0671 49.2763 48.4543C49.5704 48.8415 49.9957 49.1081 50.4724 49.204C50.9708 49.2695 51.475 49.1369 51.8767 48.8347C52.2053 49.1551 52.5532 49.4551 52.9183 49.7332C52.9982 46.8824 52.9383 44.0327 52.7386 41.1841C54.0464 40.9545 56.3992 40.249 56.7952 38.1558C57.3177 39.3471 58.1097 39.9961 59.1612 40.9012C59.1779 40.8979 60.2328 39.1209 58.3027 37.1042Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M52.9111 40.4261C53.1773 40.3915 53.4469 40.3915 53.7131 40.4261C54.3407 40.4949 54.9758 40.4198 55.57 40.2065C55.8848 40.0777 56.1545 39.8589 56.3454 39.5775C56.4976 39.3438 56.6027 39.0827 56.6549 38.8088C56.7481 38.3329 56.7015 38.0234 56.7314 38.0234C56.8167 38.2833 56.8327 38.5608 56.778 38.8288C56.7382 39.1262 56.6361 39.412 56.4785 39.6674C56.2767 39.9803 55.9841 40.2242 55.6399 40.3662C55.021 40.5937 54.3534 40.6556 53.7031 40.5459C53.4358 40.5328 53.1704 40.4927 52.9111 40.4261Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M47.7998 45.2206C47.9121 45.2175 48.0237 45.2019 48.1326 45.174C48.2674 45.1211 48.3869 45.0352 48.4799 44.9242C48.5729 44.8131 48.6366 44.6805 48.665 44.5384C48.7173 44.1012 48.6337 43.6585 48.4254 43.2705C48.3129 43.0244 48.2205 42.7696 48.1492 42.5085C48.08 42.2199 48.0609 41.9216 48.0927 41.6266C48.1608 41.062 48.3615 40.5215 48.6783 40.0493C48.9329 39.6706 49.2287 39.3212 49.5602 39.0077C49.8397 38.7381 50.0827 38.5384 50.2491 38.4053C50.3306 38.3276 50.4224 38.2616 50.5219 38.209C50.5419 38.229 50.1892 38.5418 49.6467 39.0942C49.3341 39.4125 49.0543 39.7615 48.8114 40.1358C48.518 40.5918 48.3314 41.1083 48.2657 41.6466C48.2357 41.9213 48.2514 42.199 48.3123 42.4685C48.3813 42.7221 48.4692 42.9702 48.5752 43.2106C48.7885 43.6292 48.8619 44.105 48.7848 44.5684C48.7468 44.7249 48.6684 44.8687 48.5574 44.9855C48.4465 45.1022 48.3069 45.1879 48.1525 45.2339C48.068 45.2512 47.9808 45.2512 47.8963 45.2339C47.8635 45.2371 47.8305 45.2326 47.7998 45.2206Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M62.0229 42.4221C62.0229 42.4221 62.0861 42.492 62.0827 42.655C62.0767 42.7704 62.0433 42.8828 61.9855 42.9828C61.9276 43.0829 61.8469 43.1679 61.75 43.2307C61.6002 43.3153 61.4311 43.3597 61.2591 43.3597C61.0871 43.3597 60.918 43.3153 60.7683 43.2307C60.4126 43.0306 60.1242 42.7295 59.9397 42.3655C59.5768 41.7443 59.3436 41.056 59.2541 40.3422C59.2044 40.0493 59.2044 39.75 59.2541 39.457C59.2841 39.457 59.2907 39.7898 59.3872 40.3256C59.511 41.0132 59.753 41.6741 60.1027 42.279C60.2724 42.6139 60.5331 42.8942 60.8548 43.0876C60.9824 43.162 61.1265 43.2033 61.2741 43.208C61.4216 43.2126 61.568 43.1804 61.7001 43.1143C61.7867 43.0638 61.8613 42.9951 61.9188 42.9129C61.9762 42.8308 62.0151 42.7371 62.0328 42.6384C62.0395 42.5086 62.0095 42.4254 62.0229 42.4221Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M58.9941 73.2109C58.9941 73.2109 65.6497 94.8648 65.2437 101.86C64.8377 108.855 59.9392 126.216 59.9392 126.216L58.9941 73.2109Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M49.5831 69.5226C49.4367 69.4827 46.5082 73.7821 46.4117 77.4793C46.4053 77.8414 46.4187 78.2036 46.4516 78.5642C46.5794 79.8582 46.8897 81.1276 47.3734 82.3346C49.8493 88.5808 52.3984 95.9785 52.4417 97.6757C52.5581 102.877 53.5764 126.787 53.5764 126.787L60.7645 126.278L60.5282 97.6856L58.7778 69.293L49.5831 69.5226Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M53.5 69.4004C53.5433 69.4004 53.5599 70.1991 53.5599 71.65C53.5599 73.1009 53.4933 75.2007 53.5898 77.7897C53.6165 78.4387 53.6398 79.1209 53.6963 79.823C53.7529 80.5252 53.8062 81.264 53.8827 82.0194C54.0424 83.5368 54.2587 85.1508 54.5283 86.8447C54.7978 88.5385 55.104 90.3122 55.3636 92.1691C55.6231 94.026 55.8261 95.9395 55.9359 97.9195C56.0458 99.8996 56.0258 101.83 56.0624 103.697C56.099 105.563 56.1356 107.357 56.1855 109.078C56.2854 112.505 56.4052 115.593 56.5183 118.182L56.7446 124.322C56.7679 125.041 56.7845 125.603 56.7978 125.986C56.8111 126.369 56.7978 126.568 56.7978 126.568C56.7812 126.099 56.6647 123.267 56.4651 118.179C56.3586 115.587 56.2321 112.502 56.1323 109.071C56.0824 107.357 56.0391 105.557 56.0092 103.69C55.9792 101.823 56.0092 99.8896 55.8794 97.9162C55.7496 95.9428 55.5732 94.0194 55.297 92.1791C55.0208 90.3388 54.7346 88.5551 54.4651 86.8546C54.1955 85.1541 53.9825 83.5435 53.8261 82.026C53.7496 81.2673 53.6864 80.5352 53.6431 79.8264C53.5998 79.1175 53.5666 78.442 53.5399 77.7931C53.4501 75.1974 53.5399 73.0976 53.5399 71.6466C53.5399 70.9245 53.5399 70.3588 53.5399 69.9828C53.5485 69.7877 53.5351 69.5924 53.5 69.4004Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M60.7621 125.75H53.5342V126.838H60.7621V125.75Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M53.9892 69.6199C53.9692 69.6199 53.9526 69.5467 53.9493 69.4535C53.946 69.3603 53.9493 69.2871 53.9792 69.2871C54.0092 69.2871 54.0158 69.3603 54.0192 69.4535C54.0225 69.5467 54.0059 69.6199 53.9892 69.6199Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.0063 70.2859C53.9897 70.2859 53.9697 70.2127 53.9697 70.1195C53.9697 70.0263 53.9697 69.9531 53.9997 69.9531C54.0296 69.9531 54.0363 70.0263 54.0363 70.1195C54.0363 70.2127 54.0263 70.2859 54.0063 70.2859Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.0263 70.9519C54.0097 70.9519 53.9897 70.8787 53.9864 70.7855C53.9831 70.6924 53.9864 70.6191 54.0163 70.6191C54.0463 70.6191 54.0529 70.6924 54.0563 70.7855C54.0596 70.8787 54.0463 70.9519 54.0263 70.9519Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.0459 71.616C54.0259 71.616 54.0093 71.5428 54.0059 71.4496C54.0026 71.3564 54.0059 71.2832 54.0359 71.2832C54.0658 71.2832 54.0725 71.3564 54.0758 71.4496C54.0791 71.5428 54.0658 71.616 54.0459 71.616Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.0664 72.282C54.0464 72.282 54.0298 72.2088 54.0264 72.1156C54.0231 72.0224 54.0264 71.9492 54.0564 71.9492C54.0863 71.9492 54.093 72.0224 54.0963 72.1156C54.0996 72.2088 54.0863 72.282 54.0664 72.282Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.0859 72.948C54.0659 72.948 54.0493 72.8748 54.046 72.7816C54.0426 72.6884 54.046 72.6152 54.0759 72.6152C54.1059 72.6152 54.1125 72.6885 54.1158 72.7783C54.1192 72.8682 54.1059 72.948 54.0859 72.948Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.1064 73.614C54.0864 73.614 54.0698 73.5408 54.0665 73.4476C54.0631 73.3545 54.0665 73.2812 54.0964 73.2812C54.1264 73.2812 54.133 73.3545 54.1364 73.4443C54.1397 73.5342 54.123 73.6107 54.1064 73.614Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.1259 74.2781C54.1059 74.2781 54.0859 74.2016 54.0859 74.1117C54.0859 74.0219 54.0859 73.9453 54.1159 73.9453C54.1458 73.9453 54.1525 74.0185 54.1558 74.1084C54.1591 74.1982 54.1425 74.2748 54.1259 74.2781Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.1431 74.9423C54.1264 74.9423 54.1064 74.869 54.1064 74.7792C54.1064 74.6893 54.1065 74.6128 54.1331 74.6095C54.1597 74.6061 54.173 74.686 54.173 74.7759C54.173 74.8657 54.163 74.9423 54.1431 74.9423Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.163 75.6063C54.1431 75.6063 54.1264 75.5331 54.1231 75.4433C54.1198 75.3534 54.1231 75.2769 54.1531 75.2735C54.183 75.2702 54.1897 75.3468 54.193 75.4399C54.1963 75.5331 54.183 75.6063 54.163 75.6063Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.1826 76.2722C54.1626 76.2722 54.146 76.199 54.1426 76.1092C54.1393 76.0193 54.1426 75.9395 54.1726 75.9395C54.2025 75.9395 54.2092 76.0127 54.2125 76.1058C54.2158 76.199 54.2025 76.2722 54.1826 76.2722Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.186 76.9417C54.1661 76.9417 54.1528 76.8651 54.1494 76.7753C54.1461 76.6854 54.1494 76.6089 54.186 76.6056C54.2226 76.6022 54.2193 76.6821 54.2193 76.7753C54.2193 76.8685 54.206 76.9417 54.186 76.9417Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.1958 77.6062C54.1758 77.6062 54.1592 77.533 54.1592 77.4398C54.1592 77.3466 54.1592 77.2734 54.1891 77.2734C54.2191 77.2734 54.2257 77.3466 54.2257 77.4398C54.2257 77.533 54.2157 77.6062 54.1958 77.6062Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.2095 78.2722C54.2095 78.2722 54.1729 78.199 54.1729 78.1092C54.1729 78.0193 54.1729 77.9395 54.2028 77.9395C54.2328 77.9395 54.2394 78.0127 54.2394 78.1058C54.2394 78.199 54.2427 78.2722 54.2095 78.2722Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.2422 78.9417C54.2222 78.9417 54.2056 78.8685 54.2022 78.7753C54.1989 78.6821 54.2022 78.6089 54.2289 78.6056C54.2555 78.6022 54.2688 78.6821 54.2721 78.772C54.2754 78.8618 54.2422 78.9384 54.2422 78.9417Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.2588 79.6062C54.2421 79.6062 54.2222 79.533 54.2188 79.4398C54.2155 79.3466 54.2188 79.2734 54.2455 79.2734C54.2721 79.2734 54.2821 79.3466 54.2887 79.4365C54.2954 79.5263 54.2787 79.6029 54.2588 79.6062Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.2957 80.2722C54.2757 80.2722 54.2591 80.199 54.2524 80.1058C54.2457 80.0127 54.2524 79.9395 54.279 79.9395C54.3056 79.9395 54.3156 80.0093 54.3223 80.1025C54.3289 80.1957 54.3156 80.2689 54.2957 80.2722Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.3391 80.9344C54.3191 80.9344 54.2991 80.8646 54.2925 80.7714C54.2858 80.6782 54.2925 80.605 54.3158 80.6017C54.3391 80.5983 54.3557 80.6749 54.3624 80.7681C54.369 80.8612 54.359 80.9344 54.3391 80.9344Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.3889 81.6005C54.369 81.6005 54.349 81.5273 54.3423 81.4374C54.3357 81.3476 54.3423 81.271 54.3623 81.2677C54.3823 81.2644 54.4022 81.3409 54.4122 81.4308C54.4222 81.5206 54.4089 81.5971 54.3889 81.6005Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.4489 82.2631C54.4289 82.2631 54.4056 82.1932 54.399 82.1C54.3923 82.0068 54.399 81.9336 54.4189 81.9336C54.4389 81.9336 54.4589 82.0035 54.4655 82.0967C54.4722 82.1898 54.4655 82.2631 54.4489 82.2631Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.5124 82.9252C54.4924 82.9252 54.4724 82.8553 54.4624 82.7654C54.4525 82.6756 54.4624 82.5957 54.4624 82.5957C54.4624 82.5957 54.5057 82.6656 54.5124 82.7588C54.519 82.8519 54.5323 82.9252 54.5124 82.9252Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.5758 83.5873C54.5558 83.5873 54.5325 83.5174 54.5225 83.4275C54.5126 83.3377 54.5225 83.2578 54.5392 83.2578C54.5558 83.2578 54.5824 83.3277 54.5924 83.4175C54.6024 83.5074 54.6057 83.5873 54.5758 83.5873Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.665 84.2489C54.6451 84.2489 54.6218 84.179 54.6085 84.0858C54.5951 83.9927 54.6085 83.9195 54.6085 83.9161C54.6085 83.9128 54.6517 83.986 54.6617 84.0792C54.6717 84.1724 54.685 84.2456 54.665 84.2489Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.7519 84.9076C54.732 84.9076 54.7087 84.8377 54.6954 84.7478C54.6821 84.658 54.6954 84.5781 54.6954 84.5781C54.6954 84.5781 54.7386 84.6447 54.7519 84.7379C54.7653 84.831 54.7719 84.9042 54.7519 84.9076Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.8451 85.5639C54.8251 85.5639 54.7985 85.4941 54.7852 85.4042C54.7719 85.3144 54.7852 85.2378 54.7852 85.2345C54.7852 85.2312 54.8285 85.3044 54.8418 85.3942C54.8551 85.4841 54.8617 85.5606 54.8451 85.5639Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.9413 86.2187C54.9247 86.2187 54.8981 86.1521 54.8814 86.059C54.8648 85.9658 54.8814 85.8926 54.8814 85.8926C54.8814 85.8926 54.928 85.9591 54.9413 86.049C54.9546 86.1388 54.9613 86.2154 54.9413 86.2187Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.0443 86.8784C55.0277 86.8784 54.9977 86.8085 54.9844 86.7187C54.9711 86.6288 54.9844 86.5523 54.9844 86.5489C54.9844 86.5456 55.0277 86.6188 55.0443 86.7087C55.061 86.7985 55.0643 86.8751 55.0443 86.8784Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.1508 87.521C55.1341 87.521 55.1042 87.4544 55.0909 87.3612C55.0776 87.268 55.0909 87.1948 55.0909 87.1915C55.0909 87.1882 55.1375 87.2614 55.1541 87.3512C55.1707 87.4411 55.1708 87.521 55.1508 87.521Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.2611 88.185C55.2445 88.185 55.2145 88.1151 55.2012 88.0253C55.1879 87.9354 55.2012 87.8589 55.2012 87.8556C55.2012 87.8523 55.2478 87.9255 55.2611 88.0153C55.2744 88.1052 55.2811 88.185 55.2611 88.185Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.3743 88.851C55.3544 88.851 55.3277 88.7812 55.3111 88.6913C55.2945 88.6015 55.3111 88.5249 55.3111 88.5216C55.3111 88.5183 55.3577 88.5881 55.3743 88.6813C55.391 88.7745 55.391 88.851 55.3743 88.851Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.4838 89.4962C55.4638 89.4962 55.4372 89.4296 55.4239 89.3398C55.4106 89.2499 55.4239 89.1734 55.4239 89.17C55.4239 89.1667 55.4705 89.2366 55.4871 89.3264C55.5038 89.4163 55.5038 89.4928 55.4838 89.4962Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.5932 90.1518C55.5765 90.1518 55.5466 90.0819 55.5333 89.9921C55.5199 89.9022 55.5333 89.8257 55.5333 89.8224C55.5333 89.819 55.5798 89.8923 55.5932 89.9821C55.6065 90.072 55.6131 90.1485 55.5932 90.1518Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.7034 90.8047C55.6835 90.8047 55.6568 90.7382 55.6402 90.6483C55.6236 90.5585 55.6402 90.482 55.6402 90.4786C55.6402 90.4753 55.6868 90.5452 55.7001 90.6384C55.7134 90.7315 55.7201 90.8014 55.7034 90.8047Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.8061 91.461C55.7861 91.461 55.7595 91.3945 55.7462 91.3046C55.7328 91.2147 55.7462 91.1382 55.7462 91.1349C55.7462 91.1316 55.7894 91.2014 55.8061 91.2913C55.8227 91.3811 55.826 91.4577 55.8061 91.461Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.9062 92.1153C55.8896 92.1153 55.863 92.0487 55.8497 91.9589C55.8364 91.869 55.8497 91.7925 55.8497 91.7892C55.8497 91.7858 55.8963 91.8557 55.9096 91.9456C55.9229 92.0354 55.9262 92.112 55.9062 92.1153Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.0023 92.7749C55.9824 92.7749 55.9558 92.705 55.9424 92.6151C55.9291 92.5253 55.9424 92.4487 55.9424 92.4454C55.9424 92.4421 55.9857 92.5153 55.999 92.6052C56.0123 92.695 56.019 92.7716 56.0023 92.7749Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.0889 93.4311C56.0723 93.4311 56.0457 93.3646 56.0357 93.2714C56.0257 93.1782 56.0357 93.105 56.0357 93.1017C56.0357 93.0983 56.0823 93.1716 56.0923 93.2614C56.1022 93.3513 56.1089 93.4311 56.0889 93.4311Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.1719 94.0893C56.152 94.0893 56.1287 94.0194 56.1187 93.9296C56.1087 93.8397 56.1187 93.7632 56.1187 93.7599C56.1187 93.7565 56.1619 93.8298 56.1719 93.9229C56.1819 94.0161 56.1919 94.0893 56.1719 94.0893Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.2389 94.7509C56.2189 94.7509 56.1956 94.681 56.1856 94.5878C56.1756 94.4946 56.1856 94.4214 56.2023 94.4181C56.2189 94.4148 56.2422 94.488 56.2522 94.5811C56.2622 94.6743 56.2655 94.7475 56.2389 94.7509Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.3161 95.4116C56.2962 95.4116 56.2729 95.3417 56.2662 95.2519C56.2596 95.162 56.2662 95.0855 56.2829 95.0821C56.2995 95.0788 56.3261 95.152 56.3328 95.2452C56.3394 95.3384 56.3361 95.4116 56.3161 95.4116Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.3751 96.0716C56.3552 96.0716 56.3352 96.0018 56.3252 95.9086C56.3152 95.8154 56.3252 95.7422 56.3452 95.7422C56.3651 95.7422 56.3884 95.8121 56.3951 95.9053C56.4017 95.9984 56.3951 96.0716 56.3751 96.0716Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.429 96.739C56.409 96.739 56.389 96.6658 56.3824 96.5726C56.3757 96.4795 56.3824 96.4062 56.4023 96.4062C56.4223 96.4062 56.4423 96.4761 56.4489 96.5693C56.4556 96.6625 56.4456 96.7357 56.429 96.739Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.4721 97.4012C56.4521 97.4012 56.4322 97.328 56.4288 97.2382C56.4255 97.1483 56.4288 97.0718 56.4521 97.0685C56.4754 97.0651 56.492 97.1417 56.4954 97.2315C56.4987 97.3214 56.4921 97.4012 56.4721 97.4012Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.5086 98.0634C56.4919 98.0634 56.4719 97.9901 56.4653 97.9003C56.4586 97.8104 56.4653 97.7339 56.4919 97.7306C56.5185 97.7272 56.5319 97.8038 56.5352 97.8936C56.5385 97.9835 56.5285 98.06 56.5086 98.0634Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.539 98.7255C56.539 98.7255 56.5024 98.6522 56.4991 98.5624C56.4958 98.4725 56.4991 98.396 56.5257 98.3927C56.5524 98.3894 56.5657 98.4659 56.569 98.5591C56.5723 98.6523 56.5723 98.7255 56.539 98.7255Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.5722 99.3894C56.5556 99.3894 56.5356 99.3162 56.5323 99.223C56.529 99.1299 56.5323 99.0566 56.5622 99.0566C56.5922 99.0566 56.5988 99.1298 56.6022 99.2197C56.6055 99.3095 56.5722 99.3861 56.5722 99.3894Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.5718 100.054C56.5718 100.054 56.5352 99.9804 56.5352 99.8905C56.5352 99.8007 56.5352 99.7241 56.5651 99.7208C56.5951 99.7175 56.6017 99.7973 56.605 99.8872C56.6084 99.977 56.5984 100.054 56.5718 100.054Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.5884 100.718C56.5718 100.718 56.5551 100.644 56.5518 100.551C56.5485 100.458 56.5518 100.385 56.5851 100.385C56.6184 100.385 56.6217 100.461 56.6217 100.551C56.6217 100.641 56.6084 100.718 56.5884 100.718Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.5952 101.387C56.5752 101.387 56.5586 101.311 56.5586 101.221C56.5586 101.131 56.5586 101.055 56.5919 101.055C56.6252 101.055 56.6285 101.128 56.6285 101.221C56.6285 101.314 56.6152 101.387 56.5952 101.387Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.602 102.053C56.5821 102.053 56.5654 101.977 56.5654 101.887C56.5654 101.797 56.5654 101.721 56.5987 101.721C56.632 101.721 56.632 101.794 56.632 101.884C56.632 101.974 56.6187 102.053 56.602 102.053Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6089 102.718C56.5889 102.718 56.5723 102.641 56.5723 102.551C56.5723 102.461 56.5723 102.385 56.6055 102.385C56.6388 102.385 56.6388 102.458 56.6421 102.548C56.6455 102.638 56.6255 102.714 56.6089 102.718Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6148 103.384C56.5981 103.384 56.5815 103.307 56.5782 103.217C56.5748 103.127 56.5782 103.051 56.6114 103.051C56.6447 103.051 56.6481 103.124 56.6481 103.214C56.6481 103.304 56.6347 103.38 56.6148 103.384Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6288 104.05C56.6089 104.05 56.5922 103.973 56.5889 103.883C56.5856 103.793 56.5889 103.717 56.6222 103.717C56.6555 103.717 56.6588 103.79 56.6588 103.88C56.6588 103.97 56.6455 104.046 56.6288 104.05Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6382 104.712C56.6182 104.712 56.6016 104.639 56.6016 104.549C56.6016 104.459 56.6016 104.382 56.6315 104.379C56.6615 104.376 56.6681 104.456 56.6714 104.545C56.6748 104.635 56.6581 104.712 56.6382 104.712Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6518 105.378C56.6319 105.378 56.6152 105.305 56.6152 105.215C56.6152 105.125 56.6152 105.048 56.6452 105.045C56.6751 105.042 56.6818 105.122 56.6818 105.211C56.6818 105.301 56.6718 105.378 56.6518 105.378Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6656 106.044C56.6656 106.044 56.6323 105.971 56.629 105.881C56.6256 105.791 56.629 105.714 56.6589 105.711C56.6889 105.708 56.6955 105.788 56.6989 105.877C56.7022 105.967 56.6855 106.044 56.6656 106.044Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6821 106.708C56.6621 106.708 56.6455 106.635 56.6455 106.545C56.6455 106.455 56.6455 106.375 56.6755 106.375C56.7054 106.375 56.7121 106.448 56.7121 106.541C56.7121 106.635 56.7021 106.708 56.6821 106.708Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6982 107.374C56.6782 107.374 56.6616 107.301 56.6582 107.211C56.6549 107.121 56.6582 107.041 56.6915 107.041C56.7248 107.041 56.7281 107.114 56.7281 107.207C56.7281 107.301 56.7181 107.374 56.6982 107.374Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.7187 108.04C56.6987 108.04 56.6821 107.967 56.6788 107.873C56.6754 107.78 56.6788 107.707 56.7087 107.707C56.7387 107.707 56.7453 107.78 56.7487 107.873C56.752 107.967 56.7353 108.04 56.7187 108.04Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.7353 108.704C56.7153 108.704 56.6987 108.631 56.6954 108.537C56.692 108.444 56.6954 108.371 56.7253 108.371C56.7553 108.371 56.7619 108.444 56.7653 108.537C56.7686 108.631 56.7553 108.704 56.7353 108.704Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.7548 109.37C56.7349 109.37 56.7182 109.297 56.7149 109.203C56.7116 109.11 56.7149 109.037 56.7449 109.037C56.7748 109.037 56.7815 109.11 56.7848 109.203C56.7881 109.297 56.7748 109.37 56.7548 109.37Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.7744 110.036C56.7577 110.036 56.7378 109.963 56.7344 109.87C56.7311 109.776 56.7344 109.703 56.7644 109.703C56.7943 109.703 56.801 109.776 56.8043 109.87C56.8077 109.963 56.7943 110.036 56.7744 110.036Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.7978 110.702C56.7778 110.702 56.7612 110.629 56.7579 110.536C56.7545 110.442 56.7579 110.369 56.7878 110.369C56.8178 110.369 56.8244 110.442 56.8278 110.536C56.8311 110.629 56.8178 110.702 56.7978 110.702Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.8216 111.368C56.8017 111.368 56.7817 111.295 56.7784 111.202C56.7751 111.108 56.7784 111.035 56.8083 111.035C56.8383 111.035 56.8449 111.108 56.8483 111.198C56.8516 111.288 56.8383 111.368 56.8216 111.368Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.8418 112.032C56.8251 112.032 56.8051 111.959 56.8018 111.866C56.7985 111.772 56.8018 111.699 56.8318 111.699C56.8617 111.699 56.8684 111.772 56.8717 111.862C56.875 111.952 56.8617 112.029 56.8418 112.032Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.8685 112.695C56.8486 112.695 56.8286 112.621 56.8253 112.532C56.8219 112.442 56.8253 112.365 56.8552 112.365C56.8852 112.365 56.8918 112.438 56.8951 112.528C56.8985 112.618 56.8852 112.695 56.8685 112.695Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.9053 113.36C56.8853 113.36 56.8687 113.287 56.8653 113.197C56.862 113.107 56.8653 113.031 56.8919 113.027C56.9186 113.024 56.9285 113.101 56.9319 113.194C56.9352 113.287 56.9053 113.36 56.9053 113.36Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.9053 114.026C56.8853 114.026 56.8687 113.953 56.8653 113.863C56.862 113.773 56.8653 113.693 56.8919 113.693C56.9186 113.693 56.9319 113.767 56.9352 113.86C56.9385 113.953 56.9352 114.026 56.9053 114.026Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.9408 114.692C56.9208 114.692 56.9009 114.619 56.8975 114.526C56.8942 114.433 56.8975 114.359 56.9275 114.359C56.9574 114.359 56.9641 114.433 56.9674 114.526C56.9707 114.619 56.9574 114.692 56.9408 114.692Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.9648 115.356C56.9482 115.356 56.9282 115.283 56.9249 115.19C56.9215 115.097 56.9249 115.023 56.9548 115.023C56.9848 115.023 56.9914 115.097 56.9947 115.19C56.9981 115.283 56.9848 115.356 56.9648 115.356Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.9912 116.022C56.9712 116.022 56.9546 115.949 56.9513 115.856C56.9479 115.763 56.9513 115.689 56.9779 115.689C57.0045 115.689 57.0178 115.763 57.0211 115.853C57.0245 115.942 57.0112 116.022 56.9912 116.022Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.0176 116.688C56.9976 116.688 56.981 116.615 56.9776 116.522C56.9743 116.429 56.9776 116.355 57.0042 116.355C57.0309 116.355 57.0409 116.429 57.0442 116.519C57.0475 116.608 57.0375 116.685 57.0176 116.688Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.0449 117.351C57.0249 117.351 57.0083 117.281 57.005 117.188C57.0016 117.095 57.005 117.021 57.0316 117.021C57.0582 117.021 57.0682 117.091 57.0715 117.185C57.0749 117.278 57.0649 117.351 57.0449 117.351Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.071 118.016C57.051 118.016 57.0344 117.943 57.0277 117.853C57.0211 117.764 57.0277 117.687 57.0577 117.684C57.0876 117.68 57.0943 117.757 57.0976 117.85C57.101 117.943 57.091 118.016 57.071 118.016Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.098 118.68C57.078 118.68 57.0581 118.607 57.0548 118.517C57.0514 118.428 57.0547 118.348 57.0847 118.348C57.1146 118.348 57.1213 118.421 57.1246 118.514C57.128 118.607 57.118 118.68 57.098 118.68Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.1244 119.346C57.1044 119.346 57.0844 119.273 57.0811 119.18C57.0778 119.087 57.0811 119.014 57.1111 119.014C57.141 119.014 57.1477 119.087 57.151 119.18C57.1543 119.273 57.141 119.346 57.1244 119.346Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.1507 120.012C57.1308 120.012 57.1108 119.939 57.1075 119.846C57.1042 119.753 57.1075 119.68 57.1374 119.68C57.1674 119.68 57.174 119.753 57.1774 119.843C57.1807 119.933 57.1674 120.012 57.1507 120.012Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.1771 120.678C57.1571 120.678 57.1372 120.605 57.1339 120.512C57.1305 120.419 57.1339 120.346 57.1638 120.346C57.1938 120.346 57.2004 120.419 57.2037 120.509C57.2071 120.599 57.1938 120.675 57.1771 120.678Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.2012 121.344C57.1845 121.344 57.1645 121.271 57.1612 121.178C57.1579 121.085 57.1612 121.012 57.1878 121.012C57.2145 121.012 57.2278 121.085 57.2311 121.175C57.2344 121.265 57.2378 121.341 57.2012 121.344Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.2373 122.007C57.2173 122.007 57.2007 121.934 57.1974 121.844C57.194 121.754 57.1973 121.677 57.224 121.674C57.2506 121.671 57.2639 121.747 57.2672 121.84C57.2706 121.934 57.2373 122.007 57.2373 122.007Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.2543 122.671C57.2343 122.671 57.2143 122.598 57.211 122.508C57.2077 122.418 57.211 122.341 57.2409 122.338C57.2709 122.335 57.2776 122.411 57.2809 122.504C57.2842 122.598 57.2709 122.671 57.2543 122.671Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.2773 123.337C57.2574 123.337 57.2407 123.263 57.2374 123.174C57.2341 123.084 57.2374 123.004 57.264 123.004C57.2906 123.004 57.3039 123.077 57.3073 123.17C57.3106 123.263 57.2973 123.337 57.2773 123.337Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.3041 124.003C57.2841 124.003 57.2641 123.929 57.2608 123.836C57.2575 123.743 57.2608 123.67 57.2908 123.67C57.3207 123.67 57.3274 123.743 57.3307 123.836C57.334 123.929 57.3207 124.003 57.3041 124.003Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.3275 124.669C57.3075 124.669 57.2876 124.596 57.2842 124.502C57.2809 124.409 57.2842 124.336 57.3142 124.336C57.3441 124.336 57.3508 124.409 57.3541 124.502C57.3575 124.596 57.3441 124.669 57.3275 124.669Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.3505 125.338C57.3305 125.338 57.3105 125.262 57.3105 125.172C57.3105 125.082 57.3105 125.002 57.3372 125.002C57.3638 125.002 57.3738 125.075 57.3771 125.168C57.3804 125.262 57.3671 125.335 57.3505 125.338Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.3701 126.003C57.3701 126.003 57.3335 125.929 57.3301 125.836C57.3268 125.743 57.3301 125.67 57.3601 125.67C57.39 125.67 57.3967 125.743 57.4 125.833C57.4033 125.923 57.39 126.003 57.3701 126.003Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.3872 126.486C57.3672 126.486 57.3506 126.452 57.3506 126.412C57.3506 126.373 57.3506 126.336 57.3839 126.336C57.4171 126.336 57.4171 126.369 57.4205 126.409C57.4238 126.449 57.4072 126.486 57.3872 126.486Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M59.2873 76.8974C59.2408 76.9231 59.1891 76.9379 59.1361 76.9408C59.0831 76.9437 59.0301 76.9345 58.9811 76.9141C58.8625 76.8723 58.7601 76.7943 58.6883 76.6911C58.6012 76.551 58.5477 76.3927 58.5319 76.2286C58.4753 75.5164 58.4254 74.5347 58.3655 73.4465C58.3056 72.3583 58.2623 71.4232 58.2224 70.6645L58.1891 69.8192C58.1891 69.7394 58.1891 69.6628 58.1891 69.5896C58.1857 69.5631 58.1857 69.5363 58.1891 69.5098C58.1934 69.5362 58.1934 69.5632 58.1891 69.5896C58.1891 69.6628 58.1891 69.7361 58.2091 69.8192C58.2257 70.0588 58.2457 70.3384 58.2657 70.6612C58.3089 71.4199 58.3655 72.3816 58.4287 73.4432C58.4919 74.5048 58.5352 75.4632 58.5751 76.2219C58.585 76.3797 58.633 76.5327 58.7149 76.6678C58.7795 76.7675 58.8738 76.8444 58.9845 76.8875C59.0815 76.9244 59.1881 76.928 59.2873 76.8974Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M47.317 82.0104C47.4075 81.9959 47.4958 81.9702 47.5799 81.9338C47.802 81.8166 47.9753 81.6244 48.0691 81.3914C48.1869 81.0381 48.2267 80.6634 48.1855 80.2932C48.1685 79.8338 48.1229 79.3759 48.0491 78.9222C47.9191 78.1145 47.705 77.3226 47.4102 76.5595L47.4368 76.5761L46.6548 76.7059L46.4384 76.7358H46.3652C46.3883 76.725 46.4131 76.7182 46.4384 76.7159L46.6481 76.6693L47.4301 76.5195H47.4501V76.5395C47.7608 77.3016 47.9841 78.0965 48.1156 78.9089C48.1885 79.3649 48.2329 79.825 48.2488 80.2866C48.2859 80.6661 48.2381 81.0492 48.109 81.4081C48.0093 81.6489 47.8229 81.8437 47.5865 81.9538C47.5029 81.995 47.4102 82.0144 47.317 82.0104Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M47.6865 77.5566C47.4831 77.6399 47.271 77.7002 47.0542 77.7363C46.8367 77.7957 46.6137 77.8325 46.3887 77.8462C46.5933 77.7632 46.8065 77.703 47.0243 77.6665C47.2412 77.6095 47.4629 77.5727 47.6865 77.5566Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M83.7299 44.7742L80.0028 41.7227C69.873 50.8608 56.8115 49.8225 56.8115 49.8225V49.8458C56.2258 49.7493 53.1509 49.2568 52.1326 49.2368C51.3373 49.2368 49.497 49.0771 48.1958 50.305C48.1621 50.3344 48.1298 50.3655 48.0993 50.3982C46.9213 51.5496 35.121 63.1702 36.3789 66.0388C37.71 69.0704 48.9047 75.6528 48.9047 75.6528L51.6201 70.721C51.6201 70.721 50.7749 70.1686 49.6235 69.3899L58.7749 69.1536L59.1775 62.3017C59.1775 62.3017 60.7416 60.5546 60.7416 59.3067C60.7416 58.4348 60.2591 56.9772 59.6401 55.4997C74.0694 54.3017 83.7299 44.7742 83.7299 44.7742ZM43.1709 64.4082C43.2774 64.0488 45.6235 61.4831 47.7399 59.2202C48.4721 63.696 49.4671 68.8541 49.5636 69.3633C47.0178 67.6361 43.0344 64.8541 43.1709 64.4049V64.4082Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M60.1988 60.8171C60.0879 60.8227 59.9769 60.8227 59.866 60.8171C59.5416 60.8223 59.218 60.7831 58.9043 60.7006C58.6518 60.6395 58.4157 60.5239 58.2128 60.3617C58.0098 60.1996 57.8449 59.9949 57.7296 59.7622C57.6573 59.6145 57.6197 59.4523 57.6197 59.288C57.6197 59.1236 57.6573 58.9614 57.7296 58.8137C57.8058 58.644 57.9297 58.5002 58.0863 58.3997C58.2429 58.2993 58.4254 58.2465 58.6114 58.248C58.8146 58.2764 59.0041 58.3667 59.1542 58.5066C59.3043 58.6466 59.4075 58.8293 59.45 59.0301C59.4898 59.2466 59.4805 59.4693 59.4229 59.6818C59.3653 59.8943 59.2609 60.0912 59.1172 60.258C58.8125 60.6283 58.4208 60.9175 57.9773 61.0998C57.5337 61.2821 57.0519 61.3519 56.5748 61.3029C56.0567 61.2673 55.5567 61.0976 55.1239 60.8104C54.6624 60.5152 54.3223 60.0641 54.1655 59.5392C54.0892 59.2643 54.1055 58.9719 54.2121 58.7073C54.3346 58.4399 54.5567 58.2309 54.8311 58.1249C54.9684 58.0645 55.1196 58.0424 55.2684 58.0612C55.4173 58.0799 55.5583 58.1388 55.6763 58.2314C55.7896 58.332 55.8763 58.4591 55.9285 58.6014C55.9808 58.7437 55.997 58.8966 55.9758 59.0467C55.9463 59.3399 55.847 59.6217 55.6863 59.8687C55.5223 60.1046 55.3225 60.3134 55.094 60.4876C54.6468 60.8263 54.1193 61.0431 53.5632 61.1166C53.04 61.2041 52.5031 61.1538 52.0053 60.9706C51.5075 60.7873 51.0661 60.4775 50.7246 60.0717C50.5681 59.872 50.461 59.6383 50.4118 59.3895C50.3656 59.1431 50.397 58.8884 50.5016 58.6607C50.552 58.5496 50.6247 58.4501 50.7152 58.3682C50.8056 58.2864 50.9119 58.2239 51.0274 58.1848C51.2565 58.119 51.5019 58.1403 51.7162 58.2447C51.9185 58.3357 52.0918 58.4808 52.2168 58.664C52.3419 58.8472 52.414 59.0614 52.4251 59.283C52.4208 59.6903 52.2572 60.0797 51.9692 60.3678C51.7287 60.6135 51.438 60.8044 51.1169 60.9273C50.7958 61.0502 50.452 61.1023 50.1089 61.08C49.5924 61.0567 49.0915 60.8959 48.658 60.6141C48.3841 60.4397 48.1467 60.2136 47.9592 59.9485C47.8933 59.8572 47.8354 59.7603 47.7861 59.659C47.7861 59.659 47.8427 59.7588 47.9758 59.9352C48.1679 60.1932 48.4073 60.4123 48.6813 60.5808C49.1109 60.852 49.6046 61.0047 50.1123 61.0234C50.4444 61.0433 50.7769 60.9918 51.0874 60.8724C51.398 60.753 51.6793 60.5685 51.9126 60.3312C52.1851 60.0554 52.3391 59.684 52.3419 59.2963C52.3299 59.0907 52.2615 58.8925 52.144 58.7234C52.0266 58.5543 51.8647 58.4209 51.6763 58.3379C51.4821 58.2416 51.259 58.2214 51.0507 58.2813C50.9469 58.3173 50.8517 58.3743 50.771 58.4487C50.6903 58.5231 50.6257 58.6134 50.5815 58.7139C50.4869 58.9222 50.4579 59.1543 50.4983 59.3795C50.5475 59.6127 50.65 59.8314 50.7978 60.0184C51.13 60.409 51.5581 60.7064 52.04 60.8814C52.5219 61.0565 53.0411 61.1031 53.5465 61.0167C54.0849 60.9469 54.5956 60.7369 55.0274 60.4078C55.2462 60.2416 55.4372 60.0417 55.5931 59.8154C55.7459 59.5828 55.8406 59.3169 55.8693 59.04C55.8888 58.9068 55.875 58.7708 55.8291 58.6442C55.7833 58.5176 55.7067 58.4044 55.6064 58.3146C55.5029 58.233 55.3789 58.1814 55.248 58.1656C55.1171 58.1497 54.9844 58.1702 54.8643 58.2247C54.6164 58.3214 54.4151 58.5097 54.3019 58.7505C54.2056 58.9957 54.1916 59.2654 54.262 59.5192C54.4115 60.0199 54.7364 60.4499 55.1771 60.7306C55.5964 61.0086 56.0799 61.1747 56.5815 61.2131C57.0428 61.2616 57.5091 61.196 57.9391 61.0219C58.3691 60.8478 58.7497 60.5706 59.0474 60.2147C59.1825 60.0578 59.281 59.8728 59.3357 59.673C59.3904 59.4733 59.3999 59.2639 59.3635 59.06C59.3272 58.8736 59.2336 58.7032 59.0958 58.5725C58.958 58.4419 58.7828 58.3575 58.5948 58.3312C58.4224 58.3299 58.2534 58.3785 58.1081 58.4712C57.9628 58.564 57.8475 58.6968 57.7761 58.8537C57.708 58.993 57.6725 59.1461 57.6725 59.3013C57.6725 59.4564 57.708 59.6095 57.7761 59.7489C57.8866 59.9754 58.045 60.1752 58.2404 60.3343C58.4357 60.4935 58.6634 60.6083 58.9076 60.6707C59.2178 60.7562 59.5376 60.802 59.8593 60.8071H60.1921L60.1988 60.8171Z",fill:"white"}),(0,e.createElement)("path",{d:"M58.9015 67.1383L58.7351 67.2514C58.6253 67.3213 58.4655 67.4278 58.2525 67.5576C57.9968 67.7221 57.7233 67.8571 57.4372 67.9603C57.0508 68.0843 56.6415 68.1207 56.2392 68.0667C55.7419 68.0404 55.267 67.8509 54.8882 67.5276C54.6827 67.3325 54.5501 67.073 54.5121 66.7922C54.4936 66.6421 54.5145 66.4898 54.5729 66.3503C54.6312 66.2108 54.725 66.089 54.8449 65.9969C54.9699 65.8983 55.122 65.8403 55.2808 65.8305C55.4474 65.8247 55.6101 65.8817 55.7367 65.9902C55.8597 66.1026 55.9507 66.2456 56.0004 66.4046C56.0501 66.5636 56.0567 66.7329 56.0196 66.8954C55.9345 67.2244 55.7425 67.5159 55.4739 67.724C55.2104 67.9399 54.9137 68.1119 54.5953 68.2331C53.9622 68.47 53.2729 68.5129 52.6153 68.3563C51.9932 68.2344 51.4423 67.8767 51.0778 67.3579C50.9955 67.231 50.9449 67.0861 50.9305 66.9355C50.916 66.7849 50.938 66.633 50.9947 66.4927C51.0566 66.3632 51.15 66.2512 51.2662 66.167C51.3824 66.0827 51.5179 66.0288 51.6602 66.0102C51.7299 66.0015 51.8007 66.007 51.8681 66.0265C51.9356 66.0459 51.9985 66.0789 52.0529 66.1233C52.1557 66.2092 52.228 66.3259 52.2592 66.4561C52.287 66.5753 52.2889 66.699 52.2648 66.819C52.2407 66.939 52.1911 67.0524 52.1194 67.1516C51.8624 67.4745 51.5148 67.7133 51.1211 67.8371C50.8322 67.9362 50.5279 67.9824 50.2226 67.9736C50.03 67.9695 49.8387 67.9404 49.6536 67.887C49.5888 67.8694 49.5254 67.8472 49.4639 67.8205C49.711 67.8899 49.9659 67.9279 50.2226 67.9336C50.5223 67.9361 50.82 67.8843 51.1011 67.7806C51.4749 67.6567 51.8037 67.4252 52.0462 67.115C52.1118 67.025 52.1571 66.9219 52.179 66.8128C52.2008 66.7036 52.1987 66.591 52.1727 66.4827C52.1486 66.3679 52.083 66.266 51.9884 66.1966C51.8939 66.1272 51.777 66.0952 51.6602 66.1067C51.5337 66.1251 51.4137 66.1746 51.3109 66.2507C51.2082 66.3267 51.1258 66.427 51.0712 66.5426C51.0218 66.6696 51.0035 66.8066 51.018 66.9421C51.0325 67.0776 51.0792 67.2076 51.1544 67.3213C51.506 67.8185 52.0369 68.1597 52.6352 68.2731C53.2719 68.4242 53.9392 68.3825 54.5521 68.1533C54.8594 68.0355 55.1459 67.8692 55.4006 67.6608C55.6497 67.4662 55.8275 67.1948 55.9065 66.8887C55.9399 66.7434 55.9344 66.5918 55.8906 66.4492C55.8468 66.3067 55.7662 66.1782 55.6569 66.0767C55.5491 65.9866 55.413 65.9371 55.2725 65.9371C55.132 65.9371 54.9959 65.9866 54.8882 66.0767C54.7792 66.158 54.6938 66.2668 54.6406 66.3919C54.5874 66.517 54.5683 66.654 54.5853 66.7889C54.6172 67.047 54.7343 67.2871 54.9181 67.4711C55.2812 67.7841 55.7373 67.9689 56.2159 67.9969C56.6082 68.0545 57.0084 68.0238 57.3873 67.907C57.672 67.8102 57.9453 67.6831 58.2026 67.5276L58.6952 67.2381C58.8316 67.1682 58.9015 67.1383 58.9015 67.1383Z",fill:"white"}),(0,e.createElement)("path",{d:"M63.8936 49.3867C64.03 49.4512 64.1548 49.5378 64.263 49.643C64.5688 49.9281 64.7634 50.3125 64.8121 50.7278C64.8436 51.0138 64.8083 51.3031 64.7089 51.5731C64.5876 51.8827 64.3881 52.1556 64.1299 52.3651C63.842 52.5969 63.4973 52.7475 63.1315 52.801C62.9398 52.8326 62.7442 52.8326 62.5525 52.801C62.3438 52.776 62.1529 52.671 62.02 52.5082C61.9869 52.4602 61.9646 52.4056 61.9549 52.3481C61.9451 52.2906 61.948 52.2316 61.9635 52.1754C61.9966 52.0713 62.0618 51.9804 62.1498 51.9158C62.3163 51.8028 62.5145 51.7457 62.7155 51.7528C62.9032 51.7536 63.0886 51.793 63.2604 51.8686C63.4321 51.9442 63.5865 52.0543 63.7139 52.192C63.9412 52.4385 64.0764 52.7559 64.0966 53.0905C64.1178 53.379 64.0675 53.6682 63.9502 53.9325C63.7755 54.3103 63.49 54.626 63.1315 54.8376C63.0369 54.8963 62.9379 54.9475 62.8354 54.9907C62.7992 55.0072 62.7612 55.0195 62.7222 55.0273C62.7222 55.0273 62.872 54.9608 63.1082 54.8044C63.4507 54.5877 63.7234 54.2769 63.8936 53.9092C64.0001 53.6561 64.0435 53.3808 64.02 53.1072C63.9997 52.7915 63.8703 52.4927 63.654 52.2619C63.5361 52.137 63.3944 52.0371 63.2372 51.9679C63.08 51.8987 62.9106 51.8618 62.7388 51.8593C62.5602 51.8544 62.3844 51.9056 62.2363 52.0057C62.1666 52.0521 62.1168 52.123 62.0971 52.2045C62.0774 52.2859 62.0891 52.3718 62.1299 52.445C62.2456 52.5859 62.4113 52.6765 62.5924 52.6979C62.7744 52.7262 62.9596 52.7262 63.1415 52.6979C63.4866 52.6452 63.8121 52.5042 64.0866 52.2885C64.283 52.1362 64.4447 51.9437 64.5609 51.724C64.6771 51.5043 64.7452 51.2623 64.7606 51.0142C64.776 50.7662 64.7384 50.5176 64.6503 50.2852C64.5622 50.0528 64.4257 49.8418 64.2497 49.6663C64.1359 49.567 64.017 49.4737 63.8936 49.3867Z",fill:"white"}),(0,e.createElement)("path",{d:"M68.7686 48.2031C68.837 48.2582 68.8927 48.3274 68.9317 48.4061C68.9791 48.5007 68.9976 48.6072 68.9849 48.7123C68.9646 48.847 68.9195 48.9768 68.8518 49.095C68.6904 49.4055 68.4853 49.6913 68.2428 49.9436C67.9397 50.2335 67.6656 50.5523 67.4242 50.8953C67.0182 51.543 66.8272 52.3023 66.8784 53.065C66.9093 53.38 66.9672 53.6917 67.0515 53.9968C67.0078 53.9213 66.9731 53.8408 66.9483 53.7572C66.8766 53.5344 66.8287 53.3046 66.8052 53.0717C66.7303 52.29 66.9176 51.5056 67.3376 50.8421C67.5805 50.4913 67.8606 50.1677 68.1729 49.877C68.413 49.6342 68.619 49.3599 68.7852 49.0617C68.8548 48.9518 68.9033 48.8299 68.9283 48.7023C68.9427 48.6078 68.9312 48.5112 68.8951 48.4228C68.8252 48.2763 68.7586 48.2098 68.7686 48.2031Z",fill:"white"}),(0,e.createElement)("path",{d:"M72.4385 52.1325C72.2836 52.2055 72.1137 52.2408 71.9426 52.2356C71.7062 52.2355 71.4734 52.1776 71.2646 52.0668C71.0557 51.956 70.8772 51.7957 70.7446 51.6C70.5738 51.2971 70.4786 50.9574 70.467 50.6098C70.4554 50.2622 70.5278 49.917 70.6781 49.6033C70.8346 49.2201 71.088 48.8841 71.4135 48.6283C71.5908 48.4883 71.7984 48.3916 72.0196 48.3459C72.2409 48.3003 72.4698 48.307 72.688 48.3654C72.9111 48.4242 73.1069 48.5584 73.2422 48.7453C73.3775 48.9321 73.4439 49.1601 73.4301 49.3904C73.4266 49.5006 73.3998 49.6088 73.3517 49.708C73.3035 49.8072 73.235 49.8951 73.1506 49.9661C72.9898 50.1 72.7875 50.1741 72.5782 50.1757C72.3891 50.1815 72.2007 50.1494 72.0241 50.0814C71.8476 50.0134 71.6863 49.9109 71.5499 49.7797C71.3143 49.5543 71.1421 49.2708 71.0508 48.9577C70.9155 48.5053 70.945 48.0195 71.134 47.5867C71.2019 47.429 71.299 47.2856 71.4202 47.1641C71.3255 47.3031 71.2431 47.4501 71.1739 47.6033C71.0024 48.0275 70.9836 48.498 71.1207 48.9344C71.213 49.2332 71.3816 49.5027 71.6098 49.7165C71.7378 49.8383 71.8888 49.9333 72.0539 49.9962C72.219 50.059 72.395 50.0884 72.5716 50.0825C72.76 50.0793 72.9418 50.0124 73.0874 49.8928C73.1603 49.8299 73.2193 49.7523 73.2606 49.6652C73.3018 49.5781 73.3245 49.4834 73.327 49.387C73.3369 49.1807 73.2764 48.9772 73.1555 48.8097C73.0345 48.6422 72.8604 48.5208 72.6614 48.4652C72.4591 48.4117 72.2472 48.4058 72.0422 48.4479C71.8372 48.4901 71.6448 48.5792 71.4801 48.7082C71.1676 48.9526 70.9234 49.2735 70.7712 49.6399C70.6222 49.9412 70.548 50.2739 70.555 50.6099C70.5619 50.9459 70.6498 51.2753 70.8112 51.5701C70.9357 51.7591 71.1037 51.9154 71.3012 52.026C71.4986 52.1366 71.7197 52.1982 71.946 52.2057C72.1126 52.2028 72.2782 52.1782 72.4385 52.1325Z",fill:"white"}),(0,e.createElement)("path",{d:"M75.0713 45.4062C75.1423 45.425 75.2106 45.4529 75.2743 45.4894C75.4527 45.5812 75.6201 45.6928 75.7735 45.8222C76.0035 46.0136 76.1974 46.2446 76.3458 46.5044C76.5255 46.8236 76.6524 47.1697 76.7219 47.5294C76.8503 48.1855 76.7737 48.8652 76.5022 49.4761C76.4194 49.6585 76.3191 49.8323 76.2027 49.9953C76.1616 50.056 76.1136 50.1119 76.0596 50.1617C76.1976 49.9305 76.322 49.6917 76.4324 49.4462C76.6792 48.8459 76.7451 48.1866 76.622 47.5493C76.5531 47.2004 76.4319 46.8638 76.2626 46.551C76.12 46.3025 75.9392 46.0779 75.7269 45.8855C75.5188 45.7118 75.2999 45.5518 75.0713 45.4062Z",fill:"white"}),(0,e.createElement)("path",{d:"M80.5322 47.4168C80.3977 47.473 80.255 47.5067 80.1096 47.5166C79.9374 47.5303 79.7641 47.5145 79.5971 47.47C79.3752 47.4032 79.176 47.2766 79.0214 47.104C78.8195 46.8811 78.6692 46.6164 78.5812 46.3289C78.4932 46.0413 78.4696 45.7378 78.5122 45.4401C78.5348 45.2616 78.5944 45.0897 78.6872 44.9355C78.78 44.7814 78.9041 44.6483 79.0513 44.5449C79.2098 44.4341 79.3971 44.3716 79.5904 44.3652C79.7928 44.3576 79.9908 44.4251 80.1462 44.5549C80.306 44.6804 80.4109 44.8629 80.439 45.0641C80.4496 45.1616 80.4403 45.2602 80.4117 45.354C80.3831 45.4478 80.3358 45.5348 80.2726 45.6098C80.1526 45.7457 80.0006 45.8494 79.8303 45.9116C79.66 45.9738 79.4769 45.9925 79.2976 45.9659C78.9993 45.9358 78.7119 45.8376 78.4574 45.6789C78.203 45.5203 77.9884 45.3054 77.83 45.0508C77.693 44.8566 77.624 44.6226 77.6337 44.3852C77.6498 44.2132 77.696 44.0454 77.7701 43.8894C77.8267 43.7596 77.8766 43.6631 77.9099 43.5965C77.9253 43.5624 77.9443 43.5301 77.9665 43.5C77.9579 43.5366 77.9456 43.5723 77.9299 43.6065C77.8933 43.693 77.8533 43.7928 77.8101 43.9027C77.7425 44.0553 77.7019 44.2186 77.6903 44.3852C77.6902 44.6053 77.7602 44.8197 77.8899 44.9975C78.0468 45.2373 78.2551 45.4391 78.4998 45.5882C78.7444 45.7373 79.0193 45.8299 79.3043 45.8594C79.4683 45.882 79.6355 45.8634 79.7906 45.8053C79.9457 45.7472 80.0839 45.6514 80.1928 45.5266C80.2471 45.462 80.288 45.3873 80.3132 45.3067C80.3383 45.2262 80.3472 45.1414 80.3392 45.0574C80.3113 44.8825 80.2186 44.7245 80.0796 44.6148C79.9398 44.509 79.7692 44.4517 79.5938 44.4517C79.4184 44.4517 79.2478 44.509 79.1079 44.6148C78.9718 44.71 78.857 44.8326 78.7711 44.9747C78.6851 45.1168 78.6298 45.2753 78.6087 45.4401C78.5659 45.7237 78.5854 46.0132 78.6659 46.2885C78.7463 46.5638 78.8858 46.8182 79.0746 47.0341C79.2025 47.1791 79.3622 47.2927 79.5411 47.3659C79.72 47.4392 79.9134 47.4703 80.1063 47.4567C80.2489 47.4512 80.3911 47.4379 80.5322 47.4168Z",fill:"white"}),(0,e.createElement)("path",{d:"M58.9381 63.8926C58.8483 63.9986 58.7442 64.0916 58.6287 64.1688C58.3169 64.3893 57.9655 64.5475 57.5937 64.6347C57.0425 64.758 56.4749 64.7906 55.9132 64.7312C55.2321 64.6462 54.5581 64.5116 53.8965 64.3286C53.2435 64.1526 52.5747 64.0411 51.8999 63.9958C51.3399 63.9616 50.7787 64.0396 50.2493 64.2254C49.8962 64.3492 49.5699 64.5389 49.2876 64.7845C49.0946 64.9642 49.008 65.0873 48.998 65.0806C49.0709 64.9588 49.1593 64.8469 49.2609 64.7479C49.5371 64.4836 49.8644 64.2786 50.2227 64.1455C50.7547 63.9503 51.3204 63.8632 51.8866 63.8893C52.5727 63.9311 53.2529 64.0426 53.9165 64.2221C54.5719 64.4033 55.2391 64.5389 55.9132 64.6281C56.4681 64.6937 57.03 64.6689 57.5771 64.5549C58.0765 64.4443 58.5429 64.2174 58.9381 63.8926Z",fill:"white"}),(0,e.createElement)("path",{d:"M44.8447 53.7098C44.9352 53.6493 45.0369 53.6075 45.1438 53.587C45.2506 53.5664 45.3606 53.5674 45.467 53.59C45.717 53.6469 45.9505 53.7608 46.1492 53.9228C46.3921 54.0925 46.6317 54.3188 46.9246 54.5451C47.2174 54.7714 47.487 55.0775 47.8231 55.3404C48.1836 55.6168 48.6044 55.8038 49.051 55.8862C50.0926 56.0291 51.1533 55.8769 52.1126 55.4469C53.1476 55.0309 54.1093 54.5284 55.051 54.2755C55.4972 54.1434 55.9601 54.0762 56.4254 54.0759C56.8313 54.0864 57.2331 54.1593 57.6168 54.2922C58.181 54.4688 58.6704 54.8282 59.0078 55.3138C59.0623 55.3882 59.1081 55.4686 59.1442 55.5534C59.1768 55.6124 59.2024 55.6749 59.2208 55.7398C59.2407 55.7916 59.2563 55.845 59.2674 55.8995C59.1875 55.7033 59.0894 55.515 58.9745 55.3371C58.6318 54.8705 58.1474 54.5273 57.5935 54.3587C57.2157 54.2369 56.8223 54.1707 56.4254 54.1624C55.9689 54.1673 55.5153 54.2356 55.0777 54.3654C54.1426 54.6216 53.1941 55.1241 52.1492 55.5434C51.173 55.9802 50.093 56.1314 49.0344 55.9794C48.5733 55.8922 48.1397 55.6959 47.7699 55.407C47.4371 55.1341 47.1542 54.8379 46.878 54.5983C46.6018 54.3587 46.3456 54.1391 46.1159 53.9694C45.9221 53.8096 45.6945 53.6958 45.4504 53.6366C45.2457 53.5992 45.0346 53.6247 44.8447 53.7098Z",fill:"white"}),(0,e.createElement)("path",{d:"M59.9657 49.8164C59.9903 49.9046 60.007 49.9948 60.0156 50.086C60.0414 50.3476 60.0246 50.6117 59.9657 50.868C59.8699 51.2742 59.6807 51.6525 59.4133 51.9728C59.0562 52.402 58.5587 52.6908 58.0089 52.7881C57.3395 52.8965 56.6539 52.7454 56.0921 52.3655C55.7733 52.1594 55.5176 51.8692 55.3534 51.5269C55.31 51.4315 55.2929 51.3263 55.304 51.2221C55.3152 51.1179 55.354 51.0186 55.4166 50.9345C55.4834 50.8528 55.5663 50.7858 55.6603 50.7377C55.7542 50.6896 55.857 50.6615 55.9624 50.655C56.0705 50.642 56.1801 50.6528 56.2836 50.6867C56.3871 50.7207 56.4819 50.7769 56.5613 50.8513C56.7124 51.0121 56.803 51.2203 56.8176 51.4404C56.8317 51.6634 56.7893 51.8864 56.6945 52.0888C56.5998 52.2912 56.4555 52.4665 56.2752 52.5984C55.9096 52.8647 55.4943 53.0548 55.0539 53.1575C54.611 53.2922 54.1486 53.3507 53.6861 53.3305C53.2153 53.3064 52.7634 53.1379 52.3916 52.848C52.2092 52.708 52.0604 52.529 51.9562 52.324C51.8519 52.119 51.7949 51.8932 51.7893 51.6633C51.7771 51.4392 51.8272 51.216 51.9341 51.0187C52.041 50.8213 52.2005 50.6574 52.395 50.5452C52.5877 50.4462 52.8053 50.406 53.0206 50.4296C53.236 50.4533 53.4397 50.5398 53.6063 50.6783C53.7511 50.8248 53.8471 51.0125 53.881 51.2156C53.915 51.4188 53.8853 51.6275 53.796 51.8131C53.6374 52.1629 53.3537 52.4407 53.0006 52.5918C52.3825 52.8575 51.7025 52.9451 51.0372 52.8447C50.0715 52.7061 49.1843 52.2355 48.5281 51.5136C48.3531 51.3209 48.1991 51.11 48.0688 50.8846C47.9823 50.7249 47.9424 50.6417 47.9424 50.6417C48.118 50.9439 48.3243 51.2271 48.558 51.487C49.2186 52.182 50.0968 52.6305 51.0472 52.7582C51.6975 52.8514 52.361 52.7627 52.964 52.5019C53.2957 52.3575 53.5624 52.0956 53.7128 51.7665C53.7933 51.5976 53.8198 51.408 53.7889 51.2234C53.7579 51.0389 53.6709 50.8683 53.5397 50.7349C53.3881 50.6101 53.203 50.5328 53.0077 50.5127C52.8124 50.4926 52.6154 50.5305 52.4415 50.6217C52.2635 50.7244 52.1178 50.8747 52.0207 51.0559C51.9237 51.237 51.8793 51.4416 51.8925 51.6467C51.8973 51.8621 51.9506 52.0736 52.0486 52.2655C52.1465 52.4573 52.2866 52.6246 52.4582 52.7548C52.8128 53.031 53.2439 53.1913 53.6928 53.2141C54.1429 53.233 54.593 53.1756 55.0239 53.0444C55.4504 52.9444 55.853 52.7612 56.2086 52.5053C56.3746 52.3829 56.5077 52.2212 56.596 52.0348C56.6843 51.8484 56.725 51.643 56.7144 51.437C56.7049 51.2392 56.6246 51.0514 56.4881 50.9079C56.4196 50.8428 56.3375 50.7936 56.2478 50.7637C56.1581 50.7338 56.0629 50.7239 55.969 50.7349C55.8765 50.7415 55.7863 50.7664 55.7034 50.8081C55.6206 50.8498 55.5469 50.9075 55.4865 50.9778C55.4345 51.0497 55.4026 51.1341 55.3938 51.2223C55.385 51.3106 55.3998 51.3996 55.4366 51.4803C55.5932 51.8047 55.8347 52.0807 56.1354 52.279C56.6778 52.6516 57.3421 52.8028 57.9923 52.7016C58.5281 52.6127 59.0151 52.3368 59.3667 51.9229C59.6308 51.6099 59.8207 51.2414 59.9224 50.8447C60.0046 50.5082 60.0193 50.1587 59.9657 49.8164Z",fill:"white"}),(0,e.createElement)("path",{d:"M42.9844 55.6342C43.0269 55.612 43.0715 55.5942 43.1175 55.5809C43.204 55.5477 43.3371 55.5044 43.5068 55.4578C43.9969 55.3138 44.5207 55.3348 44.9977 55.5177C45.3274 55.6464 45.6217 55.8517 45.8563 56.1167C46.13 56.4218 46.2899 56.8121 46.3088 57.2215C46.3151 57.4571 46.2702 57.6913 46.1774 57.9079C46.0847 58.1246 45.9461 58.3186 45.7713 58.4766C45.5965 58.6347 45.3895 58.7531 45.1647 58.8236C44.9398 58.8942 44.7023 58.9153 44.4686 58.8854C44.2207 58.8581 43.9878 58.7533 43.803 58.5859C43.7122 58.5034 43.6445 58.3986 43.6065 58.2819C43.5686 58.1651 43.5618 58.0405 43.5867 57.9204C43.6521 57.693 43.7945 57.4954 43.9894 57.3613C44.1679 57.2297 44.3719 57.1368 44.5884 57.0884C44.9567 56.997 45.3419 56.9977 45.7099 57.0906C46.0779 57.1835 46.4173 57.3656 46.6982 57.6209C47.0731 57.9747 47.32 58.4428 47.4003 58.952C47.4301 59.1349 47.4301 59.3215 47.4003 59.5044C47.3979 59.3216 47.3824 59.1392 47.3538 58.9586C47.2593 58.4701 47.0109 58.0246 46.6449 57.6874C46.3707 57.4455 46.0415 57.2741 45.686 57.1883C45.3305 57.1025 44.9594 57.1047 44.605 57.1949C44.4019 57.2426 44.2106 57.3309 44.0426 57.4545C43.8669 57.5747 43.7387 57.7524 43.6799 57.957C43.6558 58.0618 43.6604 58.1712 43.6932 58.2737C43.7259 58.3762 43.7857 58.4679 43.8662 58.5393C44.0374 58.6931 44.253 58.7886 44.4819 58.8122C44.7008 58.84 44.9231 58.8202 45.1337 58.7544C45.3443 58.6886 45.5383 58.5783 45.7024 58.4308C45.8666 58.2834 45.9971 58.1024 46.0851 57.9C46.1731 57.6977 46.2165 57.4787 46.2123 57.2581C46.1988 56.869 46.0493 56.4968 45.7897 56.2066C45.5679 55.9483 45.2871 55.7474 44.9711 55.6209C44.5089 55.4341 43.9985 55.4025 43.5168 55.531C43.3438 55.5709 43.214 55.6076 43.1241 55.6342C43.0776 55.6377 43.0309 55.6377 42.9844 55.6342Z",fill:"white"}),(0,e.createElement)("path",{d:"M44.4117 62.8518C44.4467 62.7607 44.457 62.662 44.4417 62.5656C44.3873 62.3006 44.2735 62.0514 44.1089 61.8368C43.9901 61.6806 43.831 61.5597 43.6486 61.487C43.4663 61.4143 43.2677 61.3926 43.0739 61.4242C42.628 61.4242 42.1455 61.6405 41.5997 61.5972C41.1322 61.5756 40.6919 61.3707 40.3743 61.0269C40.0567 60.6831 39.8872 60.2281 39.9026 59.7603C39.8909 59.4812 39.964 59.2051 40.1122 58.9683C40.1646 58.8811 40.2364 58.8071 40.3219 58.752C40.3219 58.752 40.242 58.8252 40.1455 58.9882C40.0177 59.2246 39.9589 59.4921 39.9758 59.7603C39.9801 60.1577 40.1132 60.5431 40.3551 60.8584C40.5112 61.0421 40.7021 61.1928 40.9169 61.3019C41.1317 61.411 41.3661 61.4764 41.6064 61.494C42.1189 61.534 42.6047 61.3443 43.0706 61.3277C43.2969 61.3106 43.5241 61.3436 43.7362 61.4242C43.92 61.4972 44.0761 61.6265 44.1821 61.7936C44.3426 62.0215 44.4443 62.2856 44.4783 62.5623C44.4885 62.6125 44.4878 62.6643 44.4763 62.7142C44.4648 62.7642 44.4428 62.8111 44.4117 62.8518Z",fill:"white"}),(0,e.createElement)("path",{d:"M40.7387 70.2847C40.8964 70.271 41.0506 70.2305 41.1946 70.1649C41.3577 70.0805 41.4887 69.9449 41.5673 69.7789C41.6558 69.5513 41.6799 69.3038 41.6372 69.0634C41.5935 68.7675 41.5211 68.4766 41.4209 68.1948C41.3338 67.8651 41.1835 67.5554 40.9783 67.283C40.8643 67.1405 40.7135 67.032 40.5422 66.9692C40.3709 66.9065 40.1856 66.8918 40.0066 66.9269C39.9155 66.9509 39.8314 66.996 39.7608 67.0584C39.6903 67.1208 39.6354 67.1989 39.6006 67.2863C39.5324 67.4722 39.5324 67.6762 39.6006 67.8621C39.6737 68.0443 39.8017 68.1993 39.9669 68.3054C40.1321 68.4116 40.3262 68.4637 40.5224 68.4544C40.8977 68.4507 41.2601 68.3166 41.5473 68.075C42.0329 67.6541 42.428 67.139 42.7087 66.5609C42.9057 66.1735 43.033 65.7544 43.0848 65.3229C43.1147 65.0168 43.0848 64.8438 43.1081 64.8438C43.1336 65.0033 43.1392 65.1654 43.1247 65.3263C43.088 65.7659 42.9695 66.1948 42.7753 66.5908C42.499 67.1867 42.0998 67.7175 41.6039 68.1482C41.3035 68.4084 40.9198 68.5524 40.5224 68.5542C40.3101 68.5541 40.1015 68.4991 39.9167 68.3945C39.7213 68.2859 39.5739 68.1077 39.5041 67.8953C39.4257 67.6861 39.4257 67.4556 39.5041 67.2464C39.5451 67.1447 39.6091 67.054 39.6911 66.9812C39.773 66.9084 39.8708 66.8557 39.9766 66.8271C40.1744 66.7873 40.3793 66.8033 40.5685 66.8732C40.7578 66.9431 40.9238 67.0643 41.0482 67.2231C41.2601 67.5051 41.414 67.8263 41.5007 68.1682C41.5977 68.4571 41.6668 68.7547 41.7071 69.0567C41.7459 69.3098 41.7149 69.5688 41.6172 69.8055C41.5287 69.9794 41.3847 70.1188 41.2079 70.2015C41.0984 70.2533 40.9796 70.2828 40.8585 70.288C40.8186 70.2923 40.7783 70.2912 40.7387 70.2847Z",fill:"white"}),(0,e.createElement)("path",{d:"M45.1113 72.847C45.1991 72.8369 45.2852 72.8156 45.3676 72.7838C45.5867 72.6806 45.7565 72.4953 45.8401 72.268C45.9554 71.9269 45.9376 71.5548 45.7902 71.2264C45.6538 70.8437 45.4075 70.4576 45.2578 69.9917C45.1788 69.7654 45.1482 69.5251 45.1679 69.2862C45.1937 69.0618 45.2761 68.8477 45.4075 68.664C45.6353 68.3605 45.9629 68.1472 46.3326 68.0616C46.5767 68.004 46.8289 67.9894 47.0781 68.0184C47.1701 68.0226 47.2609 68.0405 47.3476 68.0716C47.0136 68.0409 46.6768 68.0622 46.3493 68.1348C46.0013 68.2231 45.6952 68.4303 45.484 68.7205C45.361 68.8895 45.2852 69.0882 45.2644 69.2962C45.2488 69.5219 45.2794 69.7483 45.3543 69.9618C45.494 70.4077 45.7403 70.7971 45.8767 71.1931C46.0276 71.543 46.0372 71.9378 45.9033 72.2946C45.8566 72.4135 45.7861 72.5217 45.6963 72.6127C45.6065 72.7036 45.4992 72.7754 45.3809 72.8237C45.2952 72.8576 45.2015 72.8657 45.1113 72.847Z",fill:"white"}),(0,e.createElement)("path",{d:"M47.1641 59.8336C47.2636 59.6852 47.3749 59.545 47.4968 59.4143C47.7065 59.1547 48.0226 58.782 48.4186 58.3294C48.8146 57.8769 49.2872 57.3311 49.793 56.7288C50.0459 56.4226 50.3055 56.0998 50.5684 55.7571C50.847 55.4138 51.089 55.0424 51.2905 54.6489C51.6959 53.8986 51.9236 53.0652 51.9561 52.213C51.9752 51.5186 51.7275 50.8434 51.2639 50.3261C50.9471 49.9822 50.5284 49.7489 50.0692 49.6605C49.8993 49.6379 49.7282 49.6246 49.5567 49.6206C49.5567 49.6206 49.6 49.6206 49.6899 49.5907C49.8191 49.5739 49.95 49.5739 50.0792 49.5907C50.5642 49.6599 51.0124 49.8882 51.3538 50.2396C51.8522 50.7748 52.1252 51.4816 52.1158 52.213C52.0949 53.0922 51.8669 53.9542 51.4503 54.7288C51.2451 55.1312 50.9975 55.5105 50.7115 55.8602C50.4453 56.193 50.179 56.5258 49.9228 56.8319C49.407 57.4376 48.9245 57.9667 48.5151 58.4093L47.5534 59.4576C47.4341 59.5933 47.3039 59.7191 47.1641 59.8336Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M43.4504 64.4082C43.0885 64.6058 42.701 64.7525 42.299 64.8441C41.9134 64.9908 41.5089 65.0816 41.0977 65.1137C41.4596 64.9161 41.847 64.7694 42.2491 64.6778C42.6346 64.5311 43.0392 64.4403 43.4504 64.4082Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M43.3006 64.3652C43.3272 64.4085 42.9312 64.6548 42.5518 65.0707C42.1725 65.4867 41.9528 65.896 41.9062 65.8727C42.0028 65.5291 42.1796 65.2132 42.422 64.9512C42.6644 64.6891 42.9655 64.4883 43.3006 64.3652Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M60.0657 56.4727C59.9091 56.2598 59.7795 56.0285 59.6797 55.7838C59.405 55.2122 59.1628 54.6256 58.9542 54.0267C58.7422 53.4295 58.5644 52.8206 58.4218 52.2031C58.345 51.9514 58.3013 51.6907 58.292 51.4277C58.3978 51.6677 58.4803 51.9174 58.5382 52.1732C58.678 52.6357 58.871 53.2747 59.1173 53.9702C59.3635 54.6657 59.6098 55.3013 59.7828 55.7339C59.9003 55.9706 59.995 56.218 60.0657 56.4727Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M56.5483 59.6609C56.4478 59.9091 56.2997 60.1352 56.1124 60.3265C55.678 60.8211 55.1392 61.2132 54.535 61.4745C53.9308 61.7357 53.2761 61.8596 52.6182 61.8373C52.3471 61.8409 52.078 61.7912 51.8262 61.6909C51.8262 61.6609 52.1323 61.7208 52.6215 61.7142C53.2569 61.7055 53.8843 61.571 54.4675 61.3186C55.0506 61.0661 55.578 60.7007 56.0192 60.2433C56.3586 59.9005 56.5217 59.6443 56.5483 59.6609Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M54.2421 76.1064C54.2421 76.1064 51.9426 76.6056 51.6364 76.3527C51.3303 76.0997 52.0757 75.8269 52.0757 75.8269C52.0757 75.8269 51.4102 75.9067 51.4102 75.6671C51.4102 75.4275 51.6498 75.2578 51.6498 75.2578L54.2421 76.1064Z",fill:"#E5BAAB"}),(0,e.createElement)("path",{d:"M51.1245 71.6426C51.1245 71.6426 54.3558 73.1001 54.3957 73.2133C54.4357 73.3264 54.5355 75.6293 54.2293 76.1051C53.9232 76.581 49.6836 74.2582 49.6836 74.2582L51.1245 71.6426Z",fill:"#E5BAAB"}),(0,e.createElement)("path",{d:"M53.5137 75.5659C53.4597 75.5747 53.4047 75.5747 53.3507 75.5659L52.9114 75.5094C52.4271 75.4452 51.9486 75.3428 51.4804 75.2032C51.0036 75.0691 50.5534 74.8541 50.1493 74.5676L49.7833 74.3147C49.6967 74.2548 49.6502 74.2215 49.6535 74.2148C49.7034 74.2374 49.7512 74.2641 49.7966 74.2947L50.1759 74.5243C50.5791 74.7944 51.0213 75.0009 51.4871 75.1366C51.953 75.2743 52.4263 75.3854 52.9047 75.4694L53.3407 75.546C53.3988 75.5476 53.4567 75.5542 53.5137 75.5659Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M53.5007 75.6235C53.264 75.7229 53.0139 75.7869 52.7586 75.8132C52.5064 75.8613 52.2489 75.8747 51.9932 75.8531C51.9932 75.8331 52.3259 75.8065 52.7486 75.7433C53.1712 75.6801 53.494 75.6069 53.5007 75.6235Z",fill:"#D78776"}))}var Oo={};function To(){var t,n,r=this,a=(0,e.useRef)(null),o=Da(),i=o.nextPayload,s=o.keywords,l=o.postHTML,c=function(t){var n=t.notaService,r=vr(),a=r.setGrade,o=r.setGradeLoading,i=r.setUrlsScore,s=r.setUrlsLoading,l=r.grade,c=r.urlsScore,u=r.setPostMetaData,d=window.notaTools.meta_keys,f=ia({key:d.grade_scores_history,serialize:!0,initialItem:{data:null,request:{}}}).data,p=ia({key:d.urls_score_history,serialize:!0,initialItem:{}}).data;(0,e.useEffect)((function(){var e=ma(f),t=ma(p);!l.data&&e.data&&a(e),ha(c)&&!ha(t)&&i(t)}),[l,f,p,a,i,c]);var h=aa((function(e){return ua(void 0,void 0,void 0,(function(){return da(this,(function(t){return o(!0),[2,n.getGradeScores(e)]}))}))}),{onSuccess:function(e,t){var n;u(((n={})[d.grade_scores_history]=JSON.stringify({data:e,request:t}),n)),a({data:e,request:t}),o(!1)},onError:function(){o(!1)}}),m=h.mutate,C=fa(h,["mutate"]),y=aa((function(e){return ua(void 0,void 0,void 0,(function(){var t,r,a,o,i;return da(this,(function(l){switch(l.label){case 0:return s(!0),t=e.urlsList?e.urlsList.reduce((function(e,t,n){return n%10==0&&e.push([]),e[e.length-1].push(t),e}),[]):[],r=t.slice(0,3),a=0,o=0,i=[],[4,Promise.all(r.map((function(e){return ua(void 0,void 0,void 0,(function(){var t;return da(this,(function(r){switch(r.label){case 0:return[4,n.getUrlsScore({urlsList:e})];case 1:return t=r.sent(),a+=t.totalUrls,o+=t.numInvalidUrls,i=pa(pa([],i,!0),t.listInvalidUrls,!0),[2]}}))}))})))];case 1:return l.sent(),[2,{totalUrls:a,numInvalidUrls:o,listInvalidUrls:i}]}}))}))}),{onSuccess:function(e){var t;u(((t={})[d.urls_score_history]=JSON.stringify(e),t)),i(e),s(!1)},onError:function(){s(!1)}}),g=y.mutate,v=fa(y,["mutate"]),b=(0,e.useCallback)((function(e){m(e),g(e)}),[m,g]);return{grade:{error:C.error,isLoading:C.isLoading,data:l,update:function(e){return m(e)}},urlsScore:{error:v.error,isLoading:v.isLoading,data:c,update:function(e){return g(e)}},run:b}}({notaService:vt}),d=vr(),f=d.grade,p=d.gradeIsLoading,h=f||{},m=h.data,C=h.request,y=(0,e.useState)(!1),g=y[0],v=y[1],b=(0,e.useRef)(!1),w=hr(i.content||"")<100,E=!(null==s?void 0:s.length),x=Ia(),M=x.config,L=x.isLoading,S=Aa({notaService:vt,components:Oo,requestsToQueue:M.requestsToQueue}),A=(0,e.useCallback)((function(){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(r,void 0,void 0,(function(){return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(e){switch(e.label){case 0:return E?(S.keywordSynonyms.refresh({postHTML:l}),setTimeout((function(){b.current=!0}),1e3),[3,3]):[3,1];case 1:return[4,c.run(i)];case 2:e.sent(),e.label=3;case 3:return[2]}}))}))}),[c,S.keywordSynonyms,i,E,l]),O=S.keywordSynonyms.isLoading;(0,e.useEffect)((function(){!b.current||O||E||(b.current=!1,A())}),[A,O,E]),t="refreshData",n=A,(0,e.useEffect)((function(){var e=function(e){return function(e){e.detail.action===t&&n()}(e)};return window.addEventListener(wr(t),e),function(){window.removeEventListener(wr(t),e)}}),[t,n]);var T=C&&JSON.stringify(i)!==JSON.stringify(C)||!1,P=!f.data;(0,e.useEffect)((function(){if(T&&!P){var e=setTimeout((function(){v(!0)}),1e3);return function(){return clearTimeout(e)}}v(!1)}),[T,P]);var k=Object.keys((null==C?void 0:C.keywords)||{}),Z=(0,e.useMemo)((function(){var t=function(e,t){if(!e||!t.length)return[];var n=t.map((function(t){return{text:t,inUse:e.keywords.usedKeywords.map(Sn).includes(Sn(t))}}));return n.sort((function(e,t){return Number(t.inUse)-Number(e.inUse)})),n}(m,k);return p?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(gr,{className:"ntw-mt-4"}),(0,e.createElement)(gr,{className:"ntw-mt-4"})):m?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(Wa,{score:m.totalScore}),(0,e.createElement)(Rn,{keywords:t}),(0,e.createElement)(po,{data:m,numberWords:hr((null==C?void 0:C.content)||""),keywords:k})):(0,e.createElement)(e.Fragment,null,(0,e.createElement)(Ao,null),(0,e.createElement)("div",{className:"ntw-mb-2 ntw-mt-5 ntw-text-center ntw-text-lg ntw-font-bold"},"Get started"),(0,e.createElement)("div",{className:"ntw-text-center ntw-text-sm ntw-font-normal"},"Optimize this page with best practices and data driven insights!"),(0,e.createElement)(Kn,{disabled:p||w||O,className:"ntw-mt-4 ntw-w-full ntw-shadow",onClick:A},p?"Loading...":O?"Loading keywords...":"Get started"))}),[m,p,A,O,w,null==C?void 0:C.content,k]);return L?(0,e.createElement)("div",null,"Loading the Nota toolset..."):(0,e.createElement)(u.PanelBody,{title:"Global Score",initialOpen:!0,opened:!0,ref:a},!p&&T&&g&&!E&&(0,e.createElement)(So,{isDisabled:w||E,onDisplay:function(){a.current&&a.current.scrollIntoView({behavior:"smooth",block:"start"})},refreshData:A,loading:p}),w&&(0,e.createElement)(Ba,{size:"small",level:"info",className:"ntw-mb-2"},"Please add at least 100 words to your post to get started."),Z)}function Po(){var t,n,r=vr(),a=r.urlsLoading,o=r.urlsScore,i=r.grade,s=Da().nextPayload.urlsList,l=function(e,t,n){for(var r,a,o=0,i=fr[nr.url][tr.length];o<i.length;o++){var s=i[o];if("function"==typeof s.range&&s.range(e,t))return(r={score:s.score})[tr.length]={score:s.score,feedback:s.feedback,meetsCriteria:s.meetsCriteria,listInvalidUrls:n},r}return(a={score:0})[tr.length]={score:0,feedback:"Couldn't evaluate URL criteria.",meetsCriteria:!1,listInvalidUrls:[]},a}(null==o?void 0:o.numInvalidUrls,null==o?void 0:o.totalUrls,null==o?void 0:o.listInvalidUrls),c=i.data?cr(((t={})[nr.url]=l,t),[nr.url]):void 0;return n=a?(0,e.createElement)(gr,null):o?(0,e.createElement)(jn,{title:"Link Health Report",gradeData:l}):(0,e.createElement)("div",{className:"ntw-text-xs ntw-text-typography-disabled"},'Please click on the "Get started" button to start the analysis.'),(0,e.createElement)(Yn,{loading:a,status:c,title:"Link Integrity"},function(){if(s.length>30)return(0,e.createElement)("div",{className:"ntw-mb-2"},(0,e.createElement)("p",{className:"ntw-text-xs ntw-text-typography-disabled"},"Note: Only the first ",30," URLs will be analyzed."))}(),n)}function ko(){var t,n,r,a,o=vr(),i=o.grade,s=o.gradeIsLoading,l=cr(i.data,[nr.metaTitle,nr.metaDescription,nr.slug]),c=null===(t=i.data)||void 0===t?void 0:t[nr.metaTitle],u=null===(n=i.data)||void 0===n?void 0:n[nr.metaDescription],d=null===(r=i.data)||void 0===r?void 0:r[nr.slug];return a=s?(0,e.createElement)(gr,null):i?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(jn,{title:"Page Title",gradeData:c}),((null==c?void 0:c.score)||0)<=60?(0,e.createElement)($n,{className:"ntw-mt-2",onClick:function(){return dr(".meta-tab-seo","nota-meta-title")}}):null,(0,e.createElement)(Fn,null),(0,e.createElement)(jn,{title:"Meta Description",gradeData:u}),((null==u?void 0:u.score)||0)<=60?(0,e.createElement)($n,{className:"ntw-mt-2",onClick:function(){return dr(".meta-tab-seo","nota-meta-description")}}):null,(0,e.createElement)(Fn,null),(0,e.createElement)(jn,{title:"Slug",gradeData:d}),((null==d?void 0:d.score)||0)<=60?(0,e.createElement)($n,{className:"ntw-mt-2",onClick:function(){return dr(".meta-tab-seo","nota-slug")}}):null):(0,e.createElement)("div",{className:"ntw-text-xs ntw-text-typography-disabled"},'Please click on the "Get started" button to start the analysis.'),(0,e.createElement)(Yn,{loading:s,status:l,title:"SEO Analysis"},a)}function Zo(t){var n=t.className;return(0,e.createElement)("svg",{width:"28",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("path",{d:"M24.0001 45.9065C36.0987 45.9065 45.9065 36.0987 45.9065 24.0001C45.9065 11.9016 36.0987 2.09375 24.0001 2.09375C11.9016 2.09375 2.09375 11.9016 2.09375 24.0001C2.09375 36.0987 11.9016 45.9065 24.0001 45.9065Z",fill:"white"}),(0,e.createElement)("path",{d:"M24 48C10.766 48 0 37.234 0 24C0 10.766 10.766 0 24 0C37.234 0 48 10.766 48 24C48 37.234 37.234 48 24 48ZM24 4.18722C13.0755 4.18859 4.18859 13.0755 4.18859 24C4.18859 34.9245 13.0769 43.8128 24.0014 43.8128C34.9259 43.8128 43.8141 34.9245 43.8141 24C43.8141 13.0755 34.9245 4.18859 24 4.18859V4.18722Z",fill:"#030B1B"}),(0,e.createElement)("path",{d:"M11.0664 34.8224L11.0937 29.5186L13.1477 29.1114L15.3028 29.177L20.3988 28.2887L26.6892 27.7503L33.0862 27.4688L34.6387 28.4185L35.9055 31.1626L36.0257 35.3458L32.9701 35.2856L20.996 35.41L17.2816 35.3376L13.7094 35.5876L11.0527 35.5357L11.0664 34.821V34.8224Z",fill:"#008D8E"}),(0,e.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.3425 8.90703H31.0026V33.9948H26.1403L22.3043 22.6358V29.9169H17.334V12.9822H22.1908L26.3425 23.8042V8.9043V8.90703Z",fill:"#030B1B"}))}class Ho extends Gr{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||qr,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||function(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?null!=r?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(e,t){const n=Br(this.state.data,e,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),n}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;const n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(Mr).catch(Mr):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some((e=>!1!==e.options.enabled))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((e=>e.getCurrentResult().isStale))}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!Sr(this.state.dataUpdatedAt,e)}onFocus(){var e;const t=this.observers.find((e=>e.shouldFetchOnWindowFocus()));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}onOnline(){var e;const t=this.observers.find((e=>e.shouldFetchOnReconnect()));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}addObserver(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((t=>t!==e)),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var n,r;if("idle"!==this.state.fetchStatus)if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var a;return null==(a=this.retryer)||a.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find((e=>e.options.queryFn));e&&this.setOptions(e.options)}Array.isArray(this.options.queryKey);const o=function(){if("function"==typeof AbortController)return new AbortController}(),i={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},s=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(o)return this.abortSignalConsumed=!0,o.signal}})};s(i);const l={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(i)):Promise.reject("Missing queryFn")};var c;s(l),null==(n=this.options.behavior)||n.onFetch(l),this.revertState=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(r=l.fetchOptions)?void 0:r.meta))&&this.dispatch({type:"fetch",meta:null==(c=l.fetchOptions)?void 0:c.meta});const u=e=>{var t,n,r,a;Xr(e)&&e.silent||this.dispatch({type:"error",error:e}),Xr(e)||(null==(t=(n=this.cache.config).onError)||t.call(n,e,this),null==(r=(a=this.cache.config).onSettled)||r.call(a,this.state.data,e,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=ea({fn:l.fetchFn,abort:null==o?void 0:o.abort.bind(o),onSuccess:e=>{var t,n,r,a;void 0!==e?(this.setData(e),null==(t=(n=this.cache.config).onSuccess)||t.call(n,e,this),null==(r=(a=this.cache.config).onSettled)||r.call(a,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1):u(new Error("undefined"))},onError:u,onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){this.state=(t=>{var n,r;switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(n=e.meta)?n:null,fetchStatus:Jr(this.options.networkMode)?"fetching":"paused",...!t.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(r=e.dataUpdatedAt)?r:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=e.error;return Xr(a)&&a.revert&&this.revertState?{...this.revertState}:{...t,error:a,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),zr.batch((()=>{this.observers.forEach((t=>{t.onQueryUpdate(e)})),this.cache.notify({query:this,type:"updated",action:e})}))}}class Ro extends Wr{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,n){var r;const a=t.queryKey,o=null!=(r=t.queryHash)?r:kr(a,t);let i=this.get(o);return i||(i=new Ho({cache:this,logger:e.getLogger(),queryKey:a,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(i)),i}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){const t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((t=>t!==e)),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){zr.batch((()=>{this.queries.forEach((e=>{this.remove(e)}))}))}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){const[n]=Or(e,t);return void 0===n.exact&&(n.exact=!0),this.queries.find((e=>Tr(n,e)))}findAll(e,t){const[n]=Or(e,t);return Object.keys(n).length>0?this.queries.filter((e=>Tr(n,e))):this.queries}notify(e){zr.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}onFocus(){zr.batch((()=>{this.queries.forEach((e=>{e.onFocus()}))}))}onOnline(){zr.batch((()=>{this.queries.forEach((e=>{e.onOnline()}))}))}}class jo extends Wr{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,n){const r=new ta({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(r),r}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter((t=>t!==e)),this.notify({type:"removed",mutation:e})}clear(){zr.batch((()=>{this.mutations.forEach((e=>{this.remove(e)}))}))}getAll(){return this.mutations}find(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((t=>Pr(e,t)))}findAll(e){return this.mutations.filter((t=>Pr(e,t)))}notify(e){zr.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}resumePausedMutations(){var e;return this.resuming=(null!=(e=this.resuming)?e:Promise.resolve()).then((()=>{const e=this.mutations.filter((e=>e.state.isPaused));return zr.batch((()=>e.reduce(((e,t)=>e.then((()=>t.continue().catch(Mr)))),Promise.resolve())))})).then((()=>{this.resuming=void 0})),this.resuming}}function Fo(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var No,Io=new class{constructor(e={}){this.queryCache=e.queryCache||new Ro,this.mutationCache=e.mutationCache||new jo,this.logger=e.logger||qr,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=Qr.subscribe((()=>{Qr.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())})),this.unsubscribeOnline=Kr.subscribe((()=>{Kr.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())})))}unmount(){var e,t;this.mountCount--,0===this.mountCount&&(null==(e=this.unsubscribeFocus)||e.call(this),this.unsubscribeFocus=void 0,null==(t=this.unsubscribeOnline)||t.call(this),this.unsubscribeOnline=void 0)}isFetching(e,t){const[n]=Or(e,t);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data}ensureQueryData(e,t,n){const r=Ar(e,t,n),a=this.getQueryData(r.queryKey);return a?Promise.resolve(a):this.fetchQuery(r)}getQueriesData(e){return this.getQueryCache().findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,n){const r=this.queryCache.find(e),a=function(e,t){return"function"==typeof e?e(t):e}(t,null==r?void 0:r.state.data);if(void 0===a)return;const o=Ar(e),i=this.defaultQueryOptions(o);return this.queryCache.build(this,i).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return zr.batch((()=>this.getQueryCache().findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,n)]))))}getQueryState(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state}removeQueries(e,t){const[n]=Or(e,t),r=this.queryCache;zr.batch((()=>{r.findAll(n).forEach((e=>{r.remove(e)}))}))}resetQueries(e,t,n){const[r,a]=Or(e,t,n),o=this.queryCache,i={type:"active",...r};return zr.batch((()=>(o.findAll(r).forEach((e=>{e.reset()})),this.refetchQueries(i,a))))}cancelQueries(e,t,n){const[r,a={}]=Or(e,t,n);void 0===a.revert&&(a.revert=!0);const o=zr.batch((()=>this.queryCache.findAll(r).map((e=>e.cancel(a)))));return Promise.all(o).then(Mr).catch(Mr)}invalidateQueries(e,t,n){const[r,a]=Or(e,t,n);return zr.batch((()=>{var e,t;if(this.queryCache.findAll(r).forEach((e=>{e.invalidate()})),"none"===r.refetchType)return Promise.resolve();const n={...r,type:null!=(e=null!=(t=r.refetchType)?t:r.type)?e:"active"};return this.refetchQueries(n,a)}))}refetchQueries(e,t,n){const[r,a]=Or(e,t,n),o=zr.batch((()=>this.queryCache.findAll(r).filter((e=>!e.isDisabled())).map((e=>{var t;return e.fetch(void 0,{...a,cancelRefetch:null==(t=null==a?void 0:a.cancelRefetch)||t,meta:{refetchPage:r.refetchPage}})}))));let i=Promise.all(o).then(Mr);return null!=a&&a.throwOnError||(i=i.catch(Mr)),i}fetchQuery(e,t,n){const r=Ar(e,t,n),a=this.defaultQueryOptions(r);void 0===a.retry&&(a.retry=!1);const o=this.queryCache.build(this,a);return o.isStaleByTime(a.staleTime)?o.fetch(a):Promise.resolve(o.state.data)}prefetchQuery(e,t,n){return this.fetchQuery(e,t,n).then(Mr).catch(Mr)}fetchInfiniteQuery(e,t,n){const r=Ar(e,t,n);return r.behavior={onFetch:e=>{e.fetchFn=()=>{var t,n,r,a,o,i;const s=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,l=null==(r=e.fetchOptions)||null==(a=r.meta)?void 0:a.fetchMore,c=null==l?void 0:l.pageParam,u="forward"===(null==l?void 0:l.direction),d="backward"===(null==l?void 0:l.direction),f=(null==(o=e.state.data)?void 0:o.pages)||[],p=(null==(i=e.state.data)?void 0:i.pageParams)||[];let h=p,m=!1;const C=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),y=(e,t,n,r)=>(h=r?[t,...h]:[...h,t],r?[n,...e]:[...e,n]),g=(t,n,r,a)=>{if(m)return Promise.reject("Cancelled");if(void 0===r&&!n&&t.length)return Promise.resolve(t);const o={queryKey:e.queryKey,pageParam:r,meta:e.options.meta};var i;i=o,Object.defineProperty(i,"signal",{enumerable:!0,get:()=>{var t,n;return null!=(t=e.signal)&&t.aborted?m=!0:null==(n=e.signal)||n.addEventListener("abort",(()=>{m=!0})),e.signal}});const s=C(o);return Promise.resolve(s).then((e=>y(t,r,e,a)))};let v;if(f.length)if(u){const t=void 0!==c,n=t?c:Fo(e.options,f);v=g(f,t,n)}else if(d){const t=void 0!==c,n=t?c:function(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}(e.options,f);v=g(f,t,n,!0)}else{h=[];const t=void 0===e.options.getNextPageParam;v=s&&f[0]&&!s(f[0],0,f)?Promise.resolve(y([],p[0],f[0])):g([],t,p[0]);for(let n=1;n<f.length;n++)v=v.then((r=>{if(!s||!f[n]||s(f[n],n,f)){const a=t?p[n]:Fo(e.options,r);return g(r,t,a)}return Promise.resolve(y(r,p[n],f[n]))}))}else v=g([]);return v.then((e=>({pages:e,pageParams:h})))}}},this.fetchQuery(r)}prefetchInfiniteQuery(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(Mr).catch(Mr)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){const n=this.queryDefaults.find((t=>Zr(e)===Zr(t.queryKey)));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;const t=this.queryDefaults.find((t=>Hr(e,t.queryKey)));return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){const n=this.mutationDefaults.find((t=>Zr(e)===Zr(t.mutationKey)));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;const t=this.mutationDefaults.find((t=>Hr(e,t.mutationKey)));return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;const t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=kr(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}};!function(e){e.RelatedKeywords="relatedKeywords"}(No||(No={}));var _o=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},Do=Zn.useSelect,Vo=[],Uo=function(t){var n,r=t.taxonomy,a=t.wpService,o=(0,e.useState)(null),i=o[0],s=o[1],l=(0,e.useState)([]),c=l[0],u=l[1],d=(0,Zn.useDispatch)("core/editor").editPost,f=Do((function(e){var t=e("core"),n=t.getEntityRecords,a=t.getTaxonomy,o=t.hasFinishedResolution,i=e("core/editor"),s=i.getEditedPostAttribute,l=i.getCurrentPostId,c=a(r),u=function(){return c?s(c.rest_base):null},d=u();if(!(null==d?void 0:d.length))return{resolvingExistingTerms:null,hasResolvedTerms:!0,taxonomyDetail:c,termIds:Vo,postId:l(),getLatestTermIds:u};var f={_fields:"id,name",context:"view",include:d.join(","),per_page:-1};return{resolvingExistingTerms:n("taxonomy",r,f),hasResolvedTerms:o("getEntityRecords",["taxonomy",r,f]),taxonomyDetail:c,termIds:d,postId:l(),getLatestTermIds:u}}),[r]),p=f.taxonomyDetail,h=f.termIds,m=f.hasResolvedTerms,C=f.resolvingExistingTerms,y=f.postId,g=f.getLatestTermIds,v=ba({trackValue:h,revertFn:function(e){var t;(null==p?void 0:p.rest_base)&&d(((t={})[p.rest_base]=e,t))}});(0,e.useEffect)((function(){m&&u(C||[])}),[C,m]);var b=null!==(n=null==p?void 0:p.rest_namespace)&&void 0!==n?n:"wp/v2";return{addTag:function(e){if(!(null==p?void 0:p.rest_base))throw Error("Missing rest_base");s(null),a.findOrCreateTerm({term:e,restBase:p.rest_base,namespace:b}).then((function(e){var t,n,r=g()||[],a=_o(_o([],r,!0),[e.id],!1);v.update(a),d(((t={})[p.rest_base]=a,t)),vt.saveEvents({event:"select",field:rr.Tags,content:(n={},n[rr.Tags]=e.term,n),postId:y})})).catch((function(e){var t=!(!e||"object"!=typeof e||!("message"in e)||"string"!=typeof e.message)&&e.message;s(t||"Failed to add tag")}))},removeTag:function(e){var t,n;if(!(null==p?void 0:p.rest_base))throw Error("Missing rest_base");var r=h.indexOf(e);if(!(r<0)){var a=_o(_o([],h.slice(0,r),!0),h.slice(r+1),!0);v.update(a),d(((t={})[p.rest_base]=a.length>0?a:[null],t)),vt.saveEvents({event:"revert",field:rr.Tags,content:(n={},n[rr.Tags]=a,n),postId:y})}},existingTerms:c,revert:v.revert,errorWhileAddingTag:i}},Bo=window.wp.apiFetch,qo=n.n(Bo),zo=n(573),Go=n.n(zo),Wo={editMeta:function(e){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,[e],void 0,(function(e){var t,n=e.key,r=e.value,a=e.postId;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(e){switch(e.label){case 0:return[4,qo()({path:"/wp/v2/posts/".concat(a),method:"POST",data:{meta:(t={},t[n]=r,t)}})];case 1:return e.sent(),[2]}}))}))},findOrCreateTerm:function(e){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,[e],void 0,(function(e){var t,n,r,a,o,i=e.term,s=e.restBase,l=e.namespace;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(e){switch(e.label){case 0:return t=Go()(i),[4,qo()({path:"/".concat(l,"/").concat(s,"?search=").concat(encodeURIComponent(t),"&_fields=id,name")})];case 1:if(n=e.sent(),r=n.find((function(e){return e.name===t})))return[2,{id:r.id,term:r.name}];e.label=2;case 2:return e.trys.push([2,4,,5]),[4,qo()({path:"/".concat(l,"/").concat(s),method:"POST",data:{name:t}})];case 3:return[2,{id:(a=e.sent()).id,term:a.name}];case 4:if("term_exists"!==(o=e.sent()).code)throw o;return[2,{id:o.data.term_id,term:i}];case 5:return[2]}}))}))}},Qo=Zn.useSelect,Ko=function(e,t){var n=Array.isArray(e)?e:[e];return t.some((function(e){return n.some((function(t){return t===e}))}))};function $o(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,$o),r}function Jo(...e){return e.filter(Boolean).join(" ")}var Yo,Xo=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Xo||{}),ei=((Yo=ei||{})[Yo.Unmount=0]="Unmount",Yo[Yo.Hidden=1]="Hidden",Yo);function ti({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:a,visible:o=!0,name:i}){let s=ri(t,e);if(o)return ni(s,n,r,i);let l=null!=a?a:0;if(2&l){let{static:e=!1,...t}=s;if(e)return ni(t,n,r,i)}if(1&l){let{unmount:e=!0,...t}=s;return $o(e?0:1,{0(){return null},1(){return ni({...t,hidden:!0,style:{display:"none"}},n,r,i)}})}return ni(s,n,r,i)}function ni(e,t={},n,a){let{as:o=n,children:i,refName:s="ref",...l}=ii(e,["unmount","static"]),c=void 0!==e.ref?{[s]:e.ref}:{},u="function"==typeof i?i(t):i;"className"in l&&l.className&&"function"==typeof l.className&&(l.className=l.className(t));let d={};if(t){let e=!1,n=[];for(let[r,a]of Object.entries(t))"boolean"==typeof a&&(e=!0),!0===a&&n.push(r);e&&(d["data-headlessui-state"]=n.join(" "))}if(o===r.Fragment&&Object.keys(oi(l)).length>0){if(!(0,r.isValidElement)(u)||Array.isArray(u)&&u.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${a} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(l).map((e=>`  - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>`  - ${e}`)).join("\n")].join("\n"));let e=u.props,t="function"==typeof(null==e?void 0:e.className)?(...t)=>Jo(null==e?void 0:e.className(...t),l.className):Jo(null==e?void 0:e.className,l.className),n=t?{className:t}:{};return(0,r.cloneElement)(u,Object.assign({},ri(u.props,oi(ii(l,["ref"]))),d,c,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}}(u.ref,c.ref),n))}return(0,r.createElement)(o,Object.assign({},ii(l,["ref"]),o!==r.Fragment&&c,o!==r.Fragment&&d),u)}function ri(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map((e=>[e,void 0]))));for(let e in n)Object.assign(t,{[e](t,...r){let a=n[e];for(let e of a){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...r)}}});return t}function ai(e){var t;return Object.assign((0,r.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function oi(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function ii(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}var si=Object.defineProperty,li=(e,t,n)=>(((e,t,n)=>{t in e?si(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);let ci=new class{constructor(){li(this,"current",this.detect()),li(this,"handoffState","pending"),li(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},ui=(e,t)=>{ci.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)};function di(e){let t=(0,r.useRef)(e);return ui((()=>{t.current=e}),[e]),t}let fi=function(e){let t=di(e);return r.useCallback(((...e)=>t.current(...e)),[t])},pi=Symbol();function hi(...e){let t=(0,r.useRef)(e);(0,r.useEffect)((()=>{t.current=e}),[e]);let n=fi((e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[pi])))?void 0:n}function mi(){let[e,t]=(0,r.useState)(ci.isHandoffComplete);return e&&!1===ci.isHandoffComplete&&t(!1),(0,r.useEffect)((()=>{!0!==e&&t(!0)}),[e]),(0,r.useEffect)((()=>ci.handoff()),[]),e}var Ci;let yi=null!=(Ci=r.useId)?Ci:function(){let e=mi(),[t,n]=r.useState(e?()=>ci.nextId():null);return ui((()=>{null===t&&n(ci.nextId())}),[t]),null!=t?""+t:void 0};var gi,vi=((gi=vi||{}).Space=" ",gi.Enter="Enter",gi.Escape="Escape",gi.Backspace="Backspace",gi.Delete="Delete",gi.ArrowLeft="ArrowLeft",gi.ArrowUp="ArrowUp",gi.ArrowRight="ArrowRight",gi.ArrowDown="ArrowDown",gi.Home="Home",gi.End="End",gi.PageUp="PageUp",gi.PageDown="PageDown",gi.Tab="Tab",gi);function bi(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}function wi(e){return ci.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let Ei=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var xi,Mi=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Mi||{}),Li=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Li||{}),Si=((xi=Si||{})[xi.Previous=-1]="Previous",xi[xi.Next=1]="Next",xi);function Ai(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(Ei)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var Oi=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Oi||{});function Ti(e,t=0){var n;return e!==(null==(n=wi(e))?void 0:n.body)&&$o(t,{0(){return e.matches(Ei)},1(){let t=e;for(;null!==t;){if(t.matches(Ei))return!0;t=t.parentElement}return!1}})}var Pi=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Pi||{});"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let ki=["textarea","input"].join(",");function Zi(e,t=(e=>e)){return e.slice().sort(((e,n)=>{let r=t(e),a=t(n);if(null===r||null===a)return 0;let o=r.compareDocumentPosition(a);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function Hi(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:a=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,i=Array.isArray(e)?n?Zi(e):e:Ai(e);a.length>0&&i.length>1&&(i=i.filter((e=>!a.includes(e)))),r=null!=r?r:o.activeElement;let s,l=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,i.indexOf(r))-1;if(4&t)return Math.max(0,i.indexOf(r))+1;if(8&t)return i.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=32&t?{preventScroll:!0}:{},d=0,f=i.length;do{if(d>=f||d+f<=0)return 0;let e=c+d;if(16&t)e=(e+f)%f;else{if(e<0)return 3;if(e>=f)return 1}s=i[e],null==s||s.focus(u),d+=l}while(s!==o.activeElement);return 6&t&&function(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,ki))&&n}(s)&&s.select(),2}let Ri=(0,r.createContext)(null);Ri.displayName="OpenClosedContext";var ji=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(ji||{});function Fi(){return(0,r.useContext)(Ri)}function Ni({value:e,children:t}){return r.createElement(Ri.Provider,{value:e},t)}function Ii(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}function _i(e,t){let[n,a]=(0,r.useState)((()=>Ii(e)));return ui((()=>{a(Ii(e))}),[e.type,e.as]),ui((()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&a("button")}),[n,t]),n}function Di(e,t,n){let a=di(t);(0,r.useEffect)((()=>{function t(e){a.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)}),[e,n])}function Vi(...e){return(0,r.useMemo)((()=>wi(...e)),[...e])}var Ui=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Ui||{});let Bi=ai((function(e,t){let{features:n=1,...r}=e;return ti({ourProps:{ref:t,"aria-hidden":2==(2&n)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...4==(4&n)&&2!=(2&n)&&{display:"none"}}},theirProps:r,slot:{},defaultTag:"div",name:"Hidden"})}));var qi=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(qi||{});function zi(){let e=(0,r.useRef)(0);return function(e,t,n){let a=di(t);(0,r.useEffect)((()=>{function t(e){a.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)}),[e,n])}("keydown",(t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}var Gi=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Gi||{}),Wi=(e=>(e[e.TogglePopover=0]="TogglePopover",e[e.ClosePopover=1]="ClosePopover",e[e.SetButton=2]="SetButton",e[e.SetButtonId=3]="SetButtonId",e[e.SetPanel=4]="SetPanel",e[e.SetPanelId=5]="SetPanelId",e))(Wi||{});let Qi={0:e=>({...e,popoverState:$o(e.popoverState,{0:1,1:0})}),1(e){return 1===e.popoverState?e:{...e,popoverState:1}},2(e,t){return e.button===t.button?e:{...e,button:t.button}},3(e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},4(e,t){return e.panel===t.panel?e:{...e,panel:t.panel}},5(e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}},Ki=(0,r.createContext)(null);function $i(e){let t=(0,r.useContext)(Ki);if(null===t){let t=new Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,$i),t}return t}Ki.displayName="PopoverContext";let Ji=(0,r.createContext)(null);function Yi(e){let t=(0,r.useContext)(Ji);if(null===t){let t=new Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Yi),t}return t}Ji.displayName="PopoverAPIContext";let Xi=(0,r.createContext)(null);function es(){return(0,r.useContext)(Xi)}Xi.displayName="PopoverGroupContext";let ts=(0,r.createContext)(null);function ns(e,t){return $o(t.type,Qi,e,t)}ts.displayName="PopoverPanelContext";let rs=Xo.RenderStrategy|Xo.Static,as=Xo.RenderStrategy|Xo.Static,os=ai((function(e,t){var n;let a=(0,r.useRef)(null),o=hi(t,function(e,t=!0){return Object.assign(e,{[pi]:t})}((e=>{a.current=e}))),i=(0,r.useRef)([]),s=(0,r.useReducer)(ns,{popoverState:1,buttons:i,button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:(0,r.createRef)(),afterPanelSentinel:(0,r.createRef)()}),[{popoverState:l,button:c,buttonId:u,panel:d,panelId:f,beforePanelSentinel:p,afterPanelSentinel:h},m]=s,C=Vi(null!=(n=a.current)?n:c),y=(0,r.useMemo)((()=>{if(!c||!d)return!1;for(let e of document.querySelectorAll("body > *"))if(Number(null==e?void 0:e.contains(c))^Number(null==e?void 0:e.contains(d)))return!0;let e=Ai(),t=e.indexOf(c),n=(t+e.length-1)%e.length,r=(t+1)%e.length,a=e[n],o=e[r];return!d.contains(a)&&!d.contains(o)}),[c,d]),g=di(u),v=di(f),b=(0,r.useMemo)((()=>({buttonId:g,panelId:v,close:()=>m({type:1})})),[g,v,m]),w=es(),E=null==w?void 0:w.registerPopover,x=fi((()=>{var e;return null!=(e=null==w?void 0:w.isFocusWithinPopoverGroup())?e:(null==C?void 0:C.activeElement)&&((null==c?void 0:c.contains(C.activeElement))||(null==d?void 0:d.contains(C.activeElement)))}));(0,r.useEffect)((()=>null==E?void 0:E(b)),[E,b]),function(e,t,n,a){let o=di(n);(0,r.useEffect)((()=>{function n(e){o.current(e)}return(e=null!=e?e:window).addEventListener(t,n,a),()=>e.removeEventListener(t,n,a)}),[e,t,a])}(null==C?void 0:C.defaultView,"focus",(e=>{var t,n,r,a;0===l&&(x()||c&&d&&e.target!==window&&(null!=(n=null==(t=p.current)?void 0:t.contains)&&n.call(t,e.target)||null!=(a=null==(r=h.current)?void 0:r.contains)&&a.call(r,e.target)||m({type:1})))}),!0),function(e,t,n=!0){let a=(0,r.useRef)(!1);function o(n,r){if(!a.current||n.defaultPrevented)return;let o=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),i=r(n);if(null!==i&&i.getRootNode().contains(i)){for(let e of o){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(i)||n.composed&&n.composedPath().includes(t))return}return!Ti(i,Oi.Loose)&&-1!==i.tabIndex&&n.preventDefault(),t(n,i)}}(0,r.useEffect)((()=>{requestAnimationFrame((()=>{a.current=n}))}),[n]);let i=(0,r.useRef)(null);Di("mousedown",(e=>{var t,n;a.current&&(i.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),Di("click",(e=>{i.current&&(o(e,(()=>i.current)),i.current=null)}),!0),Di("blur",(e=>o(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}([c,d],((e,t)=>{m({type:1}),Ti(t,Oi.Loose)||(e.preventDefault(),null==c||c.focus())}),0===l);let M=fi((e=>{m({type:1});let t=e?e instanceof HTMLElement?e:"current"in e&&e.current instanceof HTMLElement?e.current:c:c;null==t||t.focus()})),L=(0,r.useMemo)((()=>({close:M,isPortalled:y})),[M,y]),S=(0,r.useMemo)((()=>({open:0===l,close:M})),[l,M]),A=e,O={ref:o};return r.createElement(ts.Provider,{value:null},r.createElement(Ki.Provider,{value:s},r.createElement(Ji.Provider,{value:L},r.createElement(Ni,{value:$o(l,{0:ji.Open,1:ji.Closed})},ti({ourProps:O,theirProps:A,slot:S,defaultTag:"div",name:"Popover"})))))})),is=ai((function(e,t){let n=yi(),{id:a=`headlessui-popover-button-${n}`,...o}=e,[i,s]=$i("Popover.Button"),{isPortalled:l}=Yi("Popover.Button"),c=(0,r.useRef)(null),u=`headlessui-focus-sentinel-${yi()}`,d=es(),f=null==d?void 0:d.closeOthers,p=null!==(0,r.useContext)(ts);(0,r.useEffect)((()=>{if(!p)return s({type:3,buttonId:a}),()=>{s({type:3,buttonId:null})}}),[p,a,s]);let[h]=(0,r.useState)((()=>Symbol())),m=hi(c,t,p?null:e=>{if(e)i.buttons.current.push(h);else{let e=i.buttons.current.indexOf(h);-1!==e&&i.buttons.current.splice(e,1)}i.buttons.current.length>1&&console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."),e&&s({type:2,button:e})}),C=hi(c,t),y=Vi(c),g=fi((e=>{var t,n,r;if(p){if(1===i.popoverState)return;switch(e.key){case vi.Space:case vi.Enter:e.preventDefault(),null==(n=(t=e.target).click)||n.call(t),s({type:1}),null==(r=i.button)||r.focus()}}else switch(e.key){case vi.Space:case vi.Enter:e.preventDefault(),e.stopPropagation(),1===i.popoverState&&(null==f||f(i.buttonId)),s({type:0});break;case vi.Escape:if(0!==i.popoverState)return null==f?void 0:f(i.buttonId);if(!c.current||null!=y&&y.activeElement&&!c.current.contains(y.activeElement))return;e.preventDefault(),e.stopPropagation(),s({type:1})}})),v=fi((e=>{p||e.key===vi.Space&&e.preventDefault()})),b=fi((t=>{var n,r;bi(t.currentTarget)||e.disabled||(p?(s({type:1}),null==(n=i.button)||n.focus()):(t.preventDefault(),t.stopPropagation(),1===i.popoverState&&(null==f||f(i.buttonId)),s({type:0}),null==(r=i.button)||r.focus()))})),w=fi((e=>{e.preventDefault(),e.stopPropagation()})),E=0===i.popoverState,x=(0,r.useMemo)((()=>({open:E})),[E]),M=_i(e,c),L=p?{ref:C,type:M,onKeyDown:g,onClick:b}:{ref:m,id:i.buttonId,type:M,"aria-expanded":e.disabled?void 0:0===i.popoverState,"aria-controls":i.panel?i.panelId:void 0,onKeyDown:g,onKeyUp:v,onClick:b,onMouseDown:w},S=zi(),A=fi((()=>{let e=i.panel;e&&$o(S.current,{[qi.Forwards]:()=>Hi(e,Mi.First),[qi.Backwards]:()=>Hi(e,Mi.Last)})===Li.Error&&Hi(Ai().filter((e=>"true"!==e.dataset.headlessuiFocusGuard)),$o(S.current,{[qi.Forwards]:Mi.Next,[qi.Backwards]:Mi.Previous}),{relativeTo:i.button})}));return r.createElement(r.Fragment,null,ti({ourProps:L,theirProps:o,slot:x,defaultTag:"button",name:"Popover.Button"}),E&&!p&&l&&r.createElement(Bi,{id:u,features:Ui.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:A}))})),ss=ai((function(e,t){let n=yi(),{id:a=`headlessui-popover-overlay-${n}`,...o}=e,[{popoverState:i},s]=$i("Popover.Overlay"),l=hi(t),c=Fi(),u=null!==c?(c&ji.Open)===ji.Open:0===i,d=fi((e=>{if(bi(e.currentTarget))return e.preventDefault();s({type:1})}));return ti({ourProps:{ref:l,id:a,"aria-hidden":!0,onClick:d},theirProps:o,slot:(0,r.useMemo)((()=>({open:0===i})),[i]),defaultTag:"div",features:rs,visible:u,name:"Popover.Overlay"})})),ls=ai((function(e,t){let n=yi(),{id:a=`headlessui-popover-panel-${n}`,focus:o=!1,...i}=e,[s,l]=$i("Popover.Panel"),{close:c,isPortalled:u}=Yi("Popover.Panel"),d=`headlessui-focus-sentinel-before-${yi()}`,f=`headlessui-focus-sentinel-after-${yi()}`,p=(0,r.useRef)(null),h=hi(p,t,(e=>{l({type:4,panel:e})})),m=Vi(p);ui((()=>(l({type:5,panelId:a}),()=>{l({type:5,panelId:null})})),[a,l]);let C=Fi(),y=null!==C?(C&ji.Open)===ji.Open:0===s.popoverState,g=fi((e=>{var t;if(e.key===vi.Escape){if(0!==s.popoverState||!p.current||null!=m&&m.activeElement&&!p.current.contains(m.activeElement))return;e.preventDefault(),e.stopPropagation(),l({type:1}),null==(t=s.button)||t.focus()}}));(0,r.useEffect)((()=>{var t;e.static||1===s.popoverState&&(null==(t=e.unmount)||t)&&l({type:4,panel:null})}),[s.popoverState,e.unmount,e.static,l]),(0,r.useEffect)((()=>{if(!o||0!==s.popoverState||!p.current)return;let e=null==m?void 0:m.activeElement;p.current.contains(e)||Hi(p.current,Mi.First)}),[o,p,s.popoverState]);let v=(0,r.useMemo)((()=>({open:0===s.popoverState,close:c})),[s,c]),b={ref:h,id:a,onKeyDown:g,onBlur:o&&0===s.popoverState?e=>{var t,n,r,a,o;let i=e.relatedTarget;i&&p.current&&(null!=(t=p.current)&&t.contains(i)||(l({type:1}),(null!=(r=null==(n=s.beforePanelSentinel.current)?void 0:n.contains)&&r.call(n,i)||null!=(o=null==(a=s.afterPanelSentinel.current)?void 0:a.contains)&&o.call(a,i))&&i.focus({preventScroll:!0})))}:void 0,tabIndex:-1},w=zi(),E=fi((()=>{let e=p.current;e&&$o(w.current,{[qi.Forwards]:()=>{var t;Hi(e,Mi.First)===Li.Error&&(null==(t=s.afterPanelSentinel.current)||t.focus())},[qi.Backwards]:()=>{var e;null==(e=s.button)||e.focus({preventScroll:!0})}})})),x=fi((()=>{let e=p.current;e&&$o(w.current,{[qi.Forwards]:()=>{var e;if(!s.button)return;let t=Ai(),n=t.indexOf(s.button),r=t.slice(0,n+1),a=[...t.slice(n+1),...r];for(let t of a.slice())if("true"===t.dataset.headlessuiFocusGuard||null!=(e=s.panel)&&e.contains(t)){let e=a.indexOf(t);-1!==e&&a.splice(e,1)}Hi(a,Mi.First,{sorted:!1})},[qi.Backwards]:()=>{var t;Hi(e,Mi.Previous)===Li.Error&&(null==(t=s.button)||t.focus())}})}));return r.createElement(ts.Provider,{value:a},y&&u&&r.createElement(Bi,{id:d,ref:s.beforePanelSentinel,features:Ui.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:E}),ti({ourProps:b,theirProps:i,slot:v,defaultTag:"div",features:as,visible:y,name:"Popover.Panel"}),y&&u&&r.createElement(Bi,{id:f,ref:s.afterPanelSentinel,features:Ui.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:x}))})),cs=ai((function(e,t){let n=(0,r.useRef)(null),a=hi(n,t),[o,i]=(0,r.useState)([]),s=fi((e=>{i((t=>{let n=t.indexOf(e);if(-1!==n){let e=t.slice();return e.splice(n,1),e}return t}))})),l=fi((e=>(i((t=>[...t,e])),()=>s(e)))),c=fi((()=>{var e;let t=wi(n);if(!t)return!1;let r=t.activeElement;return!(null==(e=n.current)||!e.contains(r))||o.some((e=>{var n,a;return(null==(n=t.getElementById(e.buttonId.current))?void 0:n.contains(r))||(null==(a=t.getElementById(e.panelId.current))?void 0:a.contains(r))}))})),u=fi((e=>{for(let t of o)t.buttonId.current!==e&&t.close()})),d=(0,r.useMemo)((()=>({registerPopover:l,unregisterPopover:s,isFocusWithinPopoverGroup:c,closeOthers:u})),[l,s,c,u]),f=(0,r.useMemo)((()=>({})),[]),p=e,h={ref:a};return r.createElement(Xi.Provider,{value:d},ti({ourProps:h,theirProps:p,slot:f,defaultTag:"div",name:"Popover.Group"}))})),us=Object.assign(os,{Button:is,Overlay:ss,Panel:ls,Group:cs});var ds=Object.defineProperty,fs=Object.defineProperties,ps=Object.getOwnPropertyDescriptors,hs=Object.getOwnPropertySymbols,ms=Object.prototype.hasOwnProperty,Cs=Object.prototype.propertyIsEnumerable,ys=(e,t,n)=>t in e?ds(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const gs=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M246.15,133.18,146.83,33.86A19.85,19.85,0,0,0,132.69,28H40A12,12,0,0,0,28,40v92.69a19.85,19.85,0,0,0,5.86,14.14l99.32,99.32a20,20,0,0,0,28.28,0l84.69-84.69A20,20,0,0,0,246.15,133.18Zm-98.83,93.17L52,131V52h79l95.32,95.32ZM100,84A16,16,0,1,1,84,68,16,16,0,0,1,100,84Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M237.66,153,153,237.66a8,8,0,0,1-11.31,0L42.34,138.34A8,8,0,0,1,40,132.69V40h92.69a8,8,0,0,1,5.65,2.34l99.32,99.32A8,8,0,0,1,237.66,153Z",opacity:"0.2"}),a().createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63ZM84,96A12,12,0,1,1,96,84,12,12,0,0,1,84,96Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M241.91,137.42,142.59,38.1a13.94,13.94,0,0,0-9.9-4.1H40a6,6,0,0,0-6,6v92.69a13.94,13.94,0,0,0,4.1,9.9l99.32,99.32a14,14,0,0,0,19.8,0l84.69-84.69A14,14,0,0,0,241.91,137.42Zm-8.49,11.31-84.69,84.69a2,2,0,0,1-2.83,0L46.59,134.1a2,2,0,0,1-.59-1.41V46h86.69a2,2,0,0,1,1.41.59l99.32,99.31A2,2,0,0,1,233.42,148.73ZM94,84A10,10,0,1,1,84,74,10,10,0,0,1,94,84Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M240.49,138.83,141.17,39.51A11.93,11.93,0,0,0,132.69,36H40a4,4,0,0,0-4,4v92.69a11.93,11.93,0,0,0,3.51,8.48l99.32,99.32a12,12,0,0,0,17,0l84.69-84.69a12,12,0,0,0,0-17Zm-5.66,11.31-84.69,84.69a4,4,0,0,1-5.65,0L45.17,135.51A4,4,0,0,1,44,132.69V44h88.69a4,4,0,0,1,2.82,1.17l99.32,99.32A4,4,0,0,1,234.83,150.14ZM92,84a8,8,0,1,1-8-8A8,8,0,0,1,92,84Z"}))]]),vs=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>fs(e,ps(t)))(((e,t)=>{for(var n in t||(t={}))ms.call(t,n)&&ys(e,n,t[n]);if(hs)for(var n of hs(t))Cs.call(t,n)&&ys(e,n,t[n]);return e})({ref:t},e),{weights:gs}))));vs.displayName="Tag";var bs=Object.defineProperty,ws=Object.defineProperties,Es=Object.getOwnPropertyDescriptors,xs=Object.getOwnPropertySymbols,Ms=Object.prototype.hasOwnProperty,Ls=Object.prototype.propertyIsEnumerable,Ss=(e,t,n)=>t in e?bs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const As=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),a().createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]]),Os=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>ws(e,Es(t)))(((e,t)=>{for(var n in t||(t={}))Ms.call(t,n)&&Ss(e,n,t[n]);if(xs)for(var n of xs(t))Ls.call(t,n)&&Ss(e,n,t[n]);return e})({ref:t},e),{weights:As}))));function Ts(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");const n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function Ps(e){return Math.min(1,Math.max(0,e))}function ks(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Zs(e){return Number(e)<=1?100*Number(e)+"%":e}function Hs(e){return 1===e.length?"0"+e:String(e)}function Rs(e,t,n){e=Ts(e,255),t=Ts(t,255),n=Ts(n,255);const r=Math.max(e,t,n),a=Math.min(e,t,n);let o=0,i=0;const s=(r+a)/2;if(r===a)i=0,o=0;else{const l=r-a;switch(i=s>.5?l/(2-r-a):l/(r+a),r){case e:o=(t-n)/l+(t<n?6:0);break;case t:o=(n-e)/l+2;break;case n:o=(e-t)/l+4}o/=6}return{h:o,s:i,l:s}}function js(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Fs(e,t,n){e=Ts(e,255),t=Ts(t,255),n=Ts(n,255);const r=Math.max(e,t,n),a=Math.min(e,t,n);let o=0;const i=r,s=r-a,l=0===r?0:s/r;if(r===a)o=0;else{switch(r){case e:o=(t-n)/s+(t<n?6:0);break;case t:o=(n-e)/s+2;break;case n:o=(e-t)/s+4}o/=6}return{h:o,s:l,v:i}}function Ns(e,t,n,r){const a=[Hs(Math.round(e).toString(16)),Hs(Math.round(t).toString(16)),Hs(Math.round(n).toString(16))];return r&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function Is(e,t,n){let r=1-e/255,a=1-t/255,o=1-n/255,i=Math.min(r,a,o);return 1===i?(r=0,a=0,o=0):(r=(r-i)/(1-i)*100,a=(a-i)/(1-i)*100,o=(o-i)/(1-i)*100),i*=100,{c:Math.round(r),m:Math.round(a),y:Math.round(o),k:Math.round(i)}}function _s(e){return Math.round(255*parseFloat(e)).toString(16)}function Ds(e){return Vs(e)/255}function Vs(e){return parseInt(e,16)}Os.displayName="CaretDown";const Us={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};const Bs="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",qs="[\\s|\\(]+("+Bs+")[,|\\s]+("+Bs+")[,|\\s]+("+Bs+")\\s*\\)?",zs="[\\s|\\(]+("+Bs+")[,|\\s]+("+Bs+")[,|\\s]+("+Bs+")[,|\\s]+("+Bs+")\\s*\\)?",Gs={CSS_UNIT:new RegExp(Bs),rgb:new RegExp("rgb"+qs),rgba:new RegExp("rgba"+zs),hsl:new RegExp("hsl"+qs),hsla:new RegExp("hsla"+zs),hsv:new RegExp("hsv"+qs),hsva:new RegExp("hsva"+zs),cmyk:new RegExp("cmyk"+zs),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Ws(e){return"number"==typeof e?!Number.isNaN(e):Gs.CSS_UNIT.test(e)}class Qs{constructor(e="",t={}){if(e instanceof Qs)return e;"number"==typeof e&&(e=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(e)),this.originalInput=e;const n=function(e){let t={r:0,g:0,b:0},n=1,r=null,a=null,o=null,i=!1,s=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;let t=!1;if(Us[e])e=Us[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};let n=Gs.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Gs.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Gs.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Gs.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Gs.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Gs.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Gs.cmyk.exec(e),n?{c:n[1],m:n[2],y:n[3],k:n[4]}:(n=Gs.hex8.exec(e),n?{r:Vs(n[1]),g:Vs(n[2]),b:Vs(n[3]),a:Ds(n[4]),format:t?"name":"hex8"}:(n=Gs.hex6.exec(e),n?{r:Vs(n[1]),g:Vs(n[2]),b:Vs(n[3]),format:t?"name":"hex"}:(n=Gs.hex4.exec(e),n?{r:Vs(n[1]+n[1]),g:Vs(n[2]+n[2]),b:Vs(n[3]+n[3]),a:Ds(n[4]+n[4]),format:t?"name":"hex8"}:(n=Gs.hex3.exec(e),!!n&&{r:Vs(n[1]+n[1]),g:Vs(n[2]+n[2]),b:Vs(n[3]+n[3]),format:t?"name":"hex"}))))))))))}(e)),"object"==typeof e&&(Ws(e.r)&&Ws(e.g)&&Ws(e.b)?(t=function(e,t,n){return{r:255*Ts(e,255),g:255*Ts(t,255),b:255*Ts(n,255)}}(e.r,e.g,e.b),i=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):Ws(e.h)&&Ws(e.s)&&Ws(e.v)?(r=Zs(e.s),a=Zs(e.v),t=function(e,t,n){e=6*Ts(e,360),t=Ts(t,100),n=Ts(n,100);const r=Math.floor(e),a=e-r,o=n*(1-t),i=n*(1-a*t),s=n*(1-(1-a)*t),l=r%6;return{r:255*[n,i,o,o,s,n][l],g:255*[s,n,n,i,o,o][l],b:255*[o,o,s,n,n,i][l]}}(e.h,r,a),i=!0,s="hsv"):Ws(e.h)&&Ws(e.s)&&Ws(e.l)?(r=Zs(e.s),o=Zs(e.l),t=function(e,t,n){let r,a,o;if(e=Ts(e,360),t=Ts(t,100),n=Ts(n,100),0===t)a=n,o=n,r=n;else{const i=n<.5?n*(1+t):n+t-n*t,s=2*n-i;r=js(s,i,e+1/3),a=js(s,i,e),o=js(s,i,e-1/3)}return{r:255*r,g:255*a,b:255*o}}(e.h,r,o),i=!0,s="hsl"):Ws(e.c)&&Ws(e.m)&&Ws(e.y)&&Ws(e.k)&&(t=function(e,t,n,r){const a=r/100;return{r:255*(1-e/100)*(1-a),g:255*(1-t/100)*(1-a),b:255*(1-n/100)*(1-a)}}(e.c,e.m,e.y,e.k),i=!0,s="cmyk"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=ks(n),{ok:i,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}(e);this.originalInput=e,this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a,this.roundA=Math.round(100*this.a)/100,this.format=t.format??n.format,this.gradientType=t.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=n.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){const e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3}getLuminance(){const e=this.toRgb();let t,n,r;const a=e.r/255,o=e.g/255,i=e.b/255;return t=a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4),n=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4),r=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4),.2126*t+.7152*n+.0722*r}getAlpha(){return this.a}setAlpha(e){return this.a=ks(e),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){const{s:e}=this.toHsl();return 0===e}toHsv(){const e=Fs(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}}toHsvString(){const e=Fs(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?`hsv(${t}, ${n}%, ${r}%)`:`hsva(${t}, ${n}%, ${r}%, ${this.roundA})`}toHsl(){const e=Rs(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}}toHslString(){const e=Rs(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?`hsl(${t}, ${n}%, ${r}%)`:`hsla(${t}, ${n}%, ${r}%, ${this.roundA})`}toHex(e=!1){return Ns(this.r,this.g,this.b,e)}toHexString(e=!1){return"#"+this.toHex(e)}toHex8(e=!1){return function(e,t,n,r,a){const o=[Hs(Math.round(e).toString(16)),Hs(Math.round(t).toString(16)),Hs(Math.round(n).toString(16)),Hs(_s(r))];return a&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this.r,this.g,this.b,this.a,e)}toHex8String(e=!1){return"#"+this.toHex8(e)}toHexShortString(e=!1){return 1===this.a?this.toHexString(e):this.toHex8String(e)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){const e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?`rgb(${e}, ${t}, ${n})`:`rgba(${e}, ${t}, ${n}, ${this.roundA})`}toPercentageRgb(){const e=e=>`${Math.round(100*Ts(e,255))}%`;return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}}toPercentageRgbString(){const e=e=>Math.round(100*Ts(e,255));return 1===this.a?`rgb(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%)`:`rgba(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%, ${this.roundA})`}toCmyk(){return{...Is(this.r,this.g,this.b)}}toCmykString(){const{c:e,m:t,y:n,k:r}=Is(this.r,this.g,this.b);return`cmyk(${e}, ${t}, ${n}, ${r})`}toName(){if(0===this.a)return"transparent";if(this.a<1)return!1;const e="#"+Ns(this.r,this.g,this.b,!1);for(const[t,n]of Object.entries(Us))if(e===n)return t;return!1}toString(e){const t=Boolean(e);e=e??this.format;let n=!1;const r=this.a<1&&this.a>=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),"cmyk"===e&&(n=this.toCmykString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new Qs(this.toString())}lighten(e=10){const t=this.toHsl();return t.l+=e/100,t.l=Ps(t.l),new Qs(t)}brighten(e=10){const t=this.toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(-e/100*255))),t.g=Math.max(0,Math.min(255,t.g-Math.round(-e/100*255))),t.b=Math.max(0,Math.min(255,t.b-Math.round(-e/100*255))),new Qs(t)}darken(e=10){const t=this.toHsl();return t.l-=e/100,t.l=Ps(t.l),new Qs(t)}tint(e=10){return this.mix("white",e)}shade(e=10){return this.mix("black",e)}desaturate(e=10){const t=this.toHsl();return t.s-=e/100,t.s=Ps(t.s),new Qs(t)}saturate(e=10){const t=this.toHsl();return t.s+=e/100,t.s=Ps(t.s),new Qs(t)}greyscale(){return this.desaturate(100)}spin(e){const t=this.toHsl(),n=(t.h+e)%360;return t.h=n<0?360+n:n,new Qs(t)}mix(e,t=50){const n=this.toRgb(),r=new Qs(e).toRgb(),a=t/100,o={r:(r.r-n.r)*a+n.r,g:(r.g-n.g)*a+n.g,b:(r.b-n.b)*a+n.b,a:(r.a-n.a)*a+n.a};return new Qs(o)}analogous(e=6,t=30){const n=this.toHsl(),r=360/t,a=[this];for(n.h=(n.h-(r*e>>1)+720)%360;--e;)n.h=(n.h+r)%360,a.push(new Qs(n));return a}complement(){const e=this.toHsl();return e.h=(e.h+180)%360,new Qs(e)}monochromatic(e=6){const t=this.toHsv(),{h:n}=t,{s:r}=t;let{v:a}=t;const o=[],i=1/e;for(;e--;)o.push(new Qs({h:n,s:r,v:a})),a=(a+i)%1;return o}splitcomplement(){const e=this.toHsl(),{h:t}=e;return[this,new Qs({h:(t+72)%360,s:e.s,l:e.l}),new Qs({h:(t+216)%360,s:e.s,l:e.l})]}onBackground(e){const t=this.toRgb(),n=new Qs(e).toRgb(),r=t.a+n.a*(1-t.a);return new Qs({r:(t.r*t.a+n.r*n.a*(1-t.a))/r,g:(t.g*t.a+n.g*n.a*(1-t.a))/r,b:(t.b*t.a+n.b*n.a*(1-t.a))/r,a:r})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(e){const t=this.toHsl(),{h:n}=t,r=[this],a=360/e;for(let o=1;o<e;o++)r.push(new Qs({h:(n+o*a)%360,s:t.s,l:t.l}));return r}equals(e){const t=new Qs(e);return"cmyk"===this.format||"cmyk"===t.format?this.toCmykString()===t.toCmykString():this.toRgbString()===t.toRgbString()}}function Ks(t){var n,r,a,o,i=t.brand,s=t.className,l=t.collapsed,c=null===(r=null===(n=i.logos)||void 0===n?void 0:n[0])||void 0===r?void 0:r.url,u=l||c,d=(null===(o=null===(a=i.colors)||void 0===a?void 0:a[0])||void 0===o?void 0:o.hex)||"f8f2f8",f=(0,e.useMemo)((function(){return new Qs(d)}),[d]),p=f.isDark()?"ntw-text-typography-light":"ntw-text-typography-dark",h=f.toHexString();return(0,e.createElement)("span",{className:mn("ntw-flex ntw-items-center ntw-gap-8px ntw-text-left",s)},(0,e.createElement)("span",{className:mn("ntw-block ntw-h-24px ntw-w-24px ntw-shrink-0 ntw-overflow-hidden ntw-rounded ntw-border ntw-border-ui-default",{hidden:!u})},c?(0,e.createElement)("img",{src:c,alt:"Brand logo",className:"ntw-h-full ntw-w-full ntw-object-contain"}):(0,e.createElement)("span",{className:mn("ntw-text-paragraph-base-bold ntw-flex ntw-h-full ntw-w-full ntw-items-center ntw-justify-center",p),style:{backgroundColor:h}},i.name[0])),(0,e.createElement)("span",{className:mn("ntw-grow ntw-truncate",{hidden:l})},i.name))}function $s(){let e=(0,r.useRef)(!1);return ui((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function Js(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function Ys(){let e=[],t={addEventListener(e,n,r,a){return e.addEventListener(n,r,a),t.add((()=>e.removeEventListener(n,r,a)))},requestAnimationFrame(...e){let n=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(n)))},nextFrame(...e){return t.requestAnimationFrame((()=>t.requestAnimationFrame(...e)))},setTimeout(...e){let n=setTimeout(...e);return t.add((()=>clearTimeout(n)))},microTask(...e){let n={current:!0};return Js((()=>{n.current&&e[0]()})),t.add((()=>{n.current=!1}))},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add((()=>{Object.assign(e.style,{[t]:r})}))},group(e){let t=Ys();return e(t),this.add((()=>t.dispose()))},add(t){return e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}},dispose(){for(let t of e.splice(0))t()}};return t}function Xs(e,...t){e&&t.length>0&&e.classList.add(...t)}function el(e,...t){e&&t.length>0&&e.classList.remove(...t)}function tl(){let[e]=(0,r.useState)(Ys);return(0,r.useEffect)((()=>()=>e.dispose()),[e]),e}function nl(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let rl=(0,r.createContext)(null);rl.displayName="TransitionContext";var al=(e=>(e.Visible="visible",e.Hidden="hidden",e))(al||{});let ol=(0,r.createContext)(null);function il(e){return"children"in e?il(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function sl(e,t){let n=di(e),a=(0,r.useRef)([]),o=$s(),i=tl(),s=fi(((e,t=ei.Hidden)=>{let r=a.current.findIndex((({el:t})=>t===e));-1!==r&&($o(t,{[ei.Unmount](){a.current.splice(r,1)},[ei.Hidden](){a.current[r].state="hidden"}}),i.microTask((()=>{var e;!il(a)&&o.current&&(null==(e=n.current)||e.call(n))})))})),l=fi((e=>{let t=a.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):a.current.push({el:e,state:"visible"}),()=>s(e,ei.Unmount)})),c=(0,r.useRef)([]),u=(0,r.useRef)(Promise.resolve()),d=(0,r.useRef)({enter:[],leave:[],idle:[]}),f=fi(((e,n,r)=>{c.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter((([t])=>t!==e))),null==t||t.chains.current[n].push([e,new Promise((e=>{c.current.push(e)}))]),null==t||t.chains.current[n].push([e,new Promise((e=>{Promise.all(d.current[n].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===n?u.current=u.current.then((()=>null==t?void 0:t.wait.current)).then((()=>r(n))):r(n)})),p=fi(((e,t,n)=>{Promise.all(d.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=c.current.shift())||e()})).then((()=>n(t)))}));return(0,r.useMemo)((()=>({children:a,register:l,unregister:s,onStart:f,onStop:p,wait:u,chains:d})),[l,s,a,f,p,d,u])}function ll(){}ol.displayName="NestingContext";let cl=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function ul(e){var t;let n={};for(let r of cl)n[r]=null!=(t=e[r])?t:ll;return n}let dl=Xo.RenderStrategy,fl=ai((function(e,t){let{show:n,appear:a=!1,unmount:o,...i}=e,s=(0,r.useRef)(null),l=hi(s,t);mi();let c=Fi();if(void 0===n&&null!==c&&(n=(c&ji.Open)===ji.Open),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[u,d]=(0,r.useState)(n?"visible":"hidden"),f=sl((()=>{d("hidden")})),[p,h]=(0,r.useState)(!0),m=(0,r.useRef)([n]);ui((()=>{!1!==p&&m.current[m.current.length-1]!==n&&(m.current.push(n),h(!1))}),[m,n]);let C=(0,r.useMemo)((()=>({show:n,appear:a,initial:p})),[n,a,p]);(0,r.useEffect)((()=>{if(n)d("visible");else if(il(f)){let e=s.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&d("hidden")}else d("hidden")}),[n,f]);let y={unmount:o};return r.createElement(ol.Provider,{value:f},r.createElement(rl.Provider,{value:C},ti({ourProps:{...y,as:r.Fragment,children:r.createElement(pl,{ref:l,...y,...i})},theirProps:{},defaultTag:r.Fragment,features:dl,visible:"visible"===u,name:"Transition"})))})),pl=ai((function(e,t){let{beforeEnter:n,afterEnter:a,beforeLeave:o,afterLeave:i,enter:s,enterFrom:l,enterTo:c,entered:u,leave:d,leaveFrom:f,leaveTo:p,...h}=e,m=(0,r.useRef)(null),C=hi(m,t),y=h.unmount?ei.Unmount:ei.Hidden,{show:g,appear:v,initial:b}=function(){let e=(0,r.useContext)(rl);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[w,E]=(0,r.useState)(g?"visible":"hidden"),x=function(){let e=(0,r.useContext)(ol);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:M,unregister:L}=x,S=(0,r.useRef)(null);(0,r.useEffect)((()=>M(m)),[M,m]),(0,r.useEffect)((()=>{if(y===ei.Hidden&&m.current)return g&&"visible"!==w?void E("visible"):$o(w,{hidden:()=>L(m),visible:()=>M(m)})}),[w,m,M,L,g,y]);let A=di({enter:nl(s),enterFrom:nl(l),enterTo:nl(c),entered:nl(u),leave:nl(d),leaveFrom:nl(f),leaveTo:nl(p)}),O=function(e){let t=(0,r.useRef)(ul(e));return(0,r.useEffect)((()=>{t.current=ul(e)}),[e]),t}({beforeEnter:n,afterEnter:a,beforeLeave:o,afterLeave:i}),T=mi();(0,r.useEffect)((()=>{if(T&&"visible"===w&&null===m.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[m,w,T]);let P=b&&!v,k=!T||P||S.current===g?"idle":g?"enter":"leave",Z=function(e=0){let[t,n]=(0,r.useState)(e),a=$s(),o=(0,r.useCallback)((e=>{a.current&&n((t=>t|e))}),[t,a]),i=(0,r.useCallback)((e=>Boolean(t&e)),[t]),s=(0,r.useCallback)((e=>{a.current&&n((t=>t&~e))}),[n,a]),l=(0,r.useCallback)((e=>{a.current&&n((t=>t^e))}),[n]);return{flags:t,addFlag:o,hasFlag:i,removeFlag:s,toggleFlag:l}}(0),H=fi((e=>$o(e,{enter:()=>{Z.addFlag(ji.Opening),O.current.beforeEnter()},leave:()=>{Z.addFlag(ji.Closing),O.current.beforeLeave()},idle:()=>{}}))),R=fi((e=>$o(e,{enter:()=>{Z.removeFlag(ji.Opening),O.current.afterEnter()},leave:()=>{Z.removeFlag(ji.Closing),O.current.afterLeave()},idle:()=>{}}))),j=sl((()=>{E("hidden"),L(m)}),x);(function({container:e,direction:t,classes:n,onStart:r,onStop:a}){let o=$s(),i=tl(),s=di(t);ui((()=>{let t=Ys();i.add(t.dispose);let l=e.current;if(l&&"idle"!==s.current&&o.current)return t.dispose(),r.current(s.current),t.add(function(e,t,n,r){let a=n?"enter":"leave",o=Ys(),i=void 0!==r?function(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}(r):()=>{};"enter"===a&&(e.removeAttribute("hidden"),e.style.display="");let s=$o(a,{enter:()=>t.enter,leave:()=>t.leave}),l=$o(a,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=$o(a,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return el(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),Xs(e,...s,...c),o.nextFrame((()=>{el(e,...c),Xs(e,...l),function(e,t){let n=Ys();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:a}=getComputedStyle(e),[o,i]=[r,a].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t})),s=o+i;if(0!==s){n.group((n=>{n.setTimeout((()=>{t(),n.dispose()}),s),n.addEventListener(e,"transitionrun",(e=>{e.target===e.currentTarget&&n.dispose()}))}));let r=n.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),r())}))}else t();n.add((()=>t())),n.dispose}(e,(()=>(el(e,...s),Xs(e,...t.entered),i())))})),o.dispose}(l,n.current,"enter"===s.current,(()=>{t.dispose(),a.current(s.current)}))),t.dispose}),[t])})({container:m,classes:A,direction:k,onStart:di((e=>{j.onStart(m,e,H)})),onStop:di((e=>{j.onStop(m,e,R),"leave"===e&&!il(j)&&(E("hidden"),L(m))}))}),(0,r.useEffect)((()=>{P&&(y===ei.Hidden?S.current=null:S.current=g)}),[g,P,w]);let F=h,N={ref:C};return v&&g&&(F={...F,className:Jo(h.className,...A.current.enter,...A.current.enterFrom)}),r.createElement(ol.Provider,{value:j},r.createElement(Ni,{value:$o(w,{visible:ji.Open,hidden:ji.Closed})|Z.flags},ti({ourProps:N,theirProps:F,defaultTag:"div",features:dl,visible:"visible"===w,name:"Transition.Child"})))})),hl=ai((function(e,t){let n=null!==(0,r.useContext)(rl),a=null!==Fi();return r.createElement(r.Fragment,null,!n&&a?r.createElement(fl,{ref:t,...e}):r.createElement(pl,{ref:t,...e}))})),ml=Object.assign(fl,{Child:hl,Root:fl});var Cl=window.ReactDOM;function yl(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function gl(e){return e instanceof yl(e).Element||e instanceof Element}function vl(e){return e instanceof yl(e).HTMLElement||e instanceof HTMLElement}function bl(e){return"undefined"!=typeof ShadowRoot&&(e instanceof yl(e).ShadowRoot||e instanceof ShadowRoot)}var wl=Math.max,El=Math.min,xl=Math.round;function Ml(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Ll(){return!/^((?!chrome|android).)*safari/i.test(Ml())}function Sl(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),a=1,o=1;t&&vl(e)&&(a=e.offsetWidth>0&&xl(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&xl(r.height)/e.offsetHeight||1);var i=(gl(e)?yl(e):window).visualViewport,s=!Ll()&&n,l=(r.left+(s&&i?i.offsetLeft:0))/a,c=(r.top+(s&&i?i.offsetTop:0))/o,u=r.width/a,d=r.height/o;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function Al(e){var t=yl(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ol(e){return e?(e.nodeName||"").toLowerCase():null}function Tl(e){return((gl(e)?e.ownerDocument:e.document)||window.document).documentElement}function Pl(e){return Sl(Tl(e)).left+Al(e).scrollLeft}function kl(e){return yl(e).getComputedStyle(e)}function Zl(e){var t=kl(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function Hl(e,t,n){void 0===n&&(n=!1);var r,a,o=vl(t),i=vl(t)&&function(e){var t=e.getBoundingClientRect(),n=xl(t.width)/e.offsetWidth||1,r=xl(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=Tl(t),l=Sl(e,i,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==Ol(t)||Zl(s))&&(c=(r=t)!==yl(r)&&vl(r)?{scrollLeft:(a=r).scrollLeft,scrollTop:a.scrollTop}:Al(r)),vl(t)?((u=Sl(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=Pl(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Rl(e){var t=Sl(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function jl(e){return"html"===Ol(e)?e:e.assignedSlot||e.parentNode||(bl(e)?e.host:null)||Tl(e)}function Fl(e){return["html","body","#document"].indexOf(Ol(e))>=0?e.ownerDocument.body:vl(e)&&Zl(e)?e:Fl(jl(e))}function Nl(e,t){var n;void 0===t&&(t=[]);var r=Fl(e),a=r===(null==(n=e.ownerDocument)?void 0:n.body),o=yl(r),i=a?[o].concat(o.visualViewport||[],Zl(r)?r:[]):r,s=t.concat(i);return a?s:s.concat(Nl(jl(i)))}function Il(e){return["table","td","th"].indexOf(Ol(e))>=0}function _l(e){return vl(e)&&"fixed"!==kl(e).position?e.offsetParent:null}function Dl(e){for(var t=yl(e),n=_l(e);n&&Il(n)&&"static"===kl(n).position;)n=_l(n);return n&&("html"===Ol(n)||"body"===Ol(n)&&"static"===kl(n).position)?t:n||function(e){var t=/firefox/i.test(Ml());if(/Trident/i.test(Ml())&&vl(e)&&"fixed"===kl(e).position)return null;var n=jl(e);for(bl(n)&&(n=n.host);vl(n)&&["html","body"].indexOf(Ol(n))<0;){var r=kl(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Vl="top",Ul="bottom",Bl="right",ql="left",zl="auto",Gl=[Vl,Ul,Bl,ql],Wl="start",Ql="end",Kl="viewport",$l="popper",Jl=Gl.reduce((function(e,t){return e.concat([t+"-"+Wl,t+"-"+Ql])}),[]),Yl=[].concat(Gl,[zl]).reduce((function(e,t){return e.concat([t,t+"-"+Wl,t+"-"+Ql])}),[]),Xl=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ec(e){var t=new Map,n=new Set,r=[];function a(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&a(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||a(e)})),r}var tc={placement:"bottom",modifiers:[],strategy:"absolute"};function nc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function rc(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,a=t.defaultOptions,o=void 0===a?tc:a;return function(e,t,n){void 0===n&&(n=o);var a,i,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},tc,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(n){var a="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},o,s.options,a),s.scrollParents={reference:gl(e)?Nl(e):e.contextElement?Nl(e.contextElement):[],popper:Nl(t)};var i,c,f=function(e){var t=ec(e);return Xl.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,s.options.modifiers),c=i.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return s.orderedModifiers=f.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,a=e.effect;if("function"==typeof a){var o=a({state:s,name:t,instance:u,options:r});l.push(o||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(nc(t,n)){s.rects={reference:Hl(t,Dl(n),"fixed"===s.options.strategy),popper:Rl(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var a=s.orderedModifiers[r],o=a.fn,i=a.options,l=void 0===i?{}:i,d=a.name;"function"==typeof o&&(s=o({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,r=-1}}},update:(a=function(){return new Promise((function(e){u.forceUpdate(),e(s)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(a())}))}))),i}),destroy:function(){d(),c=!0}};if(!nc(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var ac={passive:!0},oc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,a=r.scroll,o=void 0===a||a,i=r.resize,s=void 0===i||i,l=yl(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,ac)})),s&&l.addEventListener("resize",n.update,ac),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,ac)})),s&&l.removeEventListener("resize",n.update,ac)}},data:{}};function ic(e){return e.split("-")[0]}function sc(e){return e.split("-")[1]}function lc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function cc(e){var t,n=e.reference,r=e.element,a=e.placement,o=a?ic(a):null,i=a?sc(a):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case Vl:t={x:s,y:n.y-r.height};break;case Ul:t={x:s,y:n.y+n.height};break;case Bl:t={x:n.x+n.width,y:l};break;case ql:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?lc(o):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Wl:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Ql:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var uc={top:"auto",right:"auto",bottom:"auto",left:"auto"};function dc(e){var t,n=e.popper,r=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=i.x,p=void 0===f?0:f,h=i.y,m=void 0===h?0:h,C="function"==typeof u?u({x:p,y:m}):{x:p,y:m};p=C.x,m=C.y;var y=i.hasOwnProperty("x"),g=i.hasOwnProperty("y"),v=ql,b=Vl,w=window;if(c){var E=Dl(n),x="clientHeight",M="clientWidth";E===yl(n)&&"static"!==kl(E=Tl(n)).position&&"absolute"===s&&(x="scrollHeight",M="scrollWidth"),(a===Vl||(a===ql||a===Bl)&&o===Ql)&&(b=Ul,m-=(d&&E===w&&w.visualViewport?w.visualViewport.height:E[x])-r.height,m*=l?1:-1),a!==ql&&(a!==Vl&&a!==Ul||o!==Ql)||(v=Bl,p-=(d&&E===w&&w.visualViewport?w.visualViewport.width:E[M])-r.width,p*=l?1:-1)}var L,S=Object.assign({position:s},c&&uc),A=!0===u?function(e,t){var n=e.x,r=e.y,a=t.devicePixelRatio||1;return{x:xl(n*a)/a||0,y:xl(r*a)/a||0}}({x:p,y:m},yl(n)):{x:p,y:m};return p=A.x,m=A.y,l?Object.assign({},S,((L={})[b]=g?"0":"",L[v]=y?"0":"",L.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",L)):Object.assign({},S,((t={})[b]=g?m+"px":"",t[v]=y?p+"px":"",t.transform="",t))}var fc={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,a=void 0===r||r,o=n.adaptive,i=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,c={placement:ic(t.placement),variation:sc(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,dc(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,dc(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},pc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.offset,o=void 0===a?[0,0]:a,i=Yl.reduce((function(e,n){return e[n]=function(e,t,n){var r=ic(e),a=[ql,Vl].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[ql,Bl].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}(n,t.rects,o),e}),{}),s=i[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}},hc={left:"right",right:"left",bottom:"top",top:"bottom"};function mc(e){return e.replace(/left|right|bottom|top/g,(function(e){return hc[e]}))}var Cc={start:"end",end:"start"};function yc(e){return e.replace(/start|end/g,(function(e){return Cc[e]}))}function gc(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&bl(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function vc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function bc(e,t,n){return t===Kl?vc(function(e,t){var n=yl(e),r=Tl(e),a=n.visualViewport,o=r.clientWidth,i=r.clientHeight,s=0,l=0;if(a){o=a.width,i=a.height;var c=Ll();(c||!c&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}return{width:o,height:i,x:s+Pl(e),y:l}}(e,n)):gl(t)?function(e,t){var n=Sl(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):vc(function(e){var t,n=Tl(e),r=Al(e),a=null==(t=e.ownerDocument)?void 0:t.body,o=wl(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=wl(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-r.scrollLeft+Pl(e),l=-r.scrollTop;return"rtl"===kl(a||n).direction&&(s+=wl(n.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:l}}(Tl(e)))}function wc(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Ec(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function xc(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=void 0===r?e.placement:r,o=n.strategy,i=void 0===o?e.strategy:o,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,u=void 0===c?Kl:c,d=n.elementContext,f=void 0===d?$l:d,p=n.altBoundary,h=void 0!==p&&p,m=n.padding,C=void 0===m?0:m,y=wc("number"!=typeof C?C:Ec(C,Gl)),g=f===$l?"reference":$l,v=e.rects.popper,b=e.elements[h?g:f],w=function(e,t,n,r){var a="clippingParents"===t?function(e){var t=Nl(jl(e)),n=["absolute","fixed"].indexOf(kl(e).position)>=0&&vl(e)?Dl(e):e;return gl(n)?t.filter((function(e){return gl(e)&&gc(e,n)&&"body"!==Ol(e)})):[]}(e):[].concat(t),o=[].concat(a,[n]),i=o[0],s=o.reduce((function(t,n){var a=bc(e,n,r);return t.top=wl(a.top,t.top),t.right=El(a.right,t.right),t.bottom=El(a.bottom,t.bottom),t.left=wl(a.left,t.left),t}),bc(e,i,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(gl(b)?b:b.contextElement||Tl(e.elements.popper),l,u,i),E=Sl(e.elements.reference),x=cc({reference:E,element:v,strategy:"absolute",placement:a}),M=vc(Object.assign({},v,x)),L=f===$l?M:E,S={top:w.top-L.top+y.top,bottom:L.bottom-w.bottom+y.bottom,left:w.left-L.left+y.left,right:L.right-w.right+y.right},A=e.modifiersData.offset;if(f===$l&&A){var O=A[a];Object.keys(S).forEach((function(e){var t=[Bl,Ul].indexOf(e)>=0?1:-1,n=[Vl,Ul].indexOf(e)>=0?"y":"x";S[e]+=O[n]*t}))}return S}var Mc={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var a=n.mainAxis,o=void 0===a||a,i=n.altAxis,s=void 0===i||i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,C=t.options.placement,y=ic(C),g=l||(y!==C&&h?function(e){if(ic(e)===zl)return[];var t=mc(e);return[yc(e),t,yc(t)]}(C):[mc(C)]),v=[C].concat(g).reduce((function(e,n){return e.concat(ic(n)===zl?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=n.boundary,o=n.rootBoundary,i=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Yl:l,u=sc(r),d=u?s?Jl:Jl.filter((function(e){return sc(e)===u})):Gl,f=d.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=xc(e,{placement:n,boundary:a,rootBoundary:o,padding:i})[ic(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),b=t.rects.reference,w=t.rects.popper,E=new Map,x=!0,M=v[0],L=0;L<v.length;L++){var S=v[L],A=ic(S),O=sc(S)===Wl,T=[Vl,Ul].indexOf(A)>=0,P=T?"width":"height",k=xc(t,{placement:S,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),Z=T?O?Bl:ql:O?Ul:Vl;b[P]>w[P]&&(Z=mc(Z));var H=mc(Z),R=[];if(o&&R.push(k[A]<=0),s&&R.push(k[Z]<=0,k[H]<=0),R.every((function(e){return e}))){M=S,x=!1;break}E.set(S,R)}if(x)for(var j=function(e){var t=v.find((function(t){var n=E.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return M=t,"break"},F=h?3:1;F>0&&"break"!==j(F);F--);t.placement!==M&&(t.modifiersData[r]._skip=!0,t.placement=M,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Lc(e,t,n){return wl(e,El(t,n))}var Sc={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.mainAxis,o=void 0===a||a,i=n.altAxis,s=void 0!==i&&i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,m=void 0===h?0:h,C=xc(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),y=ic(t.placement),g=sc(t.placement),v=!g,b=lc(y),w="x"===b?"y":"x",E=t.modifiersData.popperOffsets,x=t.rects.reference,M=t.rects.popper,L="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,S="number"==typeof L?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(E){if(o){var T,P="y"===b?Vl:ql,k="y"===b?Ul:Bl,Z="y"===b?"height":"width",H=E[b],R=H+C[P],j=H-C[k],F=p?-M[Z]/2:0,N=g===Wl?x[Z]:M[Z],I=g===Wl?-M[Z]:-x[Z],_=t.elements.arrow,D=p&&_?Rl(_):{width:0,height:0},V=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=V[P],B=V[k],q=Lc(0,x[Z],D[Z]),z=v?x[Z]/2-F-q-U-S.mainAxis:N-q-U-S.mainAxis,G=v?-x[Z]/2+F+q+B+S.mainAxis:I+q+B+S.mainAxis,W=t.elements.arrow&&Dl(t.elements.arrow),Q=W?"y"===b?W.clientTop||0:W.clientLeft||0:0,K=null!=(T=null==A?void 0:A[b])?T:0,$=H+G-K,J=Lc(p?El(R,H+z-K-Q):R,H,p?wl(j,$):j);E[b]=J,O[b]=J-H}if(s){var Y,X="x"===b?Vl:ql,ee="x"===b?Ul:Bl,te=E[w],ne="y"===w?"height":"width",re=te+C[X],ae=te-C[ee],oe=-1!==[Vl,ql].indexOf(y),ie=null!=(Y=null==A?void 0:A[w])?Y:0,se=oe?re:te-x[ne]-M[ne]-ie+S.altAxis,le=oe?te+x[ne]+M[ne]-ie-S.altAxis:ae,ce=p&&oe?function(e,t,n){var r=Lc(e,t,n);return r>n?n:r}(se,te,le):Lc(p?se:re,te,p?le:ae);E[w]=ce,O[w]=ce-te}t.modifiersData[r]=O}},requiresIfExists:["offset"]},Ac={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,a=e.options,o=n.elements.arrow,i=n.modifiersData.popperOffsets,s=ic(n.placement),l=lc(s),c=[ql,Bl].indexOf(s)>=0?"height":"width";if(o&&i){var u=function(e,t){return wc("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Ec(e,Gl))}(a.padding,n),d=Rl(o),f="y"===l?Vl:ql,p="y"===l?Ul:Bl,h=n.rects.reference[c]+n.rects.reference[l]-i[l]-n.rects.popper[c],m=i[l]-n.rects.reference[l],C=Dl(o),y=C?"y"===l?C.clientHeight||0:C.clientWidth||0:0,g=h/2-m/2,v=u[f],b=y-d[c]-u[p],w=y/2-d[c]/2+g,E=Lc(v,w,b),x=l;n.modifiersData[r]=((t={})[x]=E,t.centerOffset=E-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&gc(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Oc(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Tc(e){return[Vl,Bl,Ul,ql].some((function(t){return e[t]>=0}))}var Pc=rc({defaultModifiers:[oc,{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=cc({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},fc,{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},a=t.elements[e];vl(a)&&Ol(a)&&(Object.assign(a.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],a=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});vl(r)&&Ol(r)&&(Object.assign(r.style,o),Object.keys(a).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},pc,Mc,Sc,Ac,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=xc(t,{elementContext:"reference"}),s=xc(t,{altBoundary:!0}),l=Oc(i,r),c=Oc(s,a,o),u=Tc(l),d=Tc(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),kc=n(590),Zc=n.n(kc),Hc=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},Rc="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect,jc=[],Fc=function(){return Fc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Fc.apply(this,arguments)},Nc={placement:"bottom-start",modifiers:[{name:"flip",options:{fallbackPlacements:["top-start"]}},{name:"offset",options:{offset:[0,0]}}]};function Ic(t){var n=t.children,a=t.referenceEl,o=t.fullwidth,i=void 0===o||o,s=t.className,l=t.fixed,c=t.popperOptions,u=(0,e.useState)(null),d=u[0],f=u[1],p=function(e,t,n){void 0===n&&(n={});var a=r.useRef(null),o={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||jc},i=r.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=i[0],l=i[1],c=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);Cl.flushSync((function(){l({styles:Hc(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:Hc(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),u=r.useMemo((function(){var e={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[c,{name:"applyStyles",enabled:!1}])};return Zc()(a.current,e)?a.current||e:(a.current=e,e)}),[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,c]),d=r.useRef();return Rc((function(){d.current&&d.current.setOptions(u)}),[u]),Rc((function(){if(null!=e&&null!=t){var r=(n.createPopper||Pc)(e,t,u);return d.current=r,function(){r.destroy(),d.current=null}}}),[e,t,n.createPopper]),{state:d.current?d.current.state:null,styles:s.styles,attributes:s.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}}(a.current,d,Fc(Fc({strategy:l?"fixed":void 0},Nc),c)),h=p.styles,m=p.attributes,C=p.update;return(0,e.createElement)("div",mr({ref:f,className:mn("ntw-z-50",{"ntw-w-full":i},s),style:h.popper},m.popper),(0,e.createElement)(ml,{enter:"ntw-transition ntw-ease-out ntw-duration-100",enterFrom:"-ntw-translate-y-16px ntw-opacity-0",enterTo:"ntw-translate-y-0 ntw-opacity-100",leave:"ntw-transition ntw-ease-in ntw-duration-100",leaveFrom:"ntw-opacity-100 ntw-translate-y-0",leaveTo:"ntw-opacity-0 -ntw-translate-y-16px",beforeEnter:function(){return null==C?void 0:C()}},n))}Ic.Container=function(t){var n=t.children,r=t.className;return(0,e.createElement)("div",{className:mn("ntw-focus:outline-none ntw-overflow-auto ntw-rounded-lg ntw-bg-background-light ntw-text-paragraph-base ntw-text-typography-medium ntw-shadow-default",r)},n)},Ic.Item=function(t){var n=t.children,r=t.className,a=t.active,o=t.selected,i=t.disabled,s=t.variant,l=void 0===s?"default":s,c={default:[{"ntw-text-button-hover":a&&!i,"ntw-hover:text-button-hover":!i}],destructive:["ntw-text-button-destructive",{"ntw-text-button-destructive-hover":a&&!i,"ntw-hover:text-button-destructive-hover":!i}]};return(0,e.createElement)("div",{className:mn("ntw-relative ntw-block ntw-select-none ntw-truncate ntw-px-16px ntw-py-8px",{"ntw-bg-background-selected":o,"ntw-text-typography-disabled":i,"ntw-cursor-pointer":!i},c[l],r)},n)};var _c=Ic;function Dc(){var t=vr(),n=t.brands,r=t.setSelectedBrand,a=t.selectedBrand,o=(0,e.useState)(""),i=o[0],s=o[1],l=!(null==n?void 0:n.length),c=null==n?void 0:n.filter((function(e){return e.name.toLowerCase().includes(i.toLowerCase())}));return(0,e.createElement)(us.Panel,{className:"ntw-pt-16px"},(function(t){var n=t.close;return(0,e.createElement)(_c.Container,{className:"ntw-relative ntw-max-h-[300px] ntw-w-[260px]"},l?(0,e.createElement)(_c.Item,null,"No Brands Available"):(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"ntw-sticky ntw-top-0 ntw-z-[100] ntw-mb-8px ntw-bg-[#FFFFFF] ntw-px-8px ntw-pt-8px"},(0,e.createElement)(u.TextControl,{value:i,onChange:s,name:"brand name",placeholder:"Find a brand"})),(0,e.createElement)("div",{className:"ntw-overflow-y-auto"},null==c?void 0:c.map((function(t){return(0,e.createElement)(_c.Item,{key:t.id,selected:(null==a?void 0:a.id)===t.id},(0,e.createElement)("button",{onClick:function(){mt(t.id),r(t),n()},className:"ntw-block ntw-w-full"},(0,e.createElement)(Ks,{brand:t})))})))))}))}var Vc=function(e){var t=Fa({queryKey:["brandTones",e],queryFn:function(t){var n=t.signal;return yt({brandId:e,signal:n})},staleTime:3e5,enabled:!!e}),n=t.data,r=t.error;return{tones:n||[],isLoading:t.isLoading,isFetching:t.isFetching,error:r}};function Uc(t){var n=t.collapsed,r=vr(),a=r.setBrands,o=r.selectedBrand,i=r.setSelectedBrand,s=r.brands,l=r.setCurrentTones,c=r.tones,u=(0,e.useRef)(null),d=Vc(null==o?void 0:o.id),f=d.tones,p=d.isLoading,h=f.filter((function(e){return"active"===e.status}));return(0,e.useEffect)((function(){vt.getUserBrands().then(a)}),[a]),(0,e.useEffect)((function(){if(!o&&window.notaTools.selected_brand_id){var e=s.find((function(e){return e.id===window.notaTools.selected_brand_id}));i(null!=e?e:null)}}),[s,o,i]),(0,e.useEffect)((function(){JSON.stringify(c.values)!==JSON.stringify(h)&&l({values:h,isLoading:p})}),[c.values,p,l,h]),(0,e.createElement)("div",{className:"ntw-relative ntw-text-sm"},(0,e.createElement)(us,null,(0,e.createElement)(us.Button,{ref:u,className:"ntw-w-full"},(0,e.createElement)("span",{className:mn("ntw-bg-white ntw-flex ntw-w-full ntw-items-center ntw-gap-8px ntw-rounded-lg ntw-p-8px ntw-text-left ntw-shadow",{"ntw-text-typography-medium":!o})},(0,e.createElement)(e.Fragment,null,o?(0,e.createElement)(Ks,{brand:o,className:"ntw-min-w-[1px] ntw-grow",collapsed:n}):(0,e.createElement)(e.Fragment,null,(0,e.createElement)(vs,{size:24,className:"ntw-shrink-0"}),(0,e.createElement)("span",{className:mn("ntw-grow",{hidden:n})},"Select a brand")),(0,e.createElement)(Os,{size:16,className:mn("ntw-shrink-0",{hidden:n})})))),(0,e.createElement)(_c,{referenceEl:u,className:"ntw-w-[260px]",fullwidth:!1,fixed:!0},(0,e.createElement)(Dc,null))))}var Bc=Object.defineProperty,qc=Object.defineProperties,zc=Object.getOwnPropertyDescriptors,Gc=Object.getOwnPropertySymbols,Wc=Object.prototype.hasOwnProperty,Qc=Object.prototype.propertyIsEnumerable,Kc=(e,t,n)=>t in e?Bc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const $c=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168,12A75.9,75.9,0,0,0,92.49,96.33L23.91,189.85a19.89,19.89,0,0,0,2,26l14.29,14.29a19.89,19.89,0,0,0,26,2l93.52-68.58A76,76,0,1,0,168,12Zm52,76a51.66,51.66,0,0,1-7.75,27.27L140.74,43.75A52,52,0,0,1,220,88ZM54.72,210.71l-9.43-9.43,56.19-76.63a76.46,76.46,0,0,0,29.87,29.87ZM116,88a51.63,51.63,0,0,1,7.75-27.27l71.51,71.51A52,52,0,0,1,116,88Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M156.5,151,59,222.45a8,8,0,0,1-10.38-.79l-14.3-14.3A8,8,0,0,1,33.55,197L105,99.5l0,0A64,64,0,0,0,156.48,151Z",opacity:"0.2"}),a().createElement("path",{d:"M168,16A72.07,72.07,0,0,0,96,88a73.29,73.29,0,0,0,.63,9.42L27.12,192.22A15.93,15.93,0,0,0,28.71,213L43,227.29a15.93,15.93,0,0,0,20.78,1.59l94.81-69.53A73.29,73.29,0,0,0,168,160a72,72,0,1,0,0-144Zm56,72a55.72,55.72,0,0,1-11.16,33.52L134.49,43.16A56,56,0,0,1,224,88ZM54.32,216,40,201.68,102.14,117A72.37,72.37,0,0,0,139,153.86ZM112,88a55.67,55.67,0,0,1,11.16-33.51l78.34,78.34A56,56,0,0,1,112,88Zm-2.35,58.34a8,8,0,0,1,0,11.31l-8,8a8,8,0,1,1-11.31-11.31l8-8A8,8,0,0,1,109.67,146.33Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M115.06,46.36a4,4,0,0,0-6.11.54A71.54,71.54,0,0,0,96,88a73.29,73.29,0,0,0,.63,9.42L27.12,192.22A15.93,15.93,0,0,0,28.71,213L43,227.29a15.93,15.93,0,0,0,20.78,1.59l94.81-69.53A73.29,73.29,0,0,0,168,160a71.54,71.54,0,0,0,41.09-12.93,4,4,0,0,0,.54-6.11Zm2.61,103.28-16,16a8,8,0,1,1-11.31-11.31l16-16a8,8,0,0,1,11.31,11.31Zm109.4-20.56a4,4,0,0,1-6.12.54L126.38,35.05a4,4,0,0,1,.54-6.12A71.93,71.93,0,0,1,227.07,129.08Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168,18A69.94,69.94,0,0,0,98.74,98l-70,95.46a13.92,13.92,0,0,0,1.39,18.17l14.3,14.3a13.93,13.93,0,0,0,18.17,1.39l95.46-70A70,70,0,1,0,168,18Zm58,70a57.65,57.65,0,0,1-13,36.52L131.49,43A57.95,57.95,0,0,1,226,88ZM55.5,217.59a2,2,0,0,1-2.6-.2L38.61,203.1a2,2,0,0,1-.2-2.6l64.22-87.56a70.32,70.32,0,0,0,40.44,40.43ZM110,88a57.73,57.73,0,0,1,13-36.52L204.53,133A58,58,0,0,1,110,88Zm-1.75,59.75a6,6,0,0,1,0,8.49l-8,8a6,6,0,1,1-8.49-8.49l8-8A6,6,0,0,1,108.26,147.74Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168,16A72.07,72.07,0,0,0,96,88a73.29,73.29,0,0,0,.63,9.42L27.12,192.22A15.93,15.93,0,0,0,28.71,213L43,227.29a15.93,15.93,0,0,0,20.78,1.59l94.81-69.53A73.29,73.29,0,0,0,168,160a72,72,0,1,0,0-144Zm56,72a55.72,55.72,0,0,1-11.16,33.52L134.49,43.16A56,56,0,0,1,224,88ZM54.32,216,40,201.68,102.14,117A72.37,72.37,0,0,0,139,153.86ZM112,88a55.67,55.67,0,0,1,11.16-33.51l78.34,78.34A56,56,0,0,1,112,88Zm-2.35,58.34a8,8,0,0,1,0,11.31l-8,8a8,8,0,1,1-11.31-11.31l8-8A8,8,0,0,1,109.67,146.33Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168,20a68.08,68.08,0,0,0-68,68,67.19,67.19,0,0,0,.82,10.49L30.34,194.59a11.94,11.94,0,0,0,1.2,15.58l14.29,14.3a11.95,11.95,0,0,0,15.58,1.19l96.11-70.48A68,68,0,1,0,168,20Zm60,68a59.7,59.7,0,0,1-14.87,39.47L128.54,42.87A59.94,59.94,0,0,1,228,88ZM56.68,219.21a4,4,0,0,1-5.2-.4L37.19,204.52a4,4,0,0,1-.4-5.2l66.46-90.62a68.31,68.31,0,0,0,44.05,44.05ZM108,88a59.77,59.77,0,0,1,14.87-39.47l84.6,84.6A60,60,0,0,1,108,88Zm-1.17,61.17a4,4,0,0,1,0,5.65l-8,8a4,4,0,1,1-5.65-5.65l8-8A4,4,0,0,1,106.84,149.16Z"}))]]),Jc=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>qc(e,zc(t)))(((e,t)=>{for(var n in t||(t={}))Wc.call(t,n)&&Kc(e,n,t[n]);if(Gc)for(var n of Gc(t))Qc.call(t,n)&&Kc(e,n,t[n]);return e})({ref:t},e),{weights:$c}))));Jc.displayName="MicrophoneStage";var Yc=Object.defineProperty,Xc=Object.defineProperties,eu=Object.getOwnPropertyDescriptors,tu=Object.getOwnPropertySymbols,nu=Object.prototype.hasOwnProperty,ru=Object.prototype.propertyIsEnumerable,au=(e,t,n)=>t in e?Yc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const ou=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M200.49,183.51a12,12,0,0,1,0,17c-1.13,1.12-28,27.51-72.49,27.51-33.71,0-59.35-17.46-76-33.86V208a12,12,0,0,1-24,0V160a12,12,0,0,1,12-12H88a12,12,0,0,1,0,24H64.12c13.1,14.32,35.08,32,63.88,32,34.63,0,55.31-20.28,55.51-20.49A12,12,0,0,1,200.49,183.51ZM216,36a12,12,0,0,0-12,12V61.86C187.35,45.46,161.71,28,128,28,83.54,28,56.64,54.39,55.51,55.51a12,12,0,0,0,17,17C72.69,72.28,93.37,52,128,52c28.8,0,50.78,17.68,63.88,32H168a12,12,0,0,0,0,24h48a12,12,0,0,0,12-12V48A12,12,0,0,0,216,36Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M216,48V96H168ZM40,208l48-48H40Z",opacity:"0.2"}),a().createElement("path",{d:"M219.06,40.61a8,8,0,0,0-8.72,1.73L194.28,58.41C174.13,41.1,151.36,32,128,32,85.18,32,59.42,57.27,58.34,58.34A8,8,0,0,0,69.66,69.66C69.87,69.44,91.73,48,128,48c23.17,0,41.92,10.85,54.92,21.76L162.34,90.34A8,8,0,0,0,168,104h48a8,8,0,0,0,8-8V48A8,8,0,0,0,219.06,40.61ZM208,88H187.31L208,67.31Zm-21.66,98.34c-.21.22-22.07,21.66-58.34,21.66-23.17,0-41.92-10.85-54.92-21.76l20.58-20.58A8,8,0,0,0,88,152H40a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66l16.06-16.07C81.87,214.9,104.64,224,128,224c42.82,0,68.58-25.27,69.66-26.34a8,8,0,0,0-11.32-11.32ZM48,168H68.69L48,188.69Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M197.66,186.34a8,8,0,0,1,0,11.32C196.58,198.73,170.82,224,128,224c-23.36,0-46.13-9.1-66.28-26.41L45.66,213.66A8,8,0,0,1,32,208V160a8,8,0,0,1,8-8H88a8,8,0,0,1,5.66,13.66L73.08,186.24C86.08,197.15,104.83,208,128,208c36.27,0,58.13-21.44,58.34-21.66A8,8,0,0,1,197.66,186.34Zm21.4-145.73a8,8,0,0,0-8.72,1.73L194.28,58.41C174.13,41.1,151.36,32,128,32,85.18,32,59.42,57.27,58.34,58.34A8,8,0,0,0,69.66,69.66C69.87,69.44,91.73,48,128,48c23.17,0,41.92,10.85,54.92,21.76L162.34,90.34A8,8,0,0,0,168,104h48a8,8,0,0,0,8-8V48A8,8,0,0,0,219.06,40.61Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M196.24,187.76a6,6,0,0,1,0,8.48C195.19,197.29,170,222,128,222c-39.66,0-67.59-25.75-82-43.26V208a6,6,0,0,1-12,0V160a6,6,0,0,1,6-6H88a6,6,0,0,1,0,12H51.35c11.41,15.11,38.23,44,76.65,44,37.09,0,59.54-22,59.76-22.24A6,6,0,0,1,196.24,187.76ZM216,42a6,6,0,0,0-6,6V77.26C195.59,59.75,167.66,34,128,34,86,34,60.81,58.71,59.76,59.76a6,6,0,0,0,8.48,8.48C68.46,68,90.91,46,128,46c38.42,0,65.24,28.89,76.65,44H168a6,6,0,0,0,0,12h48a6,6,0,0,0,6-6V48A6,6,0,0,0,216,42Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M197.67,186.37a8,8,0,0,1,0,11.29C196.58,198.73,170.82,224,128,224c-37.39,0-64.53-22.4-80-39.85V208a8,8,0,0,1-16,0V160a8,8,0,0,1,8-8H88a8,8,0,0,1,0,16H55.44C67.76,183.35,93,208,128,208c36,0,58.14-21.46,58.36-21.68A8,8,0,0,1,197.67,186.37ZM216,40a8,8,0,0,0-8,8V71.85C192.53,54.4,165.39,32,128,32,85.18,32,59.42,57.27,58.34,58.34a8,8,0,0,0,11.3,11.34C69.86,69.46,92,48,128,48c35,0,60.24,24.65,72.56,40H168a8,8,0,0,0,0,16h48a8,8,0,0,0,8-8V48A8,8,0,0,0,216,40Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M194.83,189.18a4,4,0,0,1,0,5.65c-1,1-25.65,25.17-66.83,25.17-23.93,0-47.35-10.05-67.73-29.08a146.39,146.39,0,0,1-16.27-18V208a4,4,0,0,1-8,0V160a4,4,0,0,1,4-4H88a4,4,0,0,1,0,8H47.41c10,14.06,38.39,48,80.59,48,37.75,0,60.95-22.6,61.18-22.83A4,4,0,0,1,194.83,189.18ZM216,44a4,4,0,0,0-4,4V83.07a146.39,146.39,0,0,0-16.27-18C175.35,46.05,151.93,36,128,36,86.82,36,62.2,60.14,61.17,61.17a4,4,0,0,0,5.65,5.66C67.05,66.6,90.25,44,128,44c42.2,0,70.63,33.94,80.59,48H168a4,4,0,0,0,0,8h48a4,4,0,0,0,4-4V48A4,4,0,0,0,216,44Z"}))]]),iu=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>Xc(e,eu(t)))(((e,t)=>{for(var n in t||(t={}))nu.call(t,n)&&au(e,n,t[n]);if(tu)for(var n of tu(t))ru.call(t,n)&&au(e,n,t[n]);return e})({ref:t},e),{weights:ou}))));iu.displayName="ArrowsClockwise";var su=Object.defineProperty,lu=Object.defineProperties,cu=Object.getOwnPropertyDescriptors,uu=Object.getOwnPropertySymbols,du=Object.prototype.hasOwnProperty,fu=Object.prototype.propertyIsEnumerable,pu=(e,t,n)=>t in e?su(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const hu=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),a().createElement("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"}))]]),mu=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>lu(e,cu(t)))(((e,t)=>{for(var n in t||(t={}))du.call(t,n)&&pu(e,n,t[n]);if(uu)for(var n of uu(t))fu.call(t,n)&&pu(e,n,t[n]);return e})({ref:t},e),{weights:hu}))));mu.displayName="CaretLeft";var Cu=Object.defineProperty,yu=Object.defineProperties,gu=Object.getOwnPropertyDescriptors,vu=Object.getOwnPropertySymbols,bu=Object.prototype.hasOwnProperty,wu=Object.prototype.propertyIsEnumerable,Eu=(e,t,n)=>t in e?Cu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const xu=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),a().createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]),Mu=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>yu(e,gu(t)))(((e,t)=>{for(var n in t||(t={}))bu.call(t,n)&&Eu(e,n,t[n]);if(vu)for(var n of vu(t))wu.call(t,n)&&Eu(e,n,t[n]);return e})({ref:t},e),{weights:xu}))));Mu.displayName="CaretRight";var Lu=function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))},Su=function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}};function Au(t){var n,r,a=this,o=t.history,i=t.addHistoryItem,s=t.title,l=vr(),c=l.selectedBrand,u=l.setLoadingState,d=l.tones,f=Ia().config,p=(0,e.useRef)(null),h=null==o?void 0:o.fullHistory[o.historyIndex],m=Zu(s),C=null===(n=d.values)||void 0===n?void 0:n.filter((function(e){var t;return null===(t=e.prompts)||void 0===t?void 0:t[m]})),y=(null===(r=null==h?void 0:h.tone)||void 0===r?void 0:r.id)||"";return(0,e.createElement)(us,{as:e.Fragment},(0,e.createElement)(us.Button,{ref:p,className:"ntw-outline-none"},(0,e.createElement)(Jc,{size:16})),(0,e.createElement)(_c,{fixed:!0,referenceEl:p,fullwidth:!1,popperOptions:{placement:"bottom-end"}},(0,e.createElement)(us.Panel,{className:"ntw-relative"},(function(t){var n=t.close;return(0,e.createElement)(_c.Container,null,C.length>0?C.map((function(t){return(0,e.createElement)(_c.Item,{key:t.id,className:"ntw-p-24px ntw-py-12px hover:ntw-text-button-hover",disabled:t.id===y},(0,e.createElement)("button",{className:mn("ntw-text-left",{"ntw-cursor-not-allowed":t.id===y}),disabled:t.id===y,onClick:function(){var e;e=t.id,Lu(a,void 0,void 0,(function(){var t,n,r,a;return Su(this,(function(o){switch(o.label){case 0:if(!ku(s))return[2];if(t=Tu(s),n=Pu(s),!t||!n)return[2];o.label=1;case 1:return o.trys.push([1,3,4,5]),u(t,!0),[4,Ct({toneId:e,organizationBrandId:(null==c?void 0:c.id)||"",text:(null==h?void 0:h.values)||[],task:n,queue:f.requestsToQueue.adjustTextTone,promptCategory:m})];case 2:return r=o.sent(),i({values:r.adjustedText,tone:d.values.find((function(t){return t.id===e}))}),[3,5];case 3:return a=o.sent(),lt.error("Error adjusting text tone",a),[3,5];case 4:return u(t,!1),[7];case 5:return[2]}}))})),n()}},t.title))})):(0,e.createElement)(_c.Item,{disabled:!0},d.isLoading?"Loading...":"No tones found for this brand"))}))))}var Ou={Summary:{component:"summary",task:"summary"},Headlines:{component:"headlines",task:"headlines"},"Page Title":{component:"metaTitles",task:"meta titles"},"Meta Description":{component:"metaDescriptions",task:"meta descriptions"},Facebook:{component:"socialPostsFacebook",task:"facebook social post"},Instagram:{component:"socialPostsInstagram",task:"instagram social post"},X:{component:"socialPostsTwitter",task:"twitter social post"},LinkedIn:{component:"socialPostsLinkedIn",task:"linkedIn social post"},TikTok:{component:"socialPostsTikTok",task:"tiktok social post"},Threads:{component:"socialPostsThreads",task:"threads social post"}},Tu=function(e){var t;return(null===(t=Ou[e])||void 0===t?void 0:t.component)||null},Pu=function(e){var t;return(null===(t=Ou[e])||void 0===t?void 0:t.task)||null},ku=function(e){return Object.keys(Ou).includes(e)},Zu=function(e){switch(e){case ar.Summary:return"summary";case ar.Headlines:return"headline";case ar.MetaTitle:return"pageTitle";case ar.MetaDescription:return"metaDescription";case ar.Facebook:return"socialPostFacebook";case ar.Instagram:return"socialPostInstagram";case ar.Twitter:return"socialPostTwitter";case ar.Threads:return"socialPostThreads";case ar.LinkedIn:return"socialPostLinkedIn";case ar.TikTok:return"socialPostTiktok";case ar.SMS:return"sms";default:return"general"}};function Hu(t){var n=t.title,r=t.subtitle,a=t.className,o=t.onRefresh,i=t.history,s=t.tone,l=t.addHistoryItem;return(0,e.createElement)("div",{className:a},(0,e.createElement)("div",{className:"ntw-group"},(0,e.createElement)("div",{className:"ntw-group ntw-flex ntw-items-start ntw-justify-between"},(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-8px ntw-flex ntw-items-center ntw-gap-2"},(0,e.createElement)("p",{className:"ntw-text-h-800"},n),!!s&&(0,e.createElement)("div",{className:"ntw-bg-white ntw-mx-2 ntw-flex ntw-items-center ntw-gap-2 ntw-rounded-md ntw-border ntw-border-elements-default ntw-bg-background-mistVeil ntw-px-2 ntw-py-1 ntw-text-paragraph-xs ntw-text-typography-medium"},(0,e.createElement)(Jc,null)," ",s.title)),!!r&&(0,e.createElement)("p",{className:"ntw-text-paragraph-tight"},r)),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-shrink-0 ntw-items-center ntw-space-x-16px ntw-text-typography-disabled ntw-opacity-0 group-hover:ntw-opacity-100"},l&&(0,e.createElement)(Au,{title:n,addHistoryItem:l,history:i}),o&&(0,e.createElement)("button",{className:"hover:ntw-text-button-hover",onClick:o},(0,e.createElement)(iu,{size:16})),!!i&&(0,e.createElement)("div",{className:"ntw-flex ntw-items-center"},(0,e.createElement)("button",{onClick:i.prevHistoryItem,className:mn("ntw-text-typography-disabled",{"hover:ntw-text-button-hover":i.hasPrev}),disabled:!i.hasPrev},(0,e.createElement)(mu,{size:16})),(0,e.createElement)("span",null,i.historyIndex+1," / ",i.totalHistoryItems),(0,e.createElement)("button",{onClick:i.nextHistoryItem,className:mn("ntw-text-typography-disabled",{"hover:ntw-text-button-hover":i.hasNext}),disabled:!i.hasNext},(0,e.createElement)(Mu,{size:16})))))))}function Ru(t){var n=t.onSubmit,r=t.disableAnalyze;return(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-24px ntw-flex ntw-items-center ntw-text-h-900"},(0,e.createElement)("div",{className:"ntw-grow"},"Welcome to Nota"),(0,e.createElement)(Uc,null)),(0,e.createElement)("div",{className:"ntw-flex ntw-items-center ntw-justify-between ntw-rounded-2xl ntw-p-24px ntw-shadow"},(0,e.createElement)(Hu,{title:"Get Started",subtitle:"Analyze this post for Nota AI-driven insights, drawing on best practices to elevate your content across platforms."}),(0,e.createElement)("div",{className:"ntw-flex-shrink-0",id:pr},(0,e.createElement)(Kn,{disabled:r,onClick:n},"Analyze page"))))}function ju({onFocus:e}){let[t,n]=(0,r.useState)(!0);return t?r.createElement(Bi,{as:"button",type:"button",features:Ui.Focusable,onFocus:t=>{t.preventDefault();let r,a=50;r=requestAnimationFrame((function t(){if(!(a--<=0))return e()?(n(!1),void cancelAnimationFrame(r)):void(r=requestAnimationFrame(t));r&&cancelAnimationFrame(r)}))}}):null}const Fu=r.createContext(null);function Nu({children:e}){let t=r.useRef({groups:new Map,get(e,t){var n;let r=this.groups.get(e);r||(r=new Map,this.groups.set(e,r));let a=null!=(n=r.get(t))?n:0;return r.set(t,a+1),[Array.from(r.keys()).indexOf(t),function(){let e=r.get(t);e>1?r.set(t,e-1):r.delete(t)}]}});return r.createElement(Fu.Provider,{value:t},e)}function Iu(e){let t=r.useContext(Fu);if(!t)throw new Error("You must wrap your component in a <StableCollection>");let n=function(){var e,t,n;let a=null!=(n=null==(t=null==(e=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:e.ReactCurrentOwner)?void 0:t.current)?n:null;if(!a)return Symbol();let o=[],i=a;for(;i;)o.push(i.index),i=i.return;return"$."+o.join(".")}(),[a,o]=t.current.get(e,n);return r.useEffect((()=>o),[]),a}var _u=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(_u||{}),Du=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(Du||{}),Vu=(e=>(e[e.SetSelectedIndex=0]="SetSelectedIndex",e[e.RegisterTab=1]="RegisterTab",e[e.UnregisterTab=2]="UnregisterTab",e[e.RegisterPanel=3]="RegisterPanel",e[e.UnregisterPanel=4]="UnregisterPanel",e))(Vu||{});let Uu={0(e,t){var n;let r=Zi(e.tabs,(e=>e.current)),a=Zi(e.panels,(e=>e.current)),o=r.filter((e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))})),i={...e,tabs:r,panels:a};if(t.index<0||t.index>r.length-1){let n=$o(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>$o(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});return 0===o.length?i:{...i,selectedIndex:$o(n,{0:()=>r.indexOf(o[0]),1:()=>r.indexOf(o[o.length-1])})}}let s=r.slice(0,t.index),l=[...r.slice(t.index),...s].find((e=>o.includes(e)));if(!l)return i;let c=null!=(n=r.indexOf(l))?n:e.selectedIndex;return-1===c&&(c=e.selectedIndex),{...i,selectedIndex:c}},1(e,t){var n;if(e.tabs.includes(t.tab))return e;let r=e.tabs[e.selectedIndex],a=Zi([...e.tabs,t.tab],(e=>e.current)),o=null!=(n=a.indexOf(r))?n:e.selectedIndex;return-1===o&&(o=e.selectedIndex),{...e,tabs:a,selectedIndex:o}},2(e,t){return{...e,tabs:e.tabs.filter((e=>e!==t.tab))}},3(e,t){return e.panels.includes(t.panel)?e:{...e,panels:Zi([...e.panels,t.panel],(e=>e.current))}},4(e,t){return{...e,panels:e.panels.filter((e=>e!==t.panel))}}},Bu=(0,r.createContext)(null);function qu(e){let t=(0,r.useContext)(Bu);if(null===t){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,qu),t}return t}Bu.displayName="TabsDataContext";let zu=(0,r.createContext)(null);function Gu(e){let t=(0,r.useContext)(zu);if(null===t){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Gu),t}return t}function Wu(e,t){return $o(t.type,Uu,e,t)}zu.displayName="TabsActionsContext";let Qu=r.Fragment,Ku=Xo.RenderStrategy|Xo.Static,$u=ai((function(e,t){var n,a;let o=yi(),{id:i=`headlessui-tabs-tab-${o}`,...s}=e,{orientation:l,activation:c,selectedIndex:u,tabs:d,panels:f}=qu("Tab"),p=Gu("Tab"),h=qu("Tab"),m=(0,r.useRef)(null),C=hi(m,t);ui((()=>p.registerTab(m)),[p,m]);let y=Iu("tabs"),g=d.indexOf(m);-1===g&&(g=y);let v=g===u,b=fi((e=>{var t;let n=e();if(n===Li.Success&&"auto"===c){let e=null==(t=wi(m))?void 0:t.activeElement,n=h.tabs.findIndex((t=>t.current===e));-1!==n&&p.change(n)}return n})),w=fi((e=>{let t=d.map((e=>e.current)).filter(Boolean);if(e.key===vi.Space||e.key===vi.Enter)return e.preventDefault(),e.stopPropagation(),void p.change(g);switch(e.key){case vi.Home:case vi.PageUp:return e.preventDefault(),e.stopPropagation(),b((()=>Hi(t,Mi.First)));case vi.End:case vi.PageDown:return e.preventDefault(),e.stopPropagation(),b((()=>Hi(t,Mi.Last)))}return b((()=>$o(l,{vertical(){return e.key===vi.ArrowUp?Hi(t,Mi.Previous|Mi.WrapAround):e.key===vi.ArrowDown?Hi(t,Mi.Next|Mi.WrapAround):Li.Error},horizontal(){return e.key===vi.ArrowLeft?Hi(t,Mi.Previous|Mi.WrapAround):e.key===vi.ArrowRight?Hi(t,Mi.Next|Mi.WrapAround):Li.Error}})))===Li.Success?e.preventDefault():void 0})),E=(0,r.useRef)(!1),x=fi((()=>{var e;E.current||(E.current=!0,null==(e=m.current)||e.focus(),p.change(g),Js((()=>{E.current=!1})))})),M=fi((e=>{e.preventDefault()})),L=(0,r.useMemo)((()=>({selected:v})),[v]);return ti({ourProps:{ref:C,onKeyDown:w,onMouseDown:M,onClick:x,id:i,role:"tab",type:_i(e,m),"aria-controls":null==(a=null==(n=f[g])?void 0:n.current)?void 0:a.id,"aria-selected":v,tabIndex:v?0:-1},theirProps:s,slot:L,defaultTag:"button",name:"Tabs.Tab"})})),Ju=ai((function(e,t){let{defaultIndex:n=0,vertical:a=!1,manual:o=!1,onChange:i,selectedIndex:s=null,...l}=e;const c=a?"vertical":"horizontal",u=o?"manual":"auto";let d=null!==s,f=hi(t),[p,h]=(0,r.useReducer)(Wu,{selectedIndex:null!=s?s:n,tabs:[],panels:[]}),m=(0,r.useMemo)((()=>({selectedIndex:p.selectedIndex})),[p.selectedIndex]),C=di(i||(()=>{})),y=di(p.tabs),g=(0,r.useMemo)((()=>({orientation:c,activation:u,...p})),[c,u,p]),v=fi((e=>(h({type:1,tab:e}),()=>h({type:2,tab:e})))),b=fi((e=>(h({type:3,panel:e}),()=>h({type:4,panel:e})))),w=fi((e=>{E.current!==e&&C.current(e),d||h({type:0,index:e})})),E=di(d?e.selectedIndex:p.selectedIndex),x=(0,r.useMemo)((()=>({registerTab:v,registerPanel:b,change:w})),[]);ui((()=>{h({type:0,index:null!=s?s:n})}),[s]),ui((()=>{if(void 0===E.current||p.tabs.length<=0)return;let e=Zi(p.tabs,(e=>e.current));e.some(((e,t)=>p.tabs[t]!==e))&&w(e.indexOf(p.tabs[E.current]))}));let M={ref:f};return r.createElement(Nu,null,r.createElement(zu.Provider,{value:x},r.createElement(Bu.Provider,{value:g},g.tabs.length<=0&&r.createElement(ju,{onFocus:()=>{var e,t;for(let n of y.current)if(0===(null==(e=n.current)?void 0:e.tabIndex))return null==(t=n.current)||t.focus(),!0;return!1}}),ti({ourProps:M,theirProps:l,slot:m,defaultTag:Qu,name:"Tabs"}))))})),Yu=ai((function(e,t){let{orientation:n,selectedIndex:r}=qu("Tab.List");return ti({ourProps:{ref:hi(t),role:"tablist","aria-orientation":n},theirProps:e,slot:{selectedIndex:r},defaultTag:"div",name:"Tabs.List"})})),Xu=ai((function(e,t){let{selectedIndex:n}=qu("Tab.Panels");return ti({ourProps:{ref:hi(t)},theirProps:e,slot:(0,r.useMemo)((()=>({selectedIndex:n})),[n]),defaultTag:"div",name:"Tabs.Panels"})})),ed=ai((function(e,t){var n,a,o,i;let s=yi(),{id:l=`headlessui-tabs-panel-${s}`,tabIndex:c=0,...u}=e,{selectedIndex:d,tabs:f,panels:p}=qu("Tab.Panel"),h=Gu("Tab.Panel"),m=(0,r.useRef)(null),C=hi(m,t);ui((()=>h.registerPanel(m)),[h,m]);let y=Iu("panels"),g=p.indexOf(m);-1===g&&(g=y);let v=g===d,b=(0,r.useMemo)((()=>({selected:v})),[v]),w={ref:C,id:l,role:"tabpanel","aria-labelledby":null==(a=null==(n=f[g])?void 0:n.current)?void 0:a.id,tabIndex:v?c:-1};return v||null!=(o=u.unmount)&&!o||null!=(i=u.static)&&i?ti({ourProps:w,theirProps:u,slot:b,defaultTag:"div",features:Ku,visible:v,name:"Tabs.Panel"}):r.createElement(Bi,{as:"span",...w})})),td=Object.assign($u,{Group:Ju,List:Yu,Panels:Xu,Panel:ed});var nd=Object.defineProperty,rd=Object.defineProperties,ad=Object.getOwnPropertyDescriptors,od=Object.getOwnPropertySymbols,id=Object.prototype.hasOwnProperty,sd=Object.prototype.propertyIsEnumerable,ld=(e,t,n)=>t in e?nd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const cd=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M144,180a16,16,0,1,1-16-16A16,16,0,0,1,144,180Zm92-52A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128ZM128,64c-24.26,0-44,17.94-44,40v4a12,12,0,0,0,24,0v-4c0-8.82,9-16,20-16s20,7.18,20,16-9,16-20,16a12,12,0,0,0-12,12v8a12,12,0,0,0,23.73,2.56C158.31,137.88,172,122.37,172,104,172,81.94,152.26,64,128,64Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),a().createElement("path",{d:"M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,168a12,12,0,1,1,12-12A12,12,0,0,1,128,192Zm8-48.72V144a8,8,0,0,1-16,0v-8a8,8,0,0,1,8-8c13.23,0,24-9,24-20s-10.77-20-24-20-24,9-24,20v4a8,8,0,0,1-16,0v-4c0-19.85,17.94-36,40-36s40,16.15,40,36C168,125.38,154.24,139.93,136,143.28Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M138,180a10,10,0,1,1-10-10A10,10,0,0,1,138,180ZM128,74c-21,0-38,15.25-38,34v4a6,6,0,0,0,12,0v-4c0-12.13,11.66-22,26-22s26,9.87,26,22-11.66,22-26,22a6,6,0,0,0-6,6v8a6,6,0,0,0,12,0v-2.42c18.11-2.58,32-16.66,32-33.58C166,89.25,149,74,128,74Zm102,54A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M136,180a8,8,0,1,1-8-8A8,8,0,0,1,136,180ZM128,76c-19.85,0-36,14.36-36,32v4a4,4,0,0,0,8,0v-4c0-13.23,12.56-24,28-24s28,10.77,28,24-12.56,24-28,24a4,4,0,0,0-4,4v8a4,4,0,0,0,8,0v-4.2c18-1.77,32-15.36,32-31.8C164,90.36,147.85,76,128,76Zm100,52A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),ud=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>rd(e,ad(t)))(((e,t)=>{for(var n in t||(t={}))id.call(t,n)&&ld(e,n,t[n]);if(od)for(var n of od(t))sd.call(t,n)&&ld(e,n,t[n]);return e})({ref:t},e),{weights:cd}))));ud.displayName="Question";var dd="Unknown error occurred.",fd=function(e){var t;if(null===e||"object"!=typeof e||!("data"in e)||null===e.data||"object"!=typeof e.data||!("data"in e.data))return dd;var n=(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.data)||[];if(!Array.isArray(n))return null;var r=n.find((function(e){return"object"==typeof e&&"code"in e&&"nota_error"===e.code&&"message"in e&&"string"==typeof e.message}));return(null==r?void 0:r.message)||dd};function pd(t){var n=t.isLoading,r=t.error,a=t.retry,o=t.children;return(0,e.createElement)("div",null,n?"Loading...":(0,e.createElement)("div",null,r?(0,e.createElement)(Ba,{level:"error"},(0,e.createElement)("div",{className:"ntw-flex ntw-justify-between ntw-gap-16px"},(0,e.createElement)("div",null,fd(r)),!!a&&(0,e.createElement)("button",{onClick:a,className:"ntw-font-bold ntw-uppercase ntw-tracking-wider"},"Retry"))):o))}var hd=Object.defineProperty,md=Object.defineProperties,Cd=Object.getOwnPropertyDescriptors,yd=Object.getOwnPropertySymbols,gd=Object.prototype.hasOwnProperty,vd=Object.prototype.propertyIsEnumerable,bd=(e,t,n)=>t in e?hd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const wd=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M244,56v64a12,12,0,0,1-24,0V85l-75.51,75.52a12,12,0,0,1-17,0L96,129,32.49,192.49a12,12,0,0,1-17-17l72-72a12,12,0,0,1,17,0L136,135l67-67H168a12,12,0,0,1,0-24h64A12,12,0,0,1,244,56Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M232,56v64L168,56Z",opacity:"0.2"}),a().createElement("path",{d:"M232,48H168a8,8,0,0,0-5.66,13.66L188.69,88,136,140.69l-34.34-34.35a8,8,0,0,0-11.32,0l-72,72a8,8,0,0,0,11.32,11.32L96,123.31l34.34,34.35a8,8,0,0,0,11.32,0L200,99.31l26.34,26.35A8,8,0,0,0,240,120V56A8,8,0,0,0,232,48Zm-8,52.69L187.31,64H224Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M240,56v64a8,8,0,0,1-13.66,5.66L200,99.31l-58.34,58.35a8,8,0,0,1-11.32,0L96,123.31,29.66,189.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0L136,140.69,188.69,88,162.34,61.66A8,8,0,0,1,168,48h64A8,8,0,0,1,240,56Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M238,56v64a6,6,0,0,1-12,0V70.48l-85.76,85.76a6,6,0,0,1-8.48,0L96,120.49,28.24,188.24a6,6,0,0,1-8.48-8.48l72-72a6,6,0,0,1,8.48,0L136,143.51,217.52,62H168a6,6,0,0,1,0-12h64A6,6,0,0,1,238,56Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M240,56v64a8,8,0,0,1-16,0V75.31l-82.34,82.35a8,8,0,0,1-11.32,0L96,123.31,29.66,189.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0L136,140.69,212.69,64H168a8,8,0,0,1,0-16h64A8,8,0,0,1,240,56Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M236,56v64a4,4,0,0,1-8,0V65.66l-89.17,89.17a4,4,0,0,1-5.66,0L96,117.66,26.83,186.83a4,4,0,0,1-5.66-5.66l72-72a4,4,0,0,1,5.66,0L136,146.34,222.34,60H168a4,4,0,0,1,0-8h64A4,4,0,0,1,236,56Z"}))]]),Ed=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>md(e,Cd(t)))(((e,t)=>{for(var n in t||(t={}))gd.call(t,n)&&bd(e,n,t[n]);if(yd)for(var n of yd(t))vd.call(t,n)&&bd(e,n,t[n]);return e})({ref:t},e),{weights:wd}))));function xd(t){var n=t.keyword,r=t.position,a=t.total,o=t.isTrending;return(0,e.createElement)("div",{className:"ntw-flex ntw-w-fit ntw-items-center ntw-rounded-full ntw-bg-status-supernova-600 ntw-p-4px ntw-text-[#030B1B]",style:{backgroundColor:"number"==typeof a&&"number"==typeof r?"rgba(198, 139, 255, ".concat(1-1/a*r,")"):void 0}},(0,e.createElement)("span",{className:"ntw-line-clamp-1 ntw-px-8px",title:n},n),o&&(0,e.createElement)("span",{className:"ntw-rounded-full ntw-bg-background-light ntw-p-4px ntw-text-button-default"},(0,e.createElement)(u.Tooltip,{text:"Trending this month",placement:"top"},(0,e.createElement)(Ed,{size:16}))))}Ed.displayName="TrendUp";var Md,Ld=(Md={key:function(e){var t=e.keyword;return[No.RelatedKeywords,t]},handler:vt.getRelatedKeywords},function(e){var t,n=function(e,t){return"function"==typeof e?[e(t)]:t?[e,t]:[e]}(Md.key,e),r=Fa({enabled:null===(t=Md.enabled)||void 0===t?void 0:t.call(Md,e),refetchInterval:Md.refetchInterval,queryKey:n,queryFn:function(t){var n=t.signal;return Md.handler(e,{signal:n})},staleTime:Md.staleTimeMs}),a=r.data,o=r.isError,i=r.isSuccess,s=r.isFetching;return{data:a,isLoading:r.isLoading,isFetching:s,isError:o,isSuccess:i,error:r.error,isInitialLoading:r.isInitialLoading,refetch:r.refetch}}),Sd=Zn.useSelect;function Ad(t){var n=t.keyword,r=Sd((function(e){return e("core/editor").getEditedPostContent()}),[]),a=Ia(),o=Ld({keyword:n,postHTML:r,queue:a.config.requestsToQueue.relatedKeywords}),i=(0,e.useMemo)((function(){var e;if(null===(e=o.data)||void 0===e?void 0:e.relatedKeywords.length)return o.data.relatedKeywords.find((function(e){return e.keyword===n.toLowerCase()}))}),[n,o.data]),s=(0,e.useMemo)((function(){var e;return null===(e=o.data)||void 0===e?void 0:e.relatedKeywords.filter((function(e){return"low"!==e.contentRelevancy}))}),[null==o?void 0:o.data]);return o.isLoading||(null==s?void 0:s.length)?(0,e.createElement)("div",{className:"ntw-flex ntw-flex-col ntw-gap-12px ntw-rounded ntw-border ntw-border-elements-default ntw-p-16px"},(0,e.createElement)(Od,{className:"ntw-pr-8px"},(0,e.createElement)(xd,{keyword:n,isTrending:null==i?void 0:i.trend.isTrending}),!!i&&(0,e.createElement)(Td,{trend:i.trend})),(0,e.createElement)("hr",{className:"ntw-col-span-2 ntw-border-t ntw-border-elements-default"}),(0,e.createElement)(Od,{className:"ntw-px-8px ntw-text-paragraph-xs-regular ntw-text-typography-medium"},(0,e.createElement)("div",null,"Trending keywords"),(0,e.createElement)("div",null,"Trend")),(0,e.createElement)(pd,{isLoading:o.isLoading,error:o.error},(0,e.createElement)("div",{className:"ntw-flex ntw-flex-col ntw-gap-4px ntw-text-paragraph-sm"},null==s?void 0:s.map((function(t){return(0,e.createElement)(Od,{className:mn("ntw-rounded-sm ntw-p-8px",{"ntw-bg-status-success-200":t.keyword===(null==i?void 0:i.keyword)}),key:t.keyword},(0,e.createElement)("div",{className:"ntw-flex ntw-items-center ntw-gap-8px"},"low"===t.contentRelevancy?(0,e.createElement)(u.Tooltip,{text:"We've detected a low relevancy score for this keyword, it may not be relevant to the article.",placement:"top"},(0,e.createElement)("span",{className:"ntw-text-typography-medium-light"},t.keyword)):(0,e.createElement)("span",null,t.keyword),t.trend.isTrending&&(0,e.createElement)(u.Tooltip,{text:"Trending this month",placement:"top"},(0,e.createElement)("span",{className:"ntw-text-button-default"},(0,e.createElement)(Ed,{size:16})))),(0,e.createElement)(Td,{trend:t.trend}))}))))):null}function Od(t){var n=t.children,r=t.className;return(0,e.createElement)("div",{className:mn("ntw-grid ntw-grid-cols-[1fr_auto] ntw-items-center ntw-gap-16px ntw-border-elements-default",r)},n)}function Td(t){var n=t.trend;return void 0===n?null:(0,e.createElement)("div",{className:"ntw-text-paragraph-xs ntw-text-typography-medium"},n.display)}var Pd=5;function kd(t){var n=t.title,r=t.subtitle,a=t.isLoading,o=t.error,i=t.history,s=t.onRefresh,l=t.keywords,c=t.divId,d=null==l?void 0:l.slice(0,Pd);return(0,e.createElement)("div",{id:c},(0,e.createElement)(Hu,{title:n,subtitle:r,className:"ntw-mb-24px",onRefresh:s,history:i}),(0,e.createElement)(pd,{isLoading:a,error:o,retry:s},(0,e.createElement)("div",null,!!(null==l?void 0:l.length)&&(0,e.createElement)("div",{className:"ntw-space-y-24px"},!!(null==l?void 0:l.length)&&(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"In order of relevance"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-16px"},l.map((function(t,n){return(0,e.createElement)(xd,{key:t,keyword:t,position:n,total:l.length})})))),!!(null==d?void 0:d.length)&&(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Keyword Insights",(0,e.createElement)(u.Tooltip,{text:"Discover related keywords and trending insights on your top five keywords."},(0,e.createElement)(ud,{size:16,className:"ntw-ml-8px ntw-inline"}))),(0,e.createElement)("div",{className:"ntw-grid ntw-grid-cols-auto-fit-250px ntw-gap-24px"},d.map((function(t){return(0,e.createElement)(Ad,{key:t,keyword:t})}))))))))}var Zd=Object.defineProperty,Hd=Object.defineProperties,Rd=Object.getOwnPropertyDescriptors,jd=Object.getOwnPropertySymbols,Fd=Object.prototype.hasOwnProperty,Nd=Object.prototype.propertyIsEnumerable,Id=(e,t,n)=>t in e?Zd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const _d=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M112,60a16,16,0,1,1,16,16A16,16,0,0,1,112,60Zm16,52a16,16,0,1,0,16,16A16,16,0,0,0,128,112Zm0,68a16,16,0,1,0,16,16A16,16,0,0,0,128,180Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M208,32V224a16,16,0,0,1-16,16H64a16,16,0,0,1-16-16V32A16,16,0,0,1,64,16H192A16,16,0,0,1,208,32Z",opacity:"0.2"}),a().createElement("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM128,72a12,12,0,1,0-12-12A12,12,0,0,0,128,72Zm0,112a12,12,0,1,0,12,12A12,12,0,0,0,128,184Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M192,16H64A16,16,0,0,0,48,32V224a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V32A16,16,0,0,0,192,16ZM128,208a12,12,0,1,1,12-12A12,12,0,0,1,128,208Zm0-68a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm0-68a12,12,0,1,1,12-12A12,12,0,0,1,128,72Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M118,60a10,10,0,1,1,10,10A10,10,0,0,1,118,60Zm10,58a10,10,0,1,0,10,10A10,10,0,0,0,128,118Zm0,68a10,10,0,1,0,10,10A10,10,0,0,0,128,186Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM128,72a12,12,0,1,0-12-12A12,12,0,0,0,128,72Zm0,112a12,12,0,1,0,12,12A12,12,0,0,0,128,184Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M120,60a8,8,0,1,1,8,8A8,8,0,0,1,120,60Zm8,60a8,8,0,1,0,8,8A8,8,0,0,0,128,120Zm0,68a8,8,0,1,0,8,8A8,8,0,0,0,128,188Z"}))]]),Dd=(0,r.forwardRef)(((e,t)=>a().createElement(Pt,((e,t)=>Hd(e,Rd(t)))(((e,t)=>{for(var n in t||(t={}))Fd.call(t,n)&&Id(e,n,t[n]);if(jd)for(var n of jd(t))Nd.call(t,n)&&Id(e,n,t[n]);return e})({ref:t},e),{weights:_d}))));Dd.displayName="DotsThreeVertical";var Vd=window.wp.date;function Ud(t){var n=t.className;return(0,e.createElement)("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("path",{d:"M3.8752 6.89839C3.94291 6.89839 4.01843 6.90881 4.10176 6.92964C4.1851 6.95048 4.26843 6.97912 4.35176 7.01558C4.4351 7.05204 4.51843 7.08589 4.60176 7.11714C4.6851 7.14839 4.76062 7.17964 4.82833 7.21089L4.70333 7.22652C4.66166 7.23173 4.61739 7.23433 4.57051 7.23433C4.48197 7.23433 4.40124 7.22131 4.32833 7.19527C4.25541 7.16923 4.1877 7.13537 4.1252 7.09371C4.0627 7.05204 4.0002 7.02079 3.9377 6.99996C3.8752 6.97912 3.81791 6.9635 3.76583 6.95308C3.71374 6.95308 3.66687 6.9635 3.6252 6.98433C3.58353 7.00516 3.54187 7.0286 3.5002 7.05464C3.5002 7.03381 3.48197 7.02339 3.44551 7.02339C3.48197 6.98694 3.54968 6.95829 3.64864 6.93746C3.7476 6.91662 3.82312 6.9036 3.8752 6.89839ZM4.92989 7.24996C5.14343 7.24996 5.33874 7.28641 5.51583 7.35933C5.44291 7.38537 5.36999 7.40621 5.29708 7.42183C5.22416 7.43746 5.14864 7.44787 5.07051 7.45308C4.96635 7.45308 4.8726 7.44266 4.78926 7.42183C4.8153 7.38016 4.84135 7.35412 4.86739 7.34371C4.89343 7.33329 4.91426 7.30204 4.92989 7.24996ZM8.0002 -4.38201e-05C8.73458 -4.38201e-05 9.4403 0.0963104 10.1174 0.289019C10.7945 0.481727 11.4299 0.749956 12.0236 1.09371C12.6174 1.43746 13.1591 1.85673 13.6486 2.35152C14.1382 2.84631 14.5549 3.38537 14.8986 3.96871C15.2424 4.55204 15.5132 5.18746 15.7111 5.87496C15.9091 6.56246 16.0054 7.27079 16.0002 7.99996C16.0002 8.73433 15.9038 9.44006 15.7111 10.1171C15.5184 10.7942 15.2502 11.4296 14.9065 12.0234C14.5627 12.6171 14.1434 13.1588 13.6486 13.6484C13.1538 14.138 12.6148 14.5546 12.0315 14.8984C11.4481 15.2421 10.8127 15.513 10.1252 15.7109C9.4377 15.9088 8.72937 16.0052 8.0002 16C7.26583 16 6.5601 15.9036 5.88301 15.7109C5.20593 15.5182 4.57051 15.25 3.97676 14.9062C3.38301 14.5625 2.84135 14.1432 2.35176 13.6484C1.86218 13.1536 1.44551 12.6145 1.10176 12.0312C0.758013 11.4479 0.48718 10.8125 0.289263 10.125C0.0913462 9.43746 -0.00500801 8.72912 0.000200321 7.99996C0.000200321 7.26558 0.0965545 6.55985 0.289263 5.88277C0.481971 5.20569 0.7502 4.57027 1.09395 3.97652C1.4377 3.38277 1.85697 2.8411 2.35176 2.35152C2.84655 1.86194 3.38562 1.44527 3.96895 1.10152C4.55228 0.757769 5.1877 0.486935 5.8752 0.289019C6.5627 0.091102 7.27103 -0.00525215 8.0002 -4.38201e-05ZM13.9533 4.33589C13.8804 4.22131 13.8075 4.11194 13.7346 4.00777C13.6617 3.9036 13.5861 3.79683 13.508 3.68746C13.4976 3.73433 13.4846 3.76819 13.469 3.78902C13.4533 3.80985 13.4429 3.85673 13.4377 3.92964C13.4377 3.97652 13.4559 4.02079 13.4924 4.06246C13.5288 4.10412 13.5757 4.14579 13.633 4.18746C13.6903 4.22912 13.7476 4.26037 13.8049 4.28121C13.8622 4.30204 13.9117 4.32027 13.9533 4.33589ZM13.4143 3.57027C13.4143 3.61194 13.4065 3.64058 13.3908 3.65621H13.4377C13.4585 3.65621 13.4742 3.65881 13.4846 3.66402L13.4143 3.57027ZM8.0002 15C8.59395 15 9.17468 14.9244 9.74239 14.7734C10.3101 14.6224 10.8466 14.4088 11.3518 14.1328C11.857 13.8567 12.3257 13.5182 12.758 13.1171C13.1903 12.7161 13.5679 12.2682 13.8908 11.7734C13.8231 11.6171 13.758 11.4583 13.6955 11.2968C13.633 11.1354 13.6018 10.9687 13.6018 10.7968C13.6018 10.6093 13.6096 10.4583 13.6252 10.3437C13.6408 10.2291 13.6591 10.1276 13.6799 10.039C13.7007 9.95048 13.7111 9.87496 13.7111 9.81246C13.7111 9.74996 13.7033 9.66923 13.6877 9.57027C13.6721 9.47131 13.6278 9.36454 13.5549 9.24996C13.482 9.13537 13.3856 8.97391 13.2658 8.76558C13.271 8.72912 13.2788 8.67964 13.2893 8.61714C13.2997 8.55464 13.3101 8.48954 13.3205 8.42183C13.3309 8.35412 13.3335 8.29162 13.3283 8.23433C13.3231 8.17704 13.3101 8.12756 13.2893 8.08589C13.1538 8.07027 13.0132 8.04162 12.8674 7.99996C12.7216 7.95829 12.5913 7.89579 12.4768 7.81246L12.5236 7.77339C12.4559 7.78902 12.3882 7.80985 12.3205 7.83589C12.2528 7.86194 12.1877 7.89058 12.1252 7.92183C12.0627 7.95308 11.995 7.97391 11.9221 7.98433C11.8492 7.99475 11.7788 8.00516 11.7111 8.01558L11.5861 7.99996L11.6096 7.94527C11.5367 7.9661 11.4585 7.99214 11.3752 8.02339C11.2919 8.05464 11.2111 8.07027 11.133 8.07027C11.0809 8.07027 11.0054 8.05204 10.9065 8.01558C10.8075 7.97912 10.7085 7.93485 10.6096 7.88277C10.5106 7.83069 10.4221 7.77339 10.344 7.71089C10.2658 7.64839 10.2268 7.5885 10.2268 7.53121L10.2424 7.50777C10.2163 7.47652 10.1825 7.44787 10.1408 7.42183C10.0992 7.39579 10.0601 7.36975 10.0236 7.34371C9.98718 7.31766 9.95333 7.28902 9.92208 7.25777C9.89083 7.22652 9.8778 7.19006 9.88301 7.14839L9.96895 7.07808L9.78926 7.05464L9.72676 6.82027C9.73718 6.84631 9.76062 6.85673 9.79708 6.85152C9.83353 6.84631 9.86218 6.83589 9.88301 6.82027L9.60176 6.67183L9.79708 6.17183C9.72416 5.901 9.70593 5.69266 9.74239 5.54683C9.77885 5.401 9.84916 5.28121 9.95333 5.18746C10.0575 5.09371 10.1721 4.99996 10.2971 4.90621C10.4221 4.81246 10.5497 4.68485 10.6799 4.52339L10.6565 4.42964L11.1721 3.80464L11.2893 3.78902C11.4351 3.78902 11.5992 3.78381 11.7815 3.77339C11.9637 3.76298 12.1486 3.74475 12.3361 3.71871C12.5236 3.69266 12.7085 3.66662 12.8908 3.64058C13.0731 3.61454 13.2398 3.58069 13.3908 3.53902C13.2242 3.3411 13.0497 3.1536 12.8674 2.97652C12.6851 2.79944 12.4898 2.63016 12.2815 2.46871C12.2242 2.48954 12.1538 2.51819 12.0705 2.55464C11.9872 2.5911 11.9038 2.63798 11.8205 2.69527C11.7372 2.75256 11.6721 2.81506 11.6252 2.88277C11.5783 2.95048 11.5497 3.02079 11.5393 3.09371L11.5861 3.24214C11.4924 3.39319 11.3882 3.48694 11.2736 3.52339C11.1591 3.55985 11.0419 3.58069 10.9221 3.58589C10.8023 3.5911 10.6773 3.5911 10.5471 3.58589C10.4169 3.58069 10.2919 3.60412 10.1721 3.65621L10.0471 3.39058L10.1643 2.93746L10.0315 2.74214L11.383 2.32027C11.3257 2.17444 11.232 2.06506 11.1018 1.99214C10.9716 1.91923 10.8283 1.88277 10.6721 1.88277V1.80464L11.1096 1.73433C10.6252 1.49475 10.1226 1.31246 9.60176 1.18746C9.08093 1.06246 8.54708 0.999956 8.0002 0.999956C7.54708 0.999956 7.09916 1.04423 6.65645 1.13277C6.21374 1.22131 5.78666 1.34891 5.3752 1.51558C4.96374 1.68225 4.5653 1.89058 4.17989 2.14058C3.79447 2.39058 3.44291 2.67183 3.1252 2.98433C3.26062 2.98433 3.36478 3.01819 3.4377 3.08589C3.51062 3.1536 3.57833 3.22912 3.64083 3.31246C3.70333 3.39579 3.76843 3.47131 3.83614 3.53902C3.90385 3.60673 3.99499 3.64319 4.10958 3.64839L4.23458 3.55464L4.21895 3.38277L4.47676 3.01558L4.27364 2.43746C4.29968 2.42183 4.33874 2.39579 4.39083 2.35933C4.44291 2.32287 4.48718 2.30464 4.52364 2.30464C4.67989 2.30464 4.79968 2.31246 4.88301 2.32808C4.96635 2.34371 5.03926 2.37235 5.10176 2.41402C5.16426 2.45569 5.21895 2.51558 5.26583 2.59371C5.3127 2.67183 5.38562 2.77079 5.48458 2.89058L5.76583 2.67183C5.81791 2.69266 5.90124 2.72652 6.01583 2.77339C6.13041 2.82027 6.2476 2.87756 6.36739 2.94527C6.48718 3.01298 6.58874 3.08329 6.67208 3.15621C6.75541 3.22912 6.79968 3.29683 6.80489 3.35933C6.80489 3.43746 6.77624 3.49996 6.71895 3.54683C6.66166 3.59371 6.58614 3.63277 6.49239 3.66402C6.39864 3.69527 6.30228 3.71871 6.20333 3.73433C6.10437 3.74996 6.00541 3.77079 5.90645 3.79683C5.80749 3.82287 5.73197 3.84891 5.67989 3.87496C5.6278 3.901 5.59655 3.94527 5.58614 4.00777L6.03926 4.15621C5.9351 4.24475 5.82312 4.32548 5.70333 4.39839C5.58353 4.47131 5.45853 4.53902 5.32833 4.60152L5.35958 4.73433L4.64083 5.01558V5.23433L4.58614 5.25777L4.6252 4.98433L4.59395 4.97652C4.55749 4.97652 4.53666 4.98433 4.53145 4.99996C4.52624 5.01558 4.52364 5.03381 4.52364 5.05464C4.52364 5.07548 4.52885 5.09631 4.53926 5.11714C4.54968 5.13798 4.55228 5.1536 4.54708 5.16402L4.44551 5.10933L4.46114 5.14058C4.46114 5.15621 4.46895 5.17964 4.48458 5.21089C4.5002 5.24214 4.52103 5.27079 4.54708 5.29683C4.57312 5.32287 4.59395 5.34891 4.60958 5.37496C4.6252 5.401 4.63562 5.41402 4.64083 5.41402C4.64083 5.42964 4.63041 5.44527 4.60958 5.46089C4.58874 5.47652 4.5627 5.48694 4.53145 5.49214C4.5002 5.49735 4.47937 5.50516 4.46895 5.51558C4.45853 5.526 4.45853 5.5286 4.46895 5.52339C4.54187 5.52339 4.55749 5.5286 4.51583 5.53902C4.47416 5.54944 4.40905 5.57548 4.32051 5.61714C4.23197 5.65881 4.15124 5.71871 4.07833 5.79683C4.00541 5.87496 3.96374 5.98954 3.95333 6.14058C3.95333 6.22912 3.95593 6.31506 3.96114 6.39839C3.96635 6.48173 3.96374 6.56766 3.95333 6.65621C3.88041 6.45829 3.77103 6.30725 3.6252 6.20308C3.47937 6.09891 3.30228 6.04683 3.09395 6.04683L2.75801 6.07808L2.92208 6.18746C2.83353 6.17704 2.74239 6.16662 2.64864 6.15621C2.55489 6.14579 2.45853 6.14319 2.35958 6.14839C2.26062 6.1536 2.17208 6.17444 2.09395 6.21089C2.01583 6.24735 1.9377 6.30204 1.85958 6.37496L1.8127 6.72652C1.8127 6.89319 1.84916 7.0286 1.92208 7.13277C1.99499 7.23694 2.1226 7.29162 2.30489 7.29683C2.46114 7.29683 2.61478 7.27339 2.76583 7.22652C2.91687 7.17964 3.0653 7.12496 3.21114 7.06246C3.16426 7.17704 3.11218 7.28641 3.05489 7.39058C2.9976 7.49475 2.95593 7.60933 2.92989 7.73433L3.03145 7.78121C3.15645 7.69787 3.27103 7.68485 3.3752 7.74214C3.47937 7.79944 3.58093 7.88277 3.67989 7.99214C3.77885 8.10152 3.88041 8.2135 3.98458 8.32808C4.08874 8.44266 4.20072 8.526 4.32051 8.57808L4.05489 8.71871L3.42989 8.36714C3.4351 8.37756 3.4403 8.401 3.44551 8.43746C3.45072 8.47391 3.44812 8.48173 3.4377 8.46089L3.15645 7.98433C2.98978 7.97912 2.8127 7.95308 2.6252 7.90621C2.4377 7.85933 2.2476 7.79683 2.05489 7.71871C1.86218 7.64058 1.68249 7.55464 1.51583 7.46089C1.34916 7.36714 1.19551 7.26819 1.05489 7.16402L1.0002 7.99996C1.0002 8.63537 1.08614 9.25516 1.25801 9.85933C1.42989 10.4635 1.67208 11.0312 1.98458 11.5625C2.29708 12.0937 2.67989 12.5781 3.13301 13.0156C3.58614 13.4531 4.08874 13.8255 4.64083 14.1328C4.61478 14.0234 4.61218 13.914 4.63301 13.8046C4.65385 13.6953 4.67989 13.5859 4.71114 13.4765C4.74239 13.3671 4.77624 13.2578 4.8127 13.1484C4.84916 13.039 4.86739 12.927 4.86739 12.8125C4.86739 12.6458 4.84135 12.4713 4.78926 12.289C4.73718 12.1067 4.67468 11.9218 4.60176 11.7343C4.52885 11.5468 4.44812 11.3619 4.35958 11.1796C4.27103 10.9974 4.20072 10.8255 4.14864 10.664C4.09655 10.5026 4.05489 10.3515 4.02364 10.2109C3.99239 10.0703 4.00801 9.94787 4.07051 9.84371L3.95333 9.78902C3.98458 9.7161 4.02624 9.64579 4.07833 9.57808C4.13041 9.51037 4.1851 9.44266 4.24239 9.37496C4.29968 9.30725 4.34395 9.23433 4.3752 9.15621C4.40645 9.07808 4.42468 8.99996 4.42989 8.92183C4.42989 8.86975 4.41947 8.81506 4.39864 8.75777C4.3778 8.70048 4.35958 8.64579 4.34395 8.59371L4.50801 8.63277C4.59655 8.42964 4.71635 8.29162 4.86739 8.21871C5.01843 8.14579 5.20853 8.10673 5.4377 8.10152C5.46374 8.10152 5.51843 8.11194 5.60176 8.13277C5.6851 8.1536 5.77364 8.18225 5.86739 8.21871C5.96114 8.25516 6.04968 8.28381 6.13301 8.30464C6.21635 8.32548 6.27885 8.34631 6.32051 8.36714C6.32051 8.4036 6.34135 8.42704 6.38301 8.43746C6.42468 8.44787 6.44812 8.4661 6.45333 8.49214L6.4377 8.55464C6.45333 8.55985 6.48978 8.57808 6.54708 8.60933C6.60437 8.64058 6.66687 8.67964 6.73458 8.72652C6.80228 8.77339 6.86218 8.81506 6.91426 8.85152C6.96635 8.88798 7.0028 8.91662 7.02364 8.93746C7.11739 8.93746 7.24499 8.96871 7.40645 9.03121C7.56791 9.09371 7.74499 9.17183 7.9377 9.26558C8.13041 9.35933 8.32051 9.47131 8.50801 9.60152C8.69551 9.73173 8.8726 9.86194 9.03926 9.99214C9.20593 10.1224 9.33353 10.2526 9.42208 10.3828C9.51062 10.513 9.5627 10.6276 9.57833 10.7265L9.3127 11.0078C9.33353 11.2734 9.3153 11.4765 9.25801 11.6171C9.20072 11.7578 9.11218 11.875 8.99239 11.9687C8.8726 12.0625 8.73458 12.1406 8.57833 12.2031C8.42208 12.2656 8.2528 12.3541 8.07051 12.4687C8.07051 12.5729 8.04447 12.6849 7.99239 12.8046C7.9403 12.9244 7.8752 13.039 7.79708 13.1484C7.71895 13.2578 7.6252 13.3489 7.51583 13.4218C7.40645 13.4947 7.29708 13.5312 7.1877 13.5312L6.85958 13.2812C6.86999 13.2916 6.86999 13.3099 6.85958 13.3359C6.84916 13.3619 6.83614 13.3671 6.82051 13.3515C6.8726 13.4505 6.88562 13.5651 6.85958 13.6953C6.83353 13.8255 6.78926 13.9583 6.72676 14.0937C6.66426 14.2291 6.59395 14.3567 6.51583 14.4765C6.4377 14.5963 6.36739 14.6979 6.30489 14.7812C6.58614 14.8541 6.86739 14.9088 7.14864 14.9453C7.42989 14.9817 7.71374 15 8.0002 15Z",fill:"#88B0FF"}))}var Bd=Zn.useSelect;function qd(){var t=Uo({taxonomy:"post_tag",wpService:Wo}).existingTerms,n=Ma(),r=n.metaDescription,a=n.metaTitleFormatted,o=Bd((function(e){var t=e("core"),n=e("core/editor");return{permalinks:n.getPermalinkParts(),postTitle:n.getEditedPostAttribute("title"),postDate:n.getEditedPostAttribute("date"),site:t.getSite()}})),i=o.site,s=o.permalinks,l=o.postTitle,c=o.postDate,u=(null==s?void 0:s.prefix.replace(/https?\:\/\//,"").split("/").filter((function(e){return!!e})))||[];return(0,e.createElement)("div",{className:"ntw-grid ntw-grid-cols-2 ntw-gap-64px"},(0,e.createElement)("div",{className:"ntw-font-google"},(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Google preview:"),(0,e.createElement)("div",{className:"ntw-mb-16px ntw-flex ntw-items-start"},(0,e.createElement)("div",{className:"ntw-mr-8px ntw-flex-shrink-0 ntw-rounded-full ntw-bg-[#F1F3F4] ntw-p-8px"},(0,e.createElement)(Ud,{className:"ntw-w-16px"})),(0,e.createElement)("div",{className:"ntw-flex-1 ntw-text-paragraph-tight"},(0,e.createElement)("div",{className:"ntw-mb-8px"},null==i?void 0:i.title),(0,e.createElement)("div",{className:"ntw-flex ntw-items-center ntw-text-typography-medium"},(0,e.createElement)("span",{className:"ntw-line-clamp-1 ntw-flex-1"},u.join(" > ")," > ",null==s?void 0:s.postName),(0,e.createElement)(Dd,{size:12,weight:"bold"})))),(0,e.createElement)("div",{className:"ntw-mb-8px ntw-line-clamp-2 ntw-text-paragraph-tight ntw-text-[#1A0DAB]"},a),(0,e.createElement)("div",{className:"ntw-font-normal ntw-text-typography-medium"},!!(null==i?void 0:i.date_format)&&(0,e.createElement)("span",null,Vd.format(i.date_format,c)," — "),r)),(0,e.createElement)("div",{className:"ntw-space-y-24px"},(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Headline:"),(0,e.createElement)("div",{className:"ntw-text-paragraph-medium"},l)),(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Tags:"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-8px"},t.map((function(t){return(0,e.createElement)("span",{key:t.id,className:"ntw-rounded-full ntw-bg-gravity-600 ntw-px-8px ntw-py-4px ntw-text-paragraph-xs"},t.name)}))))))}function zd(t){var n=t.tag,r=t.tags,a=t.onClick,o=t.className,i=(0,e.useMemo)((function(){var e=r.indexOf(n);return"rgba(136, 176, 255, ".concat(1-1/r.length*e,")")}),[n,r]);return(0,e.createElement)("button",{className:mn("ntw-appearance-none ntw-rounded-full ntw-px-16px ntw-py-8px ntw-text-typography-dark hover:ntw-ring-1 hover:ntw-ring-button-hover",o),style:{backgroundColor:i},onClick:a,disabled:!a},n)}var Gd=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))};function Wd(t){var n=t.title,r=t.subtitle,a=t.isLoading,o=t.error,i=t.history,s=t.onChange,l=t.onRefresh,c=t.tags,u=t.selectedTags,d=(0,e.useMemo)((function(){var e=[];try{e=(null==c?void 0:c.filter((function(e){return!(null==u?void 0:u.includes(e))})))||[]}catch(e){lt.error("Error filtering suggested tags",e)}return e}),[u,c]);return(0,e.createElement)("div",null,(0,e.createElement)(Hu,{title:n,subtitle:r,className:"ntw-mb-24px",onRefresh:l,history:i}),(0,e.createElement)(pd,{isLoading:a,error:o,retry:l},!!(null==c?void 0:c.length)&&(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-24px"},!!d.length&&d.length>0&&(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Recommended tags:"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-16px"},d.map((function(t){return(0,e.createElement)(zd,{key:t,tag:t,tags:c||[],onClick:function(){if(!(null==u?void 0:u.includes(t))){var e=Gd(Gd([],u||[],!0),[t],!1);null==s||s({values:e})}}})})))),!!(null==u?void 0:u.length)&&(0,e.createElement)("div",{className:"ntw-mt-24px"},(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Selected tags:"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-16px"},(u||[]).map((function(t){return(0,e.createElement)(zd,{key:t,tag:t,tags:c||[],onClick:function(){var e=(u||[]).filter((function(e){return e!==t}));null==s||s({values:e})}})}))))))))}var Qd=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},Kd="post_tag";function $d(t){var n,r=t.title,a=t.subtitle,o=t.isLoading,i=t.error,s=t.history,l=t.onRefresh,c=t.tags,u=(0,e.useState)([]),d=u[0],f=u[1],p=Uo({taxonomy:Kd,wpService:Wo}),h=p.addTag,m=p.removeTag,C=p.existingTerms,y=p.errorWhileAddingTag,g=C.map((function(e){return e.name}));try{n=null==c?void 0:c.filter((function(e){return!g.includes(e)&&!d.includes(e)}))}catch(e){lt.error("Error filtering suggested tags: ".concat(c),e)}var v=C.filter((function(e){var t=e.name;return null==c?void 0:c.some((function(e){return e===t}))})),b=(0,e.useMemo)((function(){return d.filter((function(e){return g.includes(e)}))}),[g,d]),w=(0,e.useMemo)((function(){return d.filter((function(e){return!b.includes(e)}))}),[d,b]);return(0,e.useEffect)((function(){b.length&&f((function(e){return e.filter((function(e){return!b.includes(e)}))}))}),[b]),(0,e.createElement)("div",null,(0,e.createElement)(Hu,{title:r,subtitle:a,className:"ntw-mb-24px",onRefresh:l,history:s}),(0,e.createElement)(pd,{isLoading:o,error:i,retry:l},(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-24px"},(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Generated tags:"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-16px"},(null==n?void 0:n.length)?null==n?void 0:n.map((function(t){return(0,e.createElement)(zd,{key:t,tag:t,tags:c||[],onClick:function(){return function(e){d.includes(e)||(f((function(t){return Qd(Qd([],t,!0),[e],!1)})),h(e))}(t)}})})):null)),(!!(null==v?void 0:v.length)||!!w.length)&&(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Selected tags:"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-16px"},(null==v?void 0:v.length)?null==v?void 0:v.map((function(t){return(0,e.createElement)(zd,{key:t.id,tag:t.name,tags:c||[],onClick:function(){return m(t.id)}})})):null,w.map((function(t){return(0,e.createElement)(zd,{key:"pending-".concat(t),tag:t,tags:c||[],className:"ntw-cursor-wait"})})))))),y&&(0,e.createElement)(Ba,{level:"error",className:"ntw-mt-2"},(0,e.createElement)("div",{className:"ntw-flex ntw-justify-between ntw-gap-16px"},(0,e.createElement)("div",null,y))))}var Jd=function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))},Yd=function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}};function Xd(t){var n=this,r=t.value,a=t.onChange,o=t.onSelect,i=t.selected,s=t.onRevert,l=t.showCharacterCount,c=void 0===l||l,u=t.title,d=t.afterText,f=t.getCopyText,p=(0,e.useRef)(null),h=(0,e.useState)(!1),m=h[0],C=h[1],y=(0,e.useMemo)((function(){return(null==f?void 0:f(r))||r}),[r,f]);(0,e.useEffect)((function(){if(p.current){p.current.style.height="0px";var e=p.current.scrollHeight;p.current.style.height=e+"px"}}),[p,r]);var g=Ea().postId,v=function(e){return Jd(n,void 0,void 0,(function(){var t,n;return Yd(this,(function(a){return t=u in lr?lr[u]:u,ut({content:(n={},n[t]=r,n),event:e,field:t,postId:g}),[2]}))}))};return(0,e.createElement)("div",null,(0,e.createElement)("div",{className:mn("ntw-group ntw-flex ntw-items-center ntw-justify-between ntw-rounded-lg ntw-border ntw-border-gray-100 ntw-p-16px",{"ntw-bg-gravity-200":i})},(0,e.createElement)("div",{className:"ntw-flex-1"},(0,e.createElement)("textarea",{ref:p,value:r,onChange:function(e){return a(e.target.value)},rows:1,style:{minHeight:"1.5rem"},className:"ntw-w-full ntw-resize-none ntw-border-none ntw-bg-transparent ntw-text-paragraph-base ntw-shadow-none ntw-outline-none",disabled:i}),d),(0,e.createElement)("div",{className:mn("ntw-ml-16px",{"ntw-opacity-0 group-hover:ntw-opacity-100":!i})},!(!i||!s)&&(0,e.createElement)(Kn,{onClick:function(){v("revert"),s()},size:300},"Revert"),!i&&o&&(0,e.createElement)(Kn,{onClick:function(){v("select"),o()},variant:"secondary",size:300},"Select"),!o&&(0,e.createElement)(Kn,{onClick:function(){return Jd(n,void 0,void 0,(function(){var e,t;return Yd(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,navigator.clipboard.writeText(y)];case 1:return n.sent(),C(!0),setTimeout((function(){C(!1)}),1e3),vt.saveEvents({event:"copy",field:"".concat(rr.Social,":").concat(u.toLocaleLowerCase().replaceAll(" ","_")),content:(t={},t[rr.Social]=r,t),postId:g}),[3,3];case 2:return e=n.sent(),lt.error(e),[3,3];case 3:return[2]}}))}))},variant:"secondary",size:300},m?"Copied!":"Copy"))),!!c&&(0,e.createElement)("div",{className:"ntw-pt-4px ntw-text-right ntw-text-xs ntw-text-typography-medium"},y.length," characters"))}var ef=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))};function tf(t){var n=t.options,r=t.updateOptions,a=t.onSelect,o=t.onRefresh,i=t.title,s=t.subtitle,l=t.isLoading,c=t.error,u=t.disabled,d=t.disabledMessage,f=t.history,p=t.currentValue,h=t.onRevert,m=t.divId,C=t.notice,y=t.afterText,g=t.getCopyText,v=t.tone,b=t.addHistoryItem,w=!l&&!(null==n?void 0:n.length);return(0,e.createElement)("div",{id:m},(0,e.createElement)(Hu,{title:i,subtitle:s,className:"ntw-mb-24px",onRefresh:o,history:f,tone:v,addHistoryItem:b}),!!C&&(0,e.createElement)(Ba,{level:"info",className:"ntw-my-4"},C),u?(0,e.createElement)("div",null,d||"Currently unavailable."):(0,e.createElement)(pd,{isLoading:l,error:c,retry:o},(0,e.createElement)("div",{className:"ntw-space-y-16px"},w?(0,e.createElement)(Ba,{level:"info"},(0,e.createElement)("div",{className:"ntw-flex ntw-justify-between ntw-gap-16px"},(0,e.createElement)("div",null,"No results"),(0,e.createElement)("button",{onClick:o,className:"ntw-font-bold ntw-uppercase ntw-tracking-wider"},"Retry"))):null==n?void 0:n.map((function(t,o){return(0,e.createElement)("div",{key:o},(0,e.createElement)(Xd,{title:i,value:t,onChange:function(e){if(n){var t=ef([],n,!0);t[o]=e,r({values:t})}},onSelect:a?function(){return a(t)}:void 0,selected:p===t,onRevert:h,afterText:y,getCopyText:g}))})))))}function nf(t){var n=t.children,r=t.hidden,a=t.buttonId;return r?null:(0,e.createElement)(td,{as:e.Fragment},(function(t){var r=t.selected;return(0,e.createElement)("button",{className:mn("relative ntw-text-paragraph-large",{"ntw-text-button-default":r,"ntw-text-typography-disabled hover:ntw-text-button-hover":!r},a)},n,(0,e.createElement)("span",{className:mn("ntw-absolute -ntw-bottom-2px ntw-block ntw-h-2px ntw-w-full ntw-bg-button-default",{"ntw-opacity-0":!r})}))}))}function rf(t){var n=t.children;return t.hidden?null:(0,e.createElement)(td.Panel,null,n)}function af(t){var n,r,a,o,i,s,l,c,u,d,f,p,h,m,C,y,g,v,b,w,_x,E,x,M,L,S,A,O,T,P,k,Z=t.seoData,H=t.components,R=t.postHTML,j=t.authorizedTools,F=t.enabledTools,N=t.onTabChange,I=t.onReanalyze,_=t.isLoading,D=Ea(),V=D.editPostTitle,U=D.editPostExcerpt,B=D.editPostSlug,q=D.isPublished,z=D.postTitle,G=D.postExcerpt,W=D.postSlug,Q=D.revertTitle,K=D.revertExcerpt,$=D.revertSlug,J=Ma(),Y=J.editMetaDescription,X=J.editMetaTitle,ee=J.metaTitle,te=J.metaDescription,ne=J.revertMetaDescription,re=J.revertMetaTitle,ae=vr().loadingStates,oe=["SUM","SOCIAL"].some((function(e){return j.indexOf(e)>-1})),ie=(0,e.useMemo)((function(){var e,t,n;try{return(null===(n=null===(t=null===(e=Z.selectedHashtags)||void 0===e?void 0:e.data)||void 0===t?void 0:t.values)||void 0===n?void 0:n.join(" "))||""}catch(e){return lt.error("Error processing selected hashtags",Z.selectedHashtags),""}}),[Z.selectedHashtags]),se=(0,e.useMemo)((function(){return(0,e.createElement)("div",null,ie)}),[ie]),le=function(e){return[e,ie].join(" ")};return(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-24px ntw-flex ntw-items-center ntw-justify-between"},(0,e.createElement)("div",{className:"ntw-text-h-900"},"Welcome to Nota"),(0,e.createElement)("div",{className:"ntw-flex ntw-items-center ntw-gap-2"},(0,e.createElement)(Uc,null),(0,e.createElement)("div",{className:"ntw-flex-shrink-0",id:pr},(0,e.createElement)(Kn,{className:"ntw-h-[38px]",disabled:_,variant:"secondary",size:300,onClick:I},(0,e.createElement)("div",{className:"ntw-flex ntw-items-center"},_&&(0,e.createElement)(Jn,{className:"ntw-mr-2"}),"Reanalyze page"))))),(0,e.createElement)("div",{className:"ntw-rounded-2xl ntw-p-24px ntw-shadow"},!oe&&(0,e.createElement)("div",{className:"ntw-text-center"},"It appears your account does not have access to Nota tools. Please contact support for assistance."),oe&&!F.length&&(0,e.createElement)("div",{className:"ntw-text-center"},"Please enable at least one tab in the"," ",(0,e.createElement)("a",{className:"ntw-text-button-default",href:"/wp-admin/options-general.php?page=nota-settings"},"Nota plugin settings"),"."),(0,e.createElement)(td.Group,{onChange:function(e){var t=F[e];N(t)}},(0,e.createElement)(td.List,{className:"ntw-mb-32px ntw-space-x-24px"},(0,e.createElement)(nf,{hidden:!F.includes("content"),buttonId:"meta-tab-content"},"Content"),(0,e.createElement)(nf,{hidden:!F.includes("seo"),buttonId:"meta-tab-seo"},"SEO"),(0,e.createElement)(nf,{hidden:!F.includes("social")},"Social")),(0,e.createElement)(td.Panels,null,(0,e.createElement)(rf,{hidden:!F.includes("content")},(0,e.createElement)("div",{className:"ntw-space-y-32px"},(0,e.createElement)(tf,{divId:"nota-headline",title:ar.Headlines,subtitle:"Select a headline to use on the page",isLoading:Z.headlines.isLoading||ae.headlines,error:Z.headlines.error,options:null===(n=Z.headlines.data)||void 0===n?void 0:n.values,onSelect:V,updateOptions:Z.headlines.update,onRefresh:function(){return Z.headlines.refresh({postHTML:R})},history:Z.headlines.history,currentValue:z,onRevert:Q,tone:null===(r=Z.headlines.data)||void 0===r?void 0:r.tone,addHistoryItem:Z.headlines.addHistoryItem}),(0,e.createElement)(tf,{title:ar.Excerpt,subtitle:"Select an excerpt to use on the page",isLoading:Z.excerpt.isLoading,error:Z.excerpt.error,options:null===(a=Z.excerpt.data)||void 0===a?void 0:a.values,onSelect:U,updateOptions:Z.excerpt.update,onRefresh:function(){return Z.excerpt.refresh({postHTML:R})},history:Z.excerpt.history,currentValue:G,onRevert:K,tone:null===(o=Z.excerpt.data)||void 0===o?void 0:o.tone}),(0,e.createElement)(tf,{title:ar.Summary,subtitle:"Summary for the post",isLoading:Z.summary.isLoading||ae.summary,error:Z.summary.error,options:null===(i=Z.summary.data)||void 0===i?void 0:i.values,updateOptions:Z.summary.update,onRefresh:function(){return Z.summary.refresh({postHTML:R})},history:Z.summary.history,tone:null===(s=Z.summary.data)||void 0===s?void 0:s.tone,addHistoryItem:Z.summary.addHistoryItem}),H.tags&&(0,e.createElement)($d,{subtitle:"Select the tags you want to use on this page",title:ar.Tags,history:Z.tags.history,isLoading:Z.tags.isLoading,error:Z.tags.error,tags:null===(l=Z.tags.data)||void 0===l?void 0:l.values,onRefresh:function(){return Z.tags.refresh({postHTML:R})}}),H.quotes&&(0,e.createElement)(tf,{title:ar.Quotes,subtitle:"",isLoading:Z.quotes.isLoading,error:Z.quotes.error,options:null===(c=Z.quotes.data)||void 0===c?void 0:c.values,updateOptions:Z.quotes.update,onRefresh:function(){return Z.quotes.refresh({postHTML:R})},history:Z.quotes.history,tone:null===(u=Z.quotes.data)||void 0===u?void 0:u.tone}))),(0,e.createElement)(rf,{hidden:!F.includes("seo")},(0,e.createElement)("div",{className:"ntw-space-y-32px"},(0,e.createElement)(tf,{divId:"nota-meta-title",title:ar.MetaTitle,subtitle:"Select a page title to use in your page",isLoading:Z.metaTitles.isLoading||ae.metaTitles,error:Z.metaTitles.error,options:null===(d=Z.metaTitles.data)||void 0===d?void 0:d.values,onSelect:X,updateOptions:Z.metaTitles.update,onRefresh:function(){return Z.metaTitles.refresh({postHTML:R})},history:Z.metaTitles.history,disabled:!H.metaTitles,disabledMessage:"Enabled Yoast to get meta title recommendations.",currentValue:ee,onRevert:re,tone:null===(f=Z.metaTitles.data)||void 0===f?void 0:f.tone,addHistoryItem:Z.metaTitles.addHistoryItem}),(0,e.createElement)(tf,{divId:"nota-slug",title:ar.Slugs,subtitle:"Select a slug to use on the page",isLoading:Z.slugs.isLoading,error:Z.slugs.error,options:null===(p=Z.slugs.data)||void 0===p?void 0:p.values,onSelect:q?void 0:B,updateOptions:Z.slugs.update,onRefresh:function(){return Z.slugs.refresh({postHTML:R})},history:Z.slugs.history,currentValue:W,onRevert:q?void 0:$,notice:q?"Updating the slug on a published post has been disabled for SEO purposes. However, you can still view, copy, and generate suggestions.":void 0,tone:null===(h=Z.slugs.data)||void 0===h?void 0:h.tone}),(0,e.createElement)(tf,{divId:"nota-meta-description",title:ar.MetaDescription,subtitle:"Select a meta description to use in your page",isLoading:Z.metaDescriptions.isLoading||ae.metaDescriptions,error:Z.metaDescriptions.error,options:null===(m=Z.metaDescriptions.data)||void 0===m?void 0:m.values,onSelect:Y,updateOptions:Z.metaDescriptions.update,onRefresh:function(){return Z.metaDescriptions.refresh({postHTML:R})},history:Z.metaDescriptions.history,disabled:!H.metaDescriptions,disabledMessage:"Enabled Yoast to get meta description recommendations.",currentValue:te,onRevert:ne,tone:null===(C=Z.metaDescriptions.data)||void 0===C?void 0:C.tone,addHistoryItem:Z.metaDescriptions.addHistoryItem}),(0,e.createElement)(kd,{title:ar.Keywords,history:Z.keywordSynonyms.history,isLoading:Z.keywordSynonyms.isLoading,error:Z.keywordSynonyms.error,keywords:Object.keys(Z.keywordSynonyms.data||{}),onRefresh:function(){return Z.keywordSynonyms.refresh({postHTML:R})}}))),(0,e.createElement)(rf,{hidden:!F.includes("social")},(0,e.createElement)("div",{className:"ntw-space-y-32px"},H.socialPostsFacebook&&(0,e.createElement)(tf,{title:ar.Facebook,subtitle:"Recommended Facebook post",isLoading:Z.socialPostsFacebook.isLoading||ae.socialPostsFacebook,error:Z.socialPostsFacebook.error,options:null===(y=Z.socialPostsFacebook.data)||void 0===y?void 0:y.values,updateOptions:Z.socialPostsFacebook.update,onRefresh:function(){return Z.socialPostsFacebook.refresh({postHTML:R})},history:Z.socialPostsFacebook.history,afterText:se,getCopyText:le,tone:null===(g=Z.socialPostsFacebook.data)||void 0===g?void 0:g.tone,addHistoryItem:Z.socialPostsFacebook.addHistoryItem}),H.socialPostsInstagram&&(0,e.createElement)(tf,{title:ar.Instagram,subtitle:"Recommended Instagram post",isLoading:Z.socialPostsInstagram.isLoading||ae.socialPostsInstagram,error:Z.socialPostsInstagram.error,options:null===(v=Z.socialPostsInstagram.data)||void 0===v?void 0:v.values,updateOptions:Z.socialPostsInstagram.update,onRefresh:function(){return Z.socialPostsInstagram.refresh({postHTML:R})},history:Z.socialPostsInstagram.history,afterText:se,getCopyText:le,tone:null===(b=Z.socialPostsInstagram.data)||void 0===b?void 0:b.tone,addHistoryItem:Z.socialPostsInstagram.addHistoryItem}),H.socialPostsTwitter&&(0,e.createElement)(tf,{title:ar.Twitter,subtitle:"Recommended X post",isLoading:Z.socialPostsTwitter.isLoading||ae.socialPostsTwitter,error:Z.socialPostsTwitter.error,options:null===(w=Z.socialPostsTwitter.data)||void 0===w?void 0:w.values,updateOptions:Z.socialPostsTwitter.update,onRefresh:function(){return Z.socialPostsTwitter.refresh({postHTML:R})},history:Z.socialPostsTwitter.history,afterText:se,getCopyText:le,tone:null===(_x=Z.socialPostsTwitter.data)||void 0===_x?void 0:_x.tone,addHistoryItem:Z.socialPostsTwitter.addHistoryItem}),H.socialPostsThreads&&(0,e.createElement)(tf,{title:ar.Threads,subtitle:"Recommended Threads post",isLoading:Z.socialPostsThreads.isLoading||ae.socialPostsThreads,error:Z.socialPostsThreads.error,options:null===(E=Z.socialPostsThreads.data)||void 0===E?void 0:E.values,updateOptions:Z.socialPostsThreads.update,onRefresh:function(){return Z.socialPostsThreads.refresh({postHTML:R})},history:Z.socialPostsThreads.history,afterText:se,getCopyText:le,tone:null===(x=Z.socialPostsThreads.data)||void 0===x?void 0:x.tone,addHistoryItem:Z.socialPostsThreads.addHistoryItem}),H.socialPostsLinkedIn&&(0,e.createElement)(tf,{title:ar.LinkedIn,subtitle:"Recommended LinkedIn post",isLoading:Z.socialPostsLinkedIn.isLoading||ae.socialPostsLinkedIn,error:Z.socialPostsLinkedIn.error,options:null===(M=Z.socialPostsLinkedIn.data)||void 0===M?void 0:M.values,updateOptions:Z.socialPostsLinkedIn.update,onRefresh:function(){return Z.socialPostsLinkedIn.refresh({postHTML:R})},history:Z.socialPostsLinkedIn.history,afterText:se,getCopyText:le,tone:null===(L=Z.socialPostsLinkedIn.data)||void 0===L?void 0:L.tone,addHistoryItem:Z.socialPostsLinkedIn.addHistoryItem}),H.socialPostsTikTok&&(0,e.createElement)(tf,{title:ar.TikTok,subtitle:"Recommended TikTok post",isLoading:Z.socialPostsTikTok.isLoading||ae.socialPostsTikTok,error:Z.socialPostsTikTok.error,options:null===(S=Z.socialPostsTikTok.data)||void 0===S?void 0:S.values,updateOptions:Z.socialPostsTikTok.update,onRefresh:function(){return Z.socialPostsTikTok.refresh({postHTML:R})},history:Z.socialPostsTikTok.history,afterText:se,getCopyText:le,tone:null===(A=Z.socialPostsTikTok.data)||void 0===A?void 0:A.tone,addHistoryItem:Z.socialPostsTikTok.addHistoryItem}),H.sms&&(0,e.createElement)(tf,{title:ar.SMS,subtitle:"Recommended SMS message",isLoading:Z.sms.isLoading,error:Z.sms.error,options:null===(O=Z.sms.data)||void 0===O?void 0:O.values,updateOptions:Z.sms.update,onRefresh:function(){return Z.sms.refresh({postHTML:R})},history:Z.sms.history,tone:null===(T=Z.sms.data)||void 0===T?void 0:T.tone}),H.hashtags&&(0,e.createElement)(Wd,{title:"Hashtags",subtitle:"Select the hashtags you would like to include in your posts",history:Z.hashtags.history,isLoading:Z.hashtags.isLoading,error:Z.hashtags.error,tags:null===(P=Z.hashtags.data)||void 0===P?void 0:P.values,selectedTags:null===(k=Z.selectedHashtags.data)||void 0===k?void 0:k.values,onChange:Z.selectedHashtags.update,onRefresh:function(){return Z.hashtags.refresh({postHTML:R})}})))))),(0,e.createElement)("div",{className:"ntw-mt-24px ntw-rounded-2xl ntw-p-24px ntw-shadow"},(0,e.createElement)(Hu,{title:"Preview",subtitle:"See below a preview of your page settings",className:"ntw-mb-32px"}),(0,e.createElement)(qd,null)))}var of,sf=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))};!function(e){e[e.Initial=0]="Initial",e[e.Results=1]="Results"}(of||(of={}));var lf=Zn.useSelect,cf={excerpt:!0,hashtags:window.notaTools.components.hashtags,headlines:!0,slugs:!0,metaDescriptions:window.notaTools.components.meta_description,metaTitles:window.notaTools.components.meta_title,quotes:window.notaTools.components.quotes,socialPostsFacebook:window.notaTools.components.social_posts_facebook,socialPostsInstagram:window.notaTools.components.social_posts_instagram,socialPostsLinkedIn:window.notaTools.components.social_posts_linkedin,socialPostsThreads:window.notaTools.components.social_posts_threads,socialPostsTikTok:window.notaTools.components.social_posts_tiktok,socialPostsTwitter:window.notaTools.components.social_posts_twitter,tags:window.notaTools.components.tags,sms:window.notaTools.components.sms,keywordSynonyms:window.notaTools.components.keywordSynonyms,summary:!0},uf={content:{enabled:window.notaTools.tab_sum_enabled,components:["excerpt","headlines","tags","keywordSynonyms","quotes","summary"]},seo:{enabled:window.notaTools.tab_seo_enabled,components:["metaDescriptions","slugs","metaTitles"]},social:{enabled:window.notaTools.tab_social_enabled,components:["socialPostsFacebook","socialPostsInstagram","socialPostsLinkedIn","socialPostsThreads","socialPostsTikTok","socialPostsTwitter","sms","hashtags"]}},df=function(){var t=wt(),n=t.authorizedTools,r=t.isLoading,a=t.isError,o=vr().analyzePageLoading,i=(0,e.useState)(!1),s=i[0],l=i[1],c=Ia(),u=c.config,d=c.isLoading,f=(0,e.useState)(of.Initial),p=f[0],h=f[1],m=lf((function(e){return e("core/editor").getEditedPostContent()}),[]),C=Aa({notaService:vt,components:cf,requestsToQueue:u.requestsToQueue}),y=(0,e.useState)([]),g=y[0],v=y[1],b=(0,e.useState)("content"),w=b[0],E=b[1],x=(0,e.useMemo)((function(){var e=Object.keys(uf).filter((function(e){switch(e){case"content":case"seo":return n.includes("SUM");case"social":return n.includes("SOCIAL")}return!1}));if(e.length)switch(e[0]){case"sum":E("content");break;case"social":E("social")}return e}),[n]),M=Object.keys(cf).some((function(e){var t,n;return null===(n=null===(t=C[e].data)||void 0===t?void 0:t.values)||void 0===n?void 0:n.length})),L=(0,Zn.useDispatch)("core/interface").enableComplementaryArea,S=(0,e.useCallback)((function(){L("core/edit-post","nota-plugin-sidebar/grade")}),[L]),A=window.notaTools.trigger_proof_enabled;(function(t){var n=Ia().config,r=(0,e.useRef)(null),a=(0,e.useRef)(""),o=vr(),i=o.postMetaData,s=o.setPostMetaData,l=Ea(),c=l.postTitle,u=l.postExcerpt,d=l.postSlug,f=l.postId,p=Ma(),h=p.metaTitle,m=p.metaDescription,C=Aa({notaService:vt,components:t,requestsToQueue:n.requestsToQueue}),y=C.excerpt,g=C.headlines,v=C.metaDescriptions,b=C.metaTitles,w=C.slugs,E=C.tags,x=Uo({taxonomy:"post_tag",wpService:Wo}).existingTerms.map((function(e){return e.name})),M=Qo((function(e){return{isSaving:(0,e("core/editor").isSavingPost)()}}),[]).isSaving;(0,e.useEffect)((function(){if(M){if(0===Object.keys(i).length)return;vt.savePostMetadata({postId:f,metadata:i}).catch(lt.error)}}),[M,f,i]),(0,e.useEffect)((function(){var e,t=Ko(c,g.history.fullHistory.map((function(e){return e.values})).flat()),n=Ko(h,b.history.fullHistory.map((function(e){return e.values})).flat()),r=Ko(d,w.history.fullHistory.map((function(e){return e.values})).flat()),o=Ko(m,v.history.fullHistory.map((function(e){return e.values})).flat()),i=Ko(u,y.history.fullHistory.map((function(e){return e.values})).flat()),l=Ko(x,E.history.fullHistory.map((function(e){return e.values})).flat()),f=(e=[],t&&e.push(rr.Headline),i&&e.push(rr.Excerpt),n&&e.push(rr.MetaTitle),o&&e.push(rr.MetaDescription),r&&e.push(rr.Slug),l&&e.push(rr.Tags),e.join(","));f!==a.current&&(s({nota_published_elements:f}),a.current=f)}),[y.history.fullHistory,g.history.fullHistory,m,v.history.fullHistory,h,b.history.fullHistory,u,d,x,c,s,w.history.fullHistory,E.history.fullHistory]),(0,e.useEffect)((function(){if(M){var e={};Ko(c,g.history.fullHistory.map((function(e){return e.values})).flat())&&(e[rr.Headline]=c),Ko(h,b.history.fullHistory.map((function(e){return e.values})).flat())&&(e[rr.MetaTitle]=h),Ko(d,w.history.fullHistory.map((function(e){return e.values})).flat())&&(e[rr.Slug]=d),Ko(m,v.history.fullHistory.map((function(e){return e.values})).flat())&&(e[rr.MetaDescription]=m),Ko(u,y.history.fullHistory.map((function(e){return e.values})).flat())&&(e[rr.Excerpt]=u),Ko(x,E.history.fullHistory.map((function(e){return e.values})).flat())&&(e[rr.Tags]=x.join(",")),t=e,(!(n=r.current)||Object.keys(t).some((function(e){return(null==n?void 0:n[e])!==t[e]})))&&(ut({content:e,event:"save",field:Object.keys(e).join(",")||"none",postId:f}),r.current=e)}var t,n}),[M])})(cf),(0,e.useEffect)((function(){M&&h(of.Results)}),[M]),(0,e.useEffect)((function(){g.includes(w)&&(v((function(e){var t=e.indexOf(w);return-1===t?e:sf(sf([],e.slice(0,t),!0),e.slice(t+1),!0)})),uf[w]&&uf[w].components.forEach((function(e){C[e].isLoading||C[e].refresh({postHTML:m})})))}),[g,w,m,C]);var O=(0,e.useCallback)((function(e){E(e);var t=uf[e].components;if(t){var n=t.filter((function(t){if(!g.includes(e))return!1;var n=C[t].data;return Array.isArray(n)?!n.length:!Object.keys(n||{}).length}));n.length>0&&(C.run({postHTML:m,components:n}),v((function(t){return t.filter((function(t){return t!==e}))}))),setTimeout((function(){l(!0)}),1e3)}}),[C,m,g,v]),T=function(){var e,t,n;e="runGradeAction",t={action:"refreshData"},n=new CustomEvent(wr(e),{detail:{action:e,payload:t}}),window.dispatchEvent(n),l(!1)},P=Ea().postId,k=(0,e.useCallback)((function(){v(Object.keys(uf)),setTimeout((function(){l(!0)}),1e3),ut({content:{post:m},event:"regenerate",field:"none",postId:P})}),[l,m,P]);(0,e.useEffect)((function(){!o&&A&&s&&(S(),setTimeout(T))}),[o,S,A,s]);var Z=(0,e.useCallback)((function(){h(of.Results),v(Object.keys(uf)),O(w),ut({content:{post:m},event:"generate",field:"none",postId:P})}),[w,O,m,P]);if(!window.notaTools.tools_active)return(0,e.createElement)(Ba,{level:"error"},"Please ensure you have set an API key to continue using Nota's tools.");if(r||d)return(0,e.createElement)("div",null,"Loading the Nota toolset...");if(a)return(0,e.createElement)(Ba,{level:"error"},"There was an error fetching your user data from the Nota API. Please refresh your page and try again. If the issue persists, please contact support.");var H=hr(m||"")<100;return(0,e.createElement)("div",null,p===of.Initial&&(0,e.createElement)(Ru,{disableAnalyze:H,onSubmit:Z}),p===of.Results&&(0,e.createElement)("div",null,(0,e.createElement)(af,{seoData:C,components:cf,postHTML:m,authorizedTools:n,enabledTools:x,onTabChange:O,onReanalyze:k,isLoading:r})))},ff=function(){return(0,e.createElement)(c,{client:Io},(0,e.createElement)(df,null))},pf=Zn.useSelect;function hf(t){var n=t.metaKey,r=t.label,a=(0,Zn.useDispatch)("core/editor"),o=pf((function(e){var t;return(null===(t=e("core/editor").getEditedPostAttribute("meta"))||void 0===t?void 0:t[n])||""}),[n]);return(0,e.createElement)(u.TextControl,{onChange:function(e){var t;a.editPost({meta:(t={},t[n]=e,t)})},value:o,label:r})}var mf=function(){return mf=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},mf.apply(this,arguments)},Cf={keywordSynonyms:{},grade:{data:null,request:{content:"",keywords:{}}},gradeIsLoading:!1,urlsScore:{},urlsLoading:!1,analyzePageLoading:!1,metaData:window.notaTools.metadata||{},brands:[],selectedBrand:null,loadingStates:{excerpt:!1,hashtags:!1,headlines:!1,slugs:!1,tags:!1,metaDescriptions:!1,metaTitles:!1,quotes:!1,socialPostsFacebook:!1,socialPostsInstagram:!1,socialPostsLinkedIn:!1,socialPostsThreads:!1,socialPostsTikTok:!1,socialPostsTwitter:!1,sms:!1,keywordSynonyms:!1,summary:!1},tones:{values:[],isLoading:!1}},yf=(0,Zn.createReduxStore)("nota/data",{reducer:function(e,t){var n;switch(void 0===e&&(e=Cf),t.type){case"SET_KEYWORDS_SYNONYMS":return mf(mf({},e),{keywordSynonyms:t.keywordSynonyms});case"SET_GRADE":return mf(mf({},e),{grade:t.grade});case"SET_GRADE_LOADING":return mf(mf({},e),{gradeIsLoading:t.loading});case"SET_URLS_SCORE":return mf(mf({},e),{urlsScore:t.urlsScore});case"SET_URLS_LOADING":return mf(mf({},e),{urlsLoading:t.loading});case"ANALYZE_PAGE_LOADING":return mf(mf({},e),{analyzePageLoading:t.loading});case"SET_POST_META_DATA":return mf(mf({},e),{metaData:mf(mf({},e.metaData),t.metaData)});case"SET_BRANDS":return mf(mf({},e),{brands:t.brands});case"SET_SELECTED_BRAND":return mf(mf({},e),{selectedBrand:t.selectedBrand});case"SET_LOADING_STATE":return mf(mf({},e),{loadingStates:mf(mf({},e.loadingStates),(n={},n[t.component]=t.loading,n))});case"SET_CURRENT_TONES":return mf(mf({},e),{tones:t.tones});default:return e}},actions:{setKeywordsSynonyms:function(e){return{type:"SET_KEYWORDS_SYNONYMS",keywordSynonyms:e}},setGrade:function(e){return{type:"SET_GRADE",grade:e}},setGradeLoading:function(e){return{type:"SET_GRADE_LOADING",loading:e}},setUrlsScore:function(e){return{type:"SET_URLS_SCORE",urlsScore:e}},setUrlsLoading:function(e){return{type:"SET_URLS_LOADING",loading:e}},setAnalyzePageLoading:function(e){return{type:"ANALYZE_PAGE_LOADING",loading:e}},setPostMetaData:function(e){return{type:"SET_POST_META_DATA",metaData:e}},setBrands:function(e){return{type:"SET_BRANDS",brands:e}},setSelectedBrand:function(e){return{type:"SET_SELECTED_BRAND",selectedBrand:e}},setLoadingState:function(e,t){return{type:"SET_LOADING_STATE",component:e,loading:t}},setCurrentTones:function(e){return{type:"SET_CURRENT_TONES",tones:e}}},selectors:{getKeywordSynonyms:function(e){return e.keywordSynonyms},getGrade:function(e){return e.grade},isGradeLoading:function(e){return e.gradeIsLoading},getUrlsScore:function(e){return e.urlsScore},isUrlsLoading:function(e){return e.urlsLoading},isAnalyzePageLoading:function(e){return e.analyzePageLoading},getPostMetaData:function(e){return e.metaData},getBrands:function(e){return e.brands},getSelectedBrand:function(e){return e.selectedBrand},getLoadingStates:function(e){return e.loadingStates},isLoading:function(e,t){return e.loadingStates[t]},getTones:function(e){return e.tones}}});(0,Zn.register)(yf),function(){var t=document.getElementById("nota-post-tools-meta-box-root");if(t){var n=(0,e.createElement)(ff);e.createRoot?(0,e.createRoot)(t).render(n):(0,e.render)(n,t)}else console.log("Failing to render Nota Post Tools Meta Box as element does not exist")}(),window.notaTools.register_controls.seo&&(0,t.registerPlugin)("nota-seo-tools",{render:function(){return(0,e.createElement)(d.PluginDocumentSettingPanel,{name:"nota-seo-tools",title:"Nota SEO Tools"},(0,e.createElement)(hf,{metaKey:window.notaTools.meta_keys.seo_title,label:"SEO Title"}),(0,e.createElement)(hf,{metaKey:window.notaTools.meta_keys.seo_desc,label:"SEO Description"}))}}),window.notaTools.register_controls.grade&&(0,t.registerPlugin)("nota-plugin-sidebar",{render:function(){var t=wt(),n=t.authorizedTools;return t.isLoading||n.includes("GRADE")?(0,e.createElement)(d.PluginSidebar,{name:"grade",title:"Nota PROOF",className:"nota sidebar",icon:(0,e.createElement)(Zo,null)},(0,e.createElement)(c,{client:Io},(0,e.createElement)(u.Panel,null,(0,e.createElement)(To,null),(0,e.createElement)(br,null),(0,e.createElement)(ko,null),(0,e.createElement)(Po,null)))):null}})}()}();
     1!function(){var e={924:function(e,t,n){"use strict";var r=n(210),a=n(559),o=a(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?a(n):n}},559:function(e,t,n){"use strict";var r=n(612),a=n(210),o=a("%Function.prototype.apply%"),i=a("%Function.prototype.call%"),s=a("%Reflect.apply%",!0)||r.call(i,o),l=a("%Object.getOwnPropertyDescriptor%",!0),c=a("%Object.defineProperty%",!0),u=a("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){var t=s(r,i,arguments);return l&&c&&l(t,"length").configurable&&c(t,"length",{value:1+u(0,e.length-(arguments.length-1))}),t};var d=function(){return s(r,o,arguments)};c?c(e.exports,"apply",{value:d}):e.exports.apply=d},573:function(e){"use strict";var t=/["'&<>]/;e.exports=function(e){var n,r=""+e,a=t.exec(r);if(!a)return r;var o="",i=0,s=0;for(i=a.index;i<r.length;i++){switch(r.charCodeAt(i)){case 34:n="&quot;";break;case 38:n="&amp;";break;case 39:n="&#39;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}s!==i&&(o+=r.substring(s,i)),s=i+1,o+=n}return s!==i?o+r.substring(s,i):o}},648:function(e){"use strict";var t=Array.prototype.slice,n=Object.prototype.toString;e.exports=function(e){var r=this;if("function"!=typeof r||"[object Function]"!==n.call(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var a,o=t.call(arguments,1),i=Math.max(0,r.length-o.length),s=[],l=0;l<i;l++)s.push("$"+l);if(a=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof a){var n=r.apply(this,o.concat(t.call(arguments)));return Object(n)===n?n:this}return r.apply(e,o.concat(t.call(arguments)))})),r.prototype){var c=function(){};c.prototype=r.prototype,a.prototype=new c,c.prototype=null}return a}},612:function(e,t,n){"use strict";var r=n(648);e.exports=Function.prototype.bind||r},210:function(e,t,n){"use strict";var r,a=SyntaxError,o=Function,i=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var c=function(){throw new i},u=l?function(){try{return c}catch(e){try{return l(arguments,"callee").get}catch(e){return c}}}():c,d=n(405)(),f=Object.getPrototypeOf||function(e){return e.__proto__},p={},h="undefined"==typeof Uint8Array?r:f(Uint8Array),m={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?f([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?f(f([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?f((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?f((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?f(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":a,"%ThrowTypeError%":u,"%TypedArray%":h,"%TypeError%":i,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};try{null.error}catch(e){var C=f(f(e));m["%Error.prototype%"]=C}var y=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var a=e("%AsyncGenerator%");a&&(n=f(a.prototype))}return m[t]=n,n},g={"%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"]},v=n(612),w=n(642),b=v.call(Function.call,Array.prototype.concat),E=v.call(Function.apply,Array.prototype.splice),x=v.call(Function.call,String.prototype.replace),M=v.call(Function.call,String.prototype.slice),L=v.call(Function.call,RegExp.prototype.exec),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,A=/\\(\\)?/g,O=function(e,t){var n,r=e;if(w(g,r)&&(r="%"+(n=g[r])[0]+"%"),w(m,r)){var o=m[r];if(o===p&&(o=y(r)),void 0===o&&!t)throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new a("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new i('"allowMissing" argument must be a boolean');if(null===L(/^%?[^%]*%?$/,e))throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=M(e,0,1),n=M(e,-1);if("%"===t&&"%"!==n)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new a("invalid intrinsic syntax, expected opening `%`");var r=[];return x(e,S,(function(e,t,n,a){r[r.length]=n?x(a,A,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=O("%"+r+"%",t),s=o.name,c=o.value,u=!1,d=o.alias;d&&(r=d[0],E(n,b([0,1],d)));for(var f=1,p=!0;f<n.length;f+=1){var h=n[f],C=M(h,0,1),y=M(h,-1);if(('"'===C||"'"===C||"`"===C||'"'===y||"'"===y||"`"===y)&&C!==y)throw new a("property names with quotes must have matching quotes");if("constructor"!==h&&p||(u=!0),w(m,s="%"+(r+="."+h)+"%"))c=m[s];else if(null!=c){if(!(h in c)){if(!t)throw new i("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&f+1>=n.length){var g=l(c,h);c=(p=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:c[h]}else p=w(c,h),c=c[h];p&&!u&&(m[s]=c)}}return c}},405:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,a=n(419);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&a()}},419:function(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"),n=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(n))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 r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(e,t);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},642:function(e,t,n){"use strict";var r=n(612);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},631:function(e,t,n){var r="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&a&&"function"==typeof a.get?a.get:null,i=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&l&&"function"==typeof l.get?l.get:null,u=s&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,m=Object.prototype.toString,C=Function.prototype.toString,y=String.prototype.match,g=String.prototype.slice,v=String.prototype.replace,w=String.prototype.toUpperCase,b=String.prototype.toLowerCase,E=RegExp.prototype.test,x=Array.prototype.concat,M=Array.prototype.join,L=Array.prototype.slice,S=Math.floor,A="function"==typeof BigInt?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,P="function"==typeof Symbol&&"object"==typeof Symbol.iterator,k="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,Z=Object.prototype.propertyIsEnumerable,H=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function R(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||E.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-S(-e):S(e);if(r!==e){var a=String(r),o=g.call(t,a.length+1);return v.call(a,n,"$&_")+"."+v.call(v.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(t,n,"$&_")}var j=n(654),F=j.custom,N=U(F)?F:null;function I(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function _(e){return v.call(String(e),/"/g,"&quot;")}function D(e){return!("[object Array]"!==z(e)||k&&"object"==typeof e&&k in e)}function V(e){return!("[object RegExp]"!==z(e)||k&&"object"==typeof e&&k in e)}function U(e){if(P)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!T)return!1;try{return T.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,r,a){var s=n||{};if(q(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(q(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 l=!q(s,"customInspect")||s.customInspect;if("boolean"!=typeof l&&"symbol"!==l)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(q(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(q(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=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 W(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var w=String(t);return m?R(t,w):w}if("bigint"==typeof t){var E=String(t)+"n";return m?R(t,E):E}var S=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=S&&S>0&&"object"==typeof t)return D(t)?"[Array]":"[Object]";var O,F=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=M.call(Array(e.indent+1)," ")}return{base:n,prev:M.call(Array(t+1),n)}}(s,r);if(void 0===a)a=[];else if(G(a,t)>=0)return"[Circular]";function B(t,n,o){if(n&&(a=L.call(a)).push(n),o){var i={depth:s.depth};return q(s,"quoteStyle")&&(i.quoteStyle=s.quoteStyle),e(t,i,r+1,a)}return e(t,s,r+1,a)}if("function"==typeof t&&!V(t)){var Q=function(e){if(e.name)return e.name;var t=y.call(C.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),ee=X(t,B);return"[Function"+(Q?": "+Q:" (anonymous)")+"]"+(ee.length>0?" { "+M.call(ee,", ")+" }":"")}if(U(t)){var te=P?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):T.call(t);return"object"!=typeof t||P?te:K(te)}if((O=t)&&"object"==typeof O&&("undefined"!=typeof HTMLElement&&O instanceof HTMLElement||"string"==typeof O.nodeName&&"function"==typeof O.getAttribute)){for(var ne="<"+b.call(String(t.nodeName)),re=t.attributes||[],ae=0;ae<re.length;ae++)ne+=" "+re[ae].name+"="+I(_(re[ae].value),"double",s);return ne+=">",t.childNodes&&t.childNodes.length&&(ne+="..."),ne+"</"+b.call(String(t.nodeName))+">"}if(D(t)){if(0===t.length)return"[]";var oe=X(t,B);return F&&!function(e){for(var t=0;t<e.length;t++)if(G(e[t],"\n")>=0)return!1;return!0}(oe)?"["+Y(oe,F)+"]":"[ "+M.call(oe,", ")+" ]"}if(function(e){return!("[object Error]"!==z(e)||k&&"object"==typeof e&&k in e)}(t)){var ie=X(t,B);return"cause"in Error.prototype||!("cause"in t)||Z.call(t,"cause")?0===ie.length?"["+String(t)+"]":"{ ["+String(t)+"] "+M.call(ie,", ")+" }":"{ ["+String(t)+"] "+M.call(x.call("[cause]: "+B(t.cause),ie),", ")+" }"}if("object"==typeof t&&l){if(N&&"function"==typeof t[N]&&j)return j(t,{depth:S-r});if("symbol"!==l&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.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,n){se.push(B(n,t,!0)+" => "+B(e,t))})),J("Map",o.call(t),se,F)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var le=[];return u&&u.call(t,(function(e){le.push(B(e,t))})),J("Set",c.call(t),le,F)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return $("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return $("WeakSet");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{return p.call(e),!0}catch(e){}return!1}(t))return $("WeakRef");if(function(e){return!("[object Number]"!==z(e)||k&&"object"==typeof e&&k in e)}(t))return K(B(Number(t)));if(function(e){if(!e||"object"!=typeof e||!A)return!1;try{return A.call(e),!0}catch(e){}return!1}(t))return K(B(A.call(t)));if(function(e){return!("[object Boolean]"!==z(e)||k&&"object"==typeof e&&k in e)}(t))return K(h.call(t));if(function(e){return!("[object String]"!==z(e)||k&&"object"==typeof e&&k in e)}(t))return K(B(String(t)));if(!function(e){return!("[object Date]"!==z(e)||k&&"object"==typeof e&&k in e)}(t)&&!V(t)){var ce=X(t,B),ue=H?H(t)===Object.prototype:t instanceof Object||t.constructor===Object,de=t instanceof Object?"":"null prototype",fe=!ue&&k&&Object(t)===t&&k in t?g.call(z(t),8,-1):de?"Object":"",pe=(ue||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(fe||de?"["+M.call(x.call([],fe||[],de||[]),": ")+"] ":"");return 0===ce.length?pe+"{}":F?pe+"{"+Y(ce,F)+"}":pe+"{ "+M.call(ce,", ")+" }"}return String(t)};var B=Object.prototype.hasOwnProperty||function(e){return e in this};function q(e,t){return B.call(e,t)}function z(e){return m.call(e)}function G(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function W(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return W(g.call(e,0,t.maxStringLength),t)+r}return I(v.call(v.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Q),"single",t)}function Q(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function K(e){return"Object("+e+")"}function $(e){return e+" { ? }"}function J(e,t,n,r){return e+" ("+t+") {"+(r?Y(n,r):M.call(n,", "))+"}"}function Y(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+M.call(e,","+n)+"\n"+t.prev}function X(e,t){var n=D(e),r=[];if(n){r.length=e.length;for(var a=0;a<e.length;a++)r[a]=q(e,a)?t(e[a],e):""}var o,i="function"==typeof O?O(e):[];if(P){o={};for(var s=0;s<i.length;s++)o["$"+i[s]]=i[s]}for(var l in e)q(e,l)&&(n&&String(Number(l))===l&&l<e.length||P&&o["$"+l]instanceof Symbol||(E.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if("function"==typeof O)for(var c=0;c<i.length;c++)Z.call(e,i[c])&&r.push("["+t(i[c])+"]: "+t(e[i[c]],e));return r}},798:function(e){"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC3986";e.exports={default:r,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:r}},129:function(e,t,n){"use strict";var r=n(261),a=n(235),o=n(798);e.exports={formats:o,parse:a,stringify:r}},235:function(e,t,n){"use strict";var r=n(769),a=Object.prototype.hasOwnProperty,o=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),c=s?o.slice(0,s.index):o,u=[];if(c){if(!n.plainObjects&&a.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var d=0;n.depth>0&&null!==(s=i.exec(o))&&d<n.depth;){if(d+=1,!n.plainObjects&&a.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+o.slice(s.index)+"]"),function(e,t,n,r){for(var a=r?t:l(t,n),o=e.length-1;o>=0;--o){var i,s=e[o];if("[]"===s&&n.parseArrays)i=[].concat(a);else{i=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(c,10);n.parseArrays||""!==c?!isNaN(u)&&s!==c&&String(u)===c&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(i=[])[u]=a:"__proto__"!==c&&(i[c]=a):i={0:a}}a=i}return a}(u,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return i;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;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,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,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,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 n.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var n,c={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,f=u.split(t.delimiter,d),p=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n<f.length;++n)0===f[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[n]?h="utf-8":"utf8=%26%2310003%3B"===f[n]&&(h="iso-8859-1"),p=n,n=f.length);for(n=0;n<f.length;++n)if(n!==p){var m,C,y=f[n],g=y.indexOf("]="),v=-1===g?y.indexOf("="):g+1;-1===v?(m=t.decoder(y,i.decoder,h,"key"),C=t.strictNullHandling?null:""):(m=t.decoder(y.slice(0,v),i.decoder,h,"key"),C=r.maybeMap(l(y.slice(v+1),t),(function(e){return t.decoder(e,i.decoder,h,"value")}))),C&&t.interpretNumericEntities&&"iso-8859-1"===h&&(C=s(C)),y.indexOf("[]=")>-1&&(C=o(C)?[C]:C),a.call(c,m)?c[m]=r.combine(c[m],C):c[m]=C}return c}(e,n):e,d=n.plainObjects?Object.create(null):{},f=Object.keys(u),p=0;p<f.length;++p){var h=f[p],m=c(h,u[h],n,"string"==typeof e);d=r.merge(d,m,n)}return!0===n.allowSparse?d:r.compact(d)}},261:function(e,t,n){"use strict";var r=n(478),a=n(769),o=n(798),i=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=Array.prototype.push,u=function(e,t){c.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,f=o.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},h={},m=function e(t,n,o,i,s,c,d,f,m,C,y,g,v,w,b,E){for(var x,M=t,L=E,S=0,A=!1;void 0!==(L=L.get(h))&&!A;){var O=L.get(t);if(S+=1,void 0!==O){if(O===S)throw new RangeError("Cyclic object value");A=!0}void 0===L.get(h)&&(S=0)}if("function"==typeof f?M=f(n,M):M instanceof Date?M=y(M):"comma"===o&&l(M)&&(M=a.maybeMap(M,(function(e){return e instanceof Date?y(e):e}))),null===M){if(s)return d&&!w?d(n,p.encoder,b,"key",g):n;M=""}if("string"==typeof(x=M)||"number"==typeof x||"boolean"==typeof x||"symbol"==typeof x||"bigint"==typeof x||a.isBuffer(M))return d?[v(w?n:d(n,p.encoder,b,"key",g))+"="+v(d(M,p.encoder,b,"value",g))]:[v(n)+"="+v(String(M))];var T,P=[];if(void 0===M)return P;if("comma"===o&&l(M))w&&d&&(M=a.maybeMap(M,d)),T=[{value:M.length>0?M.join(",")||null:void 0}];else if(l(f))T=f;else{var k=Object.keys(M);T=m?k.sort(m):k}for(var Z=i&&l(M)&&1===M.length?n+"[]":n,H=0;H<T.length;++H){var R=T[H],j="object"==typeof R&&void 0!==R.value?R.value:M[R];if(!c||null!==j){var F=l(M)?"function"==typeof o?o(Z,R):Z:Z+(C?"."+R:"["+R+"]");E.set(t,S);var N=r();N.set(h,E),u(P,e(j,F,o,i,s,c,"comma"===o&&w&&l(M)?null:d,f,m,C,y,g,v,w,b,N))}}return P};e.exports=function(e,t){var n,a=e,c=function(e){if(!e)return p;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||p.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 n=o.default;if(void 0!==e.format){if(!i.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],a=p.filter;return("function"==typeof e.filter||l(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:void 0===e.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:void 0===e.delimiter?p.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:p.encode,encoder:"function"==typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:a,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}}(t);"function"==typeof c.filter?a=(0,c.filter)("",a):l(c.filter)&&(n=c.filter);var d,f=[];if("object"!=typeof a||null===a)return"";d=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var h=s[d];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var C="comma"===h&&t&&t.commaRoundTrip;n||(n=Object.keys(a)),c.sort&&n.sort(c.sort);for(var y=r(),g=0;g<n.length;++g){var v=n[g];c.skipNulls&&null===a[v]||u(f,m(a[v],v,h,C,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,y))}var w=f.join(c.delimiter),b=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?b+="utf8=%26%2310003%3B&":b+="utf8=%E2%9C%93&"),w.length>0?b+w:""}},769:function(e,t,n){"use strict";var r=n(798),a=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var a=t[r],i=a.obj[a.prop],s=Object.keys(i),l=0;l<s.length;++l){var c=s[l],u=i[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:i,prop:c}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],a=0;a<n.length;++a)void 0!==n[a]&&r.push(n[a]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,a,o){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",c=0;c<s.length;++c){var u=s.charCodeAt(c);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===r.RFC1738&&(40===u||41===u)?l+=s.charAt(c):u<128?l+=i[u]:u<2048?l+=i[192|u>>6]+i[128|63&u]:u<55296||u>=57344?l+=i[224|u>>12]+i[128|u>>6&63]+i[128|63&u]:(c+=1,u=65536+((1023&u)<<10|1023&s.charCodeAt(c)),l+=i[240|u>>18]+i[128|u>>12&63]+i[128|u>>6&63]+i[128|63&u])}return l},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(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!a.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var i=t;return o(t)&&!o(n)&&(i=s(t,r)),o(t)&&o(n)?(n.forEach((function(n,o){if(a.call(t,o)){var i=t[o];i&&"object"==typeof i&&n&&"object"==typeof n?t[o]=e(i,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var i=n[o];return a.call(t,o)?t[o]=e(t[o],i,r):t[o]=i,t}),i)}}},590:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(!o(e[l],i[l]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!o(l.value[1],i.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(e[l]!==i[l])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(i,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!o(e[c[l]],i[c[l]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},478:function(e,t,n){"use strict";var r=n(210),a=n(924),o=n(631),i=r("%TypeError%"),s=r("%WeakMap%",!0),l=r("%Map%",!0),c=a("WeakMap.prototype.get",!0),u=a("WeakMap.prototype.set",!0),d=a("WeakMap.prototype.has",!0),f=a("Map.prototype.get",!0),p=a("Map.prototype.set",!0),h=a("Map.prototype.has",!0),m=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new i("Side channel does not contain "+o(e))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return c(e,r)}else if(l){if(t)return f(t,r)}else if(n)return function(e,t){var n=m(e,t);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return d(e,r)}else if(l){if(t)return h(t,r)}else if(n)return function(e,t){return!!m(e,t)}(n,r);return!1},set:function(r,a){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),u(e,r,a)):l?(t||(t=new l),p(t,r,a)):(n||(n={key:{},next:null}),function(e,t,n){var r=m(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,a))}};return r}},250:function(e,t,n){"use strict";var r=n(196),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,i=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!a(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),a=r[0].inst,u=r[1];return s((function(){a.value=n,a.getSnapshot=t,c(a)&&u({inst:a})}),[e,n,t]),i((function(){return c(a)&&u({inst:a}),e((function(){c(a)&&u({inst:a})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},688:function(e,t,n){"use strict";e.exports=n(250)},196:function(e){"use strict";e.exports=window.React},654:function(){}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=window.wp.element,t=window.wp.plugins,r=n(196),a=n.n(r);const o=r.createContext(void 0),i=r.createContext(!1);function s(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=o),window.ReactQueryClientContext):o)}const l=({context:e}={})=>{const t=r.useContext(s(e,r.useContext(i)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},c=({client:e,children:t,context:n,contextSharing:a=!1})=>{r.useEffect((()=>(e.mount(),()=>{e.unmount()})),[e]);const o=s(n,a);return r.createElement(i.Provider,{value:!n&&a},r.createElement(o.Provider,{value:e},t))};var u=window.wp.components,d=window.wp.editPost;function f(e,t){return function(){return e.apply(t,arguments)}}const{toString:p}=Object.prototype,{getPrototypeOf:h}=Object,m=(C=Object.create(null),e=>{const t=p.call(e);return C[t]||(C[t]=t.slice(8,-1).toLowerCase())});var C;const y=e=>(e=e.toLowerCase(),t=>m(t)===e),g=e=>t=>typeof t===e,{isArray:v}=Array,w=g("undefined"),b=y("ArrayBuffer"),E=g("string"),x=g("function"),M=g("number"),L=e=>null!==e&&"object"==typeof e,S=e=>{if("object"!==m(e))return!1;const t=h(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},A=y("Date"),O=y("File"),T=y("Blob"),P=y("FileList"),k=y("URLSearchParams");function Z(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,a;if("object"!=typeof e&&(e=[e]),v(e))for(r=0,a=e.length;r<a;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;let i;for(r=0;r<o;r++)i=a[r],t.call(null,e[i],i,e)}}function H(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,a=n.length;for(;a-- >0;)if(r=n[a],t===r.toLowerCase())return r;return null}const R="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,j=e=>!w(e)&&e!==R,F=(N="undefined"!=typeof Uint8Array&&h(Uint8Array),e=>N&&e instanceof N);var N;const I=y("HTMLFormElement"),_=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),D=y("RegExp"),V=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Z(n,((n,a)=>{!1!==t(n,a,e)&&(r[a]=n)})),Object.defineProperties(e,r)},U="abcdefghijklmnopqrstuvwxyz",B="0123456789",q={DIGIT:B,ALPHA:U,ALPHA_DIGIT:U+U.toUpperCase()+B};var z={isArray:v,isArrayBuffer:b,isBuffer:function(e){return null!==e&&!w(e)&&null!==e.constructor&&!w(e.constructor)&&x(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||x(e.append)&&("formdata"===(t=m(e))||"object"===t&&x(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&b(e.buffer),t},isString:E,isNumber:M,isBoolean:e=>!0===e||!1===e,isObject:L,isPlainObject:S,isUndefined:w,isDate:A,isFile:O,isBlob:T,isRegExp:D,isFunction:x,isStream:e=>L(e)&&x(e.pipe),isURLSearchParams:k,isTypedArray:F,isFileList:P,forEach:Z,merge:function e(){const{caseless:t}=j(this)&&this||{},n={},r=(r,a)=>{const o=t&&H(n,a)||a;S(n[o])&&S(r)?n[o]=e(n[o],r):S(r)?n[o]=e({},r):v(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Z(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(Z(t,((t,r)=>{n&&x(t)?e[r]=f(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let a,o,i;const s={};if(t=t||{},null==e)return t;do{for(a=Object.getOwnPropertyNames(e),o=a.length;o-- >0;)i=a[o],r&&!r(i,e,t)||s[i]||(t[i]=e[i],s[i]=!0);e=!1!==n&&h(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:m,kindOfTest:y,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(v(e))return e;let t=e.length;if(!M(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:I,hasOwnProperty:_,hasOwnProp:_,reduceDescriptors:V,freezeMethods:e=>{V(e,((t,n)=>{if(x(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];x(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return v(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:H,global:R,isContextDefined:j,ALPHABET:q,generateString:(e=16,t=q.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&x(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(L(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const a=v(e)?[]:{};return Z(e,((e,t)=>{const o=n(e,r+1);!w(o)&&(a[t]=o)})),t[r]=void 0,a}}return e};return n(e,0)}};function G(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a)}z.inherits(G,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:z.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const W=G.prototype,Q={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Q[e]={value:e}})),Object.defineProperties(G,Q),Object.defineProperty(W,"isAxiosError",{value:!0}),G.from=(e,t,n,r,a,o)=>{const i=Object.create(W);return z.toFlatObject(e,i,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),G.call(i,e.message,t,n,r,a),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};var K=G;function $(e){return z.isPlainObject(e)||z.isArray(e)}function J(e){return z.endsWith(e,"[]")?e.slice(0,-2):e}function Y(e,t,n){return e?e.concat(t).map((function(e,t){return e=J(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const X=z.toFlatObject(z,{},null,(function(e){return/^is[A-Z]/.test(e)}));var ee=function(e,t,n){if(!z.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!z.isUndefined(t[e])}))).metaTokens,a=n.visitor||c,o=n.dots,i=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&z.isSpecCompliantForm(t);if(!z.isFunction(a))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(z.isDate(e))return e.toISOString();if(!s&&z.isBlob(e))throw new K("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(e)||z.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,a){let s=e;if(e&&!a&&"object"==typeof e)if(z.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(z.isArray(e)&&function(e){return z.isArray(e)&&!e.some($)}(e)||(z.isFileList(e)||z.endsWith(n,"[]"))&&(s=z.toArray(e)))return n=J(n),s.forEach((function(e,r){!z.isUndefined(e)&&null!==e&&t.append(!0===i?Y([n],r,o):null===i?n:n+"[]",l(e))})),!1;return!!$(e)||(t.append(Y(a,n,o),l(e)),!1)}const u=[],d=Object.assign(X,{defaultVisitor:c,convertValue:l,isVisitable:$});if(!z.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!z.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),z.forEach(n,(function(n,o){!0===(!(z.isUndefined(n)||null===n)&&a.call(t,n,z.isString(o)?o.trim():o,r,d))&&e(n,r?r.concat(o):[o])})),u.pop()}}(e),t};function te(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ne(e,t){this._pairs=[],e&&ee(e,this,t)}const re=ne.prototype;re.append=function(e,t){this._pairs.push([e,t])},re.toString=function(e){const t=e?function(t){return e.call(this,t,te)}:te;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var ae=ne;function oe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ie(e,t,n){if(!t)return e;const r=n&&n.encode||oe,a=n&&n.serialize;let o;if(o=a?a(t,n):z.isURLSearchParams(t)?t.toString():new ae(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}var se=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){z.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},le={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ce={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ae,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},isStandardBrowserEnv:(()=>{let e;return("undefined"==typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&"undefined"!=typeof window&&"undefined"!=typeof document})(),isStandardBrowserWebWorkerEnv:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,protocols:["http","https","file","blob","url","data"]},ue=function(e){function t(e,n,r,a){let o=e[a++];const i=Number.isFinite(+o),s=a>=e.length;return o=!o&&z.isArray(r)?r.length:o,s?(z.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!i):(r[o]&&z.isObject(r[o])||(r[o]=[]),t(e,n,r[o],a)&&z.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const a=n.length;let o;for(r=0;r<a;r++)o=n[r],t[o]=e[o];return t}(r[o])),!i)}if(z.isFormData(e)&&z.isFunction(e.entries)){const n={};return z.forEachEntry(e,((e,r)=>{t(function(e){return z.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const de={"Content-Type":void 0},fe={transitional:le,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,a=z.isObject(e);if(a&&z.isHTMLForm(e)&&(e=new FormData(e)),z.isFormData(e))return r&&r?JSON.stringify(ue(e)):e;if(z.isArrayBuffer(e)||z.isBuffer(e)||z.isStream(e)||z.isFile(e)||z.isBlob(e))return e;if(z.isArrayBufferView(e))return e.buffer;if(z.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ee(e,new ce.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return ce.isNode&&z.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=z.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ee(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||r?(t.setContentType("application/json",!1),function(e,t,n){if(z.isString(e))try{return(0,JSON.parse)(e),z.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||fe.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&z.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw K.from(e,K.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ce.classes.FormData,Blob:ce.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};z.forEach(["delete","get","head"],(function(e){fe.headers[e]={}})),z.forEach(["post","put","patch"],(function(e){fe.headers[e]=z.merge(de)}));var pe=fe;const he=z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),me=Symbol("internals");function Ce(e){return e&&String(e).trim().toLowerCase()}function ye(e){return!1===e||null==e?e:z.isArray(e)?e.map(ye):String(e)}function ge(e,t,n,r,a){return z.isFunction(r)?r.call(this,t,n):(a&&(t=n),z.isString(t)?z.isString(r)?-1!==t.indexOf(r):z.isRegExp(r)?r.test(t):void 0:void 0)}class ve{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function a(e,t,n){const a=Ce(t);if(!a)throw new Error("header name must be a non-empty string");const o=z.findKey(r,a);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=ye(e))}const o=(e,t)=>z.forEach(e,((e,n)=>a(e,n,t)));return z.isPlainObject(e)||e instanceof this.constructor?o(e,t):z.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?o((e=>{const t={};let n,r,a;return e&&e.split("\n").forEach((function(e){a=e.indexOf(":"),n=e.substring(0,a).trim().toLowerCase(),r=e.substring(a+1).trim(),!n||t[n]&&he[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&a(t,e,n),this}get(e,t){if(e=Ce(e)){const n=z.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(z.isFunction(t))return t.call(this,e,n);if(z.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Ce(e)){const n=z.findKey(this,e);return!(!n||void 0===this[n]||t&&!ge(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function a(e){if(e=Ce(e)){const a=z.findKey(n,e);!a||t&&!ge(0,n[a],a,t)||(delete n[a],r=!0)}}return z.isArray(e)?e.forEach(a):a(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const a=t[n];e&&!ge(0,this[a],a,e,!0)||(delete this[a],r=!0)}return r}normalize(e){const t=this,n={};return z.forEach(this,((r,a)=>{const o=z.findKey(n,a);if(o)return t[o]=ye(r),void delete t[a];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(a):String(a).trim();i!==a&&delete t[a],t[i]=ye(r),n[i]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return z.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&z.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[me]=this[me]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Ce(e);t[r]||(function(e,t){const n=z.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,a){return this[r].call(this,t,e,n,a)},configurable:!0})}))}(n,e),t[r]=!0)}return z.isArray(e)?e.forEach(r):r(e),this}}ve.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),z.freezeMethods(ve.prototype),z.freezeMethods(ve);var we=ve;function be(e,t){const n=this||pe,r=t||n,a=we.from(r.headers);let o=r.data;return z.forEach(e,(function(e){o=e.call(n,o,a.normalize(),t?t.status:void 0)})),a.normalize(),o}function Ee(e){return!(!e||!e.__CANCEL__)}function xe(e,t,n){K.call(this,null==e?"canceled":e,K.ERR_CANCELED,t,n),this.name="CanceledError"}z.inherits(xe,K,{__CANCEL__:!0});var Me=xe,Le=ce.isStandardBrowserEnv?{write:function(e,t,n,r,a,o){const i=[];i.push(e+"="+encodeURIComponent(t)),z.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),z.isString(r)&&i.push("path="+r),z.isString(a)&&i.push("domain="+a),!0===o&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function Se(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Ae=ce.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=z.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};function Oe(e,t){let n=0;const r=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a,o=0,i=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[i];a||(a=l),n[o]=s,r[o]=l;let u=i,d=0;for(;u!==o;)d+=n[u++],u%=e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),l-a<t)return;const f=c&&l-c;return f?Math.round(1e3*d/f):void 0}}(50,250);return a=>{const o=a.loaded,i=a.lengthComputable?a.total:void 0,s=o-n,l=r(s);n=o;const c={loaded:o,total:i,progress:i?o/i:void 0,bytes:s,rate:l||void 0,estimated:l&&i&&o<=i?(i-o)/l:void 0,event:a};c[t?"download":"upload"]=!0,e(c)}}var Te="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const a=we.from(e.headers).normalize(),o=e.responseType;let i;function s(){e.cancelToken&&e.cancelToken.unsubscribe(i),e.signal&&e.signal.removeEventListener("abort",i)}z.isFormData(r)&&(ce.isStandardBrowserEnv||ce.isStandardBrowserWebWorkerEnv)&&a.setContentType(!1);let l=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(t+":"+n))}const c=Se(e.baseURL,e.url);function u(){if(!l)return;const r=we.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new K("Request failed with status code "+n.status,[K.ERR_BAD_REQUEST,K.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),s()}),(function(e){n(e),s()}),{data:o&&"text"!==o&&"json"!==o?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:r,config:e,request:l}),l=null}if(l.open(e.method.toUpperCase(),ie(c,e.params,e.paramsSerializer),!0),l.timeout=e.timeout,"onloadend"in l?l.onloadend=u:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(u)},l.onabort=function(){l&&(n(new K("Request aborted",K.ECONNABORTED,e,l)),l=null)},l.onerror=function(){n(new K("Network Error",K.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||le;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new K(t,r.clarifyTimeoutError?K.ETIMEDOUT:K.ECONNABORTED,e,l)),l=null},ce.isStandardBrowserEnv){const t=(e.withCredentials||Ae(c))&&e.xsrfCookieName&&Le.read(e.xsrfCookieName);t&&a.set(e.xsrfHeaderName,t)}void 0===r&&a.setContentType(null),"setRequestHeader"in l&&z.forEach(a.toJSON(),(function(e,t){l.setRequestHeader(t,e)})),z.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),o&&"json"!==o&&(l.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&l.addEventListener("progress",Oe(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",Oe(e.onUploadProgress)),(e.cancelToken||e.signal)&&(i=t=>{l&&(n(!t||t.type?new Me(null,e,l):t),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(i),e.signal&&(e.signal.aborted?i():e.signal.addEventListener("abort",i)));const d=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(c);d&&-1===ce.protocols.indexOf(d)?n(new K("Unsupported protocol "+d+":",K.ERR_BAD_REQUEST,e)):l.send(r||null)}))};const Pe={http:null,xhr:Te};z.forEach(Pe,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));function ke(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Me(null,e)}function Ze(e){return ke(e),e.headers=we.from(e.headers),e.data=be.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),(e=>{e=z.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let a=0;a<t&&(n=e[a],!(r=z.isString(n)?Pe[n.toLowerCase()]:n));a++);if(!r){if(!1===r)throw new K(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT");throw new Error(z.hasOwnProp(Pe,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`)}if(!z.isFunction(r))throw new TypeError("adapter is not a function");return r})(e.adapter||pe.adapter)(e).then((function(t){return ke(e),t.data=be.call(e,e.transformResponse,t),t.headers=we.from(t.headers),t}),(function(t){return Ee(t)||(ke(e),t&&t.response&&(t.response.data=be.call(e,e.transformResponse,t.response),t.response.headers=we.from(t.response.headers))),Promise.reject(t)}))}const He=e=>e instanceof we?e.toJSON():e;function Re(e,t){t=t||{};const n={};function r(e,t,n){return z.isPlainObject(e)&&z.isPlainObject(t)?z.merge.call({caseless:n},e,t):z.isPlainObject(t)?z.merge({},t):z.isArray(t)?t.slice():t}function a(e,t,n){return z.isUndefined(t)?z.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!z.isUndefined(t))return r(void 0,t)}function i(e,t){return z.isUndefined(t)?z.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,a,o){return o in t?r(n,a):o in e?r(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s,headers:(e,t)=>a(He(e),He(t),!0)};return z.forEach(Object.keys(e).concat(Object.keys(t)),(function(r){const o=l[r]||a,i=o(e[r],t[r],r);z.isUndefined(i)&&o!==s||(n[r]=i)})),n}const je={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{je[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Fe={};je.transitional=function(e,t,n){function r(e,t){return"[Axios v1.3.6] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,a,o)=>{if(!1===e)throw new K(r(a," has been removed"+(t?" in "+t:"")),K.ERR_DEPRECATED);return t&&!Fe[a]&&(Fe[a]=!0,console.warn(r(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,a,o)}};var Ne={assertOptions:function(e,t,n){if("object"!=typeof e)throw new K("options must be an object",K.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const o=r[a],i=t[o];if(i){const t=e[o],n=void 0===t||i(t,o,e);if(!0!==n)throw new K("option "+o+" must be "+n,K.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new K("Unknown option "+o,K.ERR_BAD_OPTION)}},validators:je};const Ie=Ne.validators;class _e{constructor(e){this.defaults=e,this.interceptors={request:new se,response:new se}}request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Re(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:a}=t;let o;void 0!==n&&Ne.assertOptions(n,{silentJSONParsing:Ie.transitional(Ie.boolean),forcedJSONParsing:Ie.transitional(Ie.boolean),clarifyTimeoutError:Ie.transitional(Ie.boolean)},!1),null!=r&&(z.isFunction(r)?t.paramsSerializer={serialize:r}:Ne.assertOptions(r,{encode:Ie.function,serialize:Ie.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase(),o=a&&z.merge(a.common,a[t.method]),o&&z.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete a[e]})),t.headers=we.concat(o,a);const i=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,d=0;if(!s){const e=[Ze.bind(this),void 0];for(e.unshift.apply(e,i),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=i.length;let f=t;for(d=0;d<u;){const e=i[d++],t=i[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{c=Ze.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return ie(Se((e=Re(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}z.forEach(["delete","get","head","options"],(function(e){_e.prototype[e]=function(t,n){return this.request(Re(n||{},{method:e,url:t,data:(n||{}).data}))}})),z.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,a){return this.request(Re(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}_e.prototype[e]=t(),_e.prototype[e+"Form"]=t(!0)}));var De=_e;class Ve{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,a){n.reason||(n.reason=new Me(e,r,a),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;const t=new Ve((function(t){e=t}));return{token:t,cancel:e}}}var Ue=Ve;const Be={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Be).forEach((([e,t])=>{Be[t]=e}));var qe=Be;const ze=function e(t){const n=new De(t),r=f(De.prototype.request,n);return z.extend(r,De.prototype,n,{allOwnKeys:!0}),z.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Re(t,n))},r}(pe);ze.Axios=De,ze.CanceledError=Me,ze.CancelToken=Ue,ze.isCancel=Ee,ze.VERSION="1.3.6",ze.toFormData=ee,ze.AxiosError=K,ze.Cancel=ze.CanceledError,ze.all=function(e){return Promise.all(e)},ze.spread=function(e){return function(t){return e.apply(null,t)}},ze.isAxiosError=function(e){return z.isObject(e)&&!0===e.isAxiosError},ze.mergeConfig=Re,ze.AxiosHeaders=we,ze.formToJSON=e=>ue(z.isHTMLForm(e)?new FormData(e):e),ze.HttpStatusCode=qe,ze.default=ze;var Ge,We=ze,Qe=(Ge=function(e,t){return Ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Ge(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}Ge(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),Ke=function(e){function t(n,r,a){var o=e.call(this,r)||this;return Object.setPrototypeOf(o,t.prototype),o.status=n,o.data=a,o}return Qe(t,e),t}(Error),$e=function(){return $e=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},$e.apply(this,arguments)};function Je(e,t,n){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(this,void 0,Promise,(function(){var r,a,o,i;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,We.request($e({baseURL:null==n?void 0:n.baseUrl,url:t,method:e,headers:$e({"nota-post-id":window.notaTools.postId},null==n?void 0:n.headers)},n))];case 1:return[2,{data:(r=s.sent()).data,status:r.status,statusText:r.statusText}];case 2:if(a=s.sent(),We.isAxiosError(a)&&(null===(o=a.response)||void 0===o?void 0:o.status))throw new Ke(null===(i=a.response)||void 0===i?void 0:i.status,a.message,a.response.data);throw a;case 3:return[2]}}))}))}var Ye=function(e,t){return Je("POST",e,t)},Xe=n(129),et=n.n(Xe),tt=function(){return tt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},tt.apply(this,arguments)},nt=function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))},rt=function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},at=Math.ceil(120),ot=function(e){return nt(void 0,[e],Promise,(function(e){var t,n=e.response,r=e.fetchOptions;return rt(this,(function(e){switch(e.label){case 0:return(t=n.data.result)&&"object"==typeof t&&"jobId"in t?[4,it({jobId:t.jobId,fetchOptions:r})]:[3,2];case 1:return[2,{jobResponse:e.sent(),originalResponse:tt(tt({},n),{data:tt(tt({},n.data),{result:t})})}];case 2:return[2,{jobResponse:null,originalResponse:tt(tt({},n),{data:tt(tt({},n.data),{result:t})})}]}}))}))},it=function(e){return nt(void 0,[e],Promise,(function(e){var t,n,r,a=e.jobId,o=e.retryCount,i=void 0===o?0:o,s=e.fetchOptions;return rt(this,(function(e){switch(e.label){case 0:if(i===at)throw Error("Job ".concat(a," was not completed after ").concat(i," attempts"));return[4,Ye(window.notaTools.ajaxUrl,tt(tt({},s),{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_job",jobId:a}})}))];case 1:return t=e.sent(),n=t.data.result.state,r=t.data.result.result,"completed"===n?[3,3]:[4,new Promise((function(e){return setTimeout(e,1e3)}))];case 2:return e.sent(),[2,it({jobId:a,retryCount:i+1,fetchOptions:s})];case 3:if(null==r)throw Error("Completed job ".concat(a," has empty result"));return[2,tt(tt({},t),{data:tt(tt({},t.data),{result:tt(tt({},t.data.result),{state:n,result:r})})})]}}))}))};function st(e){return e.jobResponse?e.jobResponse.data.result.result:e.originalResponse.data.result}var lt={error:console.error,log:console.log},ct=function(){return ct=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},ct.apply(this,arguments)},ut=function(e){if(window.notaTools.tracking_enabled)return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:ct({nota_action:"save_events"},e)})}).catch(lt.error)};class dt extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}var ft=function({limit:e,interval:t,strict:n}){if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(t))throw new TypeError("Expected `interval` to be a finite number");const r=new Map;let a=0,o=0;const i=[],s=n?function(){const n=Date.now();if(i.length<e)return i.push(n),0;const r=i.shift()+t;return n>=r?(i.push(n),0):(i.push(r),r-n)}:function(){const n=Date.now();return n-a>t?(o=1,a=n,0):(o<e?o++:(a+=t,o=1),a-n)};return e=>{const t=function(...n){if(!t.isEnabled)return(async()=>e.apply(this,n))();let a;return new Promise(((t,o)=>{a=setTimeout((()=>{t(e.apply(this,n)),r.delete(a)}),s()),r.set(a,o)}))};return t.abort=()=>{for(const e of r.keys())clearTimeout(e),r.get(e)(new dt);r.clear(),i.splice(0,i.length)},t.isEnabled=!0,Object.defineProperty(t,"queueSize",{get(){return r.size}}),t}}({limit:1,interval:1e3}),pt=ft((function(e){return e()})),ht=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return pt((function(){return e.apply(void 0,t)}))}},mt=function(e){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function(){var t;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_save_selected_brand_id",nonce:window.notaTools.nonce,nota:{brand_id:e}})})];case 1:return n.sent(),[3,3];case 2:throw t=n.sent(),lt.error(t),t;case 3:return[2]}}))}))},Ct=function(e){var t=e.toneId,n=e.organizationBrandId,r=e.text,a=e.task,o=e.queue,i=void 0!==o&&o,s=e.promptCategory;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"adjust_text_tone",toneId:t,organizationBrandId:n,text:r,task:a,queue:i,promptCategory:s}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))},yt=function(e){var t=e.brandId;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_brand_tones",brandId:t}})}).then((function(e){return e.data.result.items}))},gt=function(){return gt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},gt.apply(this,arguments)},vt=function(){return vt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},vt.apply(this,arguments)},wt={getCurrentUser:function(){return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_current_user"}})}).then((function(e){return e.data.result}))},getHashtags:ht((function(e){var t=e.postHTML,n=e.regenerate;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_hashtags",postHTML:t,regenerate:n}})}).then((function(e){return e.data.result}))})),getHeadlines:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate,a=e.brandId,o=e.queue,i=void 0!==o&&o;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_headlines",postHTML:t,count:n,regenerate:r,brandId:a,queue:i}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getSlugs:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_slugs",postHTML:t,count:n,regenerate:r}})}).then((function(e){return e.data.result}))})),getKeywordSynonyms:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate,a=e.seoRanking,o=void 0!==a&&a,i=e.queue,s=void 0!==i&&i;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_keywords",postHTML:t,count:n,regenerate:r,seoRanking:o,queue:s}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getMetaDescriptions:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate,a=e.brandId,o=e.queue,i=void 0!==o&&o;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_meta_descriptions",postHTML:t,count:n,regenerate:r,brandId:a,queue:i}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getMetaTitles:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate,a=e.brandId,o=e.queue,i=void 0!==o&&o;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_meta_titles",postHTML:t,count:n,regenerate:r,brandId:a,queue:i}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getQuotes:ht((function(e){var t=e.postHTML,n=e.regenerate,r=e.exclude,a=e.count;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_quotes",postHTML:t,regenerate:n,exclude:r,count:a}})}).then((function(e){return e.data.result}))})),getSMS:ht((function(e){var t=e.postHTML,n=e.count,r=e.regenerate;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_sms_messages",postHTML:t,count:n,regenerate:r}})}).then((function(e){return e.data.result}))})),getSocialPosts:ht((function(e){var t=e.postHTML,n=e.platform,r=e.regenerate,a=e.queue,o=void 0!==a&&a,i=e.brandId;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_social_posts",postHTML:t,platform:n,count:1,regenerate:r,queue:o,brandId:i}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getSummary:ht((function(e){var t=e.postHTML,n=e.lengthOption,r=e.regenerate,a=e.brandId,o=e.queue,i=void 0!==o&&o;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_summary",postHTML:t,length_option:n,regenerate:r,brandId:a,queue:i}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getGradeScores:ht((function(e){var t=e.content,n=e.headline,r=e.metaDescription,a=e.metaTitle,o=e.slug,i=e.keywords,s=e.queue,l=void 0!==s&&s;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_grade_scores",postHTML:t,headline:n,meta_description:r,meta_title:a,slug:o,keywords:i,queue:l}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e).scores}))})),getEntities:ht((function(e){var t=e.postHTML,n=e.regenerate,r=e.queue,a=void 0!==r&&r;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_text_entities",postHTML:t,regenerate:n,queue:a}})}).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))})),getUrlsScore:ht((function(e){var t=e.urlsList;return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_urls_score",urlsList:t}})}).then((function(e){return e.data.result.url}))})),getPublicConfig:function(e){var t=e.signal;return Ye(window.notaTools.ajaxUrl,{signal:t,data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_public_config"}})}).then((function(e){return e.data.result}))},saveEvents:ut,savePostMetadata:function(e){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,[e],void 0,(function(e){var t,n=e.postId,r=e.metadata;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_save_metadata",nonce:window.notaTools.nonce,nota:{post_id:n,metadata:r}})})];case 1:return e.sent(),[3,3];case 2:throw t=e.sent(),lt.error(t),t;case 3:return[2]}}))}))},getUserBrands:function(){return Ye(window.notaTools.ajaxUrl,{data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_user_brands"}})}).then((function(e){return e.data.result}))},saveSelectedBrandId:mt,adjustTextTone:Ct,getTonesForBrand:yt,getRelatedKeywords:function(e,t){var n=e.postHTML,r=e.keyword,a=e.queue,o=void 0!==a&&a;return Ye(window.notaTools.ajaxUrl,gt({data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_related_keywords",postHTML:n,keyword:r,queue:o}})},t)).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))},getRelatedKeywordsBatch:function(e,t){var n=e.postHTML,r=e.keywords,a=e.queue,o=void 0!==a&&a;return Ye(window.notaTools.ajaxUrl,vt({data:et().stringify({action:"nota_action",nonce:window.notaTools.nonce,nota:{nota_action:"get_related_keywords_batch",postHTML:n,keywords:r,queue:o}})},t)).then((function(e){return ot({response:e})})).then((function(e){return st(e)}))}},bt=function(e){var t;return!!e.user&&(!1===e.user.useOrganizationAuth||(null===(t=e.user)||void 0===t?void 0:t.organizations.some((function(t){var n,r,a,o,i=null===(a=null===(r=null===(n=t.entitlements)||void 0===n?void 0:n.applicationPermissions)||void 0===r?void 0:r.wordpressPlugin)||void 0===a?void 0:a.tools;return i&&!!(null===(o=i[e.tool])||void 0===o?void 0:o.access)||!1}))))};function Et(){var t=this,n=(0,e.useState)([]),r=n[0],a=n[1],o=(0,e.useState)(!1),i=o[0],s=o[1],l=(0,e.useState)(!1),c=l[0],u=l[1];return(0,e.useEffect)((function(){!function(e,t,n,r){new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(t,void 0,void 0,(function(){var e,t;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(n){switch(n.label){case 0:s(!0),u(!1),n.label=1;case 1:return n.trys.push([1,3,4,5]),[4,wt.getCurrentUser()];case 2:return e=n.sent(),t=[bt({user:e,tool:"grade"})?"GRADE":null,bt({user:e,tool:"sum"})?"SUM":null,bt({user:e,tool:"social"})?"SOCIAL":null].filter((function(e){return null!==e})),a(t),[3,5];case 3:return n.sent(),u(!0),[3,5];case 4:return s(!1),[7];case 5:return[2]}}))}))}),[]),{authorizedTools:r,isLoading:i,isError:c}}const xt=(0,r.createContext)({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var Mt=Object.defineProperty,Lt=Object.getOwnPropertySymbols,St=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,Ot=(e,t,n)=>t in e?Mt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Tt=(e,t)=>{for(var n in t||(t={}))St.call(t,n)&&Ot(e,n,t[n]);if(Lt)for(var n of Lt(t))At.call(t,n)&&Ot(e,n,t[n]);return e},Pt=(e,t)=>{var n={};for(var r in e)St.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Lt)for(var r of Lt(e))t.indexOf(r)<0&&At.call(e,r)&&(n[r]=e[r]);return n};const kt=(0,r.forwardRef)(((e,t)=>{const n=e,{alt:o,color:i,size:s,weight:l,mirrored:c,children:u,weights:d}=n,f=Pt(n,["alt","color","size","weight","mirrored","children","weights"]),p=(0,r.useContext)(xt),{color:h="currentColor",size:m,weight:C="regular",mirrored:y=!1}=p,g=Pt(p,["color","size","weight","mirrored"]);return a().createElement("svg",Tt(Tt({ref:t,xmlns:"http://www.w3.org/2000/svg",width:null!=s?s:m,height:null!=s?s:m,fill:null!=i?i:h,viewBox:"0 0 256 256",transform:c||y?"scale(-1, 1)":void 0},g),f),!!o&&a().createElement("title",null,o),u,d.get(null!=l?l:C))}));kt.displayName="IconBase";var Zt=Object.defineProperty,Ht=Object.defineProperties,Rt=Object.getOwnPropertyDescriptors,jt=Object.getOwnPropertySymbols,Ft=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,It=(e,t,n)=>t in e?Zt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const _t=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),a().createElement("path",{d:"M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),Dt=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>Ht(e,Rt(t)))(((e,t)=>{for(var n in t||(t={}))Ft.call(t,n)&&It(e,n,t[n]);if(jt)for(var n of jt(t))Nt.call(t,n)&&It(e,n,t[n]);return e})({ref:t},e),{weights:_t}))));Dt.displayName="Info";var Vt=Object.defineProperty,Ut=Object.defineProperties,Bt=Object.getOwnPropertyDescriptors,qt=Object.getOwnPropertySymbols,zt=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable,Wt=(e,t,n)=>t in e?Vt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Qt=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),a().createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),Kt=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>Ut(e,Bt(t)))(((e,t)=>{for(var n in t||(t={}))zt.call(t,n)&&Wt(e,n,t[n]);if(qt)for(var n of qt(t))Gt.call(t,n)&&Wt(e,n,t[n]);return e})({ref:t},e),{weights:Qt}))));Kt.displayName="CheckCircle";var $t=Object.defineProperty,Jt=Object.defineProperties,Yt=Object.getOwnPropertyDescriptors,Xt=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,tn=Object.prototype.propertyIsEnumerable,nn=(e,t,n)=>t in e?$t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const rn=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm-12-80V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,172Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-8,56a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm-6-82V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,172Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm-4-84V80a4,4,0,0,1,8,0v56a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,172Z"}))]]),an=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>Jt(e,Yt(t)))(((e,t)=>{for(var n in t||(t={}))en.call(t,n)&&nn(e,n,t[n]);if(Xt)for(var n of Xt(t))tn.call(t,n)&&nn(e,n,t[n]);return e})({ref:t},e),{weights:rn}))));an.displayName="WarningCircle";var on=Object.defineProperty,sn=Object.defineProperties,ln=Object.getOwnPropertyDescriptors,cn=Object.getOwnPropertySymbols,un=Object.prototype.hasOwnProperty,dn=Object.prototype.propertyIsEnumerable,fn=(e,t,n)=>t in e?on(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const pn=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M180,128a12,12,0,0,1-12,12H88a12,12,0,0,1,0-24h80A12,12,0,0,1,180,128Zm56,0A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),a().createElement("path",{d:"M176,128a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,128Zm56,0A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm40,112H88a8,8,0,0,1,0-16h80a8,8,0,0,1,0,16Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M174,128a6,6,0,0,1-6,6H88a6,6,0,0,1,0-12h80A6,6,0,0,1,174,128Zm56,0A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176,128a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,128Zm56,0A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M172,128a4,4,0,0,1-4,4H88a4,4,0,0,1,0-8h80A4,4,0,0,1,172,128Zm56,0A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),hn=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>sn(e,ln(t)))(((e,t)=>{for(var n in t||(t={}))un.call(t,n)&&fn(e,n,t[n]);if(cn)for(var n of cn(t))dn.call(t,n)&&fn(e,n,t[n]);return e})({ref:t},e),{weights:pn}))));function mn(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=mn(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}hn.displayName="MinusCircle";var Cn=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=mn(e))&&(r&&(r+=" "),r+=t);return r};function yn(t){var n=t.className,r=t.status,a=t.feedback,o=t.CustomIcon,i=t.customFeedback,s=t.misspelledKeywords,l=t.tooltip,c=null!=o?o:En[r],d=null==s?void 0:s.filter((function(e){return"nbsp"!==e})).join(", ");return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:Cn("ntw-flex",n)},(0,e.createElement)(c,{size:20,className:Cn("ntw-mr-2 ntw-shrink-0",bn[r])}),(0,e.createElement)("div",{className:"ntw-flex ntw-grow ntw-flex-col ntw-text-sm ntw-text-typography-medium"},null!=i?i:a,d&&(0,e.createElement)("div",{className:"ntw-italic"},"".concat(d))),l&&(0,e.createElement)(u.Tooltip,{text:(0,e.createElement)("div",{style:{maxWidth:"200px",whiteSpace:"normal"}},l),position:"top"},(0,e.createElement)(Dt,{size:16,className:"ntw-ml-2 ntw-shrink-0 ntw-cursor-pointer ntw-text-typography-medium"}))))}var gn,vn,wn,bn={failed:"ntw-text-grade-error",success:"ntw-text-grade-success",warning:"ntw-text-grade-warning"},En={success:Kt,failed:an,warning:hn};!function(e){e.Unsatisfactory="Unsatisfactory",e.NeedsImprovement="Needs Improvement",e.Good="Good",e.Excellent="Excellent"}(wn||(wn={}));var xn=((gn={})[wn.Unsatisfactory]="#C5500E",gn[wn.NeedsImprovement]="#B99414",gn[wn.Good]="#59C300",gn[wn.Excellent]="#149B00",gn),Mn=function(e){if(e<0||e>100)throw new Error("Score must be between 0 and 100");return e<=25?wn.Unsatisfactory:e<=50?wn.NeedsImprovement:e<=75?wn.Good:wn.Excellent},Ln=((vn={})[wn.Unsatisfactory]="See below for some recommendations for how you could improve this work to meet SEO best practices.",vn[wn.NeedsImprovement]="See below for some recommendations for how you could improve this work to meet SEO best practices.",vn[wn.Good]="Good job! You could publish but some minor improvements could make it excellent!",vn[wn.Excellent]="Excellent work! Ready to publish.  The content is outstanding and meets the highest standards.",vn),Sn=function(e){return e.match(/http[s]?:\/\/(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*(),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+/g)||[]},An=function(e){return e.replace(/\\'/g,"'")},On=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))};function Tn(t){var n=t.score,r=t.className;if(void 0===n)return null;var a=Zn(n),o=a.fullStages,i=a.isPartialStage,s=Mn(n),l=xn[s];return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:Cn("ntw-flex ntw-gap-1",r)},On([],Array(kn),!0).map((function(t,n){return(0,e.createElement)("div",{key:n,className:"ntw-flex ntw-w-full"},On([],Array(2),!0).map((function(__,t){var r=2*n+t,a=Pn;return(r<o||r===o&&i)&&(a=l),(0,e.createElement)("div",{key:"".concat(n,"-").concat(t),className:Cn("ntw-h-[8px] ntw-w-full",0===t?"ntw-rounded-l-md":"ntw-rounded-r-md"),style:{backgroundColor:a}})})))}))),(0,e.createElement)("div",{className:"ntw-mt-1 ntw-w-full ntw-text-right ntw-text-xs ntw-font-medium ntw-text-typography-disabled"},s))}var Pn="#E5E5E5",kn=4,Zn=function(e){return{fullStages:Math.floor(e/12.5),isPartialStage:e%12.5>0}},Hn=window.wp.data;function Rn(t){var n=t.listInvalidUrls,r=(0,Hn.useSelect)((function(e){return e("core/block-editor").getBlocks()}),[]);return n&&0!==n.length?(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"ntw-text-sm ntw-font-semibold ntw-text-typography-medium"},"Check these URLs:"),null==n?void 0:n.map((function(t,n){return(0,e.createElement)(u.Tooltip,{placement:"top",text:"".concat(t),className:"ntw-cursor-pointer",key:n},(0,e.createElement)("button",{className:"ntw-mt-2 ntw-w-full ntw-truncate ntw-text-left ntw-text-xs ntw-text-typography-public-primary",onClick:function(){return function(e){var t="";if(r.forEach((function(n){var r=n.attributes.content;r&&r.includes(e)&&(t=n.clientId)})),t){var n=document.querySelector('[data-block="'.concat(t,'"]'));n&&n.scrollIntoView({behavior:"smooth",block:"center"})}}(t)}},"- ",t))}))):null}var jn=function(t){var n=t.keywords,r=t.maxKeywordsToShow,a=void 0===r?5:r,o=(0,e.useState)(!1),i=o[0],s=o[1];return(0,e.createElement)("div",{className:"ntw-mt-4"},(0,e.createElement)("div",{className:"ntw-mb-[12px] ntw-text-sm ntw-font-normal ntw-text-typography-dark"},"Keywords in use:"),(0,e.createElement)("div",{className:"ntw-relative ntw-flex ntw-flex-wrap ntw-gap-[8px] ntw-space-y-[2px] ntw-px-1 ntw-py-1",style:{maskImage:!i&&n.length>a?"linear-gradient(to bottom, black 50%, transparent 100%)":"unset"}},n.slice(0,i?n.length:a).map((function(t,n){return(0,e.createElement)("div",{key:n,className:Cn("ntw-w-fit ntw-rounded-[80px] ntw-bg-status-supernova-800 ntw-px-[12px] ntw-py-[8px] ntw-text-xs ntw-text-[#030B1B]",{"ntw-bg-opacity-50":!t.inUse},{"ntw-mr-1 ntw-ring-2 ntw-ring-status-supernova-800 ntw-ring-offset-1":t.inUse})},t.text)}))),n.length>a&&(0,e.createElement)("button",{onClick:function(){return s(!i)},className:"ntw-mt-2 ntw-text-sm ntw-font-bold ntw-text-typography-public-primary"},i?"See Less":"See More"))};function Fn(t){var n,r=t.title,a=t.gradeData,o=a?Object.entries(a).reduce((function(e,t){var n,r=t[0],a=t[1];return"score"!==r&&"listInvalidUrls"!==r&&"object"==typeof a&&(null===(n=a.usedKeywords)||void 0===n?void 0:n.length)?a.usedKeywords.map((function(e){return{text:An(e),inUse:!0}})):e}),[]):[];return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"ntw-text-sm ntw-font-semibold ntw-capitalize ntw-text-typography-medium"},r,":"),a&&Object.entries(a).map((function(t,n){var r=t[0],a=t[1];return"score"!==r&&"listInvalidUrls"!==r&&"object"==typeof a&&a.feedback&&"usedKeywords"!==r?(0,e.createElement)(e.Fragment,{key:n},(0,e.createElement)(yn,{misspelledKeywords:null==a?void 0:a.misspelledWords,status:a.meetsCriteria?"success":"failed",feedback:a.feedback,className:"ntw-mt-2",tooltip:a.helpText})):null})),o.length>0&&(0,e.createElement)(jn,{maxKeywordsToShow:3,keywords:o}),(0,e.createElement)(Tn,{score:null==a?void 0:a.score,className:"ntw-mt-4"}),(null===(n=null==a?void 0:a.length)||void 0===n?void 0:n.listInvalidUrls)&&(0,e.createElement)(Rn,{listInvalidUrls:a.length.listInvalidUrls}))}function Nn(t){var n=t.className,r=void 0===n?"ntw-my-4":n;return(0,e.createElement)("div",{className:Cn("ntw-h-px ntw-bg-elements-default",r)})}var In=Object.defineProperty,Dn=Object.defineProperties,Vn=Object.getOwnPropertyDescriptors,Un=Object.getOwnPropertySymbols,Bn=Object.prototype.hasOwnProperty,qn=Object.prototype.propertyIsEnumerable,zn=(e,t,n)=>t in e?In(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Gn=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M180,232a12,12,0,0,1-12,12H88a12,12,0,0,1,0-24h80A12,12,0,0,1,180,232Zm40-128a92.47,92.47,0,0,1-37,73.73,7.81,7.81,0,0,0-3,6.27,20,20,0,0,1-20,20H96a20,20,0,0,1-20-20v-.23a7.76,7.76,0,0,0-3.25-6.2,91.36,91.36,0,0,1-36.75-73C35.73,54.69,76,13.2,125.79,12A92,92,0,0,1,220,104Zm-24,0a68,68,0,0,0-69.65-68C89.56,36.89,59.8,67.56,60,104.39a67.52,67.52,0,0,0,27.18,54h0A32.14,32.14,0,0,1,99.77,180H116V149L87.51,120.49a12,12,0,0,1,17-17L128,127l23.51-23.51a12,12,0,0,1,17,17L140,149v31h16.25a31.89,31.89,0,0,1,12.41-21.49A67.45,67.45,0,0,0,196,104Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M208,104a79.86,79.86,0,0,1-30.59,62.92A24.29,24.29,0,0,0,168,186v6a8,8,0,0,1-8,8H96a8,8,0,0,1-8-8v-6a24.11,24.11,0,0,0-9.3-19A79.87,79.87,0,0,1,48,104.45C47.76,61.09,82.72,25,126.07,24A80,80,0,0,1,208,104Z",opacity:"0.2"}),a().createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.5C39.74,56.83,78.26,17.15,125.88,16A88,88,0,0,1,216,104Zm-16,0a72,72,0,0,0-73.74-72c-39,.92-70.47,33.39-70.26,72.39a71.64,71.64,0,0,0,27.64,56.3h0A32,32,0,0,1,96,186v6h24V147.31L90.34,117.66a8,8,0,0,1,11.32-11.32L128,132.69l26.34-26.35a8,8,0,0,1,11.32,11.32L136,147.31V192h24v-6a32.12,32.12,0,0,1,12.47-25.35A71.65,71.65,0,0,0,200,104Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.49C39.74,56.83,78.26,17.14,125.88,16A88,88,0,0,1,216,104Zm-50.34,2.34a8,8,0,0,0-11.32,0L128,132.69l-26.34-26.35a8,8,0,0,0-11.32,11.32L120,147.31V184a8,8,0,0,0,16,0V147.31l29.66-29.65A8,8,0,0,0,165.66,106.34Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M174,232a6,6,0,0,1-6,6H88a6,6,0,0,1,0-12h80A6,6,0,0,1,174,232Zm40-128a85.56,85.56,0,0,1-32.88,67.64A18.23,18.23,0,0,0,174,186v6a14,14,0,0,1-14,14H96a14,14,0,0,1-14-14v-6a18,18,0,0,0-7-14.23h0a85.59,85.59,0,0,1-33-67.25C41.74,57.91,79.39,19.12,125.93,18A86,86,0,0,1,214,104Zm-12,0a74,74,0,0,0-75.79-74C86.17,31,53.78,64.34,54,104.42a73.67,73.67,0,0,0,28.4,57.87A29.92,29.92,0,0,1,94,186v6a2,2,0,0,0,2,2h26V146.49L91.76,116.24a6,6,0,0,1,8.48-8.48L128,135.52l27.76-27.76a6,6,0,0,1,8.48,8.48L134,146.49V194h26a2,2,0,0,0,2-2v-6a30.18,30.18,0,0,1,11.7-23.78A73.59,73.59,0,0,0,202,104Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.5C39.74,56.83,78.26,17.15,125.88,16A88,88,0,0,1,216,104Zm-16,0a72,72,0,0,0-73.74-72c-39,.92-70.47,33.39-70.26,72.39a71.64,71.64,0,0,0,27.64,56.3h0A32,32,0,0,1,96,186v6h24V147.31L90.34,117.66a8,8,0,0,1,11.32-11.32L128,132.69l26.34-26.35a8,8,0,0,1,11.32,11.32L136,147.31V192h24v-6a32.12,32.12,0,0,1,12.47-25.35A71.65,71.65,0,0,0,200,104Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M172,232a4,4,0,0,1-4,4H88a4,4,0,0,1,0-8h80A4,4,0,0,1,172,232Zm40-128a83.59,83.59,0,0,1-32.11,66.06A20.2,20.2,0,0,0,172,186v6a12,12,0,0,1-12,12H96a12,12,0,0,1-12-12v-6a20,20,0,0,0-7.76-15.81A83.58,83.58,0,0,1,44,104.47C43.75,59,80.52,21.09,126,20a84,84,0,0,1,86,84Zm-8,0a76,76,0,0,0-77.84-76C85,29,51.77,63.27,52,104.43a75.62,75.62,0,0,0,29.17,59.43A28,28,0,0,1,92,186v6a4,4,0,0,0,4,4h28V145.66L93.17,114.83a4,4,0,0,1,5.66-5.66L128,138.34l29.17-29.17a4,4,0,1,1,5.66,5.66L132,145.66V196h28a4,4,0,0,0,4-4v-6a28.14,28.14,0,0,1,10.94-22.2A75.62,75.62,0,0,0,204,104Z"}))]]),Wn=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>Dn(e,Vn(t)))(((e,t)=>{for(var n in t||(t={}))Bn.call(t,n)&&zn(e,n,t[n]);if(Un)for(var n of Un(t))qn.call(t,n)&&zn(e,n,t[n]);return e})({ref:t},e),{weights:Gn}))));Wn.displayName="LightbulbFilament";var Qn={primary:["ntw-bg-button-default ntw-text-typography-light","hover:ntw-bg-button-hover"],secondary:["ntw-ring-button-default ntw-text-button-default ntw-ring-1","hover:ntw-ring-button-hover hover:ntw-text-button-hover"]},Kn="ntw-cursor-not-allowed ntw-opacity-50";function $n(t){var n=t.variant,r=void 0===n?"primary":n,a=t.onClick,o=t.children,i=t.size,s=void 0===i?500:i,l=t.className,c=t.disabled;return(0,e.createElement)("button",{disabled:c,type:"button",onClick:a,className:Cn("ntw-appearance-none ntw-rounded ntw-text-base ntw-font-medium ntw-leading-4",Qn[r],{"ntw-p-16px":500===s,"ntw-px-16px ntw-py-8px":300===s},c&&Kn,l)},o)}function Jn(t){var n=t.className,r=t.onClick;return(0,e.createElement)($n,{className:Cn("ntw-w-full",n),onClick:function(){return r()}},(0,e.createElement)("div",{className:"ntw-flex ntw-justify-center ntw-gap-2"},"Highlight suggestion",(0,e.createElement)(Wn,{size:16})))}function Yn(t){var n=t.className,r=t.strokeColor,a=void 0===r?"currentColor":r;return(0,e.createElement)("svg",{className:Cn("ntw-h-5 ntw-w-5 ntw-animate-spin ntw-text-gravity-600",n),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},(0,e.createElement)("circle",{className:"ntw-opacity-25",cx:"12",cy:"12",r:"10",stroke:a,strokeWidth:"4"}),(0,e.createElement)("path",{className:"ntw-opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"}))}function Xn(t){var n,r=t.status,a=t.children,o=t.title,i=t.initialOpen,s=void 0!==i&&i;return t.loading?n=function(){return(0,e.createElement)(Yn,{className:"ntw-mr-2",strokeColor:"#99D1D2"})}:r&&(n=ir[r]),(0,e.createElement)(u.PanelBody,{className:"[&>h2>button>svg]:ntw-text-[#FFFFFF] [&>h2>button]:ntw-flex-row-reverse [&>h2>button]:ntw-justify-end",icon:n&&(0,e.createElement)(n,{size:20,style:{marginLeft:"0",marginRight:"0.5rem"}}),title:o,initialOpen:s},a)}var er,tr,nr,rr,ar,or,ir={success:function(t){var n=t.className,r=t.style,a=t.size,o=t.color,i=void 0===o?"#09A337":o;return(0,e.createElement)("svg",{width:a,height:a,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,style:r},(0,e.createElement)("path",{d:"M3.40625 12.5938C2.83125 12.0188 3.2125 10.8125 2.91875 10.1062C2.625 9.4 1.5 8.78125 1.5 8C1.5 7.21875 2.6125 6.625 2.91875 5.89375C3.225 5.1625 2.83125 3.98125 3.40625 3.40625C3.98125 2.83125 5.1875 3.2125 5.89375 2.91875C6.6 2.625 7.21875 1.5 8 1.5C8.78125 1.5 9.375 2.6125 10.1062 2.91875C10.8375 3.225 12.0188 2.83125 12.5938 3.40625C13.1687 3.98125 12.7875 5.1875 13.0813 5.89375C13.375 6.6 14.5 7.21875 14.5 8C14.5 8.78125 13.3875 9.375 13.0813 10.1062C12.775 10.8375 13.1687 12.0188 12.5938 12.5938C12.0188 13.1687 10.8125 12.7875 10.1062 13.0813C9.4 13.375 8.78125 14.5 8 14.5C7.21875 14.5 6.625 13.3875 5.89375 13.0813C5.1625 12.775 3.98125 13.1687 3.40625 12.5938Z",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.createElement)("path",{d:"M10.75 6.5L7.08125 10L5.25 8.25",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}))},failed:function(t){var n=t.className,r=t.style,a=t.size,o=t.color,i=void 0===o?"#D83E35":o;return(0,e.createElement)("svg",{width:a,height:a,className:n,style:r,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M3.40625 12.5938C2.83125 12.0188 3.2125 10.8125 2.91875 10.1062C2.625 9.4 1.5 8.78125 1.5 8C1.5 7.21875 2.6125 6.625 2.91875 5.89375C3.225 5.1625 2.83125 3.98125 3.40625 3.40625C3.98125 2.83125 5.1875 3.2125 5.89375 2.91875C6.6 2.625 7.21875 1.5 8 1.5C8.78125 1.5 9.375 2.6125 10.1062 2.91875C10.8375 3.225 12.0188 2.83125 12.5938 3.40625C13.1687 3.98125 12.7875 5.1875 13.0813 5.89375C13.375 6.6 14.5 7.21875 14.5 8C14.5 8.78125 13.3875 9.375 13.0813 10.1062C12.775 10.8375 13.1687 12.0188 12.5938 12.5938C12.0188 13.1687 10.8125 12.7875 10.1062 13.0813C9.4 13.375 8.78125 14.5 8 14.5C7.21875 14.5 6.625 13.3875 5.89375 13.0813C5.1625 12.775 3.98125 13.1687 3.40625 12.5938Z",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.createElement)("path",{d:"M8 5V8.5",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.createElement)("path",{d:"M8 11.5C8.41421 11.5 8.75 11.1642 8.75 10.75C8.75 10.3358 8.41421 10 8 10C7.58579 10 7.25 10.3358 7.25 10.75C7.25 11.1642 7.58579 11.5 8 11.5Z",fill:i}))},warning:function(t){var n=t.className,r=t.style,a=t.size,o=t.color,i=void 0===o?"#A1BE03":o;return(0,e.createElement)("svg",{width:a,height:a,className:n,style:r,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M3.40625 12.5938C2.83125 12.0188 3.2125 10.8125 2.91875 10.1062C2.625 9.4 1.5 8.78125 1.5 8C1.5 7.21875 2.6125 6.625 2.91875 5.89375C3.225 5.1625 2.83125 3.98125 3.40625 3.40625C3.98125 2.83125 5.1875 3.2125 5.89375 2.91875C6.6 2.625 7.21875 1.5 8 1.5C8.78125 1.5 9.375 2.6125 10.1062 2.91875C10.8375 3.225 12.0188 2.83125 12.5938 3.40625C13.1687 3.98125 12.7875 5.1875 13.0813 5.89375C13.375 6.6 14.5 7.21875 14.5 8C14.5 8.78125 13.3875 9.375 13.0813 10.1062C12.775 10.8375 13.1687 12.0188 12.5938 12.5938C12.0188 13.1687 10.8125 12.7875 10.1062 13.0813C9.4 13.375 8.78125 14.5 8 14.5C7.21875 14.5 6.625 13.3875 5.89375 13.0813C5.1625 12.775 3.98125 13.1687 3.40625 12.5938Z",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.createElement)("path",{d:"M5.5 8H10.5",stroke:i,strokeWidth:"0.99",strokeLinecap:"round",strokeLinejoin:"round"}))}};!function(e){e.Text="text",e.File="file",e.Url="url"}(tr||(tr={})),function(e){e.length="length",e.keywords="keywords",e.readability="readability",e.spelling="spelling"}(nr||(nr={})),function(e){e.headline="headline",e.metaDescription="metaDescription",e.metaTitle="metaTitle",e.slug="slug",e.contentReadability="contentReadability",e.url="url"}(rr||(rr={})),function(e){e.Headline="headline",e.MetaTitle="meta_title",e.Slug="slug",e.MetaDescription="meta_description",e.Excerpt="excerpt",e.Tags="tags",e.Social="social"}(ar||(ar={})),function(e){e.Headlines="Headlines",e.Excerpt="Excerpt",e.Tags="Tags",e.MetaTitle="Page Title",e.MetaDescription="Meta Description",e.Slugs="Slugs",e.Keywords="Keywords",e.Summary="Summary",e.Facebook="Facebook",e.Instagram="Instagram",e.Twitter="X",e.LinkedIn="LinkedIn",e.TikTok="TikTok",e.Threads="Threads",e.SMS="SMS",e.Quotes="Quotes"}(or||(or={}));var sr,lr,cr=((er={})[or.Headlines]=ar.Headline,er[or.Excerpt]=ar.Excerpt,er[or.Tags]=ar.Tags,er[or.MetaTitle]=ar.MetaTitle,er[or.MetaDescription]=ar.MetaDescription,er[or.Slugs]=ar.Slug,er),ur=function(e,t){if(e){for(var n=0,r=0,a=0,o=t;a<o.length;a++){var i=e[o[a]];null!=i&&"object"==typeof i&&"score"in i&&(n+=i.score,r++)}if(0!==r){var s=n/r;return s<50?"failed":s<80?"warning":"success"}}},dr=function(e){var t=0,n=0;if(!e)return[n,t];for(var r in e)if(e.hasOwnProperty(r)){var a=e[r];if(a&&"object"==typeof a)for(var o in a)if(a.hasOwnProperty(o)){var i=a[o];"object"==typeof i&&null!==i&&"meetsCriteria"in i&&(t+=1,i.meetsCriteria&&(n+=1))}}return[n,t]},fr=function(e,t){var n=document.querySelector(e);n&&("selected"===n.getAttribute("data-headlessui-state")||n.click(),setTimeout((function(){var e=document.getElementById(t);e&&(e.scrollIntoView({behavior:"smooth"}),e.classList.add("nota-highlight-bg"),setTimeout((function(){e.classList.remove("nota-highlight-bg")}),3e3))})))},pr=((sr={})[rr.url]=((lr={})[nr.length]=[{range:function(e,t){return 0===e},score:100,feedback:"All URL(s) mentioned in the content are valid.",meetsCriteria:!0},{range:function(e,t){return e===t},score:0,feedback:"All URL(s) in the content are invalid.",meetsCriteria:!1},{range:function(e,t){return 1===e},score:75,feedback:"1 Invalid URL present in the content.",meetsCriteria:!1},{range:function(e,t){return e/t>.5},score:25,feedback:"Many Invalid URL(s) present in the content.",meetsCriteria:!1},{range:function(e,__){return!0},score:50,feedback:"Invalid URL(s) present in the content.",meetsCriteria:!1}],lr),sr),hr="nota-analyze-btn",mr=function(e){return e.trim().split(/\s+/).length||0};function Cr(){return Cr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cr.apply(this,arguments)}var yr=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};function gr(t){var n=t.className,r=yr(t,["className"]);return(0,e.createElement)("div",Cr({className:Cn("ntw-animate-pulse ntw-rounded-md ntw-bg-gravity-200",n)},r))}function vr(t){var n=t.className;return(0,e.createElement)("div",{className:Cn("ntw-flex ntw-items-center ntw-space-x-4",n)},(0,e.createElement)(gr,{className:"ntw-h-12 ntw-w-12 ntw-shrink-0 ntw-rounded-full"}),(0,e.createElement)("div",{className:"ntw-space-y-2"},(0,e.createElement)(gr,{className:"ntw-h-4 ntw-w-[180px]"}),(0,e.createElement)(gr,{className:"ntw-h-4 ntw-w-[180px]"})))}var wr=function(){var e=(0,Hn.useSelect)((function(e){return e("nota/data").getKeywordSynonyms()}),[]),t=(0,Hn.useSelect)((function(e){return e("nota/data").getGrade()}),[]),n=(0,Hn.useSelect)((function(e){return e("nota/data").isGradeLoading()}),[]),r=(0,Hn.useSelect)((function(e){return e("nota/data").isUrlsLoading()}),[]),a=(0,Hn.useSelect)((function(e){return e("nota/data").getUrlsScore()}),[]),o=(0,Hn.useSelect)((function(e){return e("nota/data").isAnalyzePageLoading()}),[]),i=(0,Hn.useSelect)((function(e){return e("nota/data").getPostMetaData()}),[]),s=(0,Hn.useSelect)((function(e){return e("nota/data").getBrands()}),[]),l=(0,Hn.useSelect)((function(e){return e("nota/data").getSelectedBrand()}),[]),c=(0,Hn.useSelect)((function(e){return e("nota/data").getLoadingStates()}),[]),u=(0,Hn.useSelect)((function(e){return e("nota/data").getTones()}),[]),d=(0,Hn.useDispatch)("nota/data");return{keywordSynonyms:e,setKeywordsSynonyms:d.setKeywordsSynonyms,grade:t,setGrade:d.setGrade,gradeIsLoading:n,setGradeLoading:d.setGradeLoading,urlsScore:a,setUrlsScore:d.setUrlsScore,urlsLoading:r,setUrlsLoading:d.setUrlsLoading,analyzePageLoading:o,setAnalyzePageLoading:d.setAnalyzePageLoading,setPostMetaData:d.setPostMetaData,postMetaData:i,brands:s,setBrands:d.setBrands,selectedBrand:l,setSelectedBrand:d.setSelectedBrand,setLoadingState:d.setLoadingState,loadingStates:c,setCurrentTones:d.setCurrentTones,tones:u}};function br(){var t,n=wr(),r=n.grade,a=n.gradeIsLoading,o=r.data||{},i=o.contentReadability,s=o.headline,l=ur(r.data,[rr.contentReadability,rr.headline]);return t=a?(0,e.createElement)(vr,null):r?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(Fn,{title:"Content Readability",gradeData:i}),(0,e.createElement)(Nn,null),(0,e.createElement)(Fn,{title:"Headline",gradeData:s}),s&&s.score<=60&&(0,e.createElement)(Jn,{onClick:function(){return fr(".meta-tab-content","nota-headline")},className:"ntw-mt-2"})):(0,e.createElement)("div",{className:"ntw-text-xs ntw-text-typography-disabled"},'Please click on the "Get started" button to start the analysis.'),(0,e.createElement)(Xn,{loading:a,status:l,title:"Content Analysis"},t)}var Er=function(e){return"".concat("nota-").concat(e)};const xr=n(688).useSyncExternalStore,Mr="undefined"==typeof window||"Deno"in window;function Lr(){}function Sr(e){return"number"==typeof e&&e>=0&&e!==1/0}function Ar(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Or(e,t,n){return Vr(e)?"function"==typeof t?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function Tr(e,t,n){return Vr(e)?[{...t,queryKey:e},n]:[e||{},t]}function Pr(e,t){const{type:n="all",exact:r,fetchStatus:a,predicate:o,queryKey:i,stale:s}=e;if(Vr(i))if(r){if(t.queryHash!==Zr(i,t.options))return!1}else if(!Rr(t.queryKey,i))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return!("boolean"==typeof s&&t.isStale()!==s||void 0!==a&&a!==t.state.fetchStatus||o&&!o(t))}function kr(e,t){const{exact:n,fetching:r,predicate:a,mutationKey:o}=e;if(Vr(o)){if(!t.options.mutationKey)return!1;if(n){if(Hr(t.options.mutationKey)!==Hr(o))return!1}else if(!Rr(t.options.mutationKey,o))return!1}return!("boolean"==typeof r&&"loading"===t.state.status!==r||a&&!a(t))}function Zr(e,t){return((null==t?void 0:t.queryKeyHashFn)||Hr)(e)}function Hr(e){return JSON.stringify(e,((e,t)=>_r(t)?Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{}):t))}function Rr(e,t){return jr(e,t)}function jr(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((n=>!jr(e[n],t[n])))}function Fr(e,t){if(e===t)return e;const n=Ir(e)&&Ir(t);if(n||_r(e)&&_r(t)){const r=n?e.length:Object.keys(e).length,a=n?t:Object.keys(t),o=a.length,i=n?[]:{};let s=0;for(let r=0;r<o;r++){const o=n?r:a[r];i[o]=Fr(e[o],t[o]),i[o]===e[o]&&s++}return r===o&&s===r?e:i}return t}function Nr(e,t){if(e&&!t||t&&!e)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Ir(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function _r(e){if(!Dr(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!Dr(n)&&!!n.hasOwnProperty("isPrototypeOf")}function Dr(e){return"[object Object]"===Object.prototype.toString.call(e)}function Vr(e){return Array.isArray(e)}function Ur(e){return new Promise((t=>{setTimeout(t,e)}))}function Br(e){Ur(0).then(e)}function qr(e,t,n){return null!=n.isDataEqual&&n.isDataEqual(e,t)?e:"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?Fr(e,t):t}const zr=console,Gr=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()};const a=r=>{t?e.push(r):Br((()=>{n(r)}))};return{batch:a=>{let o;t++;try{o=a()}finally{t--,t||(()=>{const t=e;e=[],t.length&&Br((()=>{r((()=>{t.forEach((e=>{n(e)}))}))}))})()}return o},batchCalls:e=>(...t)=>{a((()=>{e(...t)}))},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e}}}();class Wr{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Sr(this.cacheTime)&&(this.gcTimeout=setTimeout((()=>{this.optionalRemove()}),this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:Mr?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class Qr{constructor(){this.listeners=[],this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.push(e),this.onSubscribe(),()=>{this.listeners=this.listeners.filter((t=>t!==e)),this.onUnsubscribe()}}hasListeners(){return this.listeners.length>0}onSubscribe(){}onUnsubscribe(){}}const Kr=new class extends Qr{constructor(){super(),this.setup=e=>{if(!Mr&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){this.focused=e,e&&this.onFocus()}onFocus(){this.listeners.forEach((e=>{e()}))}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}},$r=new class extends Qr{constructor(){super(),this.setup=e=>{if(!Mr&&window.addEventListener){const t=()=>e();return window.addEventListener("online",t,!1),window.addEventListener("offline",t,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((e=>{"boolean"==typeof e?this.setOnline(e):this.onOnline()}))}setOnline(e){this.online=e,e&&this.onOnline()}onOnline(){this.listeners.forEach((e=>{e()}))}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}};function Jr(e){return Math.min(1e3*2**e,3e4)}function Yr(e){return"online"!==(null!=e?e:"online")||$r.isOnline()}class Xr{constructor(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}}function ea(e){return e instanceof Xr}function ta(e){let t,n,r,a=!1,o=0,i=!1;const s=new Promise(((e,t)=>{n=e,r=t})),l=()=>!Kr.isFocused()||"always"!==e.networkMode&&!$r.isOnline(),c=r=>{i||(i=!0,null==e.onSuccess||e.onSuccess(r),null==t||t(),n(r))},u=n=>{i||(i=!0,null==e.onError||e.onError(n),null==t||t(),r(n))},d=()=>new Promise((n=>{t=e=>{const t=i||!l();return t&&n(e),t},null==e.onPause||e.onPause()})).then((()=>{t=void 0,i||null==e.onContinue||e.onContinue()})),f=()=>{if(i)return;let t;try{t=e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(c).catch((t=>{var n,r;if(i)return;const s=null!=(n=e.retry)?n:3,c=null!=(r=e.retryDelay)?r:Jr,p="function"==typeof c?c(o,t):c,h=!0===s||"number"==typeof s&&o<s||"function"==typeof s&&s(o,t);!a&&h?(o++,null==e.onFail||e.onFail(o,t),Ur(p).then((()=>{if(l())return d()})).then((()=>{a?u(t):f()}))):u(t)}))};return Yr(e.networkMode)?f():d().then(f),{promise:s,cancel:t=>{i||(u(new Xr(t)),null==e.abort||e.abort())},continue:()=>(null==t?void 0:t())?s:Promise.resolve(),cancelRetry:()=>{a=!0},continueRetry:()=>{a=!1}}}class na extends Wr{constructor(e){super(),this.defaultOptions=e.defaultOptions,this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||zr,this.observers=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter((t=>t!==e)),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var e,t;return null!=(e=null==(t=this.retryer)?void 0:t.continue())?e:this.execute()}async execute(){const e=()=>{var e;return this.retryer=ta({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},t="loading"===this.state.status;try{var n,r,a,o,i,s,l,c;if(!t){var u,d,f,p;this.dispatch({type:"loading",variables:this.options.variables}),await(null==(u=(d=this.mutationCache.config).onMutate)?void 0:u.call(d,this.state.variables,this));const e=await(null==(f=(p=this.options).onMutate)?void 0:f.call(p,this.state.variables));e!==this.state.context&&this.dispatch({type:"loading",context:e,variables:this.state.variables})}const h=await e();return await(null==(n=(r=this.mutationCache.config).onSuccess)?void 0:n.call(r,h,this.state.variables,this.state.context,this)),await(null==(a=(o=this.options).onSuccess)?void 0:a.call(o,h,this.state.variables,this.state.context)),await(null==(i=(s=this.mutationCache.config).onSettled)?void 0:i.call(s,h,null,this.state.variables,this.state.context,this)),await(null==(l=(c=this.options).onSettled)?void 0:l.call(c,h,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:h}),h}catch(e){try{var h,m,C,y,g,v,w,b;throw await(null==(h=(m=this.mutationCache.config).onError)?void 0:h.call(m,e,this.state.variables,this.state.context,this)),await(null==(C=(y=this.options).onError)?void 0:C.call(y,e,this.state.variables,this.state.context)),await(null==(g=(v=this.mutationCache.config).onSettled)?void 0:g.call(v,void 0,e,this.state.variables,this.state.context,this)),await(null==(w=(b=this.options).onSettled)?void 0:w.call(b,void 0,e,this.state.variables,this.state.context)),e}finally{this.dispatch({type:"error",error:e})}}}dispatch(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"loading":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!Yr(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"};case"setState":return{...t,...e.state}}})(this.state),Gr.batch((()=>{this.observers.forEach((t=>{t.onMutationUpdate(e)})),this.mutationCache.notify({mutation:this,type:"updated",action:e})}))}}class ra extends Qr{constructor(e,t){super(),this.client=e,this.setOptions(t),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;const n=this.options;this.options=this.client.defaultMutationOptions(e),Nr(n,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(t=this.currentMutation)||t.setOptions(this.options)}onUnsubscribe(){var e;this.listeners.length||null==(e=this.currentMutation)||e.removeObserver(this)}onMutationUpdate(e){this.updateResult();const t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==e?e:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){const e=this.currentMutation?this.currentMutation.state:{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0},t={...e,isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset};this.currentResult=t}notify(e){Gr.batch((()=>{var t,n,r,a;if(this.mutateOptions&&this.hasListeners())if(e.onSuccess)null==(t=(n=this.mutateOptions).onSuccess)||t.call(n,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(r=(a=this.mutateOptions).onSettled)||r.call(a,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context);else if(e.onError){var o,i,s,l;null==(o=(i=this.mutateOptions).onError)||o.call(i,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(s=(l=this.mutateOptions).onSettled)||s.call(l,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context)}e.listeners&&this.listeners.forEach((e=>{e(this.currentResult)}))}))}}function aa(e,t){return"function"==typeof e?e(...t):!!e}function oa(e,t,n){const a=function(e,t,n){return Vr(e)?"function"==typeof t?{...n,mutationKey:e,mutationFn:t}:{...t,mutationKey:e}:"function"==typeof e?{...t,mutationFn:e}:{...e}}(e,t,n),o=l({context:a.context}),[i]=r.useState((()=>new ra(o,a)));r.useEffect((()=>{i.setOptions(a)}),[i,a]);const s=xr(r.useCallback((e=>i.subscribe(Gr.batchCalls(e))),[i]),(()=>i.getCurrentResult()),(()=>i.getCurrentResult())),c=r.useCallback(((e,t)=>{i.mutate(e,t).catch(ia)}),[i]);if(s.error&&aa(i.options.useErrorBoundary,[s.error]))throw s.error;return{...s,mutate:c,mutateAsync:s.mutate}}function ia(){}var sa=function(t){var n=t.initialItem,r=t.key,a=t.serialize,o=wr(),i=o.setPostMetaData,s=o.postMetaData[r],l=(0,e.useState)(n)[0],c=(0,e.useMemo)((function(){var e="string"==typeof s&&s.length;if(a&&e)try{var t=JSON.parse(s);return ua.includes(r)&&(la(t)||ca(t))?la(t)?{values:t,tone:null}:ca(t)?t.map((function(e){return{values:e,tone:null}})):t:t}catch(e){return lt.error(e),null}return s}),[r,s,a]),u=null!=c?c:l,d=(0,e.useCallback)((function(e){var t,n=a?JSON.stringify(e):e;i(((t={})[r]=n,t))}),[r,a,i]);return{data:u,update:d}},la=function(e){return Array.isArray(e)&&e.length&&e.every((function(e){return"string"==typeof e}))},ca=function(e){return Array.isArray(e)&&e.length&&e.every((function(e){return null===e||Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}))},ua=["nota_excerpt_history","nota_headline_history","nota_quotes_history","nota_slug_history","nota_seo_desc_history","nota_seo_title_history","nota_hashtags_history","nota_social_post_facebook_history","nota_social_post_instagram_history","nota_social_post_linkedin_history","nota_social_post_threads_history","nota_social_post_tiktok_history","nota_social_post_twitter_history","nota_tag_history","nota_selected_hashtags","nota_sms_history","nota_grade_scores_history","nota_urls_score_history","nota_summary_history","nota_keywords_synonyms_history"],da=function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))},fa=function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},pa=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},ha=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},ma=function(e){return 0===Object.keys(e).length},Ca=function(e){return Array.isArray(e)?e[0]:e},ya=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},ga=function(t){var n=t.initialItems,r=t.key,a=sa({key:r,serialize:!0}),o=a.update,i=n?[n]:[],s=(0,e.useState)(a.data||i),l=s[0],c=s[1],u=(0,e.useState)(l.length?l.length-1:-1),d=u[0],f=u[1];(0,e.useEffect)((function(){o(l)}),[l,o]);var p=l.length,h=d<p-1,m=d>0,C=(0,e.useCallback)((function(){h&&f((function(e){return e+1}))}),[h,f]),y=(0,e.useCallback)((function(){m&&f((function(e){return e-1}))}),[m,f]),g=(0,e.useCallback)((function(e){c((function(t){var n=ya([],t,!0);return n.splice(d,1,e),n}))}),[d,c]),v=(0,e.useCallback)((function(e){c((function(t){return ya(ya([],t,!0),[e],!1)}))}),[]);(0,e.useEffect)((function(){f(l.length-1)}),[l.length]);var w=(0,e.useCallback)((function(e){c([e]),f(0)}),[c]),b=(0,e.useMemo)((function(){return l.flat()}),[l]);return{replaceHistoryItem:w,addHistoryItem:v,data:l[d],history:{setHistoryIndex:f,hasNext:h,hasPrev:m,historyIndex:d,nextHistoryItem:C,prevHistoryItem:y,totalHistoryItems:p,fullHistory:b},update:g}},va=function(t,n){var r=t.fullHistory,a=t.setHistoryIndex,o=(0,e.useRef)(!1);(0,e.useEffect)((function(){if(!o.current&&0!==r.length){var e=r.findIndex((function(e){var t;return null===(t=e.values)||void 0===t?void 0:t.includes(n)}));-1!==e&&(a(e),o.current=!0)}}),[r,n,a])},wa=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},ba=function(t){var n=t.trackValue,r=t.revertFn,a=(0,e.useState)([]),o=a[0],i=a[1],s=(0,e.useState)([]),l=s[0],c=s[1],u=(0,e.useMemo)((function(){return o.find((function(e){return!l.includes(e)}))}),[o,l]),d=void 0!==u&&n!==u;return(0,e.useEffect)((function(){i((function(e){return wa([n],e,!0)}))}),[n]),{update:function(e){c((function(t){return wa([e],t,!0)}))},revert:d?function(){void 0!==u&&r(u)}:void 0}},Ea=Hn.useSelect,xa=function(){var e=(0,Hn.useDispatch)("core/editor").editPost,t=Ea((function(e){var t=e("core/editor");return{postTitle:t.getEditedPostAttribute("title"),postExcerpt:t.getEditedPostAttribute("excerpt"),postSlug:t.getEditedPostAttribute("slug"),postId:t.getCurrentPostId(),isPublished:t.isCurrentPostPublished()}})),n=t.postTitle,r=t.postExcerpt,a=t.postSlug,o=t.postId,i=t.isPublished,s=ba({trackValue:n,revertFn:function(t){e({title:t})}}),l=ba({trackValue:r,revertFn:function(t){e({excerpt:t})}}),c=ba({trackValue:a,revertFn:function(t){e({slug:t})}});return{editPostTitle:function(t){s.update(t),e({title:t})},editPostExcerpt:function(t){l.update(t),e({excerpt:t})},editPostSlug:function(t){c.update(t),e({slug:t})},isPublished:i,postExcerpt:r,postTitle:n,postSlug:a,postId:o,revertExcerpt:l.revert,revertTitle:s.revert,revertSlug:c.revert}},Ma=Hn.useSelect,La=function(){var e,t,n=(0,Hn.useDispatch)("yoast-seo/editor"),r=Ma((function(e){var t=e("yoast-seo/editor"),n=e("core/editor"),r=n.getEditedPostAttribute("meta"),a=null==t?void 0:t.getSnippetEditorData(),o=(null==r?void 0:r[window.notaTools.meta_keys.seo_title])||n.getEditedPostAttribute("title");return{yoastValues:a,metaValues:{description:null==r?void 0:r[window.notaTools.meta_keys.seo_desc],title:null==r?void 0:r[window.notaTools.meta_keys.seo_title]},metaDescription:(null==t?void 0:t.getDescription())||(null==r?void 0:r[window.notaTools.meta_keys.seo_desc]),seoTitleTemplate:null==t?void 0:t.getSeoTitleTemplate(),seoTitleFormatted:(null==t?void 0:t.getSeoTitle())||"".concat(o," ").concat(window.notaTools.post_title_suffix)}}),[]),a=(0,Hn.useDispatch)("core/editor"),o=ba({trackValue:r.metaValues.title,revertFn:function(e){var t;a.editPost({meta:(t={},t[window.notaTools.meta_keys.seo_title]=e,t)})}}),i=ba({trackValue:r.metaValues.description,revertFn:function(e){var t;a.editPost({meta:(t={},t[window.notaTools.meta_keys.seo_desc]=e,t)})}}),s=ba({trackValue:null===(e=r.yoastValues)||void 0===e?void 0:e.title,revertFn:function(e){null==n||n.updateData({title:e}).catch(lt.error)}}),l=ba({trackValue:null===(t=r.yoastValues)||void 0===t?void 0:t.description,revertFn:function(e){null==n||n.updateData({description:e}).catch(lt.error)}});return{editMetaDescription:function(e){var t;a.editPost({meta:(t={},t[window.notaTools.meta_keys.seo_desc]=e,t)}).catch(lt.error),i.update(e),null==n||n.updateData({description:e}).catch(lt.error),l.update(e)},editMetaTitle:function(e){var t,i;a.editPost({meta:(t={},t[window.notaTools.meta_keys.seo_title]=e,t)}).catch(lt.error),o.update(e);var l=((null===(i=null==r?void 0:r.seoTitleTemplate)||void 0===i?void 0:i.includes("%%title%%"))?null==r?void 0:r.seoTitleTemplate:"%%title%% %%page%% %%sep%% %%sitename%%").replace("%%title%%",e);null==n||n.updateData({title:l}).catch(lt.error),s.update(l)},metaDescription:r.metaValues.description,metaTitle:r.metaValues.title,metaTitleFormatted:r.seoTitleFormatted,revertMetaDescription:i.revert?function(){var e,t;null===(e=l.revert)||void 0===e||e.call(l),null===(t=i.revert)||void 0===t||t.call(i)}:void 0,revertMetaTitle:o.revert?function(){var e,t;null===(e=s.revert)||void 0===e||e.call(s),null===(t=o.revert)||void 0===t||t.call(o)}:void 0}},Sa=function(){return Sa=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Sa.apply(this,arguments)},Aa=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},Oa=function(t){var n=t.notaService,r=t.components,a=t.requestsToQueue,o=wr(),i=o.setKeywordsSynonyms,s=o.setAnalyzePageLoading,l=o.selectedBrand,c=window.notaTools.meta_keys,u=ga({key:c.excerpt_history}),d=ga({key:c.social_hashtags_history}),f=ga({key:c.headline_history}),p=ga({key:c.slug_history}),h=ga({key:c.tag_history}),m=ga({key:c.seo_desc_history}),C=ga({key:c.seo_title_history}),y=ga({key:c.social_post_facebook_history}),g=ga({key:c.social_post_instagram_history}),v=ga({key:c.social_post_linkedin_history}),w=ga({key:c.social_post_threads_history}),b=ga({key:c.social_post_tiktok_history}),E=ga({key:c.social_post_twitter_history}),x=ga({key:c.sms_history}),M=ga({key:c.quotes_history}),L=ga({key:c.keywords_synonyms_history});(0,e.useEffect)((function(){i(L.data||{})}),[i,L.data]);var S=ga({key:c.summary_history}),A=sa({key:c.selected_hashtags,serialize:!0}),O=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getHashtags({postHTML:t,regenerate:r})},onSuccess:function(e){d.addHistoryItem({values:e.hashTags,tone:null})},retry:3}),T=O.mutate,P=Aa(O,["mutate"]),k=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getHeadlines({postHTML:t,count:3,regenerate:r,brandId:null==l?void 0:l.id,queue:a.headlines})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===f.history.fullHistory.length&&f.addHistoryItem({values:e.originalValues||[],tone:null}),f.addHistoryItem({values:e.headlines,tone:null==e?void 0:e.tone})},retry:3}),Z=k.mutate,H=Aa(k,["mutate"]),R=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSlugs({postHTML:t,count:3,regenerate:r})},onSuccess:function(e){p.addHistoryItem({values:e.slugs,tone:null})},retry:3}),j=R.mutate,F=Aa(R,["mutate"]),N=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getMetaDescriptions({postHTML:t,count:3,regenerate:r,brandId:null==l?void 0:l.id,queue:a.metaDescription})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===m.history.fullHistory.length&&m.addHistoryItem({values:e.originalValues||[],tone:null}),m.addHistoryItem({values:e.metaDescriptions,tone:null==e?void 0:e.tone})},retry:3}),I=N.mutate,_=Aa(N,["mutate"]),D=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getMetaTitles({postHTML:t,count:3,regenerate:r,brandId:null==l?void 0:l.id,queue:a.metaTitle})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===C.history.fullHistory.length&&C.addHistoryItem({values:e.originalValues||[],tone:null}),C.addHistoryItem({values:e.metaTitles,tone:null==e?void 0:e.tone})},retry:3}),V=D.mutate,U=Aa(D,["mutate"]),B=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getEntities({postHTML:t,regenerate:r,queue:a.entities})},onSuccess:function(e){h.addHistoryItem({values:e.entities,tone:null})},retry:3}),q=B.mutate,z=Aa(B,["mutate"]),G=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getKeywordSynonyms({postHTML:t,count:10,regenerate:r,queue:a.keywords})},onSuccess:function(e){var t=function(e){for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var a=r[n],o=a[0],i=a[1];t[o]=i.synonyms}return t}(e.keywordsData);L.addHistoryItem(t)},retry:3}),W=G.mutate,Q=Aa(G,["mutate"]),K=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"facebook",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===y.history.fullHistory.length&&y.addHistoryItem({values:e.originalValues||[],tone:null}),y.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),$=K.mutate,J=Aa(K,["mutate"]),Y=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"instagram",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===g.history.fullHistory.length&&g.addHistoryItem({values:e.originalValues||[],tone:null}),g.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),X=Y.mutate,ee=Aa(Y,["mutate"]),te=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"linkedIn",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===v.history.fullHistory.length&&v.addHistoryItem({values:e.originalValues||[],tone:null}),v.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),ne=te.mutate,re=Aa(te,["mutate"]),ae=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"threads",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===w.history.fullHistory.length&&w.addHistoryItem({values:e.originalValues||[],tone:null}),w.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),oe=ae.mutate,ie=Aa(ae,["mutate"]),se=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"tiktok",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===b.history.fullHistory.length&&b.addHistoryItem({values:e.originalValues||[],tone:null}),b.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),le=se.mutate,ce=Aa(se,["mutate"]),ue=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSocialPosts({postHTML:t,platform:"twitter",regenerate:r,queue:a.socialPosts,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===E.history.fullHistory.length&&E.addHistoryItem({values:e.originalValues||[],tone:null}),E.addHistoryItem({values:e.posts,tone:null==e?void 0:e.tone})},retry:3}),de=ue.mutate,fe=Aa(ue,["mutate"]),pe=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSummary({postHTML:t,lengthOption:"1-sentence",regenerate:r,brandId:null==l?void 0:l.id,queue:a.summary})},onSuccess:function(e){u.addHistoryItem({values:[e.summary],tone:null==e?void 0:e.tone})},retry:3}),he=pe.mutate,me=Aa(pe,["mutate"]),Ce=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate,a=e.count;return n.getSMS({postHTML:t,regenerate:r,count:a})},onSuccess:function(e){x.addHistoryItem({values:e.messages,tone:null})},retry:3}),ye=Ce.mutate,ge=Aa(Ce,["mutate"]),ve=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getQuotes({postHTML:t,regenerate:r,count:3,exclude:M.history.fullHistory.map((function(e){return e.values})).flat()})},onSuccess:function(e){M.addHistoryItem({values:e.quotes,tone:null})},retry:3}),we=ve.mutate,be=Aa(ve,["mutate"]),Ee=oa({mutationFn:function(e){var t=e.postHTML,r=e.regenerate;return n.getSummary({postHTML:t,lengthOption:"1-paragraph",regenerate:r,brandId:null==l?void 0:l.id})},onSuccess:function(e){var t;(null===(t=null==e?void 0:e.tone)||void 0===t?void 0:t.id)&&0===S.history.fullHistory.length&&S.addHistoryItem({values:e.originalValues||[],tone:null}),S.addHistoryItem({values:[e.summary],tone:null==e?void 0:e.tone})},retry:3}),xe=Ee.mutate,Me=Aa(Ee,["mutate"]),Le=(0,e.useCallback)((function(e){var t={hashtags:function(){return T({postHTML:e.postHTML})},headlines:function(){return Z({postHTML:e.postHTML})},slugs:function(){return j({postHTML:e.postHTML})},excerpt:function(){return he({postHTML:e.postHTML})},tags:function(){return q({postHTML:e.postHTML})},metaDescriptions:function(){return I({postHTML:e.postHTML})},metaTitles:function(){return V({postHTML:e.postHTML})},quotes:function(){return we({postHTML:e.postHTML})},socialPostsFacebook:function(){return $({postHTML:e.postHTML})},socialPostsInstagram:function(){return X({postHTML:e.postHTML})},socialPostsLinkedIn:function(){return ne({postHTML:e.postHTML})},socialPostsThreads:function(){return oe({postHTML:e.postHTML})},socialPostsTikTok:function(){return le({postHTML:e.postHTML})},socialPostsTwitter:function(){return de({postHTML:e.postHTML})},summary:function(){return xe({postHTML:e.postHTML})},sms:function(){return ye({postHTML:e.postHTML})},keywordSynonyms:function(){return W({postHTML:e.postHTML})}},n=Object.keys(r);(e.components||n).forEach((function(e){var n;r[e]&&(null===(n=t[e])||void 0===n||n.call(t))}))}),[r,T,Z,j,he,q,I,V,we,W,$,X,ne,oe,le,de,ye,xe]),Se=[P.isLoading,H.isLoading,F.isLoading,_.isLoading,U.isLoading,z.isLoading,Q.isLoading,me.isLoading,Me.isLoading].some((function(e){return e}));(0,e.useEffect)((function(){s(Se)}),[Se,s]);var Ae=xa(),Oe=Ae.postTitle,Te=Ae.postExcerpt,Pe=La(),ke=Pe.metaTitle,Ze=Pe.metaDescription;return va(f.history,Oe),va(C.history,ke),va(m.history,Ze),va(u.history,Te),{hashtags:Sa(Sa({error:P.error,isLoading:P.isLoading},d),{refresh:function(e){T({postHTML:e.postHTML,regenerate:!0})}}),headlines:Sa(Sa({error:H.error,isLoading:H.isLoading},f),{refresh:function(e){Z({postHTML:e.postHTML,regenerate:!0})}}),slugs:Sa(Sa({error:F.error,isLoading:F.isLoading},p),{refresh:function(e){j({postHTML:e.postHTML,regenerate:!0})}}),metaDescriptions:Sa(Sa({error:_.error,isLoading:_.isLoading},m),{refresh:function(e){I({postHTML:e.postHTML,regenerate:!0})}}),metaTitles:Sa(Sa({error:U.error,isLoading:U.isLoading},C),{refresh:function(e){V({postHTML:e.postHTML,regenerate:!0})}}),quotes:Sa(Sa({error:be.error,isLoading:be.isLoading},M),{refresh:function(e){we({postHTML:e.postHTML,regenerate:!0})}}),run:Le,excerpt:Sa(Sa({error:me.error,isLoading:me.isLoading},u),{refresh:function(e){he({postHTML:e.postHTML,regenerate:!0})}}),tags:Sa(Sa({error:z.error,isLoading:z.isLoading},h),{refresh:function(e){q({postHTML:e.postHTML,regenerate:!0})}}),socialPostsFacebook:Sa(Sa({error:J.error,isLoading:J.isLoading},y),{refresh:function(e){$({postHTML:e.postHTML,regenerate:!0})}}),socialPostsInstagram:Sa(Sa({error:ee.error,isLoading:ee.isLoading},g),{refresh:function(e){X({postHTML:e.postHTML,regenerate:!0})}}),socialPostsLinkedIn:Sa(Sa({error:re.error,isLoading:re.isLoading},v),{refresh:function(e){ne({postHTML:e.postHTML,regenerate:!0})}}),socialPostsThreads:Sa(Sa({error:ie.error,isLoading:ie.isLoading},w),{refresh:function(e){oe({postHTML:e.postHTML,regenerate:!0})}}),socialPostsTikTok:Sa(Sa({error:ce.error,isLoading:ce.isLoading},b),{refresh:function(e){le({postHTML:e.postHTML,regenerate:!0})}}),socialPostsTwitter:Sa(Sa({error:fe.error,isLoading:fe.isLoading},E),{refresh:function(e){de({postHTML:e.postHTML,regenerate:!0})}}),sms:Sa(Sa({error:ge.error,isLoading:ge.isLoading},x),{refresh:function(e){ye({postHTML:e.postHTML,regenerate:!0})}}),summary:Sa(Sa({error:Me.error,isLoading:Me.isLoading},S),{refresh:function(e){xe({postHTML:e.postHTML,regenerate:!0})}}),keywordSynonyms:Sa(Sa({error:Q.error,isLoading:Q.isLoading},L),{refresh:function(e){W({postHTML:e.postHTML,regenerate:!0})}}),selectedHashtags:A}};class Ta extends Qr{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.length&&(this.currentQuery.addObserver(this),Pa(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.listeners.length||this.destroy()}shouldFetchOnReconnect(){return ka(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ka(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=[],this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){const n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),Nr(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();const a=this.hasListeners();a&&Za(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!a||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();const o=this.computeRefetchInterval();!a||this.currentQuery===r&&this.options.enabled===n.enabled&&o===this.currentRefetchInterval||this.updateRefetchInterval(o)}getOptimisticResult(e){const t=this.client.getQueryCache().build(this.client,e);return this.createResult(t,e)}getCurrentResult(){return this.currentResult}trackResult(e){const t={};return Object.keys(e).forEach((n=>{Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),e[n])})})),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){const t=this.client.defaultQueryOptions(e),n=this.client.getQueryCache().build(this.client,t);return n.isFetchingOptimistic=!0,n.fetch().then((()=>this.createResult(n,t)))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then((()=>(this.updateResult(),this.currentResult)))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(Lr)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),Mr||this.currentResult.isStale||!Sr(this.options.staleTime))return;const e=Ar(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((()=>{this.currentResult.isStale||this.updateResult()}),e)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!Mr&&!1!==this.options.enabled&&Sr(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((()=>{(this.options.refetchIntervalInBackground||Kr.isFocused())&&this.executeFetch()}),this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){const n=this.currentQuery,r=this.options,a=this.currentResult,o=this.currentResultState,i=this.currentResultOptions,s=e!==n,l=s?e.state:this.currentQueryInitialState,c=s?this.currentResult:this.previousQueryResult,{state:u}=e;let d,{dataUpdatedAt:f,error:p,errorUpdatedAt:h,fetchStatus:m,status:C}=u,y=!1,g=!1;if(t._optimisticResults){const a=this.hasListeners(),o=!a&&Pa(e,t),i=a&&Za(e,n,t,r);(o||i)&&(m=Yr(e.options.networkMode)?"fetching":"paused",f||(C="loading")),"isRestoring"===t._optimisticResults&&(m="idle")}if(t.keepPreviousData&&!u.dataUpdatedAt&&null!=c&&c.isSuccess&&"error"!==C)d=c.data,f=c.dataUpdatedAt,C=c.status,y=!0;else if(t.select&&void 0!==u.data)if(a&&u.data===(null==o?void 0:o.data)&&t.select===this.selectFn)d=this.selectResult;else try{this.selectFn=t.select,d=t.select(u.data),d=qr(null==a?void 0:a.data,d,t),this.selectResult=d,this.selectError=null}catch(e){this.selectError=e}else d=u.data;if(void 0!==t.placeholderData&&void 0===d&&"loading"===C){let e;if(null!=a&&a.isPlaceholderData&&t.placeholderData===(null==i?void 0:i.placeholderData))e=a.data;else if(e="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.selectError=null}catch(e){this.selectError=e}void 0!==e&&(C="success",d=qr(null==a?void 0:a.data,e,t),g=!0)}this.selectError&&(p=this.selectError,d=this.selectResult,h=Date.now(),C="error");const v="fetching"===m,w="loading"===C,b="error"===C;return{status:C,fetchStatus:m,isLoading:w,isSuccess:"success"===C,isError:b,isInitialLoading:w&&v,data:d,dataUpdatedAt:f,error:p,errorUpdatedAt:h,failureCount:u.fetchFailureCount,failureReason:u.fetchFailureReason,errorUpdateCount:u.errorUpdateCount,isFetched:u.dataUpdateCount>0||u.errorUpdateCount>0,isFetchedAfterMount:u.dataUpdateCount>l.dataUpdateCount||u.errorUpdateCount>l.errorUpdateCount,isFetching:v,isRefetching:v&&!w,isLoadingError:b&&0===u.dataUpdatedAt,isPaused:"paused"===m,isPlaceholderData:g,isPreviousData:y,isRefetchError:b&&0!==u.dataUpdatedAt,isStale:Ha(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){const t=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,Nr(n,t))return;this.currentResult=n;const r={cache:!0};!1!==(null==e?void 0:e.listeners)&&(()=>{if(!t)return!0;const{notifyOnChangeProps:e}=this.options;if("all"===e||!e&&!this.trackedProps.size)return!0;const n=new Set(null!=e?e:this.trackedProps);return this.options.useErrorBoundary&&n.add("error"),Object.keys(this.currentResult).some((e=>{const r=e;return this.currentResult[r]!==t[r]&&n.has(r)}))})()&&(r.listeners=!0),this.notify({...r,...e})}updateQuery(){const e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;const t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){const t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||ea(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){Gr.batch((()=>{var t,n,r,a;if(e.onSuccess)null==(t=(n=this.options).onSuccess)||t.call(n,this.currentResult.data),null==(r=(a=this.options).onSettled)||r.call(a,this.currentResult.data,null);else if(e.onError){var o,i,s,l;null==(o=(i=this.options).onError)||o.call(i,this.currentResult.error),null==(s=(l=this.options).onSettled)||s.call(l,void 0,this.currentResult.error)}e.listeners&&this.listeners.forEach((e=>{e(this.currentResult)})),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})}))}}function Pa(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&ka(e,t,t.refetchOnMount)}function ka(e,t,n){if(!1!==t.enabled){const r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&Ha(e,t)}return!1}function Za(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&Ha(e,n)}function Ha(e,t){return e.isStaleByTime(t.staleTime)}const Ra=r.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),ja=r.createContext(!1),Fa=(ja.Provider,(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))});function Na(e,t,n){return function(e,t){const n=l({context:e.context}),a=r.useContext(ja),o=r.useContext(Ra),i=n.defaultQueryOptions(e);i._optimisticResults=a?"isRestoring":"optimistic",i.onError&&(i.onError=Gr.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=Gr.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=Gr.batchCalls(i.onSettled)),(e=>{e.suspense&&"number"!=typeof e.staleTime&&(e.staleTime=1e3)})(i),Fa(i,o),(e=>{r.useEffect((()=>{e.clearReset()}),[e])})(o);const[s]=r.useState((()=>new t(n,i))),c=s.getOptimisticResult(i);if(xr(r.useCallback((e=>a?()=>{}:s.subscribe(Gr.batchCalls(e))),[s,a]),(()=>s.getCurrentResult()),(()=>s.getCurrentResult())),r.useEffect((()=>{s.setOptions(i,{listeners:!1})}),[i,s]),((e,t,n)=>(null==e?void 0:e.suspense)&&((e,t)=>e.isLoading&&e.isFetching&&!t)(t,n))(i,c,a))throw((e,t,n)=>t.fetchOptimistic(e).then((({data:t})=>{null==e.onSuccess||e.onSuccess(t),null==e.onSettled||e.onSettled(t,null)})).catch((t=>{n.clearReset(),null==e.onError||e.onError(t),null==e.onSettled||e.onSettled(void 0,t)})))(i,s,o);if((({result:e,errorResetBoundary:t,useErrorBoundary:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&aa(n,[e.error,r]))({result:c,errorResetBoundary:o,useErrorBoundary:i.useErrorBoundary,query:s.getCurrentQuery()}))throw c.error;return i.notifyOnChangeProps?c:s.trackResult(c)}(Or(e,t,n),Ta)}var Ia={config:{defaultAIContentPolicy:"",defaultHeadlineCharacterMax:void 0,defaultLetterHeadlineCharacterMax:void 0,defaultBriefHeadlineCharacterMax:void 0,requestsToQueue:{entities:!1,keywords:!1,socialPosts:!1,metaTitle:!1,metaDescription:!1,headlines:!1,summary:!1,adjustTextTone:!1,relatedKeywords:!1,proof:!1}}},_a=function(){var e=Na({queryKey:["public-config"],queryFn:wt.getPublicConfig,placeholderData:Ia,staleTime:3e5}),t=e.data;return{isLoading:e.isLoading,config:(null==t?void 0:t.config)||Ia.config}},Da=Hn.useSelect;function Va(){var t=_a().config,n=Da((function(e){return e("core/editor").getEditedPostContent()}),[]),r=La(),a=r.metaDescription,o=r.metaTitle,i=xa(),s=i.postSlug,l=i.postTitle,c=wr().keywordSynonyms,u=Object.keys(c);return{nextPayload:(0,e.useMemo)((function(){return{content:n,headline:l,metaDescription:a,metaTitle:o,slug:s,urlsList:Sn(n),keywords:c,queue:t.requestsToQueue.proof}}),[n,l,a,o,s,c,t.requestsToQueue.proof]),keywords:u,postHTML:n}}var Ua={info:"ntw-bg-status-informational-100 ntw-text-status-informational-300",error:"ntw-bg-status-error-100 ntw-text-status-error-900"},Ba={error:an,info:Dt};function qa(t){var n=t.level,r=t.children,a=t.className,o=t.size,i=void 0===o?"large":o,s=Ba[n];return(0,e.createElement)("div",{className:Cn("ntw-flex ntw-items-center ntw-rounded-lg",Ua[n],a,{"ntw-p-24px":"large"===i,"ntw-p-8px ntw-text-xs":"small"===i})},(0,e.createElement)(s,{size:24,className:"ntw-mr-8px ntw-flex-shrink-0"}),(0,e.createElement)("div",{className:"ntw-flex-1"},r))}var za="Unknown error occurred.",Ga=function(e){var t;if(null===e||"object"!=typeof e||!("data"in e)||null===e.data||"object"!=typeof e.data||!("data"in e.data))return za;var n=(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.data)||[];if(!Array.isArray(n))return null;var r=n.find((function(e){return"object"==typeof e&&"code"in e&&"nota_error"===e.code&&"message"in e&&"string"==typeof e.message}));return(null==r?void 0:r.message)||za};function Wa(t){var n=t.isLoading,r=t.error,a=t.retry,o=t.children,i=t.size,s=void 0===i?"large":i;return(0,e.createElement)("div",null,n?"Loading...":(0,e.createElement)("div",null,r?(0,e.createElement)(qa,{level:"error",size:s},(0,e.createElement)("div",{className:"ntw-flex ntw-justify-between ntw-gap-16px"},(0,e.createElement)("div",null,Ga(r)),!!a&&(0,e.createElement)("button",{onClick:a,className:"ntw-font-bold ntw-uppercase ntw-tracking-wider"},"Retry"))):o))}function Qa(t){var n=t.className,r=t.color,a=void 0===r?"#39B105":r;return(0,e.createElement)("svg",{width:"38",height:"28",viewBox:"0 0 38 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("g",{filter:"url(#filter0_d_1_7)"},(0,e.createElement)("rect",{x:"6.32876",y:"4.44244",width:"27.3778",height:"12.4444",rx:"6.22222",transform:"rotate(10 6.32876 4.44244)",fill:a}),(0,e.createElement)("rect",{x:"11.8082",y:"9.19992",width:"14.9333",height:"4.97778",rx:"2.48889",transform:"rotate(10 11.8082 9.19992)",fill:"white"})),(0,e.createElement)("defs",null,(0,e.createElement)("filter",{id:"filter0_d_1_7",x:"0.174931",y:"-3.26744",width:"37.1085",height:"35.905",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},(0,e.createElement)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,e.createElement)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,e.createElement)("feOffset",null),(0,e.createElement)("feGaussianBlur",{stdDeviation:"2.48889"}),(0,e.createElement)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,e.createElement)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"}),(0,e.createElement)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1_7"}),(0,e.createElement)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1_7",result:"shape"}))))}function Ka(t){var n=t.className;return(0,e.createElement)("svg",{viewBox:"0 0 248 112",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("path",{d:"M35.5989 111.315C34.9668 111.292 34.4716 110.762 34.5008 110.13C34.5027 110.088 34.5046 110.046 34.5066 110.004C34.5367 109.37 35.0829 108.887 35.7166 108.927C36.3473 108.967 36.8262 109.509 36.7964 110.141C36.7954 110.163 36.7943 110.185 36.7933 110.208C36.7639 110.841 36.2327 111.337 35.5989 111.315Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M37.152 97.1852C36.5347 97.0623 36.1309 96.4651 36.2549 95.848C36.2629 95.8085 36.2709 95.769 36.2789 95.7295C36.4057 95.1029 37.0256 94.7083 37.649 94.8501C38.2623 94.9895 38.6485 95.5963 38.5237 96.2128C38.5196 96.2331 38.5155 96.2533 38.5114 96.2736C38.3852 96.8996 37.7782 97.31 37.152 97.1852Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M40.8792 83.3402C40.2916 83.12 39.9882 82.4694 40.2051 81.8806C40.2178 81.8461 40.2305 81.8117 40.2432 81.7772C40.4666 81.1731 41.1466 80.8786 41.7434 81.1207C42.3247 81.3564 42.6094 82.014 42.3918 82.6022C42.3859 82.6182 42.38 82.6341 42.3741 82.6501C42.1513 83.2535 41.4815 83.5659 40.8792 83.3402Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M47.3741 69.0182C46.8349 68.6983 46.649 68.0061 46.9627 67.4633C46.9782 67.4364 46.9938 67.4095 47.0093 67.3826C47.3346 66.821 48.0616 66.6471 48.6107 66.9931C49.1413 67.3273 49.3076 68.0233 48.9932 68.5658C48.9877 68.5754 48.9821 68.585 48.9765 68.5946C48.6516 69.1556 47.9317 69.3491 47.3741 69.0182Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M56.2176 56.0309C55.7418 55.6206 55.6787 54.9055 56.082 54.4238C56.0975 54.4053 56.1131 54.3867 56.1286 54.3682C56.5483 53.8677 57.2996 53.8223 57.7829 54.2619C58.2479 54.6848 58.2874 55.4048 57.8834 55.8864C57.4638 56.3864 56.7119 56.4572 56.2176 56.0309Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M67.1255 44.8236C66.7263 44.3346 66.7869 43.6141 67.2701 43.2079C67.2831 43.197 67.296 43.1861 67.3089 43.1753C67.8114 42.7533 68.5642 42.8418 68.9657 43.3607C69.3504 43.8579 69.2704 44.5725 68.7889 44.9766C68.2886 45.3962 67.5384 45.3294 67.1255 44.8236Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M79.764 35.7394C79.4528 35.1853 79.6363 34.4764 80.1871 34.1591C80.1958 34.154 80.2046 34.149 80.2134 34.1439C80.7831 33.8159 81.5125 34.0387 81.8194 34.62C82.1124 35.1748 81.9122 35.8681 81.3683 36.1809C80.8062 36.5042 80.0816 36.3048 79.764 35.7394Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M93.7407 29.0401C93.5268 28.4361 93.8427 27.7689 94.4457 27.5524C95.0638 27.3304 95.7461 27.6657 95.9493 28.2901L95.9569 28.3133C96.1512 28.9105 95.8306 29.5524 95.2394 29.7644C94.6339 29.9815 93.9637 29.6698 93.749 29.0634L93.7407 29.0401Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M108.639 24.9473C108.53 24.3105 108.955 23.7035 109.593 23.5968C110.238 23.4888 110.843 23.936 110.937 24.5834L110.942 24.613C111.032 25.2368 110.603 25.8161 109.981 25.9201C109.352 26.0253 108.752 25.6059 108.644 24.977L108.639 24.9473Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M124 23.5771C124 22.9261 124.528 22.3976 125.179 22.4064C125.829 22.4152 126.343 22.9567 126.326 23.6068L126.325 23.6385C126.309 24.2724 125.781 24.772 125.147 24.7635C124.514 24.7549 124 24.2422 124 23.6087V23.5771Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M139.358 24.9691C139.469 24.3238 140.087 23.8923 140.73 24.0178C141.363 24.1415 141.773 24.7588 141.647 25.3918L141.642 25.4208C141.518 26.0475 140.906 26.4515 140.279 26.3292C139.66 26.2086 139.247 25.6187 139.353 24.9979L139.358 24.9691Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M154.242 29.0904C154.462 28.4712 155.158 28.143 155.77 28.3815C156.366 28.6139 156.665 29.2886 156.436 29.8861L156.427 29.9081C156.197 30.5096 155.518 30.804 154.917 30.5704C154.332 30.3427 154.033 29.6822 154.242 29.0904Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M168.21 35.7875C168.532 35.2144 169.266 35.0116 169.827 35.3545C169.836 35.3603 169.846 35.3661 169.855 35.3719C170.397 35.7034 170.562 36.4153 170.237 36.9606C169.904 37.5182 169.174 37.698 168.62 37.3595C168.085 37.0323 167.902 36.3346 168.21 35.7875Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M180.836 44.872C181.251 44.364 182.005 44.2961 182.495 44.7309C182.509 44.7428 182.522 44.7548 182.536 44.7667C183.008 45.1852 183.05 45.9058 182.638 46.3837C182.212 46.879 181.46 46.9254 180.971 46.4923C180.5 46.0754 180.438 45.3593 180.836 44.872Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M191.736 56.0718C192.23 55.6455 192.979 55.7105 193.385 56.2215C193.401 56.2412 193.417 56.261 193.433 56.2808C193.823 56.7727 193.741 57.4855 193.255 57.8829C192.75 58.2956 192 58.2038 191.594 57.6934C191.203 57.2018 191.26 56.4821 191.736 56.0718Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M200.58 69.0462C201.137 68.7154 201.858 68.908 202.169 69.4773C202.184 69.5054 202.199 69.5335 202.215 69.5617C202.514 70.1124 202.31 70.7995 201.763 71.1049C201.197 71.4204 200.483 71.2084 200.173 70.6398C200.168 70.6291 200.162 70.6185 200.156 70.6079C199.856 70.0575 200.04 69.3661 200.58 69.0462Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M206.559 81.9158C207.158 81.6795 207.835 81.9803 208.052 82.5861C208.065 82.621 208.077 82.6558 208.09 82.6907C208.301 83.2815 207.992 83.9293 207.402 84.1439C206.798 84.3637 206.131 84.0452 205.914 83.44C205.908 83.4238 205.903 83.4075 205.897 83.3912C205.685 82.8009 205.975 82.146 206.559 81.9158Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M210.508 95.5887C211.133 95.4523 211.749 95.8519 211.871 96.4793C211.878 96.519 211.886 96.5587 211.894 96.5984C212.013 97.2166 211.604 97.8106 210.985 97.9283C210.358 98.0477 209.755 97.6324 209.634 97.0057C209.63 96.9852 209.626 96.9648 209.622 96.9443C209.502 96.3267 209.894 95.723 210.508 95.5887Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M212.329 109.73C212.963 109.695 213.505 110.183 213.529 110.817C213.531 110.859 213.532 110.901 213.534 110.943C213.558 111.575 213.058 112.101 212.425 112.118C211.791 112.135 211.265 111.634 211.241 111.001C211.24 110.978 211.239 110.956 211.238 110.934C211.214 110.302 211.698 109.764 212.329 109.73Z",fill:"#919498"}),(0,e.createElement)("path",{d:"M14 112C12.8954 112 11.9981 111.104 12.0178 110C12.4926 83.4005 22.4222 57.8356 40.0259 37.8896C40.7568 37.0614 42.0237 37.006 42.8387 37.7515L51.4565 45.6354C52.2715 46.3809 52.3259 47.6448 51.5974 48.4751C36.6351 65.5278 28.1714 87.3185 27.7007 110C27.6778 111.104 26.7846 112 25.68 112H14Z",fill:"url(#paint0_linear_6379_341177)"}),(0,e.createElement)("path",{d:"M46.2183 34.2183C45.4372 33.4372 45.4364 32.169 46.2313 31.402C66.2656 12.0702 92.7867 0.892155 120.615 0.0511573C121.719 0.0177908 122.626 0.903929 122.639 2.00841L122.784 13.6875C122.798 14.792 121.913 15.6963 120.809 15.7329C97.0721 16.5192 74.4589 26.0502 57.3205 42.4918C56.5235 43.2564 55.2583 43.2583 54.4773 42.4773L46.2183 34.2183Z",fill:"url(#paint1_linear_6379_341177)"}),(0,e.createElement)("path",{d:"M127.564 2.05774C127.599 0.953754 128.524 0.0859627 129.627 0.141442C156.527 1.49422 182.041 12.4976 201.488 31.1318C202.285 31.8961 202.289 33.1642 201.51 33.9479L193.28 42.2356C192.502 43.0194 191.237 43.022 190.437 42.2601C173.806 26.4162 152.056 17.0364 129.119 15.8161C128.016 15.7574 127.15 14.8356 127.185 13.7316L127.564 2.05774Z",fill:"url(#paint2_linear_6379_341177)"}),(0,e.createElement)("path",{d:"M204.602 37.1442C205.411 36.3926 206.678 36.4385 207.415 37.2612C225.182 57.0896 235.305 82.6026 235.965 109.218C235.993 110.322 235.102 111.225 233.997 111.232L222.318 111.314C221.213 111.321 220.314 110.432 220.283 109.328C219.653 86.6327 211.025 64.8862 195.924 47.9333C195.189 47.1085 195.234 45.8442 196.043 45.0925L204.602 37.1442Z",fill:"url(#paint3_linear_6379_341177)"}),(0,e.createElement)("defs",null,(0,e.createElement)("linearGradient",{id:"paint0_linear_6379_341177",x1:"18.8444",y1:"112",x2:"48.7111",y2:"40.4445",gradientUnits:"userSpaceOnUse"},(0,e.createElement)("stop",{stopColor:"#C5500E"}),(0,e.createElement)("stop",{offset:"1",stopColor:"#C57A0A"})),(0,e.createElement)("linearGradient",{id:"paint1_linear_6379_341177",x1:"49.9556",y1:"37.3333",x2:"120.889",y2:"6.84444",gradientUnits:"userSpaceOnUse"},(0,e.createElement)("stop",{stopColor:"#B99414"}),(0,e.createElement)("stop",{offset:"1",stopColor:"#9EC500"})),(0,e.createElement)("linearGradient",{id:"paint2_linear_6379_341177",x1:"125.244",y1:"8.08889",x2:"196.8",y2:"36.7111",gradientUnits:"userSpaceOnUse"},(0,e.createElement)("stop",{stopColor:"#A6CE03"}),(0,e.createElement)("stop",{offset:"1",stopColor:"#32BC00"})),(0,e.createElement)("linearGradient",{id:"paint3_linear_6379_341177",x1:"199.289",y1:"40.4444",x2:"227.911",y2:"112",gradientUnits:"userSpaceOnUse"},(0,e.createElement)("stop",{stopColor:"#39BE00"}),(0,e.createElement)("stop",{offset:"1",stopColor:"#068E00"}))))}function $a(t){var n=t.className;return(0,e.createElement)("svg",{height:"2",viewBox:"0 0 100 2",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("line",{x1:"99.7773",y1:"0.622222",x2:"0.221787",y2:"0.622231",stroke:"#EBEBEB",strokeWidth:"1.24444"}))}function Ja(t){var n=t.score,r=(0,e.useState)(0),a=r[0],o=r[1],i=n/100*165;(0,e.useEffect)((function(){setTimeout((function(){o(i)}),50)}),[i]);var s=Mn(n);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"nota ntw-w-248px ntw-h-112px ntw-relative ntw-mt-5"},(0,e.createElement)(Ka,null),(0,e.createElement)("div",{className:"ntw-relative ntw-bottom-[23px] ntw-left-0 ntw-h-full ntw-w-full ntw-transform ntw-transition-transform ntw-duration-1000 ntw-ease-in-out",style:{transform:"rotate(".concat(a,"deg)"),transformOrigin:"center bottom"}},(0,e.createElement)(Qa,{color:xn[s]})),(0,e.createElement)("div",{className:"-translate-y-1/2 ntw-absolute ntw-left-1/2 ntw-top-1/2 ntw-w-full ntw--translate-x-1/2 ntw-text-center ntw-text-typography-medium"},(0,e.createElement)("div",{className:Cn("ntw-mx-auto ntw-max-w-[200px] ntw-text-center ntw-text-2xl ntw-font-semibold",{"ntw-mt-[-25px]":s===wn.NeedsImprovement})},s),(0,e.createElement)($a,{className:"ntw-mx-auto ntw-mt-1"}),(0,e.createElement)("div",{className:"ntw-text-lg ntw-font-light"},"Overall Content Score"))),(0,e.createElement)("div",{className:"ntw-my-4"},(0,e.createElement)("div",{className:"ntw-flex ntw-flex-col ntw-gap-[8px] ntw-text-base ntw-text-typography-medium"},Ln[s])))}var Ya=Object.defineProperty,Xa=Object.defineProperties,eo=Object.getOwnPropertyDescriptors,to=Object.getOwnPropertySymbols,no=Object.prototype.hasOwnProperty,ro=Object.prototype.propertyIsEnumerable,ao=(e,t,n)=>t in e?Ya(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const oo=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M90.86,50.89a12,12,0,0,0-21.72,0l-64,136a12,12,0,0,0,21.71,10.22L42.44,164h75.12l15.58,33.11a12,12,0,0,0,21.72-10.22ZM53.74,140,80,84.18,106.27,140ZM200,92c-13.85,0-24.77,3.86-32.45,11.48a12,12,0,1,0,16.9,17c3-3,8.26-4.52,15.55-4.52,9.34,0,17.19,5.16,19.37,12.1A47.32,47.32,0,0,0,200,124c-24.26,0-44,17.94-44,40s19.74,40,44,40a47.18,47.18,0,0,0,22-5.38A12,12,0,0,0,244,192V132C244,109.94,224.26,92,200,92Zm0,88c-11,0-20-7.18-20-16s9-16,20-16,20,7.18,20,16S211,180,200,180Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M232,164c0,15.46-14.33,28-32,28s-32-12.54-32-28,14.33-28,32-28S232,148.54,232,164ZM34.82,152h90.36L80,56Z",opacity:"0.2"}),a().createElement("path",{d:"M87.24,52.59a8,8,0,0,0-14.48,0l-64,136a8,8,0,1,0,14.48,6.81L39.9,160h80.2l16.66,35.4a8,8,0,1,0,14.48-6.81ZM47.43,144,80,74.79,112.57,144ZM200,96c-12.76,0-22.73,3.47-29.63,10.32a8,8,0,0,0,11.26,11.36c3.8-3.77,10-5.68,18.37-5.68,13.23,0,24,9,24,20v3.22A42.76,42.76,0,0,0,200,128c-22.06,0-40,16.15-40,36s17.94,36,40,36a42.73,42.73,0,0,0,24-7.25,8,8,0,0,0,16-.75V132C240,112.15,222.06,96,200,96Zm0,88c-13.23,0-24-9-24-20s10.77-20,24-20,24,9,24,20S213.23,184,200,184Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M200,156c0,6.5-7.33,12-16,12s-16-5.5-16-12,7.33-12,16-12S200,149.5,200,156ZM73.61,136h36.78L92,92.53ZM232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM143.37,172.88l-44-104a8,8,0,0,0-14.74,0l-44,104a8,8,0,0,0,14.74,6.24L66.84,152h50.32l11.47,27.12a8,8,0,0,0,14.74-6.24ZM216,132c0-15.44-14.36-28-32-28a34.86,34.86,0,0,0-20.78,6.68,8,8,0,0,0,9.56,12.83A18.84,18.84,0,0,1,184,120c8.56,0,15.8,5.36,16,11.76A35.24,35.24,0,0,0,184,128c-17.64,0-32,12.56-32,28s14.36,28,32,28a35.13,35.13,0,0,0,16.93-4.26A8,8,0,0,0,216,176Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M85.43,53.45a6,6,0,0,0-10.86,0l-64,136a6,6,0,1,0,10.86,5.11L38.63,158h82.74l17.2,36.55a6,6,0,1,0,10.86-5.11ZM44.28,146,80,70.09,115.72,146ZM200,98c-12.21,0-21.71,3.28-28.23,9.74a6,6,0,0,0,8.46,8.52c4.18-4.15,10.84-6.26,19.77-6.26,14.34,0,26,9.87,26,22v7.24A40.36,40.36,0,0,0,200,130c-20.95,0-38,15.25-38,34s17.05,34,38,34a40.36,40.36,0,0,0,26-9.24V192a6,6,0,0,0,12,0V132C238,113.25,221,98,200,98Zm0,88c-14.34,0-26-9.87-26-22s11.66-22,26-22,26,9.87,26,22S214.34,186,200,186Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M87.24,52.59a8,8,0,0,0-14.48,0l-64,136a8,8,0,1,0,14.48,6.81L39.9,160h80.2l16.66,35.4a8,8,0,1,0,14.48-6.81ZM47.43,144,80,74.79,112.57,144ZM200,96c-12.76,0-22.73,3.47-29.63,10.32a8,8,0,0,0,11.26,11.36c3.8-3.77,10-5.68,18.37-5.68,13.23,0,24,9,24,20v3.22A42.76,42.76,0,0,0,200,128c-22.06,0-40,16.15-40,36s17.94,36,40,36a42.73,42.73,0,0,0,24-7.25,8,8,0,0,0,16-.75V132C240,112.15,222.06,96,200,96Zm0,88c-13.23,0-24-9-24-20s10.77-20,24-20,24,9,24,20S213.23,184,200,184Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M83.62,54.3a4,4,0,0,0-7.24,0l-64,136a4,4,0,0,0,7.24,3.4L37.36,156h85.28l17.74,37.7a4,4,0,1,0,7.24-3.4ZM41.13,148,80,65.39,118.87,148ZM200,100c-11.67,0-20.69,3.08-26.82,9.16a4,4,0,1,0,5.64,5.68c4.57-4.54,11.7-6.84,21.18-6.84,15.44,0,28,10.77,28,24v11.92A37.78,37.78,0,0,0,200,132c-19.85,0-36,14.35-36,32s16.15,32,36,32a37.78,37.78,0,0,0,28-11.92V192a4,4,0,0,0,8,0V132C236,114.36,219.85,100,200,100Zm0,88c-15.44,0-28-10.77-28-24s12.56-24,28-24,28,10.77,28,24S215.44,188,200,188Z"}))]]),io=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>Xa(e,eo(t)))(((e,t)=>{for(var n in t||(t={}))no.call(t,n)&&ao(e,n,t[n]);if(to)for(var n of to(t))ro.call(t,n)&&ao(e,n,t[n]);return e})({ref:t},e),{weights:oo}))));io.displayName="TextAa";var so=Object.defineProperty,lo=Object.defineProperties,co=Object.getOwnPropertyDescriptors,uo=Object.getOwnPropertySymbols,fo=Object.prototype.hasOwnProperty,po=Object.prototype.propertyIsEnumerable,ho=(e,t,n)=>t in e?so(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const mo=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M229.26,90.4a108,108,0,0,1-177.63,114A108,108,0,0,1,195.41,43.63l20.1-20.11a12,12,0,0,1,17,17l-96,96a12,12,0,1,1-17-17l24-24a36,36,0,1,0,19.76,39.65,12,12,0,0,1,23.53,4.74,60,60,0,1,1-25.73-62L178.3,60.74a84,84,0,1,0,28.46,38,12,12,0,1,1,22.5-8.35Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176,128a48,48,0,1,1-48-48A48,48,0,0,1,176,128Z",opacity:"0.2"}),a().createElement("path",{d:"M221.87,83.16A104.1,104.1,0,1,1,195.67,49l22.67-22.68a8,8,0,0,1,11.32,11.32l-96,96a8,8,0,0,1-11.32-11.32l27.72-27.72a40,40,0,1,0,17.87,31.09,8,8,0,1,1,16-.9,56,56,0,1,1-22.38-41.65L184.3,60.39a87.88,87.88,0,1,0,23.13,29.67,8,8,0,0,1,14.44-6.9Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M221.87,83.16A104.1,104.1,0,1,1,195.67,49l22.67-22.68a8,8,0,0,1,11.32,11.32L167.6,99.71h0l-37.71,37.71-23.95,23.95a40,40,0,0,0,62-35.67,8,8,0,1,1,16-.9,56,56,0,0,1-95.5,42.79h0a56,56,0,0,1,73.13-84.43L184.3,60.39a87.88,87.88,0,1,0,23.13,29.67,8,8,0,0,1,14.44-6.9Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M220.06,84a102.06,102.06,0,1,1-24.31-32.27l24-24a6,6,0,0,1,8.48,8.49l-96,96a6,6,0,1,1-8.48-8.49l29.39-29.4a42,42,0,1,0,16.78,31.24,6,6,0,1,1,12-.68A54,54,0,1,1,161.7,85.83l25.54-25.55a89.91,89.91,0,1,0,22,28.93A6,6,0,1,1,220.06,84Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M221.87,83.16A104.1,104.1,0,1,1,195.67,49l22.67-22.68a8,8,0,0,1,11.32,11.32l-96,96a8,8,0,0,1-11.32-11.32l27.72-27.72a40,40,0,1,0,17.87,31.09,8,8,0,1,1,16-.9,56,56,0,1,1-22.38-41.65L184.3,60.39a87.88,87.88,0,1,0,23.13,29.67,8,8,0,0,1,14.44-6.9Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M218.26,84.89a100.16,100.16,0,1,1-22.44-30.37l25.35-25.35a4,4,0,1,1,5.66,5.66l-96,96a4,4,0,0,1-5.66-5.66l31-31a44,44,0,1,0,15.78,31.3,4,4,0,0,1,8-.46,52,52,0,1,1-18.1-36.51l28.34-28.33A92,92,0,0,0,63,193.05,92,92,0,0,0,211,88.33a4,4,0,1,1,7.22-3.44Z"}))]]),Co=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>lo(e,co(t)))(((e,t)=>{for(var n in t||(t={}))fo.call(t,n)&&ho(e,n,t[n]);if(uo)for(var n of uo(t))po.call(t,n)&&ho(e,n,t[n]);return e})({ref:t},e),{weights:mo}))));function yo(t){var n=t.data,r=t.numberWords;if(!n)return null;var a=dr(n),o=a[0],i=a[1];return(0,e.createElement)("div",{className:"ntw-mt-4 ntw-flex ntw-gap-5"},go(io,"".concat(r),"Words"),go(Co,"".concat(o,"/").concat(i),"Criteria"))}Co.displayName="Target";var go=function(t,n,r){return(0,e.createElement)("div",{className:"ntw-inline-flex ntw-w-full ntw-cursor-pointer ntw-flex-col ntw-gap-1  ntw-rounded-lg ntw-bg-gravity-100 ntw-p-3"},(0,e.createElement)(t,{className:"ntw-text-gravity-900",size:24}),(0,e.createElement)("div",{className:"ntw-text-lg ntw-font-semibold ntw-text-typography-medium"},n),(0,e.createElement)("div",{className:"ntw-text-xs ntw-font-normal ntw-text-typography-medium"},r))},vo=Object.defineProperty,wo=Object.defineProperties,bo=Object.getOwnPropertyDescriptors,Eo=Object.getOwnPropertySymbols,xo=Object.prototype.hasOwnProperty,Mo=Object.prototype.propertyIsEnumerable,Lo=(e,t,n)=>t in e?vo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const So=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",opacity:"0.2"}),a().createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]]),Ao=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>wo(e,bo(t)))(((e,t)=>{for(var n in t||(t={}))xo.call(t,n)&&Lo(e,n,t[n]);if(Eo)for(var n of Eo(t))Mo.call(t,n)&&Lo(e,n,t[n]);return e})({ref:t},e),{weights:So}))));Ao.displayName="Warning";var Oo=function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))},To=function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}};function Po(t){var n=this,r=t.refreshData,a=t.loading,o=t.onDisplay,i=t.isDisabled;return(0,e.useEffect)((function(){o()}),[o]),(0,e.createElement)("div",{className:"ntw-rounded-lg ntw-border ntw-border-grade-warning-900 ntw-bg-grade-warning-100 ntw-p-4 ntw-text-center"},(0,e.createElement)("div",{className:"ntw-mx-auto ntw-flex ntw-w-fit ntw-items-center ntw-rounded-full ntw-bg-grade-warning-200 ntw-p-2"},(0,e.createElement)(Ao,{className:"ntw-text-grade-warning-900",size:32})),(0,e.createElement)("div",{className:"ntw-mt-4 ntw-text-sm ntw-text-typography-dark"},"Your content has changed and the analysis is out of date, please re-analyze the page to update it."),(0,e.createElement)($n,{disabled:a||i,className:"ntw-mt-4 ntw-w-full",onClick:function(){return Oo(n,void 0,void 0,(function(){return To(this,(function(e){switch(e.label){case 0:return[4,r()];case 1:return e.sent(),[2]}}))}))}},a?"Loading...":"Refresh analysis"))}function ko(t){var n=t.className;return(0,e.createElement)("svg",{viewBox:"0 0 182 134",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("path",{d:"M144.716 15.2148H42.4297V94.8055H144.716V15.2148Z",fill:"white"}),(0,e.createElement)("path",{d:"M144.716 94.8052C144.716 94.2095 144.686 63.2577 144.643 15.2145L144.716 15.2844H42.4396L42.5261 15.1978C42.5261 43.8867 42.5261 71.0215 42.5261 94.7885L42.4496 94.7087L144.736 94.7885L42.4496 94.8651H42.373V94.7885C42.373 71.0215 42.373 43.8734 42.373 15.1978V15.1113H42.4696H144.746H144.816V15.1845C144.759 63.2577 144.716 94.2095 144.716 94.8052Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M70.5494 88.1202C70.4995 88.1202 70.4629 79.468 70.4629 68.7991C70.4629 58.1302 70.4995 49.4746 70.5494 49.4746C70.5993 49.4746 70.6359 58.1269 70.6359 68.7991C70.6359 79.4713 70.6027 88.1202 70.5494 88.1202Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M114.945 88.1202C114.895 88.1202 114.858 79.468 114.858 68.7991C114.858 58.1302 114.895 49.4746 114.945 49.4746C114.995 49.4746 115.031 58.1269 115.031 68.7991C115.031 79.4713 114.992 88.1202 114.945 88.1202Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M85.7076 88.1211C85.661 88.1211 85.6211 77.0629 85.6211 63.4223C85.6211 49.7817 85.661 38.7168 85.7076 38.7168C85.7542 38.7168 85.7941 49.775 85.7941 63.4223C85.7941 77.0695 85.7575 88.1211 85.7076 88.1211Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M54.9918 88.1211C54.9419 88.1211 54.9053 77.0629 54.9053 63.4223C54.9053 49.7817 54.9419 38.7168 54.9918 38.7168C55.0417 38.7168 55.0783 49.775 55.0783 63.4223C55.0783 77.0695 55.0384 88.1211 54.9918 88.1211Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M132.367 88.1192C132.32 88.1192 132.28 77.0609 132.28 63.4203C132.28 49.7797 132.32 38.7148 132.367 38.7148C132.413 38.7148 132.453 49.7731 132.453 63.4203C132.453 77.0676 132.417 88.1192 132.367 88.1192Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M98.9986 88.1211C98.9487 88.1211 98.9121 75.3524 98.9121 59.602C98.9121 43.8515 98.9487 31.0762 98.9986 31.0762C99.0485 31.0762 99.0852 43.8449 99.0852 59.602C99.0852 75.359 99.0452 88.1211 98.9986 88.1211Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M70.9188 49.4741C70.9188 49.5458 70.8975 49.6159 70.8577 49.6756C70.8178 49.7352 70.7612 49.7817 70.6949 49.8092C70.6286 49.8366 70.5557 49.8438 70.4853 49.8298C70.415 49.8158 70.3503 49.7813 70.2996 49.7305C70.2489 49.6798 70.2143 49.6152 70.2003 49.5448C70.1863 49.4745 70.1935 49.4015 70.221 49.3352C70.2484 49.269 70.2949 49.2123 70.3546 49.1725C70.4142 49.1326 70.4843 49.1113 70.5561 49.1113C70.6523 49.1113 70.7445 49.1495 70.8126 49.2176C70.8806 49.2856 70.9188 49.3779 70.9188 49.4741Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M85.7075 39.079C85.9078 39.079 86.0702 38.9166 86.0702 38.7162C86.0702 38.5159 85.9078 38.3535 85.7075 38.3535C85.5071 38.3535 85.3447 38.5159 85.3447 38.7162C85.3447 38.9166 85.5071 39.079 85.7075 39.079Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M85.7077 39.9877C85.4563 39.9877 85.2105 39.9132 85.0015 39.7735C84.7924 39.6338 84.6295 39.4353 84.5333 39.203C84.4371 38.9707 84.4119 38.7151 84.461 38.4685C84.51 38.2219 84.6311 37.9954 84.8089 37.8176C84.9866 37.6399 85.2131 37.5188 85.4597 37.4697C85.7063 37.4207 85.9619 37.4459 86.1942 37.5421C86.4265 37.6383 86.625 37.8012 86.7647 38.0103C86.9044 38.2193 86.979 38.4651 86.979 38.7165C86.9781 39.0534 86.8439 39.3762 86.6057 39.6144C86.3674 39.8527 86.0446 39.9869 85.7077 39.9877ZM85.7077 37.5285C85.4728 37.5285 85.2431 37.5982 85.0477 37.7287C84.8523 37.8593 84.7001 38.0448 84.6101 38.2619C84.5202 38.479 84.4967 38.7178 84.5425 38.9483C84.5884 39.1788 84.7015 39.3904 84.8677 39.5566C85.0338 39.7227 85.2455 39.8359 85.476 39.8817C85.7064 39.9276 85.9453 39.904 86.1624 39.8141C86.3795 39.7242 86.565 39.5719 86.6955 39.3766C86.8261 39.1812 86.8958 38.9515 86.8958 38.7165C86.8949 38.4017 86.7694 38.1 86.5468 37.8774C86.3242 37.6548 86.0225 37.5294 85.7077 37.5285Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M98.9985 31.4384C99.1988 31.4384 99.3612 31.276 99.3612 31.0756C99.3612 30.8753 99.1988 30.7129 98.9985 30.7129C98.7981 30.7129 98.6357 30.8753 98.6357 31.0756C98.6357 31.276 98.7981 31.4384 98.9985 31.4384Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M114.946 50.2001C115.146 50.2001 115.308 50.0377 115.308 49.8373C115.308 49.637 115.146 49.4746 114.946 49.4746C114.745 49.4746 114.583 49.637 114.583 49.8373C114.583 50.0377 114.745 50.2001 114.946 50.2001Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M132.376 39.079C132.577 39.079 132.739 38.9166 132.739 38.7162C132.739 38.5159 132.577 38.3535 132.376 38.3535C132.176 38.3535 132.014 38.5159 132.014 38.7162C132.014 38.9166 132.176 39.079 132.376 39.079Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M55.3514 39.0795C55.3514 39.1514 55.3301 39.2217 55.2901 39.2814C55.2501 39.3411 55.1932 39.3876 55.1267 39.415C55.0603 39.4423 54.9872 39.4493 54.9167 39.435C54.8463 39.4208 54.7816 39.3859 54.731 39.3348C54.6804 39.2838 54.6462 39.2188 54.6325 39.1482C54.6189 39.0777 54.6266 39.0046 54.6546 38.9384C54.6825 38.8722 54.7295 38.8158 54.7896 38.7763C54.8497 38.7369 54.9202 38.7162 54.992 38.7168C55.0395 38.7168 55.0865 38.7262 55.1303 38.7445C55.1742 38.7628 55.2139 38.7895 55.2474 38.8233C55.2808 38.857 55.3072 38.897 55.325 38.941C55.3429 38.985 55.3519 39.0321 55.3514 39.0795Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M135.8 56.2007C135.709 56.2425 135.613 56.2737 135.514 56.2939C135.234 56.369 134.959 56.4635 134.692 56.5767C133.68 57.0487 132.78 57.7292 132.05 58.5734C131.051 59.645 130.07 61.1358 128.829 62.813C128.168 63.7182 127.436 64.5684 126.639 65.3554C126.195 65.7816 125.72 66.1742 125.218 66.5302C124.679 66.8971 124.104 67.2103 123.504 67.4653C122.204 67.99 120.805 68.2251 119.404 68.1541C118.661 68.1383 117.922 68.0457 117.198 67.8779C116.429 67.7145 115.702 67.3951 115.061 66.9395C114.409 66.462 113.845 65.8728 113.398 65.199C112.938 64.5335 112.526 63.828 112.126 63.1125C111.328 61.6716 110.502 60.2207 109.561 58.7631C108.619 57.3055 107.78 55.7348 106.825 54.204C105.895 52.6266 104.769 51.173 103.474 49.8779C102.804 49.2377 102.047 48.6954 101.225 48.2673C100.394 47.8431 99.4906 47.5778 98.5623 47.4852C96.6374 47.2996 94.7022 47.7134 93.0215 48.6699C91.3564 49.6743 89.9192 51.0152 88.8019 52.6067C87.6905 54.1549 86.6822 55.7746 85.7836 57.4553C84.9007 59.0946 83.9252 60.6823 82.8618 62.2107C81.8427 63.6864 80.6556 65.0388 79.3243 66.2406C78.9972 66.5312 78.6551 66.8044 78.2994 67.0593C77.95 67.3155 77.5867 67.5521 77.2112 67.7681C76.4732 68.1967 75.6807 68.5236 74.8551 68.7398C74.4511 68.8474 74.0395 68.9241 73.6238 68.9694C73.4186 68.9954 73.2117 69.0065 73.0049 69.0027C72.7985 69.0027 72.5922 69.0027 72.3892 69.0027C71.5872 68.9581 70.7942 68.8104 70.0298 68.5634C68.607 68.0611 67.2625 67.3598 66.0365 66.4802C64.8518 65.6649 63.7703 64.8163 62.7087 64.0576C61.7264 63.3102 60.6679 62.6688 59.5506 62.1441C58.5552 61.6842 57.4943 61.3822 56.4059 61.249C55.4608 61.1364 54.5032 61.1984 53.5806 61.432C53.3724 61.4839 53.1678 61.5495 52.9683 61.6283C52.7717 61.6881 52.5802 61.7638 52.3959 61.8546C52.0498 62.0136 51.7161 62.1983 51.3975 62.407C50.863 62.7627 50.3608 63.1647 49.8967 63.6084L49.3743 64.1807C49.2234 64.3339 49.0833 64.4974 48.955 64.6699L48.4258 65.3654C48.3682 65.4483 48.3024 65.5252 48.2295 65.595C48.2695 65.5024 48.3209 65.4152 48.3826 65.3355L48.8718 64.6067C48.9945 64.4282 49.129 64.2581 49.2744 64.0975L49.7869 63.5019C50.2457 63.0335 50.7483 62.61 51.2877 62.2373C51.605 62.0167 51.9387 61.8209 52.2861 61.6516C52.4728 61.5539 52.6676 61.4726 52.8684 61.4087C53.0729 61.3222 53.283 61.2499 53.4974 61.1924C54.4485 60.9344 55.4392 60.8554 56.4192 60.9594C57.5413 61.0813 58.6374 61.3789 59.6671 61.8413C60.8119 62.3646 61.8983 63.0071 62.9084 63.7581C63.9799 64.5168 65.0681 65.3521 66.2362 66.1475C67.4338 66.9925 68.7445 67.6647 70.1297 68.1441C70.8591 68.3743 71.6152 68.5096 72.3792 68.5468C72.5723 68.5468 72.7653 68.5468 72.9616 68.5468C73.1564 68.5495 73.3511 68.5373 73.544 68.5102C73.9373 68.4658 74.3267 68.3912 74.7087 68.2872C76.3054 67.8353 77.7736 67.0146 78.9949 65.8912C80.2926 64.7094 81.4494 63.3817 82.4425 61.9345C83.4911 60.4198 84.4544 58.8478 85.3277 57.2257C86.2329 55.5239 87.2501 53.8841 88.3726 52.3172C89.5334 50.668 91.0248 49.2786 92.752 48.2373C93.6419 47.7368 94.6022 47.3733 95.6005 47.1591C96.5847 46.9523 97.5944 46.8951 98.5956 46.9894C99.5906 47.0886 100.558 47.3742 101.447 47.8313C102.314 48.2796 103.111 48.8513 103.814 49.5285C105.136 50.856 106.286 52.344 107.238 53.9578C108.196 55.5052 109.048 57.0659 109.957 58.5268C110.865 59.9877 111.73 61.4719 112.516 62.9062C113.301 64.3405 114.09 65.7448 115.308 66.6067C115.905 67.0366 116.585 67.338 117.304 67.4919C118 67.6554 118.71 67.749 119.424 67.7714C120.77 67.8489 122.116 67.6344 123.371 67.1425C123.953 66.9022 124.51 66.6057 125.035 66.2573C125.526 65.9175 125.991 65.5416 126.426 65.1325C127.221 64.3671 127.952 63.5379 128.612 62.6533C129.87 60.9894 130.892 59.5185 131.92 58.4536C132.679 57.6026 133.618 56.9318 134.669 56.4902C134.943 56.3834 135.227 56.3043 135.517 56.2539C135.61 56.2273 135.704 56.2095 135.8 56.2007Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M72.4635 24.1465H54.6299V25.1382H72.4635V24.1465Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M63.4419 26.4688H54.6299V27.4604H63.4419V26.4688Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M43.8075 8.72266H143.215C143.613 8.72266 143.995 8.88078 144.276 9.16224C144.558 9.4437 144.716 9.82544 144.716 10.2235V15.2152H42.3066V10.2235C42.3066 9.82544 42.4648 9.4437 42.7462 9.16224C43.0277 8.88078 43.4094 8.72266 43.8075 8.72266Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M47.6145 12.0934C47.6145 12.2316 47.5735 12.3667 47.4967 12.4816C47.4199 12.5965 47.3108 12.6861 47.1831 12.739C47.0554 12.7919 46.9149 12.8057 46.7793 12.7788C46.6437 12.7518 46.5192 12.6853 46.4215 12.5875C46.3237 12.4898 46.2572 12.3653 46.2302 12.2297C46.2033 12.0941 46.2171 11.9536 46.27 11.8259C46.3229 11.6982 46.4125 11.5891 46.5274 11.5123C46.6423 11.4355 46.7774 11.3945 46.9156 11.3945C47.101 11.3945 47.2787 11.4682 47.4098 11.5992C47.5408 11.7303 47.6145 11.908 47.6145 12.0934Z",fill:"white"}),(0,e.createElement)("path",{d:"M50.6662 12.0934C50.6662 12.2316 50.6252 12.3667 50.5485 12.4816C50.4717 12.5965 50.3625 12.6861 50.2348 12.739C50.1071 12.7919 49.9666 12.8057 49.8311 12.7788C49.6955 12.7518 49.571 12.6853 49.4732 12.5875C49.3755 12.4898 49.3089 12.3653 49.282 12.2297C49.255 12.0941 49.2689 11.9536 49.3218 11.8259C49.3746 11.6982 49.4642 11.5891 49.5791 11.5123C49.6941 11.4355 49.8292 11.3945 49.9674 11.3945C50.1527 11.3945 50.3305 11.4682 50.4615 11.5992C50.5926 11.7303 50.6662 11.908 50.6662 12.0934Z",fill:"white"}),(0,e.createElement)("path",{d:"M53.7141 12.0934C53.7141 12.2316 53.6731 12.3667 53.5963 12.4816C53.5195 12.5965 53.4104 12.6861 53.2827 12.739C53.155 12.7919 53.0145 12.8057 52.8789 12.7788C52.7433 12.7518 52.6188 12.6853 52.5211 12.5875C52.4234 12.4898 52.3568 12.3653 52.3298 12.2297C52.3029 12.0941 52.3167 11.9536 52.3696 11.8259C52.4225 11.6982 52.5121 11.5891 52.627 11.5123C52.7419 11.4355 52.877 11.3945 53.0152 11.3945C53.2006 11.3945 53.3783 11.4682 53.5094 11.5992C53.6404 11.7303 53.7141 11.908 53.7141 12.0934Z",fill:"white"}),(0,e.createElement)("path",{d:"M43.9105 62.0508H4.06023C3.46659 62.0508 2.98535 62.532 2.98535 63.1257V72.7529C2.98535 73.3466 3.46659 73.8278 4.06023 73.8278H43.9105C44.5041 73.8278 44.9853 73.3466 44.9853 72.7529V63.1257C44.9853 62.532 44.5041 62.0508 43.9105 62.0508Z",fill:"#E6E6E6"}),(0,e.createElement)("path",{d:"M11.837 69.9C11.5204 70.2949 11.0938 70.587 10.6112 70.7395C10.1286 70.892 9.61159 70.8979 9.12559 70.7565C8.6396 70.6152 8.20643 70.3329 7.88088 69.9453C7.55532 69.5578 7.352 69.0824 7.29662 68.5793C7.24124 68.0762 7.33628 67.568 7.56974 67.1189C7.80319 66.6698 8.16458 66.3001 8.60818 66.0564C9.05179 65.8127 9.5577 65.706 10.0619 65.7498C10.5662 65.7937 11.0461 65.986 11.441 66.3026C11.7036 66.5126 11.9221 66.7723 12.0842 67.0668C12.2463 67.3613 12.3486 67.685 12.3854 68.0191C12.4222 68.3533 12.3927 68.6914 12.2986 69.0142C12.2045 69.3369 12.0476 69.6379 11.837 69.9Z",fill:"white"}),(0,e.createElement)("path",{d:"M11.2815 67.4316C10.8607 67.9598 10.3965 68.4518 9.89377 68.9025C9.78063 69.0157 9.66748 69.1255 9.56099 69.2353L9.50109 69.2952L9.44119 69.2353C9.05986 68.8846 8.71327 68.4979 8.40625 68.0806C8.82357 68.3876 9.21028 68.7342 9.56099 69.1155H9.44452L9.7773 68.7827C10.2395 68.2905 10.7427 67.8386 11.2815 67.4316Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M40.886 67.0748C40.886 67.1214 35.5615 67.1613 28.9625 67.1613C22.3635 67.1613 17.0391 67.1214 17.0391 67.0748C17.0391 67.0282 22.3635 66.9883 28.9625 66.9883C35.5615 66.9883 40.886 67.0249 40.886 67.0748Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M31.105 69.4049C31.105 69.4515 28.0168 69.4914 24.2098 69.4914C20.4029 69.4914 17.3047 69.4515 17.3047 69.4049C17.3047 69.3583 20.3895 69.3184 24.1965 69.3184C28.0035 69.3184 31.105 69.355 31.105 69.4049Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M55.9176 33.6777H16.2537C15.7722 33.6777 15.3818 34.0681 15.3818 34.5496V50.0005C15.3818 50.4821 15.7722 50.8724 16.2537 50.8724H55.9176C56.3991 50.8724 56.7895 50.4821 56.7895 50.0005V34.5496C56.7895 34.0681 56.3991 33.6777 55.9176 33.6777Z",fill:"#E0E0E0"}),(0,e.createElement)("path",{d:"M23.9833 39.1118C23.9833 39.4935 23.8701 39.8667 23.658 40.1841C23.4459 40.5015 23.1445 40.7489 22.7918 40.895C22.4391 41.041 22.051 41.0793 21.6766 41.0048C21.3022 40.9303 20.9583 40.7465 20.6884 40.4766C20.4184 40.2066 20.2346 39.8627 20.1601 39.4883C20.0857 39.1139 20.1239 38.7258 20.27 38.3731C20.4161 38.0205 20.6634 37.719 20.9808 37.5069C21.2983 37.2948 21.6714 37.1816 22.0532 37.1816C22.3066 37.1816 22.5576 37.2316 22.7918 37.3286C23.026 37.4256 23.2387 37.5677 23.418 37.747C23.5972 37.9262 23.7394 38.139 23.8364 38.3731C23.9334 38.6073 23.9833 38.8583 23.9833 39.1118Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M39.365 37.7773H25.9141V38.5228H39.365V37.7773Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M52.0771 39.4746H25.9141V40.22H52.0771V39.4746Z",fill:"white"}),(0,e.createElement)("path",{d:"M23.9833 45.0454C23.9833 45.4271 23.8701 45.8003 23.658 46.1177C23.4459 46.4351 23.1445 46.6825 22.7918 46.8286C22.4391 46.9746 22.051 47.0129 21.6766 46.9384C21.3022 46.8639 20.9583 46.6801 20.6884 46.4102C20.4184 46.1402 20.2346 45.7963 20.1601 45.4219C20.0857 45.0475 20.1239 44.6594 20.27 44.3067C20.4161 43.9541 20.6634 43.6526 20.9808 43.4405C21.2983 43.2284 21.6714 43.1152 22.0532 43.1152C22.3068 43.1148 22.5579 43.1644 22.7923 43.2613C23.0267 43.3581 23.2396 43.5003 23.4189 43.6796C23.5983 43.8589 23.7404 44.0718 23.8372 44.3062C23.9341 44.5406 23.9837 44.7918 23.9833 45.0454Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M32.7826 43.7148H25.9141V44.4603H32.7826V43.7148Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M52.0771 45.4082H25.9141V46.1536H52.0771V45.4082Z",fill:"white"}),(0,e.createElement)("path",{d:"M74.7852 78.8984H23.9965C23.2687 78.8984 22.6787 79.4884 22.6787 80.2162V100.289C22.6787 101.017 23.2687 101.607 23.9965 101.607H74.7852C75.513 101.607 76.103 101.017 76.103 100.289V80.2162C76.103 79.4884 75.513 78.8984 74.7852 78.8984Z",fill:"#E0E0E0"}),(0,e.createElement)("path",{d:"M32.4525 89.8713L32.4225 85.2656C31.0182 85.2907 29.6691 85.8172 28.6189 86.7498C27.9468 87.3342 27.4285 88.0746 27.1093 88.9061C26.7902 89.7375 26.6801 90.6346 26.7886 91.5185C26.8119 91.7382 26.8485 91.9611 26.8951 92.1841C26.8966 92.1895 26.8966 92.1953 26.8951 92.2007L32.4458 90.9528L32.4525 89.8713Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M38.1734 88.4522C37.7676 87.5825 37.14 86.835 36.3538 86.2848C35.5675 85.7345 34.6503 85.4009 33.6942 85.3174L33.5179 85.3008H33.4047C33.2949 85.3008 33.1851 85.3008 33.0719 85.3008H33.042L33.0719 89.9064V90.988L38.6293 92.1793C38.7153 91.787 38.7566 91.3862 38.7525 90.9846C38.7481 90.1082 38.5504 89.2435 38.1734 88.4522Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.2"},(0,e.createElement)("path",{d:"M38.1734 88.4522C37.7676 87.5825 37.14 86.835 36.3538 86.2848C35.5675 85.7345 34.6503 85.4009 33.6942 85.3174L33.5179 85.3008H33.4047C33.2949 85.3008 33.1851 85.3008 33.0719 85.3008H33.042L33.0719 89.9064V90.988L38.6293 92.1793C38.7153 91.787 38.7566 91.3862 38.7525 90.9846C38.7481 90.1082 38.5504 89.2435 38.1734 88.4522Z",fill:"black"})),(0,e.createElement)("path",{d:"M32.7486 91.5156L27.2012 92.7669C27.487 94.0289 28.1944 95.1559 29.2067 95.9619C30.2191 96.7679 31.4759 97.2048 32.7699 97.2006C34.0639 97.1963 35.3179 96.7511 36.3249 95.9385C37.3319 95.1258 38.0319 93.9942 38.3093 92.7303L32.7586 91.519",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.1"},(0,e.createElement)("path",{d:"M32.7486 91.5156L27.2012 92.7669C27.487 94.0289 28.1944 95.1559 29.2067 95.9619C30.2191 96.7679 31.4759 97.2048 32.7699 97.2006C34.0639 97.1963 35.3179 96.7511 36.3249 95.9385C37.3319 95.1258 38.0319 93.9942 38.3093 92.7303L32.7586 91.519",fill:"black"})),(0,e.createElement)("path",{d:"M70.6758 86.6426H42.4795V87.9205H70.6758V86.6426Z",fill:"white"}),(0,e.createElement)("path",{d:"M70.6758 90.0098H42.4795V91.2876H70.6758V90.0098Z",fill:"white"}),(0,e.createElement)("path",{d:"M57.7208 93.7344H42.4795V95.0122H57.7208V93.7344Z",fill:"white"}),(0,e.createElement)("path",{d:"M137.857 62.7969H87.7508C86.2052 62.7969 84.9521 64.0499 84.9521 65.5955V113.632C84.9521 115.178 86.2052 116.431 87.7508 116.431H137.857C139.403 116.431 140.656 115.178 140.656 113.632V65.5955C140.656 64.0499 139.403 62.7969 137.857 62.7969Z",fill:"#E6E6E6"}),(0,e.createElement)("path",{d:"M90.6727 99.5371H88.8457V100.063H90.6727V99.5371Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M95.3219 102.355H92.9824V102.881H95.3219V102.355Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M103.462 102.357H101.122V102.883H103.462V102.357Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M111.597 102.355H109.258V102.881H111.597V102.355Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M119.737 102.355H117.397V102.881H119.737V102.355Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M127.878 102.355H125.538V102.881H127.878V102.355Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M136.017 102.357H133.678V102.883H136.017V102.357Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M90.6727 92.5039H88.8457V93.0297H90.6727V92.5039Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M90.6727 79.2578H88.8457V79.7836H90.6727V79.2578Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M90.6727 72.6055H88.8457V73.1313H90.6727V72.6055Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M90.7654 85.8809H88.9385V86.4066H90.7654V85.8809Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M135.95 100.067H135.754H135.178L132.965 100.083L124.829 100.11L97.9869 100.136H91.541V100.053C91.541 91.0682 91.5643 83.178 91.571 77.5174C91.571 74.6921 91.5909 72.4293 91.5976 70.8619C91.5976 70.0865 91.5976 69.4842 91.5976 69.0715C91.5976 68.8718 91.5976 68.7188 91.5976 68.6056C91.5947 68.5535 91.5947 68.5013 91.5976 68.4492C91.6005 68.5013 91.6005 68.5535 91.5976 68.6056C91.5976 68.7188 91.5976 68.8718 91.5976 69.0715C91.5976 69.4842 91.5976 70.0699 91.5976 70.8619C91.5976 72.4293 91.6142 74.6921 91.6242 77.5174C91.6242 83.1747 91.6409 91.0782 91.6542 100.053L91.5676 99.9667H97.927L124.769 99.99L132.905 100.017L135.118 100.033H135.694L135.95 100.067Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M136.463 86.1432C136.463 86.1931 126.812 86.2297 114.932 86.2297C103.052 86.2297 93.3945 86.1931 93.3945 86.1432C93.3945 86.0932 103.045 86.0566 114.932 86.0566C126.819 86.0566 136.463 86.0966 136.463 86.1432Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M136.463 79.5338C136.463 79.5804 126.812 79.6203 114.932 79.6203C103.052 79.6203 93.3945 79.5804 93.3945 79.5338C93.3945 79.4872 103.045 79.4473 114.932 79.4473C126.819 79.4473 136.463 79.4739 136.463 79.5338Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M136.463 72.8795C136.463 72.9261 126.812 72.966 114.932 72.966C103.052 72.966 93.3945 72.9261 93.3945 72.8795C93.3945 72.8329 103.045 72.793 114.932 72.793C126.819 72.793 136.463 72.8196 136.463 72.8795Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M136.463 92.7662C136.463 92.8128 126.812 92.8527 114.932 92.8527C103.052 92.8527 93.3945 92.8128 93.3945 92.7662C93.3945 92.7196 103.045 92.6797 114.932 92.6797C126.819 92.6797 136.463 92.7196 136.463 92.7662Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M93.8438 98.64V92.7664L97.5043 87.0825L99.9902 88.9894L105.088 81.0659L108.083 83.1857L112.27 75.8646L115.671 78.6333L120.769 68.9395L126.263 79.7747L130.709 74.3538L135.94 72.8563V98.6266L93.8438 98.64Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M136.463 70.782H136.373H136.1H135.039L131.026 70.8019H131.062L126.763 76.4226L126.739 76.4492H126.706L115.937 76.4658L116.011 76.4259L111.481 83.9733L107.036 91.361L106.972 91.4675L106.896 91.3677L101.065 83.3444H101.182L95.8575 91.6372C95.2219 92.6356 94.7194 93.3943 94.3733 93.9267C94.2069 94.1863 94.0738 94.3826 93.9806 94.5257C93.8874 94.6688 93.8408 94.7254 93.8408 94.7254C93.8408 94.7254 93.8808 94.6522 93.9639 94.5157C94.0471 94.3793 94.1769 94.1663 94.34 93.9034L95.7909 91.5906L101.062 83.2712L101.115 83.1846L101.179 83.2678C102.922 85.6539 104.896 88.356 107.032 91.2745H106.892L111.332 83.8835L115.867 76.3494L115.891 76.3094H115.937H126.706L126.653 76.3361L130.979 70.7387V70.7188H131.006L135.019 70.742H136.08H136.353L136.463 70.782Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M102.886 85.1924C102.888 85.2746 102.866 85.3556 102.823 85.4252C102.779 85.4948 102.715 85.5497 102.64 85.583C102.565 85.6163 102.482 85.6264 102.401 85.612C102.32 85.5976 102.245 85.5594 102.186 85.5023C102.127 85.4451 102.087 85.3717 102.07 85.2913C102.052 85.2109 102.06 85.1272 102.091 85.0511C102.121 84.9749 102.174 84.9096 102.242 84.8637C102.311 84.8177 102.391 84.7931 102.473 84.7931C102.526 84.7918 102.58 84.8011 102.629 84.8205C102.679 84.84 102.725 84.8691 102.763 84.9063C102.801 84.9434 102.832 84.9879 102.853 85.037C102.874 85.0862 102.885 85.139 102.886 85.1924Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M115.308 78.1259C115.311 78.2081 115.289 78.2891 115.245 78.3587C115.202 78.4283 115.138 78.4833 115.063 78.5165C114.988 78.5498 114.905 78.5599 114.824 78.5455C114.743 78.5311 114.668 78.4929 114.609 78.4358C114.55 78.3786 114.509 78.3052 114.492 78.2248C114.475 78.1444 114.483 78.0608 114.513 77.9846C114.544 77.9084 114.597 77.8431 114.665 77.7972C114.733 77.7512 114.814 77.7267 114.896 77.7266C114.949 77.7257 115.002 77.7354 115.052 77.755C115.101 77.7746 115.147 77.8037 115.185 77.8408C115.223 77.8779 115.254 77.9222 115.275 77.9711C115.296 78.02 115.308 78.0726 115.308 78.1259Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M124.965 76.3935C124.969 76.4766 124.947 76.5587 124.903 76.6293C124.86 76.7 124.796 76.7559 124.72 76.7898C124.644 76.8238 124.56 76.8342 124.478 76.8199C124.396 76.8055 124.32 76.7669 124.26 76.7091C124.201 76.6513 124.16 76.5769 124.143 76.4956C124.126 76.4143 124.133 76.3297 124.165 76.2527C124.196 76.1758 124.25 76.1101 124.319 76.064C124.388 76.0179 124.47 75.9936 124.553 75.9942C124.606 75.9933 124.659 76.0029 124.709 76.0225C124.758 76.0421 124.803 76.0713 124.842 76.1084C124.88 76.1455 124.911 76.1897 124.932 76.2387C124.953 76.2876 124.965 76.3402 124.965 76.3935Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M95.6546 111.967C97.1305 111.967 98.3268 110.815 98.3268 109.395C98.3268 107.974 97.1305 106.822 95.6546 106.822C94.1788 106.822 92.9824 107.974 92.9824 109.395C92.9824 110.815 94.1788 111.967 95.6546 111.967Z",fill:"white"}),(0,e.createElement)("path",{d:"M133.678 107.672H102.29V108.634H133.678V107.672Z",fill:"white"}),(0,e.createElement)("path",{d:"M115.322 110.076H102.29V111.038H115.322V110.076Z",fill:"white"}),(0,e.createElement)("path",{d:"M158.067 21.1387H124.37C123.462 21.1387 122.726 21.8747 122.726 22.7826V50.1703C122.726 51.0782 123.462 51.8142 124.37 51.8142H158.067C158.975 51.8142 159.711 51.0782 159.711 50.1703V22.7826C159.711 21.8747 158.975 21.1387 158.067 21.1387Z",fill:"#E6E6E6"}),(0,e.createElement)("path",{d:"M131.175 33.4219H129.182V48.4735H131.175V33.4219Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M140.236 32.1992H138.243V48.4721H140.236V32.1992Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M149.621 30.1328H147.628V48.4722H149.621V30.1328Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M145.215 41.1426H143.222V48.4704H145.215V41.1426Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.2"},(0,e.createElement)("path",{d:"M145.215 41.1426H143.222V48.4704H145.215V41.1426Z",fill:"black"})),(0,e.createElement)("path",{d:"M133.498 31.8086H131.505V48.4742H133.498V31.8086Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.1"},(0,e.createElement)("path",{d:"M133.498 31.8086H131.505V48.4742H133.498V31.8086Z",fill:"black"})),(0,e.createElement)("path",{d:"M142.723 28.3164H140.729V48.4728H142.723V28.3164Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.1"},(0,e.createElement)("path",{d:"M142.723 28.3164H140.729V48.4728H142.723V28.3164Z",fill:"black"})),(0,e.createElement)("path",{d:"M154.766 28.3164H152.772V48.4728H154.766V28.3164Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.2"},(0,e.createElement)("path",{d:"M154.766 28.3164H152.772V48.4728H154.766V28.3164Z",fill:"black"})),(0,e.createElement)("path",{d:"M152.163 24.3359H150.17V48.4724H152.163V24.3359Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.1"},(0,e.createElement)("path",{d:"M152.163 24.3359H150.17V48.4724H152.163V24.3359Z",fill:"black"})),(0,e.createElement)("path",{d:"M135.937 37.8984H133.943V48.4741H135.937V37.8984Z",fill:"#008182"}),(0,e.createElement)("g",{opacity:"0.2"},(0,e.createElement)("path",{d:"M135.937 37.8984H133.943V48.4741H135.937V37.8984Z",fill:"black"})),(0,e.createElement)("path",{d:"M157.618 49.3853C157.618 49.4353 150.503 49.4719 141.731 49.4719C132.959 49.4719 125.841 49.4353 125.841 49.3853C125.841 49.3354 132.952 49.2988 141.731 49.2988C150.51 49.2988 157.618 49.3388 157.618 49.3853Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M126.134 45.793H124.916V46.1956H126.134V45.793Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M126.134 40.4395H124.916V40.8421H126.134V40.4395Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M126.134 30.3555H124.916V30.7581H126.134V30.3555Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M126.134 25.291H124.916V25.6937H126.134V25.291Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M126.196 35.3984H124.979V35.8011H126.196V35.3984Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M116.999 18.6465H81.2116C80.618 18.6465 80.1367 19.1277 80.1367 19.7214V28.2072C80.1367 28.8009 80.618 29.2821 81.2116 29.2821H116.999C117.592 29.2821 118.073 28.8009 118.073 28.2072V19.7214C118.073 19.1277 117.592 18.6465 116.999 18.6465Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M88.1332 25.7369C87.8469 26.0937 87.4612 26.3576 87.025 26.4951C86.5887 26.6327 86.1214 26.6378 85.6823 26.5098C85.2431 26.3818 84.8517 26.1265 84.5577 25.776C84.2637 25.4256 84.0802 24.9959 84.0304 24.5412C83.9805 24.0864 84.0667 23.6272 84.2779 23.2214C84.4892 22.8157 84.816 22.4817 85.217 22.2617C85.6181 22.0416 86.0753 21.9455 86.531 21.9854C86.9867 22.0253 87.4204 22.1994 87.7771 22.4857C88.2517 22.8722 88.5551 23.4299 88.6217 24.0383C88.6883 24.6467 88.5129 25.2569 88.1332 25.7369Z",fill:"white"}),(0,e.createElement)("path",{d:"M86.3263 26.6219C85.7523 26.5915 85.2098 26.35 84.8032 25.9437C84.3965 25.5375 84.1544 24.9952 84.1234 24.4213C84.0925 23.8473 84.2748 23.2821 84.6354 22.8345C84.996 22.3868 85.5093 22.0883 86.0768 21.9963C86.1621 21.9914 86.2476 21.9914 86.333 21.9963C86.7682 22.0007 87.1936 22.1269 87.5608 22.3606C87.928 22.5944 88.2223 22.9264 88.4104 23.3189C88.5985 23.7114 88.6729 24.1488 88.6251 24.5815C88.5773 25.0141 88.4092 25.4247 88.14 25.7667C87.9501 26.0054 87.7146 26.204 87.4472 26.3508C87.1798 26.4976 86.8859 26.5898 86.5826 26.6219C86.4972 26.6268 86.4117 26.6268 86.3263 26.6219ZM86.3263 21.9996C86.241 21.9948 86.1554 21.9948 86.0701 21.9996C85.6939 22.0414 85.3338 22.1753 85.0216 22.3895C84.7095 22.6036 84.4549 22.8914 84.2805 23.2273C84.1061 23.5633 84.0172 23.9371 84.0216 24.3156C84.0261 24.6941 84.1238 25.0657 84.3061 25.3974C84.4884 25.7292 84.7497 26.0109 85.0668 26.2176C85.3839 26.4243 85.7471 26.5496 86.1242 26.5825C86.5013 26.6154 86.8807 26.5548 87.2288 26.4061C87.5769 26.2575 87.883 26.0253 88.12 25.7301C88.3915 25.3917 88.5618 24.9835 88.6114 24.5526C88.661 24.1216 88.5879 23.6854 88.4005 23.2941C88.213 22.9029 87.9189 22.5726 87.5519 22.3412C87.185 22.1098 86.7601 21.9868 86.3263 21.9863V21.9996Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M87.6279 23.5039C87.2566 23.9865 86.8398 24.4322 86.3833 24.835L86.0805 25.1279L86.0173 25.1878L85.9607 25.1279C85.6156 24.8117 85.3044 24.4604 85.0322 24.0796C85.413 24.3518 85.7643 24.663 86.0805 25.0081H85.9607L86.2635 24.7086C86.6806 24.2662 87.1373 23.863 87.6279 23.5039Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M114.37 23.1861C114.37 23.2327 109.548 23.2727 103.601 23.2727C97.6544 23.2727 92.8291 23.2327 92.8291 23.1861C92.8291 23.1395 97.6511 23.0996 103.601 23.0996C109.551 23.0996 114.37 23.1362 114.37 23.1861Z",fill:"white"}),(0,e.createElement)("path",{d:"M105.535 25.2916C105.535 25.3382 102.749 25.3781 99.3083 25.3781C95.8674 25.3781 93.082 25.3382 93.082 25.2916C93.082 25.245 95.8707 25.2051 99.3083 25.2051C102.746 25.2051 105.535 25.2384 105.535 25.2916Z",fill:"white"}),(0,e.createElement)("path",{d:"M139.746 67.4489C139.746 67.4489 140.031 64.4062 140.32 64.4318C140.609 64.4575 140.657 64.9961 140.621 65.259C140.586 65.5219 140.621 66.5415 140.621 66.5415L139.746 67.4489Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M165.854 64.9572L164.396 75.2173L171.129 104.632L152.532 106.12L160.548 58.7498C160.548 58.7498 165.838 58.1502 165.854 64.9572Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M142.99 116.734L141.916 128.873H146.504L148.527 116.734H142.99Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M141.916 128.875C141.916 128.875 138.819 129.276 138.268 129.673L146.383 129.577L146.505 128.875H141.916Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M138.268 129.676V130L146.623 129.91V129.561L138.268 129.676Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M141.236 129.862C141.191 129.881 141.06 129.631 140.79 129.435C140.521 129.24 140.249 129.179 140.255 129.134C140.261 129.089 140.576 129.076 140.896 129.307C141.217 129.538 141.265 129.852 141.236 129.862Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M146.61 128.633C146.61 128.678 146.052 128.79 145.418 129.092C144.783 129.393 144.334 129.733 144.302 129.71C144.582 129.372 144.942 129.108 145.35 128.944C145.737 128.734 146.171 128.627 146.61 128.633Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M146.421 128.435C144.915 128.469 143.408 128.393 141.913 128.208C142.661 128.166 143.411 128.178 144.157 128.243C144.916 128.252 145.672 128.316 146.421 128.435Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M146.96 126.838C146.144 127.071 145.314 127.25 144.475 127.373C143.645 127.552 142.806 127.678 141.961 127.752C142.777 127.522 143.607 127.343 144.446 127.216C145.275 127.038 146.115 126.912 146.96 126.838Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M146.88 126.897C146.67 126.9 146.463 126.855 146.274 126.765C146.061 126.681 145.859 126.574 145.671 126.445C145.558 126.371 145.451 126.288 145.35 126.198C145.288 126.144 145.24 126.076 145.209 125.999C145.193 125.954 145.186 125.906 145.191 125.858C145.195 125.81 145.21 125.764 145.235 125.723C145.263 125.682 145.303 125.649 145.349 125.629C145.394 125.609 145.445 125.601 145.495 125.608C145.572 125.619 145.648 125.64 145.719 125.672C145.845 125.724 145.965 125.791 146.075 125.871C146.263 126.003 146.425 126.171 146.55 126.364C146.679 126.533 146.754 126.736 146.764 126.948C146.739 126.948 146.678 126.724 146.444 126.429C146.315 126.258 146.158 126.11 145.979 125.993C145.879 125.923 145.771 125.864 145.658 125.819C145.54 125.765 145.405 125.742 145.37 125.819C145.351 125.868 145.35 125.922 145.366 125.972C145.383 126.021 145.415 126.064 145.459 126.092C145.552 126.179 145.649 126.26 145.751 126.336C145.929 126.458 146.117 126.565 146.312 126.656C146.655 126.817 146.883 126.871 146.88 126.897Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M146.837 127.016C146.737 126.833 146.697 126.623 146.722 126.416C146.732 126.196 146.78 125.979 146.863 125.775C146.913 125.651 146.978 125.534 147.055 125.425C147.097 125.366 147.142 125.309 147.19 125.255C147.219 125.219 147.256 125.19 147.297 125.17C147.339 125.149 147.384 125.138 147.431 125.137C147.48 125.14 147.527 125.156 147.568 125.183C147.608 125.211 147.641 125.249 147.661 125.294C147.697 125.368 147.712 125.449 147.706 125.531C147.7 125.666 147.679 125.799 147.642 125.929C147.576 126.147 147.467 126.35 147.322 126.525C147.204 126.697 147.036 126.828 146.841 126.9C146.841 126.878 147.023 126.753 147.229 126.458C147.347 126.285 147.434 126.093 147.485 125.89C147.517 125.772 147.534 125.65 147.536 125.528C147.536 125.406 147.488 125.297 147.415 125.297C147.341 125.297 147.245 125.419 147.171 125.515C147.099 125.616 147.036 125.723 146.985 125.836C146.899 126.028 146.844 126.232 146.821 126.442C146.799 126.775 146.863 127.016 146.837 127.016Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M147.453 128.901C147.242 128.628 147.09 128.313 147.007 127.978C146.874 127.65 146.814 127.298 146.831 126.945C146.968 127.262 147.075 127.59 147.151 127.926C147.279 128.242 147.38 128.568 147.453 128.901Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M148.002 128.471C147.373 128.092 146.906 127.495 146.69 126.794C146.735 126.771 146.957 127.195 147.332 127.653C147.707 128.112 148.031 128.432 148.002 128.471Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M160.115 117.728L169.516 125.18L171.751 121.909L163.347 112.762L160.115 117.728Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M168.852 125.365C168.852 125.365 167.406 128.132 167.419 128.814L171.985 122.107L171.481 121.604L168.852 125.365Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M167.419 128.814L167.685 129L172.395 122.1L172.11 121.898L167.419 128.814Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M169.262 126.499C169.262 126.543 168.974 126.499 168.66 126.62C168.345 126.742 168.14 126.915 168.105 126.887C168.07 126.858 168.246 126.588 168.608 126.467C168.971 126.345 169.282 126.46 169.262 126.499Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M171.34 121.379C171.385 121.398 171.151 121.927 171.036 122.62C170.92 123.312 170.952 123.883 170.904 123.902C170.719 123.041 170.875 122.14 171.34 121.392V121.379Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M171.085 121.203C170.732 121.788 170.335 122.344 169.895 122.867C169.495 123.424 169.054 123.949 168.574 124.438C168.927 123.852 169.326 123.294 169.767 122.771C170.164 122.214 170.604 121.69 171.085 121.203Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M170.074 120.062C169.835 120.773 169.547 121.466 169.212 122.137C168.925 122.828 168.589 123.498 168.205 124.141C168.445 123.431 168.733 122.739 169.068 122.07C169.353 121.377 169.69 120.706 170.074 120.062Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M170.071 120.164C170.087 120.164 169.936 120.366 169.615 120.587C169.429 120.717 169.228 120.825 169.016 120.908C168.891 120.958 168.762 120.999 168.631 121.029C168.551 121.047 168.468 121.047 168.387 121.029C168.341 121.017 168.298 120.995 168.261 120.964C168.224 120.933 168.195 120.894 168.176 120.85C168.159 120.803 168.155 120.752 168.164 120.703C168.174 120.654 168.197 120.608 168.23 120.571C168.283 120.513 168.343 120.464 168.41 120.423C168.722 120.226 169.086 120.126 169.455 120.138C169.667 120.127 169.876 120.183 170.055 120.298C170.055 120.324 169.824 120.241 169.455 120.253C169.113 120.262 168.78 120.367 168.493 120.555C168.381 120.622 168.285 120.722 168.32 120.789C168.349 120.832 168.393 120.865 168.443 120.88C168.493 120.895 168.547 120.892 168.596 120.872C168.72 120.845 168.842 120.811 168.961 120.77C169.166 120.697 169.365 120.607 169.554 120.5C169.878 120.302 170.055 120.144 170.071 120.164Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M170.138 120.26C169.93 120.236 169.735 120.149 169.58 120.01C169.399 119.876 169.245 119.709 169.125 119.519C169.052 119.407 168.993 119.286 168.948 119.16C168.922 119.094 168.902 119.025 168.887 118.955C168.874 118.911 168.871 118.864 168.877 118.818C168.884 118.772 168.901 118.728 168.926 118.689C168.957 118.651 168.998 118.622 169.044 118.604C169.09 118.587 169.14 118.582 169.189 118.59C169.268 118.604 169.343 118.638 169.407 118.689C169.514 118.771 169.61 118.866 169.695 118.971C169.841 119.145 169.95 119.347 170.016 119.564C170.089 119.759 170.101 119.972 170.048 120.173C170.011 119.981 169.963 119.79 169.907 119.603C169.832 119.406 169.724 119.224 169.586 119.064C169.506 118.973 169.417 118.89 169.32 118.817C169.227 118.74 169.102 118.724 169.057 118.785C169.012 118.846 169.057 118.994 169.099 119.106C169.139 119.218 169.191 119.325 169.253 119.426C169.361 119.607 169.498 119.769 169.657 119.907C169.926 120.161 170.147 120.234 170.138 120.26Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M172.045 120.838C171.693 120.86 171.339 120.805 171.01 120.678C170.661 120.6 170.333 120.448 170.048 120.232C170.714 120.419 171.376 120.621 172.033 120.838H172.045Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M172.017 120.144C171.694 120.316 171.332 120.403 170.966 120.397C170.601 120.445 170.231 120.396 169.892 120.256C169.892 120.211 170.376 120.256 170.956 120.237C171.536 120.218 171.992 120.096 172.017 120.144Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M151.054 81.1081C151.054 81.1081 147.463 104.96 147.986 106.117C148.508 107.275 160.134 119.176 160.134 119.176L164.498 111.703C164.498 111.703 156.803 103.177 156.915 102.725C157.027 102.273 162.462 79.1875 162.462 79.1875L151.054 81.1081Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M151.881 110.624L154.946 103.891L158.473 96.3301C156.327 99.4329 154.501 102.745 153.022 106.215C152.448 107.627 152.064 109.11 151.881 110.624Z",fill:"#008182"}),(0,e.createElement)("path",{opacity:"0.4",d:"M151.881 110.624L154.946 103.891L158.473 96.3301C156.327 99.4329 154.501 102.745 153.022 106.215C152.448 107.627 152.064 109.11 151.881 110.624Z",fill:"black"}),(0,e.createElement)("path",{d:"M149.777 89.9107C149.813 89.6574 152.708 83.1454 152.708 83.1454L151.3 81.1639L151.053 81.1094L149.777 89.9107Z",fill:"#008182"}),(0,e.createElement)("path",{opacity:"0.4",d:"M149.777 89.9107C149.813 89.6574 152.708 83.1454 152.708 83.1454L151.3 81.1639L151.053 81.1094L149.777 89.9107Z",fill:"black"}),(0,e.createElement)("path",{d:"M164.502 78.8633L164.717 79.7482C165.359 82.3582 164.967 85.1156 163.623 87.4433L153.889 104.318C153.198 105.517 152.695 106.814 152.398 108.166L149.974 119.067C149.974 119.067 142.321 119.327 141.99 119.067C141.66 118.807 142.978 111.59 143.856 106.123C144.52 102 150.035 89.2036 152.709 83.1597L151.055 81.1205L153.94 80.6428L164.502 78.8633Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M149.973 119.055C149.869 119.085 149.761 119.102 149.653 119.106C149.447 119.129 149.156 119.154 148.79 119.177C148.062 119.225 147.052 119.26 145.94 119.257C144.827 119.254 143.817 119.222 143.089 119.183C142.724 119.167 142.429 119.148 142.227 119.132C142.118 119.134 142.01 119.12 141.906 119.09C142.012 119.071 142.12 119.065 142.227 119.071H143.089L145.937 119.096C147.049 119.096 148.053 119.08 148.781 119.064L149.646 119.042C149.755 119.03 149.866 119.034 149.973 119.055Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M150.394 117.005C150.394 117.05 148.554 117.079 146.287 117.069C144.02 117.06 142.177 117.018 142.177 116.976C142.177 116.935 144.017 116.903 146.287 116.909C148.557 116.915 150.394 116.96 150.394 117.005Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M163.161 110.156C163.119 110.263 163.064 110.365 162.997 110.458L162.5 111.246L160.852 113.84L159.211 116.437L158.707 117.223C158.651 117.323 158.582 117.416 158.502 117.499C158.539 117.386 158.59 117.278 158.653 117.178C158.758 116.986 158.916 116.707 159.111 116.367C159.509 115.687 160.073 114.764 160.714 113.741C161.356 112.718 161.962 111.817 162.407 111.176C162.632 110.855 162.814 110.592 162.946 110.413C163.007 110.319 163.079 110.233 163.161 110.156Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M159.676 118.531C159.503 118.217 159.378 117.879 159.304 117.528C159.179 117.192 159.105 116.84 159.086 116.482C159.258 116.796 159.384 117.133 159.458 117.483C159.582 117.819 159.656 118.173 159.676 118.531Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M160.356 118.509C160.183 117.961 160.062 117.399 159.994 116.829C159.874 116.268 159.807 115.697 159.795 115.123C160.086 116.232 160.274 117.365 160.356 118.509Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M161.244 117.243C161.073 116.765 160.939 116.275 160.843 115.777C160.694 115.293 160.587 114.796 160.522 114.293C160.74 114.753 160.9 115.239 160.997 115.739C161.145 116.227 161.228 116.733 161.244 117.243Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M162 115.488C161.826 115.032 161.705 114.558 161.638 114.074C161.516 113.6 161.447 113.114 161.433 112.625C161.603 113.083 161.724 113.558 161.795 114.042C161.915 114.515 161.984 115 162 115.488Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M162.978 114.036C162.834 113.578 162.719 113.111 162.635 112.638C162.496 112.177 162.389 111.706 162.314 111.23C162.538 111.662 162.695 112.124 162.779 112.603C162.919 113.067 162.986 113.551 162.978 114.036Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M163.851 112.804C163.677 112.444 163.554 112.061 163.485 111.666C163.363 111.284 163.292 110.887 163.273 110.486C163.567 111.23 163.761 112.01 163.851 112.804Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M145.988 116.924C145.373 117.304 144.739 117.652 144.087 117.966C143.463 118.329 142.821 118.659 142.163 118.957C142.321 118.812 142.496 118.688 142.686 118.588C143.006 118.379 143.49 118.107 144.023 117.825C144.555 117.543 145.046 117.309 145.405 117.148C145.589 117.049 145.785 116.973 145.988 116.924Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M148.348 116.959C148.162 117.112 147.96 117.245 147.745 117.353C147.36 117.575 146.825 117.866 146.219 118.168C145.613 118.469 145.052 118.716 144.641 118.886C144.426 118.993 144.199 119.073 143.965 119.126C144.165 118.988 144.38 118.873 144.606 118.783L146.155 118.023L147.7 117.254C147.905 117.133 148.122 117.034 148.348 116.959Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M150.144 116.959C149.687 117.421 149.184 117.836 148.643 118.197C148.133 118.599 147.584 118.95 147.005 119.245C147.493 118.818 148.008 118.424 148.547 118.065C149.056 117.664 149.59 117.295 150.144 116.959Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M150.339 118.088C150.368 118.123 150.07 118.409 149.673 118.703C149.448 118.91 149.189 119.075 148.906 119.191C149.092 118.948 149.319 118.74 149.576 118.575C149.8 118.37 150.059 118.205 150.339 118.088Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M143.895 116.887C143.597 117.157 143.265 117.386 142.907 117.57C142.575 117.798 142.214 117.982 141.833 118.115C142.463 117.616 143.156 117.203 143.895 116.887Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M152.497 83.0879C152.386 83.4527 152.25 83.8094 152.09 84.1556C151.827 84.7968 151.449 85.7106 151.071 86.7206C150.692 87.7306 150.343 88.6444 150.109 89.2857C149.991 89.6473 149.85 90.0007 149.686 90.3437C149.696 90.242 149.719 90.142 149.753 90.0455C149.807 89.8564 149.891 89.5838 150 89.2472C150.218 88.5771 150.542 87.644 150.93 86.6533C151.318 85.6625 151.706 84.752 151.997 84.1107C152.145 83.7901 152.267 83.5336 152.356 83.3572C152.392 83.2619 152.439 83.1714 152.497 83.0879Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M151.699 111.388C151.692 111.325 151.692 111.262 151.699 111.199C151.715 111.058 151.74 110.878 151.766 110.66C151.792 110.442 151.837 110.141 151.91 109.81C151.984 109.48 152.042 109.105 152.157 108.698C152.212 108.496 152.269 108.281 152.327 108.057C152.385 107.832 152.468 107.608 152.542 107.37C152.683 106.896 152.879 106.409 153.071 105.876C153.522 104.752 154.034 103.653 154.604 102.583C155.658 100.655 156.822 98.7879 158.089 96.9916C158.567 96.2991 158.964 95.7444 159.243 95.3628L159.564 94.9268C159.6 94.8741 159.641 94.8248 159.686 94.7793C159.661 94.8384 159.63 94.8944 159.593 94.946C159.512 95.0615 159.416 95.2122 159.294 95.3981L158.182 97.0558C157.268 98.4569 155.986 100.403 154.757 102.648C154.191 103.711 153.678 104.803 153.222 105.918C153.026 106.437 152.824 106.928 152.68 107.399C152.603 107.637 152.523 107.861 152.459 108.079C152.394 108.297 152.337 108.512 152.282 108.72C152.16 109.124 152.087 109.499 152.01 109.823C151.933 110.147 151.878 110.432 151.84 110.663C151.801 110.894 151.769 111.058 151.744 111.196C151.735 111.261 151.72 111.325 151.699 111.388Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M161.244 58.7754L153.712 59.4166C153.712 59.4166 151.468 59.468 149.005 65.188L147.235 70.8631L150.419 71.5428V71.8635L151.06 81.1072L164.642 78.9205C164.671 77.747 164.001 76.0349 163.51 74.4317C164.02 73.1652 166.165 67.6376 166.162 64.9764C166.162 59.2852 161.24 58.7946 161.24 58.7946",fill:"white"}),(0,e.createElement)("path",{d:"M164.498 111.695C164.466 111.808 164.419 111.915 164.36 112.016C164.26 112.212 164.113 112.49 163.924 112.834C163.545 113.52 163 114.456 162.385 115.479L160.794 118.085L160.313 118.881C160.261 118.981 160.197 119.075 160.121 119.16C160.153 119.047 160.199 118.939 160.259 118.839C160.358 118.643 160.506 118.364 160.695 118.021C161.073 117.335 161.618 116.399 162.234 115.376L163.812 112.76L164.292 111.968C164.35 111.869 164.419 111.778 164.498 111.695Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M162.719 72.3672C162.387 72.5281 162.026 72.6228 161.658 72.6461C161.297 72.7182 160.925 72.7182 160.564 72.6461C160.916 72.555 161.276 72.4981 161.639 72.4762C161.994 72.4056 162.356 72.3691 162.719 72.3672Z",fill:"white"}),(0,e.createElement)("path",{d:"M151.087 71.9141L150.933 81.9466L155.005 59.0985C153.652 58.8581 151.128 59.9225 150.179 61.2724C149.499 62.0804 149.128 63.94 147.236 69.5382L146.075 73.3377L141.368 68.1852L138.197 71.0516C138.197 71.0516 143.667 79.9875 145.953 80.4813C149.063 81.1546 151.083 71.9141 151.083 71.9141",fill:"#455A64"}),(0,e.createElement)("path",{d:"M151.737 62.6328C151.739 62.7644 151.725 62.8958 151.696 63.024C151.654 63.3061 151.599 63.6652 151.532 64.0788C151.394 64.9702 151.211 66.2014 151.042 67.5673C150.872 68.9332 150.753 70.174 150.67 71.0718C150.631 71.495 150.599 71.8509 150.57 72.133C150.568 72.2652 150.55 72.3966 150.516 72.5242C150.503 72.3931 150.503 72.261 150.516 72.1298C150.516 71.8766 150.538 71.5142 150.564 71.0621C150.615 70.1612 150.721 68.9171 150.884 67.5352C151.048 66.1533 151.256 64.9349 151.423 64.0468C151.51 63.6043 151.583 63.2452 151.638 62.9983C151.66 62.8737 151.693 62.7513 151.737 62.6328Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M150.682 62.1942C150.666 62.1493 151.298 61.8736 152.016 61.4376C152.734 61.0015 153.257 60.5526 153.298 60.5879C152.598 61.3573 151.694 61.9131 150.692 62.191L150.682 62.1942Z",fill:"white"}),(0,e.createElement)("path",{d:"M149.38 68.8073C149.218 68.436 149.086 68.0521 148.986 67.6594C148.835 67.2839 148.715 66.8968 148.627 66.502C149.056 67.2005 149.314 67.9903 149.38 68.8073Z",fill:"white"}),(0,e.createElement)("path",{d:"M152.683 65.1973C152.727 65.6441 152.695 66.0952 152.587 66.5311C152.531 66.9784 152.398 67.4125 152.192 67.8136C152.245 67.3742 152.324 66.9384 152.43 66.5086C152.486 66.0666 152.571 65.6286 152.683 65.1973Z",fill:"white"}),(0,e.createElement)("path",{d:"M148.101 73.9453C148.103 74.3396 148.071 74.7333 148.005 75.122C147.988 75.5177 147.939 75.9113 147.857 76.2987C147.758 75.5059 147.841 74.7009 148.101 73.9453Z",fill:"white"}),(0,e.createElement)("path",{d:"M142.083 73.8642C141.733 73.4841 141.445 73.0513 141.23 72.5817C140.967 72.1359 140.775 71.6526 140.659 71.1484C140.921 71.5881 141.159 72.042 141.371 72.5079C141.632 72.947 141.87 73.3998 142.083 73.8642Z",fill:"white"}),(0,e.createElement)("path",{d:"M145.527 74.1113C145.274 74.3519 144.975 74.5385 144.648 74.6596C144.342 74.8292 144.003 74.9329 143.654 74.9642C143.947 74.7832 144.257 74.6328 144.581 74.5153C144.882 74.3491 145.199 74.2137 145.527 74.1113Z",fill:"white"}),(0,e.createElement)("path",{d:"M161.834 77.2789L164.191 105.292L171.289 104.622L164.55 75.2076L165.374 67.3105L161.834 77.2789Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M164.19 105.293C164.148 105.293 163.625 99.0825 163.026 91.4131C162.426 83.7436 161.981 77.5266 162.022 77.5234C162.064 77.5202 162.59 83.7308 163.186 91.4003C163.782 99.0697 164.235 105.29 164.19 105.293Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M163.507 77.9272C163.555 77.6052 163.656 77.2933 163.805 77.0038C163.908 76.6954 164.06 76.4054 164.254 76.1445C164.107 76.7767 163.855 77.3794 163.507 77.9272Z",fill:"white"}),(0,e.createElement)("path",{d:"M165.466 82.0959C165.428 82.1247 165.075 81.7143 164.578 81.2751C164.26 81.0277 163.955 80.7644 163.664 80.4863C164.049 80.6341 164.398 80.8626 164.687 81.1564C165.01 81.4114 165.275 81.7315 165.466 82.0959Z",fill:"white"}),(0,e.createElement)("path",{d:"M165.033 87.7158C165.162 87.3862 165.311 87.065 165.479 86.7539C165.598 86.4174 165.739 86.0887 165.899 85.7695C165.89 86.1358 165.796 86.4949 165.623 86.818C165.5 87.1595 165.298 87.4671 165.033 87.7158Z",fill:"white"}),(0,e.createElement)("path",{d:"M166.566 92.2262C165.88 91.7766 165.257 91.2375 164.713 90.623C165.064 90.8276 165.387 91.0765 165.675 91.3637C166.008 91.6112 166.308 91.9012 166.566 92.2262Z",fill:"white"}),(0,e.createElement)("path",{d:"M167.848 95.3233C167.748 94.4237 167.754 93.5153 167.867 92.6172C167.941 93.0642 167.965 93.518 167.938 93.9702C167.961 94.4232 167.931 94.8773 167.848 95.3233Z",fill:"white"}),(0,e.createElement)("path",{d:"M165.573 97.4281C165.482 97.0763 165.425 96.7166 165.403 96.354C165.33 95.9982 165.291 95.6365 165.284 95.2734C165.45 95.6036 165.549 95.9631 165.576 96.3315C165.648 96.6936 165.647 97.0664 165.573 97.4281Z",fill:"white"}),(0,e.createElement)("path",{d:"M167.922 100.108C167.242 100.114 166.564 100.013 165.915 99.8097C166.255 99.7792 166.599 99.8031 166.931 99.8803C167.271 99.9047 167.606 99.9815 167.922 100.108Z",fill:"white"}),(0,e.createElement)("path",{d:"M167.528 103.674C167.866 102.977 168.298 102.33 168.811 101.75C168.669 102.112 168.476 102.452 168.24 102.76C168.044 103.095 167.805 103.402 167.528 103.674Z",fill:"white"}),(0,e.createElement)("path",{d:"M151.375 80.6776L139.451 64.4345C140.157 63.8902 140.819 63.2898 141.429 62.639C143.972 59.9173 145.514 56.4123 145.802 52.6989C146.091 48.9856 145.109 45.2843 143.018 42.2024C140.926 39.1205 137.849 36.8408 134.292 35.7374C130.735 34.634 126.908 34.7723 123.44 36.1297C119.971 37.4871 117.067 39.9829 115.204 43.2078C113.34 46.4327 112.628 50.1951 113.184 53.878C113.74 57.5608 115.531 60.9453 118.264 63.4763C120.996 66.0074 124.508 67.5346 128.222 67.8075C128.808 67.8504 129.396 67.8611 129.982 67.8396C132.37 67.7662 134.712 67.1708 136.844 66.0954L148.89 82.5052C149.133 82.833 149.497 83.0508 149.901 83.1109C150.305 83.171 150.716 83.0685 151.045 82.8258C151.372 82.5838 151.591 82.2222 151.652 81.8197C151.714 81.4173 151.615 81.0067 151.375 80.6776ZM129.893 64.7615C129.416 64.7772 128.939 64.7686 128.463 64.7359C125.053 64.4901 121.868 62.9454 119.564 60.4201C117.26 57.8949 116.013 54.5818 116.08 51.1642C116.147 47.7465 117.523 44.4849 119.924 42.0519C122.326 39.619 125.569 38.2003 128.985 38.0884C129.468 38.0723 129.95 38.0819 130.431 38.1172C133.836 38.3716 137.013 39.9209 139.309 42.4464C141.606 44.9719 142.848 48.2815 142.779 51.6945C142.71 55.1074 141.335 58.3642 138.939 60.7948C136.542 63.2253 133.304 64.6449 129.893 64.7615Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M146.64 71.8445L145.226 76.6764C145.226 76.6764 152.626 79.3664 156.634 79.3151C160.388 79.2703 161.462 78.8438 162.783 75.8139C164.104 72.7839 165.605 69.3019 165.925 67.2851C165.925 67.2851 168.045 58.0542 159.959 58.8782L159.734 66.0956C159.734 66.0956 158.84 69.055 158.772 69.2281C158.169 70.8313 157.387 73.1623 156.63 73.4444C155.874 73.7266 146.64 71.8445 146.64 71.8445Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M158.253 75.7146C157.657 75.0146 157.19 74.2145 156.874 73.3516C157.148 73.7168 157.389 74.1051 157.595 74.5122C157.847 74.8942 158.067 75.2964 158.253 75.7146Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M159.01 74.9536C158.623 74.7543 158.263 74.5089 157.936 74.2226C157.58 73.9777 157.257 73.689 156.974 73.3633C157.359 73.564 157.72 73.8093 158.048 74.0943C158.403 74.3391 158.726 74.6278 159.01 74.9536Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M161.523 61.7891C161.288 62.5603 161.003 63.3153 160.67 64.0495C160.387 64.8039 160.054 65.5387 159.673 66.249C159.905 65.4774 160.189 64.7222 160.523 63.9886C160.806 63.2337 161.14 62.4989 161.523 61.7891Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M165.604 68.6602C165.583 68.7867 165.547 68.9104 165.498 69.0289C165.408 69.2918 165.296 69.622 165.178 70.01C164.883 70.8372 164.469 71.9787 163.982 73.2163C163.494 74.4539 163.02 75.5793 162.629 76.3713C162.439 76.7689 162.279 77.0863 162.16 77.3011C162.108 77.4152 162.042 77.5228 161.965 77.6217C161.999 77.4985 162.046 77.3791 162.106 77.2658C162.218 77.0125 162.356 76.6919 162.523 76.304C162.875 75.4992 163.34 74.3802 163.831 73.1361C164.321 71.8921 164.741 70.7891 165.069 69.9298C165.229 69.5226 165.363 69.1924 165.456 68.968C165.496 68.861 165.545 68.758 165.604 68.6602Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M153.712 73.2327C153.712 73.2776 152.109 73.0211 150.115 72.662C148.12 72.3029 146.536 71.9759 146.546 71.9342C146.556 71.8925 148.149 72.1458 150.143 72.5049C152.138 72.864 153.722 73.191 153.712 73.2327Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M162.103 68.8274C162.006 67.9604 162.018 67.0847 162.138 66.2207C162.211 66.6516 162.232 67.0898 162.199 67.5257C162.221 67.9619 162.188 68.3991 162.103 68.8274Z",fill:"white"}),(0,e.createElement)("path",{d:"M159.221 77.7012C159.339 77.3654 159.482 77.0386 159.647 76.7233C159.765 76.3867 159.906 76.0588 160.07 75.7422C160.058 76.1069 159.964 76.4641 159.795 76.7874C159.673 77.1306 159.477 77.4426 159.221 77.7012Z",fill:"white"}),(0,e.createElement)("path",{d:"M155.305 77.4518C154.865 76.712 154.449 75.9581 154.058 75.1914C154.365 75.5019 154.617 75.8617 154.805 76.2559C155.038 76.6234 155.207 77.0278 155.305 77.4518Z",fill:"white"}),(0,e.createElement)("path",{d:"M149.894 74.9551C149.569 75.1701 149.216 75.3395 148.845 75.4585C148.494 75.625 148.122 75.7436 147.739 75.8112C148.064 75.5961 148.417 75.4267 148.788 75.3078C149.139 75.1408 149.511 75.0221 149.894 74.9551Z",fill:"white"}),(0,e.createElement)("path",{d:"M165.076 63.6256C165.04 63.6544 164.684 63.3049 164.171 62.9394C163.658 62.5739 163.19 62.3847 163.21 62.3398C163.593 62.4071 163.954 62.5678 164.261 62.808C164.597 63.0081 164.877 63.2892 165.076 63.6256Z",fill:"white"}),(0,e.createElement)("path",{d:"M162.767 71.5977C161.946 71.893 161.07 72.0026 160.202 71.9183C160.625 71.8268 161.053 71.7678 161.485 71.7419C161.908 71.6627 162.337 71.6145 162.767 71.5977Z",fill:"white"}),(0,e.createElement)("path",{d:"M162.008 46.8797C162.224 46.4861 162.568 46.1781 162.983 46.0067C163.398 45.8353 163.86 45.8107 164.291 45.9371C164.717 46.0773 165.104 46.3179 165.418 46.6387C165.732 46.9596 165.965 47.3512 166.096 47.7807C166.349 48.6454 166.366 49.5622 166.144 50.4355C166.003 51.0767 165.823 51.8174 166.24 52.3112C166.657 52.8049 167.369 52.76 167.827 53.1576C167.94 53.257 168.032 53.3786 168.096 53.5148C168.16 53.651 168.196 53.7989 168.2 53.9495C168.205 54.1 168.179 54.2498 168.123 54.3898C168.068 54.5297 167.984 54.6568 167.877 54.763C167.771 54.8693 167.643 54.9525 167.503 55.0075C167.363 55.0625 167.213 55.0882 167.062 55.0828C166.912 55.0775 166.764 55.0414 166.628 54.9766C166.492 54.9118 166.371 54.8198 166.272 54.7063C166.272 55.1519 166.516 55.5591 166.654 55.9888C166.792 56.4184 166.811 56.9507 166.471 57.236C166.336 57.3334 166.177 57.3931 166.012 57.4089C165.846 57.4247 165.679 57.396 165.528 57.3258C165.227 57.1829 164.954 56.9863 164.723 56.7455C164.881 57.2059 164.881 57.7054 164.723 58.1659C164.639 58.393 164.497 58.5943 164.311 58.7505C164.126 58.9067 163.904 59.0123 163.665 59.0572C163.364 59.0795 163.062 59.0112 162.799 58.8609C162.536 58.7107 162.324 58.4854 162.19 58.2139C161.933 57.6653 161.836 57.055 161.912 56.4537C161.979 55.5175 162.232 54.6005 162.335 53.6706C162.5 52.7386 162.379 51.7786 161.988 50.9164",fill:"#008182"}),(0,e.createElement)("path",{d:"M167.442 52.3467C167.442 52.3467 167.404 52.3692 167.32 52.3467C167.26 52.3369 167.204 52.3133 167.155 52.2776C167.106 52.242 167.066 52.1954 167.038 52.1415C166.993 52.0523 166.981 51.9497 167.005 51.8526C167.029 51.7554 167.088 51.6702 167.17 51.6125C167.275 51.5321 167.406 51.4921 167.538 51.4997C167.67 51.5074 167.796 51.5622 167.891 51.6542C168.003 51.7632 168.083 51.9014 168.121 52.0532C168.159 52.205 168.154 52.3644 168.106 52.5135C168.064 52.6831 167.974 52.8369 167.846 52.9559C167.705 53.0823 167.525 53.1559 167.336 53.1643C167.143 53.1766 166.949 53.1344 166.778 53.0425C166.602 52.9433 166.455 52.7996 166.352 52.6257C166.149 52.2632 166.077 51.8423 166.147 51.4329C166.265 50.6089 166.663 49.9196 166.653 49.227C166.662 48.6157 166.495 48.0147 166.172 47.4956C165.955 47.1437 165.672 46.8368 165.339 46.5914C165.101 46.4183 164.951 46.3542 164.96 46.3381C164.97 46.3221 164.999 46.3381 165.073 46.3798C165.177 46.4249 165.278 46.4785 165.374 46.5401C165.731 46.773 166.036 47.0776 166.269 47.4347C166.619 47.9679 166.804 48.5924 166.801 49.2302C166.801 49.9645 166.413 50.6763 166.304 51.4554C166.24 51.8279 166.304 52.2112 166.487 52.5423C166.569 52.6914 166.691 52.8147 166.839 52.8985C166.988 52.9823 167.156 53.0233 167.327 53.0169C167.477 53.0079 167.621 52.9506 167.736 52.8536C167.852 52.7566 167.933 52.6249 167.968 52.4782C168.012 52.3517 168.02 52.2155 167.991 52.0848C167.962 51.954 167.897 51.8338 167.804 51.7375C167.728 51.6601 167.627 51.6122 167.519 51.6022C167.411 51.5922 167.303 51.6209 167.214 51.683C167.146 51.7282 167.095 51.7958 167.071 51.8742C167.047 51.9526 167.052 52.037 167.083 52.1127C167.106 52.1609 167.138 52.2039 167.178 52.2387C167.219 52.2735 167.266 52.2994 167.317 52.3147C167.397 52.3467 167.439 52.3371 167.442 52.3467Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M160.022 59.0571L160.452 49.2715L156.566 46.3281L153.039 48.0563C153.039 48.0563 152.92 52.4906 153.039 54.4144C153.158 56.3382 155.097 56.5434 155.097 56.5434C155.097 56.5434 155.053 57.6688 155.008 58.8551C154.995 59.1949 155.052 59.5336 155.174 59.8509C155.296 60.1682 155.481 60.4575 155.718 60.7011C155.955 60.9448 156.239 61.1379 156.553 61.2686C156.867 61.3994 157.204 61.4651 157.544 61.4618C158.186 61.4534 158.801 61.1996 159.261 60.7524C159.722 60.3053 159.995 59.6987 160.022 59.0571Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M153.421 51.2879C153.421 51.3367 153.435 51.3845 153.463 51.4251C153.49 51.4657 153.528 51.4973 153.573 51.516C153.618 51.5347 153.668 51.5396 153.716 51.53C153.764 51.5205 153.808 51.497 153.842 51.4625C153.877 51.4279 153.9 51.384 153.91 51.3361C153.919 51.2882 153.915 51.2385 153.896 51.1934C153.877 51.1483 153.846 51.1097 153.805 51.0826C153.764 51.0555 153.717 51.041 153.668 51.041C153.603 51.0418 153.54 51.0681 153.494 51.1142C153.448 51.1604 153.422 51.2227 153.421 51.2879Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M153.18 51.0259C153.212 51.058 153.392 50.9041 153.658 50.8912C153.924 50.8784 154.123 51.0035 154.149 50.9682C154.174 50.9329 154.129 50.8944 154.043 50.8335C153.926 50.7562 153.788 50.7191 153.648 50.7278C153.509 50.7365 153.376 50.7905 153.27 50.8816C153.19 50.9425 153.164 51.0067 153.18 51.0259Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M156.271 51.2879C156.271 51.3367 156.285 51.3845 156.312 51.4251C156.339 51.4657 156.378 51.4973 156.423 51.516C156.468 51.5347 156.518 51.5396 156.566 51.53C156.613 51.5205 156.657 51.497 156.692 51.4625C156.726 51.4279 156.75 51.384 156.76 51.3361C156.769 51.2882 156.764 51.2385 156.745 51.1934C156.727 51.1483 156.695 51.1097 156.655 51.0826C156.614 51.0555 156.566 51.041 156.517 51.041C156.452 51.041 156.389 51.067 156.343 51.1133C156.297 51.1596 156.271 51.2224 156.271 51.2879Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M156.117 51.0259C156.149 51.058 156.332 50.9041 156.595 50.8912C156.858 50.8784 157.06 51.0035 157.088 50.9682C157.117 50.9329 157.069 50.8944 156.979 50.8335C156.863 50.7562 156.724 50.7191 156.585 50.7278C156.445 50.7365 156.313 50.7905 156.207 50.8816C156.126 50.9425 156.101 51.0067 156.117 51.0259Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M156.037 53.5117C155.633 53.718 155.201 53.8658 154.755 53.951C154.853 54.0844 154.992 54.1815 155.151 54.2268C155.31 54.272 155.48 54.263 155.633 54.2011C155.707 54.1848 155.776 54.1537 155.836 54.1095C155.897 54.0654 155.948 54.0092 155.986 53.9445C156.024 53.8798 156.048 53.808 156.057 53.7335C156.066 53.659 156.059 53.5835 156.037 53.5117Z",fill:"white"}),(0,e.createElement)("path",{d:"M155.088 56.5441C156.002 56.505 156.887 56.2058 157.637 55.6816C157.637 55.6816 157.06 57.0956 155.13 57.0155L155.088 56.5441Z",fill:"#EB996E"}),(0,e.createElement)("path",{d:"M166.047 54.8034C165.803 54.8126 165.562 54.7573 165.348 54.6431C165.031 54.4741 164.767 54.2197 164.588 53.9089C164.367 53.5184 164.177 53.111 164.02 52.6905C163.661 51.7959 163.379 50.9655 163.206 50.3595L163.126 50.0934C163.126 49.9908 163.094 49.8978 163.077 49.8305C162.026 45.8194 158.502 45.0723 157.803 45.0723C157.104 45.0723 155.748 44.6619 153.84 46.6434C153.554 46.9414 153.311 47.2782 153.119 47.6438C152.695 48.17 152.404 48.7901 152.269 49.4521C152.181 49.7652 152.166 50.0941 152.224 50.414C152.259 50.414 152.266 50.0517 152.413 49.4938C152.503 49.166 152.627 48.8488 152.785 48.5479C152.619 49.2888 152.687 50.0633 152.981 50.7635L153.664 50.5743L156.113 49.7407C155.889 48.984 156.219 48.0414 156.402 47.6021L156.421 47.5861C156.558 48.3855 156.946 49.1207 157.528 49.6855C158.11 50.2503 158.856 50.6155 159.66 50.7282L160.112 57.0286C163.369 56.3328 163.292 51.9755 163.273 51.0905C163.421 51.5875 163.613 52.1614 163.853 52.761C164.012 53.1928 164.212 53.6083 164.45 54.0018C164.65 54.333 164.944 54.5983 165.293 54.7649C165.53 54.8755 165.794 54.9145 166.053 54.8772C166.148 54.8685 166.239 54.8341 166.316 54.7778C166.226 54.7806 166.136 54.7892 166.047 54.8034Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M155.162 53.2707C155.02 53.2378 154.875 53.2195 154.729 53.2162C154.662 53.2162 154.594 53.2162 154.581 53.1553C154.572 53.0818 154.584 53.007 154.617 52.9405L154.8 52.3922C154.925 52.001 155.034 51.6451 155.12 51.3854C155.172 51.2483 155.204 51.1049 155.216 50.959C155.138 51.0809 155.074 51.211 155.024 51.3469C154.934 51.6002 154.816 51.9529 154.703 52.3441L154.53 52.8956C154.491 52.982 154.482 53.0792 154.505 53.1713C154.515 53.1949 154.53 53.2159 154.549 53.2325C154.569 53.2492 154.592 53.2612 154.617 53.2675C154.655 53.272 154.694 53.272 154.732 53.2675C154.875 53.2869 155.019 53.288 155.162 53.2707Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M160.657 53.1762C160.625 52.852 160.66 52.5245 160.76 52.2143C160.81 52.0621 160.901 51.9263 161.022 51.8214C161.144 51.7164 161.291 51.6461 161.449 51.618C161.636 51.6095 161.819 51.6703 161.963 51.7887C162.108 51.907 162.203 52.0746 162.231 52.2592C162.253 52.4428 162.219 52.6286 162.134 52.793C162.05 52.9574 161.919 53.093 161.757 53.1826C161.592 53.2683 161.411 53.3157 161.225 53.3213C161.04 53.3268 160.855 53.2904 160.686 53.2147",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M161.215 52.8985C161.215 52.876 161.321 52.9241 161.455 52.8825C161.54 52.8535 161.614 52.7986 161.666 52.7255C161.717 52.6524 161.745 52.5648 161.744 52.4753C161.752 52.4302 161.75 52.384 161.738 52.3397C161.726 52.2955 161.706 52.2542 161.677 52.2188C161.617 52.1711 161.541 52.1481 161.465 52.1546C161.321 52.1546 161.221 52.2059 161.212 52.1835C161.202 52.161 161.276 52.0937 161.449 52.0424C161.504 52.0289 161.561 52.0276 161.617 52.0387C161.672 52.0498 161.724 52.073 161.77 52.1065C161.82 52.1548 161.858 52.2142 161.881 52.28C161.903 52.3457 161.911 52.4159 161.901 52.4849C161.894 52.6172 161.843 52.7434 161.757 52.844C161.684 52.9272 161.584 52.9808 161.475 52.9947C161.289 53.0139 161.202 52.9113 161.215 52.8985Z",fill:"#EB996E"}),(0,e.createElement)("path",{d:"M161.791 53.1608C161.791 53.1608 161.936 53.2602 161.936 53.5167C161.929 53.6664 161.865 53.8077 161.756 53.9111C161.687 53.9738 161.605 54.0206 161.516 54.0483C161.426 54.076 161.332 54.0839 161.24 54.0714C161.147 54.0538 161.059 54.016 160.983 53.9606C160.906 53.9051 160.843 53.8335 160.797 53.7508C160.761 53.684 160.739 53.6108 160.732 53.5354C160.725 53.4599 160.733 53.3838 160.756 53.3115C160.836 53.0646 160.999 52.9909 161.006 53.0165C161.012 53.0422 160.903 53.1288 160.865 53.3372C160.845 53.436 160.858 53.5384 160.899 53.63C160.941 53.7216 161.01 53.798 161.097 53.8484C161.184 53.8989 161.285 53.9209 161.385 53.9115C161.486 53.902 161.58 53.8615 161.657 53.7957C161.749 53.7202 161.808 53.6124 161.823 53.4943C161.827 53.3822 161.816 53.2701 161.791 53.1608Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M160.663 51.8362C160.592 51.9025 160.508 51.9538 160.417 51.9869C160.171 52.094 159.906 52.1486 159.637 52.1472C159.237 52.1453 158.843 52.0462 158.49 51.8587C158.063 51.6264 157.697 51.2968 157.422 50.8968C156.949 50.1576 156.657 49.3172 156.569 48.4439C156.524 48.1233 156.502 47.8476 156.489 47.6648C156.472 47.5683 156.472 47.4696 156.489 47.373C156.571 47.7211 156.635 48.0732 156.681 48.4279C156.8 49.2729 157.097 50.0828 157.553 50.8038C157.812 51.1838 158.153 51.5005 158.551 51.7304C158.882 51.911 159.251 52.0141 159.628 52.0318C159.983 52.0354 160.335 51.9689 160.663 51.8362Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M162.822 49.0787C162.773 49.0787 162.629 48.524 162.254 47.9212C161.879 47.3185 161.436 46.9369 161.468 46.8984C161.857 47.1195 162.176 47.4449 162.389 47.8379C162.648 48.2022 162.798 48.6325 162.822 49.0787Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M145.369 76.1828H144.237C143.208 76.0834 142.634 76.0674 142.346 75.7949C141.961 75.4262 142.49 75.067 142.49 75.067C142.49 75.067 141.746 74.8105 141.817 74.3585C141.861 74.0378 142.214 74.0154 142.214 74.0154C142.214 74.0154 141.573 73.7589 141.429 73.4831C141.252 73.1112 141.714 72.9124 141.714 72.9124C140.819 72.3609 140.903 71.8127 141.108 71.7582C141.313 71.7036 142.012 72.0275 142.012 72.0275C142.602 72.1942 144.212 72.6848 143.615 71.7966C143.019 70.9085 142.897 70.0043 143.032 69.735C143.061 69.6642 143.115 69.6063 143.183 69.5717C143.251 69.5371 143.33 69.5281 143.404 69.5463C143.479 69.5645 143.544 69.6087 143.589 69.671C143.633 69.7332 143.654 69.8094 143.647 69.8857C143.74 70.2352 143.881 70.5699 144.067 70.8796C144.209 71.1291 144.39 71.3543 144.603 71.5465C144.856 71.771 145.081 71.9505 145.273 72.1012L146.28 73.0631L145.369 76.1828Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M138.325 64.8868C138.409 64.6431 138.611 64.47 138.829 64.5854C138.872 64.6364 138.902 64.6978 138.914 64.7636C138.926 64.8294 138.921 64.8973 138.899 64.9606L138.2 67.2338L138.861 65.6307C138.944 65.387 139.166 65.2395 139.316 65.371C139.354 65.4238 139.378 65.4847 139.388 65.5488C139.397 65.6129 139.391 65.6783 139.371 65.7397L138.768 67.6282L139.259 66.4483C139.361 66.179 139.48 66.1052 139.618 66.1661C139.755 66.2271 139.759 66.4226 139.727 66.5316L139.313 67.9232C139.403 68.1925 139.711 69.0358 139.412 69.5103C139.412 69.5327 139.444 69.6129 139.441 69.6385L139.582 69.7989L138.672 70.6357C138.672 70.6357 137.816 68.4715 137.652 67.8206C137.552 67.446 137.569 67.0495 137.703 66.6856L138.325 64.8868Z",fill:"#FFBE9D"}),(0,e.createElement)("path",{d:"M60.0661 127.674L59.9929 124.619L54.2725 124.722L54.3357 129.188L54.6884 129.205C56.2691 129.265 62.725 129.398 63.7733 129.058C64.9447 128.682 60.0661 127.674 60.0661 127.674Z",fill:"#008182"}),(0,e.createElement)("path",{d:"M56.382 129.118C56.2895 128.637 56.0214 128.207 55.6299 127.913C55.2507 127.621 54.776 127.481 54.2988 127.52L54.3288 129.118H56.382Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M62.4524 128.25C62.4524 128.25 64.1629 128.713 63.9566 128.995C63.7502 129.278 57.2178 129.391 54.3359 129.188V129.062L61.9532 128.995C61.9532 128.995 62.1196 128.27 62.4524 128.25Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M54.2422 129.059H55.6631C56.5417 129.059 57.753 129.059 59.0941 129.039C60.4352 129.019 61.6465 128.979 62.5251 128.946L63.5633 128.909H63.8462C63.8794 128.905 63.9128 128.905 63.946 128.909H63.8495L63.5666 128.932L62.5284 128.992C61.6498 129.039 60.4352 129.085 59.0941 129.105C57.753 129.125 56.5417 129.105 55.6631 129.105L54.6216 129.079H54.3387L54.2422 129.059Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M61.9598 129.085C61.935 128.897 61.98 128.706 62.0862 128.549C62.1727 128.381 62.3169 128.25 62.4922 128.18C62.3675 128.303 62.256 128.439 62.1595 128.586C62.0733 128.744 62.0063 128.911 61.9598 129.085Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M60.256 128.255C60.2393 128.255 60.2926 128.132 60.3758 127.999C60.459 127.866 60.5355 127.766 60.5521 127.776C60.5688 127.786 60.5155 127.903 60.4323 128.032C60.3491 128.162 60.2726 128.265 60.256 128.255Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M59.79 128.019C59.79 128.019 59.8433 127.923 59.9431 127.83C60.0429 127.737 60.1295 127.68 60.1395 127.693C60.1494 127.707 60.0862 127.793 59.9897 127.883C59.8932 127.973 59.8034 128.033 59.79 128.019Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M59.4873 127.483C59.5838 127.451 59.6857 127.44 59.7868 127.45C59.8876 127.438 59.9897 127.449 60.0863 127.48C59.9908 127.516 59.8881 127.528 59.7868 127.516C59.6858 127.53 59.5829 127.519 59.4873 127.483Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M59.3809 127.12C59.4922 127.116 59.6037 127.123 59.7136 127.14C59.8248 127.137 59.9361 127.143 60.0464 127.157C59.9437 127.209 59.8274 127.228 59.7136 127.21C59.5961 127.215 59.48 127.184 59.3809 127.12Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M60.4424 127.752C60.4424 127.752 60.5821 127.752 60.8018 127.696C60.9298 127.672 61.0556 127.637 61.1778 127.593C61.2495 127.568 61.3186 127.537 61.3841 127.499C61.4474 127.459 61.4707 127.39 61.4108 127.35C61.2732 127.284 61.1152 127.276 60.9715 127.326C60.8504 127.365 60.743 127.438 60.662 127.536C60.5904 127.631 60.5353 127.738 60.4989 127.852C60.4909 127.819 60.4909 127.785 60.4989 127.752C60.5212 127.663 60.5607 127.58 60.6154 127.506C60.7066 127.378 60.8402 127.286 60.9925 127.247C61.1447 127.208 61.3059 127.225 61.4474 127.293C61.4691 127.31 61.4859 127.333 61.4959 127.358C61.5058 127.384 61.5086 127.412 61.5039 127.439C61.4905 127.489 61.4582 127.53 61.4141 127.556C61.3449 127.597 61.2712 127.629 61.1945 127.652C61.0663 127.694 60.935 127.725 60.8018 127.746C60.6834 127.77 60.5616 127.772 60.4424 127.752Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M60.5389 127.786C60.5455 127.704 60.5455 127.622 60.5389 127.54C60.5199 127.454 60.4824 127.373 60.429 127.304C60.3725 127.23 60.276 127.141 60.1861 127.151C60.0963 127.161 60.1295 127.307 60.1861 127.383C60.2302 127.462 60.2826 127.536 60.3425 127.603C60.4457 127.716 60.5255 127.773 60.5189 127.783C60.4379 127.75 60.3651 127.7 60.3059 127.636C60.2376 127.571 60.1782 127.498 60.1295 127.417C60.0963 127.368 60.0737 127.312 60.063 127.254C60.0561 127.216 60.064 127.178 60.0851 127.146C60.1063 127.114 60.1389 127.092 60.1761 127.084C60.2387 127.085 60.3 127.102 60.3541 127.134C60.4082 127.165 60.4535 127.21 60.4856 127.264C60.5417 127.344 60.5771 127.436 60.5888 127.533C60.6034 127.621 60.5856 127.711 60.5389 127.786Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.3428 127.494C54.3428 127.494 54.3794 127.478 54.4526 127.464C54.5578 127.455 54.6636 127.455 54.7687 127.464C55.119 127.486 55.4549 127.611 55.7338 127.824C56.0127 128.038 56.2203 128.331 56.3295 128.666C56.3622 128.765 56.3845 128.868 56.396 128.972C56.4012 129.01 56.4012 129.05 56.396 129.088C56.396 129.088 56.3694 128.925 56.2795 128.682C56.1638 128.363 55.9596 128.084 55.6908 127.877C55.4221 127.67 55.0999 127.545 54.7621 127.514C54.6228 127.5 54.4828 127.493 54.3428 127.494Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.9078 125.102C54.9424 125.492 54.9557 125.884 54.9477 126.276C54.9544 126.669 54.9411 127.063 54.9078 127.454C54.8712 127.064 54.8578 126.672 54.8678 126.28C54.8571 125.886 54.8705 125.493 54.9078 125.102Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.1172 128.539C57.1172 128.519 57.4932 128.539 57.9525 128.539C58.4117 128.539 58.7844 128.509 58.7877 128.539C58.5137 128.6 58.2331 128.627 57.9525 128.619C57.6718 128.626 57.3913 128.599 57.1172 128.539Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.9965 128.555C55.9965 128.555 56.083 128.591 56.1296 128.688C56.1762 128.784 56.1695 128.877 56.1495 128.877C56.1296 128.877 56.1096 128.801 56.0697 128.718C56.0297 128.635 55.9831 128.568 55.9965 128.555Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.5732 128.035C55.5732 128.035 55.6464 128.058 55.7063 128.118C55.7662 128.178 55.8062 128.235 55.7929 128.248C55.7796 128.261 55.7197 128.225 55.6598 128.168C55.5999 128.112 55.5499 128.048 55.5732 128.035Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.958 127.807C54.958 127.79 55.0379 127.754 55.141 127.787C55.2442 127.82 55.2974 127.9 55.2808 127.91C55.2642 127.92 55.2076 127.88 55.1211 127.854C55.0346 127.827 54.9613 127.827 54.958 127.807Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.5253 127.7C54.5253 127.683 54.5752 127.683 54.6218 127.7C54.6684 127.717 54.705 127.747 54.6983 127.763C54.6916 127.78 54.6451 127.783 54.5985 127.763C54.5519 127.743 54.5186 127.72 54.5253 127.7Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M80.0996 42.025C80.0996 42.025 84.9781 36.9834 85.4241 37.2064C85.87 37.4294 83.6337 39.4826 83.9299 39.7488C84.2261 40.0151 86.5921 41.8021 82.7885 44.6374L80.0996 42.025Z",fill:"#E5BAAB"}),(0,e.createElement)("path",{d:"M84.2989 40.5644C84.2774 40.6153 84.2518 40.6642 84.2223 40.7108C84.1458 40.8373 84.0659 40.9671 83.986 41.1035C83.9062 41.24 83.7498 41.4762 83.6266 41.6759C83.5584 41.7977 83.4598 41.8997 83.3404 41.9721C83.2711 42.0114 83.1906 42.0265 83.1117 42.0151C83.0327 42.0036 82.9599 41.9663 82.9045 41.9088C82.8632 41.8418 82.8436 41.7636 82.8484 41.685C82.8531 41.6064 82.882 41.5312 82.9311 41.4696C83.0043 41.3464 83.0775 41.24 83.1474 41.1368C83.2772 40.9405 83.4003 40.7541 83.5168 40.5711L83.7731 40.1917C83.8018 40.1441 83.8352 40.0995 83.8729 40.0586C83.8547 40.1119 83.8289 40.1623 83.7964 40.2083L83.5601 40.5977C83.4436 40.7807 83.3271 40.9737 83.2007 41.1734L82.991 41.5062C82.9508 41.5569 82.9263 41.6182 82.9204 41.6826C82.9144 41.747 82.9274 41.8118 82.9578 41.8689C83.002 41.9095 83.0575 41.9356 83.1169 41.944C83.1763 41.9523 83.2369 41.9424 83.2905 41.9155C83.4005 41.8494 83.492 41.7567 83.5568 41.6459L83.9261 41.0802L84.1824 40.7009C84.2149 40.6503 84.254 40.6044 84.2989 40.5644Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M84.549 41.1169C84.549 41.1653 84.5423 41.2135 84.529 41.26C84.5 41.389 84.4588 41.5149 84.4059 41.6361C84.3234 41.8148 84.217 41.9816 84.0897 42.1319C84.0165 42.2261 83.9248 42.3042 83.8202 42.3615C83.7627 42.4002 83.6937 42.418 83.6246 42.412C83.5556 42.4059 83.4907 42.3764 83.4408 42.3282C83.3977 42.2747 83.3703 42.2104 83.3615 42.1423C83.3527 42.0741 83.3628 42.0049 83.3909 41.9422C83.4377 41.8343 83.4993 41.7335 83.5739 41.6427C83.6971 41.4663 83.8002 41.3099 83.8867 41.1569C83.953 41.0423 84.0252 40.9312 84.1031 40.8241C84.1303 40.7834 84.1615 40.7455 84.1962 40.7109C84.1767 40.7551 84.1534 40.7974 84.1263 40.8374C84.0598 40.9505 83.9932 41.0637 83.93 41.1702C83.8668 41.2767 83.7503 41.4863 83.6272 41.6693C83.5589 41.7579 83.5009 41.8539 83.4541 41.9555C83.4333 42.0071 83.4258 42.063 83.4322 42.1183C83.4386 42.1735 83.4587 42.2262 83.4907 42.2717C83.5312 42.3081 83.5827 42.3298 83.637 42.3334C83.6913 42.3371 83.7453 42.3223 83.7902 42.2916C83.8875 42.2376 83.9734 42.1653 84.0432 42.0787C84.1682 41.934 84.2744 41.7741 84.3593 41.6028C84.433 41.4451 84.4963 41.2828 84.549 41.1169Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M81.6066 40.9849L83.3936 40.8651C83.4267 40.8601 83.4604 40.8601 83.4935 40.8651C83.5866 40.8984 83.6033 41.0282 83.58 41.128C83.5365 41.2803 83.4574 41.4202 83.3492 41.5359C83.241 41.6516 83.1068 41.7399 82.9577 41.7935C82.6618 41.8942 82.3518 41.947 82.0392 41.9499L81.1807 41.9999",fill:"#E5BAAB"}),(0,e.createElement)("path",{d:"M81.1973 41.9923C81.2609 41.9793 81.3254 41.9715 81.3903 41.969L81.9161 41.9257C82.175 41.9134 82.4329 41.8845 82.6881 41.8392C82.9983 41.7867 83.2755 41.6147 83.4602 41.36C83.5434 41.2302 83.6132 41.0505 83.54 40.9374C83.5068 40.8808 83.4302 40.8974 83.3503 40.9008L83.1241 40.9174L82.3454 40.9607L81.8162 40.9873C81.7521 40.9951 81.6873 40.9951 81.6232 40.9873C81.6868 40.9743 81.7514 40.9665 81.8162 40.964L82.342 40.9174L83.1207 40.8542H83.347C83.3869 40.8507 83.427 40.8507 83.4668 40.8542C83.4918 40.8545 83.5163 40.8604 83.5388 40.8713C83.5612 40.8822 83.5809 40.898 83.5966 40.9174C83.6198 40.9573 83.6344 41.0015 83.6395 41.0474C83.6447 41.0932 83.6403 41.1396 83.6265 41.1836C83.6022 41.268 83.5664 41.3486 83.5201 41.4232C83.3234 41.6913 83.0295 41.8717 82.7014 41.9257C82.4428 41.9684 82.1815 41.9929 81.9194 41.9989L81.3936 42.0189C81.3273 42.0179 81.2614 42.0089 81.1973 41.9923Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M84.8583 41.5962C84.8583 41.5962 84.8417 41.6328 84.8151 41.7027C84.7793 41.7995 84.7493 41.8984 84.7252 41.9988C84.6908 42.1513 84.6347 42.2981 84.5588 42.4348C84.5081 42.5173 84.4399 42.5877 84.3591 42.6411C84.3114 42.6707 84.2552 42.6836 84.1994 42.6777C84.1702 42.6723 84.1424 42.6609 84.1178 42.6443C84.0932 42.6277 84.0723 42.6062 84.0563 42.5812C84.0296 42.5345 84.014 42.4824 84.0105 42.4288C84.007 42.3751 84.0159 42.3214 84.0364 42.2717C84.0696 42.1785 84.1129 42.0987 84.1462 42.0155L84.3392 41.5962C84.3939 41.4656 84.4573 41.3389 84.5289 41.2168C84.4925 41.3541 84.4435 41.4878 84.3824 41.6161L84.2061 42.0421C84.1462 42.1985 84.0164 42.3749 84.1162 42.5446C84.1265 42.562 84.1404 42.577 84.1571 42.5885C84.1737 42.6001 84.1927 42.6078 84.2126 42.6113C84.2325 42.6148 84.253 42.6139 84.2725 42.6087C84.2921 42.6035 84.3103 42.5941 84.3259 42.5812C84.3976 42.5344 84.4588 42.4732 84.5056 42.4015C84.5815 42.27 84.6397 42.129 84.6786 41.9822C84.7077 41.8413 84.7692 41.7091 84.8583 41.5962Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M82.5847 43.4239C82.5648 43.4239 82.6613 43.0912 82.6846 42.6619C82.7079 42.2326 82.6613 41.8998 82.6846 41.8965C82.7572 42.147 82.7809 42.4091 82.7544 42.6685C82.7489 42.9291 82.6912 43.186 82.5847 43.4239Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M59.3805 40.3457C59.3819 40.9939 59.549 41.631 59.8658 42.1966C60.1826 42.7621 60.6388 43.2373 61.1908 43.577C61.5016 43.736 61.8017 43.915 62.0893 44.1128C62.2327 44.2123 62.3509 44.3437 62.4346 44.4968C62.5184 44.6498 62.5653 44.8203 62.5719 44.9946C62.5486 45.5371 61.9962 45.8831 61.5136 46.1294C61.6462 46.2546 61.752 46.4055 61.8246 46.5728C61.8972 46.7402 61.935 46.9205 61.9359 47.1029C61.9367 47.2853 61.9005 47.466 61.8295 47.634C61.7584 47.802 61.6541 47.9538 61.5226 48.0803C61.3912 48.2067 61.2355 48.3052 61.0649 48.3697C60.8942 48.4343 60.7123 48.4635 60.5301 48.4556C60.3479 48.4478 60.1691 48.403 60.0047 48.3241C59.8403 48.2451 59.6936 48.1336 59.5735 47.9963C59.5327 48.506 59.3357 48.9907 59.0093 49.3843C58.683 49.7779 58.2432 50.0614 57.7499 50.196C57.253 50.3173 56.7354 50.3272 56.2343 50.2247C55.7331 50.1223 55.2608 49.9102 54.8514 49.6036C54.0377 48.9801 53.4019 48.1539 53.0078 47.2076",fill:"#263238"}),(0,e.createElement)("path",{d:"M56.9052 49.8584C56.8153 49.346 57.0249 47.1962 57.0249 47.1962C57.0249 47.1962 58.9983 46.9866 59.1181 45.0298C59.2379 43.0731 59.1181 38.5539 59.1181 38.5539L55.5241 36.7969L51.5674 39.7919L52.1664 49.5789L56.9052 49.8584Z",fill:"#E5BAAB"}),(0,e.createElement)("path",{d:"M58.7316 41.8336C58.7316 41.8829 58.717 41.9312 58.6895 41.9722C58.6621 42.0133 58.6231 42.0453 58.5775 42.0642C58.5319 42.083 58.4817 42.088 58.4333 42.0784C58.3849 42.0687 58.3404 42.045 58.3055 42.01C58.2706 41.9751 58.2468 41.9307 58.2372 41.8823C58.2276 41.8338 58.2325 41.7837 58.2514 41.7381C58.2703 41.6924 58.3023 41.6535 58.3433 41.626C58.3844 41.5986 58.4326 41.584 58.482 41.584C58.5482 41.584 58.6117 41.6103 58.6585 41.6571C58.7053 41.7039 58.7316 41.7674 58.7316 41.8336Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M58.9746 41.5599C58.9446 41.5932 58.7583 41.4367 58.4887 41.4201C58.2192 41.4035 58.0162 41.5366 57.9862 41.5C57.9563 41.4634 58.0062 41.4234 58.0961 41.3635C58.2154 41.2859 58.3566 41.2485 58.4987 41.257C58.6408 41.2665 58.7761 41.3214 58.8848 41.4135C58.9646 41.4833 58.9912 41.5466 58.9746 41.5599Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M55.8295 41.834C55.8328 41.8844 55.8209 41.9347 55.7954 41.9783C55.7698 42.022 55.7318 42.057 55.6862 42.0788C55.6406 42.1006 55.5894 42.1082 55.5394 42.1007C55.4894 42.0931 55.4429 42.0708 55.4057 42.0365C55.3685 42.0022 55.3425 41.9576 55.3309 41.9084C55.3194 41.8591 55.3228 41.8076 55.3409 41.7603C55.3589 41.7131 55.3907 41.6724 55.4321 41.6434C55.4735 41.6144 55.5227 41.5985 55.5733 41.5977C55.6381 41.5967 55.7009 41.6207 55.7486 41.6646C55.7963 41.7086 55.8252 41.7692 55.8295 41.834Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M55.9861 41.5599C55.9528 41.5932 55.7664 41.4367 55.4969 41.4201C55.2273 41.4035 55.0243 41.5366 54.9977 41.5C54.9711 41.4634 55.0177 41.4234 55.1042 41.3635C55.2236 41.2859 55.3647 41.2485 55.5069 41.257C55.649 41.2665 55.7843 41.3214 55.8929 41.4135C55.9728 41.4833 55.9994 41.5466 55.9861 41.5599Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M56.9573 43.8224C57.1013 43.7882 57.2486 43.7704 57.3966 43.7692C57.4632 43.7692 57.533 43.7692 57.5497 43.706C57.5623 43.6318 57.5494 43.5555 57.5131 43.4897L57.33 42.9339C57.2003 42.5379 57.0904 42.1785 57.0139 41.9156C56.9646 41.7767 56.9311 41.6327 56.9141 41.4863C56.9851 41.6152 57.042 41.7513 57.0838 41.8923C57.177 42.1486 57.3001 42.5046 57.4166 42.8907C57.4765 43.0837 57.533 43.2667 57.5929 43.4497C57.6328 43.5374 57.6411 43.6362 57.6162 43.7293C57.5928 43.7676 57.5583 43.7979 57.5174 43.8163C57.4764 43.8348 57.4308 43.8404 57.3866 43.8324C57.2436 43.8443 57.0997 43.841 56.9573 43.8224Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M56.0657 44.0957C55.7929 43.9127 56.8211 44.545 57.3702 44.545C57.2714 44.6819 57.1292 44.7814 56.9667 44.8273C56.8042 44.8732 56.6309 44.8629 56.4751 44.7979C55.906 44.555 56.0657 44.0957 56.0657 44.0957Z",fill:"white"}),(0,e.createElement)("path",{d:"M57.0308 47.1832C56.1007 47.1432 55.2013 46.8384 54.4385 46.3047C54.4385 46.3047 55.0242 47.7423 56.9876 47.6624L57.0308 47.1832Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M58.3027 37.1042C56.3593 35.0876 55.0281 35.5069 54.2661 35.5069C53.4285 35.6013 52.6195 35.8679 51.8899 36.29C51.1603 36.7121 50.5259 37.2805 50.0265 37.9595C49.484 38.5252 48.6954 40.3588 48.6221 41.0044C48.5806 41.6571 48.5806 42.3118 48.6221 42.9644C48.6221 43.63 48.4691 44.3222 47.9799 44.7548C47.6704 45.031 47.2345 45.1907 47.0481 45.5601C46.9621 45.7865 46.958 46.0358 47.0364 46.2649C47.1148 46.494 47.2708 46.6884 47.4774 46.8147C47.9023 47.0527 48.3908 47.1527 48.8751 47.1009C48.8396 47.5858 48.9822 48.0671 49.2763 48.4543C49.5704 48.8415 49.9957 49.1081 50.4724 49.204C50.9708 49.2695 51.475 49.1369 51.8767 48.8347C52.2053 49.1551 52.5532 49.4551 52.9183 49.7332C52.9982 46.8824 52.9383 44.0327 52.7386 41.1841C54.0464 40.9545 56.3992 40.249 56.7952 38.1558C57.3177 39.3471 58.1097 39.9961 59.1612 40.9012C59.1779 40.8979 60.2328 39.1209 58.3027 37.1042Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M52.9111 40.4261C53.1773 40.3915 53.4469 40.3915 53.7131 40.4261C54.3407 40.4949 54.9758 40.4198 55.57 40.2065C55.8848 40.0777 56.1545 39.8589 56.3454 39.5775C56.4976 39.3438 56.6027 39.0827 56.6549 38.8088C56.7481 38.3329 56.7015 38.0234 56.7314 38.0234C56.8167 38.2833 56.8327 38.5608 56.778 38.8288C56.7382 39.1262 56.6361 39.412 56.4785 39.6674C56.2767 39.9803 55.9841 40.2242 55.6399 40.3662C55.021 40.5937 54.3534 40.6556 53.7031 40.5459C53.4358 40.5328 53.1704 40.4927 52.9111 40.4261Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M47.7998 45.2206C47.9121 45.2175 48.0237 45.2019 48.1326 45.174C48.2674 45.1211 48.3869 45.0352 48.4799 44.9242C48.5729 44.8131 48.6366 44.6805 48.665 44.5384C48.7173 44.1012 48.6337 43.6585 48.4254 43.2705C48.3129 43.0244 48.2205 42.7696 48.1492 42.5085C48.08 42.2199 48.0609 41.9216 48.0927 41.6266C48.1608 41.062 48.3615 40.5215 48.6783 40.0493C48.9329 39.6706 49.2287 39.3212 49.5602 39.0077C49.8397 38.7381 50.0827 38.5384 50.2491 38.4053C50.3306 38.3276 50.4224 38.2616 50.5219 38.209C50.5419 38.229 50.1892 38.5418 49.6467 39.0942C49.3341 39.4125 49.0543 39.7615 48.8114 40.1358C48.518 40.5918 48.3314 41.1083 48.2657 41.6466C48.2357 41.9213 48.2514 42.199 48.3123 42.4685C48.3813 42.7221 48.4692 42.9702 48.5752 43.2106C48.7885 43.6292 48.8619 44.105 48.7848 44.5684C48.7468 44.7249 48.6684 44.8687 48.5574 44.9855C48.4465 45.1022 48.3069 45.1879 48.1525 45.2339C48.068 45.2512 47.9808 45.2512 47.8963 45.2339C47.8635 45.2371 47.8305 45.2326 47.7998 45.2206Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M62.0229 42.4221C62.0229 42.4221 62.0861 42.492 62.0827 42.655C62.0767 42.7704 62.0433 42.8828 61.9855 42.9828C61.9276 43.0829 61.8469 43.1679 61.75 43.2307C61.6002 43.3153 61.4311 43.3597 61.2591 43.3597C61.0871 43.3597 60.918 43.3153 60.7683 43.2307C60.4126 43.0306 60.1242 42.7295 59.9397 42.3655C59.5768 41.7443 59.3436 41.056 59.2541 40.3422C59.2044 40.0493 59.2044 39.75 59.2541 39.457C59.2841 39.457 59.2907 39.7898 59.3872 40.3256C59.511 41.0132 59.753 41.6741 60.1027 42.279C60.2724 42.6139 60.5331 42.8942 60.8548 43.0876C60.9824 43.162 61.1265 43.2033 61.2741 43.208C61.4216 43.2126 61.568 43.1804 61.7001 43.1143C61.7867 43.0638 61.8613 42.9951 61.9188 42.9129C61.9762 42.8308 62.0151 42.7371 62.0328 42.6384C62.0395 42.5086 62.0095 42.4254 62.0229 42.4221Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M58.9941 73.2109C58.9941 73.2109 65.6497 94.8648 65.2437 101.86C64.8377 108.855 59.9392 126.216 59.9392 126.216L58.9941 73.2109Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M49.5831 69.5226C49.4367 69.4827 46.5082 73.7821 46.4117 77.4793C46.4053 77.8414 46.4187 78.2036 46.4516 78.5642C46.5794 79.8582 46.8897 81.1276 47.3734 82.3346C49.8493 88.5808 52.3984 95.9785 52.4417 97.6757C52.5581 102.877 53.5764 126.787 53.5764 126.787L60.7645 126.278L60.5282 97.6856L58.7778 69.293L49.5831 69.5226Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M53.5 69.4004C53.5433 69.4004 53.5599 70.1991 53.5599 71.65C53.5599 73.1009 53.4933 75.2007 53.5898 77.7897C53.6165 78.4387 53.6398 79.1209 53.6963 79.823C53.7529 80.5252 53.8062 81.264 53.8827 82.0194C54.0424 83.5368 54.2587 85.1508 54.5283 86.8447C54.7978 88.5385 55.104 90.3122 55.3636 92.1691C55.6231 94.026 55.8261 95.9395 55.9359 97.9195C56.0458 99.8996 56.0258 101.83 56.0624 103.697C56.099 105.563 56.1356 107.357 56.1855 109.078C56.2854 112.505 56.4052 115.593 56.5183 118.182L56.7446 124.322C56.7679 125.041 56.7845 125.603 56.7978 125.986C56.8111 126.369 56.7978 126.568 56.7978 126.568C56.7812 126.099 56.6647 123.267 56.4651 118.179C56.3586 115.587 56.2321 112.502 56.1323 109.071C56.0824 107.357 56.0391 105.557 56.0092 103.69C55.9792 101.823 56.0092 99.8896 55.8794 97.9162C55.7496 95.9428 55.5732 94.0194 55.297 92.1791C55.0208 90.3388 54.7346 88.5551 54.4651 86.8546C54.1955 85.1541 53.9825 83.5435 53.8261 82.026C53.7496 81.2673 53.6864 80.5352 53.6431 79.8264C53.5998 79.1175 53.5666 78.442 53.5399 77.7931C53.4501 75.1974 53.5399 73.0976 53.5399 71.6466C53.5399 70.9245 53.5399 70.3588 53.5399 69.9828C53.5485 69.7877 53.5351 69.5924 53.5 69.4004Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M60.7621 125.75H53.5342V126.838H60.7621V125.75Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M53.9892 69.6199C53.9692 69.6199 53.9526 69.5467 53.9493 69.4535C53.946 69.3603 53.9493 69.2871 53.9792 69.2871C54.0092 69.2871 54.0158 69.3603 54.0192 69.4535C54.0225 69.5467 54.0059 69.6199 53.9892 69.6199Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.0063 70.2859C53.9897 70.2859 53.9697 70.2127 53.9697 70.1195C53.9697 70.0263 53.9697 69.9531 53.9997 69.9531C54.0296 69.9531 54.0363 70.0263 54.0363 70.1195C54.0363 70.2127 54.0263 70.2859 54.0063 70.2859Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.0263 70.9519C54.0097 70.9519 53.9897 70.8787 53.9864 70.7855C53.9831 70.6924 53.9864 70.6191 54.0163 70.6191C54.0463 70.6191 54.0529 70.6924 54.0563 70.7855C54.0596 70.8787 54.0463 70.9519 54.0263 70.9519Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.0459 71.616C54.0259 71.616 54.0093 71.5428 54.0059 71.4496C54.0026 71.3564 54.0059 71.2832 54.0359 71.2832C54.0658 71.2832 54.0725 71.3564 54.0758 71.4496C54.0791 71.5428 54.0658 71.616 54.0459 71.616Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.0664 72.282C54.0464 72.282 54.0298 72.2088 54.0264 72.1156C54.0231 72.0224 54.0264 71.9492 54.0564 71.9492C54.0863 71.9492 54.093 72.0224 54.0963 72.1156C54.0996 72.2088 54.0863 72.282 54.0664 72.282Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.0859 72.948C54.0659 72.948 54.0493 72.8748 54.046 72.7816C54.0426 72.6884 54.046 72.6152 54.0759 72.6152C54.1059 72.6152 54.1125 72.6885 54.1158 72.7783C54.1192 72.8682 54.1059 72.948 54.0859 72.948Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.1064 73.614C54.0864 73.614 54.0698 73.5408 54.0665 73.4476C54.0631 73.3545 54.0665 73.2812 54.0964 73.2812C54.1264 73.2812 54.133 73.3545 54.1364 73.4443C54.1397 73.5342 54.123 73.6107 54.1064 73.614Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.1259 74.2781C54.1059 74.2781 54.0859 74.2016 54.0859 74.1117C54.0859 74.0219 54.0859 73.9453 54.1159 73.9453C54.1458 73.9453 54.1525 74.0185 54.1558 74.1084C54.1591 74.1982 54.1425 74.2748 54.1259 74.2781Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.1431 74.9423C54.1264 74.9423 54.1064 74.869 54.1064 74.7792C54.1064 74.6893 54.1065 74.6128 54.1331 74.6095C54.1597 74.6061 54.173 74.686 54.173 74.7759C54.173 74.8657 54.163 74.9423 54.1431 74.9423Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.163 75.6063C54.1431 75.6063 54.1264 75.5331 54.1231 75.4433C54.1198 75.3534 54.1231 75.2769 54.1531 75.2735C54.183 75.2702 54.1897 75.3468 54.193 75.4399C54.1963 75.5331 54.183 75.6063 54.163 75.6063Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.1826 76.2722C54.1626 76.2722 54.146 76.199 54.1426 76.1092C54.1393 76.0193 54.1426 75.9395 54.1726 75.9395C54.2025 75.9395 54.2092 76.0127 54.2125 76.1058C54.2158 76.199 54.2025 76.2722 54.1826 76.2722Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.186 76.9417C54.1661 76.9417 54.1528 76.8651 54.1494 76.7753C54.1461 76.6854 54.1494 76.6089 54.186 76.6056C54.2226 76.6022 54.2193 76.6821 54.2193 76.7753C54.2193 76.8685 54.206 76.9417 54.186 76.9417Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.1958 77.6062C54.1758 77.6062 54.1592 77.533 54.1592 77.4398C54.1592 77.3466 54.1592 77.2734 54.1891 77.2734C54.2191 77.2734 54.2257 77.3466 54.2257 77.4398C54.2257 77.533 54.2157 77.6062 54.1958 77.6062Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.2095 78.2722C54.2095 78.2722 54.1729 78.199 54.1729 78.1092C54.1729 78.0193 54.1729 77.9395 54.2028 77.9395C54.2328 77.9395 54.2394 78.0127 54.2394 78.1058C54.2394 78.199 54.2427 78.2722 54.2095 78.2722Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.2422 78.9417C54.2222 78.9417 54.2056 78.8685 54.2022 78.7753C54.1989 78.6821 54.2022 78.6089 54.2289 78.6056C54.2555 78.6022 54.2688 78.6821 54.2721 78.772C54.2754 78.8618 54.2422 78.9384 54.2422 78.9417Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.2588 79.6062C54.2421 79.6062 54.2222 79.533 54.2188 79.4398C54.2155 79.3466 54.2188 79.2734 54.2455 79.2734C54.2721 79.2734 54.2821 79.3466 54.2887 79.4365C54.2954 79.5263 54.2787 79.6029 54.2588 79.6062Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.2957 80.2722C54.2757 80.2722 54.2591 80.199 54.2524 80.1058C54.2457 80.0127 54.2524 79.9395 54.279 79.9395C54.3056 79.9395 54.3156 80.0093 54.3223 80.1025C54.3289 80.1957 54.3156 80.2689 54.2957 80.2722Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.3391 80.9344C54.3191 80.9344 54.2991 80.8646 54.2925 80.7714C54.2858 80.6782 54.2925 80.605 54.3158 80.6017C54.3391 80.5983 54.3557 80.6749 54.3624 80.7681C54.369 80.8612 54.359 80.9344 54.3391 80.9344Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.3889 81.6005C54.369 81.6005 54.349 81.5273 54.3423 81.4374C54.3357 81.3476 54.3423 81.271 54.3623 81.2677C54.3823 81.2644 54.4022 81.3409 54.4122 81.4308C54.4222 81.5206 54.4089 81.5971 54.3889 81.6005Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.4489 82.2631C54.4289 82.2631 54.4056 82.1932 54.399 82.1C54.3923 82.0068 54.399 81.9336 54.4189 81.9336C54.4389 81.9336 54.4589 82.0035 54.4655 82.0967C54.4722 82.1898 54.4655 82.2631 54.4489 82.2631Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.5124 82.9252C54.4924 82.9252 54.4724 82.8553 54.4624 82.7654C54.4525 82.6756 54.4624 82.5957 54.4624 82.5957C54.4624 82.5957 54.5057 82.6656 54.5124 82.7588C54.519 82.8519 54.5323 82.9252 54.5124 82.9252Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.5758 83.5873C54.5558 83.5873 54.5325 83.5174 54.5225 83.4275C54.5126 83.3377 54.5225 83.2578 54.5392 83.2578C54.5558 83.2578 54.5824 83.3277 54.5924 83.4175C54.6024 83.5074 54.6057 83.5873 54.5758 83.5873Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.665 84.2489C54.6451 84.2489 54.6218 84.179 54.6085 84.0858C54.5951 83.9927 54.6085 83.9195 54.6085 83.9161C54.6085 83.9128 54.6517 83.986 54.6617 84.0792C54.6717 84.1724 54.685 84.2456 54.665 84.2489Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.7519 84.9076C54.732 84.9076 54.7087 84.8377 54.6954 84.7478C54.6821 84.658 54.6954 84.5781 54.6954 84.5781C54.6954 84.5781 54.7386 84.6447 54.7519 84.7379C54.7653 84.831 54.7719 84.9042 54.7519 84.9076Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.8451 85.5639C54.8251 85.5639 54.7985 85.4941 54.7852 85.4042C54.7719 85.3144 54.7852 85.2378 54.7852 85.2345C54.7852 85.2312 54.8285 85.3044 54.8418 85.3942C54.8551 85.4841 54.8617 85.5606 54.8451 85.5639Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M54.9413 86.2187C54.9247 86.2187 54.8981 86.1521 54.8814 86.059C54.8648 85.9658 54.8814 85.8926 54.8814 85.8926C54.8814 85.8926 54.928 85.9591 54.9413 86.049C54.9546 86.1388 54.9613 86.2154 54.9413 86.2187Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.0443 86.8784C55.0277 86.8784 54.9977 86.8085 54.9844 86.7187C54.9711 86.6288 54.9844 86.5523 54.9844 86.5489C54.9844 86.5456 55.0277 86.6188 55.0443 86.7087C55.061 86.7985 55.0643 86.8751 55.0443 86.8784Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.1508 87.521C55.1341 87.521 55.1042 87.4544 55.0909 87.3612C55.0776 87.268 55.0909 87.1948 55.0909 87.1915C55.0909 87.1882 55.1375 87.2614 55.1541 87.3512C55.1707 87.4411 55.1708 87.521 55.1508 87.521Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.2611 88.185C55.2445 88.185 55.2145 88.1151 55.2012 88.0253C55.1879 87.9354 55.2012 87.8589 55.2012 87.8556C55.2012 87.8523 55.2478 87.9255 55.2611 88.0153C55.2744 88.1052 55.2811 88.185 55.2611 88.185Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.3743 88.851C55.3544 88.851 55.3277 88.7812 55.3111 88.6913C55.2945 88.6015 55.3111 88.5249 55.3111 88.5216C55.3111 88.5183 55.3577 88.5881 55.3743 88.6813C55.391 88.7745 55.391 88.851 55.3743 88.851Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.4838 89.4962C55.4638 89.4962 55.4372 89.4296 55.4239 89.3398C55.4106 89.2499 55.4239 89.1734 55.4239 89.17C55.4239 89.1667 55.4705 89.2366 55.4871 89.3264C55.5038 89.4163 55.5038 89.4928 55.4838 89.4962Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.5932 90.1518C55.5765 90.1518 55.5466 90.0819 55.5333 89.9921C55.5199 89.9022 55.5333 89.8257 55.5333 89.8224C55.5333 89.819 55.5798 89.8923 55.5932 89.9821C55.6065 90.072 55.6131 90.1485 55.5932 90.1518Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.7034 90.8047C55.6835 90.8047 55.6568 90.7382 55.6402 90.6483C55.6236 90.5585 55.6402 90.482 55.6402 90.4786C55.6402 90.4753 55.6868 90.5452 55.7001 90.6384C55.7134 90.7315 55.7201 90.8014 55.7034 90.8047Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.8061 91.461C55.7861 91.461 55.7595 91.3945 55.7462 91.3046C55.7328 91.2147 55.7462 91.1382 55.7462 91.1349C55.7462 91.1316 55.7894 91.2014 55.8061 91.2913C55.8227 91.3811 55.826 91.4577 55.8061 91.461Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M55.9062 92.1153C55.8896 92.1153 55.863 92.0487 55.8497 91.9589C55.8364 91.869 55.8497 91.7925 55.8497 91.7892C55.8497 91.7858 55.8963 91.8557 55.9096 91.9456C55.9229 92.0354 55.9262 92.112 55.9062 92.1153Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.0023 92.7749C55.9824 92.7749 55.9558 92.705 55.9424 92.6151C55.9291 92.5253 55.9424 92.4487 55.9424 92.4454C55.9424 92.4421 55.9857 92.5153 55.999 92.6052C56.0123 92.695 56.019 92.7716 56.0023 92.7749Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.0889 93.4311C56.0723 93.4311 56.0457 93.3646 56.0357 93.2714C56.0257 93.1782 56.0357 93.105 56.0357 93.1017C56.0357 93.0983 56.0823 93.1716 56.0923 93.2614C56.1022 93.3513 56.1089 93.4311 56.0889 93.4311Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.1719 94.0893C56.152 94.0893 56.1287 94.0194 56.1187 93.9296C56.1087 93.8397 56.1187 93.7632 56.1187 93.7599C56.1187 93.7565 56.1619 93.8298 56.1719 93.9229C56.1819 94.0161 56.1919 94.0893 56.1719 94.0893Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.2389 94.7509C56.2189 94.7509 56.1956 94.681 56.1856 94.5878C56.1756 94.4946 56.1856 94.4214 56.2023 94.4181C56.2189 94.4148 56.2422 94.488 56.2522 94.5811C56.2622 94.6743 56.2655 94.7475 56.2389 94.7509Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.3161 95.4116C56.2962 95.4116 56.2729 95.3417 56.2662 95.2519C56.2596 95.162 56.2662 95.0855 56.2829 95.0821C56.2995 95.0788 56.3261 95.152 56.3328 95.2452C56.3394 95.3384 56.3361 95.4116 56.3161 95.4116Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.3751 96.0716C56.3552 96.0716 56.3352 96.0018 56.3252 95.9086C56.3152 95.8154 56.3252 95.7422 56.3452 95.7422C56.3651 95.7422 56.3884 95.8121 56.3951 95.9053C56.4017 95.9984 56.3951 96.0716 56.3751 96.0716Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.429 96.739C56.409 96.739 56.389 96.6658 56.3824 96.5726C56.3757 96.4795 56.3824 96.4062 56.4023 96.4062C56.4223 96.4062 56.4423 96.4761 56.4489 96.5693C56.4556 96.6625 56.4456 96.7357 56.429 96.739Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.4721 97.4012C56.4521 97.4012 56.4322 97.328 56.4288 97.2382C56.4255 97.1483 56.4288 97.0718 56.4521 97.0685C56.4754 97.0651 56.492 97.1417 56.4954 97.2315C56.4987 97.3214 56.4921 97.4012 56.4721 97.4012Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.5086 98.0634C56.4919 98.0634 56.4719 97.9901 56.4653 97.9003C56.4586 97.8104 56.4653 97.7339 56.4919 97.7306C56.5185 97.7272 56.5319 97.8038 56.5352 97.8936C56.5385 97.9835 56.5285 98.06 56.5086 98.0634Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.539 98.7255C56.539 98.7255 56.5024 98.6522 56.4991 98.5624C56.4958 98.4725 56.4991 98.396 56.5257 98.3927C56.5524 98.3894 56.5657 98.4659 56.569 98.5591C56.5723 98.6523 56.5723 98.7255 56.539 98.7255Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.5722 99.3894C56.5556 99.3894 56.5356 99.3162 56.5323 99.223C56.529 99.1299 56.5323 99.0566 56.5622 99.0566C56.5922 99.0566 56.5988 99.1298 56.6022 99.2197C56.6055 99.3095 56.5722 99.3861 56.5722 99.3894Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.5718 100.054C56.5718 100.054 56.5352 99.9804 56.5352 99.8905C56.5352 99.8007 56.5352 99.7241 56.5651 99.7208C56.5951 99.7175 56.6017 99.7973 56.605 99.8872C56.6084 99.977 56.5984 100.054 56.5718 100.054Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.5884 100.718C56.5718 100.718 56.5551 100.644 56.5518 100.551C56.5485 100.458 56.5518 100.385 56.5851 100.385C56.6184 100.385 56.6217 100.461 56.6217 100.551C56.6217 100.641 56.6084 100.718 56.5884 100.718Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.5952 101.387C56.5752 101.387 56.5586 101.311 56.5586 101.221C56.5586 101.131 56.5586 101.055 56.5919 101.055C56.6252 101.055 56.6285 101.128 56.6285 101.221C56.6285 101.314 56.6152 101.387 56.5952 101.387Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.602 102.053C56.5821 102.053 56.5654 101.977 56.5654 101.887C56.5654 101.797 56.5654 101.721 56.5987 101.721C56.632 101.721 56.632 101.794 56.632 101.884C56.632 101.974 56.6187 102.053 56.602 102.053Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6089 102.718C56.5889 102.718 56.5723 102.641 56.5723 102.551C56.5723 102.461 56.5723 102.385 56.6055 102.385C56.6388 102.385 56.6388 102.458 56.6421 102.548C56.6455 102.638 56.6255 102.714 56.6089 102.718Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6148 103.384C56.5981 103.384 56.5815 103.307 56.5782 103.217C56.5748 103.127 56.5782 103.051 56.6114 103.051C56.6447 103.051 56.6481 103.124 56.6481 103.214C56.6481 103.304 56.6347 103.38 56.6148 103.384Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6288 104.05C56.6089 104.05 56.5922 103.973 56.5889 103.883C56.5856 103.793 56.5889 103.717 56.6222 103.717C56.6555 103.717 56.6588 103.79 56.6588 103.88C56.6588 103.97 56.6455 104.046 56.6288 104.05Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6382 104.712C56.6182 104.712 56.6016 104.639 56.6016 104.549C56.6016 104.459 56.6016 104.382 56.6315 104.379C56.6615 104.376 56.6681 104.456 56.6714 104.545C56.6748 104.635 56.6581 104.712 56.6382 104.712Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6518 105.378C56.6319 105.378 56.6152 105.305 56.6152 105.215C56.6152 105.125 56.6152 105.048 56.6452 105.045C56.6751 105.042 56.6818 105.122 56.6818 105.211C56.6818 105.301 56.6718 105.378 56.6518 105.378Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6656 106.044C56.6656 106.044 56.6323 105.971 56.629 105.881C56.6256 105.791 56.629 105.714 56.6589 105.711C56.6889 105.708 56.6955 105.788 56.6989 105.877C56.7022 105.967 56.6855 106.044 56.6656 106.044Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6821 106.708C56.6621 106.708 56.6455 106.635 56.6455 106.545C56.6455 106.455 56.6455 106.375 56.6755 106.375C56.7054 106.375 56.7121 106.448 56.7121 106.541C56.7121 106.635 56.7021 106.708 56.6821 106.708Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.6982 107.374C56.6782 107.374 56.6616 107.301 56.6582 107.211C56.6549 107.121 56.6582 107.041 56.6915 107.041C56.7248 107.041 56.7281 107.114 56.7281 107.207C56.7281 107.301 56.7181 107.374 56.6982 107.374Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.7187 108.04C56.6987 108.04 56.6821 107.967 56.6788 107.873C56.6754 107.78 56.6788 107.707 56.7087 107.707C56.7387 107.707 56.7453 107.78 56.7487 107.873C56.752 107.967 56.7353 108.04 56.7187 108.04Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.7353 108.704C56.7153 108.704 56.6987 108.631 56.6954 108.537C56.692 108.444 56.6954 108.371 56.7253 108.371C56.7553 108.371 56.7619 108.444 56.7653 108.537C56.7686 108.631 56.7553 108.704 56.7353 108.704Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.7548 109.37C56.7349 109.37 56.7182 109.297 56.7149 109.203C56.7116 109.11 56.7149 109.037 56.7449 109.037C56.7748 109.037 56.7815 109.11 56.7848 109.203C56.7881 109.297 56.7748 109.37 56.7548 109.37Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.7744 110.036C56.7577 110.036 56.7378 109.963 56.7344 109.87C56.7311 109.776 56.7344 109.703 56.7644 109.703C56.7943 109.703 56.801 109.776 56.8043 109.87C56.8077 109.963 56.7943 110.036 56.7744 110.036Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.7978 110.702C56.7778 110.702 56.7612 110.629 56.7579 110.536C56.7545 110.442 56.7579 110.369 56.7878 110.369C56.8178 110.369 56.8244 110.442 56.8278 110.536C56.8311 110.629 56.8178 110.702 56.7978 110.702Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.8216 111.368C56.8017 111.368 56.7817 111.295 56.7784 111.202C56.7751 111.108 56.7784 111.035 56.8083 111.035C56.8383 111.035 56.8449 111.108 56.8483 111.198C56.8516 111.288 56.8383 111.368 56.8216 111.368Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.8418 112.032C56.8251 112.032 56.8051 111.959 56.8018 111.866C56.7985 111.772 56.8018 111.699 56.8318 111.699C56.8617 111.699 56.8684 111.772 56.8717 111.862C56.875 111.952 56.8617 112.029 56.8418 112.032Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.8685 112.695C56.8486 112.695 56.8286 112.621 56.8253 112.532C56.8219 112.442 56.8253 112.365 56.8552 112.365C56.8852 112.365 56.8918 112.438 56.8951 112.528C56.8985 112.618 56.8852 112.695 56.8685 112.695Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.9053 113.36C56.8853 113.36 56.8687 113.287 56.8653 113.197C56.862 113.107 56.8653 113.031 56.8919 113.027C56.9186 113.024 56.9285 113.101 56.9319 113.194C56.9352 113.287 56.9053 113.36 56.9053 113.36Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.9053 114.026C56.8853 114.026 56.8687 113.953 56.8653 113.863C56.862 113.773 56.8653 113.693 56.8919 113.693C56.9186 113.693 56.9319 113.767 56.9352 113.86C56.9385 113.953 56.9352 114.026 56.9053 114.026Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.9408 114.692C56.9208 114.692 56.9009 114.619 56.8975 114.526C56.8942 114.433 56.8975 114.359 56.9275 114.359C56.9574 114.359 56.9641 114.433 56.9674 114.526C56.9707 114.619 56.9574 114.692 56.9408 114.692Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.9648 115.356C56.9482 115.356 56.9282 115.283 56.9249 115.19C56.9215 115.097 56.9249 115.023 56.9548 115.023C56.9848 115.023 56.9914 115.097 56.9947 115.19C56.9981 115.283 56.9848 115.356 56.9648 115.356Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M56.9912 116.022C56.9712 116.022 56.9546 115.949 56.9513 115.856C56.9479 115.763 56.9513 115.689 56.9779 115.689C57.0045 115.689 57.0178 115.763 57.0211 115.853C57.0245 115.942 57.0112 116.022 56.9912 116.022Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.0176 116.688C56.9976 116.688 56.981 116.615 56.9776 116.522C56.9743 116.429 56.9776 116.355 57.0042 116.355C57.0309 116.355 57.0409 116.429 57.0442 116.519C57.0475 116.608 57.0375 116.685 57.0176 116.688Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.0449 117.351C57.0249 117.351 57.0083 117.281 57.005 117.188C57.0016 117.095 57.005 117.021 57.0316 117.021C57.0582 117.021 57.0682 117.091 57.0715 117.185C57.0749 117.278 57.0649 117.351 57.0449 117.351Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.071 118.016C57.051 118.016 57.0344 117.943 57.0277 117.853C57.0211 117.764 57.0277 117.687 57.0577 117.684C57.0876 117.68 57.0943 117.757 57.0976 117.85C57.101 117.943 57.091 118.016 57.071 118.016Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.098 118.68C57.078 118.68 57.0581 118.607 57.0548 118.517C57.0514 118.428 57.0547 118.348 57.0847 118.348C57.1146 118.348 57.1213 118.421 57.1246 118.514C57.128 118.607 57.118 118.68 57.098 118.68Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.1244 119.346C57.1044 119.346 57.0844 119.273 57.0811 119.18C57.0778 119.087 57.0811 119.014 57.1111 119.014C57.141 119.014 57.1477 119.087 57.151 119.18C57.1543 119.273 57.141 119.346 57.1244 119.346Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.1507 120.012C57.1308 120.012 57.1108 119.939 57.1075 119.846C57.1042 119.753 57.1075 119.68 57.1374 119.68C57.1674 119.68 57.174 119.753 57.1774 119.843C57.1807 119.933 57.1674 120.012 57.1507 120.012Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.1771 120.678C57.1571 120.678 57.1372 120.605 57.1339 120.512C57.1305 120.419 57.1339 120.346 57.1638 120.346C57.1938 120.346 57.2004 120.419 57.2037 120.509C57.2071 120.599 57.1938 120.675 57.1771 120.678Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.2012 121.344C57.1845 121.344 57.1645 121.271 57.1612 121.178C57.1579 121.085 57.1612 121.012 57.1878 121.012C57.2145 121.012 57.2278 121.085 57.2311 121.175C57.2344 121.265 57.2378 121.341 57.2012 121.344Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.2373 122.007C57.2173 122.007 57.2007 121.934 57.1974 121.844C57.194 121.754 57.1973 121.677 57.224 121.674C57.2506 121.671 57.2639 121.747 57.2672 121.84C57.2706 121.934 57.2373 122.007 57.2373 122.007Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.2543 122.671C57.2343 122.671 57.2143 122.598 57.211 122.508C57.2077 122.418 57.211 122.341 57.2409 122.338C57.2709 122.335 57.2776 122.411 57.2809 122.504C57.2842 122.598 57.2709 122.671 57.2543 122.671Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.2773 123.337C57.2574 123.337 57.2407 123.263 57.2374 123.174C57.2341 123.084 57.2374 123.004 57.264 123.004C57.2906 123.004 57.3039 123.077 57.3073 123.17C57.3106 123.263 57.2973 123.337 57.2773 123.337Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.3041 124.003C57.2841 124.003 57.2641 123.929 57.2608 123.836C57.2575 123.743 57.2608 123.67 57.2908 123.67C57.3207 123.67 57.3274 123.743 57.3307 123.836C57.334 123.929 57.3207 124.003 57.3041 124.003Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.3275 124.669C57.3075 124.669 57.2876 124.596 57.2842 124.502C57.2809 124.409 57.2842 124.336 57.3142 124.336C57.3441 124.336 57.3508 124.409 57.3541 124.502C57.3575 124.596 57.3441 124.669 57.3275 124.669Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.3505 125.338C57.3305 125.338 57.3105 125.262 57.3105 125.172C57.3105 125.082 57.3105 125.002 57.3372 125.002C57.3638 125.002 57.3738 125.075 57.3771 125.168C57.3804 125.262 57.3671 125.335 57.3505 125.338Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.3701 126.003C57.3701 126.003 57.3335 125.929 57.3301 125.836C57.3268 125.743 57.3301 125.67 57.3601 125.67C57.39 125.67 57.3967 125.743 57.4 125.833C57.4033 125.923 57.39 126.003 57.3701 126.003Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M57.3872 126.486C57.3672 126.486 57.3506 126.452 57.3506 126.412C57.3506 126.373 57.3506 126.336 57.3839 126.336C57.4171 126.336 57.4171 126.369 57.4205 126.409C57.4238 126.449 57.4072 126.486 57.3872 126.486Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M59.2873 76.8974C59.2408 76.9231 59.1891 76.9379 59.1361 76.9408C59.0831 76.9437 59.0301 76.9345 58.9811 76.9141C58.8625 76.8723 58.7601 76.7943 58.6883 76.6911C58.6012 76.551 58.5477 76.3927 58.5319 76.2286C58.4753 75.5164 58.4254 74.5347 58.3655 73.4465C58.3056 72.3583 58.2623 71.4232 58.2224 70.6645L58.1891 69.8192C58.1891 69.7394 58.1891 69.6628 58.1891 69.5896C58.1857 69.5631 58.1857 69.5363 58.1891 69.5098C58.1934 69.5362 58.1934 69.5632 58.1891 69.5896C58.1891 69.6628 58.1891 69.7361 58.2091 69.8192C58.2257 70.0588 58.2457 70.3384 58.2657 70.6612C58.3089 71.4199 58.3655 72.3816 58.4287 73.4432C58.4919 74.5048 58.5352 75.4632 58.5751 76.2219C58.585 76.3797 58.633 76.5327 58.7149 76.6678C58.7795 76.7675 58.8738 76.8444 58.9845 76.8875C59.0815 76.9244 59.1881 76.928 59.2873 76.8974Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M47.317 82.0104C47.4075 81.9959 47.4958 81.9702 47.5799 81.9338C47.802 81.8166 47.9753 81.6244 48.0691 81.3914C48.1869 81.0381 48.2267 80.6634 48.1855 80.2932C48.1685 79.8338 48.1229 79.3759 48.0491 78.9222C47.9191 78.1145 47.705 77.3226 47.4102 76.5595L47.4368 76.5761L46.6548 76.7059L46.4384 76.7358H46.3652C46.3883 76.725 46.4131 76.7182 46.4384 76.7159L46.6481 76.6693L47.4301 76.5195H47.4501V76.5395C47.7608 77.3016 47.9841 78.0965 48.1156 78.9089C48.1885 79.3649 48.2329 79.825 48.2488 80.2866C48.2859 80.6661 48.2381 81.0492 48.109 81.4081C48.0093 81.6489 47.8229 81.8437 47.5865 81.9538C47.5029 81.995 47.4102 82.0144 47.317 82.0104Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M47.6865 77.5566C47.4831 77.6399 47.271 77.7002 47.0542 77.7363C46.8367 77.7957 46.6137 77.8325 46.3887 77.8462C46.5933 77.7632 46.8065 77.703 47.0243 77.6665C47.2412 77.6095 47.4629 77.5727 47.6865 77.5566Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M83.7299 44.7742L80.0028 41.7227C69.873 50.8608 56.8115 49.8225 56.8115 49.8225V49.8458C56.2258 49.7493 53.1509 49.2568 52.1326 49.2368C51.3373 49.2368 49.497 49.0771 48.1958 50.305C48.1621 50.3344 48.1298 50.3655 48.0993 50.3982C46.9213 51.5496 35.121 63.1702 36.3789 66.0388C37.71 69.0704 48.9047 75.6528 48.9047 75.6528L51.6201 70.721C51.6201 70.721 50.7749 70.1686 49.6235 69.3899L58.7749 69.1536L59.1775 62.3017C59.1775 62.3017 60.7416 60.5546 60.7416 59.3067C60.7416 58.4348 60.2591 56.9772 59.6401 55.4997C74.0694 54.3017 83.7299 44.7742 83.7299 44.7742ZM43.1709 64.4082C43.2774 64.0488 45.6235 61.4831 47.7399 59.2202C48.4721 63.696 49.4671 68.8541 49.5636 69.3633C47.0178 67.6361 43.0344 64.8541 43.1709 64.4049V64.4082Z",fill:"#455A64"}),(0,e.createElement)("path",{d:"M60.1988 60.8171C60.0879 60.8227 59.9769 60.8227 59.866 60.8171C59.5416 60.8223 59.218 60.7831 58.9043 60.7006C58.6518 60.6395 58.4157 60.5239 58.2128 60.3617C58.0098 60.1996 57.8449 59.9949 57.7296 59.7622C57.6573 59.6145 57.6197 59.4523 57.6197 59.288C57.6197 59.1236 57.6573 58.9614 57.7296 58.8137C57.8058 58.644 57.9297 58.5002 58.0863 58.3997C58.2429 58.2993 58.4254 58.2465 58.6114 58.248C58.8146 58.2764 59.0041 58.3667 59.1542 58.5066C59.3043 58.6466 59.4075 58.8293 59.45 59.0301C59.4898 59.2466 59.4805 59.4693 59.4229 59.6818C59.3653 59.8943 59.2609 60.0912 59.1172 60.258C58.8125 60.6283 58.4208 60.9175 57.9773 61.0998C57.5337 61.2821 57.0519 61.3519 56.5748 61.3029C56.0567 61.2673 55.5567 61.0976 55.1239 60.8104C54.6624 60.5152 54.3223 60.0641 54.1655 59.5392C54.0892 59.2643 54.1055 58.9719 54.2121 58.7073C54.3346 58.4399 54.5567 58.2309 54.8311 58.1249C54.9684 58.0645 55.1196 58.0424 55.2684 58.0612C55.4173 58.0799 55.5583 58.1388 55.6763 58.2314C55.7896 58.332 55.8763 58.4591 55.9285 58.6014C55.9808 58.7437 55.997 58.8966 55.9758 59.0467C55.9463 59.3399 55.847 59.6217 55.6863 59.8687C55.5223 60.1046 55.3225 60.3134 55.094 60.4876C54.6468 60.8263 54.1193 61.0431 53.5632 61.1166C53.04 61.2041 52.5031 61.1538 52.0053 60.9706C51.5075 60.7873 51.0661 60.4775 50.7246 60.0717C50.5681 59.872 50.461 59.6383 50.4118 59.3895C50.3656 59.1431 50.397 58.8884 50.5016 58.6607C50.552 58.5496 50.6247 58.4501 50.7152 58.3682C50.8056 58.2864 50.9119 58.2239 51.0274 58.1848C51.2565 58.119 51.5019 58.1403 51.7162 58.2447C51.9185 58.3357 52.0918 58.4808 52.2168 58.664C52.3419 58.8472 52.414 59.0614 52.4251 59.283C52.4208 59.6903 52.2572 60.0797 51.9692 60.3678C51.7287 60.6135 51.438 60.8044 51.1169 60.9273C50.7958 61.0502 50.452 61.1023 50.1089 61.08C49.5924 61.0567 49.0915 60.8959 48.658 60.6141C48.3841 60.4397 48.1467 60.2136 47.9592 59.9485C47.8933 59.8572 47.8354 59.7603 47.7861 59.659C47.7861 59.659 47.8427 59.7588 47.9758 59.9352C48.1679 60.1932 48.4073 60.4123 48.6813 60.5808C49.1109 60.852 49.6046 61.0047 50.1123 61.0234C50.4444 61.0433 50.7769 60.9918 51.0874 60.8724C51.398 60.753 51.6793 60.5685 51.9126 60.3312C52.1851 60.0554 52.3391 59.684 52.3419 59.2963C52.3299 59.0907 52.2615 58.8925 52.144 58.7234C52.0266 58.5543 51.8647 58.4209 51.6763 58.3379C51.4821 58.2416 51.259 58.2214 51.0507 58.2813C50.9469 58.3173 50.8517 58.3743 50.771 58.4487C50.6903 58.5231 50.6257 58.6134 50.5815 58.7139C50.4869 58.9222 50.4579 59.1543 50.4983 59.3795C50.5475 59.6127 50.65 59.8314 50.7978 60.0184C51.13 60.409 51.5581 60.7064 52.04 60.8814C52.5219 61.0565 53.0411 61.1031 53.5465 61.0167C54.0849 60.9469 54.5956 60.7369 55.0274 60.4078C55.2462 60.2416 55.4372 60.0417 55.5931 59.8154C55.7459 59.5828 55.8406 59.3169 55.8693 59.04C55.8888 58.9068 55.875 58.7708 55.8291 58.6442C55.7833 58.5176 55.7067 58.4044 55.6064 58.3146C55.5029 58.233 55.3789 58.1814 55.248 58.1656C55.1171 58.1497 54.9844 58.1702 54.8643 58.2247C54.6164 58.3214 54.4151 58.5097 54.3019 58.7505C54.2056 58.9957 54.1916 59.2654 54.262 59.5192C54.4115 60.0199 54.7364 60.4499 55.1771 60.7306C55.5964 61.0086 56.0799 61.1747 56.5815 61.2131C57.0428 61.2616 57.5091 61.196 57.9391 61.0219C58.3691 60.8478 58.7497 60.5706 59.0474 60.2147C59.1825 60.0578 59.281 59.8728 59.3357 59.673C59.3904 59.4733 59.3999 59.2639 59.3635 59.06C59.3272 58.8736 59.2336 58.7032 59.0958 58.5725C58.958 58.4419 58.7828 58.3575 58.5948 58.3312C58.4224 58.3299 58.2534 58.3785 58.1081 58.4712C57.9628 58.564 57.8475 58.6968 57.7761 58.8537C57.708 58.993 57.6725 59.1461 57.6725 59.3013C57.6725 59.4564 57.708 59.6095 57.7761 59.7489C57.8866 59.9754 58.045 60.1752 58.2404 60.3343C58.4357 60.4935 58.6634 60.6083 58.9076 60.6707C59.2178 60.7562 59.5376 60.802 59.8593 60.8071H60.1921L60.1988 60.8171Z",fill:"white"}),(0,e.createElement)("path",{d:"M58.9015 67.1383L58.7351 67.2514C58.6253 67.3213 58.4655 67.4278 58.2525 67.5576C57.9968 67.7221 57.7233 67.8571 57.4372 67.9603C57.0508 68.0843 56.6415 68.1207 56.2392 68.0667C55.7419 68.0404 55.267 67.8509 54.8882 67.5276C54.6827 67.3325 54.5501 67.073 54.5121 66.7922C54.4936 66.6421 54.5145 66.4898 54.5729 66.3503C54.6312 66.2108 54.725 66.089 54.8449 65.9969C54.9699 65.8983 55.122 65.8403 55.2808 65.8305C55.4474 65.8247 55.6101 65.8817 55.7367 65.9902C55.8597 66.1026 55.9507 66.2456 56.0004 66.4046C56.0501 66.5636 56.0567 66.7329 56.0196 66.8954C55.9345 67.2244 55.7425 67.5159 55.4739 67.724C55.2104 67.9399 54.9137 68.1119 54.5953 68.2331C53.9622 68.47 53.2729 68.5129 52.6153 68.3563C51.9932 68.2344 51.4423 67.8767 51.0778 67.3579C50.9955 67.231 50.9449 67.0861 50.9305 66.9355C50.916 66.7849 50.938 66.633 50.9947 66.4927C51.0566 66.3632 51.15 66.2512 51.2662 66.167C51.3824 66.0827 51.5179 66.0288 51.6602 66.0102C51.7299 66.0015 51.8007 66.007 51.8681 66.0265C51.9356 66.0459 51.9985 66.0789 52.0529 66.1233C52.1557 66.2092 52.228 66.3259 52.2592 66.4561C52.287 66.5753 52.2889 66.699 52.2648 66.819C52.2407 66.939 52.1911 67.0524 52.1194 67.1516C51.8624 67.4745 51.5148 67.7133 51.1211 67.8371C50.8322 67.9362 50.5279 67.9824 50.2226 67.9736C50.03 67.9695 49.8387 67.9404 49.6536 67.887C49.5888 67.8694 49.5254 67.8472 49.4639 67.8205C49.711 67.8899 49.9659 67.9279 50.2226 67.9336C50.5223 67.9361 50.82 67.8843 51.1011 67.7806C51.4749 67.6567 51.8037 67.4252 52.0462 67.115C52.1118 67.025 52.1571 66.9219 52.179 66.8128C52.2008 66.7036 52.1987 66.591 52.1727 66.4827C52.1486 66.3679 52.083 66.266 51.9884 66.1966C51.8939 66.1272 51.777 66.0952 51.6602 66.1067C51.5337 66.1251 51.4137 66.1746 51.3109 66.2507C51.2082 66.3267 51.1258 66.427 51.0712 66.5426C51.0218 66.6696 51.0035 66.8066 51.018 66.9421C51.0325 67.0776 51.0792 67.2076 51.1544 67.3213C51.506 67.8185 52.0369 68.1597 52.6352 68.2731C53.2719 68.4242 53.9392 68.3825 54.5521 68.1533C54.8594 68.0355 55.1459 67.8692 55.4006 67.6608C55.6497 67.4662 55.8275 67.1948 55.9065 66.8887C55.9399 66.7434 55.9344 66.5918 55.8906 66.4492C55.8468 66.3067 55.7662 66.1782 55.6569 66.0767C55.5491 65.9866 55.413 65.9371 55.2725 65.9371C55.132 65.9371 54.9959 65.9866 54.8882 66.0767C54.7792 66.158 54.6938 66.2668 54.6406 66.3919C54.5874 66.517 54.5683 66.654 54.5853 66.7889C54.6172 67.047 54.7343 67.2871 54.9181 67.4711C55.2812 67.7841 55.7373 67.9689 56.2159 67.9969C56.6082 68.0545 57.0084 68.0238 57.3873 67.907C57.672 67.8102 57.9453 67.6831 58.2026 67.5276L58.6952 67.2381C58.8316 67.1682 58.9015 67.1383 58.9015 67.1383Z",fill:"white"}),(0,e.createElement)("path",{d:"M63.8936 49.3867C64.03 49.4512 64.1548 49.5378 64.263 49.643C64.5688 49.9281 64.7634 50.3125 64.8121 50.7278C64.8436 51.0138 64.8083 51.3031 64.7089 51.5731C64.5876 51.8827 64.3881 52.1556 64.1299 52.3651C63.842 52.5969 63.4973 52.7475 63.1315 52.801C62.9398 52.8326 62.7442 52.8326 62.5525 52.801C62.3438 52.776 62.1529 52.671 62.02 52.5082C61.9869 52.4602 61.9646 52.4056 61.9549 52.3481C61.9451 52.2906 61.948 52.2316 61.9635 52.1754C61.9966 52.0713 62.0618 51.9804 62.1498 51.9158C62.3163 51.8028 62.5145 51.7457 62.7155 51.7528C62.9032 51.7536 63.0886 51.793 63.2604 51.8686C63.4321 51.9442 63.5865 52.0543 63.7139 52.192C63.9412 52.4385 64.0764 52.7559 64.0966 53.0905C64.1178 53.379 64.0675 53.6682 63.9502 53.9325C63.7755 54.3103 63.49 54.626 63.1315 54.8376C63.0369 54.8963 62.9379 54.9475 62.8354 54.9907C62.7992 55.0072 62.7612 55.0195 62.7222 55.0273C62.7222 55.0273 62.872 54.9608 63.1082 54.8044C63.4507 54.5877 63.7234 54.2769 63.8936 53.9092C64.0001 53.6561 64.0435 53.3808 64.02 53.1072C63.9997 52.7915 63.8703 52.4927 63.654 52.2619C63.5361 52.137 63.3944 52.0371 63.2372 51.9679C63.08 51.8987 62.9106 51.8618 62.7388 51.8593C62.5602 51.8544 62.3844 51.9056 62.2363 52.0057C62.1666 52.0521 62.1168 52.123 62.0971 52.2045C62.0774 52.2859 62.0891 52.3718 62.1299 52.445C62.2456 52.5859 62.4113 52.6765 62.5924 52.6979C62.7744 52.7262 62.9596 52.7262 63.1415 52.6979C63.4866 52.6452 63.8121 52.5042 64.0866 52.2885C64.283 52.1362 64.4447 51.9437 64.5609 51.724C64.6771 51.5043 64.7452 51.2623 64.7606 51.0142C64.776 50.7662 64.7384 50.5176 64.6503 50.2852C64.5622 50.0528 64.4257 49.8418 64.2497 49.6663C64.1359 49.567 64.017 49.4737 63.8936 49.3867Z",fill:"white"}),(0,e.createElement)("path",{d:"M68.7686 48.2031C68.837 48.2582 68.8927 48.3274 68.9317 48.4061C68.9791 48.5007 68.9976 48.6072 68.9849 48.7123C68.9646 48.847 68.9195 48.9768 68.8518 49.095C68.6904 49.4055 68.4853 49.6913 68.2428 49.9436C67.9397 50.2335 67.6656 50.5523 67.4242 50.8953C67.0182 51.543 66.8272 52.3023 66.8784 53.065C66.9093 53.38 66.9672 53.6917 67.0515 53.9968C67.0078 53.9213 66.9731 53.8408 66.9483 53.7572C66.8766 53.5344 66.8287 53.3046 66.8052 53.0717C66.7303 52.29 66.9176 51.5056 67.3376 50.8421C67.5805 50.4913 67.8606 50.1677 68.1729 49.877C68.413 49.6342 68.619 49.3599 68.7852 49.0617C68.8548 48.9518 68.9033 48.8299 68.9283 48.7023C68.9427 48.6078 68.9312 48.5112 68.8951 48.4228C68.8252 48.2763 68.7586 48.2098 68.7686 48.2031Z",fill:"white"}),(0,e.createElement)("path",{d:"M72.4385 52.1325C72.2836 52.2055 72.1137 52.2408 71.9426 52.2356C71.7062 52.2355 71.4734 52.1776 71.2646 52.0668C71.0557 51.956 70.8772 51.7957 70.7446 51.6C70.5738 51.2971 70.4786 50.9574 70.467 50.6098C70.4554 50.2622 70.5278 49.917 70.6781 49.6033C70.8346 49.2201 71.088 48.8841 71.4135 48.6283C71.5908 48.4883 71.7984 48.3916 72.0196 48.3459C72.2409 48.3003 72.4698 48.307 72.688 48.3654C72.9111 48.4242 73.1069 48.5584 73.2422 48.7453C73.3775 48.9321 73.4439 49.1601 73.4301 49.3904C73.4266 49.5006 73.3998 49.6088 73.3517 49.708C73.3035 49.8072 73.235 49.8951 73.1506 49.9661C72.9898 50.1 72.7875 50.1741 72.5782 50.1757C72.3891 50.1815 72.2007 50.1494 72.0241 50.0814C71.8476 50.0134 71.6863 49.9109 71.5499 49.7797C71.3143 49.5543 71.1421 49.2708 71.0508 48.9577C70.9155 48.5053 70.945 48.0195 71.134 47.5867C71.2019 47.429 71.299 47.2856 71.4202 47.1641C71.3255 47.3031 71.2431 47.4501 71.1739 47.6033C71.0024 48.0275 70.9836 48.498 71.1207 48.9344C71.213 49.2332 71.3816 49.5027 71.6098 49.7165C71.7378 49.8383 71.8888 49.9333 72.0539 49.9962C72.219 50.059 72.395 50.0884 72.5716 50.0825C72.76 50.0793 72.9418 50.0124 73.0874 49.8928C73.1603 49.8299 73.2193 49.7523 73.2606 49.6652C73.3018 49.5781 73.3245 49.4834 73.327 49.387C73.3369 49.1807 73.2764 48.9772 73.1555 48.8097C73.0345 48.6422 72.8604 48.5208 72.6614 48.4652C72.4591 48.4117 72.2472 48.4058 72.0422 48.4479C71.8372 48.4901 71.6448 48.5792 71.4801 48.7082C71.1676 48.9526 70.9234 49.2735 70.7712 49.6399C70.6222 49.9412 70.548 50.2739 70.555 50.6099C70.5619 50.9459 70.6498 51.2753 70.8112 51.5701C70.9357 51.7591 71.1037 51.9154 71.3012 52.026C71.4986 52.1366 71.7197 52.1982 71.946 52.2057C72.1126 52.2028 72.2782 52.1782 72.4385 52.1325Z",fill:"white"}),(0,e.createElement)("path",{d:"M75.0713 45.4062C75.1423 45.425 75.2106 45.4529 75.2743 45.4894C75.4527 45.5812 75.6201 45.6928 75.7735 45.8222C76.0035 46.0136 76.1974 46.2446 76.3458 46.5044C76.5255 46.8236 76.6524 47.1697 76.7219 47.5294C76.8503 48.1855 76.7737 48.8652 76.5022 49.4761C76.4194 49.6585 76.3191 49.8323 76.2027 49.9953C76.1616 50.056 76.1136 50.1119 76.0596 50.1617C76.1976 49.9305 76.322 49.6917 76.4324 49.4462C76.6792 48.8459 76.7451 48.1866 76.622 47.5493C76.5531 47.2004 76.4319 46.8638 76.2626 46.551C76.12 46.3025 75.9392 46.0779 75.7269 45.8855C75.5188 45.7118 75.2999 45.5518 75.0713 45.4062Z",fill:"white"}),(0,e.createElement)("path",{d:"M80.5322 47.4168C80.3977 47.473 80.255 47.5067 80.1096 47.5166C79.9374 47.5303 79.7641 47.5145 79.5971 47.47C79.3752 47.4032 79.176 47.2766 79.0214 47.104C78.8195 46.8811 78.6692 46.6164 78.5812 46.3289C78.4932 46.0413 78.4696 45.7378 78.5122 45.4401C78.5348 45.2616 78.5944 45.0897 78.6872 44.9355C78.78 44.7814 78.9041 44.6483 79.0513 44.5449C79.2098 44.4341 79.3971 44.3716 79.5904 44.3652C79.7928 44.3576 79.9908 44.4251 80.1462 44.5549C80.306 44.6804 80.4109 44.8629 80.439 45.0641C80.4496 45.1616 80.4403 45.2602 80.4117 45.354C80.3831 45.4478 80.3358 45.5348 80.2726 45.6098C80.1526 45.7457 80.0006 45.8494 79.8303 45.9116C79.66 45.9738 79.4769 45.9925 79.2976 45.9659C78.9993 45.9358 78.7119 45.8376 78.4574 45.6789C78.203 45.5203 77.9884 45.3054 77.83 45.0508C77.693 44.8566 77.624 44.6226 77.6337 44.3852C77.6498 44.2132 77.696 44.0454 77.7701 43.8894C77.8267 43.7596 77.8766 43.6631 77.9099 43.5965C77.9253 43.5624 77.9443 43.5301 77.9665 43.5C77.9579 43.5366 77.9456 43.5723 77.9299 43.6065C77.8933 43.693 77.8533 43.7928 77.8101 43.9027C77.7425 44.0553 77.7019 44.2186 77.6903 44.3852C77.6902 44.6053 77.7602 44.8197 77.8899 44.9975C78.0468 45.2373 78.2551 45.4391 78.4998 45.5882C78.7444 45.7373 79.0193 45.8299 79.3043 45.8594C79.4683 45.882 79.6355 45.8634 79.7906 45.8053C79.9457 45.7472 80.0839 45.6514 80.1928 45.5266C80.2471 45.462 80.288 45.3873 80.3132 45.3067C80.3383 45.2262 80.3472 45.1414 80.3392 45.0574C80.3113 44.8825 80.2186 44.7245 80.0796 44.6148C79.9398 44.509 79.7692 44.4517 79.5938 44.4517C79.4184 44.4517 79.2478 44.509 79.1079 44.6148C78.9718 44.71 78.857 44.8326 78.7711 44.9747C78.6851 45.1168 78.6298 45.2753 78.6087 45.4401C78.5659 45.7237 78.5854 46.0132 78.6659 46.2885C78.7463 46.5638 78.8858 46.8182 79.0746 47.0341C79.2025 47.1791 79.3622 47.2927 79.5411 47.3659C79.72 47.4392 79.9134 47.4703 80.1063 47.4567C80.2489 47.4512 80.3911 47.4379 80.5322 47.4168Z",fill:"white"}),(0,e.createElement)("path",{d:"M58.9381 63.8926C58.8483 63.9986 58.7442 64.0916 58.6287 64.1688C58.3169 64.3893 57.9655 64.5475 57.5937 64.6347C57.0425 64.758 56.4749 64.7906 55.9132 64.7312C55.2321 64.6462 54.5581 64.5116 53.8965 64.3286C53.2435 64.1526 52.5747 64.0411 51.8999 63.9958C51.3399 63.9616 50.7787 64.0396 50.2493 64.2254C49.8962 64.3492 49.5699 64.5389 49.2876 64.7845C49.0946 64.9642 49.008 65.0873 48.998 65.0806C49.0709 64.9588 49.1593 64.8469 49.2609 64.7479C49.5371 64.4836 49.8644 64.2786 50.2227 64.1455C50.7547 63.9503 51.3204 63.8632 51.8866 63.8893C52.5727 63.9311 53.2529 64.0426 53.9165 64.2221C54.5719 64.4033 55.2391 64.5389 55.9132 64.6281C56.4681 64.6937 57.03 64.6689 57.5771 64.5549C58.0765 64.4443 58.5429 64.2174 58.9381 63.8926Z",fill:"white"}),(0,e.createElement)("path",{d:"M44.8447 53.7098C44.9352 53.6493 45.0369 53.6075 45.1438 53.587C45.2506 53.5664 45.3606 53.5674 45.467 53.59C45.717 53.6469 45.9505 53.7608 46.1492 53.9228C46.3921 54.0925 46.6317 54.3188 46.9246 54.5451C47.2174 54.7714 47.487 55.0775 47.8231 55.3404C48.1836 55.6168 48.6044 55.8038 49.051 55.8862C50.0926 56.0291 51.1533 55.8769 52.1126 55.4469C53.1476 55.0309 54.1093 54.5284 55.051 54.2755C55.4972 54.1434 55.9601 54.0762 56.4254 54.0759C56.8313 54.0864 57.2331 54.1593 57.6168 54.2922C58.181 54.4688 58.6704 54.8282 59.0078 55.3138C59.0623 55.3882 59.1081 55.4686 59.1442 55.5534C59.1768 55.6124 59.2024 55.6749 59.2208 55.7398C59.2407 55.7916 59.2563 55.845 59.2674 55.8995C59.1875 55.7033 59.0894 55.515 58.9745 55.3371C58.6318 54.8705 58.1474 54.5273 57.5935 54.3587C57.2157 54.2369 56.8223 54.1707 56.4254 54.1624C55.9689 54.1673 55.5153 54.2356 55.0777 54.3654C54.1426 54.6216 53.1941 55.1241 52.1492 55.5434C51.173 55.9802 50.093 56.1314 49.0344 55.9794C48.5733 55.8922 48.1397 55.6959 47.7699 55.407C47.4371 55.1341 47.1542 54.8379 46.878 54.5983C46.6018 54.3587 46.3456 54.1391 46.1159 53.9694C45.9221 53.8096 45.6945 53.6958 45.4504 53.6366C45.2457 53.5992 45.0346 53.6247 44.8447 53.7098Z",fill:"white"}),(0,e.createElement)("path",{d:"M59.9657 49.8164C59.9903 49.9046 60.007 49.9948 60.0156 50.086C60.0414 50.3476 60.0246 50.6117 59.9657 50.868C59.8699 51.2742 59.6807 51.6525 59.4133 51.9728C59.0562 52.402 58.5587 52.6908 58.0089 52.7881C57.3395 52.8965 56.6539 52.7454 56.0921 52.3655C55.7733 52.1594 55.5176 51.8692 55.3534 51.5269C55.31 51.4315 55.2929 51.3263 55.304 51.2221C55.3152 51.1179 55.354 51.0186 55.4166 50.9345C55.4834 50.8528 55.5663 50.7858 55.6603 50.7377C55.7542 50.6896 55.857 50.6615 55.9624 50.655C56.0705 50.642 56.1801 50.6528 56.2836 50.6867C56.3871 50.7207 56.4819 50.7769 56.5613 50.8513C56.7124 51.0121 56.803 51.2203 56.8176 51.4404C56.8317 51.6634 56.7893 51.8864 56.6945 52.0888C56.5998 52.2912 56.4555 52.4665 56.2752 52.5984C55.9096 52.8647 55.4943 53.0548 55.0539 53.1575C54.611 53.2922 54.1486 53.3507 53.6861 53.3305C53.2153 53.3064 52.7634 53.1379 52.3916 52.848C52.2092 52.708 52.0604 52.529 51.9562 52.324C51.8519 52.119 51.7949 51.8932 51.7893 51.6633C51.7771 51.4392 51.8272 51.216 51.9341 51.0187C52.041 50.8213 52.2005 50.6574 52.395 50.5452C52.5877 50.4462 52.8053 50.406 53.0206 50.4296C53.236 50.4533 53.4397 50.5398 53.6063 50.6783C53.7511 50.8248 53.8471 51.0125 53.881 51.2156C53.915 51.4188 53.8853 51.6275 53.796 51.8131C53.6374 52.1629 53.3537 52.4407 53.0006 52.5918C52.3825 52.8575 51.7025 52.9451 51.0372 52.8447C50.0715 52.7061 49.1843 52.2355 48.5281 51.5136C48.3531 51.3209 48.1991 51.11 48.0688 50.8846C47.9823 50.7249 47.9424 50.6417 47.9424 50.6417C48.118 50.9439 48.3243 51.2271 48.558 51.487C49.2186 52.182 50.0968 52.6305 51.0472 52.7582C51.6975 52.8514 52.361 52.7627 52.964 52.5019C53.2957 52.3575 53.5624 52.0956 53.7128 51.7665C53.7933 51.5976 53.8198 51.408 53.7889 51.2234C53.7579 51.0389 53.6709 50.8683 53.5397 50.7349C53.3881 50.6101 53.203 50.5328 53.0077 50.5127C52.8124 50.4926 52.6154 50.5305 52.4415 50.6217C52.2635 50.7244 52.1178 50.8747 52.0207 51.0559C51.9237 51.237 51.8793 51.4416 51.8925 51.6467C51.8973 51.8621 51.9506 52.0736 52.0486 52.2655C52.1465 52.4573 52.2866 52.6246 52.4582 52.7548C52.8128 53.031 53.2439 53.1913 53.6928 53.2141C54.1429 53.233 54.593 53.1756 55.0239 53.0444C55.4504 52.9444 55.853 52.7612 56.2086 52.5053C56.3746 52.3829 56.5077 52.2212 56.596 52.0348C56.6843 51.8484 56.725 51.643 56.7144 51.437C56.7049 51.2392 56.6246 51.0514 56.4881 50.9079C56.4196 50.8428 56.3375 50.7936 56.2478 50.7637C56.1581 50.7338 56.0629 50.7239 55.969 50.7349C55.8765 50.7415 55.7863 50.7664 55.7034 50.8081C55.6206 50.8498 55.5469 50.9075 55.4865 50.9778C55.4345 51.0497 55.4026 51.1341 55.3938 51.2223C55.385 51.3106 55.3998 51.3996 55.4366 51.4803C55.5932 51.8047 55.8347 52.0807 56.1354 52.279C56.6778 52.6516 57.3421 52.8028 57.9923 52.7016C58.5281 52.6127 59.0151 52.3368 59.3667 51.9229C59.6308 51.6099 59.8207 51.2414 59.9224 50.8447C60.0046 50.5082 60.0193 50.1587 59.9657 49.8164Z",fill:"white"}),(0,e.createElement)("path",{d:"M42.9844 55.6342C43.0269 55.612 43.0715 55.5942 43.1175 55.5809C43.204 55.5477 43.3371 55.5044 43.5068 55.4578C43.9969 55.3138 44.5207 55.3348 44.9977 55.5177C45.3274 55.6464 45.6217 55.8517 45.8563 56.1167C46.13 56.4218 46.2899 56.8121 46.3088 57.2215C46.3151 57.4571 46.2702 57.6913 46.1774 57.9079C46.0847 58.1246 45.9461 58.3186 45.7713 58.4766C45.5965 58.6347 45.3895 58.7531 45.1647 58.8236C44.9398 58.8942 44.7023 58.9153 44.4686 58.8854C44.2207 58.8581 43.9878 58.7533 43.803 58.5859C43.7122 58.5034 43.6445 58.3986 43.6065 58.2819C43.5686 58.1651 43.5618 58.0405 43.5867 57.9204C43.6521 57.693 43.7945 57.4954 43.9894 57.3613C44.1679 57.2297 44.3719 57.1368 44.5884 57.0884C44.9567 56.997 45.3419 56.9977 45.7099 57.0906C46.0779 57.1835 46.4173 57.3656 46.6982 57.6209C47.0731 57.9747 47.32 58.4428 47.4003 58.952C47.4301 59.1349 47.4301 59.3215 47.4003 59.5044C47.3979 59.3216 47.3824 59.1392 47.3538 58.9586C47.2593 58.4701 47.0109 58.0246 46.6449 57.6874C46.3707 57.4455 46.0415 57.2741 45.686 57.1883C45.3305 57.1025 44.9594 57.1047 44.605 57.1949C44.4019 57.2426 44.2106 57.3309 44.0426 57.4545C43.8669 57.5747 43.7387 57.7524 43.6799 57.957C43.6558 58.0618 43.6604 58.1712 43.6932 58.2737C43.7259 58.3762 43.7857 58.4679 43.8662 58.5393C44.0374 58.6931 44.253 58.7886 44.4819 58.8122C44.7008 58.84 44.9231 58.8202 45.1337 58.7544C45.3443 58.6886 45.5383 58.5783 45.7024 58.4308C45.8666 58.2834 45.9971 58.1024 46.0851 57.9C46.1731 57.6977 46.2165 57.4787 46.2123 57.2581C46.1988 56.869 46.0493 56.4968 45.7897 56.2066C45.5679 55.9483 45.2871 55.7474 44.9711 55.6209C44.5089 55.4341 43.9985 55.4025 43.5168 55.531C43.3438 55.5709 43.214 55.6076 43.1241 55.6342C43.0776 55.6377 43.0309 55.6377 42.9844 55.6342Z",fill:"white"}),(0,e.createElement)("path",{d:"M44.4117 62.8518C44.4467 62.7607 44.457 62.662 44.4417 62.5656C44.3873 62.3006 44.2735 62.0514 44.1089 61.8368C43.9901 61.6806 43.831 61.5597 43.6486 61.487C43.4663 61.4143 43.2677 61.3926 43.0739 61.4242C42.628 61.4242 42.1455 61.6405 41.5997 61.5972C41.1322 61.5756 40.6919 61.3707 40.3743 61.0269C40.0567 60.6831 39.8872 60.2281 39.9026 59.7603C39.8909 59.4812 39.964 59.2051 40.1122 58.9683C40.1646 58.8811 40.2364 58.8071 40.3219 58.752C40.3219 58.752 40.242 58.8252 40.1455 58.9882C40.0177 59.2246 39.9589 59.4921 39.9758 59.7603C39.9801 60.1577 40.1132 60.5431 40.3551 60.8584C40.5112 61.0421 40.7021 61.1928 40.9169 61.3019C41.1317 61.411 41.3661 61.4764 41.6064 61.494C42.1189 61.534 42.6047 61.3443 43.0706 61.3277C43.2969 61.3106 43.5241 61.3436 43.7362 61.4242C43.92 61.4972 44.0761 61.6265 44.1821 61.7936C44.3426 62.0215 44.4443 62.2856 44.4783 62.5623C44.4885 62.6125 44.4878 62.6643 44.4763 62.7142C44.4648 62.7642 44.4428 62.8111 44.4117 62.8518Z",fill:"white"}),(0,e.createElement)("path",{d:"M40.7387 70.2847C40.8964 70.271 41.0506 70.2305 41.1946 70.1649C41.3577 70.0805 41.4887 69.9449 41.5673 69.7789C41.6558 69.5513 41.6799 69.3038 41.6372 69.0634C41.5935 68.7675 41.5211 68.4766 41.4209 68.1948C41.3338 67.8651 41.1835 67.5554 40.9783 67.283C40.8643 67.1405 40.7135 67.032 40.5422 66.9692C40.3709 66.9065 40.1856 66.8918 40.0066 66.9269C39.9155 66.9509 39.8314 66.996 39.7608 67.0584C39.6903 67.1208 39.6354 67.1989 39.6006 67.2863C39.5324 67.4722 39.5324 67.6762 39.6006 67.8621C39.6737 68.0443 39.8017 68.1993 39.9669 68.3054C40.1321 68.4116 40.3262 68.4637 40.5224 68.4544C40.8977 68.4507 41.2601 68.3166 41.5473 68.075C42.0329 67.6541 42.428 67.139 42.7087 66.5609C42.9057 66.1735 43.033 65.7544 43.0848 65.3229C43.1147 65.0168 43.0848 64.8438 43.1081 64.8438C43.1336 65.0033 43.1392 65.1654 43.1247 65.3263C43.088 65.7659 42.9695 66.1948 42.7753 66.5908C42.499 67.1867 42.0998 67.7175 41.6039 68.1482C41.3035 68.4084 40.9198 68.5524 40.5224 68.5542C40.3101 68.5541 40.1015 68.4991 39.9167 68.3945C39.7213 68.2859 39.5739 68.1077 39.5041 67.8953C39.4257 67.6861 39.4257 67.4556 39.5041 67.2464C39.5451 67.1447 39.6091 67.054 39.6911 66.9812C39.773 66.9084 39.8708 66.8557 39.9766 66.8271C40.1744 66.7873 40.3793 66.8033 40.5685 66.8732C40.7578 66.9431 40.9238 67.0643 41.0482 67.2231C41.2601 67.5051 41.414 67.8263 41.5007 68.1682C41.5977 68.4571 41.6668 68.7547 41.7071 69.0567C41.7459 69.3098 41.7149 69.5688 41.6172 69.8055C41.5287 69.9794 41.3847 70.1188 41.2079 70.2015C41.0984 70.2533 40.9796 70.2828 40.8585 70.288C40.8186 70.2923 40.7783 70.2912 40.7387 70.2847Z",fill:"white"}),(0,e.createElement)("path",{d:"M45.1113 72.847C45.1991 72.8369 45.2852 72.8156 45.3676 72.7838C45.5867 72.6806 45.7565 72.4953 45.8401 72.268C45.9554 71.9269 45.9376 71.5548 45.7902 71.2264C45.6538 70.8437 45.4075 70.4576 45.2578 69.9917C45.1788 69.7654 45.1482 69.5251 45.1679 69.2862C45.1937 69.0618 45.2761 68.8477 45.4075 68.664C45.6353 68.3605 45.9629 68.1472 46.3326 68.0616C46.5767 68.004 46.8289 67.9894 47.0781 68.0184C47.1701 68.0226 47.2609 68.0405 47.3476 68.0716C47.0136 68.0409 46.6768 68.0622 46.3493 68.1348C46.0013 68.2231 45.6952 68.4303 45.484 68.7205C45.361 68.8895 45.2852 69.0882 45.2644 69.2962C45.2488 69.5219 45.2794 69.7483 45.3543 69.9618C45.494 70.4077 45.7403 70.7971 45.8767 71.1931C46.0276 71.543 46.0372 71.9378 45.9033 72.2946C45.8566 72.4135 45.7861 72.5217 45.6963 72.6127C45.6065 72.7036 45.4992 72.7754 45.3809 72.8237C45.2952 72.8576 45.2015 72.8657 45.1113 72.847Z",fill:"white"}),(0,e.createElement)("path",{d:"M47.1641 59.8336C47.2636 59.6852 47.3749 59.545 47.4968 59.4143C47.7065 59.1547 48.0226 58.782 48.4186 58.3294C48.8146 57.8769 49.2872 57.3311 49.793 56.7288C50.0459 56.4226 50.3055 56.0998 50.5684 55.7571C50.847 55.4138 51.089 55.0424 51.2905 54.6489C51.6959 53.8986 51.9236 53.0652 51.9561 52.213C51.9752 51.5186 51.7275 50.8434 51.2639 50.3261C50.9471 49.9822 50.5284 49.7489 50.0692 49.6605C49.8993 49.6379 49.7282 49.6246 49.5567 49.6206C49.5567 49.6206 49.6 49.6206 49.6899 49.5907C49.8191 49.5739 49.95 49.5739 50.0792 49.5907C50.5642 49.6599 51.0124 49.8882 51.3538 50.2396C51.8522 50.7748 52.1252 51.4816 52.1158 52.213C52.0949 53.0922 51.8669 53.9542 51.4503 54.7288C51.2451 55.1312 50.9975 55.5105 50.7115 55.8602C50.4453 56.193 50.179 56.5258 49.9228 56.8319C49.407 57.4376 48.9245 57.9667 48.5151 58.4093L47.5534 59.4576C47.4341 59.5933 47.3039 59.7191 47.1641 59.8336Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M43.4504 64.4082C43.0885 64.6058 42.701 64.7525 42.299 64.8441C41.9134 64.9908 41.5089 65.0816 41.0977 65.1137C41.4596 64.9161 41.847 64.7694 42.2491 64.6778C42.6346 64.5311 43.0392 64.4403 43.4504 64.4082Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M43.3006 64.3652C43.3272 64.4085 42.9312 64.6548 42.5518 65.0707C42.1725 65.4867 41.9528 65.896 41.9062 65.8727C42.0028 65.5291 42.1796 65.2132 42.422 64.9512C42.6644 64.6891 42.9655 64.4883 43.3006 64.3652Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M60.0657 56.4727C59.9091 56.2598 59.7795 56.0285 59.6797 55.7838C59.405 55.2122 59.1628 54.6256 58.9542 54.0267C58.7422 53.4295 58.5644 52.8206 58.4218 52.2031C58.345 51.9514 58.3013 51.6907 58.292 51.4277C58.3978 51.6677 58.4803 51.9174 58.5382 52.1732C58.678 52.6357 58.871 53.2747 59.1173 53.9702C59.3635 54.6657 59.6098 55.3013 59.7828 55.7339C59.9003 55.9706 59.995 56.218 60.0657 56.4727Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M56.5483 59.6609C56.4478 59.9091 56.2997 60.1352 56.1124 60.3265C55.678 60.8211 55.1392 61.2132 54.535 61.4745C53.9308 61.7357 53.2761 61.8596 52.6182 61.8373C52.3471 61.8409 52.078 61.7912 51.8262 61.6909C51.8262 61.6609 52.1323 61.7208 52.6215 61.7142C53.2569 61.7055 53.8843 61.571 54.4675 61.3186C55.0506 61.0661 55.578 60.7007 56.0192 60.2433C56.3586 59.9005 56.5217 59.6443 56.5483 59.6609Z",fill:"#263238"}),(0,e.createElement)("path",{d:"M54.2421 76.1064C54.2421 76.1064 51.9426 76.6056 51.6364 76.3527C51.3303 76.0997 52.0757 75.8269 52.0757 75.8269C52.0757 75.8269 51.4102 75.9067 51.4102 75.6671C51.4102 75.4275 51.6498 75.2578 51.6498 75.2578L54.2421 76.1064Z",fill:"#E5BAAB"}),(0,e.createElement)("path",{d:"M51.1245 71.6426C51.1245 71.6426 54.3558 73.1001 54.3957 73.2133C54.4357 73.3264 54.5355 75.6293 54.2293 76.1051C53.9232 76.581 49.6836 74.2582 49.6836 74.2582L51.1245 71.6426Z",fill:"#E5BAAB"}),(0,e.createElement)("path",{d:"M53.5137 75.5659C53.4597 75.5747 53.4047 75.5747 53.3507 75.5659L52.9114 75.5094C52.4271 75.4452 51.9486 75.3428 51.4804 75.2032C51.0036 75.0691 50.5534 74.8541 50.1493 74.5676L49.7833 74.3147C49.6967 74.2548 49.6502 74.2215 49.6535 74.2148C49.7034 74.2374 49.7512 74.2641 49.7966 74.2947L50.1759 74.5243C50.5791 74.7944 51.0213 75.0009 51.4871 75.1366C51.953 75.2743 52.4263 75.3854 52.9047 75.4694L53.3407 75.546C53.3988 75.5476 53.4567 75.5542 53.5137 75.5659Z",fill:"#D78776"}),(0,e.createElement)("path",{d:"M53.5007 75.6235C53.264 75.7229 53.0139 75.7869 52.7586 75.8132C52.5064 75.8613 52.2489 75.8747 51.9932 75.8531C51.9932 75.8331 52.3259 75.8065 52.7486 75.7433C53.1712 75.6801 53.494 75.6069 53.5007 75.6235Z",fill:"#D78776"}))}var Zo={};function Ho(){var t,n,r=this,a=(0,e.useRef)(null),o=Va(),i=o.nextPayload,s=o.keywords,l=o.postHTML,c=function(t){var n=t.notaService,r=wr(),a=r.setGrade,o=r.setGradeLoading,i=r.setUrlsScore,s=r.setUrlsLoading,l=r.grade,c=r.urlsScore,u=r.setPostMetaData,d=window.notaTools.meta_keys,f=sa({key:d.grade_scores_history,serialize:!0,initialItem:{data:null,request:{}}}).data,p=sa({key:d.urls_score_history,serialize:!0,initialItem:{}}).data;(0,e.useEffect)((function(){var e=Ca(f),t=Ca(p);!l.data&&e.data&&a(e),ma(c)&&!ma(t)&&i(t)}),[l,f,p,a,i,c]);var h=oa((function(e){return da(void 0,void 0,void 0,(function(){return fa(this,(function(t){return o(!0),[2,n.getGradeScores(e)]}))}))}),{onSuccess:function(e,t){var n;u(((n={})[d.grade_scores_history]=JSON.stringify({data:e,request:t}),n)),a({data:e,request:t}),o(!1)},onError:function(){o(!1)}}),m=h.mutate,C=pa(h,["mutate"]),y=oa((function(e){return da(void 0,void 0,void 0,(function(){var t,r,a,o,i;return fa(this,(function(l){switch(l.label){case 0:return s(!0),t=e.urlsList?e.urlsList.reduce((function(e,t,n){return n%10==0&&e.push([]),e[e.length-1].push(t),e}),[]):[],r=t.slice(0,3),a=0,o=0,i=[],[4,Promise.all(r.map((function(e){return da(void 0,void 0,void 0,(function(){var t;return fa(this,(function(r){switch(r.label){case 0:return[4,n.getUrlsScore({urlsList:e})];case 1:return t=r.sent(),a+=t.totalUrls,o+=t.numInvalidUrls,i=ha(ha([],i,!0),t.listInvalidUrls,!0),[2]}}))}))})))];case 1:return l.sent(),[2,{totalUrls:a,numInvalidUrls:o,listInvalidUrls:i}]}}))}))}),{onSuccess:function(e){var t;u(((t={})[d.urls_score_history]=JSON.stringify(e),t)),i(e),s(!1)},onError:function(){s(!1)}}),g=y.mutate,v=pa(y,["mutate"]),w=(0,e.useCallback)((function(e){m(e),g(e)}),[m,g]);return{grade:{error:C.error,isLoading:C.isLoading,data:l,update:function(e){return m(e)}},urlsScore:{error:v.error,isLoading:v.isLoading,data:c,update:function(e){return g(e)}},run:w}}({notaService:wt}),d=wr(),f=d.grade,p=d.gradeIsLoading,h=f||{},m=h.data,C=h.request,y=(0,e.useState)(!1),g=y[0],v=y[1],w=(0,e.useRef)(!1),b=mr(i.content||"")<100,E=!(null==s?void 0:s.length),x=_a(),M=x.config,L=x.isLoading,S=Oa({notaService:wt,components:Zo,requestsToQueue:M.requestsToQueue}),A=(0,e.useCallback)((function(){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(r,void 0,void 0,(function(){return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(e){switch(e.label){case 0:return E?(S.keywordSynonyms.refresh({postHTML:l}),setTimeout((function(){w.current=!0}),1e3),[3,3]):[3,1];case 1:return[4,c.run(i)];case 2:e.sent(),e.label=3;case 3:return[2]}}))}))}),[c,S.keywordSynonyms,i,E,l]),O=S.keywordSynonyms.isLoading;(0,e.useEffect)((function(){!w.current||O||E||(w.current=!1,A())}),[A,O,E]),t="refreshData",n=A,(0,e.useEffect)((function(){var e=function(e){return function(e){e.detail.action===t&&n()}(e)};return window.addEventListener(Er(t),e),function(){window.removeEventListener(Er(t),e)}}),[t,n]);var T=C&&JSON.stringify(i)!==JSON.stringify(C)||!1,P=!f.data;(0,e.useEffect)((function(){if(T&&!P){var e=setTimeout((function(){v(!0)}),1e3);return function(){return clearTimeout(e)}}v(!1)}),[T,P]);var k=Object.keys((null==C?void 0:C.keywords)||{}),Z=(0,e.useMemo)((function(){var t=function(e,t){if(!e||!t.length)return[];var n=t.map((function(t){return{text:t,inUse:e.keywords.usedKeywords.map(An).includes(An(t))}}));return n.sort((function(e,t){return Number(t.inUse)-Number(e.inUse)})),n}(m,k);return p?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(vr,{className:"ntw-mt-4"}),(0,e.createElement)(vr,{className:"ntw-mt-4"})):m?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(Ja,{score:m.totalScore}),(0,e.createElement)(jn,{keywords:t}),(0,e.createElement)(yo,{data:m,numberWords:mr((null==C?void 0:C.content)||""),keywords:k})):(0,e.createElement)(e.Fragment,null,(0,e.createElement)(ko,null),(0,e.createElement)("div",{className:"ntw-mb-2 ntw-mt-5 ntw-text-center ntw-text-lg ntw-font-bold"},"Get started"),(0,e.createElement)("div",{className:"ntw-text-center ntw-text-sm ntw-font-normal"},"Optimize this page with best practices and data driven insights!"),(0,e.createElement)($n,{disabled:p||b||O,className:"ntw-mt-4 ntw-w-full ntw-shadow",onClick:A},p?"Loading...":O?"Loading keywords...":"Get started"))}),[m,p,A,O,b,null==C?void 0:C.content,k]);return L?(0,e.createElement)("div",null,"Loading the Nota toolset..."):(0,e.createElement)(u.PanelBody,{title:"Global Score",initialOpen:!0,opened:!0,ref:a},!p&&T&&g&&!E&&(0,e.createElement)(Wa,{size:"small",isLoading:p,error:c.grade.error,retry:A},(0,e.createElement)(Po,{isDisabled:b||E,onDisplay:function(){a.current&&a.current.scrollIntoView({behavior:"smooth",block:"start"})},refreshData:A,loading:p})),b&&(0,e.createElement)(qa,{size:"small",level:"info",className:"ntw-mb-2"},"Please add at least 100 words to your post to get started."),Z)}function Ro(){var t,n,r=wr(),a=r.urlsLoading,o=r.urlsScore,i=r.grade,s=Va().nextPayload.urlsList,l=function(e,t,n){for(var r,a,o=0,i=pr[rr.url][nr.length];o<i.length;o++){var s=i[o];if("function"==typeof s.range&&s.range(e,t))return(r={score:s.score})[nr.length]={score:s.score,feedback:s.feedback,meetsCriteria:s.meetsCriteria,listInvalidUrls:n},r}return(a={score:0})[nr.length]={score:0,feedback:"Couldn't evaluate URL criteria.",meetsCriteria:!1,listInvalidUrls:[]},a}(null==o?void 0:o.numInvalidUrls,null==o?void 0:o.totalUrls,null==o?void 0:o.listInvalidUrls),c=i.data?ur(((t={})[rr.url]=l,t),[rr.url]):void 0;return n=a?(0,e.createElement)(vr,null):o?(0,e.createElement)(Fn,{title:"Link Health Report",gradeData:l}):(0,e.createElement)("div",{className:"ntw-text-xs ntw-text-typography-disabled"},'Please click on the "Get started" button to start the analysis.'),(0,e.createElement)(Xn,{loading:a,status:c,title:"Link Integrity"},function(){if(s.length>30)return(0,e.createElement)("div",{className:"ntw-mb-2"},(0,e.createElement)("p",{className:"ntw-text-xs ntw-text-typography-disabled"},"Note: Only the first ",30," URLs will be analyzed."))}(),n)}function jo(){var t,n,r,a,o=wr(),i=o.grade,s=o.gradeIsLoading,l=ur(i.data,[rr.metaTitle,rr.metaDescription,rr.slug]),c=null===(t=i.data)||void 0===t?void 0:t[rr.metaTitle],u=null===(n=i.data)||void 0===n?void 0:n[rr.metaDescription],d=null===(r=i.data)||void 0===r?void 0:r[rr.slug];return a=s?(0,e.createElement)(vr,null):i?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(Fn,{title:"Page Title",gradeData:c}),((null==c?void 0:c.score)||0)<=60?(0,e.createElement)(Jn,{className:"ntw-mt-2",onClick:function(){return fr(".meta-tab-seo","nota-meta-title")}}):null,(0,e.createElement)(Nn,null),(0,e.createElement)(Fn,{title:"Meta Description",gradeData:u}),((null==u?void 0:u.score)||0)<=60?(0,e.createElement)(Jn,{className:"ntw-mt-2",onClick:function(){return fr(".meta-tab-seo","nota-meta-description")}}):null,(0,e.createElement)(Nn,null),(0,e.createElement)(Fn,{title:"Slug",gradeData:d}),((null==d?void 0:d.score)||0)<=60?(0,e.createElement)(Jn,{className:"ntw-mt-2",onClick:function(){return fr(".meta-tab-seo","nota-slug")}}):null):(0,e.createElement)("div",{className:"ntw-text-xs ntw-text-typography-disabled"},'Please click on the "Get started" button to start the analysis.'),(0,e.createElement)(Xn,{loading:s,status:l,title:"SEO Analysis"},a)}function Fo(t){var n=t.className;return(0,e.createElement)("svg",{width:"28",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("path",{d:"M24.0001 45.9065C36.0987 45.9065 45.9065 36.0987 45.9065 24.0001C45.9065 11.9016 36.0987 2.09375 24.0001 2.09375C11.9016 2.09375 2.09375 11.9016 2.09375 24.0001C2.09375 36.0987 11.9016 45.9065 24.0001 45.9065Z",fill:"white"}),(0,e.createElement)("path",{d:"M24 48C10.766 48 0 37.234 0 24C0 10.766 10.766 0 24 0C37.234 0 48 10.766 48 24C48 37.234 37.234 48 24 48ZM24 4.18722C13.0755 4.18859 4.18859 13.0755 4.18859 24C4.18859 34.9245 13.0769 43.8128 24.0014 43.8128C34.9259 43.8128 43.8141 34.9245 43.8141 24C43.8141 13.0755 34.9245 4.18859 24 4.18859V4.18722Z",fill:"#030B1B"}),(0,e.createElement)("path",{d:"M11.0664 34.8224L11.0937 29.5186L13.1477 29.1114L15.3028 29.177L20.3988 28.2887L26.6892 27.7503L33.0862 27.4688L34.6387 28.4185L35.9055 31.1626L36.0257 35.3458L32.9701 35.2856L20.996 35.41L17.2816 35.3376L13.7094 35.5876L11.0527 35.5357L11.0664 34.821V34.8224Z",fill:"#008D8E"}),(0,e.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.3425 8.90703H31.0026V33.9948H26.1403L22.3043 22.6358V29.9169H17.334V12.9822H22.1908L26.3425 23.8042V8.9043V8.90703Z",fill:"#030B1B"}))}class No extends Wr{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||zr,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||function(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?null!=r?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(e,t){const n=qr(this.state.data,e,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),n}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;const n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(Lr).catch(Lr):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some((e=>!1!==e.options.enabled))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((e=>e.getCurrentResult().isStale))}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!Ar(this.state.dataUpdatedAt,e)}onFocus(){var e;const t=this.observers.find((e=>e.shouldFetchOnWindowFocus()));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}onOnline(){var e;const t=this.observers.find((e=>e.shouldFetchOnReconnect()));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}addObserver(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((t=>t!==e)),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var n,r;if("idle"!==this.state.fetchStatus)if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var a;return null==(a=this.retryer)||a.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find((e=>e.options.queryFn));e&&this.setOptions(e.options)}Array.isArray(this.options.queryKey);const o=function(){if("function"==typeof AbortController)return new AbortController}(),i={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},s=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(o)return this.abortSignalConsumed=!0,o.signal}})};s(i);const l={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(i)):Promise.reject("Missing queryFn")};var c;s(l),null==(n=this.options.behavior)||n.onFetch(l),this.revertState=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(r=l.fetchOptions)?void 0:r.meta))&&this.dispatch({type:"fetch",meta:null==(c=l.fetchOptions)?void 0:c.meta});const u=e=>{var t,n,r,a;ea(e)&&e.silent||this.dispatch({type:"error",error:e}),ea(e)||(null==(t=(n=this.cache.config).onError)||t.call(n,e,this),null==(r=(a=this.cache.config).onSettled)||r.call(a,this.state.data,e,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=ta({fn:l.fetchFn,abort:null==o?void 0:o.abort.bind(o),onSuccess:e=>{var t,n,r,a;void 0!==e?(this.setData(e),null==(t=(n=this.cache.config).onSuccess)||t.call(n,e,this),null==(r=(a=this.cache.config).onSettled)||r.call(a,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1):u(new Error("undefined"))},onError:u,onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){this.state=(t=>{var n,r;switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(n=e.meta)?n:null,fetchStatus:Yr(this.options.networkMode)?"fetching":"paused",...!t.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(r=e.dataUpdatedAt)?r:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=e.error;return ea(a)&&a.revert&&this.revertState?{...this.revertState}:{...t,error:a,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),Gr.batch((()=>{this.observers.forEach((t=>{t.onQueryUpdate(e)})),this.cache.notify({query:this,type:"updated",action:e})}))}}class Io extends Qr{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,n){var r;const a=t.queryKey,o=null!=(r=t.queryHash)?r:Zr(a,t);let i=this.get(o);return i||(i=new No({cache:this,logger:e.getLogger(),queryKey:a,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(i)),i}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){const t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((t=>t!==e)),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){Gr.batch((()=>{this.queries.forEach((e=>{this.remove(e)}))}))}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){const[n]=Tr(e,t);return void 0===n.exact&&(n.exact=!0),this.queries.find((e=>Pr(n,e)))}findAll(e,t){const[n]=Tr(e,t);return Object.keys(n).length>0?this.queries.filter((e=>Pr(n,e))):this.queries}notify(e){Gr.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}onFocus(){Gr.batch((()=>{this.queries.forEach((e=>{e.onFocus()}))}))}onOnline(){Gr.batch((()=>{this.queries.forEach((e=>{e.onOnline()}))}))}}class _o extends Qr{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,n){const r=new na({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(r),r}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter((t=>t!==e)),this.notify({type:"removed",mutation:e})}clear(){Gr.batch((()=>{this.mutations.forEach((e=>{this.remove(e)}))}))}getAll(){return this.mutations}find(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((t=>kr(e,t)))}findAll(e){return this.mutations.filter((t=>kr(e,t)))}notify(e){Gr.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}resumePausedMutations(){var e;return this.resuming=(null!=(e=this.resuming)?e:Promise.resolve()).then((()=>{const e=this.mutations.filter((e=>e.state.isPaused));return Gr.batch((()=>e.reduce(((e,t)=>e.then((()=>t.continue().catch(Lr)))),Promise.resolve())))})).then((()=>{this.resuming=void 0})),this.resuming}}function Do(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var Vo,Uo=new class{constructor(e={}){this.queryCache=e.queryCache||new Io,this.mutationCache=e.mutationCache||new _o,this.logger=e.logger||zr,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=Kr.subscribe((()=>{Kr.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())})),this.unsubscribeOnline=$r.subscribe((()=>{$r.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())})))}unmount(){var e,t;this.mountCount--,0===this.mountCount&&(null==(e=this.unsubscribeFocus)||e.call(this),this.unsubscribeFocus=void 0,null==(t=this.unsubscribeOnline)||t.call(this),this.unsubscribeOnline=void 0)}isFetching(e,t){const[n]=Tr(e,t);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data}ensureQueryData(e,t,n){const r=Or(e,t,n),a=this.getQueryData(r.queryKey);return a?Promise.resolve(a):this.fetchQuery(r)}getQueriesData(e){return this.getQueryCache().findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,n){const r=this.queryCache.find(e),a=function(e,t){return"function"==typeof e?e(t):e}(t,null==r?void 0:r.state.data);if(void 0===a)return;const o=Or(e),i=this.defaultQueryOptions(o);return this.queryCache.build(this,i).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return Gr.batch((()=>this.getQueryCache().findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,n)]))))}getQueryState(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state}removeQueries(e,t){const[n]=Tr(e,t),r=this.queryCache;Gr.batch((()=>{r.findAll(n).forEach((e=>{r.remove(e)}))}))}resetQueries(e,t,n){const[r,a]=Tr(e,t,n),o=this.queryCache,i={type:"active",...r};return Gr.batch((()=>(o.findAll(r).forEach((e=>{e.reset()})),this.refetchQueries(i,a))))}cancelQueries(e,t,n){const[r,a={}]=Tr(e,t,n);void 0===a.revert&&(a.revert=!0);const o=Gr.batch((()=>this.queryCache.findAll(r).map((e=>e.cancel(a)))));return Promise.all(o).then(Lr).catch(Lr)}invalidateQueries(e,t,n){const[r,a]=Tr(e,t,n);return Gr.batch((()=>{var e,t;if(this.queryCache.findAll(r).forEach((e=>{e.invalidate()})),"none"===r.refetchType)return Promise.resolve();const n={...r,type:null!=(e=null!=(t=r.refetchType)?t:r.type)?e:"active"};return this.refetchQueries(n,a)}))}refetchQueries(e,t,n){const[r,a]=Tr(e,t,n),o=Gr.batch((()=>this.queryCache.findAll(r).filter((e=>!e.isDisabled())).map((e=>{var t;return e.fetch(void 0,{...a,cancelRefetch:null==(t=null==a?void 0:a.cancelRefetch)||t,meta:{refetchPage:r.refetchPage}})}))));let i=Promise.all(o).then(Lr);return null!=a&&a.throwOnError||(i=i.catch(Lr)),i}fetchQuery(e,t,n){const r=Or(e,t,n),a=this.defaultQueryOptions(r);void 0===a.retry&&(a.retry=!1);const o=this.queryCache.build(this,a);return o.isStaleByTime(a.staleTime)?o.fetch(a):Promise.resolve(o.state.data)}prefetchQuery(e,t,n){return this.fetchQuery(e,t,n).then(Lr).catch(Lr)}fetchInfiniteQuery(e,t,n){const r=Or(e,t,n);return r.behavior={onFetch:e=>{e.fetchFn=()=>{var t,n,r,a,o,i;const s=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,l=null==(r=e.fetchOptions)||null==(a=r.meta)?void 0:a.fetchMore,c=null==l?void 0:l.pageParam,u="forward"===(null==l?void 0:l.direction),d="backward"===(null==l?void 0:l.direction),f=(null==(o=e.state.data)?void 0:o.pages)||[],p=(null==(i=e.state.data)?void 0:i.pageParams)||[];let h=p,m=!1;const C=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),y=(e,t,n,r)=>(h=r?[t,...h]:[...h,t],r?[n,...e]:[...e,n]),g=(t,n,r,a)=>{if(m)return Promise.reject("Cancelled");if(void 0===r&&!n&&t.length)return Promise.resolve(t);const o={queryKey:e.queryKey,pageParam:r,meta:e.options.meta};var i;i=o,Object.defineProperty(i,"signal",{enumerable:!0,get:()=>{var t,n;return null!=(t=e.signal)&&t.aborted?m=!0:null==(n=e.signal)||n.addEventListener("abort",(()=>{m=!0})),e.signal}});const s=C(o);return Promise.resolve(s).then((e=>y(t,r,e,a)))};let v;if(f.length)if(u){const t=void 0!==c,n=t?c:Do(e.options,f);v=g(f,t,n)}else if(d){const t=void 0!==c,n=t?c:function(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}(e.options,f);v=g(f,t,n,!0)}else{h=[];const t=void 0===e.options.getNextPageParam;v=s&&f[0]&&!s(f[0],0,f)?Promise.resolve(y([],p[0],f[0])):g([],t,p[0]);for(let n=1;n<f.length;n++)v=v.then((r=>{if(!s||!f[n]||s(f[n],n,f)){const a=t?p[n]:Do(e.options,r);return g(r,t,a)}return Promise.resolve(y(r,p[n],f[n]))}))}else v=g([]);return v.then((e=>({pages:e,pageParams:h})))}}},this.fetchQuery(r)}prefetchInfiniteQuery(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(Lr).catch(Lr)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){const n=this.queryDefaults.find((t=>Hr(e)===Hr(t.queryKey)));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;const t=this.queryDefaults.find((t=>Rr(e,t.queryKey)));return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){const n=this.mutationDefaults.find((t=>Hr(e)===Hr(t.mutationKey)));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;const t=this.mutationDefaults.find((t=>Rr(e,t.mutationKey)));return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;const t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=Zr(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}};!function(e){e.RelatedKeywords="relatedKeywords",e.RelatedKeywordsBatch="relatedKeywordsBatch"}(Vo||(Vo={}));var Bo=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},qo=Hn.useSelect,zo=[],Go=function(t){var n,r=t.taxonomy,a=t.wpService,o=(0,e.useState)(null),i=o[0],s=o[1],l=(0,e.useState)([]),c=l[0],u=l[1],d=(0,Hn.useDispatch)("core/editor").editPost,f=qo((function(e){var t=e("core"),n=t.getEntityRecords,a=t.getTaxonomy,o=t.hasFinishedResolution,i=e("core/editor"),s=i.getEditedPostAttribute,l=i.getCurrentPostId,c=a(r),u=function(){return c?s(c.rest_base):null},d=u();if(!(null==d?void 0:d.length))return{resolvingExistingTerms:null,hasResolvedTerms:!0,taxonomyDetail:c,termIds:zo,postId:l(),getLatestTermIds:u};var f={_fields:"id,name",context:"view",include:d.join(","),per_page:-1};return{resolvingExistingTerms:n("taxonomy",r,f),hasResolvedTerms:o("getEntityRecords",["taxonomy",r,f]),taxonomyDetail:c,termIds:d,postId:l(),getLatestTermIds:u}}),[r]),p=f.taxonomyDetail,h=f.termIds,m=f.hasResolvedTerms,C=f.resolvingExistingTerms,y=f.postId,g=f.getLatestTermIds,v=ba({trackValue:h,revertFn:function(e){var t;(null==p?void 0:p.rest_base)&&d(((t={})[p.rest_base]=e,t))}});(0,e.useEffect)((function(){m&&u(C||[])}),[C,m]);var w=null!==(n=null==p?void 0:p.rest_namespace)&&void 0!==n?n:"wp/v2";return{addTag:function(e){if(!(null==p?void 0:p.rest_base))throw Error("Missing rest_base");s(null),a.findOrCreateTerm({term:e,restBase:p.rest_base,namespace:w}).then((function(e){var t,n,r=g()||[],a=Bo(Bo([],r,!0),[e.id],!1);v.update(a),d(((t={})[p.rest_base]=a,t)),wt.saveEvents({event:"select",field:ar.Tags,content:(n={},n[ar.Tags]=e.term,n),postId:y})})).catch((function(e){var t=!(!e||"object"!=typeof e||!("message"in e)||"string"!=typeof e.message)&&e.message;s(t||"Failed to add tag")}))},removeTag:function(e){var t,n;if(!(null==p?void 0:p.rest_base))throw Error("Missing rest_base");var r=h.indexOf(e);if(!(r<0)){var a=Bo(Bo([],h.slice(0,r),!0),h.slice(r+1),!0);v.update(a),d(((t={})[p.rest_base]=a.length>0?a:[null],t)),wt.saveEvents({event:"revert",field:ar.Tags,content:(n={},n[ar.Tags]=a,n),postId:y})}},existingTerms:c,revert:v.revert,errorWhileAddingTag:i}},Wo=window.wp.apiFetch,Qo=n.n(Wo),Ko=n(573),$o=n.n(Ko),Jo={editMeta:function(e){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,[e],void 0,(function(e){var t,n=e.key,r=e.value,a=e.postId;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(e){switch(e.label){case 0:return[4,Qo()({path:"/wp/v2/posts/".concat(a),method:"POST",data:{meta:(t={},t[n]=r,t)}})];case 1:return e.sent(),[2]}}))}))},findOrCreateTerm:function(e){return function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,[e],void 0,(function(e){var t,n,r,a,o,i=e.term,s=e.restBase,l=e.namespace;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(e){switch(e.label){case 0:return t=$o()(i),[4,Qo()({path:"/".concat(l,"/").concat(s,"?search=").concat(encodeURIComponent(t),"&_fields=id,name")})];case 1:if(n=e.sent(),r=n.find((function(e){return e.name===t})))return[2,{id:r.id,term:r.name}];e.label=2;case 2:return e.trys.push([2,4,,5]),[4,Qo()({path:"/".concat(l,"/").concat(s),method:"POST",data:{name:t}})];case 3:return[2,{id:(a=e.sent()).id,term:a.name}];case 4:if("term_exists"!==(o=e.sent()).code)throw o;return[2,{id:o.data.term_id,term:i}];case 5:return[2]}}))}))}},Yo=Hn.useSelect,Xo=function(e,t){var n=Array.isArray(e)?e:[e];return t.some((function(e){return n.some((function(t){return t===e}))}))};function ei(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,ei),r}function ti(...e){return e.filter(Boolean).join(" ")}var ni,ri=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(ri||{}),ai=((ni=ai||{})[ni.Unmount=0]="Unmount",ni[ni.Hidden=1]="Hidden",ni);function oi({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:a,visible:o=!0,name:i}){let s=si(t,e);if(o)return ii(s,n,r,i);let l=null!=a?a:0;if(2&l){let{static:e=!1,...t}=s;if(e)return ii(t,n,r,i)}if(1&l){let{unmount:e=!0,...t}=s;return ei(e?0:1,{0(){return null},1(){return ii({...t,hidden:!0,style:{display:"none"}},n,r,i)}})}return ii(s,n,r,i)}function ii(e,t={},n,a){let{as:o=n,children:i,refName:s="ref",...l}=ui(e,["unmount","static"]),c=void 0!==e.ref?{[s]:e.ref}:{},u="function"==typeof i?i(t):i;"className"in l&&l.className&&"function"==typeof l.className&&(l.className=l.className(t));let d={};if(t){let e=!1,n=[];for(let[r,a]of Object.entries(t))"boolean"==typeof a&&(e=!0),!0===a&&n.push(r);e&&(d["data-headlessui-state"]=n.join(" "))}if(o===r.Fragment&&Object.keys(ci(l)).length>0){if(!(0,r.isValidElement)(u)||Array.isArray(u)&&u.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${a} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(l).map((e=>`  - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>`  - ${e}`)).join("\n")].join("\n"));let e=u.props,t="function"==typeof(null==e?void 0:e.className)?(...t)=>ti(null==e?void 0:e.className(...t),l.className):ti(null==e?void 0:e.className,l.className),n=t?{className:t}:{};return(0,r.cloneElement)(u,Object.assign({},si(u.props,ci(ui(l,["ref"]))),d,c,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}}(u.ref,c.ref),n))}return(0,r.createElement)(o,Object.assign({},ui(l,["ref"]),o!==r.Fragment&&c,o!==r.Fragment&&d),u)}function si(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map((e=>[e,void 0]))));for(let e in n)Object.assign(t,{[e](t,...r){let a=n[e];for(let e of a){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...r)}}});return t}function li(e){var t;return Object.assign((0,r.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function ci(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function ui(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}var di=Object.defineProperty,fi=(e,t,n)=>(((e,t,n)=>{t in e?di(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);let pi=new class{constructor(){fi(this,"current",this.detect()),fi(this,"handoffState","pending"),fi(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},hi=(e,t)=>{pi.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)};function mi(e){let t=(0,r.useRef)(e);return hi((()=>{t.current=e}),[e]),t}let Ci=function(e){let t=mi(e);return r.useCallback(((...e)=>t.current(...e)),[t])},yi=Symbol();function gi(...e){let t=(0,r.useRef)(e);(0,r.useEffect)((()=>{t.current=e}),[e]);let n=Ci((e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[yi])))?void 0:n}function vi(){let[e,t]=(0,r.useState)(pi.isHandoffComplete);return e&&!1===pi.isHandoffComplete&&t(!1),(0,r.useEffect)((()=>{!0!==e&&t(!0)}),[e]),(0,r.useEffect)((()=>pi.handoff()),[]),e}var wi;let bi=null!=(wi=r.useId)?wi:function(){let e=vi(),[t,n]=r.useState(e?()=>pi.nextId():null);return hi((()=>{null===t&&n(pi.nextId())}),[t]),null!=t?""+t:void 0};var Ei,xi=((Ei=xi||{}).Space=" ",Ei.Enter="Enter",Ei.Escape="Escape",Ei.Backspace="Backspace",Ei.Delete="Delete",Ei.ArrowLeft="ArrowLeft",Ei.ArrowUp="ArrowUp",Ei.ArrowRight="ArrowRight",Ei.ArrowDown="ArrowDown",Ei.Home="Home",Ei.End="End",Ei.PageUp="PageUp",Ei.PageDown="PageDown",Ei.Tab="Tab",Ei);function Mi(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}function Li(e){return pi.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let Si=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var Ai,Oi=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Oi||{}),Ti=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Ti||{}),Pi=((Ai=Pi||{})[Ai.Previous=-1]="Previous",Ai[Ai.Next=1]="Next",Ai);function ki(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(Si)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var Zi=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Zi||{});function Hi(e,t=0){var n;return e!==(null==(n=Li(e))?void 0:n.body)&&ei(t,{0(){return e.matches(Si)},1(){let t=e;for(;null!==t;){if(t.matches(Si))return!0;t=t.parentElement}return!1}})}var Ri=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Ri||{});"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let ji=["textarea","input"].join(",");function Fi(e,t=(e=>e)){return e.slice().sort(((e,n)=>{let r=t(e),a=t(n);if(null===r||null===a)return 0;let o=r.compareDocumentPosition(a);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function Ni(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:a=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,i=Array.isArray(e)?n?Fi(e):e:ki(e);a.length>0&&i.length>1&&(i=i.filter((e=>!a.includes(e)))),r=null!=r?r:o.activeElement;let s,l=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,i.indexOf(r))-1;if(4&t)return Math.max(0,i.indexOf(r))+1;if(8&t)return i.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=32&t?{preventScroll:!0}:{},d=0,f=i.length;do{if(d>=f||d+f<=0)return 0;let e=c+d;if(16&t)e=(e+f)%f;else{if(e<0)return 3;if(e>=f)return 1}s=i[e],null==s||s.focus(u),d+=l}while(s!==o.activeElement);return 6&t&&function(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,ji))&&n}(s)&&s.select(),2}let Ii=(0,r.createContext)(null);Ii.displayName="OpenClosedContext";var _i=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(_i||{});function Di(){return(0,r.useContext)(Ii)}function Vi({value:e,children:t}){return r.createElement(Ii.Provider,{value:e},t)}function Ui(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}function Bi(e,t){let[n,a]=(0,r.useState)((()=>Ui(e)));return hi((()=>{a(Ui(e))}),[e.type,e.as]),hi((()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&a("button")}),[n,t]),n}function qi(e,t,n){let a=mi(t);(0,r.useEffect)((()=>{function t(e){a.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)}),[e,n])}function zi(...e){return(0,r.useMemo)((()=>Li(...e)),[...e])}var Gi=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Gi||{});let Wi=li((function(e,t){let{features:n=1,...r}=e;return oi({ourProps:{ref:t,"aria-hidden":2==(2&n)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...4==(4&n)&&2!=(2&n)&&{display:"none"}}},theirProps:r,slot:{},defaultTag:"div",name:"Hidden"})}));var Qi=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Qi||{});function Ki(){let e=(0,r.useRef)(0);return function(e,t,n){let a=mi(t);(0,r.useEffect)((()=>{function t(e){a.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)}),[e,n])}("keydown",(t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}var $i=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))($i||{}),Ji=(e=>(e[e.TogglePopover=0]="TogglePopover",e[e.ClosePopover=1]="ClosePopover",e[e.SetButton=2]="SetButton",e[e.SetButtonId=3]="SetButtonId",e[e.SetPanel=4]="SetPanel",e[e.SetPanelId=5]="SetPanelId",e))(Ji||{});let Yi={0:e=>({...e,popoverState:ei(e.popoverState,{0:1,1:0})}),1(e){return 1===e.popoverState?e:{...e,popoverState:1}},2(e,t){return e.button===t.button?e:{...e,button:t.button}},3(e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},4(e,t){return e.panel===t.panel?e:{...e,panel:t.panel}},5(e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}},Xi=(0,r.createContext)(null);function es(e){let t=(0,r.useContext)(Xi);if(null===t){let t=new Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,es),t}return t}Xi.displayName="PopoverContext";let ts=(0,r.createContext)(null);function ns(e){let t=(0,r.useContext)(ts);if(null===t){let t=new Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ns),t}return t}ts.displayName="PopoverAPIContext";let rs=(0,r.createContext)(null);function as(){return(0,r.useContext)(rs)}rs.displayName="PopoverGroupContext";let os=(0,r.createContext)(null);function is(e,t){return ei(t.type,Yi,e,t)}os.displayName="PopoverPanelContext";let ss=ri.RenderStrategy|ri.Static,ls=ri.RenderStrategy|ri.Static,cs=li((function(e,t){var n;let a=(0,r.useRef)(null),o=gi(t,function(e,t=!0){return Object.assign(e,{[yi]:t})}((e=>{a.current=e}))),i=(0,r.useRef)([]),s=(0,r.useReducer)(is,{popoverState:1,buttons:i,button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:(0,r.createRef)(),afterPanelSentinel:(0,r.createRef)()}),[{popoverState:l,button:c,buttonId:u,panel:d,panelId:f,beforePanelSentinel:p,afterPanelSentinel:h},m]=s,C=zi(null!=(n=a.current)?n:c),y=(0,r.useMemo)((()=>{if(!c||!d)return!1;for(let e of document.querySelectorAll("body > *"))if(Number(null==e?void 0:e.contains(c))^Number(null==e?void 0:e.contains(d)))return!0;let e=ki(),t=e.indexOf(c),n=(t+e.length-1)%e.length,r=(t+1)%e.length,a=e[n],o=e[r];return!d.contains(a)&&!d.contains(o)}),[c,d]),g=mi(u),v=mi(f),w=(0,r.useMemo)((()=>({buttonId:g,panelId:v,close:()=>m({type:1})})),[g,v,m]),b=as(),E=null==b?void 0:b.registerPopover,x=Ci((()=>{var e;return null!=(e=null==b?void 0:b.isFocusWithinPopoverGroup())?e:(null==C?void 0:C.activeElement)&&((null==c?void 0:c.contains(C.activeElement))||(null==d?void 0:d.contains(C.activeElement)))}));(0,r.useEffect)((()=>null==E?void 0:E(w)),[E,w]),function(e,t,n,a){let o=mi(n);(0,r.useEffect)((()=>{function n(e){o.current(e)}return(e=null!=e?e:window).addEventListener(t,n,a),()=>e.removeEventListener(t,n,a)}),[e,t,a])}(null==C?void 0:C.defaultView,"focus",(e=>{var t,n,r,a;0===l&&(x()||c&&d&&e.target!==window&&(null!=(n=null==(t=p.current)?void 0:t.contains)&&n.call(t,e.target)||null!=(a=null==(r=h.current)?void 0:r.contains)&&a.call(r,e.target)||m({type:1})))}),!0),function(e,t,n=!0){let a=(0,r.useRef)(!1);function o(n,r){if(!a.current||n.defaultPrevented)return;let o=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),i=r(n);if(null!==i&&i.getRootNode().contains(i)){for(let e of o){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(i)||n.composed&&n.composedPath().includes(t))return}return!Hi(i,Zi.Loose)&&-1!==i.tabIndex&&n.preventDefault(),t(n,i)}}(0,r.useEffect)((()=>{requestAnimationFrame((()=>{a.current=n}))}),[n]);let i=(0,r.useRef)(null);qi("mousedown",(e=>{var t,n;a.current&&(i.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),qi("click",(e=>{i.current&&(o(e,(()=>i.current)),i.current=null)}),!0),qi("blur",(e=>o(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}([c,d],((e,t)=>{m({type:1}),Hi(t,Zi.Loose)||(e.preventDefault(),null==c||c.focus())}),0===l);let M=Ci((e=>{m({type:1});let t=e?e instanceof HTMLElement?e:"current"in e&&e.current instanceof HTMLElement?e.current:c:c;null==t||t.focus()})),L=(0,r.useMemo)((()=>({close:M,isPortalled:y})),[M,y]),S=(0,r.useMemo)((()=>({open:0===l,close:M})),[l,M]),A=e,O={ref:o};return r.createElement(os.Provider,{value:null},r.createElement(Xi.Provider,{value:s},r.createElement(ts.Provider,{value:L},r.createElement(Vi,{value:ei(l,{0:_i.Open,1:_i.Closed})},oi({ourProps:O,theirProps:A,slot:S,defaultTag:"div",name:"Popover"})))))})),us=li((function(e,t){let n=bi(),{id:a=`headlessui-popover-button-${n}`,...o}=e,[i,s]=es("Popover.Button"),{isPortalled:l}=ns("Popover.Button"),c=(0,r.useRef)(null),u=`headlessui-focus-sentinel-${bi()}`,d=as(),f=null==d?void 0:d.closeOthers,p=null!==(0,r.useContext)(os);(0,r.useEffect)((()=>{if(!p)return s({type:3,buttonId:a}),()=>{s({type:3,buttonId:null})}}),[p,a,s]);let[h]=(0,r.useState)((()=>Symbol())),m=gi(c,t,p?null:e=>{if(e)i.buttons.current.push(h);else{let e=i.buttons.current.indexOf(h);-1!==e&&i.buttons.current.splice(e,1)}i.buttons.current.length>1&&console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."),e&&s({type:2,button:e})}),C=gi(c,t),y=zi(c),g=Ci((e=>{var t,n,r;if(p){if(1===i.popoverState)return;switch(e.key){case xi.Space:case xi.Enter:e.preventDefault(),null==(n=(t=e.target).click)||n.call(t),s({type:1}),null==(r=i.button)||r.focus()}}else switch(e.key){case xi.Space:case xi.Enter:e.preventDefault(),e.stopPropagation(),1===i.popoverState&&(null==f||f(i.buttonId)),s({type:0});break;case xi.Escape:if(0!==i.popoverState)return null==f?void 0:f(i.buttonId);if(!c.current||null!=y&&y.activeElement&&!c.current.contains(y.activeElement))return;e.preventDefault(),e.stopPropagation(),s({type:1})}})),v=Ci((e=>{p||e.key===xi.Space&&e.preventDefault()})),w=Ci((t=>{var n,r;Mi(t.currentTarget)||e.disabled||(p?(s({type:1}),null==(n=i.button)||n.focus()):(t.preventDefault(),t.stopPropagation(),1===i.popoverState&&(null==f||f(i.buttonId)),s({type:0}),null==(r=i.button)||r.focus()))})),b=Ci((e=>{e.preventDefault(),e.stopPropagation()})),E=0===i.popoverState,x=(0,r.useMemo)((()=>({open:E})),[E]),M=Bi(e,c),L=p?{ref:C,type:M,onKeyDown:g,onClick:w}:{ref:m,id:i.buttonId,type:M,"aria-expanded":e.disabled?void 0:0===i.popoverState,"aria-controls":i.panel?i.panelId:void 0,onKeyDown:g,onKeyUp:v,onClick:w,onMouseDown:b},S=Ki(),A=Ci((()=>{let e=i.panel;e&&ei(S.current,{[Qi.Forwards]:()=>Ni(e,Oi.First),[Qi.Backwards]:()=>Ni(e,Oi.Last)})===Ti.Error&&Ni(ki().filter((e=>"true"!==e.dataset.headlessuiFocusGuard)),ei(S.current,{[Qi.Forwards]:Oi.Next,[Qi.Backwards]:Oi.Previous}),{relativeTo:i.button})}));return r.createElement(r.Fragment,null,oi({ourProps:L,theirProps:o,slot:x,defaultTag:"button",name:"Popover.Button"}),E&&!p&&l&&r.createElement(Wi,{id:u,features:Gi.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:A}))})),ds=li((function(e,t){let n=bi(),{id:a=`headlessui-popover-overlay-${n}`,...o}=e,[{popoverState:i},s]=es("Popover.Overlay"),l=gi(t),c=Di(),u=null!==c?(c&_i.Open)===_i.Open:0===i,d=Ci((e=>{if(Mi(e.currentTarget))return e.preventDefault();s({type:1})}));return oi({ourProps:{ref:l,id:a,"aria-hidden":!0,onClick:d},theirProps:o,slot:(0,r.useMemo)((()=>({open:0===i})),[i]),defaultTag:"div",features:ss,visible:u,name:"Popover.Overlay"})})),fs=li((function(e,t){let n=bi(),{id:a=`headlessui-popover-panel-${n}`,focus:o=!1,...i}=e,[s,l]=es("Popover.Panel"),{close:c,isPortalled:u}=ns("Popover.Panel"),d=`headlessui-focus-sentinel-before-${bi()}`,f=`headlessui-focus-sentinel-after-${bi()}`,p=(0,r.useRef)(null),h=gi(p,t,(e=>{l({type:4,panel:e})})),m=zi(p);hi((()=>(l({type:5,panelId:a}),()=>{l({type:5,panelId:null})})),[a,l]);let C=Di(),y=null!==C?(C&_i.Open)===_i.Open:0===s.popoverState,g=Ci((e=>{var t;if(e.key===xi.Escape){if(0!==s.popoverState||!p.current||null!=m&&m.activeElement&&!p.current.contains(m.activeElement))return;e.preventDefault(),e.stopPropagation(),l({type:1}),null==(t=s.button)||t.focus()}}));(0,r.useEffect)((()=>{var t;e.static||1===s.popoverState&&(null==(t=e.unmount)||t)&&l({type:4,panel:null})}),[s.popoverState,e.unmount,e.static,l]),(0,r.useEffect)((()=>{if(!o||0!==s.popoverState||!p.current)return;let e=null==m?void 0:m.activeElement;p.current.contains(e)||Ni(p.current,Oi.First)}),[o,p,s.popoverState]);let v=(0,r.useMemo)((()=>({open:0===s.popoverState,close:c})),[s,c]),w={ref:h,id:a,onKeyDown:g,onBlur:o&&0===s.popoverState?e=>{var t,n,r,a,o;let i=e.relatedTarget;i&&p.current&&(null!=(t=p.current)&&t.contains(i)||(l({type:1}),(null!=(r=null==(n=s.beforePanelSentinel.current)?void 0:n.contains)&&r.call(n,i)||null!=(o=null==(a=s.afterPanelSentinel.current)?void 0:a.contains)&&o.call(a,i))&&i.focus({preventScroll:!0})))}:void 0,tabIndex:-1},b=Ki(),E=Ci((()=>{let e=p.current;e&&ei(b.current,{[Qi.Forwards]:()=>{var t;Ni(e,Oi.First)===Ti.Error&&(null==(t=s.afterPanelSentinel.current)||t.focus())},[Qi.Backwards]:()=>{var e;null==(e=s.button)||e.focus({preventScroll:!0})}})})),x=Ci((()=>{let e=p.current;e&&ei(b.current,{[Qi.Forwards]:()=>{var e;if(!s.button)return;let t=ki(),n=t.indexOf(s.button),r=t.slice(0,n+1),a=[...t.slice(n+1),...r];for(let t of a.slice())if("true"===t.dataset.headlessuiFocusGuard||null!=(e=s.panel)&&e.contains(t)){let e=a.indexOf(t);-1!==e&&a.splice(e,1)}Ni(a,Oi.First,{sorted:!1})},[Qi.Backwards]:()=>{var t;Ni(e,Oi.Previous)===Ti.Error&&(null==(t=s.button)||t.focus())}})}));return r.createElement(os.Provider,{value:a},y&&u&&r.createElement(Wi,{id:d,ref:s.beforePanelSentinel,features:Gi.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:E}),oi({ourProps:w,theirProps:i,slot:v,defaultTag:"div",features:ls,visible:y,name:"Popover.Panel"}),y&&u&&r.createElement(Wi,{id:f,ref:s.afterPanelSentinel,features:Gi.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:x}))})),ps=li((function(e,t){let n=(0,r.useRef)(null),a=gi(n,t),[o,i]=(0,r.useState)([]),s=Ci((e=>{i((t=>{let n=t.indexOf(e);if(-1!==n){let e=t.slice();return e.splice(n,1),e}return t}))})),l=Ci((e=>(i((t=>[...t,e])),()=>s(e)))),c=Ci((()=>{var e;let t=Li(n);if(!t)return!1;let r=t.activeElement;return!(null==(e=n.current)||!e.contains(r))||o.some((e=>{var n,a;return(null==(n=t.getElementById(e.buttonId.current))?void 0:n.contains(r))||(null==(a=t.getElementById(e.panelId.current))?void 0:a.contains(r))}))})),u=Ci((e=>{for(let t of o)t.buttonId.current!==e&&t.close()})),d=(0,r.useMemo)((()=>({registerPopover:l,unregisterPopover:s,isFocusWithinPopoverGroup:c,closeOthers:u})),[l,s,c,u]),f=(0,r.useMemo)((()=>({})),[]),p=e,h={ref:a};return r.createElement(rs.Provider,{value:d},oi({ourProps:h,theirProps:p,slot:f,defaultTag:"div",name:"Popover.Group"}))})),hs=Object.assign(cs,{Button:us,Overlay:ds,Panel:fs,Group:ps});var ms=Object.defineProperty,Cs=Object.defineProperties,ys=Object.getOwnPropertyDescriptors,gs=Object.getOwnPropertySymbols,vs=Object.prototype.hasOwnProperty,ws=Object.prototype.propertyIsEnumerable,bs=(e,t,n)=>t in e?ms(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Es=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M246.15,133.18,146.83,33.86A19.85,19.85,0,0,0,132.69,28H40A12,12,0,0,0,28,40v92.69a19.85,19.85,0,0,0,5.86,14.14l99.32,99.32a20,20,0,0,0,28.28,0l84.69-84.69A20,20,0,0,0,246.15,133.18Zm-98.83,93.17L52,131V52h79l95.32,95.32ZM100,84A16,16,0,1,1,84,68,16,16,0,0,1,100,84Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M237.66,153,153,237.66a8,8,0,0,1-11.31,0L42.34,138.34A8,8,0,0,1,40,132.69V40h92.69a8,8,0,0,1,5.65,2.34l99.32,99.32A8,8,0,0,1,237.66,153Z",opacity:"0.2"}),a().createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63ZM84,96A12,12,0,1,1,96,84,12,12,0,0,1,84,96Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M241.91,137.42,142.59,38.1a13.94,13.94,0,0,0-9.9-4.1H40a6,6,0,0,0-6,6v92.69a13.94,13.94,0,0,0,4.1,9.9l99.32,99.32a14,14,0,0,0,19.8,0l84.69-84.69A14,14,0,0,0,241.91,137.42Zm-8.49,11.31-84.69,84.69a2,2,0,0,1-2.83,0L46.59,134.1a2,2,0,0,1-.59-1.41V46h86.69a2,2,0,0,1,1.41.59l99.32,99.31A2,2,0,0,1,233.42,148.73ZM94,84A10,10,0,1,1,84,74,10,10,0,0,1,94,84Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M240.49,138.83,141.17,39.51A11.93,11.93,0,0,0,132.69,36H40a4,4,0,0,0-4,4v92.69a11.93,11.93,0,0,0,3.51,8.48l99.32,99.32a12,12,0,0,0,17,0l84.69-84.69a12,12,0,0,0,0-17Zm-5.66,11.31-84.69,84.69a4,4,0,0,1-5.65,0L45.17,135.51A4,4,0,0,1,44,132.69V44h88.69a4,4,0,0,1,2.82,1.17l99.32,99.32A4,4,0,0,1,234.83,150.14ZM92,84a8,8,0,1,1-8-8A8,8,0,0,1,92,84Z"}))]]),xs=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>Cs(e,ys(t)))(((e,t)=>{for(var n in t||(t={}))vs.call(t,n)&&bs(e,n,t[n]);if(gs)for(var n of gs(t))ws.call(t,n)&&bs(e,n,t[n]);return e})({ref:t},e),{weights:Es}))));xs.displayName="Tag";var Ms=Object.defineProperty,Ls=Object.defineProperties,Ss=Object.getOwnPropertyDescriptors,As=Object.getOwnPropertySymbols,Os=Object.prototype.hasOwnProperty,Ts=Object.prototype.propertyIsEnumerable,Ps=(e,t,n)=>t in e?Ms(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const ks=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),a().createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]]),Zs=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>Ls(e,Ss(t)))(((e,t)=>{for(var n in t||(t={}))Os.call(t,n)&&Ps(e,n,t[n]);if(As)for(var n of As(t))Ts.call(t,n)&&Ps(e,n,t[n]);return e})({ref:t},e),{weights:ks}))));function Hs(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");const n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function Rs(e){return Math.min(1,Math.max(0,e))}function js(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Fs(e){return Number(e)<=1?100*Number(e)+"%":e}function Ns(e){return 1===e.length?"0"+e:String(e)}function Is(e,t,n){e=Hs(e,255),t=Hs(t,255),n=Hs(n,255);const r=Math.max(e,t,n),a=Math.min(e,t,n);let o=0,i=0;const s=(r+a)/2;if(r===a)i=0,o=0;else{const l=r-a;switch(i=s>.5?l/(2-r-a):l/(r+a),r){case e:o=(t-n)/l+(t<n?6:0);break;case t:o=(n-e)/l+2;break;case n:o=(e-t)/l+4}o/=6}return{h:o,s:i,l:s}}function _s(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Ds(e,t,n){e=Hs(e,255),t=Hs(t,255),n=Hs(n,255);const r=Math.max(e,t,n),a=Math.min(e,t,n);let o=0;const i=r,s=r-a,l=0===r?0:s/r;if(r===a)o=0;else{switch(r){case e:o=(t-n)/s+(t<n?6:0);break;case t:o=(n-e)/s+2;break;case n:o=(e-t)/s+4}o/=6}return{h:o,s:l,v:i}}function Vs(e,t,n,r){const a=[Ns(Math.round(e).toString(16)),Ns(Math.round(t).toString(16)),Ns(Math.round(n).toString(16))];return r&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function Us(e,t,n){let r=1-e/255,a=1-t/255,o=1-n/255,i=Math.min(r,a,o);return 1===i?(r=0,a=0,o=0):(r=(r-i)/(1-i)*100,a=(a-i)/(1-i)*100,o=(o-i)/(1-i)*100),i*=100,{c:Math.round(r),m:Math.round(a),y:Math.round(o),k:Math.round(i)}}function Bs(e){return Math.round(255*parseFloat(e)).toString(16)}function qs(e){return zs(e)/255}function zs(e){return parseInt(e,16)}Zs.displayName="CaretDown";const Gs={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};const Ws="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",Qs="[\\s|\\(]+("+Ws+")[,|\\s]+("+Ws+")[,|\\s]+("+Ws+")\\s*\\)?",Ks="[\\s|\\(]+("+Ws+")[,|\\s]+("+Ws+")[,|\\s]+("+Ws+")[,|\\s]+("+Ws+")\\s*\\)?",$s={CSS_UNIT:new RegExp(Ws),rgb:new RegExp("rgb"+Qs),rgba:new RegExp("rgba"+Ks),hsl:new RegExp("hsl"+Qs),hsla:new RegExp("hsla"+Ks),hsv:new RegExp("hsv"+Qs),hsva:new RegExp("hsva"+Ks),cmyk:new RegExp("cmyk"+Ks),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Js(e){return"number"==typeof e?!Number.isNaN(e):$s.CSS_UNIT.test(e)}class Ys{constructor(e="",t={}){if(e instanceof Ys)return e;"number"==typeof e&&(e=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(e)),this.originalInput=e;const n=function(e){let t={r:0,g:0,b:0},n=1,r=null,a=null,o=null,i=!1,s=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;let t=!1;if(Gs[e])e=Gs[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};let n=$s.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=$s.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=$s.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=$s.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=$s.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=$s.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=$s.cmyk.exec(e),n?{c:n[1],m:n[2],y:n[3],k:n[4]}:(n=$s.hex8.exec(e),n?{r:zs(n[1]),g:zs(n[2]),b:zs(n[3]),a:qs(n[4]),format:t?"name":"hex8"}:(n=$s.hex6.exec(e),n?{r:zs(n[1]),g:zs(n[2]),b:zs(n[3]),format:t?"name":"hex"}:(n=$s.hex4.exec(e),n?{r:zs(n[1]+n[1]),g:zs(n[2]+n[2]),b:zs(n[3]+n[3]),a:qs(n[4]+n[4]),format:t?"name":"hex8"}:(n=$s.hex3.exec(e),!!n&&{r:zs(n[1]+n[1]),g:zs(n[2]+n[2]),b:zs(n[3]+n[3]),format:t?"name":"hex"}))))))))))}(e)),"object"==typeof e&&(Js(e.r)&&Js(e.g)&&Js(e.b)?(t=function(e,t,n){return{r:255*Hs(e,255),g:255*Hs(t,255),b:255*Hs(n,255)}}(e.r,e.g,e.b),i=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):Js(e.h)&&Js(e.s)&&Js(e.v)?(r=Fs(e.s),a=Fs(e.v),t=function(e,t,n){e=6*Hs(e,360),t=Hs(t,100),n=Hs(n,100);const r=Math.floor(e),a=e-r,o=n*(1-t),i=n*(1-a*t),s=n*(1-(1-a)*t),l=r%6;return{r:255*[n,i,o,o,s,n][l],g:255*[s,n,n,i,o,o][l],b:255*[o,o,s,n,n,i][l]}}(e.h,r,a),i=!0,s="hsv"):Js(e.h)&&Js(e.s)&&Js(e.l)?(r=Fs(e.s),o=Fs(e.l),t=function(e,t,n){let r,a,o;if(e=Hs(e,360),t=Hs(t,100),n=Hs(n,100),0===t)a=n,o=n,r=n;else{const i=n<.5?n*(1+t):n+t-n*t,s=2*n-i;r=_s(s,i,e+1/3),a=_s(s,i,e),o=_s(s,i,e-1/3)}return{r:255*r,g:255*a,b:255*o}}(e.h,r,o),i=!0,s="hsl"):Js(e.c)&&Js(e.m)&&Js(e.y)&&Js(e.k)&&(t=function(e,t,n,r){const a=r/100;return{r:255*(1-e/100)*(1-a),g:255*(1-t/100)*(1-a),b:255*(1-n/100)*(1-a)}}(e.c,e.m,e.y,e.k),i=!0,s="cmyk"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=js(n),{ok:i,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}(e);this.originalInput=e,this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a,this.roundA=Math.round(100*this.a)/100,this.format=t.format??n.format,this.gradientType=t.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=n.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){const e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3}getLuminance(){const e=this.toRgb();let t,n,r;const a=e.r/255,o=e.g/255,i=e.b/255;return t=a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4),n=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4),r=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4),.2126*t+.7152*n+.0722*r}getAlpha(){return this.a}setAlpha(e){return this.a=js(e),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){const{s:e}=this.toHsl();return 0===e}toHsv(){const e=Ds(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}}toHsvString(){const e=Ds(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?`hsv(${t}, ${n}%, ${r}%)`:`hsva(${t}, ${n}%, ${r}%, ${this.roundA})`}toHsl(){const e=Is(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}}toHslString(){const e=Is(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?`hsl(${t}, ${n}%, ${r}%)`:`hsla(${t}, ${n}%, ${r}%, ${this.roundA})`}toHex(e=!1){return Vs(this.r,this.g,this.b,e)}toHexString(e=!1){return"#"+this.toHex(e)}toHex8(e=!1){return function(e,t,n,r,a){const o=[Ns(Math.round(e).toString(16)),Ns(Math.round(t).toString(16)),Ns(Math.round(n).toString(16)),Ns(Bs(r))];return a&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this.r,this.g,this.b,this.a,e)}toHex8String(e=!1){return"#"+this.toHex8(e)}toHexShortString(e=!1){return 1===this.a?this.toHexString(e):this.toHex8String(e)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){const e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?`rgb(${e}, ${t}, ${n})`:`rgba(${e}, ${t}, ${n}, ${this.roundA})`}toPercentageRgb(){const e=e=>`${Math.round(100*Hs(e,255))}%`;return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}}toPercentageRgbString(){const e=e=>Math.round(100*Hs(e,255));return 1===this.a?`rgb(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%)`:`rgba(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%, ${this.roundA})`}toCmyk(){return{...Us(this.r,this.g,this.b)}}toCmykString(){const{c:e,m:t,y:n,k:r}=Us(this.r,this.g,this.b);return`cmyk(${e}, ${t}, ${n}, ${r})`}toName(){if(0===this.a)return"transparent";if(this.a<1)return!1;const e="#"+Vs(this.r,this.g,this.b,!1);for(const[t,n]of Object.entries(Gs))if(e===n)return t;return!1}toString(e){const t=Boolean(e);e=e??this.format;let n=!1;const r=this.a<1&&this.a>=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),"cmyk"===e&&(n=this.toCmykString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new Ys(this.toString())}lighten(e=10){const t=this.toHsl();return t.l+=e/100,t.l=Rs(t.l),new Ys(t)}brighten(e=10){const t=this.toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(-e/100*255))),t.g=Math.max(0,Math.min(255,t.g-Math.round(-e/100*255))),t.b=Math.max(0,Math.min(255,t.b-Math.round(-e/100*255))),new Ys(t)}darken(e=10){const t=this.toHsl();return t.l-=e/100,t.l=Rs(t.l),new Ys(t)}tint(e=10){return this.mix("white",e)}shade(e=10){return this.mix("black",e)}desaturate(e=10){const t=this.toHsl();return t.s-=e/100,t.s=Rs(t.s),new Ys(t)}saturate(e=10){const t=this.toHsl();return t.s+=e/100,t.s=Rs(t.s),new Ys(t)}greyscale(){return this.desaturate(100)}spin(e){const t=this.toHsl(),n=(t.h+e)%360;return t.h=n<0?360+n:n,new Ys(t)}mix(e,t=50){const n=this.toRgb(),r=new Ys(e).toRgb(),a=t/100,o={r:(r.r-n.r)*a+n.r,g:(r.g-n.g)*a+n.g,b:(r.b-n.b)*a+n.b,a:(r.a-n.a)*a+n.a};return new Ys(o)}analogous(e=6,t=30){const n=this.toHsl(),r=360/t,a=[this];for(n.h=(n.h-(r*e>>1)+720)%360;--e;)n.h=(n.h+r)%360,a.push(new Ys(n));return a}complement(){const e=this.toHsl();return e.h=(e.h+180)%360,new Ys(e)}monochromatic(e=6){const t=this.toHsv(),{h:n}=t,{s:r}=t;let{v:a}=t;const o=[],i=1/e;for(;e--;)o.push(new Ys({h:n,s:r,v:a})),a=(a+i)%1;return o}splitcomplement(){const e=this.toHsl(),{h:t}=e;return[this,new Ys({h:(t+72)%360,s:e.s,l:e.l}),new Ys({h:(t+216)%360,s:e.s,l:e.l})]}onBackground(e){const t=this.toRgb(),n=new Ys(e).toRgb(),r=t.a+n.a*(1-t.a);return new Ys({r:(t.r*t.a+n.r*n.a*(1-t.a))/r,g:(t.g*t.a+n.g*n.a*(1-t.a))/r,b:(t.b*t.a+n.b*n.a*(1-t.a))/r,a:r})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(e){const t=this.toHsl(),{h:n}=t,r=[this],a=360/e;for(let o=1;o<e;o++)r.push(new Ys({h:(n+o*a)%360,s:t.s,l:t.l}));return r}equals(e){const t=new Ys(e);return"cmyk"===this.format||"cmyk"===t.format?this.toCmykString()===t.toCmykString():this.toRgbString()===t.toRgbString()}}function Xs(t){var n,r,a,o,i=t.brand,s=t.className,l=t.collapsed,c=null===(r=null===(n=i.logos)||void 0===n?void 0:n[0])||void 0===r?void 0:r.url,u=l||c,d=(null===(o=null===(a=i.colors)||void 0===a?void 0:a[0])||void 0===o?void 0:o.hex)||"f8f2f8",f=(0,e.useMemo)((function(){return new Ys(d)}),[d]),p=f.isDark()?"ntw-text-typography-light":"ntw-text-typography-dark",h=f.toHexString();return(0,e.createElement)("span",{className:Cn("ntw-flex ntw-items-center ntw-gap-8px ntw-text-left",s)},(0,e.createElement)("span",{className:Cn("ntw-block ntw-h-24px ntw-w-24px ntw-shrink-0 ntw-overflow-hidden ntw-rounded ntw-border ntw-border-ui-default",{hidden:!u})},c?(0,e.createElement)("img",{src:c,alt:"Brand logo",className:"ntw-h-full ntw-w-full ntw-object-contain"}):(0,e.createElement)("span",{className:Cn("ntw-text-paragraph-base-bold ntw-flex ntw-h-full ntw-w-full ntw-items-center ntw-justify-center",p),style:{backgroundColor:h}},i.name[0])),(0,e.createElement)("span",{className:Cn("ntw-grow ntw-truncate",{hidden:l})},i.name))}function el(){let e=(0,r.useRef)(!1);return hi((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function tl(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function nl(){let e=[],t={addEventListener(e,n,r,a){return e.addEventListener(n,r,a),t.add((()=>e.removeEventListener(n,r,a)))},requestAnimationFrame(...e){let n=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(n)))},nextFrame(...e){return t.requestAnimationFrame((()=>t.requestAnimationFrame(...e)))},setTimeout(...e){let n=setTimeout(...e);return t.add((()=>clearTimeout(n)))},microTask(...e){let n={current:!0};return tl((()=>{n.current&&e[0]()})),t.add((()=>{n.current=!1}))},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add((()=>{Object.assign(e.style,{[t]:r})}))},group(e){let t=nl();return e(t),this.add((()=>t.dispose()))},add(t){return e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}},dispose(){for(let t of e.splice(0))t()}};return t}function rl(e,...t){e&&t.length>0&&e.classList.add(...t)}function al(e,...t){e&&t.length>0&&e.classList.remove(...t)}function ol(){let[e]=(0,r.useState)(nl);return(0,r.useEffect)((()=>()=>e.dispose()),[e]),e}function il(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let sl=(0,r.createContext)(null);sl.displayName="TransitionContext";var ll=(e=>(e.Visible="visible",e.Hidden="hidden",e))(ll||{});let cl=(0,r.createContext)(null);function ul(e){return"children"in e?ul(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function dl(e,t){let n=mi(e),a=(0,r.useRef)([]),o=el(),i=ol(),s=Ci(((e,t=ai.Hidden)=>{let r=a.current.findIndex((({el:t})=>t===e));-1!==r&&(ei(t,{[ai.Unmount](){a.current.splice(r,1)},[ai.Hidden](){a.current[r].state="hidden"}}),i.microTask((()=>{var e;!ul(a)&&o.current&&(null==(e=n.current)||e.call(n))})))})),l=Ci((e=>{let t=a.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):a.current.push({el:e,state:"visible"}),()=>s(e,ai.Unmount)})),c=(0,r.useRef)([]),u=(0,r.useRef)(Promise.resolve()),d=(0,r.useRef)({enter:[],leave:[],idle:[]}),f=Ci(((e,n,r)=>{c.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter((([t])=>t!==e))),null==t||t.chains.current[n].push([e,new Promise((e=>{c.current.push(e)}))]),null==t||t.chains.current[n].push([e,new Promise((e=>{Promise.all(d.current[n].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===n?u.current=u.current.then((()=>null==t?void 0:t.wait.current)).then((()=>r(n))):r(n)})),p=Ci(((e,t,n)=>{Promise.all(d.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=c.current.shift())||e()})).then((()=>n(t)))}));return(0,r.useMemo)((()=>({children:a,register:l,unregister:s,onStart:f,onStop:p,wait:u,chains:d})),[l,s,a,f,p,d,u])}function fl(){}cl.displayName="NestingContext";let pl=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function hl(e){var t;let n={};for(let r of pl)n[r]=null!=(t=e[r])?t:fl;return n}let ml=ri.RenderStrategy,Cl=li((function(e,t){let{show:n,appear:a=!1,unmount:o,...i}=e,s=(0,r.useRef)(null),l=gi(s,t);vi();let c=Di();if(void 0===n&&null!==c&&(n=(c&_i.Open)===_i.Open),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[u,d]=(0,r.useState)(n?"visible":"hidden"),f=dl((()=>{d("hidden")})),[p,h]=(0,r.useState)(!0),m=(0,r.useRef)([n]);hi((()=>{!1!==p&&m.current[m.current.length-1]!==n&&(m.current.push(n),h(!1))}),[m,n]);let C=(0,r.useMemo)((()=>({show:n,appear:a,initial:p})),[n,a,p]);(0,r.useEffect)((()=>{if(n)d("visible");else if(ul(f)){let e=s.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&d("hidden")}else d("hidden")}),[n,f]);let y={unmount:o};return r.createElement(cl.Provider,{value:f},r.createElement(sl.Provider,{value:C},oi({ourProps:{...y,as:r.Fragment,children:r.createElement(yl,{ref:l,...y,...i})},theirProps:{},defaultTag:r.Fragment,features:ml,visible:"visible"===u,name:"Transition"})))})),yl=li((function(e,t){let{beforeEnter:n,afterEnter:a,beforeLeave:o,afterLeave:i,enter:s,enterFrom:l,enterTo:c,entered:u,leave:d,leaveFrom:f,leaveTo:p,...h}=e,m=(0,r.useRef)(null),C=gi(m,t),y=h.unmount?ai.Unmount:ai.Hidden,{show:g,appear:v,initial:w}=function(){let e=(0,r.useContext)(sl);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[b,E]=(0,r.useState)(g?"visible":"hidden"),x=function(){let e=(0,r.useContext)(cl);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:M,unregister:L}=x,S=(0,r.useRef)(null);(0,r.useEffect)((()=>M(m)),[M,m]),(0,r.useEffect)((()=>{if(y===ai.Hidden&&m.current)return g&&"visible"!==b?void E("visible"):ei(b,{hidden:()=>L(m),visible:()=>M(m)})}),[b,m,M,L,g,y]);let A=mi({enter:il(s),enterFrom:il(l),enterTo:il(c),entered:il(u),leave:il(d),leaveFrom:il(f),leaveTo:il(p)}),O=function(e){let t=(0,r.useRef)(hl(e));return(0,r.useEffect)((()=>{t.current=hl(e)}),[e]),t}({beforeEnter:n,afterEnter:a,beforeLeave:o,afterLeave:i}),T=vi();(0,r.useEffect)((()=>{if(T&&"visible"===b&&null===m.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[m,b,T]);let P=w&&!v,k=!T||P||S.current===g?"idle":g?"enter":"leave",Z=function(e=0){let[t,n]=(0,r.useState)(e),a=el(),o=(0,r.useCallback)((e=>{a.current&&n((t=>t|e))}),[t,a]),i=(0,r.useCallback)((e=>Boolean(t&e)),[t]),s=(0,r.useCallback)((e=>{a.current&&n((t=>t&~e))}),[n,a]),l=(0,r.useCallback)((e=>{a.current&&n((t=>t^e))}),[n]);return{flags:t,addFlag:o,hasFlag:i,removeFlag:s,toggleFlag:l}}(0),H=Ci((e=>ei(e,{enter:()=>{Z.addFlag(_i.Opening),O.current.beforeEnter()},leave:()=>{Z.addFlag(_i.Closing),O.current.beforeLeave()},idle:()=>{}}))),R=Ci((e=>ei(e,{enter:()=>{Z.removeFlag(_i.Opening),O.current.afterEnter()},leave:()=>{Z.removeFlag(_i.Closing),O.current.afterLeave()},idle:()=>{}}))),j=dl((()=>{E("hidden"),L(m)}),x);(function({container:e,direction:t,classes:n,onStart:r,onStop:a}){let o=el(),i=ol(),s=mi(t);hi((()=>{let t=nl();i.add(t.dispose);let l=e.current;if(l&&"idle"!==s.current&&o.current)return t.dispose(),r.current(s.current),t.add(function(e,t,n,r){let a=n?"enter":"leave",o=nl(),i=void 0!==r?function(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}(r):()=>{};"enter"===a&&(e.removeAttribute("hidden"),e.style.display="");let s=ei(a,{enter:()=>t.enter,leave:()=>t.leave}),l=ei(a,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=ei(a,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return al(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),rl(e,...s,...c),o.nextFrame((()=>{al(e,...c),rl(e,...l),function(e,t){let n=nl();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:a}=getComputedStyle(e),[o,i]=[r,a].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t})),s=o+i;if(0!==s){n.group((n=>{n.setTimeout((()=>{t(),n.dispose()}),s),n.addEventListener(e,"transitionrun",(e=>{e.target===e.currentTarget&&n.dispose()}))}));let r=n.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),r())}))}else t();n.add((()=>t())),n.dispose}(e,(()=>(al(e,...s),rl(e,...t.entered),i())))})),o.dispose}(l,n.current,"enter"===s.current,(()=>{t.dispose(),a.current(s.current)}))),t.dispose}),[t])})({container:m,classes:A,direction:k,onStart:mi((e=>{j.onStart(m,e,H)})),onStop:mi((e=>{j.onStop(m,e,R),"leave"===e&&!ul(j)&&(E("hidden"),L(m))}))}),(0,r.useEffect)((()=>{P&&(y===ai.Hidden?S.current=null:S.current=g)}),[g,P,b]);let F=h,N={ref:C};return v&&g&&(F={...F,className:ti(h.className,...A.current.enter,...A.current.enterFrom)}),r.createElement(cl.Provider,{value:j},r.createElement(Vi,{value:ei(b,{visible:_i.Open,hidden:_i.Closed})|Z.flags},oi({ourProps:N,theirProps:F,defaultTag:"div",features:ml,visible:"visible"===b,name:"Transition.Child"})))})),gl=li((function(e,t){let n=null!==(0,r.useContext)(sl),a=null!==Di();return r.createElement(r.Fragment,null,!n&&a?r.createElement(Cl,{ref:t,...e}):r.createElement(yl,{ref:t,...e}))})),vl=Object.assign(Cl,{Child:gl,Root:Cl});var wl=window.ReactDOM;function bl(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function El(e){return e instanceof bl(e).Element||e instanceof Element}function xl(e){return e instanceof bl(e).HTMLElement||e instanceof HTMLElement}function Ml(e){return"undefined"!=typeof ShadowRoot&&(e instanceof bl(e).ShadowRoot||e instanceof ShadowRoot)}var Ll=Math.max,Sl=Math.min,Al=Math.round;function Ol(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Tl(){return!/^((?!chrome|android).)*safari/i.test(Ol())}function Pl(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),a=1,o=1;t&&xl(e)&&(a=e.offsetWidth>0&&Al(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Al(r.height)/e.offsetHeight||1);var i=(El(e)?bl(e):window).visualViewport,s=!Tl()&&n,l=(r.left+(s&&i?i.offsetLeft:0))/a,c=(r.top+(s&&i?i.offsetTop:0))/o,u=r.width/a,d=r.height/o;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function kl(e){var t=bl(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Zl(e){return e?(e.nodeName||"").toLowerCase():null}function Hl(e){return((El(e)?e.ownerDocument:e.document)||window.document).documentElement}function Rl(e){return Pl(Hl(e)).left+kl(e).scrollLeft}function jl(e){return bl(e).getComputedStyle(e)}function Fl(e){var t=jl(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function Nl(e,t,n){void 0===n&&(n=!1);var r,a,o=xl(t),i=xl(t)&&function(e){var t=e.getBoundingClientRect(),n=Al(t.width)/e.offsetWidth||1,r=Al(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=Hl(t),l=Pl(e,i,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==Zl(t)||Fl(s))&&(c=(r=t)!==bl(r)&&xl(r)?{scrollLeft:(a=r).scrollLeft,scrollTop:a.scrollTop}:kl(r)),xl(t)?((u=Pl(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=Rl(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Il(e){var t=Pl(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function _l(e){return"html"===Zl(e)?e:e.assignedSlot||e.parentNode||(Ml(e)?e.host:null)||Hl(e)}function Dl(e){return["html","body","#document"].indexOf(Zl(e))>=0?e.ownerDocument.body:xl(e)&&Fl(e)?e:Dl(_l(e))}function Vl(e,t){var n;void 0===t&&(t=[]);var r=Dl(e),a=r===(null==(n=e.ownerDocument)?void 0:n.body),o=bl(r),i=a?[o].concat(o.visualViewport||[],Fl(r)?r:[]):r,s=t.concat(i);return a?s:s.concat(Vl(_l(i)))}function Ul(e){return["table","td","th"].indexOf(Zl(e))>=0}function Bl(e){return xl(e)&&"fixed"!==jl(e).position?e.offsetParent:null}function ql(e){for(var t=bl(e),n=Bl(e);n&&Ul(n)&&"static"===jl(n).position;)n=Bl(n);return n&&("html"===Zl(n)||"body"===Zl(n)&&"static"===jl(n).position)?t:n||function(e){var t=/firefox/i.test(Ol());if(/Trident/i.test(Ol())&&xl(e)&&"fixed"===jl(e).position)return null;var n=_l(e);for(Ml(n)&&(n=n.host);xl(n)&&["html","body"].indexOf(Zl(n))<0;){var r=jl(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var zl="top",Gl="bottom",Wl="right",Ql="left",Kl="auto",$l=[zl,Gl,Wl,Ql],Jl="start",Yl="end",Xl="viewport",ec="popper",tc=$l.reduce((function(e,t){return e.concat([t+"-"+Jl,t+"-"+Yl])}),[]),nc=[].concat($l,[Kl]).reduce((function(e,t){return e.concat([t,t+"-"+Jl,t+"-"+Yl])}),[]),rc=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ac(e){var t=new Map,n=new Set,r=[];function a(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&a(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||a(e)})),r}var oc={placement:"bottom",modifiers:[],strategy:"absolute"};function ic(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function sc(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,a=t.defaultOptions,o=void 0===a?oc:a;return function(e,t,n){void 0===n&&(n=o);var a,i,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},oc,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(n){var a="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},o,s.options,a),s.scrollParents={reference:El(e)?Vl(e):e.contextElement?Vl(e.contextElement):[],popper:Vl(t)};var i,c,f=function(e){var t=ac(e);return rc.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,s.options.modifiers),c=i.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return s.orderedModifiers=f.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,a=e.effect;if("function"==typeof a){var o=a({state:s,name:t,instance:u,options:r});l.push(o||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(ic(t,n)){s.rects={reference:Nl(t,ql(n),"fixed"===s.options.strategy),popper:Il(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var a=s.orderedModifiers[r],o=a.fn,i=a.options,l=void 0===i?{}:i,d=a.name;"function"==typeof o&&(s=o({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,r=-1}}},update:(a=function(){return new Promise((function(e){u.forceUpdate(),e(s)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(a())}))}))),i}),destroy:function(){d(),c=!0}};if(!ic(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var lc={passive:!0},cc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,a=r.scroll,o=void 0===a||a,i=r.resize,s=void 0===i||i,l=bl(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,lc)})),s&&l.addEventListener("resize",n.update,lc),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,lc)})),s&&l.removeEventListener("resize",n.update,lc)}},data:{}};function uc(e){return e.split("-")[0]}function dc(e){return e.split("-")[1]}function fc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function pc(e){var t,n=e.reference,r=e.element,a=e.placement,o=a?uc(a):null,i=a?dc(a):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case zl:t={x:s,y:n.y-r.height};break;case Gl:t={x:s,y:n.y+n.height};break;case Wl:t={x:n.x+n.width,y:l};break;case Ql:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?fc(o):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Jl:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Yl:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var hc={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mc(e){var t,n=e.popper,r=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=i.x,p=void 0===f?0:f,h=i.y,m=void 0===h?0:h,C="function"==typeof u?u({x:p,y:m}):{x:p,y:m};p=C.x,m=C.y;var y=i.hasOwnProperty("x"),g=i.hasOwnProperty("y"),v=Ql,w=zl,b=window;if(c){var E=ql(n),x="clientHeight",M="clientWidth";E===bl(n)&&"static"!==jl(E=Hl(n)).position&&"absolute"===s&&(x="scrollHeight",M="scrollWidth"),(a===zl||(a===Ql||a===Wl)&&o===Yl)&&(w=Gl,m-=(d&&E===b&&b.visualViewport?b.visualViewport.height:E[x])-r.height,m*=l?1:-1),a!==Ql&&(a!==zl&&a!==Gl||o!==Yl)||(v=Wl,p-=(d&&E===b&&b.visualViewport?b.visualViewport.width:E[M])-r.width,p*=l?1:-1)}var L,S=Object.assign({position:s},c&&hc),A=!0===u?function(e,t){var n=e.x,r=e.y,a=t.devicePixelRatio||1;return{x:Al(n*a)/a||0,y:Al(r*a)/a||0}}({x:p,y:m},bl(n)):{x:p,y:m};return p=A.x,m=A.y,l?Object.assign({},S,((L={})[w]=g?"0":"",L[v]=y?"0":"",L.transform=(b.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",L)):Object.assign({},S,((t={})[w]=g?m+"px":"",t[v]=y?p+"px":"",t.transform="",t))}var Cc={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,a=void 0===r||r,o=n.adaptive,i=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,c={placement:uc(t.placement),variation:dc(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,mc(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,mc(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},yc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.offset,o=void 0===a?[0,0]:a,i=nc.reduce((function(e,n){return e[n]=function(e,t,n){var r=uc(e),a=[Ql,zl].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[Ql,Wl].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}(n,t.rects,o),e}),{}),s=i[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}},gc={left:"right",right:"left",bottom:"top",top:"bottom"};function vc(e){return e.replace(/left|right|bottom|top/g,(function(e){return gc[e]}))}var wc={start:"end",end:"start"};function bc(e){return e.replace(/start|end/g,(function(e){return wc[e]}))}function Ec(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Ml(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function xc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Mc(e,t,n){return t===Xl?xc(function(e,t){var n=bl(e),r=Hl(e),a=n.visualViewport,o=r.clientWidth,i=r.clientHeight,s=0,l=0;if(a){o=a.width,i=a.height;var c=Tl();(c||!c&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}return{width:o,height:i,x:s+Rl(e),y:l}}(e,n)):El(t)?function(e,t){var n=Pl(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):xc(function(e){var t,n=Hl(e),r=kl(e),a=null==(t=e.ownerDocument)?void 0:t.body,o=Ll(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Ll(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-r.scrollLeft+Rl(e),l=-r.scrollTop;return"rtl"===jl(a||n).direction&&(s+=Ll(n.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:l}}(Hl(e)))}function Lc(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Sc(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Ac(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=void 0===r?e.placement:r,o=n.strategy,i=void 0===o?e.strategy:o,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,u=void 0===c?Xl:c,d=n.elementContext,f=void 0===d?ec:d,p=n.altBoundary,h=void 0!==p&&p,m=n.padding,C=void 0===m?0:m,y=Lc("number"!=typeof C?C:Sc(C,$l)),g=f===ec?"reference":ec,v=e.rects.popper,w=e.elements[h?g:f],b=function(e,t,n,r){var a="clippingParents"===t?function(e){var t=Vl(_l(e)),n=["absolute","fixed"].indexOf(jl(e).position)>=0&&xl(e)?ql(e):e;return El(n)?t.filter((function(e){return El(e)&&Ec(e,n)&&"body"!==Zl(e)})):[]}(e):[].concat(t),o=[].concat(a,[n]),i=o[0],s=o.reduce((function(t,n){var a=Mc(e,n,r);return t.top=Ll(a.top,t.top),t.right=Sl(a.right,t.right),t.bottom=Sl(a.bottom,t.bottom),t.left=Ll(a.left,t.left),t}),Mc(e,i,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(El(w)?w:w.contextElement||Hl(e.elements.popper),l,u,i),E=Pl(e.elements.reference),x=pc({reference:E,element:v,strategy:"absolute",placement:a}),M=xc(Object.assign({},v,x)),L=f===ec?M:E,S={top:b.top-L.top+y.top,bottom:L.bottom-b.bottom+y.bottom,left:b.left-L.left+y.left,right:L.right-b.right+y.right},A=e.modifiersData.offset;if(f===ec&&A){var O=A[a];Object.keys(S).forEach((function(e){var t=[Wl,Gl].indexOf(e)>=0?1:-1,n=[zl,Gl].indexOf(e)>=0?"y":"x";S[e]+=O[n]*t}))}return S}var Oc={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var a=n.mainAxis,o=void 0===a||a,i=n.altAxis,s=void 0===i||i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,C=t.options.placement,y=uc(C),g=l||(y!==C&&h?function(e){if(uc(e)===Kl)return[];var t=vc(e);return[bc(e),t,bc(t)]}(C):[vc(C)]),v=[C].concat(g).reduce((function(e,n){return e.concat(uc(n)===Kl?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=n.boundary,o=n.rootBoundary,i=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?nc:l,u=dc(r),d=u?s?tc:tc.filter((function(e){return dc(e)===u})):$l,f=d.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=Ac(e,{placement:n,boundary:a,rootBoundary:o,padding:i})[uc(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,b=t.rects.popper,E=new Map,x=!0,M=v[0],L=0;L<v.length;L++){var S=v[L],A=uc(S),O=dc(S)===Jl,T=[zl,Gl].indexOf(A)>=0,P=T?"width":"height",k=Ac(t,{placement:S,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),Z=T?O?Wl:Ql:O?Gl:zl;w[P]>b[P]&&(Z=vc(Z));var H=vc(Z),R=[];if(o&&R.push(k[A]<=0),s&&R.push(k[Z]<=0,k[H]<=0),R.every((function(e){return e}))){M=S,x=!1;break}E.set(S,R)}if(x)for(var j=function(e){var t=v.find((function(t){var n=E.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return M=t,"break"},F=h?3:1;F>0&&"break"!==j(F);F--);t.placement!==M&&(t.modifiersData[r]._skip=!0,t.placement=M,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Tc(e,t,n){return Ll(e,Sl(t,n))}var Pc={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.mainAxis,o=void 0===a||a,i=n.altAxis,s=void 0!==i&&i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,h=n.tetherOffset,m=void 0===h?0:h,C=Ac(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),y=uc(t.placement),g=dc(t.placement),v=!g,w=fc(y),b="x"===w?"y":"x",E=t.modifiersData.popperOffsets,x=t.rects.reference,M=t.rects.popper,L="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,S="number"==typeof L?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(E){if(o){var T,P="y"===w?zl:Ql,k="y"===w?Gl:Wl,Z="y"===w?"height":"width",H=E[w],R=H+C[P],j=H-C[k],F=p?-M[Z]/2:0,N=g===Jl?x[Z]:M[Z],I=g===Jl?-M[Z]:-x[Z],_=t.elements.arrow,D=p&&_?Il(_):{width:0,height:0},V=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=V[P],B=V[k],q=Tc(0,x[Z],D[Z]),z=v?x[Z]/2-F-q-U-S.mainAxis:N-q-U-S.mainAxis,G=v?-x[Z]/2+F+q+B+S.mainAxis:I+q+B+S.mainAxis,W=t.elements.arrow&&ql(t.elements.arrow),Q=W?"y"===w?W.clientTop||0:W.clientLeft||0:0,K=null!=(T=null==A?void 0:A[w])?T:0,$=H+G-K,J=Tc(p?Sl(R,H+z-K-Q):R,H,p?Ll(j,$):j);E[w]=J,O[w]=J-H}if(s){var Y,X="x"===w?zl:Ql,ee="x"===w?Gl:Wl,te=E[b],ne="y"===b?"height":"width",re=te+C[X],ae=te-C[ee],oe=-1!==[zl,Ql].indexOf(y),ie=null!=(Y=null==A?void 0:A[b])?Y:0,se=oe?re:te-x[ne]-M[ne]-ie+S.altAxis,le=oe?te+x[ne]+M[ne]-ie-S.altAxis:ae,ce=p&&oe?function(e,t,n){var r=Tc(e,t,n);return r>n?n:r}(se,te,le):Tc(p?se:re,te,p?le:ae);E[b]=ce,O[b]=ce-te}t.modifiersData[r]=O}},requiresIfExists:["offset"]},kc={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,a=e.options,o=n.elements.arrow,i=n.modifiersData.popperOffsets,s=uc(n.placement),l=fc(s),c=[Ql,Wl].indexOf(s)>=0?"height":"width";if(o&&i){var u=function(e,t){return Lc("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Sc(e,$l))}(a.padding,n),d=Il(o),f="y"===l?zl:Ql,p="y"===l?Gl:Wl,h=n.rects.reference[c]+n.rects.reference[l]-i[l]-n.rects.popper[c],m=i[l]-n.rects.reference[l],C=ql(o),y=C?"y"===l?C.clientHeight||0:C.clientWidth||0:0,g=h/2-m/2,v=u[f],w=y-d[c]-u[p],b=y/2-d[c]/2+g,E=Tc(v,b,w),x=l;n.modifiersData[r]=((t={})[x]=E,t.centerOffset=E-b,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Ec(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Zc(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Hc(e){return[zl,Wl,Gl,Ql].some((function(t){return e[t]>=0}))}var Rc=sc({defaultModifiers:[cc,{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=pc({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Cc,{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},a=t.elements[e];xl(a)&&Zl(a)&&(Object.assign(a.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],a=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});xl(r)&&Zl(r)&&(Object.assign(r.style,o),Object.keys(a).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},yc,Oc,Pc,kc,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=Ac(t,{elementContext:"reference"}),s=Ac(t,{altBoundary:!0}),l=Zc(i,r),c=Zc(s,a,o),u=Hc(l),d=Hc(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),jc=n(590),Fc=n.n(jc),Nc=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},Ic="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect,_c=[],Dc=function(){return Dc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Dc.apply(this,arguments)},Vc={placement:"bottom-start",modifiers:[{name:"flip",options:{fallbackPlacements:["top-start"]}},{name:"offset",options:{offset:[0,0]}}]};function Uc(t){var n=t.children,a=t.referenceEl,o=t.fullwidth,i=void 0===o||o,s=t.className,l=t.fixed,c=t.popperOptions,u=(0,e.useState)(null),d=u[0],f=u[1],p=function(e,t,n){void 0===n&&(n={});var a=r.useRef(null),o={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||_c},i=r.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=i[0],l=i[1],c=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);wl.flushSync((function(){l({styles:Nc(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:Nc(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),u=r.useMemo((function(){var e={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[c,{name:"applyStyles",enabled:!1}])};return Fc()(a.current,e)?a.current||e:(a.current=e,e)}),[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,c]),d=r.useRef();return Ic((function(){d.current&&d.current.setOptions(u)}),[u]),Ic((function(){if(null!=e&&null!=t){var r=(n.createPopper||Rc)(e,t,u);return d.current=r,function(){r.destroy(),d.current=null}}}),[e,t,n.createPopper]),{state:d.current?d.current.state:null,styles:s.styles,attributes:s.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}}(a.current,d,Dc(Dc({strategy:l?"fixed":void 0},Vc),c)),h=p.styles,m=p.attributes,C=p.update;return(0,e.createElement)("div",Cr({ref:f,className:Cn("ntw-z-50",{"ntw-w-full":i},s),style:h.popper},m.popper),(0,e.createElement)(vl,{enter:"ntw-transition ntw-ease-out ntw-duration-100",enterFrom:"-ntw-translate-y-16px ntw-opacity-0",enterTo:"ntw-translate-y-0 ntw-opacity-100",leave:"ntw-transition ntw-ease-in ntw-duration-100",leaveFrom:"ntw-opacity-100 ntw-translate-y-0",leaveTo:"ntw-opacity-0 -ntw-translate-y-16px",beforeEnter:function(){return null==C?void 0:C()}},n))}Uc.Container=function(t){var n=t.children,r=t.className;return(0,e.createElement)("div",{className:Cn("ntw-focus:outline-none ntw-overflow-auto ntw-rounded-lg ntw-bg-background-light ntw-text-paragraph-base ntw-text-typography-medium ntw-shadow-default",r)},n)},Uc.Item=function(t){var n=t.children,r=t.className,a=t.active,o=t.selected,i=t.disabled,s=t.variant,l=void 0===s?"default":s,c={default:[{"ntw-text-button-hover":a&&!i,"ntw-hover:text-button-hover":!i}],destructive:["ntw-text-button-destructive",{"ntw-text-button-destructive-hover":a&&!i,"ntw-hover:text-button-destructive-hover":!i}]};return(0,e.createElement)("div",{className:Cn("ntw-relative ntw-block ntw-select-none ntw-truncate ntw-px-16px ntw-py-8px",{"ntw-bg-background-selected":o,"ntw-text-typography-disabled":i,"ntw-cursor-pointer":!i},c[l],r)},n)};var Bc=Uc;function qc(){var t=wr(),n=t.brands,r=t.setSelectedBrand,a=t.selectedBrand,o=(0,e.useState)(""),i=o[0],s=o[1],l=!(null==n?void 0:n.length),c=null==n?void 0:n.filter((function(e){return e.name.toLowerCase().includes(i.toLowerCase())}));return(0,e.createElement)(hs.Panel,{className:"ntw-pt-16px"},(function(t){var n=t.close;return(0,e.createElement)(Bc.Container,{className:"ntw-relative ntw-max-h-[300px] ntw-w-[260px]"},l?(0,e.createElement)(Bc.Item,null,"No Brands Available"):(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"ntw-sticky ntw-top-0 ntw-z-[100] ntw-mb-8px ntw-bg-[#FFFFFF] ntw-px-8px ntw-pt-8px"},(0,e.createElement)(u.TextControl,{value:i,onChange:s,name:"brand name",placeholder:"Find a brand"})),(0,e.createElement)("div",{className:"ntw-overflow-y-auto"},null==c?void 0:c.map((function(t){return(0,e.createElement)(Bc.Item,{key:t.id,selected:(null==a?void 0:a.id)===t.id},(0,e.createElement)("button",{onClick:function(){mt(t.id),r(t),n()},className:"ntw-block ntw-w-full"},(0,e.createElement)(Xs,{brand:t})))})))))}))}var zc=function(e){var t=Na({queryKey:["brandTones",e],queryFn:function(t){var n=t.signal;return yt({brandId:e,signal:n})},staleTime:3e5,enabled:!!e}),n=t.data,r=t.error;return{tones:n||[],isLoading:t.isLoading,isFetching:t.isFetching,error:r}};function Gc(t){var n=t.collapsed,r=wr(),a=r.setBrands,o=r.selectedBrand,i=r.setSelectedBrand,s=r.brands,l=r.setCurrentTones,c=r.tones,u=(0,e.useRef)(null),d=zc(null==o?void 0:o.id),f=d.tones,p=d.isLoading,h=f.filter((function(e){return"active"===e.status}));return(0,e.useEffect)((function(){wt.getUserBrands().then(a)}),[a]),(0,e.useEffect)((function(){if(!o&&window.notaTools.selected_brand_id){var e=s.find((function(e){return e.id===window.notaTools.selected_brand_id}));i(null!=e?e:null)}}),[s,o,i]),(0,e.useEffect)((function(){JSON.stringify(c.values)!==JSON.stringify(h)&&l({values:h,isLoading:p})}),[c.values,p,l,h]),(0,e.createElement)("div",{className:"ntw-relative ntw-text-sm"},(0,e.createElement)(hs,null,(0,e.createElement)(hs.Button,{ref:u,className:"ntw-w-full"},(0,e.createElement)("span",{className:Cn("ntw-bg-white ntw-flex ntw-w-full ntw-items-center ntw-gap-8px ntw-rounded-lg ntw-p-8px ntw-text-left ntw-shadow",{"ntw-text-typography-medium":!o})},(0,e.createElement)(e.Fragment,null,o?(0,e.createElement)(Xs,{brand:o,className:"ntw-min-w-[1px] ntw-grow",collapsed:n}):(0,e.createElement)(e.Fragment,null,(0,e.createElement)(xs,{size:24,className:"ntw-shrink-0"}),(0,e.createElement)("span",{className:Cn("ntw-grow",{hidden:n})},"Select a brand")),(0,e.createElement)(Zs,{size:16,className:Cn("ntw-shrink-0",{hidden:n})})))),(0,e.createElement)(Bc,{referenceEl:u,className:"ntw-w-[260px]",fullwidth:!1,fixed:!0},(0,e.createElement)(qc,null))))}var Wc=Object.defineProperty,Qc=Object.defineProperties,Kc=Object.getOwnPropertyDescriptors,$c=Object.getOwnPropertySymbols,Jc=Object.prototype.hasOwnProperty,Yc=Object.prototype.propertyIsEnumerable,Xc=(e,t,n)=>t in e?Wc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const eu=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168,12A75.9,75.9,0,0,0,92.49,96.33L23.91,189.85a19.89,19.89,0,0,0,2,26l14.29,14.29a19.89,19.89,0,0,0,26,2l93.52-68.58A76,76,0,1,0,168,12Zm52,76a51.66,51.66,0,0,1-7.75,27.27L140.74,43.75A52,52,0,0,1,220,88ZM54.72,210.71l-9.43-9.43,56.19-76.63a76.46,76.46,0,0,0,29.87,29.87ZM116,88a51.63,51.63,0,0,1,7.75-27.27l71.51,71.51A52,52,0,0,1,116,88Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M156.5,151,59,222.45a8,8,0,0,1-10.38-.79l-14.3-14.3A8,8,0,0,1,33.55,197L105,99.5l0,0A64,64,0,0,0,156.48,151Z",opacity:"0.2"}),a().createElement("path",{d:"M168,16A72.07,72.07,0,0,0,96,88a73.29,73.29,0,0,0,.63,9.42L27.12,192.22A15.93,15.93,0,0,0,28.71,213L43,227.29a15.93,15.93,0,0,0,20.78,1.59l94.81-69.53A73.29,73.29,0,0,0,168,160a72,72,0,1,0,0-144Zm56,72a55.72,55.72,0,0,1-11.16,33.52L134.49,43.16A56,56,0,0,1,224,88ZM54.32,216,40,201.68,102.14,117A72.37,72.37,0,0,0,139,153.86ZM112,88a55.67,55.67,0,0,1,11.16-33.51l78.34,78.34A56,56,0,0,1,112,88Zm-2.35,58.34a8,8,0,0,1,0,11.31l-8,8a8,8,0,1,1-11.31-11.31l8-8A8,8,0,0,1,109.67,146.33Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M115.06,46.36a4,4,0,0,0-6.11.54A71.54,71.54,0,0,0,96,88a73.29,73.29,0,0,0,.63,9.42L27.12,192.22A15.93,15.93,0,0,0,28.71,213L43,227.29a15.93,15.93,0,0,0,20.78,1.59l94.81-69.53A73.29,73.29,0,0,0,168,160a71.54,71.54,0,0,0,41.09-12.93,4,4,0,0,0,.54-6.11Zm2.61,103.28-16,16a8,8,0,1,1-11.31-11.31l16-16a8,8,0,0,1,11.31,11.31Zm109.4-20.56a4,4,0,0,1-6.12.54L126.38,35.05a4,4,0,0,1,.54-6.12A71.93,71.93,0,0,1,227.07,129.08Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168,18A69.94,69.94,0,0,0,98.74,98l-70,95.46a13.92,13.92,0,0,0,1.39,18.17l14.3,14.3a13.93,13.93,0,0,0,18.17,1.39l95.46-70A70,70,0,1,0,168,18Zm58,70a57.65,57.65,0,0,1-13,36.52L131.49,43A57.95,57.95,0,0,1,226,88ZM55.5,217.59a2,2,0,0,1-2.6-.2L38.61,203.1a2,2,0,0,1-.2-2.6l64.22-87.56a70.32,70.32,0,0,0,40.44,40.43ZM110,88a57.73,57.73,0,0,1,13-36.52L204.53,133A58,58,0,0,1,110,88Zm-1.75,59.75a6,6,0,0,1,0,8.49l-8,8a6,6,0,1,1-8.49-8.49l8-8A6,6,0,0,1,108.26,147.74Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168,16A72.07,72.07,0,0,0,96,88a73.29,73.29,0,0,0,.63,9.42L27.12,192.22A15.93,15.93,0,0,0,28.71,213L43,227.29a15.93,15.93,0,0,0,20.78,1.59l94.81-69.53A73.29,73.29,0,0,0,168,160a72,72,0,1,0,0-144Zm56,72a55.72,55.72,0,0,1-11.16,33.52L134.49,43.16A56,56,0,0,1,224,88ZM54.32,216,40,201.68,102.14,117A72.37,72.37,0,0,0,139,153.86ZM112,88a55.67,55.67,0,0,1,11.16-33.51l78.34,78.34A56,56,0,0,1,112,88Zm-2.35,58.34a8,8,0,0,1,0,11.31l-8,8a8,8,0,1,1-11.31-11.31l8-8A8,8,0,0,1,109.67,146.33Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168,20a68.08,68.08,0,0,0-68,68,67.19,67.19,0,0,0,.82,10.49L30.34,194.59a11.94,11.94,0,0,0,1.2,15.58l14.29,14.3a11.95,11.95,0,0,0,15.58,1.19l96.11-70.48A68,68,0,1,0,168,20Zm60,68a59.7,59.7,0,0,1-14.87,39.47L128.54,42.87A59.94,59.94,0,0,1,228,88ZM56.68,219.21a4,4,0,0,1-5.2-.4L37.19,204.52a4,4,0,0,1-.4-5.2l66.46-90.62a68.31,68.31,0,0,0,44.05,44.05ZM108,88a59.77,59.77,0,0,1,14.87-39.47l84.6,84.6A60,60,0,0,1,108,88Zm-1.17,61.17a4,4,0,0,1,0,5.65l-8,8a4,4,0,1,1-5.65-5.65l8-8A4,4,0,0,1,106.84,149.16Z"}))]]),tu=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>Qc(e,Kc(t)))(((e,t)=>{for(var n in t||(t={}))Jc.call(t,n)&&Xc(e,n,t[n]);if($c)for(var n of $c(t))Yc.call(t,n)&&Xc(e,n,t[n]);return e})({ref:t},e),{weights:eu}))));tu.displayName="MicrophoneStage";var nu=Object.defineProperty,ru=Object.defineProperties,au=Object.getOwnPropertyDescriptors,ou=Object.getOwnPropertySymbols,iu=Object.prototype.hasOwnProperty,su=Object.prototype.propertyIsEnumerable,lu=(e,t,n)=>t in e?nu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const cu=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M200.49,183.51a12,12,0,0,1,0,17c-1.13,1.12-28,27.51-72.49,27.51-33.71,0-59.35-17.46-76-33.86V208a12,12,0,0,1-24,0V160a12,12,0,0,1,12-12H88a12,12,0,0,1,0,24H64.12c13.1,14.32,35.08,32,63.88,32,34.63,0,55.31-20.28,55.51-20.49A12,12,0,0,1,200.49,183.51ZM216,36a12,12,0,0,0-12,12V61.86C187.35,45.46,161.71,28,128,28,83.54,28,56.64,54.39,55.51,55.51a12,12,0,0,0,17,17C72.69,72.28,93.37,52,128,52c28.8,0,50.78,17.68,63.88,32H168a12,12,0,0,0,0,24h48a12,12,0,0,0,12-12V48A12,12,0,0,0,216,36Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M216,48V96H168ZM40,208l48-48H40Z",opacity:"0.2"}),a().createElement("path",{d:"M219.06,40.61a8,8,0,0,0-8.72,1.73L194.28,58.41C174.13,41.1,151.36,32,128,32,85.18,32,59.42,57.27,58.34,58.34A8,8,0,0,0,69.66,69.66C69.87,69.44,91.73,48,128,48c23.17,0,41.92,10.85,54.92,21.76L162.34,90.34A8,8,0,0,0,168,104h48a8,8,0,0,0,8-8V48A8,8,0,0,0,219.06,40.61ZM208,88H187.31L208,67.31Zm-21.66,98.34c-.21.22-22.07,21.66-58.34,21.66-23.17,0-41.92-10.85-54.92-21.76l20.58-20.58A8,8,0,0,0,88,152H40a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66l16.06-16.07C81.87,214.9,104.64,224,128,224c42.82,0,68.58-25.27,69.66-26.34a8,8,0,0,0-11.32-11.32ZM48,168H68.69L48,188.69Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M197.66,186.34a8,8,0,0,1,0,11.32C196.58,198.73,170.82,224,128,224c-23.36,0-46.13-9.1-66.28-26.41L45.66,213.66A8,8,0,0,1,32,208V160a8,8,0,0,1,8-8H88a8,8,0,0,1,5.66,13.66L73.08,186.24C86.08,197.15,104.83,208,128,208c36.27,0,58.13-21.44,58.34-21.66A8,8,0,0,1,197.66,186.34Zm21.4-145.73a8,8,0,0,0-8.72,1.73L194.28,58.41C174.13,41.1,151.36,32,128,32,85.18,32,59.42,57.27,58.34,58.34A8,8,0,0,0,69.66,69.66C69.87,69.44,91.73,48,128,48c23.17,0,41.92,10.85,54.92,21.76L162.34,90.34A8,8,0,0,0,168,104h48a8,8,0,0,0,8-8V48A8,8,0,0,0,219.06,40.61Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M196.24,187.76a6,6,0,0,1,0,8.48C195.19,197.29,170,222,128,222c-39.66,0-67.59-25.75-82-43.26V208a6,6,0,0,1-12,0V160a6,6,0,0,1,6-6H88a6,6,0,0,1,0,12H51.35c11.41,15.11,38.23,44,76.65,44,37.09,0,59.54-22,59.76-22.24A6,6,0,0,1,196.24,187.76ZM216,42a6,6,0,0,0-6,6V77.26C195.59,59.75,167.66,34,128,34,86,34,60.81,58.71,59.76,59.76a6,6,0,0,0,8.48,8.48C68.46,68,90.91,46,128,46c38.42,0,65.24,28.89,76.65,44H168a6,6,0,0,0,0,12h48a6,6,0,0,0,6-6V48A6,6,0,0,0,216,42Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M197.67,186.37a8,8,0,0,1,0,11.29C196.58,198.73,170.82,224,128,224c-37.39,0-64.53-22.4-80-39.85V208a8,8,0,0,1-16,0V160a8,8,0,0,1,8-8H88a8,8,0,0,1,0,16H55.44C67.76,183.35,93,208,128,208c36,0,58.14-21.46,58.36-21.68A8,8,0,0,1,197.67,186.37ZM216,40a8,8,0,0,0-8,8V71.85C192.53,54.4,165.39,32,128,32,85.18,32,59.42,57.27,58.34,58.34a8,8,0,0,0,11.3,11.34C69.86,69.46,92,48,128,48c35,0,60.24,24.65,72.56,40H168a8,8,0,0,0,0,16h48a8,8,0,0,0,8-8V48A8,8,0,0,0,216,40Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M194.83,189.18a4,4,0,0,1,0,5.65c-1,1-25.65,25.17-66.83,25.17-23.93,0-47.35-10.05-67.73-29.08a146.39,146.39,0,0,1-16.27-18V208a4,4,0,0,1-8,0V160a4,4,0,0,1,4-4H88a4,4,0,0,1,0,8H47.41c10,14.06,38.39,48,80.59,48,37.75,0,60.95-22.6,61.18-22.83A4,4,0,0,1,194.83,189.18ZM216,44a4,4,0,0,0-4,4V83.07a146.39,146.39,0,0,0-16.27-18C175.35,46.05,151.93,36,128,36,86.82,36,62.2,60.14,61.17,61.17a4,4,0,0,0,5.65,5.66C67.05,66.6,90.25,44,128,44c42.2,0,70.63,33.94,80.59,48H168a4,4,0,0,0,0,8h48a4,4,0,0,0,4-4V48A4,4,0,0,0,216,44Z"}))]]),uu=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>ru(e,au(t)))(((e,t)=>{for(var n in t||(t={}))iu.call(t,n)&&lu(e,n,t[n]);if(ou)for(var n of ou(t))su.call(t,n)&&lu(e,n,t[n]);return e})({ref:t},e),{weights:cu}))));uu.displayName="ArrowsClockwise";var du=Object.defineProperty,fu=Object.defineProperties,pu=Object.getOwnPropertyDescriptors,hu=Object.getOwnPropertySymbols,mu=Object.prototype.hasOwnProperty,Cu=Object.prototype.propertyIsEnumerable,yu=(e,t,n)=>t in e?du(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const gu=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),a().createElement("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"}))]]),vu=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>fu(e,pu(t)))(((e,t)=>{for(var n in t||(t={}))mu.call(t,n)&&yu(e,n,t[n]);if(hu)for(var n of hu(t))Cu.call(t,n)&&yu(e,n,t[n]);return e})({ref:t},e),{weights:gu}))));vu.displayName="CaretLeft";var wu=Object.defineProperty,bu=Object.defineProperties,Eu=Object.getOwnPropertyDescriptors,xu=Object.getOwnPropertySymbols,Mu=Object.prototype.hasOwnProperty,Lu=Object.prototype.propertyIsEnumerable,Su=(e,t,n)=>t in e?wu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Au=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),a().createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]),Ou=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>bu(e,Eu(t)))(((e,t)=>{for(var n in t||(t={}))Mu.call(t,n)&&Su(e,n,t[n]);if(xu)for(var n of xu(t))Lu.call(t,n)&&Su(e,n,t[n]);return e})({ref:t},e),{weights:Au}))));Ou.displayName="CaretRight";var Tu=function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))},Pu=function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}};function ku(t){var n,r,a=this,o=t.history,i=t.addHistoryItem,s=t.title,l=wr(),c=l.selectedBrand,u=l.setLoadingState,d=l.tones,f=_a().config,p=(0,e.useRef)(null),h=null==o?void 0:o.fullHistory[o.historyIndex],m=Fu(s),C=null===(n=d.values)||void 0===n?void 0:n.filter((function(e){var t;return null===(t=e.prompts)||void 0===t?void 0:t[m]})),y=(null===(r=null==h?void 0:h.tone)||void 0===r?void 0:r.id)||"";return(0,e.createElement)(hs,{as:e.Fragment},(0,e.createElement)(hs.Button,{ref:p,className:"ntw-outline-none"},(0,e.createElement)(tu,{size:16})),(0,e.createElement)(Bc,{fixed:!0,referenceEl:p,fullwidth:!1,popperOptions:{placement:"bottom-end"}},(0,e.createElement)(hs.Panel,{className:"ntw-relative"},(function(t){var n=t.close;return(0,e.createElement)(Bc.Container,null,C.length>0?C.map((function(t){return(0,e.createElement)(Bc.Item,{key:t.id,className:"ntw-p-24px ntw-py-12px hover:ntw-text-button-hover",disabled:t.id===y},(0,e.createElement)("button",{className:Cn("ntw-text-left",{"ntw-cursor-not-allowed":t.id===y}),disabled:t.id===y,onClick:function(){var e;e=t.id,Tu(a,void 0,void 0,(function(){var t,n,r,a;return Pu(this,(function(o){switch(o.label){case 0:if(!ju(s))return[2];if(t=Hu(s),n=Ru(s),!t||!n)return[2];o.label=1;case 1:return o.trys.push([1,3,4,5]),u(t,!0),[4,Ct({toneId:e,organizationBrandId:(null==c?void 0:c.id)||"",text:(null==h?void 0:h.values)||[],task:n,queue:f.requestsToQueue.adjustTextTone,promptCategory:m})];case 2:return r=o.sent(),i({values:r.adjustedText,tone:d.values.find((function(t){return t.id===e}))}),[3,5];case 3:return a=o.sent(),lt.error("Error adjusting text tone",a),[3,5];case 4:return u(t,!1),[7];case 5:return[2]}}))})),n()}},t.title))})):(0,e.createElement)(Bc.Item,{disabled:!0},d.isLoading?"Loading...":"No tones found for this brand"))}))))}var Zu={Summary:{component:"summary",task:"summary"},Headlines:{component:"headlines",task:"headlines"},"Page Title":{component:"metaTitles",task:"meta titles"},"Meta Description":{component:"metaDescriptions",task:"meta descriptions"},Facebook:{component:"socialPostsFacebook",task:"facebook social post"},Instagram:{component:"socialPostsInstagram",task:"instagram social post"},X:{component:"socialPostsTwitter",task:"twitter social post"},LinkedIn:{component:"socialPostsLinkedIn",task:"linkedIn social post"},TikTok:{component:"socialPostsTikTok",task:"tiktok social post"},Threads:{component:"socialPostsThreads",task:"threads social post"}},Hu=function(e){var t;return(null===(t=Zu[e])||void 0===t?void 0:t.component)||null},Ru=function(e){var t;return(null===(t=Zu[e])||void 0===t?void 0:t.task)||null},ju=function(e){return Object.keys(Zu).includes(e)},Fu=function(e){switch(e){case or.Summary:return"summary";case or.Headlines:return"headline";case or.MetaTitle:return"pageTitle";case or.MetaDescription:return"metaDescription";case or.Facebook:return"socialPostFacebook";case or.Instagram:return"socialPostInstagram";case or.Twitter:return"socialPostTwitter";case or.Threads:return"socialPostThreads";case or.LinkedIn:return"socialPostLinkedIn";case or.TikTok:return"socialPostTiktok";case or.SMS:return"sms";default:return"general"}};function Nu(t){var n=t.title,r=t.subtitle,a=t.className,o=t.onRefresh,i=t.history,s=t.tone,l=t.addHistoryItem;return(0,e.createElement)("div",{className:a},(0,e.createElement)("div",{className:"ntw-group"},(0,e.createElement)("div",{className:"ntw-group ntw-flex ntw-items-start ntw-justify-between"},(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-8px ntw-flex ntw-items-center ntw-gap-2"},(0,e.createElement)("p",{className:"ntw-text-h-800"},n),!!s&&(0,e.createElement)("div",{className:"ntw-bg-white ntw-mx-2 ntw-flex ntw-items-center ntw-gap-2 ntw-rounded-md ntw-border ntw-border-elements-default ntw-bg-background-mistVeil ntw-px-2 ntw-py-1 ntw-text-paragraph-xs ntw-text-typography-medium"},(0,e.createElement)(tu,null)," ",s.title)),!!r&&(0,e.createElement)("p",{className:"ntw-text-paragraph-tight"},r)),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-shrink-0 ntw-items-center ntw-space-x-16px ntw-text-typography-disabled ntw-opacity-0 group-hover:ntw-opacity-100"},l&&(0,e.createElement)(ku,{title:n,addHistoryItem:l,history:i}),o&&(0,e.createElement)("button",{className:"hover:ntw-text-button-hover",onClick:o},(0,e.createElement)(uu,{size:16})),!!i&&(0,e.createElement)("div",{className:"ntw-flex ntw-items-center"},(0,e.createElement)("button",{onClick:i.prevHistoryItem,className:Cn("ntw-text-typography-disabled",{"hover:ntw-text-button-hover":i.hasPrev}),disabled:!i.hasPrev},(0,e.createElement)(vu,{size:16})),(0,e.createElement)("span",null,i.historyIndex+1," / ",i.totalHistoryItems),(0,e.createElement)("button",{onClick:i.nextHistoryItem,className:Cn("ntw-text-typography-disabled",{"hover:ntw-text-button-hover":i.hasNext}),disabled:!i.hasNext},(0,e.createElement)(Ou,{size:16})))))))}function Iu(t){var n=t.onSubmit,r=t.disableAnalyze;return(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-24px ntw-flex ntw-items-center ntw-text-h-900"},(0,e.createElement)("div",{className:"ntw-grow"},"Welcome to Nota"),(0,e.createElement)(Gc,null)),(0,e.createElement)("div",{className:"ntw-flex ntw-items-center ntw-justify-between ntw-rounded-2xl ntw-p-24px ntw-shadow"},(0,e.createElement)(Nu,{title:"Get Started",subtitle:"Analyze this post for Nota AI-driven insights, drawing on best practices to elevate your content across platforms."}),(0,e.createElement)("div",{className:"ntw-flex-shrink-0",id:hr},(0,e.createElement)($n,{disabled:r,onClick:n},"Analyze page"))))}function _u({onFocus:e}){let[t,n]=(0,r.useState)(!0);return t?r.createElement(Wi,{as:"button",type:"button",features:Gi.Focusable,onFocus:t=>{t.preventDefault();let r,a=50;r=requestAnimationFrame((function t(){if(!(a--<=0))return e()?(n(!1),void cancelAnimationFrame(r)):void(r=requestAnimationFrame(t));r&&cancelAnimationFrame(r)}))}}):null}const Du=r.createContext(null);function Vu({children:e}){let t=r.useRef({groups:new Map,get(e,t){var n;let r=this.groups.get(e);r||(r=new Map,this.groups.set(e,r));let a=null!=(n=r.get(t))?n:0;return r.set(t,a+1),[Array.from(r.keys()).indexOf(t),function(){let e=r.get(t);e>1?r.set(t,e-1):r.delete(t)}]}});return r.createElement(Du.Provider,{value:t},e)}function Uu(e){let t=r.useContext(Du);if(!t)throw new Error("You must wrap your component in a <StableCollection>");let n=function(){var e,t,n;let a=null!=(n=null==(t=null==(e=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:e.ReactCurrentOwner)?void 0:t.current)?n:null;if(!a)return Symbol();let o=[],i=a;for(;i;)o.push(i.index),i=i.return;return"$."+o.join(".")}(),[a,o]=t.current.get(e,n);return r.useEffect((()=>o),[]),a}var Bu=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Bu||{}),qu=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(qu||{}),zu=(e=>(e[e.SetSelectedIndex=0]="SetSelectedIndex",e[e.RegisterTab=1]="RegisterTab",e[e.UnregisterTab=2]="UnregisterTab",e[e.RegisterPanel=3]="RegisterPanel",e[e.UnregisterPanel=4]="UnregisterPanel",e))(zu||{});let Gu={0(e,t){var n;let r=Fi(e.tabs,(e=>e.current)),a=Fi(e.panels,(e=>e.current)),o=r.filter((e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))})),i={...e,tabs:r,panels:a};if(t.index<0||t.index>r.length-1){let n=ei(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>ei(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});return 0===o.length?i:{...i,selectedIndex:ei(n,{0:()=>r.indexOf(o[0]),1:()=>r.indexOf(o[o.length-1])})}}let s=r.slice(0,t.index),l=[...r.slice(t.index),...s].find((e=>o.includes(e)));if(!l)return i;let c=null!=(n=r.indexOf(l))?n:e.selectedIndex;return-1===c&&(c=e.selectedIndex),{...i,selectedIndex:c}},1(e,t){var n;if(e.tabs.includes(t.tab))return e;let r=e.tabs[e.selectedIndex],a=Fi([...e.tabs,t.tab],(e=>e.current)),o=null!=(n=a.indexOf(r))?n:e.selectedIndex;return-1===o&&(o=e.selectedIndex),{...e,tabs:a,selectedIndex:o}},2(e,t){return{...e,tabs:e.tabs.filter((e=>e!==t.tab))}},3(e,t){return e.panels.includes(t.panel)?e:{...e,panels:Fi([...e.panels,t.panel],(e=>e.current))}},4(e,t){return{...e,panels:e.panels.filter((e=>e!==t.panel))}}},Wu=(0,r.createContext)(null);function Qu(e){let t=(0,r.useContext)(Wu);if(null===t){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Qu),t}return t}Wu.displayName="TabsDataContext";let Ku=(0,r.createContext)(null);function $u(e){let t=(0,r.useContext)(Ku);if(null===t){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,$u),t}return t}function Ju(e,t){return ei(t.type,Gu,e,t)}Ku.displayName="TabsActionsContext";let Yu=r.Fragment,Xu=ri.RenderStrategy|ri.Static,ed=li((function(e,t){var n,a;let o=bi(),{id:i=`headlessui-tabs-tab-${o}`,...s}=e,{orientation:l,activation:c,selectedIndex:u,tabs:d,panels:f}=Qu("Tab"),p=$u("Tab"),h=Qu("Tab"),m=(0,r.useRef)(null),C=gi(m,t);hi((()=>p.registerTab(m)),[p,m]);let y=Uu("tabs"),g=d.indexOf(m);-1===g&&(g=y);let v=g===u,w=Ci((e=>{var t;let n=e();if(n===Ti.Success&&"auto"===c){let e=null==(t=Li(m))?void 0:t.activeElement,n=h.tabs.findIndex((t=>t.current===e));-1!==n&&p.change(n)}return n})),b=Ci((e=>{let t=d.map((e=>e.current)).filter(Boolean);if(e.key===xi.Space||e.key===xi.Enter)return e.preventDefault(),e.stopPropagation(),void p.change(g);switch(e.key){case xi.Home:case xi.PageUp:return e.preventDefault(),e.stopPropagation(),w((()=>Ni(t,Oi.First)));case xi.End:case xi.PageDown:return e.preventDefault(),e.stopPropagation(),w((()=>Ni(t,Oi.Last)))}return w((()=>ei(l,{vertical(){return e.key===xi.ArrowUp?Ni(t,Oi.Previous|Oi.WrapAround):e.key===xi.ArrowDown?Ni(t,Oi.Next|Oi.WrapAround):Ti.Error},horizontal(){return e.key===xi.ArrowLeft?Ni(t,Oi.Previous|Oi.WrapAround):e.key===xi.ArrowRight?Ni(t,Oi.Next|Oi.WrapAround):Ti.Error}})))===Ti.Success?e.preventDefault():void 0})),E=(0,r.useRef)(!1),x=Ci((()=>{var e;E.current||(E.current=!0,null==(e=m.current)||e.focus(),p.change(g),tl((()=>{E.current=!1})))})),M=Ci((e=>{e.preventDefault()})),L=(0,r.useMemo)((()=>({selected:v})),[v]);return oi({ourProps:{ref:C,onKeyDown:b,onMouseDown:M,onClick:x,id:i,role:"tab",type:Bi(e,m),"aria-controls":null==(a=null==(n=f[g])?void 0:n.current)?void 0:a.id,"aria-selected":v,tabIndex:v?0:-1},theirProps:s,slot:L,defaultTag:"button",name:"Tabs.Tab"})})),td=li((function(e,t){let{defaultIndex:n=0,vertical:a=!1,manual:o=!1,onChange:i,selectedIndex:s=null,...l}=e;const c=a?"vertical":"horizontal",u=o?"manual":"auto";let d=null!==s,f=gi(t),[p,h]=(0,r.useReducer)(Ju,{selectedIndex:null!=s?s:n,tabs:[],panels:[]}),m=(0,r.useMemo)((()=>({selectedIndex:p.selectedIndex})),[p.selectedIndex]),C=mi(i||(()=>{})),y=mi(p.tabs),g=(0,r.useMemo)((()=>({orientation:c,activation:u,...p})),[c,u,p]),v=Ci((e=>(h({type:1,tab:e}),()=>h({type:2,tab:e})))),w=Ci((e=>(h({type:3,panel:e}),()=>h({type:4,panel:e})))),b=Ci((e=>{E.current!==e&&C.current(e),d||h({type:0,index:e})})),E=mi(d?e.selectedIndex:p.selectedIndex),x=(0,r.useMemo)((()=>({registerTab:v,registerPanel:w,change:b})),[]);hi((()=>{h({type:0,index:null!=s?s:n})}),[s]),hi((()=>{if(void 0===E.current||p.tabs.length<=0)return;let e=Fi(p.tabs,(e=>e.current));e.some(((e,t)=>p.tabs[t]!==e))&&b(e.indexOf(p.tabs[E.current]))}));let M={ref:f};return r.createElement(Vu,null,r.createElement(Ku.Provider,{value:x},r.createElement(Wu.Provider,{value:g},g.tabs.length<=0&&r.createElement(_u,{onFocus:()=>{var e,t;for(let n of y.current)if(0===(null==(e=n.current)?void 0:e.tabIndex))return null==(t=n.current)||t.focus(),!0;return!1}}),oi({ourProps:M,theirProps:l,slot:m,defaultTag:Yu,name:"Tabs"}))))})),nd=li((function(e,t){let{orientation:n,selectedIndex:r}=Qu("Tab.List");return oi({ourProps:{ref:gi(t),role:"tablist","aria-orientation":n},theirProps:e,slot:{selectedIndex:r},defaultTag:"div",name:"Tabs.List"})})),rd=li((function(e,t){let{selectedIndex:n}=Qu("Tab.Panels");return oi({ourProps:{ref:gi(t)},theirProps:e,slot:(0,r.useMemo)((()=>({selectedIndex:n})),[n]),defaultTag:"div",name:"Tabs.Panels"})})),ad=li((function(e,t){var n,a,o,i;let s=bi(),{id:l=`headlessui-tabs-panel-${s}`,tabIndex:c=0,...u}=e,{selectedIndex:d,tabs:f,panels:p}=Qu("Tab.Panel"),h=$u("Tab.Panel"),m=(0,r.useRef)(null),C=gi(m,t);hi((()=>h.registerPanel(m)),[h,m]);let y=Uu("panels"),g=p.indexOf(m);-1===g&&(g=y);let v=g===d,w=(0,r.useMemo)((()=>({selected:v})),[v]),b={ref:C,id:l,role:"tabpanel","aria-labelledby":null==(a=null==(n=f[g])?void 0:n.current)?void 0:a.id,tabIndex:v?c:-1};return v||null!=(o=u.unmount)&&!o||null!=(i=u.static)&&i?oi({ourProps:b,theirProps:u,slot:w,defaultTag:"div",features:Xu,visible:v,name:"Tabs.Panel"}):r.createElement(Wi,{as:"span",...b})})),od=Object.assign(ed,{Group:td,List:nd,Panels:rd,Panel:ad});var id=Object.defineProperty,sd=Object.defineProperties,ld=Object.getOwnPropertyDescriptors,cd=Object.getOwnPropertySymbols,ud=Object.prototype.hasOwnProperty,dd=Object.prototype.propertyIsEnumerable,fd=(e,t,n)=>t in e?id(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const pd=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M144,180a16,16,0,1,1-16-16A16,16,0,0,1,144,180Zm92-52A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128ZM128,64c-24.26,0-44,17.94-44,40v4a12,12,0,0,0,24,0v-4c0-8.82,9-16,20-16s20,7.18,20,16-9,16-20,16a12,12,0,0,0-12,12v8a12,12,0,0,0,23.73,2.56C158.31,137.88,172,122.37,172,104,172,81.94,152.26,64,128,64Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),a().createElement("path",{d:"M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,168a12,12,0,1,1,12-12A12,12,0,0,1,128,192Zm8-48.72V144a8,8,0,0,1-16,0v-8a8,8,0,0,1,8-8c13.23,0,24-9,24-20s-10.77-20-24-20-24,9-24,20v4a8,8,0,0,1-16,0v-4c0-19.85,17.94-36,40-36s40,16.15,40,36C168,125.38,154.24,139.93,136,143.28Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M138,180a10,10,0,1,1-10-10A10,10,0,0,1,138,180ZM128,74c-21,0-38,15.25-38,34v4a6,6,0,0,0,12,0v-4c0-12.13,11.66-22,26-22s26,9.87,26,22-11.66,22-26,22a6,6,0,0,0-6,6v8a6,6,0,0,0,12,0v-2.42c18.11-2.58,32-16.66,32-33.58C166,89.25,149,74,128,74Zm102,54A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M136,180a8,8,0,1,1-8-8A8,8,0,0,1,136,180ZM128,76c-19.85,0-36,14.36-36,32v4a4,4,0,0,0,8,0v-4c0-13.23,12.56-24,28-24s28,10.77,28,24-12.56,24-28,24a4,4,0,0,0-4,4v8a4,4,0,0,0,8,0v-4.2c18-1.77,32-15.36,32-31.8C164,90.36,147.85,76,128,76Zm100,52A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),hd=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>sd(e,ld(t)))(((e,t)=>{for(var n in t||(t={}))ud.call(t,n)&&fd(e,n,t[n]);if(cd)for(var n of cd(t))dd.call(t,n)&&fd(e,n,t[n]);return e})({ref:t},e),{weights:pd}))));hd.displayName="Question";var md=Object.defineProperty,Cd=Object.defineProperties,yd=Object.getOwnPropertyDescriptors,gd=Object.getOwnPropertySymbols,vd=Object.prototype.hasOwnProperty,wd=Object.prototype.propertyIsEnumerable,bd=(e,t,n)=>t in e?md(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Ed=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M244,56v64a12,12,0,0,1-24,0V85l-75.51,75.52a12,12,0,0,1-17,0L96,129,32.49,192.49a12,12,0,0,1-17-17l72-72a12,12,0,0,1,17,0L136,135l67-67H168a12,12,0,0,1,0-24h64A12,12,0,0,1,244,56Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M232,56v64L168,56Z",opacity:"0.2"}),a().createElement("path",{d:"M232,48H168a8,8,0,0,0-5.66,13.66L188.69,88,136,140.69l-34.34-34.35a8,8,0,0,0-11.32,0l-72,72a8,8,0,0,0,11.32,11.32L96,123.31l34.34,34.35a8,8,0,0,0,11.32,0L200,99.31l26.34,26.35A8,8,0,0,0,240,120V56A8,8,0,0,0,232,48Zm-8,52.69L187.31,64H224Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M240,56v64a8,8,0,0,1-13.66,5.66L200,99.31l-58.34,58.35a8,8,0,0,1-11.32,0L96,123.31,29.66,189.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0L136,140.69,188.69,88,162.34,61.66A8,8,0,0,1,168,48h64A8,8,0,0,1,240,56Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M238,56v64a6,6,0,0,1-12,0V70.48l-85.76,85.76a6,6,0,0,1-8.48,0L96,120.49,28.24,188.24a6,6,0,0,1-8.48-8.48l72-72a6,6,0,0,1,8.48,0L136,143.51,217.52,62H168a6,6,0,0,1,0-12h64A6,6,0,0,1,238,56Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M240,56v64a8,8,0,0,1-16,0V75.31l-82.34,82.35a8,8,0,0,1-11.32,0L96,123.31,29.66,189.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0L136,140.69,212.69,64H168a8,8,0,0,1,0-16h64A8,8,0,0,1,240,56Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M236,56v64a4,4,0,0,1-8,0V65.66l-89.17,89.17a4,4,0,0,1-5.66,0L96,117.66,26.83,186.83a4,4,0,0,1-5.66-5.66l72-72a4,4,0,0,1,5.66,0L136,146.34,222.34,60H168a4,4,0,0,1,0-8h64A4,4,0,0,1,236,56Z"}))]]),xd=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>Cd(e,yd(t)))(((e,t)=>{for(var n in t||(t={}))vd.call(t,n)&&bd(e,n,t[n]);if(gd)for(var n of gd(t))wd.call(t,n)&&bd(e,n,t[n]);return e})({ref:t},e),{weights:Ed}))));function Md(t){var n=t.keyword,r=t.position,a=t.total,o=t.isTrending;return(0,e.createElement)("div",{className:"ntw-flex ntw-w-fit ntw-items-center ntw-rounded-full ntw-bg-status-supernova-600 ntw-p-4px ntw-text-[#030B1B]",style:{backgroundColor:"number"==typeof a&&"number"==typeof r?"rgba(198, 139, 255, ".concat(1-1/a*r,")"):void 0}},(0,e.createElement)("span",{className:"ntw-line-clamp-1 ntw-px-8px",title:n},n),o&&(0,e.createElement)("span",{className:"ntw-rounded-full ntw-bg-background-light ntw-p-4px ntw-text-button-default"},(0,e.createElement)(u.Tooltip,{text:"Trending over the last 7 days",placement:"top"},(0,e.createElement)(xd,{size:16}))))}function Ld(t){var n=t.keyword,r=t.relatedKeywords,a=t.isLoading,o=(0,e.useMemo)((function(){if(null==r?void 0:r.length)return r.find((function(e){return e.keyword===n.toLowerCase()}))}),[n,r]),i=(0,e.useMemo)((function(){return null==r?void 0:r.filter((function(e){return"low"!==e.contentRelevancy}))}),[r]);return(0,e.createElement)("div",{className:"ntw-flex ntw-flex-col ntw-gap-12px ntw-rounded ntw-border ntw-border-elements-default ntw-p-16px"},(0,e.createElement)(Sd,{className:"ntw-pr-8px"},(0,e.createElement)(Md,{keyword:n,isTrending:null==o?void 0:o.trend.isTrending}),!!o&&(0,e.createElement)(Ad,{trend:o.trend})),(0,e.createElement)("hr",{className:"ntw-col-span-2 ntw-border-t ntw-border-elements-default"}),(0,e.createElement)(Sd,{className:"ntw-px-8px ntw-text-paragraph-xs-regular ntw-text-typography-medium"},(0,e.createElement)("div",null,"Trending keywords"),(0,e.createElement)("div",null,"Trend")),(0,e.createElement)(Wa,{isLoading:a},(0,e.createElement)("div",{className:"ntw-flex ntw-flex-col ntw-gap-4px ntw-text-paragraph-sm"},0===(null==i?void 0:i.length)&&(0,e.createElement)("div",null,"Not enough data to show here."),null==i?void 0:i.map((function(t){return(0,e.createElement)(Sd,{className:Cn("ntw-rounded-sm ntw-p-8px",{"ntw-bg-status-success-200":t.keyword===(null==o?void 0:o.keyword)}),key:t.keyword},(0,e.createElement)("div",{className:"ntw-flex ntw-items-center ntw-gap-8px"},"low"===t.contentRelevancy?(0,e.createElement)(u.Tooltip,{text:"We've detected a low relevancy score for this keyword, it may not be relevant to the article.",placement:"top"},(0,e.createElement)("span",{className:"ntw-text-typography-medium-light"},t.keyword)):(0,e.createElement)("span",null,t.keyword),t.trend.isTrending&&(0,e.createElement)(u.Tooltip,{text:"Trending over the last 7 days",placement:"top"},(0,e.createElement)("span",{className:"ntw-text-button-default"},(0,e.createElement)(xd,{size:16})))),(0,e.createElement)(Ad,{trend:t.trend}))})))))}function Sd(t){var n=t.children,r=t.className;return(0,e.createElement)("div",{className:Cn("ntw-grid ntw-grid-cols-[1fr_auto] ntw-items-center ntw-gap-16px ntw-border-elements-default",r)},n)}function Ad(t){var n=t.trend;return void 0===n?null:(0,e.createElement)("div",{className:"ntw-text-paragraph-xs ntw-text-typography-medium"},n.display)}xd.displayName="TrendUp";var Od,Td=(Od={key:function(e){var t=e.keywords;return[Vo.RelatedKeywords,t]},handler:wt.getRelatedKeywordsBatch,enabled:function(e){return!!e.keywords.length},staleTimeMs:6e5},function(e){var t,n=function(e,t){return"function"==typeof e?[e(t)]:t?[e,t]:[e]}(Od.key,e),r=Na({enabled:null===(t=Od.enabled)||void 0===t?void 0:t.call(Od,e),refetchInterval:Od.refetchInterval,queryKey:n,queryFn:function(t){var n=t.signal;return Od.handler(e,{signal:n})},staleTime:Od.staleTimeMs}),a=r.data,o=r.isError,i=r.isSuccess,s=r.isFetching;return{data:a,isLoading:r.isLoading,isFetching:s,isError:o,isSuccess:i,error:r.error,isInitialLoading:r.isInitialLoading,refetch:r.refetch}}),Pd=Hn.useSelect,kd=5;function Zd(t){var n=t.title,r=t.subtitle,a=t.isLoading,o=t.error,i=t.history,s=t.onRefresh,l=t.keywords,c=t.divId,d=null==l?void 0:l.slice(0,kd),f=Pd((function(e){return e("core/editor").getEditedPostContent()}),[]),p=_a(),h=Td({keywords:d||[],postHTML:f,queue:p.config.requestsToQueue.relatedKeywords});return(0,e.createElement)("div",{id:c},(0,e.createElement)(Nu,{title:n,subtitle:r,className:"ntw-mb-24px",onRefresh:s,history:i}),(0,e.createElement)(Wa,{isLoading:a,error:o,retry:s},(0,e.createElement)("div",null,!!(null==l?void 0:l.length)&&(0,e.createElement)("div",{className:"ntw-space-y-24px"},!!(null==l?void 0:l.length)&&(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"In order of relevance"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-16px"},l.map((function(t,n){return(0,e.createElement)(Md,{key:t,keyword:t,position:n,total:l.length})})))),!!(null==d?void 0:d.length)&&(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Keyword Insights",(0,e.createElement)(u.Tooltip,{text:"Discover related keywords and trending insights on your top five keywords."},(0,e.createElement)(hd,{size:16,className:"ntw-ml-8px ntw-inline"}))),(0,e.createElement)(Wa,{isLoading:!1,error:h.error},(0,e.createElement)("div",{className:"ntw-grid ntw-grid-cols-auto-fit-250px ntw-gap-24px"},d.map((function(t){var n;return(0,e.createElement)(Ld,{key:t,keyword:t,isLoading:h.isLoading,relatedKeywords:null===(n=h.data)||void 0===n?void 0:n.relatedKeywords[t]})})))))))))}var Hd=Object.defineProperty,Rd=Object.defineProperties,jd=Object.getOwnPropertyDescriptors,Fd=Object.getOwnPropertySymbols,Nd=Object.prototype.hasOwnProperty,Id=Object.prototype.propertyIsEnumerable,_d=(e,t,n)=>t in e?Hd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const Dd=new Map([["bold",a().createElement(a().Fragment,null,a().createElement("path",{d:"M112,60a16,16,0,1,1,16,16A16,16,0,0,1,112,60Zm16,52a16,16,0,1,0,16,16A16,16,0,0,0,128,112Zm0,68a16,16,0,1,0,16,16A16,16,0,0,0,128,180Z"}))],["duotone",a().createElement(a().Fragment,null,a().createElement("path",{d:"M208,32V224a16,16,0,0,1-16,16H64a16,16,0,0,1-16-16V32A16,16,0,0,1,64,16H192A16,16,0,0,1,208,32Z",opacity:"0.2"}),a().createElement("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM128,72a12,12,0,1,0-12-12A12,12,0,0,0,128,72Zm0,112a12,12,0,1,0,12,12A12,12,0,0,0,128,184Z"}))],["fill",a().createElement(a().Fragment,null,a().createElement("path",{d:"M192,16H64A16,16,0,0,0,48,32V224a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V32A16,16,0,0,0,192,16ZM128,208a12,12,0,1,1,12-12A12,12,0,0,1,128,208Zm0-68a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm0-68a12,12,0,1,1,12-12A12,12,0,0,1,128,72Z"}))],["light",a().createElement(a().Fragment,null,a().createElement("path",{d:"M118,60a10,10,0,1,1,10,10A10,10,0,0,1,118,60Zm10,58a10,10,0,1,0,10,10A10,10,0,0,0,128,118Zm0,68a10,10,0,1,0,10,10A10,10,0,0,0,128,186Z"}))],["regular",a().createElement(a().Fragment,null,a().createElement("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM128,72a12,12,0,1,0-12-12A12,12,0,0,0,128,72Zm0,112a12,12,0,1,0,12,12A12,12,0,0,0,128,184Z"}))],["thin",a().createElement(a().Fragment,null,a().createElement("path",{d:"M120,60a8,8,0,1,1,8,8A8,8,0,0,1,120,60Zm8,60a8,8,0,1,0,8,8A8,8,0,0,0,128,120Zm0,68a8,8,0,1,0,8,8A8,8,0,0,0,128,188Z"}))]]),Vd=(0,r.forwardRef)(((e,t)=>a().createElement(kt,((e,t)=>Rd(e,jd(t)))(((e,t)=>{for(var n in t||(t={}))Nd.call(t,n)&&_d(e,n,t[n]);if(Fd)for(var n of Fd(t))Id.call(t,n)&&_d(e,n,t[n]);return e})({ref:t},e),{weights:Dd}))));Vd.displayName="DotsThreeVertical";var Ud=window.wp.date;function Bd(t){var n=t.className;return(0,e.createElement)("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},(0,e.createElement)("path",{d:"M3.8752 6.89839C3.94291 6.89839 4.01843 6.90881 4.10176 6.92964C4.1851 6.95048 4.26843 6.97912 4.35176 7.01558C4.4351 7.05204 4.51843 7.08589 4.60176 7.11714C4.6851 7.14839 4.76062 7.17964 4.82833 7.21089L4.70333 7.22652C4.66166 7.23173 4.61739 7.23433 4.57051 7.23433C4.48197 7.23433 4.40124 7.22131 4.32833 7.19527C4.25541 7.16923 4.1877 7.13537 4.1252 7.09371C4.0627 7.05204 4.0002 7.02079 3.9377 6.99996C3.8752 6.97912 3.81791 6.9635 3.76583 6.95308C3.71374 6.95308 3.66687 6.9635 3.6252 6.98433C3.58353 7.00516 3.54187 7.0286 3.5002 7.05464C3.5002 7.03381 3.48197 7.02339 3.44551 7.02339C3.48197 6.98694 3.54968 6.95829 3.64864 6.93746C3.7476 6.91662 3.82312 6.9036 3.8752 6.89839ZM4.92989 7.24996C5.14343 7.24996 5.33874 7.28641 5.51583 7.35933C5.44291 7.38537 5.36999 7.40621 5.29708 7.42183C5.22416 7.43746 5.14864 7.44787 5.07051 7.45308C4.96635 7.45308 4.8726 7.44266 4.78926 7.42183C4.8153 7.38016 4.84135 7.35412 4.86739 7.34371C4.89343 7.33329 4.91426 7.30204 4.92989 7.24996ZM8.0002 -4.38201e-05C8.73458 -4.38201e-05 9.4403 0.0963104 10.1174 0.289019C10.7945 0.481727 11.4299 0.749956 12.0236 1.09371C12.6174 1.43746 13.1591 1.85673 13.6486 2.35152C14.1382 2.84631 14.5549 3.38537 14.8986 3.96871C15.2424 4.55204 15.5132 5.18746 15.7111 5.87496C15.9091 6.56246 16.0054 7.27079 16.0002 7.99996C16.0002 8.73433 15.9038 9.44006 15.7111 10.1171C15.5184 10.7942 15.2502 11.4296 14.9065 12.0234C14.5627 12.6171 14.1434 13.1588 13.6486 13.6484C13.1538 14.138 12.6148 14.5546 12.0315 14.8984C11.4481 15.2421 10.8127 15.513 10.1252 15.7109C9.4377 15.9088 8.72937 16.0052 8.0002 16C7.26583 16 6.5601 15.9036 5.88301 15.7109C5.20593 15.5182 4.57051 15.25 3.97676 14.9062C3.38301 14.5625 2.84135 14.1432 2.35176 13.6484C1.86218 13.1536 1.44551 12.6145 1.10176 12.0312C0.758013 11.4479 0.48718 10.8125 0.289263 10.125C0.0913462 9.43746 -0.00500801 8.72912 0.000200321 7.99996C0.000200321 7.26558 0.0965545 6.55985 0.289263 5.88277C0.481971 5.20569 0.7502 4.57027 1.09395 3.97652C1.4377 3.38277 1.85697 2.8411 2.35176 2.35152C2.84655 1.86194 3.38562 1.44527 3.96895 1.10152C4.55228 0.757769 5.1877 0.486935 5.8752 0.289019C6.5627 0.091102 7.27103 -0.00525215 8.0002 -4.38201e-05ZM13.9533 4.33589C13.8804 4.22131 13.8075 4.11194 13.7346 4.00777C13.6617 3.9036 13.5861 3.79683 13.508 3.68746C13.4976 3.73433 13.4846 3.76819 13.469 3.78902C13.4533 3.80985 13.4429 3.85673 13.4377 3.92964C13.4377 3.97652 13.4559 4.02079 13.4924 4.06246C13.5288 4.10412 13.5757 4.14579 13.633 4.18746C13.6903 4.22912 13.7476 4.26037 13.8049 4.28121C13.8622 4.30204 13.9117 4.32027 13.9533 4.33589ZM13.4143 3.57027C13.4143 3.61194 13.4065 3.64058 13.3908 3.65621H13.4377C13.4585 3.65621 13.4742 3.65881 13.4846 3.66402L13.4143 3.57027ZM8.0002 15C8.59395 15 9.17468 14.9244 9.74239 14.7734C10.3101 14.6224 10.8466 14.4088 11.3518 14.1328C11.857 13.8567 12.3257 13.5182 12.758 13.1171C13.1903 12.7161 13.5679 12.2682 13.8908 11.7734C13.8231 11.6171 13.758 11.4583 13.6955 11.2968C13.633 11.1354 13.6018 10.9687 13.6018 10.7968C13.6018 10.6093 13.6096 10.4583 13.6252 10.3437C13.6408 10.2291 13.6591 10.1276 13.6799 10.039C13.7007 9.95048 13.7111 9.87496 13.7111 9.81246C13.7111 9.74996 13.7033 9.66923 13.6877 9.57027C13.6721 9.47131 13.6278 9.36454 13.5549 9.24996C13.482 9.13537 13.3856 8.97391 13.2658 8.76558C13.271 8.72912 13.2788 8.67964 13.2893 8.61714C13.2997 8.55464 13.3101 8.48954 13.3205 8.42183C13.3309 8.35412 13.3335 8.29162 13.3283 8.23433C13.3231 8.17704 13.3101 8.12756 13.2893 8.08589C13.1538 8.07027 13.0132 8.04162 12.8674 7.99996C12.7216 7.95829 12.5913 7.89579 12.4768 7.81246L12.5236 7.77339C12.4559 7.78902 12.3882 7.80985 12.3205 7.83589C12.2528 7.86194 12.1877 7.89058 12.1252 7.92183C12.0627 7.95308 11.995 7.97391 11.9221 7.98433C11.8492 7.99475 11.7788 8.00516 11.7111 8.01558L11.5861 7.99996L11.6096 7.94527C11.5367 7.9661 11.4585 7.99214 11.3752 8.02339C11.2919 8.05464 11.2111 8.07027 11.133 8.07027C11.0809 8.07027 11.0054 8.05204 10.9065 8.01558C10.8075 7.97912 10.7085 7.93485 10.6096 7.88277C10.5106 7.83069 10.4221 7.77339 10.344 7.71089C10.2658 7.64839 10.2268 7.5885 10.2268 7.53121L10.2424 7.50777C10.2163 7.47652 10.1825 7.44787 10.1408 7.42183C10.0992 7.39579 10.0601 7.36975 10.0236 7.34371C9.98718 7.31766 9.95333 7.28902 9.92208 7.25777C9.89083 7.22652 9.8778 7.19006 9.88301 7.14839L9.96895 7.07808L9.78926 7.05464L9.72676 6.82027C9.73718 6.84631 9.76062 6.85673 9.79708 6.85152C9.83353 6.84631 9.86218 6.83589 9.88301 6.82027L9.60176 6.67183L9.79708 6.17183C9.72416 5.901 9.70593 5.69266 9.74239 5.54683C9.77885 5.401 9.84916 5.28121 9.95333 5.18746C10.0575 5.09371 10.1721 4.99996 10.2971 4.90621C10.4221 4.81246 10.5497 4.68485 10.6799 4.52339L10.6565 4.42964L11.1721 3.80464L11.2893 3.78902C11.4351 3.78902 11.5992 3.78381 11.7815 3.77339C11.9637 3.76298 12.1486 3.74475 12.3361 3.71871C12.5236 3.69266 12.7085 3.66662 12.8908 3.64058C13.0731 3.61454 13.2398 3.58069 13.3908 3.53902C13.2242 3.3411 13.0497 3.1536 12.8674 2.97652C12.6851 2.79944 12.4898 2.63016 12.2815 2.46871C12.2242 2.48954 12.1538 2.51819 12.0705 2.55464C11.9872 2.5911 11.9038 2.63798 11.8205 2.69527C11.7372 2.75256 11.6721 2.81506 11.6252 2.88277C11.5783 2.95048 11.5497 3.02079 11.5393 3.09371L11.5861 3.24214C11.4924 3.39319 11.3882 3.48694 11.2736 3.52339C11.1591 3.55985 11.0419 3.58069 10.9221 3.58589C10.8023 3.5911 10.6773 3.5911 10.5471 3.58589C10.4169 3.58069 10.2919 3.60412 10.1721 3.65621L10.0471 3.39058L10.1643 2.93746L10.0315 2.74214L11.383 2.32027C11.3257 2.17444 11.232 2.06506 11.1018 1.99214C10.9716 1.91923 10.8283 1.88277 10.6721 1.88277V1.80464L11.1096 1.73433C10.6252 1.49475 10.1226 1.31246 9.60176 1.18746C9.08093 1.06246 8.54708 0.999956 8.0002 0.999956C7.54708 0.999956 7.09916 1.04423 6.65645 1.13277C6.21374 1.22131 5.78666 1.34891 5.3752 1.51558C4.96374 1.68225 4.5653 1.89058 4.17989 2.14058C3.79447 2.39058 3.44291 2.67183 3.1252 2.98433C3.26062 2.98433 3.36478 3.01819 3.4377 3.08589C3.51062 3.1536 3.57833 3.22912 3.64083 3.31246C3.70333 3.39579 3.76843 3.47131 3.83614 3.53902C3.90385 3.60673 3.99499 3.64319 4.10958 3.64839L4.23458 3.55464L4.21895 3.38277L4.47676 3.01558L4.27364 2.43746C4.29968 2.42183 4.33874 2.39579 4.39083 2.35933C4.44291 2.32287 4.48718 2.30464 4.52364 2.30464C4.67989 2.30464 4.79968 2.31246 4.88301 2.32808C4.96635 2.34371 5.03926 2.37235 5.10176 2.41402C5.16426 2.45569 5.21895 2.51558 5.26583 2.59371C5.3127 2.67183 5.38562 2.77079 5.48458 2.89058L5.76583 2.67183C5.81791 2.69266 5.90124 2.72652 6.01583 2.77339C6.13041 2.82027 6.2476 2.87756 6.36739 2.94527C6.48718 3.01298 6.58874 3.08329 6.67208 3.15621C6.75541 3.22912 6.79968 3.29683 6.80489 3.35933C6.80489 3.43746 6.77624 3.49996 6.71895 3.54683C6.66166 3.59371 6.58614 3.63277 6.49239 3.66402C6.39864 3.69527 6.30228 3.71871 6.20333 3.73433C6.10437 3.74996 6.00541 3.77079 5.90645 3.79683C5.80749 3.82287 5.73197 3.84891 5.67989 3.87496C5.6278 3.901 5.59655 3.94527 5.58614 4.00777L6.03926 4.15621C5.9351 4.24475 5.82312 4.32548 5.70333 4.39839C5.58353 4.47131 5.45853 4.53902 5.32833 4.60152L5.35958 4.73433L4.64083 5.01558V5.23433L4.58614 5.25777L4.6252 4.98433L4.59395 4.97652C4.55749 4.97652 4.53666 4.98433 4.53145 4.99996C4.52624 5.01558 4.52364 5.03381 4.52364 5.05464C4.52364 5.07548 4.52885 5.09631 4.53926 5.11714C4.54968 5.13798 4.55228 5.1536 4.54708 5.16402L4.44551 5.10933L4.46114 5.14058C4.46114 5.15621 4.46895 5.17964 4.48458 5.21089C4.5002 5.24214 4.52103 5.27079 4.54708 5.29683C4.57312 5.32287 4.59395 5.34891 4.60958 5.37496C4.6252 5.401 4.63562 5.41402 4.64083 5.41402C4.64083 5.42964 4.63041 5.44527 4.60958 5.46089C4.58874 5.47652 4.5627 5.48694 4.53145 5.49214C4.5002 5.49735 4.47937 5.50516 4.46895 5.51558C4.45853 5.526 4.45853 5.5286 4.46895 5.52339C4.54187 5.52339 4.55749 5.5286 4.51583 5.53902C4.47416 5.54944 4.40905 5.57548 4.32051 5.61714C4.23197 5.65881 4.15124 5.71871 4.07833 5.79683C4.00541 5.87496 3.96374 5.98954 3.95333 6.14058C3.95333 6.22912 3.95593 6.31506 3.96114 6.39839C3.96635 6.48173 3.96374 6.56766 3.95333 6.65621C3.88041 6.45829 3.77103 6.30725 3.6252 6.20308C3.47937 6.09891 3.30228 6.04683 3.09395 6.04683L2.75801 6.07808L2.92208 6.18746C2.83353 6.17704 2.74239 6.16662 2.64864 6.15621C2.55489 6.14579 2.45853 6.14319 2.35958 6.14839C2.26062 6.1536 2.17208 6.17444 2.09395 6.21089C2.01583 6.24735 1.9377 6.30204 1.85958 6.37496L1.8127 6.72652C1.8127 6.89319 1.84916 7.0286 1.92208 7.13277C1.99499 7.23694 2.1226 7.29162 2.30489 7.29683C2.46114 7.29683 2.61478 7.27339 2.76583 7.22652C2.91687 7.17964 3.0653 7.12496 3.21114 7.06246C3.16426 7.17704 3.11218 7.28641 3.05489 7.39058C2.9976 7.49475 2.95593 7.60933 2.92989 7.73433L3.03145 7.78121C3.15645 7.69787 3.27103 7.68485 3.3752 7.74214C3.47937 7.79944 3.58093 7.88277 3.67989 7.99214C3.77885 8.10152 3.88041 8.2135 3.98458 8.32808C4.08874 8.44266 4.20072 8.526 4.32051 8.57808L4.05489 8.71871L3.42989 8.36714C3.4351 8.37756 3.4403 8.401 3.44551 8.43746C3.45072 8.47391 3.44812 8.48173 3.4377 8.46089L3.15645 7.98433C2.98978 7.97912 2.8127 7.95308 2.6252 7.90621C2.4377 7.85933 2.2476 7.79683 2.05489 7.71871C1.86218 7.64058 1.68249 7.55464 1.51583 7.46089C1.34916 7.36714 1.19551 7.26819 1.05489 7.16402L1.0002 7.99996C1.0002 8.63537 1.08614 9.25516 1.25801 9.85933C1.42989 10.4635 1.67208 11.0312 1.98458 11.5625C2.29708 12.0937 2.67989 12.5781 3.13301 13.0156C3.58614 13.4531 4.08874 13.8255 4.64083 14.1328C4.61478 14.0234 4.61218 13.914 4.63301 13.8046C4.65385 13.6953 4.67989 13.5859 4.71114 13.4765C4.74239 13.3671 4.77624 13.2578 4.8127 13.1484C4.84916 13.039 4.86739 12.927 4.86739 12.8125C4.86739 12.6458 4.84135 12.4713 4.78926 12.289C4.73718 12.1067 4.67468 11.9218 4.60176 11.7343C4.52885 11.5468 4.44812 11.3619 4.35958 11.1796C4.27103 10.9974 4.20072 10.8255 4.14864 10.664C4.09655 10.5026 4.05489 10.3515 4.02364 10.2109C3.99239 10.0703 4.00801 9.94787 4.07051 9.84371L3.95333 9.78902C3.98458 9.7161 4.02624 9.64579 4.07833 9.57808C4.13041 9.51037 4.1851 9.44266 4.24239 9.37496C4.29968 9.30725 4.34395 9.23433 4.3752 9.15621C4.40645 9.07808 4.42468 8.99996 4.42989 8.92183C4.42989 8.86975 4.41947 8.81506 4.39864 8.75777C4.3778 8.70048 4.35958 8.64579 4.34395 8.59371L4.50801 8.63277C4.59655 8.42964 4.71635 8.29162 4.86739 8.21871C5.01843 8.14579 5.20853 8.10673 5.4377 8.10152C5.46374 8.10152 5.51843 8.11194 5.60176 8.13277C5.6851 8.1536 5.77364 8.18225 5.86739 8.21871C5.96114 8.25516 6.04968 8.28381 6.13301 8.30464C6.21635 8.32548 6.27885 8.34631 6.32051 8.36714C6.32051 8.4036 6.34135 8.42704 6.38301 8.43746C6.42468 8.44787 6.44812 8.4661 6.45333 8.49214L6.4377 8.55464C6.45333 8.55985 6.48978 8.57808 6.54708 8.60933C6.60437 8.64058 6.66687 8.67964 6.73458 8.72652C6.80228 8.77339 6.86218 8.81506 6.91426 8.85152C6.96635 8.88798 7.0028 8.91662 7.02364 8.93746C7.11739 8.93746 7.24499 8.96871 7.40645 9.03121C7.56791 9.09371 7.74499 9.17183 7.9377 9.26558C8.13041 9.35933 8.32051 9.47131 8.50801 9.60152C8.69551 9.73173 8.8726 9.86194 9.03926 9.99214C9.20593 10.1224 9.33353 10.2526 9.42208 10.3828C9.51062 10.513 9.5627 10.6276 9.57833 10.7265L9.3127 11.0078C9.33353 11.2734 9.3153 11.4765 9.25801 11.6171C9.20072 11.7578 9.11218 11.875 8.99239 11.9687C8.8726 12.0625 8.73458 12.1406 8.57833 12.2031C8.42208 12.2656 8.2528 12.3541 8.07051 12.4687C8.07051 12.5729 8.04447 12.6849 7.99239 12.8046C7.9403 12.9244 7.8752 13.039 7.79708 13.1484C7.71895 13.2578 7.6252 13.3489 7.51583 13.4218C7.40645 13.4947 7.29708 13.5312 7.1877 13.5312L6.85958 13.2812C6.86999 13.2916 6.86999 13.3099 6.85958 13.3359C6.84916 13.3619 6.83614 13.3671 6.82051 13.3515C6.8726 13.4505 6.88562 13.5651 6.85958 13.6953C6.83353 13.8255 6.78926 13.9583 6.72676 14.0937C6.66426 14.2291 6.59395 14.3567 6.51583 14.4765C6.4377 14.5963 6.36739 14.6979 6.30489 14.7812C6.58614 14.8541 6.86739 14.9088 7.14864 14.9453C7.42989 14.9817 7.71374 15 8.0002 15Z",fill:"#88B0FF"}))}var qd=Hn.useSelect;function zd(){var t=Go({taxonomy:"post_tag",wpService:Jo}).existingTerms,n=La(),r=n.metaDescription,a=n.metaTitleFormatted,o=qd((function(e){var t=e("core"),n=e("core/editor");return{permalinks:n.getPermalinkParts(),postTitle:n.getEditedPostAttribute("title"),postDate:n.getEditedPostAttribute("date"),site:t.getSite()}})),i=o.site,s=o.permalinks,l=o.postTitle,c=o.postDate,u=(null==s?void 0:s.prefix.replace(/https?\:\/\//,"").split("/").filter((function(e){return!!e})))||[];return(0,e.createElement)("div",{className:"ntw-grid ntw-grid-cols-2 ntw-gap-64px"},(0,e.createElement)("div",{className:"ntw-font-google"},(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Google preview:"),(0,e.createElement)("div",{className:"ntw-mb-16px ntw-flex ntw-items-start"},(0,e.createElement)("div",{className:"ntw-mr-8px ntw-flex-shrink-0 ntw-rounded-full ntw-bg-[#F1F3F4] ntw-p-8px"},(0,e.createElement)(Bd,{className:"ntw-w-16px"})),(0,e.createElement)("div",{className:"ntw-flex-1 ntw-text-paragraph-tight"},(0,e.createElement)("div",{className:"ntw-mb-8px"},null==i?void 0:i.title),(0,e.createElement)("div",{className:"ntw-flex ntw-items-center ntw-text-typography-medium"},(0,e.createElement)("span",{className:"ntw-line-clamp-1 ntw-flex-1"},u.join(" > ")," > ",null==s?void 0:s.postName),(0,e.createElement)(Vd,{size:12,weight:"bold"})))),(0,e.createElement)("div",{className:"ntw-mb-8px ntw-line-clamp-2 ntw-text-paragraph-tight ntw-text-[#1A0DAB]"},a),(0,e.createElement)("div",{className:"ntw-font-normal ntw-text-typography-medium"},!!(null==i?void 0:i.date_format)&&(0,e.createElement)("span",null,Ud.format(i.date_format,c)," — "),r)),(0,e.createElement)("div",{className:"ntw-space-y-24px"},(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Headline:"),(0,e.createElement)("div",{className:"ntw-text-paragraph-medium"},l)),(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Tags:"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-8px"},t.map((function(t){return(0,e.createElement)("span",{key:t.id,className:"ntw-rounded-full ntw-bg-gravity-600 ntw-px-8px ntw-py-4px ntw-text-paragraph-xs"},t.name)}))))))}function Gd(t){var n=t.tag,r=t.tags,a=t.onClick,o=t.className,i=(0,e.useMemo)((function(){var e=r.indexOf(n);return"rgba(136, 176, 255, ".concat(1-1/r.length*e,")")}),[n,r]);return(0,e.createElement)("button",{className:Cn("ntw-appearance-none ntw-rounded-full ntw-px-16px ntw-py-8px ntw-text-typography-dark hover:ntw-ring-1 hover:ntw-ring-button-hover",o),style:{backgroundColor:i},onClick:a,disabled:!a},n)}var Wd=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))};function Qd(t){var n=t.title,r=t.subtitle,a=t.isLoading,o=t.error,i=t.history,s=t.onChange,l=t.onRefresh,c=t.tags,u=t.selectedTags,d=(0,e.useMemo)((function(){var e=[];try{e=(null==c?void 0:c.filter((function(e){return!(null==u?void 0:u.includes(e))})))||[]}catch(e){lt.error("Error filtering suggested tags",e)}return e}),[u,c]);return(0,e.createElement)("div",null,(0,e.createElement)(Nu,{title:n,subtitle:r,className:"ntw-mb-24px",onRefresh:l,history:i}),(0,e.createElement)(Wa,{isLoading:a,error:o,retry:l},!!(null==c?void 0:c.length)&&(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-24px"},!!d.length&&d.length>0&&(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Recommended tags:"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-16px"},d.map((function(t){return(0,e.createElement)(Gd,{key:t,tag:t,tags:c||[],onClick:function(){if(!(null==u?void 0:u.includes(t))){var e=Wd(Wd([],u||[],!0),[t],!1);null==s||s({values:e})}}})})))),!!(null==u?void 0:u.length)&&(0,e.createElement)("div",{className:"ntw-mt-24px"},(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Selected tags:"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-16px"},(u||[]).map((function(t){return(0,e.createElement)(Gd,{key:t,tag:t,tags:c||[],onClick:function(){var e=(u||[]).filter((function(e){return e!==t}));null==s||s({values:e})}})}))))))))}var Kd=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},$d="post_tag";function Jd(t){var n,r=t.title,a=t.subtitle,o=t.isLoading,i=t.error,s=t.history,l=t.onRefresh,c=t.tags,u=(0,e.useState)([]),d=u[0],f=u[1],p=Go({taxonomy:$d,wpService:Jo}),h=p.addTag,m=p.removeTag,C=p.existingTerms,y=p.errorWhileAddingTag,g=C.map((function(e){return e.name}));try{n=null==c?void 0:c.filter((function(e){return!g.includes(e)&&!d.includes(e)}))}catch(e){lt.error("Error filtering suggested tags: ".concat(c),e)}var v=C.filter((function(e){var t=e.name;return null==c?void 0:c.some((function(e){return e===t}))})),w=(0,e.useMemo)((function(){return d.filter((function(e){return g.includes(e)}))}),[g,d]),b=(0,e.useMemo)((function(){return d.filter((function(e){return!w.includes(e)}))}),[d,w]);return(0,e.useEffect)((function(){w.length&&f((function(e){return e.filter((function(e){return!w.includes(e)}))}))}),[w]),(0,e.createElement)("div",null,(0,e.createElement)(Nu,{title:r,subtitle:a,className:"ntw-mb-24px",onRefresh:l,history:s}),(0,e.createElement)(Wa,{isLoading:o,error:i,retry:l},(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-24px"},(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Generated tags:"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-16px"},(null==n?void 0:n.length)?null==n?void 0:n.map((function(t){return(0,e.createElement)(Gd,{key:t,tag:t,tags:c||[],onClick:function(){return function(e){d.includes(e)||(f((function(t){return Kd(Kd([],t,!0),[e],!1)})),h(e))}(t)}})})):(0,e.createElement)("div",{className:"ntw-border-text-typography- ntw-cursor-not-allowed ntw-rounded-full ntw-border ntw-px-16px ntw-py-8px ntw-text-typography-dark"},"All generated tags have been added"))),(!!(null==v?void 0:v.length)||!!b.length)&&(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-16px ntw-text-typography-medium"},"Selected tags:"),(0,e.createElement)("div",{className:"ntw-flex ntw-flex-wrap ntw-gap-16px"},(null==v?void 0:v.length)?null==v?void 0:v.map((function(t){return(0,e.createElement)(Gd,{key:t.id,tag:t.name,tags:c||[],onClick:function(){return m(t.id)}})})):null,b.map((function(t){return(0,e.createElement)(Gd,{key:"pending-".concat(t),tag:t,tags:c||[],className:"ntw-cursor-wait"})})))))),y&&(0,e.createElement)(qa,{level:"error",className:"ntw-mt-2"},(0,e.createElement)("div",{className:"ntw-flex ntw-justify-between ntw-gap-16px"},(0,e.createElement)("div",null,y))))}var Yd=function(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))},Xd=function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&s[0]?r.return:s[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;switch(r=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(6===s[0]&&i.label<a[1]){i.label=a[1],a=s;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(s);break}a[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}};function ef(t){var n=this,r=t.value,a=t.onChange,o=t.onSelect,i=t.selected,s=t.onRevert,l=t.showCharacterCount,c=void 0===l||l,u=t.title,d=t.afterText,f=t.getCopyText,p=(0,e.useRef)(null),h=(0,e.useState)(!1),m=h[0],C=h[1],y=(0,e.useMemo)((function(){return(null==f?void 0:f(r))||r}),[r,f]);(0,e.useEffect)((function(){if(p.current){p.current.style.height="0px";var e=p.current.scrollHeight;p.current.style.height=e+"px"}}),[p,r]);var g=xa().postId,v=function(e){return Yd(n,void 0,void 0,(function(){var t,n;return Xd(this,(function(a){return t=u in cr?cr[u]:u,ut({content:(n={},n[t]=r,n),event:e,field:t,postId:g}),[2]}))}))};return(0,e.createElement)("div",null,(0,e.createElement)("div",{className:Cn("ntw-group ntw-flex ntw-items-center ntw-justify-between ntw-rounded-lg ntw-border ntw-border-gray-100 ntw-p-16px",{"ntw-bg-gravity-200":i})},(0,e.createElement)("div",{className:"ntw-flex-1"},(0,e.createElement)("textarea",{ref:p,value:r,onChange:function(e){return a(e.target.value)},rows:1,style:{minHeight:"1.5rem"},className:"ntw-w-full ntw-resize-none ntw-border-none ntw-bg-transparent ntw-text-paragraph-base ntw-shadow-none ntw-outline-none",disabled:i}),d),(0,e.createElement)("div",{className:Cn("ntw-ml-16px",{"ntw-opacity-0 group-hover:ntw-opacity-100":!i})},!(!i||!s)&&(0,e.createElement)($n,{onClick:function(){v("revert"),s()},size:300},"Revert"),!i&&o&&(0,e.createElement)($n,{onClick:function(){v("select"),o()},variant:"secondary",size:300},"Select"),!o&&(0,e.createElement)($n,{onClick:function(){return Yd(n,void 0,void 0,(function(){var e,t;return Xd(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,navigator.clipboard.writeText(y)];case 1:return n.sent(),C(!0),setTimeout((function(){C(!1)}),1e3),wt.saveEvents({event:"copy",field:"".concat(ar.Social,":").concat(u.toLocaleLowerCase().replaceAll(" ","_")),content:(t={},t[ar.Social]=r,t),postId:g}),[3,3];case 2:return e=n.sent(),lt.error(e),[3,3];case 3:return[2]}}))}))},variant:"secondary",size:300},m?"Copied!":"Copy"))),!!c&&(0,e.createElement)("div",{className:"ntw-pt-4px ntw-text-right ntw-text-xs ntw-text-typography-medium"},y.length," characters"))}var tf=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))};function nf(t){var n=t.options,r=t.updateOptions,a=t.onSelect,o=t.onRefresh,i=t.title,s=t.subtitle,l=t.isLoading,c=t.error,u=t.disabled,d=t.disabledMessage,f=t.history,p=t.currentValue,h=t.onRevert,m=t.divId,C=t.notice,y=t.afterText,g=t.getCopyText,v=t.tone,w=t.addHistoryItem,b=!l&&!(null==n?void 0:n.length);return(0,e.createElement)("div",{id:m},(0,e.createElement)(Nu,{title:i,subtitle:s,className:"ntw-mb-24px",onRefresh:o,history:f,tone:v,addHistoryItem:w}),!!C&&(0,e.createElement)(qa,{level:"info",className:"ntw-my-4"},C),u?(0,e.createElement)("div",null,d||"Currently unavailable."):(0,e.createElement)(Wa,{isLoading:l,error:c,retry:o},(0,e.createElement)("div",{className:"ntw-space-y-16px"},b?(0,e.createElement)(qa,{level:"info"},(0,e.createElement)("div",{className:"ntw-flex ntw-justify-between ntw-gap-16px"},(0,e.createElement)("div",null,"No results"),(0,e.createElement)("button",{onClick:o,className:"ntw-font-bold ntw-uppercase ntw-tracking-wider"},"Retry"))):null==n?void 0:n.map((function(t,o){return(0,e.createElement)("div",{key:o},(0,e.createElement)(ef,{title:i,value:t,onChange:function(e){if(n){var t=tf([],n,!0);t[o]=e,r({values:t})}},onSelect:a?function(){return a(t)}:void 0,selected:p===t,onRevert:h,afterText:y,getCopyText:g}))})))))}function rf(t){var n=t.children,r=t.hidden,a=t.buttonId;return r?null:(0,e.createElement)(od,{as:e.Fragment},(function(t){var r=t.selected;return(0,e.createElement)("button",{className:Cn("relative ntw-text-paragraph-large",{"ntw-text-button-default":r,"ntw-text-typography-disabled hover:ntw-text-button-hover":!r},a)},n,(0,e.createElement)("span",{className:Cn("ntw-absolute -ntw-bottom-2px ntw-block ntw-h-2px ntw-w-full ntw-bg-button-default",{"ntw-opacity-0":!r})}))}))}function af(t){var n=t.children;return t.hidden?null:(0,e.createElement)(od.Panel,null,n)}function of(t){var n,r,a,o,i,s,l,c,u,d,f,p,h,m,C,y,g,v,w,b,_x,E,x,M,L,S,A,O,T,P,k,Z=t.seoData,H=t.components,R=t.postHTML,j=t.authorizedTools,F=t.enabledTools,N=t.onTabChange,I=t.onReanalyze,_=t.isLoading,D=xa(),V=D.editPostTitle,U=D.editPostExcerpt,B=D.editPostSlug,q=D.isPublished,z=D.postTitle,G=D.postExcerpt,W=D.postSlug,Q=D.revertTitle,K=D.revertExcerpt,$=D.revertSlug,J=La(),Y=J.editMetaDescription,X=J.editMetaTitle,ee=J.metaTitle,te=J.metaDescription,ne=J.revertMetaDescription,re=J.revertMetaTitle,ae=wr().loadingStates,oe=["SUM","SOCIAL"].some((function(e){return j.indexOf(e)>-1})),ie=(0,e.useMemo)((function(){var e,t,n;try{return(null===(n=null===(t=null===(e=Z.selectedHashtags)||void 0===e?void 0:e.data)||void 0===t?void 0:t.values)||void 0===n?void 0:n.join(" "))||""}catch(e){return lt.error("Error processing selected hashtags",Z.selectedHashtags),""}}),[Z.selectedHashtags]),se=(0,e.useMemo)((function(){return(0,e.createElement)("div",null,ie)}),[ie]),le=function(e){return[e,ie].join(" ")};return(0,e.createElement)("div",null,(0,e.createElement)("div",{className:"ntw-mb-24px ntw-flex ntw-items-center ntw-justify-between"},(0,e.createElement)("div",{className:"ntw-text-h-900"},"Welcome to Nota"),(0,e.createElement)("div",{className:"ntw-flex ntw-items-center ntw-gap-2"},(0,e.createElement)(Gc,null),(0,e.createElement)("div",{className:"ntw-flex-shrink-0",id:hr},(0,e.createElement)($n,{className:"ntw-h-[38px]",disabled:_,variant:"secondary",size:300,onClick:I},(0,e.createElement)("div",{className:"ntw-flex ntw-items-center"},_&&(0,e.createElement)(Yn,{className:"ntw-mr-2"}),"Reanalyze page"))))),(0,e.createElement)("div",{className:"ntw-rounded-2xl ntw-p-24px ntw-shadow"},!oe&&(0,e.createElement)("div",{className:"ntw-text-center"},"It appears your account does not have access to Nota tools. Please contact support for assistance."),oe&&!F.length&&(0,e.createElement)("div",{className:"ntw-text-center"},"Please enable at least one tab in the"," ",(0,e.createElement)("a",{className:"ntw-text-button-default",href:"/wp-admin/options-general.php?page=nota-settings"},"Nota plugin settings"),"."),(0,e.createElement)(od.Group,{onChange:function(e){var t=F[e];N(t)}},(0,e.createElement)(od.List,{className:"ntw-mb-32px ntw-space-x-24px"},(0,e.createElement)(rf,{hidden:!F.includes("content"),buttonId:"meta-tab-content"},"Content"),(0,e.createElement)(rf,{hidden:!F.includes("seo"),buttonId:"meta-tab-seo"},"SEO"),(0,e.createElement)(rf,{hidden:!F.includes("social")},"Social")),(0,e.createElement)(od.Panels,null,(0,e.createElement)(af,{hidden:!F.includes("content")},(0,e.createElement)("div",{className:"ntw-space-y-32px"},(0,e.createElement)(nf,{divId:"nota-headline",title:or.Headlines,subtitle:"Select a headline to use on the page",isLoading:Z.headlines.isLoading||ae.headlines,error:Z.headlines.error,options:null===(n=Z.headlines.data)||void 0===n?void 0:n.values,onSelect:V,updateOptions:Z.headlines.update,onRefresh:function(){return Z.headlines.refresh({postHTML:R})},history:Z.headlines.history,currentValue:z,onRevert:Q,tone:null===(r=Z.headlines.data)||void 0===r?void 0:r.tone,addHistoryItem:Z.headlines.addHistoryItem}),(0,e.createElement)(nf,{title:or.Excerpt,subtitle:"Select an excerpt to use on the page",isLoading:Z.excerpt.isLoading,error:Z.excerpt.error,options:null===(a=Z.excerpt.data)||void 0===a?void 0:a.values,onSelect:U,updateOptions:Z.excerpt.update,onRefresh:function(){return Z.excerpt.refresh({postHTML:R})},history:Z.excerpt.history,currentValue:G,onRevert:K,tone:null===(o=Z.excerpt.data)||void 0===o?void 0:o.tone}),(0,e.createElement)(nf,{title:or.Summary,subtitle:"Summary for the post",isLoading:Z.summary.isLoading||ae.summary,error:Z.summary.error,options:null===(i=Z.summary.data)||void 0===i?void 0:i.values,updateOptions:Z.summary.update,onRefresh:function(){return Z.summary.refresh({postHTML:R})},history:Z.summary.history,tone:null===(s=Z.summary.data)||void 0===s?void 0:s.tone,addHistoryItem:Z.summary.addHistoryItem}),H.tags&&(0,e.createElement)(Jd,{subtitle:"Select the tags you want to use on this page",title:or.Tags,history:Z.tags.history,isLoading:Z.tags.isLoading,error:Z.tags.error,tags:null===(l=Z.tags.data)||void 0===l?void 0:l.values,onRefresh:function(){return Z.tags.refresh({postHTML:R})}}),H.quotes&&(0,e.createElement)(nf,{title:or.Quotes,subtitle:"",isLoading:Z.quotes.isLoading,error:Z.quotes.error,options:null===(c=Z.quotes.data)||void 0===c?void 0:c.values,updateOptions:Z.quotes.update,onRefresh:function(){return Z.quotes.refresh({postHTML:R})},history:Z.quotes.history,tone:null===(u=Z.quotes.data)||void 0===u?void 0:u.tone}))),(0,e.createElement)(af,{hidden:!F.includes("seo")},(0,e.createElement)("div",{className:"ntw-space-y-32px"},(0,e.createElement)(nf,{divId:"nota-meta-title",title:or.MetaTitle,subtitle:"Select a page title to use in your page",isLoading:Z.metaTitles.isLoading||ae.metaTitles,error:Z.metaTitles.error,options:null===(d=Z.metaTitles.data)||void 0===d?void 0:d.values,onSelect:X,updateOptions:Z.metaTitles.update,onRefresh:function(){return Z.metaTitles.refresh({postHTML:R})},history:Z.metaTitles.history,disabled:!H.metaTitles,disabledMessage:"Enabled Yoast to get meta title recommendations.",currentValue:ee,onRevert:re,tone:null===(f=Z.metaTitles.data)||void 0===f?void 0:f.tone,addHistoryItem:Z.metaTitles.addHistoryItem}),(0,e.createElement)(nf,{divId:"nota-slug",title:or.Slugs,subtitle:"Select a slug to use on the page",isLoading:Z.slugs.isLoading,error:Z.slugs.error,options:null===(p=Z.slugs.data)||void 0===p?void 0:p.values,onSelect:q?void 0:B,updateOptions:Z.slugs.update,onRefresh:function(){return Z.slugs.refresh({postHTML:R})},history:Z.slugs.history,currentValue:W,onRevert:q?void 0:$,notice:q?"Updating the slug on a published post has been disabled for SEO purposes. However, you can still view, copy, and generate suggestions.":void 0,tone:null===(h=Z.slugs.data)||void 0===h?void 0:h.tone}),(0,e.createElement)(nf,{divId:"nota-meta-description",title:or.MetaDescription,subtitle:"Select a meta description to use in your page",isLoading:Z.metaDescriptions.isLoading||ae.metaDescriptions,error:Z.metaDescriptions.error,options:null===(m=Z.metaDescriptions.data)||void 0===m?void 0:m.values,onSelect:Y,updateOptions:Z.metaDescriptions.update,onRefresh:function(){return Z.metaDescriptions.refresh({postHTML:R})},history:Z.metaDescriptions.history,disabled:!H.metaDescriptions,disabledMessage:"Enabled Yoast to get meta description recommendations.",currentValue:te,onRevert:ne,tone:null===(C=Z.metaDescriptions.data)||void 0===C?void 0:C.tone,addHistoryItem:Z.metaDescriptions.addHistoryItem}),(0,e.createElement)(Zd,{title:or.Keywords,history:Z.keywordSynonyms.history,isLoading:Z.keywordSynonyms.isLoading,error:Z.keywordSynonyms.error,keywords:Object.keys(Z.keywordSynonyms.data||{}),onRefresh:function(){return Z.keywordSynonyms.refresh({postHTML:R})}}))),(0,e.createElement)(af,{hidden:!F.includes("social")},(0,e.createElement)("div",{className:"ntw-space-y-32px"},H.socialPostsFacebook&&(0,e.createElement)(nf,{title:or.Facebook,subtitle:"Recommended Facebook post",isLoading:Z.socialPostsFacebook.isLoading||ae.socialPostsFacebook,error:Z.socialPostsFacebook.error,options:null===(y=Z.socialPostsFacebook.data)||void 0===y?void 0:y.values,updateOptions:Z.socialPostsFacebook.update,onRefresh:function(){return Z.socialPostsFacebook.refresh({postHTML:R})},history:Z.socialPostsFacebook.history,afterText:se,getCopyText:le,tone:null===(g=Z.socialPostsFacebook.data)||void 0===g?void 0:g.tone,addHistoryItem:Z.socialPostsFacebook.addHistoryItem}),H.socialPostsInstagram&&(0,e.createElement)(nf,{title:or.Instagram,subtitle:"Recommended Instagram post",isLoading:Z.socialPostsInstagram.isLoading||ae.socialPostsInstagram,error:Z.socialPostsInstagram.error,options:null===(v=Z.socialPostsInstagram.data)||void 0===v?void 0:v.values,updateOptions:Z.socialPostsInstagram.update,onRefresh:function(){return Z.socialPostsInstagram.refresh({postHTML:R})},history:Z.socialPostsInstagram.history,afterText:se,getCopyText:le,tone:null===(w=Z.socialPostsInstagram.data)||void 0===w?void 0:w.tone,addHistoryItem:Z.socialPostsInstagram.addHistoryItem}),H.socialPostsTwitter&&(0,e.createElement)(nf,{title:or.Twitter,subtitle:"Recommended X post",isLoading:Z.socialPostsTwitter.isLoading||ae.socialPostsTwitter,error:Z.socialPostsTwitter.error,options:null===(b=Z.socialPostsTwitter.data)||void 0===b?void 0:b.values,updateOptions:Z.socialPostsTwitter.update,onRefresh:function(){return Z.socialPostsTwitter.refresh({postHTML:R})},history:Z.socialPostsTwitter.history,afterText:se,getCopyText:le,tone:null===(_x=Z.socialPostsTwitter.data)||void 0===_x?void 0:_x.tone,addHistoryItem:Z.socialPostsTwitter.addHistoryItem}),H.socialPostsThreads&&(0,e.createElement)(nf,{title:or.Threads,subtitle:"Recommended Threads post",isLoading:Z.socialPostsThreads.isLoading||ae.socialPostsThreads,error:Z.socialPostsThreads.error,options:null===(E=Z.socialPostsThreads.data)||void 0===E?void 0:E.values,updateOptions:Z.socialPostsThreads.update,onRefresh:function(){return Z.socialPostsThreads.refresh({postHTML:R})},history:Z.socialPostsThreads.history,afterText:se,getCopyText:le,tone:null===(x=Z.socialPostsThreads.data)||void 0===x?void 0:x.tone,addHistoryItem:Z.socialPostsThreads.addHistoryItem}),H.socialPostsLinkedIn&&(0,e.createElement)(nf,{title:or.LinkedIn,subtitle:"Recommended LinkedIn post",isLoading:Z.socialPostsLinkedIn.isLoading||ae.socialPostsLinkedIn,error:Z.socialPostsLinkedIn.error,options:null===(M=Z.socialPostsLinkedIn.data)||void 0===M?void 0:M.values,updateOptions:Z.socialPostsLinkedIn.update,onRefresh:function(){return Z.socialPostsLinkedIn.refresh({postHTML:R})},history:Z.socialPostsLinkedIn.history,afterText:se,getCopyText:le,tone:null===(L=Z.socialPostsLinkedIn.data)||void 0===L?void 0:L.tone,addHistoryItem:Z.socialPostsLinkedIn.addHistoryItem}),H.socialPostsTikTok&&(0,e.createElement)(nf,{title:or.TikTok,subtitle:"Recommended TikTok post",isLoading:Z.socialPostsTikTok.isLoading||ae.socialPostsTikTok,error:Z.socialPostsTikTok.error,options:null===(S=Z.socialPostsTikTok.data)||void 0===S?void 0:S.values,updateOptions:Z.socialPostsTikTok.update,onRefresh:function(){return Z.socialPostsTikTok.refresh({postHTML:R})},history:Z.socialPostsTikTok.history,afterText:se,getCopyText:le,tone:null===(A=Z.socialPostsTikTok.data)||void 0===A?void 0:A.tone,addHistoryItem:Z.socialPostsTikTok.addHistoryItem}),H.sms&&(0,e.createElement)(nf,{title:or.SMS,subtitle:"Recommended SMS message",isLoading:Z.sms.isLoading,error:Z.sms.error,options:null===(O=Z.sms.data)||void 0===O?void 0:O.values,updateOptions:Z.sms.update,onRefresh:function(){return Z.sms.refresh({postHTML:R})},history:Z.sms.history,tone:null===(T=Z.sms.data)||void 0===T?void 0:T.tone}),H.hashtags&&(0,e.createElement)(Qd,{title:"Hashtags",subtitle:"Select the hashtags you would like to include in your posts",history:Z.hashtags.history,isLoading:Z.hashtags.isLoading,error:Z.hashtags.error,tags:null===(P=Z.hashtags.data)||void 0===P?void 0:P.values,selectedTags:null===(k=Z.selectedHashtags.data)||void 0===k?void 0:k.values,onChange:Z.selectedHashtags.update,onRefresh:function(){return Z.hashtags.refresh({postHTML:R})}})))))),(0,e.createElement)("div",{className:"ntw-mt-24px ntw-rounded-2xl ntw-p-24px ntw-shadow"},(0,e.createElement)(Nu,{title:"Preview",subtitle:"See below a preview of your page settings",className:"ntw-mb-32px"}),(0,e.createElement)(zd,null)))}var sf,lf=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))};!function(e){e[e.Initial=0]="Initial",e[e.Results=1]="Results"}(sf||(sf={}));var cf=Hn.useSelect,uf={excerpt:!0,hashtags:window.notaTools.components.hashtags,headlines:!0,slugs:!0,metaDescriptions:window.notaTools.components.meta_description,metaTitles:window.notaTools.components.meta_title,quotes:window.notaTools.components.quotes,socialPostsFacebook:window.notaTools.components.social_posts_facebook,socialPostsInstagram:window.notaTools.components.social_posts_instagram,socialPostsLinkedIn:window.notaTools.components.social_posts_linkedin,socialPostsThreads:window.notaTools.components.social_posts_threads,socialPostsTikTok:window.notaTools.components.social_posts_tiktok,socialPostsTwitter:window.notaTools.components.social_posts_twitter,tags:window.notaTools.components.tags,sms:window.notaTools.components.sms,keywordSynonyms:window.notaTools.components.keywordSynonyms,summary:!0},df={content:{enabled:window.notaTools.tab_sum_enabled,components:["excerpt","headlines","tags","keywordSynonyms","quotes","summary"]},seo:{enabled:window.notaTools.tab_seo_enabled,components:["metaDescriptions","slugs","metaTitles","keywordSynonyms"]},social:{enabled:window.notaTools.tab_social_enabled,components:["socialPostsFacebook","socialPostsInstagram","socialPostsLinkedIn","socialPostsThreads","socialPostsTikTok","socialPostsTwitter","sms","hashtags"]}},ff=function(){var t=Et(),n=t.authorizedTools,r=t.isLoading,a=t.isError,o=wr().analyzePageLoading,i=(0,e.useState)(!1),s=i[0],l=i[1],c=_a(),u=c.config,d=c.isLoading,f=(0,e.useState)(sf.Initial),p=f[0],h=f[1],m=cf((function(e){return e("core/editor").getEditedPostContent()}),[]),C=Oa({notaService:wt,components:uf,requestsToQueue:u.requestsToQueue}),y=(0,e.useState)([]),g=y[0],v=y[1],w=(0,e.useState)("content"),b=w[0],E=w[1],x=(0,e.useMemo)((function(){var e=Object.keys(df).filter((function(e){switch(e){case"content":case"seo":return n.includes("SUM");case"social":return n.includes("SOCIAL")}return!1}));if(e.length)switch(e[0]){case"sum":E("content");break;case"social":E("social")}return e}),[n]),M=Object.keys(uf).some((function(e){var t,n;return null===(n=null===(t=C[e].data)||void 0===t?void 0:t.values)||void 0===n?void 0:n.length})),L=(0,Hn.useDispatch)("core/interface").enableComplementaryArea,S=(0,e.useCallback)((function(){L("core/edit-post","nota-plugin-sidebar/grade")}),[L]),A=window.notaTools.trigger_proof_enabled;(function(t){var n=_a().config,r=(0,e.useRef)(null),a=(0,e.useRef)(""),o=wr(),i=o.postMetaData,s=o.setPostMetaData,l=xa(),c=l.postTitle,u=l.postExcerpt,d=l.postSlug,f=l.postId,p=La(),h=p.metaTitle,m=p.metaDescription,C=Oa({notaService:wt,components:t,requestsToQueue:n.requestsToQueue}),y=C.excerpt,g=C.headlines,v=C.metaDescriptions,w=C.metaTitles,b=C.slugs,E=C.tags,x=Go({taxonomy:"post_tag",wpService:Jo}).existingTerms.map((function(e){return e.name})),M=Yo((function(e){return{isSaving:(0,e("core/editor").isSavingPost)()}}),[]).isSaving;(0,e.useEffect)((function(){if(M){if(0===Object.keys(i).length)return;wt.savePostMetadata({postId:f,metadata:i}).catch(lt.error)}}),[M,f,i]),(0,e.useEffect)((function(){var e,t=Xo(c,g.history.fullHistory.map((function(e){return e.values})).flat()),n=Xo(h,w.history.fullHistory.map((function(e){return e.values})).flat()),r=Xo(d,b.history.fullHistory.map((function(e){return e.values})).flat()),o=Xo(m,v.history.fullHistory.map((function(e){return e.values})).flat()),i=Xo(u,y.history.fullHistory.map((function(e){return e.values})).flat()),l=Xo(x,E.history.fullHistory.map((function(e){return e.values})).flat()),f=(e=[],t&&e.push(ar.Headline),i&&e.push(ar.Excerpt),n&&e.push(ar.MetaTitle),o&&e.push(ar.MetaDescription),r&&e.push(ar.Slug),l&&e.push(ar.Tags),e.join(","));f!==a.current&&(s({nota_published_elements:f}),a.current=f)}),[y.history.fullHistory,g.history.fullHistory,m,v.history.fullHistory,h,w.history.fullHistory,u,d,x,c,s,b.history.fullHistory,E.history.fullHistory]),(0,e.useEffect)((function(){if(M){var e={};Xo(c,g.history.fullHistory.map((function(e){return e.values})).flat())&&(e[ar.Headline]=c),Xo(h,w.history.fullHistory.map((function(e){return e.values})).flat())&&(e[ar.MetaTitle]=h),Xo(d,b.history.fullHistory.map((function(e){return e.values})).flat())&&(e[ar.Slug]=d),Xo(m,v.history.fullHistory.map((function(e){return e.values})).flat())&&(e[ar.MetaDescription]=m),Xo(u,y.history.fullHistory.map((function(e){return e.values})).flat())&&(e[ar.Excerpt]=u),Xo(x,E.history.fullHistory.map((function(e){return e.values})).flat())&&(e[ar.Tags]=x.join(",")),t=e,(!(n=r.current)||Object.keys(t).some((function(e){return(null==n?void 0:n[e])!==t[e]})))&&(ut({content:e,event:"save",field:Object.keys(e).join(",")||"none",postId:f}),r.current=e)}var t,n}),[M])})(uf),(0,e.useEffect)((function(){M&&h(sf.Results)}),[M]),(0,e.useEffect)((function(){g.includes(b)&&(v((function(e){var t=e.indexOf(b);return-1===t?e:lf(lf([],e.slice(0,t),!0),e.slice(t+1),!0)})),df[b]&&df[b].components.forEach((function(e){C[e].isLoading||C[e].refresh({postHTML:m})})))}),[g,b,m,C]);var O=(0,e.useCallback)((function(e){E(e);var t=df[e].components;if(t){var n=t.filter((function(t){if(!g.includes(e))return!1;var n=C[t].data;return Array.isArray(n)?!n.length:!Object.keys(n||{}).length}));n.length>0&&(C.run({postHTML:m,components:n}),v((function(t){return t.filter((function(t){return t!==e}))}))),setTimeout((function(){l(!0)}),1e3)}}),[C,m,g,v]),T=function(){var e,t,n;e="runGradeAction",t={action:"refreshData"},n=new CustomEvent(Er(e),{detail:{action:e,payload:t}}),window.dispatchEvent(n),l(!1)},P=xa().postId,k=(0,e.useCallback)((function(){v(Object.keys(df)),setTimeout((function(){l(!0)}),1e3),ut({content:{post:m},event:"regenerate",field:"none",postId:P})}),[l,m,P]);(0,e.useEffect)((function(){!o&&A&&s&&(S(),setTimeout(T))}),[o,S,A,s]);var Z=(0,e.useCallback)((function(){h(sf.Results),v(Object.keys(df)),O(b),ut({content:{post:m},event:"generate",field:"none",postId:P})}),[b,O,m,P]);if(!window.notaTools.tools_active)return(0,e.createElement)(qa,{level:"error"},"Please ensure you have set an API key to continue using Nota's tools.");if(r||d)return(0,e.createElement)("div",null,"Loading the Nota toolset...");if(a)return(0,e.createElement)(qa,{level:"error"},"There was an error fetching your user data from the Nota API. Please refresh your page and try again. If the issue persists, please contact support.");var H=mr(m||"")<100;return(0,e.createElement)("div",null,p===sf.Initial&&(0,e.createElement)(Iu,{disableAnalyze:H,onSubmit:Z}),p===sf.Results&&(0,e.createElement)("div",null,(0,e.createElement)(of,{seoData:C,components:uf,postHTML:m,authorizedTools:n,enabledTools:x,onTabChange:O,onReanalyze:k,isLoading:r})))},pf=function(){return(0,e.createElement)(c,{client:Uo},(0,e.createElement)(ff,null))},hf=Hn.useSelect;function mf(t){var n=t.metaKey,r=t.label,a=(0,Hn.useDispatch)("core/editor"),o=hf((function(e){var t;return(null===(t=e("core/editor").getEditedPostAttribute("meta"))||void 0===t?void 0:t[n])||""}),[n]);return(0,e.createElement)(u.TextControl,{onChange:function(e){var t;a.editPost({meta:(t={},t[n]=e,t)})},value:o,label:r})}var Cf=function(){return Cf=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Cf.apply(this,arguments)},yf={keywordSynonyms:{},grade:{data:null,request:{content:"",keywords:{}}},gradeIsLoading:!1,urlsScore:{},urlsLoading:!1,analyzePageLoading:!1,metaData:window.notaTools.metadata||{},brands:[],selectedBrand:null,loadingStates:{excerpt:!1,hashtags:!1,headlines:!1,slugs:!1,tags:!1,metaDescriptions:!1,metaTitles:!1,quotes:!1,socialPostsFacebook:!1,socialPostsInstagram:!1,socialPostsLinkedIn:!1,socialPostsThreads:!1,socialPostsTikTok:!1,socialPostsTwitter:!1,sms:!1,keywordSynonyms:!1,summary:!1},tones:{values:[],isLoading:!1}},gf=(0,Hn.createReduxStore)("nota/data",{reducer:function(e,t){var n;switch(void 0===e&&(e=yf),t.type){case"SET_KEYWORDS_SYNONYMS":return Cf(Cf({},e),{keywordSynonyms:t.keywordSynonyms});case"SET_GRADE":return Cf(Cf({},e),{grade:t.grade});case"SET_GRADE_LOADING":return Cf(Cf({},e),{gradeIsLoading:t.loading});case"SET_URLS_SCORE":return Cf(Cf({},e),{urlsScore:t.urlsScore});case"SET_URLS_LOADING":return Cf(Cf({},e),{urlsLoading:t.loading});case"ANALYZE_PAGE_LOADING":return Cf(Cf({},e),{analyzePageLoading:t.loading});case"SET_POST_META_DATA":return Cf(Cf({},e),{metaData:Cf(Cf({},e.metaData),t.metaData)});case"SET_BRANDS":return Cf(Cf({},e),{brands:t.brands});case"SET_SELECTED_BRAND":return Cf(Cf({},e),{selectedBrand:t.selectedBrand});case"SET_LOADING_STATE":return Cf(Cf({},e),{loadingStates:Cf(Cf({},e.loadingStates),(n={},n[t.component]=t.loading,n))});case"SET_CURRENT_TONES":return Cf(Cf({},e),{tones:t.tones});default:return e}},actions:{setKeywordsSynonyms:function(e){return{type:"SET_KEYWORDS_SYNONYMS",keywordSynonyms:e}},setGrade:function(e){return{type:"SET_GRADE",grade:e}},setGradeLoading:function(e){return{type:"SET_GRADE_LOADING",loading:e}},setUrlsScore:function(e){return{type:"SET_URLS_SCORE",urlsScore:e}},setUrlsLoading:function(e){return{type:"SET_URLS_LOADING",loading:e}},setAnalyzePageLoading:function(e){return{type:"ANALYZE_PAGE_LOADING",loading:e}},setPostMetaData:function(e){return{type:"SET_POST_META_DATA",metaData:e}},setBrands:function(e){return{type:"SET_BRANDS",brands:e}},setSelectedBrand:function(e){return{type:"SET_SELECTED_BRAND",selectedBrand:e}},setLoadingState:function(e,t){return{type:"SET_LOADING_STATE",component:e,loading:t}},setCurrentTones:function(e){return{type:"SET_CURRENT_TONES",tones:e}}},selectors:{getKeywordSynonyms:function(e){return e.keywordSynonyms},getGrade:function(e){return e.grade},isGradeLoading:function(e){return e.gradeIsLoading},getUrlsScore:function(e){return e.urlsScore},isUrlsLoading:function(e){return e.urlsLoading},isAnalyzePageLoading:function(e){return e.analyzePageLoading},getPostMetaData:function(e){return e.metaData},getBrands:function(e){return e.brands},getSelectedBrand:function(e){return e.selectedBrand},getLoadingStates:function(e){return e.loadingStates},isLoading:function(e,t){return e.loadingStates[t]},getTones:function(e){return e.tones}}});(0,Hn.register)(gf),function(){var t=document.getElementById("nota-post-tools-meta-box-root");if(t){var n=(0,e.createElement)(pf);e.createRoot?(0,e.createRoot)(t).render(n):(0,e.render)(n,t)}else console.log("Failing to render Nota Post Tools Meta Box as element does not exist")}(),window.notaTools.register_controls.seo&&(0,t.registerPlugin)("nota-seo-tools",{render:function(){return(0,e.createElement)(d.PluginDocumentSettingPanel,{name:"nota-seo-tools",title:"Nota SEO Tools"},(0,e.createElement)(mf,{metaKey:window.notaTools.meta_keys.seo_title,label:"SEO Title"}),(0,e.createElement)(mf,{metaKey:window.notaTools.meta_keys.seo_desc,label:"SEO Description"}))}}),window.notaTools.register_controls.grade&&(0,t.registerPlugin)("nota-plugin-sidebar",{render:function(){var t=Et(),n=t.authorizedTools;return t.isLoading||n.includes("GRADE")?(0,e.createElement)(d.PluginSidebar,{name:"grade",title:"Nota PROOF",className:"nota sidebar",icon:(0,e.createElement)(Fo,null)},(0,e.createElement)(c,{client:Uo},(0,e.createElement)(u.Panel,null,(0,e.createElement)(Ho,null),(0,e.createElement)(br,null),(0,e.createElement)(jo,null),(0,e.createElement)(Ro,null)))):null}})}()}();
  • nota-ai-tools/trunk/includes/class-nota-api.php

    r3143034 r3165290  
    149149
    150150    /**
     151     * Returns the contentInputSource for the record.
     152     *
     153     * @param string $post_id The post ID.
     154     */
     155    private function build_content_input_source( $post_id ) {
     156            // these are elements from the user-agent, see class-wp-http.php.
     157        return array(
     158            'type'        => 'cms',
     159            'cmsRecordId' => $post_id,
     160            'cmsProvider' => 'WordPress/' . get_bloginfo( 'version' ),
     161            'cmsName'     => get_bloginfo( 'url' ),
     162        );
     163    }
     164
     165    /**
    151166     * Gets a text summary
    152167     *
     
    156171     * @param string $brand_id The brand ID to use.
    157172     * @param bool   $queue Whether to queue the request or return immediately.
    158      */
    159     public function get_text_summary( $text, $length_option, $regenerate, $brand_id, $queue ) {
     173     * @param string $post_id The post ID.
     174     */
     175    public function get_text_summary( $text, $length_option, $regenerate, $brand_id, $queue, $post_id ) {
    160176        return $this->make_request(
    161177            'POST',
     
    163179            array(
    164180                'body' => array(
    165                     'text'         => $text,
    166                     'lengthOption' => $length_option,
    167                     'regenerate'   => $regenerate,
    168                     'brandId'      => $brand_id,
    169                     'queue'        => $queue,
     181                    'text'               => $text,
     182                    'lengthOption'       => $length_option,
     183                    'regenerate'         => $regenerate,
     184                    'brandId'            => $brand_id,
     185                    'queue'              => $queue,
     186                    'contentInputSource' => $this->build_content_input_source( $post_id ),
    170187                ),
    171188            )
     
    178195     * @param string $text Text to get keywords from.
    179196     * @param bool   $regenerate Whether to regenerate the value.
    180      */
    181     public function get_text_hashtags( $text, $regenerate ) {
     197     * @param string $post_id The post ID.
     198     */
     199    public function get_text_hashtags( $text, $regenerate, $post_id ) {
    182200        return $this->make_request(
    183201            'POST',
     
    185203            array(
    186204                'body' => array(
    187                     'text'       => $text,
    188                     'regenerate' => $regenerate,
     205                    'text'               => $text,
     206                    'regenerate'         => $regenerate,
     207                    'contentInputSource' => $this->build_content_input_source( $post_id ),
    189208                ),
    190209            )
     
    256275     * @param string $brand_id The brand ID to use.
    257276     * @param bool   $queue Whether to queue the request or return immediately.
    258      */
    259     public function get_text_headlines( $text, $count, $regenerate, $brand_id, $queue ) {
     277     * @param string $post_id The post ID.
     278     */
     279    public function get_text_headlines( $text, $count, $regenerate, $brand_id, $queue, $post_id ) {
    260280        return $this->make_request(
    261281            'POST',
     
    263283            array(
    264284                'body' => array(
    265                     'text'              => $text,
    266                     'count'             => $count,
    267                     'itemCharactersMax' => ! empty( $this->settings->get_option( 'headline_max_characters' ) ) ? $this->settings->get_option( 'headline_max_characters' ) : null,
    268                     'regenerate'        => $regenerate,
    269                     'headlineCase'      => ! empty( $this->settings->get_option( 'headline_casing' ) ) ? $this->settings->get_option( 'headline_casing' ) : null,
    270                     'brandId'           => $brand_id,
    271                     'queue'             => $queue,
     285                    'text'               => $text,
     286                    'count'              => $count,
     287                    'itemCharactersMax'  => ! empty( $this->settings->get_option( 'headline_max_characters' ) ) ? $this->settings->get_option( 'headline_max_characters' ) : null,
     288                    'regenerate'         => $regenerate,
     289                    'headlineCase'       => ! empty( $this->settings->get_option( 'headline_casing' ) ) ? $this->settings->get_option( 'headline_casing' ) : null,
     290                    'brandId'            => $brand_id,
     291                    'queue'              => $queue,
     292                    'contentInputSource' => $this->build_content_input_source( $post_id ),
    272293                ),
    273294            )
     
    281302     * @param int    $count Number of slugs to get.
    282303     * @param bool   $regenerate Whether to regenerate the value.
    283      */
    284     public function get_text_slugs( $text, $count, $regenerate ) {
     304     * @param string $post_id The post ID.
     305     */
     306    public function get_text_slugs( $text, $count, $regenerate, $post_id ) {
    285307        return $this->make_request(
    286308            'POST',
     
    288310            array(
    289311                'body' => array(
    290                     'text'       => $text,
    291                     'count'      => $count,
    292                     'regenerate' => $regenerate,
     312                    'text'               => $text,
     313                    'count'              => $count,
     314                    'regenerate'         => $regenerate,
     315                    'contentInputSource' => $this->build_content_input_source( $post_id ),
    293316                ),
    294317            )
     
    305328     * @param bool   $seo_ranking Enable SEO ranking.
    306329     * @param bool   $queue Whether to queue the request or return immediately.
    307      */
    308     public function get_text_keywords( $text, $count, $variability, $regenerate, $seo_ranking, $queue ) {
     330     * @param string $post_id The post ID.
     331     */
     332    public function get_text_keywords( $text, $count, $variability, $regenerate, $seo_ranking, $queue, $post_id ) {
    309333        return $this->make_request(
    310334            'POST',
     
    312336            array(
    313337                'body' => array(
    314                     'text'        => $text,
    315                     'count'       => $count,
    316                     'variability' => $variability,
    317                     'regenerate'  => $regenerate,
    318                     'seoRanking'  => $seo_ranking,
    319                     'queue'       => $queue,
     338                    'text'               => $text,
     339                    'count'              => $count,
     340                    'variability'        => $variability,
     341                    'regenerate'         => $regenerate,
     342                    'seoRanking'         => $seo_ranking,
     343                    'queue'              => $queue,
     344                    'contentInputSource' => $this->build_content_input_source( $post_id ),
    320345                ),
    321346            )
     
    330355     * @param bool   $regenerate Whether to regenerate the value.
    331356     * @param bool   $queue Whether to queue the request or return immediately.
    332      */
    333     public function get_text_entities( $text, $variability, $regenerate, $queue ) {
     357     * @param string $post_id The post ID.
     358     */
     359    public function get_text_entities( $text, $variability, $regenerate, $queue, $post_id ) {
    334360        return $this->make_request(
    335361            'POST',
     
    337363            array(
    338364                'body' => array(
    339                     'text'        => $text,
    340                     'variability' => $variability,
    341                     'regenerate'  => $regenerate,
    342                     'queue'       => $queue,
     365                    'text'               => $text,
     366                    'variability'        => $variability,
     367                    'regenerate'         => $regenerate,
     368                    'queue'              => $queue,
     369                    'contentInputSource' => $this->build_content_input_source( $post_id ),
    343370                ),
    344371            )
     
    355382     * @param string $brand_id The brand ID to use.
    356383     * @param bool   $queue Whether to queue the request or return immediately.
    357      */
    358     public function get_text_meta_descriptions( $text, $count, $variability, $regenerate, $brand_id, $queue ) {
     384     * @param string $post_id The post ID.
     385     */
     386    public function get_text_meta_descriptions( $text, $count, $variability, $regenerate, $brand_id, $queue, $post_id ) {
    359387        return $this->make_request(
    360388            'POST',
     
    362390            array(
    363391                'body' => array(
    364                     'text'        => $text,
    365                     'count'       => $count,
    366                     'variability' => $variability,
    367                     'regenerate'  => $regenerate,
    368                     'brandId'     => $brand_id,
    369                     'queue'       => $queue,
     392                    'text'               => $text,
     393                    'count'              => $count,
     394                    'variability'        => $variability,
     395                    'regenerate'         => $regenerate,
     396                    'brandId'            => $brand_id,
     397                    'queue'              => $queue,
     398                    'contentInputSource' => $this->build_content_input_source( $post_id ),
    370399                ),
    371400            )
     
    382411     * @param string $brand_id The brand ID to use.
    383412     * @param bool   $queue Whether to queue the request or return immediately.
    384      */
    385     public function get_text_meta_titles( $text, $count, $variability, $regenerate, $brand_id, $queue ) {
     413     * @param string $post_id The post ID.
     414     */
     415    public function get_text_meta_titles( $text, $count, $variability, $regenerate, $brand_id, $queue, $post_id ) {
    386416        return $this->make_request(
    387417            'POST',
     
    389419            array(
    390420                'body' => array(
    391                     'text'        => $text,
    392                     'count'       => $count,
    393                     'variability' => $variability,
    394                     'regenerate'  => $regenerate,
    395                     'titleCase'   => ! empty( $this->settings->get_option( 'meta_title_casing' ) ) ? $this->settings->get_option( 'meta_title_casing' ) : null,
    396                     'brandId'     => $brand_id,
    397                     'queue'       => $queue,
     421                    'text'               => $text,
     422                    'count'              => $count,
     423                    'variability'        => $variability,
     424                    'regenerate'         => $regenerate,
     425                    'titleCase'          => ! empty( $this->settings->get_option( 'meta_title_casing' ) ) ? $this->settings->get_option( 'meta_title_casing' ) : null,
     426                    'brandId'            => $brand_id,
     427                    'queue'              => $queue,
     428                    'contentInputSource' => $this->build_content_input_source( $post_id ),
    398429                ),
    399430            )
     
    410441     * @param bool   $queue Whether to queue the request or return immediately.
    411442     * @param string $brand_id The brand ID to use.
    412      */
    413     public function get_text_social_posts( $text, $platform, $count, $regenerate, $queue, $brand_id ) {
     443     * @param string $post_id The post ID.
     444     */
     445    public function get_text_social_posts( $text, $platform, $count, $regenerate, $queue, $brand_id, $post_id ) {
    414446        return $this->make_request(
    415447            'POST',
     
    417449            array(
    418450                'body' => array(
    419                     'text'       => $text,
    420                     'platform'   => $platform,
    421                     'count'      => $count,
    422                     'regenerate' => $regenerate,
    423                     'style'      => ! empty( $this->settings->get_option( 'social_post_style' ) ) ? $this->settings->get_option( 'social_post_style' ) : null,
    424                     'queue'      => $queue,
    425                     'brandId'    => $brand_id,
     451                    'text'               => $text,
     452                    'platform'           => $platform,
     453                    'count'              => $count,
     454                    'regenerate'         => $regenerate,
     455                    'style'              => ! empty( $this->settings->get_option( 'social_post_style' ) ) ? $this->settings->get_option( 'social_post_style' ) : null,
     456                    'queue'              => $queue,
     457                    'brandId'            => $brand_id,
     458                    'contentInputSource' => $this->build_content_input_source( $post_id ),
    426459                ),
    427460            )
     
    435468     * @param int    $count Number of titles to get.
    436469     * @param bool   $regenerate Whether to regenerate the value.
    437      */
    438     public function get_text_sms_messages( $text, $count, $regenerate ) {
     470     * @param string $post_id The post ID.
     471     */
     472    public function get_text_sms_messages( $text, $count, $regenerate, $post_id ) {
    439473        return $this->make_request(
    440474            'POST',
     
    442476            array(
    443477                'body' => array(
    444                     'text'       => $text,
    445                     'count'      => $count,
    446                     'regenerate' => $regenerate,
     478                    'text'               => $text,
     479                    'count'              => $count,
     480                    'regenerate'         => $regenerate,
     481                    'contentInputSource' => $this->build_content_input_source( $post_id ),
    447482                ),
    448483            )
     
    457492     * @param bool   $regenerate Whether to regenerate the value.
    458493     * @param array  $exclude The quotes to exclude.
    459      */
    460     public function get_text_quotes( $text, $count, $regenerate, $exclude ) {
     494     * @param string $post_id The post ID.
     495     */
     496    public function get_text_quotes( $text, $count, $regenerate, $exclude, $post_id ) {
    461497        return $this->make_request(
    462498            'POST',
     
    464500            array(
    465501                'body' => array(
    466                     'text'       => $text,
    467                     'count'      => $count,
    468                     'regenerate' => $regenerate,
    469                     'exclude'    => $exclude,
     502                    'text'               => $text,
     503                    'count'              => $count,
     504                    'regenerate'         => $regenerate,
     505                    'exclude'            => $exclude,
     506                    'contentInputSource' => $this->build_content_input_source( $post_id ),
    470507                ),
    471508            )
     
    573610        );
    574611    }
     612
     613    /**
     614     * Gets a batch of related keywords.
     615     *
     616     * @param string[] $keywords The keyword to compare.
     617     * @param string   $text The used used for context.
     618     * @param bool     $queue Whether to queue the request or return immediately.
     619     */
     620    public function get_related_keywords_batch( $keywords, $text, $queue ) {
     621        return $this->make_request(
     622            'POST',
     623            'wordpress/v1/seo/batch-related-keywords',
     624            array(
     625                'body' => array(
     626                    'keywords' => $keywords,
     627                    'text'     => $text,
     628                    'queue'    => $queue,
     629                ),
     630            )
     631        );
     632    }
    575633}
  • nota-ai-tools/trunk/includes/class-nota-post-tools.php

    r3094088 r3165290  
    225225                'notaTools',
    226226                [
     227                    'postId'                => get_the_ID() ? get_the_ID() : 0,
    227228                    'ajaxUrl'               => admin_url( 'admin-ajax.php' ),
    228229                    'metadata'              => $this->get_nota_metadata( get_the_ID() ),
  • nota-ai-tools/trunk/includes/class-nota-wp-rest.php

    r3143034 r3165290  
    7373        $safe_request['postHTML'] = $valid_post_html ? (string) $request['nota']['postHTML'] : '';
    7474        $safe_request['postText'] = $this->trim_html( $safe_request['postHTML'] );
     75        $safe_request['postId']   = isset( $_SERVER['HTTP_NOTA_POST_ID'] ) ? (int) $_SERVER['HTTP_NOTA_POST_ID'] : 0;
    7576
    7677        // sanitize count.
     
    124125            'adjust_text_tone'           => array( $this, 'adjust_text_tone' ),
    125126            'get_related_keywords'       => array( $this, 'get_related_keywords' ),
     127            'get_related_keywords_batch' => array( $this, 'get_related_keywords_batch' ),
    126128        );
    127129        if ( ! $payload['nota_action'] || ! isset( $actions[ $payload['nota_action'] ] ) ) {
     
    177179        $queue         = (bool) isset( $data['queue'] ) ? $data['queue'] : false;
    178180
    179         return $this->api->get_text_summary( $text, $length_option, $regenerate, $brand_id, $queue );
     181        return $this->api->get_text_summary( $text, $length_option, $regenerate, $brand_id, $queue, $data['postId'] );
    180182    }
    181183
     
    194196        $regenerate = isset( $data['regenerate'] ) ? $data['regenerate'] : false;
    195197
    196         return $this->api->get_text_hashtags( $text, $regenerate );
     198        return $this->api->get_text_hashtags( $text, $regenerate, $data['postId'] );
    197199    }
    198200
     
    214216        $queue      = (bool) isset( $data['queue'] ) ? $data['queue'] : false;
    215217
    216         return $this->api->get_text_headlines( $text, $count, $regenerate, $brand_id, $queue );
     218        return $this->api->get_text_headlines( $text, $count, $regenerate, $brand_id, $queue, $data['postId'] );
    217219    }
    218220
     
    233235        $regenerate = isset( $data['regenerate'] ) ? $data['regenerate'] : false;
    234236
    235         return $this->api->get_text_slugs( $text, $count, $regenerate );
     237        return $this->api->get_text_slugs( $text, $count, $regenerate, $data['postId'] );
    236238    }
    237239
     
    255257        $variability = 0.3;
    256258
    257         return $this->api->get_text_keywords( $text, $count, $variability, $regenerate, $data['seoRanking'], $queue );
     259        return $this->api->get_text_keywords( $text, $count, $variability, $regenerate, $data['seoRanking'], $queue, $data['postId'] );
    258260    }
    259261
     
    277279        $variability = 0.3;
    278280
    279         return $this->api->get_text_entities( $text, $variability, $regenerate, $queue );
     281        return $this->api->get_text_entities( $text, $variability, $regenerate, $queue, $data['postId'] );
    280282    }
    281283
     
    300302        $variability = 0.3;
    301303
    302         return $this->api->get_text_meta_descriptions( $text, $count, $variability, $regenerate, $brand_id, $queue );
     304        return $this->api->get_text_meta_descriptions( $text, $count, $variability, $regenerate, $brand_id, $queue, $data['postId'] );
    303305    }
    304306
     
    323325        $variability = 0.3;
    324326
    325         return $this->api->get_text_meta_titles( $text, $count, $variability, $regenerate, $brand_id, $queue );
     327        return $this->api->get_text_meta_titles( $text, $count, $variability, $regenerate, $brand_id, $queue, $data['postId'] );
    326328    }
    327329
     
    349351        $brand_id   = isset( $data['brandId'] ) ? $data['brandId'] : null;
    350352
    351         return $this->api->get_text_social_posts( $text, $platform, $count, $regenerate, $queue, $brand_id );
     353        return $this->api->get_text_social_posts( $text, $platform, $count, $regenerate, $queue, $brand_id, $data['postId'] );
    352354    }
    353355
     
    368370        $regenerate = isset( $data['regenerate'] ) ? $data['regenerate'] : false;
    369371
    370         return $this->api->get_text_sms_messages( $text, $count, $regenerate );
     372        return $this->api->get_text_sms_messages( $text, $count, $regenerate, $data['postId'] );
    371373    }
    372374   
     
    391393        $sanitised_exclude = array_map( 'strval', $exclude );
    392394
    393         return $this->api->get_text_quotes( $text, $count, $regenerate, $sanitised_exclude );
     395        return $this->api->get_text_quotes( $text, $count, $regenerate, $sanitised_exclude, $data['postId'] );
    394396    }
    395397
     
    533535        return $this->api->get_related_keywords( $keyword, $text, $queue );
    534536    }
     537
     538    /**
     539     * Gets a batch of related keywords.
     540     *
     541     * @param array $data Data sent with the request.
     542     */
     543    private function get_related_keywords_batch( $data ) {
     544        if ( ! isset( $data['keywords'] ) || ! is_array( $data['keywords'] ) ) {
     545            wp_send_json_error( array( 'message' => 'Missing required keywords' ), 400 );
     546            return;
     547        }
     548
     549        $keywords = array_map( 'sanitize_text_field', $data['keywords'] );
     550        $text     = $data['postText'];
     551        $queue    = (bool) isset( $data['queue'] ) ? $data['queue'] : false;
     552
     553        return $this->api->get_related_keywords_batch( $keywords, $text, $queue );
     554    }
    535555}
  • nota-ai-tools/trunk/nota-wordpress-plugin.php

    r3147208 r3165290  
    33 * Plugin Name: Nota Tools
    44 * Description: Nota’s assistive AI tools help publishers create headlines, summaries, SEO keywords and more.
    5  * Version: 0.12.1
     5 * Version: 0.12.2
    66 * Author: Nota
    77 * Author URI: https://heynota.com
     
    1414defined( 'ABSPATH' ) || exit;
    1515
    16 define( 'NOTA_PLUGIN_VERSION', '0.12.1' );
     16define( 'NOTA_PLUGIN_VERSION', '0.12.2' );
    1717
    1818if ( ! defined( 'NOTA_PLUGIN_FILE' ) ) {
  • nota-ai-tools/trunk/readme.txt

    r3147208 r3165290  
    44License URI: http://www.gnu.org/licenses/gpl.html
    55Requires PHP: 7.2.5
    6 Stable tag: 0.12.1
     6Stable tag: 0.12.2
    77Tested up to: 6.5.3
    88
Note: See TracChangeset for help on using the changeset viewer.