File: /var/www/html/wp-content/plugins/wp-recipe-maker/dist/admin-faq.js
var WPRecipeMakerAdmin;(self.webpackChunkWPRecipeMakerAdmin=self.webpackChunkWPRecipeMakerAdmin||[]).push([[154],{46041:(e,t,n)=>{"use strict";var r=n(94140),o=n(77810),i=n(37017),a=n(80942);const s=e=>o.createElement("div",{className:"wprm-admin-onboarding-step-welcome"},o.createElement("p",null,(0,a.f)("Welcome to WP Recipe Maker!")),o.createElement("p",null,(0,a.f)("These onboarding steps get you up and running quickly by")," ",o.createElement("strong",null,(0,a.f)("choosing the correct options for your situation"))," ",(0,a.f)("and showing you how to get the most out of this plugin.")),o.createElement("div",{className:"wprm-admin-onboarding-step-welcome-buttons"},o.createElement("button",{className:"button button-primary button-compact",onClick:()=>{e.jumpToStep(1)}},(0,a.f)("Start the onboarding!")),o.createElement("a",{href:wprm_admin.manage_url+"&skip_onboarding=1"},(0,a.f)("or click here to skip"))));function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(this,arguments)}function m(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&&b(e,t)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function v(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return y(e)}(this,n)}}function I(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)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||E(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 x(e){return function(e){if(Array.isArray(e))return S(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||E(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.")}()}function E(e,t){if(e){if("string"==typeof e)return S(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)?S(e,t):void 0}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var M=d((function e(t){var n=this,r=t.expanded,o=void 0===r?[]:r,i=t.allowMultipleExpanded,a=void 0!==i&&i,s=t.allowZeroExpanded,l=void 0!==s&&s;u(this,e),f(this,"expanded",void 0),f(this,"allowMultipleExpanded",void 0),f(this,"allowZeroExpanded",void 0),f(this,"toggleExpanded",(function(e){return n.isItemDisabled(e)?n:n.isItemExpanded(e)?n.augment({expanded:n.expanded.filter((function(t){return t!==e}))}):n.augment({expanded:n.allowMultipleExpanded?[].concat(x(n.expanded),[e]):[e]})})),f(this,"isItemDisabled",(function(e){var t=n.isItemExpanded(e),r=1===n.expanded.length;return Boolean(t&&!n.allowZeroExpanded&&r)})),f(this,"isItemExpanded",(function(e){return-1!==n.expanded.indexOf(e)})),f(this,"getPanelAttributes",(function(e,t){var r=null!=t?t:n.isItemExpanded(e);return{role:n.allowMultipleExpanded?void 0:"region","aria-hidden":n.allowMultipleExpanded?!r:void 0,"aria-labelledby":n.getButtonId(e),id:n.getPanelId(e),hidden:!r||void 0}})),f(this,"getHeadingAttributes",(function(){return{role:"heading"}})),f(this,"getButtonAttributes",(function(e,t){var r=null!=t?t:n.isItemExpanded(e),o=n.isItemDisabled(e);return{id:n.getButtonId(e),"aria-disabled":o,"aria-expanded":r,"aria-controls":n.getPanelId(e),role:"button",tabIndex:0}})),f(this,"getPanelId",(function(e){return"accordion__panel-".concat(e)})),f(this,"getButtonId",(function(e){return"accordion__heading-".concat(e)})),f(this,"augment",(function(t){return new e(c({expanded:n.expanded,allowMultipleExpanded:n.allowMultipleExpanded,allowZeroExpanded:n.allowZeroExpanded},t))})),this.expanded=o,this.allowMultipleExpanded=a,this.allowZeroExpanded=l})),k=(0,o.createContext)(null),j=function(e){m(n,e);var t=w(n);function n(){var e;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return f(y(e=t.call.apply(t,[this].concat(o))),"state",new M({expanded:e.props.preExpanded,allowMultipleExpanded:e.props.allowMultipleExpanded,allowZeroExpanded:e.props.allowZeroExpanded})),f(y(e),"toggleExpanded",(function(t){e.setState((function(e){return e.toggleExpanded(t)}),(function(){e.props.onChange&&e.props.onChange(e.state.expanded)}))})),f(y(e),"isItemDisabled",(function(t){return e.state.isItemDisabled(t)})),f(y(e),"isItemExpanded",(function(t){return e.state.isItemExpanded(t)})),f(y(e),"getPanelAttributes",(function(t,n){return e.state.getPanelAttributes(t,n)})),f(y(e),"getHeadingAttributes",(function(){return e.state.getHeadingAttributes()})),f(y(e),"getButtonAttributes",(function(t,n){return e.state.getButtonAttributes(t,n)})),e}return d(n,[{key:"render",value:function(){var e=this.state,t=e.allowZeroExpanded,n=e.allowMultipleExpanded;return(0,o.createElement)(k.Provider,{value:{allowMultipleExpanded:n,allowZeroExpanded:t,toggleExpanded:this.toggleExpanded,isItemDisabled:this.isItemDisabled,isItemExpanded:this.isItemExpanded,getPanelAttributes:this.getPanelAttributes,getHeadingAttributes:this.getHeadingAttributes,getButtonAttributes:this.getButtonAttributes}},this.props.children||null)}}]),n}(o.PureComponent);f(j,"defaultProps",{allowMultipleExpanded:!1,allowZeroExpanded:!1});var C,P=function(e){m(n,e);var t=w(n);function n(){var e;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return f(y(e=t.call.apply(t,[this].concat(o))),"renderChildren",(function(t){return t?e.props.children(t):null})),e}return d(n,[{key:"render",value:function(){return(0,o.createElement)(k.Consumer,null,this.renderChildren)}}]),n}(o.PureComponent),N=["className","allowMultipleExpanded","allowZeroExpanded","onChange","preExpanded"],T=function(e){var t=e.className,n=void 0===t?"accordion":t,r=e.allowMultipleExpanded,i=e.allowZeroExpanded,a=e.onChange,s=e.preExpanded,l=v(e,N);return(0,o.createElement)(j,{preExpanded:s,allowMultipleExpanded:r,allowZeroExpanded:i,onChange:a},(0,o.createElement)("div",h({"data-accordion-component":"Accordion",className:n},l)))};!function(e){e.Accordion="Accordion",e.AccordionItem="AccordionItem",e.AccordionItemButton="AccordionItemButton",e.AccordionItemHeading="AccordionItemHeading",e.AccordionItemPanel="AccordionItemPanel"}(C||(C={}));var A=C,L=0;var D=o.useId||function(){var e=L;return L+=1,"raa-".concat(e)},O=/[\u0009\u000a\u000c\u000d\u0020]/g;function R(e){return""!==e&&!O.test(e)||(console.error('uuid must be a valid HTML5 id but was given "'.concat(e,'", ASCII whitespaces are forbidden')),!1)}var B=(0,o.createContext)(null),H=function(e){var t=e.children,n=e.uuid,r=e.accordionContext,i=e.dangerouslySetExpanded,a=function(){r.toggleExpanded(n)},s=function(e){var r=null!=i?i:e.isItemExpanded(n),s=e.isItemDisabled(n),l=e.getPanelAttributes(n,i),c=e.getHeadingAttributes(n),u=e.getButtonAttributes(n,i);return(0,o.createElement)(B.Provider,{value:{uuid:n,expanded:r,disabled:s,toggleExpanded:a,panelAttributes:l,headingAttributes:c,buttonAttributes:u}},t)};return(0,o.createElement)(P,null,s)},W=function(e){return(0,o.createElement)(P,null,(function(t){return(0,o.createElement)(H,h({},e,{accordionContext:t}))}))},z=function(e){var t=e.children,n=function(e){return e?t(e):null};return(0,o.createElement)(B.Consumer,null,n)},Z=["uuid","dangerouslySetExpanded","className","activeClassName"],_=function(e){var t=e.uuid,n=e.dangerouslySetExpanded,r=e.className,i=void 0===r?"accordion__item":r,a=e.activeClassName,s=v(e,Z),l=I((0,o.useState)(D()),1)[0],c=null!=t?t:l,u=function(e){var t=e.expanded&&a?a:i;return(0,o.createElement)("div",h({"data-accordion-component":"AccordionItem",className:t},s))};return R(c.toString()),s.id&&R(s.id),(0,o.createElement)(W,{uuid:c,dangerouslySetExpanded:n},(0,o.createElement)(z,null,u))};function G(e){return e&&(e.matches('[data-accordion-component="Accordion"]')?e:G(e.parentElement))}function U(e){var t=G(e);return t&&Array.from(t.querySelectorAll('[data-accordion-component="AccordionItemButton"]'))}_.displayName=A.AccordionItem;var F="End",V="Enter",J="Home",Y=" ",Q="Spacebar",X="ArrowUp",q="ArrowDown",$="ArrowLeft",K="ArrowRight",ee=["toggleExpanded","className"],te=function(e){var t=e.toggleExpanded,n=e.className,r=void 0===n?"accordion__button":n,i=v(e,ee);return i.id&&R(i.id),(0,o.createElement)("div",h({className:r},i,{role:"button",tabIndex:0,onClick:t,onKeyDown:function(e){var n,r,o=e.key;if(o!==V&&o!==Y&&o!==Q||(e.preventDefault(),t()),e.target instanceof HTMLElement)switch(o){case J:e.preventDefault(),n=e.target,(r=(U(n)||[])[0])&&r.focus();break;case F:e.preventDefault(),function(e){var t=U(e)||[],n=t[t.length-1];n&&n.focus()}(e.target);break;case $:case X:e.preventDefault(),function(e){var t=U(e)||[],n=t.indexOf(e);if(-1!==n){var r=t[n-1];r&&r.focus()}}(e.target);break;case K:case q:e.preventDefault(),function(e){var t=U(e)||[],n=t.indexOf(e);if(-1!==n){var r=t[n+1];r&&r.focus()}}(e.target)}},"data-accordion-component":"AccordionItemButton"}))},ne=function(e){return(0,o.createElement)(z,null,(function(t){var n=t.toggleExpanded,r=t.buttonAttributes;return(0,o.createElement)(te,h({toggleExpanded:n},e,r))}))},re=function(e){m(n,e);var t=w(n);function n(){var e;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return f(y(e=t.call.apply(t,[this].concat(o))),"ref",void 0),f(y(e),"setRef",(function(t){e.ref=t})),e}return d(n,[{key:"componentDidUpdate",value:function(){n.VALIDATE(this.ref)}},{key:"componentDidMount",value:function(){n.VALIDATE(this.ref)}},{key:"render",value:function(){return(0,o.createElement)("div",h({"data-accordion-component":"AccordionItemHeading"},this.props,{ref:this.setRef}))}}],[{key:"VALIDATE",value:function(e){if(void 0===e)throw new Error("ref is undefined");if(1!==e.childElementCount||!e.firstElementChild||"AccordionItemButton"!==e.firstElementChild.getAttribute("data-accordion-component"))throw new Error("AccordionItemButton may contain only one child element, which must be an instance of AccordionItemButton.\n\nFrom the WAI-ARIA spec (https://www.w3.org/TR/wai-aria-practices-1.1/#accordion):\n\n“The button element is the only element inside the heading element. That is, if there are other visually persistent elements, they are not included inside the heading element.”\n\n")}}]),n}(o.PureComponent);f(re,"defaultProps",{className:"accordion__heading","aria-level":3});var oe=function(e){return(0,o.createElement)(z,null,(function(t){var n=t.headingAttributes;return e.id&&R(e.id),(0,o.createElement)(re,h({},e,n))}))};oe.displayName=A.AccordionItemHeading;var ie=["className","region","id"],ae=function(e){var t=e.className,n=void 0===t?"accordion__panel":t,r=e.region,i=e.id,a=v(e,ie),s=function(e){var t=e.panelAttributes;i&&R(i);var s=c(c({},t),{},{"aria-labelledby":r?t["aria-labelledby"]:void 0});return(0,o.createElement)("div",h({"data-accordion-component":"AccordionItemPanel",className:n},a,s,{role:r?"region":void 0}))};return(0,o.createElement)(z,null,s)};const se=e=>o.createElement("div",{className:"wprm-admin-onboarding-accordion-container"},e.hasOwnProperty("title")&&o.createElement("h2",null,e.title),o.createElement(T,{className:"wprm-admin-onboarding-accordion",allowZeroExpanded:!0},e.items.map(((e,t)=>o.createElement(_,{key:t},o.createElement(oe,null,o.createElement(ne,null,e.header)),o.createElement(ae,null,e.content)))))),le=wprm_admin.wprm_url+"assets/images/faq/creating/",ce=e=>o.createElement(se,{items:[{header:(0,a.f)("Gutenberg Block Editor (WordPress default)"),content:o.createElement(o.Fragment,null,o.createElement("p",null,(0,a.f)("This is the default editor for WordPress and the one we recommend. To add a recipe, you")," ",o.createElement("strong",null,(0,a.f)("add a WPRM Recipe block"))," ",(0,a.f)("to the post content.")),o.createElement("img",{src:le+"gutenberg-block.png",alt:(0,a.f)("WPRM block in the Gutenberg block inserter")}),o.createElement("p",null,(0,a.f)("After adding a WPRM Recipe block, you can click a button to")," ",o.createElement("strong",null,(0,a.f)("create a new recipe or insert an existing one")),". ",(0,a.f)('The "Create new from Existing Recipe" button can duplicate an existing recipe to use as a starting point.')),o.createElement("img",{src:le+"gutenberg-block-buttons.png",alt:(0,a.f)("Buttons to create or insert recipes in the Gutenberg block")}),o.createElement("p",null,(0,a.f)("Clicking a button opens the recipe modal for you to fill in.")))},{header:(0,a.f)("Classic Editor"),content:o.createElement(o.Fragment,null,o.createElement("p",null,(0,a.f)("You will not get a live recipe preview, but we still fully support the Classic Editor. To add a recipe,")," ",o.createElement("strong",null,(0,a.f)("click the WP Recipe Maker button or icon"))," ",(0,a.f)("in the visual editor.")),o.createElement("img",{src:le+"classic-editor-buttons.png",alt:(0,a.f)("WP Recipe Maker button in the Classic Editor toolbar")}),o.createElement("p",null,(0,a.f)("After clicking, a modal appears with everything WP Recipe Maker can insert for you.")),o.createElement("img",{src:le+"classic-editor-modal.png",alt:(0,a.f)("Classic Editor WP Recipe Maker modal")}),o.createElement("p",null,(0,a.f)("Click the button to")," ",o.createElement("strong",null,(0,a.f)("create a new recipe or insert an existing one")),". ",(0,a.f)('The "Create new from Existing Recipe" button can duplicate an existing recipe to use as a starting point.')))},{header:(0,a.f)("Elementor Page Builder"),content:o.createElement(o.Fragment,null,o.createElement("p",null,(0,a.f)("We integrate with Elementor so you can simply")," ",o.createElement("strong",null,(0,a.f)("add a WPRM Recipe widget to your post")),"."),o.createElement("img",{src:le+"elementor-widget.png",alt:(0,a.f)("WPRM recipe widget in Elementor")}),o.createElement("p",null,(0,a.f)('When you click "Create or edit Recipe," it takes you to the')," ",o.createElement("strong",null,(0,a.f)("WP Recipe Maker Manage page"))," ",(0,a.f)("because recipes cannot be created or edited directly in the Elementor interface.")),o.createElement("p",null,(0,a.f)("Once you have created a recipe, you can")," ",o.createElement("strong",null,(0,a.f)("search for its name"))," ",(0,a.f)("to insert it.")),o.createElement("img",{src:le+"elementor-select-recipe.png",alt:(0,a.f)("Selecting a recipe in Elementor by searching recipe name")}))},{header:(0,a.f)("Divi Page Builder"),content:o.createElement(o.Fragment,null,o.createElement("p",null,(0,a.f)("We integrate with Divi so you can simply")," ",o.createElement("strong",null,(0,a.f)("add a WPRM Recipe module to your post")),"."),o.createElement("img",{src:le+"divi-insert.png",alt:(0,a.f)("WPRM recipe module in Divi builder")}),o.createElement("p",null,(0,a.f)("Set the")," ",o.createElement("strong",null,(0,a.f)("recipe ID"))," ",(0,a.f)("to display the recipe.")),o.createElement("img",{src:le+"divi-module.png",alt:(0,a.f)("Divi module settings showing recipe ID field")}))},{header:(0,a.f)("Other Page Builder"),content:o.createElement(o.Fragment,null,o.createElement("p",null,(0,a.f)("If you use a page builder that we do not integrate with, you can still use WP Recipe Maker. You will")," ",o.createElement("strong",null,(0,a.f)("create a recipe on the WP Recipe Maker Manage page")),"."),o.createElement("p",null,(0,a.f)("After creating a recipe, you")," ",o.createElement("strong",null,(0,a.f)("type the recipe shortcode"))," ",(0,a.f)("where you want the recipe to appear.")),o.createElement("img",{src:le+"page-builder.png",alt:(0,a.f)("Recipe shortcode inserted in a page builder content area")}))},{header:(0,a.f)("WordPress.com Editor"),content:o.createElement(o.Fragment,null,o.createElement("p",null,(0,a.f)("If your interface")," ",o.createElement("strong",null,(0,a.f)("looks like the classic editor but does not have the WP Recipe Maker button"))," ",(0,a.f)("you might be using the WordPress.com interface.")),o.createElement("img",{src:le+"wordpress-com-interface.png",alt:(0,a.f)("WordPress.com editor interface without WPRM button")}),o.createElement("p",null,(0,a.f)("One option is to")," ",o.createElement("strong",null,(0,a.f)('type the recipe shortcode as shown under "Other Page Builder"')),"."),o.createElement("p",null,(0,a.f)("Or you can switch back to the")," ",o.createElement("strong",null,(0,a.f)("classic WP Admin interface"))," ",(0,a.f)("through the menu link.")),o.createElement("img",{src:le+"wordpress-com-admin-link.png",alt:(0,a.f)("Menu link to switch back to classic WP Admin")}),o.createElement("p",null,(0,a.f)("Once in the classic interface, follow the")," ",o.createElement("strong",null,(0,a.f)("Classic Editor"))," ",(0,a.f)("instructions above.")))}]}),ue=wprm_admin.wprm_url+"assets/images/faq/creating/",pe=e=>o.createElement("div",{className:"wprm-admin-onboarding-step-creating"},o.createElement("p",null,(0,a.f)("An important thing about WP Recipe Maker is that")," ",o.createElement("strong",null,(0,a.f)("recipes do not exist on their own")),". ",(0,a.f)("You create a recipe and then")," ",o.createElement("strong",null,(0,a.f)("add it to a regular post"))," ",(0,a.f)("on your website.")),o.createElement("p",null,(0,a.f)("The way to add a recipe to a post depends on the editor you use.")),o.createElement("h2",null,(0,a.f)("What editor are you using?")),o.createElement("p",null,(0,a.f)("Click the editor you use on your website to get instructions on how to add a recipe.")),o.createElement(ce,null),o.createElement("h2",null,(0,a.f)("Using the WP Recipe Maker Manage page")),o.createElement("p",null,(0,a.f)("Whatever editor you are using, an easy way to")," ",o.createElement("strong",null,(0,a.f)("create, edit, and manage"))," ",(0,a.f)("your recipes is through")," ",o.createElement("em",null,(0,a.f)("WP Recipe Maker > Manage"))," ",(0,a.f)("which will be available after these onboarding steps.")),o.createElement("p",null,(0,a.f)("On the Manage page, you will find an")," ",o.createElement("strong",null,(0,a.f)("overview of all recipes on your website")),"."),o.createElement("img",{src:ue+"manage-overview.png",alt:(0,a.f)("WP Recipe Maker Manage page overview")}),o.createElement("p",null,(0,a.f)("There is a lot to explore on the Manage page, but for now focus on the")," ",o.createElement("strong",null,(0,a.f)('blue "Create Recipe" button'))," ",(0,a.f)("in the top right. Clicking this creates a new recipe.")),o.createElement("p",null,(0,a.f)("It is worth repeating that")," ",o.createElement("strong",null,(0,a.f)("this new recipe will not be displayed anywhere automatically")),". ",(0,a.f)("It must be added to a post using one of the methods shown above. That post then becomes")," ",o.createElement("strong",null,(0,a.f)("the parent post for the recipe")),"."),o.createElement("p",null,(0,a.f)("Now that you know how to create recipes, it is time to have a look at templates.")));var de=n(77382),fe=n(50116);class he extends o.Component{constructor(e){super(e);let t=!1;wprm_admin_template.templates.hasOwnProperty("meadow")&&(t=wprm_admin_template.templates.meadow),this.state={template:t}}render(){let e=[];return Object.values(wprm_admin_template.templates).forEach((t=>{"recipe"===t.type&&"excerpt"!==t.slug&&"compact-howto"!==t.slug&&e.push(t)})),o.createElement("div",{className:"wprm-admin-onboarding-step-template"},o.createElement("p",null,(0,a.f)("WP Recipe Maker includes a")," ",o.createElement("strong",null,(0,a.f)("full Template Editor to customize the entire look and feel of your recipes"))," ",(0,a.f)("to match your needs. You can access it through the")," ",o.createElement("em",null,(0,a.f)("WP Recipe Maker > Settings"))," ",(0,a.f)("page.")),o.createElement("p",null,(0,a.f)("For now, start by choosing one of our default templates. You can dive deeper into customization later.")),o.createElement("h2",null,(0,a.f)("Select a template for your recipes")),o.createElement("div",{className:"wprm-admin-onboarding-step-template-select"},e.map(((e,t)=>{let n="wprm-manage-templates-template";return n+=!1!==this.state.template&&this.state.template.slug===e.slug?" wprm-manage-templates-template-selected":"",n+=e.premium&&!wprm_admin.addons.premium?" wprm-manage-templates-template-premium":"",o.createElement("div",{key:t,className:n,onClick:()=>{this.setState({template:e})}},e.name)}))),o.createElement("div",{className:"wprm-admin-onboarding-step-template-preview"},!1!==this.state.template&&o.createElement(o.Fragment,null,this.state.template.premium&&!wprm_admin.addons.premium&&o.createElement("p",{style:{color:"darkred",textAlign:"center"}},(0,a.f)("You need")," ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("WP Recipe Maker Premium"))," ",(0,a.f)("to use this template.")),o.createElement(de.A,{template:this.state.template,mode:"onboarding",onChangeMode:()=>{},onChangeHTML:()=>{}}))),o.createElement("div",{className:"footer-buttons"},o.createElement("button",{type:"button",className:"button button-secondary button-compact",id:"prev-button",onClick:()=>{this.props.jumpToStep(1)}},(0,a.f)("Previous")),o.createElement("button",{type:"button",className:"button button-primary button-compact",id:"next-button",onClick:()=>{this.state.template?this.state.template.premium&&!wprm_admin.addons.premium?alert((0,a.f)("This template is only available in WP Recipe Maker Premium.")):(fe.A.settings.save({recipe_template_mode:"modern",default_recipe_template_modern:this.state.template.slug}),this.props.jumpToStep(3)):alert((0,a.f)("Please select a template above."))}},(0,a.f)("Use the above template"))))}}class me extends o.Component{constructor(e){super(e);let t=!1;wprm_admin_template.templates.hasOwnProperty("snippet-basic-buttons")&&(t=wprm_admin_template.templates["snippet-basic-buttons"]),this.state={template:t}}render(){let e=[];return Object.values(wprm_admin_template.templates).forEach((t=>{"snippet"===t.type&&e.push(t)})),o.createElement("div",{className:"wprm-admin-onboarding-step-snippet"},o.createElement("p",null,(0,a.f)("Most people have content before the actual recipe, often with extra information, story, or ads in between. You want visitors to read this, but if they are in a hurry you can still")," ",o.createElement("strong",null,(0,a.f)("give them the option to jump directly to the recipe")),"."),o.createElement("p",null,(0,a.f)('That is where the Recipe Snippets feature comes in. Snippets usually contain "Jump to Recipe" and "Print Recipe" buttons, but can include any fields you want. Have a look at the')," ",o.createElement("em",null,(0,a.f)("Snippet Summary"))," ",(0,a.f)("template below.")),o.createElement("p",null,(0,a.f)("These snippets are also")," ",o.createElement("strong",null,(0,a.f)("fully customizable in the Template Editor")),". ",(0,a.f)("You can change colors, text, and add more information later.")),o.createElement("h2",null,(0,a.f)("Select a snippet template")),o.createElement("div",{className:"wprm-admin-onboarding-step-template-select"},e.map(((e,t)=>{let n="wprm-manage-templates-template";return n+=!1!==this.state.template&&this.state.template.slug===e.slug?" wprm-manage-templates-template-selected":"",n+=e.premium&&!wprm_admin.addons.premium?" wprm-manage-templates-template-premium":"",o.createElement("div",{key:t,className:n,onClick:()=>{this.setState({template:e})}},e.name)}))),o.createElement("div",{className:"wprm-admin-onboarding-step-template-preview"},!1!==this.state.template&&o.createElement(o.Fragment,null,this.state.template.premium&&!wprm_admin.addons.premium&&o.createElement("p",{style:{color:"darkred",textAlign:"center"}},(0,a.f)("You need")," ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("WP Recipe Maker Premium"))," ",(0,a.f)("to use this template.")),o.createElement(de.A,{template:this.state.template,mode:"onboarding",onChangeMode:()=>{},onChangeHTML:()=>{}}),o.createElement("p",null,(0,a.f)("This would be the start of your regular post content, so the snippet appears right at the top of your post.")))),o.createElement("div",{className:"footer-buttons"},o.createElement("button",{type:"button",className:"button button-secondary button-compact",id:"prev-button",onClick:()=>{this.props.jumpToStep(2)}},(0,a.f)("Previous")),o.createElement("button",{type:"button",className:"button button-primary button-compact",id:"skip-button",onClick:()=>{this.props.jumpToStep(4)}},(0,a.f)("Do not enable snippets right now")),o.createElement("button",{type:"button",className:"button button-primary button-compact",id:"next-button",onClick:()=>{this.state.template?this.state.template.premium&&!wprm_admin.addons.premium?alert((0,a.f)("This template is only available in WP Recipe Maker Premium.")):(fe.A.settings.save({recipe_snippets_automatically_add_modern:!0,recipe_snippets_template:this.state.template.slug}),this.props.jumpToStep(4)):alert((0,a.f)("Please select a template above."))}},(0,a.f)("Use the above snippet template"))))}}const ge=()=>o.createElement(se,{items:[{header:(0,a.f)("Increase engagement with interactive recipe actions"),content:o.createElement(o.Fragment,null,o.createElement("p",null,(0,a.f)("WP Recipe Maker supports several engagement-focused features such as ratings, print buttons, share options, and save-to-collection actions.")),o.createElement("p",null,(0,a.f)("A quick way to discover these opportunities is the Feature Explorer in the Template Editor.")),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/docs/wp-recipe-maker/user-ratings/",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("User Ratings"))),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/docs/wp-recipe-maker/print-recipes/",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("Print Recipes"))),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/docs/wp-recipe-maker/share-options-popup/",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("Share Options Popup")))))},{header:(0,a.f)("Earn affiliate income with ingredient and equipment links"),content:o.createElement(o.Fragment,null,!wprm_admin.addons.premium&&o.createElement("p",{style:{color:"darkred"}},(0,a.f)("This feature is available in")," ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("WP Recipe Maker Premium")),"."),o.createElement("p",null,(0,a.f)("Ingredient and equipment links are perfect for affiliate marketing: set the link once and it will automatically be displayed whenever you use that ingredient or equipment item in a recipe.")),o.createElement("p",null,(0,a.f)("For equipment, you can also add an image to improve click-through rates.")),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/29-ingredient-links",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("Learn about ingredient links"))),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/193-equipment-links",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("Learn about equipment links"))),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/203-equipment-images",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("Adding equipment images")))))},{header:(0,a.f)("Calculating and adding nutrition facts to your recipes"),content:o.createElement(o.Fragment,null,!wprm_admin.addons.pro&&o.createElement("p",{style:{color:"darkred"}},(0,a.f)("This feature is available in")," ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("WP Recipe Maker Premium - Pro Bundle")),"."),o.createElement("p",null,(0,a.f)("Provide visitors with complete recipe details by including a full nutrition label. With the Pro Bundle, we can even")," ",o.createElement("strong",null,(0,a.f)("help calculate these nutrition facts for you")),"."),o.createElement("p",null,(0,a.f)("You have full control over displayed values and can even")," ",o.createElement("strong",null,(0,a.f)("create custom and calculated nutrients"))," ",(0,a.f)("for fields like Net Carbs.")),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/22-nutrition-label",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("Nutrition Label"))),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/21-nutrition-facts-calculation",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("Calculating Nutrition Facts"))),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/199-custom-and-calculated-nutrients",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("Custom and Calculated Nutrients")))))},{header:(0,a.f)("Reach an international audience with US and Metric units"),content:o.createElement(o.Fragment,null,!wprm_admin.addons.pro&&o.createElement("p",{style:{color:"darkred"}},(0,a.f)("This feature is available in")," ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("WP Recipe Maker Premium - Pro Bundle")),"."),o.createElement("p",null,(0,a.f)("Some visitors might struggle with recipes because they do not use the units you write in. Not everyone is familiar with cups or grams, for example.")),o.createElement("p",null,(0,a.f)("Unit conversion allows you to")," ",o.createElement("strong",null,(0,a.f)("offer both unit systems"))," ",(0,a.f)("and let visitors switch between them. We integrate with an API that helps calculate conversion values.")),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/18-unit-conversion",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("Setting up the Unit Conversion feature")))))},{header:(0,a.f)("Set up meal planning with Recipe Collections"),content:o.createElement(o.Fragment,null,!wprm_admin.addons.elite&&o.createElement("p",{style:{color:"darkred"}},(0,a.f)("This feature is available in")," ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("WP Recipe Maker Premium - Elite Bundle")),"."),o.createElement("p",null,(0,a.f)("Recipe Collections allow visitors to")," ",o.createElement("strong",null,(0,a.f)("save recipes on your site in their own collections and generate shopping lists")),". ",(0,a.f)("This can be used for favorites, meal planning, and more.")),o.createElement("p",null,(0,a.f)("As the site owner, you can also")," ",o.createElement("strong",null,(0,a.f)("create your own saved collections to present to users")),". ",(0,a.f)("These can include recipes and individual ingredients, and you can even total nutrition facts across recipes.")),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/148-recipe-collections",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("Learn more about Recipe Collections"))),o.createElement("li",null,o.createElement("a",{href:"https://demo.wprecipemaker.com/saved-recipe-collection/",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("See a Saved Recipe Collection in action")))))}]}),be=e=>{const t=e.anchorId?e.anchorId:"wprm-faq-email-signup";return o.createElement("div",{id:t,className:"wprm-faq-signup-form"},o.createElement("p",null,(0,a.f)("We built an email course full of")," ",o.createElement("strong",null,(0,a.f)("tips and tricks"))," ",(0,a.f)("to help you get the most out of WP Recipe Maker.")),o.createElement("p",null,(0,a.f)("During the course, you will get introduced to a")," ",o.createElement("strong",null,(0,a.f)("private Facebook group"))," ",(0,a.f)("with fellow food bloggers and we will even")," ",o.createElement("strong",null,(0,a.f)("help promote your recipes on social media"))," ",(0,a.f)("for free.")),o.createElement("form",{action:"https://www.getdrip.com/forms/917801565/submissions",method:"post",className:"wprm-drip-form","data-drip-embedded-form":"917801565",target:"_blank"},o.createElement("div",null,o.createElement("div",null,o.createElement("label",{htmlFor:"drip-email"},(0,a.f)("Email Address")),o.createElement("br",null),o.createElement("input",{type:"email",id:"drip-email",name:"fields[email]",defaultValue:wprm_faq.user.email}),o.createElement("input",{type:"hidden",id:"drip-customer-website",name:"fields[customer_website]",value:wprm_faq.user.website})),o.createElement("div",null,o.createElement("input",{type:"hidden",name:"fields[eu_consent]",id:"drip-eu-consent-denied",value:"denied"}),o.createElement("input",{type:"checkbox",name:"fields[eu_consent]",id:"drip-eu-consent",value:"granted"}),o.createElement("label",{htmlFor:"drip-eu-consent"},(0,a.f)("I understand and agree to the")," ",o.createElement("a",{href:"https://www.iubenda.com/privacy-policy/82708778",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("privacy policy")))),o.createElement("div",null,o.createElement("input",{type:"hidden",name:"fields[eu_consent_message]",value:(0,a.f)("I understand and agree to the privacy policy (https://www.iubenda.com/privacy-policy/82708778)")}))),o.createElement("div",null,o.createElement("input",{type:"submit",name:"submit",value:(0,a.f)("Help me get the most out of WP Recipe Maker!"),className:"button button-primary button-compact","data-drip-attribute":"sign-up-button"}))))},ve=wprm_admin.wprm_url+"assets/images/faq/getting-started/",ye=e=>o.createElement(se,{items:[{header:(0,a.f)("Using WPRM in a different language (or multilingual site)"),content:o.createElement(o.Fragment,null,o.createElement("p",null,(0,a.f)("We follow WordPress standards to make sure all text in WP Recipe Maker can be translated to fit your needs. Learn more here:")),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/128-translating-text-in-the-plugin",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("Translating any text in WP Recipe Maker"))),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/132-how-to-use-this-for-a-multilingual-blog",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("Using WPRM on a multilingual website")))))},{header:(0,a.f)("Importing recipes from another plugin"),content:o.createElement(o.Fragment,null,o.createElement("p",null,(0,a.f)("Already have recipes on your website that were created in a different plugin? There is a good chance we can import them for you. If there are recipes we can import, you will find them on")," ",o.createElement("em",null,(0,a.f)("WP Recipe Maker > Import Recipes")),"."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/69-importing-recipes-from-other-plugins",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("All the plugins we can import from"))),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/86-custom-recipe-importer",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("Develop your own recipe importer")))))},{header:(0,a.f)("Adding recipes from Word, Google Docs, ..."),content:o.createElement(o.Fragment,null,o.createElement("p",null,(0,a.f)("If you already have your recipes in another document, filling in all the individual fields can be a bit tedious. Use our")," ",o.createElement("strong",null,(0,a.f)("import recipe from text feature"))," ",(0,a.f)("to paste in that recipe entirely and speed up the process.")),o.createElement("p",null,(0,a.f)("The field to paste in the recipe can be found after scrolling all the way up in the recipe modal:")),o.createElement("img",{src:ve+"import-from-text.png",alt:(0,a.f)("Import from text field in the recipe modal")}),o.createElement("p",null,(0,a.f)("This will open a new modal where you can follow the steps to import.")),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/70-import-recipe-from-text",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("Learn more about the import recipe from text feature")))))},{header:(0,a.f)("Recipe metadata and SEO"),content:o.createElement(o.Fragment,null,o.createElement("p",null,(0,a.f)("An important reason for using a recipe plugin is to have it")," ",o.createElement("strong",null,(0,a.f)("automatically add the recipe metadata that Google wants to see")),"."),o.createElement("p",null,(0,a.f)("WP Recipe Maker can only add that metadata if you actually fill in all the relevant fields. To verify this, check the SEO column on")," ",o.createElement("em",null,(0,a.f)("WP Recipe Maker > Manage"))," ",(0,a.f)("and make sure you")," ",o.createElement("strong",null,(0,a.f)("get a green light there")),"."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/51-recipe-metadata-for-seo",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("Learn more about Recipe Metadata for SEO"))),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/74-recipe-metadata-checker",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("Using the Recipe Metadata Checker")))))},{header:(0,a.f)("Using the Template Editor"),content:o.createElement(o.Fragment,null,o.createElement("p",null,(0,a.f)("Everyone is unique, so we want you to be able to")," ",o.createElement("strong",null,(0,a.f)("completely change the recipe template to your liking")),". ",(0,a.f)("Not everyone has the budget for a completely custom-coded template, so that is what the Template Editor is for.")),o.createElement("p",null,(0,a.f)("With a bit of learning, most users can add or remove parts of the recipe card, change labels and colors, and add custom text. The Template Editor can be accessed through")," ",o.createElement("em",null,(0,a.f)("WP Recipe Maker > Settings")),"."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/118-template-editor-101",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("Go through the Template Editor 101 documentation first"))),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/category/25-template-editor-faq",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("Learn more in these Template Editor FAQs")))))},{header:(0,a.f)("WPRM for recipe roundup posts"),content:o.createElement(o.Fragment,null,o.createElement("p",null,(0,a.f)('WP Recipe Maker can also be used for recipe roundup posts (for example "Easy Valentine\'s Day Menu" or "10 Scary Halloween Recipes"),')," ",o.createElement("strong",null,(0,a.f)("linking to both recipes on your own website and external websites")),"."),o.createElement("p",null,(0,a.f)("A great reason to use WPRM for these posts is that it automatically includes the")," ",o.createElement("strong",null,(0,a.f)("ItemList metadata Google needs for carousel display")),"."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/182-itemlist-metadata-for-recipe-roundup-posts",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("Learn about the recipe roundup feature")))))}]}),we=()=>o.createElement(se,{items:[{header:(0,a.f)("My recipe is not visible on the post"),content:o.createElement(o.Fragment,null,o.createElement("p",null,(0,a.f)("Recipes need to be inserted into post content (or via shortcode/module in your page builder). Creating a recipe in Manage does not display it automatically.")),o.createElement("p",null,(0,a.f)("If the recipe still does not appear, clear your cache (plugin/server/CDN) and verify that the post actually contains the recipe block or shortcode.")))},{header:(0,a.f)("The SEO/metadata indicator is not green"),content:o.createElement(o.Fragment,null,o.createElement("p",null,(0,a.f)("Use the SEO column on the Manage page to spot missing metadata fields. Most issues are caused by incomplete required recipe fields.")),o.createElement("p",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/74-recipe-metadata-checker",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("Open the Recipe Metadata Checker guide"))))},{header:(0,a.f)("Editor and insertion options do not match what I see in the docs"),content:o.createElement(o.Fragment,null,o.createElement("p",null,(0,a.f)("WP Recipe Maker supports different workflows for Block Editor, Classic Editor, Elementor, Divi, and shortcode-based builders. Make sure you are following the instructions for your exact editor.")),o.createElement("p",null,(0,a.f)("If needed, open the Feature Explorer and demo site to compare expected output with your setup.")))},{header:(0,a.f)("Cache or optimization plugins cause stale output"),content:o.createElement(o.Fragment,null,o.createElement("p",null,(0,a.f)("After template or settings changes, clear all caches: page cache, object cache, CDN cache, and any optimization plugin cache (including minified JS/CSS bundles).")),o.createElement("p",null,(0,a.f)("If behavior differs between logged-in and logged-out users, this is often a cache layer issue.")))},{header:(0,a.f)("How to contact support effectively"),content:o.createElement(o.Fragment,null,o.createElement("p",null,(0,a.f)("Use the blue question mark in the bottom-right corner or email support@bootstrapped.ventures.")),o.createElement("p",null,(0,a.f)("To speed things up, include your site URL, screenshots, exact steps to reproduce, and links to affected posts.")))}]}),Ie=()=>{const e=!!wprm_faq.can_access_template_editor,t="wprm-faq-email-signup",n=()=>o.createElement("div",{className:"wprm-faq-signup-reminder"},o.createElement("h3",null,(0,a.f)("Want more WP Recipe Maker tips?")),o.createElement("p",null,(0,a.f)("Join our email course for practical setup tips, feature walkthroughs, and proven ways to get more out of WP Recipe Maker.")),o.createElement("a",{href:`#${t}`,className:"button button-primary button-compact"},(0,a.f)("Sign up for the email course")));return o.createElement("div",{id:"wprm-admin-faq-container"},o.createElement("h1",null,(0,a.f)("Get the most out of WP Recipe Maker")),o.createElement("p",null,(0,a.f)("This page helps you get results faster with guided setup tips, feature walkthroughs, and direct support resources.")),o.createElement(be,{anchorId:t}),o.createElement("h2",null,(0,a.f)("Demo, Documentation & Support")),e?o.createElement("p",null,(0,a.f)("See how WP Recipe Maker features look and work together by browsing the demo site or using the built-in Feature Explorer, then jump to the docs for anything you want to enable next.")):o.createElement("p",null,(0,a.f)("See how WP Recipe Maker features look and work together by browsing the demo site, then jump to the docs for anything you want to enable next.")),o.createElement("div",{className:"wprm-faq-feature-explorer-buttons"},e&&o.createElement("a",{href:wprm_faq.template_editor_feature_explorer_url,className:"button button-primary button-compact"},(0,a.f)("Open Feature Explorer")),o.createElement("a",{href:"https://demo.wprecipemaker.com",target:"_blank",rel:"noopener noreferrer",className:"button button-secondary button-compact"},(0,a.f)("Visit the demo site")),o.createElement("a",{href:"https://help.bootstrapped.ventures/docs/wp-recipe-maker/",target:"_blank",rel:"noopener noreferrer",className:"button button-secondary button-compact"},(0,a.f)("Browse documentation"))),o.createElement("p",null,(0,a.f)("Need more help? Use the blue question mark in the bottom-right corner or email support@bootstrapped.ventures directly. We answer all tickets within 24 hours, usually much faster.")),o.createElement("h3",null,(0,a.f)("Explainer Videos")),o.createElement("p",null,(0,a.f)("Prefer video tutorials? Start with our introduction and then explore videos on specific topics.")," "," ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/videos/",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("WP Recipe Maker Explainer Videos")),"."),o.createElement("div",{className:"wprm-faq-video-embed"},o.createElement("iframe",{src:"https://www.loom.com/embed/9f268e92cc064be9a45580a46fc84084",title:(0,a.f)("Introduction to WP Recipe Maker video"),allow:"fullscreen",allowFullScreen:!0})),o.createElement("h2",null,(0,a.f)("Frequently Asked Questions")),o.createElement("p",null,(0,a.f)("Click a section below to expand detailed guidance.")),o.createElement("h3",null,(0,a.f)("Getting started with WP Recipe Maker")),o.createElement(ye,null),o.createElement("h3",null,(0,a.f)("Adding recipes in different editors")),o.createElement(ce,null),o.createElement("h3",null,(0,a.f)("Advanced WPRM usage")),o.createElement(ge,null),o.createElement("h3",null,(0,a.f)("Troubleshooting")),o.createElement(we,null),o.createElement("p",null,(0,a.f)("Need more? Visit the")," "," ",o.createElement("a",{href:"https://help.bootstrapped.ventures/collection/1-wp-recipe-maker",target:"_blank",rel:"noopener noreferrer"},(0,a.f)("WP Recipe Maker Knowledge Base")),"."),o.createElement(n,null))},xe=e=>o.createElement("div",{className:"wprm-admin-onboarding-step-next"},o.createElement("p",null,(0,a.f)("You made it to the end of onboarding. There is still a lot to explore, but we recommend starting by creating a recipe now. And do not forget to")," ",o.createElement("strong",null,(0,a.f)("sign up for the email course"))," ",(0,a.f)("below to get the most out of this plugin.")),o.createElement("p",null,(0,a.f)("No need to worry about leaving this page. The information below is always available on")," ",o.createElement("em",null,(0,a.f)("WP Recipe Maker > FAQ & Support")),"."),o.createElement(Ie,{context:"onboarding"}),o.createElement("div",{className:"footer-buttons"},o.createElement("a",{href:wprm_admin.manage_url+"&skip_onboarding=1",className:"button button-primary button-compact"},(0,a.f)("Continue to the Manage page")))),Ee=[{name:(0,a.f)("Welcome"),component:o.createElement(s,null)},{name:(0,a.f)("Creating Recipes"),component:o.createElement(pe,null)},{name:(0,a.f)("Template"),component:o.createElement(he,null)},{name:(0,a.f)("Snippets"),component:o.createElement(me,null)},{name:(0,a.f)("Next Steps"),component:o.createElement(xe,null)}];var Se=n(44141);class Me extends o.Component{render(){return wprm_faq.onboarded?o.createElement(Ie,{context:"faq_page"}):o.createElement(o.Fragment,null,o.createElement("h1",null,"WP Recipe Maker"),o.createElement("div",{id:"wprm-admin-onboarding-steps"},o.createElement(i.A,{steps:Ee,stepsNavigation:!1,prevBtnOnLastStep:!1,backButtonCls:"button button-secondary button-compact",nextButtonCls:"button button-primary button-compact",onStepChange:e=>{e===Ee.length-1&&Se.A.call("wprm_finished_onboarding")}})))}}let ke=document.getElementById("wprm-admin-faq");if(ke){(0,r.H)(ke).render(o.createElement(Me,null))}},67543:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(80942);const o={selectImage(e){this.select("image",e)},selectVideo(e){this.select("video",e)},select(e,t){let n={title:(0,r.f)("Select Media"),button:{text:(0,r.f)("Select")},multiple:!1};"video"===e?(n.frame="video",n.state="video-details"):n.library={type:"image"};let o=wp.media(n);o.on("select",(function(){var e=o.state().get("selection").first().toJSON();t(e)})),o.on("update",(function(){let e=o.state().media.attachment;e&&t(e)})),o.open()}}},1123:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(70968);const{shortcodeGroups:o,getShortcodeId:i}=r.A,a={icon_color:["icon"],header_icon_color:["header_icon"],link_icon_color:["link_icon"],cook_mode_icon_color:["cook_mode_icon"],products_icon_color:["products_icon"],header_collapsible_icon_color:["header_icon_collapsed","header_icon_expanded"],container_icon_color:["container_icon_collapsed","container_icon_expanded"]},s={parseCSS(e){if(!e.style||!e.style.css)return e.css||"";let t=e.style.css;if(e.style.properties)for(let n of Object.values(e.style.properties)){let e="";Object.entries(n).forEach((([t,n])=>{["id","name","default","value","options"].includes(t)||(e=` ${t}=${n}`)}));const r=`${n.value}; /*wprm_${n.id}${e}*/`;t=t.replace(new RegExp(`%wprm_${n.id}%s*;`,"g"),r)}return t},getShortcodeName(e){for(const n in o){const t=o[n].shortcodes.find((t=>i(t)===e));if(t&&t.name)return t.name}let t=e;return t=t.replace("wprm-layout-",""),t=t.replace("wprm-recipe-",""),t=t.replace("wprm-",""),t=t.replace(/-/g," "),t=t.toLowerCase().replace(/\b[a-z]/g,(function(e){return e.toUpperCase()})),t},getShortcodeAttributes(e){let t={},n=e.match(/(\w+=\"[^\"]*?\"|\w+=\'[^\']*?\'|\w+=\w*)/gim);if(n)for(let r=0;r<n.length;r++){let e=n[r],o=e.substring(0,e.indexOf("=")),i=e.substring(e.indexOf("=")+1);'"'!==i[0]&&"'"!==i[0]||(i=i.substr(1,i.length-2)),t[o]=i}return t},getFullShortcode(e,t=!1){let n="["+e.id;for(let r in e.attributes)if(e.attributes.hasOwnProperty(r)){let t=e.attributes[r];t=t.replace(/"/gm,"""),t=t.replace(/\]/gm,"]"),n+=" "+r+'="'+t+'"'}return n+="]",t&&!1!==e.content&&(n+=e.content,n+="[/"+e.id+"]"),n},dependencyMet(e,t){let n=!0;if(t&&e.hasOwnProperty("dependency")){let r=e.dependency;Array.isArray(r)||(r=[r]);const o=e.hasOwnProperty("dependency_compare")?e.dependency_compare:"AND";let i=!0;for(let e of r)if(t.hasOwnProperty(e.id)){let r=!1;const a=t[e.id].value,s=e.hasOwnProperty("type")?e.type:"match";"inverse"==s?Array.isArray(e.value)?e.value.includes(a)||(r=!0):a!=e.value&&(r=!0):"includes"==s?a.includes(e.value)&&(r=!0):Array.isArray(e.value)?e.value.includes(a)&&(r=!0):a==e.value&&(r=!0),"OR"===o?(i&&(n=!1,i=!1),n=n||r):n=n&&r}}return n},isKeywordColorIcon:e=>!(!e||"string"!=typeof e)&&!(!wprm_admin_template.icons.hasOwnProperty(e)||!e.toLowerCase().endsWith("-color")),shouldHideColorProperty(e,t){if(!e||"color"!==e.type||!t)return!1;const n=a[e.id];return!!n&&n.every((e=>!!t.hasOwnProperty(e)&&this.isKeywordColorIcon(t[e].value)))}}},63224:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(77810),o=n(55494),i=n(58783);const a={manage:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBmaWxsPSIjMTExMTExIj48cmVjdCB4PSIxLjUiIHk9IjAuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1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bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwb2x5bGluZSBwb2ludHM9IjMuNSw2LjUgOCwxMSAxMi41LDYuNSAiPjwvcG9seWxpbmU+PC9nPjwvc3ZnPg=="},s=e=>{let t=!!a.hasOwnProperty(e.type)&&a[e.type];if(!t)return r.createElement("span",{className:"wprm-template-noicon"}," ");const n=e.onClick?"wprm-template-icon wprm-template-icon-clickable":"wprm-template-icon",s=r.createElement("span",{className:n,onClick:e.onClick},r.createElement(o.A,{src:t}));return e.title?r.createElement(i.A,{content:e.title,placement:"top"},s):s}},63165:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r=[{id:"wprm-layout-container",description:"Generic layout container to wrap other elements."},{id:"wprm-layout-column-container",description:"Container that holds multiple columns. Add first to create a column container, then add columns inside of it."},{id:"wprm-layout-column",description:"Single column to add inside of a column container."}],o={layoutElements:r.map((({id:e})=>e)),layoutElementDescriptions:r.reduce(((e,{id:t,description:n})=>(e[t]=n||"",e)),{}),propertiesForElement:{container:["float","align","padding","background-color","text-color","custom"],"column-container":["vertical-align","column-gap","column-mobile","column-mobile-reverse","row-gap","custom"],column:["column-width","align","align-rows","padding","background-color","text-color","custom"]},potentialProperties:{"text-color":{name:"Text Color",type:"color",styleToValue:e=>{for(let t=0;t<e.length;t++)if(e[t].startsWith("text-color: "))return e[t].replace("text-color: ","");return"inherit"},valueToStyle:e=>"inherit"===e?[]:["text-color: "+e]},"background-color":{name:"Background Color",type:"color",styleToValue:e=>{for(let t=0;t<e.length;t++)if(e[t].startsWith("background-color: "))return e[t].replace("background-color: ","");return"inherit"},valueToStyle:e=>"inherit"===e?[]:["background-color: "+e]},float:{name:"Float",type:"dropdown",options:{none:"None",left:"Float Left",right:"Float Right"},classesToValue:e=>e.includes("wprm-container-float-left")?"left":e.includes("wprm-container-float-right")?"right":"none",valueToClasses:e=>"none"===e?[]:["wprm-container-float-"+e]},"vertical-align":{name:"Vertical Align",type:"dropdown",options:{top:"Top",middle:"Middle",bottom:"Bottom"},classesToValue:e=>e.includes("wprm-align-middle")?"middle":e.includes("wprm-align-bottom")?"bottom":"top",valueToClasses:e=>"top"===e?[]:["wprm-align-"+e]},align:{name:"Text Align",type:"dropdown",options:{left:"Left",center:"Center",right:"Right"},classesToValue:e=>e.includes("wprm-align-center")?"center":e.includes("wprm-align-right")?"right":"left",valueToClasses:e=>"left"===e?[]:["wprm-align-"+e]},"align-rows":{name:"Text Align (switched to rows)",type:"dropdown",options:{default:"Same as default",left:"Left",center:"Center",right:"Right"},classesToValue:e=>e.includes("wprm-align-rows-left")?"left":e.includes("wprm-align-rows-center")?"center":e.includes("wprm-align-rows-right")?"right":"default",valueToClasses:e=>"default"===e?[]:["wprm-align-rows-"+e]},padding:{name:"Padding",type:"dropdown",options:{none:"None",5:"5px",10:"10px",20:"20px",30:"30px",40:"40px",50:"50px"},classesToValue:e=>{const t=e.find((e=>e.startsWith("wprm-padding-")));return t?t.replace("wprm-padding-",""):"none"},valueToClasses:e=>"none"===e?[]:["wprm-padding-"+e]},"column-mobile":{name:"Switch to Rows",type:"dropdown",options:{never:"Never",mobile:"On Mobile (480px screen width)",tablet:"On Tablet (768px screen width)","recipe-900":"At 900px recipe card width","recipe-800":"At 800px recipe card width","recipe-700":"At 700px recipe card width","recipe-600":"At 600px recipe card width","recipe-500":"At 500px recipe card width","recipe-400":"At 400px recipe card width"},classesToValue:e=>{const t=e.find((e=>e.startsWith("wprm-column-rows-")));return t?t.replace("wprm-column-rows-",""):"mobile"},valueToClasses:e=>"mobile"===e?[]:["wprm-column-rows-"+e]},"column-mobile-reverse":{name:"Reverse Order on Switch",type:"toggle",classesToValue:e=>e.includes("wprm-column-rows-reverse")?"1":"0",valueToClasses:e=>"1"===e?["wprm-column-rows-reverse"]:[]},"column-gap":{name:"Column Gap",type:"dropdown",options:{none:"None",5:"5px",10:"10px",20:"20px",30:"30px",40:"40px",50:"50px"},classesToValue:e=>{const t=e.find((e=>e.startsWith("wprm-column-gap-")));return t?t.replace("wprm-column-gap-",""):"none"},valueToClasses:e=>"none"===e?[]:["wprm-column-gap-"+e]},"row-gap":{name:"Row Gap",type:"dropdown",options:{none:"None",5:"5px",10:"10px",20:"20px",30:"30px",40:"40px",50:"50px"},classesToValue:e=>{const t=e.find((e=>e.startsWith("wprm-row-gap-")));return t?t.replace("wprm-row-gap-",""):"none"},valueToClasses:e=>"none"===e?[]:["wprm-row-gap-"+e]},"column-width":{name:"Column Width",type:"dropdown",options:{auto:"Auto",20:"20%",25:"25%",40:"40%",33:"33.33%",50:"50%",60:"60%",66:"66.66%",75:"75%",80:"80%"},classesToValue:e=>{const t=e.find((e=>e.startsWith("wprm-column-width-")));return t?t.replace("wprm-column-width-",""):"auto"},valueToClasses:e=>"auto"===e?[]:["wprm-column-width-"+e]},custom:{name:"Custom Class",help:"Should not start with wprm-",type:"text",classesToValue:e=>e.filter((e=>!e.startsWith("wprm-"))).join(" "),valueToClasses:e=>{let t=e.replace(/[^a-zA-Z0-9-_]/g,"");return t?[t]:[]}}}}},70968:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(63165);const o=["wprm-recipe-my-emissions-label"],i=e=>"string"==typeof e?e:e.id,a={layout:{group:"Layout",description:"Layout blocks help structure and organize your template with spacing and containers.",shortcodes:[{id:"wprm-spacer",description:"Add vertical spacing between blocks"},{id:"wprm-expandable",description:"Create a collapsible section that can be expanded/collapsed"},...r.A.layoutElements.map((e=>({id:e,description:r.A.layoutElementDescriptions[e]||""}))),{id:"wprm-recipe-meta-container",description:"A container that displays multiple recipe fields (cooking times, servings, tags, ...) in different styles"}]},general:{group:"General",description:"General purpose blocks for adding custom content, links, images, and other elements. These are fixed blocks that will look the same on all recipes and do not have any recipe-specific content.",shortcodes:[{id:"wprm-text",description:"Display custom text content"},{id:"wprm-link",description:"Add a clickable link"},{id:"wprm-qr-code",name:"QR Code",description:"Display a QR code for the recipe"},{id:"wprm-image",description:"Display a custom image"},{id:"wprm-tip",description:"Display a styled tip callout with optional icon and accent color"},{id:"wprm-recipe-jump-to-section",description:"Add a link that jumps to a specific section"},{id:"wprm-call-to-action",description:"Display a call-to-action button or link"},{id:"wprm-icon",description:"Display an icon"}]},recipe:{group:"Recipe Fields",description:"Display specific recipe information like name, ingredients, instructions, and metadata.",shortcodes:[{id:"wprm-recipe-name",description:"Display the recipe name/title"},{id:"wprm-recipe-image",description:"Display the recipe featured image"},{id:"wprm-recipe-rating",description:"Display the recipe rating (stars)"},{id:"wprm-recipe-date",description:"Display when the recipe was published"},{id:"wprm-recipe-author",description:"Display the recipe author name"},{id:"wprm-recipe-author-bio",description:"Display the recipe author biography"},{id:"wprm-recipe-summary",description:"Display the recipe summary/description"},{id:"wprm-recipe-tag",description:"Display recipe tags like course, cuisine, diet, ..."},{id:"wprm-recipe-time",description:"Display prep, cook, or total time"},{id:"wprm-recipe-cost",description:"Display the recipe cost"},{id:"wprm-recipe-servings",description:"Display the number of servings"},{id:"wprm-recipe-servings-unit",description:"Display the servings unit"},{id:"wprm-recipe-equipment",description:"Display required equipment"},{id:"wprm-recipe-ingredients",description:"Display the ingredients list"},{id:"wprm-recipe-instructions",description:"Display the cooking instructions"},{id:"wprm-recipe-video",description:"Display the recipe video"},{id:"wprm-recipe-notes",description:"Display recipe notes"},{id:"wprm-nutrition-label",description:"Display nutrition information label"},{id:"wprm-recipe-nutrition",description:"Display nutrition information"},{id:"wprm-recipe-url",description:"Display the recipe URL"},{id:"wprm-recipe-custom-field",description:"Display the value of one of your custom fields"}]},roundup:{group:"Recipe Roundup Fields",description:"Blocks designed specifically for recipe roundup templates, used in roundup posts that list multiple recipes.",shortcodes:[{id:"wprm-recipe-counter",description:"Counter that displays the current recipe number in a roundup list"},{id:"wprm-recipe-roundup-link",description:"Link to the full recipe in a roundup"},{id:"wprm-recipe-roundup-credit",description:"Display the recipe credit as set for an external roundup recipe item"}]},snippet:{group:"Recipe Snippet Fields",description:"Blocks designed specifically for recipe snippet templates, used for the snippet at the start of the post content that usually allow visitors to quickly jump to the recipe card.",shortcodes:[{id:"wprm-recipe-jump",description:"A button to jump to the recipe cart"},{id:"wprm-recipe-jump-to-comments",description:"A button to jump to the comments section"},{id:"wprm-recipe-jump-video",description:"A button to jump to the recipe video"}]},interaction:{group:"Recipe Interactions",description:"Interactive elements that allow users to adjust servings, convert units, and more.",shortcodes:[{id:"wprm-recipe-add-to-collection",description:"Button to add recipe to the Recipe Collections feature"},{id:"wprm-recipe-add-to-shopping-list",description:"Button to add ingredients to the Quick Access Shopping List feature"},{id:"wprm-recipe-favorite",description:"Button to add or remove a recipe from the visitor favorites list"},{id:"wprm-recipe-add-products-to-cart",description:"Button to add products to a shopping cart, when running an eCommerce store on your own site"},{id:"wprm-recipe-adjustable-servings",description:"Allow users to adjust serving size"},{id:"wprm-recipe-advanced-adjustable-servings",description:"Advanced serving size adjustment for baking"},{id:"wprm-recipe-unit-conversion",description:"Convert between different ingredient unit systems"},{id:"wprm-recipe-media-toggle",description:"Toggle to show or hide images and videos in the instructions"},{id:"wprm-recipe-cook-mode",description:"Open a cook mode popup modal with step-by-step instructions"},{id:"wprm-prevent-sleep",description:"Prevent device from sleeping while viewing recipe"},{id:"wprm-recipe-print",description:"Print button for the recipe"},{id:"wprm-recipe-download-pdf",name:"Download PDF",description:"Download a PDF version of the recipe"},{id:"wprm-recipe-user-ratings-modal",description:"Modal for users to rate the recipe"},{id:"wprm-private-notes",description:"Allow visitors to add their own private notes about the recipe"}]},sharing:{group:"Recipe Sharing",description:"Social sharing buttons and options for users to share recipes.",shortcodes:[{id:"wprm-recipe-share-options-popup",description:"Popup that can show multiple different sharing options"},{id:"wprm-recipe-email-share",name:"Email",description:"Share recipe via email"},{id:"wprm-recipe-text-share",name:"Text Message",description:"Share recipe via text message"},{id:"wprm-recipe-pin",name:"Pinterest",description:"Pin recipe to Pinterest"},{id:"wprm-recipe-facebook-share",name:"Facebook",description:"Share recipe on Facebook"},{id:"wprm-recipe-whatsapp-share",name:"WhatsApp",description:"Share recipe via WhatsApp"},{id:"wprm-recipe-messenger-share",name:"Messenger",description:"Share recipe via Messenger"},{id:"wprm-recipe-twitter-share",name:"Twitter/X",description:"Share recipe on Twitter/X"},{id:"wprm-recipe-bluesky-share",name:"Bluesky",description:"Share recipe on Bluesky"},{id:"wprm-recipe-mastodon-share",name:"Mastodon",description:"Share recipe on Mastodon"},{id:"wprm-recipe-tumblr-share",name:"Tumblr",description:"Share recipe on Tumblr"}]},integration:{group:"Integrations",description:"Third-party integrations and services for enhanced recipe functionality.",shortcodes:[{id:"wprm-recipe-grow.me",name:"Grow.me",description:"A button to add the recipe to Grow.me"},{id:"wprm-recipe-shop-instacart",name:"Instacart",description:"A button to shop ingredients on Instacart"},{id:"wprm-recipe-emeals",name:"eMeals",description:"A button to shop ingredients on eMeals"},{id:"wprm-recipe-chicory",name:"Chicory",description:"A button to shop ingredients on Chicory"},{id:"wprm-recipe-slickstream-favorites",name:"Slickstream",description:"A button to add the recipe to Slickstream favorites"},{id:"wprm-recipe-smart-with-food",name:"Smart with Food",description:"A button to shop ingredients through Smart with Food"},{id:"wprm-recipe-cookpal",name:"CookPal",description:"A button to open the CookPal assistant"},{id:"wprm-recipe-my-shopping-help",name:"My Shopping Help",description:"A button to add the recipe to My Shopping Help"},{id:"wprm-hubbub-save-this",name:"Hubbub Save This",description:'Display the Hubbub "Save This" form'},{id:"wprm-hubbub-action-buttons",name:"Hubbub Action Buttons",description:"Display Hubbub Action Buttons"}]}},s=Object.values(a).flatMap((({shortcodes:e=[]})=>e.map(i))),l=Object.keys(wprm_admin_template.shortcodes).sort();for(let u of l)s.includes(u)||o.includes(u)||a.recipe.shortcodes.push({id:u});const c={contentShortcodes:["wprm-expandable","wprm-condition"],shortcodeGroups:a,shortcodeKeysAlphebetically:l,getShortcodeId:i,normalizeShortcode:e=>"string"==typeof e?{id:e}:e,newShortcodes:["wprm-recipe-share-options-popup","wprm-recipe-mastodon-share","wprm-recipe-tumblr-share","wprm-recipe-add-products-to-cart","wprm-recipe-cook-mode","wprm-hubbub-action-buttons","wprm-recipe-download-pdf","wprm-recipe-my-shopping-help","wprm-recipe-cookpal","wprm-recipe-favorite"]}},77382:(e,t,n)=>{"use strict";n.d(t,{A:()=>Rn});var r=n(77810),o=n(46484);const i=o.default||o;n(12942),n(2411);var a,s=n(64181);n(22998);window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.shareOptionsPopup={init:()=>{document.addEventListener("click",(function(e){for(var t=e.target;t&&t!=this;t=t.parentNode)if(t.matches(".wprm-recipe-share-options-popup")){window.WPRecipeMaker.shareOptionsPopup.click(t,e);break}}),!1)},click:(e,t)=>{t.preventDefault();const n=e._tippy;n&&n.destroy();const r=e.previousElementSibling;if(r&&r.classList&&r.classList.contains("wprm-recipe-share-options-popup-container")){e.role="button";let t="#333333";r.dataset.hasOwnProperty("color")&&(t=r.dataset.color),(0,s.Ay)(e,{theme:"wprm-variable",content:r.innerHTML,allowHTML:!0,interactive:!0,trigger:"click",onMount(e){e.popper.querySelector(".tippy-box").style.setProperty("--wprm-tippy-background",t)},onCreate(e){e.show()}})}}},a=()=>{window.WPRecipeMaker.shareOptionsPopup.init()},"loading"!=document.readyState?a():document.addEventListener("DOMContentLoaded",a);var l=n(1123),c=n(60997),u=n(33861),p=n(63224),d=n(6);const f=e=>{const{children:t,items:n,placement:o="top",onItemClick:i}=e;if(!n||!n.length)return t;let a=t;const s=r.isValidElement(a)&&"string"==typeof a.type,l=r.isValidElement(a)&&a.type&&a.type.prototype&&a.type.prototype.isReactComponent,c=r.isValidElement(a)&&a.type&&a.type.$$typeof&&"Symbol(react.forward_ref)"===a.type.$$typeof.toString();!s&&!l&&!c&&(a=r.createElement("span",{style:{display:"inline-block"}},a));const u=r.createElement("div",{className:"wprm-dropdown-menu"},n.map(((e,t)=>{if(e.divider)return r.createElement("div",{key:t,className:"wprm-dropdown-menu-divider"});const n=e.disabled||!1,o="wprm-dropdown-menu-item"+(n?" wprm-dropdown-menu-item-disabled":"");return r.createElement("div",{key:t,className:o,onClick:n?void 0:t=>((e,t)=>{t.stopPropagation(),e.onClick&&e.onClick(t),i&&i(e,t)})(e,t)},e.icon&&r.createElement("span",{className:"wprm-dropdown-menu-item-icon"},e.icon),r.createElement("span",{className:"wprm-dropdown-menu-item-label"},e.label))})));return r.createElement(d.Ay,{content:u,interactive:!0,trigger:"click",placement:o,popperOptions:{modifiers:[{name:"addZIndex",enabled:!0,phase:"write",fn:({state:e})=>{e.styles.popper.zIndex="100000"}},{name:"preventOverflow",options:{boundary:"window"}}]},theme:"wprm",arrow:!0,hideOnClick:!0},a)};var h=n(46510);const m=h.default||h;var g=n(50116),b=n(83761),v=n(12025);const y=r.createContext({hoveringBlock:void 0,onChangeHoveringBlock:void 0,editingBlock:void 0,mode:void 0,copyPasteMode:void 0,copyPasteBlock:void 0,shortcodes:void 0});var w=n(63165),I=n(70968);const x=e=>!!e&&(!!w.A.layoutElements.includes(e.id)||(!!I.A.contentShortcodes.includes(e.id)||!1!==e.content&&void 0!==e.content)),E=(e,t)=>void 0!==e?e:t;class S extends r.Component{static contextType=y;constructor(e){super(e);const t=e.hasOwnProperty("mode")&&e.mode?e.mode:"edit";this.state={fullShortcode:"",html:"",loading:!1,blockMode:t}}componentDidMount(){this.checkShortcodeChange()}componentDidUpdate(e){this.checkShortcodeChange(),e.recipeId!==this.props.recipeId&&this.updatePreview(),"shortcode-generator"!==this.state.blockMode&&e.editingBlock!==this.props.editingBlock&&this.props.shortcode.uid!==this.props.editingBlock&&this.onChangeBlockMode("edit"),e.copyPasteMode&&!this.props.copyPasteMode&&("copy"!==this.state.blockMode&&"paste"!==this.state.blockMode||this.onChangeBlockMode("edit")),e.editingBlock===this.props.shortcode.uid&&this.props.editingBlock!==this.props.shortcode.uid&&this.onChangeBlockMode("edit"),e.editingBlock===this.props.shortcode.uid&&this.props.editingBlock!==this.props.shortcode.uid&&this.onChangeBlockMode("edit")}checkShortcodeChange(){const e=l.A.getFullShortcode(this.props.shortcode,!0);e!==this.state.fullShortcode&&this.setState({fullShortcode:e},this.updatePreview)}updatePreview(){this.setState({loading:!0}),g.A.template.previewShortcode(this.props.shortcode.uid,this.state.fullShortcode,this.props.recipeId,this.props.previewContext).then((e=>{this.setState({html:e.hasOwnProperty(this.props.shortcode.uid)?e[this.props.shortcode.uid]:"",loading:!1})}))}getBlockProperties(e=this.props.shortcode){let t={};const n=!!wprm_admin_template.shortcodes.hasOwnProperty(e.id)&&wprm_admin_template.shortcodes[e.id];return n&&Object.entries(n).forEach((([n,r])=>{if(r.type){let o=r.name?r.name:n.replace(/_/g," ").toLowerCase().replace(/\b[a-z]/g,(function(e){return e.toUpperCase()})),i=e.attributes.hasOwnProperty(n)?e.attributes[n]:r.default;i=i.replace(/"/gm,'"'),i=i.replace(/]/gm,"]"),t[n]={...r,id:n,name:o,value:i}}})),t}onChangeBlockMode(e){e!==this.state.blockMode&&(this.setState({blockMode:e}),this.props.onChangeCopyPasteMode&&("copy"===e||"paste"===e?this.props.onChangeCopyPasteMode(e,this.props.shortcode.uid):this.props.onChangeCopyPasteMode(!1,!1)))}onCopyPasteStyle(e,t){const n=this.getBlockProperties(this.props.shortcodes[e]),r=this.getBlockProperties(this.props.shortcodes[t]);let o={};Object.entries(r).forEach((([e,t])=>{n.hasOwnProperty(e)&&n[e].value!==t.value&&"icon"!==e&&"text"!==e&&"label"!==e&&"header"!==e&&n[e].type===t.type&&("dropdown"!==t.type||t.options.hasOwnProperty(n[e].value))&&(o[e]=n[e].value)})),Object.keys(o).length&&this.props.onBlockPropertiesChange(t,o)}render(){const e=this.getBlockProperties(),t=this.context||{},n=E(t.mode,this.props.templateMode),o=E(t.hoveringBlock,this.props.hoveringBlock),a=t.onChangeHoveringBlock||this.props.onChangeHoveringBlock,s=E(t.editingBlock,this.props.editingBlock),l=E(t.copyPasteMode,this.props.copyPasteMode),u=E(t.copyPasteBlock,this.props.copyPasteBlock),p=t.shortcodes,d=n&&["blocks","add"].includes(n),f=l&&u!==this.props.shortcode.uid,h=d&&("blocks"===n||!1===s),g=h||f,y=g||"add"===n&&d,w=e=>{if((e=>null!==e.target.closest(".wprm-main-container-preview-content"))(e))if(f&&l){e.preventDefault();const t="copy"===l?u:this.props.shortcode.uid,n="copy"===l?this.props.shortcode.uid:u;this.onCopyPasteStyle(t,n)}else h&&(e.preventDefault(),"blocks"===n&&this.props.onChangeEditingBlock(this.props.shortcode.uid))};return r.createElement(r.Fragment,null,this.state.loading?r.createElement(c.A,null):r.createElement(r.Fragment,null,r.createElement("div",{className:"wprm-template-block-wrapper","data-wprm-uid":this.props.shortcode.uid,onMouseEnter:y&&a?e=>{e.stopPropagation(),a(this.props.shortcode.uid)}:void 0,onMouseLeave:y&&a?e=>{e.stopPropagation(),a(!1)}:void 0,onClick:g?e=>{e.stopPropagation(),w(e)}:void 0,style:f?{cursor:"pointer"}:void 0},i(this.state.html.trim(),{replace:function(e){return(e=>{e.attribs&&["onmouseenter","onmouseleave","onmouseover","onmouseout","onclick","ondblclick","onmousedown","onmouseup","onfocus","onblur","onchange","oninput","onsubmit","onkeydown","onkeyup","onkeypress","ontouchstart","ontouchend","ontouchmove","onload","onerror","onscroll"].forEach((t=>{e.attribs.hasOwnProperty(t)&&delete e.attribs[t]}))})(e),e.parent||this.props.shortcode.uid!==o?"wprm-replace-shortcode-with-block"==e.name?this.props.replaceDomNodeWithBlock(e,this.props.shortcodes,this.props.recipeId,this.props.parseOptions):"div"==e.name&&e.attribs.class&&"wprm-layout-"===e.attribs.class.substring(0,12)?this.props.replaceDomNodeWithElement(e,this.props.shortcodes,this.props.recipeId,this.props.parseOptions):void 0:(e.attribs||(e.attribs={}),e.attribs.class=e.attribs.class?e.attribs.class+" wprm-template-block-hovering":"wprm-template-block-hovering",m(e))}.bind(this)}))),this.props.shortcode.uid===s?r.createElement(b.A,null,"edit"===this.state.blockMode&&r.createElement(r.Fragment,null,r.createElement("div",{className:"wprm-template-menu-block-details"},r.createElement("a",{href:"#",onClick:e=>(e.preventDefault(),this.props.onChangeEditingBlock(!1))},"Blocks")," > ",this.props.shortcode.name),r.createElement("div",{className:"wprm-template-menu-block-quick-edit"},r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),this.onChangeBlockMode("copy")}},"Copy styles to...")," | ",r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),this.onChangeBlockMode("paste")}},"Paste styles from..."))),("edit"===this.state.blockMode||"shortcode-generator"===this.state.blockMode)&&r.createElement(r.Fragment,null,Object.keys(e).length>0?r.createElement(v.A,{properties:e,onPropertyChange:(e,t,n={})=>this.props.onBlockPropertyChange(this.props.shortcode.uid,e,t,n)}):r.createElement("p",null,"There are no adjustable properties for this block.")),("copy"===this.state.blockMode||"paste"===this.state.blockMode)&&r.createElement(r.Fragment,null,r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),this.onChangeBlockMode("edit")}},"Stop"),r.createElement("p",null,"copy"===this.state.blockMode?"Copy styles to:":"Paste styles from:"),(()=>(e=>{if(!e||0===e.length)return e;if(e[0]&&void 0!==e[0].depth)return e;const t={},n=[];for(let r=0;r<e.length;r++){const o=e[r];if(!o||"object"!=typeof o)continue;for(;n.length>0;){const e=n[n.length-1];if(x(e))break;n.pop()}const i=n.length;t[o.uid]=i,x(o)&&n.push(o)}return e.map((e=>e&&"object"==typeof e?{...e,depth:void 0!==t[e.uid]?t[e.uid]:0}:e))})(p&&p.length>0?p:Array.isArray(this.props.shortcodes)?this.props.shortcodes:Object.values(this.props.shortcodes||{})).map(((e,t)=>{if(!e||"object"!=typeof e)return null;const n={paddingLeft:15*(void 0!==e.depth?e.depth:0)+"px"};return e.uid===this.props.shortcode.uid?r.createElement("div",{key:t,className:"wprm-template-menu-block wprm-template-menu-block-self",style:n},"copy"===this.state.blockMode?"Copying from":"Pasting to"," ",e.name):r.createElement("div",{key:t,className:e.uid===o?"wprm-template-menu-block wprm-template-menu-block-hover":"wprm-template-menu-block",style:n,onClick:()=>{const t="copy"===this.state.blockMode?this.props.shortcode.uid:e.uid,n="copy"===this.state.blockMode?e.uid:this.props.shortcode.uid;this.onCopyPasteStyle(t,n)},onMouseEnter:a?()=>a(e.uid):void 0,onMouseLeave:a?()=>a(!1):void 0},e.name)})))())):null)}}const M=(e,t)=>void 0!==e?e:t,k=e=>{const t=(0,r.useContext)(y)||{},n=M(t.hoveringBlock,e.hoveringBlock),o=t.onChangeHoveringBlock||e.onChangeHoveringBlock,i=M(t.editingBlock,e.editingBlock),a=M(t.mode,e.mode),s=M(t.copyPasteMode,e.copyPasteMode),l=M(t.copyPasteBlock,e.copyPasteBlock),c=(e=>{let t={};const n=e.id.replace("wprm-layout-",""),r=!!w.A.propertiesForElement.hasOwnProperty(n)&&w.A.propertiesForElement[n],o=e.hasOwnProperty("classes")?e.classes:[],i=e.hasOwnProperty("style")?e.style:[];if(r)for(let a of r){let e=!!w.A.potentialProperties.hasOwnProperty(a)&&{...w.A.potentialProperties[a]};e&&(e.id=a,e.hasOwnProperty("classesToValue")?e.value=e.classesToValue(o):e.hasOwnProperty("styleToValue")&&(e.value=e.styleToValue(i)),t[a]=e)}return t})(e.shortcode);let u=[e.shortcode.id];e.shortcode.hasOwnProperty("classes")&&e.shortcode.classes&&(u=u.concat(e.shortcode.classes)),e.shortcode.uid===n&&u.push("wprm-template-block-hovering");const p=["blocks","add"].includes(a),d=p&&("blocks"===a||!1===i)&&!(s&&!1!==l),f=d||"add"===a&&p;let h={};if(e.shortcode.hasOwnProperty("style")&&e.shortcode.style.length)for(let r of e.shortcode.style){const t=r.split(": ",2);h["--"+e.shortcode.id+"-"+t[0]]=t[1]}return r.createElement(r.Fragment,null,r.createElement("div",{className:u.join(" "),style:h,"data-wprm-uid":e.shortcode.uid,onMouseEnter:f&&o?t=>{t.stopPropagation(),o(e.shortcode.uid)}:void 0,onMouseLeave:f&&o?e=>{e.stopPropagation(),o(!1)}:void 0,onClick:d?t=>{t.stopPropagation(),(t=>{(e=>null!==e.target.closest(".wprm-main-container-preview-content"))(t)&&d&&(t.preventDefault(),"blocks"===a&&e.onChangeEditingBlock(e.shortcode.uid))})(t)}:void 0},e.children),e.shortcode.uid===i?r.createElement(b.A,null,r.createElement("div",{className:"wprm-template-menu-block-details"},r.createElement("a",{href:"#",onClick:t=>(t.preventDefault(),e.onChangeEditingBlock(!1))},"Blocks")," > ",e.shortcode.name),Object.keys(c).length>0?r.createElement(v.A,{properties:c,onPropertyChange:(t,n,r={})=>{const o={...c};o[t].value=n;const i=c[t];if(i.hasOwnProperty("valueToClasses")){const t=(e=>{let t=[];for(let n of Object.values(e))n.value&&n.hasOwnProperty("valueToClasses")&&(t=t.concat(n.valueToClasses(n.value)));return t})(o);e.onClassesChange(e.shortcode.uid,t,r)}else if(i.hasOwnProperty("valueToStyle")){const t=(e=>{let t=[];for(let n of Object.values(e))n.value&&n.hasOwnProperty("valueToStyle")&&(t=t.concat(n.valueToStyle(n.value)));return t})(o);e.onStyleChange(e.shortcode.uid,t,r)}}}):r.createElement("p",null,"There are no adjustable properties for this block.")):null)};var j=n(22483);const C="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function P(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function N(e){return"nodeType"in e}function T(e){var t,n;return e?P(e)?e:N(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function A(e){const{Document:t}=T(e);return e instanceof t}function L(e){return!P(e)&&e instanceof T(e).HTMLElement}function D(e){return e instanceof T(e).SVGElement}function O(e){return e?P(e)?e.document:N(e)?A(e)?e:L(e)||D(e)?e.ownerDocument:document:document:document}const R=C?r.useLayoutEffect:r.useEffect;function B(e){const t=(0,r.useRef)(e);return R((()=>{t.current=e})),(0,r.useCallback)((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}function H(e,t){void 0===t&&(t=[e]);const n=(0,r.useRef)(e);return R((()=>{n.current!==e&&(n.current=e)}),t),n}function W(e,t){const n=(0,r.useRef)();return(0,r.useMemo)((()=>{const t=e(n.current);return n.current=t,t}),[...t])}function z(e){const t=B(e),n=(0,r.useRef)(null),o=(0,r.useCallback)((e=>{e!==n.current&&(null==t||t(e,n.current)),n.current=e}),[]);return[n,o]}function Z(e){const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e}),[e]),t.current}let _={};function G(e,t){return(0,r.useMemo)((()=>{if(t)return t;const n=null==_[e]?0:_[e]+1;return _[e]=n,e+"-"+n}),[e,t])}function U(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce(((t,n)=>{const r=Object.entries(n);for(const[o,i]of r){const n=t[o];null!=n&&(t[o]=n+e*i)}return t}),{...t})}}const F=U(1),V=U(-1);function J(e){if(!e)return!1;const{KeyboardEvent:t}=T(e.target);return t&&e instanceof t}function Y(e){if(function(e){if(!e)return!1;const{TouchEvent:t}=T(e.target);return t&&e instanceof t}(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return function(e){return"clientX"in e&&"clientY"in e}(e)?{x:e.clientX,y:e.clientY}:null}const Q=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[Q.Translate.toString(e),Q.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),X="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function q(e){return e.matches(X)?e:e.querySelector(X)}const $={display:"none"};function K(e){let{id:t,value:n}=e;return r.createElement("div",{id:t,style:$},n)}function ee(e){let{id:t,announcement:n,ariaLiveType:o="assertive"}=e;return r.createElement("div",{id:t,style:{position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":o,"aria-atomic":!0},n)}const te=(0,r.createContext)(null);const ne={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},re={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function oe(e){let{announcements:t=re,container:n,hiddenTextDescribedById:o,screenReaderInstructions:i=ne}=e;const{announce:a,announcement:s}=function(){const[e,t]=(0,r.useState)("");return{announce:(0,r.useCallback)((e=>{null!=e&&t(e)}),[]),announcement:e}}(),l=G("DndLiveRegion"),[c,u]=(0,r.useState)(!1);if((0,r.useEffect)((()=>{u(!0)}),[]),function(e){const t=(0,r.useContext)(te);(0,r.useEffect)((()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)}),[e,t])}((0,r.useMemo)((()=>({onDragStart(e){let{active:n}=e;a(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&a(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;a(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;a(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;a(t.onDragCancel({active:n,over:r}))}})),[a,t])),!c)return null;const p=r.createElement(r.Fragment,null,r.createElement(K,{id:o,value:i.draggable}),r.createElement(ee,{id:l,announcement:s}));return n?(0,j.createPortal)(p,n):p}var ie;function ae(){}function se(e,t){return(0,r.useMemo)((()=>({sensor:e,options:null!=t?t:{}})),[e,t])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(ie||(ie={}));const le=Object.freeze({x:0,y:0});function ce(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function ue(e,t){const n=Y(e);if(!n)return"0 0";return(n.x-t.left)/t.width*100+"% "+(n.y-t.top)/t.height*100+"%"}function pe(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function de(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function fe(e,t,n){return void 0===t&&(t=e.left),void 0===n&&(n=e.top),{x:t+.5*e.width,y:n+.5*e.height}}const he=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=fe(t,t.left,t.top),i=[];for(const a of r){const{id:e}=a,t=n.get(e);if(t){const n=ce(fe(t),o);i.push({id:e,data:{droppableContainer:a,value:n}})}}return i.sort(pe)};function me(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),o=Math.min(t.left+t.width,e.left+e.width),i=Math.min(t.top+t.height,e.top+e.height),a=o-r,s=i-n;if(r<o&&n<i){const n=t.width*t.height,r=e.width*e.height,o=a*s;return Number((o/(n+r-o)).toFixed(4))}return 0}const ge=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=[];for(const i of r){const{id:e}=i,r=n.get(e);if(r){const n=me(r,t);n>0&&o.push({id:e,data:{droppableContainer:i,value:n}})}}return o.sort(de)};function be(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:le}function ve(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce(((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x})),{...t})}}const ye=ve(1);function we(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}const Ie={ignoreTransform:!1};function xe(e,t){void 0===t&&(t=Ie);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:t,transformOrigin:r}=T(e).getComputedStyle(e);t&&(n=function(e,t,n){const r=we(t);if(!r)return e;const{scaleX:o,scaleY:i,x:a,y:s}=r,l=e.left-a-(1-o)*parseFloat(n),c=e.top-s-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),u=o?e.width/o:e.width,p=i?e.height/i:e.height;return{width:u,height:p,top:c,right:l+u,bottom:c+p,left:l}}(n,t,r))}const{top:r,left:o,width:i,height:a,bottom:s,right:l}=n;return{top:r,left:o,width:i,height:a,bottom:s,right:l}}function Ee(e){return xe(e,{ignoreTransform:!0})}function Se(e,t){const n=[];return e?function r(o){if(null!=t&&n.length>=t)return n;if(!o)return n;if(A(o)&&null!=o.scrollingElement&&!n.includes(o.scrollingElement))return n.push(o.scrollingElement),n;if(!L(o)||D(o))return n;if(n.includes(o))return n;const i=T(e).getComputedStyle(o);return o!==e&&function(e,t){void 0===t&&(t=T(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((e=>{const r=t[e];return"string"==typeof r&&n.test(r)}))}(o,i)&&n.push(o),function(e,t){return void 0===t&&(t=T(e).getComputedStyle(e)),"fixed"===t.position}(o,i)?n:r(o.parentNode)}(e):n}function Me(e){const[t]=Se(e,1);return null!=t?t:null}function ke(e){return C&&e?P(e)?e:N(e)?A(e)||e===O(e).scrollingElement?window:L(e)?e:null:null:null}function je(e){return P(e)?e.scrollX:e.scrollLeft}function Ce(e){return P(e)?e.scrollY:e.scrollTop}function Pe(e){return{x:je(e),y:Ce(e)}}var Ne;function Te(e){return!(!C||!e)&&e===document.scrollingElement}function Ae(e){const t={x:0,y:0},n=Te(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(Ne||(Ne={}));const Le={x:.2,y:.2};function De(e,t,n,r,o){let{top:i,left:a,right:s,bottom:l}=n;void 0===r&&(r=10),void 0===o&&(o=Le);const{isTop:c,isBottom:u,isLeft:p,isRight:d}=Ae(e),f={x:0,y:0},h={x:0,y:0},m=t.height*o.y,g=t.width*o.x;return!c&&i<=t.top+m?(f.y=Ne.Backward,h.y=r*Math.abs((t.top+m-i)/m)):!u&&l>=t.bottom-m&&(f.y=Ne.Forward,h.y=r*Math.abs((t.bottom-m-l)/m)),!d&&s>=t.right-g?(f.x=Ne.Forward,h.x=r*Math.abs((t.right-g-s)/g)):!p&&a<=t.left+g&&(f.x=Ne.Backward,h.x=r*Math.abs((t.left+g-a)/g)),{direction:f,speed:h}}function Oe(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}const{top:t,left:n,right:r,bottom:o}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:o,width:e.clientWidth,height:e.clientHeight}}function Re(e){return e.reduce(((e,t)=>F(e,Pe(t))),le)}function Be(e,t){if(void 0===t&&(t=xe),!e)return;const{top:n,left:r,bottom:o,right:i}=t(e);Me(e)&&(o<=0||i<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const He=[["x",["left","right"],function(e){return e.reduce(((e,t)=>e+je(t)),0)}],["y",["top","bottom"],function(e){return e.reduce(((e,t)=>e+Ce(t)),0)}]];class We{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=Se(t),r=Re(n);this.rect={...e},this.width=e.width,this.height=e.height;for(const[o,i,a]of He)for(const e of i)Object.defineProperty(this,e,{get:()=>{const t=a(n),i=r[o]-t;return this.rect[e]+i},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class ze{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach((e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)}))},this.target=e}add(e,t,n){var r;null==(r=this.target)||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function Ze(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return"number"==typeof t?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t&&r>t.y}var _e,Ge;function Ue(e){e.preventDefault()}function Fe(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(_e||(_e={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"}(Ge||(Ge={}));const Ve={start:[Ge.Space,Ge.Enter],cancel:[Ge.Esc],end:[Ge.Space,Ge.Enter,Ge.Tab]},Je=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case Ge.Right:return{...n,x:n.x+25};case Ge.Left:return{...n,x:n.x-25};case Ge.Down:return{...n,y:n.y+25};case Ge.Up:return{...n,y:n.y-25}}};class Ye{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new ze(O(t)),this.windowListeners=new ze(T(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(_e.Resize,this.handleCancel),this.windowListeners.add(_e.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(_e.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&Be(n),t(le)}handleKeyDown(e){if(J(e)){const{active:t,context:n,options:r}=this.props,{keyboardCodes:o=Ve,coordinateGetter:i=Je,scrollBehavior:a="smooth"}=r,{code:s}=e;if(o.end.includes(s))return void this.handleEnd(e);if(o.cancel.includes(s))return void this.handleCancel(e);const{collisionRect:l}=n.current,c=l?{x:l.left,y:l.top}:le;this.referenceCoordinates||(this.referenceCoordinates=c);const u=i(e,{active:t,context:n.current,currentCoordinates:c});if(u){const t=V(u,c),r={x:0,y:0},{scrollableAncestors:o}=n.current;for(const n of o){const o=e.code,{isTop:i,isRight:s,isLeft:l,isBottom:c,maxScroll:p,minScroll:d}=Ae(n),f=Oe(n),h={x:Math.min(o===Ge.Right?f.right-f.width/2:f.right,Math.max(o===Ge.Right?f.left:f.left+f.width/2,u.x)),y:Math.min(o===Ge.Down?f.bottom-f.height/2:f.bottom,Math.max(o===Ge.Down?f.top:f.top+f.height/2,u.y))},m=o===Ge.Right&&!s||o===Ge.Left&&!l,g=o===Ge.Down&&!c||o===Ge.Up&&!i;if(m&&h.x!==u.x){const e=n.scrollLeft+t.x,i=o===Ge.Right&&e<=p.x||o===Ge.Left&&e>=d.x;if(i&&!t.y)return void n.scrollTo({left:e,behavior:a});r.x=i?n.scrollLeft-e:o===Ge.Right?n.scrollLeft-p.x:n.scrollLeft-d.x,r.x&&n.scrollBy({left:-r.x,behavior:a});break}if(g&&h.y!==u.y){const e=n.scrollTop+t.y,i=o===Ge.Down&&e<=p.y||o===Ge.Up&&e>=d.y;if(i&&!t.x)return void n.scrollTo({top:e,behavior:a});r.y=i?n.scrollTop-e:o===Ge.Down?n.scrollTop-p.y:n.scrollTop-d.y,r.y&&n.scrollBy({top:-r.y,behavior:a});break}}this.handleMove(e,F(V(u,this.referenceCoordinates),r))}}}handleMove(e,t){const{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function Qe(e){return Boolean(e&&"distance"in e)}function Xe(e){return Boolean(e&&"delay"in e)}Ye.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=Ve,onActivation:o}=t,{active:i}=n;const{code:a}=e.nativeEvent;if(r.start.includes(a)){const t=i.activatorNode.current;return(!t||e.target===t)&&(e.preventDefault(),null==o||o({event:e.nativeEvent}),!0)}return!1}}];class qe{constructor(e,t,n){var r;void 0===n&&(n=function(e){const{EventTarget:t}=T(e);return e instanceof t?e:O(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:o}=e,{target:i}=o;this.props=e,this.events=t,this.document=O(i),this.documentListeners=new ze(this.document),this.listeners=new ze(n),this.windowListeners=new ze(T(i)),this.initialCoordinates=null!=(r=Y(o))?r:le,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(_e.Resize,this.handleCancel),this.windowListeners.add(_e.DragStart,Ue),this.windowListeners.add(_e.VisibilityChange,this.handleCancel),this.windowListeners.add(_e.ContextMenu,Ue),this.documentListeners.add(_e.Keydown,this.handleKeydown),t){if(null!=n&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Xe(t))return this.timeoutId=setTimeout(this.handleStart,t.delay),void this.handlePending(t);if(Qe(t))return void this.handlePending(t)}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){const{active:n,onPending:r}=this.props;r(n,e,this.initialCoordinates,t)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(_e.Click,Fe,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(_e.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:n,initialCoordinates:r,props:o}=this,{onMove:i,options:{activationConstraint:a}}=o;if(!r)return;const s=null!=(t=Y(e))?t:le,l=V(r,s);if(!n&&a){if(Qe(a)){if(null!=a.tolerance&&Ze(l,a.tolerance))return this.handleCancel();if(Ze(l,a.distance))return this.handleStart()}return Xe(a)&&Ze(l,a.tolerance)?this.handleCancel():void this.handlePending(a,l)}e.cancelable&&e.preventDefault(),i(s)}handleEnd(){const{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){const{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===Ge.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const $e={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class Ke extends qe{constructor(e){const{event:t}=e,n=O(t.target);super(e,$e,n)}}Ke.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!(!n.isPrimary||0!==n.button)&&(null==r||r({event:n}),!0)}}];const et={move:{name:"mousemove"},end:{name:"mouseup"}};var tt;!function(e){e[e.RightClick=2]="RightClick"}(tt||(tt={}));(class extends qe{constructor(e){super(e,et,O(e.event.target))}}).activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==tt.RightClick&&(null==r||r({event:n}),!0)}}];const nt={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};var rt,ot;function it(e){let{acceleration:t,activator:n=rt.Pointer,canScroll:o,draggingRect:i,enabled:a,interval:s=5,order:l=ot.TreeOrder,pointerCoordinates:c,scrollableAncestors:u,scrollableAncestorRects:p,delta:d,threshold:f}=e;const h=function(e){let{delta:t,disabled:n}=e;const r=Z(t);return W((e=>{if(n||!r||!e)return at;const o={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[Ne.Backward]:e.x[Ne.Backward]||-1===o.x,[Ne.Forward]:e.x[Ne.Forward]||1===o.x},y:{[Ne.Backward]:e.y[Ne.Backward]||-1===o.y,[Ne.Forward]:e.y[Ne.Forward]||1===o.y}}}),[n,t,r])}({delta:d,disabled:!a}),[m,g]=function(){const e=(0,r.useRef)(null);return[(0,r.useCallback)(((t,n)=>{e.current=setInterval(t,n)}),[]),(0,r.useCallback)((()=>{null!==e.current&&(clearInterval(e.current),e.current=null)}),[])]}(),b=(0,r.useRef)({x:0,y:0}),v=(0,r.useRef)({x:0,y:0}),y=(0,r.useMemo)((()=>{switch(n){case rt.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case rt.DraggableRect:return i}}),[n,i,c]),w=(0,r.useRef)(null),I=(0,r.useCallback)((()=>{const e=w.current;if(!e)return;const t=b.current.x*v.current.x,n=b.current.y*v.current.y;e.scrollBy(t,n)}),[]),x=(0,r.useMemo)((()=>l===ot.TreeOrder?[...u].reverse():u),[l,u]);(0,r.useEffect)((()=>{if(a&&u.length&&y){for(const e of x){if(!1===(null==o?void 0:o(e)))continue;const n=u.indexOf(e),r=p[n];if(!r)continue;const{direction:i,speed:a}=De(e,r,y,t,f);for(const e of["x","y"])h[e][i[e]]||(a[e]=0,i[e]=0);if(a.x>0||a.y>0)return g(),w.current=e,m(I,s),b.current=a,void(v.current=i)}b.current={x:0,y:0},v.current={x:0,y:0},g()}else g()}),[t,I,o,g,a,s,JSON.stringify(y),JSON.stringify(h),m,u,x,p,JSON.stringify(f)])}(class extends qe{constructor(e){super(e,nt)}static setup(){return window.addEventListener(nt.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(nt.move.name,e)};function e(){}}}).activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:o}=n;return!(o.length>1)&&(null==r||r({event:n}),!0)}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(rt||(rt={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(ot||(ot={}));const at={x:{[Ne.Backward]:!1,[Ne.Forward]:!1},y:{[Ne.Backward]:!1,[Ne.Forward]:!1}};var st,lt;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(st||(st={})),function(e){e.Optimized="optimized"}(lt||(lt={}));const ct=new Map;function ut(e,t){return W((n=>e?n||("function"==typeof t?t(e):e):null),[t,e])}function pt(e){let{callback:t,disabled:n}=e;const o=B(t),i=(0,r.useMemo)((()=>{if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(o)}),[n]);return(0,r.useEffect)((()=>()=>null==i?void 0:i.disconnect()),[i]),i}function dt(e){return new We(xe(e),e)}function ft(e,t,n){void 0===t&&(t=dt);const[o,i]=(0,r.useState)(null);function a(){i((r=>{if(!e)return null;var o;if(!1===e.isConnected)return null!=(o=null!=r?r:n)?o:null;const i=t(e);return JSON.stringify(r)===JSON.stringify(i)?r:i}))}const s=function(e){let{callback:t,disabled:n}=e;const o=B(t),i=(0,r.useMemo)((()=>{if(n||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(o)}),[o,n]);return(0,r.useEffect)((()=>()=>null==i?void 0:i.disconnect()),[i]),i}({callback(t){if(e)for(const n of t){const{type:t,target:r}=n;if("childList"===t&&r instanceof HTMLElement&&r.contains(e)){a();break}}}}),l=pt({callback:a});return R((()=>{a(),e?(null==l||l.observe(e),null==s||s.observe(document.body,{childList:!0,subtree:!0})):(null==l||l.disconnect(),null==s||s.disconnect())}),[e]),o}const ht=[];function mt(e,t){void 0===t&&(t=[]);const n=(0,r.useRef)(null);return(0,r.useEffect)((()=>{n.current=null}),t),(0,r.useEffect)((()=>{const t=e!==le;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)}),[e]),n.current?V(e,n.current):le}function gt(e){return(0,r.useMemo)((()=>e?function(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}(e):null),[e])}const bt=[];function vt(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return L(t)?t:e}const yt=[{sensor:Ke,options:{}},{sensor:Ye,options:{}}],wt={current:{}},It={draggable:{measure:Ee},droppable:{measure:Ee,strategy:st.WhileDragging,frequency:lt.Optimized},dragOverlay:{measure:xe}};class xt extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter((e=>{let{disabled:t}=e;return!t}))}getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0}}const Et={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new xt,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:ae},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:It,measureDroppableContainers:ae,windowRect:null,measuringScheduled:!1},St={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:ae,draggableNodes:new Map,over:null,measureDroppableContainers:ae},Mt=(0,r.createContext)(St),kt=(0,r.createContext)(Et);function jt(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new xt}}}function Ct(e,t){switch(t.type){case ie.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case ie.DragMove:return null==e.draggable.active?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case ie.DragEnd:case ie.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case ie.RegisterDroppable:{const{element:n}=t,{id:r}=n,o=new xt(e.droppable.containers);return o.set(r,n),{...e,droppable:{...e.droppable,containers:o}}}case ie.SetDroppableDisabled:{const{id:n,key:r,disabled:o}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const a=new xt(e.droppable.containers);return a.set(n,{...i,disabled:o}),{...e,droppable:{...e.droppable,containers:a}}}case ie.UnregisterDroppable:{const{id:n,key:r}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;const i=new xt(e.droppable.containers);return i.delete(n),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function Pt(e){let{disabled:t}=e;const{active:n,activatorEvent:o,draggableNodes:i}=(0,r.useContext)(Mt),a=Z(o),s=Z(null==n?void 0:n.id);return(0,r.useEffect)((()=>{if(!t&&!o&&a&&null!=s){if(!J(a))return;if(document.activeElement===a.target)return;const e=i.get(s);if(!e)return;const{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame((()=>{for(const e of[t.current,n.current]){if(!e)continue;const t=q(e);if(t){t.focus();break}}}))}}),[o,t,i,s,a]),null}function Nt(e,t){let{transform:n,...r}=t;return null!=e&&e.length?e.reduce(((e,t)=>t({transform:e,...r})),n):n}const Tt=(0,r.createContext)({...le,scaleX:1,scaleY:1});var At;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(At||(At={}));const Lt=(0,r.memo)((function(e){var t,n,o,i;let{id:a,accessibility:s,autoScroll:l=!0,children:c,sensors:u=yt,collisionDetection:p=ge,measuring:d,modifiers:f,...h}=e;const m=(0,r.useReducer)(Ct,void 0,jt),[g,b]=m,[v,y]=function(){const[e]=(0,r.useState)((()=>new Set)),t=(0,r.useCallback)((t=>(e.add(t),()=>e.delete(t))),[e]);return[(0,r.useCallback)((t=>{let{type:n,event:r}=t;e.forEach((e=>{var t;return null==(t=e[n])?void 0:t.call(e,r)}))}),[e]),t]}(),[w,I]=(0,r.useState)(At.Uninitialized),x=w===At.Initialized,{draggable:{active:E,nodes:S,translate:M},droppable:{containers:k}}=g,P=null!=E?S.get(E):null,N=(0,r.useRef)({initial:null,translated:null}),A=(0,r.useMemo)((()=>{var e;return null!=E?{id:E,data:null!=(e=null==P?void 0:P.data)?e:wt,rect:N}:null}),[E,P]),D=(0,r.useRef)(null),[O,B]=(0,r.useState)(null),[Z,_]=(0,r.useState)(null),U=H(h,Object.values(h)),V=G("DndDescribedBy",a),J=(0,r.useMemo)((()=>k.getEnabled()),[k]),Q=(X=d,(0,r.useMemo)((()=>({draggable:{...It.draggable,...null==X?void 0:X.draggable},droppable:{...It.droppable,...null==X?void 0:X.droppable},dragOverlay:{...It.dragOverlay,...null==X?void 0:X.dragOverlay}})),[null==X?void 0:X.draggable,null==X?void 0:X.droppable,null==X?void 0:X.dragOverlay]));var X;const{droppableRects:q,measureDroppableContainers:$,measuringScheduled:K}=function(e,t){let{dragging:n,dependencies:o,config:i}=t;const[a,s]=(0,r.useState)(null),{frequency:l,measure:c,strategy:u}=i,p=(0,r.useRef)(e),d=function(){switch(u){case st.Always:return!1;case st.BeforeDragging:return n;default:return!n}}(),f=H(d),h=(0,r.useCallback)((function(e){void 0===e&&(e=[]),f.current||s((t=>null===t?e:t.concat(e.filter((e=>!t.includes(e))))))}),[f]),m=(0,r.useRef)(null),g=W((t=>{if(d&&!n)return ct;if(!t||t===ct||p.current!==e||null!=a){const t=new Map;for(let n of e){if(!n)continue;if(a&&a.length>0&&!a.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}const e=n.node.current,r=e?new We(c(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t}),[e,a,n,d,c]);return(0,r.useEffect)((()=>{p.current=e}),[e]),(0,r.useEffect)((()=>{d||h()}),[n,d]),(0,r.useEffect)((()=>{a&&a.length>0&&s(null)}),[JSON.stringify(a)]),(0,r.useEffect)((()=>{d||"number"!=typeof l||null!==m.current||(m.current=setTimeout((()=>{h(),m.current=null}),l))}),[l,d,h,...o]),{droppableRects:g,measureDroppableContainers:h,measuringScheduled:null!=a}}(J,{dragging:x,dependencies:[M.x,M.y],config:Q.droppable}),ee=function(e,t){const n=null!=t?e.get(t):void 0,r=n?n.node.current:null;return W((e=>{var n;return null==t?null:null!=(n=null!=r?r:e)?n:null}),[r,t])}(S,E),ne=(0,r.useMemo)((()=>Z?Y(Z):null),[Z]),re=function(){const e=!1===(null==O?void 0:O.autoScrollEnabled),t="object"==typeof l?!1===l.enabled:!1===l,n=x&&!e&&!t;if("object"==typeof l)return{...l,enabled:n};return{enabled:n}}(),ae=function(e,t){return ut(e,t)}(ee,Q.draggable.measure);!function(e){let{activeNode:t,measure:n,initialRect:o,config:i=!0}=e;const a=(0,r.useRef)(!1),{x:s,y:l}="boolean"==typeof i?{x:i,y:i}:i;R((()=>{if(!s&&!l||!t)return void(a.current=!1);if(a.current||!o)return;const e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;const r=be(n(e),o);if(s||(r.x=0),l||(r.y=0),a.current=!0,Math.abs(r.x)>0||Math.abs(r.y)>0){const t=Me(e);t&&t.scrollBy({top:r.y,left:r.x})}}),[t,s,l,o,n])}({activeNode:null!=E?S.get(E):null,config:re.layoutShiftCompensation,initialRect:ae,measure:Q.draggable.measure});const se=ft(ee,Q.draggable.measure,ae),ce=ft(ee?ee.parentElement:null),ue=(0,r.useRef)({activatorEvent:null,active:null,activeNode:ee,collisionRect:null,collisions:null,droppableRects:q,draggableNodes:S,draggingNode:null,draggingNodeRect:null,droppableContainers:k,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),pe=k.getNodeFor(null==(t=ue.current.over)?void 0:t.id),de=function(e){let{measure:t}=e;const[n,o]=(0,r.useState)(null),i=pt({callback:(0,r.useCallback)((e=>{for(const{target:n}of e)if(L(n)){o((e=>{const r=t(n);return e?{...e,width:r.width,height:r.height}:r}));break}}),[t])}),a=(0,r.useCallback)((e=>{const n=vt(e);null==i||i.disconnect(),n&&(null==i||i.observe(n)),o(n?t(n):null)}),[t,i]),[s,l]=z(a);return(0,r.useMemo)((()=>({nodeRef:s,rect:n,setRef:l})),[n,s,l])}({measure:Q.dragOverlay.measure}),fe=null!=(n=de.nodeRef.current)?n:ee,he=x?null!=(o=de.rect)?o:se:null,me=Boolean(de.nodeRef.current&&de.rect),ve=be(we=me?null:se,ut(we));var we;const Ie=gt(fe?T(fe):null),Ee=function(e){const t=(0,r.useRef)(e),n=W((n=>e?n&&n!==ht&&e&&t.current&&e.parentNode===t.current.parentNode?n:Se(e):ht),[e]);return(0,r.useEffect)((()=>{t.current=e}),[e]),n}(x?null!=pe?pe:ee:null),je=function(e,t){void 0===t&&(t=xe);const[n]=e,o=gt(n?T(n):null),[i,a]=(0,r.useState)(bt);function s(){a((()=>e.length?e.map((e=>Te(e)?o:new We(t(e),e))):bt))}const l=pt({callback:s});return R((()=>{null==l||l.disconnect(),s(),e.forEach((e=>null==l?void 0:l.observe(e)))}),[e]),i}(Ee),Ce=Nt(f,{transform:{x:M.x-ve.x,y:M.y-ve.y,scaleX:1,scaleY:1},activatorEvent:Z,active:A,activeNodeRect:se,containerNodeRect:ce,draggingNodeRect:he,over:ue.current.over,overlayNodeRect:de.rect,scrollableAncestors:Ee,scrollableAncestorRects:je,windowRect:Ie}),Ne=ne?F(ne,M):null,Ae=function(e){const[t,n]=(0,r.useState)(null),o=(0,r.useRef)(e),i=(0,r.useCallback)((e=>{const t=ke(e.target);t&&n((e=>e?(e.set(t,Pe(t)),new Map(e)):null))}),[]);return(0,r.useEffect)((()=>{const t=o.current;if(e!==t){r(t);const a=e.map((e=>{const t=ke(e);return t?(t.addEventListener("scroll",i,{passive:!0}),[t,Pe(t)]):null})).filter((e=>null!=e));n(a.length?new Map(a):null),o.current=e}return()=>{r(e),r(t)};function r(e){e.forEach((e=>{const t=ke(e);null==t||t.removeEventListener("scroll",i)}))}}),[i,e]),(0,r.useMemo)((()=>e.length?t?Array.from(t.values()).reduce(((e,t)=>F(e,t)),le):Re(e):le),[e,t])}(Ee),Le=mt(Ae),De=mt(Ae,[se]),Oe=F(Ce,Le),Be=he?ye(he,Ce):null,He=A&&Be?p({active:A,collisionRect:Be,droppableRects:q,droppableContainers:J,pointerCoordinates:Ne}):null,ze=function(e,t){if(!e||0===e.length)return null;const[n]=e;return t?n[t]:n}(He,"id"),[Ze,_e]=(0,r.useState)(null),Ge=function(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}(me?Ce:F(Ce,De),null!=(i=null==Ze?void 0:Ze.rect)?i:null,se),Ue=(0,r.useRef)(null),Fe=(0,r.useCallback)(((e,t)=>{let{sensor:n,options:r}=t;if(null==D.current)return;const o=S.get(D.current);if(!o)return;const i=e.nativeEvent,a=new n({active:D.current,activeNode:o,event:i,options:r,context:ue,onAbort(e){if(!S.get(e))return;const{onDragAbort:t}=U.current,n={id:e};null==t||t(n),v({type:"onDragAbort",event:n})},onPending(e,t,n,r){if(!S.get(e))return;const{onDragPending:o}=U.current,i={id:e,constraint:t,initialCoordinates:n,offset:r};null==o||o(i),v({type:"onDragPending",event:i})},onStart(e){const t=D.current;if(null==t)return;const n=S.get(t);if(!n)return;const{onDragStart:r}=U.current,o={activatorEvent:i,active:{id:t,data:n.data,rect:N}};(0,j.unstable_batchedUpdates)((()=>{null==r||r(o),I(At.Initializing),b({type:ie.DragStart,initialCoordinates:e,active:t}),v({type:"onDragStart",event:o}),B(Ue.current),_(i)}))},onMove(e){b({type:ie.DragMove,coordinates:e})},onEnd:s(ie.DragEnd),onCancel:s(ie.DragCancel)});function s(e){return async function(){const{active:t,collisions:n,over:r,scrollAdjustedTranslate:o}=ue.current;let a=null;if(t&&o){const{cancelDrop:s}=U.current;if(a={activatorEvent:i,active:t,collisions:n,delta:o,over:r},e===ie.DragEnd&&"function"==typeof s){await Promise.resolve(s(a))&&(e=ie.DragCancel)}}D.current=null,(0,j.unstable_batchedUpdates)((()=>{b({type:e}),I(At.Uninitialized),_e(null),B(null),_(null),Ue.current=null;const t=e===ie.DragEnd?"onDragEnd":"onDragCancel";if(a){const e=U.current[t];null==e||e(a),v({type:t,event:a})}}))}}Ue.current=a}),[S]),Ve=(0,r.useCallback)(((e,t)=>(n,r)=>{const o=n.nativeEvent,i=S.get(r);if(null!==D.current||!i||o.dndKit||o.defaultPrevented)return;const a={active:i};!0===e(n,t.options,a)&&(o.dndKit={capturedBy:t.sensor},D.current=r,Fe(n,t))}),[S,Fe]),Je=function(e,t){return(0,r.useMemo)((()=>e.reduce(((e,n)=>{const{sensor:r}=n;return[...e,...r.activators.map((e=>({eventName:e.eventName,handler:t(e.handler,n)})))]}),[])),[e,t])}(u,Ve);!function(e){(0,r.useEffect)((()=>{if(!C)return;const t=e.map((e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()}));return()=>{for(const e of t)null==e||e()}}),e.map((e=>{let{sensor:t}=e;return t})))}(u),R((()=>{se&&w===At.Initializing&&I(At.Initialized)}),[se,w]),(0,r.useEffect)((()=>{const{onDragMove:e}=U.current,{active:t,activatorEvent:n,collisions:r,over:o}=ue.current;if(!t||!n)return;const i={active:t,activatorEvent:n,collisions:r,delta:{x:Oe.x,y:Oe.y},over:o};(0,j.unstable_batchedUpdates)((()=>{null==e||e(i),v({type:"onDragMove",event:i})}))}),[Oe.x,Oe.y]),(0,r.useEffect)((()=>{const{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:o}=ue.current;if(!e||null==D.current||!t||!o)return;const{onDragOver:i}=U.current,a=r.get(ze),s=a&&a.rect.current?{id:a.id,rect:a.rect.current,data:a.data,disabled:a.disabled}:null,l={active:e,activatorEvent:t,collisions:n,delta:{x:o.x,y:o.y},over:s};(0,j.unstable_batchedUpdates)((()=>{_e(s),null==i||i(l),v({type:"onDragOver",event:l})}))}),[ze]),R((()=>{ue.current={activatorEvent:Z,active:A,activeNode:ee,collisionRect:Be,collisions:He,droppableRects:q,draggableNodes:S,draggingNode:fe,draggingNodeRect:he,droppableContainers:k,over:Ze,scrollableAncestors:Ee,scrollAdjustedTranslate:Oe},N.current={initial:he,translated:Be}}),[A,ee,He,Be,S,fe,he,q,k,Ze,Ee,Oe]),it({...re,delta:M,draggingRect:Be,pointerCoordinates:Ne,scrollableAncestors:Ee,scrollableAncestorRects:je});const Ye=(0,r.useMemo)((()=>({active:A,activeNode:ee,activeNodeRect:se,activatorEvent:Z,collisions:He,containerNodeRect:ce,dragOverlay:de,draggableNodes:S,droppableContainers:k,droppableRects:q,over:Ze,measureDroppableContainers:$,scrollableAncestors:Ee,scrollableAncestorRects:je,measuringConfiguration:Q,measuringScheduled:K,windowRect:Ie})),[A,ee,se,Z,He,ce,de,S,k,q,Ze,$,Ee,je,Q,K,Ie]),Qe=(0,r.useMemo)((()=>({activatorEvent:Z,activators:Je,active:A,activeNodeRect:se,ariaDescribedById:{draggable:V},dispatch:b,draggableNodes:S,over:Ze,measureDroppableContainers:$})),[Z,Je,A,se,b,V,S,Ze,$]);return r.createElement(te.Provider,{value:y},r.createElement(Mt.Provider,{value:Qe},r.createElement(kt.Provider,{value:Ye},r.createElement(Tt.Provider,{value:Ge},c)),r.createElement(Pt,{disabled:!1===(null==s?void 0:s.restoreFocus)})),r.createElement(oe,{...s,hiddenTextDescribedById:V}))})),Dt=(0,r.createContext)(null),Ot="button";function Rt(e){let{id:t,data:n,disabled:o=!1,attributes:i}=e;const a=G("Draggable"),{activators:s,activatorEvent:l,active:c,activeNodeRect:u,ariaDescribedById:p,draggableNodes:d,over:f}=(0,r.useContext)(Mt),{role:h=Ot,roleDescription:m="draggable",tabIndex:g=0}=null!=i?i:{},b=(null==c?void 0:c.id)===t,v=(0,r.useContext)(b?Tt:Dt),[y,w]=z(),[I,x]=z(),E=function(e,t){return(0,r.useMemo)((()=>e.reduce(((e,n)=>{let{eventName:r,handler:o}=n;return e[r]=e=>{o(e,t)},e}),{})),[e,t])}(s,t),S=H(n);R((()=>(d.set(t,{id:t,key:a,node:y,activatorNode:I,data:S}),()=>{const e=d.get(t);e&&e.key===a&&d.delete(t)})),[d,t]);return{active:c,activatorEvent:l,activeNodeRect:u,attributes:(0,r.useMemo)((()=>({role:h,tabIndex:g,"aria-disabled":o,"aria-pressed":!(!b||h!==Ot)||void 0,"aria-roledescription":m,"aria-describedby":p.draggable})),[o,h,g,b,m,p.draggable]),isDragging:b,listeners:o?void 0:E,node:y,over:f,setNodeRef:w,setActivatorNodeRef:x,transform:v}}function Bt(){return(0,r.useContext)(kt)}const Ht={timeout:25};function Wt(e){let{animation:t,children:n}=e;const[o,i]=(0,r.useState)(null),[a,s]=(0,r.useState)(null),l=Z(n);return n||o||!l||i(l),R((()=>{if(!a)return;const e=null==o?void 0:o.key,n=null==o?void 0:o.props.id;null!=e&&null!=n?Promise.resolve(t(n,a)).then((()=>{i(null)})):i(null)}),[t,o,a]),r.createElement(r.Fragment,null,n,o?(0,r.cloneElement)(o,{ref:s}):null)}const zt={x:0,y:0,scaleX:1,scaleY:1};function Zt(e){let{children:t}=e;return r.createElement(Mt.Provider,{value:St},r.createElement(Tt.Provider,{value:zt},t))}const _t={position:"fixed",touchAction:"none"},Gt=e=>J(e)?"transform 250ms ease":void 0,Ut=(0,r.forwardRef)(((e,t)=>{let{as:n,activatorEvent:o,adjustScale:i,children:a,className:s,rect:l,style:c,transform:u,transition:p=Gt}=e;if(!l)return null;const d=i?u:{...u,scaleX:1,scaleY:1},f={..._t,width:l.width,height:l.height,top:l.top,left:l.left,transform:Q.Transform.toString(d),transformOrigin:i&&o?ue(o,l):void 0,transition:"function"==typeof p?p(o):p,...c};return r.createElement(n,{className:s,style:f,ref:t},a)})),Ft=e=>t=>{let{active:n,dragOverlay:r}=t;const o={},{styles:i,className:a}=e;if(null!=i&&i.active)for(const[e,s]of Object.entries(i.active))void 0!==s&&(o[e]=n.node.style.getPropertyValue(e),n.node.style.setProperty(e,s));if(null!=i&&i.dragOverlay)for(const[e,s]of Object.entries(i.dragOverlay))void 0!==s&&r.node.style.setProperty(e,s);return null!=a&&a.active&&n.node.classList.add(a.active),null!=a&&a.dragOverlay&&r.node.classList.add(a.dragOverlay),function(){for(const[e,t]of Object.entries(o))n.node.style.setProperty(e,t);null!=a&&a.active&&n.node.classList.remove(a.active)}},Vt={duration:250,easing:"ease",keyframes:e=>{let{transform:{initial:t,final:n}}=e;return[{transform:Q.Transform.toString(t)},{transform:Q.Transform.toString(n)}]},sideEffects:Ft({styles:{active:{opacity:"0"}}})};function Jt(e){let{config:t,draggableNodes:n,droppableContainers:r,measuringConfiguration:o}=e;return B(((e,i)=>{if(null===t)return;const a=n.get(e);if(!a)return;const s=a.node.current;if(!s)return;const l=vt(i);if(!l)return;const{transform:c}=T(i).getComputedStyle(i),u=we(c);if(!u)return;const p="function"==typeof t?t:function(e){const{duration:t,easing:n,sideEffects:r,keyframes:o}={...Vt,...e};return e=>{let{active:i,dragOverlay:a,transform:s,...l}=e;if(!t)return;const c={x:a.rect.left-i.rect.left,y:a.rect.top-i.rect.top},u={scaleX:1!==s.scaleX?i.rect.width*s.scaleX/a.rect.width:1,scaleY:1!==s.scaleY?i.rect.height*s.scaleY/a.rect.height:1},p={x:s.x-c.x,y:s.y-c.y,...u},d=o({...l,active:i,dragOverlay:a,transform:{initial:s,final:p}}),[f]=d,h=d[d.length-1];if(JSON.stringify(f)===JSON.stringify(h))return;const m=null==r?void 0:r({active:i,dragOverlay:a,...l}),g=a.node.animate(d,{duration:t,easing:n,fill:"forwards"});return new Promise((e=>{g.onfinish=()=>{null==m||m(),e()}}))}}(t);return Be(s,o.draggable.measure),p({active:{id:e,data:a.data,node:s,rect:o.draggable.measure(s)},draggableNodes:n,dragOverlay:{node:i,rect:o.dragOverlay.measure(l)},droppableContainers:r,measuringConfiguration:o,transform:u})}))}let Yt=0;function Qt(e){return(0,r.useMemo)((()=>{if(null!=e)return Yt++,Yt}),[e])}const Xt=r.memo((e=>{let{adjustScale:t=!1,children:n,dropAnimation:o,style:i,transition:a,modifiers:s,wrapperElement:l="div",className:c,zIndex:u=999}=e;const{activatorEvent:p,active:d,activeNodeRect:f,containerNodeRect:h,draggableNodes:m,droppableContainers:g,dragOverlay:b,over:v,measuringConfiguration:y,scrollableAncestors:w,scrollableAncestorRects:I,windowRect:x}=Bt(),E=(0,r.useContext)(Tt),S=Qt(null==d?void 0:d.id),M=Nt(s,{activatorEvent:p,active:d,activeNodeRect:f,containerNodeRect:h,draggingNodeRect:b.rect,over:v,overlayNodeRect:b.rect,scrollableAncestors:w,scrollableAncestorRects:I,transform:E,windowRect:x}),k=ut(f),j=Jt({config:o,draggableNodes:m,droppableContainers:g,measuringConfiguration:y}),C=k?b.setRef:void 0;return r.createElement(Zt,null,r.createElement(Wt,{animation:j},d&&S?r.createElement(Ut,{key:S,id:d.id,ref:C,as:l,activatorEvent:p,adjustScale:t,className:c,transition:a,rect:k,style:{zIndex:u,...i},transform:M},n):null))}));function qt(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function $t(e,t){return e.reduce(((e,n,r)=>{const o=t.get(n);return o&&(e[r]=o),e}),Array(e.length))}function Kt(e){return null!==e&&e>=0}const en=e=>{let{rects:t,activeIndex:n,overIndex:r,index:o}=e;const i=qt(t,r,n),a=t[o],s=i[o];return s&&a?{x:s.left-a.left,y:s.top-a.top,scaleX:s.width/a.width,scaleY:s.height/a.height}:null},tn={scaleX:1,scaleY:1},nn=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:o,rects:i,overIndex:a}=e;const s=null!=(t=i[n])?t:r;if(!s)return null;if(o===n){const e=i[a];return e?{x:0,y:n<a?e.top+e.height-(s.top+s.height):e.top-s.top,...tn}:null}const l=function(e,t,n){const r=e[t],o=e[t-1],i=e[t+1];if(!r)return 0;if(n<t)return o?r.top-(o.top+o.height):i?i.top-(r.top+r.height):0;return i?i.top-(r.top+r.height):o?r.top-(o.top+o.height):0}(i,o,n);return o>n&&o<=a?{x:0,y:-s.height-l,...tn}:o<n&&o>=a?{x:0,y:s.height+l,...tn}:{x:0,y:0,...tn}};const rn="Sortable",on=r.createContext({activeIndex:-1,containerId:rn,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:en,disabled:{draggable:!1,droppable:!1}});function an(e){let{children:t,id:n,items:o,strategy:i=en,disabled:a=!1}=e;const{active:s,dragOverlay:l,droppableRects:c,over:u,measureDroppableContainers:p}=Bt(),d=G(rn,n),f=Boolean(null!==l.rect),h=(0,r.useMemo)((()=>o.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[o]),m=null!=s,g=s?h.indexOf(s.id):-1,b=u?h.indexOf(u.id):-1,v=(0,r.useRef)(h),y=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(h,v.current),w=-1!==b&&-1===g||y,I=function(e){return"boolean"==typeof e?{draggable:e,droppable:e}:e}(a);R((()=>{y&&m&&p(h)}),[y,h,m,p]),(0,r.useEffect)((()=>{v.current=h}),[h]);const x=(0,r.useMemo)((()=>({activeIndex:g,containerId:d,disabled:I,disableTransforms:w,items:h,overIndex:b,useDragOverlay:f,sortedRects:$t(h,c),strategy:i})),[g,d,I.draggable,I.droppable,w,h,b,c,f,i]);return r.createElement(on.Provider,{value:x},t)}const sn=e=>{let{id:t,items:n,activeIndex:r,overIndex:o}=e;return qt(n,r,o).indexOf(t)},ln=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:o,items:i,newIndex:a,previousItems:s,previousContainerId:l,transition:c}=e;return!(!c||!r)&&((s===i||o!==a)&&(!!n||a!==o&&t===l))},cn={duration:200,easing:"ease"},un="transform",pn=Q.Transition.toString({property:un,duration:0,easing:"linear"}),dn={roleDescription:"sortable"};function fn(e){let{animateLayoutChanges:t=ln,attributes:n,disabled:o,data:i,getNewIndex:a=sn,id:s,strategy:l,resizeObserverConfig:c,transition:u=cn}=e;const{items:p,containerId:d,activeIndex:f,disabled:h,disableTransforms:m,sortedRects:g,overIndex:b,useDragOverlay:v,strategy:y}=(0,r.useContext)(on),w=function(e,t){var n,r;if("boolean"==typeof e)return{draggable:e,droppable:!1};return{draggable:null!=(n=null==e?void 0:e.draggable)?n:t.draggable,droppable:null!=(r=null==e?void 0:e.droppable)?r:t.droppable}}(o,h),I=p.indexOf(s),x=(0,r.useMemo)((()=>({sortable:{containerId:d,index:I,items:p},...i})),[d,i,I,p]),E=(0,r.useMemo)((()=>p.slice(p.indexOf(s))),[p,s]),{rect:S,node:M,isOver:k,setNodeRef:j}=function(e){let{data:t,disabled:n=!1,id:o,resizeObserverConfig:i}=e;const a=G("Droppable"),{active:s,dispatch:l,over:c,measureDroppableContainers:u}=(0,r.useContext)(Mt),p=(0,r.useRef)({disabled:n}),d=(0,r.useRef)(!1),f=(0,r.useRef)(null),h=(0,r.useRef)(null),{disabled:m,updateMeasurementsFor:g,timeout:b}={...Ht,...i},v=H(null!=g?g:o),y=pt({callback:(0,r.useCallback)((()=>{d.current?(null!=h.current&&clearTimeout(h.current),h.current=setTimeout((()=>{u(Array.isArray(v.current)?v.current:[v.current]),h.current=null}),b)):d.current=!0}),[b]),disabled:m||!s}),w=(0,r.useCallback)(((e,t)=>{y&&(t&&(y.unobserve(t),d.current=!1),e&&y.observe(e))}),[y]),[I,x]=z(w),E=H(t);return(0,r.useEffect)((()=>{y&&I.current&&(y.disconnect(),d.current=!1,y.observe(I.current))}),[I,y]),(0,r.useEffect)((()=>(l({type:ie.RegisterDroppable,element:{id:o,key:a,disabled:n,node:I,rect:f,data:E}}),()=>l({type:ie.UnregisterDroppable,key:a,id:o}))),[o]),(0,r.useEffect)((()=>{n!==p.current.disabled&&(l({type:ie.SetDroppableDisabled,id:o,key:a,disabled:n}),p.current.disabled=n)}),[o,a,n,l]),{active:s,rect:f,isOver:(null==c?void 0:c.id)===o,node:I,over:c,setNodeRef:x}}({id:s,data:x,disabled:w.droppable,resizeObserverConfig:{updateMeasurementsFor:E,...c}}),{active:C,activatorEvent:P,activeNodeRect:N,attributes:T,setNodeRef:A,listeners:L,isDragging:D,over:O,setActivatorNodeRef:B,transform:W}=Rt({id:s,data:x,attributes:{...dn,...n},disabled:w.draggable}),Z=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)((()=>e=>{t.forEach((t=>t(e)))}),t)}(j,A),_=Boolean(C),U=_&&!m&&Kt(f)&&Kt(b),F=!v&&D,V=F&&U?W:null,Y=U?null!=V?V:(null!=l?l:y)({rects:g,activeNodeRect:N,activeIndex:f,overIndex:b,index:I}):null,X=Kt(f)&&Kt(b)?a({id:s,items:p,activeIndex:f,overIndex:b}):I,q=null==C?void 0:C.id,$=(0,r.useRef)({activeId:q,items:p,newIndex:X,containerId:d}),K=p!==$.current.items,ee=t({active:C,containerId:d,isDragging:D,isSorting:_,id:s,index:I,items:p,newIndex:$.current.newIndex,previousItems:$.current.items,previousContainerId:$.current.containerId,transition:u,wasDragging:null!=$.current.activeId}),te=function(e){let{disabled:t,index:n,node:o,rect:i}=e;const[a,s]=(0,r.useState)(null),l=(0,r.useRef)(n);return R((()=>{if(!t&&n!==l.current&&o.current){const e=i.current;if(e){const t=xe(o.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&s(n)}}n!==l.current&&(l.current=n)}),[t,n,o,i]),(0,r.useEffect)((()=>{a&&s(null)}),[a]),a}({disabled:!ee,index:I,node:M,rect:S});return(0,r.useEffect)((()=>{_&&$.current.newIndex!==X&&($.current.newIndex=X),d!==$.current.containerId&&($.current.containerId=d),p!==$.current.items&&($.current.items=p)}),[_,X,d,p]),(0,r.useEffect)((()=>{if(q===$.current.activeId)return;if(q&&!$.current.activeId)return void($.current.activeId=q);const e=setTimeout((()=>{$.current.activeId=q}),50);return()=>clearTimeout(e)}),[q]),{active:C,activeIndex:f,attributes:T,data:x,rect:S,index:I,newIndex:X,items:p,isOver:k,isSorting:_,isDragging:D,listeners:L,node:M,overIndex:b,over:O,setNodeRef:Z,setActivatorNodeRef:B,setDroppableNodeRef:j,setDraggableNodeRef:A,transform:null!=te?te:Y,transition:function(){if(te||K&&$.current.newIndex===I)return pn;if(F&&!J(P)||!u)return;if(_||ee)return Q.Transition.toString({...u,property:un});return}()}}Ge.Down,Ge.Right,Ge.Up,Ge.Left;function hn(){return hn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hn.apply(null,arguments)}const mn=(0,r.forwardRef)((({shortcode:e,depth:t=0,isHovering:n=!1,isDragging:o=!1,isAnyDragging:i=!1,isOverlay:a=!1,childCount:s=0,onChangeHoveringBlock:l,onChangeEditingBlock:c,onDuplicateBlock:p,onRemoveBlock:d},f)=>{const{attributes:h,listeners:m,setNodeRef:g,transform:b,transition:v,isDragging:y}=fn({id:e.uid}),w={transform:Q.Transform.toString(b),transition:v,paddingLeft:15*t+"px",opacity:y?0:null,height:y?"0px":null};let I="wprm-template-menu-block";return n&&(I+=" wprm-template-menu-block-hover"),(y||o)&&(I+=" wprm-template-menu-block-dragging"),a&&(I+=" wprm-template-menu-block-overlay"),x(e)&&(I+=" wprm-template-menu-block-container"),r.createElement("div",hn({ref:e=>{g(e),f&&("function"==typeof f?f(e):f.current=e)},className:I,style:w,"data-uid":e.uid,onMouseEnter:l&&!i?()=>l(e.uid):void 0,onMouseLeave:l&&!i?()=>l(!1):void 0},h),r.createElement("span",hn({className:"wprm-template-menu-block-drag-handle"},m),r.createElement(u.A,{type:"drag"})),r.createElement("span",{className:"wprm-template-menu-block-name",onClick:c?()=>c(e.uid):void 0},e.name,a&&s>0&&r.createElement("span",{className:"wprm-template-menu-block-child-count"},"+",s)),r.createElement("span",{className:"wprm-template-menu-block-actions"},r.createElement(u.A,{type:"pencil",title:"Edit Block",onClick:t=>{t.stopPropagation(),c&&c(e.uid)}}),r.createElement(u.A,{type:"duplicate",title:"Duplicate Block",onClick:t=>{t.stopPropagation(),p&&p(e.uid)}}),r.createElement(u.A,{type:"trash",title:"Remove Block",onClick:t=>{t.stopPropagation(),d&&confirm('Are you sure you want to delete the "'+e.name+'" block?')&&d(e.uid)}})))}));mn.displayName="SortableBlockItem";const gn=mn,bn=(e,t)=>{const n=e.findIndex((e=>e.uid===t));if(-1===n)return[];const r=e[n].depth||0,o=[];for(let i=n+1;i<e.length;i++){if((e[i].depth||0)<=r)break;o.push(e[i])}return o},vn=(e,t)=>bn(e,t).length,yn=({shortcodes:e,hoveringBlock:t,onChangeHoveringBlock:n,onChangeEditingBlock:o,onDuplicateBlock:i,onRemoveBlock:a,onChangeMovingBlock:s,onMoveBlock:l})=>{const[c,u]=(0,r.useState)(null),[p,d]=(0,r.useState)(null),[f,h]=(0,r.useState)(0),[m,g]=(0,r.useState)(null),[b,v]=(0,r.useState)(0),y=(0,r.useRef)(new Map),w=(0,r.useMemo)((()=>null===c?null:e.find((e=>e.uid===c))),[c,e]),I=(0,r.useMemo)((()=>null===c?0:vn(e,c)),[c,e]),E=(0,r.useMemo)((()=>null===c?e:((e,t)=>{if(!t||0===t.length)return e;const n=new Set;for(const r of t)bn(e,r).forEach((e=>n.add(e.uid)));return e.filter((e=>!n.has(e.uid)))})(e,[c])),[c,e]),S=(0,r.useMemo)((()=>E.map((e=>e.uid))),[E]),M=((0,r.useMemo)((()=>null===p?null:e.find((e=>e.uid===p))),[p,e]),function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)((()=>[...t].filter((e=>null!=e))),[...t])}(se(Ke,{activationConstraint:{distance:5}}),se(Ye))),k=(0,r.useCallback)(((t,n)=>{if(!t||!w)return null;const r=e.find((e=>e.uid===t.id));if(!r)return null;if(((e,t,n)=>{const r=e.findIndex((e=>e.uid===t)),o=e.findIndex((e=>e.uid===n));if(-1===r||-1===o)return!1;if(o<=r)return!1;const i=e[r].depth||0;for(let a=r+1;a<=o;a++)if((e[a].depth||0)<=i)return!1;return!0})(e,c,t.id))return null;const o=x(r);if((n?.x||0)>15&&o)return"inside";return e.findIndex((e=>e.uid===c))<e.findIndex((e=>e.uid===t.id))?"after":"before"}),[c,w,e]),j=(0,r.useCallback)((t=>{const{active:r}=t;u(r.id),d(null),g(null);const o=y.current.get(r.id),i=vn(e,r.id);let a=0;if(o){const t=o.getBoundingClientRect();if(a=t.height,i>0){const n=bn(e,r.id),i=o.closest(".wprm-sortable-block-list");if(i&&n.length>0){let e=null;if(n.forEach((t=>{let n=y.current.get(t.uid);if(n||(n=i.querySelector(`[data-uid="${t.uid}"]`)),n){const t=n.getBoundingClientRect();(null===e||t.bottom>e)&&(e=t.bottom)}})),null!==e){a+=e-t.bottom}}}}v(a),n&&n(!1)}),[n,e]),C=(0,r.useCallback)((e=>{const{delta:t}=e;t&&h(t.x)}),[]),P=(0,r.useCallback)((e=>{const{over:t,delta:n}=e;if(t){d(t.id);const e=k(t,n);g(e)}else d(null),g(null)}),[k]),N=(0,r.useCallback)((t=>{const{active:n,over:r,delta:o}=t;if(r&&n.id!==r.id){const t=e.find((e=>e.uid===n.id)),i=r.id,a=k(r,o);t&&a&&(s(t),setTimeout((()=>{l(i,a)}),0))}u(null),d(null),h(0),g(null),v(0)}),[e,k,s,l]),T=(0,r.useCallback)((()=>{u(null),d(null),h(0),g(null),v(0)}),[]),A={droppable:{strategy:st.Always}},L=(0,r.useCallback)((e=>t=>{t?y.current.set(e,t):y.current.delete(e)}),[]),D=()=>{if(!p||!m||c===p)return null;const t=e.findIndex((e=>e.uid===p));if(-1===t)return null;const n=e[t].depth||0;let o=n;"inside"===m&&(o=n+1);let i="after";return"before"===m?i="before":"inside"===m&&(i="inside"),r.createElement("div",{className:`wprm-sortable-drop-indicator wprm-sortable-drop-indicator-${i}`,style:{marginLeft:15*o+"px"},"data-over-uid":p})};return r.createElement(Lt,{sensors:M,collisionDetection:he,onDragStart:j,onDragMove:C,onDragOver:P,onDragEnd:N,onDragCancel:T,measuring:A},r.createElement(an,{items:S,strategy:nn},r.createElement("div",{className:"wprm-sortable-block-list"},E.map(((e,s)=>{const l=void 0!==e.depth?e.depth:0,u=e.uid===p,d=u&&"before"===m,f=u&&"after"===m,h=u&&"inside"===m;return r.createElement(r.Fragment,{key:e.uid},d&&D(),r.createElement(gn,{ref:L(e.uid),shortcode:e,depth:l,isHovering:e.uid===t,isDragging:e.uid===c,isAnyDragging:null!==c,onChangeHoveringBlock:n,onChangeEditingBlock:o,onDuplicateBlock:i,onRemoveBlock:a}),h&&r.createElement("div",{className:"wprm-sortable-drop-indicator wprm-sortable-drop-indicator-inside",style:{marginLeft:15*(l+1)+"px"}}),f&&D())})),b>0&&r.createElement("div",{className:"wprm-sortable-children-spacer",style:{height:`${b}px`,width:"100%",flexShrink:0},"aria-hidden":"true"}))),r.createElement(Xt,{dropAnimation:null},w?r.createElement("div",{className:"wprm-drag-overlay-wrapper",style:{transform:"translate(10px, 10px)"}},r.createElement(gn,{shortcode:w,depth:0,isOverlay:!0,isDragging:!0,childCount:I})):null))},wn=e=>j.createPortal(e.children,document.getElementById("wprm-add-patterns")),In=e=>j.createPortal(e.children,document.getElementById("wprm-add-blocks"));var xn=n(7466);class En extends r.Component{getOptions(e){return e?g.A.template.searchRecipes(e).then((e=>e.data.recipes_with_id)):Promise.resolve({options:[]})}render(){return r.createElement(xn.Ay,{className:"wprm-main-container-preview-recipe",placeholder:"Select or start typing to search for a recipe to preview",value:this.props.recipe,onChange:this.props.onRecipeChange,getOptionValue:({id:e})=>e,getOptionLabel:({text:e})=>e,defaultOptions:wprm_admin.latest_recipes,loadOptions:this.getOptions.bind(this),noOptionsMessage:()=>"Create a recipe on the Manage page",clearable:!1})}}const Sn={patterns:{"ingredient-instruction-columns":{name:"Ingredient & Instruction Columns",description:"Two-column layout with ingredients on the left and instructions on the right.",html:'<div class="wprm-layout-column-container wprm-column-rows-tablet wprm-column-gap-10">\n\t<div class="wprm-layout-column wprm-column-width-33">\n\t\t[wprm-recipe-ingredients header="Ingredients" notes_style="faded" group_style="uppercase-faded" header_style="uppercase" unit_conversion=""]\n\t</div>\n\t<div class="wprm-layout-column wprm-column-width-66">\n\t\t[wprm-recipe-instructions header="Instructions" group_style="uppercase-faded" header_style="uppercase" text_margin="5px" image_size="medium"]\n\t</div>\n</div>',css:!1},"image-overlay":{name:"Image with Name Overlay",description:"Recipe image with the name overlayed on top of the image.",html:'<div class="wprm-layout-container image-overlay-container">\n\t[wprm-recipe-image size="600x300!"]\n\t<div class="wprm-layout-container image-overlay">\n\t\t[wprm-recipe-name]\n\t</div>\n</div>',css:"%template% .image-overlay-container {\n\tposition: relative;\n}\n%template% .image-overlay {\n\tposition: absolute;\n\tbottom: 0;\n\tbackground-color: white;\n\tpadding: 5px 10px;\n\tmargin: 10px\n}"}},newPatterns:[]},{shortcodeGroups:Mn,shortcodeKeysAlphebetically:kn,getShortcodeId:jn,newShortcodes:Cn}=I.A,{newPatterns:Pn}=Sn,Nn={patterns:{group:"Patterns",description:"Reusable block combinations to quickly add common layouts.",shortcodes:Object.entries(Sn.patterns).map((([e,t])=>({id:e,name:t.name,description:t.description||"",isPattern:!0,isNew:Pn.includes(e)})))},...Mn},Tn=({onSelectBlock:e,onSelectPattern:t,searchQuery:n="",scrollToCategory:o=null,showNewOnly:i=!1,onToggleShowNewOnly:a=null})=>{const s=(0,r.useRef)({}),c=(0,r.useMemo)((()=>{const e=n.trim().toLowerCase(),t=e.length>0,r={};return Object.keys(Nn).forEach((n=>{const o=Nn[n];let a=o.shortcodes;i&&(a=a.filter((e=>{const t=jn(e);return e.isPattern?Pn.includes(t):Cn.includes(t)}))),t&&(a=a.filter((t=>{const n=jn(t),r=(t.isPattern?t.name:l.A.getShortcodeName(n)).toLowerCase(),o=(t.description||"").toLowerCase();return r.includes(e)||o.includes(e)}))),a.length>0&&(r[n]={...o,shortcodes:a})})),r}),[n,i]),u=(0,r.useMemo)((()=>{if(!i)return 0;const e=n.trim().toLowerCase(),t=e.length>0;let r=0;return Object.keys(Nn).forEach((n=>{let o=Nn[n].shortcodes;o=o.filter((e=>{const t=jn(e);return e.isPattern?!Pn.includes(t):!Cn.includes(t)})),o=t?o.filter((t=>{const n=jn(t),r=(t.isPattern?t.name:l.A.getShortcodeName(n)).toLowerCase(),o=(t.description||"").toLowerCase();return r.includes(e)||o.includes(e)})):o.filter((e=>{const t=jn(e);return kn.includes(t)||w.A.layoutElements.includes(t)||e.isPattern})),r+=o.length})),r}),[i,n]),p=e=>{if(e.isPattern)return!0;const t=jn(e);return kn.includes(t)||w.A.layoutElements.includes(t)};return(0,r.useEffect)((()=>{if(o&&s.current[o]){const e=s.current[o],t=e.closest(".wprm-add-blocks-view");if(t){const n=50,r=t.getBoundingClientRect(),o=e.getBoundingClientRect(),i=(t.scrollTop||window.pageYOffset)+o.top-r.top-n;if(t.scrollHeight>t.clientHeight)t.scrollTo({top:i,behavior:"smooth"});else{const e=o.top+window.pageYOffset-n;window.scrollTo({top:e,behavior:"smooth"})}}}}),[o]),r.createElement("div",{className:"wprm-add-blocks-view"},r.createElement("div",{className:"wprm-add-blocks-view-header"},r.createElement("h2",null,"Add Block to Template"),r.createElement("p",null,"Select a block to add to your template. Each block displays different recipe information or functionality.")),r.createElement("div",{className:"wprm-add-blocks-view-content"},0===Object.keys(c).length?r.createElement("div",{className:"wprm-add-blocks-view-empty"},i&&u>0?r.createElement("p",null,n.trim()?r.createElement(r.Fragment,null,u," existing ",1===u?"block":"blocks",' match "',n,'",'," ",r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),a&&a(!1)},className:"wprm-add-blocks-view-empty-link"},"click to show")):r.createElement(r.Fragment,null,u," existing ",1===u?"block":"blocks"," available,"," ",r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),a&&a(!1)},className:"wprm-add-blocks-view-empty-link"},"click to show"))):r.createElement("p",null,i&&n.trim()?`No new blocks found matching "${n}"`:i?"No new blocks found":`No blocks found matching "${n}"`)):Object.keys(c).map((n=>{const o=c[n],i=o.shortcodes.filter(p);return 0===i.length?null:r.createElement("div",{key:n,className:"wprm-add-blocks-view-group",ref:e=>{s.current[n]=e},id:`wprm-add-blocks-category-${n}`},r.createElement("div",{className:"wprm-add-blocks-view-group-header"},r.createElement("h3",{className:"wprm-add-blocks-view-group-title"},o.group),o.description&&r.createElement("p",{className:"wprm-add-blocks-view-group-description"},o.description)),r.createElement("div",{className:"wprm-add-blocks-view-grid"},i.map((n=>{const o=jn(n),i=n.isPattern?n.name:l.A.getShortcodeName(o),a=(e=>e.description||"No description available")(n),s=n.isPattern?Pn.includes(o):Cn.includes(o);return r.createElement("div",{key:o,className:"wprm-add-blocks-view-card"+(s?" wprm-add-blocks-view-card-new":""),onClick:()=>(n=>{const r=jn(n);n.isPattern&&t?t(r):e(r)})(n)},r.createElement("div",{className:"wprm-add-blocks-view-card-header"},r.createElement("h4",{className:"wprm-add-blocks-view-card-title"},i,s&&r.createElement("span",{className:"wprm-add-blocks-view-card-new-badge"},"New"))),r.createElement("div",{className:"wprm-add-blocks-view-card-body"},r.createElement("p",{className:"wprm-add-blocks-view-card-description"},a)),r.createElement("div",{className:"wprm-add-blocks-view-card-footer"},r.createElement("span",{className:"wprm-add-blocks-view-card-action"},"Click to add →")))}))))}))))},{shortcodeGroups:An,shortcodeKeysAlphebetically:Ln,getShortcodeId:Dn}=I.A,On=e=>{const t=!(!e||!e.hasOwnProperty("id"))&&e.id;return e&&"demo"!==e&&"demo"!==t&&0!==t?e:{id:"demo",text:"Use WPRM Demo Recipe"}};class Rn extends r.Component{constructor(e){super(e),this.previewContext=`preview-${Math.random().toString(36).slice(2)}`;const t=On(e.forcedRecipe?e.forcedRecipe:wprm_admin_template.preview_recipe);this.state={recipe:t,width:600,html:"",htmlMap:"",parsedHtml:"",shortcodes:[],editingBlock:void 0!==e.editingBlock&&e.editingBlock,addingPattern:!1,addingBlock:!1,movingBlock:!1,hoveringBlock:!1,copyPasteMode:!1,copyPasteBlock:!1,hasError:!1,addBlocksSearchQuery:"",scrollToCategory:null,showNewBlocksOnly:!1}}componentDidCatch(){this.setState({hasError:!0})}componentDidMount(){this.checkHtmlChange()}componentDidUpdate(e){if(this.props.forcedRecipe&&this.props.forcedRecipe!==e.forcedRecipe){const e=On(this.props.forcedRecipe),t=!(!this.state.recipe||!this.state.recipe.id)&&this.state.recipe.id;if(e.id!==t)return void this.setState({recipe:e,html:""})}void 0!==this.props.editingBlock&&this.props.editingBlock!==e.editingBlock&&this.props.editingBlock!==this.state.editingBlock&&this.setState({editingBlock:this.props.editingBlock}),this.props.mode!==e.mode?this.setState({hoveringBlock:!1,addBlocksSearchQuery:"",scrollToCategory:null},(()=>{this.changeHtml()})):"shortcode-generator"===this.props.mode?0!==this.state.editingBlock?this.onChangeEditingBlock(0):this.checkHtmlChange():"blocks"===this.props.mode&&this.props.mode!==e.mode?void 0===this.props.editingBlock||!1===this.props.editingBlock?this.onChangeEditingBlock(!1):this.setState({editingBlock:this.props.editingBlock}):this.checkHtmlChange()}checkHtmlChange(){this.props.template.html!==this.state.html&&this.changeHtml()}changeHtml(){const e=this.parseHtml(this.props.template.html);this.setState({html:this.props.template.html,htmlMap:e.htmlMap,parsedHtml:e.html,shortcodes:e.shortcodes,hasError:!1})}parseHtml(e){let t=[];const n=/\[([^\s\]]*)\s*([^\]]*?)\]|<div class="(wprm-layout-[^\s"]*)\s?(.*?)"(?: style="(.*?)")?>/gim;let o,a=e,s={};for(;null!==(o=n.exec(e));)if("["===o[0].substring(0,1)){let e=l.A.getShortcodeAttributes(o[2]),n=t.length,r=o[1];const i=l.A.getShortcodeName(r),c="/"===r.substring(0,1);if(I.A.contentShortcodes.includes(r)){a=a.replace(o[0],"\x3c!--wprm-opening-"+n+"--\x3e"),s[r]={match:o,uid:n,id:r,name:i,attributes:e},t[n]=!1;continue}if(c){const e=!!s.hasOwnProperty(r.substring(1))&&s[r.substring(1)];let n=!1;if(e){a=a.replace(o[0],"\x3c!--wprm-closing-"+e.uid+"--\x3e");let r;null!==(r=new RegExp("\x3c!--wprm-opening-"+e.uid+"--\x3e(.*)\x3c!--wprm-closing-"+e.uid+"--\x3e","mis").exec(a))&&(n=r[1],a=a.replace("\x3c!--wprm-opening-"+e.uid+"--\x3e",'<wprm-replace-shortcode-with-block uid="'+e.uid+'">'),a=a.replace("\x3c!--wprm-closing-"+e.uid+"--\x3e","\x3c!--wprm-closing-"+e.uid+"--\x3e</wprm-replace-shortcode-with-block>"),t[e.uid]={uid:e.uid,id:e.id,name:e.name,attributes:e.attributes,content:n})}e&&!1!==n||(a=a.replace(o[0],""));continue}a=a.replace(o[0],'<wprm-replace-shortcode-with-block uid="'+n+'"></wprm-replace-shortcode-with-block>'),t[n]={uid:n,id:r,name:i,attributes:e,content:!1}}else{let e,n=t.length,r=o[3],i=o[4]?o[4].split(" "):[],s=o[5]?o[5].split(";"):[],c=l.A.getShortcodeName(r);const u=i.find((e=>!e.startsWith("wprm-")));u&&(c+=" ("+u+")"),s=s.map((e=>e.replace("--"+r+"-",""))),s=s.filter((e=>""!==e.trim()));const p=o[0].replace('">','" uid="'+n+'">'),d=a.indexOf(o[0])+o[0].length,f=a.substring(d),h=this.getIndexOfClosingDiv(f);-1===h?(e="",a=a.substring(0,d+h+1)+"\x3c!--wprm-closing-"+n+"--\x3e</div>"+a.substring(d+h+1)):(e=f.substring(0,h),a=a.substring(0,d+h)+"\x3c!--wprm-closing-"+n+"--\x3e"+a.substring(d+h)),a=a.replace(o[0],p),t[n]={uid:n,id:r,name:c,classes:i,style:s,content:e}}let u=r.createElement(c.A,null);try{const e=!!this.state.recipe&&this.state.recipe.id,n={replace:function(r){return(e=>{e.attribs&&["onmouseenter","onmouseleave","onmouseover","onmouseout","onclick","ondblclick","onmousedown","onmouseup","onfocus","onblur","onchange","oninput","onsubmit","onkeydown","onkeyup","onkeypress","ontouchstart","ontouchend","ontouchmove","onload","onerror","onscroll"].forEach((t=>{e.attribs.hasOwnProperty(t)&&delete e.attribs[t]}))})(r),"wprm-replace-shortcode-with-block"==r.name?this.replaceDomNodeWithBlock(r,t,e,n):"div"==r.name&&r.attribs.class&&"wprm-layout-"===r.attribs.class.substring(0,12)?this.replaceDomNodeWithElement(r,t,e,n):void 0}.bind(this)};u=i(a,n)}catch(p){console.log("Error parsing HTML",p)}return t=this.calculateShortcodeDepths(t,a),{htmlMap:a,html:u,shortcodes:t}}calculateShortcodeDepths(e,t){const n={};let r=0;const o=[],i=/<wprm-replace-shortcode-with-block\s+uid="(\d+)"|<div[^>]*uid="(\d+)"[^>]*>|<\/wprm-replace-shortcode-with-block>|<!--wprm-closing-(\d+)-->/g;let a;for(;null!==(a=i.exec(t));)if(a[1]){const e=parseInt(a[1]);n[e]=r,o.push({type:"block",uid:e}),r++}else if(a[2]){const e=parseInt(a[2]);a[0].includes("wprm-layout-")&&(n[e]=r,o.push({type:"element",uid:e}),r++)}else if(a[0].includes("</wprm-replace-shortcode-with-block>"))o.length>0&&"block"===o[o.length-1].type&&(o.pop(),r=Math.max(0,r-1));else if(a[3]){const e=parseInt(a[3]);o.length>0&&o[o.length-1].uid===e&&"element"===o[o.length-1].type&&(o.pop(),r=Math.max(0,r-1))}return e.map((e=>e&&"object"==typeof e?{...e,depth:void 0!==n[e.uid]?n[e.uid]:0}:e))}getIndexOfClosingDiv(e){let t=-1,n=1,r=0;for(;r<e.length;){if("<div"===e.substring(r,r+4)?n++:"</div"===e.substring(r,r+5)&&n--,0===n){t=r;break}r++}return t}replaceDomNodeWithElement(e,t,n,i){const a=t[e.attribs.uid];return a?r.createElement(k,{key:a.uid,recipeId:n,shortcode:a,shortcodes:t,mode:this.props.mode,onClassesChange:this.onClassesChange.bind(this),onStyleChange:this.onStyleChange.bind(this),editingBlock:this.state.editingBlock,onChangeEditingBlock:this.onChangeEditingBlock.bind(this),hoveringBlock:this.state.hoveringBlock,onChangeHoveringBlock:this.onChangeHoveringBlock.bind(this),onRemoveBlock:this.onRemoveBlock.bind(this),onChangeMovingBlock:this.onChangeMovingBlock.bind(this),copyPasteMode:this.state.copyPasteMode,copyPasteBlock:this.state.copyPasteBlock,replaceDomNodeWithElement:this.replaceDomNodeWithElement.bind(this),replaceDomNodeWithBlock:this.replaceDomNodeWithBlock.bind(this),parseOptions:i},!1!==a.content?(0,o.domToReact)(e.children,i):null):null}replaceDomNodeWithBlock(e,t,n,i){const a=t[e.attribs.uid];return a?r.createElement(S,{key:a.uid,mode:"shortcode-generator"===this.props.mode?this.props.mode:null,templateMode:this.props.mode,previewContext:this.previewContext,recipeId:n,shortcode:a,shortcodes:t,onBlockPropertyChange:this.onBlockPropertyChange.bind(this),onBlockPropertiesChange:this.onBlockPropertiesChange.bind(this),editingBlock:this.state.editingBlock,onChangeEditingBlock:this.onChangeEditingBlock.bind(this),hoveringBlock:this.state.hoveringBlock,onChangeHoveringBlock:this.onChangeHoveringBlock.bind(this),onRemoveBlock:this.onRemoveBlock.bind(this),onChangeMovingBlock:this.onChangeMovingBlock.bind(this),copyPasteMode:this.state.copyPasteMode,copyPasteBlock:this.state.copyPasteBlock,onChangeCopyPasteMode:this.onChangeCopyPasteMode.bind(this),replaceDomNodeWithElement:this.replaceDomNodeWithElement.bind(this),replaceDomNodeWithBlock:this.replaceDomNodeWithBlock.bind(this),parseOptions:i},!1!==a.content?(0,o.domToReact)(e.children,i):null):null}unparseHtml(){let e=this.state.htmlMap;for(let t of this.state.shortcodes)if(w.A.layoutElements.includes(t.id)){let n;if(null!==(n=new RegExp('<div class="wprm-layout-[^>]*? uid="'+t.uid+'">',"mis").exec(e))){let r=[t.id];t.hasOwnProperty("classes")&&t.classes.length&&(r=r.concat(t.classes));let o="";if(t.hasOwnProperty("style")&&t.style.length){let e=t.style.map((e=>"--"+t.id+"-"+e));o=' style="'+e.join(";")+';"'}const i='<div class="'+r.join(" ")+'"'+o+">";e=e.replace(n[0],i),e=e.replace("\x3c!--wprm-closing-"+t.uid+"--\x3e","")}}else{let n=l.A.getFullShortcode(t);if(!1!==t.content){const r="[/"+t.id+"]";e=e.replace('<wprm-replace-shortcode-with-block uid="'+t.uid+'">',n),e=e.replace("\x3c!--wprm-closing-"+t.uid+"--\x3e</wprm-replace-shortcode-with-block>",r)}else e=e.replace('<wprm-replace-shortcode-with-block uid="'+t.uid+'"></wprm-replace-shortcode-with-block>',n)}return e}onClassesChange(e,t,n={}){let r=this.state;r.shortcodes[e].classes=t;const o=n.historyMode||"immediate",i=!!n.historyBoundary,a=n.historyPropertyId||!1;this.setState(r,(()=>{let e=this.unparseHtml();this.props.onChangeHTML(e,{historyMode:o,historyBoundary:i,historyPropertyId:a})}))}onStyleChange(e,t,n={}){let r=this.state;r.shortcodes[e].style=t;const o=n.historyMode||"immediate",i=!!n.historyBoundary,a=n.historyPropertyId||!1;this.setState(r,(()=>{let e=this.unparseHtml();this.props.onChangeHTML(e,{historyMode:o,historyBoundary:i,historyPropertyId:a})}))}onBlockPropertyChange(e,t,n,r={}){let o={};o[t]=n,this.onBlockPropertiesChange(e,o,r)}onBlockPropertiesChange(e,t,n={}){let r=this.state;r.shortcodes[e].attributes={...r.shortcodes[e].attributes,...t};const o=n.historyMode||"immediate",i=!!n.historyBoundary,a=n.historyPropertyId||!1;this.setState(r,(()=>{let e=this.unparseHtml();this.props.onChangeHTML(e,{historyMode:o,historyBoundary:i,historyPropertyId:a})}))}onChangeEditingBlock(e){e!==this.state.editingBlock&&this.setState({editingBlock:e,hoveringBlock:!1,copyPasteMode:!1,copyPasteBlock:!1},(()=>{this.props.onChangeEditingBlock&&this.props.onChangeEditingBlock(e),this.changeHtml()}))}onChangeCopyPasteMode(e,t){this.setState((n=>({copyPasteMode:e,copyPasteBlock:t,editingBlock:n.editingBlock})))}onChangeHoveringBlock(e){e!==this.state.hoveringBlock&&this.setState({hoveringBlock:e})}onChangeAddingPattern(e){e!==this.state.addingPattern&&this.setState({addingPattern:e})}onAddPattern(e,t="after"){const n=Sn.patterns[this.state.addingPattern];if(n&&(n.hasOwnProperty("html")&&n.html&&this.onAddHTML(n.html,e,t),n.hasOwnProperty("css")&&n.css)){const e=n.css.replace(/%template%/g,".wprm-recipe-template-"+this.props.template.slug),t=this.props.template.style.css+"\n"+e;this.props.onChangeCSS(t,{historyMode:"immediate"})}}onChangeAddingBlock(e){e!==this.state.addingBlock&&this.setState({addingBlock:e})}onAddBlock(e,t="after"){let n="["+this.state.addingBlock+"]";I.A.contentShortcodes.includes(this.state.addingBlock)&&(n="["+this.state.addingBlock+"]\n[/"+this.state.addingBlock+"]"),w.A.layoutElements.includes(this.state.addingBlock)&&(n='<div class="'+this.state.addingBlock+'">\n</div>'),this.onAddHTML(n,e,t,(e=>{this.onChangeEditingBlock(e)}))}onAddHTML(e,t,n="after",r=!1){let o,i=this.state.htmlMap;if("start"===t)i=e+"\n"+i,o=0;else{const a=this.state.shortcodes[t]&&w.A.layoutElements.includes(this.state.shortcodes[t].id),s=!a&&this.state.shortcodes[t]&&!1!==this.state.shortcodes[t].content;if("before"===n){const o=a?new RegExp(`<div[^>]*uid="${t}"[^>]*>`,"i"):new RegExp(`<wprm-replace-shortcode-with-block uid="${t}"`,"i"),s=i.match(o);if(s&&void 0!==s.index){const t=s.index,n=i.substring(0,t).match(/uid="(\d+)"/gim);if(n&&n.length>0){const t=parseInt(n[n.length-1].match(/\d+/gim)[0]);return this.onAddHTML(e,t,"after",r)}return this.onAddHTML(e,"start","after",r)}n="after"}let l=a?"\x3c!--wprm-closing-"+t+"--\x3e</div>":'<wprm-replace-shortcode-with-block uid="'+t+'"></wprm-replace-shortcode-with-block>';if(o=t+1,s||a)if("inside-start"===n)l=a?' uid="'+t+'">':'<wprm-replace-shortcode-with-block uid="'+t+'">';else{s&&(l="\x3c!--wprm-closing-"+t+"--\x3e</wprm-replace-shortcode-with-block>");const e=i.substring(0,i.indexOf(l)).match(/uid="(\d+)"/gim).pop().match(/\d+/gim).pop();o=parseInt(e)+1}i="inside-end"===n?i.replace(l,e+"\n"+l):i.replace(l,l+"\n"+e)}i!==this.state.htmlMap&&this.setState({addingPattern:!1,addingBlock:!1,hoveringBlock:!1,htmlMap:i},(()=>{let e=this.unparseHtml();this.props.onChangeHTML(e,{historyMode:"immediate"}),this.props.onChangeMode("blocks"),this.setState({addingPattern:!1,addingBlock:!1,hoveringBlock:!1},(()=>{r&&r(o)}))}))}onDuplicateBlock(e){const t=this.state.shortcodes[e];if(!t)return;let n=this.state.htmlMap;const r=w.A.layoutElements.includes(t.id),o=!r&&!1!==t.content;let i="";if(r){let t=new RegExp('<div class="wprm-layout-[^>]*? uid="'+e+'">.*\x3c!--wprm-closing-'+e+"--\x3e</div>","mis").exec(n);if(t){let e=t[0];e=this.convertPlaceholdersToShortcodes(e),i=e.replace(/\s+uid="\d+"/g,"").replace(/<!--wprm-closing-\d+-->/g,"")}}else if(o){let r=new RegExp('<wprm-replace-shortcode-with-block uid="'+e+'">.*\x3c!--wprm-closing-'+e+"--\x3e</wprm-replace-shortcode-with-block>","mis").exec(n);if(r){let n=r[0].replace('<wprm-replace-shortcode-with-block uid="'+e+'">',"").replace("\x3c!--wprm-closing-"+e+"--\x3e</wprm-replace-shortcode-with-block>","");n=this.convertPlaceholdersToShortcodes(n),i=l.A.getFullShortcode(t)+"\n"+n+"\n[/"+t.id+"]"}}else i=l.A.getFullShortcode(t);i&&this.onAddHTML(i,e,"after")}convertPlaceholdersToShortcodes(e){let t=e;const n=[...this.state.shortcodes].sort(((e,t)=>t.uid-e.uid));for(let r of n)if(r)if(w.A.layoutElements.includes(r.id)){let e;if(null!==(e=new RegExp('<div class="wprm-layout-[^>]*? uid="'+r.uid+'">',"mis").exec(t))){let n=[r.id];r.hasOwnProperty("classes")&&r.classes.length&&(n=n.concat(r.classes));let o="";if(r.hasOwnProperty("style")&&r.style.length){let e=r.style.map((e=>"--"+r.id+"-"+e));o=' style="'+e.join(";")+';"'}const i='<div class="'+n.join(" ")+'"'+o+">";t=t.replace(e[0],i),t=t.replace("\x3c!--wprm-closing-"+r.uid+"--\x3e","")}}else{let e=l.A.getFullShortcode(r);if(!1!==r.content){const n="[/"+r.id+"]";t=t.replace('<wprm-replace-shortcode-with-block uid="'+r.uid+'">',e),t=t.replace("\x3c!--wprm-closing-"+r.uid+"--\x3e</wprm-replace-shortcode-with-block>",n)}else t=t.replace('<wprm-replace-shortcode-with-block uid="'+r.uid+'"></wprm-replace-shortcode-with-block>',e)}return t}onRemoveBlock(e){let t=this.state.htmlMap;t=t.replace('<wprm-replace-shortcode-with-block uid="'+e+'"></wprm-replace-shortcode-with-block>',""),t=t.replace('<wprm-replace-shortcode-with-block uid="'+e+'">',""),t=t.replace("\x3c!--wprm-closing-"+e+"--\x3e</wprm-replace-shortcode-with-block>","");let n;null!==(n=new RegExp('<div class="wprm-layout-[^>]*? uid="'+e+'">',"mis").exec(t))&&(t=t.replace(n[0],""),t=t.replace("\x3c!--wprm-closing-"+e+"--\x3e</div>","")),t!==this.state.htmlMap&&this.setState({htmlMap:t},(()=>{let e=this.unparseHtml();this.props.onChangeHTML(e,{historyMode:"immediate"})}))}onChangeMovingBlock(e){this.setState({movingBlock:e})}onMoveBlock(e,t="after"){let n=this.state.htmlMap;const r=this.state.shortcodes[this.state.movingBlock.uid]&&w.A.layoutElements.includes(this.state.shortcodes[this.state.movingBlock.uid].id),o=!r&&this.state.shortcodes[this.state.movingBlock.uid]&&!1!==this.state.shortcodes[this.state.movingBlock.uid].content,i=this.state.shortcodes[e]&&w.A.layoutElements.includes(this.state.shortcodes[e].id),a=!i&&this.state.shortcodes[e]&&!1!==this.state.shortcodes[e].content;let s='<wprm-replace-shortcode-with-block uid="'+this.state.movingBlock.uid+'"></wprm-replace-shortcode-with-block>';if(o||r){let e,t=new RegExp('<wprm-replace-shortcode-with-block uid="'+this.state.movingBlock.uid+'">.*\x3c!--wprm-closing-'+this.state.movingBlock.uid+"--\x3e</wprm-replace-shortcode-with-block>","mis");r&&(t=new RegExp('<div class="wprm-layout-[^>]*? uid="'+this.state.movingBlock.uid+'">.*\x3c!--wprm-closing-'+this.state.movingBlock.uid+"--\x3e</div>","mis")),null!==(e=t.exec(n))&&(s=e[0])}let l='<wprm-replace-shortcode-with-block uid="'+e+'"></wprm-replace-shortcode-with-block>';if(n=n.replace(s,""),"before"===t||"inside"===t){if(a)l='<wprm-replace-shortcode-with-block uid="'+e+'">';else if(i){let r;if(null!==(r=new RegExp('<div class="wprm-layout-[^>]*? uid="'+e+'">',"mis").exec(n)))l=r[0];else{if("inside"!==t)return;l=' uid="'+e+'">'}}n="inside"===t?n.replace(l,l+"\n"+s):n.replace(l,s+"\n"+l)}else a?l="\x3c!--wprm-closing-"+e+"--\x3e</wprm-replace-shortcode-with-block>":i&&(l="\x3c!--wprm-closing-"+e+"--\x3e</div>"),n=n.replace(l,l+"\n"+s);n!==this.state.htmlMap&&this.setState({movingBlock:!1,hoveringBlock:!1,htmlMap:n},(()=>{let e=this.unparseHtml();this.props.onChangeHTML(e,{historyMode:"immediate"})}))}render(){const e=this.state.hasError?r.createElement(c.A,null):this.state.parsedHtml,t={hoveringBlock:this.state.hoveringBlock,onChangeHoveringBlock:this.onChangeHoveringBlock.bind(this),editingBlock:this.state.editingBlock,mode:this.props.mode,copyPasteMode:this.state.copyPasteMode,copyPasteBlock:this.state.copyPasteBlock,shortcodes:this.state.shortcodes};if("onboarding"===this.props.mode)return r.createElement(y.Provider,{value:t},r.createElement(r.Fragment,null,r.createElement("style",null,l.A.parseCSS(this.props.template)),"recipe"===this.props.template.type&&r.createElement("div",{className:`wprm-recipe wprm-recipe-template-${this.props.template.slug}`},e),"snippet"===this.props.template.type&&r.createElement("div",{className:`wprm-recipe wprm-recipe-snippet wprm-recipe-template-${this.props.template.slug}`},e),"roundup"===this.props.template.type&&r.createElement("div",{className:`wprm-recipe wprm-recipe-roundup-item wprm-recipe-template-${this.props.template.slug}`},e),"favorites"===this.props.template.type&&r.createElement("div",{className:"wprm-favorite-recipes-list"},r.createElement("div",{className:"wprm-recipe-container wprm-favorite-recipes-item"},r.createElement("div",{className:`wprm-recipe wprm-recipe-template-${this.props.template.slug}`},e)))));const n="add"===this.props.mode&&!this.state.addingBlock&&!this.state.addingPattern;return r.createElement(y.Provider,{value:t},r.createElement(r.Fragment,null,r.createElement("div",{className:"wprm-main-container"},!n&&r.createElement("h2",{className:"wprm-main-container-name"},"Preview at ",r.createElement("input",{type:"number",min:"1",value:this.state.width,onChange:e=>{this.setState({width:e.target.value})}}),"px"),r.createElement("div",{className:"wprm-main-container-preview"},n?r.createElement(Tn,{onSelectBlock:e=>this.onChangeAddingBlock(e),onSelectPattern:e=>this.onChangeAddingPattern(e),searchQuery:this.state.addBlocksSearchQuery,scrollToCategory:this.state.scrollToCategory,showNewOnly:this.state.showNewBlocksOnly,onToggleShowNewOnly:e=>this.setState({showNewBlocksOnly:e})}):r.createElement(r.Fragment,null,r.createElement(En,{recipe:this.state.recipe,onRecipeChange:e=>{e!==this.state.recipe&&this.setState({recipe:e,html:""})}}),this.state.recipe&&this.state.recipe.id?r.createElement("div",{className:"wprm-main-container-preview-content",style:{width:`${this.state.width}px`}},r.createElement("style",null,l.A.parseCSS(this.props.template)),"recipe"===this.props.template.type&&r.createElement(r.Fragment,null,r.createElement("p",null,"This is an example paragraph that could be appearing before the recipe box, just to give some context to this preview. After this paragraph the recipe box will appear."),r.createElement("div",{className:`wprm-recipe wprm-recipe-template-${this.props.template.slug}`},e),r.createElement("p",null,"This is a paragraph appearing after the recipe box.")),"snippet"===this.props.template.type&&r.createElement(r.Fragment,null,r.createElement("p",null," "),r.createElement("div",{className:`wprm-recipe wprm-recipe-snippet wprm-recipe-template-${this.props.template.slug}`},e),r.createElement("p",null,"This would be the start of your post content, as the recipe snippets should automatically appear above. We'll be adding some example content below to give you a realistic preview."),r.createElement("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit. In eleifend vitae nisl et pharetra. Sed euismod nisi convallis arcu lobortis commodo. Mauris nec arcu blandit, ultrices nisi sit amet, scelerisque tortor. Mauris vitae odio sed nisl posuere feugiat eu sit amet nunc. Vivamus varius rutrum tortor, ut viverra mi. Pellentesque sed justo eget lectus eleifend consectetur. Curabitur hendrerit purus velit, ut auctor orci fringilla sed. Phasellus commodo luctus nulla, et rutrum risus lobortis in. Aenean ullamcorper, magna congue viverra consequat, libero elit blandit magna, in ultricies quam risus et magna. Aenean viverra lorem leo, eget laoreet quam suscipit viverra. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Quisque sodales dolor mauris. Ut sed tempus erat. Nulla metus diam, luctus ac erat bibendum, placerat maximus nisi. Nullam hendrerit eleifend lobortis."),r.createElement("p",null,"Proin tempus hendrerit orci, tincidunt bibendum justo tincidunt vel. Morbi porttitor finibus magna non imperdiet. Fusce sollicitudin ex auctor interdum ultricies. Proin efficitur eleifend lacus, dapibus eleifend nibh tempus at. Pellentesque feugiat imperdiet turpis, sed consequat diam tincidunt a. Mauris mollis justo nec tellus aliquam, efficitur scelerisque nunc semper. Morbi rhoncus ultricies congue. Sed semper aliquet interdum."),r.createElement("p",null,"Nam ultricies, tellus nec vulputate varius, ligula ipsum viverra libero, lacinia ultrices sapien erat id mi. Duis vel dignissim lectus. Aliquam vehicula finibus tortor, cursus fringilla leo sodales ut. Vestibulum nec erat pretium, finibus odio et, porta lorem. Nunc in mi lobortis, aliquet sem sollicitudin, accumsan mi. Nam pretium nibh nunc, vel varius ex sagittis at. Vestibulum ac turpis vitae dui congue iaculis et non massa. Duis sed gravida nunc. Vivamus blandit dapibus orci, eu maximus velit faucibus eu."),r.createElement("div",{id:`wprm-recipe-container-${this.state.recipe.id}`,className:"wprm-preview-snippet-recipe-box"},r.createElement("p",null,"This is an example recipe box."),r.createElement("p",{id:`wprm-recipe-video-container-${this.state.recipe.id}`},"It includes an example video.")),r.createElement("p",null,"Some more random content could be appearing after the recipe box. Morbi dignissim euismod vestibulum. Interdum et malesuada fames ac ante ipsum primis in faucibus. Vestibulum eu faucibus lectus. Donec sit amet mattis erat, at vulputate elit. Morbi ullamcorper, justo nec porttitor porta, dui lectus euismod est, convallis tempor lorem elit nec leo. Praesent hendrerit auctor risus sed mollis. Integer suscipit arcu at risus efficitur, et interdum arcu fringilla. Aliquam mollis accumsan blandit. Nam vestibulum urna id velit scelerisque, eu commodo urna imperdiet. Mauris sed risus libero. Integer lacinia nec lectus in posuere. Sed feugiat dolor eros, ac scelerisque tellus hendrerit sit amet. Sed nisl lacus, condimentum id orci eu, malesuada mattis sem. Quisque ipsum velit, viverra et magna a, laoreet porta lorem. Praesent porttitor lorem quis quam lobortis, lacinia tincidunt odio sodales.")),"roundup"===this.props.template.type&&r.createElement(r.Fragment,null,r.createElement("h2",null,"Our first recipe"),r.createElement("p",null,"This is the first example recipe in this recipe roundup. We can have as much information and images as we want here and then end with the roundup template for this particular recipe."),r.createElement("div",{className:`wprm-recipe wprm-recipe-roundup-item wprm-recipe-template-${this.props.template.slug}`},e),r.createElement("h2",null,"Our second recipe"),r.createElement("p",null,"A roundup would have multiple recipes, so here is another one with some more demo text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In eleifend vitae nisl et pharetra. Sed euismod nisi convallis arcu lobortis commodo."),r.createElement("p",null,"...")),"favorites"===this.props.template.type&&r.createElement(r.Fragment,null,r.createElement("p",null,"This is what a favorite recipe card could look like when visitors view their saved recipes. This preview shows a single item in the favorites list."),r.createElement("div",{className:"wprm-favorite-recipes-list"},r.createElement("div",{id:`wprm-recipe-container-${this.state.recipe.id}`,className:"wprm-recipe-container wprm-favorite-recipes-item","data-recipe-id":this.state.recipe.id,"data-servings":this.state.recipe.servings},r.createElement("div",{className:`wprm-recipe wprm-recipe-template-${this.props.template.slug}`},e)))),"shortcode"===this.props.template.type&&r.createElement(r.Fragment,null,r.createElement("p",null," "),r.createElement("div",{className:`wprm-recipe wprm-recipe-template-${this.props.template.slug}`},e))):r.createElement("p",{style:{color:"darkred",textAlign:"center"}},"You have to select a recipe to preview the template. Use the dropdown above or set a default recipe to use for the preview on the settings page.")))),!1===this.state.editingBlock||this.state.shortcodes.length<=this.state.editingBlock?r.createElement(b.A,null,"blocks"===this.props.mode&&r.createElement("p",null,"Select block to edit by clicking on it in the template or the list below:"),r.createElement(yn,{shortcodes:this.state.shortcodes,hoveringBlock:this.state.hoveringBlock,onChangeHoveringBlock:this.onChangeHoveringBlock.bind(this),onChangeEditingBlock:this.onChangeEditingBlock.bind(this),onDuplicateBlock:this.onDuplicateBlock.bind(this),onRemoveBlock:this.onRemoveBlock.bind(this),onChangeMovingBlock:this.onChangeMovingBlock.bind(this),onMoveBlock:this.onMoveBlock.bind(this)}),!this.state.shortcodes.length&&r.createElement("p",null,"There are no adjustable blocks.")):null,r.createElement(wn,null,this.state.addingPattern?r.createElement(r.Fragment,null,r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),this.onChangeAddingPattern(!1)}},"Cancel"),r.createElement("p",null,'Where would you like to add "',Sn.patterns[this.state.addingPattern].name,'"?'),0===this.state.shortcodes.length&&r.createElement("div",{className:"wprm-template-menu-block wprm-template-menu-block-insert",onClick:()=>this.onAddPattern("start"),onMouseEnter:()=>this.onChangeHoveringBlock("start"),onMouseLeave:()=>this.onChangeHoveringBlock(!1)},r.createElement("span",{className:"wprm-template-menu-block-name"},"Start of template"),r.createElement("div",{className:"wprm-template-menu-block-actions"},r.createElement(p.A,{type:"arrow-down",title:"Add at start",onClick:e=>{e.stopPropagation(),this.onAddPattern("start")}}))),(()=>{const e=(t,n=0,o=0,i=null)=>{const a={paddingLeft:15*n+"px"},s=x(t),l=t.children&&t.children.length>0,c=[];return s?(c.push(r.createElement("div",{key:`container-${t.uid}`,className:t.uid===this.state.hoveringBlock?"wprm-template-menu-block wprm-template-menu-block-container wprm-template-menu-block-hover":"wprm-template-menu-block wprm-template-menu-block-container",style:a,onMouseEnter:()=>this.onChangeHoveringBlock(t.uid),onMouseLeave:()=>this.onChangeHoveringBlock(!1)},r.createElement(f,{items:[{label:"Add before this block",onClick:e=>{e.stopPropagation(),this.onAddPattern(t.uid,"before")}},{label:"Add inside",onClick:e=>{e.stopPropagation(),this.onAddPattern(t.uid,l?"inside-end":"inside-start")}},{label:"Add after this block",onClick:e=>{e.stopPropagation(),this.onAddPattern(t.uid,"after")}}],placement:"top"},r.createElement("span",{className:"wprm-template-menu-block-name wprm-template-menu-block-name-clickable"},t.name)),r.createElement("div",{className:"wprm-template-menu-block-actions"},r.createElement(p.A,{type:"arrow-up",title:"Add before this block",onClick:e=>{e.stopPropagation(),this.onAddPattern(t.uid,"before")}}),!l&&r.createElement("span",{className:"wprm-template-menu-block-placeholder",onClick:e=>{e.stopPropagation(),this.onAddPattern(t.uid,"inside-start")},title:"Add inside this container"},"Add inside"),r.createElement(p.A,{type:"arrow-down",title:"Add after this block",onClick:e=>{e.stopPropagation(),this.onAddPattern(t.uid,"after")}})))),l&&t.children.forEach(((r,o)=>{c.push(...e(r,n+1,o,t.uid))}))):c.push(r.createElement("div",{key:`block-${t.uid}`,className:t.uid===this.state.hoveringBlock?"wprm-template-menu-block wprm-template-menu-block-insert wprm-template-menu-block-hover":"wprm-template-menu-block wprm-template-menu-block-insert",style:a,onMouseEnter:()=>this.onChangeHoveringBlock(t.uid),onMouseLeave:()=>this.onChangeHoveringBlock(!1)},r.createElement(f,{items:[{label:"Add before this block",onClick:e=>{e.stopPropagation(),this.onAddPattern(t.uid,"before")}},{label:"Add after this block",onClick:e=>{e.stopPropagation(),this.onAddPattern(t.uid,"after")}}],placement:"top"},r.createElement("span",{className:"wprm-template-menu-block-name wprm-template-menu-block-name-clickable"},t.name)),r.createElement("div",{className:"wprm-template-menu-block-actions"},r.createElement(p.A,{type:"arrow-up",title:"Add before this block",onClick:e=>{e.stopPropagation(),this.onAddPattern(t.uid,"before")}}),r.createElement(p.A,{type:"arrow-down",title:"Add after this block",onClick:e=>{e.stopPropagation(),this.onAddPattern(t.uid,"after")}})))),c},t=(e=>{const t=[],n=[{node:{children:t},depth:-1}];return e.forEach(((e,t)=>{if(!e||"object"!=typeof e)return;const r=void 0!==e.depth?e.depth:0,o={...e,children:[]};for(;n.length>1&&n[n.length-1].depth>=r;)n.pop();n[n.length-1].node.children.push(o),x(e)&&n.push({node:o,depth:r})})),t})(this.state.shortcodes.map((e=>({...e,depth:void 0!==e.depth?e.depth:0})))),n=[];return t.forEach(((t,r)=>{n.push(...e(t,0,r))})),n})()):r.createElement(r.Fragment,null,r.createElement("p",null,"Select pattern to add:"),Object.keys(Sn.patterns).map(((e,t)=>r.createElement("div",{key:t,className:"wprm-template-menu-block",onClick:()=>this.onChangeAddingPattern(e)},Sn.patterns[e].name))))),r.createElement(In,null,"add"!==this.props.mode||this.state.addingBlock||this.state.addingPattern?(this.state.addingBlock||this.state.addingPattern)&&r.createElement(r.Fragment,null,r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),this.state.addingBlock&&this.onChangeAddingBlock(!1),this.state.addingPattern&&this.onChangeAddingPattern(!1)}},"Cancel"),r.createElement("p",null,'Where would you like to add "',this.state.addingPattern?Sn.patterns[this.state.addingPattern].name:l.A.getShortcodeName(this.state.addingBlock),'"?'),0===this.state.shortcodes.length&&r.createElement("div",{className:"wprm-template-menu-block wprm-template-menu-block-insert",onClick:()=>{this.state.addingBlock?this.onAddBlock("start"):this.state.addingPattern&&this.onAddPattern("start")},onMouseEnter:()=>this.onChangeHoveringBlock("start"),onMouseLeave:()=>this.onChangeHoveringBlock(!1)},r.createElement("span",{className:"wprm-template-menu-block-name"},"Start of template"),r.createElement("div",{className:"wprm-template-menu-block-actions"},r.createElement(p.A,{type:"arrow-down",title:"Add at start",onClick:e=>{e.stopPropagation(),this.state.addingBlock?this.onAddBlock("start"):this.state.addingPattern&&this.onAddPattern("start")}}))),(()=>{const e=(t,n=0,o=0,i=null)=>{const a={paddingLeft:15*n+"px"},s=x(t),l=t.children&&t.children.length>0,c=[];return s?(c.push(r.createElement("div",{key:`container-${t.uid}`,className:t.uid===this.state.hoveringBlock?"wprm-template-menu-block wprm-template-menu-block-container wprm-template-menu-block-hover":"wprm-template-menu-block wprm-template-menu-block-container",style:a,onMouseEnter:()=>this.onChangeHoveringBlock(t.uid),onMouseLeave:()=>this.onChangeHoveringBlock(!1)},r.createElement(f,{items:[{label:"Add before this block",onClick:e=>{e.stopPropagation(),this.state.addingBlock?this.onAddBlock(t.uid,"before"):this.state.addingPattern&&this.onAddPattern(t.uid,"before")}},{label:"Add inside",onClick:e=>{e.stopPropagation(),this.state.addingBlock?this.onAddBlock(t.uid,l?"inside-end":"inside-start"):this.state.addingPattern&&this.onAddPattern(t.uid,l?"inside-end":"inside-start")}},{label:"Add after this block",onClick:e=>{e.stopPropagation(),this.state.addingBlock?this.onAddBlock(t.uid,"after"):this.state.addingPattern&&this.onAddPattern(t.uid,"after")}}],placement:"top"},r.createElement("span",{className:"wprm-template-menu-block-name wprm-template-menu-block-name-clickable"},t.name)),r.createElement("div",{className:"wprm-template-menu-block-actions"},r.createElement(p.A,{type:"arrow-up",title:"Add before this block",onClick:e=>{e.stopPropagation(),this.state.addingBlock?this.onAddBlock(t.uid,"before"):this.state.addingPattern&&this.onAddPattern(t.uid,"before")}}),!l&&r.createElement("span",{className:"wprm-template-menu-block-placeholder",onClick:e=>{e.stopPropagation(),this.state.addingBlock?this.onAddBlock(t.uid,"inside-start"):this.state.addingPattern&&this.onAddPattern(t.uid,"inside-start")},title:"Add inside this container"},"Add inside"),r.createElement(p.A,{type:"arrow-down",title:"Add after this block",onClick:e=>{e.stopPropagation(),this.state.addingBlock?this.onAddBlock(t.uid,"after"):this.state.addingPattern&&this.onAddPattern(t.uid,"after")}})))),l&&t.children.forEach(((r,o)=>{c.push(...e(r,n+1,o,t.uid))}))):c.push(r.createElement("div",{key:`block-${t.uid}`,className:t.uid===this.state.hoveringBlock?"wprm-template-menu-block wprm-template-menu-block-insert wprm-template-menu-block-hover":"wprm-template-menu-block wprm-template-menu-block-insert",style:a,onMouseEnter:()=>this.onChangeHoveringBlock(t.uid),onMouseLeave:()=>this.onChangeHoveringBlock(!1)},r.createElement(f,{items:[{label:"Add before this block",onClick:e=>{e.stopPropagation(),this.state.addingBlock?this.onAddBlock(t.uid,"before"):this.state.addingPattern&&this.onAddPattern(t.uid,"before")}},{label:"Add after this block",onClick:e=>{e.stopPropagation(),this.state.addingBlock?this.onAddBlock(t.uid,"after"):this.state.addingPattern&&this.onAddPattern(t.uid,"after")}}],placement:"top"},r.createElement("span",{className:"wprm-template-menu-block-name wprm-template-menu-block-name-clickable"},t.name)),r.createElement("div",{className:"wprm-template-menu-block-actions"},r.createElement(p.A,{type:"arrow-up",title:"Add before this block",onClick:e=>{e.stopPropagation(),this.state.addingBlock?this.onAddBlock(t.uid,"before"):this.state.addingPattern&&this.onAddPattern(t.uid,"before")}}),r.createElement(p.A,{type:"arrow-down",title:"Add after this block",onClick:e=>{e.stopPropagation(),this.state.addingBlock?this.onAddBlock(t.uid,"after"):this.state.addingPattern&&this.onAddPattern(t.uid,"after")}})))),c},t=(e=>{const t=[],n=[{node:{children:t},depth:-1}];return e.forEach(((e,t)=>{if(!e||"object"!=typeof e)return;const r=void 0!==e.depth?e.depth:0,o={...e,children:[]};for(;n.length>1&&n[n.length-1].depth>=r;)n.pop();n[n.length-1].node.children.push(o),x(e)&&n.push({node:o,depth:r})})),t})(this.state.shortcodes.map((e=>({...e,depth:void 0!==e.depth?e.depth:0})))),n=[];return t.forEach(((t,r)=>{n.push(...e(t,0,r))})),n})()):r.createElement(r.Fragment,null,r.createElement("div",{className:"wprm-add-blocks-search"},r.createElement("input",{type:"text",placeholder:"Search blocks...",value:this.state.addBlocksSearchQuery,onChange:e=>this.setState({addBlocksSearchQuery:e.target.value}),className:"wprm-add-blocks-search-input"}),this.state.addBlocksSearchQuery&&r.createElement("button",{className:"wprm-add-blocks-search-clear",onClick:()=>this.setState({addBlocksSearchQuery:""}),title:"Clear search"},r.createElement(u.A,{type:"close"}))),r.createElement("div",{className:"wprm-add-blocks-filter"},r.createElement("label",{className:"wprm-add-blocks-filter-checkbox"},r.createElement("input",{type:"checkbox",checked:this.state.showNewBlocksOnly,onChange:e=>this.setState({showNewBlocksOnly:e.target.checked})}),r.createElement("span",null,"Show new blocks only"))),!this.state.addBlocksSearchQuery&&r.createElement("div",{className:"wprm-add-blocks-categories"},r.createElement("div",{className:"wprm-add-blocks-categories-title"},"Jump to Category"),["patterns",...Object.keys(An)].map((e=>{let t;return t="patterns"===e?{group:"Patterns"}:An[e],r.createElement("a",{key:e,href:"#",className:"wprm-add-blocks-category-link",onClick:t=>{t.preventDefault(),this.setState({scrollToCategory:e},(()=>{setTimeout((()=>{this.setState({scrollToCategory:null})}),1e3)}))}},t.group)})))))))}}},83761:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(22483);const o=e=>r.createPortal(e.children,document.getElementById("wprm-block-properties"))},12025:(e,t,n)=>{"use strict";n.d(t,{A:()=>D});var r=n(77810),o=n(33861),i=n(1123),a=n(80942),s=n(58783),l=n(63224),c=n(69325),u=n(28482);class p extends r.Component{constructor(e){super(e);const t=/^#([A-Fa-f0-9]{3}){1,2}$/.test(this.props.value);this.state={displayColorPicker:!1,isHexColor:t}}handleClick(){this.setState({displayColorPicker:!this.state.displayColorPicker})}handleClose(){this.setState({displayColorPicker:!1})}handleChange(e){this.setState({isHexColor:!0}),this.props.onValueChange(e.hex)}render(){const e=(0,c.Ay)({default:{color:{width:"36px",height:"14px",borderRadius:"2px",background:`${this.state.isHexColor?this.props.value:"#ffffff"}`,textAlign:"center",fontSize:"8px",overflow:"hidden"},swatch:{padding:"5px",background:"#fff",borderRadius:"1px",boxShadow:"0 0 0 1px rgba(0,0,0,.1)",display:"inline-block",cursor:"pointer"},popover:{position:"absolute",zIndex:"2",right:"0",bottom:"30px"},cover:{position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}}});return r.createElement(r.Fragment,null,r.createElement("div",{className:"wprm-template-property-input"},r.createElement("div",{className:"wprm-template-property-input-color-variable-icon",onClick:()=>{const e=prompt((0,a.f)("Set color manually, for example when using CSS variables:"),this.props.value);if(null!==e){const t=/^#([A-Fa-f0-9]{3}){1,2}$/.test(e);this.setState({isHexColor:t}),this.props.onValueChange(e)}}},r.createElement(l.A,{type:"html"})),r.createElement(s.A,{content:this.props.value},r.createElement("div",{style:e.swatch,onClick:this.handleClick.bind(this)},r.createElement("div",{style:e.color},!this.state.isHexColor&&this.props.value))),this.state.displayColorPicker?r.createElement("div",{style:e.popover},r.createElement("div",{style:e.cover,onClick:this.handleClose.bind(this)}),r.createElement(u.Xq,{color:this.props.value,onChange:this.handleChange.bind(this),disableAlpha:!0})):null))}}var d=n(54901);const f=e=>{let t=[];for(let n in e.property.options)t.push({value:n,label:e.property.options[n]});return r.createElement(d.Ay,{className:"wprm-template-property-input",menuPlacement:"auto",value:t.filter((({value:t})=>t===e.value)),onChange:t=>e.onValueChange(t.value),options:t,clearable:!1,styles:{control:e=>({...e,minHeight:"32px",height:"32px"}),valueContainer:e=>({...e,padding:"0 8px",height:"30px"}),input:e=>({...e,margin:0,padding:0,height:"30px"}),singleValue:e=>({...e,lineHeight:"30px"}),placeholder:e=>({...e,lineHeight:"30px"}),indicatorsContainer:e=>({...e,height:"32px"}),indicatorSeparator:e=>({...e,marginTop:"6px",marginBottom:"6px"})}})},h=e=>{const t=[{label:"General",options:[{value:"custom",label:"Set custom font"},{value:"inherit",label:"Inherit from parent"},{value:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',label:"System Font"}]},{label:"Google Fonts - Serif",options:[{value:'"Asar", serif',label:"Asar",loadFont:"asar"},{value:'"Cormorant Garamond", serif',label:"Cormorant Garamond",loadFont:"cormorant-garamond"},{value:'"Gloock", serif',label:"Gloock",loadFont:"gloock"},{value:'"Lora", serif',label:"Lora",loadFont:"lora"},{value:'"Playfair Display", serif',label:"Playfair Display",loadFont:"playfair-display"}]},{label:"Google Fonts - Sans Serif",options:[{value:'"Inter", sans-serif',label:"Inter",loadFont:"inter"},{value:'"Jost", sans-serif',label:"Jost",loadFont:"jost"},{value:'"Mulish", sans-serif',label:"Mulish",loadFont:"mulish"},{value:'"Nunito", sans-serif',label:"Nunito",loadFont:"nunito"},{value:'"Open Sans", sans-serif',label:"Open Sans",loadFont:"open-sans"},{value:'"Poppins", sans-serif',label:"Poppins",loadFont:"poppins"},{value:'"Quicksand", sans-serif',label:"Quicksand",loadFont:"quicksand"}]},{label:"Google Fonts - Cursive",options:[{value:'"Amatic SC", cursive',label:"Amatic SC",loadFont:"amatic-sc"},{value:'"Caveat", cursive',label:"Caveat",loadFont:"caveat"},{value:'"Dancing Script", cursive',label:"Dancing Script",loadFont:"dancing-script"},{value:'"Pacifico", cursive',label:"Pacifico",loadFont:"pacifico"}]},{label:"Default Serif Fonts",options:[{value:"Georgia, serif",label:"Georgia"},{value:'"Palatino Linotype", "Book Antiqua", Palatino, serif',label:"Palatino"},{value:'"Times New Roman", Times, serif',label:"Times New Roman"}]},{label:"Default Sans-Serif Fonts",options:[{value:"Arial, Helvetica, sans-serif",label:"Arial"},{value:'"Arial Black", Gadget, sans-serif',label:"Arial Black"},{value:'"Comic Sans MS", cursive, sans-serif',label:"Comic Sans MS"},{value:"Helvetica, sans-serif",label:"Helvetica"},{value:"Impact, Charcoal, sans-serif",label:"Impact"},{value:'"Lucida Sans Unicode", "Lucida Grande", sans-serif',label:"Lucida"},{value:"Tahoma, Geneva, sans-serif",label:"Tahoma"},{value:'"Trebuchet MS", Helvetica, sans-serif',label:"Trebuchet MS"},{value:"Verdana, Geneva, sans-serif",label:"Verdana"}]},{label:"Default Monospace Fonts",options:[{value:'"Courier New", Courier, monospace',label:"Courier New"},{value:'"Lucida Console", Monaco, monospace',label:"Lucida Console"}]}],n=t.reduce(((e,t)=>e.concat(t.options)),[]),o=n.map((e=>e.value)),i=!e.value||!o.includes(e.value),a=i?"custom":e.value,s=n.find((({value:e})=>e===a));return r.createElement(r.Fragment,null,r.createElement(d.Ay,{className:"wprm-template-property-input",menuPlacement:"top",value:s,onChange:t=>{const n="custom"===t.value?"":t.value;if(t.hasOwnProperty("loadFont")){let n=[...e.fonts];n.includes(t.loadFont)||(n.push(t.loadFont),e.onChangeFonts(n,{historyPropertyId:e.property.id}))}if(s.hasOwnProperty("loadFont")&&e.fonts.includes(s.loadFont)){let t=[...e.fonts];const n=t.indexOf(s.loadFont);-1!==n&&t.splice(n,1),e.onChangeFonts(t,{historyPropertyId:e.property.id})}return e.onValueChange(n)},options:t,styles:{option:(e,{data:t,isDisabled:n,isFocused:r,isSelected:o})=>({...e,fontFamily:"custom"===t.value?"inherit":t.value})},clearable:!1}),i&&r.createElement("input",{className:"wprm-template-property-input",type:"text",value:e.value,onChange:t=>e.onValueChange(t.target.value)}))},m=e=>{let t={};return e.property.hasOwnProperty("color")&&(t.color=e.property.color),r.createElement("div",{className:"wprm-template-property-header",style:t},e.property.value)};var g=n(55494),b=n(43362),v=n.n(b);document.getElementById("wprm-template")&&v().setAppElement("#wprm-template");const y=[{label:"Cooking & Kitchen",icons:["chef-hat","chef-hat-2","cutlery","cutlery-2","utensils","knife","pan","pot","oven","oven-mit","salt","stirring","cup","ingredients","ingredients-2","pear","carrot","flame","hot-pepper","scale","diet-apple","people","people-2"]},{label:"Time & Planning",icons:["clock","clock-2","hourglass","calendar","calendar-plus"]},{label:"Rating & Favorites",icons:["star-empty","star-full","star-alt-empty","star-alt-full","heart","heart-empty","heart-full","bookmark"]},{label:"Shopping",icons:["cart","cart-alt","cart-simple-add","basket","basket-simple","dollar","money","tag"]},{label:"Social Media",icons:["facebook","instagram","pinterest","pinterest-2","bluesky","mastodon","tumblr","twitter","x","youtube","whatsapp","messenger","google","google-color","tiktok","reddit"]},{label:"Media & Images",icons:["camera","camera-2","camera-no","video-camera","movie","media"]},{label:"Communication",icons:["airplane","email","mail","chat","call","contact","mobile","share"]},{label:"Print & Documents",icons:["printer","printer-2","printer-3","article","book","clipboard","notes","text","pencil","pencil-2"]},{label:"Interface",icons:["search","plus","trash","eye","lightbulb","floppy-disk","checkbox-checked","checkbox-empty","checkmark","battery","info","globe","download","download-2"]},{label:"Arrows",icons:["arrow-down","arrow-small-down","arrow-small-left","arrow-small-right","arrow-small-up","arrows","arrows-2","triangle-down","triangle-left","triangle-right","triangle-up"]}],w=new Set(y.flatMap((e=>e.icons))),I=({isOpen:e,onClose:t,onSelect:n,currentValue:o})=>{const[i,a]=(0,r.useState)(""),s=(0,r.useRef)(null);(0,r.useEffect)((()=>{e&&s.current&&setTimeout((()=>{s.current&&s.current.focus()}),100),e&&a("")}),[e]);const l=wprm_admin_template.icons,c=i.toLowerCase(),u=((e,t)=>{const n=[];for(const o of y){const r=o.icons.filter((n=>!!e[n]&&(!t||((e[n].name||n).toLowerCase().includes(t)||n.toLowerCase().includes(t)))));r.length>0&&n.push({label:o.label,icons:r})}const r=Object.keys(e).sort().filter((n=>!w.has(n)&&(!t||((e[n].name||n).toLowerCase().includes(t)||n.toLowerCase().includes(t)))));return r.length>0&&n.push({label:"Other",icons:r}),n})(l,c),p=u.length>0;return r.createElement(v(),{isOpen:e,onRequestClose:t,overlayClassName:"wprm-icon-picker-modal-overlay",className:"wprm-icon-picker-modal"},r.createElement("div",{className:"wprm-icon-picker-modal-header"},r.createElement("h3",null,"Select Icon"),r.createElement("button",{className:"wprm-icon-picker-modal-close",onClick:t,"aria-label":"Close"},"×")),r.createElement("div",{className:"wprm-icon-picker-modal-search"},r.createElement("input",{ref:s,type:"text",placeholder:"Search icons...",value:i,onChange:e=>a(e.target.value)})),r.createElement("div",{className:"wprm-icon-picker-modal-body"},!p&&r.createElement("p",{className:"wprm-icon-picker-modal-no-results"},"No icons found."),u.map((e=>r.createElement("div",{key:e.label,className:"wprm-icon-picker-modal-category"},r.createElement("h4",{className:"wprm-icon-picker-modal-category-label"},e.label),r.createElement("div",{className:"wprm-icon-picker-modal-grid"},e.icons.map((e=>{const t=l[e],i=e===o;return r.createElement("button",{key:e,className:"wprm-icon-picker-modal-icon"+(i?" wprm-icon-picker-modal-icon-selected":""),onClick:()=>n(t.id),title:t.name||e,type:"button"},r.createElement(g.A,{src:t.url}),r.createElement("span",{className:"wprm-icon-picker-modal-icon-name"},t.name||e))}))))))),r.createElement("div",{className:"wprm-icon-picker-modal-footer"},r.createElement("button",{type:"button",className:"button button-secondary button-compact",onClick:()=>{n("")}},"Clear Icon"),r.createElement("button",{type:"button",className:"button button-secondary button-compact",onClick:()=>{const e=prompt("Set a custom URL for the icon");e&&n(e)}},"Custom URL"),r.createElement("button",{type:"button",className:"button button-secondary button-compact",onClick:t},"Cancel")))};class x extends r.Component{constructor(e){super(e),this.state={modalOpen:!1}}render(){const e=wprm_admin_template.icons.hasOwnProperty(this.props.value)?wprm_admin_template.icons[this.props.value].url:this.props.value;return r.createElement(r.Fragment,null,r.createElement("span",{className:"wprm-template-property-icon-selected-container"},e&&r.createElement(g.A,{src:e,className:"wprm-template-property-icon-select"}),r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),this.setState({modalOpen:!0})}},e?"Change...":"Select...")),r.createElement(I,{isOpen:this.state.modalOpen,onClose:()=>this.setState({modalOpen:!1}),currentValue:this.props.value,onSelect:e=>{this.setState({modalOpen:!1}),e!==this.props.value&&this.props.onValueChange(e)}}))}}var E=n(67543);const S=e=>{const t=0<parseInt(e.value);return r.createElement("a",{href:"#",onClick:t=>{t.preventDefault(),E.A.selectImage((t=>{e.onValueChange(""+t.id)}))}},t?"Change...":"Select...")},M=Array.isArray(wprm_admin_template.thumbnail_sizes)?wprm_admin_template.thumbnail_sizes:Object.values(wprm_admin_template.thumbnail_sizes);class k extends r.Component{constructor(e){super(e),this.state={width:"",height:"",force:!1}}componentDidMount(){this.checkSize()}componentDidUpdate(){this.checkSize()}checkSize(){const e=this.props.value;if(""!==e){const t=e.indexOf("x");let n=t>0?parseInt(e.substr(0,t)):0,r=t>0?parseInt(e.substr(t+1)):0,o="!"===e.substr(-1);n=0<n?n:"",r=0<r?r:"",n===this.state.width&&r===this.state.height||this.setState({width:n,height:r,force:o})}}changeSize(e,t){if("width"===e||"height"===e||"force"===e){let n=this.state;n[e]="force"===e?!!t:parseInt(t),this.setState(n,(()=>{(0<this.state.width||0<this.state.height)&&this.props.onValueChange(`${this.state.width}x${this.state.height}${this.state.force?"!":""}`)}))}}render(){let e=[];for(let n of M)e.push({value:n,label:n});const t=M.includes(this.props.value);return r.createElement(r.Fragment,null,r.createElement("label",null,"Select existing thumbnail size:"),r.createElement(d.Ay,{className:"wprm-template-property-input",menuPlacement:"top",value:t?e.filter((({value:e})=>e===this.props.value)):"",onChange:e=>e?this.props.onValueChange(e.value):this.props.onValueChange(""),options:e,clearable:!0}),r.createElement("label",null,"...or set a specific width and height:"),r.createElement("div",{className:"wprm-template-property-input-width-height"},r.createElement("input",{className:"wprm-template-property-input",type:"number",value:t?"":this.state.width,onChange:e=>this.changeSize("width",e.target.value)})," x ",r.createElement("input",{className:"wprm-template-property-input",type:"number",value:t?"":this.state.height,onChange:e=>this.changeSize("height",e.target.value)})),!t&&0<this.state.width&&0<this.state.height&&r.createElement("div",{className:"wprm-template-property-input-force-image-size"},r.createElement("label",null,r.createElement("input",{type:"checkbox",checked:this.state.force,onChange:e=>{this.changeSize("force",e.target.checked)}})," ",(0,a.f)("Force this size using CSS"))))}}const j=e=>{let t={};return e.property.hasOwnProperty("color")&&(t.color=e.property.color),r.createElement("div",{className:"wprm-template-property-info",style:t},e.property.text)},C=e=>{const t=e.property.hasOwnProperty("suffix")?e.property.suffix:"",n=t?e.value.replace(t,""):e.value;return r.createElement(r.Fragment,null,r.createElement("input",{className:"wprm-template-property-input",type:"number",value:n,onChange:n=>{const r=`${n.target.value}${t}`;return e.onValueChange(r)}}),t&&r.createElement("span",{className:"wprm-template-property-number-suffix"}," ",t))};class P extends r.Component{constructor(e){super(e),this.state={number:"",unit:""}}changeNumber(e){e!==this.state.number&&this.props.onValueChange(`${e}${this.state.unit}`)}changeUnit(e){e!==this.state.unit&&this.props.onValueChange(`${this.state.number}${e}`)}componentDidMount(){this.checkNumber()}componentDidUpdate(){this.checkNumber()}checkNumber(){const e=this.props.value.match(/([+-]?\d*\.?\d*)\s*([^;]*)/),t=e?e[1]:"",n=e?e[2]:"";t===this.state.number&&n===this.state.unit||this.setState({number:t,unit:n})}render(){let e=["px","em"];return this.state.unit&&!e.includes(this.state.unit)&&e.push(this.state.unit),r.createElement(r.Fragment,null,r.createElement("input",{className:"wprm-template-property-input",type:"number",step:"px"===this.state.unit?"1":"0.1",value:this.state.number,onChange:e=>this.changeNumber(e.target.value)}),e.map(((e,t)=>r.createElement("span",{className:e===this.state.unit?"wprm-template-property-value-size-unit wprm-template-property-value-size-unit-selected":"wprm-template-property-value-size-unit",onClick:()=>this.changeUnit(e),key:t},e))))}}const N=e=>{const[t,n]=(0,r.useState)(e.value||""),o=(0,r.useRef)(null);(0,r.useEffect)((()=>{const t=e.value||"";n((e=>e===t?e:t))}),[e.value]),(0,r.useEffect)((()=>()=>{o.current&&(clearTimeout(o.current),o.current=null)}),[]);return r.createElement("input",{className:"wprm-template-property-input",type:"text",value:t,onChange:t=>{const r=t.target.value;n(r),(t=>{o.current&&clearTimeout(o.current),o.current=setTimeout((()=>{o.current=null,e.onValueChange(t,{historyMode:"debounced"})}),400)})(r)},onBlur:()=>{o.current&&(clearTimeout(o.current),o.current=null),e.onValueChange(t,{historyMode:"debounced",historyBoundary:!0})}})};var T=n(88058);const A={color:p,align:f,border:f,dropdown:f,float:f,font:h,font_size:P,header:m,icon:x,image:S,image_size:k,info:j,percentage:C,number:C,size:P,text:N,toggle:e=>r.createElement(T.A,{className:"wprm-template-property-input",checked:"1"===e.value,onChange:t=>{const n=t.target.checked?"1":"0";return e.onValueChange(n)}})},L=e=>{const t=!!A.hasOwnProperty(e.property.type)&&A[e.property.type];if(!t)return null;if(!i.A.dependencyMet(e.property,e.properties))return null;if(i.A.shouldHideColorProperty(e.property,e.properties))return null;let n=null;return e.property.hasOwnProperty("help")&&(n=r.createElement(o.A,{type:"question",title:e.property.help,className:"wprm-admin-icon-help"})),r.createElement("div",{className:"wprm-template-property"},["header","info"].includes(e.property.type)?r.createElement(t,{property:e.property}):r.createElement(r.Fragment,null,r.createElement("div",{className:"wprm-template-property-label"},e.property.name," ",n),r.createElement("div",{className:`wprm-template-property-value wprm-template-property-value-${e.property.type}`},r.createElement(t,{property:e.property,value:e.property.value,onValueChange:(t,n={})=>{e.onPropertyChange(e.property.id,t,{historyPropertyId:e.property.id,...n})},fonts:e.fonts,onChangeFonts:e.onChangeFonts}))))},D=e=>{const t=(Array.isArray(e.properties)?e.properties:Object.values(e.properties||{})).filter((t=>"header"===t.type||i.A.dependencyMet(t,e.properties)&&!i.A.shouldHideColorProperty(t,e.properties))),n=[];let o={headerProperty:null,properties:[]};for(let r of t)"header"===r.type?(o.properties.length>0?n.push(o):o.headerProperty,o={headerProperty:r,properties:[]}):o.properties.push(r);if(o.properties.length>0&&n.push(o),0===n.length&&t.length>0){const e=t.filter((e=>"header"!==e.type));e.length>0&&n.push({headerProperty:null,properties:e})}const[a,s]=(0,r.useState)(null);return 0===n.length?null:r.createElement("div",{className:"wprm-template-property-accordion"},n.map(((t,n)=>{const o=null!==t.headerProperty,i=t.properties.length>0,c=o&&i,u=!c||a===n,p=t.headerProperty&&t.headerProperty.id?`group-${t.headerProperty.id}`:`group-${t.properties.map((e=>e.id)).join("-")}`;return r.createElement("div",{key:p,className:"wprm-template-property-accordion-section "+(u?"is-expanded":"is-collapsed")},c?r.createElement("div",{className:"wprm-template-property-accordion-header",onClick:()=>{return e=n,void s((t=>t===e?null:e));var e}},r.createElement("div",{className:"wprm-template-property-accordion-header-text"},r.createElement(m,{property:t.headerProperty})),r.createElement(l.A,{type:u?"arrow-up":"arrow-down",className:"wprm-template-property-accordion-icon"})):null,r.createElement("div",{className:"wprm-template-property-accordion-content "+(u?"expanded":"collapsed")},r.createElement("div",{className:"wprm-template-property-accordion-content-inner"},t.properties.map((t=>r.createElement(L,{properties:e.properties,property:t,onPropertyChange:e.onPropertyChange,fonts:e.fonts,onChangeFonts:e.onChangeFonts,key:t.id}))))))})))}},2411:()=>{(()=>{"use strict";const e=[400,500,600,700,800,900],t=e=>`wprm-min-${e}`,n=e=>`wprm-max-${e}`,r=new Set,o="ResizeObserver"in window,i=new WeakMap,a=new WeakMap,s=o?new ResizeObserver((e=>{requestAnimationFrame((()=>{for(const n of e){if(i.has(n.target))continue;const e=n.target.getBoundingClientRect().width,r=a.get(n.target);if(!(void 0!==r&&Math.abs(e-r)<.1)){i.set(n.target,!0),a.set(n.target,e);try{c(n.target)}catch(t){console.warn("WPRM size-conditions error:",t)}finally{requestAnimationFrame((()=>{i.delete(n.target)}))}}}}))})):null,l=.5/(window.devicePixelRatio||1);function c(r){const o=r.getBoundingClientRect().width||0;for(let i=0;i<e.length;i++){const a=e[i],s=o<=a+l;o>a+l?r.classList.add(t(a)):r.classList.remove(t(a)),s?r.classList.add(n(a)):r.classList.remove(n(a))}}function u(e){r.has(e)||(r.add(e),s&&s.observe(e),c(e))}!function(e=document){e.querySelectorAll(".wprm-recipe").forEach(u)}();if(new MutationObserver((e=>{for(const t of e)for(const e of t.addedNodes)e instanceof Element&&(e.matches?.(".wprm-recipe")&&u(e),e.querySelectorAll?.(".wprm-recipe").forEach(u))})).observe(document.documentElement,{childList:!0,subtree:!0}),!o){let e=0;addEventListener("resize",(()=>{e&&cancelAnimationFrame(e),e=requestAnimationFrame((()=>r.forEach(c)))}),{passive:!0})}})()},12942:()=>{var e;window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.expandable={init:()=>{document.addEventListener("click",(function(e){for(var t=e.target;t&&t!=this;t=t.parentNode)if(t.matches(".wprm-expandable-button")){WPRecipeMaker.expandable.onClick(t,e);break}}),!1)},onClick:(e,t)=>{t.preventDefault();const n=e.classList.contains("wprm-expandable-button-show");let r=e.closest(".wprm-expandable-container");if(!r){const t=e.closest(".wprm-expandable-container-separated");if(t){r=t;let e=r.nextElementSibling;for(;e;)n?e.classList.remove("wprm-expandable-separated-content-collapsed"):e.classList.add("wprm-expandable-separated-content-collapsed"),e=e.nextElementSibling}}r&&(n?(r.classList.remove("wprm-expandable-collapsed"),r.classList.add("wprm-expandable-expanded")):(r.classList.add("wprm-expandable-collapsed"),r.classList.remove("wprm-expandable-expanded")))}},e=()=>{window.WPRecipeMaker.expandable.init()},"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)},44141:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={call(e,t={}){const n=wprm_admin.nonce,r={method:"POST",credentials:"same-origin",headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded; charset=utf-8","Cache-Control":"no-cache, no-store, must-revalidate",Pragma:"no-cache",Expires:0},body:new URLSearchParams({action:e,security:n,...t}).toString()};return fetch(wprm_admin.ajax_url,r).then((function(t){return t.ok?t.json().then((function(n){return n.success?void 0===n.data||n.data:(o(e,r,t,n),!1)})).catch((function(n){return console.error("Failed to parse JSON response:",e,n),o(e,r,t,null,n),!1})):(o(e,r,t),!1)})).catch((function(t){return console.error("AJAX request failed:",e,t),o(e,r,null,null,t),!1}))}};async function o(e,t,n,r=null,o=null){console.log("AJAX Error:",e,t),n&&console.log("Response:",n),r&&console.log("JSON:",r),o&&console.log("Error:",o);let i="";if(o)i="Network error occurred. Please check your internet connection and try again.\r\n\r\n",i+=`Error: ${o.message||o}`;else if(n){const e=parseInt(n.status);let t=!1;300<=e&&e<=399?t="A redirection is breaking the AJAX endpoint. Are any redirections set up in the .htaccess file or using a plugin?":401===e||403===e?t="Something is blocking access. Are you or your webhost using a firewall like Cloudflare WAF or Sucuri? Try whitelisting your own IP address or this specific action.":404===e?t="The AJAX endpoint could not be found. This might be a plugin conflict or server configuration issue.":500<=e&&e<=599&&(t="The server is throwing an error. It could be hitting a memory or execution limit. Check with your webhost what the exact error is in the logs."),t&&(i+=`${t}\r\n\r\n`);i+=`Response: ${`${n.url} ${n.redirected?"(redirected)":""}- ${n.status} - ${n.statusText}`}`}r&&r.data&&r.data.message?i+=`\r\n\r\nServer message: ${r.data.message}`:r&&r.message&&(i+=`\r\n\r\nServer message: ${r.message}`);let a=!0;if(r&&r.data&&r.data.message){const e=r.data.message.toLowerCase();-1===e.indexOf("permission")&&-1===e.indexOf("nonce")&&-1===e.indexOf("logged out")&&-1===e.indexOf("session")||(alert("You got logged out or your session expired. Please try logging out of WordPress and back in again."),a=!1)}if(a&&(i+="\r\n\r\nPress OK to contact support@bootstrapped.ventures for support (opens an email popup).",confirm(i))){const t="support@bootstrapped.ventures",n="WP Recipe Maker AJAX Error Message",r=`I received the error message below at ${window.location.href}\r\n\r\nAction: ${e}\r\n\r\n${i}`;window.open(`mailto:${encodeURIComponent(t)}?subject=${encodeURIComponent(n)}&body=${encodeURIComponent(r)}`)}}},50116:(e,t,n)=>{"use strict";n.d(t,{A:()=>Y});var r=n(10409);const o=wprm_admin.endpoints.analytics,i={delete:e=>r.A.call(`${o}/${e}`,"DELETE")},a=wprm_admin.endpoints.custom_taxonomies,s={save(e,t){const n={...t},o=e?"PUT":"POST";return r.A.call(a,o,n)}},l=wprm_admin.endpoints.dashboard,c={getAnalytics:()=>r.A.call(`${l}/analytics`)},u=wprm_admin.endpoints.notices,p={dismissNotice(e){const t={id:e};return r.A.call(u,"DELETE",t)}},d=wprm_admin.endpoints.idea,f=wprm_admin.endpoints.idea_import,h={get:e=>r.A.call(`${d}/${e}?t=${Date.now()}`),save(e){const t={idea:e};let n=d,o="POST";const i=!!e.id&&parseInt(e.id);return i&&(n+=`/${i}`,o="PUT"),r.A.call(n,o,t)},updateStatus(e,t){const n={idea:{status:t}};return r.A.call(`${d}/${e}`,"PUT",n)},delete(e,t=!1){let n=`${d}/${e}`;return t&&(n+="?force=true"),r.A.call(n,"DELETE")},import:e=>r.A.call(f,"POST",{ideas:e})},m=wprm_admin.endpoints.modal,g={parseIngredients(e){const t={ingredients:e};return r.A.call(`${m}/ingredient/parse`,"POST",t)},aiImportRecipe(e){const t={text:e};return r.A.call(`${m}/ai-recipe-import`,"POST",t)}},b=wprm_admin.endpoints.list,v={get:e=>r.A.call(`${b}/${e}?t=${Date.now()}`),save(e){const t={list:e};let n=b,o="POST";const i=!!e.id&&parseInt(e.id);return i&&(n+=`/${i}`,o="PUT"),r.A.call(n,o,t)},updateStatus(e,t){const n={status:t};return r.A.call(`${b}/${e}`,"PUT",n)},delete(e,t=!1){let n=`${b}/${e}`;return t&&(n+="?force=true"),r.A.call(n,"DELETE")}},y=wprm_admin.endpoints.manage,w=wprm_admin.endpoints.rating,I=wprm_admin.endpoints.taxonomy;let x=!1,E=!1;const S={getData(e){return x?(E=e,new Promise((e=>e(!1)))):this.getDataDebounced(e)},getDataDebounced(e){return x=!0,r.A.call(`${y}/${e.route}`,"POST",e).then((e=>{if(E){const e=E;return E=!1,this.getDataDebounced(e)}return x=!1,e}))},deleteUserRatings:e=>r.A.call(`${w}/recipe/${e}`,"DELETE"),getTerm:(e,t)=>r.A.call(`${I}${e}/${t}`),createTerm(e,t){const n={name:t};return r.A.call(`${I}${e}`,"POST",n)},cloneTerm(e,t,n){const o={type:e,id:t,name:n};return r.A.call(`${y}/taxonomy/clone`,"POST",o)},deleteTerm:(e,t)=>r.A.call(`${I}${e}/${t}?force=true`,"DELETE"),renameTerm(e,t,n){const o={name:n};return r.A.call(`${I}${e}/${t}`,"POST",o)},changeTermSlug(e,t,n){const o={slug:n};return r.A.call(`${I}${e}/${t}`,"POST",o)},changeTermDescription(e,t,n){const o={description:n};return r.A.call(`${I}${e}/${t}`,"POST",o)},renameTermLabel(e,t,n){const o={type:e,id:t,label:n};return r.A.call(`${y}/taxonomy/label`,"POST",o)},updateTermLanguage(e,t,n){const o={type:e,id:t,language:n};return r.A.call(`${y}/taxonomy/language`,"POST",o)},mergeTerm(e,t,n){const o={type:e,oldId:t,newId:n};return r.A.call(`${y}/taxonomy/merge`,"POST",o)},updateTaxonomyMeta(e,t,n){let o={};return o[e]=n,r.A.call(`${I}${e}/${t}`,"POST",o)},bulkEdit(e,t,n,o){const i={type:t,ids:n,action:o};return r.A.call(`${y}/${e}/bulk`,"POST",i)},getTermId(e,t){const n={taxonomy:e,name:t};return r.A.call(`${y}/taxonomy/term-id`,"POST",n)},getShoppingGroups(e=""){const t={search:e,limit:50};return r.A.call(`${y}/taxonomy/shopping-groups`,"POST",t).then((e=>e&&e.groups?e.groups:[]))}},M=wprm_admin.endpoints.modal;let k=!1,j=!1,C=!1;const P={getSuggestions(e){return k?(C=e,new Promise((e=>e(!1)))):this.getSuggestionsDebounced(e)},getSuggestionsDebounced(e){k=!0;const t=Date.now();return!1!==j&&500>t-j?new Promise((n=>{setTimeout((()=>{n(this.getSuggestionsDebounced(e))}),t-j)})):(j=t,r.A.call(`${M}/suggest`,"POST",e).then((e=>{if(C){const e=C;return C=!1,this.getSuggestionsDebounced(e)}return k=!1,e})))}},N=wprm_admin.endpoints.rating,T={update(e){const t={rating:e};return r.A.call(`${N}`,"POST",t)},updateComment(e,t){const n={rating:t};return r.A.call(`${N}/comment/${e}`,"POST",n)},delete:e=>r.A.call(`${N}/${e}`,"DELETE")};var A=n(44141);const L=wprm_admin.endpoints.recipe,D=wprm_admin.endpoints.manage,O=()=>{const e="undefined"!=typeof wprm_admin_modal&&wprm_admin_modal&&wprm_admin_modal.multilingual?wprm_admin_modal.multilingual:!("undefined"==typeof wprm_admin_manage||!wprm_admin_manage||!wprm_admin_manage.multilingual)&&wprm_admin_manage.multilingual;return!!e&&(e.current?e.current:!!e.default&&e.default)},R={get:e=>r.A.call(`${L}/${e}?t=${Date.now()}`),getFrontend:e=>r.A.call(`${L}/${e}?t=${Date.now()}`),save(e){const t=(e=>{if("public"===wprm_admin.settings.post_type_structure)return e;if(e.id)return e;if(Object.prototype.hasOwnProperty.call(e,"language"))return e;const t=O();return t?{...e,language:t}:e})(e),n={recipe:t};let o=L,i="POST";const a=!!e.id&&parseInt(e.id);return a&&(o+=`/${a}`,i="PUT"),r.A.call(o,i,n)},updateStatus(e,t){const n={status:t};return r.A.call(`${L}/${e}`,"PUT",n)},delete(e,t=!1){let n=`${L}/${e}`;return t&&(n+="?force=true"),r.A.call(n,"DELETE")},deleteRevision:e=>r.A.call(`${D}/revision/${e}`,"DELETE"),createPostForRecipe:e=>A.A.call("wprm_create_post_for_recipe",{recipe_id:e}),addRecipeToPost:(e,t)=>A.A.call("wprm_add_recipe_to_post",{recipe_id:e,post_id:t})},B=wprm_admin.endpoints.setting,H={save(e){let t={settings:e};return r.A.call(B,"POST",t)}},W=wprm_admin.endpoints.template;let z={},Z={},_={},G={};const U={previewShortcode(e,t,n,r="default"){return z[r]||(z[r]=[]),Z[r]||(Z[r]={}),Z[r][e]=t,G[r]=n,clearTimeout(_[r]),_[r]=setTimeout((()=>{this.previewShortcodes(r)}),500),new Promise((e=>z[r].push(e)))},previewShortcodes(e="default"){const t=z[e]||[],n=Z[e]||{},r=G[e]||!1;z[e]=[],Z[e]={},G[e]=!1;const o={recipeId:r,shortcodes:n};fetch(`${W}/preview`,{method:"POST",headers:{"X-WP-Nonce":wprm_admin.api_nonce,Accept:"application/json","Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify(o)}).then((e=>e.json().then((n=>{let r=e.ok?n.preview:{};t.forEach((e=>e(r)))}))))},searchRecipes:e=>A.A.call("wprm_search_recipes",{search:e}).then((e=>e&&e.recipes_with_id?e.recipes_with_id:[])),save(e){const t={template:e};return r.A.call(W,"POST",t)},delete(e){const t={slug:e};return r.A.call(W,"DELETE",t)}},F=wprm_admin.endpoints.utilities,V={saveImage(e){const t={url:e};return r.A.call(`${F}/save_image`,"POST",t)},giveFeedback(e){const t={feedback:e};return r.A.call(`${F}/feedback`,"POST",t)},getPostSummary:e=>r.A.call(`${F}/post_summary/${e}`),previewRecipe(e){const t={json:e};return r.A.call(`${F}/preview`,"POST",t)}},{hooks:J}=WPRecipeMakerAdmin["wp-recipe-maker/dist/shared"],Y=J.applyFilters("api",{analytics:i,customTaxonomy:s,dashboard:c,general:p,idea:h,import:g,list:v,manage:S,modal:P,rating:T,recipe:R,settings:H,template:U,utilities:V})},10409:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={call(e,t="GET",n=!1){let r=wprm_admin.api_nonce;"object"==typeof window.wpApiSettings&&window.wpApiSettings.nonce&&(r=window.wpApiSettings.nonce);let o={method:t,headers:{"X-WP-Nonce":r,Accept:"application/json","Cache-Control":"no-cache, no-store, must-revalidate",Pragma:"no-cache",Expires:0},credentials:"same-origin"};"PUT"!==t&&"DELETE"!==t||(o.method="POST",o.headers["X-HTTP-Method-Override"]=t),n&&(o.headers["Content-Type"]="application/json",o.body=JSON.stringify(n));let i=0;return e=e.replace(/\?/g,(function(e){return i++,2<=i?"&":e})),fetch(e,o).then((function(t){return t.ok?t.json():(async function(e,t,n){console.log(e,t),console.log(n);let r="";const o=parseInt(n.status);let i=!1;300<=o&&o<=399?i="A redirection is breaking the API endpoint. Are any redirections set up in the .htaccess file or using a plugin?":401===o||403===o?i="Something is blocking access. Are you or your webhost using a firewall like Cloudflare WAF or Sucuri? Try whitelisting your own IP address or this specific action.":404===o?i="The rest API endpoint could not be found. Are your permalinks set up correctly?":500<=o&&o<=599&&(i="The server is throwing an error. It could be hitting a memory or execution limit. Check with your webhost what the exact error is in the logs.");i&&(r+=`${i}\r\n\r\n`);r+="Press OK to contact support@bootstrapped.ventures for support (opens an email popup).";const a=`${n.url} ${n.redirected?"(redirected)":""}- ${n.status} - ${n.statusText}`;r+=`\r\n\r\n${a}`;let s=!0;try{await n.text().then((e=>{console.log(e),-1!==e.indexOf("rest_cookie_invalid_nonce")?(alert("You got logged out or your session expired. Please try logging out of WordPress and back in again."),s=!1):r+=`\r\n\r\n${e}`}))}catch(l){console.log(l),r+=`\r\n\r\n${l}`}if(s&&confirm(r)){const e="support@bootstrapped.ventures",t="WP Recipe Maker Error Message",n=`I received the error message below at ${window.location.href}\r\n\r\n${r}`;window.open(`mailto:${encodeURIComponent(e)}?subject=${encodeURIComponent(t)}&body=${encodeURIComponent(n)}`)}}(e,o,t),!1)}))}}},33861:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(77810),o=n(55494),i=n(58783);const a={adjustable:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyLjUiIHkxPSIxMi41IiB4Mj0iMTUuNSIgeTI9IjEyLjUiPjwvbGluZT4gPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjAuNSIgeTE9IjMuNSIgeDI9IjMuNSIg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icm91bmQiPjwvbGluZT48cGF0aCBkPSJNLjc0MSwxMi43NzYsNi45NywxLjIwOGExLjE3LDEuMTcsMCwwLDEsMi4wNiwwbDYuMjI5LDExLjU2OGExLjE3LDEuMTcsMCwwLDEtMS4wMywxLjcyNEgxLjc3MUExLjE3LDEuMTcsMCwwLDEsLjc0MSwxMi43NzZaIiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wYXRoPiA8L2c+PC9zdmc+"},s=e=>{let t=!!a.hasOwnProperty(e.type)&&a[e.type];if(!t)return null;let n=e.title,s=e.className?`wprm-admin-icon ${e.className}`:"wprm-admin-icon";const l=!!e.hasOwnProperty("hidden")&&e.hidden;l&&(n="",s+=" wprm-admin-icon-hidden");let c=!1;return e.hasOwnProperty("color")&&"#111111"!==e.color&&(c=e.color),r.createElement(i.A,{content:n},r.createElement("span",{className:s,onClick:l?()=>{}:e.onClick},r.createElement(o.A,{src:t,preProcessor:e=>(!c||"#"!==c.charAt(0)&&"currentColor"!==c||(e=e.replaceAll("#111111",c)),e)})))}},60997:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(77810);const o=e=>r.createElement("div",{className:"wprm-admin-loader"})},58783:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(77810),o=n(6);n(22998);const i=e=>{if(!e.content)return e.children;const t=e.hasOwnProperty("style")?e.style:{};let n=e.children;const i=r.isValidElement(n)&&"string"==typeof n.type,a=r.isValidElement(n)&&n.type&&n.type.prototype&&n.type.prototype.isReactComponent,s=r.isValidElement(n)&&n.type&&n.type.$$typeof&&"Symbol(react.forward_ref)"===n.type.$$typeof.toString();n=!i&&!a&&!s?r.createElement("span",{style:t},n):r.isValidElement(n)&&1===r.Children.count(e.children)?r.cloneElement(n,{style:{...n.props.style,...t}}):r.createElement("span",{style:t},n);const l=e.hasOwnProperty("placement")?e.placement:"top";return r.createElement(o.Ay,{content:r.createElement("div",{dangerouslySetInnerHTML:{__html:e.content}}),allowHTML:!0,placement:l,popperOptions:{modifiers:[{name:"addZIndex",enabled:!0,phase:"write",fn:({state:e})=>{e.styles.popper.zIndex="100000"}},{name:"preventOverflow",options:{boundary:"window"}}]}},n)}},80942:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});let r={};function o(e,t="wp-recipe-maker"){return r.hasOwnProperty(e)?r[e]:e}window.hasOwnProperty("wprm_public")&&wprm_public.hasOwnProperty("translations")&&(r={...r,...wprm_public.translations}),window.hasOwnProperty("wprm_admin")&&wprm_admin.hasOwnProperty("translations")&&(r={...r,...wprm_admin.translations})},22998:()=>{},77161:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(7475),o=n(55349),i="/*|*/",a=i+"}";function s(e){e&&l.current.insert(e+"}")}var l={current:null},c=function(e,t,n,r,o,c,u,p,d,f){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return l.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===p)return t+i;break;case 3:switch(p){case 102:case 112:return l.current.insert(n[0]+t),"";default:return t+(0===f?i:"")}case-2:t.split(a).forEach(s)}};const u=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var i=new o.A(t);var a,s={};a=e.container||document.head;var u,p=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(p,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){s[e]=!0})),e.parentNode!==a&&a.appendChild(e)})),i.use(e.stylisPlugins)(c),u=function(e,t,n,r){var o=t.name;l.current=n,i(e,t.styles),r&&(d.inserted[o]=!0)};var d={key:n,sheet:new r.v({key:n,container:a,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:s,registered:{},insert:u};return d}},54313:(e,t,n)=>{"use strict";n.d(t,{Y:()=>l,Z2:()=>d,i7:()=>c});var r=n(77810),o=(n(77161),n(70320)),i=n(69511),a=n(14221),s=n(39959),l=function(e,t){var n=arguments;if(null==t||!o.h.call(t,"css"))return r.createElement.apply(void 0,n);var i=n.length,a=new Array(i);a[0]=o.E,a[1]=(0,o.c)(e,t);for(var s=2;s<i;s++)a[s]=n[s];return r.createElement.apply(null,a)},c=function(){var e=s.A.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_"}}},u=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var i=t[r];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var s in a="",i)i[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};var p=function(){return null},d=(0,o.w)((function(e,t){return(0,r.createElement)(o.T.Consumer,null,(function(n){var o=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=(0,a.J)(n,t.registered);return(0,i.s)(t,o,!1),t.key+"-"+o.name},s={css:o,cx:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(e,t,n){var r=[],o=(0,i.R)(e,r,n);return r.length<2?n:o+t(r)}(t.registered,o,u(n))},theme:n},l=e.children(s);var c=(0,r.createElement)(p,null);return(0,r.createElement)(r.Fragment,null,c,l)}))}))},70320:(e,t,n)=>{"use strict";n.d(t,{E:()=>m,T:()=>c,c:()=>d,h:()=>s,w:()=>u});var r=n(77810),o=n(77161),i=n(69511),a=n(14221),s=Object.prototype.hasOwnProperty,l=(0,r.createContext)("undefined"!=typeof HTMLElement?(0,o.A)():null),c=(0,r.createContext)({}),u=(l.Provider,function(e){var t=function(t,n){return(0,r.createElement)(l.Consumer,null,(function(r){return e(t,r,n)}))};return(0,r.forwardRef)(t)}),p="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",d=function(e,t){var n={};for(var r in t)s.call(t,r)&&(n[r]=t[r]);return n[p]=e,n},f=function(){return null},h=function(e,t,n,o){var l=null===n?t.css:t.css(n);"string"==typeof l&&void 0!==e.registered[l]&&(l=e.registered[l]);var c=t[p],u=[l],d="";"string"==typeof t.className?d=(0,i.R)(e.registered,u,t.className):null!=t.className&&(d=t.className+" ");var h=(0,a.J)(u);(0,i.s)(e,h,"string"==typeof c);d+=e.key+"-"+h.name;var m={};for(var g in t)s.call(t,g)&&"css"!==g&&g!==p&&(m[g]=t[g]);m.ref=o,m.className=d;var b=(0,r.createElement)(c,m),v=(0,r.createElement)(f,null);return(0,r.createElement)(r.Fragment,null,v,b)},m=u((function(e,t,n){return"function"==typeof e.css?(0,r.createElement)(c.Consumer,null,(function(r){return h(t,e,r,n)})):h(t,e,null,n)}))},39959:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(14221);const o=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.J)(t)}},2433:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}},93613:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}},14221:(e,t,n)=>{"use strict";n.d(t,{J:()=>m});var r=n(2433),o=n(81037),i=n(93613),a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},u=(0,i.A)((function(e){return l(e)?e:e.replace(a,"-$&").toLowerCase()})),p=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,(function(e,t,n){return f={name:t,styles:n,next:f},t}))}return 1===o.A[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return f={name:n.name,styles:n.styles,next:f},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)f={name:o.name,styles:o.styles,next:f},o=o.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=d(e,t,n[o],!1);else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":c(a)&&(r+=u(i)+":"+p(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=d(e,t,a,!1);switch(i){case"animation":case"animationName":r+=u(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var l=0;l<a.length;l++)c(a[l])&&(r+=u(i)+":"+p(i,a[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var i=f,a=n(e);return f=i,d(e,t,a,r)}}if(null==t)return n;var s=t[n];return void 0===s||r?n:s}var f,h=/label:\s*([^\s;\n{]+)\s*;/g;var m=function(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,i="";f=void 0;var a=e[0];null==a||void 0===a.raw?(o=!1,i+=d(n,t,a,!1)):i+=a[0];for(var s=1;s<e.length;s++)i+=d(n,t,e[s],46===i.charCodeAt(i.length-1)),o&&(i+=a[s]);h.lastIndex=0;for(var l,c="";null!==(l=h.exec(i));)c+="-"+l[1];return{name:(0,r.A)(i)+c,styles:i,next:f}}},7475:(e,t,n)=>{"use strict";n.d(t,{v:()=>r});var r=function(){function e(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.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=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}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=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]}(r);try{var i=105===e.charCodeAt(1)&&64===e.charCodeAt(0);o.insertRule(e,i?0:o.cssRules.length)}catch(a){0}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}()},55349:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){function t(e,r,l,c,d){for(var f,h,m,g,w,x=0,E=0,S=0,M=0,k=0,A=0,D=m=f=0,R=0,B=0,H=0,W=0,z=l.length,Z=z-1,_="",G="",U="",F="";R<z;){if(h=l.charCodeAt(R),R===Z&&0!==E+M+S+x&&(0!==E&&(h=47===E?10:47),M=S=x=0,z++,Z++),0===E+M+S+x){if(R===Z&&(0<B&&(_=_.replace(p,"")),0<_.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:_+=l.charAt(R)}h=59}switch(h){case 123:for(f=(_=_.trim()).charCodeAt(0),m=1,W=++R;R<z;){switch(h=l.charCodeAt(R)){case 123:m++;break;case 125:m--;break;case 47:switch(h=l.charCodeAt(R+1)){case 42:case 47:e:{for(D=R+1;D<Z;++D)switch(l.charCodeAt(D)){case 47:if(42===h&&42===l.charCodeAt(D-1)&&R+2!==D){R=D+1;break e}break;case 10:if(47===h){R=D+1;break e}}R=D}}break;case 91:h++;case 40:h++;case 34:case 39:for(;R++<Z&&l.charCodeAt(R)!==h;);}if(0===m)break;R++}if(m=l.substring(W,R),0===f&&(f=(_=_.replace(u,"").trim()).charCodeAt(0)),64===f){switch(0<B&&(_=_.replace(p,"")),h=_.charCodeAt(1)){case 100:case 109:case 115:case 45:B=r;break;default:B=T}if(W=(m=t(r,B,m,h,d+1)).length,0<L&&(w=s(3,m,B=n(T,_,H),r,C,j,W,h,d,c),_=B.join(""),void 0!==w&&0===(W=(m=w.trim()).length)&&(h=0,m="")),0<W)switch(h){case 115:_=_.replace(I,a);case 100:case 109:case 45:m=_+"{"+m+"}";break;case 107:m=(_=_.replace(b,"$1 $2"))+"{"+m+"}",m=1===N||2===N&&i("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=_+m,112===c&&(G+=m,m="")}else m=""}else m=t(r,n(r,_,H),m,c,d+1);U+=m,m=H=B=D=f=0,_="",h=l.charCodeAt(++R);break;case 125:case 59:if(1<(W=(_=(0<B?_.replace(p,""):_).trim()).length))switch(0===D&&(f=_.charCodeAt(0),45===f||96<f&&123>f)&&(W=(_=_.replace(" ",":")).length),0<L&&void 0!==(w=s(1,_,r,e,C,j,G.length,c,d,c))&&0===(W=(_=w.trim()).length)&&(_="\0\0"),f=_.charCodeAt(0),h=_.charCodeAt(1),f){case 0:break;case 64:if(105===h||99===h){F+=_+l.charAt(R);break}default:58!==_.charCodeAt(W-1)&&(G+=o(_,f,h,_.charCodeAt(2)))}H=B=D=f=0,_="",h=l.charCodeAt(++R)}}switch(h){case 13:case 10:47===E?E=0:0===1+f&&107!==c&&0<_.length&&(B=1,_+="\0"),0<L*O&&s(0,_,r,e,C,j,G.length,c,d,c),j=1,C++;break;case 59:case 125:if(0===E+M+S+x){j++;break}default:switch(j++,g=l.charAt(R),h){case 9:case 32:if(0===M+x+E)switch(k){case 44:case 58:case 9:case 32:g="";break;default:32!==h&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===M+E+x&&(B=H=1,g="\f"+g);break;case 108:if(0===M+E+x+P&&0<D)switch(R-D){case 2:112===k&&58===l.charCodeAt(R-3)&&(P=k);case 8:111===A&&(P=A)}break;case 58:0===M+E+x&&(D=R);break;case 44:0===E+S+M+x&&(B=1,g+="\r");break;case 34:case 39:0===E&&(M=M===h?0:0===M?h:M);break;case 91:0===M+E+S&&x++;break;case 93:0===M+E+S&&x--;break;case 41:0===M+E+x&&S--;break;case 40:if(0===M+E+x){if(0===f)if(2*k+3*A==533);else f=1;S++}break;case 64:0===E+S+M+x+D+m&&(m=1);break;case 42:case 47:if(!(0<M+x+S))switch(E){case 0:switch(2*h+3*l.charCodeAt(R+1)){case 235:E=47;break;case 220:W=R,E=42}break;case 42:47===h&&42===k&&W+2!==R&&(33===l.charCodeAt(W+2)&&(G+=l.substring(W,R+1)),g="",E=0)}}0===E&&(_+=g)}A=k,k=h,R++}if(0<(W=G.length)){if(B=r,0<L&&(void 0!==(w=s(2,G,B,e,C,j,W,c,d,c))&&0===(G=w).length))return F+G+U;if(G=B.join(",")+"{"+G+"}",0!=N*P){switch(2!==N||i(G,2)||(P=0),P){case 111:G=G.replace(y,":-moz-$1")+G;break;case 112:G=G.replace(v,"::-webkit-input-$1")+G.replace(v,"::-moz-$1")+G.replace(v,":-ms-input-$1")+G}P=0}}return F+G+U}function n(e,t,n){var o=t.trim().split(m);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<i;++s)t[s]=r(e,t[s],n).trim();break;default:var l=s=0;for(t=[];s<i;++s)for(var c=0;c<a;++c)t[l++]=r(e[c]+" ",o[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===N||2===N&&i(l,1)?"-webkit-"+l+l:l}if(0===N||2===N&&!i(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(k,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return f.test(a)?a.replace(d,":-webkit-")+a.replace(d,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(w,"tb");break;case 232:l=a.replace(w,"tb-rl");break;case 220:l=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(E,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(E,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===M.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),D(2!==t?r:r.replace(S,"$1"),n,t)}function a(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(x," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,o,i,a,s,l,u){for(var p,d=0,f=t;d<L;++d)switch(p=A[d].call(c,e,f,n,r,o,i,a,s,l,u)){case void 0:case!1:case!0:case null:break;default:f=p}if(f!==t)return f}function l(e){return void 0!==(e=e.prefix)&&(D=null,e?"function"!=typeof e?N=1:(N=2,D=e):N=0),l}function c(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<L){var o=s(-1,n,r,r,C,j,0,0,0,0);void 0!==o&&"string"==typeof o&&(n=o)}var i=t(T,r,n,0,0);return 0<L&&(void 0!==(o=s(-2,i,r,r,C,j,i.length,0,0,0))&&(i=o)),P=0,j=C=1,i}var u=/^\0+/g,p=/[\0\r\f]/g,d=/: */g,f=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,b=/@(k\w+)\s*(\S*)\s*/,v=/::(place)/g,y=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,I=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,E=/-self|flex-/g,S=/[^]*?(:[rp][el]a[\w-]+)[^]*/,M=/stretch|:\s*\w+\-(?:conte|avail)/,k=/([^-])(image-set\()/,j=1,C=1,P=0,N=1,T=[],A=[],L=0,D=null,O=0;return c.use=function e(t){switch(t){case void 0:case null:L=A.length=0;break;default:if("function"==typeof t)A[L++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else O=0|!!t}return e},c.set=l,void 0!==e&&l(e),c}},81037:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},69511:(e,t,n)=>{"use strict";n.d(t,{R:()=>r,s:()=>o});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert("."+r,o,e.sheet,!0);o=o.next}while(void 0!==o)}}},54694:(e,t,n)=>{"use strict";var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(77810),a=(r=i)&&r.__esModule?r:{default:r};t.A=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,i=void 0===r?24:r,s=e.height,l=void 0===s?24:s,c=e.style,u=void 0===c?{}:c,p=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:l},u)},p),a.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},13499:(e,t,n)=>{"use strict";var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(77810),a=(r=i)&&r.__esModule?r:{default:r};t.A=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,i=void 0===r?24:r,s=e.height,l=void 0===s?24:s,c=e.style,u=void 0===c?{}:c,p=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:l},u)},p),a.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},6:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>v});var r=n(64181),o=n(77810),i=n(22483);function a(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var s="undefined"!=typeof window&&"undefined"!=typeof document;function l(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function c(){return s&&document.createElement("div")}function u(e,t){if(e===t)return!0;if("object"==typeof e&&null!=e&&"object"==typeof t&&null!=t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e){if(!t.hasOwnProperty(n))return!1;if(!u(e[n],t[n]))return!1}return!0}return!1}function p(e){var t=[];return e.forEach((function(e){t.find((function(t){return u(e,t)}))||t.push(e)})),t}function d(e,t){var n,r;return Object.assign({},t,{popperOptions:Object.assign({},e.popperOptions,t.popperOptions,{modifiers:p([].concat((null==(n=e.popperOptions)?void 0:n.modifiers)||[],(null==(r=t.popperOptions)?void 0:r.modifiers)||[]))})})}var f=s?o.useLayoutEffect:o.useEffect;function h(e){var t=(0,o.useRef)();return t.current||(t.current="function"==typeof e?e():e),t.current}function m(e,t,n){n.split(/\s+/).forEach((function(n){n&&e.classList[t](n)}))}var g={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,n=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function r(){e.props.className&&!n()||m(t,"add",e.props.className)}return{onCreate:r,onBeforeUpdate:function(){n()&&m(t,"remove",e.props.className)},onAfterUpdate:r}}};function b(e){return function(t){var n=t.children,r=t.content,s=t.visible,u=t.singleton,p=t.render,m=t.reference,b=t.disabled,v=void 0!==b&&b,y=t.ignoreAttributes,w=void 0===y||y,I=(t.__source,t.__self,a(t,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),x=void 0!==s,E=void 0!==u,S=(0,o.useState)(!1),M=S[0],k=S[1],j=(0,o.useState)({}),C=j[0],P=j[1],N=(0,o.useState)(),T=N[0],A=N[1],L=h((function(){return{container:c(),renders:1}})),D=Object.assign({ignoreAttributes:w},I,{content:L.container});x&&(D.trigger="manual",D.hideOnClick=!1),E&&(v=!0);var O=D,R=D.plugins||[];p&&(O=Object.assign({},D,{plugins:E&&null!=u.data?[].concat(R,[{fn:function(){return{onTrigger:function(e,t){var n=u.data.children.find((function(e){return e.instance.reference===t.currentTarget}));e.state.$$activeSingletonInstance=n.instance,A(n.content)}}}}]):R,render:function(){return{popper:L.container}}}));var B=[m].concat(n?[n.type]:[]);return f((function(){var t=m;m&&m.hasOwnProperty("current")&&(t=m.current);var n=e(t||L.ref||c(),Object.assign({},O,{plugins:[g].concat(D.plugins||[])}));return L.instance=n,v&&n.disable(),s&&n.show(),E&&u.hook({instance:n,content:r,props:O,setSingletonContent:A}),k(!0),function(){n.destroy(),null==u||u.cleanup(n)}}),B),f((function(){var e;if(1!==L.renders){var t=L.instance;t.setProps(d(t.props,O)),null==(e=t.popperInstance)||e.forceUpdate(),v?t.disable():t.enable(),x&&(s?t.show():t.hide()),E&&u.hook({instance:t,content:r,props:O,setSingletonContent:A})}else L.renders++})),f((function(){var e;if(p){var t=L.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat(((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[]).filter((function(e){return"$$tippyReact"!==e.name})),[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state,r=null==(t=n.modifiersData)?void 0:t.hide;C.placement===n.placement&&C.referenceHidden===(null==r?void 0:r.isReferenceHidden)&&C.escaped===(null==r?void 0:r.hasPopperEscaped)||P({placement:n.placement,referenceHidden:null==r?void 0:r.isReferenceHidden,escaped:null==r?void 0:r.hasPopperEscaped}),n.attributes.popper={}}}])})})}}),[C.placement,C.referenceHidden,C.escaped].concat(B)),o.createElement(o.Fragment,null,n?(0,o.cloneElement)(n,{ref:function(e){L.ref=e,l(n.ref,e)}}):null,M&&(0,i.createPortal)(p?p(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(C),T,L.instance):r,L.container))}}const v=function(e,t){return(0,o.forwardRef)((function(n,r){var i=n.children,s=a(n,["children"]);return o.createElement(e,Object.assign({},t,s),i?(0,o.cloneElement)(i,{ref:function(e){l(r,e),l(i.ref,e)}}):null)}))}(b(r.Ay))},64622:(e,t,n)=>{"use strict";var r=n(86285),o=[],i=[],a=r.makeRequestCallFromTimer((function(){if(i.length)throw i.shift()}));function s(e){var t;(t=o.length?o.pop():new l).task=e,r(t)}function l(){this.task=null}e.exports=s,l.prototype.call=function(){try{this.task.call()}catch(e){s.onerror?s.onerror(e):(i.push(e),a())}finally{this.task=null,o[o.length]=this}}},86285:(e,t,n)=>{"use strict";function r(e){i.length||(o(),!0),i[i.length]=e}e.exports=r;var o,i=[],a=0;function s(){for(;a<i.length;){var e=a;if(a+=1,i[e].call(),a>1024){for(var t=0,n=i.length-a;t<n;t++)i[t]=i[t+a];i.length-=a,a=0}}i.length=0,a=0}var l,c,u,p=void 0!==n.g?n.g:self,d=p.MutationObserver||p.WebKitMutationObserver;function f(e){return function(){var t=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(t),clearInterval(n),e()}}}"function"==typeof d?(l=1,c=new d(s),u=document.createTextNode(""),c.observe(u,{characterData:!0}),o=function(){l=-l,u.data=l}):o=f(s),r.requestFlush=o,r.makeRequestCallFromTimer=f},75755:(e,t)=>{var n;
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},31319:(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},20051:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=n(31319),a=n(47219);o(n(47219),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.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,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new a.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.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 a.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=l,t.default=l},47219:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=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])},r(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 n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);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.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=n(31319),s=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return 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),x(this,e)},e}();t.Node=s;var l=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return o(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(s);t.DataNode=l;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Text,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=c;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Comment,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=u;var p=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=a.ElementType.Directive,r}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=p;var d=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return o(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}(s);t.NodeWithChildren=d;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(d);t.CDATA=f;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(d);t.Document=h;var m=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var i=e.call(this,r)||this;return i.name=t,i.attribs=n,i.type=o,i}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),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,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(d);function g(e){return(0,a.isTag)(e)}function b(e){return e.type===a.ElementType.CDATA}function v(e){return e.type===a.ElementType.Text}function y(e){return e.type===a.ElementType.Comment}function w(e){return e.type===a.ElementType.Directive}function I(e){return e.type===a.ElementType.Root}function x(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new c(e.data);else if(y(e))n=new u(e.data);else if(g(e)){var r=t?E(e.children):[],o=new m(e.name,i({},e.attribs),r);r.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=o}else if(b(e)){r=t?E(e.children):[];var a=new f(r);r.forEach((function(e){return e.parent=a})),n=a}else if(I(e)){r=t?E(e.children):[];var s=new h(r);r.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else{if(!w(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new p(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function E(e){for(var t=e.map((function(e){return x(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=g,t.isCDATA=b,t.isText=v,t.isComment=y,t.isDirective=w,t.isDocument=I,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=x},42713:(e,t,n)=>{var r;
/*!
Copyright (c) 2015 Jed Watson.
Based on code that is Copyright 2013-2015, Facebook, Inc.
All rights reserved.
*/!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}()},69064:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=t.CARRIAGE_RETURN_PLACEHOLDER=t.CARRIAGE_RETURN_REGEX=t.CARRIAGE_RETURN=t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce((function(e,t){return e[t.toLowerCase()]=t,e}),{}),t.CARRIAGE_RETURN="\r",t.CARRIAGE_RETURN_REGEX=new RegExp(t.CARRIAGE_RETURN,"g"),t.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__"),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(t.CARRIAGE_RETURN_PLACEHOLDER,"g")},2634:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,d=(e=(0,r.escapeSpecialCharacters)(e)).match(s),f=d&&d[1]?d[1].toLowerCase():"";switch(f){case o:var h=p(e);if(!l.test(e))null===(t=null==(b=h.querySelector(i))?void 0:b.parentNode)||void 0===t||t.removeChild(b);if(!c.test(e))null===(n=null==(b=h.querySelector(a))?void 0:b.parentNode)||void 0===n||n.removeChild(b);return h.querySelectorAll(o);case i:case a:var g=u(e).querySelectorAll(f);return c.test(e)&&l.test(e)?g[0].parentNode.childNodes:g;default:return m?m(e):(b=u(e,a).querySelector(a)).childNodes;var b}};var r=n(14297),o="html",i="head",a="body",s=/<([a-zA-Z]+[0-9]?)/,l=/<head[^]*>/i,c=/<body[^]*>/i,u=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},p=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},d="object"==typeof window&&window.DOMParser;if("function"==typeof d){var f=new d;u=p=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),f.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var h=document.implementation.createHTMLDocument();u=function(e,t){if(t){var n=h.documentElement.querySelector(t);return n&&(n.innerHTML=e),h}return h.documentElement.innerHTML=e,h}}var m,g="object"==typeof document&&document.createElement("template");g&&g.content&&(m=function(e){return g.innerHTML=e,g.content.childNodes})},3025:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(a),n=t?t[1]:void 0;return(0,i.formatDOM)((0,o.default)(e),null,n)};var o=r(n(2634)),i=n(14297),a=/<(![a-zA-Z\s]+)>/},14297:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAttributes=i,t.escapeSpecialCharacters=function(e){return e.replace(o.CARRIAGE_RETURN_REGEX,o.CARRIAGE_RETURN_PLACEHOLDER)},t.revertEscapedCharacters=s,t.formatDOM=function e(t,n,o){void 0===n&&(n=null);for(var l,c=[],u=0,p=t.length;u<p;u++){var d=t[u];switch(d.nodeType){case 1:var f=a(d.nodeName);(l=new r.Element(f,i(d.attributes))).children=e("template"===f?d.content.childNodes:d.childNodes,l);break;case 3:l=new r.Text(s(d.nodeValue));break;case 8:l=new r.Comment(d.nodeValue);break;default:continue}var h=c[u-1]||null;h&&(h.next=l),l.parent=n,l.prev=h,l.next=null,c.push(l)}o&&((l=new r.ProcessingInstruction(o.substring(0,o.indexOf(" ")).toLowerCase(),o)).next=c[0]||null,l.parent=n,c.unshift(l),c[1]&&(c[1].prev=c[0]));return c};var r=n(20051),o=n(69064);function i(e){for(var t={},n=0,r=e.length;n<r;n++){var o=e[n];t[o.name]=o.value}return t}function a(e){var t=function(e){return o.CASE_SENSITIVE_TAG_NAMES_MAP[e]}(e=e.toLowerCase());return t||e}function s(e){return e.replace(o.CARRIAGE_RETURN_PLACEHOLDER_REGEX,o.CARRIAGE_RETURN)}},99858:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===e&&(e={});var n={},c=Boolean(e.type&&s[e.type]);for(var u in e){var p=e[u];if((0,r.isCustomAttribute)(u))n[u]=p;else{var d=u.toLowerCase(),f=l(d);if(f){var h=(0,r.getPropertyInfo)(f);switch(i.includes(f)&&a.includes(t)&&!c&&(f=l("default"+d)),n[f]=p,h&&h.type){case r.BOOLEAN:n[f]=!0;break;case r.OVERLOADED_BOOLEAN:""===p&&(n[f]=!0)}}else o.PRESERVE_CUSTOM_ATTRIBUTES&&(n[u]=p)}}return(0,o.setStyleProp)(e.style,n),n};var r=n(17848),o=n(75384),i=["checked","value"],a=["input","select","textarea"],s={reset:!0,submit:!0};function l(e){return r.possibleStandardNames[e]}},46510:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){void 0===n&&(n={});for(var r=[],o="function"==typeof n.replace,c=n.transform||a.returnFirstArg,u=n.library||s,p=u.cloneElement,d=u.createElement,f=u.isValidElement,h=t.length,m=0;m<h;m++){var g=t[m];if(o){var b=n.replace(g,m);if(f(b)){h>1&&(b=p(b,{key:b.key||m})),r.push(c(b,g,m));continue}}if("text"!==g.type){var v=g,y={};l(v)?((0,a.setStyleProp)(v.attribs.style,v.attribs),y=v.attribs):v.attribs&&(y=(0,i.default)(v.attribs,v.name));var w=void 0;switch(g.type){case"script":case"style":g.children[0]&&(y.dangerouslySetInnerHTML={__html:g.children[0].data});break;case"tag":"textarea"===g.name&&g.children[0]?y.defaultValue=g.children[0].data:g.children&&g.children.length&&(w=e(g.children,n));break;default:continue}h>1&&(y.key=m),r.push(c(d(g.name,y,w),g,m))}else{var I=!g.data.trim().length;if(I&&g.parent&&!(0,a.canTextBeChildOfNode)(g.parent))continue;if(n.trim&&I)continue;r.push(c(g.data,g,m))}}return 1===r.length?r[0]:r};var o=n(77810),i=r(n(99858)),a=n(75384),s={cloneElement:o.cloneElement,createElement:o.createElement,isValidElement:o.isValidElement};function l(e){return a.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&(0,a.isCustomComponent)(e.name,e.attribs)}},46484:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0,t.default=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];return(0,a.default)((0,o.default)(e,(null==t?void 0:t.htmlparser2)||l),t)};var o=r(n(3025));t.htmlToDOM=o.default;var i=r(n(99858));t.attributesToProps=i.default;var a=r(n(46510));t.domToReact=a.default;var s=n(20051);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return s.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return s.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return s.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return s.Text}});var l={lowerCaseAttributeNames:!1}},75384:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=void 0,t.isCustomComponent=function(e,t){if(!e.includes("-"))return Boolean(t&&"string"==typeof t.is);if(a.has(e))return!1;return!0},t.setStyleProp=function(e,t){if("string"!=typeof e)return;if(!e.trim())return void(t.style={});try{t.style=(0,i.default)(e,s)}catch(n){t.style={}}};var o=n(77810),i=r(n(85171)),a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);var s={reactCompat:!0};t.PRESERVE_CUSTOM_ATTRIBUTES=Number(o.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);t.canTextBeChildOfNode=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)};t.returnFirstArg=function(e){return e}},5810:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,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 p=1,d=1;function f(e){var t=e.match(n);t&&(p+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function h(){var e={line:p,column:d};return function(t){return t.position=new m(e),y(),t}}function m(e){this.start=e,this.end={line:p,column:d},this.source=l.source}m.prototype.content=e;var g=[];function b(t){var n=new Error(l.source+":"+p+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=p,n.column=d,n.source=e,!l.silent)throw n;g.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function y(){v(r)}function w(e){var t;for(e=e||[];t=I();)!1!==t&&e.push(t);return e}function I(){var t=h();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 b("End of comment missing");var r=e.slice(2,n-2);return d+=2,f(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function x(){var e=h(),n=v(o);if(n){if(I(),!v(i))return b("property missing ':'");var r=v(a),l=e({type:"declaration",property:u(n[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return v(s),l}}return y(),function(){var e,t=[];for(w(t);e=x();)!1!==e&&(t.push(e),w(t));return t}()}},37230:(e,t,n)=>{var r=n(33984)(n(29107),"DataView");e.exports=r},83435:(e,t,n)=>{var r=n(26890),o=n(49484),i=n(37215),a=n(87811),s=n(90747);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},95217:(e,t,n)=>{var r=n(74412),o=n(28522),i=n(50469),a=n(61161),s=n(81441);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},75661:(e,t,n)=>{var r=n(33984)(n(29107),"Map");e.exports=r},53287:(e,t,n)=>{var r=n(28206),o=n(89768),i=n(26827),a=n(70663),s=n(25135);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},29102:(e,t,n)=>{var r=n(33984)(n(29107),"Promise");e.exports=r},5963:(e,t,n)=>{var r=n(33984)(n(29107),"Set");e.exports=r},71641:(e,t,n)=>{var r=n(53287),o=n(62486),i=n(9361);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},16435:(e,t,n)=>{var r=n(95217),o=n(28658),i=n(63844),a=n(56503),s=n(31563),l=n(10259);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},96711:(e,t,n)=>{var r=n(29107).Symbol;e.exports=r},59282:(e,t,n)=>{var r=n(29107).Uint8Array;e.exports=r},70469:(e,t,n)=>{var r=n(33984)(n(29107),"WeakMap");e.exports=r},53643:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},43928:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},97137:(e,t,n)=>{var r=n(85410),o=n(2382),i=n(62003),a=n(31262),s=n(62615),l=n(89221),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),p=!n&&!u&&a(e),d=!n&&!u&&!p&&l(e),f=n||u||p||d,h=f?r(e.length,String):[],m=h.length;for(var g in e)!t&&!c.call(e,g)||f&&("length"==g||p&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||h.push(g);return h}},14:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},60562:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},19854:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},46645:(e,t,n)=>{var r=n(69330),o=n(98330),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},24767:(e,t,n)=>{var r=n(98330);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},60383:(e,t,n)=>{var r=n(18113),o=n(65304);e.exports=function(e,t){return e&&r(t,o(t),e)}},47844:(e,t,n)=>{var r=n(18113),o=n(7495);e.exports=function(e,t){return e&&r(t,o(t),e)}},69330:(e,t,n)=>{var r=n(73009);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},81937:(e,t,n)=>{var r=n(16435),o=n(53643),i=n(46645),a=n(60383),s=n(47844),l=n(2932),c=n(39061),u=n(20709),p=n(18038),d=n(85760),f=n(3183),h=n(70695),m=n(69303),g=n(95385),b=n(3991),v=n(62003),y=n(31262),w=n(85652),I=n(95603),x=n(29318),E=n(65304),S=n(7495),M="[object Arguments]",k="[object Function]",j="[object Object]",C={};C[M]=C["[object Array]"]=C["[object ArrayBuffer]"]=C["[object DataView]"]=C["[object Boolean]"]=C["[object Date]"]=C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Map]"]=C["[object Number]"]=C[j]=C["[object RegExp]"]=C["[object Set]"]=C["[object String]"]=C["[object Symbol]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C["[object Error]"]=C[k]=C["[object WeakMap]"]=!1,e.exports=function e(t,n,P,N,T,A){var L,D=1&n,O=2&n,R=4&n;if(P&&(L=T?P(t,N,T,A):P(t)),void 0!==L)return L;if(!I(t))return t;var B=v(t);if(B){if(L=m(t),!D)return c(t,L)}else{var H=h(t),W=H==k||"[object GeneratorFunction]"==H;if(y(t))return l(t,D);if(H==j||H==M||W&&!T){if(L=O||W?{}:b(t),!D)return O?p(t,s(L,t)):u(t,a(L,t))}else{if(!C[H])return T?t:{};L=g(t,H,D)}}A||(A=new r);var z=A.get(t);if(z)return z;A.set(t,L),x(t)?t.forEach((function(r){L.add(e(r,n,P,r,t,A))})):w(t)&&t.forEach((function(r,o){L.set(o,e(r,n,P,o,t,A))}));var Z=B?void 0:(R?O?f:d:O?S:E)(t);return o(Z||t,(function(r,o){Z&&(r=t[o=r]),i(L,o,e(r,n,P,o,t,A))})),L}},93962:(e,t,n)=>{var r=n(95603),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},27587:(e,t,n)=>{var r=n(10427),o=n(23679)(r);e.exports=o},91595:(e,t,n)=>{var r=n(50951)();e.exports=r},10427:(e,t,n)=>{var r=n(91595),o=n(65304);e.exports=function(e,t){return e&&r(e,t,o)}},384:(e,t,n)=>{var r=n(34275),o=n(48059);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},68821:(e,t,n)=>{var r=n(60562),o=n(62003);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},36522:(e,t,n)=>{var r=n(96711),o=n(10905),i=n(42588),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},86571:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},82744:(e,t,n)=>{var r=n(36522),o=n(52620);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},39336:(e,t,n)=>{var r=n(1894),o=n(52620);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,s))}},1894:(e,t,n)=>{var r=n(16435),o=n(81505),i=n(39620),a=n(70439),s=n(70695),l=n(62003),c=n(31262),u=n(89221),p="[object Arguments]",d="[object Array]",f="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,b){var v=l(e),y=l(t),w=v?d:s(e),I=y?d:s(t),x=(w=w==p?f:w)==f,E=(I=I==p?f:I)==f,S=w==I;if(S&&c(e)){if(!c(t))return!1;v=!0,x=!1}if(S&&!x)return b||(b=new r),v||u(e)?o(e,t,n,m,g,b):i(e,t,w,n,m,g,b);if(!(1&n)){var M=x&&h.call(e,"__wrapped__"),k=E&&h.call(t,"__wrapped__");if(M||k){var j=M?e.value():e,C=k?t.value():t;return b||(b=new r),g(j,C,n,m,b)}}return!!S&&(b||(b=new r),a(e,t,n,m,g,b))}},88742:(e,t,n)=>{var r=n(70695),o=n(52620);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},84253:(e,t,n)=>{var r=n(16435),o=n(39336);e.exports=function(e,t,n,i){var a=n.length,s=a,l=!i;if(null==e)return!s;for(e=Object(e);a--;){var c=n[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var u=(c=n[a])[0],p=e[u],d=c[1];if(l&&c[2]){if(void 0===p&&!(u in e))return!1}else{var f=new r;if(i)var h=i(p,d,u,e,t,f);if(!(void 0===h?o(d,p,3,i,f):h))return!1}}return!0}},62249:(e,t,n)=>{var r=n(78148),o=n(71398),i=n(95603),a=n(41543),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,p=c.hasOwnProperty,d=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?d:s).test(a(e))}},95476:(e,t,n)=>{var r=n(70695),o=n(52620);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},45387:(e,t,n)=>{var r=n(36522),o=n(17164),i=n(52620),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},77675:(e,t,n)=>{var r=n(95141),o=n(8476),i=n(1686),a=n(62003),s=n(97093);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):s(e)}},96794:(e,t,n)=>{var r=n(26165),o=n(56132),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},88157:(e,t,n)=>{var r=n(95603),o=n(26165),i=n(4555),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},65718:(e,t,n)=>{var r=n(27587),o=n(86316);e.exports=function(e,t){var n=-1,i=o(e)?Array(e.length):[];return r(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}},95141:(e,t,n)=>{var r=n(84253),o=n(98418),i=n(93591);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},8476:(e,t,n)=>{var r=n(39336),o=n(81214),i=n(98765),a=n(35456),s=n(57030),l=n(93591),c=n(48059);e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},31171:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},44589:(e,t,n)=>{var r=n(384);e.exports=function(e){return function(t){return r(t,e)}}},85410:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},38354:(e,t,n)=>{var r=n(96711),o=n(14),i=n(62003),a=n(96596),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},22347:e=>{e.exports=function(e){return function(t){return e(t)}}},27585:e=>{e.exports=function(e,t){return e.has(t)}},2072:(e,t,n)=>{var r=n(1686);e.exports=function(e){return"function"==typeof e?e:r}},34275:(e,t,n)=>{var r=n(62003),o=n(35456),i=n(25240),a=n(47060);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},81987:(e,t,n)=>{var r=n(59282);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},2932:(e,t,n)=>{e=n.nmd(e);var r=n(29107),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},3931:(e,t,n)=>{var r=n(81987);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},51259:e=>{var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},36878:(e,t,n)=>{var r=n(96711),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},23859:(e,t,n)=>{var r=n(81987);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},39061:e=>{e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},18113:(e,t,n)=>{var r=n(46645),o=n(69330);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=i?i(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),a?o(n,c,u):r(n,c,u)}return n}},20709:(e,t,n)=>{var r=n(18113),o=n(26806);e.exports=function(e,t){return r(e,o(e),t)}},18038:(e,t,n)=>{var r=n(18113),o=n(86337);e.exports=function(e,t){return r(e,o(e),t)}},53887:(e,t,n)=>{var r=n(29107)["__core-js_shared__"];e.exports=r},23679:(e,t,n)=>{var r=n(86316);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a<i)&&!1!==o(s[a],a,s););return n}}},50951:e=>{e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}},73009:(e,t,n)=>{var r=n(33984),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},81505:(e,t,n)=>{var r=n(71641),o=n(19854),i=n(27585);e.exports=function(e,t,n,a,s,l){var c=1&n,u=e.length,p=t.length;if(u!=p&&!(c&&p>u))return!1;var d=l.get(e),f=l.get(t);if(d&&f)return d==t&&f==e;var h=-1,m=!0,g=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++h<u;){var b=e[h],v=t[h];if(a)var y=c?a(v,b,h,t,e,l):a(b,v,h,e,t,l);if(void 0!==y){if(y)continue;m=!1;break}if(g){if(!o(t,(function(e,t){if(!i(g,t)&&(b===e||s(b,e,n,a,l)))return g.push(t)}))){m=!1;break}}else if(b!==v&&!s(b,v,n,a,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},39620:(e,t,n)=>{var r=n(96711),o=n(59282),i=n(98330),a=n(81505),s=n(95483),l=n(85841),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,p,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=s;case"[object Set]":var h=1&r;if(f||(f=l),e.size!=t.size&&!h)return!1;var m=d.get(e);if(m)return m==t;r|=2,d.set(e,t);var g=a(f(e),f(t),r,c,p,d);return d.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},70439:(e,t,n)=>{var r=n(85760),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var l=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var p=u;p--;){var d=c[p];if(!(l?d in t:o.call(t,d)))return!1}var f=s.get(e),h=s.get(t);if(f&&h)return f==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=l;++p<u;){var b=e[d=c[p]],v=t[d];if(i)var y=l?i(v,b,d,t,e,s):i(b,v,d,e,t,s);if(!(void 0===y?b===v||a(b,v,n,i,s):y)){m=!1;break}g||(g="constructor"==d)}if(m&&!g){var w=e.constructor,I=t.constructor;w==I||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof I&&I instanceof I||(m=!1)}return s.delete(e),s.delete(t),m}},62718:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},85760:(e,t,n)=>{var r=n(68821),o=n(26806),i=n(65304);e.exports=function(e){return r(e,i,o)}},3183:(e,t,n)=>{var r=n(68821),o=n(86337),i=n(7495);e.exports=function(e){return r(e,i,o)}},56929:(e,t,n)=>{var r=n(19732);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},98418:(e,t,n)=>{var r=n(57030),o=n(65304);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},33984:(e,t,n)=>{var r=n(62249),o=n(11074);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},95425:(e,t,n)=>{var r=n(70889)(Object.getPrototypeOf,Object);e.exports=r},10905:(e,t,n)=>{var r=n(96711),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(l){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},26806:(e,t,n)=>{var r=n(43928),o=n(40119),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},86337:(e,t,n)=>{var r=n(60562),o=n(95425),i=n(26806),a=n(40119),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},70695:(e,t,n)=>{var r=n(37230),o=n(75661),i=n(29102),a=n(5963),s=n(70469),l=n(36522),c=n(41543),u="[object Map]",p="[object Promise]",d="[object Set]",f="[object WeakMap]",h="[object DataView]",m=c(r),g=c(o),b=c(i),v=c(a),y=c(s),w=l;(r&&w(new r(new ArrayBuffer(1)))!=h||o&&w(new o)!=u||i&&w(i.resolve())!=p||a&&w(new a)!=d||s&&w(new s)!=f)&&(w=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return h;case g:return u;case b:return p;case v:return d;case y:return f}return t}),e.exports=w},11074:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},32248:(e,t,n)=>{var r=n(34275),o=n(2382),i=n(62003),a=n(62615),s=n(17164),l=n(48059);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,p=!1;++c<u;){var d=l(t[c]);if(!(p=null!=e&&n(e,d)))break;e=e[d]}return p||++c!=u?p:!!(u=null==e?0:e.length)&&s(u)&&a(d,u)&&(i(e)||o(e))}},26890:(e,t,n)=>{var r=n(26060);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},49484:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},37215:(e,t,n)=>{var r=n(26060),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},87811:(e,t,n)=>{var r=n(26060),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},90747:(e,t,n)=>{var r=n(26060);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},69303:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},95385:(e,t,n)=>{var r=n(81987),o=n(3931),i=n(51259),a=n(36878),s=n(23859);e.exports=function(e,t,n){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},3991:(e,t,n)=>{var r=n(93962),o=n(95425),i=n(26165);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},62615:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},35456:(e,t,n)=>{var r=n(62003),o=n(96596),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},19732:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},71398:(e,t,n)=>{var r,o=n(53887),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},26165:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},57030:(e,t,n)=>{var r=n(95603);e.exports=function(e){return e==e&&!r(e)}},74412:e=>{e.exports=function(){this.__data__=[],this.size=0}},28522:(e,t,n)=>{var r=n(24767),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},50469:(e,t,n)=>{var r=n(24767);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},61161:(e,t,n)=>{var r=n(24767);e.exports=function(e){return r(this.__data__,e)>-1}},81441:(e,t,n)=>{var r=n(24767);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},28206:(e,t,n)=>{var r=n(83435),o=n(95217),i=n(75661);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},89768:(e,t,n)=>{var r=n(56929);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},26827:(e,t,n)=>{var r=n(56929);e.exports=function(e){return r(this,e).get(e)}},70663:(e,t,n)=>{var r=n(56929);e.exports=function(e){return r(this,e).has(e)}},25135:(e,t,n)=>{var r=n(56929);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},95483:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},93591:e=>{e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},30874:(e,t,n)=>{var r=n(61894);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},26060:(e,t,n)=>{var r=n(33984)(Object,"create");e.exports=r},56132:(e,t,n)=>{var r=n(70889)(Object.keys,Object);e.exports=r},4555:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},18315:(e,t,n)=>{e=n.nmd(e);var r=n(62718),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s},42588:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},70889:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},29107:(e,t,n)=>{var r=n(62718),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},62486:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},9361:e=>{e.exports=function(e){return this.__data__.has(e)}},85841:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},28658:(e,t,n)=>{var r=n(95217);e.exports=function(){this.__data__=new r,this.size=0}},63844:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},56503:e=>{e.exports=function(e){return this.__data__.get(e)}},31563:e=>{e.exports=function(e){return this.__data__.has(e)}},10259:(e,t,n)=>{var r=n(95217),o=n(75661),i=n(53287);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},25240:(e,t,n)=>{var r=n(30874),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},48059:(e,t,n)=>{var r=n(96596);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},41543:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},3009:(e,t,n)=>{var r=n(81937);e.exports=function(e){return r(e,5)}},98330:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},11633:(e,t,n)=>{var r=n(10427),o=n(2072);e.exports=function(e,t){return e&&r(e,o(t))}},81214:(e,t,n)=>{var r=n(384);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},98765:(e,t,n)=>{var r=n(86571),o=n(32248);e.exports=function(e,t){return null!=e&&o(e,t,r)}},1686:e=>{e.exports=function(e){return e}},2382:(e,t,n)=>{var r=n(82744),o=n(52620),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},62003:e=>{var t=Array.isArray;e.exports=t},86316:(e,t,n)=>{var r=n(78148),o=n(17164);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},31262:(e,t,n)=>{e=n.nmd(e);var r=n(29107),o=n(72125),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},78148:(e,t,n)=>{var r=n(36522),o=n(95603);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},17164:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},85652:(e,t,n)=>{var r=n(88742),o=n(22347),i=n(18315),a=i&&i.isMap,s=a?o(a):r;e.exports=s},95603:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},52620:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},61449:(e,t,n)=>{var r=n(36522),o=n(95425),i=n(52620),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},29318:(e,t,n)=>{var r=n(95476),o=n(22347),i=n(18315),a=i&&i.isSet,s=a?o(a):r;e.exports=s},13085:(e,t,n)=>{var r=n(36522),o=n(62003),i=n(52620);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},96596:(e,t,n)=>{var r=n(36522),o=n(52620);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},89221:(e,t,n)=>{var r=n(45387),o=n(22347),i=n(18315),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},65304:(e,t,n)=>{var r=n(97137),o=n(96794),i=n(86316);e.exports=function(e){return i(e)?r(e):o(e)}},7495:(e,t,n)=>{var r=n(97137),o=n(88157),i=n(86316);e.exports=function(e){return i(e)?r(e,!0):o(e)}},27528:(e,t,n)=>{var r=n(14),o=n(77675),i=n(65718),a=n(62003);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},61894:(e,t,n)=>{var r=n(53287);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},97093:(e,t,n)=>{var r=n(31171),o=n(44589),i=n(35456),a=n(48059);e.exports=function(e){return i(e)?r(a(e)):o(e)}},40119:e=>{e.exports=function(){return[]}},72125:e=>{e.exports=function(){return!1}},47060:(e,t,n)=>{var r=n(38354);e.exports=function(e){return null==e?"":r(e)}},39529:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function o(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(o=e[n],i=t[n],!(o===i||r(o)&&r(i)))return!1;var o,i;return!0}const i=function(e,t){var n;void 0===t&&(t=o);var r,i=[],a=!1;return function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return a&&n===this&&t(o,i)||(r=e.apply(this,o),a=!0,n=this,i=o),r}}},6e4:(e,t,n)=>{"use strict";e.exports=n(84684)},83509:(e,t,n)=>{"use strict";var r=n(86285);function o(){}var i=null,a={};function s(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("Promise constructor's argument is not a function");this._x=0,this._y=0,this._z=null,this._A=null,e!==o&&f(e,this)}function l(e,t){for(;3===e._y;)e=e._z;if(s._B&&s._B(e),0===e._y)return 0===e._x?(e._x=1,void(e._A=t)):1===e._x?(e._x=2,void(e._A=[e._A,t])):void e._A.push(t);!function(e,t){r((function(){var n=1===e._y?t.onFulfilled:t.onRejected;if(null!==n){var r=function(e,t){try{return e(t)}catch(n){return i=n,a}}(n,e._z);r===a?u(t.promise,i):c(t.promise,r)}else 1===e._y?c(t.promise,e._z):u(t.promise,e._z)}))}(e,t)}function c(e,t){if(t===e)return u(e,new TypeError("A promise cannot be resolved with itself."));if(t&&("object"==typeof t||"function"==typeof t)){var n=function(e){try{return e.then}catch(t){return i=t,a}}(t);if(n===a)return u(e,i);if(n===e.then&&t instanceof s)return e._y=3,e._z=t,void p(e);if("function"==typeof n)return void f(n.bind(t),e)}e._y=1,e._z=t,p(e)}function u(e,t){e._y=2,e._z=t,s._C&&s._C(e,t),p(e)}function p(e){if(1===e._x&&(l(e,e._A),e._A=null),2===e._x){for(var t=0;t<e._A.length;t++)l(e,e._A[t]);e._A=null}}function d(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function f(e,t){var n=!1,r=function(e,t,n){try{e(t,n)}catch(r){return i=r,a}}(e,(function(e){n||(n=!0,c(t,e))}),(function(e){n||(n=!0,u(t,e))}));n||r!==a||(n=!0,u(t,i))}e.exports=s,s._B=null,s._C=null,s._D=o,s.prototype.then=function(e,t){if(this.constructor!==s)return function(e,t,n){return new e.constructor((function(r,i){var a=new s(o);a.then(r,i),l(e,new d(t,n,a))}))}(this,e,t);var n=new s(o);return l(this,new d(e,t,n)),n}},71958:(e,t,n)=>{"use strict";var r=n(83509);e.exports=r,r.prototype.done=function(e,t){(arguments.length?this.then.apply(this,arguments):this).then(null,(function(e){setTimeout((function(){throw e}),0)}))}},47433:(e,t,n)=>{"use strict";var r=n(83509);e.exports=r;var o=u(!0),i=u(!1),a=u(null),s=u(void 0),l=u(0),c=u("");function u(e){var t=new r(r._D);return t._y=1,t._z=e,t}r.resolve=function(e){if(e instanceof r)return e;if(null===e)return a;if(void 0===e)return s;if(!0===e)return o;if(!1===e)return i;if(0===e)return l;if(""===e)return c;if("object"==typeof e||"function"==typeof e)try{var t=e.then;if("function"==typeof t)return new r(t.bind(e))}catch(n){return new r((function(e,t){t(n)}))}return u(e)};var p=function(e){return"function"==typeof Array.from?(p=Array.from,Array.from(e)):(p=function(e){return Array.prototype.slice.call(e)},Array.prototype.slice.call(e))};function d(e){return{status:"fulfilled",value:e}}function f(e){return{status:"rejected",reason:e}}function h(e){if(e&&("object"==typeof e||"function"==typeof e)){if(e instanceof r&&e.then===r.prototype.then)return e.then(d,f);var t=e.then;if("function"==typeof t)return new r(t.bind(e)).then(d,f)}return d(e)}function m(e){if("function"==typeof AggregateError)return new AggregateError(e,"All promises were rejected");var t=new Error("All promises were rejected");return t.name="AggregateError",t.errors=e,t}r.all=function(e){var t=p(e);return new r((function(e,n){if(0===t.length)return e([]);var o=t.length;function i(a,s){if(s&&("object"==typeof s||"function"==typeof s)){if(s instanceof r&&s.then===r.prototype.then){for(;3===s._y;)s=s._z;return 1===s._y?i(a,s._z):(2===s._y&&n(s._z),void s.then((function(e){i(a,e)}),n))}var l=s.then;if("function"==typeof l)return void new r(l.bind(s)).then((function(e){i(a,e)}),n)}t[a]=s,0==--o&&e(t)}for(var a=0;a<t.length;a++)i(a,t[a])}))},r.allSettled=function(e){return r.all(p(e).map(h))},r.reject=function(e){return new r((function(t,n){n(e)}))},r.race=function(e){return new r((function(t,n){p(e).forEach((function(e){r.resolve(e).then(t,n)}))}))},r.prototype.catch=function(e){return this.then(null,e)},r.any=function(e){return new r((function(t,n){var o=p(e),i=!1,a=[];function s(e){i||(i=!0,t(e))}function l(e){a.push(e),a.length===o.length&&n(m(a))}0===o.length?n(m(a)):o.forEach((function(e){r.resolve(e).then(s,l)}))}))}},42019:(e,t,n)=>{"use strict";var r=n(83509);e.exports=r,r.prototype.finally=function(e){return this.then((function(t){return r.resolve(e()).then((function(){return t}))}),(function(t){return r.resolve(e()).then((function(){throw t}))}))}},84684:(e,t,n)=>{"use strict";e.exports=n(83509),n(71958),n(42019),n(47433),n(71337),n(97869)},71337:(e,t,n)=>{"use strict";var r=n(83509),o=n(64622);e.exports=r,r.denodeify=function(e,t){return"number"==typeof t&&t!==1/0?function(e,t){for(var n=[],o=0;o<t;o++)n.push("a"+o);var a=["return function ("+n.join(",")+") {","var self = this;","return new Promise(function (rs, rj) {","var res = fn.call(",["self"].concat(n).concat([i]).join(","),");","if (res &&",'(typeof res === "object" || typeof res === "function") &&','typeof res.then === "function"',") {rs(res);}","});","};"].join("");return Function(["Promise","fn"],a)(r,e)}(e,t):function(e){for(var t=Math.max(e.length-1,3),n=[],o=0;o<t;o++)n.push("a"+o);var a=["return function ("+n.join(",")+") {","var self = this;","var args;","var argLength = arguments.length;","if (arguments.length > "+t+") {","args = new Array(arguments.length + 1);","for (var i = 0; i < arguments.length; i++) {","args[i] = arguments[i];","}","}","return new Promise(function (rs, rj) {","var cb = "+i+";","var res;","switch (argLength) {",n.concat(["extra"]).map((function(e,t){return"case "+t+":res = fn.call("+["self"].concat(n.slice(0,t)).concat("cb").join(",")+");break;"})).join(""),"default:","args[argLength] = cb;","res = fn.apply(self, args);","}","if (res &&",'(typeof res === "object" || typeof res === "function") &&','typeof res.then === "function"',") {rs(res);}","});","};"].join("");return Function(["Promise","fn"],a)(r,e)}(e)};var i="function (err, res) {if (err) { rj(err); } else { rs(res); }}";r.nodeify=function(e){return function(){var t=Array.prototype.slice.call(arguments),n="function"==typeof t[t.length-1]?t.pop():null,i=this;try{return e.apply(this,arguments).nodeify(n,i)}catch(a){if(null==n)return new r((function(e,t){t(a)}));o((function(){n.call(i,a)}))}}},r.prototype.nodeify=function(e,t){if("function"!=typeof e)return this;this.then((function(n){o((function(){e.call(t,null,n)}))}),(function(n){o((function(){e.call(t,n)}))}))}},97869:(e,t,n)=>{"use strict";var r=n(83509);e.exports=r,r.enableSynchronous=function(){r.prototype.isPending=function(){return 0==this.getState()},r.prototype.isFulfilled=function(){return 1==this.getState()},r.prototype.isRejected=function(){return 2==this.getState()},r.prototype.getValue=function(){if(3===this._y)return this._z.getValue();if(!this.isFulfilled())throw new Error("Cannot get a value of an unfulfilled promise.");return this._z},r.prototype.getReason=function(){if(3===this._y)return this._z.getReason();if(!this.isRejected())throw new Error("Cannot get a rejection reason of a non-rejected promise.");return this._z},r.prototype.getState=function(){return 3===this._y?this._z.getState():-1===this._y||-2===this._y?0:this._y}},r.disableSynchronous=function(){r.prototype.isPending=void 0,r.prototype.isFulfilled=void 0,r.prototype.isRejected=void 0,r.prototype.getValue=void 0,r.prototype.getReason=void 0,r.prototype.getState=void 0}},70628:(e,t,n)=>{"use strict";var r=n(54067);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},75826:(e,t,n)=>{e.exports=n(70628)()},54067:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},28482:(e,t,n)=>{"use strict";n.d(t,{Xq:()=>yi});var r=n(77810),o=n(69325),i={},a=function(e,t,n,r){var o=e+"-"+t+"-"+n+(r?"-server":"");if(i[o])return i[o];var a=function(e,t,n,r){if("undefined"==typeof document&&!r)return null;var o=r?new r:document.createElement("canvas");o.width=2*n,o.height=2*n;var i=o.getContext("2d");return i?(i.fillStyle=e,i.fillRect(0,0,o.width,o.height),i.fillStyle=t,i.fillRect(0,0,n,n),i.translate(n,n),i.fillRect(0,0,n,n),o.toDataURL()):null}(e,t,n,r);return i[o]=a,a},s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(e){var t=e.white,n=e.grey,i=e.size,l=e.renderers,c=e.borderRadius,u=e.boxShadow,p=e.children,d=(0,o.Ay)({default:{grid:{borderRadius:c,boxShadow:u,absolute:"0px 0px 0px 0px",background:"url("+a(t,n,i,l.canvas)+") center left"}}});return(0,r.isValidElement)(p)?r.cloneElement(p,s({},p.props,{style:s({},p.props.style,d.grid)})):r.createElement("div",{style:d.grid})};l.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};const c=l;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}const f=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.handleChange=function(e){var t=function(e,t,n,r,o){var i=o.clientWidth,a=o.clientHeight,s="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,c=s-(o.getBoundingClientRect().left+window.pageXOffset),u=l-(o.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n){var p=void 0;if(p=u<0?0:u>a?1:Math.round(100*u/a)/100,t.a!==p)return{h:t.h,s:t.s,l:t.l,a:p,source:"rgb"}}else{var d=void 0;if(r!==(d=c<0?0:c>i?1:Math.round(100*c/i)/100))return{h:t.h,s:t.s,l:t.l,a:d,source:"rgb"}}return null}(e,r.props.hsl,r.props.direction,r.props.a,r.container);t&&"function"==typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleChange),window.removeEventListener("mouseup",r.handleMouseUp)},d(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),p(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,n=(0,o.Ay)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:u({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return r.createElement("div",{style:n.alpha},r.createElement("div",{style:n.checkboard},r.createElement(c,{renderers:this.props.renderers})),r.createElement("div",{style:n.gradient}),r.createElement("div",{style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.createElement("div",{style:n.pointer},this.props.pointer?r.createElement(this.props.pointer,this.props):r.createElement("div",{style:n.slider}))))}}]),t}(r.PureComponent||r.Component);var h=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var m=[38,40],g=1;const b=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.handleBlur=function(){n.state.blurValue&&n.setState({value:n.state.blurValue,blurValue:null})},n.handleChange=function(e){n.setUpdatedValue(e.target.value,e)},n.handleKeyDown=function(e){var t,r=function(e){return Number(String(e).replace(/%/g,""))}(e.target.value);if(!isNaN(r)&&(t=e.keyCode,m.indexOf(t)>-1)){var o=n.getArrowOffset(),i=38===e.keyCode?r+o:r-o;n.setUpdatedValue(i,e)}},n.handleDrag=function(e){if(n.props.dragLabel){var t=Math.round(n.props.value+e.movementX);t>=0&&t<=n.props.dragMax&&n.props.onChange&&n.props.onChange(n.getValueObjectWithLabel(t),e)}},n.handleMouseDown=function(e){n.props.dragLabel&&(e.preventDefault(),n.handleDrag(e),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},n.inputId="rc-editable-input-"+g++,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),h(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var n=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(n,t),this.setState({value:e})}},{key:"render",value:function(){var e=this,t=(0,o.Ay)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return r.createElement("div",{style:t.wrap},r.createElement("input",{id:this.inputId,style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?r.createElement("label",{htmlFor:this.inputId,style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(r.PureComponent||r.Component);var v=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function y(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}const w=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=y(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.handleChange=function(e){var t=function(e,t,n,r){var o=r.clientWidth,i=r.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(r.getBoundingClientRect().left+window.pageXOffset),c=s-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===t){var u=void 0;if(u=c<0?359:c>i?0:360*(-100*c/i+100)/100,n.h!==u)return{h:u,s:n.s,l:n.l,a:n.a,source:"hsl"}}else{var p=void 0;if(p=l<0?0:l>o?359:100*l/o*360/100,n.h!==p)return{h:p,s:n.s,l:n.l,a:n.a,source:"hsl"}}return null}(e,r.props.direction,r.props.hsl,r.container);t&&"function"==typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},y(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),v(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,n=void 0===t?"horizontal":t,i=(0,o.Ay)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===n});return r.createElement("div",{style:i.hue},r.createElement("div",{className:"hue-"+n,style:i.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),r.createElement("div",{style:i.pointer},this.props.pointer?r.createElement(this.props.pointer,this.props):r.createElement("div",{style:i.slider}))))}}]),t}(r.PureComponent||r.Component);var I=n(75826),x=n.n(I);const E=function(){this.__data__=[],this.size=0};const S=function(e,t){return e===t||e!=e&&t!=t};const M=function(e,t){for(var n=e.length;n--;)if(S(e[n][0],t))return n;return-1};var k=Array.prototype.splice;const j=function(e){var t=this.__data__,n=M(t,e);return!(n<0)&&(n==t.length-1?t.pop():k.call(t,n,1),--this.size,!0)};const C=function(e){var t=this.__data__,n=M(t,e);return n<0?void 0:t[n][1]};const P=function(e){return M(this.__data__,e)>-1};const N=function(e,t){var n=this.__data__,r=M(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function T(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}T.prototype.clear=E,T.prototype.delete=j,T.prototype.get=C,T.prototype.has=P,T.prototype.set=N;const A=T;const L=function(){this.__data__=new A,this.size=0};const D=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};const O=function(e){return this.__data__.get(e)};const R=function(e){return this.__data__.has(e)};const B="object"==typeof global&&global&&global.Object===Object&&global;var H="object"==typeof self&&self&&self.Object===Object&&self;const W=B||H||Function("return this")();const z=W.Symbol;var Z=Object.prototype,_=Z.hasOwnProperty,G=Z.toString,U=z?z.toStringTag:void 0;const F=function(e){var t=_.call(e,U),n=e[U];try{e[U]=void 0;var r=!0}catch(i){}var o=G.call(e);return r&&(t?e[U]=n:delete e[U]),o};var V=Object.prototype.toString;const J=function(e){return V.call(e)};var Y=z?z.toStringTag:void 0;const Q=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Y&&Y in Object(e)?F(e):J(e)};const X=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const q=function(e){if(!X(e))return!1;var t=Q(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};const $=W["__core-js_shared__"];var K,ee=(K=/[^.]+$/.exec($&&$.keys&&$.keys.IE_PROTO||""))?"Symbol(src)_1."+K:"";const te=function(e){return!!ee&&ee in e};var ne=Function.prototype.toString;const re=function(e){if(null!=e){try{return ne.call(e)}catch(t){}try{return e+""}catch(t){}}return""};var oe=/^\[object .+?Constructor\]$/,ie=Function.prototype,ae=Object.prototype,se=ie.toString,le=ae.hasOwnProperty,ce=RegExp("^"+se.call(le).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const ue=function(e){return!(!X(e)||te(e))&&(q(e)?ce:oe).test(re(e))};const pe=function(e,t){return null==e?void 0:e[t]};const de=function(e,t){var n=pe(e,t);return ue(n)?n:void 0};const fe=de(W,"Map");const he=de(Object,"create");const me=function(){this.__data__=he?he(null):{},this.size=0};const ge=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t};var be=Object.prototype.hasOwnProperty;const ve=function(e){var t=this.__data__;if(he){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return be.call(t,e)?t[e]:void 0};var ye=Object.prototype.hasOwnProperty;const we=function(e){var t=this.__data__;return he?void 0!==t[e]:ye.call(t,e)};const Ie=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=he&&void 0===t?"__lodash_hash_undefined__":t,this};function xe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}xe.prototype.clear=me,xe.prototype.delete=ge,xe.prototype.get=ve,xe.prototype.has=we,xe.prototype.set=Ie;const Ee=xe;const Se=function(){this.size=0,this.__data__={hash:new Ee,map:new(fe||A),string:new Ee}};const Me=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};const ke=function(e,t){var n=e.__data__;return Me(t)?n["string"==typeof t?"string":"hash"]:n.map};const je=function(e){var t=ke(this,e).delete(e);return this.size-=t?1:0,t};const Ce=function(e){return ke(this,e).get(e)};const Pe=function(e){return ke(this,e).has(e)};const Ne=function(e,t){var n=ke(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function Te(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Te.prototype.clear=Se,Te.prototype.delete=je,Te.prototype.get=Ce,Te.prototype.has=Pe,Te.prototype.set=Ne;const Ae=Te;const Le=function(e,t){var n=this.__data__;if(n instanceof A){var r=n.__data__;if(!fe||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ae(r)}return n.set(e,t),this.size=n.size,this};function De(e){var t=this.__data__=new A(e);this.size=t.size}De.prototype.clear=L,De.prototype.delete=D,De.prototype.get=O,De.prototype.has=R,De.prototype.set=Le;const Oe=De;const Re=function(){try{var e=de(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();const Be=function(e,t,n){"__proto__"==t&&Re?Re(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n};const He=function(e,t,n){(void 0!==n&&!S(e[t],n)||void 0===n&&!(t in e))&&Be(e,t,n)};const We=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}();var ze="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ze=ze&&"object"==typeof module&&module&&!module.nodeType&&module,_e=Ze&&Ze.exports===ze?W.Buffer:void 0,Ge=_e?_e.allocUnsafe:void 0;const Ue=function(e,t){if(t)return e.slice();var n=e.length,r=Ge?Ge(n):new e.constructor(n);return e.copy(r),r};const Fe=W.Uint8Array;const Ve=function(e){var t=new e.constructor(e.byteLength);return new Fe(t).set(new Fe(e)),t};const Je=function(e,t){var n=t?Ve(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};const Ye=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t};var Qe=Object.create;const Xe=function(){function e(){}return function(t){if(!X(t))return{};if(Qe)return Qe(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();const qe=function(e,t){return function(n){return e(t(n))}};const $e=qe(Object.getPrototypeOf,Object);var Ke=Object.prototype;const et=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ke)};const tt=function(e){return"function"!=typeof e.constructor||et(e)?{}:Xe($e(e))};const nt=function(e){return null!=e&&"object"==typeof e};const rt=function(e){return nt(e)&&"[object Arguments]"==Q(e)};var ot=Object.prototype,it=ot.hasOwnProperty,at=ot.propertyIsEnumerable;const st=rt(function(){return arguments}())?rt:function(e){return nt(e)&&it.call(e,"callee")&&!at.call(e,"callee")};const lt=Array.isArray;const ct=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};const ut=function(e){return null!=e&&ct(e.length)&&!q(e)};const pt=function(e){return nt(e)&&ut(e)};const dt=function(){return!1};var ft="object"==typeof exports&&exports&&!exports.nodeType&&exports,ht=ft&&"object"==typeof module&&module&&!module.nodeType&&module,mt=ht&&ht.exports===ft?W.Buffer:void 0;const gt=(mt?mt.isBuffer:void 0)||dt;var bt=Function.prototype,vt=Object.prototype,yt=bt.toString,wt=vt.hasOwnProperty,It=yt.call(Object);const xt=function(e){if(!nt(e)||"[object Object]"!=Q(e))return!1;var t=$e(e);if(null===t)return!0;var n=wt.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&yt.call(n)==It};var Et={};Et["[object Float32Array]"]=Et["[object Float64Array]"]=Et["[object Int8Array]"]=Et["[object Int16Array]"]=Et["[object Int32Array]"]=Et["[object Uint8Array]"]=Et["[object Uint8ClampedArray]"]=Et["[object Uint16Array]"]=Et["[object Uint32Array]"]=!0,Et["[object Arguments]"]=Et["[object Array]"]=Et["[object ArrayBuffer]"]=Et["[object Boolean]"]=Et["[object DataView]"]=Et["[object Date]"]=Et["[object Error]"]=Et["[object Function]"]=Et["[object Map]"]=Et["[object Number]"]=Et["[object Object]"]=Et["[object RegExp]"]=Et["[object Set]"]=Et["[object String]"]=Et["[object WeakMap]"]=!1;const St=function(e){return nt(e)&&ct(e.length)&&!!Et[Q(e)]};const Mt=function(e){return function(t){return e(t)}};var kt="object"==typeof exports&&exports&&!exports.nodeType&&exports,jt=kt&&"object"==typeof module&&module&&!module.nodeType&&module,Ct=jt&&jt.exports===kt&&B.process,Pt=function(){try{var e=jt&&jt.require&&jt.require("util").types;return e||Ct&&Ct.binding&&Ct.binding("util")}catch(t){}}();var Nt=Pt&&Pt.isTypedArray;const Tt=Nt?Mt(Nt):St;const At=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var Lt=Object.prototype.hasOwnProperty;const Dt=function(e,t,n){var r=e[t];Lt.call(e,t)&&S(r,n)&&(void 0!==n||t in e)||Be(e,t,n)};const Ot=function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),o?Be(n,s,l):Dt(n,s,l)}return n};const Rt=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r};var Bt=/^(?:0|[1-9]\d*)$/;const Ht=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Bt.test(e))&&e>-1&&e%1==0&&e<t};var Wt=Object.prototype.hasOwnProperty;const zt=function(e,t){var n=lt(e),r=!n&&st(e),o=!n&&!r&>(e),i=!n&&!r&&!o&&Tt(e),a=n||r||o||i,s=a?Rt(e.length,String):[],l=s.length;for(var c in e)!t&&!Wt.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Ht(c,l))||s.push(c);return s};const Zt=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t};var _t=Object.prototype.hasOwnProperty;const Gt=function(e){if(!X(e))return Zt(e);var t=et(e),n=[];for(var r in e)("constructor"!=r||!t&&_t.call(e,r))&&n.push(r);return n};const Ut=function(e){return ut(e)?zt(e,!0):Gt(e)};const Ft=function(e){return Ot(e,Ut(e))};const Vt=function(e,t,n,r,o,i,a){var s=At(e,n),l=At(t,n),c=a.get(l);if(c)He(e,n,c);else{var u=i?i(s,l,n+"",e,t,a):void 0,p=void 0===u;if(p){var d=lt(l),f=!d&>(l),h=!d&&!f&&Tt(l);u=l,d||f||h?lt(s)?u=s:pt(s)?u=Ye(s):f?(p=!1,u=Ue(l,!0)):h?(p=!1,u=Je(l,!0)):u=[]:xt(l)||st(l)?(u=s,st(s)?u=Ft(s):X(s)&&!q(s)||(u=tt(l))):p=!1}p&&(a.set(l,u),o(u,l,r,i,a),a.delete(l)),He(e,n,u)}};const Jt=function e(t,n,r,o,i){t!==n&&We(n,(function(a,s){if(i||(i=new Oe),X(a))Vt(t,n,s,r,e,o,i);else{var l=o?o(At(t,s),a,s+"",t,n,i):void 0;void 0===l&&(l=a),He(t,s,l)}}),Ut)};const Yt=function(e){return e};const Qt=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)};var Xt=Math.max;const qt=function(e,t,n){return t=Xt(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=Xt(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),Qt(e,this,s)}};const $t=function(e){return function(){return e}};const Kt=Re?function(e,t){return Re(e,"toString",{configurable:!0,enumerable:!1,value:$t(t),writable:!0})}:Yt;var en=Date.now;const tn=function(e){var t=0,n=0;return function(){var r=en(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Kt);const nn=function(e,t){return tn(qt(e,t,Yt),e+"")};const rn=function(e,t,n){if(!X(n))return!1;var r=typeof t;return!!("number"==r?ut(n)&&Ht(t,n.length):"string"==r&&t in n)&&S(n[t],e)};const on=function(e){return nn((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&rn(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t}))}((function(e,t,n){Jt(e,t,n)}));var an=function(e){var t=e.zDepth,n=e.radius,i=e.background,a=e.children,s=e.styles,l=void 0===s?{}:s,c=(0,o.Ay)(on({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+4*t+"px rgba(0,0,0,.24)",borderRadius:n,background:i}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},l),{"zDepth-1":1===t});return r.createElement("div",{style:c.wrap},r.createElement("div",{style:c.bg}),r.createElement("div",{style:c.content},a))};an.propTypes={background:x().string,zDepth:x().oneOf([0,1,2,3,4,5]),radius:x().number,styles:x().object},an.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};const sn=an;const ln=function(){return W.Date.now()};var cn=/\s/;const un=function(e){for(var t=e.length;t--&&cn.test(e.charAt(t)););return t};var pn=/^\s+/;const dn=function(e){return e?e.slice(0,un(e)+1).replace(pn,""):e};const fn=function(e){return"symbol"==typeof e||nt(e)&&"[object Symbol]"==Q(e)};var hn=/^[-+]0x[0-9a-f]+$/i,mn=/^0b[01]+$/i,gn=/^0o[0-7]+$/i,bn=parseInt;const vn=function(e){if("number"==typeof e)return e;if(fn(e))return NaN;if(X(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=X(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=dn(e);var n=mn.test(e);return n||gn.test(e)?bn(e.slice(2),n?2:8):hn.test(e)?NaN:+e};var yn=Math.max,wn=Math.min;const In=function(e,t,n){var r,o,i,a,s,l,c=0,u=!1,p=!1,d=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function f(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function h(e){var n=e-l;return void 0===l||n>=t||n<0||p&&e-c>=i}function m(){var e=ln();if(h(e))return g(e);s=setTimeout(m,function(e){var n=t-(e-l);return p?wn(n,i-(e-c)):n}(e))}function g(e){return s=void 0,d&&r?f(e):(r=o=void 0,a)}function b(){var e=ln(),n=h(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(m,t),u?f(e):a}(l);if(p)return clearTimeout(s),s=setTimeout(m,t),f(l)}return void 0===s&&(s=setTimeout(m,t)),a}return t=vn(t)||0,X(n)&&(u=!!n.leading,i=(p="maxWait"in n)?yn(vn(n.maxWait)||0,t):i,d="trailing"in n?!!n.trailing:d),b.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=o=s=void 0},b.flush=function(){return void 0===s?a:g(ln())},b};const xn=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return X(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),In(e,t,{leading:r,maxWait:t,trailing:o})};var En=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var Sn=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleChange=function(e){"function"==typeof n.props.onChange&&n.throttle(n.props.onChange,function(e,t,n){var r=n.getBoundingClientRect(),o=r.width,i=r.height,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(n.getBoundingClientRect().left+window.pageXOffset),c=s-(n.getBoundingClientRect().top+window.pageYOffset);l<0?l=0:l>o&&(l=o),c<0?c=0:c>i&&(c=i);var u=l/o,p=1-c/i;return{h:t.h,s:u,v:p,a:t.a,source:"hsv"}}(e,n.props.hsl,n.container),e)},n.handleMouseDown=function(e){n.handleChange(e);var t=n.getContainerRenderWindow();t.addEventListener("mousemove",n.handleChange),t.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.throttle=xn((function(e,t,n){e(t,n)}),50),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),En(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var e=this.container,t=window;!t.document.contains(e)&&t.parent!==t;)t=t.parent;return t}},{key:"unbindEventListeners",value:function(){var e=this.getContainerRenderWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},n=t.color,i=t.white,a=t.black,s=t.pointer,l=t.circle,c=(0,o.Ay)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:n,white:i,black:a,pointer:s,circle:l}},{custom:!!this.props.style});return r.createElement("div",{style:c.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),r.createElement("div",{style:c.white,className:"saturation-white"},r.createElement("div",{style:c.black,className:"saturation-black"}),r.createElement("div",{style:c.pointer},this.props.pointer?r.createElement(this.props.pointer,this.props):r.createElement("div",{style:c.circle}))))}}]),t}(r.PureComponent||r.Component);const Mn=Sn;const kn=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e};const jn=qe(Object.keys,Object);var Cn=Object.prototype.hasOwnProperty;const Pn=function(e){if(!et(e))return jn(e);var t=[];for(var n in Object(e))Cn.call(e,n)&&"constructor"!=n&&t.push(n);return t};const Nn=function(e){return ut(e)?zt(e):Pn(e)};const Tn=function(e,t){return function(n,r){if(null==n)return n;if(!ut(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Object(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}((function(e,t){return e&&We(e,t,Nn)}));const An=function(e){return"function"==typeof e?e:Yt};const Ln=function(e,t){return(lt(e)?kn:Tn)(e,An(t))};var Dn=n(84519),On=n.n(Dn),Rn=function(e){var t=0,n=0;return Ln(["r","g","b","a","h","s","l","v"],(function(r){if(e[r]&&(t+=1,isNaN(e[r])||(n+=1),"s"===r||"l"===r)){/^\d+%$/.test(e[r])&&(n+=1)}})),t===n&&e},Bn=function(e,t){var n=e.hex?On()(e.hex):On()(e),r=n.toHsl(),o=n.toHsv(),i=n.toRgb(),a=n.toHex();return 0===r.s&&(r.h=t||0,o.h=t||0),{hsl:r,hex:"000000"===a&&0===i.a?"transparent":"#"+a,rgb:i,hsv:o,oldHue:e.h||t||r.h,source:e.source}},Hn=function(e){if("transparent"===e)return!0;var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&On()(e).isValid()},Wn=function(e){if(!e)return"#fff";var t=Bn(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},zn=function(e,t){var n=e.replace("°","");return On()(t+" ("+n+")")._ok},Zn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();const Gn=function(e){var t=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.handleChange=function(e,n){if(Rn(e)){var r=Bn(e,e.h||t.state.oldHue);t.setState(r),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,r,n),t.props.onChange&&t.props.onChange(r,n)}},t.handleSwatchHover=function(e,n){if(Rn(e)){var r=Bn(e,e.h||t.state.oldHue);t.props.onSwatchHover&&t.props.onSwatchHover(r,n)}},t.state=Zn({},Bn(e.color,0)),t.debounce=In((function(e,t,n){e(t,n)}),100),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),_n(n,[{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),r.createElement(e,Zn({},this.props,this.state,{onChange:this.handleChange},t))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return Zn({},Bn(e.color,t.oldHue))}}]),n}(r.PureComponent||r.Component);return t.propTypes=Zn({},e.propTypes),t.defaultProps=Zn({},e.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),t};var Un=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fn=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Vn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var Jn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};const Yn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function o(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return t=n=Vn(this,(e=o.__proto__||Object.getPrototypeOf(o)).call.apply(e,[this].concat(i))),n.state={focus:!1},n.handleFocus=function(){return n.setState({focus:!0})},n.handleBlur=function(){return n.setState({focus:!1})},Vn(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,n),Fn(o,[{key:"render",value:function(){return r.createElement(t,{onFocus:this.handleFocus,onBlur:this.handleBlur},r.createElement(e,Un({},this.props,this.state)))}}]),o}(r.Component)}((function(e){var t=e.color,n=e.style,i=e.onClick,a=void 0===i?function(){}:i,s=e.onHover,l=e.title,u=void 0===l?t:l,p=e.children,d=e.focus,f=e.focusStyle,h=void 0===f?{}:f,m="transparent"===t,g=(0,o.Ay)({default:{swatch:Jn({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},n,d?h:{})}}),b={};return s&&(b.onMouseOver=function(e){return s(t,e)}),r.createElement("div",Jn({style:g.swatch,onClick:function(e){return a(t,e)},title:u,tabIndex:0,onKeyDown:function(e){return 13===e.keyCode&&a(t,e)}},b),p,m&&r.createElement(c,{borderRadius:g.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))}));const Qn=function(e){var t=e.direction,n=(0,o.Ay)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return r.createElement("div",{style:n.picker})};var Xn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qn=function(e){var t=e.rgb,n=e.hsl,i=e.width,a=e.height,s=e.onChange,l=e.direction,c=e.style,u=e.renderers,p=e.pointer,d=e.className,h=void 0===d?"":d,m=(0,o.Ay)({default:{picker:{position:"relative",width:i,height:a},alpha:{radius:"2px",style:c}}});return r.createElement("div",{style:m.picker,className:"alpha-picker "+h},r.createElement(f,Xn({},m.alpha,{rgb:t,hsl:n,pointer:p,renderers:u,onChange:s,direction:l})))};qn.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:Qn};Gn(qn);const $n=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o};const Kn=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};const er=function(e){return this.__data__.has(e)};function tr(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Ae;++t<n;)this.add(e[t])}tr.prototype.add=tr.prototype.push=Kn,tr.prototype.has=er;const nr=tr;const rr=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};const or=function(e,t){return e.has(t)};const ir=function(e,t,n,r,o,i){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var p=-1,d=!0,f=2&n?new nr:void 0;for(i.set(e,t),i.set(t,e);++p<s;){var h=e[p],m=t[p];if(r)var g=a?r(m,h,p,t,e,i):r(h,m,p,e,t,i);if(void 0!==g){if(g)continue;d=!1;break}if(f){if(!rr(t,(function(e,t){if(!or(f,t)&&(h===e||o(h,e,n,r,i)))return f.push(t)}))){d=!1;break}}else if(h!==m&&!o(h,m,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d};const ar=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n};const sr=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n};var lr=z?z.prototype:void 0,cr=lr?lr.valueOf:void 0;const ur=function(e,t,n,r,o,i,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new Fe(e),new Fe(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return S(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=ar;case"[object Set]":var l=1&r;if(s||(s=sr),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=ir(s(e),s(t),r,o,i,a);return a.delete(e),u;case"[object Symbol]":if(cr)return cr.call(e)==cr.call(t)}return!1};const pr=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e};const dr=function(e,t,n){var r=t(e);return lt(e)?r:pr(r,n(e))};const fr=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i};const hr=function(){return[]};var mr=Object.prototype.propertyIsEnumerable,gr=Object.getOwnPropertySymbols;const br=gr?function(e){return null==e?[]:(e=Object(e),fr(gr(e),(function(t){return mr.call(e,t)})))}:hr;const vr=function(e){return dr(e,Nn,br)};var yr=Object.prototype.hasOwnProperty;const wr=function(e,t,n,r,o,i){var a=1&n,s=vr(e),l=s.length;if(l!=vr(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:yr.call(t,u)))return!1}var p=i.get(e),d=i.get(t);if(p&&d)return p==t&&d==e;var f=!0;i.set(e,t),i.set(t,e);for(var h=a;++c<l;){var m=e[u=s[c]],g=t[u];if(r)var b=a?r(g,m,u,t,e,i):r(m,g,u,e,t,i);if(!(void 0===b?m===g||o(m,g,n,r,i):b)){f=!1;break}h||(h="constructor"==u)}if(f&&!h){var v=e.constructor,y=t.constructor;v==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof y&&y instanceof y||(f=!1)}return i.delete(e),i.delete(t),f};const Ir=de(W,"DataView");const xr=de(W,"Promise");const Er=de(W,"Set");const Sr=de(W,"WeakMap");var Mr="[object Map]",kr="[object Promise]",jr="[object Set]",Cr="[object WeakMap]",Pr="[object DataView]",Nr=re(Ir),Tr=re(fe),Ar=re(xr),Lr=re(Er),Dr=re(Sr),Or=Q;(Ir&&Or(new Ir(new ArrayBuffer(1)))!=Pr||fe&&Or(new fe)!=Mr||xr&&Or(xr.resolve())!=kr||Er&&Or(new Er)!=jr||Sr&&Or(new Sr)!=Cr)&&(Or=function(e){var t=Q(e),n="[object Object]"==t?e.constructor:void 0,r=n?re(n):"";if(r)switch(r){case Nr:return Pr;case Tr:return Mr;case Ar:return kr;case Lr:return jr;case Dr:return Cr}return t});const Rr=Or;var Br="[object Arguments]",Hr="[object Array]",Wr="[object Object]",zr=Object.prototype.hasOwnProperty;const Zr=function(e,t,n,r,o,i){var a=lt(e),s=lt(t),l=a?Hr:Rr(e),c=s?Hr:Rr(t),u=(l=l==Br?Wr:l)==Wr,p=(c=c==Br?Wr:c)==Wr,d=l==c;if(d&>(e)){if(!gt(t))return!1;a=!0,u=!1}if(d&&!u)return i||(i=new Oe),a||Tt(e)?ir(e,t,n,r,o,i):ur(e,t,l,n,r,o,i);if(!(1&n)){var f=u&&zr.call(e,"__wrapped__"),h=p&&zr.call(t,"__wrapped__");if(f||h){var m=f?e.value():e,g=h?t.value():t;return i||(i=new Oe),o(m,g,n,r,i)}}return!!d&&(i||(i=new Oe),wr(e,t,n,r,o,i))};const _r=function e(t,n,r,o,i){return t===n||(null==t||null==n||!nt(t)&&!nt(n)?t!=t&&n!=n:Zr(t,n,r,o,e,i))};const Gr=function(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Object(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){var l=(s=n[o])[0],c=e[l],u=s[1];if(a&&s[2]){if(void 0===c&&!(l in e))return!1}else{var p=new Oe;if(r)var d=r(c,u,l,e,t,p);if(!(void 0===d?_r(u,c,3,r,p):d))return!1}}return!0};const Ur=function(e){return e==e&&!X(e)};const Fr=function(e){for(var t=Nn(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ur(o)]}return t};const Vr=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}};const Jr=function(e){var t=Fr(e);return 1==t.length&&t[0][2]?Vr(t[0][0],t[0][1]):function(n){return n===e||Gr(n,e,t)}};var Yr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Qr=/^\w*$/;const Xr=function(e,t){if(lt(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!fn(e))||(Qr.test(e)||!Yr.test(e)||null!=t&&e in Object(t))};function qr(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(qr.Cache||Ae),n}qr.Cache=Ae;const $r=qr;var Kr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,eo=/\\(\\)?/g;const to=function(e){var t=$r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Kr,(function(e,n,r,o){t.push(r?o.replace(eo,"$1"):n||e)})),t}));var no=z?z.prototype:void 0,ro=no?no.toString:void 0;const oo=function e(t){if("string"==typeof t)return t;if(lt(t))return $n(t,e)+"";if(fn(t))return ro?ro.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n};const io=function(e){return null==e?"":oo(e)};const ao=function(e,t){return lt(e)?e:Xr(e,t)?[e]:to(io(e))};const so=function(e){if("string"==typeof e||fn(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t};const lo=function(e,t){for(var n=0,r=(t=ao(t,e)).length;null!=e&&n<r;)e=e[so(t[n++])];return n&&n==r?e:void 0};const co=function(e,t,n){var r=null==e?void 0:lo(e,t);return void 0===r?n:r};const uo=function(e,t){return null!=e&&t in Object(e)};const po=function(e,t,n){for(var r=-1,o=(t=ao(t,e)).length,i=!1;++r<o;){var a=so(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&ct(o)&&Ht(a,o)&&(lt(e)||st(e))};const fo=function(e,t){return null!=e&&po(e,t,uo)};const ho=function(e,t){return Xr(e)&&Ur(t)?Vr(so(e),t):function(n){var r=co(n,e);return void 0===r&&r===t?fo(n,e):_r(t,r,3)}};const mo=function(e){return function(t){return null==t?void 0:t[e]}};const go=function(e){return function(t){return lo(t,e)}};const bo=function(e){return Xr(e)?mo(so(e)):go(e)};const vo=function(e){return"function"==typeof e?e:null==e?Yt:"object"==typeof e?lt(e)?ho(e[0],e[1]):Jr(e):bo(e)};const yo=function(e,t){var n=-1,r=ut(e)?Array(e.length):[];return Tn(e,(function(e,o,i){r[++n]=t(e,o,i)})),r};const wo=function(e,t){return(lt(e)?$n:yo)(e,vo(t,3))};const Io=function(e){var t=e.colors,n=e.onClick,i=e.onSwatchHover,a=(0,o.Ay)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return r.createElement("div",{style:a.swatches},wo(t,(function(e){return r.createElement(Yn,{key:e,color:e,style:a.swatch,onClick:n,onHover:i,focusStyle:{boxShadow:"0 0 4px "+e}})})),r.createElement("div",{style:a.clear}))};var xo=function(e){var t=e.onChange,n=e.onSwatchHover,i=e.hex,a=e.colors,s=e.width,l=e.triangle,u=e.styles,p=void 0===u?{}:u,d=e.className,f=void 0===d?"":d,h="transparent"===i,m=function(e,n){Hn(e)&&t({hex:e,source:"hex"},n)},g=(0,o.Ay)(on({default:{card:{width:s,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:i,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:Wn(i),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+i+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},p),{"hide-triangle":"hide"===l});return r.createElement("div",{style:g.card,className:"block-picker "+f},r.createElement("div",{style:g.triangle}),r.createElement("div",{style:g.head},h&&r.createElement(c,{borderRadius:"6px 6px 0 0"}),r.createElement("div",{style:g.label},i)),r.createElement("div",{style:g.body},r.createElement(Io,{colors:a,onClick:m,onSwatchHover:n}),r.createElement(b,{style:{input:g.input},value:i,onChange:m})))};xo.propTypes={width:x().oneOfType([x().string,x().number]),colors:x().arrayOf(x().string),triangle:x().oneOf(["top","hide"]),styles:x().object},xo.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}};Gn(xo);var Eo={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},So={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},Mo={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},ko={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},jo={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},Co={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},Po={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},No={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},To={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},Ao={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},Lo={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},Do={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},Oo={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},Ro={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},Bo={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},Ho={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},Wo={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},zo={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"};var Zo=function(e){var t=e.color,n=e.onClick,i=e.onSwatchHover,a=e.hover,s=e.active,l=e.circleSize,c=e.circleSpacing,u=(0,o.Ay)({default:{swatch:{width:l,height:l,marginRight:c,marginBottom:c,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+(l/2+1)+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:a,active:s});return r.createElement("div",{style:u.swatch},r.createElement(Yn,{style:u.Swatch,color:t,onClick:n,onHover:i,focusStyle:{boxShadow:u.Swatch.boxShadow+", 0 0 5px "+t}}))};Zo.defaultProps={circleSize:28,circleSpacing:14};const _o=(0,o.H8)(Zo);var Go=function(e){var t=e.width,n=e.onChange,i=e.onSwatchHover,a=e.colors,s=e.hex,l=e.circleSize,c=e.styles,u=void 0===c?{}:c,p=e.circleSpacing,d=e.className,f=void 0===d?"":d,h=(0,o.Ay)(on({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-p,marginBottom:-p}}},u)),m=function(e,t){return n({hex:e,source:"hex"},t)};return r.createElement("div",{style:h.card,className:"circle-picker "+f},wo(a,(function(e){return r.createElement(_o,{key:e,color:e,onClick:m,onSwatchHover:i,active:s===e.toLowerCase(),circleSize:l,circleSpacing:p})})))};Go.propTypes={width:x().oneOfType([x().string,x().number]),circleSize:x().number,circleSpacing:x().number,styles:x().object},Go.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[Eo[500],So[500],Mo[500],ko[500],jo[500],Co[500],Po[500],No[500],To[500],Ao[500],Lo[500],Do[500],Oo[500],Ro[500],Bo[500],Ho[500],Wo[500],zo[500]],styles:{}};Gn(Go);const Uo=function(e){return void 0===e};var Fo=n(13499),Vo=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var Jo=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.toggleViews=function(){"hex"===n.state.view?n.setState({view:"rgb"}):"rgb"===n.state.view?n.setState({view:"hsl"}):"hsl"===n.state.view&&(1===n.props.hsl.a?n.setState({view:"hex"}):n.setState({view:"rgb"}))},n.handleChange=function(e,t){e.hex?Hn(e.hex)&&n.props.onChange({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?n.props.onChange({r:e.r||n.props.rgb.r,g:e.g||n.props.rgb.g,b:e.b||n.props.rgb.b,source:"rgb"},t):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),n.props.onChange({h:n.props.hsl.h,s:n.props.hsl.s,l:n.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"==typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"==typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),1==e.s?e.s=.01:1==e.l&&(e.l=.01),n.props.onChange({h:e.h||n.props.hsl.h,s:Number(Uo(e.s)?n.props.hsl.s:e.s),l:Number(Uo(e.l)?n.props.hsl.l:e.l),source:"hsl"},t))},n.showHighlight=function(e){e.currentTarget.style.background="#eee"},n.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?n.state={view:"rgb"}:n.state={view:e.view},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Vo(t,[{key:"render",value:function(){var e=this,t=(0,o.Ay)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),n=void 0;return"hex"===this.state.view?n=r.createElement("div",{style:t.fields,className:"flexbox-fix"},r.createElement("div",{style:t.field},r.createElement(b,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?n=r.createElement("div",{style:t.fields,className:"flexbox-fix"},r.createElement("div",{style:t.field},r.createElement(b,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),r.createElement("div",{style:t.field},r.createElement(b,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),r.createElement("div",{style:t.field},r.createElement(b,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),r.createElement("div",{style:t.alpha},r.createElement(b,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(n=r.createElement("div",{style:t.fields,className:"flexbox-fix"},r.createElement("div",{style:t.field},r.createElement(b,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),r.createElement("div",{style:t.field},r.createElement(b,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),r.createElement("div",{style:t.field},r.createElement(b,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),r.createElement("div",{style:t.alpha},r.createElement(b,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),r.createElement("div",{style:t.wrap,className:"flexbox-fix"},n,r.createElement("div",{style:t.toggle},r.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},r.createElement(Fo.A,{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(r.Component);Jo.defaultProps={view:"hex"};const Yo=Jo;const Qo=function(){var e=(0,o.Ay)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return r.createElement("div",{style:e.picker})};const Xo=function(){var e=(0,o.Ay)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return r.createElement("div",{style:e.picker})};var qo=function(e){var t=e.width,n=e.onChange,i=e.disableAlpha,a=e.rgb,s=e.hsl,l=e.hsv,u=e.hex,p=e.renderers,d=e.styles,h=void 0===d?{}:d,m=e.className,g=void 0===m?"":m,b=e.defaultView,v=(0,o.Ay)(on({default:{picker:{width:t,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+a.r+", "+a.g+", "+a.b+", "+a.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},h),{disableAlpha:i});return r.createElement("div",{style:v.picker,className:"chrome-picker "+g},r.createElement("div",{style:v.saturation},r.createElement(Mn,{style:v.Saturation,hsl:s,hsv:l,pointer:Xo,onChange:n})),r.createElement("div",{style:v.body},r.createElement("div",{style:v.controls,className:"flexbox-fix"},r.createElement("div",{style:v.color},r.createElement("div",{style:v.swatch},r.createElement("div",{style:v.active}),r.createElement(c,{renderers:p}))),r.createElement("div",{style:v.toggles},r.createElement("div",{style:v.hue},r.createElement(w,{style:v.Hue,hsl:s,pointer:Qo,onChange:n})),r.createElement("div",{style:v.alpha},r.createElement(f,{style:v.Alpha,rgb:a,hsl:s,pointer:Qo,renderers:p,onChange:n})))),r.createElement(Yo,{rgb:a,hsl:s,hex:u,view:b,onChange:n,disableAlpha:i})))};qo.propTypes={width:x().oneOfType([x().string,x().number]),disableAlpha:x().bool,styles:x().object,defaultView:x().oneOf(["hex","rgb","hsl"])},qo.defaultProps={width:225,disableAlpha:!1,styles:{}};Gn(qo);const $o=function(e){var t=e.color,n=e.onClick,i=void 0===n?function(){}:n,a=e.onSwatchHover,s=e.active,l=(0,o.Ay)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:Wn(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:s,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return r.createElement(Yn,{style:l.color,color:t,onClick:i,onHover:a,focusStyle:{boxShadow:"0 0 4px "+t}},r.createElement("div",{style:l.dot}))};const Ko=function(e){var t=e.hex,n=e.rgb,i=e.onChange,a=(0,o.Ay)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),s=function(e,t){e.r||e.g||e.b?i({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},t):i({hex:e.hex,source:"hex"},t)};return r.createElement("div",{style:a.fields,className:"flexbox-fix"},r.createElement("div",{style:a.active}),r.createElement(b,{style:{wrap:a.HEXwrap,input:a.HEXinput,label:a.HEXlabel},label:"hex",value:t,onChange:s}),r.createElement(b,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"r",value:n.r,onChange:s}),r.createElement(b,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"g",value:n.g,onChange:s}),r.createElement(b,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"b",value:n.b,onChange:s}))};var ei=function(e){var t=e.onChange,n=e.onSwatchHover,i=e.colors,a=e.hex,s=e.rgb,l=e.styles,c=void 0===l?{}:l,u=e.className,p=void 0===u?"":u,d=(0,o.Ay)(on({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},c)),f=function(e,n){e.hex?Hn(e.hex)&&t({hex:e.hex,source:"hex"},n):t(e,n)};return r.createElement(sn,{style:d.Compact,styles:c},r.createElement("div",{style:d.compact,className:"compact-picker "+p},r.createElement("div",null,wo(i,(function(e){return r.createElement($o,{key:e,color:e,active:e.toLowerCase()===a,onClick:f,onSwatchHover:n})})),r.createElement("div",{style:d.clear})),r.createElement(Ko,{hex:a,rgb:s,onChange:f})))};ei.propTypes={colors:x().arrayOf(x().string),styles:x().object},ei.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}};Gn(ei);const ti=(0,o.H8)((function(e){var t=e.hover,n=e.color,i=e.onClick,a=e.onSwatchHover,s={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},l=(0,o.Ay)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:s}},{hover:t});return r.createElement("div",{style:l.swatch},r.createElement(Yn,{color:n,onClick:i,onHover:a,focusStyle:s}))}));var ni=function(e){var t=e.width,n=e.colors,i=e.onChange,a=e.onSwatchHover,s=e.triangle,l=e.styles,c=void 0===l?{}:l,u=e.className,p=void 0===u?"":u,d=(0,o.Ay)(on({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},c),{"hide-triangle":"hide"===s,"top-left-triangle":"top-left"===s,"top-right-triangle":"top-right"===s,"bottom-left-triangle":"bottom-left"===s,"bottom-right-triangle":"bottom-right"===s}),f=function(e,t){return i({hex:e,source:"hex"},t)};return r.createElement("div",{style:d.card,className:"github-picker "+p},r.createElement("div",{style:d.triangleShadow}),r.createElement("div",{style:d.triangle}),wo(n,(function(e){return r.createElement(ti,{color:e,key:e,onClick:f,onSwatchHover:a})})))};ni.propTypes={width:x().oneOfType([x().string,x().number]),colors:x().arrayOf(x().string),triangle:x().oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:x().object},ni.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}};Gn(ni);const ri=function(e){var t=e.direction,n=(0,o.Ay)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return r.createElement("div",{style:n.picker})};var oi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ii=function(e){var t=e.width,n=e.height,i=e.onChange,a=e.hsl,s=e.direction,l=e.pointer,c=e.styles,u=void 0===c?{}:c,p=e.className,d=void 0===p?"":p,f=(0,o.Ay)(on({default:{picker:{position:"relative",width:t,height:n},hue:{radius:"2px"}}},u));return r.createElement("div",{style:f.picker,className:"hue-picker "+d},r.createElement(w,oi({},f.hue,{hsl:a,pointer:l,onChange:function(e){return i({a:1,h:e.h,l:.5,s:1})},direction:s})))};ii.propTypes={styles:x().object},ii.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:ri,styles:{}};Gn(ii);Gn((function(e){var t=e.onChange,n=e.hex,i=e.rgb,a=e.styles,s=void 0===a?{}:a,l=e.className,c=void 0===l?"":l,u=(0,o.Ay)(on({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+n,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},s)),p=function(e,n){e.hex?Hn(e.hex)&&t({hex:e.hex,source:"hex"},n):(e.r||e.g||e.b)&&t({r:e.r||i.r,g:e.g||i.g,b:e.b||i.b,source:"rgb"},n)};return r.createElement(sn,{styles:s},r.createElement("div",{style:u.material,className:"material-picker "+c},r.createElement(b,{style:{wrap:u.HEXwrap,input:u.HEXinput,label:u.HEXlabel},label:"hex",value:n,onChange:p}),r.createElement("div",{style:u.split,className:"flexbox-fix"},r.createElement("div",{style:u.third},r.createElement(b,{style:{wrap:u.RGBwrap,input:u.RGBinput,label:u.RGBlabel},label:"r",value:i.r,onChange:p})),r.createElement("div",{style:u.third},r.createElement(b,{style:{wrap:u.RGBwrap,input:u.RGBinput,label:u.RGBlabel},label:"g",value:i.g,onChange:p})),r.createElement("div",{style:u.third},r.createElement(b,{style:{wrap:u.RGBwrap,input:u.RGBinput,label:u.RGBlabel},label:"b",value:i.b,onChange:p})))))}));const ai=function(e){var t=e.onChange,n=e.rgb,i=e.hsv,a=e.hex,s=(0,o.Ay)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",top:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),l=function(e,r){e["#"]?Hn(e["#"])&&t({hex:e["#"],source:"hex"},r):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},r):(e.h||e.s||e.v)&&t({h:e.h||i.h,s:e.s||i.s,v:e.v||i.v,source:"hsv"},r)};return r.createElement("div",{style:s.fields},r.createElement(b,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"h",value:Math.round(i.h),onChange:l}),r.createElement(b,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"s",value:Math.round(100*i.s),onChange:l}),r.createElement(b,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"v",value:Math.round(100*i.v),onChange:l}),r.createElement("div",{style:s.divider}),r.createElement(b,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"r",value:n.r,onChange:l}),r.createElement(b,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"g",value:n.g,onChange:l}),r.createElement(b,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"b",value:n.b,onChange:l}),r.createElement("div",{style:s.divider}),r.createElement(b,{style:{wrap:s.HEXwrap,input:s.HEXinput,label:s.HEXlabel},label:"#",value:a.replace("#",""),onChange:l}),r.createElement("div",{style:s.fieldSymbols},r.createElement("div",{style:s.symbol},"°"),r.createElement("div",{style:s.symbol},"%"),r.createElement("div",{style:s.symbol},"%")))};const si=function(e){var t=e.hsl,n=(0,o.Ay)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":t.l>.5});return r.createElement("div",{style:n.picker})};const li=function(){var e=(0,o.Ay)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return r.createElement("div",{style:e.pointer},r.createElement("div",{style:e.left},r.createElement("div",{style:e.leftInside})),r.createElement("div",{style:e.right},r.createElement("div",{style:e.rightInside})))};const ci=function(e){var t=e.onClick,n=e.label,i=e.children,a=e.active,s=(0,o.Ay)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:a});return r.createElement("div",{style:s.button,onClick:t},n||i)};const ui=function(e){var t=e.rgb,n=e.currentColor,i=(0,o.Ay)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:n,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return r.createElement("div",null,r.createElement("div",{style:i.label},"new"),r.createElement("div",{style:i.swatches},r.createElement("div",{style:i.new}),r.createElement("div",{style:i.current})),r.createElement("div",{style:i.label},"current"))};var pi=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var di=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.state={currentColor:e.hex},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),pi(t,[{key:"render",value:function(){var e=this.props,t=e.styles,n=void 0===t?{}:t,i=e.className,a=void 0===i?"":i,s=(0,o.Ay)(on({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},n));return r.createElement("div",{style:s.picker,className:"photoshop-picker "+a},r.createElement("div",{style:s.head},this.props.header),r.createElement("div",{style:s.body,className:"flexbox-fix"},r.createElement("div",{style:s.saturation},r.createElement(Mn,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:si,onChange:this.props.onChange})),r.createElement("div",{style:s.hue},r.createElement(w,{direction:"vertical",hsl:this.props.hsl,pointer:li,onChange:this.props.onChange})),r.createElement("div",{style:s.controls},r.createElement("div",{style:s.top,className:"flexbox-fix"},r.createElement("div",{style:s.previews},r.createElement(ui,{rgb:this.props.rgb,currentColor:this.state.currentColor})),r.createElement("div",{style:s.actions},r.createElement(ci,{label:"OK",onClick:this.props.onAccept,active:!0}),r.createElement(ci,{label:"Cancel",onClick:this.props.onCancel}),r.createElement(ai,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(r.Component);di.propTypes={header:x().string,styles:x().object},di.defaultProps={header:"Color Picker",styles:{}};Gn(di);const fi=function(e){var t=e.onChange,n=e.rgb,i=e.hsl,a=e.hex,s=e.disableAlpha,l=(0,o.Ay)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:s}),c=function(e,r){e.hex?Hn(e.hex)&&t({hex:e.hex,source:"hex"},r):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,a:n.a,source:"rgb"},r):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a/=100,t({h:i.h,s:i.s,l:i.l,a:e.a,source:"rgb"},r))};return r.createElement("div",{style:l.fields,className:"flexbox-fix"},r.createElement("div",{style:l.double},r.createElement(b,{style:{input:l.input,label:l.label},label:"hex",value:a.replace("#",""),onChange:c})),r.createElement("div",{style:l.single},r.createElement(b,{style:{input:l.input,label:l.label},label:"r",value:n.r,onChange:c,dragLabel:"true",dragMax:"255"})),r.createElement("div",{style:l.single},r.createElement(b,{style:{input:l.input,label:l.label},label:"g",value:n.g,onChange:c,dragLabel:"true",dragMax:"255"})),r.createElement("div",{style:l.single},r.createElement(b,{style:{input:l.input,label:l.label},label:"b",value:n.b,onChange:c,dragLabel:"true",dragMax:"255"})),r.createElement("div",{style:l.alpha},r.createElement(b,{style:{input:l.input,label:l.label},label:"a",value:Math.round(100*n.a),onChange:c,dragLabel:"true",dragMax:"100"})))};var hi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mi=function(e){var t=e.colors,n=e.onClick,i=void 0===n?function(){}:n,a=e.onSwatchHover,s=(0,o.Ay)({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length}),l=function(e,t){i({hex:e,source:"hex"},t)};return r.createElement("div",{style:s.colors,className:"flexbox-fix"},t.map((function(e){var t="string"==typeof e?{color:e}:e,n=""+t.color+(t.title||"");return r.createElement("div",{key:n,style:s.swatchWrap},r.createElement(Yn,hi({},t,{style:s.swatch,onClick:l,onHover:a,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+t.color}})))})))};mi.propTypes={colors:x().arrayOf(x().oneOfType([x().string,x().shape({color:x().string,title:x().string})])).isRequired};const gi=mi;var bi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vi=function(e){var t=e.width,n=e.rgb,i=e.hex,a=e.hsv,s=e.hsl,l=e.onChange,u=e.onSwatchHover,p=e.disableAlpha,d=e.presetColors,h=e.renderers,m=e.styles,g=void 0===m?{}:m,b=e.className,v=void 0===b?"":b,y=(0,o.Ay)(on({default:bi({picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+n.r+","+n.g+","+n.b+","+n.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},g),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},g),{disableAlpha:p});return r.createElement("div",{style:y.picker,className:"sketch-picker "+v},r.createElement("div",{style:y.saturation},r.createElement(Mn,{style:y.Saturation,hsl:s,hsv:a,onChange:l})),r.createElement("div",{style:y.controls,className:"flexbox-fix"},r.createElement("div",{style:y.sliders},r.createElement("div",{style:y.hue},r.createElement(w,{style:y.Hue,hsl:s,onChange:l})),r.createElement("div",{style:y.alpha},r.createElement(f,{style:y.Alpha,rgb:n,hsl:s,renderers:h,onChange:l}))),r.createElement("div",{style:y.color},r.createElement(c,null),r.createElement("div",{style:y.activeColor}))),r.createElement(fi,{rgb:n,hsl:s,hex:i,onChange:l,disableAlpha:p}),r.createElement(gi,{colors:d,onClick:l,onSwatchHover:u}))};vi.propTypes={disableAlpha:x().bool,width:x().oneOfType([x().string,x().number]),styles:x().object},vi.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]};const yi=Gn(vi);const wi=function(e){var t=e.hsl,n=e.offset,i=e.onClick,a=void 0===i?function(){}:i,s=e.active,l=e.first,c=e.last,u=(0,o.Ay)({default:{swatch:{height:"12px",background:"hsl("+t.h+", 50%, "+100*n+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:s,first:l,last:c});return r.createElement("div",{style:u.swatch,onClick:function(e){return a({h:t.h,s:.5,l:n,source:"hsl"},e)}})};const Ii=function(e){var t=e.onClick,n=e.hsl,i=(0,o.Ay)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}}),a=.1;return r.createElement("div",{style:i.swatches},r.createElement("div",{style:i.swatch},r.createElement(wi,{hsl:n,offset:".80",active:Math.abs(n.l-.8)<a&&Math.abs(n.s-.5)<a,onClick:t,first:!0})),r.createElement("div",{style:i.swatch},r.createElement(wi,{hsl:n,offset:".65",active:Math.abs(n.l-.65)<a&&Math.abs(n.s-.5)<a,onClick:t})),r.createElement("div",{style:i.swatch},r.createElement(wi,{hsl:n,offset:".50",active:Math.abs(n.l-.5)<a&&Math.abs(n.s-.5)<a,onClick:t})),r.createElement("div",{style:i.swatch},r.createElement(wi,{hsl:n,offset:".35",active:Math.abs(n.l-.35)<a&&Math.abs(n.s-.5)<a,onClick:t})),r.createElement("div",{style:i.swatch},r.createElement(wi,{hsl:n,offset:".20",active:Math.abs(n.l-.2)<a&&Math.abs(n.s-.5)<a,onClick:t,last:!0})),r.createElement("div",{style:i.clear}))};const xi=function(){var e=(0,o.Ay)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return r.createElement("div",{style:e.picker})};var Ei=function(e){var t=e.hsl,n=e.onChange,i=e.pointer,a=e.styles,s=void 0===a?{}:a,l=e.className,c=void 0===l?"":l,u=(0,o.Ay)(on({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},s));return r.createElement("div",{style:u.wrap||{},className:"slider-picker "+c},r.createElement("div",{style:u.hue},r.createElement(w,{style:u.Hue,hsl:t,pointer:i,onChange:n})),r.createElement("div",{style:u.swatches},r.createElement(Ii,{hsl:t,onClick:n})))};Ei.propTypes={styles:x().object},Ei.defaultProps={pointer:xi,styles:{}};Gn(Ei);var Si=n(54694);const Mi=function(e){var t=e.color,n=e.onClick,i=void 0===n?function(){}:n,a=e.onSwatchHover,s=e.first,l=e.last,c=e.active,u=(0,o.Ay)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{color:Wn(t),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:s,last:l,active:c,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return r.createElement(Yn,{color:t,style:u.color,onClick:i,onHover:a,focusStyle:{boxShadow:"0 0 4px "+t}},r.createElement("div",{style:u.check},r.createElement(Si.A,null)))};const ki=function(e){var t=e.onClick,n=e.onSwatchHover,i=e.group,a=e.active,s=(0,o.Ay)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return r.createElement("div",{style:s.group},wo(i,(function(e,o){return r.createElement(Mi,{key:e,color:e,active:e.toLowerCase()===a,first:0===o,last:o===i.length-1,onClick:t,onSwatchHover:n})})))};var ji=function(e){var t=e.width,n=e.height,i=e.onChange,a=e.onSwatchHover,s=e.colors,l=e.hex,c=e.styles,u=void 0===c?{}:c,p=e.className,d=void 0===p?"":p,f=(0,o.Ay)(on({default:{picker:{width:t,height:n},overflow:{height:n,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},u)),h=function(e,t){return i({hex:e,source:"hex"},t)};return r.createElement("div",{style:f.picker,className:"swatches-picker "+d},r.createElement(sn,null,r.createElement("div",{style:f.overflow},r.createElement("div",{style:f.body},wo(s,(function(e){return r.createElement(ki,{key:e.toString(),group:e,active:l,onClick:h,onSwatchHover:a})})),r.createElement("div",{style:f.clear})))))};ji.propTypes={width:x().oneOfType([x().string,x().number]),height:x().oneOfType([x().string,x().number]),colors:x().arrayOf(x().arrayOf(x().string)),styles:x().object},ji.defaultProps={width:320,height:240,colors:[[Eo[900],Eo[700],Eo[500],Eo[300],Eo[100]],[So[900],So[700],So[500],So[300],So[100]],[Mo[900],Mo[700],Mo[500],Mo[300],Mo[100]],[ko[900],ko[700],ko[500],ko[300],ko[100]],[jo[900],jo[700],jo[500],jo[300],jo[100]],[Co[900],Co[700],Co[500],Co[300],Co[100]],[Po[900],Po[700],Po[500],Po[300],Po[100]],[No[900],No[700],No[500],No[300],No[100]],[To[900],To[700],To[500],To[300],To[100]],["#194D33",Ao[700],Ao[500],Ao[300],Ao[100]],[Lo[900],Lo[700],Lo[500],Lo[300],Lo[100]],[Do[900],Do[700],Do[500],Do[300],Do[100]],[Oo[900],Oo[700],Oo[500],Oo[300],Oo[100]],[Ro[900],Ro[700],Ro[500],Ro[300],Ro[100]],[Bo[900],Bo[700],Bo[500],Bo[300],Bo[100]],[Ho[900],Ho[700],Ho[500],Ho[300],Ho[100]],[Wo[900],Wo[700],Wo[500],Wo[300],Wo[100]],[zo[900],zo[700],zo[500],zo[300],zo[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}};Gn(ji);var Ci=function(e){var t=e.onChange,n=e.onSwatchHover,i=e.hex,a=e.colors,s=e.width,l=e.triangle,c=e.styles,u=void 0===c?{}:c,p=e.className,d=void 0===p?"":p,f=(0,o.Ay)(on({default:{card:{width:s,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},u),{"hide-triangle":"hide"===l,"top-left-triangle":"top-left"===l,"top-right-triangle":"top-right"===l}),h=function(e,n){Hn(e)&&t({hex:e,source:"hex"},n)};return r.createElement("div",{style:f.card,className:"twitter-picker "+d},r.createElement("div",{style:f.triangleShadow}),r.createElement("div",{style:f.triangle}),r.createElement("div",{style:f.body},wo(a,(function(e,t){return r.createElement(Yn,{key:t,color:e,hex:e,style:f.swatch,onClick:h,onHover:n,focusStyle:{boxShadow:"0 0 4px "+e}})})),r.createElement("div",{style:f.hash},"#"),r.createElement(b,{label:null,style:{input:f.input},value:i.replace("#",""),onChange:h}),r.createElement("div",{style:f.clear})))};Ci.propTypes={width:x().oneOfType([x().string,x().number]),triangle:x().oneOf(["hide","top-left","top-right"]),colors:x().arrayOf(x().string),styles:x().object},Ci.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}};Gn(Ci);var Pi=function(e){var t=(0,o.Ay)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",border:"2px #fff solid",transform:"translate(-12px, -13px)",background:"hsl("+Math.round(e.hsl.h)+", "+Math.round(100*e.hsl.s)+"%, "+Math.round(100*e.hsl.l)+"%)"}}});return r.createElement("div",{style:t.picker})};Pi.propTypes={hsl:x().shape({h:x().number,s:x().number,l:x().number,a:x().number})},Pi.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};const Ni=Pi;var Ti=function(e){var t=(0,o.Ay)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",transform:"translate(-10px, -7px)",background:"hsl("+Math.round(e.hsl.h)+", 100%, 50%)",border:"2px white solid"}}});return r.createElement("div",{style:t.picker})};Ti.propTypes={hsl:x().shape({h:x().number,s:x().number,l:x().number,a:x().number})},Ti.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};const Ai=Ti;const Li=function(e){var t=e.onChange,n=e.rgb,i=e.hsl,a=e.hex,s=e.hsv,l=function(e,n){if(e.hex)Hn(e.hex)&&t({hex:e.hex,source:"hex"},n);else if(e.rgb){var r=e.rgb.split(",");zn(e.rgb,"rgb")&&t({r:r[0],g:r[1],b:r[2],a:1,source:"rgb"},n)}else if(e.hsv){var o=e.hsv.split(",");zn(e.hsv,"hsv")&&(o[2]=o[2].replace("%",""),o[1]=o[1].replace("%",""),o[0]=o[0].replace("°",""),1==o[1]?o[1]=.01:1==o[2]&&(o[2]=.01),t({h:Number(o[0]),s:Number(o[1]),v:Number(o[2]),source:"hsv"},n))}else if(e.hsl){var i=e.hsl.split(",");zn(e.hsl,"hsl")&&(i[2]=i[2].replace("%",""),i[1]=i[1].replace("%",""),i[0]=i[0].replace("°",""),1==d[1]?d[1]=.01:1==d[2]&&(d[2]=.01),t({h:Number(i[0]),s:Number(i[1]),v:Number(i[2]),source:"hsl"},n))}},c=(0,o.Ay)({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),u=n.r+", "+n.g+", "+n.b,p=Math.round(i.h)+"°, "+Math.round(100*i.s)+"%, "+Math.round(100*i.l)+"%",d=Math.round(s.h)+"°, "+Math.round(100*s.s)+"%, "+Math.round(100*s.v)+"%";return r.createElement("div",{style:c.wrap,className:"flexbox-fix"},r.createElement("div",{style:c.fields},r.createElement("div",{style:c.double},r.createElement(b,{style:{input:c.input,label:c.label},label:"hex",value:a,onChange:l})),r.createElement("div",{style:c.column},r.createElement("div",{style:c.single},r.createElement(b,{style:{input:c.input2,label:c.label2},label:"rgb",value:u,onChange:l})),r.createElement("div",{style:c.single},r.createElement(b,{style:{input:c.input2,label:c.label2},label:"hsv",value:d,onChange:l})),r.createElement("div",{style:c.single},r.createElement(b,{style:{input:c.input2,label:c.label2},label:"hsl",value:p,onChange:l})))))};var Di=function(e){var t=e.width,n=e.onChange,i=e.rgb,a=e.hsl,s=e.hsv,l=e.hex,c=e.header,u=e.styles,p=void 0===u?{}:u,d=e.className,f=void 0===d?"":d,h=(0,o.Ay)(on({default:{picker:{width:t,background:"#fff",border:"1px solid #dfe1e5",boxSizing:"initial",display:"flex",flexWrap:"wrap",borderRadius:"8px 8px 0px 0px"},head:{height:"57px",width:"100%",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"16px",fontSize:"20px",boxSizing:"border-box",fontFamily:"Roboto-Regular,HelveticaNeue,Arial,sans-serif"},saturation:{width:"70%",padding:"0px",position:"relative",overflow:"hidden"},swatch:{width:"30%",height:"228px",padding:"0px",background:"rgba("+i.r+", "+i.g+", "+i.b+", 1)",position:"relative",overflow:"hidden"},body:{margin:"auto",width:"95%"},controls:{display:"flex",boxSizing:"border-box",height:"52px",paddingTop:"22px"},color:{width:"32px"},hue:{height:"8px",position:"relative",margin:"0px 16px 0px 16px",width:"100%"},Hue:{radius:"2px"}}},p));return r.createElement("div",{style:h.picker,className:"google-picker "+f},r.createElement("div",{style:h.head},c),r.createElement("div",{style:h.swatch}),r.createElement("div",{style:h.saturation},r.createElement(Mn,{hsl:a,hsv:s,pointer:Ni,onChange:n})),r.createElement("div",{style:h.body},r.createElement("div",{style:h.controls,className:"flexbox-fix"},r.createElement("div",{style:h.hue},r.createElement(w,{style:h.Hue,hsl:a,radius:"4px",pointer:Ai,onChange:n}))),r.createElement(Li,{rgb:i,hsl:a,hex:l,hsv:s,onChange:n})))};Di.propTypes={width:x().oneOfType([x().string,x().number]),styles:x().object,header:x().string},Di.defaultProps={width:652,styles:{},header:"Color picker"};Gn(Di)},94140:(e,t,n)=>{"use strict";var r=n(22483);t.H=r.createRoot,r.hydrateRoot},15922:(e,t,n)=>{"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(77810),a=l(i),s=l(n(75826));function l(e){return e&&e.__esModule?e:{default:e}}var c={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},u=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],p=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},d=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),f=function(){return d?"_"+Math.random().toString(36).substr(2,12):void 0},h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.inputRef=function(e){n.input=e,"function"==typeof n.props.inputRef&&n.props.inputRef(e)},n.placeHolderSizerRef=function(e){n.placeHolderSizer=e},n.sizerRef=function(e){n.sizer=e},n.state={inputWidth:e.minWidth,inputId:e.id||f(),prevId:e.id},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.id;return n!==t.prevId?{inputId:n||f(),prevId:n}:null}}]),o(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"==typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(p(e,this.sizer),this.placeHolderSizer&&p(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&void 0!==this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(e+="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return d&&e?a.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce((function(e,t){return null!=e?e:t})),t=r({},this.props.style);t.display||(t.display="inline-block");var n=r({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(this.props,[]);return function(e){u.forEach((function(t){return delete e[t]}))}(o),o.className=this.props.inputClassName,o.id=this.state.inputId,o.style=n,a.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),a.default.createElement("input",r({},o,{ref:this.inputRef})),a.default.createElement("div",{ref:this.sizerRef,style:c},e),this.props.placeholder?a.default.createElement("div",{ref:this.placeHolderSizerRef,style:c},this.props.placeholder):null)}}]),t}(i.Component);h.propTypes={className:s.default.string,defaultValue:s.default.any,extraWidth:s.default.oneOfType([s.default.number,s.default.string]),id:s.default.string,injectStyles:s.default.bool,inputClassName:s.default.string,inputRef:s.default.func,inputStyle:s.default.object,minWidth:s.default.oneOfType([s.default.number,s.default.string]),onAutosize:s.default.func,onChange:s.default.func,placeholder:s.default.string,placeholderIsMinWidth:s.default.bool,style:s.default.object,value:s.default.any},h.defaultProps={minWidth:1,injectStyles:!0},t.A=h},24839:(e,t,n)=>{"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,s=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var l=e.displayName||e.name,c="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}return e}n.r(t),n.d(t,{polyfill:()=>a}),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},82298:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(77810),a=h(i),s=h(n(22483)),l=h(n(75826)),c=h(n(30260)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(24388)),p=n(64424),d=h(p),f=n(24839);function h(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var g=t.portalClassName="ReactModalPortal",b=t.bodyOpenClassName="ReactModal__Body--open",v=p.canUseDOM&&void 0!==s.default.createPortal,y=function(e){return document.createElement(e)},w=function(){return v?s.default.createPortal:s.default.unstable_renderSubtreeIntoContainer};function I(e){return e()}var x=function(e){function t(){var e,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,l=Array(i),u=0;u<i;u++)l[u]=arguments[u];return n=o=m(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.removePortal=function(){!v&&s.default.unmountComponentAtNode(o.node);var e=I(o.props.parentSelector);e&&e.contains(o.node)?e.removeChild(o.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},o.portalRef=function(e){o.portal=e},o.renderPortal=function(e){var n=w()(o,a.default.createElement(c.default,r({defaultStyles:t.defaultStyles},e)),o.node);o.portalRef(n)},m(o,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){p.canUseDOM&&(v||(this.node=y("div")),this.node.className=this.props.portalClassName,I(this.props.parentSelector).appendChild(this.node),!v&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:I(e.parentSelector),nextParent:I(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(p.canUseDOM){var r=this.props,o=r.isOpen,i=r.portalClassName;e.portalClassName!==i&&(this.node.className=i);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||o)&&!v&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(p.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return p.canUseDOM&&v?(!this.node&&v&&(this.node=y("div")),w()(a.default.createElement(c.default,r({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){u.setElement(e)}}]),t}(i.Component);x.propTypes={isOpen:l.default.bool.isRequired,style:l.default.shape({content:l.default.object,overlay:l.default.object}),portalClassName:l.default.string,bodyOpenClassName:l.default.string,htmlOpenClassName:l.default.string,className:l.default.oneOfType([l.default.string,l.default.shape({base:l.default.string.isRequired,afterOpen:l.default.string.isRequired,beforeClose:l.default.string.isRequired})]),overlayClassName:l.default.oneOfType([l.default.string,l.default.shape({base:l.default.string.isRequired,afterOpen:l.default.string.isRequired,beforeClose:l.default.string.isRequired})]),appElement:l.default.oneOfType([l.default.instanceOf(d.default),l.default.instanceOf(p.SafeHTMLCollection),l.default.instanceOf(p.SafeNodeList),l.default.arrayOf(l.default.instanceOf(d.default))]),onAfterOpen:l.default.func,onRequestClose:l.default.func,closeTimeoutMS:l.default.number,ariaHideApp:l.default.bool,shouldFocusAfterRender:l.default.bool,shouldCloseOnOverlayClick:l.default.bool,shouldReturnFocusAfterClose:l.default.bool,preventScroll:l.default.bool,parentSelector:l.default.func,aria:l.default.object,data:l.default.object,role:l.default.string,contentLabel:l.default.string,shouldCloseOnEsc:l.default.bool,overlayRef:l.default.func,contentRef:l.default.func,id:l.default.string,overlayElement:l.default.func,contentElement:l.default.func},x.defaultProps={isOpen:!1,portalClassName:g,bodyOpenClassName:b,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return a.default.createElement("div",e,t)},contentElement:function(e,t){return a.default.createElement("div",e,t)}},x.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,f.polyfill)(x),t.default=x},30260:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="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},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(77810),s=g(n(75826)),l=m(n(37105)),c=g(n(95553)),u=m(n(24388)),p=m(n(57744)),d=n(64424),f=g(d),h=g(n(34466));function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}n(65281);var b={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},v=0,y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,o=e.htmlOpenClassName,i=e.bodyOpenClassName,a=e.parentSelector,s=a&&a().ownerDocument||document;i&&p.remove(s.body,i),o&&p.remove(s.getElementsByTagName("html")[0],o),r&&v>0&&0===(v-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(l.returnFocus(n.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(l.setupScopedFocus(n.node),l.markForFocusLater()),n.setState({isOpen:!0},(function(){n.openAnimationFrame=requestAnimationFrame((function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})}))})))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},(function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())}))},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":o(t))?t:{base:b[e],afterOpen:b[e]+"--after-open",beforeClose:b[e]+"--before-close"},i=r.base;return n.state.afterOpen&&(i=i+" "+r.afterOpen),n.state.beforeClose&&(i=i+" "+r.beforeClose),"string"==typeof t&&t?i+" "+t:i},n.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(n,r){return n[e+"-"+r]=t[r],n}),{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName,i=e.parentSelector,a=i&&i().ownerDocument||document;o&&p.add(a.body,o),r&&p.add(a.getElementsByTagName("html")[0],r),n&&(v+=1,u.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,o=e.overlayClassName,i=e.defaultStyles,a=e.children,s=n?{}:i.content,l=o?{}:i.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:r({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=r({id:t,ref:this.setContentRef,style:r({},s,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",r({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),p=this.props.contentElement(u,a);return this.props.overlayElement(c,p)}}]),t}(a.Component);y.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},y.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),parentSelector:s.default.func,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(f.default),s.default.instanceOf(d.SafeHTMLCollection),s.default.instanceOf(d.SafeNodeList),s.default.arrayOf(s.default.instanceOf(f.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=y,e.exports=t.default},24388:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){s&&(s.removeAttribute?s.removeAttribute("aria-hidden"):null!=s.length?s.forEach((function(e){return e.removeAttribute("aria-hidden")})):document.querySelectorAll(s).forEach((function(e){return e.removeAttribute("aria-hidden")})));s=null},t.log=function(){0},t.assertNodeList=l,t.setElement=function(e){var t=e;if("string"==typeof t&&a.canUseDOM){var n=document.querySelectorAll(t);l(n,t),t=n}return s=t||s},t.validateElement=c,t.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=c(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){o.value.setAttribute("aria-hidden","true")}}catch(a){n=!0,r=a}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},t.show=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=c(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){o.value.removeAttribute("aria-hidden")}}catch(a){n=!0,r=a}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},t.documentNotReadyOrSSRTesting=function(){s=null};var r,o=n(46365),i=(r=o)&&r.__esModule?r:{default:r},a=n(64424);var s=null;function l(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function c(e){var t=e||s;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,i.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}},65281:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[a,s],t=0;t<e.length;t++){var n=e[t];n&&(n.parentNode&&n.parentNode.removeChild(n))}a=s=null,l=[]},t.log=function(){console.log("bodyTrap ----------"),console.log(l.length);for(var e=[a,s],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var r,o=n(34466),i=(r=o)&&r.__esModule?r:{default:r};var a=void 0,s=void 0,l=[];function c(){0!==l.length&&l[l.length-1].focusContent()}i.default.subscribe((function(e,t){a||s||((a=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),a.style.position="absolute",a.style.opacity="0",a.setAttribute("tabindex","0"),a.addEventListener("focus",c),(s=a.cloneNode()).addEventListener("focus",c)),(l=t).length>0?(document.body.firstChild!==a&&document.body.insertBefore(a,document.body.firstChild),document.body.lastChild!==s&&document.body.appendChild(s)):(a.parentElement&&a.parentElement.removeChild(a),s.parentElement&&s.parentElement.removeChild(s))}))},57744:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in n)o(e,n[t]);var i=document.body;for(var a in r)o(i,r[a]);n={},r={}},t.log=function(){0};var n={},r={};function o(e,t){e.classList.remove(t)}t.add=function(e,t){return o=e.classList,i="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach((function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(i,e),o.add(e)}));var o,i},t.remove=function(e,t){return o=e.classList,i="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach((function(e){!function(e,t){e[t]&&(e[t]-=1)}(i,e),0===i[e]&&o.remove(e)}));var o,i}},37105:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){a=[]},t.log=function(){0},t.handleBlur=c,t.handleFocus=u,t.markForFocusLater=function(){a.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==a.length&&(t=a.pop()).focus({preventScroll:e}))}catch(n){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){a.length>0&&a.pop()},t.setupScopedFocus=function(e){s=e,window.addEventListener?(window.addEventListener("blur",c,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",c),document.attachEvent("onFocus",u))},t.teardownScopedFocus=function(){s=null,window.addEventListener?(window.removeEventListener("blur",c),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",c),document.detachEvent("onFocus",u))};var r,o=n(72421),i=(r=o)&&r.__esModule?r:{default:r};var a=[],s=null,l=!1;function c(){l=!0}function u(){if(l){if(l=!1,!s)return;setTimeout((function(){s.contains(document.activeElement)||((0,i.default)(s)[0]||s).focus()}),0)}}},34466:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(r.openInstances.length),r.openInstances.forEach((function(e){return console.log(e)})),console.log("end portalOpenInstances ----------")},t.resetState=function(){r=new n};var n=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach((function(n){return n(e,t.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]},r=new n;t.default=r},64424:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var r,o=n(42713);var i=((r=o)&&r.__esModule?r:{default:r}).default,a=i.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=i.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=i.canUseDOM?window.NodeList:{},t.canUseDOM=i.canUseDOM;t.default=a},95553:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,i.default)(e);if(!n.length)return void t.preventDefault();var r=void 0,o=t.shiftKey,s=n[0],l=n[n.length-1],c=a();if(e===c){if(!o)return;r=l}l!==c||o||(r=s);s===c&&o&&(r=l);if(r)return t.preventDefault(),void r.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==u||"Chrome"==u[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var p=n.indexOf(c);p>-1&&(p+=o?-1:1);if(void 0===(r=n[p]))return t.preventDefault(),void(r=o?l:s).focus();t.preventDefault(),r.focus()};var r,o=n(72421),i=(r=o)&&r.__esModule?r:{default:r};function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?a(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default},72421:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll("*"),0).reduce((function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])}),[]);return n.filter(s)};
/*!
* Adapted from jQuery UI core
*
* http://jqueryui.com
*
* Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/category/ui-core/
*/
var n="none",r="contents",o=/^(input|select|textarea|button|object|iframe)$/;function i(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var o=window.getComputedStyle(e),i=o.getPropertyValue("display");return t?i!==r&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,o):i===n}catch(a){return console.warn("Failed to inspect element style"),!1}}function a(e,t){var n=e.nodeName.toLowerCase();return(o.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),i(t))return!1;t=t.parentNode}return!0}(e)}function s(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&a(e,!n)}e.exports=t.default},43362:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(82298),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default,e.exports=t.default},17848:(e,t,n)=>{"use strict";function r(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}const o={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((e=>{o[e]=new r(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((([e,t])=>{o[e]=new r(e,1,!1,t,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((e=>{o[e]=new r(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((e=>{o[e]=new r(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((e=>{o[e]=new r(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((e=>{o[e]=new r(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((e=>{o[e]=new r(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((e=>{o[e]=new r(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((e=>{o[e]=new r(e,5,!1,e.toLowerCase(),null,!1,!1)}));const i=/[\-\:]([a-z])/g,a=e=>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((e=>{const t=e.replace(i,a);o[t]=new r(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((e=>{const t=e.replace(i,a);o[t]=new r(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((e=>{const t=e.replace(i,a);o[t]=new r(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((e=>{o[e]=new r(e,1,!1,e.toLowerCase(),null,!1,!1)}));o.xlinkHref=new r("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((e=>{o[e]=new r(e,1,!1,e.toLowerCase(),null,!0,!0)}));const{CAMELCASE:s,SAME:l,possibleStandardNames:c}=n(77669),u=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]*$")),p=Object.keys(c).reduce(((e,t)=>{const n=c[t];return n===l?e[t]=t:n===s?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 o.hasOwnProperty(e)?o[e]:null},t.isCustomAttribute=u,t.possibleStandardNames=p},77669:(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}},7466:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>v,TT:()=>g});var r=n(18801),o=n(64180),i=n(29121),a=n(12937),s=n(10785),l=n(29906),c=n(28782),u=n(77810),p=(n(54313),n(22483),n(43702)),d=n(31620),f=(n(39959),n(15922),n(33497));function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.A)(e);if(t){var o=(0,c.A)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.A)(this,n)}}var m={cacheOptions:!1,defaultOptions:!1,filterOption:null,isLoading:!1},g=function(e){var t,n;return n=t=function(t){(0,s.A)(l,t);var n=h(l);function l(e){var t;return(0,i.A)(this,l),(t=n.call(this)).select=void 0,t.lastRequest=void 0,t.mounted=!1,t.optionsCache={},t.handleInputChange=function(e,n){var r=t.props,o=r.cacheOptions,i=r.onInputChange,a=(0,p.G)(e,n,i);if(!a)return delete t.lastRequest,void t.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});if(o&&t.optionsCache[a])t.setState({inputValue:a,loadedInputValue:a,loadedOptions:t.optionsCache[a],isLoading:!1,passEmptyOptions:!1});else{var s=t.lastRequest={};t.setState({inputValue:a,isLoading:!0,passEmptyOptions:!t.state.loadedInputValue},(function(){t.loadOptions(a,(function(e){t.mounted&&(e&&(t.optionsCache[a]=e),s===t.lastRequest&&(delete t.lastRequest,t.setState({isLoading:!1,loadedInputValue:a,loadedOptions:e||[],passEmptyOptions:!1})))}))}))}return a},t.state={defaultOptions:Array.isArray(e.defaultOptions)?e.defaultOptions:void 0,inputValue:void 0!==e.inputValue?e.inputValue:"",isLoading:!0===e.defaultOptions,loadedOptions:[],passEmptyOptions:!1},t}return(0,a.A)(l,[{key:"componentDidMount",value:function(){var e=this;this.mounted=!0;var t=this.props.defaultOptions,n=this.state.inputValue;!0===t&&this.loadOptions(n,(function(t){if(e.mounted){var n=!!e.lastRequest;e.setState({defaultOptions:t||[],isLoading:n})}}))}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.cacheOptions!==this.props.cacheOptions&&(this.optionsCache={}),e.defaultOptions!==this.props.defaultOptions&&this.setState({defaultOptions:Array.isArray(e.defaultOptions)?e.defaultOptions:void 0})}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"loadOptions",value:function(e,t){var n=this.props.loadOptions;if(!n)return t();var r=n(e,t);r&&"function"==typeof r.then&&r.then(t,(function(){return t()}))}},{key:"render",value:function(){var t=this,n=this.props,i=(n.loadOptions,n.isLoading),a=(0,r.A)(n,["loadOptions","isLoading"]),s=this.state,l=s.defaultOptions,c=s.inputValue,p=s.isLoading,d=s.loadedInputValue,f=s.loadedOptions,h=s.passEmptyOptions?[]:c&&d?f:l||[];return u.createElement(e,(0,o.A)({},a,{ref:function(e){t.select=e},options:h,isLoading:p||i,onInputChange:this.handleInputChange}))}}]),l}(u.Component),t.defaultProps=m,n},b=(0,f.m)(d.S);const v=g(b)},31620:(e,t,n)=>{"use strict";n.d(t,{S:()=>le});for(var r=n(18801),o=n(64180),i=n(14553),a=n(32838),s=n(68175),l=n(29121),c=n(12937),u=n(79261),p=n(10785),d=n(29906),f=n(28782),h=n(77810),m=n(39529),g=n(54313),b=n(22483),v=n(43702),y=n(39959),w=[{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źẑżžẓẕƶȥɀⱬꝣ"}],I=new RegExp("["+w.map((function(e){return e.letters})).join("")+"]","g"),x={},E=0;E<w.length;E++)for(var S=w[E],M=0;M<S.letters.length;M++)x[S.letters[M]]=S.base;var k=function(e){return e.replace(I,(function(e){return x[e]}))};function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var C=function(e){return e.replace(/^\s+|\s+$/g,"")},P=function(e){return"".concat(e.label," ").concat(e.value)};var N={name:"1laao21-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;"},T=function(e){return(0,g.Y)("span",(0,o.A)({css:N},e))};function A(e){e.in,e.out,e.onExited,e.appear,e.enter,e.exit;var t=e.innerRef,n=(e.emotion,(0,r.A)(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return(0,g.Y)("input",(0,o.A)({ref:t},n,{css:(0,y.A)({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"")}))}function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.A)(e);if(t){var o=(0,f.A)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,d.A)(this,n)}}var D=function(e){(0,p.A)(n,e);var t=L(n);function n(){return(0,l.A)(this,n),t.apply(this,arguments)}return(0,c.A)(n,[{key:"componentDidMount",value:function(){this.props.innerRef((0,b.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),n}(h.Component),O=["boxSizing","height","overflow","paddingRight","position"],R={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function B(e){e.preventDefault()}function H(e){e.stopPropagation()}function W(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function z(){return"ontouchstart"in window||navigator.maxTouchPoints}function Z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.A)(e);if(t){var o=(0,f.A)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,d.A)(this,n)}}var _=!(!window.document||!window.document.createElement),G=0,U=function(e){(0,p.A)(n,e);var t=Z(n);function n(){var e;(0,l.A)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).originalStyles={},e.listenerOptions={capture:!1,passive:!1},e}return(0,c.A)(n,[{key:"componentDidMount",value:function(){var e=this;if(_){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,o=document.body,i=o&&o.style;if(n&&O.forEach((function(t){var n=i&&i[t];e.originalStyles[t]=n})),n&&G<1){var a=parseInt(this.originalStyles.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,l=window.innerWidth-s+a||0;Object.keys(R).forEach((function(e){var t=R[e];i&&(i[e]=t)})),i&&(i.paddingRight="".concat(l,"px"))}o&&z()&&(o.addEventListener("touchmove",B,this.listenerOptions),r&&(r.addEventListener("touchstart",W,this.listenerOptions),r.addEventListener("touchmove",H,this.listenerOptions))),G+=1}}},{key:"componentWillUnmount",value:function(){var e=this;if(_){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,o=document.body,i=o&&o.style;G=Math.max(G-1,0),n&&G<1&&O.forEach((function(t){var n=e.originalStyles[t];i&&(i[t]=n)})),o&&z()&&(o.removeEventListener("touchmove",B,this.listenerOptions),r&&(r.removeEventListener("touchstart",W,this.listenerOptions),r.removeEventListener("touchmove",H,this.listenerOptions)))}}},{key:"render",value:function(){return null}}]),n}(h.Component);function F(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.A)(e);if(t){var o=(0,f.A)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,d.A)(this,n)}}U.defaultProps={accountForScrollbars:!0};var V={name:"1dsbpcp",styles:"position:fixed;left:0;bottom:0;right:0;top:0;"},J=function(e){(0,p.A)(n,e);var t=F(n);function n(){var e;(0,l.A)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).state={touchScrollTarget:null},e.getScrollTarget=function(t){t!==e.state.touchScrollTarget&&e.setState({touchScrollTarget:t})},e.blurSelectInput=function(){document.activeElement&&document.activeElement.blur()},e}return(0,c.A)(n,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.isEnabled,r=this.state.touchScrollTarget;return n?(0,g.Y)("div",null,(0,g.Y)("div",{onClick:this.blurSelectInput,css:V}),(0,g.Y)(D,{innerRef:this.getScrollTarget},t),r?(0,g.Y)(U,{touchScrollTarget:r}):null):t}}]),n}(h.PureComponent);function Y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.A)(e);if(t){var o=(0,f.A)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,d.A)(this,n)}}var Q=function(e){(0,p.A)(n,e);var t=Y(n);function n(){var e;(0,l.A)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).isBottom=!1,e.isTop=!1,e.scrollTarget=void 0,e.touchStart=void 0,e.cancelScroll=function(e){e.preventDefault(),e.stopPropagation()},e.handleEventDelta=function(t,n){var r=e.props,o=r.onBottomArrive,i=r.onBottomLeave,a=r.onTopArrive,s=r.onTopLeave,l=e.scrollTarget,c=l.scrollTop,u=l.scrollHeight,p=l.clientHeight,d=e.scrollTarget,f=n>0,h=u-p-c,m=!1;h>n&&e.isBottom&&(i&&i(t),e.isBottom=!1),f&&e.isTop&&(s&&s(t),e.isTop=!1),f&&n>h?(o&&!e.isBottom&&o(t),d.scrollTop=u,m=!0,e.isBottom=!0):!f&&-n>c&&(a&&!e.isTop&&a(t),d.scrollTop=0,m=!0,e.isTop=!0),m&&e.cancelScroll(t)},e.onWheel=function(t){e.handleEventDelta(t,t.deltaY)},e.onTouchStart=function(t){e.touchStart=t.changedTouches[0].clientY},e.onTouchMove=function(t){var n=e.touchStart-t.changedTouches[0].clientY;e.handleEventDelta(t,n)},e.getScrollTarget=function(t){e.scrollTarget=t},e}return(0,c.A)(n,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(e){e&&("function"==typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1))}},{key:"stopListening",value:function(e){e&&("function"==typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1))}},{key:"render",value:function(){return h.createElement(D,{innerRef:this.getScrollTarget},this.props.children)}}]),n}(h.Component);function X(e){var t=e.isEnabled,n=void 0===t||t,o=(0,r.A)(e,["isEnabled"]);return n?h.createElement(Q,o):o.children}var q=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isSearchable,r=t.isMulti,o=t.label,i=t.isDisabled,a=t.tabSelectsValue;switch(e){case"menu":return"Use Up and Down to choose options".concat(i?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(a?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(o||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" 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"}},$=function(e,t){var n=t.value,r=t.isDisabled;if(n)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"select-option":return"option ".concat(n,r?" is disabled. Select another option.":", selected.")}},K=function(e){return!!e.isDisabled};var ee={clearIndicator:v.c,container:v.a,control:v.b,dropdownIndicator:v.d,group:v.g,groupHeading:v.e,indicatorsContainer:v.i,indicatorSeparator:v.f,input:v.h,loadingIndicator:v.l,loadingMessage:v.j,menu:v.m,menuList:v.k,menuPortal:v.n,multiValue:v.o,multiValueLabel:v.p,multiValueRemove:v.q,noOptionsMessage:v.r,option:v.s,placeholder:v.t,singleValue:v.u,valueContainer:v.v};var te={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}};function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(n),!0).forEach((function(t){(0,s.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.A)(e);if(t){var o=(0,f.A)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,d.A)(this,n)}}var ie,ae={backspaceRemovesValue:!0,blurInputOnSelect:(0,v.w)(),captureMenuScroll:!(0,v.w)(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){(0,s.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({ignoreCase:!0,ignoreAccents:!0,stringify:P,trim:!0,matchFrom:"any"},ie),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,l=n.matchFrom,c=a?C(t):t,u=a?C(i(e)):i(e);return r&&(c=c.toLowerCase(),u=u.toLowerCase()),o&&(c=k(c),u=k(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-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:K,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!(0,v.x)(),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},se=1,le=function(e){(0,p.A)(n,e);var t=oe(n);function n(e){var r;(0,l.A)(this,n),(r=t.call(this,e)).state={ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]},r.blockOptionHover=!1,r.isComposing=!1,r.clearFocusValueOnUpdate=!1,r.commonProps=void 0,r.components=void 0,r.hasGroups=!1,r.initialTouchX=0,r.initialTouchY=0,r.inputIsHiddenAfterUpdate=void 0,r.instancePrefix="",r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.cacheComponents=function(e){r.components=(0,v.y)({components:e})},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,o=n.onChange,i=n.name;o(e,re(re({},t),{},{name:i}))},r.setValue=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",n=arguments.length>2?arguments[2]:void 0,o=r.props,i=o.closeMenuOnSelect,a=o.isMulti;r.onInputChange("",{action:"set-value"}),i&&(r.inputIsHiddenAfterUpdate=!a,r.onMenuClose()),r.clearFocusValueOnUpdate=!0,r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,o=t.isMulti,i=r.state.selectValue;if(o)if(r.isOptionSelected(e,i)){var s=r.getOptionValue(e);r.setValue(i.filter((function(e){return r.getOptionValue(e)!==s})),"deselect-option",e),r.announceAriaLiveSelection({event:"deselect-option",context:{value:r.getOptionLabel(e)}})}else r.isOptionDisabled(e,i)?r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(e),isDisabled:!0}}):(r.setValue([].concat((0,a.A)(i),[e]),"select-option",e),r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(e)}}));else r.isOptionDisabled(e,i)?r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(e),isDisabled:!0}}):(r.setValue(e,"select-option"),r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(e)}}));n&&r.blurInput()},r.removeValue=function(e){var t=r.state.selectValue,n=r.getOptionValue(e),o=t.filter((function(e){return r.getOptionValue(e)!==n}));r.onChange(o.length?o:null,{action:"remove-value",removedValue:e}),r.announceAriaLiveSelection({event:"remove-value",context:{value:e?r.getOptionLabel(e):""}}),r.focusInput()},r.clearValue=function(){r.onChange(null,{action:"clear"})},r.popValue=function(){var e=r.state.selectValue,t=e[e.length-1],n=e.slice(0,e.length-1);r.announceAriaLiveSelection({event:"pop-value",context:{value:t?r.getOptionLabel(t):""}}),r.onChange(n.length?n:null,{action:"pop-value",removedValue:t})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return v.z.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return r.props.getOptionLabel(e)},r.getOptionValue=function(e){return r.props.getOptionValue(e)},r.getStyles=function(e,t){var n=ee[e](t);n.boxSizing="border-box";var o=r.props.styles[e];return o?o(n,t):n},r.getElementId=function(e){return"".concat(r.instancePrefix,"-").concat(e)},r.getActiveDescendentId=function(){var e=r.props.menuIsOpen,t=r.state,n=t.menuOptions,o=t.focusedOption;if(o&&e){var i=n.focusable.indexOf(o),a=n.render[i];return a&&a.key}},r.announceAriaLiveSelection=function(e){var t=e.event,n=e.context;r.setState({ariaLiveSelection:$(t,n)})},r.announceAriaLiveContext=function(e){var t=e.event,n=e.context;r.setState({ariaLiveContext:q(t,re(re({},n),{},{label:r.props["aria-label"]}))})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,o=t.menuIsOpen;r.focusInput(),o?(r.inputIsHiddenAfterUpdate=!n,r.onMenuClose()):r.openMenu("first"),e.preventDefault(),e.stopPropagation()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.stopPropagation(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout((function(){return r.focusInput()})))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&(0,v.A)(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var o=Math.abs(n.clientX-r.initialTouchX),i=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=o>5||i>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=e.currentTarget.value;r.inputIsHiddenAfterUpdate=!1,r.onInputChange(t,{action:"input-change"}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){var t=r.props,n=t.isSearchable,o=t.isMulti;r.props.onFocus&&r.props.onFocus(e),r.inputIsHiddenAfterUpdate=!1,r.announceAriaLiveContext({event:"input",context:{isSearchable:n,isMulti:o}}),r.setState({isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur"}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){r.blockOptionHover||r.state.focusedOption===e||r.setState({focusedOption:e})},r.shouldHideSelectedOptions=function(){var e=r.props,t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,o=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,p=t.tabSelectsValue,d=t.openMenuOnFocus,f=r.state,h=f.focusedOption,m=f.focusedValue,g=f.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)r.removeValue(m);else{if(!o)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!p||!h||d&&r.isOptionSelected(h,g))return;r.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":c?(r.inputIsHiddenAfterUpdate=!1,r.onInputChange("",{action:"menu-close"}),r.onMenuClose()):s&&i&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.buildMenuOptions=function(e,t){var n=e.inputValue,o=void 0===n?"":n,i=e.options,a=function(e,n){var i=r.isOptionDisabled(e,t),a=r.isOptionSelected(e,t),s=r.getOptionLabel(e),l=r.getOptionValue(e);if(!(r.shouldHideSelectedOptions()&&a||!r.filterOption({label:s,value:l,data:e},o))){var c=i?void 0:function(){return r.onOptionHover(e)},u=i?void 0:function(){return r.selectOption(e)},p="".concat(r.getElementId("option"),"-").concat(n);return{innerProps:{id:p,onClick:u,onMouseMove:c,onMouseOver:c,tabIndex:-1},data:e,isDisabled:i,isSelected:a,key:p,label:s,type:"option",value:l}}};return i.reduce((function(e,t,n){if(t.options){r.hasGroups||(r.hasGroups=!0);var o=t.options.map((function(t,r){var o=a(t,"".concat(n,"-").concat(r));return o&&e.focusable.push(t),o})).filter(Boolean);if(o.length){var i="".concat(r.getElementId("group"),"-").concat(n);e.render.push({type:"group",key:i,data:t,options:o})}}else{var s=a(t,"".concat(n));s&&(e.render.push(s),e.focusable.push(t))}return e}),{render:[],focusable:[]})};var o=e.value;r.cacheComponents=(0,m.A)(r.cacheComponents,v.B).bind((0,u.A)(r)),r.cacheComponents(e.components),r.instancePrefix="react-select-"+(r.props.instanceId||++se);var s=(0,v.C)(o);r.buildMenuOptions=(0,m.A)(r.buildMenuOptions,(function(e,t){var n=e,r=(0,i.A)(n,2),o=r[0],a=r[1],s=t,l=(0,i.A)(s,2),c=l[0];return a===l[1]&&o.inputValue===c.inputValue&&o.options===c.options})).bind((0,u.A)(r));var c=e.menuIsOpen?r.buildMenuOptions(e,s):{render:[],focusable:[]};return r.state.menuOptions=c,r.state.selectValue=s,r}return(0,c.A)(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()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props,n=t.options,r=t.value,o=t.menuIsOpen,i=t.inputValue;if(this.cacheComponents(e.components),e.value!==r||e.options!==n||e.menuIsOpen!==o||e.inputValue!==i){var a=(0,v.C)(e.value),s=e.menuIsOpen?this.buildMenuOptions(e,a):{render:[],focusable:[]},l=this.getNextFocusedValue(a),c=this.getNextFocusedOption(s.focusable);this.setState({menuOptions:s,selectValue:a,focusedOption:c,focusedValue:l})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&((0,v.D)(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(){var e=this.props,t=e.isSearchable,n=e.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:t,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),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,r=n.selectValue,o=n.isFocused,i=this.buildMenuOptions(this.props,r),a=this.props,s=a.isMulti,l=a.tabSelectsValue,c="first"===e?0:i.focusable.length-1;if(!s){var u=i.focusable.indexOf(r[0]);u>-1&&(c=u)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:i,focusedValue:null,focusedOption:i.focusable[c]},(function(){t.onMenuOpen(),t.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:l}})}))}},{key:"focusValue",value:function(e){var t=this.props,n=t.isMulti,r=t.isSearchable,o=this.state,i=o.selectValue,a=o.focusedValue;if(n){this.setState({focusedOption:null});var s=i.indexOf(a);a||(s=-1,this.announceAriaLiveContext({event:"value"}));var l=i.length-1,c=-1;if(i.length){switch(e){case"previous":c=0===s?0:-1===s?l:s-1;break;case"next":s>-1&&s<l&&(c=s+1)}-1===c&&this.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:n}}),this.setState({inputIsHidden:-1!==c,focusedValue:i[c]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props,n=t.pageSize,r=t.tabSelectsValue,o=this.state,i=o.focusedOption,a=o.menuOptions.focusable;if(a.length){var s=0,l=a.indexOf(i);i||(l=-1,this.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:r}})),"up"===e?s=l>0?l-1:a.length-1:"down"===e?s=(l+1)%a.length:"pageup"===e?(s=l-n)<0&&(s=0):"pagedown"===e?(s=l+n)>a.length-1&&(s=a.length-1):"last"===e&&(s=a.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:a[s],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:K(a[s]),tabSelectsValue:r}})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(te):re(re({},te),this.props.theme):te}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getValue,o=this.setValue,i=this.selectOption,a=this.props,s=a.isMulti,l=a.isRtl,c=a.options;return{cx:t,clearValue:e,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:s,isRtl:l,options:c,selectOption:i,setValue:o,selectProps:a,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,n=t.focusedValue,r=t.selectValue.indexOf(n);if(r>-1){if(e.indexOf(n)>-1)return n;if(r<e.length)return e[r]}return null}},{key:"getNextFocusedOption",value:function(e){var t=this.state.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.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"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)}},{key:"isOptionSelected",value:function(e,t){var n=this;if(t.indexOf(e)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var r=this.getOptionValue(e);return t.some((function(e){return n.getOptionValue(e)===r}))}},{key:"filterOption",value:function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}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:"constructAriaLiveMessage",value:function(){var e=this.state,t=e.ariaLiveContext,n=e.selectValue,r=e.focusedValue,o=e.focusedOption,i=this.props,a=i.options,s=i.menuIsOpen,l=i.inputValue,c=i.screenReaderStatus,u=r?function(e){var t=e.focusedValue,n=e.getOptionLabel,r=e.selectValue;return"value ".concat(n(t)," focused, ").concat(r.indexOf(t)+1," of ").concat(r.length,".")}({focusedValue:r,getOptionLabel:this.getOptionLabel,selectValue:n}):"",p=o&&s?function(e){var t=e.focusedOption,n=e.getOptionLabel,r=e.options;return"option ".concat(n(t)," focused").concat(t.isDisabled?" disabled":"",", ").concat(r.indexOf(t)+1," of ").concat(r.length,".")}({focusedOption:o,getOptionLabel:this.getOptionLabel,options:a}):"",d=function(e){var t=e.inputValue,n=e.screenReaderMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}({inputValue:l,screenReaderMessage:c({count:this.countOptions()})});return"".concat(u," ").concat(p," ").concat(d," ").concat(t)}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,i=e.inputValue,a=e.tabIndex,s=e.form,l=this.components.Input,c=this.state.inputIsHidden,u=r||this.getElementId("input"),p={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!n)return h.createElement(A,(0,o.A)({id:u,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:v.E,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:a,form:s,value:""},p));var d=this.commonProps,f=d.cx,m=d.theme,g=d.selectProps;return h.createElement(l,(0,o.A)({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:f,getStyles:this.getStyles,id:u,innerRef:this.getInputRef,isDisabled:t,isHidden:c,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:g,spellCheck:"false",tabIndex:a,form:s,theme:m,type:"text",value:i},p))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.components,n=t.MultiValue,r=t.MultiValueContainer,i=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,p=u.controlShouldRenderValue,d=u.isDisabled,f=u.isMulti,m=u.inputValue,g=u.placeholder,b=this.state,v=b.selectValue,y=b.focusedValue,w=b.isFocused;if(!this.hasValue()||!p)return m?null:h.createElement(l,(0,o.A)({},c,{key:"placeholder",isDisabled:d,isFocused:w}),g);if(f)return v.map((function(t,s){var l=t===y;return h.createElement(n,(0,o.A)({},c,{components:{Container:r,Label:i,Remove:a},isFocused:l,isDisabled:d,key:"".concat(e.getOptionValue(t)).concat(s),index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))}));if(m)return null;var I=v[0];return h.createElement(s,(0,o.A)({},c,{data:I,isDisabled:d}),this.formatOptionLabel(I,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.components.ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||i)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return h.createElement(e,(0,o.A)({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.components.LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!e||!i)return null;return h.createElement(e,(0,o.A)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.components,t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return h.createElement(n,(0,o.A)({},r,{isDisabled:i,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.components.DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return h.createElement(e,(0,o.A)({},t,{innerProps:i,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.components,n=t.Group,i=t.GroupHeading,a=t.Menu,s=t.MenuList,l=t.MenuPortal,c=t.LoadingMessage,u=t.NoOptionsMessage,p=t.Option,d=this.commonProps,f=this.state,m=f.focusedOption,g=f.menuOptions,b=this.props,y=b.captureMenuScroll,w=b.inputValue,I=b.isLoading,x=b.loadingMessage,E=b.minMenuHeight,S=b.maxMenuHeight,M=b.menuIsOpen,k=b.menuPlacement,j=b.menuPosition,C=b.menuPortalTarget,P=b.menuShouldBlockScroll,N=b.menuShouldScrollIntoView,T=b.noOptionsMessage,A=b.onMenuScrollToTop,L=b.onMenuScrollToBottom;if(!M)return null;var D,O=function(t){var n=m===t.data;return t.innerRef=n?e.getFocusedOptionRef:void 0,h.createElement(p,(0,o.A)({},d,t,{isFocused:n}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())D=g.render.map((function(t){if("group"===t.type){t.type;var a=(0,r.A)(t,["type"]),s="".concat(t.key,"-heading");return h.createElement(n,(0,o.A)({},d,a,{Heading:i,headingProps:{id:s,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return O(e)})))}if("option"===t.type)return O(t)}));else if(I){var R=x({inputValue:w});if(null===R)return null;D=h.createElement(c,d,R)}else{var B=T({inputValue:w});if(null===B)return null;D=h.createElement(u,d,B)}var H={minMenuHeight:E,maxMenuHeight:S,menuPlacement:k,menuPosition:j,menuShouldScrollIntoView:N},W=h.createElement(v.M,(0,o.A)({},d,H),(function(t){var n=t.ref,r=t.placerProps,i=r.placement,l=r.maxHeight;return h.createElement(a,(0,o.A)({},d,H,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:I,placement:i}),h.createElement(X,{isEnabled:y,onTopArrive:A,onBottomArrive:L},h.createElement(J,{isEnabled:P},h.createElement(s,(0,o.A)({},d,{innerRef:e.getMenuListRef,isLoading:I,maxHeight:l}),D))))}));return C||"fixed"===j?h.createElement(l,(0,o.A)({},d,{appendTo:C,controlElement:this.controlRef,menuPlacement:k,menuPosition:j}),W):W}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,i=t.name,a=this.state.selectValue;if(i&&!r){if(o){if(n){var s=a.map((function(t){return e.getOptionValue(t)})).join(n);return h.createElement("input",{name:i,type:"hidden",value:s})}var l=a.length>0?a.map((function(t,n){return h.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):h.createElement("input",{name:i,type:"hidden"});return h.createElement("div",null,l)}var c=a[0]?this.getOptionValue(a[0]):"";return h.createElement("input",{name:i,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?h.createElement(T,{"aria-live":"polite"},h.createElement("span",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),h.createElement("span",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var e=this.components,t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,i=e.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,p=this.state.isFocused,d=this.commonProps=this.getCommonProps();return h.createElement(r,(0,o.A)({},d,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:p}),this.renderLiveRegion(),h.createElement(t,(0,o.A)({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:p,menuIsOpen:u}),h.createElement(i,(0,o.A)({},d,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),h.createElement(n,(0,o.A)({},d,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),n}(h.Component);le.defaultProps=ae},43702:(e,t,n)=>{"use strict";n.d(t,{A:()=>E,B:()=>X,C:()=>I,D:()=>j,E:()=>v,G:()=>x,M:()=>B,a:()=>q,b:()=>fe,c:()=>se,d:()=>ae,e:()=>be,f:()=>le,g:()=>ge,h:()=>we,i:()=>K,j:()=>Z,k:()=>H,l:()=>ue,m:()=>O,n:()=>U,o:()=>Se,p:()=>Me,q:()=>ke,r:()=>z,s:()=>Te,t:()=>Ae,u:()=>Le,v:()=>$,w:()=>C,x:()=>P,y:()=>Be,z:()=>w});var r=n(18801),o=n(64180),i=n(68175),a=n(29121),s=n(12937),l=n(10785),c=n(29906),u=n(28782),p=n(77810),d=n(54313),f=n(22483),h=n(74360),m=n(39959),g=n(46420),b=n(15922),v=function(){};function y(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function w(e,t,n){var r=[n];if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&r.push("".concat(y(e,o)));return r.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var I=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===(0,h.A)(e)&&null!==e?[e]:[]};function x(e,t,n){if(n){var r=n(e,t);if("string"==typeof r)return r}return e}function E(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function S(e){return E(e)?window.pageYOffset:e.scrollTop}function M(e,t){E(e)?window.scrollTo(0,t):e.scrollTop=t}function k(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:v,o=S(e),i=t-o,a=0;!function t(){var s,l=i*((s=(s=a+=10)/n-1)*s*s+1)+o;M(e,l),a<n?window.requestAnimationFrame(t):r(e)}()}function j(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?M(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&M(e,Math.max(t.offsetTop-o,0))}function C(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function P(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){(0,i.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.A)(e);if(t){var o=(0,u.A)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.A)(this,n)}}function L(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.theme.spacing,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/,o=document.documentElement;if("fixed"===t.position)return o;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return o}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),d=p.bottom,f=p.height,h=p.top,m=n.offsetParent.getBoundingClientRect().top,g=window.innerHeight,b=S(l),v=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),w=m-y,I=g-h,x=w+b,E=u-b-h,j=d-g+b+v,C=b+h-y,P=160;switch(o){case"auto":case"bottom":if(I>=f)return{placement:"bottom",maxHeight:t};if(E>=f&&!a)return i&&k(l,j,P),{placement:"bottom",maxHeight:t};if(!a&&E>=r||a&&I>=r)return i&&k(l,j,P),{placement:"bottom",maxHeight:a?I-v:E-v};if("auto"===o||a){var N=t,T=a?w:x;return T>=r&&(N=Math.min(T-v-s.controlHeight,t)),{placement:"top",maxHeight:N}}if("bottom"===o)return M(l,j),{placement:"bottom",maxHeight:t};break;case"top":if(w>=f)return{placement:"top",maxHeight:t};if(x>=f&&!a)return i&&k(l,C,P),{placement:"top",maxHeight:t};if(!a&&x>=r||a&&w>=r){var A=t;return(!a&&x>=r||a&&w>=r)&&(A=a?w-y:x-y),i&&k(l,C,P),{placement:"top",maxHeight:A}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var D=function(e){return"auto"===e?"bottom":e},O=function(e){var t,n=e.placement,r=e.theme,o=r.borderRadius,a=r.spacing,s=r.colors;return t={label:"menu"},(0,i.A)(t,function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),(0,i.A)(t,"backgroundColor",s.neutral0),(0,i.A)(t,"borderRadius",o),(0,i.A)(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),(0,i.A)(t,"marginBottom",a.menuGutter),(0,i.A)(t,"marginTop",a.menuGutter),(0,i.A)(t,"position","absolute"),(0,i.A)(t,"width","100%"),(0,i.A)(t,"zIndex",1),t},R=(0,p.createContext)({getPortalPlacement:null}),B=function(e){(0,l.A)(n,e);var t=A(n);function n(){var e;(0,a.A)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).state={maxHeight:e.props.maxMenuHeight,placement:null},e.getPlacement=function(t){var n=e.props,r=n.minMenuHeight,o=n.maxMenuHeight,i=n.menuPlacement,a=n.menuPosition,s=n.menuShouldScrollIntoView,l=n.theme;if(t){var c="fixed"===a,u=L({maxHeight:o,menuEl:t,minHeight:r,placement:i,shouldScroll:s&&!c,isFixedPosition:c,theme:l}),p=e.context.getPortalPlacement;p&&p(u),e.setState(u)}},e.getUpdatedProps=function(){var t=e.props.menuPlacement,n=e.state.placement||D(t);return T(T({},e.props),{},{placement:n,maxHeight:e.state.maxHeight})},e}return(0,s.A)(n,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(p.Component);B.contextType=R;var H=function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},W=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},z=W,Z=W,_=function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,a=e.innerProps;return(0,d.Y)("div",(0,o.A)({css:i("noOptionsMessage",e),className:r({"menu-notice":!0,"menu-notice--no-options":!0},n)},a),t)};_.defaultProps={children:"No options"};var G=function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,a=e.innerProps;return(0,d.Y)("div",(0,o.A)({css:i("loadingMessage",e),className:r({"menu-notice":!0,"menu-notice--loading":!0},n)},a),t)};G.defaultProps={children:"Loading..."};var U=function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},F=function(e){(0,l.A)(n,e);var t=A(n);function n(){var e;(0,a.A)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).state={placement:null},e.getPortalPlacement=function(t){var n=t.placement;n!==D(e.props.menuPlacement)&&e.setState({placement:n})},e}return(0,s.A)(n,[{key:"render",value:function(){var e=this.props,t=e.appendTo,n=e.children,r=e.controlElement,o=e.menuPlacement,i=e.menuPosition,a=e.getStyles,s="fixed"===i;if(!t&&!s||!r)return null;var l=this.state.placement||D(o),c=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}}(r),u=s?0:window.pageYOffset,p={offset:c[l]+u,position:i,rect:c},h=(0,d.Y)("div",{css:a("menuPortal",p)},n);return(0,d.Y)(R.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},t?(0,f.createPortal)(h,t):h)}}]),n}(p.Component),V=Array.isArray,J=Object.keys,Y=Object.prototype.hasOwnProperty;function Q(e,t){if(e===t)return!0;if(e&&t&&"object"==(0,h.A)(e)&&"object"==(0,h.A)(t)){var n,r,o,i=V(e),a=V(t);if(i&&a){if((r=e.length)!=t.length)return!1;for(n=r;0!=n--;)if(!Q(e[n],t[n]))return!1;return!0}if(i!=a)return!1;var s=e instanceof Date,l=t instanceof Date;if(s!=l)return!1;if(s&&l)return e.getTime()==t.getTime();var c=e instanceof RegExp,u=t instanceof RegExp;if(c!=u)return!1;if(c&&u)return e.toString()==t.toString();var p=J(e);if((r=p.length)!==J(t).length)return!1;for(n=r;0!=n--;)if(!Y.call(t,p[n]))return!1;for(n=r;0!=n--;)if(!("_owner"===(o=p[n])&&e.$$typeof||Q(e[o],t[o])))return!1;return!0}return e!=e&&t!=t}function X(e,t){try{return Q(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}var q=function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},$=function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},K=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}};function ee(){var e=(0,g.A)(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]);return ee=function(){return e},e}var te={name:"19bqh2r",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"},ne=function(e){var t=e.size,n=(0,r.A)(e,["size"]);return(0,d.Y)("svg",(0,o.A)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:te},n))},re=function(e){return(0,d.Y)(ne,(0,o.A)({size:20},e),(0,d.Y)("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"}))},oe=function(e){return(0,d.Y)(ne,(0,o.A)({size:20},e),(0,d.Y)("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"}))},ie=function(e){var t=e.isFocused,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorContainer",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:t?o.neutral80:o.neutral40}}},ae=ie,se=ie,le=function(e){var t=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},ce=(0,d.i7)(ee()),ue=function(e){var t=e.isFocused,n=e.size,r=e.theme,o=r.colors,i=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*i,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},pe=function(e){var t=e.delay,n=e.offset;return(0,d.Y)("span",{css:(0,m.A)({animation:"".concat(ce," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":null,height:"1em",verticalAlign:"top",width:"1em"},"")})},de=function(e){var t=e.className,n=e.cx,r=e.getStyles,i=e.innerProps,a=e.isRtl;return(0,d.Y)("div",(0,o.A)({},i,{css:r("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)}),(0,d.Y)(pe,{delay:0,offset:a}),(0,d.Y)(pe,{delay:160,offset:!0}),(0,d.Y)(pe,{delay:320,offset:!a}))};de.defaultProps={size:4};var fe=function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,o=r.colors,i=r.borderRadius,a=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?o.neutral5:o.neutral0,borderColor:t?o.neutral10:n?o.primary:o.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(o.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?o.primary:o.neutral30}}};function he(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){(0,i.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ge=function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},be=function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}};function ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(n),!0).forEach((function(t){(0,i.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ve(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var we=function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,visibility:t?"hidden":"visible",color:o.neutral80}},Ie=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}};function xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(n),!0).forEach((function(t){(0,i.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Se=function(e){var t=e.theme,n=t.spacing,r=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},Me=function(e){var t=e.theme,n=t.borderRadius,r=t.colors,o=e.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o?"ellipsis":null,whiteSpace:"nowrap"}},ke=function(e){var t=e.theme,n=t.spacing,r=t.borderRadius,o=t.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:e.isFocused&&o.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},je=function(e){var t=e.children,n=e.innerProps;return(0,d.Y)("div",n,t)},Ce=je,Pe=je;var Ne=function(e){var t=e.children,n=e.className,r=e.components,o=e.cx,i=e.data,a=e.getStyles,s=e.innerProps,l=e.isDisabled,c=e.removeProps,u=e.selectProps,p=r.Container,f=r.Label,h=r.Remove;return(0,d.Y)(d.Z2,null,(function(r){var m=r.css,g=r.cx;return(0,d.Y)(p,{data:i,innerProps:Ee(Ee({},s),{},{className:g(m(a("multiValue",e)),o({"multi-value":!0,"multi-value--is-disabled":l},n))}),selectProps:u},(0,d.Y)(f,{data:i,innerProps:{className:g(m(a("multiValueLabel",e)),o({"multi-value__label":!0},n))},selectProps:u},t),(0,d.Y)(h,{data:i,innerProps:Ee({className:g(m(a("multiValueRemove",e)),o({"multi-value__remove":!0},n))},c),selectProps:u}))}))};Ne.defaultProps={cropWithEllipsis:!0};var Te=function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,o=e.theme,i=o.spacing,a=o.colors;return{label:"option",backgroundColor:r?a.primary:n?a.primary25:"transparent",color:t?a.neutral20:r?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*i.baseUnit,"px ").concat(3*i.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(r?a.primary:a.primary50)}}},Ae=function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},Le=function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{label:"singleValue",color:t?o.neutral40:o.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"calc(100% - ".concat(2*r.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}};function De(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?De(Object(n),!0).forEach((function(t){(0,i.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):De(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Re={ClearIndicator:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,a=e.innerProps;return(0,d.Y)("div",(0,o.A)({},a,{css:i("clearIndicator",e),className:r({indicator:!0,"clear-indicator":!0},n)}),t||(0,d.Y)(re,null))},Control:function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.className,a=e.isDisabled,s=e.isFocused,l=e.innerRef,c=e.innerProps,u=e.menuIsOpen;return(0,d.Y)("div",(0,o.A)({ref:l,css:r("control",e),className:n({control:!0,"control--is-disabled":a,"control--is-focused":s,"control--menu-is-open":u},i)},c),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,a=e.innerProps;return(0,d.Y)("div",(0,o.A)({},a,{css:i("dropdownIndicator",e),className:r({indicator:!0,"dropdown-indicator":!0},n)}),t||(0,d.Y)(oe,null))},DownChevron:oe,CrossIcon:re,Group:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,a=e.Heading,s=e.headingProps,l=e.label,c=e.theme,u=e.selectProps;return(0,d.Y)("div",{css:i("group",e),className:r({group:!0},n)},(0,d.Y)(a,(0,o.A)({},s,{selectProps:u,theme:c,getStyles:i,cx:r}),l),(0,d.Y)("div",null,t))},GroupHeading:function(e){var t=e.className,n=e.cx,i=e.getStyles,a=e.theme,s=(e.selectProps,(0,r.A)(e,["className","cx","getStyles","theme","selectProps"]));return(0,d.Y)("div",(0,o.A)({css:i("groupHeading",me({theme:a},s)),className:n({"group-heading":!0},t)},s))},IndicatorsContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles;return(0,d.Y)("div",{css:o("indicatorsContainer",e),className:r({indicators:!0},n)},t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,r=e.getStyles,i=e.innerProps;return(0,d.Y)("span",(0,o.A)({},i,{css:r("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,i=e.getStyles,a=e.innerRef,s=e.isHidden,l=e.isDisabled,c=e.theme,u=(e.selectProps,(0,r.A)(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return(0,d.Y)("div",{css:i("input",ye({theme:c},u))},(0,d.Y)(b.A,(0,o.A)({className:n({input:!0},t),inputRef:a,inputStyle:Ie(s),disabled:l},u)))},LoadingIndicator:de,Menu:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,a=e.innerRef,s=e.innerProps;return(0,d.Y)("div",(0,o.A)({css:i("menu",e),className:r({menu:!0},n)},s,{ref:a}),t)},MenuList:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,a=e.isMulti,s=e.innerRef,l=e.innerProps;return(0,d.Y)("div",(0,o.A)({css:i("menuList",e),className:r({"menu-list":!0,"menu-list--is-multi":a},n),ref:s},l),t)},MenuPortal:F,LoadingMessage:G,NoOptionsMessage:_,MultiValue:Ne,MultiValueContainer:Ce,MultiValueLabel:Pe,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return(0,d.Y)("div",n,t||(0,d.Y)(re,{size:14}))},Option:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,a=e.isDisabled,s=e.isFocused,l=e.isSelected,c=e.innerRef,u=e.innerProps;return(0,d.Y)("div",(0,o.A)({css:i("option",e),className:r({option:!0,"option--is-disabled":a,"option--is-focused":s,"option--is-selected":l},n),ref:c},u),t)},Placeholder:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,a=e.innerProps;return(0,d.Y)("div",(0,o.A)({css:i("placeholder",e),className:r({placeholder:!0},n)},a),t)},SelectContainer:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,a=e.innerProps,s=e.isDisabled,l=e.isRtl;return(0,d.Y)("div",(0,o.A)({css:i("container",e),className:r({"--is-disabled":s,"--is-rtl":l},n)},a),t)},SingleValue:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,a=e.isDisabled,s=e.innerProps;return(0,d.Y)("div",(0,o.A)({css:i("singleValue",e),className:r({"single-value":!0,"single-value--is-disabled":a},n)},s),t)},ValueContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.isMulti,i=e.getStyles,a=e.hasValue;return(0,d.Y)("div",{css:i("valueContainer",e),className:r({"value-container":!0,"value-container--is-multi":o,"value-container--has-value":a},n)},t)}},Be=function(e){return Oe(Oe({},Re),e.components)}},54901:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>i});n(77810),n(54313),n(22483);var r=n(31620),o=(n(39959),n(15922),n(33497));n(77161);const i=(0,o.m)(r.S)},33497:(e,t,n)=>{"use strict";n.d(t,{m:()=>f});var r=n(18801),o=n(64180),i=n(29121),a=n(12937),s=n(10785),l=n(29906),c=n(28782),u=n(77810);function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.A)(e);if(t){var o=(0,c.A)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.A)(this,n)}}var d={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},f=function(e){var t,n;return n=t=function(t){(0,s.A)(l,t);var n=p(l);function l(){var e;(0,i.A)(this,l);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))).select=void 0,e.state={inputValue:void 0!==e.props.inputValue?e.props.inputValue:e.props.defaultInputValue,menuIsOpen:void 0!==e.props.menuIsOpen?e.props.menuIsOpen:e.props.defaultMenuIsOpen,value:void 0!==e.props.value?e.props.value:e.props.defaultValue},e.onChange=function(t,n){e.callProp("onChange",t,n),e.setState({value:t})},e.onInputChange=function(t,n){var r=e.callProp("onInputChange",t,n);e.setState({inputValue:void 0!==r?r:t})},e.onMenuOpen=function(){e.callProp("onMenuOpen"),e.setState({menuIsOpen:!0})},e.onMenuClose=function(){e.callProp("onMenuClose"),e.setState({menuIsOpen:!1})},e}return(0,a.A)(l,[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(e){return void 0!==this.props[e]?this.props[e]:this.state[e]}},{key:"callProp",value:function(e){if("function"==typeof this.props[e]){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return(t=this.props)[e].apply(t,r)}}},{key:"render",value:function(){var t=this,n=this.props,i=(n.defaultInputValue,n.defaultMenuIsOpen,n.defaultValue,(0,r.A)(n,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return u.createElement(e,(0,o.A)({},i,{ref:function(e){t.select=e},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}]),l}(u.Component),t.defaultProps=d,n}},37017:(e,t,n)=>{"use strict";t.A=c;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(77810)),o=a(n(75826)),i=a(n(6e4));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return s="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},s(e)}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(l){o=!0,i=l}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function c(e){var t=l((0,r.useState)(e.startAtStep),2),n=t[0],o=t[1],a=l((0,r.useState)(null),2),c=a[0],u=a[1],p={display:"none"};(0,r.useEffect)((function(){u(d(e.startAtStep,e.steps.length))}),[]);var d=function(t,n){for(var r=[],o=0;o<n;o++)o<t||!e.prevBtnOnLastStep&&t===n-1?r.push("done"):o===t?r.push("doing"):r.push("todo");return{styles:r}},f=function(t){var n;u(d(t,e.steps.length)),t<e.steps.length&&o(t),n=t,e.onStepChange&&e.onStepChange(n)},h=function(t){if(void 0===t.target)f(t);else{if(!e.stepsNavigation||t.target.value===n)return t.preventDefault(),void t.stopPropagation();t.persist();var r=t.target.value<n,o=!1,i=!1;y(r).then((function(a){i=void 0===a||a,r||g(i),i&&(r||(o=e.steps.reduce((function(e,r,o){return o>=n&&o<t.target.value&&e.push(r.validated),e}),[]).some((function(e){return!1===e}))))})).catch((function(){r||g(!1)})).then((function(){i&&!o&&(t.target.value===e.steps.length-1&&n===e.steps.length-1?f(e.steps.length):f(t.target.value))})).catch((function(e){e&&setTimeout((function(){throw e}))}))}},m=function(){y().then((function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];g(e),e&&f(n+1)})).catch((function(e){e&&setTimeout((function(){throw e})),g(!1)}))},g=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e.steps[n].validated=t},b=(0,r.useRef)(null),v=function(t){return e.hocValidationAppliedTo&&e.hocValidationAppliedTo.length>0&&e.hocValidationAppliedTo.indexOf(t)>-1},y=function(t){return i.default.resolve(function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return!!e.dontValidate||!!t||(v(n)?b.current.refs.component.isValidated():null===b.current||void 0===b.current.isValidated||b.current.isValidated())}(t))},w=function(t,n){var r="";return c&&c.styles&&(r="".concat(t,"-").concat(c.styles[n]),e.stepsNavigation||(r+=" no-hl")),r},I=function(t){var n=!0,r=!0,o=e.nextButtonText;(0===t&&(n=!1),t===e.steps.length-2)&&(o=(e.nextTextOnFinalActionStep?e.nextTextOnFinalActionStep:e.nextButtonText)||o);return t>=e.steps.length-1&&(r=!1,n=!1!==e.prevBtnOnLastStep),{showPreviousBtn:n,showNextBtn:r,nextStepText:o}}(n),x=I.nextStepText,E=I.showNextBtn,S=I.showPreviousBtn,M={jumpToStep:function(e){h(e)}},k=null,j=null;return e.steps[n]&&(((k=e.steps[n].component)instanceof r.Component||k.type&&k.type.prototype instanceof r.Component||"object"===s(k)&&"object"===s(k.type))&&(M.ref=b),j=r.default.cloneElement(k,M)),r.default.createElement("div",{className:"multi-step",onKeyDown:function(t){!function(t){13===t.which&&(e.preventEnterSubmission||"textarea"===t.target.type?"textarea"!==t.target.type&&t.preventDefault():m())}(t)}},e.showSteps?r.default.createElement("ol",{className:"progtrckr"},e.steps.map((function(t,n){return r.default.createElement("li",{className:w("progtrckr",n),onClick:function(e){h(e)},key:n,value:n},r.default.createElement("em",null,n+1),r.default.createElement("span",null,e.steps[n].name))}))):r.default.createElement("span",null),j,r.default.createElement("div",{style:e.showNavigation?{}:p,className:"footer-buttons"},r.default.createElement("button",{type:"button",style:S?{}:p,className:e.backButtonCls,onClick:function(){n>0&&f(n-1)},id:"prev-button"},e.backButtonText),r.default.createElement("button",{type:"button",style:E?{}:p,className:e.nextButtonCls,onClick:function(){m()},id:"next-button"},x)))}c.defaultProps={showSteps:!0,showNavigation:!0,stepsNavigation:!0,prevBtnOnLastStep:!0,dontValidate:!1,preventEnterSubmission:!1,startAtStep:0,nextButtonText:"Next",nextButtonCls:"btn btn-prev btn-primary btn-lg pull-right",backButtonText:"Previous",backButtonCls:"btn btn-next btn-primary btn-lg pull-left",hocValidationAppliedTo:[]},c.propTypes={steps:o.default.arrayOf(o.default.shape({name:o.default.oneOfType([o.default.string,o.default.object]).isRequired,component:o.default.element.isRequired})).isRequired,showSteps:o.default.bool,showNavigation:o.default.bool,stepsNavigation:o.default.bool,prevBtnOnLastStep:o.default.bool,dontValidate:o.default.bool,preventEnterSubmission:o.default.bool,startAtStep:o.default.number,nextButtonText:o.default.string,nextButtonCls:o.default.string,backButtonCls:o.default.string,backButtonText:o.default.string,hocValidationAppliedTo:o.default.array,onStepChange:o.default.func}},89742:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(77810),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(){return i.default.createElement("svg",{width:"14",height:"11",viewBox:"0 0 14 11"},i.default.createElement("path",{d:"M11.264 0L5.26 6.004 2.103 2.847 0 4.95l5.26 5.26 8.108-8.107L11.264 0",fill:"#fff",fillRule:"evenodd"}))}},88058:(e,t,n)=>{"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(77810),a=d(i),s=d(n(75755)),l=d(n(75826)),c=d(n(89742)),u=d(n(13594)),p=n(91524);function d(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleClick=n.handleClick.bind(n),n.handleTouchStart=n.handleTouchStart.bind(n),n.handleTouchMove=n.handleTouchMove.bind(n),n.handleTouchEnd=n.handleTouchEnd.bind(n),n.handleFocus=n.handleFocus.bind(n),n.handleBlur=n.handleBlur.bind(n),n.previouslyChecked=!(!e.checked&&!e.defaultChecked),n.state={checked:!(!e.checked&&!e.defaultChecked),hasFocus:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidUpdate",value:function(e){e.checked!==this.props.checked&&this.setState({checked:!!this.props.checked})}},{key:"handleClick",value:function(e){if(!this.props.disabled){var t=this.input;if(e.target!==t&&!this.moved)return this.previouslyChecked=t.checked,e.preventDefault(),t.focus(),void t.click();var n=this.props.hasOwnProperty("checked")?this.props.checked:t.checked;this.setState({checked:n})}}},{key:"handleTouchStart",value:function(e){this.props.disabled||(this.startX=(0,p.pointerCoord)(e).x,this.activated=!0)}},{key:"handleTouchMove",value:function(e){if(this.activated&&(this.moved=!0,this.startX)){var t=(0,p.pointerCoord)(e).x;this.state.checked&&t+15<this.startX?(this.setState({checked:!1}),this.startX=t,this.activated=!0):t-15>this.startX&&(this.setState({checked:!0}),this.startX=t,this.activated=t<this.startX+5)}}},{key:"handleTouchEnd",value:function(e){if(this.moved){var t=this.input;if(e.preventDefault(),this.startX){var n=(0,p.pointerCoord)(e).x;!0===this.previouslyChecked&&this.startX+4>n?this.previouslyChecked!==this.state.checked&&(this.setState({checked:!1}),this.previouslyChecked=this.state.checked,t.click()):this.startX-4<n&&this.previouslyChecked!==this.state.checked&&(this.setState({checked:!0}),this.previouslyChecked=this.state.checked,t.click()),this.activated=!1,this.startX=null,this.moved=!1}}}},{key:"handleFocus",value:function(e){var t=this.props.onFocus;t&&t(e),this.setState({hasFocus:!0})}},{key:"handleBlur",value:function(e){var t=this.props.onBlur;t&&t(e),this.setState({hasFocus:!1})}},{key:"getIcon",value:function(e){var n=this.props.icons;return n?void 0===n[e]?t.defaultProps.icons[e]:n[e]:null}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,o=(t.icons,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["className","icons"])),i=(0,s.default)("react-toggle",{"react-toggle--checked":this.state.checked,"react-toggle--focus":this.state.hasFocus,"react-toggle--disabled":this.props.disabled},n);return a.default.createElement("div",{className:i,onClick:this.handleClick,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd},a.default.createElement("div",{className:"react-toggle-track"},a.default.createElement("div",{className:"react-toggle-track-check"},this.getIcon("checked")),a.default.createElement("div",{className:"react-toggle-track-x"},this.getIcon("unchecked"))),a.default.createElement("div",{className:"react-toggle-thumb"}),a.default.createElement("input",r({},o,{ref:function(t){e.input=t},onFocus:this.handleFocus,onBlur:this.handleBlur,className:"react-toggle-screenreader-only",type:"checkbox"})))}}]),t}(i.PureComponent);t.A=f,f.displayName="Toggle",f.defaultProps={icons:{checked:a.default.createElement(c.default,null),unchecked:a.default.createElement(u.default,null)}},f.propTypes={checked:l.default.bool,disabled:l.default.bool,defaultChecked:l.default.bool,onChange:l.default.func,onFocus:l.default.func,onBlur:l.default.func,className:l.default.string,name:l.default.string,value:l.default.string,id:l.default.string,"aria-labelledby":l.default.string,"aria-label":l.default.string,icons:l.default.oneOfType([l.default.bool,l.default.shape({checked:l.default.node,unchecked:l.default.node})])}},91524:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pointerCoord=function(e){if(e){var t=e.changedTouches;if(t&&t.length>0){var n=t[0];return{x:n.clientX,y:n.clientY}}var r=e.pageX;if(void 0!==r)return{x:r,y:e.pageY}}return{x:0,y:0}}},13594:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(77810),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(){return i.default.createElement("svg",{width:"10",height:"10",viewBox:"0 0 10 10"},i.default.createElement("path",{d:"M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.95 7.07 7.78 9.9 9.9 7.776 7.072 4.95 9.9 2.12",fill:"#fff",fillRule:"evenodd"}))}},85686:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var r,o=n(11633),i=(r=o)&&r.__esModule?r:{default:r},a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var s={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){var n=t[e];return n||{extend:e}}},l=t.autoprefix=function(e){var t={};return(0,i.default)(e,(function(e,n){var r={};(0,i.default)(e,(function(e,t){var n=s[t];n?r=a({},r,n(e)):r[t]=e})),t[n]=r})),t};t.default=l},39970:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(77810),a=(r=i)&&r.__esModule?r:{default:r};function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,i,l;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var c=arguments.length,u=Array(c),p=0;p<c;p++)u[p]=arguments[p];return i=l=s(this,(n=r.__proto__||Object.getPrototypeOf(r)).call.apply(n,[this].concat(u))),l.state={active:!1},l.handleMouseDown=function(){return l.setState({active:!0})},l.handleMouseUp=function(){return l.setState({active:!1})},l.render=function(){return a.default.createElement(t,{onMouseDown:l.handleMouseDown,onMouseUp:l.handleMouseUp},a.default.createElement(e,o({},l.props,l.state)))},s(l,i)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n),r}(a.default.Component)};t.default=l},96444:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(77810),a=(r=i)&&r.__esModule?r:{default:r};function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,i,l;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);for(var c=arguments.length,u=Array(c),p=0;p<c;p++)u[p]=arguments[p];return i=l=s(this,(n=r.__proto__||Object.getPrototypeOf(r)).call.apply(n,[this].concat(u))),l.state={hover:!1},l.handleMouseOver=function(){return l.setState({hover:!0})},l.handleMouseOut=function(){return l.setState({hover:!1})},l.render=function(){return a.default.createElement(t,{onMouseOver:l.handleMouseOver,onMouseOut:l.handleMouseOut},a.default.createElement(e,o({},l.props,l.state)))},s(l,i)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n),r}(a.default.Component)};t.default=l},42471:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var r=s(n(13085)),o=s(n(11633)),i=s(n(61449)),a=s(n(27528));function s(e){return e&&e.__esModule?e:{default:e}}var l=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return(0,a.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return n.push(e)})):(0,i.default)(t)?(0,o.default)(t,(function(e,t){!0===e&&n.push(t),n.push(t+"-"+e)})):(0,r.default)(t)&&n.push(t)})),n};t.default=l},69325:(e,t,n)=>{"use strict";t.H8=void 0;var r=c(n(42471)),o=c(n(13705)),i=c(n(85686)),a=c(n(96444)),s=c(n(39970)),l=c(n(66491));function c(e){return e&&e.__esModule?e:{default:e}}a.default,t.H8=a.default,s.default,l.default;var u=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var s=(0,r.default)(n),l=(0,o.default)(e,s);return(0,i.default)(l)};t.Ay=u},66491:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e,t){var n={},r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n[e]=t};return 0===e&&r("first-child"),e===t-1&&r("last-child"),(0===e||e%2==0)&&r("even"),1===Math.abs(e%2)&&r("odd"),r("nth-child",e),n}},13705:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var r=a(n(11633)),o=a(n(3009)),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function a(e){return e&&e.__esModule?e:{default:e}}var s=t.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.default&&(0,o.default)(e.default)||{};return t.map((function(t){var o=e[t];return o&&(0,r.default)(o,(function(e,t){n[t]||(n[t]={}),n[t]=i({},n[t],o[t])})),t})),n};t.default=s},85171:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(78147)),o=n(68899);function i(e,t){var n={};return e&&"string"==typeof e?((0,r.default)(e,(function(e,r){e&&r&&(n[(0,o.camelCase)(e,t)]=r)})),n):n}i.default=i,e.exports=i},68899:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(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||o.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,l):e.replace(i,l)).replace(r,s))}},78147:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,o.default)(e),i="function"==typeof t;return r.forEach((function(e){if("declaration"===e.type){var r=e.property,o=e.value;i?t(r,o,e):o&&((n=n||{})[r]=o)}})),n};var o=r(n(5810))},84519:(e,t,n)=>{var r;!function(o){var i=/^\s+/,a=/\s+$/,s=0,l=o.round,c=o.min,u=o.max,p=o.random;function d(e,t){if(t=t||{},(e=e||"")instanceof d)return e;if(!(this instanceof d))return new d(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,s=null,l=null,p=!1,d=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(a,"").toLowerCase();var t,n=!1;if(N[e])e=N[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=G.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=G.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=G.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=G.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=G.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=G.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=G.hex8.exec(e))return{r:O(t[1]),g:O(t[2]),b:O(t[3]),a:W(t[4]),format:n?"name":"hex8"};if(t=G.hex6.exec(e))return{r:O(t[1]),g:O(t[2]),b:O(t[3]),format:n?"name":"hex"};if(t=G.hex4.exec(e))return{r:O(t[1]+""+t[1]),g:O(t[2]+""+t[2]),b:O(t[3]+""+t[3]),a:W(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=G.hex3.exec(e))return{r:O(t[1]+""+t[1]),g:O(t[2]+""+t[2]),b:O(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(U(e.r)&&U(e.g)&&U(e.b)?(f=e.r,h=e.g,m=e.b,t={r:255*L(f,255),g:255*L(h,255),b:255*L(m,255)},p=!0,d="%"===String(e.r).substr(-1)?"prgb":"rgb"):U(e.h)&&U(e.s)&&U(e.v)?(r=B(e.s),s=B(e.v),t=function(e,t,n){e=6*L(e,360),t=L(t,100),n=L(n,100);var r=o.floor(e),i=e-r,a=n*(1-t),s=n*(1-i*t),l=n*(1-(1-i)*t),c=r%6,u=[n,s,a,a,l,n][c],p=[l,n,n,s,a,a][c],d=[a,a,l,n,n,s][c];return{r:255*u,g:255*p,b:255*d}}(e.h,r,s),p=!0,d="hsv"):U(e.h)&&U(e.s)&&U(e.l)&&(r=B(e.s),l=B(e.l),t=function(e,t,n){var r,o,i;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=L(e,360),t=L(t,100),n=L(n,100),0===t)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=a(l,s,e+1/3),o=a(l,s,e),i=a(l,s,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,l),p=!0,d="hsl"),e.hasOwnProperty("a")&&(n=e.a));var f,h,m;return n=A(n),{ok:p,format:e.format||d,r:c(255,u(t.r,0)),g:c(255,u(t.g,0)),b:c(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=s++}function f(e,t,n){e=L(e,255),t=L(t,255),n=L(n,255);var r,o,i=u(e,t,n),a=c(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var l=i-a;switch(o=s>.5?l/(2-i-a):l/(i+a),i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,l:s}}function h(e,t,n){e=L(e,255),t=L(t,255),n=L(n,255);var r,o,i=u(e,t,n),a=c(e,t,n),s=i,l=i-a;if(o=0===i?0:l/i,i==a)r=0;else{switch(i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,v:s}}function m(e,t,n,r){var o=[R(l(e).toString(16)),R(l(t).toString(16)),R(l(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function g(e,t,n,r){return[R(H(r)),R(l(e).toString(16)),R(l(t).toString(16)),R(l(n).toString(16))].join("")}function b(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.s-=t/100,n.s=D(n.s),d(n)}function v(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.s+=t/100,n.s=D(n.s),d(n)}function y(e){return d(e).desaturate(100)}function w(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.l+=t/100,n.l=D(n.l),d(n)}function I(e,t){t=0===t?0:t||10;var n=d(e).toRgb();return n.r=u(0,c(255,n.r-l(-t/100*255))),n.g=u(0,c(255,n.g-l(-t/100*255))),n.b=u(0,c(255,n.b-l(-t/100*255))),d(n)}function x(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.l-=t/100,n.l=D(n.l),d(n)}function E(e,t){var n=d(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,d(n)}function S(e){var t=d(e).toHsl();return t.h=(t.h+180)%360,d(t)}function M(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+120)%360,s:t.s,l:t.l}),d({h:(n+240)%360,s:t.s,l:t.l})]}function k(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+90)%360,s:t.s,l:t.l}),d({h:(n+180)%360,s:t.s,l:t.l}),d({h:(n+270)%360,s:t.s,l:t.l})]}function j(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+72)%360,s:t.s,l:t.l}),d({h:(n+216)%360,s:t.s,l:t.l})]}function C(e,t,n){t=t||6,n=n||30;var r=d(e).toHsl(),o=360/n,i=[d(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(d(r));return i}function P(e,t){t=t||6;for(var n=d(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(d({h:r,s:o,v:i})),i=(i+s)%1;return a}d.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=A(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=f(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return m(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[R(l(e).toString(16)),R(l(t).toString(16)),R(l(n).toString(16)),R(H(r))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*L(this._r,255))+"%",g:l(100*L(this._g,255))+"%",b:l(100*L(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*L(this._r,255))+"%, "+l(100*L(this._g,255))+"%, "+l(100*L(this._b,255))+"%)":"rgba("+l(100*L(this._r,255))+"%, "+l(100*L(this._g,255))+"%, "+l(100*L(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(T[m(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+g(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=d(e);n="#"+g(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return d(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(w,arguments)},brighten:function(){return this._applyModification(I,arguments)},darken:function(){return this._applyModification(x,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(E,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(C,arguments)},complement:function(){return this._applyCombination(S,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(j,arguments)},triad:function(){return this._applyCombination(M,arguments)},tetrad:function(){return this._applyCombination(k,arguments)}},d.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:B(e[r]));e=n}return d(e,t)},d.equals=function(e,t){return!(!e||!t)&&d(e).toRgbString()==d(t).toRgbString()},d.random=function(){return d.fromRatio({r:p(),g:p(),b:p()})},d.mix=function(e,t,n){n=0===n?0:n||50;var r=d(e).toRgb(),o=d(t).toRgb(),i=n/100;return d({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},d.readability=function(e,t){var n=d(e),r=d(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},d.isReadable=function(e,t,n){var r,o,i=d.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},d.mostReadable=function(e,t,n){var r,o,i,a,s=null,l=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;for(var c=0;c<t.length;c++)(r=d.readability(e,t[c]))>l&&(l=r,s=d(t[c]));return d.isReadable(e,s,{level:i,size:a})||!o?s:(n.includeFallbackColors=!1,d.mostReadable(e,["#fff","#000"],n))};var N=d.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},T=d.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(N);function A(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function L(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=c(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function D(e){return c(1,u(0,e))}function O(e){return parseInt(e,16)}function R(e){return 1==e.length?"0"+e:""+e}function B(e){return e<=1&&(e=100*e+"%"),e}function H(e){return o.round(255*parseFloat(e)).toString(16)}function W(e){return O(e)/255}var z,Z,_,G=(Z="[\\s|\\(]+("+(z="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+z+")[,|\\s]+("+z+")\\s*\\)?",_="[\\s|\\(]+("+z+")[,|\\s]+("+z+")[,|\\s]+("+z+")[,|\\s]+("+z+")\\s*\\)?",{CSS_UNIT:new RegExp(z),rgb:new RegExp("rgb"+Z),rgba:new RegExp("rgba"+_),hsl:new RegExp("hsl"+Z),hsla:new RegExp("hsla"+_),hsv:new RegExp("hsv"+Z),hsva:new RegExp("hsva"+_),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function U(e){return!!G.CSS_UNIT.exec(e)}e.exports?e.exports=d:void 0===(r=function(){return d}.call(t,n,t,e))||(e.exports=r)}(Math)},64181:(e,t,n)=>{"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function o(e){return e instanceof r(e).Element||e instanceof Element}function i(e){return e instanceof r(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof r(e).ShadowRoot||e instanceof ShadowRoot)}n.d(t,{Ay:()=>at});var s=Math.max,l=Math.min,c=Math.round;function u(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(i(e)&&t){var a=e.offsetHeight,s=e.offsetWidth;s>0&&(r=c(n.width)/s||1),a>0&&(o=c(n.height)/a||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function p(e){var t=r(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function d(e){return e?(e.nodeName||"").toLowerCase():null}function f(e){return((o(e)?e.ownerDocument:e.document)||window.document).documentElement}function h(e){return u(f(e)).left+p(e).scrollLeft}function m(e){return r(e).getComputedStyle(e)}function g(e){var t=m(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function b(e,t,n){void 0===n&&(n=!1);var o,a,s=i(t),l=i(t)&&function(e){var t=e.getBoundingClientRect(),n=c(t.width)/e.offsetWidth||1,r=c(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),m=f(t),b=u(e,l),v={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(s||!s&&!n)&&(("body"!==d(t)||g(m))&&(v=(o=t)!==r(o)&&i(o)?{scrollLeft:(a=o).scrollLeft,scrollTop:a.scrollTop}:p(o)),i(t)?((y=u(t,!0)).x+=t.clientLeft,y.y+=t.clientTop):m&&(y.x=h(m))),{x:b.left+v.scrollLeft-y.x,y:b.top+v.scrollTop-y.y,width:b.width,height:b.height}}function v(e){var t=u(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function y(e){return"html"===d(e)?e:e.assignedSlot||e.parentNode||(a(e)?e.host:null)||f(e)}function w(e){return["html","body","#document"].indexOf(d(e))>=0?e.ownerDocument.body:i(e)&&g(e)?e:w(y(e))}function I(e,t){var n;void 0===t&&(t=[]);var o=w(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=r(o),s=i?[a].concat(a.visualViewport||[],g(o)?o:[]):o,l=t.concat(s);return i?l:l.concat(I(y(s)))}function x(e){return["table","td","th"].indexOf(d(e))>=0}function E(e){return i(e)&&"fixed"!==m(e).position?e.offsetParent:null}function S(e){for(var t=r(e),n=E(e);n&&x(n)&&"static"===m(n).position;)n=E(n);return n&&("html"===d(n)||"body"===d(n)&&"static"===m(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&i(e)&&"fixed"===m(e).position)return null;var n=y(e);for(a(n)&&(n=n.host);i(n)&&["html","body"].indexOf(d(n))<0;){var r=m(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var M="top",k="bottom",j="right",C="left",P="auto",N=[M,k,j,C],T="start",A="end",L="viewport",D="popper",O=N.reduce((function(e,t){return e.concat([t+"-"+T,t+"-"+A])}),[]),R=[].concat(N,[P]).reduce((function(e,t){return e.concat([t,t+"-"+T,t+"-"+A])}),[]),B=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function H(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var W={placement:"bottom",modifiers:[],strategy:"absolute"};function z(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Z(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,a=void 0===i?W:i;return function(e,t,n){void 0===n&&(n=a);var i,s,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},W,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,p={state:l,setOptions:function(n){var i="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},a,l.options,i),l.scrollParents={reference:o(e)?I(e):e.contextElement?I(e.contextElement):[],popper:I(t)};var s=function(e){var t=H(e);return B.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,l.options.modifiers)));return l.orderedModifiers=s.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:l,name:t,instance:p,options:r}),a=function(){};c.push(i||a)}})),p.update()},forceUpdate:function(){if(!u){var e=l.elements,t=e.reference,n=e.popper;if(z(t,n)){l.rects={reference:b(t,S(n),"fixed"===l.options.strategy),popper:v(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var o=l.orderedModifiers[r],i=o.fn,a=o.options,s=void 0===a?{}:a,c=o.name;"function"==typeof i&&(l=i({state:l,options:s,name:c,instance:p})||l)}else l.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(e){p.forceUpdate(),e(l)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(i())}))}))),s}),destroy:function(){d(),u=!0}};if(!z(e,t))return p;function d(){c.forEach((function(e){return e()})),c=[]}return p.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),p}}var _={passive:!0};function G(e){return e.split("-")[0]}function U(e){return e.split("-")[1]}function F(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function V(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?G(o):null,a=o?U(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case M:t={x:s,y:n.y-r.height};break;case k:t={x:s,y:n.y+n.height};break;case j:t={x:n.x+n.width,y:l};break;case C:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?F(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case T:t[c]=t[c]-(n[u]/2-r[u]/2);break;case A:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var J={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Y(e){var t,n=e.popper,o=e.popperRect,i=e.placement,a=e.variation,s=e.offsets,l=e.position,u=e.gpuAcceleration,p=e.adaptive,d=e.roundOffsets,h=e.isFixed,g=s.x,b=void 0===g?0:g,v=s.y,y=void 0===v?0:v,w="function"==typeof d?d({x:b,y}):{x:b,y};b=w.x,y=w.y;var I=s.hasOwnProperty("x"),x=s.hasOwnProperty("y"),E=C,P=M,N=window;if(p){var T=S(n),L="clientHeight",D="clientWidth";if(T===r(n)&&"static"!==m(T=f(n)).position&&"absolute"===l&&(L="scrollHeight",D="scrollWidth"),i===M||(i===C||i===j)&&a===A)P=k,y-=(h&&T===N&&N.visualViewport?N.visualViewport.height:T[L])-o.height,y*=u?1:-1;if(i===C||(i===M||i===k)&&a===A)E=j,b-=(h&&T===N&&N.visualViewport?N.visualViewport.width:T[D])-o.width,b*=u?1:-1}var O,R=Object.assign({position:l},p&&J),B=!0===d?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:c(t*r)/r||0,y:c(n*r)/r||0}}({x:b,y}):{x:b,y};return b=B.x,y=B.y,u?Object.assign({},R,((O={})[P]=x?"0":"",O[E]=I?"0":"",O.transform=(N.devicePixelRatio||1)<=1?"translate("+b+"px, "+y+"px)":"translate3d("+b+"px, "+y+"px, 0)",O)):Object.assign({},R,((t={})[P]=x?y+"px":"",t[E]=I?b+"px":"",t.transform="",t))}const Q={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];i(o)&&d(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});i(r)&&d(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};const X={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=R.reduce((function(e,n){return e[n]=function(e,t,n){var r=G(e),o=[C,M].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[C,j].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var q={left:"right",right:"left",bottom:"top",top:"bottom"};function $(e){return e.replace(/left|right|bottom|top/g,(function(e){return q[e]}))}var K={start:"end",end:"start"};function ee(e){return e.replace(/start|end/g,(function(e){return K[e]}))}function te(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&a(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ne(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function re(e,t){return t===L?ne(function(e){var t=r(e),n=f(e),o=t.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;return o&&(i=o.width,a=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=o.offsetLeft,l=o.offsetTop)),{width:i,height:a,x:s+h(e),y:l}}(e)):o(t)?function(e){var t=u(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):ne(function(e){var t,n=f(e),r=p(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=s(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=s(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+h(e),c=-r.scrollTop;return"rtl"===m(o||n).direction&&(l+=s(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:c}}(f(e)))}function oe(e,t,n){var r="clippingParents"===t?function(e){var t=I(y(e)),n=["absolute","fixed"].indexOf(m(e).position)>=0&&i(e)?S(e):e;return o(n)?t.filter((function(e){return o(e)&&te(e,n)&&"body"!==d(e)})):[]}(e):[].concat(t),a=[].concat(r,[n]),c=a[0],u=a.reduce((function(t,n){var r=re(e,n);return t.top=s(r.top,t.top),t.right=l(r.right,t.right),t.bottom=l(r.bottom,t.bottom),t.left=s(r.left,t.left),t}),re(e,c));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function ie(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ae(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function se(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,a=n.boundary,s=void 0===a?"clippingParents":a,l=n.rootBoundary,c=void 0===l?L:l,p=n.elementContext,d=void 0===p?D:p,h=n.altBoundary,m=void 0!==h&&h,g=n.padding,b=void 0===g?0:g,v=ie("number"!=typeof b?b:ae(b,N)),y=d===D?"reference":D,w=e.rects.popper,I=e.elements[m?y:d],x=oe(o(I)?I:I.contextElement||f(e.elements.popper),s,c),E=u(e.elements.reference),S=V({reference:E,element:w,strategy:"absolute",placement:i}),C=ne(Object.assign({},w,S)),P=d===D?C:E,T={top:x.top-P.top+v.top,bottom:P.bottom-x.bottom+v.bottom,left:x.left-P.left+v.left,right:P.right-x.right+v.right},A=e.modifiersData.offset;if(d===D&&A){var O=A[i];Object.keys(T).forEach((function(e){var t=[j,k].indexOf(e)>=0?1:-1,n=[M,k].indexOf(e)>=0?"y":"x";T[e]+=O[n]*t}))}return T}function le(e,t,n){return s(e,l(t,n))}const ce={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,c=void 0!==a&&a,u=n.boundary,p=n.rootBoundary,d=n.altBoundary,f=n.padding,h=n.tether,m=void 0===h||h,g=n.tetherOffset,b=void 0===g?0:g,y=se(t,{boundary:u,rootBoundary:p,padding:f,altBoundary:d}),w=G(t.placement),I=U(t.placement),x=!I,E=F(w),P="x"===E?"y":"x",N=t.modifiersData.popperOffsets,A=t.rects.reference,L=t.rects.popper,D="function"==typeof b?b(Object.assign({},t.rects,{placement:t.placement})):b,O="number"==typeof D?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(N){if(i){var H,W="y"===E?M:C,z="y"===E?k:j,Z="y"===E?"height":"width",_=N[E],V=_+y[W],J=_-y[z],Y=m?-L[Z]/2:0,Q=I===T?A[Z]:L[Z],X=I===T?-L[Z]:-A[Z],q=t.elements.arrow,$=m&&q?v(q):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=K[W],te=K[z],ne=le(0,A[Z],$[Z]),re=x?A[Z]/2-Y-ne-ee-O.mainAxis:Q-ne-ee-O.mainAxis,oe=x?-A[Z]/2+Y+ne+te+O.mainAxis:X+ne+te+O.mainAxis,ie=t.elements.arrow&&S(t.elements.arrow),ae=ie?"y"===E?ie.clientTop||0:ie.clientLeft||0:0,ce=null!=(H=null==R?void 0:R[E])?H:0,ue=_+oe-ce,pe=le(m?l(V,_+re-ce-ae):V,_,m?s(J,ue):J);N[E]=pe,B[E]=pe-_}if(c){var de,fe="x"===E?M:C,he="x"===E?k:j,me=N[P],ge="y"===P?"height":"width",be=me+y[fe],ve=me-y[he],ye=-1!==[M,C].indexOf(w),we=null!=(de=null==R?void 0:R[P])?de:0,Ie=ye?be:me-A[ge]-L[ge]-we+O.altAxis,xe=ye?me+A[ge]+L[ge]-we-O.altAxis:ve,Ee=m&&ye?function(e,t,n){var r=le(e,t,n);return r>n?n:r}(Ie,me,xe):le(m?Ie:be,me,m?xe:ve);N[P]=Ee,B[P]=Ee-me}t.modifiersData[r]=B}},requiresIfExists:["offset"]};const ue={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=G(n.placement),l=F(s),c=[C,j].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return ie("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ae(e,N))}(o.padding,n),p=v(i),d="y"===l?M:C,f="y"===l?k:j,h=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],m=a[l]-n.rects.reference[l],g=S(i),b=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,w=u[d],I=b-p[c]-u[f],x=b/2-p[c]/2+y,E=le(w,x,I),P=l;n.modifiersData[r]=((t={})[P]=E,t.centerOffset=E-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&te(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function pe(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function de(e){return[M,j,k,C].some((function(t){return e[t]>=0}))}var fe=Z({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,i=o.scroll,a=void 0===i||i,s=o.resize,l=void 0===s||s,c=r(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,_)})),l&&c.addEventListener("resize",n.update,_),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,_)})),l&&c.removeEventListener("resize",n.update,_)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=V({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,c={placement:G(t.placement),variation:U(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Y(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Y(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Q,X,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,p=n.rootBoundary,d=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,b=G(g),v=l||(b===g||!h?[$(g)]:function(e){if(G(e)===P)return[];var t=$(e);return[ee(e),t,ee(t)]}(g)),y=[g].concat(v).reduce((function(e,n){return e.concat(G(n)===P?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?R:l,u=U(r),p=u?s?O:O.filter((function(e){return U(e)===u})):N,d=p.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=p);var f=d.reduce((function(t,n){return t[n]=se(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[G(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:p,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,I=t.rects.popper,x=new Map,E=!0,S=y[0],A=0;A<y.length;A++){var L=y[A],D=G(L),B=U(L)===T,H=[M,k].indexOf(D)>=0,W=H?"width":"height",z=se(t,{placement:L,boundary:u,rootBoundary:p,altBoundary:d,padding:c}),Z=H?B?j:C:B?k:M;w[W]>I[W]&&(Z=$(Z));var _=$(Z),F=[];if(i&&F.push(z[D]<=0),s&&F.push(z[Z]<=0,z[_]<=0),F.every((function(e){return e}))){S=L,E=!1;break}x.set(L,F)}if(E)for(var V=function(e){var t=y.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},J=h?3:1;J>0;J--){if("break"===V(J))break}t.placement!==S&&(t.modifiersData[r]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},ce,ue,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=se(t,{elementContext:"reference"}),s=se(t,{altBoundary:!0}),l=pe(a,r),c=pe(s,o,i),u=de(l),p=de(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":p})}}]}),he="tippy-content",me="tippy-backdrop",ge="tippy-arrow",be="tippy-svg-arrow",ve={passive:!0,capture:!0},ye=function(){return document.body};function we(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Ie(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function xe(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Ee(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function Se(e){return[].concat(e)}function Me(e,t){-1===e.indexOf(t)&&e.push(t)}function ke(e){return e.split("-")[0]}function je(e){return[].slice.call(e)}function Ce(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function Pe(){return document.createElement("div")}function Ne(e){return["Element","Fragment"].some((function(t){return Ie(e,t)}))}function Te(e){return Ie(e,"MouseEvent")}function Ae(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function Le(e){return Ne(e)?[e]:function(e){return Ie(e,"NodeList")}(e)?je(e):Array.isArray(e)?e:je(document.querySelectorAll(e))}function De(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Oe(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Re(e){var t,n=Se(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function Be(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function He(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var We={isTouch:!1},ze=0;function Ze(){We.isTouch||(We.isTouch=!0,window.performance&&document.addEventListener("mousemove",_e))}function _e(){var e=performance.now();e-ze<20&&(We.isTouch=!1,document.removeEventListener("mousemove",_e)),ze=e}function Ge(){var e=document.activeElement;if(Ae(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var Ue=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var Fe={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Ve=Object.assign({appendTo:ye,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Fe,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Je=Object.keys(Ve);function Ye(e){var t=(e.plugins||[]).reduce((function(t,n){var r,o=n.name,i=n.defaultValue;o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=Ve[o])?r:i);return t}),{});return Object.assign({},e,t)}function Qe(e,t){var n=Object.assign({},t,{content:xe(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Ye(Object.assign({},Ve,{plugins:t}))):Je).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(o){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},Ve.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function Xe(e,t){e.innerHTML=t}function qe(e){var t=Pe();return!0===e?t.className=ge:(t.className=be,Ne(e)?t.appendChild(e):Xe(t,e)),t}function $e(e,t){Ne(t.content)?(Xe(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Xe(e,t.content):e.textContent=t.content)}function Ke(e){var t=e.firstElementChild,n=je(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(he)})),arrow:n.find((function(e){return e.classList.contains(ge)||e.classList.contains(be)})),backdrop:n.find((function(e){return e.classList.contains(me)}))}}function et(e){var t=Pe(),n=Pe();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Pe();function o(n,r){var o=Ke(t),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||$e(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(qe(r.arrow))):i.appendChild(qe(r.arrow)):s&&i.removeChild(s)}return r.className=he,r.setAttribute("data-state","hidden"),$e(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}et.$$tippy=!0;var tt=1,nt=[],rt=[];function ot(e,t){var n,r,o,i,a,s,l,c,u=Qe(e,Object.assign({},Ve,Ye(Ce(t)))),p=!1,d=!1,f=!1,h=!1,m=[],g=Ee(J,u.interactiveDebounce),b=tt++,v=(c=u.plugins).filter((function(e,t){return c.indexOf(e)===t})),y={id:b,reference:e,popper:Pe(),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:v,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){0;if(y.state.isDestroyed)return;L("onBeforeUpdate",[y,t]),F();var n=y.props,r=Qe(e,Object.assign({},n,Ce(t),{ignoreAttributes:!0}));y.props=r,U(),n.interactiveDebounce!==r.interactiveDebounce&&(R(),g=Ee(J,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Se(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");O(),A(),x&&x(n,r);y.popperInstance&&(q(),K().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));L("onAfterUpdate",[y,t])},setContent:function(e){y.setProps({content:e})},show:function(){0;var e=y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,r=We.isTouch&&!y.props.touch,o=we(y.props.duration,0,Ve.duration);if(e||t||n||r)return;if(C().hasAttribute("disabled"))return;if(L("onShow",[y],!1),!1===y.props.onShow(y))return;y.state.isVisible=!0,j()&&(I.style.visibility="visible");A(),z(),y.state.isMounted||(I.style.transition="none");if(j()){var i=N();De([i.box,i.content],0)}s=function(){var e;if(y.state.isVisible&&!h){if(h=!0,I.offsetHeight,I.style.transition=y.props.moveTransition,j()&&y.props.animation){var t=N(),n=t.box,r=t.content;De([n,r],o),Oe([n,r],"visible")}D(),O(),Me(rt,y),null==(e=y.popperInstance)||e.forceUpdate(),L("onMount",[y]),y.props.animation&&j()&&function(e,t){_(e,t)}(o,(function(){y.state.isShown=!0,L("onShown",[y])}))}},function(){var e,t=y.props.appendTo,n=C();e=y.props.interactive&&t===ye||"parent"===t?n.parentNode:xe(t,[n]);e.contains(I)||e.appendChild(I);y.state.isMounted=!0,q(),!1}()},hide:function(){0;var e=!y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,r=we(y.props.duration,1,Ve.duration);if(e||t||n)return;if(L("onHide",[y],!1),!1===y.props.onHide(y))return;y.state.isVisible=!1,y.state.isShown=!1,h=!1,p=!1,j()&&(I.style.visibility="hidden");if(R(),Z(),A(!0),j()){var o=N(),i=o.box,a=o.content;y.props.animation&&(De([i,a],r),Oe([i,a],"hidden"))}D(),O(),y.props.animation?j()&&function(e,t){_(e,(function(){!y.state.isVisible&&I.parentNode&&I.parentNode.contains(I)&&t()}))}(r,y.unmount):y.unmount()},hideWithInteractivity:function(e){0;P().addEventListener("mousemove",g),Me(nt,g),g(e)},enable:function(){y.state.isEnabled=!0},disable:function(){y.hide(),y.state.isEnabled=!1},unmount:function(){0;y.state.isVisible&&y.hide();if(!y.state.isMounted)return;$(),K().forEach((function(e){e._tippy.unmount()})),I.parentNode&&I.parentNode.removeChild(I);rt=rt.filter((function(e){return e!==y})),y.state.isMounted=!1,L("onHidden",[y])},destroy:function(){0;if(y.state.isDestroyed)return;y.clearDelayTimeouts(),y.unmount(),F(),delete e._tippy,y.state.isDestroyed=!0,L("onDestroy",[y])}};if(!u.render)return y;var w=u.render(y),I=w.popper,x=w.onUpdate;I.setAttribute("data-tippy-root",""),I.id="tippy-"+y.id,y.popper=I,e._tippy=y,I._tippy=y;var E=v.map((function(e){return e.fn(y)})),S=e.hasAttribute("aria-expanded");return U(),O(),A(),L("onCreate",[y]),u.showOnCreate&&ee(),I.addEventListener("mouseenter",(function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()})),I.addEventListener("mouseleave",(function(){y.props.interactive&&y.props.trigger.indexOf("mouseenter")>=0&&P().addEventListener("mousemove",g)})),y;function M(){var e=y.props.touch;return Array.isArray(e)?e:[e,0]}function k(){return"hold"===M()[0]}function j(){var e;return!(null==(e=y.props.render)||!e.$$tippy)}function C(){return l||e}function P(){var e=C().parentNode;return e?Re(e):document}function N(){return Ke(I)}function T(e){return y.state.isMounted&&!y.state.isVisible||We.isTouch||i&&"focus"===i.type?0:we(y.props.delay,e?0:1,Ve.delay)}function A(e){void 0===e&&(e=!1),I.style.pointerEvents=y.props.interactive&&!e?"":"none",I.style.zIndex=""+y.props.zIndex}function L(e,t,n){var r;(void 0===n&&(n=!0),E.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(r=y.props)[e].apply(r,t)}function D(){var t=y.props.aria;if(t.content){var n="aria-"+t.content,r=I.id;Se(y.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(y.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function O(){!S&&y.props.aria.expanded&&Se(y.props.triggerTarget||e).forEach((function(e){y.props.interactive?e.setAttribute("aria-expanded",y.state.isVisible&&e===C()?"true":"false"):e.removeAttribute("aria-expanded")}))}function R(){P().removeEventListener("mousemove",g),nt=nt.filter((function(e){return e!==g}))}function B(t){if(!We.isTouch||!f&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!y.props.interactive||!He(I,n)){if(Se(y.props.triggerTarget||e).some((function(e){return He(e,n)}))){if(We.isTouch)return;if(y.state.isVisible&&y.props.trigger.indexOf("click")>=0)return}else L("onClickOutside",[y,t]);!0===y.props.hideOnClick&&(y.clearDelayTimeouts(),y.hide(),d=!0,setTimeout((function(){d=!1})),y.state.isMounted||Z())}}}function H(){f=!0}function W(){f=!1}function z(){var e=P();e.addEventListener("mousedown",B,!0),e.addEventListener("touchend",B,ve),e.addEventListener("touchstart",W,ve),e.addEventListener("touchmove",H,ve)}function Z(){var e=P();e.removeEventListener("mousedown",B,!0),e.removeEventListener("touchend",B,ve),e.removeEventListener("touchstart",W,ve),e.removeEventListener("touchmove",H,ve)}function _(e,t){var n=N().box;function r(e){e.target===n&&(Be(n,"remove",r),t())}if(0===e)return t();Be(n,"remove",a),Be(n,"add",r),a=r}function G(t,n,r){void 0===r&&(r=!1),Se(y.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})}))}function U(){var e;k()&&(G("touchstart",V,{passive:!0}),G("touchend",Y,{passive:!0})),(e=y.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(G(e,V),e){case"mouseenter":G("mouseleave",Y);break;case"focus":G(Ue?"focusout":"blur",Q);break;case"focusin":G("focusout",Q)}}))}function F(){m.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),m=[]}function V(e){var t,n=!1;if(y.state.isEnabled&&!X(e)&&!d){var r="focus"===(null==(t=i)?void 0:t.type);i=e,l=e.currentTarget,O(),!y.state.isVisible&&Te(e)&&nt.forEach((function(t){return t(e)})),"click"===e.type&&(y.props.trigger.indexOf("mouseenter")<0||p)&&!1!==y.props.hideOnClick&&y.state.isVisible?n=!0:ee(e),"click"===e.type&&(p=!n),n&&!r&&te(e)}}function J(e){var t=e.target,n=C().contains(t)||I.contains(t);if("mousemove"!==e.type||!n){var r=K().concat(I).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:u}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=ke(o.placement),s=o.modifiersData.offset;if(!s)return!0;var l="bottom"===a?s.top.y:0,c="top"===a?s.bottom.y:0,u="right"===a?s.left.x:0,p="left"===a?s.right.x:0,d=t.top-r+l>i,f=r-t.bottom-c>i,h=t.left-n+u>i,m=n-t.right-p>i;return d||f||h||m}))})(r,e)&&(R(),te(e))}}function Y(e){X(e)||y.props.trigger.indexOf("click")>=0&&p||(y.props.interactive?y.hideWithInteractivity(e):te(e))}function Q(e){y.props.trigger.indexOf("focusin")<0&&e.target!==C()||y.props.interactive&&e.relatedTarget&&I.contains(e.relatedTarget)||te(e)}function X(e){return!!We.isTouch&&k()!==e.type.indexOf("touch")>=0}function q(){$();var t=y.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,l=j()?Ke(I).arrow:null,c=i?{getBoundingClientRect:i,contextElement:i.contextElement||C()}:e,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(j()){var n=N().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}},p=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},u];j()&&l&&p.push({name:"arrow",options:{element:l,padding:3}}),p.push.apply(p,(null==n?void 0:n.modifiers)||[]),y.popperInstance=fe(c,I,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:p}))}function $(){y.popperInstance&&(y.popperInstance.destroy(),y.popperInstance=null)}function K(){return je(I.querySelectorAll("[data-tippy-root]"))}function ee(e){y.clearDelayTimeouts(),e&&L("onTrigger",[y,e]),z();var t=T(!0),r=M(),o=r[0],i=r[1];We.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout((function(){y.show()}),t):y.show()}function te(e){if(y.clearDelayTimeouts(),L("onUntrigger",[y,e]),y.state.isVisible){if(!(y.props.trigger.indexOf("mouseenter")>=0&&y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&p)){var t=T(!1);t?r=setTimeout((function(){y.state.isVisible&&y.hide()}),t):o=requestAnimationFrame((function(){y.hide()}))}}else Z()}}function it(e,t){void 0===t&&(t={});var n=Ve.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Ze,ve),window.addEventListener("blur",Ge);var r=Object.assign({},t,{plugins:n}),o=Le(e).reduce((function(e,t){var n=t&&ot(t,r);return n&&e.push(n),e}),[]);return Ne(e)?o[0]:o}it.defaultProps=Ve,it.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Ve[t]=e[t]}))},it.currentInput=We;Object.assign({},Q,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});it.setDefaultProps({render:et});const at=it},46365:e=>{"use strict";var t=function(){};e.exports=t},55494:(e,t,n)=>{"use strict";n.d(t,{A:()=>M});var r=n(77810),o=e=>"string"!=typeof e?{}:e.split(/ ?; ?/).reduce(((e,t)=>{const[n,r]=t.split(/ ?: ?/).map(((e,t)=>0===t?e.replace(/\s+/g,""):e.trim()));if(n&&r){const t=n.replace(/(\w)-(\w)/g,((e,t,n)=>`${t}${n.toUpperCase()}`));let o=r.trim();Number.isNaN(Number(r))||(o=Number(r)),e[n.startsWith("-")?n:t]=o}return e}),{});var i=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],a={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"};function s(e,t){const{key:n,level:s,...c}=t;switch(e.nodeType){case 1:return r.createElement(function(e){if(/[a-z]+[A-Z]+[a-z]+/.test(e))return e;return e.toLowerCase()}(e.nodeName),function(e,t){const n={key:t};if(e instanceof Element){const t=e.getAttribute("class");t&&(n.className=t),[...e.attributes].forEach((e=>{switch(e.name){case"class":break;case"style":n[e.name]=o(e.value);break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"autoplay":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":n[a[e.name]||e.name]=!0;break;default:n[a[e.name]||e.name]=e.value}}))}return n}(e,n),l(e.childNodes,s,c));case 3:{const t=e.nodeValue?.toString()??"";if(!c.allowWhiteSpaces&&/^\s+$/.test(t)&&!/[\u00A0\u202F]/.test(t))return null;if(!e.parentNode)return t;const n=e.parentNode.nodeName.toLowerCase();return i.includes(n)?(/\S/.test(t)&&console.warn(`A textNode is not allowed inside '${n}'. Your text "${t}" will be ignored`),null):t}case 8:default:return null;case 11:return l(e.childNodes,s,t)}}function l(e,t,n){const r=[...e].map(((e,r)=>c(e,{...n,index:r,level:t+1}))).filter(Boolean);return r.length?r:null}function c(e,t={}){if(!(e&&e instanceof Node))return null;const{actions:n=[],index:r=0,level:o=0,randomKey:i}=t;let a=e,l=`${o}-${r}`;const c=[];return i&&0===o&&(l=`${function(e=6){const t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";let n="";for(let r=e;r>0;--r)n+=t[Math.round(61*Math.random())];return n}()}-${l}`),Array.isArray(n)&&n.forEach((t=>{t.condition(a,l,o)&&("function"==typeof t.pre&&(a=t.pre(a,l,o),a instanceof Node||(a=e)),"function"==typeof t.post&&c.push(t.post(a,l,o)))})),c.length?c:s(a,{key:l,level:o,...t})}function u(e,t={}){return"string"==typeof e?function(e,t={}){if(!e||"string"!=typeof e)return null;const{includeAllNodes:n=!1,nodeOnly:r=!1,selector:o="body > *",type:i="text/html"}=t;try{const a=(new DOMParser).parseFromString(e,i);if(n){const{childNodes:e}=a.body;return r?e:[...e].map((e=>c(e,t)))}const s=a.querySelector(o)||a.body.childNodes[0];if(!(s instanceof Node))throw new TypeError("Error parsing input");return r?s:c(s,t)}catch(a){}return null}(e,t):e instanceof Node?c(e,t):null}var p=Object.defineProperty,d=(e,t,n)=>((e,t,n)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),f="react-inlinesvg",h={IDLE:"idle",LOADING:"loading",LOADED:"loaded",FAILED:"failed",READY:"ready",UNSUPPORTED:"unsupported"};function m(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}function g(){return function(){if(!document)return!1;const e=document.createElement("div");e.innerHTML="<svg />";const t=e.firstChild;return!!t&&"http://www.w3.org/2000/svg"===t.namespaceURI}()&&"undefined"!=typeof window&&null!==window}async function b(e,t){const n=await fetch(e,t),r=n.headers.get("content-type"),[o]=(r??"").split(/ ?; ?/);if(n.status>299)throw new Error("Not found");if(!["image/svg+xml","text/plain"].some((e=>o.includes(e))))throw new Error(`Content type isn't valid: ${o}`);return n.text()}function v(e=1){return new Promise((t=>{setTimeout(t,1e3*e)}))}var y,w=class{constructor(){d(this,"cacheApi"),d(this,"cacheStore"),d(this,"subscribers",[]),d(this,"isReady",!1),this.cacheStore=new Map;let e=f,t=!1;m()&&(e=window.REACT_INLINESVG_CACHE_NAME??f,t=!!window.REACT_INLINESVG_PERSISTENT_CACHE&&"caches"in window),t?caches.open(e).then((e=>{this.cacheApi=e})).catch((e=>{console.error(`Failed to open cache: ${e.message}`)})).finally((()=>{this.isReady=!0,this.subscribers.forEach((e=>e()))})):this.isReady=!0}onReady(e){this.isReady?e():this.subscribers.push(e)}async get(e,t){return await(this.cacheApi?this.fetchAndAddToPersistentCache(e,t):this.fetchAndAddToInternalCache(e,t)),this.cacheStore.get(e)?.content??""}set(e,t){this.cacheStore.set(e,t)}isCached(e){return this.cacheStore.get(e)?.status===h.LOADED}async fetchAndAddToInternalCache(e,t){const n=this.cacheStore.get(e);if(n?.status!==h.LOADING){if(!n?.content){this.cacheStore.set(e,{content:"",status:h.LOADING});try{const n=await b(e,t);this.cacheStore.set(e,{content:n,status:h.LOADED})}catch(r){throw this.cacheStore.set(e,{content:"",status:h.FAILED}),r}}}else await this.handleLoading(e,(async()=>{this.cacheStore.set(e,{content:"",status:h.IDLE}),await this.fetchAndAddToInternalCache(e,t)}))}async fetchAndAddToPersistentCache(e,t){const n=this.cacheStore.get(e);if(n?.status===h.LOADED)return;if(n?.status===h.LOADING)return void(await this.handleLoading(e,(async()=>{this.cacheStore.set(e,{content:"",status:h.IDLE}),await this.fetchAndAddToPersistentCache(e,t)})));this.cacheStore.set(e,{content:"",status:h.LOADING});const r=await(this.cacheApi?.match(e));if(r){const t=await r.text();this.cacheStore.set(e,{content:t,status:h.LOADED})}else try{await(this.cacheApi?.add(new Request(e,t)));const n=await(this.cacheApi?.match(e)),r=await(n?.text())??"";this.cacheStore.set(e,{content:r,status:h.LOADED})}catch(o){throw this.cacheStore.set(e,{content:"",status:h.FAILED}),o}}async handleLoading(e,t){let n=0;for(;this.cacheStore.get(e)?.status===h.LOADING&&n<10;)await v(.1),n+=1;n>=10&&await t()}keys(){return[...this.cacheStore.keys()]}data(){return[...this.cacheStore.entries()].map((([e,t])=>({[e]:t})))}async delete(e){this.cacheApi&&await this.cacheApi.delete(e),this.cacheStore.delete(e)}async clear(){if(this.cacheApi){const e=await this.cacheApi.keys();for(const t of e)await this.cacheApi.delete(t)}this.cacheStore.clear()}};function I(e){const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e})),t.current}function x(e){const{baseURL:t,content:n,description:r,handleError:o,hash:i,preProcessor:a,title:s,uniquifyIDs:l=!1}=e;try{const e=function(e,t){if(t)return t(e);return e}(n,a),o=u(e,{nodeOnly:!0});if(!(o&&o instanceof SVGSVGElement))throw new Error("Could not convert the src to a DOM Node");const c=E(o,{baseURL:t,hash:i,uniquifyIDs:l});if(r){const e=c.querySelector("desc");e?.parentNode&&e.parentNode.removeChild(e);const t=document.createElementNS("http://www.w3.org/2000/svg","desc");t.innerHTML=r,c.prepend(t)}if(void 0!==s){const e=c.querySelector("title");if(e?.parentNode&&e.parentNode.removeChild(e),s){const e=document.createElementNS("http://www.w3.org/2000/svg","title");e.innerHTML=s,c.prepend(e)}}return c}catch(c){return o(c)}}function E(e,t){const{baseURL:n="",hash:r,uniquifyIDs:o}=t,i=["id","href","xlink:href","xlink:role","xlink:arcrole"],a=["href","xlink:href"];return o?([...e.children].forEach((e=>{if(e.attributes?.length){const t=Object.values(e.attributes).map((e=>{const t=e,o=/url\((.*?)\)/.exec(e.value);return o?.[1]&&(t.value=e.value.replace(o[0],`url(${n}${o[1]}__${r})`)),t}));i.forEach((e=>{const n=t.find((t=>t.name===e));var o,i;n&&(o=e,i=n.value,!a.includes(o)||!i||i.includes("#"))&&(n.value=`${n.value}__${r}`)}))}return e.children.length?E(e,t):e})),e):e}function S(e){const{cacheRequests:t=!0,children:n=null,description:o,fetchOptions:i,innerRef:a,loader:s=null,onError:l,onLoad:c,src:p,title:d,uniqueHash:f}=e,[v,w]=(0,r.useReducer)(((e,t)=>({...e,...t})),{content:"",element:null,isCached:t&&y.isCached(e.src),status:h.IDLE}),{content:E,element:S,isCached:M,status:k}=v,j=I(e),C=I(v),P=(0,r.useRef)(f??function(e){const t="abcdefghijklmnopqrstuvwxyz",n=`${t}${t.toUpperCase()}1234567890`;let r="";for(let i=0;i<e;i++)r+=(o=n)[Math.floor(Math.random()*o.length)];var o;return r}(8)),N=(0,r.useRef)(!1),T=(0,r.useRef)(!1),A=(0,r.useCallback)((e=>{N.current&&(w({status:"Browser does not support SVG"===e.message?h.UNSUPPORTED:h.FAILED}),l?.(e))}),[l]),L=(0,r.useCallback)(((e,t=!1)=>{N.current&&w({content:e,isCached:t,status:h.LOADED})}),[]),D=(0,r.useCallback)((async()=>{const e=await b(p,i);L(e)}),[i,L,p]),O=(0,r.useCallback)((()=>{try{const t=u(x({...e,handleError:A,hash:P.current,content:E}));if(!t||!(0,r.isValidElement)(t))throw new Error("Could not convert the src to a React element");w({element:t,status:h.READY})}catch(t){A(new Error(t.message))}}),[E,A,e]),R=(0,r.useCallback)((async()=>{const e=/^data:image\/svg[^,]*?(;base64)?,(.*)/u.exec(p);let n;if(e?n=e[1]?window.atob(e[2]):decodeURIComponent(e[2]):p.includes("<svg")&&(n=p),n)L(n);else try{if(t){const e=await y.get(p,i);L(e,!0)}else await D()}catch(r){A(r)}}),[t,D,i,A,L,p]),B=(0,r.useCallback)((async()=>{N.current&&w({content:"",element:null,isCached:!1,status:h.LOADING})}),[]);(0,r.useEffect)((()=>{if(N.current=!0,!m()||T.current)return()=>{};try{if(k===h.IDLE){if(!g())throw new Error("Browser does not support SVG");if(!p)throw new Error("Missing src");B()}}catch(e){A(e)}return T.current=!0,()=>{N.current=!1}}),[]),(0,r.useEffect)((()=>{if(m()&&j)if(j.src!==p){if(!p)return void A(new Error("Missing src"));B()}else j.title===d&&j.description===o||O()}),[o,O,A,B,j,p,d]),(0,r.useEffect)((()=>{C&&(C.status!==h.LOADING&&k===h.LOADING&&R(),C.status!==h.LOADED&&k===h.LOADED&&O(),C.status!==h.READY&&k===h.READY&&c?.(p,M))}),[R,O,M,c,C,p,k]);const H=function(e,...t){const n={};for(const r in e)({}).hasOwnProperty.call(e,r)&&(t.includes(r)||(n[r]=e[r]));return n}(e,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs");return m()?S?(0,r.cloneElement)(S,{ref:a,...H}):[h.UNSUPPORTED,h.FAILED].includes(k)?n:s:s}function M(e){y||(y=new w);const{loader:t}=e,n=(0,r.useRef)(!1),[o,i]=(0,r.useState)(y.isReady);return(0,r.useEffect)((()=>{n.current||(y.onReady((()=>{i(!0)})),n.current=!0)}),[]),o?r.createElement(S,{...e}):t}},25413:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{A:()=>r})},41717:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{A:()=>r})},42247:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(25413);function o(e){if(Array.isArray(e))return(0,r.A)(e)}},79261:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{A:()=>r})},29121:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{A:()=>r})},12937:(e,t,n)=>{"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{A:()=>o})},68175:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{A:()=>r})},64180:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},28782:(e,t,n)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{A:()=>r})},10785:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2722);function o(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&&(0,r.A)(e,t)}},25209:(e,t,n)=>{"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{A:()=>r})},45566:(e,t,n)=>{"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}n.d(t,{A:()=>r})},3886:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{A:()=>r})},73699:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{A:()=>r})},18801:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(86887);function o(e,t){if(null==e)return{};var n,o,i=(0,r.A)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},86887:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{A:()=>r})},29906:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(74360),o=n(79261);function i(e,t){if(t&&("object"===(0,r.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.A)(e)}},2722:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{A:()=>r})},14553:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(41717),o=n(45566),i=n(43564),a=n(3886);function s(e,t){return(0,r.A)(e)||(0,o.A)(e,t)||(0,i.A)(e,t)||(0,a.A)()}},46420:(e,t,n)=>{"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{A:()=>r})},32838:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(42247),o=n(25209),i=n(43564),a=n(73699);function s(e){return(0,r.A)(e)||(0,o.A)(e)||(0,i.A)(e)||(0,a.A)()}},74360:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}n.d(t,{A:()=>r})},43564:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(25413);function o(e,t){if(e){if("string"==typeof e)return(0,r.A)(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)?(0,r.A)(e,t):void 0}}}},e=>{var t,n=(t=46041,e(e.s=t));(WPRecipeMakerAdmin=void 0===WPRecipeMakerAdmin?{}:WPRecipeMakerAdmin)["wp-recipe-maker/dist/admin-faq"]=n}]);