← Back
Editing: index.js
(()=>{var e={66(e,t,n){var o=n(488);e.exports=function(e){return"function"==typeof e?e:o}},72(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,r=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case u:case d:case i:case s:case r:case h:return e;default:switch(e=e&&e.$$typeof){case c:case p:case v:case m:case l:return e;default:return t}}case a:return t}}}function k(e){return x(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=o,t.ForwardRef=p,t.Fragment=i,t.Lazy=v,t.Memo=m,t.Portal=a,t.Profiler=s,t.StrictMode=r,t.Suspense=h,t.isAsyncMode=function(e){return k(e)||x(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return x(e)===p},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===v},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===a},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===r},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===r||e===h||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=x},96(e){e.exports=function(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}},108(e,t,n){var o=n(788);e.exports=function(e,t){var n,a=null;if(!e||"string"!=typeof e)return a;for(var i,r,s=o(e),l="function"==typeof t,c=0,u=s.length;c<u;c++)i=(n=s[c]).property,r=n.value,l?t(i,r,n):r&&(a||(a={}),a[i]=r);return a}},128(e,t,n){var o=n(800),a=/^\s+/;e.exports=function(e){return e?e.slice(0,o(e)+1).replace(a,""):e}},141(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,a)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=n(413),r=n(957);a(n(957),t);var s=/\s+/g,l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},c=function(){function e(e,t,n){this.dom=[],this.root=new r.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=l),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:l,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new r.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?i.ElementType.Tag:void 0,o=new r.Element(e,t,void 0,n);this.addNode(o),this.tagStack.push(o)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,n=this.lastNode;if(n&&n.type===i.ElementType.Text)t?n.data=(n.data+e).replace(s," "):n.data+=e,this.options.withEndIndices&&(n.endIndex=this.parser.endIndex);else{t&&(e=e.replace(s," "));var o=new r.Text(e);this.addNode(o),this.lastNode=o}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new r.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new r.Text(""),t=new r.NodeWithChildren(i.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new r.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=c,t.default=c},146(e,t,n){"use strict";var o=n(404),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return o.isMemo(e)?r:s[e.$$typeof]||a}s[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[o.Memo]=r;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,o){if("string"!=typeof n){if(f){var a=h(n);a&&a!==f&&e(t,a,o)}var r=u(n);d&&(r=r.concat(d(n)));for(var s=l(t),m=l(n),v=0;v<r.length;++v){var g=r[v];if(!(i[g]||o&&o[g]||m&&m[g]||s&&s[g])){var y=p(n,g);try{c(t,g,y)}catch(e){}}}}return t}},210(e,t,n){"use strict";function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function a(e,t,n,o,a,i,r){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=o,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=r}Object.defineProperty(t,"__esModule",{value:!0});var i={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(function(e){i[e]=new a(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t,n,r=(n=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,a,i=[],_n=!0,r=!1;try{for(n=n.call(e);!(_n=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);_n=!0);}catch(e){r=!0,a=e}finally{try{_n||null==n.return||n.return()}finally{if(r)throw a}}return i}}(t,n)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=r[0],l=r[1];i[s]=new a(s,1,!1,l,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){i[e]=new a(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){i[e]=new a(e,2,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){i[e]=new a(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){i[e]=new a(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){i[e]=new a(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){i[e]=new a(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){i[e]=new a(e,5,!1,e.toLowerCase(),null,!1,!1)});var r=/[\-\:]([a-z])/g,s=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(r,s);i[t]=new a(t,1,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(r,s);i[t]=new a(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(r,s);i[t]=new a(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){i[e]=new a(e,1,!1,e.toLowerCase(),null,!1,!1)}),i.xlinkHref=new a("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){i[e]=new a(e,1,!1,e.toLowerCase(),null,!0,!0)});var l=n(811),c=l.CAMELCASE,u=l.SAME,d=l.possibleStandardNames,p=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),h=Object.keys(d).reduce(function(e,t){var n=d[t];return n===u?e[t]=t:n===c?e[t.toLowerCase()]=t:e[t]=n,e},{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return i.hasOwnProperty(e)?i[e]:null},t.isCustomAttribute=p,t.possibleStandardNames=h},229(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var a=o(n(108)),i=n(917);t.default=function(e,t){var n={};return e&&"string"==typeof e?((0,a.default)(e,function(e,o){e&&o&&(n[(0,i.camelCase)(e,t)]=o)}),n):n}},270(e){e.exports={CASE_SENSITIVE_TAG_NAMES:["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]}},308(e,t,n){var o=n(609),a=n(840),i=n(958),r=i.setStyleProp,s=i.canTextBeChildOfNode;function l(e){return i.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&i.isCustomComponent(e.name,e.attribs)}e.exports=function e(t,n){for(var i,c,u,d,p,h=(n=n||{}).library||o,f=h.cloneElement,m=h.createElement,v=h.isValidElement,g=[],y="function"==typeof n.replace,b=n.trim,w=0,x=t.length;w<x;w++)if(i=t[w],y&&v(u=n.replace(i)))x>1&&(u=f(u,{key:u.key||w})),g.push(u);else if("text"!==i.type){switch(d=i.attribs,l(i)?r(d.style,d):d&&(d=a(d)),p=null,i.type){case"script":case"style":i.children[0]&&(d.dangerouslySetInnerHTML={__html:i.children[0].data});break;case"tag":"textarea"===i.name&&i.children[0]?d.defaultValue=i.children[0].data:i.children&&i.children.length&&(p=e(i.children,n));break;default:continue}x>1&&(d.key=w),g.push(m(i.name,d,p))}else{if((c=!i.data.trim().length)&&i.parent&&!s(i.parent))continue;if(b&&c)continue;g.push(i.data)}return 1===g.length?g[0]:g}},325(e,t,n){var o=n(459),a="object"==typeof self&&self&&self.Object===Object&&self,i=o||a||Function("return this")();e.exports=i},346(e){e.exports=function(e){return null!=e&&"object"==typeof e}},350(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},374(e,t,n){var o=n(128),a=n(805),i=n(394),r=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=o(e);var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):r.test(e)?NaN:+e}},394(e,t,n){var o=n(552),a=n(346);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==o(e)}},400(e,t,n){var o=n(374),a=1/0;e.exports=function(e){return e?(e=o(e))===a||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},404(e,t,n){"use strict";e.exports=n(72)},413(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},459(e){var t="object"==typeof globalThis&&globalThis&&globalThis.Object===Object&&globalThis;e.exports=t},471(e,t,n){var o=n(496),a=n(731).formatDOM,i=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(i);return n&&n[1]&&(t=n[1]),a(o(e),null,t)}},488(e){e.exports=function(e){return e}},489(e,t,n){var o=n(400);e.exports=function(e){var t=o(e),n=t%1;return t==t?n?t-n:t:0}},496(e,t,n){var o="html",a="head",i="body",r=/<([a-zA-Z]+[0-9]?)/,s=/<head.*>/i,l=/<body.*>/i,c=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},u=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var d=new window.DOMParser;c=u=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),d.parseFromString(e,"text/html")}}if(document.implementation){var p=n(731).isIE,h=document.implementation.createHTMLDocument(p()?"html-dom-parser":void 0);c=function(e,t){return t?(h.documentElement.getElementsByTagName(t)[0].innerHTML=e,h):(h.documentElement.innerHTML=e,h)}}var f,m=document.createElement("template");m.content&&(f=function(e){return m.innerHTML=e,m.content.childNodes}),e.exports=function(e){var t,n,d,p,h=e.match(r);switch(h&&h[1]&&(t=h[1].toLowerCase()),t){case o:return n=u(e),s.test(e)||(d=n.getElementsByTagName(a)[0])&&d.parentNode.removeChild(d),l.test(e)||(d=n.getElementsByTagName(i)[0])&&d.parentNode.removeChild(d),n.getElementsByTagName(o);case a:case i:return p=c(e).getElementsByTagName(t),l.test(e)&&s.test(e)?p[0].parentNode.childNodes:p;default:return f?f(e):c(e,i).getElementsByTagName(i)[0].childNodes}}},552(e,t,n){var o=n(873),a=n(659),i=n(350),r=o?o.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?a(e):i(e)}},609(e){"use strict";e.exports=window.React},614(e,t,n){var o=n(308),a=n(840),i=n(471);i="function"==typeof i.default?i.default:i;var r={lowerCaseAttributeNames:!1};function s(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:o(i(e,(t=t||{}).htmlparser2||r),t)}s.domToReact=o,s.htmlToDOM=i,s.attributesToProps=a,s.Element=n(141).Element,e.exports=s,e.exports.default=s},638(e,t,n){var o=n(96),a=n(66),i=n(489),r=4294967295,s=Math.min;e.exports=function(e,t){if((e=i(e))<1||e>9007199254740991)return[];var n=r,l=s(e,r);t=a(t),e-=r;for(var c=o(l,t);++n<e;)t(n);return c}},659(e,t,n){var o=n(873),a=Object.prototype,i=a.hasOwnProperty,r=a.toString,s=o?o.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var o=!0}catch(e){}var a=r.call(e);return o&&(t?e[s]=n:delete e[s]),a}},731(e,t,n){for(var o,a=n(270),i=n(957),r=a.CASE_SENSITIVE_TAG_NAMES,s=i.Comment,l=i.Element,c=i.ProcessingInstruction,u=i.Text,d={},p=0,h=r.length;p<h;p++)o=r[p],d[o.toLowerCase()]=o;function f(e){for(var t,n={},o=0,a=e.length;o<a;o++)n[(t=e[o]).name]=t.value;return n}function m(e){return function(e){return d[e]}(e=e.toLowerCase())||e}e.exports={formatAttributes:f,formatDOM:function e(t,n,o){n=n||null;for(var a=[],i=0,r=t.length;i<r;i++){var d,p=t[i];switch(p.nodeType){case 1:(d=new l(m(p.nodeName),f(p.attributes))).children=e(p.childNodes,d);break;case 3:d=new u(p.nodeValue);break;case 8:d=new s(p.nodeValue);break;default:continue}var h=a[i-1]||null;h&&(h.next=d),d.parent=n,d.prev=h,d.next=null,a.push(d)}return o&&((d=new c(o.substring(0,o.indexOf(" ")).toLowerCase(),o)).next=a[0]||null,d.parent=n,a.unshift(d),a[1]&&(a[1].prev=a[0])),a},isIE:function(){return/(MSIE |Trident\/|Edge\/)/.test(navigator.userAgent)}}},788(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,o=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,r=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var d=1,p=1;function h(e){var t=e.match(n);t&&(d+=t.length);var o=e.lastIndexOf("\n");p=~o?e.length-o:p+e.length}function f(){var e={line:d,column:p};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:d,column:p},this.source=l.source}m.prototype.content=e;var v=[];function g(t){var n=new Error(l.source+":"+d+":"+p+": "+t);if(n.reason=t,n.filename=l.source,n.line=d,n.column=p,n.source=e,!l.silent)throw n;v.push(n)}function y(t){var n=t.exec(e);if(n){var o=n[0];return h(o),e=e.slice(o.length),n}}function b(){y(o)}function w(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=f();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return g("End of comment missing");var o=e.slice(2,n-2);return p+=2,h(o),e=e.slice(n),p+=2,t({type:"comment",comment:o})}}function k(){var e=f(),n=y(a);if(n){if(x(),!y(i))return g("property missing ':'");var o=y(r),l=e({type:"declaration",property:u(n[0].replace(t,c)),value:o?u(o[0].replace(t,c)):c});return y(s),l}}return b(),function(){var e,t=[];for(w(t);e=k();)!1!==e&&(t.push(e),w(t));return t}()}},800(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},805(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},811(e,t){t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},840(e,t,n){var o=n(210),a=n(958);function i(e){return o.possibleStandardNames[e]}e.exports=function(e){var t,n,r,s,l,c={},u=(e=e||{}).type&&{reset:!0,submit:!0}[e.type];for(t in e)if(r=e[t],o.isCustomAttribute(t))c[t]=r;else if(s=i(n=t.toLowerCase()))switch(l=o.getPropertyInfo(s),"checked"!==s&&"value"!==s||u||(s=i("default"+n)),c[s]=r,l&&l.type){case o.BOOLEAN:c[s]=!0;break;case o.OVERLOADED_BOOLEAN:""===r&&(c[s]=!0)}else a.PRESERVE_CUSTOM_ATTRIBUTES&&(c[t]=r);return a.setStyleProp(e.style,c),c}},873(e,t,n){var o=n(325).Symbol;e.exports=o},917(e,t){"use strict";t.__esModule=!0,t.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,o=/-([a-z])/g,a=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,r=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||a.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(r,l):e.replace(i,l)).replace(o,s))}},957(e,t,n){"use strict";var o,a=this&&this.__extends||(o=function(e,t){return o=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])},o(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}o(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var r=n(413),s=new Map([[r.ElementType.Tag,1],[r.ElementType.Script,1],[r.ElementType.Style,1],[r.ElementType.Directive,1],[r.ElementType.Text,3],[r.ElementType.CDATA,4],[r.ElementType.Comment,8],[r.ElementType.Root,9]]),l=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=s.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),k(this,e)},e}();t.Node=l;var c=function(e){function t(t,n){var o=e.call(this,t)||this;return o.data=n,o}return a(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(l);t.DataNode=c;var u=function(e){function t(t){return e.call(this,r.ElementType.Text,t)||this}return a(t,e),t}(c);t.Text=u;var d=function(e){function t(t){return e.call(this,r.ElementType.Comment,t)||this}return a(t,e),t}(c);t.Comment=d;var p=function(e){function t(t,n){var o=e.call(this,r.ElementType.Directive,n)||this;return o.name=t,o}return a(t,e),t}(c);t.ProcessingInstruction=p;var h=function(e){function t(t,n){var o=e.call(this,t)||this;return o.children=n,o}return a(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(l);t.NodeWithChildren=h;var f=function(e){function t(t){return e.call(this,r.ElementType.Root,t)||this}return a(t,e),t}(h);t.Document=f;var m=function(e){function t(t,n,o,a){void 0===o&&(o=[]),void 0===a&&(a="script"===t?r.ElementType.Script:"style"===t?r.ElementType.Style:r.ElementType.Tag);var i=e.call(this,a,o)||this;return i.name=t,i.attribs=n,i}return a(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var n,o;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(o=e["x-attribsPrefix"])||void 0===o?void 0:o[t]}})},enumerable:!1,configurable:!0}),t}(h);function v(e){return(0,r.isTag)(e)}function g(e){return e.type===r.ElementType.CDATA}function y(e){return e.type===r.ElementType.Text}function b(e){return e.type===r.ElementType.Comment}function w(e){return e.type===r.ElementType.Directive}function x(e){return e.type===r.ElementType.Root}function k(e,t){var n;if(void 0===t&&(t=!1),y(e))n=new u(e.data);else if(b(e))n=new d(e.data);else if(v(e)){var o=t?C(e.children):[],a=new m(e.name,i({},e.attribs),o);o.forEach(function(e){return e.parent=a}),null!=e.namespace&&(a.namespace=e.namespace),e["x-attribsNamespace"]&&(a["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(a["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=a}else if(g(e)){o=t?C(e.children):[];var s=new h(r.ElementType.CDATA,o);o.forEach(function(e){return e.parent=s}),n=s}else if(x(e)){o=t?C(e.children):[];var l=new f(o);o.forEach(function(e){return e.parent=l}),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),n=l}else{if(!w(e))throw new Error("Not implemented yet: ".concat(e.type));var c=new p(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),n=c}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function C(e){for(var t=e.map(function(e){return k(e,!0)}),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=m,t.isTag=v,t.isCDATA=g,t.isText=y,t.isComment=b,t.isDirective=w,t.isDocument=x,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=k},958(e,t,n){var o=n(609),a=n(229).default,i={reactCompat:!0},r=o.version.split(".")[0]>=16,s=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:r,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var n,o,a="function"==typeof t,i={},r={};for(n in e)o=e[n],a&&(i=t(n,o))&&2===i.length?r[i[0]]=i[1]:"string"==typeof o&&(r[o]=n);return r},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=a(e,i)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!s.has(e.name)},elementsWithNoTextChildren:s}}},t={};function n(o){var a=t[o];if(void 0!==a)return a.exports;var i=t[o]={exports:{}};return e[o].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=window.wp.plugins,t=window.wp.components,o=window.wp.compose,a=window.wp.data,i=window.wp.editPost,r=window.wp.i18n;var s=n(614);s.domToReact,s.htmlToDOM,s.attributesToProps,s.Element;const l=s;var c=n(609);const u=JSON.parse("{\"footer-adv-layout-1\":\"<svg width='100' height='70' viewBox='0 0 100 70' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M10 12C10 10.8954 10.8954 10 12 10H88C89.1046 10 90 10.8954 90 12V70H10V12Z' fill='white'></path><rect x='17' y='31' width='66' height='18' fill='#DADDE2'></rect></svg>\",\"footer-adv-layout-2\":\"<svg width='100' height='70' viewBox='0 0 100 70' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M10 12C10 10.8954 10.8954 10 12 10H88C89.1046 10 90 10.8954 90 12V70H10V12Z' fill='white'/><rect x='17' y='31' width='32' height='18' fill='#DADDE2'/><rect x='51' y='31' width='32' height='18' fill='#DADDE2'/></svg>\",\"footer-adv-layout-3\":\"<svg width='100' height='70' viewBox='0 0 100 70' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M10 12C10 10.8954 10.8954 10 12 10H88C89.1046 10 90 10.8954 90 12V70H10V12Z' fill='white'/><rect x='15' y='30' width='22' height='18' fill='#DADDE2'/><rect x='39' y='30' width='22' height='18' fill='#DADDE2'/><rect x='63' y='30' width='22' height='18' fill='#DADDE2'/></svg>\",\"footer-adv-layout-5\":\"<svg width='100' height='70' viewBox='0 0 100 70' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M10 12C10 10.8954 10.8954 10 12 10H88C89.1046 10 90 10.8954 90 12V70H10V12Z' fill='white'/><rect x='16' y='31' width='12' height='18' fill='#DADDE2'/><rect x='30' y='31' width='12' height='18' fill='#DADDE2'/><rect x='44' y='31' width='12' height='18' fill='#DADDE2'/><rect x='58' y='31' width='12' height='18' fill='#DADDE2'/><rect x='72' y='31' width='12' height='18' fill='#DADDE2'/></svg>\",\"footer-adv-layout-6\":\"<svg width='100' height='70' viewBox='0 0 100 70' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M10 12C10 10.8954 10.8954 10 12 10H88C89.1046 10 90 10.8954 90 12V70H10V12Z' fill='white'></path><rect x='15' y='31' width='42' height='18' fill='#DADDE2'></rect><rect x='73' y='31' width='12' height='18' fill='#DADDE2'></rect><rect x='59' y='31' width='12' height='18' fill='#DADDE2'></rect></svg>\",\"footer-adv-layout-7\":\"<svg width='100' height='70' viewBox='0 0 100 70' fill='none' xmlns='http://www.w3.org/2000/svg'> <path d='M10 12C10 10.8954 10.8954 10 12 10H88C89.1046 10 90 10.8954 90 12V70H10V12Z' fill='white'/> <rect x='15' y='36' width='42' height='17' fill='#DADDE2'/> <rect x='73' y='36' width='12' height='17' fill='#DADDE2'/> <rect x='59' y='36' width='12' height='17' fill='#DADDE2'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M85 33H15V30H85V33Z' fill='#DADDE2'/> </svg>\",\"above-header-layout-1\":\"<svg width='100' height='70' viewBox='0 0 100 70' fill='none' xmlns='http://www.w3.org/2000/svg'> <path d='M10 12C10 10.8954 10.8954 10 12 10H88C89.1046 10 90 10.8954 90 12V70H10V12Z' fill='white'/> <path d='M10 12C10 10.8954 10.8954 10 12 10H88C89.1046 10 90 10.8954 90 12V22H10V12Z' fill='#DADDE2'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M62 16.5H15V15H62V16.5Z' fill='white'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M72.5 16.5H71V15H72.5V16.5Z' fill='white'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M75.5 16.5H74V15H75.5V16.5Z' fill='white'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M78.5 16.5H77V15H78.5V16.5Z' fill='white'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M81.5 16.5H80V15H81.5V16.5Z' fill='white'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M84.5 16.5H83V15H84.5V16.5Z' fill='white'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M27 31H15V27H27V31Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M53 30H38V28H53V30Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M69 30H54V28H69V30Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M85 30H70V28H85V30Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M80 46H20V44H80V46Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M80 51H20V49H80V51Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M80 56H20V54H80V56Z' fill='#E9EAEE'/> </svg>\",\"above-header-layout-2\":\"<svg width='100' height='70' viewBox='0 0 100 70' fill='none' xmlns='http://www.w3.org/2000/svg'> <path d='M10 12C10 10.8954 10.8954 10 12 10H88C89.1046 10 90 10.8954 90 12V70H10V12Z' fill='white'/> <path d='M10 12C10 10.8954 10.8954 10 12 10H88C89.1046 10 90 10.8954 90 12V22H10V12Z' fill='#DADDE2'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M73 16.5H26V15H73V16.5Z' fill='white'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M27 31H15V27H27V31Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M53 30H38V28H53V30Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M69 30H54V28H69V30Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M85 30H70V28H85V30Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M80 46H20V44H80V46Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M80 51H20V49H80V51Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M80 56H20V54H80V56Z' fill='#E9EAEE'/> </svg>\",\"edd-archive-page-grid-style\":\"<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' role='img' id='Layer_1' x='0px' y='0px' width='120.5px' height='81px' viewBox='0 0 120.5 81' enable-background='new 0 0 120.5 81' xml:space='preserve'><g><g><g><g><path fill='#0085BA' d='M116.701,80.796H3.799c-1.957,0-3.549-1.592-3.549-3.549V3.753c0-1.957,1.592-3.549,3.549-3.549h112.902 c1.956,0,3.549,1.592,3.549,3.549v73.494C120.25,79.204,118.657,80.796,116.701,80.796z M3.799,1.979 c-0.979,0-1.773,0.797-1.773,1.774v73.494c0,0.979,0.795,1.772,1.773,1.772h112.902c0.979,0,1.773-0.797,1.773-1.772V3.753 c0-0.979-0.795-1.774-1.773-1.774H3.799z'/></g></g></g><g><g><path fill='#0586BB' d='M93.548,38.73c0,0.977-0.823,1.77-1.84,1.77H28.79c-1.016,0-1.838-0.793-1.838-1.77V20.037 c0-0.977,0.822-1.77,1.838-1.77h62.918c1.017,0,1.84,0.793,1.84,1.77V38.73z'/></g><g><path fill='#0586BB' d='M91.846,53.198H28.655c-0.807,0-1.456-0.692-1.456-1.541s0.649-1.541,1.456-1.541h63.191 c0.805,0,1.454,0.692,1.454,1.541C93.301,52.506,92.65,53.198,91.846,53.198z'/></g><g><path fill='#0586BB' d='M87.941,62.732H32.766c-0.808,0-1.456-0.691-1.456-1.541s0.648-1.541,1.456-1.541h55.177 c0.808,0,1.457,0.691,1.457,1.541S88.75,62.732,87.941,62.732z'/></g></g></g></svg>\",\"edd-archive-page-list-style\":\"<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' role='img' id='Layer_1' x='0px' y='0px' width='120.5px' height='81px' viewBox='0 0 120.5 81' enable-background='new 0 0 120.5 81' xml:space='preserve'><g><g><g><g><path fill='#0085BA' d='M0.25,77.247V3.753c0-1.957,1.593-3.549,3.549-3.549h112.902c1.957,0,3.549,1.592,3.549,3.549v73.494 c0,1.957-1.592,3.549-3.549,3.549H3.799C1.843,80.796,0.25,79.204,0.25,77.247z M3.799,1.979c-0.979,0-1.773,0.795-1.773,1.774 v73.494c0,0.976,0.795,1.772,1.773,1.772h112.902c0.979,0,1.773-0.793,1.773-1.772V3.753c0-0.977-0.795-1.774-1.773-1.774H3.799 z'/></g></g></g><g><g><g><path fill='#0085BA' d='M99.371,42.385h-31.36c-0.874,0-1.583-0.708-1.583-1.582c0-0.873,0.709-1.582,1.583-1.582h31.36 c0.873,0,1.58,0.709,1.58,1.582C100.951,41.677,100.243,42.385,99.371,42.385z'/></g><g><path fill='#0085BA' d='M99.371,31.667h-31.36c-0.874,0-1.583-0.708-1.583-1.582c0-0.873,0.709-1.582,1.583-1.582h31.36 c0.873,0,1.58,0.709,1.58,1.582S100.243,31.667,99.371,31.667z'/></g><g><path fill='#0085BA' d='M99.371,53.104H75.012c-0.875,0-1.584-0.709-1.584-1.582s0.709-1.582,1.584-1.582h24.359 c0.873,0,1.58,0.709,1.58,1.582S100.243,53.104,99.371,53.104z'/></g></g><g><path fill='#0085BA' d='M53.611,59.336c0,1.217-0.987,2.203-2.204,2.203H21.753c-1.217,0-2.204-0.986-2.204-2.203v-37.67 c0-1.217,0.987-2.205,2.204-2.205h29.654c1.217,0,2.204,0.987,2.204,2.205V59.336z'/></g></g></g></svg>\",\"above-header-inline\":\"<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' role='img' id='Layer_1' x='0px' y='0px' width='60.5px' height='81px' viewBox='0 0 60.5 81' enable-background='new 0 0 60.5 81' xml:space='preserve'><g><g><g><path fill='#0085BA' d='M51.602,12.975H40.884c-0.493,0-0.892-0.429-0.892-0.959c0-0.529,0.396-0.959,0.892-0.959h10.718 c0.496,0,0.896,0.432,0.896,0.959C52.496,12.546,52.098,12.975,51.602,12.975z'/></g></g><g><g><path fill='#0085BA' d='M51.602,17.205H40.884c-0.493,0-0.892-0.429-0.892-0.959c0-0.529,0.396-0.959,0.892-0.959h10.718 c0.496,0,0.896,0.432,0.896,0.959C52.496,16.775,52.098,17.205,51.602,17.205z'/></g></g><g><g><path fill='#0085BA' d='M51.602,21.435H40.884c-0.493,0-0.892-0.429-0.892-0.959c0-0.529,0.396-0.959,0.892-0.959h10.718 c0.496,0,0.896,0.432,0.896,0.959C52.496,21.004,52.098,21.435,51.602,21.435z'/></g></g></g><g><path fill='#0085BA' d='M25.504,20.933c0,1.161-0.794,2.099-1.773,2.099H9.777c-0.979,0-1.773-0.938-1.773-2.099V11.56 c0-1.16,0.795-2.1,1.773-2.1H23.73c0.979,0,1.772,0.94,1.772,2.1L25.504,20.933L25.504,20.933z'/></g><g><path fill='#0085BA' d='M56.701,80.796H3.799c-1.957,0-3.549-1.592-3.549-3.549V3.753c0-1.957,1.592-3.549,3.549-3.549h52.902 c1.956,0,3.549,1.592,3.549,3.549v73.494C60.25,79.204,58.657,80.796,56.701,80.796z M3.799,1.979 c-0.979,0-1.773,0.797-1.773,1.774v73.494c0,0.979,0.795,1.774,1.773,1.774h52.902c0.979,0,1.773-0.797,1.773-1.774V3.753 c0-0.979-0.795-1.774-1.773-1.774H3.799z'/></g></svg>\",\"above-header-stack\":\"<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' role='img' id='Layer_1' x='0px' y='0px' width='60.5px' height='81px' viewBox='0 0 60.5 81' enable-background='new 0 0 60.5 81' xml:space='preserve'><g><path fill='#0085BA' d='M56.701,80.796H3.799c-1.957,0-3.549-1.592-3.549-3.549V3.753c0-1.957,1.592-3.549,3.549-3.549h52.902 c1.956,0,3.549,1.592,3.549,3.549v73.494C60.25,79.204,58.657,80.796,56.701,80.796z M3.799,1.979 c-0.979,0-1.773,0.797-1.773,1.774v73.494c0,0.979,0.795,1.774,1.773,1.774h52.902c0.979,0,1.773-0.797,1.773-1.774V3.753 c0-0.979-0.795-1.774-1.773-1.774H3.799z'/></g><g><g><g><path fill='#0085BA' d='M35.607,29.821H24.889c-0.493,0-0.892-0.429-0.892-0.959c0-0.529,0.396-0.959,0.892-0.959h10.718 c0.496,0,0.896,0.432,0.896,0.959C36.502,29.392,36.104,29.821,35.607,29.821z'/></g></g><g><g><path fill='#0085BA' d='M35.607,34.051H24.889c-0.493,0-0.892-0.429-0.892-0.959c0-0.529,0.396-0.959,0.892-0.959h10.718 c0.496,0,0.896,0.432,0.896,0.959C36.502,33.621,36.104,34.051,35.607,34.051z'/></g></g><g><g><path fill='#0085BA' d='M35.607,38.281H24.889c-0.493,0-0.892-0.429-0.892-0.959c0-0.529,0.396-0.959,0.892-0.959h10.718 c0.496,0,0.896,0.432,0.896,0.959C36.502,37.85,36.104,38.281,35.607,38.281z'/></g></g></g><g><path fill='#0085BA' d='M39,20.933c0,1.161-0.794,2.099-1.773,2.099H23.273c-0.979,0-1.773-0.938-1.773-2.099V11.56 c0-1.16,0.795-2.1,1.773-2.1h13.954c0.979,0,1.771,0.94,1.771,2.1L39,20.933L39,20.933z'/></g></svg>\",\"below-header-layout-1\":\"<svg width='100' height='70' viewBox='0 0 100 70' fill='none' xmlns='http://www.w3.org/2000/svg'> <path d='M10 12C10 10.8954 10.8954 10 12 10H88C89.1046 10 90 10.8954 90 12V70H10V12Z' fill='white'/> <path d='M10 23H90V35H10V23Z' fill='#DADDE2'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M27 19H15V15H27V19Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M53 18H38V16H53V18Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M69 18H54V16H69V18Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M85 18H70V16H85V18Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M80 48H20V46H80V48Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M80 53H20V51H80V53Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M80 58H20V56H80V58Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M62 29.5H15V28H62V29.5Z' fill='white'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M72.5 29.5H71V28H72.5V29.5Z' fill='white'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M75.5 29.5H74V28H75.5V29.5Z' fill='white'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M78.5 29.5H77V28H78.5V29.5Z' fill='white'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M81.5 29.5H80V28H81.5V29.5Z' fill='white'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M84.5 29.5H83V28H84.5V29.5Z' fill='white'/> </svg>\",\"below-header-layout-2\":\"<svg width='100' height='70' viewBox='0 0 100 70' fill='none' xmlns='http://www.w3.org/2000/svg'> <path d='M10 12C10 10.8954 10.8954 10 12 10H88C89.1046 10 90 10.8954 90 12V70H10V12Z' fill='white'/> <path d='M10 23H90V35H10V23Z' fill='#DADDE2'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M73 29.5H26V28H73V29.5Z' fill='white'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M27 19H15V15H27V19Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M53 18H38V16H53V18Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M69 18H54V16H69V18Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M85 18H70V16H85V18Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M80 48H20V46H80V48Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M80 53H20V51H80V53Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M80 58H20V56H80V58Z' fill='#E9EAEE'/> </svg>\",\"below-header-inline\":\"<svg width='100' height='70' viewBox='0 0 100 70' fill='none' xmlns='http://www.w3.org/2000/svg'> <path d='M10 12C10 10.8954 10.8954 10 12 10H88C89.1046 10 90 10.8954 90 12V70H10V12Z' fill='white'/> <path d='M10 12C10 10.8954 10.8954 10 12 10H88C89.1046 10 90 10.8954 90 12V25H10V12Z' fill='#DADDE2'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M27 20H15V16H27V20Z' fill='white'/> <path d='M76.8333 14.75H84.1667V15.6667H76.8333V14.75ZM76.8333 17.0417H84.1667V17.9583H76.8333V17.0417ZM76.8333 19.3333H84.1667V20.25H76.8333V19.3333Z' fill='white'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M80 44H20V42H80V44Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M80 49H20V47H80V49Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M80 54H20V52H80V54Z' fill='#E9EAEE'/> </svg>\",\"below-header-stack\":\"<svg width='100' height='70' viewBox='0 0 100 70' fill='none' xmlns='http://www.w3.org/2000/svg'> <path d='M10 12C10 10.8954 10.8954 10 12 10H88C89.1046 10 90 10.8954 90 12V70H10V12Z' fill='white'/> <path d='M10 12C10 10.8954 10.8954 10 12 10H88C89.1046 10 90 10.8954 90 12V34H10V12Z' fill='#DADDE2'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M80 49H20V47H80V49Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M80 54H20V52H80V54Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M80 59H20V57H80V59Z' fill='#E9EAEE'/> <path fill-rule='evenodd' clip-rule='evenodd' d='M56 19H44V15H56V19Z' fill='white'/> <path d='M46.8333 24.75H54.1667V25.6667H46.8333V24.75ZM46.8333 27.0417H54.1667V27.9583H46.8333V27.0417ZM46.8333 29.3333H54.1667V30.25H46.8333V29.3333Z' fill='white'/> </svg>\",\"shop-page-grid-style\":\"<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' role='img' id='Layer_1' x='0px' y='0px' width='120.5px' height='81px' viewBox='0 0 120.5 81' enable-background='new 0 0 120.5 81' xml:space='preserve'><g><g><g><g><path fill='#0085BA' d='M116.701,80.796H3.799c-1.957,0-3.549-1.592-3.549-3.549V3.753c0-1.957,1.592-3.549,3.549-3.549h112.902 c1.956,0,3.549,1.592,3.549,3.549v73.494C120.25,79.204,118.657,80.796,116.701,80.796z M3.799,1.979 c-0.979,0-1.773,0.797-1.773,1.774v73.494c0,0.979,0.795,1.772,1.773,1.772h112.902c0.979,0,1.773-0.797,1.773-1.772V3.753 c0-0.979-0.795-1.774-1.773-1.774H3.799z'/></g></g></g><g><g><path fill='#0586BB' d='M93.548,38.73c0,0.977-0.823,1.77-1.84,1.77H28.79c-1.016,0-1.838-0.793-1.838-1.77V20.037 c0-0.977,0.822-1.77,1.838-1.77h62.918c1.017,0,1.84,0.793,1.84,1.77V38.73z'/></g><g><path fill='#0586BB' d='M91.846,53.198H28.655c-0.807,0-1.456-0.692-1.456-1.541s0.649-1.541,1.456-1.541h63.191 c0.805,0,1.454,0.692,1.454,1.541C93.301,52.506,92.65,53.198,91.846,53.198z'/></g><g><path fill='#0586BB' d='M87.941,62.732H32.766c-0.808,0-1.456-0.691-1.456-1.541s0.648-1.541,1.456-1.541h55.177 c0.808,0,1.457,0.691,1.457,1.541S88.75,62.732,87.941,62.732z'/></g></g></g></svg>\",\"toggle-arrow-down\":\"<svg width='17' height='18' viewBox='0 0 17 18' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M4.04688 6.97656L8.49926 11.0242L12.9516 6.97656' stroke='#4B5563' /></svg>\",\"visibility\":\"<svg width='17' height='18' viewBox='0 0 17 18' fill='none' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' clip-rule='evenodd' d='M2.42773 9.00032C3.58602 6.83249 5.87111 5.35742 8.50072 5.35742C11.1303 5.35742 13.4154 6.83245 14.5737 9.00024C13.4154 11.1681 11.1303 12.6431 8.50068 12.6431C5.8711 12.6431 3.58603 11.1681 2.42773 9.00032Z' stroke='#4B5563' /><circle cx='8.50037' cy='9.00037' r='1.52381' stroke='#4B5563' /></svg>\",\"visibility-hidden\":\"<svg width='17' height='18' viewBox='0 0 17 18' fill='none' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' clip-rule='evenodd' d='M12.1213 7.5957C11.8932 7.74548 11.6457 7.88127 11.3818 8.00106L13.5052 10.1245L14.0776 9.55204L12.1213 7.5957ZM9.63969 8.5096C9.36604 8.55141 9.08439 8.57847 8.79657 8.58952L10.0767 11.6799L10.8246 11.3701L9.63969 8.5096ZM8.19989 8.58934C7.91213 8.57811 7.63055 8.55088 7.35698 8.5089L6.17178 11.3702L6.91969 11.68L8.19989 8.58934ZM5.61976 8.00121C5.3558 7.88142 5.10834 7.74565 4.88024 7.59588L2.92383 9.5523L3.49625 10.1247L5.61976 8.00121Z' fill='#9CA3AF' /><path d='M3 5.5C5 10 12 10 14 5.5' stroke='#9CA3AF' /></svg>\",\"remove\":\"<svg width='17' height='18' viewBox='0 0 17 18' fill='none' xmlns='http://www.w3.org/2000/svg'><rect x='12.0352' y='11.8281' width='1' height='9' transform='rotate(135 12.0352 11.8281)' fill='#4B5563' /><rect x='5.67188' y='12.5352' width='1' height='9' transform='rotate(-135 5.67188 12.5352)' fill='#4B5563' /></svg>\",\"shop-page-list-style\":\"<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' role='img' id='Layer_1' x='0px' y='0px' width='120.5px' height='81px' viewBox='0 0 120.5 81' enable-background='new 0 0 120.5 81' xml:space='preserve'><g><g><g><g><path fill='#0085BA' d='M0.25,77.247V3.753c0-1.957,1.593-3.549,3.549-3.549h112.902c1.957,0,3.549,1.592,3.549,3.549v73.494 c0,1.957-1.592,3.549-3.549,3.549H3.799C1.843,80.796,0.25,79.204,0.25,77.247z M3.799,1.979c-0.979,0-1.773,0.795-1.773,1.774 v73.494c0,0.976,0.795,1.772,1.773,1.772h112.902c0.979,0,1.773-0.793,1.773-1.772V3.753c0-0.977-0.795-1.774-1.773-1.774H3.799 z'/></g></g></g><g><g><g><path fill='#0085BA' d='M99.371,42.385h-31.36c-0.874,0-1.583-0.708-1.583-1.582c0-0.873,0.709-1.582,1.583-1.582h31.36 c0.873,0,1.58,0.709,1.58,1.582C100.951,41.677,100.243,42.385,99.371,42.385z'/></g><g><path fill='#0085BA' d='M99.371,31.667h-31.36c-0.874,0-1.583-0.708-1.583-1.582c0-0.873,0.709-1.582,1.583-1.582h31.36 c0.873,0,1.58,0.709,1.58,1.582S100.243,31.667,99.371,31.667z'/></g><g><path fill='#0085BA' d='M99.371,53.104H75.012c-0.875,0-1.584-0.709-1.584-1.582s0.709-1.582,1.584-1.582h24.359 c0.873,0,1.58,0.709,1.58,1.582S100.243,53.104,99.371,53.104z'/></g></g><g><path fill='#0085BA' d='M53.611,59.336c0,1.217-0.987,2.203-2.204,2.203H21.753c-1.217,0-2.204-0.986-2.204-2.203v-37.67 c0-1.217,0.987-2.205,2.204-2.205h29.654c1.217,0,2.204,0.987,2.204,2.205V59.336z'/></g></g></g></svg>\",\"custom-layouts-plus\":\"<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><mask id='mask0_48_586' style='mask-type:alpha' maskUnits='userSpaceOnUse' x='1' y='2' width='21' height='20'><path fill-rule='evenodd' clip-rule='evenodd' d='M1.99023 12C1.99023 6.48 6.44826 2 11.9412 2C17.4341 2 21.8921 6.48 21.8921 12C21.8921 17.52 17.4341 22 11.9412 22C6.44826 22 1.99023 17.52 1.99023 12ZM12.9363 13H16.9167V11H12.9363V7H10.9461V11H6.96571V13H10.9461V17H12.9363V13Z' fill='white'/></mask><g mask='url(#mask0_48_586)'><rect width='23.8823' height='24' fill='#6B7280'/></g></svg>\",\"custom-layouts-minus\":\"<svg width='25' height='24' viewBox='0 0 25 24' fill='none' xmlns='http://www.w3.org/2000/svg'><mask id='mask0_48_610' style='mask-type:alpha' maskUnits='userSpaceOnUse' x='2' y='2' width='21' height='20'><path fill-rule='evenodd' clip-rule='evenodd' d='M2.87305 12C2.87305 6.48 7.33108 2 12.824 2C18.3169 2 22.775 6.48 22.775 12C22.775 17.52 18.3169 22 12.824 22C7.33108 22 2.87305 17.52 2.87305 12ZM7.84853 13H17.7995V11H7.84853V13Z' fill='white'/></mask><g mask='url(#mask0_48_610)'><rect x='0.882812' width='23.8823' height='24' fill='#6B7280'/></g></svg>\",\"cl-uag-icon\":\"<svg width='40' height='40' viewBox='0 0 84 85' fill='none'><path d='M41.7849 0C33.5206 0 25.4419 2.49258 18.5705 7.16254C11.699 11.8325 6.34331 18.4701 3.18071 26.236C0.0181112 34.0018 -0.809377 42.5471 0.802901 50.7913C2.41518 59.0355 6.3948 66.6083 12.2385 72.552C18.0822 78.4958 25.5276 82.5435 33.633 84.1834C41.7385 85.8232 50.1401 84.9816 57.7753 81.7649C65.4105 78.5482 71.9363 73.1008 76.5277 66.1117C81.1191 59.1226 83.5697 50.9057 83.5697 42.5C83.565 31.2298 79.1612 20.4225 71.326 12.4533C63.4908 4.48402 52.8655 0.0048112 41.7849 0ZM57.5278 49.0175C57.5278 49.1264 57.5278 49.2354 57.5278 49.3443V49.6529V49.8526C57.3161 51.0856 56.8673 52.2639 56.207 53.3201L55.8143 53.8829L55.2431 54.5546C55.0482 54.8082 54.8268 55.0396 54.5827 55.2445V55.3353L54.4578 55.4261L54.2079 55.6258C54.1249 55.7007 54.0353 55.7675 53.9402 55.8255L53.6724 56.0071L34.3061 69.0602C34.1479 69.1683 33.9612 69.2253 33.7706 69.2236H33.5743C33.447 69.1967 33.3262 69.1443 33.2189 69.0695C33.1117 68.9947 33.0201 68.899 32.9495 68.7879C32.9495 68.7879 32.5033 67.9891 32.4676 67.9347V67.7531V67.6623V67.5534V67.4263V67.2811C31.7014 65.262 31.6378 63.0371 32.2872 60.9761C32.9366 58.9152 34.2601 57.1424 36.0375 55.9526L45.0691 49.8708C45.2101 49.7754 45.3201 49.6398 45.3853 49.4809C45.4505 49.322 45.4679 49.147 45.4355 48.9781C45.403 48.8091 45.3221 48.6537 45.2029 48.5315C45.0837 48.4093 44.9316 48.3257 44.7657 48.2913L34.1633 46.1128H33.8599H33.7706H33.485H33.1816H33.0567H32.896H32.8068L32.5212 46.0038H32.4319H32.2534L31.9679 45.8586L31.6823 45.7134L31.4145 45.55L31.1468 45.3866C30.3041 44.8521 29.5509 44.1841 28.9156 43.4077L28.6836 43.0809L28.4159 42.6634C27.73 41.6278 27.255 40.4629 27.0189 39.2375C26.7828 38.012 26.7905 36.751 27.0415 35.5286C27.228 34.6884 27.5221 33.8766 27.9161 33.1141C28.0232 32.9144 28.1124 32.7328 28.2195 32.5694L28.3802 32.3153C28.4948 32.1207 28.6199 31.9329 28.755 31.7525L28.9156 31.5528L29.112 31.3167L29.3083 31.0989L29.4333 30.9718L29.6475 30.754L29.8259 30.5906L30.0223 30.4272L30.2365 30.2456H30.3257L30.4685 30.1185H30.5578L30.7898 29.9551L50.049 16.9746C50.1725 16.8912 50.3113 16.8338 50.457 16.806C50.6027 16.7782 50.7524 16.7804 50.8973 16.8126C51.0421 16.8448 51.1791 16.9062 51.3002 16.9933C51.4212 17.0804 51.5238 17.1913 51.6019 17.3195L51.7626 17.5918L51.8875 17.846C51.8875 17.9368 51.9768 18.0094 52.0125 18.082C52.0125 18.082 52.0125 18.082 52.0125 18.191C52.0239 18.2325 52.0239 18.2765 52.0125 18.318L52.1195 18.5904C52.1292 18.6383 52.1292 18.6877 52.1195 18.7356C52.1195 18.7356 52.1195 18.7356 52.1195 18.8445C52.8288 20.8305 52.8625 23.0011 52.2153 25.0089C51.5681 27.0166 50.2774 28.7455 48.5497 29.9188L39.6251 35.9462C39.4842 36.0415 39.3742 36.1772 39.309 36.3361C39.2438 36.495 39.2263 36.6699 39.2588 36.8389C39.2912 37.0078 39.3722 37.1632 39.4914 37.2854C39.6106 37.4077 39.7627 37.4912 39.9286 37.5256L50.4417 39.686C52.5458 40.1281 54.4361 41.2935 55.7948 42.9862C57.1536 44.679 57.8979 46.796 57.9027 48.9812C57.5635 48.4003 57.5278 48.9812 57.5278 48.9812V49.0175Z' fill='url(#paint0_linear_619_170)'></path><linearGradient id='paint0_linear_619_170' x1='1.17098e-05' y1='1.49716e-06' x2='84.02' y2='71.3596' gradientUnits='userSpaceOnUse'><stop stop-color='#fff'></stop><stop offset='1' stop-color='#fff'></stop></linearGradient></svg>\",\"cl-header-layout\":\"<svg width='120' height='120' viewBox='0 0 91 91' fill='none' xmlns='http://www.w3.org/2000/svg'><g clip-path='url(#clip0_407_19)'><rect x='0.961639' y='0.756592' width='90' height='90' rx='2' fill='white'/><rect x='-3.3295' y='0.756592' width='98.3498' height='15.2979' fill='#CDD0D5'/><path d='M6.06415 8.40555L56.0055 8.40555' stroke='white' stroke-width='2'/><path d='M64.9037 8.40555L70.1201 8.40555' stroke='white' stroke-width='2'/><path d='M72.657 8.40555L77.8734 8.40555' stroke='white' stroke-width='2'/><path d='M80.4103 8.40555L85.6266 8.40555' stroke='white' stroke-width='2'/><rect x='13.4079' y='26.9992' width='65.1074' height='33.1053' stroke='#E9EAEE' stroke-width='2'/><path fill-rule='evenodd' clip-rule='evenodd' d='M79.3197 68.7578H12.4079V66.7578H79.3197V68.7578Z' fill='#E9EAEE'/><path fill-rule='evenodd' clip-rule='evenodd' d='M79.3197 73.7578H12.4079V71.7578H79.3197V73.7578Z' fill='#E9EAEE'/><path fill-rule='evenodd' clip-rule='evenodd' d='M79.3197 78.7578H12.4079V76.7578H79.3197V78.7578Z' fill='#E9EAEE'/></g><rect x='1.46164' y='1.25659' width='89' height='89' rx='1.5' stroke='#CDD0D4'/><defs><clipPath id='clip0_407_19'><rect x='0.961639' y='0.756592' width='90' height='90' rx='2' fill='white'/></clipPath></defs></svg>\",\"cl-footer-layout\":\"<svg width='120' height='120' viewBox='0 0 91 91' fill='none' xmlns='http://www.w3.org/2000/svg'><g clip-path='url(#clip0_407_33)'><rect x='0.632721' y='0.756592' width='90' height='90' rx='2' fill='white'/><rect x='-3.65842' y='69.3642' width='98.3498' height='21.3924' fill='#CDD0D4'/><path d='M9.31985 80.0604L21.2973 80.0604' stroke='white' stroke-width='2'/><path d='M24.4819 80.0604L36.4594 80.0604' stroke='white' stroke-width='2'/><path d='M39.644 80.0604L51.6214 80.0604' stroke='white' stroke-width='2'/><path d='M54.8061 80.0604L66.7835 80.0604' stroke='white' stroke-width='2'/><path d='M69.9681 80.0604L81.9456 80.0604' stroke='white' stroke-width='2'/><rect x='13.079' y='14.523' width='65.1074' height='41.4331' stroke='#E9EAEE' stroke-width='2'/></g><rect x='1.13272' y='1.25659' width='89' height='89' rx='1.5' stroke='#CDD0D4'/><defs><clipPath id='clip0_407_33'><rect x='0.632721' y='0.756592' width='90' height='90' rx='2' fill='white'/></clipPath></defs></svg>\",\"cl-404-page-layout\":\"<svg width='120' height='120' viewBox='0 0 91 91' fill='none' xmlns='http://www.w3.org/2000/svg'><g clip-path='url(#clip0_407_47)'><rect x='0.303741' y='0.756592' width='90' height='90' rx='2' fill='white'/><rect x='0.303741' y='0.756592' width='90' height='15.2979' fill='#CDD0D4'/><path d='M62.744 8.40555L67.5175 8.40555' stroke='white' stroke-width='2'/><path d='M69.8391 8.40555L74.6126 8.40555' stroke='white' stroke-width='2'/><path d='M76.9341 8.40555L81.7076 8.40555' stroke='white' stroke-width='2'/><path d='M16.1291 59.7091V57.119L27.5562 39.0387H29.4354V43.0509H28.1657L19.5319 56.7127V56.9158H34.9204V59.7091H16.1291ZM28.3688 65.0418V39.0387H31.3653V65.0418H28.3688Z' fill='#CDD0D4'/><path d='M45.4142 65.3973C43.5012 65.3973 41.8718 64.8767 40.5259 63.8356C39.1801 62.786 38.1516 61.2666 37.4406 59.2774C36.7296 57.2798 36.3741 54.8674 36.3741 52.0403C36.3741 49.23 36.7296 46.8303 37.4406 44.8412C38.1601 42.8435 39.1928 41.3199 40.5386 40.2703C41.893 39.2123 43.5182 38.6832 45.4142 38.6832C47.3103 38.6832 48.9312 39.2123 50.2771 40.2703C51.6314 41.3199 52.6641 42.8435 53.3751 44.8412C54.0946 46.8303 54.4543 49.23 54.4543 52.0403C54.4543 54.8674 54.0988 57.2798 53.3878 59.2774C52.6768 61.2666 51.6483 62.786 50.3025 63.8356C48.9566 64.8767 47.3272 65.3973 45.4142 65.3973ZM45.4142 62.604C47.3103 62.604 48.7831 61.6898 49.8327 59.8615C50.8823 58.0332 51.4071 55.4261 51.4071 52.0403C51.4071 49.7887 51.1659 47.8715 50.6834 46.2886C50.2094 44.7057 49.5237 43.4995 48.6265 42.67C47.7377 41.8405 46.667 41.4257 45.4142 41.4257C43.5351 41.4257 42.0665 42.3526 41.0084 44.2063C39.9504 46.0516 39.4213 48.6629 39.4213 52.0403C39.4213 54.2918 39.6583 56.2048 40.1323 57.7792C40.6064 59.3536 41.2877 60.5513 42.1765 61.3724C43.0738 62.1935 44.153 62.604 45.4142 62.604Z' fill='#CDD0D4'/><path d='M55.6871 59.7091V57.119L67.1143 39.0387H68.9934V43.0509H67.7237L59.0899 56.7127V56.9158H74.4784V59.7091H55.6871ZM67.9268 65.0418V39.0387H70.9233V65.0418H67.9268Z' fill='#CDD0D4'/></g><rect x='0.803741' y='1.25659' width='89' height='89' rx='1.5' stroke='#CDD0D4'/><defs><clipPath id='clip0_407_47'><rect x='0.303741' y='0.756592' width='90' height='90' rx='2' fill='white'/></clipPath></defs></svg>\",\"cl-hooks-layout\":\"<svg width='120' height='120' viewBox='0 0 91 91' fill='none' xmlns='http://www.w3.org/2000/svg'><g clip-path='url(#clip0_407_56)'><rect x='0.961639' y='0.756592' width='90' height='90' rx='2' fill='white'/><rect x='-3.21326' y='0.756592' width='98.3498' height='15.2979' fill='#CDD0D4'/><path d='M65.02 8.40555L70.2363 8.40555' stroke='white' stroke-width='2'/><path d='M72.7733 8.40555L77.9896 8.40555' stroke='white' stroke-width='2'/><path d='M80.5266 8.40555L85.7429 8.40555' stroke='white' stroke-width='2'/><rect x='12.5058' y='28.0555' width='66.9117' height='27.8014' fill='#CDD0D4'/><path fill-rule='evenodd' clip-rule='evenodd' d='M79.4175 64.9478H12.5058V62.9478H79.4175V64.9478Z' fill='#E9EAEE'/><path fill-rule='evenodd' clip-rule='evenodd' d='M79.4175 69.9478H12.5058V67.9478H79.4175V69.9478Z' fill='#E9EAEE'/><path fill-rule='evenodd' clip-rule='evenodd' d='M79.4175 74.9478H12.5058V72.9478H79.4175V74.9478Z' fill='#E9EAEE'/><path d='M31.8643 43.7107V41.4649L40.8473 37.5093V40.0932L34.697 42.5623L34.7799 42.4283V42.7473L34.697 42.6133L40.8473 45.0824V47.6663L31.8643 43.7107Z' fill='white'/><path d='M49.237 34.1343L45.0262 49.778H42.6847L46.8955 34.1343H49.237Z' fill='white'/><path d='M60.059 43.7107L51.076 47.6663V45.0824L57.2263 42.6133L57.1434 42.7473V42.4283L57.2263 42.5623L51.076 40.0932V37.5093L60.059 41.4649V43.7107Z' fill='white'/></g><rect x='1.46164' y='1.25659' width='89' height='89' rx='1.5' stroke='#CDD0D4'/><defs><clipPath id='clip0_407_56'><rect x='0.961639' y='0.756592' width='90' height='90' rx='2' fill='white'/></clipPath></defs></svg>\",\"cl-inside-post-layout\":\"<svg width='120' height='120' viewBox='0 0 91 91' fill='none' xmlns='http://www.w3.org/2000/svg'><g clip-path='url(#clip0_407_70)'><rect x='0.619629' y='0.756592' width='90' height='90' rx='2' fill='white'/><rect x='-3.55527' y='0.756592' width='98.3498' height='15.2979' fill='#CDD0D4'/><path d='M64.678 8.40555L69.8943 8.40555' stroke='white' stroke-width='2'/><path d='M72.4312 8.40555L77.6476 8.40555' stroke='white' stroke-width='2'/><path d='M80.1845 8.40555L85.4009 8.40555' stroke='white' stroke-width='2'/><rect x='12.1638' y='39.5422' width='66.9117' height='20.1317' fill='#CDD0D4'/><path fill-rule='evenodd' clip-rule='evenodd' d='M79.0755 67.0471H12.1638V65.0471H79.0755V67.0471Z' fill='#E9EAEE'/><path fill-rule='evenodd' clip-rule='evenodd' d='M79.0755 29.4248H12.1638V27.4248H79.0755V29.4248Z' fill='#E9EAEE'/><path fill-rule='evenodd' clip-rule='evenodd' d='M79.0755 72.0471H12.1638V70.0471H79.0755V72.0471Z' fill='#E9EAEE'/><path fill-rule='evenodd' clip-rule='evenodd' d='M79.0755 34.4248H12.1638V32.4248H79.0755V34.4248Z' fill='#E9EAEE'/><path fill-rule='evenodd' clip-rule='evenodd' d='M44.562 77.0471H12.1638V75.0471H44.562V77.0471Z' fill='#E9EAEE'/></g><rect x='1.11963' y='1.25659' width='89' height='89' rx='1.5' stroke='#CDD0D4'/><defs><clipPath id='clip0_407_70'><rect x='0.619629' y='0.756592' width='90' height='90' rx='2' fill='white'/></clipPath></defs></svg>\",\"cl-custom-template\":\"<svg width='120' height='120' viewBox='0 0 121 121' fill='none' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'> <rect x='0.5' width='120' height='120.667' fill='url(#pattern0)'/> <defs> <pattern id='pattern0' patternContentUnits='objectBoundingBox' width='1' height='1'> <use xlink:href='#image0_641_57' transform='scale(0.00555556 0.00552486)'/> </pattern> <image id='image0_641_57' width='180' height='181' xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC1CAYAAAD2kdWXAAAAAXNSR0IArs4c6QAABFdJREFUeJzt3d1uVFUcxuG1Z5ihI4XWEE0U+QqkCdIEazzxzEvxDoQrAa7AeAfeh2IhlJBgkKox+IlgW9S2zHgihgk0VMqaXd4+z1E7mfzXOvilXU06e5UCQZrHX3yxeP2jUpr3ShnNtrkh+H+a+5tl4/MPFxaWS/k36MVrSxeHo3K+3Y3Bi+s05dLCufkLzZXFGx+XZvRp2xuCHRuVC82VqzfulDI60fZeYOea5Y6YyTE60Wl7C/AyCZoogiaKoIkiaKIImiiCJoqgibKv7Q3QrsHUVOl2u8993/rGellf3xh7rdvtlMHUYFvrrK6tvdS1tyLoPe7UyWOl3+899313f/y53P3pl7HXZg8dKsePHdnWOl9du/FS196KIwdRBE0UR4497uGff23rfPr3xtPv2RwOy+rqw1bW3kpz5erS6IV3BLuMIwdRBE0UQRNF0EQRNFEETRRBE0XQRBE0UQRNFEETRdBE+e+/7ebPzLW5D9iRpZu3SilPBL2dTw7AbufIQRRBE0XQRBE0UQRNFEETRdBEETRRBE0UQRNF0EQRNFEETRRBE0XQRBE0Uao+H3onzw4m1/T0a9VmVw361u07NcfzCur3e1U/7ufIQRRBE0XQRBE0UQRNFEETRdBEETRRBE0UQRNF0EQRNFEETRRBE0XQRBE0UQRNFEETRdBEETRRBE0UQRNF0EQRNFEETZSqT07q99wfzrh+r191ftWg59+t98gneBZHDqIImiiCJkrVM/T6+kbN8RPT74//cTscDlvaSYZOp97P0apBL928VXP8xLx/7uzY97/+9qClnWR4843Xq8125CCKoIkiaKIImiiCJoqgiSJoogiaKIImiqCJImiiCJoogiaKoIkiaKIImiiCJoqgiSJoogiaKIImiqCJImiiCJoogiaKoIkiaKIImiiCJoqgiSJoogiaKIImiqCJUvVKiukDB2qOb0234h0h7EzVoOdOn6g5vjWHD8+0vQW24EcNUQRNFEETpeoZ+v79lSpzm6YpMzPTY699+/0P1S76PH70yNjlm1/fXq6yzl7wzttvlcFgf7X5dW+S3disMrfbffoXy8rq2sRurl1ZXZvIOokePXpUdb4jB1EETRRBE0XQRBE0UQRNFEETRdBEETRRBE0UQRNF0EQRNFEETRRBE0XQRBE0UQRNFEETRdBEETRRBE0UQRNF0EQRNFEETRRBE0XQRBE0UQRNFEETRdBEETRRqj7Bv9+rM/5ZT/AfTA1Kv9ef2HrsTlWDnp09WHP8mFMnj05srfkzcxNbK0232606v2rQqZ68QIjdxe9SogiaKIImiqCJImiiCJoogiaKoIkiaKIImiiCJoqgiSJoogiaKIImiqCJImiidEpplkspZWX1Ydt7gRfy4MEfj79c3jccjS53mnLxm+XvyszMwbK/5+NFvDo2h8Ny797vpZRShqPRZ00ppXy5eP1S0zSftLoz2IHRqLn8wcLZ8/8AbOepCvh3A1sAAAAASUVORK5CYII='/> </defs> </svg>\",\"custom-layout-sidebar-icon\":\"<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' aria-hidden='true' role='img' width='24' height='24' preserveAspectRatio='xMidYMid meet' viewBox='0 0 24 24' ><path d='M5 10c0 1.1-.9 2-2 2s-2-.9-2-2s.9-2 2-2s2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2z' fill='currentColor'></path></svg>\",\"astra-brand-icon\":\"<svg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg' data-ast-logo='true'><path d='M15 30C23.2843 30 30 23.2843 30 15C30 6.71573 23.2843 0 15 0C6.71573 0 0 6.71573 0 15C0 23.2843 6.71573 30 15 30Z' fill='url(#paint0_linear_3_65)'/><path d='M14.8187 6.65326C12.2784 12.0121 9.73808 17.3831 7.19775 22.742C8.28646 22.742 9.37517 22.742 10.4639 22.742C12.5203 18.5928 14.5768 14.4315 16.6332 10.2823L14.8187 6.65326Z' fill='white'/><path d='M18.2056 13.3065C17.1532 15.4839 16.1129 17.6614 15.0605 19.8388L15 19.9597H15.0605C16.0645 19.9597 17.0806 19.9597 18.0847 19.9597C18.4839 20.8912 18.8952 21.8106 19.2944 22.742C20.4677 22.742 21.629 22.742 22.8024 22.742C21.2661 19.5968 19.7419 16.4517 18.2056 13.3065Z' fill='white'/><defs><linearGradient id='paint0_linear_3_65' x1='3.85272' y1='25.037' x2='26.1473' y2='4.96296' gradientUnits='userSpaceOnUse'><stop stop-color='#492CDD'/><stop offset='1' stop-color='#AD38E2'/></linearGradient></defs></svg>\",\"custom-layouts-edit\":\"<svg width='20px' height='20px' aria-hidden='true' role='img' focusable='false' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1792 1792' fill='currentColor'><path d='M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z'></svg>\",\"astra-meta-settings\":\"<svg width='22px' height='22px' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/1999/xlink' x='0px' y='0px' width='60px' height='60px' viewBox='0 0 60 60' space='preserve'><linearGradient gradientUnits='userSpaceOnUse' x1='514.4975' y1='-404.01' x2='569.5025' y2='-383.9898' gradientTransform='matrix(1 0 0 -1 -512 -364)'></linearGradient><path d='M30,0.74C13.84,0.74,0.74,13.84,0.74,30c0,16.16,13.1,29.26,29.26,29.26c16.16,0,29.26-13.1,29.26-29.26 C59.26,13.84,46.16,0.74,30,0.74z M21.15,45.1c-2.13,0-4.25,0-6.37,0c4.95-10.46,9.91-20.92,14.86-31.38c0,0,0,0,0,0l3.54,7.08 C29.17,28.9,25.16,37,21.15,45.1z M38.37,45.1c-0.78-1.81-1.57-3.62-2.35-5.43c-1.97,0-3.93,0-5.9,0H30l0.12-0.24 c2.04-4.25,4.09-8.5,6.14-12.74c2.98,6.13,5.97,12.27,8.97,18.41C42.94,45.1,40.66,45.1,38.37,45.1z'/></svg>\",\"shopping-bag\":\"<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='Layer_1' x='0px' y='0px' width='100' height='100' viewBox='826 826 140 140' enable-background='new 826 826 140 140' xml:space='preserve'><path d='M960.758,934.509l2.632,23.541c0.15,1.403-0.25,2.657-1.203,3.761c-0.953,1.053-2.156,1.579-3.61,1.579H833.424 c-1.454,0-2.657-0.526-3.61-1.579c-0.952-1.104-1.354-2.357-1.203-3.761l2.632-23.541H960.758z M953.763,871.405l6.468,58.29H831.77 l6.468-58.29c0.15-1.203,0.677-2.218,1.58-3.045c0.903-0.827,1.981-1.241,3.234-1.241h19.254v9.627c0,2.658,0.94,4.927,2.82,6.807 s4.149,2.82,6.807,2.82c2.658,0,4.926-0.94,6.807-2.82s2.821-4.149,2.821-6.807v-9.627h28.882v9.627 c0,2.658,0.939,4.927,2.819,6.807c1.881,1.88,4.149,2.82,6.807,2.82s4.927-0.94,6.808-2.82c1.879-1.88,2.82-4.149,2.82-6.807v-9.627 h19.253c1.255,0,2.332,0.414,3.235,1.241C953.086,869.187,953.612,870.202,953.763,871.405z M924.881,857.492v19.254 c0,1.304-0.476,2.432-1.429,3.385s-2.08,1.429-3.385,1.429c-1.303,0-2.432-0.477-3.384-1.429c-0.953-0.953-1.43-2.081-1.43-3.385 v-19.254c0-5.315-1.881-9.853-5.641-13.613c-3.76-3.761-8.298-5.641-13.613-5.641s-9.853,1.88-13.613,5.641 c-3.761,3.76-5.641,8.298-5.641,13.613v19.254c0,1.304-0.476,2.432-1.429,3.385c-0.953,0.953-2.081,1.429-3.385,1.429 c-1.303,0-2.432-0.477-3.384-1.429c-0.953-0.953-1.429-2.081-1.429-3.385v-19.254c0-7.973,2.821-14.779,8.461-20.42 c5.641-5.641,12.448-8.461,20.42-8.461c7.973,0,14.779,2.82,20.42,8.461C922.062,842.712,924.881,849.519,924.881,857.492z'/></svg>\",\"shopping-default\":\"<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M352 160v-32C352 57.42 294.579 0 224 0 153.42 0 96 57.42 96 128v32H0v272c0 44.183 35.817 80 80 80h288c44.183 0 80-35.817 80-80V160h-96zm-192-32c0-35.29 28.71-64 64-64s64 28.71 64 64v32H160v-32zm160 120c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zm-192 0c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24z'></path></svg>\",\"shopping-basket\":\"<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path d='M576 216v16c0 13.255-10.745 24-24 24h-8l-26.113 182.788C514.509 462.435 494.257 480 470.37 480H105.63c-23.887 0-44.139-17.565-47.518-41.212L32 256h-8c-13.255 0-24-10.745-24-24v-16c0-13.255 10.745-24 24-24h67.341l106.78-146.821c10.395-14.292 30.407-17.453 44.701-7.058 14.293 10.395 17.453 30.408 7.058 44.701L170.477 192h235.046L326.12 82.821c-10.395-14.292-7.234-34.306 7.059-44.701 14.291-10.395 34.306-7.235 44.701 7.058L484.659 192H552c13.255 0 24 10.745 24 24zM312 392V280c0-13.255-10.745-24-24-24s-24 10.745-24 24v112c0 13.255 10.745 24 24 24s24-10.745 24-24zm112 0V280c0-13.255-10.745-24-24-24s-24 10.745-24 24v112c0 13.255 10.745 24 24 24s24-10.745 24-24zm-224 0V280c0-13.255-10.745-24-24-24s-24 10.745-24 24v112c0 13.255 10.745 24 24 24s24-10.745 24-24z'></path></svg>\",\"shopping-cart\":\"<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path d='M528.12 301.319l47.273-208C578.806 78.301 567.391 64 551.99 64H159.208l-9.166-44.81C147.758 8.021 137.93 0 126.529 0H24C10.745 0 0 10.745 0 24v16c0 13.255 10.745 24 24 24h69.883l70.248 343.435C147.325 417.1 136 435.222 136 456c0 30.928 25.072 56 56 56s56-25.072 56-56c0-15.674-6.447-29.835-16.824-40h209.647C430.447 426.165 424 440.326 424 456c0 30.928 25.072 56 56 56s56-25.072 56-56c0-22.172-12.888-41.332-31.579-50.405l5.517-24.276c3.413-15.018-8.002-29.319-23.403-29.319H218.117l-6.545-32h293.145c11.206 0 20.92-7.754 23.403-18.681z'></path></svg>\",\"angle-down\":\"<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M0 7.33l2.829-2.83 9.175 9.339 9.167-9.339 2.829 2.83-11.996 12.17z'/></svg>\",\"history\":\"<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M24 12c0 6.627-5.373 12-12 12s-12-5.373-12-12h2c0 5.514 4.486 10 10 10s10-4.486 10-10-4.486-10-10-10c-2.777 0-5.287 1.141-7.099 2.977l2.061 2.061-6.962 1.354 1.305-7.013 2.179 2.18c2.172-2.196 5.182-3.559 8.516-3.559 6.627 0 12 5.373 12 12zm-13-6v8h7v-2h-5v-6h-2z'/></svg>\",\"plus\":\"<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M24 10h-10v-10h-4v10h-10v4h10v10h4v-10h10z'/></svg>\",\"minus\":\"<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M0 10h24v4h-24z'/></svg>\",\"angle-right\":\"<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M5 3l3.057-3 11.943 12-11.943 12-3.057-3 9-9z'/></svg>\",\"padlock\":\"<svg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 1309.443 1658.036' enable-background='new 0 0 1309.443 1658.036' xml:space='preserve'><g><path d='M1124.664,644.322H184.779c-80.353,0-145.493,65.139-145.493,145.493v693.711c0,80.354,65.139,145.493,145.493,145.493 h939.885c80.353,0,145.493-65.139,145.493-145.493V789.814C1270.157,709.461,1205.017,644.322,1124.664,644.322z M717.651,1149.325 c1.166,4.857,1.801,9.915,1.801,15.117v124.451c0,35.832-29.317,65.148-65.148,65.148c-35.832,0-65.149-29.317-65.149-65.148 v-124.451c0-5.356,0.668-10.562,1.902-15.551c-35.921-21.626-59.951-60.993-59.951-105.976 c0-68.271,55.345-123.615,123.615-123.615c68.271,0,123.615,55.344,123.615,123.615 C778.337,1088.203,753.978,1127.795,717.651,1149.325z'/><path d='M800.192,53.478c-46.481-16.909-94.021-24.534-142.199-24.459c-48.178-0.075-102.262,7.55-148.743,24.459 c-216.571,78.787-295.237,273.21-284.399,530.585h179.785c-10.095-177.358,35.728-296.867,147.728-347.915 c64.887-29.574,139.826-29.574,204.713,0c112,51.047,157.823,170.556,147.728,347.915h179.785 C1095.429,326.688,1016.764,132.265,800.192,53.478z'/></g></svg>\",\"horn\":\"<svg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'> <path d='M9.16667 4.90182V16.0335C9.16667 16.8434 8.51008 17.5 7.70015 17.5C7.08038 17.5 6.52752 17.1104 6.31907 16.5267L4.53039 11.4024M15 10.8333C16.3807 10.8333 17.5 9.71404 17.5 8.33333C17.5 6.95262 16.3807 5.83333 15 5.83333M4.53039 11.4024C3.33691 10.8951 2.5 9.71194 2.5 8.33333C2.5 6.49238 3.99238 5 5.83333 5H7.36007C10.7773 5 13.7141 3.97159 15 2.5L15 14.1667C13.7141 12.6951 10.7773 11.6667 7.36007 11.6667L5.83331 11.6667C5.37098 11.6667 4.93064 11.5725 4.53039 11.4024Z' stroke='#4B5563' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/> </svg>\",\"horn2\":\"<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M6 11.3333L18 8V16L6 13.3333V11.3333Z' stroke='#141338' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/><path d='M11.7338 15.2005C11.6638 15.4543 11.5444 15.692 11.3825 15.8997C11.2207 16.1075 11.0195 16.2813 10.7904 16.4113C10.5614 16.5413 10.309 16.6249 10.0476 16.6574C9.78622 16.6898 9.52103 16.6705 9.26714 16.6005C9.01325 16.5304 8.77564 16.4111 8.56788 16.2492C8.36012 16.0873 8.18628 15.8861 8.05627 15.6571C7.92627 15.428 7.84266 15.1756 7.8102 14.9142C7.77775 14.6529 7.7971 14.3877 7.86714 14.1338' stroke='#141338' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/><path d='M18 3C18 1.34315 19.3431 0 21 0C22.6569 0 24 1.34315 24 3C24 4.65685 22.6569 6 21 6C19.3431 6 18 4.65685 18 3Z' fill='#DC2626'/></svg>\",\"knowledge-base\":\"<svg width='30' height='30' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'><rect x='0.5' y='0.5' width='31' height='31' rx='15.5' fill='white'></rect><path d='M16 11.0347C14.6731 9.84713 12.9209 9.125 11 9.125C10.1234 9.125 9.28195 9.27539 8.5 9.55176V21.4268C9.28195 21.1504 10.1234 21 11 21C12.9209 21 14.6731 21.7221 16 22.9097M16 11.0347C17.3269 9.84713 19.0791 9.125 21 9.125C21.8766 9.125 22.7181 9.27539 23.5 9.55176V21.4268C22.7181 21.1504 21.8766 21 21 21C19.0791 21 17.3269 21.7221 16 22.9097M16 11.0347V22.9097' stroke='#475569' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'></path></svg>\",\"circle-help\":\"<svg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><circle cx='12' cy='12' r='10' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/><path d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/><path d='M12 17h.01' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>\",\"blog-filter-layout-1\":\"<svg width='136' height='96' viewBox='0 0 136 96' fill='none' xmlns='http://www.w3.org/2000/svg'><rect x='0.5' y='0.5' width='135' height='95' rx='2.5' stroke='#D8DBDF'/><path d='M12.5 15C12.5 13.6193 13.6193 12.5 15 12.5H121C122.381 12.5 123.5 13.6193 123.5 15V95.5H12.5V15Z' fill='white'/><path d='M12.5 15C12.5 13.6193 13.6193 12.5 15 12.5H121C122.381 12.5 123.5 13.6193 123.5 15V95.5H12.5V15Z' stroke='#D1D5DB'/><rect x='24' y='68' width='25' height='15' rx='3' fill='#E5E7EB'/><rect x='55.5' y='68' width='25' height='15' rx='3' fill='#E5E7EB'/><rect x='87' y='68' width='25' height='15' rx='3' fill='#E5E7EB'/><rect x='24' y='35' width='25' height='15' rx='3' fill='#E5E7EB'/><rect x='24' y='52' width='25' height='1' fill='#D1D5DB'/><rect x='24' y='55' width='25' height='1' fill='#D1D5DB'/><rect x='24' y='58' width='15' height='1' fill='#D1D5DB'/><rect x='55.5' y='35' width='25' height='15' rx='3' fill='#E5E7EB'/><rect x='55.5' y='52' width='25' height='1' fill='#D1D5DB'/><rect x='55.5' y='55' width='25' height='1' fill='#D1D5DB'/><rect x='55.5' y='58' width='15' height='1' fill='#D1D5DB'/><rect x='87' y='35' width='25' height='15' rx='3' fill='#E5E7EB'/><rect x='87' y='52' width='25' height='1' fill='#D1D5DB'/><rect x='87' y='55' width='25' height='1' fill='#D1D5DB'/><rect x='87' y='58' width='15' height='1' fill='#D1D5DB'/><rect x='47' y='24' width='6' height='2' fill='#D1D5DB'/><rect x='56' y='24' width='6' height='2' fill='#D1D5DB'/><rect x='65' y='24' width='6' height='2' fill='#D1D5DB'/><rect x='74' y='24' width='6' height='2' fill='#D1D5DB'/><rect x='83' y='24' width='6' height='2' fill='#D1D5DB'/></svg>\",\"blog-filter-layout-2\":\"<svg width='136' height='96' viewBox='0 0 136 96' fill='none' xmlns='http://www.w3.org/2000/svg'><rect x='0.5' y='0.5' width='135' height='95' rx='2.5' stroke='#D8DBDF'/><path d='M12.5 15C12.5 13.6193 13.6193 12.5 15 12.5H121C122.381 12.5 123.5 13.6193 123.5 15V95.5H12.5V15Z' fill='white'/><path d='M12.5 15C12.5 13.6193 13.6193 12.5 15 12.5H121C122.381 12.5 123.5 13.6193 123.5 15V95.5H12.5V15Z' stroke='#D1D5DB'/><rect x='24' y='68' width='25' height='15' rx='3' fill='#E5E7EB'/><rect x='55.5' y='68' width='25' height='15' rx='3' fill='#E5E7EB'/><rect x='87' y='68' width='25' height='15' rx='3' fill='#E5E7EB'/><rect x='24' y='35' width='25' height='15' rx='3' fill='#E5E7EB'/><rect x='24' y='52' width='25' height='1' fill='#D1D5DB'/><rect x='24' y='55' width='25' height='1' fill='#D1D5DB'/><rect x='24' y='58' width='15' height='1' fill='#D1D5DB'/><rect x='55.5' y='35' width='25' height='15' rx='3' fill='#E5E7EB'/><rect x='55.5' y='52' width='25' height='1' fill='#D1D5DB'/><rect x='55.5' y='55' width='25' height='1' fill='#D1D5DB'/><rect x='55.5' y='58' width='15' height='1' fill='#D1D5DB'/><rect x='87' y='35' width='25' height='15' rx='3' fill='#E5E7EB'/><rect x='87' y='52' width='25' height='1' fill='#D1D5DB'/><rect x='87' y='55' width='25' height='1' fill='#D1D5DB'/><rect x='87' y='58' width='15' height='1' fill='#D1D5DB'/><rect x='34' y='24' width='12' height='5' rx='1' fill='#E5E7EB'/><rect x='38' y='26' width='4' height='1' fill='white'/><rect x='48' y='24' width='12' height='5' rx='1' fill='#E5E7EB'/><rect x='52' y='26' width='4' height='1' fill='white'/><rect x='62' y='24' width='12' height='5' rx='1' fill='#E5E7EB'/><rect x='66' y='26' width='4' height='1' fill='white'/><rect x='76' y='24' width='12' height='5' rx='1' fill='#E5E7EB'/><rect x='80' y='26' width='4' height='1' fill='white'/><rect x='90' y='24' width='12' height='5' rx='1' fill='#E5E7EB'/><rect x='94' y='26' width='4' height='1' fill='white'/></svg>\"}"),d=window.wp.element,p=window.wp.primitives,h=(0,d.createElement)(p.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,d.createElement)(p.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V7h15v12zM9 10H7v2h2v-2zm0 4H7v2h2v-2zm4-4h-2v2h2v-2zm4 0h-2v2h2v-2zm-4 4h-2v2h2v-2zm4 0h-2v2h2v-2z"})),f=window.ReactJSXRuntime;function m(e){const{label:n,title:o,onOpenPopover:a}=e;return(0,f.jsx)("div",{className:"ast-schedule-date-time",children:(0,f.jsx)(t.Button,{icon:h,title:o,onClick:()=>a(e=>!e),isLink:!0,children:(0,f.jsx)("span",{children:n})})})}const v=window.wp.date;function g(e,t=(0,r.__)("Click To Pick Date","astra-addon")){const n=(0,v.__experimentalGetSettings)();let o=t;return e&&(o=(0,v.format)(`${n.formats.date} ${n.formats.time}`,e)),o}var y=n(638),b=n.n(y);function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}function x(e){var t=function(e){if("object"!=w(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=w(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==w(t)?t:t+""}function k(e,t,n){return(t=x(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach(function(t){k(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function M(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function V(e,t){if(e){if("string"==typeof e)return M(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?M(e,t):void 0}}function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,a,i,r,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=i.call(n)).done)&&(s.push(o.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(r=n.return(),Object(r)!==r))return}finally{if(c)throw a}}return s}}(e,t)||V(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,t){if(null==e)return{};var n,o,a=function(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var D=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},_.apply(null,arguments)}function j(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,x(o.key),o)}}function H(e,t){return H=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},H(e,t)}function T(e){return T=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},T(e)}function A(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(A=function(){return!!e})()}function P(e){return function(e){if(Array.isArray(e))return M(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||V(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var L=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),I=Math.abs,N=String.fromCharCode,R=Object.assign;function B(e){return e.trim()}function F(e,t,n){return e.replace(t,n)}function z(e,t){return e.indexOf(t)}function Z(e,t){return 0|e.charCodeAt(t)}function U(e,t,n){return e.slice(t,n)}function $(e){return e.length}function q(e){return e.length}function W(e,t){return t.push(e),e}var X=1,G=1,Q=0,Y=0,K=0,J="";function ee(e,t,n,o,a,i,r){return{value:e,root:t,parent:n,type:o,props:a,children:i,line:X,column:G,length:r,return:""}}function te(e,t){return R(ee("",null,null,"",null,null,0),e,{length:-e.length},t)}function ne(){return K=Y>0?Z(J,--Y):0,G--,10===K&&(G=1,X--),K}function oe(){return K=Y<Q?Z(J,Y++):0,G++,10===K&&(G=1,X++),K}function ae(){return Z(J,Y)}function ie(){return Y}function re(e,t){return U(J,e,t)}function se(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function le(e){return X=G=1,Q=$(J=e),Y=0,[]}function ce(e){return J="",e}function ue(e){return B(re(Y-1,he(91===e?e+2:40===e?e+1:e)))}function de(e){for(;(K=ae())&&K<33;)oe();return se(e)>2||se(K)>3?"":" "}function pe(e,t){for(;--t&&oe()&&!(K<48||K>102||K>57&&K<65||K>70&&K<97););return re(e,ie()+(t<6&&32==ae()&&32==oe()))}function he(e){for(;oe();)switch(K){case e:return Y;case 34:case 39:34!==e&&39!==e&&he(K);break;case 40:41===e&&he(e);break;case 92:oe()}return Y}function fe(e,t){for(;oe()&&e+K!==57&&(e+K!==84||47!==ae()););return"/*"+re(t,Y-1)+"*"+N(47===e?e:oe())}function me(e){for(;!se(ae());)oe();return re(e,Y)}var ve="-ms-",ge="-moz-",ye="-webkit-",be="comm",we="rule",xe="decl",ke="@keyframes";function Ce(e,t){for(var n="",o=q(e),a=0;a<o;a++)n+=t(e[a],a,e,t)||"";return n}function Ee(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case xe:return e.return=e.return||e.value;case be:return"";case ke:return e.return=e.value+"{"+Ce(e.children,o)+"}";case we:e.value=e.props.join(",")}return $(n=Ce(e.children,o))?e.return=e.value+"{"+n+"}":""}function Me(e){return ce(Ve("",null,null,null,[""],e=le(e),0,[0],e))}function Ve(e,t,n,o,a,i,r,s,l){for(var c=0,u=0,d=r,p=0,h=0,f=0,m=1,v=1,g=1,y=0,b="",w=a,x=i,k=o,C=b;v;)switch(f=y,y=oe()){case 40:if(108!=f&&58==Z(C,d-1)){-1!=z(C+=F(ue(y),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:C+=ue(y);break;case 9:case 10:case 13:case 32:C+=de(f);break;case 92:C+=pe(ie()-1,7);continue;case 47:switch(ae()){case 42:case 47:W(Se(fe(oe(),ie()),t,n),l);break;default:C+="/"}break;case 123*m:s[c++]=$(C)*g;case 125*m:case 59:case 0:switch(y){case 0:case 125:v=0;case 59+u:-1==g&&(C=F(C,/\f/g,"")),h>0&&$(C)-d&&W(h>32?De(C+";",o,n,d-1):De(F(C," ","")+";",o,n,d-2),l);break;case 59:C+=";";default:if(W(k=Oe(C,t,n,c,u,a,s,b,w=[],x=[],d),i),123===y)if(0===u)Ve(C,t,k,k,w,i,d,s,x);else switch(99===p&&110===Z(C,3)?100:p){case 100:case 108:case 109:case 115:Ve(e,k,k,o&&W(Oe(e,k,k,0,0,a,s,b,a,w=[],d),x),a,x,d,s,o?w:x);break;default:Ve(C,k,k,k,[""],x,0,s,x)}}c=u=h=0,m=g=1,b=C="",d=r;break;case 58:d=1+$(C),h=f;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==ne())continue;switch(C+=N(y),y*m){case 38:g=u>0?1:(C+="\f",-1);break;case 44:s[c++]=($(C)-1)*g,g=1;break;case 64:45===ae()&&(C+=ue(oe())),p=ae(),u=d=$(b=C+=me(ie())),y++;break;case 45:45===f&&2==$(C)&&(m=0)}}return i}function Oe(e,t,n,o,a,i,r,s,l,c,u){for(var d=a-1,p=0===a?i:[""],h=q(p),f=0,m=0,v=0;f<o;++f)for(var g=0,y=U(e,d+1,d=I(m=r[f])),b=e;g<h;++g)(b=B(m>0?p[g]+" "+y:F(y,/&\f/g,p[g])))&&(l[v++]=b);return ee(e,t,n,0===a?we:s,l,c,u)}function Se(e,t,n){return ee(e,t,n,be,N(K),U(e,2,-2),0)}function De(e,t,n,o){return ee(e,t,n,xe,U(e,0,o),U(e,o+1,-1),o)}var _e=function(e,t,n){for(var o=0,a=0;o=a,a=ae(),38===o&&12===a&&(t[n]=1),!se(a);)oe();return re(e,Y)},je=new WeakMap,He=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,o=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||je.get(n))&&!o){je.set(e,!0);for(var a=[],i=function(e,t){return ce(function(e,t){var n=-1,o=44;do{switch(se(o)){case 0:38===o&&12===ae()&&(t[n]=1),e[n]+=_e(Y-1,t,n);break;case 2:e[n]+=ue(o);break;case 4:if(44===o){e[++n]=58===ae()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=N(o)}}while(o=oe());return e}(le(e),t))}(t,a),r=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<r.length;c++,l++)e.props[l]=a[s]?i[s].replace(/&\f/g,r[c]):r[c]+" "+i[s]}}},Te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Ae(e,t){switch(function(e,t){return 45^Z(e,0)?(((t<<2^Z(e,0))<<2^Z(e,1))<<2^Z(e,2))<<2^Z(e,3):0}(e,t)){case 5103:return ye+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ye+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ye+e+ge+e+ve+e+e;case 6828:case 4268:return ye+e+ve+e+e;case 6165:return ye+e+ve+"flex-"+e+e;case 5187:return ye+e+F(e,/(\w+).+(:[^]+)/,ye+"box-$1$2"+ve+"flex-$1$2")+e;case 5443:return ye+e+ve+"flex-item-"+F(e,/flex-|-self/,"")+e;case 4675:return ye+e+ve+"flex-line-pack"+F(e,/align-content|flex-|-self/,"")+e;case 5548:return ye+e+ve+F(e,"shrink","negative")+e;case 5292:return ye+e+ve+F(e,"basis","preferred-size")+e;case 6060:return ye+"box-"+F(e,"-grow","")+ye+e+ve+F(e,"grow","positive")+e;case 4554:return ye+F(e,/([^-])(transform)/g,"$1"+ye+"$2")+e;case 6187:return F(F(F(e,/(zoom-|grab)/,ye+"$1"),/(image-set)/,ye+"$1"),e,"")+e;case 5495:case 3959:return F(e,/(image-set\([^]*)/,ye+"$1$`$1");case 4968:return F(F(e,/(.+:)(flex-)?(.*)/,ye+"box-pack:$3"+ve+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ye+e+e;case 4095:case 3583:case 4068:case 2532:return F(e,/(.+)-inline(.+)/,ye+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if($(e)-1-t>6)switch(Z(e,t+1)){case 109:if(45!==Z(e,t+4))break;case 102:return F(e,/(.+:)(.+)-([^]+)/,"$1"+ye+"$2-$3$1"+ge+(108==Z(e,t+3)?"$3":"$2-$3"))+e;case 115:return~z(e,"stretch")?Ae(F(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Z(e,t+1))break;case 6444:switch(Z(e,$(e)-3-(~z(e,"!important")&&10))){case 107:return F(e,":",":"+ye)+e;case 101:return F(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ye+(45===Z(e,14)?"inline-":"")+"box$3$1"+ye+"$2$3$1"+ve+"$2box$3")+e}break;case 5936:switch(Z(e,t+11)){case 114:return ye+e+ve+F(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ye+e+ve+F(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ye+e+ve+F(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ye+e+ve+e+e}return e}var Pe=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case xe:e.return=Ae(e.value,e.length);break;case ke:return Ce([te(e,{value:F(e.value,"@","@"+ye)})],o);case we:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return Ce([te(e,{props:[F(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return Ce([te(e,{props:[F(t,/:(plac\w+)/,":"+ye+"input-$1")]}),te(e,{props:[F(t,/:(plac\w+)/,":-moz-$1")]}),te(e,{props:[F(t,/:(plac\w+)/,ve+"input-$1")]})],o)}return""})}}],Le=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var o,a,i=e.stylisPlugins||Pe,r={},s=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)r[t[n]]=!0;s.push(e)});var l,c,u,d,p=[Ee,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],h=(c=[He,Te].concat(i,p),u=q(c),function(e,t,n,o){for(var a="",i=0;i<u;i++)a+=c[i](e,t,n,o)||"";return a});a=function(e,t,n,o){l=n,Ce(Me(e?e+"{"+t.styles+"}":t.styles),h),o&&(f.inserted[t.name]=!0)};var f={key:t,sheet:new L({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:r,registered:{},insert:a};return f.sheet.hydrate(s),f},Ie=function(e,t,n){var o=e.key+"-"+t.name;!1===n&&void 0===e.registered[o]&&(e.registered[o]=t.styles)},Ne={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Re(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Be=/[A-Z]|^ms/g,Fe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ze=function(e){return 45===e.charCodeAt(1)},Ze=function(e){return null!=e&&"boolean"!=typeof e},Ue=Re(function(e){return ze(e)?e:e.replace(Be,"-$&").toLowerCase()}),$e=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Fe,function(e,t,n){return We={name:t,styles:n,next:We},t})}return 1===Ne[e]||ze(e)||"number"!=typeof t||0===t?t:t+"px"};function qe(e,t,n){if(null==n)return"";var o=n;if(void 0!==o.__emotion_styles)return o;switch(typeof n){case"boolean":return"";case"object":var a=n;if(1===a.anim)return We={name:a.name,styles:a.styles,next:We},a.name;var i=n;if(void 0!==i.styles){var r=i.next;if(void 0!==r)for(;void 0!==r;)We={name:r.name,styles:r.styles,next:We},r=r.next;return i.styles+";"}return function(e,t,n){var o="";if(Array.isArray(n))for(var a=0;a<n.length;a++)o+=qe(e,t,n[a])+";";else for(var i in n){var r=n[i];if("object"!=typeof r){var s=r;null!=t&&void 0!==t[s]?o+=i+"{"+t[s]+"}":Ze(s)&&(o+=Ue(i)+":"+$e(i,s)+";")}else if(!Array.isArray(r)||"string"!=typeof r[0]||null!=t&&void 0!==t[r[0]]){var l=qe(e,t,r);switch(i){case"animation":case"animationName":o+=Ue(i)+":"+l+";";break;default:o+=i+"{"+l+"}"}}else for(var c=0;c<r.length;c++)Ze(r[c])&&(o+=Ue(i)+":"+$e(i,r[c])+";")}return o}(e,t,n);case"function":if(void 0!==e){var s=We,l=n(e);return We=s,qe(e,t,l)}}var c=n;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var We,Xe=/label:\s*([^\s;{]+)\s*(;|$)/g;function Ge(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o=!0,a="";We=void 0;var i=e[0];null==i||void 0===i.raw?(o=!1,a+=qe(n,t,i)):a+=i[0];for(var r=1;r<e.length;r++)a+=qe(n,t,e[r]),o&&(a+=i[r]);Xe.lastIndex=0;for(var s,l="";null!==(s=Xe.exec(a));)l+="-"+s[1];var c=function(e){for(var t,n=0,o=0,a=e.length;a>=4;++o,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(a){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(a)+l;return{name:c,styles:a,next:We}}var Qe,Ye,Ke=!!c.useInsertionEffect&&c.useInsertionEffect,Je=Ke||function(e){return e()},et=(Ke||c.useLayoutEffect,c.createContext("undefined"!=typeof HTMLElement?Le({key:"css"}):null)),tt=(et.Provider,function(e){return(0,c.forwardRef)(function(t,n){var o=(0,c.useContext)(et);return e(t,o,n)})}),nt=c.createContext({}),ot={}.hasOwnProperty,at="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",it=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;return Ie(t,n,o),Je(function(){return function(e,t,n){Ie(e,t,n);var o=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+o:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}}(t,n,o)}),null},rt=tt(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var a=e[at],i=[o],r="";"string"==typeof e.className?r=function(e,t,n){var o="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(o+=n+" ")}),o}(t.registered,i,e.className):null!=e.className&&(r=e.className+" ");var s=Ge(i,void 0,c.useContext(nt));r+=t.key+"-"+s.name;var l={};for(var u in e)ot.call(e,u)&&"css"!==u&&u!==at&&(l[u]=e[u]);return l.className=r,n&&(l.ref=n),c.createElement(c.Fragment,null,c.createElement(it,{cache:t,serialized:s,isStringTag:"string"==typeof a}),c.createElement(a,l))}),st=rt,lt=(n(146),function(e,t){var n=arguments;if(null==t||!ot.call(t,"css"))return c.createElement.apply(void 0,n);var o=n.length,a=new Array(o);a[0]=st,a[1]=function(e,t){var n={};for(var o in t)ot.call(t,o)&&(n[o]=t[o]);return n[at]=e,n}(e,t);for(var i=2;i<o;i++)a[i]=n[i];return c.createElement.apply(null,a)});function ct(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ge(t)}Qe=lt||(lt={}),Ye||(Ye=Qe.JSX||(Qe.JSX={}));const ut=window.ReactDOM,dt=Math.min,pt=Math.max,ht=Math.round,ft=Math.floor,mt=e=>({x:e,y:e});function vt(){return"undefined"!=typeof window}function gt(e){return wt(e)?(e.nodeName||"").toLowerCase():"#document"}function yt(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function bt(e){var t;return null==(t=(wt(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function wt(e){return!!vt()&&(e instanceof Node||e instanceof yt(e).Node)}function xt(e){return!!vt()&&(e instanceof Element||e instanceof yt(e).Element)}function kt(e){return!!vt()&&(e instanceof HTMLElement||e instanceof yt(e).HTMLElement)}function Ct(e){return!(!vt()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof yt(e).ShadowRoot)}const Et=new Set(["inline","contents"]);function Mt(e){const{overflow:t,overflowX:n,overflowY:o,display:a}=Ot(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!Et.has(a)}const Vt=new Set(["html","body","#document"]);function Ot(e){return yt(e).getComputedStyle(e)}function St(e){const t=function(e){if("html"===gt(e))return e;const t=e.assignedSlot||e.parentNode||Ct(e)&&e.host||bt(e);return Ct(t)?t.host:t}(e);return function(e){return Vt.has(gt(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:kt(t)&&Mt(t)?t:St(t)}function Dt(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const a=St(e),i=a===(null==(o=e.ownerDocument)?void 0:o.body),r=yt(a);if(i){const e=_t(r);return t.concat(r,r.visualViewport||[],Mt(a)?a:[],e&&n?Dt(e):[])}return t.concat(a,Dt(a,[],n))}function _t(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function jt(e){return xt(e)?e:e.contextElement}function Ht(e){const t=jt(e);if(!kt(t))return mt(1);const n=t.getBoundingClientRect(),{width:o,height:a,$:i}=function(e){const t=Ot(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const a=kt(e),i=a?e.offsetWidth:n,r=a?e.offsetHeight:o,s=ht(n)!==i||ht(o)!==r;return s&&(n=i,o=r),{width:n,height:o,$:s}}(t);let r=(i?ht(n.width):n.width)/o,s=(i?ht(n.height):n.height)/a;return r&&Number.isFinite(r)||(r=1),s&&Number.isFinite(s)||(s=1),{x:r,y:s}}const Tt=mt(0);function At(e){const t=yt(e);return"undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Tt}function Pt(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const a=e.getBoundingClientRect(),i=jt(e);let r=mt(1);t&&(o?xt(o)&&(r=Ht(o)):r=Ht(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==yt(e))&&t}(i,n,o)?At(i):mt(0);let l=(a.left+s.x)/r.x,c=(a.top+s.y)/r.y,u=a.width/r.x,d=a.height/r.y;if(i){const e=yt(i),t=o&&xt(o)?yt(o):o;let n=e,a=_t(n);for(;a&&o&&t!==n;){const e=Ht(a),t=a.getBoundingClientRect(),o=Ot(a),i=t.left+(a.clientLeft+parseFloat(o.paddingLeft))*e.x,r=t.top+(a.clientTop+parseFloat(o.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=r,n=yt(a),a=_t(n)}}return function(e){const{x:t,y:n,width:o,height:a}=e;return{width:o,height:a,top:n,left:t,right:t+o,bottom:n+a,x:t,y:n}}({width:u,height:d,x:l,y:c})}function Lt(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}var It=c.useLayoutEffect,Nt=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Rt=function(){};function Bt(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Ft(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];var i=[].concat(o);if(t&&e)for(var r in t)t.hasOwnProperty(r)&&t[r]&&i.push("".concat(Bt(e,r)));return i.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var zt=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===w(e)&&null!==e?[e]:[];var t},Zt=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,E({},S(e,Nt))},Ut=function(e,t,n){var o=e.cx,a=e.getStyles,i=e.getClassNames,r=e.className;return{css:a(t,e),className:o(null!=n?n:{},i(t,e),r)}};function $t(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function qt(e){return $t(e)?window.pageYOffset:e.scrollTop}function Wt(e,t){$t(e)?window.scrollTo(0,t):e.scrollTop=t}function Xt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Rt,a=qt(e),i=t-a,r=0;!function t(){var s,l=i*((s=(s=r+=10)/n-1)*s*s+1)+a;Wt(e,l),r<n?window.requestAnimationFrame(t):o(e)}()}function Gt(e,t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),a=t.offsetHeight/3;o.bottom+a>n.bottom?Wt(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+a,e.scrollHeight)):o.top-a<n.top&&Wt(e,Math.max(t.offsetTop-a,0))}function Qt(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Yt=!1,Kt={get passive(){return Yt=!0}},Jt="undefined"!=typeof window?window:{};Jt.addEventListener&&Jt.removeEventListener&&(Jt.addEventListener("p",Rt,Kt),Jt.removeEventListener("p",Rt,!1));var en=Yt;function tn(e){return null!=e}function nn(e,t,n){return e?t:n}var on=["children","innerProps"],an=["children","innerProps"];var rn,sn,ln,cn=function(e){return"auto"===e?"bottom":e},un=(0,c.createContext)(null),dn=function(e){var t=e.children,n=e.minMenuHeight,o=e.maxMenuHeight,a=e.menuPlacement,i=e.menuPosition,r=e.menuShouldScrollIntoView,s=e.theme,l=((0,c.useContext)(un)||{}).setPortalPlacement,u=(0,c.useRef)(null),d=O((0,c.useState)(o),2),p=d[0],h=d[1],f=O((0,c.useState)(null),2),m=f[0],v=f[1],g=s.spacing.controlHeight;return It(function(){var e=u.current;if(e){var t="fixed"===i,s=function(e){var t=e.maxHeight,n=e.menuEl,o=e.minHeight,a=e.placement,i=e.shouldScroll,r=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,o=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var a=e;a=a.parentElement;)if(t=getComputedStyle(a),(!n||"static"!==t.position)&&o.test(t.overflow+t.overflowY+t.overflowX))return a;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),h=p.bottom,f=p.height,m=p.top,v=n.offsetParent.getBoundingClientRect().top,g=r||$t(u=l)?window.innerHeight:u.clientHeight,y=qt(l),b=parseInt(getComputedStyle(n).marginBottom,10),w=parseInt(getComputedStyle(n).marginTop,10),x=v-w,k=g-m,C=x+y,E=d-y-m,M=h-g+y+b,V=y+m-w,O=160;switch(a){case"auto":case"bottom":if(k>=f)return{placement:"bottom",maxHeight:t};if(E>=f&&!r)return i&&Xt(l,M,O),{placement:"bottom",maxHeight:t};if(!r&&E>=o||r&&k>=o)return i&&Xt(l,M,O),{placement:"bottom",maxHeight:r?k-b:E-b};if("auto"===a||r){var S=t,D=r?x:C;return D>=o&&(S=Math.min(D-b-s,t)),{placement:"top",maxHeight:S}}if("bottom"===a)return i&&Wt(l,M),{placement:"bottom",maxHeight:t};break;case"top":if(x>=f)return{placement:"top",maxHeight:t};if(C>=f&&!r)return i&&Xt(l,V,O),{placement:"top",maxHeight:t};if(!r&&C>=o||r&&x>=o){var _=t;return(!r&&C>=o||r&&x>=o)&&(_=r?x-w:C-w),i&&Xt(l,V,O),{placement:"top",maxHeight:_}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(a,'".'))}return c}({maxHeight:o,menuEl:e,minHeight:n,placement:a,shouldScroll:r&&!t,isFixedPosition:t,controlHeight:g});h(s.maxHeight),v(s.placement),null==l||l(s.placement)}},[o,a,i,r,n,l,g]),t({ref:u,placerProps:E(E({},e),{},{placement:m||cn(a),maxHeight:p})})},pn=function(e,t){var n=e.theme,o=n.spacing.baseUnit,a=n.colors;return E({textAlign:"center"},t?{}:{color:a.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},hn=pn,fn=pn,mn=["size"],vn=["innerProps","isRtl","size"],gn={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},yn=function(e){var t=e.size,n=S(e,mn);return lt("svg",_({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:gn},n))},bn=function(e){return lt(yn,_({size:20},e),lt("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},wn=function(e){return lt(yn,_({size:20},e),lt("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},xn=function(e,t){var n=e.isFocused,o=e.theme,a=o.spacing.baseUnit,i=o.colors;return E({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a,":hover":{color:n?i.neutral80:i.neutral40}})},kn=xn,Cn=xn,En=function(){var e=ct.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(rn||(sn=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],ln||(ln=sn.slice(0)),rn=Object.freeze(Object.defineProperties(sn,{raw:{value:Object.freeze(ln)}})))),Mn=function(e){var t=e.delay,n=e.offset;return lt("span",{css:ct({animation:"".concat(En," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},Vn=["data"],On=["innerRef","isDisabled","isHidden","inputClassName"],Sn={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Dn={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":E({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Sn)},jn=function(e){return E({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Sn)},Hn=function(e){var t=e.children,n=e.innerProps;return lt("div",n,t)},Tn={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return lt("div",_({},Ut(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||lt(bn,null))},Control:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,a=e.innerRef,i=e.innerProps,r=e.menuIsOpen;return lt("div",_({ref:a},Ut(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":r}),i,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return lt("div",_({},Ut(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||lt(wn,null))},DownChevron:wn,CrossIcon:bn,Group:function(e){var t=e.children,n=e.cx,o=e.getStyles,a=e.getClassNames,i=e.Heading,r=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return lt("div",_({},Ut(e,"group",{group:!0}),s),lt(i,_({},r,{selectProps:u,theme:c,getStyles:o,getClassNames:a,cx:n}),l),lt("div",null,t))},GroupHeading:function(e){var t=Zt(e);t.data;var n=S(t,Vn);return lt("div",_({},Ut(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return lt("div",_({},Ut(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return lt("span",_({},t,Ut(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,o=Zt(e),a=o.innerRef,i=o.isDisabled,r=o.isHidden,s=o.inputClassName,l=S(o,On);return lt("div",_({},Ut(e,"input",{"input-container":!0}),{"data-value":n||""}),lt("input",_({className:t({input:!0},s),ref:a,style:jn(r),disabled:i},l)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,a=void 0===o?4:o,i=S(e,vn);return lt("div",_({},Ut(E(E({},i),{},{innerProps:t,isRtl:n,size:a}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),lt(Mn,{delay:0,offset:n}),lt(Mn,{delay:160,offset:!0}),lt(Mn,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,o=e.innerProps;return lt("div",_({},Ut(e,"menu",{menu:!0}),{ref:n},o),t)},MenuList:function(e){var t=e.children,n=e.innerProps,o=e.innerRef,a=e.isMulti;return lt("div",_({},Ut(e,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:o},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,o=e.controlElement,a=e.innerProps,i=e.menuPlacement,r=e.menuPosition,s=(0,c.useRef)(null),l=(0,c.useRef)(null),u=O((0,c.useState)(cn(i)),2),d=u[0],p=u[1],h=(0,c.useMemo)(function(){return{setPortalPlacement:p}},[]),f=O((0,c.useState)(null),2),m=f[0],v=f[1],g=(0,c.useCallback)(function(){if(o){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(o),t="fixed"===r?0:window.pageYOffset,n=e[d]+t;n===(null==m?void 0:m.offset)&&e.left===(null==m?void 0:m.rect.left)&&e.width===(null==m?void 0:m.rect.width)||v({offset:n,rect:e})}},[o,r,d,null==m?void 0:m.offset,null==m?void 0:m.rect.left,null==m?void 0:m.rect.width]);It(function(){g()},[g]);var y=(0,c.useCallback)(function(){"function"==typeof l.current&&(l.current(),l.current=null),o&&s.current&&(l.current=function(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:r="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=o,c=jt(e),u=a||i?[...c?Dt(c):[],...Dt(t)]:[];u.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,o=null;const a=bt(e);function i(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return function r(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:h}=c;if(s||t(),!p||!h)return;const f={rootMargin:-ft(d)+"px "+-ft(a.clientWidth-(u+p))+"px "+-ft(a.clientHeight-(d+h))+"px "+-ft(u)+"px",threshold:pt(0,dt(1,l))||1};let m=!0;function v(t){const o=t[0].intersectionRatio;if(o!==l){if(!m)return r();o?r(!1,o):n=setTimeout(()=>{r(!1,1e-7)},1e3)}1!==o||Lt(c,e.getBoundingClientRect())||r(),m=!1}try{o=new IntersectionObserver(v,{...f,root:a.ownerDocument})}catch(e){o=new IntersectionObserver(v,f)}o.observe(e)}(!0),i}(c,n):null;let p,h=-1,f=null;r&&(f=new ResizeObserver(e=>{let[o]=e;o&&o.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=f)||e.observe(t)})),n()}),c&&!l&&f.observe(c),f.observe(t));let m=l?Pt(e):null;return l&&function t(){const o=Pt(e);m&&!Lt(m,o)&&n(),m=o,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{a&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=f)||e.disconnect(),f=null,l&&cancelAnimationFrame(p)}}(o,s.current,g,{elementResize:"ResizeObserver"in window}))},[o,g]);It(function(){y()},[y]);var b=(0,c.useCallback)(function(e){s.current=e,y()},[y]);if(!t&&"fixed"!==r||!m)return null;var w=lt("div",_({ref:b},Ut(E(E({},e),{},{offset:m.offset,position:r,rect:m.rect}),"menuPortal",{"menu-portal":!0}),a),n);return lt(un.Provider,{value:h},t?(0,ut.createPortal)(w,t):w)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,a=S(e,an);return lt("div",_({},Ut(E(E({},a),{},{children:n,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,o=e.innerProps,a=S(e,on);return lt("div",_({},Ut(E(E({},a),{},{children:n,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),n)},MultiValue:function(e){var t=e.children,n=e.components,o=e.data,a=e.innerProps,i=e.isDisabled,r=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return lt(l,{data:o,innerProps:E(E({},Ut(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),a),selectProps:s},lt(c,{data:o,innerProps:E({},Ut(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),lt(u,{data:o,innerProps:E(E({},Ut(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},r),selectProps:s}))},MultiValueContainer:Hn,MultiValueLabel:Hn,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return lt("div",_({role:"button"},n),t||lt(bn,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,a=e.isSelected,i=e.innerRef,r=e.innerProps;return lt("div",_({},Ut(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":o,"option--is-selected":a}),{ref:i,"aria-disabled":n},r),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return lt("div",_({},Ut(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,o=e.isDisabled,a=e.isRtl;return lt("div",_({},Ut(e,"container",{"--is-disabled":o,"--is-rtl":a}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,o=e.innerProps;return lt("div",_({},Ut(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),o),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,o=e.isMulti,a=e.hasValue;return lt("div",_({},Ut(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":a}),n),t)}},An=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Pn(e,t){return e===t||!(!An(e)||!An(t))}function Ln(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Pn(e[n],t[n]))return!1;return!0}for(var In={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},Nn=function(e){return lt("span",_({css:In},e))},Rn={guidance:function(e){var t=e.isSearchable,n=e.isMulti,o=e.tabSelectsValue,a=e.context,i=e.isInitialFocus;switch(a){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,o=void 0===n?"":n,a=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(a.length>1?"s":""," ").concat(a.join(","),", selected.");case"select-option":return"option ".concat(o,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,o=e.options,a=e.label,i=void 0===a?"":a,r=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&r)return"value ".concat(i," focused, ").concat(u(r,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(i).concat(p,", ").concat(u(o,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Bn=function(e){var t=e.ariaSelection,n=e.focusedOption,o=e.focusedValue,a=e.focusableOptions,i=e.isFocused,r=e.selectValue,s=e.selectProps,l=e.id,u=e.isAppleDevice,d=s.ariaLiveMessages,p=s.getOptionLabel,h=s.inputValue,f=s.isMulti,m=s.isOptionDisabled,v=s.isSearchable,g=s.menuIsOpen,y=s.options,b=s.screenReaderStatus,w=s.tabSelectsValue,x=s.isLoading,k=s["aria-label"],C=s["aria-live"],M=(0,c.useMemo)(function(){return E(E({},Rn),d||{})},[d]),V=(0,c.useMemo)(function(){var e,n="";if(t&&M.onChange){var o=t.option,a=t.options,i=t.removedValue,s=t.removedValues,l=t.value,c=i||o||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=a||s||void 0,h=d?d.map(p):[],f=E({isDisabled:c&&m(c,r),label:u,labels:h},t);n=M.onChange(f)}return n},[t,M,m,r,p]),O=(0,c.useMemo)(function(){var e="",t=n||o,i=!!(n&&r&&r.includes(n));if(t&&M.onFocus){var s={focused:t,label:p(t),isDisabled:m(t,r),isSelected:i,options:a,context:t===n?"menu":"value",selectValue:r,isAppleDevice:u};e=M.onFocus(s)}return e},[n,o,p,m,M,a,r,u]),S=(0,c.useMemo)(function(){var e="";if(g&&y.length&&!x&&M.onFilter){var t=b({count:a.length});e=M.onFilter({inputValue:h,resultsMessage:t})}return e},[a,h,g,M,y,b,x]),D="initial-input-focus"===(null==t?void 0:t.action),_=(0,c.useMemo)(function(){var e="";if(M.guidance){var t=o?"value":g?"menu":"input";e=M.guidance({"aria-label":k,context:t,isDisabled:n&&m(n,r),isMulti:f,isSearchable:v,tabSelectsValue:w,isInitialFocus:D})}return e},[k,n,o,f,m,v,g,M,r,w,D]),j=lt(c.Fragment,null,lt("span",{id:"aria-selection"},V),lt("span",{id:"aria-focused"},O),lt("span",{id:"aria-results"},S),lt("span",{id:"aria-guidance"},_));return lt(c.Fragment,null,lt(Nn,{id:l},D&&j),lt(Nn,{"aria-live":C,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!D&&j))},Fn=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],zn=new RegExp("["+Fn.map(function(e){return e.letters}).join("")+"]","g"),Zn={},Un=0;Un<Fn.length;Un++)for(var $n=Fn[Un],qn=0;qn<$n.letters.length;qn++)Zn[$n.letters[qn]]=$n.base;var Wn=function(e){return e.replace(zn,function(e){return Zn[e]})},Xn=function(e,t){void 0===t&&(t=Ln);var n=null;function o(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(n&&n.lastThis===this&&t(o,n.lastArgs))return n.lastResult;var i=e.apply(this,o);return n={lastResult:i,lastArgs:o,lastThis:this},i}return o.clear=function(){n=null},o}(Wn),Gn=function(e){return e.replace(/^\s+|\s+$/g,"")},Qn=function(e){return"".concat(e.label," ").concat(e.value)},Yn=["innerRef"];function Kn(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var a=Object.entries(e).filter(function(e){var t=O(e,1)[0];return!n.includes(t)});return a.reduce(function(e,t){var n=O(t,2),o=n[0],a=n[1];return e[o]=a,e},{})}(S(e,Yn),"onExited","in","enter","exit","appear");return lt("input",_({ref:t},n,{css:ct({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var Jn=["boxSizing","height","overflow","paddingRight","position"],eo={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function to(e){e.cancelable&&e.preventDefault()}function no(e){e.stopPropagation()}function oo(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function ao(){return"ontouchstart"in window||navigator.maxTouchPoints}var io=!("undefined"==typeof window||!window.document||!window.document.createElement),ro=0,so={capture:!1,passive:!1},lo=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},co={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function uo(e){var t=e.children,n=e.lockEnabled,o=e.captureEnabled,a=function(e){var t=e.isEnabled,n=e.onBottomArrive,o=e.onBottomLeave,a=e.onTopArrive,i=e.onTopLeave,r=(0,c.useRef)(!1),s=(0,c.useRef)(!1),l=(0,c.useRef)(0),u=(0,c.useRef)(null),d=(0,c.useCallback)(function(e,t){if(null!==u.current){var l=u.current,c=l.scrollTop,d=l.scrollHeight,p=l.clientHeight,h=u.current,f=t>0,m=d-p-c,v=!1;m>t&&r.current&&(o&&o(e),r.current=!1),f&&s.current&&(i&&i(e),s.current=!1),f&&t>m?(n&&!r.current&&n(e),h.scrollTop=d,v=!0,r.current=!0):!f&&-t>c&&(a&&!s.current&&a(e),h.scrollTop=0,v=!0,s.current=!0),v&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,o,a,i]),p=(0,c.useCallback)(function(e){d(e,e.deltaY)},[d]),h=(0,c.useCallback)(function(e){l.current=e.changedTouches[0].clientY},[]),f=(0,c.useCallback)(function(e){var t=l.current-e.changedTouches[0].clientY;d(e,t)},[d]),m=(0,c.useCallback)(function(e){if(e){var t=!!en&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",f,t)}},[f,h,p]),v=(0,c.useCallback)(function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",f,!1))},[f,h,p]);return(0,c.useEffect)(function(){if(t){var e=u.current;return m(e),function(){v(e)}}},[t,m,v]),function(e){u.current=e}}({isEnabled:void 0===o||o,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,o=void 0===n||n,a=(0,c.useRef)({}),i=(0,c.useRef)(null),r=(0,c.useCallback)(function(e){if(io){var t=document.body,n=t&&t.style;if(o&&Jn.forEach(function(e){var t=n&&n[e];a.current[e]=t}),o&&ro<1){var i=parseInt(a.current.paddingRight,10)||0,r=document.body?document.body.clientWidth:0,s=window.innerWidth-r+i||0;Object.keys(eo).forEach(function(e){var t=eo[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&ao()&&(t.addEventListener("touchmove",to,so),e&&(e.addEventListener("touchstart",oo,so),e.addEventListener("touchmove",no,so))),ro+=1}},[o]),s=(0,c.useCallback)(function(e){if(io){var t=document.body,n=t&&t.style;ro=Math.max(ro-1,0),o&&ro<1&&Jn.forEach(function(e){var t=a.current[e];n&&(n[e]=t)}),t&&ao()&&(t.removeEventListener("touchmove",to,so),e&&(e.removeEventListener("touchstart",oo,so),e.removeEventListener("touchmove",no,so)))}},[o]);return(0,c.useEffect)(function(){if(t){var e=i.current;return r(e),function(){s(e)}}},[t,r,s]),function(e){i.current=e}}({isEnabled:n});return lt(c.Fragment,null,n&<("div",{onClick:lo,css:co}),t(function(e){a(e),i(e)}))}var po={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},ho=function(e){var t=e.name,n=e.onFocus;return lt("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:po,value:"",onChange:function(){}})};function fo(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function mo(){return fo(/^Mac/i)}var vo={clearIndicator:Cn,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,o=e.isFocused,a=e.theme,i=a.colors,r=a.borderRadius;return E({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:o?i.primary:i.neutral20,borderRadius:r,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:o?i.primary:i.neutral30}})},dropdownIndicator:kn,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,o=n.colors,a=n.spacing;return E({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*a.baseUnit,paddingRight:3*a.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,o=e.theme,a=o.spacing.baseUnit,i=o.colors;return E({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*a,marginTop:2*a})},input:function(e,t){var n=e.isDisabled,o=e.value,a=e.theme,i=a.spacing,r=a.colors;return E(E({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},Dn),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:r.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,o=e.size,a=e.theme,i=a.colors,r=a.spacing.baseUnit;return E({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*r})},loadingMessage:fn,menu:function(e,t){var n,o=e.placement,a=e.theme,i=a.borderRadius,r=a.spacing,s=a.colors;return E((k(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),k(n,"position","absolute"),k(n,"width","100%"),k(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:r.menuGutter,marginTop:r.menuGutter})},menuList:function(e,t){var n=e.maxHeight,o=e.theme.spacing.baseUnit;return E({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:o,paddingTop:o})},menuPortal:function(e){var t=e.rect,n=e.offset,o=e.position;return{left:t.left,position:o,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,o=n.spacing,a=n.borderRadius,i=n.colors;return E({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:a/2,margin:o.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,o=n.borderRadius,a=n.colors,i=e.cropWithEllipsis;return E({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,o=n.spacing,a=n.borderRadius,i=n.colors,r=e.isFocused;return E({alignItems:"center",display:"flex"},t?{}:{borderRadius:a/2,backgroundColor:r?i.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:hn,option:function(e,t){var n=e.isDisabled,o=e.isFocused,a=e.isSelected,i=e.theme,r=i.spacing,s=i.colors;return E({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:a?s.primary:o?s.primary25:"transparent",color:n?s.neutral20:a?s.neutral0:"inherit",padding:"".concat(2*r.baseUnit,"px ").concat(3*r.baseUnit,"px"),":active":{backgroundColor:n?void 0:a?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,o=n.spacing,a=n.colors;return E({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:a.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,o=e.theme,a=o.spacing,i=o.colors;return E({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,o=e.isMulti,a=e.hasValue,i=e.selectProps.controlShouldRenderValue;return E({alignItems:"center",display:o&&a&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},go={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},yo={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Qt(),captureMenuScroll:!Qt(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=E({ignoreCase:!0,ignoreAccents:!0,stringify:Qn,trim:!0,matchFrom:"any"},void 0),o=n.ignoreCase,a=n.ignoreAccents,i=n.stringify,r=n.trim,s=n.matchFrom,l=r?Gn(t):t,c=r?Gn(i(e)):i(e);return o&&(l=l.toLowerCase(),c=c.toLowerCase()),a&&(l=Xn(l),c=Wn(c)),"start"===s?c.substr(0,l.length)===l:c.indexOf(l)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function bo(e,t,n,o){return{type:"option",data:t,isDisabled:Oo(e,t,n),isSelected:So(e,t,n),label:Mo(e,t),value:Vo(e,t),index:o}}function wo(e,t){return e.options.map(function(n,o){if("options"in n){var a=n.options.map(function(n,o){return bo(e,n,t,o)}).filter(function(t){return Co(e,t)});return a.length>0?{type:"group",data:n,options:a,index:o}:void 0}var i=bo(e,n,t,o);return Co(e,i)?i:void 0}).filter(tn)}function xo(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,P(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function ko(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,P(n.options.map(function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}}))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e},[])}function Co(e,t){var n=e.inputValue,o=void 0===n?"":n,a=t.data,i=t.isSelected,r=t.label,s=t.value;return(!_o(e)||!i)&&Do(e,{label:r,value:s,data:a},o)}var Eo=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Mo=function(e,t){return e.getOptionLabel(t)},Vo=function(e,t){return e.getOptionValue(t)};function Oo(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function So(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=Vo(e,t);return n.some(function(t){return Vo(e,t)===o})}function Do(e,t,n){return!e.filterOption||e.filterOption(t,n)}var _o=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},jo=1,Ho=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&H(e,t)}(n,e);var t=function(e){var t=A();return function(){var n,o=T(e);if(t){var a=T(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"==w(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}(n);function n(e){var o;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(o=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.controlRef=null,o.getControlRef=function(e){o.controlRef=e},o.focusedOptionRef=null,o.getFocusedOptionRef=function(e){o.focusedOptionRef=e},o.menuListRef=null,o.getMenuListRef=function(e){o.menuListRef=e},o.inputRef=null,o.getInputRef=function(e){o.inputRef=e},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(e,t){var n=o.props,a=n.onChange,i=n.name;t.name=i,o.ariaOnChange(e,t),a(e,t)},o.setValue=function(e,t,n){var a=o.props,i=a.closeMenuOnSelect,r=a.isMulti,s=a.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(o.setState({inputIsHiddenAfterUpdate:!r}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(e,{action:t,option:n})},o.selectOption=function(e){var t=o.props,n=t.blurInputOnSelect,a=t.isMulti,i=t.name,r=o.state.selectValue,s=a&&o.isOptionSelected(e,r),l=o.isOptionDisabled(e,r);if(s){var c=o.getOptionValue(e);o.setValue(r.filter(function(e){return o.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void o.ariaOnChange(e,{action:"select-option",option:e,name:i});a?o.setValue([].concat(P(r),[e]),"select-option",e):o.setValue(e,"select-option")}n&&o.blurInput()},o.removeValue=function(e){var t=o.props.isMulti,n=o.state.selectValue,a=o.getOptionValue(e),i=n.filter(function(e){return o.getOptionValue(e)!==a}),r=nn(t,i,i[0]||null);o.onChange(r,{action:"remove-value",removedValue:e}),o.focusInput()},o.clearValue=function(){var e=o.state.selectValue;o.onChange(nn(o.props.isMulti,[],null),{action:"clear",removedValues:e})},o.popValue=function(){var e=o.props.isMulti,t=o.state.selectValue,n=t[t.length-1],a=t.slice(0,t.length-1),i=nn(e,a,a[0]||null);n&&o.onChange(i,{action:"pop-value",removedValue:n})},o.getFocusedOptionId=function(e){return Eo(o.state.focusableOptionsWithIds,e)},o.getFocusableOptionsWithIds=function(){return ko(wo(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ft.apply(void 0,[o.props.classNamePrefix].concat(t))},o.getOptionLabel=function(e){return Mo(o.props,e)},o.getOptionValue=function(e){return Vo(o.props,e)},o.getStyles=function(e,t){var n=o.props.unstyled,a=vo[e](t,n);a.boxSizing="border-box";var i=o.props.styles[e];return i?i(a,t):a},o.getClassNames=function(e,t){var n,a;return null===(n=(a=o.props.classNames)[e])||void 0===n?void 0:n.call(a,t)},o.getElementId=function(e){return"".concat(o.state.instancePrefix,"-").concat(e)},o.getComponents=function(){return e=o.props,E(E({},Tn),e.components);var e},o.buildCategorizedOptions=function(){return wo(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return xo(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(e,t){o.setState({ariaSelection:E({value:e},t)})},o.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(e){o.blockOptionHover=!1},o.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&o.onMenuClose():t&&o.openMenu("first"):(t&&(o.openAfterFocus=!0),o.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},o.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||o.props.isDisabled)){var t=o.props,n=t.isMulti,a=t.menuIsOpen;o.focusInput(),a?(o.setState({inputIsHiddenAfterUpdate:!n}),o.onMenuClose()):o.openMenu("first"),e.preventDefault()}},o.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(o.clearValue(),e.preventDefault(),o.openAfterFocus=!1,"touchend"===e.type?o.focusInput():setTimeout(function(){return o.focusInput()}))},o.onScroll=function(e){"boolean"==typeof o.props.closeMenuOnScroll?e.target instanceof HTMLElement&&$t(e.target)&&o.props.onMenuClose():"function"==typeof o.props.closeMenuOnScroll&&o.props.closeMenuOnScroll(e)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(o.initialTouchX=n.clientX,o.initialTouchY=n.clientY,o.userIsDragging=!1)},o.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var a=Math.abs(n.clientX-o.initialTouchX),i=Math.abs(n.clientY-o.initialTouchY);o.userIsDragging=a>5||i>5}},o.onTouchEnd=function(e){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(e.target)&&o.menuListRef&&!o.menuListRef.contains(e.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(e){o.userIsDragging||o.onControlMouseDown(e)},o.onClearIndicatorTouchEnd=function(e){o.userIsDragging||o.onClearIndicatorMouseDown(e)},o.onDropdownIndicatorTouchEnd=function(e){o.userIsDragging||o.onDropdownIndicatorMouseDown(e)},o.handleInputChange=function(e){var t=o.props.inputValue,n=e.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(n,{action:"input-change",prevInputValue:t}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(e){o.props.onFocus&&o.props.onFocus(e),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(e){var t=o.props.inputValue;o.menuListRef&&o.menuListRef.contains(document.activeElement)?o.inputRef.focus():(o.props.onBlur&&o.props.onBlur(e),o.onInputChange("",{action:"input-blur",prevInputValue:t}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1}))},o.onOptionHover=function(e){if(!o.blockOptionHover&&o.state.focusedOption!==e){var t=o.getFocusableOptions().indexOf(e);o.setState({focusedOption:e,focusedOptionId:t>-1?o.getFocusedOptionId(e):null})}},o.shouldHideSelectedOptions=function(){return _o(o.props)},o.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),o.focus()},o.onKeyDown=function(e){var t=o.props,n=t.isMulti,a=t.backspaceRemovesValue,i=t.escapeClearsValue,r=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,h=o.state,f=h.focusedOption,m=h.focusedValue,v=h.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(o.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||r)return;o.focusValue("previous");break;case"ArrowRight":if(!n||r)return;o.focusValue("next");break;case"Delete":case"Backspace":if(r)return;if(m)o.removeValue(m);else{if(!a)return;n?o.popValue():s&&o.clearValue()}break;case"Tab":if(o.isComposing)return;if(e.shiftKey||!c||!d||!f||p&&o.isOptionSelected(f,v))return;o.selectOption(f);break;case"Enter":if(229===e.keyCode)break;if(c){if(!f)return;if(o.isComposing)return;o.selectOption(f);break}return;case"Escape":c?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:r}),o.onMenuClose()):s&&i&&o.clearValue();break;case" ":if(r)return;if(!c){o.openMenu("first");break}if(!f)return;o.selectOption(f);break;case"ArrowUp":c?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":c?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!c)return;o.focusOption("pageup");break;case"PageDown":if(!c)return;o.focusOption("pagedown");break;case"Home":if(!c)return;o.focusOption("first");break;case"End":if(!c)return;o.focusOption("last");break;default:return}e.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++jo),o.state.selectValue=zt(e.value),e.menuIsOpen&&o.state.selectValue.length){var a=o.getFocusableOptionsWithIds(),i=o.buildFocusableOptions(),r=i.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=a,o.state.focusedOption=i[r],o.state.focusedOptionId=Eo(a,i[r])}return o}return function(e,t,n){t&&j(e.prototype,t),n&&j(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Gt(this.menuListRef,this.focusedOptionRef),(mo()||fo(/^iPhone/i)||fo(/^iPad/i)||mo()&&navigator.maxTouchPoints>1)&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,o=t.menuIsOpen,a=this.state.isFocused;(a&&!n&&e.isDisabled||a&&o&&!e.menuIsOpen)&&this.focusInput(),a&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):a||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Gt(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,o=n.selectValue,a=n.isFocused,i=this.buildFocusableOptions(),r="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(o[0]);s>-1&&(r=s)}this.scrollToFocusedOptionOnUpdate=!(a&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[r],focusedOptionId:this.getFocusedOptionId(i[r])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,o=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var a=n.indexOf(o);o||(a=-1);var i=n.length-1,r=-1;if(n.length){switch(e){case"previous":r=0===a?0:-1===a?i:a-1;break;case"next":a>-1&&a<i&&(r=a+1)}this.setState({inputIsHidden:-1!==r,focusedValue:n[r]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,o=this.getFocusableOptions();if(o.length){var a=0,i=o.indexOf(n);n||(i=-1),"up"===e?a=i>0?i-1:o.length-1:"down"===e?a=(i+1)%o.length:"pageup"===e?(a=i-t)<0&&(a=0):"pagedown"===e?(a=i+t)>o.length-1&&(a=o.length-1):"last"===e&&(a=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[a],focusedValue:null,focusedOptionId:this.getFocusedOptionId(o[a])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(go):E(E({},go),this.props.theme):go}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,o=this.getClassNames,a=this.getValue,i=this.selectOption,r=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:o,getValue:a,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:i,selectProps:s,setValue:r,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Oo(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return So(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Do(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,o=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:o})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,a=e.inputValue,i=e.tabIndex,r=e.form,s=e.menuIsOpen,l=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,h=d.ariaSelection,f=this.commonProps,m=o||this.getElementId("input"),v=E(E(E({"aria-autocomplete":"list","aria-expanded":s,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":l,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},s&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?c.createElement(u,_({},f,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:r,type:"text",value:a},v)):c.createElement(Kn,_({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Rt,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:r,value:""},v))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,a=t.MultiValueLabel,i=t.MultiValueRemove,r=t.SingleValue,s=t.Placeholder,l=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,h=u.isMulti,f=u.inputValue,m=u.placeholder,v=this.state,g=v.selectValue,y=v.focusedValue,b=v.isFocused;if(!this.hasValue()||!d)return f?null:c.createElement(s,_({},l,{key:"placeholder",isDisabled:p,isFocused:b,innerProps:{id:this.getElementId("placeholder")}}),m);if(h)return g.map(function(t,r){var s=t===y,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return c.createElement(n,_({},l,{components:{Container:o,Label:a,Remove:i},isFocused:s,isDisabled:p,key:u,index:r,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(f)return null;var w=g[0];return c.createElement(r,_({},l,{data:w,isDisabled:p}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,a=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||a)return null;var r={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return c.createElement(e,_({},t,{innerProps:r,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,a=n.isLoading,i=this.state.isFocused;return e&&a?c.createElement(e,_({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:i})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,a=this.props.isDisabled,i=this.state.isFocused;return c.createElement(n,_({},o,{isDisabled:a,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,a={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return c.createElement(e,_({},t,{innerProps:a,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,a=t.Menu,i=t.MenuList,r=t.MenuPortal,s=t.LoadingMessage,l=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,h=this.props,f=h.captureMenuScroll,m=h.inputValue,v=h.isLoading,g=h.loadingMessage,y=h.minMenuHeight,b=h.maxMenuHeight,w=h.menuIsOpen,x=h.menuPlacement,k=h.menuPosition,C=h.menuPortalTarget,E=h.menuShouldBlockScroll,M=h.menuShouldScrollIntoView,V=h.noOptionsMessage,O=h.onMenuScrollToTop,S=h.onMenuScrollToBottom;if(!w)return null;var D,j=function(t,n){var o=t.type,a=t.data,i=t.isDisabled,r=t.isSelected,s=t.label,l=t.value,h=p===a,f=i?void 0:function(){return e.onOptionHover(a)},m=i?void 0:function(){return e.selectOption(a)},v="".concat(e.getElementId("option"),"-").concat(n),g={id:v,onClick:m,onMouseMove:f,onMouseOver:f,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:r};return c.createElement(u,_({},d,{innerProps:g,data:a,isDisabled:i,isSelected:r,key:v,label:s,type:o,value:l,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())D=this.getCategorizedOptions().map(function(t){if("group"===t.type){var a=t.data,i=t.options,r=t.index,s="".concat(e.getElementId("group"),"-").concat(r),l="".concat(s,"-heading");return c.createElement(n,_({},d,{key:s,data:a,options:i,Heading:o,headingProps:{id:l,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return j(e,"".concat(r,"-").concat(e.index))}))}if("option"===t.type)return j(t,"".concat(t.index))});else if(v){var H=g({inputValue:m});if(null===H)return null;D=c.createElement(s,d,H)}else{var T=V({inputValue:m});if(null===T)return null;D=c.createElement(l,d,T)}var A={minMenuHeight:y,maxMenuHeight:b,menuPlacement:x,menuPosition:k,menuShouldScrollIntoView:M},P=c.createElement(dn,_({},d,A),function(t){var n=t.ref,o=t.placerProps,r=o.placement,s=o.maxHeight;return c.createElement(a,_({},d,A,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:v,placement:r}),c.createElement(uo,{captureEnabled:f,onTopArrive:O,onBottomArrive:S,lockEnabled:E},function(t){return c.createElement(i,_({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:v,maxHeight:s,focusedOption:p}),D)}))});return C||"fixed"===k?c.createElement(r,_({},d,{appendTo:C,controlElement:this.controlRef,menuPlacement:x,menuPosition:k}),P):P}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,a=t.isMulti,i=t.name,r=t.required,s=this.state.selectValue;if(r&&!this.hasValue()&&!o)return c.createElement(ho,{name:i,onFocus:this.onValueInputFocus});if(i&&!o){if(a){if(n){var l=s.map(function(t){return e.getOptionValue(t)}).join(n);return c.createElement("input",{name:i,type:"hidden",value:l})}var u=s.length>0?s.map(function(t,n){return c.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})}):c.createElement("input",{name:i,type:"hidden",value:""});return c.createElement("div",null,u)}var d=s[0]?this.getOptionValue(s[0]):"";return c.createElement("input",{name:i,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,a=t.focusedValue,i=t.isFocused,r=t.selectValue,s=this.getFocusableOptions();return c.createElement(Bn,_({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:a,isFocused:i,selectValue:r,focusableOptions:s,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,a=e.ValueContainer,i=this.props,r=i.className,s=i.id,l=i.isDisabled,u=i.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return c.createElement(o,_({},p,{className:r,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:d}),this.renderLiveRegion(),c.createElement(t,_({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:d,menuIsOpen:u}),c.createElement(a,_({},p,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),c.createElement(n,_({},p,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,o=t.clearFocusValueOnUpdate,a=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,r=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,h=e.isMulti,f=zt(u),m={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var v=d?function(e,t){return xo(wo(e,t))}(e,f):[],g=d?ko(wo(e,f),"".concat(l,"-option")):[],y=o?function(e,t){var n=e.focusedValue,o=e.selectValue.indexOf(n);if(o>-1){if(t.indexOf(n)>-1)return n;if(o<t.length)return t[o]}return null}(t,f):null,b=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,v);m={selectValue:f,focusedOption:b,focusedOptionId:Eo(g,b),focusableOptionsWithIds:g,focusedValue:y,clearFocusValueOnUpdate:!1}}var w=null!=a&&e!==n?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},x=i,k=r&&s;return r&&!k&&(x={value:nn(h,f,f[0]||null),options:f,action:"initial-input-focus"},k=!s),"initial-input-focus"===(null==i?void 0:i.action)&&(x=null),E(E(E({},m),w),{},{prevProps:e,ariaSelection:x,prevWasFocused:k})}}]),n}(c.Component);Ho.defaultProps=yo;var To=(0,c.forwardRef)(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,o=e.defaultMenuIsOpen,a=void 0!==o&&o,i=e.defaultValue,r=void 0===i?null:i,s=e.inputValue,l=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,h=e.onMenuOpen,f=e.value,m=S(e,D),v=O((0,c.useState)(void 0!==s?s:n),2),g=v[0],y=v[1],b=O((0,c.useState)(void 0!==l?l:a),2),w=b[0],x=b[1],k=O((0,c.useState)(void 0!==f?f:r),2),C=k[0],M=k[1],V=(0,c.useCallback)(function(e,t){"function"==typeof u&&u(e,t),M(e)},[u]),_=(0,c.useCallback)(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),y(void 0!==n?n:e)},[d]),j=(0,c.useCallback)(function(){"function"==typeof h&&h(),x(!0)},[h]),H=(0,c.useCallback)(function(){"function"==typeof p&&p(),x(!1)},[p]),T=void 0!==s?s:g,A=void 0!==l?l:w,P=void 0!==f?f:C;return E(E({},m),{},{inputValue:T,menuIsOpen:A,onChange:V,onInputChange:_,onMenuClose:H,onMenuOpen:j,value:P})}(e);return c.createElement(Ho,_({ref:t},n))}),Ao=To;const{__}=wp.i18n,Po=e=>{const n=(0,c.useRef)(),o=l(u?.["custom-layouts-plus"]||""),a=l(u?.["custom-layouts-minus"]||""),[i,r]=(0,c.useState)(e.specific),[s,d]=(0,c.useState)([]),[p,h]=(0,c.useState)({rule:e.value.rule,specific:e.value.specific}),[m,v]=(0,c.useState)(e.value.apply_on_child||!1);(0,c.useEffect)(()=>()=>{n.current?.abort()},[]),(0,c.useEffect)(()=>{void 0!==e.specific&&null!==e.specific&&(r(e.specific),h(t=>({...t,specific:e.specific})))},[e.specific]),(0,c.useEffect)(()=>{e.value&&void 0!==e.value.apply_on_child&&v(e.value.apply_on_child)},[e.value.apply_on_child]),p.rule.length=0===p.rule.length?1:p.rule.length;let g=astCustomLayout.displayRules;"template"===e.layout&&("single"===e.templateType?g=astCustomLayout.singleDisplayRules:"archive"===e.templateType&&(g=astCustomLayout.archiveDisplayRules));const y=Object.entries(g).map(([e,t])=>{let n=t.value;return(0,f.jsx)("optgroup",{label:t.label,className:`counts-${n.length}`,children:Object.entries(n).map(([e,t])=>{const n=p.rule.includes(e)?"disabled":"";return(0,f.jsxs)("option",{value:e,disabled:n,children:[" ",t," "]},e)})},e)}),w=()=>{const e=p.rule.concat("");h({...p,rule:e})},x=(()=>{let e;function t(...t){clearTimeout(e),e=setTimeout(()=>(e=>{let t="";"1"===astCustomLayout.checkPolylangActive&&(t="&pll_ajax_backend=1&pll_post_id="+document.querySelector(".metabox-base-form #post_ID").value);const o=[];if(""!==e&&1<e.length){n.current&&n.current?.abort(),n.current=new AbortController;const a={method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:"action=astra_get_posts_by_query&q="+e+"&nonce="+astCustomLayout.ajax_nonce+t,signal:n.current?.signal};fetch(ajaxurl,a).then(e=>e.json()).then(e=>{Object.entries(e).forEach(([e,t])=>{const n=Object.entries(t.children).map(([e,t])=>({value:t.id,label:t.text}));let a={label:t.text,options:n};o.push(a)}),d(o)}).catch(e=>{"AbortError"!==e.name&&console.error("Error fetching data:",e)})}else d(o)})(...t),300)}return t.cancel=()=>{clearTimeout(e)},t})(),k=(t,n=!1,o=null)=>{"specifics"===p.rule[t]&&!1===n&&(p.specific=[],r([]));let a=p.rule.filter(e=>""!=e),i=p.specific.map(e=>e.value);const s=null!==o?o:m;let l={rule:a,specific:i,specificText:p.specific,apply_on_child:s};h({...p}),e.onChange(l)},C=1===p.rule.length||2===p.rule.length&&p.rule.includes("clflag")?"ast-disabled-close ":"";return(0,f.jsx)("div",{className:"ast-custom-layout-meta-wrap components-base-control__field",children:b()(p.rule.length,n=>(n=>{const l=("header"===e.layout||"footer"===e.layout)&&"specifics"===p.rule[n]&&i&&i.length>0;return(0,f.jsxs)("div",{className:"ast-display-rule",children:[("clflag"!==p.rule[n]||"clflag"===p.rule[n]&&1===p.rule.length)&&(0,f.jsxs)("div",{className:"ast-select-control",children:[(0,f.jsxs)("select",{className:"components-select-control__input ast-custom-select",value:void 0!==p.rule[n]&&null!==p.rule[n]?p.rule[n]:"",onChange:e=>((e,t)=>{let n=e.target.value;p.rule[t]=n,k(t)})(e,n),children:[(0,f.jsxs)("option",{value:"",children:[" ",__("— Select —","astra-addon")]}),y]}),"specifics"==p.rule[n]&&(0,f.jsx)(Ao,{value:i,options:s,onInputChange:e=>x(e),isMulti:!0,menuPortalTarget:document.body.querySelector(".components-modal__screen-overlay"),onChange:e=>((e,t)=>{r(e),p.specific=e,h({...p}),k(t,!0)})(e,n),isSearchable:!0,className:"ast-meta-select",classNamePrefix:"ast"}),l&&(0,f.jsx)("div",{className:"ast-apply-on-child-wrap",style:{marginTop:"15px",padding:"10px",backgroundColor:"#f0f0f1",borderRadius:"4px"},children:(0,f.jsx)(t.CheckboxControl,{label:__("Apply on Child Pages/Posts","astra-addon"),checked:m,onChange:e=>{v(e),k(n,!0,e)}})})]}),("clflag"!==p.rule[n]||"clflag"===p.rule[n]&&1===p.rule.length)&&(0,f.jsxs)("div",{className:"ast-single-options",children:[(0,f.jsx)("span",{className:"ast-add-rule ast-option",onClick:w,children:o}),(0,f.jsx)("span",{className:C+"ast-cl-close target_rule-condition-delete ast-option",onClick:e=>(e=>{const t=p.rule.filter((t,n)=>n!==e);p.rule=t,k(e)})(n),children:a})]})]},"key-"+n)})(n))})},Lo=e=>{const t=l(u?.["custom-layouts-plus"]||""),n=l(u?.["custom-layouts-minus"]||""),[o,a]=(0,c.useState)(e.value),i=0===e.value.length?[""]:e.value,[s,d]=(0,c.useState)(i);s.length=0===s.length?1:s.length;const p=Object.entries(astCustomLayout.userRoles).map(([e,t])=>(0,f.jsx)("optgroup",{label:t.label,children:Object.entries(t.value).map(([e,t])=>{const n=s.includes(e)?"disabled":"";return(0,f.jsxs)("option",{value:e,disabled:n,children:[" ",t," "]},e)})},e)),h=()=>{const t=s.concat("all");let n=t.filter(e=>""!=e);const o=[...new Set(n)];d(t),a(o),e.onChange(o)},m=1===s.length||2===s.length&&s.includes("clflag")?"ast-disabled-close ":"";return(0,f.jsx)("div",{className:"ast-custom-layout-meta-wrap components-base-control__field",children:b()(s.length,o=>(o=>(0,f.jsxs)("div",{className:"ast-display-rule",children:[("clflag"!==s[o]||"clflag"===s[o]&&1===s.length)&&(0,f.jsx)("div",{className:"ast-select-control",children:(0,f.jsxs)("select",{className:"components-select-control__input ast-custom-select",value:void 0!==s[o]&&null!==s[o]?s[o]:"",onChange:t=>((t,n)=>{let o=t.target.value;s[n]=o;let i=s.filter(e=>""!=e);const r=[...new Set(i)];d(s),a({...r}),e.onChange(r)})(t,o),children:[(0,f.jsxs)("option",{value:"all",children:[" ",(0,r.__)("All","astra-addon")]}),p]})}),("clflag"!==s[o]||"clflag"===s[o]&&1===s.length)&&(0,f.jsxs)("div",{className:"ast-single-options",children:[(0,f.jsx)("span",{className:"ast-add-rule ast-option",onClick:h,children:t}),(0,f.jsx)("span",{className:m+"target_rule-condition-delete ast-option",onClick:t=>(t=>{const n=s.filter((e,n)=>n!==t);let o=n.filter(e=>""!=e);const i=[...new Set(o)];d(n),a(i),e.onChange(i)})(o),children:n})]})]},"key-"+o))(o))})},Io=e=>{const{isLoading:n,closeModal:o,whiteLabelledLogo:a,returnToPostLabel:i,returnToPostDescription:s,onReturnToPostClick:l}=e,c=i||(0,r.__)("Return To Post","astra-addon"),u=s||(0,r.__)("Make sure to update your post for changes to take effect.","astra-addon"),d=l||o,p=!0===n;return(0,f.jsxs)(t.Modal,{title:(0,r.__)("Display and User Conditions","astra-addon"),className:"ast-layout-settings-modal ast-display-user-conditions",shouldCloseOnClickOutside:!1,onRequestClose:o,icon:a(),children:[p?(0,f.jsx)("div",{className:"ast-display-condition-modal-spinner",children:(0,f.jsx)(t.Spinner,{})}):(0,f.jsx)(f.Fragment,{children:(0,f.jsx)("div",{className:"ast-cl-settings-content",children:(0,f.jsx)("table",{className:"ast-advanced-hook-table widefat",children:(0,f.jsxs)("tbody",{children:["404-page"!==e.meta["ast-advanced-hook-layout"]&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("tr",{className:"ast-advanced-hook-row ast-target-rules-display",children:[(0,f.jsx)("td",{className:"ast-advanced-hook-row-heading",children:(0,f.jsxs)("label",{children:[" ",(0,r.__)("Display On","astra-addon")]})}),(0,f.jsx)("td",{className:"ast-advanced-hook-row-content",children:(0,f.jsx)(Po,{layout:void 0!==e.meta["ast-advanced-hook-layout"]&&""!==e.meta["ast-advanced-hook-layout"]?e.meta["ast-advanced-hook-layout"]:"0",templateType:void 0!==e.meta["ast-advanced-hook-template-type"]&&""!==e.meta["ast-advanced-hook-template-type"]?e.meta["ast-advanced-hook-template-type"]:"",value:e.meta["ast-advanced-hook-location"],specific:e.meta["ast-advanced-hook-location"].specificText,isDisplayRule:!0,onChange:t=>{if(-1===t.rule.indexOf("clflag"))t.rule.push("clflag");else if(0<t.rule.indexOf("clflag")){let e=t.rule.indexOf("clflag");t.rule.splice(e,1)}e.meta["ast-advanced-hook-location"]={rule:t.rule,specific:t.specific,specificText:t.specificText,apply_on_child:t.apply_on_child||!1},e.setMetaFieldValue(e.meta["ast-advanced-hook-location"],"ast-advanced-hook-location")}})})]}),(0,f.jsxs)("tr",{className:"ast-advanced-hook-row ast-target-rules-display",children:[(0,f.jsx)("td",{className:"ast-advanced-hook-row-heading",children:(0,f.jsxs)("label",{children:[" ",(0,r.__)("Do Not Display On","astra-addon")]})}),(0,f.jsx)("td",{className:"ast-advanced-hook-row-content",children:(0,f.jsx)(Po,{layout:void 0!==e.meta["ast-advanced-hook-layout"]&&""!==e.meta["ast-advanced-hook-layout"]?e.meta["ast-advanced-hook-layout"]:"0",templateType:void 0!==e.meta["ast-advanced-hook-template-type"]&&""!==e.meta["ast-advanced-hook-template-type"]?e.meta["ast-advanced-hook-template-type"]:"",value:e.meta["ast-advanced-hook-exclusion"],specific:e.meta["ast-advanced-hook-exclusion"].specificText,onChange:t=>{if(-1===t.rule.indexOf("clflag"))t.rule.push("clflag");else if(0<t.rule.indexOf("clflag")){let e=t.rule.indexOf("clflag");t.rule.splice(e,1)}e.meta["ast-advanced-hook-exclusion"]={rule:t.rule,specific:t.specific,specificText:t.specificText,apply_on_child:t.apply_on_child||!1},e.setMetaFieldValue(e.meta["ast-advanced-hook-exclusion"],"ast-advanced-hook-exclusion")}})})]})]}),(0,f.jsxs)("tr",{className:"ast-advanced-hook-row ast-target-rules-display",children:[(0,f.jsx)("td",{className:"ast-advanced-hook-row-heading",children:(0,f.jsxs)("label",{children:[" ",(0,r.__)("Display for Users","astra-addon")]})}),(0,f.jsx)("td",{className:"ast-advanced-hook-row-content",children:(0,f.jsx)(Lo,{value:void 0!==e.meta["ast-advanced-hook-users"]&&""!==e.meta["ast-advanced-hook-users"]?e.meta["ast-advanced-hook-users"]:[],onChange:t=>{if(-1===t.indexOf("clflag"))t.push("clflag");else if(0<t.indexOf("clflag")){let e=t.indexOf("clflag");t.splice(e,1)}e.meta["ast-advanced-hook-users"]=[...t],e.setMetaFieldValue([...t],"ast-advanced-hook-users")}})})]})]})})})}),(0,f.jsx)("div",{className:"ast-cl-footer-container",children:(0,f.jsxs)("div",{className:"ast-button-container",children:[(0,f.jsxs)("span",{className:"ast-cl-popup-notice",children:[(0,f.jsx)("i",{className:"dashicons dashicons-warning"}),u]}),(0,f.jsx)("button",{disabled:p,className:"button button-default",onClick:d,children:c})]})})]})},No=()=>(0,f.jsx)("div",{className:"ast-cl-settings-divider"}),Ro=e=>{const{meta:n}=e,[o,a]=(0,d.useState)(void 0!==n["ast-custom-template-preview-post"]&&n["ast-custom-template-preview-post"]?[n["ast-custom-template-preview-post"]]:{}),[i,s]=(0,d.useState)(!1),[l,c]=(0,d.useState)([]);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("p",{className:"ast-custom-layout-control-title post-attributes-label-wrapper",children:(0,f.jsx)("strong",{className:"customize-control-title",children:(0,r.__)("Dynamic Content Preview","astra-addon")})}),(0,f.jsx)(Ao,{value:null===o||Array.isArray(o)&&0===o[0].length||Array.isArray(o)&&1===o.length&&null==o[0].value?"":o,options:l,isClearable:!0,onInputChange:e=>(e=>{let t="";if("1"===astCustomLayout.checkPolylangActive){let e=document.querySelector(".metabox-base-form #post_ID").value;t=e?"&pll_ajax_backend=1&pll_post_id="+e:""}const n={method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:"action=astra_get_posts_with_type&q="+e+"&nonce="+astCustomLayout.ajax_nonce+t},o=[];""!==e&&1<e.length?fetch(ajaxurl,n).then(e=>e.json()).then(e=>{Object.entries(e).forEach(([e,t])=>{const n=Object.entries(t.children).map(([e,t])=>({value:t.id,label:t.text}));let a={label:t.text,options:n};o.push(a)}),c(o)}).catch(e=>{console.error("Error fetching data:",e)}):c(o)})(e),isMulti:!1,menuPortalTarget:document.body.querySelector(".components-modal__screen-overlay"),onChange:t=>{return a(n=t),void e.onChange(n);var n},isSearchable:!0,className:"ast-meta-select ast-meta-preview-select",classNamePrefix:"ast"}),(0,f.jsx)(t.Button,{className:"components-button ast-custom-template-apply-button is-secondary "+(i?"is-busy":""),onClick:()=>{s(!0);let e=document.querySelector("button.editor-post-publish-button__button");e.click(),wp.data.subscribe(function(){setTimeout(function(){"true"!==(e.hasAttribute("aria-disabled")?e.getAttribute("aria-disabled"):"false")||e.classList.contains("is-busy")||location.reload()},1)})},type:"button",children:(0,r.__)("Apply & Reload","astra-addon")})]})},Bo=e=>(0,f.jsx)("div",{className:"ast-number-field",children:(0,f.jsx)("input",{type:"number",value:e.value,min:"1",onChange:t=>{e.onChange(t.target.value)},className:"ast-content-number-field",placeholder:e.placeholder})}),Fo=React.memo(e=>{const[n,o]=(0,c.useState)([e.default,!1]),{label:a}=e;let i=null;(0,c.useEffect)(()=>{try{const e=new URL(window.location),t=e.searchParams.get("type");"astra-advanced-hook"===e.searchParams.get("post_type")&&t&&r(t)}catch(e){console.error("Error parsing URL parameters:",e)}},[]);const r=t=>{const a=[t,n[1]];e.onChange(a),o(a)};a&&(i=(0,f.jsx)("h3",{className:"customize-control-title",children:a}));const s=Object.entries(e.options).map(([e,o])=>(0,f.jsx)("div",{className:"ast-alignment-wrap active",children:(0,f.jsxs)("div",{className:`${e===n[0]?e:""} ast-alignment-inner-wrap`,children:[(0,f.jsx)(t.Button,{onClick:()=>r(e),"aria-pressed":e===n[0],isPrimary:e===n[0],label:o.name,className:"ast-cl-popup",children:(0,f.jsxs)("span",{className:"ahfb-icon-set",children:[" ",o.icon]})},e),(0,f.jsx)("label",{children:o.name})]})},e));return(0,f.jsxs)(f.Fragment,{children:[i,(0,f.jsxs)("div",{className:"ast-select-wrap",children:[" ",s]})]})}),zo=e=>(0,f.jsx)("div",{className:"ast-text-field",children:(0,f.jsx)("input",{type:"text",value:e.value,onChange:t=>{e.onChange(t.target.value)},className:"ast-content-text-field"})}),Zo=()=>{const{timezone:e}=(0,v.__experimentalGetSettings)(),t=e.offset>=0?"+":"",n=""!==e.abbr&&Number.isNaN(Number(e.abbr))?`UTC${t}${e.offset}`:e.abbr;return(0,f.jsx)("div",{className:"ast-timezone",title:"Change WordPress timezone setting.",children:(0,f.jsx)("a",{target:"_blank",href:astCustomLayout.siteurl+"/wp-admin/options-general.php",children:n})})},Uo=(0,o.compose)((0,a.withSelect)(e=>{const t=e("core/editor").getEditedPostAttribute("meta"),n=e("core/editor").getCurrentPostAttribute("meta");return{meta:{...n,...t},oldMeta:n}}),(0,a.withDispatch)(e=>({setMetaFieldValue:(t,n)=>e("core/editor").editPost({meta:{[n]:t}})})))(e=>{const n=l(u?.["astra-meta-settings"]||""),o=l(u?.["astra-brand-icon"]||""),[s,d]=(0,c.useState)(!0),[p,h]=(0,c.useState)(!1),[v,y]=(0,c.useState)(!1),[b,w]=(0,c.useState)(e.meta["ast-advanced-hook-action"]),[x,k]=(0,c.useState)(!1),C=l(u?.["custom-layout-sidebar-icon"]||""),E=[],[M,V]=(0,c.useState)(!1),O=Object.entries(astCustomLayout.layouts).map(([e,t])=>({label:t,value:e})),S=Object.entries(astCustomLayout.DeviceOptions).map(([e,t])=>({label:t,value:e})),D=Object.entries(astCustomLayout.ContentBlockType).map(([e,t])=>({label:t,value:e})),_=(0,f.jsxs)("tr",{className:"ast-extra-spacing",children:[(0,f.jsx)("td",{className:"ast-border"}),(0,f.jsx)("td",{})]}),j=(0,f.jsxs)("tr",{className:"ast-extra-spacing ast-extra-spacing-bottom",children:[(0,f.jsx)("td",{className:"ast-border"}),(0,f.jsx)("td",{})]}),H=Object.entries(astCustomLayout.actionHooks).map(([e,t])=>{let n=t.hooks;return(0,f.jsx)("optgroup",{label:t.title,children:Object.entries(n).map(([e,t])=>(E[e]=t.description,(0,f.jsxs)("option",{value:e,"data-desc":t.description,children:[" ",t.title," "]},e)))},e)}),T=e=>Date.parse(e)/1e3,[A,P]=(0,c.useState)(!1),[L,I]=(0,c.useState)(!1),[N,R]=(0,c.useState)(!1),B=g(e.meta["ast-advanced-time-duration"]["start-dt"],(0,r.__)("Click To Select Date","astra-addon")),F=g(e.meta["ast-advanced-time-duration"]["end-dt"],(0,r.__)("Click To Select Date","astra-addon"));null!==e.meta["ast-advanced-hook-header"]&&0!==Object.keys(e.meta["ast-advanced-hook-header"]).length||(e.meta["ast-advanced-hook-header"]={}),null!==e.meta["ast-advanced-hook-footer"]&&0!==Object.keys(e.meta["ast-advanced-hook-footer"]).length||(e.meta["ast-advanced-hook-footer"]={}),null!=e.meta["ast-404-page"]&&0!==Object.keys(e.meta["ast-404-page"]).length||(e.meta["ast-404-page"]={}),null!==e.meta["ast-advanced-hook-content"]&&0!==Object.keys(e.meta["ast-advanced-hook-content"]).length||(e.meta["ast-advanced-hook-content"]={}),null!=e.meta["ast-advanced-hook-padding"]&&0!==Object.keys(e.meta["ast-advanced-hook-padding"]).length||(e.meta["ast-advanced-hook-padding"]={}),0===e.meta["ast-advanced-hook-location"].length&&(e.meta["ast-advanced-hook-location"]={rule:[],specific:[]}),0===e.meta["ast-advanced-hook-exclusion"].length&&(e.meta["ast-advanced-hook-exclusion"]={rule:[],specific:[]}),null===e.meta["ast-advanced-hook-template-type"]&&(e.meta["ast-advanced-hook-template-type"]=""),void 0===e.meta["ast-advanced-hook-location"].specificText&&(e.meta["ast-advanced-hook-location"].specificText=astCustomLayout.specificRule),void 0===e.meta["ast-advanced-hook-exclusion"].specificText&&(e.meta["ast-advanced-hook-exclusion"].specificText=astCustomLayout.specificExclusionRule),null!==e.meta["ast-custom-template-preview-post"]&&0!==Object.keys(e.meta["ast-custom-template-preview-post"]).length||(e.meta["ast-custom-template-preview-post"]={});const z={header:{name:(0,r.__)("Header","astra-addon"),icon:l(u?.["cl-header-layout"]||""),showSticky:!0},footer:{name:(0,r.__)("Footer","astra-addon"),icon:l(u?.["cl-footer-layout"]||""),showSticky:!0},"404-page":{name:(0,r.__)("404 Page","astra-addon"),icon:l(u?.["cl-404-page-layout"]||"")},hooks:{name:(0,r.__)("Hooks","astra-addon"),icon:l(u?.["cl-hooks-layout"]||"")},content:{name:(0,r.__)("Inside Post/Page","astra-addon"),icon:l(u?.["cl-inside-post-layout"]||"")},template:{name:(0,r.__)("Custom Template","astra-addon"),icon:l(u?.["cl-custom-template"]||"")}},Z=t=>{if("404-page"===t&&Array.isArray(e.meta["ast-advanced-hook-location"].rule)&&!e.meta["ast-advanced-hook-location"].rule.includes("special-404"))e.meta["ast-advanced-hook-location"].rule.push("special-404"),e.setMetaFieldValue(e.meta["ast-advanced-hook-location"],"ast-advanced-hook-location");else if(Array.isArray(e.meta["ast-advanced-hook-location"].rule)&&e.meta["ast-advanced-hook-location"].rule.includes("special-404")){let t=e.meta["ast-advanced-hook-location"].rule.indexOf("special-404");e.meta["ast-advanced-hook-location"].rule.splice(t,1),e.setMetaFieldValue(e.meta["ast-advanced-hook-location"],"ast-advanced-hook-location")}};(0,c.useEffect)(()=>{try{const e=new URL(window.location),t=e.searchParams.get("type");if("astra-advanced-hook"===e.searchParams.get("post_type")&&"template"===t){const t=e.searchParams.get("template_type");$(t)}}catch(e){console.error("Error parsing URL parameters:",e)}},[]);const U=t=>{let n=t.target.value;e.setMetaFieldValue(n,"ast-advanced-hook-template-type"),e.setMetaFieldValue("template","ast-advanced-hook-layout"),h(!1)},$=t=>{e.setMetaFieldValue(t,"ast-advanced-hook-template-type"),e.setMetaFieldValue("template","ast-advanced-hook-layout"),h(!1)};(0,c.useEffect)(()=>{const e=(0,a.select)("core/editor").getCurrentPost();y(!!e.content)},[]);const q=()=>V(!1),W=(t,n)=>{if(!0===t)e.setMetaFieldValue([...e.meta["ast-advanced-display-device"],n],"ast-advanced-display-device");else{let t=e.meta["ast-advanced-display-device"];t=t.filter(function(e){return e!==n}),e.setMetaFieldValue(t,"ast-advanced-display-device")}},X=()=>""===astCustomLayout.logo_url?o:(0,f.jsx)("img",{src:astCustomLayout.logo_url,alt:"Site Logo",className:"ast-custom-layout-popup-logo"});return(0,f.jsxs)(f.Fragment,{children:[""===e.meta["ast-advanced-hook-layout"]&&!v&&s&&(0,f.jsx)(t.Modal,{className:"ast-hooks-modal",title:(0,r.__)("Site Builder","astra-addon"),shouldCloseOnClickOutside:!1,onRequestClose:()=>d(!1),icon:o,children:(0,f.jsx)("div",{className:"ast-modal-container",children:(0,f.jsxs)("div",{className:"ast-modal-inner-wrapper",children:[(0,f.jsx)("h2",{className:"ast-heading",children:(0,r.__)("Choose Site Builder Layout Type","astra-addon")}),(0,f.jsx)("p",{children:(0,r.__)("Please select the type of your Site Builder Layout, you can modify this later.","astra-addon")}),(0,f.jsx)(Fo,{options:z,default:"",onChange:t=>{(t=>{if(void 0!==t[0]&&("header"===t[0]||"footer"===t[0])){let n="ast-advanced-hook-header";e.setMetaFieldValue({...e.meta[n],sticky:!0===t[1]?"enabled":""},n)}Z(t[0]),"template"!==t[0]?e.setMetaFieldValue(t[0],"ast-advanced-hook-layout"):h(!0)})(t)}}),p&&(0,f.jsxs)("p",{className:"ast-custom-template-type-selection-wrap",children:[(0,f.jsx)("br",{}),(0,f.jsxs)("select",{className:"components-select-control__input ast-custom-template-type-select",value:void 0!==e.meta["ast-advanced-hook-template-type"]&&""!==e.meta["ast-advanced-hook-template-type"]?e.meta["ast-advanced-hook-template-type"]:"",onChange:e=>{U(e)},children:[(0,f.jsxs)("option",{value:"",children:[" ",(0,r.__)("Select Template","astra-addon")," "]}),(0,f.jsxs)("option",{value:"single",children:[" ",(0,r.__)("Single","astra-addon")," "]}),(0,f.jsxs)("option",{value:"archive",children:[" ",(0,r.__)("Archive","astra-addon")," "]})]})]})]})})}),(0,f.jsx)(i.PluginSidebarMoreMenuItem,{target:"ast-custom-layout-panel",icon:n,children:astCustomLayout.title}),(0,f.jsxs)(i.PluginSidebar,{isPinnable:!0,icon:n,name:"ast-custom-layout-panel",title:astCustomLayout.title,children:[(0,f.jsx)("div",{className:"ast-custom-layout-sidebar components-panel__body is-opened",children:(0,f.jsxs)("div",{className:"ast-custom-layout-meta-wrap components-base-control__field",children:[(0,f.jsxs)("p",{className:"ast-custom-layout-control-title post-attributes-label-wrapper",children:[(0,f.jsx)("strong",{className:"customize-control-title",children:(0,r.__)("Layout","astra-addon")}),(0,f.jsx)(t.Tooltip,{placement:"bottom-end",text:(0,r.__)("This option will be applicable only for the posts/pages created with the block editor.","astra-addon"),children:(0,f.jsx)("i",{className:"ast-advanced-hook-heading-help dashicons dashicons-editor-help"})})]}),(0,f.jsx)(t.SelectControl,{value:void 0!==e.meta["ast-advanced-hook-layout"]&&""!==e.meta["ast-advanced-hook-layout"]?e.meta["ast-advanced-hook-layout"]:"0",options:O,onChange:t=>{Z(t),e.setMetaFieldValue(t,"ast-advanced-hook-layout")}}),"template"===e.meta["ast-advanced-hook-layout"]&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(No,{}),(0,f.jsx)("p",{className:"ast-custom-layout-control-title post-attributes-label-wrapper",children:(0,f.jsx)("strong",{className:"customize-control-title",children:(0,r.__)("Template Type","astra-addon")})}),(0,f.jsxs)("select",{className:"components-select-control__input ast-custom-template-type-selection",value:void 0!==e.meta["ast-advanced-hook-template-type"]&&""!==e.meta["ast-advanced-hook-template-type"]?e.meta["ast-advanced-hook-template-type"]:"",onChange:e=>{U(e)},children:[(0,f.jsxs)("option",{value:"",children:[" ",(0,r.__)("— Select —","astra-addon")]}),(0,f.jsxs)("option",{value:"single",children:[" ",(0,r.__)("Single","astra-addon")]}),(0,f.jsxs)("option",{value:"archive",children:[" ",(0,r.__)("Archive","astra-addon")]})]}),(0,f.jsx)(No,{}),(0,f.jsx)(Ro,{meta:e.meta,onChange:t=>{t=""!==t?t:"",e.setMetaFieldValue(t,"ast-custom-template-preview-post")}})]}),"hooks"===e.meta["ast-advanced-hook-layout"]&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(No,{}),(0,f.jsx)("p",{className:"ast-custom-layout-control-title post-attributes-label-wrapper",children:(0,f.jsx)("strong",{className:"customize-control-title",children:(0,r.__)("Placement","astra-addon")})}),(0,f.jsxs)("select",{className:"components-select-control__input ast-layout-hooks-selection",value:b,onChange:t=>{(t=>{let n=t.target.value;w(n),e.setMetaFieldValue(n,"ast-advanced-hook-action")})(t)},children:[(0,f.jsxs)("option",{value:"",children:[" ",(0,r.__)("— Select —","astra-addon")]}),H]}),(0,f.jsx)("p",{className:"description ast-advanced-hook-action-desc",children:void 0!==E[e.meta["ast-advanced-hook-action"]]?E[e.meta["ast-advanced-hook-action"]]:""}),"custom_hook"===e.meta["ast-advanced-hook-action"]&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(No,{}),(0,f.jsxs)("div",{className:"ast-input-field-wrapper",children:[(0,f.jsx)("p",{className:"ast-custom-layout-control-title post-attributes-label-wrapper",children:(0,f.jsx)("strong",{className:"customize-control-title",children:(0,r.__)("Custom Hook Name","astra-addon")})}),(0,f.jsx)(zo,{value:void 0!==e.meta["ast-custom-hook"]?e.meta["ast-custom-hook"]:"",onChange:t=>{e.setMetaFieldValue(t,"ast-custom-hook")}})]})]}),(0,f.jsx)(No,{}),(0,f.jsxs)("div",{className:"ast-cl-priority",children:[(0,f.jsx)("p",{className:"ast-custom-layout-control-title post-attributes-label-wrapper",children:(0,f.jsx)("strong",{className:"customize-control-title",children:(0,r.__)("Priority","astra-addon")})}),(0,f.jsx)(Bo,{value:void 0!==e.meta["ast-advanced-hook-priority"]?e.meta["ast-advanced-hook-priority"]:"",onChange:t=>{e.setMetaFieldValue(t,"ast-advanced-hook-priority")},placeholder:"Default: 10"})]}),(0,f.jsx)(No,{}),(0,f.jsxs)("p",{className:"ast-custom-layout-control-title post-attributes-label-wrapper",children:[(0,f.jsx)("strong",{className:"customize-control-title",children:(0,r.__)("Spacing","astra-addon")}),(0,f.jsx)(t.Tooltip,{text:(0,r.__)('Spacing can be given any positive number with or without units as "5" or "5px". Default unit is "px"',"astra-addon"),placement:"bottom-end",children:(0,f.jsx)("i",{className:"ast-advanced-hook-heading-help dashicons dashicons-editor-help"})})]}),(0,f.jsxs)("div",{className:"ast-spacing-settings",children:[(0,f.jsx)(t.TextControl,{label:(0,r.__)("Top","astra-addon"),value:void 0!==e.meta["ast-advanced-hook-padding"].top?e.meta["ast-advanced-hook-padding"].top:0,onChange:t=>{e.setMetaFieldValue({...e.meta["ast-advanced-hook-padding"],top:t},"ast-advanced-hook-padding")}}),(0,f.jsx)(t.TextControl,{label:(0,r.__)("Bottom","astra-addon"),value:void 0!==e.meta["ast-advanced-hook-padding"].bottom&&""!==e.meta["ast-advanced-hook-padding"].bottom?e.meta["ast-advanced-hook-padding"].bottom:0,onChange:t=>{e.setMetaFieldValue({...e.meta["ast-advanced-hook-padding"],bottom:t},"ast-advanced-hook-padding")}})]})]})]})}),"header"===e.meta["ast-advanced-hook-layout"]&&(0,f.jsxs)(t.PanelBody,{title:(0,r.__)("Sticky Settings","astra-addon"),initialOpen:!1,children:[(0,f.jsx)("div",{className:"ast-custom-layout-meta-wrap components-base-control__field ast-sticky-control ast-reverse-toggle",children:(0,f.jsx)(t.ToggleControl,{label:(0,r.__)("Enable Sticky Header","astra-addon"),checked:void 0!==e.meta["ast-advanced-hook-header"].sticky&&"enabled"===e.meta["ast-advanced-hook-header"].sticky,onChange:t=>{t=!0===t?"enabled":"",e.setMetaFieldValue({...e.meta["ast-advanced-hook-header"],sticky:t},"ast-advanced-hook-header")}})}),"header"===e.meta["ast-advanced-hook-layout"]&&"enabled"===e.meta["ast-advanced-hook-header"].sticky&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{className:"ast-custom-layout-meta-wrap components-base-control__field ast-sticky-control ast-reverse-toggle ast-toggle-margin-bottom ast-toggle-margin-top",children:(0,f.jsx)(t.ToggleControl,{label:(0,r.__)("Enable Shrink Effect","astra-addon"),checked:void 0!==e.meta["ast-advanced-hook-header"].shrink&&"enabled"===e.meta["ast-advanced-hook-header"].shrink,onChange:t=>{t=!0===t?"enabled":"",e.setMetaFieldValue({...e.meta["ast-advanced-hook-header"],shrink:t},"ast-advanced-hook-header")}})}),(0,f.jsxs)("div",{className:"ast-custom-layout-meta-wrap components-base-control__field ast-toggle-margin-top",children:[(0,f.jsx)("p",{className:"ast-custom-layout-control-title post-attributes-label-wrapper",children:(0,f.jsx)("strong",{className:"customize-control-title",children:(0,r.__)("Stick On","astra-addon")})}),(0,f.jsx)(t.SelectControl,{value:void 0!==e.meta["ast-advanced-hook-header"]["sticky-header-on-devices"]&&""!==e.meta["ast-advanced-hook-header"]["sticky-header-on-devices"]?e.meta["ast-advanced-hook-header"]["sticky-header-on-devices"]:"desktop",options:S,onChange:t=>{e.setMetaFieldValue({...e.meta["ast-advanced-hook-header"],"sticky-header-on-devices":t},"ast-advanced-hook-header")}})]})]})]}),"footer"===e.meta["ast-advanced-hook-layout"]&&(0,f.jsxs)(t.PanelBody,{title:(0,r.__)("Sticky Settings","astra-addon"),initialOpen:!1,className:"ast-single-sidebar-option",children:[(0,f.jsx)("div",{className:"ast-custom-layout-meta-wrap components-base-control__field ast-sticky-control ast-reverse-toggle",children:(0,f.jsx)(t.ToggleControl,{label:(0,r.__)("Enable Sticky Footer","astra-addon"),checked:void 0!==e.meta["ast-advanced-hook-footer"].sticky&&"enabled"===e.meta["ast-advanced-hook-footer"].sticky,onChange:t=>{t=!0===t?"enabled":"",e.setMetaFieldValue({...e.meta["ast-advanced-hook-footer"],sticky:t},"ast-advanced-hook-footer")}})}),"footer"===e.meta["ast-advanced-hook-layout"]&&"enabled"===e.meta["ast-advanced-hook-footer"].sticky&&(0,f.jsxs)("div",{className:"ast-custom-layout-meta-wrap components-base-control__field ast-toggle-margin-top",children:[(0,f.jsx)("p",{className:"ast-custom-layout-control-title post-attributes-label-wrapper",children:(0,f.jsx)("strong",{className:"customize-control-title",children:(0,r.__)("Stick On","astra-addon")})}),(0,f.jsx)(t.SelectControl,{value:void 0!==e.meta["ast-advanced-hook-footer"]["sticky-footer-on-devices"]&&""!==e.meta["ast-advanced-hook-footer"]["sticky-footer-on-devices"]?e.meta["ast-advanced-hook-footer"]["sticky-footer-on-devices"]:"desktop",options:S,onChange:t=>{e.setMetaFieldValue({...e.meta["ast-advanced-hook-footer"],"sticky-footer-on-devices":t},"ast-advanced-hook-footer")}})]})]}),"404-page"===e.meta["ast-advanced-hook-layout"]&&(0,f.jsx)(t.PanelBody,{title:(0,r.__)("404 Page Display Settings","astra-addon"),initialOpen:!1,className:"ast-single-sidebar-option",children:(0,f.jsxs)("div",{className:"ast-custom-layout-meta-wrap components-base-control__field ast-404-control ast-reverse-toggle",children:[(0,f.jsx)(t.ToggleControl,{label:(0,r.__)("Disable Primary Header","astra-addon"),checked:void 0!==e.meta["ast-404-page"].disable_header&&"enabled"===e.meta["ast-404-page"].disable_header,onChange:t=>{t=!0===t?"enabled":"",e.setMetaFieldValue({...e.meta["ast-404-page"],disable_header:t},"ast-404-page")}}),(0,f.jsx)(t.ToggleControl,{label:(0,r.__)("Disable Footer Bar","astra-addon"),checked:void 0!==e.meta["ast-404-page"].disable_footer&&"enabled"===e.meta["ast-404-page"].disable_footer,onChange:t=>{t=!0===t?"enabled":"",e.setMetaFieldValue({...e.meta["ast-404-page"],disable_footer:t},"ast-404-page")}})]})}),"content"===e.meta["ast-advanced-hook-layout"]&&(0,f.jsx)(t.PanelBody,{title:(0,r.__)("Location Settings","astra-addon"),initialOpen:!1,className:"ast-single-sidebar-option",children:(0,f.jsxs)("div",{className:"ast-custom-layout-meta-wrap components-base-control__field ast-404-control",children:[(0,f.jsxs)("p",{className:"ast-custom-layout-control-title post-attributes-label-wrapper",children:[(0,f.jsx)("strong",{className:"customize-control-title",children:(0,r.__)("Location on post/page","astra-addon")}),(0,f.jsx)(t.Tooltip,{text:(0,r.__)("Layout will be inserted at a selected location on page/post in the block editor.","astra-addon"),placement:"bottom-end",children:(0,f.jsx)("i",{className:"ast-advanced-hook-heading-help dashicons dashicons-editor-help"})})]}),(0,f.jsx)(t.SelectControl,{value:void 0!==e.meta["ast-advanced-hook-content"].location&&""!==e.meta["ast-advanced-hook-content"].location?e.meta["ast-advanced-hook-content"].location:"after_blocks",options:D,className:"ast-toggle-margin-bottom",onChange:t=>{e.setMetaFieldValue({...e.meta["ast-advanced-hook-content"],location:t},"ast-advanced-hook-content")}}),("after_blocks"===e.meta["ast-advanced-hook-content"].location||void 0===e.meta["ast-advanced-hook-content"].location)&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("p",{className:"ast-custom-layout-control-title post-attributes-label-wrapper",children:(0,f.jsx)("strong",{className:"customize-control-title",children:(0,r.__)("Add layout after block(s)","astra-addon")})}),(0,f.jsx)(Bo,{value:void 0!==e.meta["ast-advanced-hook-content"].after_block_number?e.meta["ast-advanced-hook-content"].after_block_number:"",onChange:t=>{e.setMetaFieldValue({...e.meta["ast-advanced-hook-content"],after_block_number:t},"ast-advanced-hook-content")}})]}),"before_headings"===e.meta["ast-advanced-hook-content"].location&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("p",{className:"ast-custom-layout-control-title post-attributes-label-wrapper",children:(0,f.jsx)("strong",{className:"customize-control-title",children:(0,r.__)("Add content before Heading Block(s)","astra-addon")})}),(0,f.jsx)(Bo,{value:void 0!==e.meta["ast-advanced-hook-content"].before_heading_number?e.meta["ast-advanced-hook-content"].before_heading_number:"",onChange:t=>{e.setMetaFieldValue({...e.meta["ast-advanced-hook-content"],before_heading_number:t},"ast-advanced-hook-content")}})]})]})}),(0,f.jsx)("div",{className:"ast-custom-layout-panel components-panel__body",children:(0,f.jsx)("h2",{className:"components-panel__body-title",children:(0,f.jsxs)("button",{className:"components-button components-panel__body-toggle",onClick:()=>k(!0),children:[(0,f.jsx)("span",{className:"ast-title-container",children:(0,f.jsxs)("div",{className:"ast-title",children:[" ",(0,r.__)("Display and User Conditions","astra-addon")]})}),C]})})}),x&&(0,f.jsx)(Io,{closeModal:()=>k(!1),whiteLabelledLogo:X,...e}),(0,f.jsx)(t.PanelBody,{title:(0,r.__)("Device Visibility","astra-addon"),initialOpen:!1,className:"ast-single-sidebar-option",children:(0,f.jsxs)("div",{className:"ast-custom-layout-meta-wrap components-base-control__field ast-reverse-toggle",children:[(0,f.jsxs)("p",{className:"ast-custom-layout-control-title post-attributes-label-wrapper",children:[(0,f.jsx)("strong",{className:"customize-control-title",children:(0,r.__)("Visible On","astra-addon")}),(0,f.jsx)(t.Tooltip,{placement:"bottom-end",text:(0,r.__)("Select device for where this custom layout should appear","astra-addon"),children:(0,f.jsx)("i",{className:"ast-advanced-hook-heading-help dashicons dashicons-editor-help"})})]}),(0,f.jsx)(t.ToggleControl,{label:"Desktop",checked:!!e.meta["ast-advanced-display-device"].includes("desktop"),onChange:e=>{W(e,"desktop")}}),(0,f.jsx)(t.ToggleControl,{label:"Tablet",checked:!!e.meta["ast-advanced-display-device"].includes("tablet"),onChange:e=>{W(e,"tablet")}}),(0,f.jsx)(t.ToggleControl,{label:"Mobile",checked:!!e.meta["ast-advanced-display-device"].includes("mobile"),onChange:e=>{W(e,"mobile")}})]})}),(0,f.jsx)("div",{className:"ast-custom-layout-panel components-panel__body",children:(0,f.jsx)("h2",{className:"components-panel__body-title",children:(0,f.jsxs)("button",{className:"components-button components-panel__body-toggle",onClick:()=>V(!0),children:[(0,f.jsx)("span",{className:"ast-title-container",children:(0,f.jsxs)("div",{className:"ast-title",children:[" ",(0,r.__)("Date & Time Conditions","astra-addon")]})}),C]})})}),M&&(0,f.jsxs)(t.Modal,{title:(0,r.__)("Date & Time Conditions","astra-addon"),className:"ast-layout-settings-modal ast-time-duration",shouldCloseOnClickOutside:!1,onRequestClose:q,icon:X(),children:[(0,f.jsx)("div",{className:"ast-cl-settings-content",children:(0,f.jsx)("table",{className:"ast-advanced-hook-table widefat",children:(0,f.jsxs)("tbody",{children:[_,(0,f.jsxs)("tr",{className:`ast-advanced-hook-row ${"enabled"===e.meta["ast-advanced-time-duration"].enabled?"is-active":""} `,children:[(0,f.jsx)("td",{className:"ast-advanced-hook-row-heading",children:(0,f.jsxs)("label",{children:[" ",(0,r.__)("Time Event","astra-addon")]})}),(0,f.jsx)("td",{className:"ast-advanced-hook-row-content",children:(0,f.jsx)(t.ToggleControl,{checked:void 0!==e.meta["ast-advanced-time-duration"].enabled&&"enabled"===e.meta["ast-advanced-time-duration"].enabled,onChange:t=>{t=!0===t?"enabled":"",e.setMetaFieldValue({...e.meta["ast-advanced-time-duration"],enabled:t},"ast-advanced-time-duration")}})})]}),(void 0===e.meta["ast-advanced-time-duration"].enabled||void 0!==e.meta["ast-advanced-time-duration"].enabled&&""===e.meta["ast-advanced-time-duration"].enabled)&&(0,f.jsx)(f.Fragment,{children:_}),"enabled"===e.meta["ast-advanced-time-duration"].enabled&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("tr",{children:[(0,f.jsx)("td",{className:"ast-advanced-hook-row-heading",children:(0,f.jsxs)("label",{children:[" ",(0,r.__)("Start Date/Time:","astra-addon")]})}),(0,f.jsxs)("td",{className:"ast-advanced-hook-row-content",children:[(0,f.jsx)(m,{label:B,onOpenPopover:P}),A&&(0,f.jsx)(t.Popover,{placement:"top-end",className:"ast-popover",onClose:P,children:(0,f.jsx)("section",{className:"ast-popover-body",children:(0,f.jsx)("div",{className:"ast-datepicker-wrapper",children:(0,f.jsx)(t.DateTimePicker,{currentDate:e.meta["ast-advanced-time-duration"]["start-dt"],onChange:t=>{e.setMetaFieldValue({...e.meta["ast-advanced-time-duration"],"start-dt":t},"ast-advanced-time-duration")},is12Hour:!0})})})})]})]}),(0,f.jsxs)("tr",{className:"ast-advanced-hook-row",children:[(0,f.jsx)("td",{className:"ast-advanced-hook-row-heading",children:(0,f.jsxs)("label",{children:[" ",(0,r.__)("End Date/Time:","astra-addon")]})}),(0,f.jsxs)("td",{className:"ast-advanced-hook-row-content",children:[(0,f.jsx)(m,{label:F,onOpenPopover:I}),L&&(0,f.jsx)(t.Popover,{placement:"top-end",className:"ast-popover",onClose:I,children:(0,f.jsx)("section",{className:"ast-popover-body",children:(0,f.jsx)("div",{className:"ast-datepicker-wrapper",children:(0,f.jsx)(t.DateTimePicker,{className:"ast-datepicker",currentDate:e.meta["ast-advanced-time-duration"]["end-dt"],onChange:t=>{const n=T(e.meta["ast-advanced-time-duration"]["start-dt"]);T(t)>n?(R(!1),e.setMetaFieldValue({...e.meta["ast-advanced-time-duration"],"end-dt":t},"ast-advanced-time-duration")):R(!0)},is12Hour:!0})})})}),N&&(0,f.jsx)(t.Notice,{className:"ast-date-time-notice",status:"warning",isDismissible:!1,children:(0,r.__)("The selected end date occurs before your start date. Choose the end date and time which is later than the start date and time.","astra-addon")})]})]})]}),"enabled"===e.meta["ast-advanced-time-duration"].enabled&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("tr",{className:"ast-advanced-hook-row",children:[(0,f.jsx)("td",{className:"ast-advanced-hook-row-heading",children:(0,f.jsxs)("label",{children:[" ",(0,r.__)("Timezone:","astra-addon")]})}),(0,f.jsx)("td",{className:"ast-advanced-hook-row-content",children:(0,f.jsx)(Zo,{})})]}),j]})]})})}),(0,f.jsx)("div",{className:"ast-cl-footer-container",children:(0,f.jsxs)("div",{className:"ast-button-container",children:[(0,f.jsxs)("span",{className:"ast-cl-popup-notice",children:[(0,f.jsx)("i",{className:"dashicons dashicons-warning"}),(0,r.__)("Make sure to update your post for changes to take effect.","astra-addon")]}),(0,f.jsxs)("button",{className:"button button-default",onClick:q,children:[" ",(0,r.__)("Return To Post","astra-addon")," "]})]})})]})]})]})}),$o=()=>{const e=l(u?.["cl-uag-icon"]||"");let n=[];!astCustomLayout.isPluginActivated&&astCustomLayout.isPluginInstalled&&(n={InitalText:"Activate Spectra",progressText:"Activating Spectra...",errorText:"Error activating Spectra",SuccessText:"Spectra Activated"}),astCustomLayout.isPluginInstalled||astCustomLayout.isPluginActivated||(n={InitalText:"Install Spectra",progressText:"Installing Spectra...",errorText:"Error installing Spectra",SuccessText:"Spectra Installed"});const{InitalText:o,progressText:a,errorText:s,SuccessText:d}=n,[p,h]=(0,c.useState)(!1),[m,v]=(0,c.useState)(o),[g,y]=(0,c.useState)(!1),b=async e=>{const t={method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:`action=bsf-extention-activate&init=${e}&security=${astCustomLayout.installPluginNoticeNonce}`};200===(await fetch(ajaxurl,t)).status?(h(!1),v(d),location.reload()):(v(s),h(!1),setTimeout(()=>{v(d),h(!1),y(!1)},2e3))};return(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)(i.PluginDocumentSettingPanel,{name:"ast-plugin-install-panel",title:(0,r.__)("Spectra – Gutenberg Blocks","astra-addon"),children:[(0,f.jsx)("p",{children:(0,r.__)("Spectra – WordPress Gutenberg Blocks plugin can help you take full advantage of Custom Layouts.","astra-addon")}),(0,f.jsx)(t.Button,{className:`ast-custom-button-with-padding ${!0===p?"is-busy ":""} `,onClick:()=>(async(e,t,n)=>{if(!1===g)if(v(a),h(!0),y(!0),!astCustomLayout.isPluginActivated&&astCustomLayout.isPluginInstalled)b(t);else try{await wp.updates.installPlugin({slug:"ultimate-addons-for-gutenberg"}),b(t)}catch(n){"folder_exists"===n.errorCode&&b(t)}})(0,"ultimate-addons-for-gutenberg/ultimate-addons-for-gutenberg.php"),isPrimary:!0,"aria-disabled":g,icon:e,children:(0,r.__)(m,"astra-addon")})]})})},qo=window.wp.blockEditor,Wo=window.wp.hooks;if((0,e.registerPlugin)("astra-custom-layout",{render:Uo}),!astCustomLayout.isPluginActivated){(0,e.registerPlugin)("astra-plugin-install-notice",{render:$o,icon:!1});const t="astra-plugin-install-notice/ast-plugin-install-panel";wp.data.select("core/edit-post").isEditorPanelOpened(t)||wp.data.dispatch("core/edit-post").toggleEditorPanelOpened(t)}wp.compose&&((0,Wo.addFilter)("blockEditor.__unstableCanInsertBlockType","updatePostContentBlockInserter",(e,t,n,{getBlockParentsByBlockName:o})=>"core/post-content"===t.name?document.body.classList.contains("post-type-astra-advanced-hook"):e,999),(0,Wo.addFilter)("editor.BlockEdit","astra.WrapWithPostId",wp.compose.createHigherOrderComponent(e=>t=>{const n=wp.data.select("core/editor").getEditedPostAttribute("meta");if("template"!==(void 0!==n["ast-advanced-hook-layout"]&&n["ast-advanced-hook-layout"]?n["ast-advanced-hook-layout"]:""))return(0,f.jsx)(e,{...t});const o=void 0!==n["ast-custom-template-preview-post"]&&n["ast-custom-template-preview-post"]?n["ast-custom-template-preview-post"]:[];let a="",i="";if(!o?.value)return(0,f.jsx)(e,{...t});if(o&&o.value){const e=o.value.split("__");a=e[0],i=e[1]}return(0,f.jsx)(qo.BlockContextProvider,{value:{postId:i,postType:a},children:(0,f.jsx)(e,{...t,context:{...t?.context||{},postId:i,postType:a}})})})))})()})();
Save File
Cancel